@vuebro/runtime 0.3.3 → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +10 -10
- package/dist/assets/{MultiView-Dsld-pl0.js → MultiView-Gi_5oH4O.js} +1 -1
- package/dist/assets/{NotFoundView-BuLyKdgl.js → NotFoundView-CPdPVs5_.js} +1 -1
- package/dist/assets/{SingleView-yylbPPzP.js → SingleView-CxcnGccL.js} +1 -1
- package/dist/assets/compiler-sfc-DUpFnHsr.js +183 -0
- package/dist/assets/index-wkYbpwJe.js +415 -0
- package/dist/assets/vue.esm-browser.prod-3.5.16.js +12 -0
- package/dist/index.html +2 -2
- package/package.json +20 -20
- package/dist/assets/compiler-sfc-BpcYqFg-.js +0 -183
- package/dist/assets/index-BuxVArEL.js +0 -413
- package/dist/assets/vue.esm-browser.prod-3.5.14.js +0 -12
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @vue/compiler-sfc v3.5.14
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**//*! #__NO_SIDE_EFFECTS__ */function Je(t){const e=Object.create(null);for(const r of t.split(","))e[r]=1;return r=>r in e}const rS=Object.freeze({}),$a=()=>{},Is=()=>!1,xd=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Bt=Object.assign,sS=Object.prototype.hasOwnProperty,Nl=(t,e)=>sS.call(t,e),Be=Array.isArray,iS=t=>Ol(t)==="[object Map]",nS=t=>Ol(t)==="[object Set]",Ad=t=>typeof t=="function",ve=t=>typeof t=="string",pr=t=>typeof t=="symbol",fr=t=>t!==null&&typeof t=="object",Cd=Object.prototype.toString,Ol=t=>Cd.call(t),Id=t=>Ol(t)==="[object Object]",lh=Je(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kl=Je("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Mn=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},aS=/-(\w)/g,at=Mn(t=>t.replace(aS,(e,r)=>r?r.toUpperCase():"")),oS=/\B([A-Z])/g,lS=Mn(t=>t.replace(oS,"-$1").toLowerCase()),cr=Mn(t=>t.charAt(0).toUpperCase()+t.slice(1)),cS=Mn(t=>t?`on${cr(t)}`:""),uS=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function ln(t){return uS.test(t)?`__props.${t}`:`__props[${JSON.stringify(t)}]`}function hS(t,e){return t+JSON.stringify(e,(r,i)=>typeof i=="function"?i.toString():i)}const Ki={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"},pS={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},fS="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",Nd=Je(fS),ch=2;function Qs(t,e=0,r=t.length){if(e=Math.max(0,Math.min(e,t.length)),r=Math.max(0,Math.min(r,t.length)),e>r)return"";let i=t.split(/(\r?\n)/);const n=i.filter((p,u)=>u%2===1);i=i.filter((p,u)=>u%2===0);let l=0;const c=[];for(let p=0;p<i.length;p++)if(l+=i[p].length+(n[p]&&n[p].length||0),l>=e){for(let u=p-ch;u<=p+ch||r>l;u++){if(u<0||u>=i.length)continue;const d=u+1;c.push(`${d}${" ".repeat(Math.max(3-String(d).length,0))}| ${i[u]}`);const f=i[u].length,m=n[u]&&n[u].length||0;if(u===p){const y=e-(l-(f+m)),v=Math.max(1,r>l?f-y:r-e);c.push(" | "+" ".repeat(y)+"^".repeat(v))}else if(u>p){if(r>l){const y=Math.max(Math.min(r-l,f),1);c.push(" | "+"^".repeat(y))}l+=f+m}}break}return c.join(`
|
|
6
|
-
`)}function Od(t){if(Be(t)){const e={};for(let r=0;r<t.length;r++){const i=t[r],n=ve(i)?kd(i):Od(i);if(n)for(const l in n)e[l]=n[l]}return e}else if(ve(t)||fr(t))return t}const dS=/;(?![^(]*\))/g,mS=/:([^]+)/,yS=/\/\*[^]*?\*\//g;function kd(t){const e={};return t.replace(yS,"").split(dS).forEach(r=>{if(r){const i=r.split(mS);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function gS(t){if(!t)return"";if(ve(t))return t;let e="";for(const r in t){const i=t[r];if(ve(i)||typeof i=="number"){const n=r.startsWith("--")?r:lS(r);e+=`${n}:${i};`}}return e}function Ld(t){let e="";if(ve(t))e=t;else if(Be(t))for(let r=0;r<t.length;r++){const i=Ld(t[r]);i&&(e+=i+" ")}else if(fr(t))for(const r in t)t[r]&&(e+=r+" ");return e.trim()}const vS="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",SS="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",ES="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",TS="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",wS=Je(vS),PS=Je(SS),bS=Je(ES),Md=Je(TS),_S="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Rd=Je(_S+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),xS=/[>/="'\u0009\u000a\u000c\u0020]/,Ua={};function AS(t){if(Ua.hasOwnProperty(t))return Ua[t];const e=xS.test(t);return e&&console.error(`unsafe attribute name: ${t}`),Ua[t]=!e}const CS={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},IS=Je("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"),NS=Je("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"),OS=Je("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"),kS=/["'&<>]/;function Mt(t){const e=""+t,r=kS.exec(e);if(!r)return e;let i="",n,l,c=0;for(l=r.index;l<e.length;l++){switch(e.charCodeAt(l)){case 34:n=""";break;case 38:n="&";break;case 39:n="'";break;case 60:n="<";break;case 62:n=">";break;default:continue}c!==l&&(i+=e.slice(c,l)),c=l+1,i+=n}return c!==l?i+e.slice(c,l):i}const LS=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function MS(t,e){return t.replace(LS,r=>e?r==='"'?'\\\\\\"':`\\\\${r}`:`\\${r}`)}const Dd=t=>!!(t&&t.__v_isRef===!0),Rn=t=>ve(t)?t:t==null?"":Be(t)||fr(t)&&(t.toString===Cd||!Ad(t.toString))?Dd(t)?Rn(t.value):JSON.stringify(t,Fd,2):String(t),Fd=(t,e)=>Dd(e)?Fd(t,e.value):iS(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[i,n],l)=>(r[qa(i,l)+" =>"]=n,r),{})}:nS(e)?{[`Set(${e.size})`]:[...e.values()].map(r=>qa(r))}:pr(e)?qa(e):fr(e)&&!Be(e)&&!Id(e)?String(e):e,qa=(t,e="")=>{var r;return pr(t)?`Symbol(${(r=t.description)!=null?r:e})`:t},ts=Symbol("Fragment"),Ar=Symbol("Teleport"),ls=Symbol("Suspense"),qs=Symbol("KeepAlive"),Ll=Symbol("BaseTransition"),ur=Symbol("openBlock"),Ml=Symbol("createBlock"),Rl=Symbol("createElementBlock"),Zs=Symbol("createVNode"),Dn=Symbol("createElementVNode"),cs=Symbol("createCommentVNode"),Fn=Symbol("createTextVNode"),Bn=Symbol("createStaticVNode"),js=Symbol("resolveComponent"),ei=Symbol("resolveDynamicComponent"),$n=Symbol("resolveDirective"),Bd=Symbol("resolveFilter"),Un=Symbol("withDirectives"),qn=Symbol("renderList"),Dl=Symbol("renderSlot"),Fl=Symbol("createSlots"),ti=Symbol("toDisplayString"),Or=Symbol("mergeProps"),jn=Symbol("normalizeClass"),Vn=Symbol("normalizeStyle"),rs=Symbol("normalizeProps"),us=Symbol("guardReactiveProps"),zn=Symbol("toHandlers"),cn=Symbol("camelize"),$d=Symbol("capitalize"),un=Symbol("toHandlerKey"),Vs=Symbol("setBlockTracking"),Ud=Symbol("pushScopeId"),qd=Symbol("popScopeId"),Wn=Symbol("withCtx"),ss=Symbol("unref"),zs=Symbol("isRef"),Hn=Symbol("withMemo"),Bl=Symbol("isMemoSame"),nt={[ts]:"Fragment",[Ar]:"Teleport",[ls]:"Suspense",[qs]:"KeepAlive",[Ll]:"BaseTransition",[ur]:"openBlock",[Ml]:"createBlock",[Rl]:"createElementBlock",[Zs]:"createVNode",[Dn]:"createElementVNode",[cs]:"createCommentVNode",[Fn]:"createTextVNode",[Bn]:"createStaticVNode",[js]:"resolveComponent",[ei]:"resolveDynamicComponent",[$n]:"resolveDirective",[Bd]:"resolveFilter",[Un]:"withDirectives",[qn]:"renderList",[Dl]:"renderSlot",[Fl]:"createSlots",[ti]:"toDisplayString",[Or]:"mergeProps",[jn]:"normalizeClass",[Vn]:"normalizeStyle",[rs]:"normalizeProps",[us]:"guardReactiveProps",[zn]:"toHandlers",[cn]:"camelize",[$d]:"capitalize",[un]:"toHandlerKey",[Vs]:"setBlockTracking",[Ud]:"pushScopeId",[qd]:"popScopeId",[Wn]:"withCtx",[ss]:"unref",[zs]:"isRef",[Hn]:"withMemo",[Bl]:"isMemoSame"};function $l(t){Object.getOwnPropertySymbols(t).forEach(e=>{nt[e]=t[e]})}const RS={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},DS={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"},FS={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},BS={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"},Le={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Rr(t,e=""){return{type:0,source:e,children:t,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Le}}function is(t,e,r,i,n,l,c,p=!1,u=!1,d=!1,f=Le){return t&&(p?(t.helper(ur),t.helper(Lr(t.inSSR,d))):t.helper(kr(t.inSSR,d)),c&&t.helper(Un)),{type:13,tag:e,props:r,children:i,patchFlag:n,dynamicProps:l,directives:c,isBlock:p,disableTracking:u,isComponent:d,loc:f}}function Xt(t,e=Le){return{type:17,loc:e,elements:t}}function ot(t,e=Le){return{type:15,loc:e,properties:t}}function we(t,e){return{type:16,loc:Le,key:ve(t)?Z(t,!0):t,value:e}}function Z(t,e=!1,r=Le,i=0){return{type:4,loc:r,content:t,isStatic:e,constType:e?3:i}}function hn(t,e){return{type:5,loc:e,content:ve(t)?Z(t,!1,e):t}}function je(t,e=Le){return{type:8,loc:e,children:t}}function ue(t,e=[],r=Le){return{type:14,loc:r,callee:t,arguments:e}}function gt(t,e=void 0,r=!1,i=!1,n=Le){return{type:18,params:t,returns:e,newline:r,isSlot:i,loc:n}}function At(t,e,r,i=!0){return{type:19,test:t,consequent:e,alternate:r,newline:i,loc:Le}}function jd(t,e,r=!1,i=!1){return{type:20,index:t,value:e,needPauseTracking:r,inVOnce:i,needArraySpread:!1,loc:Le}}function ri(t){return{type:21,body:t,loc:Le}}function Ul(t){return{type:22,elements:t,loc:Le}}function pn(t,e,r){return{type:23,test:t,consequent:e,alternate:r,loc:Le}}function Yi(t,e){return{type:24,left:t,right:e,loc:Le}}function Vd(t){return{type:25,expressions:t,loc:Le}}function zd(t){return{type:26,returns:t,loc:Le}}function kr(t,e){return t||e?Zs:Dn}function Lr(t,e){return t||e?Ml:Rl}function Gn(t,{helper:e,removeHelper:r,inSSR:i}){t.isBlock||(t.isBlock=!0,r(kr(i,t.isComponent)),e(ur),e(Lr(i,t.isComponent)))}var Wd=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(t=>t.charCodeAt(0))),$S=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0))),ja;const US=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]]),Zo=(ja=String.fromCodePoint)!==null&&ja!==void 0?ja:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function qS(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=US.get(t))!==null&&e!==void 0?e:t}var Ve;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Ve||(Ve={}));const jS=32;var or;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(or||(or={}));function el(t){return t>=Ve.ZERO&&t<=Ve.NINE}function VS(t){return t>=Ve.UPPER_A&&t<=Ve.UPPER_F||t>=Ve.LOWER_A&&t<=Ve.LOWER_F}function zS(t){return t>=Ve.UPPER_A&&t<=Ve.UPPER_Z||t>=Ve.LOWER_A&&t<=Ve.LOWER_Z||el(t)}function WS(t){return t===Ve.EQUALS||zS(t)}var qe;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(qe||(qe={}));var kt;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(kt||(kt={}));class Hd{constructor(e,r,i){this.decodeTree=e,this.emitCodePoint=r,this.errors=i,this.state=qe.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=kt.Strict}startEntity(e){this.decodeMode=e,this.state=qe.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case qe.EntityStart:return e.charCodeAt(r)===Ve.NUM?(this.state=qe.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=qe.NamedEntity,this.stateNamedEntity(e,r));case qe.NumericStart:return this.stateNumericStart(e,r);case qe.NumericDecimal:return this.stateNumericDecimal(e,r);case qe.NumericHex:return this.stateNumericHex(e,r);case qe.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(e.charCodeAt(r)|jS)===Ve.LOWER_X?(this.state=qe.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=qe.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,i,n){if(r!==i){const l=i-r;this.result=this.result*Math.pow(n,l)+parseInt(e.substr(r,l),n),this.consumed+=l}}stateNumericHex(e,r){const i=r;for(;r<e.length;){const n=e.charCodeAt(r);if(el(n)||VS(n))r+=1;else return this.addToNumericResult(e,i,r,16),this.emitNumericEntity(n,3)}return this.addToNumericResult(e,i,r,16),-1}stateNumericDecimal(e,r){const i=r;for(;r<e.length;){const n=e.charCodeAt(r);if(el(n))r+=1;else return this.addToNumericResult(e,i,r,10),this.emitNumericEntity(n,2)}return this.addToNumericResult(e,i,r,10),-1}emitNumericEntity(e,r){var i;if(this.consumed<=r)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Ve.SEMI)this.consumed+=1;else if(this.decodeMode===kt.Strict)return 0;return this.emitCodePoint(qS(this.result),this.consumed),this.errors&&(e!==Ve.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,r){const{decodeTree:i}=this;let n=i[this.treeIndex],l=(n&or.VALUE_LENGTH)>>14;for(;r<e.length;r++,this.excess++){const c=e.charCodeAt(r);if(this.treeIndex=HS(i,n,this.treeIndex+Math.max(1,l),c),this.treeIndex<0)return this.result===0||this.decodeMode===kt.Attribute&&(l===0||WS(c))?0:this.emitNotTerminatedNamedEntity();if(n=i[this.treeIndex],l=(n&or.VALUE_LENGTH)>>14,l!==0){if(c===Ve.SEMI)return this.emitNamedEntityData(this.treeIndex,l,this.consumed+this.excess);this.decodeMode!==kt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:r,decodeTree:i}=this,n=(i[r]&or.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,n,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,i){const{decodeTree:n}=this;return this.emitCodePoint(r===1?n[e]&~or.VALUE_LENGTH:n[e+1],i),r===3&&this.emitCodePoint(n[e+2],i),i}end(){var e;switch(this.state){case qe.NamedEntity:return this.result!==0&&(this.decodeMode!==kt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case qe.NumericDecimal:return this.emitNumericEntity(0,2);case qe.NumericHex:return this.emitNumericEntity(0,3);case qe.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case qe.EntityStart:return 0}}}function Gd(t){let e="";const r=new Hd(t,i=>e+=Zo(i));return function(n,l){let c=0,p=0;for(;(p=n.indexOf("&",p))>=0;){e+=n.slice(c,p),r.startEntity(l);const d=r.write(n,p+1);if(d<0){c=p+r.end();break}c=p+d,p=d===0?c+1:c}const u=e+n.slice(c);return e="",u}}function HS(t,e,r,i){const n=(e&or.BRANCH_LENGTH)>>7,l=e&or.JUMP_TABLE;if(n===0)return l!==0&&i===l?r:-1;if(l){const u=i-l;return u<0||u>=n?-1:t[r+u]-1}let c=r,p=c+n-1;for(;c<=p;){const u=c+p>>>1,d=t[u];if(d<i)c=u+1;else if(d>i)p=u-1;else return t[u+n]}return-1}const GS=Gd(Wd);Gd($S);function XS(t,e=kt.Legacy){return GS(t,e)}const uh=new Uint8Array([123,123]),hh=new Uint8Array([125,125]);function ph(t){return t>=97&&t<=122||t>=65&&t<=90}function mt(t){return t===32||t===10||t===9||t===12||t===13}function sr(t){return t===47||t===62||mt(t)}function fn(t){const e=new Uint8Array(t.length);for(let r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e}const He={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 JS{constructor(e,r){this.stack=e,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=uh,this.delimiterClose=hh,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new Hd(Wd,(i,n)=>this.emitCodePoint(i,n))}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=uh,this.delimiterClose=hh}getPos(e){let r=1,i=e+1;for(let n=this.newlines.length-1;n>=0;n--){const l=this.newlines[n];if(e>l){r=n+2,i=e-l;break}}return{column:i,line:r,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){e===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):e===38?this.startEntity():!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===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(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===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(e))}stateSpecialStartSequence(e){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?sr(e):(e|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(e===62||mt(e)){const r=this.index-this.currentSequence.length;if(this.sectionStart<r){const i=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=i}this.sectionStart=r+2,this.stateInClosingTagName(e),this.inRCDATA=!1;return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===He.TitleEnd||this.currentSequence===He.TextareaEnd&&!this.inSFCRoot?e===38?this.startEntity():!this.inVPre&&e===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===60)}stateCDATASequence(e){e===He.Cdata[this.sequenceIndex]?++this.sequenceIndex===He.Cdata.length&&(this.state=28,this.currentSequence=He.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);if(r===10&&this.newlines.push(this.index),r===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===He.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):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,r){this.enterRCDATA(e,r),this.state=31}enterRCDATA(e,r){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=r}stateBeforeTagName(e){e===33?(this.state=22,this.sectionStart=this.index+1):e===63?(this.state=24,this.sectionStart=this.index+1):ph(e)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:e===116?this.state=30:this.state=e===115?29:6):e===47?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){sr(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(sr(e)){const r=this.buffer.slice(this.sectionStart,this.index);r!=="template"&&this.enterRCDATA(fn("</"+r),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){mt(e)||(e===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=ph(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(e===62||mt(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){e===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){e===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):e===47?(this.state=7,this.peek()!==62&&this.cbs.onerr(22,this.index)):e===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):mt(e)||(e===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(e))}handleAttrStart(e){e===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):e===46||e===58||e===64||e===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(e){e===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):mt(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){e===61||sr(e)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):(e===34||e===39||e===60)&&this.cbs.onerr(17,this.index)}stateInDirName(e){e===61||sr(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):e===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){e===61||sr(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===91?this.state=15:e===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){e===93?this.state=14:(e===61||sr(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e),this.cbs.onerr(27,this.index))}stateInDirModifier(e){e===61||sr(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):e===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){e===61?this.state=18:e===47||e===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):mt(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){e===34?(this.state=19,this.sectionStart=this.index+1):e===39?(this.state=20,this.sectionStart=this.index+1):mt(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,r){e===r?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===34?3:2,this.index+1),this.state=11):e===38&&this.startEntity()}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){mt(e)||e===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):e===34||e===39||e===60||e===61||e===96?this.cbs.onerr(18,this.index):e===38&&this.startEntity()}stateBeforeDeclaration(e){e===91?(this.state=26,this.sequenceIndex=0):this.state=e===45?25:23}stateInDeclaration(e){(e===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(e===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){e===45?(this.state=28,this.currentSequence=He.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(e===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===He.ScriptEnd[3]?this.startSpecial(He.ScriptEnd,4):e===He.StyleEnd[3]?this.startSpecial(He.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===He.TitleEnd[3]?this.startSpecial(He.TitleEnd,4):e===He.TextareaEnd[3]?this.startSpecial(He.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=33,this.entityStart=this.index,this.entityDecoder.startEntity(this.baseState===1||this.baseState===32?kt.Legacy:kt.Attribute)}stateInEntity(){{const e=this.entityDecoder.write(this.buffer,this.index);e>=0?(this.state=this.baseState,e===0&&(this.index=this.entityStart)):this.index=this.buffer.length-1}}parse(e){for(this.buffer=e;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 e=this.buffer.length;this.sectionStart>=e||(this.state===28?this.currentSequence===He.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):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,e))}emitCodePoint(e,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(Zo(e),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(Zo(e),this.entityStart,this.sectionStart))}}const KS={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"},YS={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:t=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${t}.sync\` should be changed to \`v-model:${t}\`.`,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 tl(t,{compatConfig:e}){const r=e&&e[t];return t==="MODE"?r||3:r}function QS(t,e){const r=tl("MODE",e),i=tl(t,e);return r===3?i===!0:i!==!1}function ZS(t,e,r,...i){const n=QS(t,e);return n&&Xd(t,e,r,...i),n}function Xd(t,e,r,...i){if(tl(t,e)==="suppress-warning")return;const{message:l,link:c}=YS[t],p=`(deprecation ${t}) ${typeof l=="function"?l(...i):l}${c?`
|
|
7
|
-
Details: ${c}`:""}`,u=new SyntaxError(p);u.code=t,r&&(u.loc=r),e.onWarn(u)}function ql(t){throw t}function Jd(t){console.warn(`[Vue warn] ${t.message}`)}function Ee(t,e,r,i){const n=(r||jl)[t]+(i||""),l=new SyntaxError(String(n));return l.code=t,l.loc=e,l}const eE={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__"},jl={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.
|
|
8
|
-
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 Xn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Jn(t){if(Object.prototype.hasOwnProperty.call(t,"__esModule"))return t;var e=t.default;if(typeof e=="function"){var r=function i(){return this instanceof i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(i){var n=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(r,i,n.get?n:{enumerable:!0,get:function(){return t[i]}})}),r}var zr={},fh;function tE(){if(fh)return zr;fh=1,Object.defineProperty(zr,"__esModule",{value:!0});function t(w,a){if(w==null)return{};var s={};for(var o in w)if({}.hasOwnProperty.call(w,o)){if(a.indexOf(o)!==-1)continue;s[o]=w[o]}return s}class e{constructor(a,s,o){this.line=void 0,this.column=void 0,this.index=void 0,this.line=a,this.column=s,this.index=o}}class r{constructor(a,s){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=a,this.end=s}}function i(w,a){const{line:s,column:o,index:h}=w;return new e(s,o+a,h+a)}const n="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var l={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:n},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:n}};const c={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"},p=w=>w.type==="UpdateExpression"?c.UpdateExpression[`${w.prefix}`]:c[w.type];var u={AccessorIsGenerator:({kind:w})=>`A ${w}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.",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:w})=>`Missing initializer in ${w} 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:w})=>`\`${w}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:w})=>`'import.${w}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:w,exportName:a})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
9
|
-
- Did you mean \`export { '${w}' as '${a}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:w})=>`'${w==="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:w})=>`Unsyntactic ${w==="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 `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:w})=>`A string literal cannot be used as an imported binding.
|
|
10
|
-
- Did you mean \`import { "${w}" as foo }\`?`,ImportCallArity:"`import()` requires exactly 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:w})=>`Expected number in radix ${w}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:w})=>`Escape sequence in keyword ${w}.`,InvalidIdentifier:({identifierName:w})=>`Invalid identifier ${w}.`,InvalidLhs:({ancestor:w})=>`Invalid left-hand side in ${p(w)}.`,InvalidLhsBinding:({ancestor:w})=>`Binding invalid left-hand side in ${p(w)}.`,InvalidLhsOptionalChaining:({ancestor:w})=>`Invalid optional chaining in the left-hand side of ${p(w)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:w})=>`Unexpected character '${w}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:w})=>`Private name #${w} 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:w})=>`Label '${w}' 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:w})=>`This experimental syntax requires enabling the parser plugin: ${w.map(a=>JSON.stringify(a)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:w})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${w.map(a=>JSON.stringify(a)).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:w})=>`Duplicate key "${w}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:w})=>`An export name cannot include a lone surrogate, found '\\u${w.toString(16)}'.`,ModuleExportUndefined:({localName:w})=>`Export '${w}' 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:w})=>`Private names are only allowed in property accesses (\`obj.#${w}\`) or in \`in\` expressions (\`#${w} in obj\`).`,PrivateNameRedeclaration:({identifierName:w})=>`Duplicate private name #${w}.`,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:w})=>`Unexpected keyword '${w}'.`,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:w})=>`Unexpected reserved word '${w}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:w,unexpected:a})=>`Unexpected token${a?` '${a}'.`:""}${w?`, expected "${w}"`:""}`,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:w,onlyValidPropertyName:a})=>`The only valid meta property for ${w} is ${w}.${a}.`,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:w})=>`Identifier '${w}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",YieldNotInGeneratorFunction:"'yield' is only allowed within generator functions.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},d={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:w})=>`Assigning to '${w}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:w})=>`Binding '${w}' 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 f=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var m=Object.assign({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:w})=>`Invalid topic token ${w}. In order to use ${w} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${w}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:w})=>`Hack-style pipe body cannot be an unparenthesized ${p({type:w})}; 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(w,a,s){Object.defineProperty(w,a,{enumerable:!1,configurable:!0,value:s})}function T({toMessage:w,code:a,reasonCode:s,syntaxPlugin:o}){const h=s==="MissingPlugin"||s==="MissingOneOfPlugins";{const E={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};E[s]&&(s=E[s])}return function E(P,I){const M=new SyntaxError;return M.code=a,M.reasonCode=s,M.loc=P,M.pos=P.index,M.syntaxPlugin=o,h&&(M.missingPlugin=I.missingPlugin),v(M,"clone",function(B={}){var V;const{line:K,column:Q,index:ae}=(V=B.loc)!=null?V:P;return E(new e(K,Q,ae),Object.assign({},I,B.details))}),v(M,"details",I),Object.defineProperty(M,"message",{configurable:!0,get(){const D=`${w(I)} (${P.line}:${P.column})`;return this.message=D,D},set(D){Object.defineProperty(this,"message",{value:D,writable:!0})}}),M}}function S(w,a){if(Array.isArray(w))return o=>S(o,w[0]);const s={};for(const o of Object.keys(w)){const h=w[o],E=typeof h=="string"?{message:()=>h}:typeof h=="function"?{message:h}:h,{message:P}=E,I=t(E,y),M=typeof P=="string"?()=>P:P;s[o]=T(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:o,toMessage:M},a?{syntaxPlugin:a}:{},I))}return s}const g=Object.assign({},S(l),S(u),S(d),S`pipelineOperator`(m));function _(){return{sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function b(w){const a=_();if(w==null)return a;if(w.annexB!=null&&w.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(const s of Object.keys(a))w[s]!=null&&(a[s]=w[s]);if(a.startLine===1)w.startIndex==null&&a.startColumn>0?a.startIndex=a.startColumn:w.startColumn==null&&a.startIndex>0&&(a.startColumn=a.startIndex);else if((w.startColumn==null||w.startIndex==null)&&w.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");return a}const{defineProperty:A}=Object,O=(w,a)=>{w&&A(w,a,{enumerable:!1,value:w[a]})};function x(w){return O(w.loc.start,"index"),O(w.loc.end,"index"),w}var L=w=>class extends w{parse(){const s=x(super.parse());return this.optionFlags&256&&(s.tokens=s.tokens.map(x)),s}parseRegExpLiteral({pattern:s,flags:o}){let h=null;try{h=new RegExp(s,o)}catch{}const E=this.estreeParseLiteral(h);return E.regex={pattern:s,flags:o},E}parseBigIntLiteral(s){let o;try{o=BigInt(s)}catch{o=null}const h=this.estreeParseLiteral(o);return h.bigint=String(h.value||s),h}parseDecimalLiteral(s){const h=this.estreeParseLiteral(null);return h.decimal=String(h.value||s),h}estreeParseLiteral(s){return this.parseLiteral(s,"Literal")}parseStringLiteral(s){return this.estreeParseLiteral(s)}parseNumericLiteral(s){return this.estreeParseLiteral(s)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(s){return this.estreeParseLiteral(s)}estreeParseChainExpression(s,o){const h=this.startNodeAtNode(s);return h.expression=s,this.finishNodeAt(h,"ChainExpression",o)}directiveToStmt(s){const o=s.value;delete s.value,this.castNodeTo(o,"Literal"),o.raw=o.extra.raw,o.value=o.extra.expressionValue;const h=this.castNodeTo(s,"ExpressionStatement");return h.expression=o,h.directive=o.extra.rawValue,delete o.extra,h}fillOptionalPropertiesForTSESLint(s){}cloneEstreeStringLiteral(s){const{start:o,end:h,loc:E,range:P,raw:I,value:M}=s,D=Object.create(s.constructor.prototype);return D.type="Literal",D.start=o,D.end=h,D.loc=E,D.range=P,D.raw=I,D.value=M,D}initFunction(s,o){super.initFunction(s,o),s.expression=!1}checkDeclaration(s){s!=null&&this.isObjectProperty(s)?this.checkDeclaration(s.value):super.checkDeclaration(s)}getObjectOrClassMethodParams(s){return s.value.params}isValidDirective(s){var o;return s.type==="ExpressionStatement"&&s.expression.type==="Literal"&&typeof s.expression.value=="string"&&!((o=s.expression.extra)!=null&&o.parenthesized)}parseBlockBody(s,o,h,E,P){super.parseBlockBody(s,o,h,E,P);const I=s.directives.map(M=>this.directiveToStmt(M));s.body=I.concat(s.body),delete s.directives}parsePrivateName(){const s=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(s):s}convertPrivateNameToPrivateIdentifier(s){const o=super.getPrivateNameSV(s);return s=s,delete s.id,s.name=o,this.castNodeTo(s,"PrivateIdentifier")}isPrivateName(s){return this.getPluginOption("estree","classFeatures")?s.type==="PrivateIdentifier":super.isPrivateName(s)}getPrivateNameSV(s){return this.getPluginOption("estree","classFeatures")?s.name:super.getPrivateNameSV(s)}parseLiteral(s,o){const h=super.parseLiteral(s,o);return h.raw=h.extra.raw,delete h.extra,h}parseFunctionBody(s,o,h=!1){super.parseFunctionBody(s,o,h),s.expression=s.body.type!=="BlockStatement"}parseMethod(s,o,h,E,P,I,M=!1){let D=this.startNode();D.kind=s.kind,D=super.parseMethod(D,o,h,E,P,I,M),delete D.kind;const{typeParameters:B}=s;B&&(delete s.typeParameters,D.typeParameters=B,this.resetStartLocationFromNode(D,B));const V=this.castNodeTo(D,"FunctionExpression");return s.value=V,I==="ClassPrivateMethod"&&(s.computed=!1),I==="ObjectMethod"?(s.kind==="method"&&(s.kind="init"),s.shorthand=!1,this.finishNode(s,"Property")):this.finishNode(s,"MethodDefinition")}nameIsConstructor(s){return s.type==="Literal"?s.value==="constructor":super.nameIsConstructor(s)}parseClassProperty(...s){const o=super.parseClassProperty(...s);return this.getPluginOption("estree","classFeatures")&&this.castNodeTo(o,"PropertyDefinition"),o}parseClassPrivateProperty(...s){const o=super.parseClassPrivateProperty(...s);return this.getPluginOption("estree","classFeatures")&&(this.castNodeTo(o,"PropertyDefinition"),o.computed=!1),o}parseClassAccessorProperty(s){const o=super.parseClassAccessorProperty(s);return this.getPluginOption("estree","classFeatures")&&(o.abstract&&this.hasPlugin("typescript")?(delete o.abstract,this.castNodeTo(o,"TSAbstractAccessorProperty")):this.castNodeTo(o,"AccessorProperty")),o}parseObjectProperty(s,o,h,E){const P=super.parseObjectProperty(s,o,h,E);return P&&(P.kind="init",this.castNodeTo(P,"Property")),P}finishObjectProperty(s){return s.kind="init",this.finishNode(s,"Property")}isValidLVal(s,o,h){return s==="Property"?"value":super.isValidLVal(s,o,h)}isAssignable(s,o){return s!=null&&this.isObjectProperty(s)?this.isAssignable(s.value,o):super.isAssignable(s,o)}toAssignable(s,o=!1){if(s!=null&&this.isObjectProperty(s)){const{key:h,value:E}=s;this.isPrivateName(h)&&this.classScope.usePrivateName(this.getPrivateNameSV(h),h.loc.start),this.toAssignable(E,o)}else super.toAssignable(s,o)}toAssignableObjectExpressionProp(s,o,h){s.type==="Property"&&(s.kind==="get"||s.kind==="set")?this.raise(g.PatternHasAccessor,s.key):s.type==="Property"&&s.method?this.raise(g.PatternHasMethod,s.key):super.toAssignableObjectExpressionProp(s,o,h)}finishCallExpression(s,o){const h=super.finishCallExpression(s,o);if(h.callee.type==="Import"){var E,P;this.castNodeTo(h,"ImportExpression"),h.source=h.arguments[0],h.options=(E=h.arguments[1])!=null?E:null,h.attributes=(P=h.arguments[1])!=null?P:null,delete h.arguments,delete h.callee}else h.type==="OptionalCallExpression"?this.castNodeTo(h,"CallExpression"):h.optional=!1;return h}toReferencedArguments(s){s.type!=="ImportExpression"&&super.toReferencedArguments(s)}parseExport(s,o){const h=this.state.lastTokStartLoc,E=super.parseExport(s,o);switch(E.type){case"ExportAllDeclaration":E.exported=null;break;case"ExportNamedDeclaration":E.specifiers.length===1&&E.specifiers[0].type==="ExportNamespaceSpecifier"&&(this.castNodeTo(E,"ExportAllDeclaration"),E.exported=E.specifiers[0].exported,delete E.specifiers);case"ExportDefaultDeclaration":{var P;const{declaration:I}=E;(I==null?void 0:I.type)==="ClassDeclaration"&&((P=I.decorators)==null?void 0:P.length)>0&&I.start===E.start&&this.resetStartLocation(E,h)}break}return E}stopParseSubscript(s,o){const h=super.stopParseSubscript(s,o);return o.optionalChainMember?this.estreeParseChainExpression(h,s.loc.end):h}parseMember(s,o,h,E,P){const I=super.parseMember(s,o,h,E,P);return I.type==="OptionalMemberExpression"?this.castNodeTo(I,"MemberExpression"):I.optional=!1,I}isOptionalMemberExpression(s){return s.type==="ChainExpression"?s.expression.type==="MemberExpression":super.isOptionalMemberExpression(s)}hasPropertyAsPrivateName(s){return s.type==="ChainExpression"&&(s=s.expression),super.hasPropertyAsPrivateName(s)}isObjectProperty(s){return s.type==="Property"&&s.kind==="init"&&!s.method}isObjectMethod(s){return s.type==="Property"&&(s.method||s.kind==="get"||s.kind==="set")}castNodeTo(s,o){const h=super.castNodeTo(s,o);return this.fillOptionalPropertiesForTSESLint(h),h}cloneIdentifier(s){const o=super.cloneIdentifier(s);return this.fillOptionalPropertiesForTSESLint(o),o}cloneStringLiteral(s){return s.type==="Literal"?this.cloneEstreeStringLiteral(s):super.cloneStringLiteral(s)}finishNodeAt(s,o,h){return x(super.finishNodeAt(s,o,h))}finishNode(s,o){const h=super.finishNode(s,o);return this.fillOptionalPropertiesForTSESLint(h),h}resetStartLocation(s,o){super.resetStartLocation(s,o),x(s)}resetEndLocation(s,o=this.state.lastTokEndLoc){super.resetEndLocation(s,o),x(s)}};class R{constructor(a,s){this.token=void 0,this.preserveSpace=void 0,this.token=a,this.preserveSpace=!!s}}const C={brace:new R("{"),j_oTag:new R("<tag"),j_cTag:new R("</tag"),j_expr:new R("<tag>...</tag>",!0)};C.template=new R("`",!0);const k=!0,N=!0,F=!0,W=!0,Y=!0,re=!0;class z{constructor(a,s={}){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=a,this.keyword=s.keyword,this.beforeExpr=!!s.beforeExpr,this.startsExpr=!!s.startsExpr,this.rightAssociative=!!s.rightAssociative,this.isLoop=!!s.isLoop,this.isAssign=!!s.isAssign,this.prefix=!!s.prefix,this.postfix=!!s.postfix,this.binop=s.binop!=null?s.binop:null,this.updateContext=null}}const ie=new Map;function J(w,a={}){a.keyword=w;const s=H(w,a);return ie.set(w,s),s}function fe(w,a){return H(w,{beforeExpr:k,binop:a})}let Ne=-1;const de=[],te=[],q=[],j=[],$=[],G=[];function H(w,a={}){var s,o,h,E;return++Ne,te.push(w),q.push((s=a.binop)!=null?s:-1),j.push((o=a.beforeExpr)!=null?o:!1),$.push((h=a.startsExpr)!=null?h:!1),G.push((E=a.prefix)!=null?E:!1),de.push(new z(w,a)),Ne}function U(w,a={}){var s,o,h,E;return++Ne,ie.set(w,Ne),te.push(w),q.push((s=a.binop)!=null?s:-1),j.push((o=a.beforeExpr)!=null?o:!1),$.push((h=a.startsExpr)!=null?h:!1),G.push((E=a.prefix)!=null?E:!1),de.push(new z("name",a)),Ne}const se={bracketL:H("[",{beforeExpr:k,startsExpr:N}),bracketHashL:H("#[",{beforeExpr:k,startsExpr:N}),bracketBarL:H("[|",{beforeExpr:k,startsExpr:N}),bracketR:H("]"),bracketBarR:H("|]"),braceL:H("{",{beforeExpr:k,startsExpr:N}),braceBarL:H("{|",{beforeExpr:k,startsExpr:N}),braceHashL:H("#{",{beforeExpr:k,startsExpr:N}),braceR:H("}"),braceBarR:H("|}"),parenL:H("(",{beforeExpr:k,startsExpr:N}),parenR:H(")"),comma:H(",",{beforeExpr:k}),semi:H(";",{beforeExpr:k}),colon:H(":",{beforeExpr:k}),doubleColon:H("::",{beforeExpr:k}),dot:H("."),question:H("?",{beforeExpr:k}),questionDot:H("?."),arrow:H("=>",{beforeExpr:k}),template:H("template"),ellipsis:H("...",{beforeExpr:k}),backQuote:H("`",{startsExpr:N}),dollarBraceL:H("${",{beforeExpr:k,startsExpr:N}),templateTail:H("...`",{startsExpr:N}),templateNonTail:H("...${",{beforeExpr:k,startsExpr:N}),at:H("@"),hash:H("#",{startsExpr:N}),interpreterDirective:H("#!..."),eq:H("=",{beforeExpr:k,isAssign:W}),assign:H("_=",{beforeExpr:k,isAssign:W}),slashAssign:H("_=",{beforeExpr:k,isAssign:W}),xorAssign:H("_=",{beforeExpr:k,isAssign:W}),moduloAssign:H("_=",{beforeExpr:k,isAssign:W}),incDec:H("++/--",{prefix:Y,postfix:re,startsExpr:N}),bang:H("!",{beforeExpr:k,prefix:Y,startsExpr:N}),tilde:H("~",{beforeExpr:k,prefix:Y,startsExpr:N}),doubleCaret:H("^^",{startsExpr:N}),doubleAt:H("@@",{startsExpr:N}),pipeline:fe("|>",0),nullishCoalescing:fe("??",1),logicalOR:fe("||",1),logicalAND:fe("&&",2),bitwiseOR:fe("|",3),bitwiseXOR:fe("^",4),bitwiseAND:fe("&",5),equality:fe("==/!=/===/!==",6),lt:fe("</>/<=/>=",7),gt:fe("</>/<=/>=",7),relational:fe("</>/<=/>=",7),bitShift:fe("<</>>/>>>",8),bitShiftL:fe("<</>>/>>>",8),bitShiftR:fe("<</>>/>>>",8),plusMin:H("+/-",{beforeExpr:k,binop:9,prefix:Y,startsExpr:N}),modulo:H("%",{binop:10,startsExpr:N}),star:H("*",{binop:10}),slash:fe("/",10),exponent:H("**",{beforeExpr:k,binop:11,rightAssociative:!0}),_in:J("in",{beforeExpr:k,binop:7}),_instanceof:J("instanceof",{beforeExpr:k,binop:7}),_break:J("break"),_case:J("case",{beforeExpr:k}),_catch:J("catch"),_continue:J("continue"),_debugger:J("debugger"),_default:J("default",{beforeExpr:k}),_else:J("else",{beforeExpr:k}),_finally:J("finally"),_function:J("function",{startsExpr:N}),_if:J("if"),_return:J("return",{beforeExpr:k}),_switch:J("switch"),_throw:J("throw",{beforeExpr:k,prefix:Y,startsExpr:N}),_try:J("try"),_var:J("var"),_const:J("const"),_with:J("with"),_new:J("new",{beforeExpr:k,startsExpr:N}),_this:J("this",{startsExpr:N}),_super:J("super",{startsExpr:N}),_class:J("class",{startsExpr:N}),_extends:J("extends",{beforeExpr:k}),_export:J("export"),_import:J("import",{startsExpr:N}),_null:J("null",{startsExpr:N}),_true:J("true",{startsExpr:N}),_false:J("false",{startsExpr:N}),_typeof:J("typeof",{beforeExpr:k,prefix:Y,startsExpr:N}),_void:J("void",{beforeExpr:k,prefix:Y,startsExpr:N}),_delete:J("delete",{beforeExpr:k,prefix:Y,startsExpr:N}),_do:J("do",{isLoop:F,beforeExpr:k}),_for:J("for",{isLoop:F}),_while:J("while",{isLoop:F}),_as:U("as",{startsExpr:N}),_assert:U("assert",{startsExpr:N}),_async:U("async",{startsExpr:N}),_await:U("await",{startsExpr:N}),_defer:U("defer",{startsExpr:N}),_from:U("from",{startsExpr:N}),_get:U("get",{startsExpr:N}),_let:U("let",{startsExpr:N}),_meta:U("meta",{startsExpr:N}),_of:U("of",{startsExpr:N}),_sent:U("sent",{startsExpr:N}),_set:U("set",{startsExpr:N}),_source:U("source",{startsExpr:N}),_static:U("static",{startsExpr:N}),_using:U("using",{startsExpr:N}),_yield:U("yield",{startsExpr:N}),_asserts:U("asserts",{startsExpr:N}),_checks:U("checks",{startsExpr:N}),_exports:U("exports",{startsExpr:N}),_global:U("global",{startsExpr:N}),_implements:U("implements",{startsExpr:N}),_intrinsic:U("intrinsic",{startsExpr:N}),_infer:U("infer",{startsExpr:N}),_is:U("is",{startsExpr:N}),_mixins:U("mixins",{startsExpr:N}),_proto:U("proto",{startsExpr:N}),_require:U("require",{startsExpr:N}),_satisfies:U("satisfies",{startsExpr:N}),_keyof:U("keyof",{startsExpr:N}),_readonly:U("readonly",{startsExpr:N}),_unique:U("unique",{startsExpr:N}),_abstract:U("abstract",{startsExpr:N}),_declare:U("declare",{startsExpr:N}),_enum:U("enum",{startsExpr:N}),_module:U("module",{startsExpr:N}),_namespace:U("namespace",{startsExpr:N}),_interface:U("interface",{startsExpr:N}),_type:U("type",{startsExpr:N}),_opaque:U("opaque",{startsExpr:N}),name:H("name",{startsExpr:N}),placeholder:H("%%",{startsExpr:!0}),string:H("string",{startsExpr:N}),num:H("num",{startsExpr:N}),bigint:H("bigint",{startsExpr:N}),decimal:H("decimal",{startsExpr:N}),regexp:H("regexp",{startsExpr:N}),privateName:H("#name",{startsExpr:N}),eof:H("eof"),jsxName:H("jsxName"),jsxText:H("jsxText",{beforeExpr:!0}),jsxTagStart:H("jsxTagStart",{startsExpr:!0}),jsxTagEnd:H("jsxTagEnd")};function ee(w){return w>=93&&w<=133}function pe(w){return w<=92}function ne(w){return w>=58&&w<=133}function ye(w){return w>=58&&w<=137}function xe(w){return j[w]}function he(w){return $[w]}function Oe(w){return w>=29&&w<=33}function St(w){return w>=129&&w<=131}function Et(w){return w>=90&&w<=92}function We(w){return w>=58&&w<=92}function Ue(w){return w>=39&&w<=59}function pt(w){return w===34}function ft(w){return G[w]}function Ct(w){return w>=121&&w<=123}function $r(w){return w>=124&&w<=130}function dt(w){return te[w]}function It(w){return q[w]}function xa(w){return w===57}function Ur(w){return w>=24&&w<=25}function Pt(w){return de[w]}de[8].updateContext=w=>{w.pop()},de[5].updateContext=de[7].updateContext=de[23].updateContext=w=>{w.push(C.brace)},de[22].updateContext=w=>{w[w.length-1]===C.template?w.pop():w.push(C.template)},de[143].updateContext=w=>{w.push(C.j_expr,C.j_oTag)};let gs="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",li="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const Aa=new RegExp("["+gs+"]"),Xg=new RegExp("["+gs+li+"]");gs=li=null;const cu=[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,4,51,13,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,39,27,10,22,251,41,7,1,17,2,60,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,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,200,32,32,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,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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],Jg=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,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,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,343,9,54,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,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,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,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function Ca(w,a){let s=65536;for(let o=0,h=a.length;o<h;o+=2){if(s+=a[o],s>w)return!1;if(s+=a[o+1],s>=w)return!0}return!1}function Vt(w){return w<65?w===36:w<=90?!0:w<97?w===95:w<=122?!0:w<=65535?w>=170&&Aa.test(String.fromCharCode(w)):Ca(w,cu)}function qr(w){return w<48?w===36:w<58?!0:w<65?!1:w<=90?!0:w<97?w===95:w<=122?!0:w<=65535?w>=170&&Xg.test(String.fromCharCode(w)):Ca(w,cu)||Ca(w,Jg)}const Ia={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"]},Kg=new Set(Ia.keyword),Yg=new Set(Ia.strict),Qg=new Set(Ia.strictBind);function uu(w,a){return a&&w==="await"||w==="enum"}function hu(w,a){return uu(w,a)||Yg.has(w)}function pu(w){return Qg.has(w)}function fu(w,a){return hu(w,a)||pu(w)}function Zg(w){return Kg.has(w)}function ev(w,a,s){return w===64&&a===64&&Vt(s)}const tv=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 rv(w){return tv.has(w)}class Na{constructor(a){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=a}}class Oa{constructor(a,s){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=a,this.inModule=s}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 a=this.currentThisScopeFlags();return(a&64)>0&&(a&2)===0}get inStaticBlock(){for(let a=this.scopeStack.length-1;;a--){const{flags:s}=this.scopeStack[a];if(s&128)return!0;if(s&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(a){return new Na(a)}enter(a){this.scopeStack.push(this.createScope(a))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(a){return!!(a.flags&130||!this.parser.inModule&&a.flags&1)}declareName(a,s,o){let h=this.currentScope();if(s&8||s&16){this.checkRedeclarationInScope(h,a,s,o);let E=h.names.get(a)||0;s&16?E=E|4:(h.firstLexicalName||(h.firstLexicalName=a),E=E|2),h.names.set(a,E),s&8&&this.maybeExportDefined(h,a)}else if(s&4)for(let E=this.scopeStack.length-1;E>=0&&(h=this.scopeStack[E],this.checkRedeclarationInScope(h,a,s,o),h.names.set(a,(h.names.get(a)||0)|1),this.maybeExportDefined(h,a),!(h.flags&387));--E);this.parser.inModule&&h.flags&1&&this.undefinedExports.delete(a)}maybeExportDefined(a,s){this.parser.inModule&&a.flags&1&&this.undefinedExports.delete(s)}checkRedeclarationInScope(a,s,o,h){this.isRedeclaredInScope(a,s,o)&&this.parser.raise(g.VarRedeclaration,h,{identifierName:s})}isRedeclaredInScope(a,s,o){if(!(o&1))return!1;if(o&8)return a.names.has(s);const h=a.names.get(s);return o&16?(h&2)>0||!this.treatFunctionsAsVarInScope(a)&&(h&1)>0:(h&2)>0&&!(a.flags&8&&a.firstLexicalName===s)||!this.treatFunctionsAsVarInScope(a)&&(h&4)>0}checkLocalExport(a){const{name:s}=a;this.scopeStack[0].names.has(s)||this.undefinedExports.set(s,a.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let a=this.scopeStack.length-1;;a--){const{flags:s}=this.scopeStack[a];if(s&387)return s}}currentThisScopeFlags(){for(let a=this.scopeStack.length-1;;a--){const{flags:s}=this.scopeStack[a];if(s&451&&!(s&4))return s}}}class sv extends Na{constructor(...a){super(...a),this.declareFunctions=new Set}}class iv extends Oa{createScope(a){return new sv(a)}declareName(a,s,o){const h=this.currentScope();if(s&2048){this.checkRedeclarationInScope(h,a,s,o),this.maybeExportDefined(h,a),h.declareFunctions.add(a);return}super.declareName(a,s,o)}isRedeclaredInScope(a,s,o){if(super.isRedeclaredInScope(a,s,o))return!0;if(o&2048&&!a.declareFunctions.has(s)){const h=a.names.get(s);return(h&4)>0||(h&2)>0}return!1}checkLocalExport(a){this.scopeStack[0].declareFunctions.has(a.name)||super.checkLocalExport(a)}}const nv=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),ce=S`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:w})=>`Cannot overwrite reserved type ${w}.`,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:w,enumName:a})=>`Boolean enum members need to be initialized. Use either \`${w} = true,\` or \`${w} = false,\` in enum \`${a}\`.`,EnumDuplicateMemberName:({memberName:w,enumName:a})=>`Enum member names need to be unique, but the name \`${w}\` has already been used before in enum \`${a}\`.`,EnumInconsistentMemberValues:({enumName:w})=>`Enum \`${w}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:w,enumName:a})=>`Enum type \`${w}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${a}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:w})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${w}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:w,memberName:a,explicitType:s})=>`Enum \`${w}\` has type \`${s}\`, so the initializer of \`${a}\` needs to be a ${s} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:w,memberName:a})=>`Symbol enum members cannot be initialized. Use \`${a},\` in enum \`${w}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:w,memberName:a})=>`The enum member initializer for \`${a}\` needs to be a literal (either a boolean, number, or string) in enum \`${w}\`.`,EnumInvalidMemberName:({enumName:w,memberName:a,suggestion:s})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${a}\`, consider using \`${s}\`, in enum \`${w}\`.`,EnumNumberMemberNotInitialized:({enumName:w,memberName:a})=>`Number enum members need to be initialized, e.g. \`${a} = 1\` in enum \`${w}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:w})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${w}\`.`,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:w})=>`Unexpected reserved type ${w}.`,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:w,suggestion:a})=>`\`declare export ${w}\` is not supported. Use \`${a}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function av(w){return w.type==="DeclareExportAllDeclaration"||w.type==="DeclareExportDeclaration"&&(!w.declaration||w.declaration.type!=="TypeAlias"&&w.declaration.type!=="InterfaceDeclaration")}function du(w){return w.importKind==="type"||w.importKind==="typeof"}const ov={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function lv(w,a){const s=[],o=[];for(let h=0;h<w.length;h++)(a(w[h],h,w)?s:o).push(w[h]);return[s,o]}const cv=/\*?\s*@((?:no)?flow)\b/;var uv=w=>class extends w{constructor(...s){super(...s),this.flowPragma=void 0}getScopeHandler(){return iv}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(s,o){s!==134&&s!==13&&s!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(s,o)}addComment(s){if(this.flowPragma===void 0){const o=cv.exec(s.value);if(o)if(o[1]==="flow")this.flowPragma="flow";else if(o[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(s)}flowParseTypeInitialiser(s){const o=this.state.inType;this.state.inType=!0,this.expect(s||14);const h=this.flowParseType();return this.state.inType=o,h}flowParsePredicate(){const s=this.startNode(),o=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>o.index+1&&this.raise(ce.UnexpectedSpaceBetweenModuloChecks,o),this.eat(10)?(s.value=super.parseExpression(),this.expect(11),this.finishNode(s,"DeclaredPredicate")):this.finishNode(s,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const s=this.state.inType;this.state.inType=!0,this.expect(14);let o=null,h=null;return this.match(54)?(this.state.inType=s,h=this.flowParsePredicate()):(o=this.flowParseType(),this.state.inType=s,this.match(54)&&(h=this.flowParsePredicate())),[o,h]}flowParseDeclareClass(s){return this.next(),this.flowParseInterfaceish(s,!0),this.finishNode(s,"DeclareClass")}flowParseDeclareFunction(s){this.next();const o=s.id=this.parseIdentifier(),h=this.startNode(),E=this.startNode();this.match(47)?h.typeParameters=this.flowParseTypeParameterDeclaration():h.typeParameters=null,this.expect(10);const P=this.flowParseFunctionTypeParams();return h.params=P.params,h.rest=P.rest,h.this=P._this,this.expect(11),[h.returnType,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),E.typeAnnotation=this.finishNode(h,"FunctionTypeAnnotation"),o.typeAnnotation=this.finishNode(E,"TypeAnnotation"),this.resetEndLocation(o),this.semicolon(),this.scope.declareName(s.id.name,2048,s.id.loc.start),this.finishNode(s,"DeclareFunction")}flowParseDeclare(s,o){if(this.match(80))return this.flowParseDeclareClass(s);if(this.match(68))return this.flowParseDeclareFunction(s);if(this.match(74))return this.flowParseDeclareVariable(s);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(s):(o&&this.raise(ce.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(s));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(s);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(s);if(this.isContextual(129))return this.flowParseDeclareInterface(s);if(this.match(82))return this.flowParseDeclareExportDeclaration(s,o);this.unexpected()}flowParseDeclareVariable(s){return this.next(),s.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(s.id.name,5,s.id.loc.start),this.semicolon(),this.finishNode(s,"DeclareVariable")}flowParseDeclareModule(s){this.scope.enter(0),this.match(134)?s.id=super.parseExprAtom():s.id=this.parseIdentifier();const o=s.body=this.startNode(),h=o.body=[];for(this.expect(5);!this.match(8);){let I=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(ce.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(I)):(this.expectContextual(125,ce.UnsupportedStatementInDeclareModule),I=this.flowParseDeclare(I,!0)),h.push(I)}this.scope.exit(),this.expect(8),this.finishNode(o,"BlockStatement");let E=null,P=!1;return h.forEach(I=>{av(I)?(E==="CommonJS"&&this.raise(ce.AmbiguousDeclareModuleKind,I),E="ES"):I.type==="DeclareModuleExports"&&(P&&this.raise(ce.DuplicateDeclareModuleExports,I),E==="ES"&&this.raise(ce.AmbiguousDeclareModuleKind,I),E="CommonJS",P=!0)}),s.kind=E||"CommonJS",this.finishNode(s,"DeclareModule")}flowParseDeclareExportDeclaration(s,o){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?s.declaration=this.flowParseDeclare(this.startNode()):(s.declaration=this.flowParseType(),this.semicolon()),s.default=!0,this.finishNode(s,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!o){const h=this.state.value;throw this.raise(ce.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:h,suggestion:ov[h]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return s.declaration=this.flowParseDeclare(this.startNode()),s.default=!1,this.finishNode(s,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return s=this.parseExport(s,null),s.type==="ExportNamedDeclaration"?(s.default=!1,delete s.exportKind,this.castNodeTo(s,"DeclareExportDeclaration")):this.castNodeTo(s,"DeclareExportAllDeclaration");this.unexpected()}flowParseDeclareModuleExports(s){return this.next(),this.expectContextual(111),s.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(s,"DeclareModuleExports")}flowParseDeclareTypeAlias(s){this.next();const o=this.flowParseTypeAlias(s);return this.castNodeTo(o,"DeclareTypeAlias"),o}flowParseDeclareOpaqueType(s){this.next();const o=this.flowParseOpaqueType(s,!0);return this.castNodeTo(o,"DeclareOpaqueType"),o}flowParseDeclareInterface(s){return this.next(),this.flowParseInterfaceish(s,!1),this.finishNode(s,"DeclareInterface")}flowParseInterfaceish(s,o){if(s.id=this.flowParseRestrictedIdentifier(!o,!0),this.scope.declareName(s.id.name,o?17:8201,s.id.loc.start),this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.extends=[],this.eat(81))do s.extends.push(this.flowParseInterfaceExtends());while(!o&&this.eat(12));if(o){if(s.implements=[],s.mixins=[],this.eatContextual(117))do s.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do s.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}s.body=this.flowParseObjectType({allowStatic:o,allowExact:!1,allowSpread:!1,allowProto:o,allowInexact:!1})}flowParseInterfaceExtends(){const s=this.startNode();return s.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?s.typeParameters=this.flowParseTypeParameterInstantiation():s.typeParameters=null,this.finishNode(s,"InterfaceExtends")}flowParseInterface(s){return this.flowParseInterfaceish(s,!1),this.finishNode(s,"InterfaceDeclaration")}checkNotUnderscore(s){s==="_"&&this.raise(ce.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(s,o,h){nv.has(s)&&this.raise(h?ce.AssignReservedType:ce.UnexpectedReservedType,o,{reservedType:s})}flowParseRestrictedIdentifier(s,o){return this.checkReservedType(this.state.value,this.state.startLoc,o),this.parseIdentifier(s)}flowParseTypeAlias(s){return s.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(s.id.name,8201,s.id.loc.start),this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(s,"TypeAlias")}flowParseOpaqueType(s,o){return this.expectContextual(130),s.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(s.id.name,8201,s.id.loc.start),this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,s.supertype=null,this.match(14)&&(s.supertype=this.flowParseTypeInitialiser(14)),s.impltype=null,o||(s.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(s,"OpaqueType")}flowParseTypeParameter(s=!1){const o=this.state.startLoc,h=this.startNode(),E=this.flowParseVariance(),P=this.flowParseTypeAnnotatableIdentifier();return h.name=P.name,h.variance=E,h.bound=P.typeAnnotation,this.match(29)?(this.eat(29),h.default=this.flowParseType()):s&&this.raise(ce.MissingTypeParamDefault,o),this.finishNode(h,"TypeParameter")}flowParseTypeParameterDeclaration(){const s=this.state.inType,o=this.startNode();o.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let h=!1;do{const E=this.flowParseTypeParameter(h);o.params.push(E),E.default&&(h=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=s,this.finishNode(o,"TypeParameterDeclaration")}flowInTopLevelContext(s){if(this.curContext()!==C.brace){const o=this.state.context;this.state.context=[o[0]];try{return s()}finally{this.state.context=o}}else return s()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){const s=this.startNode(),o=this.state.inType;return this.state.inType=!0,s.params=[],this.flowInTopLevelContext(()=>{this.expect(47);const h=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)s.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=h}),this.state.inType=o,!this.state.inType&&this.curContext()===C.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(s,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return;const s=this.startNode(),o=this.state.inType;for(s.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)s.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=o,this.finishNode(s,"TypeParameterInstantiation")}flowParseInterfaceType(){const s=this.startNode();if(this.expectContextual(129),s.extends=[],this.eat(81))do s.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return s.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(s,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(s,o,h){return s.static=o,this.lookahead().type===14?(s.id=this.flowParseObjectPropertyKey(),s.key=this.flowParseTypeInitialiser()):(s.id=null,s.key=this.flowParseType()),this.expect(3),s.value=this.flowParseTypeInitialiser(),s.variance=h,this.finishNode(s,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(s,o){return s.static=o,s.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(s.method=!0,s.optional=!1,s.value=this.flowParseObjectTypeMethodish(this.startNodeAt(s.loc.start))):(s.method=!1,this.eat(17)&&(s.optional=!0),s.value=this.flowParseTypeInitialiser()),this.finishNode(s,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(s){for(s.params=[],s.rest=null,s.typeParameters=null,s.this=null,this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(s.this=this.flowParseFunctionTypeParam(!0),s.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)s.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(s.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),s.returnType=this.flowParseTypeInitialiser(),this.finishNode(s,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(s,o){const h=this.startNode();return s.static=o,s.value=this.flowParseObjectTypeMethodish(h),this.finishNode(s,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:s,allowExact:o,allowSpread:h,allowProto:E,allowInexact:P}){const I=this.state.inType;this.state.inType=!0;const M=this.startNode();M.callProperties=[],M.properties=[],M.indexers=[],M.internalSlots=[];let D,B,V=!1;for(o&&this.match(6)?(this.expect(6),D=9,B=!0):(this.expect(5),D=8,B=!1),M.exact=B;!this.match(D);){let Q=!1,ae=null,me=null;const Me=this.startNode();if(E&&this.isContextual(118)){const Pe=this.lookahead();Pe.type!==14&&Pe.type!==17&&(this.next(),ae=this.state.startLoc,s=!1)}if(s&&this.isContextual(106)){const Pe=this.lookahead();Pe.type!==14&&Pe.type!==17&&(this.next(),Q=!0)}const ge=this.flowParseVariance();if(this.eat(0))ae!=null&&this.unexpected(ae),this.eat(0)?(ge&&this.unexpected(ge.loc.start),M.internalSlots.push(this.flowParseObjectTypeInternalSlot(Me,Q))):M.indexers.push(this.flowParseObjectTypeIndexer(Me,Q,ge));else if(this.match(10)||this.match(47))ae!=null&&this.unexpected(ae),ge&&this.unexpected(ge.loc.start),M.callProperties.push(this.flowParseObjectTypeCallProperty(Me,Q));else{let Pe="init";if(this.isContextual(99)||this.isContextual(104)){const rr=this.lookahead();ye(rr.type)&&(Pe=this.state.value,this.next())}const vr=this.flowParseObjectTypeProperty(Me,Q,ae,ge,Pe,h,P??!B);vr===null?(V=!0,me=this.state.lastTokStartLoc):M.properties.push(vr)}this.flowObjectTypeSemicolon(),me&&!this.match(8)&&!this.match(9)&&this.raise(ce.UnexpectedExplicitInexactInObject,me)}this.expect(D),h&&(M.inexact=V);const K=this.finishNode(M,"ObjectTypeAnnotation");return this.state.inType=I,K}flowParseObjectTypeProperty(s,o,h,E,P,I,M){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(I?M||this.raise(ce.InexactInsideExact,this.state.lastTokStartLoc):this.raise(ce.InexactInsideNonObject,this.state.lastTokStartLoc),E&&this.raise(ce.InexactVariance,E),null):(I||this.raise(ce.UnexpectedSpreadType,this.state.lastTokStartLoc),h!=null&&this.unexpected(h),E&&this.raise(ce.SpreadVariance,E),s.argument=this.flowParseType(),this.finishNode(s,"ObjectTypeSpreadProperty"));{s.key=this.flowParseObjectPropertyKey(),s.static=o,s.proto=h!=null,s.kind=P;let D=!1;return this.match(47)||this.match(10)?(s.method=!0,h!=null&&this.unexpected(h),E&&this.unexpected(E.loc.start),s.value=this.flowParseObjectTypeMethodish(this.startNodeAt(s.loc.start)),(P==="get"||P==="set")&&this.flowCheckGetterSetterParams(s),!I&&s.key.name==="constructor"&&s.value.this&&this.raise(ce.ThisParamBannedInConstructor,s.value.this)):(P!=="init"&&this.unexpected(),s.method=!1,this.eat(17)&&(D=!0),s.value=this.flowParseTypeInitialiser(),s.variance=E),s.optional=D,this.finishNode(s,"ObjectTypeProperty")}}flowCheckGetterSetterParams(s){const o=s.kind==="get"?0:1,h=s.value.params.length+(s.value.rest?1:0);s.value.this&&this.raise(s.kind==="get"?ce.GetterMayNotHaveThisParam:ce.SetterMayNotHaveThisParam,s.value.this),h!==o&&this.raise(s.kind==="get"?g.BadGetterArity:g.BadSetterArity,s),s.kind==="set"&&s.value.rest&&this.raise(g.BadSetterRestParameter,s)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(s,o){s??(s=this.state.startLoc);let h=o||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const E=this.startNodeAt(s);E.qualification=h,E.id=this.flowParseRestrictedIdentifier(!0),h=this.finishNode(E,"QualifiedTypeIdentifier")}return h}flowParseGenericType(s,o){const h=this.startNodeAt(s);return h.typeParameters=null,h.id=this.flowParseQualifiedTypeIdentifier(s,o),this.match(47)&&(h.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(h,"GenericTypeAnnotation")}flowParseTypeofType(){const s=this.startNode();return this.expect(87),s.argument=this.flowParsePrimaryType(),this.finishNode(s,"TypeofTypeAnnotation")}flowParseTupleType(){const s=this.startNode();for(s.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(s.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(s,"TupleTypeAnnotation")}flowParseFunctionTypeParam(s){let o=null,h=!1,E=null;const P=this.startNode(),I=this.lookahead(),M=this.state.type===78;return I.type===14||I.type===17?(M&&!s&&this.raise(ce.ThisParamMustBeFirst,P),o=this.parseIdentifier(M),this.eat(17)&&(h=!0,M&&this.raise(ce.ThisParamMayNotBeOptional,P)),E=this.flowParseTypeInitialiser()):E=this.flowParseType(),P.name=o,P.optional=h,P.typeAnnotation=E,this.finishNode(P,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(s){const o=this.startNodeAt(s.loc.start);return o.name=null,o.optional=!1,o.typeAnnotation=s,this.finishNode(o,"FunctionTypeParam")}flowParseFunctionTypeParams(s=[]){let o=null,h=null;for(this.match(78)&&(h=this.flowParseFunctionTypeParam(!0),h.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)s.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(o=this.flowParseFunctionTypeParam(!1)),{params:s,rest:o,_this:h}}flowIdentToTypeAnnotation(s,o,h){switch(h.name){case"any":return this.finishNode(o,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(o,"BooleanTypeAnnotation");case"mixed":return this.finishNode(o,"MixedTypeAnnotation");case"empty":return this.finishNode(o,"EmptyTypeAnnotation");case"number":return this.finishNode(o,"NumberTypeAnnotation");case"string":return this.finishNode(o,"StringTypeAnnotation");case"symbol":return this.finishNode(o,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(h.name),this.flowParseGenericType(s,h)}}flowParsePrimaryType(){const s=this.state.startLoc,o=this.startNode();let h,E,P=!1;const I=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,E=this.flowParseTupleType(),this.state.noAnonFunctionType=I,E;case 47:{const M=this.startNode();return M.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),h=this.flowParseFunctionTypeParams(),M.params=h.params,M.rest=h.rest,M.this=h._this,this.expect(11),this.expect(19),M.returnType=this.flowParseType(),this.finishNode(M,"FunctionTypeAnnotation")}case 10:{const M=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(ee(this.state.type)||this.match(78)){const D=this.lookahead().type;P=D!==17&&D!==14}else P=!0;if(P){if(this.state.noAnonFunctionType=!1,E=this.flowParseType(),this.state.noAnonFunctionType=I,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),E;this.eat(12)}return E?h=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(E)]):h=this.flowParseFunctionTypeParams(),M.params=h.params,M.rest=h.rest,M.this=h._this,this.expect(11),this.expect(19),M.returnType=this.flowParseType(),M.typeParameters=null,this.finishNode(M,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return o.value=this.match(85),this.next(),this.finishNode(o,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",o);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",o);throw this.raise(ce.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(o,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(o,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(o,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(o,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(We(this.state.type)){const M=dt(this.state.type);return this.next(),super.createIdentifier(o,M)}else if(ee(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(s,o,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){const s=this.state.startLoc;let o=this.flowParsePrimaryType(),h=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const E=this.startNodeAt(s),P=this.eat(18);h=h||P,this.expect(0),!P&&this.match(3)?(E.elementType=o,this.next(),o=this.finishNode(E,"ArrayTypeAnnotation")):(E.objectType=o,E.indexType=this.flowParseType(),this.expect(3),h?(E.optional=P,o=this.finishNode(E,"OptionalIndexedAccessType")):o=this.finishNode(E,"IndexedAccessType"))}return o}flowParsePrefixType(){const s=this.startNode();return this.eat(17)?(s.typeAnnotation=this.flowParsePrefixType(),this.finishNode(s,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const s=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const o=this.startNodeAt(s.loc.start);return o.params=[this.reinterpretTypeAsFunctionTypeParam(s)],o.rest=null,o.this=null,o.returnType=this.flowParseType(),o.typeParameters=null,this.finishNode(o,"FunctionTypeAnnotation")}return s}flowParseIntersectionType(){const s=this.startNode();this.eat(45);const o=this.flowParseAnonFunctionWithoutParens();for(s.types=[o];this.eat(45);)s.types.push(this.flowParseAnonFunctionWithoutParens());return s.types.length===1?o:this.finishNode(s,"IntersectionTypeAnnotation")}flowParseUnionType(){const s=this.startNode();this.eat(43);const o=this.flowParseIntersectionType();for(s.types=[o];this.eat(43);)s.types.push(this.flowParseIntersectionType());return s.types.length===1?o:this.finishNode(s,"UnionTypeAnnotation")}flowParseType(){const s=this.state.inType;this.state.inType=!0;const o=this.flowParseUnionType();return this.state.inType=s,o}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){const s=this.state.startLoc,o=this.parseIdentifier();return this.flowParseGenericType(s,o)}else return this.flowParseType()}flowParseTypeAnnotation(){const s=this.startNode();return s.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(s,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(s){const o=s?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(o.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(o)),o}typeCastToParameter(s){return s.expression.typeAnnotation=s.typeAnnotation,this.resetEndLocation(s.expression,s.typeAnnotation.loc.end),s.expression}flowParseVariance(){let s=null;return this.match(53)?(s=this.startNode(),this.state.value==="+"?s.kind="plus":s.kind="minus",this.next(),this.finishNode(s,"Variance")):s}parseFunctionBody(s,o,h=!1){if(o){this.forwardNoArrowParamsConversionAt(s,()=>super.parseFunctionBody(s,!0,h));return}super.parseFunctionBody(s,!1,h)}parseFunctionBodyAndFinish(s,o,h=!1){if(this.match(14)){const E=this.startNode();[E.typeAnnotation,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),s.returnType=E.typeAnnotation?this.finishNode(E,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(s,o,h)}parseStatementLike(s){if(this.state.strict&&this.isContextual(129)){const h=this.lookahead();if(ne(h.type)){const E=this.startNode();return this.next(),this.flowParseInterface(E)}}else if(this.isContextual(126)){const h=this.startNode();return this.next(),this.flowParseEnumDeclaration(h)}const o=super.parseStatementLike(s);return this.flowPragma===void 0&&!this.isValidDirective(o)&&(this.flowPragma=null),o}parseExpressionStatement(s,o,h){if(o.type==="Identifier"){if(o.name==="declare"){if(this.match(80)||ee(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(s)}else if(ee(this.state.type)){if(o.name==="interface")return this.flowParseInterface(s);if(o.name==="type")return this.flowParseTypeAlias(s);if(o.name==="opaque")return this.flowParseOpaqueType(s,!1)}}return super.parseExpressionStatement(s,o,h)}shouldParseExportDeclaration(){const{type:s}=this.state;return s===126||St(s)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:s}=this.state;return s===126||St(s)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){const s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}return super.parseExportDefaultExpression()}parseConditional(s,o,h){if(!this.match(17))return s;if(this.state.maybeInArrowParameters){const K=this.lookaheadCharCode();if(K===44||K===61||K===58||K===41)return this.setOptionalParametersError(h),s}this.expect(17);const E=this.state.clone(),P=this.state.noArrowAt,I=this.startNodeAt(o);let{consequent:M,failed:D}=this.tryParseConditionalConsequent(),[B,V]=this.getArrowLikeExpressions(M);if(D||V.length>0){const K=[...P];if(V.length>0){this.state=E,this.state.noArrowAt=K;for(let Q=0;Q<V.length;Q++)K.push(V[Q].start);({consequent:M,failed:D}=this.tryParseConditionalConsequent()),[B,V]=this.getArrowLikeExpressions(M)}D&&B.length>1&&this.raise(ce.AmbiguousConditionalArrow,E.startLoc),D&&B.length===1&&(this.state=E,K.push(B[0].start),this.state.noArrowAt=K,{consequent:M,failed:D}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(M,!0),this.state.noArrowAt=P,this.expect(14),I.test=s,I.consequent=M,I.alternate=this.forwardNoArrowParamsConversionAt(I,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(I,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const s=this.parseMaybeAssignAllowIn(),o=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:s,failed:o}}getArrowLikeExpressions(s,o){const h=[s],E=[];for(;h.length!==0;){const P=h.pop();P.type==="ArrowFunctionExpression"&&P.body.type!=="BlockStatement"?(P.typeParameters||!P.returnType?this.finishArrowValidation(P):E.push(P),h.push(P.body)):P.type==="ConditionalExpression"&&(h.push(P.consequent),h.push(P.alternate))}return o?(E.forEach(P=>this.finishArrowValidation(P)),[E,[]]):lv(E,P=>P.params.every(I=>this.isAssignable(I,!0)))}finishArrowValidation(s){var o;this.toAssignableList(s.params,(o=s.extra)==null?void 0:o.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(s,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(s,o){let h;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(s.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),h=o(),this.state.noArrowParamsConversionAt.pop()):h=o(),h}parseParenItem(s,o){const h=super.parseParenItem(s,o);if(this.eat(17)&&(h.optional=!0,this.resetEndLocation(s)),this.match(14)){const E=this.startNodeAt(o);return E.expression=h,E.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(E,"TypeCastExpression")}return h}assertModuleNodeAllowed(s){s.type==="ImportDeclaration"&&(s.importKind==="type"||s.importKind==="typeof")||s.type==="ExportNamedDeclaration"&&s.exportKind==="type"||s.type==="ExportAllDeclaration"&&s.exportKind==="type"||super.assertModuleNodeAllowed(s)}parseExportDeclaration(s){if(this.isContextual(130)){s.exportKind="type";const o=this.startNode();return this.next(),this.match(5)?(s.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(s),null):this.flowParseTypeAlias(o)}else if(this.isContextual(131)){s.exportKind="type";const o=this.startNode();return this.next(),this.flowParseOpaqueType(o,!1)}else if(this.isContextual(129)){s.exportKind="type";const o=this.startNode();return this.next(),this.flowParseInterface(o)}else if(this.isContextual(126)){s.exportKind="value";const o=this.startNode();return this.next(),this.flowParseEnumDeclaration(o)}else return super.parseExportDeclaration(s)}eatExportStar(s){return super.eatExportStar(s)?!0:this.isContextual(130)&&this.lookahead().type===55?(s.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(s){const{startLoc:o}=this.state,h=super.maybeParseExportNamespaceSpecifier(s);return h&&s.exportKind==="type"&&this.unexpected(o),h}parseClassId(s,o,h){super.parseClassId(s,o,h),this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(s,o,h){const{startLoc:E}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(s,o))return;o.declare=!0}super.parseClassMember(s,o,h),o.declare&&(o.type!=="ClassProperty"&&o.type!=="ClassPrivateProperty"&&o.type!=="PropertyDefinition"?this.raise(ce.DeclareClassElement,E):o.value&&this.raise(ce.DeclareClassFieldInitializer,o.value))}isIterator(s){return s==="iterator"||s==="asyncIterator"}readIterator(){const s=super.readWord1(),o="@@"+s;(!this.isIterator(s)||!this.state.inType)&&this.raise(g.InvalidIdentifier,this.state.curPosition(),{identifierName:o}),this.finishToken(132,o)}getTokenFromCode(s){const o=this.input.charCodeAt(this.state.pos+1);s===123&&o===124?this.finishOp(6,2):this.state.inType&&(s===62||s===60)?this.finishOp(s===62?48:47,1):this.state.inType&&s===63?o===46?this.finishOp(18,2):this.finishOp(17,1):ev(s,o,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(s)}isAssignable(s,o){return s.type==="TypeCastExpression"?this.isAssignable(s.expression,o):super.isAssignable(s,o)}toAssignable(s,o=!1){!o&&s.type==="AssignmentExpression"&&s.left.type==="TypeCastExpression"&&(s.left=this.typeCastToParameter(s.left)),super.toAssignable(s,o)}toAssignableList(s,o,h){for(let E=0;E<s.length;E++){const P=s[E];(P==null?void 0:P.type)==="TypeCastExpression"&&(s[E]=this.typeCastToParameter(P))}super.toAssignableList(s,o,h)}toReferencedList(s,o){for(let E=0;E<s.length;E++){var h;const P=s[E];P&&P.type==="TypeCastExpression"&&!((h=P.extra)!=null&&h.parenthesized)&&(s.length>1||!o)&&this.raise(ce.TypeCastInPattern,P.typeAnnotation)}return s}parseArrayLike(s,o,h,E){const P=super.parseArrayLike(s,o,h,E);return o&&!this.state.maybeInArrowParameters&&this.toReferencedList(P.elements),P}isValidLVal(s,o,h){return s==="TypeCastExpression"||super.isValidLVal(s,o,h)}parseClassProperty(s){return this.match(14)&&(s.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(s)}parseClassPrivateProperty(s){return this.match(14)&&(s.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(s)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(s){return!this.match(14)&&super.isNonstaticConstructor(s)}pushClassMethod(s,o,h,E,P,I){if(o.variance&&this.unexpected(o.variance.loc.start),delete o.variance,this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(s,o,h,E,P,I),o.params&&P){const M=o.params;M.length>0&&this.isThisParam(M[0])&&this.raise(ce.ThisParamBannedInConstructor,o)}else if(o.type==="MethodDefinition"&&P&&o.value.params){const M=o.value.params;M.length>0&&this.isThisParam(M[0])&&this.raise(ce.ThisParamBannedInConstructor,o)}}pushClassPrivateMethod(s,o,h,E){o.variance&&this.unexpected(o.variance.loc.start),delete o.variance,this.match(47)&&(o.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(s,o,h,E)}parseClassSuper(s){if(super.parseClassSuper(s),s.superClass&&(this.match(47)||this.match(51))&&(s.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();const o=s.implements=[];do{const h=this.startNode();h.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?h.typeParameters=this.flowParseTypeParameterInstantiation():h.typeParameters=null,o.push(this.finishNode(h,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(s){super.checkGetterSetterParams(s);const o=this.getObjectOrClassMethodParams(s);if(o.length>0){const h=o[0];this.isThisParam(h)&&s.kind==="get"?this.raise(ce.GetterMayNotHaveThisParam,h):this.isThisParam(h)&&this.raise(ce.SetterMayNotHaveThisParam,h)}}parsePropertyNamePrefixOperator(s){s.variance=this.flowParseVariance()}parseObjPropValue(s,o,h,E,P,I,M){s.variance&&this.unexpected(s.variance.loc.start),delete s.variance;let D;this.match(47)&&!I&&(D=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const B=super.parseObjPropValue(s,o,h,E,P,I,M);return D&&((B.value||B).typeParameters=D),B}parseFunctionParamType(s){return this.eat(17)&&(s.type!=="Identifier"&&this.raise(ce.PatternIsOptional,s),this.isThisParam(s)&&this.raise(ce.ThisParamMayNotBeOptional,s),s.optional=!0),this.match(14)?s.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(s)&&this.raise(ce.ThisParamAnnotationRequired,s),this.match(29)&&this.isThisParam(s)&&this.raise(ce.ThisParamNoDefault,s),this.resetEndLocation(s),s}parseMaybeDefault(s,o){const h=super.parseMaybeDefault(s,o);return h.type==="AssignmentPattern"&&h.typeAnnotation&&h.right.start<h.typeAnnotation.start&&this.raise(ce.TypeBeforeInitializer,h.typeAnnotation),h}checkImportReflection(s){super.checkImportReflection(s),s.module&&s.importKind!=="value"&&this.raise(ce.ImportReflectionHasImportType,s.specifiers[0].loc.start)}parseImportSpecifierLocal(s,o,h){o.local=du(s)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),s.specifiers.push(this.finishImportSpecifier(o,h))}isPotentialImportPhase(s){if(super.isPotentialImportPhase(s))return!0;if(this.isContextual(130)){if(!s)return!0;const o=this.lookaheadCharCode();return o===123||o===42}return!s&&this.isContextual(87)}applyImportPhase(s,o,h,E){if(super.applyImportPhase(s,o,h,E),o){if(!h&&this.match(65))return;s.exportKind=h==="type"?h:"value"}else h==="type"&&this.match(55)&&this.unexpected(),s.importKind=h==="type"||h==="typeof"?h:"value"}parseImportSpecifier(s,o,h,E,P){const I=s.imported;let M=null;I.type==="Identifier"&&(I.name==="type"?M="type":I.name==="typeof"&&(M="typeof"));let D=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const V=this.parseIdentifier(!0);M!==null&&!ne(this.state.type)?(s.imported=V,s.importKind=M,s.local=this.cloneIdentifier(V)):(s.imported=I,s.importKind=null,s.local=this.parseIdentifier())}else{if(M!==null&&ne(this.state.type))s.imported=this.parseIdentifier(!0),s.importKind=M;else{if(o)throw this.raise(g.ImportBindingIsString,s,{importName:I.value});s.imported=I,s.importKind=null}this.eatContextual(93)?s.local=this.parseIdentifier():(D=!0,s.local=this.cloneIdentifier(s.imported))}const B=du(s);return h&&B&&this.raise(ce.ImportTypeShorthandOnlyInPureImport,s),(h||B)&&this.checkReservedType(s.local.name,s.local.loc.start,!0),D&&!h&&!B&&this.checkReservedWord(s.local.name,s.loc.start,!0,!0),this.finishImportSpecifier(s,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(s,o){const h=s.kind;h!=="get"&&h!=="set"&&this.match(47)&&(s.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(s,o)}parseVarId(s,o){super.parseVarId(s,o),this.match(14)&&(s.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(s.id))}parseAsyncArrowFromCallExpression(s,o){if(this.match(14)){const h=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,s.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=h}return super.parseAsyncArrowFromCallExpression(s,o)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(s,o){var h;let E=null,P;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(E=this.state.clone(),P=this.tryParse(()=>super.parseMaybeAssign(s,o),E),!P.error)return P.node;const{context:D}=this.state,B=D[D.length-1];(B===C.j_oTag||B===C.j_expr)&&D.pop()}if((h=P)!=null&&h.error||this.match(47)){var I,M;E=E||this.state.clone();let D;const B=this.tryParse(K=>{var Q;D=this.flowParseTypeParameterDeclaration();const ae=this.forwardNoArrowParamsConversionAt(D,()=>{const Me=super.parseMaybeAssign(s,o);return this.resetStartLocationFromNode(Me,D),Me});(Q=ae.extra)!=null&&Q.parenthesized&&K();const me=this.maybeUnwrapTypeCastExpression(ae);return me.type!=="ArrowFunctionExpression"&&K(),me.typeParameters=D,this.resetStartLocationFromNode(me,D),ae},E);let V=null;if(B.node&&this.maybeUnwrapTypeCastExpression(B.node).type==="ArrowFunctionExpression"){if(!B.error&&!B.aborted)return B.node.async&&this.raise(ce.UnexpectedTypeParameterBeforeAsyncArrowFunction,D),B.node;V=B.node}if((I=P)!=null&&I.node)return this.state=P.failState,P.node;if(V)return this.state=B.failState,V;throw(M=P)!=null&&M.thrown?P.error:B.thrown?B.error:this.raise(ce.UnexpectedTokenAfterTypeParameter,D)}return super.parseMaybeAssign(s,o)}parseArrow(s){if(this.match(14)){const o=this.tryParse(()=>{const h=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const E=this.startNode();return[E.typeAnnotation,s.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=h,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),E});if(o.thrown)return null;o.error&&(this.state=o.failState),s.returnType=o.node.typeAnnotation?this.finishNode(o.node,"TypeAnnotation"):null}return super.parseArrow(s)}shouldParseArrow(s){return this.match(14)||super.shouldParseArrow(s)}setArrowFunctionParameters(s,o){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(s.start))?s.params=o:super.setArrowFunctionParameters(s,o)}checkParams(s,o,h,E=!0){if(!(h&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(s.start)))){for(let P=0;P<s.params.length;P++)this.isThisParam(s.params[P])&&P>0&&this.raise(ce.ThisParamMustBeFirst,s.params[P]);super.checkParams(s,o,h,E)}}parseParenAndDistinguishExpression(s){return super.parseParenAndDistinguishExpression(s&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(s,o,h){if(s.type==="Identifier"&&s.name==="async"&&this.state.noArrowAt.includes(o.index)){this.next();const E=this.startNodeAt(o);E.callee=s,E.arguments=super.parseCallExpressionArguments(11),s=this.finishNode(E,"CallExpression")}else if(s.type==="Identifier"&&s.name==="async"&&this.match(47)){const E=this.state.clone(),P=this.tryParse(M=>this.parseAsyncArrowWithTypeParameters(o)||M(),E);if(!P.error&&!P.aborted)return P.node;const I=this.tryParse(()=>super.parseSubscripts(s,o,h),E);if(I.node&&!I.error)return I.node;if(P.node)return this.state=P.failState,P.node;if(I.node)return this.state=I.failState,I.node;throw P.error||I.error}return super.parseSubscripts(s,o,h)}parseSubscript(s,o,h,E){if(this.match(18)&&this.isLookaheadToken_lt()){if(E.optionalChainMember=!0,h)return E.stop=!0,s;this.next();const P=this.startNodeAt(o);return P.callee=s,P.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),P.arguments=this.parseCallExpressionArguments(11),P.optional=!0,this.finishCallExpression(P,!0)}else if(!h&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){const P=this.startNodeAt(o);P.callee=s;const I=this.tryParse(()=>(P.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),P.arguments=super.parseCallExpressionArguments(11),E.optionalChainMember&&(P.optional=!1),this.finishCallExpression(P,E.optionalChainMember)));if(I.node)return I.error&&(this.state=I.failState),I.node}return super.parseSubscript(s,o,h,E)}parseNewCallee(s){super.parseNewCallee(s);let o=null;this.shouldParseTypes()&&this.match(47)&&(o=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),s.typeArguments=o}parseAsyncArrowWithTypeParameters(s){const o=this.startNodeAt(s);if(this.parseFunctionParams(o,!1),!!this.parseArrow(o))return super.parseArrowExpression(o,void 0,!0)}readToken_mult_modulo(s){const o=this.input.charCodeAt(this.state.pos+1);if(s===42&&o===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(s)}readToken_pipe_amp(s){const o=this.input.charCodeAt(this.state.pos+1);if(s===124&&o===125){this.finishOp(9,2);return}super.readToken_pipe_amp(s)}parseTopLevel(s,o){const h=super.parseTopLevel(s,o);return this.state.hasFlowComment&&this.raise(ce.UnterminatedFlowComment,this.state.curPosition()),h}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(ce.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const s=this.skipFlowComment();s&&(this.state.pos+=s,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:s}=this.state;let o=2;for(;[32,9].includes(this.input.charCodeAt(s+o));)o++;const h=this.input.charCodeAt(o+s),E=this.input.charCodeAt(o+s+1);return h===58&&E===58?o+2:this.input.slice(o+s,o+s+12)==="flow-include"?o+12:h===58&&E!==58?o:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(g.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(s,{enumName:o,memberName:h}){this.raise(ce.EnumBooleanMemberNotInitialized,s,{memberName:h,enumName:o})}flowEnumErrorInvalidMemberInitializer(s,o){return this.raise(o.explicitType?o.explicitType==="symbol"?ce.EnumInvalidMemberInitializerSymbolType:ce.EnumInvalidMemberInitializerPrimaryType:ce.EnumInvalidMemberInitializerUnknownType,s,o)}flowEnumErrorNumberMemberNotInitialized(s,o){this.raise(ce.EnumNumberMemberNotInitialized,s,o)}flowEnumErrorStringMemberInconsistentlyInitialized(s,o){this.raise(ce.EnumStringMemberInconsistentlyInitialized,s,o)}flowEnumMemberInit(){const s=this.state.startLoc,o=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{const h=this.parseNumericLiteral(this.state.value);return o()?{type:"number",loc:h.loc.start,value:h}:{type:"invalid",loc:s}}case 134:{const h=this.parseStringLiteral(this.state.value);return o()?{type:"string",loc:h.loc.start,value:h}:{type:"invalid",loc:s}}case 85:case 86:{const h=this.parseBooleanLiteral(this.match(85));return o()?{type:"boolean",loc:h.loc.start,value:h}:{type:"invalid",loc:s}}default:return{type:"invalid",loc:s}}}flowEnumMemberRaw(){const s=this.state.startLoc,o=this.parseIdentifier(!0),h=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:s};return{id:o,init:h}}flowEnumCheckExplicitTypeMismatch(s,o,h){const{explicitType:E}=o;E!==null&&E!==h&&this.flowEnumErrorInvalidMemberInitializer(s,o)}flowEnumMembers({enumName:s,explicitType:o}){const h=new Set,E={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let P=!1;for(;!this.match(8);){if(this.eat(21)){P=!0;break}const I=this.startNode(),{id:M,init:D}=this.flowEnumMemberRaw(),B=M.name;if(B==="")continue;/^[a-z]/.test(B)&&this.raise(ce.EnumInvalidMemberName,M,{memberName:B,suggestion:B[0].toUpperCase()+B.slice(1),enumName:s}),h.has(B)&&this.raise(ce.EnumDuplicateMemberName,M,{memberName:B,enumName:s}),h.add(B);const V={enumName:s,explicitType:o,memberName:B};switch(I.id=M,D.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(D.loc,V,"boolean"),I.init=D.value,E.booleanMembers.push(this.finishNode(I,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(D.loc,V,"number"),I.init=D.value,E.numberMembers.push(this.finishNode(I,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(D.loc,V,"string"),I.init=D.value,E.stringMembers.push(this.finishNode(I,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(D.loc,V);case"none":switch(o){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(D.loc,V);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(D.loc,V);break;default:E.defaultedMembers.push(this.finishNode(I,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:E,hasUnknownMembers:P}}flowEnumStringMembers(s,o,{enumName:h}){if(s.length===0)return o;if(o.length===0)return s;if(o.length>s.length){for(const E of s)this.flowEnumErrorStringMemberInconsistentlyInitialized(E,{enumName:h});return o}else{for(const E of o)this.flowEnumErrorStringMemberInconsistentlyInitialized(E,{enumName:h});return s}}flowEnumParseExplicitType({enumName:s}){if(!this.eatContextual(102))return null;if(!ee(this.state.type))throw this.raise(ce.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:s});const{value:o}=this.state;return this.next(),o!=="boolean"&&o!=="number"&&o!=="string"&&o!=="symbol"&&this.raise(ce.EnumInvalidExplicitType,this.state.startLoc,{enumName:s,invalidEnumType:o}),o}flowEnumBody(s,o){const h=o.name,E=o.loc.start,P=this.flowEnumParseExplicitType({enumName:h});this.expect(5);const{members:I,hasUnknownMembers:M}=this.flowEnumMembers({enumName:h,explicitType:P});switch(s.hasUnknownMembers=M,P){case"boolean":return s.explicitType=!0,s.members=I.booleanMembers,this.expect(8),this.finishNode(s,"EnumBooleanBody");case"number":return s.explicitType=!0,s.members=I.numberMembers,this.expect(8),this.finishNode(s,"EnumNumberBody");case"string":return s.explicitType=!0,s.members=this.flowEnumStringMembers(I.stringMembers,I.defaultedMembers,{enumName:h}),this.expect(8),this.finishNode(s,"EnumStringBody");case"symbol":return s.members=I.defaultedMembers,this.expect(8),this.finishNode(s,"EnumSymbolBody");default:{const D=()=>(s.members=[],this.expect(8),this.finishNode(s,"EnumStringBody"));s.explicitType=!1;const B=I.booleanMembers.length,V=I.numberMembers.length,K=I.stringMembers.length,Q=I.defaultedMembers.length;if(!B&&!V&&!K&&!Q)return D();if(!B&&!V)return s.members=this.flowEnumStringMembers(I.stringMembers,I.defaultedMembers,{enumName:h}),this.expect(8),this.finishNode(s,"EnumStringBody");if(!V&&!K&&B>=Q){for(const ae of I.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(ae.loc.start,{enumName:h,memberName:ae.id.name});return s.members=I.booleanMembers,this.expect(8),this.finishNode(s,"EnumBooleanBody")}else if(!B&&!K&&V>=Q){for(const ae of I.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(ae.loc.start,{enumName:h,memberName:ae.id.name});return s.members=I.numberMembers,this.expect(8),this.finishNode(s,"EnumNumberBody")}else return this.raise(ce.EnumInconsistentMemberValues,E,{enumName:h}),D()}}}flowParseEnumDeclaration(s){const o=this.parseIdentifier();return s.id=o,s.body=this.flowEnumBody(this.startNode(),o),this.finishNode(s,"EnumDeclaration")}jsxParseOpeningElementAfterName(s){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(s.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(s)}isLookaheadToken_lt(){const s=this.nextTokenStart();if(this.input.charCodeAt(s)===60){const o=this.input.charCodeAt(s+1);return o!==60&&o!==61}return!1}reScan_lt_gt(){const{type:s}=this.state;s===47?(this.state.pos-=1,this.readToken_lt()):s===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:s}=this.state;return s===51?(this.state.pos-=2,this.finishOp(47,1),47):s}maybeUnwrapTypeCastExpression(s){return s.type==="TypeCastExpression"?s.expression:s}};const hv={__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:"♦"},pv=/\r\n|[\r\n\u2028\u2029]/,ci=new RegExp(pv.source,"g");function jr(w){switch(w){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function mu(w,a,s){for(let o=a;o<s;o++)if(jr(w.charCodeAt(o)))return!0;return!1}const ka=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,La=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function fv(w){switch(w){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}}const yr=S`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:w})=>`Expected corresponding JSX closing tag for <${w}>.`,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:w,HTMLEntity:a})=>`Unexpected token \`${w}\`. Did you mean \`${a}\` or \`{'${w}'}\`?`,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 er(w){return w?w.type==="JSXOpeningFragment"||w.type==="JSXClosingFragment":!1}function Vr(w){if(w.type==="JSXIdentifier")return w.name;if(w.type==="JSXNamespacedName")return w.namespace.name+":"+w.name.name;if(w.type==="JSXMemberExpression")return Vr(w.object)+"."+Vr(w.property);throw new Error("Node had unexpected type: "+w.type)}var dv=w=>class extends w{jsxReadToken(){let s="",o=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(yr.UnterminatedJsxContent,this.state.startLoc);const h=this.input.charCodeAt(this.state.pos);switch(h){case 60:case 123:if(this.state.pos===this.state.start){h===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(h);return}s+=this.input.slice(o,this.state.pos),this.finishToken(142,s);return;case 38:s+=this.input.slice(o,this.state.pos),s+=this.jsxReadEntity(),o=this.state.pos;break;case 62:case 125:default:jr(h)?(s+=this.input.slice(o,this.state.pos),s+=this.jsxReadNewLine(!0),o=this.state.pos):++this.state.pos}}}jsxReadNewLine(s){const o=this.input.charCodeAt(this.state.pos);let h;return++this.state.pos,o===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,h=s?`
|
|
11
|
-
`:`\r
|
|
12
|
-
`):h=String.fromCharCode(o),++this.state.curLine,this.state.lineStart=this.state.pos,h}jsxReadString(s){let o="",h=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(g.UnterminatedString,this.state.startLoc);const E=this.input.charCodeAt(this.state.pos);if(E===s)break;E===38?(o+=this.input.slice(h,this.state.pos),o+=this.jsxReadEntity(),h=this.state.pos):jr(E)?(o+=this.input.slice(h,this.state.pos),o+=this.jsxReadNewLine(!1),h=this.state.pos):++this.state.pos}o+=this.input.slice(h,this.state.pos++),this.finishToken(134,o)}jsxReadEntity(){const s=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let o=10;this.codePointAtPos(this.state.pos)===120&&(o=16,++this.state.pos);const h=this.readInt(o,void 0,!1,"bail");if(h!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(h)}else{let o=0,h=!1;for(;o++<10&&this.state.pos<this.length&&!(h=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(h){const E=this.input.slice(s,this.state.pos),P=hv[E];if(++this.state.pos,P)return P}}return this.state.pos=s,"&"}jsxReadWord(){let s;const o=this.state.pos;do s=this.input.charCodeAt(++this.state.pos);while(qr(s)||s===45);this.finishToken(141,this.input.slice(o,this.state.pos))}jsxParseIdentifier(){const s=this.startNode();return this.match(141)?s.name=this.state.value:We(this.state.type)?s.name=dt(this.state.type):this.unexpected(),this.next(),this.finishNode(s,"JSXIdentifier")}jsxParseNamespacedName(){const s=this.state.startLoc,o=this.jsxParseIdentifier();if(!this.eat(14))return o;const h=this.startNodeAt(s);return h.namespace=o,h.name=this.jsxParseIdentifier(),this.finishNode(h,"JSXNamespacedName")}jsxParseElementName(){const s=this.state.startLoc;let o=this.jsxParseNamespacedName();if(o.type==="JSXNamespacedName")return o;for(;this.eat(16);){const h=this.startNodeAt(s);h.object=o,h.property=this.jsxParseIdentifier(),o=this.finishNode(h,"JSXMemberExpression")}return o}jsxParseAttributeValue(){let s;switch(this.state.type){case 5:return s=this.startNode(),this.setContext(C.brace),this.next(),s=this.jsxParseExpressionContainer(s,C.j_oTag),s.expression.type==="JSXEmptyExpression"&&this.raise(yr.AttributeIsEmpty,s),s;case 143:case 134:return this.parseExprAtom();default:throw this.raise(yr.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const s=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(s,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(s){return this.next(),s.expression=this.parseExpression(),this.setContext(C.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(s,"JSXSpreadChild")}jsxParseExpressionContainer(s,o){if(this.match(8))s.expression=this.jsxParseEmptyExpression();else{const h=this.parseExpression();s.expression=h}return this.setContext(o),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(s,"JSXExpressionContainer")}jsxParseAttribute(){const s=this.startNode();return this.match(5)?(this.setContext(C.brace),this.next(),this.expect(21),s.argument=this.parseMaybeAssignAllowIn(),this.setContext(C.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(s,"JSXSpreadAttribute")):(s.name=this.jsxParseNamespacedName(),s.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(s,"JSXAttribute"))}jsxParseOpeningElementAt(s){const o=this.startNodeAt(s);return this.eat(144)?this.finishNode(o,"JSXOpeningFragment"):(o.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(o))}jsxParseOpeningElementAfterName(s){const o=[];for(;!this.match(56)&&!this.match(144);)o.push(this.jsxParseAttribute());return s.attributes=o,s.selfClosing=this.eat(56),this.expect(144),this.finishNode(s,"JSXOpeningElement")}jsxParseClosingElementAt(s){const o=this.startNodeAt(s);return this.eat(144)?this.finishNode(o,"JSXClosingFragment"):(o.name=this.jsxParseElementName(),this.expect(144),this.finishNode(o,"JSXClosingElement"))}jsxParseElementAt(s){const o=this.startNodeAt(s),h=[],E=this.jsxParseOpeningElementAt(s);let P=null;if(!E.selfClosing){e:for(;;)switch(this.state.type){case 143:if(s=this.state.startLoc,this.next(),this.eat(56)){P=this.jsxParseClosingElementAt(s);break e}h.push(this.jsxParseElementAt(s));break;case 142:h.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{const I=this.startNode();this.setContext(C.brace),this.next(),this.match(21)?h.push(this.jsxParseSpreadChild(I)):h.push(this.jsxParseExpressionContainer(I,C.j_expr));break}default:this.unexpected()}er(E)&&!er(P)&&P!==null?this.raise(yr.MissingClosingTagFragment,P):!er(E)&&er(P)?this.raise(yr.MissingClosingTagElement,P,{openingTagName:Vr(E.name)}):!er(E)&&!er(P)&&Vr(P.name)!==Vr(E.name)&&this.raise(yr.MissingClosingTagElement,P,{openingTagName:Vr(E.name)})}if(er(E)?(o.openingFragment=E,o.closingFragment=P):(o.openingElement=E,o.closingElement=P),o.children=h,this.match(47))throw this.raise(yr.UnwrappedAdjacentJSXElements,this.state.startLoc);return er(E)?this.finishNode(o,"JSXFragment"):this.finishNode(o,"JSXElement")}jsxParseElement(){const s=this.state.startLoc;return this.next(),this.jsxParseElementAt(s)}setContext(s){const{context:o}=this.state;o[o.length-1]=s}parseExprAtom(s){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(s)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(s){const o=this.curContext();if(o===C.j_expr){this.jsxReadToken();return}if(o===C.j_oTag||o===C.j_cTag){if(Vt(s)){this.jsxReadWord();return}if(s===62){++this.state.pos,this.finishToken(144);return}if((s===34||s===39)&&o===C.j_oTag){this.jsxReadString(s);return}}if(s===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(s)}updateContext(s){const{context:o,type:h}=this.state;if(h===56&&s===143)o.splice(-2,2,C.j_cTag),this.state.canStartJSXElement=!1;else if(h===143)o.push(C.j_oTag);else if(h===144){const E=o[o.length-1];E===C.j_oTag&&s===56||E===C.j_cTag?(o.pop(),this.state.canStartJSXElement=o[o.length-1]===C.j_expr):(this.setContext(C.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=xe(h)}};class mv extends Na{constructor(...a){super(...a),this.tsNames=new Map}}class yv extends Oa{constructor(...a){super(...a),this.importsStack=[]}createScope(a){return this.importsStack.push(new Set),new mv(a)}enter(a){a===256&&this.importsStack.push(new Set),super.enter(a)}exit(){const a=super.exit();return a===256&&this.importsStack.pop(),a}hasImport(a,s){const o=this.importsStack.length;if(this.importsStack[o-1].has(a))return!0;if(!s&&o>1){for(let h=0;h<o-1;h++)if(this.importsStack[h].has(a))return!0}return!1}declareName(a,s,o){if(s&4096){this.hasImport(a,!0)&&this.parser.raise(g.VarRedeclaration,o,{identifierName:a}),this.importsStack[this.importsStack.length-1].add(a);return}const h=this.currentScope();let E=h.tsNames.get(a)||0;if(s&1024){this.maybeExportDefined(h,a),h.tsNames.set(a,E|16);return}super.declareName(a,s,o),s&2&&(s&1||(this.checkRedeclarationInScope(h,a,s,o),this.maybeExportDefined(h,a)),E=E|1),s&256&&(E=E|2),s&512&&(E=E|4),s&128&&(E=E|8),E&&h.tsNames.set(a,E)}isRedeclaredInScope(a,s,o){const h=a.tsNames.get(s);if((h&2)>0){if(o&256){const E=!!(o&512),P=(h&4)>0;return E!==P}return!0}return o&128&&(h&8)>0?a.names.get(s)&2?!!(o&1):!1:o&2&&(h&1)>0?!0:super.isRedeclaredInScope(a,s,o)}checkLocalExport(a){const{name:s}=a;if(this.hasImport(s))return;const o=this.scopeStack.length;for(let h=o-1;h>=0;h--){const P=this.scopeStack[h].tsNames.get(s);if((P&1)>0||(P&16)>0)return}super.checkLocalExport(a)}}class gv{constructor(){this.stacks=[]}enter(a){this.stacks.push(a)}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 ui(w,a){return(w?2:0)|(a?1:0)}class vv{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(a){return a+this.startIndex}offsetToSourcePos(a){return a-this.startIndex}hasPlugin(a){if(typeof a=="string")return this.plugins.has(a);{const[s,o]=a;if(!this.hasPlugin(s))return!1;const h=this.plugins.get(s);for(const E of Object.keys(o))if((h==null?void 0:h[E])!==o[E])return!1;return!0}}getPluginOption(a,s){var o;return(o=this.plugins.get(a))==null?void 0:o[s]}}function yu(w,a){w.trailingComments===void 0?w.trailingComments=a:w.trailingComments.unshift(...a)}function Sv(w,a){w.leadingComments===void 0?w.leadingComments=a:w.leadingComments.unshift(...a)}function vs(w,a){w.innerComments===void 0?w.innerComments=a:w.innerComments.unshift(...a)}function gr(w,a,s){let o=null,h=a.length;for(;o===null&&h>0;)o=a[--h];o===null||o.start>s.start?vs(w,s.comments):yu(o,s.comments)}class Ev extends vv{addComment(a){this.filename&&(a.loc.filename=this.filename);const{commentsLen:s}=this.state;this.comments.length!==s&&(this.comments.length=s),this.comments.push(a),this.state.commentsLen++}processComment(a){const{commentStack:s}=this.state,o=s.length;if(o===0)return;let h=o-1;const E=s[h];E.start===a.end&&(E.leadingNode=a,h--);const{start:P}=a;for(;h>=0;h--){const I=s[h],M=I.end;if(M>P)I.containingNode=a,this.finalizeComment(I),s.splice(h,1);else{M===P&&(I.trailingNode=a);break}}}finalizeComment(a){const{comments:s}=a;if(a.leadingNode!==null||a.trailingNode!==null)a.leadingNode!==null&&yu(a.leadingNode,s),a.trailingNode!==null&&Sv(a.trailingNode,s);else{const{containingNode:o,start:h}=a;if(this.input.charCodeAt(this.offsetToSourcePos(h)-1)===44)switch(o.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":gr(o,o.properties,a);break;case"CallExpression":case"OptionalCallExpression":gr(o,o.arguments,a);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":gr(o,o.params,a);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":gr(o,o.elements,a);break;case"ExportNamedDeclaration":case"ImportDeclaration":gr(o,o.specifiers,a);break;case"TSEnumDeclaration":gr(o,o.members,a);break;case"TSEnumBody":gr(o,o.members,a);break;default:vs(o,s)}else vs(o,s)}}finalizeRemainingComments(){const{commentStack:a}=this.state;for(let s=a.length-1;s>=0;s--)this.finalizeComment(a[s]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(a){const{commentStack:s}=this.state,{length:o}=s;if(o===0)return;const h=s[o-1];h.leadingNode===a&&(h.leadingNode=null)}resetPreviousIdentifierLeadingComments(a){const{commentStack:s}=this.state,{length:o}=s;o!==0&&(s[o-1].trailingNode===a?s[o-1].trailingNode=null:o>=2&&s[o-2].trailingNode===a&&(s[o-2].trailingNode=null))}takeSurroundingComments(a,s,o){const{commentStack:h}=this.state,E=h.length;if(E===0)return;let P=E-1;for(;P>=0;P--){const I=h[P],M=I.end;if(I.start===o)I.leadingNode=a;else if(M===s)I.trailingNode=a;else if(M<s)break}}}class Ma{constructor(){this.flags=1024,this.startIndex=void 0,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=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[C.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(a){a?this.flags|=1:this.flags&=-2}init({strictMode:a,sourceType:s,startIndex:o,startLine:h,startColumn:E}){this.strict=a===!1?!1:a===!0?!0:s==="module",this.startIndex=o,this.curLine=h,this.lineStart=-E,this.startLoc=this.endLoc=new e(h,E,o)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(a){a?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(a){a?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(a){a?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(a){a?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(a){a?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(a){a?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(a){a?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(a){a?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(a){a?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(a){a?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(a){a?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(a){a?this.flags|=4096:this.flags&=-4097}curPosition(){return new e(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){const a=new Ma;return a.flags=this.flags,a.startIndex=this.startIndex,a.curLine=this.curLine,a.lineStart=this.lineStart,a.startLoc=this.startLoc,a.endLoc=this.endLoc,a.errors=this.errors.slice(),a.potentialArrowAt=this.potentialArrowAt,a.noArrowAt=this.noArrowAt.slice(),a.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),a.topicContext=this.topicContext,a.labels=this.labels.slice(),a.commentsLen=this.commentsLen,a.commentStack=this.commentStack.slice(),a.pos=this.pos,a.type=this.type,a.value=this.value,a.start=this.start,a.end=this.end,a.lastTokEndLoc=this.lastTokEndLoc,a.lastTokStartLoc=this.lastTokStartLoc,a.context=this.context.slice(),a.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,a.strictErrors=this.strictErrors,a.tokensLength=this.tokensLength,a}}var Tv=function(a){return a>=48&&a<=57};const gu={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},hi={bin:w=>w===48||w===49,oct:w=>w>=48&&w<=55,dec:w=>w>=48&&w<=57,hex:w=>w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102};function vu(w,a,s,o,h,E){const P=s,I=o,M=h;let D="",B=null,V=s;const{length:K}=a;for(;;){if(s>=K){E.unterminated(P,I,M),D+=a.slice(V,s);break}const Q=a.charCodeAt(s);if(wv(w,Q,a,s)){D+=a.slice(V,s);break}if(Q===92){D+=a.slice(V,s);const ae=Pv(a,s,o,h,w==="template",E);ae.ch===null&&!B?B={pos:s,lineStart:o,curLine:h}:D+=ae.ch,{pos:s,lineStart:o,curLine:h}=ae,V=s}else Q===8232||Q===8233?(++s,++h,o=s):Q===10||Q===13?w==="template"?(D+=a.slice(V,s)+`
|
|
13
|
-
`,++s,Q===13&&a.charCodeAt(s)===10&&++s,++h,V=o=s):E.unterminated(P,I,M):++s}return{pos:s,str:D,firstInvalidLoc:B,lineStart:o,curLine:h,containsInvalid:!!B}}function wv(w,a,s,o){return w==="template"?a===96||a===36&&s.charCodeAt(o+1)===123:a===(w==="double"?34:39)}function Pv(w,a,s,o,h,E){const P=!h;a++;const I=D=>({pos:a,ch:D,lineStart:s,curLine:o}),M=w.charCodeAt(a++);switch(M){case 110:return I(`
|
|
14
|
-
`);case 114:return I("\r");case 120:{let D;return{code:D,pos:a}=Ra(w,a,s,o,2,!1,P,E),I(D===null?null:String.fromCharCode(D))}case 117:{let D;return{code:D,pos:a}=Eu(w,a,s,o,P,E),I(D===null?null:String.fromCodePoint(D))}case 116:return I(" ");case 98:return I("\b");case 118:return I("\v");case 102:return I("\f");case 13:w.charCodeAt(a)===10&&++a;case 10:s=a,++o;case 8232:case 8233:return I("");case 56:case 57:if(h)return I(null);E.strictNumericEscape(a-1,s,o);default:if(M>=48&&M<=55){const D=a-1;let V=/^[0-7]+/.exec(w.slice(D,a+2))[0],K=parseInt(V,8);K>255&&(V=V.slice(0,-1),K=parseInt(V,8)),a+=V.length-1;const Q=w.charCodeAt(a);if(V!=="0"||Q===56||Q===57){if(h)return I(null);E.strictNumericEscape(D,s,o)}return I(String.fromCharCode(K))}return I(String.fromCharCode(M))}}function Ra(w,a,s,o,h,E,P,I){const M=a;let D;return{n:D,pos:a}=Su(w,a,s,o,16,h,E,!1,I,!P),D===null&&(P?I.invalidEscapeSequence(M,s,o):a=M-1),{code:D,pos:a}}function Su(w,a,s,o,h,E,P,I,M,D){const B=a,V=h===16?gu.hex:gu.decBinOct,K=h===16?hi.hex:h===10?hi.dec:h===8?hi.oct:hi.bin;let Q=!1,ae=0;for(let me=0,Me=E??1/0;me<Me;++me){const ge=w.charCodeAt(a);let Pe;if(ge===95&&I!=="bail"){const vr=w.charCodeAt(a-1),rr=w.charCodeAt(a+1);if(I){if(Number.isNaN(rr)||!K(rr)||V.has(vr)||V.has(rr)){if(D)return{n:null,pos:a};M.unexpectedNumericSeparator(a,s,o)}}else{if(D)return{n:null,pos:a};M.numericSeparatorInEscapeSequence(a,s,o)}++a;continue}if(ge>=97?Pe=ge-97+10:ge>=65?Pe=ge-65+10:Tv(ge)?Pe=ge-48:Pe=1/0,Pe>=h){if(Pe<=9&&D)return{n:null,pos:a};if(Pe<=9&&M.invalidDigit(a,s,o,h))Pe=0;else if(P)Pe=0,Q=!0;else break}++a,ae=ae*h+Pe}return a===B||E!=null&&a-B!==E||Q?{n:null,pos:a}:{n:ae,pos:a}}function Eu(w,a,s,o,h,E){const P=w.charCodeAt(a);let I;if(P===123){if(++a,{code:I,pos:a}=Ra(w,a,s,o,w.indexOf("}",a)-a,!0,h,E),++a,I!==null&&I>1114111)if(h)E.invalidCodePoint(a,s,o);else return{code:null,pos:a}}else({code:I,pos:a}=Ra(w,a,s,o,4,!1,h,E));return{code:I,pos:a}}function Ss(w,a,s){return new e(s,w-a,w)}const bv=new Set([103,109,115,105,121,117,100,118]);class tr{constructor(a){const s=a.startIndex||0;this.type=a.type,this.value=a.value,this.start=s+a.start,this.end=s+a.end,this.loc=new r(a.startLoc,a.endLoc)}}class _v extends Ev{constructor(a,s){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(o,h,E,P)=>this.optionFlags&2048?(this.raise(g.InvalidDigit,Ss(o,h,E),{radix:P}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(g.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(g.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(g.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(g.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(o,h,E)=>{this.recordStrictModeErrors(g.StrictNumericEscape,Ss(o,h,E))},unterminated:(o,h,E)=>{throw this.raise(g.UnterminatedString,Ss(o-1,h,E))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(g.StrictNumericEscape),unterminated:(o,h,E)=>{throw this.raise(g.UnterminatedTemplate,Ss(o,h,E))}}),this.state=new Ma,this.state.init(a),this.input=s,this.length=s.length,this.comments=[],this.isLookahead=!1}pushToken(a){this.tokens.length=this.state.tokensLength,this.tokens.push(a),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&256&&this.pushToken(new tr(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(a){return this.match(a)?(this.next(),!0):!1}match(a){return this.state.type===a}createLookaheadState(a){return{pos:a.pos,value:null,type:a.type,start:a.start,end:a.end,context:[this.curContext()],inType:a.inType,startLoc:a.startLoc,lastTokEndLoc:a.lastTokEndLoc,curLine:a.curLine,lineStart:a.lineStart,curPosition:a.curPosition}}lookahead(){const a=this.state;this.state=this.createLookaheadState(a),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const s=this.state;return this.state=a,s}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(a){return ka.lastIndex=a,ka.test(this.input)?ka.lastIndex:a}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(a){return this.input.charCodeAt(this.nextTokenStartSince(a))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(a){return La.lastIndex=a,La.test(this.input)?La.lastIndex:a}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(a){let s=this.input.charCodeAt(a);if((s&64512)===55296&&++a<this.input.length){const o=this.input.charCodeAt(a);(o&64512)===56320&&(s=65536+((s&1023)<<10)+(o&1023))}return s}setStrict(a){this.state.strict=a,a&&(this.state.strictErrors.forEach(([s,o])=>this.raise(s,o)),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(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(a){let s;this.isLookahead||(s=this.state.curPosition());const o=this.state.pos,h=this.input.indexOf(a,o+2);if(h===-1)throw this.raise(g.UnterminatedComment,this.state.curPosition());for(this.state.pos=h+a.length,ci.lastIndex=o+2;ci.test(this.input)&&ci.lastIndex<=h;)++this.state.curLine,this.state.lineStart=ci.lastIndex;if(this.isLookahead)return;const E={type:"CommentBlock",value:this.input.slice(o+2,h),start:this.sourceToOffsetPos(o),end:this.sourceToOffsetPos(h+a.length),loc:new r(s,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(E),E}skipLineComment(a){const s=this.state.pos;let o;this.isLookahead||(o=this.state.curPosition());let h=this.input.charCodeAt(this.state.pos+=a);if(this.state.pos<this.length)for(;!jr(h)&&++this.state.pos<this.length;)h=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const E=this.state.pos,I={type:"CommentLine",value:this.input.slice(s+a,E),start:this.sourceToOffsetPos(s),end:this.sourceToOffsetPos(E),loc:new r(o,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(I),I}skipSpace(){const a=this.state.pos,s=this.optionFlags&4096?[]:null;e:for(;this.state.pos<this.length;){const o=this.input.charCodeAt(this.state.pos);switch(o){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 h=this.skipBlockComment("*/");h!==void 0&&(this.addComment(h),s==null||s.push(h));break}case 47:{const h=this.skipLineComment(2);h!==void 0&&(this.addComment(h),s==null||s.push(h));break}default:break e}break;default:if(fv(o))++this.state.pos;else if(o===45&&!this.inModule&&this.optionFlags&8192){const h=this.state.pos;if(this.input.charCodeAt(h+1)===45&&this.input.charCodeAt(h+2)===62&&(a===0||this.state.lineStart>a)){const E=this.skipLineComment(3);E!==void 0&&(this.addComment(E),s==null||s.push(E))}else break e}else if(o===60&&!this.inModule&&this.optionFlags&8192){const h=this.state.pos;if(this.input.charCodeAt(h+1)===33&&this.input.charCodeAt(h+2)===45&&this.input.charCodeAt(h+3)===45){const E=this.skipLineComment(4);E!==void 0&&(this.addComment(E),s==null||s.push(E))}else break e}else break e}}if((s==null?void 0:s.length)>0){const o=this.state.pos,h={start:this.sourceToOffsetPos(a),end:this.sourceToOffsetPos(o),comments:s,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(h)}}finishToken(a,s){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const o=this.state.type;this.state.type=a,this.state.value=s,this.isLookahead||this.updateContext(o)}replaceToken(a){this.state.type=a,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;const a=this.state.pos+1,s=this.codePointAtPos(a);if(s>=48&&s<=57)throw this.raise(g.UnexpectedDigitAfterHash,this.state.curPosition());if(s===123||s===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(s===123?g.RecordExpressionHashIncorrectStartSyntaxType:g.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,s===123?this.finishToken(7):this.finishToken(1)}else Vt(s)?(++this.state.pos,this.finishToken(139,this.readWord1(s))):s===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const a=this.input.charCodeAt(this.state.pos+1);if(a>=48&&a<=57){this.readNumber(!0);return}a===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 a=this.input.charCodeAt(this.state.pos+1);if(a!==33)return!1;const s=this.state.pos;for(this.state.pos+=1;!jr(a)&&++this.state.pos<this.length;)a=this.input.charCodeAt(this.state.pos);const o=this.input.slice(s+2,this.state.pos);return this.finishToken(28,o),!0}readToken_mult_modulo(a){let s=a===42?55:54,o=1,h=this.input.charCodeAt(this.state.pos+1);a===42&&h===42&&(o++,h=this.input.charCodeAt(this.state.pos+2),s=57),h===61&&!this.state.inType&&(o++,s=a===37?33:30),this.finishOp(s,o)}readToken_pipe_amp(a){const s=this.input.charCodeAt(this.state.pos+1);if(s===a){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(a===124?41:42,2);return}if(a===124){if(s===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&s===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(g.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&s===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(g.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(s===61){this.finishOp(30,2);return}this.finishOp(a===124?43:45,1)}readToken_caret(){const a=this.input.charCodeAt(this.state.pos+1);a===61&&!this.state.inType?this.finishOp(32,2):a===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(a){const s=this.input.charCodeAt(this.state.pos+1);if(s===a){this.finishOp(34,2);return}s===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){const{pos:a}=this.state,s=this.input.charCodeAt(a+1);if(s===60){if(this.input.charCodeAt(a+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(s===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){const{pos:a}=this.state,s=this.input.charCodeAt(a+1);if(s===62){const o=this.input.charCodeAt(a+2)===62?3:2;if(this.input.charCodeAt(a+o)===61){this.finishOp(30,o+1);return}this.finishOp(52,o);return}if(s===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(a){const s=this.input.charCodeAt(this.state.pos+1);if(s===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(a===61&&s===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(a===61?29:35,1)}readToken_question(){const a=this.input.charCodeAt(this.state.pos+1),s=this.input.charCodeAt(this.state.pos+2);a===63?s===61?this.finishOp(30,3):this.finishOp(40,2):a===46&&!(s>=48&&s<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(a){switch(a){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(g.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(g.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 s=this.input.charCodeAt(this.state.pos+1);if(s===120||s===88){this.readRadixNumber(16);return}if(s===111||s===79){this.readRadixNumber(8);return}if(s===98||s===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(a);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(a);return;case 124:case 38:this.readToken_pipe_amp(a);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(a);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(a);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(Vt(a)){this.readWord(a);return}}throw this.raise(g.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(a)})}finishOp(a,s){const o=this.input.slice(this.state.pos,this.state.pos+s);this.state.pos+=s,this.finishToken(a,o)}readRegexp(){const a=this.state.startLoc,s=this.state.start+1;let o,h,{pos:E}=this.state;for(;;++E){if(E>=this.length)throw this.raise(g.UnterminatedRegExp,i(a,1));const D=this.input.charCodeAt(E);if(jr(D))throw this.raise(g.UnterminatedRegExp,i(a,1));if(o)o=!1;else{if(D===91)h=!0;else if(D===93&&h)h=!1;else if(D===47&&!h)break;o=D===92}}const P=this.input.slice(s,E);++E;let I="";const M=()=>i(a,E+2-s);for(;E<this.length;){const D=this.codePointAtPos(E),B=String.fromCharCode(D);if(bv.has(D))D===118?I.includes("u")&&this.raise(g.IncompatibleRegExpUVFlags,M()):D===117&&I.includes("v")&&this.raise(g.IncompatibleRegExpUVFlags,M()),I.includes(B)&&this.raise(g.DuplicateRegExpFlags,M());else if(qr(D)||D===92)this.raise(g.MalformedRegExpFlags,M());else break;++E,I+=B}this.state.pos=E,this.finishToken(138,{pattern:P,flags:I})}readInt(a,s,o=!1,h=!0){const{n:E,pos:P}=Su(this.input,this.state.pos,this.state.lineStart,this.state.curLine,a,s,o,h,this.errorHandlers_readInt,!1);return this.state.pos=P,E}readRadixNumber(a){const s=this.state.pos,o=this.state.curPosition();let h=!1;this.state.pos+=2;const E=this.readInt(a);E==null&&this.raise(g.InvalidDigit,i(o,2),{radix:a});const P=this.input.charCodeAt(this.state.pos);if(P===110)++this.state.pos,h=!0;else if(P===109)throw this.raise(g.InvalidDecimal,o);if(Vt(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,this.state.curPosition());if(h){const I=this.input.slice(s,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,I);return}this.finishToken(135,E)}readNumber(a){const s=this.state.pos,o=this.state.curPosition();let h=!1,E=!1,P=!1,I=!1;!a&&this.readInt(10)===null&&this.raise(g.InvalidNumber,this.state.curPosition());const M=this.state.pos-s>=2&&this.input.charCodeAt(s)===48;if(M){const Q=this.input.slice(s,this.state.pos);if(this.recordStrictModeErrors(g.StrictOctalLiteral,o),!this.state.strict){const ae=Q.indexOf("_");ae>0&&this.raise(g.ZeroDigitNumericSeparator,i(o,ae))}I=M&&!/[89]/.test(Q)}let D=this.input.charCodeAt(this.state.pos);if(D===46&&!I&&(++this.state.pos,this.readInt(10),h=!0,D=this.input.charCodeAt(this.state.pos)),(D===69||D===101)&&!I&&(D=this.input.charCodeAt(++this.state.pos),(D===43||D===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(g.InvalidOrMissingExponent,o),h=!0,P=!0,D=this.input.charCodeAt(this.state.pos)),D===110&&((h||M)&&this.raise(g.InvalidBigIntLiteral,o),++this.state.pos,E=!0),D===109){this.expectPlugin("decimal",this.state.curPosition()),(P||M)&&this.raise(g.InvalidDecimal,o),++this.state.pos;var B=!0}if(Vt(this.codePointAtPos(this.state.pos)))throw this.raise(g.NumberIdentifier,this.state.curPosition());const V=this.input.slice(s,this.state.pos).replace(/[_mn]/g,"");if(E){this.finishToken(136,V);return}if(B){this.finishToken(137,V);return}const K=I?parseInt(V,8):parseFloat(V);this.finishToken(135,K)}readCodePoint(a){const{code:s,pos:o}=Eu(this.input,this.state.pos,this.state.lineStart,this.state.curLine,a,this.errorHandlers_readCodePoint);return this.state.pos=o,s}readString(a){const{str:s,pos:o,curLine:h,lineStart:E}=vu(a===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=o+1,this.state.lineStart=E,this.state.curLine=h,this.finishToken(134,s)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const a=this.input[this.state.pos],{str:s,firstInvalidLoc:o,pos:h,curLine:E,lineStart:P}=vu("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=h+1,this.state.lineStart=P,this.state.curLine=E,o&&(this.state.firstInvalidTemplateEscapePos=new e(o.curLine,o.pos-o.lineStart,this.sourceToOffsetPos(o.pos))),this.input.codePointAt(h)===96?this.finishToken(24,o?null:a+s+"`"):(this.state.pos++,this.finishToken(25,o?null:a+s+"${"))}recordStrictModeErrors(a,s){const o=s.index;this.state.strict&&!this.state.strictErrors.has(o)?this.raise(a,s):this.state.strictErrors.set(o,[a,s])}readWord1(a){this.state.containsEsc=!1;let s="";const o=this.state.pos;let h=this.state.pos;for(a!==void 0&&(this.state.pos+=a<=65535?1:2);this.state.pos<this.length;){const E=this.codePointAtPos(this.state.pos);if(qr(E))this.state.pos+=E<=65535?1:2;else if(E===92){this.state.containsEsc=!0,s+=this.input.slice(h,this.state.pos);const P=this.state.curPosition(),I=this.state.pos===o?Vt:qr;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(g.MissingUnicodeEscape,this.state.curPosition()),h=this.state.pos-1;continue}++this.state.pos;const M=this.readCodePoint(!0);M!==null&&(I(M)||this.raise(g.EscapedCharNotAnIdentifier,P),s+=String.fromCodePoint(M)),h=this.state.pos}else break}return s+this.input.slice(h,this.state.pos)}readWord(a){const s=this.readWord1(a),o=ie.get(s);o!==void 0?this.finishToken(o,dt(o)):this.finishToken(132,s)}checkKeywordEscapes(){const{type:a}=this.state;We(a)&&this.state.containsEsc&&this.raise(g.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:dt(a)})}raise(a,s,o={}){const h=s instanceof e?s:s.loc.start,E=a(h,o);if(!(this.optionFlags&2048))throw E;return this.isLookahead||this.state.errors.push(E),E}raiseOverwrite(a,s,o={}){const h=s instanceof e?s:s.loc.start,E=h.index,P=this.state.errors;for(let I=P.length-1;I>=0;I--){const M=P[I];if(M.loc.index===E)return P[I]=a(h,o);if(M.loc.index<E)break}return this.raise(a,s,o)}updateContext(a){}unexpected(a,s){throw this.raise(g.UnexpectedToken,a??this.state.startLoc,{expected:s?dt(s):null})}expectPlugin(a,s){if(this.hasPlugin(a))return!0;throw this.raise(g.MissingPlugin,s??this.state.startLoc,{missingPlugin:[a]})}expectOnePlugin(a){if(!a.some(s=>this.hasPlugin(s)))throw this.raise(g.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:a})}errorBuilder(a){return(s,o,h)=>{this.raise(a,Ss(s,o,h))}}}class xv{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Av{constructor(a){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=a}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new xv)}exit(){const a=this.stack.pop(),s=this.current();for(const[o,h]of Array.from(a.undefinedPrivateNames))s?s.undefinedPrivateNames.has(o)||s.undefinedPrivateNames.set(o,h):this.parser.raise(g.InvalidPrivateFieldResolution,h,{identifierName:o})}declarePrivateName(a,s,o){const{privateNames:h,loneAccessors:E,undefinedPrivateNames:P}=this.current();let I=h.has(a);if(s&3){const M=I&&E.get(a);if(M){const D=M&4,B=s&4,V=M&3,K=s&3;I=V===K||D!==B,I||E.delete(a)}else I||E.set(a,s)}I&&this.parser.raise(g.PrivateNameRedeclaration,o,{identifierName:a}),h.add(a),P.delete(a)}usePrivateName(a,s){let o;for(o of this.stack)if(o.privateNames.has(a))return;o?o.undefinedPrivateNames.set(a,s):this.parser.raise(g.InvalidPrivateFieldResolution,s,{identifierName:a})}}class pi{constructor(a=0){this.type=a}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class Tu extends pi{constructor(a){super(a),this.declarationErrors=new Map}recordDeclarationError(a,s){const o=s.index;this.declarationErrors.set(o,[a,s])}clearDeclarationError(a){this.declarationErrors.delete(a)}iterateErrors(a){this.declarationErrors.forEach(a)}}class Cv{constructor(a){this.parser=void 0,this.stack=[new pi],this.parser=a}enter(a){this.stack.push(a)}exit(){this.stack.pop()}recordParameterInitializerError(a,s){const o=s.loc.start,{stack:h}=this;let E=h.length-1,P=h[E];for(;!P.isCertainlyParameterDeclaration();){if(P.canBeArrowParameterDeclaration())P.recordDeclarationError(a,o);else return;P=h[--E]}this.parser.raise(a,o)}recordArrowParameterBindingError(a,s){const{stack:o}=this,h=o[o.length-1],E=s.loc.start;if(h.isCertainlyParameterDeclaration())this.parser.raise(a,E);else if(h.canBeArrowParameterDeclaration())h.recordDeclarationError(a,E);else return}recordAsyncArrowParametersError(a){const{stack:s}=this;let o=s.length-1,h=s[o];for(;h.canBeArrowParameterDeclaration();)h.type===2&&h.recordDeclarationError(g.AwaitBindingIdentifier,a),h=s[--o]}validateAsPattern(){const{stack:a}=this,s=a[a.length-1];s.canBeArrowParameterDeclaration()&&s.iterateErrors(([o,h])=>{this.parser.raise(o,h);let E=a.length-2,P=a[E];for(;P.canBeArrowParameterDeclaration();)P.clearDeclarationError(h.index),P=a[--E]})}}function Iv(){return new pi(3)}function Nv(){return new Tu(1)}function Ov(){return new Tu(2)}function wu(){return new pi}class kv extends _v{addExtra(a,s,o,h=!0){if(!a)return;let{extra:E}=a;E==null&&(E={},a.extra=E),h?E[s]=o:Object.defineProperty(E,s,{enumerable:h,value:o})}isContextual(a){return this.state.type===a&&!this.state.containsEsc}isUnparsedContextual(a,s){const o=a+s.length;if(this.input.slice(a,o)===s){const h=this.input.charCodeAt(o);return!(qr(h)||(h&64512)===55296)}return!1}isLookaheadContextual(a){const s=this.nextTokenStart();return this.isUnparsedContextual(s,a)}eatContextual(a){return this.isContextual(a)?(this.next(),!0):!1}expectContextual(a,s){if(!this.eatContextual(a)){if(s!=null)throw this.raise(s,this.state.startLoc);this.unexpected(null,a)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return mu(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return mu(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(a=!0){(a?this.isLineTerminator():this.eat(13))||this.raise(g.MissingSemicolon,this.state.lastTokEndLoc)}expect(a,s){this.eat(a)||this.unexpected(s,a)}tryParse(a,s=this.state.clone()){const o={node:null};try{const h=a((E=null)=>{throw o.node=E,o});if(this.state.errors.length>s.errors.length){const E=this.state;return this.state=s,this.state.tokensLength=E.tokensLength,{node:h,error:E.errors[s.errors.length],thrown:!1,aborted:!1,failState:E}}return{node:h,error:null,thrown:!1,aborted:!1,failState:null}}catch(h){const E=this.state;if(this.state=s,h instanceof SyntaxError)return{node:null,error:h,thrown:!0,aborted:!1,failState:E};if(h===o)return{node:o.node,error:null,thrown:!1,aborted:!0,failState:E};throw h}}checkExpressionErrors(a,s){if(!a)return!1;const{shorthandAssignLoc:o,doubleProtoLoc:h,privateKeyLoc:E,optionalParametersLoc:P}=a,I=!!o||!!h||!!P||!!E;if(!s)return I;o!=null&&this.raise(g.InvalidCoverInitializedName,o),h!=null&&this.raise(g.DuplicateProto,h),E!=null&&this.raise(g.UnexpectedPrivateField,E),P!=null&&this.unexpected(P)}isLiteralPropertyName(){return ye(this.state.type)}isPrivateName(a){return a.type==="PrivateName"}getPrivateNameSV(a){return a.id.name}hasPropertyAsPrivateName(a){return(a.type==="MemberExpression"||a.type==="OptionalMemberExpression")&&this.isPrivateName(a.property)}isObjectProperty(a){return a.type==="ObjectProperty"}isObjectMethod(a){return a.type==="ObjectMethod"}initializeScopes(a=this.options.sourceType==="module"){const s=this.state.labels;this.state.labels=[];const o=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const h=this.inModule;this.inModule=a;const E=this.scope,P=this.getScopeHandler();this.scope=new P(this,a);const I=this.prodParam;this.prodParam=new gv;const M=this.classScope;this.classScope=new Av(this);const D=this.expressionScope;return this.expressionScope=new Cv(this),()=>{this.state.labels=s,this.exportedIdentifiers=o,this.inModule=h,this.scope=E,this.prodParam=I,this.classScope=M,this.expressionScope=D}}enterInitialScopes(){let a=0;this.inModule&&(a|=2),this.optionFlags&32&&(a|=1),this.scope.enter(1),this.prodParam.enter(a)}checkDestructuringPrivate(a){const{privateKeyLoc:s}=a;s!==null&&this.expectPlugin("destructuringPrivate",s)}}class fi{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class di{constructor(a,s,o){this.type="",this.start=s,this.end=0,this.loc=new r(o),(a==null?void 0:a.optionFlags)&128&&(this.range=[s,0]),a!=null&&a.filename&&(this.loc.filename=a.filename)}}const Da=di.prototype;Da.__clone=function(){const w=new di(void 0,this.start,this.loc.start),a=Object.keys(this);for(let s=0,o=a.length;s<o;s++){const h=a[s];h!=="leadingComments"&&h!=="trailingComments"&&h!=="innerComments"&&(w[h]=this[h])}return w};class Lv extends kv{startNode(){const a=this.state.startLoc;return new di(this,a.index,a)}startNodeAt(a){return new di(this,a.index,a)}startNodeAtNode(a){return this.startNodeAt(a.loc.start)}finishNode(a,s){return this.finishNodeAt(a,s,this.state.lastTokEndLoc)}finishNodeAt(a,s,o){return a.type=s,a.end=o.index,a.loc.end=o,this.optionFlags&128&&(a.range[1]=o.index),this.optionFlags&4096&&this.processComment(a),a}resetStartLocation(a,s){a.start=s.index,a.loc.start=s,this.optionFlags&128&&(a.range[0]=s.index)}resetEndLocation(a,s=this.state.lastTokEndLoc){a.end=s.index,a.loc.end=s,this.optionFlags&128&&(a.range[1]=s.index)}resetStartLocationFromNode(a,s){this.resetStartLocation(a,s.loc.start)}castNodeTo(a,s){return a.type=s,a}cloneIdentifier(a){const{type:s,start:o,end:h,loc:E,range:P,name:I}=a,M=Object.create(Da);return M.type=s,M.start=o,M.end=h,M.loc=E,M.range=P,M.name=I,a.extra&&(M.extra=a.extra),M}cloneStringLiteral(a){const{type:s,start:o,end:h,loc:E,range:P,extra:I}=a,M=Object.create(Da);return M.type=s,M.start=o,M.end=h,M.loc=E,M.range=P,M.extra=I,M.value=a.value,M}}const Pu=w=>w.type==="ParenthesizedExpression"?Pu(w.expression):w;class Mv extends Lv{toAssignable(a,s=!1){var o,h;let E;switch((a.type==="ParenthesizedExpression"||(o=a.extra)!=null&&o.parenthesized)&&(E=Pu(a),s?E.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(g.InvalidParenthesizedAssignment,a):E.type!=="MemberExpression"&&!this.isOptionalMemberExpression(E)&&this.raise(g.InvalidParenthesizedAssignment,a):this.raise(g.InvalidParenthesizedAssignment,a)),a.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":this.castNodeTo(a,"ObjectPattern");for(let I=0,M=a.properties.length,D=M-1;I<M;I++){var P;const B=a.properties[I],V=I===D;this.toAssignableObjectExpressionProp(B,V,s),V&&B.type==="RestElement"&&(P=a.extra)!=null&&P.trailingCommaLoc&&this.raise(g.RestTrailingComma,a.extra.trailingCommaLoc)}break;case"ObjectProperty":{const{key:I,value:M}=a;this.isPrivateName(I)&&this.classScope.usePrivateName(this.getPrivateNameSV(I),I.loc.start),this.toAssignable(M,s);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":this.castNodeTo(a,"ArrayPattern"),this.toAssignableList(a.elements,(h=a.extra)==null?void 0:h.trailingCommaLoc,s);break;case"AssignmentExpression":a.operator!=="="&&this.raise(g.MissingEqInAssignment,a.left.loc.end),this.castNodeTo(a,"AssignmentPattern"),delete a.operator,this.toAssignable(a.left,s);break;case"ParenthesizedExpression":this.toAssignable(E,s);break}}toAssignableObjectExpressionProp(a,s,o){if(a.type==="ObjectMethod")this.raise(a.kind==="get"||a.kind==="set"?g.PatternHasAccessor:g.PatternHasMethod,a.key);else if(a.type==="SpreadElement"){this.castNodeTo(a,"RestElement");const h=a.argument;this.checkToRestConversion(h,!1),this.toAssignable(h,o),s||this.raise(g.RestTrailingComma,a)}else this.toAssignable(a,o)}toAssignableList(a,s,o){const h=a.length-1;for(let E=0;E<=h;E++){const P=a[E];P&&(this.toAssignableListItem(a,E,o),P.type==="RestElement"&&(E<h?this.raise(g.RestTrailingComma,P):s&&this.raise(g.RestTrailingComma,s)))}}toAssignableListItem(a,s,o){const h=a[s];if(h.type==="SpreadElement"){this.castNodeTo(h,"RestElement");const E=h.argument;this.checkToRestConversion(E,!0),this.toAssignable(E,o)}else this.toAssignable(h,o)}isAssignable(a,s){switch(a.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const o=a.properties.length-1;return a.properties.every((h,E)=>h.type!=="ObjectMethod"&&(E===o||h.type!=="SpreadElement")&&this.isAssignable(h))}case"ObjectProperty":return this.isAssignable(a.value);case"SpreadElement":return this.isAssignable(a.argument);case"ArrayExpression":return a.elements.every(o=>o===null||this.isAssignable(o));case"AssignmentExpression":return a.operator==="=";case"ParenthesizedExpression":return this.isAssignable(a.expression);case"MemberExpression":case"OptionalMemberExpression":return!s;default:return!1}}toReferencedList(a,s){return a}toReferencedListDeep(a,s){this.toReferencedList(a,s);for(const o of a)(o==null?void 0:o.type)==="ArrayExpression"&&this.toReferencedListDeep(o.elements)}parseSpread(a){const s=this.startNode();return this.next(),s.argument=this.parseMaybeAssignAllowIn(a,void 0),this.finishNode(s,"SpreadElement")}parseRestBinding(){const a=this.startNode();return this.next(),a.argument=this.parseBindingAtom(),this.finishNode(a,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const a=this.startNode();return this.next(),a.elements=this.parseBindingList(3,93,1),this.finishNode(a,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(a,s,o){const h=o&1,E=[];let P=!0;for(;!this.eat(a);)if(P?P=!1:this.expect(12),h&&this.match(12))E.push(null);else{if(this.eat(a))break;if(this.match(21)){let I=this.parseRestBinding();if((this.hasPlugin("flow")||o&2)&&(I=this.parseFunctionParamType(I)),E.push(I),!this.checkCommaAfterRest(s)){this.expect(a);break}}else{const I=[];if(o&2)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(g.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)I.push(this.parseDecorator());E.push(this.parseBindingElement(o,I))}}return E}parseBindingRestProperty(a){return this.next(),a.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(a,"RestElement")}parseBindingProperty(){const{type:a,startLoc:s}=this.state;if(a===21)return this.parseBindingRestProperty(this.startNode());const o=this.startNode();return a===139?(this.expectPlugin("destructuringPrivate",s),this.classScope.usePrivateName(this.state.value,s),o.key=this.parsePrivateName()):this.parsePropertyName(o),o.method=!1,this.parseObjPropValue(o,s,!1,!1,!0,!1)}parseBindingElement(a,s){const o=this.parseMaybeDefault();return(this.hasPlugin("flow")||a&2)&&this.parseFunctionParamType(o),s.length&&(o.decorators=s,this.resetStartLocationFromNode(o,s[0])),this.parseMaybeDefault(o.loc.start,o)}parseFunctionParamType(a){return a}parseMaybeDefault(a,s){if(a??(a=this.state.startLoc),s=s??this.parseBindingAtom(),!this.eat(29))return s;const o=this.startNodeAt(a);return o.left=s,o.right=this.parseMaybeAssignAllowIn(),this.finishNode(o,"AssignmentPattern")}isValidLVal(a,s,o){switch(a){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(a){return a.type==="OptionalMemberExpression"}checkLVal(a,s,o=64,h=!1,E=!1,P=!1){var I;const M=a.type;if(this.isObjectMethod(a))return;const D=this.isOptionalMemberExpression(a);if(D||M==="MemberExpression"){D&&(this.expectPlugin("optionalChainingAssign",a.loc.start),s.type!=="AssignmentExpression"&&this.raise(g.InvalidLhsOptionalChaining,a,{ancestor:s})),o!==64&&this.raise(g.InvalidPropertyBindingPattern,a);return}if(M==="Identifier"){this.checkIdentifier(a,o,E);const{name:me}=a;h&&(h.has(me)?this.raise(g.ParamDupe,a):h.add(me));return}const B=this.isValidLVal(M,!(P||(I=a.extra)!=null&&I.parenthesized)&&s.type==="AssignmentExpression",o);if(B===!0)return;if(B===!1){const me=o===64?g.InvalidLhs:g.InvalidLhsBinding;this.raise(me,a,{ancestor:s});return}let V,K;typeof B=="string"?(V=B,K=M==="ParenthesizedExpression"):[V,K]=B;const Q=M==="ArrayPattern"||M==="ObjectPattern"?{type:M}:s,ae=a[V];if(Array.isArray(ae))for(const me of ae)me&&this.checkLVal(me,Q,o,h,E,K);else ae&&this.checkLVal(ae,Q,o,h,E,K)}checkIdentifier(a,s,o=!1){this.state.strict&&(o?fu(a.name,this.inModule):pu(a.name))&&(s===64?this.raise(g.StrictEvalArguments,a,{referenceName:a.name}):this.raise(g.StrictEvalArgumentsBinding,a,{bindingName:a.name})),s&8192&&a.name==="let"&&this.raise(g.LetInLexicalBinding,a),s&64||this.declareNameFromIdentifier(a,s)}declareNameFromIdentifier(a,s){this.scope.declareName(a.name,s,a.loc.start)}checkToRestConversion(a,s){switch(a.type){case"ParenthesizedExpression":this.checkToRestConversion(a.expression,s);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(s)break;default:this.raise(g.InvalidRestAssignmentPattern,a)}}checkCommaAfterRest(a){return this.match(12)?(this.raise(this.lookaheadCharCode()===a?g.RestTrailingComma:g.ElementAfterRest,this.state.startLoc),!0):!1}}function Rv(w){if(w==null)throw new Error(`Unexpected ${w} value.`);return w}function bu(w){if(!w)throw new Error("Assert fail")}const le=S`typescript`({AbstractMethodHasImplementation:({methodName:w})=>`Method '${w}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:w})=>`Property '${w}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"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:w})=>`'declare' is not allowed in ${w}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:w})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:w})=>`Duplicate modifier: '${w}'.`,EmptyHeritageClauseType:({token:w})=>`'${w}' 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:w})=>`'${w[0]}' modifier cannot be used with '${w[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:w})=>`Index signatures cannot have an accessibility modifier ('${w}').`,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.",InvalidHeritageClauseType:({token:w})=>`'${w}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnTypeMember:({modifier:w})=>`'${w}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:w})=>`'${w}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:w})=>`'${w}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:w})=>`'${w[0]}' modifier must precede '${w[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:w})=>`Private elements cannot have an accessibility modifier ('${w}').`,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.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:w})=>`Single type parameter ${w} should have a trailing comma. Example usage: <${w},>.`,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:w})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${w}.`});function Dv(w){switch(w){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 _u(w){return w==="private"||w==="public"||w==="protected"}function Fv(w){return w==="in"||w==="out"}var Bv=w=>class extends w{constructor(...s){super(...s),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:le.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:le.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:le.InvalidModifierOnTypeParameter})}getScopeHandler(){return yv}tsIsIdentifier(){return ee(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),this.hasPrecedingLineBreak()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(s,o){if(!ee(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;const h=this.state.value;if(s.includes(h)){if(o&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return h}}tsParseModifiers({allowedModifiers:s,disallowedModifiers:o,stopOnStartOfClassStaticBlock:h,errorTemplate:E=le.InvalidModifierOnTypeMember},P){const I=(D,B,V,K)=>{B===V&&P[K]&&this.raise(le.InvalidModifiersOrder,D,{orderedModifiers:[V,K]})},M=(D,B,V,K)=>{(P[V]&&B===K||P[K]&&B===V)&&this.raise(le.IncompatibleModifiers,D,{modifiers:[V,K]})};for(;;){const{startLoc:D}=this.state,B=this.tsParseModifier(s.concat(o??[]),h);if(!B)break;_u(B)?P.accessibility?this.raise(le.DuplicateAccessibilityModifier,D,{modifier:B}):(I(D,B,B,"override"),I(D,B,B,"static"),I(D,B,B,"readonly"),P.accessibility=B):Fv(B)?(P[B]&&this.raise(le.DuplicateModifier,D,{modifier:B}),P[B]=!0,I(D,B,"in","out")):(hasOwnProperty.call(P,B)?this.raise(le.DuplicateModifier,D,{modifier:B}):(I(D,B,"static","readonly"),I(D,B,"static","override"),I(D,B,"override","readonly"),I(D,B,"abstract","override"),M(D,B,"declare","override"),M(D,B,"static","abstract")),P[B]=!0),o!=null&&o.includes(B)&&this.raise(E,D,{modifier:B})}}tsIsListTerminator(s){switch(s){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(s,o){const h=[];for(;!this.tsIsListTerminator(s);)h.push(o());return h}tsParseDelimitedList(s,o,h){return Rv(this.tsParseDelimitedListWorker(s,o,!0,h))}tsParseDelimitedListWorker(s,o,h,E){const P=[];let I=-1;for(;!this.tsIsListTerminator(s);){I=-1;const M=o();if(M==null)return;if(P.push(M),this.eat(12)){I=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(s))break;h&&this.expect(12);return}return E&&(E.value=I),P}tsParseBracketedList(s,o,h,E,P){E||(h?this.expect(0):this.expect(47));const I=this.tsParseDelimitedList(s,o,P);return h?this.expect(3):this.expect(48),I}tsParseImportType(){const s=this.startNode();return this.expect(83),this.expect(10),this.match(134)?s.argument=this.parseStringLiteral(this.state.value):(this.raise(le.UnsupportedImportTypeArgument,this.state.startLoc),s.argument=super.parseExprAtom()),this.eat(12)?s.options=this.tsParseImportTypeOptions():s.options=null,this.expect(11),this.eat(16)&&(s.qualifier=this.tsParseEntityName(3)),this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSImportType")}tsParseImportTypeOptions(){const s=this.startNode();this.expect(5);const o=this.startNode();return this.isContextual(76)?(o.method=!1,o.key=this.parseIdentifier(!0),o.computed=!1,o.shorthand=!1):this.unexpected(null,76),this.expect(14),o.value=this.tsParseImportTypeWithPropertyValue(),s.properties=[this.finishObjectProperty(o)],this.expect(8),this.finishNode(s,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){const s=this.startNode(),o=[];for(this.expect(5);!this.match(8);){const h=this.state.type;ee(h)||h===134?o.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return s.properties=o,this.next(),this.finishNode(s,"ObjectExpression")}tsParseEntityName(s){let o;if(s&1&&this.match(78))if(s&2)o=this.parseIdentifier(!0);else{const h=this.startNode();this.next(),o=this.finishNode(h,"ThisExpression")}else o=this.parseIdentifier(!!(s&1));for(;this.eat(16);){const h=this.startNodeAtNode(o);h.left=o,h.right=this.parseIdentifier(!!(s&1)),o=this.finishNode(h,"TSQualifiedName")}return o}tsParseTypeReference(){const s=this.startNode();return s.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSTypeReference")}tsParseThisTypePredicate(s){this.next();const o=this.startNodeAtNode(s);return o.parameterName=s,o.typeAnnotation=this.tsParseTypeAnnotation(!1),o.asserts=!1,this.finishNode(o,"TSTypePredicate")}tsParseThisTypeNode(){const s=this.startNode();return this.next(),this.finishNode(s,"TSThisType")}tsParseTypeQuery(){const s=this.startNode();return this.expect(87),this.match(83)?s.exprName=this.tsParseImportType():s.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(s.typeParameters=this.tsParseTypeArguments()),this.finishNode(s,"TSTypeQuery")}tsParseTypeParameter(s){const o=this.startNode();return s(o),o.name=this.tsParseTypeParameterName(),o.constraint=this.tsEatThenParseType(81),o.default=this.tsEatThenParseType(29),this.finishNode(o,"TSTypeParameter")}tsTryParseTypeParameters(s){if(this.match(47))return this.tsParseTypeParameters(s)}tsParseTypeParameters(s){const o=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();const h={value:-1};return o.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,s),!1,!0,h),o.params.length===0&&this.raise(le.EmptyTypeParameters,o),h.value!==-1&&this.addExtra(o,"trailingComma",h.value),this.finishNode(o,"TSTypeParameterDeclaration")}tsFillSignature(s,o){const h=s===19,E="parameters",P="typeAnnotation";o.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),o[E]=this.tsParseBindingListForSignature(),h?o[P]=this.tsParseTypeOrTypePredicateAnnotation(s):this.match(s)&&(o[P]=this.tsParseTypeOrTypePredicateAnnotation(s))}tsParseBindingListForSignature(){const s=super.parseBindingList(11,41,2);for(const o of s){const{type:h}=o;(h==="AssignmentPattern"||h==="TSParameterProperty")&&this.raise(le.UnsupportedSignatureParameterKind,o,{type:h})}return s}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(s,o){return this.tsFillSignature(14,o),this.tsParseTypeMemberSemicolon(),this.finishNode(o,s)}tsIsUnambiguouslyIndexSignature(){return this.next(),ee(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(s){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);const o=this.parseIdentifier();o.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(o),this.expect(3),s.parameters=[o];const h=this.tsTryParseTypeAnnotation();return h&&(s.typeAnnotation=h),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSIndexSignature")}tsParsePropertyOrMethodSignature(s,o){if(this.eat(17)&&(s.optional=!0),this.match(10)||this.match(47)){o&&this.raise(le.ReadonlyForMethodSignature,s);const h=s;h.kind&&this.match(47)&&this.raise(le.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,h),this.tsParseTypeMemberSemicolon();const E="parameters",P="typeAnnotation";if(h.kind==="get")h[E].length>0&&(this.raise(g.BadGetterArity,this.state.curPosition()),this.isThisParam(h[E][0])&&this.raise(le.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(h.kind==="set"){if(h[E].length!==1)this.raise(g.BadSetterArity,this.state.curPosition());else{const I=h[E][0];this.isThisParam(I)&&this.raise(le.AccessorCannotDeclareThisParameter,this.state.curPosition()),I.type==="Identifier"&&I.optional&&this.raise(le.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),I.type==="RestElement"&&this.raise(le.SetAccessorCannotHaveRestParameter,this.state.curPosition())}h[P]&&this.raise(le.SetAccessorCannotHaveReturnType,h[P])}else h.kind="method";return this.finishNode(h,"TSMethodSignature")}else{const h=s;o&&(h.readonly=!0);const E=this.tsTryParseTypeAnnotation();return E&&(h.typeAnnotation=E),this.tsParseTypeMemberSemicolon(),this.finishNode(h,"TSPropertySignature")}}tsParseTypeMember(){const s=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",s);if(this.match(77)){const h=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",s):(s.key=this.createIdentifier(h,"new"),this.tsParsePropertyOrMethodSignature(s,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},s);const o=this.tsTryParseIndexSignature(s);return o||(super.parsePropertyName(s),!s.computed&&s.key.type==="Identifier"&&(s.key.name==="get"||s.key.name==="set")&&this.tsTokenCanFollowModifier()&&(s.kind=s.key.name,super.parsePropertyName(s),!this.match(10)&&!this.match(47)&&this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(s,!!s.readonly))}tsParseTypeLiteral(){const s=this.startNode();return s.members=this.tsParseObjectTypeMembers(),this.finishNode(s,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const s=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),s}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)))}tsParseMappedType(){const s=this.startNode();this.expect(5),this.match(53)?(s.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(s.readonly=!0),this.expect(0);{const o=this.startNode();o.name=this.tsParseTypeParameterName(),o.constraint=this.tsExpectThenParseType(58),s.typeParameter=this.finishNode(o,"TSTypeParameter")}return s.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(s.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(s.optional=!0),s.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(s,"TSMappedType")}tsParseTupleType(){const s=this.startNode();s.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let o=!1;return s.elementTypes.forEach(h=>{const{type:E}=h;o&&E!=="TSRestType"&&E!=="TSOptionalType"&&!(E==="TSNamedTupleMember"&&h.optional)&&this.raise(le.OptionalTypeBeforeRequired,h),o||(o=E==="TSNamedTupleMember"&&h.optional||E==="TSOptionalType")}),this.finishNode(s,"TSTupleType")}tsParseTupleElementType(){const s=this.state.startLoc,o=this.eat(21),{startLoc:h}=this.state;let E,P,I,M;const B=ne(this.state.type)?this.lookaheadCharCode():null;if(B===58)E=!0,I=!1,P=this.parseIdentifier(!0),this.expect(14),M=this.tsParseType();else if(B===63){I=!0;const V=this.state.value,K=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(E=!0,P=this.createIdentifier(this.startNodeAt(h),V),this.expect(17),this.expect(14),M=this.tsParseType()):(E=!1,M=K,this.expect(17))}else M=this.tsParseType(),I=this.eat(17),E=this.eat(14);if(E){let V;P?(V=this.startNodeAt(h),V.optional=I,V.label=P,V.elementType=M,this.eat(17)&&(V.optional=!0,this.raise(le.TupleOptionalAfterType,this.state.lastTokStartLoc))):(V=this.startNodeAt(h),V.optional=I,this.raise(le.InvalidTupleMemberLabel,M),V.label=M,V.elementType=this.tsParseType()),M=this.finishNode(V,"TSNamedTupleMember")}else if(I){const V=this.startNodeAt(h);V.typeAnnotation=M,M=this.finishNode(V,"TSOptionalType")}if(o){const V=this.startNodeAt(s);V.typeAnnotation=M,M=this.finishNode(V,"TSRestType")}return M}tsParseParenthesizedType(){const s=this.startNode();return this.expect(10),s.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(s,"TSParenthesizedType")}tsParseFunctionOrConstructorType(s,o){const h=this.startNode();return s==="TSConstructorType"&&(h.abstract=!!o,o&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,h)),this.finishNode(h,s)}tsParseLiteralTypeNode(){const s=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:s.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(s,"TSLiteralType")}tsParseTemplateLiteralType(){{const s=this.startNode();return s.literal=super.parseTemplate(!1),this.finishNode(s,"TSLiteralType")}}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const s=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(s):s}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){const s=this.startNode(),o=this.lookahead();return o.type!==135&&o.type!==136&&this.unexpected(),s.literal=this.parseMaybeUnary(),this.finishNode(s,"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:s}=this.state;if(ee(s)||s===88||s===84){const o=s===88?"TSVoidKeyword":s===84?"TSNullKeyword":Dv(this.state.value);if(o!==void 0&&this.lookaheadCharCode()!==46){const h=this.startNode();return this.next(),this.finishNode(h,o)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){const{startLoc:s}=this.state;let o=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const h=this.startNodeAt(s);h.elementType=o,this.expect(3),o=this.finishNode(h,"TSArrayType")}else{const h=this.startNodeAt(s);h.objectType=o,h.indexType=this.tsParseType(),this.expect(3),o=this.finishNode(h,"TSIndexedAccessType")}return o}tsParseTypeOperator(){const s=this.startNode(),o=this.state.value;return this.next(),s.operator=o,s.typeAnnotation=this.tsParseTypeOperatorOrHigher(),o==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(s),this.finishNode(s,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(s){switch(s.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(le.UnexpectedReadonly,s)}}tsParseInferType(){const s=this.startNode();this.expectContextual(115);const o=this.startNode();return o.name=this.tsParseTypeParameterName(),o.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),s.typeParameter=this.finishNode(o,"TSTypeParameter"),this.finishNode(s,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const s=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return s}}tsParseTypeOperatorOrHigher(){return Ct(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(s,o,h){const E=this.startNode(),P=this.eat(h),I=[];do I.push(o());while(this.eat(h));return I.length===1&&!P?I[0]:(E.types=I,this.finishNode(E,s))}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(ee(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:s}=this.state,o=s.length;try{return this.parseObjectLike(8,!0),s.length===o}catch{return!1}}if(this.match(0)){this.next();const{errors:s}=this.state,o=s.length;try{return super.parseBindingList(3,93,1),s.length===o}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(s){return this.tsInType(()=>{const o=this.startNode();this.expect(s);const h=this.startNode(),E=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(E&&this.match(78)){let M=this.tsParseThisTypeOrThisTypePredicate();return M.type==="TSThisType"?(h.parameterName=M,h.asserts=!0,h.typeAnnotation=null,M=this.finishNode(h,"TSTypePredicate")):(this.resetStartLocationFromNode(M,h),M.asserts=!0),o.typeAnnotation=M,this.finishNode(o,"TSTypeAnnotation")}const P=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!P)return E?(h.parameterName=this.parseIdentifier(),h.asserts=E,h.typeAnnotation=null,o.typeAnnotation=this.finishNode(h,"TSTypePredicate"),this.finishNode(o,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,o);const I=this.tsParseTypeAnnotation(!1);return h.parameterName=P,h.typeAnnotation=I,h.asserts=E,o.typeAnnotation=this.finishNode(h,"TSTypePredicate"),this.finishNode(o,"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 s=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),s}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;const s=this.state.containsEsc;return this.next(),!ee(this.state.type)&&!this.match(78)?!1:(s&&this.raise(g.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(s=!0,o=this.startNode()){return this.tsInType(()=>{s&&this.expect(14),o.typeAnnotation=this.tsParseType()}),this.finishNode(o,"TSTypeAnnotation")}tsParseType(){bu(this.state.inType);const s=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return s;const o=this.startNodeAtNode(s);return o.checkType=s,o.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),o.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),o.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(o,"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(le.ReservedTypeAssertion,this.state.startLoc);const s=this.startNode();return s.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),s.expression=this.parseMaybeUnary(),this.finishNode(s,"TSTypeAssertion")}tsParseHeritageClause(s){const o=this.state.startLoc,h=this.tsParseDelimitedList("HeritageClauseElement",()=>{{const E=this.startNode();return E.expression=this.tsParseEntityName(3),this.match(47)&&(E.typeParameters=this.tsParseTypeArguments()),this.finishNode(E,"TSExpressionWithTypeArguments")}});return h.length||this.raise(le.EmptyHeritageClauseType,o,{token:s}),h}tsParseInterfaceDeclaration(s,o={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),o.declare&&(s.declare=!0),ee(this.state.type)?(s.id=this.parseIdentifier(),this.checkIdentifier(s.id,130)):(s.id=null,this.raise(le.MissingInterfaceName,this.state.startLoc)),s.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(s.extends=this.tsParseHeritageClause("extends"));const h=this.startNode();return h.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),s.body=this.finishNode(h,"TSInterfaceBody"),this.finishNode(s,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(s){return s.id=this.parseIdentifier(),this.checkIdentifier(s.id,2),s.typeAnnotation=this.tsInType(()=>{if(s.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){const o=this.startNode();return this.next(),this.finishNode(o,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(s,"TSTypeAliasDeclaration")}tsInTopLevelContext(s){if(this.curContext()!==C.brace){const o=this.state.context;this.state.context=[o[0]];try{return s()}finally{this.state.context=o}}else return s()}tsInType(s){const o=this.state.inType;this.state.inType=!0;try{return s()}finally{this.state.inType=o}}tsInDisallowConditionalTypesContext(s){const o=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return s()}finally{this.state.inDisallowConditionalTypesContext=o}}tsInAllowConditionalTypesContext(s){const o=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return s()}finally{this.state.inDisallowConditionalTypesContext=o}}tsEatThenParseType(s){if(this.match(s))return this.tsNextThenParseType()}tsExpectThenParseType(s){return this.tsInType(()=>(this.expect(s),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){const s=this.startNode();return s.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(s.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(s,"TSEnumMember")}tsParseEnumDeclaration(s,o={}){return o.const&&(s.const=!0),o.declare&&(s.declare=!0),this.expectContextual(126),s.id=this.parseIdentifier(),this.checkIdentifier(s.id,s.const?8971:8459),this.expect(5),s.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(s,"TSEnumDeclaration")}tsParseEnumBody(){const s=this.startNode();return this.expect(5),s.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(s,"TSEnumBody")}tsParseModuleBlock(){const s=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(s.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(s,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(s,o=!1){if(s.id=this.parseIdentifier(),o||this.checkIdentifier(s.id,1024),this.eat(16)){const h=this.startNode();this.tsParseModuleOrNamespaceDeclaration(h,!0),s.body=h}else this.scope.enter(256),this.prodParam.enter(0),s.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(s,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(s){return this.isContextual(112)?(s.kind="global",s.global=!0,s.id=this.parseIdentifier()):this.match(134)?(s.kind="module",s.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),s.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(s,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(s,o,h){s.isExport=h||!1,s.id=o||this.parseIdentifier(),this.checkIdentifier(s.id,4096),this.expect(29);const E=this.tsParseModuleReference();return s.importKind==="type"&&E.type!=="TSExternalModuleReference"&&this.raise(le.ImportAliasHasImportType,E),s.moduleReference=E,this.semicolon(),this.finishNode(s,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){const s=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),s.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(s,"TSExternalModuleReference")}tsLookAhead(s){const o=this.state.clone(),h=s();return this.state=o,h}tsTryParseAndCatch(s){const o=this.tryParse(h=>s()||h());if(!(o.aborted||!o.node))return o.error&&(this.state=o.failState),o.node}tsTryParse(s){const o=this.state.clone(),h=s();if(h!==void 0&&h!==!1)return h;this.state=o}tsTryParseDeclare(s){if(this.isLineTerminator())return;let o=this.state.type,h;return this.isContextual(100)&&(o=74,h="let"),this.tsInAmbientContext(()=>{switch(o){case 68:return s.declare=!0,super.parseFunctionStatement(s,!1,!1);case 80:return s.declare=!0,this.parseClass(s,!0,!1);case 126:return this.tsParseEnumDeclaration(s,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(s);case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(s.declare=!0,this.parseVarStatement(s,h||this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(s,{const:!0,declare:!0}));case 129:{const E=this.tsParseInterfaceDeclaration(s,{declare:!0});if(E)return E}default:if(ee(o))return this.tsParseDeclaration(s,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(s,o,h){switch(o.name){case"declare":{const E=this.tsTryParseDeclare(s);return E&&(E.declare=!0),E}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const E=s;return E.kind="global",s.global=!0,E.id=o,E.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(E,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(s,o.name,!1,h)}}tsParseDeclaration(s,o,h,E){switch(o){case"abstract":if(this.tsCheckLineTerminator(h)&&(this.match(80)||ee(this.state.type)))return this.tsParseAbstractDeclaration(s,E);break;case"module":if(this.tsCheckLineTerminator(h)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(s);if(ee(this.state.type))return s.kind="module",this.tsParseModuleOrNamespaceDeclaration(s)}break;case"namespace":if(this.tsCheckLineTerminator(h)&&ee(this.state.type))return s.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(s);break;case"type":if(this.tsCheckLineTerminator(h)&&ee(this.state.type))return this.tsParseTypeAliasDeclaration(s);break}}tsCheckLineTerminator(s){return s?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(s){if(!this.match(47))return;const o=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const h=this.tsTryParseAndCatch(()=>{const E=this.startNodeAt(s);return E.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(E),E.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),E});if(this.state.maybeInArrowParameters=o,!!h)return super.parseArrowExpression(h,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){const s=this.startNode();return s.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),s.params.length===0?this.raise(le.EmptyTypeArguments,s):!this.state.inType&&this.curContext()===C.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(s,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return $r(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseBindingElement(s,o){const h=o.length?o[0].loc.start:this.state.startLoc,E={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},E);const P=E.accessibility,I=E.override,M=E.readonly;!(s&4)&&(P||M||I)&&this.raise(le.UnexpectedParameterModifier,h);const D=this.parseMaybeDefault();s&2&&this.parseFunctionParamType(D);const B=this.parseMaybeDefault(D.loc.start,D);if(P||M||I){const V=this.startNodeAt(h);return o.length&&(V.decorators=o),P&&(V.accessibility=P),M&&(V.readonly=M),I&&(V.override=I),B.type!=="Identifier"&&B.type!=="AssignmentPattern"&&this.raise(le.UnsupportedParameterPropertyKind,V),V.parameter=B,this.finishNode(V,"TSParameterProperty")}return o.length&&(D.decorators=o),B}isSimpleParameter(s){return s.type==="TSParameterProperty"&&super.isSimpleParameter(s.parameter)||super.isSimpleParameter(s)}tsDisallowOptionalPattern(s){for(const o of s.params)o.type!=="Identifier"&&o.optional&&!this.state.isAmbientContext&&this.raise(le.PatternIsOptional,o)}setArrowFunctionParameters(s,o,h){super.setArrowFunctionParameters(s,o,h),this.tsDisallowOptionalPattern(s)}parseFunctionBodyAndFinish(s,o,h=!1){this.match(14)&&(s.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const E=o==="FunctionDeclaration"?"TSDeclareFunction":o==="ClassMethod"||o==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return E&&!this.match(5)&&this.isLineTerminator()?this.finishNode(s,E):E==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(le.DeclareFunctionHasImplementation,s),s.declare)?super.parseFunctionBodyAndFinish(s,E,h):(this.tsDisallowOptionalPattern(s),super.parseFunctionBodyAndFinish(s,o,h))}registerFunctionStatementId(s){!s.body&&s.id?this.checkIdentifier(s.id,1024):super.registerFunctionStatementId(s)}tsCheckForInvalidTypeCasts(s){s.forEach(o=>{(o==null?void 0:o.type)==="TSTypeCastExpression"&&this.raise(le.UnexpectedTypeAnnotation,o.typeAnnotation)})}toReferencedList(s,o){return this.tsCheckForInvalidTypeCasts(s),s}parseArrayLike(s,o,h,E){const P=super.parseArrayLike(s,o,h,E);return P.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(P.elements),P}parseSubscript(s,o,h,E){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const I=this.startNodeAt(o);return I.expression=s,this.finishNode(I,"TSNonNullExpression")}let P=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(h)return E.stop=!0,s;E.optionalChainMember=P=!0,this.next()}if(this.match(47)||this.match(51)){let I;const M=this.tsTryParseAndCatch(()=>{if(!h&&this.atPossibleAsyncArrow(s)){const K=this.tsTryParseGenericAsyncArrowFunction(o);if(K)return K}const D=this.tsParseTypeArgumentsInExpression();if(!D)return;if(P&&!this.match(10)){I=this.state.curPosition();return}if(Ur(this.state.type)){const K=super.parseTaggedTemplateExpression(s,o,E);return K.typeParameters=D,K}if(!h&&this.eat(10)){const K=this.startNodeAt(o);return K.callee=s,K.arguments=this.parseCallExpressionArguments(11),this.tsCheckForInvalidTypeCasts(K.arguments),K.typeParameters=D,E.optionalChainMember&&(K.optional=P),this.finishCallExpression(K,E.optionalChainMember)}const B=this.state.type;if(B===48||B===52||B!==10&&he(B)&&!this.hasPrecedingLineBreak())return;const V=this.startNodeAt(o);return V.expression=s,V.typeParameters=D,this.finishNode(V,"TSInstantiationExpression")});if(I&&this.unexpected(I,10),M)return M.type==="TSInstantiationExpression"&&((this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(le.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),!this.match(16)&&!this.match(18)&&(M.expression=super.stopParseSubscript(s,E))),M}return super.parseSubscript(s,o,h,E)}parseNewCallee(s){var o;super.parseNewCallee(s);const{callee:h}=s;h.type==="TSInstantiationExpression"&&!((o=h.extra)!=null&&o.parenthesized)&&(s.typeParameters=h.typeParameters,s.callee=h.expression)}parseExprOp(s,o,h){let E;if(It(58)>h&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(E=this.isContextual(120)))){const P=this.startNodeAt(o);return P.expression=s,P.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(E&&this.raise(g.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(P,E?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(P,o,h)}return super.parseExprOp(s,o,h)}checkReservedWord(s,o,h,E){this.state.isAmbientContext||super.checkReservedWord(s,o,h,E)}checkImportReflection(s){super.checkImportReflection(s),s.module&&s.importKind!=="value"&&this.raise(le.ImportReflectionHasImportType,s.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(s){if(super.isPotentialImportPhase(s))return!0;if(this.isContextual(130)){const o=this.lookaheadCharCode();return s?o===123||o===42:o!==61}return!s&&this.isContextual(87)}applyImportPhase(s,o,h,E){super.applyImportPhase(s,o,h,E),o?s.exportKind=h==="type"?"type":"value":s.importKind=h==="type"||h==="typeof"?h:"value"}parseImport(s){if(this.match(134))return s.importKind="value",super.parseImport(s);let o;if(ee(this.state.type)&&this.lookaheadCharCode()===61)return s.importKind="value",this.tsParseImportEqualsDeclaration(s);if(this.isContextual(130)){const h=this.parseMaybeImportPhase(s,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(s,h);o=super.parseImportSpecifiersAndAfter(s,h)}else o=super.parseImport(s);return o.importKind==="type"&&o.specifiers.length>1&&o.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(le.TypeImportCannotSpecifyDefaultAndNamed,o),o}parseExport(s,o){if(this.match(83)){const h=s;this.next();let E=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?E=this.parseMaybeImportPhase(h,!1):h.importKind="value",this.tsParseImportEqualsDeclaration(h,E,!0)}else if(this.eat(29)){const h=s;return h.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(h,"TSExportAssignment")}else if(this.eatContextual(93)){const h=s;return this.expectContextual(128),h.id=this.parseIdentifier(),this.semicolon(),this.finishNode(h,"TSNamespaceExportDeclaration")}else return super.parseExport(s,o)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){const s=this.startNode();return this.next(),s.abstract=!0,this.parseClass(s,!0,!0)}if(this.match(129)){const s=this.tsParseInterfaceDeclaration(this.startNode());if(s)return s}return super.parseExportDefaultExpression()}parseVarStatement(s,o,h=!1){const{isAmbientContext:E}=this.state,P=super.parseVarStatement(s,o,h||E);if(!E)return P;for(const{id:I,init:M}of P.declarations)M&&(o!=="const"||I.typeAnnotation?this.raise(le.InitializerNotAllowedInAmbientContext,M):Uv(M,this.hasPlugin("estree"))||this.raise(le.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,M));return P}parseStatementContent(s,o){if(this.match(75)&&this.isLookaheadContextual("enum")){const h=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(h,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){const h=this.tsParseInterfaceDeclaration(this.startNode());if(h)return h}return super.parseStatementContent(s,o)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(s,o){return o.some(h=>_u(h)?s.accessibility===h:!!s[h])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(s,o,h){const E=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:E,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:le.InvalidModifierOnTypeParameterPositions},o);const P=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(o,E)&&this.raise(le.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(s,o)):this.parseClassMemberWithIsStatic(s,o,h,!!o.static)};o.declare?this.tsInAmbientContext(P):P()}parseClassMemberWithIsStatic(s,o,h,E){const P=this.tsTryParseIndexSignature(o);if(P){s.body.push(P),o.abstract&&this.raise(le.IndexSignatureHasAbstract,o),o.accessibility&&this.raise(le.IndexSignatureHasAccessibility,o,{modifier:o.accessibility}),o.declare&&this.raise(le.IndexSignatureHasDeclare,o),o.override&&this.raise(le.IndexSignatureHasOverride,o);return}!this.state.inAbstractClass&&o.abstract&&this.raise(le.NonAbstractClassHasAbstractMethod,o),o.override&&(h.hadSuperClass||this.raise(le.OverrideNotInSubClass,o)),super.parseClassMemberWithIsStatic(s,o,h,E)}parsePostMemberNameModifiers(s){this.eat(17)&&(s.optional=!0),s.readonly&&this.match(10)&&this.raise(le.ClassMethodHasReadonly,s),s.declare&&this.match(10)&&this.raise(le.ClassMethodHasDeclare,s)}parseExpressionStatement(s,o,h){return(o.type==="Identifier"?this.tsParseExpressionStatement(s,o,h):void 0)||super.parseExpressionStatement(s,o,h)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(s,o,h){if(!this.match(17))return s;if(this.state.maybeInArrowParameters){const E=this.lookaheadCharCode();if(E===44||E===61||E===58||E===41)return this.setOptionalParametersError(h),s}return super.parseConditional(s,o,h)}parseParenItem(s,o){const h=super.parseParenItem(s,o);if(this.eat(17)&&(h.optional=!0,this.resetEndLocation(s)),this.match(14)){const E=this.startNodeAt(o);return E.expression=s,E.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(E,"TSTypeCastExpression")}return s}parseExportDeclaration(s){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(s));const o=this.state.startLoc,h=this.eatContextual(125);if(h&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(le.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const P=ee(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(s);return P?((P.type==="TSInterfaceDeclaration"||P.type==="TSTypeAliasDeclaration"||h)&&(s.exportKind="type"),h&&P.type!=="TSImportEqualsDeclaration"&&(this.resetStartLocation(P,o),P.declare=!0),P):null}parseClassId(s,o,h,E){if((!o||h)&&this.isContextual(113))return;super.parseClassId(s,o,h,s.declare?1024:8331);const P=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);P&&(s.typeParameters=P)}parseClassPropertyAnnotation(s){s.optional||(this.eat(35)?s.definite=!0:this.eat(17)&&(s.optional=!0));const o=this.tsTryParseTypeAnnotation();o&&(s.typeAnnotation=o)}parseClassProperty(s){if(this.parseClassPropertyAnnotation(s),this.state.isAmbientContext&&!(s.readonly&&!s.typeAnnotation)&&this.match(29)&&this.raise(le.DeclareClassFieldHasInitializer,this.state.startLoc),s.abstract&&this.match(29)){const{key:o}=s;this.raise(le.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:o.type==="Identifier"&&!s.computed?o.name:`[${this.input.slice(this.offsetToSourcePos(o.start),this.offsetToSourcePos(o.end))}]`})}return super.parseClassProperty(s)}parseClassPrivateProperty(s){return s.abstract&&this.raise(le.PrivateElementHasAbstract,s),s.accessibility&&this.raise(le.PrivateElementHasAccessibility,s,{modifier:s.accessibility}),this.parseClassPropertyAnnotation(s),super.parseClassPrivateProperty(s)}parseClassAccessorProperty(s){return this.parseClassPropertyAnnotation(s),s.optional&&this.raise(le.AccessorCannotBeOptional,s),super.parseClassAccessorProperty(s)}pushClassMethod(s,o,h,E,P,I){const M=this.tsTryParseTypeParameters(this.tsParseConstModifier);M&&P&&this.raise(le.ConstructorHasTypeParameters,M);const{declare:D=!1,kind:B}=o;D&&(B==="get"||B==="set")&&this.raise(le.DeclareAccessor,o,{kind:B}),M&&(o.typeParameters=M),super.pushClassMethod(s,o,h,E,P,I)}pushClassPrivateMethod(s,o,h,E){const P=this.tsTryParseTypeParameters(this.tsParseConstModifier);P&&(o.typeParameters=P),super.pushClassPrivateMethod(s,o,h,E)}declareClassPrivateMethodInScope(s,o){s.type!=="TSDeclareMethod"&&(s.type==="MethodDefinition"&&s.value.body==null||super.declareClassPrivateMethodInScope(s,o))}parseClassSuper(s){super.parseClassSuper(s),s.superClass&&(this.match(47)||this.match(51))&&(s.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(s.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(s,o,h,E,P,I,M){const D=this.tsTryParseTypeParameters(this.tsParseConstModifier);return D&&(s.typeParameters=D),super.parseObjPropValue(s,o,h,E,P,I,M)}parseFunctionParams(s,o){const h=this.tsTryParseTypeParameters(this.tsParseConstModifier);h&&(s.typeParameters=h),super.parseFunctionParams(s,o)}parseVarId(s,o){super.parseVarId(s,o),s.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(s.definite=!0);const h=this.tsTryParseTypeAnnotation();h&&(s.id.typeAnnotation=h,this.resetEndLocation(s.id))}parseAsyncArrowFromCallExpression(s,o){return this.match(14)&&(s.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(s,o)}parseMaybeAssign(s,o){var h,E,P,I,M;let D,B,V;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(D=this.state.clone(),B=this.tryParse(()=>super.parseMaybeAssign(s,o),D),!B.error)return B.node;const{context:ae}=this.state,me=ae[ae.length-1];(me===C.j_oTag||me===C.j_expr)&&ae.pop()}if(!((h=B)!=null&&h.error)&&!this.match(47))return super.parseMaybeAssign(s,o);(!D||D===this.state)&&(D=this.state.clone());let K;const Q=this.tryParse(ae=>{var me,Me;K=this.tsParseTypeParameters(this.tsParseConstModifier);const ge=super.parseMaybeAssign(s,o);return(ge.type!=="ArrowFunctionExpression"||(me=ge.extra)!=null&&me.parenthesized)&&ae(),((Me=K)==null?void 0:Me.params.length)!==0&&this.resetStartLocationFromNode(ge,K),ge.typeParameters=K,ge},D);if(!Q.error&&!Q.aborted)return K&&this.reportReservedArrowTypeParam(K),Q.node;if(!B&&(bu(!this.hasPlugin("jsx")),V=this.tryParse(()=>super.parseMaybeAssign(s,o),D),!V.error))return V.node;if((E=B)!=null&&E.node)return this.state=B.failState,B.node;if(Q.node)return this.state=Q.failState,K&&this.reportReservedArrowTypeParam(K),Q.node;if((P=V)!=null&&P.node)return this.state=V.failState,V.node;throw((I=B)==null?void 0:I.error)||Q.error||((M=V)==null?void 0:M.error)}reportReservedArrowTypeParam(s){var o;s.params.length===1&&!s.params[0].constraint&&!((o=s.extra)!=null&&o.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(le.ReservedArrowTypeParam,s)}parseMaybeUnary(s,o){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(s,o)}parseArrow(s){if(this.match(14)){const o=this.tryParse(h=>{const E=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&h(),E});if(o.aborted)return;o.thrown||(o.error&&(this.state=o.failState),s.returnType=o.node)}return super.parseArrow(s)}parseFunctionParamType(s){this.eat(17)&&(s.optional=!0);const o=this.tsTryParseTypeAnnotation();return o&&(s.typeAnnotation=o),this.resetEndLocation(s),s}isAssignable(s,o){switch(s.type){case"TSTypeCastExpression":return this.isAssignable(s.expression,o);case"TSParameterProperty":return!0;default:return super.isAssignable(s,o)}}toAssignable(s,o=!1){switch(s.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(s,o);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":o?this.expressionScope.recordArrowParameterBindingError(le.UnexpectedTypeCastInParameter,s):this.raise(le.UnexpectedTypeCastInParameter,s),this.toAssignable(s.expression,o);break;case"AssignmentExpression":!o&&s.left.type==="TSTypeCastExpression"&&(s.left=this.typeCastToParameter(s.left));default:super.toAssignable(s,o)}}toAssignableParenthesizedExpression(s,o){switch(s.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(s.expression,o);break;default:super.toAssignable(s,o)}}checkToRestConversion(s,o){switch(s.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(s.expression,!1);break;default:super.checkToRestConversion(s,o)}}isValidLVal(s,o,h){switch(s){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(h!==64||!o)&&["expression",!0];default:return super.isValidLVal(s,o,h)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(s,o){if(this.match(47)||this.match(51)){const h=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const E=super.parseMaybeDecoratorArguments(s,o);return E.typeParameters=h,E}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(s,o)}checkCommaAfterRest(s){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===s?(this.next(),!1):super.checkCommaAfterRest(s)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(s,o){const h=super.parseMaybeDefault(s,o);return h.type==="AssignmentPattern"&&h.typeAnnotation&&h.right.start<h.typeAnnotation.start&&this.raise(le.TypeAnnotationAfterAssign,h.typeAnnotation),h}getTokenFromCode(s){if(this.state.inType){if(s===62){this.finishOp(48,1);return}if(s===60){this.finishOp(47,1);return}}super.getTokenFromCode(s)}reScan_lt_gt(){const{type:s}=this.state;s===47?(this.state.pos-=1,this.readToken_lt()):s===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:s}=this.state;return s===51?(this.state.pos-=2,this.finishOp(47,1),47):s}toAssignableListItem(s,o,h){const E=s[o];E.type==="TSTypeCastExpression"&&(s[o]=this.typeCastToParameter(E)),super.toAssignableListItem(s,o,h)}typeCastToParameter(s){return s.expression.typeAnnotation=s.typeAnnotation,this.resetEndLocation(s.expression,s.typeAnnotation.loc.end),s.expression}shouldParseArrow(s){return this.match(14)?s.every(o=>this.isAssignable(o,!0)):super.shouldParseArrow(s)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(s){if(this.match(47)||this.match(51)){const o=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());o&&(s.typeParameters=o)}return super.jsxParseOpeningElementAfterName(s)}getGetterSetterExpectedParamCount(s){const o=super.getGetterSetterExpectedParamCount(s),E=this.getObjectOrClassMethodParams(s)[0];return E&&this.isThisParam(E)?o+1:o}parseCatchClauseParam(){const s=super.parseCatchClauseParam(),o=this.tsTryParseTypeAnnotation();return o&&(s.typeAnnotation=o,this.resetEndLocation(s)),s}tsInAmbientContext(s){const{isAmbientContext:o,strict:h}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return s()}finally{this.state.isAmbientContext=o,this.state.strict=h}}parseClass(s,o,h){const E=this.state.inAbstractClass;this.state.inAbstractClass=!!s.abstract;try{return super.parseClass(s,o,h)}finally{this.state.inAbstractClass=E}}tsParseAbstractDeclaration(s,o){if(this.match(80))return s.abstract=!0,this.maybeTakeDecorators(o,this.parseClass(s,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return s.abstract=!0,this.raise(le.NonClassMethodPropertyHasAbstractModifer,s),this.tsParseInterfaceDeclaration(s)}else this.unexpected(null,80)}parseMethod(s,o,h,E,P,I,M){const D=super.parseMethod(s,o,h,E,P,I,M);if((D.abstract||D.type==="TSAbstractMethodDefinition")&&(this.hasPlugin("estree")?D.value:D).body){const{key:K}=D;this.raise(le.AbstractMethodHasImplementation,D,{methodName:K.type==="Identifier"&&!D.computed?K.name:`[${this.input.slice(this.offsetToSourcePos(K.start),this.offsetToSourcePos(K.end))}]`})}return D}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(s,o,h,E){return!o&&E?(this.parseTypeOnlyImportExportSpecifier(s,!1,h),this.finishNode(s,"ExportSpecifier")):(s.exportKind="value",super.parseExportSpecifier(s,o,h,E))}parseImportSpecifier(s,o,h,E,P){return!o&&E?(this.parseTypeOnlyImportExportSpecifier(s,!0,h),this.finishNode(s,"ImportSpecifier")):(s.importKind="value",super.parseImportSpecifier(s,o,h,E,h?4098:4096))}parseTypeOnlyImportExportSpecifier(s,o,h){const E=o?"imported":"local",P=o?"local":"exported";let I=s[E],M,D=!1,B=!0;const V=I.loc.start;if(this.isContextual(93)){const Q=this.parseIdentifier();if(this.isContextual(93)){const ae=this.parseIdentifier();ne(this.state.type)?(D=!0,I=Q,M=o?this.parseIdentifier():this.parseModuleExportName(),B=!1):(M=ae,B=!1)}else ne(this.state.type)?(B=!1,M=o?this.parseIdentifier():this.parseModuleExportName()):(D=!0,I=Q)}else ne(this.state.type)&&(D=!0,o?(I=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(I.name,I.loc.start,!0,!0)):I=this.parseModuleExportName());D&&h&&this.raise(o?le.TypeModifierIsUsedInTypeImports:le.TypeModifierIsUsedInTypeExports,V),s[E]=I,s[P]=M;const K=o?"importKind":"exportKind";s[K]=D?"type":"value",B&&this.eatContextual(93)&&(s[P]=o?this.parseIdentifier():this.parseModuleExportName()),s[P]||(s[P]=this.cloneIdentifier(s[E])),o&&this.checkIdentifier(s[P],D?4098:4096)}fillOptionalPropertiesForTSESLint(s){var o,h,E,P,I,M,D,B,V,K,Q,ae,me,Me,ge,Pe,vr,rr,Mu,Ru,Du,Fu,Bu,$u,Uu,qu,ju,Vu,zu,Wu,Hu,Gu,Xu,Ju,Ku,Yu,Qu,Zu,eh,th,rh,sh,ih,nh,ah,oh;switch(s.type){case"ExpressionStatement":(o=s.directive)!=null||(s.directive=void 0);return;case"RestElement":s.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":(h=s.decorators)!=null||(s.decorators=[]),(E=s.optional)!=null||(s.optional=!1),(P=s.typeAnnotation)!=null||(s.typeAnnotation=void 0);return;case"TSParameterProperty":(I=s.accessibility)!=null||(s.accessibility=void 0),(M=s.decorators)!=null||(s.decorators=[]),(D=s.override)!=null||(s.override=!1),(B=s.readonly)!=null||(s.readonly=!1),(V=s.static)!=null||(s.static=!1);return;case"TSEmptyBodyFunctionExpression":s.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":(K=s.declare)!=null||(s.declare=!1),(Q=s.returnType)!=null||(s.returnType=void 0),(ae=s.typeParameters)!=null||(s.typeParameters=void 0);return;case"Property":(me=s.optional)!=null||(s.optional=!1);return;case"TSMethodSignature":case"TSPropertySignature":(Me=s.optional)!=null||(s.optional=!1);case"TSIndexSignature":(ge=s.accessibility)!=null||(s.accessibility=void 0),(Pe=s.readonly)!=null||(s.readonly=!1),(vr=s.static)!=null||(s.static=!1);return;case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":(rr=s.declare)!=null||(s.declare=!1),(Mu=s.definite)!=null||(s.definite=!1),(Ru=s.readonly)!=null||(s.readonly=!1),(Du=s.typeAnnotation)!=null||(s.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":(Fu=s.accessibility)!=null||(s.accessibility=void 0),(Bu=s.decorators)!=null||(s.decorators=[]),($u=s.override)!=null||(s.override=!1),(Uu=s.optional)!=null||(s.optional=!1);return;case"ClassExpression":(qu=s.id)!=null||(s.id=null);case"ClassDeclaration":(ju=s.abstract)!=null||(s.abstract=!1),(Vu=s.declare)!=null||(s.declare=!1),(zu=s.decorators)!=null||(s.decorators=[]),(Wu=s.implements)!=null||(s.implements=[]),(Hu=s.superTypeArguments)!=null||(s.superTypeArguments=void 0),(Gu=s.typeParameters)!=null||(s.typeParameters=void 0);return;case"TSTypeAliasDeclaration":case"VariableDeclaration":(Xu=s.declare)!=null||(s.declare=!1);return;case"VariableDeclarator":(Ju=s.definite)!=null||(s.definite=!1);return;case"TSEnumDeclaration":(Ku=s.const)!=null||(s.const=!1),(Yu=s.declare)!=null||(s.declare=!1);return;case"TSEnumMember":(Qu=s.computed)!=null||(s.computed=!1);return;case"TSImportType":(Zu=s.qualifier)!=null||(s.qualifier=null),(eh=s.options)!=null||(s.options=null);return;case"TSInterfaceDeclaration":(th=s.declare)!=null||(s.declare=!1),(rh=s.extends)!=null||(s.extends=[]);return;case"TSModuleDeclaration":(sh=s.declare)!=null||(s.declare=!1),(ih=s.global)!=null||(s.global=s.kind==="global");return;case"TSTypeParameter":(nh=s.const)!=null||(s.const=!1),(ah=s.in)!=null||(s.in=!1),(oh=s.out)!=null||(s.out=!1);return}}};function $v(w){if(w.type!=="MemberExpression")return!1;const{computed:a,property:s}=w;return a&&s.type!=="StringLiteral"&&(s.type!=="TemplateLiteral"||s.expressions.length>0)?!1:Au(w.object)}function Uv(w,a){var s;const{type:o}=w;if((s=w.extra)!=null&&s.parenthesized)return!1;if(a){if(o==="Literal"){const{value:h}=w;if(typeof h=="string"||typeof h=="boolean")return!0}}else if(o==="StringLiteral"||o==="BooleanLiteral")return!0;return!!(xu(w,a)||qv(w,a)||o==="TemplateLiteral"&&w.expressions.length===0||$v(w))}function xu(w,a){return a?w.type==="Literal"&&(typeof w.value=="number"||"bigint"in w):w.type==="NumericLiteral"||w.type==="BigIntLiteral"}function qv(w,a){if(w.type==="UnaryExpression"){const{operator:s,argument:o}=w;if(s==="-"&&xu(o,a))return!0}return!1}function Au(w){return w.type==="Identifier"?!0:w.type!=="MemberExpression"||w.computed?!1:Au(w.object)}const Cu=S`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});var jv=w=>class extends w{parsePlaceholder(s){if(this.match(133)){const o=this.startNode();return this.next(),this.assertNoSpace(),o.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(o,s)}}finishPlaceholder(s,o){let h=s;return(!h.expectedNode||!h.type)&&(h=this.finishNode(h,"Placeholder")),h.expectedNode=o,h}getTokenFromCode(s){s===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(s)}parseExprAtom(s){return this.parsePlaceholder("Expression")||super.parseExprAtom(s)}parseIdentifier(s){return this.parsePlaceholder("Identifier")||super.parseIdentifier(s)}checkReservedWord(s,o,h,E){s!==void 0&&super.checkReservedWord(s,o,h,E)}cloneIdentifier(s){const o=super.cloneIdentifier(s);return o.type==="Placeholder"&&(o.expectedNode=s.expectedNode),o}cloneStringLiteral(s){return s.type==="Placeholder"?this.cloneIdentifier(s):super.cloneStringLiteral(s)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(s,o,h){return s==="Placeholder"||super.isValidLVal(s,o,h)}toAssignable(s,o){s&&s.type==="Placeholder"&&s.expectedNode==="Expression"?s.expectedNode="Pattern":super.toAssignable(s,o)}chStartsBindingIdentifier(s,o){return!!(super.chStartsBindingIdentifier(s,o)||this.lookahead().type===133)}verifyBreakContinue(s,o){s.label&&s.label.type==="Placeholder"||super.verifyBreakContinue(s,o)}parseExpressionStatement(s,o){var h;if(o.type!=="Placeholder"||(h=o.extra)!=null&&h.parenthesized)return super.parseExpressionStatement(s,o);if(this.match(14)){const P=s;return P.label=this.finishPlaceholder(o,"Identifier"),this.next(),P.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(P,"LabeledStatement")}this.semicolon();const E=s;return E.name=o.name,this.finishPlaceholder(E,"Statement")}parseBlock(s,o,h){return this.parsePlaceholder("BlockStatement")||super.parseBlock(s,o,h)}parseFunctionId(s){return this.parsePlaceholder("Identifier")||super.parseFunctionId(s)}parseClass(s,o,h){const E=o?"ClassDeclaration":"ClassExpression";this.next();const P=this.state.strict,I=this.parsePlaceholder("Identifier");if(I)if(this.match(81)||this.match(133)||this.match(5))s.id=I;else{if(h||!o)return s.id=null,s.body=this.finishPlaceholder(I,"ClassBody"),this.finishNode(s,E);throw this.raise(Cu.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(s,o,h);return super.parseClassSuper(s),s.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!s.superClass,P),this.finishNode(s,E)}parseExport(s,o){const h=this.parsePlaceholder("Identifier");if(!h)return super.parseExport(s,o);const E=s;if(!this.isContextual(98)&&!this.match(12))return E.specifiers=[],E.source=null,E.declaration=this.finishPlaceholder(h,"Declaration"),this.finishNode(E,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const P=this.startNode();return P.exported=h,E.specifiers=[this.finishNode(P,"ExportDefaultSpecifier")],super.parseExport(E,o)}isExportDefaultSpecifier(){if(this.match(65)){const s=this.nextTokenStart();if(this.isUnparsedContextual(s,"from")&&this.input.startsWith(dt(133),this.nextTokenStartSince(s+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(s,o){var h;return(h=s.specifiers)!=null&&h.length?!0:super.maybeParseExportDefaultSpecifier(s,o)}checkExport(s){const{specifiers:o}=s;o!=null&&o.length&&(s.specifiers=o.filter(h=>h.exported.type==="Placeholder")),super.checkExport(s),s.specifiers=o}parseImport(s){const o=this.parsePlaceholder("Identifier");if(!o)return super.parseImport(s);if(s.specifiers=[],!this.isContextual(98)&&!this.match(12))return s.source=this.finishPlaceholder(o,"StringLiteral"),this.semicolon(),this.finishNode(s,"ImportDeclaration");const h=this.startNodeAtNode(o);return h.local=o,s.specifiers.push(this.finishNode(h,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(s)||this.parseNamedImportSpecifiers(s)),this.expectContextual(98),s.source=this.parseImportSource(),this.semicolon(),this.finishNode(s,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(Cu.UnexpectedSpace,this.state.lastTokEndLoc)}},Vv=w=>class extends w{parseV8Intrinsic(){if(this.match(54)){const s=this.state.startLoc,o=this.startNode();if(this.next(),ee(this.state.type)){const h=this.parseIdentifierName(),E=this.createIdentifier(o,h);if(this.castNodeTo(E,"V8IntrinsicIdentifier"),this.match(10))return E}this.unexpected(s)}}parseExprAtom(s){return this.parseV8Intrinsic()||super.parseExprAtom(s)}};const Iu=["minimal","fsharp","hack","smart"],Nu=["^^","@@","^","%","#"];function zv(w){if(w.has("decorators")){if(w.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const o=w.get("decorators").decoratorsBeforeExport;if(o!=null&&typeof o!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const h=w.get("decorators").allowCallParenthesized;if(h!=null&&typeof h!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(w.has("flow")&&w.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(w.has("placeholders")&&w.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(w.has("pipelineOperator")){var a;const o=w.get("pipelineOperator").proposal;if(!Iu.includes(o)){const h=Iu.map(E=>`"${E}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${h}.`)}if(o==="hack"){if(w.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(w.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const h=w.get("pipelineOperator").topicToken;if(!Nu.includes(h)){const E=Nu.map(P=>`"${P}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${E}.`)}{var s;if(h==="#"&&((s=w.get("recordAndTuple"))==null?void 0:s.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",w.get("recordAndTuple")])}\`.`)}}else if(o==="smart"&&((a=w.get("recordAndTuple"))==null?void 0:a.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",w.get("recordAndTuple")])}\`.`)}if(w.has("moduleAttributes")){if(w.has("deprecatedImportAssert")||w.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(w.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(w.has("importAssertions")&&w.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!w.has("deprecatedImportAssert")&&w.has("importAttributes")&&w.get("importAttributes").deprecatedAssertSyntax&&w.set("deprecatedImportAssert",{}),w.has("recordAndTuple")){const o=w.get("recordAndTuple").syntaxType;if(o!=null){const h=["hash","bar"];if(!h.includes(o))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+h.map(E=>`'${E}'`).join(", "))}}if(w.has("asyncDoExpressions")&&!w.has("doExpressions")){const o=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw o.missingPlugins="doExpressions",o}if(w.has("optionalChainingAssign")&&w.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 Ou={estree:L,jsx:dv,flow:uv,typescript:Bv,v8intrinsic:Vv,placeholders:jv},Wv=Object.keys(Ou);class Hv extends Mv{checkProto(a,s,o,h){if(a.type==="SpreadElement"||this.isObjectMethod(a)||a.computed||a.shorthand)return o;const E=a.key;return(E.type==="Identifier"?E.name:E.value)==="__proto__"?s?(this.raise(g.RecordNoProto,E),!0):(o&&(h?h.doubleProtoLoc===null&&(h.doubleProtoLoc=E.loc.start):this.raise(g.DuplicateProto,E)),!0):o}shouldExitDescending(a,s){return a.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(a.start)===s}getExpression(){this.enterInitialScopes(),this.nextToken();const a=this.parseExpression();return this.match(140)||this.unexpected(),this.finalizeRemainingComments(),a.comments=this.comments,a.errors=this.state.errors,this.optionFlags&256&&(a.tokens=this.tokens),a}parseExpression(a,s){return a?this.disallowInAnd(()=>this.parseExpressionBase(s)):this.allowInAnd(()=>this.parseExpressionBase(s))}parseExpressionBase(a){const s=this.state.startLoc,o=this.parseMaybeAssign(a);if(this.match(12)){const h=this.startNodeAt(s);for(h.expressions=[o];this.eat(12);)h.expressions.push(this.parseMaybeAssign(a));return this.toReferencedList(h.expressions),this.finishNode(h,"SequenceExpression")}return o}parseMaybeAssignDisallowIn(a,s){return this.disallowInAnd(()=>this.parseMaybeAssign(a,s))}parseMaybeAssignAllowIn(a,s){return this.allowInAnd(()=>this.parseMaybeAssign(a,s))}setOptionalParametersError(a){a.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(a,s){const o=this.state.startLoc,h=this.isContextual(108);if(h&&this.prodParam.hasYield){this.next();let M=this.parseYield(o);return s&&(M=s.call(this,M,o)),M}let E;a?E=!1:(a=new fi,E=!0);const{type:P}=this.state;(P===10||ee(P))&&(this.state.potentialArrowAt=this.state.start);let I=this.parseMaybeConditional(a);if(s&&(I=s.call(this,I,o)),Oe(this.state.type)){const M=this.startNodeAt(o),D=this.state.value;if(M.operator=D,this.match(29)){this.toAssignable(I,!0),M.left=I;const B=o.index;a.doubleProtoLoc!=null&&a.doubleProtoLoc.index>=B&&(a.doubleProtoLoc=null),a.shorthandAssignLoc!=null&&a.shorthandAssignLoc.index>=B&&(a.shorthandAssignLoc=null),a.privateKeyLoc!=null&&a.privateKeyLoc.index>=B&&(this.checkDestructuringPrivate(a),a.privateKeyLoc=null)}else M.left=I;return this.next(),M.right=this.parseMaybeAssign(),this.checkLVal(I,this.finishNode(M,"AssignmentExpression")),M}else E&&this.checkExpressionErrors(a,!0);if(h){const{type:M}=this.state;if((this.hasPlugin("v8intrinsic")?he(M):he(M)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(g.YieldNotInGeneratorFunction,o),this.parseYield(o)}return I}parseMaybeConditional(a){const s=this.state.startLoc,o=this.state.potentialArrowAt,h=this.parseExprOps(a);return this.shouldExitDescending(h,o)?h:this.parseConditional(h,s,a)}parseConditional(a,s,o){if(this.eat(17)){const h=this.startNodeAt(s);return h.test=a,h.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),h.alternate=this.parseMaybeAssign(),this.finishNode(h,"ConditionalExpression")}return a}parseMaybeUnaryOrPrivate(a){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(a)}parseExprOps(a){const s=this.state.startLoc,o=this.state.potentialArrowAt,h=this.parseMaybeUnaryOrPrivate(a);return this.shouldExitDescending(h,o)?h:this.parseExprOp(h,s,-1)}parseExprOp(a,s,o){if(this.isPrivateName(a)){const E=this.getPrivateNameSV(a);(o>=It(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(g.PrivateInExpectedIn,a,{identifierName:E}),this.classScope.usePrivateName(E,a.loc.start)}const h=this.state.type;if(Ue(h)&&(this.prodParam.hasIn||!this.match(58))){let E=It(h);if(E>o){if(h===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return a;this.checkPipelineAtInfixOperator(a,s)}const P=this.startNodeAt(s);P.left=a,P.operator=this.state.value;const I=h===41||h===42,M=h===40;if(M&&(E=It(42)),this.next(),h===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(g.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);P.right=this.parseExprOpRightExpr(h,E);const D=this.finishNode(P,I||M?"LogicalExpression":"BinaryExpression"),B=this.state.type;if(M&&(B===41||B===42)||I&&B===40)throw this.raise(g.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(D,s,o)}}return a}parseExprOpRightExpr(a,s){const o=this.state.startLoc;switch(a){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(s))}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(g.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(a,s),o)});default:return this.parseExprOpBaseRightExpr(a,s)}}parseExprOpBaseRightExpr(a,s){const o=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),o,xa(a)?s-1:s)}parseHackPipeBody(){var a;const{startLoc:s}=this.state,o=this.parseMaybeAssign();return f.has(o.type)&&!((a=o.extra)!=null&&a.parenthesized)&&this.raise(g.PipeUnparenthesizedBody,s,{type:o.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipeTopicUnused,s),o}checkExponentialAfterUnary(a){this.match(57)&&this.raise(g.UnexpectedTokenUnaryExponentiation,a.argument)}parseMaybeUnary(a,s){const o=this.state.startLoc,h=this.isContextual(96);if(h&&this.recordAwaitIfAllowed()){this.next();const M=this.parseAwait(o);return s||this.checkExponentialAfterUnary(M),M}const E=this.match(34),P=this.startNode();if(ft(this.state.type)){P.operator=this.state.value,P.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const M=this.match(89);if(this.next(),P.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(a,!0),this.state.strict&&M){const D=P.argument;D.type==="Identifier"?this.raise(g.StrictDelete,P):this.hasPropertyAsPrivateName(D)&&this.raise(g.DeletePrivateField,P)}if(!E)return s||this.checkExponentialAfterUnary(P),this.finishNode(P,"UnaryExpression")}const I=this.parseUpdate(P,E,a);if(h){const{type:M}=this.state;if((this.hasPlugin("v8intrinsic")?he(M):he(M)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(g.AwaitNotInAsyncContext,o),this.parseAwait(o)}return I}parseUpdate(a,s,o){if(s){const P=a;return this.checkLVal(P.argument,this.finishNode(P,"UpdateExpression")),a}const h=this.state.startLoc;let E=this.parseExprSubscripts(o);if(this.checkExpressionErrors(o,!1))return E;for(;pt(this.state.type)&&!this.canInsertSemicolon();){const P=this.startNodeAt(h);P.operator=this.state.value,P.prefix=!1,P.argument=E,this.next(),this.checkLVal(E,E=this.finishNode(P,"UpdateExpression"))}return E}parseExprSubscripts(a){const s=this.state.startLoc,o=this.state.potentialArrowAt,h=this.parseExprAtom(a);return this.shouldExitDescending(h,o)?h:this.parseSubscripts(h,s)}parseSubscripts(a,s,o){const h={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(a),stop:!1};do a=this.parseSubscript(a,s,o,h),h.maybeAsyncArrow=!1;while(!h.stop);return a}parseSubscript(a,s,o,h){const{type:E}=this.state;if(!o&&E===15)return this.parseBind(a,s,o,h);if(Ur(E))return this.parseTaggedTemplateExpression(a,s,h);let P=!1;if(E===18){if(o&&(this.raise(g.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(a,h);h.optionalChainMember=P=!0,this.next()}if(!o&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(a,s,h,P);{const I=this.eat(0);return I||P||this.eat(16)?this.parseMember(a,s,h,I,P):this.stopParseSubscript(a,h)}}stopParseSubscript(a,s){return s.stop=!0,a}parseMember(a,s,o,h,E){const P=this.startNodeAt(s);return P.object=a,P.computed=h,h?(P.property=this.parseExpression(),this.expect(3)):this.match(139)?(a.type==="Super"&&this.raise(g.SuperPrivateField,s),this.classScope.usePrivateName(this.state.value,this.state.startLoc),P.property=this.parsePrivateName()):P.property=this.parseIdentifier(!0),o.optionalChainMember?(P.optional=E,this.finishNode(P,"OptionalMemberExpression")):this.finishNode(P,"MemberExpression")}parseBind(a,s,o,h){const E=this.startNodeAt(s);return E.object=a,this.next(),E.callee=this.parseNoCallExpr(),h.stop=!0,this.parseSubscripts(this.finishNode(E,"BindExpression"),s,o)}parseCoverCallAndAsyncArrowHead(a,s,o,h){const E=this.state.maybeInArrowParameters;let P=null;this.state.maybeInArrowParameters=!0,this.next();const I=this.startNodeAt(s);I.callee=a;const{maybeAsyncArrow:M,optionalChainMember:D}=o;M&&(this.expressionScope.enter(Ov()),P=new fi),D&&(I.optional=h),h?I.arguments=this.parseCallExpressionArguments(11):I.arguments=this.parseCallExpressionArguments(11,a.type!=="Super",I,P);let B=this.finishCallExpression(I,D);return M&&this.shouldParseAsyncArrow()&&!h?(o.stop=!0,this.checkDestructuringPrivate(P),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),B=this.parseAsyncArrowFromCallExpression(this.startNodeAt(s),B)):(M&&(this.checkExpressionErrors(P,!0),this.expressionScope.exit()),this.toReferencedArguments(B)),this.state.maybeInArrowParameters=E,B}toReferencedArguments(a,s){this.toReferencedListDeep(a.arguments,s)}parseTaggedTemplateExpression(a,s,o){const h=this.startNodeAt(s);return h.tag=a,h.quasi=this.parseTemplate(!0),o.optionalChainMember&&this.raise(g.OptionalChainingNoTemplate,s),this.finishNode(h,"TaggedTemplateExpression")}atPossibleAsyncArrow(a){return a.type==="Identifier"&&a.name==="async"&&this.state.lastTokEndLoc.index===a.end&&!this.canInsertSemicolon()&&a.end-a.start===5&&this.offsetToSourcePos(a.start)===this.state.potentialArrowAt}finishCallExpression(a,s){if(a.callee.type==="Import")if(a.arguments.length===0||a.arguments.length>2)this.raise(g.ImportCallArity,a);else for(const o of a.arguments)o.type==="SpreadElement"&&this.raise(g.ImportCallSpreadArgument,o);return this.finishNode(a,s?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(a,s,o,h){const E=[];let P=!0;const I=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(a);){if(P)P=!1;else if(this.expect(12),this.match(a)){o&&this.addTrailingCommaExtraToNode(o),this.next();break}E.push(this.parseExprListItem(!1,h,s))}return this.state.inFSharpPipelineDirectBody=I,E}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(a,s){var o;return this.resetPreviousNodeTrailingComments(s),this.expect(19),this.parseArrowExpression(a,s.arguments,!0,(o=s.extra)==null?void 0:o.trailingCommaLoc),s.innerComments&&vs(a,s.innerComments),s.callee.trailingComments&&vs(a,s.callee.trailingComments),a}parseNoCallExpr(){const a=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),a,!0)}parseExprAtom(a){let s,o=null;const{type:h}=this.state;switch(h){case 79:return this.parseSuper();case 83:return s=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(s):this.match(10)?this.optionFlags&512?this.parseImportCall(s):this.finishNode(s,"Import"):(this.raise(g.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(s,"Import"));case 78:return s=this.startNode(),this.next(),this.finishNode(s,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134: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 E=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(E)}case 0:return this.parseArrayLike(3,!0,!1,a);case 5:return this.parseObjectLike(8,!1,!1,a);case 68:return this.parseFunctionOrFunctionSent();case 26:o=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(o,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{s=this.startNode(),this.next(),s.object=null;const E=s.callee=this.parseNoCallExpr();if(E.type==="MemberExpression")return this.finishNode(s,"BindExpression");throw this.raise(g.UnsupportedBind,E)}case 139:return this.raise(g.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 E=this.getPluginOption("pipelineOperator","proposal");if(E)return this.parseTopicReference(E);this.unexpected();break}case 47:{const E=this.input.codePointAt(this.nextTokenStart());Vt(E)||E===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:{if(h===137)return this.parseDecimalLiteral(this.state.value);if(h===2||h===1)return this.parseArrayLike(this.state.type===2?4:3,!1,!0);if(h===6||h===7)return this.parseObjectLike(this.state.type===6?9:8,!1,!0)}if(ee(h)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();const E=this.state.potentialArrowAt===this.state.start,P=this.state.containsEsc,I=this.parseIdentifier();if(!P&&I.name==="async"&&!this.canInsertSemicolon()){const{type:M}=this.state;if(M===68)return this.resetPreviousNodeTrailingComments(I),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(I));if(ee(M))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(I)):I;if(M===90)return this.resetPreviousNodeTrailingComments(I),this.parseDo(this.startNodeAtNode(I),!0)}return E&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(I),[I],!1)):I}else this.unexpected()}}parseTopicReferenceThenEqualsSign(a,s){const o=this.getPluginOption("pipelineOperator","proposal");if(o)return this.state.type=a,this.state.value=s,this.state.pos--,this.state.end--,this.state.endLoc=i(this.state.endLoc,-1),this.parseTopicReference(o);this.unexpected()}parseTopicReference(a){const s=this.startNode(),o=this.state.startLoc,h=this.state.type;return this.next(),this.finishTopicReference(s,o,a,h)}finishTopicReference(a,s,o,h){if(this.testTopicReferenceConfiguration(o,s,h))return o==="hack"?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(g.PipeTopicUnbound,s),this.registerTopicReference(),this.finishNode(a,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(g.PrimaryTopicNotAllowed,s),this.registerTopicReference(),this.finishNode(a,"PipelinePrimaryTopicReference"));throw this.raise(g.PipeTopicUnconfiguredToken,s,{token:dt(h)})}testTopicReferenceConfiguration(a,s,o){switch(a){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:dt(o)}]);case"smart":return o===27;default:throw this.raise(g.PipeTopicRequiresHackPipes,s)}}parseAsyncArrowUnaryFunction(a){this.prodParam.enter(ui(!0,this.prodParam.hasYield));const s=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(g.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(a,s,!0)}parseDo(a,s){this.expectPlugin("doExpressions"),s&&this.expectPlugin("asyncDoExpressions"),a.async=s,this.next();const o=this.state.labels;return this.state.labels=[],s?(this.prodParam.enter(2),a.body=this.parseBlock(),this.prodParam.exit()):a.body=this.parseBlock(),this.state.labels=o,this.finishNode(a,"DoExpression")}parseSuper(){const a=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!(this.optionFlags&16)?this.raise(g.SuperNotAllowed,a):!this.scope.allowSuper&&!(this.optionFlags&16)&&this.raise(g.UnexpectedSuper,a),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(g.UnsupportedSuper,a),this.finishNode(a,"Super")}parsePrivateName(){const a=this.startNode(),s=this.startNodeAt(i(this.state.startLoc,1)),o=this.state.value;return this.next(),a.id=this.createIdentifier(s,o),this.finishNode(a,"PrivateName")}parseFunctionOrFunctionSent(){const a=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const s=this.createIdentifier(this.startNodeAtNode(a),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(a,s,"sent")}return this.parseFunction(a)}parseMetaProperty(a,s,o){a.meta=s;const h=this.state.containsEsc;return a.property=this.parseIdentifier(!0),(a.property.name!==o||h)&&this.raise(g.UnsupportedMetaProperty,a.property,{target:s.name,onlyValidPropertyName:o}),this.finishNode(a,"MetaProperty")}parseImportMetaProperty(a){const s=this.createIdentifier(this.startNodeAtNode(a),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(g.ImportMetaOutsideModule,s),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){const o=this.isContextual(105);if(this.expectPlugin(o?"sourcePhaseImports":"deferredImportEvaluation"),!(this.optionFlags&512))throw this.raise(g.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),a.phase=o?"source":"defer",this.parseImportCall(a)}return this.parseMetaProperty(a,s,"meta")}parseLiteralAtNode(a,s,o){return this.addExtra(o,"rawValue",a),this.addExtra(o,"raw",this.input.slice(this.offsetToSourcePos(o.start),this.state.end)),o.value=a,this.next(),this.finishNode(o,s)}parseLiteral(a,s){const o=this.startNode();return this.parseLiteralAtNode(a,s,o)}parseStringLiteral(a){return this.parseLiteral(a,"StringLiteral")}parseNumericLiteral(a){return this.parseLiteral(a,"NumericLiteral")}parseBigIntLiteral(a){return this.parseLiteral(a,"BigIntLiteral")}parseDecimalLiteral(a){return this.parseLiteral(a,"DecimalLiteral")}parseRegExpLiteral(a){const s=this.startNode();return this.addExtra(s,"raw",this.input.slice(this.offsetToSourcePos(s.start),this.state.end)),s.pattern=a.pattern,s.flags=a.flags,this.next(),this.finishNode(s,"RegExpLiteral")}parseBooleanLiteral(a){const s=this.startNode();return s.value=a,this.next(),this.finishNode(s,"BooleanLiteral")}parseNullLiteral(){const a=this.startNode();return this.next(),this.finishNode(a,"NullLiteral")}parseParenAndDistinguishExpression(a){const s=this.state.startLoc;let o;this.next(),this.expressionScope.enter(Nv());const h=this.state.maybeInArrowParameters,E=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const P=this.state.startLoc,I=[],M=new fi;let D=!0,B,V;for(;!this.match(11);){if(D)D=!1;else if(this.expect(12,M.optionalParametersLoc===null?null:M.optionalParametersLoc),this.match(11)){V=this.state.startLoc;break}if(this.match(21)){const ae=this.state.startLoc;if(B=this.state.startLoc,I.push(this.parseParenItem(this.parseRestBinding(),ae)),!this.checkCommaAfterRest(41))break}else I.push(this.parseMaybeAssignAllowIn(M,this.parseParenItem))}const K=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=h,this.state.inFSharpPipelineDirectBody=E;let Q=this.startNodeAt(s);return a&&this.shouldParseArrow(I)&&(Q=this.parseArrow(Q))?(this.checkDestructuringPrivate(M),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Q,I,!1),Q):(this.expressionScope.exit(),I.length||this.unexpected(this.state.lastTokStartLoc),V&&this.unexpected(V),B&&this.unexpected(B),this.checkExpressionErrors(M,!0),this.toReferencedListDeep(I,!0),I.length>1?(o=this.startNodeAt(P),o.expressions=I,this.finishNode(o,"SequenceExpression"),this.resetEndLocation(o,K)):o=I[0],this.wrapParenthesis(s,o))}wrapParenthesis(a,s){if(!(this.optionFlags&1024))return this.addExtra(s,"parenthesized",!0),this.addExtra(s,"parenStart",a.index),this.takeSurroundingComments(s,a.index,this.state.lastTokEndLoc.index),s;const o=this.startNodeAt(a);return o.expression=s,this.finishNode(o,"ParenthesizedExpression")}shouldParseArrow(a){return!this.canInsertSemicolon()}parseArrow(a){if(this.eat(19))return a}parseParenItem(a,s){return a}parseNewOrNewTarget(){const a=this.startNode();if(this.next(),this.match(16)){const s=this.createIdentifier(this.startNodeAtNode(a),"new");this.next();const o=this.parseMetaProperty(a,s,"target");return!this.scope.inNonArrowFunction&&!this.scope.inClass&&!(this.optionFlags&4)&&this.raise(g.UnexpectedNewTarget,o),o}return this.parseNew(a)}parseNew(a){if(this.parseNewCallee(a),this.eat(10)){const s=this.parseExprList(11);this.toReferencedList(s),a.arguments=s}else a.arguments=[];return this.finishNode(a,"NewExpression")}parseNewCallee(a){const s=this.match(83),o=this.parseNoCallExpr();a.callee=o,s&&(o.type==="Import"||o.type==="ImportExpression")&&this.raise(g.ImportCallNotNewExpression,o)}parseTemplateElement(a){const{start:s,startLoc:o,end:h,value:E}=this.state,P=s+1,I=this.startNodeAt(i(o,1));E===null&&(a||this.raise(g.InvalidEscapeSequenceTemplate,i(this.state.firstInvalidTemplateEscapePos,1)));const M=this.match(24),D=M?-1:-2,B=h+D;I.value={raw:this.input.slice(P,B).replace(/\r\n?/g,`
|
|
15
|
-
`),cooked:E===null?null:E.slice(1,D)},I.tail=M,this.next();const V=this.finishNode(I,"TemplateElement");return this.resetEndLocation(V,i(this.state.lastTokEndLoc,D)),V}parseTemplate(a){const s=this.startNode();let o=this.parseTemplateElement(a);const h=[o],E=[];for(;!o.tail;)E.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),h.push(o=this.parseTemplateElement(a));return s.expressions=E,s.quasis=h,this.finishNode(s,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(a,s,o,h){o&&this.expectPlugin("recordAndTuple");const E=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let P=!1,I=!0;const M=this.startNode();for(M.properties=[],this.next();!this.match(a);){if(I)I=!1;else if(this.expect(12),this.match(a)){this.addTrailingCommaExtraToNode(M);break}let B;s?B=this.parseBindingProperty():(B=this.parsePropertyDefinition(h),P=this.checkProto(B,o,P,h)),o&&!this.isObjectProperty(B)&&B.type!=="SpreadElement"&&this.raise(g.InvalidRecordProperty,B),B.shorthand&&this.addExtra(B,"shorthand",!0),M.properties.push(B)}this.next(),this.state.inFSharpPipelineDirectBody=E;let D="ObjectExpression";return s?D="ObjectPattern":o&&(D="RecordExpression"),this.finishNode(M,D)}addTrailingCommaExtraToNode(a){this.addExtra(a,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(a,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(a){return!a.computed&&a.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(a){let s=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(g.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)s.push(this.parseDecorator());const o=this.startNode();let h=!1,E=!1,P;if(this.match(21))return s.length&&this.unexpected(),this.parseSpread();s.length&&(o.decorators=s,s=[]),o.method=!1,a&&(P=this.state.startLoc);let I=this.eat(55);this.parsePropertyNamePrefixOperator(o);const M=this.state.containsEsc;if(this.parsePropertyName(o,a),!I&&!M&&this.maybeAsyncOrAccessorProp(o)){const{key:D}=o,B=D.name;B==="async"&&!this.hasPrecedingLineBreak()&&(h=!0,this.resetPreviousNodeTrailingComments(D),I=this.eat(55),this.parsePropertyName(o)),(B==="get"||B==="set")&&(E=!0,this.resetPreviousNodeTrailingComments(D),o.kind=B,this.match(55)&&(I=!0,this.raise(g.AccessorIsGenerator,this.state.curPosition(),{kind:B}),this.next()),this.parsePropertyName(o))}return this.parseObjPropValue(o,P,I,h,!1,E,a)}getGetterSetterExpectedParamCount(a){return a.kind==="get"?0:1}getObjectOrClassMethodParams(a){return a.params}checkGetterSetterParams(a){var s;const o=this.getGetterSetterExpectedParamCount(a),h=this.getObjectOrClassMethodParams(a);h.length!==o&&this.raise(a.kind==="get"?g.BadGetterArity:g.BadSetterArity,a),a.kind==="set"&&((s=h[h.length-1])==null?void 0:s.type)==="RestElement"&&this.raise(g.BadSetterRestParameter,a)}parseObjectMethod(a,s,o,h,E){if(E){const P=this.parseMethod(a,s,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(P),P}if(o||s||this.match(10))return h&&this.unexpected(),a.kind="method",a.method=!0,this.parseMethod(a,s,o,!1,!1,"ObjectMethod")}parseObjectProperty(a,s,o,h){if(a.shorthand=!1,this.eat(14))return a.value=o?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(h),this.finishObjectProperty(a);if(!a.computed&&a.key.type==="Identifier"){if(this.checkReservedWord(a.key.name,a.key.loc.start,!0,!1),o)a.value=this.parseMaybeDefault(s,this.cloneIdentifier(a.key));else if(this.match(29)){const E=this.state.startLoc;h!=null?h.shorthandAssignLoc===null&&(h.shorthandAssignLoc=E):this.raise(g.InvalidCoverInitializedName,E),a.value=this.parseMaybeDefault(s,this.cloneIdentifier(a.key))}else a.value=this.cloneIdentifier(a.key);return a.shorthand=!0,this.finishObjectProperty(a)}}finishObjectProperty(a){return this.finishNode(a,"ObjectProperty")}parseObjPropValue(a,s,o,h,E,P,I){const M=this.parseObjectMethod(a,o,h,E,P)||this.parseObjectProperty(a,s,E,I);return M||this.unexpected(),M}parsePropertyName(a,s){if(this.eat(0))a.computed=!0,a.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:o,value:h}=this.state;let E;if(ne(o))E=this.parseIdentifier(!0);else switch(o){case 135:E=this.parseNumericLiteral(h);break;case 134:E=this.parseStringLiteral(h);break;case 136:E=this.parseBigIntLiteral(h);break;case 139:{const P=this.state.startLoc;s!=null?s.privateKeyLoc===null&&(s.privateKeyLoc=P):this.raise(g.UnexpectedPrivateField,P),E=this.parsePrivateName();break}default:if(o===137){E=this.parseDecimalLiteral(h);break}this.unexpected()}a.key=E,o!==139&&(a.computed=!1)}}initFunction(a,s){a.id=null,a.generator=!1,a.async=s}parseMethod(a,s,o,h,E,P,I=!1){this.initFunction(a,o),a.generator=s,this.scope.enter(18|(I?64:0)|(E?32:0)),this.prodParam.enter(ui(o,a.generator)),this.parseFunctionParams(a,h);const M=this.parseFunctionBodyAndFinish(a,P,!0);return this.prodParam.exit(),this.scope.exit(),M}parseArrayLike(a,s,o,h){o&&this.expectPlugin("recordAndTuple");const E=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const P=this.startNode();return this.next(),P.elements=this.parseExprList(a,!o,h,P),this.state.inFSharpPipelineDirectBody=E,this.finishNode(P,o?"TupleExpression":"ArrayExpression")}parseArrowExpression(a,s,o,h){this.scope.enter(6);let E=ui(o,!1);!this.match(5)&&this.prodParam.hasIn&&(E|=8),this.prodParam.enter(E),this.initFunction(a,o);const P=this.state.maybeInArrowParameters;return s&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(a,s,h)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(a,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=P,this.finishNode(a,"ArrowFunctionExpression")}setArrowFunctionParameters(a,s,o){this.toAssignableList(s,o,!1),a.params=s}parseFunctionBodyAndFinish(a,s,o=!1){return this.parseFunctionBody(a,!1,o),this.finishNode(a,s)}parseFunctionBody(a,s,o=!1){const h=s&&!this.match(5);if(this.expressionScope.enter(wu()),h)a.body=this.parseMaybeAssign(),this.checkParams(a,!1,s,!1);else{const E=this.state.strict,P=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),a.body=this.parseBlock(!0,!1,I=>{const M=!this.isSimpleParamList(a.params);I&&M&&this.raise(g.IllegalLanguageModeDirective,(a.kind==="method"||a.kind==="constructor")&&a.key?a.key.loc.end:a);const D=!E&&this.state.strict;this.checkParams(a,!this.state.strict&&!s&&!o&&!M,s,D),this.state.strict&&a.id&&this.checkIdentifier(a.id,65,D)}),this.prodParam.exit(),this.state.labels=P}this.expressionScope.exit()}isSimpleParameter(a){return a.type==="Identifier"}isSimpleParamList(a){for(let s=0,o=a.length;s<o;s++)if(!this.isSimpleParameter(a[s]))return!1;return!0}checkParams(a,s,o,h=!0){const E=!s&&new Set,P={type:"FormalParameters"};for(const I of a.params)this.checkLVal(I,P,5,E,h)}parseExprList(a,s,o,h){const E=[];let P=!0;for(;!this.eat(a);){if(P)P=!1;else if(this.expect(12),this.match(a)){h&&this.addTrailingCommaExtraToNode(h),this.next();break}E.push(this.parseExprListItem(s,o))}return E}parseExprListItem(a,s,o){let h;if(this.match(12))a||this.raise(g.UnexpectedToken,this.state.curPosition(),{unexpected:","}),h=null;else if(this.match(21)){const E=this.state.startLoc;h=this.parseParenItem(this.parseSpread(s),E)}else if(this.match(17)){this.expectPlugin("partialApplication"),o||this.raise(g.UnexpectedArgumentPlaceholder,this.state.startLoc);const E=this.startNode();this.next(),h=this.finishNode(E,"ArgumentPlaceholder")}else h=this.parseMaybeAssignAllowIn(s,this.parseParenItem);return h}parseIdentifier(a){const s=this.startNode(),o=this.parseIdentifierName(a);return this.createIdentifier(s,o)}createIdentifier(a,s){return a.name=s,a.loc.identifierName=s,this.finishNode(a,"Identifier")}parseIdentifierName(a){let s;const{startLoc:o,type:h}=this.state;ne(h)?s=this.state.value:this.unexpected();const E=pe(h);return a?E&&this.replaceToken(132):this.checkReservedWord(s,o,E,!1),this.next(),s}checkReservedWord(a,s,o,h){if(a.length>10||!rv(a))return;if(o&&Zg(a)){this.raise(g.UnexpectedKeyword,s,{keyword:a});return}if((this.state.strict?h?fu:hu:uu)(a,this.inModule)){this.raise(g.UnexpectedReservedWord,s,{reservedWord:a});return}else if(a==="yield"){if(this.prodParam.hasYield){this.raise(g.YieldBindingIdentifier,s);return}}else if(a==="await"){if(this.prodParam.hasAwait){this.raise(g.AwaitBindingIdentifier,s);return}if(this.scope.inStaticBlock){this.raise(g.AwaitBindingIdentifierInStaticBlock,s);return}this.expressionScope.recordAsyncArrowParametersError(s)}else if(a==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(g.ArgumentsInClass,s);return}}recordAwaitIfAllowed(){const a=this.prodParam.hasAwait||this.optionFlags&1&&!this.scope.inFunction;return a&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),a}parseAwait(a){const s=this.startNodeAt(a);return this.expressionScope.recordParameterInitializerError(g.AwaitExpressionFormalParameter,s),this.eat(55)&&this.raise(g.ObsoleteAwaitStar,s),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(s.argument=this.parseMaybeUnary(null,!0)),this.finishNode(s,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;const{type:a}=this.state;return a===53||a===10||a===0||Ur(a)||a===102&&!this.state.containsEsc||a===138||a===56||this.hasPlugin("v8intrinsic")&&a===54}parseYield(a){const s=this.startNodeAt(a);this.expressionScope.recordParameterInitializerError(g.YieldInParameter,s);let o=!1,h=null;if(!this.hasPrecedingLineBreak())switch(o=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!o)break;default:h=this.parseMaybeAssign()}return s.delegate=o,s.argument=h,this.finishNode(s,"YieldExpression")}parseImportCall(a){if(this.next(),a.source=this.parseMaybeAssignAllowIn(),a.options=null,this.eat(12)&&!this.match(11)&&(a.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(g.ImportCallArity,a)}return this.expect(11),this.finishNode(a,"ImportExpression")}checkPipelineAtInfixOperator(a,s){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&a.type==="SequenceExpression"&&this.raise(g.PipelineHeadSequenceExpression,s)}parseSmartPipelineBodyInStyle(a,s){if(this.isSimpleReference(a)){const o=this.startNodeAt(s);return o.callee=a,this.finishNode(o,"PipelineBareFunction")}else{const o=this.startNodeAt(s);return this.checkSmartPipeTopicBodyEarlyErrors(s),o.expression=a,this.finishNode(o,"PipelineTopicExpression")}}isSimpleReference(a){switch(a.type){case"MemberExpression":return!a.computed&&this.isSimpleReference(a.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(a){if(this.match(19))throw this.raise(g.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(g.PipelineTopicUnused,a)}withTopicBindingContext(a){const s=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return a()}finally{this.state.topicContext=s}}withSmartMixTopicForbiddingContext(a){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){const s=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return a()}finally{this.state.topicContext=s}}else return a()}withSoloAwaitPermittingContext(a){const s=this.state.soloAwait;this.state.soloAwait=!0;try{return a()}finally{this.state.soloAwait=s}}allowInAnd(a){const s=this.prodParam.currentFlags();if(8&~s){this.prodParam.enter(s|8);try{return a()}finally{this.prodParam.exit()}}return a()}disallowInAnd(a){const s=this.prodParam.currentFlags();if(8&s){this.prodParam.enter(s&-9);try{return a()}finally{this.prodParam.exit()}}return a()}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(a){const s=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const o=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const h=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,a);return this.state.inFSharpPipelineDirectBody=o,h}parseModuleExpression(){this.expectPlugin("moduleBlocks");const a=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const s=this.startNodeAt(this.state.endLoc);this.next();const o=this.initializeScopes(!0);this.enterInitialScopes();try{a.body=this.parseProgram(s,8,"module")}finally{o()}return this.finishNode(a,"ModuleExpression")}parsePropertyNamePrefixOperator(a){}}const Fa={kind:1},Gv={kind:2},Xv=/[\uD800-\uDFFF]/u,Ba=/in(?:stanceof)?/y;function Jv(w,a,s){for(let o=0;o<w.length;o++){const h=w[o],{type:E}=h;if(typeof E=="number"){{if(E===139){const{loc:P,start:I,value:M,end:D}=h,B=I+1,V=i(P.start,1);w.splice(o,1,new tr({type:Pt(27),value:"#",start:I,end:B,startLoc:P.start,endLoc:V}),new tr({type:Pt(132),value:M,start:B,end:D,startLoc:V,endLoc:P.end})),o++;continue}if(Ur(E)){const{loc:P,start:I,value:M,end:D}=h,B=I+1,V=i(P.start,1);let K;a.charCodeAt(I-s)===96?K=new tr({type:Pt(22),value:"`",start:I,end:B,startLoc:P.start,endLoc:V}):K=new tr({type:Pt(8),value:"}",start:I,end:B,startLoc:P.start,endLoc:V});let Q,ae,me,Me;E===24?(ae=D-1,me=i(P.end,-1),Q=M===null?null:M.slice(1,-1),Me=new tr({type:Pt(22),value:"`",start:ae,end:D,startLoc:me,endLoc:P.end})):(ae=D-2,me=i(P.end,-2),Q=M===null?null:M.slice(1,-2),Me=new tr({type:Pt(23),value:"${",start:ae,end:D,startLoc:me,endLoc:P.end})),w.splice(o,1,K,new tr({type:Pt(20),value:Q,start:B,end:ae,startLoc:V,endLoc:me}),Me),o+=2;continue}}h.type=Pt(E)}}return w}class Kv extends Hv{parseTopLevel(a,s){return a.program=this.parseProgram(s),a.comments=this.comments,this.optionFlags&256&&(a.tokens=Jv(this.tokens,this.input,this.startIndex)),this.finishNode(a,"File")}parseProgram(a,s=140,o=this.options.sourceType){if(a.sourceType=o,a.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(a,!0,!0,s),this.inModule){if(!(this.optionFlags&64)&&this.scope.undefinedExports.size>0)for(const[E,P]of Array.from(this.scope.undefinedExports))this.raise(g.ModuleExportUndefined,P,{localName:E});this.addExtra(a,"topLevelAwait",this.state.hasTopLevelAwait)}let h;return s===140?h=this.finishNode(a,"Program"):h=this.finishNodeAt(a,"Program",i(this.state.startLoc,-1)),h}stmtToDirective(a){const s=this.castNodeTo(a,"Directive"),o=this.castNodeTo(a.expression,"DirectiveLiteral"),h=o.value,E=this.input.slice(this.offsetToSourcePos(o.start),this.offsetToSourcePos(o.end)),P=o.value=E.slice(1,-1);return this.addExtra(o,"raw",E),this.addExtra(o,"rawValue",P),this.addExtra(o,"expressionValue",h),s.value=o,delete a.expression,s}parseInterpreterDirective(){if(!this.match(28))return null;const a=this.startNode();return a.value=this.state.value,this.next(),this.finishNode(a,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}chStartsBindingIdentifier(a,s){if(Vt(a)){if(Ba.lastIndex=s,Ba.test(this.input)){const o=this.codePointAtPos(Ba.lastIndex);if(!qr(o)&&o!==92)return!1}return!0}else return a===92}chStartsBindingPattern(a){return a===91||a===123}hasFollowingBindingAtom(){const a=this.nextTokenStart(),s=this.codePointAtPos(a);return this.chStartsBindingPattern(s)||this.chStartsBindingIdentifier(s,a)}hasInLineFollowingBindingIdentifierOrBrace(){const a=this.nextTokenInLineStart(),s=this.codePointAtPos(a);return s===123||this.chStartsBindingIdentifier(s,a)}allowsForUsing(){const{type:a,containsEsc:s,end:o}=this.lookahead();if(a===102&&!s){const h=this.lookaheadCharCodeSince(o);if(h!==61&&h!==58&&h!==59)return!1}return ee(a)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):!1}startsAwaitUsing(){let a=this.nextTokenInLineStart();if(this.isUnparsedContextual(a,"using")){a=this.nextTokenInLineStartSince(a+5);const s=this.codePointAtPos(a);if(this.chStartsBindingIdentifier(s,a))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(a=!1){let s=0;return this.options.annexB&&!this.state.strict&&(s|=4,a&&(s|=8)),this.parseStatementLike(s)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(a){let s=null;return this.match(26)&&(s=this.parseDecorators(!0)),this.parseStatementContent(a,s)}parseStatementContent(a,s){const o=this.state.type,h=this.startNode(),E=!!(a&2),P=!!(a&4),I=a&1;switch(o){case 60:return this.parseBreakContinueStatement(h,!0);case 63:return this.parseBreakContinueStatement(h,!1);case 64:return this.parseDebuggerStatement(h);case 90:return this.parseDoWhileStatement(h);case 91:return this.parseForStatement(h);case 68:if(this.lookaheadCharCode()===46)break;return P||this.raise(this.state.strict?g.StrictFunction:this.options.annexB?g.SloppyFunctionAnnexB:g.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(h,!1,!E&&P);case 80:return E||this.unexpected(),this.parseClass(this.maybeTakeDecorators(s,h),!0);case 69:return this.parseIfStatement(h);case 70:return this.parseReturnStatement(h);case 71:return this.parseSwitchStatement(h);case 72:return this.parseThrowStatement(h);case 73:return this.parseTryStatement(h);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?E||this.raise(g.UnexpectedLexicalDeclaration,h):this.raise(g.AwaitUsingNotInAsyncContext,h),this.next(),this.parseVarStatement(h,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(g.UnexpectedUsingDeclaration,this.state.startLoc):E||this.raise(g.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(h,"using");case 100:{if(this.state.containsEsc)break;const B=this.nextTokenStart(),V=this.codePointAtPos(B);if(V!==91&&(!E&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(V,B)&&V!==123))break}case 75:E||this.raise(g.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const B=this.state.value;return this.parseVarStatement(h,B)}case 92:return this.parseWhileStatement(h);case 76:return this.parseWithStatement(h);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(h);case 83:{const B=this.lookaheadCharCode();if(B===40||B===46)break}case 82:{!(this.optionFlags&8)&&!I&&this.raise(g.UnexpectedImportExport,this.state.startLoc),this.next();let B;return o===83?B=this.parseImport(h):B=this.parseExport(h,s),this.assertModuleNodeAllowed(B),B}default:if(this.isAsyncFunction())return E||this.raise(g.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(h,!0,!E&&P)}const M=this.state.value,D=this.parseExpression();return ee(o)&&D.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(h,M,D,a):this.parseExpressionStatement(h,D,s)}assertModuleNodeAllowed(a){!(this.optionFlags&8)&&!this.inModule&&this.raise(g.ImportOutsideModule,a)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(a,s,o){if(a){var h;(h=s.decorators)!=null&&h.length?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(g.DecoratorsBeforeAfterExport,s.decorators[0]),s.decorators.unshift(...a)):s.decorators=a,this.resetStartLocationFromNode(s,a[0]),o&&this.resetStartLocationFromNode(o,s)}return s}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(a){const s=[];do s.push(this.parseDecorator());while(this.match(26));if(this.match(82))a||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(g.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(g.UnexpectedLeadingDecorator,this.state.startLoc);return s}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const a=this.startNode();if(this.next(),this.hasPlugin("decorators")){const s=this.state.startLoc;let o;if(this.match(10)){const h=this.state.startLoc;this.next(),o=this.parseExpression(),this.expect(11),o=this.wrapParenthesis(h,o);const E=this.state.startLoc;a.expression=this.parseMaybeDecoratorArguments(o,h),this.getPluginOption("decorators","allowCallParenthesized")===!1&&a.expression!==o&&this.raise(g.DecoratorArgumentsOutsideParentheses,E)}else{for(o=this.parseIdentifier(!1);this.eat(16);){const h=this.startNodeAt(s);h.object=o,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),h.property=this.parsePrivateName()):h.property=this.parseIdentifier(!0),h.computed=!1,o=this.finishNode(h,"MemberExpression")}a.expression=this.parseMaybeDecoratorArguments(o,s)}}else a.expression=this.parseExprSubscripts();return this.finishNode(a,"Decorator")}parseMaybeDecoratorArguments(a,s){if(this.eat(10)){const o=this.startNodeAt(s);return o.callee=a,o.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(o.arguments),this.finishNode(o,"CallExpression")}return a}parseBreakContinueStatement(a,s){return this.next(),this.isLineTerminator()?a.label=null:(a.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(a,s),this.finishNode(a,s?"BreakStatement":"ContinueStatement")}verifyBreakContinue(a,s){let o;for(o=0;o<this.state.labels.length;++o){const h=this.state.labels[o];if((a.label==null||h.name===a.label.name)&&(h.kind!=null&&(s||h.kind===1)||a.label&&s))break}if(o===this.state.labels.length){const h=s?"BreakStatement":"ContinueStatement";this.raise(g.IllegalBreakContinue,a,{type:h})}}parseDebuggerStatement(a){return this.next(),this.semicolon(),this.finishNode(a,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const a=this.parseExpression();return this.expect(11),a}parseDoWhileStatement(a){return this.next(),this.state.labels.push(Fa),a.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),a.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(a,"DoWhileStatement")}parseForStatement(a){this.next(),this.state.labels.push(Fa);let s=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(s=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return s!==null&&this.unexpected(s),this.parseFor(a,null);const o=this.isContextual(100);{const M=this.isContextual(96)&&this.startsAwaitUsing(),D=M||this.isContextual(107)&&this.allowsForUsing(),B=o&&this.hasFollowingBindingAtom()||D;if(this.match(74)||this.match(75)||B){const V=this.startNode();let K;M?(K="await using",this.recordAwaitIfAllowed()||this.raise(g.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):K=this.state.value,this.next(),this.parseVar(V,!0,K);const Q=this.finishNode(V,"VariableDeclaration"),ae=this.match(58);return ae&&D&&this.raise(g.ForInUsing,Q),(ae||this.isContextual(102))&&Q.declarations.length===1?this.parseForIn(a,Q,s):(s!==null&&this.unexpected(s),this.parseFor(a,Q))}}const h=this.isContextual(95),E=new fi,P=this.parseExpression(!0,E),I=this.isContextual(102);if(I&&(o&&this.raise(g.ForOfLet,P),s===null&&h&&P.type==="Identifier"&&this.raise(g.ForOfAsync,P)),I||this.match(58)){this.checkDestructuringPrivate(E),this.toAssignable(P,!0);const M=I?"ForOfStatement":"ForInStatement";return this.checkLVal(P,{type:M}),this.parseForIn(a,P,s)}else this.checkExpressionErrors(E,!0);return s!==null&&this.unexpected(s),this.parseFor(a,P)}parseFunctionStatement(a,s,o){return this.next(),this.parseFunction(a,1|(o?2:0)|(s?8:0))}parseIfStatement(a){return this.next(),a.test=this.parseHeaderExpression(),a.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),a.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(a,"IfStatement")}parseReturnStatement(a){return!this.prodParam.hasReturn&&!(this.optionFlags&2)&&this.raise(g.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?a.argument=null:(a.argument=this.parseExpression(),this.semicolon()),this.finishNode(a,"ReturnStatement")}parseSwitchStatement(a){this.next(),a.discriminant=this.parseHeaderExpression();const s=a.cases=[];this.expect(5),this.state.labels.push(Gv),this.scope.enter(0);let o;for(let h;!this.match(8);)if(this.match(61)||this.match(65)){const E=this.match(61);o&&this.finishNode(o,"SwitchCase"),s.push(o=this.startNode()),o.consequent=[],this.next(),E?o.test=this.parseExpression():(h&&this.raise(g.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),h=!0,o.test=null),this.expect(14)}else o?o.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),o&&this.finishNode(o,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(a,"SwitchStatement")}parseThrowStatement(a){return this.next(),this.hasPrecedingLineBreak()&&this.raise(g.NewlineAfterThrow,this.state.lastTokEndLoc),a.argument=this.parseExpression(),this.semicolon(),this.finishNode(a,"ThrowStatement")}parseCatchClauseParam(){const a=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&a.type==="Identifier"?8:0),this.checkLVal(a,{type:"CatchClause"},9),a}parseTryStatement(a){if(this.next(),a.block=this.parseBlock(),a.handler=null,this.match(62)){const s=this.startNode();this.next(),this.match(10)?(this.expect(10),s.param=this.parseCatchClauseParam(),this.expect(11)):(s.param=null,this.scope.enter(0)),s.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),a.handler=this.finishNode(s,"CatchClause")}return a.finalizer=this.eat(67)?this.parseBlock():null,!a.handler&&!a.finalizer&&this.raise(g.NoCatchOrFinally,a),this.finishNode(a,"TryStatement")}parseVarStatement(a,s,o=!1){return this.next(),this.parseVar(a,!1,s,o),this.semicolon(),this.finishNode(a,"VariableDeclaration")}parseWhileStatement(a){return this.next(),a.test=this.parseHeaderExpression(),this.state.labels.push(Fa),a.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(a,"WhileStatement")}parseWithStatement(a){return this.state.strict&&this.raise(g.StrictWith,this.state.startLoc),this.next(),a.object=this.parseHeaderExpression(),a.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(a,"WithStatement")}parseEmptyStatement(a){return this.next(),this.finishNode(a,"EmptyStatement")}parseLabeledStatement(a,s,o,h){for(const P of this.state.labels)P.name===s&&this.raise(g.LabelRedeclaration,o,{labelName:s});const E=Et(this.state.type)?1:this.match(71)?2:null;for(let P=this.state.labels.length-1;P>=0;P--){const I=this.state.labels[P];if(I.statementStart===a.start)I.statementStart=this.sourceToOffsetPos(this.state.start),I.kind=E;else break}return this.state.labels.push({name:s,kind:E,statementStart:this.sourceToOffsetPos(this.state.start)}),a.body=h&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),a.label=o,this.finishNode(a,"LabeledStatement")}parseExpressionStatement(a,s,o){return a.expression=s,this.semicolon(),this.finishNode(a,"ExpressionStatement")}parseBlock(a=!1,s=!0,o){const h=this.startNode();return a&&this.state.strictErrors.clear(),this.expect(5),s&&this.scope.enter(0),this.parseBlockBody(h,a,!1,8,o),s&&this.scope.exit(),this.finishNode(h,"BlockStatement")}isValidDirective(a){return a.type==="ExpressionStatement"&&a.expression.type==="StringLiteral"&&!a.expression.extra.parenthesized}parseBlockBody(a,s,o,h,E){const P=a.body=[],I=a.directives=[];this.parseBlockOrModuleBlockBody(P,s?I:void 0,o,h,E)}parseBlockOrModuleBlockBody(a,s,o,h,E){const P=this.state.strict;let I=!1,M=!1;for(;!this.match(h);){const D=o?this.parseModuleItem():this.parseStatementListItem();if(s&&!M){if(this.isValidDirective(D)){const B=this.stmtToDirective(D);s.push(B),!I&&B.value.value==="use strict"&&(I=!0,this.setStrict(!0));continue}M=!0,this.state.strictErrors.clear()}a.push(D)}E==null||E.call(this,I),P||this.setStrict(!1),this.next()}parseFor(a,s){return a.init=s,this.semicolon(!1),a.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),a.update=this.match(11)?null:this.parseExpression(),this.expect(11),a.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(a,"ForStatement")}parseForIn(a,s,o){const h=this.match(58);return this.next(),h?o!==null&&this.unexpected(o):a.await=o!==null,s.type==="VariableDeclaration"&&s.declarations[0].init!=null&&(!h||!this.options.annexB||this.state.strict||s.kind!=="var"||s.declarations[0].id.type!=="Identifier")&&this.raise(g.ForInOfLoopInitializer,s,{type:h?"ForInStatement":"ForOfStatement"}),s.type==="AssignmentPattern"&&this.raise(g.InvalidLhs,s,{ancestor:{type:"ForStatement"}}),a.left=s,a.right=h?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),a.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(a,h?"ForInStatement":"ForOfStatement")}parseVar(a,s,o,h=!1){const E=a.declarations=[];for(a.kind=o;;){const P=this.startNode();if(this.parseVarId(P,o),P.init=this.eat(29)?s?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,P.init===null&&!h&&(P.id.type!=="Identifier"&&!(s&&(this.match(58)||this.isContextual(102)))?this.raise(g.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(o==="const"||o==="using"||o==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(g.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:o})),E.push(this.finishNode(P,"VariableDeclarator")),!this.eat(12))break}return a}parseVarId(a,s){const o=this.parseBindingAtom();(s==="using"||s==="await using")&&(o.type==="ArrayPattern"||o.type==="ObjectPattern")&&this.raise(g.UsingDeclarationHasBindingPattern,o.loc.start),this.checkLVal(o,{type:"VariableDeclarator"},s==="var"?5:8201),a.id=o}parseAsyncFunctionExpression(a){return this.parseFunction(a,8)}parseFunction(a,s=0){const o=s&2,h=!!(s&1),E=h&&!(s&4),P=!!(s&8);this.initFunction(a,P),this.match(55)&&(o&&this.raise(g.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),a.generator=!0),h&&(a.id=this.parseFunctionId(E));const I=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(ui(P,a.generator)),h||(a.id=this.parseFunctionId()),this.parseFunctionParams(a,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(a,h?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),h&&!o&&this.registerFunctionStatementId(a),this.state.maybeInArrowParameters=I,a}parseFunctionId(a){return a||ee(this.state.type)?this.parseIdentifier():null}parseFunctionParams(a,s){this.expect(10),this.expressionScope.enter(Iv()),a.params=this.parseBindingList(11,41,2|(s?4:0)),this.expressionScope.exit()}registerFunctionStatementId(a){a.id&&this.scope.declareName(a.id.name,!this.options.annexB||this.state.strict||a.generator||a.async?this.scope.treatFunctionsAsVar?5:8201:17,a.id.loc.start)}parseClass(a,s,o){this.next();const h=this.state.strict;return this.state.strict=!0,this.parseClassId(a,s,o),this.parseClassSuper(a),a.body=this.parseClassBody(!!a.superClass,h),this.finishNode(a,s?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(a){return a.type==="Identifier"&&a.name==="constructor"||a.type==="StringLiteral"&&a.value==="constructor"}isNonstaticConstructor(a){return!a.computed&&!a.static&&this.nameIsConstructor(a.key)}parseClassBody(a,s){this.classScope.enter();const o={hadConstructor:!1,hadSuperClass:a};let h=[];const E=this.startNode();if(E.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(h.length>0)throw this.raise(g.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){h.push(this.parseDecorator());continue}const P=this.startNode();h.length&&(P.decorators=h,this.resetStartLocationFromNode(P,h[0]),h=[]),this.parseClassMember(E,P,o),P.kind==="constructor"&&P.decorators&&P.decorators.length>0&&this.raise(g.DecoratorConstructor,P)}}),this.state.strict=s,this.next(),h.length)throw this.raise(g.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(E,"ClassBody")}parseClassMemberFromModifier(a,s){const o=this.parseIdentifier(!0);if(this.isClassMethod()){const h=s;return h.kind="method",h.computed=!1,h.key=o,h.static=!1,this.pushClassMethod(a,h,!1,!1,!1,!1),!0}else if(this.isClassProperty()){const h=s;return h.computed=!1,h.key=o,h.static=!1,a.body.push(this.parseClassProperty(h)),!0}return this.resetPreviousNodeTrailingComments(o),!1}parseClassMember(a,s,o){const h=this.isContextual(106);if(h){if(this.parseClassMemberFromModifier(a,s))return;if(this.eat(5)){this.parseClassStaticBlock(a,s);return}}this.parseClassMemberWithIsStatic(a,s,o,h)}parseClassMemberWithIsStatic(a,s,o,h){const E=s,P=s,I=s,M=s,D=s,B=E,V=E;if(s.static=h,this.parsePropertyNamePrefixOperator(s),this.eat(55)){B.kind="method";const ge=this.match(139);if(this.parseClassElementName(B),ge){this.pushClassPrivateMethod(a,P,!0,!1);return}this.isNonstaticConstructor(E)&&this.raise(g.ConstructorIsGenerator,E.key),this.pushClassMethod(a,E,!0,!1,!1,!1);return}const K=!this.state.containsEsc&&ee(this.state.type),Q=this.parseClassElementName(s),ae=K?Q.name:null,me=this.isPrivateName(Q),Me=this.state.startLoc;if(this.parsePostMemberNameModifiers(V),this.isClassMethod()){if(B.kind="method",me){this.pushClassPrivateMethod(a,P,!1,!1);return}const ge=this.isNonstaticConstructor(E);let Pe=!1;ge&&(E.kind="constructor",o.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(g.DuplicateConstructor,Q),ge&&this.hasPlugin("typescript")&&s.override&&this.raise(g.OverrideOnConstructor,Q),o.hadConstructor=!0,Pe=o.hadSuperClass),this.pushClassMethod(a,E,!1,!1,ge,Pe)}else if(this.isClassProperty())me?this.pushClassPrivateProperty(a,M):this.pushClassProperty(a,I);else if(ae==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(Q);const ge=this.eat(55);V.optional&&this.unexpected(Me),B.kind="method";const Pe=this.match(139);this.parseClassElementName(B),this.parsePostMemberNameModifiers(V),Pe?this.pushClassPrivateMethod(a,P,ge,!0):(this.isNonstaticConstructor(E)&&this.raise(g.ConstructorIsAsync,E.key),this.pushClassMethod(a,E,ge,!0,!1,!1))}else if((ae==="get"||ae==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(Q),B.kind=ae;const ge=this.match(139);this.parseClassElementName(E),ge?this.pushClassPrivateMethod(a,P,!1,!1):(this.isNonstaticConstructor(E)&&this.raise(g.ConstructorIsAccessor,E.key),this.pushClassMethod(a,E,!1,!1,!1,!1)),this.checkGetterSetterParams(E)}else if(ae==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Q);const ge=this.match(139);this.parseClassElementName(I),this.pushClassAccessorProperty(a,D,ge)}else this.isLineTerminator()?me?this.pushClassPrivateProperty(a,M):this.pushClassProperty(a,I):this.unexpected()}parseClassElementName(a){const{type:s,value:o}=this.state;if((s===132||s===134)&&a.static&&o==="prototype"&&this.raise(g.StaticPrototype,this.state.startLoc),s===139){o==="constructor"&&this.raise(g.ConstructorClassPrivateField,this.state.startLoc);const h=this.parsePrivateName();return a.key=h,h}return this.parsePropertyName(a),a.key}parseClassStaticBlock(a,s){var o;this.scope.enter(208);const h=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const E=s.body=[];this.parseBlockOrModuleBlockBody(E,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=h,a.body.push(this.finishNode(s,"StaticBlock")),(o=s.decorators)!=null&&o.length&&this.raise(g.DecoratorStaticBlock,s)}pushClassProperty(a,s){!s.computed&&this.nameIsConstructor(s.key)&&this.raise(g.ConstructorClassField,s.key),a.body.push(this.parseClassProperty(s))}pushClassPrivateProperty(a,s){const o=this.parseClassPrivateProperty(s);a.body.push(o),this.classScope.declarePrivateName(this.getPrivateNameSV(o.key),0,o.key.loc.start)}pushClassAccessorProperty(a,s,o){!o&&!s.computed&&this.nameIsConstructor(s.key)&&this.raise(g.ConstructorClassField,s.key);const h=this.parseClassAccessorProperty(s);a.body.push(h),o&&this.classScope.declarePrivateName(this.getPrivateNameSV(h.key),0,h.key.loc.start)}pushClassMethod(a,s,o,h,E,P){a.body.push(this.parseMethod(s,o,h,E,P,"ClassMethod",!0))}pushClassPrivateMethod(a,s,o,h){const E=this.parseMethod(s,o,h,!1,!1,"ClassPrivateMethod",!0);a.body.push(E);const P=E.kind==="get"?E.static?6:2:E.kind==="set"?E.static?5:1:0;this.declareClassPrivateMethodInScope(E,P)}declareClassPrivateMethodInScope(a,s){this.classScope.declarePrivateName(this.getPrivateNameSV(a.key),s,a.key.loc.start)}parsePostMemberNameModifiers(a){}parseClassPrivateProperty(a){return this.parseInitializer(a),this.semicolon(),this.finishNode(a,"ClassPrivateProperty")}parseClassProperty(a){return this.parseInitializer(a),this.semicolon(),this.finishNode(a,"ClassProperty")}parseClassAccessorProperty(a){return this.parseInitializer(a),this.semicolon(),this.finishNode(a,"ClassAccessorProperty")}parseInitializer(a){this.scope.enter(80),this.expressionScope.enter(wu()),this.prodParam.enter(0),a.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(a,s,o,h=8331){if(ee(this.state.type))a.id=this.parseIdentifier(),s&&this.declareNameFromIdentifier(a.id,h);else if(o||!s)a.id=null;else throw this.raise(g.MissingClassName,this.state.startLoc)}parseClassSuper(a){a.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(a,s){const o=this.parseMaybeImportPhase(a,!0),h=this.maybeParseExportDefaultSpecifier(a,o),E=!h||this.eat(12),P=E&&this.eatExportStar(a),I=P&&this.maybeParseExportNamespaceSpecifier(a),M=E&&(!I||this.eat(12)),D=h||P;if(P&&!I){if(h&&this.unexpected(),s)throw this.raise(g.UnsupportedDecoratorExport,a);return this.parseExportFrom(a,!0),this.sawUnambiguousESM=!0,this.finishNode(a,"ExportAllDeclaration")}const B=this.maybeParseExportNamedSpecifiers(a);h&&E&&!P&&!B&&this.unexpected(null,5),I&&M&&this.unexpected(null,98);let V;if(D||B){if(V=!1,s)throw this.raise(g.UnsupportedDecoratorExport,a);this.parseExportFrom(a,D)}else V=this.maybeParseExportDeclaration(a);if(D||B||V){var K;const Q=a;if(this.checkExport(Q,!0,!1,!!Q.source),((K=Q.declaration)==null?void 0:K.type)==="ClassDeclaration")this.maybeTakeDecorators(s,Q.declaration,Q);else if(s)throw this.raise(g.UnsupportedDecoratorExport,a);return this.sawUnambiguousESM=!0,this.finishNode(Q,"ExportNamedDeclaration")}if(this.eat(65)){const Q=a,ae=this.parseExportDefaultExpression();if(Q.declaration=ae,ae.type==="ClassDeclaration")this.maybeTakeDecorators(s,ae,Q);else if(s)throw this.raise(g.UnsupportedDecoratorExport,a);return this.checkExport(Q,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(Q,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(a){return this.eat(55)}maybeParseExportDefaultSpecifier(a,s){if(s||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",s==null?void 0:s.loc.start);const o=s||this.parseIdentifier(!0),h=this.startNodeAtNode(o);return h.exported=o,a.specifiers=[this.finishNode(h,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(a){if(this.isContextual(93)){var s,o;(o=(s=a).specifiers)!=null||(s.specifiers=[]);const h=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),h.exported=this.parseModuleExportName(),a.specifiers.push(this.finishNode(h,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(a){if(this.match(5)){const s=a;s.specifiers||(s.specifiers=[]);const o=s.exportKind==="type";return s.specifiers.push(...this.parseExportSpecifiers(o)),s.source=null,this.hasPlugin("importAssertions")?s.assertions=[]:s.attributes=[],s.declaration=null,!0}return!1}maybeParseExportDeclaration(a){return this.shouldParseExportDeclaration()?(a.specifiers=[],a.source=null,this.hasPlugin("importAssertions")?a.assertions=[]:a.attributes=[],a.declaration=this.parseExportDeclaration(a),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;const a=this.nextTokenInLineStart();return this.isUnparsedContextual(a,"function")}parseExportDefaultExpression(){const a=this.startNode();if(this.match(68))return this.next(),this.parseFunction(a,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(a,13);if(this.match(80))return this.parseClass(a,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(g.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(g.UnsupportedDefaultExport,this.state.startLoc);const s=this.parseMaybeAssignAllowIn();return this.semicolon(),s}parseExportDeclaration(a){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:a}=this.state;if(ee(a)){if(a===95&&!this.state.containsEsc||a===100)return!1;if((a===130||a===129)&&!this.state.containsEsc){const{type:h}=this.lookahead();if(ee(h)&&h!==98||h===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const s=this.nextTokenStart(),o=this.isUnparsedContextual(s,"from");if(this.input.charCodeAt(s)===44||ee(this.state.type)&&o)return!0;if(this.match(65)&&o){const h=this.input.charCodeAt(this.nextTokenStartSince(s+4));return h===34||h===39}return!1}parseExportFrom(a,s){this.eatContextual(98)?(a.source=this.parseImportSource(),this.checkExport(a),this.maybeParseImportAttributes(a),this.checkJSONModuleImport(a)):s&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:a}=this.state;return a===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(g.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)?(this.raise(g.UsingDeclarationExport,this.state.startLoc),!0):this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(g.UsingDeclarationExport,this.state.startLoc),!0):a===74||a===75||a===68||a===80||this.isLet()||this.isAsyncFunction()}checkExport(a,s,o,h){if(s){var E;if(o){if(this.checkDuplicateExports(a,"default"),this.hasPlugin("exportDefaultFrom")){var P;const I=a.declaration;I.type==="Identifier"&&I.name==="from"&&I.end-I.start===4&&!((P=I.extra)!=null&&P.parenthesized)&&this.raise(g.ExportDefaultFromAsIdentifier,I)}}else if((E=a.specifiers)!=null&&E.length)for(const I of a.specifiers){const{exported:M}=I,D=M.type==="Identifier"?M.name:M.value;if(this.checkDuplicateExports(I,D),!h&&I.local){const{local:B}=I;B.type!=="Identifier"?this.raise(g.ExportBindingIsString,I,{localName:B.value,exportName:D}):(this.checkReservedWord(B.name,B.loc.start,!0,!1),this.scope.checkLocalExport(B))}}else if(a.declaration){const I=a.declaration;if(I.type==="FunctionDeclaration"||I.type==="ClassDeclaration"){const{id:M}=I;if(!M)throw new Error("Assertion failure");this.checkDuplicateExports(a,M.name)}else if(I.type==="VariableDeclaration")for(const M of I.declarations)this.checkDeclaration(M.id)}}}checkDeclaration(a){if(a.type==="Identifier")this.checkDuplicateExports(a,a.name);else if(a.type==="ObjectPattern")for(const s of a.properties)this.checkDeclaration(s);else if(a.type==="ArrayPattern")for(const s of a.elements)s&&this.checkDeclaration(s);else a.type==="ObjectProperty"?this.checkDeclaration(a.value):a.type==="RestElement"?this.checkDeclaration(a.argument):a.type==="AssignmentPattern"&&this.checkDeclaration(a.left)}checkDuplicateExports(a,s){this.exportedIdentifiers.has(s)&&(s==="default"?this.raise(g.DuplicateDefaultExport,a):this.raise(g.DuplicateExport,a,{exportName:s})),this.exportedIdentifiers.add(s)}parseExportSpecifiers(a){const s=[];let o=!0;for(this.expect(5);!this.eat(8);){if(o)o=!1;else if(this.expect(12),this.eat(8))break;const h=this.isContextual(130),E=this.match(134),P=this.startNode();P.local=this.parseModuleExportName(),s.push(this.parseExportSpecifier(P,E,a,h))}return s}parseExportSpecifier(a,s,o,h){return this.eatContextual(93)?a.exported=this.parseModuleExportName():s?a.exported=this.cloneStringLiteral(a.local):a.exported||(a.exported=this.cloneIdentifier(a.local)),this.finishNode(a,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){const a=this.parseStringLiteral(this.state.value),s=Xv.exec(a.value);return s&&this.raise(g.ModuleExportNameHasLoneSurrogate,a,{surrogateCharCode:s[0].charCodeAt(0)}),a}return this.parseIdentifier(!0)}isJSONModuleImport(a){return a.assertions!=null?a.assertions.some(({key:s,value:o})=>o.value==="json"&&(s.type==="Identifier"?s.name==="type":s.value==="type")):!1}checkImportReflection(a){const{specifiers:s}=a,o=s.length===1?s[0].type:null;if(a.phase==="source")o!=="ImportDefaultSpecifier"&&this.raise(g.SourcePhaseImportRequiresDefault,s[0].loc.start);else if(a.phase==="defer")o!=="ImportNamespaceSpecifier"&&this.raise(g.DeferImportRequiresNamespace,s[0].loc.start);else if(a.module){var h;o!=="ImportDefaultSpecifier"&&this.raise(g.ImportReflectionNotBinding,s[0].loc.start),((h=a.assertions)==null?void 0:h.length)>0&&this.raise(g.ImportReflectionHasAssertion,s[0].loc.start)}}checkJSONModuleImport(a){if(this.isJSONModuleImport(a)&&a.type!=="ExportAllDeclaration"){const{specifiers:s}=a;if(s!=null){const o=s.find(h=>{let E;if(h.type==="ExportSpecifier"?E=h.local:h.type==="ImportSpecifier"&&(E=h.imported),E!==void 0)return E.type==="Identifier"?E.name!=="default":E.value!=="default"});o!==void 0&&this.raise(g.ImportJSONBindingNotDefault,o.loc.start)}}}isPotentialImportPhase(a){return a?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(a,s,o,h){s||(o==="module"?(this.expectPlugin("importReflection",h),a.module=!0):this.hasPlugin("importReflection")&&(a.module=!1),o==="source"?(this.expectPlugin("sourcePhaseImports",h),a.phase="source"):o==="defer"?(this.expectPlugin("deferredImportEvaluation",h),a.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(a.phase=null))}parseMaybeImportPhase(a,s){if(!this.isPotentialImportPhase(s))return this.applyImportPhase(a,s,null),null;const o=this.parseIdentifier(!0),{type:h}=this.state;return(ne(h)?h!==98||this.lookaheadCharCode()===102:h!==12)?(this.resetPreviousIdentifierLeadingComments(o),this.applyImportPhase(a,s,o.name,o.loc.start),null):(this.applyImportPhase(a,s,null),o)}isPrecedingIdImportPhase(a){const{type:s}=this.state;return ee(s)?s!==98||this.lookaheadCharCode()===102:s!==12}parseImport(a){return this.match(134)?this.parseImportSourceAndAttributes(a):this.parseImportSpecifiersAndAfter(a,this.parseMaybeImportPhase(a,!1))}parseImportSpecifiersAndAfter(a,s){a.specifiers=[];const h=!this.maybeParseDefaultImportSpecifier(a,s)||this.eat(12),E=h&&this.maybeParseStarImportSpecifier(a);return h&&!E&&this.parseNamedImportSpecifiers(a),this.expectContextual(98),this.parseImportSourceAndAttributes(a)}parseImportSourceAndAttributes(a){var s;return(s=a.specifiers)!=null||(a.specifiers=[]),a.source=this.parseImportSource(),this.maybeParseImportAttributes(a),this.checkImportReflection(a),this.checkJSONModuleImport(a),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(a,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(a,s,o){s.local=this.parseIdentifier(),a.specifiers.push(this.finishImportSpecifier(s,o))}finishImportSpecifier(a,s,o=8201){return this.checkLVal(a.local,{type:s},o),this.finishNode(a,s)}parseImportAttributes(){this.expect(5);const a=[],s=new Set;do{if(this.match(8))break;const o=this.startNode(),h=this.state.value;if(s.has(h)&&this.raise(g.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:h}),s.add(h),this.match(134)?o.key=this.parseStringLiteral(h):o.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(g.ModuleAttributeInvalidValue,this.state.startLoc);o.value=this.parseStringLiteral(this.state.value),a.push(this.finishNode(o,"ImportAttribute"))}while(this.eat(12));return this.expect(8),a}parseModuleAttributes(){const a=[],s=new Set;do{const o=this.startNode();if(o.key=this.parseIdentifier(!0),o.key.name!=="type"&&this.raise(g.ModuleAttributeDifferentFromType,o.key),s.has(o.key.name)&&this.raise(g.ModuleAttributesWithDuplicateKeys,o.key,{key:o.key.name}),s.add(o.key.name),this.expect(14),!this.match(134))throw this.raise(g.ModuleAttributeInvalidValue,this.state.startLoc);o.value=this.parseStringLiteral(this.state.value),a.push(this.finishNode(o,"ImportAttribute"))}while(this.eat(12));return a}maybeParseImportAttributes(a){let s;var o=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?(s=this.parseModuleAttributes(),this.addExtra(a,"deprecatedWithLegacySyntax",!0)):s=this.parseImportAttributes(),o=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions")&&this.raise(g.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(a,"deprecatedAssertSyntax",!0),this.next(),s=this.parseImportAttributes()):s=[];!o&&this.hasPlugin("importAssertions")?a.assertions=s:a.attributes=s}maybeParseDefaultImportSpecifier(a,s){if(s){const o=this.startNodeAtNode(s);return o.local=s,a.specifiers.push(this.finishImportSpecifier(o,"ImportDefaultSpecifier")),!0}else if(ne(this.state.type))return this.parseImportSpecifierLocal(a,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(a){if(this.match(55)){const s=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(a,s,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(a){let s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else{if(this.eat(14))throw this.raise(g.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const o=this.startNode(),h=this.match(134),E=this.isContextual(130);o.imported=this.parseModuleExportName();const P=this.parseImportSpecifier(o,h,a.importKind==="type"||a.importKind==="typeof",E,void 0);a.specifiers.push(P)}}parseImportSpecifier(a,s,o,h,E){if(this.eatContextual(93))a.local=this.parseIdentifier();else{const{imported:P}=a;if(s)throw this.raise(g.ImportBindingIsString,a,{importName:P.value});this.checkReservedWord(P.name,a.loc.start,!0,!0),a.local||(a.local=this.cloneIdentifier(P))}return this.finishImportSpecifier(a,"ImportSpecifier",E)}isThisParam(a){return a.type==="Identifier"&&a.name==="this"}}class ku extends Kv{constructor(a,s,o){a=b(a),super(a,s),this.options=a,this.initializeScopes(),this.plugins=o,this.filename=a.sourceFilename,this.startIndex=a.startIndex;let h=0;a.allowAwaitOutsideFunction&&(h|=1),a.allowReturnOutsideFunction&&(h|=2),a.allowImportExportEverywhere&&(h|=8),a.allowSuperOutsideMethod&&(h|=16),a.allowUndeclaredExports&&(h|=64),a.allowNewTargetOutsideFunction&&(h|=4),a.allowYieldOutsideFunction&&(h|=32),a.ranges&&(h|=128),a.tokens&&(h|=256),a.createImportExpressions&&(h|=512),a.createParenthesizedExpressions&&(h|=1024),a.errorRecovery&&(h|=2048),a.attachComment&&(h|=4096),a.annexB&&(h|=8192),this.optionFlags=h}getScopeHandler(){return Oa}parse(){this.enterInitialScopes();const a=this.startNode(),s=this.startNode();return this.nextToken(),a.errors=null,this.parseTopLevel(a,s),a.errors=this.state.errors,a.comments.length=this.state.commentsLen,a}}function Yv(w,a){var s;if(((s=a)==null?void 0:s.sourceType)==="unambiguous"){a=Object.assign({},a);try{a.sourceType="module";const o=Es(a,w),h=o.parse();if(o.sawUnambiguousESM)return h;if(o.ambiguousScriptDifferentAst)try{return a.sourceType="script",Es(a,w).parse()}catch{}else h.program.sourceType="script";return h}catch(o){try{return a.sourceType="script",Es(a,w).parse()}catch{}throw o}}else return Es(a,w).parse()}function Qv(w,a){const s=Es(a,w);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()}function Zv(w){const a={};for(const s of Object.keys(w))a[s]=Pt(w[s]);return a}const eS=Zv(se);function Es(w,a){let s=ku;const o=new Map;if(w!=null&&w.plugins){for(const h of w.plugins){let E,P;typeof h=="string"?E=h:[E,P]=h,o.has(E)||o.set(E,P||{})}zv(o),s=tS(o)}return new s(w,a,o)}const Lu=new Map;function tS(w){const a=[];for(const h of Wv)w.has(h)&&a.push(h);const s=a.join("|");let o=Lu.get(s);if(!o){o=ku;for(const h of a)o=Ou[h](o);Lu.set(s,o)}return o}return zr.parse=Yv,zr.parseExpression=Qv,zr.tokTypes=eS,zr}var $t=tE();class rE{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:e=>this.replacement=e}}replace(e,r,i,n){e&&(i!==null?e[r][i]=n:e[r]=n)}remove(e,r,i){e&&(i!==null?e[r].splice(i,1):delete e[r])}}class sE extends rE{constructor(e,r){super(),this.enter=e,this.leave=r}visit(e,r,i,n){if(e){if(this.enter){const l=this.should_skip,c=this.should_remove,p=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,r,i,n),this.replacement&&(e=this.replacement,this.replace(r,i,n,e)),this.should_remove&&this.remove(r,i,n);const u=this.should_skip,d=this.should_remove;if(this.should_skip=l,this.should_remove=c,this.replacement=p,u)return e;if(d)return null}for(const l in e){const c=e[l];if(typeof c=="object")if(Array.isArray(c))for(let p=0;p<c.length;p+=1)c[p]!==null&&typeof c[p].type=="string"&&(this.visit(c[p],e,l,p)||p--);else c!==null&&typeof c.type=="string"&&this.visit(c,e,l,null)}if(this.leave){const l=this.replacement,c=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,r,i,n),this.replacement&&(e=this.replacement,this.replace(r,i,n,e)),this.should_remove&&this.remove(r,i,n);const p=this.should_remove;if(this.replacement=l,this.should_remove=c,p)return null}}return e}}function Vl(t,{enter:e,leave:r}){return new sE(e,r).visit(t,null)}function Kn(t,e,r=!1,i=[],n=Object.create(null)){const l=t.type==="Program"?t.body[0].type==="ExpressionStatement"&&t.body[0].expression:t;Vl(t,{enter(c,p){if(p&&i.push(p),p&&p.type.startsWith("TS")&&!Zn.includes(p.type))return this.skip();if(c.type==="Identifier"){const u=!!n[c.name],d=zl(c,p,i);(r||d&&!u)&&e(c,p,i,d,u)}else if(c.type==="ObjectProperty"&&(p==null?void 0:p.type)==="ObjectPattern")c.inPattern=!0;else if(lr(c))c.scopeIds?c.scopeIds.forEach(u=>rl(u,n)):Wl(c,u=>mi(c,u,n));else if(c.type==="BlockStatement")c.scopeIds?c.scopeIds.forEach(u=>rl(u,n)):Yd(c,u=>mi(c,u,n));else if(c.type==="CatchClause"&&c.param)for(const u of xt(c.param))mi(c,u,n);else Qd(c)&&Zd(c,!1,u=>mi(c,u,n))},leave(c,p){if(p&&i.pop(),c!==l&&c.scopeIds)for(const u of c.scopeIds)n[u]--,n[u]===0&&delete n[u]}})}function zl(t,e,r){if(!e)return!0;if(t.name==="arguments")return!1;if(iE(t,e))return!0;switch(e.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return Yn(e,r)}return!1}function Yn(t,e){if(t&&(t.type==="ObjectProperty"||t.type==="ArrayPattern")){let r=e.length;for(;r--;){const i=e[r];if(i.type==="AssignmentExpression")return!0;if(i.type!=="ObjectProperty"&&!i.type.endsWith("Pattern"))break}}return!1}function Kd(t){let e=t.length;for(;e--;){const r=t[e];if(r.type==="NewExpression")return!0;if(r.type!=="MemberExpression")break}return!1}function Wl(t,e){for(const r of t.params)for(const i of xt(r))e(i)}function Yd(t,e){for(const r of t.body)if(r.type==="VariableDeclaration"){if(r.declare)continue;for(const i of r.declarations)for(const n of xt(i.id))e(n)}else if(r.type==="FunctionDeclaration"||r.type==="ClassDeclaration"){if(r.declare||!r.id)continue;e(r.id)}else Qd(r)&&Zd(r,!0,e)}function Qd(t){return t.type==="ForOfStatement"||t.type==="ForInStatement"||t.type==="ForStatement"}function Zd(t,e,r){const i=t.type==="ForStatement"?t.init:t.left;if(i&&i.type==="VariableDeclaration"&&(i.kind==="var"?e:!e))for(const n of i.declarations)for(const l of xt(n.id))r(l)}function xt(t,e=[]){switch(t.type){case"Identifier":e.push(t);break;case"MemberExpression":let r=t;for(;r.type==="MemberExpression";)r=r.object;e.push(r);break;case"ObjectPattern":for(const i of t.properties)i.type==="RestElement"?xt(i.argument,e):xt(i.value,e);break;case"ArrayPattern":t.elements.forEach(i=>{i&&xt(i,e)});break;case"RestElement":xt(t.argument,e);break;case"AssignmentPattern":xt(t.left,e);break}return e}function rl(t,e){t in e?e[t]++:e[t]=1}function mi(t,e,r){const{name:i}=e;t.scopeIds&&t.scopeIds.has(i)||(rl(i,r),(t.scopeIds||(t.scopeIds=new Set)).add(i))}const lr=t=>/Function(?:Expression|Declaration)$|Method$/.test(t.type),Qn=t=>t&&(t.type==="ObjectProperty"||t.type==="ObjectMethod")&&!t.computed,em=(t,e)=>Qn(e)&&e.key===t;function iE(t,e,r){switch(e.type){case"MemberExpression":case"OptionalMemberExpression":return e.property===t?!!e.computed:e.object===t;case"JSXMemberExpression":return e.object===t;case"VariableDeclarator":return e.init===t;case"ArrowFunctionExpression":return e.body===t;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return e.key===t?!!e.computed:!1;case"ObjectProperty":return e.key===t?!!e.computed:!0;case"ClassProperty":return e.key===t?!!e.computed:!0;case"ClassPrivateProperty":return e.key!==t;case"ClassDeclaration":case"ClassExpression":return e.superClass===t;case"AssignmentExpression":return e.right===t;case"AssignmentPattern":return e.right===t;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 e.local===t;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 e.key!==t;case"TSEnumMember":return e.id!==t;case"TSPropertySignature":return e.key===t?!!e.computed:!0}return!0}const Zn=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function vt(t){return Zn.includes(t.type)?vt(t.expression):t}const Ge=t=>t.type===4&&t.isStatic;function Hl(t){switch(t){case"Teleport":case"teleport":return Ar;case"Suspense":case"suspense":return ls;case"KeepAlive":case"keep-alive":return qs;case"BaseTransition":case"base-transition":return Ll}}const nE=/^\d|[^\$\w\xA0-\uFFFF]/,Yt=t=>!nE.test(t),aE=/[A-Za-z_$\xA0-\uFFFF]/,oE=/[\.\?\w$\xA0-\uFFFF]/,lE=/\s+[.[]\s*|\s*[.[]\s+/g,ea=t=>t.type===4?t.content:t.loc.source,cE=t=>{const e=ea(t).trim().replace(lE,p=>p.trim());let r=0,i=[],n=0,l=0,c=null;for(let p=0;p<e.length;p++){const u=e.charAt(p);switch(r){case 0:if(u==="[")i.push(r),r=1,n++;else if(u==="(")i.push(r),r=2,l++;else if(!(p===0?aE:oE).test(u))return!1;break;case 1:u==="'"||u==='"'||u==="`"?(i.push(r),r=3,c=u):u==="["?n++:u==="]"&&(--n||(r=i.pop()));break;case 2:if(u==="'"||u==='"'||u==="`")i.push(r),r=3,c=u;else if(u==="(")l++;else if(u===")"){if(p===e.length-1)return!1;--l||(r=i.pop())}break;case 3:u===c&&(r=i.pop(),c=null);break}}return!n&&!l},tm=(t,e)=>{try{let r=t.ast||$t.parseExpression(ea(t),{plugins:e.expressionPlugins?[...e.expressionPlugins,"typescript"]:["typescript"]});return r=vt(r),r.type==="MemberExpression"||r.type==="OptionalMemberExpression"||r.type==="Identifier"&&r.name!=="undefined"}catch{return!1}},Gl=tm,uE=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,hE=t=>uE.test(ea(t)),rm=(t,e)=>{try{let r=t.ast||$t.parseExpression(ea(t),{plugins:e.expressionPlugins?[...e.expressionPlugins,"typescript"]:["typescript"]});return r.type==="Program"&&(r=r.body[0],r.type==="ExpressionStatement"&&(r=r.expression)),r=vt(r),r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}catch{return!1}},sm=rm;function sl(t,e,r=e.length){return Xl({offset:t.offset,line:t.line,column:t.column},e,r)}function Xl(t,e,r=e.length){let i=0,n=-1;for(let l=0;l<r;l++)e.charCodeAt(l)===10&&(i++,n=l);return t.offset+=r,t.line+=i,t.column=n===-1?t.column+r:r-n,t}function il(t,e){if(!t)throw new Error(e||"unexpected compiler condition")}function Fe(t,e,r=!1){for(let i=0;i<t.props.length;i++){const n=t.props[i];if(n.type===7&&(r||n.exp)&&(ve(e)?n.name===e:e.test(n.name)))return n}}function ct(t,e,r=!1,i=!1){for(let n=0;n<t.props.length;n++){const l=t.props[n];if(l.type===6){if(r)continue;if(l.name===e&&(l.value||i))return l}else if(l.name==="bind"&&(l.exp||i)&&Rt(l.arg,e))return l}}function Rt(t,e){return!!(t&&Ge(t)&&t.content===e)}function ta(t){return t.props.some(e=>e.type===7&&e.name==="bind"&&(!e.arg||e.arg.type!==4||!e.arg.isStatic))}function Os(t){return t.type===5||t.type===2}function Jl(t){return t.type===7&&t.name==="slot"}function ns(t){return t.type===1&&t.tagType===3}function as(t){return t.type===1&&t.tagType===2}const pE=new Set([rs,us]);function im(t,e=[]){if(t&&!ve(t)&&t.type===14){const r=t.callee;if(!ve(r)&&pE.has(r))return im(t.arguments[0],e.concat(t))}return[t,e]}function Ws(t,e,r){let i,n=t.type===13?t.props:t.arguments[2],l=[],c;if(n&&!ve(n)&&n.type===14){const p=im(n);n=p[0],l=p[1],c=l[l.length-1]}if(n==null||ve(n))i=ot([e]);else if(n.type===14){const p=n.arguments[0];!ve(p)&&p.type===15?dh(e,p)||p.properties.unshift(e):n.callee===zn?i=ue(r.helper(Or),[ot([e]),n]):n.arguments.unshift(ot([e])),!i&&(i=n)}else n.type===15?(dh(e,n)||n.properties.unshift(e),i=n):(i=ue(r.helper(Or),[ot([e]),n]),c&&c.callee===us&&(c=l[l.length-2]));t.type===13?c?c.arguments[0]=i:t.props=i:c?c.arguments[0]=i:t.arguments[2]=i}function dh(t,e){let r=!1;if(t.key.type===4){const i=t.key.content;r=e.properties.some(n=>n.key.type===4&&n.key.content===i)}return r}function Hs(t,e){return`_${e}_${t.replace(/[^\w]/g,(r,i)=>r==="-"?"_":t.charCodeAt(i).toString())}`}function it(t,e){if(!t||Object.keys(e).length===0)return!1;switch(t.type){case 1:for(let r=0;r<t.props.length;r++){const i=t.props[r];if(i.type===7&&(it(i.arg,e)||it(i.exp,e)))return!0}return t.children.some(r=>it(r,e));case 11:return it(t.source,e)?!0:t.children.some(r=>it(r,e));case 9:return t.branches.some(r=>it(r,e));case 10:return it(t.condition,e)?!0:t.children.some(r=>it(r,e));case 4:return!t.isStatic&&Yt(t.content)&&!!e[t.content];case 8:return t.children.some(r=>fr(r)&&it(r,e));case 5:case 12:return it(t.content,e);case 2:case 3:case 20:return!1;default:return!1}}function nm(t){return t.type===14&&t.callee===Hn?t.arguments[1].returns:t}const am=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,om={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Is,isPreTag:Is,isIgnoreNewlineTag:Is,isCustomElement:Is,onError:ql,onWarn:Jd,comments:!0,prefixIdentifiers:!1};let Ae=om,dn=null,Jt="",Ze=null,Te=null,Tt="",zt=-1,Er=-1,Kl=0,ar=!1,nl=null;const Re=[],Ce=new JS(Re,{onerr:rt,ontext(t,e){yi(Ke(t,e),t,e)},ontextentity(t,e,r){yi(t,e,r)},oninterpolation(t,e){if(ar)return yi(Ke(t,e),t,e);let r=t+Ce.delimiterOpen.length,i=e-Ce.delimiterClose.length;for(;mt(Jt.charCodeAt(r));)r++;for(;mt(Jt.charCodeAt(i-1));)i--;let n=Ke(r,i);n.includes("&")&&(n=XS(n)),al({type:5,content:Zi(n,!1,De(r,i)),loc:De(t,e)})},onopentagname(t,e){const r=Ke(t,e);Ze={type:1,tag:r,ns:Ae.getNamespace(r,Re[0],Ae.ns),tagType:0,props:[],children:[],loc:De(t-1,e),codegenNode:void 0}},onopentagend(t){yh(t)},onclosetag(t,e){const r=Ke(t,e);if(!Ae.isVoidTag(r)){let i=!1;for(let n=0;n<Re.length;n++)if(Re[n].tag.toLowerCase()===r.toLowerCase()){i=!0,n>0&&rt(24,Re[0].loc.start.offset);for(let c=0;c<=n;c++){const p=Re.shift();Qi(p,e,c<n)}break}i||rt(23,lm(t,60))}},onselfclosingtag(t){const e=Ze.tag;Ze.isSelfClosing=!0,yh(t),Re[0]&&Re[0].tag===e&&Qi(Re.shift(),t)},onattribname(t,e){Te={type:6,name:Ke(t,e),nameLoc:De(t,e),value:void 0,loc:De(t)}},ondirname(t,e){const r=Ke(t,e),i=r==="."||r===":"?"bind":r==="@"?"on":r==="#"?"slot":r.slice(2);if(!ar&&i===""&&rt(26,t),ar||i==="")Te={type:6,name:r,nameLoc:De(t,e),value:void 0,loc:De(t)};else if(Te={type:7,name:i,rawName:r,exp:void 0,arg:void 0,modifiers:r==="."?[Z("prop")]:[],loc:De(t)},i==="pre"){ar=Ce.inVPre=!0,nl=Ze;const n=Ze.props;for(let l=0;l<n.length;l++)n[l].type===7&&(n[l]=bE(n[l]))}},ondirarg(t,e){if(t===e)return;const r=Ke(t,e);if(ar)Te.name+=r,br(Te.nameLoc,e);else{const i=r[0]!=="[";Te.arg=Zi(i?r:r.slice(1,-1),i,De(t,e),i?3:0)}},ondirmodifier(t,e){const r=Ke(t,e);if(ar)Te.name+="."+r,br(Te.nameLoc,e);else if(Te.name==="slot"){const i=Te.arg;i&&(i.content+="."+r,br(i.loc,e))}else{const i=Z(r,!0,De(t,e));Te.modifiers.push(i)}},onattribdata(t,e){Tt+=Ke(t,e),zt<0&&(zt=t),Er=e},onattribentity(t,e,r){Tt+=t,zt<0&&(zt=e),Er=r},onattribnameend(t){const e=Te.loc.start.offset,r=Ke(e,t);Te.type===7&&(Te.rawName=r),Ze.props.some(i=>(i.type===7?i.rawName:i.name)===r)&&rt(2,e)},onattribend(t,e){if(Ze&&Te){if(br(Te.loc,e),t!==0)if(Te.type===6)Te.name==="class"&&(Tt=um(Tt).trim()),t===1&&!Tt&&rt(13,e),Te.value={type:2,content:Tt,loc:t===1?De(zt,Er):De(zt-1,Er+1)},Ce.inSFCRoot&&Ze.tag==="template"&&Te.name==="lang"&&Tt&&Tt!=="html"&&Ce.enterRCDATA(fn("</template"),0);else{let r=0;Te.name==="for"?r=3:Te.name==="slot"?r=1:Te.name==="on"&&Tt.includes(";")&&(r=2),Te.exp=Zi(Tt,!1,De(zt,Er),0,r),Te.name==="for"&&(Te.forParseResult=dE(Te.exp))}(Te.type!==7||Te.name!=="pre")&&Ze.props.push(Te)}Tt="",zt=Er=-1},oncomment(t,e){Ae.comments&&al({type:3,content:Ke(t,e),loc:De(t-4,e+3)})},onend(){const t=Jt.length;if(Ce.state!==1)switch(Ce.state){case 5:case 8:rt(5,t);break;case 3:case 4:rt(25,Ce.sectionStart);break;case 28:Ce.currentSequence===He.CdataEnd?rt(6,t):rt(7,t);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:rt(9,t);break}for(let e=0;e<Re.length;e++)Qi(Re[e],t-1),rt(24,Re[e].loc.start.offset)},oncdata(t,e){Re[0].ns!==0?yi(Ke(t,e),t,e):rt(1,t-9)},onprocessinginstruction(t){(Re[0]?Re[0].ns:Ae.ns)===0&&rt(21,t-1)}}),mh=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,fE=/^\(|\)$/g;function dE(t){const e=t.loc,r=t.content,i=r.match(am);if(!i)return;const[,n,l]=i,c=(m,y,v=!1)=>{const T=e.start.offset+y,S=T+m.length;return Zi(m,!1,De(T,S),0,v?1:0)},p={source:c(l.trim(),r.indexOf(l,n.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let u=n.trim().replace(fE,"").trim();const d=n.indexOf(u),f=u.match(mh);if(f){u=u.replace(mh,"").trim();const m=f[1].trim();let y;if(m&&(y=r.indexOf(m,d+u.length),p.key=c(m,y,!0)),f[2]){const v=f[2].trim();v&&(p.index=c(v,r.indexOf(v,p.key?y+m.length:d+u.length),!0))}}return u&&(p.value=c(u,d,!0)),p}function Ke(t,e){return Jt.slice(t,e)}function yh(t){Ce.inSFCRoot&&(Ze.innerLoc=De(t+1,t+1)),al(Ze);const{tag:e,ns:r}=Ze;r===0&&Ae.isPreTag(e)&&Kl++,Ae.isVoidTag(e)?Qi(Ze,t):(Re.unshift(Ze),(r===1||r===2)&&(Ce.inXML=!0)),Ze=null}function yi(t,e,r){const i=Re[0]||dn,n=i.children[i.children.length-1];n&&n.type===2?(n.content+=t,br(n.loc,r)):i.children.push({type:2,content:t,loc:De(e,r)})}function Qi(t,e,r=!1){r?br(t.loc,lm(e,60)):br(t.loc,mE(e,62)+1),Ce.inSFCRoot&&(t.children.length?t.innerLoc.end=Bt({},t.children[t.children.length-1].loc.end):t.innerLoc.end=Bt({},t.innerLoc.start),t.innerLoc.source=Ke(t.innerLoc.start.offset,t.innerLoc.end.offset));const{tag:i,ns:n,children:l}=t;if(ar||(i==="slot"?t.tagType=2:gE(t)?t.tagType=3:vE(t)&&(t.tagType=1)),Ce.inRCDATA||(t.children=cm(l)),n===0&&Ae.isIgnoreNewlineTag(i)){const c=l[0];c&&c.type===2&&(c.content=c.content.replace(/^\r?\n/,""))}n===0&&Ae.isPreTag(i)&&Kl--,nl===t&&(ar=Ce.inVPre=!1,nl=null),Ce.inXML&&(Re[0]?Re[0].ns:Ae.ns)===0&&(Ce.inXML=!1)}function mE(t,e){let r=t;for(;Jt.charCodeAt(r)!==e&&r<Jt.length-1;)r++;return r}function lm(t,e){let r=t;for(;Jt.charCodeAt(r)!==e&&r>=0;)r--;return r}const yE=new Set(["if","else","else-if","for","slot"]);function gE({tag:t,props:e}){if(t==="template"){for(let r=0;r<e.length;r++)if(e[r].type===7&&yE.has(e[r].name))return!0}return!1}function vE({tag:t,props:e}){if(Ae.isCustomElement(t))return!1;if(t==="component"||SE(t.charCodeAt(0))||Hl(t)||Ae.isBuiltInComponent&&Ae.isBuiltInComponent(t)||Ae.isNativeTag&&!Ae.isNativeTag(t))return!0;for(let r=0;r<e.length;r++){const i=e[r];if(i.type===6&&i.name==="is"&&i.value&&i.value.content.startsWith("vue:"))return!0}return!1}function SE(t){return t>64&&t<91}const EE=/\r\n/g;function cm(t,e){const r=Ae.whitespace!=="preserve";let i=!1;for(let n=0;n<t.length;n++){const l=t[n];if(l.type===2)if(Kl)l.content=l.content.replace(EE,`
|
|
16
|
-
`);else if(TE(l.content)){const c=t[n-1]&&t[n-1].type,p=t[n+1]&&t[n+1].type;!c||!p||r&&(c===3&&(p===3||p===1)||c===1&&(p===3||p===1&&wE(l.content)))?(i=!0,t[n]=null):l.content=" "}else r&&(l.content=um(l.content))}return i?t.filter(Boolean):t}function TE(t){for(let e=0;e<t.length;e++)if(!mt(t.charCodeAt(e)))return!1;return!0}function wE(t){for(let e=0;e<t.length;e++){const r=t.charCodeAt(e);if(r===10||r===13)return!0}return!1}function um(t){let e="",r=!1;for(let i=0;i<t.length;i++)mt(t.charCodeAt(i))?r||(e+=" ",r=!0):(e+=t[i],r=!1);return e}function al(t){(Re[0]||dn).children.push(t)}function De(t,e){return{start:Ce.getPos(t),end:e==null?e:Ce.getPos(e),source:e==null?e:Ke(t,e)}}function PE(t){return De(t.start.offset,t.end.offset)}function br(t,e){t.end=Ce.getPos(e),t.source=Ke(t.start.offset,e)}function bE(t){const e={type:6,name:t.rawName,nameLoc:De(t.loc.start.offset,t.loc.start.offset+t.rawName.length),value:void 0,loc:t.loc};if(t.exp){const r=t.exp.loc;r.end.offset<t.loc.end.offset&&(r.start.offset--,r.start.column--,r.end.offset++,r.end.column++),e.value={type:2,content:t.exp.content,loc:r}}return e}function Zi(t,e=!1,r,i=0,n=0){const l=Z(t,e,r,i);if(!e&&Ae.prefixIdentifiers&&n!==3&&t.trim()){if(Yt(t))return l.ast=null,l;try{const c=Ae.expressionPlugins,p={plugins:c?[...c,"typescript"]:["typescript"]};n===2?l.ast=$t.parse(` ${t} `,p).program:n===1?l.ast=$t.parseExpression(`(${t})=>{}`,p):l.ast=$t.parseExpression(`(${t})`,p)}catch(c){l.ast=!1,rt(45,r.start.offset,c.message)}}return l}function rt(t,e,r){Ae.onError(Ee(t,De(e,e),void 0,r))}function _E(){Ce.reset(),Ze=null,Te=null,Tt="",zt=-1,Er=-1,Re.length=0}function ra(t,e){if(_E(),Jt=t,Ae=Bt({},om),e){let n;for(n in e)e[n]!=null&&(Ae[n]=e[n])}Ae.decodeEntities&&console.warn("[@vue/compiler-core] decodeEntities option is passed but will be ignored in non-browser builds."),Ce.mode=Ae.parseMode==="html"?1:Ae.parseMode==="sfc"?2:0,Ce.inXML=Ae.ns===1||Ae.ns===2;const r=e&&e.delimiters;r&&(Ce.delimiterOpen=fn(r[0]),Ce.delimiterClose=fn(r[1]));const i=dn=Rr([],t);return Ce.parse(Jt),i.loc=De(0,t.length),i.children=cm(i.children),dn=null,i}function xE(t,e){en(t,void 0,e,hm(t,t.children[0]))}function hm(t,e){const{children:r}=t;return r.length===1&&e.type===1&&!as(e)}function en(t,e,r,i=!1,n=!1){const{children:l}=t,c=[];for(let m=0;m<l.length;m++){const y=l[m];if(y.type===1&&y.tagType===0){const v=i?0:lt(y,r);if(v>0){if(v>=2){y.codegenNode.patchFlag=-1,c.push(y);continue}}else{const T=y.codegenNode;if(T.type===13){const S=T.patchFlag;if((S===void 0||S===512||S===1)&&fm(y,r)>=2){const g=dm(y);g&&(T.props=r.hoist(g))}T.dynamicProps&&(T.dynamicProps=r.hoist(T.dynamicProps))}}}else if(y.type===12&&(i?0:lt(y,r))>=2){c.push(y);continue}if(y.type===1){const v=y.tagType===1;v&&r.scopes.vSlot++,en(y,t,r,!1,n),v&&r.scopes.vSlot--}else if(y.type===11)en(y,t,r,y.children.length===1,!0);else if(y.type===9)for(let v=0;v<y.branches.length;v++)en(y.branches[v],t,r,y.branches[v].children.length===1,n)}let p=!1;const u=[];if(c.length===l.length&&t.type===1){if(t.tagType===0&&t.codegenNode&&t.codegenNode.type===13&&Be(t.codegenNode.children))t.codegenNode.children=d(Xt(t.codegenNode.children)),p=!0;else if(t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!Be(t.codegenNode.children)&&t.codegenNode.children.type===15){const m=f(t.codegenNode,"default");m&&(u.push(r.cached.length),m.returns=d(Xt(m.returns)),p=!0)}else if(t.tagType===3&&e&&e.type===1&&e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!Be(e.codegenNode.children)&&e.codegenNode.children.type===15){const m=Fe(t,"slot",!0),y=m&&m.arg&&f(e.codegenNode,m.arg);y&&(u.push(r.cached.length),y.returns=d(Xt(y.returns)),p=!0)}}if(!p)for(const m of c)u.push(r.cached.length),m.codegenNode=r.cache(m.codegenNode);u.length&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!Be(t.codegenNode.children)&&t.codegenNode.children.type===15&&t.codegenNode.children.properties.push(we("__",Z(JSON.stringify(u),!1)));function d(m){const y=r.cache(m);return n&&r.hmr&&(y.needArraySpread=!0),y}function f(m,y){if(m.children&&!Be(m.children)&&m.children.type===15){const v=m.children.properties.find(T=>T.key===y||T.key.content===y);return v&&v.value}}c.length&&r.transformHoist&&r.transformHoist(l,r,t)}function lt(t,e){const{constantCache:r}=e;switch(t.type){case 1:if(t.tagType!==0)return 0;const i=r.get(t);if(i!==void 0)return i;const n=t.codegenNode;if(n.type!==13||n.isBlock&&t.tag!=="svg"&&t.tag!=="foreignObject"&&t.tag!=="math")return 0;if(n.patchFlag===void 0){let c=3;const p=fm(t,e);if(p===0)return r.set(t,0),0;p<c&&(c=p);for(let u=0;u<t.children.length;u++){const d=lt(t.children[u],e);if(d===0)return r.set(t,0),0;d<c&&(c=d)}if(c>1)for(let u=0;u<t.props.length;u++){const d=t.props[u];if(d.type===7&&d.name==="bind"&&d.exp){const f=lt(d.exp,e);if(f===0)return r.set(t,0),0;f<c&&(c=f)}}if(n.isBlock){for(let u=0;u<t.props.length;u++)if(t.props[u].type===7)return r.set(t,0),0;e.removeHelper(ur),e.removeHelper(Lr(e.inSSR,n.isComponent)),n.isBlock=!1,e.helper(kr(e.inSSR,n.isComponent))}return r.set(t,c),c}else return r.set(t,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return lt(t.content,e);case 4:return t.constType;case 8:let l=3;for(let c=0;c<t.children.length;c++){const p=t.children[c];if(ve(p)||pr(p))continue;const u=lt(p,e);if(u===0)return 0;u<l&&(l=u)}return l;case 20:return 2;default:return 0}}const AE=new Set([jn,Vn,rs,us]);function pm(t,e){if(t.type===14&&!ve(t.callee)&&AE.has(t.callee)){const r=t.arguments[0];if(r.type===4)return lt(r,e);if(r.type===14)return pm(r,e)}return 0}function fm(t,e){let r=3;const i=dm(t);if(i&&i.type===15){const{properties:n}=i;for(let l=0;l<n.length;l++){const{key:c,value:p}=n[l],u=lt(c,e);if(u===0)return u;u<r&&(r=u);let d;if(p.type===4?d=lt(p,e):p.type===14?d=pm(p,e):d=0,d===0)return d;d<r&&(r=d)}}return r}function dm(t){const e=t.codegenNode;if(e.type===13)return e.props}function si(t,{filename:e="",prefixIdentifiers:r=!1,hoistStatic:i=!1,hmr:n=!1,cacheHandlers:l=!1,nodeTransforms:c=[],directiveTransforms:p={},transformHoist:u=null,isBuiltInComponent:d=$a,isCustomElement:f=$a,expressionPlugins:m=[],scopeId:y=null,slotted:v=!0,ssr:T=!1,inSSR:S=!1,ssrCssVars:g="",bindingMetadata:_=rS,inline:b=!1,isTS:A=!1,onError:O=ql,onWarn:x=Jd,compatConfig:L}){const R=e.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),C={filename:e,selfName:R&&cr(at(R[1])),prefixIdentifiers:r,hoistStatic:i,hmr:n,cacheHandlers:l,nodeTransforms:c,directiveTransforms:p,transformHoist:u,isBuiltInComponent:d,isCustomElement:f,expressionPlugins:m,scopeId:y,slotted:v,ssr:T,inSSR:S,ssrCssVars:g,bindingMetadata:_,inline:b,isTS:A,onError:O,onWarn:x,compatConfig:L,root:t,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:t,childIndex:0,inVOnce:!1,helper(F){const W=C.helpers.get(F)||0;return C.helpers.set(F,W+1),F},removeHelper(F){const W=C.helpers.get(F);if(W){const Y=W-1;Y?C.helpers.set(F,Y):C.helpers.delete(F)}},helperString(F){return`_${nt[C.helper(F)]}`},replaceNode(F){{if(!C.currentNode)throw new Error("Node being replaced is already removed.");if(!C.parent)throw new Error("Cannot replace root node.")}C.parent.children[C.childIndex]=C.currentNode=F},removeNode(F){if(!C.parent)throw new Error("Cannot remove root node.");const W=C.parent.children,Y=F?W.indexOf(F):C.currentNode?C.childIndex:-1;if(Y<0)throw new Error("node being removed is not a child of current parent");!F||F===C.currentNode?(C.currentNode=null,C.onNodeRemoved()):C.childIndex>Y&&(C.childIndex--,C.onNodeRemoved()),C.parent.children.splice(Y,1)},onNodeRemoved:$a,addIdentifiers(F){ve(F)?k(F):F.identifiers?F.identifiers.forEach(k):F.type===4&&k(F.content)},removeIdentifiers(F){ve(F)?N(F):F.identifiers?F.identifiers.forEach(N):F.type===4&&N(F.content)},hoist(F){ve(F)&&(F=Z(F)),C.hoists.push(F);const W=Z(`_hoisted_${C.hoists.length}`,!1,F.loc,2);return W.hoisted=F,W},cache(F,W=!1,Y=!1){const re=jd(C.cached.length,F,W,Y);return C.cached.push(re),re}};function k(F){const{identifiers:W}=C;W[F]===void 0&&(W[F]=0),W[F]++}function N(F){C.identifiers[F]--}return C}function Yl(t,e){const r=si(t,e);hs(t,r),e.hoistStatic&&xE(t,r),e.ssr||CE(t,r),t.helpers=new Set([...r.helpers.keys()]),t.components=[...r.components],t.directives=[...r.directives],t.imports=r.imports,t.hoists=r.hoists,t.temps=r.temps,t.cached=r.cached,t.transformed=!0}function CE(t,e){const{helper:r}=e,{children:i}=t;if(i.length===1){const n=i[0];if(hm(t,n)&&n.codegenNode){const l=n.codegenNode;l.type===13&&Gn(l,e),t.codegenNode=l}else t.codegenNode=n}else if(i.length>1){let n=64;i.filter(l=>l.type!==3).length===1&&(n|=2048),t.codegenNode=is(e,r(ts),void 0,t.children,n,void 0,void 0,!0,void 0,!1)}}function IE(t,e){let r=0;const i=()=>{r--};for(;r<t.children.length;r++){const n=t.children[r];ve(n)||(e.grandParent=e.parent,e.parent=t,e.childIndex=r,e.onNodeRemoved=i,hs(n,e))}}function hs(t,e){e.currentNode=t;const{nodeTransforms:r}=e,i=[];for(let l=0;l<r.length;l++){const c=r[l](t,e);if(c&&(Be(c)?i.push(...c):i.push(c)),e.currentNode)t=e.currentNode;else return}switch(t.type){case 3:e.ssr||e.helper(cs);break;case 5:e.ssr||e.helper(ti);break;case 9:for(let l=0;l<t.branches.length;l++)hs(t.branches[l],e);break;case 10:case 11:case 1:case 0:IE(t,e);break}e.currentNode=t;let n=i.length;for(;n--;)i[n]()}function ii(t,e){const r=ve(t)?i=>i===t:i=>t.test(i);return(i,n)=>{if(i.type===1){const{props:l}=i;if(i.tagType===3&&l.some(Jl))return;const c=[];for(let p=0;p<l.length;p++){const u=l[p];if(u.type===7&&r(u.name)){l.splice(p,1),p--;const d=e(i,u,n);d&&c.push(d)}}return c}}}var Ts={},Va={},gi={},vi={},gh;function NE(){if(gh)return vi;gh=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return vi.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},vi.decode=function(e){var r=65,i=90,n=97,l=122,c=48,p=57,u=43,d=47,f=26,m=52;return r<=e&&e<=i?e-r:n<=e&&e<=l?e-n+f:c<=e&&e<=p?e-c+m:e==u?62:e==d?63:-1},vi}var vh;function mm(){if(vh)return gi;vh=1;var t=NE(),e=5,r=1<<e,i=r-1,n=r;function l(p){return p<0?(-p<<1)+1:(p<<1)+0}function c(p){var u=(p&1)===1,d=p>>1;return u?-d:d}return gi.encode=function(u){var d="",f,m=l(u);do f=m&i,m>>>=e,m>0&&(f|=n),d+=t.encode(f);while(m>0);return d},gi.decode=function(u,d,f){var m=u.length,y=0,v=0,T,S;do{if(d>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(S=t.decode(u.charCodeAt(d++)),S===-1)throw new Error("Invalid base64 digit: "+u.charAt(d-1));T=!!(S&n),S&=i,y=y+(S<<v),v+=e}while(T);f.value=c(y),f.rest=d},gi}var za={},Sh;function ni(){return Sh||(Sh=1,function(t){function e(C,k,N){if(k in C)return C[k];if(arguments.length===3)return N;throw new Error('"'+k+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function n(C){var k=C.match(r);return k?{scheme:k[1],auth:k[2],host:k[3],port:k[4],path:k[5]}:null}t.urlParse=n;function l(C){var k="";return C.scheme&&(k+=C.scheme+":"),k+="//",C.auth&&(k+=C.auth+"@"),C.host&&(k+=C.host),C.port&&(k+=":"+C.port),C.path&&(k+=C.path),k}t.urlGenerate=l;var c=32;function p(C){var k=[];return function(N){for(var F=0;F<k.length;F++)if(k[F].input===N){var W=k[0];return k[0]=k[F],k[F]=W,k[0].result}var Y=C(N);return k.unshift({input:N,result:Y}),k.length>c&&k.pop(),Y}}var u=p(function(k){var N=k,F=n(k);if(F){if(!F.path)return k;N=F.path}for(var W=t.isAbsolute(N),Y=[],re=0,z=0;;)if(re=z,z=N.indexOf("/",re),z===-1){Y.push(N.slice(re));break}else for(Y.push(N.slice(re,z));z<N.length&&N[z]==="/";)z++;for(var ie,J=0,z=Y.length-1;z>=0;z--)ie=Y[z],ie==="."?Y.splice(z,1):ie===".."?J++:J>0&&(ie===""?(Y.splice(z+1,J),J=0):(Y.splice(z,2),J--));return N=Y.join("/"),N===""&&(N=W?"/":"."),F?(F.path=N,l(F)):N});t.normalize=u;function d(C,k){C===""&&(C="."),k===""&&(k=".");var N=n(k),F=n(C);if(F&&(C=F.path||"/"),N&&!N.scheme)return F&&(N.scheme=F.scheme),l(N);if(N||k.match(i))return k;if(F&&!F.host&&!F.path)return F.host=k,l(F);var W=k.charAt(0)==="/"?k:u(C.replace(/\/+$/,"")+"/"+k);return F?(F.path=W,l(F)):W}t.join=d,t.isAbsolute=function(C){return C.charAt(0)==="/"||r.test(C)};function f(C,k){C===""&&(C="."),C=C.replace(/\/$/,"");for(var N=0;k.indexOf(C+"/")!==0;){var F=C.lastIndexOf("/");if(F<0||(C=C.slice(0,F),C.match(/^([^\/]+:\/)?\/*$/)))return k;++N}return Array(N+1).join("../")+k.substr(C.length+1)}t.relative=f;var m=function(){var C=Object.create(null);return!("__proto__"in C)}();function y(C){return C}function v(C){return S(C)?"$"+C:C}t.toSetString=m?y:v;function T(C){return S(C)?C.slice(1):C}t.fromSetString=m?y:T;function S(C){if(!C)return!1;var k=C.length;if(k<9||C.charCodeAt(k-1)!==95||C.charCodeAt(k-2)!==95||C.charCodeAt(k-3)!==111||C.charCodeAt(k-4)!==116||C.charCodeAt(k-5)!==111||C.charCodeAt(k-6)!==114||C.charCodeAt(k-7)!==112||C.charCodeAt(k-8)!==95||C.charCodeAt(k-9)!==95)return!1;for(var N=k-10;N>=0;N--)if(C.charCodeAt(N)!==36)return!1;return!0}function g(C,k,N){var F=O(C.source,k.source);return F!==0||(F=C.originalLine-k.originalLine,F!==0)||(F=C.originalColumn-k.originalColumn,F!==0||N)||(F=C.generatedColumn-k.generatedColumn,F!==0)||(F=C.generatedLine-k.generatedLine,F!==0)?F:O(C.name,k.name)}t.compareByOriginalPositions=g;function _(C,k,N){var F;return F=C.originalLine-k.originalLine,F!==0||(F=C.originalColumn-k.originalColumn,F!==0||N)||(F=C.generatedColumn-k.generatedColumn,F!==0)||(F=C.generatedLine-k.generatedLine,F!==0)?F:O(C.name,k.name)}t.compareByOriginalPositionsNoSource=_;function b(C,k,N){var F=C.generatedLine-k.generatedLine;return F!==0||(F=C.generatedColumn-k.generatedColumn,F!==0||N)||(F=O(C.source,k.source),F!==0)||(F=C.originalLine-k.originalLine,F!==0)||(F=C.originalColumn-k.originalColumn,F!==0)?F:O(C.name,k.name)}t.compareByGeneratedPositionsDeflated=b;function A(C,k,N){var F=C.generatedColumn-k.generatedColumn;return F!==0||N||(F=O(C.source,k.source),F!==0)||(F=C.originalLine-k.originalLine,F!==0)||(F=C.originalColumn-k.originalColumn,F!==0)?F:O(C.name,k.name)}t.compareByGeneratedPositionsDeflatedNoLine=A;function O(C,k){return C===k?0:C===null?1:k===null?-1:C>k?1:-1}function x(C,k){var N=C.generatedLine-k.generatedLine;return N!==0||(N=C.generatedColumn-k.generatedColumn,N!==0)||(N=O(C.source,k.source),N!==0)||(N=C.originalLine-k.originalLine,N!==0)||(N=C.originalColumn-k.originalColumn,N!==0)?N:O(C.name,k.name)}t.compareByGeneratedPositionsInflated=x;function L(C){return JSON.parse(C.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=L;function R(C,k,N){if(k=k||"",C&&(C[C.length-1]!=="/"&&k[0]!=="/"&&(C+="/"),k=C+k),N){var F=n(N);if(!F)throw new Error("sourceMapURL could not be parsed");if(F.path){var W=F.path.lastIndexOf("/");W>=0&&(F.path=F.path.substring(0,W+1))}k=d(l(F),k)}return u(k)}t.computeSourceURL=R}(za)),za}var Wa={},Eh;function ym(){if(Eh)return Wa;Eh=1;var t=ni(),e=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(l,c){for(var p=new i,u=0,d=l.length;u<d;u++)p.add(l[u],c);return p},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(l,c){var p=r?l:t.toSetString(l),u=r?this.has(l):e.call(this._set,p),d=this._array.length;(!u||c)&&this._array.push(l),u||(r?this._set.set(l,d):this._set[p]=d)},i.prototype.has=function(l){if(r)return this._set.has(l);var c=t.toSetString(l);return e.call(this._set,c)},i.prototype.indexOf=function(l){if(r){var c=this._set.get(l);if(c>=0)return c}else{var p=t.toSetString(l);if(e.call(this._set,p))return this._set[p]}throw new Error('"'+l+'" is not in the set.')},i.prototype.at=function(l){if(l>=0&&l<this._array.length)return this._array[l];throw new Error("No element indexed by "+l)},i.prototype.toArray=function(){return this._array.slice()},Wa.ArraySet=i,Wa}var Ha={},Th;function OE(){if(Th)return Ha;Th=1;var t=ni();function e(i,n){var l=i.generatedLine,c=n.generatedLine,p=i.generatedColumn,u=n.generatedColumn;return c>l||c==l&&u>=p||t.compareByGeneratedPositionsInflated(i,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(n,l){this._array.forEach(n,l)},r.prototype.add=function(n){e(this._last,n)?(this._last=n,this._array.push(n)):(this._sorted=!1,this._array.push(n))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},Ha.MappingList=r,Ha}var wh;function gm(){if(wh)return Va;wh=1;var t=mm(),e=ni(),r=ym().ArraySet,i=OE().MappingList;function n(l){l||(l={}),this._file=e.getArg(l,"file",null),this._sourceRoot=e.getArg(l,"sourceRoot",null),this._skipValidation=e.getArg(l,"skipValidation",!1),this._ignoreInvalidMapping=e.getArg(l,"ignoreInvalidMapping",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return n.prototype._version=3,n.fromSourceMap=function(c,p){var u=c.sourceRoot,d=new n(Object.assign(p||{},{file:c.file,sourceRoot:u}));return c.eachMapping(function(f){var m={generated:{line:f.generatedLine,column:f.generatedColumn}};f.source!=null&&(m.source=f.source,u!=null&&(m.source=e.relative(u,m.source)),m.original={line:f.originalLine,column:f.originalColumn},f.name!=null&&(m.name=f.name)),d.addMapping(m)}),c.sources.forEach(function(f){var m=f;u!==null&&(m=e.relative(u,f)),d._sources.has(m)||d._sources.add(m);var y=c.sourceContentFor(f);y!=null&&d.setSourceContent(f,y)}),d},n.prototype.addMapping=function(c){var p=e.getArg(c,"generated"),u=e.getArg(c,"original",null),d=e.getArg(c,"source",null),f=e.getArg(c,"name",null);!this._skipValidation&&this._validateMapping(p,u,d,f)===!1||(d!=null&&(d=String(d),this._sources.has(d)||this._sources.add(d)),f!=null&&(f=String(f),this._names.has(f)||this._names.add(f)),this._mappings.add({generatedLine:p.line,generatedColumn:p.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:d,name:f}))},n.prototype.setSourceContent=function(c,p){var u=c;this._sourceRoot!=null&&(u=e.relative(this._sourceRoot,u)),p!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(u)]=p):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(c,p,u){var d=p;if(p==null){if(c.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);d=c.file}var f=this._sourceRoot;f!=null&&(d=e.relative(f,d));var m=new r,y=new r;this._mappings.unsortedForEach(function(v){if(v.source===d&&v.originalLine!=null){var T=c.originalPositionFor({line:v.originalLine,column:v.originalColumn});T.source!=null&&(v.source=T.source,u!=null&&(v.source=e.join(u,v.source)),f!=null&&(v.source=e.relative(f,v.source)),v.originalLine=T.line,v.originalColumn=T.column,T.name!=null&&(v.name=T.name))}var S=v.source;S!=null&&!m.has(S)&&m.add(S);var g=v.name;g!=null&&!y.has(g)&&y.add(g)},this),this._sources=m,this._names=y,c.sources.forEach(function(v){var T=c.sourceContentFor(v);T!=null&&(u!=null&&(v=e.join(u,v)),f!=null&&(v=e.relative(f,v)),this.setSourceContent(v,T))},this)},n.prototype._validateMapping=function(c,p,u,d){if(p&&typeof p.line!="number"&&typeof p.column!="number"){var f="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(f),!1;throw new Error(f)}if(!(c&&"line"in c&&"column"in c&&c.line>0&&c.column>=0&&!p&&!u&&!d)){if(c&&"line"in c&&"column"in c&&p&&"line"in p&&"column"in p&&c.line>0&&c.column>=0&&p.line>0&&p.column>=0&&u)return;var f="Invalid mapping: "+JSON.stringify({generated:c,source:u,original:p,name:d});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(f),!1;throw new Error(f)}},n.prototype._serializeMappings=function(){for(var c=0,p=1,u=0,d=0,f=0,m=0,y="",v,T,S,g,_=this._mappings.toArray(),b=0,A=_.length;b<A;b++){if(T=_[b],v="",T.generatedLine!==p)for(c=0;T.generatedLine!==p;)v+=";",p++;else if(b>0){if(!e.compareByGeneratedPositionsInflated(T,_[b-1]))continue;v+=","}v+=t.encode(T.generatedColumn-c),c=T.generatedColumn,T.source!=null&&(g=this._sources.indexOf(T.source),v+=t.encode(g-m),m=g,v+=t.encode(T.originalLine-1-d),d=T.originalLine-1,v+=t.encode(T.originalColumn-u),u=T.originalColumn,T.name!=null&&(S=this._names.indexOf(T.name),v+=t.encode(S-f),f=S)),y+=v}return y},n.prototype._generateSourcesContent=function(c,p){return c.map(function(u){if(!this._sourcesContents)return null;p!=null&&(u=e.relative(p,u));var d=e.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},n.prototype.toJSON=function(){var c={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(c.file=this._file),this._sourceRoot!=null&&(c.sourceRoot=this._sourceRoot),this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,c.sourceRoot)),c},n.prototype.toString=function(){return JSON.stringify(this.toJSON())},Va.SourceMapGenerator=n,Va}var ws={},Ga={},Ph;function kE(){return Ph||(Ph=1,function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,i,n,l,c,p){var u=Math.floor((i-r)/2)+r,d=c(n,l[u],!0);return d===0?u:d>0?i-u>1?e(u,i,n,l,c,p):p==t.LEAST_UPPER_BOUND?i<l.length?i:-1:u:u-r>1?e(r,u,n,l,c,p):p==t.LEAST_UPPER_BOUND?u:r<0?-1:r}t.search=function(i,n,l,c){if(n.length===0)return-1;var p=e(-1,n.length,i,n,l,c||t.GREATEST_LOWER_BOUND);if(p<0)return-1;for(;p-1>=0&&l(n[p],n[p-1],!0)===0;)--p;return p}}(Ga)),Ga}var Xa={},bh;function LE(){if(bh)return Xa;bh=1;function t(i){function n(p,u,d){var f=p[u];p[u]=p[d],p[d]=f}function l(p,u){return Math.round(p+Math.random()*(u-p))}function c(p,u,d,f){if(d<f){var m=l(d,f),y=d-1;n(p,m,f);for(var v=p[f],T=d;T<f;T++)u(p[T],v,!1)<=0&&(y+=1,n(p,y,T));n(p,y+1,T);var S=y+1;c(p,u,d,S-1),c(p,u,S+1,f)}}return c}function e(i){let n=t.toString();return new Function(`return ${n}`)()(i)}let r=new WeakMap;return Xa.quickSort=function(i,n,l=0){let c=r.get(n);c===void 0&&(c=e(n),r.set(n,c)),c(i,n,l,i.length-1)},Xa}var _h;function ME(){if(_h)return ws;_h=1;var t=ni(),e=kE(),r=ym().ArraySet,i=mm(),n=LE().quickSort;function l(m,y){var v=m;return typeof m=="string"&&(v=t.parseSourceMapInput(m)),v.sections!=null?new f(v,y):new c(v,y)}l.fromSourceMap=function(m,y){return c.fromSourceMap(m,y)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(y,v){var T=y.charAt(v);return T===";"||T===","},l.prototype._parseMappings=function(y,v){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(y,v,T){var S=v||null,g=T||l.GENERATED_ORDER,_;switch(g){case l.GENERATED_ORDER:_=this._generatedMappings;break;case l.ORIGINAL_ORDER:_=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var b=this.sourceRoot,A=y.bind(S),O=this._names,x=this._sources,L=this._sourceMapURL,R=0,C=_.length;R<C;R++){var k=_[R],N=k.source===null?null:x.at(k.source);N!==null&&(N=t.computeSourceURL(b,N,L)),A({source:N,generatedLine:k.generatedLine,generatedColumn:k.generatedColumn,originalLine:k.originalLine,originalColumn:k.originalColumn,name:k.name===null?null:O.at(k.name)})}},l.prototype.allGeneratedPositionsFor=function(y){var v=t.getArg(y,"line"),T={source:t.getArg(y,"source"),originalLine:v,originalColumn:t.getArg(y,"column",0)};if(T.source=this._findSourceIndex(T.source),T.source<0)return[];var S=[],g=this._findMapping(T,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(g>=0){var _=this._originalMappings[g];if(y.column===void 0)for(var b=_.originalLine;_&&_.originalLine===b;)S.push({line:t.getArg(_,"generatedLine",null),column:t.getArg(_,"generatedColumn",null),lastColumn:t.getArg(_,"lastGeneratedColumn",null)}),_=this._originalMappings[++g];else for(var A=_.originalColumn;_&&_.originalLine===v&&_.originalColumn==A;)S.push({line:t.getArg(_,"generatedLine",null),column:t.getArg(_,"generatedColumn",null),lastColumn:t.getArg(_,"lastGeneratedColumn",null)}),_=this._originalMappings[++g]}return S},ws.SourceMapConsumer=l;function c(m,y){var v=m;typeof m=="string"&&(v=t.parseSourceMapInput(m));var T=t.getArg(v,"version"),S=t.getArg(v,"sources"),g=t.getArg(v,"names",[]),_=t.getArg(v,"sourceRoot",null),b=t.getArg(v,"sourcesContent",null),A=t.getArg(v,"mappings"),O=t.getArg(v,"file",null);if(T!=this._version)throw new Error("Unsupported version: "+T);_&&(_=t.normalize(_)),S=S.map(String).map(t.normalize).map(function(x){return _&&t.isAbsolute(_)&&t.isAbsolute(x)?t.relative(_,x):x}),this._names=r.fromArray(g.map(String),!0),this._sources=r.fromArray(S,!0),this._absoluteSources=this._sources.toArray().map(function(x){return t.computeSourceURL(_,x,y)}),this.sourceRoot=_,this.sourcesContent=b,this._mappings=A,this._sourceMapURL=y,this.file=O}c.prototype=Object.create(l.prototype),c.prototype.consumer=l,c.prototype._findSourceIndex=function(m){var y=m;if(this.sourceRoot!=null&&(y=t.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]==m)return v;return-1},c.fromSourceMap=function(y,v){var T=Object.create(c.prototype),S=T._names=r.fromArray(y._names.toArray(),!0),g=T._sources=r.fromArray(y._sources.toArray(),!0);T.sourceRoot=y._sourceRoot,T.sourcesContent=y._generateSourcesContent(T._sources.toArray(),T.sourceRoot),T.file=y._file,T._sourceMapURL=v,T._absoluteSources=T._sources.toArray().map(function(C){return t.computeSourceURL(T.sourceRoot,C,v)});for(var _=y._mappings.toArray().slice(),b=T.__generatedMappings=[],A=T.__originalMappings=[],O=0,x=_.length;O<x;O++){var L=_[O],R=new p;R.generatedLine=L.generatedLine,R.generatedColumn=L.generatedColumn,L.source&&(R.source=g.indexOf(L.source),R.originalLine=L.originalLine,R.originalColumn=L.originalColumn,L.name&&(R.name=S.indexOf(L.name)),A.push(R)),b.push(R)}return n(T.__originalMappings,t.compareByOriginalPositions),T},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function p(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}const u=t.compareByGeneratedPositionsDeflatedNoLine;function d(m,y){let v=m.length,T=m.length-y;if(!(T<=1))if(T==2){let S=m[y],g=m[y+1];u(S,g)>0&&(m[y]=g,m[y+1]=S)}else if(T<20)for(let S=y;S<v;S++)for(let g=S;g>y;g--){let _=m[g-1],b=m[g];if(u(_,b)<=0)break;m[g-1]=b,m[g]=_}else n(m,u,y)}c.prototype._parseMappings=function(y,v){var T=1,S=0,g=0,_=0,b=0,A=0,O=y.length,x=0,L={},R=[],C=[],k,N,F,W;let Y=0;for(;x<O;)if(y.charAt(x)===";")T++,x++,S=0,d(C,Y),Y=C.length;else if(y.charAt(x)===",")x++;else{for(k=new p,k.generatedLine=T,F=x;F<O&&!this._charIsMappingSeparator(y,F);F++);for(y.slice(x,F),N=[];x<F;)i.decode(y,x,L),W=L.value,x=L.rest,N.push(W);if(N.length===2)throw new Error("Found a source, but no line and column");if(N.length===3)throw new Error("Found a source and line, but no column");if(k.generatedColumn=S+N[0],S=k.generatedColumn,N.length>1&&(k.source=b+N[1],b+=N[1],k.originalLine=g+N[2],g=k.originalLine,k.originalLine+=1,k.originalColumn=_+N[3],_=k.originalColumn,N.length>4&&(k.name=A+N[4],A+=N[4])),C.push(k),typeof k.originalLine=="number"){let z=k.source;for(;R.length<=z;)R.push(null);R[z]===null&&(R[z]=[]),R[z].push(k)}}d(C,Y),this.__generatedMappings=C;for(var re=0;re<R.length;re++)R[re]!=null&&n(R[re],t.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...R)},c.prototype._findMapping=function(y,v,T,S,g,_){if(y[T]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+y[T]);if(y[S]<0)throw new TypeError("Column must be greater than or equal to 0, got "+y[S]);return e.search(y,v,g,_)},c.prototype.computeColumnSpans=function(){for(var y=0;y<this._generatedMappings.length;++y){var v=this._generatedMappings[y];if(y+1<this._generatedMappings.length){var T=this._generatedMappings[y+1];if(v.generatedLine===T.generatedLine){v.lastGeneratedColumn=T.generatedColumn-1;continue}}v.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(y){var v={generatedLine:t.getArg(y,"line"),generatedColumn:t.getArg(y,"column")},T=this._findMapping(v,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(y,"bias",l.GREATEST_LOWER_BOUND));if(T>=0){var S=this._generatedMappings[T];if(S.generatedLine===v.generatedLine){var g=t.getArg(S,"source",null);g!==null&&(g=this._sources.at(g),g=t.computeSourceURL(this.sourceRoot,g,this._sourceMapURL));var _=t.getArg(S,"name",null);return _!==null&&(_=this._names.at(_)),{source:g,line:t.getArg(S,"originalLine",null),column:t.getArg(S,"originalColumn",null),name:_}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(y){return y==null}):!1},c.prototype.sourceContentFor=function(y,v){if(!this.sourcesContent)return null;var T=this._findSourceIndex(y);if(T>=0)return this.sourcesContent[T];var S=y;this.sourceRoot!=null&&(S=t.relative(this.sourceRoot,S));var g;if(this.sourceRoot!=null&&(g=t.urlParse(this.sourceRoot))){var _=S.replace(/^file:\/\//,"");if(g.scheme=="file"&&this._sources.has(_))return this.sourcesContent[this._sources.indexOf(_)];if((!g.path||g.path=="/")&&this._sources.has("/"+S))return this.sourcesContent[this._sources.indexOf("/"+S)]}if(v)return null;throw new Error('"'+S+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(y){var v=t.getArg(y,"source");if(v=this._findSourceIndex(v),v<0)return{line:null,column:null,lastColumn:null};var T={source:v,originalLine:t.getArg(y,"line"),originalColumn:t.getArg(y,"column")},S=this._findMapping(T,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(y,"bias",l.GREATEST_LOWER_BOUND));if(S>=0){var g=this._originalMappings[S];if(g.source===T.source)return{line:t.getArg(g,"generatedLine",null),column:t.getArg(g,"generatedColumn",null),lastColumn:t.getArg(g,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},ws.BasicSourceMapConsumer=c;function f(m,y){var v=m;typeof m=="string"&&(v=t.parseSourceMapInput(m));var T=t.getArg(v,"version"),S=t.getArg(v,"sections");if(T!=this._version)throw new Error("Unsupported version: "+T);this._sources=new r,this._names=new r;var g={line:-1,column:0};this._sections=S.map(function(_){if(_.url)throw new Error("Support for url field in sections not implemented.");var b=t.getArg(_,"offset"),A=t.getArg(b,"line"),O=t.getArg(b,"column");if(A<g.line||A===g.line&&O<g.column)throw new Error("Section offsets must be ordered and non-overlapping.");return g=b,{generatedOffset:{generatedLine:A+1,generatedColumn:O+1},consumer:new l(t.getArg(_,"map"),y)}})}return f.prototype=Object.create(l.prototype),f.prototype.constructor=l,f.prototype._version=3,Object.defineProperty(f.prototype,"sources",{get:function(){for(var m=[],y=0;y<this._sections.length;y++)for(var v=0;v<this._sections[y].consumer.sources.length;v++)m.push(this._sections[y].consumer.sources[v]);return m}}),f.prototype.originalPositionFor=function(y){var v={generatedLine:t.getArg(y,"line"),generatedColumn:t.getArg(y,"column")},T=e.search(v,this._sections,function(g,_){var b=g.generatedLine-_.generatedOffset.generatedLine;return b||g.generatedColumn-_.generatedOffset.generatedColumn}),S=this._sections[T];return S?S.consumer.originalPositionFor({line:v.generatedLine-(S.generatedOffset.generatedLine-1),column:v.generatedColumn-(S.generatedOffset.generatedLine===v.generatedLine?S.generatedOffset.generatedColumn-1:0),bias:y.bias}):{source:null,line:null,column:null,name:null}},f.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(y){return y.consumer.hasContentsOfAllSources()})},f.prototype.sourceContentFor=function(y,v){for(var T=0;T<this._sections.length;T++){var S=this._sections[T],g=S.consumer.sourceContentFor(y,!0);if(g||g==="")return g}if(v)return null;throw new Error('"'+y+'" is not in the SourceMap.')},f.prototype.generatedPositionFor=function(y){for(var v=0;v<this._sections.length;v++){var T=this._sections[v];if(T.consumer._findSourceIndex(t.getArg(y,"source"))!==-1){var S=T.consumer.generatedPositionFor(y);if(S){var g={line:S.line+(T.generatedOffset.generatedLine-1),column:S.column+(T.generatedOffset.generatedLine===S.line?T.generatedOffset.generatedColumn-1:0)};return g}}}return{line:null,column:null}},f.prototype._parseMappings=function(y,v){this.__generatedMappings=[],this.__originalMappings=[];for(var T=0;T<this._sections.length;T++)for(var S=this._sections[T],g=S.consumer._generatedMappings,_=0;_<g.length;_++){var b=g[_],A=S.consumer._sources.at(b.source);A!==null&&(A=t.computeSourceURL(S.consumer.sourceRoot,A,this._sourceMapURL)),this._sources.add(A),A=this._sources.indexOf(A);var O=null;b.name&&(O=S.consumer._names.at(b.name),this._names.add(O),O=this._names.indexOf(O));var x={source:A,generatedLine:b.generatedLine+(S.generatedOffset.generatedLine-1),generatedColumn:b.generatedColumn+(S.generatedOffset.generatedLine===b.generatedLine?S.generatedOffset.generatedColumn-1:0),originalLine:b.originalLine,originalColumn:b.originalColumn,name:O};this.__generatedMappings.push(x),typeof x.originalLine=="number"&&this.__originalMappings.push(x)}n(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),n(this.__originalMappings,t.compareByOriginalPositions)},ws.IndexedSourceMapConsumer=f,ws}var Ja={},xh;function RE(){if(xh)return Ja;xh=1;var t=gm().SourceMapGenerator,e=ni(),r=/(\r?\n)/,i=10,n="$$$isSourceNode$$$";function l(c,p,u,d,f){this.children=[],this.sourceContents={},this.line=c??null,this.column=p??null,this.source=u??null,this.name=f??null,this[n]=!0,d!=null&&this.add(d)}return l.fromStringWithSourceMap=function(p,u,d){var f=new l,m=p.split(r),y=0,v=function(){var b=O(),A=O()||"";return b+A;function O(){return y<m.length?m[y++]:void 0}},T=1,S=0,g=null;return u.eachMapping(function(b){if(g!==null)if(T<b.generatedLine)_(g,v()),T++,S=0;else{var A=m[y]||"",O=A.substr(0,b.generatedColumn-S);m[y]=A.substr(b.generatedColumn-S),S=b.generatedColumn,_(g,O),g=b;return}for(;T<b.generatedLine;)f.add(v()),T++;if(S<b.generatedColumn){var A=m[y]||"";f.add(A.substr(0,b.generatedColumn)),m[y]=A.substr(b.generatedColumn),S=b.generatedColumn}g=b},this),y<m.length&&(g&&_(g,v()),f.add(m.splice(y).join(""))),u.sources.forEach(function(b){var A=u.sourceContentFor(b);A!=null&&(d!=null&&(b=e.join(d,b)),f.setSourceContent(b,A))}),f;function _(b,A){if(b===null||b.source===void 0)f.add(A);else{var O=d?e.join(d,b.source):b.source;f.add(new l(b.originalLine,b.originalColumn,O,A,b.name))}}},l.prototype.add=function(p){if(Array.isArray(p))p.forEach(function(u){this.add(u)},this);else if(p[n]||typeof p=="string")p&&this.children.push(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},l.prototype.prepend=function(p){if(Array.isArray(p))for(var u=p.length-1;u>=0;u--)this.prepend(p[u]);else if(p[n]||typeof p=="string")this.children.unshift(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},l.prototype.walk=function(p){for(var u,d=0,f=this.children.length;d<f;d++)u=this.children[d],u[n]?u.walk(p):u!==""&&p(u,{source:this.source,line:this.line,column:this.column,name:this.name})},l.prototype.join=function(p){var u,d,f=this.children.length;if(f>0){for(u=[],d=0;d<f-1;d++)u.push(this.children[d]),u.push(p);u.push(this.children[d]),this.children=u}return this},l.prototype.replaceRight=function(p,u){var d=this.children[this.children.length-1];return d[n]?d.replaceRight(p,u):typeof d=="string"?this.children[this.children.length-1]=d.replace(p,u):this.children.push("".replace(p,u)),this},l.prototype.setSourceContent=function(p,u){this.sourceContents[e.toSetString(p)]=u},l.prototype.walkSourceContents=function(p){for(var u=0,d=this.children.length;u<d;u++)this.children[u][n]&&this.children[u].walkSourceContents(p);for(var f=Object.keys(this.sourceContents),u=0,d=f.length;u<d;u++)p(e.fromSetString(f[u]),this.sourceContents[f[u]])},l.prototype.toString=function(){var p="";return this.walk(function(u){p+=u}),p},l.prototype.toStringWithSourceMap=function(p){var u={code:"",line:1,column:0},d=new t(p),f=!1,m=null,y=null,v=null,T=null;return this.walk(function(S,g){u.code+=S,g.source!==null&&g.line!==null&&g.column!==null?((m!==g.source||y!==g.line||v!==g.column||T!==g.name)&&d.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:u.line,column:u.column},name:g.name}),m=g.source,y=g.line,v=g.column,T=g.name,f=!0):f&&(d.addMapping({generated:{line:u.line,column:u.column}}),m=null,f=!1);for(var _=0,b=S.length;_<b;_++)S.charCodeAt(_)===i?(u.line++,u.column=0,_+1===b?(m=null,f=!1):f&&d.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:u.line,column:u.column},name:g.name})):u.column++}),this.walkSourceContents(function(S,g){d.setSourceContent(S,g)}),{code:u.code,map:d}},Ja.SourceNode=l,Ja}var Ah;function sa(){return Ah||(Ah=1,Ts.SourceMapGenerator=gm().SourceMapGenerator,Ts.SourceMapConsumer=ME().SourceMapConsumer,Ts.SourceNode=RE().SourceNode),Ts}var ks=sa();const ia="/*@__PURE__*/",tn=t=>`${nt[t]}: _${nt[t]}`;function Ch(t,{mode:e="function",prefixIdentifiers:r=e==="module",sourceMap:i=!1,filename:n="template.vue.html",scopeId:l=null,optimizeImports:c=!1,runtimeGlobalName:p="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:d="vue/server-renderer",ssr:f=!1,isTS:m=!1,inSSR:y=!1}){const v={mode:e,prefixIdentifiers:r,sourceMap:i,filename:n,scopeId:l,optimizeImports:c,runtimeGlobalName:p,runtimeModuleName:u,ssrRuntimeModuleName:d,ssr:f,isTS:m,inSSR:y,source:t.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(g){return`_${nt[g]}`},push(g,_=-2,b){if(v.code+=g,v.map){if(b){let A;if(b.type===4&&!b.isStatic){const O=b.content.replace(/^_ctx\./,"");O!==b.content&&Yt(O)&&(A=O)}S(b.loc.start,A)}_===-3?Xl(v,g):(v.offset+=g.length,_===-2?v.column+=g.length:(_===-1&&(_=g.length-1),v.line++,v.column=g.length-_)),b&&b.loc!==Le&&S(b.loc.end)}},indent(){T(++v.indentLevel)},deindent(g=!1){g?--v.indentLevel:T(--v.indentLevel)},newline(){T(v.indentLevel)}};function T(g){v.push(`
|
|
17
|
-
`+" ".repeat(g),0)}function S(g,_=null){const{_names:b,_mappings:A}=v.map;_!==null&&!b.has(_)&&b.add(_),A.add({originalLine:g.line,originalColumn:g.column-1,generatedLine:v.line,generatedColumn:v.column-1,source:n,name:_})}return i&&(v.map=new ks.SourceMapGenerator,v.map.setSourceContent(n,v.source),v.map._sources.add(n)),v}function Ql(t,e={}){const r=Ch(t,e);e.onContextCreated&&e.onContextCreated(r);const{mode:i,push:n,prefixIdentifiers:l,indent:c,deindent:p,newline:u,scopeId:d,ssr:f}=r,m=Array.from(t.helpers),y=m.length>0,v=!l&&i!=="module",T=d!=null&&i==="module",S=!!e.inline,g=S?Ch(t,e):r;i==="module"?FE(t,g,T,S):DE(t,g);const _=f?"ssrRender":"render",b=f?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];e.bindingMetadata&&!e.inline&&b.push("$props","$setup","$data","$options");const A=e.isTS?b.map(O=>`${O}: any`).join(","):b.join(", ");if(n(S?`(${A}) => {`:`function ${_}(${A}) {`),c(),v&&(n("with (_ctx) {"),c(),y&&(n(`const { ${m.map(tn).join(", ")} } = _Vue
|
|
18
|
-
`,-1),u())),t.components.length&&(Ih(t.components,"component",r),(t.directives.length||t.temps>0)&&u()),t.directives.length&&(Ih(t.directives,"directive",r),t.temps>0&&u()),t.temps>0){n("let ");for(let O=0;O<t.temps;O++)n(`${O>0?", ":""}_temp${O}`)}return(t.components.length||t.directives.length||t.temps)&&(n(`
|
|
19
|
-
`,0),u()),f||n("return "),t.codegenNode?ke(t.codegenNode,r):n("null"),v&&(p(),n("}")),p(),n("}"),{ast:t,code:r.code,preamble:S?g.code:"",map:r.map?r.map.toJSON():void 0}}function DE(t,e){const{ssr:r,prefixIdentifiers:i,push:n,newline:l,runtimeModuleName:c,runtimeGlobalName:p,ssrRuntimeModuleName:u}=e,d=r?`require(${JSON.stringify(c)})`:p,f=Array.from(t.helpers);if(f.length>0){if(i)n(`const { ${f.map(tn).join(", ")} } = ${d}
|
|
20
|
-
`,-1);else if(n(`const _Vue = ${d}
|
|
21
|
-
`,-1),t.hoists.length){const m=[Zs,Dn,cs,Fn,Bn].filter(y=>f.includes(y)).map(tn).join(", ");n(`const { ${m} } = _Vue
|
|
22
|
-
`,-1)}}t.ssrHelpers&&t.ssrHelpers.length&&n(`const { ${t.ssrHelpers.map(tn).join(", ")} } = require("${u}")
|
|
23
|
-
`,-1),vm(t.hoists,e),l(),n("return ")}function FE(t,e,r,i){const{push:n,newline:l,optimizeImports:c,runtimeModuleName:p,ssrRuntimeModuleName:u}=e;if(t.helpers.size){const d=Array.from(t.helpers);c?(n(`import { ${d.map(f=>nt[f]).join(", ")} } from ${JSON.stringify(p)}
|
|
24
|
-
`,-1),n(`
|
|
25
|
-
// Binding optimization for webpack code-split
|
|
26
|
-
const ${d.map(f=>`_${nt[f]} = ${nt[f]}`).join(", ")}
|
|
27
|
-
`,-1)):n(`import { ${d.map(f=>`${nt[f]} as _${nt[f]}`).join(", ")} } from ${JSON.stringify(p)}
|
|
28
|
-
`,-1)}t.ssrHelpers&&t.ssrHelpers.length&&n(`import { ${t.ssrHelpers.map(d=>`${nt[d]} as _${nt[d]}`).join(", ")} } from "${u}"
|
|
29
|
-
`,-1),t.imports.length&&(BE(t.imports,e),l()),vm(t.hoists,e),l(),i||n("export ")}function Ih(t,e,{helper:r,push:i,newline:n,isTS:l}){const c=r(e==="component"?js:$n);for(let p=0;p<t.length;p++){let u=t[p];const d=u.endsWith("__self");d&&(u=u.slice(0,-6)),i(`const ${Hs(u,e)} = ${c}(${JSON.stringify(u)}${d?", true":""})${l?"!":""}`),p<t.length-1&&n()}}function vm(t,e){if(!t.length)return;e.pure=!0;const{push:r,newline:i}=e;i();for(let n=0;n<t.length;n++){const l=t[n];l&&(r(`const _hoisted_${n+1} = `),ke(l,e),i())}e.pure=!1}function BE(t,e){t.length&&t.forEach(r=>{e.push("import "),ke(r.exp,e),e.push(` from '${r.path}'`),e.newline()})}function $E(t){return ve(t)||t.type===4||t.type===2||t.type===5||t.type===8}function na(t,e){const r=t.length>3||t.some(i=>Be(i)||!$E(i));e.push("["),r&&e.indent(),ps(t,e,r),r&&e.deindent(),e.push("]")}function ps(t,e,r=!1,i=!0){const{push:n,newline:l}=e;for(let c=0;c<t.length;c++){const p=t[c];ve(p)?n(p,-3):Be(p)?na(p,e):ke(p,e),c<t.length-1&&(r?(i&&n(","),l()):i&&n(", "))}}function ke(t,e){if(ve(t)){e.push(t,-3);return}if(pr(t)){e.push(e.helper(t));return}switch(t.type){case 1:case 9:case 11:il(t.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),ke(t.codegenNode,e);break;case 2:UE(t,e);break;case 4:Sm(t,e);break;case 5:qE(t,e);break;case 12:ke(t.codegenNode,e);break;case 8:Em(t,e);break;case 3:VE(t,e);break;case 13:zE(t,e);break;case 14:HE(t,e);break;case 15:GE(t,e);break;case 17:XE(t,e);break;case 18:JE(t,e);break;case 19:KE(t,e);break;case 20:YE(t,e);break;case 21:ps(t.body,e,!0,!1);break;case 22:QE(t,e);break;case 23:Tm(t,e);break;case 24:ZE(t,e);break;case 25:eT(t,e);break;case 26:tT(t,e);break;case 10:break;default:return il(!1,`unhandled codegen node type: ${t.type}`),t}}function UE(t,e){e.push(JSON.stringify(t.content),-3,t)}function Sm(t,e){const{content:r,isStatic:i}=t;e.push(i?JSON.stringify(r):r,-3,t)}function qE(t,e){const{push:r,helper:i,pure:n}=e;n&&r(ia),r(`${i(ti)}(`),ke(t.content,e),r(")")}function Em(t,e){for(let r=0;r<t.children.length;r++){const i=t.children[r];ve(i)?e.push(i,-3):ke(i,e)}}function jE(t,e){const{push:r}=e;if(t.type===8)r("["),Em(t,e),r("]");else if(t.isStatic){const i=Yt(t.content)?t.content:JSON.stringify(t.content);r(i,-2,t)}else r(`[${t.content}]`,-3,t)}function VE(t,e){const{push:r,helper:i,pure:n}=e;n&&r(ia),r(`${i(cs)}(${JSON.stringify(t.content)})`,-3,t)}function zE(t,e){const{push:r,helper:i,pure:n}=e,{tag:l,props:c,children:p,patchFlag:u,dynamicProps:d,directives:f,isBlock:m,disableTracking:y,isComponent:v}=t;let T;if(u)if(u<0)T=u+` /* ${Ki[u]} */`;else{const g=Object.keys(Ki).map(Number).filter(_=>_>0&&u&_).map(_=>Ki[_]).join(", ");T=u+` /* ${g} */`}f&&r(i(Un)+"("),m&&r(`(${i(ur)}(${y?"true":""}), `),n&&r(ia);const S=m?Lr(e.inSSR,v):kr(e.inSSR,v);r(i(S)+"(",-2,t),ps(WE([l,c,p,T,d]),e),r(")"),m&&r(")"),f&&(r(", "),ke(f,e),r(")"))}function WE(t){let e=t.length;for(;e--&&t[e]==null;);return t.slice(0,e+1).map(r=>r||"null")}function HE(t,e){const{push:r,helper:i,pure:n}=e,l=ve(t.callee)?t.callee:i(t.callee);n&&r(ia),r(l+"(",-2,t),ps(t.arguments,e),r(")")}function GE(t,e){const{push:r,indent:i,deindent:n,newline:l}=e,{properties:c}=t;if(!c.length){r("{}",-2,t);return}const p=c.length>1||c.some(u=>u.value.type!==4);r(p?"{":"{ "),p&&i();for(let u=0;u<c.length;u++){const{key:d,value:f}=c[u];jE(d,e),r(": "),ke(f,e),u<c.length-1&&(r(","),l())}p&&n(),r(p?"}":" }")}function XE(t,e){na(t.elements,e)}function JE(t,e){const{push:r,indent:i,deindent:n}=e,{params:l,returns:c,body:p,newline:u,isSlot:d}=t;d&&r(`_${nt[Wn]}(`),r("(",-2,t),Be(l)?ps(l,e):l&&ke(l,e),r(") => "),(u||p)&&(r("{"),i()),c?(u&&r("return "),Be(c)?na(c,e):ke(c,e)):p&&ke(p,e),(u||p)&&(n(),r("}")),d&&r(")")}function KE(t,e){const{test:r,consequent:i,alternate:n,newline:l}=t,{push:c,indent:p,deindent:u,newline:d}=e;if(r.type===4){const m=!Yt(r.content);m&&c("("),Sm(r,e),m&&c(")")}else c("("),ke(r,e),c(")");l&&p(),e.indentLevel++,l||c(" "),c("? "),ke(i,e),e.indentLevel--,l&&d(),l||c(" "),c(": ");const f=n.type===19;f||e.indentLevel++,ke(n,e),f||e.indentLevel--,l&&u(!0)}function YE(t,e){const{push:r,helper:i,indent:n,deindent:l,newline:c}=e,{needPauseTracking:p,needArraySpread:u}=t;u&&r("[...("),r(`_cache[${t.index}] || (`),p&&(n(),r(`${i(Vs)}(-1`),t.inVOnce&&r(", true"),r("),"),c(),r("(")),r(`_cache[${t.index}] = `),ke(t.value,e),p&&(r(`).cacheIndex = ${t.index},`),c(),r(`${i(Vs)}(1),`),c(),r(`_cache[${t.index}]`),l()),r(")"),u&&r(")]")}function QE(t,e){const{push:r,indent:i,deindent:n}=e;r("`");const l=t.elements.length,c=l>3;for(let p=0;p<l;p++){const u=t.elements[p];ve(u)?r(u.replace(/(`|\$|\\)/g,"\\$1"),-3):(r("${"),c&&i(),ke(u,e),c&&n(),r("}"))}r("`")}function Tm(t,e){const{push:r,indent:i,deindent:n}=e,{test:l,consequent:c,alternate:p}=t;r("if ("),ke(l,e),r(") {"),i(),ke(c,e),n(),r("}"),p&&(r(" else "),p.type===23?Tm(p,e):(r("{"),i(),ke(p,e),n(),r("}")))}function ZE(t,e){ke(t.left,e),e.push(" = "),ke(t.right,e)}function eT(t,e){e.push("("),ps(t.expressions,e),e.push(")")}function tT({returns:t},e){e.push("return "),Be(t)?na(t,e):ke(t,e)}const rT=Je("true,false,null,this"),Zl=(t,e)=>{if(t.type===5)t.content=$e(t.content,e);else if(t.type===1){const r=Fe(t,"memo");for(let i=0;i<t.props.length;i++){const n=t.props[i];if(n.type===7&&n.name!=="for"){const l=n.exp,c=n.arg;l&&l.type===4&&!(n.name==="on"&&c)&&!(r&&c&&c.type===4&&c.content==="key")&&(n.exp=$e(l,e,n.name==="slot")),c&&c.type===4&&!c.isStatic&&(n.arg=$e(c,e))}}}};function $e(t,e,r=!1,i=!1,n=Object.create(e.identifiers)){if(!e.prefixIdentifiers||!t.content.trim())return t;const{inline:l,bindingMetadata:c}=e,p=(S,g,_)=>{const b=Nl(c,S)&&c[S];if(l){const A=g&&g.type==="AssignmentExpression"&&g.left===_,O=g&&g.type==="UpdateExpression"&&g.argument===_,x=g&&Yn(g,m),L=g&&Kd(m),R=C=>{const k=`${e.helperString(ss)}(${C})`;return L?`(${k})`:k};if(Nh(b)||b==="setup-reactive-const"||n[S])return S;if(b==="setup-ref")return`${S}.value`;if(b==="setup-maybe-ref")return A||O||x?`${S}.value`:R(S);if(b==="setup-let")if(A){const{right:C,operator:k}=g,N=u.slice(C.start-1,C.end-1),F=aa($e(Z(N,!1),e,!1,!1,y));return`${e.helperString(zs)}(${S})${e.isTS?` //@ts-ignore
|
|
30
|
-
`:""} ? ${S}.value ${k} ${F} : ${S}`}else if(O){_.start=g.start,_.end=g.end;const{prefix:C,operator:k}=g,N=C?k:"",F=C?"":k;return`${e.helperString(zs)}(${S})${e.isTS?` //@ts-ignore
|
|
31
|
-
`:""} ? ${N}${S}.value${F} : ${N}${S}${F}`}else return x?S:R(S);else{if(b==="props")return ln(S);if(b==="props-aliased")return ln(c.__propsAliases[S])}}else{if(b&&b.startsWith("setup")||b==="literal-const")return`$setup.${S}`;if(b==="props-aliased")return`$props['${c.__propsAliases[S]}']`;if(b)return`$${b}.${S}`}return`_ctx.${S}`},u=t.content;let d=t.ast;if(d===!1)return t;if(d===null||!d&&Yt(u)){const S=e.identifiers[u],g=Nd(u),_=rT(u);return!r&&!S&&!_&&(!g||c[u])?(Nh(c[u])&&(t.constType=1),t.content=p(u)):S||(_?t.constType=3:t.constType=2),t}if(!d){const S=i?` ${u} `:`(${u})${r?"=>{}":""}`;try{d=$t.parseExpression(S,{sourceType:"module",plugins:e.expressionPlugins})}catch(g){return e.onError(Ee(45,t.loc,void 0,g.message)),t}}const f=[],m=[],y=Object.create(e.identifiers);Kn(d,(S,g,_,b,A)=>{if(em(S,g))return;const O=b&&sT(S);O&&!A?(Qn(g)&&g.shorthand&&(S.prefix=`${S.name}: `),S.name=p(S.name,g,S),f.push(S)):(!(O&&A)&&(!g||g.type!=="CallExpression"&&g.type!=="NewExpression"&&g.type!=="MemberExpression")&&(S.isConstant=!0),f.push(S))},!0,m,y);const v=[];f.sort((S,g)=>S.start-g.start),f.forEach((S,g)=>{const _=S.start-1,b=S.end-1,A=f[g-1],O=u.slice(A?A.end-1:0,_);(O.length||S.prefix)&&v.push(O+(S.prefix||""));const x=u.slice(_,b);v.push(Z(S.name,!1,{start:sl(t.loc.start,x,_),end:sl(t.loc.start,x,b),source:x},S.isConstant?3:0)),g===f.length-1&&b<u.length&&v.push(u.slice(b))});let T;return v.length?(T=je(v,t.loc),T.ast=d):(T=t,T.constType=3),T.identifiers=Object.keys(y),T}function sT(t){return!(Nd(t.name)||t.name==="require")}function aa(t){return ve(t)?t:t.type===4?t.content:t.children.map(aa).join("")}function Nh(t){return t==="setup-const"||t==="literal-const"}const iT=ii(/^(if|else|else-if)$/,(t,e,r)=>ec(t,e,r,(i,n,l)=>{const c=r.parent.children;let p=c.indexOf(i),u=0;for(;p-->=0;){const d=c[p];d&&d.type===9&&(u+=d.branches.length)}return()=>{if(l)i.codegenNode=kh(n,u,r);else{const d=aT(i.codegenNode);d.alternate=kh(n,u+i.branches.length-1,r)}}}));function ec(t,e,r,i){if(e.name!=="else"&&(!e.exp||!e.exp.content.trim())){const n=e.exp?e.exp.loc:t.loc;r.onError(Ee(28,e.loc)),e.exp=Z("true",!1,n)}if(r.prefixIdentifiers&&e.exp&&(e.exp=$e(e.exp,r)),e.name==="if"){const n=Oh(t,e),l={type:9,loc:PE(t.loc),branches:[n]};if(r.replaceNode(l),i)return i(l,n,!0)}else{const n=r.parent.children,l=[];let c=n.indexOf(t);for(;c-->=-1;){const p=n[c];if(p&&p.type===3){r.removeNode(p),l.unshift(p);continue}if(p&&p.type===2&&!p.content.trim().length){r.removeNode(p);continue}if(p&&p.type===9){e.name==="else-if"&&p.branches[p.branches.length-1].condition===void 0&&r.onError(Ee(30,t.loc)),r.removeNode();const u=Oh(t,e);l.length&&!(r.parent&&r.parent.type===1&&(r.parent.tag==="transition"||r.parent.tag==="Transition"))&&(u.children=[...l,...u.children]);{const f=u.userKey;f&&p.branches.forEach(({userKey:m})=>{nT(m,f)&&r.onError(Ee(29,u.userKey.loc))})}p.branches.push(u);const d=i&&i(p,u,!1);hs(u,r),d&&d(),r.currentNode=null}else r.onError(Ee(30,t.loc));break}}}function Oh(t,e){const r=t.tagType===3;return{type:10,loc:t.loc,condition:e.name==="else"?void 0:e.exp,children:r&&!Fe(t,"for")?t.children:[t],userKey:ct(t,"key"),isTemplateIf:r}}function kh(t,e,r){return t.condition?At(t.condition,Lh(t,e,r),ue(r.helper(cs),['"v-if"',"true"])):Lh(t,e,r)}function Lh(t,e,r){const{helper:i}=r,n=we("key",Z(`${e}`,!1,Le,2)),{children:l}=t,c=l[0];if(l.length!==1||c.type!==1)if(l.length===1&&c.type===11){const u=c.codegenNode;return Ws(u,n,r),u}else{let u=64;return!t.isTemplateIf&&l.filter(d=>d.type!==3).length===1&&(u|=2048),is(r,i(ts),ot([n]),l,u,void 0,void 0,!0,!1,!1,t.loc)}else{const u=c.codegenNode,d=nm(u);return d.type===13&&Gn(d,r),Ws(d,n,r),u}}function nT(t,e){if(!t||t.type!==e.type)return!1;if(t.type===6){if(t.value.content!==e.value.content)return!1}else{const r=t.exp,i=e.exp;if(r.type!==i.type||r.type!==4||r.isStatic!==i.isStatic||r.content!==i.content)return!1}return!0}function aT(t){for(;;)if(t.type===19)if(t.alternate.type===19)t=t.alternate;else return t;else t.type===20&&(t=t.value)}const tc=(t,e,r)=>{const{modifiers:i,loc:n}=t,l=t.arg;let{exp:c}=t;if(c&&c.type===4&&!c.content.trim())return r.onError(Ee(34,n)),{props:[we(l,Z("",!0,n))]};if(!c){if(l.type!==4||!l.isStatic)return r.onError(Ee(52,l.loc)),{props:[we(l,Z("",!0,n))]};wm(t,r),c=t.exp}return l.type!==4?(l.children.unshift("("),l.children.push(') || ""')):l.isStatic||(l.content=`${l.content} || ""`),i.some(p=>p.content==="camel")&&(l.type===4?l.isStatic?l.content=at(l.content):l.content=`${r.helperString(cn)}(${l.content})`:(l.children.unshift(`${r.helperString(cn)}(`),l.children.push(")"))),r.inSSR||(i.some(p=>p.content==="prop")&&Mh(l,"."),i.some(p=>p.content==="attr")&&Mh(l,"^")),{props:[we(l,c)]}},wm=(t,e)=>{const r=t.arg,i=at(r.content);t.exp=Z(i,!1,r.loc),t.exp=$e(t.exp,e)},Mh=(t,e)=>{t.type===4?t.isStatic?t.content=e+t.content:t.content=`\`${e}\${${t.content}}\``:(t.children.unshift(`'${e}' + (`),t.children.push(")"))},oT=ii("for",(t,e,r)=>{const{helper:i,removeHelper:n}=r;return rc(t,e,r,l=>{const c=ue(i(qn),[l.source]),p=ns(t),u=Fe(t,"memo"),d=ct(t,"key",!1,!0),f=d&&d.type===7;f&&!d.exp&&wm(d,r);let m=d&&(d.type===6?d.value?Z(d.value.content,!0):void 0:d.exp);u&&m&&f&&(d.exp=m=$e(m,r));const y=d&&m?we("key",m):null;p&&(u&&(u.exp=$e(u.exp,r)),y&&d.type!==6&&(y.value=$e(y.value,r)));const v=l.source.type===4&&l.source.constType>0,T=v?64:d?128:256;return l.codegenNode=is(r,i(ts),void 0,c,T,void 0,void 0,!0,!v,!1,t.loc),()=>{let S;const{children:g}=l;p&&t.children.some(A=>{if(A.type===1){const O=ct(A,"key");if(O)return r.onError(Ee(33,O.loc)),!0}});const _=g.length!==1||g[0].type!==1,b=as(t)?t:p&&t.children.length===1&&as(t.children[0])?t.children[0]:null;if(b?(S=b.codegenNode,p&&y&&Ws(S,y,r)):_?S=is(r,i(ts),y?ot([y]):void 0,t.children,64,void 0,void 0,!0,void 0,!1):(S=g[0].codegenNode,p&&y&&Ws(S,y,r),S.isBlock!==!v&&(S.isBlock?(n(ur),n(Lr(r.inSSR,S.isComponent))):n(kr(r.inSSR,S.isComponent))),S.isBlock=!v,S.isBlock?(i(ur),i(Lr(r.inSSR,S.isComponent))):i(kr(r.inSSR,S.isComponent))),u){const A=gt(Gs(l.parseResult,[Z("_cached")]));A.body=ri([je(["const _memo = (",u.exp,")"]),je(["if (_cached",...m?[" && _cached.key === ",m]:[],` && ${r.helperString(Bl)}(_cached, _memo)) return _cached`]),je(["const _item = ",S]),Z("_item.memo = _memo"),Z("return _item")]),c.arguments.push(A,Z("_cache"),Z(String(r.cached.length))),r.cached.push(null)}else c.arguments.push(gt(Gs(l.parseResult),S,!0))}})});function rc(t,e,r,i){if(!e.exp){r.onError(Ee(31,e.loc));return}const n=e.forParseResult;if(!n){r.onError(Ee(32,e.loc));return}sc(n,r);const{addIdentifiers:l,removeIdentifiers:c,scopes:p}=r,{source:u,value:d,key:f,index:m}=n,y={type:11,loc:e.loc,source:u,valueAlias:d,keyAlias:f,objectIndexAlias:m,parseResult:n,children:ns(t)?t.children:[t]};r.replaceNode(y),p.vFor++,r.prefixIdentifiers&&(d&&l(d),f&&l(f),m&&l(m));const v=i&&i(y);return()=>{p.vFor--,r.prefixIdentifiers&&(d&&c(d),f&&c(f),m&&c(m)),v&&v()}}function sc(t,e){t.finalized||(e.prefixIdentifiers&&(t.source=$e(t.source,e),t.key&&(t.key=$e(t.key,e,!0)),t.index&&(t.index=$e(t.index,e,!0)),t.value&&(t.value=$e(t.value,e,!0))),t.finalized=!0)}function Gs({value:t,key:e,index:r},i=[]){return lT([t,e,r,...i])}function lT(t){let e=t.length;for(;e--&&!t[e];);return t.slice(0,e+1).map((r,i)=>r||Z("_".repeat(i+1),!1))}const Rh=Z("undefined",!1),ic=(t,e)=>{if(t.type===1&&(t.tagType===1||t.tagType===3)){const r=Fe(t,"slot");if(r){const i=r.exp;return e.prefixIdentifiers&&i&&e.addIdentifiers(i),e.scopes.vSlot++,()=>{e.prefixIdentifiers&&i&&e.removeIdentifiers(i),e.scopes.vSlot--}}}},nc=(t,e)=>{let r;if(ns(t)&&t.props.some(Jl)&&(r=Fe(t,"for"))){const i=r.forParseResult;if(i){sc(i,e);const{value:n,key:l,index:c}=i,{addIdentifiers:p,removeIdentifiers:u}=e;return n&&p(n),l&&p(l),c&&p(c),()=>{n&&u(n),l&&u(l),c&&u(c)}}}},cT=(t,e,r,i)=>gt(t,r,!1,!0,r.length?r[0].loc:i);function Xs(t,e,r=cT){e.helper(Wn);const{children:i,loc:n}=t,l=[],c=[];let p=e.scopes.vSlot>0||e.scopes.vFor>0;!e.ssr&&e.prefixIdentifiers&&(p=it(t,e.identifiers));const u=Fe(t,"slot",!0);if(u){const{arg:g,exp:_}=u;g&&!Ge(g)&&(p=!0),l.push(we(g||Z("default",!0),r(_,void 0,i,n)))}let d=!1,f=!1;const m=[],y=new Set;let v=0;for(let g=0;g<i.length;g++){const _=i[g];let b;if(!ns(_)||!(b=Fe(_,"slot",!0))){_.type!==3&&m.push(_);continue}if(u){e.onError(Ee(37,b.loc));break}d=!0;const{children:A,loc:O}=_,{arg:x=Z("default",!0),exp:L,loc:R}=b;let C;Ge(x)?C=x?x.content:"default":p=!0;const k=Fe(_,"for"),N=r(L,k,A,O);let F,W;if(F=Fe(_,"if"))p=!0,c.push(At(F.exp,Si(x,N,v++),Rh));else if(W=Fe(_,/^else(-if)?$/,!0)){let Y=g,re;for(;Y--&&(re=i[Y],re.type===3););if(re&&ns(re)&&Fe(re,/^(else-)?if$/)){let z=c[c.length-1];for(;z.alternate.type===19;)z=z.alternate;z.alternate=W.exp?At(W.exp,Si(x,N,v++),Rh):Si(x,N,v++)}else e.onError(Ee(30,W.loc))}else if(k){p=!0;const Y=k.forParseResult;Y?(sc(Y,e),c.push(ue(e.helper(qn),[Y.source,gt(Gs(Y),Si(x,N),!0)]))):e.onError(Ee(32,k.loc))}else{if(C){if(y.has(C)){e.onError(Ee(38,R));continue}y.add(C),C==="default"&&(f=!0)}l.push(we(x,N))}}if(!u){const g=(_,b)=>{const A=r(_,void 0,b,n);return we("default",A)};d?m.length&&m.some(_=>Pm(_))&&(f?e.onError(Ee(39,m[0].loc)):l.push(g(void 0,m))):l.push(g(void 0,i))}const T=p?2:rn(t.children)?3:1;let S=ot(l.concat(we("_",Z(T+` /* ${pS[T]} */`,!1))),n);return c.length&&(S=ue(e.helper(Fl),[S,Xt(c)])),{slots:S,hasDynamicSlots:p}}function Si(t,e,r){const i=[we("name",t),we("fn",e)];return r!=null&&i.push(we("key",Z(String(r),!0))),ot(i)}function rn(t){for(let e=0;e<t.length;e++){const r=t[e];switch(r.type){case 1:if(r.tagType===2||rn(r.children))return!0;break;case 9:if(rn(r.branches))return!0;break;case 10:case 11:if(rn(r.children))return!0;break}}return!1}function Pm(t){return t.type!==2&&t.type!==12?!0:t.type===2?!!t.content.trim():Pm(t.content)}const bm=new WeakMap,_m=(t,e)=>function(){if(t=e.currentNode,!(t.type===1&&(t.tagType===0||t.tagType===1)))return;const{tag:i,props:n}=t,l=t.tagType===1;let c=l?oa(t,e):`"${i}"`;const p=fr(c)&&c.callee===ei;let u,d,f=0,m,y,v,T=p||c===Ar||c===ls||!l&&(i==="svg"||i==="foreignObject"||i==="math");if(n.length>0){const S=fs(t,e,void 0,l,p);u=S.props,f=S.patchFlag,y=S.dynamicPropNames;const g=S.directives;v=g&&g.length?Xt(g.map(_=>ac(_,e))):void 0,S.shouldUseBlock&&(T=!0)}if(t.children.length>0)if(c===qs&&(T=!0,f|=1024,t.children.length>1&&e.onError(Ee(46,{start:t.children[0].loc.start,end:t.children[t.children.length-1].loc.end,source:""}))),l&&c!==Ar&&c!==qs){const{slots:g,hasDynamicSlots:_}=Xs(t,e);d=g,_&&(f|=1024)}else if(t.children.length===1&&c!==Ar){const g=t.children[0],_=g.type,b=_===5||_===8;b&<(g,e)===0&&(f|=1),b||_===2?d=g:d=t.children}else d=t.children;y&&y.length&&(m=hT(y)),t.codegenNode=is(e,c,u,d,f===0?void 0:f,m,v,!!T,!1,l,t.loc)};function oa(t,e,r=!1){let{tag:i}=t;const n=ll(i),l=ct(t,"is",!1,!0);if(l)if(n){let p;if(l.type===6?p=l.value&&Z(l.value.content,!0):(p=l.exp,p||(p=Z("is",!1,l.arg.loc),p=l.exp=$e(p,e))),p)return ue(e.helper(ei),[p])}else l.type===6&&l.value.content.startsWith("vue:")&&(i=l.value.content.slice(4));const c=Hl(i)||e.isBuiltInComponent(i);if(c)return r||e.helper(c),c;{const p=ol(i,e);if(p)return p;const u=i.indexOf(".");if(u>0){const d=ol(i.slice(0,u),e);if(d)return d+i.slice(u)}}return e.selfName&&cr(at(i))===e.selfName?(e.helper(js),e.components.add(i+"__self"),Hs(i,"component")):(e.helper(js),e.components.add(i),Hs(i,"component"))}function ol(t,e){const r=e.bindingMetadata;if(!r||r.__isScriptSetup===!1)return;const i=at(t),n=cr(i),l=d=>{if(r[t]===d)return t;if(r[i]===d)return i;if(r[n]===d)return n},c=l("setup-const")||l("setup-reactive-const")||l("literal-const");if(c)return e.inline?c:`$setup[${JSON.stringify(c)}]`;const p=l("setup-let")||l("setup-ref")||l("setup-maybe-ref");if(p)return e.inline?`${e.helperString(ss)}(${p})`:`$setup[${JSON.stringify(p)}]`;const u=l("props");if(u)return`${e.helperString(ss)}(${e.inline?"__props":"$props"}[${JSON.stringify(u)}])`}function fs(t,e,r=t.props,i,n,l=!1){const{tag:c,loc:p,children:u}=t;let d=[];const f=[],m=[],y=u.length>0;let v=!1,T=0,S=!1,g=!1,_=!1,b=!1,A=!1,O=!1;const x=[],L=N=>{d.length&&(f.push(ot(Dh(d),p)),d=[]),N&&f.push(N)},R=()=>{e.scopes.vFor>0&&d.push(we(Z("ref_for",!0),Z("true")))},C=({key:N,value:F})=>{if(Ge(N)){const W=N.content,Y=xd(W);if(Y&&(!i||n)&&W.toLowerCase()!=="onclick"&&W!=="onUpdate:modelValue"&&!lh(W)&&(b=!0),Y&&lh(W)&&(O=!0),Y&&F.type===14&&(F=F.arguments[0]),F.type===20||(F.type===4||F.type===8)&<(F,e)>0)return;W==="ref"?S=!0:W==="class"?g=!0:W==="style"?_=!0:W!=="key"&&!x.includes(W)&&x.push(W),i&&(W==="class"||W==="style")&&!x.includes(W)&&x.push(W)}else A=!0};for(let N=0;N<r.length;N++){const F=r[N];if(F.type===6){const{loc:W,name:Y,nameLoc:re,value:z}=F;let ie=!0;if(Y==="ref"&&(S=!0,R(),z&&e.inline)){const J=e.bindingMetadata[z.content];(J==="setup-let"||J==="setup-ref"||J==="setup-maybe-ref")&&(ie=!1,d.push(we(Z("ref_key",!0),Z(z.content,!0,z.loc))))}if(Y==="is"&&(ll(c)||z&&z.content.startsWith("vue:")))continue;d.push(we(Z(Y,!0,re),Z(z?z.content:"",ie,z?z.loc:W)))}else{const{name:W,arg:Y,exp:re,loc:z,modifiers:ie}=F,J=W==="bind",fe=W==="on";if(W==="slot"){i||e.onError(Ee(40,z));continue}if(W==="once"||W==="memo"||W==="is"||J&&Rt(Y,"is")&&ll(c)||fe&&l)continue;if((J&&Rt(Y,"key")||fe&&y&&Rt(Y,"vue:before-update"))&&(v=!0),J&&Rt(Y,"ref")&&R(),!Y&&(J||fe)){A=!0,re?J?(R(),L(),f.push(re)):L({type:14,loc:z,callee:e.helper(zn),arguments:i?[re]:[re,"true"]}):e.onError(Ee(J?34:35,z));continue}J&&ie.some(de=>de.content==="prop")&&(T|=32);const Ne=e.directiveTransforms[W];if(Ne){const{props:de,needRuntime:te}=Ne(F,t,e);!l&&de.forEach(C),fe&&Y&&!Ge(Y)?L(ot(de,p)):d.push(...de),te&&(m.push(F),pr(te)&&bm.set(F,te))}else kl(W)||(m.push(F),y&&(v=!0))}}let k;if(f.length?(L(),f.length>1?k=ue(e.helper(Or),f,p):k=f[0]):d.length&&(k=ot(Dh(d),p)),A?T|=16:(g&&!i&&(T|=2),_&&!i&&(T|=4),x.length&&(T|=8),b&&(T|=32)),!v&&(T===0||T===32)&&(S||O||m.length>0)&&(T|=512),!e.inSSR&&k)switch(k.type){case 15:let N=-1,F=-1,W=!1;for(let z=0;z<k.properties.length;z++){const ie=k.properties[z].key;Ge(ie)?ie.content==="class"?N=z:ie.content==="style"&&(F=z):ie.isHandlerKey||(W=!0)}const Y=k.properties[N],re=k.properties[F];W?k=ue(e.helper(rs),[k]):(Y&&!Ge(Y.value)&&(Y.value=ue(e.helper(jn),[Y.value])),re&&(_||re.value.type===4&&re.value.content.trim()[0]==="["||re.value.type===17)&&(re.value=ue(e.helper(Vn),[re.value])));break;case 14:break;default:k=ue(e.helper(rs),[ue(e.helper(us),[k])]);break}return{props:k,directives:m,patchFlag:T,dynamicPropNames:x,shouldUseBlock:v}}function Dh(t){const e=new Map,r=[];for(let i=0;i<t.length;i++){const n=t[i];if(n.key.type===8||!n.key.isStatic){r.push(n);continue}const l=n.key.content,c=e.get(l);c?(l==="style"||l==="class"||xd(l))&&uT(c,n):(e.set(l,n),r.push(n))}return r}function uT(t,e){t.value.type===17?t.value.elements.push(e.value):t.value=Xt([t.value,e.value],t.loc)}function ac(t,e){const r=[],i=bm.get(t);if(i)r.push(e.helperString(i));else{const l=ol("v-"+t.name,e);l?r.push(l):(e.helper($n),e.directives.add(t.name),r.push(Hs(t.name,"directive")))}const{loc:n}=t;if(t.exp&&r.push(t.exp),t.arg&&(t.exp||r.push("void 0"),r.push(t.arg)),Object.keys(t.modifiers).length){t.arg||(t.exp||r.push("void 0"),r.push("void 0"));const l=Z("true",!1,n);r.push(ot(t.modifiers.map(c=>we(c,l)),n))}return Xt(r,t.loc)}function hT(t){let e="[";for(let r=0,i=t.length;r<i;r++)e+=JSON.stringify(t[r]),r<i-1&&(e+=", ");return e+"]"}function ll(t){return t==="component"||t==="Component"}const pT=(t,e)=>{if(as(t)){const{children:r,loc:i}=t,{slotName:n,slotProps:l}=oc(t,e),c=[e.prefixIdentifiers?"_ctx.$slots":"$slots",n,"{}","undefined","true"];let p=2;l&&(c[2]=l,p=3),r.length&&(c[3]=gt([],r,!1,!1,i),p=4),e.scopeId&&!e.slotted&&(p=5),c.splice(p),t.codegenNode=ue(e.helper(Dl),c,i)}};function oc(t,e){let r='"default"',i;const n=[];for(let l=0;l<t.props.length;l++){const c=t.props[l];if(c.type===6)c.value&&(c.name==="name"?r=JSON.stringify(c.value.content):(c.name=at(c.name),n.push(c)));else if(c.name==="bind"&&Rt(c.arg,"name")){if(c.exp)r=c.exp;else if(c.arg&&c.arg.type===4){const p=at(c.arg.content);r=c.exp=Z(p,!1,c.arg.loc),r=c.exp=$e(c.exp,e)}}else c.name==="bind"&&c.arg&&Ge(c.arg)&&(c.arg.content=at(c.arg.content)),n.push(c)}if(n.length>0){const{props:l,directives:c}=fs(t,e,n,!1,!1);i=l,c.length&&e.onError(Ee(36,c[0].loc))}return{slotName:r,slotProps:i}}const la=(t,e,r,i)=>{const{loc:n,modifiers:l,arg:c}=t;!t.exp&&!l.length&&r.onError(Ee(35,n));let p;if(c.type===4)if(c.isStatic){let m=c.content;m.startsWith("vnode")&&r.onError(Ee(51,c.loc)),m.startsWith("vue:")&&(m=`vnode-${m.slice(4)}`);const y=e.tagType!==0||m.startsWith("vnode")||!/[A-Z]/.test(m)?cS(at(m)):`on:${m}`;p=Z(y,!0,c.loc)}else p=je([`${r.helperString(un)}(`,c,")"]);else p=c,p.children.unshift(`${r.helperString(un)}(`),p.children.push(")");let u=t.exp;u&&!u.content.trim()&&(u=void 0);let d=r.cacheHandlers&&!u&&!r.inVOnce;if(u){const m=Gl(u,r),y=!(m||sm(u,r)),v=u.content.includes(";");r.prefixIdentifiers&&(y&&r.addIdentifiers("$event"),u=t.exp=$e(u,r,!1,v),y&&r.removeIdentifiers("$event"),d=r.cacheHandlers&&!r.inVOnce&&!(u.type===4&&u.constType>0)&&!(m&&e.tagType===1)&&!it(u,r.identifiers),d&&m&&(u.type===4?u.content=`${u.content} && ${u.content}(...args)`:u.children=[...u.children," && ",...u.children,"(...args)"])),(y||d&&m)&&(u=je([`${y?r.isTS?"($event: any)":"$event":`${r.isTS?`
|
|
32
|
-
//@ts-ignore
|
|
33
|
-
`:""}(...args)`} => ${v?"{":"("}`,u,v?"}":")"]))}let f={props:[we(p,u||Z("() => {}",!1,n))]};return i&&(f=i(f)),d&&(f.props[0].value=r.cache(f.props[0].value)),f.props.forEach(m=>m.key.isHandlerKey=!0),f},fT=(t,e)=>{if(t.type===0||t.type===1||t.type===11||t.type===10)return()=>{const r=t.children;let i,n=!1;for(let l=0;l<r.length;l++){const c=r[l];if(Os(c)){n=!0;for(let p=l+1;p<r.length;p++){const u=r[p];if(Os(u))i||(i=r[l]=je([c],c.loc)),i.children.push(" + ",u),r.splice(p,1),p--;else{i=void 0;break}}}}if(!(!n||r.length===1&&(t.type===0||t.type===1&&t.tagType===0&&!t.props.find(l=>l.type===7&&!e.directiveTransforms[l.name]))))for(let l=0;l<r.length;l++){const c=r[l];if(Os(c)||c.type===8){const p=[];(c.type!==2||c.content!==" ")&&p.push(c),!e.ssr&<(c,e)===0&&p.push(`1 /* ${Ki[1]} */`),r[l]={type:12,content:c,loc:c.loc,codegenNode:ue(e.helper(Fn),p)}}}}},Fh=new WeakSet,dT=(t,e)=>{if(t.type===1&&Fe(t,"once",!0))return Fh.has(t)||e.inVOnce||e.inSSR?void 0:(Fh.add(t),e.inVOnce=!0,e.helper(Vs),()=>{e.inVOnce=!1;const r=e.currentNode;r.codegenNode&&(r.codegenNode=e.cache(r.codegenNode,!0,!0))})},ca=(t,e,r)=>{const{exp:i,arg:n}=t;if(!i)return r.onError(Ee(41,t.loc)),Ps();const l=i.loc.source.trim(),c=i.type===4?i.content:l,p=r.bindingMetadata[l];if(p==="props"||p==="props-aliased")return r.onError(Ee(44,i.loc)),Ps();const u=r.inline&&(p==="setup-let"||p==="setup-ref"||p==="setup-maybe-ref");if(!c.trim()||!Gl(i,r)&&!u)return r.onError(Ee(42,i.loc)),Ps();if(r.prefixIdentifiers&&Yt(c)&&r.identifiers[c])return r.onError(Ee(43,i.loc)),Ps();const d=n||Z("modelValue",!0),f=n?Ge(n)?`onUpdate:${at(n.content)}`:je(['"onUpdate:" + ',n]):"onUpdate:modelValue";let m;const y=r.isTS?"($event: any)":"$event";if(u)if(p==="setup-ref")m=je([`${y} => ((`,Z(l,!1,i.loc),").value = $event)"]);else{const T=p==="setup-let"?`${l} = $event`:"null";m=je([`${y} => (${r.helperString(zs)}(${l}) ? (`,Z(l,!1,i.loc),`).value = $event : ${T})`])}else m=je([`${y} => ((`,i,") = $event)"]);const v=[we(d,t.exp),we(f,m)];if(r.prefixIdentifiers&&!r.inVOnce&&r.cacheHandlers&&!it(i,r.identifiers)&&(v[1].value=r.cache(v[1].value)),t.modifiers.length&&e.tagType===1){const T=t.modifiers.map(g=>g.content).map(g=>(Yt(g)?g:JSON.stringify(g))+": true").join(", "),S=n?Ge(n)?`${n.content}Modifiers`:je([n,' + "Modifiers"']):"modelModifiers";v.push(we(S,Z(`{ ${T} }`,!1,t.loc,2)))}return Ps(v)};function Ps(t=[]){return{props:t}}const Bh=new WeakSet,mT=(t,e)=>{if(t.type===1){const r=Fe(t,"memo");return!r||Bh.has(t)?void 0:(Bh.add(t),()=>{const i=t.codegenNode||e.currentNode.codegenNode;i&&i.type===13&&(t.tagType!==1&&Gn(i,e),t.codegenNode=ue(e.helper(Hn),[r.exp,gt(void 0,i),"_cache",String(e.cached.length)]),e.cached.push(null))})}};function lc(t){return[[dT,iT,mT,oT,...t?[nc,Zl]:[],pT,_m,ic,fT],{on:la,bind:tc,model:ca}]}function xm(t,e={}){const r=e.onError||ql,i=e.mode==="module",n=e.prefixIdentifiers===!0||i;!n&&e.cacheHandlers&&r(Ee(49)),e.scopeId&&!i&&r(Ee(50));const l=Bt({},e,{prefixIdentifiers:n}),c=ve(t)?ra(t,l):t,[p,u]=lc(n);if(e.isTS){const{expressionPlugins:d}=e;(!d||!d.includes("typescript"))&&(e.expressionPlugins=[...d||[],"typescript"])}return Yl(c,Bt({},l,{nodeTransforms:[...p,...e.nodeTransforms||[]],directiveTransforms:Bt({},u,e.directiveTransforms||{})})),Ql(c,l)}const yT={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"},Ls=()=>({props:[]}),cc=Symbol("vModelRadio"),uc=Symbol("vModelCheckbox"),hc=Symbol("vModelText"),pc=Symbol("vModelSelect"),mn=Symbol("vModelDynamic"),fc=Symbol("vOnModifiersGuard"),dc=Symbol("vOnKeysGuard"),mc=Symbol("vShow"),Dr=Symbol("Transition"),ds=Symbol("TransitionGroup");$l({[cc]:"vModelRadio",[uc]:"vModelCheckbox",[hc]:"vModelText",[pc]:"vModelSelect",[mn]:"vModelDynamic",[fc]:"withModifiers",[dc]:"withKeys",[mc]:"vShow",[Dr]:"Transition",[ds]:"TransitionGroup"});const os={parseMode:"html",isVoidTag:Md,isNativeTag:t=>wS(t)||PS(t)||bS(t),isPreTag:t=>t==="pre",isIgnoreNewlineTag:t=>t==="pre"||t==="textarea",decodeEntities:void 0,isBuiltInComponent:t=>{if(t==="Transition"||t==="transition")return Dr;if(t==="TransitionGroup"||t==="transition-group")return ds},getNamespace(t,e,r){let i=e?e.ns:r;if(e&&i===2)if(e.tag==="annotation-xml"){if(t==="svg")return 1;e.props.some(n=>n.type===6&&n.name==="encoding"&&n.value!=null&&(n.value.content==="text/html"||n.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(e.tag)&&t!=="mglyph"&&t!=="malignmark"&&(i=0);else e&&i===1&&(e.tag==="foreignObject"||e.tag==="desc"||e.tag==="title")&&(i=0);if(i===0){if(t==="svg")return 1;if(t==="math")return 2}return i}},yc=t=>{t.type===1&&t.props.forEach((e,r)=>{e.type===6&&e.name==="style"&&e.value&&(t.props[r]={type:7,name:"bind",arg:Z("style",!0,e.loc),exp:gT(e.value.content,e.loc),modifiers:[],loc:e.loc})})},gT=(t,e)=>{const r=kd(t);return Z(JSON.stringify(r),!1,e,3)};function et(t,e){return Ee(t,e,gc)}const vT={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__"},gc={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."},ST=(t,e,r)=>{const{exp:i,loc:n}=t;return i||r.onError(et(53,n)),e.children.length&&(r.onError(et(54,n)),e.children.length=0),{props:[we(Z("innerHTML",!0,n),i||Z("",!0))]}},ET=(t,e,r)=>{const{exp:i,loc:n}=t;return i||r.onError(et(55,n)),e.children.length&&(r.onError(et(56,n)),e.children.length=0),{props:[we(Z("textContent",!0),i?lt(i,r)>0?i:ue(r.helperString(ti),[i],n):Z("",!0))]}},TT=(t,e,r)=>{const i=ca(t,e,r);if(!i.props.length||e.tagType===1)return i;t.arg&&r.onError(et(58,t.arg.loc));function n(){const p=Fe(e,"bind");p&&Rt(p.arg,"value")&&r.onError(et(60,p.loc))}const{tag:l}=e,c=r.isCustomElement(l);if(l==="input"||l==="textarea"||l==="select"||c){let p=hc,u=!1;if(l==="input"||c){const d=ct(e,"type");if(d){if(d.type===7)p=mn;else if(d.value)switch(d.value.content){case"radio":p=cc;break;case"checkbox":p=uc;break;case"file":u=!0,r.onError(et(59,t.loc));break;default:n();break}}else ta(e)?p=mn:n()}else l==="select"?p=pc:n();u||(i.needRuntime=r.helper(p))}else r.onError(et(57,t.loc));return i.props=i.props.filter(p=>!(p.key.type===4&&p.key.content==="modelValue")),i},wT=Je("passive,once,capture"),PT=Je("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),bT=Je("left,right"),Am=Je("onkeyup,onkeydown,onkeypress"),_T=(t,e,r,i)=>{const n=[],l=[],c=[];for(let p=0;p<e.length;p++){const u=e[p].content;wT(u)?c.push(u):bT(u)?Ge(t)?Am(t.content.toLowerCase())?n.push(u):l.push(u):(n.push(u),l.push(u)):PT(u)?l.push(u):n.push(u)}return{keyModifiers:n,nonKeyModifiers:l,eventOptionModifiers:c}},$h=(t,e)=>Ge(t)&&t.content.toLowerCase()==="onclick"?Z(e,!0):t.type!==4?je(["(",t,`) === "onClick" ? "${e}" : (`,t,")"]):t,xT=(t,e,r)=>la(t,e,r,i=>{const{modifiers:n}=t;if(!n.length)return i;let{key:l,value:c}=i.props[0];const{keyModifiers:p,nonKeyModifiers:u,eventOptionModifiers:d}=_T(l,n,r,t.loc);if(u.includes("right")&&(l=$h(l,"onContextmenu")),u.includes("middle")&&(l=$h(l,"onMouseup")),u.length&&(c=ue(r.helper(fc),[c,JSON.stringify(u)])),p.length&&(!Ge(l)||Am(l.content.toLowerCase()))&&(c=ue(r.helper(dc),[c,JSON.stringify(p)])),d.length){const f=d.map(cr).join("");l=Ge(l)?Z(`${l.content}${f}`,!0):je(["(",l,`) + "${f}"`])}return{props:[we(l,c)]}}),AT=(t,e,r)=>{const{exp:i,loc:n}=t;return i||r.onError(et(61,n)),{props:[],needRuntime:r.helper(mc)}},CT=(t,e)=>{if(t.type===1&&t.tagType===1&&e.isBuiltInComponent(t.tag)===Dr)return()=>{if(!t.children.length)return;Cm(t)&&e.onError(et(62,{start:t.children[0].loc.start,end:t.children[t.children.length-1].loc.end,source:""}));const i=t.children[0];if(i.type===1)for(const n of i.props)n.type===7&&n.name==="show"&&t.props.push({type:6,name:"persisted",nameLoc:t.loc,value:void 0,loc:t.loc})}};function Cm(t){const e=t.children=t.children.filter(i=>i.type!==3&&!(i.type===2&&!i.content.trim())),r=e[0];return e.length!==1||r.type===11||r.type===9&&r.branches.some(Cm)}const IT=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,NT=(t,e,r)=>{if(e.scopes.vSlot>0)return;const i=r.type===1&&r.codegenNode&&r.codegenNode.type===13&&r.codegenNode.children&&!Be(r.codegenNode.children)&&r.codegenNode.children.type===20;let n=0,l=0;const c=[],p=d=>{if(n>=20||l>=5){const f=ue(e.helper(Bn),[JSON.stringify(c.map(y=>vc(y,e)).join("")).replace(IT,'" + $1 + "'),String(c.length)]),m=c.length-1;if(i)t.splice(d-c.length,c.length,f);else if(c[0].codegenNode.value=f,c.length>1){t.splice(d-c.length+1,m);const y=e.cached.indexOf(c[c.length-1].codegenNode);if(y>-1){for(let v=y;v<e.cached.length;v++){const T=e.cached[v];T&&(T.index-=m)}e.cached.splice(y-m+1,m)}}return m}return 0};let u=0;for(;u<t.length;u++){const d=t[u];if(i||OT(d)){const m=MT(d);if(m){n+=m[0],l+=m[1],c.push(d);continue}}u-=p(u),n=0,l=0,c.length=0}p(u)},OT=t=>{if((t.type===1&&t.tagType===0||t.type===12)&&t.codegenNode&&t.codegenNode.type===20)return t.codegenNode},kT=/^(data|aria)-/,Uh=(t,e)=>(e===0?IS(t):e===1?NS(t):e===2?OS(t):!1)||kT.test(t),LT=Je("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function MT(t){if(t.type===1&<(t.tag))return!1;if(t.type===12)return[1,0];let e=1,r=t.props.length>0?1:0,i=!1;const n=()=>(i=!0,!1);function l(c){const p=c.tag==="option"&&c.ns===0;for(let u=0;u<c.props.length;u++){const d=c.props[u];if(d.type===6&&!Uh(d.name,c.ns)||d.type===7&&d.name==="bind"&&(d.arg&&(d.arg.type===8||d.arg.isStatic&&!Uh(d.arg.content,c.ns))||d.exp&&(d.exp.type===8||d.exp.constType<3)||p&&Rt(d.arg,"value")&&d.exp&&!d.exp.isStatic))return n()}for(let u=0;u<c.children.length;u++){e++;const d=c.children[u];if(d.type===1&&(d.props.length>0&&r++,l(d),i))return!1}return!0}return l(t)?[e,r]:!1}function vc(t,e){if(ve(t))return t;if(pr(t))return"";switch(t.type){case 1:return RT(t,e);case 2:return Mt(t.content);case 3:return`<!--${Mt(t.content)}-->`;case 5:return Mt(Rn(Cr(t.content)));case 8:return Mt(Cr(t));case 12:return vc(t.content,e);default:return""}}function RT(t,e){let r=`<${t.tag}`,i="";for(let n=0;n<t.props.length;n++){const l=t.props[n];if(l.type===6)r+=` ${l.name}`,l.value&&(r+=`="${Mt(l.value.content)}"`);else if(l.type===7)if(l.name==="bind"){const c=l.exp;if(c.content[0]==="_"){r+=` ${l.arg.content}="__VUE_EXP_START__${c.content}__VUE_EXP_END__"`;continue}if(Rd(l.arg.content)&&c.content==="false")continue;let p=Cr(c);if(p!=null){const u=l.arg&&l.arg.content;u==="class"?p=Ld(p):u==="style"&&(p=gS(Od(p))),r+=` ${l.arg.content}="${Mt(p)}"`}}else l.name==="html"?i=Cr(l.exp):l.name==="text"&&(i=Mt(Rn(Cr(l.exp))))}if(e.scopeId&&(r+=` ${e.scopeId}`),r+=">",i)r+=i;else for(let n=0;n<t.children.length;n++)r+=vc(t.children[n],e);return Md(t.tag)||(r+=`</${t.tag}>`),r}function Cr(t){if(t.type===4)return new Function(`return (${t.content})`)();{let e="";return t.children.forEach(r=>{ve(r)||pr(r)||(r.type===2?e+=r.content:r.type===5?e+=Rn(Cr(r.content)):e+=Cr(r))}),e}}const DT=(t,e)=>{t.type===1&&t.tagType===0&&(t.tag==="script"||t.tag==="style")&&(e.onError(et(63,t.loc)),e.removeNode())};function FT(t,e){return t in qh?qh[t].has(e):e in jh?jh[e].has(t):!(t in Vh&&Vh[t].has(e)||e in zh&&zh[e].has(t))}const Wr=new Set(["h1","h2","h3","h4","h5","h6"]),Tr=new Set([]),qh={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:Tr,iframe:Tr,option:Tr,textarea:Tr,style:Tr,title:Tr},jh={html:Tr,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"])},Vh={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"])},zh={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:Wr,h2:Wr,h3:Wr,h4:Wr,h5:Wr,h6:Wr},BT=(t,e)=>{if(t.type===1&&t.tagType===0&&e.parent&&e.parent.type===1&&e.parent.tagType===0&&!FT(e.parent.tag,t.tag)){const r=new SyntaxError(`<${t.tag}> cannot be child of <${e.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);r.loc=t.loc,e.onWarn(r)}},Sc=[yc,CT,BT],Ec={cloak:Ls,html:ST,text:ET,model:TT,on:xT,show:AT};function $T(t,e={}){return xm(t,Bt({},os,e,{nodeTransforms:[DT,...Sc,...e.nodeTransforms||[]],directiveTransforms:Bt({},Ec,e.directiveTransforms||{}),transformHoist:NT}))}function UT(t,e={}){return ra(t,Bt({},os,e))}var cl=Object.freeze({__proto__:null,BASE_TRANSITION:Ll,BindingTypes:yT,CAMELIZE:cn,CAPITALIZE:$d,CREATE_BLOCK:Ml,CREATE_COMMENT:cs,CREATE_ELEMENT_BLOCK:Rl,CREATE_ELEMENT_VNODE:Dn,CREATE_SLOTS:Fl,CREATE_STATIC:Bn,CREATE_TEXT:Fn,CREATE_VNODE:Zs,CompilerDeprecationTypes:KS,ConstantTypes:BS,DOMDirectiveTransforms:Ec,DOMErrorCodes:vT,DOMErrorMessages:gc,DOMNodeTransforms:Sc,ElementTypes:FS,ErrorCodes:eE,FRAGMENT:ts,GUARD_REACTIVE_PROPS:us,IS_MEMO_SAME:Bl,IS_REF:zs,KEEP_ALIVE:qs,MERGE_PROPS:Or,NORMALIZE_CLASS:jn,NORMALIZE_PROPS:rs,NORMALIZE_STYLE:Vn,Namespaces:RS,NodeTypes:DS,OPEN_BLOCK:ur,POP_SCOPE_ID:qd,PUSH_SCOPE_ID:Ud,RENDER_LIST:qn,RENDER_SLOT:Dl,RESOLVE_COMPONENT:js,RESOLVE_DIRECTIVE:$n,RESOLVE_DYNAMIC_COMPONENT:ei,RESOLVE_FILTER:Bd,SET_BLOCK_TRACKING:Vs,SUSPENSE:ls,TELEPORT:Ar,TO_DISPLAY_STRING:ti,TO_HANDLERS:zn,TO_HANDLER_KEY:un,TRANSITION:Dr,TRANSITION_GROUP:ds,TS_NODE_TYPES:Zn,UNREF:ss,V_MODEL_CHECKBOX:uc,V_MODEL_DYNAMIC:mn,V_MODEL_RADIO:cc,V_MODEL_SELECT:pc,V_MODEL_TEXT:hc,V_ON_WITH_KEYS:dc,V_ON_WITH_MODIFIERS:fc,V_SHOW:mc,WITH_CTX:Wn,WITH_DIRECTIVES:Un,WITH_MEMO:Hn,advancePositionWithClone:sl,advancePositionWithMutation:Xl,assert:il,baseCompile:xm,baseParse:ra,buildDirectiveArgs:ac,buildProps:fs,buildSlots:Xs,checkCompatEnabled:ZS,compile:$T,convertToBlock:Gn,createArrayExpression:Xt,createAssignmentExpression:Yi,createBlockStatement:ri,createCacheExpression:jd,createCallExpression:ue,createCompilerError:Ee,createCompoundExpression:je,createConditionalExpression:At,createDOMCompilerError:et,createForLoopParams:Gs,createFunctionExpression:gt,createIfStatement:pn,createInterpolation:hn,createObjectExpression:ot,createObjectProperty:we,createReturnStatement:zd,createRoot:Rr,createSequenceExpression:Vd,createSimpleExpression:Z,createStructuralDirectiveTransform:ii,createTemplateLiteral:Ul,createTransformContext:si,createVNodeCall:is,errorMessages:jl,extractIdentifiers:xt,findDir:Fe,findProp:ct,forAliasRE:am,generate:Ql,generateCodeFrame:Qs,getBaseTransformPreset:lc,getConstantType:lt,getMemoedVNodeCall:nm,getVNodeBlockHelper:Lr,getVNodeHelper:kr,hasDynamicKeyVBind:ta,hasScopeRef:it,helperNameMap:nt,injectProp:Ws,isCoreComponent:Hl,isFnExpression:sm,isFnExpressionBrowser:hE,isFnExpressionNode:rm,isFunctionType:lr,isInDestructureAssignment:Yn,isInNewExpression:Kd,isMemberExpression:Gl,isMemberExpressionBrowser:cE,isMemberExpressionNode:tm,isReferencedIdentifier:zl,isSimpleIdentifier:Yt,isSlotOutlet:as,isStaticArgOf:Rt,isStaticExp:Ge,isStaticProperty:Qn,isStaticPropertyKey:em,isTemplateNode:ns,isText:Os,isVSlot:Jl,locStub:Le,noopDirectiveTransform:Ls,parse:UT,parserOptions:os,processExpression:$e,processFor:rc,processIf:ec,processSlotOutlet:oc,registerRuntimeHelpers:$l,resolveComponentType:oa,stringifyExpression:aa,toValidAssetId:Hs,trackSlotScopes:ic,trackVForSlotScopes:nc,transform:Yl,transformBind:tc,transformElement:_m,transformExpression:Zl,transformModel:ca,transformOn:la,transformStyle:yc,traverseNode:hs,unwrapTSNode:vt,walkBlockDeclarations:Yd,walkFunctionParams:Wl,walkIdentifiers:Kn,warnDeprecation:Xd}),Ka,Wh;function qT(){if(Wh)return Ka;Wh=1;function t(c,p){for(;c.length<p;)c="0"+c;return c}function e(c,p){var u,d,f;if(p.length===0)return c;for(u=0,f=p.length;u<f;u++)d=p.charCodeAt(u),c=(c<<5)-c+d,c|=0;return c<0?c*-2:c}function r(c,p,u){return Object.keys(p).sort().reduce(d,c);function d(f,m){return i(f,p[m],m,u)}}function i(c,p,u,d){var f=e(e(e(c,u),n(p)),typeof p);if(p===null)return e(f,"null");if(p===void 0)return e(f,"undefined");if(typeof p=="object"||typeof p=="function"){if(d.indexOf(p)!==-1)return e(f,"[Circular]"+u);d.push(p);var m=r(f,p,d);if(!("valueOf"in p)||typeof p.valueOf!="function")return m;try{return e(m,String(p.valueOf()))}catch(y){return e(m,"[valueOf exception]"+(y.stack||y.message))}}return e(f,p.toString())}function n(c){return Object.prototype.toString.call(c)}function l(c){return t(i(0,c,"",[]).toString(16),8)}return Ka=l,Ka}var jT=qT(),VT=Xn(jT);const yn="useCssVars";function Im(t,e,r,i=!1){return`{
|
|
34
|
-
${t.map(n=>`"${i?"--":""}${Nm(e,n,r,i)}": (${n})`).join(`,
|
|
35
|
-
`)}
|
|
36
|
-
}`}function Nm(t,e,r,i=!1){return r?VT(t+e):`${t}-${MS(e,i)}`}function Om(t){return t=t.trim(),t[0]==="'"&&t[t.length-1]==="'"||t[0]==='"'&&t[t.length-1]==='"'?t.slice(1,-1):t}const sn=/v-bind\s*\(/g;function zT(t){const e=[];return t.styles.forEach(r=>{let i;const n=r.content.replace(/\/\*([\s\S]*?)\*\/|\/\/.*/g,"");for(;i=sn.exec(n);){const l=i.index+i[0].length,c=km(n,l);if(c!==null){const p=Om(n.slice(l,c));e.includes(p)||e.push(p)}}}),e}function km(t,e){let r=0,i=0;for(let n=e;n<t.length;n++){const l=t.charAt(n);switch(r){case 0:if(l==="'")r=1;else if(l==='"')r=2;else if(l==="(")i++;else if(l===")")if(i>0)i--;else return n;break;case 1:l==="'"&&(r=0);break;case 2:l==='"'&&(r=0);break}}return null}const Lm=t=>{const{id:e,isProd:r}=t;return{postcssPlugin:"vue-sfc-vars",Declaration(i){const n=i.value;if(sn.test(n)){sn.lastIndex=0;let l="",c=0,p;for(;p=sn.exec(n);){const u=p.index+p[0].length,d=km(n,u);if(d!==null){const f=Om(n.slice(u,d));l+=n.slice(c,p.index)+`var(--${Nm(e,f,r)})`,c=d+1}}i.value=l+n.slice(c)}}}};Lm.postcss=!0;function Mm(t,e,r,i){const n=Im(t,r,i),l=Z(n,!1),c=si(Rr([]),{prefixIdentifiers:!0,inline:!0,bindingMetadata:e.__isScriptSetup===!1?void 0:e}),p=$e(l,c),u=p.type===4?p.content:p.children.map(d=>typeof d=="string"?d:d.content).join("");return`_${yn}(_ctx => (${u}))`}function WT(t,e,r,i,n){return`
|
|
37
|
-
import { ${yn} as _${yn} } from 'vue'
|
|
38
|
-
const __injectCSSVars__ = () => {
|
|
39
|
-
${Mm(t,e,r,i)}}
|
|
40
|
-
const __setup__ = ${n}.setup
|
|
41
|
-
${n}.setup = __setup__
|
|
42
|
-
? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }
|
|
43
|
-
: __injectCSSVars__
|
|
44
|
-
`}var hr=typeof global<"u"?global:typeof self<"u"?self:typeof window<"u"?window:{};function Rm(){throw new Error("setTimeout has not been defined")}function Dm(){throw new Error("clearTimeout has not been defined")}var ir=Rm,nr=Dm;typeof hr.setTimeout=="function"&&(ir=setTimeout);typeof hr.clearTimeout=="function"&&(nr=clearTimeout);function Fm(t){if(ir===setTimeout)return setTimeout(t,0);if((ir===Rm||!ir)&&setTimeout)return ir=setTimeout,setTimeout(t,0);try{return ir(t,0)}catch{try{return ir.call(null,t,0)}catch{return ir.call(this,t,0)}}}function HT(t){if(nr===clearTimeout)return clearTimeout(t);if((nr===Dm||!nr)&&clearTimeout)return nr=clearTimeout,clearTimeout(t);try{return nr(t)}catch{try{return nr.call(null,t)}catch{return nr.call(this,t)}}}var Wt=[],Yr=!1,_r,nn=-1;function GT(){!Yr||!_r||(Yr=!1,_r.length?Wt=_r.concat(Wt):nn=-1,Wt.length&&Bm())}function Bm(){if(!Yr){var t=Fm(GT);Yr=!0;for(var e=Wt.length;e;){for(_r=Wt,Wt=[];++nn<e;)_r&&_r[nn].run();nn=-1,e=Wt.length}_r=null,Yr=!1,HT(t)}}function XT(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Wt.push(new $m(t,e)),Wt.length===1&&!Yr&&Fm(Bm)}function $m(t,e){this.fun=t,this.array=e}$m.prototype.run=function(){this.fun.apply(null,this.array)};var JT="browser",KT="browser",YT=!0,QT={},ZT=[],e1="",t1={},r1={},s1={};function Fr(){}var i1=Fr,n1=Fr,a1=Fr,o1=Fr,l1=Fr,c1=Fr,u1=Fr;function h1(t){throw new Error("process.binding is not supported")}function p1(){return"/"}function f1(t){throw new Error("process.chdir is not supported")}function d1(){return 0}var Gr=hr.performance||{},m1=Gr.now||Gr.mozNow||Gr.msNow||Gr.oNow||Gr.webkitNow||function(){return new Date().getTime()};function y1(t){var e=m1.call(Gr)*.001,r=Math.floor(e),i=Math.floor(e%1*1e9);return t&&(r=r-t[0],i=i-t[1],i<0&&(r--,i+=1e9)),[r,i]}var g1=new Date;function v1(){var t=new Date,e=t-g1;return e/1e3}var ut={nextTick:XT,title:JT,browser:YT,env:QT,argv:ZT,version:e1,versions:t1,on:i1,addListener:n1,once:a1,off:o1,removeListener:l1,removeAllListeners:c1,emit:u1,binding:h1,cwd:p1,chdir:f1,umask:d1,hrtime:y1,platform:KT,release:r1,config:s1,uptime:v1};function Tc(t=500){return new Map}function Um(t,e){return S1(e).has(t)}const Hh=Tc();function S1(t){const{content:e,ast:r}=t.template,i=Hh.get(e);if(i)return i;const n=new Set;r.children.forEach(l);function l(c){var p;switch(c.type){case 1:let u=c.tag;u.includes(".")&&(u=u.split(".")[0].trim()),!os.isNativeTag(u)&&!os.isBuiltInComponent(u)&&(n.add(at(u)),n.add(cr(at(u))));for(let d=0;d<c.props.length;d++){const f=c.props[d];f.type===7&&(kl(f.name)||n.add(`v${cr(at(f.name))}`),f.arg&&!f.arg.isStatic&&Ei(n,f.arg),f.name==="for"?Ei(n,f.forParseResult.source):f.exp?Ei(n,f.exp):f.name==="bind"&&!f.exp&&n.add(at(f.arg.content))),f.type===6&&f.name==="ref"&&((p=f.value)!=null&&p.content)&&n.add(f.value.content)}c.children.forEach(l);break;case 5:Ei(n,c.content);break}}return Hh.set(e,n),n}function Ei(t,e){e.ast?Kn(e.ast,r=>t.add(r.name)):e.ast===null&&t.add(e.content)}var E1=Object.defineProperty,T1=Object.defineProperties,w1=Object.getOwnPropertyDescriptors,Gh=Object.getOwnPropertySymbols,P1=Object.prototype.hasOwnProperty,b1=Object.prototype.propertyIsEnumerable,Xh=(t,e,r)=>e in t?E1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Jh=(t,e)=>{for(var r in e||(e={}))P1.call(e,r)&&Xh(t,r,e[r]);if(Gh)for(var r of Gh(e))b1.call(e,r)&&Xh(t,r,e[r]);return t},Kh=(t,e)=>T1(t,w1(e));const qm="anonymous.vue",Yh=Tc();function _1(t,e={}){var r;const i=hS(t,Kh(Jh({},e),{compiler:{parse:(r=e.compiler)==null?void 0:r.parse}})),n=Yh.get(i);if(n)return n;const{sourceMap:l=!0,filename:c=qm,sourceRoot:p="",pad:u=!1,ignoreEmpty:d=!0,compiler:f=cl,templateParseOptions:m={}}=e,y={filename:c,source:t,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:b=>k1(b,y)},v=[];f.parse(t,Kh(Jh({parseMode:"sfc",prefixIdentifiers:!0},m),{onError:b=>{v.push(b)}})).children.forEach(b=>{if(b.type===1&&!(d&&b.tag!=="template"&&O1(b)&&!N1(b)))switch(b.tag){case"template":if(y.template)v.push(Qh(b));else{const L=y.template=Ti(b,t,!1);if(L.attrs.src||(L.ast=Rr(b.children,t)),L.attrs.functional){const R=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.");R.loc=b.props.find(C=>C.type===6&&C.name==="functional").loc,v.push(R)}}break;case"script":const A=Ti(b,t,u),O=!!A.attrs.setup;if(O&&!y.scriptSetup){y.scriptSetup=A;break}if(!O&&!y.script){y.script=A;break}v.push(Qh(b,O));break;case"style":const x=Ti(b,t,u);x.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(x);break;default:y.customBlocks.push(Ti(b,t,u));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 S=0;if(y.template&&(y.template.lang==="pug"||y.template.lang==="jade")&&([y.template.content,S]=L1(y.template.content)),l){const b=(A,O=0)=>{A&&!A.src&&(A.map=C1(c,t,A.content,p,!u||A.type==="template"?A.loc.start.line-1:0,O))};b(y.template,S),b(y.script),y.styles.forEach(A=>b(A)),y.customBlocks.forEach(A=>b(A))}y.cssVars=zT(y);const g=/(?:::v-|:)slotted\(/;y.slotted=y.styles.some(b=>b.scoped&&g.test(b.content));const _={descriptor:y,errors:v};return Yh.set(i,_),_}function Qh(t,e=!1){const r=new SyntaxError(`Single file component can contain only one <${t.tag}${e?" setup":""}> element`);return r.loc=t.loc,r}function Ti(t,e,r){const i=t.tag,n=t.innerLoc,l={},c={type:i,content:e.slice(n.start.offset,n.end.offset),loc:n,attrs:l};return r&&(c.content=I1(e,c,r)+c.content),t.props.forEach(p=>{if(p.type===6){const u=p.name;l[u]=p.value&&p.value.content||!0,u==="lang"?c.lang=p.value&&p.value.content:u==="src"?c.src=p.value&&p.value.content:i==="style"?u==="scoped"?c.scoped=!0:u==="module"&&(c.module=l[u]):i==="script"&&u==="setup"&&(c.setup=l.setup)}}),c}const jm=/\r?\n/g,x1=/^(?:\/\/)?\s*$/,A1=/./g;function C1(t,e,r,i,n,l){const c=new ks.SourceMapGenerator({file:t.replace(/\\/g,"/"),sourceRoot:i.replace(/\\/g,"/")});return c.setSourceContent(t,e),c._sources.add(t),r.split(jm).forEach((p,u)=>{if(!x1.test(p)){const d=u+1+n,f=u+1;for(let m=0;m<p.length;m++)/\s/.test(p[m])||c._mappings.add({originalLine:d,originalColumn:m+l,generatedLine:f,generatedColumn:m,source:t,name:null})}}),c.toJSON()}function I1(t,e,r){if(t=t.slice(0,e.loc.start.offset),r==="space")return t.replace(A1," ");{const i=t.split(jm).length,n=e.type==="script"&&!e.lang?`//
|
|
45
|
-
`:`
|
|
46
|
-
`;return Array(i).join(n)}}function N1(t){return t.props.some(e=>e.type!==6?!1:e.name==="src")}function O1(t){for(let e=0;e<t.children.length;e++){const r=t.children[e];if(r.type!==2||r.content.trim()!=="")return!1}return!0}function k1(t,e){if(!e.scriptSetup||e.scriptSetup.lang!=="ts"&&e.scriptSetup.lang!=="tsx")return!1;for(const r in t)if(!t[r].isUsedInTemplate&&Um(r,e))return!0;return!1}function L1(t){const e=t.split(`
|
|
47
|
-
`),r=e.reduce(function(i,n){var l,c;if(n.trim()==="")return i;const p=((c=(l=n.match(/^\s*/))==null?void 0:l[0])==null?void 0:c.length)||0;return Math.min(p,i)},1/0);return r===0?[t,r]:[e.map(function(i){return i.slice(r)}).join(`
|
|
48
|
-
`),r]}function Vm(t,e){for(var r=0,i=t.length-1;i>=0;i--){var n=t[i];n==="."?t.splice(i,1):n===".."?(t.splice(i,1),r++):r&&(t.splice(i,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}var M1=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,wc=function(t){return M1.exec(t).slice(1)};function gn(){for(var t="",e=!1,r=arguments.length-1;r>=-1&&!e;r--){var i=r>=0?arguments[r]:"/";if(typeof i!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!i)continue;t=i+"/"+t,e=i.charAt(0)==="/"}return t=Vm(xc(t.split("/"),function(n){return!!n}),!e).join("/"),(e?"/":"")+t||"."}function Pc(t){var e=bc(t),r=R1(t,-1)==="/";return t=Vm(xc(t.split("/"),function(i){return!!i}),!e).join("/"),!t&&!e&&(t="."),t&&r&&(t+="/"),(e?"/":"")+t}function bc(t){return t.charAt(0)==="/"}function zm(){var t=Array.prototype.slice.call(arguments,0);return Pc(xc(t,function(e,r){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function Wm(t,e){t=gn(t).substr(1),e=gn(e).substr(1);function r(d){for(var f=0;f<d.length&&d[f]==="";f++);for(var m=d.length-1;m>=0&&d[m]==="";m--);return f>m?[]:d.slice(f,m-f+1)}for(var i=r(t.split("/")),n=r(e.split("/")),l=Math.min(i.length,n.length),c=l,p=0;p<l;p++)if(i[p]!==n[p]){c=p;break}for(var u=[],p=c;p<i.length;p++)u.push("..");return u=u.concat(n.slice(c)),u.join("/")}var Hm="/",Gm=":";function vn(t){var e=wc(t),r=e[0],i=e[1];return!r&&!i?".":(i&&(i=i.substr(0,i.length-1)),r+i)}function Xm(t,e){var r=wc(t)[2];return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r}function _c(t){return wc(t)[3]}var Qt={extname:_c,basename:Xm,dirname:vn,sep:Hm,delimiter:Gm,relative:Wm,join:zm,isAbsolute:bc,normalize:Pc,resolve:gn};function xc(t,e){if(t.filter)return t.filter(e);for(var r=[],i=0;i<t.length;i++)e(t[i],i,t)&&r.push(t[i]);return r}var R1="ab".substr(-1)==="b"?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)},D1=Object.freeze({__proto__:null,basename:Xm,default:Qt,delimiter:Gm,dirname:vn,extname:_c,isAbsolute:bc,join:zm,normalize:Pc,relative:Wm,resolve:gn,sep:Hm});/*! https://mths.be/punycode v1.4.1 by @mathias */var Ya=2147483647,Ms=36,Jm=1,ul=26,F1=38,B1=700,$1=72,U1=128,q1="-",j1=/[^\x20-\x7E]/,V1=/[\x2E\u3002\uFF0E\uFF61]/g,z1={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Qa=Ms-Jm,Jr=Math.floor,Za=String.fromCharCode;function Zh(t){throw new RangeError(z1[t])}function W1(t,e){for(var r=t.length,i=[];r--;)i[r]=e(t[r]);return i}function H1(t,e){var r=t.split("@"),i="";r.length>1&&(i=r[0]+"@",t=r[1]),t=t.replace(V1,".");var n=t.split("."),l=W1(n,e).join(".");return i+l}function G1(t){for(var e=[],r=0,i=t.length,n,l;r<i;)n=t.charCodeAt(r++),n>=55296&&n<=56319&&r<i?(l=t.charCodeAt(r++),(l&64512)==56320?e.push(((n&1023)<<10)+(l&1023)+65536):(e.push(n),r--)):e.push(n);return e}function ep(t,e){return t+22+75*(t<26)-((e!=0)<<5)}function X1(t,e,r){var i=0;for(t=r?Jr(t/B1):t>>1,t+=Jr(t/e);t>Qa*ul>>1;i+=Ms)t=Jr(t/Qa);return Jr(i+(Qa+1)*t/(t+F1))}function J1(t){var e,r,i,n,l,c,p,u,d,f,m,y=[],v,T,S,g;for(t=G1(t),v=t.length,e=U1,r=0,l=$1,c=0;c<v;++c)m=t[c],m<128&&y.push(Za(m));for(i=n=y.length,n&&y.push(q1);i<v;){for(p=Ya,c=0;c<v;++c)m=t[c],m>=e&&m<p&&(p=m);for(T=i+1,p-e>Jr((Ya-r)/T)&&Zh("overflow"),r+=(p-e)*T,e=p,c=0;c<v;++c)if(m=t[c],m<e&&++r>Ya&&Zh("overflow"),m==e){for(u=r,d=Ms;f=d<=l?Jm:d>=l+ul?ul:d-l,!(u<f);d+=Ms)g=u-f,S=Ms-f,y.push(Za(ep(f+g%S,0))),u=Jr(g/S);y.push(Za(ep(u,0))),l=X1(r,T,i==n),r=0,++i}++r,++e}return y.join("")}function K1(t){return H1(t,function(e){return j1.test(e)?"xn--"+J1(e):e})}var Lt=[],wt=[],Y1=typeof Uint8Array<"u"?Uint8Array:Array,Ac=!1;function Km(){Ac=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,r=t.length;e<r;++e)Lt[e]=t[e],wt[t.charCodeAt(e)]=e;wt[45]=62,wt[95]=63}function Q1(t){Ac||Km();var e,r,i,n,l,c,p=t.length;if(p%4>0)throw new Error("Invalid string. Length must be a multiple of 4");l=t[p-2]==="="?2:t[p-1]==="="?1:0,c=new Y1(p*3/4-l),i=l>0?p-4:p;var u=0;for(e=0,r=0;e<i;e+=4,r+=3)n=wt[t.charCodeAt(e)]<<18|wt[t.charCodeAt(e+1)]<<12|wt[t.charCodeAt(e+2)]<<6|wt[t.charCodeAt(e+3)],c[u++]=n>>16&255,c[u++]=n>>8&255,c[u++]=n&255;return l===2?(n=wt[t.charCodeAt(e)]<<2|wt[t.charCodeAt(e+1)]>>4,c[u++]=n&255):l===1&&(n=wt[t.charCodeAt(e)]<<10|wt[t.charCodeAt(e+1)]<<4|wt[t.charCodeAt(e+2)]>>2,c[u++]=n>>8&255,c[u++]=n&255),c}function Z1(t){return Lt[t>>18&63]+Lt[t>>12&63]+Lt[t>>6&63]+Lt[t&63]}function ew(t,e,r){for(var i,n=[],l=e;l<r;l+=3)i=(t[l]<<16)+(t[l+1]<<8)+t[l+2],n.push(Z1(i));return n.join("")}function tp(t){Ac||Km();for(var e,r=t.length,i=r%3,n="",l=[],c=16383,p=0,u=r-i;p<u;p+=c)l.push(ew(t,p,p+c>u?u:p+c));return i===1?(e=t[r-1],n+=Lt[e>>2],n+=Lt[e<<4&63],n+="=="):i===2&&(e=(t[r-2]<<8)+t[r-1],n+=Lt[e>>10],n+=Lt[e>>4&63],n+=Lt[e<<2&63],n+="="),l.push(n),l.join("")}function ua(t,e,r,i,n){var l,c,p=n*8-i-1,u=(1<<p)-1,d=u>>1,f=-7,m=r?n-1:0,y=r?-1:1,v=t[e+m];for(m+=y,l=v&(1<<-f)-1,v>>=-f,f+=p;f>0;l=l*256+t[e+m],m+=y,f-=8);for(c=l&(1<<-f)-1,l>>=-f,f+=i;f>0;c=c*256+t[e+m],m+=y,f-=8);if(l===0)l=1-d;else{if(l===u)return c?NaN:(v?-1:1)*(1/0);c=c+Math.pow(2,i),l=l-d}return(v?-1:1)*c*Math.pow(2,l-i)}function Ym(t,e,r,i,n,l){var c,p,u,d=l*8-n-1,f=(1<<d)-1,m=f>>1,y=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=i?0:l-1,T=i?1:-1,S=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(p=isNaN(e)?1:0,c=f):(c=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-c))<1&&(c--,u*=2),c+m>=1?e+=y/u:e+=y*Math.pow(2,1-m),e*u>=2&&(c++,u/=2),c+m>=f?(p=0,c=f):c+m>=1?(p=(e*u-1)*Math.pow(2,n),c=c+m):(p=e*Math.pow(2,m-1)*Math.pow(2,n),c=0));n>=8;t[r+v]=p&255,v+=T,p/=256,n-=8);for(c=c<<n|p,d+=n;d>0;t[r+v]=c&255,v+=T,c/=256,d-=8);t[r+v-T]|=S*128}var tw={}.toString,Qm=Array.isArray||function(t){return tw.call(t)=="[object Array]"};/*!
|
|
49
|
-
* The buffer module from node.js, for the browser.
|
|
50
|
-
*
|
|
51
|
-
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
52
|
-
* @license MIT
|
|
53
|
-
*/var rw=50;X.TYPED_ARRAY_SUPPORT=hr.TYPED_ARRAY_SUPPORT!==void 0?hr.TYPED_ARRAY_SUPPORT:!0;Sn();function Sn(){return X.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Ht(t,e){if(Sn()<e)throw new RangeError("Invalid typed array length");return X.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e),t.__proto__=X.prototype):(t===null&&(t=new X(e)),t.length=e),t}function X(t,e,r){if(!X.TYPED_ARRAY_SUPPORT&&!(this instanceof X))return new X(t,e,r);if(typeof t=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return Cc(this,t)}return Zm(this,t,e,r)}X.poolSize=8192;X._augment=function(t){return t.__proto__=X.prototype,t};function Zm(t,e,r,i){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer?nw(t,e,r,i):typeof e=="string"?iw(t,e,r):aw(t,e)}X.from=function(t,e,r){return Zm(null,t,e,r)};X.TYPED_ARRAY_SUPPORT&&(X.prototype.__proto__=Uint8Array.prototype,X.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&X[Symbol.species]);function ey(t){if(typeof t!="number")throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function sw(t,e,r,i){return ey(e),e<=0?Ht(t,e):r!==void 0?typeof i=="string"?Ht(t,e).fill(r,i):Ht(t,e).fill(r):Ht(t,e)}X.alloc=function(t,e,r){return sw(null,t,e,r)};function Cc(t,e){if(ey(e),t=Ht(t,e<0?0:Ic(e)|0),!X.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}X.allocUnsafe=function(t){return Cc(null,t)};X.allocUnsafeSlow=function(t){return Cc(null,t)};function iw(t,e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!X.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var i=ty(e,r)|0;t=Ht(t,i);var n=t.write(e,r);return n!==i&&(t=t.slice(0,n)),t}function hl(t,e){var r=e.length<0?0:Ic(e.length)|0;t=Ht(t,r);for(var i=0;i<r;i+=1)t[i]=e[i]&255;return t}function nw(t,e,r,i){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(i||0))throw new RangeError("'length' is out of bounds");return r===void 0&&i===void 0?e=new Uint8Array(e):i===void 0?e=new Uint8Array(e,r):e=new Uint8Array(e,r,i),X.TYPED_ARRAY_SUPPORT?(t=e,t.__proto__=X.prototype):t=hl(t,e),t}function aw(t,e){if(jt(e)){var r=Ic(e.length)|0;return t=Ht(t,r),t.length===0||e.copy(t,0,0,r),t}if(e){if(typeof ArrayBuffer<"u"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||_w(e.length)?Ht(t,0):hl(t,e);if(e.type==="Buffer"&&Qm(e.data))return hl(t,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Ic(t){if(t>=Sn())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Sn().toString(16)+" bytes");return t|0}X.isBuffer=xw;function jt(t){return!!(t!=null&&t._isBuffer)}X.compare=function(e,r){if(!jt(e)||!jt(r))throw new TypeError("Arguments must be Buffers");if(e===r)return 0;for(var i=e.length,n=r.length,l=0,c=Math.min(i,n);l<c;++l)if(e[l]!==r[l]){i=e[l],n=r[l];break}return i<n?-1:n<i?1:0};X.isEncoding=function(e){switch(String(e).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}};X.concat=function(e,r){if(!Qm(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return X.alloc(0);var i;if(r===void 0)for(r=0,i=0;i<e.length;++i)r+=e[i].length;var n=X.allocUnsafe(r),l=0;for(i=0;i<e.length;++i){var c=e[i];if(!jt(c))throw new TypeError('"list" argument must be an Array of Buffers');c.copy(n,l),l+=c.length}return n};function ty(t,e){if(jt(t))return t.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;typeof t!="string"&&(t=""+t);var r=t.length;if(r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return En(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ly(t).length;default:if(i)return En(t).length;e=(""+e).toLowerCase(),i=!0}}X.byteLength=ty;function ow(t,e,r){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return gw(this,e,r);case"utf8":case"utf-8":return iy(this,e,r);case"ascii":return mw(this,e,r);case"latin1":case"binary":return yw(this,e,r);case"base64":return fw(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vw(this,e,r);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}X.prototype._isBuffer=!0;function xr(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}X.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)xr(this,r,r+1);return this};X.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)xr(this,r,r+3),xr(this,r+1,r+2);return this};X.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)xr(this,r,r+7),xr(this,r+1,r+6),xr(this,r+2,r+5),xr(this,r+3,r+4);return this};X.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?iy(this,0,e):ow.apply(this,arguments)};X.prototype.equals=function(e){if(!jt(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:X.compare(this,e)===0};X.prototype.inspect=function(){var e="",r=rw;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"};X.prototype.compare=function(e,r,i,n,l){if(!jt(e))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),i===void 0&&(i=e?e.length:0),n===void 0&&(n=0),l===void 0&&(l=this.length),r<0||i>e.length||n<0||l>this.length)throw new RangeError("out of range index");if(n>=l&&r>=i)return 0;if(n>=l)return-1;if(r>=i)return 1;if(r>>>=0,i>>>=0,n>>>=0,l>>>=0,this===e)return 0;for(var c=l-n,p=i-r,u=Math.min(c,p),d=this.slice(n,l),f=e.slice(r,i),m=0;m<u;++m)if(d[m]!==f[m]){c=d[m],p=f[m];break}return c<p?-1:p<c?1:0};function ry(t,e,r,i,n){if(t.length===0)return-1;if(typeof r=="string"?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(n)return-1;r=t.length-1}else if(r<0)if(n)r=0;else return-1;if(typeof e=="string"&&(e=X.from(e,i)),jt(e))return e.length===0?-1:rp(t,e,r,i,n);if(typeof e=="number")return e=e&255,X.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):rp(t,[e],r,i,n);throw new TypeError("val must be string, number or Buffer")}function rp(t,e,r,i,n){var l=1,c=t.length,p=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(t.length<2||e.length<2)return-1;l=2,c/=2,p/=2,r/=2}function u(v,T){return l===1?v[T]:v.readUInt16BE(T*l)}var d;if(n){var f=-1;for(d=r;d<c;d++)if(u(t,d)===u(e,f===-1?0:d-f)){if(f===-1&&(f=d),d-f+1===p)return f*l}else f!==-1&&(d-=d-f),f=-1}else for(r+p>c&&(r=c-p),d=r;d>=0;d--){for(var m=!0,y=0;y<p;y++)if(u(t,d+y)!==u(e,y)){m=!1;break}if(m)return d}return-1}X.prototype.includes=function(e,r,i){return this.indexOf(e,r,i)!==-1};X.prototype.indexOf=function(e,r,i){return ry(this,e,r,i,!0)};X.prototype.lastIndexOf=function(e,r,i){return ry(this,e,r,i,!1)};function lw(t,e,r,i){r=Number(r)||0;var n=t.length-r;i?(i=Number(i),i>n&&(i=n)):i=n;var l=e.length;if(l%2!==0)throw new TypeError("Invalid hex string");i>l/2&&(i=l/2);for(var c=0;c<i;++c){var p=parseInt(e.substr(c*2,2),16);if(isNaN(p))return c;t[r+c]=p}return c}function cw(t,e,r,i){return fa(En(e,t.length-r),t,r,i)}function sy(t,e,r,i){return fa(Pw(e),t,r,i)}function uw(t,e,r,i){return sy(t,e,r,i)}function hw(t,e,r,i){return fa(ly(e),t,r,i)}function pw(t,e,r,i){return fa(bw(e,t.length-r),t,r,i)}X.prototype.write=function(e,r,i,n){if(r===void 0)n="utf8",i=this.length,r=0;else if(i===void 0&&typeof r=="string")n=r,i=this.length,r=0;else if(isFinite(r))r=r|0,isFinite(i)?(i=i|0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((i===void 0||i>l)&&(i=l),e.length>0&&(i<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var c=!1;;)switch(n){case"hex":return lw(this,e,r,i);case"utf8":case"utf-8":return cw(this,e,r,i);case"ascii":return sy(this,e,r,i);case"latin1":case"binary":return uw(this,e,r,i);case"base64":return hw(this,e,r,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pw(this,e,r,i);default:if(c)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),c=!0}};X.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function fw(t,e,r){return e===0&&r===t.length?tp(t):tp(t.slice(e,r))}function iy(t,e,r){r=Math.min(t.length,r);for(var i=[],n=e;n<r;){var l=t[n],c=null,p=l>239?4:l>223?3:l>191?2:1;if(n+p<=r){var u,d,f,m;switch(p){case 1:l<128&&(c=l);break;case 2:u=t[n+1],(u&192)===128&&(m=(l&31)<<6|u&63,m>127&&(c=m));break;case 3:u=t[n+1],d=t[n+2],(u&192)===128&&(d&192)===128&&(m=(l&15)<<12|(u&63)<<6|d&63,m>2047&&(m<55296||m>57343)&&(c=m));break;case 4:u=t[n+1],d=t[n+2],f=t[n+3],(u&192)===128&&(d&192)===128&&(f&192)===128&&(m=(l&15)<<18|(u&63)<<12|(d&63)<<6|f&63,m>65535&&m<1114112&&(c=m))}}c===null?(c=65533,p=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|c&1023),i.push(c),n+=p}return dw(i)}var sp=4096;function dw(t){var e=t.length;if(e<=sp)return String.fromCharCode.apply(String,t);for(var r="",i=0;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=sp));return r}function mw(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]&127);return i}function yw(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;n<r;++n)i+=String.fromCharCode(t[n]);return i}function gw(t,e,r){var i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);for(var n="",l=e;l<r;++l)n+=ww(t[l]);return n}function vw(t,e,r){for(var i=t.slice(e,r),n="",l=0;l<i.length;l+=2)n+=String.fromCharCode(i[l]+i[l+1]*256);return n}X.prototype.slice=function(e,r){var i=this.length;e=~~e,r=r===void 0?i:~~r,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),r<e&&(r=e);var n;if(X.TYPED_ARRAY_SUPPORT)n=this.subarray(e,r),n.__proto__=X.prototype;else{var l=r-e;n=new X(l,void 0);for(var c=0;c<l;++c)n[c]=this[c+e]}return n};function ze(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}X.prototype.readUIntLE=function(e,r,i){e=e|0,r=r|0,i||ze(e,r,this.length);for(var n=this[e],l=1,c=0;++c<r&&(l*=256);)n+=this[e+c]*l;return n};X.prototype.readUIntBE=function(e,r,i){e=e|0,r=r|0,i||ze(e,r,this.length);for(var n=this[e+--r],l=1;r>0&&(l*=256);)n+=this[e+--r]*l;return n};X.prototype.readUInt8=function(e,r){return r||ze(e,1,this.length),this[e]};X.prototype.readUInt16LE=function(e,r){return r||ze(e,2,this.length),this[e]|this[e+1]<<8};X.prototype.readUInt16BE=function(e,r){return r||ze(e,2,this.length),this[e]<<8|this[e+1]};X.prototype.readUInt32LE=function(e,r){return r||ze(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};X.prototype.readUInt32BE=function(e,r){return r||ze(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};X.prototype.readIntLE=function(e,r,i){e=e|0,r=r|0,i||ze(e,r,this.length);for(var n=this[e],l=1,c=0;++c<r&&(l*=256);)n+=this[e+c]*l;return l*=128,n>=l&&(n-=Math.pow(2,8*r)),n};X.prototype.readIntBE=function(e,r,i){e=e|0,r=r|0,i||ze(e,r,this.length);for(var n=r,l=1,c=this[e+--n];n>0&&(l*=256);)c+=this[e+--n]*l;return l*=128,c>=l&&(c-=Math.pow(2,8*r)),c};X.prototype.readInt8=function(e,r){return r||ze(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};X.prototype.readInt16LE=function(e,r){r||ze(e,2,this.length);var i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i};X.prototype.readInt16BE=function(e,r){r||ze(e,2,this.length);var i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i};X.prototype.readInt32LE=function(e,r){return r||ze(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};X.prototype.readInt32BE=function(e,r){return r||ze(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};X.prototype.readFloatLE=function(e,r){return r||ze(e,4,this.length),ua(this,e,!0,23,4)};X.prototype.readFloatBE=function(e,r){return r||ze(e,4,this.length),ua(this,e,!1,23,4)};X.prototype.readDoubleLE=function(e,r){return r||ze(e,8,this.length),ua(this,e,!0,52,8)};X.prototype.readDoubleBE=function(e,r){return r||ze(e,8,this.length),ua(this,e,!1,52,8)};function ht(t,e,r,i,n,l){if(!jt(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<l)throw new RangeError('"value" argument is out of bounds');if(r+i>t.length)throw new RangeError("Index out of range")}X.prototype.writeUIntLE=function(e,r,i,n){if(e=+e,r=r|0,i=i|0,!n){var l=Math.pow(2,8*i)-1;ht(this,e,r,i,l,0)}var c=1,p=0;for(this[r]=e&255;++p<i&&(c*=256);)this[r+p]=e/c&255;return r+i};X.prototype.writeUIntBE=function(e,r,i,n){if(e=+e,r=r|0,i=i|0,!n){var l=Math.pow(2,8*i)-1;ht(this,e,r,i,l,0)}var c=i-1,p=1;for(this[r+c]=e&255;--c>=0&&(p*=256);)this[r+c]=e/p&255;return r+i};X.prototype.writeUInt8=function(e,r,i){return e=+e,r=r|0,i||ht(this,e,r,1,255,0),X.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[r]=e&255,r+1};function ha(t,e,r,i){e<0&&(e=65535+e+1);for(var n=0,l=Math.min(t.length-r,2);n<l;++n)t[r+n]=(e&255<<8*(i?n:1-n))>>>(i?n:1-n)*8}X.prototype.writeUInt16LE=function(e,r,i){return e=+e,r=r|0,i||ht(this,e,r,2,65535,0),X.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):ha(this,e,r,!0),r+2};X.prototype.writeUInt16BE=function(e,r,i){return e=+e,r=r|0,i||ht(this,e,r,2,65535,0),X.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):ha(this,e,r,!1),r+2};function pa(t,e,r,i){e<0&&(e=4294967295+e+1);for(var n=0,l=Math.min(t.length-r,4);n<l;++n)t[r+n]=e>>>(i?n:3-n)*8&255}X.prototype.writeUInt32LE=function(e,r,i){return e=+e,r=r|0,i||ht(this,e,r,4,4294967295,0),X.TYPED_ARRAY_SUPPORT?(this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255):pa(this,e,r,!0),r+4};X.prototype.writeUInt32BE=function(e,r,i){return e=+e,r=r|0,i||ht(this,e,r,4,4294967295,0),X.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):pa(this,e,r,!1),r+4};X.prototype.writeIntLE=function(e,r,i,n){if(e=+e,r=r|0,!n){var l=Math.pow(2,8*i-1);ht(this,e,r,i,l-1,-l)}var c=0,p=1,u=0;for(this[r]=e&255;++c<i&&(p*=256);)e<0&&u===0&&this[r+c-1]!==0&&(u=1),this[r+c]=(e/p>>0)-u&255;return r+i};X.prototype.writeIntBE=function(e,r,i,n){if(e=+e,r=r|0,!n){var l=Math.pow(2,8*i-1);ht(this,e,r,i,l-1,-l)}var c=i-1,p=1,u=0;for(this[r+c]=e&255;--c>=0&&(p*=256);)e<0&&u===0&&this[r+c+1]!==0&&(u=1),this[r+c]=(e/p>>0)-u&255;return r+i};X.prototype.writeInt8=function(e,r,i){return e=+e,r=r|0,i||ht(this,e,r,1,127,-128),X.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[r]=e&255,r+1};X.prototype.writeInt16LE=function(e,r,i){return e=+e,r=r|0,i||ht(this,e,r,2,32767,-32768),X.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8):ha(this,e,r,!0),r+2};X.prototype.writeInt16BE=function(e,r,i){return e=+e,r=r|0,i||ht(this,e,r,2,32767,-32768),X.TYPED_ARRAY_SUPPORT?(this[r]=e>>>8,this[r+1]=e&255):ha(this,e,r,!1),r+2};X.prototype.writeInt32LE=function(e,r,i){return e=+e,r=r|0,i||ht(this,e,r,4,2147483647,-2147483648),X.TYPED_ARRAY_SUPPORT?(this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24):pa(this,e,r,!0),r+4};X.prototype.writeInt32BE=function(e,r,i){return e=+e,r=r|0,i||ht(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),X.TYPED_ARRAY_SUPPORT?(this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255):pa(this,e,r,!1),r+4};function ny(t,e,r,i,n,l){if(r+i>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function ay(t,e,r,i,n){return n||ny(t,e,r,4),Ym(t,e,r,i,23,4),r+4}X.prototype.writeFloatLE=function(e,r,i){return ay(this,e,r,!0,i)};X.prototype.writeFloatBE=function(e,r,i){return ay(this,e,r,!1,i)};function oy(t,e,r,i,n){return n||ny(t,e,r,8),Ym(t,e,r,i,52,8),r+8}X.prototype.writeDoubleLE=function(e,r,i){return oy(this,e,r,!0,i)};X.prototype.writeDoubleBE=function(e,r,i){return oy(this,e,r,!1,i)};X.prototype.copy=function(e,r,i,n){if(i||(i=0),!n&&n!==0&&(n=this.length),r>=e.length&&(r=e.length),r||(r=0),n>0&&n<i&&(n=i),n===i||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-r<n-i&&(n=e.length-r+i);var l=n-i,c;if(this===e&&i<r&&r<n)for(c=l-1;c>=0;--c)e[c+r]=this[c+i];else if(l<1e3||!X.TYPED_ARRAY_SUPPORT)for(c=0;c<l;++c)e[c+r]=this[c+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+l),r);return l};X.prototype.fill=function(e,r,i,n){if(typeof e=="string"){if(typeof r=="string"?(n=r,r=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),e.length===1){var l=e.charCodeAt(0);l<256&&(e=l)}if(n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!X.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else typeof e=="number"&&(e=e&255);if(r<0||this.length<r||this.length<i)throw new RangeError("Out of range index");if(i<=r)return this;r=r>>>0,i=i===void 0?this.length:i>>>0,e||(e=0);var c;if(typeof e=="number")for(c=r;c<i;++c)this[c]=e;else{var p=jt(e)?e:En(new X(e,n).toString()),u=p.length;for(c=0;c<i-r;++c)this[c+r]=p[c%u]}return this};var Sw=/[^+\/0-9A-Za-z-_]/g;function Ew(t){if(t=Tw(t).replace(Sw,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Tw(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function ww(t){return t<16?"0"+t.toString(16):t.toString(16)}function En(t,e){e=e||1/0;for(var r,i=t.length,n=null,l=[],c=0;c<i;++c){if(r=t.charCodeAt(c),r>55295&&r<57344){if(!n){if(r>56319){(e-=3)>-1&&l.push(239,191,189);continue}else if(c+1===i){(e-=3)>-1&&l.push(239,191,189);continue}n=r;continue}if(r<56320){(e-=3)>-1&&l.push(239,191,189),n=r;continue}r=(n-55296<<10|r-56320)+65536}else n&&(e-=3)>-1&&l.push(239,191,189);if(n=null,r<128){if((e-=1)<0)break;l.push(r)}else if(r<2048){if((e-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function Pw(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function bw(t,e){for(var r,i,n,l=[],c=0;c<t.length&&!((e-=2)<0);++c)r=t.charCodeAt(c),i=r>>8,n=r%256,l.push(n),l.push(i);return l}function ly(t){return Q1(Ew(t))}function fa(t,e,r,i){for(var n=0;n<i&&!(n+r>=e.length||n>=t.length);++n)e[n+r]=t[n];return n}function _w(t){return t!==t}function xw(t){return t!=null&&(!!t._isBuffer||cy(t)||Aw(t))}function cy(t){return!!t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function Aw(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&cy(t.slice(0,0))}var Tn;typeof Object.create=="function"?Tn=function(e,r){e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:Tn=function(e,r){e.super_=r;var i=function(){};i.prototype=r.prototype,e.prototype=new i,e.prototype.constructor=e};var uy=Object.getOwnPropertyDescriptors||function(e){for(var r=Object.keys(e),i={},n=0;n<r.length;n++)i[r[n]]=Object.getOwnPropertyDescriptor(e,r[n]);return i},Cw=/%[sdj%]/g;function da(t){if(!dr(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(Ut(arguments[r]));return e.join(" ")}for(var r=1,i=arguments,n=i.length,l=String(t).replace(Cw,function(p){if(p==="%%")return"%";if(r>=n)return p;switch(p){case"%s":return String(i[r++]);case"%d":return Number(i[r++]);case"%j":try{return JSON.stringify(i[r++])}catch{return"[Circular]"}default:return p}}),c=i[r];r<n;c=i[++r])Gt(c)||!Zt(c)?l+=" "+c:l+=" "+Ut(c);return l}function Nc(t,e){if(Dt(hr.process))return function(){return Nc(t,e).apply(this,arguments)};if(ut.noDeprecation===!0)return t;var r=!1;function i(){if(!r){if(ut.throwDeprecation)throw new Error(e);ut.traceDeprecation?console.trace(e):console.error(e),r=!0}return t.apply(this,arguments)}return i}var wi={},eo;function hy(t){if(Dt(eo)&&(eo=ut.env.NODE_DEBUG||""),t=t.toUpperCase(),!wi[t])if(new RegExp("\\b"+t+"\\b","i").test(eo)){var e=0;wi[t]=function(){var r=da.apply(null,arguments);console.error("%s %d: %s",t,e,r)}}else wi[t]=function(){};return wi[t]}function Ut(t,e){var r={seen:[],stylize:Nw};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),ma(e)?r.showHidden=e:e&&Rc(r,e),Dt(r.showHidden)&&(r.showHidden=!1),Dt(r.depth)&&(r.depth=2),Dt(r.colors)&&(r.colors=!1),Dt(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=Iw),wn(r,t,r.depth)}Ut.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]};Ut.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function Iw(t,e){var r=Ut.styles[e];return r?"\x1B["+Ut.colors[r][0]+"m"+t+"\x1B["+Ut.colors[r][1]+"m":t}function Nw(t,e){return t}function Ow(t){var e={};return t.forEach(function(r,i){e[r]=!0}),e}function wn(t,e,r){if(t.customInspect&&e&&Fs(e.inspect)&&e.inspect!==Ut&&!(e.constructor&&e.constructor.prototype===e)){var i=e.inspect(r,t);return dr(i)||(i=wn(t,i,r)),i}var n=kw(t,e);if(n)return n;var l=Object.keys(e),c=Ow(l);if(t.showHidden&&(l=Object.getOwnPropertyNames(e)),Ds(e)&&(l.indexOf("message")>=0||l.indexOf("description")>=0))return to(e);if(l.length===0){if(Fs(e)){var p=e.name?": "+e.name:"";return t.stylize("[Function"+p+"]","special")}if(Rs(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(Pn(e))return t.stylize(Date.prototype.toString.call(e),"date");if(Ds(e))return to(e)}var u="",d=!1,f=["{","}"];if(Oc(e)&&(d=!0,f=["[","]"]),Fs(e)){var m=e.name?": "+e.name:"";u=" [Function"+m+"]"}if(Rs(e)&&(u=" "+RegExp.prototype.toString.call(e)),Pn(e)&&(u=" "+Date.prototype.toUTCString.call(e)),Ds(e)&&(u=" "+to(e)),l.length===0&&(!d||e.length==0))return f[0]+u+f[1];if(r<0)return Rs(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var y;return d?y=Lw(t,e,r,c,l):y=l.map(function(v){return pl(t,e,r,c,v,d)}),t.seen.pop(),Mw(y,u,f)}function kw(t,e){if(Dt(e))return t.stylize("undefined","undefined");if(dr(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(Lc(e))return t.stylize(""+e,"number");if(ma(e))return t.stylize(""+e,"boolean");if(Gt(e))return t.stylize("null","null")}function to(t){return"["+Error.prototype.toString.call(t)+"]"}function Lw(t,e,r,i,n){for(var l=[],c=0,p=e.length;c<p;++c)yy(e,String(c))?l.push(pl(t,e,r,i,String(c),!0)):l.push("");return n.forEach(function(u){u.match(/^\d+$/)||l.push(pl(t,e,r,i,u,!0))}),l}function pl(t,e,r,i,n,l){var c,p,u;if(u=Object.getOwnPropertyDescriptor(e,n)||{value:e[n]},u.get?u.set?p=t.stylize("[Getter/Setter]","special"):p=t.stylize("[Getter]","special"):u.set&&(p=t.stylize("[Setter]","special")),yy(i,n)||(c="["+n+"]"),p||(t.seen.indexOf(u.value)<0?(Gt(r)?p=wn(t,u.value,null):p=wn(t,u.value,r-1),p.indexOf(`
|
|
54
|
-
`)>-1&&(l?p=p.split(`
|
|
55
|
-
`).map(function(d){return" "+d}).join(`
|
|
56
|
-
`).substr(2):p=`
|
|
57
|
-
`+p.split(`
|
|
58
|
-
`).map(function(d){return" "+d}).join(`
|
|
59
|
-
`))):p=t.stylize("[Circular]","special")),Dt(c)){if(l&&n.match(/^\d+$/))return p;c=JSON.stringify(""+n),c.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(c=c.substr(1,c.length-2),c=t.stylize(c,"name")):(c=c.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),c=t.stylize(c,"string"))}return c+": "+p}function Mw(t,e,r){var i=t.reduce(function(n,l){return l.indexOf(`
|
|
60
|
-
`)>=0,n+l.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?r[0]+(e===""?"":e+`
|
|
61
|
-
`)+" "+t.join(`,
|
|
62
|
-
`)+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function Oc(t){return Array.isArray(t)}function ma(t){return typeof t=="boolean"}function Gt(t){return t===null}function kc(t){return t==null}function Lc(t){return typeof t=="number"}function dr(t){return typeof t=="string"}function py(t){return typeof t=="symbol"}function Dt(t){return t===void 0}function Rs(t){return Zt(t)&&Mc(t)==="[object RegExp]"}function Zt(t){return typeof t=="object"&&t!==null}function Pn(t){return Zt(t)&&Mc(t)==="[object Date]"}function Ds(t){return Zt(t)&&(Mc(t)==="[object Error]"||t instanceof Error)}function Fs(t){return typeof t=="function"}function fy(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}function dy(t){return X.isBuffer(t)}function Mc(t){return Object.prototype.toString.call(t)}function ro(t){return t<10?"0"+t.toString(10):t.toString(10)}var Rw=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Dw(){var t=new Date,e=[ro(t.getHours()),ro(t.getMinutes()),ro(t.getSeconds())].join(":");return[t.getDate(),Rw[t.getMonth()],e].join(" ")}function my(){console.log("%s - %s",Dw(),da.apply(null,arguments))}function Rc(t,e){if(!e||!Zt(e))return t;for(var r=Object.keys(e),i=r.length;i--;)t[r[i]]=e[r[i]];return t}function yy(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var wr=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function Dc(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');if(wr&&t[wr]){var e=t[wr];if(typeof e!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,wr,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var r,i,n=new Promise(function(p,u){r=p,i=u}),l=[],c=0;c<arguments.length;c++)l.push(arguments[c]);l.push(function(p,u){p?i(p):r(u)});try{t.apply(this,l)}catch(p){i(p)}return n}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),wr&&Object.defineProperty(e,wr,{value:e,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(e,uy(t))}Dc.custom=wr;function Fw(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}function gy(t){if(typeof t!="function")throw new TypeError('The "original" argument must be of type Function');function e(){for(var r=[],i=0;i<arguments.length;i++)r.push(arguments[i]);var n=r.pop();if(typeof n!="function")throw new TypeError("The last argument must be of type Function");var l=this,c=function(){return n.apply(l,arguments)};t.apply(this,r).then(function(p){ut.nextTick(c.bind(null,null,p))},function(p){ut.nextTick(Fw.bind(null,p,c))})}return Object.setPrototypeOf(e,Object.getPrototypeOf(t)),Object.defineProperties(e,uy(t)),e}var Bw={inherits:Tn,_extend:Rc,log:my,isBuffer:dy,isPrimitive:fy,isFunction:Fs,isError:Ds,isDate:Pn,isObject:Zt,isRegExp:Rs,isUndefined:Dt,isSymbol:py,isString:dr,isNumber:Lc,isNullOrUndefined:kc,isNull:Gt,isBoolean:ma,isArray:Oc,inspect:Ut,deprecate:Nc,format:da,debuglog:hy,promisify:Dc,callbackify:gy},$w=Object.freeze({__proto__:null,_extend:Rc,callbackify:gy,debuglog:hy,default:Bw,deprecate:Nc,format:da,inherits:Tn,inspect:Ut,isArray:Oc,isBoolean:ma,isBuffer:dy,isDate:Pn,isError:Ds,isFunction:Fs,isNull:Gt,isNullOrUndefined:kc,isNumber:Lc,isObject:Zt,isPrimitive:fy,isRegExp:Rs,isString:dr,isSymbol:py,isUndefined:Dt,log:my,promisify:Dc});function Uw(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var vy=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};function so(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}}function qw(t,e,r,i){return e=e||"&",r=r||"=",t===null&&(t=void 0),typeof t=="object"?ip(jw(t),function(n){var l=encodeURIComponent(so(n))+r;return vy(t[n])?ip(t[n],function(c){return l+encodeURIComponent(so(c))}).join(e):l+encodeURIComponent(so(t[n]))}).join(e):""}function ip(t,e){if(t.map)return t.map(e);for(var r=[],i=0;i<t.length;i++)r.push(e(t[i],i));return r}var jw=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return e};function np(t,e,r,i){e=e||"&",r=r||"=";var n={};if(typeof t!="string"||t.length===0)return n;var l=/\+/g;t=t.split(e);var c=1e3,p=t.length;p>c&&(p=c);for(var u=0;u<p;++u){var d=t[u].replace(l,"%20"),f=d.indexOf(r),m,y,v,T;f>=0?(m=d.substr(0,f),y=d.substr(f+1)):(m=d,y=""),v=decodeURIComponent(m),T=decodeURIComponent(y),Uw(n,v)?vy(n[v])?n[v].push(T):n[v]=[n[v],T]:n[v]=T}return n}const Sy=hr.URL,Ey=hr.URLSearchParams;var Vw={parse:ms,resolve:by,resolveObject:_y,fileURLToPath:wy,format:Py,Url:yt,URL:Sy,URLSearchParams:Ey};function yt(){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 zw=/^([a-z0-9.+-]+:)/i,Ww=/:[0-9]*$/,Hw=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Gw=["<",">",'"',"`"," ","\r",`
|
|
63
|
-
`," "],Xw=["{","}","|","\\","^","`"].concat(Gw),fl=["'"].concat(Xw),ap=["%","/","?",";","#"].concat(fl),op=["/","?","#"],Jw=255,lp=/^[+a-z0-9A-Z_-]{0,63}$/,Kw=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Yw={javascript:!0,"javascript:":!0},dl={javascript:!0,"javascript:":!0},Qr={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function ms(t,e,r){if(t&&Zt(t)&&t instanceof yt)return t;var i=new yt;return i.parse(t,e,r),i}yt.prototype.parse=function(t,e,r){return Ty(this,t,e,r)};function Ty(t,e,r,i){if(!dr(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),l=n!==-1&&n<e.indexOf("#")?"?":"#",c=e.split(l),p=/\\/g;c[0]=c[0].replace(p,"/"),e=c.join(l);var u=e;if(u=u.trim(),!i&&e.split("#").length===1){var d=Hw.exec(u);if(d)return t.path=u,t.href=u,t.pathname=d[1],d[2]?(t.search=d[2],r?t.query=np(t.search.substr(1)):t.query=t.search.substr(1)):r&&(t.search="",t.query={}),t}var f=zw.exec(u);if(f){f=f[0];var m=f.toLowerCase();t.protocol=m,u=u.substr(f.length)}if(i||f||u.match(/^\/\/[^@\/]+@[^@\/]+/)){var y=u.substr(0,2)==="//";y&&!(f&&dl[f])&&(u=u.substr(2),t.slashes=!0)}var v,T,S,g;if(!dl[f]&&(y||f&&!Qr[f])){var _=-1;for(v=0;v<op.length;v++)T=u.indexOf(op[v]),T!==-1&&(_===-1||T<_)&&(_=T);var b,A;for(_===-1?A=u.lastIndexOf("@"):A=u.lastIndexOf("@",_),A!==-1&&(b=u.slice(0,A),u=u.slice(A+1),t.auth=decodeURIComponent(b)),_=-1,v=0;v<ap.length;v++)T=u.indexOf(ap[v]),T!==-1&&(_===-1||T<_)&&(_=T);_===-1&&(_=u.length),t.host=u.slice(0,_),u=u.slice(_),xy(t),t.hostname=t.hostname||"";var O=t.hostname[0]==="["&&t.hostname[t.hostname.length-1]==="]";if(!O){var x=t.hostname.split(/\./);for(v=0,S=x.length;v<S;v++){var L=x[v];if(L&&!L.match(lp)){for(var R="",C=0,k=L.length;C<k;C++)L.charCodeAt(C)>127?R+="x":R+=L[C];if(!R.match(lp)){var N=x.slice(0,v),F=x.slice(v+1),W=L.match(Kw);W&&(N.push(W[1]),F.unshift(W[2])),F.length&&(u="/"+F.join(".")+u),t.hostname=N.join(".");break}}}}t.hostname.length>Jw?t.hostname="":t.hostname=t.hostname.toLowerCase(),O||(t.hostname=K1(t.hostname)),g=t.port?":"+t.port:"";var Y=t.hostname||"";t.host=Y+g,t.href+=t.host,O&&(t.hostname=t.hostname.substr(1,t.hostname.length-2),u[0]!=="/"&&(u="/"+u))}if(!Yw[m])for(v=0,S=fl.length;v<S;v++){var re=fl[v];if(u.indexOf(re)!==-1){var z=encodeURIComponent(re);z===re&&(z=escape(re)),u=u.split(re).join(z)}}var ie=u.indexOf("#");ie!==-1&&(t.hash=u.substr(ie),u=u.slice(0,ie));var J=u.indexOf("?");if(J!==-1?(t.search=u.substr(J),t.query=u.substr(J+1),r&&(t.query=np(t.query)),u=u.slice(0,J)):r&&(t.search="",t.query={}),u&&(t.pathname=u),Qr[m]&&t.hostname&&!t.pathname&&(t.pathname="/"),t.pathname||t.search){g=t.pathname||"";var fe=t.search||"";t.path=g+fe}return t.href=Fc(t),t}function wy(t){if(typeof t=="string")t=new yt().parse(t);else if(!(t instanceof yt))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof t+String(t));if(t.protocol!=="file:")throw new TypeError("The URL must be of scheme file");return Qw(t)}function Qw(t){const e=t.pathname;for(let r=0;r<e.length;r++)if(e[r]==="%"){const i=e.codePointAt(r+2)|32;if(e[r+1]==="2"&&i===102)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(e)}function Py(t){return dr(t)&&(t=Ty({},t)),Fc(t)}function Fc(t){var e=t.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var r=t.protocol||"",i=t.pathname||"",n=t.hash||"",l=!1,c="";t.host?l=e+t.host:t.hostname&&(l=e+(t.hostname.indexOf(":")===-1?t.hostname:"["+this.hostname+"]"),t.port&&(l+=":"+t.port)),t.query&&Zt(t.query)&&Object.keys(t.query).length&&(c=qw(t.query));var p=t.search||c&&"?"+c||"";return r&&r.substr(-1)!==":"&&(r+=":"),t.slashes||(!r||Qr[r])&&l!==!1?(l="//"+(l||""),i&&i.charAt(0)!=="/"&&(i="/"+i)):l||(l=""),n&&n.charAt(0)!=="#"&&(n="#"+n),p&&p.charAt(0)!=="?"&&(p="?"+p),i=i.replace(/[?#]/g,function(u){return encodeURIComponent(u)}),p=p.replace("#","%23"),r+l+i+p+n}yt.prototype.format=function(){return Fc(this)};function by(t,e){return ms(t,!1,!0).resolve(e)}yt.prototype.resolve=function(t){return this.resolveObject(ms(t,!1,!0)).format()};function _y(t,e){return t?ms(t,!1,!0).resolveObject(e):e}yt.prototype.resolveObject=function(t){if(dr(t)){var e=new yt;e.parse(t,!1,!0),t=e}for(var r=new yt,i=Object.keys(this),n=0;n<i.length;n++){var l=i[n];r[l]=this[l]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var c=Object.keys(t),p=0;p<c.length;p++){var u=c[p];u!=="protocol"&&(r[u]=t[u])}return Qr[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}var d;if(t.protocol&&t.protocol!==r.protocol){if(!Qr[t.protocol]){for(var f=Object.keys(t),m=0;m<f.length;m++){var y=f[m];r[y]=t[y]}return r.href=r.format(),r}if(r.protocol=t.protocol,!t.host&&!dl[t.protocol]){for(d=(t.pathname||"").split("/");d.length&&!(t.host=d.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),d[0]!==""&&d.unshift(""),d.length<2&&d.unshift(""),r.pathname=d.join("/")}else r.pathname=t.pathname;if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var v=r.pathname||"",T=r.search||"";r.path=v+T}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var S=r.pathname&&r.pathname.charAt(0)==="/",g=t.host||t.pathname&&t.pathname.charAt(0)==="/",_=g||S||r.host&&t.pathname,b=_,A=r.pathname&&r.pathname.split("/")||[],O=r.protocol&&!Qr[r.protocol];d=t.pathname&&t.pathname.split("/")||[],O&&(r.hostname="",r.port=null,r.host&&(A[0]===""?A[0]=r.host:A.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(d[0]===""?d[0]=t.host:d.unshift(t.host)),t.host=null),_=_&&(d[0]===""||A[0]===""));var x;if(g)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,A=d;else if(d.length)A||(A=[]),A.pop(),A=A.concat(d),r.search=t.search,r.query=t.query;else if(!kc(t.search))return O&&(r.hostname=r.host=A.shift(),x=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1,x&&(r.auth=x.shift(),r.host=r.hostname=x.shift())),r.search=t.search,r.query=t.query,(!Gt(r.pathname)||!Gt(r.search))&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!A.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var L=A.slice(-1)[0],R=(r.host||t.host||A.length>1)&&(L==="."||L==="..")||L==="",C=0,k=A.length;k>=0;k--)L=A[k],L==="."?A.splice(k,1):L===".."?(A.splice(k,1),C++):C&&(A.splice(k,1),C--);if(!_&&!b)for(;C--;C)A.unshift("..");_&&A[0]!==""&&(!A[0]||A[0].charAt(0)!=="/")&&A.unshift(""),R&&A.join("/").substr(-1)!=="/"&&A.push("");var N=A[0]===""||A[0]&&A[0].charAt(0)==="/";return O&&(r.hostname=r.host=N?"":A.length?A.shift():"",x=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1,x&&(r.auth=x.shift(),r.host=r.hostname=x.shift())),_=_||r.host&&A.length,_&&!N&&A.unshift(""),A.length?r.pathname=A.join("/"):(r.pathname=null,r.path=null),(!Gt(r.pathname)||!Gt(r.search))&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r};yt.prototype.parseHost=function(){return xy(this)};function xy(t){var e=t.host,r=Ww.exec(e);r&&(r=r[0],r!==":"&&(t.port=r.substr(1)),e=e.substr(0,e.length-r.length)),e&&(t.hostname=e)}var Zw=Object.freeze({__proto__:null,URL:Sy,URLSearchParams:Ey,Url:yt,default:Vw,fileURLToPath:wy,format:Py,parse:ms,resolve:by,resolveObject:_y});function Ay(t){const e=t.charAt(0);return e==="."||e==="~"||e==="@"}const eP=/^(https?:)?\/\//;function Cy(t){return eP.test(t)}const tP=/^\s*data:/i;function ml(t){return tP.test(t)}function yl(t){if(t.charAt(0)==="~"){const r=t.charAt(1);t=t.slice(r==="/"?2:1)}return rP(t)}function rP(t){return ms(ve(t)?t:"",!1,!0)}var sP=Object.defineProperty,iP=Object.defineProperties,nP=Object.getOwnPropertyDescriptors,cp=Object.getOwnPropertySymbols,aP=Object.prototype.hasOwnProperty,oP=Object.prototype.propertyIsEnumerable,up=(t,e,r)=>e in t?sP(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,io=(t,e)=>{for(var r in e||(e={}))aP.call(e,r)&&up(t,r,e[r]);if(cp)for(var r of cp(e))oP.call(e,r)&&up(t,r,e[r]);return t},lP=(t,e)=>iP(t,nP(e));const Js={base:null,includeAbsolute:!1,tags:{video:["src","poster"],source:["src"],img:["src"],image:["xlink:href","href"],use:["xlink:href","href"]}},cP=t=>Object.keys(t).some(e=>Be(t[e]))?lP(io({},Js),{tags:t}):io(io({},Js),t),uP=t=>(e,r)=>Iy(e,r,t),Iy=(t,e,r=Js)=>{if(t.type===1){if(!t.props.length)return;const i=r.tags||Js.tags,n=i[t.tag],l=i["*"];if(!n&&!l)return;const c=(n||[]).concat(l||[]);t.props.forEach((p,u)=>{if(p.type!==6||!c.includes(p.name)||!p.value||Cy(p.value.content)||ml(p.value.content)||p.value.content[0]==="#"||!r.includeAbsolute&&!Ay(p.value.content))return;const d=yl(p.value.content);if(r.base&&p.value.content[0]==="."){const m=yl(r.base),y=m.protocol||"",v=m.host?y+"//"+m.host:"",T=m.path||"/";p.value.content=v+(Qt.posix||Qt).join(T,d.path+(d.hash||""));return}const f=hP(d.path,d.hash,p.loc,e);t.props[u]={type:7,name:"bind",arg:Z(p.name,!0,p.loc),exp:f,modifiers:[],loc:p.loc}})}};function hP(t,e,r,i){if(t){let n,l;const c=i.imports.findIndex(f=>f.path===t);if(c>-1?(n=`_imports_${c}`,l=i.imports[c].exp):(n=`_imports_${i.imports.length}`,l=Z(n,!1,r,3),i.imports.push({exp:l,path:decodeURIComponent(t)})),!e)return l;const p=`${n} + '${e}'`,u=Z(p,!1,r,3);if(!i.hoistStatic)return u;const d=i.hoists.findIndex(f=>f&&f.type===4&&!f.isStatic&&f.content===p);return d>-1?Z(`_hoisted_${d+1}`,!1,r,3):i.hoist(u)}else return Z("''",!1,r,3)}const pP=["img","source"],fP=/( |\\t|\\n|\\f|\\r)+/g,dP=t=>(e,r)=>Ny(e,r,t),Ny=(t,e,r=Js)=>{t.type===1&&pP.includes(t.tag)&&t.props.length&&t.props.forEach((i,n)=>{if(i.name==="srcset"&&i.type===6){if(!i.value)return;const l=i.value.content;if(!l)return;const c=l.split(",").map(f=>{const[m,y]=f.replace(fP," ").trim().split(" ",2);return{url:m,descriptor:y}});for(let f=0;f<c.length;f++){const{url:m}=c[f];ml(m)&&(c[f+1].url=m+","+c[f+1].url,c.splice(f,1))}const p=f=>!Cy(f)&&!ml(f)&&(r.includeAbsolute||Ay(f));if(!c.some(({url:f})=>p(f)))return;if(r.base){const f=r.base,m=[];let y=!1;if(c.forEach(v=>{let{url:T,descriptor:S}=v;S=S?` ${S}`:"",T[0]==="."?(v.url=(Qt.posix||Qt).join(f,T),m.push(v.url+S)):p(T)?y=!0:m.push(T+S)}),!y){i.value.content=m.join(", ");return}}const u=je([],i.loc);c.forEach(({url:f,descriptor:m},y)=>{if(p(f)){const{path:T}=yl(f);let S;if(T){const g=e.imports.findIndex(_=>_.path===T);g>-1?S=Z(`_imports_${g}`,!1,i.loc,3):(S=Z(`_imports_${e.imports.length}`,!1,i.loc,3),e.imports.push({exp:S,path:T})),u.children.push(S)}}else{const T=Z(`"${f}"`,!1,i.loc,3);u.children.push(T)}const v=c.length-1>y;m&&v?u.children.push(` + ' ${m}, ' + `):m?u.children.push(` + ' ${m}'`):v&&u.children.push(" + ', ' + ")});let d=u;e.hoistStatic&&(d=e.hoist(u),d.constType=3),t.props[n]={type:7,name:"bind",arg:Z("srcset",!0,i.loc),exp:d,modifiers:[],loc:i.loc}}})},bn=Symbol("ssrInterpolate"),Oy=Symbol("ssrRenderVNode"),ky=Symbol("ssrRenderComponent"),Ly=Symbol("ssrRenderSlot"),My=Symbol("ssrRenderSlotInner"),Ry=Symbol("ssrRenderClass"),Dy=Symbol("ssrRenderStyle"),Bc=Symbol("ssrRenderAttrs"),Fy=Symbol("ssrRenderAttr"),By=Symbol("ssrRenderDynamicAttr"),$y=Symbol("ssrRenderList"),$c=Symbol("ssrIncludeBooleanAttr"),an=Symbol("ssrLooseEqual"),gl=Symbol("ssrLooseContain"),Uy=Symbol("ssrRenderDynamicModel"),qy=Symbol("ssrGetDynamicModelProps"),jy=Symbol("ssrRenderTeleport"),Vy=Symbol("ssrRenderSuspense"),zy=Symbol("ssrGetDirectiveProps"),vl={[bn]:"ssrInterpolate",[Oy]:"ssrRenderVNode",[ky]:"ssrRenderComponent",[Ly]:"ssrRenderSlot",[My]:"ssrRenderSlotInner",[Ry]:"ssrRenderClass",[Dy]:"ssrRenderStyle",[Bc]:"ssrRenderAttrs",[Fy]:"ssrRenderAttr",[By]:"ssrRenderDynamicAttr",[$y]:"ssrRenderList",[$c]:"ssrIncludeBooleanAttr",[an]:"ssrLooseEqual",[gl]:"ssrLooseContain",[Uy]:"ssrRenderDynamicModel",[qy]:"ssrGetDynamicModelProps",[jy]:"ssrRenderTeleport",[Vy]:"ssrRenderSuspense",[zy]:"ssrGetDirectiveProps"};$l(vl);const mP=ii(/^(if|else|else-if)$/,ec);function yP(t,e,r=!1,i=!1){const[n]=t.branches,l=pn(n.condition,hp(n,e,r));e.pushStatement(l);let c=l;for(let p=1;p<t.branches.length;p++){const u=t.branches[p],d=hp(u,e,r);u.condition?c=c.alternate=pn(u.condition,d):c.alternate=d}!c.alternate&&!i&&(c.alternate=ri([ue("_push",["`<!---->`"])]))}function hp(t,e,r=!1){const{children:i}=t,n=!r&&(i.length!==1||i[0].type!==1)&&!(i.length===1&&i[0].type===11);return ys(t,e,n)}const gP=ii("for",rc);function vP(t,e,r=!1){const i=!r&&(t.children.length!==1||t.children[0].type!==1),n=gt(Gs(t.parseResult));n.body=ys(t,e,i),r||e.pushStringPart("<!--[-->"),e.pushStatement(ue(e.helper($y),[t.source,n])),r||e.pushStringPart("<!--]-->")}const SP=(t,e)=>{if(as(t)){const{slotName:r,slotProps:i}=oc(t,e),n=["_ctx.$slots",r,i||"{}","null","_push","_parent"];e.scopeId&&e.slotted!==!1&&n.push(`"${e.scopeId}-s"`);let l=Ly,c=e.parent;if(c){const p=c.children;c.type===10&&(c=e.grandParent);let u;c.type===1&&c.tagType===1&&((u=oa(c,e,!0))===Dr||u===ds)&&p.filter(d=>d.type===1).length===1&&(l=My,e.scopeId&&e.slotted!==!1||n.push("null"),n.push("true"))}t.ssrCodegenNode=ue(e.helper(l),n)}};function EP(t,e){const r=t.ssrCodegenNode;if(t.children.length){const i=gt([]);i.body=ys(t,e),r.arguments[3]=i}if(e.withSlotScopeId){const i=r.arguments[6];r.arguments[6]=i?`${i} + _scopeId`:"_scopeId"}e.pushStatement(t.ssrCodegenNode)}function Ks(t,e){return Ee(t,e,TP)}const TP={65:"Unsafe attribute name for SSR.",66:"Missing the 'to' prop on teleport element.",67:"Invalid AST node during SSR transform."};function wP(t,e){const r=ct(t,"to");if(!r){e.onError(Ks(66,t.loc));return}let i;if(r.type===6?i=r.value&&Z(r.value.content,!0):i=r.exp,!i){e.onError(Ks(66,r.loc));return}const n=ct(t,"disabled",!1,!0),l=n?n.type===6?"true":n.exp||"false":"false",c=gt(["_push"],void 0,!0,!1,t.loc);c.body=ys(t,e),e.pushStatement(ue(e.helper(jy),["_push",c,i,l,"_parent"]))}const Wy=new WeakMap;function PP(t,e){return()=>{if(t.children.length){const r={slotsExp:null,wipSlots:[]};Wy.set(t,r),r.slotsExp=Xs(t,e,(i,n,l,c)=>{const p=gt([],void 0,!0,!1,c);return r.wipSlots.push({fn:p,children:l}),p}).slots}}}function bP(t,e){const r=Wy.get(t);if(!r)return;const{slotsExp:i,wipSlots:n}=r;for(let l=0;l<n.length;l++){const c=n[l];c.fn.body=ys(c,e)}e.pushStatement(ue(e.helper(Vy),["_push",i]))}const Ns=new WeakMap,_P=(t,e)=>{if(!(t.type!==1||t.tagType!==0))return function(){const i=[`<${t.tag}`],n=t.tag==="textarea"||t.tag.indexOf("-")>0,l=ta(t),c=t.props.some(m=>m.type===7&&!kl(m.name)),p=l||c;if(p){const{props:m,directives:y}=fs(t,e,t.props,!1,!1,!0);if(m||y.length){const v=Uc(m,y,e),T=ue(e.helper(Bc),[v]);if(t.tag==="textarea"){const S=t.children[0];if(!S||S.type!==5){const g=`_temp${e.temps++}`;T.arguments=[Yi(Z(g,!1),v)],Ns.set(t,ue(e.helper(bn),[At(Z(`"value" in ${g}`,!1),Z(`${g}.value`,!1),Z(S?S.content:"",!0),!1)]))}}else if(t.tag==="input"){const S=IP(t);if(S){const g=`_temp${e.temps++}`,_=Z(g,!1);T.arguments=[Vd([Yi(_,v),ue(e.helper(Or),[_,ue(e.helper(qy),[_,S.exp])])])]}}else if(y.length&&!t.children.length&&!Fe(t,"text")){const g=`_temp${e.temps++}`;T.arguments=[Yi(Z(g,!1),v)],Ns.set(t,At(Z(`"textContent" in ${g}`,!1),ue(e.helper(bn),[Z(`${g}.textContent`,!1)]),Z(`${g}.innerHTML ?? ''`,!1),!1))}n&&T.arguments.push(`"${t.tag}"`),i.push(T)}}let u,d,f;for(let m=0;m<t.props.length;m++){const y=t.props[m];if(!(t.tag==="input"&&xP(y)))if(y.type===7){if(y.name==="html"&&y.exp)Ns.set(t,je(["(",y.exp,") ?? ''"]));else if(y.name==="text"&&y.exp)t.children=[hn(y.exp,y.loc)];else if(y.name==="slot")e.onError(Ee(40,y.loc));else if(AP(t,y)&&y.exp)p||(t.children=[hn(y.exp,y.loc)]);else if(!p&&y.name!=="on"){const v=e.directiveTransforms[y.name];if(v){const{props:T,ssrTagParts:S}=v(y,t,e);S&&i.push(...S);for(let g=0;g<T.length;g++){const{key:_,value:b}=T[g];if(Ge(_)){let A=_.content;if(A==="key"||A==="ref")continue;A==="class"?i.push(' class="',u=ue(e.helper(Ry),[b]),'"'):A==="style"?f?pp(f,b):i.push(' style="',f=ue(e.helper(Dy),[b]),'"'):(A=t.tag.indexOf("-")>0?A:CS[A]||A.toLowerCase(),Rd(A)?i.push(At(ue(e.helper($c),[b]),Z(" "+A,!0),Z("",!0),!1)):AS(A)?i.push(ue(e.helper(Fy),[_,b])):e.onError(Ks(65,_.loc)))}else{const A=[_,b];n&&A.push(`"${t.tag}"`),i.push(ue(e.helper(By),A))}}}}}else{const v=y.name;if(t.tag==="textarea"&&v==="value"&&y.value)Ns.set(t,Mt(y.value.content));else if(!p){if(v==="key"||v==="ref")continue;v==="class"&&y.value&&(d=JSON.stringify(y.value.content)),i.push(` ${y.name}`+(y.value?`="${Mt(y.value.content)}"`:""))}}}u&&d&&(pp(u,d),CP(i,"class")),e.scopeId&&i.push(` ${e.scopeId}`),t.ssrCodegenNode=Ul(i)}};function Uc(t,e,r){let i=[];if(t&&(t.type===14?i=t.arguments:i.push(t)),e.length)for(const n of e)i.push(ue(r.helper(zy),["_ctx",...ac(n,r).elements]));return i.length>1?ue(r.helper(Or),i):i[0]}function xP(t){return t.type===7?t.name==="bind"&&t.arg&&Ge(t.arg)&&(t.arg.content==="true-value"||t.arg.content==="false-value"):t.name==="true-value"||t.name==="false-value"}function AP(t,e){return!!(t.tag==="textarea"&&e.name==="bind"&&Rt(e.arg,"value"))}function pp(t,e){const r=t.arguments[0];r.type===17?r.elements.push(e):t.arguments[0]=Xt([r,e])}function CP(t,e){const r=new RegExp(`^ ${e}=".+"$`),i=t.findIndex(n=>typeof n=="string"&&r.test(n));i>-1&&t.splice(i,1)}function IP(t){return t.props.find(e=>e.type===7&&e.name==="model"&&e.exp)}function NP(t,e){const r=e.options.isVoidTag||Is,i=t.ssrCodegenNode.elements;for(let l=0;l<i.length;l++)e.pushStringPart(i[l]);e.withSlotScopeId&&e.pushStringPart(Z("_scopeId",!1)),e.pushStringPart(">");const n=Ns.get(t);n?e.pushStringPart(n):t.children.length&&Kt(t,e),r(t.tag)||e.pushStringPart(`</${t.tag}>`)}const Hy=new WeakMap;function OP(t,e){return()=>{const r=ct(t,"tag");if(r){const i=t.props.filter(p=>p!==r),{props:n,directives:l}=fs(t,e,i,!0,!1,!0);let c=null;(n||l.length)&&(c=ue(e.helper(Bc),[Uc(n,l,e)])),Hy.set(t,{tag:r,propsExp:c,scopeId:e.scopeId||null})}}}function kP(t,e){const r=Hy.get(t);if(r){const{tag:i,propsExp:n,scopeId:l}=r;i.type===7?(e.pushStringPart("<"),e.pushStringPart(i.exp),n&&e.pushStringPart(n),l&&e.pushStringPart(` ${l}`),e.pushStringPart(">"),Kt(t,e,!1,!0,!0),e.pushStringPart("</"),e.pushStringPart(i.exp),e.pushStringPart(">")):(e.pushStringPart(`<${i.value.content}`),n&&e.pushStringPart(n),l&&e.pushStringPart(` ${l}`),e.pushStringPart(">"),Kt(t,e,!1,!0,!0),e.pushStringPart(`</${i.value.content}>`))}else Kt(t,e,!0,!0,!0)}const Gy=new WeakMap;function LP(t,e){return()=>{const r=ct(t,"appear",!1,!0);Gy.set(t,!!r)}}function MP(t,e){t.children=t.children.filter(i=>i.type!==3),Gy.get(t)?(e.pushStringPart("<template>"),Kt(t,e,!1,!0),e.pushStringPart("</template>")):Kt(t,e,!1,!0)}var RP=Object.defineProperty,DP=Object.defineProperties,FP=Object.getOwnPropertyDescriptors,fp=Object.getOwnPropertySymbols,BP=Object.prototype.hasOwnProperty,$P=Object.prototype.propertyIsEnumerable,dp=(t,e,r)=>e in t?RP(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Ir=(t,e)=>{for(var r in e||(e={}))BP.call(e,r)&&dp(t,r,e[r]);if(fp)for(var r of fp(e))$P.call(e,r)&&dp(t,r,e[r]);return t},UP=(t,e)=>DP(t,FP(e));const Xy=new WeakMap,Jy=Symbol(),Ky=new WeakMap,qP=(t,e)=>{if(t.type!==1||t.tagType!==1)return;const r=oa(t,e,!0),i=fr(r)&&r.callee===ei;if(Ky.set(t,r),pr(r))return r===ls?PP(t,e):r===ds?OP(t,e):r===Dr?LP(t):void 0;const n=[],l=Sl(t);return function(){l.children.length&&Xs(l,e,(m,y,v)=>(n.push(GP(m,y,v,e)),gt(void 0)));let p="null";if(t.props.length){const{props:m,directives:y}=fs(t,e,void 0,!0,i);(m||y.length)&&(p=Uc(m,y,e))}const u=[];Xy.set(t,u);const d=(m,y,v,T)=>{const S=m&&aa(m)||"_",g=gt([S,"_push","_parent","_scopeId"],void 0,!0,!0,T);return u.push({type:Jy,fn:g,children:v,vnodeBranch:n[u.length]}),g},f=t.children.length?Xs(t,e,d).slots:"null";typeof r!="string"?t.ssrCodegenNode=ue(e.helper(Oy),["_push",ue(e.helper(Zs),[r,p,f]),"_parent"]):t.ssrCodegenNode=ue(e.helper(ky),[r,p,f,"_parent"])}};function jP(t,e,r){const i=Ky.get(t);if(t.ssrCodegenNode){const n=Xy.get(t)||[];for(let l=0;l<n.length;l++){const{fn:c,vnodeBranch:p}=n[l];c.body=pn(Z("_push",!1),ys(n[l],e,!1,!0),p)}e.withSlotScopeId&&t.ssrCodegenNode.arguments.push("_scopeId"),typeof i=="string"?e.pushStatement(ue("_push",[t.ssrCodegenNode])):e.pushStatement(t.ssrCodegenNode)}else{if(i===Ar)return wP(t,e);if(i===ls)return bP(t,e);if(i===ds)return kP(t,e);if(r.type===Jy&&e.pushStringPart(""),i===Dr)return MP(t,e);Kt(t,e)}}const Yy=new WeakMap,[VP,zP]=lc(!0),WP=[...VP,...Sc],HP=Ir(Ir({},zP),Ec);function GP(t,e,r,i){const n=Yy.get(i.root),l=UP(Ir({},n),{nodeTransforms:[...WP,...n.nodeTransforms||[]],directiveTransforms:Ir(Ir({},HP),n.directiveTransforms||{})}),c=[];return t&&c.push({type:7,name:"slot",exp:t,arg:void 0,modifiers:[],loc:Le}),e&&c.push(Bt({},e)),XP({type:1,ns:0,tag:"template",tagType:3,props:c,children:r,loc:Le,codegenNode:void 0},l,i),zd(r)}function XP(t,e,r){const i=Rr([t]),n=si(i,e);n.ssr=!1,n.scopes=Ir({},r.scopes),n.identifiers=Ir({},r.identifiers),n.imports=r.imports,hs(i,n),["helpers","components","directives"].forEach(l=>{n[l].forEach((c,p)=>{if(l==="helpers"){const u=r.helpers.get(p);u===void 0?r.helpers.set(p,c):r.helpers.set(p,c+u)}else r[l].add(c)})})}function Sl(t){if(Be(t))return t.map(Sl);if(Id(t)){const e={};for(const r in t)e[r]=Sl(t[r]);return e}else return t}function JP(t,e){const r=Qy(t,e);if(e.ssrCssVars){const n=si(Rr([]),e),l=$e(Z(e.ssrCssVars,!1),n);r.body.push(je(["const _cssVars = { style: ",l,"}"])),Array.from(n.helpers.keys()).forEach(c=>{t.helpers.add(c)})}const i=t.children.length>1&&t.children.some(n=>!Os(n));Kt(t,r,i),t.codegenNode=ri(r.body),t.ssrHelpers=Array.from(new Set([...Array.from(t.helpers).filter(n=>n in vl),...r.helpers])),t.helpers=new Set(Array.from(t.helpers).filter(n=>!(n in vl)))}function Qy(t,e,r=new Set,i=!1){const n=[];let l=null;return{root:t,options:e,body:n,helpers:r,withSlotScopeId:i,onError:e.onError||(c=>{throw c}),helper(c){return r.add(c),c},pushStringPart(c){if(!l){const d=ue("_push");n.push(d),l=Ul([]),d.arguments.push(l)}const p=l.elements,u=p[p.length-1];ve(c)&&ve(u)?p[p.length-1]+=c:p.push(c)},pushStatement(c){l=null,n.push(c)}}}function KP(t,e=t.withSlotScopeId){return Qy(t.root,t.options,t.helpers,e)}function Kt(t,e,r=!1,i=!1,n=!1){r&&e.pushStringPart("<!--[-->");const{children:l}=t;for(let c=0;c<l.length;c++){const p=l[c];switch(p.type){case 1:switch(p.tagType){case 0:NP(p,e);break;case 1:jP(p,e,t);break;case 2:EP(p,e);break;case 3:break;default:return e.onError(Ks(67,p.loc)),p}break;case 2:e.pushStringPart(Mt(p.content));break;case 3:n||e.pushStringPart(`<!--${p.content}-->`);break;case 5:e.pushStringPart(ue(e.helper(bn),[p.content]));break;case 9:yP(p,e,i,n);break;case 11:vP(p,e,i);break;case 10:break;case 12:case 8:break;default:return e.onError(Ks(67,p.loc)),p}}r&&e.pushStringPart("<!--]-->")}function ys(t,e,r=!1,i=e.withSlotScopeId){const n=KP(e,i);return Kt(t,n,r),ri(n.body)}const YP=(t,e,r)=>{const i=t.exp;function n(){const c=ct(e,"value");c&&r.onError(et(60,c.loc))}function l(c){if(c.tag==="option"){if(c.props.findIndex(p=>p.name==="selected")===-1){const p=mp(c);c.ssrCodegenNode.elements.push(At(ue(r.helper($c),[At(ue("Array.isArray",[i]),ue(r.helper(gl),[i,p]),ue(r.helper(an),[i,p]))]),Z(" selected",!0),Z("",!0),!1))}}else c.tag==="optgroup"&&c.children.forEach(p=>l(p))}if(e.tagType===0){const c={props:[]},p=[we("value",i)];if(e.tag==="input"){const u=ct(e,"type");if(u){const d=mp(e);if(u.type===7)c.ssrTagParts=[ue(r.helper(Uy),[u.exp,i,d])];else if(u.value)switch(u.value.content){case"radio":c.props=[we("checked",ue(r.helper(an),[i,d]))];break;case"checkbox":const f=ct(e,"true-value");if(f){const m=f.type===6?JSON.stringify(f.value.content):f.exp;c.props=[we("checked",ue(r.helper(an),[i,m]))]}else c.props=[we("checked",At(ue("Array.isArray",[i]),ue(r.helper(gl),[i,d]),i))];break;case"file":r.onError(et(59,t.loc));break;default:n(),c.props=p;break}}else ta(e)||(n(),c.props=p)}else if(e.tag==="textarea")n(),e.children=[hn(i,i.loc)];else if(e.tag==="select"){const u=d=>{d.forEach(f=>{f.type===1?l(f):f.type===11?u(f.children):f.type===9&&f.branches.forEach(m=>u(m.children))})};u(e.children)}else r.onError(et(57,t.loc));return c}else return ca(t,e,r)};function mp(t){const e=ct(t,"value");return e?e.type===7?e.exp:Z(e.value.content,!0):Z("null",!1)}const QP=(t,e,r)=>(t.exp||r.onError(et(61)),{props:[we("style",At(t.exp,Z("null",!1),ot([we("display",Z("none",!0))]),!1))]}),El=t=>t.children.filter(e=>e.type!==3),no=t=>El(t).length===1,ZP=(t,e)=>{if(t.type===0&&(e.identifiers._attrs=1),t.type===1&&t.tagType===1&&(t.tag==="transition"||t.tag==="Transition"||t.tag==="KeepAlive"||t.tag==="keep-alive")){const i=El(e.root);if(i.length===1&&i[0]===t){no(t)&&ao(t.children[0]);return}}const r=e.parent;if(!(!r||r.type!==0))if(t.type===10&&no(t)){let i=!1;for(const n of El(r))if(n.type===9||n.type===1&&Fe(n,"if")){if(i)return;i=!0}else if(!i||!(n.type===1&&Fe(n,/else/,!0)))return;ao(t.children[0])}else no(r)&&ao(t)};function ao(t){t.type===1&&(t.tagType===0||t.tagType===1)&&!Fe(t,"for")&&t.props.push({type:7,name:"bind",arg:void 0,exp:Z("_attrs",!1),modifiers:[],loc:Le})}const eb=(t,e)=>{if(!e.ssrCssVars)return;t.type===0&&(e.identifiers._cssVars=1);const r=e.parent;if(!(!r||r.type!==0))if(t.type===10)for(const i of t.children)_n(i);else _n(t)};function _n(t){if(t.type===1&&(t.tagType===0||t.tagType===1)&&!Fe(t,"for"))if(t.tag==="suspense"||t.tag==="Suspense")for(const e of t.children)e.type===1&&e.tagType===3?e.children.forEach(_n):_n(e);else t.props.push({type:7,name:"bind",arg:void 0,exp:Z("_cssVars",!1),modifiers:[],loc:Le})}var tb=Object.defineProperty,rb=Object.defineProperties,sb=Object.getOwnPropertyDescriptors,yp=Object.getOwnPropertySymbols,ib=Object.prototype.hasOwnProperty,nb=Object.prototype.propertyIsEnumerable,gp=(t,e,r)=>e in t?tb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Pi=(t,e)=>{for(var r in e||(e={}))ib.call(e,r)&&gp(t,r,e[r]);if(yp)for(var r of yp(e))nb.call(e,r)&&gp(t,r,e[r]);return t},vp=(t,e)=>rb(t,sb(e));function ab(t,e={}){e=vp(Pi(Pi({},e),os),{ssr:!0,inSSR:!0,scopeId:e.mode==="function"?null:e.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1});const r=typeof t=="string"?ra(t,e):t;return Yy.set(r,e),Yl(r,vp(Pi({},e),{hoistStatic:!1,nodeTransforms:[mP,gP,nc,Zl,SP,ZP,eb,_P,qP,ic,yc,...e.nodeTransforms||[]],directiveTransforms:Pi({bind:tc,on:la,model:YP,show:QP,cloak:Ls,once:Ls,memo:Ls},e.directiveTransforms||{})})),JP(r,e),Ql(r,e)}var ob=Object.freeze({__proto__:null,compile:ab}),lb={},cb=Object.freeze({__proto__:null,default:lb}),ub=Jn(cb),qc=Jn(D1),hb=Jn($w);const Sp={};function Bs(t){!(typeof process<"u"&&!0)&&!Sp[t]&&(Sp[t]=!0,xn(t))}function xn(t){console.warn(`\x1B[1m\x1B[33m[@vue/compiler-sfc]\x1B[0m\x1B[33m ${t}\x1B[0m
|
|
64
|
-
`)}var pb=Object.defineProperty,fb=Object.defineProperties,db=Object.getOwnPropertyDescriptors,Ep=Object.getOwnPropertySymbols,mb=Object.prototype.hasOwnProperty,yb=Object.prototype.propertyIsEnumerable,Tp=(t,e,r)=>e in t?pb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,An=(t,e)=>{for(var r in e||(e={}))mb.call(e,r)&&Tp(t,r,e[r]);if(Ep)for(var r of Ep(e))yb.call(e,r)&&Tp(t,r,e[r]);return t},Tl=(t,e)=>fb(t,db(e));function gb({source:t,filename:e,preprocessOptions:r},i){let n="",l=null;if(i.render(t,An({filename:e},r),(c,p)=>{c&&(l=c),n=p}),l)throw l;return n}function vb(t){const{preprocessLang:e,preprocessCustomRequire:r}=t;if(e&&!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 i=e?r?r(e):void 0:!1;if(i)try{return wp(Tl(An({},t),{source:gb(t,i),ast:void 0}))}catch(n){return{code:"export default function render() {}",source:t.source,tips:[],errors:[n]}}else return e?{code:"export default function render() {}",source:t.source,tips:[`Component ${t.filename} uses lang ${e} for template. Please install the language preprocessor.`],errors:[`Component ${t.filename} uses lang ${e} for template, however it is not installed.`]}:wp(t)}function wp({filename:t,id:e,scoped:r,slotted:i,inMap:n,source:l,ast:c,ssr:p=!1,ssrCssVars:u,isProd:d=!1,compiler:f,compilerOptions:m={},transformAssetUrls:y}){const v=[],T=[];let S=[];if(fr(y)){const C=cP(y);S=[uP(C),dP(C)]}else y!==!1&&(S=[Iy,Ny]);p&&!u&&Bs("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option."),e||(Bs("compileTemplate now requires the `id` option."),e="");const g=e.replace(/^data-v-/,""),_=`data-v-${g}`,b=p?ob:cl;if(f=f||b,f!==b&&(c=void 0),c!=null&&c.transformed){const k=(p?cl:f).parse(c.source,Tl(An({prefixIdentifiers:!0},m),{parseMode:"sfc",onError:N=>v.push(N)})).children.find(N=>N.type===1&&N.tag==="template");c=Rr(k.children,c.source)}let{code:A,ast:O,preamble:x,map:L}=f.compile(c||l,Tl(An({mode:"module",prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:p&&u&&u.length?Im(u,g,d,!0):"",scopeId:r?_:void 0,slotted:i,sourceMap:!0},m),{hmr:!d,nodeTransforms:S.concat(m.nodeTransforms||[]),filename:t,onError:C=>v.push(C),onWarn:C=>T.push(C)}));n&&!c&&(L&&(L=Sb(n,L)),v.length&&Eb(v,l,n));const R=T.map(C=>{let k=C.message;return C.loc&&(k+=`
|
|
65
|
-
${Qs((c==null?void 0:c.source)||l,C.loc.start.offset,C.loc.end.offset)}`),k});return{code:A,ast:O,preamble:x,source:l,errors:v,tips:R,map:L}}function Sb(t,e){if(!t)return e;if(!e)return t;const r=new ks.SourceMapConsumer(t),i=new ks.SourceMapConsumer(e),n=new ks.SourceMapGenerator;i.eachMapping(c=>{if(c.originalLine==null)return;const p=r.originalPositionFor({line:c.originalLine,column:c.originalColumn});p.source!=null&&n.addMapping({generated:{line:c.generatedLine,column:c.generatedColumn},original:{line:p.line,column:c.originalColumn},source:p.source,name:p.name})});const l=n;return r.sources.forEach(c=>{l._sources.add(c);const p=r.sourceContentFor(c);p!=null&&n.setSourceContent(c,p)}),l._sourceRoot=t.sourceRoot,l._file=t.file,l.toJSON()}function Eb(t,e,r){const i=r.sourcesContent[0],n=i.indexOf(e),l=i.slice(0,n).split(/\r?\n/).length-1;t.forEach(c=>{c.loc&&(c.loc.start.line+=l,c.loc.start.offset+=n,c.loc.end!==c.loc.start&&(c.loc.end.line+=l,c.loc.end.offset+=n))})}var bi={exports:{}},Pp;function Zy(){if(Pp)return bi.exports;Pp=1;let t=ut||{},e=t.argv||[],r=t.env||{},i=!(r.NO_COLOR||e.includes("--no-color"))&&(!!r.FORCE_COLOR||e.includes("--color")||t.platform==="win32"||(t.stdout||{}).isTTY&&r.TERM!=="dumb"||!!r.CI),n=(p,u,d=p)=>f=>{let m=""+f,y=m.indexOf(u,p.length);return~y?p+l(m,u,d,y)+u:p+m+u},l=(p,u,d,f)=>{let m="",y=0;do m+=p.substring(y,f)+d,y=f+u.length,f=p.indexOf(u,y);while(~f);return m+p.substring(y)},c=(p=i)=>{let u=p?n:()=>String;return{isColorSupported:p,reset:u("\x1B[0m","\x1B[0m"),bold:u("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:u("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:u("\x1B[3m","\x1B[23m"),underline:u("\x1B[4m","\x1B[24m"),inverse:u("\x1B[7m","\x1B[27m"),hidden:u("\x1B[8m","\x1B[28m"),strikethrough:u("\x1B[9m","\x1B[29m"),black:u("\x1B[30m","\x1B[39m"),red:u("\x1B[31m","\x1B[39m"),green:u("\x1B[32m","\x1B[39m"),yellow:u("\x1B[33m","\x1B[39m"),blue:u("\x1B[34m","\x1B[39m"),magenta:u("\x1B[35m","\x1B[39m"),cyan:u("\x1B[36m","\x1B[39m"),white:u("\x1B[37m","\x1B[39m"),gray:u("\x1B[90m","\x1B[39m"),bgBlack:u("\x1B[40m","\x1B[49m"),bgRed:u("\x1B[41m","\x1B[49m"),bgGreen:u("\x1B[42m","\x1B[49m"),bgYellow:u("\x1B[43m","\x1B[49m"),bgBlue:u("\x1B[44m","\x1B[49m"),bgMagenta:u("\x1B[45m","\x1B[49m"),bgCyan:u("\x1B[46m","\x1B[49m"),bgWhite:u("\x1B[47m","\x1B[49m"),blackBright:u("\x1B[90m","\x1B[39m"),redBright:u("\x1B[91m","\x1B[39m"),greenBright:u("\x1B[92m","\x1B[39m"),yellowBright:u("\x1B[93m","\x1B[39m"),blueBright:u("\x1B[94m","\x1B[39m"),magentaBright:u("\x1B[95m","\x1B[39m"),cyanBright:u("\x1B[96m","\x1B[39m"),whiteBright:u("\x1B[97m","\x1B[39m"),bgBlackBright:u("\x1B[100m","\x1B[49m"),bgRedBright:u("\x1B[101m","\x1B[49m"),bgGreenBright:u("\x1B[102m","\x1B[49m"),bgYellowBright:u("\x1B[103m","\x1B[49m"),bgBlueBright:u("\x1B[104m","\x1B[49m"),bgMagentaBright:u("\x1B[105m","\x1B[49m"),bgCyanBright:u("\x1B[106m","\x1B[49m"),bgWhiteBright:u("\x1B[107m","\x1B[49m")}};return bi.exports=c(),bi.exports.createColors=c,bi.exports}var oo,bp;function eg(){if(bp)return oo;bp=1;const t=39,e=34,r=92,i=47,n=10,l=32,c=12,p=9,u=13,d=91,f=93,m=40,y=41,v=123,T=125,S=59,g=42,_=58,b=64,A=/[\t\n\f\r "#'()/;[\\\]{}]/g,O=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,x=/.[\r\n"'(/\\]/,L=/[\da-f]/i;return oo=function(C,k={}){let N=C.css.valueOf(),F=k.ignoreErrors,W,Y,re,z,ie,J,fe,Ne,de,te,q=N.length,j=0,$=[],G=[];function H(){return j}function U(ne){throw C.error("Unclosed "+ne,j)}function se(){return G.length===0&&j>=q}function ee(ne){if(G.length)return G.pop();if(j>=q)return;let ye=ne?ne.ignoreUnclosed:!1;switch(W=N.charCodeAt(j),W){case n:case l:case p:case u:case c:{z=j;do z+=1,W=N.charCodeAt(z);while(W===l||W===n||W===p||W===u||W===c);J=["space",N.slice(j,z)],j=z-1;break}case d:case f:case v:case T:case _:case S:case y:{let xe=String.fromCharCode(W);J=[xe,xe,j];break}case m:{if(te=$.length?$.pop()[1]:"",de=N.charCodeAt(j+1),te==="url"&&de!==t&&de!==e&&de!==l&&de!==n&&de!==p&&de!==c&&de!==u){z=j;do{if(fe=!1,z=N.indexOf(")",z+1),z===-1)if(F||ye){z=j;break}else U("bracket");for(Ne=z;N.charCodeAt(Ne-1)===r;)Ne-=1,fe=!fe}while(fe);J=["brackets",N.slice(j,z+1),j,z],j=z}else z=N.indexOf(")",j+1),Y=N.slice(j,z+1),z===-1||x.test(Y)?J=["(","(",j]:(J=["brackets",Y,j,z],j=z);break}case t:case e:{ie=W===t?"'":'"',z=j;do{if(fe=!1,z=N.indexOf(ie,z+1),z===-1)if(F||ye){z=j+1;break}else U("string");for(Ne=z;N.charCodeAt(Ne-1)===r;)Ne-=1,fe=!fe}while(fe);J=["string",N.slice(j,z+1),j,z],j=z;break}case b:{A.lastIndex=j+1,A.test(N),A.lastIndex===0?z=N.length-1:z=A.lastIndex-2,J=["at-word",N.slice(j,z+1),j,z],j=z;break}case r:{for(z=j,re=!0;N.charCodeAt(z+1)===r;)z+=1,re=!re;if(W=N.charCodeAt(z+1),re&&W!==i&&W!==l&&W!==n&&W!==p&&W!==u&&W!==c&&(z+=1,L.test(N.charAt(z)))){for(;L.test(N.charAt(z+1));)z+=1;N.charCodeAt(z+1)===l&&(z+=1)}J=["word",N.slice(j,z+1),j,z],j=z;break}default:{W===i&&N.charCodeAt(j+1)===g?(z=N.indexOf("*/",j+2)+1,z===0&&(F||ye?z=N.length:U("comment")),J=["comment",N.slice(j,z+1),j,z],j=z):(O.lastIndex=j+1,O.test(N),O.lastIndex===0?z=N.length-1:z=O.lastIndex-2,J=["word",N.slice(j,z+1),j,z],$.push(J),j=z);break}}return j++,J}function pe(ne){G.push(ne)}return{back:pe,endOfFile:se,nextToken:ee,position:H}},oo}var lo,_p;function tg(){if(_p)return lo;_p=1;let t=Zy(),e=eg(),r;function i(p){r=p}const n={";":t.yellow,":":t.yellow,"(":t.cyan,")":t.cyan,"[":t.yellow,"]":t.yellow,"{":t.yellow,"}":t.yellow,"at-word":t.cyan,brackets:t.cyan,call:t.cyan,class:t.yellow,comment:t.gray,hash:t.magenta,string:t.green};function l([p,u],d){if(p==="word"){if(u[0]===".")return"class";if(u[0]==="#")return"hash"}if(!d.endOfFile()){let f=d.nextToken();if(d.back(f),f[0]==="brackets"||f[0]==="(")return"call"}return p}function c(p){let u=e(new r(p),{ignoreErrors:!0}),d="";for(;!u.endOfFile();){let f=u.nextToken(),m=n[l(f,u)];m?d+=f[1].split(/\r?\n/).map(y=>m(y)).join(`
|
|
66
|
-
`):d+=f[1]}return d}return c.registerInput=i,lo=c,lo}var co,xp;function jc(){if(xp)return co;xp=1;let t=Zy(),e=tg();class r extends Error{constructor(n,l,c,p,u,d){super(n),this.name="CssSyntaxError",this.reason=n,u&&(this.file=u),p&&(this.source=p),d&&(this.plugin=d),typeof l<"u"&&typeof c<"u"&&(typeof l=="number"?(this.line=l,this.column=c):(this.line=l.line,this.column=l.column,this.endLine=c.line,this.endColumn=c.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(n){if(!this.source)return"";let l=this.source;n==null&&(n=t.isColorSupported);let c=v=>v,p=v=>v,u=v=>v;if(n){let{bold:v,gray:T,red:S}=t.createColors(!0);p=g=>v(S(g)),c=g=>T(g),e&&(u=g=>e(g))}let d=l.split(/\r?\n/),f=Math.max(this.line-3,0),m=Math.min(this.line+2,d.length),y=String(m).length;return d.slice(f,m).map((v,T)=>{let S=f+1+T,g=" "+(" "+S).slice(-y)+" | ";if(S===this.line){if(v.length>160){let b=20,A=Math.max(0,this.column-b),O=Math.max(this.column+b,this.endColumn+b),x=v.slice(A,O),L=c(g.replace(/\d/g," "))+v.slice(0,Math.min(this.column-1,b-1)).replace(/[^\t]/g," ");return p(">")+c(g)+u(x)+`
|
|
67
|
-
`+L+p("^")}let _=c(g.replace(/\d/g," "))+v.slice(0,this.column-1).replace(/[^\t]/g," ");return p(">")+c(g)+u(v)+`
|
|
68
|
-
`+_+p("^")}return" "+c(g)+u(v)}).join(`
|
|
69
|
-
`)}toString(){let n=this.showSourceCode();return n&&(n=`
|
|
70
|
-
|
|
71
|
-
`+n+`
|
|
72
|
-
`),this.name+": "+this.message+n}}return co=r,r.default=r,co}var uo,Ap;function rg(){if(Ap)return uo;Ap=1;const t={after:`
|
|
73
|
-
`,beforeClose:`
|
|
74
|
-
`,beforeComment:`
|
|
75
|
-
`,beforeDecl:`
|
|
76
|
-
`,beforeOpen:" ",beforeRule:`
|
|
77
|
-
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function e(i){return i[0].toUpperCase()+i.slice(1)}class r{constructor(n){this.builder=n}atrule(n,l){let c="@"+n.name,p=n.params?this.rawValue(n,"params"):"";if(typeof n.raws.afterName<"u"?c+=n.raws.afterName:p&&(c+=" "),n.nodes)this.block(n,c+p);else{let u=(n.raws.between||"")+(l?";":"");this.builder(c+p+u,n)}}beforeAfter(n,l){let c;n.type==="decl"?c=this.raw(n,null,"beforeDecl"):n.type==="comment"?c=this.raw(n,null,"beforeComment"):l==="before"?c=this.raw(n,null,"beforeRule"):c=this.raw(n,null,"beforeClose");let p=n.parent,u=0;for(;p&&p.type!=="root";)u+=1,p=p.parent;if(c.includes(`
|
|
78
|
-
`)){let d=this.raw(n,null,"indent");if(d.length)for(let f=0;f<u;f++)c+=d}return c}block(n,l){let c=this.raw(n,"between","beforeOpen");this.builder(l+c+"{",n,"start");let p;n.nodes&&n.nodes.length?(this.body(n),p=this.raw(n,"after")):p=this.raw(n,"after","emptyBody"),p&&this.builder(p),this.builder("}",n,"end")}body(n){let l=n.nodes.length-1;for(;l>0&&n.nodes[l].type==="comment";)l-=1;let c=this.raw(n,"semicolon");for(let p=0;p<n.nodes.length;p++){let u=n.nodes[p],d=this.raw(u,"before");d&&this.builder(d),this.stringify(u,l!==p||c)}}comment(n){let l=this.raw(n,"left","commentLeft"),c=this.raw(n,"right","commentRight");this.builder("/*"+l+n.text+c+"*/",n)}decl(n,l){let c=this.raw(n,"between","colon"),p=n.prop+c+this.rawValue(n,"value");n.important&&(p+=n.raws.important||" !important"),l&&(p+=";"),this.builder(p,n)}document(n){this.body(n)}raw(n,l,c){let p;if(c||(c=l),l&&(p=n.raws[l],typeof p<"u"))return p;let u=n.parent;if(c==="before"&&(!u||u.type==="root"&&u.first===n||u&&u.type==="document"))return"";if(!u)return t[c];let d=n.root();if(d.rawCache||(d.rawCache={}),typeof d.rawCache[c]<"u")return d.rawCache[c];if(c==="before"||c==="after")return this.beforeAfter(n,c);{let f="raw"+e(c);this[f]?p=this[f](d,n):d.walk(m=>{if(p=m.raws[l],typeof p<"u")return!1})}return typeof p>"u"&&(p=t[c]),d.rawCache[c]=p,p}rawBeforeClose(n){let l;return n.walk(c=>{if(c.nodes&&c.nodes.length>0&&typeof c.raws.after<"u")return l=c.raws.after,l.includes(`
|
|
79
|
-
`)&&(l=l.replace(/[^\n]+$/,"")),!1}),l&&(l=l.replace(/\S/g,"")),l}rawBeforeComment(n,l){let c;return n.walkComments(p=>{if(typeof p.raws.before<"u")return c=p.raws.before,c.includes(`
|
|
80
|
-
`)&&(c=c.replace(/[^\n]+$/,"")),!1}),typeof c>"u"?c=this.raw(l,null,"beforeDecl"):c&&(c=c.replace(/\S/g,"")),c}rawBeforeDecl(n,l){let c;return n.walkDecls(p=>{if(typeof p.raws.before<"u")return c=p.raws.before,c.includes(`
|
|
81
|
-
`)&&(c=c.replace(/[^\n]+$/,"")),!1}),typeof c>"u"?c=this.raw(l,null,"beforeRule"):c&&(c=c.replace(/\S/g,"")),c}rawBeforeOpen(n){let l;return n.walk(c=>{if(c.type!=="decl"&&(l=c.raws.between,typeof l<"u"))return!1}),l}rawBeforeRule(n){let l;return n.walk(c=>{if(c.nodes&&(c.parent!==n||n.first!==c)&&typeof c.raws.before<"u")return l=c.raws.before,l.includes(`
|
|
82
|
-
`)&&(l=l.replace(/[^\n]+$/,"")),!1}),l&&(l=l.replace(/\S/g,"")),l}rawColon(n){let l;return n.walkDecls(c=>{if(typeof c.raws.between<"u")return l=c.raws.between.replace(/[^\s:]/g,""),!1}),l}rawEmptyBody(n){let l;return n.walk(c=>{if(c.nodes&&c.nodes.length===0&&(l=c.raws.after,typeof l<"u"))return!1}),l}rawIndent(n){if(n.raws.indent)return n.raws.indent;let l;return n.walk(c=>{let p=c.parent;if(p&&p!==n&&p.parent&&p.parent===n&&typeof c.raws.before<"u"){let u=c.raws.before.split(`
|
|
83
|
-
`);return l=u[u.length-1],l=l.replace(/\S/g,""),!1}}),l}rawSemicolon(n){let l;return n.walk(c=>{if(c.nodes&&c.nodes.length&&c.last.type==="decl"&&(l=c.raws.semicolon,typeof l<"u"))return!1}),l}rawValue(n,l){let c=n[l],p=n.raws[l];return p&&p.value===c?p.raw:c}root(n){this.body(n),n.raws.after&&this.builder(n.raws.after)}rule(n){this.block(n,this.rawValue(n,"selector")),n.raws.ownSemicolon&&this.builder(n.raws.ownSemicolon,n,"end")}stringify(n,l){if(!this[n.type])throw new Error("Unknown AST node type "+n.type+". Maybe you need to change PostCSS stringifier.");this[n.type](n,l)}}return uo=r,r.default=r,uo}var ho,Cp;function ya(){if(Cp)return ho;Cp=1;let t=rg();function e(r,i){new t(i).stringify(r)}return ho=e,e.default=e,ho}var _i={},Ip;function Vc(){return Ip||(Ip=1,_i.isClean=Symbol("isClean"),_i.my=Symbol("my")),_i}var po,Np;function ga(){if(Np)return po;Np=1;let t=jc(),e=rg(),r=ya(),{isClean:i,my:n}=Vc();function l(u,d){let f=new u.constructor;for(let m in u){if(!Object.prototype.hasOwnProperty.call(u,m)||m==="proxyCache")continue;let y=u[m],v=typeof y;m==="parent"&&v==="object"?d&&(f[m]=d):m==="source"?f[m]=y:Array.isArray(y)?f[m]=y.map(T=>l(T,f)):(v==="object"&&y!==null&&(y=l(y)),f[m]=y)}return f}function c(u,d){if(d&&typeof d.offset<"u")return d.offset;let f=1,m=1,y=0;for(let v=0;v<u.length;v++){if(m===d.line&&f===d.column){y=v;break}u[v]===`
|
|
84
|
-
`?(f=1,m+=1):f+=1}return y}class p{get proxyOf(){return this}constructor(d={}){this.raws={},this[i]=!1,this[n]=!0;for(let f in d)if(f==="nodes"){this.nodes=[];for(let m of d[f])typeof m.clone=="function"?this.append(m.clone()):this.append(m)}else this[f]=d[f]}addToError(d){if(d.postcssNode=this,d.stack&&this.source&&/\n\s{4}at /.test(d.stack)){let f=this.source;d.stack=d.stack.replace(/\n\s{4}at /,`$&${f.input.from}:${f.start.line}:${f.start.column}$&`)}return d}after(d){return this.parent.insertAfter(this,d),this}assign(d={}){for(let f in d)this[f]=d[f];return this}before(d){return this.parent.insertBefore(this,d),this}cleanRaws(d){delete this.raws.before,delete this.raws.after,d||delete this.raws.between}clone(d={}){let f=l(this);for(let m in d)f[m]=d[m];return f}cloneAfter(d={}){let f=this.clone(d);return this.parent.insertAfter(this,f),f}cloneBefore(d={}){let f=this.clone(d);return this.parent.insertBefore(this,f),f}error(d,f={}){if(this.source){let{end:m,start:y}=this.rangeBy(f);return this.source.input.error(d,{column:y.column,line:y.line},{column:m.column,line:m.line},f)}return new t(d)}getProxyProcessor(){return{get(d,f){return f==="proxyOf"?d:f==="root"?()=>d.root().toProxy():d[f]},set(d,f,m){return d[f]===m||(d[f]=m,(f==="prop"||f==="value"||f==="name"||f==="params"||f==="important"||f==="text")&&d.markDirty()),!0}}}markClean(){this[i]=!0}markDirty(){if(this[i]){this[i]=!1;let d=this;for(;d=d.parent;)d[i]=!1}}next(){if(!this.parent)return;let d=this.parent.index(this);return this.parent.nodes[d+1]}positionBy(d){let f=this.source.start;if(d.index)f=this.positionInside(d.index);else if(d.word){let m="document"in this.source.input?this.source.input.document:this.source.input.css,v=m.slice(c(m,this.source.start),c(m,this.source.end)).indexOf(d.word);v!==-1&&(f=this.positionInside(v))}return f}positionInside(d){let f=this.source.start.column,m=this.source.start.line,y="document"in this.source.input?this.source.input.document:this.source.input.css,v=c(y,this.source.start),T=v+d;for(let S=v;S<T;S++)y[S]===`
|
|
85
|
-
`?(f=1,m+=1):f+=1;return{column:f,line:m}}prev(){if(!this.parent)return;let d=this.parent.index(this);return this.parent.nodes[d-1]}rangeBy(d){let f={column:this.source.start.column,line:this.source.start.line},m=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:f.column+1,line:f.line};if(d.word){let y="document"in this.source.input?this.source.input.document:this.source.input.css,T=y.slice(c(y,this.source.start),c(y,this.source.end)).indexOf(d.word);T!==-1&&(f=this.positionInside(T),m=this.positionInside(T+d.word.length))}else d.start?f={column:d.start.column,line:d.start.line}:d.index&&(f=this.positionInside(d.index)),d.end?m={column:d.end.column,line:d.end.line}:typeof d.endIndex=="number"?m=this.positionInside(d.endIndex):d.index&&(m=this.positionInside(d.index+1));return(m.line<f.line||m.line===f.line&&m.column<=f.column)&&(m={column:f.column+1,line:f.line}),{end:m,start:f}}raw(d,f){return new e().raw(this,d,f)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...d){if(this.parent){let f=this,m=!1;for(let y of d)y===this?m=!0:m?(this.parent.insertAfter(f,y),f=y):this.parent.insertBefore(f,y);m||this.remove()}return this}root(){let d=this;for(;d.parent&&d.parent.type!=="document";)d=d.parent;return d}toJSON(d,f){let m={},y=f==null;f=f||new Map;let v=0;for(let T in this){if(!Object.prototype.hasOwnProperty.call(this,T)||T==="parent"||T==="proxyCache")continue;let S=this[T];if(Array.isArray(S))m[T]=S.map(g=>typeof g=="object"&&g.toJSON?g.toJSON(null,f):g);else if(typeof S=="object"&&S.toJSON)m[T]=S.toJSON(null,f);else if(T==="source"){let g=f.get(S.input);g==null&&(g=v,f.set(S.input,v),v++),m[T]={end:S.end,inputId:g,start:S.start}}else m[T]=S}return y&&(m.inputs=[...f.keys()].map(T=>T.toJSON())),m}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(d=r){d.stringify&&(d=d.stringify);let f="";return d(this,m=>{f+=m}),f}warn(d,f,m){let y={node:this};for(let v in m)y[v]=m[v];return d.warn(f,y)}}return po=p,p.default=p,po}var fo,Op;function va(){if(Op)return fo;Op=1;let t=ga();class e extends t{constructor(i){super(i),this.type="comment"}}return fo=e,e.default=e,fo}var mo,kp;function Sa(){if(kp)return mo;kp=1;let t=ga();class e extends t{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(i){i&&typeof i.value<"u"&&typeof i.value!="string"&&(i={...i,value:String(i.value)}),super(i),this.type="decl"}}return mo=e,e.default=e,mo}var yo,Lp;function Br(){if(Lp)return yo;Lp=1;let t=va(),e=Sa(),r=ga(),{isClean:i,my:n}=Vc(),l,c,p,u;function d(y){return y.map(v=>(v.nodes&&(v.nodes=d(v.nodes)),delete v.source,v))}function f(y){if(y[i]=!1,y.proxyOf.nodes)for(let v of y.proxyOf.nodes)f(v)}class m extends r{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]}append(...v){for(let T of v){let S=this.normalize(T,this.last);for(let g of S)this.proxyOf.nodes.push(g)}return this.markDirty(),this}cleanRaws(v){if(super.cleanRaws(v),this.nodes)for(let T of this.nodes)T.cleanRaws(v)}each(v){if(!this.proxyOf.nodes)return;let T=this.getIterator(),S,g;for(;this.indexes[T]<this.proxyOf.nodes.length&&(S=this.indexes[T],g=v(this.proxyOf.nodes[S],S),g!==!1);)this.indexes[T]+=1;return delete this.indexes[T],g}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,T){return T==="proxyOf"?v:v[T]?T==="each"||typeof T=="string"&&T.startsWith("walk")?(...S)=>v[T](...S.map(g=>typeof g=="function"?(_,b)=>g(_.toProxy(),b):g)):T==="every"||T==="some"?S=>v[T]((g,..._)=>S(g.toProxy(),..._)):T==="root"?()=>v.root().toProxy():T==="nodes"?v.nodes.map(S=>S.toProxy()):T==="first"||T==="last"?v[T].toProxy():v[T]:v[T]},set(v,T,S){return v[T]===S||(v[T]=S,(T==="name"||T==="params"||T==="selector")&&v.markDirty()),!0}}}index(v){return typeof v=="number"?v:(v.proxyOf&&(v=v.proxyOf),this.proxyOf.nodes.indexOf(v))}insertAfter(v,T){let S=this.index(v),g=this.normalize(T,this.proxyOf.nodes[S]).reverse();S=this.index(v);for(let b of g)this.proxyOf.nodes.splice(S+1,0,b);let _;for(let b in this.indexes)_=this.indexes[b],S<_&&(this.indexes[b]=_+g.length);return this.markDirty(),this}insertBefore(v,T){let S=this.index(v),g=S===0?"prepend":!1,_=this.normalize(T,this.proxyOf.nodes[S],g).reverse();S=this.index(v);for(let A of _)this.proxyOf.nodes.splice(S,0,A);let b;for(let A in this.indexes)b=this.indexes[A],S<=b&&(this.indexes[A]=b+_.length);return this.markDirty(),this}normalize(v,T){if(typeof v=="string")v=d(c(v).nodes);else if(typeof v>"u")v=[];else if(Array.isArray(v)){v=v.slice(0);for(let g of v)g.parent&&g.parent.removeChild(g,"ignore")}else if(v.type==="root"&&this.type!=="document"){v=v.nodes.slice(0);for(let g of v)g.parent&&g.parent.removeChild(g,"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 e(v)]}else if(v.selector||v.selectors)v=[new u(v)];else if(v.name)v=[new l(v)];else if(v.text)v=[new t(v)];else throw new Error("Unknown node type in node creation");return v.map(g=>(g[n]||m.rebuild(g),g=g.proxyOf,g.parent&&g.parent.removeChild(g),g[i]&&f(g),g.raws||(g.raws={}),typeof g.raws.before>"u"&&T&&typeof T.raws.before<"u"&&(g.raws.before=T.raws.before.replace(/\S/g,"")),g.parent=this.proxyOf,g))}prepend(...v){v=v.reverse();for(let T of v){let S=this.normalize(T,this.first,"prepend").reverse();for(let g of S)this.proxyOf.nodes.unshift(g);for(let g in this.indexes)this.indexes[g]=this.indexes[g]+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 T;for(let S in this.indexes)T=this.indexes[S],T>=v&&(this.indexes[S]=T-1);return this.markDirty(),this}replaceValues(v,T,S){return S||(S=T,T={}),this.walkDecls(g=>{T.props&&!T.props.includes(g.prop)||T.fast&&!g.value.includes(T.fast)||(g.value=g.value.replace(v,S))}),this.markDirty(),this}some(v){return this.nodes.some(v)}walk(v){return this.each((T,S)=>{let g;try{g=v(T,S)}catch(_){throw T.addToError(_)}return g!==!1&&T.walk&&(g=T.walk(v)),g})}walkAtRules(v,T){return T?v instanceof RegExp?this.walk((S,g)=>{if(S.type==="atrule"&&v.test(S.name))return T(S,g)}):this.walk((S,g)=>{if(S.type==="atrule"&&S.name===v)return T(S,g)}):(T=v,this.walk((S,g)=>{if(S.type==="atrule")return T(S,g)}))}walkComments(v){return this.walk((T,S)=>{if(T.type==="comment")return v(T,S)})}walkDecls(v,T){return T?v instanceof RegExp?this.walk((S,g)=>{if(S.type==="decl"&&v.test(S.prop))return T(S,g)}):this.walk((S,g)=>{if(S.type==="decl"&&S.prop===v)return T(S,g)}):(T=v,this.walk((S,g)=>{if(S.type==="decl")return T(S,g)}))}walkRules(v,T){return T?v instanceof RegExp?this.walk((S,g)=>{if(S.type==="rule"&&v.test(S.selector))return T(S,g)}):this.walk((S,g)=>{if(S.type==="rule"&&S.selector===v)return T(S,g)}):(T=v,this.walk((S,g)=>{if(S.type==="rule")return T(S,g)}))}}return m.registerParse=y=>{c=y},m.registerRule=y=>{u=y},m.registerAtRule=y=>{l=y},m.registerRoot=y=>{p=y},yo=m,m.default=m,m.rebuild=y=>{y.type==="atrule"?Object.setPrototypeOf(y,l.prototype):y.type==="rule"?Object.setPrototypeOf(y,u.prototype):y.type==="decl"?Object.setPrototypeOf(y,e.prototype):y.type==="comment"?Object.setPrototypeOf(y,t.prototype):y.type==="root"&&Object.setPrototypeOf(y,p.prototype),y[n]=!0,y.nodes&&y.nodes.forEach(v=>{m.rebuild(v)})},yo}var go,Mp;function zc(){if(Mp)return go;Mp=1;let t=Br();class e extends t{constructor(i){super(i),this.type="atrule"}append(...i){return this.proxyOf.nodes||(this.nodes=[]),super.append(...i)}prepend(...i){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...i)}}return go=e,e.default=e,t.registerAtRule(e),go}var vo,Rp;function Wc(){if(Rp)return vo;Rp=1;let t=Br(),e,r;class i extends t{constructor(l){super({type:"document",...l}),this.nodes||(this.nodes=[])}toResult(l={}){return new e(new r,this,l).stringify()}}return i.registerLazyResult=n=>{e=n},i.registerProcessor=n=>{r=n},vo=i,i.default=i,vo}var So,Dp;function Tb(){if(Dp)return So;Dp=1;let t="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";return So={nanoid:(i=21)=>{let n="",l=i|0;for(;l--;)n+=t[Math.random()*64|0];return n},customAlphabet:(i,n=21)=>(l=n)=>{let c="",p=l|0;for(;p--;)c+=i[Math.random()*i.length|0];return c}},So}var sg=Jn(Zw),Eo,Fp;function ig(){if(Fp)return Eo;Fp=1;let{existsSync:t,readFileSync:e}=ub,{dirname:r,join:i}=qc,{SourceMapConsumer:n,SourceMapGenerator:l}=sa();function c(u){return X?X.from(u,"base64").toString():window.atob(u)}class p{constructor(d,f){if(f.map===!1)return;this.loadAnnotation(d),this.inline=this.startWith(this.annotation,"data:");let m=f.map?f.map.prev:void 0,y=this.loadMap(f.from,m);!this.mapFile&&f.from&&(this.mapFile=f.from),this.mapFile&&(this.root=r(this.mapFile)),y&&(this.text=y)}consumer(){return this.consumerCache||(this.consumerCache=new n(this.text)),this.consumerCache}decodeInline(d){let f=/^data:application\/json;charset=utf-?8;base64,/,m=/^data:application\/json;base64,/,y=/^data:application\/json;charset=utf-?8,/,v=/^data:application\/json,/,T=d.match(y)||d.match(v);if(T)return decodeURIComponent(d.substr(T[0].length));let S=d.match(f)||d.match(m);if(S)return c(d.substr(S[0].length));let g=d.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+g)}getAnnotationURL(d){return d.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(d){return typeof d!="object"?!1:typeof d.mappings=="string"||typeof d._mappings=="string"||Array.isArray(d.sections)}loadAnnotation(d){let f=d.match(/\/\*\s*# sourceMappingURL=/g);if(!f)return;let m=d.lastIndexOf(f.pop()),y=d.indexOf("*/",m);m>-1&&y>-1&&(this.annotation=this.getAnnotationURL(d.substring(m,y)))}loadFile(d){if(this.root=r(d),t(d))return this.mapFile=d,e(d,"utf-8").toString().trim()}loadMap(d,f){if(f===!1)return!1;if(f){if(typeof f=="string")return f;if(typeof f=="function"){let m=f(d);if(m){let y=this.loadFile(m);if(!y)throw new Error("Unable to load previous source map: "+m.toString());return y}}else{if(f instanceof n)return l.fromSourceMap(f).toString();if(f instanceof l)return f.toString();if(this.isMap(f))return JSON.stringify(f);throw new Error("Unsupported previous source map format: "+f.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let m=this.annotation;return d&&(m=i(r(d),m)),this.loadFile(m)}}}startWith(d,f){return d?d.substr(0,f.length)===f:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return Eo=p,p.default=p,Eo}var To,Bp;function Ea(){if(Bp)return To;Bp=1;let{nanoid:t}=Tb(),{isAbsolute:e,resolve:r}=qc,{SourceMapConsumer:i,SourceMapGenerator:n}=sa(),{fileURLToPath:l,pathToFileURL:c}=sg,p=jc(),u=ig(),d=tg(),f=Symbol("fromOffsetCache"),m=!!(i&&n),y=!!(r&&e);class v{get from(){return this.file||this.id}constructor(S,g={}){if(S===null||typeof S>"u"||typeof S=="object"&&!S.toString)throw new Error(`PostCSS received ${S} instead of CSS string`);if(this.css=S.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,g.document&&(this.document=g.document.toString()),g.from&&(!y||/^\w+:\/\//.test(g.from)||e(g.from)?this.file=g.from:this.file=r(g.from)),y&&m){let _=new u(this.css,g);if(_.text){this.map=_;let b=_.consumer().file;!this.file&&b&&(this.file=this.mapResolve(b))}}this.file||(this.id="<input css "+t(6)+">"),this.map&&(this.map.file=this.from)}error(S,g,_,b={}){let A,O,x;if(g&&typeof g=="object"){let R=g,C=_;if(typeof R.offset=="number"){let k=this.fromOffset(R.offset);g=k.line,_=k.col}else g=R.line,_=R.column;if(typeof C.offset=="number"){let k=this.fromOffset(C.offset);O=k.line,A=k.col}else O=C.line,A=C.column}else if(!_){let R=this.fromOffset(g);g=R.line,_=R.col}let L=this.origin(g,_,O,A);return L?x=new p(S,L.endLine===void 0?L.line:{column:L.column,line:L.line},L.endLine===void 0?L.column:{column:L.endColumn,line:L.endLine},L.source,L.file,b.plugin):x=new p(S,O===void 0?g:{column:_,line:g},O===void 0?_:{column:A,line:O},this.css,this.file,b.plugin),x.input={column:_,endColumn:A,endLine:O,line:g,source:this.css},this.file&&(c&&(x.input.url=c(this.file).toString()),x.input.file=this.file),x}fromOffset(S){let g,_;if(this[f])_=this[f];else{let A=this.css.split(`
|
|
86
|
-
`);_=new Array(A.length);let O=0;for(let x=0,L=A.length;x<L;x++)_[x]=O,O+=A[x].length+1;this[f]=_}g=_[_.length-1];let b=0;if(S>=g)b=_.length-1;else{let A=_.length-2,O;for(;b<A;)if(O=b+(A-b>>1),S<_[O])A=O-1;else if(S>=_[O+1])b=O+1;else{b=O;break}}return{col:S-_[b]+1,line:b+1}}mapResolve(S){return/^\w+:\/\//.test(S)?S:r(this.map.consumer().sourceRoot||this.map.root||".",S)}origin(S,g,_,b){if(!this.map)return!1;let A=this.map.consumer(),O=A.originalPositionFor({column:g,line:S});if(!O.source)return!1;let x;typeof _=="number"&&(x=A.originalPositionFor({column:b,line:_}));let L;e(O.source)?L=c(O.source):L=new URL(O.source,this.map.consumer().sourceRoot||c(this.map.mapFile));let R={column:O.column,endColumn:x&&x.column,endLine:x&&x.line,line:O.line,url:L.toString()};if(L.protocol==="file:")if(l)R.file=l(L);else throw new Error("file: protocol is not available in this PostCSS build");let C=A.sourceContentFor(O.source);return C&&(R.source=C),R}toJSON(){let S={};for(let g of["hasBOM","css","file","id"])this[g]!=null&&(S[g]=this[g]);return this.map&&(S.map={...this.map},S.map.consumerCache&&(S.map.consumerCache=void 0)),S}}return To=v,v.default=v,d&&d.registerInput&&d.registerInput(v),To}var wo,$p;function ai(){if($p)return wo;$p=1;let t=Br(),e,r;class i extends t{constructor(l){super(l),this.type="root",this.nodes||(this.nodes=[])}normalize(l,c,p){let u=super.normalize(l);if(c){if(p==="prepend")this.nodes.length>1?c.raws.before=this.nodes[1].raws.before:delete c.raws.before;else if(this.first!==c)for(let d of u)d.raws.before=c.raws.before}return u}removeChild(l,c){let p=this.index(l);return!c&&p===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[p].raws.before),super.removeChild(l)}toResult(l={}){return new e(new r,this,l).stringify()}}return i.registerLazyResult=n=>{e=n},i.registerProcessor=n=>{r=n},wo=i,i.default=i,t.registerRoot(i),wo}var Po,Up;function ng(){if(Up)return Po;Up=1;let t={comma(e){return t.split(e,[","],!0)},space(e){let r=[" ",`
|
|
87
|
-
`," "];return t.split(e,r)},split(e,r,i){let n=[],l="",c=!1,p=0,u=!1,d="",f=!1;for(let m of e)f?f=!1:m==="\\"?f=!0:u?m===d&&(u=!1):m==='"'||m==="'"?(u=!0,d=m):m==="("?p+=1:m===")"?p>0&&(p-=1):p===0&&r.includes(m)&&(c=!0),c?(l!==""&&n.push(l.trim()),l="",c=!1):l+=m;return(i||l!=="")&&n.push(l.trim()),n}};return Po=t,t.default=t,Po}var bo,qp;function Hc(){if(qp)return bo;qp=1;let t=Br(),e=ng();class r extends t{get selectors(){return e.comma(this.selector)}set selectors(n){let l=this.selector?this.selector.match(/,\s*/):null,c=l?l[0]:","+this.raw("between","beforeOpen");this.selector=n.join(c)}constructor(n){super(n),this.type="rule",this.nodes||(this.nodes=[])}}return bo=r,r.default=r,t.registerRule(r),bo}var _o,jp;function wb(){if(jp)return _o;jp=1;let t=zc(),e=va(),r=Sa(),i=Ea(),n=ig(),l=ai(),c=Hc();function p(u,d){if(Array.isArray(u))return u.map(y=>p(y));let{inputs:f,...m}=u;if(f){d=[];for(let y of f){let v={...y,__proto__:i.prototype};v.map&&(v.map={...v.map,__proto__:n.prototype}),d.push(v)}}if(m.nodes&&(m.nodes=u.nodes.map(y=>p(y,d))),m.source){let{inputId:y,...v}=m.source;m.source=v,y!=null&&(m.source.input=d[y])}if(m.type==="root")return new l(m);if(m.type==="decl")return new r(m);if(m.type==="rule")return new c(m);if(m.type==="comment")return new e(m);if(m.type==="atrule")return new t(m);throw new Error("Unknown node type: "+u.type)}return _o=p,p.default=p,_o}var xo,Vp;function ag(){if(Vp)return xo;Vp=1;let{dirname:t,relative:e,resolve:r,sep:i}=qc,{SourceMapConsumer:n,SourceMapGenerator:l}=sa(),{pathToFileURL:c}=sg,p=Ea(),u=!!(n&&l),d=!!(t&&r&&e&&i);class f{constructor(y,v,T,S){this.stringify=y,this.mapOpts=T.map||{},this.root=v,this.opts=T,this.css=S,this.originalCSS=S,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=`
|
|
88
|
-
`;this.css.includes(`\r
|
|
89
|
-
`)&&(v=`\r
|
|
90
|
-
`),this.css+=v+"/*# sourceMappingURL="+y+" */"}applyPrevMaps(){for(let y of this.previous()){let v=this.toUrl(this.path(y.file)),T=y.root||t(y.file),S;this.mapOpts.sourcesContent===!1?(S=new n(y.text),S.sourcesContent&&(S.sourcesContent=null)):S=y.consumer(),this.map.applySourceMap(S,v,this.toUrl(this.path(T)))}}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(),d&&u&&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=l.fromSourceMap(y,{ignoreInvalidMapping:!0})}else this.map=new l({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 l({file:this.outputFile(),ignoreInvalidMapping:!0});let y=1,v=1,T="<no source>",S={generated:{column:0,line:0},original:{column:0,line:0},source:""},g,_;this.stringify(this.root,(b,A,O)=>{if(this.css+=b,A&&O!=="end"&&(S.generated.line=y,S.generated.column=v-1,A.source&&A.source.start?(S.source=this.sourcePath(A),S.original.line=A.source.start.line,S.original.column=A.source.start.column-1,this.map.addMapping(S)):(S.source=T,S.original.line=1,S.original.column=0,this.map.addMapping(S))),_=b.match(/\n/g),_?(y+=_.length,g=b.lastIndexOf(`
|
|
91
|
-
`),v=b.length-g):v+=b.length,A&&O!=="start"){let x=A.parent||{raws:{}};(!(A.type==="decl"||A.type==="atrule"&&!A.nodes)||A!==x.last||x.raws.semicolon)&&(A.source&&A.source.end?(S.source=this.sourcePath(A),S.original.line=A.source.end.line,S.original.column=A.source.end.column-1,S.generated.line=y,S.generated.column=v-2,this.map.addMapping(S)):(S.source=T,S.original.line=1,S.original.column=0,S.generated.line=y,S.generated.column=v-1,this.map.addMapping(S)))}})}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 T=this.opts.to?t(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(T=t(r(T,this.mapOpts.annotation)));let S=e(T,y);return this.memoizedPaths.set(y,S),S}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 p(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 T=v.source.input.from;if(T&&!y[T]){y[T]=!0;let S=this.usesFileUrls?this.toFileUrl(T):this.toUrl(this.path(T));this.map.setSourceContent(S,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 X?X.from(y).toString("base64"):window.btoa(unescape(encodeURIComponent(y)))}toFileUrl(y){let v=this.memoizedFileURLs.get(y);if(v)return v;if(c){let T=c(y).toString();return this.memoizedFileURLs.set(y,T),T}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;i==="\\"&&(y=y.replace(/\\/g,"/"));let T=encodeURI(y).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(y,T),T}}return xo=f,xo}var Ao,zp;function Pb(){if(zp)return Ao;zp=1;let t=zc(),e=va(),r=Sa(),i=ai(),n=Hc(),l=eg();const c={empty:!0,space:!0};function p(d){for(let f=d.length-1;f>=0;f--){let m=d[f],y=m[3]||m[2];if(y)return y}}class u{constructor(f){this.input=f,this.root=new i,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:f,start:{column:1,line:1,offset:0}}}atrule(f){let m=new t;m.name=f[1].slice(1),m.name===""&&this.unnamedAtrule(m,f),this.init(m,f[2]);let y,v,T,S=!1,g=!1,_=[],b=[];for(;!this.tokenizer.endOfFile();){if(f=this.tokenizer.nextToken(),y=f[0],y==="("||y==="["?b.push(y==="("?")":"]"):y==="{"&&b.length>0?b.push("}"):y===b[b.length-1]&&b.pop(),b.length===0)if(y===";"){m.source.end=this.getPosition(f[2]),m.source.end.offset++,this.semicolon=!0;break}else if(y==="{"){g=!0;break}else if(y==="}"){if(_.length>0){for(T=_.length-1,v=_[T];v&&v[0]==="space";)v=_[--T];v&&(m.source.end=this.getPosition(v[3]||v[2]),m.source.end.offset++)}this.end(f);break}else _.push(f);else _.push(f);if(this.tokenizer.endOfFile()){S=!0;break}}m.raws.between=this.spacesAndCommentsFromEnd(_),_.length?(m.raws.afterName=this.spacesAndCommentsFromStart(_),this.raw(m,"params",_),S&&(f=_[_.length-1],m.source.end=this.getPosition(f[3]||f[2]),m.source.end.offset++,this.spaces=m.raws.between,m.raws.between="")):(m.raws.afterName="",m.params=""),g&&(m.nodes=[],this.current=m)}checkMissedSemicolon(f){let m=this.colon(f);if(m===!1)return;let y=0,v;for(let T=m-1;T>=0&&(v=f[T],!(v[0]!=="space"&&(y+=1,y===2)));T--);throw this.input.error("Missed semicolon",v[0]==="word"?v[3]+1:v[2])}colon(f){let m=0,y,v,T;for(let[S,g]of f.entries()){if(v=g,T=v[0],T==="("&&(m+=1),T===")"&&(m-=1),m===0&&T===":")if(!y)this.doubleColon(v);else{if(y[0]==="word"&&y[1]==="progid")continue;return S}y=v}return!1}comment(f){let m=new e;this.init(m,f[2]),m.source.end=this.getPosition(f[3]||f[2]),m.source.end.offset++;let y=f[1].slice(2,-2);if(/^\s*$/.test(y))m.text="",m.raws.left=y,m.raws.right="";else{let v=y.match(/^(\s*)([^]*\S)(\s*)$/);m.text=v[2],m.raws.left=v[1],m.raws.right=v[3]}}createTokenizer(){this.tokenizer=l(this.input)}decl(f,m){let y=new r;this.init(y,f[0][2]);let v=f[f.length-1];for(v[0]===";"&&(this.semicolon=!0,f.pop()),y.source.end=this.getPosition(v[3]||v[2]||p(f)),y.source.end.offset++;f[0][0]!=="word";)f.length===1&&this.unknownWord(f),y.raws.before+=f.shift()[1];for(y.source.start=this.getPosition(f[0][2]),y.prop="";f.length;){let b=f[0][0];if(b===":"||b==="space"||b==="comment")break;y.prop+=f.shift()[1]}y.raws.between="";let T;for(;f.length;)if(T=f.shift(),T[0]===":"){y.raws.between+=T[1];break}else T[0]==="word"&&/\w/.test(T[1])&&this.unknownWord([T]),y.raws.between+=T[1];(y.prop[0]==="_"||y.prop[0]==="*")&&(y.raws.before+=y.prop[0],y.prop=y.prop.slice(1));let S=[],g;for(;f.length&&(g=f[0][0],!(g!=="space"&&g!=="comment"));)S.push(f.shift());this.precheckMissedSemicolon(f);for(let b=f.length-1;b>=0;b--){if(T=f[b],T[1].toLowerCase()==="!important"){y.important=!0;let A=this.stringFrom(f,b);A=this.spacesFromEnd(f)+A,A!==" !important"&&(y.raws.important=A);break}else if(T[1].toLowerCase()==="important"){let A=f.slice(0),O="";for(let x=b;x>0;x--){let L=A[x][0];if(O.trim().startsWith("!")&&L!=="space")break;O=A.pop()[1]+O}O.trim().startsWith("!")&&(y.important=!0,y.raws.important=O,f=A)}if(T[0]!=="space"&&T[0]!=="comment")break}f.some(b=>b[0]!=="space"&&b[0]!=="comment")&&(y.raws.between+=S.map(b=>b[1]).join(""),S=[]),this.raw(y,"value",S.concat(f),m),y.value.includes(":")&&!m&&this.checkMissedSemicolon(f)}doubleColon(f){throw this.input.error("Double colon",{offset:f[2]},{offset:f[2]+f[1].length})}emptyRule(f){let m=new n;this.init(m,f[2]),m.selector="",m.raws.between="",this.current=m}end(f){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(f[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(f)}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(f){if(this.spaces+=f[1],this.current.nodes){let m=this.current.nodes[this.current.nodes.length-1];m&&m.type==="rule"&&!m.raws.ownSemicolon&&(m.raws.ownSemicolon=this.spaces,this.spaces="",m.source.end=this.getPosition(f[2]),m.source.end.offset+=m.raws.ownSemicolon.length)}}getPosition(f){let m=this.input.fromOffset(f);return{column:m.col,line:m.line,offset:f}}init(f,m){this.current.push(f),f.source={input:this.input,start:this.getPosition(m)},f.raws.before=this.spaces,this.spaces="",f.type!=="comment"&&(this.semicolon=!1)}other(f){let m=!1,y=null,v=!1,T=null,S=[],g=f[1].startsWith("--"),_=[],b=f;for(;b;){if(y=b[0],_.push(b),y==="("||y==="[")T||(T=b),S.push(y==="("?")":"]");else if(g&&v&&y==="{")T||(T=b),S.push("}");else if(S.length===0)if(y===";")if(v){this.decl(_,g);return}else break;else if(y==="{"){this.rule(_);return}else if(y==="}"){this.tokenizer.back(_.pop()),m=!0;break}else y===":"&&(v=!0);else y===S[S.length-1]&&(S.pop(),S.length===0&&(T=null));b=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(m=!0),S.length>0&&this.unclosedBracket(T),m&&v){if(!g)for(;_.length&&(b=_[_.length-1][0],!(b!=="space"&&b!=="comment"));)this.tokenizer.back(_.pop());this.decl(_,g)}else this.unknownWord(_)}parse(){let f;for(;!this.tokenizer.endOfFile();)switch(f=this.tokenizer.nextToken(),f[0]){case"space":this.spaces+=f[1];break;case";":this.freeSemicolon(f);break;case"}":this.end(f);break;case"comment":this.comment(f);break;case"at-word":this.atrule(f);break;case"{":this.emptyRule(f);break;default:this.other(f);break}this.endFile()}precheckMissedSemicolon(){}raw(f,m,y,v){let T,S,g=y.length,_="",b=!0,A,O;for(let x=0;x<g;x+=1)T=y[x],S=T[0],S==="space"&&x===g-1&&!v?b=!1:S==="comment"?(O=y[x-1]?y[x-1][0]:"empty",A=y[x+1]?y[x+1][0]:"empty",!c[O]&&!c[A]?_.slice(-1)===","?b=!1:_+=T[1]:b=!1):_+=T[1];if(!b){let x=y.reduce((L,R)=>L+R[1],"");f.raws[m]={raw:x,value:_}}f[m]=_}rule(f){f.pop();let m=new n;this.init(m,f[0][2]),m.raws.between=this.spacesAndCommentsFromEnd(f),this.raw(m,"selector",f),this.current=m}spacesAndCommentsFromEnd(f){let m,y="";for(;f.length&&(m=f[f.length-1][0],!(m!=="space"&&m!=="comment"));)y=f.pop()[1]+y;return y}spacesAndCommentsFromStart(f){let m,y="";for(;f.length&&(m=f[0][0],!(m!=="space"&&m!=="comment"));)y+=f.shift()[1];return y}spacesFromEnd(f){let m,y="";for(;f.length&&(m=f[f.length-1][0],m==="space");)y=f.pop()[1]+y;return y}stringFrom(f,m){let y="";for(let v=m;v<f.length;v++)y+=f[v][1];return f.splice(m,f.length-m),y}unclosedBlock(){let f=this.current.source.start;throw this.input.error("Unclosed block",f.line,f.column)}unclosedBracket(f){throw this.input.error("Unclosed bracket",{offset:f[2]},{offset:f[2]+1})}unexpectedClose(f){throw this.input.error("Unexpected }",{offset:f[2]},{offset:f[2]+1})}unknownWord(f){throw this.input.error("Unknown word "+f[0][1],{offset:f[0][2]},{offset:f[0][2]+f[0][1].length})}unnamedAtrule(f,m){throw this.input.error("At-rule without name",{offset:m[2]},{offset:m[2]+m[1].length})}}return Ao=u,Ao}var Co,Wp;function Gc(){if(Wp)return Co;Wp=1;let t=Br(),e=Ea(),r=Pb();function i(n,l){let c=new e(n,l),p=new r(c);try{p.parse()}catch(u){throw ut.env.NODE_ENV!=="production"&&u.name==="CssSyntaxError"&&l&&l.from&&(/\.scss$/i.test(l.from)?u.message+=`
|
|
92
|
-
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(l.from)?u.message+=`
|
|
93
|
-
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(l.from)&&(u.message+=`
|
|
94
|
-
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),u}return p.root}return Co=i,i.default=i,t.registerParse(i),Co}var Io,Hp;function og(){if(Hp)return Io;Hp=1;class t{constructor(r,i={}){if(this.type="warning",this.text=r,i.node&&i.node.source){let n=i.node.rangeBy(i);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in i)this[n]=i[n]}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 Io=t,t.default=t,Io}var No,Gp;function Xc(){if(Gp)return No;Gp=1;let t=og();class e{get content(){return this.css}constructor(i,n,l){this.processor=i,this.messages=[],this.root=n,this.opts=l,this.css=void 0,this.map=void 0}toString(){return this.css}warn(i,n={}){n.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(n.plugin=this.lastPlugin.postcssPlugin);let l=new t(i,n);return this.messages.push(l),l}warnings(){return this.messages.filter(i=>i.type==="warning")}}return No=e,e.default=e,No}var Oo,Xp;function lg(){if(Xp)return Oo;Xp=1;let t={};return Oo=function(r){t[r]||(t[r]=!0,typeof console<"u"&&console.warn&&console.warn(r))},Oo}var ko,Jp;function cg(){if(Jp)return ko;Jp=1;let t=Br(),e=Wc(),r=ag(),i=Gc(),n=Xc(),l=ai(),c=ya(),{isClean:p,my:u}=Vc(),d=lg();const f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},m={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 T(O){return typeof O=="object"&&typeof O.then=="function"}function S(O){let x=!1,L=f[O.type];return O.type==="decl"?x=O.prop.toLowerCase():O.type==="atrule"&&(x=O.name.toLowerCase()),x&&O.append?[L,L+"-"+x,v,L+"Exit",L+"Exit-"+x]:x?[L,L+"-"+x,L+"Exit",L+"Exit-"+x]:O.append?[L,v,L+"Exit"]:[L,L+"Exit"]}function g(O){let x;return O.type==="document"?x=["Document",v,"DocumentExit"]:O.type==="root"?x=["Root",v,"RootExit"]:x=S(O),{eventIndex:0,events:x,iterator:0,node:O,visitorIndex:0,visitors:[]}}function _(O){return O[p]=!1,O.nodes&&O.nodes.forEach(x=>_(x)),O}let b={};class A{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"}constructor(x,L,R){this.stringified=!1,this.processed=!1;let C;if(typeof L=="object"&&L!==null&&(L.type==="root"||L.type==="document"))C=_(L);else if(L instanceof A||L instanceof n)C=_(L.root),L.map&&(typeof R.map>"u"&&(R.map={}),R.map.inline||(R.map.inline=!1),R.map.prev=L.map);else{let k=i;R.syntax&&(k=R.syntax.parse),R.parser&&(k=R.parser),k.parse&&(k=k.parse);try{C=k(L,R)}catch(N){this.processed=!0,this.error=N}C&&!C[u]&&t.rebuild(C)}this.result=new n(x,C,R),this.helpers={...b,postcss:b,result:this.result},this.plugins=this.processor.plugins.map(k=>typeof k=="object"&&k.prepare?{...k,...k.prepare(this.result)}:k)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(x){return this.async().catch(x)}finally(x){return this.async().then(x,x)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(x,L){let R=this.result.lastPlugin;try{if(L&&L.addToError(x),this.error=x,x.name==="CssSyntaxError"&&!x.plugin)x.plugin=R.postcssPlugin,x.setMessage();else if(R.postcssVersion&&ut.env.NODE_ENV!=="production"){let C=R.postcssPlugin,k=R.postcssVersion,N=this.result.processor.version,F=k.split("."),W=N.split(".");(F[0]!==W[0]||parseInt(F[1])>parseInt(W[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+N+", but "+C+" uses "+k+". Perhaps this is the source of the error below.")}}catch(C){console&&console.error&&console.error(C)}return x}prepareVisitors(){this.listeners={};let x=(L,R,C)=>{this.listeners[R]||(this.listeners[R]=[]),this.listeners[R].push([L,C])};for(let L of this.plugins)if(typeof L=="object")for(let R in L){if(!m[R]&&/^[A-Z]/.test(R))throw new Error(`Unknown event ${R} in ${L.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!y[R])if(typeof L[R]=="object")for(let C in L[R])C==="*"?x(L,R,L[R][C]):x(L,R+"-"+C.toLowerCase(),L[R][C]);else typeof L[R]=="function"&&x(L,R,L[R])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let x=0;x<this.plugins.length;x++){let L=this.plugins[x],R=this.runOnRoot(L);if(T(R))try{await R}catch(C){throw this.handleError(C)}}if(this.prepareVisitors(),this.hasListener){let x=this.result.root;for(;!x[p];){x[p]=!0;let L=[g(x)];for(;L.length>0;){let R=this.visitTick(L);if(T(R))try{await R}catch(C){let k=L[L.length-1].node;throw this.handleError(C,k)}}}if(this.listeners.OnceExit)for(let[L,R]of this.listeners.OnceExit){this.result.lastPlugin=L;try{if(x.type==="document"){let C=x.nodes.map(k=>R(k,this.helpers));await Promise.all(C)}else await R(x,this.helpers)}catch(C){throw this.handleError(C)}}}return this.processed=!0,this.stringify()}runOnRoot(x){this.result.lastPlugin=x;try{if(typeof x=="object"&&x.Once){if(this.result.root.type==="document"){let L=this.result.root.nodes.map(R=>x.Once(R,this.helpers));return T(L[0])?Promise.all(L):L}return x.Once(this.result.root,this.helpers)}else if(typeof x=="function")return x(this.result.root,this.result)}catch(L){throw this.handleError(L)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let x=this.result.opts,L=c;x.syntax&&(L=x.syntax.stringify),x.stringifier&&(L=x.stringifier),L.stringify&&(L=L.stringify);let C=new r(L,this.result.root,this.result.opts).generate();return this.result.css=C[0],this.result.map=C[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 x of this.plugins){let L=this.runOnRoot(x);if(T(L))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let x=this.result.root;for(;!x[p];)x[p]=!0,this.walkSync(x);if(this.listeners.OnceExit)if(x.type==="document")for(let L of x.nodes)this.visitSync(this.listeners.OnceExit,L);else this.visitSync(this.listeners.OnceExit,x)}return this.result}then(x,L){return ut.env.NODE_ENV!=="production"&&("from"in this.opts||d("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(x,L)}toString(){return this.css}visitSync(x,L){for(let[R,C]of x){this.result.lastPlugin=R;let k;try{k=C(L,this.helpers)}catch(N){throw this.handleError(N,L.proxyOf)}if(L.type!=="root"&&L.type!=="document"&&!L.parent)return!0;if(T(k))throw this.getAsyncError()}}visitTick(x){let L=x[x.length-1],{node:R,visitors:C}=L;if(R.type!=="root"&&R.type!=="document"&&!R.parent){x.pop();return}if(C.length>0&&L.visitorIndex<C.length){let[N,F]=C[L.visitorIndex];L.visitorIndex+=1,L.visitorIndex===C.length&&(L.visitors=[],L.visitorIndex=0),this.result.lastPlugin=N;try{return F(R.toProxy(),this.helpers)}catch(W){throw this.handleError(W,R)}}if(L.iterator!==0){let N=L.iterator,F;for(;F=R.nodes[R.indexes[N]];)if(R.indexes[N]+=1,!F[p]){F[p]=!0,x.push(g(F));return}L.iterator=0,delete R.indexes[N]}let k=L.events;for(;L.eventIndex<k.length;){let N=k[L.eventIndex];if(L.eventIndex+=1,N===v){R.nodes&&R.nodes.length&&(R[p]=!0,L.iterator=R.getIterator());return}else if(this.listeners[N]){L.visitors=this.listeners[N];return}}x.pop()}walkSync(x){x[p]=!0;let L=S(x);for(let R of L)if(R===v)x.nodes&&x.each(C=>{C[p]||this.walkSync(C)});else{let C=this.listeners[R];if(C&&this.visitSync(C,x.toProxy()))return}}warnings(){return this.sync().warnings()}}return A.registerPostcss=O=>{b=O},ko=A,A.default=A,l.registerLazyResult(A),e.registerLazyResult(A),ko}var Lo,Kp;function bb(){if(Kp)return Lo;Kp=1;let t=ag(),e=Gc();const r=Xc();let i=ya(),n=lg();class l{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 p,u=e;try{p=u(this._css,this._opts)}catch(d){this.error=d}if(this.error)throw this.error;return this._root=p,p}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(p,u,d){u=u.toString(),this.stringified=!1,this._processor=p,this._css=u,this._opts=d,this._map=void 0;let f,m=i;this.result=new r(this._processor,f,this._opts),this.result.css=u;let y=this;Object.defineProperty(this.result,"root",{get(){return y.root}});let v=new t(m,f,this._opts,u);if(v.isMap()){let[T,S]=v.generate();T&&(this.result.css=T),S&&(this.result.map=S)}else v.clearAnnotation(),this.result.css=v.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(p){return this.async().catch(p)}finally(p){return this.async().then(p,p)}sync(){if(this.error)throw this.error;return this.result}then(p,u){return ut.env.NODE_ENV!=="production"&&("from"in this._opts||n("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(p,u)}toString(){return this._css}warnings(){return[]}}return Lo=l,l.default=l,Lo}var Mo,Yp;function _b(){if(Yp)return Mo;Yp=1;let t=Wc(),e=cg(),r=bb(),i=ai();class n{constructor(c=[]){this.version="8.5.3",this.plugins=this.normalize(c)}normalize(c){let p=[];for(let u of c)if(u.postcss===!0?u=u():u.postcss&&(u=u.postcss),typeof u=="object"&&Array.isArray(u.plugins))p=p.concat(u.plugins);else if(typeof u=="object"&&u.postcssPlugin)p.push(u);else if(typeof u=="function")p.push(u);else if(typeof u=="object"&&(u.parse||u.stringify)){if(ut.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(u+" is not a PostCSS plugin");return p}process(c,p={}){return!this.plugins.length&&!p.parser&&!p.stringifier&&!p.syntax?new r(this,c,p):new e(this,c,p)}use(c){return this.plugins=this.plugins.concat(this.normalize([c])),this}}return Mo=n,n.default=n,i.registerProcessor(n),t.registerProcessor(n),Mo}var Ro,Qp;function xb(){if(Qp)return Ro;Qp=1;let t=zc(),e=va(),r=Br(),i=jc(),n=Sa(),l=Wc(),c=wb(),p=Ea(),u=cg(),d=ng(),f=ga(),m=Gc(),y=_b(),v=Xc(),T=ai(),S=Hc(),g=ya(),_=og();function b(...A){return A.length===1&&Array.isArray(A[0])&&(A=A[0]),new y(A)}return b.plugin=function(O,x){let L=!1;function R(...k){console&&console.warn&&!L&&(L=!0,console.warn(O+`: postcss.plugin was deprecated. Migration guide:
|
|
95
|
-
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),ut.env.LANG&&ut.env.LANG.startsWith("cn")&&console.warn(O+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
96
|
-
https://www.w3ctech.com/topic/2226`));let N=x(...k);return N.postcssPlugin=O,N.postcssVersion=new y().version,N}let C;return Object.defineProperty(R,"postcss",{get(){return C||(C=R()),C}}),R.process=function(k,N,F){return b([R(F)]).process(k,N)},R},b.stringify=g,b.parse=m,b.fromJSON=c,b.list=d,b.comment=A=>new e(A),b.atRule=A=>new t(A),b.decl=A=>new n(A),b.rule=A=>new S(A),b.root=A=>new T(A),b.document=A=>new l(A),b.CssSyntaxError=i,b.Declaration=n,b.Container=r,b.Processor=y,b.Document=l,b.Comment=e,b.Warning=_,b.AtRule=t,b.Result=v,b.Input=p,b.Rule=S,b.Root=T,b.Node=f,u.registerPostcss(b),Ro=b,b.default=b,Ro}var Ab=xb(),Ie=Xn(Ab);Ie.stringify;Ie.fromJSON;Ie.plugin;Ie.parse;Ie.list;Ie.document;Ie.comment;Ie.atRule;Ie.rule;Ie.decl;Ie.root;Ie.CssSyntaxError;Ie.Declaration;Ie.Container;Ie.Processor;Ie.Document;Ie.Comment;Ie.Warning;Ie.AtRule;Ie.Result;Ie.Input;const Cb=Ie.Rule;Ie.Root;Ie.Node;const ug=()=>({postcssPlugin:"vue-sfc-trim",Once(t){t.walk(({type:e,raws:r})=>{(e==="rule"||e==="atrule")&&(r.before&&(r.before=`
|
|
97
|
-
`),"after"in r&&r.after&&(r.after=`
|
|
98
|
-
`))})}});ug.postcss=!0;var xi={exports:{}},Ai={exports:{}},Ci={exports:{}},Ii={exports:{}},Ni={exports:{}},Oi={exports:{}},bt={},ki={exports:{}},Zp;function hg(){return Zp||(Zp=1,function(t,e){e.__esModule=!0,e.default=n;function r(l){for(var c=l.toLowerCase(),p="",u=!1,d=0;d<6&&c[d]!==void 0;d++){var f=c.charCodeAt(d),m=f>=97&&f<=102||f>=48&&f<=57;if(u=f===32,!m)break;p+=c[d]}if(p.length!==0){var y=parseInt(p,16),v=y>=55296&&y<=57343;return v||y===0||y>1114111?["�",p.length+(u?1:0)]:[String.fromCodePoint(y),p.length+(u?1:0)]}}var i=/\\/;function n(l){var c=i.test(l);if(!c)return l;for(var p="",u=0;u<l.length;u++){if(l[u]==="\\"){var d=r(l.slice(u+1,u+7));if(d!==void 0){p+=d[0],u+=d[1];continue}if(l[u+1]==="\\"){p+="\\",u++;continue}l.length===u+1&&(p+=l[u]);continue}p+=l[u]}return p}t.exports=e.default}(ki,ki.exports)),ki.exports}var Li={exports:{}},ef;function Ib(){return ef||(ef=1,function(t,e){e.__esModule=!0,e.default=r;function r(i){for(var n=arguments.length,l=new Array(n>1?n-1:0),c=1;c<n;c++)l[c-1]=arguments[c];for(;l.length>0;){var p=l.shift();if(!i[p])return;i=i[p]}return i}t.exports=e.default}(Li,Li.exports)),Li.exports}var Mi={exports:{}},tf;function Nb(){return tf||(tf=1,function(t,e){e.__esModule=!0,e.default=r;function r(i){for(var n=arguments.length,l=new Array(n>1?n-1:0),c=1;c<n;c++)l[c-1]=arguments[c];for(;l.length>0;){var p=l.shift();i[p]||(i[p]={}),i=i[p]}}t.exports=e.default}(Mi,Mi.exports)),Mi.exports}var Ri={exports:{}},rf;function Ob(){return rf||(rf=1,function(t,e){e.__esModule=!0,e.default=r;function r(i){for(var n="",l=i.indexOf("/*"),c=0;l>=0;){n=n+i.slice(c,l);var p=i.indexOf("*/",l+2);if(p<0)return n;c=p+2,l=i.indexOf("/*",c)}return n=n+i.slice(c),n}t.exports=e.default}(Ri,Ri.exports)),Ri.exports}var sf;function Ta(){if(sf)return bt;sf=1,bt.__esModule=!0,bt.unesc=bt.stripComments=bt.getProp=bt.ensureObject=void 0;var t=n(hg());bt.unesc=t.default;var e=n(Ib());bt.getProp=e.default;var r=n(Nb());bt.ensureObject=r.default;var i=n(Ob());bt.stripComments=i.default;function n(l){return l&&l.__esModule?l:{default:l}}return bt}var nf;function mr(){return nf||(nf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=Ta();function i(p,u){for(var d=0;d<u.length;d++){var f=u[d];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(p,f.key,f)}}function n(p,u,d){return u&&i(p.prototype,u),Object.defineProperty(p,"prototype",{writable:!1}),p}var l=function p(u,d){if(typeof u!="object"||u===null)return u;var f=new u.constructor;for(var m in u)if(u.hasOwnProperty(m)){var y=u[m],v=typeof y;m==="parent"&&v==="object"?d&&(f[m]=d):y instanceof Array?f[m]=y.map(function(T){return p(T,f)}):f[m]=p(y,f)}return f},c=function(){function p(d){d===void 0&&(d={}),Object.assign(this,d),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var u=p.prototype;return u.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},u.replaceWith=function(){if(this.parent){for(var f in arguments)this.parent.insertBefore(this,arguments[f]);this.remove()}return this},u.next=function(){return this.parent.at(this.parent.index(this)+1)},u.prev=function(){return this.parent.at(this.parent.index(this)-1)},u.clone=function(f){f===void 0&&(f={});var m=l(this);for(var y in f)m[y]=f[y];return m},u.appendToPropertyAndEscape=function(f,m,y){this.raws||(this.raws={});var v=this[f],T=this.raws[f];this[f]=v+m,T||y!==m?this.raws[f]=(T||v)+y:delete this.raws[f]},u.setPropertyAndEscape=function(f,m,y){this.raws||(this.raws={}),this[f]=m,this.raws[f]=y},u.setPropertyWithoutEscape=function(f,m){this[f]=m,this.raws&&delete this.raws[f]},u.isAtPosition=function(f,m){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>f||this.source.end.line<f||this.source.start.line===f&&this.source.start.column>m||this.source.end.line===f&&this.source.end.column<m)},u.stringifyProperty=function(f){return this.raws&&this.raws[f]||this[f]},u.valueToString=function(){return String(this.stringifyProperty("value"))},u.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},n(p,[{key:"rawSpaceBefore",get:function(){var f=this.raws&&this.raws.spaces&&this.raws.spaces.before;return f===void 0&&(f=this.spaces&&this.spaces.before),f||""},set:function(f){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=f}},{key:"rawSpaceAfter",get:function(){var f=this.raws&&this.raws.spaces&&this.raws.spaces.after;return f===void 0&&(f=this.spaces.after),f||""},set:function(f){(0,r.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=f}}]),p}();e.default=c,t.exports=e.default}(Oi,Oi.exports)),Oi.exports}var be={},af;function tt(){if(af)return be;af=1,be.__esModule=!0,be.UNIVERSAL=be.TAG=be.STRING=be.SELECTOR=be.ROOT=be.PSEUDO=be.NESTING=be.ID=be.COMMENT=be.COMBINATOR=be.CLASS=be.ATTRIBUTE=void 0;var t="tag";be.TAG=t;var e="string";be.STRING=e;var r="selector";be.SELECTOR=r;var i="root";be.ROOT=i;var n="pseudo";be.PSEUDO=n;var l="nesting";be.NESTING=l;var c="id";be.ID=c;var p="comment";be.COMMENT=p;var u="combinator";be.COMBINATOR=u;var d="class";be.CLASS=d;var f="attribute";be.ATTRIBUTE=f;var m="universal";return be.UNIVERSAL=m,be}var of;function Jc(){return of||(of=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=c(mr()),i=l(tt());function n(S){if(typeof WeakMap!="function")return null;var g=new WeakMap,_=new WeakMap;return(n=function(A){return A?_:g})(S)}function l(S,g){if(S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var _=n(g);if(_&&_.has(S))return _.get(S);var b={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in S)if(O!=="default"&&Object.prototype.hasOwnProperty.call(S,O)){var x=A?Object.getOwnPropertyDescriptor(S,O):null;x&&(x.get||x.set)?Object.defineProperty(b,O,x):b[O]=S[O]}return b.default=S,_&&_.set(S,b),b}function c(S){return S&&S.__esModule?S:{default:S}}function p(S,g){var _=typeof Symbol<"u"&&S[Symbol.iterator]||S["@@iterator"];if(_)return(_=_.call(S)).next.bind(_);if(Array.isArray(S)||(_=u(S))||g){_&&(S=_);var b=0;return function(){return b>=S.length?{done:!0}:{done:!1,value:S[b++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
99
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function u(S,g){if(S){if(typeof S=="string")return d(S,g);var _=Object.prototype.toString.call(S).slice(8,-1);if(_==="Object"&&S.constructor&&(_=S.constructor.name),_==="Map"||_==="Set")return Array.from(S);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return d(S,g)}}function d(S,g){(g==null||g>S.length)&&(g=S.length);for(var _=0,b=new Array(g);_<g;_++)b[_]=S[_];return b}function f(S,g){for(var _=0;_<g.length;_++){var b=g[_];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(S,b.key,b)}}function m(S,g,_){return g&&f(S.prototype,g),Object.defineProperty(S,"prototype",{writable:!1}),S}function y(S,g){S.prototype=Object.create(g.prototype),S.prototype.constructor=S,v(S,g)}function v(S,g){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(b,A){return b.__proto__=A,b},v(S,g)}var T=function(S){y(g,S);function g(b){var A;return A=S.call(this,b)||this,A.nodes||(A.nodes=[]),A}var _=g.prototype;return _.append=function(A){return A.parent=this,this.nodes.push(A),this},_.prepend=function(A){A.parent=this,this.nodes.unshift(A);for(var O in this.indexes)this.indexes[O]++;return this},_.at=function(A){return this.nodes[A]},_.index=function(A){return typeof A=="number"?A:this.nodes.indexOf(A)},_.removeChild=function(A){A=this.index(A),this.at(A).parent=void 0,this.nodes.splice(A,1);var O;for(var x in this.indexes)O=this.indexes[x],O>=A&&(this.indexes[x]=O-1);return this},_.removeAll=function(){for(var A=p(this.nodes),O;!(O=A()).done;){var x=O.value;x.parent=void 0}return this.nodes=[],this},_.empty=function(){return this.removeAll()},_.insertAfter=function(A,O){var x;O.parent=this;for(var L=this.index(A),R=[],C=2;C<arguments.length;C++)R.push(arguments[C]);(x=this.nodes).splice.apply(x,[L+1,0,O].concat(R)),O.parent=this;var k;for(var N in this.indexes)k=this.indexes[N],L<k&&(this.indexes[N]=k+arguments.length-1);return this},_.insertBefore=function(A,O){var x;O.parent=this;for(var L=this.index(A),R=[],C=2;C<arguments.length;C++)R.push(arguments[C]);(x=this.nodes).splice.apply(x,[L,0,O].concat(R)),O.parent=this;var k;for(var N in this.indexes)k=this.indexes[N],k>=L&&(this.indexes[N]=k+arguments.length-1);return this},_._findChildAtPosition=function(A,O){var x=void 0;return this.each(function(L){if(L.atPosition){var R=L.atPosition(A,O);if(R)return x=R,!1}else if(L.isAtPosition(A,O))return x=L,!1}),x},_.atPosition=function(A,O){if(this.isAtPosition(A,O))return this._findChildAtPosition(A,O)||this},_._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))},_.each=function(A){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var O=this.lastEach;if(this.indexes[O]=0,!!this.length){for(var x,L;this.indexes[O]<this.length&&(x=this.indexes[O],L=A(this.at(x),x),L!==!1);)this.indexes[O]+=1;if(delete this.indexes[O],L===!1)return!1}},_.walk=function(A){return this.each(function(O,x){var L=A(O,x);if(L!==!1&&O.length&&(L=O.walk(A)),L===!1)return!1})},_.walkAttributes=function(A){var O=this;return this.walk(function(x){if(x.type===i.ATTRIBUTE)return A.call(O,x)})},_.walkClasses=function(A){var O=this;return this.walk(function(x){if(x.type===i.CLASS)return A.call(O,x)})},_.walkCombinators=function(A){var O=this;return this.walk(function(x){if(x.type===i.COMBINATOR)return A.call(O,x)})},_.walkComments=function(A){var O=this;return this.walk(function(x){if(x.type===i.COMMENT)return A.call(O,x)})},_.walkIds=function(A){var O=this;return this.walk(function(x){if(x.type===i.ID)return A.call(O,x)})},_.walkNesting=function(A){var O=this;return this.walk(function(x){if(x.type===i.NESTING)return A.call(O,x)})},_.walkPseudos=function(A){var O=this;return this.walk(function(x){if(x.type===i.PSEUDO)return A.call(O,x)})},_.walkTags=function(A){var O=this;return this.walk(function(x){if(x.type===i.TAG)return A.call(O,x)})},_.walkUniversals=function(A){var O=this;return this.walk(function(x){if(x.type===i.UNIVERSAL)return A.call(O,x)})},_.split=function(A){var O=this,x=[];return this.reduce(function(L,R,C){var k=A.call(O,R);return x.push(R),k?(L.push(x),x=[]):C===O.length-1&&L.push(x),L},[])},_.map=function(A){return this.nodes.map(A)},_.reduce=function(A,O){return this.nodes.reduce(A,O)},_.every=function(A){return this.nodes.every(A)},_.some=function(A){return this.nodes.some(A)},_.filter=function(A){return this.nodes.filter(A)},_.sort=function(A){return this.nodes.sort(A)},_.toString=function(){return this.map(String).join("")},m(g,[{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}}]),g}(r.default);e.default=T,t.exports=e.default}(Ni,Ni.exports)),Ni.exports}var lf;function pg(){return lf||(lf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Jc()),i=tt();function n(f){return f&&f.__esModule?f:{default:f}}function l(f,m){for(var y=0;y<m.length;y++){var v=m[y];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(f,v.key,v)}}function c(f,m,y){return m&&l(f.prototype,m),Object.defineProperty(f,"prototype",{writable:!1}),f}function p(f,m){f.prototype=Object.create(m.prototype),f.prototype.constructor=f,u(f,m)}function u(f,m){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(v,T){return v.__proto__=T,v},u(f,m)}var d=function(f){p(m,f);function m(v){var T;return T=f.call(this,v)||this,T.type=i.ROOT,T}var y=m.prototype;return y.toString=function(){var T=this.reduce(function(S,g){return S.push(String(g)),S},[]).join(",");return this.trailingComma?T+",":T},y.error=function(T,S){return this._error?this._error(T,S):new Error(T)},c(m,[{key:"errorGenerator",set:function(T){this._error=T}}]),m}(r.default);e.default=d,t.exports=e.default}(Ii,Ii.exports)),Ii.exports}var Di={exports:{}},cf;function fg(){return cf||(cf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Jc()),i=tt();function n(u){return u&&u.__esModule?u:{default:u}}function l(u,d){u.prototype=Object.create(d.prototype),u.prototype.constructor=u,c(u,d)}function c(u,d){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,d)}var p=function(u){l(d,u);function d(f){var m;return m=u.call(this,f)||this,m.type=i.SELECTOR,m}return d}(r.default);e.default=p,t.exports=e.default}(Di,Di.exports)),Di.exports}var Fi={exports:{}};/*! https://mths.be/cssesc v3.0.0 by @mathias */var Do,uf;function Kc(){if(uf)return Do;uf=1;var t={},e=t.hasOwnProperty,r=function(u,d){if(!u)return d;var f={};for(var m in d)f[m]=e.call(u,m)?u[m]:d[m];return f},i=/[ -,\.\/:-@\[-\^`\{-~]/,n=/[ -,\.\/:-@\[\]\^`\{-~]/,l=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,c=function p(u,d){d=r(d,p.options),d.quotes!="single"&&d.quotes!="double"&&(d.quotes="single");for(var f=d.quotes=="double"?'"':"'",m=d.isIdentifier,y=u.charAt(0),v="",T=0,S=u.length;T<S;){var g=u.charAt(T++),_=g.charCodeAt(),b=void 0;if(_<32||_>126){if(_>=55296&&_<=56319&&T<S){var A=u.charCodeAt(T++);(A&64512)==56320?_=((_&1023)<<10)+(A&1023)+65536:T--}b="\\"+_.toString(16).toUpperCase()+" "}else d.escapeEverything?i.test(g)?b="\\"+g:b="\\"+_.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(g)?b="\\"+_.toString(16).toUpperCase()+" ":g=="\\"||!m&&(g=='"'&&f==g||g=="'"&&f==g)||m&&n.test(g)?b="\\"+g:b=g;v+=b}return m&&(/^-[-\d]/.test(v)?v="\\-"+v.slice(1):/\d/.test(y)&&(v="\\3"+y+" "+v.slice(1))),v=v.replace(l,function(O,x,L){return x&&x.length%2?O:(x||"")+L}),!m&&d.wrap?f+v+f:v};return c.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},c.version="3.0.0",Do=c,Do}var hf;function dg(){return hf||(hf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=c(Kc()),i=Ta(),n=c(mr()),l=tt();function c(y){return y&&y.__esModule?y:{default:y}}function p(y,v){for(var T=0;T<v.length;T++){var S=v[T];S.enumerable=S.enumerable||!1,S.configurable=!0,"value"in S&&(S.writable=!0),Object.defineProperty(y,S.key,S)}}function u(y,v,T){return v&&p(y.prototype,v),Object.defineProperty(y,"prototype",{writable:!1}),y}function d(y,v){y.prototype=Object.create(v.prototype),y.prototype.constructor=y,f(y,v)}function f(y,v){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(S,g){return S.__proto__=g,S},f(y,v)}var m=function(y){d(v,y);function v(S){var g;return g=y.call(this,S)||this,g.type=l.CLASS,g._constructed=!0,g}var T=v.prototype;return T.valueToString=function(){return"."+y.prototype.valueToString.call(this)},u(v,[{key:"value",get:function(){return this._value},set:function(g){if(this._constructed){var _=(0,r.default)(g,{isIdentifier:!0});_!==g?((0,i.ensureObject)(this,"raws"),this.raws.value=_):this.raws&&delete this.raws.value}this._value=g}}]),v}(n.default);e.default=m,t.exports=e.default}(Fi,Fi.exports)),Fi.exports}var Bi={exports:{}},pf;function mg(){return pf||(pf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(mr()),i=tt();function n(u){return u&&u.__esModule?u:{default:u}}function l(u,d){u.prototype=Object.create(d.prototype),u.prototype.constructor=u,c(u,d)}function c(u,d){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,d)}var p=function(u){l(d,u);function d(f){var m;return m=u.call(this,f)||this,m.type=i.COMMENT,m}return d}(r.default);e.default=p,t.exports=e.default}(Bi,Bi.exports)),Bi.exports}var $i={exports:{}},ff;function yg(){return ff||(ff=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(mr()),i=tt();function n(u){return u&&u.__esModule?u:{default:u}}function l(u,d){u.prototype=Object.create(d.prototype),u.prototype.constructor=u,c(u,d)}function c(u,d){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,d)}var p=function(u){l(d,u);function d(m){var y;return y=u.call(this,m)||this,y.type=i.ID,y}var f=d.prototype;return f.valueToString=function(){return"#"+u.prototype.valueToString.call(this)},d}(r.default);e.default=p,t.exports=e.default}($i,$i.exports)),$i.exports}var Ui={exports:{}},qi={exports:{}},df;function Yc(){return df||(df=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=l(Kc()),i=Ta(),n=l(mr());function l(m){return m&&m.__esModule?m:{default:m}}function c(m,y){for(var v=0;v<y.length;v++){var T=y[v];T.enumerable=T.enumerable||!1,T.configurable=!0,"value"in T&&(T.writable=!0),Object.defineProperty(m,T.key,T)}}function p(m,y,v){return y&&c(m.prototype,y),Object.defineProperty(m,"prototype",{writable:!1}),m}function u(m,y){m.prototype=Object.create(y.prototype),m.prototype.constructor=m,d(m,y)}function d(m,y){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(T,S){return T.__proto__=S,T},d(m,y)}var f=function(m){u(y,m);function y(){return m.apply(this,arguments)||this}var v=y.prototype;return v.qualifiedName=function(S){return this.namespace?this.namespaceString+"|"+S:S},v.valueToString=function(){return this.qualifiedName(m.prototype.valueToString.call(this))},p(y,[{key:"namespace",get:function(){return this._namespace},set:function(S){if(S===!0||S==="*"||S==="&"){this._namespace=S,this.raws&&delete this.raws.namespace;return}var g=(0,r.default)(S,{isIdentifier:!0});this._namespace=S,g!==S?((0,i.ensureObject)(this,"raws"),this.raws.namespace=g):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(S){this.namespace=S}},{key:"namespaceString",get:function(){if(this.namespace){var S=this.stringifyProperty("namespace");return S===!0?"":S}else return""}}]),y}(n.default);e.default=f,t.exports=e.default}(qi,qi.exports)),qi.exports}var mf;function gg(){return mf||(mf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Yc()),i=tt();function n(u){return u&&u.__esModule?u:{default:u}}function l(u,d){u.prototype=Object.create(d.prototype),u.prototype.constructor=u,c(u,d)}function c(u,d){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,d)}var p=function(u){l(d,u);function d(f){var m;return m=u.call(this,f)||this,m.type=i.TAG,m}return d}(r.default);e.default=p,t.exports=e.default}(Ui,Ui.exports)),Ui.exports}var ji={exports:{}},yf;function vg(){return yf||(yf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(mr()),i=tt();function n(u){return u&&u.__esModule?u:{default:u}}function l(u,d){u.prototype=Object.create(d.prototype),u.prototype.constructor=u,c(u,d)}function c(u,d){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,d)}var p=function(u){l(d,u);function d(f){var m;return m=u.call(this,f)||this,m.type=i.STRING,m}return d}(r.default);e.default=p,t.exports=e.default}(ji,ji.exports)),ji.exports}var Vi={exports:{}},gf;function Sg(){return gf||(gf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Jc()),i=tt();function n(u){return u&&u.__esModule?u:{default:u}}function l(u,d){u.prototype=Object.create(d.prototype),u.prototype.constructor=u,c(u,d)}function c(u,d){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,d)}var p=function(u){l(d,u);function d(m){var y;return y=u.call(this,m)||this,y.type=i.PSEUDO,y}var f=d.prototype;return f.toString=function(){var y=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),y,this.rawSpaceAfter].join("")},d}(r.default);e.default=p,t.exports=e.default}(Vi,Vi.exports)),Vi.exports}var Fo={},Bo,vf;function kb(){return vf||(vf=1,Bo=hb.deprecate),Bo}var Sf;function Eg(){return Sf||(Sf=1,function(t){t.__esModule=!0,t.default=void 0,t.unescapeValue=g;var e=c(Kc()),r=c(hg()),i=c(Yc()),n=tt(),l;function c(x){return x&&x.__esModule?x:{default:x}}function p(x,L){for(var R=0;R<L.length;R++){var C=L[R];C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(x,C.key,C)}}function u(x,L,R){return L&&p(x.prototype,L),Object.defineProperty(x,"prototype",{writable:!1}),x}function d(x,L){x.prototype=Object.create(L.prototype),x.prototype.constructor=x,f(x,L)}function f(x,L){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(C,k){return C.__proto__=k,C},f(x,L)}var m=kb(),y=/^('|")([^]*)\1$/,v=m(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),T=m(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),S=m(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function g(x){var L=!1,R=null,C=x,k=C.match(y);return k&&(R=k[1],C=k[2]),C=(0,r.default)(C),C!==x&&(L=!0),{deprecatedUsage:L,unescaped:C,quoteMark:R}}function _(x){if(x.quoteMark!==void 0||x.value===void 0)return x;S();var L=g(x.value),R=L.quoteMark,C=L.unescaped;return x.raws||(x.raws={}),x.raws.value===void 0&&(x.raws.value=x.value),x.value=C,x.quoteMark=R,x}var b=function(x){d(L,x);function L(C){var k;return C===void 0&&(C={}),k=x.call(this,_(C))||this,k.type=n.ATTRIBUTE,k.raws=k.raws||{},Object.defineProperty(k.raws,"unquoted",{get:m(function(){return k.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:m(function(){return k.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),k._constructed=!0,k}var R=L.prototype;return R.getQuotedValue=function(k){k===void 0&&(k={});var N=this._determineQuoteMark(k),F=A[N],W=(0,e.default)(this._value,F);return W},R._determineQuoteMark=function(k){return k.smart?this.smartQuoteMark(k):this.preferredQuoteMark(k)},R.setValue=function(k,N){N===void 0&&(N={}),this._value=k,this._quoteMark=this._determineQuoteMark(N),this._syncRawValue()},R.smartQuoteMark=function(k){var N=this.value,F=N.replace(/[^']/g,"").length,W=N.replace(/[^"]/g,"").length;if(F+W===0){var Y=(0,e.default)(N,{isIdentifier:!0});if(Y===N)return L.NO_QUOTE;var re=this.preferredQuoteMark(k);if(re===L.NO_QUOTE){var z=this.quoteMark||k.quoteMark||L.DOUBLE_QUOTE,ie=A[z],J=(0,e.default)(N,ie);if(J.length<Y.length)return z}return re}else return W===F?this.preferredQuoteMark(k):W<F?L.DOUBLE_QUOTE:L.SINGLE_QUOTE},R.preferredQuoteMark=function(k){var N=k.preferCurrentQuoteMark?this.quoteMark:k.quoteMark;return N===void 0&&(N=k.preferCurrentQuoteMark?k.quoteMark:this.quoteMark),N===void 0&&(N=L.DOUBLE_QUOTE),N},R._syncRawValue=function(){var k=(0,e.default)(this._value,A[this.quoteMark]);k===this._value?this.raws&&delete this.raws.value:this.raws.value=k},R._handleEscapes=function(k,N){if(this._constructed){var F=(0,e.default)(N,{isIdentifier:!0});F!==N?this.raws[k]=F:delete this.raws[k]}},R._spacesFor=function(k){var N={before:"",after:""},F=this.spaces[k]||{},W=this.raws.spaces&&this.raws.spaces[k]||{};return Object.assign(N,F,W)},R._stringFor=function(k,N,F){N===void 0&&(N=k),F===void 0&&(F=O);var W=this._spacesFor(N);return F(this.stringifyProperty(k),W)},R.offsetOf=function(k){var N=1,F=this._spacesFor("attribute");if(N+=F.before.length,k==="namespace"||k==="ns")return this.namespace?N:-1;if(k==="attributeNS"||(N+=this.namespaceString.length,this.namespace&&(N+=1),k==="attribute"))return N;N+=this.stringifyProperty("attribute").length,N+=F.after.length;var W=this._spacesFor("operator");N+=W.before.length;var Y=this.stringifyProperty("operator");if(k==="operator")return Y?N:-1;N+=Y.length,N+=W.after.length;var re=this._spacesFor("value");N+=re.before.length;var z=this.stringifyProperty("value");if(k==="value")return z?N:-1;N+=z.length,N+=re.after.length;var ie=this._spacesFor("insensitive");return N+=ie.before.length,k==="insensitive"&&this.insensitive?N:-1},R.toString=function(){var k=this,N=[this.rawSpaceBefore,"["];return N.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(N.push(this._stringFor("operator")),N.push(this._stringFor("value")),N.push(this._stringFor("insensitiveFlag","insensitive",function(F,W){return F.length>0&&!k.quoted&&W.before.length===0&&!(k.spaces.value&&k.spaces.value.after)&&(W.before=" "),O(F,W)}))),N.push("]"),N.push(this.rawSpaceAfter),N.join("")},u(L,[{key:"quoted",get:function(){var k=this.quoteMark;return k==="'"||k==='"'},set:function(k){T()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(k){if(!this._constructed){this._quoteMark=k;return}this._quoteMark!==k&&(this._quoteMark=k,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(k){if(this._constructed){var N=g(k),F=N.deprecatedUsage,W=N.unescaped,Y=N.quoteMark;if(F&&v(),W===this._value&&Y===this._quoteMark)return;this._value=W,this._quoteMark=Y,this._syncRawValue()}else this._value=k}},{key:"insensitive",get:function(){return this._insensitive},set:function(k){k||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=k}},{key:"attribute",get:function(){return this._attribute},set:function(k){this._handleEscapes("attribute",k),this._attribute=k}}]),L}(i.default);t.default=b,b.NO_QUOTE=null,b.SINGLE_QUOTE="'",b.DOUBLE_QUOTE='"';var A=(l={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},l[null]={isIdentifier:!0},l);function O(x,L){return""+L.before+x+L.after}}(Fo)),Fo}var zi={exports:{}},Ef;function Tg(){return Ef||(Ef=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(Yc()),i=tt();function n(u){return u&&u.__esModule?u:{default:u}}function l(u,d){u.prototype=Object.create(d.prototype),u.prototype.constructor=u,c(u,d)}function c(u,d){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,d)}var p=function(u){l(d,u);function d(f){var m;return m=u.call(this,f)||this,m.type=i.UNIVERSAL,m.value="*",m}return d}(r.default);e.default=p,t.exports=e.default}(zi,zi.exports)),zi.exports}var Wi={exports:{}},Tf;function wg(){return Tf||(Tf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(mr()),i=tt();function n(u){return u&&u.__esModule?u:{default:u}}function l(u,d){u.prototype=Object.create(d.prototype),u.prototype.constructor=u,c(u,d)}function c(u,d){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,d)}var p=function(u){l(d,u);function d(f){var m;return m=u.call(this,f)||this,m.type=i.COMBINATOR,m}return d}(r.default);e.default=p,t.exports=e.default}(Wi,Wi.exports)),Wi.exports}var Hi={exports:{}},wf;function Pg(){return wf||(wf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=n(mr()),i=tt();function n(u){return u&&u.__esModule?u:{default:u}}function l(u,d){u.prototype=Object.create(d.prototype),u.prototype.constructor=u,c(u,d)}function c(u,d){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(m,y){return m.__proto__=y,m},c(u,d)}var p=function(u){l(d,u);function d(f){var m;return m=u.call(this,f)||this,m.type=i.NESTING,m.value="&",m}return d}(r.default);e.default=p,t.exports=e.default}(Hi,Hi.exports)),Hi.exports}var Gi={exports:{}},Pf;function Lb(){return Pf||(Pf=1,function(t,e){e.__esModule=!0,e.default=r;function r(i){return i.sort(function(n,l){return n-l})}t.exports=e.default}(Gi,Gi.exports)),Gi.exports}var $o={},oe={},bf;function bg(){if(bf)return oe;bf=1,oe.__esModule=!0,oe.word=oe.tilde=oe.tab=oe.str=oe.space=oe.slash=oe.singleQuote=oe.semicolon=oe.plus=oe.pipe=oe.openSquare=oe.openParenthesis=oe.newline=oe.greaterThan=oe.feed=oe.equals=oe.doubleQuote=oe.dollar=oe.cr=oe.comment=oe.comma=oe.combinator=oe.colon=oe.closeSquare=oe.closeParenthesis=oe.caret=oe.bang=oe.backslash=oe.at=oe.asterisk=oe.ampersand=void 0;var t=38;oe.ampersand=t;var e=42;oe.asterisk=e;var r=64;oe.at=r;var i=44;oe.comma=i;var n=58;oe.colon=n;var l=59;oe.semicolon=l;var c=40;oe.openParenthesis=c;var p=41;oe.closeParenthesis=p;var u=91;oe.openSquare=u;var d=93;oe.closeSquare=d;var f=36;oe.dollar=f;var m=126;oe.tilde=m;var y=94;oe.caret=y;var v=43;oe.plus=v;var T=61;oe.equals=T;var S=124;oe.pipe=S;var g=62;oe.greaterThan=g;var _=32;oe.space=_;var b=39;oe.singleQuote=b;var A=34;oe.doubleQuote=A;var O=47;oe.slash=O;var x=33;oe.bang=x;var L=92;oe.backslash=L;var R=13;oe.cr=R;var C=12;oe.feed=C;var k=10;oe.newline=k;var N=9;oe.tab=N;var F=b;oe.str=F;var W=-1;oe.comment=W;var Y=-2;oe.word=Y;var re=-3;return oe.combinator=re,oe}var _f;function Mb(){return _f||(_f=1,function(t){t.__esModule=!0,t.FIELDS=void 0,t.default=T;var e=l(bg()),r,i;function n(S){if(typeof WeakMap!="function")return null;var g=new WeakMap,_=new WeakMap;return(n=function(A){return A?_:g})(S)}function l(S,g){if(S&&S.__esModule)return S;if(S===null||typeof S!="object"&&typeof S!="function")return{default:S};var _=n(g);if(_&&_.has(S))return _.get(S);var b={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in S)if(O!=="default"&&Object.prototype.hasOwnProperty.call(S,O)){var x=A?Object.getOwnPropertyDescriptor(S,O):null;x&&(x.get||x.set)?Object.defineProperty(b,O,x):b[O]=S[O]}return b.default=S,_&&_.set(S,b),b}for(var c=(r={},r[e.tab]=!0,r[e.newline]=!0,r[e.cr]=!0,r[e.feed]=!0,r),p=(i={},i[e.space]=!0,i[e.tab]=!0,i[e.newline]=!0,i[e.cr]=!0,i[e.feed]=!0,i[e.ampersand]=!0,i[e.asterisk]=!0,i[e.bang]=!0,i[e.comma]=!0,i[e.colon]=!0,i[e.semicolon]=!0,i[e.openParenthesis]=!0,i[e.closeParenthesis]=!0,i[e.openSquare]=!0,i[e.closeSquare]=!0,i[e.singleQuote]=!0,i[e.doubleQuote]=!0,i[e.plus]=!0,i[e.pipe]=!0,i[e.tilde]=!0,i[e.greaterThan]=!0,i[e.equals]=!0,i[e.dollar]=!0,i[e.caret]=!0,i[e.slash]=!0,i),u={},d="0123456789abcdefABCDEF",f=0;f<d.length;f++)u[d.charCodeAt(f)]=!0;function m(S,g){var _=g,b;do{if(b=S.charCodeAt(_),p[b])return _-1;b===e.backslash?_=y(S,_)+1:_++}while(_<S.length);return _-1}function y(S,g){var _=g,b=S.charCodeAt(_+1);if(!c[b])if(u[b]){var A=0;do _++,A++,b=S.charCodeAt(_+1);while(u[b]&&A<6);A<6&&b===e.space&&_++}else _++;return _}var v={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};t.FIELDS=v;function T(S){var g=[],_=S.css.valueOf(),b=_,A=b.length,O=-1,x=1,L=0,R=0,C,k,N,F,W,Y,re,z,ie,J,fe,Ne,de;function te(q,j){if(S.safe)_+=j,ie=_.length-1;else throw S.error("Unclosed "+q,x,L-O,L)}for(;L<A;){switch(C=_.charCodeAt(L),C===e.newline&&(O=L,x+=1),C){case e.space:case e.tab:case e.newline:case e.cr:case e.feed:ie=L;do ie+=1,C=_.charCodeAt(ie),C===e.newline&&(O=ie,x+=1);while(C===e.space||C===e.newline||C===e.tab||C===e.cr||C===e.feed);de=e.space,F=x,N=ie-O-1,R=ie;break;case e.plus:case e.greaterThan:case e.tilde:case e.pipe:ie=L;do ie+=1,C=_.charCodeAt(ie);while(C===e.plus||C===e.greaterThan||C===e.tilde||C===e.pipe);de=e.combinator,F=x,N=L-O,R=ie;break;case e.asterisk:case e.ampersand:case e.bang:case e.comma:case e.equals:case e.dollar:case e.caret:case e.openSquare:case e.closeSquare:case e.colon:case e.semicolon:case e.openParenthesis:case e.closeParenthesis:ie=L,de=C,F=x,N=L-O,R=ie+1;break;case e.singleQuote:case e.doubleQuote:Ne=C===e.singleQuote?"'":'"',ie=L;do for(W=!1,ie=_.indexOf(Ne,ie+1),ie===-1&&te("quote",Ne),Y=ie;_.charCodeAt(Y-1)===e.backslash;)Y-=1,W=!W;while(W);de=e.str,F=x,N=L-O,R=ie+1;break;default:C===e.slash&&_.charCodeAt(L+1)===e.asterisk?(ie=_.indexOf("*/",L+2)+1,ie===0&&te("comment","*/"),k=_.slice(L,ie+1),z=k.split(`
|
|
100
|
-
`),re=z.length-1,re>0?(J=x+re,fe=ie-z[re].length):(J=x,fe=O),de=e.comment,x=J,F=J,N=ie-fe):C===e.slash?(ie=L,de=C,F=x,N=L-O,R=ie+1):(ie=m(_,L),de=e.word,F=x,N=ie-O),R=ie+1;break}g.push([de,x,L-O,F,N,L,R]),fe&&(O=fe,fe=null),L=R}return g}}($o)),$o}var xf;function Rb(){return xf||(xf=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=R(pg()),i=R(fg()),n=R(dg()),l=R(mg()),c=R(yg()),p=R(gg()),u=R(vg()),d=R(Sg()),f=L(Eg()),m=R(Tg()),y=R(wg()),v=R(Pg()),T=R(Lb()),S=L(Mb()),g=L(bg()),_=L(tt()),b=Ta(),A,O;function x(te){if(typeof WeakMap!="function")return null;var q=new WeakMap,j=new WeakMap;return(x=function(G){return G?j:q})(te)}function L(te,q){if(te&&te.__esModule)return te;if(te===null||typeof te!="object"&&typeof te!="function")return{default:te};var j=x(q);if(j&&j.has(te))return j.get(te);var $={},G=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var H in te)if(H!=="default"&&Object.prototype.hasOwnProperty.call(te,H)){var U=G?Object.getOwnPropertyDescriptor(te,H):null;U&&(U.get||U.set)?Object.defineProperty($,H,U):$[H]=te[H]}return $.default=te,j&&j.set(te,$),$}function R(te){return te&&te.__esModule?te:{default:te}}function C(te,q){for(var j=0;j<q.length;j++){var $=q[j];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(te,$.key,$)}}function k(te,q,j){return q&&C(te.prototype,q),Object.defineProperty(te,"prototype",{writable:!1}),te}var N=(A={},A[g.space]=!0,A[g.cr]=!0,A[g.feed]=!0,A[g.newline]=!0,A[g.tab]=!0,A),F=Object.assign({},N,(O={},O[g.comment]=!0,O));function W(te){return{line:te[S.FIELDS.START_LINE],column:te[S.FIELDS.START_COL]}}function Y(te){return{line:te[S.FIELDS.END_LINE],column:te[S.FIELDS.END_COL]}}function re(te,q,j,$){return{start:{line:te,column:q},end:{line:j,column:$}}}function z(te){return re(te[S.FIELDS.START_LINE],te[S.FIELDS.START_COL],te[S.FIELDS.END_LINE],te[S.FIELDS.END_COL])}function ie(te,q){if(te)return re(te[S.FIELDS.START_LINE],te[S.FIELDS.START_COL],q[S.FIELDS.END_LINE],q[S.FIELDS.END_COL])}function J(te,q){var j=te[q];if(typeof j=="string")return j.indexOf("\\")!==-1&&((0,b.ensureObject)(te,"raws"),te[q]=(0,b.unesc)(j),te.raws[q]===void 0&&(te.raws[q]=j)),te}function fe(te,q){for(var j=-1,$=[];(j=te.indexOf(q,j+1))!==-1;)$.push(j);return $}function Ne(){var te=Array.prototype.concat.apply([],arguments);return te.filter(function(q,j){return j===te.indexOf(q)})}var de=function(){function te(j,$){$===void 0&&($={}),this.rule=j,this.options=Object.assign({lossy:!1,safe:!1},$),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,S.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var G=ie(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new r.default({source:G}),this.root.errorGenerator=this._errorGenerator();var H=new i.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(H),this.current=H,this.loop()}var q=te.prototype;return q._errorGenerator=function(){var $=this;return function(G,H){return typeof $.rule=="string"?new Error(G):$.rule.error(G,H)}},q.attribute=function(){var $=[],G=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[S.FIELDS.TYPE]!==g.closeSquare;)$.push(this.currToken),this.position++;if(this.currToken[S.FIELDS.TYPE]!==g.closeSquare)return this.expected("closing square bracket",this.currToken[S.FIELDS.START_POS]);var H=$.length,U={source:re(G[1],G[2],this.currToken[3],this.currToken[4]),sourceIndex:G[S.FIELDS.START_POS]};if(H===1&&!~[g.word].indexOf($[0][S.FIELDS.TYPE]))return this.expected("attribute",$[0][S.FIELDS.START_POS]);for(var se=0,ee="",pe="",ne=null,ye=!1;se<H;){var xe=$[se],he=this.content(xe),Oe=$[se+1];switch(xe[S.FIELDS.TYPE]){case g.space:if(ye=!0,this.options.lossy)break;if(ne){(0,b.ensureObject)(U,"spaces",ne);var St=U.spaces[ne].after||"";U.spaces[ne].after=St+he;var Et=(0,b.getProp)(U,"raws","spaces",ne,"after")||null;Et&&(U.raws.spaces[ne].after=Et+he)}else ee=ee+he,pe=pe+he;break;case g.asterisk:if(Oe[S.FIELDS.TYPE]===g.equals)U.operator=he,ne="operator";else if((!U.namespace||ne==="namespace"&&!ye)&&Oe){ee&&((0,b.ensureObject)(U,"spaces","attribute"),U.spaces.attribute.before=ee,ee=""),pe&&((0,b.ensureObject)(U,"raws","spaces","attribute"),U.raws.spaces.attribute.before=ee,pe=""),U.namespace=(U.namespace||"")+he;var We=(0,b.getProp)(U,"raws","namespace")||null;We&&(U.raws.namespace+=he),ne="namespace"}ye=!1;break;case g.dollar:if(ne==="value"){var Ue=(0,b.getProp)(U,"raws","value");U.value+="$",Ue&&(U.raws.value=Ue+"$");break}case g.caret:Oe[S.FIELDS.TYPE]===g.equals&&(U.operator=he,ne="operator"),ye=!1;break;case g.combinator:if(he==="~"&&Oe[S.FIELDS.TYPE]===g.equals&&(U.operator=he,ne="operator"),he!=="|"){ye=!1;break}Oe[S.FIELDS.TYPE]===g.equals?(U.operator=he,ne="operator"):!U.namespace&&!U.attribute&&(U.namespace=!0),ye=!1;break;case g.word:if(Oe&&this.content(Oe)==="|"&&$[se+2]&&$[se+2][S.FIELDS.TYPE]!==g.equals&&!U.operator&&!U.namespace)U.namespace=he,ne="namespace";else if(!U.attribute||ne==="attribute"&&!ye){ee&&((0,b.ensureObject)(U,"spaces","attribute"),U.spaces.attribute.before=ee,ee=""),pe&&((0,b.ensureObject)(U,"raws","spaces","attribute"),U.raws.spaces.attribute.before=pe,pe=""),U.attribute=(U.attribute||"")+he;var pt=(0,b.getProp)(U,"raws","attribute")||null;pt&&(U.raws.attribute+=he),ne="attribute"}else if(!U.value&&U.value!==""||ne==="value"&&!(ye||U.quoteMark)){var ft=(0,b.unesc)(he),Ct=(0,b.getProp)(U,"raws","value")||"",$r=U.value||"";U.value=$r+ft,U.quoteMark=null,(ft!==he||Ct)&&((0,b.ensureObject)(U,"raws"),U.raws.value=(Ct||$r)+he),ne="value"}else{var dt=he==="i"||he==="I";(U.value||U.value==="")&&(U.quoteMark||ye)?(U.insensitive=dt,(!dt||he==="I")&&((0,b.ensureObject)(U,"raws"),U.raws.insensitiveFlag=he),ne="insensitive",ee&&((0,b.ensureObject)(U,"spaces","insensitive"),U.spaces.insensitive.before=ee,ee=""),pe&&((0,b.ensureObject)(U,"raws","spaces","insensitive"),U.raws.spaces.insensitive.before=pe,pe="")):(U.value||U.value==="")&&(ne="value",U.value+=he,U.raws.value&&(U.raws.value+=he))}ye=!1;break;case g.str:if(!U.attribute||!U.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:xe[S.FIELDS.START_POS]});var It=(0,f.unescapeValue)(he),xa=It.unescaped,Ur=It.quoteMark;U.value=xa,U.quoteMark=Ur,ne="value",(0,b.ensureObject)(U,"raws"),U.raws.value=he,ye=!1;break;case g.equals:if(!U.attribute)return this.expected("attribute",xe[S.FIELDS.START_POS],he);if(U.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:xe[S.FIELDS.START_POS]});U.operator=U.operator?U.operator+he:he,ne="operator",ye=!1;break;case g.comment:if(ne)if(ye||Oe&&Oe[S.FIELDS.TYPE]===g.space||ne==="insensitive"){var Pt=(0,b.getProp)(U,"spaces",ne,"after")||"",gs=(0,b.getProp)(U,"raws","spaces",ne,"after")||Pt;(0,b.ensureObject)(U,"raws","spaces",ne),U.raws.spaces[ne].after=gs+he}else{var li=U[ne]||"",Aa=(0,b.getProp)(U,"raws",ne)||li;(0,b.ensureObject)(U,"raws"),U.raws[ne]=Aa+he}else pe=pe+he;break;default:return this.error('Unexpected "'+he+'" found.',{index:xe[S.FIELDS.START_POS]})}se++}J(U,"attribute"),J(U,"namespace"),this.newNode(new f.default(U)),this.position++},q.parseWhitespaceEquivalentTokens=function($){$<0&&($=this.tokens.length);var G=this.position,H=[],U="",se=void 0;do if(N[this.currToken[S.FIELDS.TYPE]])this.options.lossy||(U+=this.content());else if(this.currToken[S.FIELDS.TYPE]===g.comment){var ee={};U&&(ee.before=U,U=""),se=new l.default({value:this.content(),source:z(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS],spaces:ee}),H.push(se)}while(++this.position<$);if(U){if(se)se.spaces.after=U;else if(!this.options.lossy){var pe=this.tokens[G],ne=this.tokens[this.position-1];H.push(new u.default({value:"",source:re(pe[S.FIELDS.START_LINE],pe[S.FIELDS.START_COL],ne[S.FIELDS.END_LINE],ne[S.FIELDS.END_COL]),sourceIndex:pe[S.FIELDS.START_POS],spaces:{before:U,after:""}}))}}return H},q.convertWhitespaceNodesToSpace=function($,G){var H=this;G===void 0&&(G=!1);var U="",se="";$.forEach(function(pe){var ne=H.lossySpace(pe.spaces.before,G),ye=H.lossySpace(pe.rawSpaceBefore,G);U+=ne+H.lossySpace(pe.spaces.after,G&&ne.length===0),se+=ne+pe.value+H.lossySpace(pe.rawSpaceAfter,G&&ye.length===0)}),se===U&&(se=void 0);var ee={space:U,rawSpace:se};return ee},q.isNamedCombinator=function($){return $===void 0&&($=this.position),this.tokens[$+0]&&this.tokens[$+0][S.FIELDS.TYPE]===g.slash&&this.tokens[$+1]&&this.tokens[$+1][S.FIELDS.TYPE]===g.word&&this.tokens[$+2]&&this.tokens[$+2][S.FIELDS.TYPE]===g.slash},q.namedCombinator=function(){if(this.isNamedCombinator()){var $=this.content(this.tokens[this.position+1]),G=(0,b.unesc)($).toLowerCase(),H={};G!==$&&(H.value="/"+$+"/");var U=new y.default({value:"/"+G+"/",source:re(this.currToken[S.FIELDS.START_LINE],this.currToken[S.FIELDS.START_COL],this.tokens[this.position+2][S.FIELDS.END_LINE],this.tokens[this.position+2][S.FIELDS.END_COL]),sourceIndex:this.currToken[S.FIELDS.START_POS],raws:H});return this.position=this.position+3,U}else this.unexpected()},q.combinator=function(){var $=this;if(this.content()==="|")return this.namespace();var G=this.locateNextMeaningfulToken(this.position);if(G<0||this.tokens[G][S.FIELDS.TYPE]===g.comma||this.tokens[G][S.FIELDS.TYPE]===g.closeParenthesis){var H=this.parseWhitespaceEquivalentTokens(G);if(H.length>0){var U=this.current.last;if(U){var se=this.convertWhitespaceNodesToSpace(H),ee=se.space,pe=se.rawSpace;pe!==void 0&&(U.rawSpaceAfter+=pe),U.spaces.after+=ee}else H.forEach(function(Ct){return $.newNode(Ct)})}return}var ne=this.currToken,ye=void 0;G>this.position&&(ye=this.parseWhitespaceEquivalentTokens(G));var xe;if(this.isNamedCombinator()?xe=this.namedCombinator():this.currToken[S.FIELDS.TYPE]===g.combinator?(xe=new y.default({value:this.content(),source:z(this.currToken),sourceIndex:this.currToken[S.FIELDS.START_POS]}),this.position++):N[this.currToken[S.FIELDS.TYPE]]||ye||this.unexpected(),xe){if(ye){var he=this.convertWhitespaceNodesToSpace(ye),Oe=he.space,St=he.rawSpace;xe.spaces.before=Oe,xe.rawSpaceBefore=St}}else{var Et=this.convertWhitespaceNodesToSpace(ye,!0),We=Et.space,Ue=Et.rawSpace;Ue||(Ue=We);var pt={},ft={spaces:{}};We.endsWith(" ")&&Ue.endsWith(" ")?(pt.before=We.slice(0,We.length-1),ft.spaces.before=Ue.slice(0,Ue.length-1)):We.startsWith(" ")&&Ue.startsWith(" ")?(pt.after=We.slice(1),ft.spaces.after=Ue.slice(1)):ft.value=Ue,xe=new y.default({value:" ",source:ie(ne,this.tokens[this.position-1]),sourceIndex:ne[S.FIELDS.START_POS],spaces:pt,raws:ft})}return this.currToken&&this.currToken[S.FIELDS.TYPE]===g.space&&(xe.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(xe)},q.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var $=new i.default({source:{start:W(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][S.FIELDS.START_POS]});this.current.parent.append($),this.current=$,this.position++},q.comment=function(){var $=this.currToken;this.newNode(new l.default({value:this.content(),source:z($),sourceIndex:$[S.FIELDS.START_POS]})),this.position++},q.error=function($,G){throw this.root.error($,G)},q.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[S.FIELDS.START_POS]})},q.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[S.FIELDS.START_POS])},q.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[S.FIELDS.START_POS])},q.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[S.FIELDS.START_POS])},q.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[S.FIELDS.START_POS])},q.namespace=function(){var $=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[S.FIELDS.TYPE]===g.word)return this.position++,this.word($);if(this.nextToken[S.FIELDS.TYPE]===g.asterisk)return this.position++,this.universal($);this.unexpectedPipe()},q.nesting=function(){if(this.nextToken){var $=this.content(this.nextToken);if($==="|"){this.position++;return}}var G=this.currToken;this.newNode(new v.default({value:this.content(),source:z(G),sourceIndex:G[S.FIELDS.START_POS]})),this.position++},q.parentheses=function(){var $=this.current.last,G=1;if(this.position++,$&&$.type===_.PSEUDO){var H=new i.default({source:{start:W(this.tokens[this.position])},sourceIndex:this.tokens[this.position][S.FIELDS.START_POS]}),U=this.current;for($.append(H),this.current=H;this.position<this.tokens.length&&G;)this.currToken[S.FIELDS.TYPE]===g.openParenthesis&&G++,this.currToken[S.FIELDS.TYPE]===g.closeParenthesis&&G--,G?this.parse():(this.current.source.end=Y(this.currToken),this.current.parent.source.end=Y(this.currToken),this.position++);this.current=U}else{for(var se=this.currToken,ee="(",pe;this.position<this.tokens.length&&G;)this.currToken[S.FIELDS.TYPE]===g.openParenthesis&&G++,this.currToken[S.FIELDS.TYPE]===g.closeParenthesis&&G--,pe=this.currToken,ee+=this.parseParenthesisToken(this.currToken),this.position++;$?$.appendToPropertyAndEscape("value",ee,ee):this.newNode(new u.default({value:ee,source:re(se[S.FIELDS.START_LINE],se[S.FIELDS.START_COL],pe[S.FIELDS.END_LINE],pe[S.FIELDS.END_COL]),sourceIndex:se[S.FIELDS.START_POS]}))}if(G)return this.expected("closing parenthesis",this.currToken[S.FIELDS.START_POS])},q.pseudo=function(){for(var $=this,G="",H=this.currToken;this.currToken&&this.currToken[S.FIELDS.TYPE]===g.colon;)G+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[S.FIELDS.TYPE]===g.word)this.splitWord(!1,function(U,se){G+=U,$.newNode(new d.default({value:G,source:ie(H,$.currToken),sourceIndex:H[S.FIELDS.START_POS]})),se>1&&$.nextToken&&$.nextToken[S.FIELDS.TYPE]===g.openParenthesis&&$.error("Misplaced parenthesis.",{index:$.nextToken[S.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[S.FIELDS.START_POS])},q.space=function(){var $=this.content();this.position===0||this.prevToken[S.FIELDS.TYPE]===g.comma||this.prevToken[S.FIELDS.TYPE]===g.openParenthesis||this.current.nodes.every(function(G){return G.type==="comment"})?(this.spaces=this.optionalSpace($),this.position++):this.position===this.tokens.length-1||this.nextToken[S.FIELDS.TYPE]===g.comma||this.nextToken[S.FIELDS.TYPE]===g.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace($),this.position++):this.combinator()},q.string=function(){var $=this.currToken;this.newNode(new u.default({value:this.content(),source:z($),sourceIndex:$[S.FIELDS.START_POS]})),this.position++},q.universal=function($){var G=this.nextToken;if(G&&this.content(G)==="|")return this.position++,this.namespace();var H=this.currToken;this.newNode(new m.default({value:this.content(),source:z(H),sourceIndex:H[S.FIELDS.START_POS]}),$),this.position++},q.splitWord=function($,G){for(var H=this,U=this.nextToken,se=this.content();U&&~[g.dollar,g.caret,g.equals,g.word].indexOf(U[S.FIELDS.TYPE]);){this.position++;var ee=this.content();if(se+=ee,ee.lastIndexOf("\\")===ee.length-1){var pe=this.nextToken;pe&&pe[S.FIELDS.TYPE]===g.space&&(se+=this.requiredSpace(this.content(pe)),this.position++)}U=this.nextToken}var ne=fe(se,".").filter(function(Oe){var St=se[Oe-1]==="\\",Et=/^\d+\.\d+%$/.test(se);return!St&&!Et}),ye=fe(se,"#").filter(function(Oe){return se[Oe-1]!=="\\"}),xe=fe(se,"#{");xe.length&&(ye=ye.filter(function(Oe){return!~xe.indexOf(Oe)}));var he=(0,T.default)(Ne([0].concat(ne,ye)));he.forEach(function(Oe,St){var Et=he[St+1]||se.length,We=se.slice(Oe,Et);if(St===0&&G)return G.call(H,We,he.length);var Ue,pt=H.currToken,ft=pt[S.FIELDS.START_POS]+he[St],Ct=re(pt[1],pt[2]+Oe,pt[3],pt[2]+(Et-1));if(~ne.indexOf(Oe)){var $r={value:We.slice(1),source:Ct,sourceIndex:ft};Ue=new n.default(J($r,"value"))}else if(~ye.indexOf(Oe)){var dt={value:We.slice(1),source:Ct,sourceIndex:ft};Ue=new c.default(J(dt,"value"))}else{var It={value:We,source:Ct,sourceIndex:ft};J(It,"value"),Ue=new p.default(It)}H.newNode(Ue,$),$=null}),this.position++},q.word=function($){var G=this.nextToken;return G&&this.content(G)==="|"?(this.position++,this.namespace()):this.splitWord($)},q.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},q.parse=function($){switch(this.currToken[S.FIELDS.TYPE]){case g.space:this.space();break;case g.comment:this.comment();break;case g.openParenthesis:this.parentheses();break;case g.closeParenthesis:$&&this.missingParenthesis();break;case g.openSquare:this.attribute();break;case g.dollar:case g.caret:case g.equals:case g.word:this.word();break;case g.colon:this.pseudo();break;case g.comma:this.comma();break;case g.asterisk:this.universal();break;case g.ampersand:this.nesting();break;case g.slash:case g.combinator:this.combinator();break;case g.str:this.string();break;case g.closeSquare:this.missingSquareBracket();case g.semicolon:this.missingBackslash();default:this.unexpected()}},q.expected=function($,G,H){if(Array.isArray($)){var U=$.pop();$=$.join(", ")+" or "+U}var se=/^[aeiou]/.test($[0])?"an":"a";return H?this.error("Expected "+se+" "+$+', found "'+H+'" instead.',{index:G}):this.error("Expected "+se+" "+$+".",{index:G})},q.requiredSpace=function($){return this.options.lossy?" ":$},q.optionalSpace=function($){return this.options.lossy?"":$},q.lossySpace=function($,G){return this.options.lossy?G?" ":"":$},q.parseParenthesisToken=function($){var G=this.content($);return $[S.FIELDS.TYPE]===g.space?this.requiredSpace(G):G},q.newNode=function($,G){return G&&(/^ +$/.test(G)&&(this.options.lossy||(this.spaces=(this.spaces||"")+G),G=!0),$.namespace=G,J($,"namespace")),this.spaces&&($.spaces.before=this.spaces,this.spaces=""),this.current.append($)},q.content=function($){return $===void 0&&($=this.currToken),this.css.slice($[S.FIELDS.START_POS],$[S.FIELDS.END_POS])},q.locateNextMeaningfulToken=function($){$===void 0&&($=this.position+1);for(var G=$;G<this.tokens.length;)if(F[this.tokens[G][S.FIELDS.TYPE]]){G++;continue}else return G;return-1},k(te,[{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]}}]),te}();e.default=de,t.exports=e.default}(Ci,Ci.exports)),Ci.exports}var Af;function Db(){return Af||(Af=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=i(Rb());function i(l){return l&&l.__esModule?l:{default:l}}var n=function(){function l(p,u){this.func=p||function(){},this.funcRes=null,this.options=u}var c=l.prototype;return c._shouldUpdateSelector=function(u,d){d===void 0&&(d={});var f=Object.assign({},this.options,d);return f.updateSelector===!1?!1:typeof u!="string"},c._isLossy=function(u){u===void 0&&(u={});var d=Object.assign({},this.options,u);return d.lossless===!1},c._root=function(u,d){d===void 0&&(d={});var f=new r.default(u,this._parseOptions(d));return f.root},c._parseOptions=function(u){return{lossy:this._isLossy(u)}},c._run=function(u,d){var f=this;return d===void 0&&(d={}),new Promise(function(m,y){try{var v=f._root(u,d);Promise.resolve(f.func(v)).then(function(T){var S=void 0;return f._shouldUpdateSelector(u,d)&&(S=v.toString(),u.selector=S),{transform:T,root:v,string:S}}).then(m,y)}catch(T){y(T);return}})},c._runSync=function(u,d){d===void 0&&(d={});var f=this._root(u,d),m=this.func(f);if(m&&typeof m.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var y=void 0;return d.updateSelector&&typeof u!="string"&&(y=f.toString(),u.selector=y),{transform:m,root:f,string:y}},c.ast=function(u,d){return this._run(u,d).then(function(f){return f.root})},c.astSync=function(u,d){return this._runSync(u,d).root},c.transform=function(u,d){return this._run(u,d).then(function(f){return f.transform})},c.transformSync=function(u,d){return this._runSync(u,d).transform},c.process=function(u,d){return this._run(u,d).then(function(f){return f.string||f.root.toString()})},c.processSync=function(u,d){var f=this._runSync(u,d);return f.string||f.root.toString()},l}();e.default=n,t.exports=e.default}(Ai,Ai.exports)),Ai.exports}var Uo={},_e={},Cf;function Fb(){if(Cf)return _e;Cf=1,_e.__esModule=!0,_e.universal=_e.tag=_e.string=_e.selector=_e.root=_e.pseudo=_e.nesting=_e.id=_e.comment=_e.combinator=_e.className=_e.attribute=void 0;var t=y(Eg()),e=y(dg()),r=y(wg()),i=y(mg()),n=y(yg()),l=y(Pg()),c=y(Sg()),p=y(pg()),u=y(fg()),d=y(vg()),f=y(gg()),m=y(Tg());function y(k){return k&&k.__esModule?k:{default:k}}var v=function(N){return new t.default(N)};_e.attribute=v;var T=function(N){return new e.default(N)};_e.className=T;var S=function(N){return new r.default(N)};_e.combinator=S;var g=function(N){return new i.default(N)};_e.comment=g;var _=function(N){return new n.default(N)};_e.id=_;var b=function(N){return new l.default(N)};_e.nesting=b;var A=function(N){return new c.default(N)};_e.pseudo=A;var O=function(N){return new p.default(N)};_e.root=O;var x=function(N){return new u.default(N)};_e.selector=x;var L=function(N){return new d.default(N)};_e.string=L;var R=function(N){return new f.default(N)};_e.tag=R;var C=function(N){return new m.default(N)};return _e.universal=C,_e}var Se={},If;function Bb(){if(If)return Se;If=1,Se.__esModule=!0,Se.isComment=Se.isCombinator=Se.isClassName=Se.isAttribute=void 0,Se.isContainer=A,Se.isIdentifier=void 0,Se.isNamespace=O,Se.isNesting=void 0,Se.isNode=i,Se.isPseudo=void 0,Se.isPseudoClass=b,Se.isPseudoElement=_,Se.isUniversal=Se.isTag=Se.isString=Se.isSelector=Se.isRoot=void 0;var t=tt(),e,r=(e={},e[t.ATTRIBUTE]=!0,e[t.CLASS]=!0,e[t.COMBINATOR]=!0,e[t.COMMENT]=!0,e[t.ID]=!0,e[t.NESTING]=!0,e[t.PSEUDO]=!0,e[t.ROOT]=!0,e[t.SELECTOR]=!0,e[t.STRING]=!0,e[t.TAG]=!0,e[t.UNIVERSAL]=!0,e);function i(x){return typeof x=="object"&&r[x.type]}function n(x,L){return i(L)&&L.type===x}var l=n.bind(null,t.ATTRIBUTE);Se.isAttribute=l;var c=n.bind(null,t.CLASS);Se.isClassName=c;var p=n.bind(null,t.COMBINATOR);Se.isCombinator=p;var u=n.bind(null,t.COMMENT);Se.isComment=u;var d=n.bind(null,t.ID);Se.isIdentifier=d;var f=n.bind(null,t.NESTING);Se.isNesting=f;var m=n.bind(null,t.PSEUDO);Se.isPseudo=m;var y=n.bind(null,t.ROOT);Se.isRoot=y;var v=n.bind(null,t.SELECTOR);Se.isSelector=v;var T=n.bind(null,t.STRING);Se.isString=T;var S=n.bind(null,t.TAG);Se.isTag=S;var g=n.bind(null,t.UNIVERSAL);Se.isUniversal=g;function _(x){return m(x)&&x.value&&(x.value.startsWith("::")||x.value.toLowerCase()===":before"||x.value.toLowerCase()===":after"||x.value.toLowerCase()===":first-letter"||x.value.toLowerCase()===":first-line")}function b(x){return m(x)&&!_(x)}function A(x){return!!(i(x)&&x.walk)}function O(x){return l(x)||S(x)}return Se}var Nf;function $b(){return Nf||(Nf=1,function(t){t.__esModule=!0;var e=tt();Object.keys(e).forEach(function(n){n==="default"||n==="__esModule"||n in t&&t[n]===e[n]||(t[n]=e[n])});var r=Fb();Object.keys(r).forEach(function(n){n==="default"||n==="__esModule"||n in t&&t[n]===r[n]||(t[n]=r[n])});var i=Bb();Object.keys(i).forEach(function(n){n==="default"||n==="__esModule"||n in t&&t[n]===i[n]||(t[n]=i[n])})}(Uo)),Uo}var Of;function Ub(){return Of||(Of=1,function(t,e){e.__esModule=!0,e.default=void 0;var r=c(Db()),i=l($b());function n(d){if(typeof WeakMap!="function")return null;var f=new WeakMap,m=new WeakMap;return(n=function(v){return v?m:f})(d)}function l(d,f){if(d&&d.__esModule)return d;if(d===null||typeof d!="object"&&typeof d!="function")return{default:d};var m=n(f);if(m&&m.has(d))return m.get(d);var y={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var T in d)if(T!=="default"&&Object.prototype.hasOwnProperty.call(d,T)){var S=v?Object.getOwnPropertyDescriptor(d,T):null;S&&(S.get||S.set)?Object.defineProperty(y,T,S):y[T]=d[T]}return y.default=d,m&&m.set(d,y),y}function c(d){return d&&d.__esModule?d:{default:d}}var p=function(f){return new r.default(f)};Object.assign(p,i),delete p.__esModule;var u=p;e.default=u,t.exports=e.default}(xi,xi.exports)),xi.exports}var qb=Ub(),on=Xn(qb);const jb=/^(-\w+-)?animation-name$/,Vb=/^(-\w+-)?animation$/,_g=(t="")=>{const e=Object.create(null),r=t.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(i){zb(t,i)},AtRule(i){/-?keyframes$/.test(i.name)&&!i.params.endsWith(`-${r}`)&&(e[i.params]=i.params=i.params+"-"+r)},OnceExit(i){Object.keys(e).length&&i.walkDecls(n=>{jb.test(n.prop)&&(n.value=n.value.split(",").map(l=>e[l.trim()]||l.trim()).join(",")),Vb.test(n.prop)&&(n.value=n.value.split(",").map(l=>{const c=l.trim().split(/\s+/),p=c.findIndex(u=>e[u]);return p!==-1?(c.splice(p,1,e[c[p]]),c.join(" ")):l}).join(","))})}}},kf=new WeakSet;function zb(t,e){if(kf.has(e)||e.parent&&e.parent.type==="atrule"&&/-?keyframes$/.test(e.parent.name))return;kf.add(e);let r=!1,i=e.parent;for(;i&&i.type!=="root";){if(i.__deep){r=!0;break}i=i.parent}e.selector=on(n=>{n.each(l=>{wl(t,e,l,n,r)})}).processSync(e.selector)}function wl(t,e,r,i,n,l=!1){let c=null,p=!n;if(r.each(u=>{if(u.type==="combinator"&&(u.value===">>>"||u.value==="/deep/"))return u.value=" ",u.spaces.before=u.spaces.after="",xn("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if(u.type==="pseudo"){const{value:d}=u;if(d===":deep"||d==="::v-deep"){if(e.__deep=!0,u.nodes.length){let f=u;u.nodes[0].each(y=>{r.insertAfter(f,y),f=y});const m=r.at(r.index(u)-1);(!m||!Lf(m))&&r.insertAfter(u,on.combinator({value:" "})),r.removeChild(u)}else{xn(`${d} usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead of ${d} <inner-selector>.`);const f=r.at(r.index(u)-1);f&&Lf(f)&&r.removeChild(f),r.removeChild(u)}return!1}if(d===":slotted"||d==="::v-slotted"){wl(t,e,u.nodes[0],i,n,!0);let f=u;return u.nodes[0].each(m=>{r.insertAfter(f,m),f=m}),r.removeChild(u),p=!1,!1}if(d===":global"||d==="::v-global")return r.replaceWith(u.nodes[0]),!1}if(u.type==="universal"){const d=r.at(r.index(u)-1),f=r.at(r.index(u)+1);if(!d)if(f){f.type==="combinator"&&f.value===" "&&r.removeChild(f),r.removeChild(u);return}else return c=on.combinator({value:""}),r.insertBefore(u,c),r.removeChild(u),!1;if(c)return}(u.type!=="pseudo"&&u.type!=="combinator"||u.type==="pseudo"&&(u.value===":is"||u.value===":where")&&!c)&&(c=u)}),e.nodes.some(u=>u.type==="rule")){const u=e.__deep;if(!u){Mf(e);const d=e.nodes.filter(f=>f.type==="atrule");for(const f of d)Mf(f)}p=u}if(c){const{type:u,value:d}=c;u==="pseudo"&&(d===":is"||d===":where")&&(c.nodes.forEach(f=>wl(t,e,f,i,n,l)),p=!1)}if(c?c.spaces.after="":r.first.spaces.before="",p){const u=l?t+"-s":t;r.insertAfter(c,on.attribute({attribute:u,value:u,raws:{},quoteMark:'"'}))}}function Lf(t){return t.type==="combinator"&&/^\s+$/.test(t.value)}function Mf(t){if(!t.nodes)return;const e=t.nodes.filter(r=>r.type==="decl"||r.type==="comment");if(e.length){for(const i of e)t.removeChild(i);const r=new Cb({nodes:e,selector:"&"});t.prepend(r)}}_g.postcss=!0;var bs={},qo={},Xi={},Ji={},Rf;function Wb(){if(Rf)return Ji;Rf=1;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Ji.encode=function(e){if(0<=e&&e<t.length)return t[e];throw new TypeError("Must be between 0 and 63: "+e)},Ji.decode=function(e){var r=65,i=90,n=97,l=122,c=48,p=57,u=43,d=47,f=26,m=52;return r<=e&&e<=i?e-r:n<=e&&e<=l?e-n+f:c<=e&&e<=p?e-c+m:e==u?62:e==d?63:-1},Ji}var Df;function xg(){if(Df)return Xi;Df=1;var t=Wb(),e=5,r=1<<e,i=r-1,n=r;function l(p){return p<0?(-p<<1)+1:(p<<1)+0}function c(p){var u=(p&1)===1,d=p>>1;return u?-d:d}return Xi.encode=function(u){var d="",f,m=l(u);do f=m&i,m>>>=e,m>0&&(f|=n),d+=t.encode(f);while(m>0);return d},Xi.decode=function(u,d,f){var m=u.length,y=0,v=0,T,S;do{if(d>=m)throw new Error("Expected more digits in base 64 VLQ value.");if(S=t.decode(u.charCodeAt(d++)),S===-1)throw new Error("Invalid base64 digit: "+u.charAt(d-1));T=!!(S&n),S&=i,y=y+(S<<v),v+=e}while(T);f.value=c(y),f.rest=d},Xi}var jo={},Ff;function oi(){return Ff||(Ff=1,function(t){function e(O,x,L){if(x in O)return O[x];if(arguments.length===3)return L;throw new Error('"'+x+'" is a required argument.')}t.getArg=e;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,i=/^data:.+\,.+$/;function n(O){var x=O.match(r);return x?{scheme:x[1],auth:x[2],host:x[3],port:x[4],path:x[5]}:null}t.urlParse=n;function l(O){var x="";return O.scheme&&(x+=O.scheme+":"),x+="//",O.auth&&(x+=O.auth+"@"),O.host&&(x+=O.host),O.port&&(x+=":"+O.port),O.path&&(x+=O.path),x}t.urlGenerate=l;function c(O){var x=O,L=n(O);if(L){if(!L.path)return O;x=L.path}for(var R=t.isAbsolute(x),C=x.split(/\/+/),k,N=0,F=C.length-1;F>=0;F--)k=C[F],k==="."?C.splice(F,1):k===".."?N++:N>0&&(k===""?(C.splice(F+1,N),N=0):(C.splice(F,2),N--));return x=C.join("/"),x===""&&(x=R?"/":"."),L?(L.path=x,l(L)):x}t.normalize=c;function p(O,x){O===""&&(O="."),x===""&&(x=".");var L=n(x),R=n(O);if(R&&(O=R.path||"/"),L&&!L.scheme)return R&&(L.scheme=R.scheme),l(L);if(L||x.match(i))return x;if(R&&!R.host&&!R.path)return R.host=x,l(R);var C=x.charAt(0)==="/"?x:c(O.replace(/\/+$/,"")+"/"+x);return R?(R.path=C,l(R)):C}t.join=p,t.isAbsolute=function(O){return O.charAt(0)==="/"||r.test(O)};function u(O,x){O===""&&(O="."),O=O.replace(/\/$/,"");for(var L=0;x.indexOf(O+"/")!==0;){var R=O.lastIndexOf("/");if(R<0||(O=O.slice(0,R),O.match(/^([^\/]+:\/)?\/*$/)))return x;++L}return Array(L+1).join("../")+x.substr(O.length+1)}t.relative=u;var d=function(){var O=Object.create(null);return!("__proto__"in O)}();function f(O){return O}function m(O){return v(O)?"$"+O:O}t.toSetString=d?f:m;function y(O){return v(O)?O.slice(1):O}t.fromSetString=d?f:y;function v(O){if(!O)return!1;var x=O.length;if(x<9||O.charCodeAt(x-1)!==95||O.charCodeAt(x-2)!==95||O.charCodeAt(x-3)!==111||O.charCodeAt(x-4)!==116||O.charCodeAt(x-5)!==111||O.charCodeAt(x-6)!==114||O.charCodeAt(x-7)!==112||O.charCodeAt(x-8)!==95||O.charCodeAt(x-9)!==95)return!1;for(var L=x-10;L>=0;L--)if(O.charCodeAt(L)!==36)return!1;return!0}function T(O,x,L){var R=g(O.source,x.source);return R!==0||(R=O.originalLine-x.originalLine,R!==0)||(R=O.originalColumn-x.originalColumn,R!==0||L)||(R=O.generatedColumn-x.generatedColumn,R!==0)||(R=O.generatedLine-x.generatedLine,R!==0)?R:g(O.name,x.name)}t.compareByOriginalPositions=T;function S(O,x,L){var R=O.generatedLine-x.generatedLine;return R!==0||(R=O.generatedColumn-x.generatedColumn,R!==0||L)||(R=g(O.source,x.source),R!==0)||(R=O.originalLine-x.originalLine,R!==0)||(R=O.originalColumn-x.originalColumn,R!==0)?R:g(O.name,x.name)}t.compareByGeneratedPositionsDeflated=S;function g(O,x){return O===x?0:O===null?1:x===null?-1:O>x?1:-1}function _(O,x){var L=O.generatedLine-x.generatedLine;return L!==0||(L=O.generatedColumn-x.generatedColumn,L!==0)||(L=g(O.source,x.source),L!==0)||(L=O.originalLine-x.originalLine,L!==0)||(L=O.originalColumn-x.originalColumn,L!==0)?L:g(O.name,x.name)}t.compareByGeneratedPositionsInflated=_;function b(O){return JSON.parse(O.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=b;function A(O,x,L){if(x=x||"",O&&(O[O.length-1]!=="/"&&x[0]!=="/"&&(O+="/"),x=O+x),L){var R=n(L);if(!R)throw new Error("sourceMapURL could not be parsed");if(R.path){var C=R.path.lastIndexOf("/");C>=0&&(R.path=R.path.substring(0,C+1))}x=p(l(R),x)}return c(x)}t.computeSourceURL=A}(jo)),jo}var Vo={},Bf;function Ag(){if(Bf)return Vo;Bf=1;var t=oi(),e=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(l,c){for(var p=new i,u=0,d=l.length;u<d;u++)p.add(l[u],c);return p},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(l,c){var p=r?l:t.toSetString(l),u=r?this.has(l):e.call(this._set,p),d=this._array.length;(!u||c)&&this._array.push(l),u||(r?this._set.set(l,d):this._set[p]=d)},i.prototype.has=function(l){if(r)return this._set.has(l);var c=t.toSetString(l);return e.call(this._set,c)},i.prototype.indexOf=function(l){if(r){var c=this._set.get(l);if(c>=0)return c}else{var p=t.toSetString(l);if(e.call(this._set,p))return this._set[p]}throw new Error('"'+l+'" is not in the set.')},i.prototype.at=function(l){if(l>=0&&l<this._array.length)return this._array[l];throw new Error("No element indexed by "+l)},i.prototype.toArray=function(){return this._array.slice()},Vo.ArraySet=i,Vo}var zo={},$f;function Hb(){if($f)return zo;$f=1;var t=oi();function e(i,n){var l=i.generatedLine,c=n.generatedLine,p=i.generatedColumn,u=n.generatedColumn;return c>l||c==l&&u>=p||t.compareByGeneratedPositionsInflated(i,n)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(n,l){this._array.forEach(n,l)},r.prototype.add=function(n){e(this._last,n)?(this._last=n,this._array.push(n)):(this._sorted=!1,this._array.push(n))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},zo.MappingList=r,zo}var Uf;function Cg(){if(Uf)return qo;Uf=1;var t=xg(),e=oi(),r=Ag().ArraySet,i=Hb().MappingList;function n(l){l||(l={}),this._file=e.getArg(l,"file",null),this._sourceRoot=e.getArg(l,"sourceRoot",null),this._skipValidation=e.getArg(l,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return n.prototype._version=3,n.fromSourceMap=function(c){var p=c.sourceRoot,u=new n({file:c.file,sourceRoot:p});return c.eachMapping(function(d){var f={generated:{line:d.generatedLine,column:d.generatedColumn}};d.source!=null&&(f.source=d.source,p!=null&&(f.source=e.relative(p,f.source)),f.original={line:d.originalLine,column:d.originalColumn},d.name!=null&&(f.name=d.name)),u.addMapping(f)}),c.sources.forEach(function(d){var f=d;p!==null&&(f=e.relative(p,d)),u._sources.has(f)||u._sources.add(f);var m=c.sourceContentFor(d);m!=null&&u.setSourceContent(d,m)}),u},n.prototype.addMapping=function(c){var p=e.getArg(c,"generated"),u=e.getArg(c,"original",null),d=e.getArg(c,"source",null),f=e.getArg(c,"name",null);this._skipValidation||this._validateMapping(p,u,d,f),d!=null&&(d=String(d),this._sources.has(d)||this._sources.add(d)),f!=null&&(f=String(f),this._names.has(f)||this._names.add(f)),this._mappings.add({generatedLine:p.line,generatedColumn:p.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:d,name:f})},n.prototype.setSourceContent=function(c,p){var u=c;this._sourceRoot!=null&&(u=e.relative(this._sourceRoot,u)),p!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[e.toSetString(u)]=p):this._sourcesContents&&(delete this._sourcesContents[e.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(c,p,u){var d=p;if(p==null){if(c.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);d=c.file}var f=this._sourceRoot;f!=null&&(d=e.relative(f,d));var m=new r,y=new r;this._mappings.unsortedForEach(function(v){if(v.source===d&&v.originalLine!=null){var T=c.originalPositionFor({line:v.originalLine,column:v.originalColumn});T.source!=null&&(v.source=T.source,u!=null&&(v.source=e.join(u,v.source)),f!=null&&(v.source=e.relative(f,v.source)),v.originalLine=T.line,v.originalColumn=T.column,T.name!=null&&(v.name=T.name))}var S=v.source;S!=null&&!m.has(S)&&m.add(S);var g=v.name;g!=null&&!y.has(g)&&y.add(g)},this),this._sources=m,this._names=y,c.sources.forEach(function(v){var T=c.sourceContentFor(v);T!=null&&(u!=null&&(v=e.join(u,v)),f!=null&&(v=e.relative(f,v)),this.setSourceContent(v,T))},this)},n.prototype._validateMapping=function(c,p,u,d){if(p&&typeof p.line!="number"&&typeof p.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(!(c&&"line"in c&&"column"in c&&c.line>0&&c.column>=0&&!p&&!u&&!d)){if(c&&"line"in c&&"column"in c&&p&&"line"in p&&"column"in p&&c.line>0&&c.column>=0&&p.line>0&&p.column>=0&&u)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:c,source:u,original:p,name:d}))}},n.prototype._serializeMappings=function(){for(var c=0,p=1,u=0,d=0,f=0,m=0,y="",v,T,S,g,_=this._mappings.toArray(),b=0,A=_.length;b<A;b++){if(T=_[b],v="",T.generatedLine!==p)for(c=0;T.generatedLine!==p;)v+=";",p++;else if(b>0){if(!e.compareByGeneratedPositionsInflated(T,_[b-1]))continue;v+=","}v+=t.encode(T.generatedColumn-c),c=T.generatedColumn,T.source!=null&&(g=this._sources.indexOf(T.source),v+=t.encode(g-m),m=g,v+=t.encode(T.originalLine-1-d),d=T.originalLine-1,v+=t.encode(T.originalColumn-u),u=T.originalColumn,T.name!=null&&(S=this._names.indexOf(T.name),v+=t.encode(S-f),f=S)),y+=v}return y},n.prototype._generateSourcesContent=function(c,p){return c.map(function(u){if(!this._sourcesContents)return null;p!=null&&(u=e.relative(p,u));var d=e.toSetString(u);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},n.prototype.toJSON=function(){var c={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(c.file=this._file),this._sourceRoot!=null&&(c.sourceRoot=this._sourceRoot),this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,c.sourceRoot)),c},n.prototype.toString=function(){return JSON.stringify(this.toJSON())},qo.SourceMapGenerator=n,qo}var _s={},Wo={},qf;function Gb(){return qf||(qf=1,function(t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2;function e(r,i,n,l,c,p){var u=Math.floor((i-r)/2)+r,d=c(n,l[u],!0);return d===0?u:d>0?i-u>1?e(u,i,n,l,c,p):p==t.LEAST_UPPER_BOUND?i<l.length?i:-1:u:u-r>1?e(r,u,n,l,c,p):p==t.LEAST_UPPER_BOUND?u:r<0?-1:r}t.search=function(i,n,l,c){if(n.length===0)return-1;var p=e(-1,n.length,i,n,l,c||t.GREATEST_LOWER_BOUND);if(p<0)return-1;for(;p-1>=0&&l(n[p],n[p-1],!0)===0;)--p;return p}}(Wo)),Wo}var Ho={},jf;function Xb(){if(jf)return Ho;jf=1;function t(i,n,l){var c=i[n];i[n]=i[l],i[l]=c}function e(i,n){return Math.round(i+Math.random()*(n-i))}function r(i,n,l,c){if(l<c){var p=e(l,c),u=l-1;t(i,p,c);for(var d=i[c],f=l;f<c;f++)n(i[f],d)<=0&&(u+=1,t(i,u,f));t(i,u+1,f);var m=u+1;r(i,n,l,m-1),r(i,n,m+1,c)}}return Ho.quickSort=function(i,n){r(i,n,0,i.length-1)},Ho}var Vf;function Jb(){if(Vf)return _s;Vf=1;var t=oi(),e=Gb(),r=Ag().ArraySet,i=xg(),n=Xb().quickSort;function l(d,f){var m=d;return typeof d=="string"&&(m=t.parseSourceMapInput(d)),m.sections!=null?new u(m,f):new c(m,f)}l.fromSourceMap=function(d,f){return c.fromSourceMap(d,f)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(f,m){var y=f.charAt(m);return y===";"||y===","},l.prototype._parseMappings=function(f,m){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(f,m,y){var v=m||null,T=y||l.GENERATED_ORDER,S;switch(T){case l.GENERATED_ORDER:S=this._generatedMappings;break;case l.ORIGINAL_ORDER:S=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var g=this.sourceRoot;S.map(function(_){var b=_.source===null?null:this._sources.at(_.source);return b=t.computeSourceURL(g,b,this._sourceMapURL),{source:b,generatedLine:_.generatedLine,generatedColumn:_.generatedColumn,originalLine:_.originalLine,originalColumn:_.originalColumn,name:_.name===null?null:this._names.at(_.name)}},this).forEach(f,v)},l.prototype.allGeneratedPositionsFor=function(f){var m=t.getArg(f,"line"),y={source:t.getArg(f,"source"),originalLine:m,originalColumn:t.getArg(f,"column",0)};if(y.source=this._findSourceIndex(y.source),y.source<0)return[];var v=[],T=this._findMapping(y,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,e.LEAST_UPPER_BOUND);if(T>=0){var S=this._originalMappings[T];if(f.column===void 0)for(var g=S.originalLine;S&&S.originalLine===g;)v.push({line:t.getArg(S,"generatedLine",null),column:t.getArg(S,"generatedColumn",null),lastColumn:t.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++T];else for(var _=S.originalColumn;S&&S.originalLine===m&&S.originalColumn==_;)v.push({line:t.getArg(S,"generatedLine",null),column:t.getArg(S,"generatedColumn",null),lastColumn:t.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++T]}return v},_s.SourceMapConsumer=l;function c(d,f){var m=d;typeof d=="string"&&(m=t.parseSourceMapInput(d));var y=t.getArg(m,"version"),v=t.getArg(m,"sources"),T=t.getArg(m,"names",[]),S=t.getArg(m,"sourceRoot",null),g=t.getArg(m,"sourcesContent",null),_=t.getArg(m,"mappings"),b=t.getArg(m,"file",null);if(y!=this._version)throw new Error("Unsupported version: "+y);S&&(S=t.normalize(S)),v=v.map(String).map(t.normalize).map(function(A){return S&&t.isAbsolute(S)&&t.isAbsolute(A)?t.relative(S,A):A}),this._names=r.fromArray(T.map(String),!0),this._sources=r.fromArray(v,!0),this._absoluteSources=this._sources.toArray().map(function(A){return t.computeSourceURL(S,A,f)}),this.sourceRoot=S,this.sourcesContent=g,this._mappings=_,this._sourceMapURL=f,this.file=b}c.prototype=Object.create(l.prototype),c.prototype.consumer=l,c.prototype._findSourceIndex=function(d){var f=d;if(this.sourceRoot!=null&&(f=t.relative(this.sourceRoot,f)),this._sources.has(f))return this._sources.indexOf(f);var m;for(m=0;m<this._absoluteSources.length;++m)if(this._absoluteSources[m]==d)return m;return-1},c.fromSourceMap=function(f,m){var y=Object.create(c.prototype),v=y._names=r.fromArray(f._names.toArray(),!0),T=y._sources=r.fromArray(f._sources.toArray(),!0);y.sourceRoot=f._sourceRoot,y.sourcesContent=f._generateSourcesContent(y._sources.toArray(),y.sourceRoot),y.file=f._file,y._sourceMapURL=m,y._absoluteSources=y._sources.toArray().map(function(L){return t.computeSourceURL(y.sourceRoot,L,m)});for(var S=f._mappings.toArray().slice(),g=y.__generatedMappings=[],_=y.__originalMappings=[],b=0,A=S.length;b<A;b++){var O=S[b],x=new p;x.generatedLine=O.generatedLine,x.generatedColumn=O.generatedColumn,O.source&&(x.source=T.indexOf(O.source),x.originalLine=O.originalLine,x.originalColumn=O.originalColumn,O.name&&(x.name=v.indexOf(O.name)),_.push(x)),g.push(x)}return n(y.__originalMappings,t.compareByOriginalPositions),y},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function p(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}c.prototype._parseMappings=function(f,m){for(var y=1,v=0,T=0,S=0,g=0,_=0,b=f.length,A=0,O={},x={},L=[],R=[],C,k,N,F,W;A<b;)if(f.charAt(A)===";")y++,A++,v=0;else if(f.charAt(A)===",")A++;else{for(C=new p,C.generatedLine=y,F=A;F<b&&!this._charIsMappingSeparator(f,F);F++);if(k=f.slice(A,F),N=O[k],N)A+=k.length;else{for(N=[];A<F;)i.decode(f,A,x),W=x.value,A=x.rest,N.push(W);if(N.length===2)throw new Error("Found a source, but no line and column");if(N.length===3)throw new Error("Found a source and line, but no column");O[k]=N}C.generatedColumn=v+N[0],v=C.generatedColumn,N.length>1&&(C.source=g+N[1],g+=N[1],C.originalLine=T+N[2],T=C.originalLine,C.originalLine+=1,C.originalColumn=S+N[3],S=C.originalColumn,N.length>4&&(C.name=_+N[4],_+=N[4])),R.push(C),typeof C.originalLine=="number"&&L.push(C)}n(R,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=R,n(L,t.compareByOriginalPositions),this.__originalMappings=L},c.prototype._findMapping=function(f,m,y,v,T,S){if(f[y]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+f[y]);if(f[v]<0)throw new TypeError("Column must be greater than or equal to 0, got "+f[v]);return e.search(f,m,T,S)},c.prototype.computeColumnSpans=function(){for(var f=0;f<this._generatedMappings.length;++f){var m=this._generatedMappings[f];if(f+1<this._generatedMappings.length){var y=this._generatedMappings[f+1];if(m.generatedLine===y.generatedLine){m.lastGeneratedColumn=y.generatedColumn-1;continue}}m.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(f){var m={generatedLine:t.getArg(f,"line"),generatedColumn:t.getArg(f,"column")},y=this._findMapping(m,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(f,"bias",l.GREATEST_LOWER_BOUND));if(y>=0){var v=this._generatedMappings[y];if(v.generatedLine===m.generatedLine){var T=t.getArg(v,"source",null);T!==null&&(T=this._sources.at(T),T=t.computeSourceURL(this.sourceRoot,T,this._sourceMapURL));var S=t.getArg(v,"name",null);return S!==null&&(S=this._names.at(S)),{source:T,line:t.getArg(v,"originalLine",null),column:t.getArg(v,"originalColumn",null),name:S}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(f){return f==null}):!1},c.prototype.sourceContentFor=function(f,m){if(!this.sourcesContent)return null;var y=this._findSourceIndex(f);if(y>=0)return this.sourcesContent[y];var v=f;this.sourceRoot!=null&&(v=t.relative(this.sourceRoot,v));var T;if(this.sourceRoot!=null&&(T=t.urlParse(this.sourceRoot))){var S=v.replace(/^file:\/\//,"");if(T.scheme=="file"&&this._sources.has(S))return this.sourcesContent[this._sources.indexOf(S)];if((!T.path||T.path=="/")&&this._sources.has("/"+v))return this.sourcesContent[this._sources.indexOf("/"+v)]}if(m)return null;throw new Error('"'+v+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(f){var m=t.getArg(f,"source");if(m=this._findSourceIndex(m),m<0)return{line:null,column:null,lastColumn:null};var y={source:m,originalLine:t.getArg(f,"line"),originalColumn:t.getArg(f,"column")},v=this._findMapping(y,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(f,"bias",l.GREATEST_LOWER_BOUND));if(v>=0){var T=this._originalMappings[v];if(T.source===y.source)return{line:t.getArg(T,"generatedLine",null),column:t.getArg(T,"generatedColumn",null),lastColumn:t.getArg(T,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},_s.BasicSourceMapConsumer=c;function u(d,f){var m=d;typeof d=="string"&&(m=t.parseSourceMapInput(d));var y=t.getArg(m,"version"),v=t.getArg(m,"sections");if(y!=this._version)throw new Error("Unsupported version: "+y);this._sources=new r,this._names=new r;var T={line:-1,column:0};this._sections=v.map(function(S){if(S.url)throw new Error("Support for url field in sections not implemented.");var g=t.getArg(S,"offset"),_=t.getArg(g,"line"),b=t.getArg(g,"column");if(_<T.line||_===T.line&&b<T.column)throw new Error("Section offsets must be ordered and non-overlapping.");return T=g,{generatedOffset:{generatedLine:_+1,generatedColumn:b+1},consumer:new l(t.getArg(S,"map"),f)}})}return u.prototype=Object.create(l.prototype),u.prototype.constructor=l,u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){for(var d=[],f=0;f<this._sections.length;f++)for(var m=0;m<this._sections[f].consumer.sources.length;m++)d.push(this._sections[f].consumer.sources[m]);return d}}),u.prototype.originalPositionFor=function(f){var m={generatedLine:t.getArg(f,"line"),generatedColumn:t.getArg(f,"column")},y=e.search(m,this._sections,function(T,S){var g=T.generatedLine-S.generatedOffset.generatedLine;return g||T.generatedColumn-S.generatedOffset.generatedColumn}),v=this._sections[y];return v?v.consumer.originalPositionFor({line:m.generatedLine-(v.generatedOffset.generatedLine-1),column:m.generatedColumn-(v.generatedOffset.generatedLine===m.generatedLine?v.generatedOffset.generatedColumn-1:0),bias:f.bias}):{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(f){return f.consumer.hasContentsOfAllSources()})},u.prototype.sourceContentFor=function(f,m){for(var y=0;y<this._sections.length;y++){var v=this._sections[y],T=v.consumer.sourceContentFor(f,!0);if(T)return T}if(m)return null;throw new Error('"'+f+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(f){for(var m=0;m<this._sections.length;m++){var y=this._sections[m];if(y.consumer._findSourceIndex(t.getArg(f,"source"))!==-1){var v=y.consumer.generatedPositionFor(f);if(v){var T={line:v.line+(y.generatedOffset.generatedLine-1),column:v.column+(y.generatedOffset.generatedLine===v.line?y.generatedOffset.generatedColumn-1:0)};return T}}}return{line:null,column:null}},u.prototype._parseMappings=function(f,m){this.__generatedMappings=[],this.__originalMappings=[];for(var y=0;y<this._sections.length;y++)for(var v=this._sections[y],T=v.consumer._generatedMappings,S=0;S<T.length;S++){var g=T[S],_=v.consumer._sources.at(g.source);_=t.computeSourceURL(v.consumer.sourceRoot,_,this._sourceMapURL),this._sources.add(_),_=this._sources.indexOf(_);var b=null;g.name&&(b=v.consumer._names.at(g.name),this._names.add(b),b=this._names.indexOf(b));var A={source:_,generatedLine:g.generatedLine+(v.generatedOffset.generatedLine-1),generatedColumn:g.generatedColumn+(v.generatedOffset.generatedLine===g.generatedLine?v.generatedOffset.generatedColumn-1:0),originalLine:g.originalLine,originalColumn:g.originalColumn,name:b};this.__generatedMappings.push(A),typeof A.originalLine=="number"&&this.__originalMappings.push(A)}n(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),n(this.__originalMappings,t.compareByOriginalPositions)},_s.IndexedSourceMapConsumer=u,_s}var Go={},zf;function Kb(){if(zf)return Go;zf=1;var t=Cg().SourceMapGenerator,e=oi(),r=/(\r?\n)/,i=10,n="$$$isSourceNode$$$";function l(c,p,u,d,f){this.children=[],this.sourceContents={},this.line=c??null,this.column=p??null,this.source=u??null,this.name=f??null,this[n]=!0,d!=null&&this.add(d)}return l.fromStringWithSourceMap=function(p,u,d){var f=new l,m=p.split(r),y=0,v=function(){var b=O(),A=O()||"";return b+A;function O(){return y<m.length?m[y++]:void 0}},T=1,S=0,g=null;return u.eachMapping(function(b){if(g!==null)if(T<b.generatedLine)_(g,v()),T++,S=0;else{var A=m[y]||"",O=A.substr(0,b.generatedColumn-S);m[y]=A.substr(b.generatedColumn-S),S=b.generatedColumn,_(g,O),g=b;return}for(;T<b.generatedLine;)f.add(v()),T++;if(S<b.generatedColumn){var A=m[y]||"";f.add(A.substr(0,b.generatedColumn)),m[y]=A.substr(b.generatedColumn),S=b.generatedColumn}g=b},this),y<m.length&&(g&&_(g,v()),f.add(m.splice(y).join(""))),u.sources.forEach(function(b){var A=u.sourceContentFor(b);A!=null&&(d!=null&&(b=e.join(d,b)),f.setSourceContent(b,A))}),f;function _(b,A){if(b===null||b.source===void 0)f.add(A);else{var O=d?e.join(d,b.source):b.source;f.add(new l(b.originalLine,b.originalColumn,O,A,b.name))}}},l.prototype.add=function(p){if(Array.isArray(p))p.forEach(function(u){this.add(u)},this);else if(p[n]||typeof p=="string")p&&this.children.push(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},l.prototype.prepend=function(p){if(Array.isArray(p))for(var u=p.length-1;u>=0;u--)this.prepend(p[u]);else if(p[n]||typeof p=="string")this.children.unshift(p);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+p);return this},l.prototype.walk=function(p){for(var u,d=0,f=this.children.length;d<f;d++)u=this.children[d],u[n]?u.walk(p):u!==""&&p(u,{source:this.source,line:this.line,column:this.column,name:this.name})},l.prototype.join=function(p){var u,d,f=this.children.length;if(f>0){for(u=[],d=0;d<f-1;d++)u.push(this.children[d]),u.push(p);u.push(this.children[d]),this.children=u}return this},l.prototype.replaceRight=function(p,u){var d=this.children[this.children.length-1];return d[n]?d.replaceRight(p,u):typeof d=="string"?this.children[this.children.length-1]=d.replace(p,u):this.children.push("".replace(p,u)),this},l.prototype.setSourceContent=function(p,u){this.sourceContents[e.toSetString(p)]=u},l.prototype.walkSourceContents=function(p){for(var u=0,d=this.children.length;u<d;u++)this.children[u][n]&&this.children[u].walkSourceContents(p);for(var f=Object.keys(this.sourceContents),u=0,d=f.length;u<d;u++)p(e.fromSetString(f[u]),this.sourceContents[f[u]])},l.prototype.toString=function(){var p="";return this.walk(function(u){p+=u}),p},l.prototype.toStringWithSourceMap=function(p){var u={code:"",line:1,column:0},d=new t(p),f=!1,m=null,y=null,v=null,T=null;return this.walk(function(S,g){u.code+=S,g.source!==null&&g.line!==null&&g.column!==null?((m!==g.source||y!==g.line||v!==g.column||T!==g.name)&&d.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:u.line,column:u.column},name:g.name}),m=g.source,y=g.line,v=g.column,T=g.name,f=!0):f&&(d.addMapping({generated:{line:u.line,column:u.column}}),m=null,f=!1);for(var _=0,b=S.length;_<b;_++)S.charCodeAt(_)===i?(u.line++,u.column=0,_+1===b?(m=null,f=!1):f&&d.addMapping({source:g.source,original:{line:g.line,column:g.column},generated:{line:u.line,column:u.column},name:g.name})):u.column++}),this.walkSourceContents(function(S,g){d.setSourceContent(S,g)}),{code:u.code,map:d}},Go.SourceNode=l,Go}var Wf;function Yb(){return Wf||(Wf=1,bs.SourceMapGenerator=Cg().SourceMapGenerator,bs.SourceMapConsumer=Jb().SourceMapConsumer,bs.SourceNode=Kb().SourceNode),bs}var Xo,Hf;function Qb(){if(Hf)return Xo;Hf=1;var t=Yb(),e=t.SourceMapConsumer,r=t.SourceMapGenerator;Xo=i;function i(n,l){if(!n)return l;if(!l)return n;var c=new e(n),p=new e(l),u=new r;p.eachMapping(function(f){if(f.originalLine!=null){var m=c.originalPositionFor({line:f.originalLine,column:f.originalColumn});m.source!=null&&u.addMapping({original:{line:m.line,column:m.column},generated:{line:f.generatedLine,column:f.generatedColumn},source:m.source,name:m.name})}});var d=[c,p];return d.forEach(function(f){f.sources.forEach(function(m){u._sources.add(m);var y=f.sourceContentFor(m);y!=null&&u.setSourceContent(m,y)})}),u._sourceRoot=n.sourceRoot,u._file=n.file,JSON.parse(u.toString())}return Xo}var Zb=Qb(),Qc=Xn(Zb),e_=Object.defineProperty,t_=Object.defineProperties,r_=Object.getOwnPropertyDescriptors,Gf=Object.getOwnPropertySymbols,s_=Object.prototype.hasOwnProperty,i_=Object.prototype.propertyIsEnumerable,Xf=(t,e,r)=>e in t?e_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Cn=(t,e)=>{for(var r in e||(e={}))s_.call(e,r)&&Xf(t,r,e[r]);if(Gf)for(var r of Gf(e))i_.call(e,r)&&Xf(t,r,e[r]);return t},In=(t,e)=>t_(t,r_(e));const Ig=(t,e,r,i=require)=>{const n=i("sass"),{compileString:l,renderSync:c}=n,p=Ng(t,r.filename,r.additionalData);let u,d,f;try{if(l){const{pathToFileURL:m,fileURLToPath:y}=i("url"),v=l(p,In(Cn({},r),{url:m(r.filename),sourceMap:!!e}));u=v.css,d=v.loadedUrls.map(T=>y(T)),f=e?v.sourceMap:void 0}else{const m=c(In(Cn({},r),{data:p,file:r.filename,outFile:r.filename,sourceMap:!!e}));u=m.css.toString(),d=m.stats.includedFiles,f=e?JSON.parse(m.map.toString()):void 0}return e?{code:u,errors:[],dependencies:d,map:Qc(e,f)}:{code:u,errors:[],dependencies:d}}catch(m){return{code:"",errors:[m],dependencies:[]}}},n_=(t,e,r,i)=>Ig(t,e,In(Cn({},r),{indentedSyntax:!0}),i),a_=(t,e,r,i=require)=>{const n=i("less");let l,c=null;if(n.render(Ng(t,r.filename,r.additionalData),In(Cn({},r),{syncImport:!0}),(u,d)=>{c=u,l=d}),c)return{code:"",errors:[c],dependencies:[]};const p=l.imports;return e?{code:l.css.toString(),map:Qc(e,l.map),errors:[],dependencies:p}:{code:l.css.toString(),errors:[],dependencies:p}},Jf=(t,e,r,i=require)=>{const n=i("stylus");try{const l=n(t,r);e&&l.set("sourcemap",{inline:!1,comment:!1});const c=l.render(),p=l.deps();return e?{code:c,map:Qc(e,l.sourcemap),errors:[],dependencies:p}:{code:c,errors:[],dependencies:p}}catch(l){return{code:"",errors:[l],dependencies:[]}}};function Ng(t,e,r){return r?Ad(r)?r(t,e):r+t:t}const o_={less:a_,sass:n_,scss:Ig,styl:Jf,stylus:Jf};var l_=Object.defineProperty,c_=Object.defineProperties,u_=Object.getOwnPropertyDescriptors,Kf=Object.getOwnPropertySymbols,h_=Object.prototype.hasOwnProperty,p_=Object.prototype.propertyIsEnumerable,Yf=(t,e,r)=>e in t?l_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Zc=(t,e)=>{for(var r in e||(e={}))h_.call(e,r)&&Yf(t,r,e[r]);if(Kf)for(var r of Kf(e))p_.call(e,r)&&Yf(t,r,e[r]);return t},Og=(t,e)=>c_(t,u_(e));function $x(t){return f_(Og(Zc({},t),{isAsync:!0}))}function f_(t){const{filename:e,id:r,scoped:i=!1,trim:n=!0,isProd:l=!1,modules:c=!1,modulesOptions:p={},preprocessLang:u,postcssOptions:d,postcssPlugins:f}=t,m=u&&o_[u],y=m&&d_(t,m),v=y?y.map:t.inMap||t.map,T=y?y.code:t.source,S=r.replace(/^data-v-/,""),g=`data-v-${S}`,_=(f||[]).slice();_.unshift(Lm({id:S,isProd:l})),n&&_.push(ug()),i&&_.push(_g(g));let b;if(c)throw new Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");const A=Og(Zc({},d),{to:e,from:e});v&&(A.map={inline:!1,annotation:!1,prev:v});let O,x,L;const R=new Set(y?y.dependencies:[]);R.delete(e);const C=[];y&&y.errors.length&&C.push(...y.errors);const k=N=>(N.forEach(F=>{F.type==="dependency"&&R.add(F.file)}),R);try{if(O=Ie(_).process(T,A),t.isAsync)return O.then(N=>({code:N.css||"",map:N.map&&N.map.toJSON(),errors:C,modules:b,rawResult:N,dependencies:k(N.messages)})).catch(N=>({code:"",map:void 0,errors:[...C,N],rawResult:void 0,dependencies:R}));k(O.messages),x=O.css,L=O.map}catch(N){C.push(N)}return{code:x||"",map:L&&L.toJSON(),errors:C,rawResult:O,dependencies:R}}function d_(t,e){if(!t.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 e(t.source,t.inMap||t.map,Zc({filename:t.filename},t.preprocessOptions),t.preprocessCustomRequire)}const Ot="Unknown";function eu(t,e){switch(t.type){case"StringLiteral":case"NumericLiteral":return String(t.value);case"Identifier":if(!e)return t.name}}function Qf(t){return t.filter(e=>!!e).join(", ")}function kg(t){return t.type.endsWith("Literal")}function st(t,e){return!!(t&&e&&t.type==="CallExpression"&&t.callee.type==="Identifier"&&(typeof e=="string"?t.callee.name===e:e(t.callee.name)))}function Kr(t){return t.length>1?`[${t.join(", ")}]`:t[0]}function Pl(t){return t.type==="ImportSpecifier"?t.imported.type==="Identifier"?t.imported.name:t.imported.value:t.type==="ImportNamespaceSpecifier"?"*":"default"}function Mr(t){return t.type==="Identifier"?t.name:t.type==="StringLiteral"?t.value:null}const m_=(Qt.posix||Qt).normalize,y_=/\\/g;function Lg(t){return m_(t.replace(y_,"/"))}const $s=(Qt.posix||Qt).join,g_=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~\-]/;function Mg(t){return g_.test(t)?JSON.stringify(t):t}function Rg(t){for(const e of t)if(e.type==="ExportDefaultDeclaration"&&e.declaration.type==="ObjectExpression")return v_(e.declaration);return{}}function v_(t){const e={};Object.defineProperty(e,"__isScriptSetup",{enumerable:!1,value:!1});for(const r of t.properties)if(r.type==="ObjectProperty"&&!r.computed&&r.key.type==="Identifier"){if(r.key.name==="props")for(const i of _l(r.value))e[i]="props";else if(r.key.name==="inject")for(const i of _l(r.value))e[i]="options";else if(r.value.type==="ObjectExpression"&&(r.key.name==="computed"||r.key.name==="methods"))for(const i of bl(r.value))e[i]="options"}else if(r.type==="ObjectMethod"&&r.key.type==="Identifier"&&(r.key.name==="setup"||r.key.name==="data")){for(const i of r.body.body)if(i.type==="ReturnStatement"&&i.argument&&i.argument.type==="ObjectExpression")for(const n of bl(i.argument))e[n]=r.key.name==="setup"?"setup-maybe-ref":"data"}return e}function bl(t){const e=[];for(const r of t.properties){if(r.type==="SpreadElement")continue;const i=eu(r.key,r.computed);i&&e.push(String(i))}return e}function S_(t){const e=[];for(const r of t.elements)r&&r.type==="StringLiteral"&&e.push(r.value);return e}function _l(t){return t.type==="ArrayExpression"?S_(t):t.type==="ObjectExpression"?bl(t):[]}const E_=44,T_=59,Zf="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Dg=new Uint8Array(64),w_=new Uint8Array(128);for(let t=0;t<Zf.length;t++){const e=Zf.charCodeAt(t);Dg[t]=e,w_[e]=t}function xs(t,e,r){let i=e-r;i=i<0?-i<<1|1:i<<1;do{let n=i&31;i>>>=5,i>0&&(n|=32),t.write(Dg[n])}while(i>0);return e}const ed=1024*16,td=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}};class P_{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(ed)}write(e){const{buffer:r}=this;r[this.pos++]=e,this.pos===ed&&(this.out+=td.decode(r),this.pos=0)}flush(){const{buffer:e,out:r,pos:i}=this;return i>0?r+td.decode(e.subarray(0,i)):r}}function b_(t){const e=new P_;let r=0,i=0,n=0,l=0;for(let c=0;c<t.length;c++){const p=t[c];if(c>0&&e.write(T_),p.length===0)continue;let u=0;for(let d=0;d<p.length;d++){const f=p[d];d>0&&e.write(E_),u=xs(e,f[0],u),f.length!==1&&(r=xs(e,f[1],r),i=xs(e,f[2],i),n=xs(e,f[3],n),f.length!==4&&(l=xs(e,f[4],l)))}}return e.flush()}class Nn{constructor(e){this.bits=e instanceof Nn?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}}class Ys{constructor(e,r,i){this.start=e,this.end=r,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new Ys(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,i){return this.content=e,i||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){const r=e-this.start,i=this.original.slice(0,r),n=this.original.slice(r);this.original=i;const l=new Ys(e,this.end,n);return l.outro=this.outro,this.outro="",this.end=e,this.edited?(l.edit("",!1),this.content=""):this.content=i,l.next=this.next,l.next&&(l.next.previous=l),l.previous=this,this.next=l,l}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const r=this.content.replace(e,"");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(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const r=this.content.replace(e,"");if(r.length){if(r!==this.content){const i=this.split(this.end-r.length);this.edited&&i.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}}function __(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const x_=__();class A_{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=b_(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+x_(this.toString())}}function C_(t){const e=t.split(`
|
|
101
|
-
`),r=e.filter(l=>/^\t+/.test(l)),i=e.filter(l=>/^ {2,}/.test(l));if(r.length===0&&i.length===0)return null;if(r.length>=i.length)return" ";const n=i.reduce((l,c)=>{const p=/^ +/.exec(c)[0].length;return Math.min(p,l)},1/0);return new Array(n+1).join(" ")}function I_(t,e){const r=t.split(/[/\\]/),i=e.split(/[/\\]/);for(r.pop();r[0]===i[0];)r.shift(),i.shift();if(r.length){let n=r.length;for(;n--;)r[n]=".."}return r.concat(i).join("/")}const N_=Object.prototype.toString;function O_(t){return N_.call(t)==="[object Object]"}function rd(t){const e=t.split(`
|
|
102
|
-
`),r=[];for(let i=0,n=0;i<e.length;i++)r.push(n),n+=e[i].length+1;return function(n){let l=0,c=r.length;for(;l<c;){const d=l+c>>1;n<r[d]?c=d:l=d+1}const p=l-1,u=n-r[p];return{line:p,column:u}}}const k_=/\w/;class L_{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,r,i,n){if(r.length){const l=r.length-1;let c=r.indexOf(`
|
|
103
|
-
`,0),p=-1;for(;c>=0&&l>c;){const d=[this.generatedCodeColumn,e,i.line,i.column];n>=0&&d.push(n),this.rawSegments.push(d),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,p=c,c=r.indexOf(`
|
|
104
|
-
`,c+1)}const u=[this.generatedCodeColumn,e,i.line,i.column];n>=0&&u.push(n),this.rawSegments.push(u),this.advance(r.slice(p+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(e,r,i,n,l){let c=r.start,p=!0,u=!1;for(;c<r.end;){if(i[c]===`
|
|
105
|
-
`)n.line+=1,n.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,p=!0,u=!1;else{if(this.hires||p||l.has(c)){const d=[this.generatedCodeColumn,e,n.line,n.column];this.hires==="boundary"?k_.test(i[c])?u||(this.rawSegments.push(d),u=!0):(this.rawSegments.push(d),u=!1):this.rawSegments.push(d)}n.column+=1,this.generatedCodeColumn+=1,p=!1}c+=1}this.pending=null}advance(e){if(!e)return;const r=e.split(`
|
|
106
|
-
`);if(r.length>1){for(let i=0;i<r.length-1;i++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}}const As=`
|
|
107
|
-
`,Hr={insertLeft:!1,insertRight:!1,storeName:!1};class wa{constructor(e,r={}){const i=new Ys(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:i},lastChunk:{writable:!0,value:i},lastSearchedChunk:{writable:!0,value:i},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 Nn},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=i,this.byEnd[e.length]=i}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.appendLeft(r):this.intro+=r,this}appendRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.appendRight(r):this.outro+=r,this}clone(){const e=new wa(this.original,{filename:this.filename,offset:this.offset});let r=this.firstChunk,i=e.firstChunk=e.lastSearchedChunk=r.clone();for(;r;){e.byStart[i.start]=i,e.byEnd[i.end]=i;const n=r.next,l=n&&n.clone();l&&(i.next=l,l.previous=i,i=l),r=n}return e.lastChunk=i,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new Nn(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const r=0,i=Object.keys(this.storedNames),n=new L_(e.hires),l=rd(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext(c=>{const p=l(c.start);c.intro.length&&n.advance(c.intro),c.edited?n.addEdit(r,c.content,p,c.storeName?i.indexOf(c.original):-1):n.addUneditedChunk(r,c,this.original,p,this.sourcemapLocations),c.outro.length&&n.advance(c.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?I_(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:i,mappings:n.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(e){return new A_(this.generateDecodedMap(e))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=C_(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(e,r){const i=/^[^\r\n]/gm;if(O_(e)&&(r=e,e=void 0),e===void 0&&(this._ensureindentStr(),e=this.indentStr||" "),e==="")return this;r=r||{};const n={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(f=>{for(let m=f[0];m<f[1];m+=1)n[m]=!0});let l=r.indentStart!==!1;const c=d=>l?`${e}${d}`:(l=!0,d);this.intro=this.intro.replace(i,c);let p=0,u=this.firstChunk;for(;u;){const d=u.end;if(u.edited)n[p]||(u.content=u.content.replace(i,c),u.content.length&&(l=u.content[u.content.length-1]===`
|
|
108
|
-
`));else for(p=u.start;p<d;){if(!n[p]){const f=this.original[p];f===`
|
|
109
|
-
`?l=!0:f!=="\r"&&l&&(l=!1,p===u.start||(this._splitChunk(u,p),u=u.next),u.prependRight(e))}p+=1}p=u.end,u=u.next}return this.outro=this.outro.replace(i,c),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,r){return Hr.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Hr.insertLeft=!0),this.appendLeft(e,r)}insertRight(e,r){return Hr.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Hr.insertRight=!0),this.prependRight(e,r)}move(e,r,i){if(e=e+this.offset,r=r+this.offset,i=i+this.offset,i>=e&&i<=r)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(r),this._split(i);const n=this.byStart[e],l=this.byEnd[r],c=n.previous,p=l.next,u=this.byStart[i];if(!u&&l===this.lastChunk)return this;const d=u?u.previous:this.lastChunk;return c&&(c.next=p),p&&(p.previous=c),d&&(d.next=n),u&&(u.previous=l),n.previous||(this.firstChunk=l.next),l.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=d,l.next=u||null,d||(this.firstChunk=n),u||(this.lastChunk=l),this}overwrite(e,r,i,n){return n=n||{},this.update(e,r,i,{...n,overwrite:!n.contentOnly})}update(e,r,i,n){if(e=e+this.offset,r=r+this.offset,typeof i!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(e===r)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(r),n===!0&&(Hr.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Hr.storeName=!0),n={storeName:!0});const l=n!==void 0?n.storeName:!1,c=n!==void 0?n.overwrite:!1;if(l){const d=this.original.slice(e,r);Object.defineProperty(this.storedNames,d,{writable:!0,value:!0,enumerable:!0})}const p=this.byStart[e],u=this.byEnd[r];if(p){let d=p;for(;d!==u;){if(d.next!==this.byStart[d.end])throw new Error("Cannot overwrite across a split point");d=d.next,d.edit("",!1)}p.edit(i,l,!c)}else{const d=new Ys(e,r,"").edit(i,l);u.next=d,d.previous=u}return this}prepend(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byEnd[e];return i?i.prependLeft(r):this.intro=r+this.intro,this}prependRight(e,r){if(e=e+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(e);const i=this.byStart[e];return i?i.prependRight(r):this.outro=r+this.outro,this}remove(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let i=this.byStart[e];for(;i;)i.intro="",i.outro="",i.edit(""),i=r>i.end?this.byStart[i.end]:null;return this}reset(e,r){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}if(e===r)return this;if(e<0||r>this.original.length)throw new Error("Character is out of bounds");if(e>r)throw new Error("end must be greater than start");this._split(e),this._split(r);let i=this.byStart[e];for(;i;)i.reset(),i=r>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(As);if(e!==-1)return this.outro.substr(e+1);let r=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(e=i.outro.lastIndexOf(As),e!==-1)return i.outro.substr(e+1)+r;r=i.outro+r}if(i.content.length>0){if(e=i.content.lastIndexOf(As),e!==-1)return i.content.substr(e+1)+r;r=i.content+r}if(i.intro.length>0){if(e=i.intro.lastIndexOf(As),e!==-1)return i.intro.substr(e+1)+r;r=i.intro+r}}while(i=i.previous);return e=this.intro.lastIndexOf(As),e!==-1?this.intro.substr(e+1)+r:this.intro+r}slice(e=0,r=this.original.length-this.offset){if(e=e+this.offset,r=r+this.offset,this.original.length!==0){for(;e<0;)e+=this.original.length;for(;r<0;)r+=this.original.length}let i="",n=this.firstChunk;for(;n&&(n.start>e||n.end<=e);){if(n.start<r&&n.end>=r)return i;n=n.next}if(n&&n.edited&&n.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const l=n;for(;n;){n.intro&&(l!==n||n.start===e)&&(i+=n.intro);const c=n.start<r&&n.end>=r;if(c&&n.edited&&n.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);const p=l===n?e-n.start:0,u=c?n.content.length+r-n.end:n.content.length;if(i+=n.content.slice(p,u),n.outro&&(!c||n.end===r)&&(i+=n.outro),c)break;n=n.next}return i}snip(e,r){const i=this.clone();return i.remove(0,e),i.remove(r,i.original.length),i}_split(e){if(this.byStart[e]||this.byEnd[e])return;let r=this.lastSearchedChunk;const i=e>r.end;for(;r;){if(r.contains(e))return this._splitChunk(r,e);r=i?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(e,r){if(e.edited&&e.content.length){const n=rd(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${e.original}")`)}const i=e.split(r);return this.byEnd[r]=e,this.byStart[r]=i,this.byEnd[i.end]=i,e===this.lastChunk&&(this.lastChunk=i),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,r=this.firstChunk;for(;r;)e+=r.toString(),r=r.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0}length(){let e=this.firstChunk,r=0;do r+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const r=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let i=this.lastChunk;do{const n=i.end,l=i.trimEnd(r);if(i.end!==n&&(this.lastChunk===i&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),l)return!0;i=i.previous}while(i);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const r=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let i=this.firstChunk;do{const n=i.end,l=i.trimStart(r);if(i.end!==n&&(i===this.lastChunk&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),l)return!0;i=i.next}while(i);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,r){function i(l,c){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(p,u)=>u==="$"?"$":u==="&"?l[0]:+u<l.length?l[+u]:`$${u}`):r(...l,l.index,c,l.groups)}function n(l,c){let p;const u=[];for(;p=l.exec(c);)u.push(p);return u}if(e.global)n(e,this.original).forEach(c=>{if(c.index!=null){const p=i(c,this.original);p!==c[0]&&this.overwrite(c.index,c.index+c[0].length,p)}});else{const l=this.original.match(e);if(l&&l.index!=null){const c=i(l,this.original);c!==l[0]&&this.overwrite(l.index,l.index+l[0].length,c)}}return this}_replaceString(e,r){const{original:i}=this,n=i.indexOf(e);return n!==-1&&this.overwrite(n,n+e.length,r),this}replace(e,r){return typeof e=="string"?this._replaceString(e,r):this._replaceRegexp(e,r)}_replaceAllString(e,r){const{original:i}=this,n=e.length;for(let l=i.indexOf(e);l!==-1;l=i.indexOf(e,l+n))i.slice(l,l+n)!==r&&this.overwrite(l,l+n,r);return this}replaceAll(e,r){if(typeof e=="string")return this._replaceAllString(e,r);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,r)}}var sd,id;class M_{constructor(e,r){this.descriptor=e,this.options=r,this.isCE=!1,this.source=this.descriptor.source,this.filename=this.descriptor.filename,this.s=new wa(this.source),this.startOffset=(sd=this.descriptor.scriptSetup)==null?void 0:sd.loc.start.offset,this.endOffset=(id=this.descriptor.scriptSetup)==null?void 0:id.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:i,scriptSetup:n}=e,l=i&&i.lang,c=n&&n.lang;this.isJS=l==="js"||l==="jsx"||c==="js"||c==="jsx",this.isTS=l==="ts"||l==="tsx"||c==="ts"||c==="tsx";const p=r.customElement,u=this.descriptor.filename;p&&(this.isCE=typeof p=="boolean"?p:p(u));const d=xl(l||c,r.babelParserPlugins);function f(m,y){try{return $t.parse(m,{plugins:d,sourceType:"module"}).program}catch(v){throw v.message=`[vue/compiler-sfc] ${v.message}
|
|
110
|
-
|
|
111
|
-
${e.filename}
|
|
112
|
-
${Qs(e.source,v.pos+y,v.pos+y+1)}`,v}}this.scriptAst=e.script&&f(e.script.content,e.script.loc.start.offset),this.scriptSetupAst=e.scriptSetup&&f(e.scriptSetup.content,this.startOffset)}helper(e){return this.helperImports.add(e),`_${e}`}getString(e,r=!0){return(r?this.descriptor.scriptSetup:this.descriptor.script).content.slice(e.start,e.end)}warn(e,r,i){xn(nd(e,r,this,i))}error(e,r,i){throw new Error(`[@vue/compiler-sfc] ${nd(e,r,this,i)}`)}}function nd(t,e,r,i){const n=i?i.offset:r.startOffset;return`${t}
|
|
113
|
-
|
|
114
|
-
${(i||r.descriptor).filename}
|
|
115
|
-
${Qs((i||r.descriptor).source,e.start+n,e.end+n)}`}function xl(t,e,r=!1){const i=[];return(!e||!e.some(n=>n==="importAssertions"||n==="importAttributes"||Be(n)&&n[0]==="importAttributes"))&&i.push("importAttributes"),t==="jsx"||t==="tsx"||t==="mtsx"?i.push("jsx"):e&&(e=e.filter(n=>n!=="jsx")),(t==="ts"||t==="mts"||t==="tsx"||t==="mtsx")&&(i.push(["typescript",{dts:r}],"explicitResourceManagement"),(!e||!e.includes("decorators"))&&i.push("decorators-legacy")),e&&i.push(...e),i}function R_(t,e,r){if(!D_(t)){e.append(`
|
|
116
|
-
const ${r} = {}`);return}t.forEach(i=>{if(i.type==="ExportDefaultDeclaration")if(i.declaration.type==="ClassDeclaration"&&i.declaration.id){const n=i.declaration.decorators&&i.declaration.decorators.length>0?i.declaration.decorators[i.declaration.decorators.length-1].end:i.start;e.overwrite(n,i.declaration.id.start," class "),e.append(`
|
|
117
|
-
const ${r} = ${i.declaration.id.name}`)}else e.overwrite(i.start,i.declaration.start,`const ${r} = `);else if(i.type==="ExportNamedDeclaration"){for(const n of i.specifiers)if(n.type==="ExportSpecifier"&&n.exported.type==="Identifier"&&n.exported.name==="default"){if(i.source)if(n.local.name==="default"){e.prepend(`import { default as __VUE_DEFAULT__ } from '${i.source.value}'
|
|
118
|
-
`);const c=Jo(e,n.local.end,i.end);e.remove(n.start,c),e.append(`
|
|
119
|
-
const ${r} = __VUE_DEFAULT__`);continue}else{e.prepend(`import { ${e.slice(n.local.start,n.local.end)} as __VUE_DEFAULT__ } from '${i.source.value}'
|
|
120
|
-
`);const c=Jo(e,n.exported.end,i.end);e.remove(n.start,c),e.append(`
|
|
121
|
-
const ${r} = __VUE_DEFAULT__`);continue}const l=Jo(e,n.end,i.end);e.remove(n.start,l),e.append(`
|
|
122
|
-
const ${r} = ${n.local.name}`)}}})}function D_(t){for(const e of t){if(e.type==="ExportDefaultDeclaration")return!0;if(e.type==="ExportNamedDeclaration"&&e.specifiers.some(r=>r.exported.name==="default"))return!0}return!1}function Jo(t,e,r){let i=!1,n=e;for(;e<r;)if(/\s/.test(t.slice(e,e+1)))e++;else if(t.slice(e,e+1)===","){e++,i=!0;break}else if(t.slice(e,e+1)==="}")break;return i?e:n}var F_=Object.defineProperty,B_=Object.defineProperties,$_=Object.getOwnPropertyDescriptors,ad=Object.getOwnPropertySymbols,U_=Object.prototype.hasOwnProperty,q_=Object.prototype.propertyIsEnumerable,od=(t,e,r)=>e in t?F_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,j_=(t,e)=>{for(var r in e||(e={}))U_.call(e,r)&&od(t,r,e[r]);if(ad)for(var r of ad(e))q_.call(e,r)&&od(t,r,e[r]);return t},V_=(t,e)=>B_(t,$_(e));const Xr="__default__";function z_(t,e){var r;const i=t.descriptor.script;if(i.lang&&!t.isJS&&!t.isTS)return i;try{let n=i.content,l=i.map;const c=t.scriptAst,p=Rg(c.body),{cssVars:u}=t.descriptor,{genDefaultAs:d,isProd:f}=t.options;if(u.length||d){const m=d||Xr,y=new wa(n);R_(c.body,y,m),n=y.toString(),u.length&&!((r=t.options.templateOptions)!=null&&r.ssr)&&(n+=WT(u,p,e,!!f,m)),d||(n+=`
|
|
123
|
-
export default ${m}`)}return V_(j_({},i),{content:n,map:l,bindings:p,scriptAst:c.body})}catch{return i}}var W_=Object.defineProperty,H_=Object.defineProperties,G_=Object.getOwnPropertyDescriptors,ld=Object.getOwnPropertySymbols,X_=Object.prototype.hasOwnProperty,J_=Object.prototype.propertyIsEnumerable,cd=(t,e,r)=>e in t?W_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,On=(t,e)=>{for(var r in e||(e={}))X_.call(e,r)&&cd(t,r,e[r]);if(ld)for(var r of ld(e))J_.call(e,r)&&cd(t,r,e[r]);return t},kn=(t,e)=>H_(t,G_(e));class tu{constructor(e,r,i=0,n=Object.create(null),l=Object.create(null),c=Object.create(null)){this.filename=e,this.source=r,this.offset=i,this.imports=n,this.types=l,this.declares=c,this.isGenericScope=!1,this.resolvedImportSources=Object.create(null),this.exportedTypes=Object.create(null),this.exportedDeclares=Object.create(null)}}function Qe(t,e,r,i){const n=!i;if(n&&e._resolvedElements)return e._resolvedElements;const l=K_(t,e,e._ownerScope||r||ba(t),i);return n?e._resolvedElements=l:l}function K_(t,e,r,i){var n,l;if(e.leadingComments&&e.leadingComments.some(c=>c.value.includes("@vue-ignore")))return{props:{}};switch(e.type){case"TSTypeLiteral":return Fg(t,e.members,r,i);case"TSInterfaceDeclaration":return Y_(t,e,r,i);case"TSTypeAliasDeclaration":case"TSTypeAnnotation":case"TSParenthesizedType":return Qe(t,e.typeAnnotation,r,i);case"TSFunctionType":return{props:{},calls:[e]};case"TSUnionType":case"TSIntersectionType":return ud(e.types.map(c=>Qe(t,c,r,i)),e.type);case"TSMappedType":return Q_(t,e,r,i);case"TSIndexedAccessType":{const c=Bg(t,e,r);return ud(c.map(p=>Qe(t,p,p._ownerScope)),"TSUnionType")}case"TSExpressionWithTypeArguments":case"TSTypeReference":{const c=su(e);if((c==="ExtractPropTypes"||c==="ExtractPublicPropTypes")&&e.typeParameters&&((n=r.imports[c])==null?void 0:n.source)==="vue")return dd(Qe(t,e.typeParameters.params[0],r,i),r);const p=qt(t,e,r);if(p){let u;return(p.type==="TSTypeAliasDeclaration"||p.type==="TSInterfaceDeclaration")&&p.typeParameters&&e.typeParameters&&(u=Object.create(null),p.typeParameters.params.forEach((d,f)=>{let m=i&&i[d.name];m||(m=e.typeParameters.params[f]),u[d.name]=m})),Qe(t,p,p._ownerScope,u)}else{if(typeof c=="string"){if(i&&i[c])return Qe(t,i[c],r,i);if(Z_.has(c))return ex(t,e,c,r,i);if(c==="ReturnType"&&e.typeParameters){const u=cx(t,e.typeParameters.params[0],r);if(u)return Qe(t,u,r)}}return t.error("Unresolvable type reference or unsupported built-in utility type",e,r)}}case"TSImportType":{if(Mr(e.argument)==="vue"&&((l=e.qualifier)==null?void 0:l.type)==="Identifier"&&e.qualifier.name==="ExtractPropTypes"&&e.typeParameters)return dd(Qe(t,e.typeParameters.params[0],r),r);const c=Pa(t,e.argument,r,e.argument.value),p=qt(t,e,c);if(p)return Qe(t,p,p._ownerScope);break}case"TSTypeQuery":{const c=qt(t,e,r);if(c)return Qe(t,c,c._ownerScope)}break}return t.error(`Unresolvable type: ${e.type}`,e,r)}function Fg(t,e,r=ba(t),i){const n={props:{}};for(const l of e)if(l.type==="TSPropertySignature"||l.type==="TSMethodSignature"){i&&(r=nu(r),r.isGenericScope=!0,Object.assign(r.types,i)),l._ownerScope=r;const c=Mr(l.key);if(c&&!l.computed)n.props[c]=l;else if(l.key.type==="TemplateLiteral")for(const p of ru(t,l.key,r))n.props[p]=l;else t.error("Unsupported computed key in type referenced by a macro",l.key,r)}else l.type==="TSCallSignatureDeclaration"&&(n.calls||(n.calls=[])).push(l);return n}function ud(t,e){if(t.length===1)return t[0];const r={props:{}},{props:i}=r;for(const{props:n,calls:l}of t){for(const c in n)Nl(i,c)?i[c]=Us(i[c].key,{type:e,types:[i[c],n[c]]},i[c]._ownerScope,i[c].optional||n[c].optional):i[c]=n[c];l&&(r.calls||(r.calls=[])).push(...l)}return r}function Us(t,e,r,i){return{type:"TSPropertySignature",key:t,kind:"get",optional:i,typeAnnotation:{type:"TSTypeAnnotation",typeAnnotation:e},_ownerScope:r}}function Y_(t,e,r,i){const n=Fg(t,e.body.body,e._ownerScope,i);if(e.extends)for(const l of e.extends)try{const{props:c,calls:p}=Qe(t,l,r);for(const u in c)Nl(n.props,u)||(n.props[u]=c[u]);p&&(n.calls||(n.calls=[])).push(...p)}catch{t.error(`Failed to resolve extends base type.
|
|
124
|
-
If this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:
|
|
125
|
-
|
|
126
|
-
interface Props extends /* @vue-ignore */ Base {}
|
|
127
|
-
|
|
128
|
-
Note: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.`,l,r)}return n}function Q_(t,e,r,i){const n={props:{}};let l;if(e.nameType){const{name:c,constraint:p}=e.typeParameter;r=nu(r),Object.assign(r.types,kn(On({},i),{[c]:p})),l=Ft(t,e.nameType,r)}else l=Ft(t,e.typeParameter.constraint,r);for(const c of l)n.props[c]=Us({type:"Identifier",name:c},e.typeAnnotation,r,!!e.optional);return n}function Bg(t,e,r){var i,n;if(e.indexType.type==="TSNumberKeyword")return $g(t,e.objectType,r);const{indexType:l,objectType:c}=e,p=[];let u,d;l.type==="TSStringKeyword"?(d=Qe(t,c,r),u=Object.keys(d.props)):(u=Ft(t,l,r),d=Qe(t,c,r));for(const f of u){const m=(n=(i=d.props[f])==null?void 0:i.typeAnnotation)==null?void 0:n.typeAnnotation;m&&(m._ownerScope=d.props[f]._ownerScope,p.push(m))}return p}function $g(t,e,r){if(e.type==="TSArrayType")return[e.elementType];if(e.type==="TSTupleType")return e.elementTypes.map(i=>i.type==="TSNamedTupleMember"?i.elementType:i);if(e.type==="TSTypeReference"){if(su(e)==="Array"&&e.typeParameters)return e.typeParameters.params;{const i=qt(t,e,r);if(i)return $g(t,i,r)}}return t.error("Failed to resolve element type from target type",e,r)}function Ft(t,e,r){switch(e.type){case"StringLiteral":return[e.value];case"TSLiteralType":return Ft(t,e.literal,r);case"TSUnionType":return e.types.map(i=>Ft(t,i,r)).flat();case"TemplateLiteral":return ru(t,e,r);case"TSTypeReference":{const i=qt(t,e,r);if(i)return Ft(t,i,r);if(e.typeName.type==="Identifier"){const n=(l=0)=>Ft(t,e.typeParameters.params[l],r);switch(e.typeName.name){case"Extract":return n(1);case"Exclude":{const l=n(1);return n().filter(c=>!l.includes(c))}case"Uppercase":return n().map(l=>l.toUpperCase());case"Lowercase":return n().map(l=>l.toLowerCase());case"Capitalize":return n().map(cr);case"Uncapitalize":return n().map(l=>l[0].toLowerCase()+l.slice(1));default:t.error("Unsupported type when resolving index type",e.typeName,r)}}}}return t.error("Failed to resolve index type into finite keys",e,r)}function ru(t,e,r){if(!e.expressions.length)return[e.quasis[0].value.raw];const i=[],n=e.expressions[0],l=e.quasis[0],c=l?l.value.raw:"",p=Ft(t,n,r),u=ru(t,kn(On({},e),{expressions:e.expressions.slice(1),quasis:l?e.quasis.slice(1):e.quasis}),r);for(const d of p)for(const f of u)i.push(c+d+f);return i}const Z_=new Set(["Partial","Required","Readonly","Pick","Omit"]);function ex(t,e,r,i,n){const l=Qe(t,e.typeParameters.params[0],i,n);switch(r){case"Partial":{const u={props:{},calls:l.calls};return Object.keys(l.props).forEach(d=>{u.props[d]=kn(On({},l.props[d]),{optional:!0})}),u}case"Required":{const u={props:{},calls:l.calls};return Object.keys(l.props).forEach(d=>{u.props[d]=kn(On({},l.props[d]),{optional:!1})}),u}case"Readonly":return l;case"Pick":{const u=Ft(t,e.typeParameters.params[1],i),d={props:{},calls:l.calls};for(const f of u)d.props[f]=l.props[f];return d}case"Omit":const c=Ft(t,e.typeParameters.params[1],i),p={props:{},calls:l.calls};for(const u in l.props)c.includes(u)||(p.props[u]=l.props[u]);return p}}function qt(t,e,r,i,n=!1){const l=!(r!=null&&r.isGenericScope);if(l&&e._resolvedReference)return e._resolvedReference;const c=Al(t,r||ba(t),i||su(e),e,n);return l?e._resolvedReference=c:c}function Al(t,e,r,i,n){if(typeof r=="string"){if(e.imports[r])return rx(t,i,r,e);{const l=i.type==="TSTypeQuery"?n?e.exportedDeclares:e.declares:n?e.exportedTypes:e.types;if(l[r])return l[r];{const c=tx(t);if(c)for(const p of c){const u=i.type==="TSTypeQuery"?p.declares:p.types;if(u[r])return(t.deps||(t.deps=new Set)).add(p.filename),u[r]}}}}else{let l=Al(t,e,r[0],i,n);if(l&&(l.type!=="TSModuleDeclaration"&&(l=l._ns),l)){const c=ix(t,l,l._ownerScope||e);return Al(t,c,r.length>2?r.slice(1):r[r.length-1],i,!l.declare)}}}function su(t){const e=t.type==="TSTypeReference"?t.typeName:t.type==="TSExpressionWithTypeArguments"?t.expression:t.type==="TSImportType"?t.qualifier:t.exprName;return(e==null?void 0:e.type)==="Identifier"?e.name:(e==null?void 0:e.type)==="TSQualifiedName"?Ug(e):"default"}function Ug(t){return t.type==="Identifier"?[t.name]:[...Ug(t.left),t.right.name]}function tx(t){if(t.options.globalTypeFiles){if(!iu(t))throw new Error("[vue/compiler-sfc] globalTypeFiles requires fs access.");return t.options.globalTypeFiles.map(r=>qg(t,Lg(r),!0))}}function iu(t){if(t.fs)return t.fs;const e=t.options.fs||void 0;if(e)return t.fs={fileExists(r){return r.endsWith(".vue.ts")&&(r=r.replace(/\.ts$/,"")),e.fileExists(r)},readFile(r){return r.endsWith(".vue.ts")&&(r=r.replace(/\.ts$/,"")),e.readFile(r)},realpath:e.realpath}}function rx(t,e,r,i){const{source:n,imported:l}=i.imports[r],c=Pa(t,e,i,n);return qt(t,e,c,l,!0)}function Pa(t,e,r,i){let n;try{n=iu(t)}catch(c){return t.error(c.message,e,r)}if(!n)return t.error("No fs option provided to `compileScript` in non-Node environment. File system access is required for resolving imported types.",e,r);let l=r.resolvedImportSources[i];if(!l){if(i.startsWith("..")){const p=$s(vn(r.filename),i);l=hd(p,n)}else if(i[0]==="."){const c=$s(vn(r.filename),i);l=hd(c,n)}else return t.error("Type import from non-relative sources is not supported in the browser build.",e,r);l&&(l=r.resolvedImportSources[i]=Lg(l))}return l?((t.deps||(t.deps=new Set)).add(l),qg(t,l)):t.error(`Failed to resolve import source ${JSON.stringify(i)}.`,e,r)}function hd(t,e){t=t.replace(/\.js$/,"");const r=i=>{if(e.fileExists(i))return i};return r(t)||r(t+".ts")||r(t+".tsx")||r(t+".d.ts")||r($s(t,"index.ts"))||r($s(t,"index.tsx"))||r($s(t,"index.d.ts"))}const pd=Tc();function qg(t,e,r=!1){const i=pd.get(e);if(i)return i;const l=iu(t).readFile(e)||"",c=sx(e,l,t.options.babelParserPlugins),p=new tu(e,l,0,jg(c));return au(t,c,p,r),pd.set(e,p),p}function sx(t,e,r){const i=_c(t);if(i===".ts"||i===".mts"||i===".tsx"||i===".mtsx")return $t.parse(e,{plugins:xl(i.slice(1),r,/\.d\.m?ts$/.test(t)),sourceType:"module"}).program.body;if(i===".vue"){const{descriptor:{script:n,scriptSetup:l}}=_1(e);if(!n&&!l)return[];const c=n?n.loc.start.offset:1/0,p=l?l.loc.start.offset:1/0,u=c<p?n:l,d=c<p?l:n;let f=" ".repeat(Math.min(c,p))+u.content;d&&(f+=" ".repeat(d.loc.start.offset-n.loc.end.offset)+d.content);const m=(n==null?void 0:n.lang)||(l==null?void 0:l.lang);return $t.parse(f,{plugins:xl(m,r),sourceType:"module"}).program.body}return[]}function ba(t){if(t.scope)return t.scope;const e="ast"in t?t.ast:t.scriptAst?[...t.scriptAst.body,...t.scriptSetupAst.body]:t.scriptSetupAst.body,r=new tu(t.filename,t.source,"startOffset"in t?t.startOffset:0,"userImports"in t?Object.create(t.userImports):jg(e));return au(t,e,r),t.scope=r}function ix(t,e,r){if(e._resolvedChildScope)return e._resolvedChildScope;const i=nu(r);if(e.body.type==="TSModuleDeclaration"){const n=e.body;n._ownerScope=i;const l=Mr(n.id);i.types[l]=i.exportedTypes[l]=n}else au(t,e.body.body,i);return e._resolvedChildScope=i}function nu(t){return new tu(t.filename,t.source,t.offset,Object.create(t.imports),Object.create(t.types),Object.create(t.declares))}const nx=/^Import|^Export/;function au(t,e,r,i=!1){const{types:n,declares:l,exportedTypes:c,exportedDeclares:p,imports:u}=r,d=i?!e.some(f=>nx.test(f.type)):!1;for(const f of e)if(i){if(d)f.declare&&Sr(f,n,l);else if(f.type==="TSModuleDeclaration"&&f.global)for(const m of f.body.body)Sr(m,n,l)}else Sr(f,n,l);if(!i)for(const f of e)if(f.type==="ExportNamedDeclaration"){if(f.declaration)Sr(f.declaration,n,l),Sr(f.declaration,c,p);else for(const m of f.specifiers)if(m.type==="ExportSpecifier"){const y=m.local.name,v=Mr(m.exported);f.source?(u[v]={source:f.source.value,imported:y},c[v]={type:"TSTypeReference",typeName:{type:"Identifier",name:y},_ownerScope:r}):n[y]&&(c[v]=n[y])}}else if(f.type==="ExportAllDeclaration"){const m=Pa(t,f.source,r,f.source.value);Object.assign(r.exportedTypes,m.exportedTypes)}else f.type==="ExportDefaultDeclaration"&&f.declaration&&(f.declaration.type!=="Identifier"?(Sr(f.declaration,n,l,"default"),Sr(f.declaration,c,p,"default")):n[f.declaration.name]&&(c.default=n[f.declaration.name]));for(const f of Object.keys(n)){const m=n[f];m._ownerScope=r,m._ns&&(m._ns._ownerScope=r)}for(const f of Object.keys(l))l[f]._ownerScope=r}function Sr(t,e,r,i){switch(t.type){case"TSInterfaceDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":{const n=i||Mr(t.id);let l=e[n];if(l){if(t.type==="TSModuleDeclaration"){l.type==="TSModuleDeclaration"?ou(l,t):fd(l,t);break}if(l.type==="TSModuleDeclaration"){e[n]=t,fd(t,l);break}if(l.type!==t.type)break;t.type==="TSInterfaceDeclaration"?l.body.body.push(...t.body.body):l.members.push(...t.members)}else e[n]=t;break}case"ClassDeclaration":(i||t.id)&&(e[i||Mr(t.id)]=t);break;case"TSTypeAliasDeclaration":e[t.id.name]=t.typeParameters?t:t.typeAnnotation;break;case"TSDeclareFunction":t.id&&(r[t.id.name]=t);break;case"VariableDeclaration":{if(t.declare)for(const n of t.declarations)n.id.type==="Identifier"&&n.id.typeAnnotation&&(r[n.id.name]=n.id.typeAnnotation.typeAnnotation);break}}}function ou(t,e){const r=t.body,i=e.body;r.type==="TSModuleDeclaration"?i.type==="TSModuleDeclaration"?ou(r,i):i.body.push({type:"ExportNamedDeclaration",declaration:r,exportKind:"type",specifiers:[]}):i.type==="TSModuleDeclaration"?r.body.push({type:"ExportNamedDeclaration",declaration:i,exportKind:"type",specifiers:[]}):r.body.push(...i.body)}function fd(t,e){t._ns?ou(t._ns,e):t._ns=e}function jg(t){const e=Object.create(null);for(const r of t)ax(r,e);return e}function ax(t,e){if(t.type==="ImportDeclaration")for(const r of t.specifiers)e[r.local.name]={imported:Pl(r),source:t.source.value}}function Ye(t,e,r=e._ownerScope||ba(t),i=!1){try{switch(e.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 n=new Set,l=e.type==="TSTypeLiteral"?e.members:e.body.body;for(const c of l)if(i)if(c.type==="TSPropertySignature"&&c.key.type==="NumericLiteral")n.add("Number");else if(c.type==="TSIndexSignature"){const p=c.parameters[0].typeAnnotation;if(p&&p.type!=="Noop"){const u=Ye(t,p.typeAnnotation,r)[0];if(u===Ot)return[Ot];n.add(u)}}else n.add("String");else c.type==="TSCallSignatureDeclaration"||c.type==="TSConstructSignatureDeclaration"?n.add("Function"):n.add("Object");return n.size?Array.from(n):[i?Ot:"Object"]}case"TSPropertySignature":if(e.typeAnnotation)return Ye(t,e.typeAnnotation.typeAnnotation,r);break;case"TSMethodSignature":case"TSFunctionType":return["Function"];case"TSArrayType":case"TSTupleType":return["Array"];case"TSLiteralType":switch(e.literal.type){case"StringLiteral":return["String"];case"BooleanLiteral":return["Boolean"];case"NumericLiteral":case"BigIntLiteral":return["Number"];default:return[Ot]}case"TSTypeReference":{const n=qt(t,e,r);if(n)return Ye(t,n,n._ownerScope,i);if(e.typeName.type==="Identifier")if(i)switch(e.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(e.typeParameters&&e.typeParameters.params[0])return Ye(t,e.typeParameters.params[0],r,!0);break;case"Pick":case"Extract":if(e.typeParameters&&e.typeParameters.params[1])return Ye(t,e.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(e.typeName.name){case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":case"Error":return[e.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(e.typeParameters&&e.typeParameters.params[0])return Ye(t,e.typeParameters.params[0],r).filter(l=>l!=="null");break;case"Extract":if(e.typeParameters&&e.typeParameters.params[1])return Ye(t,e.typeParameters.params[1],r);break;case"Exclude":case"OmitThisParameter":if(e.typeParameters&&e.typeParameters.params[0])return Ye(t,e.typeParameters.params[0],r);break}break}case"TSParenthesizedType":return Ye(t,e.typeAnnotation,r);case"TSUnionType":return Ko(t,e.types,r,i);case"TSIntersectionType":return Ko(t,e.types,r,i).filter(n=>n!==Ot);case"TSEnumDeclaration":return ox(e);case"TSSymbolKeyword":return["Symbol"];case"TSIndexedAccessType":{const n=Bg(t,e,r);return Ko(t,n,r,i)}case"ClassDeclaration":return["Object"];case"TSImportType":{const n=Pa(t,e.argument,r,e.argument.value),l=qt(t,e,n);if(l)return Ye(t,l,l._ownerScope);break}case"TSTypeQuery":{const n=e.exprName;if(n.type==="Identifier"){const l=r.declares[n.name];if(l)return Ye(t,l,l._ownerScope,i)}break}case"TSTypeOperator":return Ye(t,e.typeAnnotation,r,e.operator==="keyof");case"TSAnyKeyword":{if(i)return["String","Number","Symbol"];break}}}catch{}return[Ot]}function Ko(t,e,r,i=!1){return e.length===1?Ye(t,e[0],r,i):[...new Set([].concat(...e.map(n=>Ye(t,n,r,i))))]}function ox(t){const e=new Set;for(const r of t.members)if(r.initializer)switch(r.initializer.type){case"StringLiteral":e.add("String");break;case"NumericLiteral":e.add("Number");break}return e.size?[...e]:["Number"]}function dd({props:t},e){const r={props:{}};for(const i in t){const n=t[i];r.props[i]=Cl(n.key,n.typeAnnotation.typeAnnotation,e)}return r}function Cl(t,e,r,i=!0,n=!0){if(n&&e.type==="TSTypeLiteral"){const l=md(e,"type");if(l){const c=md(e,"required"),p=c&&c.type==="TSLiteralType"&&c.literal.type==="BooleanLiteral"?!c.literal.value:!0;return Cl(t,l,r,p,!1)}}else if(e.type==="TSTypeReference"&&e.typeName.type==="Identifier"){if(e.typeName.name.endsWith("Constructor"))return Us(t,lx(e.typeName.name),r,i);if(e.typeName.name==="PropType"&&e.typeParameters)return Us(t,e.typeParameters.params[0],r,i)}if((e.type==="TSTypeReference"||e.type==="TSImportType")&&e.typeParameters)for(const l of e.typeParameters.params){const c=Cl(t,l,r,i);if(c)return c}return Us(t,{type:"TSNullKeyword"},r,i)}function lx(t){const e=t.slice(0,-11);switch(e){case"String":case"Number":case"Boolean":return{type:`TS${e}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:e}}}return{type:"TSNullKeyword"}}function md(t,e){const r=t.members.find(i=>i.type==="TSPropertySignature"&&!i.computed&&Mr(i.key)===e&&i.typeAnnotation);return r&&r.typeAnnotation.typeAnnotation}function cx(t,e,r){var i;let n=e;if((e.type==="TSTypeReference"||e.type==="TSTypeQuery"||e.type==="TSImportType")&&(n=qt(t,e,r)),!!n){if(n.type==="TSFunctionType")return(i=n.typeAnnotation)==null?void 0:i.typeAnnotation;if(n.type==="TSDeclareFunction")return n.returnType}}function Vg(t,e,r){if(e.type==="TSTypeReference"){const n=qt(t,e,r);n&&(e=n)}let i;return e.type==="TSUnionType"?i=e.types.flatMap(n=>Vg(t,n,r)):i=[e],i}const _a="defineModel";function yd(t,e,r){if(!st(e,_a))return!1;t.hasDefineModelCall=!0;const i=e.typeParameters&&e.typeParameters.params[0]||void 0;let n,l;const c=e.arguments[0]&&vt(e.arguments[0]),p=c&&c.type==="StringLiteral";p?(n=c.value,l=e.arguments[1]):(n="modelValue",l=c),t.modelDecls[n]&&t.error(`duplicate model name ${JSON.stringify(n)}`,e);let u=l&&t.getString(l),d=!l;const f=[];if(l&&l.type==="ObjectExpression"&&!l.properties.some(m=>m.type==="SpreadElement"||m.computed)){let m=0;for(let y=l.properties.length-1;y>=0;y--){const v=l.properties[y],T=l.properties[y+1],S=v.start,g=T?T.start:l.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"))?u=u.slice(0,S-l.start)+u.slice(g-l.start):(m++,t.s.remove(t.startOffset+S,t.startOffset+g),f.push(v))}m===l.properties.length&&(d=!0,t.s.remove(t.startOffset+(p?c.end:l.start),t.startOffset+l.end))}return t.modelDecls[n]={type:i,options:u,runtimeOptionNodes:f,identifier:r&&r.type==="Identifier"?r.name:void 0},t.bindingMetadata[n]="props",t.s.overwrite(t.startOffset+e.callee.start,t.startOffset+e.callee.end,t.helper("useModel")),t.s.appendLeft(t.startOffset+(e.arguments.length?e.arguments[0].start:e.end-1),"__props, "+(p?"":`${JSON.stringify(n)}${d?"":", "}`)),!0}function ux(t){if(!t.hasDefineModelCall)return;const e=!!t.options.isProd;let r="";for(const[i,{type:n,options:l}]of Object.entries(t.modelDecls)){let c=!1,p="",u=n&&Ye(t,n);if(u){const m=u.includes("Boolean"),y=u.includes("Function");u.includes(Ot)&&(m||y?(u=u.filter(T=>T!==Ot),c=!0):u=["null"]),e?(m||l&&y)&&(p=`type: ${Kr(u)}`):p=`type: ${Kr(u)}`+(c?", skipCheck: true":"")}let d;p&&l?d=t.isTS?`{ ${p}, ...${l} }`:`Object.assign({ ${p} }, ${l})`:p?d=`{ ${p} }`:l?d=l:d="{}",r+=`
|
|
129
|
-
${JSON.stringify(i)}: ${d},`;const f=JSON.stringify(i==="modelValue"?"modelModifiers":`${i}Modifiers`);r+=`
|
|
130
|
-
${f}: {},`}return`{${r}
|
|
131
|
-
}`}const Xe="defineProps",Pr="withDefaults";function Il(t,e,r,i=!1){if(!st(e,Xe))return hx(t,e,r);if(t.hasDefinePropsCall&&t.error(`duplicate ${Xe}() call`,e),t.hasDefinePropsCall=!0,t.propsRuntimeDecl=e.arguments[0],t.propsRuntimeDecl)for(const n of _l(t.propsRuntimeDecl))n in t.bindingMetadata||(t.bindingMetadata[n]="props");return e.typeParameters&&(t.propsRuntimeDecl&&t.error(`${Xe}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,e),t.propsTypeDecl=e.typeParameters.params[0]),!i&&r&&r.type==="ObjectPattern"&&vx(t,r),t.propsCall=e,t.propsDecl=r,!0}function hx(t,e,r){return st(e,Pr)?(Il(t,e.arguments[0],r,!0)||t.error(`${Pr}' first argument must be a ${Xe} call.`,e.arguments[0]||e),t.propsRuntimeDecl&&t.error(`${Pr} can only be used with type-based ${Xe} declaration.`,e),r&&r.type==="ObjectPattern"&&t.warn(`${Pr}() is unnecessary when using destructure with ${Xe}().
|
|
132
|
-
Reactive destructure will be disabled when using withDefaults().
|
|
133
|
-
Prefer using destructure default values, e.g. const { foo = 1 } = defineProps(...). `,e.callee),t.propsRuntimeDefaults=e.arguments[1],t.propsRuntimeDefaults||t.error(`The 2nd argument of ${Pr} is required.`,e),t.propsCall=e,!0):!1}function px(t){let e;if(t.propsRuntimeDecl){if(e=t.getString(t.propsRuntimeDecl).trim(),t.propsDestructureDecl){const i=[];for(const n in t.propsDestructuredBindings){const l=zg(t,n),c=Mg(n);l&&i.push(`${c}: ${l.valueString}${l.needSkipFactory?`, __skip_${c}: true`:""}`)}i.length&&(e=`/*@__PURE__*/${t.helper("mergeDefaults")}(${e}, {
|
|
134
|
-
${i.join(`,
|
|
135
|
-
`)}
|
|
136
|
-
})`)}}else t.propsTypeDecl&&(e=fx(t));const r=ux(t);return e&&r?`/*@__PURE__*/${t.helper("mergeModels")}(${e}, ${r})`:r||e}function fx(t){const e=dx(t,t.propsTypeDecl);if(!e.length)return;const r=[],i=yx(t);for(const l of e)r.push(mx(t,l,i)),"bindingMetadata"in t&&!(l.key in t.bindingMetadata)&&(t.bindingMetadata[l.key]="props");let n=`{
|
|
137
|
-
${r.join(`,
|
|
138
|
-
`)}
|
|
139
|
-
}`;return t.propsRuntimeDefaults&&!i&&(n=`/*@__PURE__*/${t.helper("mergeDefaults")}(${n}, ${t.getString(t.propsRuntimeDefaults)})`),n}function dx(t,e){const r=[],i=Qe(t,e);for(const n in i.props){const l=i.props[n];let c=Ye(t,l),p=!1;c.includes(Ot)&&(c.includes("Boolean")||c.includes("Function")?(c=c.filter(u=>u!==Ot),p=!0):c=["null"]),r.push({key:n,required:!l.optional,type:c||["null"],skipCheck:p})}return r}function mx(t,{key:e,required:r,type:i,skipCheck:n},l){let c;const p=zg(t,e,i);if(p)c=`default: ${p.valueString}${p.needSkipFactory?", skipFactory: true":""}`;else if(l){const d=t.propsRuntimeDefaults.properties.find(f=>f.type==="SpreadElement"?!1:eu(f.key,f.computed)===e);d&&(d.type==="ObjectProperty"?c=`default: ${t.getString(d.value)}`:c=`${d.async?"async ":""}${d.kind!=="method"?`${d.kind} `:""}default() ${t.getString(d.body)}`)}const u=Mg(e);return t.options.isProd?i.some(d=>d==="Boolean"||(!l||c)&&d==="Function")?`${u}: { ${Qf([`type: ${Kr(i)}`,c])} }`:t.isCE?c?`${u}: ${`{ ${c}, type: ${Kr(i)} }`}`:`${u}: {type: ${Kr(i)}}`:`${u}: ${c?`{ ${c} }`:"{}"}`:`${u}: { ${Qf([`type: ${Kr(i)}`,`required: ${r}`,n&&"skipCheck: true",c])} }`}function yx(t){return!!(t.propsRuntimeDefaults&&t.propsRuntimeDefaults.type==="ObjectExpression"&&t.propsRuntimeDefaults.properties.every(e=>e.type!=="SpreadElement"&&(!e.computed||e.key.type.endsWith("Literal"))))}function zg(t,e,r){const i=t.propsDestructuredBindings[e],n=i&&i.default;if(n){const l=t.getString(n),c=vt(n);if(r&&r.length&&!r.includes("null")){const d=gx(c);d&&!r.includes(d)&&t.error(`Default value of prop "${e}" does not match declared type.`,c)}const p=!r&&(lr(c)||c.type==="Identifier");return{valueString:!p&&!kg(c)&&!(r!=null&&r.includes("Function"))?`() => (${l})`:l,needSkipFactory:p}}}function gx(t){switch(t.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 vx(t,e){if(t.options.propsDestructure==="error")t.error("Props destructure is explicitly prohibited via config.",e);else if(t.options.propsDestructure===!1)return;t.propsDestructureDecl=e;const r=(i,n,l)=>{t.propsDestructuredBindings[i]={local:n,default:l},n!==i&&(t.bindingMetadata[n]="props-aliased",(t.bindingMetadata.__propsAliases||(t.bindingMetadata.__propsAliases={}))[n]=i)};for(const i of e.properties)if(i.type==="ObjectProperty"){const n=eu(i.key,i.computed);if(n||t.error(`${Xe}() destructure cannot use computed key.`,i.key),i.value.type==="AssignmentPattern"){const{left:l,right:c}=i.value;l.type!=="Identifier"&&t.error(`${Xe}() destructure does not support nested patterns.`,l),r(n,l.name,c)}else i.value.type==="Identifier"?r(n,i.value.name):t.error(`${Xe}() destructure does not support nested patterns.`,i.value)}else t.propsDestructureRestId=i.argument.name,t.bindingMetadata[t.propsDestructureRestId]="setup-reactive-const"}function Sx(t,e){if(t.options.propsDestructure===!1)return;const r=Object.create(null),i=[r];let n=r;const l=new WeakSet,c=[],p=Object.create(null);for(const g in t.propsDestructuredBindings){const{local:_}=t.propsDestructuredBindings[g];r[_]=!0,p[_]=g}function u(){i.push(n=Object.create(n))}function d(){i.pop(),n=i[i.length-1]||null}function f(g){l.add(g),n?n[g.name]=!1:t.error("registerBinding called without active scope, something is wrong.",g)}function m(g,_=!1){for(const b of g.body)if(b.type==="VariableDeclaration")y(b,_);else if(b.type==="FunctionDeclaration"||b.type==="ClassDeclaration"){if(b.declare||!b.id)continue;f(b.id)}else(b.type==="ForOfStatement"||b.type==="ForInStatement")&&b.left.type==="VariableDeclaration"?y(b.left):b.type==="ExportNamedDeclaration"&&b.declaration&&b.declaration.type==="VariableDeclaration"?y(b.declaration,_):b.type==="LabeledStatement"&&b.body.type==="VariableDeclaration"&&y(b.body,_)}function y(g,_=!1){if(!g.declare)for(const b of g.declarations){const A=_&&b.init&&st(vt(b.init),"defineProps");for(const O of xt(b.id))A?l.add(O):f(O)}}function v(g,_,b){(_.type==="AssignmentExpression"&&g===_.left||_.type==="UpdateExpression")&&t.error("Cannot assign to destructured props as they are readonly.",g),Qn(_)&&_.shorthand?(!_.inPattern||Yn(_,b))&&t.s.appendLeft(g.end+t.startOffset,`: ${ln(p[g.name])}`):t.s.overwrite(g.start+t.startOffset,g.end+t.startOffset,ln(p[g.name]))}function T(g,_,b=_){if(st(g,b)){const A=vt(g.arguments[0]);A.type==="Identifier"&&n[A.name]&&t.error(`"${A.name}" is a destructured prop and should not be passed directly to ${_}(). Pass a getter () => ${A.name} instead.`,A)}}const S=t.scriptSetupAst;m(S,!0),Vl(S,{enter(g,_){if(_&&c.push(_),_&&_.type.startsWith("TS")&&!Zn.includes(_.type))return this.skip();if(T(g,"watch",e.watch),T(g,"toRef",e.toRef),lr(g)){u(),Wl(g,f),g.body.type==="BlockStatement"&&m(g.body);return}if(g.type==="CatchClause"){u(),g.param&&g.param.type==="Identifier"&&f(g.param),m(g.body);return}if(g.type==="BlockStatement"&&!lr(_)){u(),m(g);return}g.type==="Identifier"&&zl(g,_,c)&&!l.has(g)&&n[g.name]&&v(g,_,c)},leave(g,_){_&&c.pop(),(g.type==="BlockStatement"&&!lr(_)||lr(g)||g.type==="CatchClause")&&d()}})}const Nr="defineEmits";function gd(t,e,r){return st(e,Nr)?(t.hasDefineEmitCall&&t.error(`duplicate ${Nr}() call`,e),t.hasDefineEmitCall=!0,t.emitsRuntimeDecl=e.arguments[0],e.typeParameters&&(t.emitsRuntimeDecl&&t.error(`${Nr}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,e),t.emitsTypeDecl=e.typeParameters.params[0]),t.emitDecl=r,!0):!1}function Ex(t){let e="";if(t.emitsRuntimeDecl)e=t.getString(t.emitsRuntimeDecl).trim();else if(t.emitsTypeDecl){const r=Tx(t);e=r.size?`[${Array.from(r).map(i=>JSON.stringify(i)).join(", ")}]`:""}if(t.hasDefineModelCall){let r=`[${Object.keys(t.modelDecls).map(i=>JSON.stringify(`update:${i}`)).join(", ")}]`;e=e?`/*@__PURE__*/${t.helper("mergeModels")}(${e}, ${r})`:r}return e}function Tx(t){const e=new Set,r=t.emitsTypeDecl;if(r.type==="TSFunctionType")return vd(t,r.parameters[0],e),e;const{props:i,calls:n}=Qe(t,r);let l=!1;for(const c in i)e.add(c),l=!0;if(n){l&&t.error("defineEmits() type cannot mixed call signature and property syntax.",r);for(const c of n)vd(t,c.parameters[0],e)}return e}function vd(t,e,r){if(e.type==="Identifier"&&e.typeAnnotation&&e.typeAnnotation.type==="TSTypeAnnotation"){const i=Vg(t,e.typeAnnotation.typeAnnotation);for(const n of i)n.type==="TSLiteralType"&&n.literal.type!=="UnaryExpression"&&n.literal.type!=="TemplateLiteral"&&r.add(String(n.literal.value))}}const Ln="defineExpose";function wx(t,e){return st(e,Ln)?(t.hasDefineExposeCall&&t.error(`duplicate ${Ln}() call`,e),t.hasDefineExposeCall=!0,!0):!1}const Zr="defineSlots";function Sd(t,e,r){return st(e,Zr)?(t.hasDefineSlotsCall&&t.error(`duplicate ${Zr}() call`,e),t.hasDefineSlotsCall=!0,e.arguments.length>0&&t.error(`${Zr}() cannot accept arguments`,e),r&&t.s.overwrite(t.startOffset+e.start,t.startOffset+e.end,`${t.helper("useSlots")}()`),!0):!1}const Nt="defineOptions";function Ed(t,e){if(!st(e,Nt))return!1;if(t.hasDefineOptionsCall&&t.error(`duplicate ${Nt}() call`,e),e.typeParameters&&t.error(`${Nt}() cannot accept type arguments`,e),!e.arguments[0])return!0;t.hasDefineOptionsCall=!0,t.optionsRuntimeDecl=vt(e.arguments[0]);let r,i,n,l;if(t.optionsRuntimeDecl.type==="ObjectExpression"){for(const c of t.optionsRuntimeDecl.properties)if((c.type==="ObjectProperty"||c.type==="ObjectMethod")&&c.key.type==="Identifier")switch(c.key.name){case"props":r=c;break;case"emits":i=c;break;case"expose":n=c;break;case"slots":l=c;break}}return r&&t.error(`${Nt}() cannot be used to declare props. Use ${Xe}() instead.`,r),i&&t.error(`${Nt}() cannot be used to declare emits. Use ${Nr}() instead.`,i),n&&t.error(`${Nt}() cannot be used to declare expose. Use ${Ln}() instead.`,n),l&&t.error(`${Nt}() cannot be used to declare slots. Use ${Zr}() instead.`,l),!0}function Px(t,e,r,i){const n=e.argument.extra&&e.argument.extra.parenthesized?e.argument.extra.parenStart:e.argument.start,l=t.startOffset,c=t.descriptor.source.slice(n+l,e.argument.end+l),p=/\bawait\b/.test(c);t.s.overwrite(e.start+l,n+l,`${r?";":""}(
|
|
140
|
-
([__temp,__restore] = ${t.helper("withAsyncContext")}(${p?"async ":""}() => `),t.s.appendLeft(e.end+l,`)),
|
|
141
|
-
${i?"":"__temp = "}await __temp,
|
|
142
|
-
__restore()${i?"":`,
|
|
143
|
-
__temp`}
|
|
144
|
-
)`)}var bx=Object.defineProperty,_x=Object.defineProperties,xx=Object.getOwnPropertyDescriptors,Td=Object.getOwnPropertySymbols,Ax=Object.prototype.hasOwnProperty,Cx=Object.prototype.propertyIsEnumerable,wd=(t,e,r)=>e in t?bx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Cs=(t,e)=>{for(var r in e||(e={}))Ax.call(e,r)&&wd(t,r,e[r]);if(Td)for(var r of Td(e))Cx.call(e,r)&&wd(t,r,e[r]);return t},Yo=(t,e)=>_x(t,xx(e));const Ix=[Xe,Nr,Ln,Nt,Zr,_a,Pr];function Ux(t,e){var r,i,n;e.id||Bs("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");const l=new M_(t,e),{script:c,scriptSetup:p,source:u,filename:d}=t,f=e.hoistStatic!==!1&&!c,m=e.id?e.id.replace(/^data-v-/,""):"",y=c&&c.lang,v=p&&p.lang;if(!p){if(!c)throw new Error("[@vue/compiler-sfc] SFC contains no <script> tags.");return z_(l,m)}if(c&&y!==v)throw new Error("[@vue/compiler-sfc] <script> and <script setup> must have the same language type.");if(v&&!l.isJS&&!l.isTS)return p;const T=Object.create(null),S=Object.create(null);let g,_=!1,b=!1;const A=l.startOffset,O=l.endOffset,x=c&&c.loc.start.offset,L=c&&c.loc.end.offset;function R(q){const j=q.start+A;let $=q.end+A;for(q.trailingComments&&q.trailingComments.length>0&&($=q.trailingComments[q.trailingComments.length-1].end+A);$<=u.length&&/\s/.test(u.charAt($));)$++;l.s.move(j,$,0)}function C(q,j,$,G,H,U){let se=U;U&&l.isTS&&t.template&&!t.template.src&&!t.template.lang&&(se=Um(j,t)),l.userImports[j]={isType:G,imported:$,local:j,source:q,isFromSetup:H,isUsedInTemplate:se}}function k(q,j){q&&Kn(q,$=>{const G=S[$.name];G&&G!=="literal-const"&&l.error(`\`${j}()\` 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.`,$)})}const N=l.scriptAst,F=l.scriptSetupAst;if(N){for(const q of N.body)if(q.type==="ImportDeclaration")for(const j of q.specifiers){const $=Pl(j);C(q.source.value,j.local.name,$,q.importKind==="type"||j.type==="ImportSpecifier"&&j.importKind==="type",!1,!e.inlineTemplate)}}for(const q of F.body)if(q.type==="ImportDeclaration"){R(q);let j=0;const $=G=>{const H=G>j;j++;const U=q.specifiers[G],se=q.specifiers[G+1];l.s.remove(H?q.specifiers[G-1].end+A:U.start+A,se&&!H?se.start+A:U.end+A)};for(let G=0;G<q.specifiers.length;G++){const H=q.specifiers[G],U=H.local.name,se=Pl(H),ee=q.source.value,pe=l.userImports[U];ee==="vue"&&Ix.includes(se)?(U===se?Bs(`\`${se}\` is a compiler macro and no longer needs to be imported.`):l.error(`\`${se}\` is a compiler macro and cannot be aliased to a different name.`,H),$(G)):pe?pe.source===ee&&pe.imported===se?$(G):l.error("different imports aliased to same local name.",H):C(ee,U,se,q.importKind==="type"||H.type==="ImportSpecifier"&&H.importKind==="type",!0,!e.inlineTemplate)}q.specifiers.length&&j===q.specifiers.length&&l.s.remove(q.start+A,q.end+A)}const W={};for(const q in l.userImports){const{source:j,imported:$,local:G}=l.userImports[q];j==="vue"&&(W[$]=G)}if(c&&N){for(const q of N.body)if(q.type==="ExportDefaultDeclaration"){g=q;let j;if(g.declaration.type==="ObjectExpression"?j=g.declaration.properties:g.declaration.type==="CallExpression"&&g.declaration.arguments[0]&&g.declaration.arguments[0].type==="ObjectExpression"&&(j=g.declaration.arguments[0].properties),j)for(const H of j)H.type==="ObjectProperty"&&H.key.type==="Identifier"&&H.key.name==="name"&&(l.hasDefaultExportName=!0),(H.type==="ObjectMethod"||H.type==="ObjectProperty")&&H.key.type==="Identifier"&&H.key.name==="render"&&(l.hasDefaultExportRender=!0);const $=q.start+x,G=q.declaration.start+x;l.s.overwrite($,G,`const ${Xr} = `)}else if(q.type==="ExportNamedDeclaration"){const j=q.specifiers.find($=>$.exported.type==="Identifier"&&$.exported.name==="default");j&&(g=q,q.specifiers.length>1?l.s.remove(j.start+x,j.end+x):l.s.remove(q.start+x,q.end+x),q.source?l.s.prepend(`import { ${j.local.name} as ${Xr} } from '${q.source.value}'
|
|
145
|
-
`):l.s.appendLeft(L,`
|
|
146
|
-
const ${Xr} = ${j.local.name}
|
|
147
|
-
`)),q.declaration&&Qo("script",q.declaration,T,W,f)}else(q.type==="VariableDeclaration"||q.type==="FunctionDeclaration"||q.type==="ClassDeclaration"||q.type==="TSEnumDeclaration")&&!q.declare&&Qo("script",q,T,W,f);x>A&&(/\n$/.test(c.content.trim())||l.s.appendLeft(L,`
|
|
148
|
-
`),l.s.move(x,L,0))}for(const q of F.body){if(q.type==="ExpressionStatement"){const $=vt(q.expression);if(Il(l,$)||gd(l,$)||Ed(l,$)||Sd(l,$))l.s.remove(q.start+A,q.end+A);else if(wx(l,$)){const G=$.callee;l.s.overwrite(G.start+A,G.end+A,"__expose")}else yd(l,$)}if(q.type==="VariableDeclaration"&&!q.declare){const $=q.declarations.length;let G=$,H;for(let U=0;U<$;U++){const se=q.declarations[U],ee=se.init&&vt(se.init);if(ee){Ed(l,ee)&&l.error(`${Nt}() has no returning value, it cannot be assigned.`,q);const pe=Il(l,ee,se.id);l.propsDestructureRestId&&(S[l.propsDestructureRestId]="setup-reactive-const");const ne=!pe&&gd(l,ee,se.id);if(!ne&&(Sd(l,ee,se.id)||yd(l,ee,se.id)),pe&&!l.propsDestructureRestId&&l.propsDestructureDecl)if(G===1)l.s.remove(q.start+A,q.end+A);else{let ye=se.start+A,xe=se.end+A;U===$-1?ye=q.declarations[H].end+A:xe=q.declarations[U+1].start+A,l.s.remove(ye,xe),G--}else ne?l.s.overwrite(A+ee.start,A+ee.end,"__emit"):H=U}}}let j=!1;if((q.type==="VariableDeclaration"||q.type==="FunctionDeclaration"||q.type==="ClassDeclaration"||q.type==="TSEnumDeclaration")&&!q.declare&&(j=Qo("scriptSetup",q,S,W,f,!!l.propsDestructureDecl)),f&&j&&R(q),q.type==="VariableDeclaration"&&!q.declare||q.type.endsWith("Statement")){const $=[F.body];Vl(q,{enter(G,H){if(lr(G)&&this.skip(),G.type==="BlockStatement"&&$.push(G.body),G.type==="AwaitExpression"){_=!0;const se=$[$.length-1].some((ee,pe)=>($.length===1||pe>0)&&ee.type==="ExpressionStatement"&&ee.start===G.start);Px(l,G,se,H.type==="ExpressionStatement")}},exit(G){G.type==="BlockStatement"&&$.pop()}})}(q.type==="ExportNamedDeclaration"&&q.exportKind!=="type"||q.type==="ExportAllDeclaration"||q.type==="ExportDefaultDeclaration")&&l.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.",q),l.isTS&&(q.type.startsWith("TS")||q.type==="ExportNamedDeclaration"&&q.exportKind==="type"||q.type==="VariableDeclaration"&&q.declare)&&q.type!=="TSEnumDeclaration"&&R(q)}l.propsDestructureDecl&&Sx(l,W),k(l.propsRuntimeDecl,Xe),k(l.propsRuntimeDefaults,Xe),k(l.propsDestructureDecl,Xe),k(l.emitsRuntimeDecl,Nr),k(l.optionsRuntimeDecl,Nt);for(const{runtimeOptionNodes:q}of Object.values(l.modelDecls))for(const j of q)k(j,_a);c?A<x?(l.s.remove(0,A),l.s.remove(O,x),l.s.remove(L,u.length)):(l.s.remove(0,x),l.s.remove(L,A),l.s.remove(O,u.length)):(l.s.remove(0,A),l.s.remove(O,u.length)),N&&Object.assign(l.bindingMetadata,Rg(N.body));for(const[q,{isType:j,imported:$,source:G}]of Object.entries(l.userImports))j||(l.bindingMetadata[q]=$==="*"||$==="default"&&G.endsWith(".vue")||G==="vue"?"setup-const":"setup-maybe-ref");for(const q in T)l.bindingMetadata[q]=T[q];for(const q in S)l.bindingMetadata[q]=S[q];t.cssVars.length&&!((r=e.templateOptions)!=null&&r.ssr)&&(l.helperImports.add(yn),l.helperImports.add("unref"),l.s.prependLeft(A,`
|
|
149
|
-
${Mm(t.cssVars,l.bindingMetadata,m,!!e.isProd)}
|
|
150
|
-
`));let Y="__props";if(l.propsTypeDecl&&(Y+=": any"),l.propsDecl&&(l.propsDestructureRestId?(l.s.overwrite(A+l.propsCall.start,A+l.propsCall.end,`${l.helper("createPropsRestProxy")}(__props, ${JSON.stringify(Object.keys(l.propsDestructuredBindings))})`),l.s.overwrite(A+l.propsDestructureDecl.start,A+l.propsDestructureDecl.end,l.propsDestructureRestId)):l.propsDestructureDecl||l.s.overwrite(A+l.propsCall.start,A+l.propsCall.end,"__props")),_){const q=l.isTS?": any":"";l.s.prependLeft(A,`
|
|
151
|
-
let __temp${q}, __restore${q}
|
|
152
|
-
`)}const re=l.hasDefineExposeCall||!e.inlineTemplate?["expose: __expose"]:[];l.emitDecl&&re.push("emit: __emit"),re.length&&(Y+=`, { ${re.join(", ")} }`);let z;if(!e.inlineTemplate||!t.template&&l.hasDefaultExportRender){const q=Cs(Cs({},T),S);for(const j in l.userImports)!l.userImports[j].isType&&l.userImports[j].isUsedInTemplate&&(q[j]=!0);z="{ ";for(const j in q)if(q[j]===!0&&l.userImports[j].source!=="vue"&&!l.userImports[j].source.endsWith(".vue"))z+=`get ${j}() { return ${j} }, `;else if(l.bindingMetadata[j]==="setup-let"){const $=j==="v"?"_v":"v";z+=`get ${j}() { return ${j} }, set ${j}(${$}) { ${j} = ${$} }, `}else z+=`${j}, `;z=z.replace(/, $/,"")+" }"}else if(t.template&&!t.template.src){e.templateOptions&&e.templateOptions.ssr&&(b=!0);const{code:q,ast:j,preamble:$,tips:G,errors:H}=vb(Yo(Cs({filename:d,ast:t.template.ast,source:t.template.content,inMap:t.template.map},e.templateOptions),{id:m,scoped:t.styles.some(se=>se.scoped),isProd:e.isProd,ssrCssVars:t.cssVars,compilerOptions:Yo(Cs({},e.templateOptions&&e.templateOptions.compilerOptions),{inline:!0,isTS:l.isTS,bindingMetadata:l.bindingMetadata})}));G.length&&G.forEach(Bs);const U=H[0];if(typeof U=="string")throw new Error(U);if(U)throw U.loc&&(U.message+=`
|
|
153
|
-
|
|
154
|
-
`+t.filename+`
|
|
155
|
-
`+Qs(u,U.loc.start.offset,U.loc.end.offset)+`
|
|
156
|
-
`),U;$&&l.s.prepend($),j&&j.helpers.has(ss)&&l.helperImports.delete("unref"),z=q}else z="() => {}";e.inlineTemplate?l.s.appendRight(O,`
|
|
157
|
-
return ${z}
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
`):l.s.appendRight(O,`
|
|
161
|
-
const __returned__ = ${z}
|
|
162
|
-
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })
|
|
163
|
-
return __returned__
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
`);const ie=e.genDefaultAs?`const ${e.genDefaultAs} =`:"export default";let J="";if(!l.hasDefaultExportName&&d&&d!==qm){const q=d.match(/([^/\\]+)\.\w+$/);q&&(J+=`
|
|
167
|
-
__name: '${q[1]}',`)}b&&(J+=`
|
|
168
|
-
__ssrInlineRender: true,`);const fe=px(l);fe&&(J+=`
|
|
169
|
-
props: ${fe},`);const Ne=Ex(l);Ne&&(J+=`
|
|
170
|
-
emits: ${Ne},`);let de="";l.optionsRuntimeDecl&&(de=p.content.slice(l.optionsRuntimeDecl.start,l.optionsRuntimeDecl.end).trim());const te=l.hasDefineExposeCall||e.inlineTemplate?"":` __expose();
|
|
171
|
-
`;if(l.isTS){const q=(g?`
|
|
172
|
-
...${Xr},`:"")+(de?`
|
|
173
|
-
...${de},`:"");l.s.prependLeft(A,`
|
|
174
|
-
${ie} /*@__PURE__*/${l.helper("defineComponent")}({${q}${J}
|
|
175
|
-
${_?"async ":""}setup(${Y}) {
|
|
176
|
-
${te}`),l.s.appendRight(O,"})")}else g||de?(l.s.prependLeft(A,`
|
|
177
|
-
${ie} /*@__PURE__*/Object.assign(${g?`${Xr}, `:""}${de?`${de}, `:""}{${J}
|
|
178
|
-
${_?"async ":""}setup(${Y}) {
|
|
179
|
-
${te}`),l.s.appendRight(O,"})")):(l.s.prependLeft(A,`
|
|
180
|
-
${ie} {${J}
|
|
181
|
-
${_?"async ":""}setup(${Y}) {
|
|
182
|
-
${te}`),l.s.appendRight(O,"}"));if(l.helperImports.size>0){const q=(n=(i=e.templateOptions)==null?void 0:i.compilerOptions)==null?void 0:n.runtimeModuleName,j=q?JSON.stringify(q):"'vue'";l.s.prepend(`import { ${[...l.helperImports].map($=>`${$} as _${$}`).join(", ")} } from ${j}
|
|
183
|
-
`)}return Yo(Cs({},p),{bindings:l.bindingMetadata,imports:l.userImports,content:l.s.toString(),map:e.sourceMap!==!1?l.s.generateMap({source:d,hires:!0,includeContent:!0}):void 0,scriptAst:N==null?void 0:N.body,scriptSetupAst:F==null?void 0:F.body,deps:l.deps?[...l.deps]:void 0})}function es(t,e,r){t[e.name]=r}function Qo(t,e,r,i,n,l=!1){let c=!1;if(e.type==="VariableDeclaration"){const p=e.kind==="const";c=p&&e.declarations.every(u=>u.id.type==="Identifier"&&_t(u.init));for(const{id:u,init:d}of e.declarations){const f=d&&vt(d),m=p&&st(f,y=>y===Xe||y===Nr||y===Pr||y===Zr);if(u.type==="Identifier"){let y;const v=i.reactive;(n||t==="script")&&(c||p&&_t(f))?y="literal-const":st(f,v)?y=p?"setup-reactive-const":"setup-let":m||p&&Gg(f,v)?y=st(f,Xe)?"setup-reactive-const":"setup-const":p?st(f,T=>T===i.ref||T===i.computed||T===i.shallowRef||T===i.customRef||T===i.toRef||T===i.useTemplateRef||T===_a)?y="setup-ref":y="setup-maybe-ref":y="setup-let",es(r,u,y)}else{if(st(f,Xe)&&l)continue;u.type==="ObjectPattern"?Wg(u,r,p,m):u.type==="ArrayPattern"&&Hg(u,r,p,m)}}}else e.type==="TSEnumDeclaration"?(c=e.members.every(p=>!p.initializer||_t(p.initializer)),r[e.id.name]=c?"literal-const":"setup-const"):(e.type==="FunctionDeclaration"||e.type==="ClassDeclaration")&&(r[e.id.name]="setup-const");return c}function Wg(t,e,r,i=!1){for(const n of t.properties)if(n.type==="ObjectProperty")if(n.key.type==="Identifier"&&n.key===n.value){const l=i?"setup-const":r?"setup-maybe-ref":"setup-let";es(e,n.key,l)}else lu(n.value,e,r,i);else{const l=r?"setup-const":"setup-let";es(e,n.argument,l)}}function Hg(t,e,r,i=!1){for(const n of t.elements)n&&lu(n,e,r,i)}function lu(t,e,r,i=!1){if(t.type==="Identifier")es(e,t,i?"setup-const":r?"setup-maybe-ref":"setup-let");else if(t.type==="RestElement"){const n=r?"setup-const":"setup-let";es(e,t.argument,n)}else if(t.type==="ObjectPattern")Wg(t,e,r);else if(t.type==="ArrayPattern")Hg(t,e,r);else if(t.type==="AssignmentPattern")if(t.left.type==="Identifier"){const n=i?"setup-const":r?"setup-maybe-ref":"setup-let";es(e,t.left,n)}else lu(t.left,e,r)}function Gg(t,e){if(st(t,e))return!0;switch(t.type){case"UnaryExpression":case"BinaryExpression":case"ArrayExpression":case"ObjectExpression":case"FunctionExpression":case"ArrowFunctionExpression":case"UpdateExpression":case"ClassExpression":case"TaggedTemplateExpression":return!0;case"SequenceExpression":return Gg(t.expressions[t.expressions.length-1],e);default:return!!kg(t)}}function _t(t){switch(t=vt(t),t.type){case"UnaryExpression":return _t(t.argument);case"LogicalExpression":case"BinaryExpression":return _t(t.left)&&_t(t.right);case"ConditionalExpression":return _t(t.test)&&_t(t.consequent)&&_t(t.alternate);case"SequenceExpression":case"TemplateLiteral":return t.expressions.every(e=>_t(e));case"ParenthesizedExpression":return _t(t.expression);case"StringLiteral":case"NumericLiteral":case"BooleanLiteral":case"NullLiteral":case"BigIntLiteral":return!0}return!1}var Nx=Object.defineProperty,Pd=Object.getOwnPropertySymbols,Ox=Object.prototype.hasOwnProperty,kx=Object.prototype.propertyIsEnumerable,bd=(t,e,r)=>e in t?Nx(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,_d=(t,e)=>{for(var r in e||(e={}))Ox.call(e,r)&&bd(t,r,e[r]);if(Pd)for(var r of Pd(e))kx.call(e,r)&&bd(t,r,e[r]);return t};_d(_d({},jl),gc);$t.parse;export{vb as a,$x as b,Ux as c,_1 as p};
|