vue-go-tsc 0.3.2 → 0.3.3
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/bin/vue-go-tsc +151 -35
- package/bin/vue-go-tsc.test.js +74 -0
- package/package.json +1 -1
- package/volar/plugin.mjs +48 -48
package/volar/plugin.mjs
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import { createRequire as __vgtCreateRequire } from 'node:module'; const require = __vgtCreateRequire(import.meta.url);
|
|
2
|
-
var cC=Object.create;var rm=Object.defineProperty;var uC=Object.getOwnPropertyDescriptor;var
|
|
3
|
-
`;Xt.endOfLine=`;${Xt.newLine}`;Xt.identifierRegex=/^[a-zA-Z_$][0-9a-zA-Z_$]*$/;var Yc=new Map;function
|
|
4
|
-
`)}function su(s){if(er(s)){let t={};for(let e=0;e<s.length;e++){let i=s[e],r=Ms(i)?Em(i):su(i);if(r)for(let n in r)t[n]=r[n]}return t}else if(Ms(s)||Ni(s))return s}var d0=/;(?![^(]*\))/g,m0=/:([^]+)/,A0=/\/\*[^]*?\*\//g;function Em(s){let t={};return s.replace(A0,"").split(d0).forEach(e=>{if(e){let i=e.split(m0);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function g0(s){if(!s)return"";if(Ms(s))return s;let t="";for(let e in s){let i=s[e];if(Ms(i)||typeof i=="number"){let r=e.startsWith("--")?e:Am(e);t+=`${r}:${i};`}}return t}function iu(s){let t="";if(Ms(s))t=s;else if(er(s))for(let e=0;e<s.length;e++){let i=iu(s[e]);i&&(t+=i+" ")}else if(Ni(s))for(let e in s)s[e]&&(t+=e+" ");return t.trim()}function y0(s){if(!s)return null;let{class:t,style:e}=s;return t&&!Ms(t)&&(s.class=iu(t)),e&&(s.style=su(e)),s}var E0="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",S0="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",b0="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",T0="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",C0=qt(E0),I0=qt(S0),_0=qt(b0),P0=qt(T0),Sm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",N0=qt(Sm),x0=qt(Sm+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function v0(s){return!!s||s===""}var O0=/[>/="'\u0009\u000a\u000c\u0020]/,zc={};function w0(s){if(zc.hasOwnProperty(s))return zc[s];let t=O0.test(s);return t&&console.error(`unsafe attribute name: ${s}`),zc[s]=!t}var L0={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},M0=qt("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"),D0=qt("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"),R0=qt("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");function k0(s){if(s==null)return!1;let t=typeof s;return t==="string"||t==="number"||t==="boolean"}var B0=/["'&<>]/;function F0(s){let t=""+s,e=B0.exec(t);if(!e)return t;let i="",r,n,a=0;for(n=e.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}a!==n&&(i+=t.slice(a,n)),a=n+1,i+=r}return a!==n?i+t.slice(a,n):i}var V0=/^-?>|<!--|-->|--!>|<!-$/g;function U0(s){return s.replace(V0,"")}var bm=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function $0(s,t){return s.replace(bm,e=>t?e==='"'?'\\\\\\"':`\\\\${e}`:`\\${e}`)}function j0(s,t){if(s.length!==t.length)return!1;let e=!0;for(let i=0;e&&i<s.length;i++)e=uo(s[i],t[i]);return e}function uo(s,t){if(s===t)return!0;let e=eu(s),i=eu(t);if(e||i)return e&&i?s.getTime()===t.getTime():!1;if(e=Un(s),i=Un(t),e||i)return s===t;if(e=er(s),i=er(t),e||i)return e&&i?j0(s,t):!1;if(e=Ni(s),i=Ni(t),e||i){if(!e||!i)return!1;let r=Object.keys(s).length,n=Object.keys(t).length;if(r!==n)return!1;for(let a in s){let o=s.hasOwnProperty(a),l=t.hasOwnProperty(a);if(o&&!l||!o&&l||!uo(s[a],t[a]))return!1}}return String(s)===String(t)}function H0(s,t){return s.findIndex(e=>uo(e,t))}var Tm=s=>!!(s&&s.__v_isRef===!0),Cm=s=>Ms(s)?s:s==null?"":er(s)||Ni(s)&&(s.toString===tu||!Vn(s.toString))?Tm(s)?Cm(s.value):JSON.stringify(s,Im,2):String(s),Im=(s,t)=>Tm(t)?Im(s,t.value):fm(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[i,r],n)=>(e[Zc(i,n)+" =>"]=r,e),{})}:dm(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Zc(e))}:Un(t)?Zc(t):Ni(t)&&!er(t)&&!mm(t)?String(t):t,Zc=(s,t="")=>{var e;return Un(s)?`Symbol(${(e=s.description)!=null?e:t})`:s};function K0(s){return s==null?"initial":typeof s=="string"?s===""?" ":s:String(s)}$.EMPTY_ARR=LC;$.EMPTY_OBJ=wC;$.NO=DC;$.NOOP=MC;$.PatchFlagNames=o0;$.PatchFlags=a0;$.ShapeFlags=l0;$.SlotFlags=c0;$.camelize=qC;$.capitalize=gm;$.cssVarNameEscapeSymbolsRE=bm;$.def=ZC;$.escapeHtml=F0;$.escapeHtmlComment=U0;$.extend=BC;$.genCacheKey=n0;$.genPropsAccessExp=r0;$.generateCodeFrame=f0;$.getEscapedCssVarName=$0;$.getGlobalThis=s0;$.hasChanged=YC;$.hasOwn=UC;$.hyphenate=Am;$.includeBooleanAttr=v0;$.invokeArrayFns=zC;$.isArray=er;$.isBooleanAttr=x0;$.isBuiltInDirective=WC;$.isDate=eu;$.isFunction=Vn;$.isGloballyAllowed=ym;$.isGloballyWhitelisted=p0;$.isHTMLTag=C0;$.isIntegerKey=KC;$.isKnownHtmlAttr=M0;$.isKnownMathMLAttr=R0;$.isKnownSvgAttr=D0;$.isMap=fm;$.isMathMLTag=_0;$.isModelListener=kC;$.isObject=Ni;$.isOn=RC;$.isPlainObject=mm;$.isPromise=jC;$.isRegExp=$C;$.isRenderableAttrValue=k0;$.isReservedProp=GC;$.isSSRSafeAttrName=w0;$.isSVGTag=I0;$.isSet=dm;$.isSpecialBooleanAttr=N0;$.isString=Ms;$.isSymbol=Un;$.isVoidTag=P0;$.looseEqual=uo;$.looseIndexOf=H0;$.looseToNumber=e0;$.makeMap=qt;$.normalizeClass=iu;$.normalizeCssVarValue=K0;$.normalizeProps=y0;$.normalizeStyle=su;$.objectToString=tu;$.parseStringStyle=Em;$.propsToAttrMap=L0;$.remove=FC;$.slotFlagsText=u0;$.stringifyStyle=g0;$.toDisplayString=Cm;$.toHandlerKey=JC;$.toNumber=t0;$.toRawType=HC;$.toTypeString=tr});var Um=D(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});function Qt(s){let t=Object.create(null);for(let e of s.split(","))t[e]=1;return e=>e in t}var G0=Object.freeze({}),W0=Object.freeze([]),X0=()=>{},q0=()=>!1,Q0=s=>s.charCodeAt(0)===111&&s.charCodeAt(1)===110&&(s.charCodeAt(2)>122||s.charCodeAt(2)<97),J0=s=>s.startsWith("onUpdate:"),Y0=Object.assign,z0=(s,t)=>{let e=s.indexOf(t);e>-1&&s.splice(e,1)},Z0=Object.prototype.hasOwnProperty,eI=(s,t)=>Z0.call(s,t),sr=Array.isArray,xm=s=>ir(s)==="[object Map]",vm=s=>ir(s)==="[object Set]",au=s=>ir(s)==="[object Date]",tI=s=>ir(s)==="[object RegExp]",$n=s=>typeof s=="function",Ds=s=>typeof s=="string",jn=s=>typeof s=="symbol",xi=s=>s!==null&&typeof s=="object",sI=s=>(xi(s)||$n(s))&&$n(s.then)&&$n(s.catch),ou=Object.prototype.toString,ir=s=>ou.call(s),iI=s=>ir(s).slice(8,-1),Om=s=>ir(s)==="[object Object]",rI=s=>Ds(s)&&s!=="NaN"&&s[0]!=="-"&&""+parseInt(s,10)===s,nI=Qt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),aI=Qt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),ho=s=>{let t=Object.create(null);return(e=>t[e]||(t[e]=s(e)))},oI=/-\w/g,lI=ho(s=>s.replace(oI,t=>t.slice(1).toUpperCase())),cI=/\B([A-Z])/g,wm=ho(s=>s.replace(cI,"-$1").toLowerCase()),Lm=ho(s=>s.charAt(0).toUpperCase()+s.slice(1)),uI=ho(s=>s?`on${Lm(s)}`:""),hI=(s,t)=>!Object.is(s,t),pI=(s,...t)=>{for(let e=0;e<s.length;e++)s[e](...t)},fI=(s,t,e,i=!1)=>{Object.defineProperty(s,t,{configurable:!0,enumerable:!1,writable:i,value:e})},dI=s=>{let t=parseFloat(s);return isNaN(t)?s:t},mI=s=>{let t=Ds(s)?Number(s):NaN;return isNaN(t)?s:t},Pm,AI=()=>Pm||(Pm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),gI=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function yI(s){return gI.test(s)?`__props.${s}`:`__props[${JSON.stringify(s)}]`}function EI(s,t){return s+JSON.stringify(t,(e,i)=>typeof i=="function"?i.toString():i)}var SI={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},bI={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]:"CACHED",[-2]:"BAIL"},TI={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},CI={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},II={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},_I="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",Mm=Qt(_I),PI=Mm,Nm=2;function NI(s,t=0,e=s.length){if(t=Math.max(0,Math.min(t,s.length)),e=Math.max(0,Math.min(e,s.length)),t>e)return"";let i=s.split(/(\r?\n)/),r=i.filter((o,l)=>l%2===1);i=i.filter((o,l)=>l%2===0);let n=0,a=[];for(let o=0;o<i.length;o++)if(n+=i[o].length+(r[o]&&r[o].length||0),n>=t){for(let l=o-Nm;l<=o+Nm||e>n;l++){if(l<0||l>=i.length)continue;let c=l+1;a.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${i[l]}`);let u=i[l].length,h=r[l]&&r[l].length||0;if(l===o){let p=t-(n-(u+h)),f=Math.max(1,e>n?u-p:e-t);a.push(" | "+" ".repeat(p)+"^".repeat(f))}else if(l>o){if(e>n){let p=Math.max(Math.min(e-n,u),1);a.push(" | "+"^".repeat(p))}n+=u+h}}break}return a.join(`
|
|
5
|
-
`)}function lu(s){if(sr(s)){let t={};for(let e=0;e<s.length;e++){let i=s[e],r=Ds(i)?Dm(i):lu(i);if(r)for(let n in r)t[n]=r[n]}return t}else if(Ds(s)||xi(s))return s}var xI=/;(?![^(]*\))/g,vI=/:([^]+)/,OI=/\/\*[^]*?\*\//g;function Dm(s){let t={};return s.replace(OI,"").split(xI).forEach(e=>{if(e){let i=e.split(vI);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function wI(s){if(!s)return"";if(Ds(s))return s;let t="";for(let e in s){let i=s[e];if(Ds(i)||typeof i=="number"){let r=e.startsWith("--")?e:wm(e);t+=`${r}:${i};`}}return t}function cu(s){let t="";if(Ds(s))t=s;else if(sr(s))for(let e=0;e<s.length;e++){let i=cu(s[e]);i&&(t+=i+" ")}else if(xi(s))for(let e in s)s[e]&&(t+=e+" ");return t.trim()}function LI(s){if(!s)return null;let{class:t,style:e}=s;return t&&!Ds(t)&&(s.class=cu(t)),e&&(s.style=lu(e)),s}var MI="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",DI="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",RI="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",kI="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",BI=Qt(MI),FI=Qt(DI),VI=Qt(RI),UI=Qt(kI),Rm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$I=Qt(Rm),jI=Qt(Rm+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function HI(s){return!!s||s===""}var KI=/[>/="'\u0009\u000a\u000c\u0020]/,ru={};function GI(s){if(ru.hasOwnProperty(s))return ru[s];let t=KI.test(s);return t&&console.error(`unsafe attribute name: ${s}`),ru[s]=!t}var WI={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},XI=Qt("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"),qI=Qt("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"),QI=Qt("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");function JI(s){if(s==null)return!1;let t=typeof s;return t==="string"||t==="number"||t==="boolean"}var YI=/["'&<>]/;function zI(s){let t=""+s,e=YI.exec(t);if(!e)return t;let i="",r,n,a=0;for(n=e.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}a!==n&&(i+=t.slice(a,n)),a=n+1,i+=r}return a!==n?i+t.slice(a,n):i}var ZI=/^-?>|<!--|-->|--!>|<!-$/g;function e1(s){return s.replace(ZI,"")}var km=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function t1(s,t){return s.replace(km,e=>t?e==='"'?'\\\\\\"':`\\\\${e}`:`\\${e}`)}function s1(s,t){if(s.length!==t.length)return!1;let e=!0;for(let i=0;e&&i<s.length;i++)e=po(s[i],t[i]);return e}function po(s,t){if(s===t)return!0;let e=au(s),i=au(t);if(e||i)return e&&i?s.getTime()===t.getTime():!1;if(e=jn(s),i=jn(t),e||i)return s===t;if(e=sr(s),i=sr(t),e||i)return e&&i?s1(s,t):!1;if(e=xi(s),i=xi(t),e||i){if(!e||!i)return!1;let r=Object.keys(s).length,n=Object.keys(t).length;if(r!==n)return!1;for(let a in s){let o=s.hasOwnProperty(a),l=t.hasOwnProperty(a);if(o&&!l||!o&&l||!po(s[a],t[a]))return!1}}return String(s)===String(t)}function i1(s,t){return s.findIndex(e=>po(e,t))}var Bm=s=>!!(s&&s.__v_isRef===!0),Fm=s=>Ds(s)?s:s==null?"":sr(s)||xi(s)&&(s.toString===ou||!$n(s.toString))?Bm(s)?Fm(s.value):JSON.stringify(s,Vm,2):String(s),Vm=(s,t)=>Bm(t)?Vm(s,t.value):xm(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[i,r],n)=>(e[nu(i,n)+" =>"]=r,e),{})}:vm(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>nu(e))}:jn(t)?nu(t):xi(t)&&!sr(t)&&!Om(t)?String(t):t,nu=(s,t="")=>{var e;return jn(s)?`Symbol(${(e=s.description)!=null?e:t})`:s};function r1(s){return s==null?"initial":typeof s=="string"?s===""?" ":s:((typeof s!="number"||!Number.isFinite(s))&&console.warn("[Vue warn] Invalid value used for CSS binding. Expected a string or a finite number but received:",s),String(s))}j.EMPTY_ARR=W0;j.EMPTY_OBJ=G0;j.NO=q0;j.NOOP=X0;j.PatchFlagNames=bI;j.PatchFlags=SI;j.ShapeFlags=TI;j.SlotFlags=CI;j.camelize=lI;j.capitalize=Lm;j.cssVarNameEscapeSymbolsRE=km;j.def=fI;j.escapeHtml=zI;j.escapeHtmlComment=e1;j.extend=Y0;j.genCacheKey=EI;j.genPropsAccessExp=yI;j.generateCodeFrame=NI;j.getEscapedCssVarName=t1;j.getGlobalThis=AI;j.hasChanged=hI;j.hasOwn=eI;j.hyphenate=wm;j.includeBooleanAttr=HI;j.invokeArrayFns=pI;j.isArray=sr;j.isBooleanAttr=jI;j.isBuiltInDirective=aI;j.isDate=au;j.isFunction=$n;j.isGloballyAllowed=Mm;j.isGloballyWhitelisted=PI;j.isHTMLTag=BI;j.isIntegerKey=rI;j.isKnownHtmlAttr=XI;j.isKnownMathMLAttr=QI;j.isKnownSvgAttr=qI;j.isMap=xm;j.isMathMLTag=VI;j.isModelListener=J0;j.isObject=xi;j.isOn=Q0;j.isPlainObject=Om;j.isPromise=sI;j.isRegExp=tI;j.isRenderableAttrValue=JI;j.isReservedProp=nI;j.isSSRSafeAttrName=GI;j.isSVGTag=FI;j.isSet=vm;j.isSpecialBooleanAttr=$I;j.isString=Ds;j.isSymbol=jn;j.isVoidTag=UI;j.looseEqual=po;j.looseIndexOf=i1;j.looseToNumber=dI;j.makeMap=Qt;j.normalizeClass=cu;j.normalizeCssVarValue=r1;j.normalizeProps=LI;j.normalizeStyle=lu;j.objectToString=ou;j.parseStringStyle=Dm;j.propsToAttrMap=WI;j.remove=z0;j.slotFlagsText=II;j.stringifyStyle=wI;j.toDisplayString=Fm;j.toHandlerKey=uI;j.toNumber=mI;j.toRawType=iI;j.toTypeString=ir});var at=D((kB,uu)=>{"use strict";process.env.NODE_ENV==="production"?uu.exports=_m():uu.exports=Um()});var pu=D(rr=>{"use strict";var hu;Object.defineProperty(rr,"__esModule",{value:!0});rr.fromCodePoint=void 0;rr.replaceCodePoint=$m;rr.decodeCodePoint=a1;var n1=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]]);rr.fromCodePoint=(hu=String.fromCodePoint)!==null&&hu!==void 0?hu:(s=>{let t="";return s>65535&&(s-=65536,t+=String.fromCharCode(s>>>10&1023|55296),s=56320|s&1023),t+=String.fromCharCode(s),t});function $m(s){var t;return s>=55296&&s<=57343||s>1114111?65533:(t=n1.get(s))!==null&&t!==void 0?t:s}function a1(s){return(0,rr.fromCodePoint)($m(s))}});var du=D(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.decodeBase64=o1;function o1(s){let t=typeof atob=="function"?atob(s):typeof Buffer.from=="function"?Buffer.from(s,"base64").toString("binary"):new Buffer(s,"base64").toString("binary"),e=t.length&-2,i=new Uint16Array(e/2);for(let r=0,n=0;r<e;r+=2){let a=t.charCodeAt(r),o=t.charCodeAt(r+1);i[n++]=a|o<<8}return i}});var mu=D(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.htmlDecodeTree=void 0;var l1=du();fo.htmlDecodeTree=(0,l1.decodeBase64)("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IAAOA12J/c8iFvaxBhAAhOVGFjZGZnbG1vcHFzdHV4owOlA6kDsAO/A8IDxgPNA9ID8gP9AwEEFAQeBCAEJQRHAEphSAA7gNAA0EBjAHUAdABlADuAyQDJQIABYWl5ALYDuQO+A/Ihb24aYXIAYwA7gMoAykAtZG8AdAAWYXIAAOA12AjdcgBhAHYAZQA7gMgAyEDlIm1lbnQAoAgiAAFhcNYD2QNjAHIAEmF0AHkAUwLhAwAAAADpA20lYWxsU3F1YXJlAACg+yVlJ3J5U21hbGxTcXVhcmUAAKCrJQABZ3D2A/kDbwBuABhhZgAA4DXYPN3zImlsb26VY3UAAAFhaQYEDgRsAFSgdSppImxkZQAAoEIi7CNpYnJpdW0AoMwhAAFjaRgEGwRyAACgMCFtAACgcyphAJdjbQBsADuAywDLQAABaXApBC0E8yF0cwCgAyLvJG5lbnRpYWxFAKBHIYACY2Zpb3MAPQQ/BEMEXQRyBHkAJGRyAADgNdgJ3WwibGVkAFMCTAQAAAAAVARtJWFsbFNxdWFyZQAAoPwlZSdyeVNtYWxsU3F1YXJlAACgqiVwA2UEAABpBAAAAABtBGYAAOA12D3dwSFsbACgACLyI2llcnRyZgCgMSFjAPIAcQQABkpUYWJjZGZnb3JzdIgEiwSOBJMElwSkBKcEqwStBLIE5QTqBGMAeQADZDuAPgA+QO0hbWFkoJMD3GNyImV2ZQAeYYABZWl5AJ0EoASjBOQhaWwiYXIAYwAcYRNkbwB0ACBhcgAA4DXYCt0AoNkicABmAADgNdg+3eUiYXRlcgADRUZHTFNUvwTIBM8E1QTZBOAEcSJ1YWwATKBlIuUhc3MAoNsidSRsbEVxdWFsAACgZyJyI2VhdGVyAACgoirlIXNzAKB3IuwkYW50RXF1YWwAoH4qaSJsZGUAAKBzImMAcgAA4DXYotwAoGsiAARBYWNmaW9zdfkE/QQFBQgFCwUTBSIFKwVSIkRjeQAqZAABY3QBBQQFZQBrAMdiXmDpIXJjJGFyAACgDCFsJWJlcnRTcGFjZQAAoAsh8AEYBQAAGwVmAACgDSHpJXpvbnRhbExpbmUAoAAlAAFjdCYFKAXyABIF8iFvayZhbQBwAEQBMQU5BW8AdwBuAEgAdQBtAPAAAAFxInVhbAAAoE8iAAdFSk9hY2RmZ21ub3N0dVMFVgVZBVwFYwVtBXAFcwV6BZAFtgXFBckFzQVjAHkAFWTsIWlnMmFjAHkAAWRjAHUAdABlADuAzQDNQAABaXlnBWwFcgBjADuAzgDOQBhkbwB0ADBhcgAAoBEhcgBhAHYAZQA7gMwAzEAAoREhYXB/BYsFAAFjZ4MFhQVyACphaSNuYXJ5SQAAoEghbABpAGUA8wD6AvQBlQUAAKUFZaAsIgABZ3KaBZ4F8iFhbACgKyLzI2VjdGlvbgCgwiJpI3NpYmxlAAABQ1SsBbEFbyJtbWEAAKBjIGkibWVzAACgYiCAAWdwdAC8Bb8FwwVvAG4ALmFmAADgNdhA3WEAmWNjAHIAAKAQIWkibGRlAChh6wHSBQAA1QVjAHkABmRsADuAzwDPQIACY2Zvc3UA4QXpBe0F8gX9BQABaXnlBegFcgBjADRhGWRyAADgNdgN3XAAZgAA4DXYQd3jAfcFAAD7BXIAAOA12KXc8iFjeQhk6yFjeQRkgANISmFjZm9zAAwGDwYSBhUGHQYhBiYGYwB5ACVkYwB5AAxk8CFwYZpjAAFleRkGHAbkIWlsNmEaZHIAAOA12A7dcABmAADgNdhC3WMAcgAA4DXYptyABUpUYWNlZmxtb3N0AD0GQAZDBl4GawZkB2gHcAd0B80H2gdjAHkACWQ7gDwAPECAAmNtbnByAEwGTwZSBlUGWwb1IXRlOWHiIWRhm2NnAACg6ifsI2FjZXRyZgCgEiFyAACgniGAAWFleQBkBmcGagbyIW9uPWHkIWlsO2EbZAABZnNvBjQHdAAABUFDREZSVFVWYXKABp4GpAbGBssG3AYDByEHwQIqBwABbnKEBowGZyVsZUJyYWNrZXQAAKDoJ/Ihb3cAoZAhQlKTBpcGYQByAACg5CHpJGdodEFycm93AKDGIWUjaWxpbmcAAKAII28A9QGqBgAAsgZiJWxlQnJhY2tldAAAoOYnbgDUAbcGAAC+BmUkZVZlY3RvcgAAoGEp5SJjdG9yQqDDIWEAcgAAoFkpbCJvb3IAAKAKI2kiZ2h0AAABQVbSBtcGciJyb3cAAKCUIeUiY3RvcgCgTikAAWVy4AbwBmUAAKGjIkFW5gbrBnIicm93AACgpCHlImN0b3IAoFopaSNhbmdsZQBCorIi+wYAAAAA/wZhAHIAAKDPKXEidWFsAACgtCJwAIABRFRWAAoHEQcYB+8kd25WZWN0b3IAoFEpZSRlVmVjdG9yAACgYCnlImN0b3JCoL8hYQByAACgWCnlImN0b3JCoLwhYQByAACgUilpAGcAaAB0AGEAcgByAG8A9wDMAnMAAANFRkdMU1Q/B0cHTgdUB1gHXwfxJXVhbEdyZWF0ZXIAoNoidSRsbEVxdWFsAACgZiJyI2VhdGVyAACgdiLlIXNzAKChKuwkYW50RXF1YWwAoH0qaSJsZGUAAKByInIAAOA12A/dZaDYIuYjdGFycm93AKDaIWkiZG90AD9hgAFucHcAege1B7kHZwAAAkxSbHKCB5QHmwerB+UhZnQAAUFSiAeNB3Iicm93AACg9SfpJGdodEFycm93AKD3J+kkZ2h0QXJyb3cAoPYn5SFmdAABYXLcAqEHaQBnAGgAdABhAHIAcgBvAPcA5wJpAGcAaAB0AGEAcgByAG8A9wDuAmYAAOA12EPdZQByAAABTFK/B8YHZSRmdEFycm93AACgmSHpJGdodEFycm93AKCYIYABY2h0ANMH1QfXB/IAWgYAoLAh8iFva0FhAKBqIgAEYWNlZmlvc3XpB+wH7gf/BwMICQgOCBEIcAAAoAUpeQAcZAABZGzyB/kHaSR1bVNwYWNlAACgXyBsI2ludHJmAACgMyFyAADgNdgQ3e4jdXNQbHVzAKATInAAZgAA4DXYRN1jAPIA/gecY4AESmFjZWZvc3R1ACEIJAgoCDUIgQiFCDsKQApHCmMAeQAKZGMidXRlAENhgAFhZXkALggxCDQI8iFvbkdh5CFpbEVhHWSAAWdzdwA7CGEIfQjhInRpdmWAAU1UVgBECEwIWQhlJWRpdW1TcGFjZQAAoAsgaABpAAABY25SCFMIawBTAHAAYQBjAOUASwhlAHIAeQBUAGgAaQDuAFQI9CFlZAABR0xnCHUIcgBlAGEAdABlAHIARwByAGUAYQB0AGUA8gDrBGUAcwBzAEwAZQBzAPMA2wdMImluZQAKYHIAAOA12BHdAAJCbnB0jAiRCJkInAhyImVhawAAoGAgwiZyZWFraW5nU3BhY2WgYGYAAKAVIUOq7CqzCMIIzQgAAOcIGwkAAAAAAAAtCQAAbwkAAIcJAACdCcAJGQoAADQKAAFvdbYIvAjuI2dydWVudACgYiJwIkNhcAAAoG0ibyh1YmxlVmVydGljYWxCYXIAAKAmIoABbHF4ANII1wjhCOUibWVudACgCSL1IWFsVKBgImkibGRlAADgQiI4A2kic3RzAACgBCJyI2VhdGVyAACjbyJFRkdMU1T1CPoIAgkJCQ0JFQlxInVhbAAAoHEidSRsbEVxdWFsAADgZyI4A3IjZWF0ZXIAAOBrIjgD5SFzcwCgeSLsJGFudEVxdWFsAOB+KjgDaSJsZGUAAKB1IvUhbXBEASAJJwnvI3duSHVtcADgTiI4A3EidWFsAADgTyI4A2UAAAFmczEJRgn0JFRyaWFuZ2xlQqLqIj0JAAAAAEIJYQByAADgzyk4A3EidWFsAACg7CJzAICibiJFR0xTVABRCVYJXAlhCWkJcSJ1YWwAAKBwInIjZWF0ZXIAAKB4IuUhc3MA4GoiOAPsJGFudEVxdWFsAOB9KjgDaSJsZGUAAKB0IuUic3RlZAABR0x1CX8J8iZlYXRlckdyZWF0ZXIA4KIqOAPlI3NzTGVzcwDgoSo4A/IjZWNlZGVzAKGAIkVTjwmVCXEidWFsAADgryo4A+wkYW50RXF1YWwAoOAiAAFlaaAJqQl2JmVyc2VFbGVtZW50AACgDCLnJWh0VHJpYW5nbGVCousitgkAAAAAuwlhAHIAAODQKTgDcSJ1YWwAAKDtIgABcXXDCeAJdSNhcmVTdQAAAWJwywnVCfMhZXRF4I8iOANxInVhbAAAoOIi5SJyc2V0ReCQIjgDcSJ1YWwAAKDjIoABYmNwAOYJ8AkNCvMhZXRF4IIi0iBxInVhbAAAoIgi4yJlZWRzgKGBIkVTVAD6CQAKBwpxInVhbAAA4LAqOAPsJGFudEVxdWFsAKDhImkibGRlAADgfyI4A+UicnNldEXggyLSIHEidWFsAACgiSJpImxkZQCAoUEiRUZUACIKJwouCnEidWFsAACgRCJ1JGxsRXF1YWwAAKBHImkibGRlAACgSSJlJXJ0aWNhbEJhcgAAoCQiYwByAADgNdip3GkAbABkAGUAO4DRANFAnWMAB0VhY2RmZ21vcHJzdHV2XgphCmgKcgp2CnoKgQqRCpYKqwqtCrsKyArNCuwhaWdSYWMAdQB0AGUAO4DTANNAAAFpeWwKcQpyAGMAO4DUANRAHmRiImxhYwBQYXIAAOA12BLdcgBhAHYAZQA7gNIA0kCAAWFlaQCHCooKjQpjAHIATGFnAGEAqWNjInJvbgCfY3AAZgAA4DXYRt3lI25DdXJseQABRFGeCqYKbyV1YmxlUXVvdGUAAKAcIHUib3RlAACgGCAAoFQqAAFjbLEKtQpyAADgNdiq3GEAcwBoADuA2ADYQGkAbAHACsUKZABlADuA1QDVQGUAcwAAoDcqbQBsADuA1gDWQGUAcgAAAUJQ0wrmCgABYXLXCtoKcgAAoD4gYQBjAAABZWvgCuIKAKDeI2UAdAAAoLQjYSVyZW50aGVzaXMAAKDcI4AEYWNmaGlsb3JzAP0KAwsFCwkLCwsMCxELIwtaC3IjdGlhbEQAAKACInkAH2RyAADgNdgT3WkApmOgY/Ujc01pbnVzsWAAAWlwFQsgC24AYwBhAHIAZQBwAGwAYQBuAOUACgVmAACgGSGAobsqZWlvACoLRQtJC+MiZWRlc4CheiJFU1QANAs5C0ALcSJ1YWwAAKCvKuwkYW50RXF1YWwAoHwiaSJsZGUAAKB+Im0AZQAAoDMgAAFkcE0LUQv1IWN0AKAPIm8jcnRpb24AYaA3ImwAAKAdIgABY2leC2ILcgAA4DXYq9yoYwACVWZvc2oLbwtzC3cLTwBUADuAIgAiQHIAAOA12BTdcABmAACgGiFjAHIAAOA12KzcAAZCRWFjZWZoaW9yc3WPC5MLlwupC7YL2AvbC90LhQyTDJoMowzhIXJyAKAQKUcAO4CuAK5AgAFjbnIAnQugC6ML9SF0ZVRhZwAAoOsncgB0oKAhbAAAoBYpgAFhZXkArwuyC7UL8iFvblhh5CFpbFZhIGR2oBwhZSJyc2UAAAFFVb8LzwsAAWxxwwvIC+UibWVudACgCyL1JGlsaWJyaXVtAKDLIXAmRXF1aWxpYnJpdW0AAKBvKXIAAKAcIW8AoWPnIWh0AARBQ0RGVFVWYewLCgwQDDIMNwxeDHwM9gIAAW5y8Av4C2clbGVCcmFja2V0AACg6SfyIW93AKGSIUJM/wsDDGEAcgAAoOUhZSRmdEFycm93AACgxCFlI2lsaW5nAACgCSNvAPUBFgwAAB4MYiVsZUJyYWNrZXQAAKDnJ24A1AEjDAAAKgxlJGVWZWN0b3IAAKBdKeUiY3RvckKgwiFhAHIAAKBVKWwib29yAACgCyMAAWVyOwxLDGUAAKGiIkFWQQxGDHIicm93AACgpiHlImN0b3IAoFspaSNhbmdsZQBCorMiVgwAAAAAWgxhAHIAAKDQKXEidWFsAACgtSJwAIABRFRWAGUMbAxzDO8kd25WZWN0b3IAoE8pZSRlVmVjdG9yAACgXCnlImN0b3JCoL4hYQByAACgVCnlImN0b3JCoMAhYQByAACgUykAAXB1iQyMDGYAAKAdIe4kZEltcGxpZXMAoHAp6SRnaHRhcnJvdwCg2yEAAWNongyhDHIAAKAbIQCgsSHsJGVEZWxheWVkAKD0KYAGSE9hY2ZoaW1vcXN0dQC/DMgMzAzQDOIM5gwKDQ0NFA0ZDU8NVA1YDQABQ2PDDMYMyCFjeSlkeQAoZEYiVGN5ACxkYyJ1dGUAWmEAorwqYWVpedgM2wzeDOEM8iFvbmBh5CFpbF5hcgBjAFxhIWRyAADgNdgW3e8hcnQAAkRMUlXvDPYM/QwEDW8kd25BcnJvdwAAoJMhZSRmdEFycm93AACgkCHpJGdodEFycm93AKCSIXAjQXJyb3cAAKCRIechbWGjY+EkbGxDaXJjbGUAoBgicABmAADgNdhK3XICHw0AAAAAIg10AACgGiLhIXJlgKGhJUlTVQAqDTINSg3uJXRlcnNlY3Rpb24AoJMidQAAAWJwNw1ADfMhZXRFoI8icSJ1YWwAAKCRIuUicnNldEWgkCJxInVhbAAAoJIibiJpb24AAKCUImMAcgAA4DXYrtxhAHIAAKDGIgACYmNtcF8Nag2ODZANc6DQImUAdABFoNAicSJ1YWwAAKCGIgABY2huDYkNZSJlZHMAgKF7IkVTVAB4DX0NhA1xInVhbAAAoLAq7CRhbnRFcXVhbACgfSJpImxkZQAAoH8iVABoAGEA9ADHCwCgESIAodEiZXOVDZ8NciJzZXQARaCDInEidWFsAACghyJlAHQAAKDRIoAFSFJTYWNmaGlvcnMAtQ27Db8NyA3ODdsN3w3+DRgOHQ4jDk8AUgBOADuA3gDeQMEhREUAoCIhAAFIY8MNxg1jAHkAC2R5ACZkAAFidcwNzQ0JYKRjgAFhZXkA1A3XDdoN8iFvbmRh5CFpbGJhImRyAADgNdgX3QABZWnjDe4N8gHoDQAA7Q3lImZvcmUAoDQiYQCYYwABY27yDfkNayNTcGFjZQAA4F8gCiDTInBhY2UAoAkg7CFkZYChPCJFRlQABw4MDhMOcSJ1YWwAAKBDInUkbGxFcXVhbAAAoEUiaSJsZGUAAKBIInAAZgAA4DXYS93pI3BsZURvdACg2yAAAWN0Jw4rDnIAAOA12K/c8iFva2Zh4QpFDlYOYA5qDgAAbg5yDgAAAAAAAAAAAAB5DnwOqA6zDgAADg8RDxYPGg8AAWNySA5ODnUAdABlADuA2gDaQHIAb6CfIeMhaXIAoEkpcgDjAVsOAABdDnkADmR2AGUAbGEAAWl5Yw5oDnIAYwA7gNsA20AjZGIibGFjAHBhcgAA4DXYGN1yAGEAdgBlADuA2QDZQOEhY3JqYQABZGl/Dp8OZQByAAABQlCFDpcOAAFhcokOiw5yAF9gYQBjAAABZWuRDpMOAKDfI2UAdAAAoLUjYSVyZW50aGVzaXMAAKDdI28AbgBQoMMi7CF1cwCgjiIAAWdwqw6uDm8AbgByYWYAAOA12EzdAARBREVUYWRwc78O0g7ZDuEOBQPqDvMOBw9yInJvdwDCoZEhyA4AAMwOYQByAACgEilvJHduQXJyb3cAAKDFIW8kd25BcnJvdwAAoJUhcSV1aWxpYnJpdW0AAKBuKWUAZQBBoKUiciJyb3cAAKClIW8AdwBuAGEAcgByAG8A9wAQA2UAcgAAAUxS+Q4AD2UkZnRBcnJvdwAAoJYh6SRnaHRBcnJvdwCglyFpAGyg0gNvAG4ApWPpIW5nbmFjAHIAAOA12LDcaSJsZGUAaGFtAGwAO4DcANxAgAREYmNkZWZvc3YALQ8xDzUPNw89D3IPdg97D4AP4SFzaACgqyJhAHIAAKDrKnkAEmThIXNobKCpIgCg5ioAAWVyQQ9DDwCgwSKAAWJ0eQBJD00Paw9hAHIAAKAWIGmgFiDjIWFsAAJCTFNUWA9cD18PZg9hAHIAAKAjIukhbmV8YGUkcGFyYXRvcgAAoFgnaSJsZGUAAKBAItQkaGluU3BhY2UAoAogcgAA4DXYGd1wAGYAAOA12E3dYwByAADgNdix3GQiYXNoAACgqiKAAmNlZm9zAI4PkQ+VD5kPng/pIXJjdGHkIWdlAKDAInIAAOA12BrdcABmAADgNdhO3WMAcgAA4DXYstwAAmZpb3OqD64Prw+0D3IAAOA12BvdnmNwAGYAAOA12E/dYwByAADgNdiz3IAEQUlVYWNmb3N1AMgPyw/OD9EP2A/gD+QP6Q/uD2MAeQAvZGMAeQAHZGMAeQAuZGMAdQB0AGUAO4DdAN1AAAFpedwP3w9yAGMAdmErZHIAAOA12BzdcABmAADgNdhQ3WMAcgAA4DXYtNxtAGwAeGEABEhhY2RlZm9z/g8BEAUQDRAQEB0QIBAkEGMAeQAWZGMidXRlAHlhAAFheQkQDBDyIW9ufWEXZG8AdAB7YfIBFRAAABwQbwBXAGkAZAB0AOgAVAhhAJZjcgAAoCghcABmAACgJCFjAHIAAOA12LXc4QtCEEkQTRAAAGcQbRByEAAAAAAAAAAAeRCKEJcQ8hD9EAAAGxEhETIROREAAD4RYwB1AHQAZQA7gOEA4UByImV2ZQADYYCiPiJFZGl1eQBWEFkQWxBgEGUQAOA+IjMDAKA/InIAYwA7gOIA4kB0AGUAO4C0ALRAMGRsAGkAZwA7gOYA5kByoGEgAOA12B7dcgBhAHYAZQA7gOAA4EAAAWVwfBCGEAABZnCAEIQQ8yF5bQCgNSHoAIMQaABhALFjAAFhcI0QWwAAAWNskRCTEHIAAWFnAACgPypkApwQAAAAALEQAKInImFkc3ajEKcQqRCuEG4AZAAAoFUqAKBcKmwib3BlAACgWCoAoFoqAKMgImVsbXJzersQvRDAEN0Q5RDtEACgpCllAACgICJzAGQAYaAhImEEzhDQENIQ1BDWENgQ2hDcEACgqCkAoKkpAKCqKQCgqykAoKwpAKCtKQCgrikAoK8pdAB2oB8iYgBkoL4iAKCdKQABcHTpEOwQaAAAoCIixWDhIXJyAKB8IwABZ3D1EPgQbwBuAAVhZgAA4DXYUt0Ao0giRWFlaW9wBxEJEQ0RDxESERQRAKBwKuMhaXIAoG8qAKBKImQAAKBLInMAJ2DyIW94ZaBIIvEADhFpAG4AZwA7gOUA5UCAAWN0eQAmESoRKxFyAADgNdi23CpgbQBwAGWgSCLxAPgBaQBsAGQAZQA7gOMA40BtAGwAO4DkAORAAAFjaUERRxFvAG4AaQBuAPQA6AFuAHQAAKARKgAITmFiY2RlZmlrbG5vcHJzdWQRaBGXEZ8RpxGrEdIR1hErEjASexKKEn0RThNbE3oTbwB0AACg7SoAAWNybBGJEWsAAAJjZXBzdBF4EX0RghHvIW5nAKBMInAjc2lsb24A9mNyImltZQAAoDUgaQBtAGWgPSJxAACgzSJ2AY0RkRFlAGUAAKC9ImUAZABnoAUjZQAAoAUjcgBrAHSgtSPiIXJrAKC2IwABb3mjEaYRbgDnAHcRMWTxIXVvAKAeIIACY21wcnQAtBG5Eb4RwRHFEeEhdXPloDUi5ABwInR5dgAAoLApcwDpAH0RbgBvAPUA6gCAAWFodwDLEcwRzhGyYwCgNiHlIWVuAKBsInIAAOA12B/dZwCAA2Nvc3R1dncA4xHyEQUSEhIhEiYSKRKAAWFpdQDpEesR7xHwAKMFcgBjAACg7yVwAACgwyKAAWRwdAD4EfwRABJvAHQAAKAAKuwhdXMAoAEqaSJtZXMAAKACKnECCxIAAAAADxLjIXVwAKAGKmEAcgAAoAUm8iNpYW5nbGUAAWR1GhIeEu8hd24AoL0lcAAAoLMlcCJsdXMAAKAEKmUA5QBCD+UAkg9hInJvdwAAoA0pgAFha28ANhJoEncSAAFjbjoSZRJrAIABbHN0AEESRxJNEm8jemVuZ2UAAKDrKXEAdQBhAHIA5QBcBPIjaWFuZ2xlgKG0JWRscgBYElwSYBLvIXduAKC+JeUhZnQAoMIlaSJnaHQAAKC4JWsAAKAjJLEBbRIAAHUSsgFxEgAAcxIAoJIlAKCRJTQAAKCTJWMAawAAoIglAAFlb38ShxJx4D0A5SD1IWl2AOBhIuUgdAAAoBAjAAJwdHd4kRKVEpsSnxJmAADgNdhT3XSgpSJvAG0AAKClIvQhaWUAoMgiAAZESFVWYmRobXB0dXayEsES0RLgEvcS+xIKExoTHxMjEygTNxMAAkxSbHK5ErsSvRK/EgCgVyUAoFQlAKBWJQCgUyUAolAlRFVkdckSyxLNEs8SAKBmJQCgaSUAoGQlAKBnJQACTFJsctgS2hLcEt4SAKBdJQCgWiUAoFwlAKBZJQCjUSVITFJobHLrEu0S7xLxEvMS9RIAoGwlAKBjJQCgYCUAoGslAKBiJQCgXyVvAHgAAKDJKQACTFJscgITBBMGEwgTAKBVJQCgUiUAoBAlAKAMJQCiACVEVWR1EhMUExYTGBMAoGUlAKBoJQCgLCUAoDQlaSJudXMAAKCfIuwhdXMAoJ4iaSJtZXMAAKCgIgACTFJsci8TMRMzEzUTAKBbJQCgWCUAoBglAKAUJQCjAiVITFJobHJCE0QTRhNIE0oTTBMAoGolAKBhJQCgXiUAoDwlAKAkJQCgHCUAAWV2UhNVE3YA5QD5AGIAYQByADuApgCmQAACY2Vpb2ITZhNqE24TcgAA4DXYt9xtAGkAAKBPIG0A5aA9IogRbAAAoVwAYmh0E3YTAKDFKfMhdWIAoMgnbAF+E4QTbABloCIgdAAAoCIgcAAAoU4iRWWJE4sTAKCuKvGgTyI8BeEMqRMAAN8TABQDFB8UAAAjFDQUAAAAAIUUAAAAAI0UAAAAANcU4xT3FPsUAACIFQAAlhWAAWNwcgCuE7ET1RP1IXRlB2GAoikiYWJjZHMAuxO/E8QTzhPSE24AZAAAoEQqciJjdXAAAKBJKgABYXXIE8sTcAAAoEsqcAAAoEcqbwB0AACgQCoA4CkiAP4AAWVv2RPcE3QAAKBBIO4ABAUAAmFlaXXlE+8T9RP4E/AB6hMAAO0TcwAAoE0qbwBuAA1hZABpAGwAO4DnAOdAcgBjAAlhcABzAHOgTCptAACgUCpvAHQAC2GAAWRtbgAIFA0UEhRpAGwAO4C4ALhAcCJ0eXYAAKCyKXQAAIGiADtlGBQZFKJAcgBkAG8A9ABiAXIAAOA12CDdgAFjZWkAKBQqFDIUeQBHZGMAawBtoBMn4SFyawCgEyfHY3IAAKPLJUVjZWZtcz8UQRRHFHcUfBSAFACgwykAocYCZWxGFEkUcQAAoFciZQBhAlAUAAAAAGAUciJyb3cAAAFsclYUWhTlIWZ0AKC6IWkiZ2h0AACguyGAAlJTYWNkAGgUaRRrFG8UcxSuYACgyCRzAHQAAKCbIukhcmMAoJoi4SFzaACgnSJuImludAAAoBAqaQBkAACg7yrjIWlyAKDCKfUhYnN1oGMmaQB0AACgYybsApMUmhS2FAAAwxRvAG4AZaA6APGgVCKrAG0CnxQAAAAAoxRhAHSgLABAYAChASJmbKcUqRTuABMNZQAAAW14rhSyFOUhbnQAoAEiZQDzANIB5wG6FAAAwBRkoEUibwB0AACgbSpuAPQAzAGAAWZyeQDIFMsUzhQA4DXYVN1vAOQA1wEAgakAO3MeAdMUcgAAoBchAAFhb9oU3hRyAHIAAKC1IXMAcwAAoBcnAAFjdeYU6hRyAADgNdi43AABYnDuFPIUZaDPKgCg0SploNAqAKDSKuQhb3QAoO8igANkZWxwcnZ3AAYVEBUbFSEVRBVlFYQV4SFycgABbHIMFQ4VAKA4KQCgNSlwAhYVAAAAABkVcgAAoN4iYwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWlsN2E6ZHIAAOA12CjdciJlZW4AOGFjAHkARWRjAHkAXGRwAGYAAOA12FzdYwByAADgNdjA3IALQUJFSGFiY2RlZmdoamxtbm9wcnN0dXYAXhxtHHEcdRx5HN8cBx0dHTwd3B3tHfEdAR4EHh0eLB5FHrwewx7hHgkfPR9LH4ABYXJ0AGQcZxxpHHIA8gBvB/IAxQLhIWlsAKAbKeEhcnIAoA4pZ6BmIgCgiyphAHIAAKBiKWMJjRwAAJAcAACVHAAAAAAAAAAAAACZHJwcAACmHKgcrRwAANIc9SF0ZTph7SJwdHl2AKC0KXIAYQDuAFoG4iFkYbtjZwAAoegnZGyhHKMcAKCRKeUAiwYAoIUqdQBvADuAqwCrQHIAgKOQIWJmaGxwc3QAuhy/HMIcxBzHHMoczhxmoOQhcwAAoB8pcwAAoB0p6wCyGnAAAKCrIWwAAKA5KWkAbQAAoHMpbAAAoKIhAKGrKmFl1hzaHGkAbAAAoBkpc6CtKgDgrSoA/oABYWJyAOUc6RztHHIAcgAAoAwpcgBrAACgcicAAWFr8Rz4HGMAAAFla/Yc9xx7YFtgAAFlc/wc/hwAoIspbAAAAWR1Ax0FHQCgjykAoI0pAAJhZXV5Dh0RHRodHB3yIW9uPmEAAWRpFR0YHWkAbAA8YewAowbiAPccO2QAAmNxcnMkHScdLB05HWEAAKA2KXUAbwDyoBwgqhEAAWR1MB00HeghYXIAoGcpcyJoYXIAAKBLKWgAAKCyIQCiZCJmZ3FzRB1FB5Qdnh10AIACYWhscnQATh1WHWUdbB2NHXIicm93AHSgkCFhAOkAzxxhI3Jwb29uAAABZHVeHWId7yF3bgCgvSFwAACgvCHlJGZ0YXJyb3dzAKDHIWkiZ2h0AIABYWhzAHUdex2DHXIicm93APOglCGdBmEAcgBwAG8AbwBuAPMAzgtxAHUAaQBnAGEAcgByAG8A9wBlGugkcmVldGltZXMAoMsi8aFkIk0HAACaHWwAYQBuAPQAXgcAon0qY2Rnc6YdqR2xHbcdYwAAoKgqbwB0AG+gfypyoIEqAKCDKmXg2iIA/nMAAKCTKoACYWRlZ3MAwB3GHcod1h3ZHXAAcAByAG8A+ACmHG8AdAAAoNYicQAAAWdxzx3SHXQA8gBGB2cAdADyAHQcdADyAFMHaQDtAGMHgAFpbHIA4h3mHeod8yFodACgfClvAG8A8gDKBgDgNdgp3UWgdiIAoJEqYQH1Hf4dcgAAAWR1YB35HWygvCEAoGopbABrAACghCVjAHkAWWQAomoiYWNodAweDx4VHhkecgDyAGsdbwByAG4AZQDyAGAW4SFyZACgaylyAGkAAKD6JQABaW8hHiQe5CFvdEBh9SFzdGGgsCPjIWhlAKCwIwACRWFlczMeNR48HkEeAKBoInAAcKCJKvIhb3gAoIkqcaCHKvGghyo0HmkAbQAAoOYiAARhYm5vcHR3elIeXB5fHoUelh6mHqsetB4AAW5yVh5ZHmcAAKDsJ3IAAKD9IXIA6wCwBmcAgAFsbXIAZh52Hnse5SFmdAABYXKIB2weaQBnAGgAdABhAHIAcgBvAPcAkwfhInBzdG8AoPwnaQBnAGgAdABhAHIAcgBvAPcAmgdwI2Fycm93AAABbHKNHpEeZQBmAPQAxhxpImdodAAAoKwhgAFhZmwAnB6fHqIecgAAoIUpAOA12F3ddQBzAACgLSppIm1lcwAAoDQqYQGvHrMecwB0AACgFyLhAIoOZaHKJbkeRhLuIWdlAKDKJWEAcgBsoCgAdAAAoJMpgAJhY2htdADMHs8e1R7bHt0ecgDyAJ0GbwByAG4AZQDyANYWYQByAGSgyyEAoG0pAKAOIHIAaQAAoL8iAANhY2hpcXTrHu8e1QfzHv0eBh/xIXVvAKA5IHIAAOA12MHcbQDloXIi+h4AAPweAKCNKgCgjyoAAWJ19xwBH28AcqAYIACgGiDyIW9rQmEAhDwAO2NkaGlscXJCBhcfxh0gHyQfKB8sHzEfAAFjaRsfHR8AoKYqcgAAoHkqcgBlAOUAkx3tIWVzAKDJIuEhcnIAoHYpdSJlc3QAAKB7KgABUGk1HzkfYQByAACglillocMlAgdfEnIAAAFkdUIfRx9zImhhcgAAoEop6CFhcgCgZikAAWVuTx9WH3IjdG5lcXEAAOBoIgD+xQBUHwAHRGFjZGVmaGlsbm9wc3VuH3Ifoh+rH68ftx+7H74f5h/uH/MfBwj/HwsgxCFvdACgOiIAAmNscHJ5H30fiR+eH3IAO4CvAK9AAAFldIEfgx8AoEImZaAgJ3MAZQAAoCAnc6CmIXQAbwCAoaYhZGx1AJQfmB+cH28AdwDuAHkDZQBmAPQA6gbwAOkO6yFlcgCgriUAAW95ph+qH+0hbWEAoCkqPGThIXNoAKAUIOElc3VyZWRhbmdsZQCgISJyAADgNdgq3W8AAKAnIYABY2RuAMQfyR/bH3IAbwA7gLUAtUBhoiMi0B8AANMf1x9zAPQAKxFpAHIAAKDwKm8AdAA7gLcAt0B1AHMA4qESIh4TAADjH3WgOCIAoCoqYwHqH+0fcAAAoNsq8gB+GnAAbAB1APMACAgAAWRw9x/7H+UhbHMAoKciZgAA4DXYXt0AAWN0AyAHIHIAAOA12MLc8CFvcwCgPiJsobwDECAVIPQiaW1hcACguCJhAPAAEyAADEdMUlZhYmNkZWZnaGlqbG1vcHJzdHV2dzwgRyBmIG0geSCqILgg2iDeIBEhFSEyIUMhTSFQIZwhnyHSIQAiIyKLIrEivyIUIwABZ3RAIEMgAODZIjgD9uBrItIgBwmAAWVsdABNIF8gYiBmAHQAAAFhclMgWCByInJvdwAAoM0h6SRnaHRhcnJvdwCgziEA4NgiOAP24Goi0iBfCekkZ2h0YXJyb3cAoM8hAAFEZHEgdSDhIXNoAKCvIuEhc2gAoK4igAJiY25wdACCIIYgiSCNIKIgbABhAACgByL1IXRlRGFnAADgICLSIACiSSJFaW9wlSCYIJwgniAA4HAqOANkAADgSyI4A3MASWFyAG8A+AAyCnUAcgBhoG4mbADzoG4mmwjzAa8gAACzIHAAO4CgAKBAbQBwAOXgTiI4AyoJgAJhZW91eQDBIMogzSDWINkg8AHGIAAAyCAAoEMqbwBuAEhh5CFpbEZhbgBnAGSgRyJvAHQAAOBtKjgDcAAAoEIqPWThIXNoAKATIACjYCJBYWRxc3jpIO0g+SD+IAIhDCFyAHIAAKDXIXIAAAFocvIg9SBrAACgJClvoJch9wAGD28AdAAA4FAiOAN1AGkA9gC7CAABZWkGIQohYQByAACgKCntAN8I6SFzdPOgBCLlCHIAAOA12CvdAAJFZXN0/wgcISshLiHxoXEiIiEAABMJ8aFxIgAJAAAnIWwAYQBuAPQAEwlpAO0AGQlyoG8iAKBvIoABQWFwADghOyE/IXIA8gBeIHIAcgAAoK4hYQByAACg8ipzogsiSiEAAAAAxwtkoPwiAKD6ImMAeQBaZIADQUVhZGVzdABcIV8hYiFmIWkhkyGWIXIA8gBXIADgZiI4A3IAcgAAoJohcgAAoCUggKFwImZxcwBwIYQhjiF0AAABYXJ1IXohcgByAG8A9wBlIWkAZwBoAHQAYQByAHIAbwD3AD4h8aFwImAhAACKIWwAYQBuAPQAZwlz4H0qOAMAoG4iaQDtAG0JcqBuImkA5aDqIkUJaQDkADoKAAFwdKMhpyFmAADgNdhf3YCBrAA7aW4AriGvIcchrEBuAIChCSJFZHYAtyG6Ib8hAOD5IjgDbwB0AADg9SI4A+EB1gjEIcYhAKD3IgCg9iJpAHagDCLhAagJzyHRIQCg/iIAoP0igAFhb3IA2CHsIfEhcgCAoSYiYXN0AOAh5SHpIWwAbABlAOwAywhsAADg/SrlIADgAiI4A2wiaW50AACgFCrjoYAi9yEAAPohdQDlAJsJY+CvKjgDZaCAIvEAkwkAAkFhaXQHIgoiFyIeInIA8gBsIHIAcgAAoZshY3cRIhQiAOAzKTgDAOCdITgDZyRodGFycm93AACgmyFyAGkA5aDrIr4JgANjaGltcHF1AC8iPCJHIpwhTSJQIloigKGBImNlcgA2Iv0JOSJ1AOUABgoA4DXYw9zvIXJ0bQKdIQAAAABEImEAcgDhAOEhbQBloEEi8aBEIiYKYQDyAMsIcwB1AAABYnBWIlgi5QDUCeUA3wmAAWJjcABgInMieCKAoYQiRWVzAGci7glqIgDgxSo4A2UAdABl4IIi0iBxAPGgiCJoImMAZaCBIvEA/gmAoYUiRWVzAH8iFgqCIgDgxio4A2UAdABl4IMi0iBxAPGgiSKAIgACZ2lscpIilCKaIpwi7AAMCWwAZABlADuA8QDxQOcAWwlpI2FuZ2xlAAABbHKkIqoi5SFmdGWg6iLxAEUJaSJnaHQAZaDrIvEAvgltoL0DAKEjAGVzuCK8InIAbwAAoBYhcAAAoAcggARESGFkZ2lscnMAziLSItYi2iLeIugi7SICIw8j4SFzaACgrSLhIXJyAKAEKXAAAOBNItIg4SFzaACgrCIAAWV04iLlIgDgZSLSIADgPgDSIG4iZmluAACg3imAAUFldADzIvci+iJyAHIAAKACKQDgZCLSIHLgPADSIGkAZQAA4LQi0iAAAUF0BiMKI3IAcgAAoAMp8iFpZQDgtSLSIGkAbQAA4Dwi0iCAAUFhbgAaIx4jKiNyAHIAAKDWIXIAAAFociMjJiNrAACgIylvoJYh9wD/DuUhYXIAoCcpUxJqFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVCMAAF4jaSN/I4IjjSOeI8AUAAAAAKYjwCMAANoj3yMAAO8jHiQvJD8kRCQAAWNzVyNsFHUAdABlADuA8wDzQAABaXlhI2cjcgBjoJoiO4D0APRAPmSAAmFiaW9zAHEjdCN3I3EBeiNzAOgAdhTsIWFjUWF2AACgOCrvIWxkAKC8KewhaWdTYQABY3KFI4kjaQByAACgvykA4DXYLN1vA5QjAAAAAJYjAACcI24A22JhAHYAZQA7gPIA8kAAoMEpAAFibaEjjAphAHIAAKC1KQACYWNpdKwjryO6I70jcgDyAFkUAAFpcrMjtiNyAACgvinvIXNzAKC7KW4A5QDZCgCgwCmAAWFlaQDFI8gjyyNjAHIATWFnAGEAyWOAAWNkbgDRI9Qj1iPyIW9uv2MAoLYpdQDzAHgBcABmAADgNdhg3YABYWVsAOQj5yPrI3IAAKC3KXIAcAAAoLkpdQDzAHwBAKMoImFkaW9zdvkj/CMPJBMkFiQbJHIA8gBeFIChXSplZm0AAyQJJAwkcgBvoDQhZgAAoDQhO4CqAKpAO4C6ALpA5yFvZgCgtiJyAACgVipsIm9wZQAAoFcqAKBbKoABY2xvACMkJSQrJPIACCRhAHMAaAA7gPgA+EBsAACgmCJpAGwBMyQ4JGQAZQA7gPUA9UBlAHMAYaCXInMAAKA2Km0AbAA7gPYA9kDiIWFyAKA9I+EKXiQAAHokAAB8JJQkAACYJKkkAAAAALUkEQsAAPAkAAAAAAQleiUAAIMlcgCAoSUiYXN0AGUkbyQBCwCBtgA7bGokayS2QGwAZQDsABgDaQJ1JAAAAAB4JG0AAKDzKgCg/Sp5AD9kcgCAAmNpbXB0AIUkiCSLJJkSjyRuAHQAJWBvAGQALmBpAGwAAKAwIOUhbmsAoDEgcgAA4DXYLd2AAWltbwCdJKAkpCR2oMYD1WNtAGEA9AD+B24AZQAAoA4m9KHAA64kAAC0JGMjaGZvcmsAAKDUItZjAAFhdbgkxCRuAAABY2u9JMIkawBooA8hAKAOIfYAaRpzAACkKwBhYmNkZW1zdNMkIRPXJNsk4STjJOck6yTjIWlyAKAjKmkAcgAAoCIqAAFvdYsW3yQAoCUqAKByKm4AO4CxALFAaQBtAACgJip3AG8AAKAnKoABaXB1APUk+iT+JO4idGludACgFSpmAADgNdhh3W4AZAA7gKMAo0CApHoiRWFjZWlub3N1ABMlFSUYJRslTCVRJVklSSV1JQCgsypwAACgtyp1AOUAPwtjoK8qgKJ6ImFjZW5zACclLSU0JTYlSSVwAHAAcgBvAPgAFyV1AHIAbAB5AGUA8QA/C/EAOAuAAWFlcwA8JUElRSXwInByb3gAoLkqcQBxAACgtSppAG0AAKDoImkA7QBEC20AZQDzoDIgIguAAUVhcwBDJVclRSXwAEAlgAFkZnAATwtfJXElgAFhbHMAZSVpJW0l7CFhcgCgLiPpIW5lAKASI/UhcmYAoBMjdKAdIu8AWQvyIWVsAKCwIgABY2l9JYElcgAA4DXYxdzIY24iY3NwAACgCCAAA2Zpb3BzdZElKxuVJZolnyWkJXIAAOA12C7dcABmAADgNdhi3XIiaW1lAACgVyBjAHIAAOA12MbcgAFhZW8AqiW6JcAldAAAAWVpryW2JXIAbgBpAG8AbgDzABkFbgB0AACgFipzAHQAZaA/APEACRj0AG0LgApBQkhhYmNkZWZoaWxtbm9wcnN0dXgA4yXyJfYl+iVpJpAmpia9JtUm5ib4JlonaCdxJ3UnnietJ7EnyCfiJ+cngAFhcnQA6SXsJe4lcgDyAJkM8gD6AuEhaWwAoBwpYQByAPIA3BVhAHIAAKBkKYADY2RlbnFydAAGJhAmEyYYJiYmKyZaJgABZXUKJg0mAOA9IjEDdABlAFVhaQDjACAN7SJwdHl2AKCzKWcAgKHpJ2RlbAAgJiImJCYAoJIpAKClKeUA9wt1AG8AO4C7ALtAcgAApZIhYWJjZmhscHN0dz0mQCZFJkcmSiZMJk4mUSZVJlgmcAAAoHUpZqDlIXMAAKAgKQCgMylzAACgHinrALka8ACVHmwAAKBFKWkAbQAAoHQpbAAAoKMhAKCdIQABYWleJmImaQBsAACgGilvAG6gNiJhAGwA8wB2C4ABYWJyAG8mciZ2JnIA8gAvEnIAawAAoHMnAAFha3omgSZjAAABZWt/JoAmfWBdYAABZXOFJocmAKCMKWwAAAFkdYwmjiYAoI4pAKCQKQACYWV1eZcmmiajJqUm8iFvbllhAAFkaZ4moSZpAGwAV2HsAA8M4gCAJkBkAAJjbHFzrSawJrUmuiZhAACgNylkImhhcgAAoGkpdQBvAPKgHSCjAWgAAKCzIYABYWNnAMMm0iaUC2wAgKEcIWlwcwDLJs4migxuAOUAoAxhAHIA9ADaC3QAAKCtJYABaWxyANsm3ybjJvMhaHQAoH0pbwBvAPIANgwA4DXYL90AAWFv6ib1JnIAAAFkde8m8SYAoMEhbKDAIQCgbCl2oMED8WOAAWducwD+Jk4nUCdoAHQAAANhaGxyc3QKJxInISc1Jz0nRydyInJvdwB0oJIhYQDpAFYmYSNycG9vbgAAAWR1GiceJ28AdwDuAPAmcAAAoMAh5SFmdAABYWgnJy0ncgByAG8AdwDzAAkMYQByAHAAbwBvAG4A8wATBGklZ2h0YXJyb3dzAACgySFxAHUAaQBnAGEAcgByAG8A9wBZJugkcmVldGltZXMAoMwiZwDaYmkAbgBnAGQAbwB0AHMAZQDxABwYgAFhaG0AYCdjJ2YncgDyAAkMYQDyABMEAKAPIG8idXN0AGGgsSPjIWhlAKCxI+0haWQAoO4qAAJhYnB0fCeGJ4knmScAAW5ygCeDJ2cAAKDtJ3IAAKD+IXIA6wAcDIABYWZsAI8nkieVJ3IAAKCGKQDgNdhj3XUAcwAAoC4qaSJtZXMAAKA1KgABYXCiJ6gncgBnoCkAdAAAoJQp7yJsaW50AKASKmEAcgDyADwnAAJhY2hxuCe8J6EMwCfxIXVvAKA6IHIAAOA12MfcAAFidYAmxCdvAPKgGSCoAYABaGlyAM4n0ifWJ3IAZQDlAE0n7SFlcwCgyiJpAIChuSVlZmwAXAxjEt4n9CFyaQCgzinsInVoYXIAoGgpAKAeIWENBSgJKA0oSyhVKIYoAACLKLAoAAAAAOMo5ygAABApJCkxKW0pcSmHKaYpAACYKgAAAACxKmMidXRlAFthcQB1AO8ABR+ApHsiRWFjZWlucHN5ABwoHignKCooLygyKEEoRihJKACgtCrwASMoAAAlKACguCpvAG4AYWF1AOUAgw1koLAqaQBsAF9hcgBjAF1hgAFFYXMAOCg6KD0oAKC2KnAAAKC6KmkAbQAAoOki7yJsaW50AKATKmkA7QCIDUFkbwB0AGKixSKRFgAAAABTKACgZiqAA0FhY21zdHgAYChkKG8ocyh1KHkogihyAHIAAKDYIXIAAAFocmkoayjrAJAab6CYIfcAzAd0ADuApwCnQGkAO2D3IWFyAKApKW0AAAFpbn4ozQBuAHUA8wDOAHQAAKA2J3IA7+A12DDdIxkAAmFjb3mRKJUonSisKHIAcAAAoG8mAAFoeZkonChjAHkASWRIZHIAdABtAqUoAAAAAKgoaQDkAFsPYQByAGEA7ABsJDuArQCtQAABZ22zKLsobQBhAAChwwNmdroouijCY4CjPCJkZWdsbnByAMgozCjPKNMo1yjaKN4obwB0AACgairxoEMiCw5FoJ4qAKCgKkWgnSoAoJ8qZQAAoEYi7CF1cwCgJCrhIXJyAKByKWEAcgDyAPwMAAJhZWl07Sj8KAEpCCkAAWxz8Sj4KGwAcwBlAHQAbQDpAH8oaABwAACgMyrwImFyc2wAoOQpAAFkbFoPBSllAACgIyNloKoqc6CsKgDgrCoA/oABZmxwABUpGCkfKfQhY3lMZGKgLwBhoMQpcgAAoD8jZgAA4DXYZN1hAAABZHIoKRcDZQBzAHWgYCZpAHQAAKBgJoABY3N1ADYpRilhKQABYXU6KUApcABzoJMiAOCTIgD+cABzoJQiAOCUIgD+dQAAAWJwSylWKQChjyJlcz4NUCllAHQAZaCPIvEAPw0AoZAiZXNIDVspZQB0AGWgkCLxAEkNAKGhJWFmZilbBHIAZQFrKVwEAKChJWEAcgDyAAMNAAJjZW10dyl7KX8pgilyAADgNdjI3HQAbQDuAM4AaQDsAAYpYQByAOYAVw0AAWFyiimOKXIA5qAGJhESAAFhbpIpoylpImdodAAAAWVwmSmgKXAAcwBpAGwAbwDuANkXaADpAKAkcwCvYIACYmNtbnAArin8KY4NJSooKgCkgiJFZGVtbnByc7wpvinCKcgpzCnUKdgp3CkAoMUqbwB0AACgvSpkoIYibwB0AACgwyr1IWx0AKDBKgABRWXQKdIpAKDLKgCgiiLsIXVzAKC/KuEhcnIAoHkpgAFlaXUA4inxKfQpdAAAoYIiZW7oKewpcQDxoIYivSllAHEA8aCKItEpbQAAoMcqAAFicPgp+ikAoNUqAKDTKmMAgKJ7ImFjZW5zAAcqDSoUKhYqRihwAHAAcgBvAPgAIyh1AHIAbAB5AGUA8QCDDfEAfA2AAWFlcwAcKiIqPShwAHAAcgBvAPgAPChxAPEAOShnAACgaiYApoMiMTIzRWRlaGxtbnBzPCo/KkIqRSpHKlIqWCpjKmcqaypzKncqO4C5ALlAO4CyALJAO4CzALNAAKDGKgABb3NLKk4qdAAAoL4qdQBiAACg2CpkoIcibwB0AACgxCpzAAABb3VdKmAqbAAAoMknYgAAoNcq4SFycgCgeyn1IWx0AKDCKgABRWVvKnEqAKDMKgCgiyLsIXVzAKDAKoABZWl1AH0qjCqPKnQAAKGDImVugyqHKnEA8aCHIkYqZQBxAPGgiyJwKm0AAKDIKgABYnCTKpUqAKDUKgCg1iqAAUFhbgCdKqEqrCpyAHIAAKDZIXIAAAFocqYqqCrrAJUab6CZIfcAxQf3IWFyAKAqKWwAaQBnADuA3wDfQOELzyrZKtwq6SrsKvEqAAD1KjQrAAAAAAAAAAAAAEwrbCsAAHErvSsAAAAAAADRK3IC1CoAAAAA2CrnIWV0AKAWI8RjcgDrAOUKgAFhZXkA4SrkKucq8iFvbmVh5CFpbGNhQmRvAPQAIg5sInJlYwAAoBUjcgAA4DXYMd0AAmVpa2/7KhIrKCsuK/IBACsAAAkrZQAAATRm6g0EK28AcgDlAOsNYQBzorgDECsAAAAAEit5AG0A0WMAAWNuFislK2sAAAFhcxsrIStwAHAAcgBvAPgAFw5pAG0AAKA8InMA8AD9DQABYXMsKyEr8AAXDnIAbgA7gP4A/kDsATgrOyswG2QA5QBnAmUAcwCAgdcAO2JkAEMrRCtJK9dAYaCgInIAAKAxKgCgMCqAAWVwcwBRK1MraSvhAAkh4qKkIlsrXysAAAAAYytvAHQAAKA2I2kAcgAAoPEqb+A12GXdcgBrAACg2irhAHgociJpbWUAAKA0IIABYWlwAHYreSu3K2QA5QC+DYADYWRlbXBzdACFK6MrmiunK6wrsCuzK24iZ2xlAACitSVkbHFykCuUK5ornCvvIXduAKC/JeUhZnRloMMl8QACBwCgXCJpImdodABloLkl8QBdDG8AdAAAoOwlaSJudXMAAKA6KuwhdXMAoDkqYgAAoM0p6SFtZQCgOyrlInppdW0AoOIjgAFjaHQAwivKK80rAAFyecYrySsA4DXYydxGZGMAeQBbZPIhb2tnYQABaW/UK9creAD0ANERaCJlYWQAAAFsct4r5ytlAGYAdABhAHIAcgBvAPcAXQbpJGdodGFycm93AKCgIQAJQUhhYmNkZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg")});var Au=D(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.xmlDecodeTree=void 0;var c1=du();mo.xmlDecodeTree=(0,c1.decodeBase64)("AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg")});var Hm=D(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.BinTrieFlags=void 0;var jm;(function(s){s[s.VALUE_LENGTH=49152]="VALUE_LENGTH",s[s.FLAG13=8192]="FLAG13",s[s.BRANCH_LENGTH=8064]="BRANCH_LENGTH",s[s.JUMP_TABLE=127]="JUMP_TABLE"})(jm||(Ao.BinTrieFlags=jm={}))});var Su=D(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});Xe.xmlDecodeTree=Xe.htmlDecodeTree=Xe.replaceCodePoint=Xe.fromCodePoint=Xe.decodeCodePoint=Xe.EntityDecoder=Xe.DecodingMode=void 0;Xe.determineBranch=Xm;Xe.decodeHTML=A1;Xe.decodeHTMLAttribute=g1;Xe.decodeHTMLStrict=y1;Xe.decodeXML=E1;var Gm=pu(),u1=mu(),h1=Au(),Jt=Hm(),ke;(function(s){s[s.NUM=35]="NUM",s[s.SEMI=59]="SEMI",s[s.EQUALS=61]="EQUALS",s[s.ZERO=48]="ZERO",s[s.NINE=57]="NINE",s[s.LOWER_A=97]="LOWER_A",s[s.LOWER_F=102]="LOWER_F",s[s.LOWER_X=120]="LOWER_X",s[s.LOWER_Z=122]="LOWER_Z",s[s.UPPER_A=65]="UPPER_A",s[s.UPPER_F=70]="UPPER_F",s[s.UPPER_Z=90]="UPPER_Z"})(ke||(ke={}));var Km=32;function gu(s){return s>=ke.ZERO&&s<=ke.NINE}function p1(s){return s>=ke.UPPER_A&&s<=ke.UPPER_F||s>=ke.LOWER_A&&s<=ke.LOWER_F}function f1(s){return s>=ke.UPPER_A&&s<=ke.UPPER_Z||s>=ke.LOWER_A&&s<=ke.LOWER_Z||gu(s)}function d1(s){return s===ke.EQUALS||f1(s)}var lt;(function(s){s[s.EntityStart=0]="EntityStart",s[s.NumericStart=1]="NumericStart",s[s.NumericDecimal=2]="NumericDecimal",s[s.NumericHex=3]="NumericHex",s[s.NamedEntity=4]="NamedEntity"})(lt||(lt={}));var Es;(function(s){s[s.Legacy=0]="Legacy",s[s.Strict=1]="Strict",s[s.Attribute=2]="Attribute"})(Es||(Xe.DecodingMode=Es={}));var go=class{constructor(t,e,i){this.decodeTree=t,this.emitCodePoint=e,this.errors=i,this.state=lt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Es.Strict}startEntity(t){this.decodeMode=t,this.state=lt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case lt.EntityStart:return t.charCodeAt(e)===ke.NUM?(this.state=lt.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=lt.NamedEntity,this.stateNamedEntity(t,e));case lt.NumericStart:return this.stateNumericStart(t,e);case lt.NumericDecimal:return this.stateNumericDecimal(t,e);case lt.NumericHex:return this.stateNumericHex(t,e);case lt.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(t.charCodeAt(e)|Km)===ke.LOWER_X?(this.state=lt.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=lt.NumericDecimal,this.stateNumericDecimal(t,e))}stateNumericHex(t,e){for(;e<t.length;){let i=t.charCodeAt(e);if(gu(i)||p1(i)){let r=i<=ke.NINE?i-ke.ZERO:(i|Km)-ke.LOWER_A+10;this.result=this.result*16+r,this.consumed++,e++}else return this.emitNumericEntity(i,3)}return-1}stateNumericDecimal(t,e){for(;e<t.length;){let i=t.charCodeAt(e);if(gu(i))this.result=this.result*10+(i-ke.ZERO),this.consumed++,e++;else return this.emitNumericEntity(i,2)}return-1}emitNumericEntity(t,e){var i;if(this.consumed<=e)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ke.SEMI)this.consumed+=1;else if(this.decodeMode===Es.Strict)return 0;return this.emitCodePoint((0,Gm.replaceCodePoint)(this.result),this.consumed),this.errors&&(t!==ke.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){let{decodeTree:i}=this,r=i[this.treeIndex],n=(r&Jt.BinTrieFlags.VALUE_LENGTH)>>14;for(;e<t.length;){if(n===0&&(r&Jt.BinTrieFlags.FLAG13)!==0){let o=(r&Jt.BinTrieFlags.BRANCH_LENGTH)>>7,l=r&Jt.BinTrieFlags.JUMP_TABLE;if(e+o>t.length)return-1;if(t.charCodeAt(e)!==l)return this.result===0?0:this.emitNotTerminatedNamedEntity();e++,this.excess++;let c=o-1;for(let u=1;u<o;u+=2){let h=i[this.treeIndex+1+(u-1>>1)],p=h&255;if(t.charCodeAt(e)!==p)return this.result===0?0:this.emitNotTerminatedNamedEntity();e++,this.excess++;let f=h>>8&255;if(u+1<o){if(t.charCodeAt(e)!==f)return this.result===0?0:this.emitNotTerminatedNamedEntity();e++,this.excess++}}this.treeIndex+=1+(c+1>>1),r=i[this.treeIndex],n=(r&Jt.BinTrieFlags.VALUE_LENGTH)>>14}if(e>=t.length)break;let a=t.charCodeAt(e);if(a===ke.SEMI&&n!==0&&(r&Jt.BinTrieFlags.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);if(this.treeIndex=Xm(i,r,this.treeIndex+Math.max(1,n),a),this.treeIndex<0)return this.result===0||this.decodeMode===Es.Attribute&&(n===0||d1(a))?0:this.emitNotTerminatedNamedEntity();if(r=i[this.treeIndex],n=(r&Jt.BinTrieFlags.VALUE_LENGTH)>>14,n!==0){if(a===ke.SEMI)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);this.decodeMode!==Es.Strict&&(r&Jt.BinTrieFlags.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}e++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var t;let{result:e,decodeTree:i}=this,r=(i[e]&Jt.BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,i){let{decodeTree:r}=this;return this.emitCodePoint(e===1?r[t]&~(Jt.BinTrieFlags.VALUE_LENGTH|Jt.BinTrieFlags.FLAG13):r[t+1],i),e===3&&this.emitCodePoint(r[t+2],i),i}end(){var t;switch(this.state){case lt.NamedEntity:return this.result!==0&&(this.decodeMode!==Es.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case lt.NumericDecimal:return this.emitNumericEntity(0,2);case lt.NumericHex:return this.emitNumericEntity(0,3);case lt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case lt.EntityStart:return 0}}};Xe.EntityDecoder=go;function Wm(s){let t="",e=new go(s,i=>t+=(0,Gm.fromCodePoint)(i));return function(r,n){let a=0,o=0;for(;(o=r.indexOf("&",o))>=0;){t+=r.slice(a,o),e.startEntity(n);let c=e.write(r,o+1);if(c<0){a=o+e.end();break}a=o+c,o=c===0?a+1:a}let l=t+r.slice(a);return t="",l}}function Xm(s,t,e,i){let r=(t&Jt.BinTrieFlags.BRANCH_LENGTH)>>7,n=t&Jt.BinTrieFlags.JUMP_TABLE;if(r===0)return n!==0&&i===n?e:-1;if(n){let c=i-n;return c<0||c>=r?-1:s[e+c]-1}let a=r+1>>1,o=0,l=r-1;for(;o<=l;){let c=o+l>>>1,u=c>>1,p=s[e+u]>>(c&1)*8&255;if(p<i)o=c+1;else if(p>i)l=c-1;else return s[e+a+c]}return-1}var yu=Wm(u1.htmlDecodeTree),m1=Wm(h1.xmlDecodeTree);function A1(s,t=Es.Legacy){return yu(s,t)}function g1(s){return yu(s,Es.Attribute)}function y1(s){return yu(s,Es.Strict)}function E1(s){return m1(s,Es.Strict)}var Eu=pu();Object.defineProperty(Xe,"decodeCodePoint",{enumerable:!0,get:function(){return Eu.decodeCodePoint}});Object.defineProperty(Xe,"fromCodePoint",{enumerable:!0,get:function(){return Eu.fromCodePoint}});Object.defineProperty(Xe,"replaceCodePoint",{enumerable:!0,get:function(){return Eu.replaceCodePoint}});var S1=mu();Object.defineProperty(Xe,"htmlDecodeTree",{enumerable:!0,get:function(){return S1.htmlDecodeTree}});var b1=Au();Object.defineProperty(Xe,"xmlDecodeTree",{enumerable:!0,get:function(){return b1.xmlDecodeTree}})});var ih=D(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});function T1(s,t){if(s==null)return{};var e={};for(var i in s)if({}.hasOwnProperty.call(s,i)){if(t.indexOf(i)!==-1)continue;e[i]=s[i]}return e}var Vs=class{constructor(t,e,i){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=e,this.index=i}},Gr=class{constructor(t,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=e}};function wt(s,t){let{line:e,column:i,index:r}=s;return new Vs(e,i+t,r+t)}var qm="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",C1={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:qm},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:qm}},Qm={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"},So=s=>s.type==="UpdateExpression"?Qm.UpdateExpression[`${s.prefix}`]:Qm[s.type],I1={AccessorIsGenerator:({kind:s})=>`A ${s}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:s})=>`Missing initializer in ${s} 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:s})=>`\`${s}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:s,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
2
|
+
var cC=Object.create;var rm=Object.defineProperty;var uC=Object.getOwnPropertyDescriptor;var pC=Object.getOwnPropertyNames;var hC=Object.getPrototypeOf,fC=Object.prototype.hasOwnProperty;var qc=(s=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(s,{get:(t,e)=>(typeof require<"u"?require:t)[e]}):s)(function(s){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+s+'" is not supported')});var D=(s,t)=>()=>(t||s((t={exports:{}}).exports,t),t.exports);var dC=(s,t,e,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of pC(t))!fC.call(s,r)&&r!==e&&rm(s,r,{get:()=>t[r],enumerable:!(i=uC(t,r))||i.enumerable});return s};var mC=(s,t,e)=>(e=s!=null?cC(hC(s)):{},dC(t||!s||!s.__esModule?rm(e,"default",{value:s,enumerable:!0}):e,s));var $e=D(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.codeFeatures=void 0;var IC={all:{verification:!0,completion:!0,semantic:!0,navigation:!0},importCompletionOnly:{__importCompletion:!0},verification:{verification:!0},completion:{completion:!0},withoutCompletion:{verification:!0,semantic:!0,navigation:!0},navigation:{navigation:!0},navigationWithoutRename:{navigation:{shouldRename:()=>!1}},navigationAndCompletion:{navigation:!0,completion:!0},navigationAndVerification:{navigation:!0,verification:!0},withoutNavigation:{verification:!0,completion:!0,semantic:!0},semanticWithoutHighlight:{semantic:{shouldHighlight:()=>!1}},withoutHighlight:{semantic:{shouldHighlight:()=>!1},verification:!0,navigation:!0,completion:!0},withoutHighlightAndCompletion:{semantic:{shouldHighlight:()=>!1},verification:!0,navigation:!0},withoutSemantic:{verification:!0,navigation:!0,completion:!0},doNotReportTs2339AndTs2551:{verification:{shouldReport:(s,t)=>String(t)!=="2339"&&String(t)!=="2551"}},doNotReportTs2353AndTs2561:{verification:{shouldReport:(s,t)=>String(t)!=="2353"&&String(t)!=="2561"}},doNotReportTs6133:{verification:{shouldReport:(s,t)=>String(t)!=="6133"}}};ao.codeFeatures=IC});var nt=D(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.names=void 0;var _C={base:"",export:"",components:"",componentsOption:"",ctx:"",defaultModels:"",defaults:"",directives:"",directivesOption:"",dollars:"",emit:"",exposed:"",intrinsics:"",modelEmit:"",props:"",propsOption:"",self:"",setup:"",slots:"",src:"",Emit:"",EmitProps:"",GlobalComponents:"",InheritedAttrs:"",LocalComponents:"",LocalDirectives:"",ModelEmit:"",ModelProps:"",Props:"",PublicProps:"",RootEl:"",SetupExposed:"",Slots:"",StyleModules:"",StyleScopedClasses:"",TemplateRefs:"",asFunctionalComponent0:"",asFunctionalComponent1:"",asFunctionalDirective:"",asFunctionalElement0:"",asFunctionalElement1:"",asFunctionalSlot:"",directiveBindingRestFields:"",functionalComponentArgsRest:"",omit:"",tryAsConstant:"",vFor:"",vSlot:"",ConstructorOverloads:"",Elements:"",EmitsToProps:"",FunctionalComponent0:"",FunctionalComponent1:"",FunctionalComponentCtx:"",FunctionalComponentProps:"",IsAny:"",IsFunction:"",NormalizeComponentEvent:"",NormalizeEmits:"",OverloadUnion:"",OverloadUnionInner:"",PickNotAny:"",PrettifyGlobal:"",ResolveDirectives:"",ResolveEmits:"",ShortEmits:"",ShortEmitsToObject:"",SpreadMerge:"",UnionToIntersection:"",WithComponent:""};oo.names=Object.fromEntries(Object.keys(_C).map(s=>[s,`__VLS_${s}`]))});var _e=D(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.identifierRegex=Xt.endOfLine=Xt.newLine=void 0;Xt.getTypeScriptAST=NC;Xt.generateSfcBlockSection=xC;Xt.forEachNode=vC;var PC=$e();Xt.newLine=`
|
|
3
|
+
`;Xt.endOfLine=`;${Xt.newLine}`;Xt.identifierRegex=/^[a-zA-Z_$][0-9a-zA-Z_$]*$/;var Yc=new Map;function NC(s,t,e){Yc.has(t)||Yc.set(t,[t.content,new Map]);let i=Yc.get(t);if(i[0]!==t.content){i[0]=t.content;for(let[a,o]of i[1])o[1]?o[1]=0:i[1].delete(a)}let r=i[1].get(e);if(r)return r[1]++,r[0];let n=s.createSourceFile("/dummy.ts",e,99);return i[1].set(e,[n,1]),n}function*xC(s,t,e,i){let r=s.content.slice(t,e);if(yield[r,s.name,t,i],"parseDiagnostics"in s.ast){let n=r.trimEnd().length;for(let a of s.ast.parseDiagnostics){let o=a.start,l=a.start+a.length;if(o>=n&&l<=e){yield";",yield["",s.name,e,PC.codeFeatures.verification],yield Xt.newLine;break}}}}function*vC(s,t){let e=[];s.forEachChild(t,i=>{e.push(i)});for(let i of e)yield i}});var ft=D(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.startBoundary=OC;lo.endBoundary=wC;function*OC(s,t,e){let i=Symbol(s);return yield["",s,t,{...e,__combineToken:i}],i}function wC(s,t){return["",s.description,t,{__combineToken:s}]}});var _m=D($=>{"use strict";Object.defineProperty($,"__esModule",{value:!0});function qt(s){let t=Object.create(null);for(let e of s.split(","))t[e]=1;return e=>e in t}var LC={},MC=[],DC=()=>{},RC=()=>!1,kC=s=>s.charCodeAt(0)===111&&s.charCodeAt(1)===110&&(s.charCodeAt(2)>122||s.charCodeAt(2)<97),BC=s=>s.startsWith("onUpdate:"),FC=Object.assign,VC=(s,t)=>{let e=s.indexOf(t);e>-1&&s.splice(e,1)},UC=Object.prototype.hasOwnProperty,$C=(s,t)=>UC.call(s,t),er=Array.isArray,fm=s=>tr(s)==="[object Map]",dm=s=>tr(s)==="[object Set]",eu=s=>tr(s)==="[object Date]",jC=s=>tr(s)==="[object RegExp]",Vn=s=>typeof s=="function",Ms=s=>typeof s=="string",Un=s=>typeof s=="symbol",Ni=s=>s!==null&&typeof s=="object",HC=s=>(Ni(s)||Vn(s))&&Vn(s.then)&&Vn(s.catch),tu=Object.prototype.toString,tr=s=>tu.call(s),KC=s=>tr(s).slice(8,-1),mm=s=>tr(s)==="[object Object]",GC=s=>Ms(s)&&s!=="NaN"&&s[0]!=="-"&&""+parseInt(s,10)===s,WC=qt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),XC=qt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),co=s=>{let t=Object.create(null);return(e=>t[e]||(t[e]=s(e)))},qC=/-\w/g,QC=co(s=>s.replace(qC,t=>t.slice(1).toUpperCase())),JC=/\B([A-Z])/g,Am=co(s=>s.replace(JC,"-$1").toLowerCase()),gm=co(s=>s.charAt(0).toUpperCase()+s.slice(1)),YC=co(s=>s?`on${gm(s)}`:""),zC=(s,t)=>!Object.is(s,t),ZC=(s,...t)=>{for(let e=0;e<s.length;e++)s[e](...t)},e0=(s,t,e,i=!1)=>{Object.defineProperty(s,t,{configurable:!0,enumerable:!1,writable:i,value:e})},t0=s=>{let t=parseFloat(s);return isNaN(t)?s:t},s0=s=>{let t=Ms(s)?Number(s):NaN;return isNaN(t)?s:t},pm,i0=()=>pm||(pm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),r0=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function n0(s){return r0.test(s)?`__props.${s}`:`__props[${JSON.stringify(s)}]`}function a0(s,t){return s+JSON.stringify(t,(e,i)=>typeof i=="function"?i.toString():i)}var o0={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},l0={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]:"CACHED",[-2]:"BAIL"},c0={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},u0={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},p0={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},h0="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",ym=qt(h0),f0=ym,hm=2;function d0(s,t=0,e=s.length){if(t=Math.max(0,Math.min(t,s.length)),e=Math.max(0,Math.min(e,s.length)),t>e)return"";let i=s.split(/(\r?\n)/),r=i.filter((o,l)=>l%2===1);i=i.filter((o,l)=>l%2===0);let n=0,a=[];for(let o=0;o<i.length;o++)if(n+=i[o].length+(r[o]&&r[o].length||0),n>=t){for(let l=o-hm;l<=o+hm||e>n;l++){if(l<0||l>=i.length)continue;let c=l+1;a.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${i[l]}`);let u=i[l].length,p=r[l]&&r[l].length||0;if(l===o){let h=t-(n-(u+p)),f=Math.max(1,e>n?u-h:e-t);a.push(" | "+" ".repeat(h)+"^".repeat(f))}else if(l>o){if(e>n){let h=Math.max(Math.min(e-n,u),1);a.push(" | "+"^".repeat(h))}n+=u+p}}break}return a.join(`
|
|
4
|
+
`)}function su(s){if(er(s)){let t={};for(let e=0;e<s.length;e++){let i=s[e],r=Ms(i)?Em(i):su(i);if(r)for(let n in r)t[n]=r[n]}return t}else if(Ms(s)||Ni(s))return s}var m0=/;(?![^(]*\))/g,A0=/:([^]+)/,g0=/\/\*[^]*?\*\//g;function Em(s){let t={};return s.replace(g0,"").split(m0).forEach(e=>{if(e){let i=e.split(A0);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function y0(s){if(!s)return"";if(Ms(s))return s;let t="";for(let e in s){let i=s[e];if(Ms(i)||typeof i=="number"){let r=e.startsWith("--")?e:Am(e);t+=`${r}:${i};`}}return t}function iu(s){let t="";if(Ms(s))t=s;else if(er(s))for(let e=0;e<s.length;e++){let i=iu(s[e]);i&&(t+=i+" ")}else if(Ni(s))for(let e in s)s[e]&&(t+=e+" ");return t.trim()}function E0(s){if(!s)return null;let{class:t,style:e}=s;return t&&!Ms(t)&&(s.class=iu(t)),e&&(s.style=su(e)),s}var S0="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",b0="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",T0="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",C0="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",I0=qt(S0),_0=qt(b0),P0=qt(T0),N0=qt(C0),Sm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",x0=qt(Sm),v0=qt(Sm+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function O0(s){return!!s||s===""}var w0=/[>/="'\u0009\u000a\u000c\u0020]/,zc={};function L0(s){if(zc.hasOwnProperty(s))return zc[s];let t=w0.test(s);return t&&console.error(`unsafe attribute name: ${s}`),zc[s]=!t}var M0={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},D0=qt("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"),R0=qt("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"),k0=qt("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");function B0(s){if(s==null)return!1;let t=typeof s;return t==="string"||t==="number"||t==="boolean"}var F0=/["'&<>]/;function V0(s){let t=""+s,e=F0.exec(t);if(!e)return t;let i="",r,n,a=0;for(n=e.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}a!==n&&(i+=t.slice(a,n)),a=n+1,i+=r}return a!==n?i+t.slice(a,n):i}var U0=/^-?>|<!--|-->|--!>|<!-$/g;function $0(s){return s.replace(U0,"")}var bm=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function j0(s,t){return s.replace(bm,e=>t?e==='"'?'\\\\\\"':`\\\\${e}`:`\\${e}`)}function H0(s,t){if(s.length!==t.length)return!1;let e=!0;for(let i=0;e&&i<s.length;i++)e=uo(s[i],t[i]);return e}function uo(s,t){if(s===t)return!0;let e=eu(s),i=eu(t);if(e||i)return e&&i?s.getTime()===t.getTime():!1;if(e=Un(s),i=Un(t),e||i)return s===t;if(e=er(s),i=er(t),e||i)return e&&i?H0(s,t):!1;if(e=Ni(s),i=Ni(t),e||i){if(!e||!i)return!1;let r=Object.keys(s).length,n=Object.keys(t).length;if(r!==n)return!1;for(let a in s){let o=s.hasOwnProperty(a),l=t.hasOwnProperty(a);if(o&&!l||!o&&l||!uo(s[a],t[a]))return!1}}return String(s)===String(t)}function K0(s,t){return s.findIndex(e=>uo(e,t))}var Tm=s=>!!(s&&s.__v_isRef===!0),Cm=s=>Ms(s)?s:s==null?"":er(s)||Ni(s)&&(s.toString===tu||!Vn(s.toString))?Tm(s)?Cm(s.value):JSON.stringify(s,Im,2):String(s),Im=(s,t)=>Tm(t)?Im(s,t.value):fm(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[i,r],n)=>(e[Zc(i,n)+" =>"]=r,e),{})}:dm(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Zc(e))}:Un(t)?Zc(t):Ni(t)&&!er(t)&&!mm(t)?String(t):t,Zc=(s,t="")=>{var e;return Un(s)?`Symbol(${(e=s.description)!=null?e:t})`:s};function G0(s){return s==null?"initial":typeof s=="string"?s===""?" ":s:String(s)}$.EMPTY_ARR=MC;$.EMPTY_OBJ=LC;$.NO=RC;$.NOOP=DC;$.PatchFlagNames=l0;$.PatchFlags=o0;$.ShapeFlags=c0;$.SlotFlags=u0;$.camelize=QC;$.capitalize=gm;$.cssVarNameEscapeSymbolsRE=bm;$.def=e0;$.escapeHtml=V0;$.escapeHtmlComment=$0;$.extend=FC;$.genCacheKey=a0;$.genPropsAccessExp=n0;$.generateCodeFrame=d0;$.getEscapedCssVarName=j0;$.getGlobalThis=i0;$.hasChanged=zC;$.hasOwn=$C;$.hyphenate=Am;$.includeBooleanAttr=O0;$.invokeArrayFns=ZC;$.isArray=er;$.isBooleanAttr=v0;$.isBuiltInDirective=XC;$.isDate=eu;$.isFunction=Vn;$.isGloballyAllowed=ym;$.isGloballyWhitelisted=f0;$.isHTMLTag=I0;$.isIntegerKey=GC;$.isKnownHtmlAttr=D0;$.isKnownMathMLAttr=k0;$.isKnownSvgAttr=R0;$.isMap=fm;$.isMathMLTag=P0;$.isModelListener=BC;$.isObject=Ni;$.isOn=kC;$.isPlainObject=mm;$.isPromise=HC;$.isRegExp=jC;$.isRenderableAttrValue=B0;$.isReservedProp=WC;$.isSSRSafeAttrName=L0;$.isSVGTag=_0;$.isSet=dm;$.isSpecialBooleanAttr=x0;$.isString=Ms;$.isSymbol=Un;$.isVoidTag=N0;$.looseEqual=uo;$.looseIndexOf=K0;$.looseToNumber=t0;$.makeMap=qt;$.normalizeClass=iu;$.normalizeCssVarValue=G0;$.normalizeProps=E0;$.normalizeStyle=su;$.objectToString=tu;$.parseStringStyle=Em;$.propsToAttrMap=M0;$.remove=VC;$.slotFlagsText=p0;$.stringifyStyle=y0;$.toDisplayString=Cm;$.toHandlerKey=YC;$.toNumber=s0;$.toRawType=KC;$.toTypeString=tr});var Um=D(j=>{"use strict";Object.defineProperty(j,"__esModule",{value:!0});function Qt(s){let t=Object.create(null);for(let e of s.split(","))t[e]=1;return e=>e in t}var W0=Object.freeze({}),X0=Object.freeze([]),q0=()=>{},Q0=()=>!1,J0=s=>s.charCodeAt(0)===111&&s.charCodeAt(1)===110&&(s.charCodeAt(2)>122||s.charCodeAt(2)<97),Y0=s=>s.startsWith("onUpdate:"),z0=Object.assign,Z0=(s,t)=>{let e=s.indexOf(t);e>-1&&s.splice(e,1)},eI=Object.prototype.hasOwnProperty,tI=(s,t)=>eI.call(s,t),sr=Array.isArray,xm=s=>ir(s)==="[object Map]",vm=s=>ir(s)==="[object Set]",au=s=>ir(s)==="[object Date]",sI=s=>ir(s)==="[object RegExp]",$n=s=>typeof s=="function",Ds=s=>typeof s=="string",jn=s=>typeof s=="symbol",xi=s=>s!==null&&typeof s=="object",iI=s=>(xi(s)||$n(s))&&$n(s.then)&&$n(s.catch),ou=Object.prototype.toString,ir=s=>ou.call(s),rI=s=>ir(s).slice(8,-1),Om=s=>ir(s)==="[object Object]",nI=s=>Ds(s)&&s!=="NaN"&&s[0]!=="-"&&""+parseInt(s,10)===s,aI=Qt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),oI=Qt("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),po=s=>{let t=Object.create(null);return(e=>t[e]||(t[e]=s(e)))},lI=/-\w/g,cI=po(s=>s.replace(lI,t=>t.slice(1).toUpperCase())),uI=/\B([A-Z])/g,wm=po(s=>s.replace(uI,"-$1").toLowerCase()),Lm=po(s=>s.charAt(0).toUpperCase()+s.slice(1)),pI=po(s=>s?`on${Lm(s)}`:""),hI=(s,t)=>!Object.is(s,t),fI=(s,...t)=>{for(let e=0;e<s.length;e++)s[e](...t)},dI=(s,t,e,i=!1)=>{Object.defineProperty(s,t,{configurable:!0,enumerable:!1,writable:i,value:e})},mI=s=>{let t=parseFloat(s);return isNaN(t)?s:t},AI=s=>{let t=Ds(s)?Number(s):NaN;return isNaN(t)?s:t},Pm,gI=()=>Pm||(Pm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),yI=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function EI(s){return yI.test(s)?`__props.${s}`:`__props[${JSON.stringify(s)}]`}function SI(s,t){return s+JSON.stringify(t,(e,i)=>typeof i=="function"?i.toString():i)}var bI={TEXT:1,1:"TEXT",CLASS:2,2:"CLASS",STYLE:4,4:"STYLE",PROPS:8,8:"PROPS",FULL_PROPS:16,16:"FULL_PROPS",NEED_HYDRATION:32,32:"NEED_HYDRATION",STABLE_FRAGMENT:64,64:"STABLE_FRAGMENT",KEYED_FRAGMENT:128,128:"KEYED_FRAGMENT",UNKEYED_FRAGMENT:256,256:"UNKEYED_FRAGMENT",NEED_PATCH:512,512:"NEED_PATCH",DYNAMIC_SLOTS:1024,1024:"DYNAMIC_SLOTS",DEV_ROOT_FRAGMENT:2048,2048:"DEV_ROOT_FRAGMENT",CACHED:-1,"-1":"CACHED",BAIL:-2,"-2":"BAIL"},TI={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]:"CACHED",[-2]:"BAIL"},CI={ELEMENT:1,1:"ELEMENT",FUNCTIONAL_COMPONENT:2,2:"FUNCTIONAL_COMPONENT",STATEFUL_COMPONENT:4,4:"STATEFUL_COMPONENT",TEXT_CHILDREN:8,8:"TEXT_CHILDREN",ARRAY_CHILDREN:16,16:"ARRAY_CHILDREN",SLOTS_CHILDREN:32,32:"SLOTS_CHILDREN",TELEPORT:64,64:"TELEPORT",SUSPENSE:128,128:"SUSPENSE",COMPONENT_SHOULD_KEEP_ALIVE:256,256:"COMPONENT_SHOULD_KEEP_ALIVE",COMPONENT_KEPT_ALIVE:512,512:"COMPONENT_KEPT_ALIVE",COMPONENT:6,6:"COMPONENT"},II={STABLE:1,1:"STABLE",DYNAMIC:2,2:"DYNAMIC",FORWARDED:3,3:"FORWARDED"},_I={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},PI="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",Mm=Qt(PI),NI=Mm,Nm=2;function xI(s,t=0,e=s.length){if(t=Math.max(0,Math.min(t,s.length)),e=Math.max(0,Math.min(e,s.length)),t>e)return"";let i=s.split(/(\r?\n)/),r=i.filter((o,l)=>l%2===1);i=i.filter((o,l)=>l%2===0);let n=0,a=[];for(let o=0;o<i.length;o++)if(n+=i[o].length+(r[o]&&r[o].length||0),n>=t){for(let l=o-Nm;l<=o+Nm||e>n;l++){if(l<0||l>=i.length)continue;let c=l+1;a.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${i[l]}`);let u=i[l].length,p=r[l]&&r[l].length||0;if(l===o){let h=t-(n-(u+p)),f=Math.max(1,e>n?u-h:e-t);a.push(" | "+" ".repeat(h)+"^".repeat(f))}else if(l>o){if(e>n){let h=Math.max(Math.min(e-n,u),1);a.push(" | "+"^".repeat(h))}n+=u+p}}break}return a.join(`
|
|
5
|
+
`)}function lu(s){if(sr(s)){let t={};for(let e=0;e<s.length;e++){let i=s[e],r=Ds(i)?Dm(i):lu(i);if(r)for(let n in r)t[n]=r[n]}return t}else if(Ds(s)||xi(s))return s}var vI=/;(?![^(]*\))/g,OI=/:([^]+)/,wI=/\/\*[^]*?\*\//g;function Dm(s){let t={};return s.replace(wI,"").split(vI).forEach(e=>{if(e){let i=e.split(OI);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function LI(s){if(!s)return"";if(Ds(s))return s;let t="";for(let e in s){let i=s[e];if(Ds(i)||typeof i=="number"){let r=e.startsWith("--")?e:wm(e);t+=`${r}:${i};`}}return t}function cu(s){let t="";if(Ds(s))t=s;else if(sr(s))for(let e=0;e<s.length;e++){let i=cu(s[e]);i&&(t+=i+" ")}else if(xi(s))for(let e in s)s[e]&&(t+=e+" ");return t.trim()}function MI(s){if(!s)return null;let{class:t,style:e}=s;return t&&!Ds(t)&&(s.class=cu(t)),e&&(s.style=lu(e)),s}var DI="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",RI="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",kI="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",BI="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",FI=Qt(DI),VI=Qt(RI),UI=Qt(kI),$I=Qt(BI),Rm="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",jI=Qt(Rm),HI=Qt(Rm+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");function KI(s){return!!s||s===""}var GI=/[>/="'\u0009\u000a\u000c\u0020]/,ru={};function WI(s){if(ru.hasOwnProperty(s))return ru[s];let t=GI.test(s);return t&&console.error(`unsafe attribute name: ${s}`),ru[s]=!t}var XI={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},qI=Qt("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"),QI=Qt("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"),JI=Qt("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");function YI(s){if(s==null)return!1;let t=typeof s;return t==="string"||t==="number"||t==="boolean"}var zI=/["'&<>]/;function ZI(s){let t=""+s,e=zI.exec(t);if(!e)return t;let i="",r,n,a=0;for(n=e.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}a!==n&&(i+=t.slice(a,n)),a=n+1,i+=r}return a!==n?i+t.slice(a,n):i}var e1=/^-?>|<!--|-->|--!>|<!-$/g;function t1(s){return s.replace(e1,"")}var km=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;function s1(s,t){return s.replace(km,e=>t?e==='"'?'\\\\\\"':`\\\\${e}`:`\\${e}`)}function i1(s,t){if(s.length!==t.length)return!1;let e=!0;for(let i=0;e&&i<s.length;i++)e=ho(s[i],t[i]);return e}function ho(s,t){if(s===t)return!0;let e=au(s),i=au(t);if(e||i)return e&&i?s.getTime()===t.getTime():!1;if(e=jn(s),i=jn(t),e||i)return s===t;if(e=sr(s),i=sr(t),e||i)return e&&i?i1(s,t):!1;if(e=xi(s),i=xi(t),e||i){if(!e||!i)return!1;let r=Object.keys(s).length,n=Object.keys(t).length;if(r!==n)return!1;for(let a in s){let o=s.hasOwnProperty(a),l=t.hasOwnProperty(a);if(o&&!l||!o&&l||!ho(s[a],t[a]))return!1}}return String(s)===String(t)}function r1(s,t){return s.findIndex(e=>ho(e,t))}var Bm=s=>!!(s&&s.__v_isRef===!0),Fm=s=>Ds(s)?s:s==null?"":sr(s)||xi(s)&&(s.toString===ou||!$n(s.toString))?Bm(s)?Fm(s.value):JSON.stringify(s,Vm,2):String(s),Vm=(s,t)=>Bm(t)?Vm(s,t.value):xm(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[i,r],n)=>(e[nu(i,n)+" =>"]=r,e),{})}:vm(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>nu(e))}:jn(t)?nu(t):xi(t)&&!sr(t)&&!Om(t)?String(t):t,nu=(s,t="")=>{var e;return jn(s)?`Symbol(${(e=s.description)!=null?e:t})`:s};function n1(s){return s==null?"initial":typeof s=="string"?s===""?" ":s:((typeof s!="number"||!Number.isFinite(s))&&console.warn("[Vue warn] Invalid value used for CSS binding. Expected a string or a finite number but received:",s),String(s))}j.EMPTY_ARR=X0;j.EMPTY_OBJ=W0;j.NO=Q0;j.NOOP=q0;j.PatchFlagNames=TI;j.PatchFlags=bI;j.ShapeFlags=CI;j.SlotFlags=II;j.camelize=cI;j.capitalize=Lm;j.cssVarNameEscapeSymbolsRE=km;j.def=dI;j.escapeHtml=ZI;j.escapeHtmlComment=t1;j.extend=z0;j.genCacheKey=SI;j.genPropsAccessExp=EI;j.generateCodeFrame=xI;j.getEscapedCssVarName=s1;j.getGlobalThis=gI;j.hasChanged=hI;j.hasOwn=tI;j.hyphenate=wm;j.includeBooleanAttr=KI;j.invokeArrayFns=fI;j.isArray=sr;j.isBooleanAttr=HI;j.isBuiltInDirective=oI;j.isDate=au;j.isFunction=$n;j.isGloballyAllowed=Mm;j.isGloballyWhitelisted=NI;j.isHTMLTag=FI;j.isIntegerKey=nI;j.isKnownHtmlAttr=qI;j.isKnownMathMLAttr=JI;j.isKnownSvgAttr=QI;j.isMap=xm;j.isMathMLTag=UI;j.isModelListener=Y0;j.isObject=xi;j.isOn=J0;j.isPlainObject=Om;j.isPromise=iI;j.isRegExp=sI;j.isRenderableAttrValue=YI;j.isReservedProp=aI;j.isSSRSafeAttrName=WI;j.isSVGTag=VI;j.isSet=vm;j.isSpecialBooleanAttr=jI;j.isString=Ds;j.isSymbol=jn;j.isVoidTag=$I;j.looseEqual=ho;j.looseIndexOf=r1;j.looseToNumber=mI;j.makeMap=Qt;j.normalizeClass=cu;j.normalizeCssVarValue=n1;j.normalizeProps=MI;j.normalizeStyle=lu;j.objectToString=ou;j.parseStringStyle=Dm;j.propsToAttrMap=XI;j.remove=Z0;j.slotFlagsText=_I;j.stringifyStyle=LI;j.toDisplayString=Fm;j.toHandlerKey=pI;j.toNumber=AI;j.toRawType=rI;j.toTypeString=ir});var at=D((BB,uu)=>{"use strict";process.env.NODE_ENV==="production"?uu.exports=_m():uu.exports=Um()});var hu=D(rr=>{"use strict";var pu;Object.defineProperty(rr,"__esModule",{value:!0});rr.fromCodePoint=void 0;rr.replaceCodePoint=$m;rr.decodeCodePoint=o1;var a1=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]]);rr.fromCodePoint=(pu=String.fromCodePoint)!==null&&pu!==void 0?pu:(s=>{let t="";return s>65535&&(s-=65536,t+=String.fromCharCode(s>>>10&1023|55296),s=56320|s&1023),t+=String.fromCharCode(s),t});function $m(s){var t;return s>=55296&&s<=57343||s>1114111?65533:(t=a1.get(s))!==null&&t!==void 0?t:s}function o1(s){return(0,rr.fromCodePoint)($m(s))}});var du=D(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.decodeBase64=l1;function l1(s){let t=typeof atob=="function"?atob(s):typeof Buffer.from=="function"?Buffer.from(s,"base64").toString("binary"):new Buffer(s,"base64").toString("binary"),e=t.length&-2,i=new Uint16Array(e/2);for(let r=0,n=0;r<e;r+=2){let a=t.charCodeAt(r),o=t.charCodeAt(r+1);i[n++]=a|o<<8}return i}});var mu=D(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.htmlDecodeTree=void 0;var c1=du();fo.htmlDecodeTree=(0,c1.decodeBase64)("QR08ALkAAgH6AYsDNQR2BO0EPgXZBQEGLAbdBxMISQrvCmQLfQurDKQNLw4fD4YPpA+6D/IPAAAAAAAAAAAAAAAAKhBMEY8TmxUWF2EYLBkxGuAa3RsJHDscWR8YIC8jSCSIJcMl6ie3Ku8rEC0CLjoupS7kLgAIRU1hYmNmZ2xtbm9wcnN0dVQAWgBeAGUAaQBzAHcAfgCBAIQAhwCSAJoAoACsALMAbABpAGcAO4DGAMZAUAA7gCYAJkBjAHUAdABlADuAwQDBQHIiZXZlAAJhAAFpeW0AcgByAGMAO4DCAMJAEGRyAADgNdgE3XIAYQB2AGUAO4DAAMBA8CFoYZFj4SFjcgBhZAAAoFMqAAFncIsAjgBvAG4ABGFmAADgNdg43fAlbHlGdW5jdGlvbgCgYSBpAG4AZwA7gMUAxUAAAWNzpACoAHIAAOA12Jzc6SFnbgCgVCJpAGwAZABlADuAwwDDQG0AbAA7gMQAxEAABGFjZWZvcnN1xQDYANoA7QDxAPYA+QD8AAABY3LJAM8AayNzbGFzaAAAoBYidgHTANUAAKDnKmUAZAAAoAYjeQARZIABY3J0AOAA5QDrAGEidXNlAACgNSLuI291bGxpcwCgLCFhAJJjcgAA4DXYBd1wAGYAAOA12Dnd5SF2ZdhiYwDyAOoAbSJwZXEAAKBOIgAHSE9hY2RlZmhpbG9yc3UXARoBHwE6AVIBVQFiAWQBZgGCAakB6QHtAfIBYwB5ACdkUABZADuAqQCpQIABY3B5ACUBKAE1AfUhdGUGYWmg0iJ0KGFsRGlmZmVyZW50aWFsRAAAoEUhbCJleXMAAKAtIQACYWVpb0EBRAFKAU0B8iFvbgxhZABpAGwAO4DHAMdAcgBjAAhhbiJpbnQAAKAwIm8AdAAKYQABZG5ZAV0BaSJsbGEAuGB0I2VyRG90ALdg8gA5AWkAp2NyImNsZQAAAkRNUFRwAXQBeQF9AW8AdAAAoJkiaSJudXMAAKCWIuwhdXMAoJUiaSJtZXMAAKCXIm8AAAFjc4cBlAFrKndpc2VDb250b3VySW50ZWdyYWwAAKAyImUjQ3VybHkAAAFEUZwBpAFvJXVibGVRdW90ZQAAoB0gdSJvdGUAAKAZIAACbG5wdbABtgHNAdgBbwBuAGWgNyIAoHQqgAFnaXQAvAHBAcUB8iJ1ZW50AKBhIm4AdAAAoC8i7yV1ckludGVncmFsAKAuIgABZnLRAdMBAKACIe8iZHVjdACgECJuLnRlckNsb2Nrd2lzZUNvbnRvdXJJbnRlZ3JhbAAAoDMi7yFzcwCgLypjAHIAAOA12J7ccABDoNMiYQBwAACgTSKABURKU1phY2VmaW9zAAsCEgIVAhgCGwIsAjQCOQI9AnMCfwNvoEUh9CJyYWhkAKARKWMAeQACZGMAeQAFZGMAeQAPZIABZ3JzACECJQIoAuchZXIAoCEgcgAAoKEhaAB2AACg5CoAAWF5MAIzAvIhb24OYRRkbAB0oAciYQCUY3IAAOA12AfdAAFhZkECawIAAWNtRQJnAvIjaXRpY2FsAAJBREdUUAJUAl8CYwJjInV0ZQC0YG8AdAFZAloC2WJiJGxlQWN1dGUA3WJyImF2ZQBgYGkibGRlANxi7yFuZACgxCJmJWVyZW50aWFsRAAAoEYhcAR9AgAAAAAAAIECjgIAABoDZgAA4DXYO91EoagAhQKJAm8AdAAAoNwgcSJ1YWwAAKBQIuIhbGUAA0NETFJVVpkCqAK1Au8C/wIRA28AbgB0AG8AdQByAEkAbgB0AGUAZwByAGEA7ADEAW8AdAKvAgAAAACwAqhgbiNBcnJvdwAAoNMhAAFlb7kC0AJmAHQAgAFBUlQAwQLGAs0CciJyb3cAAKDQIekkZ2h0QXJyb3cAoNQhZQDlACsCbgBnAAABTFLWAugC5SFmdAABQVLcAuECciJyb3cAAKD4J+kkZ2h0QXJyb3cAoPon6SRnaHRBcnJvdwCg+SdpImdodAAAAUFU9gL7AnIicm93AACg0iFlAGUAAKCoInAAQQIGAwAAAAALA3Iicm93AACg0SFvJHduQXJyb3cAAKDVIWUlcnRpY2FsQmFyAACgJSJuAAADQUJMUlRhJAM2AzoDWgNxA3oDciJyb3cAAKGTIUJVLAMwA2EAcgAAoBMpcCNBcnJvdwAAoPUhciJldmUAEWPlIWZ00gJDAwAASwMAAFIDaSVnaHRWZWN0b3IAAKBQKWUkZVZlY3RvcgAAoF4p5SJjdG9yQqC9IWEAcgAAoFYpaSJnaHQA1AFiAwAAaQNlJGVWZWN0b3IAAKBfKeUiY3RvckKgwSFhAHIAAKBXKWUAZQBBoKQiciJyb3cAAKCnIXIAcgBvAPcAtAIAAWN0gwOHA3IAAOA12J/c8iFvaxBhAAhOVGFjZGZnbG1vcHFzdHV4owOlA6kDsAO/A8IDxgPNA9ID8gP9AwEEFAQeBCAEJQRHAEphSAA7gNAA0EBjAHUAdABlADuAyQDJQIABYWl5ALYDuQO+A/Ihb24aYXIAYwA7gMoAykAtZG8AdAAWYXIAAOA12AjdcgBhAHYAZQA7gMgAyEDlIm1lbnQAoAgiAAFhcNYD2QNjAHIAEmF0AHkAUwLhAwAAAADpA20lYWxsU3F1YXJlAACg+yVlJ3J5U21hbGxTcXVhcmUAAKCrJQABZ3D2A/kDbwBuABhhZgAA4DXYPN3zImlsb26VY3UAAAFhaQYEDgRsAFSgdSppImxkZQAAoEIi7CNpYnJpdW0AoMwhAAFjaRgEGwRyAACgMCFtAACgcyphAJdjbQBsADuAywDLQAABaXApBC0E8yF0cwCgAyLvJG5lbnRpYWxFAKBHIYACY2Zpb3MAPQQ/BEMEXQRyBHkAJGRyAADgNdgJ3WwibGVkAFMCTAQAAAAAVARtJWFsbFNxdWFyZQAAoPwlZSdyeVNtYWxsU3F1YXJlAACgqiVwA2UEAABpBAAAAABtBGYAAOA12D3dwSFsbACgACLyI2llcnRyZgCgMSFjAPIAcQQABkpUYWJjZGZnb3JzdIgEiwSOBJMElwSkBKcEqwStBLIE5QTqBGMAeQADZDuAPgA+QO0hbWFkoJMD3GNyImV2ZQAeYYABZWl5AJ0EoASjBOQhaWwiYXIAYwAcYRNkbwB0ACBhcgAA4DXYCt0AoNkicABmAADgNdg+3eUiYXRlcgADRUZHTFNUvwTIBM8E1QTZBOAEcSJ1YWwATKBlIuUhc3MAoNsidSRsbEVxdWFsAACgZyJyI2VhdGVyAACgoirlIXNzAKB3IuwkYW50RXF1YWwAoH4qaSJsZGUAAKBzImMAcgAA4DXYotwAoGsiAARBYWNmaW9zdfkE/QQFBQgFCwUTBSIFKwVSIkRjeQAqZAABY3QBBQQFZQBrAMdiXmDpIXJjJGFyAACgDCFsJWJlcnRTcGFjZQAAoAsh8AEYBQAAGwVmAACgDSHpJXpvbnRhbExpbmUAoAAlAAFjdCYFKAXyABIF8iFvayZhbQBwAEQBMQU5BW8AdwBuAEgAdQBtAPAAAAFxInVhbAAAoE8iAAdFSk9hY2RmZ21ub3N0dVMFVgVZBVwFYwVtBXAFcwV6BZAFtgXFBckFzQVjAHkAFWTsIWlnMmFjAHkAAWRjAHUAdABlADuAzQDNQAABaXlnBWwFcgBjADuAzgDOQBhkbwB0ADBhcgAAoBEhcgBhAHYAZQA7gMwAzEAAoREhYXB/BYsFAAFjZ4MFhQVyACphaSNuYXJ5SQAAoEghbABpAGUA8wD6AvQBlQUAAKUFZaAsIgABZ3KaBZ4F8iFhbACgKyLzI2VjdGlvbgCgwiJpI3NpYmxlAAABQ1SsBbEFbyJtbWEAAKBjIGkibWVzAACgYiCAAWdwdAC8Bb8FwwVvAG4ALmFmAADgNdhA3WEAmWNjAHIAAKAQIWkibGRlAChh6wHSBQAA1QVjAHkABmRsADuAzwDPQIACY2Zvc3UA4QXpBe0F8gX9BQABaXnlBegFcgBjADRhGWRyAADgNdgN3XAAZgAA4DXYQd3jAfcFAAD7BXIAAOA12KXc8iFjeQhk6yFjeQRkgANISmFjZm9zAAwGDwYSBhUGHQYhBiYGYwB5ACVkYwB5AAxk8CFwYZpjAAFleRkGHAbkIWlsNmEaZHIAAOA12A7dcABmAADgNdhC3WMAcgAA4DXYptyABUpUYWNlZmxtb3N0AD0GQAZDBl4GawZkB2gHcAd0B80H2gdjAHkACWQ7gDwAPECAAmNtbnByAEwGTwZSBlUGWwb1IXRlOWHiIWRhm2NnAACg6ifsI2FjZXRyZgCgEiFyAACgniGAAWFleQBkBmcGagbyIW9uPWHkIWlsO2EbZAABZnNvBjQHdAAABUFDREZSVFVWYXKABp4GpAbGBssG3AYDByEHwQIqBwABbnKEBowGZyVsZUJyYWNrZXQAAKDoJ/Ihb3cAoZAhQlKTBpcGYQByAACg5CHpJGdodEFycm93AKDGIWUjaWxpbmcAAKAII28A9QGqBgAAsgZiJWxlQnJhY2tldAAAoOYnbgDUAbcGAAC+BmUkZVZlY3RvcgAAoGEp5SJjdG9yQqDDIWEAcgAAoFkpbCJvb3IAAKAKI2kiZ2h0AAABQVbSBtcGciJyb3cAAKCUIeUiY3RvcgCgTikAAWVy4AbwBmUAAKGjIkFW5gbrBnIicm93AACgpCHlImN0b3IAoFopaSNhbmdsZQBCorIi+wYAAAAA/wZhAHIAAKDPKXEidWFsAACgtCJwAIABRFRWAAoHEQcYB+8kd25WZWN0b3IAoFEpZSRlVmVjdG9yAACgYCnlImN0b3JCoL8hYQByAACgWCnlImN0b3JCoLwhYQByAACgUilpAGcAaAB0AGEAcgByAG8A9wDMAnMAAANFRkdMU1Q/B0cHTgdUB1gHXwfxJXVhbEdyZWF0ZXIAoNoidSRsbEVxdWFsAACgZiJyI2VhdGVyAACgdiLlIXNzAKChKuwkYW50RXF1YWwAoH0qaSJsZGUAAKByInIAAOA12A/dZaDYIuYjdGFycm93AKDaIWkiZG90AD9hgAFucHcAege1B7kHZwAAAkxSbHKCB5QHmwerB+UhZnQAAUFSiAeNB3Iicm93AACg9SfpJGdodEFycm93AKD3J+kkZ2h0QXJyb3cAoPYn5SFmdAABYXLcAqEHaQBnAGgAdABhAHIAcgBvAPcA5wJpAGcAaAB0AGEAcgByAG8A9wDuAmYAAOA12EPdZQByAAABTFK/B8YHZSRmdEFycm93AACgmSHpJGdodEFycm93AKCYIYABY2h0ANMH1QfXB/IAWgYAoLAh8iFva0FhAKBqIgAEYWNlZmlvc3XpB+wH7gf/BwMICQgOCBEIcAAAoAUpeQAcZAABZGzyB/kHaSR1bVNwYWNlAACgXyBsI2ludHJmAACgMyFyAADgNdgQ3e4jdXNQbHVzAKATInAAZgAA4DXYRN1jAPIA/gecY4AESmFjZWZvc3R1ACEIJAgoCDUIgQiFCDsKQApHCmMAeQAKZGMidXRlAENhgAFhZXkALggxCDQI8iFvbkdh5CFpbEVhHWSAAWdzdwA7CGEIfQjhInRpdmWAAU1UVgBECEwIWQhlJWRpdW1TcGFjZQAAoAsgaABpAAABY25SCFMIawBTAHAAYQBjAOUASwhlAHIAeQBUAGgAaQDuAFQI9CFlZAABR0xnCHUIcgBlAGEAdABlAHIARwByAGUAYQB0AGUA8gDrBGUAcwBzAEwAZQBzAPMA2wdMImluZQAKYHIAAOA12BHdAAJCbnB0jAiRCJkInAhyImVhawAAoGAgwiZyZWFraW5nU3BhY2WgYGYAAKAVIUOq7CqzCMIIzQgAAOcIGwkAAAAAAAAtCQAAbwkAAIcJAACdCcAJGQoAADQKAAFvdbYIvAjuI2dydWVudACgYiJwIkNhcAAAoG0ibyh1YmxlVmVydGljYWxCYXIAAKAmIoABbHF4ANII1wjhCOUibWVudACgCSL1IWFsVKBgImkibGRlAADgQiI4A2kic3RzAACgBCJyI2VhdGVyAACjbyJFRkdMU1T1CPoIAgkJCQ0JFQlxInVhbAAAoHEidSRsbEVxdWFsAADgZyI4A3IjZWF0ZXIAAOBrIjgD5SFzcwCgeSLsJGFudEVxdWFsAOB+KjgDaSJsZGUAAKB1IvUhbXBEASAJJwnvI3duSHVtcADgTiI4A3EidWFsAADgTyI4A2UAAAFmczEJRgn0JFRyaWFuZ2xlQqLqIj0JAAAAAEIJYQByAADgzyk4A3EidWFsAACg7CJzAICibiJFR0xTVABRCVYJXAlhCWkJcSJ1YWwAAKBwInIjZWF0ZXIAAKB4IuUhc3MA4GoiOAPsJGFudEVxdWFsAOB9KjgDaSJsZGUAAKB0IuUic3RlZAABR0x1CX8J8iZlYXRlckdyZWF0ZXIA4KIqOAPlI3NzTGVzcwDgoSo4A/IjZWNlZGVzAKGAIkVTjwmVCXEidWFsAADgryo4A+wkYW50RXF1YWwAoOAiAAFlaaAJqQl2JmVyc2VFbGVtZW50AACgDCLnJWh0VHJpYW5nbGVCousitgkAAAAAuwlhAHIAAODQKTgDcSJ1YWwAAKDtIgABcXXDCeAJdSNhcmVTdQAAAWJwywnVCfMhZXRF4I8iOANxInVhbAAAoOIi5SJyc2V0ReCQIjgDcSJ1YWwAAKDjIoABYmNwAOYJ8AkNCvMhZXRF4IIi0iBxInVhbAAAoIgi4yJlZWRzgKGBIkVTVAD6CQAKBwpxInVhbAAA4LAqOAPsJGFudEVxdWFsAKDhImkibGRlAADgfyI4A+UicnNldEXggyLSIHEidWFsAACgiSJpImxkZQCAoUEiRUZUACIKJwouCnEidWFsAACgRCJ1JGxsRXF1YWwAAKBHImkibGRlAACgSSJlJXJ0aWNhbEJhcgAAoCQiYwByAADgNdip3GkAbABkAGUAO4DRANFAnWMAB0VhY2RmZ21vcHJzdHV2XgphCmgKcgp2CnoKgQqRCpYKqwqtCrsKyArNCuwhaWdSYWMAdQB0AGUAO4DTANNAAAFpeWwKcQpyAGMAO4DUANRAHmRiImxhYwBQYXIAAOA12BLdcgBhAHYAZQA7gNIA0kCAAWFlaQCHCooKjQpjAHIATGFnAGEAqWNjInJvbgCfY3AAZgAA4DXYRt3lI25DdXJseQABRFGeCqYKbyV1YmxlUXVvdGUAAKAcIHUib3RlAACgGCAAoFQqAAFjbLEKtQpyAADgNdiq3GEAcwBoADuA2ADYQGkAbAHACsUKZABlADuA1QDVQGUAcwAAoDcqbQBsADuA1gDWQGUAcgAAAUJQ0wrmCgABYXLXCtoKcgAAoD4gYQBjAAABZWvgCuIKAKDeI2UAdAAAoLQjYSVyZW50aGVzaXMAAKDcI4AEYWNmaGlsb3JzAP0KAwsFCwkLCwsMCxELIwtaC3IjdGlhbEQAAKACInkAH2RyAADgNdgT3WkApmOgY/Ujc01pbnVzsWAAAWlwFQsgC24AYwBhAHIAZQBwAGwAYQBuAOUACgVmAACgGSGAobsqZWlvACoLRQtJC+MiZWRlc4CheiJFU1QANAs5C0ALcSJ1YWwAAKCvKuwkYW50RXF1YWwAoHwiaSJsZGUAAKB+Im0AZQAAoDMgAAFkcE0LUQv1IWN0AKAPIm8jcnRpb24AYaA3ImwAAKAdIgABY2leC2ILcgAA4DXYq9yoYwACVWZvc2oLbwtzC3cLTwBUADuAIgAiQHIAAOA12BTdcABmAACgGiFjAHIAAOA12KzcAAZCRWFjZWZoaW9yc3WPC5MLlwupC7YL2AvbC90LhQyTDJoMowzhIXJyAKAQKUcAO4CuAK5AgAFjbnIAnQugC6ML9SF0ZVRhZwAAoOsncgB0oKAhbAAAoBYpgAFhZXkArwuyC7UL8iFvblhh5CFpbFZhIGR2oBwhZSJyc2UAAAFFVb8LzwsAAWxxwwvIC+UibWVudACgCyL1JGlsaWJyaXVtAKDLIXAmRXF1aWxpYnJpdW0AAKBvKXIAAKAcIW8AoWPnIWh0AARBQ0RGVFVWYewLCgwQDDIMNwxeDHwM9gIAAW5y8Av4C2clbGVCcmFja2V0AACg6SfyIW93AKGSIUJM/wsDDGEAcgAAoOUhZSRmdEFycm93AACgxCFlI2lsaW5nAACgCSNvAPUBFgwAAB4MYiVsZUJyYWNrZXQAAKDnJ24A1AEjDAAAKgxlJGVWZWN0b3IAAKBdKeUiY3RvckKgwiFhAHIAAKBVKWwib29yAACgCyMAAWVyOwxLDGUAAKGiIkFWQQxGDHIicm93AACgpiHlImN0b3IAoFspaSNhbmdsZQBCorMiVgwAAAAAWgxhAHIAAKDQKXEidWFsAACgtSJwAIABRFRWAGUMbAxzDO8kd25WZWN0b3IAoE8pZSRlVmVjdG9yAACgXCnlImN0b3JCoL4hYQByAACgVCnlImN0b3JCoMAhYQByAACgUykAAXB1iQyMDGYAAKAdIe4kZEltcGxpZXMAoHAp6SRnaHRhcnJvdwCg2yEAAWNongyhDHIAAKAbIQCgsSHsJGVEZWxheWVkAKD0KYAGSE9hY2ZoaW1vcXN0dQC/DMgMzAzQDOIM5gwKDQ0NFA0ZDU8NVA1YDQABQ2PDDMYMyCFjeSlkeQAoZEYiVGN5ACxkYyJ1dGUAWmEAorwqYWVpedgM2wzeDOEM8iFvbmBh5CFpbF5hcgBjAFxhIWRyAADgNdgW3e8hcnQAAkRMUlXvDPYM/QwEDW8kd25BcnJvdwAAoJMhZSRmdEFycm93AACgkCHpJGdodEFycm93AKCSIXAjQXJyb3cAAKCRIechbWGjY+EkbGxDaXJjbGUAoBgicABmAADgNdhK3XICHw0AAAAAIg10AACgGiLhIXJlgKGhJUlTVQAqDTINSg3uJXRlcnNlY3Rpb24AoJMidQAAAWJwNw1ADfMhZXRFoI8icSJ1YWwAAKCRIuUicnNldEWgkCJxInVhbAAAoJIibiJpb24AAKCUImMAcgAA4DXYrtxhAHIAAKDGIgACYmNtcF8Nag2ODZANc6DQImUAdABFoNAicSJ1YWwAAKCGIgABY2huDYkNZSJlZHMAgKF7IkVTVAB4DX0NhA1xInVhbAAAoLAq7CRhbnRFcXVhbACgfSJpImxkZQAAoH8iVABoAGEA9ADHCwCgESIAodEiZXOVDZ8NciJzZXQARaCDInEidWFsAACghyJlAHQAAKDRIoAFSFJTYWNmaGlvcnMAtQ27Db8NyA3ODdsN3w3+DRgOHQ4jDk8AUgBOADuA3gDeQMEhREUAoCIhAAFIY8MNxg1jAHkAC2R5ACZkAAFidcwNzQ0JYKRjgAFhZXkA1A3XDdoN8iFvbmRh5CFpbGJhImRyAADgNdgX3QABZWnjDe4N8gHoDQAA7Q3lImZvcmUAoDQiYQCYYwABY27yDfkNayNTcGFjZQAA4F8gCiDTInBhY2UAoAkg7CFkZYChPCJFRlQABw4MDhMOcSJ1YWwAAKBDInUkbGxFcXVhbAAAoEUiaSJsZGUAAKBIInAAZgAA4DXYS93pI3BsZURvdACg2yAAAWN0Jw4rDnIAAOA12K/c8iFva2Zh4QpFDlYOYA5qDgAAbg5yDgAAAAAAAAAAAAB5DnwOqA6zDgAADg8RDxYPGg8AAWNySA5ODnUAdABlADuA2gDaQHIAb6CfIeMhaXIAoEkpcgDjAVsOAABdDnkADmR2AGUAbGEAAWl5Yw5oDnIAYwA7gNsA20AjZGIibGFjAHBhcgAA4DXYGN1yAGEAdgBlADuA2QDZQOEhY3JqYQABZGl/Dp8OZQByAAABQlCFDpcOAAFhcokOiw5yAF9gYQBjAAABZWuRDpMOAKDfI2UAdAAAoLUjYSVyZW50aGVzaXMAAKDdI28AbgBQoMMi7CF1cwCgjiIAAWdwqw6uDm8AbgByYWYAAOA12EzdAARBREVUYWRwc78O0g7ZDuEOBQPqDvMOBw9yInJvdwDCoZEhyA4AAMwOYQByAACgEilvJHduQXJyb3cAAKDFIW8kd25BcnJvdwAAoJUhcSV1aWxpYnJpdW0AAKBuKWUAZQBBoKUiciJyb3cAAKClIW8AdwBuAGEAcgByAG8A9wAQA2UAcgAAAUxS+Q4AD2UkZnRBcnJvdwAAoJYh6SRnaHRBcnJvdwCglyFpAGyg0gNvAG4ApWPpIW5nbmFjAHIAAOA12LDcaSJsZGUAaGFtAGwAO4DcANxAgAREYmNkZWZvc3YALQ8xDzUPNw89D3IPdg97D4AP4SFzaACgqyJhAHIAAKDrKnkAEmThIXNobKCpIgCg5ioAAWVyQQ9DDwCgwSKAAWJ0eQBJD00Paw9hAHIAAKAWIGmgFiDjIWFsAAJCTFNUWA9cD18PZg9hAHIAAKAjIukhbmV8YGUkcGFyYXRvcgAAoFgnaSJsZGUAAKBAItQkaGluU3BhY2UAoAogcgAA4DXYGd1wAGYAAOA12E3dYwByAADgNdix3GQiYXNoAACgqiKAAmNlZm9zAI4PkQ+VD5kPng/pIXJjdGHkIWdlAKDAInIAAOA12BrdcABmAADgNdhO3WMAcgAA4DXYstwAAmZpb3OqD64Prw+0D3IAAOA12BvdnmNwAGYAAOA12E/dYwByAADgNdiz3IAEQUlVYWNmb3N1AMgPyw/OD9EP2A/gD+QP6Q/uD2MAeQAvZGMAeQAHZGMAeQAuZGMAdQB0AGUAO4DdAN1AAAFpedwP3w9yAGMAdmErZHIAAOA12BzdcABmAADgNdhQ3WMAcgAA4DXYtNxtAGwAeGEABEhhY2RlZm9z/g8BEAUQDRAQEB0QIBAkEGMAeQAWZGMidXRlAHlhAAFheQkQDBDyIW9ufWEXZG8AdAB7YfIBFRAAABwQbwBXAGkAZAB0AOgAVAhhAJZjcgAAoCghcABmAACgJCFjAHIAAOA12LXc4QtCEEkQTRAAAGcQbRByEAAAAAAAAAAAeRCKEJcQ8hD9EAAAGxEhETIROREAAD4RYwB1AHQAZQA7gOEA4UByImV2ZQADYYCiPiJFZGl1eQBWEFkQWxBgEGUQAOA+IjMDAKA/InIAYwA7gOIA4kB0AGUAO4C0ALRAMGRsAGkAZwA7gOYA5kByoGEgAOA12B7dcgBhAHYAZQA7gOAA4EAAAWVwfBCGEAABZnCAEIQQ8yF5bQCgNSHoAIMQaABhALFjAAFhcI0QWwAAAWNskRCTEHIAAWFnAACgPypkApwQAAAAALEQAKInImFkc3ajEKcQqRCuEG4AZAAAoFUqAKBcKmwib3BlAACgWCoAoFoqAKMgImVsbXJzersQvRDAEN0Q5RDtEACgpCllAACgICJzAGQAYaAhImEEzhDQENIQ1BDWENgQ2hDcEACgqCkAoKkpAKCqKQCgqykAoKwpAKCtKQCgrikAoK8pdAB2oB8iYgBkoL4iAKCdKQABcHTpEOwQaAAAoCIixWDhIXJyAKB8IwABZ3D1EPgQbwBuAAVhZgAA4DXYUt0Ao0giRWFlaW9wBxEJEQ0RDxESERQRAKBwKuMhaXIAoG8qAKBKImQAAKBLInMAJ2DyIW94ZaBIIvEADhFpAG4AZwA7gOUA5UCAAWN0eQAmESoRKxFyAADgNdi23CpgbQBwAGWgSCLxAPgBaQBsAGQAZQA7gOMA40BtAGwAO4DkAORAAAFjaUERRxFvAG4AaQBuAPQA6AFuAHQAAKARKgAITmFiY2RlZmlrbG5vcHJzdWQRaBGXEZ8RpxGrEdIR1hErEjASexKKEn0RThNbE3oTbwB0AACg7SoAAWNybBGJEWsAAAJjZXBzdBF4EX0RghHvIW5nAKBMInAjc2lsb24A9mNyImltZQAAoDUgaQBtAGWgPSJxAACgzSJ2AY0RkRFlAGUAAKC9ImUAZABnoAUjZQAAoAUjcgBrAHSgtSPiIXJrAKC2IwABb3mjEaYRbgDnAHcRMWTxIXVvAKAeIIACY21wcnQAtBG5Eb4RwRHFEeEhdXPloDUi5ABwInR5dgAAoLApcwDpAH0RbgBvAPUA6gCAAWFodwDLEcwRzhGyYwCgNiHlIWVuAKBsInIAAOA12B/dZwCAA2Nvc3R1dncA4xHyEQUSEhIhEiYSKRKAAWFpdQDpEesR7xHwAKMFcgBjAACg7yVwAACgwyKAAWRwdAD4EfwRABJvAHQAAKAAKuwhdXMAoAEqaSJtZXMAAKACKnECCxIAAAAADxLjIXVwAKAGKmEAcgAAoAUm8iNpYW5nbGUAAWR1GhIeEu8hd24AoL0lcAAAoLMlcCJsdXMAAKAEKmUA5QBCD+UAkg9hInJvdwAAoA0pgAFha28ANhJoEncSAAFjbjoSZRJrAIABbHN0AEESRxJNEm8jemVuZ2UAAKDrKXEAdQBhAHIA5QBcBPIjaWFuZ2xlgKG0JWRscgBYElwSYBLvIXduAKC+JeUhZnQAoMIlaSJnaHQAAKC4JWsAAKAjJLEBbRIAAHUSsgFxEgAAcxIAoJIlAKCRJTQAAKCTJWMAawAAoIglAAFlb38ShxJx4D0A5SD1IWl2AOBhIuUgdAAAoBAjAAJwdHd4kRKVEpsSnxJmAADgNdhT3XSgpSJvAG0AAKClIvQhaWUAoMgiAAZESFVWYmRobXB0dXayEsES0RLgEvcS+xIKExoTHxMjEygTNxMAAkxSbHK5ErsSvRK/EgCgVyUAoFQlAKBWJQCgUyUAolAlRFVkdckSyxLNEs8SAKBmJQCgaSUAoGQlAKBnJQACTFJsctgS2hLcEt4SAKBdJQCgWiUAoFwlAKBZJQCjUSVITFJobHLrEu0S7xLxEvMS9RIAoGwlAKBjJQCgYCUAoGslAKBiJQCgXyVvAHgAAKDJKQACTFJscgITBBMGEwgTAKBVJQCgUiUAoBAlAKAMJQCiACVEVWR1EhMUExYTGBMAoGUlAKBoJQCgLCUAoDQlaSJudXMAAKCfIuwhdXMAoJ4iaSJtZXMAAKCgIgACTFJsci8TMRMzEzUTAKBbJQCgWCUAoBglAKAUJQCjAiVITFJobHJCE0QTRhNIE0oTTBMAoGolAKBhJQCgXiUAoDwlAKAkJQCgHCUAAWV2UhNVE3YA5QD5AGIAYQByADuApgCmQAACY2Vpb2ITZhNqE24TcgAA4DXYt9xtAGkAAKBPIG0A5aA9IogRbAAAoVwAYmh0E3YTAKDFKfMhdWIAoMgnbAF+E4QTbABloCIgdAAAoCIgcAAAoU4iRWWJE4sTAKCuKvGgTyI8BeEMqRMAAN8TABQDFB8UAAAjFDQUAAAAAIUUAAAAAI0UAAAAANcU4xT3FPsUAACIFQAAlhWAAWNwcgCuE7ET1RP1IXRlB2GAoikiYWJjZHMAuxO/E8QTzhPSE24AZAAAoEQqciJjdXAAAKBJKgABYXXIE8sTcAAAoEsqcAAAoEcqbwB0AACgQCoA4CkiAP4AAWVv2RPcE3QAAKBBIO4ABAUAAmFlaXXlE+8T9RP4E/AB6hMAAO0TcwAAoE0qbwBuAA1hZABpAGwAO4DnAOdAcgBjAAlhcABzAHOgTCptAACgUCpvAHQAC2GAAWRtbgAIFA0UEhRpAGwAO4C4ALhAcCJ0eXYAAKCyKXQAAIGiADtlGBQZFKJAcgBkAG8A9ABiAXIAAOA12CDdgAFjZWkAKBQqFDIUeQBHZGMAawBtoBMn4SFyawCgEyfHY3IAAKPLJUVjZWZtcz8UQRRHFHcUfBSAFACgwykAocYCZWxGFEkUcQAAoFciZQBhAlAUAAAAAGAUciJyb3cAAAFsclYUWhTlIWZ0AKC6IWkiZ2h0AACguyGAAlJTYWNkAGgUaRRrFG8UcxSuYACgyCRzAHQAAKCbIukhcmMAoJoi4SFzaACgnSJuImludAAAoBAqaQBkAACg7yrjIWlyAKDCKfUhYnN1oGMmaQB0AACgYybsApMUmhS2FAAAwxRvAG4AZaA6APGgVCKrAG0CnxQAAAAAoxRhAHSgLABAYAChASJmbKcUqRTuABMNZQAAAW14rhSyFOUhbnQAoAEiZQDzANIB5wG6FAAAwBRkoEUibwB0AACgbSpuAPQAzAGAAWZyeQDIFMsUzhQA4DXYVN1vAOQA1wEAgakAO3MeAdMUcgAAoBchAAFhb9oU3hRyAHIAAKC1IXMAcwAAoBcnAAFjdeYU6hRyAADgNdi43AABYnDuFPIUZaDPKgCg0SploNAqAKDSKuQhb3QAoO8igANkZWxwcnZ3AAYVEBUbFSEVRBVlFYQV4SFycgABbHIMFQ4VAKA4KQCgNSlwAhYVAAAAABkVcgAAoN4iYwAAoN8i4SFycnCgtiEAoD0pgKIqImJjZG9zACsVMBU6FT4VQRVyImNhcAAAoEgqAAFhdTQVNxVwAACgRipwAACgSipvAHQAAKCNInIAAKBFKgDgKiIA/gACYWxydksVURVuFXMVcgByAG2gtyEAoDwpeQCAAWV2dwBYFWUVaRVxAHACXxUAAAAAYxVyAGUA4wAXFXUA4wAZFWUAZQAAoM4iZSJkZ2UAAKDPImUAbgA7gKQApEBlI2Fycm93AAABbHJ7FX8V5SFmdACgtiFpImdodAAAoLchZQDkAG0VAAFjaYsVkRVvAG4AaQBuAPQAkwFuAHQAAKAxImwiY3R5AACgLSOACUFIYWJjZGVmaGlqbG9yc3R1d3oAuBW7Fb8V1RXgFegV+RUKFhUWHxZUFlcWZRbFFtsW7xb7FgUXChdyAPIAtAJhAHIAAKBlKQACZ2xyc8YVyhXOFdAV5yFlcgCgICDlIXRoAKA4IfIA9QxoAHagECAAoKMiawHZFd4VYSJyb3cAAKAPKWEA4wBfAgABYXnkFecV8iFvbg9hNGQAoUYhYW/tFfQVAAFnciEC8RVyAACgyiF0InNlcQAAoHcqgAFnbG0A/xUCFgUWO4CwALBAdABhALRjcCJ0eXYAAKCxKQABaXIOFhIW8yFodACgfykA4DXYId1hAHIAAAFschsWHRYAoMMhAKDCIYACYWVnc3YAKBauAjYWOhY+Fm0AAKHEIm9zLhY0Fm4AZABzoMQi9SFpdACgZiZhIm1tYQDdY2kAbgAAoPIiAKH3AGlvQxZRFmQAZQAAgfcAO29KFksW90BuI3RpbWVzAACgxyJuAPgAUBZjAHkAUmRjAG8CXhYAAAAAYhZyAG4AAKAeI28AcAAAoA0jgAJscHR1dwBuFnEWdRaSFp4W7CFhciRgZgAA4DXYVd0AotkCZW1wc30WhBaJFo0WcQBkoFAibwB0AACgUSJpIm51cwAAoDgi7CF1cwCgFCLxInVhcmUAoKEiYgBsAGUAYgBhAHIAdwBlAGQAZwDlANcAbgCAAWFkaAClFqoWtBZyAHIAbwD3APUMbwB3AG4AYQByAHIAbwB3APMA8xVhI3Jwb29uAAABbHK8FsAWZQBmAPQAHBZpAGcAaAD0AB4WYgHJFs8WawBhAHIAbwD3AJILbwLUFgAAAADYFnIAbgAAoB8jbwBwAACgDCOAAWNvdADhFukW7BYAAXJ55RboFgDgNdi53FVkbAAAoPYp8iFvaxFhAAFkcvMW9xZvAHQAAKDxImkA5qC/JVsSAAFhaP8WAhdyAPIANQNhAPIA1wvhIm5nbGUAoKYpAAFjaQ4XEBd5AF9k5yJyYXJyAKD/JwAJRGFjZGVmZ2xtbm9wcXJzdHV4MRc4F0YXWxcyBF4XaRd5F40XrBe0F78X2RcVGCEYLRg1GEAYAAFEbzUXgRZvAPQA+BUAAWNzPBdCF3UAdABlADuA6QDpQPQhZXIAoG4qAAJhaW95TRdQF1YXWhfyIW9uG2FyAGOgViI7gOoA6kDsIW9uAKBVIk1kbwB0ABdhAAFEcmIXZhdvAHQAAKBSIgDgNdgi3XKhmipuF3QXYQB2AGUAO4DoAOhAZKCWKm8AdAAAoJgqgKGZKmlscwCAF4UXhxfuInRlcnMAoOcjAKATIWSglSpvAHQAAKCXKoABYXBzAJMXlheiF2MAcgATYXQAeQBzogUinxcAAAAAoRdlAHQAAKAFInAAMaADIDMBqRerFwCgBCAAoAUgAAFnc7AXsRdLYXAAAKACIAABZ3C4F7sXbwBuABlhZgAA4DXYVt2AAWFscwDFF8sXzxdyAHOg1SJsAACg4yl1AHMAAKBxKmkAAKG1A2x21RfYF28AbgC1Y/VjAAJjc3V24BfoF/0XEBgAAWlv5BdWF3IAYwAAoFYiaQLuFwAAAADwF+0ADQThIW50AAFnbPUX+Rd0AHIAAKCWKuUhc3MAoJUqgAFhZWkAAxgGGAoYbABzAD1gcwB0AACgXyJ2AESgYSJEAACgeCrwImFyc2wAoOUpAAFEYRkYHRhvAHQAAKBTInIAcgAAoHEpgAFjZGkAJxgqGO0XcgAAoC8hbwD0AIwCAAFhaDEYMhi3YzuA8ADwQAABbXI5GD0YbAA7gOsA60BvAACgrCCAAWNpcABGGEgYSxhsACFgcwD0ACwEAAFlb08YVxhjAHQAYQB0AGkAbwDuABoEbgBlAG4AdABpAGEAbADlADME4Ql1GAAAgRgAAIMYiBgAAAAAoRilGAAAqhgAALsYvhjRGAAA1xgnGWwAbABpAG4AZwBkAG8AdABzAGUA8QBlF3kARGRtImFsZQAAoEAmgAFpbHIAjRiRGJ0Y7CFpZwCgA/tpApcYAAAAAJoYZwAAoAD7aQBnAACgBPsA4DXYI93sIWlnAKAB++whaWcA4GYAagCAAWFsdACvGLIYthh0AACgbSZpAGcAAKAC+24AcwAAoLElbwBmAJJh8AHCGAAAxhhmAADgNdhX3QABYWvJGMwYbADsAGsEdqDUIgCg2SphI3J0aW50AACgDSoAAWFv2hgiGQABY3PeGB8ZsQPnGP0YBRkSGRUZAAAdGbID7xjyGPQY9xj5GAAA+xg7gL0AvUAAoFMhO4C8ALxAAKBVIQCgWSEAoFshswEBGQAAAxkAoFQhAKBWIbQCCxkOGQAAAAAQGTuAvgC+QACgVyEAoFwhNQAAoFghtgEZGQAAGxkAoFohAKBdITgAAKBeIWwAAKBEIHcAbgAAoCIjYwByAADgNdi73IAIRWFiY2RlZmdpamxub3JzdHYARhlKGVoZXhlmGWkZkhmWGZkZnRmgGa0ZxhnLGc8Z4BkjGmygZyIAoIwqgAFjbXAAUBlTGVgZ9SF0ZfVhbQBhAOSgswM6FgCghipyImV2ZQAfYQABaXliGWUZcgBjAB1hM2RvAHQAIWGAoWUibHFzAMYEcBl6GfGhZSLOBAAAdhlsAGEAbgD0AN8EgKF+KmNkbACBGYQZjBljAACgqSpvAHQAb6CAKmyggioAoIQqZeDbIgD+cwAAoJQqcgAA4DXYJN3noGsirATtIWVsAKA3IWMAeQBTZIChdyJFYWoApxmpGasZAKCSKgCgpSoAoKQqAAJFYWVztBm2Gb0ZwhkAoGkicABwoIoq8iFveACgiipxoIgq8aCIKrUZaQBtAACg5yJwAGYAAOA12FjdYQB2AOUAYwIAAWNp0xnWGXIAAKAKIW0AAKFzImVs3BneGQCgjioAoJAqAIM+ADtjZGxxco0E6xn0GfgZ/BkBGgABY2nvGfEZAKCnKnIAAKB6Km8AdAAAoNci0CFhcgCglSl1ImVzdAAAoHwqgAJhZGVscwAKGvQZFhrVBCAa8AEPGgAAFBpwAHIAbwD4AFkZcgAAoHgpcQAAAWxxxAQbGmwAZQBzAPMASRlpAO0A5AQAAWVuJxouGnIjdG5lcXEAAOBpIgD+xQAsGgAFQWFiY2Vma29zeUAaQxpmGmoabRqDGocalhrCGtMacgDyAMwCAAJpbG1yShpOGlAaVBpyAHMA8ABxD2YAvWBpAGwA9AASBQABZHJYGlsaYwB5AEpkAKGUIWN3YBpkGmkAcgAAoEgpAKCtIWEAcgAAoA8h6SFyYyVhgAFhbHIAcxp7Gn8a8iF0c3WgZSZpAHQAAKBlJuwhaXAAoCYg4yFvbgCguSJyAADgNdgl3XMAAAFld4wakRphInJvdwAAoCUpYSJyb3cAAKAmKYACYW1vcHIAnxqjGqcauhq+GnIAcgAAoP8h9CFodACgOyJrAAABbHKsGrMaZSRmdGFycm93AACgqSHpJGdodGFycm93AKCqIWYAAOA12Fnd4iFhcgCgFSCAAWNsdADIGswa0BpyAADgNdi93GEAcwDoAGka8iFvaydhAAFicNca2xr1IWxsAKBDIOghZW4AoBAg4Qr2GgAA/RoAAAgbExsaGwAAIRs7GwAAAAA+G2IbmRuVG6sbAACyG80b0htjAHUAdABlADuA7QDtQAChYyBpeQEbBhtyAGMAO4DuAO5AOGQAAWN4CxsNG3kANWRjAGwAO4ChAKFAAAFmcssCFhsA4DXYJt1yAGEAdgBlADuA7ADsQIChSCFpbm8AJxsyGzYbAAFpbisbLxtuAHQAAKAMKnQAAKAtIuYhaW4AoNwpdABhAACgKSHsIWlnM2GAAWFvcABDG1sbXhuAAWNndABJG0sbWRtyACthgAFlbHAAcQVRG1UbaQBuAOUAyAVhAHIA9AByBWgAMWFmAACgtyJlAGQAtWEAoggiY2ZvdGkbbRt1G3kb4SFyZQCgBSFpAG4AdKAeImkAZQAAoN0pZABvAPQAWxsAoisiY2VscIEbhRuPG5QbYQBsAACguiIAAWdyiRuNG2UAcgDzACMQ4wCCG2EicmhrAACgFyryIW9kAKA8KgACY2dwdJ8boRukG6gbeQBRZG8AbgAvYWYAAOA12FrdYQC5Y3UAZQBzAHQAO4C/AL9AAAFjabUbuRtyAADgNdi+3G4AAKIIIkVkc3bCG8QbyBvQAwCg+SJvAHQAAKD1Inag9CIAoPMiaaBiIOwhZGUpYesB1hsAANkbYwB5AFZkbAA7gO8A70AAA2NmbW9zdeYb7hvyG/Ub+hsFHAABaXnqG+0bcgBjADVhOWRyAADgNdgn3eEhdGg3YnAAZgAA4DXYW93jAf8bAAADHHIAAOA12L/c8iFjeVhk6yFjeVRkAARhY2ZnaGpvcxUcGhwiHCYcKhwtHDAcNRzwIXBhdqC6A/BjAAFleR4cIRzkIWlsN2E6ZHIAAOA12CjdciJlZW4AOGFjAHkARWRjAHkAXGRwAGYAAOA12FzdYwByAADgNdjA3IALQUJFSGFiY2RlZmdoamxtbm9wcnN0dXYAXhxtHHEcdRx5HN8cBx0dHTwd3B3tHfEdAR4EHh0eLB5FHrwewx7hHgkfPR9LH4ABYXJ0AGQcZxxpHHIA8gBvB/IAxQLhIWlsAKAbKeEhcnIAoA4pZ6BmIgCgiyphAHIAAKBiKWMJjRwAAJAcAACVHAAAAAAAAAAAAACZHJwcAACmHKgcrRwAANIc9SF0ZTph7SJwdHl2AKC0KXIAYQDuAFoG4iFkYbtjZwAAoegnZGyhHKMcAKCRKeUAiwYAoIUqdQBvADuAqwCrQHIAgKOQIWJmaGxwc3QAuhy/HMIcxBzHHMoczhxmoOQhcwAAoB8pcwAAoB0p6wCyGnAAAKCrIWwAAKA5KWkAbQAAoHMpbAAAoKIhAKGrKmFl1hzaHGkAbAAAoBkpc6CtKgDgrSoA/oABYWJyAOUc6RztHHIAcgAAoAwpcgBrAACgcicAAWFr8Rz4HGMAAAFla/Yc9xx7YFtgAAFlc/wc/hwAoIspbAAAAWR1Ax0FHQCgjykAoI0pAAJhZXV5Dh0RHRodHB3yIW9uPmEAAWRpFR0YHWkAbAA8YewAowbiAPccO2QAAmNxcnMkHScdLB05HWEAAKA2KXUAbwDyoBwgqhEAAWR1MB00HeghYXIAoGcpcyJoYXIAAKBLKWgAAKCyIQCiZCJmZ3FzRB1FB5Qdnh10AIACYWhscnQATh1WHWUdbB2NHXIicm93AHSgkCFhAOkAzxxhI3Jwb29uAAABZHVeHWId7yF3bgCgvSFwAACgvCHlJGZ0YXJyb3dzAKDHIWkiZ2h0AIABYWhzAHUdex2DHXIicm93APOglCGdBmEAcgBwAG8AbwBuAPMAzgtxAHUAaQBnAGEAcgByAG8A9wBlGugkcmVldGltZXMAoMsi8aFkIk0HAACaHWwAYQBuAPQAXgcAon0qY2Rnc6YdqR2xHbcdYwAAoKgqbwB0AG+gfypyoIEqAKCDKmXg2iIA/nMAAKCTKoACYWRlZ3MAwB3GHcod1h3ZHXAAcAByAG8A+ACmHG8AdAAAoNYicQAAAWdxzx3SHXQA8gBGB2cAdADyAHQcdADyAFMHaQDtAGMHgAFpbHIA4h3mHeod8yFodACgfClvAG8A8gDKBgDgNdgp3UWgdiIAoJEqYQH1Hf4dcgAAAWR1YB35HWygvCEAoGopbABrAACghCVjAHkAWWQAomoiYWNodAweDx4VHhkecgDyAGsdbwByAG4AZQDyAGAW4SFyZACgaylyAGkAAKD6JQABaW8hHiQe5CFvdEBh9SFzdGGgsCPjIWhlAKCwIwACRWFlczMeNR48HkEeAKBoInAAcKCJKvIhb3gAoIkqcaCHKvGghyo0HmkAbQAAoOYiAARhYm5vcHR3elIeXB5fHoUelh6mHqsetB4AAW5yVh5ZHmcAAKDsJ3IAAKD9IXIA6wCwBmcAgAFsbXIAZh52Hnse5SFmdAABYXKIB2weaQBnAGgAdABhAHIAcgBvAPcAkwfhInBzdG8AoPwnaQBnAGgAdABhAHIAcgBvAPcAmgdwI2Fycm93AAABbHKNHpEeZQBmAPQAxhxpImdodAAAoKwhgAFhZmwAnB6fHqIecgAAoIUpAOA12F3ddQBzAACgLSppIm1lcwAAoDQqYQGvHrMecwB0AACgFyLhAIoOZaHKJbkeRhLuIWdlAKDKJWEAcgBsoCgAdAAAoJMpgAJhY2htdADMHs8e1R7bHt0ecgDyAJ0GbwByAG4AZQDyANYWYQByAGSgyyEAoG0pAKAOIHIAaQAAoL8iAANhY2hpcXTrHu8e1QfzHv0eBh/xIXVvAKA5IHIAAOA12MHcbQDloXIi+h4AAPweAKCNKgCgjyoAAWJ19xwBH28AcqAYIACgGiDyIW9rQmEAhDwAO2NkaGlscXJCBhcfxh0gHyQfKB8sHzEfAAFjaRsfHR8AoKYqcgAAoHkqcgBlAOUAkx3tIWVzAKDJIuEhcnIAoHYpdSJlc3QAAKB7KgABUGk1HzkfYQByAACglillocMlAgdfEnIAAAFkdUIfRx9zImhhcgAAoEop6CFhcgCgZikAAWVuTx9WH3IjdG5lcXEAAOBoIgD+xQBUHwAHRGFjZGVmaGlsbm9wc3VuH3Ifoh+rH68ftx+7H74f5h/uH/MfBwj/HwsgxCFvdACgOiIAAmNscHJ5H30fiR+eH3IAO4CvAK9AAAFldIEfgx8AoEImZaAgJ3MAZQAAoCAnc6CmIXQAbwCAoaYhZGx1AJQfmB+cH28AdwDuAHkDZQBmAPQA6gbwAOkO6yFlcgCgriUAAW95ph+qH+0hbWEAoCkqPGThIXNoAKAUIOElc3VyZWRhbmdsZQCgISJyAADgNdgq3W8AAKAnIYABY2RuAMQfyR/bH3IAbwA7gLUAtUBhoiMi0B8AANMf1x9zAPQAKxFpAHIAAKDwKm8AdAA7gLcAt0B1AHMA4qESIh4TAADjH3WgOCIAoCoqYwHqH+0fcAAAoNsq8gB+GnAAbAB1APMACAgAAWRw9x/7H+UhbHMAoKciZgAA4DXYXt0AAWN0AyAHIHIAAOA12MLc8CFvcwCgPiJsobwDECAVIPQiaW1hcACguCJhAPAAEyAADEdMUlZhYmNkZWZnaGlqbG1vcHJzdHV2dzwgRyBmIG0geSCqILgg2iDeIBEhFSEyIUMhTSFQIZwhnyHSIQAiIyKLIrEivyIUIwABZ3RAIEMgAODZIjgD9uBrItIgBwmAAWVsdABNIF8gYiBmAHQAAAFhclMgWCByInJvdwAAoM0h6SRnaHRhcnJvdwCgziEA4NgiOAP24Goi0iBfCekkZ2h0YXJyb3cAoM8hAAFEZHEgdSDhIXNoAKCvIuEhc2gAoK4igAJiY25wdACCIIYgiSCNIKIgbABhAACgByL1IXRlRGFnAADgICLSIACiSSJFaW9wlSCYIJwgniAA4HAqOANkAADgSyI4A3MASWFyAG8A+AAyCnUAcgBhoG4mbADzoG4mmwjzAa8gAACzIHAAO4CgAKBAbQBwAOXgTiI4AyoJgAJhZW91eQDBIMogzSDWINkg8AHGIAAAyCAAoEMqbwBuAEhh5CFpbEZhbgBnAGSgRyJvAHQAAOBtKjgDcAAAoEIqPWThIXNoAKATIACjYCJBYWRxc3jpIO0g+SD+IAIhDCFyAHIAAKDXIXIAAAFocvIg9SBrAACgJClvoJch9wAGD28AdAAA4FAiOAN1AGkA9gC7CAABZWkGIQohYQByAACgKCntAN8I6SFzdPOgBCLlCHIAAOA12CvdAAJFZXN0/wgcISshLiHxoXEiIiEAABMJ8aFxIgAJAAAnIWwAYQBuAPQAEwlpAO0AGQlyoG8iAKBvIoABQWFwADghOyE/IXIA8gBeIHIAcgAAoK4hYQByAACg8ipzogsiSiEAAAAAxwtkoPwiAKD6ImMAeQBaZIADQUVhZGVzdABcIV8hYiFmIWkhkyGWIXIA8gBXIADgZiI4A3IAcgAAoJohcgAAoCUggKFwImZxcwBwIYQhjiF0AAABYXJ1IXohcgByAG8A9wBlIWkAZwBoAHQAYQByAHIAbwD3AD4h8aFwImAhAACKIWwAYQBuAPQAZwlz4H0qOAMAoG4iaQDtAG0JcqBuImkA5aDqIkUJaQDkADoKAAFwdKMhpyFmAADgNdhf3YCBrAA7aW4AriGvIcchrEBuAIChCSJFZHYAtyG6Ib8hAOD5IjgDbwB0AADg9SI4A+EB1gjEIcYhAKD3IgCg9iJpAHagDCLhAagJzyHRIQCg/iIAoP0igAFhb3IA2CHsIfEhcgCAoSYiYXN0AOAh5SHpIWwAbABlAOwAywhsAADg/SrlIADgAiI4A2wiaW50AACgFCrjoYAi9yEAAPohdQDlAJsJY+CvKjgDZaCAIvEAkwkAAkFhaXQHIgoiFyIeInIA8gBsIHIAcgAAoZshY3cRIhQiAOAzKTgDAOCdITgDZyRodGFycm93AACgmyFyAGkA5aDrIr4JgANjaGltcHF1AC8iPCJHIpwhTSJQIloigKGBImNlcgA2Iv0JOSJ1AOUABgoA4DXYw9zvIXJ0bQKdIQAAAABEImEAcgDhAOEhbQBloEEi8aBEIiYKYQDyAMsIcwB1AAABYnBWIlgi5QDUCeUA3wmAAWJjcABgInMieCKAoYQiRWVzAGci7glqIgDgxSo4A2UAdABl4IIi0iBxAPGgiCJoImMAZaCBIvEA/gmAoYUiRWVzAH8iFgqCIgDgxio4A2UAdABl4IMi0iBxAPGgiSKAIgACZ2lscpIilCKaIpwi7AAMCWwAZABlADuA8QDxQOcAWwlpI2FuZ2xlAAABbHKkIqoi5SFmdGWg6iLxAEUJaSJnaHQAZaDrIvEAvgltoL0DAKEjAGVzuCK8InIAbwAAoBYhcAAAoAcggARESGFkZ2lscnMAziLSItYi2iLeIugi7SICIw8j4SFzaACgrSLhIXJyAKAEKXAAAOBNItIg4SFzaACgrCIAAWV04iLlIgDgZSLSIADgPgDSIG4iZmluAACg3imAAUFldADzIvci+iJyAHIAAKACKQDgZCLSIHLgPADSIGkAZQAA4LQi0iAAAUF0BiMKI3IAcgAAoAMp8iFpZQDgtSLSIGkAbQAA4Dwi0iCAAUFhbgAaIx4jKiNyAHIAAKDWIXIAAAFociMjJiNrAACgIylvoJYh9wD/DuUhYXIAoCcpUxJqFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAVCMAAF4jaSN/I4IjjSOeI8AUAAAAAKYjwCMAANoj3yMAAO8jHiQvJD8kRCQAAWNzVyNsFHUAdABlADuA8wDzQAABaXlhI2cjcgBjoJoiO4D0APRAPmSAAmFiaW9zAHEjdCN3I3EBeiNzAOgAdhTsIWFjUWF2AACgOCrvIWxkAKC8KewhaWdTYQABY3KFI4kjaQByAACgvykA4DXYLN1vA5QjAAAAAJYjAACcI24A22JhAHYAZQA7gPIA8kAAoMEpAAFibaEjjAphAHIAAKC1KQACYWNpdKwjryO6I70jcgDyAFkUAAFpcrMjtiNyAACgvinvIXNzAKC7KW4A5QDZCgCgwCmAAWFlaQDFI8gjyyNjAHIATWFnAGEAyWOAAWNkbgDRI9Qj1iPyIW9uv2MAoLYpdQDzAHgBcABmAADgNdhg3YABYWVsAOQj5yPrI3IAAKC3KXIAcAAAoLkpdQDzAHwBAKMoImFkaW9zdvkj/CMPJBMkFiQbJHIA8gBeFIChXSplZm0AAyQJJAwkcgBvoDQhZgAAoDQhO4CqAKpAO4C6ALpA5yFvZgCgtiJyAACgVipsIm9wZQAAoFcqAKBbKoABY2xvACMkJSQrJPIACCRhAHMAaAA7gPgA+EBsAACgmCJpAGwBMyQ4JGQAZQA7gPUA9UBlAHMAYaCXInMAAKA2Km0AbAA7gPYA9kDiIWFyAKA9I+EKXiQAAHokAAB8JJQkAACYJKkkAAAAALUkEQsAAPAkAAAAAAQleiUAAIMlcgCAoSUiYXN0AGUkbyQBCwCBtgA7bGokayS2QGwAZQDsABgDaQJ1JAAAAAB4JG0AAKDzKgCg/Sp5AD9kcgCAAmNpbXB0AIUkiCSLJJkSjyRuAHQAJWBvAGQALmBpAGwAAKAwIOUhbmsAoDEgcgAA4DXYLd2AAWltbwCdJKAkpCR2oMYD1WNtAGEA9AD+B24AZQAAoA4m9KHAA64kAAC0JGMjaGZvcmsAAKDUItZjAAFhdbgkxCRuAAABY2u9JMIkawBooA8hAKAOIfYAaRpzAACkKwBhYmNkZW1zdNMkIRPXJNsk4STjJOck6yTjIWlyAKAjKmkAcgAAoCIqAAFvdYsW3yQAoCUqAKByKm4AO4CxALFAaQBtAACgJip3AG8AAKAnKoABaXB1APUk+iT+JO4idGludACgFSpmAADgNdhh3W4AZAA7gKMAo0CApHoiRWFjZWlub3N1ABMlFSUYJRslTCVRJVklSSV1JQCgsypwAACgtyp1AOUAPwtjoK8qgKJ6ImFjZW5zACclLSU0JTYlSSVwAHAAcgBvAPgAFyV1AHIAbAB5AGUA8QA/C/EAOAuAAWFlcwA8JUElRSXwInByb3gAoLkqcQBxAACgtSppAG0AAKDoImkA7QBEC20AZQDzoDIgIguAAUVhcwBDJVclRSXwAEAlgAFkZnAATwtfJXElgAFhbHMAZSVpJW0l7CFhcgCgLiPpIW5lAKASI/UhcmYAoBMjdKAdIu8AWQvyIWVsAKCwIgABY2l9JYElcgAA4DXYxdzIY24iY3NwAACgCCAAA2Zpb3BzdZElKxuVJZolnyWkJXIAAOA12C7dcABmAADgNdhi3XIiaW1lAACgVyBjAHIAAOA12MbcgAFhZW8AqiW6JcAldAAAAWVpryW2JXIAbgBpAG8AbgDzABkFbgB0AACgFipzAHQAZaA/APEACRj0AG0LgApBQkhhYmNkZWZoaWxtbm9wcnN0dXgA4yXyJfYl+iVpJpAmpia9JtUm5ib4JlonaCdxJ3UnnietJ7EnyCfiJ+cngAFhcnQA6SXsJe4lcgDyAJkM8gD6AuEhaWwAoBwpYQByAPIA3BVhAHIAAKBkKYADY2RlbnFydAAGJhAmEyYYJiYmKyZaJgABZXUKJg0mAOA9IjEDdABlAFVhaQDjACAN7SJwdHl2AKCzKWcAgKHpJ2RlbAAgJiImJCYAoJIpAKClKeUA9wt1AG8AO4C7ALtAcgAApZIhYWJjZmhscHN0dz0mQCZFJkcmSiZMJk4mUSZVJlgmcAAAoHUpZqDlIXMAAKAgKQCgMylzAACgHinrALka8ACVHmwAAKBFKWkAbQAAoHQpbAAAoKMhAKCdIQABYWleJmImaQBsAACgGilvAG6gNiJhAGwA8wB2C4ABYWJyAG8mciZ2JnIA8gAvEnIAawAAoHMnAAFha3omgSZjAAABZWt/JoAmfWBdYAABZXOFJocmAKCMKWwAAAFkdYwmjiYAoI4pAKCQKQACYWV1eZcmmiajJqUm8iFvbllhAAFkaZ4moSZpAGwAV2HsAA8M4gCAJkBkAAJjbHFzrSawJrUmuiZhAACgNylkImhhcgAAoGkpdQBvAPKgHSCjAWgAAKCzIYABYWNnAMMm0iaUC2wAgKEcIWlwcwDLJs4migxuAOUAoAxhAHIA9ADaC3QAAKCtJYABaWxyANsm3ybjJvMhaHQAoH0pbwBvAPIANgwA4DXYL90AAWFv6ib1JnIAAAFkde8m8SYAoMEhbKDAIQCgbCl2oMED8WOAAWducwD+Jk4nUCdoAHQAAANhaGxyc3QKJxInISc1Jz0nRydyInJvdwB0oJIhYQDpAFYmYSNycG9vbgAAAWR1GiceJ28AdwDuAPAmcAAAoMAh5SFmdAABYWgnJy0ncgByAG8AdwDzAAkMYQByAHAAbwBvAG4A8wATBGklZ2h0YXJyb3dzAACgySFxAHUAaQBnAGEAcgByAG8A9wBZJugkcmVldGltZXMAoMwiZwDaYmkAbgBnAGQAbwB0AHMAZQDxABwYgAFhaG0AYCdjJ2YncgDyAAkMYQDyABMEAKAPIG8idXN0AGGgsSPjIWhlAKCxI+0haWQAoO4qAAJhYnB0fCeGJ4knmScAAW5ygCeDJ2cAAKDtJ3IAAKD+IXIA6wAcDIABYWZsAI8nkieVJ3IAAKCGKQDgNdhj3XUAcwAAoC4qaSJtZXMAAKA1KgABYXCiJ6gncgBnoCkAdAAAoJQp7yJsaW50AKASKmEAcgDyADwnAAJhY2hxuCe8J6EMwCfxIXVvAKA6IHIAAOA12MfcAAFidYAmxCdvAPKgGSCoAYABaGlyAM4n0ifWJ3IAZQDlAE0n7SFlcwCgyiJpAIChuSVlZmwAXAxjEt4n9CFyaQCgzinsInVoYXIAoGgpAKAeIWENBSgJKA0oSyhVKIYoAACLKLAoAAAAAOMo5ygAABApJCkxKW0pcSmHKaYpAACYKgAAAACxKmMidXRlAFthcQB1AO8ABR+ApHsiRWFjZWlucHN5ABwoHignKCooLygyKEEoRihJKACgtCrwASMoAAAlKACguCpvAG4AYWF1AOUAgw1koLAqaQBsAF9hcgBjAF1hgAFFYXMAOCg6KD0oAKC2KnAAAKC6KmkAbQAAoOki7yJsaW50AKATKmkA7QCIDUFkbwB0AGKixSKRFgAAAABTKACgZiqAA0FhY21zdHgAYChkKG8ocyh1KHkogihyAHIAAKDYIXIAAAFocmkoayjrAJAab6CYIfcAzAd0ADuApwCnQGkAO2D3IWFyAKApKW0AAAFpbn4ozQBuAHUA8wDOAHQAAKA2J3IA7+A12DDdIxkAAmFjb3mRKJUonSisKHIAcAAAoG8mAAFoeZkonChjAHkASWRIZHIAdABtAqUoAAAAAKgoaQDkAFsPYQByAGEA7ABsJDuArQCtQAABZ22zKLsobQBhAAChwwNmdroouijCY4CjPCJkZWdsbnByAMgozCjPKNMo1yjaKN4obwB0AACgairxoEMiCw5FoJ4qAKCgKkWgnSoAoJ8qZQAAoEYi7CF1cwCgJCrhIXJyAKByKWEAcgDyAPwMAAJhZWl07Sj8KAEpCCkAAWxz8Sj4KGwAcwBlAHQAbQDpAH8oaABwAACgMyrwImFyc2wAoOQpAAFkbFoPBSllAACgIyNloKoqc6CsKgDgrCoA/oABZmxwABUpGCkfKfQhY3lMZGKgLwBhoMQpcgAAoD8jZgAA4DXYZN1hAAABZHIoKRcDZQBzAHWgYCZpAHQAAKBgJoABY3N1ADYpRilhKQABYXU6KUApcABzoJMiAOCTIgD+cABzoJQiAOCUIgD+dQAAAWJwSylWKQChjyJlcz4NUCllAHQAZaCPIvEAPw0AoZAiZXNIDVspZQB0AGWgkCLxAEkNAKGhJWFmZilbBHIAZQFrKVwEAKChJWEAcgDyAAMNAAJjZW10dyl7KX8pgilyAADgNdjI3HQAbQDuAM4AaQDsAAYpYQByAOYAVw0AAWFyiimOKXIA5qAGJhESAAFhbpIpoylpImdodAAAAWVwmSmgKXAAcwBpAGwAbwDuANkXaADpAKAkcwCvYIACYmNtbnAArin8KY4NJSooKgCkgiJFZGVtbnByc7wpvinCKcgpzCnUKdgp3CkAoMUqbwB0AACgvSpkoIYibwB0AACgwyr1IWx0AKDBKgABRWXQKdIpAKDLKgCgiiLsIXVzAKC/KuEhcnIAoHkpgAFlaXUA4inxKfQpdAAAoYIiZW7oKewpcQDxoIYivSllAHEA8aCKItEpbQAAoMcqAAFicPgp+ikAoNUqAKDTKmMAgKJ7ImFjZW5zAAcqDSoUKhYqRihwAHAAcgBvAPgAIyh1AHIAbAB5AGUA8QCDDfEAfA2AAWFlcwAcKiIqPShwAHAAcgBvAPgAPChxAPEAOShnAACgaiYApoMiMTIzRWRlaGxtbnBzPCo/KkIqRSpHKlIqWCpjKmcqaypzKncqO4C5ALlAO4CyALJAO4CzALNAAKDGKgABb3NLKk4qdAAAoL4qdQBiAACg2CpkoIcibwB0AACgxCpzAAABb3VdKmAqbAAAoMknYgAAoNcq4SFycgCgeyn1IWx0AKDCKgABRWVvKnEqAKDMKgCgiyLsIXVzAKDAKoABZWl1AH0qjCqPKnQAAKGDImVugyqHKnEA8aCHIkYqZQBxAPGgiyJwKm0AAKDIKgABYnCTKpUqAKDUKgCg1iqAAUFhbgCdKqEqrCpyAHIAAKDZIXIAAAFocqYqqCrrAJUab6CZIfcAxQf3IWFyAKAqKWwAaQBnADuA3wDfQOELzyrZKtwq6SrsKvEqAAD1KjQrAAAAAAAAAAAAAEwrbCsAAHErvSsAAAAAAADRK3IC1CoAAAAA2CrnIWV0AKAWI8RjcgDrAOUKgAFhZXkA4SrkKucq8iFvbmVh5CFpbGNhQmRvAPQAIg5sInJlYwAAoBUjcgAA4DXYMd0AAmVpa2/7KhIrKCsuK/IBACsAAAkrZQAAATRm6g0EK28AcgDlAOsNYQBzorgDECsAAAAAEit5AG0A0WMAAWNuFislK2sAAAFhcxsrIStwAHAAcgBvAPgAFw5pAG0AAKA8InMA8AD9DQABYXMsKyEr8AAXDnIAbgA7gP4A/kDsATgrOyswG2QA5QBnAmUAcwCAgdcAO2JkAEMrRCtJK9dAYaCgInIAAKAxKgCgMCqAAWVwcwBRK1MraSvhAAkh4qKkIlsrXysAAAAAYytvAHQAAKA2I2kAcgAAoPEqb+A12GXdcgBrAACg2irhAHgociJpbWUAAKA0IIABYWlwAHYreSu3K2QA5QC+DYADYWRlbXBzdACFK6MrmiunK6wrsCuzK24iZ2xlAACitSVkbHFykCuUK5ornCvvIXduAKC/JeUhZnRloMMl8QACBwCgXCJpImdodABloLkl8QBdDG8AdAAAoOwlaSJudXMAAKA6KuwhdXMAoDkqYgAAoM0p6SFtZQCgOyrlInppdW0AoOIjgAFjaHQAwivKK80rAAFyecYrySsA4DXYydxGZGMAeQBbZPIhb2tnYQABaW/UK9creAD0ANERaCJlYWQAAAFsct4r5ytlAGYAdABhAHIAcgBvAPcAXQbpJGdodGFycm93AKCgIQAJQUhhYmNkZmdobG1vcHJzdHV3CiwNLBEsHSwnLDEsQCxLLFIsYix6LIQsjyzLLOgs7Sz/LAotcgDyAAkDYQByAACgYykAAWNyFSwbLHUAdABlADuA+gD6QPIACQ1yAOMBIywAACUseQBeZHYAZQBtYQABaXkrLDAscgBjADuA+wD7QENkgAFhYmgANyw6LD0scgDyANEO7CFhY3FhYQDyAOAOAAFpckQsSCzzIWh0AKB+KQDgNdgy3XIAYQB2AGUAO4D5APlAYQFWLF8scgAAAWxyWixcLACgvyEAoL4hbABrAACggCUAAWN0Zix2LG8CbCwAAAAAcyxyAG4AZaAcI3IAAKAcI28AcAAAoA8jcgBpAACg+CUAAWFsfiyBLGMAcgBrYTuAqACoQAABZ3CILIssbwBuAHNhZgAA4DXYZt0AA2FkaGxzdZksniynLLgsuyzFLHIAcgBvAPcACQ1vAHcAbgBhAHIAcgBvAPcA2A5hI3Jwb29uAAABbHKvLLMsZQBmAPQAWyxpAGcAaAD0AF0sdQDzAKYOaQAAocUDaGzBLMIs0mNvAG4AxWPwI2Fycm93cwCgyCGAAWNpdADRLOEs5CxvAtcsAAAAAN4scgBuAGWgHSNyAACgHSNvAHAAAKAOI24AZwBvYXIAaQAAoPklYwByAADgNdjK3IABZGlyAPMs9yz6LG8AdAAAoPAi7CFkZWlhaQBmoLUlAKC0JQABYW0DLQYtcgDyAMosbAA7gPwA/EDhIm5nbGUAoKcpgAdBQkRhY2RlZmxub3Byc3oAJy0qLTAtNC2bLZ0toS2/LcMtxy3TLdgt3C3gLfwtcgDyABADYQByAHag6CoAoOkqYQBzAOgA/gIAAW5yOC08LechcnQAoJwpgANla25wcnN0AJkpSC1NLVQtXi1iLYItYQBwAHAA4QAaHG8AdABoAGkAbgDnAKEXgAFoaXIAoSmzJFotbwBwAPQAdCVooJUh7wD4JgABaXVmLWotZwBtAOEAuygAAWJwbi14LXMjZXRuZXEAceCKIgD+AODLKgD+cyNldG5lcQBx4IsiAP4A4MwqAP4AAWhyhi2KLWUAdADhABIraSNhbmdsZQAAAWxyki2WLeUhZnQAoLIiaSJnaHQAAKCzInkAMmThIXNoAKCiIoABZWxyAKcttC24LWKiKCKuLQAAAACyLWEAcgAAoLsicQAAoFoi7CFpcACg7iIAAWJ0vC1eD2EA8gBfD3IAAOA12DPddAByAOkAlS1zAHUAAAFicM0t0C0A4IIi0iAA4IMi0iBwAGYAAOA12GfdcgBvAPAAWQt0AHIA6QCaLQABY3XkLegtcgAA4DXYy9wAAWJw7C30LW4AAAFFZXUt8S0A4IoiAP5uAAABRWV/LfktAOCLIgD+6SJnemFnAKCaKYADY2Vmb3BycwANLhAuJS4pLiMuLi40LukhcmN1YQABZGkULiEuAAFiZxguHC5hAHIAAKBfKmUAcaAnIgCgWSLlIXJwAKAYIXIAAOA12DTdcABmAADgNdho3WWgQCJhAHQA6ABqD2MAcgAA4DXYzNzjCuQRUC4AAFQuAABYLmIuAAAAAGMubS5wLnQuAAAAAIguki4AAJouJxIqEnQAcgDpAB0ScgAA4DXYNd0AAUFhWy5eLnIA8gDnAnIA8gCTB75jAAFBYWYuaS5yAPIA4AJyAPIAjAdhAPAAeh5pAHMAAKD7IoABZHB0APgReS6DLgABZmx9LoAuAOA12GnddQDzAP8RaQBtAOUABBIAAUFhiy6OLnIA8gDuAnIA8gCaBwABY3GVLgoScgAA4DXYzdwAAXB0nS6hLmwAdQDzACUScgDpACASAARhY2VmaW9zdbEuvC7ELsguzC7PLtQu2S5jAAABdXm2LrsudABlADuA/QD9QE9kAAFpecAuwy5yAGMAd2FLZG4AO4ClAKVAcgAA4DXYNt1jAHkAV2RwAGYAAOA12GrdYwByAADgNdjO3AABY23dLt8ueQBOZGwAO4D/AP9AAAVhY2RlZmhpb3N38y73Lv8uAi8MLxAvEy8YLx0vIi9jInV0ZQB6YQABYXn7Lv4u8iFvbn5hN2RvAHQAfGEAAWV0Bi8KL3QAcgDmAB8QYQC2Y3IAAOA12DfdYwB5ADZk5yJyYXJyAKDdIXAAZgAA4DXYa91jAHIAAOA12M/cAAFqbiYvKC8AoA0gagAAoAwg")});var Au=D(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.xmlDecodeTree=void 0;var u1=du();mo.xmlDecodeTree=(0,u1.decodeBase64)("AAJhZ2xxBwARABMAFQBtAg0AAAAAAA8AcAAmYG8AcwAnYHQAPmB0ADxg9SFvdCJg")});var Hm=D(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});Ao.BinTrieFlags=void 0;var jm;(function(s){s[s.VALUE_LENGTH=49152]="VALUE_LENGTH",s[s.FLAG13=8192]="FLAG13",s[s.BRANCH_LENGTH=8064]="BRANCH_LENGTH",s[s.JUMP_TABLE=127]="JUMP_TABLE"})(jm||(Ao.BinTrieFlags=jm={}))});var Su=D(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});Xe.xmlDecodeTree=Xe.htmlDecodeTree=Xe.replaceCodePoint=Xe.fromCodePoint=Xe.decodeCodePoint=Xe.EntityDecoder=Xe.DecodingMode=void 0;Xe.determineBranch=Xm;Xe.decodeHTML=g1;Xe.decodeHTMLAttribute=y1;Xe.decodeHTMLStrict=E1;Xe.decodeXML=S1;var Gm=hu(),p1=mu(),h1=Au(),Jt=Hm(),ke;(function(s){s[s.NUM=35]="NUM",s[s.SEMI=59]="SEMI",s[s.EQUALS=61]="EQUALS",s[s.ZERO=48]="ZERO",s[s.NINE=57]="NINE",s[s.LOWER_A=97]="LOWER_A",s[s.LOWER_F=102]="LOWER_F",s[s.LOWER_X=120]="LOWER_X",s[s.LOWER_Z=122]="LOWER_Z",s[s.UPPER_A=65]="UPPER_A",s[s.UPPER_F=70]="UPPER_F",s[s.UPPER_Z=90]="UPPER_Z"})(ke||(ke={}));var Km=32;function gu(s){return s>=ke.ZERO&&s<=ke.NINE}function f1(s){return s>=ke.UPPER_A&&s<=ke.UPPER_F||s>=ke.LOWER_A&&s<=ke.LOWER_F}function d1(s){return s>=ke.UPPER_A&&s<=ke.UPPER_Z||s>=ke.LOWER_A&&s<=ke.LOWER_Z||gu(s)}function m1(s){return s===ke.EQUALS||d1(s)}var lt;(function(s){s[s.EntityStart=0]="EntityStart",s[s.NumericStart=1]="NumericStart",s[s.NumericDecimal=2]="NumericDecimal",s[s.NumericHex=3]="NumericHex",s[s.NamedEntity=4]="NamedEntity"})(lt||(lt={}));var Es;(function(s){s[s.Legacy=0]="Legacy",s[s.Strict=1]="Strict",s[s.Attribute=2]="Attribute"})(Es||(Xe.DecodingMode=Es={}));var go=class{constructor(t,e,i){this.decodeTree=t,this.emitCodePoint=e,this.errors=i,this.state=lt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Es.Strict}startEntity(t){this.decodeMode=t,this.state=lt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,e){switch(this.state){case lt.EntityStart:return t.charCodeAt(e)===ke.NUM?(this.state=lt.NumericStart,this.consumed+=1,this.stateNumericStart(t,e+1)):(this.state=lt.NamedEntity,this.stateNamedEntity(t,e));case lt.NumericStart:return this.stateNumericStart(t,e);case lt.NumericDecimal:return this.stateNumericDecimal(t,e);case lt.NumericHex:return this.stateNumericHex(t,e);case lt.NamedEntity:return this.stateNamedEntity(t,e)}}stateNumericStart(t,e){return e>=t.length?-1:(t.charCodeAt(e)|Km)===ke.LOWER_X?(this.state=lt.NumericHex,this.consumed+=1,this.stateNumericHex(t,e+1)):(this.state=lt.NumericDecimal,this.stateNumericDecimal(t,e))}stateNumericHex(t,e){for(;e<t.length;){let i=t.charCodeAt(e);if(gu(i)||f1(i)){let r=i<=ke.NINE?i-ke.ZERO:(i|Km)-ke.LOWER_A+10;this.result=this.result*16+r,this.consumed++,e++}else return this.emitNumericEntity(i,3)}return-1}stateNumericDecimal(t,e){for(;e<t.length;){let i=t.charCodeAt(e);if(gu(i))this.result=this.result*10+(i-ke.ZERO),this.consumed++,e++;else return this.emitNumericEntity(i,2)}return-1}emitNumericEntity(t,e){var i;if(this.consumed<=e)return(i=this.errors)===null||i===void 0||i.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ke.SEMI)this.consumed+=1;else if(this.decodeMode===Es.Strict)return 0;return this.emitCodePoint((0,Gm.replaceCodePoint)(this.result),this.consumed),this.errors&&(t!==ke.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,e){let{decodeTree:i}=this,r=i[this.treeIndex],n=(r&Jt.BinTrieFlags.VALUE_LENGTH)>>14;for(;e<t.length;){if(n===0&&(r&Jt.BinTrieFlags.FLAG13)!==0){let o=(r&Jt.BinTrieFlags.BRANCH_LENGTH)>>7,l=r&Jt.BinTrieFlags.JUMP_TABLE;if(e+o>t.length)return-1;if(t.charCodeAt(e)!==l)return this.result===0?0:this.emitNotTerminatedNamedEntity();e++,this.excess++;let c=o-1;for(let u=1;u<o;u+=2){let p=i[this.treeIndex+1+(u-1>>1)],h=p&255;if(t.charCodeAt(e)!==h)return this.result===0?0:this.emitNotTerminatedNamedEntity();e++,this.excess++;let f=p>>8&255;if(u+1<o){if(t.charCodeAt(e)!==f)return this.result===0?0:this.emitNotTerminatedNamedEntity();e++,this.excess++}}this.treeIndex+=1+(c+1>>1),r=i[this.treeIndex],n=(r&Jt.BinTrieFlags.VALUE_LENGTH)>>14}if(e>=t.length)break;let a=t.charCodeAt(e);if(a===ke.SEMI&&n!==0&&(r&Jt.BinTrieFlags.FLAG13)!==0)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);if(this.treeIndex=Xm(i,r,this.treeIndex+Math.max(1,n),a),this.treeIndex<0)return this.result===0||this.decodeMode===Es.Attribute&&(n===0||m1(a))?0:this.emitNotTerminatedNamedEntity();if(r=i[this.treeIndex],n=(r&Jt.BinTrieFlags.VALUE_LENGTH)>>14,n!==0){if(a===ke.SEMI)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);this.decodeMode!==Es.Strict&&(r&Jt.BinTrieFlags.FLAG13)===0&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}e++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var t;let{result:e,decodeTree:i}=this,r=(i[e]&Jt.BinTrieFlags.VALUE_LENGTH)>>14;return this.emitNamedEntityData(e,r,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,e,i){let{decodeTree:r}=this;return this.emitCodePoint(e===1?r[t]&~(Jt.BinTrieFlags.VALUE_LENGTH|Jt.BinTrieFlags.FLAG13):r[t+1],i),e===3&&this.emitCodePoint(r[t+2],i),i}end(){var t;switch(this.state){case lt.NamedEntity:return this.result!==0&&(this.decodeMode!==Es.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case lt.NumericDecimal:return this.emitNumericEntity(0,2);case lt.NumericHex:return this.emitNumericEntity(0,3);case lt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case lt.EntityStart:return 0}}};Xe.EntityDecoder=go;function Wm(s){let t="",e=new go(s,i=>t+=(0,Gm.fromCodePoint)(i));return function(r,n){let a=0,o=0;for(;(o=r.indexOf("&",o))>=0;){t+=r.slice(a,o),e.startEntity(n);let c=e.write(r,o+1);if(c<0){a=o+e.end();break}a=o+c,o=c===0?a+1:a}let l=t+r.slice(a);return t="",l}}function Xm(s,t,e,i){let r=(t&Jt.BinTrieFlags.BRANCH_LENGTH)>>7,n=t&Jt.BinTrieFlags.JUMP_TABLE;if(r===0)return n!==0&&i===n?e:-1;if(n){let c=i-n;return c<0||c>=r?-1:s[e+c]-1}let a=r+1>>1,o=0,l=r-1;for(;o<=l;){let c=o+l>>>1,u=c>>1,h=s[e+u]>>(c&1)*8&255;if(h<i)o=c+1;else if(h>i)l=c-1;else return s[e+a+c]}return-1}var yu=Wm(p1.htmlDecodeTree),A1=Wm(h1.xmlDecodeTree);function g1(s,t=Es.Legacy){return yu(s,t)}function y1(s){return yu(s,Es.Attribute)}function E1(s){return yu(s,Es.Strict)}function S1(s){return A1(s,Es.Strict)}var Eu=hu();Object.defineProperty(Xe,"decodeCodePoint",{enumerable:!0,get:function(){return Eu.decodeCodePoint}});Object.defineProperty(Xe,"fromCodePoint",{enumerable:!0,get:function(){return Eu.fromCodePoint}});Object.defineProperty(Xe,"replaceCodePoint",{enumerable:!0,get:function(){return Eu.replaceCodePoint}});var b1=mu();Object.defineProperty(Xe,"htmlDecodeTree",{enumerable:!0,get:function(){return b1.htmlDecodeTree}});var T1=Au();Object.defineProperty(Xe,"xmlDecodeTree",{enumerable:!0,get:function(){return T1.xmlDecodeTree}})});var ip=D(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});function C1(s,t){if(s==null)return{};var e={};for(var i in s)if({}.hasOwnProperty.call(s,i)){if(t.indexOf(i)!==-1)continue;e[i]=s[i]}return e}var Vs=class{constructor(t,e,i){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=e,this.index=i}},Gr=class{constructor(t,e){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=e}};function wt(s,t){let{line:e,column:i,index:r}=s;return new Vs(e,i+t,r+t)}var qm="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",I1={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:qm},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:qm}},Qm={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"},So=s=>s.type==="UpdateExpression"?Qm.UpdateExpression[`${s.prefix}`]:Qm[s.type],_1={AccessorIsGenerator:({kind:s})=>`A ${s}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:s})=>`Missing initializer in ${s} 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:s})=>`\`${s}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:s,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
6
6
|
- Did you mean \`export { '${s}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:s})=>`'${s==="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:s})=>`Unsyntactic ${s==="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:s})=>`A string literal cannot be used as an imported binding.
|
|
7
|
-
- Did you mean \`import { "${s}" 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.",InvalidCoverDiscardElement:"'void' must be followed by an expression when not used in a binding position.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:s})=>`Expected number in radix ${s}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:s})=>`Escape sequence in keyword ${s}.`,InvalidIdentifier:({identifierName:s})=>`Invalid identifier ${s}.`,InvalidLhs:({ancestor:s})=>`Invalid left-hand side in ${So(s)}.`,InvalidLhsBinding:({ancestor:s})=>`Binding invalid left-hand side in ${So(s)}.`,InvalidLhsOptionalChaining:({ancestor:s})=>`Invalid optional chaining in the left-hand side of ${So(s)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:s})=>`Unexpected character '${s}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:s})=>`Private name #${s} 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:s})=>`Label '${s}' 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:s})=>`This experimental syntax requires enabling the parser plugin: ${s.map(t=>JSON.stringify(t)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:s})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${s.map(t=>JSON.stringify(t)).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:s})=>`Duplicate key "${s}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:s})=>`An export name cannot include a lone surrogate, found '\\u${s.toString(16)}'.`,ModuleExportUndefined:({localName:s})=>`Export '${s}' 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:s})=>`Private names are only allowed in property accesses (\`obj.#${s}\`) or in \`in\` expressions (\`#${s} in obj\`).`,PrivateNameRedeclaration:({identifierName:s})=>`Duplicate private name #${s}.`,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:s})=>`Unexpected keyword '${s}'.`,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:s})=>`Unexpected reserved word '${s}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:s,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${s?`, expected "${s}"`:""}`,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` or in the bare case statement.",UnexpectedVoidPattern:"Unexpected void binding.",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:s,onlyValidPropertyName:t})=>`The only valid meta property for ${s} is ${s}.${t}.`,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:s})=>`Identifier '${s}' has already been declared.`,VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:"A void binding may not have an initializer.",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."},_1={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:s})=>`Assigning to '${s}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:s})=>`Binding '${s}' 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."},P1={ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:({unexpected:s})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(s)}\`.`},N1=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),x1=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:s})=>`Invalid topic token ${s}. In order to use ${s} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${s}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:s})=>`Hack-style pipe body cannot be an unparenthesized ${So({type:s})}; 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.'}),v1=["message"];function Jm(s,t,e){Object.defineProperty(s,t,{enumerable:!1,configurable:!0,value:e})}function O1({toMessage:s,code:t,reasonCode:e,syntaxPlugin:i}){let r=e==="MissingPlugin"||e==="MissingOneOfPlugins",n={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};return n[e]&&(e=n[e]),function a(o,l){let c=new SyntaxError;return c.code=t,c.reasonCode=e,c.loc=o,c.pos=o.index,c.syntaxPlugin=i,r&&(c.missingPlugin=l.missingPlugin),Jm(c,"clone",function(h={}){var p;let{line:f,column:m,index:d}=(p=h.loc)!=null?p:o;return a(new Vs(f,m,d),Object.assign({},l,h.details))}),Jm(c,"details",l),Object.defineProperty(c,"message",{configurable:!0,get(){let u=`${s(l)} (${o.line}:${o.column})`;return this.message=u,u},set(u){Object.defineProperty(this,"message",{value:u,writable:!0})}}),c}}function Bs(s,t){if(Array.isArray(s))return i=>Bs(i,s[0]);let e={};for(let i of Object.keys(s)){let r=s[i],n=typeof r=="string"?{message:()=>r}:typeof r=="function"?{message:r}:r,{message:a}=n,o=T1(n,v1),l=typeof a=="string"?()=>a:a;e[i]=O1(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:i,toMessage:l},t?{syntaxPlugin:t}:{},o))}return e}var S=Object.assign({},Bs(C1),Bs(I1),Bs(_1),Bs(P1),Bs`pipelineOperator`(x1));function w1(){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:void 0,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function L1(s){let t=w1();if(s==null)return t;if(s.annexB!=null&&s.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let e of Object.keys(t))s[e]!=null&&(t[e]=s[e]);if(t.startLine===1)s.startIndex==null&&t.startColumn>0?t.startIndex=t.startColumn:s.startColumn==null&&t.startIndex>0&&(t.startColumn=t.startIndex);else if((s.startColumn==null||s.startIndex==null)&&s.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if(t.sourceType==="commonjs"){if(s.allowAwaitOutsideFunction!=null)throw new Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(s.allowReturnOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(s.allowNewTargetOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return t}var{defineProperty:M1}=Object,Ym=(s,t)=>{s&&M1(s,t,{enumerable:!1,value:s[t]})};function Hn(s){return Ym(s.loc.start,"index"),Ym(s.loc.end,"index"),s}var D1=s=>class extends s{parse(){let e=Hn(super.parse());return this.optionFlags&256&&(e.tokens=e.tokens.map(Hn)),e}parseRegExpLiteral({pattern:e,flags:i}){let r=null;try{r=new RegExp(e,i)}catch{}let n=this.estreeParseLiteral(r);return n.regex={pattern:e,flags:i},n}parseBigIntLiteral(e){let i;try{i=BigInt(e)}catch{i=null}let r=this.estreeParseLiteral(i);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){let r=this.estreeParseLiteral(null);return r.decimal=String(r.value||e),r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}estreeParseChainExpression(e,i){let r=this.startNodeAtNode(e);return r.expression=e,this.finishNodeAt(r,"ChainExpression",i)}directiveToStmt(e){let i=e.value;delete e.value,this.castNodeTo(i,"Literal"),i.raw=i.extra.raw,i.value=i.extra.expressionValue;let r=this.castNodeTo(e,"ExpressionStatement");return r.expression=i,r.directive=i.extra.rawValue,delete i.extra,r}fillOptionalPropertiesForTSESLint(e){}cloneEstreeStringLiteral(e){let{start:i,end:r,loc:n,range:a,raw:o,value:l}=e,c=Object.create(e.constructor.prototype);return c.type="Literal",c.start=i,c.end=r,c.loc=n,c.range=a,c.raw=o,c.value=l,c}initFunction(e,i){super.initFunction(e,i),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var i;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((i=e.expression.extra)!=null&&i.parenthesized)}parseBlockBody(e,i,r,n,a){super.parseBlockBody(e,i,r,n,a);let o=e.directives.map(l=>this.directiveToStmt(l));e.body=o.concat(e.body),delete e.directives}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let i=super.getPrivateNameSV(e);return delete e.id,e.name=i,this.castNodeTo(e,"PrivateIdentifier")}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,i){let r=super.parseLiteral(e,i);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,i,r=!1){super.parseFunctionBody(e,i,r),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,i,r,n,a,o,l=!1){let c=this.startNode();c.kind=e.kind,c=super.parseMethod(c,i,r,n,a,o,l),delete c.kind;let{typeParameters:u}=e;u&&(delete e.typeParameters,c.typeParameters=u,this.resetStartLocationFromNode(c,u));let h=this.castNodeTo(c,"FunctionExpression");return e.value=h,o==="ClassPrivateMethod"&&(e.computed=!1),o==="ObjectMethod"?(e.kind==="method"&&(e.kind="init"),e.shorthand=!1,this.finishNode(e,"Property")):this.finishNode(e,"MethodDefinition")}nameIsConstructor(e){return e.type==="Literal"?e.value==="constructor":super.nameIsConstructor(e)}parseClassProperty(...e){let i=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&this.castNodeTo(i,"PropertyDefinition"),i}parseClassPrivateProperty(...e){let i=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(this.castNodeTo(i,"PropertyDefinition"),i.computed=!1),i}parseClassAccessorProperty(e){let i=super.parseClassAccessorProperty(e);return this.getPluginOption("estree","classFeatures")&&(i.abstract&&this.hasPlugin("typescript")?(delete i.abstract,this.castNodeTo(i,"TSAbstractAccessorProperty")):this.castNodeTo(i,"AccessorProperty")),i}parseObjectProperty(e,i,r,n){let a=super.parseObjectProperty(e,i,r,n);return a&&(a.kind="init",this.castNodeTo(a,"Property")),a}finishObjectProperty(e){return e.kind="init",this.finishNode(e,"Property")}isValidLVal(e,i,r,n){return e==="Property"?"value":super.isValidLVal(e,i,r,n)}isAssignable(e,i){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,i):super.isAssignable(e,i)}toAssignable(e,i=!1){if(e!=null&&this.isObjectProperty(e)){let{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,i)}else super.toAssignable(e,i)}toAssignableObjectExpressionProp(e,i,r){e.type==="Property"&&(e.kind==="get"||e.kind==="set")?this.raise(S.PatternHasAccessor,e.key):e.type==="Property"&&e.method?this.raise(S.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,i,r)}finishCallExpression(e,i){let r=super.finishCallExpression(e,i);if(r.callee.type==="Import"){var n,a;this.castNodeTo(r,"ImportExpression"),r.source=r.arguments[0],r.options=(n=r.arguments[1])!=null?n:null,r.attributes=(a=r.arguments[1])!=null?a:null,delete r.arguments,delete r.callee}else r.type==="OptionalCallExpression"?this.castNodeTo(r,"CallExpression"):r.optional=!1;return r}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e,i){let r=this.state.lastTokStartLoc,n=super.parseExport(e,i);switch(n.type){case"ExportAllDeclaration":n.exported=null;break;case"ExportNamedDeclaration":n.specifiers.length===1&&n.specifiers[0].type==="ExportNamespaceSpecifier"&&(this.castNodeTo(n,"ExportAllDeclaration"),n.exported=n.specifiers[0].exported,delete n.specifiers);case"ExportDefaultDeclaration":{var a;let{declaration:o}=n;o?.type==="ClassDeclaration"&&((a=o.decorators)==null?void 0:a.length)>0&&o.start===n.start&&this.resetStartLocation(n,r)}break}return n}stopParseSubscript(e,i){let r=super.stopParseSubscript(e,i);return i.optionalChainMember?this.estreeParseChainExpression(r,e.loc.end):r}parseMember(e,i,r,n,a){let o=super.parseMember(e,i,r,n,a);return o.type==="OptionalMemberExpression"?this.castNodeTo(o,"MemberExpression"):o.optional=!1,o}isOptionalMemberExpression(e){return e.type==="ChainExpression"?e.expression.type==="MemberExpression":super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.type==="Property"&&(e.method||e.kind==="get"||e.kind==="set")}castNodeTo(e,i){let r=super.castNodeTo(e,i);return this.fillOptionalPropertiesForTSESLint(r),r}cloneIdentifier(e){let i=super.cloneIdentifier(e);return this.fillOptionalPropertiesForTSESLint(i),i}cloneStringLiteral(e){return e.type==="Literal"?this.cloneEstreeStringLiteral(e):super.cloneStringLiteral(e)}finishNodeAt(e,i,r){return Hn(super.finishNodeAt(e,i,r))}finishNode(e,i){let r=super.finishNode(e,i);return this.fillOptionalPropertiesForTSESLint(r),r}resetStartLocation(e,i){super.resetStartLocation(e,i),Hn(e)}resetEndLocation(e,i=this.state.lastTokEndLoc){super.resetEndLocation(e,i),Hn(e)}},ar=class{constructor(t,e){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!e}},de={brace:new ar("{"),j_oTag:new ar("<tag"),j_cTag:new ar("</tag"),j_expr:new ar("<tag>...</tag>",!0)};de.template=new ar("`",!0);var se=!0,V=!0,bu=!0,Kn=!0,vi=!0,R1=!0,Co=class{constructor(t,e={}){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=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}},qu=new Map;function ue(s,t={}){t.keyword=s;let e=W(s,t);return qu.set(s,e),e}function Ot(s,t){return W(s,{beforeExpr:se,binop:t})}var qn=-1,ii=[],Qu=[],Ju=[],Yu=[],zu=[],Zu=[];function W(s,t={}){var e,i,r,n;return++qn,Qu.push(s),Ju.push((e=t.binop)!=null?e:-1),Yu.push((i=t.beforeExpr)!=null?i:!1),zu.push((r=t.startsExpr)!=null?r:!1),Zu.push((n=t.prefix)!=null?n:!1),ii.push(new Co(s,t)),qn}function ie(s,t={}){var e,i,r,n;return++qn,qu.set(s,qn),Qu.push(s),Ju.push((e=t.binop)!=null?e:-1),Yu.push((i=t.beforeExpr)!=null?i:!1),zu.push((r=t.startsExpr)!=null?r:!1),Zu.push((n=t.prefix)!=null?n:!1),ii.push(new Co("name",t)),qn}var k1={bracketL:W("[",{beforeExpr:se,startsExpr:V}),bracketHashL:W("#[",{beforeExpr:se,startsExpr:V}),bracketBarL:W("[|",{beforeExpr:se,startsExpr:V}),bracketR:W("]"),bracketBarR:W("|]"),braceL:W("{",{beforeExpr:se,startsExpr:V}),braceBarL:W("{|",{beforeExpr:se,startsExpr:V}),braceHashL:W("#{",{beforeExpr:se,startsExpr:V}),braceR:W("}"),braceBarR:W("|}"),parenL:W("(",{beforeExpr:se,startsExpr:V}),parenR:W(")"),comma:W(",",{beforeExpr:se}),semi:W(";",{beforeExpr:se}),colon:W(":",{beforeExpr:se}),doubleColon:W("::",{beforeExpr:se}),dot:W("."),question:W("?",{beforeExpr:se}),questionDot:W("?."),arrow:W("=>",{beforeExpr:se}),template:W("template"),ellipsis:W("...",{beforeExpr:se}),backQuote:W("`",{startsExpr:V}),dollarBraceL:W("${",{beforeExpr:se,startsExpr:V}),templateTail:W("...`",{startsExpr:V}),templateNonTail:W("...${",{beforeExpr:se,startsExpr:V}),at:W("@"),hash:W("#",{startsExpr:V}),interpreterDirective:W("#!..."),eq:W("=",{beforeExpr:se,isAssign:Kn}),assign:W("_=",{beforeExpr:se,isAssign:Kn}),slashAssign:W("_=",{beforeExpr:se,isAssign:Kn}),xorAssign:W("_=",{beforeExpr:se,isAssign:Kn}),moduloAssign:W("_=",{beforeExpr:se,isAssign:Kn}),incDec:W("++/--",{prefix:vi,postfix:R1,startsExpr:V}),bang:W("!",{beforeExpr:se,prefix:vi,startsExpr:V}),tilde:W("~",{beforeExpr:se,prefix:vi,startsExpr:V}),doubleCaret:W("^^",{startsExpr:V}),doubleAt:W("@@",{startsExpr:V}),pipeline:Ot("|>",0),nullishCoalescing:Ot("??",1),logicalOR:Ot("||",1),logicalAND:Ot("&&",2),bitwiseOR:Ot("|",3),bitwiseXOR:Ot("^",4),bitwiseAND:Ot("&",5),equality:Ot("==/!=/===/!==",6),lt:Ot("</>/<=/>=",7),gt:Ot("</>/<=/>=",7),relational:Ot("</>/<=/>=",7),bitShift:Ot("<</>>/>>>",8),bitShiftL:Ot("<</>>/>>>",8),bitShiftR:Ot("<</>>/>>>",8),plusMin:W("+/-",{beforeExpr:se,binop:9,prefix:vi,startsExpr:V}),modulo:W("%",{binop:10,startsExpr:V}),star:W("*",{binop:10}),slash:Ot("/",10),exponent:W("**",{beforeExpr:se,binop:11,rightAssociative:!0}),_in:ue("in",{beforeExpr:se,binop:7}),_instanceof:ue("instanceof",{beforeExpr:se,binop:7}),_break:ue("break"),_case:ue("case",{beforeExpr:se}),_catch:ue("catch"),_continue:ue("continue"),_debugger:ue("debugger"),_default:ue("default",{beforeExpr:se}),_else:ue("else",{beforeExpr:se}),_finally:ue("finally"),_function:ue("function",{startsExpr:V}),_if:ue("if"),_return:ue("return",{beforeExpr:se}),_switch:ue("switch"),_throw:ue("throw",{beforeExpr:se,prefix:vi,startsExpr:V}),_try:ue("try"),_var:ue("var"),_const:ue("const"),_with:ue("with"),_new:ue("new",{beforeExpr:se,startsExpr:V}),_this:ue("this",{startsExpr:V}),_super:ue("super",{startsExpr:V}),_class:ue("class",{startsExpr:V}),_extends:ue("extends",{beforeExpr:se}),_export:ue("export"),_import:ue("import",{startsExpr:V}),_null:ue("null",{startsExpr:V}),_true:ue("true",{startsExpr:V}),_false:ue("false",{startsExpr:V}),_typeof:ue("typeof",{beforeExpr:se,prefix:vi,startsExpr:V}),_void:ue("void",{beforeExpr:se,prefix:vi,startsExpr:V}),_delete:ue("delete",{beforeExpr:se,prefix:vi,startsExpr:V}),_do:ue("do",{isLoop:bu,beforeExpr:se}),_for:ue("for",{isLoop:bu}),_while:ue("while",{isLoop:bu}),_as:ie("as",{startsExpr:V}),_assert:ie("assert",{startsExpr:V}),_async:ie("async",{startsExpr:V}),_await:ie("await",{startsExpr:V}),_defer:ie("defer",{startsExpr:V}),_from:ie("from",{startsExpr:V}),_get:ie("get",{startsExpr:V}),_let:ie("let",{startsExpr:V}),_meta:ie("meta",{startsExpr:V}),_of:ie("of",{startsExpr:V}),_sent:ie("sent",{startsExpr:V}),_set:ie("set",{startsExpr:V}),_source:ie("source",{startsExpr:V}),_static:ie("static",{startsExpr:V}),_using:ie("using",{startsExpr:V}),_yield:ie("yield",{startsExpr:V}),_asserts:ie("asserts",{startsExpr:V}),_checks:ie("checks",{startsExpr:V}),_exports:ie("exports",{startsExpr:V}),_global:ie("global",{startsExpr:V}),_implements:ie("implements",{startsExpr:V}),_intrinsic:ie("intrinsic",{startsExpr:V}),_infer:ie("infer",{startsExpr:V}),_is:ie("is",{startsExpr:V}),_mixins:ie("mixins",{startsExpr:V}),_proto:ie("proto",{startsExpr:V}),_require:ie("require",{startsExpr:V}),_satisfies:ie("satisfies",{startsExpr:V}),_keyof:ie("keyof",{startsExpr:V}),_readonly:ie("readonly",{startsExpr:V}),_unique:ie("unique",{startsExpr:V}),_abstract:ie("abstract",{startsExpr:V}),_declare:ie("declare",{startsExpr:V}),_enum:ie("enum",{startsExpr:V}),_module:ie("module",{startsExpr:V}),_namespace:ie("namespace",{startsExpr:V}),_interface:ie("interface",{startsExpr:V}),_type:ie("type",{startsExpr:V}),_opaque:ie("opaque",{startsExpr:V}),name:W("name",{startsExpr:V}),placeholder:W("%%",{startsExpr:V}),string:W("string",{startsExpr:V}),num:W("num",{startsExpr:V}),bigint:W("bigint",{startsExpr:V}),decimal:W("decimal",{startsExpr:V}),regexp:W("regexp",{startsExpr:V}),privateName:W("#name",{startsExpr:V}),eof:W("eof"),jsxName:W("jsxName"),jsxText:W("jsxText",{beforeExpr:se}),jsxTagStart:W("jsxTagStart",{startsExpr:V}),jsxTagEnd:W("jsxTagEnd")};function Ae(s){return s>=93&&s<=133}function B1(s){return s<=92}function Ss(s){return s>=58&&s<=133}function cA(s){return s>=58&&s<=137}function F1(s){return Yu[s]}function Wn(s){return zu[s]}function V1(s){return s>=29&&s<=33}function zm(s){return s>=129&&s<=131}function U1(s){return s>=90&&s<=92}function eh(s){return s>=58&&s<=92}function $1(s){return s>=39&&s<=59}function j1(s){return s===34}function H1(s){return Zu[s]}function K1(s){return s>=121&&s<=123}function G1(s){return s>=124&&s<=130}function wi(s){return Qu[s]}function bo(s){return Ju[s]}function W1(s){return s===57}function Io(s){return s>=24&&s<=25}function si(s){return ii[s]}ii[8].updateContext=s=>{s.pop()};ii[5].updateContext=ii[7].updateContext=ii[23].updateContext=s=>{s.push(de.brace)};ii[22].updateContext=s=>{s[s.length-1]===de.template?s.pop():s.push(de.template)};ii[143].updateContext=s=>{s.push(de.j_expr,de.j_oTag)};var th="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",uA="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",X1=new RegExp("["+th+"]"),q1=new RegExp("["+th+uA+"]");th=uA=null;var hA=[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,7,25,39,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,5,57,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,24,43,261,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,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,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,208,30,2,2,2,1,2,6,3,4,10,1,225,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,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],Q1=[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,78,5,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,199,7,137,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,55,9,266,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,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function Nu(s,t){let e=65536;for(let i=0,r=t.length;i<r;i+=2){if(e+=t[i],e>s)return!1;if(e+=t[i+1],e>=s)return!0}return!1}function Fs(s){return s<65?s===36:s<=90?!0:s<97?s===95:s<=122?!0:s<=65535?s>=170&&X1.test(String.fromCharCode(s)):Nu(s,hA)}function or(s){return s<48?s===36:s<58?!0:s<65?!1:s<=90?!0:s<97?s===95:s<=122?!0:s<=65535?s>=170&&q1.test(String.fromCharCode(s)):Nu(s,hA)||Nu(s,Q1)}var sh={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"]},J1=new Set(sh.keyword),Y1=new Set(sh.strict),z1=new Set(sh.strictBind);function pA(s,t){return t&&s==="await"||s==="enum"}function fA(s,t){return pA(s,t)||Y1.has(s)}function dA(s){return z1.has(s)}function mA(s,t){return fA(s,t)||dA(s)}function Z1(s){return J1.has(s)}function e_(s,t,e){return s===64&&t===64&&Fs(e)}var t_=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 s_(s){return t_.has(s)}var Qn=class{constructor(t){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=t}},Jn=class{constructor(t,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=e}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 allowNewTarget(){return(this.currentThisScopeFlags()&512)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let t=this.currentThisScopeFlags();return(t&64)>0&&(t&2)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&128)return!0;if(e&1731)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get inBareCaseStatement(){return(this.currentScope().flags&256)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new Qn(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&130||!this.parser.inModule&&t.flags&1)}declareName(t,e,i){let r=this.currentScope();if(e&8||e&16){this.checkRedeclarationInScope(r,t,e,i);let n=r.names.get(t)||0;e&16?n=n|4:(r.firstLexicalName||(r.firstLexicalName=t),n=n|2),r.names.set(t,n),e&8&&this.maybeExportDefined(r,t)}else if(e&4)for(let n=this.scopeStack.length-1;n>=0&&(r=this.scopeStack[n],this.checkRedeclarationInScope(r,t,e,i),r.names.set(t,(r.names.get(t)||0)|1),this.maybeExportDefined(r,t),!(r.flags&1667));--n);this.parser.inModule&&r.flags&1&&this.undefinedExports.delete(t)}maybeExportDefined(t,e){this.parser.inModule&&t.flags&1&&this.undefinedExports.delete(e)}checkRedeclarationInScope(t,e,i,r){this.isRedeclaredInScope(t,e,i)&&this.parser.raise(S.VarRedeclaration,r,{identifierName:e})}isRedeclaredInScope(t,e,i){if(!(i&1))return!1;if(i&8)return t.names.has(e);let r=t.names.get(e)||0;return i&16?(r&2)>0||!this.treatFunctionsAsVarInScope(t)&&(r&1)>0:(r&2)>0&&!(t.flags&8&&t.firstLexicalName===e)||!this.treatFunctionsAsVarInScope(t)&&(r&4)>0}checkLocalExport(t){let{name:e}=t;this.scopeStack[0].names.has(e)||this.undefinedExports.set(e,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&1667)return e}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&1731&&!(e&4))return e}}},xu=class extends Qn{constructor(...t){super(...t),this.declareFunctions=new Set}},vu=class extends Jn{createScope(t){return new xu(t)}declareName(t,e,i){let r=this.currentScope();if(e&2048){this.checkRedeclarationInScope(r,t,e,i),this.maybeExportDefined(r,t),r.declareFunctions.add(t);return}super.declareName(t,e,i)}isRedeclaredInScope(t,e,i){if(super.isRedeclaredInScope(t,e,i))return!0;if(i&2048&&!t.declareFunctions.has(e)){let r=t.names.get(e);return(r&4)>0||(r&2)>0}return!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}},i_=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Q=Bs`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:s})=>`Cannot overwrite reserved type ${s}.`,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:s,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${s} = true,\` or \`${s} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:s,enumName:t})=>`Enum member names need to be unique, but the name \`${s}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:s})=>`Enum \`${s}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:s,enumName:t})=>`Enum type \`${s}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:s})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${s}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:s,memberName:t,explicitType:e})=>`Enum \`${s}\` has type \`${e}\`, so the initializer of \`${t}\` needs to be a ${e} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:s,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${s}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:s,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${s}\`.`,EnumInvalidMemberName:({enumName:s,memberName:t,suggestion:e})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${e}\`, in enum \`${s}\`.`,EnumNumberMemberNotInitialized:({enumName:s,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${s}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:s})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${s}\`.`,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:s})=>`Unexpected reserved type ${s}.`,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:s,suggestion:t})=>`\`declare export ${s}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function r_(s){return s.type==="DeclareExportAllDeclaration"||s.type==="DeclareExportDeclaration"&&(!s.declaration||s.declaration.type!=="TypeAlias"&&s.declaration.type!=="InterfaceDeclaration")}function Zm(s){return s.importKind==="type"||s.importKind==="typeof"}var n_={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function a_(s,t){let e=[],i=[];for(let r=0;r<s.length;r++)(t(s[r],r,s)?e:i).push(s[r]);return[e,i]}var o_=/\*?\s*@((?:no)?flow)\b/,l_=s=>class extends s{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return vu}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(e,i){e!==134&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,i)}addComment(e){if(this.flowPragma===void 0){let i=o_.exec(e.value);if(i)if(i[1]==="flow")this.flowPragma="flow";else if(i[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(e)}flowParseTypeInitialiser(e){let i=this.state.inType;this.state.inType=!0,this.expect(e||14);let r=this.flowParseType();return this.state.inType=i,r}flowParsePredicate(){let e=this.startNode(),i=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>i.index+1&&this.raise(Q.UnexpectedSpaceBetweenModuloChecks,i),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let i=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(i=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[i,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let i=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);let a=this.flowParseFunctionTypeParams();return r.params=a.params,r.rest=a.rest,r.this=a._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),i.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(i),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,i){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(i&&this.raise(Q.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,i);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(134)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let i=e.body=this.startNode(),r=i.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(Q.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),r.push(super.parseImport(o))):(this.expectContextual(125,Q.UnsupportedStatementInDeclareModule),r.push(this.flowParseDeclare(o,!0)))}this.scope.exit(),this.expect(8),this.finishNode(i,"BlockStatement");let n=null,a=!1;return r.forEach(o=>{r_(o)?(n==="CommonJS"&&this.raise(Q.AmbiguousDeclareModuleKind,o),n="ES"):o.type==="DeclareModuleExports"&&(a&&this.raise(Q.DuplicateDeclareModuleExports,o),n==="ES"&&this.raise(Q.AmbiguousDeclareModuleKind,o),n="CommonJS",a=!0)}),e.kind=n||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,i){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!i){let r=this.state.value;throw this.raise(Q.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:r,suggestion:n_[r]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type==="ExportNamedDeclaration"?(e.default=!1,delete e.exportKind,this.castNodeTo(e,"DeclareExportDeclaration")):this.castNodeTo(e,"DeclareExportAllDeclaration");throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();let i=this.flowParseTypeAlias(e);return this.castNodeTo(i,"DeclareTypeAlias"),i}flowParseDeclareOpaqueType(e){this.next();let i=this.flowParseOpaqueType(e,!0);return this.castNodeTo(i,"DeclareOpaqueType"),i}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,i){if(e.id=this.flowParseRestrictedIdentifier(!i,!0),this.scope.declareName(e.id.name,i?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!i&&this.eat(12));if(i){if(e.implements=[],e.mixins=[],this.eatContextual(117))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:i,allowExact:!1,allowSpread:!1,allowProto:i,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(Q.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,i,r){i_.has(e)&&this.raise(r?Q.AssignReservedType:Q.UnexpectedReservedType,i,{reservedType:e})}flowParseRestrictedIdentifier(e,i){return this.checkReservedType(this.state.value,this.state.startLoc,i),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,i){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,i||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){let i=this.state.startLoc,r=this.startNode(),n=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return r.name=a.name,r.variance=n,r.bound=a.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(Q.MissingTypeParamDefault,i),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,i=this.startNode();i.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let r=!1;do{let n=this.flowParseTypeParameter(r);i.params.push(n),n.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(i,"TypeParameterDeclaration")}flowInTopLevelContext(e){if(this.curContext()!==de.brace){let i=this.state.context;this.state.context=[i[0]];try{return e()}finally{this.state.context=i}}else return e()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let e=this.startNode(),i=this.state.inType;return this.state.inType=!0,e.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=r}),this.state.inType=i,!this.state.inType&&this.curContext()===de.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return null;let e=this.startNode(),i=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=i,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,i,r){return e.static=i,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,i){return e.static=i,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,i){let r=this.startNode();return e.static=i,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:i,allowSpread:r,allowProto:n,allowInexact:a}){let o=this.state.inType;this.state.inType=!0;let l=this.startNode();l.callProperties=[],l.properties=[],l.indexers=[],l.internalSlots=[];let c,u,h=!1;for(i&&this.match(6)?(this.expect(6),c=9,u=!0):(this.expect(5),c=8,u=!1),l.exact=u;!this.match(c);){let f=!1,m=null,d=null,A=this.startNode();if(n&&this.isContextual(118)){let E=this.lookahead();E.type!==14&&E.type!==17&&(this.next(),m=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){let E=this.lookahead();E.type!==14&&E.type!==17&&(this.next(),f=!0)}let y=this.flowParseVariance();if(this.eat(0))m!=null&&this.unexpected(m),this.eat(0)?(y&&this.unexpected(y.loc.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(A,f))):l.indexers.push(this.flowParseObjectTypeIndexer(A,f,y));else if(this.match(10)||this.match(47))m!=null&&this.unexpected(m),y&&this.unexpected(y.loc.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(A,f));else{let E="init";if(this.isContextual(99)||this.isContextual(104)){let N=this.lookahead();cA(N.type)&&(E=this.state.value,this.next())}let x=this.flowParseObjectTypeProperty(A,f,m,y,E,r,a??!u);x===null?(h=!0,d=this.state.lastTokStartLoc):l.properties.push(x)}this.flowObjectTypeSemicolon(),d&&!this.match(8)&&!this.match(9)&&this.raise(Q.UnexpectedExplicitInexactInObject,d)}this.expect(c),r&&(l.inexact=h);let p=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=o,p}flowParseObjectTypeProperty(e,i,r,n,a,o,l){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?l||this.raise(Q.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Q.InexactInsideNonObject,this.state.lastTokStartLoc),n&&this.raise(Q.InexactVariance,n),null):(o||this.raise(Q.UnexpectedSpreadType,this.state.lastTokStartLoc),r!=null&&this.unexpected(r),n&&this.raise(Q.SpreadVariance,n),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=i,e.proto=r!=null,e.kind=a;let c=!1;return this.match(47)||this.match(10)?(e.method=!0,r!=null&&this.unexpected(r),n&&this.unexpected(n.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(a==="get"||a==="set")&&this.flowCheckGetterSetterParams(e),!o&&e.key.name==="constructor"&&e.value.this&&this.raise(Q.ThisParamBannedInConstructor,e.value.this)):(a!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&(c=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=c,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let i=e.kind==="get"?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind==="get"?Q.GetterMayNotHaveThisParam:Q.SetterMayNotHaveThisParam,e.value.this),r!==i&&this.raise(e.kind==="get"?S.BadGetterArity:S.BadSetterArity,e),e.kind==="set"&&e.value.rest&&this.raise(S.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,i){e??(e=this.state.startLoc);let r=i||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let n=this.startNodeAt(e);n.qualification=r,n.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(n,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,i){let r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,i),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let i=null,r=!1,n=null,a=this.startNode(),o=this.lookahead(),l=this.state.type===78;return o.type===14||o.type===17?(l&&!e&&this.raise(Q.ThisParamMustBeFirst,a),i=this.parseIdentifier(l),this.eat(17)&&(r=!0,l&&this.raise(Q.ThisParamMayNotBeOptional,a)),n=this.flowParseTypeInitialiser()):n=this.flowParseType(),a.name=i,a.optional=r,a.typeAnnotation=n,this.finishNode(a,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){let i=this.startNodeAt(e.loc.start);return i.name=null,i.optional=!1,i.typeAnnotation=e,this.finishNode(i,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let i=null,r=null;for(this.match(78)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(i=this.flowParseFunctionTypeParam(!1)),{params:e,rest:i,_this:r}}flowIdentToTypeAnnotation(e,i,r){switch(r.name){case"any":return this.finishNode(i,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(i,"BooleanTypeAnnotation");case"mixed":return this.finishNode(i,"MixedTypeAnnotation");case"empty":return this.finishNode(i,"EmptyTypeAnnotation");case"number":return this.finishNode(i,"NumberTypeAnnotation");case"string":return this.finishNode(i,"StringTypeAnnotation");case"symbol":return this.finishNode(i,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,r)}}flowParsePrimaryType(){let e=this.state.startLoc,i=this.startNode(),r,n,a=!1,o=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,n=this.flowParseTupleType(),this.state.noAnonFunctionType=o,n;case 47:{let l=this.startNode();return l.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),r=this.flowParseFunctionTypeParams(),l.params=r.params,l.rest=r.rest,l.this=r._this,this.expect(11),this.expect(19),l.returnType=this.flowParseType(),this.finishNode(l,"FunctionTypeAnnotation")}case 10:{let l=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(Ae(this.state.type)||this.match(78)){let c=this.lookahead().type;a=c!==17&&c!==14}else a=!0;if(a){if(this.state.noAnonFunctionType=!1,n=this.flowParseType(),this.state.noAnonFunctionType=o,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),n;this.eat(12)}return n?r=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(n)]):r=this.flowParseFunctionTypeParams(),l.params=r.params,l.rest=r.rest,l.this=r._this,this.expect(11),this.expect(19),l.returnType=this.flowParseType(),l.typeParameters=null,this.finishNode(l,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return i.value=this.match(85),this.next(),this.finishNode(i,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",i);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",i);throw this.raise(Q.UnexpectedSubtractionOperand,this.state.startLoc)}throw this.unexpected();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(i,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(i,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(i,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(i,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(eh(this.state.type)){let l=wi(this.state.type);return this.next(),super.createIdentifier(i,l)}else if(Ae(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,i,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let e=this.state.startLoc,i=this.flowParsePrimaryType(),r=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let n=this.startNodeAt(e),a=this.eat(18);r=r||a,this.expect(0),!a&&this.match(3)?(n.elementType=i,this.next(),i=this.finishNode(n,"ArrayTypeAnnotation")):(n.objectType=i,n.indexType=this.flowParseType(),this.expect(3),r?(n.optional=a,i=this.finishNode(n,"OptionalIndexedAccessType")):i=this.finishNode(n,"IndexedAccessType"))}return i}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let i=this.startNodeAt(e.loc.start);return i.params=[this.reinterpretTypeAsFunctionTypeParam(e)],i.rest=null,i.this=null,i.returnType=this.flowParseType(),i.typeParameters=null,this.finishNode(i,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let i=this.flowParseAnonFunctionWithoutParens();for(e.types=[i];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return e.types.length===1?i:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){let e=this.startNode();this.eat(43);let i=this.flowParseIntersectionType();for(e.types=[i];this.eat(43);)e.types.push(this.flowParseIntersectionType());return e.types.length===1?i:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){let e=this.state.inType;this.state.inType=!0;let i=this.flowParseUnionType();return this.state.inType=e,i}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let e=this.state.startLoc,i=this.parseIdentifier();return this.flowParseGenericType(e,i)}else return this.flowParseType()}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){let i=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(i.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(i)),i}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),this.state.value==="+"?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")):e}parseFunctionBody(e,i,r=!1){if(i){this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,r));return}super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,i,r=!1){if(this.match(14)){let n=this.startNode();[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=n.typeAnnotation?this.finishNode(n,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,i,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){let r=this.lookahead();if(Ss(r.type)){let n=this.startNode();return this.next(),this.flowParseInterface(n)}}else if(this.isContextual(126)){let r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}let i=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(i)&&(this.flowPragma=null),i}parseExpressionStatement(e,i,r){if(i.type==="Identifier"){if(i.name==="declare"){if(this.match(80)||Ae(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(Ae(this.state.type)){if(i.name==="interface")return this.flowParseInterface(e);if(i.name==="type")return this.flowParseTypeAlias(e);if(i.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,i,r)}shouldParseExportDeclaration(){let{type:e}=this.state;return e===126||zm(e)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return e===126||zm(e)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,i,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let p=this.lookaheadCharCode();if(p===44||p===61||p===58||p===41)return this.setOptionalParametersError(r),e}this.expect(17);let n=this.state.clone(),a=this.state.noArrowAt,o=this.startNodeAt(i),{consequent:l,failed:c}=this.tryParseConditionalConsequent(),[u,h]=this.getArrowLikeExpressions(l);if(c||h.length>0){let p=[...a];if(h.length>0){this.state=n,this.state.noArrowAt=p;for(let f=0;f<h.length;f++)p.push(h[f].start);({consequent:l,failed:c}=this.tryParseConditionalConsequent()),[u,h]=this.getArrowLikeExpressions(l)}c&&u.length>1&&this.raise(Q.AmbiguousConditionalArrow,n.startLoc),c&&u.length===1&&(this.state=n,p.push(u[0].start),this.state.noArrowAt=p,{consequent:l,failed:c}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(l,!0),this.state.noArrowAt=a,this.expect(14),o.test=e,o.consequent=l,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),i=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:i}}getArrowLikeExpressions(e,i){let r=[e],n=[];for(;r.length!==0;){let a=r.pop();a.type==="ArrowFunctionExpression"&&a.body.type!=="BlockStatement"?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):n.push(a),r.push(a.body)):a.type==="ConditionalExpression"&&(r.push(a.consequent),r.push(a.alternate))}return i?(n.forEach(a=>this.finishArrowValidation(a)),[n,[]]):a_(n,a=>a.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(e){var i;this.toAssignableList(e.params,(i=e.extra)==null?void 0:i.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,i){let r;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),r=i(),this.state.noArrowParamsConversionAt.pop()):r=i(),r}parseParenItem(e,i){let r=super.parseParenItem(e,i);if(this.eat(17)&&(r.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(i);return n.expression=r,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,"TypeCastExpression")}return r}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";let i=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(i)}else if(this.isContextual(131)){e.exportKind="type";let i=this.startNode();return this.next(),this.flowParseOpaqueType(i,!1)}else if(this.isContextual(129)){e.exportKind="type";let i=this.startNode();return this.next(),this.flowParseInterface(i)}else if(this.isContextual(126)){e.exportKind="value";let i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){let{startLoc:i}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&e.exportKind==="type"&&this.unexpected(i),r}parseClassId(e,i,r){super.parseClassId(e,i,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,i,r){let{startLoc:n}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,i))return;i.declare=!0}super.parseClassMember(e,i,r),i.declare&&(i.type!=="ClassProperty"&&i.type!=="ClassPrivateProperty"&&i.type!=="PropertyDefinition"?this.raise(Q.DeclareClassElement,n):i.value&&this.raise(Q.DeclareClassFieldInitializer,i.value))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){let e=super.readWord1(),i="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(S.InvalidIdentifier,this.state.curPosition(),{identifierName:i}),this.finishToken(132,i)}getTokenFromCode(e){let i=this.input.charCodeAt(this.state.pos+1);e===123&&i===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?i===46?this.finishOp(18,2):this.finishOp(17,1):e_(e,i,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,i){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,i):super.isAssignable(e,i)}toAssignable(e,i=!1){!i&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,i)}toAssignableList(e,i,r){for(let n=0;n<e.length;n++){let a=e[n];a?.type==="TypeCastExpression"&&(e[n]=this.typeCastToParameter(a))}super.toAssignableList(e,i,r)}toReferencedList(e,i){for(let n=0;n<e.length;n++){var r;let a=e[n];a&&a.type==="TypeCastExpression"&&!((r=a.extra)!=null&&r.parenthesized)&&(e.length>1||!i)&&this.raise(Q.TypeCastInPattern,a.typeAnnotation)}return e}parseArrayLike(e,i,r){let n=super.parseArrayLike(e,i,r);return r!=null&&!this.state.maybeInArrowParameters&&this.toReferencedList(n.elements),n}isValidLVal(e,i,r,n){return e==="TypeCastExpression"||super.isValidLVal(e,i,r,n)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,i,r,n,a,o){if(i.variance&&this.unexpected(i.variance.loc.start),delete i.variance,this.match(47)&&(i.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,i,r,n,a,o),i.params&&a){let l=i.params;l.length>0&&this.isThisParam(l[0])&&this.raise(Q.ThisParamBannedInConstructor,i)}else if(i.type==="MethodDefinition"&&a&&i.value.params){let l=i.value.params;l.length>0&&this.isThisParam(l[0])&&this.raise(Q.ThisParamBannedInConstructor,i)}}pushClassPrivateMethod(e,i,r,n){i.variance&&this.unexpected(i.variance.loc.start),delete i.variance,this.match(47)&&(i.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,i,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();let i=e.implements=[];do{let r=this.startNode();r.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,i.push(this.finishNode(r,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let i=this.getObjectOrClassMethodParams(e);if(i.length>0){let r=i[0];this.isThisParam(r)&&e.kind==="get"?this.raise(Q.GetterMayNotHaveThisParam,r):this.isThisParam(r)&&this.raise(Q.SetterMayNotHaveThisParam,r)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,i,r,n,a,o,l){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let c;this.match(47)&&!o&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let u=super.parseObjPropValue(e,i,r,n,a,o,l);return c&&((u.value||u).typeParameters=c),u}parseFunctionParamType(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(Q.PatternIsOptional,e),this.isThisParam(e)&&this.raise(Q.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Q.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(Q.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,i){let r=super.parseMaybeDefault(e,i);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(Q.TypeBeforeInitializer,r.typeAnnotation),r}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(Q.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,i,r){i.local=Zm(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(i,r))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;let i=this.lookaheadCharCode();return i===123||i===42}return!e&&this.isContextual(87)}applyImportPhase(e,i,r,n){if(super.applyImportPhase(e,i,r,n),i){if(!r&&this.match(65))return;e.exportKind=r==="type"?r:"value"}else r==="type"&&this.match(55)&&this.unexpected(),e.importKind=r==="type"||r==="typeof"?r:"value"}parseImportSpecifier(e,i,r,n,a){let o=e.imported,l=null;o.type==="Identifier"&&(o.name==="type"?l="type":o.name==="typeof"&&(l="typeof"));let c=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let h=this.parseIdentifier(!0);l!==null&&!Ss(this.state.type)?(e.imported=h,e.importKind=l,e.local=this.cloneIdentifier(h)):(e.imported=o,e.importKind=null,e.local=this.parseIdentifier())}else{if(l!==null&&Ss(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=l;else{if(i)throw this.raise(S.ImportBindingIsString,e,{importName:o.value});e.imported=o,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(c=!0,e.local=this.cloneIdentifier(e.imported))}let u=Zm(e);return r&&u&&this.raise(Q.ImportTypeShorthandOnlyInPureImport,e),(r||u)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),c&&!r&&!u&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,i){let r=e.kind;r!=="get"&&r!=="set"&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,i)}parseVarId(e,i){super.parseVarId(e,i),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,i){if(this.match(14)){let r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=r}return super.parseAsyncArrowFromCallExpression(e,i)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,i){var r;let n=null,a;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(n=this.state.clone(),a=this.tryParse(()=>super.parseMaybeAssign(e,i),n),!a.error)return a.node;let{context:c}=this.state,u=c[c.length-1];(u===de.j_oTag||u===de.j_expr)&&c.pop()}if((r=a)!=null&&r.error||this.match(47)){var o,l;n=n||this.state.clone();let c,u=this.tryParse(p=>{var f;c=this.flowParseTypeParameterDeclaration();let m=this.forwardNoArrowParamsConversionAt(c,()=>{let A=super.parseMaybeAssign(e,i);return this.resetStartLocationFromNode(A,c),A});(f=m.extra)!=null&&f.parenthesized&&p();let d=this.maybeUnwrapTypeCastExpression(m);return d.type!=="ArrowFunctionExpression"&&p(),d.typeParameters=c,this.resetStartLocationFromNode(d,c),m},n),h=null;if(u.node&&this.maybeUnwrapTypeCastExpression(u.node).type==="ArrowFunctionExpression"){if(!u.error&&!u.aborted)return u.node.async&&this.raise(Q.UnexpectedTypeParameterBeforeAsyncArrowFunction,c),u.node;h=u.node}if((o=a)!=null&&o.node)return this.state=a.failState,a.node;if(h)return this.state=u.failState,h;throw(l=a)!=null&&l.thrown?a.error:u.thrown?u.error:this.raise(Q.UnexpectedTokenAfterTypeParameter,c)}return super.parseMaybeAssign(e,i)}parseArrow(e){if(this.match(14)){let i=this.tryParse(()=>{let r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let n=this.startNode();return[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=r,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),n});if(i.thrown)return null;i.error&&(this.state=i.failState),e.returnType=i.node.typeAnnotation?this.finishNode(i.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,i){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?e.params=i:super.setArrowFunctionParameters(e,i)}checkParams(e,i,r,n=!0){if(!(r&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start)))){for(let a=0;a<e.params.length;a++)this.isThisParam(e.params[a])&&a>0&&this.raise(Q.ThisParamMustBeFirst,e.params[a]);super.checkParams(e,i,r,n)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(e,i,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.includes(i.index)){this.next();let n=this.startNodeAt(i);n.callee=e,n.arguments=super.parseCallExpressionArguments(),e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){let n=this.state.clone(),a=this.tryParse(l=>this.parseAsyncArrowWithTypeParameters(i)||l(),n);if(!a.error&&!a.aborted)return a.node;let o=this.tryParse(()=>super.parseSubscripts(e,i,r),n);if(o.node&&!o.error)return o.node;if(a.node)return this.state=a.failState,a.node;if(o.node)return this.state=o.failState,o.node;throw a.error||o.error}return super.parseSubscripts(e,i,r)}parseSubscript(e,i,r,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,r)return n.stop=!0,e;this.next();let a=this.startNodeAt(i);return a.callee=e,a.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),a.arguments=this.parseCallExpressionArguments(),a.optional=!0,this.finishCallExpression(a,!0)}else if(!r&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let a=this.startNodeAt(i);a.callee=e;let o=this.tryParse(()=>(a.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),a.arguments=super.parseCallExpressionArguments(),n.optionalChainMember&&(a.optional=!1),this.finishCallExpression(a,n.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(e,i,r,n)}parseNewCallee(e){super.parseNewCallee(e);let i=null;this.shouldParseTypes()&&this.match(47)&&(i=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=i}parseAsyncArrowWithTypeParameters(e){let i=this.startNodeAt(e);if(this.parseFunctionParams(i,!1),!!this.parseArrow(i))return super.parseArrowExpression(i,void 0,!0)}readToken_mult_modulo(e){let i=this.input.charCodeAt(this.state.pos+1);if(e===42&&i===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let i=this.input.charCodeAt(this.state.pos+1);if(e===124&&i===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,i){let r=super.parseTopLevel(e,i);return this.state.hasFlowComment&&this.raise(Q.UnterminatedFlowComment,this.state.curPosition()),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Q.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:e}=this.state,i=2;for(;[32,9].includes(this.input.charCodeAt(e+i));)i++;let r=this.input.charCodeAt(i+e),n=this.input.charCodeAt(i+e+1);return r===58&&n===58?i+2:this.input.slice(i+e,i+e+12)==="flow-include"?i+12:r===58&&n!==58?i:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(S.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:i,memberName:r}){this.raise(Q.EnumBooleanMemberNotInitialized,e,{memberName:r,enumName:i})}flowEnumErrorInvalidMemberInitializer(e,i){return this.raise(i.explicitType?i.explicitType==="symbol"?Q.EnumInvalidMemberInitializerSymbolType:Q.EnumInvalidMemberInitializerPrimaryType:Q.EnumInvalidMemberInitializerUnknownType,e,i)}flowEnumErrorNumberMemberNotInitialized(e,i){this.raise(Q.EnumNumberMemberNotInitialized,e,i)}flowEnumErrorStringMemberInconsistentlyInitialized(e,i){this.raise(Q.EnumStringMemberInconsistentlyInitialized,e,i)}flowEnumMemberInit(){let e=this.state.startLoc,i=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let r=this.parseNumericLiteral(this.state.value);return i()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 134:{let r=this.parseStringLiteral(this.state.value);return i()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{let r=this.parseBooleanLiteral(this.match(85));return i()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc,i=this.parseIdentifier(!0),r=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:i,init:r}}flowEnumCheckExplicitTypeMismatch(e,i,r){let{explicitType:n}=i;n!==null&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,i)}flowEnumMembers({enumName:e,explicitType:i}){let r=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}let o=this.startNode(),{id:l,init:c}=this.flowEnumMemberRaw(),u=l.name;if(u==="")continue;/^[a-z]/.test(u)&&this.raise(Q.EnumInvalidMemberName,l,{memberName:u,suggestion:u[0].toUpperCase()+u.slice(1),enumName:e}),r.has(u)&&this.raise(Q.EnumDuplicateMemberName,l,{memberName:u,enumName:e}),r.add(u);let h={enumName:e,explicitType:i,memberName:u};switch(o.id=l,c.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(c.loc,h,"boolean"),o.init=c.value,n.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(c.loc,h,"number"),o.init=c.value,n.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(c.loc,h,"string"),o.init=c.value,n.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(c.loc,h);case"none":switch(i){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(c.loc,h);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(c.loc,h);break;default:n.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:n,hasUnknownMembers:a}}flowEnumStringMembers(e,i,{enumName:r}){if(e.length===0)return i;if(i.length===0)return e;if(i.length>e.length){for(let n of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(n,{enumName:r});return i}else{for(let n of i)this.flowEnumErrorStringMemberInconsistentlyInitialized(n,{enumName:r});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!Ae(this.state.type))throw this.raise(Q.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});let{value:i}=this.state;return this.next(),i!=="boolean"&&i!=="number"&&i!=="string"&&i!=="symbol"&&this.raise(Q.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:i}),i}flowEnumBody(e,i){let r=i.name,n=i.loc.start,a=this.flowEnumParseExplicitType({enumName:r});this.expect(5);let{members:o,hasUnknownMembers:l}=this.flowEnumMembers({enumName:r,explicitType:a});switch(e.hasUnknownMembers=l,a){case"boolean":return e.explicitType=!0,e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=o.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let c=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let u=o.booleanMembers.length,h=o.numberMembers.length,p=o.stringMembers.length,f=o.defaultedMembers.length;if(!u&&!h&&!p&&!f)return c();if(!u&&!h)return e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!h&&!p&&u>=f){for(let m of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(m.loc.start,{enumName:r,memberName:m.id.name});return e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!u&&!p&&h>=f){for(let m of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(m.loc.start,{enumName:r,memberName:m.id.name});return e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.raise(Q.EnumInconsistentMemberValues,n,{enumName:r}),c()}}}flowParseEnumDeclaration(e){let i=this.parseIdentifier();return e.id=i,e.body=this.flowEnumBody(this.startNode(),i),this.finishNode(e,"EnumDeclaration")}jsxParseOpeningElementAfterName(e){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(e.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(e)}isLookaheadToken_lt(){let e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){let i=this.input.charCodeAt(e+1);return i!==60&&i!==61}return!1}reScan_lt_gt(){let{type:e}=this.state;e===47?(this.state.pos-=1,this.readToken_lt()):e===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}},c_={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},u_=/\r\n|[\r\n\u2028\u2029]/,yo=new RegExp(u_.source,"g");function Hr(s){switch(s){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function eA(s,t,e){for(let i=t;i<e;i++)if(Hr(s.charCodeAt(i)))return!0;return!1}var Tu=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Cu=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function h_(s){switch(s){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}}var nr=Bs`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:s})=>`Expected corresponding JSX closing tag for <${s}>.`,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:s,HTMLEntity:t})=>`Unexpected token \`${s}\`. Did you mean \`${t}\` or \`{'${s}'}\`?`,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 Oi(s){return s?s.type==="JSXOpeningFragment"||s.type==="JSXClosingFragment":!1}function jr(s){if(s.type==="JSXIdentifier")return s.name;if(s.type==="JSXNamespacedName")return s.namespace.name+":"+s.name.name;if(s.type==="JSXMemberExpression")return jr(s.object)+"."+jr(s.property);throw new Error("Node had unexpected type: "+s.type)}var p_=s=>class extends s{jsxReadToken(){let e="",i=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(nr.UnterminatedJsxContent,this.state.startLoc);let r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){r===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(r);return}e+=this.input.slice(i,this.state.pos),this.finishToken(142,e);return;case 38:e+=this.input.slice(i,this.state.pos),e+=this.jsxReadEntity(),i=this.state.pos;break;default:Hr(r)?(e+=this.input.slice(i,this.state.pos),e+=this.jsxReadNewLine(!0),i=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let i=this.input.charCodeAt(this.state.pos),r;return++this.state.pos,i===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,r=e?`
|
|
7
|
+
- Did you mean \`import { "${s}" 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.",InvalidCoverDiscardElement:"'void' must be followed by an expression when not used in a binding position.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:s})=>`Expected number in radix ${s}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:s})=>`Escape sequence in keyword ${s}.`,InvalidIdentifier:({identifierName:s})=>`Invalid identifier ${s}.`,InvalidLhs:({ancestor:s})=>`Invalid left-hand side in ${So(s)}.`,InvalidLhsBinding:({ancestor:s})=>`Binding invalid left-hand side in ${So(s)}.`,InvalidLhsOptionalChaining:({ancestor:s})=>`Invalid optional chaining in the left-hand side of ${So(s)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:s})=>`Unexpected character '${s}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:s})=>`Private name #${s} 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:s})=>`Label '${s}' 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:s})=>`This experimental syntax requires enabling the parser plugin: ${s.map(t=>JSON.stringify(t)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:s})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${s.map(t=>JSON.stringify(t)).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:s})=>`Duplicate key "${s}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:s})=>`An export name cannot include a lone surrogate, found '\\u${s.toString(16)}'.`,ModuleExportUndefined:({localName:s})=>`Export '${s}' 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:s})=>`Private names are only allowed in property accesses (\`obj.#${s}\`) or in \`in\` expressions (\`#${s} in obj\`).`,PrivateNameRedeclaration:({identifierName:s})=>`Duplicate private name #${s}.`,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:s})=>`Unexpected keyword '${s}'.`,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:s})=>`Unexpected reserved word '${s}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:s,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${s?`, expected "${s}"`:""}`,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` or in the bare case statement.",UnexpectedVoidPattern:"Unexpected void binding.",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:s,onlyValidPropertyName:t})=>`The only valid meta property for ${s} is ${s}.${t}.`,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:s})=>`Identifier '${s}' has already been declared.`,VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:"A void binding may not have an initializer.",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."},P1={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:s})=>`Assigning to '${s}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:s})=>`Binding '${s}' 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."},N1={ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:({unexpected:s})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(s)}\`.`},x1=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),v1=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:s})=>`Invalid topic token ${s}. In order to use ${s} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${s}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:s})=>`Hack-style pipe body cannot be an unparenthesized ${So({type:s})}; 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.'}),O1=["message"];function Jm(s,t,e){Object.defineProperty(s,t,{enumerable:!1,configurable:!0,value:e})}function w1({toMessage:s,code:t,reasonCode:e,syntaxPlugin:i}){let r=e==="MissingPlugin"||e==="MissingOneOfPlugins",n={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};return n[e]&&(e=n[e]),function a(o,l){let c=new SyntaxError;return c.code=t,c.reasonCode=e,c.loc=o,c.pos=o.index,c.syntaxPlugin=i,r&&(c.missingPlugin=l.missingPlugin),Jm(c,"clone",function(p={}){var h;let{line:f,column:m,index:d}=(h=p.loc)!=null?h:o;return a(new Vs(f,m,d),Object.assign({},l,p.details))}),Jm(c,"details",l),Object.defineProperty(c,"message",{configurable:!0,get(){let u=`${s(l)} (${o.line}:${o.column})`;return this.message=u,u},set(u){Object.defineProperty(this,"message",{value:u,writable:!0})}}),c}}function Bs(s,t){if(Array.isArray(s))return i=>Bs(i,s[0]);let e={};for(let i of Object.keys(s)){let r=s[i],n=typeof r=="string"?{message:()=>r}:typeof r=="function"?{message:r}:r,{message:a}=n,o=C1(n,O1),l=typeof a=="string"?()=>a:a;e[i]=w1(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:i,toMessage:l},t?{syntaxPlugin:t}:{},o))}return e}var E=Object.assign({},Bs(I1),Bs(_1),Bs(P1),Bs(N1),Bs`pipelineOperator`(v1));function L1(){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:void 0,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function M1(s){let t=L1();if(s==null)return t;if(s.annexB!=null&&s.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let e of Object.keys(t))s[e]!=null&&(t[e]=s[e]);if(t.startLine===1)s.startIndex==null&&t.startColumn>0?t.startIndex=t.startColumn:s.startColumn==null&&t.startIndex>0&&(t.startColumn=t.startIndex);else if((s.startColumn==null||s.startIndex==null)&&s.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if(t.sourceType==="commonjs"){if(s.allowAwaitOutsideFunction!=null)throw new Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(s.allowReturnOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(s.allowNewTargetOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return t}var{defineProperty:D1}=Object,Ym=(s,t)=>{s&&D1(s,t,{enumerable:!1,value:s[t]})};function Hn(s){return Ym(s.loc.start,"index"),Ym(s.loc.end,"index"),s}var R1=s=>class extends s{parse(){let e=Hn(super.parse());return this.optionFlags&256&&(e.tokens=e.tokens.map(Hn)),e}parseRegExpLiteral({pattern:e,flags:i}){let r=null;try{r=new RegExp(e,i)}catch{}let n=this.estreeParseLiteral(r);return n.regex={pattern:e,flags:i},n}parseBigIntLiteral(e){let i;try{i=BigInt(e)}catch{i=null}let r=this.estreeParseLiteral(i);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){let r=this.estreeParseLiteral(null);return r.decimal=String(r.value||e),r}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}estreeParseChainExpression(e,i){let r=this.startNodeAtNode(e);return r.expression=e,this.finishNodeAt(r,"ChainExpression",i)}directiveToStmt(e){let i=e.value;delete e.value,this.castNodeTo(i,"Literal"),i.raw=i.extra.raw,i.value=i.extra.expressionValue;let r=this.castNodeTo(e,"ExpressionStatement");return r.expression=i,r.directive=i.extra.rawValue,delete i.extra,r}fillOptionalPropertiesForTSESLint(e){}cloneEstreeStringLiteral(e){let{start:i,end:r,loc:n,range:a,raw:o,value:l}=e,c=Object.create(e.constructor.prototype);return c.type="Literal",c.start=i,c.end=r,c.loc=n,c.range=a,c.raw=o,c.value=l,c}initFunction(e,i){super.initFunction(e,i),e.expression=!1}checkDeclaration(e){e!=null&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var i;return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&!((i=e.expression.extra)!=null&&i.parenthesized)}parseBlockBody(e,i,r,n,a){super.parseBlockBody(e,i,r,n,a);let o=e.directives.map(l=>this.directiveToStmt(l));e.body=o.concat(e.body),delete e.directives}parsePrivateName(){let e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){let i=super.getPrivateNameSV(e);return delete e.id,e.name=i,this.castNodeTo(e,"PrivateIdentifier")}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?e.type==="PrivateIdentifier":super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,i){let r=super.parseLiteral(e,i);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,i,r=!1){super.parseFunctionBody(e,i,r),e.expression=e.body.type!=="BlockStatement"}parseMethod(e,i,r,n,a,o,l=!1){let c=this.startNode();c.kind=e.kind,c=super.parseMethod(c,i,r,n,a,o,l),delete c.kind;let{typeParameters:u}=e;u&&(delete e.typeParameters,c.typeParameters=u,this.resetStartLocationFromNode(c,u));let p=this.castNodeTo(c,"FunctionExpression");return e.value=p,o==="ClassPrivateMethod"&&(e.computed=!1),o==="ObjectMethod"?(e.kind==="method"&&(e.kind="init"),e.shorthand=!1,this.finishNode(e,"Property")):this.finishNode(e,"MethodDefinition")}nameIsConstructor(e){return e.type==="Literal"?e.value==="constructor":super.nameIsConstructor(e)}parseClassProperty(...e){let i=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")&&this.castNodeTo(i,"PropertyDefinition"),i}parseClassPrivateProperty(...e){let i=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")&&(this.castNodeTo(i,"PropertyDefinition"),i.computed=!1),i}parseClassAccessorProperty(e){let i=super.parseClassAccessorProperty(e);return this.getPluginOption("estree","classFeatures")&&(i.abstract&&this.hasPlugin("typescript")?(delete i.abstract,this.castNodeTo(i,"TSAbstractAccessorProperty")):this.castNodeTo(i,"AccessorProperty")),i}parseObjectProperty(e,i,r,n){let a=super.parseObjectProperty(e,i,r,n);return a&&(a.kind="init",this.castNodeTo(a,"Property")),a}finishObjectProperty(e){return e.kind="init",this.finishNode(e,"Property")}isValidLVal(e,i,r,n){return e==="Property"?"value":super.isValidLVal(e,i,r,n)}isAssignable(e,i){return e!=null&&this.isObjectProperty(e)?this.isAssignable(e.value,i):super.isAssignable(e,i)}toAssignable(e,i=!1){if(e!=null&&this.isObjectProperty(e)){let{key:r,value:n}=e;this.isPrivateName(r)&&this.classScope.usePrivateName(this.getPrivateNameSV(r),r.loc.start),this.toAssignable(n,i)}else super.toAssignable(e,i)}toAssignableObjectExpressionProp(e,i,r){e.type==="Property"&&(e.kind==="get"||e.kind==="set")?this.raise(E.PatternHasAccessor,e.key):e.type==="Property"&&e.method?this.raise(E.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,i,r)}finishCallExpression(e,i){let r=super.finishCallExpression(e,i);if(r.callee.type==="Import"){var n,a;this.castNodeTo(r,"ImportExpression"),r.source=r.arguments[0],r.options=(n=r.arguments[1])!=null?n:null,r.attributes=(a=r.arguments[1])!=null?a:null,delete r.arguments,delete r.callee}else r.type==="OptionalCallExpression"?this.castNodeTo(r,"CallExpression"):r.optional=!1;return r}toReferencedArguments(e){e.type!=="ImportExpression"&&super.toReferencedArguments(e)}parseExport(e,i){let r=this.state.lastTokStartLoc,n=super.parseExport(e,i);switch(n.type){case"ExportAllDeclaration":n.exported=null;break;case"ExportNamedDeclaration":n.specifiers.length===1&&n.specifiers[0].type==="ExportNamespaceSpecifier"&&(this.castNodeTo(n,"ExportAllDeclaration"),n.exported=n.specifiers[0].exported,delete n.specifiers);case"ExportDefaultDeclaration":{var a;let{declaration:o}=n;o?.type==="ClassDeclaration"&&((a=o.decorators)==null?void 0:a.length)>0&&o.start===n.start&&this.resetStartLocation(n,r)}break}return n}stopParseSubscript(e,i){let r=super.stopParseSubscript(e,i);return i.optionalChainMember?this.estreeParseChainExpression(r,e.loc.end):r}parseMember(e,i,r,n,a){let o=super.parseMember(e,i,r,n,a);return o.type==="OptionalMemberExpression"?this.castNodeTo(o,"MemberExpression"):o.optional=!1,o}isOptionalMemberExpression(e){return e.type==="ChainExpression"?e.expression.type==="MemberExpression":super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return e.type==="ChainExpression"&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return e.type==="Property"&&e.kind==="init"&&!e.method}isObjectMethod(e){return e.type==="Property"&&(e.method||e.kind==="get"||e.kind==="set")}castNodeTo(e,i){let r=super.castNodeTo(e,i);return this.fillOptionalPropertiesForTSESLint(r),r}cloneIdentifier(e){let i=super.cloneIdentifier(e);return this.fillOptionalPropertiesForTSESLint(i),i}cloneStringLiteral(e){return e.type==="Literal"?this.cloneEstreeStringLiteral(e):super.cloneStringLiteral(e)}finishNodeAt(e,i,r){return Hn(super.finishNodeAt(e,i,r))}finishNode(e,i){let r=super.finishNode(e,i);return this.fillOptionalPropertiesForTSESLint(r),r}resetStartLocation(e,i){super.resetStartLocation(e,i),Hn(e)}resetEndLocation(e,i=this.state.lastTokEndLoc){super.resetEndLocation(e,i),Hn(e)}},ar=class{constructor(t,e){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!e}},de={brace:new ar("{"),j_oTag:new ar("<tag"),j_cTag:new ar("</tag"),j_expr:new ar("<tag>...</tag>",!0)};de.template=new ar("`",!0);var se=!0,V=!0,bu=!0,Kn=!0,vi=!0,k1=!0,Co=class{constructor(t,e={}){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=t,this.keyword=e.keyword,this.beforeExpr=!!e.beforeExpr,this.startsExpr=!!e.startsExpr,this.rightAssociative=!!e.rightAssociative,this.isLoop=!!e.isLoop,this.isAssign=!!e.isAssign,this.prefix=!!e.prefix,this.postfix=!!e.postfix,this.binop=e.binop!=null?e.binop:null,this.updateContext=null}},qu=new Map;function ue(s,t={}){t.keyword=s;let e=W(s,t);return qu.set(s,e),e}function Ot(s,t){return W(s,{beforeExpr:se,binop:t})}var qn=-1,ii=[],Qu=[],Ju=[],Yu=[],zu=[],Zu=[];function W(s,t={}){var e,i,r,n;return++qn,Qu.push(s),Ju.push((e=t.binop)!=null?e:-1),Yu.push((i=t.beforeExpr)!=null?i:!1),zu.push((r=t.startsExpr)!=null?r:!1),Zu.push((n=t.prefix)!=null?n:!1),ii.push(new Co(s,t)),qn}function ie(s,t={}){var e,i,r,n;return++qn,qu.set(s,qn),Qu.push(s),Ju.push((e=t.binop)!=null?e:-1),Yu.push((i=t.beforeExpr)!=null?i:!1),zu.push((r=t.startsExpr)!=null?r:!1),Zu.push((n=t.prefix)!=null?n:!1),ii.push(new Co("name",t)),qn}var B1={bracketL:W("[",{beforeExpr:se,startsExpr:V}),bracketHashL:W("#[",{beforeExpr:se,startsExpr:V}),bracketBarL:W("[|",{beforeExpr:se,startsExpr:V}),bracketR:W("]"),bracketBarR:W("|]"),braceL:W("{",{beforeExpr:se,startsExpr:V}),braceBarL:W("{|",{beforeExpr:se,startsExpr:V}),braceHashL:W("#{",{beforeExpr:se,startsExpr:V}),braceR:W("}"),braceBarR:W("|}"),parenL:W("(",{beforeExpr:se,startsExpr:V}),parenR:W(")"),comma:W(",",{beforeExpr:se}),semi:W(";",{beforeExpr:se}),colon:W(":",{beforeExpr:se}),doubleColon:W("::",{beforeExpr:se}),dot:W("."),question:W("?",{beforeExpr:se}),questionDot:W("?."),arrow:W("=>",{beforeExpr:se}),template:W("template"),ellipsis:W("...",{beforeExpr:se}),backQuote:W("`",{startsExpr:V}),dollarBraceL:W("${",{beforeExpr:se,startsExpr:V}),templateTail:W("...`",{startsExpr:V}),templateNonTail:W("...${",{beforeExpr:se,startsExpr:V}),at:W("@"),hash:W("#",{startsExpr:V}),interpreterDirective:W("#!..."),eq:W("=",{beforeExpr:se,isAssign:Kn}),assign:W("_=",{beforeExpr:se,isAssign:Kn}),slashAssign:W("_=",{beforeExpr:se,isAssign:Kn}),xorAssign:W("_=",{beforeExpr:se,isAssign:Kn}),moduloAssign:W("_=",{beforeExpr:se,isAssign:Kn}),incDec:W("++/--",{prefix:vi,postfix:k1,startsExpr:V}),bang:W("!",{beforeExpr:se,prefix:vi,startsExpr:V}),tilde:W("~",{beforeExpr:se,prefix:vi,startsExpr:V}),doubleCaret:W("^^",{startsExpr:V}),doubleAt:W("@@",{startsExpr:V}),pipeline:Ot("|>",0),nullishCoalescing:Ot("??",1),logicalOR:Ot("||",1),logicalAND:Ot("&&",2),bitwiseOR:Ot("|",3),bitwiseXOR:Ot("^",4),bitwiseAND:Ot("&",5),equality:Ot("==/!=/===/!==",6),lt:Ot("</>/<=/>=",7),gt:Ot("</>/<=/>=",7),relational:Ot("</>/<=/>=",7),bitShift:Ot("<</>>/>>>",8),bitShiftL:Ot("<</>>/>>>",8),bitShiftR:Ot("<</>>/>>>",8),plusMin:W("+/-",{beforeExpr:se,binop:9,prefix:vi,startsExpr:V}),modulo:W("%",{binop:10,startsExpr:V}),star:W("*",{binop:10}),slash:Ot("/",10),exponent:W("**",{beforeExpr:se,binop:11,rightAssociative:!0}),_in:ue("in",{beforeExpr:se,binop:7}),_instanceof:ue("instanceof",{beforeExpr:se,binop:7}),_break:ue("break"),_case:ue("case",{beforeExpr:se}),_catch:ue("catch"),_continue:ue("continue"),_debugger:ue("debugger"),_default:ue("default",{beforeExpr:se}),_else:ue("else",{beforeExpr:se}),_finally:ue("finally"),_function:ue("function",{startsExpr:V}),_if:ue("if"),_return:ue("return",{beforeExpr:se}),_switch:ue("switch"),_throw:ue("throw",{beforeExpr:se,prefix:vi,startsExpr:V}),_try:ue("try"),_var:ue("var"),_const:ue("const"),_with:ue("with"),_new:ue("new",{beforeExpr:se,startsExpr:V}),_this:ue("this",{startsExpr:V}),_super:ue("super",{startsExpr:V}),_class:ue("class",{startsExpr:V}),_extends:ue("extends",{beforeExpr:se}),_export:ue("export"),_import:ue("import",{startsExpr:V}),_null:ue("null",{startsExpr:V}),_true:ue("true",{startsExpr:V}),_false:ue("false",{startsExpr:V}),_typeof:ue("typeof",{beforeExpr:se,prefix:vi,startsExpr:V}),_void:ue("void",{beforeExpr:se,prefix:vi,startsExpr:V}),_delete:ue("delete",{beforeExpr:se,prefix:vi,startsExpr:V}),_do:ue("do",{isLoop:bu,beforeExpr:se}),_for:ue("for",{isLoop:bu}),_while:ue("while",{isLoop:bu}),_as:ie("as",{startsExpr:V}),_assert:ie("assert",{startsExpr:V}),_async:ie("async",{startsExpr:V}),_await:ie("await",{startsExpr:V}),_defer:ie("defer",{startsExpr:V}),_from:ie("from",{startsExpr:V}),_get:ie("get",{startsExpr:V}),_let:ie("let",{startsExpr:V}),_meta:ie("meta",{startsExpr:V}),_of:ie("of",{startsExpr:V}),_sent:ie("sent",{startsExpr:V}),_set:ie("set",{startsExpr:V}),_source:ie("source",{startsExpr:V}),_static:ie("static",{startsExpr:V}),_using:ie("using",{startsExpr:V}),_yield:ie("yield",{startsExpr:V}),_asserts:ie("asserts",{startsExpr:V}),_checks:ie("checks",{startsExpr:V}),_exports:ie("exports",{startsExpr:V}),_global:ie("global",{startsExpr:V}),_implements:ie("implements",{startsExpr:V}),_intrinsic:ie("intrinsic",{startsExpr:V}),_infer:ie("infer",{startsExpr:V}),_is:ie("is",{startsExpr:V}),_mixins:ie("mixins",{startsExpr:V}),_proto:ie("proto",{startsExpr:V}),_require:ie("require",{startsExpr:V}),_satisfies:ie("satisfies",{startsExpr:V}),_keyof:ie("keyof",{startsExpr:V}),_readonly:ie("readonly",{startsExpr:V}),_unique:ie("unique",{startsExpr:V}),_abstract:ie("abstract",{startsExpr:V}),_declare:ie("declare",{startsExpr:V}),_enum:ie("enum",{startsExpr:V}),_module:ie("module",{startsExpr:V}),_namespace:ie("namespace",{startsExpr:V}),_interface:ie("interface",{startsExpr:V}),_type:ie("type",{startsExpr:V}),_opaque:ie("opaque",{startsExpr:V}),name:W("name",{startsExpr:V}),placeholder:W("%%",{startsExpr:V}),string:W("string",{startsExpr:V}),num:W("num",{startsExpr:V}),bigint:W("bigint",{startsExpr:V}),decimal:W("decimal",{startsExpr:V}),regexp:W("regexp",{startsExpr:V}),privateName:W("#name",{startsExpr:V}),eof:W("eof"),jsxName:W("jsxName"),jsxText:W("jsxText",{beforeExpr:se}),jsxTagStart:W("jsxTagStart",{startsExpr:V}),jsxTagEnd:W("jsxTagEnd")};function Ae(s){return s>=93&&s<=133}function F1(s){return s<=92}function Ss(s){return s>=58&&s<=133}function cA(s){return s>=58&&s<=137}function V1(s){return Yu[s]}function Wn(s){return zu[s]}function U1(s){return s>=29&&s<=33}function zm(s){return s>=129&&s<=131}function $1(s){return s>=90&&s<=92}function ep(s){return s>=58&&s<=92}function j1(s){return s>=39&&s<=59}function H1(s){return s===34}function K1(s){return Zu[s]}function G1(s){return s>=121&&s<=123}function W1(s){return s>=124&&s<=130}function wi(s){return Qu[s]}function bo(s){return Ju[s]}function X1(s){return s===57}function Io(s){return s>=24&&s<=25}function si(s){return ii[s]}ii[8].updateContext=s=>{s.pop()};ii[5].updateContext=ii[7].updateContext=ii[23].updateContext=s=>{s.push(de.brace)};ii[22].updateContext=s=>{s[s.length-1]===de.template?s.pop():s.push(de.template)};ii[143].updateContext=s=>{s.push(de.j_expr,de.j_oTag)};var tp="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088F\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5C\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDC-\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7DC\uA7F1-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",uA="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ADD\u1AE0-\u1AEB\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",q1=new RegExp("["+tp+"]"),Q1=new RegExp("["+tp+uA+"]");tp=uA=null;var pA=[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,7,25,39,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,5,57,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,24,43,261,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,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,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,208,30,2,2,2,1,2,6,3,4,10,1,225,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,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],J1=[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,78,5,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,199,7,137,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,55,9,266,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,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function Nu(s,t){let e=65536;for(let i=0,r=t.length;i<r;i+=2){if(e+=t[i],e>s)return!1;if(e+=t[i+1],e>=s)return!0}return!1}function Fs(s){return s<65?s===36:s<=90?!0:s<97?s===95:s<=122?!0:s<=65535?s>=170&&q1.test(String.fromCharCode(s)):Nu(s,pA)}function or(s){return s<48?s===36:s<58?!0:s<65?!1:s<=90?!0:s<97?s===95:s<=122?!0:s<=65535?s>=170&&Q1.test(String.fromCharCode(s)):Nu(s,pA)||Nu(s,J1)}var sp={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"]},Y1=new Set(sp.keyword),z1=new Set(sp.strict),Z1=new Set(sp.strictBind);function hA(s,t){return t&&s==="await"||s==="enum"}function fA(s,t){return hA(s,t)||z1.has(s)}function dA(s){return Z1.has(s)}function mA(s,t){return fA(s,t)||dA(s)}function e_(s){return Y1.has(s)}function t_(s,t,e){return s===64&&t===64&&Fs(e)}var s_=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 i_(s){return s_.has(s)}var Qn=class{constructor(t){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=t}},Jn=class{constructor(t,e){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=t,this.inModule=e}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 allowNewTarget(){return(this.currentThisScopeFlags()&512)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let t=this.currentThisScopeFlags();return(t&64)>0&&(t&2)===0}get inStaticBlock(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&128)return!0;if(e&1731)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get inBareCaseStatement(){return(this.currentScope().flags&256)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(t){return new Qn(t)}enter(t){this.scopeStack.push(this.createScope(t))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(t){return!!(t.flags&130||!this.parser.inModule&&t.flags&1)}declareName(t,e,i){let r=this.currentScope();if(e&8||e&16){this.checkRedeclarationInScope(r,t,e,i);let n=r.names.get(t)||0;e&16?n=n|4:(r.firstLexicalName||(r.firstLexicalName=t),n=n|2),r.names.set(t,n),e&8&&this.maybeExportDefined(r,t)}else if(e&4)for(let n=this.scopeStack.length-1;n>=0&&(r=this.scopeStack[n],this.checkRedeclarationInScope(r,t,e,i),r.names.set(t,(r.names.get(t)||0)|1),this.maybeExportDefined(r,t),!(r.flags&1667));--n);this.parser.inModule&&r.flags&1&&this.undefinedExports.delete(t)}maybeExportDefined(t,e){this.parser.inModule&&t.flags&1&&this.undefinedExports.delete(e)}checkRedeclarationInScope(t,e,i,r){this.isRedeclaredInScope(t,e,i)&&this.parser.raise(E.VarRedeclaration,r,{identifierName:e})}isRedeclaredInScope(t,e,i){if(!(i&1))return!1;if(i&8)return t.names.has(e);let r=t.names.get(e)||0;return i&16?(r&2)>0||!this.treatFunctionsAsVarInScope(t)&&(r&1)>0:(r&2)>0&&!(t.flags&8&&t.firstLexicalName===e)||!this.treatFunctionsAsVarInScope(t)&&(r&4)>0}checkLocalExport(t){let{name:e}=t;this.scopeStack[0].names.has(e)||this.undefinedExports.set(e,t.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&1667)return e}}currentThisScopeFlags(){for(let t=this.scopeStack.length-1;;t--){let{flags:e}=this.scopeStack[t];if(e&1731&&!(e&4))return e}}},xu=class extends Qn{constructor(...t){super(...t),this.declareFunctions=new Set}},vu=class extends Jn{createScope(t){return new xu(t)}declareName(t,e,i){let r=this.currentScope();if(e&2048){this.checkRedeclarationInScope(r,t,e,i),this.maybeExportDefined(r,t),r.declareFunctions.add(t);return}super.declareName(t,e,i)}isRedeclaredInScope(t,e,i){if(super.isRedeclaredInScope(t,e,i))return!0;if(i&2048&&!t.declareFunctions.has(e)){let r=t.names.get(e);return(r&4)>0||(r&2)>0}return!1}checkLocalExport(t){this.scopeStack[0].declareFunctions.has(t.name)||super.checkLocalExport(t)}},r_=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Q=Bs`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:s})=>`Cannot overwrite reserved type ${s}.`,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:s,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${s} = true,\` or \`${s} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:s,enumName:t})=>`Enum member names need to be unique, but the name \`${s}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:s})=>`Enum \`${s}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:s,enumName:t})=>`Enum type \`${s}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:s})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${s}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:s,memberName:t,explicitType:e})=>`Enum \`${s}\` has type \`${e}\`, so the initializer of \`${t}\` needs to be a ${e} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:s,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${s}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:s,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${s}\`.`,EnumInvalidMemberName:({enumName:s,memberName:t,suggestion:e})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${e}\`, in enum \`${s}\`.`,EnumNumberMemberNotInitialized:({enumName:s,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${s}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:s})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${s}\`.`,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:s})=>`Unexpected reserved type ${s}.`,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:s,suggestion:t})=>`\`declare export ${s}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function n_(s){return s.type==="DeclareExportAllDeclaration"||s.type==="DeclareExportDeclaration"&&(!s.declaration||s.declaration.type!=="TypeAlias"&&s.declaration.type!=="InterfaceDeclaration")}function Zm(s){return s.importKind==="type"||s.importKind==="typeof"}var a_={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function o_(s,t){let e=[],i=[];for(let r=0;r<s.length;r++)(t(s[r],r,s)?e:i).push(s[r]);return[e,i]}var l_=/\*?\s*@((?:no)?flow)\b/,c_=s=>class extends s{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return vu}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(e,i){e!==134&&e!==13&&e!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(e,i)}addComment(e){if(this.flowPragma===void 0){let i=l_.exec(e.value);if(i)if(i[1]==="flow")this.flowPragma="flow";else if(i[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(e)}flowParseTypeInitialiser(e){let i=this.state.inType;this.state.inType=!0,this.expect(e||14);let r=this.flowParseType();return this.state.inType=i,r}flowParsePredicate(){let e=this.startNode(),i=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>i.index+1&&this.raise(Q.UnexpectedSpaceBetweenModuloChecks,i),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let e=this.state.inType;this.state.inType=!0,this.expect(14);let i=null,r=null;return this.match(54)?(this.state.inType=e,r=this.flowParsePredicate()):(i=this.flowParseType(),this.state.inType=e,this.match(54)&&(r=this.flowParsePredicate())),[i,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();let i=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);let a=this.flowParseFunctionTypeParams();return r.params=a.params,r.rest=a.rest,r.this=a._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),i.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(i),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,i){if(this.match(80))return this.flowParseDeclareClass(e);if(this.match(68))return this.flowParseDeclareFunction(e);if(this.match(74))return this.flowParseDeclareVariable(e);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(e):(i&&this.raise(Q.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(e));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(129))return this.flowParseDeclareInterface(e);if(this.match(82))return this.flowParseDeclareExportDeclaration(e,i);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.loc.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(134)?e.id=super.parseExprAtom():e.id=this.parseIdentifier();let i=e.body=this.startNode(),r=i.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(Q.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),r.push(super.parseImport(o))):(this.expectContextual(125,Q.UnsupportedStatementInDeclareModule),r.push(this.flowParseDeclare(o,!0)))}this.scope.exit(),this.expect(8),this.finishNode(i,"BlockStatement");let n=null,a=!1;return r.forEach(o=>{n_(o)?(n==="CommonJS"&&this.raise(Q.AmbiguousDeclareModuleKind,o),n="ES"):o.type==="DeclareModuleExports"&&(a&&this.raise(Q.DuplicateDeclareModuleExports,o),n==="ES"&&this.raise(Q.AmbiguousDeclareModuleKind,o),n="CommonJS",a=!0)}),e.kind=n||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,i){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!i){let r=this.state.value;throw this.raise(Q.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:r,suggestion:a_[r]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return e=this.parseExport(e,null),e.type==="ExportNamedDeclaration"?(e.default=!1,delete e.exportKind,this.castNodeTo(e,"DeclareExportDeclaration")):this.castNodeTo(e,"DeclareExportAllDeclaration");throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(111),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){this.next();let i=this.flowParseTypeAlias(e);return this.castNodeTo(i,"DeclareTypeAlias"),i}flowParseDeclareOpaqueType(e){this.next();let i=this.flowParseOpaqueType(e,!0);return this.castNodeTo(i,"DeclareOpaqueType"),i}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,i){if(e.id=this.flowParseRestrictedIdentifier(!i,!0),this.scope.declareName(e.id.name,i?17:8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(!i&&this.eat(12));if(i){if(e.implements=[],e.mixins=[],this.eatContextual(117))do e.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do e.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}e.body=this.flowParseObjectType({allowStatic:i,allowExact:!1,allowSpread:!1,allowProto:i,allowInexact:!1})}flowParseInterfaceExtends(){let e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e,!1),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){e==="_"&&this.raise(Q.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,i,r){r_.has(e)&&this.raise(r?Q.AssignReservedType:Q.UnexpectedReservedType,i,{reservedType:e})}flowParseRestrictedIdentifier(e,i){return this.checkReservedType(this.state.value,this.state.startLoc,i),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,i){return this.expectContextual(130),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,8201,e.id.loc.start),this.match(47)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,i||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){let i=this.state.startLoc,r=this.startNode(),n=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return r.name=a.name,r.variance=n,r.bound=a.typeAnnotation,this.match(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(Q.MissingTypeParamDefault,i),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){let e=this.state.inType,i=this.startNode();i.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let r=!1;do{let n=this.flowParseTypeParameter(r);i.params.push(n),n.default&&(r=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(i,"TypeParameterDeclaration")}flowInTopLevelContext(e){if(this.curContext()!==de.brace){let i=this.state.context;this.state.context=[i[0]];try{return e()}finally{this.state.context=i}}else return e()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let e=this.startNode(),i=this.state.inType;return this.state.inType=!0,e.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)e.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=r}),this.state.inType=i,!this.state.inType&&this.curContext()===de.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return null;let e=this.startNode(),i=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=i,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){let e=this.startNode();if(this.expectContextual(129),e.extends=[],this.eat(81))do e.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,i,r){return e.static=i,this.lookahead().type===14?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,i){return e.static=i,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,i){let r=this.startNode();return e.static=i,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:i,allowSpread:r,allowProto:n,allowInexact:a}){let o=this.state.inType;this.state.inType=!0;let l=this.startNode();l.callProperties=[],l.properties=[],l.indexers=[],l.internalSlots=[];let c,u,p=!1;for(i&&this.match(6)?(this.expect(6),c=9,u=!0):(this.expect(5),c=8,u=!1),l.exact=u;!this.match(c);){let f=!1,m=null,d=null,A=this.startNode();if(n&&this.isContextual(118)){let S=this.lookahead();S.type!==14&&S.type!==17&&(this.next(),m=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){let S=this.lookahead();S.type!==14&&S.type!==17&&(this.next(),f=!0)}let y=this.flowParseVariance();if(this.eat(0))m!=null&&this.unexpected(m),this.eat(0)?(y&&this.unexpected(y.loc.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(A,f))):l.indexers.push(this.flowParseObjectTypeIndexer(A,f,y));else if(this.match(10)||this.match(47))m!=null&&this.unexpected(m),y&&this.unexpected(y.loc.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(A,f));else{let S="init";if(this.isContextual(99)||this.isContextual(104)){let x=this.lookahead();cA(x.type)&&(S=this.state.value,this.next())}let P=this.flowParseObjectTypeProperty(A,f,m,y,S,r,a??!u);P===null?(p=!0,d=this.state.lastTokStartLoc):l.properties.push(P)}this.flowObjectTypeSemicolon(),d&&!this.match(8)&&!this.match(9)&&this.raise(Q.UnexpectedExplicitInexactInObject,d)}this.expect(c),r&&(l.inexact=p);let h=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=o,h}flowParseObjectTypeProperty(e,i,r,n,a,o,l){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?l||this.raise(Q.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Q.InexactInsideNonObject,this.state.lastTokStartLoc),n&&this.raise(Q.InexactVariance,n),null):(o||this.raise(Q.UnexpectedSpreadType,this.state.lastTokStartLoc),r!=null&&this.unexpected(r),n&&this.raise(Q.SpreadVariance,n),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"));{e.key=this.flowParseObjectPropertyKey(),e.static=i,e.proto=r!=null,e.kind=a;let c=!1;return this.match(47)||this.match(10)?(e.method=!0,r!=null&&this.unexpected(r),n&&this.unexpected(n.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),(a==="get"||a==="set")&&this.flowCheckGetterSetterParams(e),!o&&e.key.name==="constructor"&&e.value.this&&this.raise(Q.ThisParamBannedInConstructor,e.value.this)):(a!=="init"&&this.unexpected(),e.method=!1,this.eat(17)&&(c=!0),e.value=this.flowParseTypeInitialiser(),e.variance=n),e.optional=c,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){let i=e.kind==="get"?0:1,r=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.kind==="get"?Q.GetterMayNotHaveThisParam:Q.SetterMayNotHaveThisParam,e.value.this),r!==i&&this.raise(e.kind==="get"?E.BadGetterArity:E.BadSetterArity,e),e.kind==="set"&&e.value.rest&&this.raise(E.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(e,i){e??(e=this.state.startLoc);let r=i||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let n=this.startNodeAt(e);n.qualification=r,n.id=this.flowParseRestrictedIdentifier(!0),r=this.finishNode(n,"QualifiedTypeIdentifier")}return r}flowParseGenericType(e,i){let r=this.startNodeAt(e);return r.typeParameters=null,r.id=this.flowParseQualifiedTypeIdentifier(e,i),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(r,"GenericTypeAnnotation")}flowParseTypeofType(){let e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){let e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let i=null,r=!1,n=null,a=this.startNode(),o=this.lookahead(),l=this.state.type===78;return o.type===14||o.type===17?(l&&!e&&this.raise(Q.ThisParamMustBeFirst,a),i=this.parseIdentifier(l),this.eat(17)&&(r=!0,l&&this.raise(Q.ThisParamMayNotBeOptional,a)),n=this.flowParseTypeInitialiser()):n=this.flowParseType(),a.name=i,a.optional=r,a.typeAnnotation=n,this.finishNode(a,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){let i=this.startNodeAt(e.loc.start);return i.name=null,i.optional=!1,i.typeAnnotation=e,this.finishNode(i,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let i=null,r=null;for(this.match(78)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(i=this.flowParseFunctionTypeParam(!1)),{params:e,rest:i,_this:r}}flowIdentToTypeAnnotation(e,i,r){switch(r.name){case"any":return this.finishNode(i,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(i,"BooleanTypeAnnotation");case"mixed":return this.finishNode(i,"MixedTypeAnnotation");case"empty":return this.finishNode(i,"EmptyTypeAnnotation");case"number":return this.finishNode(i,"NumberTypeAnnotation");case"string":return this.finishNode(i,"StringTypeAnnotation");case"symbol":return this.finishNode(i,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(r.name),this.flowParseGenericType(e,r)}}flowParsePrimaryType(){let e=this.state.startLoc,i=this.startNode(),r,n,a=!1,o=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,n=this.flowParseTupleType(),this.state.noAnonFunctionType=o,n;case 47:{let l=this.startNode();return l.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),r=this.flowParseFunctionTypeParams(),l.params=r.params,l.rest=r.rest,l.this=r._this,this.expect(11),this.expect(19),l.returnType=this.flowParseType(),this.finishNode(l,"FunctionTypeAnnotation")}case 10:{let l=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(Ae(this.state.type)||this.match(78)){let c=this.lookahead().type;a=c!==17&&c!==14}else a=!0;if(a){if(this.state.noAnonFunctionType=!1,n=this.flowParseType(),this.state.noAnonFunctionType=o,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),n;this.eat(12)}return n?r=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(n)]):r=this.flowParseFunctionTypeParams(),l.params=r.params,l.rest=r.rest,l.this=r._this,this.expect(11),this.expect(19),l.returnType=this.flowParseType(),l.typeParameters=null,this.finishNode(l,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return i.value=this.match(85),this.next(),this.finishNode(i,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",i);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",i);throw this.raise(Q.UnexpectedSubtractionOperand,this.state.startLoc)}throw this.unexpected();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(i,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(i,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(i,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(i,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(ep(this.state.type)){let l=wi(this.state.type);return this.next(),super.createIdentifier(i,l)}else if(Ae(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,i,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){let e=this.state.startLoc,i=this.flowParsePrimaryType(),r=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let n=this.startNodeAt(e),a=this.eat(18);r=r||a,this.expect(0),!a&&this.match(3)?(n.elementType=i,this.next(),i=this.finishNode(n,"ArrayTypeAnnotation")):(n.objectType=i,n.indexType=this.flowParseType(),this.expect(3),r?(n.optional=a,i=this.finishNode(n,"OptionalIndexedAccessType")):i=this.finishNode(n,"IndexedAccessType"))}return i}flowParsePrefixType(){let e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let i=this.startNodeAt(e.loc.start);return i.params=[this.reinterpretTypeAsFunctionTypeParam(e)],i.rest=null,i.this=null,i.returnType=this.flowParseType(),i.typeParameters=null,this.finishNode(i,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){let e=this.startNode();this.eat(45);let i=this.flowParseAnonFunctionWithoutParens();for(e.types=[i];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return e.types.length===1?i:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){let e=this.startNode();this.eat(43);let i=this.flowParseIntersectionType();for(e.types=[i];this.eat(43);)e.types.push(this.flowParseIntersectionType());return e.types.length===1?i:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){let e=this.state.inType;this.state.inType=!0;let i=this.flowParseUnionType();return this.state.inType=e,i}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let e=this.state.startLoc,i=this.parseIdentifier();return this.flowParseGenericType(e,i)}else return this.flowParseType()}flowParseTypeAnnotation(){let e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){let i=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(i.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(i)),i}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(53)?(e=this.startNode(),this.state.value==="+"?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")):e}parseFunctionBody(e,i,r=!1){if(i){this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,r));return}super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,i,r=!1){if(this.match(14)){let n=this.startNode();[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=n.typeAnnotation?this.finishNode(n,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,i,r)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){let r=this.lookahead();if(Ss(r.type)){let n=this.startNode();return this.next(),this.flowParseInterface(n)}}else if(this.isContextual(126)){let r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}let i=super.parseStatementLike(e);return this.flowPragma===void 0&&!this.isValidDirective(i)&&(this.flowPragma=null),i}parseExpressionStatement(e,i,r){if(i.type==="Identifier"){if(i.name==="declare"){if(this.match(80)||Ae(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(Ae(this.state.type)){if(i.name==="interface")return this.flowParseInterface(e);if(i.name==="type")return this.flowParseTypeAlias(e);if(i.name==="opaque")return this.flowParseOpaqueType(e,!1)}}return super.parseExpressionStatement(e,i,r)}shouldParseExportDeclaration(){let{type:e}=this.state;return e===126||zm(e)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:e}=this.state;return e===126||zm(e)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,i,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let h=this.lookaheadCharCode();if(h===44||h===61||h===58||h===41)return this.setOptionalParametersError(r),e}this.expect(17);let n=this.state.clone(),a=this.state.noArrowAt,o=this.startNodeAt(i),{consequent:l,failed:c}=this.tryParseConditionalConsequent(),[u,p]=this.getArrowLikeExpressions(l);if(c||p.length>0){let h=[...a];if(p.length>0){this.state=n,this.state.noArrowAt=h;for(let f=0;f<p.length;f++)h.push(p[f].start);({consequent:l,failed:c}=this.tryParseConditionalConsequent()),[u,p]=this.getArrowLikeExpressions(l)}c&&u.length>1&&this.raise(Q.AmbiguousConditionalArrow,n.startLoc),c&&u.length===1&&(this.state=n,h.push(u[0].start),this.state.noArrowAt=h,{consequent:l,failed:c}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(l,!0),this.state.noArrowAt=a,this.expect(14),o.test=e,o.consequent=l,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let e=this.parseMaybeAssignAllowIn(),i=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:i}}getArrowLikeExpressions(e,i){let r=[e],n=[];for(;r.length!==0;){let a=r.pop();a.type==="ArrowFunctionExpression"&&a.body.type!=="BlockStatement"?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):n.push(a),r.push(a.body)):a.type==="ConditionalExpression"&&(r.push(a.consequent),r.push(a.alternate))}return i?(n.forEach(a=>this.finishArrowValidation(a)),[n,[]]):o_(n,a=>a.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(e){var i;this.toAssignableList(e.params,(i=e.extra)==null?void 0:i.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,i){let r;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),r=i(),this.state.noArrowParamsConversionAt.pop()):r=i(),r}parseParenItem(e,i){let r=super.parseParenItem(e,i);if(this.eat(17)&&(r.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(i);return n.expression=r,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,"TypeCastExpression")}return r}assertModuleNodeAllowed(e){e.type==="ImportDeclaration"&&(e.importKind==="type"||e.importKind==="typeof")||e.type==="ExportNamedDeclaration"&&e.exportKind==="type"||e.type==="ExportAllDeclaration"&&e.exportKind==="type"||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";let i=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(i)}else if(this.isContextual(131)){e.exportKind="type";let i=this.startNode();return this.next(),this.flowParseOpaqueType(i,!1)}else if(this.isContextual(129)){e.exportKind="type";let i=this.startNode();return this.next(),this.flowParseInterface(i)}else if(this.isContextual(126)){e.exportKind="value";let i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}else return super.parseExportDeclaration(e)}eatExportStar(e){return super.eatExportStar(e)?!0:this.isContextual(130)&&this.lookahead().type===55?(e.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(e){let{startLoc:i}=this.state,r=super.maybeParseExportNamespaceSpecifier(e);return r&&e.exportKind==="type"&&this.unexpected(i),r}parseClassId(e,i,r){super.parseClassId(e,i,r),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,i,r){let{startLoc:n}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,i))return;i.declare=!0}super.parseClassMember(e,i,r),i.declare&&(i.type!=="ClassProperty"&&i.type!=="ClassPrivateProperty"&&i.type!=="PropertyDefinition"?this.raise(Q.DeclareClassElement,n):i.value&&this.raise(Q.DeclareClassFieldInitializer,i.value))}isIterator(e){return e==="iterator"||e==="asyncIterator"}readIterator(){let e=super.readWord1(),i="@@"+e;(!this.isIterator(e)||!this.state.inType)&&this.raise(E.InvalidIdentifier,this.state.curPosition(),{identifierName:i}),this.finishToken(132,i)}getTokenFromCode(e){let i=this.input.charCodeAt(this.state.pos+1);e===123&&i===124?this.finishOp(6,2):this.state.inType&&(e===62||e===60)?this.finishOp(e===62?48:47,1):this.state.inType&&e===63?i===46?this.finishOp(18,2):this.finishOp(17,1):t_(e,i,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e)}isAssignable(e,i){return e.type==="TypeCastExpression"?this.isAssignable(e.expression,i):super.isAssignable(e,i)}toAssignable(e,i=!1){!i&&e.type==="AssignmentExpression"&&e.left.type==="TypeCastExpression"&&(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,i)}toAssignableList(e,i,r){for(let n=0;n<e.length;n++){let a=e[n];a?.type==="TypeCastExpression"&&(e[n]=this.typeCastToParameter(a))}super.toAssignableList(e,i,r)}toReferencedList(e,i){for(let n=0;n<e.length;n++){var r;let a=e[n];a&&a.type==="TypeCastExpression"&&!((r=a.extra)!=null&&r.parenthesized)&&(e.length>1||!i)&&this.raise(Q.TypeCastInPattern,a.typeAnnotation)}return e}parseArrayLike(e,i,r){let n=super.parseArrayLike(e,i,r);return r!=null&&!this.state.maybeInArrowParameters&&this.toReferencedList(n.elements),n}isValidLVal(e,i,r,n){return e==="TypeCastExpression"||super.isValidLVal(e,i,r,n)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,i,r,n,a,o){if(i.variance&&this.unexpected(i.variance.loc.start),delete i.variance,this.match(47)&&(i.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,i,r,n,a,o),i.params&&a){let l=i.params;l.length>0&&this.isThisParam(l[0])&&this.raise(Q.ThisParamBannedInConstructor,i)}else if(i.type==="MethodDefinition"&&a&&i.value.params){let l=i.value.params;l.length>0&&this.isThisParam(l[0])&&this.raise(Q.ThisParamBannedInConstructor,i)}}pushClassPrivateMethod(e,i,r,n){i.variance&&this.unexpected(i.variance.loc.start),delete i.variance,this.match(47)&&(i.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,i,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();let i=e.implements=[];do{let r=this.startNode();r.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,i.push(this.finishNode(r,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);let i=this.getObjectOrClassMethodParams(e);if(i.length>0){let r=i[0];this.isThisParam(r)&&e.kind==="get"?this.raise(Q.GetterMayNotHaveThisParam,r):this.isThisParam(r)&&this.raise(Q.SetterMayNotHaveThisParam,r)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,i,r,n,a,o,l){e.variance&&this.unexpected(e.variance.loc.start),delete e.variance;let c;this.match(47)&&!o&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let u=super.parseObjPropValue(e,i,r,n,a,o,l);return c&&((u.value||u).typeParameters=c),u}parseFunctionParamType(e){return this.eat(17)&&(e.type!=="Identifier"&&this.raise(Q.PatternIsOptional,e),this.isThisParam(e)&&this.raise(Q.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Q.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(Q.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,i){let r=super.parseMaybeDefault(e,i);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(Q.TypeBeforeInitializer,r.typeAnnotation),r}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(Q.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,i,r){i.local=Zm(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(i,r))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;let i=this.lookaheadCharCode();return i===123||i===42}return!e&&this.isContextual(87)}applyImportPhase(e,i,r,n){if(super.applyImportPhase(e,i,r,n),i){if(!r&&this.match(65))return;e.exportKind=r==="type"?r:"value"}else r==="type"&&this.match(55)&&this.unexpected(),e.importKind=r==="type"||r==="typeof"?r:"value"}parseImportSpecifier(e,i,r,n,a){let o=e.imported,l=null;o.type==="Identifier"&&(o.name==="type"?l="type":o.name==="typeof"&&(l="typeof"));let c=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let p=this.parseIdentifier(!0);l!==null&&!Ss(this.state.type)?(e.imported=p,e.importKind=l,e.local=this.cloneIdentifier(p)):(e.imported=o,e.importKind=null,e.local=this.parseIdentifier())}else{if(l!==null&&Ss(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=l;else{if(i)throw this.raise(E.ImportBindingIsString,e,{importName:o.value});e.imported=o,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(c=!0,e.local=this.cloneIdentifier(e.imported))}let u=Zm(e);return r&&u&&this.raise(Q.ImportTypeShorthandOnlyInPureImport,e),(r||u)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),c&&!r&&!u&&this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,i){let r=e.kind;r!=="get"&&r!=="set"&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,i)}parseVarId(e,i){super.parseVarId(e,i),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,i){if(this.match(14)){let r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=r}return super.parseAsyncArrowFromCallExpression(e,i)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,i){var r;let n=null,a;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(n=this.state.clone(),a=this.tryParse(()=>super.parseMaybeAssign(e,i),n),!a.error)return a.node;let{context:c}=this.state,u=c[c.length-1];(u===de.j_oTag||u===de.j_expr)&&c.pop()}if((r=a)!=null&&r.error||this.match(47)){var o,l;n=n||this.state.clone();let c,u=this.tryParse(h=>{var f;c=this.flowParseTypeParameterDeclaration();let m=this.forwardNoArrowParamsConversionAt(c,()=>{let A=super.parseMaybeAssign(e,i);return this.resetStartLocationFromNode(A,c),A});(f=m.extra)!=null&&f.parenthesized&&h();let d=this.maybeUnwrapTypeCastExpression(m);return d.type!=="ArrowFunctionExpression"&&h(),d.typeParameters=c,this.resetStartLocationFromNode(d,c),m},n),p=null;if(u.node&&this.maybeUnwrapTypeCastExpression(u.node).type==="ArrowFunctionExpression"){if(!u.error&&!u.aborted)return u.node.async&&this.raise(Q.UnexpectedTypeParameterBeforeAsyncArrowFunction,c),u.node;p=u.node}if((o=a)!=null&&o.node)return this.state=a.failState,a.node;if(p)return this.state=u.failState,p;throw(l=a)!=null&&l.thrown?a.error:u.thrown?u.error:this.raise(Q.UnexpectedTokenAfterTypeParameter,c)}return super.parseMaybeAssign(e,i)}parseArrow(e){if(this.match(14)){let i=this.tryParse(()=>{let r=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let n=this.startNode();return[n.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=r,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),n});if(i.thrown)return null;i.error&&(this.state=i.failState),e.returnType=i.node.typeAnnotation?this.finishNode(i.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,i){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?e.params=i:super.setArrowFunctionParameters(e,i)}checkParams(e,i,r,n=!0){if(!(r&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start)))){for(let a=0;a<e.params.length;a++)this.isThisParam(e.params[a])&&a>0&&this.raise(Q.ThisParamMustBeFirst,e.params[a]);super.checkParams(e,i,r,n)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(e,i,r){if(e.type==="Identifier"&&e.name==="async"&&this.state.noArrowAt.includes(i.index)){this.next();let n=this.startNodeAt(i);n.callee=e,n.arguments=super.parseCallExpressionArguments(),e=this.finishNode(n,"CallExpression")}else if(e.type==="Identifier"&&e.name==="async"&&this.match(47)){let n=this.state.clone(),a=this.tryParse(l=>this.parseAsyncArrowWithTypeParameters(i)||l(),n);if(!a.error&&!a.aborted)return a.node;let o=this.tryParse(()=>super.parseSubscripts(e,i,r),n);if(o.node&&!o.error)return o.node;if(a.node)return this.state=a.failState,a.node;if(o.node)return this.state=o.failState,o.node;throw a.error||o.error}return super.parseSubscripts(e,i,r)}parseSubscript(e,i,r,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,r)return n.stop=!0,e;this.next();let a=this.startNodeAt(i);return a.callee=e,a.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),a.arguments=this.parseCallExpressionArguments(),a.optional=!0,this.finishCallExpression(a,!0)}else if(!r&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let a=this.startNodeAt(i);a.callee=e;let o=this.tryParse(()=>(a.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),a.arguments=super.parseCallExpressionArguments(),n.optionalChainMember&&(a.optional=!1),this.finishCallExpression(a,n.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(e,i,r,n)}parseNewCallee(e){super.parseNewCallee(e);let i=null;this.shouldParseTypes()&&this.match(47)&&(i=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=i}parseAsyncArrowWithTypeParameters(e){let i=this.startNodeAt(e);if(this.parseFunctionParams(i,!1),!!this.parseArrow(i))return super.parseArrowExpression(i,void 0,!0)}readToken_mult_modulo(e){let i=this.input.charCodeAt(this.state.pos+1);if(e===42&&i===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(e)}readToken_pipe_amp(e){let i=this.input.charCodeAt(this.state.pos+1);if(e===124&&i===125){this.finishOp(9,2);return}super.readToken_pipe_amp(e)}parseTopLevel(e,i){let r=super.parseTopLevel(e,i);return this.state.hasFlowComment&&this.raise(Q.UnterminatedFlowComment,this.state.curPosition()),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Q.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let e=this.skipFlowComment();e&&(this.state.pos+=e,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:e}=this.state,i=2;for(;[32,9].includes(this.input.charCodeAt(e+i));)i++;let r=this.input.charCodeAt(i+e),n=this.input.charCodeAt(i+e+1);return r===58&&n===58?i+2:this.input.slice(i+e,i+e+12)==="flow-include"?i+12:r===58&&n!==58?i:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(E.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:i,memberName:r}){this.raise(Q.EnumBooleanMemberNotInitialized,e,{memberName:r,enumName:i})}flowEnumErrorInvalidMemberInitializer(e,i){return this.raise(i.explicitType?i.explicitType==="symbol"?Q.EnumInvalidMemberInitializerSymbolType:Q.EnumInvalidMemberInitializerPrimaryType:Q.EnumInvalidMemberInitializerUnknownType,e,i)}flowEnumErrorNumberMemberNotInitialized(e,i){this.raise(Q.EnumNumberMemberNotInitialized,e,i)}flowEnumErrorStringMemberInconsistentlyInitialized(e,i){this.raise(Q.EnumStringMemberInconsistentlyInitialized,e,i)}flowEnumMemberInit(){let e=this.state.startLoc,i=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let r=this.parseNumericLiteral(this.state.value);return i()?{type:"number",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 134:{let r=this.parseStringLiteral(this.state.value);return i()?{type:"string",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}case 85:case 86:{let r=this.parseBooleanLiteral(this.match(85));return i()?{type:"boolean",loc:r.loc.start,value:r}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){let e=this.state.startLoc,i=this.parseIdentifier(!0),r=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e};return{id:i,init:r}}flowEnumCheckExplicitTypeMismatch(e,i,r){let{explicitType:n}=i;n!==null&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,i)}flowEnumMembers({enumName:e,explicitType:i}){let r=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}let o=this.startNode(),{id:l,init:c}=this.flowEnumMemberRaw(),u=l.name;if(u==="")continue;/^[a-z]/.test(u)&&this.raise(Q.EnumInvalidMemberName,l,{memberName:u,suggestion:u[0].toUpperCase()+u.slice(1),enumName:e}),r.has(u)&&this.raise(Q.EnumDuplicateMemberName,l,{memberName:u,enumName:e}),r.add(u);let p={enumName:e,explicitType:i,memberName:u};switch(o.id=l,c.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(c.loc,p,"boolean"),o.init=c.value,n.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(c.loc,p,"number"),o.init=c.value,n.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(c.loc,p,"string"),o.init=c.value,n.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(c.loc,p);case"none":switch(i){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(c.loc,p);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(c.loc,p);break;default:n.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:n,hasUnknownMembers:a}}flowEnumStringMembers(e,i,{enumName:r}){if(e.length===0)return i;if(i.length===0)return e;if(i.length>e.length){for(let n of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(n,{enumName:r});return i}else{for(let n of i)this.flowEnumErrorStringMemberInconsistentlyInitialized(n,{enumName:r});return e}}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!Ae(this.state.type))throw this.raise(Q.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});let{value:i}=this.state;return this.next(),i!=="boolean"&&i!=="number"&&i!=="string"&&i!=="symbol"&&this.raise(Q.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:i}),i}flowEnumBody(e,i){let r=i.name,n=i.loc.start,a=this.flowEnumParseExplicitType({enumName:r});this.expect(5);let{members:o,hasUnknownMembers:l}=this.flowEnumMembers({enumName:r,explicitType:a});switch(e.hasUnknownMembers=l,a){case"boolean":return e.explicitType=!0,e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=o.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{let c=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;let u=o.booleanMembers.length,p=o.numberMembers.length,h=o.stringMembers.length,f=o.defaultedMembers.length;if(!u&&!p&&!h&&!f)return c();if(!u&&!p)return e.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:r}),this.expect(8),this.finishNode(e,"EnumStringBody");if(!p&&!h&&u>=f){for(let m of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(m.loc.start,{enumName:r,memberName:m.id.name});return e.members=o.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}else if(!u&&!h&&p>=f){for(let m of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(m.loc.start,{enumName:r,memberName:m.id.name});return e.members=o.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}else return this.raise(Q.EnumInconsistentMemberValues,n,{enumName:r}),c()}}}flowParseEnumDeclaration(e){let i=this.parseIdentifier();return e.id=i,e.body=this.flowEnumBody(this.startNode(),i),this.finishNode(e,"EnumDeclaration")}jsxParseOpeningElementAfterName(e){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(e.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(e)}isLookaheadToken_lt(){let e=this.nextTokenStart();if(this.input.charCodeAt(e)===60){let i=this.input.charCodeAt(e+1);return i!==60&&i!==61}return!1}reScan_lt_gt(){let{type:e}=this.state;e===47?(this.state.pos-=1,this.readToken_lt()):e===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}maybeUnwrapTypeCastExpression(e){return e.type==="TypeCastExpression"?e.expression:e}},u_={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},p_=/\r\n|[\r\n\u2028\u2029]/,yo=new RegExp(p_.source,"g");function Hr(s){switch(s){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function eA(s,t,e){for(let i=t;i<e;i++)if(Hr(s.charCodeAt(i)))return!0;return!1}var Tu=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Cu=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function h_(s){switch(s){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}}var nr=Bs`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:s})=>`Expected corresponding JSX closing tag for <${s}>.`,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:s,HTMLEntity:t})=>`Unexpected token \`${s}\`. Did you mean \`${t}\` or \`{'${s}'}\`?`,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 Oi(s){return s?s.type==="JSXOpeningFragment"||s.type==="JSXClosingFragment":!1}function jr(s){if(s.type==="JSXIdentifier")return s.name;if(s.type==="JSXNamespacedName")return s.namespace.name+":"+s.name.name;if(s.type==="JSXMemberExpression")return jr(s.object)+"."+jr(s.property);throw new Error("Node had unexpected type: "+s.type)}var f_=s=>class extends s{jsxReadToken(){let e="",i=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(nr.UnterminatedJsxContent,this.state.startLoc);let r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:if(this.state.pos===this.state.start){r===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(r);return}e+=this.input.slice(i,this.state.pos),this.finishToken(142,e);return;case 38:e+=this.input.slice(i,this.state.pos),e+=this.jsxReadEntity(),i=this.state.pos;break;default:Hr(r)?(e+=this.input.slice(i,this.state.pos),e+=this.jsxReadNewLine(!0),i=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){let i=this.input.charCodeAt(this.state.pos),r;return++this.state.pos,i===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,r=e?`
|
|
8
8
|
`:`\r
|
|
9
|
-
`):r=String.fromCharCode(i),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let i="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(S.UnterminatedString,this.state.startLoc);let n=this.input.charCodeAt(this.state.pos);if(n===e)break;n===38?(i+=this.input.slice(r,this.state.pos),i+=this.jsxReadEntity(),r=this.state.pos):Hr(n)?(i+=this.input.slice(r,this.state.pos),i+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}i+=this.input.slice(r,this.state.pos++),this.finishToken(134,i)}jsxReadEntity(){let e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let i=10;this.codePointAtPos(this.state.pos)===120&&(i=16,++this.state.pos);let r=this.readInt(i,void 0,!1,"bail");if(r!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(r)}else{let i=0,r=!1;for(;i++<10&&this.state.pos<this.length&&!(r=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(r){let n=this.input.slice(e,this.state.pos),a=c_[n];if(++this.state.pos,a)return a}}return this.state.pos=e,"&"}jsxReadWord(){let e,i=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(or(e)||e===45);this.finishToken(141,this.input.slice(i,this.state.pos))}jsxParseIdentifier(){let e=this.startNode();return this.match(141)?e.name=this.state.value:eh(this.state.type)?e.name=wi(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){let e=this.state.startLoc,i=this.jsxParseIdentifier();if(!this.eat(14))return i;let r=this.startNodeAt(e);return r.namespace=i,r.name=this.jsxParseIdentifier(),this.finishNode(r,"JSXNamespacedName")}jsxParseElementName(){let e=this.state.startLoc,i=this.jsxParseNamespacedName();if(i.type==="JSXNamespacedName")return i;for(;this.eat(16);){let r=this.startNodeAt(e);r.object=i,r.property=this.jsxParseIdentifier(),i=this.finishNode(r,"JSXMemberExpression")}return i}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(de.brace),this.next(),e=this.jsxParseExpressionContainer(e,de.j_oTag),e.expression.type==="JSXEmptyExpression"&&this.raise(nr.AttributeIsEmpty,e),e;case 143:case 134:return this.parseExprAtom();default:throw this.raise(nr.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(de.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,i){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{let r=this.parseExpression();e.expression=r}return this.setContext(i),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){let e=this.startNode();return this.match(5)?(this.setContext(de.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(de.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e){let i=this.startNodeAt(e);return this.eat(144)?this.finishNode(i,"JSXOpeningFragment"):(i.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(i))}jsxParseOpeningElementAfterName(e){let i=[];for(;!this.match(56)&&!this.match(144);)i.push(this.jsxParseAttribute());return e.attributes=i,e.selfClosing=this.eat(56),this.expect(144),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){let i=this.startNodeAt(e);return this.eat(144)?this.finishNode(i,"JSXClosingFragment"):(i.name=this.jsxParseElementName(),this.expect(144),this.finishNode(i,"JSXClosingElement"))}jsxParseElementAt(e){let i=this.startNodeAt(e),r=[],n=this.jsxParseOpeningElementAt(e),a=null;if(!n.selfClosing){e:for(;;)switch(this.state.type){case 143:if(e=this.state.startLoc,this.next(),this.eat(56)){a=this.jsxParseClosingElementAt(e);break e}r.push(this.jsxParseElementAt(e));break;case 142:r.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let o=this.startNode();this.setContext(de.brace),this.next(),this.match(21)?r.push(this.jsxParseSpreadChild(o)):r.push(this.jsxParseExpressionContainer(o,de.j_expr));break}default:this.unexpected()}Oi(n)&&!Oi(a)&&a!==null?this.raise(nr.MissingClosingTagFragment,a):!Oi(n)&&Oi(a)?this.raise(nr.MissingClosingTagElement,a,{openingTagName:jr(n.name)}):!Oi(n)&&!Oi(a)&&jr(a.name)!==jr(n.name)&&this.raise(nr.MissingClosingTagElement,a,{openingTagName:jr(n.name)})}if(Oi(n)?(i.openingFragment=n,i.closingFragment=a):(i.openingElement=n,i.closingElement=a),i.children=r,this.match(47))throw this.raise(nr.UnwrappedAdjacentJSXElements,this.state.startLoc);return Oi(n)?this.finishNode(i,"JSXFragment"):this.finishNode(i,"JSXElement")}jsxParseElement(){let e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){let{context:i}=this.state;i[i.length-1]=e}parseExprAtom(e){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){let i=this.curContext();if(i===de.j_expr){this.jsxReadToken();return}if(i===de.j_oTag||i===de.j_cTag){if(Fs(e)){this.jsxReadWord();return}if(e===62){++this.state.pos,this.finishToken(144);return}if((e===34||e===39)&&i===de.j_oTag){this.jsxReadString(e);return}}if(e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(e)}updateContext(e){let{context:i,type:r}=this.state;if(r===56&&e===143)i.splice(-2,2,de.j_cTag),this.state.canStartJSXElement=!1;else if(r===143)i.push(de.j_oTag);else if(r===144){let n=i[i.length-1];n===de.j_oTag&&e===56||n===de.j_cTag?(i.pop(),this.state.canStartJSXElement=i[i.length-1]===de.j_expr):(this.setContext(de.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=F1(r)}},Ou=class extends Qn{constructor(...t){super(...t),this.tsNames=new Map}},wu=class extends Jn{constructor(...t){super(...t),this.importsStack=[]}createScope(t){return this.importsStack.push(new Set),new Ou(t)}enter(t){t===1024&&this.importsStack.push(new Set),super.enter(t)}exit(){let t=super.exit();return t===1024&&this.importsStack.pop(),t}hasImport(t,e){let i=this.importsStack.length;if(this.importsStack[i-1].has(t))return!0;if(!e&&i>1){for(let r=0;r<i-1;r++)if(this.importsStack[r].has(t))return!0}return!1}declareName(t,e,i){if(e&4096){this.hasImport(t,!0)&&this.parser.raise(S.VarRedeclaration,i,{identifierName:t}),this.importsStack[this.importsStack.length-1].add(t);return}let r=this.currentScope(),n=r.tsNames.get(t)||0;if(e&1024){this.maybeExportDefined(r,t),r.tsNames.set(t,n|16);return}super.declareName(t,e,i),e&2&&(e&1||(this.checkRedeclarationInScope(r,t,e,i),this.maybeExportDefined(r,t)),n=n|1),e&256&&(n=n|2),e&512&&(n=n|4),e&128&&(n=n|8),n&&r.tsNames.set(t,n)}isRedeclaredInScope(t,e,i){let r=t.tsNames.get(e);if((r&2)>0){if(i&256){let n=!!(i&512),a=(r&4)>0;return n!==a}return!0}return i&128&&(r&8)>0?t.names.get(e)&2?!!(i&1):!1:i&2&&(r&1)>0?!0:super.isRedeclaredInScope(t,e,i)}checkLocalExport(t){let{name:e}=t;if(this.hasImport(e))return;let i=this.scopeStack.length;for(let r=i-1;r>=0;r--){let a=this.scopeStack[r].tsNames.get(e);if((a&1)>0||(a&16)>0)return}super.checkLocalExport(t)}},Lu=class{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}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 To(s,t){return(s?2:0)|(t?1:0)}var Mu=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(t){return t+this.startIndex}offsetToSourcePos(t){return t-this.startIndex}hasPlugin(t){if(typeof t=="string")return this.plugins.has(t);{let[e,i]=t;if(!this.hasPlugin(e))return!1;let r=this.plugins.get(e);for(let n of Object.keys(i))if(r?.[n]!==i[n])return!1;return!0}}getPluginOption(t,e){var i;return(i=this.plugins.get(t))==null?void 0:i[e]}};function AA(s,t){s.trailingComments===void 0?s.trailingComments=t:s.trailingComments.unshift(...t)}function f_(s,t){s.leadingComments===void 0?s.leadingComments=t:s.leadingComments.unshift(...t)}function Yn(s,t){s.innerComments===void 0?s.innerComments=t:s.innerComments.unshift(...t)}function Rs(s,t,e){let i=null,r=t.length;for(;i===null&&r>0;)i=t[--r];i===null||i.start>e.start?Yn(s,e.comments):AA(i,e.comments)}var Du=class extends Mu{addComment(t){this.filename&&(t.loc.filename=this.filename);let{commentsLen:e}=this.state;this.comments.length!==e&&(this.comments.length=e),this.comments.push(t),this.state.commentsLen++}processComment(t){let{commentStack:e}=this.state,i=e.length;if(i===0)return;let r=i-1,n=e[r];n.start===t.end&&(n.leadingNode=t,r--);let{start:a}=t;for(;r>=0;r--){let o=e[r],l=o.end;if(l>a)o.containingNode=t,this.finalizeComment(o),e.splice(r,1);else{l===a&&(o.trailingNode=t);break}}}finalizeComment(t){var e;let{comments:i}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&AA(t.leadingNode,i),t.trailingNode!==null&&f_(t.trailingNode,i);else{let r=t.containingNode,n=t.start;if(this.input.charCodeAt(this.offsetToSourcePos(n)-1)===44)switch(r.type){case"ObjectExpression":case"ObjectPattern":Rs(r,r.properties,t);break;case"CallExpression":case"OptionalCallExpression":Rs(r,r.arguments,t);break;case"ImportExpression":Rs(r,[r.source,(e=r.options)!=null?e:null],t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Rs(r,r.params,t);break;case"ArrayExpression":case"ArrayPattern":Rs(r,r.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":Rs(r,r.specifiers,t);break;case"TSEnumDeclaration":Rs(r,r.members,t);break;case"TSEnumBody":Rs(r,r.members,t);break;default:{if(r.type==="RecordExpression"){Rs(r,r.properties,t);break}if(r.type==="TupleExpression"){Rs(r,r.elements,t);break}Yn(r,i)}}else Yn(r,i)}}finalizeRemainingComments(){let{commentStack:t}=this.state;for(let e=t.length-1;e>=0;e--)this.finalizeComment(t[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){let{commentStack:e}=this.state,{length:i}=e;if(i===0)return;let r=e[i-1];r.leadingNode===t&&(r.leadingNode=null)}takeSurroundingComments(t,e,i){let{commentStack:r}=this.state,n=r.length;if(n===0)return;let a=n-1;for(;a>=0;a--){let o=r[a],l=o.end;if(o.start===i)o.leadingNode=t;else if(l===e)o.trailingNode=t;else if(l<e)break}}},Ru=class s{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=[de.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(t){t?this.flags|=1:this.flags&=-2}init({strictMode:t,sourceType:e,startIndex:i,startLine:r,startColumn:n}){this.strict=t===!1?!1:t===!0?!0:e==="module",this.startIndex=i,this.curLine=r,this.lineStart=-n,this.startLoc=this.endLoc=new Vs(r,n,i)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(t){t?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(t){t?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(t){t?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(t){t?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(t){t?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(t){t?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(t){t?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(t){t?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(t){t?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(t){t?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(t){t?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(t){t?this.flags|=4096:this.flags&=-4097}curPosition(){return new Vs(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let t=new s;return t.flags=this.flags,t.startIndex=this.startIndex,t.curLine=this.curLine,t.lineStart=this.lineStart,t.startLoc=this.startLoc,t.endLoc=this.endLoc,t.errors=this.errors.slice(),t.potentialArrowAt=this.potentialArrowAt,t.noArrowAt=this.noArrowAt.slice(),t.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),t.topicContext=this.topicContext,t.labels=this.labels.slice(),t.commentsLen=this.commentsLen,t.commentStack=this.commentStack.slice(),t.pos=this.pos,t.type=this.type,t.value=this.value,t.start=this.start,t.end=this.end,t.lastTokEndLoc=this.lastTokEndLoc,t.lastTokStartLoc=this.lastTokStartLoc,t.context=this.context.slice(),t.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,t.strictErrors=this.strictErrors,t.tokensLength=this.tokensLength,t}},d_=function(t){return t>=48&&t<=57},tA={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Eo={bin:s=>s===48||s===49,oct:s=>s>=48&&s<=55,dec:s=>s>=48&&s<=57,hex:s=>s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102};function sA(s,t,e,i,r,n){let a=e,o=i,l=r,c="",u=null,h=e,{length:p}=t;for(;;){if(e>=p){n.unterminated(a,o,l),c+=t.slice(h,e);break}let f=t.charCodeAt(e);if(m_(s,f,t,e)){c+=t.slice(h,e);break}if(f===92){c+=t.slice(h,e);let m=A_(t,e,i,r,s==="template",n);m.ch===null&&!u?u={pos:e,lineStart:i,curLine:r}:c+=m.ch,{pos:e,lineStart:i,curLine:r}=m,h=e}else f===8232||f===8233?(++e,++r,i=e):f===10||f===13?s==="template"?(c+=t.slice(h,e)+`
|
|
10
|
-
`,++e,f===13&&t.charCodeAt(e)===10&&++e,++r,
|
|
11
|
-
`);case 114:return o("\r");case 120:{let c;return{code:c,pos:t}=ku(s,t,e,i,2,!1,a,n),o(c===null?null:String.fromCharCode(c))}case 117:{let c;return{code:c,pos:t}=yA(s,t,e,i,a,n),o(c===null?null:String.fromCodePoint(c))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:s.charCodeAt(t)===10&&++t;case 10:e=t,++i;case 8232:case 8233:return o("");case 56:case 57:if(r)return o(null);n.strictNumericEscape(t-1,e,i);default:if(l>=48&&l<=55){let c=t-1,h=/^[0-7]+/.exec(s.slice(c,t+2))[0],p=parseInt(h,8);p>255&&(h=h.slice(0,-1),p=parseInt(h,8)),t+=h.length-1;let f=s.charCodeAt(t);if(h!=="0"||f===56||f===57){if(r)return o(null);n.strictNumericEscape(c,e,i)}return o(String.fromCharCode(p))}return o(String.fromCharCode(l))}}function ku(s,t,e,i,r,n,a,o){let l=t,c;return{n:c,pos:t}=gA(s,t,e,i,16,r,n,!1,o,!a),c===null&&(a?o.invalidEscapeSequence(l,e,i):t=l-1),{code:c,pos:t}}function gA(s,t,e,i,r,n,a,o,l,c){let u=t,h=r===16?tA.hex:tA.decBinOct,p=r===16?Eo.hex:r===10?Eo.dec:r===8?Eo.oct:Eo.bin,f=!1,m=0;for(let d=0,A=n??1/0;d<A;++d){let y=s.charCodeAt(t),E;if(y===95&&o!=="bail"){let x=s.charCodeAt(t-1),N=s.charCodeAt(t+1);if(o){if(Number.isNaN(N)||!p(N)||h.has(x)||h.has(N)){if(c)return{n:null,pos:t};l.unexpectedNumericSeparator(t,e,i)}}else{if(c)return{n:null,pos:t};l.numericSeparatorInEscapeSequence(t,e,i)}++t;continue}if(y>=97?E=y-97+10:y>=65?E=y-65+10:d_(y)?E=y-48:E=1/0,E>=r){if(E<=9&&c)return{n:null,pos:t};if(E<=9&&l.invalidDigit(t,e,i,r))E=0;else if(a)E=0,f=!0;else break}++t,m=m*r+E}return t===u||n!=null&&t-u!==n||f?{n:null,pos:t}:{n:m,pos:t}}function yA(s,t,e,i,r,n){let a=s.charCodeAt(t),o;if(a===123){if(++t,{code:o,pos:t}=ku(s,t,e,i,s.indexOf("}",t)-t,!0,r,n),++t,o!==null&&o>1114111)if(r)n.invalidCodePoint(t,e,i);else return{code:null,pos:t}}else({code:o,pos:t}=ku(s,t,e,i,4,!1,r,n));return{code:o,pos:t}}function Gn(s,t,e){return new Vs(e,s-t,s)}var g_=new Set([103,109,115,105,121,117,100,118]),ks=class{constructor(t){let e=t.startIndex||0;this.type=t.type,this.value=t.value,this.start=e+t.start,this.end=e+t.end,this.loc=new Gr(t.startLoc,t.endLoc)}},Bu=class extends Du{constructor(t,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(i,r,n,a)=>this.optionFlags&2048?(this.raise(S.InvalidDigit,Gn(i,r,n),{radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(S.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(S.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(S.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(S.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(i,r,n)=>{this.recordStrictModeErrors(S.StrictNumericEscape,Gn(i,r,n))},unterminated:(i,r,n)=>{throw this.raise(S.UnterminatedString,Gn(i-1,r,n))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(S.StrictNumericEscape),unterminated:(i,r,n)=>{throw this.raise(S.UnterminatedTemplate,Gn(i,r,n))}}),this.state=new Ru,this.state.init(t),this.input=e,this.length=e.length,this.comments=[],this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&256&&this.pushToken(new ks(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){let t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let e=this.state;return this.state=t,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return Tu.lastIndex=t,Tu.test(this.input)?Tu.lastIndex:t}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(t){return this.input.charCodeAt(this.nextTokenStartSince(t))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return Cu.lastIndex=t,Cu.test(this.input)?Cu.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let e=this.input.charCodeAt(t);if((e&64512)===55296&&++t<this.input.length){let i=this.input.charCodeAt(t);(i&64512)===56320&&(e=65536+((e&1023)<<10)+(i&1023))}return e}setStrict(t){this.state.strict=t,t&&(this.state.strictErrors.forEach(([e,i])=>this.raise(e,i)),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(t){let e;this.isLookahead||(e=this.state.curPosition());let i=this.state.pos,r=this.input.indexOf(t,i+2);if(r===-1)throw this.raise(S.UnterminatedComment,this.state.curPosition());for(this.state.pos=r+t.length,yo.lastIndex=i+2;yo.test(this.input)&&yo.lastIndex<=r;)++this.state.curLine,this.state.lineStart=yo.lastIndex;if(this.isLookahead)return;let n={type:"CommentBlock",value:this.input.slice(i+2,r),start:this.sourceToOffsetPos(i),end:this.sourceToOffsetPos(r+t.length),loc:new Gr(e,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(n),n}skipLineComment(t){let e=this.state.pos,i;this.isLookahead||(i=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=t);if(this.state.pos<this.length)for(;!Hr(r)&&++this.state.pos<this.length;)r=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let n=this.state.pos,o={type:"CommentLine",value:this.input.slice(e+t,n),start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(n),loc:new Gr(i,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(o),o}skipSpace(){let t=this.state.pos,e=this.optionFlags&4096?[]:null;e:for(;this.state.pos<this.length;){let i=this.input.charCodeAt(this.state.pos);switch(i){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:{let r=this.skipBlockComment("*/");r!==void 0&&(this.addComment(r),e?.push(r));break}case 47:{let r=this.skipLineComment(2);r!==void 0&&(this.addComment(r),e?.push(r));break}default:break e}break;default:if(h_(i))++this.state.pos;else if(i===45&&!this.inModule&&this.optionFlags&8192){let r=this.state.pos;if(this.input.charCodeAt(r+1)===45&&this.input.charCodeAt(r+2)===62&&(t===0||this.state.lineStart>t)){let n=this.skipLineComment(3);n!==void 0&&(this.addComment(n),e?.push(n))}else break e}else if(i===60&&!this.inModule&&this.optionFlags&8192){let r=this.state.pos;if(this.input.charCodeAt(r+1)===33&&this.input.charCodeAt(r+2)===45&&this.input.charCodeAt(r+3)===45){let n=this.skipLineComment(4);n!==void 0&&(this.addComment(n),e?.push(n))}else break e}else break e}}if(e?.length>0){let i=this.state.pos,r={start:this.sourceToOffsetPos(t),end:this.sourceToOffsetPos(i),comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let i=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(i)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let t=this.state.pos+1,e=this.codePointAtPos(t);if(e>=48&&e<=57)throw this.raise(S.UnexpectedDigitAfterHash,this.state.curPosition());if(e===123||e===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(e===123?S.RecordExpressionHashIncorrectStartSyntaxType:S.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else Fs(e)?(++this.state.pos,this.finishToken(139,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===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 t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;let e=this.state.pos;for(this.state.pos+=1;!Hr(t)&&++this.state.pos<this.length;)t=this.input.charCodeAt(this.state.pos);let i=this.input.slice(e+2,this.state.pos);return this.finishToken(28,i),!0}readToken_mult_modulo(t){let e=t===42?55:54,i=1,r=this.input.charCodeAt(this.state.pos+1);t===42&&r===42&&(i++,r=this.input.charCodeAt(this.state.pos+2),e=57),r===61&&!this.state.inType&&(i++,e=t===37?33:30),this.finishOp(e,i)}readToken_pipe_amp(t){let e=this.input.charCodeAt(this.state.pos+1);if(e===t){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(t===124?41:42,2);return}if(t===124){if(e===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&e===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&e===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(e===61){this.finishOp(30,2);return}this.finishOp(t===124?43:45,1)}readToken_caret(){let t=this.input.charCodeAt(this.state.pos+1);t===61&&!this.state.inType?this.finishOp(32,2):t===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(t){let e=this.input.charCodeAt(this.state.pos+1);if(e===t){this.finishOp(34,2);return}e===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:t}=this.state,e=this.input.charCodeAt(t+1);if(e===60){if(this.input.charCodeAt(t+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(e===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:t}=this.state,e=this.input.charCodeAt(t+1);if(e===62){let i=this.input.charCodeAt(t+2)===62?3:2;if(this.input.charCodeAt(t+i)===61){this.finishOp(30,i+1);return}this.finishOp(52,i);return}if(e===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(t){let e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(t===61&&e===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(t===61?29:35,1)}readToken_question(){let t=this.input.charCodeAt(this.state.pos+1),e=this.input.charCodeAt(this.state.pos+2);t===63?e===61?this.finishOp(30,3):this.finishOp(40,2):t===46&&!(e>=48&&e<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(t){switch(t){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===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(t);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(t);return;case 124:case 38:this.readToken_pipe_amp(t);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(t);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(t);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(Fs(t)){this.readWord(t);return}}throw this.raise(S.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(t)})}finishOp(t,e){let i=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,i)}readRegexp(){let t=this.state.startLoc,e=this.state.start+1,i,r,{pos:n}=this.state;for(;;++n){if(n>=this.length)throw this.raise(S.UnterminatedRegExp,wt(t,1));let c=this.input.charCodeAt(n);if(Hr(c))throw this.raise(S.UnterminatedRegExp,wt(t,1));if(i)i=!1;else{if(c===91)r=!0;else if(c===93&&r)r=!1;else if(c===47&&!r)break;i=c===92}}let a=this.input.slice(e,n);++n;let o="",l=()=>wt(t,n+2-e);for(;n<this.length;){let c=this.codePointAtPos(n),u=String.fromCharCode(c);if(g_.has(c))c===118?o.includes("u")&&this.raise(S.IncompatibleRegExpUVFlags,l()):c===117&&o.includes("v")&&this.raise(S.IncompatibleRegExpUVFlags,l()),o.includes(u)&&this.raise(S.DuplicateRegExpFlags,l());else if(or(c)||c===92)this.raise(S.MalformedRegExpFlags,l());else break;++n,o+=u}this.state.pos=n,this.finishToken(138,{pattern:a,flags:o})}readInt(t,e,i=!1,r=!0){let{n,pos:a}=gA(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,e,i,r,this.errorHandlers_readInt,!1);return this.state.pos=a,n}readRadixNumber(t){let e=this.state.pos,i=this.state.curPosition(),r=!1;this.state.pos+=2;let n=this.readInt(t);n==null&&this.raise(S.InvalidDigit,wt(i,2),{radix:t});let a=this.input.charCodeAt(this.state.pos);if(a===110)++this.state.pos,r=!0;else if(a===109)throw this.raise(S.InvalidDecimal,i);if(Fs(this.codePointAtPos(this.state.pos)))throw this.raise(S.NumberIdentifier,this.state.curPosition());if(r){let o=this.input.slice(e,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,o);return}this.finishToken(135,n)}readNumber(t){let e=this.state.pos,i=this.state.curPosition(),r=!1,n=!1,a=!1,o=!1;!t&&this.readInt(10)===null&&this.raise(S.InvalidNumber,this.state.curPosition());let l=this.state.pos-e>=2&&this.input.charCodeAt(e)===48;if(l){let f=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(S.StrictOctalLiteral,i),!this.state.strict){let m=f.indexOf("_");m>0&&this.raise(S.ZeroDigitNumericSeparator,wt(i,m))}o=l&&!/[89]/.test(f)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!o&&(++this.state.pos,this.readInt(10),r=!0,c=this.input.charCodeAt(this.state.pos)),(c===69||c===101)&&!o&&(c=this.input.charCodeAt(++this.state.pos),(c===43||c===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(S.InvalidOrMissingExponent,i),r=!0,a=!0,c=this.input.charCodeAt(this.state.pos)),c===110&&((r||l)&&this.raise(S.InvalidBigIntLiteral,i),++this.state.pos,n=!0),c===109){this.expectPlugin("decimal",this.state.curPosition()),(a||l)&&this.raise(S.InvalidDecimal,i),++this.state.pos;var u=!0}if(Fs(this.codePointAtPos(this.state.pos)))throw this.raise(S.NumberIdentifier,this.state.curPosition());let h=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(136,h);return}if(u){this.finishToken(137,h);return}let p=o?parseInt(h,8):parseFloat(h);this.finishToken(135,p)}readCodePoint(t){let{code:e,pos:i}=yA(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=i,e}readString(t){let{str:e,pos:i,curLine:r,lineStart:n}=sA(t===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=i+1,this.state.lineStart=n,this.state.curLine=r,this.finishToken(134,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let t=this.input[this.state.pos],{str:e,firstInvalidLoc:i,pos:r,curLine:n,lineStart:a}=sA("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=r+1,this.state.lineStart=a,this.state.curLine=n,i&&(this.state.firstInvalidTemplateEscapePos=new Vs(i.curLine,i.pos-i.lineStart,this.sourceToOffsetPos(i.pos))),this.input.codePointAt(r)===96?this.finishToken(24,i?null:t+e+"`"):(this.state.pos++,this.finishToken(25,i?null:t+e+"${"))}recordStrictModeErrors(t,e){let i=e.index;this.state.strict&&!this.state.strictErrors.has(i)?this.raise(t,e):this.state.strictErrors.set(i,[t,e])}readWord1(t){this.state.containsEsc=!1;let e="",i=this.state.pos,r=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos<this.length;){let n=this.codePointAtPos(this.state.pos);if(or(n))this.state.pos+=n<=65535?1:2;else if(n===92){this.state.containsEsc=!0,e+=this.input.slice(r,this.state.pos);let a=this.state.curPosition(),o=this.state.pos===i?Fs:or;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(S.MissingUnicodeEscape,this.state.curPosition()),r=this.state.pos-1;continue}++this.state.pos;let l=this.readCodePoint(!0);l!==null&&(o(l)||this.raise(S.EscapedCharNotAnIdentifier,a),e+=String.fromCodePoint(l)),r=this.state.pos}else break}return e+this.input.slice(r,this.state.pos)}readWord(t){let e=this.readWord1(t),i=qu.get(e);i!==void 0?this.finishToken(i,wi(i)):this.finishToken(132,e)}checkKeywordEscapes(){let{type:t}=this.state;eh(t)&&this.state.containsEsc&&this.raise(S.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:wi(t)})}raise(t,e,i={}){let r=e instanceof Vs?e:e.loc.start,n=t(r,i);if(!(this.optionFlags&2048))throw n;return this.isLookahead||this.state.errors.push(n),n}raiseOverwrite(t,e,i={}){let r=e instanceof Vs?e:e.loc.start,n=r.index,a=this.state.errors;for(let o=a.length-1;o>=0;o--){let l=a[o];if(l.loc.index===n)return a[o]=t(r,i);if(l.loc.index<n)break}return this.raise(t,e,i)}updateContext(t){}unexpected(t,e){throw this.raise(S.UnexpectedToken,t??this.state.startLoc,{expected:e?wi(e):null})}expectPlugin(t,e){if(this.hasPlugin(t))return!0;throw this.raise(S.MissingPlugin,e??this.state.startLoc,{missingPlugin:[t]})}expectOnePlugin(t){if(!t.some(e=>this.hasPlugin(e)))throw this.raise(S.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:t})}errorBuilder(t){return(e,i,r)=>{this.raise(t,Gn(e,i,r))}}},Fu=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},Vu=class{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Fu)}exit(){let t=this.stack.pop(),e=this.current();for(let[i,r]of Array.from(t.undefinedPrivateNames))e?e.undefinedPrivateNames.has(i)||e.undefinedPrivateNames.set(i,r):this.parser.raise(S.InvalidPrivateFieldResolution,r,{identifierName:i})}declarePrivateName(t,e,i){let{privateNames:r,loneAccessors:n,undefinedPrivateNames:a}=this.current(),o=r.has(t);if(e&3){let l=o&&n.get(t);if(l){let c=l&4,u=e&4,h=l&3,p=e&3;o=h===p||c!==u,o||n.delete(t)}else o||n.set(t,e)}o&&this.parser.raise(S.PrivateNameRedeclaration,i,{identifierName:t}),r.add(t),a.delete(t)}usePrivateName(t,e){let i;for(i of this.stack)if(i.privateNames.has(t))return;i?i.undefinedPrivateNames.set(t,e):this.parser.raise(S.InvalidPrivateFieldResolution,e,{identifierName:t})}},Wr=class{constructor(t=0){this.type=t}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},_o=class extends Wr{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,e){let i=e.index;this.declarationErrors.set(i,[t,e])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}},Uu=class{constructor(t){this.parser=void 0,this.stack=[new Wr],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,e){let i=e.loc.start,{stack:r}=this,n=r.length-1,a=r[n];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(t,i);else return;a=r[--n]}this.parser.raise(t,i)}recordArrowParameterBindingError(t,e){let{stack:i}=this,r=i[i.length-1],n=e.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(t,n);else if(r.canBeArrowParameterDeclaration())r.recordDeclarationError(t,n);else return}recordAsyncArrowParametersError(t){let{stack:e}=this,i=e.length-1,r=e[i];for(;r.canBeArrowParameterDeclaration();)r.type===2&&r.recordDeclarationError(S.AwaitBindingIdentifier,t),r=e[--i]}validateAsPattern(){let{stack:t}=this,e=t[t.length-1];e.canBeArrowParameterDeclaration()&&e.iterateErrors(([i,r])=>{this.parser.raise(i,r);let n=t.length-2,a=t[n];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(r.index),a=t[--n]})}};function y_(){return new Wr(3)}function E_(){return new _o(1)}function S_(){return new _o(2)}function EA(){return new Wr}var $u=class extends Bu{addExtra(t,e,i,r=!0){if(!t)return;let{extra:n}=t;n==null&&(n={},t.extra=n),r?n[e]=i:Object.defineProperty(n,e,{enumerable:r,value:i})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,e){if(this.input.startsWith(e,t)){let i=this.input.charCodeAt(t+e.length);return!(or(i)||(i&64512)===55296)}return!1}isLookaheadContextual(t){let e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,e){if(!this.eatContextual(t)){if(e!=null)throw this.raise(e,this.state.startLoc);this.unexpected(null,t)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return eA(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return eA(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(S.MissingSemicolon,this.state.lastTokEndLoc)}expect(t,e){this.eat(t)||this.unexpected(e,t)}tryParse(t,e=this.state.clone()){let i={node:null};try{let r=t((n=null)=>{throw i.node=n,i});if(this.state.errors.length>e.errors.length){let n=this.state;return this.state=e,this.state.tokensLength=n.tokensLength,{node:r,error:n.errors[e.errors.length],thrown:!1,aborted:!1,failState:n}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(r){let n=this.state;if(this.state=e,r instanceof SyntaxError)return{node:null,error:r,thrown:!0,aborted:!1,failState:n};if(r===i)return{node:i.node,error:null,thrown:!1,aborted:!0,failState:n};throw r}}checkExpressionErrors(t,e){if(!t)return!1;let{shorthandAssignLoc:i,doubleProtoLoc:r,privateKeyLoc:n,optionalParametersLoc:a,voidPatternLoc:o}=t,l=!!i||!!r||!!a||!!n||!!o;if(!e)return l;i!=null&&this.raise(S.InvalidCoverInitializedName,i),r!=null&&this.raise(S.DuplicateProto,r),n!=null&&this.raise(S.UnexpectedPrivateField,n),a!=null&&this.unexpected(a),o!=null&&this.raise(S.InvalidCoverDiscardElement,o)}isLiteralPropertyName(){return cA(this.state.type)}isPrivateName(t){return t.type==="PrivateName"}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return(t.type==="MemberExpression"||t.type==="OptionalMemberExpression")&&this.isPrivateName(t.property)}isObjectProperty(t){return t.type==="ObjectProperty"}isObjectMethod(t){return t.type==="ObjectMethod"}initializeScopes(t=this.options.sourceType==="module"){let e=this.state.labels;this.state.labels=[];let i=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let r=this.inModule;this.inModule=t;let n=this.scope,a=this.getScopeHandler();this.scope=new a(this,t);let o=this.prodParam;this.prodParam=new Lu;let l=this.classScope;this.classScope=new Vu(this);let c=this.expressionScope;return this.expressionScope=new Uu(this),()=>{this.state.labels=e,this.exportedIdentifiers=i,this.inModule=r,this.scope=n,this.prodParam=o,this.classScope=l,this.expressionScope=c}}enterInitialScopes(){let t=0;(this.inModule||this.optionFlags&1)&&(t|=2),this.optionFlags&32&&(t|=1);let e=!this.inModule&&this.options.sourceType==="commonjs";(e||this.optionFlags&2)&&(t|=4),this.prodParam.enter(t);let i=e?514:1;this.optionFlags&4&&(i|=512),this.scope.enter(i)}checkDestructuringPrivate(t){let{privateKeyLoc:e}=t;e!==null&&this.expectPlugin("destructuringPrivate",e)}},Kr=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}},Xr=class{constructor(t,e,i){this.type="",this.start=e,this.end=0,this.loc=new Gr(i),t?.optionFlags&128&&(this.range=[e,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}},ju=Xr.prototype;ju.__clone=function(){let s=new Xr(void 0,this.start,this.loc.start),t=Object.keys(this);for(let e=0,i=t.length;e<i;e++){let r=t[e];r!=="leadingComments"&&r!=="trailingComments"&&r!=="innerComments"&&(s[r]=this[r])}return s};var Hu=class extends $u{startNode(){let t=this.state.startLoc;return new Xr(this,t.index,t)}startNodeAt(t){return new Xr(this,t.index,t)}startNodeAtNode(t){return this.startNodeAt(t.loc.start)}finishNode(t,e){return this.finishNodeAt(t,e,this.state.lastTokEndLoc)}finishNodeAt(t,e,i){return t.type=e,t.end=i.index,t.loc.end=i,this.optionFlags&128&&(t.range[1]=i.index),this.optionFlags&4096&&this.processComment(t),t}resetStartLocation(t,e){t.start=e.index,t.loc.start=e,this.optionFlags&128&&(t.range[0]=e.index)}resetEndLocation(t,e=this.state.lastTokEndLoc){t.end=e.index,t.loc.end=e,this.optionFlags&128&&(t.range[1]=e.index)}resetStartLocationFromNode(t,e){this.resetStartLocation(t,e.loc.start)}castNodeTo(t,e){return t.type=e,t}cloneIdentifier(t){let{type:e,start:i,end:r,loc:n,range:a,name:o}=t,l=Object.create(ju);return l.type=e,l.start=i,l.end=r,l.loc=n,l.range=a,l.name=o,t.extra&&(l.extra=t.extra),l}cloneStringLiteral(t){let{type:e,start:i,end:r,loc:n,range:a,extra:o}=t,l=Object.create(ju);return l.type=e,l.start=i,l.end=r,l.loc=n,l.range=a,l.extra=o,l.value=t.value,l}},Ku=s=>s.type==="ParenthesizedExpression"?Ku(s.expression):s,Gu=class extends Hu{toAssignable(t,e=!1){var i,r;let n;switch((t.type==="ParenthesizedExpression"||(i=t.extra)!=null&&i.parenthesized)&&(n=Ku(t),e?n.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(S.InvalidParenthesizedAssignment,t):n.type!=="CallExpression"&&n.type!=="MemberExpression"&&!this.isOptionalMemberExpression(n)&&this.raise(S.InvalidParenthesizedAssignment,t):this.raise(S.InvalidParenthesizedAssignment,t)),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":break;case"ObjectExpression":this.castNodeTo(t,"ObjectPattern");for(let o=0,l=t.properties.length,c=l-1;o<l;o++){var a;let u=t.properties[o],h=o===c;this.toAssignableObjectExpressionProp(u,h,e),h&&u.type==="RestElement"&&(a=t.extra)!=null&&a.trailingCommaLoc&&this.raise(S.RestTrailingComma,t.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:o,value:l}=t;this.isPrivateName(o)&&this.classScope.usePrivateName(this.getPrivateNameSV(o),o.loc.start),this.toAssignable(l,e);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(t,"ArrayPattern"),this.toAssignableList(t.elements,(r=t.extra)==null?void 0:r.trailingCommaLoc,e);break;case"AssignmentExpression":t.operator!=="="&&this.raise(S.MissingEqInAssignment,t.left.loc.end),this.castNodeTo(t,"AssignmentPattern"),delete t.operator,t.left.type==="VoidPattern"&&this.raise(S.VoidPatternInitializer,t.left),this.toAssignable(t.left,e);break;case"ParenthesizedExpression":this.toAssignable(n,e);break}}toAssignableObjectExpressionProp(t,e,i){if(t.type==="ObjectMethod")this.raise(t.kind==="get"||t.kind==="set"?S.PatternHasAccessor:S.PatternHasMethod,t.key);else if(t.type==="SpreadElement"){this.castNodeTo(t,"RestElement");let r=t.argument;this.checkToRestConversion(r,!1),this.toAssignable(r,i),e||this.raise(S.RestTrailingComma,t)}else this.toAssignable(t,i)}toAssignableList(t,e,i){let r=t.length-1;for(let n=0;n<=r;n++){let a=t[n];a&&(this.toAssignableListItem(t,n,i),a.type==="RestElement"&&(n<r?this.raise(S.RestTrailingComma,a):e&&this.raise(S.RestTrailingComma,e)))}}toAssignableListItem(t,e,i){let r=t[e];if(r.type==="SpreadElement"){this.castNodeTo(r,"RestElement");let n=r.argument;this.checkToRestConversion(n,!0),this.toAssignable(n,i)}else this.toAssignable(r,i)}isAssignable(t,e){switch(t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":return!0;case"ObjectExpression":{let i=t.properties.length-1;return t.properties.every((r,n)=>r.type!=="ObjectMethod"&&(n===i||r.type!=="SpreadElement")&&this.isAssignable(r))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(i=>i===null||this.isAssignable(i));case"AssignmentExpression":return t.operator==="=";case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(t,e){return t}toReferencedListDeep(t,e){this.toReferencedList(t,e);for(let i of t)i?.type==="ArrayExpression"&&this.toReferencedListDeep(i.elements)}parseSpread(t){let e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){let t=this.startNode();this.next();let e=this.parseBindingAtom();return e.type==="VoidPattern"&&this.raise(S.UnexpectedVoidPattern,e),t.argument=e,this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(t,e,i){let r=i&1,n=[],a=!0;for(;!this.eat(t);)if(a?a=!1:this.expect(12),r&&this.match(12))n.push(null);else{if(this.eat(t))break;if(this.match(21)){let o=this.parseRestBinding();if((this.hasPlugin("flow")||i&2)&&(o=this.parseFunctionParamType(o)),n.push(o),!this.checkCommaAfterRest(e)){this.expect(t);break}}else{let o=[];if(i&2)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(S.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)o.push(this.parseDecorator());n.push(this.parseBindingElement(i,o))}}return n}parseBindingRestProperty(t){return this.next(),this.hasPlugin("discardBinding")&&this.match(88)?(t.argument=this.parseVoidPattern(null),this.raise(S.UnexpectedVoidPattern,t.argument)):t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){let{type:t,startLoc:e}=this.state;if(t===21)return this.parseBindingRestProperty(this.startNode());let i=this.startNode();return t===139?(this.expectPlugin("destructuringPrivate",e),this.classScope.usePrivateName(this.state.value,e),i.key=this.parsePrivateName()):this.parsePropertyName(i),i.method=!1,this.parseObjPropValue(i,e,!1,!1,!0,!1)}parseBindingElement(t,e){let i=this.parseMaybeDefault();return(this.hasPlugin("flow")||t&2)&&this.parseFunctionParamType(i),e.length&&(i.decorators=e,this.resetStartLocationFromNode(i,e[0])),this.parseMaybeDefault(i.loc.start,i)}parseFunctionParamType(t){return t}parseMaybeDefault(t,e){if(t??(t=this.state.startLoc),e=e??this.parseBindingAtom(),!this.eat(29))return e;let i=this.startNodeAt(t);return e.type==="VoidPattern"&&this.raise(S.VoidPatternInitializer,e),i.left=e,i.right=this.parseMaybeAssignAllowIn(),this.finishNode(i,"AssignmentPattern")}isValidLVal(t,e,i,r){switch(t){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties";case"VoidPattern":return!0;case"CallExpression":if(!e&&!this.state.strict&&this.optionFlags&8192)return!0}return!1}isOptionalMemberExpression(t){return t.type==="OptionalMemberExpression"}checkLVal(t,e,i=64,r=!1,n=!1,a=!1,o=!1){var l;let c=t.type;if(this.isObjectMethod(t))return;let u=this.isOptionalMemberExpression(t);if(u||c==="MemberExpression"){u&&(this.expectPlugin("optionalChainingAssign",t.loc.start),e.type!=="AssignmentExpression"&&this.raise(S.InvalidLhsOptionalChaining,t,{ancestor:e})),i!==64&&this.raise(S.InvalidPropertyBindingPattern,t);return}if(c==="Identifier"){this.checkIdentifier(t,i,n);let{name:y}=t;r&&(r.has(y)?this.raise(S.ParamDupe,t):r.add(y));return}else c==="VoidPattern"&&e.type==="CatchClause"&&this.raise(S.VoidPatternCatchClauseParam,t);let h=Ku(t);o||(o=h.type==="CallExpression"&&(h.callee.type==="Import"||h.callee.type==="Super"));let p=this.isValidLVal(c,o,!(a||(l=t.extra)!=null&&l.parenthesized)&&e.type==="AssignmentExpression",i);if(p===!0)return;if(p===!1){let y=i===64?S.InvalidLhs:S.InvalidLhsBinding;this.raise(y,t,{ancestor:e});return}let f,m;typeof p=="string"?(f=p,m=c==="ParenthesizedExpression"):[f,m]=p;let d=c==="ArrayPattern"||c==="ObjectPattern"?{type:c}:e,A=t[f];if(Array.isArray(A))for(let y of A)y&&this.checkLVal(y,d,i,r,n,m,!0);else A&&this.checkLVal(A,d,i,r,n,m,o)}checkIdentifier(t,e,i=!1){this.state.strict&&(i?mA(t.name,this.inModule):dA(t.name))&&(e===64?this.raise(S.StrictEvalArguments,t,{referenceName:t.name}):this.raise(S.StrictEvalArgumentsBinding,t,{bindingName:t.name})),e&8192&&t.name==="let"&&this.raise(S.LetInLexicalBinding,t),e&64||this.declareNameFromIdentifier(t,e)}declareNameFromIdentifier(t,e){this.scope.declareName(t.name,e,t.loc.start)}checkToRestConversion(t,e){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(S.InvalidRestAssignmentPattern,t)}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?S.RestTrailingComma:S.ElementAfterRest,this.state.startLoc),!0):!1}},Iu=/in(?:stanceof)?|as|satisfies/y;function b_(s){if(s==null)throw new Error(`Unexpected ${s} value.`);return s}function iA(s){if(!s)throw new Error("Assert fail")}var K=Bs`typescript`({AbstractMethodHasImplementation:({methodName:s})=>`Method '${s}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:s})=>`Property '${s}' 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:s})=>`'declare' is not allowed in ${s}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:s})=>`Accessibility modifier already seen: '${s}'.`,DuplicateModifier:({modifier:s})=>`Duplicate modifier: '${s}'.`,EmptyHeritageClauseType:({token:s})=>`'${s}' 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:s})=>`'${s[0]}' modifier cannot be used with '${s[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:s})=>`Index signatures cannot have an accessibility modifier ('${s}').`,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:s})=>`'${s}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:s=>`'${s}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:s})=>`'${s}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:s})=>`'${s}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:s})=>`'${s}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:s=>`'${s}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:s})=>`'${s[0]}' modifier must precede '${s[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.",NonClassMethodPropertyHasAbstractModifier:"'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:s})=>`Private elements cannot have an accessibility modifier ('${s}').`,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:s})=>`Single type parameter ${s} should have a trailing comma. Example usage: <${s},>.`,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:s})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${s}.`,UsingDeclarationInAmbientContext:s=>`'${s}' declarations are not allowed in ambient contexts.`});function T_(s){switch(s){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 rA(s){return s==="private"||s==="public"||s==="protected"}function C_(s){return s==="in"||s==="out"}var I_=s=>class extends s{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:K.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:K.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:K.InvalidModifierOnTypeParameter})}getScopeHandler(){return wu}tsIsIdentifier(){return Ae(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(e,i,r){if(!Ae(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let n=this.state.value;if(e.includes(n)){if(r&&this.match(106)||i&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return n}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:i,stopOnStartOfClassStaticBlock:r,errorTemplate:n=K.InvalidModifierOnTypeMember},a){let o=(c,u,h,p)=>{u===h&&a[p]&&this.raise(K.InvalidModifiersOrder,c,{orderedModifiers:[h,p]})},l=(c,u,h,p)=>{(a[h]&&u===p||a[p]&&u===h)&&this.raise(K.IncompatibleModifiers,c,{modifiers:[h,p]})};for(;;){let{startLoc:c}=this.state,u=this.tsParseModifier(e.concat(i??[]),r,a.static);if(!u)break;rA(u)?a.accessibility?this.raise(K.DuplicateAccessibilityModifier,c,{modifier:u}):(o(c,u,u,"override"),o(c,u,u,"static"),o(c,u,u,"readonly"),a.accessibility=u):C_(u)?(a[u]&&this.raise(K.DuplicateModifier,c,{modifier:u}),a[u]=!0,o(c,u,"in","out")):(hasOwnProperty.call(a,u)?this.raise(K.DuplicateModifier,c,{modifier:u}):(o(c,u,"static","readonly"),o(c,u,"static","override"),o(c,u,"override","readonly"),o(c,u,"abstract","override"),l(c,u,"declare","override"),l(c,u,"static","abstract")),a[u]=!0),i!=null&&i.includes(u)&&this.raise(n,c,{modifier:u})}}tsIsListTerminator(e){switch(e){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(e,i){let r=[];for(;!this.tsIsListTerminator(e);)r.push(i());return r}tsParseDelimitedList(e,i,r){return b_(this.tsParseDelimitedListWorker(e,i,!0,r))}tsParseDelimitedListWorker(e,i,r,n){let a=[],o=-1;for(;!this.tsIsListTerminator(e);){o=-1;let l=i();if(l==null)return;if(a.push(l),this.eat(12)){o=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;r&&this.expect(12);return}return n&&(n.value=o),a}tsParseBracketedList(e,i,r,n,a){n||(r?this.expect(0):this.expect(47));let o=this.tsParseDelimitedList(e,i,a);return r?this.expect(3):this.expect(48),o}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(134)?e.argument=this.parseStringLiteral(this.state.value):(this.raise(K.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom()),this.eat(12)?e.options=this.tsParseImportTypeOptions():e.options=null,this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(3)),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseImportTypeOptions(){let e=this.startNode();this.expect(5);let i=this.startNode();return this.isContextual(76)?(i.method=!1,i.key=this.parseIdentifier(!0),i.computed=!1,i.shorthand=!1):this.unexpected(null,76),this.expect(14),i.value=this.tsParseImportTypeWithPropertyValue(),e.properties=[this.finishObjectProperty(i)],this.eat(12),this.expect(8),this.finishNode(e,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){let e=this.startNode(),i=[];for(this.expect(5);!this.match(8);){let r=this.state.type;Ae(r)||r===134?i.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return e.properties=i,this.next(),this.finishNode(e,"ObjectExpression")}tsParseEntityName(e){let i;if(e&1&&this.match(78))if(e&2)i=this.parseIdentifier(!0);else{let r=this.startNode();this.next(),i=this.finishNode(r,"ThisExpression")}else i=this.parseIdentifier(!!(e&1));for(;this.eat(16);){let r=this.startNodeAtNode(i);r.left=i,r.right=this.parseIdentifier(!!(e&1)),i=this.finishNode(r,"TSQualifiedName")}return i}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let i=this.startNodeAtNode(e);return i.parameterName=e,i.typeAnnotation=this.tsParseTypeAnnotation(!1),i.asserts=!1,this.finishNode(i,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){let i=this.startNode();return e(i),i.name=this.tsParseTypeParameterName(),i.constraint=this.tsEatThenParseType(81),i.default=this.tsEatThenParseType(29),this.finishNode(i,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let i=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let r={value:-1};return i.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),i.params.length===0&&this.raise(K.EmptyTypeParameters,i),r.value!==-1&&this.addExtra(i,"trailingComma",r.value),this.finishNode(i,"TSTypeParameterDeclaration")}tsFillSignature(e,i){let r=e===19,n="parameters",a="typeAnnotation";i.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),i[n]=this.tsParseBindingListForSignature(),r?i[a]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(i[a]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){let e=super.parseBindingList(11,41,2);for(let i of e){let{type:r}=i;(r==="AssignmentPattern"||r==="TSParameterProperty")&&this.raise(K.UnsupportedSignatureParameterKind,i,{type:r})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,i){return this.tsFillSignature(14,i),this.tsParseTypeMemberSemicolon(),this.finishNode(i,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),Ae(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let i=this.parseIdentifier();i.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(i),this.expect(3),e.parameters=[i];let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,i){if(this.eat(17)&&(e.optional=!0),this.match(10)||this.match(47)){i&&this.raise(K.ReadonlyForMethodSignature,e);let r=e;r.kind&&this.match(47)&&this.raise(K.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();let n="parameters",a="typeAnnotation";if(r.kind==="get")r[n].length>0&&(this.raise(S.BadGetterArity,this.state.curPosition()),this.isThisParam(r[n][0])&&this.raise(K.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(r.kind==="set"){if(r[n].length!==1)this.raise(S.BadSetterArity,this.state.curPosition());else{let o=r[n][0];this.isThisParam(o)&&this.raise(K.AccessorCannotDeclareThisParameter,this.state.curPosition()),o.type==="Identifier"&&o.optional&&this.raise(K.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),o.type==="RestElement"&&this.raise(K.SetAccessorCannotHaveRestParameter,this.state.curPosition())}r[a]&&this.raise(K.SetAccessorCannotHaveReturnType,r[a])}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}else{let r=e;i&&(r.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(r.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let r=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(r,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);let i=this.tsTryParseIndexSignature(e);return i||(super.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e),!this.match(10)&&!this.match(47)&&this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}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(){let e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);let i=this.startNode();return i.name=this.tsParseTypeParameterName(),i.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(i,"TSTypeParameter"),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let i=!1;return e.elementTypes.forEach(r=>{let{type:n}=r;i&&n!=="TSRestType"&&n!=="TSOptionalType"&&!(n==="TSNamedTupleMember"&&r.optional)&&this.raise(K.OptionalTypeBeforeRequired,r),i||(i=n==="TSNamedTupleMember"&&r.optional||n==="TSOptionalType")}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let e=this.state.startLoc,i=this.eat(21),{startLoc:r}=this.state,n,a,o,l,u=Ss(this.state.type)?this.lookaheadCharCode():null;if(u===58)n=!0,o=!1,a=this.parseIdentifier(!0),this.expect(14),l=this.tsParseType();else if(u===63){o=!0;let h=this.state.value,p=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(n=!0,a=this.createIdentifier(this.startNodeAt(r),h),this.expect(17),this.expect(14),l=this.tsParseType()):(n=!1,l=p,this.expect(17))}else l=this.tsParseType(),o=this.eat(17),n=this.eat(14);if(n){let h;a?(h=this.startNodeAt(r),h.optional=o,h.label=a,h.elementType=l,this.eat(17)&&(h.optional=!0,this.raise(K.TupleOptionalAfterType,this.state.lastTokStartLoc))):(h=this.startNodeAt(r),h.optional=o,this.raise(K.InvalidTupleMemberLabel,l),h.label=l,h.elementType=this.tsParseType()),l=this.finishNode(h,"TSNamedTupleMember")}else if(o){let h=this.startNodeAt(r);h.typeAnnotation=l,l=this.finishNode(h,"TSOptionalType")}if(i){let h=this.startNodeAt(e);h.typeAnnotation=l,l=this.finishNode(h,"TSRestType")}return l}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,i){let r=this.startNode();return e==="TSConstructorType"&&(r.abstract=!!i,i&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,r)),this.finishNode(r,e)}tsParseLiteralTypeNode(){let e=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let e=this.startNode(),i=this.lookahead();return i.type!==135&&i.type!==136&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"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:{let{type:e}=this.state;if(Ae(e)||e===88||e===84){let i=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":T_(this.state.value);if(i!==void 0&&this.lookaheadCharCode()!==46){let r=this.startNode();return this.next(),this.finishNode(r,i)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:e}=this.state,i=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let r=this.startNodeAt(e);r.elementType=i,this.expect(3),i=this.finishNode(r,"TSArrayType")}else{let r=this.startNodeAt(e);r.objectType=i,r.indexType=this.tsParseType(),this.expect(3),i=this.finishNode(r,"TSIndexedAccessType")}return i}tsParseTypeOperator(){let e=this.startNode(),i=this.state.value;return this.next(),e.operator=i,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),i==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(K.UnexpectedReadonly,e)}}tsParseInferType(){let e=this.startNode();this.expectContextual(115);let i=this.startNode();return i.name=this.tsParseTypeParameterName(),i.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(i,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return K1(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,i,r){let n=this.startNode(),a=this.eat(r),o=[];do o.push(i());while(this.eat(r));return o.length===1&&!a?o[0]:(n.types=o,this.finishNode(n,e))}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(Ae(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,i=e.length;try{return this.parseObjectLike(8,!0),e.length===i}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,i=e.length;try{return super.parseBindingList(3,93,1),e.length===i}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(e){return this.tsInType(()=>{let i=this.startNode();this.expect(e);let r=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let l=this.tsParseThisTypeOrThisTypePredicate();return l.type==="TSThisType"?(r.parameterName=l,r.asserts=!0,r.typeAnnotation=null,l=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(l,r),l.asserts=!0),i.typeAnnotation=l,this.finishNode(i,"TSTypeAnnotation")}let a=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!a)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,r.typeAnnotation=null,i.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(i,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,i);let o=this.tsParseTypeAnnotation(!1);return r.parameterName=a,r.typeAnnotation=o,r.asserts=n,i.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(i,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let e=this.state.containsEsc;return this.next(),!Ae(this.state.type)&&!this.match(78)?!1:(e&&this.raise(S.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,i=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),i.typeAnnotation=this.tsParseType()}),this.finishNode(i,"TSTypeAnnotation")}tsParseType(){iA(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let i=this.startNodeAtNode(e);return i.checkType=e,i.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),i.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),i.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(i,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.isLookaheadContextual("new")}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(K.ReservedTypeAssertion,this.state.startLoc);let e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let i=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",()=>{let n=this.startNode();return n.expression=this.tsParseEntityName(3),this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSExpressionWithTypeArguments")});return r.length||this.raise(K.EmptyHeritageClauseType,i,{token:e}),r}tsParseInterfaceDeclaration(e,i={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),i.declare&&(e.declare=!0),Ae(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(K.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookaheadCharCode()!==46){let i=this.startNode();return this.next(),this.finishNode(i,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInTopLevelContext(e){if(this.curContext()!==de.brace){let i=this.state.context;this.state.context=[i[0]];try{return e()}finally{this.state.context=i}}else return e()}tsInType(e){let i=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=i}}tsInDisallowConditionalTypesContext(e){let i=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=i}}tsInAllowConditionalTypesContext(e){let i=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=i}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,i={}){return i.const&&(e.const=!0),i.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseEnumBody(){let e=this.startNode();return this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumBody")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,i=!1){if(e.id=this.parseIdentifier(),i||this.checkIdentifier(e.id,1024),this.eat(16)){let r=this.startNode();this.tsParseModuleOrNamespaceDeclaration(r,!0),e.body=r}else this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.kind="global",e.global=!0,e.id=this.parseIdentifier()):this.match(134)?(e.kind="module",e.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,i,r){e.isExport=r||!1,e.id=i||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);let n=this.tsParseModuleReference();return e.importKind==="type"&&n.type!=="TSExternalModuleReference"&&this.raise(K.ImportAliasHasImportType,n),e.moduleReference=n,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let i=this.state.clone(),r=e();return this.state=i,r}tsTryParseAndCatch(e){let i=this.tryParse(r=>e()||r());if(!(i.aborted||!i.node))return i.error&&(this.state=i.failState),i.node}tsTryParse(e){let i=this.state.clone(),r=e();if(r!==void 0&&r!==!1)return r;this.state=i}tsTryParseDeclare(e){if(this.isLineTerminator())return;let i=this.state.type;return this.tsInAmbientContext(()=>{switch(i){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 100:if(this.state.containsEsc)return;case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(e.declare=!0,this.parseVarStatement(e,this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 107:if(this.isUsing())return this.raise(K.InvalidModifierOnUsingDeclaration,this.state.startLoc,"declare"),e.declare=!0,this.parseVarStatement(e,"using",!0);break;case 96:if(this.isAwaitUsing())return this.raise(K.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,"declare"),e.declare=!0,this.next(),this.parseVarStatement(e,"await using",!0);break;case 129:{let r=this.tsParseInterfaceDeclaration(e,{declare:!0});if(r)return r}default:if(Ae(i))return this.tsParseDeclaration(e,this.state.type,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.type,!0,null)}tsParseDeclaration(e,i,r,n){switch(i){case 124:if(this.tsCheckLineTerminator(r)&&(this.match(80)||Ae(this.state.type)))return this.tsParseAbstractDeclaration(e,n);break;case 127:if(this.tsCheckLineTerminator(r)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(Ae(this.state.type))return e.kind="module",this.tsParseModuleOrNamespaceDeclaration(e)}break;case 128:if(this.tsCheckLineTerminator(r)&&Ae(this.state.type))return e.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(e);break;case 130:if(this.tsCheckLineTerminator(r)&&Ae(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let i=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let r=this.tsTryParseAndCatch(()=>{let n=this.startNodeAt(e);return n.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(n),n.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),n});if(this.state.maybeInArrowParameters=i,!!r)return super.parseArrowExpression(r,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0?this.raise(K.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===de.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return G1(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseBindingElement(e,i){let r=i.length?i[0].loc.start:this.state.startLoc,n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);let a=n.accessibility,o=n.override,l=n.readonly;!(e&4)&&(a||l||o)&&this.raise(K.UnexpectedParameterModifier,r);let c=this.parseMaybeDefault();e&2&&this.parseFunctionParamType(c);let u=this.parseMaybeDefault(c.loc.start,c);if(a||l||o){let h=this.startNodeAt(r);return i.length&&(h.decorators=i),a&&(h.accessibility=a),l&&(h.readonly=l),o&&(h.override=o),u.type!=="Identifier"&&u.type!=="AssignmentPattern"&&this.raise(K.UnsupportedParameterPropertyKind,h),h.parameter=u,this.finishNode(h,"TSParameterProperty")}return i.length&&(c.decorators=i),u}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let i of e.params)i.type!=="Identifier"&&i.optional&&!this.state.isAmbientContext&&this.raise(K.PatternIsOptional,i)}setArrowFunctionParameters(e,i,r){super.setArrowFunctionParameters(e,i,r),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,i,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let n=i==="FunctionDeclaration"?"TSDeclareFunction":i==="ClassMethod"||i==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,n):n==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(K.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,i,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(i=>{i?.type==="TSTypeCastExpression"&&this.raise(K.UnexpectedTypeAnnotation,i.typeAnnotation)})}toReferencedList(e,i){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,i,r){let n=super.parseArrayLike(e,i,r);return n.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(n.elements),n}parseSubscript(e,i,r,n){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let o=this.startNodeAt(i);return o.expression=e,this.finishNode(o,"TSNonNullExpression")}let a=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(r)return n.stop=!0,e;n.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let o,l=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){let p=this.tsTryParseGenericAsyncArrowFunction(i);if(p)return n.stop=!0,p}let c=this.tsParseTypeArgumentsInExpression();if(!c)return;if(a&&!this.match(10)){o=this.state.curPosition();return}if(Io(this.state.type)){let p=super.parseTaggedTemplateExpression(e,i,n);return p.typeParameters=c,p}if(!r&&this.eat(10)){let p=this.startNodeAt(i);return p.callee=e,p.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(p.arguments),p.typeParameters=c,n.optionalChainMember&&(p.optional=a),this.finishCallExpression(p,n.optionalChainMember)}let u=this.state.type;if(u===48||u===52||u!==10&&Wn(u)&&!this.hasPrecedingLineBreak())return;let h=this.startNodeAt(i);return h.expression=e,h.typeParameters=c,this.finishNode(h,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),l)return l.type==="TSInstantiationExpression"&&((this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(K.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),!this.match(16)&&!this.match(18)&&(l.expression=super.stopParseSubscript(e,n))),l}return super.parseSubscript(e,i,r,n)}parseNewCallee(e){var i;super.parseNewCallee(e);let{callee:r}=e;r.type==="TSInstantiationExpression"&&!((i=r.extra)!=null&&i.parenthesized)&&(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,i,r){let n;if(bo(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(120)))){let a=this.startNodeAt(i);return a.expression=e,a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(n&&this.raise(S.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(a,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(a,i,r)}return super.parseExprOp(e,i,r)}checkReservedWord(e,i,r,n){this.state.isAmbientContext||super.checkReservedWord(e,i,r,n)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(K.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){let i=this.lookaheadCharCode();return e?i===123||i===42:i!==61}return!e&&this.isContextual(87)}applyImportPhase(e,i,r,n){super.applyImportPhase(e,i,r,n),i?e.exportKind=r==="type"?"type":"value":e.importKind=r==="type"||r==="typeof"?r:"value"}parseImport(e){if(this.match(134))return e.importKind="value",super.parseImport(e);let i;if(Ae(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){let r=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,r);i=super.parseImportSpecifiersAndAfter(e,r)}else i=super.parseImport(e);return i.importKind==="type"&&i.specifiers.length>1&&i.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(K.TypeImportCannotSpecifyDefaultAndNamed,i),i}parseExport(e,i){if(this.match(83)){let r=e;this.next();let n=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?n=this.parseMaybeImportPhase(r,!1):r.importKind="value",this.tsParseImportEqualsDeclaration(r,n,!0)}else if(this.eat(29)){let r=e;return r.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(r,"TSExportAssignment")}else if(this.eatContextual(93)){let r=e;return this.expectContextual(128),r.id=this.parseIdentifier(),this.semicolon(),this.finishNode(r,"TSNamespaceExportDeclaration")}else return super.parseExport(e,i)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual("class")}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,i,r=!1){let{isAmbientContext:n}=this.state,a=super.parseVarStatement(e,i,r||n);if(!n)return a;if(!e.declare&&(i==="using"||i==="await using"))return this.raiseOverwrite(K.UsingDeclarationInAmbientContext,e,i),a;for(let{id:o,init:l}of a.declarations)l&&(i==="var"||i==="let"||o.typeAnnotation?this.raise(K.InitializerNotAllowedInAmbientContext,l):P_(l,this.hasPlugin("estree"))||this.raise(K.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,l));return a}parseStatementContent(e,i){if(!this.state.containsEsc)switch(this.state.type){case 75:{if(this.isLookaheadContextual("enum")){let r=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(r,{const:!0})}break}case 124:case 125:{if(this.nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine()){let r=this.state.type,n=this.startNode();this.next();let a=r===125?this.tsTryParseDeclare(n):this.tsParseAbstractDeclaration(n,i);return a?(r===125&&(a.declare=!0),a):(n.expression=this.createIdentifier(this.startNodeAt(n.loc.start),r===125?"declare":"abstract"),this.semicolon(!1),this.finishNode(n,"ExpressionStatement"))}break}case 126:return this.tsParseEnumDeclaration(this.startNode());case 112:{if(this.lookaheadCharCode()===123){let n=this.startNode();return this.tsParseAmbientExternalModuleDeclaration(n)}break}case 129:{let r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r;break}case 127:{if(this.nextTokenIsIdentifierOrStringLiteralOnSameLine()){let r=this.startNode();return this.next(),this.tsParseDeclaration(r,127,!1,i)}break}case 128:{if(this.nextTokenIsIdentifierOnSameLine()){let r=this.startNode();return this.next(),this.tsParseDeclaration(r,128,!1,i)}break}case 130:{if(this.nextTokenIsIdentifierOnSameLine()){let r=this.startNode();return this.next(),this.tsParseTypeAliasDeclaration(r)}break}}return super.parseStatementContent(e,i)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,i){return i.some(r=>rA(r)?e.accessibility===r:!!e[r])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,i,r){let n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:K.InvalidModifierOnTypeParameterPositions},i);let a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(i,n)&&this.raise(K.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,i)):this.parseClassMemberWithIsStatic(e,i,r,!!i.static)};i.declare?this.tsInAmbientContext(a):a()}parseClassMemberWithIsStatic(e,i,r,n){let a=this.tsTryParseIndexSignature(i);if(a){e.body.push(a),i.abstract&&this.raise(K.IndexSignatureHasAbstract,i),i.accessibility&&this.raise(K.IndexSignatureHasAccessibility,i,{modifier:i.accessibility}),i.declare&&this.raise(K.IndexSignatureHasDeclare,i),i.override&&this.raise(K.IndexSignatureHasOverride,i);return}!this.state.inAbstractClass&&i.abstract&&this.raise(K.NonAbstractClassHasAbstractMethod,i),i.override&&(r.hadSuperClass||this.raise(K.OverrideNotInSubClass,i)),super.parseClassMemberWithIsStatic(e,i,r,n)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(K.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(K.ClassMethodHasDeclare,e)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,i,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let n=this.lookaheadCharCode();if(n===44||n===61||n===58||n===41)return this.setOptionalParametersError(r),e}return super.parseConditional(e,i,r)}parseParenItem(e,i){let r=super.parseParenItem(e,i);if(this.eat(17)&&(r.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(i);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));let i=this.state.startLoc,r=this.eatContextual(125);if(r&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(K.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let a=Ae(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return a?((a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||r)&&(e.exportKind="type"),r&&a.type!=="TSImportEqualsDeclaration"&&(this.resetStartLocation(a,i),a.declare=!0),a):null}parseClassId(e,i,r,n){if((!i||r)&&this.isContextual(113))return;super.parseClassId(e,i,r,e.declare?1024:8331);let a=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);a&&(e.typeParameters=a)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let i=this.tsTryParseTypeAnnotation();i&&(e.typeAnnotation=i)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(K.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){let{key:i}=e;this.raise(K.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:i.type==="Identifier"&&!e.computed?i.name:`[${this.input.slice(this.offsetToSourcePos(i.start),this.offsetToSourcePos(i.end))}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(K.PrivateElementHasAbstract,e),e.accessibility&&this.raise(K.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(K.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,i,r,n,a,o){let l=this.tsTryParseTypeParameters(this.tsParseConstModifier);l&&a&&this.raise(K.ConstructorHasTypeParameters,l);let{declare:c=!1,kind:u}=i;c&&(u==="get"||u==="set")&&this.raise(K.DeclareAccessor,i,{kind:u}),l&&(i.typeParameters=l),super.pushClassMethod(e,i,r,n,a,o)}pushClassPrivateMethod(e,i,r,n){let a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(i.typeParameters=a),super.pushClassPrivateMethod(e,i,r,n)}declareClassPrivateMethodInScope(e,i){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&e.value.body==null||super.declareClassPrivateMethodInScope(e,i))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,i,r,n,a,o,l){let c=this.tsTryParseTypeParameters(this.tsParseConstModifier);return c&&(e.typeParameters=c),super.parseObjPropValue(e,i,r,n,a,o,l)}parseFunctionParams(e,i){let r=this.tsTryParseTypeParameters(this.tsParseConstModifier);r&&(e.typeParameters=r),super.parseFunctionParams(e,i)}parseVarId(e,i){super.parseVarId(e,i),e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,i){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,i)}parseMaybeAssign(e,i){var r,n,a,o,l;let c,u,h;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(c=this.state.clone(),u=this.tryParse(()=>super.parseMaybeAssign(e,i),c),!u.error)return u.node;let{context:m}=this.state,d=m[m.length-1];(d===de.j_oTag||d===de.j_expr)&&m.pop()}if(!((r=u)!=null&&r.error)&&!this.match(47))return super.parseMaybeAssign(e,i);(!c||c===this.state)&&(c=this.state.clone());let p,f=this.tryParse(m=>{var d,A;p=this.tsParseTypeParameters(this.tsParseConstModifier);let y=super.parseMaybeAssign(e,i);return(y.type!=="ArrowFunctionExpression"||(d=y.extra)!=null&&d.parenthesized)&&m(),((A=p)==null?void 0:A.params.length)!==0&&this.resetStartLocationFromNode(y,p),y.typeParameters=p,y},c);if(!f.error&&!f.aborted)return p&&this.reportReservedArrowTypeParam(p),f.node;if(!u&&(iA(!this.hasPlugin("jsx")),h=this.tryParse(()=>super.parseMaybeAssign(e,i),c),!h.error))return h.node;if((n=u)!=null&&n.node)return this.state=u.failState,u.node;if(f.node)return this.state=f.failState,p&&this.reportReservedArrowTypeParam(p),f.node;if((a=h)!=null&&a.node)return this.state=h.failState,h.node;throw((o=u)==null?void 0:o.error)||f.error||((l=h)==null?void 0:l.error)}reportReservedArrowTypeParam(e){var i;e.params.length===1&&!e.params[0].constraint&&!((i=e.extra)!=null&&i.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(K.ReservedArrowTypeParam,e)}parseMaybeUnary(e,i){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,i)}parseArrow(e){if(this.match(14)){let i=this.tryParse(r=>{let n=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&r(),n});if(i.aborted)return;i.thrown||(i.error&&(this.state=i.failState),e.returnType=i.node)}return super.parseArrow(e)}parseFunctionParamType(e){this.eat(17)&&(e.optional=!0);let i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i),this.resetEndLocation(e),e}isAssignable(e,i){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,i);case"TSParameterProperty":return!0;default:return super.isAssignable(e,i)}}toAssignable(e,i=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,i);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":i?this.expressionScope.recordArrowParameterBindingError(K.UnexpectedTypeCastInParameter,e):this.raise(K.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,i);break;case"AssignmentExpression":!i&&e.left.type==="TSTypeCastExpression"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,i)}}toAssignableParenthesizedExpression(e,i){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,i);break;default:super.toAssignable(e,i)}}checkToRestConversion(e,i){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,i)}}isValidLVal(e,i,r,n){switch(e){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(n!==64||!r)&&["expression",!0];default:return super.isValidLVal(e,i,r,n)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e,i){if(this.match(47)||this.match(51)){let r=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let n=super.parseMaybeDecoratorArguments(e,i);return n.typeParameters=r,n}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e,i)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,i){let r=super.parseMaybeDefault(e,i);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(K.TypeAnnotationAfterAssign,r.typeAnnotation),r}getTokenFromCode(e){if(this.state.inType){if(e===62){this.finishOp(48,1);return}if(e===60){this.finishOp(47,1);return}}super.getTokenFromCode(e)}reScan_lt_gt(){let{type:e}=this.state;e===47?(this.state.pos-=1,this.readToken_lt()):e===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableListItem(e,i,r){let n=e[i];n.type==="TSTypeCastExpression"&&(e[i]=this.typeCastToParameter(n)),super.toAssignableListItem(e,i,r)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every(i=>this.isAssignable(i,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let i=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());i&&(e.typeParameters=i)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let i=super.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e)[0];return n&&this.isThisParam(n)?i+1:i}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i,this.resetEndLocation(e)),e}tsInAmbientContext(e){let{isAmbientContext:i,strict:r}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=i,this.state.strict=r}}parseClass(e,i,r){let n=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,i,r)}finally{this.state.inAbstractClass=n}}tsParseAbstractDeclaration(e,i){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(i,this.parseClass(e,!0,!1));if(this.isContextual(129))return this.hasFollowingLineBreak()?null:(e.abstract=!0,this.raise(K.NonClassMethodPropertyHasAbstractModifier,e),this.tsParseInterfaceDeclaration(e));throw this.unexpected(null,80)}parseMethod(e,i,r,n,a,o,l){let c=super.parseMethod(e,i,r,n,a,o,l);if((c.abstract||c.type==="TSAbstractMethodDefinition")&&(this.hasPlugin("estree")?c.value:c).body){let{key:p}=c;this.raise(K.AbstractMethodHasImplementation,c,{methodName:p.type==="Identifier"&&!c.computed?p.name:`[${this.input.slice(this.offsetToSourcePos(p.start),this.offsetToSourcePos(p.end))}]`})}return c}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(e,i,r,n){return!i&&n?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,i,r,n))}parseImportSpecifier(e,i,r,n,a){return!i&&n?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,i,r,n,r?4098:4096))}parseTypeOnlyImportExportSpecifier(e,i,r){let n=i?"imported":"local",a=i?"local":"exported",o=e[n],l,c=!1,u=!0,h=o.loc.start;if(this.isContextual(93)){let f=this.parseIdentifier();if(this.isContextual(93)){let m=this.parseIdentifier();Ss(this.state.type)?(c=!0,o=f,l=i?this.parseIdentifier():this.parseModuleExportName(),u=!1):(l=m,u=!1)}else Ss(this.state.type)?(u=!1,l=i?this.parseIdentifier():this.parseModuleExportName()):(c=!0,o=f)}else Ss(this.state.type)&&(c=!0,i?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());c&&r&&this.raise(i?K.TypeModifierIsUsedInTypeImports:K.TypeModifierIsUsedInTypeExports,h),e[n]=o,e[a]=l;let p=i?"importKind":"exportKind";e[p]=c?"type":"value",u&&this.eatContextual(93)&&(e[a]=i?this.parseIdentifier():this.parseModuleExportName()),e[a]||(e[a]=this.cloneIdentifier(e[n])),i&&this.checkIdentifier(e[a],c?4098:4096)}fillOptionalPropertiesForTSESLint(e){var i,r,n,a,o,l,c,u,h,p,f,m,d,A,y,E,x,N,w,M,R,I,_,T,g,P,L,C,b,J,H,fe,Se,ae,Re,pt,Wt,ot,Y,zi,ro,F,Ie,B,te,be,Ue,Ee;switch(e.type){case"ExpressionStatement":(i=e.directive)!=null||(e.directive=void 0);return;case"RestElement":e.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":(r=e.decorators)!=null||(e.decorators=[]),(n=e.optional)!=null||(e.optional=!1),(a=e.typeAnnotation)!=null||(e.typeAnnotation=void 0);return;case"TSParameterProperty":(o=e.accessibility)!=null||(e.accessibility=void 0),(l=e.decorators)!=null||(e.decorators=[]),(c=e.override)!=null||(e.override=!1),(u=e.readonly)!=null||(e.readonly=!1),(h=e.static)!=null||(e.static=!1);return;case"TSEmptyBodyFunctionExpression":e.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":(p=e.declare)!=null||(e.declare=!1),(f=e.returnType)!=null||(e.returnType=void 0),(m=e.typeParameters)!=null||(e.typeParameters=void 0);return;case"Property":(d=e.optional)!=null||(e.optional=!1);return;case"TSMethodSignature":case"TSPropertySignature":(A=e.optional)!=null||(e.optional=!1);case"TSIndexSignature":(y=e.accessibility)!=null||(e.accessibility=void 0),(E=e.readonly)!=null||(e.readonly=!1),(x=e.static)!=null||(e.static=!1);return;case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":(N=e.declare)!=null||(e.declare=!1),(w=e.definite)!=null||(e.definite=!1),(M=e.readonly)!=null||(e.readonly=!1),(R=e.typeAnnotation)!=null||(e.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":(I=e.accessibility)!=null||(e.accessibility=void 0),(_=e.decorators)!=null||(e.decorators=[]),(T=e.override)!=null||(e.override=!1),(g=e.optional)!=null||(e.optional=!1);return;case"ClassExpression":(P=e.id)!=null||(e.id=null);case"ClassDeclaration":(L=e.abstract)!=null||(e.abstract=!1),(C=e.declare)!=null||(e.declare=!1),(b=e.decorators)!=null||(e.decorators=[]),(J=e.implements)!=null||(e.implements=[]),(H=e.superTypeArguments)!=null||(e.superTypeArguments=void 0),(fe=e.typeParameters)!=null||(e.typeParameters=void 0);return;case"TSTypeAliasDeclaration":case"VariableDeclaration":(Se=e.declare)!=null||(e.declare=!1);return;case"VariableDeclarator":(ae=e.definite)!=null||(e.definite=!1);return;case"TSEnumDeclaration":(Re=e.const)!=null||(e.const=!1),(pt=e.declare)!=null||(e.declare=!1);return;case"TSEnumMember":(Wt=e.computed)!=null||(e.computed=!1);return;case"TSImportType":(ot=e.qualifier)!=null||(e.qualifier=null),(Y=e.options)!=null||(e.options=null);return;case"TSInterfaceDeclaration":(zi=e.declare)!=null||(e.declare=!1),(ro=e.extends)!=null||(e.extends=[]);return;case"TSMappedType":(F=e.optional)!=null||(e.optional=!1),(Ie=e.readonly)!=null||(e.readonly=void 0);return;case"TSModuleDeclaration":(B=e.declare)!=null||(e.declare=!1),(te=e.global)!=null||(e.global=e.kind==="global");return;case"TSTypeParameter":(be=e.const)!=null||(e.const=!1),(Ue=e.in)!=null||(e.in=!1),(Ee=e.out)!=null||(e.out=!1);return}}chStartsBindingIdentifierAndNotRelationalOperator(e,i){if(Fs(e)){if(Iu.lastIndex=i,Iu.test(this.input)){let r=this.codePointAtPos(Iu.lastIndex);if(!or(r)&&r!==92)return!1}return!0}else return e===92}nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine(){let e=this.nextTokenInLineStart(),i=this.codePointAtPos(e);return this.chStartsBindingIdentifierAndNotRelationalOperator(i,e)}nextTokenIsIdentifierOrStringLiteralOnSameLine(){let e=this.nextTokenInLineStart(),i=this.codePointAtPos(e);return this.chStartsBindingIdentifier(i,e)||i===34||i===39}};function __(s){if(s.type!=="MemberExpression")return!1;let{computed:t,property:e}=s;return t&&e.type!=="StringLiteral"&&(e.type!=="TemplateLiteral"||e.expressions.length>0)?!1:bA(s.object)}function P_(s,t){var e;let{type:i}=s;if((e=s.extra)!=null&&e.parenthesized)return!1;if(t){if(i==="Literal"){let{value:r}=s;if(typeof r=="string"||typeof r=="boolean")return!0}}else if(i==="StringLiteral"||i==="BooleanLiteral")return!0;return!!(SA(s,t)||N_(s,t)||i==="TemplateLiteral"&&s.expressions.length===0||__(s))}function SA(s,t){return t?s.type==="Literal"&&(typeof s.value=="number"||"bigint"in s):s.type==="NumericLiteral"||s.type==="BigIntLiteral"}function N_(s,t){if(s.type==="UnaryExpression"){let{operator:e,argument:i}=s;if(e==="-"&&SA(i,t))return!0}return!1}function bA(s){return s.type==="Identifier"?!0:s.type!=="MemberExpression"||s.computed?!1:bA(s.object)}var nA=Bs`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),x_=s=>class extends s{parsePlaceholder(e){if(this.match(133)){let i=this.startNode();return this.next(),this.assertNoSpace(),i.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(i,e)}}finishPlaceholder(e,i){let r=e;return(!r.expectedNode||!r.type)&&(r=this.finishNode(r,"Placeholder")),r.expectedNode=i,r}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,i,r,n){e!==void 0&&super.checkReservedWord(e,i,r,n)}cloneIdentifier(e){let i=super.cloneIdentifier(e);return i.type==="Placeholder"&&(i.expectedNode=e.expectedNode),i}cloneStringLiteral(e){return e.type==="Placeholder"?this.cloneIdentifier(e):super.cloneStringLiteral(e)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,i,r,n){return e==="Placeholder"||super.isValidLVal(e,i,r,n)}toAssignable(e,i){e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?e.expectedNode="Pattern":super.toAssignable(e,i)}chStartsBindingIdentifier(e,i){if(super.chStartsBindingIdentifier(e,i))return!0;let r=this.nextTokenStart();return this.input.charCodeAt(r)===37&&this.input.charCodeAt(r+1)===37}verifyBreakContinue(e,i){var r;((r=e.label)==null?void 0:r.type)!=="Placeholder"&&super.verifyBreakContinue(e,i)}parseExpressionStatement(e,i){var r;if(i.type!=="Placeholder"||(r=i.extra)!=null&&r.parenthesized)return super.parseExpressionStatement(e,i);if(this.match(14)){let a=e;return a.label=this.finishPlaceholder(i,"Identifier"),this.next(),a.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(a,"LabeledStatement")}this.semicolon();let n=e;return n.name=i.name,this.finishPlaceholder(n,"Statement")}parseBlock(e,i,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,i,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,i,r){let n=i?"ClassDeclaration":"ClassExpression";this.next();let a=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(133)||this.match(5))e.id=o;else{if(r||!i)return e.id=null,e.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(e,n);throw this.raise(nA.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(e,i,r);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,a),this.finishNode(e,n)}parseExport(e,i){let r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,i);let n=e;if(!this.isContextual(98)&&!this.match(12))return n.specifiers=[],n.source=null,n.declaration=this.finishPlaceholder(r,"Declaration"),this.finishNode(n,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let a=this.startNode();return a.exported=r,n.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],super.parseExport(n,i)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(wi(133),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,i){var r;return(r=e.specifiers)!=null&&r.length?!0:super.maybeParseExportDefaultSpecifier(e,i)}checkExport(e){let{specifiers:i}=e;i!=null&&i.length&&(e.specifiers=i.filter(r=>r.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=i}parseImport(e){let i=this.parsePlaceholder("Identifier");if(!i)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(i,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let r=this.startNodeAtNode(i);return r.local=i,e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(nA.UnexpectedSpace,this.state.lastTokEndLoc)}},v_=s=>class extends s{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,i=this.startNode();if(this.next(),Ae(this.state.type)){let r=this.parseIdentifierName(),n=this.createIdentifier(i,r);if(this.castNodeTo(n,"V8IntrinsicIdentifier"),this.match(10))return n}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}},aA=["minimal","fsharp","hack","smart"],oA=["^^","@@","^","%","#"];function O_(s){if(s.has("decorators")){if(s.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let i=s.get("decorators").decoratorsBeforeExport;if(i!=null&&typeof i!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let r=s.get("decorators").allowCallParenthesized;if(r!=null&&typeof r!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(s.has("flow")&&s.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(s.has("placeholders")&&s.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(s.has("pipelineOperator")){var t;let i=s.get("pipelineOperator").proposal;if(!aA.includes(i)){let r=aA.map(n=>`"${n}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${r}.`)}if(i==="hack"){var e;if(s.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(s.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let r=s.get("pipelineOperator").topicToken;if(!oA.includes(r)){let n=oA.map(a=>`"${a}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${n}.`)}if(r==="#"&&((e=s.get("recordAndTuple"))==null?void 0:e.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",s.get("recordAndTuple")])}\`.`)}else if(i==="smart"&&((t=s.get("recordAndTuple"))==null?void 0:t.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",s.get("recordAndTuple")])}\`.`)}if(s.has("moduleAttributes")){if(s.has("deprecatedImportAssert")||s.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(s.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(s.has("importAssertions")&&s.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(s.has("deprecatedImportAssert")||s.has("importAttributes")&&s.get("importAttributes").deprecatedAssertSyntax&&s.set("deprecatedImportAssert",{}),s.has("recordAndTuple")){let i=s.get("recordAndTuple").syntaxType;if(i!=null){let r=["hash","bar"];if(!r.includes(i))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+r.map(n=>`'${n}'`).join(", "))}}if(s.has("asyncDoExpressions")&&!s.has("doExpressions")){let i=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw i.missingPlugins="doExpressions",i}if(s.has("optionalChainingAssign")&&s.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'.");if(s.has("discardBinding")&&s.get("discardBinding").syntaxType!=="void")throw new Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.")}var TA={estree:D1,jsx:p_,flow:l_,typescript:I_,v8intrinsic:v_,placeholders:x_},w_=Object.keys(TA),Wu=class extends Gu{checkProto(t,e,i,r){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return i;let n=t.key;return(n.type==="Identifier"?n.name:n.value)==="__proto__"?e?(this.raise(S.RecordNoProto,n),!0):(i&&(r?r.doubleProtoLoc===null&&(r.doubleProtoLoc=n.loc.start):this.raise(S.DuplicateProto,n)),!0):i}shouldExitDescending(t,e){return t.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(t.start)===e}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(S.ParseExpressionEmptyInput,this.state.startLoc);let t=this.parseExpression();if(!this.match(140))throw this.raise(S.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),t.comments=this.comments,t.errors=this.state.errors,this.optionFlags&256&&(t.tokens=this.tokens),t}parseExpression(t,e){return t?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(t){let e=this.state.startLoc,i=this.parseMaybeAssign(t);if(this.match(12)){let r=this.startNodeAt(e);for(r.expressions=[i];this.eat(12);)r.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(r.expressions),this.finishNode(r,"SequenceExpression")}return i}parseMaybeAssignDisallowIn(t,e){return this.disallowInAnd(()=>this.parseMaybeAssign(t,e))}parseMaybeAssignAllowIn(t,e){return this.allowInAnd(()=>this.parseMaybeAssign(t,e))}setOptionalParametersError(t){t.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(t,e){let i=this.state.startLoc,r=this.isContextual(108);if(r&&this.prodParam.hasYield){this.next();let l=this.parseYield(i);return e&&(l=e.call(this,l,i)),l}let n;t?n=!1:(t=new Kr,n=!0);let{type:a}=this.state;(a===10||Ae(a))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(t);if(e&&(o=e.call(this,o,i)),V1(this.state.type)){let l=this.startNodeAt(i),c=this.state.value;if(l.operator=c,this.match(29)){this.toAssignable(o,!0),l.left=o;let u=i.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=u&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=u&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=u&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null),t.voidPatternLoc!=null&&t.voidPatternLoc.index>=u&&(t.voidPatternLoc=null)}else l.left=o;return this.next(),l.right=this.parseMaybeAssign(),this.checkLVal(o,this.finishNode(l,"AssignmentExpression"),void 0,void 0,void 0,void 0,c==="||="||c==="&&="||c==="??="),l}else n&&this.checkExpressionErrors(t,!0);if(r){let{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?Wn(l):Wn(l)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(S.YieldNotInGeneratorFunction,i),this.parseYield(i)}return o}parseMaybeConditional(t){let e=this.state.startLoc,i=this.state.potentialArrowAt,r=this.parseExprOps(t);return this.shouldExitDescending(r,i)?r:this.parseConditional(r,e,t)}parseConditional(t,e,i){if(this.eat(17)){let r=this.startNodeAt(e);return r.test=t,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){let e=this.state.startLoc,i=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(r,i)?r:this.parseExprOp(r,e,-1)}parseExprOp(t,e,i){if(this.isPrivateName(t)){let n=this.getPrivateNameSV(t);(i>=bo(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(S.PrivateInExpectedIn,t,{identifierName:n}),this.classScope.usePrivateName(n,t.loc.start)}let r=this.state.type;if($1(r)&&(this.prodParam.hasIn||!this.match(58))){let n=bo(r);if(n>i){if(r===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,e)}let a=this.startNodeAt(e);a.left=t,a.operator=this.state.value;let o=r===41||r===42,l=r===40;if(l&&(n=bo(42)),this.next(),r===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(S.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);a.right=this.parseExprOpRightExpr(r,n);let c=this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression"),u=this.state.type;if(l&&(u===41||u===42)||o&&u===40)throw this.raise(S.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,e,i)}}return t}parseExprOpRightExpr(t,e){let i=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(S.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,e),i)});default:return this.parseExprOpBaseRightExpr(t,e)}}parseExprOpBaseRightExpr(t,e){let i=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),i,W1(t)?e-1:e)}parseHackPipeBody(){var t;let{startLoc:e}=this.state,i=this.parseMaybeAssign();return N1.has(i.type)&&!((t=i.extra)!=null&&t.parenthesized)&&this.raise(S.PipeUnparenthesizedBody,e,{type:i.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(S.PipeTopicUnused,e),i}checkExponentialAfterUnary(t){this.match(57)&&this.raise(S.UnexpectedTokenUnaryExponentiation,t.argument)}parseMaybeUnary(t,e){let i=this.state.startLoc,r=this.isContextual(96);if(r&&this.recordAwaitIfAllowed()){this.next();let l=this.parseAwait(i);return e||this.checkExponentialAfterUnary(l),l}let n=this.match(34),a=this.startNode();if(H1(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let l=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&l){let c=a.argument;c.type==="Identifier"?this.raise(S.StrictDelete,a):this.hasPropertyAsPrivateName(c)&&this.raise(S.DeletePrivateField,a)}if(!n)return e||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}let o=this.parseUpdate(a,n,t);if(r){let{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?Wn(l):Wn(l)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(S.AwaitNotInAsyncContext,i),this.parseAwait(i)}return o}parseUpdate(t,e,i){if(e){let a=t;return this.checkLVal(a.argument,this.finishNode(a,"UpdateExpression")),t}let r=this.state.startLoc,n=this.parseExprSubscripts(i);if(this.checkExpressionErrors(i,!1))return n;for(;j1(this.state.type)&&!this.canInsertSemicolon();){let a=this.startNodeAt(r);a.operator=this.state.value,a.prefix=!1,a.argument=n,this.next(),this.checkLVal(n,n=this.finishNode(a,"UpdateExpression"))}return n}parseExprSubscripts(t){let e=this.state.startLoc,i=this.state.potentialArrowAt,r=this.parseExprAtom(t);return this.shouldExitDescending(r,i)?r:this.parseSubscripts(r,e)}parseSubscripts(t,e,i){let r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,e,i,r),r.maybeAsyncArrow=!1;while(!r.stop);return t}parseSubscript(t,e,i,r){let{type:n}=this.state;if(!i&&n===15)return this.parseBind(t,e,i,r);if(Io(n))return this.parseTaggedTemplateExpression(t,e,r);let a=!1;if(n===18){if(i&&(this.raise(S.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(t,r);r.optionalChainMember=a=!0,this.next()}if(!i&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,e,r,a);{let o=this.eat(0);return o||a||this.eat(16)?this.parseMember(t,e,r,o,a):this.stopParseSubscript(t,r)}}stopParseSubscript(t,e){return e.stop=!0,t}parseMember(t,e,i,r,n){let a=this.startNodeAt(e);return a.object=t,a.computed=r,r?(a.property=this.parseExpression(),this.expect(3)):this.match(139)?(t.type==="Super"&&this.raise(S.SuperPrivateField,e),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),i.optionalChainMember?(a.optional=n,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(t,e,i,r){let n=this.startNodeAt(e);return n.object=t,this.next(),n.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),e,i)}parseCoverCallAndAsyncArrowHead(t,e,i,r){let n=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(e);o.callee=t;let{maybeAsyncArrow:l,optionalChainMember:c}=i;l&&(this.expressionScope.enter(S_()),a=new Kr),c&&(o.optional=r),r?o.arguments=this.parseCallExpressionArguments():o.arguments=this.parseCallExpressionArguments(t.type!=="Super",o,a);let u=this.finishCallExpression(o,c);return l&&this.shouldParseAsyncArrow()&&!r?(i.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),u=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),u)):(l&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(u)),this.state.maybeInArrowParameters=n,u}toReferencedArguments(t,e){this.toReferencedListDeep(t.arguments,e)}parseTaggedTemplateExpression(t,e,i){let r=this.startNodeAt(e);return r.tag=t,r.quasi=this.parseTemplate(!0),i.optionalChainMember&&this.raise(S.OptionalChainingNoTemplate,e),this.finishNode(r,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&this.offsetToSourcePos(t.start)===this.state.potentialArrowAt}finishCallExpression(t,e){if(t.callee.type==="Import")if(t.arguments.length===0||t.arguments.length>2)this.raise(S.ImportCallArity,t);else for(let i of t.arguments)i.type==="SpreadElement"&&this.raise(S.ImportCallSpreadArgument,i);return this.finishNode(t,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,e,i){let r=[],n=!0,a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(n)n=!1;else if(this.expect(12),this.match(11)){e&&this.addTrailingCommaExtraToNode(e),this.next();break}r.push(this.parseExprListItem(11,!1,i,t))}return this.state.inFSharpPipelineDirectBody=a,r}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,e){var i;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(t,e.arguments,!0,(i=e.extra)==null?void 0:i.trailingCommaLoc),e.innerComments&&Yn(t,e.innerComments),e.callee.trailingComments&&Yn(t,e.callee.trailingComments),t}parseNoCallExpr(){let t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let e,i=null,{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(e):this.match(10)?this.optionFlags&512?this.parseImportCall(e):this.finishNode(e,"Import"):(this.raise(S.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"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:{let n=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(n)}case 0:return this.parseArrayLike(3,!1,t);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:i=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(i,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;let n=e.callee=this.parseNoCallExpr();if(n.type==="MemberExpression")return this.finishNode(e,"BindExpression");throw this.raise(S.UnsupportedBind,n)}case 139:return this.raise(S.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let n=this.getPluginOption("pipelineOperator","proposal");if(n)return this.parseTopicReference(n);throw this.unexpected()}case 47:{let n=this.input.codePointAt(this.nextTokenStart());throw Fs(n)||n===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected()}default:if(r===137)return this.parseDecimalLiteral(this.state.value);if(r===2||r===1)return this.parseArrayLike(this.state.type===2?4:3,!0);if(r===6||r===7)return this.parseObjectLike(this.state.type===6?9:8,!1,!0);if(Ae(r)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let n=this.state.potentialArrowAt===this.state.start,a=this.state.containsEsc,o=this.parseIdentifier();if(!a&&o.name==="async"&&!this.canInsertSemicolon()){let{type:l}=this.state;if(l===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(Ae(l))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(o)):o;if(l===90)return this.resetPreviousNodeTrailingComments(o),this.parseDo(this.startNodeAtNode(o),!0)}return n&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else throw this.unexpected()}}parseTopicReferenceThenEqualsSign(t,e){let i=this.getPluginOption("pipelineOperator","proposal");if(i)return this.state.type=t,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=wt(this.state.endLoc,-1),this.parseTopicReference(i);throw this.unexpected()}parseTopicReference(t){let e=this.startNode(),i=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(e,i,t,r)}finishTopicReference(t,e,i,r){if(this.testTopicReferenceConfiguration(i,e,r))return i==="hack"?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(S.PipeTopicUnbound,e),this.registerTopicReference(),this.finishNode(t,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(S.PrimaryTopicNotAllowed,e),this.registerTopicReference(),this.finishNode(t,"PipelinePrimaryTopicReference"));throw this.raise(S.PipeTopicUnconfiguredToken,e,{token:wi(r)})}testTopicReferenceConfiguration(t,e,i){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:wi(i)}]);case"smart":return i===27;default:throw this.raise(S.PipeTopicRequiresHackPipes,e)}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(To(!0,this.prodParam.hasYield));let e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(S.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(t,e,!0)}parseDo(t,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),t.async=e,this.next();let i=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=i,this.finishNode(t,"DoExpression")}parseSuper(){let t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper?this.optionFlags&16||this.raise(S.SuperNotAllowed,t):this.scope.allowSuper||this.optionFlags&16||this.raise(S.UnexpectedSuper,t),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(S.UnsupportedSuper,t),this.finishNode(t,"Super")}parsePrivateName(){let t=this.startNode(),e=this.startNodeAt(wt(this.state.startLoc,1)),i=this.state.value;return this.next(),t.id=this.createIdentifier(e,i),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){let t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,e,"sent")}return this.parseFunction(t)}parseMetaProperty(t,e,i){t.meta=e;let r=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==i||r)&&this.raise(S.UnsupportedMetaProperty,t.property,{target:e.name,onlyValidPropertyName:i}),this.finishNode(t,"MetaProperty")}parseImportMetaPropertyOrPhaseCall(t){if(this.next(),this.isContextual(105)||this.isContextual(97)){let e=this.isContextual(105);return this.expectPlugin(e?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),t.phase=e?"source":"defer",this.parseImportCall(t)}else{let e=this.createIdentifierAt(this.startNodeAtNode(t),"import",this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(S.ImportMetaOutsideModule,e),this.sawUnambiguousESM=!0),this.parseMetaProperty(t,e,"meta")}}parseLiteralAtNode(t,e,i){return this.addExtra(i,"rawValue",t),this.addExtra(i,"raw",this.input.slice(this.offsetToSourcePos(i.start),this.state.end)),i.value=t,this.next(),this.finishNode(i,e)}parseLiteral(t,e){let i=this.startNode();return this.parseLiteralAtNode(t,e,i)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){let e=this.startNode();return this.addExtra(e,"raw",this.input.slice(this.offsetToSourcePos(e.start),this.state.end)),e.pattern=t.pattern,e.flags=t.flags,this.next(),this.finishNode(e,"RegExpLiteral")}parseBooleanLiteral(t){let e=this.startNode();return e.value=t,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){let t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){let e=this.state.startLoc,i;this.next(),this.expressionScope.enter(E_());let r=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,o=[],l=new Kr,c=!0,u,h;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,l.optionalParametersLoc===null?null:l.optionalParametersLoc),this.match(11)){h=this.state.startLoc;break}if(this.match(21)){let m=this.state.startLoc;if(u=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),m)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowInOrVoidPattern(11,l,this.parseParenItem))}let p=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=n;let f=this.startNodeAt(e);return t&&this.shouldParseArrow(o)&&(f=this.parseArrow(f))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(f,o,!1),f):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),h&&this.unexpected(h),u&&this.unexpected(u),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(o,!0),o.length>1?(i=this.startNodeAt(a),i.expressions=o,this.finishNode(i,"SequenceExpression"),this.resetEndLocation(i,p)):i=o[0],this.wrapParenthesis(e,i))}wrapParenthesis(t,e){if(!(this.optionFlags&1024))return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",t.index),this.takeSurroundingComments(e,t.index,this.state.lastTokEndLoc.index),e;let i=this.startNodeAt(t);return i.expression=e,this.finishNode(i,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,e){return t}parseNewOrNewTarget(){let t=this.startNode();if(this.next(),this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();let i=this.parseMetaProperty(t,e,"target");return this.scope.allowNewTarget||this.raise(S.UnexpectedNewTarget,i),i}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){let e=this.parseExprList(11);this.toReferencedList(e),t.arguments=e}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){let e=this.match(83),i=this.parseNoCallExpr();t.callee=i,e&&(i.type==="Import"||i.type==="ImportExpression")&&this.raise(S.ImportCallNotNewExpression,i)}parseTemplateElement(t){let{start:e,startLoc:i,end:r,value:n}=this.state,a=e+1,o=this.startNodeAt(wt(i,1));n===null&&(t||this.raise(S.InvalidEscapeSequenceTemplate,wt(this.state.firstInvalidTemplateEscapePos,1)));let l=this.match(24),c=l?-1:-2,u=r+c;o.value={raw:this.input.slice(a,u).replace(/\r\n?/g,`
|
|
12
|
-
`),cooked:n===null?null:n.slice(1,c)},o.tail=l,this.next();let h=this.finishNode(o,"TemplateElement");return this.resetEndLocation(h,wt(this.state.lastTokEndLoc,c)),h}parseTemplate(t){let e=this.startNode(),i=this.parseTemplateElement(t),r=[i],n=[];for(;!i.tail;)n.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.push(i=this.parseTemplateElement(t));return e.expressions=n,e.quasis=r,this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,e,i,r){i&&this.expectPlugin("recordAndTuple");let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=!1,o=!0,l=this.startNode();for(l.properties=[],this.next();!this.match(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(l);break}let u;e?u=this.parseBindingProperty():(u=this.parsePropertyDefinition(r),a=this.checkProto(u,i,a,r)),i&&!this.isObjectProperty(u)&&u.type!=="SpreadElement"&&this.raise(S.InvalidRecordProperty,u),u.shorthand&&this.addExtra(u,"shorthand",!0),l.properties.push(u)}this.next(),this.state.inFSharpPipelineDirectBody=n;let c="ObjectExpression";return e?c="ObjectPattern":i&&(c="RecordExpression"),this.finishNode(l,c)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(S.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());let i=this.startNode(),r=!1,n=!1,a;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(i.decorators=e,e=[]),i.method=!1,t&&(a=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(i);let l=this.state.containsEsc;if(this.parsePropertyName(i,t),!o&&!l&&this.maybeAsyncOrAccessorProp(i)){let{key:c}=i,u=c.name;u==="async"&&!this.hasPrecedingLineBreak()&&(r=!0,this.resetPreviousNodeTrailingComments(c),o=this.eat(55),this.parsePropertyName(i)),(u==="get"||u==="set")&&(n=!0,this.resetPreviousNodeTrailingComments(c),i.kind=u,this.match(55)&&(o=!0,this.raise(S.AccessorIsGenerator,this.state.curPosition(),{kind:u}),this.next()),this.parsePropertyName(i))}return this.parseObjPropValue(i,a,o,r,!1,n,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var e;let i=this.getGetterSetterExpectedParamCount(t),r=this.getObjectOrClassMethodParams(t);r.length!==i&&this.raise(t.kind==="get"?S.BadGetterArity:S.BadSetterArity,t),t.kind==="set"&&((e=r[r.length-1])==null?void 0:e.type)==="RestElement"&&this.raise(S.BadSetterRestParameter,t)}parseObjectMethod(t,e,i,r,n){if(n){let a=this.parseMethod(t,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(a),a}if(i||e||this.match(10))return r&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,e,i,!1,!1,"ObjectMethod")}parseObjectProperty(t,e,i,r){if(t.shorthand=!1,this.eat(14))return t.value=i?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,r),this.finishObjectProperty(t);if(!t.computed&&t.key.type==="Identifier"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),i)t.value=this.parseMaybeDefault(e,this.cloneIdentifier(t.key));else if(this.match(29)){let n=this.state.startLoc;r!=null?r.shorthandAssignLoc===null&&(r.shorthandAssignLoc=n):this.raise(S.InvalidCoverInitializedName,n),t.value=this.parseMaybeDefault(e,this.cloneIdentifier(t.key))}else t.value=this.cloneIdentifier(t.key);return t.shorthand=!0,this.finishObjectProperty(t)}}finishObjectProperty(t){return this.finishNode(t,"ObjectProperty")}parseObjPropValue(t,e,i,r,n,a,o){let l=this.parseObjectMethod(t,i,r,n,a)||this.parseObjectProperty(t,e,n,o);return l||this.unexpected(),l}parsePropertyName(t,e){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:i,value:r}=this.state,n;if(Ss(i))n=this.parseIdentifier(!0);else switch(i){case 135:n=this.parseNumericLiteral(r);break;case 134:n=this.parseStringLiteral(r);break;case 136:n=this.parseBigIntLiteral(r);break;case 139:{let a=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=a):this.raise(S.UnexpectedPrivateField,a),n=this.parsePrivateName();break}default:if(i===137){n=this.parseDecimalLiteral(r);break}this.unexpected()}t.key=n,i!==139&&(t.computed=!1)}}initFunction(t,e){t.id=null,t.generator=!1,t.async=e}parseMethod(t,e,i,r,n,a,o=!1){this.initFunction(t,i),t.generator=e,this.scope.enter(530|(o?576:0)|(n?32:0)),this.prodParam.enter(To(i,t.generator)),this.parseFunctionParams(t,r);let l=this.parseFunctionBodyAndFinish(t,a,!0);return this.prodParam.exit(),this.scope.exit(),l}parseArrayLike(t,e,i){e&&this.expectPlugin("recordAndTuple");let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=this.startNode();return this.next(),n.elements=this.parseExprList(t,!e,i,n),this.state.inFSharpPipelineDirectBody=r,this.finishNode(n,e?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,e,i,r){this.scope.enter(518);let n=To(i,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=8),this.prodParam.enter(n),this.initFunction(t,i);let a=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,e,i){this.toAssignableList(e,i,!1),t.params=e}parseFunctionBodyAndFinish(t,e,i=!1){return this.parseFunctionBody(t,!1,i),this.finishNode(t,e)}parseFunctionBody(t,e,i=!1){let r=e&&!this.match(5);if(this.expressionScope.enter(EA()),r)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{let n=this.state.strict,a=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),t.body=this.parseBlock(!0,!1,o=>{let l=!this.isSimpleParamList(t.params);o&&l&&this.raise(S.IllegalLanguageModeDirective,(t.kind==="method"||t.kind==="constructor")&&t.key?t.key.loc.end:t);let c=!n&&this.state.strict;this.checkParams(t,!this.state.strict&&!e&&!i&&!l,e,c),this.state.strict&&t.id&&this.checkIdentifier(t.id,65,c)}),this.prodParam.exit(),this.state.labels=a}this.expressionScope.exit()}isSimpleParameter(t){return t.type==="Identifier"}isSimpleParamList(t){for(let e=0,i=t.length;e<i;e++)if(!this.isSimpleParameter(t[e]))return!1;return!0}checkParams(t,e,i,r=!0){let n=!e&&new Set,a={type:"FormalParameters"};for(let o of t.params)this.checkLVal(o,a,5,n,r)}parseExprList(t,e,i,r){let n=[],a=!0;for(;!this.eat(t);){if(a)a=!1;else if(this.expect(12),this.match(t)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}n.push(this.parseExprListItem(t,e,i))}return n}parseExprListItem(t,e,i,r){let n;if(this.match(12))e||this.raise(S.UnexpectedToken,this.state.curPosition(),{unexpected:","}),n=null;else if(this.match(21)){let a=this.state.startLoc;n=this.parseParenItem(this.parseSpread(i),a)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(S.UnexpectedArgumentPlaceholder,this.state.startLoc);let a=this.startNode();this.next(),n=this.finishNode(a,"ArgumentPlaceholder")}else n=this.parseMaybeAssignAllowInOrVoidPattern(t,i,this.parseParenItem);return n}parseIdentifier(t){let e=this.startNode(),i=this.parseIdentifierName(t);return this.createIdentifier(e,i)}createIdentifier(t,e){return t.name=e,t.loc.identifierName=e,this.finishNode(t,"Identifier")}createIdentifierAt(t,e,i){return t.name=e,t.loc.identifierName=e,this.finishNodeAt(t,"Identifier",i)}parseIdentifierName(t){let e,{startLoc:i,type:r}=this.state;Ss(r)?e=this.state.value:this.unexpected();let n=B1(r);return t?n&&this.replaceToken(132):this.checkReservedWord(e,i,n,!1),this.next(),e}checkReservedWord(t,e,i,r){if(t.length>10||!s_(t))return;if(i&&Z1(t)){this.raise(S.UnexpectedKeyword,e,{keyword:t});return}if((this.state.strict?r?mA:fA:pA)(t,this.inModule)){this.raise(S.UnexpectedReservedWord,e,{reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(S.YieldBindingIdentifier,e);return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(S.AwaitBindingIdentifier,e);return}if(this.scope.inStaticBlock){this.raise(S.AwaitBindingIdentifierInStaticBlock,e);return}this.expressionScope.recordAsyncArrowParametersError(e)}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(S.ArgumentsInClass,e);return}}recordAwaitIfAllowed(){let t=this.prodParam.hasAwait;return t&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),t}parseAwait(t){let e=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(S.AwaitExpressionFormalParameter,e),this.eat(55)&&this.raise(S.ObsoleteAwaitStar,e),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;let{type:t}=this.state;return t===53||t===10||t===0||Io(t)||t===102&&!this.state.containsEsc||t===138||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(t){let e=this.startNodeAt(t);this.expressionScope.recordParameterInitializerError(S.YieldInParameter,e);let i=!1,r=null;if(!this.hasPrecedingLineBreak())switch(i=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!i)break;default:r=this.parseMaybeAssign()}return e.delegate=i,e.argument=r,this.finishNode(e,"YieldExpression")}parseImportCall(t){if(this.next(),t.source=this.parseMaybeAssignAllowIn(),t.options=null,this.eat(12)){if(this.match(11))this.addTrailingCommaExtraToNode(t.source);else if(t.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(t.options),!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(S.ImportCallArity,t)}}return this.expect(11),this.finishNode(t,"ImportExpression")}checkPipelineAtInfixOperator(t,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(S.PipelineHeadSequenceExpression,e)}parseSmartPipelineBodyInStyle(t,e){if(this.isSimpleReference(t)){let i=this.startNodeAt(e);return i.callee=t,this.finishNode(i,"PipelineBareFunction")}else{let i=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),i.expression=t,this.finishNode(i,"PipelineTopicExpression")}}isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(S.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(S.PipelineTopicUnused,t)}withTopicBindingContext(t){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}else return t()}withSoloAwaitPermittingContext(t){let e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}allowInAnd(t){let e=this.prodParam.currentFlags();if(8&~e){this.prodParam.enter(e|8);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){let e=this.prodParam.currentFlags();if(8&e){this.prodParam.enter(e&-9);try{return t()}finally{this.prodParam.exit()}}return t()}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(t){let e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,t);return this.state.inFSharpPipelineDirectBody=i,r}parseModuleExpression(){this.expectPlugin("moduleBlocks");let t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let e=this.startNodeAt(this.state.endLoc);this.next();let i=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(e,8,"module")}finally{i()}return this.finishNode(t,"ModuleExpression")}parseVoidPattern(t){this.expectPlugin("discardBinding");let e=this.startNode();return t!=null&&(t.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(e,"VoidPattern")}parseMaybeAssignAllowInOrVoidPattern(t,e,i){if(e!=null&&this.match(88)){let r=this.lookaheadCharCode();if(r===44||r===(t===3?93:t===8?125:41)||r===61)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(e))}return this.parseMaybeAssignAllowIn(e,i)}parsePropertyNamePrefixOperator(t){}},_u={kind:1},L_={kind:2},M_=/[\uD800-\uDFFF]/u,Pu=/in(?:stanceof)?/y;function D_(s,t,e){for(let i=0;i<s.length;i++){let r=s[i],{type:n}=r;if(typeof n=="number"){if(n===139){let{loc:a,start:o,value:l,end:c}=r,u=o+1,h=wt(a.start,1);s.splice(i,1,new ks({type:si(27),value:"#",start:o,end:u,startLoc:a.start,endLoc:h}),new ks({type:si(132),value:l,start:u,end:c,startLoc:h,endLoc:a.end})),i++;continue}if(Io(n)){let{loc:a,start:o,value:l,end:c}=r,u=o+1,h=wt(a.start,1),p;t.charCodeAt(o-e)===96?p=new ks({type:si(22),value:"`",start:o,end:u,startLoc:a.start,endLoc:h}):p=new ks({type:si(8),value:"}",start:o,end:u,startLoc:a.start,endLoc:h});let f,m,d,A;n===24?(m=c-1,d=wt(a.end,-1),f=l===null?null:l.slice(1,-1),A=new ks({type:si(22),value:"`",start:m,end:c,startLoc:d,endLoc:a.end})):(m=c-2,d=wt(a.end,-2),f=l===null?null:l.slice(1,-2),A=new ks({type:si(23),value:"${",start:m,end:c,startLoc:d,endLoc:a.end})),s.splice(i,1,p,new ks({type:si(20),value:f,start:u,end:m,startLoc:h,endLoc:d}),A),i+=2;continue}r.type=si(n)}}return s}var Xu=class extends Wu{parseTopLevel(t,e){return t.program=this.parseProgram(e,140,this.options.sourceType==="module"?"module":"script"),t.comments=this.comments,this.optionFlags&256&&(t.tokens=D_(this.tokens,this.input,this.startIndex)),this.finishNode(t,"File")}parseProgram(t,e,i){if(t.sourceType=i,t.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(t,!0,!0,e),this.inModule){if(!(this.optionFlags&64)&&this.scope.undefinedExports.size>0)for(let[n,a]of Array.from(this.scope.undefinedExports))this.raise(S.ModuleExportUndefined,a,{localName:n});this.addExtra(t,"topLevelAwait",this.state.hasTopLevelAwait)}let r;return e===140?r=this.finishNode(t,"Program"):r=this.finishNodeAt(t,"Program",wt(this.state.startLoc,-1)),r}stmtToDirective(t){let e=this.castNodeTo(t,"Directive"),i=this.castNodeTo(t.expression,"DirectiveLiteral"),r=i.value,n=this.input.slice(this.offsetToSourcePos(i.start),this.offsetToSourcePos(i.end)),a=i.value=n.slice(1,-1);return this.addExtra(i,"raw",n),this.addExtra(i,"rawValue",a),this.addExtra(i,"expressionValue",r),e.value=i,delete t.expression,e}parseInterpreterDirective(){if(!this.match(28))return null;let t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}isUsing(){return this.isContextual(107)?this.nextTokenIsIdentifierOnSameLine():!1}isForUsing(){if(!this.isContextual(107))return!1;let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);if(this.isUnparsedContextual(t,"of")){let i=this.lookaheadCharCodeSince(t+2);if(i!==61&&i!==58&&i!==59)return!1}return!!(this.chStartsBindingIdentifier(e,t)||this.isUnparsedContextual(t,"void"))}nextTokenIsIdentifierOnSameLine(){let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return this.chStartsBindingIdentifier(e,t)}isAwaitUsing(){if(!this.isContextual(96))return!1;let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);let e=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(e,t))return!0}return!1}chStartsBindingIdentifier(t,e){if(Fs(t)){if(Pu.lastIndex=e,Pu.test(this.input)){let i=this.codePointAtPos(Pu.lastIndex);if(!or(i)&&i!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){let t=this.nextTokenStart(),e=this.codePointAtPos(t);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,t)}hasInLineFollowingBindingIdentifierOrBrace(){let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return e===123||this.chStartsBindingIdentifier(e,t)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,t&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(t,e)}parseStatementContent(t,e){let i=this.state.type,r=this.startNode(),n=!!(t&2),a=!!(t&4),o=t&1;switch(i){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?S.StrictFunction:this.options.annexB?S.SloppyFunctionAnnexB:S.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!n&&a);case 80:return n||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(this.isAwaitUsing())return this.allowsUsing()?n?this.recordAwaitIfAllowed()||this.raise(S.AwaitUsingNotInAsyncContext,r):this.raise(S.UnexpectedLexicalDeclaration,r):this.raise(S.UnexpectedUsingDeclaration,r),this.next(),this.parseVarStatement(r,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?n||this.raise(S.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(S.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(r,"using");case 100:{if(this.state.containsEsc)break;let u=this.nextTokenStart(),h=this.codePointAtPos(u);if(h!==91&&(!n&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(h,u)&&h!==123))break}case 75:n||this.raise(S.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let u=this.state.value;return this.parseVarStatement(r,u)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{let u=this.lookaheadCharCode();if(u===40||u===46)break}case 82:{!(this.optionFlags&8)&&!o&&this.raise(S.UnexpectedImportExport,this.state.startLoc),this.next();let u;return i===83?u=this.parseImport(r):u=this.parseExport(r,e),this.assertModuleNodeAllowed(u),u}default:if(this.isAsyncFunction())return n||this.raise(S.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!n&&a)}let l=this.state.value,c=this.parseExpression();return Ae(i)&&c.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(r,l,c,t):this.parseExpressionStatement(r,c,e)}assertModuleNodeAllowed(t){!(this.optionFlags&8)&&!this.inModule&&this.raise(S.ImportOutsideModule,t)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,e,i){if(t){var r;(r=e.decorators)!=null&&r.length?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(S.DecoratorsBeforeAfterExport,e.decorators[0]),e.decorators.unshift(...t)):e.decorators=t,this.resetStartLocationFromNode(e,t[0]),i&&this.resetStartLocationFromNode(i,e)}return e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){let e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(S.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(S.UnexpectedLeadingDecorator,this.state.startLoc);return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let t=this.startNode();if(this.next(),this.hasPlugin("decorators")){let e=this.state.startLoc,i;if(this.match(10)){let r=this.state.startLoc;this.next(),i=this.parseExpression(),this.expect(11),i=this.wrapParenthesis(r,i);let n=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(i,r),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==i&&this.raise(S.DecoratorArgumentsOutsideParentheses,n)}else{for(i=this.parseIdentifier(!1);this.eat(16);){let r=this.startNodeAt(e);r.object=i,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),r.property=this.parsePrivateName()):r.property=this.parseIdentifier(!0),r.computed=!1,i=this.finishNode(r,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(i,e)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t,e){if(this.eat(10)){let i=this.startNodeAt(e);return i.callee=t,i.arguments=this.parseCallExpressionArguments(),this.toReferencedList(i.arguments),this.finishNode(i,"CallExpression")}return t}parseBreakContinueStatement(t,e){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,e){let i;for(i=0;i<this.state.labels.length;++i){let r=this.state.labels[i];if((t.label==null||r.name===t.label.name)&&(r.kind!=null&&(e||r.kind===1)||t.label&&e))break}if(i===this.state.labels.length){let r=e?"BreakStatement":"ContinueStatement";this.raise(S.IllegalBreakContinue,t,{type:r})}}parseDebuggerStatement(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let t=this.parseExpression();return this.expect(11),t}parseDoWhileStatement(t){return this.next(),this.state.labels.push(_u),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,"DoWhileStatement")}parseForStatement(t){this.next(),this.state.labels.push(_u);let e=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(e=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(t,null);let i=this.isContextual(100);{let l=this.isAwaitUsing(),c=l||this.isForUsing(),u=i&&this.hasFollowingBindingAtom()||c;if(this.match(74)||this.match(75)||u){let h=this.startNode(),p;l?(p="await using",this.recordAwaitIfAllowed()||this.raise(S.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):p=this.state.value,this.next(),this.parseVar(h,!0,p);let f=this.finishNode(h,"VariableDeclaration"),m=this.match(58);return m&&c&&this.raise(S.ForInUsing,f),(m||this.isContextual(102))&&f.declarations.length===1?this.parseForIn(t,f,e):(e!==null&&this.unexpected(e),this.parseFor(t,f))}}let r=this.isContextual(95),n=new Kr,a=this.parseExpression(!0,n),o=this.isContextual(102);if(o&&(i&&this.raise(S.ForOfLet,a),e===null&&r&&a.type==="Identifier"&&this.raise(S.ForOfAsync,a)),o||this.match(58)){this.checkDestructuringPrivate(n),this.toAssignable(a,!0);let l=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{type:l}),this.parseForIn(t,a,e)}else this.checkExpressionErrors(n,!0);return e!==null&&this.unexpected(e),this.parseFor(t,a)}parseFunctionStatement(t,e,i){return this.next(),this.parseFunction(t,1|(i?2:0)|(e?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,"IfStatement")}parseReturnStatement(t){return this.prodParam.hasReturn||this.raise(S.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();let e=t.cases=[];this.expect(5),this.state.labels.push(L_),this.scope.enter(256);let i;for(let r;!this.match(8);)if(this.match(61)||this.match(65)){let n=this.match(61);i&&this.finishNode(i,"SwitchCase"),e.push(i=this.startNode()),i.consequent=[],this.next(),n?i.test=this.parseExpression():(r&&this.raise(S.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),r=!0,i.test=null),this.expect(14)}else i?i.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),i&&this.finishNode(i,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(S.NewlineAfterThrow,this.state.lastTokEndLoc),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){let t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type==="Identifier"?8:0),this.checkLVal(t,{type:"CatchClause"},9),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){let e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(0)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(S.NoCatchOrFinally,t),this.finishNode(t,"TryStatement")}parseVarStatement(t,e,i=!1){return this.next(),this.parseVar(t,!1,e,i),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(_u),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(S.StrictWith,this.state.startLoc),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,e,i,r){for(let a of this.state.labels)a.name===e&&this.raise(S.LabelRedeclaration,i,{labelName:e});let n=U1(this.state.type)?1:this.match(71)?2:null;for(let a=this.state.labels.length-1;a>=0;a--){let o=this.state.labels[a];if(o.statementStart===t.start)o.statementStart=this.sourceToOffsetPos(this.state.start),o.kind=n;else break}return this.state.labels.push({name:e,kind:n,statementStart:this.sourceToOffsetPos(this.state.start)}),t.body=r&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=i,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,e,i){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,e=!0,i){let r=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(0),this.parseBlockBody(r,t,!1,8,i),e&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,e,i,r,n){let a=t.body=[],o=t.directives=[];this.parseBlockOrModuleBlockBody(a,e?o:void 0,i,r,n)}parseBlockOrModuleBlockBody(t,e,i,r,n){let a=this.state.strict,o=!1,l=!1;for(;!this.match(r);){let c=i?this.parseModuleItem():this.parseStatementListItem();if(e&&!l){if(this.isValidDirective(c)){let u=this.stmtToDirective(c);e.push(u),!o&&u.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}l=!0,this.state.strictErrors.clear()}t.push(c)}n?.call(this,o),a||this.setStrict(!1),this.next()}parseFor(t,e){return t.init=e,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}parseForIn(t,e,i){let r=this.match(58);return this.next(),r?i!==null&&this.unexpected(i):t.await=i!==null,e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!r||!this.options.annexB||this.state.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(S.ForInOfLoopInitializer,e,{type:r?"ForInStatement":"ForOfStatement"}),e.type==="AssignmentPattern"&&this.raise(S.InvalidLhs,e,{ancestor:{type:"ForStatement"}}),t.left=e,t.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,r?"ForInStatement":"ForOfStatement")}parseVar(t,e,i,r=!1){let n=t.declarations=[];for(t.kind=i;;){let a=this.startNode();if(this.parseVarId(a,i),a.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,a.init===null&&!r&&(a.id.type!=="Identifier"&&!(e&&(this.match(58)||this.isContextual(102)))?this.raise(S.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(i==="const"||i==="using"||i==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(S.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:i})),n.push(this.finishNode(a,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,e){let i=this.parseBindingAtom();e==="using"||e==="await using"?(i.type==="ArrayPattern"||i.type==="ObjectPattern")&&this.raise(S.UsingDeclarationHasBindingPattern,i.loc.start):i.type==="VoidPattern"&&this.raise(S.UnexpectedVoidPattern,i.loc.start),this.checkLVal(i,{type:"VariableDeclarator"},e==="var"?5:8201),t.id=i}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,e=0){let i=e&2,r=!!(e&1),n=r&&!(e&4),a=!!(e&8);this.initFunction(t,a),this.match(55)&&(i&&this.raise(S.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),t.generator=!0),r&&(t.id=this.parseFunctionId(n));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(To(a,t.generator)),r||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,r?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),r&&!i&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,t}parseFunctionId(t){return t||Ae(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,e){this.expect(10),this.expressionScope.enter(y_()),t.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?5:8201:17,t.id.loc.start)}parseClass(t,e,i){this.next();let r=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,i),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,r),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(t){return t.type==="Identifier"&&t.name==="constructor"||t.type==="StringLiteral"&&t.value==="constructor"}isNonstaticConstructor(t){return!t.computed&&!t.static&&this.nameIsConstructor(t.key)}parseClassBody(t,e){this.classScope.enter();let i={hadConstructor:!1,hadSuperClass:t},r=[],n=this.startNode();if(n.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(S.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){r.push(this.parseDecorator());continue}let a=this.startNode();r.length&&(a.decorators=r,this.resetStartLocationFromNode(a,r[0]),r=[]),this.parseClassMember(n,a,i),a.kind==="constructor"&&a.decorators&&a.decorators.length>0&&this.raise(S.DecoratorConstructor,a)}}),this.state.strict=e,this.next(),r.length)throw this.raise(S.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(t,e){let i=this.parseIdentifier(!0);if(this.isClassMethod()){let r=e;return r.kind="method",r.computed=!1,r.key=i,r.static=!1,this.pushClassMethod(t,r,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let r=e;return r.computed=!1,r.key=i,r.static=!1,t.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(i),!1}parseClassMember(t,e,i){let r=this.isContextual(106);if(r){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(5)){this.parseClassStaticBlock(t,e);return}}this.parseClassMemberWithIsStatic(t,e,i,r)}parseClassMemberWithIsStatic(t,e,i,r){let n=e,a=e,o=e,l=e,c=e,u=n,h=n;if(e.static=r,this.parsePropertyNamePrefixOperator(e),this.eat(55)){u.kind="method";let y=this.match(139);if(this.parseClassElementName(u),this.parsePostMemberNameModifiers(u),y){this.pushClassPrivateMethod(t,a,!0,!1);return}this.isNonstaticConstructor(n)&&this.raise(S.ConstructorIsGenerator,n.key),this.pushClassMethod(t,n,!0,!1,!1,!1);return}let p=!this.state.containsEsc&&Ae(this.state.type),f=this.parseClassElementName(e),m=p?f.name:null,d=this.isPrivateName(f),A=this.state.startLoc;if(this.parsePostMemberNameModifiers(h),this.isClassMethod()){if(u.kind="method",d){this.pushClassPrivateMethod(t,a,!1,!1);return}let y=this.isNonstaticConstructor(n),E=!1;y&&(n.kind="constructor",i.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(S.DuplicateConstructor,f),y&&this.hasPlugin("typescript")&&e.override&&this.raise(S.OverrideOnConstructor,f),i.hadConstructor=!0,E=i.hadSuperClass),this.pushClassMethod(t,n,!1,!1,y,E)}else if(this.isClassProperty())d?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o);else if(m==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(f);let y=this.eat(55);h.optional&&this.unexpected(A),u.kind="method";let E=this.match(139);this.parseClassElementName(u),this.parsePostMemberNameModifiers(h),E?this.pushClassPrivateMethod(t,a,y,!0):(this.isNonstaticConstructor(n)&&this.raise(S.ConstructorIsAsync,n.key),this.pushClassMethod(t,n,y,!0,!1,!1))}else if((m==="get"||m==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(f),u.kind=m;let y=this.match(139);this.parseClassElementName(n),y?this.pushClassPrivateMethod(t,a,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(S.ConstructorIsAccessor,n.key),this.pushClassMethod(t,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}else if(m==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(f);let y=this.match(139);this.parseClassElementName(o),this.pushClassAccessorProperty(t,c,y)}else this.isLineTerminator()?d?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o):this.unexpected()}parseClassElementName(t){let{type:e,value:i}=this.state;if((e===132||e===134)&&t.static&&i==="prototype"&&this.raise(S.StaticPrototype,this.state.startLoc),e===139){i==="constructor"&&this.raise(S.ConstructorClassPrivateField,this.state.startLoc);let r=this.parsePrivateName();return t.key=r,r}return this.parsePropertyName(t),t.key}parseClassStaticBlock(t,e){var i;this.scope.enter(720);let r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let n=e.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,t.body.push(this.finishNode(e,"StaticBlock")),(i=e.decorators)!=null&&i.length&&this.raise(S.DecoratorStaticBlock,e)}pushClassProperty(t,e){!e.computed&&this.nameIsConstructor(e.key)&&this.raise(S.ConstructorClassField,e.key),t.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(t,e){let i=this.parseClassPrivateProperty(e);t.body.push(i),this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),0,i.key.loc.start)}pushClassAccessorProperty(t,e,i){!i&&!e.computed&&this.nameIsConstructor(e.key)&&this.raise(S.ConstructorClassField,e.key);let r=this.parseClassAccessorProperty(e);t.body.push(r),i&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(t,e,i,r,n,a){t.body.push(this.parseMethod(e,i,r,n,a,"ClassMethod",!0))}pushClassPrivateMethod(t,e,i,r){let n=this.parseMethod(e,i,r,!1,!1,"ClassPrivateMethod",!0);t.body.push(n);let a=n.kind==="get"?n.static?6:2:n.kind==="set"?n.static?5:1:0;this.declareClassPrivateMethodInScope(n,a)}declareClassPrivateMethodInScope(t,e){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),e,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}parseInitializer(t){this.scope.enter(592),this.expressionScope.enter(EA()),this.prodParam.enter(0),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,e,i,r=8331){if(Ae(this.state.type))t.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(t.id,r);else if(i||!e)t.id=null;else throw this.raise(S.MissingClassName,this.state.startLoc)}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,e){let i=this.parseMaybeImportPhase(t,!0),r=this.maybeParseExportDefaultSpecifier(t,i),n=!r||this.eat(12),a=n&&this.eatExportStar(t),o=a&&this.maybeParseExportNamespaceSpecifier(t),l=n&&(!o||this.eat(12)),c=r||a;if(a&&!o){if(r&&this.unexpected(),e)throw this.raise(S.UnsupportedDecoratorExport,t);return this.parseExportFrom(t,!0),this.sawUnambiguousESM=!0,this.finishNode(t,"ExportAllDeclaration")}let u=this.maybeParseExportNamedSpecifiers(t);r&&n&&!a&&!u&&this.unexpected(null,5),o&&l&&this.unexpected(null,98);let h;if(c||u){if(h=!1,e)throw this.raise(S.UnsupportedDecoratorExport,t);this.parseExportFrom(t,c)}else h=this.maybeParseExportDeclaration(t);if(c||u||h){var p;let f=t;if(this.checkExport(f,!0,!1,!!f.source),((p=f.declaration)==null?void 0:p.type)==="ClassDeclaration")this.maybeTakeDecorators(e,f.declaration,f);else if(e)throw this.raise(S.UnsupportedDecoratorExport,t);return this.sawUnambiguousESM=!0,this.finishNode(f,"ExportNamedDeclaration")}if(this.eat(65)){let f=t,m=this.parseExportDefaultExpression();if(f.declaration=m,m.type==="ClassDeclaration")this.maybeTakeDecorators(e,m,f);else if(e)throw this.raise(S.UnsupportedDecoratorExport,t);return this.checkExport(f,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(f,"ExportDefaultDeclaration")}throw this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",e?.loc.start);let i=e||this.parseIdentifier(!0),r=this.startNodeAtNode(i);return r.exported=i,t.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){var e,i;(i=(e=t).specifiers)!=null||(e.specifiers=[]);let r=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),r.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(r,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){let e=t;e.specifiers||(e.specifiers=[]);let i=e.exportKind==="type";return e.specifiers.push(...this.parseExportSpecifiers(i)),e.source=null,this.hasPlugin("importAssertions")?e.assertions=[]:e.attributes=[],e.declaration=null,!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")?t.assertions=[]:t.attributes=[],t.declaration=this.parseExportDeclaration(t),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){let t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(S.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(S.UnsupportedDefaultExport,this.state.startLoc);let e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:t}=this.state;if(Ae(t)){if(t===95&&!this.state.containsEsc||t===100)return!1;if((t===130||t===129)&&!this.state.containsEsc){let r=this.nextTokenStart(),n=this.input.charCodeAt(r);if(n===123||this.chStartsBindingIdentifier(n,r)&&!this.input.startsWith("from",r))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let e=this.nextTokenStart(),i=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||Ae(this.state.type)&&i)return!0;if(this.match(65)&&i){let r=this.input.charCodeAt(this.nextTokenStartSince(e+4));return r===34||r===39}return!1}parseExportFrom(t,e){this.eatContextual(98)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:t}=this.state;return t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(S.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()?(this.raise(S.UsingDeclarationExport,this.state.startLoc),!0):this.isAwaitUsing()?(this.raise(S.UsingDeclarationExport,this.state.startLoc),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,e,i,r){if(e){var n;if(i){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var a;let o=t.declaration;o.type==="Identifier"&&o.name==="from"&&o.end-o.start===4&&!((a=o.extra)!=null&&a.parenthesized)&&this.raise(S.ExportDefaultFromAsIdentifier,o)}}else if((n=t.specifiers)!=null&&n.length)for(let o of t.specifiers){let{exported:l}=o,c=l.type==="Identifier"?l.name:l.value;if(this.checkDuplicateExports(o,c),!r&&o.local){let{local:u}=o;u.type!=="Identifier"?this.raise(S.ExportBindingIsString,o,{localName:u.value,exportName:c}):(this.checkReservedWord(u.name,u.loc.start,!0,!1),this.scope.checkLocalExport(u))}}else if(t.declaration){let o=t.declaration;if(o.type==="FunctionDeclaration"||o.type==="ClassDeclaration"){let{id:l}=o;if(!l)throw new Error("Assertion failure");this.checkDuplicateExports(t,l.name)}else if(o.type==="VariableDeclaration")for(let l of o.declarations)this.checkDeclaration(l.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(let e of t.properties)this.checkDeclaration(e);else if(t.type==="ArrayPattern")for(let e of t.elements)e&&this.checkDeclaration(e);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,e){this.exportedIdentifiers.has(e)&&(e==="default"?this.raise(S.DuplicateDefaultExport,t):this.raise(S.DuplicateExport,t,{exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(t){let e=[],i=!0;for(this.expect(5);!this.eat(8);){if(i)i=!1;else if(this.expect(12),this.eat(8))break;let r=this.isContextual(130),n=this.match(134),a=this.startNode();a.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(a,n,t,r))}return e}parseExportSpecifier(t,e,i,r){return this.eatContextual(93)?t.exported=this.parseModuleExportName():e?t.exported=this.cloneStringLiteral(t.local):t.exported||(t.exported=this.cloneIdentifier(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let t=this.parseStringLiteral(this.state.value),e=M_.exec(t.value);return e&&this.raise(S.ModuleExportNameHasLoneSurrogate,t,{surrogateCharCode:e[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:e,value:i})=>i.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")):!1}checkImportReflection(t){let{specifiers:e}=t,i=e.length===1?e[0].type:null;if(t.phase==="source")i!=="ImportDefaultSpecifier"&&this.raise(S.SourcePhaseImportRequiresDefault,e[0].loc.start);else if(t.phase==="defer")i!=="ImportNamespaceSpecifier"&&this.raise(S.DeferImportRequiresNamespace,e[0].loc.start);else if(t.module){var r;i!=="ImportDefaultSpecifier"&&this.raise(S.ImportReflectionNotBinding,e[0].loc.start),((r=t.assertions)==null?void 0:r.length)>0&&this.raise(S.ImportReflectionHasAssertion,e[0].loc.start)}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!=="ExportAllDeclaration"){let{specifiers:e}=t;if(e!=null){let i=e.find(r=>{let n;if(r.type==="ExportSpecifier"?n=r.local:r.type==="ImportSpecifier"&&(n=r.imported),n!==void 0)return n.type==="Identifier"?n.name!=="default":n.value!=="default"});i!==void 0&&this.raise(S.ImportJSONBindingNotDefault,i.loc.start)}}}isPotentialImportPhase(t){return t?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(t,e,i,r){e||(i==="module"?(this.expectPlugin("importReflection",r),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1),i==="source"?(this.expectPlugin("sourcePhaseImports",r),t.phase="source"):i==="defer"?(this.expectPlugin("deferredImportEvaluation",r),t.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(t.phase=null))}parseMaybeImportPhase(t,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(t,e,null),null;let i=this.startNode(),r=this.parseIdentifierName(!0),{type:n}=this.state;return(Ss(n)?n!==98||this.lookaheadCharCode()===102:n!==12)?(this.applyImportPhase(t,e,r,i.loc.start),null):(this.applyImportPhase(t,e,null),this.createIdentifier(i,r))}isPrecedingIdImportPhase(t){let{type:e}=this.state;return Ae(e)?e!==98||this.lookaheadCharCode()===102:e!==12}parseImport(t){return this.match(134)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,e){t.specifiers=[];let r=!this.maybeParseDefaultImportSpecifier(t,e)||this.eat(12),n=r&&this.maybeParseStarImportSpecifier(t);return r&&!n&&this.parseNamedImportSpecifiers(t),this.expectContextual(98),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){var e;return(e=t.specifiers)!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,e,i){e.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,i))}finishImportSpecifier(t,e,i=8201){return this.checkLVal(t.local,{type:e},i),this.finishNode(t,e)}parseImportAttributes(){this.expect(5);let t=[],e=new Set;do{if(this.match(8))break;let i=this.startNode(),r=this.state.value;if(e.has(r)&&this.raise(S.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),e.add(r),this.match(134)?i.key=this.parseStringLiteral(r):i.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(S.ModuleAttributeInvalidValue,this.state.startLoc);i.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){let t=[],e=new Set;do{let i=this.startNode();if(i.key=this.parseIdentifier(!0),i.key.name!=="type"&&this.raise(S.ModuleAttributeDifferentFromType,i.key),e.has(i.key.name)&&this.raise(S.ModuleAttributesWithDuplicateKeys,i.key,{key:i.key.name}),e.add(i.key.name),this.expect(14),!this.match(134))throw this.raise(S.ModuleAttributeInvalidValue,this.state.startLoc);i.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let e;var i=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?(e=this.parseModuleAttributes(),this.addExtra(t,"deprecatedWithLegacySyntax",!0)):e=this.parseImportAttributes(),i=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions")&&this.raise(S.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(t,"deprecatedAssertSyntax",!0),this.next(),e=this.parseImportAttributes()):e=[];!i&&this.hasPlugin("importAssertions")?t.assertions=e:t.attributes=e}maybeParseDefaultImportSpecifier(t,e){if(e){let i=this.startNodeAtNode(e);return i.local=e,t.specifiers.push(this.finishImportSpecifier(i,"ImportDefaultSpecifier")),!0}else if(Ss(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){let e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(S.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let i=this.startNode(),r=this.match(134),n=this.isContextual(130);i.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(i,r,t.importKind==="type"||t.importKind==="typeof",n,void 0);t.specifiers.push(a)}}parseImportSpecifier(t,e,i,r,n){if(this.eatContextual(93))t.local=this.parseIdentifier();else{let{imported:a}=t;if(e)throw this.raise(S.ImportBindingIsString,t,{importName:a.value});this.checkReservedWord(a.name,t.loc.start,!0,!0),t.local||(t.local=this.cloneIdentifier(a))}return this.finishImportSpecifier(t,"ImportSpecifier",n)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}},Po=class extends Xu{constructor(t,e,i){let r=L1(t);super(r,e),this.options=r,this.initializeScopes(),this.plugins=i,this.filename=r.sourceFilename,this.startIndex=r.startIndex;let n=0;r.allowAwaitOutsideFunction&&(n|=1),r.allowReturnOutsideFunction&&(n|=2),r.allowImportExportEverywhere&&(n|=8),r.allowSuperOutsideMethod&&(n|=16),r.allowUndeclaredExports&&(n|=64),r.allowNewTargetOutsideFunction&&(n|=4),r.allowYieldOutsideFunction&&(n|=32),r.ranges&&(n|=128),r.tokens&&(n|=256),r.createImportExpressions&&(n|=512),r.createParenthesizedExpressions&&(n|=1024),r.errorRecovery&&(n|=2048),r.attachComment&&(n|=4096),r.annexB&&(n|=8192),this.optionFlags=n}getScopeHandler(){return Jn}parse(){this.enterInitialScopes();let t=this.startNode(),e=this.startNode();this.nextToken(),t.errors=null;let i=this.parseTopLevel(t,e);return i.errors=this.state.errors,i.comments.length=this.state.commentsLen,i}};function R_(s,t){var e;if(((e=t)==null?void 0:e.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let i=Xn(t,s),r=i.parse();if(i.sawUnambiguousESM)return r;if(i.ambiguousScriptDifferentAst)try{return t.sourceType="script",Xn(t,s).parse()}catch{}else r.program.sourceType="script";return r}catch(i){try{return t.sourceType="script",Xn(t,s).parse()}catch{}throw i}}else return Xn(t,s).parse()}function k_(s,t){let e=Xn(t,s);return e.options.strictMode&&(e.state.strict=!0),e.getExpression()}function B_(s){let t={};for(let e of Object.keys(s))t[e]=si(s[e]);return t}var F_=B_(k1);function Xn(s,t){let e=Po,i=new Map;if(s!=null&&s.plugins){for(let r of s.plugins){let n,a;typeof r=="string"?n=r:[n,a]=r,i.has(n)||i.set(n,a||{})}O_(i),e=V_(i)}return new e(s,t,i)}var lA=new Map;function V_(s){let t=[];for(let r of w_)s.has(r)&&t.push(r);let e=t.join("|"),i=lA.get(e);if(!i){i=Po;for(let r of t)i=TA[r](i);lA.set(e,i)}return i}zn.parse=R_;zn.parseExpression=k_;zn.tokTypes=F_});var rh=D((No,CA)=>{(function(s,t){typeof No=="object"&&typeof CA<"u"?t(No):typeof define=="function"&&define.amd?define(["exports"],t):(s=s||self,t(s.estreeWalker={}))})(No,(function(s){"use strict";class t{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:o=>this.replacement=o}}replace(o,l,c,u){o&&(c!==null?o[l][c]=u:o[l]=u)}remove(o,l,c){o&&(c!==null?o[l].splice(c,1):delete o[l])}}class e extends t{constructor(o,l){super(),this.enter=o,this.leave=l}visit(o,l,c,u){if(o){if(this.enter){let h=this.should_skip,p=this.should_remove,f=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,o,l,c,u),this.replacement&&(o=this.replacement,this.replace(l,c,u,o)),this.should_remove&&this.remove(l,c,u);let m=this.should_skip,d=this.should_remove;if(this.should_skip=h,this.should_remove=p,this.replacement=f,m)return o;if(d)return null}for(let h in o){let p=o[h];if(typeof p=="object")if(Array.isArray(p))for(let f=0;f<p.length;f+=1)p[f]!==null&&typeof p[f].type=="string"&&(this.visit(p[f],o,h,f)||f--);else p!==null&&typeof p.type=="string"&&this.visit(p,o,h,null)}if(this.leave){let h=this.replacement,p=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,o,l,c,u),this.replacement&&(o=this.replacement,this.replace(l,c,u,o)),this.should_remove&&this.remove(l,c,u);let f=this.should_remove;if(this.replacement=h,this.should_remove=p,f)return null}}return o}}class i extends t{constructor(o,l){super(),this.enter=o,this.leave=l}async visit(o,l,c,u){if(o){if(this.enter){let h=this.should_skip,p=this.should_remove,f=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,await this.enter.call(this.context,o,l,c,u),this.replacement&&(o=this.replacement,this.replace(l,c,u,o)),this.should_remove&&this.remove(l,c,u);let m=this.should_skip,d=this.should_remove;if(this.should_skip=h,this.should_remove=p,this.replacement=f,m)return o;if(d)return null}for(let h in o){let p=o[h];if(typeof p=="object")if(Array.isArray(p))for(let f=0;f<p.length;f+=1)p[f]!==null&&typeof p[f].type=="string"&&(await this.visit(p[f],o,h,f)||f--);else p!==null&&typeof p.type=="string"&&await this.visit(p,o,h,null)}if(this.leave){let h=this.replacement,p=this.should_remove;this.replacement=null,this.should_remove=!1,await this.leave.call(this.context,o,l,c,u),this.replacement&&(o=this.replacement,this.replace(l,c,u,o)),this.should_remove&&this.remove(l,c,u);let f=this.should_remove;if(this.replacement=h,this.should_remove=p,f)return null}}return o}}function r(a,{enter:o,leave:l}){return new e(o,l).visit(a,null)}async function n(a,{enter:o,leave:l}){return await new i(o,l).visit(a,null)}s.asyncWalk=n,s.walk=r,Object.defineProperty(s,"__esModule",{value:!0})}))});var _A=D(nh=>{var IA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");nh.encode=function(s){if(0<=s&&s<IA.length)return IA[s];throw new TypeError("Must be between 0 and 63: "+s)};nh.decode=function(s){var t=65,e=90,i=97,r=122,n=48,a=57,o=43,l=47,c=26,u=52;return t<=s&&s<=e?s-t:i<=s&&s<=r?s-i+c:n<=s&&s<=a?s-n+u:s==o?62:s==l?63:-1}});var lh=D(oh=>{var PA=_A(),ah=5,NA=1<<ah,xA=NA-1,vA=NA;function U_(s){return s<0?(-s<<1)+1:(s<<1)+0}function $_(s){var t=(s&1)===1,e=s>>1;return t?-e:e}oh.encode=function(t){var e="",i,r=U_(t);do i=r&xA,r>>>=ah,r>0&&(i|=vA),e+=PA.encode(i);while(r>0);return e};oh.decode=function(t,e,i){var r=t.length,n=0,a=0,o,l;do{if(e>=r)throw new Error("Expected more digits in base 64 VLQ value.");if(l=PA.decode(t.charCodeAt(e++)),l===-1)throw new Error("Invalid base64 digit: "+t.charAt(e-1));o=!!(l&vA),l&=xA,n=n+(l<<a),a+=ah}while(o);i.value=$_(n),i.rest=e}});var Qr=D(ct=>{function j_(s,t,e){if(t in s)return s[t];if(arguments.length===3)return e;throw new Error('"'+t+'" is a required argument.')}ct.getArg=j_;var OA=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,H_=/^data:.+\,.+$/;function Zn(s){var t=s.match(OA);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}ct.urlParse=Zn;function qr(s){var t="";return s.scheme&&(t+=s.scheme+":"),t+="//",s.auth&&(t+=s.auth+"@"),s.host&&(t+=s.host),s.port&&(t+=":"+s.port),s.path&&(t+=s.path),t}ct.urlGenerate=qr;var K_=32;function G_(s){var t=[];return function(e){for(var i=0;i<t.length;i++)if(t[i].input===e){var r=t[0];return t[0]=t[i],t[i]=r,t[0].result}var n=s(e);return t.unshift({input:e,result:n}),t.length>K_&&t.pop(),n}}var ch=G_(function(t){var e=t,i=Zn(t);if(i){if(!i.path)return t;e=i.path}for(var r=ct.isAbsolute(e),n=[],a=0,o=0;;)if(a=o,o=e.indexOf("/",a),o===-1){n.push(e.slice(a));break}else for(n.push(e.slice(a,o));o<e.length&&e[o]==="/";)o++;for(var l,c=0,o=n.length-1;o>=0;o--)l=n[o],l==="."?n.splice(o,1):l===".."?c++:c>0&&(l===""?(n.splice(o+1,c),c=0):(n.splice(o,2),c--));return e=n.join("/"),e===""&&(e=r?"/":"."),i?(i.path=e,qr(i)):e});ct.normalize=ch;function wA(s,t){s===""&&(s="."),t===""&&(t=".");var e=Zn(t),i=Zn(s);if(i&&(s=i.path||"/"),e&&!e.scheme)return i&&(e.scheme=i.scheme),qr(e);if(e||t.match(H_))return t;if(i&&!i.host&&!i.path)return i.host=t,qr(i);var r=t.charAt(0)==="/"?t:ch(s.replace(/\/+$/,"")+"/"+t);return i?(i.path=r,qr(i)):r}ct.join=wA;ct.isAbsolute=function(s){return s.charAt(0)==="/"||OA.test(s)};function W_(s,t){s===""&&(s="."),s=s.replace(/\/$/,"");for(var e=0;t.indexOf(s+"/")!==0;){var i=s.lastIndexOf("/");if(i<0||(s=s.slice(0,i),s.match(/^([^\/]+:\/)?\/*$/)))return t;++e}return Array(e+1).join("../")+t.substr(s.length+1)}ct.relative=W_;var LA=(function(){var s=Object.create(null);return!("__proto__"in s)})();function MA(s){return s}function X_(s){return DA(s)?"$"+s:s}ct.toSetString=LA?MA:X_;function q_(s){return DA(s)?s.slice(1):s}ct.fromSetString=LA?MA:q_;function DA(s){if(!s)return!1;var t=s.length;if(t<9||s.charCodeAt(t-1)!==95||s.charCodeAt(t-2)!==95||s.charCodeAt(t-3)!==111||s.charCodeAt(t-4)!==116||s.charCodeAt(t-5)!==111||s.charCodeAt(t-6)!==114||s.charCodeAt(t-7)!==112||s.charCodeAt(t-8)!==95||s.charCodeAt(t-9)!==95)return!1;for(var e=t-10;e>=0;e--)if(s.charCodeAt(e)!==36)return!1;return!0}function Q_(s,t,e){var i=ri(s.source,t.source);return i!==0||(i=s.originalLine-t.originalLine,i!==0)||(i=s.originalColumn-t.originalColumn,i!==0||e)||(i=s.generatedColumn-t.generatedColumn,i!==0)||(i=s.generatedLine-t.generatedLine,i!==0)?i:ri(s.name,t.name)}ct.compareByOriginalPositions=Q_;function J_(s,t,e){var i;return i=s.originalLine-t.originalLine,i!==0||(i=s.originalColumn-t.originalColumn,i!==0||e)||(i=s.generatedColumn-t.generatedColumn,i!==0)||(i=s.generatedLine-t.generatedLine,i!==0)?i:ri(s.name,t.name)}ct.compareByOriginalPositionsNoSource=J_;function Y_(s,t,e){var i=s.generatedLine-t.generatedLine;return i!==0||(i=s.generatedColumn-t.generatedColumn,i!==0||e)||(i=ri(s.source,t.source),i!==0)||(i=s.originalLine-t.originalLine,i!==0)||(i=s.originalColumn-t.originalColumn,i!==0)?i:ri(s.name,t.name)}ct.compareByGeneratedPositionsDeflated=Y_;function z_(s,t,e){var i=s.generatedColumn-t.generatedColumn;return i!==0||e||(i=ri(s.source,t.source),i!==0)||(i=s.originalLine-t.originalLine,i!==0)||(i=s.originalColumn-t.originalColumn,i!==0)?i:ri(s.name,t.name)}ct.compareByGeneratedPositionsDeflatedNoLine=z_;function ri(s,t){return s===t?0:s===null?1:t===null?-1:s>t?1:-1}function Z_(s,t){var e=s.generatedLine-t.generatedLine;return e!==0||(e=s.generatedColumn-t.generatedColumn,e!==0)||(e=ri(s.source,t.source),e!==0)||(e=s.originalLine-t.originalLine,e!==0)||(e=s.originalColumn-t.originalColumn,e!==0)?e:ri(s.name,t.name)}ct.compareByGeneratedPositionsInflated=Z_;function eP(s){return JSON.parse(s.replace(/^\)]}'[^\n]*\n/,""))}ct.parseSourceMapInput=eP;function tP(s,t,e){if(t=t||"",s&&(s[s.length-1]!=="/"&&t[0]!=="/"&&(s+="/"),t=s+t),e){var i=Zn(e);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var r=i.path.lastIndexOf("/");r>=0&&(i.path=i.path.substring(0,r+1))}t=wA(qr(i),t)}return ch(t)}ct.computeSourceURL=tP});var ph=D(RA=>{var uh=Qr(),hh=Object.prototype.hasOwnProperty,lr=typeof Map<"u";function ni(){this._array=[],this._set=lr?new Map:Object.create(null)}ni.fromArray=function(t,e){for(var i=new ni,r=0,n=t.length;r<n;r++)i.add(t[r],e);return i};ni.prototype.size=function(){return lr?this._set.size:Object.getOwnPropertyNames(this._set).length};ni.prototype.add=function(t,e){var i=lr?t:uh.toSetString(t),r=lr?this.has(t):hh.call(this._set,i),n=this._array.length;(!r||e)&&this._array.push(t),r||(lr?this._set.set(t,n):this._set[i]=n)};ni.prototype.has=function(t){if(lr)return this._set.has(t);var e=uh.toSetString(t);return hh.call(this._set,e)};ni.prototype.indexOf=function(t){if(lr){var e=this._set.get(t);if(e>=0)return e}else{var i=uh.toSetString(t);if(hh.call(this._set,i))return this._set[i]}throw new Error('"'+t+'" is not in the set.')};ni.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};ni.prototype.toArray=function(){return this._array.slice()};RA.ArraySet=ni});var FA=D(BA=>{var kA=Qr();function sP(s,t){var e=s.generatedLine,i=t.generatedLine,r=s.generatedColumn,n=t.generatedColumn;return i>e||i==e&&n>=r||kA.compareByGeneratedPositionsInflated(s,t)<=0}function xo(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}xo.prototype.unsortedForEach=function(t,e){this._array.forEach(t,e)};xo.prototype.add=function(t){sP(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};xo.prototype.toArray=function(){return this._sorted||(this._array.sort(kA.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};BA.MappingList=xo});var fh=D(VA=>{var ea=lh(),qe=Qr(),vo=ph().ArraySet,iP=FA().MappingList;function ps(s){s||(s={}),this._file=qe.getArg(s,"file",null),this._sourceRoot=qe.getArg(s,"sourceRoot",null),this._skipValidation=qe.getArg(s,"skipValidation",!1),this._ignoreInvalidMapping=qe.getArg(s,"ignoreInvalidMapping",!1),this._sources=new vo,this._names=new vo,this._mappings=new iP,this._sourcesContents=null}ps.prototype._version=3;ps.fromSourceMap=function(t,e){var i=t.sourceRoot,r=new ps(Object.assign(e||{},{file:t.file,sourceRoot:i}));return t.eachMapping(function(n){var a={generated:{line:n.generatedLine,column:n.generatedColumn}};n.source!=null&&(a.source=n.source,i!=null&&(a.source=qe.relative(i,a.source)),a.original={line:n.originalLine,column:n.originalColumn},n.name!=null&&(a.name=n.name)),r.addMapping(a)}),t.sources.forEach(function(n){var a=n;i!==null&&(a=qe.relative(i,n)),r._sources.has(a)||r._sources.add(a);var o=t.sourceContentFor(n);o!=null&&r.setSourceContent(n,o)}),r};ps.prototype.addMapping=function(t){var e=qe.getArg(t,"generated"),i=qe.getArg(t,"original",null),r=qe.getArg(t,"source",null),n=qe.getArg(t,"name",null);!this._skipValidation&&this._validateMapping(e,i,r,n)===!1||(r!=null&&(r=String(r),this._sources.has(r)||this._sources.add(r)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:e.line,generatedColumn:e.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:r,name:n}))};ps.prototype.setSourceContent=function(t,e){var i=t;this._sourceRoot!=null&&(i=qe.relative(this._sourceRoot,i)),e!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[qe.toSetString(i)]=e):this._sourcesContents&&(delete this._sourcesContents[qe.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};ps.prototype.applySourceMap=function(t,e,i){var r=e;if(e==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);r=t.file}var n=this._sourceRoot;n!=null&&(r=qe.relative(n,r));var a=new vo,o=new vo;this._mappings.unsortedForEach(function(l){if(l.source===r&&l.originalLine!=null){var c=t.originalPositionFor({line:l.originalLine,column:l.originalColumn});c.source!=null&&(l.source=c.source,i!=null&&(l.source=qe.join(i,l.source)),n!=null&&(l.source=qe.relative(n,l.source)),l.originalLine=c.line,l.originalColumn=c.column,c.name!=null&&(l.name=c.name))}var u=l.source;u!=null&&!a.has(u)&&a.add(u);var h=l.name;h!=null&&!o.has(h)&&o.add(h)},this),this._sources=a,this._names=o,t.sources.forEach(function(l){var c=t.sourceContentFor(l);c!=null&&(i!=null&&(l=qe.join(i,l)),n!=null&&(l=qe.relative(n,l)),this.setSourceContent(l,c))},this)};ps.prototype._validateMapping=function(t,e,i,r){if(e&&typeof e.line!="number"&&typeof e.column!="number"){var n="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(n),!1;throw new Error(n)}if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!e&&!i&&!r)){if(t&&"line"in t&&"column"in t&&e&&"line"in e&&"column"in e&&t.line>0&&t.column>=0&&e.line>0&&e.column>=0&&i)return;var n="Invalid mapping: "+JSON.stringify({generated:t,source:i,original:e,name:r});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(n),!1;throw new Error(n)}};ps.prototype._serializeMappings=function(){for(var t=0,e=1,i=0,r=0,n=0,a=0,o="",l,c,u,h,p=this._mappings.toArray(),f=0,m=p.length;f<m;f++){if(c=p[f],l="",c.generatedLine!==e)for(t=0;c.generatedLine!==e;)l+=";",e++;else if(f>0){if(!qe.compareByGeneratedPositionsInflated(c,p[f-1]))continue;l+=","}l+=ea.encode(c.generatedColumn-t),t=c.generatedColumn,c.source!=null&&(h=this._sources.indexOf(c.source),l+=ea.encode(h-a),a=h,l+=ea.encode(c.originalLine-1-r),r=c.originalLine-1,l+=ea.encode(c.originalColumn-i),i=c.originalColumn,c.name!=null&&(u=this._names.indexOf(c.name),l+=ea.encode(u-n),n=u)),o+=l}return o};ps.prototype._generateSourcesContent=function(t,e){return t.map(function(i){if(!this._sourcesContents)return null;e!=null&&(i=qe.relative(e,i));var r=qe.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)};ps.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};ps.prototype.toString=function(){return JSON.stringify(this.toJSON())};VA.SourceMapGenerator=ps});var UA=D(cr=>{cr.GREATEST_LOWER_BOUND=1;cr.LEAST_UPPER_BOUND=2;function dh(s,t,e,i,r,n){var a=Math.floor((t-s)/2)+s,o=r(e,i[a],!0);return o===0?a:o>0?t-a>1?dh(a,t,e,i,r,n):n==cr.LEAST_UPPER_BOUND?t<i.length?t:-1:a:a-s>1?dh(s,a,e,i,r,n):n==cr.LEAST_UPPER_BOUND?a:s<0?-1:s}cr.search=function(t,e,i,r){if(e.length===0)return-1;var n=dh(-1,e.length,t,e,i,r||cr.GREATEST_LOWER_BOUND);if(n<0)return-1;for(;n-1>=0&&i(e[n],e[n-1],!0)===0;)--n;return n}});var HA=D(jA=>{function rP(s){function t(r,n,a){var o=r[n];r[n]=r[a],r[a]=o}function e(r,n){return Math.round(r+Math.random()*(n-r))}function i(r,n,a,o){if(a<o){var l=e(a,o),c=a-1;t(r,l,o);for(var u=r[o],h=a;h<o;h++)n(r[h],u,!1)<=0&&(c+=1,t(r,c,h));t(r,c+1,h);var p=c+1;i(r,n,a,p-1),i(r,n,p+1,o)}}return i}function nP(s){let t=rP.toString();return new Function(`return ${t}`)()(s)}var $A=new WeakMap;jA.quickSort=function(s,t,e=0){let i=$A.get(t);i===void 0&&(i=nP(t),$A.set(t,i)),i(s,t,e,s.length-1)}});var WA=D(Oo=>{var G=Qr(),Ah=UA(),Jr=ph().ArraySet,aP=lh(),ta=HA().quickSort;function Oe(s,t){var e=s;return typeof s=="string"&&(e=G.parseSourceMapInput(s)),e.sections!=null?new bs(e,t):new dt(e,t)}Oe.fromSourceMap=function(s,t){return dt.fromSourceMap(s,t)};Oe.prototype._version=3;Oe.prototype.__generatedMappings=null;Object.defineProperty(Oe.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Oe.prototype.__originalMappings=null;Object.defineProperty(Oe.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Oe.prototype._charIsMappingSeparator=function(t,e){var i=t.charAt(e);return i===";"||i===","};Oe.prototype._parseMappings=function(t,e){throw new Error("Subclasses must implement _parseMappings")};Oe.GENERATED_ORDER=1;Oe.ORIGINAL_ORDER=2;Oe.GREATEST_LOWER_BOUND=1;Oe.LEAST_UPPER_BOUND=2;Oe.prototype.eachMapping=function(t,e,i){var r=e||null,n=i||Oe.GENERATED_ORDER,a;switch(n){case Oe.GENERATED_ORDER:a=this._generatedMappings;break;case Oe.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var o=this.sourceRoot,l=t.bind(r),c=this._names,u=this._sources,h=this._sourceMapURL,p=0,f=a.length;p<f;p++){var m=a[p],d=m.source===null?null:u.at(m.source);d!==null&&(d=G.computeSourceURL(o,d,h)),l({source:d,generatedLine:m.generatedLine,generatedColumn:m.generatedColumn,originalLine:m.originalLine,originalColumn:m.originalColumn,name:m.name===null?null:c.at(m.name)})}};Oe.prototype.allGeneratedPositionsFor=function(t){var e=G.getArg(t,"line"),i={source:G.getArg(t,"source"),originalLine:e,originalColumn:G.getArg(t,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var r=[],n=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",G.compareByOriginalPositions,Ah.LEAST_UPPER_BOUND);if(n>=0){var a=this._originalMappings[n];if(t.column===void 0)for(var o=a.originalLine;a&&a.originalLine===o;)r.push({line:G.getArg(a,"generatedLine",null),column:G.getArg(a,"generatedColumn",null),lastColumn:G.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n];else for(var l=a.originalColumn;a&&a.originalLine===e&&a.originalColumn==l;)r.push({line:G.getArg(a,"generatedLine",null),column:G.getArg(a,"generatedColumn",null),lastColumn:G.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n]}return r};Oo.SourceMapConsumer=Oe;function dt(s,t){var e=s;typeof s=="string"&&(e=G.parseSourceMapInput(s));var i=G.getArg(e,"version"),r=G.getArg(e,"sources"),n=G.getArg(e,"names",[]),a=G.getArg(e,"sourceRoot",null),o=G.getArg(e,"sourcesContent",null),l=G.getArg(e,"mappings"),c=G.getArg(e,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);a&&(a=G.normalize(a)),r=r.map(String).map(G.normalize).map(function(u){return a&&G.isAbsolute(a)&&G.isAbsolute(u)?G.relative(a,u):u}),this._names=Jr.fromArray(n.map(String),!0),this._sources=Jr.fromArray(r,!0),this._absoluteSources=this._sources.toArray().map(function(u){return G.computeSourceURL(a,u,t)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=l,this._sourceMapURL=t,this.file=c}dt.prototype=Object.create(Oe.prototype);dt.prototype.consumer=Oe;dt.prototype._findSourceIndex=function(s){var t=s;if(this.sourceRoot!=null&&(t=G.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var e;for(e=0;e<this._absoluteSources.length;++e)if(this._absoluteSources[e]==s)return e;return-1};dt.fromSourceMap=function(t,e){var i=Object.create(dt.prototype),r=i._names=Jr.fromArray(t._names.toArray(),!0),n=i._sources=Jr.fromArray(t._sources.toArray(),!0);i.sourceRoot=t._sourceRoot,i.sourcesContent=t._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=t._file,i._sourceMapURL=e,i._absoluteSources=i._sources.toArray().map(function(f){return G.computeSourceURL(i.sourceRoot,f,e)});for(var a=t._mappings.toArray().slice(),o=i.__generatedMappings=[],l=i.__originalMappings=[],c=0,u=a.length;c<u;c++){var h=a[c],p=new GA;p.generatedLine=h.generatedLine,p.generatedColumn=h.generatedColumn,h.source&&(p.source=n.indexOf(h.source),p.originalLine=h.originalLine,p.originalColumn=h.originalColumn,h.name&&(p.name=r.indexOf(h.name)),l.push(p)),o.push(p)}return ta(i.__originalMappings,G.compareByOriginalPositions),i};dt.prototype._version=3;Object.defineProperty(dt.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function GA(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var mh=G.compareByGeneratedPositionsDeflatedNoLine;function KA(s,t){let e=s.length,i=s.length-t;if(!(i<=1))if(i==2){let r=s[t],n=s[t+1];mh(r,n)>0&&(s[t]=n,s[t+1]=r)}else if(i<20)for(let r=t;r<e;r++)for(let n=r;n>t;n--){let a=s[n-1],o=s[n];if(mh(a,o)<=0)break;s[n-1]=o,s[n]=a}else ta(s,mh,t)}dt.prototype._parseMappings=function(t,e){var i=1,r=0,n=0,a=0,o=0,l=0,c=t.length,u=0,h={},p={},f=[],m=[],d,A,y,E,x;let N=0;for(;u<c;)if(t.charAt(u)===";")i++,u++,r=0,KA(m,N),N=m.length;else if(t.charAt(u)===",")u++;else{for(d=new GA,d.generatedLine=i,E=u;E<c&&!this._charIsMappingSeparator(t,E);E++);for(A=t.slice(u,E),y=[];u<E;)aP.decode(t,u,p),x=p.value,u=p.rest,y.push(x);if(y.length===2)throw new Error("Found a source, but no line and column");if(y.length===3)throw new Error("Found a source and line, but no column");if(d.generatedColumn=r+y[0],r=d.generatedColumn,y.length>1&&(d.source=o+y[1],o+=y[1],d.originalLine=n+y[2],n=d.originalLine,d.originalLine+=1,d.originalColumn=a+y[3],a=d.originalColumn,y.length>4&&(d.name=l+y[4],l+=y[4])),m.push(d),typeof d.originalLine=="number"){let M=d.source;for(;f.length<=M;)f.push(null);f[M]===null&&(f[M]=[]),f[M].push(d)}}KA(m,N),this.__generatedMappings=m;for(var w=0;w<f.length;w++)f[w]!=null&&ta(f[w],G.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...f)};dt.prototype._findMapping=function(t,e,i,r,n,a){if(t[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[i]);if(t[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[r]);return Ah.search(t,e,n,a)};dt.prototype.computeColumnSpans=function(){for(var t=0;t<this._generatedMappings.length;++t){var e=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var i=this._generatedMappings[t+1];if(e.generatedLine===i.generatedLine){e.lastGeneratedColumn=i.generatedColumn-1;continue}}e.lastGeneratedColumn=1/0}};dt.prototype.originalPositionFor=function(t){var e={generatedLine:G.getArg(t,"line"),generatedColumn:G.getArg(t,"column")},i=this._findMapping(e,this._generatedMappings,"generatedLine","generatedColumn",G.compareByGeneratedPositionsDeflated,G.getArg(t,"bias",Oe.GREATEST_LOWER_BOUND));if(i>=0){var r=this._generatedMappings[i];if(r.generatedLine===e.generatedLine){var n=G.getArg(r,"source",null);n!==null&&(n=this._sources.at(n),n=G.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var a=G.getArg(r,"name",null);return a!==null&&(a=this._names.at(a)),{source:n,line:G.getArg(r,"originalLine",null),column:G.getArg(r,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};dt.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};dt.prototype.sourceContentFor=function(t,e){if(!this.sourcesContent)return null;var i=this._findSourceIndex(t);if(i>=0)return this.sourcesContent[i];var r=t;this.sourceRoot!=null&&(r=G.relative(this.sourceRoot,r));var n;if(this.sourceRoot!=null&&(n=G.urlParse(this.sourceRoot))){var a=r.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!n.path||n.path=="/")&&this._sources.has("/"+r))return this.sourcesContent[this._sources.indexOf("/"+r)]}if(e)return null;throw new Error('"'+r+'" is not in the SourceMap.')};dt.prototype.generatedPositionFor=function(t){var e=G.getArg(t,"source");if(e=this._findSourceIndex(e),e<0)return{line:null,column:null,lastColumn:null};var i={source:e,originalLine:G.getArg(t,"line"),originalColumn:G.getArg(t,"column")},r=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",G.compareByOriginalPositions,G.getArg(t,"bias",Oe.GREATEST_LOWER_BOUND));if(r>=0){var n=this._originalMappings[r];if(n.source===i.source)return{line:G.getArg(n,"generatedLine",null),column:G.getArg(n,"generatedColumn",null),lastColumn:G.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Oo.BasicSourceMapConsumer=dt;function bs(s,t){var e=s;typeof s=="string"&&(e=G.parseSourceMapInput(s));var i=G.getArg(e,"version"),r=G.getArg(e,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new Jr,this._names=new Jr;var n={line:-1,column:0};this._sections=r.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var o=G.getArg(a,"offset"),l=G.getArg(o,"line"),c=G.getArg(o,"column");if(l<n.line||l===n.line&&c<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=o,{generatedOffset:{generatedLine:l+1,generatedColumn:c+1},consumer:new Oe(G.getArg(a,"map"),t)}})}bs.prototype=Object.create(Oe.prototype);bs.prototype.constructor=Oe;bs.prototype._version=3;Object.defineProperty(bs.prototype,"sources",{get:function(){for(var s=[],t=0;t<this._sections.length;t++)for(var e=0;e<this._sections[t].consumer.sources.length;e++)s.push(this._sections[t].consumer.sources[e]);return s}});bs.prototype.originalPositionFor=function(t){var e={generatedLine:G.getArg(t,"line"),generatedColumn:G.getArg(t,"column")},i=Ah.search(e,this._sections,function(n,a){var o=n.generatedLine-a.generatedOffset.generatedLine;return o||n.generatedColumn-a.generatedOffset.generatedColumn}),r=this._sections[i];return r?r.consumer.originalPositionFor({line:e.generatedLine-(r.generatedOffset.generatedLine-1),column:e.generatedColumn-(r.generatedOffset.generatedLine===e.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:t.bias}):{source:null,line:null,column:null,name:null}};bs.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(t){return t.consumer.hasContentsOfAllSources()})};bs.prototype.sourceContentFor=function(t,e){for(var i=0;i<this._sections.length;i++){var r=this._sections[i],n=r.consumer.sourceContentFor(t,!0);if(n||n==="")return n}if(e)return null;throw new Error('"'+t+'" is not in the SourceMap.')};bs.prototype.generatedPositionFor=function(t){for(var e=0;e<this._sections.length;e++){var i=this._sections[e];if(i.consumer._findSourceIndex(G.getArg(t,"source"))!==-1){var r=i.consumer.generatedPositionFor(t);if(r){var n={line:r.line+(i.generatedOffset.generatedLine-1),column:r.column+(i.generatedOffset.generatedLine===r.line?i.generatedOffset.generatedColumn-1:0)};return n}}}return{line:null,column:null}};bs.prototype._parseMappings=function(t,e){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var r=this._sections[i],n=r.consumer._generatedMappings,a=0;a<n.length;a++){var o=n[a],l=r.consumer._sources.at(o.source);l!==null&&(l=G.computeSourceURL(r.consumer.sourceRoot,l,this._sourceMapURL)),this._sources.add(l),l=this._sources.indexOf(l);var c=null;o.name&&(c=r.consumer._names.at(o.name),this._names.add(c),c=this._names.indexOf(c));var u={source:l,generatedLine:o.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(r.generatedOffset.generatedLine===o.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(u),typeof u.originalLine=="number"&&this.__originalMappings.push(u)}ta(this.__generatedMappings,G.compareByGeneratedPositionsDeflated),ta(this.__originalMappings,G.compareByOriginalPositions)};Oo.IndexedSourceMapConsumer=bs});var qA=D(XA=>{var oP=fh().SourceMapGenerator,wo=Qr(),lP=/(\r?\n)/,cP=10,Yr="$$$isSourceNode$$$";function Yt(s,t,e,i,r){this.children=[],this.sourceContents={},this.line=s??null,this.column=t??null,this.source=e??null,this.name=r??null,this[Yr]=!0,i!=null&&this.add(i)}Yt.fromStringWithSourceMap=function(t,e,i){var r=new Yt,n=t.split(lP),a=0,o=function(){var p=m(),f=m()||"";return p+f;function m(){return a<n.length?n[a++]:void 0}},l=1,c=0,u=null;return e.eachMapping(function(p){if(u!==null)if(l<p.generatedLine)h(u,o()),l++,c=0;else{var f=n[a]||"",m=f.substr(0,p.generatedColumn-c);n[a]=f.substr(p.generatedColumn-c),c=p.generatedColumn,h(u,m),u=p;return}for(;l<p.generatedLine;)r.add(o()),l++;if(c<p.generatedColumn){var f=n[a]||"";r.add(f.substr(0,p.generatedColumn)),n[a]=f.substr(p.generatedColumn),c=p.generatedColumn}u=p},this),a<n.length&&(u&&h(u,o()),r.add(n.splice(a).join(""))),e.sources.forEach(function(p){var f=e.sourceContentFor(p);f!=null&&(i!=null&&(p=wo.join(i,p)),r.setSourceContent(p,f))}),r;function h(p,f){if(p===null||p.source===void 0)r.add(f);else{var m=i?wo.join(i,p.source):p.source;r.add(new Yt(p.originalLine,p.originalColumn,m,f,p.name))}}};Yt.prototype.add=function(t){if(Array.isArray(t))t.forEach(function(e){this.add(e)},this);else if(t[Yr]||typeof t=="string")t&&this.children.push(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};Yt.prototype.prepend=function(t){if(Array.isArray(t))for(var e=t.length-1;e>=0;e--)this.prepend(t[e]);else if(t[Yr]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};Yt.prototype.walk=function(t){for(var e,i=0,r=this.children.length;i<r;i++)e=this.children[i],e[Yr]?e.walk(t):e!==""&&t(e,{source:this.source,line:this.line,column:this.column,name:this.name})};Yt.prototype.join=function(t){var e,i,r=this.children.length;if(r>0){for(e=[],i=0;i<r-1;i++)e.push(this.children[i]),e.push(t);e.push(this.children[i]),this.children=e}return this};Yt.prototype.replaceRight=function(t,e){var i=this.children[this.children.length-1];return i[Yr]?i.replaceRight(t,e):typeof i=="string"?this.children[this.children.length-1]=i.replace(t,e):this.children.push("".replace(t,e)),this};Yt.prototype.setSourceContent=function(t,e){this.sourceContents[wo.toSetString(t)]=e};Yt.prototype.walkSourceContents=function(t){for(var e=0,i=this.children.length;e<i;e++)this.children[e][Yr]&&this.children[e].walkSourceContents(t);for(var r=Object.keys(this.sourceContents),e=0,i=r.length;e<i;e++)t(wo.fromSetString(r[e]),this.sourceContents[r[e]])};Yt.prototype.toString=function(){var t="";return this.walk(function(e){t+=e}),t};Yt.prototype.toStringWithSourceMap=function(t){var e={code:"",line:1,column:0},i=new oP(t),r=!1,n=null,a=null,o=null,l=null;return this.walk(function(c,u){e.code+=c,u.source!==null&&u.line!==null&&u.column!==null?((n!==u.source||a!==u.line||o!==u.column||l!==u.name)&&i.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:e.line,column:e.column},name:u.name}),n=u.source,a=u.line,o=u.column,l=u.name,r=!0):r&&(i.addMapping({generated:{line:e.line,column:e.column}}),n=null,r=!1);for(var h=0,p=c.length;h<p;h++)c.charCodeAt(h)===cP?(e.line++,e.column=0,h+1===p?(n=null,r=!1):r&&i.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:e.line,column:e.column},name:u.name})):e.column++}),this.walkSourceContents(function(c,u){i.setSourceContent(c,u)}),{code:e.code,map:i}};XA.SourceNode=Yt});var gh=D(Lo=>{Lo.SourceMapGenerator=fh().SourceMapGenerator;Lo.SourceMapConsumer=WA().SourceMapConsumer;Lo.SourceNode=qA().SourceNode});var dy=D(v=>{"use strict";Object.defineProperty(v,"__esModule",{value:!0});var U=at(),ur=Su(),en=ih(),uP=rh(),hP=gh(),sn=Symbol(""),tn=Symbol(""),qo=Symbol(""),ia=Symbol(""),Nh=Symbol(""),ki=Symbol(""),xh=Symbol(""),vh=Symbol(""),Qo=Symbol(""),Jo=Symbol(""),on=Symbol(""),Yo=Symbol(""),Oh=Symbol(""),ra=Symbol(""),zo=Symbol(""),Zo=Symbol(""),el=Symbol(""),tl=Symbol(""),sl=Symbol(""),wh=Symbol(""),Lh=Symbol(""),il=Symbol(""),na=Symbol(""),rl=Symbol(""),nl=Symbol(""),rn=Symbol(""),ln=Symbol(""),al=Symbol(""),$o=Symbol(""),fg=Symbol(""),jo=Symbol(""),aa=Symbol(""),dg=Symbol(""),mg=Symbol(""),ol=Symbol(""),oa=Symbol(""),la=Symbol(""),ll=Symbol(""),Mh=Symbol(""),Ft={[sn]:"Fragment",[tn]:"Teleport",[qo]:"Suspense",[ia]:"KeepAlive",[Nh]:"BaseTransition",[ki]:"openBlock",[xh]:"createBlock",[vh]:"createElementBlock",[Qo]:"createVNode",[Jo]:"createElementVNode",[on]:"createCommentVNode",[Yo]:"createTextVNode",[Oh]:"createStaticVNode",[ra]:"resolveComponent",[zo]:"resolveDynamicComponent",[Zo]:"resolveDirective",[el]:"resolveFilter",[tl]:"withDirectives",[sl]:"renderList",[wh]:"renderSlot",[Lh]:"createSlots",[il]:"toDisplayString",[na]:"mergeProps",[rl]:"normalizeClass",[nl]:"normalizeStyle",[rn]:"normalizeProps",[ln]:"guardReactiveProps",[al]:"toHandlers",[$o]:"camelize",[fg]:"capitalize",[jo]:"toHandlerKey",[aa]:"setBlockTracking",[dg]:"pushScopeId",[mg]:"popScopeId",[ol]:"withCtx",[oa]:"unref",[la]:"isRef",[ll]:"withMemo",[Mh]:"isMemoSame"};function pP(s){Object.getOwnPropertySymbols(s).forEach(t=>{Ft[t]=s[t]})}var fP={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},dP={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"},mP={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},AP={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},et={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Ag(s,t=""){return{type:0,source:t,children:s,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:et}}function nn(s,t,e,i,r,n,a,o=!1,l=!1,c=!1,u=et){return s&&(o?(s.helper(ki),s.helper(Ar(s.inSSR,c))):s.helper(mr(s.inSSR,c)),a&&s.helper(tl)),{type:13,tag:t,props:e,children:i,patchFlag:r,dynamicProps:n,directives:a,isBlock:o,disableTracking:l,isComponent:c,loc:u}}function Ri(s,t=et){return{type:17,loc:t,elements:s}}function es(s,t=et){return{type:15,loc:t,properties:s}}function Ze(s,t){return{type:16,loc:et,key:U.isString(s)?z(s,!0):s,value:t}}function z(s,t=!1,e=et,i=0){return{type:4,loc:e,content:s,isStatic:t,constType:t?3:i}}function gP(s,t){return{type:5,loc:t,content:U.isString(s)?z(s,!1,t):s}}function Zt(s,t=et){return{type:8,loc:t,children:s}}function gt(s,t=[],e=et){return{type:14,loc:e,callee:s,arguments:t}}function dr(s,t=void 0,e=!1,i=!1,r=et){return{type:18,params:s,returns:t,newline:e,isSlot:i,loc:r}}function Ho(s,t,e,i=!0){return{type:19,test:s,consequent:t,alternate:e,newline:i,loc:et}}function gg(s,t,e=!1,i=!1){return{type:20,index:s,value:t,needPauseTracking:e,inVOnce:i,needArraySpread:!1,loc:et}}function yg(s){return{type:21,body:s,loc:et}}function yP(s){return{type:22,elements:s,loc:et}}function EP(s,t,e){return{type:23,test:s,consequent:t,alternate:e,loc:et}}function SP(s,t){return{type:24,left:s,right:t,loc:et}}function bP(s){return{type:25,expressions:s,loc:et}}function TP(s){return{type:26,returns:s,loc:et}}function mr(s,t){return s||t?Qo:Jo}function Ar(s,t){return s||t?xh:vh}function cl(s,{helper:t,removeHelper:e,inSSR:i}){s.isBlock||(s.isBlock=!0,e(mr(i,s.isComponent)),t(ki),t(Ar(i,s.isComponent)))}var QA=new Uint8Array([123,123]),JA=new Uint8Array([125,125]);function YA(s){return s>=97&&s<=122||s>=65&&s<=90}function zt(s){return s===32||s===10||s===9||s===12||s===13}function Li(s){return s===47||s===62||zt(s)}function Ko(s){let t=new Uint8Array(s.length);for(let e=0;e<s.length;e++)t[e]=s.charCodeAt(e);return t}var mt={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])},Eh=class{constructor(t,e){this.stack=t,this.cbs=e,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=QA,this.delimiterClose=JA,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new ur.EntityDecoder(ur.htmlDecodeTree,(i,r)=>this.emitCodePoint(i,r))}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=QA,this.delimiterClose=JA}getPos(t){let e=1,i=t+1,r=this.newlines.length,n=-1;if(r>100){let a=-1,o=r;for(;a+1<o;){let l=a+o>>>1;this.newlines[l]<t?a=l:o=l}n=a}else for(let a=r-1;a>=0;a--)if(t>this.newlines[a]){n=a;break}return n>=0&&(e=n+2,i=t-this.newlines[n]),{column:i,line:e,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):t===38?this.startEntity():!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){let e=this.sequenceIndex===this.currentSequence.length;if(!(e?Li(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!e){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||zt(t)){let e=this.index-this.currentSequence.length;if(this.sectionStart<e){let i=this.index;this.index=e,this.cbs.ontext(this.sectionStart,e),this.index=i}this.sectionStart=e+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===mt.TitleEnd||this.currentSequence===mt.TextareaEnd&&!this.inSFCRoot?t===38?this.startEntity():!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===mt.Cdata[this.sequenceIndex]?++this.sequenceIndex===mt.Cdata.length&&(this.state=28,this.currentSequence=mt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);if(e===10&&this.newlines.push(this.index),e===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===mt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,e){this.enterRCDATA(t,e),this.state=31}enterRCDATA(t,e){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=e}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):YA(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Li(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Li(t)){let e=this.buffer.slice(this.sectionStart,this.index);e!=="template"&&this.enterRCDATA(Ko("</"+e),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){zt(t)||(t===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=YA(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||zt(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?(this.state=7,this.peek()!==62&&this.cbs.onerr(22,this.index)):t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):zt(t)||(t===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(t))}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):zt(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){t===61||Li(t)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):(t===34||t===39||t===60)&&this.cbs.onerr(17,this.index)}stateInDirName(t){t===61||Li(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Li(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Li(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t),this.cbs.onerr(27,this.index))}stateInDirModifier(t){t===61||Li(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):zt(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):zt(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,e){t===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(e===34?3:2,this.index+1),this.state=11):t===38&&this.startEntity()}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){zt(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):t===34||t===39||t===60||t===61||t===96?this.cbs.onerr(18,this.index):t===38&&this.startEntity()}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=mt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===mt.ScriptEnd[3]?this.startSpecial(mt.ScriptEnd,4):t===mt.StyleEnd[3]?this.startSpecial(mt.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===mt.TitleEnd[3]?this.startSpecial(mt.TitleEnd,4):t===mt.TextareaEnd[3]?this.startSpecial(mt.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=33,this.entityStart=this.index,this.entityDecoder.startEntity(this.baseState===1||this.baseState===32?ur.DecodingMode.Legacy:ur.DecodingMode.Attribute)}stateInEntity(){{let t=this.entityDecoder.write(this.buffer,this.index);t>=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.buffer.length-1}}parse(t){for(this.buffer=t;this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);switch(e===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(e);break}case 2:{this.stateInterpolationOpen(e);break}case 3:{this.stateInterpolation(e);break}case 4:{this.stateInterpolationClose(e);break}case 31:{this.stateSpecialStartSequence(e);break}case 32:{this.stateInRCDATA(e);break}case 26:{this.stateCDATASequence(e);break}case 19:{this.stateInAttrValueDoubleQuotes(e);break}case 12:{this.stateInAttrName(e);break}case 13:{this.stateInDirName(e);break}case 14:{this.stateInDirArg(e);break}case 15:{this.stateInDynamicDirArg(e);break}case 16:{this.stateInDirModifier(e);break}case 28:{this.stateInCommentLike(e);break}case 27:{this.stateInSpecialComment(e);break}case 11:{this.stateBeforeAttrName(e);break}case 6:{this.stateInTagName(e);break}case 34:{this.stateInSFCRootTagName(e);break}case 9:{this.stateInClosingTagName(e);break}case 5:{this.stateBeforeTagName(e);break}case 17:{this.stateAfterAttrName(e);break}case 20:{this.stateInAttrValueSingleQuotes(e);break}case 18:{this.stateBeforeAttrValue(e);break}case 8:{this.stateBeforeClosingTagName(e);break}case 10:{this.stateAfterClosingTagName(e);break}case 29:{this.stateBeforeSpecialS(e);break}case 30:{this.stateBeforeSpecialT(e);break}case 21:{this.stateInAttrValueNoQuotes(e);break}case 7:{this.stateInSelfClosingTag(e);break}case 23:{this.stateInDeclaration(e);break}case 22:{this.stateBeforeDeclaration(e);break}case 25:{this.stateBeforeComment(e);break}case 24:{this.stateInProcessingInstruction(e);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(){let t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===mt.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){this.baseState!==1&&this.baseState!==32?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.onattribentity(ur.fromCodePoint(t),this.entityStart,this.sectionStart)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.ontextentity(ur.fromCodePoint(t),this.entityStart,this.sectionStart))}},CP={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"},IP={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:s=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${s}.sync\` should be changed to \`v-model:${s}\`.`,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 Sh(s,{compatConfig:t}){let e=t&&t[s];return s==="MODE"?e||3:e}function fr(s,t){let e=Sh("MODE",t),i=Sh(s,t);return e===3?i===!0:i!==!1}function ca(s,t,e,...i){return fr(s,t)}function _P(s,t,e,...i){if(Sh(s,t)==="suppress-warning")return;let{message:n,link:a}=IP[s],o=`(deprecation ${s}) ${typeof n=="function"?n(...i):n}${a?`
|
|
13
|
-
Details: ${a}`:""}`,l=new SyntaxError(o);l.code=s,e&&(l.loc=e),t.onWarn(l)}function
|
|
14
|
-
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@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.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""};function bg(s,t,e=!1,i=[],r=Object.create(null)){let n=s.type==="Program"?s.body[0].type==="ExpressionStatement"&&s.body[0].expression:s;uP.walk(s,{enter(a,o){if(o&&i.push(o),o&&o.type.startsWith("TS")&&!Bh.includes(o.type))return this.skip();if(a.type==="Identifier"){let l=!!r[a.name],c=Tg(a,o,i);(e||c&&!l)&&t(a,o,i,c,l)}else if(a.type==="ObjectProperty"&&o?.type==="ObjectPattern")a.inPattern=!0;else if(xg(a))a.scopeIds?a.scopeIds.forEach(l=>Zr(l,r)):Ig(a,l=>sa(a,l,r));else if(a.type==="BlockStatement")a.scopeIds?a.scopeIds.forEach(l=>Zr(l,r)):Rh(a,l=>sa(a,l,r));else if(a.type==="SwitchStatement")a.scopeIds?a.scopeIds.forEach(l=>Zr(l,r)):Ng(a,!1,l=>sa(a,l,r));else if(a.type==="CatchClause"&&a.param)if(a.scopeIds)a.scopeIds.forEach(l=>Zr(l,r));else for(let l of Ts(a.param))sa(a,l,r);else _g(a)&&(a.scopeIds?a.scopeIds.forEach(l=>Zr(l,r)):Pg(a,!1,l=>sa(a,l,r)))},leave(a,o){if(o&&i.pop(),a!==n&&a.scopeIds)for(let l of a.scopeIds)r[l]--,r[l]===0&&delete r[l]}})}function Tg(s,t,e){if(!t)return!0;if(s.name==="arguments")return!1;if(NP(s,t,e[e.length-2]))return!0;switch(t.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectProperty":return t.key!==s&&Go(t,e);case"ArrayPattern":return Go(t,e)}return!1}function Go(s,t){if(s&&(s.type==="ObjectProperty"||s.type==="ArrayPattern")){let e=t.length;for(;e--;){let i=t[e];if(i.type==="AssignmentExpression")return!0;if(i.type!=="ObjectProperty"&&!i.type.endsWith("Pattern"))break}}return!1}function Cg(s){let t=s.length;for(;t--;){let e=s[t];if(e.type==="NewExpression")return!0;if(e.type!=="MemberExpression")break}return!1}function Ig(s,t){for(let e of s.params)for(let i of Ts(e))t(i)}function Rh(s,t){let e=s.type==="SwitchCase"?s.consequent:s.body;for(let i of e)if(i.type==="VariableDeclaration"){if(i.declare)continue;for(let r of i.declarations)for(let n of Ts(r.id))t(n)}else if(i.type==="FunctionDeclaration"||i.type==="ClassDeclaration"){if(i.declare||!i.id)continue;t(i.id)}else _g(i)?Pg(i,!0,t):i.type==="SwitchStatement"&&Ng(i,!0,t)}function _g(s){return s.type==="ForOfStatement"||s.type==="ForInStatement"||s.type==="ForStatement"}function Pg(s,t,e){let i=s.type==="ForStatement"?s.init:s.left;if(i&&i.type==="VariableDeclaration"&&(i.kind==="var"?t:!t))for(let r of i.declarations)for(let n of Ts(r.id))e(n)}function Ng(s,t,e){for(let i of s.cases){for(let r of i.consequent)if(r.type==="VariableDeclaration"&&(r.kind==="var"?t:!t))for(let n of r.declarations)for(let a of Ts(n.id))e(a);Rh(i,e)}}function Ts(s,t=[]){switch(s.type){case"Identifier":t.push(s);break;case"MemberExpression":let e=s;for(;e.type==="MemberExpression";)e=e.object;t.push(e);break;case"ObjectPattern":for(let i of s.properties)i.type==="RestElement"?Ts(i.argument,t):Ts(i.value,t);break;case"ArrayPattern":s.elements.forEach(i=>{i&&Ts(i,t)});break;case"RestElement":Ts(s.argument,t);break;case"AssignmentPattern":Ts(s.left,t);break}return t}function Zr(s,t){s in t?t[s]++:t[s]=1}function sa(s,t,e){let{name:i}=t;s.scopeIds&&s.scopeIds.has(i)||(Zr(i,e),(s.scopeIds||(s.scopeIds=new Set)).add(i))}var xg=s=>/Function(?:Expression|Declaration)$|Method$/.test(s.type),kh=s=>s&&(s.type==="ObjectProperty"||s.type==="ObjectMethod")&&!s.computed,vg=(s,t)=>kh(t)&&t.key===s;function NP(s,t,e){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===s?!!t.computed:t.object===s;case"JSXMemberExpression":return t.object===s;case"VariableDeclarator":return t.init===s;case"ArrowFunctionExpression":return t.body===s;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===s?!!t.computed:!1;case"ObjectProperty":return t.key===s?!!t.computed:!e||e.type!=="ObjectPattern";case"ClassProperty":return t.key===s?!!t.computed:!0;case"ClassPrivateProperty":return t.key!==s;case"ClassDeclaration":case"ClassExpression":return t.superClass===s;case"AssignmentExpression":return t.right===s;case"AssignmentPattern":return t.right===s;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?.source?!1:t.local===s;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==s;case"TSEnumMember":return t.id!==s;case"TSPropertySignature":return t.key===s?!!t.computed:!0}return!0}var Bh=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function ul(s){return Bh.includes(s.type)?ul(s.expression):s}var Cs=s=>s.type===4&&s.isStatic;function Fh(s){switch(s){case"Teleport":case"teleport":return tn;case"Suspense":case"suspense":return qo;case"KeepAlive":case"keep-alive":return ia;case"BaseTransition":case"base-transition":return Nh}}var xP=/^$|^\d|[^\$\w\xA0-\uFFFF]/,li=s=>!xP.test(s),Vh=/[A-Za-z_$\xA0-\uFFFF]/,vP=/[\.\?\w$\xA0-\uFFFF]/,OP=/\s+[.[]\s*|\s*[.[]\s+/g,hl=s=>s.type===4?s.content:s.loc.source,wP=s=>{let t=hl(s).trim().replace(OP,o=>o.trim()),e=0,i=[],r=0,n=0,a=null;for(let o=0;o<t.length;o++){let l=t.charAt(o);switch(e){case 0:if(l==="[")i.push(e),e=1,r++;else if(l==="(")i.push(e),e=2,n++;else if(!(o===0?Vh:vP).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(i.push(e),e=3,a=l):l==="["?r++:l==="]"&&(--r||(e=i.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")i.push(e),e=3,a=l;else if(l==="(")n++;else if(l===")"){if(o===t.length-1)return!1;--n||(e=i.pop())}break;case 3:l===a&&(e=i.pop(),a=null);break}}return!r&&!n},Og=(s,t)=>{try{let e=s.ast||en.parseExpression(hl(s),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return e=ul(e),e.type==="MemberExpression"||e.type==="OptionalMemberExpression"||e.type==="Identifier"&&e.name!=="undefined"}catch{return!1}},Uh=Og,LP=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,MP=s=>LP.test(hl(s)),wg=(s,t)=>{try{let e=s.ast||en.parseExpression(hl(s),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return e.type==="Program"&&(e=e.body[0],e.type==="ExpressionStatement"&&(e=e.expression)),e=ul(e),e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"}catch{return!1}},Lg=wg;function bh(s,t,e=t.length){return $h({offset:s.offset,line:s.line,column:s.column},t,e)}function $h(s,t,e=t.length){let i=0,r=-1;for(let n=0;n<e;n++)t.charCodeAt(n)===10&&(i++,r=n);return s.offset+=e,s.line+=i,s.column=r===-1?s.column+e:e-r,s}function DP(s,t){if(!s)throw new Error(t||"unexpected compiler condition")}function Mt(s,t,e=!1){for(let i=0;i<s.props.length;i++){let r=s.props[i];if(r.type===7&&(e||r.exp)&&(U.isString(t)?r.name===t:t.test(r.name)))return r}}function ua(s,t,e=!1,i=!1){for(let r=0;r<s.props.length;r++){let n=s.props[r];if(n.type===6){if(e)continue;if(n.name===t&&(n.value||i))return n}else if(n.name==="bind"&&(n.exp||i)&&Di(n.arg,t))return n}}function Di(s,t){return!!(s&&Cs(s)&&s.content===t)}function RP(s){return s.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Ro(s){return s.type===5||s.type===2}function Th(s){return s.type===7&&s.name==="pre"}function pl(s){return s.type===7&&s.name==="slot"}function an(s){return s.type===1&&s.tagType===3}function ha(s){return s.type===1&&s.tagType===2}var kP=new Set([rn,ln]);function Mg(s,t=[]){if(s&&!U.isString(s)&&s.type===14){let e=s.callee;if(!U.isString(e)&&kP.has(e))return Mg(s.arguments[0],t.concat(s))}return[s,t]}function pa(s,t,e){let i,r=s.type===13?s.props:s.arguments[2],n=[],a;if(r&&!U.isString(r)&&r.type===14){let o=Mg(r);r=o[0],n=o[1],a=n[n.length-1]}if(r==null||U.isString(r))i=es([t]);else if(r.type===14){let o=r.arguments[0];!U.isString(o)&&o.type===15?zA(t,o)||o.properties.unshift(t):r.callee===al?i=gt(e.helper(na),[es([t]),r]):r.arguments.unshift(es([t])),!i&&(i=r)}else r.type===15?(zA(t,r)||r.properties.unshift(t),i=r):(i=gt(e.helper(na),[es([t]),r]),a&&a.callee===ln&&(a=n[n.length-2]));s.type===13?a?a.arguments[0]=i:s.props=i:a?a.arguments[0]=i:s.arguments[2]=i}function zA(s,t){let e=!1;if(s.key.type===4){let i=s.key.content;e=t.properties.some(r=>r.key.type===4&&r.key.content===i)}return e}function gr(s,t){return`_${t}_${s.replace(/[^\w]/g,(e,i)=>e==="-"?"_":s.charCodeAt(i).toString())}`}function Ct(s,t){if(!s||Object.keys(t).length===0)return!1;switch(s.type){case 1:for(let e=0;e<s.props.length;e++){let i=s.props[e];if(i.type===7&&(Ct(i.arg,t)||Ct(i.exp,t)))return!0}return s.children.some(e=>Ct(e,t));case 11:return Ct(s.source,t)?!0:s.children.some(e=>Ct(e,t));case 9:return s.branches.some(e=>Ct(e,t));case 10:return Ct(s.condition,t)?!0:s.children.some(e=>Ct(e,t));case 4:return!s.isStatic&&li(s.content)&&!!t[s.content];case 8:return s.children.some(e=>U.isObject(e)&&Ct(e,t));case 5:case 12:return Ct(s.content,t);case 2:case 3:case 20:return!1;default:return!1}}function Dg(s){return s.type===14&&s.callee===ll?s.arguments[1].returns:s}var Rg=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function jh(s){for(let t=0;t<s.length;t++)if(!zt(s.charCodeAt(t)))return!1;return!0}function fl(s){return s.type===2&&jh(s.content)||s.type===12&&fl(s.content)}function Hh(s){return s.type===3||fl(s)}var kg={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:U.NO,isPreTag:U.NO,isIgnoreNewlineTag:U.NO,isCustomElement:U.NO,onError:Dh,onWarn:Eg,comments:!1,prefixIdentifiers:!1},ge=kg,fa=null,oi="",It=null,re=null,fs="",ai=-1,hr=-1,Kh=0,Mi=!1,Ch=null,je=[],Pe=new Eh(je,{onerr:Lt,ontext(s,t){Mo(At(s,t),s,t)},ontextentity(s,t,e){Mo(s,t,e)},oninterpolation(s,t){if(Mi)return Mo(At(s,t),s,t);let e=s+Pe.delimiterOpen.length,i=t-Pe.delimiterClose.length;for(;zt(oi.charCodeAt(e));)e++;for(;zt(oi.charCodeAt(i-1));)i--;let r=At(e,i);r.includes("&")&&(r=ur.decodeHTML(r)),Ih({type:5,content:Bo(r,!1,Qe(e,i)),loc:Qe(s,t)})},onopentagname(s,t){let e=At(s,t);It={type:1,tag:e,ns:ge.getNamespace(e,je[0],ge.ns),tagType:0,props:[],children:[],loc:Qe(s-1,t),codegenNode:void 0}},onopentagend(s){eg(s)},onclosetag(s,t){let e=At(s,t);if(!ge.isVoidTag(e)){let i=!1;for(let r=0;r<je.length;r++)if(je[r].tag.toLowerCase()===e.toLowerCase()){i=!0,r>0&&Lt(24,je[0].loc.start.offset);for(let a=0;a<=r;a++){let o=je.shift();ko(o,t,a<r)}break}i||Lt(23,Bg(s,60))}},onselfclosingtag(s){let t=It.tag;It.isSelfClosing=!0,eg(s),je[0]&&je[0].tag===t&&ko(je.shift(),s)},onattribname(s,t){re={type:6,name:At(s,t),nameLoc:Qe(s,t),value:void 0,loc:Qe(s)}},ondirname(s,t){let e=At(s,t),i=e==="."||e===":"?"bind":e==="@"?"on":e==="#"?"slot":e.slice(2);if(!Mi&&i===""&&Lt(26,s),Mi||i==="")re={type:6,name:e,nameLoc:Qe(s,t),value:void 0,loc:Qe(s)};else if(re={type:7,name:i,rawName:e,exp:void 0,arg:void 0,modifiers:e==="."?[z("prop")]:[],loc:Qe(s)},i==="pre"){Mi=Pe.inVPre=!0,Ch=It;let r=It.props;for(let n=0;n<r.length;n++)r[n].type===7&&(r[n]=WP(r[n]))}},ondirarg(s,t){if(s===t)return;let e=At(s,t);if(Mi&&!Th(re))re.name+=e,pr(re.nameLoc,t);else{let i=e[0]!=="[";re.arg=Bo(i?e:e.slice(1,-1),i,Qe(s,t),i?3:0)}},ondirmodifier(s,t){let e=At(s,t);if(Mi&&!Th(re))re.name+="."+e,pr(re.nameLoc,t);else if(re.name==="slot"){let i=re.arg;i&&(i.content+="."+e,pr(i.loc,t))}else{let i=z(e,!0,Qe(s,t));re.modifiers.push(i)}},onattribdata(s,t){fs+=At(s,t),ai<0&&(ai=s),hr=t},onattribentity(s,t,e){fs+=s,ai<0&&(ai=t),hr=e},onattribnameend(s){let t=re.loc.start.offset,e=At(t,s);re.type===7&&(re.rawName=e),It.props.some(i=>(i.type===7?i.rawName:i.name)===e)&&Lt(2,t)},onattribend(s,t){if(It&&re){if(pr(re.loc,t),s!==0)if(re.type===6)re.name==="class"&&(fs=Vg(fs).trim()),s===1&&!fs&&Lt(13,t),re.value={type:2,content:fs,loc:s===1?Qe(ai,hr):Qe(ai-1,hr+1)},Pe.inSFCRoot&&It.tag==="template"&&re.name==="lang"&&fs&&fs!=="html"&&Pe.enterRCDATA(Ko("</template"),0);else{let e=0;re.name==="for"?e=3:re.name==="slot"?e=1:re.name==="on"&&fs.includes(";")&&(e=2),re.exp=Bo(fs,!1,Qe(ai,hr),0,e),re.name==="for"&&(re.forParseResult=FP(re.exp));let i=-1;re.name==="bind"&&(i=re.modifiers.findIndex(r=>r.content==="sync"))>-1&&ca("COMPILER_V_BIND_SYNC",ge,re.loc,re.arg.loc.source)&&(re.name="model",re.modifiers.splice(i,1))}(re.type!==7||re.name!=="pre")&&It.props.push(re)}fs="",ai=hr=-1},oncomment(s,t){ge.comments&&Ih({type:3,content:At(s,t),loc:Qe(s-4,t+3)})},onend(){let s=oi.length;if(Pe.state!==1)switch(Pe.state){case 5:case 8:Lt(5,s);break;case 3:case 4:Lt(25,Pe.sectionStart);break;case 28:Pe.currentSequence===mt.CdataEnd?Lt(6,s):Lt(7,s);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:Lt(9,s);break}for(let t=0;t<je.length;t++)ko(je[t],s-1),Lt(24,je[t].loc.start.offset)},oncdata(s,t){je[0].ns!==0?Mo(At(s,t),s,t):Lt(1,s-9)},onprocessinginstruction(s){(je[0]?je[0].ns:ge.ns)===0&&Lt(21,s-1)}}),ZA=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,BP=/^\(|\)$/g;function FP(s){let t=s.loc,e=s.content,i=e.match(Rg);if(!i)return;let[,r,n]=i,a=(h,p,f=!1)=>{let m=t.start.offset+p,d=m+h.length;return Bo(h,!1,Qe(m,d),0,f?1:0)},o={source:a(n.trim(),e.indexOf(n,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1},l=r.trim().replace(BP,"").trim(),c=r.indexOf(l),u=l.match(ZA);if(u){l=l.replace(ZA,"").trim();let h=u[1].trim(),p;if(h&&(p=e.indexOf(h,c+l.length),o.key=a(h,p,!0)),u[2]){let f=u[2].trim();f&&(o.index=a(f,e.indexOf(f,o.key?p+h.length:c+l.length),!0))}}return l&&(o.value=a(l,c,!0)),o}function At(s,t){return oi.slice(s,t)}function eg(s){Pe.inSFCRoot&&(It.innerLoc=Qe(s+1,s+1)),Ih(It);let{tag:t,ns:e}=It;e===0&&ge.isPreTag(t)&&Kh++,ge.isVoidTag(t)?ko(It,s):(je.unshift(It),(e===1||e===2)&&(Pe.inXML=!0)),It=null}function Mo(s,t,e){let i=je[0]||fa,r=i.children[i.children.length-1];r&&r.type===2?(r.content+=s,pr(r.loc,e)):i.children.push({type:2,content:s,loc:Qe(t,e)})}function ko(s,t,e=!1){e?pr(s.loc,Bg(t,60)):pr(s.loc,VP(t,62)+1),Pe.inSFCRoot&&(s.children.length?s.innerLoc.end=U.extend({},s.children[s.children.length-1].loc.end):s.innerLoc.end=U.extend({},s.innerLoc.start),s.innerLoc.source=At(s.innerLoc.start.offset,s.innerLoc.end.offset));let{tag:i,ns:r,children:n}=s;if(Mi||(i==="slot"?s.tagType=2:tg(s)?s.tagType=3:$P(s)&&(s.tagType=1)),Pe.inRCDATA||(s.children=Fg(n)),r===0&&ge.isIgnoreNewlineTag(i)){let a=n[0];a&&a.type===2&&(a.content=a.content.replace(/^\r?\n/,""))}r===0&&ge.isPreTag(i)&&Kh--,Ch===s&&(Mi=Pe.inVPre=!1,Ch=null),Pe.inXML&&(je[0]?je[0].ns:ge.ns)===0&&(Pe.inXML=!1);{let a=s.props;if(!Pe.inSFCRoot&&fr("COMPILER_NATIVE_TEMPLATE",ge)&&s.tag==="template"&&!tg(s)){let l=je[0]||fa,c=l.children.indexOf(s);l.children.splice(c,1,...s.children)}let o=a.find(l=>l.type===6&&l.name==="inline-template");o&&ca("COMPILER_INLINE_TEMPLATE",ge,o.loc)&&s.children.length&&(o.value={type:2,content:At(s.children[0].loc.start.offset,s.children[s.children.length-1].loc.end.offset),loc:o.loc})}}function VP(s,t){let e=s;for(;oi.charCodeAt(e)!==t&&e<oi.length-1;)e++;return e}function Bg(s,t){let e=s;for(;oi.charCodeAt(e)!==t&&e>=0;)e--;return e}var UP=new Set(["if","else","else-if","for","slot"]);function tg({tag:s,props:t}){if(s==="template"){for(let e=0;e<t.length;e++)if(t[e].type===7&&UP.has(t[e].name))return!0}return!1}function $P({tag:s,props:t}){if(ge.isCustomElement(s))return!1;if(s==="component"||jP(s.charCodeAt(0))||Fh(s)||ge.isBuiltInComponent&&ge.isBuiltInComponent(s)||ge.isNativeTag&&!ge.isNativeTag(s))return!0;for(let e=0;e<t.length;e++){let i=t[e];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(ca("COMPILER_IS_ON_ELEMENT",ge,i.loc))return!0}}else if(i.name==="bind"&&Di(i.arg,"is")&&ca("COMPILER_IS_ON_ELEMENT",ge,i.loc))return!0}return!1}function jP(s){return s>64&&s<91}var HP=/\r\n/g;function Fg(s){let t=ge.whitespace!=="preserve",e=!1;for(let i=0;i<s.length;i++){let r=s[i];if(r.type===2)if(Kh)r.content=r.content.replace(HP,`
|
|
15
|
-
`);else if(jh(r.content)){let n=s[i-1]&&s[i-1].type,a=s[i+1]&&s[i+1].type;!n||!a||t&&(n===3&&(a===3||a===1)||n===1&&(a===3||a===1&&KP(r.content)))?(e=!0,s[i]=null):r.content=" "}else t&&(r.content=Vg(r.content))}return e?s.filter(Boolean):s}function KP(s){for(let t=0;t<s.length;t++){let e=s.charCodeAt(t);if(e===10||e===13)return!0}return!1}function Vg(s){let t="",e=!1;for(let i=0;i<s.length;i++)zt(s.charCodeAt(i))?e||(t+=" ",e=!0):(t+=s[i],e=!1);return t}function Ih(s){(je[0]||fa).children.push(s)}function Qe(s,t){return{start:Pe.getPos(s),end:t==null?t:Pe.getPos(t),source:t==null?t:At(s,t)}}function GP(s){return Qe(s.start.offset,s.end.offset)}function pr(s,t){s.end=Pe.getPos(t),s.source=At(s.start.offset,t)}function WP(s){let t={type:6,name:s.rawName,nameLoc:Qe(s.loc.start.offset,s.loc.start.offset+s.rawName.length),value:void 0,loc:s.loc};if(s.exp){let e=s.exp.loc;e.end.offset<s.loc.end.offset&&(e.start.offset--,e.start.column--,e.end.offset++,e.end.column++),t.value={type:2,content:s.exp.content,loc:e}}return t}function Bo(s,t=!1,e,i=0,r=0){let n=z(s,t,e,i);if(!t&&ge.prefixIdentifiers&&r!==3&&s.trim()){if(li(s))return n.ast=null,n;try{let a=ge.expressionPlugins,o={plugins:a?[...a,"typescript"]:["typescript"]};r===2?n.ast=en.parse(` ${s} `,o).program:r===1?n.ast=en.parseExpression(`(${s})=>{}`,o):n.ast=en.parseExpression(`(${s})`,o)}catch(a){n.ast=!1,Lt(46,e.start.offset,a.message)}}return n}function Lt(s,t,e){ge.onError(Te(s,Qe(t,t),void 0,e))}function XP(){Pe.reset(),It=null,re=null,fs="",ai=-1,hr=-1,je.length=0}function Ug(s,t){if(XP(),oi=s,ge=U.extend({},kg),t){let r;for(r in t)t[r]!=null&&(ge[r]=t[r])}Pe.mode=ge.parseMode==="html"?1:ge.parseMode==="sfc"?2:0,Pe.inXML=ge.ns===1||ge.ns===2;let e=t&&t.delimiters;e&&(Pe.delimiterOpen=Ko(e[0]),Pe.delimiterClose=Ko(e[1]));let i=fa=Ag([],s);return Pe.parse(oi),i.loc=Qe(0,s.length),i.children=Fg(i.children),fa=null,i}function qP(s,t){Fo(s,void 0,t,!!$g(s))}function $g(s){let t=s.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!ha(t[0])?t[0]:null}function Fo(s,t,e,i=!1,r=!1){let{children:n}=s,a=[];for(let u=0;u<n.length;u++){let h=n[u];if(h.type===1&&h.tagType===0){let p=i?0:ts(h,e);if(p>0){if(p>=2){h.codegenNode.patchFlag=-1,a.push(h);continue}}else{let f=h.codegenNode;if(f.type===13){let m=f.patchFlag;if((m===void 0||m===512||m===1)&&Hg(h,e)>=2){let d=Kg(h);d&&(f.props=e.hoist(d))}f.dynamicProps&&(f.dynamicProps=e.hoist(f.dynamicProps))}}}else if(h.type===12&&(i?0:ts(h,e))>=2){h.codegenNode.type===14&&h.codegenNode.arguments.length>0&&h.codegenNode.arguments.push("-1"),a.push(h);continue}if(h.type===1){let p=h.tagType===1;p&&e.scopes.vSlot++,Fo(h,s,e,!1,r),p&&e.scopes.vSlot--}else if(h.type===11)Fo(h,s,e,h.children.length===1,!0);else if(h.type===9)for(let p=0;p<h.branches.length;p++)Fo(h.branches[p],s,e,h.branches[p].children.length===1,r)}let o=!1;if(a.length===n.length&&s.type===1){if(s.tagType===0&&s.codegenNode&&s.codegenNode.type===13&&U.isArray(s.codegenNode.children))s.codegenNode.children=l(Ri(s.codegenNode.children)),o=!0;else if(s.tagType===1&&s.codegenNode&&s.codegenNode.type===13&&s.codegenNode.children&&!U.isArray(s.codegenNode.children)&&s.codegenNode.children.type===15){let u=c(s.codegenNode,"default");u&&(u.returns=l(Ri(u.returns)),o=!0)}else if(s.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!U.isArray(t.codegenNode.children)&&t.codegenNode.children.type===15){let u=Mt(s,"slot",!0),h=u&&u.arg&&c(t.codegenNode,u.arg);h&&(h.returns=l(Ri(h.returns)),o=!0)}}if(!o)for(let u of a)u.codegenNode=e.cache(u.codegenNode);function l(u){let h=e.cache(u);return h.needArraySpread=!0,h}function c(u,h){if(u.children&&!U.isArray(u.children)&&u.children.type===15){let p=u.children.properties.find(f=>f.key===h||f.key.content===h);return p&&p.value}}a.length&&e.transformHoist&&e.transformHoist(n,e,s)}function ts(s,t){let{constantCache:e}=t;switch(s.type){case 1:if(s.tagType!==0)return 0;let i=e.get(s);if(i!==void 0)return i;let r=s.codegenNode;if(r.type!==13||r.isBlock&&s.tag!=="svg"&&s.tag!=="foreignObject"&&s.tag!=="math")return 0;if(r.patchFlag===void 0){let a=3,o=Hg(s,t);if(o===0)return e.set(s,0),0;o<a&&(a=o);for(let l=0;l<s.children.length;l++){let c=ts(s.children[l],t);if(c===0)return e.set(s,0),0;c<a&&(a=c)}if(a>1)for(let l=0;l<s.props.length;l++){let c=s.props[l];if(c.type===7&&c.name==="bind"&&c.exp){let u=ts(c.exp,t);if(u===0)return e.set(s,0),0;u<a&&(a=u)}}if(r.isBlock){for(let l=0;l<s.props.length;l++)if(s.props[l].type===7)return e.set(s,0),0;t.removeHelper(ki),t.removeHelper(Ar(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(mr(t.inSSR,r.isComponent))}return e.set(s,a),a}else return e.set(s,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return ts(s.content,t);case 4:return s.constType;case 8:let n=3;for(let a=0;a<s.children.length;a++){let o=s.children[a];if(U.isString(o)||U.isSymbol(o))continue;let l=ts(o,t);if(l===0)return 0;l<n&&(n=l)}return n;case 20:return 2;default:return 0}}var QP=new Set([rl,nl,rn,ln]);function jg(s,t){if(s.type===14&&!U.isString(s.callee)&&QP.has(s.callee)){let e=s.arguments[0];if(e.type===4)return ts(e,t);if(e.type===14)return jg(e,t)}return 0}function Hg(s,t){let e=3,i=Kg(s);if(i&&i.type===15){let{properties:r}=i;for(let n=0;n<r.length;n++){let{key:a,value:o}=r[n],l=ts(a,t);if(l===0)return l;l<e&&(e=l);let c;if(o.type===4?c=ts(o,t):o.type===14?c=jg(o,t):c=0,c===0)return c;c<e&&(e=c)}}return e}function Kg(s){let t=s.codegenNode;if(t.type===13)return t.props}function Gg(s,{filename:t="",prefixIdentifiers:e=!1,hoistStatic:i=!1,hmr:r=!1,cacheHandlers:n=!1,nodeTransforms:a=[],directiveTransforms:o={},transformHoist:l=null,isBuiltInComponent:c=U.NOOP,isCustomElement:u=U.NOOP,expressionPlugins:h=[],scopeId:p=null,slotted:f=!0,ssr:m=!1,inSSR:d=!1,ssrCssVars:A="",bindingMetadata:y=U.EMPTY_OBJ,inline:E=!1,isTS:x=!1,onError:N=Dh,onWarn:w=Eg,compatConfig:M}){let R=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),I={filename:t,selfName:R&&U.capitalize(U.camelize(R[1])),prefixIdentifiers:e,hoistStatic:i,hmr:r,cacheHandlers:n,nodeTransforms:a,directiveTransforms:o,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:h,scopeId:p,slotted:f,ssr:m,inSSR:d,ssrCssVars:A,bindingMetadata:y,inline:E,isTS:x,onError:N,onWarn:w,compatConfig:M,root:s,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:s,childIndex:0,inVOnce:!1,helper(g){let P=I.helpers.get(g)||0;return I.helpers.set(g,P+1),g},removeHelper(g){let P=I.helpers.get(g);if(P){let L=P-1;L?I.helpers.set(g,L):I.helpers.delete(g)}},helperString(g){return`_${Ft[I.helper(g)]}`},replaceNode(g){I.parent.children[I.childIndex]=I.currentNode=g},removeNode(g){let P=I.parent.children,L=g?P.indexOf(g):I.currentNode?I.childIndex:-1;!g||g===I.currentNode?(I.currentNode=null,I.onNodeRemoved()):I.childIndex>L&&(I.childIndex--,I.onNodeRemoved()),I.parent.children.splice(L,1)},onNodeRemoved:U.NOOP,addIdentifiers(g){U.isString(g)?_(g):g.identifiers?g.identifiers.forEach(_):g.type===4&&_(g.content)},removeIdentifiers(g){U.isString(g)?T(g):g.identifiers?g.identifiers.forEach(T):g.type===4&&T(g.content)},hoist(g){U.isString(g)&&(g=z(g)),I.hoists.push(g);let P=z(`_hoisted_${I.hoists.length}`,!1,g.loc,2);return P.hoisted=g,P},cache(g,P=!1,L=!1){let C=gg(I.cached.length,g,P,L);return I.cached.push(C),C}};I.filters=new Set;function _(g){let{identifiers:P}=I;P[g]===void 0&&(P[g]=0),P[g]++}function T(g){I.identifiers[g]--}return I}function Wg(s,t){let e=Gg(s,t);da(s,e),t.hoistStatic&&qP(s,e),t.ssr||JP(s,e),s.helpers=new Set([...e.helpers.keys()]),s.components=[...e.components],s.directives=[...e.directives],s.imports=e.imports,s.hoists=e.hoists,s.temps=e.temps,s.cached=e.cached,s.transformed=!0,s.filters=[...e.filters]}function JP(s,t){let{helper:e}=t,{children:i}=s;if(i.length===1){let r=$g(s);if(r&&r.codegenNode){let n=r.codegenNode;n.type===13&&cl(n,t),s.codegenNode=n}else s.codegenNode=i[0]}else if(i.length>1){let r=64;s.codegenNode=nn(t,e(sn),void 0,s.children,r,void 0,void 0,!0,void 0,!1)}}function YP(s,t){let e=0,i=()=>{e--};for(;e<s.children.length;e++){let r=s.children[e];U.isString(r)||(t.grandParent=t.parent,t.parent=s,t.childIndex=e,t.onNodeRemoved=i,da(r,t))}}function da(s,t){t.currentNode=s;let{nodeTransforms:e}=t,i=[];for(let n=0;n<e.length;n++){let a=e[n](s,t);if(a&&(U.isArray(a)?i.push(...a):i.push(a)),t.currentNode)s=t.currentNode;else return}switch(s.type){case 3:t.ssr||t.helper(on);break;case 5:t.ssr||t.helper(il);break;case 9:for(let n=0;n<s.branches.length;n++)da(s.branches[n],t);break;case 10:case 11:case 1:case 0:YP(s,t);break}t.currentNode=s;let r=i.length;for(;r--;)i[r]()}function Gh(s,t){let e=U.isString(s)?i=>i===s:i=>s.test(i);return(i,r)=>{if(i.type===1){let{props:n}=i;if(i.tagType===3&&n.some(pl))return;let a=[];for(let o=0;o<n.length;o++){let l=n[o];if(l.type===7&&e(l.name)){n.splice(o,1),o--;let c=t(i,l,r);c&&a.push(c)}}return a}}}var dl="/*@__PURE__*/",Vo=s=>`${Ft[s]}: _${Ft[s]}`;function sg(s,{mode:t="function",prefixIdentifiers:e=t==="module",sourceMap:i=!1,filename:r="template.vue.html",scopeId:n=null,optimizeImports:a=!1,runtimeGlobalName:o="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:h=!1,inSSR:p=!1}){let f={mode:t,prefixIdentifiers:e,sourceMap:i,filename:r,scopeId:n,optimizeImports:a,runtimeGlobalName:o,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:h,inSSR:p,source:s.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(A){return`_${Ft[A]}`},push(A,y=-2,E){if(f.code+=A,f.map){if(E){let x;if(E.type===4&&!E.isStatic){let N=E.content.replace(/^_ctx\./,"");N!==E.content&&li(N)&&(x=N)}E.loc.source&&d(E.loc.start,x)}y===-3?$h(f,A):(f.offset+=A.length,y===-2?f.column+=A.length:(y===-1&&(y=A.length-1),f.line++,f.column=A.length-y)),E&&E.loc!==et&&E.loc.source&&d(E.loc.end)}},indent(){m(++f.indentLevel)},deindent(A=!1){A?--f.indentLevel:m(--f.indentLevel)},newline(){m(f.indentLevel)}};function m(A){f.push(`
|
|
16
|
-
`+" ".repeat(A),0)}function d(A,y=null){let{_names:
|
|
17
|
-
`,-1),l())),s.components.length&&(
|
|
18
|
-
`,0),l()),u||r("return "),s.codegenNode?Le(s.codegenNode,e):r("null"),f&&(o(),r("}")),o(),r("}"),{ast:s,code:e.code,preamble:d?A.code:"",map:e.map?e.map.toJSON():void 0}}function
|
|
9
|
+
`):r=String.fromCharCode(i),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let i="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(E.UnterminatedString,this.state.startLoc);let n=this.input.charCodeAt(this.state.pos);if(n===e)break;n===38?(i+=this.input.slice(r,this.state.pos),i+=this.jsxReadEntity(),r=this.state.pos):Hr(n)?(i+=this.input.slice(r,this.state.pos),i+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}i+=this.input.slice(r,this.state.pos++),this.finishToken(134,i)}jsxReadEntity(){let e=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let i=10;this.codePointAtPos(this.state.pos)===120&&(i=16,++this.state.pos);let r=this.readInt(i,void 0,!1,"bail");if(r!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(r)}else{let i=0,r=!1;for(;i++<10&&this.state.pos<this.length&&!(r=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(r){let n=this.input.slice(e,this.state.pos),a=u_[n];if(++this.state.pos,a)return a}}return this.state.pos=e,"&"}jsxReadWord(){let e,i=this.state.pos;do e=this.input.charCodeAt(++this.state.pos);while(or(e)||e===45);this.finishToken(141,this.input.slice(i,this.state.pos))}jsxParseIdentifier(){let e=this.startNode();return this.match(141)?e.name=this.state.value:ep(this.state.type)?e.name=wi(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){let e=this.state.startLoc,i=this.jsxParseIdentifier();if(!this.eat(14))return i;let r=this.startNodeAt(e);return r.namespace=i,r.name=this.jsxParseIdentifier(),this.finishNode(r,"JSXNamespacedName")}jsxParseElementName(){let e=this.state.startLoc,i=this.jsxParseNamespacedName();if(i.type==="JSXNamespacedName")return i;for(;this.eat(16);){let r=this.startNodeAt(e);r.object=i,r.property=this.jsxParseIdentifier(),i=this.finishNode(r,"JSXMemberExpression")}return i}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(de.brace),this.next(),e=this.jsxParseExpressionContainer(e,de.j_oTag),e.expression.type==="JSXEmptyExpression"&&this.raise(nr.AttributeIsEmpty,e),e;case 143:case 134:return this.parseExprAtom();default:throw this.raise(nr.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let e=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.setContext(de.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,i){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{let r=this.parseExpression();e.expression=r}return this.setContext(i),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){let e=this.startNode();return this.match(5)?(this.setContext(de.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(de.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e){let i=this.startNodeAt(e);return this.eat(144)?this.finishNode(i,"JSXOpeningFragment"):(i.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(i))}jsxParseOpeningElementAfterName(e){let i=[];for(;!this.match(56)&&!this.match(144);)i.push(this.jsxParseAttribute());return e.attributes=i,e.selfClosing=this.eat(56),this.expect(144),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){let i=this.startNodeAt(e);return this.eat(144)?this.finishNode(i,"JSXClosingFragment"):(i.name=this.jsxParseElementName(),this.expect(144),this.finishNode(i,"JSXClosingElement"))}jsxParseElementAt(e){let i=this.startNodeAt(e),r=[],n=this.jsxParseOpeningElementAt(e),a=null;if(!n.selfClosing){e:for(;;)switch(this.state.type){case 143:if(e=this.state.startLoc,this.next(),this.eat(56)){a=this.jsxParseClosingElementAt(e);break e}r.push(this.jsxParseElementAt(e));break;case 142:r.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let o=this.startNode();this.setContext(de.brace),this.next(),this.match(21)?r.push(this.jsxParseSpreadChild(o)):r.push(this.jsxParseExpressionContainer(o,de.j_expr));break}default:this.unexpected()}Oi(n)&&!Oi(a)&&a!==null?this.raise(nr.MissingClosingTagFragment,a):!Oi(n)&&Oi(a)?this.raise(nr.MissingClosingTagElement,a,{openingTagName:jr(n.name)}):!Oi(n)&&!Oi(a)&&jr(a.name)!==jr(n.name)&&this.raise(nr.MissingClosingTagElement,a,{openingTagName:jr(n.name)})}if(Oi(n)?(i.openingFragment=n,i.closingFragment=a):(i.openingElement=n,i.closingElement=a),i.children=r,this.match(47))throw this.raise(nr.UnwrappedAdjacentJSXElements,this.state.startLoc);return Oi(n)?this.finishNode(i,"JSXFragment"):this.finishNode(i,"JSXElement")}jsxParseElement(){let e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){let{context:i}=this.state;i[i.length-1]=e}parseExprAtom(e){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){let i=this.curContext();if(i===de.j_expr){this.jsxReadToken();return}if(i===de.j_oTag||i===de.j_cTag){if(Fs(e)){this.jsxReadWord();return}if(e===62){++this.state.pos,this.finishToken(144);return}if((e===34||e===39)&&i===de.j_oTag){this.jsxReadString(e);return}}if(e===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(e)}updateContext(e){let{context:i,type:r}=this.state;if(r===56&&e===143)i.splice(-2,2,de.j_cTag),this.state.canStartJSXElement=!1;else if(r===143)i.push(de.j_oTag);else if(r===144){let n=i[i.length-1];n===de.j_oTag&&e===56||n===de.j_cTag?(i.pop(),this.state.canStartJSXElement=i[i.length-1]===de.j_expr):(this.setContext(de.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=V1(r)}},Ou=class extends Qn{constructor(...t){super(...t),this.tsNames=new Map}},wu=class extends Jn{constructor(...t){super(...t),this.importsStack=[]}createScope(t){return this.importsStack.push(new Set),new Ou(t)}enter(t){t===1024&&this.importsStack.push(new Set),super.enter(t)}exit(){let t=super.exit();return t===1024&&this.importsStack.pop(),t}hasImport(t,e){let i=this.importsStack.length;if(this.importsStack[i-1].has(t))return!0;if(!e&&i>1){for(let r=0;r<i-1;r++)if(this.importsStack[r].has(t))return!0}return!1}declareName(t,e,i){if(e&4096){this.hasImport(t,!0)&&this.parser.raise(E.VarRedeclaration,i,{identifierName:t}),this.importsStack[this.importsStack.length-1].add(t);return}let r=this.currentScope(),n=r.tsNames.get(t)||0;if(e&1024){this.maybeExportDefined(r,t),r.tsNames.set(t,n|16);return}super.declareName(t,e,i),e&2&&(e&1||(this.checkRedeclarationInScope(r,t,e,i),this.maybeExportDefined(r,t)),n=n|1),e&256&&(n=n|2),e&512&&(n=n|4),e&128&&(n=n|8),n&&r.tsNames.set(t,n)}isRedeclaredInScope(t,e,i){let r=t.tsNames.get(e);if((r&2)>0){if(i&256){let n=!!(i&512),a=(r&4)>0;return n!==a}return!0}return i&128&&(r&8)>0?t.names.get(e)&2?!!(i&1):!1:i&2&&(r&1)>0?!0:super.isRedeclaredInScope(t,e,i)}checkLocalExport(t){let{name:e}=t;if(this.hasImport(e))return;let i=this.scopeStack.length;for(let r=i-1;r>=0;r--){let a=this.scopeStack[r].tsNames.get(e);if((a&1)>0||(a&16)>0)return}super.checkLocalExport(t)}},Lu=class{constructor(){this.stacks=[]}enter(t){this.stacks.push(t)}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 To(s,t){return(s?2:0)|(t?1:0)}var Mu=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(t){return t+this.startIndex}offsetToSourcePos(t){return t-this.startIndex}hasPlugin(t){if(typeof t=="string")return this.plugins.has(t);{let[e,i]=t;if(!this.hasPlugin(e))return!1;let r=this.plugins.get(e);for(let n of Object.keys(i))if(r?.[n]!==i[n])return!1;return!0}}getPluginOption(t,e){var i;return(i=this.plugins.get(t))==null?void 0:i[e]}};function AA(s,t){s.trailingComments===void 0?s.trailingComments=t:s.trailingComments.unshift(...t)}function d_(s,t){s.leadingComments===void 0?s.leadingComments=t:s.leadingComments.unshift(...t)}function Yn(s,t){s.innerComments===void 0?s.innerComments=t:s.innerComments.unshift(...t)}function Rs(s,t,e){let i=null,r=t.length;for(;i===null&&r>0;)i=t[--r];i===null||i.start>e.start?Yn(s,e.comments):AA(i,e.comments)}var Du=class extends Mu{addComment(t){this.filename&&(t.loc.filename=this.filename);let{commentsLen:e}=this.state;this.comments.length!==e&&(this.comments.length=e),this.comments.push(t),this.state.commentsLen++}processComment(t){let{commentStack:e}=this.state,i=e.length;if(i===0)return;let r=i-1,n=e[r];n.start===t.end&&(n.leadingNode=t,r--);let{start:a}=t;for(;r>=0;r--){let o=e[r],l=o.end;if(l>a)o.containingNode=t,this.finalizeComment(o),e.splice(r,1);else{l===a&&(o.trailingNode=t);break}}}finalizeComment(t){var e;let{comments:i}=t;if(t.leadingNode!==null||t.trailingNode!==null)t.leadingNode!==null&&AA(t.leadingNode,i),t.trailingNode!==null&&d_(t.trailingNode,i);else{let r=t.containingNode,n=t.start;if(this.input.charCodeAt(this.offsetToSourcePos(n)-1)===44)switch(r.type){case"ObjectExpression":case"ObjectPattern":Rs(r,r.properties,t);break;case"CallExpression":case"OptionalCallExpression":Rs(r,r.arguments,t);break;case"ImportExpression":Rs(r,[r.source,(e=r.options)!=null?e:null],t);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Rs(r,r.params,t);break;case"ArrayExpression":case"ArrayPattern":Rs(r,r.elements,t);break;case"ExportNamedDeclaration":case"ImportDeclaration":Rs(r,r.specifiers,t);break;case"TSEnumDeclaration":Rs(r,r.members,t);break;case"TSEnumBody":Rs(r,r.members,t);break;default:{if(r.type==="RecordExpression"){Rs(r,r.properties,t);break}if(r.type==="TupleExpression"){Rs(r,r.elements,t);break}Yn(r,i)}}else Yn(r,i)}}finalizeRemainingComments(){let{commentStack:t}=this.state;for(let e=t.length-1;e>=0;e--)this.finalizeComment(t[e]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(t){let{commentStack:e}=this.state,{length:i}=e;if(i===0)return;let r=e[i-1];r.leadingNode===t&&(r.leadingNode=null)}takeSurroundingComments(t,e,i){let{commentStack:r}=this.state,n=r.length;if(n===0)return;let a=n-1;for(;a>=0;a--){let o=r[a],l=o.end;if(o.start===i)o.leadingNode=t;else if(l===e)o.trailingNode=t;else if(l<e)break}}},Ru=class s{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=[de.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(t){t?this.flags|=1:this.flags&=-2}init({strictMode:t,sourceType:e,startIndex:i,startLine:r,startColumn:n}){this.strict=t===!1?!1:t===!0?!0:e==="module",this.startIndex=i,this.curLine=r,this.lineStart=-n,this.startLoc=this.endLoc=new Vs(r,n,i)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(t){t?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(t){t?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(t){t?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(t){t?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(t){t?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(t){t?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(t){t?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(t){t?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(t){t?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(t){t?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(t){t?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(t){t?this.flags|=4096:this.flags&=-4097}curPosition(){return new Vs(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let t=new s;return t.flags=this.flags,t.startIndex=this.startIndex,t.curLine=this.curLine,t.lineStart=this.lineStart,t.startLoc=this.startLoc,t.endLoc=this.endLoc,t.errors=this.errors.slice(),t.potentialArrowAt=this.potentialArrowAt,t.noArrowAt=this.noArrowAt.slice(),t.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),t.topicContext=this.topicContext,t.labels=this.labels.slice(),t.commentsLen=this.commentsLen,t.commentStack=this.commentStack.slice(),t.pos=this.pos,t.type=this.type,t.value=this.value,t.start=this.start,t.end=this.end,t.lastTokEndLoc=this.lastTokEndLoc,t.lastTokStartLoc=this.lastTokStartLoc,t.context=this.context.slice(),t.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,t.strictErrors=this.strictErrors,t.tokensLength=this.tokensLength,t}},m_=function(t){return t>=48&&t<=57},tA={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Eo={bin:s=>s===48||s===49,oct:s=>s>=48&&s<=55,dec:s=>s>=48&&s<=57,hex:s=>s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102};function sA(s,t,e,i,r,n){let a=e,o=i,l=r,c="",u=null,p=e,{length:h}=t;for(;;){if(e>=h){n.unterminated(a,o,l),c+=t.slice(p,e);break}let f=t.charCodeAt(e);if(A_(s,f,t,e)){c+=t.slice(p,e);break}if(f===92){c+=t.slice(p,e);let m=g_(t,e,i,r,s==="template",n);m.ch===null&&!u?u={pos:e,lineStart:i,curLine:r}:c+=m.ch,{pos:e,lineStart:i,curLine:r}=m,p=e}else f===8232||f===8233?(++e,++r,i=e):f===10||f===13?s==="template"?(c+=t.slice(p,e)+`
|
|
10
|
+
`,++e,f===13&&t.charCodeAt(e)===10&&++e,++r,p=i=e):n.unterminated(a,o,l):++e}return{pos:e,str:c,firstInvalidLoc:u,lineStart:i,curLine:r,containsInvalid:!!u}}function A_(s,t,e,i){return s==="template"?t===96||t===36&&e.charCodeAt(i+1)===123:t===(s==="double"?34:39)}function g_(s,t,e,i,r,n){let a=!r;t++;let o=c=>({pos:t,ch:c,lineStart:e,curLine:i}),l=s.charCodeAt(t++);switch(l){case 110:return o(`
|
|
11
|
+
`);case 114:return o("\r");case 120:{let c;return{code:c,pos:t}=ku(s,t,e,i,2,!1,a,n),o(c===null?null:String.fromCharCode(c))}case 117:{let c;return{code:c,pos:t}=yA(s,t,e,i,a,n),o(c===null?null:String.fromCodePoint(c))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:s.charCodeAt(t)===10&&++t;case 10:e=t,++i;case 8232:case 8233:return o("");case 56:case 57:if(r)return o(null);n.strictNumericEscape(t-1,e,i);default:if(l>=48&&l<=55){let c=t-1,p=/^[0-7]+/.exec(s.slice(c,t+2))[0],h=parseInt(p,8);h>255&&(p=p.slice(0,-1),h=parseInt(p,8)),t+=p.length-1;let f=s.charCodeAt(t);if(p!=="0"||f===56||f===57){if(r)return o(null);n.strictNumericEscape(c,e,i)}return o(String.fromCharCode(h))}return o(String.fromCharCode(l))}}function ku(s,t,e,i,r,n,a,o){let l=t,c;return{n:c,pos:t}=gA(s,t,e,i,16,r,n,!1,o,!a),c===null&&(a?o.invalidEscapeSequence(l,e,i):t=l-1),{code:c,pos:t}}function gA(s,t,e,i,r,n,a,o,l,c){let u=t,p=r===16?tA.hex:tA.decBinOct,h=r===16?Eo.hex:r===10?Eo.dec:r===8?Eo.oct:Eo.bin,f=!1,m=0;for(let d=0,A=n??1/0;d<A;++d){let y=s.charCodeAt(t),S;if(y===95&&o!=="bail"){let P=s.charCodeAt(t-1),x=s.charCodeAt(t+1);if(o){if(Number.isNaN(x)||!h(x)||p.has(P)||p.has(x)){if(c)return{n:null,pos:t};l.unexpectedNumericSeparator(t,e,i)}}else{if(c)return{n:null,pos:t};l.numericSeparatorInEscapeSequence(t,e,i)}++t;continue}if(y>=97?S=y-97+10:y>=65?S=y-65+10:m_(y)?S=y-48:S=1/0,S>=r){if(S<=9&&c)return{n:null,pos:t};if(S<=9&&l.invalidDigit(t,e,i,r))S=0;else if(a)S=0,f=!0;else break}++t,m=m*r+S}return t===u||n!=null&&t-u!==n||f?{n:null,pos:t}:{n:m,pos:t}}function yA(s,t,e,i,r,n){let a=s.charCodeAt(t),o;if(a===123){if(++t,{code:o,pos:t}=ku(s,t,e,i,s.indexOf("}",t)-t,!0,r,n),++t,o!==null&&o>1114111)if(r)n.invalidCodePoint(t,e,i);else return{code:null,pos:t}}else({code:o,pos:t}=ku(s,t,e,i,4,!1,r,n));return{code:o,pos:t}}function Gn(s,t,e){return new Vs(e,s-t,s)}var y_=new Set([103,109,115,105,121,117,100,118]),ks=class{constructor(t){let e=t.startIndex||0;this.type=t.type,this.value=t.value,this.start=e+t.start,this.end=e+t.end,this.loc=new Gr(t.startLoc,t.endLoc)}},Bu=class extends Du{constructor(t,e){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(i,r,n,a)=>this.optionFlags&2048?(this.raise(E.InvalidDigit,Gn(i,r,n),{radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(E.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(E.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(E.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(E.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(i,r,n)=>{this.recordStrictModeErrors(E.StrictNumericEscape,Gn(i,r,n))},unterminated:(i,r,n)=>{throw this.raise(E.UnterminatedString,Gn(i-1,r,n))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(E.StrictNumericEscape),unterminated:(i,r,n)=>{throw this.raise(E.UnterminatedTemplate,Gn(i,r,n))}}),this.state=new Ru,this.state.init(t),this.input=e,this.length=e.length,this.comments=[],this.isLookahead=!1}pushToken(t){this.tokens.length=this.state.tokensLength,this.tokens.push(t),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&256&&this.pushToken(new ks(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(t){return this.match(t)?(this.next(),!0):!1}match(t){return this.state.type===t}createLookaheadState(t){return{pos:t.pos,value:null,type:t.type,start:t.start,end:t.end,context:[this.curContext()],inType:t.inType,startLoc:t.startLoc,lastTokEndLoc:t.lastTokEndLoc,curLine:t.curLine,lineStart:t.lineStart,curPosition:t.curPosition}}lookahead(){let t=this.state;this.state=this.createLookaheadState(t),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let e=this.state;return this.state=t,e}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(t){return Tu.lastIndex=t,Tu.test(this.input)?Tu.lastIndex:t}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(t){return this.input.charCodeAt(this.nextTokenStartSince(t))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(t){return Cu.lastIndex=t,Cu.test(this.input)?Cu.lastIndex:t}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(t){let e=this.input.charCodeAt(t);if((e&64512)===55296&&++t<this.input.length){let i=this.input.charCodeAt(t);(i&64512)===56320&&(e=65536+((e&1023)<<10)+(i&1023))}return e}setStrict(t){this.state.strict=t,t&&(this.state.strictErrors.forEach(([e,i])=>this.raise(e,i)),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(t){let e;this.isLookahead||(e=this.state.curPosition());let i=this.state.pos,r=this.input.indexOf(t,i+2);if(r===-1)throw this.raise(E.UnterminatedComment,this.state.curPosition());for(this.state.pos=r+t.length,yo.lastIndex=i+2;yo.test(this.input)&&yo.lastIndex<=r;)++this.state.curLine,this.state.lineStart=yo.lastIndex;if(this.isLookahead)return;let n={type:"CommentBlock",value:this.input.slice(i+2,r),start:this.sourceToOffsetPos(i),end:this.sourceToOffsetPos(r+t.length),loc:new Gr(e,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(n),n}skipLineComment(t){let e=this.state.pos,i;this.isLookahead||(i=this.state.curPosition());let r=this.input.charCodeAt(this.state.pos+=t);if(this.state.pos<this.length)for(;!Hr(r)&&++this.state.pos<this.length;)r=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let n=this.state.pos,o={type:"CommentLine",value:this.input.slice(e+t,n),start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(n),loc:new Gr(i,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(o),o}skipSpace(){let t=this.state.pos,e=this.optionFlags&4096?[]:null;e:for(;this.state.pos<this.length;){let i=this.input.charCodeAt(this.state.pos);switch(i){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:{let r=this.skipBlockComment("*/");r!==void 0&&(this.addComment(r),e?.push(r));break}case 47:{let r=this.skipLineComment(2);r!==void 0&&(this.addComment(r),e?.push(r));break}default:break e}break;default:if(h_(i))++this.state.pos;else if(i===45&&!this.inModule&&this.optionFlags&8192){let r=this.state.pos;if(this.input.charCodeAt(r+1)===45&&this.input.charCodeAt(r+2)===62&&(t===0||this.state.lineStart>t)){let n=this.skipLineComment(3);n!==void 0&&(this.addComment(n),e?.push(n))}else break e}else if(i===60&&!this.inModule&&this.optionFlags&8192){let r=this.state.pos;if(this.input.charCodeAt(r+1)===33&&this.input.charCodeAt(r+2)===45&&this.input.charCodeAt(r+3)===45){let n=this.skipLineComment(4);n!==void 0&&(this.addComment(n),e?.push(n))}else break e}else break e}}if(e?.length>0){let i=this.state.pos,r={start:this.sourceToOffsetPos(t),end:this.sourceToOffsetPos(i),comments:e,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(t,e){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let i=this.state.type;this.state.type=t,this.state.value=e,this.isLookahead||this.updateContext(i)}replaceToken(t){this.state.type=t,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let t=this.state.pos+1,e=this.codePointAtPos(t);if(e>=48&&e<=57)throw this.raise(E.UnexpectedDigitAfterHash,this.state.curPosition());if(e===123||e===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(e===123?E.RecordExpressionHashIncorrectStartSyntaxType:E.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,e===123?this.finishToken(7):this.finishToken(1)}else Fs(e)?(++this.state.pos,this.finishToken(139,this.readWord1(e))):e===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let t=this.input.charCodeAt(this.state.pos+1);if(t>=48&&t<=57){this.readNumber(!0);return}t===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 t=this.input.charCodeAt(this.state.pos+1);if(t!==33)return!1;let e=this.state.pos;for(this.state.pos+=1;!Hr(t)&&++this.state.pos<this.length;)t=this.input.charCodeAt(this.state.pos);let i=this.input.slice(e+2,this.state.pos);return this.finishToken(28,i),!0}readToken_mult_modulo(t){let e=t===42?55:54,i=1,r=this.input.charCodeAt(this.state.pos+1);t===42&&r===42&&(i++,r=this.input.charCodeAt(this.state.pos+2),e=57),r===61&&!this.state.inType&&(i++,e=t===37?33:30),this.finishOp(e,i)}readToken_pipe_amp(t){let e=this.input.charCodeAt(this.state.pos+1);if(e===t){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(t===124?41:42,2);return}if(t===124){if(e===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&e===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(E.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&e===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(E.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(e===61){this.finishOp(30,2);return}this.finishOp(t===124?43:45,1)}readToken_caret(){let t=this.input.charCodeAt(this.state.pos+1);t===61&&!this.state.inType?this.finishOp(32,2):t===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(t){let e=this.input.charCodeAt(this.state.pos+1);if(e===t){this.finishOp(34,2);return}e===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:t}=this.state,e=this.input.charCodeAt(t+1);if(e===60){if(this.input.charCodeAt(t+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(e===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:t}=this.state,e=this.input.charCodeAt(t+1);if(e===62){let i=this.input.charCodeAt(t+2)===62?3:2;if(this.input.charCodeAt(t+i)===61){this.finishOp(30,i+1);return}this.finishOp(52,i);return}if(e===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(t){let e=this.input.charCodeAt(this.state.pos+1);if(e===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(t===61&&e===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(t===61?29:35,1)}readToken_question(){let t=this.input.charCodeAt(this.state.pos+1),e=this.input.charCodeAt(this.state.pos+2);t===63?e===61?this.finishOp(30,3):this.finishOp(40,2):t===46&&!(e>=48&&e<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(t){switch(t){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(E.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(E.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:{let e=this.input.charCodeAt(this.state.pos+1);if(e===120||e===88){this.readRadixNumber(16);return}if(e===111||e===79){this.readRadixNumber(8);return}if(e===98||e===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(t);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(t);return;case 124:case 38:this.readToken_pipe_amp(t);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(t);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(t);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(Fs(t)){this.readWord(t);return}}throw this.raise(E.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(t)})}finishOp(t,e){let i=this.input.slice(this.state.pos,this.state.pos+e);this.state.pos+=e,this.finishToken(t,i)}readRegexp(){let t=this.state.startLoc,e=this.state.start+1,i,r,{pos:n}=this.state;for(;;++n){if(n>=this.length)throw this.raise(E.UnterminatedRegExp,wt(t,1));let c=this.input.charCodeAt(n);if(Hr(c))throw this.raise(E.UnterminatedRegExp,wt(t,1));if(i)i=!1;else{if(c===91)r=!0;else if(c===93&&r)r=!1;else if(c===47&&!r)break;i=c===92}}let a=this.input.slice(e,n);++n;let o="",l=()=>wt(t,n+2-e);for(;n<this.length;){let c=this.codePointAtPos(n),u=String.fromCharCode(c);if(y_.has(c))c===118?o.includes("u")&&this.raise(E.IncompatibleRegExpUVFlags,l()):c===117&&o.includes("v")&&this.raise(E.IncompatibleRegExpUVFlags,l()),o.includes(u)&&this.raise(E.DuplicateRegExpFlags,l());else if(or(c)||c===92)this.raise(E.MalformedRegExpFlags,l());else break;++n,o+=u}this.state.pos=n,this.finishToken(138,{pattern:a,flags:o})}readInt(t,e,i=!1,r=!0){let{n,pos:a}=gA(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,e,i,r,this.errorHandlers_readInt,!1);return this.state.pos=a,n}readRadixNumber(t){let e=this.state.pos,i=this.state.curPosition(),r=!1;this.state.pos+=2;let n=this.readInt(t);n==null&&this.raise(E.InvalidDigit,wt(i,2),{radix:t});let a=this.input.charCodeAt(this.state.pos);if(a===110)++this.state.pos,r=!0;else if(a===109)throw this.raise(E.InvalidDecimal,i);if(Fs(this.codePointAtPos(this.state.pos)))throw this.raise(E.NumberIdentifier,this.state.curPosition());if(r){let o=this.input.slice(e,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,o);return}this.finishToken(135,n)}readNumber(t){let e=this.state.pos,i=this.state.curPosition(),r=!1,n=!1,a=!1,o=!1;!t&&this.readInt(10)===null&&this.raise(E.InvalidNumber,this.state.curPosition());let l=this.state.pos-e>=2&&this.input.charCodeAt(e)===48;if(l){let f=this.input.slice(e,this.state.pos);if(this.recordStrictModeErrors(E.StrictOctalLiteral,i),!this.state.strict){let m=f.indexOf("_");m>0&&this.raise(E.ZeroDigitNumericSeparator,wt(i,m))}o=l&&!/[89]/.test(f)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!o&&(++this.state.pos,this.readInt(10),r=!0,c=this.input.charCodeAt(this.state.pos)),(c===69||c===101)&&!o&&(c=this.input.charCodeAt(++this.state.pos),(c===43||c===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(E.InvalidOrMissingExponent,i),r=!0,a=!0,c=this.input.charCodeAt(this.state.pos)),c===110&&((r||l)&&this.raise(E.InvalidBigIntLiteral,i),++this.state.pos,n=!0),c===109){this.expectPlugin("decimal",this.state.curPosition()),(a||l)&&this.raise(E.InvalidDecimal,i),++this.state.pos;var u=!0}if(Fs(this.codePointAtPos(this.state.pos)))throw this.raise(E.NumberIdentifier,this.state.curPosition());let p=this.input.slice(e,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(136,p);return}if(u){this.finishToken(137,p);return}let h=o?parseInt(p,8):parseFloat(p);this.finishToken(135,h)}readCodePoint(t){let{code:e,pos:i}=yA(this.input,this.state.pos,this.state.lineStart,this.state.curLine,t,this.errorHandlers_readCodePoint);return this.state.pos=i,e}readString(t){let{str:e,pos:i,curLine:r,lineStart:n}=sA(t===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=i+1,this.state.lineStart=n,this.state.curLine=r,this.finishToken(134,e)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let t=this.input[this.state.pos],{str:e,firstInvalidLoc:i,pos:r,curLine:n,lineStart:a}=sA("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=r+1,this.state.lineStart=a,this.state.curLine=n,i&&(this.state.firstInvalidTemplateEscapePos=new Vs(i.curLine,i.pos-i.lineStart,this.sourceToOffsetPos(i.pos))),this.input.codePointAt(r)===96?this.finishToken(24,i?null:t+e+"`"):(this.state.pos++,this.finishToken(25,i?null:t+e+"${"))}recordStrictModeErrors(t,e){let i=e.index;this.state.strict&&!this.state.strictErrors.has(i)?this.raise(t,e):this.state.strictErrors.set(i,[t,e])}readWord1(t){this.state.containsEsc=!1;let e="",i=this.state.pos,r=this.state.pos;for(t!==void 0&&(this.state.pos+=t<=65535?1:2);this.state.pos<this.length;){let n=this.codePointAtPos(this.state.pos);if(or(n))this.state.pos+=n<=65535?1:2;else if(n===92){this.state.containsEsc=!0,e+=this.input.slice(r,this.state.pos);let a=this.state.curPosition(),o=this.state.pos===i?Fs:or;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(E.MissingUnicodeEscape,this.state.curPosition()),r=this.state.pos-1;continue}++this.state.pos;let l=this.readCodePoint(!0);l!==null&&(o(l)||this.raise(E.EscapedCharNotAnIdentifier,a),e+=String.fromCodePoint(l)),r=this.state.pos}else break}return e+this.input.slice(r,this.state.pos)}readWord(t){let e=this.readWord1(t),i=qu.get(e);i!==void 0?this.finishToken(i,wi(i)):this.finishToken(132,e)}checkKeywordEscapes(){let{type:t}=this.state;ep(t)&&this.state.containsEsc&&this.raise(E.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:wi(t)})}raise(t,e,i={}){let r=e instanceof Vs?e:e.loc.start,n=t(r,i);if(!(this.optionFlags&2048))throw n;return this.isLookahead||this.state.errors.push(n),n}raiseOverwrite(t,e,i={}){let r=e instanceof Vs?e:e.loc.start,n=r.index,a=this.state.errors;for(let o=a.length-1;o>=0;o--){let l=a[o];if(l.loc.index===n)return a[o]=t(r,i);if(l.loc.index<n)break}return this.raise(t,e,i)}updateContext(t){}unexpected(t,e){throw this.raise(E.UnexpectedToken,t??this.state.startLoc,{expected:e?wi(e):null})}expectPlugin(t,e){if(this.hasPlugin(t))return!0;throw this.raise(E.MissingPlugin,e??this.state.startLoc,{missingPlugin:[t]})}expectOnePlugin(t){if(!t.some(e=>this.hasPlugin(e)))throw this.raise(E.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:t})}errorBuilder(t){return(e,i,r)=>{this.raise(t,Gn(e,i,r))}}},Fu=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},Vu=class{constructor(t){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=t}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Fu)}exit(){let t=this.stack.pop(),e=this.current();for(let[i,r]of Array.from(t.undefinedPrivateNames))e?e.undefinedPrivateNames.has(i)||e.undefinedPrivateNames.set(i,r):this.parser.raise(E.InvalidPrivateFieldResolution,r,{identifierName:i})}declarePrivateName(t,e,i){let{privateNames:r,loneAccessors:n,undefinedPrivateNames:a}=this.current(),o=r.has(t);if(e&3){let l=o&&n.get(t);if(l){let c=l&4,u=e&4,p=l&3,h=e&3;o=p===h||c!==u,o||n.delete(t)}else o||n.set(t,e)}o&&this.parser.raise(E.PrivateNameRedeclaration,i,{identifierName:t}),r.add(t),a.delete(t)}usePrivateName(t,e){let i;for(i of this.stack)if(i.privateNames.has(t))return;i?i.undefinedPrivateNames.set(t,e):this.parser.raise(E.InvalidPrivateFieldResolution,e,{identifierName:t})}},Wr=class{constructor(t=0){this.type=t}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},_o=class extends Wr{constructor(t){super(t),this.declarationErrors=new Map}recordDeclarationError(t,e){let i=e.index;this.declarationErrors.set(i,[t,e])}clearDeclarationError(t){this.declarationErrors.delete(t)}iterateErrors(t){this.declarationErrors.forEach(t)}},Uu=class{constructor(t){this.parser=void 0,this.stack=[new Wr],this.parser=t}enter(t){this.stack.push(t)}exit(){this.stack.pop()}recordParameterInitializerError(t,e){let i=e.loc.start,{stack:r}=this,n=r.length-1,a=r[n];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(t,i);else return;a=r[--n]}this.parser.raise(t,i)}recordArrowParameterBindingError(t,e){let{stack:i}=this,r=i[i.length-1],n=e.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(t,n);else if(r.canBeArrowParameterDeclaration())r.recordDeclarationError(t,n);else return}recordAsyncArrowParametersError(t){let{stack:e}=this,i=e.length-1,r=e[i];for(;r.canBeArrowParameterDeclaration();)r.type===2&&r.recordDeclarationError(E.AwaitBindingIdentifier,t),r=e[--i]}validateAsPattern(){let{stack:t}=this,e=t[t.length-1];e.canBeArrowParameterDeclaration()&&e.iterateErrors(([i,r])=>{this.parser.raise(i,r);let n=t.length-2,a=t[n];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(r.index),a=t[--n]})}};function E_(){return new Wr(3)}function S_(){return new _o(1)}function b_(){return new _o(2)}function EA(){return new Wr}var $u=class extends Bu{addExtra(t,e,i,r=!0){if(!t)return;let{extra:n}=t;n==null&&(n={},t.extra=n),r?n[e]=i:Object.defineProperty(n,e,{enumerable:r,value:i})}isContextual(t){return this.state.type===t&&!this.state.containsEsc}isUnparsedContextual(t,e){if(this.input.startsWith(e,t)){let i=this.input.charCodeAt(t+e.length);return!(or(i)||(i&64512)===55296)}return!1}isLookaheadContextual(t){let e=this.nextTokenStart();return this.isUnparsedContextual(e,t)}eatContextual(t){return this.isContextual(t)?(this.next(),!0):!1}expectContextual(t,e){if(!this.eatContextual(t)){if(e!=null)throw this.raise(e,this.state.startLoc);this.unexpected(null,t)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return eA(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return eA(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(t=!0){(t?this.isLineTerminator():this.eat(13))||this.raise(E.MissingSemicolon,this.state.lastTokEndLoc)}expect(t,e){this.eat(t)||this.unexpected(e,t)}tryParse(t,e=this.state.clone()){let i={node:null};try{let r=t((n=null)=>{throw i.node=n,i});if(this.state.errors.length>e.errors.length){let n=this.state;return this.state=e,this.state.tokensLength=n.tokensLength,{node:r,error:n.errors[e.errors.length],thrown:!1,aborted:!1,failState:n}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(r){let n=this.state;if(this.state=e,r instanceof SyntaxError)return{node:null,error:r,thrown:!0,aborted:!1,failState:n};if(r===i)return{node:i.node,error:null,thrown:!1,aborted:!0,failState:n};throw r}}checkExpressionErrors(t,e){if(!t)return!1;let{shorthandAssignLoc:i,doubleProtoLoc:r,privateKeyLoc:n,optionalParametersLoc:a,voidPatternLoc:o}=t,l=!!i||!!r||!!a||!!n||!!o;if(!e)return l;i!=null&&this.raise(E.InvalidCoverInitializedName,i),r!=null&&this.raise(E.DuplicateProto,r),n!=null&&this.raise(E.UnexpectedPrivateField,n),a!=null&&this.unexpected(a),o!=null&&this.raise(E.InvalidCoverDiscardElement,o)}isLiteralPropertyName(){return cA(this.state.type)}isPrivateName(t){return t.type==="PrivateName"}getPrivateNameSV(t){return t.id.name}hasPropertyAsPrivateName(t){return(t.type==="MemberExpression"||t.type==="OptionalMemberExpression")&&this.isPrivateName(t.property)}isObjectProperty(t){return t.type==="ObjectProperty"}isObjectMethod(t){return t.type==="ObjectMethod"}initializeScopes(t=this.options.sourceType==="module"){let e=this.state.labels;this.state.labels=[];let i=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let r=this.inModule;this.inModule=t;let n=this.scope,a=this.getScopeHandler();this.scope=new a(this,t);let o=this.prodParam;this.prodParam=new Lu;let l=this.classScope;this.classScope=new Vu(this);let c=this.expressionScope;return this.expressionScope=new Uu(this),()=>{this.state.labels=e,this.exportedIdentifiers=i,this.inModule=r,this.scope=n,this.prodParam=o,this.classScope=l,this.expressionScope=c}}enterInitialScopes(){let t=0;(this.inModule||this.optionFlags&1)&&(t|=2),this.optionFlags&32&&(t|=1);let e=!this.inModule&&this.options.sourceType==="commonjs";(e||this.optionFlags&2)&&(t|=4),this.prodParam.enter(t);let i=e?514:1;this.optionFlags&4&&(i|=512),this.scope.enter(i)}checkDestructuringPrivate(t){let{privateKeyLoc:e}=t;e!==null&&this.expectPlugin("destructuringPrivate",e)}},Kr=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}},Xr=class{constructor(t,e,i){this.type="",this.start=e,this.end=0,this.loc=new Gr(i),t?.optionFlags&128&&(this.range=[e,0]),t!=null&&t.filename&&(this.loc.filename=t.filename)}},ju=Xr.prototype;ju.__clone=function(){let s=new Xr(void 0,this.start,this.loc.start),t=Object.keys(this);for(let e=0,i=t.length;e<i;e++){let r=t[e];r!=="leadingComments"&&r!=="trailingComments"&&r!=="innerComments"&&(s[r]=this[r])}return s};var Hu=class extends $u{startNode(){let t=this.state.startLoc;return new Xr(this,t.index,t)}startNodeAt(t){return new Xr(this,t.index,t)}startNodeAtNode(t){return this.startNodeAt(t.loc.start)}finishNode(t,e){return this.finishNodeAt(t,e,this.state.lastTokEndLoc)}finishNodeAt(t,e,i){return t.type=e,t.end=i.index,t.loc.end=i,this.optionFlags&128&&(t.range[1]=i.index),this.optionFlags&4096&&this.processComment(t),t}resetStartLocation(t,e){t.start=e.index,t.loc.start=e,this.optionFlags&128&&(t.range[0]=e.index)}resetEndLocation(t,e=this.state.lastTokEndLoc){t.end=e.index,t.loc.end=e,this.optionFlags&128&&(t.range[1]=e.index)}resetStartLocationFromNode(t,e){this.resetStartLocation(t,e.loc.start)}castNodeTo(t,e){return t.type=e,t}cloneIdentifier(t){let{type:e,start:i,end:r,loc:n,range:a,name:o}=t,l=Object.create(ju);return l.type=e,l.start=i,l.end=r,l.loc=n,l.range=a,l.name=o,t.extra&&(l.extra=t.extra),l}cloneStringLiteral(t){let{type:e,start:i,end:r,loc:n,range:a,extra:o}=t,l=Object.create(ju);return l.type=e,l.start=i,l.end=r,l.loc=n,l.range=a,l.extra=o,l.value=t.value,l}},Ku=s=>s.type==="ParenthesizedExpression"?Ku(s.expression):s,Gu=class extends Hu{toAssignable(t,e=!1){var i,r;let n;switch((t.type==="ParenthesizedExpression"||(i=t.extra)!=null&&i.parenthesized)&&(n=Ku(t),e?n.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(E.InvalidParenthesizedAssignment,t):n.type!=="CallExpression"&&n.type!=="MemberExpression"&&!this.isOptionalMemberExpression(n)&&this.raise(E.InvalidParenthesizedAssignment,t):this.raise(E.InvalidParenthesizedAssignment,t)),t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":break;case"ObjectExpression":this.castNodeTo(t,"ObjectPattern");for(let o=0,l=t.properties.length,c=l-1;o<l;o++){var a;let u=t.properties[o],p=o===c;this.toAssignableObjectExpressionProp(u,p,e),p&&u.type==="RestElement"&&(a=t.extra)!=null&&a.trailingCommaLoc&&this.raise(E.RestTrailingComma,t.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:o,value:l}=t;this.isPrivateName(o)&&this.classScope.usePrivateName(this.getPrivateNameSV(o),o.loc.start),this.toAssignable(l,e);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(t,"ArrayPattern"),this.toAssignableList(t.elements,(r=t.extra)==null?void 0:r.trailingCommaLoc,e);break;case"AssignmentExpression":t.operator!=="="&&this.raise(E.MissingEqInAssignment,t.left.loc.end),this.castNodeTo(t,"AssignmentPattern"),delete t.operator,t.left.type==="VoidPattern"&&this.raise(E.VoidPatternInitializer,t.left),this.toAssignable(t.left,e);break;case"ParenthesizedExpression":this.toAssignable(n,e);break}}toAssignableObjectExpressionProp(t,e,i){if(t.type==="ObjectMethod")this.raise(t.kind==="get"||t.kind==="set"?E.PatternHasAccessor:E.PatternHasMethod,t.key);else if(t.type==="SpreadElement"){this.castNodeTo(t,"RestElement");let r=t.argument;this.checkToRestConversion(r,!1),this.toAssignable(r,i),e||this.raise(E.RestTrailingComma,t)}else this.toAssignable(t,i)}toAssignableList(t,e,i){let r=t.length-1;for(let n=0;n<=r;n++){let a=t[n];a&&(this.toAssignableListItem(t,n,i),a.type==="RestElement"&&(n<r?this.raise(E.RestTrailingComma,a):e&&this.raise(E.RestTrailingComma,e)))}}toAssignableListItem(t,e,i){let r=t[e];if(r.type==="SpreadElement"){this.castNodeTo(r,"RestElement");let n=r.argument;this.checkToRestConversion(n,!0),this.toAssignable(n,i)}else this.toAssignable(r,i)}isAssignable(t,e){switch(t.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":return!0;case"ObjectExpression":{let i=t.properties.length-1;return t.properties.every((r,n)=>r.type!=="ObjectMethod"&&(n===i||r.type!=="SpreadElement")&&this.isAssignable(r))}case"ObjectProperty":return this.isAssignable(t.value);case"SpreadElement":return this.isAssignable(t.argument);case"ArrayExpression":return t.elements.every(i=>i===null||this.isAssignable(i));case"AssignmentExpression":return t.operator==="=";case"ParenthesizedExpression":return this.isAssignable(t.expression);case"MemberExpression":case"OptionalMemberExpression":return!e;default:return!1}}toReferencedList(t,e){return t}toReferencedListDeep(t,e){this.toReferencedList(t,e);for(let i of t)i?.type==="ArrayExpression"&&this.toReferencedListDeep(i.elements)}parseSpread(t){let e=this.startNode();return this.next(),e.argument=this.parseMaybeAssignAllowIn(t,void 0),this.finishNode(e,"SpreadElement")}parseRestBinding(){let t=this.startNode();this.next();let e=this.parseBindingAtom();return e.type==="VoidPattern"&&this.raise(E.UnexpectedVoidPattern,e),t.argument=e,this.finishNode(t,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let t=this.startNode();return this.next(),t.elements=this.parseBindingList(3,93,1),this.finishNode(t,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(t,e,i){let r=i&1,n=[],a=!0;for(;!this.eat(t);)if(a?a=!1:this.expect(12),r&&this.match(12))n.push(null);else{if(this.eat(t))break;if(this.match(21)){let o=this.parseRestBinding();if((this.hasPlugin("flow")||i&2)&&(o=this.parseFunctionParamType(o)),n.push(o),!this.checkCommaAfterRest(e)){this.expect(t);break}}else{let o=[];if(i&2)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(E.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)o.push(this.parseDecorator());n.push(this.parseBindingElement(i,o))}}return n}parseBindingRestProperty(t){return this.next(),this.hasPlugin("discardBinding")&&this.match(88)?(t.argument=this.parseVoidPattern(null),this.raise(E.UnexpectedVoidPattern,t.argument)):t.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(t,"RestElement")}parseBindingProperty(){let{type:t,startLoc:e}=this.state;if(t===21)return this.parseBindingRestProperty(this.startNode());let i=this.startNode();return t===139?(this.expectPlugin("destructuringPrivate",e),this.classScope.usePrivateName(this.state.value,e),i.key=this.parsePrivateName()):this.parsePropertyName(i),i.method=!1,this.parseObjPropValue(i,e,!1,!1,!0,!1)}parseBindingElement(t,e){let i=this.parseMaybeDefault();return(this.hasPlugin("flow")||t&2)&&this.parseFunctionParamType(i),e.length&&(i.decorators=e,this.resetStartLocationFromNode(i,e[0])),this.parseMaybeDefault(i.loc.start,i)}parseFunctionParamType(t){return t}parseMaybeDefault(t,e){if(t??(t=this.state.startLoc),e=e??this.parseBindingAtom(),!this.eat(29))return e;let i=this.startNodeAt(t);return e.type==="VoidPattern"&&this.raise(E.VoidPatternInitializer,e),i.left=e,i.right=this.parseMaybeAssignAllowIn(),this.finishNode(i,"AssignmentPattern")}isValidLVal(t,e,i,r){switch(t){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties";case"VoidPattern":return!0;case"CallExpression":if(!e&&!this.state.strict&&this.optionFlags&8192)return!0}return!1}isOptionalMemberExpression(t){return t.type==="OptionalMemberExpression"}checkLVal(t,e,i=64,r=!1,n=!1,a=!1,o=!1){var l;let c=t.type;if(this.isObjectMethod(t))return;let u=this.isOptionalMemberExpression(t);if(u||c==="MemberExpression"){u&&(this.expectPlugin("optionalChainingAssign",t.loc.start),e.type!=="AssignmentExpression"&&this.raise(E.InvalidLhsOptionalChaining,t,{ancestor:e})),i!==64&&this.raise(E.InvalidPropertyBindingPattern,t);return}if(c==="Identifier"){this.checkIdentifier(t,i,n);let{name:y}=t;r&&(r.has(y)?this.raise(E.ParamDupe,t):r.add(y));return}else c==="VoidPattern"&&e.type==="CatchClause"&&this.raise(E.VoidPatternCatchClauseParam,t);let p=Ku(t);o||(o=p.type==="CallExpression"&&(p.callee.type==="Import"||p.callee.type==="Super"));let h=this.isValidLVal(c,o,!(a||(l=t.extra)!=null&&l.parenthesized)&&e.type==="AssignmentExpression",i);if(h===!0)return;if(h===!1){let y=i===64?E.InvalidLhs:E.InvalidLhsBinding;this.raise(y,t,{ancestor:e});return}let f,m;typeof h=="string"?(f=h,m=c==="ParenthesizedExpression"):[f,m]=h;let d=c==="ArrayPattern"||c==="ObjectPattern"?{type:c}:e,A=t[f];if(Array.isArray(A))for(let y of A)y&&this.checkLVal(y,d,i,r,n,m,!0);else A&&this.checkLVal(A,d,i,r,n,m,o)}checkIdentifier(t,e,i=!1){this.state.strict&&(i?mA(t.name,this.inModule):dA(t.name))&&(e===64?this.raise(E.StrictEvalArguments,t,{referenceName:t.name}):this.raise(E.StrictEvalArgumentsBinding,t,{bindingName:t.name})),e&8192&&t.name==="let"&&this.raise(E.LetInLexicalBinding,t),e&64||this.declareNameFromIdentifier(t,e)}declareNameFromIdentifier(t,e){this.scope.declareName(t.name,e,t.loc.start)}checkToRestConversion(t,e){switch(t.type){case"ParenthesizedExpression":this.checkToRestConversion(t.expression,e);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(e)break;default:this.raise(E.InvalidRestAssignmentPattern,t)}}checkCommaAfterRest(t){return this.match(12)?(this.raise(this.lookaheadCharCode()===t?E.RestTrailingComma:E.ElementAfterRest,this.state.startLoc),!0):!1}},Iu=/in(?:stanceof)?|as|satisfies/y;function T_(s){if(s==null)throw new Error(`Unexpected ${s} value.`);return s}function iA(s){if(!s)throw new Error("Assert fail")}var K=Bs`typescript`({AbstractMethodHasImplementation:({methodName:s})=>`Method '${s}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:s})=>`Property '${s}' 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:s})=>`'declare' is not allowed in ${s}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:s})=>`Accessibility modifier already seen: '${s}'.`,DuplicateModifier:({modifier:s})=>`Duplicate modifier: '${s}'.`,EmptyHeritageClauseType:({token:s})=>`'${s}' 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:s})=>`'${s[0]}' modifier cannot be used with '${s[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:s})=>`Index signatures cannot have an accessibility modifier ('${s}').`,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:s})=>`'${s}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:s=>`'${s}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:s})=>`'${s}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:s})=>`'${s}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:s})=>`'${s}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:s=>`'${s}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:s})=>`'${s[0]}' modifier must precede '${s[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.",NonClassMethodPropertyHasAbstractModifier:"'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:s})=>`Private elements cannot have an accessibility modifier ('${s}').`,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:s})=>`Single type parameter ${s} should have a trailing comma. Example usage: <${s},>.`,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:s})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${s}.`,UsingDeclarationInAmbientContext:s=>`'${s}' declarations are not allowed in ambient contexts.`});function C_(s){switch(s){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 rA(s){return s==="private"||s==="public"||s==="protected"}function I_(s){return s==="in"||s==="out"}var __=s=>class extends s{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:K.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:K.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:K.InvalidModifierOnTypeParameter})}getScopeHandler(){return wu}tsIsIdentifier(){return Ae(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(e,i,r){if(!Ae(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let n=this.state.value;if(e.includes(n)){if(r&&this.match(106)||i&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return n}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:i,stopOnStartOfClassStaticBlock:r,errorTemplate:n=K.InvalidModifierOnTypeMember},a){let o=(c,u,p,h)=>{u===p&&a[h]&&this.raise(K.InvalidModifiersOrder,c,{orderedModifiers:[p,h]})},l=(c,u,p,h)=>{(a[p]&&u===h||a[h]&&u===p)&&this.raise(K.IncompatibleModifiers,c,{modifiers:[p,h]})};for(;;){let{startLoc:c}=this.state,u=this.tsParseModifier(e.concat(i??[]),r,a.static);if(!u)break;rA(u)?a.accessibility?this.raise(K.DuplicateAccessibilityModifier,c,{modifier:u}):(o(c,u,u,"override"),o(c,u,u,"static"),o(c,u,u,"readonly"),a.accessibility=u):I_(u)?(a[u]&&this.raise(K.DuplicateModifier,c,{modifier:u}),a[u]=!0,o(c,u,"in","out")):(hasOwnProperty.call(a,u)?this.raise(K.DuplicateModifier,c,{modifier:u}):(o(c,u,"static","readonly"),o(c,u,"static","override"),o(c,u,"override","readonly"),o(c,u,"abstract","override"),l(c,u,"declare","override"),l(c,u,"static","abstract")),a[u]=!0),i!=null&&i.includes(u)&&this.raise(n,c,{modifier:u})}}tsIsListTerminator(e){switch(e){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(e,i){let r=[];for(;!this.tsIsListTerminator(e);)r.push(i());return r}tsParseDelimitedList(e,i,r){return T_(this.tsParseDelimitedListWorker(e,i,!0,r))}tsParseDelimitedListWorker(e,i,r,n){let a=[],o=-1;for(;!this.tsIsListTerminator(e);){o=-1;let l=i();if(l==null)return;if(a.push(l),this.eat(12)){o=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(e))break;r&&this.expect(12);return}return n&&(n.value=o),a}tsParseBracketedList(e,i,r,n,a){n||(r?this.expect(0):this.expect(47));let o=this.tsParseDelimitedList(e,i,a);return r?this.expect(3):this.expect(48),o}tsParseImportType(){let e=this.startNode();return this.expect(83),this.expect(10),this.match(134)?e.argument=this.parseStringLiteral(this.state.value):(this.raise(K.UnsupportedImportTypeArgument,this.state.startLoc),e.argument=super.parseExprAtom()),this.eat(12)?e.options=this.tsParseImportTypeOptions():e.options=null,this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(3)),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseImportTypeOptions(){let e=this.startNode();this.expect(5);let i=this.startNode();return this.isContextual(76)?(i.method=!1,i.key=this.parseIdentifier(!0),i.computed=!1,i.shorthand=!1):this.unexpected(null,76),this.expect(14),i.value=this.tsParseImportTypeWithPropertyValue(),e.properties=[this.finishObjectProperty(i)],this.eat(12),this.expect(8),this.finishNode(e,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){let e=this.startNode(),i=[];for(this.expect(5);!this.match(8);){let r=this.state.type;Ae(r)||r===134?i.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return e.properties=i,this.next(),this.finishNode(e,"ObjectExpression")}tsParseEntityName(e){let i;if(e&1&&this.match(78))if(e&2)i=this.parseIdentifier(!0);else{let r=this.startNode();this.next(),i=this.finishNode(r,"ThisExpression")}else i=this.parseIdentifier(!!(e&1));for(;this.eat(16);){let r=this.startNodeAtNode(i);r.left=i,r.right=this.parseIdentifier(!!(e&1)),i=this.finishNode(r,"TSQualifiedName")}return i}tsParseTypeReference(){let e=this.startNode();return e.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")}tsParseThisTypePredicate(e){this.next();let i=this.startNodeAtNode(e);return i.parameterName=e,i.typeAnnotation=this.tsParseTypeAnnotation(!1),i.asserts=!1,this.finishNode(i,"TSTypePredicate")}tsParseThisTypeNode(){let e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){let e=this.startNode();return this.expect(87),this.match(83)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(e){let i=this.startNode();return e(i),i.name=this.tsParseTypeParameterName(),i.constraint=this.tsEatThenParseType(81),i.default=this.tsEatThenParseType(29),this.finishNode(i,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){let i=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let r={value:-1};return i.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,r),i.params.length===0&&this.raise(K.EmptyTypeParameters,i),r.value!==-1&&this.addExtra(i,"trailingComma",r.value),this.finishNode(i,"TSTypeParameterDeclaration")}tsFillSignature(e,i){let r=e===19,n="parameters",a="typeAnnotation";i.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),i[n]=this.tsParseBindingListForSignature(),r?i[a]=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(i[a]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){let e=super.parseBindingList(11,41,2);for(let i of e){let{type:r}=i;(r==="AssignmentPattern"||r==="TSParameterProperty")&&this.raise(K.UnsupportedSignatureParameterKind,i,{type:r})}return e}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(e,i){return this.tsFillSignature(14,i),this.tsParseTypeMemberSemicolon(),this.finishNode(i,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),Ae(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(e){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let i=this.parseIdentifier();i.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(i),this.expect(3),e.parameters=[i];let r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,i){if(this.eat(17)&&(e.optional=!0),this.match(10)||this.match(47)){i&&this.raise(K.ReadonlyForMethodSignature,e);let r=e;r.kind&&this.match(47)&&this.raise(K.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,r),this.tsParseTypeMemberSemicolon();let n="parameters",a="typeAnnotation";if(r.kind==="get")r[n].length>0&&(this.raise(E.BadGetterArity,this.state.curPosition()),this.isThisParam(r[n][0])&&this.raise(K.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(r.kind==="set"){if(r[n].length!==1)this.raise(E.BadSetterArity,this.state.curPosition());else{let o=r[n][0];this.isThisParam(o)&&this.raise(K.AccessorCannotDeclareThisParameter,this.state.curPosition()),o.type==="Identifier"&&o.optional&&this.raise(K.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),o.type==="RestElement"&&this.raise(K.SetAccessorCannotHaveRestParameter,this.state.curPosition())}r[a]&&this.raise(K.SetAccessorCannotHaveReturnType,r[a])}else r.kind="method";return this.finishNode(r,"TSMethodSignature")}else{let r=e;i&&(r.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(r.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSPropertySignature")}}tsParseTypeMember(){let e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){let r=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(r,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);let i=this.tsTryParseIndexSignature(e);return i||(super.parsePropertyName(e),!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.tsTokenCanFollowModifier()&&(e.kind=e.key.name,super.parsePropertyName(e),!this.match(10)&&!this.match(47)&&this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){let e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}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(){let e=this.startNode();this.expect(5),this.match(53)?(e.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(e.readonly=!0),this.expect(0);let i=this.startNode();return i.name=this.tsParseTypeParameterName(),i.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(i,"TSTypeParameter"),e.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){let e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let i=!1;return e.elementTypes.forEach(r=>{let{type:n}=r;i&&n!=="TSRestType"&&n!=="TSOptionalType"&&!(n==="TSNamedTupleMember"&&r.optional)&&this.raise(K.OptionalTypeBeforeRequired,r),i||(i=n==="TSNamedTupleMember"&&r.optional||n==="TSOptionalType")}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){let e=this.state.startLoc,i=this.eat(21),{startLoc:r}=this.state,n,a,o,l,u=Ss(this.state.type)?this.lookaheadCharCode():null;if(u===58)n=!0,o=!1,a=this.parseIdentifier(!0),this.expect(14),l=this.tsParseType();else if(u===63){o=!0;let p=this.state.value,h=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(n=!0,a=this.createIdentifier(this.startNodeAt(r),p),this.expect(17),this.expect(14),l=this.tsParseType()):(n=!1,l=h,this.expect(17))}else l=this.tsParseType(),o=this.eat(17),n=this.eat(14);if(n){let p;a?(p=this.startNodeAt(r),p.optional=o,p.label=a,p.elementType=l,this.eat(17)&&(p.optional=!0,this.raise(K.TupleOptionalAfterType,this.state.lastTokStartLoc))):(p=this.startNodeAt(r),p.optional=o,this.raise(K.InvalidTupleMemberLabel,l),p.label=l,p.elementType=this.tsParseType()),l=this.finishNode(p,"TSNamedTupleMember")}else if(o){let p=this.startNodeAt(r);p.typeAnnotation=l,l=this.finishNode(p,"TSOptionalType")}if(i){let p=this.startNodeAt(e);p.typeAnnotation=l,l=this.finishNode(p,"TSRestType")}return l}tsParseParenthesizedType(){let e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,i){let r=this.startNode();return e==="TSConstructorType"&&(r.abstract=!!i,i&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,r)),this.finishNode(r,e)}tsParseLiteralTypeNode(){let e=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:e.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){let e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let e=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let e=this.startNode(),i=this.lookahead();return i.type!==135&&i.type!==136&&this.unexpected(),e.literal=this.parseMaybeUnary(),this.finishNode(e,"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:{let{type:e}=this.state;if(Ae(e)||e===88||e===84){let i=e===88?"TSVoidKeyword":e===84?"TSNullKeyword":C_(this.state.value);if(i!==void 0&&this.lookaheadCharCode()!==46){let r=this.startNode();return this.next(),this.finishNode(r,i)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:e}=this.state,i=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let r=this.startNodeAt(e);r.elementType=i,this.expect(3),i=this.finishNode(r,"TSArrayType")}else{let r=this.startNodeAt(e);r.objectType=i,r.indexType=this.tsParseType(),this.expect(3),i=this.finishNode(r,"TSIndexedAccessType")}return i}tsParseTypeOperator(){let e=this.startNode(),i=this.state.value;return this.next(),e.operator=i,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),i==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(K.UnexpectedReadonly,e)}}tsParseInferType(){let e=this.startNode();this.expectContextual(115);let i=this.startNode();return i.name=this.tsParseTypeParameterName(),i.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(i,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){return G1(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,i,r){let n=this.startNode(),a=this.eat(r),o=[];do o.push(i());while(this.eat(r));return o.length===1&&!a?o[0]:(n.types=o,this.finishNode(n,e))}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(Ae(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:e}=this.state,i=e.length;try{return this.parseObjectLike(8,!0),e.length===i}catch{return!1}}if(this.match(0)){this.next();let{errors:e}=this.state,i=e.length;try{return super.parseBindingList(3,93,1),e.length===i}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(e){return this.tsInType(()=>{let i=this.startNode();this.expect(e);let r=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let l=this.tsParseThisTypeOrThisTypePredicate();return l.type==="TSThisType"?(r.parameterName=l,r.asserts=!0,r.typeAnnotation=null,l=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(l,r),l.asserts=!0),i.typeAnnotation=l,this.finishNode(i,"TSTypeAnnotation")}let a=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!a)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,r.typeAnnotation=null,i.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(i,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,i);let o=this.tsParseTypeAnnotation(!1);return r.parameterName=a,r.typeAnnotation=o,r.asserts=n,i.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(i,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let e=this.state.containsEsc;return this.next(),!Ae(this.state.type)&&!this.match(78)?!1:(e&&this.raise(E.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,i=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),i.typeAnnotation=this.tsParseType()}),this.finishNode(i,"TSTypeAnnotation")}tsParseType(){iA(this.state.inType);let e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;let i=this.startNodeAtNode(e);return i.checkType=e,i.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),i.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),i.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(i,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.isLookaheadContextual("new")}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(K.ReservedTypeAssertion,this.state.startLoc);let e=this.startNode();return e.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){let i=this.state.startLoc,r=this.tsParseDelimitedList("HeritageClauseElement",()=>{let n=this.startNode();return n.expression=this.tsParseEntityName(3),this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSExpressionWithTypeArguments")});return r.length||this.raise(K.EmptyHeritageClauseType,i,{token:e}),r}tsParseInterfaceDeclaration(e,i={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),i.declare&&(e.declare=!0),Ae(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(K.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));let r=this.startNode();return r.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(r,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkIdentifier(e.id,2),e.typeAnnotation=this.tsInType(()=>{if(e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookaheadCharCode()!==46){let i=this.startNode();return this.next(),this.finishNode(i,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInTopLevelContext(e){if(this.curContext()!==de.brace){let i=this.state.context;this.state.context=[i[0]];try{return e()}finally{this.state.context=i}}else return e()}tsInType(e){let i=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=i}}tsInDisallowConditionalTypesContext(e){let i=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=i}}tsInAllowConditionalTypesContext(e){let i=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=i}}tsEatThenParseType(e){if(this.match(e))return this.tsNextThenParseType()}tsExpectThenParseType(e){return this.tsInType(()=>(this.expect(e),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let e=this.startNode();return e.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(e.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,i={}){return i.const&&(e.const=!0),i.declare&&(e.declare=!0),this.expectContextual(126),e.id=this.parseIdentifier(),this.checkIdentifier(e.id,e.const?8971:8459),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseEnumBody(){let e=this.startNode();return this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumBody")}tsParseModuleBlock(){let e=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,i=!1){if(e.id=this.parseIdentifier(),i||this.checkIdentifier(e.id,1024),this.eat(16)){let r=this.startNode();this.tsParseModuleOrNamespaceDeclaration(r,!0),e.body=r}else this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(112)?(e.kind="global",e.global=!0,e.id=this.parseIdentifier()):this.match(134)?(e.kind="module",e.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,i,r){e.isExport=r||!1,e.id=i||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);let n=this.tsParseModuleReference();return e.importKind==="type"&&n.type!=="TSExternalModuleReference"&&this.raise(K.ImportAliasHasImportType,n),e.moduleReference=n,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let e=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),e.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){let i=this.state.clone(),r=e();return this.state=i,r}tsTryParseAndCatch(e){let i=this.tryParse(r=>e()||r());if(!(i.aborted||!i.node))return i.error&&(this.state=i.failState),i.node}tsTryParse(e){let i=this.state.clone(),r=e();if(r!==void 0&&r!==!1)return r;this.state=i}tsTryParseDeclare(e){if(this.isLineTerminator())return;let i=this.state.type;return this.tsInAmbientContext(()=>{switch(i){case 68:return e.declare=!0,super.parseFunctionStatement(e,!1,!1);case 80:return e.declare=!0,this.parseClass(e,!0,!1);case 126:return this.tsParseEnumDeclaration(e,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(e);case 100:if(this.state.containsEsc)return;case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(e.declare=!0,this.parseVarStatement(e,this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0}));case 107:if(this.isUsing())return this.raise(K.InvalidModifierOnUsingDeclaration,this.state.startLoc,"declare"),e.declare=!0,this.parseVarStatement(e,"using",!0);break;case 96:if(this.isAwaitUsing())return this.raise(K.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,"declare"),e.declare=!0,this.next(),this.parseVarStatement(e,"await using",!0);break;case 129:{let r=this.tsParseInterfaceDeclaration(e,{declare:!0});if(r)return r}default:if(Ae(i))return this.tsParseDeclaration(e,this.state.type,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.type,!0,null)}tsParseDeclaration(e,i,r,n){switch(i){case 124:if(this.tsCheckLineTerminator(r)&&(this.match(80)||Ae(this.state.type)))return this.tsParseAbstractDeclaration(e,n);break;case 127:if(this.tsCheckLineTerminator(r)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(Ae(this.state.type))return e.kind="module",this.tsParseModuleOrNamespaceDeclaration(e)}break;case 128:if(this.tsCheckLineTerminator(r)&&Ae(this.state.type))return e.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(e);break;case 130:if(this.tsCheckLineTerminator(r)&&Ae(this.state.type))return this.tsParseTypeAliasDeclaration(e);break}}tsCheckLineTerminator(e){return e?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;let i=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let r=this.tsTryParseAndCatch(()=>{let n=this.startNodeAt(e);return n.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(n),n.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),n});if(this.state.maybeInArrowParameters=i,!!r)return super.parseArrowExpression(r,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let e=this.startNode();return e.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),e.params.length===0?this.raise(K.EmptyTypeArguments,e):!this.state.inType&&this.curContext()===de.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return W1(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseBindingElement(e,i){let r=i.length?i[0].loc.start:this.state.startLoc,n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);let a=n.accessibility,o=n.override,l=n.readonly;!(e&4)&&(a||l||o)&&this.raise(K.UnexpectedParameterModifier,r);let c=this.parseMaybeDefault();e&2&&this.parseFunctionParamType(c);let u=this.parseMaybeDefault(c.loc.start,c);if(a||l||o){let p=this.startNodeAt(r);return i.length&&(p.decorators=i),a&&(p.accessibility=a),l&&(p.readonly=l),o&&(p.override=o),u.type!=="Identifier"&&u.type!=="AssignmentPattern"&&this.raise(K.UnsupportedParameterPropertyKind,p),p.parameter=u,this.finishNode(p,"TSParameterProperty")}return i.length&&(c.decorators=i),u}isSimpleParameter(e){return e.type==="TSParameterProperty"&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(let i of e.params)i.type!=="Identifier"&&i.optional&&!this.state.isAmbientContext&&this.raise(K.PatternIsOptional,i)}setArrowFunctionParameters(e,i,r){super.setArrowFunctionParameters(e,i,r),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,i,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let n=i==="FunctionDeclaration"?"TSDeclareFunction":i==="ClassMethod"||i==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,n):n==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(K.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,i,r))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(i=>{i?.type==="TSTypeCastExpression"&&this.raise(K.UnexpectedTypeAnnotation,i.typeAnnotation)})}toReferencedList(e,i){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,i,r){let n=super.parseArrayLike(e,i,r);return n.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(n.elements),n}parseSubscript(e,i,r,n){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let o=this.startNodeAt(i);return o.expression=e,this.finishNode(o,"TSNonNullExpression")}let a=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(r)return n.stop=!0,e;n.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let o,l=this.tsTryParseAndCatch(()=>{if(!r&&this.atPossibleAsyncArrow(e)){let h=this.tsTryParseGenericAsyncArrowFunction(i);if(h)return n.stop=!0,h}let c=this.tsParseTypeArgumentsInExpression();if(!c)return;if(a&&!this.match(10)){o=this.state.curPosition();return}if(Io(this.state.type)){let h=super.parseTaggedTemplateExpression(e,i,n);return h.typeParameters=c,h}if(!r&&this.eat(10)){let h=this.startNodeAt(i);return h.callee=e,h.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(h.arguments),h.typeParameters=c,n.optionalChainMember&&(h.optional=a),this.finishCallExpression(h,n.optionalChainMember)}let u=this.state.type;if(u===48||u===52||u!==10&&Wn(u)&&!this.hasPrecedingLineBreak())return;let p=this.startNodeAt(i);return p.expression=e,p.typeParameters=c,this.finishNode(p,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),l)return l.type==="TSInstantiationExpression"&&((this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(K.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),!this.match(16)&&!this.match(18)&&(l.expression=super.stopParseSubscript(e,n))),l}return super.parseSubscript(e,i,r,n)}parseNewCallee(e){var i;super.parseNewCallee(e);let{callee:r}=e;r.type==="TSInstantiationExpression"&&!((i=r.extra)!=null&&i.parenthesized)&&(e.typeParameters=r.typeParameters,e.callee=r.expression)}parseExprOp(e,i,r){let n;if(bo(58)>r&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(120)))){let a=this.startNodeAt(i);return a.expression=e,a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(n&&this.raise(E.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(a,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(a,i,r)}return super.parseExprOp(e,i,r)}checkReservedWord(e,i,r,n){this.state.isAmbientContext||super.checkReservedWord(e,i,r,n)}checkImportReflection(e){super.checkImportReflection(e),e.module&&e.importKind!=="value"&&this.raise(K.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){let i=this.lookaheadCharCode();return e?i===123||i===42:i!==61}return!e&&this.isContextual(87)}applyImportPhase(e,i,r,n){super.applyImportPhase(e,i,r,n),i?e.exportKind=r==="type"?"type":"value":e.importKind=r==="type"||r==="typeof"?r:"value"}parseImport(e){if(this.match(134))return e.importKind="value",super.parseImport(e);let i;if(Ae(this.state.type)&&this.lookaheadCharCode()===61)return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){let r=this.parseMaybeImportPhase(e,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(e,r);i=super.parseImportSpecifiersAndAfter(e,r)}else i=super.parseImport(e);return i.importKind==="type"&&i.specifiers.length>1&&i.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(K.TypeImportCannotSpecifyDefaultAndNamed,i),i}parseExport(e,i){if(this.match(83)){let r=e;this.next();let n=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?n=this.parseMaybeImportPhase(r,!1):r.importKind="value",this.tsParseImportEqualsDeclaration(r,n,!0)}else if(this.eat(29)){let r=e;return r.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(r,"TSExportAssignment")}else if(this.eatContextual(93)){let r=e;return this.expectContextual(128),r.id=this.parseIdentifier(),this.semicolon(),this.finishNode(r,"TSNamespaceExportDeclaration")}else return super.parseExport(e,i)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual("class")}parseExportDefaultExpression(){if(this.isAbstractClass()){let e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){let e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,i,r=!1){let{isAmbientContext:n}=this.state,a=super.parseVarStatement(e,i,r||n);if(!n)return a;if(!e.declare&&(i==="using"||i==="await using"))return this.raiseOverwrite(K.UsingDeclarationInAmbientContext,e,i),a;for(let{id:o,init:l}of a.declarations)l&&(i==="var"||i==="let"||o.typeAnnotation?this.raise(K.InitializerNotAllowedInAmbientContext,l):N_(l,this.hasPlugin("estree"))||this.raise(K.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,l));return a}parseStatementContent(e,i){if(!this.state.containsEsc)switch(this.state.type){case 75:{if(this.isLookaheadContextual("enum")){let r=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(r,{const:!0})}break}case 124:case 125:{if(this.nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine()){let r=this.state.type,n=this.startNode();this.next();let a=r===125?this.tsTryParseDeclare(n):this.tsParseAbstractDeclaration(n,i);return a?(r===125&&(a.declare=!0),a):(n.expression=this.createIdentifier(this.startNodeAt(n.loc.start),r===125?"declare":"abstract"),this.semicolon(!1),this.finishNode(n,"ExpressionStatement"))}break}case 126:return this.tsParseEnumDeclaration(this.startNode());case 112:{if(this.lookaheadCharCode()===123){let n=this.startNode();return this.tsParseAmbientExternalModuleDeclaration(n)}break}case 129:{let r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r;break}case 127:{if(this.nextTokenIsIdentifierOrStringLiteralOnSameLine()){let r=this.startNode();return this.next(),this.tsParseDeclaration(r,127,!1,i)}break}case 128:{if(this.nextTokenIsIdentifierOnSameLine()){let r=this.startNode();return this.next(),this.tsParseDeclaration(r,128,!1,i)}break}case 130:{if(this.nextTokenIsIdentifierOnSameLine()){let r=this.startNode();return this.next(),this.tsParseTypeAliasDeclaration(r)}break}}return super.parseStatementContent(e,i)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,i){return i.some(r=>rA(r)?e.accessibility===r:!!e[r])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(e,i,r){let n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:K.InvalidModifierOnTypeParameterPositions},i);let a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(i,n)&&this.raise(K.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,i)):this.parseClassMemberWithIsStatic(e,i,r,!!i.static)};i.declare?this.tsInAmbientContext(a):a()}parseClassMemberWithIsStatic(e,i,r,n){let a=this.tsTryParseIndexSignature(i);if(a){e.body.push(a),i.abstract&&this.raise(K.IndexSignatureHasAbstract,i),i.accessibility&&this.raise(K.IndexSignatureHasAccessibility,i,{modifier:i.accessibility}),i.declare&&this.raise(K.IndexSignatureHasDeclare,i),i.override&&this.raise(K.IndexSignatureHasOverride,i);return}!this.state.inAbstractClass&&i.abstract&&this.raise(K.NonAbstractClassHasAbstractMethod,i),i.override&&(r.hadSuperClass||this.raise(K.OverrideNotInSubClass,i)),super.parseClassMemberWithIsStatic(e,i,r,n)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(K.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(K.ClassMethodHasDeclare,e)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(e,i,r){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){let n=this.lookaheadCharCode();if(n===44||n===61||n===58||n===41)return this.setOptionalParametersError(r),e}return super.parseConditional(e,i,r)}parseParenItem(e,i){let r=super.parseParenItem(e,i);if(this.eat(17)&&(r.optional=!0,this.resetEndLocation(e)),this.match(14)){let n=this.startNodeAt(i);return n.expression=e,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));let i=this.state.startLoc,r=this.eatContextual(125);if(r&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(K.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let a=Ae(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return a?((a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||r)&&(e.exportKind="type"),r&&a.type!=="TSImportEqualsDeclaration"&&(this.resetStartLocation(a,i),a.declare=!0),a):null}parseClassId(e,i,r,n){if((!i||r)&&this.isContextual(113))return;super.parseClassId(e,i,r,e.declare?1024:8331);let a=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);a&&(e.typeParameters=a)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));let i=this.tsTryParseTypeAnnotation();i&&(e.typeAnnotation=i)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&!(e.readonly&&!e.typeAnnotation)&&this.match(29)&&this.raise(K.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){let{key:i}=e;this.raise(K.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:i.type==="Identifier"&&!e.computed?i.name:`[${this.input.slice(this.offsetToSourcePos(i.start),this.offsetToSourcePos(i.end))}]`})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(K.PrivateElementHasAbstract,e),e.accessibility&&this.raise(K.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(K.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,i,r,n,a,o){let l=this.tsTryParseTypeParameters(this.tsParseConstModifier);l&&a&&this.raise(K.ConstructorHasTypeParameters,l);let{declare:c=!1,kind:u}=i;c&&(u==="get"||u==="set")&&this.raise(K.DeclareAccessor,i,{kind:u}),l&&(i.typeParameters=l),super.pushClassMethod(e,i,r,n,a,o)}pushClassPrivateMethod(e,i,r,n){let a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(i.typeParameters=a),super.pushClassPrivateMethod(e,i,r,n)}declareClassPrivateMethodInScope(e,i){e.type!=="TSDeclareMethod"&&(e.type==="MethodDefinition"&&e.value.body==null||super.declareClassPrivateMethodInScope(e,i))}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,i,r,n,a,o,l){let c=this.tsTryParseTypeParameters(this.tsParseConstModifier);return c&&(e.typeParameters=c),super.parseObjPropValue(e,i,r,n,a,o,l)}parseFunctionParams(e,i){let r=this.tsTryParseTypeParameters(this.tsParseConstModifier);r&&(e.typeParameters=r),super.parseFunctionParams(e,i)}parseVarId(e,i){super.parseVarId(e,i),e.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);let r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,i){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,i)}parseMaybeAssign(e,i){var r,n,a,o,l;let c,u,p;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(c=this.state.clone(),u=this.tryParse(()=>super.parseMaybeAssign(e,i),c),!u.error)return u.node;let{context:m}=this.state,d=m[m.length-1];(d===de.j_oTag||d===de.j_expr)&&m.pop()}if(!((r=u)!=null&&r.error)&&!this.match(47))return super.parseMaybeAssign(e,i);(!c||c===this.state)&&(c=this.state.clone());let h,f=this.tryParse(m=>{var d,A;h=this.tsParseTypeParameters(this.tsParseConstModifier);let y=super.parseMaybeAssign(e,i);return(y.type!=="ArrowFunctionExpression"||(d=y.extra)!=null&&d.parenthesized)&&m(),((A=h)==null?void 0:A.params.length)!==0&&this.resetStartLocationFromNode(y,h),y.typeParameters=h,y},c);if(!f.error&&!f.aborted)return h&&this.reportReservedArrowTypeParam(h),f.node;if(!u&&(iA(!this.hasPlugin("jsx")),p=this.tryParse(()=>super.parseMaybeAssign(e,i),c),!p.error))return p.node;if((n=u)!=null&&n.node)return this.state=u.failState,u.node;if(f.node)return this.state=f.failState,h&&this.reportReservedArrowTypeParam(h),f.node;if((a=p)!=null&&a.node)return this.state=p.failState,p.node;throw((o=u)==null?void 0:o.error)||f.error||((l=p)==null?void 0:l.error)}reportReservedArrowTypeParam(e){var i;e.params.length===1&&!e.params[0].constraint&&!((i=e.extra)!=null&&i.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(K.ReservedArrowTypeParam,e)}parseMaybeUnary(e,i){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,i)}parseArrow(e){if(this.match(14)){let i=this.tryParse(r=>{let n=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&r(),n});if(i.aborted)return;i.thrown||(i.error&&(this.state=i.failState),e.returnType=i.node)}return super.parseArrow(e)}parseFunctionParamType(e){this.eat(17)&&(e.optional=!0);let i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i),this.resetEndLocation(e),e}isAssignable(e,i){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,i);case"TSParameterProperty":return!0;default:return super.isAssignable(e,i)}}toAssignable(e,i=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,i);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":i?this.expressionScope.recordArrowParameterBindingError(K.UnexpectedTypeCastInParameter,e):this.raise(K.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,i);break;case"AssignmentExpression":!i&&e.left.type==="TSTypeCastExpression"&&(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,i)}}toAssignableParenthesizedExpression(e,i){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,i);break;default:super.toAssignable(e,i)}}checkToRestConversion(e,i){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,i)}}isValidLVal(e,i,r,n){switch(e){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(n!==64||!r)&&["expression",!0];default:return super.isValidLVal(e,i,r,n)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e,i){if(this.match(47)||this.match(51)){let r=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let n=super.parseMaybeDecoratorArguments(e,i);return n.typeParameters=r,n}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e,i)}checkCommaAfterRest(e){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?(this.next(),!1):super.checkCommaAfterRest(e)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(e,i){let r=super.parseMaybeDefault(e,i);return r.type==="AssignmentPattern"&&r.typeAnnotation&&r.right.start<r.typeAnnotation.start&&this.raise(K.TypeAnnotationAfterAssign,r.typeAnnotation),r}getTokenFromCode(e){if(this.state.inType){if(e===62){this.finishOp(48,1);return}if(e===60){this.finishOp(47,1);return}}super.getTokenFromCode(e)}reScan_lt_gt(){let{type:e}=this.state;e===47?(this.state.pos-=1,this.readToken_lt()):e===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:e}=this.state;return e===51?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableListItem(e,i,r){let n=e[i];n.type==="TSTypeCastExpression"&&(e[i]=this.typeCastToParameter(n)),super.toAssignableListItem(e,i,r)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every(i=>this.isAssignable(i,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(47)||this.match(51)){let i=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());i&&(e.typeParameters=i)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){let i=super.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e)[0];return n&&this.isThisParam(n)?i+1:i}parseCatchClauseParam(){let e=super.parseCatchClauseParam(),i=this.tsTryParseTypeAnnotation();return i&&(e.typeAnnotation=i,this.resetEndLocation(e)),e}tsInAmbientContext(e){let{isAmbientContext:i,strict:r}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=i,this.state.strict=r}}parseClass(e,i,r){let n=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,i,r)}finally{this.state.inAbstractClass=n}}tsParseAbstractDeclaration(e,i){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(i,this.parseClass(e,!0,!1));if(this.isContextual(129))return this.hasFollowingLineBreak()?null:(e.abstract=!0,this.raise(K.NonClassMethodPropertyHasAbstractModifier,e),this.tsParseInterfaceDeclaration(e));throw this.unexpected(null,80)}parseMethod(e,i,r,n,a,o,l){let c=super.parseMethod(e,i,r,n,a,o,l);if((c.abstract||c.type==="TSAbstractMethodDefinition")&&(this.hasPlugin("estree")?c.value:c).body){let{key:h}=c;this.raise(K.AbstractMethodHasImplementation,c,{methodName:h.type==="Identifier"&&!c.computed?h.name:`[${this.input.slice(this.offsetToSourcePos(h.start),this.offsetToSourcePos(h.end))}]`})}return c}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(e,i,r,n){return!i&&n?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,i,r,n))}parseImportSpecifier(e,i,r,n,a){return!i&&n?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,i,r,n,r?4098:4096))}parseTypeOnlyImportExportSpecifier(e,i,r){let n=i?"imported":"local",a=i?"local":"exported",o=e[n],l,c=!1,u=!0,p=o.loc.start;if(this.isContextual(93)){let f=this.parseIdentifier();if(this.isContextual(93)){let m=this.parseIdentifier();Ss(this.state.type)?(c=!0,o=f,l=i?this.parseIdentifier():this.parseModuleExportName(),u=!1):(l=m,u=!1)}else Ss(this.state.type)?(u=!1,l=i?this.parseIdentifier():this.parseModuleExportName()):(c=!0,o=f)}else Ss(this.state.type)&&(c=!0,i?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());c&&r&&this.raise(i?K.TypeModifierIsUsedInTypeImports:K.TypeModifierIsUsedInTypeExports,p),e[n]=o,e[a]=l;let h=i?"importKind":"exportKind";e[h]=c?"type":"value",u&&this.eatContextual(93)&&(e[a]=i?this.parseIdentifier():this.parseModuleExportName()),e[a]||(e[a]=this.cloneIdentifier(e[n])),i&&this.checkIdentifier(e[a],c?4098:4096)}fillOptionalPropertiesForTSESLint(e){var i,r,n,a,o,l,c,u,p,h,f,m,d,A,y,S,P,x,v,L,R,I,N,b,g,_,M,C,T,J,H,fe,Se,ae,Re,ht,Wt,ot,Y,zi,ro,F,Ie,B,te,be,Ue,Ee;switch(e.type){case"ExpressionStatement":(i=e.directive)!=null||(e.directive=void 0);return;case"RestElement":e.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":(r=e.decorators)!=null||(e.decorators=[]),(n=e.optional)!=null||(e.optional=!1),(a=e.typeAnnotation)!=null||(e.typeAnnotation=void 0);return;case"TSParameterProperty":(o=e.accessibility)!=null||(e.accessibility=void 0),(l=e.decorators)!=null||(e.decorators=[]),(c=e.override)!=null||(e.override=!1),(u=e.readonly)!=null||(e.readonly=!1),(p=e.static)!=null||(e.static=!1);return;case"TSEmptyBodyFunctionExpression":e.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":(h=e.declare)!=null||(e.declare=!1),(f=e.returnType)!=null||(e.returnType=void 0),(m=e.typeParameters)!=null||(e.typeParameters=void 0);return;case"Property":(d=e.optional)!=null||(e.optional=!1);return;case"TSMethodSignature":case"TSPropertySignature":(A=e.optional)!=null||(e.optional=!1);case"TSIndexSignature":(y=e.accessibility)!=null||(e.accessibility=void 0),(S=e.readonly)!=null||(e.readonly=!1),(P=e.static)!=null||(e.static=!1);return;case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":(x=e.declare)!=null||(e.declare=!1),(v=e.definite)!=null||(e.definite=!1),(L=e.readonly)!=null||(e.readonly=!1),(R=e.typeAnnotation)!=null||(e.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":(I=e.accessibility)!=null||(e.accessibility=void 0),(N=e.decorators)!=null||(e.decorators=[]),(b=e.override)!=null||(e.override=!1),(g=e.optional)!=null||(e.optional=!1);return;case"ClassExpression":(_=e.id)!=null||(e.id=null);case"ClassDeclaration":(M=e.abstract)!=null||(e.abstract=!1),(C=e.declare)!=null||(e.declare=!1),(T=e.decorators)!=null||(e.decorators=[]),(J=e.implements)!=null||(e.implements=[]),(H=e.superTypeArguments)!=null||(e.superTypeArguments=void 0),(fe=e.typeParameters)!=null||(e.typeParameters=void 0);return;case"TSTypeAliasDeclaration":case"VariableDeclaration":(Se=e.declare)!=null||(e.declare=!1);return;case"VariableDeclarator":(ae=e.definite)!=null||(e.definite=!1);return;case"TSEnumDeclaration":(Re=e.const)!=null||(e.const=!1),(ht=e.declare)!=null||(e.declare=!1);return;case"TSEnumMember":(Wt=e.computed)!=null||(e.computed=!1);return;case"TSImportType":(ot=e.qualifier)!=null||(e.qualifier=null),(Y=e.options)!=null||(e.options=null);return;case"TSInterfaceDeclaration":(zi=e.declare)!=null||(e.declare=!1),(ro=e.extends)!=null||(e.extends=[]);return;case"TSMappedType":(F=e.optional)!=null||(e.optional=!1),(Ie=e.readonly)!=null||(e.readonly=void 0);return;case"TSModuleDeclaration":(B=e.declare)!=null||(e.declare=!1),(te=e.global)!=null||(e.global=e.kind==="global");return;case"TSTypeParameter":(be=e.const)!=null||(e.const=!1),(Ue=e.in)!=null||(e.in=!1),(Ee=e.out)!=null||(e.out=!1);return}}chStartsBindingIdentifierAndNotRelationalOperator(e,i){if(Fs(e)){if(Iu.lastIndex=i,Iu.test(this.input)){let r=this.codePointAtPos(Iu.lastIndex);if(!or(r)&&r!==92)return!1}return!0}else return e===92}nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine(){let e=this.nextTokenInLineStart(),i=this.codePointAtPos(e);return this.chStartsBindingIdentifierAndNotRelationalOperator(i,e)}nextTokenIsIdentifierOrStringLiteralOnSameLine(){let e=this.nextTokenInLineStart(),i=this.codePointAtPos(e);return this.chStartsBindingIdentifier(i,e)||i===34||i===39}};function P_(s){if(s.type!=="MemberExpression")return!1;let{computed:t,property:e}=s;return t&&e.type!=="StringLiteral"&&(e.type!=="TemplateLiteral"||e.expressions.length>0)?!1:bA(s.object)}function N_(s,t){var e;let{type:i}=s;if((e=s.extra)!=null&&e.parenthesized)return!1;if(t){if(i==="Literal"){let{value:r}=s;if(typeof r=="string"||typeof r=="boolean")return!0}}else if(i==="StringLiteral"||i==="BooleanLiteral")return!0;return!!(SA(s,t)||x_(s,t)||i==="TemplateLiteral"&&s.expressions.length===0||P_(s))}function SA(s,t){return t?s.type==="Literal"&&(typeof s.value=="number"||"bigint"in s):s.type==="NumericLiteral"||s.type==="BigIntLiteral"}function x_(s,t){if(s.type==="UnaryExpression"){let{operator:e,argument:i}=s;if(e==="-"&&SA(i,t))return!0}return!1}function bA(s){return s.type==="Identifier"?!0:s.type!=="MemberExpression"||s.computed?!1:bA(s.object)}var nA=Bs`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),v_=s=>class extends s{parsePlaceholder(e){if(this.match(133)){let i=this.startNode();return this.next(),this.assertNoSpace(),i.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(i,e)}}finishPlaceholder(e,i){let r=e;return(!r.expectedNode||!r.type)&&(r=this.finishNode(r,"Placeholder")),r.expectedNode=i,r}getTokenFromCode(e){e===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(e)}parseExprAtom(e){return this.parsePlaceholder("Expression")||super.parseExprAtom(e)}parseIdentifier(e){return this.parsePlaceholder("Identifier")||super.parseIdentifier(e)}checkReservedWord(e,i,r,n){e!==void 0&&super.checkReservedWord(e,i,r,n)}cloneIdentifier(e){let i=super.cloneIdentifier(e);return i.type==="Placeholder"&&(i.expectedNode=e.expectedNode),i}cloneStringLiteral(e){return e.type==="Placeholder"?this.cloneIdentifier(e):super.cloneStringLiteral(e)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,i,r,n){return e==="Placeholder"||super.isValidLVal(e,i,r,n)}toAssignable(e,i){e&&e.type==="Placeholder"&&e.expectedNode==="Expression"?e.expectedNode="Pattern":super.toAssignable(e,i)}chStartsBindingIdentifier(e,i){if(super.chStartsBindingIdentifier(e,i))return!0;let r=this.nextTokenStart();return this.input.charCodeAt(r)===37&&this.input.charCodeAt(r+1)===37}verifyBreakContinue(e,i){var r;((r=e.label)==null?void 0:r.type)!=="Placeholder"&&super.verifyBreakContinue(e,i)}parseExpressionStatement(e,i){var r;if(i.type!=="Placeholder"||(r=i.extra)!=null&&r.parenthesized)return super.parseExpressionStatement(e,i);if(this.match(14)){let a=e;return a.label=this.finishPlaceholder(i,"Identifier"),this.next(),a.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(a,"LabeledStatement")}this.semicolon();let n=e;return n.name=i.name,this.finishPlaceholder(n,"Statement")}parseBlock(e,i,r){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,i,r)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,i,r){let n=i?"ClassDeclaration":"ClassExpression";this.next();let a=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(133)||this.match(5))e.id=o;else{if(r||!i)return e.id=null,e.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(e,n);throw this.raise(nA.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(e,i,r);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,a),this.finishNode(e,n)}parseExport(e,i){let r=this.parsePlaceholder("Identifier");if(!r)return super.parseExport(e,i);let n=e;if(!this.isContextual(98)&&!this.match(12))return n.specifiers=[],n.source=null,n.declaration=this.finishPlaceholder(r,"Declaration"),this.finishNode(n,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let a=this.startNode();return a.exported=r,n.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],super.parseExport(n,i)}isExportDefaultSpecifier(){if(this.match(65)){let e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(wi(133),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,i){var r;return(r=e.specifiers)!=null&&r.length?!0:super.maybeParseExportDefaultSpecifier(e,i)}checkExport(e){let{specifiers:i}=e;i!=null&&i.length&&(e.specifiers=i.filter(r=>r.exported.type==="Placeholder")),super.checkExport(e),e.specifiers=i}parseImport(e){let i=this.parsePlaceholder("Identifier");if(!i)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(i,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");let r=this.startNodeAtNode(i);return r.local=i,e.specifiers.push(this.finishNode(r,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)),this.expectContextual(98),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(nA.UnexpectedSpace,this.state.lastTokEndLoc)}},O_=s=>class extends s{parseV8Intrinsic(){if(this.match(54)){let e=this.state.startLoc,i=this.startNode();if(this.next(),Ae(this.state.type)){let r=this.parseIdentifierName(),n=this.createIdentifier(i,r);if(this.castNodeTo(n,"V8IntrinsicIdentifier"),this.match(10))return n}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}},aA=["minimal","fsharp","hack","smart"],oA=["^^","@@","^","%","#"];function w_(s){if(s.has("decorators")){if(s.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let i=s.get("decorators").decoratorsBeforeExport;if(i!=null&&typeof i!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let r=s.get("decorators").allowCallParenthesized;if(r!=null&&typeof r!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(s.has("flow")&&s.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(s.has("placeholders")&&s.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(s.has("pipelineOperator")){var t;let i=s.get("pipelineOperator").proposal;if(!aA.includes(i)){let r=aA.map(n=>`"${n}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${r}.`)}if(i==="hack"){var e;if(s.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(s.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let r=s.get("pipelineOperator").topicToken;if(!oA.includes(r)){let n=oA.map(a=>`"${a}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${n}.`)}if(r==="#"&&((e=s.get("recordAndTuple"))==null?void 0:e.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",s.get("recordAndTuple")])}\`.`)}else if(i==="smart"&&((t=s.get("recordAndTuple"))==null?void 0:t.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",s.get("recordAndTuple")])}\`.`)}if(s.has("moduleAttributes")){if(s.has("deprecatedImportAssert")||s.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(s.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(s.has("importAssertions")&&s.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(s.has("deprecatedImportAssert")||s.has("importAttributes")&&s.get("importAttributes").deprecatedAssertSyntax&&s.set("deprecatedImportAssert",{}),s.has("recordAndTuple")){let i=s.get("recordAndTuple").syntaxType;if(i!=null){let r=["hash","bar"];if(!r.includes(i))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+r.map(n=>`'${n}'`).join(", "))}}if(s.has("asyncDoExpressions")&&!s.has("doExpressions")){let i=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw i.missingPlugins="doExpressions",i}if(s.has("optionalChainingAssign")&&s.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'.");if(s.has("discardBinding")&&s.get("discardBinding").syntaxType!=="void")throw new Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.")}var TA={estree:R1,jsx:f_,flow:c_,typescript:__,v8intrinsic:O_,placeholders:v_},L_=Object.keys(TA),Wu=class extends Gu{checkProto(t,e,i,r){if(t.type==="SpreadElement"||this.isObjectMethod(t)||t.computed||t.shorthand)return i;let n=t.key;return(n.type==="Identifier"?n.name:n.value)==="__proto__"?e?(this.raise(E.RecordNoProto,n),!0):(i&&(r?r.doubleProtoLoc===null&&(r.doubleProtoLoc=n.loc.start):this.raise(E.DuplicateProto,n)),!0):i}shouldExitDescending(t,e){return t.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(t.start)===e}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(E.ParseExpressionEmptyInput,this.state.startLoc);let t=this.parseExpression();if(!this.match(140))throw this.raise(E.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),t.comments=this.comments,t.errors=this.state.errors,this.optionFlags&256&&(t.tokens=this.tokens),t}parseExpression(t,e){return t?this.disallowInAnd(()=>this.parseExpressionBase(e)):this.allowInAnd(()=>this.parseExpressionBase(e))}parseExpressionBase(t){let e=this.state.startLoc,i=this.parseMaybeAssign(t);if(this.match(12)){let r=this.startNodeAt(e);for(r.expressions=[i];this.eat(12);)r.expressions.push(this.parseMaybeAssign(t));return this.toReferencedList(r.expressions),this.finishNode(r,"SequenceExpression")}return i}parseMaybeAssignDisallowIn(t,e){return this.disallowInAnd(()=>this.parseMaybeAssign(t,e))}parseMaybeAssignAllowIn(t,e){return this.allowInAnd(()=>this.parseMaybeAssign(t,e))}setOptionalParametersError(t){t.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(t,e){let i=this.state.startLoc,r=this.isContextual(108);if(r&&this.prodParam.hasYield){this.next();let l=this.parseYield(i);return e&&(l=e.call(this,l,i)),l}let n;t?n=!1:(t=new Kr,n=!0);let{type:a}=this.state;(a===10||Ae(a))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(t);if(e&&(o=e.call(this,o,i)),U1(this.state.type)){let l=this.startNodeAt(i),c=this.state.value;if(l.operator=c,this.match(29)){this.toAssignable(o,!0),l.left=o;let u=i.index;t.doubleProtoLoc!=null&&t.doubleProtoLoc.index>=u&&(t.doubleProtoLoc=null),t.shorthandAssignLoc!=null&&t.shorthandAssignLoc.index>=u&&(t.shorthandAssignLoc=null),t.privateKeyLoc!=null&&t.privateKeyLoc.index>=u&&(this.checkDestructuringPrivate(t),t.privateKeyLoc=null),t.voidPatternLoc!=null&&t.voidPatternLoc.index>=u&&(t.voidPatternLoc=null)}else l.left=o;return this.next(),l.right=this.parseMaybeAssign(),this.checkLVal(o,this.finishNode(l,"AssignmentExpression"),void 0,void 0,void 0,void 0,c==="||="||c==="&&="||c==="??="),l}else n&&this.checkExpressionErrors(t,!0);if(r){let{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?Wn(l):Wn(l)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(E.YieldNotInGeneratorFunction,i),this.parseYield(i)}return o}parseMaybeConditional(t){let e=this.state.startLoc,i=this.state.potentialArrowAt,r=this.parseExprOps(t);return this.shouldExitDescending(r,i)?r:this.parseConditional(r,e,t)}parseConditional(t,e,i){if(this.eat(17)){let r=this.startNodeAt(e);return r.test=t,r.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),r.alternate=this.parseMaybeAssign(),this.finishNode(r,"ConditionalExpression")}return t}parseMaybeUnaryOrPrivate(t){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(t)}parseExprOps(t){let e=this.state.startLoc,i=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(t);return this.shouldExitDescending(r,i)?r:this.parseExprOp(r,e,-1)}parseExprOp(t,e,i){if(this.isPrivateName(t)){let n=this.getPrivateNameSV(t);(i>=bo(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(E.PrivateInExpectedIn,t,{identifierName:n}),this.classScope.usePrivateName(n,t.loc.start)}let r=this.state.type;if(j1(r)&&(this.prodParam.hasIn||!this.match(58))){let n=bo(r);if(n>i){if(r===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return t;this.checkPipelineAtInfixOperator(t,e)}let a=this.startNodeAt(e);a.left=t,a.operator=this.state.value;let o=r===41||r===42,l=r===40;if(l&&(n=bo(42)),this.next(),r===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(E.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);a.right=this.parseExprOpRightExpr(r,n);let c=this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression"),u=this.state.type;if(l&&(u===41||u===42)||o&&u===40)throw this.raise(E.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,e,i)}}return t}parseExprOpRightExpr(t,e){let i=this.state.startLoc;switch(t){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(e))}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(E.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(t,e),i)});default:return this.parseExprOpBaseRightExpr(t,e)}}parseExprOpBaseRightExpr(t,e){let i=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),i,X1(t)?e-1:e)}parseHackPipeBody(){var t;let{startLoc:e}=this.state,i=this.parseMaybeAssign();return x1.has(i.type)&&!((t=i.extra)!=null&&t.parenthesized)&&this.raise(E.PipeUnparenthesizedBody,e,{type:i.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(E.PipeTopicUnused,e),i}checkExponentialAfterUnary(t){this.match(57)&&this.raise(E.UnexpectedTokenUnaryExponentiation,t.argument)}parseMaybeUnary(t,e){let i=this.state.startLoc,r=this.isContextual(96);if(r&&this.recordAwaitIfAllowed()){this.next();let l=this.parseAwait(i);return e||this.checkExponentialAfterUnary(l),l}let n=this.match(34),a=this.startNode();if(K1(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let l=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(t,!0),this.state.strict&&l){let c=a.argument;c.type==="Identifier"?this.raise(E.StrictDelete,a):this.hasPropertyAsPrivateName(c)&&this.raise(E.DeletePrivateField,a)}if(!n)return e||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}let o=this.parseUpdate(a,n,t);if(r){let{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?Wn(l):Wn(l)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(E.AwaitNotInAsyncContext,i),this.parseAwait(i)}return o}parseUpdate(t,e,i){if(e){let a=t;return this.checkLVal(a.argument,this.finishNode(a,"UpdateExpression")),t}let r=this.state.startLoc,n=this.parseExprSubscripts(i);if(this.checkExpressionErrors(i,!1))return n;for(;H1(this.state.type)&&!this.canInsertSemicolon();){let a=this.startNodeAt(r);a.operator=this.state.value,a.prefix=!1,a.argument=n,this.next(),this.checkLVal(n,n=this.finishNode(a,"UpdateExpression"))}return n}parseExprSubscripts(t){let e=this.state.startLoc,i=this.state.potentialArrowAt,r=this.parseExprAtom(t);return this.shouldExitDescending(r,i)?r:this.parseSubscripts(r,e)}parseSubscripts(t,e,i){let r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(t),stop:!1};do t=this.parseSubscript(t,e,i,r),r.maybeAsyncArrow=!1;while(!r.stop);return t}parseSubscript(t,e,i,r){let{type:n}=this.state;if(!i&&n===15)return this.parseBind(t,e,i,r);if(Io(n))return this.parseTaggedTemplateExpression(t,e,r);let a=!1;if(n===18){if(i&&(this.raise(E.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(t,r);r.optionalChainMember=a=!0,this.next()}if(!i&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(t,e,r,a);{let o=this.eat(0);return o||a||this.eat(16)?this.parseMember(t,e,r,o,a):this.stopParseSubscript(t,r)}}stopParseSubscript(t,e){return e.stop=!0,t}parseMember(t,e,i,r,n){let a=this.startNodeAt(e);return a.object=t,a.computed=r,r?(a.property=this.parseExpression(),this.expect(3)):this.match(139)?(t.type==="Super"&&this.raise(E.SuperPrivateField,e),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),i.optionalChainMember?(a.optional=n,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(t,e,i,r){let n=this.startNodeAt(e);return n.object=t,this.next(),n.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),e,i)}parseCoverCallAndAsyncArrowHead(t,e,i,r){let n=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(e);o.callee=t;let{maybeAsyncArrow:l,optionalChainMember:c}=i;l&&(this.expressionScope.enter(b_()),a=new Kr),c&&(o.optional=r),r?o.arguments=this.parseCallExpressionArguments():o.arguments=this.parseCallExpressionArguments(t.type!=="Super",o,a);let u=this.finishCallExpression(o,c);return l&&this.shouldParseAsyncArrow()&&!r?(i.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),u=this.parseAsyncArrowFromCallExpression(this.startNodeAt(e),u)):(l&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(u)),this.state.maybeInArrowParameters=n,u}toReferencedArguments(t,e){this.toReferencedListDeep(t.arguments,e)}parseTaggedTemplateExpression(t,e,i){let r=this.startNodeAt(e);return r.tag=t,r.quasi=this.parseTemplate(!0),i.optionalChainMember&&this.raise(E.OptionalChainingNoTemplate,e),this.finishNode(r,"TaggedTemplateExpression")}atPossibleAsyncArrow(t){return t.type==="Identifier"&&t.name==="async"&&this.state.lastTokEndLoc.index===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&this.offsetToSourcePos(t.start)===this.state.potentialArrowAt}finishCallExpression(t,e){if(t.callee.type==="Import")if(t.arguments.length===0||t.arguments.length>2)this.raise(E.ImportCallArity,t);else for(let i of t.arguments)i.type==="SpreadElement"&&this.raise(E.ImportCallSpreadArgument,i);return this.finishNode(t,e?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(t,e,i){let r=[],n=!0,a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(n)n=!1;else if(this.expect(12),this.match(11)){e&&this.addTrailingCommaExtraToNode(e),this.next();break}r.push(this.parseExprListItem(11,!1,i,t))}return this.state.inFSharpPipelineDirectBody=a,r}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(t,e){var i;return this.resetPreviousNodeTrailingComments(e),this.expect(19),this.parseArrowExpression(t,e.arguments,!0,(i=e.extra)==null?void 0:i.trailingCommaLoc),e.innerComments&&Yn(t,e.innerComments),e.callee.trailingComments&&Yn(t,e.callee.trailingComments),t}parseNoCallExpr(){let t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),t,!0)}parseExprAtom(t){let e,i=null,{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return e=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(e):this.match(10)?this.optionFlags&512?this.parseImportCall(e):this.finishNode(e,"Import"):(this.raise(E.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(e,"Import"));case 78:return e=this.startNode(),this.next(),this.finishNode(e,"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:{let n=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(n)}case 0:return this.parseArrayLike(3,!1,t);case 5:return this.parseObjectLike(8,!1,!1,t);case 68:return this.parseFunctionOrFunctionSent();case 26:i=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(i,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{e=this.startNode(),this.next(),e.object=null;let n=e.callee=this.parseNoCallExpr();if(n.type==="MemberExpression")return this.finishNode(e,"BindExpression");throw this.raise(E.UnsupportedBind,n)}case 139:return this.raise(E.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:{let n=this.getPluginOption("pipelineOperator","proposal");if(n)return this.parseTopicReference(n);throw this.unexpected()}case 47:{let n=this.input.codePointAt(this.nextTokenStart());throw Fs(n)||n===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected()}default:if(r===137)return this.parseDecimalLiteral(this.state.value);if(r===2||r===1)return this.parseArrayLike(this.state.type===2?4:3,!0);if(r===6||r===7)return this.parseObjectLike(this.state.type===6?9:8,!1,!0);if(Ae(r)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let n=this.state.potentialArrowAt===this.state.start,a=this.state.containsEsc,o=this.parseIdentifier();if(!a&&o.name==="async"&&!this.canInsertSemicolon()){let{type:l}=this.state;if(l===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(Ae(l))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(o)):o;if(l===90)return this.resetPreviousNodeTrailingComments(o),this.parseDo(this.startNodeAtNode(o),!0)}return n&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else throw this.unexpected()}}parseTopicReferenceThenEqualsSign(t,e){let i=this.getPluginOption("pipelineOperator","proposal");if(i)return this.state.type=t,this.state.value=e,this.state.pos--,this.state.end--,this.state.endLoc=wt(this.state.endLoc,-1),this.parseTopicReference(i);throw this.unexpected()}parseTopicReference(t){let e=this.startNode(),i=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(e,i,t,r)}finishTopicReference(t,e,i,r){if(this.testTopicReferenceConfiguration(i,e,r))return i==="hack"?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(E.PipeTopicUnbound,e),this.registerTopicReference(),this.finishNode(t,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(E.PrimaryTopicNotAllowed,e),this.registerTopicReference(),this.finishNode(t,"PipelinePrimaryTopicReference"));throw this.raise(E.PipeTopicUnconfiguredToken,e,{token:wi(r)})}testTopicReferenceConfiguration(t,e,i){switch(t){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:wi(i)}]);case"smart":return i===27;default:throw this.raise(E.PipeTopicRequiresHackPipes,e)}}parseAsyncArrowUnaryFunction(t){this.prodParam.enter(To(!0,this.prodParam.hasYield));let e=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(E.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(t,e,!0)}parseDo(t,e){this.expectPlugin("doExpressions"),e&&this.expectPlugin("asyncDoExpressions"),t.async=e,this.next();let i=this.state.labels;return this.state.labels=[],e?(this.prodParam.enter(2),t.body=this.parseBlock(),this.prodParam.exit()):t.body=this.parseBlock(),this.state.labels=i,this.finishNode(t,"DoExpression")}parseSuper(){let t=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper?this.optionFlags&16||this.raise(E.SuperNotAllowed,t):this.scope.allowSuper||this.optionFlags&16||this.raise(E.UnexpectedSuper,t),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(E.UnsupportedSuper,t),this.finishNode(t,"Super")}parsePrivateName(){let t=this.startNode(),e=this.startNodeAt(wt(this.state.startLoc,1)),i=this.state.value;return this.next(),t.id=this.createIdentifier(e,i),this.finishNode(t,"PrivateName")}parseFunctionOrFunctionSent(){let t=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(t,e,"sent")}return this.parseFunction(t)}parseMetaProperty(t,e,i){t.meta=e;let r=this.state.containsEsc;return t.property=this.parseIdentifier(!0),(t.property.name!==i||r)&&this.raise(E.UnsupportedMetaProperty,t.property,{target:e.name,onlyValidPropertyName:i}),this.finishNode(t,"MetaProperty")}parseImportMetaPropertyOrPhaseCall(t){if(this.next(),this.isContextual(105)||this.isContextual(97)){let e=this.isContextual(105);return this.expectPlugin(e?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),t.phase=e?"source":"defer",this.parseImportCall(t)}else{let e=this.createIdentifierAt(this.startNodeAtNode(t),"import",this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(E.ImportMetaOutsideModule,e),this.sawUnambiguousESM=!0),this.parseMetaProperty(t,e,"meta")}}parseLiteralAtNode(t,e,i){return this.addExtra(i,"rawValue",t),this.addExtra(i,"raw",this.input.slice(this.offsetToSourcePos(i.start),this.state.end)),i.value=t,this.next(),this.finishNode(i,e)}parseLiteral(t,e){let i=this.startNode();return this.parseLiteralAtNode(t,e,i)}parseStringLiteral(t){return this.parseLiteral(t,"StringLiteral")}parseNumericLiteral(t){return this.parseLiteral(t,"NumericLiteral")}parseBigIntLiteral(t){return this.parseLiteral(t,"BigIntLiteral")}parseDecimalLiteral(t){return this.parseLiteral(t,"DecimalLiteral")}parseRegExpLiteral(t){let e=this.startNode();return this.addExtra(e,"raw",this.input.slice(this.offsetToSourcePos(e.start),this.state.end)),e.pattern=t.pattern,e.flags=t.flags,this.next(),this.finishNode(e,"RegExpLiteral")}parseBooleanLiteral(t){let e=this.startNode();return e.value=t,this.next(),this.finishNode(e,"BooleanLiteral")}parseNullLiteral(){let t=this.startNode();return this.next(),this.finishNode(t,"NullLiteral")}parseParenAndDistinguishExpression(t){let e=this.state.startLoc,i;this.next(),this.expressionScope.enter(S_());let r=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,o=[],l=new Kr,c=!0,u,p;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,l.optionalParametersLoc===null?null:l.optionalParametersLoc),this.match(11)){p=this.state.startLoc;break}if(this.match(21)){let m=this.state.startLoc;if(u=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),m)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowInOrVoidPattern(11,l,this.parseParenItem))}let h=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=n;let f=this.startNodeAt(e);return t&&this.shouldParseArrow(o)&&(f=this.parseArrow(f))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(f,o,!1),f):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),p&&this.unexpected(p),u&&this.unexpected(u),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(o,!0),o.length>1?(i=this.startNodeAt(a),i.expressions=o,this.finishNode(i,"SequenceExpression"),this.resetEndLocation(i,h)):i=o[0],this.wrapParenthesis(e,i))}wrapParenthesis(t,e){if(!(this.optionFlags&1024))return this.addExtra(e,"parenthesized",!0),this.addExtra(e,"parenStart",t.index),this.takeSurroundingComments(e,t.index,this.state.lastTokEndLoc.index),e;let i=this.startNodeAt(t);return i.expression=e,this.finishNode(i,"ParenthesizedExpression")}shouldParseArrow(t){return!this.canInsertSemicolon()}parseArrow(t){if(this.eat(19))return t}parseParenItem(t,e){return t}parseNewOrNewTarget(){let t=this.startNode();if(this.next(),this.match(16)){let e=this.createIdentifier(this.startNodeAtNode(t),"new");this.next();let i=this.parseMetaProperty(t,e,"target");return this.scope.allowNewTarget||this.raise(E.UnexpectedNewTarget,i),i}return this.parseNew(t)}parseNew(t){if(this.parseNewCallee(t),this.eat(10)){let e=this.parseExprList(11);this.toReferencedList(e),t.arguments=e}else t.arguments=[];return this.finishNode(t,"NewExpression")}parseNewCallee(t){let e=this.match(83),i=this.parseNoCallExpr();t.callee=i,e&&(i.type==="Import"||i.type==="ImportExpression")&&this.raise(E.ImportCallNotNewExpression,i)}parseTemplateElement(t){let{start:e,startLoc:i,end:r,value:n}=this.state,a=e+1,o=this.startNodeAt(wt(i,1));n===null&&(t||this.raise(E.InvalidEscapeSequenceTemplate,wt(this.state.firstInvalidTemplateEscapePos,1)));let l=this.match(24),c=l?-1:-2,u=r+c;o.value={raw:this.input.slice(a,u).replace(/\r\n?/g,`
|
|
12
|
+
`),cooked:n===null?null:n.slice(1,c)},o.tail=l,this.next();let p=this.finishNode(o,"TemplateElement");return this.resetEndLocation(p,wt(this.state.lastTokEndLoc,c)),p}parseTemplate(t){let e=this.startNode(),i=this.parseTemplateElement(t),r=[i],n=[];for(;!i.tail;)n.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.push(i=this.parseTemplateElement(t));return e.expressions=n,e.quasis=r,this.finishNode(e,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(t,e,i,r){i&&this.expectPlugin("recordAndTuple");let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=!1,o=!0,l=this.startNode();for(l.properties=[],this.next();!this.match(t);){if(o)o=!1;else if(this.expect(12),this.match(t)){this.addTrailingCommaExtraToNode(l);break}let u;e?u=this.parseBindingProperty():(u=this.parsePropertyDefinition(r),a=this.checkProto(u,i,a,r)),i&&!this.isObjectProperty(u)&&u.type!=="SpreadElement"&&this.raise(E.InvalidRecordProperty,u),u.shorthand&&this.addExtra(u,"shorthand",!0),l.properties.push(u)}this.next(),this.state.inFSharpPipelineDirectBody=n;let c="ObjectExpression";return e?c="ObjectPattern":i&&(c="RecordExpression"),this.finishNode(l,c)}addTrailingCommaExtraToNode(t){this.addExtra(t,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(t,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(t){return!t.computed&&t.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(t){let e=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(E.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());let i=this.startNode(),r=!1,n=!1,a;if(this.match(21))return e.length&&this.unexpected(),this.parseSpread();e.length&&(i.decorators=e,e=[]),i.method=!1,t&&(a=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(i);let l=this.state.containsEsc;if(this.parsePropertyName(i,t),!o&&!l&&this.maybeAsyncOrAccessorProp(i)){let{key:c}=i,u=c.name;u==="async"&&!this.hasPrecedingLineBreak()&&(r=!0,this.resetPreviousNodeTrailingComments(c),o=this.eat(55),this.parsePropertyName(i)),(u==="get"||u==="set")&&(n=!0,this.resetPreviousNodeTrailingComments(c),i.kind=u,this.match(55)&&(o=!0,this.raise(E.AccessorIsGenerator,this.state.curPosition(),{kind:u}),this.next()),this.parsePropertyName(i))}return this.parseObjPropValue(i,a,o,r,!1,n,t)}getGetterSetterExpectedParamCount(t){return t.kind==="get"?0:1}getObjectOrClassMethodParams(t){return t.params}checkGetterSetterParams(t){var e;let i=this.getGetterSetterExpectedParamCount(t),r=this.getObjectOrClassMethodParams(t);r.length!==i&&this.raise(t.kind==="get"?E.BadGetterArity:E.BadSetterArity,t),t.kind==="set"&&((e=r[r.length-1])==null?void 0:e.type)==="RestElement"&&this.raise(E.BadSetterRestParameter,t)}parseObjectMethod(t,e,i,r,n){if(n){let a=this.parseMethod(t,e,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(a),a}if(i||e||this.match(10))return r&&this.unexpected(),t.kind="method",t.method=!0,this.parseMethod(t,e,i,!1,!1,"ObjectMethod")}parseObjectProperty(t,e,i,r){if(t.shorthand=!1,this.eat(14))return t.value=i?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,r),this.finishObjectProperty(t);if(!t.computed&&t.key.type==="Identifier"){if(this.checkReservedWord(t.key.name,t.key.loc.start,!0,!1),i)t.value=this.parseMaybeDefault(e,this.cloneIdentifier(t.key));else if(this.match(29)){let n=this.state.startLoc;r!=null?r.shorthandAssignLoc===null&&(r.shorthandAssignLoc=n):this.raise(E.InvalidCoverInitializedName,n),t.value=this.parseMaybeDefault(e,this.cloneIdentifier(t.key))}else t.value=this.cloneIdentifier(t.key);return t.shorthand=!0,this.finishObjectProperty(t)}}finishObjectProperty(t){return this.finishNode(t,"ObjectProperty")}parseObjPropValue(t,e,i,r,n,a,o){let l=this.parseObjectMethod(t,i,r,n,a)||this.parseObjectProperty(t,e,n,o);return l||this.unexpected(),l}parsePropertyName(t,e){if(this.eat(0))t.computed=!0,t.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:i,value:r}=this.state,n;if(Ss(i))n=this.parseIdentifier(!0);else switch(i){case 135:n=this.parseNumericLiteral(r);break;case 134:n=this.parseStringLiteral(r);break;case 136:n=this.parseBigIntLiteral(r);break;case 139:{let a=this.state.startLoc;e!=null?e.privateKeyLoc===null&&(e.privateKeyLoc=a):this.raise(E.UnexpectedPrivateField,a),n=this.parsePrivateName();break}default:if(i===137){n=this.parseDecimalLiteral(r);break}this.unexpected()}t.key=n,i!==139&&(t.computed=!1)}}initFunction(t,e){t.id=null,t.generator=!1,t.async=e}parseMethod(t,e,i,r,n,a,o=!1){this.initFunction(t,i),t.generator=e,this.scope.enter(530|(o?576:0)|(n?32:0)),this.prodParam.enter(To(i,t.generator)),this.parseFunctionParams(t,r);let l=this.parseFunctionBodyAndFinish(t,a,!0);return this.prodParam.exit(),this.scope.exit(),l}parseArrayLike(t,e,i){e&&this.expectPlugin("recordAndTuple");let r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let n=this.startNode();return this.next(),n.elements=this.parseExprList(t,!e,i,n),this.state.inFSharpPipelineDirectBody=r,this.finishNode(n,e?"TupleExpression":"ArrayExpression")}parseArrowExpression(t,e,i,r){this.scope.enter(518);let n=To(i,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=8),this.prodParam.enter(n),this.initFunction(t,i);let a=this.state.maybeInArrowParameters;return e&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(t,e,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(t,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(t,"ArrowFunctionExpression")}setArrowFunctionParameters(t,e,i){this.toAssignableList(e,i,!1),t.params=e}parseFunctionBodyAndFinish(t,e,i=!1){return this.parseFunctionBody(t,!1,i),this.finishNode(t,e)}parseFunctionBody(t,e,i=!1){let r=e&&!this.match(5);if(this.expressionScope.enter(EA()),r)t.body=this.parseMaybeAssign(),this.checkParams(t,!1,e,!1);else{let n=this.state.strict,a=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),t.body=this.parseBlock(!0,!1,o=>{let l=!this.isSimpleParamList(t.params);o&&l&&this.raise(E.IllegalLanguageModeDirective,(t.kind==="method"||t.kind==="constructor")&&t.key?t.key.loc.end:t);let c=!n&&this.state.strict;this.checkParams(t,!this.state.strict&&!e&&!i&&!l,e,c),this.state.strict&&t.id&&this.checkIdentifier(t.id,65,c)}),this.prodParam.exit(),this.state.labels=a}this.expressionScope.exit()}isSimpleParameter(t){return t.type==="Identifier"}isSimpleParamList(t){for(let e=0,i=t.length;e<i;e++)if(!this.isSimpleParameter(t[e]))return!1;return!0}checkParams(t,e,i,r=!0){let n=!e&&new Set,a={type:"FormalParameters"};for(let o of t.params)this.checkLVal(o,a,5,n,r)}parseExprList(t,e,i,r){let n=[],a=!0;for(;!this.eat(t);){if(a)a=!1;else if(this.expect(12),this.match(t)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}n.push(this.parseExprListItem(t,e,i))}return n}parseExprListItem(t,e,i,r){let n;if(this.match(12))e||this.raise(E.UnexpectedToken,this.state.curPosition(),{unexpected:","}),n=null;else if(this.match(21)){let a=this.state.startLoc;n=this.parseParenItem(this.parseSpread(i),a)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(E.UnexpectedArgumentPlaceholder,this.state.startLoc);let a=this.startNode();this.next(),n=this.finishNode(a,"ArgumentPlaceholder")}else n=this.parseMaybeAssignAllowInOrVoidPattern(t,i,this.parseParenItem);return n}parseIdentifier(t){let e=this.startNode(),i=this.parseIdentifierName(t);return this.createIdentifier(e,i)}createIdentifier(t,e){return t.name=e,t.loc.identifierName=e,this.finishNode(t,"Identifier")}createIdentifierAt(t,e,i){return t.name=e,t.loc.identifierName=e,this.finishNodeAt(t,"Identifier",i)}parseIdentifierName(t){let e,{startLoc:i,type:r}=this.state;Ss(r)?e=this.state.value:this.unexpected();let n=F1(r);return t?n&&this.replaceToken(132):this.checkReservedWord(e,i,n,!1),this.next(),e}checkReservedWord(t,e,i,r){if(t.length>10||!i_(t))return;if(i&&e_(t)){this.raise(E.UnexpectedKeyword,e,{keyword:t});return}if((this.state.strict?r?mA:fA:hA)(t,this.inModule)){this.raise(E.UnexpectedReservedWord,e,{reservedWord:t});return}else if(t==="yield"){if(this.prodParam.hasYield){this.raise(E.YieldBindingIdentifier,e);return}}else if(t==="await"){if(this.prodParam.hasAwait){this.raise(E.AwaitBindingIdentifier,e);return}if(this.scope.inStaticBlock){this.raise(E.AwaitBindingIdentifierInStaticBlock,e);return}this.expressionScope.recordAsyncArrowParametersError(e)}else if(t==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(E.ArgumentsInClass,e);return}}recordAwaitIfAllowed(){let t=this.prodParam.hasAwait;return t&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),t}parseAwait(t){let e=this.startNodeAt(t);return this.expressionScope.recordParameterInitializerError(E.AwaitExpressionFormalParameter,e),this.eat(55)&&this.raise(E.ObsoleteAwaitStar,e),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(e.argument=this.parseMaybeUnary(null,!0)),this.finishNode(e,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;let{type:t}=this.state;return t===53||t===10||t===0||Io(t)||t===102&&!this.state.containsEsc||t===138||t===56||this.hasPlugin("v8intrinsic")&&t===54}parseYield(t){let e=this.startNodeAt(t);this.expressionScope.recordParameterInitializerError(E.YieldInParameter,e);let i=!1,r=null;if(!this.hasPrecedingLineBreak())switch(i=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!i)break;default:r=this.parseMaybeAssign()}return e.delegate=i,e.argument=r,this.finishNode(e,"YieldExpression")}parseImportCall(t){if(this.next(),t.source=this.parseMaybeAssignAllowIn(),t.options=null,this.eat(12)){if(this.match(11))this.addTrailingCommaExtraToNode(t.source);else if(t.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(t.options),!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(E.ImportCallArity,t)}}return this.expect(11),this.finishNode(t,"ImportExpression")}checkPipelineAtInfixOperator(t,e){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&t.type==="SequenceExpression"&&this.raise(E.PipelineHeadSequenceExpression,e)}parseSmartPipelineBodyInStyle(t,e){if(this.isSimpleReference(t)){let i=this.startNodeAt(e);return i.callee=t,this.finishNode(i,"PipelineBareFunction")}else{let i=this.startNodeAt(e);return this.checkSmartPipeTopicBodyEarlyErrors(e),i.expression=t,this.finishNode(i,"PipelineTopicExpression")}}isSimpleReference(t){switch(t.type){case"MemberExpression":return!t.computed&&this.isSimpleReference(t.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(t){if(this.match(19))throw this.raise(E.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(E.PipelineTopicUnused,t)}withTopicBindingContext(t){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}withSmartMixTopicForbiddingContext(t){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let e=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return t()}finally{this.state.topicContext=e}}else return t()}withSoloAwaitPermittingContext(t){let e=this.state.soloAwait;this.state.soloAwait=!0;try{return t()}finally{this.state.soloAwait=e}}allowInAnd(t){let e=this.prodParam.currentFlags();if(8&~e){this.prodParam.enter(e|8);try{return t()}finally{this.prodParam.exit()}}return t()}disallowInAnd(t){let e=this.prodParam.currentFlags();if(8&e){this.prodParam.enter(e&-9);try{return t()}finally{this.prodParam.exit()}}return t()}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(t){let e=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),e,t);return this.state.inFSharpPipelineDirectBody=i,r}parseModuleExpression(){this.expectPlugin("moduleBlocks");let t=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let e=this.startNodeAt(this.state.endLoc);this.next();let i=this.initializeScopes(!0);this.enterInitialScopes();try{t.body=this.parseProgram(e,8,"module")}finally{i()}return this.finishNode(t,"ModuleExpression")}parseVoidPattern(t){this.expectPlugin("discardBinding");let e=this.startNode();return t!=null&&(t.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(e,"VoidPattern")}parseMaybeAssignAllowInOrVoidPattern(t,e,i){if(e!=null&&this.match(88)){let r=this.lookaheadCharCode();if(r===44||r===(t===3?93:t===8?125:41)||r===61)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(e))}return this.parseMaybeAssignAllowIn(e,i)}parsePropertyNamePrefixOperator(t){}},_u={kind:1},M_={kind:2},D_=/[\uD800-\uDFFF]/u,Pu=/in(?:stanceof)?/y;function R_(s,t,e){for(let i=0;i<s.length;i++){let r=s[i],{type:n}=r;if(typeof n=="number"){if(n===139){let{loc:a,start:o,value:l,end:c}=r,u=o+1,p=wt(a.start,1);s.splice(i,1,new ks({type:si(27),value:"#",start:o,end:u,startLoc:a.start,endLoc:p}),new ks({type:si(132),value:l,start:u,end:c,startLoc:p,endLoc:a.end})),i++;continue}if(Io(n)){let{loc:a,start:o,value:l,end:c}=r,u=o+1,p=wt(a.start,1),h;t.charCodeAt(o-e)===96?h=new ks({type:si(22),value:"`",start:o,end:u,startLoc:a.start,endLoc:p}):h=new ks({type:si(8),value:"}",start:o,end:u,startLoc:a.start,endLoc:p});let f,m,d,A;n===24?(m=c-1,d=wt(a.end,-1),f=l===null?null:l.slice(1,-1),A=new ks({type:si(22),value:"`",start:m,end:c,startLoc:d,endLoc:a.end})):(m=c-2,d=wt(a.end,-2),f=l===null?null:l.slice(1,-2),A=new ks({type:si(23),value:"${",start:m,end:c,startLoc:d,endLoc:a.end})),s.splice(i,1,h,new ks({type:si(20),value:f,start:u,end:m,startLoc:p,endLoc:d}),A),i+=2;continue}r.type=si(n)}}return s}var Xu=class extends Wu{parseTopLevel(t,e){return t.program=this.parseProgram(e,140,this.options.sourceType==="module"?"module":"script"),t.comments=this.comments,this.optionFlags&256&&(t.tokens=R_(this.tokens,this.input,this.startIndex)),this.finishNode(t,"File")}parseProgram(t,e,i){if(t.sourceType=i,t.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(t,!0,!0,e),this.inModule){if(!(this.optionFlags&64)&&this.scope.undefinedExports.size>0)for(let[n,a]of Array.from(this.scope.undefinedExports))this.raise(E.ModuleExportUndefined,a,{localName:n});this.addExtra(t,"topLevelAwait",this.state.hasTopLevelAwait)}let r;return e===140?r=this.finishNode(t,"Program"):r=this.finishNodeAt(t,"Program",wt(this.state.startLoc,-1)),r}stmtToDirective(t){let e=this.castNodeTo(t,"Directive"),i=this.castNodeTo(t.expression,"DirectiveLiteral"),r=i.value,n=this.input.slice(this.offsetToSourcePos(i.start),this.offsetToSourcePos(i.end)),a=i.value=n.slice(1,-1);return this.addExtra(i,"raw",n),this.addExtra(i,"rawValue",a),this.addExtra(i,"expressionValue",r),e.value=i,delete t.expression,e}parseInterpreterDirective(){if(!this.match(28))return null;let t=this.startNode();return t.value=this.state.value,this.next(),this.finishNode(t,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}isUsing(){return this.isContextual(107)?this.nextTokenIsIdentifierOnSameLine():!1}isForUsing(){if(!this.isContextual(107))return!1;let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);if(this.isUnparsedContextual(t,"of")){let i=this.lookaheadCharCodeSince(t+2);if(i!==61&&i!==58&&i!==59)return!1}return!!(this.chStartsBindingIdentifier(e,t)||this.isUnparsedContextual(t,"void"))}nextTokenIsIdentifierOnSameLine(){let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return this.chStartsBindingIdentifier(e,t)}isAwaitUsing(){if(!this.isContextual(96))return!1;let t=this.nextTokenInLineStart();if(this.isUnparsedContextual(t,"using")){t=this.nextTokenInLineStartSince(t+5);let e=this.codePointAtPos(t);if(this.chStartsBindingIdentifier(e,t))return!0}return!1}chStartsBindingIdentifier(t,e){if(Fs(t)){if(Pu.lastIndex=e,Pu.test(this.input)){let i=this.codePointAtPos(Pu.lastIndex);if(!or(i)&&i!==92)return!1}return!0}else return t===92}chStartsBindingPattern(t){return t===91||t===123}hasFollowingBindingAtom(){let t=this.nextTokenStart(),e=this.codePointAtPos(t);return this.chStartsBindingPattern(e)||this.chStartsBindingIdentifier(e,t)}hasInLineFollowingBindingIdentifierOrBrace(){let t=this.nextTokenInLineStart(),e=this.codePointAtPos(t);return e===123||this.chStartsBindingIdentifier(e,t)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(t=!1){let e=0;return this.options.annexB&&!this.state.strict&&(e|=4,t&&(e|=8)),this.parseStatementLike(e)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(t){let e=null;return this.match(26)&&(e=this.parseDecorators(!0)),this.parseStatementContent(t,e)}parseStatementContent(t,e){let i=this.state.type,r=this.startNode(),n=!!(t&2),a=!!(t&4),o=t&1;switch(i){case 60:return this.parseBreakContinueStatement(r,!0);case 63:return this.parseBreakContinueStatement(r,!1);case 64:return this.parseDebuggerStatement(r);case 90:return this.parseDoWhileStatement(r);case 91:return this.parseForStatement(r);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?E.StrictFunction:this.options.annexB?E.SloppyFunctionAnnexB:E.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!n&&a);case 80:return n||this.unexpected(),this.parseClass(this.maybeTakeDecorators(e,r),!0);case 69:return this.parseIfStatement(r);case 70:return this.parseReturnStatement(r);case 71:return this.parseSwitchStatement(r);case 72:return this.parseThrowStatement(r);case 73:return this.parseTryStatement(r);case 96:if(this.isAwaitUsing())return this.allowsUsing()?n?this.recordAwaitIfAllowed()||this.raise(E.AwaitUsingNotInAsyncContext,r):this.raise(E.UnexpectedLexicalDeclaration,r):this.raise(E.UnexpectedUsingDeclaration,r),this.next(),this.parseVarStatement(r,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?n||this.raise(E.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(E.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(r,"using");case 100:{if(this.state.containsEsc)break;let u=this.nextTokenStart(),p=this.codePointAtPos(u);if(p!==91&&(!n&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(p,u)&&p!==123))break}case 75:n||this.raise(E.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let u=this.state.value;return this.parseVarStatement(r,u)}case 92:return this.parseWhileStatement(r);case 76:return this.parseWithStatement(r);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(r);case 83:{let u=this.lookaheadCharCode();if(u===40||u===46)break}case 82:{!(this.optionFlags&8)&&!o&&this.raise(E.UnexpectedImportExport,this.state.startLoc),this.next();let u;return i===83?u=this.parseImport(r):u=this.parseExport(r,e),this.assertModuleNodeAllowed(u),u}default:if(this.isAsyncFunction())return n||this.raise(E.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!n&&a)}let l=this.state.value,c=this.parseExpression();return Ae(i)&&c.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(r,l,c,t):this.parseExpressionStatement(r,c,e)}assertModuleNodeAllowed(t){!(this.optionFlags&8)&&!this.inModule&&this.raise(E.ImportOutsideModule,t)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(t,e,i){if(t){var r;(r=e.decorators)!=null&&r.length?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(E.DecoratorsBeforeAfterExport,e.decorators[0]),e.decorators.unshift(...t)):e.decorators=t,this.resetStartLocationFromNode(e,t[0]),i&&this.resetStartLocationFromNode(i,e)}return e}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(t){let e=[];do e.push(this.parseDecorator());while(this.match(26));if(this.match(82))t||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(E.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(E.UnexpectedLeadingDecorator,this.state.startLoc);return e}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let t=this.startNode();if(this.next(),this.hasPlugin("decorators")){let e=this.state.startLoc,i;if(this.match(10)){let r=this.state.startLoc;this.next(),i=this.parseExpression(),this.expect(11),i=this.wrapParenthesis(r,i);let n=this.state.startLoc;t.expression=this.parseMaybeDecoratorArguments(i,r),this.getPluginOption("decorators","allowCallParenthesized")===!1&&t.expression!==i&&this.raise(E.DecoratorArgumentsOutsideParentheses,n)}else{for(i=this.parseIdentifier(!1);this.eat(16);){let r=this.startNodeAt(e);r.object=i,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),r.property=this.parsePrivateName()):r.property=this.parseIdentifier(!0),r.computed=!1,i=this.finishNode(r,"MemberExpression")}t.expression=this.parseMaybeDecoratorArguments(i,e)}}else t.expression=this.parseExprSubscripts();return this.finishNode(t,"Decorator")}parseMaybeDecoratorArguments(t,e){if(this.eat(10)){let i=this.startNodeAt(e);return i.callee=t,i.arguments=this.parseCallExpressionArguments(),this.toReferencedList(i.arguments),this.finishNode(i,"CallExpression")}return t}parseBreakContinueStatement(t,e){return this.next(),this.isLineTerminator()?t.label=null:(t.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(t,e),this.finishNode(t,e?"BreakStatement":"ContinueStatement")}verifyBreakContinue(t,e){let i;for(i=0;i<this.state.labels.length;++i){let r=this.state.labels[i];if((t.label==null||r.name===t.label.name)&&(r.kind!=null&&(e||r.kind===1)||t.label&&e))break}if(i===this.state.labels.length){let r=e?"BreakStatement":"ContinueStatement";this.raise(E.IllegalBreakContinue,t,{type:r})}}parseDebuggerStatement(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let t=this.parseExpression();return this.expect(11),t}parseDoWhileStatement(t){return this.next(),this.state.labels.push(_u),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),t.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(t,"DoWhileStatement")}parseForStatement(t){this.next(),this.state.labels.push(_u);let e=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(e=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return e!==null&&this.unexpected(e),this.parseFor(t,null);let i=this.isContextual(100);{let l=this.isAwaitUsing(),c=l||this.isForUsing(),u=i&&this.hasFollowingBindingAtom()||c;if(this.match(74)||this.match(75)||u){let p=this.startNode(),h;l?(h="await using",this.recordAwaitIfAllowed()||this.raise(E.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):h=this.state.value,this.next(),this.parseVar(p,!0,h);let f=this.finishNode(p,"VariableDeclaration"),m=this.match(58);return m&&c&&this.raise(E.ForInUsing,f),(m||this.isContextual(102))&&f.declarations.length===1?this.parseForIn(t,f,e):(e!==null&&this.unexpected(e),this.parseFor(t,f))}}let r=this.isContextual(95),n=new Kr,a=this.parseExpression(!0,n),o=this.isContextual(102);if(o&&(i&&this.raise(E.ForOfLet,a),e===null&&r&&a.type==="Identifier"&&this.raise(E.ForOfAsync,a)),o||this.match(58)){this.checkDestructuringPrivate(n),this.toAssignable(a,!0);let l=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{type:l}),this.parseForIn(t,a,e)}else this.checkExpressionErrors(n,!0);return e!==null&&this.unexpected(e),this.parseFor(t,a)}parseFunctionStatement(t,e,i){return this.next(),this.parseFunction(t,1|(i?2:0)|(e?8:0))}parseIfStatement(t){return this.next(),t.test=this.parseHeaderExpression(),t.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),t.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(t,"IfStatement")}parseReturnStatement(t){return this.prodParam.hasReturn||this.raise(E.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")}parseSwitchStatement(t){this.next(),t.discriminant=this.parseHeaderExpression();let e=t.cases=[];this.expect(5),this.state.labels.push(M_),this.scope.enter(256);let i;for(let r;!this.match(8);)if(this.match(61)||this.match(65)){let n=this.match(61);i&&this.finishNode(i,"SwitchCase"),e.push(i=this.startNode()),i.consequent=[],this.next(),n?i.test=this.parseExpression():(r&&this.raise(E.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),r=!0,i.test=null),this.expect(14)}else i?i.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),i&&this.finishNode(i,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(t,"SwitchStatement")}parseThrowStatement(t){return this.next(),this.hasPrecedingLineBreak()&&this.raise(E.NewlineAfterThrow,this.state.lastTokEndLoc),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")}parseCatchClauseParam(){let t=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&t.type==="Identifier"?8:0),this.checkLVal(t,{type:"CatchClause"},9),t}parseTryStatement(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.match(62)){let e=this.startNode();this.next(),this.match(10)?(this.expect(10),e.param=this.parseCatchClauseParam(),this.expect(11)):(e.param=null,this.scope.enter(0)),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),t.handler=this.finishNode(e,"CatchClause")}return t.finalizer=this.eat(67)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(E.NoCatchOrFinally,t),this.finishNode(t,"TryStatement")}parseVarStatement(t,e,i=!1){return this.next(),this.parseVar(t,!1,e,i),this.semicolon(),this.finishNode(t,"VariableDeclaration")}parseWhileStatement(t){return this.next(),t.test=this.parseHeaderExpression(),this.state.labels.push(_u),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(t,"WhileStatement")}parseWithStatement(t){return this.state.strict&&this.raise(E.StrictWith,this.state.startLoc),this.next(),t.object=this.parseHeaderExpression(),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(t,"WithStatement")}parseEmptyStatement(t){return this.next(),this.finishNode(t,"EmptyStatement")}parseLabeledStatement(t,e,i,r){for(let a of this.state.labels)a.name===e&&this.raise(E.LabelRedeclaration,i,{labelName:e});let n=$1(this.state.type)?1:this.match(71)?2:null;for(let a=this.state.labels.length-1;a>=0;a--){let o=this.state.labels[a];if(o.statementStart===t.start)o.statementStart=this.sourceToOffsetPos(this.state.start),o.kind=n;else break}return this.state.labels.push({name:e,kind:n,statementStart:this.sourceToOffsetPos(this.state.start)}),t.body=r&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),t.label=i,this.finishNode(t,"LabeledStatement")}parseExpressionStatement(t,e,i){return t.expression=e,this.semicolon(),this.finishNode(t,"ExpressionStatement")}parseBlock(t=!1,e=!0,i){let r=this.startNode();return t&&this.state.strictErrors.clear(),this.expect(5),e&&this.scope.enter(0),this.parseBlockBody(r,t,!1,8,i),e&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(t){return t.type==="ExpressionStatement"&&t.expression.type==="StringLiteral"&&!t.expression.extra.parenthesized}parseBlockBody(t,e,i,r,n){let a=t.body=[],o=t.directives=[];this.parseBlockOrModuleBlockBody(a,e?o:void 0,i,r,n)}parseBlockOrModuleBlockBody(t,e,i,r,n){let a=this.state.strict,o=!1,l=!1;for(;!this.match(r);){let c=i?this.parseModuleItem():this.parseStatementListItem();if(e&&!l){if(this.isValidDirective(c)){let u=this.stmtToDirective(c);e.push(u),!o&&u.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}l=!0,this.state.strictErrors.clear()}t.push(c)}n?.call(this,o),a||this.setStrict(!1),this.next()}parseFor(t,e){return t.init=e,this.semicolon(!1),t.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),t.update=this.match(11)?null:this.parseExpression(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,"ForStatement")}parseForIn(t,e,i){let r=this.match(58);return this.next(),r?i!==null&&this.unexpected(i):t.await=i!==null,e.type==="VariableDeclaration"&&e.declarations[0].init!=null&&(!r||!this.options.annexB||this.state.strict||e.kind!=="var"||e.declarations[0].id.type!=="Identifier")&&this.raise(E.ForInOfLoopInitializer,e,{type:r?"ForInStatement":"ForOfStatement"}),e.type==="AssignmentPattern"&&this.raise(E.InvalidLhs,e,{ancestor:{type:"ForStatement"}}),t.left=e,t.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(t,r?"ForInStatement":"ForOfStatement")}parseVar(t,e,i,r=!1){let n=t.declarations=[];for(t.kind=i;;){let a=this.startNode();if(this.parseVarId(a,i),a.init=this.eat(29)?e?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,a.init===null&&!r&&(a.id.type!=="Identifier"&&!(e&&(this.match(58)||this.isContextual(102)))?this.raise(E.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(i==="const"||i==="using"||i==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(E.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:i})),n.push(this.finishNode(a,"VariableDeclarator")),!this.eat(12))break}return t}parseVarId(t,e){let i=this.parseBindingAtom();e==="using"||e==="await using"?(i.type==="ArrayPattern"||i.type==="ObjectPattern")&&this.raise(E.UsingDeclarationHasBindingPattern,i.loc.start):i.type==="VoidPattern"&&this.raise(E.UnexpectedVoidPattern,i.loc.start),this.checkLVal(i,{type:"VariableDeclarator"},e==="var"?5:8201),t.id=i}parseAsyncFunctionExpression(t){return this.parseFunction(t,8)}parseFunction(t,e=0){let i=e&2,r=!!(e&1),n=r&&!(e&4),a=!!(e&8);this.initFunction(t,a),this.match(55)&&(i&&this.raise(E.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),t.generator=!0),r&&(t.id=this.parseFunctionId(n));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(To(a,t.generator)),r||(t.id=this.parseFunctionId()),this.parseFunctionParams(t,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(t,r?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),r&&!i&&this.registerFunctionStatementId(t),this.state.maybeInArrowParameters=o,t}parseFunctionId(t){return t||Ae(this.state.type)?this.parseIdentifier():null}parseFunctionParams(t,e){this.expect(10),this.expressionScope.enter(E_()),t.params=this.parseBindingList(11,41,2|(e?4:0)),this.expressionScope.exit()}registerFunctionStatementId(t){t.id&&this.scope.declareName(t.id.name,!this.options.annexB||this.state.strict||t.generator||t.async?this.scope.treatFunctionsAsVar?5:8201:17,t.id.loc.start)}parseClass(t,e,i){this.next();let r=this.state.strict;return this.state.strict=!0,this.parseClassId(t,e,i),this.parseClassSuper(t),t.body=this.parseClassBody(!!t.superClass,r),this.finishNode(t,e?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(t){return t.type==="Identifier"&&t.name==="constructor"||t.type==="StringLiteral"&&t.value==="constructor"}isNonstaticConstructor(t){return!t.computed&&!t.static&&this.nameIsConstructor(t.key)}parseClassBody(t,e){this.classScope.enter();let i={hadConstructor:!1,hadSuperClass:t},r=[],n=this.startNode();if(n.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(r.length>0)throw this.raise(E.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){r.push(this.parseDecorator());continue}let a=this.startNode();r.length&&(a.decorators=r,this.resetStartLocationFromNode(a,r[0]),r=[]),this.parseClassMember(n,a,i),a.kind==="constructor"&&a.decorators&&a.decorators.length>0&&this.raise(E.DecoratorConstructor,a)}}),this.state.strict=e,this.next(),r.length)throw this.raise(E.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(t,e){let i=this.parseIdentifier(!0);if(this.isClassMethod()){let r=e;return r.kind="method",r.computed=!1,r.key=i,r.static=!1,this.pushClassMethod(t,r,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let r=e;return r.computed=!1,r.key=i,r.static=!1,t.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(i),!1}parseClassMember(t,e,i){let r=this.isContextual(106);if(r){if(this.parseClassMemberFromModifier(t,e))return;if(this.eat(5)){this.parseClassStaticBlock(t,e);return}}this.parseClassMemberWithIsStatic(t,e,i,r)}parseClassMemberWithIsStatic(t,e,i,r){let n=e,a=e,o=e,l=e,c=e,u=n,p=n;if(e.static=r,this.parsePropertyNamePrefixOperator(e),this.eat(55)){u.kind="method";let y=this.match(139);if(this.parseClassElementName(u),this.parsePostMemberNameModifiers(u),y){this.pushClassPrivateMethod(t,a,!0,!1);return}this.isNonstaticConstructor(n)&&this.raise(E.ConstructorIsGenerator,n.key),this.pushClassMethod(t,n,!0,!1,!1,!1);return}let h=!this.state.containsEsc&&Ae(this.state.type),f=this.parseClassElementName(e),m=h?f.name:null,d=this.isPrivateName(f),A=this.state.startLoc;if(this.parsePostMemberNameModifiers(p),this.isClassMethod()){if(u.kind="method",d){this.pushClassPrivateMethod(t,a,!1,!1);return}let y=this.isNonstaticConstructor(n),S=!1;y&&(n.kind="constructor",i.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(E.DuplicateConstructor,f),y&&this.hasPlugin("typescript")&&e.override&&this.raise(E.OverrideOnConstructor,f),i.hadConstructor=!0,S=i.hadSuperClass),this.pushClassMethod(t,n,!1,!1,y,S)}else if(this.isClassProperty())d?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o);else if(m==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(f);let y=this.eat(55);p.optional&&this.unexpected(A),u.kind="method";let S=this.match(139);this.parseClassElementName(u),this.parsePostMemberNameModifiers(p),S?this.pushClassPrivateMethod(t,a,y,!0):(this.isNonstaticConstructor(n)&&this.raise(E.ConstructorIsAsync,n.key),this.pushClassMethod(t,n,y,!0,!1,!1))}else if((m==="get"||m==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(f),u.kind=m;let y=this.match(139);this.parseClassElementName(n),y?this.pushClassPrivateMethod(t,a,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(E.ConstructorIsAccessor,n.key),this.pushClassMethod(t,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}else if(m==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(f);let y=this.match(139);this.parseClassElementName(o),this.pushClassAccessorProperty(t,c,y)}else this.isLineTerminator()?d?this.pushClassPrivateProperty(t,l):this.pushClassProperty(t,o):this.unexpected()}parseClassElementName(t){let{type:e,value:i}=this.state;if((e===132||e===134)&&t.static&&i==="prototype"&&this.raise(E.StaticPrototype,this.state.startLoc),e===139){i==="constructor"&&this.raise(E.ConstructorClassPrivateField,this.state.startLoc);let r=this.parsePrivateName();return t.key=r,r}return this.parsePropertyName(t),t.key}parseClassStaticBlock(t,e){var i;this.scope.enter(720);let r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let n=e.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,t.body.push(this.finishNode(e,"StaticBlock")),(i=e.decorators)!=null&&i.length&&this.raise(E.DecoratorStaticBlock,e)}pushClassProperty(t,e){!e.computed&&this.nameIsConstructor(e.key)&&this.raise(E.ConstructorClassField,e.key),t.body.push(this.parseClassProperty(e))}pushClassPrivateProperty(t,e){let i=this.parseClassPrivateProperty(e);t.body.push(i),this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),0,i.key.loc.start)}pushClassAccessorProperty(t,e,i){!i&&!e.computed&&this.nameIsConstructor(e.key)&&this.raise(E.ConstructorClassField,e.key);let r=this.parseClassAccessorProperty(e);t.body.push(r),i&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(t,e,i,r,n,a){t.body.push(this.parseMethod(e,i,r,n,a,"ClassMethod",!0))}pushClassPrivateMethod(t,e,i,r){let n=this.parseMethod(e,i,r,!1,!1,"ClassPrivateMethod",!0);t.body.push(n);let a=n.kind==="get"?n.static?6:2:n.kind==="set"?n.static?5:1:0;this.declareClassPrivateMethodInScope(n,a)}declareClassPrivateMethodInScope(t,e){this.classScope.declarePrivateName(this.getPrivateNameSV(t.key),e,t.key.loc.start)}parsePostMemberNameModifiers(t){}parseClassPrivateProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassPrivateProperty")}parseClassProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassProperty")}parseClassAccessorProperty(t){return this.parseInitializer(t),this.semicolon(),this.finishNode(t,"ClassAccessorProperty")}parseInitializer(t){this.scope.enter(592),this.expressionScope.enter(EA()),this.prodParam.enter(0),t.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(t,e,i,r=8331){if(Ae(this.state.type))t.id=this.parseIdentifier(),e&&this.declareNameFromIdentifier(t.id,r);else if(i||!e)t.id=null;else throw this.raise(E.MissingClassName,this.state.startLoc)}parseClassSuper(t){t.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(t,e){let i=this.parseMaybeImportPhase(t,!0),r=this.maybeParseExportDefaultSpecifier(t,i),n=!r||this.eat(12),a=n&&this.eatExportStar(t),o=a&&this.maybeParseExportNamespaceSpecifier(t),l=n&&(!o||this.eat(12)),c=r||a;if(a&&!o){if(r&&this.unexpected(),e)throw this.raise(E.UnsupportedDecoratorExport,t);return this.parseExportFrom(t,!0),this.sawUnambiguousESM=!0,this.finishNode(t,"ExportAllDeclaration")}let u=this.maybeParseExportNamedSpecifiers(t);r&&n&&!a&&!u&&this.unexpected(null,5),o&&l&&this.unexpected(null,98);let p;if(c||u){if(p=!1,e)throw this.raise(E.UnsupportedDecoratorExport,t);this.parseExportFrom(t,c)}else p=this.maybeParseExportDeclaration(t);if(c||u||p){var h;let f=t;if(this.checkExport(f,!0,!1,!!f.source),((h=f.declaration)==null?void 0:h.type)==="ClassDeclaration")this.maybeTakeDecorators(e,f.declaration,f);else if(e)throw this.raise(E.UnsupportedDecoratorExport,t);return this.sawUnambiguousESM=!0,this.finishNode(f,"ExportNamedDeclaration")}if(this.eat(65)){let f=t,m=this.parseExportDefaultExpression();if(f.declaration=m,m.type==="ClassDeclaration")this.maybeTakeDecorators(e,m,f);else if(e)throw this.raise(E.UnsupportedDecoratorExport,t);return this.checkExport(f,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(f,"ExportDefaultDeclaration")}throw this.unexpected(null,5)}eatExportStar(t){return this.eat(55)}maybeParseExportDefaultSpecifier(t,e){if(e||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",e?.loc.start);let i=e||this.parseIdentifier(!0),r=this.startNodeAtNode(i);return r.exported=i,t.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(t){if(this.isContextual(93)){var e,i;(i=(e=t).specifiers)!=null||(e.specifiers=[]);let r=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),r.exported=this.parseModuleExportName(),t.specifiers.push(this.finishNode(r,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(t){if(this.match(5)){let e=t;e.specifiers||(e.specifiers=[]);let i=e.exportKind==="type";return e.specifiers.push(...this.parseExportSpecifiers(i)),e.source=null,this.hasPlugin("importAssertions")?e.assertions=[]:e.attributes=[],e.declaration=null,!0}return!1}maybeParseExportDeclaration(t){return this.shouldParseExportDeclaration()?(t.specifiers=[],t.source=null,this.hasPlugin("importAssertions")?t.assertions=[]:t.attributes=[],t.declaration=this.parseExportDeclaration(t),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let t=this.nextTokenInLineStart();return this.isUnparsedContextual(t,"function")}parseExportDefaultExpression(){let t=this.startNode();if(this.match(68))return this.next(),this.parseFunction(t,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(t,13);if(this.match(80))return this.parseClass(t,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(E.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(E.UnsupportedDefaultExport,this.state.startLoc);let e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}parseExportDeclaration(t){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:t}=this.state;if(Ae(t)){if(t===95&&!this.state.containsEsc||t===100)return!1;if((t===130||t===129)&&!this.state.containsEsc){let r=this.nextTokenStart(),n=this.input.charCodeAt(r);if(n===123||this.chStartsBindingIdentifier(n,r)&&!this.input.startsWith("from",r))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let e=this.nextTokenStart(),i=this.isUnparsedContextual(e,"from");if(this.input.charCodeAt(e)===44||Ae(this.state.type)&&i)return!0;if(this.match(65)&&i){let r=this.input.charCodeAt(this.nextTokenStartSince(e+4));return r===34||r===39}return!1}parseExportFrom(t,e){this.eatContextual(98)?(t.source=this.parseImportSource(),this.checkExport(t),this.maybeParseImportAttributes(t),this.checkJSONModuleImport(t)):e&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:t}=this.state;return t===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(E.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()?(this.raise(E.UsingDeclarationExport,this.state.startLoc),!0):this.isAwaitUsing()?(this.raise(E.UsingDeclarationExport,this.state.startLoc),!0):t===74||t===75||t===68||t===80||this.isLet()||this.isAsyncFunction()}checkExport(t,e,i,r){if(e){var n;if(i){if(this.checkDuplicateExports(t,"default"),this.hasPlugin("exportDefaultFrom")){var a;let o=t.declaration;o.type==="Identifier"&&o.name==="from"&&o.end-o.start===4&&!((a=o.extra)!=null&&a.parenthesized)&&this.raise(E.ExportDefaultFromAsIdentifier,o)}}else if((n=t.specifiers)!=null&&n.length)for(let o of t.specifiers){let{exported:l}=o,c=l.type==="Identifier"?l.name:l.value;if(this.checkDuplicateExports(o,c),!r&&o.local){let{local:u}=o;u.type!=="Identifier"?this.raise(E.ExportBindingIsString,o,{localName:u.value,exportName:c}):(this.checkReservedWord(u.name,u.loc.start,!0,!1),this.scope.checkLocalExport(u))}}else if(t.declaration){let o=t.declaration;if(o.type==="FunctionDeclaration"||o.type==="ClassDeclaration"){let{id:l}=o;if(!l)throw new Error("Assertion failure");this.checkDuplicateExports(t,l.name)}else if(o.type==="VariableDeclaration")for(let l of o.declarations)this.checkDeclaration(l.id)}}}checkDeclaration(t){if(t.type==="Identifier")this.checkDuplicateExports(t,t.name);else if(t.type==="ObjectPattern")for(let e of t.properties)this.checkDeclaration(e);else if(t.type==="ArrayPattern")for(let e of t.elements)e&&this.checkDeclaration(e);else t.type==="ObjectProperty"?this.checkDeclaration(t.value):t.type==="RestElement"?this.checkDeclaration(t.argument):t.type==="AssignmentPattern"&&this.checkDeclaration(t.left)}checkDuplicateExports(t,e){this.exportedIdentifiers.has(e)&&(e==="default"?this.raise(E.DuplicateDefaultExport,t):this.raise(E.DuplicateExport,t,{exportName:e})),this.exportedIdentifiers.add(e)}parseExportSpecifiers(t){let e=[],i=!0;for(this.expect(5);!this.eat(8);){if(i)i=!1;else if(this.expect(12),this.eat(8))break;let r=this.isContextual(130),n=this.match(134),a=this.startNode();a.local=this.parseModuleExportName(),e.push(this.parseExportSpecifier(a,n,t,r))}return e}parseExportSpecifier(t,e,i,r){return this.eatContextual(93)?t.exported=this.parseModuleExportName():e?t.exported=this.cloneStringLiteral(t.local):t.exported||(t.exported=this.cloneIdentifier(t.local)),this.finishNode(t,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let t=this.parseStringLiteral(this.state.value),e=D_.exec(t.value);return e&&this.raise(E.ModuleExportNameHasLoneSurrogate,t,{surrogateCharCode:e[0].charCodeAt(0)}),t}return this.parseIdentifier(!0)}isJSONModuleImport(t){return t.assertions!=null?t.assertions.some(({key:e,value:i})=>i.value==="json"&&(e.type==="Identifier"?e.name==="type":e.value==="type")):!1}checkImportReflection(t){let{specifiers:e}=t,i=e.length===1?e[0].type:null;if(t.phase==="source")i!=="ImportDefaultSpecifier"&&this.raise(E.SourcePhaseImportRequiresDefault,e[0].loc.start);else if(t.phase==="defer")i!=="ImportNamespaceSpecifier"&&this.raise(E.DeferImportRequiresNamespace,e[0].loc.start);else if(t.module){var r;i!=="ImportDefaultSpecifier"&&this.raise(E.ImportReflectionNotBinding,e[0].loc.start),((r=t.assertions)==null?void 0:r.length)>0&&this.raise(E.ImportReflectionHasAssertion,e[0].loc.start)}}checkJSONModuleImport(t){if(this.isJSONModuleImport(t)&&t.type!=="ExportAllDeclaration"){let{specifiers:e}=t;if(e!=null){let i=e.find(r=>{let n;if(r.type==="ExportSpecifier"?n=r.local:r.type==="ImportSpecifier"&&(n=r.imported),n!==void 0)return n.type==="Identifier"?n.name!=="default":n.value!=="default"});i!==void 0&&this.raise(E.ImportJSONBindingNotDefault,i.loc.start)}}}isPotentialImportPhase(t){return t?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(t,e,i,r){e||(i==="module"?(this.expectPlugin("importReflection",r),t.module=!0):this.hasPlugin("importReflection")&&(t.module=!1),i==="source"?(this.expectPlugin("sourcePhaseImports",r),t.phase="source"):i==="defer"?(this.expectPlugin("deferredImportEvaluation",r),t.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(t.phase=null))}parseMaybeImportPhase(t,e){if(!this.isPotentialImportPhase(e))return this.applyImportPhase(t,e,null),null;let i=this.startNode(),r=this.parseIdentifierName(!0),{type:n}=this.state;return(Ss(n)?n!==98||this.lookaheadCharCode()===102:n!==12)?(this.applyImportPhase(t,e,r,i.loc.start),null):(this.applyImportPhase(t,e,null),this.createIdentifier(i,r))}isPrecedingIdImportPhase(t){let{type:e}=this.state;return Ae(e)?e!==98||this.lookaheadCharCode()===102:e!==12}parseImport(t){return this.match(134)?this.parseImportSourceAndAttributes(t):this.parseImportSpecifiersAndAfter(t,this.parseMaybeImportPhase(t,!1))}parseImportSpecifiersAndAfter(t,e){t.specifiers=[];let r=!this.maybeParseDefaultImportSpecifier(t,e)||this.eat(12),n=r&&this.maybeParseStarImportSpecifier(t);return r&&!n&&this.parseNamedImportSpecifiers(t),this.expectContextual(98),this.parseImportSourceAndAttributes(t)}parseImportSourceAndAttributes(t){var e;return(e=t.specifiers)!=null||(t.specifiers=[]),t.source=this.parseImportSource(),this.maybeParseImportAttributes(t),this.checkImportReflection(t),this.checkJSONModuleImport(t),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(t,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(t,e,i){e.local=this.parseIdentifier(),t.specifiers.push(this.finishImportSpecifier(e,i))}finishImportSpecifier(t,e,i=8201){return this.checkLVal(t.local,{type:e},i),this.finishNode(t,e)}parseImportAttributes(){this.expect(5);let t=[],e=new Set;do{if(this.match(8))break;let i=this.startNode(),r=this.state.value;if(e.has(r)&&this.raise(E.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),e.add(r),this.match(134)?i.key=this.parseStringLiteral(r):i.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(E.ModuleAttributeInvalidValue,this.state.startLoc);i.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(12));return this.expect(8),t}parseModuleAttributes(){let t=[],e=new Set;do{let i=this.startNode();if(i.key=this.parseIdentifier(!0),i.key.name!=="type"&&this.raise(E.ModuleAttributeDifferentFromType,i.key),e.has(i.key.name)&&this.raise(E.ModuleAttributesWithDuplicateKeys,i.key,{key:i.key.name}),e.add(i.key.name),this.expect(14),!this.match(134))throw this.raise(E.ModuleAttributeInvalidValue,this.state.startLoc);i.value=this.parseStringLiteral(this.state.value),t.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(12));return t}maybeParseImportAttributes(t){let e;var i=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?(e=this.parseModuleAttributes(),this.addExtra(t,"deprecatedWithLegacySyntax",!0)):e=this.parseImportAttributes(),i=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions")&&this.raise(E.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(t,"deprecatedAssertSyntax",!0),this.next(),e=this.parseImportAttributes()):e=[];!i&&this.hasPlugin("importAssertions")?t.assertions=e:t.attributes=e}maybeParseDefaultImportSpecifier(t,e){if(e){let i=this.startNodeAtNode(e);return i.local=e,t.specifiers.push(this.finishImportSpecifier(i,"ImportDefaultSpecifier")),!0}else if(Ss(this.state.type))return this.parseImportSpecifierLocal(t,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(t){if(this.match(55)){let e=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(t,e,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(t){let e=!0;for(this.expect(5);!this.eat(8);){if(e)e=!1;else{if(this.eat(14))throw this.raise(E.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let i=this.startNode(),r=this.match(134),n=this.isContextual(130);i.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(i,r,t.importKind==="type"||t.importKind==="typeof",n,void 0);t.specifiers.push(a)}}parseImportSpecifier(t,e,i,r,n){if(this.eatContextual(93))t.local=this.parseIdentifier();else{let{imported:a}=t;if(e)throw this.raise(E.ImportBindingIsString,t,{importName:a.value});this.checkReservedWord(a.name,t.loc.start,!0,!0),t.local||(t.local=this.cloneIdentifier(a))}return this.finishImportSpecifier(t,"ImportSpecifier",n)}isThisParam(t){return t.type==="Identifier"&&t.name==="this"}},Po=class extends Xu{constructor(t,e,i){let r=M1(t);super(r,e),this.options=r,this.initializeScopes(),this.plugins=i,this.filename=r.sourceFilename,this.startIndex=r.startIndex;let n=0;r.allowAwaitOutsideFunction&&(n|=1),r.allowReturnOutsideFunction&&(n|=2),r.allowImportExportEverywhere&&(n|=8),r.allowSuperOutsideMethod&&(n|=16),r.allowUndeclaredExports&&(n|=64),r.allowNewTargetOutsideFunction&&(n|=4),r.allowYieldOutsideFunction&&(n|=32),r.ranges&&(n|=128),r.tokens&&(n|=256),r.createImportExpressions&&(n|=512),r.createParenthesizedExpressions&&(n|=1024),r.errorRecovery&&(n|=2048),r.attachComment&&(n|=4096),r.annexB&&(n|=8192),this.optionFlags=n}getScopeHandler(){return Jn}parse(){this.enterInitialScopes();let t=this.startNode(),e=this.startNode();this.nextToken(),t.errors=null;let i=this.parseTopLevel(t,e);return i.errors=this.state.errors,i.comments.length=this.state.commentsLen,i}};function k_(s,t){var e;if(((e=t)==null?void 0:e.sourceType)==="unambiguous"){t=Object.assign({},t);try{t.sourceType="module";let i=Xn(t,s),r=i.parse();if(i.sawUnambiguousESM)return r;if(i.ambiguousScriptDifferentAst)try{return t.sourceType="script",Xn(t,s).parse()}catch{}else r.program.sourceType="script";return r}catch(i){try{return t.sourceType="script",Xn(t,s).parse()}catch{}throw i}}else return Xn(t,s).parse()}function B_(s,t){let e=Xn(t,s);return e.options.strictMode&&(e.state.strict=!0),e.getExpression()}function F_(s){let t={};for(let e of Object.keys(s))t[e]=si(s[e]);return t}var V_=F_(B1);function Xn(s,t){let e=Po,i=new Map;if(s!=null&&s.plugins){for(let r of s.plugins){let n,a;typeof r=="string"?n=r:[n,a]=r,i.has(n)||i.set(n,a||{})}w_(i),e=U_(i)}return new e(s,t,i)}var lA=new Map;function U_(s){let t=[];for(let r of L_)s.has(r)&&t.push(r);let e=t.join("|"),i=lA.get(e);if(!i){i=Po;for(let r of t)i=TA[r](i);lA.set(e,i)}return i}zn.parse=k_;zn.parseExpression=B_;zn.tokTypes=V_});var rp=D((No,CA)=>{(function(s,t){typeof No=="object"&&typeof CA<"u"?t(No):typeof define=="function"&&define.amd?define(["exports"],t):(s=s||self,t(s.estreeWalker={}))})(No,(function(s){"use strict";class t{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:o=>this.replacement=o}}replace(o,l,c,u){o&&(c!==null?o[l][c]=u:o[l]=u)}remove(o,l,c){o&&(c!==null?o[l].splice(c,1):delete o[l])}}class e extends t{constructor(o,l){super(),this.enter=o,this.leave=l}visit(o,l,c,u){if(o){if(this.enter){let p=this.should_skip,h=this.should_remove,f=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,o,l,c,u),this.replacement&&(o=this.replacement,this.replace(l,c,u,o)),this.should_remove&&this.remove(l,c,u);let m=this.should_skip,d=this.should_remove;if(this.should_skip=p,this.should_remove=h,this.replacement=f,m)return o;if(d)return null}for(let p in o){let h=o[p];if(typeof h=="object")if(Array.isArray(h))for(let f=0;f<h.length;f+=1)h[f]!==null&&typeof h[f].type=="string"&&(this.visit(h[f],o,p,f)||f--);else h!==null&&typeof h.type=="string"&&this.visit(h,o,p,null)}if(this.leave){let p=this.replacement,h=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,o,l,c,u),this.replacement&&(o=this.replacement,this.replace(l,c,u,o)),this.should_remove&&this.remove(l,c,u);let f=this.should_remove;if(this.replacement=p,this.should_remove=h,f)return null}}return o}}class i extends t{constructor(o,l){super(),this.enter=o,this.leave=l}async visit(o,l,c,u){if(o){if(this.enter){let p=this.should_skip,h=this.should_remove,f=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,await this.enter.call(this.context,o,l,c,u),this.replacement&&(o=this.replacement,this.replace(l,c,u,o)),this.should_remove&&this.remove(l,c,u);let m=this.should_skip,d=this.should_remove;if(this.should_skip=p,this.should_remove=h,this.replacement=f,m)return o;if(d)return null}for(let p in o){let h=o[p];if(typeof h=="object")if(Array.isArray(h))for(let f=0;f<h.length;f+=1)h[f]!==null&&typeof h[f].type=="string"&&(await this.visit(h[f],o,p,f)||f--);else h!==null&&typeof h.type=="string"&&await this.visit(h,o,p,null)}if(this.leave){let p=this.replacement,h=this.should_remove;this.replacement=null,this.should_remove=!1,await this.leave.call(this.context,o,l,c,u),this.replacement&&(o=this.replacement,this.replace(l,c,u,o)),this.should_remove&&this.remove(l,c,u);let f=this.should_remove;if(this.replacement=p,this.should_remove=h,f)return null}}return o}}function r(a,{enter:o,leave:l}){return new e(o,l).visit(a,null)}async function n(a,{enter:o,leave:l}){return await new i(o,l).visit(a,null)}s.asyncWalk=n,s.walk=r,Object.defineProperty(s,"__esModule",{value:!0})}))});var _A=D(np=>{var IA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");np.encode=function(s){if(0<=s&&s<IA.length)return IA[s];throw new TypeError("Must be between 0 and 63: "+s)};np.decode=function(s){var t=65,e=90,i=97,r=122,n=48,a=57,o=43,l=47,c=26,u=52;return t<=s&&s<=e?s-t:i<=s&&s<=r?s-i+c:n<=s&&s<=a?s-n+u:s==o?62:s==l?63:-1}});var lp=D(op=>{var PA=_A(),ap=5,NA=1<<ap,xA=NA-1,vA=NA;function $_(s){return s<0?(-s<<1)+1:(s<<1)+0}function j_(s){var t=(s&1)===1,e=s>>1;return t?-e:e}op.encode=function(t){var e="",i,r=$_(t);do i=r&xA,r>>>=ap,r>0&&(i|=vA),e+=PA.encode(i);while(r>0);return e};op.decode=function(t,e,i){var r=t.length,n=0,a=0,o,l;do{if(e>=r)throw new Error("Expected more digits in base 64 VLQ value.");if(l=PA.decode(t.charCodeAt(e++)),l===-1)throw new Error("Invalid base64 digit: "+t.charAt(e-1));o=!!(l&vA),l&=xA,n=n+(l<<a),a+=ap}while(o);i.value=j_(n),i.rest=e}});var Qr=D(ct=>{function H_(s,t,e){if(t in s)return s[t];if(arguments.length===3)return e;throw new Error('"'+t+'" is a required argument.')}ct.getArg=H_;var OA=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,K_=/^data:.+\,.+$/;function Zn(s){var t=s.match(OA);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}ct.urlParse=Zn;function qr(s){var t="";return s.scheme&&(t+=s.scheme+":"),t+="//",s.auth&&(t+=s.auth+"@"),s.host&&(t+=s.host),s.port&&(t+=":"+s.port),s.path&&(t+=s.path),t}ct.urlGenerate=qr;var G_=32;function W_(s){var t=[];return function(e){for(var i=0;i<t.length;i++)if(t[i].input===e){var r=t[0];return t[0]=t[i],t[i]=r,t[0].result}var n=s(e);return t.unshift({input:e,result:n}),t.length>G_&&t.pop(),n}}var cp=W_(function(t){var e=t,i=Zn(t);if(i){if(!i.path)return t;e=i.path}for(var r=ct.isAbsolute(e),n=[],a=0,o=0;;)if(a=o,o=e.indexOf("/",a),o===-1){n.push(e.slice(a));break}else for(n.push(e.slice(a,o));o<e.length&&e[o]==="/";)o++;for(var l,c=0,o=n.length-1;o>=0;o--)l=n[o],l==="."?n.splice(o,1):l===".."?c++:c>0&&(l===""?(n.splice(o+1,c),c=0):(n.splice(o,2),c--));return e=n.join("/"),e===""&&(e=r?"/":"."),i?(i.path=e,qr(i)):e});ct.normalize=cp;function wA(s,t){s===""&&(s="."),t===""&&(t=".");var e=Zn(t),i=Zn(s);if(i&&(s=i.path||"/"),e&&!e.scheme)return i&&(e.scheme=i.scheme),qr(e);if(e||t.match(K_))return t;if(i&&!i.host&&!i.path)return i.host=t,qr(i);var r=t.charAt(0)==="/"?t:cp(s.replace(/\/+$/,"")+"/"+t);return i?(i.path=r,qr(i)):r}ct.join=wA;ct.isAbsolute=function(s){return s.charAt(0)==="/"||OA.test(s)};function X_(s,t){s===""&&(s="."),s=s.replace(/\/$/,"");for(var e=0;t.indexOf(s+"/")!==0;){var i=s.lastIndexOf("/");if(i<0||(s=s.slice(0,i),s.match(/^([^\/]+:\/)?\/*$/)))return t;++e}return Array(e+1).join("../")+t.substr(s.length+1)}ct.relative=X_;var LA=(function(){var s=Object.create(null);return!("__proto__"in s)})();function MA(s){return s}function q_(s){return DA(s)?"$"+s:s}ct.toSetString=LA?MA:q_;function Q_(s){return DA(s)?s.slice(1):s}ct.fromSetString=LA?MA:Q_;function DA(s){if(!s)return!1;var t=s.length;if(t<9||s.charCodeAt(t-1)!==95||s.charCodeAt(t-2)!==95||s.charCodeAt(t-3)!==111||s.charCodeAt(t-4)!==116||s.charCodeAt(t-5)!==111||s.charCodeAt(t-6)!==114||s.charCodeAt(t-7)!==112||s.charCodeAt(t-8)!==95||s.charCodeAt(t-9)!==95)return!1;for(var e=t-10;e>=0;e--)if(s.charCodeAt(e)!==36)return!1;return!0}function J_(s,t,e){var i=ri(s.source,t.source);return i!==0||(i=s.originalLine-t.originalLine,i!==0)||(i=s.originalColumn-t.originalColumn,i!==0||e)||(i=s.generatedColumn-t.generatedColumn,i!==0)||(i=s.generatedLine-t.generatedLine,i!==0)?i:ri(s.name,t.name)}ct.compareByOriginalPositions=J_;function Y_(s,t,e){var i;return i=s.originalLine-t.originalLine,i!==0||(i=s.originalColumn-t.originalColumn,i!==0||e)||(i=s.generatedColumn-t.generatedColumn,i!==0)||(i=s.generatedLine-t.generatedLine,i!==0)?i:ri(s.name,t.name)}ct.compareByOriginalPositionsNoSource=Y_;function z_(s,t,e){var i=s.generatedLine-t.generatedLine;return i!==0||(i=s.generatedColumn-t.generatedColumn,i!==0||e)||(i=ri(s.source,t.source),i!==0)||(i=s.originalLine-t.originalLine,i!==0)||(i=s.originalColumn-t.originalColumn,i!==0)?i:ri(s.name,t.name)}ct.compareByGeneratedPositionsDeflated=z_;function Z_(s,t,e){var i=s.generatedColumn-t.generatedColumn;return i!==0||e||(i=ri(s.source,t.source),i!==0)||(i=s.originalLine-t.originalLine,i!==0)||(i=s.originalColumn-t.originalColumn,i!==0)?i:ri(s.name,t.name)}ct.compareByGeneratedPositionsDeflatedNoLine=Z_;function ri(s,t){return s===t?0:s===null?1:t===null?-1:s>t?1:-1}function eP(s,t){var e=s.generatedLine-t.generatedLine;return e!==0||(e=s.generatedColumn-t.generatedColumn,e!==0)||(e=ri(s.source,t.source),e!==0)||(e=s.originalLine-t.originalLine,e!==0)||(e=s.originalColumn-t.originalColumn,e!==0)?e:ri(s.name,t.name)}ct.compareByGeneratedPositionsInflated=eP;function tP(s){return JSON.parse(s.replace(/^\)]}'[^\n]*\n/,""))}ct.parseSourceMapInput=tP;function sP(s,t,e){if(t=t||"",s&&(s[s.length-1]!=="/"&&t[0]!=="/"&&(s+="/"),t=s+t),e){var i=Zn(e);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var r=i.path.lastIndexOf("/");r>=0&&(i.path=i.path.substring(0,r+1))}t=wA(qr(i),t)}return cp(t)}ct.computeSourceURL=sP});var hp=D(RA=>{var up=Qr(),pp=Object.prototype.hasOwnProperty,lr=typeof Map<"u";function ni(){this._array=[],this._set=lr?new Map:Object.create(null)}ni.fromArray=function(t,e){for(var i=new ni,r=0,n=t.length;r<n;r++)i.add(t[r],e);return i};ni.prototype.size=function(){return lr?this._set.size:Object.getOwnPropertyNames(this._set).length};ni.prototype.add=function(t,e){var i=lr?t:up.toSetString(t),r=lr?this.has(t):pp.call(this._set,i),n=this._array.length;(!r||e)&&this._array.push(t),r||(lr?this._set.set(t,n):this._set[i]=n)};ni.prototype.has=function(t){if(lr)return this._set.has(t);var e=up.toSetString(t);return pp.call(this._set,e)};ni.prototype.indexOf=function(t){if(lr){var e=this._set.get(t);if(e>=0)return e}else{var i=up.toSetString(t);if(pp.call(this._set,i))return this._set[i]}throw new Error('"'+t+'" is not in the set.')};ni.prototype.at=function(t){if(t>=0&&t<this._array.length)return this._array[t];throw new Error("No element indexed by "+t)};ni.prototype.toArray=function(){return this._array.slice()};RA.ArraySet=ni});var FA=D(BA=>{var kA=Qr();function iP(s,t){var e=s.generatedLine,i=t.generatedLine,r=s.generatedColumn,n=t.generatedColumn;return i>e||i==e&&n>=r||kA.compareByGeneratedPositionsInflated(s,t)<=0}function xo(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}xo.prototype.unsortedForEach=function(t,e){this._array.forEach(t,e)};xo.prototype.add=function(t){iP(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};xo.prototype.toArray=function(){return this._sorted||(this._array.sort(kA.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};BA.MappingList=xo});var fp=D(VA=>{var ea=lp(),qe=Qr(),vo=hp().ArraySet,rP=FA().MappingList;function hs(s){s||(s={}),this._file=qe.getArg(s,"file",null),this._sourceRoot=qe.getArg(s,"sourceRoot",null),this._skipValidation=qe.getArg(s,"skipValidation",!1),this._ignoreInvalidMapping=qe.getArg(s,"ignoreInvalidMapping",!1),this._sources=new vo,this._names=new vo,this._mappings=new rP,this._sourcesContents=null}hs.prototype._version=3;hs.fromSourceMap=function(t,e){var i=t.sourceRoot,r=new hs(Object.assign(e||{},{file:t.file,sourceRoot:i}));return t.eachMapping(function(n){var a={generated:{line:n.generatedLine,column:n.generatedColumn}};n.source!=null&&(a.source=n.source,i!=null&&(a.source=qe.relative(i,a.source)),a.original={line:n.originalLine,column:n.originalColumn},n.name!=null&&(a.name=n.name)),r.addMapping(a)}),t.sources.forEach(function(n){var a=n;i!==null&&(a=qe.relative(i,n)),r._sources.has(a)||r._sources.add(a);var o=t.sourceContentFor(n);o!=null&&r.setSourceContent(n,o)}),r};hs.prototype.addMapping=function(t){var e=qe.getArg(t,"generated"),i=qe.getArg(t,"original",null),r=qe.getArg(t,"source",null),n=qe.getArg(t,"name",null);!this._skipValidation&&this._validateMapping(e,i,r,n)===!1||(r!=null&&(r=String(r),this._sources.has(r)||this._sources.add(r)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:e.line,generatedColumn:e.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:r,name:n}))};hs.prototype.setSourceContent=function(t,e){var i=t;this._sourceRoot!=null&&(i=qe.relative(this._sourceRoot,i)),e!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[qe.toSetString(i)]=e):this._sourcesContents&&(delete this._sourcesContents[qe.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};hs.prototype.applySourceMap=function(t,e,i){var r=e;if(e==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);r=t.file}var n=this._sourceRoot;n!=null&&(r=qe.relative(n,r));var a=new vo,o=new vo;this._mappings.unsortedForEach(function(l){if(l.source===r&&l.originalLine!=null){var c=t.originalPositionFor({line:l.originalLine,column:l.originalColumn});c.source!=null&&(l.source=c.source,i!=null&&(l.source=qe.join(i,l.source)),n!=null&&(l.source=qe.relative(n,l.source)),l.originalLine=c.line,l.originalColumn=c.column,c.name!=null&&(l.name=c.name))}var u=l.source;u!=null&&!a.has(u)&&a.add(u);var p=l.name;p!=null&&!o.has(p)&&o.add(p)},this),this._sources=a,this._names=o,t.sources.forEach(function(l){var c=t.sourceContentFor(l);c!=null&&(i!=null&&(l=qe.join(i,l)),n!=null&&(l=qe.relative(n,l)),this.setSourceContent(l,c))},this)};hs.prototype._validateMapping=function(t,e,i,r){if(e&&typeof e.line!="number"&&typeof e.column!="number"){var n="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(n),!1;throw new Error(n)}if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!e&&!i&&!r)){if(t&&"line"in t&&"column"in t&&e&&"line"in e&&"column"in e&&t.line>0&&t.column>=0&&e.line>0&&e.column>=0&&i)return;var n="Invalid mapping: "+JSON.stringify({generated:t,source:i,original:e,name:r});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(n),!1;throw new Error(n)}};hs.prototype._serializeMappings=function(){for(var t=0,e=1,i=0,r=0,n=0,a=0,o="",l,c,u,p,h=this._mappings.toArray(),f=0,m=h.length;f<m;f++){if(c=h[f],l="",c.generatedLine!==e)for(t=0;c.generatedLine!==e;)l+=";",e++;else if(f>0){if(!qe.compareByGeneratedPositionsInflated(c,h[f-1]))continue;l+=","}l+=ea.encode(c.generatedColumn-t),t=c.generatedColumn,c.source!=null&&(p=this._sources.indexOf(c.source),l+=ea.encode(p-a),a=p,l+=ea.encode(c.originalLine-1-r),r=c.originalLine-1,l+=ea.encode(c.originalColumn-i),i=c.originalColumn,c.name!=null&&(u=this._names.indexOf(c.name),l+=ea.encode(u-n),n=u)),o+=l}return o};hs.prototype._generateSourcesContent=function(t,e){return t.map(function(i){if(!this._sourcesContents)return null;e!=null&&(i=qe.relative(e,i));var r=qe.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)};hs.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};hs.prototype.toString=function(){return JSON.stringify(this.toJSON())};VA.SourceMapGenerator=hs});var UA=D(cr=>{cr.GREATEST_LOWER_BOUND=1;cr.LEAST_UPPER_BOUND=2;function dp(s,t,e,i,r,n){var a=Math.floor((t-s)/2)+s,o=r(e,i[a],!0);return o===0?a:o>0?t-a>1?dp(a,t,e,i,r,n):n==cr.LEAST_UPPER_BOUND?t<i.length?t:-1:a:a-s>1?dp(s,a,e,i,r,n):n==cr.LEAST_UPPER_BOUND?a:s<0?-1:s}cr.search=function(t,e,i,r){if(e.length===0)return-1;var n=dp(-1,e.length,t,e,i,r||cr.GREATEST_LOWER_BOUND);if(n<0)return-1;for(;n-1>=0&&i(e[n],e[n-1],!0)===0;)--n;return n}});var HA=D(jA=>{function nP(s){function t(r,n,a){var o=r[n];r[n]=r[a],r[a]=o}function e(r,n){return Math.round(r+Math.random()*(n-r))}function i(r,n,a,o){if(a<o){var l=e(a,o),c=a-1;t(r,l,o);for(var u=r[o],p=a;p<o;p++)n(r[p],u,!1)<=0&&(c+=1,t(r,c,p));t(r,c+1,p);var h=c+1;i(r,n,a,h-1),i(r,n,h+1,o)}}return i}function aP(s){let t=nP.toString();return new Function(`return ${t}`)()(s)}var $A=new WeakMap;jA.quickSort=function(s,t,e=0){let i=$A.get(t);i===void 0&&(i=aP(t),$A.set(t,i)),i(s,t,e,s.length-1)}});var WA=D(Oo=>{var G=Qr(),Ap=UA(),Jr=hp().ArraySet,oP=lp(),ta=HA().quickSort;function Oe(s,t){var e=s;return typeof s=="string"&&(e=G.parseSourceMapInput(s)),e.sections!=null?new bs(e,t):new dt(e,t)}Oe.fromSourceMap=function(s,t){return dt.fromSourceMap(s,t)};Oe.prototype._version=3;Oe.prototype.__generatedMappings=null;Object.defineProperty(Oe.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});Oe.prototype.__originalMappings=null;Object.defineProperty(Oe.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});Oe.prototype._charIsMappingSeparator=function(t,e){var i=t.charAt(e);return i===";"||i===","};Oe.prototype._parseMappings=function(t,e){throw new Error("Subclasses must implement _parseMappings")};Oe.GENERATED_ORDER=1;Oe.ORIGINAL_ORDER=2;Oe.GREATEST_LOWER_BOUND=1;Oe.LEAST_UPPER_BOUND=2;Oe.prototype.eachMapping=function(t,e,i){var r=e||null,n=i||Oe.GENERATED_ORDER,a;switch(n){case Oe.GENERATED_ORDER:a=this._generatedMappings;break;case Oe.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var o=this.sourceRoot,l=t.bind(r),c=this._names,u=this._sources,p=this._sourceMapURL,h=0,f=a.length;h<f;h++){var m=a[h],d=m.source===null?null:u.at(m.source);d!==null&&(d=G.computeSourceURL(o,d,p)),l({source:d,generatedLine:m.generatedLine,generatedColumn:m.generatedColumn,originalLine:m.originalLine,originalColumn:m.originalColumn,name:m.name===null?null:c.at(m.name)})}};Oe.prototype.allGeneratedPositionsFor=function(t){var e=G.getArg(t,"line"),i={source:G.getArg(t,"source"),originalLine:e,originalColumn:G.getArg(t,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var r=[],n=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",G.compareByOriginalPositions,Ap.LEAST_UPPER_BOUND);if(n>=0){var a=this._originalMappings[n];if(t.column===void 0)for(var o=a.originalLine;a&&a.originalLine===o;)r.push({line:G.getArg(a,"generatedLine",null),column:G.getArg(a,"generatedColumn",null),lastColumn:G.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n];else for(var l=a.originalColumn;a&&a.originalLine===e&&a.originalColumn==l;)r.push({line:G.getArg(a,"generatedLine",null),column:G.getArg(a,"generatedColumn",null),lastColumn:G.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n]}return r};Oo.SourceMapConsumer=Oe;function dt(s,t){var e=s;typeof s=="string"&&(e=G.parseSourceMapInput(s));var i=G.getArg(e,"version"),r=G.getArg(e,"sources"),n=G.getArg(e,"names",[]),a=G.getArg(e,"sourceRoot",null),o=G.getArg(e,"sourcesContent",null),l=G.getArg(e,"mappings"),c=G.getArg(e,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);a&&(a=G.normalize(a)),r=r.map(String).map(G.normalize).map(function(u){return a&&G.isAbsolute(a)&&G.isAbsolute(u)?G.relative(a,u):u}),this._names=Jr.fromArray(n.map(String),!0),this._sources=Jr.fromArray(r,!0),this._absoluteSources=this._sources.toArray().map(function(u){return G.computeSourceURL(a,u,t)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=l,this._sourceMapURL=t,this.file=c}dt.prototype=Object.create(Oe.prototype);dt.prototype.consumer=Oe;dt.prototype._findSourceIndex=function(s){var t=s;if(this.sourceRoot!=null&&(t=G.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var e;for(e=0;e<this._absoluteSources.length;++e)if(this._absoluteSources[e]==s)return e;return-1};dt.fromSourceMap=function(t,e){var i=Object.create(dt.prototype),r=i._names=Jr.fromArray(t._names.toArray(),!0),n=i._sources=Jr.fromArray(t._sources.toArray(),!0);i.sourceRoot=t._sourceRoot,i.sourcesContent=t._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=t._file,i._sourceMapURL=e,i._absoluteSources=i._sources.toArray().map(function(f){return G.computeSourceURL(i.sourceRoot,f,e)});for(var a=t._mappings.toArray().slice(),o=i.__generatedMappings=[],l=i.__originalMappings=[],c=0,u=a.length;c<u;c++){var p=a[c],h=new GA;h.generatedLine=p.generatedLine,h.generatedColumn=p.generatedColumn,p.source&&(h.source=n.indexOf(p.source),h.originalLine=p.originalLine,h.originalColumn=p.originalColumn,p.name&&(h.name=r.indexOf(p.name)),l.push(h)),o.push(h)}return ta(i.__originalMappings,G.compareByOriginalPositions),i};dt.prototype._version=3;Object.defineProperty(dt.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function GA(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var mp=G.compareByGeneratedPositionsDeflatedNoLine;function KA(s,t){let e=s.length,i=s.length-t;if(!(i<=1))if(i==2){let r=s[t],n=s[t+1];mp(r,n)>0&&(s[t]=n,s[t+1]=r)}else if(i<20)for(let r=t;r<e;r++)for(let n=r;n>t;n--){let a=s[n-1],o=s[n];if(mp(a,o)<=0)break;s[n-1]=o,s[n]=a}else ta(s,mp,t)}dt.prototype._parseMappings=function(t,e){var i=1,r=0,n=0,a=0,o=0,l=0,c=t.length,u=0,p={},h={},f=[],m=[],d,A,y,S,P;let x=0;for(;u<c;)if(t.charAt(u)===";")i++,u++,r=0,KA(m,x),x=m.length;else if(t.charAt(u)===",")u++;else{for(d=new GA,d.generatedLine=i,S=u;S<c&&!this._charIsMappingSeparator(t,S);S++);for(A=t.slice(u,S),y=[];u<S;)oP.decode(t,u,h),P=h.value,u=h.rest,y.push(P);if(y.length===2)throw new Error("Found a source, but no line and column");if(y.length===3)throw new Error("Found a source and line, but no column");if(d.generatedColumn=r+y[0],r=d.generatedColumn,y.length>1&&(d.source=o+y[1],o+=y[1],d.originalLine=n+y[2],n=d.originalLine,d.originalLine+=1,d.originalColumn=a+y[3],a=d.originalColumn,y.length>4&&(d.name=l+y[4],l+=y[4])),m.push(d),typeof d.originalLine=="number"){let L=d.source;for(;f.length<=L;)f.push(null);f[L]===null&&(f[L]=[]),f[L].push(d)}}KA(m,x),this.__generatedMappings=m;for(var v=0;v<f.length;v++)f[v]!=null&&ta(f[v],G.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...f)};dt.prototype._findMapping=function(t,e,i,r,n,a){if(t[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+t[i]);if(t[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+t[r]);return Ap.search(t,e,n,a)};dt.prototype.computeColumnSpans=function(){for(var t=0;t<this._generatedMappings.length;++t){var e=this._generatedMappings[t];if(t+1<this._generatedMappings.length){var i=this._generatedMappings[t+1];if(e.generatedLine===i.generatedLine){e.lastGeneratedColumn=i.generatedColumn-1;continue}}e.lastGeneratedColumn=1/0}};dt.prototype.originalPositionFor=function(t){var e={generatedLine:G.getArg(t,"line"),generatedColumn:G.getArg(t,"column")},i=this._findMapping(e,this._generatedMappings,"generatedLine","generatedColumn",G.compareByGeneratedPositionsDeflated,G.getArg(t,"bias",Oe.GREATEST_LOWER_BOUND));if(i>=0){var r=this._generatedMappings[i];if(r.generatedLine===e.generatedLine){var n=G.getArg(r,"source",null);n!==null&&(n=this._sources.at(n),n=G.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var a=G.getArg(r,"name",null);return a!==null&&(a=this._names.at(a)),{source:n,line:G.getArg(r,"originalLine",null),column:G.getArg(r,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};dt.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};dt.prototype.sourceContentFor=function(t,e){if(!this.sourcesContent)return null;var i=this._findSourceIndex(t);if(i>=0)return this.sourcesContent[i];var r=t;this.sourceRoot!=null&&(r=G.relative(this.sourceRoot,r));var n;if(this.sourceRoot!=null&&(n=G.urlParse(this.sourceRoot))){var a=r.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!n.path||n.path=="/")&&this._sources.has("/"+r))return this.sourcesContent[this._sources.indexOf("/"+r)]}if(e)return null;throw new Error('"'+r+'" is not in the SourceMap.')};dt.prototype.generatedPositionFor=function(t){var e=G.getArg(t,"source");if(e=this._findSourceIndex(e),e<0)return{line:null,column:null,lastColumn:null};var i={source:e,originalLine:G.getArg(t,"line"),originalColumn:G.getArg(t,"column")},r=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",G.compareByOriginalPositions,G.getArg(t,"bias",Oe.GREATEST_LOWER_BOUND));if(r>=0){var n=this._originalMappings[r];if(n.source===i.source)return{line:G.getArg(n,"generatedLine",null),column:G.getArg(n,"generatedColumn",null),lastColumn:G.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Oo.BasicSourceMapConsumer=dt;function bs(s,t){var e=s;typeof s=="string"&&(e=G.parseSourceMapInput(s));var i=G.getArg(e,"version"),r=G.getArg(e,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new Jr,this._names=new Jr;var n={line:-1,column:0};this._sections=r.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var o=G.getArg(a,"offset"),l=G.getArg(o,"line"),c=G.getArg(o,"column");if(l<n.line||l===n.line&&c<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=o,{generatedOffset:{generatedLine:l+1,generatedColumn:c+1},consumer:new Oe(G.getArg(a,"map"),t)}})}bs.prototype=Object.create(Oe.prototype);bs.prototype.constructor=Oe;bs.prototype._version=3;Object.defineProperty(bs.prototype,"sources",{get:function(){for(var s=[],t=0;t<this._sections.length;t++)for(var e=0;e<this._sections[t].consumer.sources.length;e++)s.push(this._sections[t].consumer.sources[e]);return s}});bs.prototype.originalPositionFor=function(t){var e={generatedLine:G.getArg(t,"line"),generatedColumn:G.getArg(t,"column")},i=Ap.search(e,this._sections,function(n,a){var o=n.generatedLine-a.generatedOffset.generatedLine;return o||n.generatedColumn-a.generatedOffset.generatedColumn}),r=this._sections[i];return r?r.consumer.originalPositionFor({line:e.generatedLine-(r.generatedOffset.generatedLine-1),column:e.generatedColumn-(r.generatedOffset.generatedLine===e.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:t.bias}):{source:null,line:null,column:null,name:null}};bs.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(t){return t.consumer.hasContentsOfAllSources()})};bs.prototype.sourceContentFor=function(t,e){for(var i=0;i<this._sections.length;i++){var r=this._sections[i],n=r.consumer.sourceContentFor(t,!0);if(n||n==="")return n}if(e)return null;throw new Error('"'+t+'" is not in the SourceMap.')};bs.prototype.generatedPositionFor=function(t){for(var e=0;e<this._sections.length;e++){var i=this._sections[e];if(i.consumer._findSourceIndex(G.getArg(t,"source"))!==-1){var r=i.consumer.generatedPositionFor(t);if(r){var n={line:r.line+(i.generatedOffset.generatedLine-1),column:r.column+(i.generatedOffset.generatedLine===r.line?i.generatedOffset.generatedColumn-1:0)};return n}}}return{line:null,column:null}};bs.prototype._parseMappings=function(t,e){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var r=this._sections[i],n=r.consumer._generatedMappings,a=0;a<n.length;a++){var o=n[a],l=r.consumer._sources.at(o.source);l!==null&&(l=G.computeSourceURL(r.consumer.sourceRoot,l,this._sourceMapURL)),this._sources.add(l),l=this._sources.indexOf(l);var c=null;o.name&&(c=r.consumer._names.at(o.name),this._names.add(c),c=this._names.indexOf(c));var u={source:l,generatedLine:o.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(r.generatedOffset.generatedLine===o.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(u),typeof u.originalLine=="number"&&this.__originalMappings.push(u)}ta(this.__generatedMappings,G.compareByGeneratedPositionsDeflated),ta(this.__originalMappings,G.compareByOriginalPositions)};Oo.IndexedSourceMapConsumer=bs});var qA=D(XA=>{var lP=fp().SourceMapGenerator,wo=Qr(),cP=/(\r?\n)/,uP=10,Yr="$$$isSourceNode$$$";function Yt(s,t,e,i,r){this.children=[],this.sourceContents={},this.line=s??null,this.column=t??null,this.source=e??null,this.name=r??null,this[Yr]=!0,i!=null&&this.add(i)}Yt.fromStringWithSourceMap=function(t,e,i){var r=new Yt,n=t.split(cP),a=0,o=function(){var h=m(),f=m()||"";return h+f;function m(){return a<n.length?n[a++]:void 0}},l=1,c=0,u=null;return e.eachMapping(function(h){if(u!==null)if(l<h.generatedLine)p(u,o()),l++,c=0;else{var f=n[a]||"",m=f.substr(0,h.generatedColumn-c);n[a]=f.substr(h.generatedColumn-c),c=h.generatedColumn,p(u,m),u=h;return}for(;l<h.generatedLine;)r.add(o()),l++;if(c<h.generatedColumn){var f=n[a]||"";r.add(f.substr(0,h.generatedColumn)),n[a]=f.substr(h.generatedColumn),c=h.generatedColumn}u=h},this),a<n.length&&(u&&p(u,o()),r.add(n.splice(a).join(""))),e.sources.forEach(function(h){var f=e.sourceContentFor(h);f!=null&&(i!=null&&(h=wo.join(i,h)),r.setSourceContent(h,f))}),r;function p(h,f){if(h===null||h.source===void 0)r.add(f);else{var m=i?wo.join(i,h.source):h.source;r.add(new Yt(h.originalLine,h.originalColumn,m,f,h.name))}}};Yt.prototype.add=function(t){if(Array.isArray(t))t.forEach(function(e){this.add(e)},this);else if(t[Yr]||typeof t=="string")t&&this.children.push(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};Yt.prototype.prepend=function(t){if(Array.isArray(t))for(var e=t.length-1;e>=0;e--)this.prepend(t[e]);else if(t[Yr]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};Yt.prototype.walk=function(t){for(var e,i=0,r=this.children.length;i<r;i++)e=this.children[i],e[Yr]?e.walk(t):e!==""&&t(e,{source:this.source,line:this.line,column:this.column,name:this.name})};Yt.prototype.join=function(t){var e,i,r=this.children.length;if(r>0){for(e=[],i=0;i<r-1;i++)e.push(this.children[i]),e.push(t);e.push(this.children[i]),this.children=e}return this};Yt.prototype.replaceRight=function(t,e){var i=this.children[this.children.length-1];return i[Yr]?i.replaceRight(t,e):typeof i=="string"?this.children[this.children.length-1]=i.replace(t,e):this.children.push("".replace(t,e)),this};Yt.prototype.setSourceContent=function(t,e){this.sourceContents[wo.toSetString(t)]=e};Yt.prototype.walkSourceContents=function(t){for(var e=0,i=this.children.length;e<i;e++)this.children[e][Yr]&&this.children[e].walkSourceContents(t);for(var r=Object.keys(this.sourceContents),e=0,i=r.length;e<i;e++)t(wo.fromSetString(r[e]),this.sourceContents[r[e]])};Yt.prototype.toString=function(){var t="";return this.walk(function(e){t+=e}),t};Yt.prototype.toStringWithSourceMap=function(t){var e={code:"",line:1,column:0},i=new lP(t),r=!1,n=null,a=null,o=null,l=null;return this.walk(function(c,u){e.code+=c,u.source!==null&&u.line!==null&&u.column!==null?((n!==u.source||a!==u.line||o!==u.column||l!==u.name)&&i.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:e.line,column:e.column},name:u.name}),n=u.source,a=u.line,o=u.column,l=u.name,r=!0):r&&(i.addMapping({generated:{line:e.line,column:e.column}}),n=null,r=!1);for(var p=0,h=c.length;p<h;p++)c.charCodeAt(p)===uP?(e.line++,e.column=0,p+1===h?(n=null,r=!1):r&&i.addMapping({source:u.source,original:{line:u.line,column:u.column},generated:{line:e.line,column:e.column},name:u.name})):e.column++}),this.walkSourceContents(function(c,u){i.setSourceContent(c,u)}),{code:e.code,map:i}};XA.SourceNode=Yt});var gp=D(Lo=>{Lo.SourceMapGenerator=fp().SourceMapGenerator;Lo.SourceMapConsumer=WA().SourceMapConsumer;Lo.SourceNode=qA().SourceNode});var dy=D(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});var U=at(),ur=Su(),en=ip(),pP=rp(),hP=gp(),sn=Symbol(""),tn=Symbol(""),qo=Symbol(""),ia=Symbol(""),Np=Symbol(""),ki=Symbol(""),xp=Symbol(""),vp=Symbol(""),Qo=Symbol(""),Jo=Symbol(""),on=Symbol(""),Yo=Symbol(""),Op=Symbol(""),ra=Symbol(""),zo=Symbol(""),Zo=Symbol(""),el=Symbol(""),tl=Symbol(""),sl=Symbol(""),wp=Symbol(""),Lp=Symbol(""),il=Symbol(""),na=Symbol(""),rl=Symbol(""),nl=Symbol(""),rn=Symbol(""),ln=Symbol(""),al=Symbol(""),$o=Symbol(""),fg=Symbol(""),jo=Symbol(""),aa=Symbol(""),dg=Symbol(""),mg=Symbol(""),ol=Symbol(""),oa=Symbol(""),la=Symbol(""),ll=Symbol(""),Mp=Symbol(""),Ft={[sn]:"Fragment",[tn]:"Teleport",[qo]:"Suspense",[ia]:"KeepAlive",[Np]:"BaseTransition",[ki]:"openBlock",[xp]:"createBlock",[vp]:"createElementBlock",[Qo]:"createVNode",[Jo]:"createElementVNode",[on]:"createCommentVNode",[Yo]:"createTextVNode",[Op]:"createStaticVNode",[ra]:"resolveComponent",[zo]:"resolveDynamicComponent",[Zo]:"resolveDirective",[el]:"resolveFilter",[tl]:"withDirectives",[sl]:"renderList",[wp]:"renderSlot",[Lp]:"createSlots",[il]:"toDisplayString",[na]:"mergeProps",[rl]:"normalizeClass",[nl]:"normalizeStyle",[rn]:"normalizeProps",[ln]:"guardReactiveProps",[al]:"toHandlers",[$o]:"camelize",[fg]:"capitalize",[jo]:"toHandlerKey",[aa]:"setBlockTracking",[dg]:"pushScopeId",[mg]:"popScopeId",[ol]:"withCtx",[oa]:"unref",[la]:"isRef",[ll]:"withMemo",[Mp]:"isMemoSame"};function fP(s){Object.getOwnPropertySymbols(s).forEach(t=>{Ft[t]=s[t]})}var dP={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},mP={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"},AP={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},gP={NOT_CONSTANT:0,0:"NOT_CONSTANT",CAN_SKIP_PATCH:1,1:"CAN_SKIP_PATCH",CAN_CACHE:2,2:"CAN_CACHE",CAN_STRINGIFY:3,3:"CAN_STRINGIFY"},et={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Ag(s,t=""){return{type:0,source:t,children:s,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:et}}function nn(s,t,e,i,r,n,a,o=!1,l=!1,c=!1,u=et){return s&&(o?(s.helper(ki),s.helper(Ar(s.inSSR,c))):s.helper(mr(s.inSSR,c)),a&&s.helper(tl)),{type:13,tag:t,props:e,children:i,patchFlag:r,dynamicProps:n,directives:a,isBlock:o,disableTracking:l,isComponent:c,loc:u}}function Ri(s,t=et){return{type:17,loc:t,elements:s}}function es(s,t=et){return{type:15,loc:t,properties:s}}function Ze(s,t){return{type:16,loc:et,key:U.isString(s)?z(s,!0):s,value:t}}function z(s,t=!1,e=et,i=0){return{type:4,loc:e,content:s,isStatic:t,constType:t?3:i}}function yP(s,t){return{type:5,loc:t,content:U.isString(s)?z(s,!1,t):s}}function Zt(s,t=et){return{type:8,loc:t,children:s}}function gt(s,t=[],e=et){return{type:14,loc:e,callee:s,arguments:t}}function dr(s,t=void 0,e=!1,i=!1,r=et){return{type:18,params:s,returns:t,newline:e,isSlot:i,loc:r}}function Ho(s,t,e,i=!0){return{type:19,test:s,consequent:t,alternate:e,newline:i,loc:et}}function gg(s,t,e=!1,i=!1){return{type:20,index:s,value:t,needPauseTracking:e,inVOnce:i,needArraySpread:!1,loc:et}}function yg(s){return{type:21,body:s,loc:et}}function EP(s){return{type:22,elements:s,loc:et}}function SP(s,t,e){return{type:23,test:s,consequent:t,alternate:e,loc:et}}function bP(s,t){return{type:24,left:s,right:t,loc:et}}function TP(s){return{type:25,expressions:s,loc:et}}function CP(s){return{type:26,returns:s,loc:et}}function mr(s,t){return s||t?Qo:Jo}function Ar(s,t){return s||t?xp:vp}function cl(s,{helper:t,removeHelper:e,inSSR:i}){s.isBlock||(s.isBlock=!0,e(mr(i,s.isComponent)),t(ki),t(Ar(i,s.isComponent)))}var QA=new Uint8Array([123,123]),JA=new Uint8Array([125,125]);function YA(s){return s>=97&&s<=122||s>=65&&s<=90}function zt(s){return s===32||s===10||s===9||s===12||s===13}function Li(s){return s===47||s===62||zt(s)}function Ko(s){let t=new Uint8Array(s.length);for(let e=0;e<s.length;e++)t[e]=s.charCodeAt(e);return t}var mt={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])},Ep=class{constructor(t,e){this.stack=t,this.cbs=e,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=QA,this.delimiterClose=JA,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new ur.EntityDecoder(ur.htmlDecodeTree,(i,r)=>this.emitCodePoint(i,r))}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=QA,this.delimiterClose=JA}getPos(t){let e=1,i=t+1,r=this.newlines.length,n=-1;if(r>100){let a=-1,o=r;for(;a+1<o;){let l=a+o>>>1;this.newlines[l]<t?a=l:o=l}n=a}else for(let a=r-1;a>=0;a--)if(t>this.newlines[a]){n=a;break}return n>=0&&(e=n+2,i=t-this.newlines[n]),{column:i,line:e,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):t===38?this.startEntity():!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){let e=this.sequenceIndex===this.currentSequence.length;if(!(e?Li(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!e){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||zt(t)){let e=this.index-this.currentSequence.length;if(this.sectionStart<e){let i=this.index;this.index=e,this.cbs.ontext(this.sectionStart,e),this.index=i}this.sectionStart=e+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===mt.TitleEnd||this.currentSequence===mt.TextareaEnd&&!this.inSFCRoot?t===38?this.startEntity():!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===mt.Cdata[this.sequenceIndex]?++this.sequenceIndex===mt.Cdata.length&&(this.state=28,this.currentSequence=mt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);if(e===10&&this.newlines.push(this.index),e===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===mt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,e){this.enterRCDATA(t,e),this.state=31}enterRCDATA(t,e){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=e}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):YA(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Li(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Li(t)){let e=this.buffer.slice(this.sectionStart,this.index);e!=="template"&&this.enterRCDATA(Ko("</"+e),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){zt(t)||(t===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=YA(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||zt(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?(this.state=7,this.peek()!==62&&this.cbs.onerr(22,this.index)):t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):zt(t)||(t===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(t))}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):zt(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){t===61||Li(t)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):(t===34||t===39||t===60)&&this.cbs.onerr(17,this.index)}stateInDirName(t){t===61||Li(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Li(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Li(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t),this.cbs.onerr(27,this.index))}stateInDirModifier(t){t===61||Li(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):zt(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):zt(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,e){t===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(e===34?3:2,this.index+1),this.state=11):t===38&&this.startEntity()}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){zt(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):t===34||t===39||t===60||t===61||t===96?this.cbs.onerr(18,this.index):t===38&&this.startEntity()}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=mt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===mt.ScriptEnd[3]?this.startSpecial(mt.ScriptEnd,4):t===mt.StyleEnd[3]?this.startSpecial(mt.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===mt.TitleEnd[3]?this.startSpecial(mt.TitleEnd,4):t===mt.TextareaEnd[3]?this.startSpecial(mt.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=33,this.entityStart=this.index,this.entityDecoder.startEntity(this.baseState===1||this.baseState===32?ur.DecodingMode.Legacy:ur.DecodingMode.Attribute)}stateInEntity(){{let t=this.entityDecoder.write(this.buffer,this.index);t>=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.buffer.length-1}}parse(t){for(this.buffer=t;this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);switch(e===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(e);break}case 2:{this.stateInterpolationOpen(e);break}case 3:{this.stateInterpolation(e);break}case 4:{this.stateInterpolationClose(e);break}case 31:{this.stateSpecialStartSequence(e);break}case 32:{this.stateInRCDATA(e);break}case 26:{this.stateCDATASequence(e);break}case 19:{this.stateInAttrValueDoubleQuotes(e);break}case 12:{this.stateInAttrName(e);break}case 13:{this.stateInDirName(e);break}case 14:{this.stateInDirArg(e);break}case 15:{this.stateInDynamicDirArg(e);break}case 16:{this.stateInDirModifier(e);break}case 28:{this.stateInCommentLike(e);break}case 27:{this.stateInSpecialComment(e);break}case 11:{this.stateBeforeAttrName(e);break}case 6:{this.stateInTagName(e);break}case 34:{this.stateInSFCRootTagName(e);break}case 9:{this.stateInClosingTagName(e);break}case 5:{this.stateBeforeTagName(e);break}case 17:{this.stateAfterAttrName(e);break}case 20:{this.stateInAttrValueSingleQuotes(e);break}case 18:{this.stateBeforeAttrValue(e);break}case 8:{this.stateBeforeClosingTagName(e);break}case 10:{this.stateAfterClosingTagName(e);break}case 29:{this.stateBeforeSpecialS(e);break}case 30:{this.stateBeforeSpecialT(e);break}case 21:{this.stateInAttrValueNoQuotes(e);break}case 7:{this.stateInSelfClosingTag(e);break}case 23:{this.stateInDeclaration(e);break}case 22:{this.stateBeforeDeclaration(e);break}case 25:{this.stateBeforeComment(e);break}case 24:{this.stateInProcessingInstruction(e);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(){let t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===mt.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){this.baseState!==1&&this.baseState!==32?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.onattribentity(ur.fromCodePoint(t),this.entityStart,this.sectionStart)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.ontextentity(ur.fromCodePoint(t),this.entityStart,this.sectionStart))}},IP={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"},_P={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:s=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${s}.sync\` should be changed to \`v-model:${s}\`.`,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 Sp(s,{compatConfig:t}){let e=t&&t[s];return s==="MODE"?e||3:e}function fr(s,t){let e=Sp("MODE",t),i=Sp(s,t);return e===3?i===!0:i!==!1}function ca(s,t,e,...i){return fr(s,t)}function PP(s,t,e,...i){if(Sp(s,t)==="suppress-warning")return;let{message:n,link:a}=_P[s],o=`(deprecation ${s}) ${typeof n=="function"?n(...i):n}${a?`
|
|
13
|
+
Details: ${a}`:""}`,l=new SyntaxError(o);l.code=s,e&&(l.loc=e),t.onWarn(l)}function Dp(s){throw s}function Eg(s){}function Te(s,t,e,i){let r=(e||Sg)[s]+(i||""),n=new SyntaxError(String(r));return n.code=s,n.loc=t,n}var NP={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_V_MODEL_ON_CONST:45,45:"X_V_MODEL_ON_CONST",X_INVALID_EXPRESSION:46,46:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:47,47:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:48,48:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:49,49:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:50,50:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:51,51:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:52,52:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:54,54:"__EXTEND_POINT__"},Sg={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.",53:"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.
|
|
14
|
+
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@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.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""};function bg(s,t,e=!1,i=[],r=Object.create(null)){let n=s.type==="Program"?s.body[0].type==="ExpressionStatement"&&s.body[0].expression:s;pP.walk(s,{enter(a,o){if(o&&i.push(o),o&&o.type.startsWith("TS")&&!Bp.includes(o.type))return this.skip();if(a.type==="Identifier"){let l=!!r[a.name],c=Tg(a,o,i);(e||c&&!l)&&t(a,o,i,c,l)}else if(a.type==="ObjectProperty"&&o?.type==="ObjectPattern")a.inPattern=!0;else if(xg(a))a.scopeIds?a.scopeIds.forEach(l=>Zr(l,r)):Ig(a,l=>sa(a,l,r));else if(a.type==="BlockStatement")a.scopeIds?a.scopeIds.forEach(l=>Zr(l,r)):Rp(a,l=>sa(a,l,r));else if(a.type==="SwitchStatement")a.scopeIds?a.scopeIds.forEach(l=>Zr(l,r)):Ng(a,!1,l=>sa(a,l,r));else if(a.type==="CatchClause"&&a.param)if(a.scopeIds)a.scopeIds.forEach(l=>Zr(l,r));else for(let l of Ts(a.param))sa(a,l,r);else _g(a)&&(a.scopeIds?a.scopeIds.forEach(l=>Zr(l,r)):Pg(a,!1,l=>sa(a,l,r)))},leave(a,o){if(o&&i.pop(),a!==n&&a.scopeIds)for(let l of a.scopeIds)r[l]--,r[l]===0&&delete r[l]}})}function Tg(s,t,e){if(!t)return!0;if(s.name==="arguments")return!1;if(xP(s,t,e[e.length-2]))return!0;switch(t.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectProperty":return t.key!==s&&Go(t,e);case"ArrayPattern":return Go(t,e)}return!1}function Go(s,t){if(s&&(s.type==="ObjectProperty"||s.type==="ArrayPattern")){let e=t.length;for(;e--;){let i=t[e];if(i.type==="AssignmentExpression")return!0;if(i.type!=="ObjectProperty"&&!i.type.endsWith("Pattern"))break}}return!1}function Cg(s){let t=s.length;for(;t--;){let e=s[t];if(e.type==="NewExpression")return!0;if(e.type!=="MemberExpression")break}return!1}function Ig(s,t){for(let e of s.params)for(let i of Ts(e))t(i)}function Rp(s,t){let e=s.type==="SwitchCase"?s.consequent:s.body;for(let i of e)if(i.type==="VariableDeclaration"){if(i.declare)continue;for(let r of i.declarations)for(let n of Ts(r.id))t(n)}else if(i.type==="FunctionDeclaration"||i.type==="ClassDeclaration"){if(i.declare||!i.id)continue;t(i.id)}else _g(i)?Pg(i,!0,t):i.type==="SwitchStatement"&&Ng(i,!0,t)}function _g(s){return s.type==="ForOfStatement"||s.type==="ForInStatement"||s.type==="ForStatement"}function Pg(s,t,e){let i=s.type==="ForStatement"?s.init:s.left;if(i&&i.type==="VariableDeclaration"&&(i.kind==="var"?t:!t))for(let r of i.declarations)for(let n of Ts(r.id))e(n)}function Ng(s,t,e){for(let i of s.cases){for(let r of i.consequent)if(r.type==="VariableDeclaration"&&(r.kind==="var"?t:!t))for(let n of r.declarations)for(let a of Ts(n.id))e(a);Rp(i,e)}}function Ts(s,t=[]){switch(s.type){case"Identifier":t.push(s);break;case"MemberExpression":let e=s;for(;e.type==="MemberExpression";)e=e.object;t.push(e);break;case"ObjectPattern":for(let i of s.properties)i.type==="RestElement"?Ts(i.argument,t):Ts(i.value,t);break;case"ArrayPattern":s.elements.forEach(i=>{i&&Ts(i,t)});break;case"RestElement":Ts(s.argument,t);break;case"AssignmentPattern":Ts(s.left,t);break}return t}function Zr(s,t){s in t?t[s]++:t[s]=1}function sa(s,t,e){let{name:i}=t;s.scopeIds&&s.scopeIds.has(i)||(Zr(i,e),(s.scopeIds||(s.scopeIds=new Set)).add(i))}var xg=s=>/Function(?:Expression|Declaration)$|Method$/.test(s.type),kp=s=>s&&(s.type==="ObjectProperty"||s.type==="ObjectMethod")&&!s.computed,vg=(s,t)=>kp(t)&&t.key===s;function xP(s,t,e){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===s?!!t.computed:t.object===s;case"JSXMemberExpression":return t.object===s;case"VariableDeclarator":return t.init===s;case"ArrowFunctionExpression":return t.body===s;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===s?!!t.computed:!1;case"ObjectProperty":return t.key===s?!!t.computed:!e||e.type!=="ObjectPattern";case"ClassProperty":return t.key===s?!!t.computed:!0;case"ClassPrivateProperty":return t.key!==s;case"ClassDeclaration":case"ClassExpression":return t.superClass===s;case"AssignmentExpression":return t.right===s;case"AssignmentPattern":return t.right===s;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?.source?!1:t.local===s;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==s;case"TSEnumMember":return t.id!==s;case"TSPropertySignature":return t.key===s?!!t.computed:!0}return!0}var Bp=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function ul(s){return Bp.includes(s.type)?ul(s.expression):s}var Cs=s=>s.type===4&&s.isStatic;function Fp(s){switch(s){case"Teleport":case"teleport":return tn;case"Suspense":case"suspense":return qo;case"KeepAlive":case"keep-alive":return ia;case"BaseTransition":case"base-transition":return Np}}var vP=/^$|^\d|[^\$\w\xA0-\uFFFF]/,li=s=>!vP.test(s),Vp=/[A-Za-z_$\xA0-\uFFFF]/,OP=/[\.\?\w$\xA0-\uFFFF]/,wP=/\s+[.[]\s*|\s*[.[]\s+/g,pl=s=>s.type===4?s.content:s.loc.source,LP=s=>{let t=pl(s).trim().replace(wP,o=>o.trim()),e=0,i=[],r=0,n=0,a=null;for(let o=0;o<t.length;o++){let l=t.charAt(o);switch(e){case 0:if(l==="[")i.push(e),e=1,r++;else if(l==="(")i.push(e),e=2,n++;else if(!(o===0?Vp:OP).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(i.push(e),e=3,a=l):l==="["?r++:l==="]"&&(--r||(e=i.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")i.push(e),e=3,a=l;else if(l==="(")n++;else if(l===")"){if(o===t.length-1)return!1;--n||(e=i.pop())}break;case 3:l===a&&(e=i.pop(),a=null);break}}return!r&&!n},Og=(s,t)=>{try{let e=s.ast||en.parseExpression(pl(s),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return e=ul(e),e.type==="MemberExpression"||e.type==="OptionalMemberExpression"||e.type==="Identifier"&&e.name!=="undefined"}catch{return!1}},Up=Og,MP=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,DP=s=>MP.test(pl(s)),wg=(s,t)=>{try{let e=s.ast||en.parseExpression(pl(s),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return e.type==="Program"&&(e=e.body[0],e.type==="ExpressionStatement"&&(e=e.expression)),e=ul(e),e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"}catch{return!1}},Lg=wg;function bp(s,t,e=t.length){return $p({offset:s.offset,line:s.line,column:s.column},t,e)}function $p(s,t,e=t.length){let i=0,r=-1;for(let n=0;n<e;n++)t.charCodeAt(n)===10&&(i++,r=n);return s.offset+=e,s.line+=i,s.column=r===-1?s.column+e:e-r,s}function RP(s,t){if(!s)throw new Error(t||"unexpected compiler condition")}function Mt(s,t,e=!1){for(let i=0;i<s.props.length;i++){let r=s.props[i];if(r.type===7&&(e||r.exp)&&(U.isString(t)?r.name===t:t.test(r.name)))return r}}function ua(s,t,e=!1,i=!1){for(let r=0;r<s.props.length;r++){let n=s.props[r];if(n.type===6){if(e)continue;if(n.name===t&&(n.value||i))return n}else if(n.name==="bind"&&(n.exp||i)&&Di(n.arg,t))return n}}function Di(s,t){return!!(s&&Cs(s)&&s.content===t)}function kP(s){return s.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Ro(s){return s.type===5||s.type===2}function Tp(s){return s.type===7&&s.name==="pre"}function hl(s){return s.type===7&&s.name==="slot"}function an(s){return s.type===1&&s.tagType===3}function pa(s){return s.type===1&&s.tagType===2}var BP=new Set([rn,ln]);function Mg(s,t=[]){if(s&&!U.isString(s)&&s.type===14){let e=s.callee;if(!U.isString(e)&&BP.has(e))return Mg(s.arguments[0],t.concat(s))}return[s,t]}function ha(s,t,e){let i,r=s.type===13?s.props:s.arguments[2],n=[],a;if(r&&!U.isString(r)&&r.type===14){let o=Mg(r);r=o[0],n=o[1],a=n[n.length-1]}if(r==null||U.isString(r))i=es([t]);else if(r.type===14){let o=r.arguments[0];!U.isString(o)&&o.type===15?zA(t,o)||o.properties.unshift(t):r.callee===al?i=gt(e.helper(na),[es([t]),r]):r.arguments.unshift(es([t])),!i&&(i=r)}else r.type===15?(zA(t,r)||r.properties.unshift(t),i=r):(i=gt(e.helper(na),[es([t]),r]),a&&a.callee===ln&&(a=n[n.length-2]));s.type===13?a?a.arguments[0]=i:s.props=i:a?a.arguments[0]=i:s.arguments[2]=i}function zA(s,t){let e=!1;if(s.key.type===4){let i=s.key.content;e=t.properties.some(r=>r.key.type===4&&r.key.content===i)}return e}function gr(s,t){return`_${t}_${s.replace(/[^\w]/g,(e,i)=>e==="-"?"_":s.charCodeAt(i).toString())}`}function Ct(s,t){if(!s||Object.keys(t).length===0)return!1;switch(s.type){case 1:for(let e=0;e<s.props.length;e++){let i=s.props[e];if(i.type===7&&(Ct(i.arg,t)||Ct(i.exp,t)))return!0}return s.children.some(e=>Ct(e,t));case 11:return Ct(s.source,t)?!0:s.children.some(e=>Ct(e,t));case 9:return s.branches.some(e=>Ct(e,t));case 10:return Ct(s.condition,t)?!0:s.children.some(e=>Ct(e,t));case 4:return!s.isStatic&&li(s.content)&&!!t[s.content];case 8:return s.children.some(e=>U.isObject(e)&&Ct(e,t));case 5:case 12:return Ct(s.content,t);case 2:case 3:case 20:return!1;default:return!1}}function Dg(s){return s.type===14&&s.callee===ll?s.arguments[1].returns:s}var Rg=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function jp(s){for(let t=0;t<s.length;t++)if(!zt(s.charCodeAt(t)))return!1;return!0}function fl(s){return s.type===2&&jp(s.content)||s.type===12&&fl(s.content)}function Hp(s){return s.type===3||fl(s)}var kg={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:U.NO,isPreTag:U.NO,isIgnoreNewlineTag:U.NO,isCustomElement:U.NO,onError:Dp,onWarn:Eg,comments:!1,prefixIdentifiers:!1},ge=kg,fa=null,oi="",It=null,re=null,fs="",ai=-1,pr=-1,Kp=0,Mi=!1,Cp=null,je=[],Pe=new Ep(je,{onerr:Lt,ontext(s,t){Mo(At(s,t),s,t)},ontextentity(s,t,e){Mo(s,t,e)},oninterpolation(s,t){if(Mi)return Mo(At(s,t),s,t);let e=s+Pe.delimiterOpen.length,i=t-Pe.delimiterClose.length;for(;zt(oi.charCodeAt(e));)e++;for(;zt(oi.charCodeAt(i-1));)i--;let r=At(e,i);r.includes("&")&&(r=ur.decodeHTML(r)),Ip({type:5,content:Bo(r,!1,Qe(e,i)),loc:Qe(s,t)})},onopentagname(s,t){let e=At(s,t);It={type:1,tag:e,ns:ge.getNamespace(e,je[0],ge.ns),tagType:0,props:[],children:[],loc:Qe(s-1,t),codegenNode:void 0}},onopentagend(s){eg(s)},onclosetag(s,t){let e=At(s,t);if(!ge.isVoidTag(e)){let i=!1;for(let r=0;r<je.length;r++)if(je[r].tag.toLowerCase()===e.toLowerCase()){i=!0,r>0&&Lt(24,je[0].loc.start.offset);for(let a=0;a<=r;a++){let o=je.shift();ko(o,t,a<r)}break}i||Lt(23,Bg(s,60))}},onselfclosingtag(s){let t=It.tag;It.isSelfClosing=!0,eg(s),je[0]&&je[0].tag===t&&ko(je.shift(),s)},onattribname(s,t){re={type:6,name:At(s,t),nameLoc:Qe(s,t),value:void 0,loc:Qe(s)}},ondirname(s,t){let e=At(s,t),i=e==="."||e===":"?"bind":e==="@"?"on":e==="#"?"slot":e.slice(2);if(!Mi&&i===""&&Lt(26,s),Mi||i==="")re={type:6,name:e,nameLoc:Qe(s,t),value:void 0,loc:Qe(s)};else if(re={type:7,name:i,rawName:e,exp:void 0,arg:void 0,modifiers:e==="."?[z("prop")]:[],loc:Qe(s)},i==="pre"){Mi=Pe.inVPre=!0,Cp=It;let r=It.props;for(let n=0;n<r.length;n++)r[n].type===7&&(r[n]=XP(r[n]))}},ondirarg(s,t){if(s===t)return;let e=At(s,t);if(Mi&&!Tp(re))re.name+=e,hr(re.nameLoc,t);else{let i=e[0]!=="[";re.arg=Bo(i?e:e.slice(1,-1),i,Qe(s,t),i?3:0)}},ondirmodifier(s,t){let e=At(s,t);if(Mi&&!Tp(re))re.name+="."+e,hr(re.nameLoc,t);else if(re.name==="slot"){let i=re.arg;i&&(i.content+="."+e,hr(i.loc,t))}else{let i=z(e,!0,Qe(s,t));re.modifiers.push(i)}},onattribdata(s,t){fs+=At(s,t),ai<0&&(ai=s),pr=t},onattribentity(s,t,e){fs+=s,ai<0&&(ai=t),pr=e},onattribnameend(s){let t=re.loc.start.offset,e=At(t,s);re.type===7&&(re.rawName=e),It.props.some(i=>(i.type===7?i.rawName:i.name)===e)&&Lt(2,t)},onattribend(s,t){if(It&&re){if(hr(re.loc,t),s!==0)if(re.type===6)re.name==="class"&&(fs=Vg(fs).trim()),s===1&&!fs&&Lt(13,t),re.value={type:2,content:fs,loc:s===1?Qe(ai,pr):Qe(ai-1,pr+1)},Pe.inSFCRoot&&It.tag==="template"&&re.name==="lang"&&fs&&fs!=="html"&&Pe.enterRCDATA(Ko("</template"),0);else{let e=0;re.name==="for"?e=3:re.name==="slot"?e=1:re.name==="on"&&fs.includes(";")&&(e=2),re.exp=Bo(fs,!1,Qe(ai,pr),0,e),re.name==="for"&&(re.forParseResult=VP(re.exp));let i=-1;re.name==="bind"&&(i=re.modifiers.findIndex(r=>r.content==="sync"))>-1&&ca("COMPILER_V_BIND_SYNC",ge,re.loc,re.arg.loc.source)&&(re.name="model",re.modifiers.splice(i,1))}(re.type!==7||re.name!=="pre")&&It.props.push(re)}fs="",ai=pr=-1},oncomment(s,t){ge.comments&&Ip({type:3,content:At(s,t),loc:Qe(s-4,t+3)})},onend(){let s=oi.length;if(Pe.state!==1)switch(Pe.state){case 5:case 8:Lt(5,s);break;case 3:case 4:Lt(25,Pe.sectionStart);break;case 28:Pe.currentSequence===mt.CdataEnd?Lt(6,s):Lt(7,s);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:Lt(9,s);break}for(let t=0;t<je.length;t++)ko(je[t],s-1),Lt(24,je[t].loc.start.offset)},oncdata(s,t){je[0].ns!==0?Mo(At(s,t),s,t):Lt(1,s-9)},onprocessinginstruction(s){(je[0]?je[0].ns:ge.ns)===0&&Lt(21,s-1)}}),ZA=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,FP=/^\(|\)$/g;function VP(s){let t=s.loc,e=s.content,i=e.match(Rg);if(!i)return;let[,r,n]=i,a=(p,h,f=!1)=>{let m=t.start.offset+h,d=m+p.length;return Bo(p,!1,Qe(m,d),0,f?1:0)},o={source:a(n.trim(),e.indexOf(n,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1},l=r.trim().replace(FP,"").trim(),c=r.indexOf(l),u=l.match(ZA);if(u){l=l.replace(ZA,"").trim();let p=u[1].trim(),h;if(p&&(h=e.indexOf(p,c+l.length),o.key=a(p,h,!0)),u[2]){let f=u[2].trim();f&&(o.index=a(f,e.indexOf(f,o.key?h+p.length:c+l.length),!0))}}return l&&(o.value=a(l,c,!0)),o}function At(s,t){return oi.slice(s,t)}function eg(s){Pe.inSFCRoot&&(It.innerLoc=Qe(s+1,s+1)),Ip(It);let{tag:t,ns:e}=It;e===0&&ge.isPreTag(t)&&Kp++,ge.isVoidTag(t)?ko(It,s):(je.unshift(It),(e===1||e===2)&&(Pe.inXML=!0)),It=null}function Mo(s,t,e){let i=je[0]||fa,r=i.children[i.children.length-1];r&&r.type===2?(r.content+=s,hr(r.loc,e)):i.children.push({type:2,content:s,loc:Qe(t,e)})}function ko(s,t,e=!1){e?hr(s.loc,Bg(t,60)):hr(s.loc,UP(t,62)+1),Pe.inSFCRoot&&(s.children.length?s.innerLoc.end=U.extend({},s.children[s.children.length-1].loc.end):s.innerLoc.end=U.extend({},s.innerLoc.start),s.innerLoc.source=At(s.innerLoc.start.offset,s.innerLoc.end.offset));let{tag:i,ns:r,children:n}=s;if(Mi||(i==="slot"?s.tagType=2:tg(s)?s.tagType=3:jP(s)&&(s.tagType=1)),Pe.inRCDATA||(s.children=Fg(n)),r===0&&ge.isIgnoreNewlineTag(i)){let a=n[0];a&&a.type===2&&(a.content=a.content.replace(/^\r?\n/,""))}r===0&&ge.isPreTag(i)&&Kp--,Cp===s&&(Mi=Pe.inVPre=!1,Cp=null),Pe.inXML&&(je[0]?je[0].ns:ge.ns)===0&&(Pe.inXML=!1);{let a=s.props;if(!Pe.inSFCRoot&&fr("COMPILER_NATIVE_TEMPLATE",ge)&&s.tag==="template"&&!tg(s)){let l=je[0]||fa,c=l.children.indexOf(s);l.children.splice(c,1,...s.children)}let o=a.find(l=>l.type===6&&l.name==="inline-template");o&&ca("COMPILER_INLINE_TEMPLATE",ge,o.loc)&&s.children.length&&(o.value={type:2,content:At(s.children[0].loc.start.offset,s.children[s.children.length-1].loc.end.offset),loc:o.loc})}}function UP(s,t){let e=s;for(;oi.charCodeAt(e)!==t&&e<oi.length-1;)e++;return e}function Bg(s,t){let e=s;for(;oi.charCodeAt(e)!==t&&e>=0;)e--;return e}var $P=new Set(["if","else","else-if","for","slot"]);function tg({tag:s,props:t}){if(s==="template"){for(let e=0;e<t.length;e++)if(t[e].type===7&&$P.has(t[e].name))return!0}return!1}function jP({tag:s,props:t}){if(ge.isCustomElement(s))return!1;if(s==="component"||HP(s.charCodeAt(0))||Fp(s)||ge.isBuiltInComponent&&ge.isBuiltInComponent(s)||ge.isNativeTag&&!ge.isNativeTag(s))return!0;for(let e=0;e<t.length;e++){let i=t[e];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(ca("COMPILER_IS_ON_ELEMENT",ge,i.loc))return!0}}else if(i.name==="bind"&&Di(i.arg,"is")&&ca("COMPILER_IS_ON_ELEMENT",ge,i.loc))return!0}return!1}function HP(s){return s>64&&s<91}var KP=/\r\n/g;function Fg(s){let t=ge.whitespace!=="preserve",e=!1;for(let i=0;i<s.length;i++){let r=s[i];if(r.type===2)if(Kp)r.content=r.content.replace(KP,`
|
|
15
|
+
`);else if(jp(r.content)){let n=s[i-1]&&s[i-1].type,a=s[i+1]&&s[i+1].type;!n||!a||t&&(n===3&&(a===3||a===1)||n===1&&(a===3||a===1&&GP(r.content)))?(e=!0,s[i]=null):r.content=" "}else t&&(r.content=Vg(r.content))}return e?s.filter(Boolean):s}function GP(s){for(let t=0;t<s.length;t++){let e=s.charCodeAt(t);if(e===10||e===13)return!0}return!1}function Vg(s){let t="",e=!1;for(let i=0;i<s.length;i++)zt(s.charCodeAt(i))?e||(t+=" ",e=!0):(t+=s[i],e=!1);return t}function Ip(s){(je[0]||fa).children.push(s)}function Qe(s,t){return{start:Pe.getPos(s),end:t==null?t:Pe.getPos(t),source:t==null?t:At(s,t)}}function WP(s){return Qe(s.start.offset,s.end.offset)}function hr(s,t){s.end=Pe.getPos(t),s.source=At(s.start.offset,t)}function XP(s){let t={type:6,name:s.rawName,nameLoc:Qe(s.loc.start.offset,s.loc.start.offset+s.rawName.length),value:void 0,loc:s.loc};if(s.exp){let e=s.exp.loc;e.end.offset<s.loc.end.offset&&(e.start.offset--,e.start.column--,e.end.offset++,e.end.column++),t.value={type:2,content:s.exp.content,loc:e}}return t}function Bo(s,t=!1,e,i=0,r=0){let n=z(s,t,e,i);if(!t&&ge.prefixIdentifiers&&r!==3&&s.trim()){if(li(s))return n.ast=null,n;try{let a=ge.expressionPlugins,o={plugins:a?[...a,"typescript"]:["typescript"]};r===2?n.ast=en.parse(` ${s} `,o).program:r===1?n.ast=en.parseExpression(`(${s})=>{}`,o):n.ast=en.parseExpression(`(${s})`,o)}catch(a){n.ast=!1,Lt(46,e.start.offset,a.message)}}return n}function Lt(s,t,e){ge.onError(Te(s,Qe(t,t),void 0,e))}function qP(){Pe.reset(),It=null,re=null,fs="",ai=-1,pr=-1,je.length=0}function Ug(s,t){if(qP(),oi=s,ge=U.extend({},kg),t){let r;for(r in t)t[r]!=null&&(ge[r]=t[r])}Pe.mode=ge.parseMode==="html"?1:ge.parseMode==="sfc"?2:0,Pe.inXML=ge.ns===1||ge.ns===2;let e=t&&t.delimiters;e&&(Pe.delimiterOpen=Ko(e[0]),Pe.delimiterClose=Ko(e[1]));let i=fa=Ag([],s);return Pe.parse(oi),i.loc=Qe(0,s.length),i.children=Fg(i.children),fa=null,i}function QP(s,t){Fo(s,void 0,t,!!$g(s))}function $g(s){let t=s.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!pa(t[0])?t[0]:null}function Fo(s,t,e,i=!1,r=!1){let{children:n}=s,a=[];for(let u=0;u<n.length;u++){let p=n[u];if(p.type===1&&p.tagType===0){let h=i?0:ts(p,e);if(h>0){if(h>=2){p.codegenNode.patchFlag=-1,a.push(p);continue}}else{let f=p.codegenNode;if(f.type===13){let m=f.patchFlag;if((m===void 0||m===512||m===1)&&Hg(p,e)>=2){let d=Kg(p);d&&(f.props=e.hoist(d))}f.dynamicProps&&(f.dynamicProps=e.hoist(f.dynamicProps))}}}else if(p.type===12&&(i?0:ts(p,e))>=2){p.codegenNode.type===14&&p.codegenNode.arguments.length>0&&p.codegenNode.arguments.push("-1"),a.push(p);continue}if(p.type===1){let h=p.tagType===1;h&&e.scopes.vSlot++,Fo(p,s,e,!1,r),h&&e.scopes.vSlot--}else if(p.type===11)Fo(p,s,e,p.children.length===1,!0);else if(p.type===9)for(let h=0;h<p.branches.length;h++)Fo(p.branches[h],s,e,p.branches[h].children.length===1,r)}let o=!1;if(a.length===n.length&&s.type===1){if(s.tagType===0&&s.codegenNode&&s.codegenNode.type===13&&U.isArray(s.codegenNode.children))s.codegenNode.children=l(Ri(s.codegenNode.children)),o=!0;else if(s.tagType===1&&s.codegenNode&&s.codegenNode.type===13&&s.codegenNode.children&&!U.isArray(s.codegenNode.children)&&s.codegenNode.children.type===15){let u=c(s.codegenNode,"default");u&&(u.returns=l(Ri(u.returns)),o=!0)}else if(s.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!U.isArray(t.codegenNode.children)&&t.codegenNode.children.type===15){let u=Mt(s,"slot",!0),p=u&&u.arg&&c(t.codegenNode,u.arg);p&&(p.returns=l(Ri(p.returns)),o=!0)}}if(!o)for(let u of a)u.codegenNode=e.cache(u.codegenNode);function l(u){let p=e.cache(u);return p.needArraySpread=!0,p}function c(u,p){if(u.children&&!U.isArray(u.children)&&u.children.type===15){let h=u.children.properties.find(f=>f.key===p||f.key.content===p);return h&&h.value}}a.length&&e.transformHoist&&e.transformHoist(n,e,s)}function ts(s,t){let{constantCache:e}=t;switch(s.type){case 1:if(s.tagType!==0)return 0;let i=e.get(s);if(i!==void 0)return i;let r=s.codegenNode;if(r.type!==13||r.isBlock&&s.tag!=="svg"&&s.tag!=="foreignObject"&&s.tag!=="math")return 0;if(r.patchFlag===void 0){let a=3,o=Hg(s,t);if(o===0)return e.set(s,0),0;o<a&&(a=o);for(let l=0;l<s.children.length;l++){let c=ts(s.children[l],t);if(c===0)return e.set(s,0),0;c<a&&(a=c)}if(a>1)for(let l=0;l<s.props.length;l++){let c=s.props[l];if(c.type===7&&c.name==="bind"&&c.exp){let u=ts(c.exp,t);if(u===0)return e.set(s,0),0;u<a&&(a=u)}}if(r.isBlock){for(let l=0;l<s.props.length;l++)if(s.props[l].type===7)return e.set(s,0),0;t.removeHelper(ki),t.removeHelper(Ar(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(mr(t.inSSR,r.isComponent))}return e.set(s,a),a}else return e.set(s,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return ts(s.content,t);case 4:return s.constType;case 8:let n=3;for(let a=0;a<s.children.length;a++){let o=s.children[a];if(U.isString(o)||U.isSymbol(o))continue;let l=ts(o,t);if(l===0)return 0;l<n&&(n=l)}return n;case 20:return 2;default:return 0}}var JP=new Set([rl,nl,rn,ln]);function jg(s,t){if(s.type===14&&!U.isString(s.callee)&&JP.has(s.callee)){let e=s.arguments[0];if(e.type===4)return ts(e,t);if(e.type===14)return jg(e,t)}return 0}function Hg(s,t){let e=3,i=Kg(s);if(i&&i.type===15){let{properties:r}=i;for(let n=0;n<r.length;n++){let{key:a,value:o}=r[n],l=ts(a,t);if(l===0)return l;l<e&&(e=l);let c;if(o.type===4?c=ts(o,t):o.type===14?c=jg(o,t):c=0,c===0)return c;c<e&&(e=c)}}return e}function Kg(s){let t=s.codegenNode;if(t.type===13)return t.props}function Gg(s,{filename:t="",prefixIdentifiers:e=!1,hoistStatic:i=!1,hmr:r=!1,cacheHandlers:n=!1,nodeTransforms:a=[],directiveTransforms:o={},transformHoist:l=null,isBuiltInComponent:c=U.NOOP,isCustomElement:u=U.NOOP,expressionPlugins:p=[],scopeId:h=null,slotted:f=!0,ssr:m=!1,inSSR:d=!1,ssrCssVars:A="",bindingMetadata:y=U.EMPTY_OBJ,inline:S=!1,isTS:P=!1,onError:x=Dp,onWarn:v=Eg,compatConfig:L}){let R=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),I={filename:t,selfName:R&&U.capitalize(U.camelize(R[1])),prefixIdentifiers:e,hoistStatic:i,hmr:r,cacheHandlers:n,nodeTransforms:a,directiveTransforms:o,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:p,scopeId:h,slotted:f,ssr:m,inSSR:d,ssrCssVars:A,bindingMetadata:y,inline:S,isTS:P,onError:x,onWarn:v,compatConfig:L,root:s,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:s,childIndex:0,inVOnce:!1,helper(g){let _=I.helpers.get(g)||0;return I.helpers.set(g,_+1),g},removeHelper(g){let _=I.helpers.get(g);if(_){let M=_-1;M?I.helpers.set(g,M):I.helpers.delete(g)}},helperString(g){return`_${Ft[I.helper(g)]}`},replaceNode(g){I.parent.children[I.childIndex]=I.currentNode=g},removeNode(g){let _=I.parent.children,M=g?_.indexOf(g):I.currentNode?I.childIndex:-1;!g||g===I.currentNode?(I.currentNode=null,I.onNodeRemoved()):I.childIndex>M&&(I.childIndex--,I.onNodeRemoved()),I.parent.children.splice(M,1)},onNodeRemoved:U.NOOP,addIdentifiers(g){U.isString(g)?N(g):g.identifiers?g.identifiers.forEach(N):g.type===4&&N(g.content)},removeIdentifiers(g){U.isString(g)?b(g):g.identifiers?g.identifiers.forEach(b):g.type===4&&b(g.content)},hoist(g){U.isString(g)&&(g=z(g)),I.hoists.push(g);let _=z(`_hoisted_${I.hoists.length}`,!1,g.loc,2);return _.hoisted=g,_},cache(g,_=!1,M=!1){let C=gg(I.cached.length,g,_,M);return I.cached.push(C),C}};I.filters=new Set;function N(g){let{identifiers:_}=I;_[g]===void 0&&(_[g]=0),_[g]++}function b(g){I.identifiers[g]--}return I}function Wg(s,t){let e=Gg(s,t);da(s,e),t.hoistStatic&&QP(s,e),t.ssr||YP(s,e),s.helpers=new Set([...e.helpers.keys()]),s.components=[...e.components],s.directives=[...e.directives],s.imports=e.imports,s.hoists=e.hoists,s.temps=e.temps,s.cached=e.cached,s.transformed=!0,s.filters=[...e.filters]}function YP(s,t){let{helper:e}=t,{children:i}=s;if(i.length===1){let r=$g(s);if(r&&r.codegenNode){let n=r.codegenNode;n.type===13&&cl(n,t),s.codegenNode=n}else s.codegenNode=i[0]}else if(i.length>1){let r=64;s.codegenNode=nn(t,e(sn),void 0,s.children,r,void 0,void 0,!0,void 0,!1)}}function zP(s,t){let e=0,i=()=>{e--};for(;e<s.children.length;e++){let r=s.children[e];U.isString(r)||(t.grandParent=t.parent,t.parent=s,t.childIndex=e,t.onNodeRemoved=i,da(r,t))}}function da(s,t){t.currentNode=s;let{nodeTransforms:e}=t,i=[];for(let n=0;n<e.length;n++){let a=e[n](s,t);if(a&&(U.isArray(a)?i.push(...a):i.push(a)),t.currentNode)s=t.currentNode;else return}switch(s.type){case 3:t.ssr||t.helper(on);break;case 5:t.ssr||t.helper(il);break;case 9:for(let n=0;n<s.branches.length;n++)da(s.branches[n],t);break;case 10:case 11:case 1:case 0:zP(s,t);break}t.currentNode=s;let r=i.length;for(;r--;)i[r]()}function Gp(s,t){let e=U.isString(s)?i=>i===s:i=>s.test(i);return(i,r)=>{if(i.type===1){let{props:n}=i;if(i.tagType===3&&n.some(hl))return;let a=[];for(let o=0;o<n.length;o++){let l=n[o];if(l.type===7&&e(l.name)){n.splice(o,1),o--;let c=t(i,l,r);c&&a.push(c)}}return a}}}var dl="/*@__PURE__*/",Vo=s=>`${Ft[s]}: _${Ft[s]}`;function sg(s,{mode:t="function",prefixIdentifiers:e=t==="module",sourceMap:i=!1,filename:r="template.vue.html",scopeId:n=null,optimizeImports:a=!1,runtimeGlobalName:o="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:p=!1,inSSR:h=!1}){let f={mode:t,prefixIdentifiers:e,sourceMap:i,filename:r,scopeId:n,optimizeImports:a,runtimeGlobalName:o,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:p,inSSR:h,source:s.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(A){return`_${Ft[A]}`},push(A,y=-2,S){if(f.code+=A,f.map){if(S){let P;if(S.type===4&&!S.isStatic){let x=S.content.replace(/^_ctx\./,"");x!==S.content&&li(x)&&(P=x)}S.loc.source&&d(S.loc.start,P)}y===-3?$p(f,A):(f.offset+=A.length,y===-2?f.column+=A.length:(y===-1&&(y=A.length-1),f.line++,f.column=A.length-y)),S&&S.loc!==et&&S.loc.source&&d(S.loc.end)}},indent(){m(++f.indentLevel)},deindent(A=!1){A?--f.indentLevel:m(--f.indentLevel)},newline(){m(f.indentLevel)}};function m(A){f.push(`
|
|
16
|
+
`+" ".repeat(A),0)}function d(A,y=null){let{_names:S,_mappings:P}=f.map;y!==null&&!S.has(y)&&S.add(y),P.add({originalLine:A.line,originalColumn:A.column-1,generatedLine:f.line,generatedColumn:f.column-1,source:r,name:y})}return i&&(f.map=new hP.SourceMapGenerator,f.map.setSourceContent(r,f.source),f.map._sources.add(r)),f}function Xg(s,t={}){let e=sg(s,t);t.onContextCreated&&t.onContextCreated(e);let{mode:i,push:r,prefixIdentifiers:n,indent:a,deindent:o,newline:l,scopeId:c,ssr:u}=e,p=Array.from(s.helpers),h=p.length>0,f=!n&&i!=="module",m=c!=null&&i==="module",d=!!t.inline,A=d?sg(s,t):e;i==="module"?eN(s,A,m,d):ZP(s,A);let y=u?"ssrRender":"render",S=u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];t.bindingMetadata&&!t.inline&&S.push("$props","$setup","$data","$options");let P=t.isTS?S.map(x=>`${x}: any`).join(","):S.join(", ");if(r(d?`(${P}) => {`:`function ${y}(${P}) {`),a(),f&&(r("with (_ctx) {"),a(),h&&(r(`const { ${p.map(Vo).join(", ")} } = _Vue
|
|
17
|
+
`,-1),l())),s.components.length&&(yp(s.components,"component",e),(s.directives.length||s.temps>0)&&l()),s.directives.length&&(yp(s.directives,"directive",e),s.temps>0&&l()),s.filters&&s.filters.length&&(l(),yp(s.filters,"filter",e),l()),s.temps>0){r("let ");for(let x=0;x<s.temps;x++)r(`${x>0?", ":""}_temp${x}`)}return(s.components.length||s.directives.length||s.temps)&&(r(`
|
|
18
|
+
`,0),l()),u||r("return "),s.codegenNode?Le(s.codegenNode,e):r("null"),f&&(o(),r("}")),o(),r("}"),{ast:s,code:e.code,preamble:d?A.code:"",map:e.map?e.map.toJSON():void 0}}function ZP(s,t){let{ssr:e,prefixIdentifiers:i,push:r,newline:n,runtimeModuleName:a,runtimeGlobalName:o,ssrRuntimeModuleName:l}=t,c=e?`require(${JSON.stringify(a)})`:o,u=Array.from(s.helpers);if(u.length>0){if(i)r(`const { ${u.map(Vo).join(", ")} } = ${c}
|
|
19
19
|
`,-1);else if(r(`const _Vue = ${c}
|
|
20
|
-
`,-1),s.hoists.length){let
|
|
20
|
+
`,-1),s.hoists.length){let p=[Qo,Jo,on,Yo,Op].filter(h=>u.includes(h)).map(Vo).join(", ");r(`const { ${p} } = _Vue
|
|
21
21
|
`,-1)}}s.ssrHelpers&&s.ssrHelpers.length&&r(`const { ${s.ssrHelpers.map(Vo).join(", ")} } = require("${l}")
|
|
22
|
-
`,-1),qg(s.hoists,t),n(),r("return ")}function
|
|
22
|
+
`,-1),qg(s.hoists,t),n(),r("return ")}function eN(s,t,e,i){let{push:r,newline:n,optimizeImports:a,runtimeModuleName:o,ssrRuntimeModuleName:l}=t;if(s.helpers.size){let c=Array.from(s.helpers);a?(r(`import { ${c.map(u=>Ft[u]).join(", ")} } from ${JSON.stringify(o)}
|
|
23
23
|
`,-1),r(`
|
|
24
24
|
// Binding optimization for webpack code-split
|
|
25
25
|
const ${c.map(u=>`_${Ft[u]} = ${Ft[u]}`).join(", ")}
|
|
26
26
|
`,-1)):r(`import { ${c.map(u=>`${Ft[u]} as _${Ft[u]}`).join(", ")} } from ${JSON.stringify(o)}
|
|
27
27
|
`,-1)}s.ssrHelpers&&s.ssrHelpers.length&&r(`import { ${s.ssrHelpers.map(c=>`${Ft[c]} as _${Ft[c]}`).join(", ")} } from "${l}"
|
|
28
|
-
`,-1),s.imports.length&&(
|
|
29
|
-
`:""} ? ${d}.value ${
|
|
30
|
-
`:""} ? ${T}${d}.value${g} : ${T}${d}${g}`}else return w?d:R(d);else{if(E==="props")return U.genPropsAccessExp(d);if(E==="props-aliased")return U.genPropsAccessExp(a.__propsAliases[d])}}else{if(E&&E.startsWith("setup")||E==="literal-const")return`$setup.${d}`;if(E==="props-aliased")return`$props['${a.__propsAliases[d]}']`;if(E)return`$${E}.${d}`}return`_ctx.${d}`},l=s.content,c=s.ast;if(c===!1)return s;if(c===null||!c&&li(l)){let d=t.identifiers[l],A=U.isGloballyAllowed(l),y=yN(l);return!e&&!d&&!y&&(!A||a[l])?(ig(a[l])&&(s.constType=1),s.content=o(l)):d||(y?s.constType=3:s.constType=2),s}if(!c){let d=i?` ${l} `:`(${l})${e?"=>{}":""}`;try{c=en.parseExpression(d,{sourceType:"module",plugins:t.expressionPlugins})}catch(A){return t.onError(Te(46,s.loc,void 0,A.message)),s}}let u=[],h=[],p=Object.create(t.identifiers);bg(c,(d,A,y,E,x)=>{if(vg(d,A)||d.name.startsWith("_filter_"))return;let N=E&&EN(d);N&&!x?(kh(A)&&A.shorthand&&(d.prefix=`${d.name}: `),d.name=o(d.name,A,d),u.push(d)):(!(N&&x)&&(!A||A.type!=="CallExpression"&&A.type!=="NewExpression"&&A.type!=="MemberExpression")&&(d.isConstant=!0),u.push(d))},!0,h,p);let f=[];u.sort((d,A)=>d.start-A.start),u.forEach((d,A)=>{let y=d.start-1,E=d.end-1,x=u[A-1],N=l.slice(x?x.end-1:0,y);(N.length||d.prefix)&&f.push(N+(d.prefix||""));let w=l.slice(y,E);f.push(z(d.name,!1,{start:bh(s.loc.start,w,y),end:bh(s.loc.start,w,E),source:w},d.isConstant?3:0)),A===u.length-1&&E<l.length&&f.push(l.slice(E))});let m;return f.length?(m=Zt(f,s.loc),m.ast=c):(m=s,m.constType=3),m.identifiers=Object.keys(p),m}function EN(s){return!(U.isGloballyAllowed(s.name)||s.name==="require")}function Wh(s){return U.isString(s)?s:s.type===4?s.content:s.children.map(Wh).join("")}function ig(s){return s==="setup-const"||s==="literal-const"}var SN=Gh(/^(?:if|else|else-if)$/,(s,t,e)=>Zg(s,t,e,(i,r,n)=>{let a=e.parent.children,o=a.indexOf(i),l=0;for(;o-->=0;){let c=a[o];c&&c.type===9&&(l+=c.branches.length)}return()=>{if(n)i.codegenNode=ng(r,l,e);else{let c=TN(i.codegenNode);c.alternate=ng(r,l+i.branches.length-1,e)}}}));function Zg(s,t,e,i){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:s.loc;e.onError(Te(28,t.loc)),t.exp=z("true",!1,r)}if(e.prefixIdentifiers&&t.exp&&(t.exp=_t(t.exp,e)),t.name==="if"){let r=rg(s,t),n={type:9,loc:GP(s.loc),branches:[r]};if(e.replaceNode(n),i)return i(n,r,!0)}else{let r=e.parent.children,n=r.indexOf(s);for(;n-->=-1;){let a=r[n];if(a&&Hh(a)){e.removeNode(a);continue}if(a&&a.type===9){(t.name==="else-if"||t.name==="else")&&a.branches[a.branches.length-1].condition===void 0&&e.onError(Te(30,s.loc)),e.removeNode();let o=rg(s,t);{let c=o.userKey;c&&a.branches.forEach(({userKey:u})=>{bN(u,c)&&e.onError(Te(29,o.userKey.loc))})}a.branches.push(o);let l=i&&i(a,o,!1);da(o,e),l&&l(),e.currentNode=null}else e.onError(Te(30,s.loc));break}}}function rg(s,t){let e=s.tagType===3;return{type:10,loc:s.loc,condition:t.name==="else"?void 0:t.exp,children:e&&!Mt(s,"for")?s.children:[s],userKey:ua(s,"key"),isTemplateIf:e}}function ng(s,t,e){return s.condition?Ho(s.condition,ag(s,t,e),gt(e.helper(on),['""',"true"])):ag(s,t,e)}function ag(s,t,e){let{helper:i}=e,r=Ze("key",z(`${t}`,!1,et,2)),{children:n}=s,a=n[0];if(n.length!==1||a.type!==1)if(n.length===1&&a.type===11){let l=a.codegenNode;return pa(l,r,e),l}else return nn(e,i(sn),es([r]),n,64,void 0,void 0,!0,!1,!1,s.loc);else{let l=a.codegenNode,c=Dg(l);return c.type===13&&cl(c,e),pa(c,r,e),l}}function bN(s,t){if(!s||s.type!==t.type)return!1;if(s.type===6){if(s.value.content!==t.value.content)return!1}else{let e=s.exp,i=t.exp;if(e.type!==i.type||e.type!==4||e.isStatic!==i.isStatic||e.content!==i.content)return!1}return!0}function TN(s){for(;;)if(s.type===19)if(s.alternate.type===19)s=s.alternate;else return s;else s.type===20&&(s=s.value)}var CN=Gh("for",(s,t,e)=>{let{helper:i,removeHelper:r}=e;return ey(s,t,e,n=>{let a=gt(i(sl),[n.source]),o=an(s),l=Mt(s,"memo"),c=ua(s,"key",!1,!0),u=c&&c.type===7,h=c&&(c.type===6?c.value?z(c.value.content,!0):void 0:c.exp);l&&h&&u&&(c.exp=h=_t(h,e));let p=c&&h?Ze("key",h):null;o&&(l&&(l.exp=_t(l.exp,e)),p&&c.type!==6&&(p.value=_t(p.value,e)));let f=n.source.type===4&&n.source.constType>0,m=f?64:c?128:256;return n.codegenNode=nn(e,i(sn),void 0,a,m,void 0,void 0,!0,!f,!1,s.loc),()=>{let d,{children:A}=n;o&&s.children.some(x=>{if(x.type===1){let N=ua(x,"key");if(N)return e.onError(Te(33,N.loc)),!0}});let y=A.length!==1||A[0].type!==1,E=ha(s)?s:o&&s.children.length===1&&ha(s.children[0])?s.children[0]:null;if(E?(d=E.codegenNode,o&&p&&pa(d,p,e)):y?d=nn(e,i(sn),p?es([p]):void 0,s.children,64,void 0,void 0,!0,void 0,!1):(d=A[0].codegenNode,o&&p&&pa(d,p,e),d.isBlock!==!f&&(d.isBlock?(r(ki),r(Ar(e.inSSR,d.isComponent))):r(mr(e.inSSR,d.isComponent))),d.isBlock=!f,d.isBlock?(i(ki),i(Ar(e.inSSR,d.isComponent))):i(mr(e.inSSR,d.isComponent))),l){let x=dr(Wo(n.parseResult,[z("_cached")]));x.body=yg([Zt(["const _memo = (",l.exp,")"]),Zt(["if (_cached",...h?[" && _cached.key === ",h]:[],` && ${e.helperString(Mh)}(_cached, _memo)) return _cached`]),Zt(["const _item = ",d]),z("_item.memo = _memo"),z("return _item")]),a.arguments.push(x,z("_cache"),z(String(e.cached.length))),e.cached.push(null)}else a.arguments.push(dr(Wo(n.parseResult),d,!0))}})});function ey(s,t,e,i){if(!t.exp){e.onError(Te(31,t.loc));return}let r=t.forParseResult;if(!r){e.onError(Te(32,t.loc));return}Xh(r,e);let{addIdentifiers:n,removeIdentifiers:a,scopes:o}=e,{source:l,value:c,key:u,index:h}=r,p={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:h,parseResult:r,children:an(s)?s.children:[s]};e.replaceNode(p),o.vFor++,e.prefixIdentifiers&&(c&&n(c),u&&n(u),h&&n(h));let f=i&&i(p);return()=>{o.vFor--,e.prefixIdentifiers&&(c&&a(c),u&&a(u),h&&a(h)),f&&f()}}function Xh(s,t){s.finalized||(t.prefixIdentifiers&&(s.source=_t(s.source,t),s.key&&(s.key=_t(s.key,t,!0)),s.index&&(s.index=_t(s.index,t,!0)),s.value&&(s.value=_t(s.value,t,!0))),s.finalized=!0)}function Wo({value:s,key:t,index:e},i=[]){return IN([s,t,e,...i])}function IN(s){let t=s.length;for(;t--&&!s[t];);return s.slice(0,t+1).map((e,i)=>e||z("_".repeat(i+1),!1))}var og=z("undefined",!1),ty=(s,t)=>{if(s.type===1&&(s.tagType===1||s.tagType===3)){let e=Mt(s,"slot");if(e){let i=e.exp;return t.prefixIdentifiers&&i&&t.addIdentifiers(i),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&i&&t.removeIdentifiers(i),t.scopes.vSlot--}}}},sy=(s,t)=>{let e;if(an(s)&&s.props.some(pl)&&(e=Mt(s,"for"))){let i=e.forParseResult;if(i){Xh(i,t);let{value:r,key:n,index:a}=i,{addIdentifiers:o,removeIdentifiers:l}=t;return r&&o(r),n&&o(n),a&&o(a),()=>{r&&l(r),n&&l(n),a&&l(a)}}}},_N=(s,t,e,i)=>dr(s,e,!1,!0,e.length?e[0].loc:i);function iy(s,t,e=_N){t.helper(ol);let{children:i,loc:r}=s,n=[],a=[],o=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(o=s.props.some(A=>pl(A)&&(Ct(A.arg,t.identifiers)||Ct(A.exp,t.identifiers)))||i.some(A=>Ct(A,t.identifiers)));let l=Mt(s,"slot",!0);if(l){let{arg:A,exp:y}=l;A&&!Cs(A)&&(o=!0),n.push(Ze(A||z("default",!0),e(y,void 0,i,r)))}let c=!1,u=!1,h=[],p=new Set,f=0;for(let A=0;A<i.length;A++){let y=i[A],E;if(!an(y)||!(E=Mt(y,"slot",!0))){y.type!==3&&h.push(y);continue}if(l){t.onError(Te(37,E.loc));break}c=!0;let{children:x,loc:N}=y,{arg:w=z("default",!0),exp:M,loc:R}=E,I;Cs(w)?I=w?w.content:"default":o=!0;let _=Mt(y,"for"),T=e(M,_,x,N),g,P;if(g=Mt(y,"if"))o=!0,a.push(Ho(g.exp,Do(w,T,f++),og));else if(P=Mt(y,/^else(?:-if)?$/,!0)){let L=A,C;for(;L--&&(C=i[L],!!Hh(C)););if(C&&an(C)&&Mt(C,/^(?:else-)?if$/)){let b=a[a.length-1];for(;b.alternate.type===19;)b=b.alternate;b.alternate=P.exp?Ho(P.exp,Do(w,T,f++),og):Do(w,T,f++)}else t.onError(Te(30,P.loc))}else if(_){o=!0;let L=_.forParseResult;L?(Xh(L,t),a.push(gt(t.helper(sl),[L.source,dr(Wo(L),Do(w,T),!0)]))):t.onError(Te(32,_.loc))}else{if(I){if(p.has(I)){t.onError(Te(38,R));continue}p.add(I),I==="default"&&(u=!0)}n.push(Ze(w,T))}}if(!l){let A=(y,E)=>{let x=e(y,void 0,E,r);return t.compatConfig&&(x.isNonScopedSlot=!0),Ze("default",x)};c?h.length&&!h.every(fl)&&(u?t.onError(Te(39,h[0].loc)):n.push(A(void 0,h))):n.push(A(void 0,i))}let m=o?2:Uo(s.children)?3:1,d=es(n.concat(Ze("_",z(m+"",!1))),r);return a.length&&(d=gt(t.helper(Lh),[d,Ri(a)])),{slots:d,hasDynamicSlots:o}}function Do(s,t,e){let i=[Ze("name",s),Ze("fn",t)];return e!=null&&i.push(Ze("key",z(String(e),!0))),es(i)}function Uo(s){for(let t=0;t<s.length;t++){let e=s[t];switch(e.type){case 1:if(e.tagType===2||Uo(e.children))return!0;break;case 9:if(Uo(e.branches))return!0;break;case 10:case 11:if(Uo(e.children))return!0;break}}return!1}var ry=new WeakMap,ny=(s,t)=>function(){if(s=t.currentNode,!(s.type===1&&(s.tagType===0||s.tagType===1)))return;let{tag:i,props:r}=s,n=s.tagType===1,a=n?ay(s,t):`"${i}"`,o=U.isObject(a)&&a.callee===zo,l,c,u=0,h,p,f,m=o||a===tn||a===qo||!n&&(i==="svg"||i==="foreignObject"||i==="math");if(r.length>0){let d=qh(s,t,void 0,n,o);l=d.props,u=d.patchFlag,p=d.dynamicPropNames;let A=d.directives;f=A&&A.length?Ri(A.map(y=>oy(y,t))):void 0,d.shouldUseBlock&&(m=!0)}if(s.children.length>0)if(a===ia&&(m=!0,u|=1024),n&&a!==tn&&a!==ia){let{slots:A,hasDynamicSlots:y}=iy(s,t);c=A,y&&(u|=1024)}else if(s.children.length===1&&a!==tn){let A=s.children[0],y=A.type,E=y===5||y===8;E&&ts(A,t)===0&&(u|=1),E||y===2?c=A:c=s.children}else c=s.children;p&&p.length&&(h=NN(p)),s.codegenNode=nn(t,a,l,c,u===0?void 0:u,h,f,!!m,!1,n,s.loc)};function ay(s,t,e=!1){let{tag:i}=s,r=Ph(i),n=ua(s,"is",!1,!0);if(n)if(r||fr("COMPILER_IS_ON_ELEMENT",t)){let o;if(n.type===6?o=n.value&&z(n.value.content,!0):(o=n.exp,o||(o=z("is",!1,n.arg.loc),o=n.exp=_t(o,t))),o)return gt(t.helper(zo),[o])}else n.type===6&&n.value.content.startsWith("vue:")&&(i=n.value.content.slice(4));let a=Fh(i)||t.isBuiltInComponent(i);if(a)return e||t.helper(a),a;{let o=_h(i,t);if(o)return o;let l=i.indexOf(".");if(l>0){let c=_h(i.slice(0,l),t);if(c)return c+i.slice(l)}}return t.selfName&&U.capitalize(U.camelize(i))===t.selfName?(t.helper(ra),t.components.add(i+"__self"),gr(i,"component")):(t.helper(ra),t.components.add(i),gr(i,"component"))}function _h(s,t){let e=t.bindingMetadata;if(!e||e.__isScriptSetup===!1)return;let i=U.camelize(s),r=U.capitalize(i),n=c=>{if(e[s]===c)return s;if(e[i]===c)return i;if(e[r]===c)return r},a=n("setup-const")||n("setup-reactive-const")||n("literal-const");if(a)return t.inline?a:`$setup[${JSON.stringify(a)}]`;let o=n("setup-let")||n("setup-ref")||n("setup-maybe-ref");if(o)return t.inline?`${t.helperString(oa)}(${o})`:`$setup[${JSON.stringify(o)}]`;let l=n("props");if(l)return`${t.helperString(oa)}(${t.inline?"__props":"$props"}[${JSON.stringify(l)}])`}function qh(s,t,e=s.props,i,r,n=!1){let{tag:a,loc:o,children:l}=s,c=[],u=[],h=[],p=l.length>0,f=!1,m=0,d=!1,A=!1,y=!1,E=!1,x=!1,N=!1,w=[],M=T=>{c.length&&(u.push(es(lg(c),o)),c=[]),T&&u.push(T)},R=()=>{t.scopes.vFor>0&&c.push(Ze(z("ref_for",!0),z("true")))},I=({key:T,value:g})=>{if(Cs(T)){let P=T.content,L=U.isOn(P);if(L&&(!i||r)&&P.toLowerCase()!=="onclick"&&P!=="onUpdate:modelValue"&&!U.isReservedProp(P)&&(E=!0),L&&U.isReservedProp(P)&&(N=!0),L&&g.type===14&&(g=g.arguments[0]),g.type===20||(g.type===4||g.type===8)&&ts(g,t)>0)return;P==="ref"?d=!0:P==="class"?A=!0:P==="style"?y=!0:P!=="key"&&!w.includes(P)&&w.push(P),i&&(P==="class"||P==="style")&&!w.includes(P)&&w.push(P)}else x=!0};for(let T=0;T<e.length;T++){let g=e[T];if(g.type===6){let{loc:P,name:L,nameLoc:C,value:b}=g,J=!0;if(L==="ref"&&(d=!0,R(),b&&t.inline)){let H=t.bindingMetadata[b.content];(H==="setup-let"||H==="setup-ref"||H==="setup-maybe-ref")&&(J=!1,c.push(Ze(z("ref_key",!0),z(b.content,!0,b.loc))))}if(L==="is"&&(Ph(a)||b&&b.content.startsWith("vue:")||fr("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Ze(z(L,!0,C),z(b?b.content:"",J,b?b.loc:P)))}else{let{name:P,arg:L,exp:C,loc:b,modifiers:J}=g,H=P==="bind",fe=P==="on";if(P==="slot"){i||t.onError(Te(40,b));continue}if(P==="once"||P==="memo"||P==="is"||H&&Di(L,"is")&&(Ph(a)||fr("COMPILER_IS_ON_ELEMENT",t))||fe&&n)continue;if((H&&Di(L,"key")||fe&&p&&Di(L,"vue:before-update"))&&(f=!0),H&&Di(L,"ref")&&R(),!L&&(H||fe)){if(x=!0,C)if(H){if(M(),fr("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(C);continue}R(),M(),u.push(C)}else M({type:14,loc:b,callee:t.helper(al),arguments:i?[C]:[C,"true"]});else t.onError(Te(H?34:35,b));continue}H&&J.some(ae=>ae.content==="prop")&&(m|=32);let Se=t.directiveTransforms[P];if(Se){let{props:ae,needRuntime:Re}=Se(g,s,t);!n&&ae.forEach(I),fe&&L&&!Cs(L)?M(es(ae,o)):c.push(...ae),Re&&(h.push(g),U.isSymbol(Re)&&ry.set(g,Re))}else U.isBuiltInDirective(P)||(h.push(g),p&&(f=!0))}}let _;if(u.length?(M(),u.length>1?_=gt(t.helper(na),u,o):_=u[0]):c.length&&(_=es(lg(c),o)),x?m|=16:(A&&!i&&(m|=2),y&&!i&&(m|=4),w.length&&(m|=8),E&&(m|=32)),!f&&(m===0||m===32)&&(d||N||h.length>0)&&(m|=512),!t.inSSR&&_)switch(_.type){case 15:let T=-1,g=-1,P=!1;for(let b=0;b<_.properties.length;b++){let J=_.properties[b].key;Cs(J)?J.content==="class"?T=b:J.content==="style"&&(g=b):J.isHandlerKey||(P=!0)}let L=_.properties[T],C=_.properties[g];P?_=gt(t.helper(rn),[_]):(L&&!Cs(L.value)&&(L.value=gt(t.helper(rl),[L.value])),C&&(y||C.value.type===4&&C.value.content.trim()[0]==="["||C.value.type===17)&&(C.value=gt(t.helper(nl),[C.value])));break;case 14:break;default:_=gt(t.helper(rn),[gt(t.helper(ln),[_])]);break}return{props:_,directives:h,patchFlag:m,dynamicPropNames:w,shouldUseBlock:f}}function lg(s){let t=new Map,e=[];for(let i=0;i<s.length;i++){let r=s[i];if(r.key.type===8||!r.key.isStatic){e.push(r);continue}let n=r.key.content,a=t.get(n);a?(n==="style"||n==="class"||U.isOn(n))&&PN(a,r):(t.set(n,r),e.push(r))}return e}function PN(s,t){s.value.type===17?s.value.elements.push(t.value):s.value=Ri([s.value,t.value],s.loc)}function oy(s,t){let e=[],i=ry.get(s);if(i)e.push(t.helperString(i));else{let n=_h("v-"+s.name,t);n?e.push(n):(t.helper(Zo),t.directives.add(s.name),e.push(gr(s.name,"directive")))}let{loc:r}=s;if(s.exp&&e.push(s.exp),s.arg&&(s.exp||e.push("void 0"),e.push(s.arg)),Object.keys(s.modifiers).length){s.arg||(s.exp||e.push("void 0"),e.push("void 0"));let n=z("true",!1,r);e.push(es(s.modifiers.map(a=>Ze(a,n)),r))}return Ri(e,s.loc)}function NN(s){let t="[";for(let e=0,i=s.length;e<i;e++)t+=JSON.stringify(s[e]),e<i-1&&(t+=", ");return t+"]"}function Ph(s){return s==="component"||s==="Component"}var xN=(s,t)=>{if(ha(s)){let{children:e,loc:i}=s,{slotName:r,slotProps:n}=ly(s,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"],o=2;n&&(a[2]=n,o=3),e.length&&(a[3]=dr([],e,!1,!1,i),o=4),t.scopeId&&!t.slotted&&(o=5),a.splice(o),s.codegenNode=gt(t.helper(wh),a,i)}};function ly(s,t){let e='"default"',i,r=[];for(let n=0;n<s.props.length;n++){let a=s.props[n];if(a.type===6)a.value&&(a.name==="name"?e=JSON.stringify(a.value.content):(a.name=U.camelize(a.name),r.push(a)));else if(a.name==="bind"&&Di(a.arg,"name")){if(a.exp)e=a.exp;else if(a.arg&&a.arg.type===4){let o=U.camelize(a.arg.content);e=a.exp=z(o,!1,a.arg.loc),e=a.exp=_t(a.exp,t)}}else a.name==="bind"&&a.arg&&Cs(a.arg)&&(a.arg.content=U.camelize(a.arg.content)),r.push(a)}if(r.length>0){let{props:n,directives:a}=qh(s,t,r,!1,!1);i=n,a.length&&t.onError(Te(36,a[0].loc))}return{slotName:e,slotProps:i}}var cy=(s,t,e,i)=>{let{loc:r,modifiers:n,arg:a}=s;!s.exp&&!n.length&&e.onError(Te(35,r));let o;if(a.type===4)if(a.isStatic){let h=a.content;h.startsWith("vue:")&&(h=`vnode-${h.slice(4)}`);let p=t.tagType!==0||h.startsWith("vnode")||!/[A-Z]/.test(h)?U.toHandlerKey(U.camelize(h)):`on:${h}`;o=z(p,!0,a.loc)}else o=Zt([`${e.helperString(jo)}(`,a,")"]);else o=a,o.children.unshift(`${e.helperString(jo)}(`),o.children.push(")");let l=s.exp;l&&!l.content.trim()&&(l=void 0);let c=e.cacheHandlers&&!l&&!e.inVOnce;if(l){let h=Uh(l,e),p=!(h||Lg(l,e)),f=l.content.includes(";");e.prefixIdentifiers&&(p&&e.addIdentifiers("$event"),l=s.exp=_t(l,e,!1,f),p&&e.removeIdentifiers("$event"),c=e.cacheHandlers&&!e.inVOnce&&!(l.type===4&&l.constType>0)&&!(h&&t.tagType===1)&&!Ct(l,e.identifiers),c&&h&&(l.type===4?l.content=`${l.content} && ${l.content}(...args)`:l.children=[...l.children," && ",...l.children,"(...args)"])),(p||c&&h)&&(l=Zt([`${p?e.isTS?"($event: any)":"$event":`${e.isTS?`
|
|
28
|
+
`,-1),s.imports.length&&(tN(s.imports,t),n()),qg(s.hoists,t),n(),i||r("export ")}function yp(s,t,{helper:e,push:i,newline:r,isTS:n}){let a=e(t==="filter"?el:t==="component"?ra:Zo);for(let o=0;o<s.length;o++){let l=s[o],c=l.endsWith("__self");c&&(l=l.slice(0,-6)),i(`const ${gr(l,t)} = ${a}(${JSON.stringify(l)}${c?", true":""})${n?"!":""}`),o<s.length-1&&r()}}function qg(s,t){if(!s.length)return;t.pure=!0;let{push:e,newline:i}=t;i();for(let r=0;r<s.length;r++){let n=s[r];n&&(e(`const _hoisted_${r+1} = `),Le(n,t),i())}t.pure=!1}function tN(s,t){s.length&&s.forEach(e=>{t.push("import "),Le(e.exp,t),t.push(` from '${e.path}'`),t.newline()})}function sN(s){return U.isString(s)||s.type===4||s.type===2||s.type===5||s.type===8}function ml(s,t){let e=s.length>3||s.some(i=>U.isArray(i)||!sN(i));t.push("["),e&&t.indent(),cn(s,t,e),e&&t.deindent(),t.push("]")}function cn(s,t,e=!1,i=!0){let{push:r,newline:n}=t;for(let a=0;a<s.length;a++){let o=s[a];U.isString(o)?r(o,-3):U.isArray(o)?ml(o,t):Le(o,t),a<s.length-1&&(e?(i&&r(","),n()):i&&r(", "))}}function Le(s,t){if(U.isString(s)){t.push(s,-3);return}if(U.isSymbol(s)){t.push(t.helper(s));return}switch(s.type){case 1:case 9:case 11:Le(s.codegenNode,t);break;case 2:iN(s,t);break;case 4:Qg(s,t);break;case 5:rN(s,t);break;case 12:Le(s.codegenNode,t);break;case 8:Jg(s,t);break;case 3:aN(s,t);break;case 13:oN(s,t);break;case 14:cN(s,t);break;case 15:uN(s,t);break;case 17:pN(s,t);break;case 18:hN(s,t);break;case 19:fN(s,t);break;case 20:dN(s,t);break;case 21:cn(s.body,t,!0,!1);break;case 22:mN(s,t);break;case 23:Yg(s,t);break;case 24:AN(s,t);break;case 25:gN(s,t);break;case 26:yN(s,t);break}}function iN(s,t){t.push(JSON.stringify(s.content),-3,s)}function Qg(s,t){let{content:e,isStatic:i}=s;t.push(i?JSON.stringify(e):e,-3,s)}function rN(s,t){let{push:e,helper:i,pure:r}=t;r&&e(dl),e(`${i(il)}(`),Le(s.content,t),e(")")}function Jg(s,t){for(let e=0;e<s.children.length;e++){let i=s.children[e];U.isString(i)?t.push(i,-3):Le(i,t)}}function nN(s,t){let{push:e}=t;if(s.type===8)e("["),Jg(s,t),e("]");else if(s.isStatic){let i=li(s.content)?s.content:JSON.stringify(s.content);e(i,-2,s)}else e(`[${s.content}]`,-3,s)}function aN(s,t){let{push:e,helper:i,pure:r}=t;r&&e(dl),e(`${i(on)}(${JSON.stringify(s.content)})`,-3,s)}function oN(s,t){let{push:e,helper:i,pure:r}=t,{tag:n,props:a,children:o,patchFlag:l,dynamicProps:c,directives:u,isBlock:p,disableTracking:h,isComponent:f}=s,m;l&&(m=String(l)),u&&e(i(tl)+"("),p&&e(`(${i(ki)}(${h?"true":""}), `),r&&e(dl);let d=p?Ar(t.inSSR,f):mr(t.inSSR,f);e(i(d)+"(",-2,s),cn(lN([n,a,o,m,c]),t),e(")"),p&&e(")"),u&&(e(", "),Le(u,t),e(")"))}function lN(s){let t=s.length;for(;t--&&s[t]==null;);return s.slice(0,t+1).map(e=>e||"null")}function cN(s,t){let{push:e,helper:i,pure:r}=t,n=U.isString(s.callee)?s.callee:i(s.callee);r&&e(dl),e(n+"(",-2,s),cn(s.arguments,t),e(")")}function uN(s,t){let{push:e,indent:i,deindent:r,newline:n}=t,{properties:a}=s;if(!a.length){e("{}",-2,s);return}let o=a.length>1||a.some(l=>l.value.type!==4);e(o?"{":"{ "),o&&i();for(let l=0;l<a.length;l++){let{key:c,value:u}=a[l];nN(c,t),e(": "),Le(u,t),l<a.length-1&&(e(","),n())}o&&r(),e(o?"}":" }")}function pN(s,t){ml(s.elements,t)}function hN(s,t){let{push:e,indent:i,deindent:r}=t,{params:n,returns:a,body:o,newline:l,isSlot:c}=s;c&&e(`_${Ft[ol]}(`),e("(",-2,s),U.isArray(n)?cn(n,t):n&&Le(n,t),e(") => "),(l||o)&&(e("{"),i()),a?(l&&e("return "),U.isArray(a)?ml(a,t):Le(a,t)):o&&Le(o,t),(l||o)&&(r(),e("}")),c&&(s.isNonScopedSlot&&e(", undefined, true"),e(")"))}function fN(s,t){let{test:e,consequent:i,alternate:r,newline:n}=s,{push:a,indent:o,deindent:l,newline:c}=t;if(e.type===4){let p=!li(e.content);p&&a("("),Qg(e,t),p&&a(")")}else a("("),Le(e,t),a(")");n&&o(),t.indentLevel++,n||a(" "),a("? "),Le(i,t),t.indentLevel--,n&&c(),n||a(" "),a(": ");let u=r.type===19;u||t.indentLevel++,Le(r,t),u||t.indentLevel--,n&&l(!0)}function dN(s,t){let{push:e,helper:i,indent:r,deindent:n,newline:a}=t,{needPauseTracking:o,needArraySpread:l}=s;l&&e("[...("),e(`_cache[${s.index}] || (`),o&&(r(),e(`${i(aa)}(-1`),s.inVOnce&&e(", true"),e("),"),a(),e("(")),e(`_cache[${s.index}] = `),Le(s.value,t),o&&(e(`).cacheIndex = ${s.index},`),a(),e(`${i(aa)}(1),`),a(),e(`_cache[${s.index}]`),n()),e(")"),l&&e(")]")}function mN(s,t){let{push:e,indent:i,deindent:r}=t;e("`");let n=s.elements.length,a=n>3;for(let o=0;o<n;o++){let l=s.elements[o];U.isString(l)?e(l.replace(/(`|\$|\\)/g,"\\$1"),-3):(e("${"),a&&i(),Le(l,t),a&&r(),e("}"))}e("`")}function Yg(s,t){let{push:e,indent:i,deindent:r}=t,{test:n,consequent:a,alternate:o}=s;e("if ("),Le(n,t),e(") {"),i(),Le(a,t),r(),e("}"),o&&(e(" else "),o.type===23?Yg(o,t):(e("{"),i(),Le(o,t),r(),e("}")))}function AN(s,t){Le(s.left,t),t.push(" = "),Le(s.right,t)}function gN(s,t){t.push("("),cn(s.expressions,t),t.push(")")}function yN({returns:s},t){t.push("return "),U.isArray(s)?ml(s,t):Le(s,t)}var EN=U.makeMap("true,false,null,this"),zg=(s,t)=>{if(s.type===5)s.content=_t(s.content,t);else if(s.type===1){let e=Mt(s,"memo");for(let i=0;i<s.props.length;i++){let r=s.props[i];if(r.type===7&&r.name!=="for"){let n=r.exp,a=r.arg;n&&n.type===4&&!(r.name==="on"&&a)&&!(e&&a&&a.type===4&&a.content==="key")&&(r.exp=_t(n,t,r.name==="slot")),a&&a.type===4&&!a.isStatic&&(r.arg=_t(a,t))}}}};function _t(s,t,e=!1,i=!1,r=Object.create(t.identifiers)){if(!t.prefixIdentifiers||!s.content.trim())return s;let{inline:n,bindingMetadata:a}=t,o=(d,A,y)=>{let S=U.hasOwn(a,d)&&a[d];if(n){let P=A&&A.type==="AssignmentExpression"&&A.left===y,x=A&&A.type==="UpdateExpression"&&A.argument===y,v=A&&Go(A,p),L=A&&Cg(p),R=I=>{let N=`${t.helperString(oa)}(${I})`;return L?`(${N})`:N};if(ig(S)||S==="setup-reactive-const"||r[d])return d;if(S==="setup-ref")return`${d}.value`;if(S==="setup-maybe-ref")return P||x||v?`${d}.value`:R(d);if(S==="setup-let")if(P){let{right:I,operator:N}=A,b=l.slice(I.start-1,I.end-1),g=Wp(_t(z(b,!1),t,!1,!1,h));return`${t.helperString(la)}(${d})${t.isTS?` //@ts-ignore
|
|
29
|
+
`:""} ? ${d}.value ${N} ${g} : ${d}`}else if(x){y.start=A.start,y.end=A.end;let{prefix:I,operator:N}=A,b=I?N:"",g=I?"":N;return`${t.helperString(la)}(${d})${t.isTS?` //@ts-ignore
|
|
30
|
+
`:""} ? ${b}${d}.value${g} : ${b}${d}${g}`}else return v?d:R(d);else{if(S==="props")return U.genPropsAccessExp(d);if(S==="props-aliased")return U.genPropsAccessExp(a.__propsAliases[d])}}else{if(S&&S.startsWith("setup")||S==="literal-const")return`$setup.${d}`;if(S==="props-aliased")return`$props['${a.__propsAliases[d]}']`;if(S)return`$${S}.${d}`}return`_ctx.${d}`},l=s.content,c=s.ast;if(c===!1)return s;if(c===null||!c&&li(l)){let d=t.identifiers[l],A=U.isGloballyAllowed(l),y=EN(l);return!e&&!d&&!y&&(!A||a[l])?(ig(a[l])&&(s.constType=1),s.content=o(l)):d||(y?s.constType=3:s.constType=2),s}if(!c){let d=i?` ${l} `:`(${l})${e?"=>{}":""}`;try{c=en.parseExpression(d,{sourceType:"module",plugins:t.expressionPlugins})}catch(A){return t.onError(Te(46,s.loc,void 0,A.message)),s}}let u=[],p=[],h=Object.create(t.identifiers);bg(c,(d,A,y,S,P)=>{if(vg(d,A)||d.name.startsWith("_filter_"))return;let x=S&&SN(d);x&&!P?(kp(A)&&A.shorthand&&(d.prefix=`${d.name}: `),d.name=o(d.name,A,d),u.push(d)):(!(x&&P)&&(!A||A.type!=="CallExpression"&&A.type!=="NewExpression"&&A.type!=="MemberExpression")&&(d.isConstant=!0),u.push(d))},!0,p,h);let f=[];u.sort((d,A)=>d.start-A.start),u.forEach((d,A)=>{let y=d.start-1,S=d.end-1,P=u[A-1],x=l.slice(P?P.end-1:0,y);(x.length||d.prefix)&&f.push(x+(d.prefix||""));let v=l.slice(y,S);f.push(z(d.name,!1,{start:bp(s.loc.start,v,y),end:bp(s.loc.start,v,S),source:v},d.isConstant?3:0)),A===u.length-1&&S<l.length&&f.push(l.slice(S))});let m;return f.length?(m=Zt(f,s.loc),m.ast=c):(m=s,m.constType=3),m.identifiers=Object.keys(h),m}function SN(s){return!(U.isGloballyAllowed(s.name)||s.name==="require")}function Wp(s){return U.isString(s)?s:s.type===4?s.content:s.children.map(Wp).join("")}function ig(s){return s==="setup-const"||s==="literal-const"}var bN=Gp(/^(?:if|else|else-if)$/,(s,t,e)=>Zg(s,t,e,(i,r,n)=>{let a=e.parent.children,o=a.indexOf(i),l=0;for(;o-->=0;){let c=a[o];c&&c.type===9&&(l+=c.branches.length)}return()=>{if(n)i.codegenNode=ng(r,l,e);else{let c=CN(i.codegenNode);c.alternate=ng(r,l+i.branches.length-1,e)}}}));function Zg(s,t,e,i){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:s.loc;e.onError(Te(28,t.loc)),t.exp=z("true",!1,r)}if(e.prefixIdentifiers&&t.exp&&(t.exp=_t(t.exp,e)),t.name==="if"){let r=rg(s,t),n={type:9,loc:WP(s.loc),branches:[r]};if(e.replaceNode(n),i)return i(n,r,!0)}else{let r=e.parent.children,n=r.indexOf(s);for(;n-->=-1;){let a=r[n];if(a&&Hp(a)){e.removeNode(a);continue}if(a&&a.type===9){(t.name==="else-if"||t.name==="else")&&a.branches[a.branches.length-1].condition===void 0&&e.onError(Te(30,s.loc)),e.removeNode();let o=rg(s,t);{let c=o.userKey;c&&a.branches.forEach(({userKey:u})=>{TN(u,c)&&e.onError(Te(29,o.userKey.loc))})}a.branches.push(o);let l=i&&i(a,o,!1);da(o,e),l&&l(),e.currentNode=null}else e.onError(Te(30,s.loc));break}}}function rg(s,t){let e=s.tagType===3;return{type:10,loc:s.loc,condition:t.name==="else"?void 0:t.exp,children:e&&!Mt(s,"for")?s.children:[s],userKey:ua(s,"key"),isTemplateIf:e}}function ng(s,t,e){return s.condition?Ho(s.condition,ag(s,t,e),gt(e.helper(on),['""',"true"])):ag(s,t,e)}function ag(s,t,e){let{helper:i}=e,r=Ze("key",z(`${t}`,!1,et,2)),{children:n}=s,a=n[0];if(n.length!==1||a.type!==1)if(n.length===1&&a.type===11){let l=a.codegenNode;return ha(l,r,e),l}else return nn(e,i(sn),es([r]),n,64,void 0,void 0,!0,!1,!1,s.loc);else{let l=a.codegenNode,c=Dg(l);return c.type===13&&cl(c,e),ha(c,r,e),l}}function TN(s,t){if(!s||s.type!==t.type)return!1;if(s.type===6){if(s.value.content!==t.value.content)return!1}else{let e=s.exp,i=t.exp;if(e.type!==i.type||e.type!==4||e.isStatic!==i.isStatic||e.content!==i.content)return!1}return!0}function CN(s){for(;;)if(s.type===19)if(s.alternate.type===19)s=s.alternate;else return s;else s.type===20&&(s=s.value)}var IN=Gp("for",(s,t,e)=>{let{helper:i,removeHelper:r}=e;return ey(s,t,e,n=>{let a=gt(i(sl),[n.source]),o=an(s),l=Mt(s,"memo"),c=ua(s,"key",!1,!0),u=c&&c.type===7,p=c&&(c.type===6?c.value?z(c.value.content,!0):void 0:c.exp);l&&p&&u&&(c.exp=p=_t(p,e));let h=c&&p?Ze("key",p):null;o&&(l&&(l.exp=_t(l.exp,e)),h&&c.type!==6&&(h.value=_t(h.value,e)));let f=n.source.type===4&&n.source.constType>0,m=f?64:c?128:256;return n.codegenNode=nn(e,i(sn),void 0,a,m,void 0,void 0,!0,!f,!1,s.loc),()=>{let d,{children:A}=n;o&&s.children.some(P=>{if(P.type===1){let x=ua(P,"key");if(x)return e.onError(Te(33,x.loc)),!0}});let y=A.length!==1||A[0].type!==1,S=pa(s)?s:o&&s.children.length===1&&pa(s.children[0])?s.children[0]:null;if(S?(d=S.codegenNode,o&&h&&ha(d,h,e)):y?d=nn(e,i(sn),h?es([h]):void 0,s.children,64,void 0,void 0,!0,void 0,!1):(d=A[0].codegenNode,o&&h&&ha(d,h,e),d.isBlock!==!f&&(d.isBlock?(r(ki),r(Ar(e.inSSR,d.isComponent))):r(mr(e.inSSR,d.isComponent))),d.isBlock=!f,d.isBlock?(i(ki),i(Ar(e.inSSR,d.isComponent))):i(mr(e.inSSR,d.isComponent))),l){let P=dr(Wo(n.parseResult,[z("_cached")]));P.body=yg([Zt(["const _memo = (",l.exp,")"]),Zt(["if (_cached",...p?[" && _cached.key === ",p]:[],` && ${e.helperString(Mp)}(_cached, _memo)) return _cached`]),Zt(["const _item = ",d]),z("_item.memo = _memo"),z("return _item")]),a.arguments.push(P,z("_cache"),z(String(e.cached.length))),e.cached.push(null)}else a.arguments.push(dr(Wo(n.parseResult),d,!0))}})});function ey(s,t,e,i){if(!t.exp){e.onError(Te(31,t.loc));return}let r=t.forParseResult;if(!r){e.onError(Te(32,t.loc));return}Xp(r,e);let{addIdentifiers:n,removeIdentifiers:a,scopes:o}=e,{source:l,value:c,key:u,index:p}=r,h={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:p,parseResult:r,children:an(s)?s.children:[s]};e.replaceNode(h),o.vFor++,e.prefixIdentifiers&&(c&&n(c),u&&n(u),p&&n(p));let f=i&&i(h);return()=>{o.vFor--,e.prefixIdentifiers&&(c&&a(c),u&&a(u),p&&a(p)),f&&f()}}function Xp(s,t){s.finalized||(t.prefixIdentifiers&&(s.source=_t(s.source,t),s.key&&(s.key=_t(s.key,t,!0)),s.index&&(s.index=_t(s.index,t,!0)),s.value&&(s.value=_t(s.value,t,!0))),s.finalized=!0)}function Wo({value:s,key:t,index:e},i=[]){return _N([s,t,e,...i])}function _N(s){let t=s.length;for(;t--&&!s[t];);return s.slice(0,t+1).map((e,i)=>e||z("_".repeat(i+1),!1))}var og=z("undefined",!1),ty=(s,t)=>{if(s.type===1&&(s.tagType===1||s.tagType===3)){let e=Mt(s,"slot");if(e){let i=e.exp;return t.prefixIdentifiers&&i&&t.addIdentifiers(i),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&i&&t.removeIdentifiers(i),t.scopes.vSlot--}}}},sy=(s,t)=>{let e;if(an(s)&&s.props.some(hl)&&(e=Mt(s,"for"))){let i=e.forParseResult;if(i){Xp(i,t);let{value:r,key:n,index:a}=i,{addIdentifiers:o,removeIdentifiers:l}=t;return r&&o(r),n&&o(n),a&&o(a),()=>{r&&l(r),n&&l(n),a&&l(a)}}}},PN=(s,t,e,i)=>dr(s,e,!1,!0,e.length?e[0].loc:i);function iy(s,t,e=PN){t.helper(ol);let{children:i,loc:r}=s,n=[],a=[],o=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(o=s.props.some(A=>hl(A)&&(Ct(A.arg,t.identifiers)||Ct(A.exp,t.identifiers)))||i.some(A=>Ct(A,t.identifiers)));let l=Mt(s,"slot",!0);if(l){let{arg:A,exp:y}=l;A&&!Cs(A)&&(o=!0),n.push(Ze(A||z("default",!0),e(y,void 0,i,r)))}let c=!1,u=!1,p=[],h=new Set,f=0;for(let A=0;A<i.length;A++){let y=i[A],S;if(!an(y)||!(S=Mt(y,"slot",!0))){y.type!==3&&p.push(y);continue}if(l){t.onError(Te(37,S.loc));break}c=!0;let{children:P,loc:x}=y,{arg:v=z("default",!0),exp:L,loc:R}=S,I;Cs(v)?I=v?v.content:"default":o=!0;let N=Mt(y,"for"),b=e(L,N,P,x),g,_;if(g=Mt(y,"if"))o=!0,a.push(Ho(g.exp,Do(v,b,f++),og));else if(_=Mt(y,/^else(?:-if)?$/,!0)){let M=A,C;for(;M--&&(C=i[M],!!Hp(C)););if(C&&an(C)&&Mt(C,/^(?:else-)?if$/)){let T=a[a.length-1];for(;T.alternate.type===19;)T=T.alternate;T.alternate=_.exp?Ho(_.exp,Do(v,b,f++),og):Do(v,b,f++)}else t.onError(Te(30,_.loc))}else if(N){o=!0;let M=N.forParseResult;M?(Xp(M,t),a.push(gt(t.helper(sl),[M.source,dr(Wo(M),Do(v,b),!0)]))):t.onError(Te(32,N.loc))}else{if(I){if(h.has(I)){t.onError(Te(38,R));continue}h.add(I),I==="default"&&(u=!0)}n.push(Ze(v,b))}}if(!l){let A=(y,S)=>{let P=e(y,void 0,S,r);return t.compatConfig&&(P.isNonScopedSlot=!0),Ze("default",P)};c?p.length&&!p.every(fl)&&(u?t.onError(Te(39,p[0].loc)):n.push(A(void 0,p))):n.push(A(void 0,i))}let m=o?2:Uo(s.children)?3:1,d=es(n.concat(Ze("_",z(m+"",!1))),r);return a.length&&(d=gt(t.helper(Lp),[d,Ri(a)])),{slots:d,hasDynamicSlots:o}}function Do(s,t,e){let i=[Ze("name",s),Ze("fn",t)];return e!=null&&i.push(Ze("key",z(String(e),!0))),es(i)}function Uo(s){for(let t=0;t<s.length;t++){let e=s[t];switch(e.type){case 1:if(e.tagType===2||Uo(e.children))return!0;break;case 9:if(Uo(e.branches))return!0;break;case 10:case 11:if(Uo(e.children))return!0;break}}return!1}var ry=new WeakMap,ny=(s,t)=>function(){if(s=t.currentNode,!(s.type===1&&(s.tagType===0||s.tagType===1)))return;let{tag:i,props:r}=s,n=s.tagType===1,a=n?ay(s,t):`"${i}"`,o=U.isObject(a)&&a.callee===zo,l,c,u=0,p,h,f,m=o||a===tn||a===qo||!n&&(i==="svg"||i==="foreignObject"||i==="math");if(r.length>0){let d=qp(s,t,void 0,n,o);l=d.props,u=d.patchFlag,h=d.dynamicPropNames;let A=d.directives;f=A&&A.length?Ri(A.map(y=>oy(y,t))):void 0,d.shouldUseBlock&&(m=!0)}if(s.children.length>0)if(a===ia&&(m=!0,u|=1024),n&&a!==tn&&a!==ia){let{slots:A,hasDynamicSlots:y}=iy(s,t);c=A,y&&(u|=1024)}else if(s.children.length===1&&a!==tn){let A=s.children[0],y=A.type,S=y===5||y===8;S&&ts(A,t)===0&&(u|=1),S||y===2?c=A:c=s.children}else c=s.children;h&&h.length&&(p=xN(h)),s.codegenNode=nn(t,a,l,c,u===0?void 0:u,p,f,!!m,!1,n,s.loc)};function ay(s,t,e=!1){let{tag:i}=s,r=Pp(i),n=ua(s,"is",!1,!0);if(n)if(r||fr("COMPILER_IS_ON_ELEMENT",t)){let o;if(n.type===6?o=n.value&&z(n.value.content,!0):(o=n.exp,o||(o=z("is",!1,n.arg.loc),o=n.exp=_t(o,t))),o)return gt(t.helper(zo),[o])}else n.type===6&&n.value.content.startsWith("vue:")&&(i=n.value.content.slice(4));let a=Fp(i)||t.isBuiltInComponent(i);if(a)return e||t.helper(a),a;{let o=_p(i,t);if(o)return o;let l=i.indexOf(".");if(l>0){let c=_p(i.slice(0,l),t);if(c)return c+i.slice(l)}}return t.selfName&&U.capitalize(U.camelize(i))===t.selfName?(t.helper(ra),t.components.add(i+"__self"),gr(i,"component")):(t.helper(ra),t.components.add(i),gr(i,"component"))}function _p(s,t){let e=t.bindingMetadata;if(!e||e.__isScriptSetup===!1)return;let i=U.camelize(s),r=U.capitalize(i),n=c=>{if(e[s]===c)return s;if(e[i]===c)return i;if(e[r]===c)return r},a=n("setup-const")||n("setup-reactive-const")||n("literal-const");if(a)return t.inline?a:`$setup[${JSON.stringify(a)}]`;let o=n("setup-let")||n("setup-ref")||n("setup-maybe-ref");if(o)return t.inline?`${t.helperString(oa)}(${o})`:`$setup[${JSON.stringify(o)}]`;let l=n("props");if(l)return`${t.helperString(oa)}(${t.inline?"__props":"$props"}[${JSON.stringify(l)}])`}function qp(s,t,e=s.props,i,r,n=!1){let{tag:a,loc:o,children:l}=s,c=[],u=[],p=[],h=l.length>0,f=!1,m=0,d=!1,A=!1,y=!1,S=!1,P=!1,x=!1,v=[],L=b=>{c.length&&(u.push(es(lg(c),o)),c=[]),b&&u.push(b)},R=()=>{t.scopes.vFor>0&&c.push(Ze(z("ref_for",!0),z("true")))},I=({key:b,value:g})=>{if(Cs(b)){let _=b.content,M=U.isOn(_);if(M&&(!i||r)&&_.toLowerCase()!=="onclick"&&_!=="onUpdate:modelValue"&&!U.isReservedProp(_)&&(S=!0),M&&U.isReservedProp(_)&&(x=!0),M&&g.type===14&&(g=g.arguments[0]),g.type===20||(g.type===4||g.type===8)&&ts(g,t)>0)return;_==="ref"?d=!0:_==="class"?A=!0:_==="style"?y=!0:_!=="key"&&!v.includes(_)&&v.push(_),i&&(_==="class"||_==="style")&&!v.includes(_)&&v.push(_)}else P=!0};for(let b=0;b<e.length;b++){let g=e[b];if(g.type===6){let{loc:_,name:M,nameLoc:C,value:T}=g,J=!0;if(M==="ref"&&(d=!0,R(),T&&t.inline)){let H=t.bindingMetadata[T.content];(H==="setup-let"||H==="setup-ref"||H==="setup-maybe-ref")&&(J=!1,c.push(Ze(z("ref_key",!0),z(T.content,!0,T.loc))))}if(M==="is"&&(Pp(a)||T&&T.content.startsWith("vue:")||fr("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(Ze(z(M,!0,C),z(T?T.content:"",J,T?T.loc:_)))}else{let{name:_,arg:M,exp:C,loc:T,modifiers:J}=g,H=_==="bind",fe=_==="on";if(_==="slot"){i||t.onError(Te(40,T));continue}if(_==="once"||_==="memo"||_==="is"||H&&Di(M,"is")&&(Pp(a)||fr("COMPILER_IS_ON_ELEMENT",t))||fe&&n)continue;if((H&&Di(M,"key")||fe&&h&&Di(M,"vue:before-update"))&&(f=!0),H&&Di(M,"ref")&&R(),!M&&(H||fe)){if(P=!0,C)if(H){if(L(),fr("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(C);continue}R(),L(),u.push(C)}else L({type:14,loc:T,callee:t.helper(al),arguments:i?[C]:[C,"true"]});else t.onError(Te(H?34:35,T));continue}H&&J.some(ae=>ae.content==="prop")&&(m|=32);let Se=t.directiveTransforms[_];if(Se){let{props:ae,needRuntime:Re}=Se(g,s,t);!n&&ae.forEach(I),fe&&M&&!Cs(M)?L(es(ae,o)):c.push(...ae),Re&&(p.push(g),U.isSymbol(Re)&&ry.set(g,Re))}else U.isBuiltInDirective(_)||(p.push(g),h&&(f=!0))}}let N;if(u.length?(L(),u.length>1?N=gt(t.helper(na),u,o):N=u[0]):c.length&&(N=es(lg(c),o)),P?m|=16:(A&&!i&&(m|=2),y&&!i&&(m|=4),v.length&&(m|=8),S&&(m|=32)),!f&&(m===0||m===32)&&(d||x||p.length>0)&&(m|=512),!t.inSSR&&N)switch(N.type){case 15:let b=-1,g=-1,_=!1;for(let T=0;T<N.properties.length;T++){let J=N.properties[T].key;Cs(J)?J.content==="class"?b=T:J.content==="style"&&(g=T):J.isHandlerKey||(_=!0)}let M=N.properties[b],C=N.properties[g];_?N=gt(t.helper(rn),[N]):(M&&!Cs(M.value)&&(M.value=gt(t.helper(rl),[M.value])),C&&(y||C.value.type===4&&C.value.content.trim()[0]==="["||C.value.type===17)&&(C.value=gt(t.helper(nl),[C.value])));break;case 14:break;default:N=gt(t.helper(rn),[gt(t.helper(ln),[N])]);break}return{props:N,directives:p,patchFlag:m,dynamicPropNames:v,shouldUseBlock:f}}function lg(s){let t=new Map,e=[];for(let i=0;i<s.length;i++){let r=s[i];if(r.key.type===8||!r.key.isStatic){e.push(r);continue}let n=r.key.content,a=t.get(n);a?(n==="style"||n==="class"||U.isOn(n))&&NN(a,r):(t.set(n,r),e.push(r))}return e}function NN(s,t){s.value.type===17?s.value.elements.push(t.value):s.value=Ri([s.value,t.value],s.loc)}function oy(s,t){let e=[],i=ry.get(s);if(i)e.push(t.helperString(i));else{let n=_p("v-"+s.name,t);n?e.push(n):(t.helper(Zo),t.directives.add(s.name),e.push(gr(s.name,"directive")))}let{loc:r}=s;if(s.exp&&e.push(s.exp),s.arg&&(s.exp||e.push("void 0"),e.push(s.arg)),Object.keys(s.modifiers).length){s.arg||(s.exp||e.push("void 0"),e.push("void 0"));let n=z("true",!1,r);e.push(es(s.modifiers.map(a=>Ze(a,n)),r))}return Ri(e,s.loc)}function xN(s){let t="[";for(let e=0,i=s.length;e<i;e++)t+=JSON.stringify(s[e]),e<i-1&&(t+=", ");return t+"]"}function Pp(s){return s==="component"||s==="Component"}var vN=(s,t)=>{if(pa(s)){let{children:e,loc:i}=s,{slotName:r,slotProps:n}=ly(s,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"],o=2;n&&(a[2]=n,o=3),e.length&&(a[3]=dr([],e,!1,!1,i),o=4),t.scopeId&&!t.slotted&&(o=5),a.splice(o),s.codegenNode=gt(t.helper(wp),a,i)}};function ly(s,t){let e='"default"',i,r=[];for(let n=0;n<s.props.length;n++){let a=s.props[n];if(a.type===6)a.value&&(a.name==="name"?e=JSON.stringify(a.value.content):(a.name=U.camelize(a.name),r.push(a)));else if(a.name==="bind"&&Di(a.arg,"name")){if(a.exp)e=a.exp;else if(a.arg&&a.arg.type===4){let o=U.camelize(a.arg.content);e=a.exp=z(o,!1,a.arg.loc),e=a.exp=_t(a.exp,t)}}else a.name==="bind"&&a.arg&&Cs(a.arg)&&(a.arg.content=U.camelize(a.arg.content)),r.push(a)}if(r.length>0){let{props:n,directives:a}=qp(s,t,r,!1,!1);i=n,a.length&&t.onError(Te(36,a[0].loc))}return{slotName:e,slotProps:i}}var cy=(s,t,e,i)=>{let{loc:r,modifiers:n,arg:a}=s;!s.exp&&!n.length&&e.onError(Te(35,r));let o;if(a.type===4)if(a.isStatic){let p=a.content;p.startsWith("vue:")&&(p=`vnode-${p.slice(4)}`);let h=t.tagType!==0||p.startsWith("vnode")||!/[A-Z]/.test(p)?U.toHandlerKey(U.camelize(p)):`on:${p}`;o=z(h,!0,a.loc)}else o=Zt([`${e.helperString(jo)}(`,a,")"]);else o=a,o.children.unshift(`${e.helperString(jo)}(`),o.children.push(")");let l=s.exp;l&&!l.content.trim()&&(l=void 0);let c=e.cacheHandlers&&!l&&!e.inVOnce;if(l){let p=Up(l,e),h=!(p||Lg(l,e)),f=l.content.includes(";");e.prefixIdentifiers&&(h&&e.addIdentifiers("$event"),l=s.exp=_t(l,e,!1,f),h&&e.removeIdentifiers("$event"),c=e.cacheHandlers&&!e.inVOnce&&!(l.type===4&&l.constType>0)&&!(p&&t.tagType===1)&&!Ct(l,e.identifiers),c&&p&&(l.type===4?l.content=`${l.content} && ${l.content}(...args)`:l.children=[...l.children," && ",...l.children,"(...args)"])),(h||c&&p)&&(l=Zt([`${h?e.isTS?"($event: any)":"$event":`${e.isTS?`
|
|
31
31
|
//@ts-ignore
|
|
32
|
-
`:""}(...args)`} => ${f?"{":"("}`,l,f?"}":")"]))}let u={props:[Ze(o,l||z("() => {}",!1,r))]};return i&&(u=i(u)),c&&(u.props[0].value=e.cache(u.props[0].value)),u.props.forEach(h=>h.key.isHandlerKey=!0),u},uy=(s,t,e)=>{let{modifiers:i,loc:r}=s,n=s.arg,{exp:a}=s;return a&&a.type===4&&!a.content.trim()?(e.onError(Te(34,r)),{props:[Ze(n,z("",!0,r))]}):(n.type!==4?(n.children.unshift("("),n.children.push(') || ""')):n.isStatic||(n.content=n.content?`${n.content} || ""`:'""'),i.some(o=>o.content==="camel")&&(n.type===4?n.isStatic?n.content=U.camelize(n.content):n.content=`${e.helperString($o)}(${n.content})`:(n.children.unshift(`${e.helperString($o)}(`),n.children.push(")"))),e.inSSR||(i.some(o=>o.content==="prop")&&cg(n,"."),i.some(o=>o.content==="attr")&&cg(n,"^")),{props:[Ze(n,a)]})},cg=(s,t)=>{s.type===4?s.isStatic?s.content=t+s.content:s.content=`\`${t}\${${s.content}}\``:(s.children.unshift(`'${t}' + (`),s.children.push(")"))},vN=(s,t)=>{if(s.type===0||s.type===1||s.type===11||s.type===10)return()=>{let e=s.children,i,r=!1;for(let n=0;n<e.length;n++){let a=e[n];if(Ro(a)){r=!0;for(let o=n+1;o<e.length;o++){let l=e[o];if(Ro(l))i||(i=e[n]=Zt([a],a.loc)),i.children.push(" + ",l),e.splice(o,1),o--;else{i=void 0;break}}}}if(!(!r||e.length===1&&(s.type===0||s.type===1&&s.tagType===0&&!s.props.find(n=>n.type===7&&!t.directiveTransforms[n.name])&&s.tag!=="template")))for(let n=0;n<e.length;n++){let a=e[n];if(Ro(a)||a.type===8){let o=[];(a.type!==2||a.content!==" ")&&o.push(a),!t.ssr&&ts(a,t)===0&&o.push("1"),e[n]={type:12,content:a,loc:a.loc,codegenNode:gt(t.helper(Yo),o)}}}}},ug=new WeakSet,ON=(s,t)=>{if(s.type===1&&Mt(s,"once",!0))return ug.has(s)||t.inVOnce||t.inSSR?void 0:(ug.add(s),t.inVOnce=!0,t.helper(aa),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))})},hy=(s,t,e)=>{let{exp:i,arg:r}=s;if(!i)return e.onError(Te(41,s.loc)),zr();let n=i.loc.source.trim(),a=i.type===4?i.content:n,o=e.bindingMetadata[n];if(o==="props"||o==="props-aliased")return e.onError(Te(44,i.loc)),zr();if(o==="literal-const"||o==="setup-const")return e.onError(Te(45,i.loc)),zr();let l=e.inline&&(o==="setup-let"||o==="setup-ref"||o==="setup-maybe-ref");if(!a.trim()||!Uh(i,e)&&!l)return e.onError(Te(42,i.loc)),zr();if(e.prefixIdentifiers&&li(a)&&e.identifiers[a])return e.onError(Te(43,i.loc)),zr();let c=r||z("modelValue",!0),u=r?Cs(r)?`onUpdate:${U.camelize(r.content)}`:Zt(['"onUpdate:" + ',r]):"onUpdate:modelValue",h,p=e.isTS?"($event: any)":"$event";if(l)if(o==="setup-ref")h=Zt([`${p} => ((`,z(n,!1,i.loc),").value = $event)"]);else{let m=o==="setup-let"?`${n} = $event`:"null";h=Zt([`${p} => (${e.helperString(la)}(${n}) ? (`,z(n,!1,i.loc),`).value = $event : ${m})`])}else h=Zt([`${p} => ((`,i,") = $event)"]);let f=[Ze(c,s.exp),Ze(u,h)];if(e.prefixIdentifiers&&!e.inVOnce&&e.cacheHandlers&&!Ct(i,e.identifiers)&&(f[1].value=e.cache(f[1].value)),s.modifiers.length&&t.tagType===1){let m=s.modifiers.map(A=>A.content).map(A=>(li(A)?A:JSON.stringify(A))+": true").join(", "),d=r?Cs(r)?`${r.content}Modifiers`:Zt([r,' + "Modifiers"']):"modelModifiers";f.push(Ze(d,z(`{ ${m} }`,!1,s.loc,2)))}return zr(f)};function zr(s=[]){return{props:s}}var wN=/[\w).+\-_$\]]/,LN=(s,t)=>{fr("COMPILER_FILTERS",t)&&(s.type===5?Xo(s.content,t):s.type===1&&s.props.forEach(e=>{e.type===7&&e.name!=="for"&&e.exp&&Xo(e.exp,t)}))};function Xo(s,t){if(s.type===4)hg(s,t);else for(let e=0;e<s.children.length;e++){let i=s.children[e];typeof i=="object"&&(i.type===4?hg(i,t):i.type===8?Xo(s,t):i.type===5&&Xo(i.content,t))}}function hg(s,t){let e=s.content,i=!1,r=!1,n=!1,a=!1,o=0,l=0,c=0,u=0,h,p,f,m,d=[];for(f=0;f<e.length;f++)if(p=h,h=e.charCodeAt(f),i)h===39&&p!==92&&(i=!1);else if(r)h===34&&p!==92&&(r=!1);else if(n)h===96&&p!==92&&(n=!1);else if(a)h===47&&p!==92&&(a=!1);else if(h===124&&e.charCodeAt(f+1)!==124&&e.charCodeAt(f-1)!==124&&!o&&!l&&!c)m===void 0?(u=f+1,m=e.slice(0,f).trim()):A();else{switch(h){case 34:r=!0;break;case 39:i=!0;break;case 96:n=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:o++;break;case 125:o--;break}if(h===47){let y=f-1,E;for(;y>=0&&(E=e.charAt(y),E===" ");y--);(!E||!wN.test(E))&&(a=!0)}}m===void 0?m=e.slice(0,f).trim():u!==0&&A();function A(){d.push(e.slice(u,f).trim()),u=f+1}if(d.length){for(f=0;f<d.length;f++)m=MN(m,d[f],t);s.content=m,s.ast=void 0}}function MN(s,t,e){e.helper(el);let i=t.indexOf("(");if(i<0)return e.filters.add(t),`${gr(t,"filter")}(${s})`;{let r=t.slice(0,i),n=t.slice(i+1);return e.filters.add(r),`${gr(r,"filter")}(${s}${n!==")"?","+n:n}`}}var pg=new WeakSet,DN=(s,t)=>{if(s.type===1){let e=Mt(s,"memo");return!e||pg.has(s)||t.inSSR?void 0:(pg.add(s),()=>{let i=s.codegenNode||t.currentNode.codegenNode;i&&i.type===13&&(s.tagType!==1&&cl(i,t),s.codegenNode=gt(t.helper(ll),[e.exp,dr(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))})}},py=(s,t)=>{if(s.type===1){for(let e of s.props)if(e.type===7&&e.name==="bind"&&!e.exp&&e.arg){let i=e.arg;if(i.type!==4||!i.isStatic)t.onError(Te(53,i.loc)),e.exp=z("",!0,i.loc);else{let r=U.camelize(i.content);(Vh.test(r[0])||r[0]==="-")&&(e.exp=z(r,!1,i.loc))}}}};function fy(s){return[[py,ON,SN,DN,CN,LN,...s?[sy,zg]:[],xN,ny,ty,vN],{on:cy,bind:uy,model:hy}]}function RN(s,t={}){let e=t.onError||Dh,i=t.mode==="module",r=t.prefixIdentifiers===!0||i;!r&&t.cacheHandlers&&e(Te(50)),t.scopeId&&!i&&e(Te(51));let n=U.extend({},t,{prefixIdentifiers:r}),a=U.isString(s)?Ug(s,n):s,[o,l]=fy(r);if(t.isTS){let{expressionPlugins:c}=t;(!c||!c.includes("typescript"))&&(t.expressionPlugins=[...c||[],"typescript"])}return Wg(a,U.extend({},n,{nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:U.extend({},l,t.directiveTransforms||{})})),Xg(a,n)}var kN={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"},BN=()=>({props:[]});v.generateCodeFrame=U.generateCodeFrame;v.BASE_TRANSITION=Nh;v.BindingTypes=kN;v.CAMELIZE=$o;v.CAPITALIZE=fg;v.CREATE_BLOCK=xh;v.CREATE_COMMENT=on;v.CREATE_ELEMENT_BLOCK=vh;v.CREATE_ELEMENT_VNODE=Jo;v.CREATE_SLOTS=Lh;v.CREATE_STATIC=Oh;v.CREATE_TEXT=Yo;v.CREATE_VNODE=Qo;v.CompilerDeprecationTypes=CP;v.ConstantTypes=AP;v.ElementTypes=mP;v.ErrorCodes=PP;v.FRAGMENT=sn;v.GUARD_REACTIVE_PROPS=ln;v.IS_MEMO_SAME=Mh;v.IS_REF=la;v.KEEP_ALIVE=ia;v.MERGE_PROPS=na;v.NORMALIZE_CLASS=rl;v.NORMALIZE_PROPS=rn;v.NORMALIZE_STYLE=nl;v.Namespaces=fP;v.NodeTypes=dP;v.OPEN_BLOCK=ki;v.POP_SCOPE_ID=mg;v.PUSH_SCOPE_ID=dg;v.RENDER_LIST=sl;v.RENDER_SLOT=wh;v.RESOLVE_COMPONENT=ra;v.RESOLVE_DIRECTIVE=Zo;v.RESOLVE_DYNAMIC_COMPONENT=zo;v.RESOLVE_FILTER=el;v.SET_BLOCK_TRACKING=aa;v.SUSPENSE=qo;v.TELEPORT=tn;v.TO_DISPLAY_STRING=il;v.TO_HANDLERS=al;v.TO_HANDLER_KEY=jo;v.TS_NODE_TYPES=Bh;v.UNREF=oa;v.WITH_CTX=ol;v.WITH_DIRECTIVES=tl;v.WITH_MEMO=ll;v.advancePositionWithClone=bh;v.advancePositionWithMutation=$h;v.assert=DP;v.baseCompile=RN;v.baseParse=Ug;v.buildDirectiveArgs=oy;v.buildProps=qh;v.buildSlots=iy;v.checkCompatEnabled=ca;v.convertToBlock=cl;v.createArrayExpression=Ri;v.createAssignmentExpression=SP;v.createBlockStatement=yg;v.createCacheExpression=gg;v.createCallExpression=gt;v.createCompilerError=Te;v.createCompoundExpression=Zt;v.createConditionalExpression=Ho;v.createForLoopParams=Wo;v.createFunctionExpression=dr;v.createIfStatement=EP;v.createInterpolation=gP;v.createObjectExpression=es;v.createObjectProperty=Ze;v.createReturnStatement=TP;v.createRoot=Ag;v.createSequenceExpression=bP;v.createSimpleExpression=z;v.createStructuralDirectiveTransform=Gh;v.createTemplateLiteral=yP;v.createTransformContext=Gg;v.createVNodeCall=nn;v.errorMessages=Sg;v.extractIdentifiers=Ts;v.findDir=Mt;v.findProp=ua;v.forAliasRE=Rg;v.generate=Xg;v.getBaseTransformPreset=fy;v.getConstantType=ts;v.getMemoedVNodeCall=Dg;v.getVNodeBlockHelper=Ar;v.getVNodeHelper=mr;v.hasDynamicKeyVBind=RP;v.hasScopeRef=Ct;v.helperNameMap=Ft;v.injectProp=pa;v.isAllWhitespace=jh;v.isCommentOrWhitespace=Hh;v.isCoreComponent=Fh;v.isFnExpression=Lg;v.isFnExpressionBrowser=MP;v.isFnExpressionNode=wg;v.isFunctionType=xg;v.isInDestructureAssignment=Go;v.isInNewExpression=Cg;v.isMemberExpression=Uh;v.isMemberExpressionBrowser=wP;v.isMemberExpressionNode=Og;v.isReferencedIdentifier=Tg;v.isSimpleIdentifier=li;v.isSlotOutlet=ha;v.isStaticArgOf=Di;v.isStaticExp=Cs;v.isStaticProperty=kh;v.isStaticPropertyKey=vg;v.isTemplateNode=an;v.isText=Ro;v.isVPre=Th;v.isVSlot=pl;v.isWhitespaceText=fl;v.locStub=et;v.noopDirectiveTransform=BN;v.processExpression=_t;v.processFor=ey;v.processIf=Zg;v.processSlotOutlet=ly;v.registerRuntimeHelpers=pP;v.resolveComponentType=ay;v.stringifyExpression=Wh;v.toValidAssetId=gr;v.trackSlotScopes=ty;v.trackVForSlotScopes=sy;v.transform=Wg;v.transformBind=uy;v.transformElement=ny;v.transformExpression=zg;v.transformModel=hy;v.transformOn=cy;v.transformVBindShorthand=py;v.traverseNode=da;v.unwrapTSNode=ul;v.validFirstIdentCharRE=Vh;v.walkBlockDeclarations=Rh;v.walkFunctionParams=Ig;v.walkIdentifiers=bg;v.warnDeprecation=_P});var DE=D(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});var k=at(),yr=Su(),pn=ih(),FN=rh(),VN=gh(),dn=Symbol("Fragment"),fn=Symbol("Teleport"),wl=Symbol("Suspense"),Aa=Symbol("KeepAlive"),np=Symbol("BaseTransition"),ji=Symbol("openBlock"),ap=Symbol("createBlock"),op=Symbol("createElementBlock"),Ll=Symbol("createVNode"),Ml=Symbol("createElementVNode"),En=Symbol("createCommentVNode"),Dl=Symbol("createTextVNode"),lp=Symbol("createStaticVNode"),ga=Symbol("resolveComponent"),Rl=Symbol("resolveDynamicComponent"),kl=Symbol("resolveDirective"),Bl=Symbol("resolveFilter"),Fl=Symbol("withDirectives"),Vl=Symbol("renderList"),cp=Symbol("renderSlot"),up=Symbol("createSlots"),Ul=Symbol("toDisplayString"),ya=Symbol("mergeProps"),$l=Symbol("normalizeClass"),jl=Symbol("normalizeStyle"),mn=Symbol("normalizeProps"),Sn=Symbol("guardReactiveProps"),Hl=Symbol("toHandlers"),Il=Symbol("camelize"),My=Symbol("capitalize"),_l=Symbol("toHandlerKey"),Ea=Symbol("setBlockTracking"),Dy=Symbol("pushScopeId"),Ry=Symbol("popScopeId"),Kl=Symbol("withCtx"),Sa=Symbol("unref"),ba=Symbol("isRef"),Gl=Symbol("withMemo"),hp=Symbol("isMemoSame"),Vt={[dn]:"Fragment",[fn]:"Teleport",[wl]:"Suspense",[Aa]:"KeepAlive",[np]:"BaseTransition",[ji]:"openBlock",[ap]:"createBlock",[op]:"createElementBlock",[Ll]:"createVNode",[Ml]:"createElementVNode",[En]:"createCommentVNode",[Dl]:"createTextVNode",[lp]:"createStaticVNode",[ga]:"resolveComponent",[Rl]:"resolveDynamicComponent",[kl]:"resolveDirective",[Bl]:"resolveFilter",[Fl]:"withDirectives",[Vl]:"renderList",[cp]:"renderSlot",[up]:"createSlots",[Ul]:"toDisplayString",[ya]:"mergeProps",[$l]:"normalizeClass",[jl]:"normalizeStyle",[mn]:"normalizeProps",[Sn]:"guardReactiveProps",[Hl]:"toHandlers",[Il]:"camelize",[My]:"capitalize",[_l]:"toHandlerKey",[Ea]:"setBlockTracking",[Dy]:"pushScopeId",[Ry]:"popScopeId",[Kl]:"withCtx",[Sa]:"unref",[ba]:"isRef",[Gl]:"withMemo",[hp]:"isMemoSame"};function UN(s){Object.getOwnPropertySymbols(s).forEach(t=>{Vt[t]=s[t]})}var $N={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},jN={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"},HN={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},KN={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"},st={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function ky(s,t=""){return{type:0,source:t,children:s,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:st}}function An(s,t,e,i,r,n,a,o=!1,l=!1,c=!1,u=st){return s&&(o?(s.helper(ji),s.helper(Cr(s.inSSR,c))):s.helper(Tr(s.inSSR,c)),a&&s.helper(Fl)),{type:13,tag:t,props:e,children:i,patchFlag:r,dynamicProps:n,directives:a,isBlock:o,disableTracking:l,isComponent:c,loc:u}}function Ui(s,t=st){return{type:17,loc:t,elements:s}}function rs(s,t=st){return{type:15,loc:t,properties:s}}function tt(s,t){return{type:16,loc:st,key:k.isString(s)?Z(s,!0):s,value:t}}function Z(s,t=!1,e=st,i=0){return{type:4,loc:e,content:s,isStatic:t,constType:t?3:i}}function GN(s,t){return{type:5,loc:t,content:k.isString(s)?Z(s,!1,t):s}}function is(s,t=st){return{type:8,loc:t,children:s}}function St(s,t=[],e=st){return{type:14,loc:e,callee:s,arguments:t}}function br(s,t=void 0,e=!1,i=!1,r=st){return{type:18,params:s,returns:t,newline:e,isSlot:i,loc:r}}function Pl(s,t,e,i=!0){return{type:19,test:s,consequent:t,alternate:e,newline:i,loc:st}}function By(s,t,e=!1,i=!1){return{type:20,index:s,value:t,needPauseTracking:e,inVOnce:i,needArraySpread:!1,loc:st}}function Fy(s){return{type:21,body:s,loc:st}}function WN(s){return{type:22,elements:s,loc:st}}function XN(s,t,e){return{type:23,test:s,consequent:t,alternate:e,loc:st}}function qN(s,t){return{type:24,left:s,right:t,loc:st}}function QN(s){return{type:25,expressions:s,loc:st}}function JN(s){return{type:26,returns:s,loc:st}}function Tr(s,t){return s||t?Ll:Ml}function Cr(s,t){return s||t?ap:op}function Wl(s,{helper:t,removeHelper:e,inSSR:i}){s.isBlock||(s.isBlock=!0,e(Tr(i,s.isComponent)),t(ji),t(Cr(i,s.isComponent)))}var my=new Uint8Array([123,123]),Ay=new Uint8Array([125,125]);function gy(s){return s>=97&&s<=122||s>=65&&s<=90}function ss(s){return s===32||s===10||s===9||s===12||s===13}function Bi(s){return s===47||s===62||ss(s)}function Nl(s){let t=new Uint8Array(s.length);for(let e=0;e<s.length;e++)t[e]=s.charCodeAt(e);return t}var yt={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])},Jh=class{constructor(t,e){this.stack=t,this.cbs=e,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=my,this.delimiterClose=Ay,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new yr.EntityDecoder(yr.htmlDecodeTree,(i,r)=>this.emitCodePoint(i,r))}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=my,this.delimiterClose=Ay}getPos(t){let e=1,i=t+1,r=this.newlines.length,n=-1;if(r>100){let a=-1,o=r;for(;a+1<o;){let l=a+o>>>1;this.newlines[l]<t?a=l:o=l}n=a}else for(let a=r-1;a>=0;a--)if(t>this.newlines[a]){n=a;break}return n>=0&&(e=n+2,i=t-this.newlines[n]),{column:i,line:e,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):t===38?this.startEntity():!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){let e=this.sequenceIndex===this.currentSequence.length;if(!(e?Bi(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!e){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||ss(t)){let e=this.index-this.currentSequence.length;if(this.sectionStart<e){let i=this.index;this.index=e,this.cbs.ontext(this.sectionStart,e),this.index=i}this.sectionStart=e+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===yt.TitleEnd||this.currentSequence===yt.TextareaEnd&&!this.inSFCRoot?t===38?this.startEntity():!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===yt.Cdata[this.sequenceIndex]?++this.sequenceIndex===yt.Cdata.length&&(this.state=28,this.currentSequence=yt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);if(e===10&&this.newlines.push(this.index),e===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===yt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,e){this.enterRCDATA(t,e),this.state=31}enterRCDATA(t,e){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=e}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):gy(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Bi(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Bi(t)){let e=this.buffer.slice(this.sectionStart,this.index);e!=="template"&&this.enterRCDATA(Nl("</"+e),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){ss(t)||(t===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=gy(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||ss(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?(this.state=7,this.peek()!==62&&this.cbs.onerr(22,this.index)):t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):ss(t)||(t===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(t))}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):ss(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){t===61||Bi(t)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):(t===34||t===39||t===60)&&this.cbs.onerr(17,this.index)}stateInDirName(t){t===61||Bi(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Bi(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Bi(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t),this.cbs.onerr(27,this.index))}stateInDirModifier(t){t===61||Bi(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):ss(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):ss(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,e){t===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(e===34?3:2,this.index+1),this.state=11):t===38&&this.startEntity()}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){ss(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):t===34||t===39||t===60||t===61||t===96?this.cbs.onerr(18,this.index):t===38&&this.startEntity()}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=yt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===yt.ScriptEnd[3]?this.startSpecial(yt.ScriptEnd,4):t===yt.StyleEnd[3]?this.startSpecial(yt.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===yt.TitleEnd[3]?this.startSpecial(yt.TitleEnd,4):t===yt.TextareaEnd[3]?this.startSpecial(yt.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=33,this.entityStart=this.index,this.entityDecoder.startEntity(this.baseState===1||this.baseState===32?yr.DecodingMode.Legacy:yr.DecodingMode.Attribute)}stateInEntity(){{let t=this.entityDecoder.write(this.buffer,this.index);t>=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.buffer.length-1}}parse(t){for(this.buffer=t;this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);switch(e===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(e);break}case 2:{this.stateInterpolationOpen(e);break}case 3:{this.stateInterpolation(e);break}case 4:{this.stateInterpolationClose(e);break}case 31:{this.stateSpecialStartSequence(e);break}case 32:{this.stateInRCDATA(e);break}case 26:{this.stateCDATASequence(e);break}case 19:{this.stateInAttrValueDoubleQuotes(e);break}case 12:{this.stateInAttrName(e);break}case 13:{this.stateInDirName(e);break}case 14:{this.stateInDirArg(e);break}case 15:{this.stateInDynamicDirArg(e);break}case 16:{this.stateInDirModifier(e);break}case 28:{this.stateInCommentLike(e);break}case 27:{this.stateInSpecialComment(e);break}case 11:{this.stateBeforeAttrName(e);break}case 6:{this.stateInTagName(e);break}case 34:{this.stateInSFCRootTagName(e);break}case 9:{this.stateInClosingTagName(e);break}case 5:{this.stateBeforeTagName(e);break}case 17:{this.stateAfterAttrName(e);break}case 20:{this.stateInAttrValueSingleQuotes(e);break}case 18:{this.stateBeforeAttrValue(e);break}case 8:{this.stateBeforeClosingTagName(e);break}case 10:{this.stateAfterClosingTagName(e);break}case 29:{this.stateBeforeSpecialS(e);break}case 30:{this.stateBeforeSpecialT(e);break}case 21:{this.stateInAttrValueNoQuotes(e);break}case 7:{this.stateInSelfClosingTag(e);break}case 23:{this.stateInDeclaration(e);break}case 22:{this.stateBeforeDeclaration(e);break}case 25:{this.stateBeforeComment(e);break}case 24:{this.stateInProcessingInstruction(e);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(){let t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===yt.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){this.baseState!==1&&this.baseState!==32?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.onattribentity(yr.fromCodePoint(t),this.entityStart,this.sectionStart)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.ontextentity(yr.fromCodePoint(t),this.entityStart,this.sectionStart))}},YN={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"},zN={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:s=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${s}.sync\` should be changed to \`v-model:${s}\`.`,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 Yh(s,{compatConfig:t}){let e=t&&t[s];return s==="MODE"?e||3:e}function $i(s,t){let e=Yh("MODE",t),i=Yh(s,t);return e===3?i===!0:i!==!1}function gn(s,t,e,...i){let r=$i(s,t);return r&&Ta(s,t,e,...i),r}function Ta(s,t,e,...i){if(Yh(s,t)==="suppress-warning")return;let{message:n,link:a}=zN[s],o=`(deprecation ${s}) ${typeof n=="function"?n(...i):n}${a?`
|
|
33
|
-
Details: ${a}`:""}`,l=new SyntaxError(o);l.code=s,e&&(l.loc=e),t.onWarn(l)}function
|
|
34
|
-
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@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.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""};function $y(s,t,e=!1,i=[],r=Object.create(null)){let n=s.type==="Program"?s.body[0].type==="ExpressionStatement"&&s.body[0].expression:s;FN.walk(s,{enter(a,o){if(o&&i.push(o),o&&o.type.startsWith("TS")&&!mp.includes(o.type))return this.skip();if(a.type==="Identifier"){let l=!!r[a.name],c=jy(a,o,i);(e||c&&!l)&&t(a,o,i,c,l)}else if(a.type==="ObjectProperty"&&o?.type==="ObjectPattern")a.inPattern=!0;else if(qy(a))a.scopeIds?a.scopeIds.forEach(l=>hn(l,r)):Ky(a,l=>ma(a,l,r));else if(a.type==="BlockStatement")a.scopeIds?a.scopeIds.forEach(l=>hn(l,r)):fp(a,l=>ma(a,l,r));else if(a.type==="SwitchStatement")a.scopeIds?a.scopeIds.forEach(l=>hn(l,r)):Xy(a,!1,l=>ma(a,l,r));else if(a.type==="CatchClause"&&a.param)if(a.scopeIds)a.scopeIds.forEach(l=>hn(l,r));else for(let l of Is(a.param))ma(a,l,r);else Gy(a)&&(a.scopeIds?a.scopeIds.forEach(l=>hn(l,r)):Wy(a,!1,l=>ma(a,l,r)))},leave(a,o){if(o&&i.pop(),a!==n&&a.scopeIds)for(let l of a.scopeIds)r[l]--,r[l]===0&&delete r[l]}})}function jy(s,t,e){if(!t)return!0;if(s.name==="arguments")return!1;if(ex(s,t,e[e.length-2]))return!0;switch(t.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectProperty":return t.key!==s&&xl(t,e);case"ArrayPattern":return xl(t,e)}return!1}function xl(s,t){if(s&&(s.type==="ObjectProperty"||s.type==="ArrayPattern")){let e=t.length;for(;e--;){let i=t[e];if(i.type==="AssignmentExpression")return!0;if(i.type!=="ObjectProperty"&&!i.type.endsWith("Pattern"))break}}return!1}function Hy(s){let t=s.length;for(;t--;){let e=s[t];if(e.type==="NewExpression")return!0;if(e.type!=="MemberExpression")break}return!1}function Ky(s,t){for(let e of s.params)for(let i of Is(e))t(i)}function fp(s,t){let e=s.type==="SwitchCase"?s.consequent:s.body;for(let i of e)if(i.type==="VariableDeclaration"){if(i.declare)continue;for(let r of i.declarations)for(let n of Is(r.id))t(n)}else if(i.type==="FunctionDeclaration"||i.type==="ClassDeclaration"){if(i.declare||!i.id)continue;t(i.id)}else Gy(i)?Wy(i,!0,t):i.type==="SwitchStatement"&&Xy(i,!0,t)}function Gy(s){return s.type==="ForOfStatement"||s.type==="ForInStatement"||s.type==="ForStatement"}function Wy(s,t,e){let i=s.type==="ForStatement"?s.init:s.left;if(i&&i.type==="VariableDeclaration"&&(i.kind==="var"?t:!t))for(let r of i.declarations)for(let n of Is(r.id))e(n)}function Xy(s,t,e){for(let i of s.cases){for(let r of i.consequent)if(r.type==="VariableDeclaration"&&(r.kind==="var"?t:!t))for(let n of r.declarations)for(let a of Is(n.id))e(a);fp(i,e)}}function Is(s,t=[]){switch(s.type){case"Identifier":t.push(s);break;case"MemberExpression":let e=s;for(;e.type==="MemberExpression";)e=e.object;t.push(e);break;case"ObjectPattern":for(let i of s.properties)i.type==="RestElement"?Is(i.argument,t):Is(i.value,t);break;case"ArrayPattern":s.elements.forEach(i=>{i&&Is(i,t)});break;case"RestElement":Is(s.argument,t);break;case"AssignmentPattern":Is(s.left,t);break}return t}function hn(s,t){s in t?t[s]++:t[s]=1}function ma(s,t,e){let{name:i}=t;s.scopeIds&&s.scopeIds.has(i)||(hn(i,e),(s.scopeIds||(s.scopeIds=new Set)).add(i))}var qy=s=>/Function(?:Expression|Declaration)$|Method$/.test(s.type),dp=s=>s&&(s.type==="ObjectProperty"||s.type==="ObjectMethod")&&!s.computed,Qy=(s,t)=>dp(t)&&t.key===s;function ex(s,t,e){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===s?!!t.computed:t.object===s;case"JSXMemberExpression":return t.object===s;case"VariableDeclarator":return t.init===s;case"ArrowFunctionExpression":return t.body===s;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===s?!!t.computed:!1;case"ObjectProperty":return t.key===s?!!t.computed:!e||e.type!=="ObjectPattern";case"ClassProperty":return t.key===s?!!t.computed:!0;case"ClassPrivateProperty":return t.key!==s;case"ClassDeclaration":case"ClassExpression":return t.superClass===s;case"AssignmentExpression":return t.right===s;case"AssignmentPattern":return t.right===s;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?.source?!1:t.local===s;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==s;case"TSEnumMember":return t.id!==s;case"TSPropertySignature":return t.key===s?!!t.computed:!0}return!0}var mp=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function Xl(s){return mp.includes(s.type)?Xl(s.expression):s}var _s=s=>s.type===4&&s.isStatic;function Ap(s){switch(s){case"Teleport":case"teleport":return fn;case"Suspense":case"suspense":return wl;case"KeepAlive":case"keep-alive":return Aa;case"BaseTransition":case"base-transition":return np}}var tx=/^$|^\d|[^\$\w\xA0-\uFFFF]/,hi=s=>!tx.test(s),gp=/[A-Za-z_$\xA0-\uFFFF]/,sx=/[\.\?\w$\xA0-\uFFFF]/,ix=/\s+[.[]\s*|\s*[.[]\s+/g,ql=s=>s.type===4?s.content:s.loc.source,rx=s=>{let t=ql(s).trim().replace(ix,o=>o.trim()),e=0,i=[],r=0,n=0,a=null;for(let o=0;o<t.length;o++){let l=t.charAt(o);switch(e){case 0:if(l==="[")i.push(e),e=1,r++;else if(l==="(")i.push(e),e=2,n++;else if(!(o===0?gp:sx).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(i.push(e),e=3,a=l):l==="["?r++:l==="]"&&(--r||(e=i.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")i.push(e),e=3,a=l;else if(l==="(")n++;else if(l===")"){if(o===t.length-1)return!1;--n||(e=i.pop())}break;case 3:l===a&&(e=i.pop(),a=null);break}}return!r&&!n},Jy=(s,t)=>{try{let e=s.ast||pn.parseExpression(ql(s),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return e=Xl(e),e.type==="MemberExpression"||e.type==="OptionalMemberExpression"||e.type==="Identifier"&&e.name!=="undefined"}catch{return!1}},yp=Jy,nx=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,ax=s=>nx.test(ql(s)),Yy=(s,t)=>{try{let e=s.ast||pn.parseExpression(ql(s),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return e.type==="Program"&&(e=e.body[0],e.type==="ExpressionStatement"&&(e=e.expression)),e=Xl(e),e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"}catch{return!1}},zy=Yy;function zh(s,t,e=t.length){return Ep({offset:s.offset,line:s.line,column:s.column},t,e)}function Ep(s,t,e=t.length){let i=0,r=-1;for(let n=0;n<e;n++)t.charCodeAt(n)===10&&(i++,r=n);return s.offset+=e,s.line+=i,s.column=r===-1?s.column+e:e-r,s}function Zh(s,t){if(!s)throw new Error(t||"unexpected compiler condition")}function Rt(s,t,e=!1){for(let i=0;i<s.props.length;i++){let r=s.props[i];if(r.type===7&&(e||r.exp)&&(k.isString(t)?r.name===t:t.test(r.name)))return r}}function Ca(s,t,e=!1,i=!1){for(let r=0;r<s.props.length;r++){let n=s.props[r];if(n.type===6){if(e)continue;if(n.name===t&&(n.value||i))return n}else if(n.name==="bind"&&(n.exp||i)&&Vi(n.arg,t))return n}}function Vi(s,t){return!!(s&&_s(s)&&s.content===t)}function ox(s){return s.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function yl(s){return s.type===5||s.type===2}function ep(s){return s.type===7&&s.name==="pre"}function Ql(s){return s.type===7&&s.name==="slot"}function yn(s){return s.type===1&&s.tagType===3}function Ia(s){return s.type===1&&s.tagType===2}var lx=new Set([mn,Sn]);function Zy(s,t=[]){if(s&&!k.isString(s)&&s.type===14){let e=s.callee;if(!k.isString(e)&&lx.has(e))return Zy(s.arguments[0],t.concat(s))}return[s,t]}function _a(s,t,e){let i,r=s.type===13?s.props:s.arguments[2],n=[],a;if(r&&!k.isString(r)&&r.type===14){let o=Zy(r);r=o[0],n=o[1],a=n[n.length-1]}if(r==null||k.isString(r))i=rs([t]);else if(r.type===14){let o=r.arguments[0];!k.isString(o)&&o.type===15?yy(t,o)||o.properties.unshift(t):r.callee===Hl?i=St(e.helper(ya),[rs([t]),r]):r.arguments.unshift(rs([t])),!i&&(i=r)}else r.type===15?(yy(t,r)||r.properties.unshift(t),i=r):(i=St(e.helper(ya),[rs([t]),r]),a&&a.callee===Sn&&(a=n[n.length-2]));s.type===13?a?a.arguments[0]=i:s.props=i:a?a.arguments[0]=i:s.arguments[2]=i}function yy(s,t){let e=!1;if(s.key.type===4){let i=s.key.content;e=t.properties.some(r=>r.key.type===4&&r.key.content===i)}return e}function Ir(s,t){return`_${t}_${s.replace(/[^\w]/g,(e,i)=>e==="-"?"_":s.charCodeAt(i).toString())}`}function Pt(s,t){if(!s||Object.keys(t).length===0)return!1;switch(s.type){case 1:for(let e=0;e<s.props.length;e++){let i=s.props[e];if(i.type===7&&(Pt(i.arg,t)||Pt(i.exp,t)))return!0}return s.children.some(e=>Pt(e,t));case 11:return Pt(s.source,t)?!0:s.children.some(e=>Pt(e,t));case 9:return s.branches.some(e=>Pt(e,t));case 10:return Pt(s.condition,t)?!0:s.children.some(e=>Pt(e,t));case 4:return!s.isStatic&&hi(s.content)&&!!t[s.content];case 8:return s.children.some(e=>k.isObject(e)&&Pt(e,t));case 5:case 12:return Pt(s.content,t);case 2:case 3:case 20:return!1;default:return!1}}function eE(s){return s.type===14&&s.callee===Gl?s.arguments[1].returns:s}var tE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Sp(s){for(let t=0;t<s.length;t++)if(!ss(s.charCodeAt(t)))return!1;return!0}function Jl(s){return s.type===2&&Sp(s.content)||s.type===12&&Jl(s.content)}function bp(s){return s.type===3||Jl(s)}var sE={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:k.NO,isPreTag:k.NO,isIgnoreNewlineTag:k.NO,isCustomElement:k.NO,onError:pp,onWarn:Vy,comments:!0,prefixIdentifiers:!1},he=sE,Pa=null,ui="",Nt=null,ne=null,ds="",ci=-1,Er=-1,Tp=0,Fi=!1,tp=null,He=[],Ne=new Jh(He,{onerr:Dt,ontext(s,t){Al(Et(s,t),s,t)},ontextentity(s,t,e){Al(s,t,e)},oninterpolation(s,t){if(Fi)return Al(Et(s,t),s,t);let e=s+Ne.delimiterOpen.length,i=t-Ne.delimiterClose.length;for(;ss(ui.charCodeAt(e));)e++;for(;ss(ui.charCodeAt(i-1));)i--;let r=Et(e,i);r.includes("&")&&(r=yr.decodeHTML(r)),sp({type:5,content:Sl(r,!1,Je(e,i)),loc:Je(s,t)})},onopentagname(s,t){let e=Et(s,t);Nt={type:1,tag:e,ns:he.getNamespace(e,He[0],he.ns),tagType:0,props:[],children:[],loc:Je(s-1,t),codegenNode:void 0}},onopentagend(s){Sy(s)},onclosetag(s,t){let e=Et(s,t);if(!he.isVoidTag(e)){let i=!1;for(let r=0;r<He.length;r++)if(He[r].tag.toLowerCase()===e.toLowerCase()){i=!0,r>0&&Dt(24,He[0].loc.start.offset);for(let a=0;a<=r;a++){let o=He.shift();El(o,t,a<r)}break}i||Dt(23,iE(s,60))}},onselfclosingtag(s){let t=Nt.tag;Nt.isSelfClosing=!0,Sy(s),He[0]&&He[0].tag===t&&El(He.shift(),s)},onattribname(s,t){ne={type:6,name:Et(s,t),nameLoc:Je(s,t),value:void 0,loc:Je(s)}},ondirname(s,t){let e=Et(s,t),i=e==="."||e===":"?"bind":e==="@"?"on":e==="#"?"slot":e.slice(2);if(!Fi&&i===""&&Dt(26,s),Fi||i==="")ne={type:6,name:e,nameLoc:Je(s,t),value:void 0,loc:Je(s)};else if(ne={type:7,name:i,rawName:e,exp:void 0,arg:void 0,modifiers:e==="."?[Z("prop")]:[],loc:Je(s)},i==="pre"){Fi=Ne.inVPre=!0,tp=Nt;let r=Nt.props;for(let n=0;n<r.length;n++)r[n].type===7&&(r[n]=yx(r[n]))}},ondirarg(s,t){if(s===t)return;let e=Et(s,t);if(Fi&&!ep(ne))ne.name+=e,Sr(ne.nameLoc,t);else{let i=e[0]!=="[";ne.arg=Sl(i?e:e.slice(1,-1),i,Je(s,t),i?3:0)}},ondirmodifier(s,t){let e=Et(s,t);if(Fi&&!ep(ne))ne.name+="."+e,Sr(ne.nameLoc,t);else if(ne.name==="slot"){let i=ne.arg;i&&(i.content+="."+e,Sr(i.loc,t))}else{let i=Z(e,!0,Je(s,t));ne.modifiers.push(i)}},onattribdata(s,t){ds+=Et(s,t),ci<0&&(ci=s),Er=t},onattribentity(s,t,e){ds+=s,ci<0&&(ci=t),Er=e},onattribnameend(s){let t=ne.loc.start.offset,e=Et(t,s);ne.type===7&&(ne.rawName=e),Nt.props.some(i=>(i.type===7?i.rawName:i.name)===e)&&Dt(2,t)},onattribend(s,t){if(Nt&&ne){if(Sr(ne.loc,t),s!==0)if(ne.type===6)ne.name==="class"&&(ds=nE(ds).trim()),s===1&&!ds&&Dt(13,t),ne.value={type:2,content:ds,loc:s===1?Je(ci,Er):Je(ci-1,Er+1)},Ne.inSFCRoot&&Nt.tag==="template"&&ne.name==="lang"&&ds&&ds!=="html"&&Ne.enterRCDATA(Nl("</template"),0);else{let e=0;ne.name==="for"?e=3:ne.name==="slot"?e=1:ne.name==="on"&&ds.includes(";")&&(e=2),ne.exp=Sl(ds,!1,Je(ci,Er),0,e),ne.name==="for"&&(ne.forParseResult=ux(ne.exp));let i=-1;ne.name==="bind"&&(i=ne.modifiers.findIndex(r=>r.content==="sync"))>-1&&gn("COMPILER_V_BIND_SYNC",he,ne.loc,ne.arg.loc.source)&&(ne.name="model",ne.modifiers.splice(i,1))}(ne.type!==7||ne.name!=="pre")&&Nt.props.push(ne)}ds="",ci=Er=-1},oncomment(s,t){he.comments&&sp({type:3,content:Et(s,t),loc:Je(s-4,t+3)})},onend(){let s=ui.length;if(Ne.state!==1)switch(Ne.state){case 5:case 8:Dt(5,s);break;case 3:case 4:Dt(25,Ne.sectionStart);break;case 28:Ne.currentSequence===yt.CdataEnd?Dt(6,s):Dt(7,s);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:Dt(9,s);break}for(let t=0;t<He.length;t++)El(He[t],s-1),Dt(24,He[t].loc.start.offset)},oncdata(s,t){He[0].ns!==0?Al(Et(s,t),s,t):Dt(1,s-9)},onprocessinginstruction(s){(He[0]?He[0].ns:he.ns)===0&&Dt(21,s-1)}}),Ey=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,cx=/^\(|\)$/g;function ux(s){let t=s.loc,e=s.content,i=e.match(tE);if(!i)return;let[,r,n]=i,a=(h,p,f=!1)=>{let m=t.start.offset+p,d=m+h.length;return Sl(h,!1,Je(m,d),0,f?1:0)},o={source:a(n.trim(),e.indexOf(n,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1},l=r.trim().replace(cx,"").trim(),c=r.indexOf(l),u=l.match(Ey);if(u){l=l.replace(Ey,"").trim();let h=u[1].trim(),p;if(h&&(p=e.indexOf(h,c+l.length),o.key=a(h,p,!0)),u[2]){let f=u[2].trim();f&&(o.index=a(f,e.indexOf(f,o.key?p+h.length:c+l.length),!0))}}return l&&(o.value=a(l,c,!0)),o}function Et(s,t){return ui.slice(s,t)}function Sy(s){Ne.inSFCRoot&&(Nt.innerLoc=Je(s+1,s+1)),sp(Nt);let{tag:t,ns:e}=Nt;e===0&&he.isPreTag(t)&&Tp++,he.isVoidTag(t)?El(Nt,s):(He.unshift(Nt),(e===1||e===2)&&(Ne.inXML=!0)),Nt=null}function Al(s,t,e){let i=He[0]||Pa,r=i.children[i.children.length-1];r&&r.type===2?(r.content+=s,Sr(r.loc,e)):i.children.push({type:2,content:s,loc:Je(t,e)})}function El(s,t,e=!1){e?Sr(s.loc,iE(t,60)):Sr(s.loc,hx(t,62)+1),Ne.inSFCRoot&&(s.children.length?s.innerLoc.end=k.extend({},s.children[s.children.length-1].loc.end):s.innerLoc.end=k.extend({},s.innerLoc.start),s.innerLoc.source=Et(s.innerLoc.start.offset,s.innerLoc.end.offset));let{tag:i,ns:r,children:n}=s;if(Fi||(i==="slot"?s.tagType=2:by(s)?s.tagType=3:fx(s)&&(s.tagType=1)),Ne.inRCDATA||(s.children=rE(n)),r===0&&he.isIgnoreNewlineTag(i)){let a=n[0];a&&a.type===2&&(a.content=a.content.replace(/^\r?\n/,""))}r===0&&he.isPreTag(i)&&Tp--,tp===s&&(Fi=Ne.inVPre=!1,tp=null),Ne.inXML&&(He[0]?He[0].ns:he.ns)===0&&(Ne.inXML=!1);{let a=s.props;if($i("COMPILER_V_IF_V_FOR_PRECEDENCE",he)){let l=!1,c=!1;for(let u=0;u<a.length;u++){let h=a[u];if(h.type===7&&(h.name==="if"?l=!0:h.name==="for"&&(c=!0)),l&&c){Ta("COMPILER_V_IF_V_FOR_PRECEDENCE",he,s.loc);break}}}if(!Ne.inSFCRoot&&$i("COMPILER_NATIVE_TEMPLATE",he)&&s.tag==="template"&&!by(s)){Ta("COMPILER_NATIVE_TEMPLATE",he,s.loc);let l=He[0]||Pa,c=l.children.indexOf(s);l.children.splice(c,1,...s.children)}let o=a.find(l=>l.type===6&&l.name==="inline-template");o&&gn("COMPILER_INLINE_TEMPLATE",he,o.loc)&&s.children.length&&(o.value={type:2,content:Et(s.children[0].loc.start.offset,s.children[s.children.length-1].loc.end.offset),loc:o.loc})}}function hx(s,t){let e=s;for(;ui.charCodeAt(e)!==t&&e<ui.length-1;)e++;return e}function iE(s,t){let e=s;for(;ui.charCodeAt(e)!==t&&e>=0;)e--;return e}var px=new Set(["if","else","else-if","for","slot"]);function by({tag:s,props:t}){if(s==="template"){for(let e=0;e<t.length;e++)if(t[e].type===7&&px.has(t[e].name))return!0}return!1}function fx({tag:s,props:t}){if(he.isCustomElement(s))return!1;if(s==="component"||dx(s.charCodeAt(0))||Ap(s)||he.isBuiltInComponent&&he.isBuiltInComponent(s)||he.isNativeTag&&!he.isNativeTag(s))return!0;for(let e=0;e<t.length;e++){let i=t[e];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(gn("COMPILER_IS_ON_ELEMENT",he,i.loc))return!0}}else if(i.name==="bind"&&Vi(i.arg,"is")&&gn("COMPILER_IS_ON_ELEMENT",he,i.loc))return!0}return!1}function dx(s){return s>64&&s<91}var mx=/\r\n/g;function rE(s){let t=he.whitespace!=="preserve",e=!1;for(let i=0;i<s.length;i++){let r=s[i];if(r.type===2)if(Tp)r.content=r.content.replace(mx,`
|
|
35
|
-
`);else if(Sp(r.content)){let n=s[i-1]&&s[i-1].type,a=s[i+1]&&s[i+1].type;!n||!a||t&&(n===3&&(a===3||a===1)||n===1&&(a===3||a===1&&Ax(r.content)))?(e=!0,s[i]=null):r.content=" "}else t&&(r.content=nE(r.content))}return e?s.filter(Boolean):s}function Ax(s){for(let t=0;t<s.length;t++){let e=s.charCodeAt(t);if(e===10||e===13)return!0}return!1}function nE(s){let t="",e=!1;for(let i=0;i<s.length;i++)ss(s.charCodeAt(i))?e||(t+=" ",e=!0):(t+=s[i],e=!1);return t}function sp(s){(He[0]||Pa).children.push(s)}function Je(s,t){return{start:Ne.getPos(s),end:t==null?t:Ne.getPos(t),source:t==null?t:Et(s,t)}}function gx(s){return Je(s.start.offset,s.end.offset)}function Sr(s,t){s.end=Ne.getPos(t),s.source=Et(s.start.offset,t)}function yx(s){let t={type:6,name:s.rawName,nameLoc:Je(s.loc.start.offset,s.loc.start.offset+s.rawName.length),value:void 0,loc:s.loc};if(s.exp){let e=s.exp.loc;e.end.offset<s.loc.end.offset&&(e.start.offset--,e.start.column--,e.end.offset++,e.end.column++),t.value={type:2,content:s.exp.content,loc:e}}return t}function Sl(s,t=!1,e,i=0,r=0){let n=Z(s,t,e,i);if(!t&&he.prefixIdentifiers&&r!==3&&s.trim()){if(hi(s))return n.ast=null,n;try{let a=he.expressionPlugins,o={plugins:a?[...a,"typescript"]:["typescript"]};r===2?n.ast=pn.parse(` ${s} `,o).program:r===1?n.ast=pn.parseExpression(`(${s})=>{}`,o):n.ast=pn.parseExpression(`(${s})`,o)}catch(a){n.ast=!1,Dt(46,e.start.offset,a.message)}}return n}function Dt(s,t,e){he.onError(ye(s,Je(t,t),void 0,e))}function Ex(){Ne.reset(),Nt=null,ne=null,ds="",ci=-1,Er=-1,He.length=0}function aE(s,t){if(Ex(),ui=s,he=k.extend({},sE),t){let r;for(r in t)t[r]!=null&&(he[r]=t[r])}he.decodeEntities&&console.warn("[@vue/compiler-core] decodeEntities option is passed but will be ignored in non-browser builds."),Ne.mode=he.parseMode==="html"?1:he.parseMode==="sfc"?2:0,Ne.inXML=he.ns===1||he.ns===2;let e=t&&t.delimiters;e&&(Ne.delimiterOpen=Nl(e[0]),Ne.delimiterClose=Nl(e[1]));let i=Pa=ky([],s);return Ne.parse(ui),i.loc=Je(0,s.length),i.children=rE(i.children),Pa=null,i}function Sx(s,t){bl(s,void 0,t,!!oE(s))}function oE(s){let t=s.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!Ia(t[0])?t[0]:null}function bl(s,t,e,i=!1,r=!1){let{children:n}=s,a=[];for(let u=0;u<n.length;u++){let h=n[u];if(h.type===1&&h.tagType===0){let p=i?0:ns(h,e);if(p>0){if(p>=2){h.codegenNode.patchFlag=-1,a.push(h);continue}}else{let f=h.codegenNode;if(f.type===13){let m=f.patchFlag;if((m===void 0||m===512||m===1)&&cE(h,e)>=2){let d=uE(h);d&&(f.props=e.hoist(d))}f.dynamicProps&&(f.dynamicProps=e.hoist(f.dynamicProps))}}}else if(h.type===12&&(i?0:ns(h,e))>=2){h.codegenNode.type===14&&h.codegenNode.arguments.length>0&&h.codegenNode.arguments.push(`-1 /* ${k.PatchFlagNames[-1]} */`),a.push(h);continue}if(h.type===1){let p=h.tagType===1;p&&e.scopes.vSlot++,bl(h,s,e,!1,r),p&&e.scopes.vSlot--}else if(h.type===11)bl(h,s,e,h.children.length===1,!0);else if(h.type===9)for(let p=0;p<h.branches.length;p++)bl(h.branches[p],s,e,h.branches[p].children.length===1,r)}let o=!1;if(a.length===n.length&&s.type===1){if(s.tagType===0&&s.codegenNode&&s.codegenNode.type===13&&k.isArray(s.codegenNode.children))s.codegenNode.children=l(Ui(s.codegenNode.children)),o=!0;else if(s.tagType===1&&s.codegenNode&&s.codegenNode.type===13&&s.codegenNode.children&&!k.isArray(s.codegenNode.children)&&s.codegenNode.children.type===15){let u=c(s.codegenNode,"default");u&&(u.returns=l(Ui(u.returns)),o=!0)}else if(s.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!k.isArray(t.codegenNode.children)&&t.codegenNode.children.type===15){let u=Rt(s,"slot",!0),h=u&&u.arg&&c(t.codegenNode,u.arg);h&&(h.returns=l(Ui(h.returns)),o=!0)}}if(!o)for(let u of a)u.codegenNode=e.cache(u.codegenNode);function l(u){let h=e.cache(u);return h.needArraySpread=!0,h}function c(u,h){if(u.children&&!k.isArray(u.children)&&u.children.type===15){let p=u.children.properties.find(f=>f.key===h||f.key.content===h);return p&&p.value}}a.length&&e.transformHoist&&e.transformHoist(n,e,s)}function ns(s,t){let{constantCache:e}=t;switch(s.type){case 1:if(s.tagType!==0)return 0;let i=e.get(s);if(i!==void 0)return i;let r=s.codegenNode;if(r.type!==13||r.isBlock&&s.tag!=="svg"&&s.tag!=="foreignObject"&&s.tag!=="math")return 0;if(r.patchFlag===void 0){let a=3,o=cE(s,t);if(o===0)return e.set(s,0),0;o<a&&(a=o);for(let l=0;l<s.children.length;l++){let c=ns(s.children[l],t);if(c===0)return e.set(s,0),0;c<a&&(a=c)}if(a>1)for(let l=0;l<s.props.length;l++){let c=s.props[l];if(c.type===7&&c.name==="bind"&&c.exp){let u=ns(c.exp,t);if(u===0)return e.set(s,0),0;u<a&&(a=u)}}if(r.isBlock){for(let l=0;l<s.props.length;l++)if(s.props[l].type===7)return e.set(s,0),0;t.removeHelper(ji),t.removeHelper(Cr(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Tr(t.inSSR,r.isComponent))}return e.set(s,a),a}else return e.set(s,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return ns(s.content,t);case 4:return s.constType;case 8:let n=3;for(let a=0;a<s.children.length;a++){let o=s.children[a];if(k.isString(o)||k.isSymbol(o))continue;let l=ns(o,t);if(l===0)return 0;l<n&&(n=l)}return n;case 20:return 2;default:return 0}}var bx=new Set([$l,jl,mn,Sn]);function lE(s,t){if(s.type===14&&!k.isString(s.callee)&&bx.has(s.callee)){let e=s.arguments[0];if(e.type===4)return ns(e,t);if(e.type===14)return lE(e,t)}return 0}function cE(s,t){let e=3,i=uE(s);if(i&&i.type===15){let{properties:r}=i;for(let n=0;n<r.length;n++){let{key:a,value:o}=r[n],l=ns(a,t);if(l===0)return l;l<e&&(e=l);let c;if(o.type===4?c=ns(o,t):o.type===14?c=lE(o,t):c=0,c===0)return c;c<e&&(e=c)}}return e}function uE(s){let t=s.codegenNode;if(t.type===13)return t.props}function hE(s,{filename:t="",prefixIdentifiers:e=!1,hoistStatic:i=!1,hmr:r=!1,cacheHandlers:n=!1,nodeTransforms:a=[],directiveTransforms:o={},transformHoist:l=null,isBuiltInComponent:c=k.NOOP,isCustomElement:u=k.NOOP,expressionPlugins:h=[],scopeId:p=null,slotted:f=!0,ssr:m=!1,inSSR:d=!1,ssrCssVars:A="",bindingMetadata:y=k.EMPTY_OBJ,inline:E=!1,isTS:x=!1,onError:N=pp,onWarn:w=Vy,compatConfig:M}){let R=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),I={filename:t,selfName:R&&k.capitalize(k.camelize(R[1])),prefixIdentifiers:e,hoistStatic:i,hmr:r,cacheHandlers:n,nodeTransforms:a,directiveTransforms:o,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:h,scopeId:p,slotted:f,ssr:m,inSSR:d,ssrCssVars:A,bindingMetadata:y,inline:E,isTS:x,onError:N,onWarn:w,compatConfig:M,root:s,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:s,childIndex:0,inVOnce:!1,helper(g){let P=I.helpers.get(g)||0;return I.helpers.set(g,P+1),g},removeHelper(g){let P=I.helpers.get(g);if(P){let L=P-1;L?I.helpers.set(g,L):I.helpers.delete(g)}},helperString(g){return`_${Vt[I.helper(g)]}`},replaceNode(g){{if(!I.currentNode)throw new Error("Node being replaced is already removed.");if(!I.parent)throw new Error("Cannot replace root node.")}I.parent.children[I.childIndex]=I.currentNode=g},removeNode(g){if(!I.parent)throw new Error("Cannot remove root node.");let P=I.parent.children,L=g?P.indexOf(g):I.currentNode?I.childIndex:-1;if(L<0)throw new Error("node being removed is not a child of current parent");!g||g===I.currentNode?(I.currentNode=null,I.onNodeRemoved()):I.childIndex>L&&(I.childIndex--,I.onNodeRemoved()),I.parent.children.splice(L,1)},onNodeRemoved:k.NOOP,addIdentifiers(g){k.isString(g)?_(g):g.identifiers?g.identifiers.forEach(_):g.type===4&&_(g.content)},removeIdentifiers(g){k.isString(g)?T(g):g.identifiers?g.identifiers.forEach(T):g.type===4&&T(g.content)},hoist(g){k.isString(g)&&(g=Z(g)),I.hoists.push(g);let P=Z(`_hoisted_${I.hoists.length}`,!1,g.loc,2);return P.hoisted=g,P},cache(g,P=!1,L=!1){let C=By(I.cached.length,g,P,L);return I.cached.push(C),C}};I.filters=new Set;function _(g){let{identifiers:P}=I;P[g]===void 0&&(P[g]=0),P[g]++}function T(g){I.identifiers[g]--}return I}function pE(s,t){let e=hE(s,t);Na(s,e),t.hoistStatic&&Sx(s,e),t.ssr||Tx(s,e),s.helpers=new Set([...e.helpers.keys()]),s.components=[...e.components],s.directives=[...e.directives],s.imports=e.imports,s.hoists=e.hoists,s.temps=e.temps,s.cached=e.cached,s.transformed=!0,s.filters=[...e.filters]}function Tx(s,t){let{helper:e}=t,{children:i}=s;if(i.length===1){let r=oE(s);if(r&&r.codegenNode){let n=r.codegenNode;n.type===13&&Wl(n,t),s.codegenNode=n}else s.codegenNode=i[0]}else if(i.length>1){let r=64;i.filter(n=>n.type!==3).length===1&&(r|=2048),s.codegenNode=An(t,e(dn),void 0,s.children,r,void 0,void 0,!0,void 0,!1)}}function Cx(s,t){let e=0,i=()=>{e--};for(;e<s.children.length;e++){let r=s.children[e];k.isString(r)||(t.grandParent=t.parent,t.parent=s,t.childIndex=e,t.onNodeRemoved=i,Na(r,t))}}function Na(s,t){t.currentNode=s;let{nodeTransforms:e}=t,i=[];for(let n=0;n<e.length;n++){let a=e[n](s,t);if(a&&(k.isArray(a)?i.push(...a):i.push(a)),t.currentNode)s=t.currentNode;else return}switch(s.type){case 3:t.ssr||t.helper(En);break;case 5:t.ssr||t.helper(Ul);break;case 9:for(let n=0;n<s.branches.length;n++)Na(s.branches[n],t);break;case 10:case 11:case 1:case 0:Cx(s,t);break}t.currentNode=s;let r=i.length;for(;r--;)i[r]()}function Cp(s,t){let e=k.isString(s)?i=>i===s:i=>s.test(i);return(i,r)=>{if(i.type===1){let{props:n}=i;if(i.tagType===3&&n.some(Ql))return;let a=[];for(let o=0;o<n.length;o++){let l=n[o];if(l.type===7&&e(l.name)){n.splice(o,1),o--;let c=t(i,l,r);c&&a.push(c)}}return a}}}var Yl="/*@__PURE__*/",Tl=s=>`${Vt[s]}: _${Vt[s]}`;function Ty(s,{mode:t="function",prefixIdentifiers:e=t==="module",sourceMap:i=!1,filename:r="template.vue.html",scopeId:n=null,optimizeImports:a=!1,runtimeGlobalName:o="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:h=!1,inSSR:p=!1}){let f={mode:t,prefixIdentifiers:e,sourceMap:i,filename:r,scopeId:n,optimizeImports:a,runtimeGlobalName:o,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:h,inSSR:p,source:s.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(A){return`_${Vt[A]}`},push(A,y=-2,E){if(f.code+=A,f.map){if(E){let x;if(E.type===4&&!E.isStatic){let N=E.content.replace(/^_ctx\./,"");N!==E.content&&hi(N)&&(x=N)}E.loc.source&&d(E.loc.start,x)}y===-3?Ep(f,A):(f.offset+=A.length,y===-2?f.column+=A.length:(y===-1&&(y=A.length-1),f.line++,f.column=A.length-y)),E&&E.loc!==st&&E.loc.source&&d(E.loc.end)}},indent(){m(++f.indentLevel)},deindent(A=!1){A?--f.indentLevel:m(--f.indentLevel)},newline(){m(f.indentLevel)}};function m(A){f.push(`
|
|
36
|
-
`+" ".repeat(A),0)}function d(A,y=null){let{_names:
|
|
37
|
-
`,-1),l())),s.components.length&&(
|
|
38
|
-
`,0),l()),u||r("return "),s.codegenNode?Me(s.codegenNode,e):r("null"),f&&(o(),r("}")),o(),r("}"),{ast:s,code:e.code,preamble:d?A.code:"",map:e.map?e.map.toJSON():void 0}}function
|
|
32
|
+
`:""}(...args)`} => ${f?"{":"("}`,l,f?"}":")"]))}let u={props:[Ze(o,l||z("() => {}",!1,r))]};return i&&(u=i(u)),c&&(u.props[0].value=e.cache(u.props[0].value)),u.props.forEach(p=>p.key.isHandlerKey=!0),u},uy=(s,t,e)=>{let{modifiers:i,loc:r}=s,n=s.arg,{exp:a}=s;return a&&a.type===4&&!a.content.trim()?(e.onError(Te(34,r)),{props:[Ze(n,z("",!0,r))]}):(n.type!==4?(n.children.unshift("("),n.children.push(') || ""')):n.isStatic||(n.content=n.content?`${n.content} || ""`:'""'),i.some(o=>o.content==="camel")&&(n.type===4?n.isStatic?n.content=U.camelize(n.content):n.content=`${e.helperString($o)}(${n.content})`:(n.children.unshift(`${e.helperString($o)}(`),n.children.push(")"))),e.inSSR||(i.some(o=>o.content==="prop")&&cg(n,"."),i.some(o=>o.content==="attr")&&cg(n,"^")),{props:[Ze(n,a)]})},cg=(s,t)=>{s.type===4?s.isStatic?s.content=t+s.content:s.content=`\`${t}\${${s.content}}\``:(s.children.unshift(`'${t}' + (`),s.children.push(")"))},ON=(s,t)=>{if(s.type===0||s.type===1||s.type===11||s.type===10)return()=>{let e=s.children,i,r=!1;for(let n=0;n<e.length;n++){let a=e[n];if(Ro(a)){r=!0;for(let o=n+1;o<e.length;o++){let l=e[o];if(Ro(l))i||(i=e[n]=Zt([a],a.loc)),i.children.push(" + ",l),e.splice(o,1),o--;else{i=void 0;break}}}}if(!(!r||e.length===1&&(s.type===0||s.type===1&&s.tagType===0&&!s.props.find(n=>n.type===7&&!t.directiveTransforms[n.name])&&s.tag!=="template")))for(let n=0;n<e.length;n++){let a=e[n];if(Ro(a)||a.type===8){let o=[];(a.type!==2||a.content!==" ")&&o.push(a),!t.ssr&&ts(a,t)===0&&o.push("1"),e[n]={type:12,content:a,loc:a.loc,codegenNode:gt(t.helper(Yo),o)}}}}},ug=new WeakSet,wN=(s,t)=>{if(s.type===1&&Mt(s,"once",!0))return ug.has(s)||t.inVOnce||t.inSSR?void 0:(ug.add(s),t.inVOnce=!0,t.helper(aa),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))})},py=(s,t,e)=>{let{exp:i,arg:r}=s;if(!i)return e.onError(Te(41,s.loc)),zr();let n=i.loc.source.trim(),a=i.type===4?i.content:n,o=e.bindingMetadata[n];if(o==="props"||o==="props-aliased")return e.onError(Te(44,i.loc)),zr();if(o==="literal-const"||o==="setup-const")return e.onError(Te(45,i.loc)),zr();let l=e.inline&&(o==="setup-let"||o==="setup-ref"||o==="setup-maybe-ref");if(!a.trim()||!Up(i,e)&&!l)return e.onError(Te(42,i.loc)),zr();if(e.prefixIdentifiers&&li(a)&&e.identifiers[a])return e.onError(Te(43,i.loc)),zr();let c=r||z("modelValue",!0),u=r?Cs(r)?`onUpdate:${U.camelize(r.content)}`:Zt(['"onUpdate:" + ',r]):"onUpdate:modelValue",p,h=e.isTS?"($event: any)":"$event";if(l)if(o==="setup-ref")p=Zt([`${h} => ((`,z(n,!1,i.loc),").value = $event)"]);else{let m=o==="setup-let"?`${n} = $event`:"null";p=Zt([`${h} => (${e.helperString(la)}(${n}) ? (`,z(n,!1,i.loc),`).value = $event : ${m})`])}else p=Zt([`${h} => ((`,i,") = $event)"]);let f=[Ze(c,s.exp),Ze(u,p)];if(e.prefixIdentifiers&&!e.inVOnce&&e.cacheHandlers&&!Ct(i,e.identifiers)&&(f[1].value=e.cache(f[1].value)),s.modifiers.length&&t.tagType===1){let m=s.modifiers.map(A=>A.content).map(A=>(li(A)?A:JSON.stringify(A))+": true").join(", "),d=r?Cs(r)?`${r.content}Modifiers`:Zt([r,' + "Modifiers"']):"modelModifiers";f.push(Ze(d,z(`{ ${m} }`,!1,s.loc,2)))}return zr(f)};function zr(s=[]){return{props:s}}var LN=/[\w).+\-_$\]]/,MN=(s,t)=>{fr("COMPILER_FILTERS",t)&&(s.type===5?Xo(s.content,t):s.type===1&&s.props.forEach(e=>{e.type===7&&e.name!=="for"&&e.exp&&Xo(e.exp,t)}))};function Xo(s,t){if(s.type===4)pg(s,t);else for(let e=0;e<s.children.length;e++){let i=s.children[e];typeof i=="object"&&(i.type===4?pg(i,t):i.type===8?Xo(s,t):i.type===5&&Xo(i.content,t))}}function pg(s,t){let e=s.content,i=!1,r=!1,n=!1,a=!1,o=0,l=0,c=0,u=0,p,h,f,m,d=[];for(f=0;f<e.length;f++)if(h=p,p=e.charCodeAt(f),i)p===39&&h!==92&&(i=!1);else if(r)p===34&&h!==92&&(r=!1);else if(n)p===96&&h!==92&&(n=!1);else if(a)p===47&&h!==92&&(a=!1);else if(p===124&&e.charCodeAt(f+1)!==124&&e.charCodeAt(f-1)!==124&&!o&&!l&&!c)m===void 0?(u=f+1,m=e.slice(0,f).trim()):A();else{switch(p){case 34:r=!0;break;case 39:i=!0;break;case 96:n=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:o++;break;case 125:o--;break}if(p===47){let y=f-1,S;for(;y>=0&&(S=e.charAt(y),S===" ");y--);(!S||!LN.test(S))&&(a=!0)}}m===void 0?m=e.slice(0,f).trim():u!==0&&A();function A(){d.push(e.slice(u,f).trim()),u=f+1}if(d.length){for(f=0;f<d.length;f++)m=DN(m,d[f],t);s.content=m,s.ast=void 0}}function DN(s,t,e){e.helper(el);let i=t.indexOf("(");if(i<0)return e.filters.add(t),`${gr(t,"filter")}(${s})`;{let r=t.slice(0,i),n=t.slice(i+1);return e.filters.add(r),`${gr(r,"filter")}(${s}${n!==")"?","+n:n}`}}var hg=new WeakSet,RN=(s,t)=>{if(s.type===1){let e=Mt(s,"memo");return!e||hg.has(s)||t.inSSR?void 0:(hg.add(s),()=>{let i=s.codegenNode||t.currentNode.codegenNode;i&&i.type===13&&(s.tagType!==1&&cl(i,t),s.codegenNode=gt(t.helper(ll),[e.exp,dr(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))})}},hy=(s,t)=>{if(s.type===1){for(let e of s.props)if(e.type===7&&e.name==="bind"&&!e.exp&&e.arg){let i=e.arg;if(i.type!==4||!i.isStatic)t.onError(Te(53,i.loc)),e.exp=z("",!0,i.loc);else{let r=U.camelize(i.content);(Vp.test(r[0])||r[0]==="-")&&(e.exp=z(r,!1,i.loc))}}}};function fy(s){return[[hy,wN,bN,RN,IN,MN,...s?[sy,zg]:[],vN,ny,ty,ON],{on:cy,bind:uy,model:py}]}function kN(s,t={}){let e=t.onError||Dp,i=t.mode==="module",r=t.prefixIdentifiers===!0||i;!r&&t.cacheHandlers&&e(Te(50)),t.scopeId&&!i&&e(Te(51));let n=U.extend({},t,{prefixIdentifiers:r}),a=U.isString(s)?Ug(s,n):s,[o,l]=fy(r);if(t.isTS){let{expressionPlugins:c}=t;(!c||!c.includes("typescript"))&&(t.expressionPlugins=[...c||[],"typescript"])}return Wg(a,U.extend({},n,{nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:U.extend({},l,t.directiveTransforms||{})})),Xg(a,n)}var BN={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"},FN=()=>({props:[]});O.generateCodeFrame=U.generateCodeFrame;O.BASE_TRANSITION=Np;O.BindingTypes=BN;O.CAMELIZE=$o;O.CAPITALIZE=fg;O.CREATE_BLOCK=xp;O.CREATE_COMMENT=on;O.CREATE_ELEMENT_BLOCK=vp;O.CREATE_ELEMENT_VNODE=Jo;O.CREATE_SLOTS=Lp;O.CREATE_STATIC=Op;O.CREATE_TEXT=Yo;O.CREATE_VNODE=Qo;O.CompilerDeprecationTypes=IP;O.ConstantTypes=gP;O.ElementTypes=AP;O.ErrorCodes=NP;O.FRAGMENT=sn;O.GUARD_REACTIVE_PROPS=ln;O.IS_MEMO_SAME=Mp;O.IS_REF=la;O.KEEP_ALIVE=ia;O.MERGE_PROPS=na;O.NORMALIZE_CLASS=rl;O.NORMALIZE_PROPS=rn;O.NORMALIZE_STYLE=nl;O.Namespaces=dP;O.NodeTypes=mP;O.OPEN_BLOCK=ki;O.POP_SCOPE_ID=mg;O.PUSH_SCOPE_ID=dg;O.RENDER_LIST=sl;O.RENDER_SLOT=wp;O.RESOLVE_COMPONENT=ra;O.RESOLVE_DIRECTIVE=Zo;O.RESOLVE_DYNAMIC_COMPONENT=zo;O.RESOLVE_FILTER=el;O.SET_BLOCK_TRACKING=aa;O.SUSPENSE=qo;O.TELEPORT=tn;O.TO_DISPLAY_STRING=il;O.TO_HANDLERS=al;O.TO_HANDLER_KEY=jo;O.TS_NODE_TYPES=Bp;O.UNREF=oa;O.WITH_CTX=ol;O.WITH_DIRECTIVES=tl;O.WITH_MEMO=ll;O.advancePositionWithClone=bp;O.advancePositionWithMutation=$p;O.assert=RP;O.baseCompile=kN;O.baseParse=Ug;O.buildDirectiveArgs=oy;O.buildProps=qp;O.buildSlots=iy;O.checkCompatEnabled=ca;O.convertToBlock=cl;O.createArrayExpression=Ri;O.createAssignmentExpression=bP;O.createBlockStatement=yg;O.createCacheExpression=gg;O.createCallExpression=gt;O.createCompilerError=Te;O.createCompoundExpression=Zt;O.createConditionalExpression=Ho;O.createForLoopParams=Wo;O.createFunctionExpression=dr;O.createIfStatement=SP;O.createInterpolation=yP;O.createObjectExpression=es;O.createObjectProperty=Ze;O.createReturnStatement=CP;O.createRoot=Ag;O.createSequenceExpression=TP;O.createSimpleExpression=z;O.createStructuralDirectiveTransform=Gp;O.createTemplateLiteral=EP;O.createTransformContext=Gg;O.createVNodeCall=nn;O.errorMessages=Sg;O.extractIdentifiers=Ts;O.findDir=Mt;O.findProp=ua;O.forAliasRE=Rg;O.generate=Xg;O.getBaseTransformPreset=fy;O.getConstantType=ts;O.getMemoedVNodeCall=Dg;O.getVNodeBlockHelper=Ar;O.getVNodeHelper=mr;O.hasDynamicKeyVBind=kP;O.hasScopeRef=Ct;O.helperNameMap=Ft;O.injectProp=ha;O.isAllWhitespace=jp;O.isCommentOrWhitespace=Hp;O.isCoreComponent=Fp;O.isFnExpression=Lg;O.isFnExpressionBrowser=DP;O.isFnExpressionNode=wg;O.isFunctionType=xg;O.isInDestructureAssignment=Go;O.isInNewExpression=Cg;O.isMemberExpression=Up;O.isMemberExpressionBrowser=LP;O.isMemberExpressionNode=Og;O.isReferencedIdentifier=Tg;O.isSimpleIdentifier=li;O.isSlotOutlet=pa;O.isStaticArgOf=Di;O.isStaticExp=Cs;O.isStaticProperty=kp;O.isStaticPropertyKey=vg;O.isTemplateNode=an;O.isText=Ro;O.isVPre=Tp;O.isVSlot=hl;O.isWhitespaceText=fl;O.locStub=et;O.noopDirectiveTransform=FN;O.processExpression=_t;O.processFor=ey;O.processIf=Zg;O.processSlotOutlet=ly;O.registerRuntimeHelpers=fP;O.resolveComponentType=ay;O.stringifyExpression=Wp;O.toValidAssetId=gr;O.trackSlotScopes=ty;O.trackVForSlotScopes=sy;O.transform=Wg;O.transformBind=uy;O.transformElement=ny;O.transformExpression=zg;O.transformModel=py;O.transformOn=cy;O.transformVBindShorthand=hy;O.traverseNode=da;O.unwrapTSNode=ul;O.validFirstIdentCharRE=Vp;O.walkBlockDeclarations=Rp;O.walkFunctionParams=Ig;O.walkIdentifiers=bg;O.warnDeprecation=PP});var DE=D(w=>{"use strict";Object.defineProperty(w,"__esModule",{value:!0});var k=at(),yr=Su(),hn=ip(),VN=rp(),UN=gp(),dn=Symbol("Fragment"),fn=Symbol("Teleport"),wl=Symbol("Suspense"),Aa=Symbol("KeepAlive"),nh=Symbol("BaseTransition"),ji=Symbol("openBlock"),ah=Symbol("createBlock"),oh=Symbol("createElementBlock"),Ll=Symbol("createVNode"),Ml=Symbol("createElementVNode"),En=Symbol("createCommentVNode"),Dl=Symbol("createTextVNode"),lh=Symbol("createStaticVNode"),ga=Symbol("resolveComponent"),Rl=Symbol("resolveDynamicComponent"),kl=Symbol("resolveDirective"),Bl=Symbol("resolveFilter"),Fl=Symbol("withDirectives"),Vl=Symbol("renderList"),ch=Symbol("renderSlot"),uh=Symbol("createSlots"),Ul=Symbol("toDisplayString"),ya=Symbol("mergeProps"),$l=Symbol("normalizeClass"),jl=Symbol("normalizeStyle"),mn=Symbol("normalizeProps"),Sn=Symbol("guardReactiveProps"),Hl=Symbol("toHandlers"),Il=Symbol("camelize"),My=Symbol("capitalize"),_l=Symbol("toHandlerKey"),Ea=Symbol("setBlockTracking"),Dy=Symbol("pushScopeId"),Ry=Symbol("popScopeId"),Kl=Symbol("withCtx"),Sa=Symbol("unref"),ba=Symbol("isRef"),Gl=Symbol("withMemo"),ph=Symbol("isMemoSame"),Vt={[dn]:"Fragment",[fn]:"Teleport",[wl]:"Suspense",[Aa]:"KeepAlive",[nh]:"BaseTransition",[ji]:"openBlock",[ah]:"createBlock",[oh]:"createElementBlock",[Ll]:"createVNode",[Ml]:"createElementVNode",[En]:"createCommentVNode",[Dl]:"createTextVNode",[lh]:"createStaticVNode",[ga]:"resolveComponent",[Rl]:"resolveDynamicComponent",[kl]:"resolveDirective",[Bl]:"resolveFilter",[Fl]:"withDirectives",[Vl]:"renderList",[ch]:"renderSlot",[uh]:"createSlots",[Ul]:"toDisplayString",[ya]:"mergeProps",[$l]:"normalizeClass",[jl]:"normalizeStyle",[mn]:"normalizeProps",[Sn]:"guardReactiveProps",[Hl]:"toHandlers",[Il]:"camelize",[My]:"capitalize",[_l]:"toHandlerKey",[Ea]:"setBlockTracking",[Dy]:"pushScopeId",[Ry]:"popScopeId",[Kl]:"withCtx",[Sa]:"unref",[ba]:"isRef",[Gl]:"withMemo",[ph]:"isMemoSame"};function $N(s){Object.getOwnPropertySymbols(s).forEach(t=>{Vt[t]=s[t]})}var jN={HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},HN={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"},KN={ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},GN={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"},st={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function ky(s,t=""){return{type:0,source:t,children:s,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:st}}function An(s,t,e,i,r,n,a,o=!1,l=!1,c=!1,u=st){return s&&(o?(s.helper(ji),s.helper(Cr(s.inSSR,c))):s.helper(Tr(s.inSSR,c)),a&&s.helper(Fl)),{type:13,tag:t,props:e,children:i,patchFlag:r,dynamicProps:n,directives:a,isBlock:o,disableTracking:l,isComponent:c,loc:u}}function Ui(s,t=st){return{type:17,loc:t,elements:s}}function rs(s,t=st){return{type:15,loc:t,properties:s}}function tt(s,t){return{type:16,loc:st,key:k.isString(s)?Z(s,!0):s,value:t}}function Z(s,t=!1,e=st,i=0){return{type:4,loc:e,content:s,isStatic:t,constType:t?3:i}}function WN(s,t){return{type:5,loc:t,content:k.isString(s)?Z(s,!1,t):s}}function is(s,t=st){return{type:8,loc:t,children:s}}function St(s,t=[],e=st){return{type:14,loc:e,callee:s,arguments:t}}function br(s,t=void 0,e=!1,i=!1,r=st){return{type:18,params:s,returns:t,newline:e,isSlot:i,loc:r}}function Pl(s,t,e,i=!0){return{type:19,test:s,consequent:t,alternate:e,newline:i,loc:st}}function By(s,t,e=!1,i=!1){return{type:20,index:s,value:t,needPauseTracking:e,inVOnce:i,needArraySpread:!1,loc:st}}function Fy(s){return{type:21,body:s,loc:st}}function XN(s){return{type:22,elements:s,loc:st}}function qN(s,t,e){return{type:23,test:s,consequent:t,alternate:e,loc:st}}function QN(s,t){return{type:24,left:s,right:t,loc:st}}function JN(s){return{type:25,expressions:s,loc:st}}function YN(s){return{type:26,returns:s,loc:st}}function Tr(s,t){return s||t?Ll:Ml}function Cr(s,t){return s||t?ah:oh}function Wl(s,{helper:t,removeHelper:e,inSSR:i}){s.isBlock||(s.isBlock=!0,e(Tr(i,s.isComponent)),t(ji),t(Cr(i,s.isComponent)))}var my=new Uint8Array([123,123]),Ay=new Uint8Array([125,125]);function gy(s){return s>=97&&s<=122||s>=65&&s<=90}function ss(s){return s===32||s===10||s===9||s===12||s===13}function Bi(s){return s===47||s===62||ss(s)}function Nl(s){let t=new Uint8Array(s.length);for(let e=0;e<s.length;e++)t[e]=s.charCodeAt(e);return t}var yt={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])},Jp=class{constructor(t,e){this.stack=t,this.cbs=e,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=my,this.delimiterClose=Ay,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new yr.EntityDecoder(yr.htmlDecodeTree,(i,r)=>this.emitCodePoint(i,r))}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=my,this.delimiterClose=Ay}getPos(t){let e=1,i=t+1,r=this.newlines.length,n=-1;if(r>100){let a=-1,o=r;for(;a+1<o;){let l=a+o>>>1;this.newlines[l]<t?a=l:o=l}n=a}else for(let a=r-1;a>=0;a--)if(t>this.newlines[a]){n=a;break}return n>=0&&(e=n+2,i=t-this.newlines[n]),{column:i,line:e,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):t===38?this.startEntity():!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){let e=this.index+1-this.delimiterOpen.length;e>this.sectionStart&&this.cbs.ontext(this.sectionStart,e),this.state=3,this.sectionStart=e}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){let e=this.sequenceIndex===this.currentSequence.length;if(!(e?Bi(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!e){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||ss(t)){let e=this.index-this.currentSequence.length;if(this.sectionStart<e){let i=this.index;this.index=e,this.cbs.ontext(this.sectionStart,e),this.index=i}this.sectionStart=e+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===yt.TitleEnd||this.currentSequence===yt.TextareaEnd&&!this.inSFCRoot?t===38?this.startEntity():!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===yt.Cdata[this.sequenceIndex]?++this.sequenceIndex===yt.Cdata.length&&(this.state=28,this.currentSequence=yt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);if(e===10&&this.newlines.push(this.index),e===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===yt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,e){this.enterRCDATA(t,e),this.state=31}enterRCDATA(t,e){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=e}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):gy(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){Bi(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(Bi(t)){let e=this.buffer.slice(this.sectionStart,this.index);e!=="template"&&this.enterRCDATA(Nl("</"+e),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){ss(t)||(t===62?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=gy(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||ss(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?(this.state=7,this.peek()!==62&&this.cbs.onerr(22,this.index)):t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):ss(t)||(t===61&&this.cbs.onerr(19,this.index),this.handleAttrStart(t))}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):ss(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){t===61||Bi(t)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):(t===34||t===39||t===60)&&this.cbs.onerr(17,this.index)}stateInDirName(t){t===61||Bi(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||Bi(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||Bi(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t),this.cbs.onerr(27,this.index))}stateInDirModifier(t){t===61||Bi(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):ss(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):ss(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,e){t===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(e===34?3:2,this.index+1),this.state=11):t===38&&this.startEntity()}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){ss(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):t===34||t===39||t===60||t===61||t===96?this.cbs.onerr(18,this.index):t===38&&this.startEntity()}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=yt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===yt.ScriptEnd[3]?this.startSpecial(yt.ScriptEnd,4):t===yt.StyleEnd[3]?this.startSpecial(yt.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===yt.TitleEnd[3]?this.startSpecial(yt.TitleEnd,4):t===yt.TextareaEnd[3]?this.startSpecial(yt.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){this.baseState=this.state,this.state=33,this.entityStart=this.index,this.entityDecoder.startEntity(this.baseState===1||this.baseState===32?yr.DecodingMode.Legacy:yr.DecodingMode.Attribute)}stateInEntity(){{let t=this.entityDecoder.write(this.buffer,this.index);t>=0?(this.state=this.baseState,t===0&&(this.index=this.entityStart)):this.index=this.buffer.length-1}}parse(t){for(this.buffer=t;this.index<this.buffer.length;){let e=this.buffer.charCodeAt(this.index);switch(e===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(e);break}case 2:{this.stateInterpolationOpen(e);break}case 3:{this.stateInterpolation(e);break}case 4:{this.stateInterpolationClose(e);break}case 31:{this.stateSpecialStartSequence(e);break}case 32:{this.stateInRCDATA(e);break}case 26:{this.stateCDATASequence(e);break}case 19:{this.stateInAttrValueDoubleQuotes(e);break}case 12:{this.stateInAttrName(e);break}case 13:{this.stateInDirName(e);break}case 14:{this.stateInDirArg(e);break}case 15:{this.stateInDynamicDirArg(e);break}case 16:{this.stateInDirModifier(e);break}case 28:{this.stateInCommentLike(e);break}case 27:{this.stateInSpecialComment(e);break}case 11:{this.stateBeforeAttrName(e);break}case 6:{this.stateInTagName(e);break}case 34:{this.stateInSFCRootTagName(e);break}case 9:{this.stateInClosingTagName(e);break}case 5:{this.stateBeforeTagName(e);break}case 17:{this.stateAfterAttrName(e);break}case 20:{this.stateInAttrValueSingleQuotes(e);break}case 18:{this.stateBeforeAttrValue(e);break}case 8:{this.stateBeforeClosingTagName(e);break}case 10:{this.stateAfterClosingTagName(e);break}case 29:{this.stateBeforeSpecialS(e);break}case 30:{this.stateBeforeSpecialT(e);break}case 21:{this.stateInAttrValueNoQuotes(e);break}case 7:{this.stateInSelfClosingTag(e);break}case 23:{this.stateInDeclaration(e);break}case 22:{this.stateBeforeDeclaration(e);break}case 25:{this.stateBeforeComment(e);break}case 24:{this.stateInProcessingInstruction(e);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(){let t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===yt.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,e){this.baseState!==1&&this.baseState!==32?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.onattribentity(yr.fromCodePoint(t),this.entityStart,this.sectionStart)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+e,this.index=this.sectionStart-1,this.cbs.ontextentity(yr.fromCodePoint(t),this.entityStart,this.sectionStart))}},zN={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"},ZN={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:s=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${s}.sync\` should be changed to \`v-model:${s}\`.`,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 Yp(s,{compatConfig:t}){let e=t&&t[s];return s==="MODE"?e||3:e}function $i(s,t){let e=Yp("MODE",t),i=Yp(s,t);return e===3?i===!0:i!==!1}function gn(s,t,e,...i){let r=$i(s,t);return r&&Ta(s,t,e,...i),r}function Ta(s,t,e,...i){if(Yp(s,t)==="suppress-warning")return;let{message:n,link:a}=ZN[s],o=`(deprecation ${s}) ${typeof n=="function"?n(...i):n}${a?`
|
|
33
|
+
Details: ${a}`:""}`,l=new SyntaxError(o);l.code=s,e&&(l.loc=e),t.onWarn(l)}function hh(s){throw s}function Vy(s){console.warn(`[Vue warn] ${s.message}`)}function ye(s,t,e,i){let r=(e||Uy)[s]+(i||""),n=new SyntaxError(String(r));return n.code=s,n.loc=t,n}var ex={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_V_MODEL_ON_CONST:45,45:"X_V_MODEL_ON_CONST",X_INVALID_EXPRESSION:46,46:"X_INVALID_EXPRESSION",X_KEEP_ALIVE_INVALID_CHILDREN:47,47:"X_KEEP_ALIVE_INVALID_CHILDREN",X_PREFIX_ID_NOT_SUPPORTED:48,48:"X_PREFIX_ID_NOT_SUPPORTED",X_MODULE_MODE_NOT_SUPPORTED:49,49:"X_MODULE_MODE_NOT_SUPPORTED",X_CACHE_HANDLER_NOT_SUPPORTED:50,50:"X_CACHE_HANDLER_NOT_SUPPORTED",X_SCOPE_ID_NOT_SUPPORTED:51,51:"X_SCOPE_ID_NOT_SUPPORTED",X_VNODE_HOOKS:52,52:"X_VNODE_HOOKS",X_V_BIND_INVALID_SAME_NAME_ARGUMENT:53,53:"X_V_BIND_INVALID_SAME_NAME_ARGUMENT",__EXTEND_POINT__:54,54:"__EXTEND_POINT__"},Uy={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.",53:"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.
|
|
34
|
+
Use a v-bind binding combined with a v-on listener that emits update:x event instead.`,45:"v-model cannot be used on a const binding because it is not writable.",46:"Error parsing JavaScript expression: ",47:"<KeepAlive> expects exactly one child component.",52:"@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.",48:'"prefixIdentifiers" option is not supported in this build of compiler.',49:"ES module mode is not supported in this build of compiler.",50:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',51:'"scopeId" option is only supported in module mode.',54:""};function $y(s,t,e=!1,i=[],r=Object.create(null)){let n=s.type==="Program"?s.body[0].type==="ExpressionStatement"&&s.body[0].expression:s;VN.walk(s,{enter(a,o){if(o&&i.push(o),o&&o.type.startsWith("TS")&&!mh.includes(o.type))return this.skip();if(a.type==="Identifier"){let l=!!r[a.name],c=jy(a,o,i);(e||c&&!l)&&t(a,o,i,c,l)}else if(a.type==="ObjectProperty"&&o?.type==="ObjectPattern")a.inPattern=!0;else if(qy(a))a.scopeIds?a.scopeIds.forEach(l=>pn(l,r)):Ky(a,l=>ma(a,l,r));else if(a.type==="BlockStatement")a.scopeIds?a.scopeIds.forEach(l=>pn(l,r)):fh(a,l=>ma(a,l,r));else if(a.type==="SwitchStatement")a.scopeIds?a.scopeIds.forEach(l=>pn(l,r)):Xy(a,!1,l=>ma(a,l,r));else if(a.type==="CatchClause"&&a.param)if(a.scopeIds)a.scopeIds.forEach(l=>pn(l,r));else for(let l of Is(a.param))ma(a,l,r);else Gy(a)&&(a.scopeIds?a.scopeIds.forEach(l=>pn(l,r)):Wy(a,!1,l=>ma(a,l,r)))},leave(a,o){if(o&&i.pop(),a!==n&&a.scopeIds)for(let l of a.scopeIds)r[l]--,r[l]===0&&delete r[l]}})}function jy(s,t,e){if(!t)return!0;if(s.name==="arguments")return!1;if(tx(s,t,e[e.length-2]))return!0;switch(t.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectProperty":return t.key!==s&&xl(t,e);case"ArrayPattern":return xl(t,e)}return!1}function xl(s,t){if(s&&(s.type==="ObjectProperty"||s.type==="ArrayPattern")){let e=t.length;for(;e--;){let i=t[e];if(i.type==="AssignmentExpression")return!0;if(i.type!=="ObjectProperty"&&!i.type.endsWith("Pattern"))break}}return!1}function Hy(s){let t=s.length;for(;t--;){let e=s[t];if(e.type==="NewExpression")return!0;if(e.type!=="MemberExpression")break}return!1}function Ky(s,t){for(let e of s.params)for(let i of Is(e))t(i)}function fh(s,t){let e=s.type==="SwitchCase"?s.consequent:s.body;for(let i of e)if(i.type==="VariableDeclaration"){if(i.declare)continue;for(let r of i.declarations)for(let n of Is(r.id))t(n)}else if(i.type==="FunctionDeclaration"||i.type==="ClassDeclaration"){if(i.declare||!i.id)continue;t(i.id)}else Gy(i)?Wy(i,!0,t):i.type==="SwitchStatement"&&Xy(i,!0,t)}function Gy(s){return s.type==="ForOfStatement"||s.type==="ForInStatement"||s.type==="ForStatement"}function Wy(s,t,e){let i=s.type==="ForStatement"?s.init:s.left;if(i&&i.type==="VariableDeclaration"&&(i.kind==="var"?t:!t))for(let r of i.declarations)for(let n of Is(r.id))e(n)}function Xy(s,t,e){for(let i of s.cases){for(let r of i.consequent)if(r.type==="VariableDeclaration"&&(r.kind==="var"?t:!t))for(let n of r.declarations)for(let a of Is(n.id))e(a);fh(i,e)}}function Is(s,t=[]){switch(s.type){case"Identifier":t.push(s);break;case"MemberExpression":let e=s;for(;e.type==="MemberExpression";)e=e.object;t.push(e);break;case"ObjectPattern":for(let i of s.properties)i.type==="RestElement"?Is(i.argument,t):Is(i.value,t);break;case"ArrayPattern":s.elements.forEach(i=>{i&&Is(i,t)});break;case"RestElement":Is(s.argument,t);break;case"AssignmentPattern":Is(s.left,t);break}return t}function pn(s,t){s in t?t[s]++:t[s]=1}function ma(s,t,e){let{name:i}=t;s.scopeIds&&s.scopeIds.has(i)||(pn(i,e),(s.scopeIds||(s.scopeIds=new Set)).add(i))}var qy=s=>/Function(?:Expression|Declaration)$|Method$/.test(s.type),dh=s=>s&&(s.type==="ObjectProperty"||s.type==="ObjectMethod")&&!s.computed,Qy=(s,t)=>dh(t)&&t.key===s;function tx(s,t,e){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===s?!!t.computed:t.object===s;case"JSXMemberExpression":return t.object===s;case"VariableDeclarator":return t.init===s;case"ArrowFunctionExpression":return t.body===s;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===s?!!t.computed:!1;case"ObjectProperty":return t.key===s?!!t.computed:!e||e.type!=="ObjectPattern";case"ClassProperty":return t.key===s?!!t.computed:!0;case"ClassPrivateProperty":return t.key!==s;case"ClassDeclaration":case"ClassExpression":return t.superClass===s;case"AssignmentExpression":return t.right===s;case"AssignmentPattern":return t.right===s;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?.source?!1:t.local===s;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==s;case"TSEnumMember":return t.id!==s;case"TSPropertySignature":return t.key===s?!!t.computed:!0}return!0}var mh=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function Xl(s){return mh.includes(s.type)?Xl(s.expression):s}var _s=s=>s.type===4&&s.isStatic;function Ah(s){switch(s){case"Teleport":case"teleport":return fn;case"Suspense":case"suspense":return wl;case"KeepAlive":case"keep-alive":return Aa;case"BaseTransition":case"base-transition":return nh}}var sx=/^$|^\d|[^\$\w\xA0-\uFFFF]/,pi=s=>!sx.test(s),gh=/[A-Za-z_$\xA0-\uFFFF]/,ix=/[\.\?\w$\xA0-\uFFFF]/,rx=/\s+[.[]\s*|\s*[.[]\s+/g,ql=s=>s.type===4?s.content:s.loc.source,nx=s=>{let t=ql(s).trim().replace(rx,o=>o.trim()),e=0,i=[],r=0,n=0,a=null;for(let o=0;o<t.length;o++){let l=t.charAt(o);switch(e){case 0:if(l==="[")i.push(e),e=1,r++;else if(l==="(")i.push(e),e=2,n++;else if(!(o===0?gh:ix).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(i.push(e),e=3,a=l):l==="["?r++:l==="]"&&(--r||(e=i.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")i.push(e),e=3,a=l;else if(l==="(")n++;else if(l===")"){if(o===t.length-1)return!1;--n||(e=i.pop())}break;case 3:l===a&&(e=i.pop(),a=null);break}}return!r&&!n},Jy=(s,t)=>{try{let e=s.ast||hn.parseExpression(ql(s),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return e=Xl(e),e.type==="MemberExpression"||e.type==="OptionalMemberExpression"||e.type==="Identifier"&&e.name!=="undefined"}catch{return!1}},yh=Jy,ax=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,ox=s=>ax.test(ql(s)),Yy=(s,t)=>{try{let e=s.ast||hn.parseExpression(ql(s),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return e.type==="Program"&&(e=e.body[0],e.type==="ExpressionStatement"&&(e=e.expression)),e=Xl(e),e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"}catch{return!1}},zy=Yy;function zp(s,t,e=t.length){return Eh({offset:s.offset,line:s.line,column:s.column},t,e)}function Eh(s,t,e=t.length){let i=0,r=-1;for(let n=0;n<e;n++)t.charCodeAt(n)===10&&(i++,r=n);return s.offset+=e,s.line+=i,s.column=r===-1?s.column+e:e-r,s}function Zp(s,t){if(!s)throw new Error(t||"unexpected compiler condition")}function Rt(s,t,e=!1){for(let i=0;i<s.props.length;i++){let r=s.props[i];if(r.type===7&&(e||r.exp)&&(k.isString(t)?r.name===t:t.test(r.name)))return r}}function Ca(s,t,e=!1,i=!1){for(let r=0;r<s.props.length;r++){let n=s.props[r];if(n.type===6){if(e)continue;if(n.name===t&&(n.value||i))return n}else if(n.name==="bind"&&(n.exp||i)&&Vi(n.arg,t))return n}}function Vi(s,t){return!!(s&&_s(s)&&s.content===t)}function lx(s){return s.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function yl(s){return s.type===5||s.type===2}function eh(s){return s.type===7&&s.name==="pre"}function Ql(s){return s.type===7&&s.name==="slot"}function yn(s){return s.type===1&&s.tagType===3}function Ia(s){return s.type===1&&s.tagType===2}var cx=new Set([mn,Sn]);function Zy(s,t=[]){if(s&&!k.isString(s)&&s.type===14){let e=s.callee;if(!k.isString(e)&&cx.has(e))return Zy(s.arguments[0],t.concat(s))}return[s,t]}function _a(s,t,e){let i,r=s.type===13?s.props:s.arguments[2],n=[],a;if(r&&!k.isString(r)&&r.type===14){let o=Zy(r);r=o[0],n=o[1],a=n[n.length-1]}if(r==null||k.isString(r))i=rs([t]);else if(r.type===14){let o=r.arguments[0];!k.isString(o)&&o.type===15?yy(t,o)||o.properties.unshift(t):r.callee===Hl?i=St(e.helper(ya),[rs([t]),r]):r.arguments.unshift(rs([t])),!i&&(i=r)}else r.type===15?(yy(t,r)||r.properties.unshift(t),i=r):(i=St(e.helper(ya),[rs([t]),r]),a&&a.callee===Sn&&(a=n[n.length-2]));s.type===13?a?a.arguments[0]=i:s.props=i:a?a.arguments[0]=i:s.arguments[2]=i}function yy(s,t){let e=!1;if(s.key.type===4){let i=s.key.content;e=t.properties.some(r=>r.key.type===4&&r.key.content===i)}return e}function Ir(s,t){return`_${t}_${s.replace(/[^\w]/g,(e,i)=>e==="-"?"_":s.charCodeAt(i).toString())}`}function Pt(s,t){if(!s||Object.keys(t).length===0)return!1;switch(s.type){case 1:for(let e=0;e<s.props.length;e++){let i=s.props[e];if(i.type===7&&(Pt(i.arg,t)||Pt(i.exp,t)))return!0}return s.children.some(e=>Pt(e,t));case 11:return Pt(s.source,t)?!0:s.children.some(e=>Pt(e,t));case 9:return s.branches.some(e=>Pt(e,t));case 10:return Pt(s.condition,t)?!0:s.children.some(e=>Pt(e,t));case 4:return!s.isStatic&&pi(s.content)&&!!t[s.content];case 8:return s.children.some(e=>k.isObject(e)&&Pt(e,t));case 5:case 12:return Pt(s.content,t);case 2:case 3:case 20:return!1;default:return!1}}function eE(s){return s.type===14&&s.callee===Gl?s.arguments[1].returns:s}var tE=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function Sh(s){for(let t=0;t<s.length;t++)if(!ss(s.charCodeAt(t)))return!1;return!0}function Jl(s){return s.type===2&&Sh(s.content)||s.type===12&&Jl(s.content)}function bh(s){return s.type===3||Jl(s)}var sE={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:k.NO,isPreTag:k.NO,isIgnoreNewlineTag:k.NO,isCustomElement:k.NO,onError:hh,onWarn:Vy,comments:!0,prefixIdentifiers:!1},pe=sE,Pa=null,ui="",Nt=null,ne=null,ds="",ci=-1,Er=-1,Th=0,Fi=!1,th=null,He=[],Ne=new Jp(He,{onerr:Dt,ontext(s,t){Al(Et(s,t),s,t)},ontextentity(s,t,e){Al(s,t,e)},oninterpolation(s,t){if(Fi)return Al(Et(s,t),s,t);let e=s+Ne.delimiterOpen.length,i=t-Ne.delimiterClose.length;for(;ss(ui.charCodeAt(e));)e++;for(;ss(ui.charCodeAt(i-1));)i--;let r=Et(e,i);r.includes("&")&&(r=yr.decodeHTML(r)),sh({type:5,content:Sl(r,!1,Je(e,i)),loc:Je(s,t)})},onopentagname(s,t){let e=Et(s,t);Nt={type:1,tag:e,ns:pe.getNamespace(e,He[0],pe.ns),tagType:0,props:[],children:[],loc:Je(s-1,t),codegenNode:void 0}},onopentagend(s){Sy(s)},onclosetag(s,t){let e=Et(s,t);if(!pe.isVoidTag(e)){let i=!1;for(let r=0;r<He.length;r++)if(He[r].tag.toLowerCase()===e.toLowerCase()){i=!0,r>0&&Dt(24,He[0].loc.start.offset);for(let a=0;a<=r;a++){let o=He.shift();El(o,t,a<r)}break}i||Dt(23,iE(s,60))}},onselfclosingtag(s){let t=Nt.tag;Nt.isSelfClosing=!0,Sy(s),He[0]&&He[0].tag===t&&El(He.shift(),s)},onattribname(s,t){ne={type:6,name:Et(s,t),nameLoc:Je(s,t),value:void 0,loc:Je(s)}},ondirname(s,t){let e=Et(s,t),i=e==="."||e===":"?"bind":e==="@"?"on":e==="#"?"slot":e.slice(2);if(!Fi&&i===""&&Dt(26,s),Fi||i==="")ne={type:6,name:e,nameLoc:Je(s,t),value:void 0,loc:Je(s)};else if(ne={type:7,name:i,rawName:e,exp:void 0,arg:void 0,modifiers:e==="."?[Z("prop")]:[],loc:Je(s)},i==="pre"){Fi=Ne.inVPre=!0,th=Nt;let r=Nt.props;for(let n=0;n<r.length;n++)r[n].type===7&&(r[n]=Ex(r[n]))}},ondirarg(s,t){if(s===t)return;let e=Et(s,t);if(Fi&&!eh(ne))ne.name+=e,Sr(ne.nameLoc,t);else{let i=e[0]!=="[";ne.arg=Sl(i?e:e.slice(1,-1),i,Je(s,t),i?3:0)}},ondirmodifier(s,t){let e=Et(s,t);if(Fi&&!eh(ne))ne.name+="."+e,Sr(ne.nameLoc,t);else if(ne.name==="slot"){let i=ne.arg;i&&(i.content+="."+e,Sr(i.loc,t))}else{let i=Z(e,!0,Je(s,t));ne.modifiers.push(i)}},onattribdata(s,t){ds+=Et(s,t),ci<0&&(ci=s),Er=t},onattribentity(s,t,e){ds+=s,ci<0&&(ci=t),Er=e},onattribnameend(s){let t=ne.loc.start.offset,e=Et(t,s);ne.type===7&&(ne.rawName=e),Nt.props.some(i=>(i.type===7?i.rawName:i.name)===e)&&Dt(2,t)},onattribend(s,t){if(Nt&&ne){if(Sr(ne.loc,t),s!==0)if(ne.type===6)ne.name==="class"&&(ds=nE(ds).trim()),s===1&&!ds&&Dt(13,t),ne.value={type:2,content:ds,loc:s===1?Je(ci,Er):Je(ci-1,Er+1)},Ne.inSFCRoot&&Nt.tag==="template"&&ne.name==="lang"&&ds&&ds!=="html"&&Ne.enterRCDATA(Nl("</template"),0);else{let e=0;ne.name==="for"?e=3:ne.name==="slot"?e=1:ne.name==="on"&&ds.includes(";")&&(e=2),ne.exp=Sl(ds,!1,Je(ci,Er),0,e),ne.name==="for"&&(ne.forParseResult=px(ne.exp));let i=-1;ne.name==="bind"&&(i=ne.modifiers.findIndex(r=>r.content==="sync"))>-1&&gn("COMPILER_V_BIND_SYNC",pe,ne.loc,ne.arg.loc.source)&&(ne.name="model",ne.modifiers.splice(i,1))}(ne.type!==7||ne.name!=="pre")&&Nt.props.push(ne)}ds="",ci=Er=-1},oncomment(s,t){pe.comments&&sh({type:3,content:Et(s,t),loc:Je(s-4,t+3)})},onend(){let s=ui.length;if(Ne.state!==1)switch(Ne.state){case 5:case 8:Dt(5,s);break;case 3:case 4:Dt(25,Ne.sectionStart);break;case 28:Ne.currentSequence===yt.CdataEnd?Dt(6,s):Dt(7,s);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:Dt(9,s);break}for(let t=0;t<He.length;t++)El(He[t],s-1),Dt(24,He[t].loc.start.offset)},oncdata(s,t){He[0].ns!==0?Al(Et(s,t),s,t):Dt(1,s-9)},onprocessinginstruction(s){(He[0]?He[0].ns:pe.ns)===0&&Dt(21,s-1)}}),Ey=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ux=/^\(|\)$/g;function px(s){let t=s.loc,e=s.content,i=e.match(tE);if(!i)return;let[,r,n]=i,a=(p,h,f=!1)=>{let m=t.start.offset+h,d=m+p.length;return Sl(p,!1,Je(m,d),0,f?1:0)},o={source:a(n.trim(),e.indexOf(n,r.length)),value:void 0,key:void 0,index:void 0,finalized:!1},l=r.trim().replace(ux,"").trim(),c=r.indexOf(l),u=l.match(Ey);if(u){l=l.replace(Ey,"").trim();let p=u[1].trim(),h;if(p&&(h=e.indexOf(p,c+l.length),o.key=a(p,h,!0)),u[2]){let f=u[2].trim();f&&(o.index=a(f,e.indexOf(f,o.key?h+p.length:c+l.length),!0))}}return l&&(o.value=a(l,c,!0)),o}function Et(s,t){return ui.slice(s,t)}function Sy(s){Ne.inSFCRoot&&(Nt.innerLoc=Je(s+1,s+1)),sh(Nt);let{tag:t,ns:e}=Nt;e===0&&pe.isPreTag(t)&&Th++,pe.isVoidTag(t)?El(Nt,s):(He.unshift(Nt),(e===1||e===2)&&(Ne.inXML=!0)),Nt=null}function Al(s,t,e){let i=He[0]||Pa,r=i.children[i.children.length-1];r&&r.type===2?(r.content+=s,Sr(r.loc,e)):i.children.push({type:2,content:s,loc:Je(t,e)})}function El(s,t,e=!1){e?Sr(s.loc,iE(t,60)):Sr(s.loc,hx(t,62)+1),Ne.inSFCRoot&&(s.children.length?s.innerLoc.end=k.extend({},s.children[s.children.length-1].loc.end):s.innerLoc.end=k.extend({},s.innerLoc.start),s.innerLoc.source=Et(s.innerLoc.start.offset,s.innerLoc.end.offset));let{tag:i,ns:r,children:n}=s;if(Fi||(i==="slot"?s.tagType=2:by(s)?s.tagType=3:dx(s)&&(s.tagType=1)),Ne.inRCDATA||(s.children=rE(n)),r===0&&pe.isIgnoreNewlineTag(i)){let a=n[0];a&&a.type===2&&(a.content=a.content.replace(/^\r?\n/,""))}r===0&&pe.isPreTag(i)&&Th--,th===s&&(Fi=Ne.inVPre=!1,th=null),Ne.inXML&&(He[0]?He[0].ns:pe.ns)===0&&(Ne.inXML=!1);{let a=s.props;if($i("COMPILER_V_IF_V_FOR_PRECEDENCE",pe)){let l=!1,c=!1;for(let u=0;u<a.length;u++){let p=a[u];if(p.type===7&&(p.name==="if"?l=!0:p.name==="for"&&(c=!0)),l&&c){Ta("COMPILER_V_IF_V_FOR_PRECEDENCE",pe,s.loc);break}}}if(!Ne.inSFCRoot&&$i("COMPILER_NATIVE_TEMPLATE",pe)&&s.tag==="template"&&!by(s)){Ta("COMPILER_NATIVE_TEMPLATE",pe,s.loc);let l=He[0]||Pa,c=l.children.indexOf(s);l.children.splice(c,1,...s.children)}let o=a.find(l=>l.type===6&&l.name==="inline-template");o&&gn("COMPILER_INLINE_TEMPLATE",pe,o.loc)&&s.children.length&&(o.value={type:2,content:Et(s.children[0].loc.start.offset,s.children[s.children.length-1].loc.end.offset),loc:o.loc})}}function hx(s,t){let e=s;for(;ui.charCodeAt(e)!==t&&e<ui.length-1;)e++;return e}function iE(s,t){let e=s;for(;ui.charCodeAt(e)!==t&&e>=0;)e--;return e}var fx=new Set(["if","else","else-if","for","slot"]);function by({tag:s,props:t}){if(s==="template"){for(let e=0;e<t.length;e++)if(t[e].type===7&&fx.has(t[e].name))return!0}return!1}function dx({tag:s,props:t}){if(pe.isCustomElement(s))return!1;if(s==="component"||mx(s.charCodeAt(0))||Ah(s)||pe.isBuiltInComponent&&pe.isBuiltInComponent(s)||pe.isNativeTag&&!pe.isNativeTag(s))return!0;for(let e=0;e<t.length;e++){let i=t[e];if(i.type===6){if(i.name==="is"&&i.value){if(i.value.content.startsWith("vue:"))return!0;if(gn("COMPILER_IS_ON_ELEMENT",pe,i.loc))return!0}}else if(i.name==="bind"&&Vi(i.arg,"is")&&gn("COMPILER_IS_ON_ELEMENT",pe,i.loc))return!0}return!1}function mx(s){return s>64&&s<91}var Ax=/\r\n/g;function rE(s){let t=pe.whitespace!=="preserve",e=!1;for(let i=0;i<s.length;i++){let r=s[i];if(r.type===2)if(Th)r.content=r.content.replace(Ax,`
|
|
35
|
+
`);else if(Sh(r.content)){let n=s[i-1]&&s[i-1].type,a=s[i+1]&&s[i+1].type;!n||!a||t&&(n===3&&(a===3||a===1)||n===1&&(a===3||a===1&&gx(r.content)))?(e=!0,s[i]=null):r.content=" "}else t&&(r.content=nE(r.content))}return e?s.filter(Boolean):s}function gx(s){for(let t=0;t<s.length;t++){let e=s.charCodeAt(t);if(e===10||e===13)return!0}return!1}function nE(s){let t="",e=!1;for(let i=0;i<s.length;i++)ss(s.charCodeAt(i))?e||(t+=" ",e=!0):(t+=s[i],e=!1);return t}function sh(s){(He[0]||Pa).children.push(s)}function Je(s,t){return{start:Ne.getPos(s),end:t==null?t:Ne.getPos(t),source:t==null?t:Et(s,t)}}function yx(s){return Je(s.start.offset,s.end.offset)}function Sr(s,t){s.end=Ne.getPos(t),s.source=Et(s.start.offset,t)}function Ex(s){let t={type:6,name:s.rawName,nameLoc:Je(s.loc.start.offset,s.loc.start.offset+s.rawName.length),value:void 0,loc:s.loc};if(s.exp){let e=s.exp.loc;e.end.offset<s.loc.end.offset&&(e.start.offset--,e.start.column--,e.end.offset++,e.end.column++),t.value={type:2,content:s.exp.content,loc:e}}return t}function Sl(s,t=!1,e,i=0,r=0){let n=Z(s,t,e,i);if(!t&&pe.prefixIdentifiers&&r!==3&&s.trim()){if(pi(s))return n.ast=null,n;try{let a=pe.expressionPlugins,o={plugins:a?[...a,"typescript"]:["typescript"]};r===2?n.ast=hn.parse(` ${s} `,o).program:r===1?n.ast=hn.parseExpression(`(${s})=>{}`,o):n.ast=hn.parseExpression(`(${s})`,o)}catch(a){n.ast=!1,Dt(46,e.start.offset,a.message)}}return n}function Dt(s,t,e){pe.onError(ye(s,Je(t,t),void 0,e))}function Sx(){Ne.reset(),Nt=null,ne=null,ds="",ci=-1,Er=-1,He.length=0}function aE(s,t){if(Sx(),ui=s,pe=k.extend({},sE),t){let r;for(r in t)t[r]!=null&&(pe[r]=t[r])}pe.decodeEntities&&console.warn("[@vue/compiler-core] decodeEntities option is passed but will be ignored in non-browser builds."),Ne.mode=pe.parseMode==="html"?1:pe.parseMode==="sfc"?2:0,Ne.inXML=pe.ns===1||pe.ns===2;let e=t&&t.delimiters;e&&(Ne.delimiterOpen=Nl(e[0]),Ne.delimiterClose=Nl(e[1]));let i=Pa=ky([],s);return Ne.parse(ui),i.loc=Je(0,s.length),i.children=rE(i.children),Pa=null,i}function bx(s,t){bl(s,void 0,t,!!oE(s))}function oE(s){let t=s.children.filter(e=>e.type!==3);return t.length===1&&t[0].type===1&&!Ia(t[0])?t[0]:null}function bl(s,t,e,i=!1,r=!1){let{children:n}=s,a=[];for(let u=0;u<n.length;u++){let p=n[u];if(p.type===1&&p.tagType===0){let h=i?0:ns(p,e);if(h>0){if(h>=2){p.codegenNode.patchFlag=-1,a.push(p);continue}}else{let f=p.codegenNode;if(f.type===13){let m=f.patchFlag;if((m===void 0||m===512||m===1)&&cE(p,e)>=2){let d=uE(p);d&&(f.props=e.hoist(d))}f.dynamicProps&&(f.dynamicProps=e.hoist(f.dynamicProps))}}}else if(p.type===12&&(i?0:ns(p,e))>=2){p.codegenNode.type===14&&p.codegenNode.arguments.length>0&&p.codegenNode.arguments.push(`-1 /* ${k.PatchFlagNames[-1]} */`),a.push(p);continue}if(p.type===1){let h=p.tagType===1;h&&e.scopes.vSlot++,bl(p,s,e,!1,r),h&&e.scopes.vSlot--}else if(p.type===11)bl(p,s,e,p.children.length===1,!0);else if(p.type===9)for(let h=0;h<p.branches.length;h++)bl(p.branches[h],s,e,p.branches[h].children.length===1,r)}let o=!1;if(a.length===n.length&&s.type===1){if(s.tagType===0&&s.codegenNode&&s.codegenNode.type===13&&k.isArray(s.codegenNode.children))s.codegenNode.children=l(Ui(s.codegenNode.children)),o=!0;else if(s.tagType===1&&s.codegenNode&&s.codegenNode.type===13&&s.codegenNode.children&&!k.isArray(s.codegenNode.children)&&s.codegenNode.children.type===15){let u=c(s.codegenNode,"default");u&&(u.returns=l(Ui(u.returns)),o=!0)}else if(s.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!k.isArray(t.codegenNode.children)&&t.codegenNode.children.type===15){let u=Rt(s,"slot",!0),p=u&&u.arg&&c(t.codegenNode,u.arg);p&&(p.returns=l(Ui(p.returns)),o=!0)}}if(!o)for(let u of a)u.codegenNode=e.cache(u.codegenNode);function l(u){let p=e.cache(u);return p.needArraySpread=!0,p}function c(u,p){if(u.children&&!k.isArray(u.children)&&u.children.type===15){let h=u.children.properties.find(f=>f.key===p||f.key.content===p);return h&&h.value}}a.length&&e.transformHoist&&e.transformHoist(n,e,s)}function ns(s,t){let{constantCache:e}=t;switch(s.type){case 1:if(s.tagType!==0)return 0;let i=e.get(s);if(i!==void 0)return i;let r=s.codegenNode;if(r.type!==13||r.isBlock&&s.tag!=="svg"&&s.tag!=="foreignObject"&&s.tag!=="math")return 0;if(r.patchFlag===void 0){let a=3,o=cE(s,t);if(o===0)return e.set(s,0),0;o<a&&(a=o);for(let l=0;l<s.children.length;l++){let c=ns(s.children[l],t);if(c===0)return e.set(s,0),0;c<a&&(a=c)}if(a>1)for(let l=0;l<s.props.length;l++){let c=s.props[l];if(c.type===7&&c.name==="bind"&&c.exp){let u=ns(c.exp,t);if(u===0)return e.set(s,0),0;u<a&&(a=u)}}if(r.isBlock){for(let l=0;l<s.props.length;l++)if(s.props[l].type===7)return e.set(s,0),0;t.removeHelper(ji),t.removeHelper(Cr(t.inSSR,r.isComponent)),r.isBlock=!1,t.helper(Tr(t.inSSR,r.isComponent))}return e.set(s,a),a}else return e.set(s,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return ns(s.content,t);case 4:return s.constType;case 8:let n=3;for(let a=0;a<s.children.length;a++){let o=s.children[a];if(k.isString(o)||k.isSymbol(o))continue;let l=ns(o,t);if(l===0)return 0;l<n&&(n=l)}return n;case 20:return 2;default:return 0}}var Tx=new Set([$l,jl,mn,Sn]);function lE(s,t){if(s.type===14&&!k.isString(s.callee)&&Tx.has(s.callee)){let e=s.arguments[0];if(e.type===4)return ns(e,t);if(e.type===14)return lE(e,t)}return 0}function cE(s,t){let e=3,i=uE(s);if(i&&i.type===15){let{properties:r}=i;for(let n=0;n<r.length;n++){let{key:a,value:o}=r[n],l=ns(a,t);if(l===0)return l;l<e&&(e=l);let c;if(o.type===4?c=ns(o,t):o.type===14?c=lE(o,t):c=0,c===0)return c;c<e&&(e=c)}}return e}function uE(s){let t=s.codegenNode;if(t.type===13)return t.props}function pE(s,{filename:t="",prefixIdentifiers:e=!1,hoistStatic:i=!1,hmr:r=!1,cacheHandlers:n=!1,nodeTransforms:a=[],directiveTransforms:o={},transformHoist:l=null,isBuiltInComponent:c=k.NOOP,isCustomElement:u=k.NOOP,expressionPlugins:p=[],scopeId:h=null,slotted:f=!0,ssr:m=!1,inSSR:d=!1,ssrCssVars:A="",bindingMetadata:y=k.EMPTY_OBJ,inline:S=!1,isTS:P=!1,onError:x=hh,onWarn:v=Vy,compatConfig:L}){let R=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),I={filename:t,selfName:R&&k.capitalize(k.camelize(R[1])),prefixIdentifiers:e,hoistStatic:i,hmr:r,cacheHandlers:n,nodeTransforms:a,directiveTransforms:o,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:p,scopeId:h,slotted:f,ssr:m,inSSR:d,ssrCssVars:A,bindingMetadata:y,inline:S,isTS:P,onError:x,onWarn:v,compatConfig:L,root:s,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:s,childIndex:0,inVOnce:!1,helper(g){let _=I.helpers.get(g)||0;return I.helpers.set(g,_+1),g},removeHelper(g){let _=I.helpers.get(g);if(_){let M=_-1;M?I.helpers.set(g,M):I.helpers.delete(g)}},helperString(g){return`_${Vt[I.helper(g)]}`},replaceNode(g){{if(!I.currentNode)throw new Error("Node being replaced is already removed.");if(!I.parent)throw new Error("Cannot replace root node.")}I.parent.children[I.childIndex]=I.currentNode=g},removeNode(g){if(!I.parent)throw new Error("Cannot remove root node.");let _=I.parent.children,M=g?_.indexOf(g):I.currentNode?I.childIndex:-1;if(M<0)throw new Error("node being removed is not a child of current parent");!g||g===I.currentNode?(I.currentNode=null,I.onNodeRemoved()):I.childIndex>M&&(I.childIndex--,I.onNodeRemoved()),I.parent.children.splice(M,1)},onNodeRemoved:k.NOOP,addIdentifiers(g){k.isString(g)?N(g):g.identifiers?g.identifiers.forEach(N):g.type===4&&N(g.content)},removeIdentifiers(g){k.isString(g)?b(g):g.identifiers?g.identifiers.forEach(b):g.type===4&&b(g.content)},hoist(g){k.isString(g)&&(g=Z(g)),I.hoists.push(g);let _=Z(`_hoisted_${I.hoists.length}`,!1,g.loc,2);return _.hoisted=g,_},cache(g,_=!1,M=!1){let C=By(I.cached.length,g,_,M);return I.cached.push(C),C}};I.filters=new Set;function N(g){let{identifiers:_}=I;_[g]===void 0&&(_[g]=0),_[g]++}function b(g){I.identifiers[g]--}return I}function hE(s,t){let e=pE(s,t);Na(s,e),t.hoistStatic&&bx(s,e),t.ssr||Cx(s,e),s.helpers=new Set([...e.helpers.keys()]),s.components=[...e.components],s.directives=[...e.directives],s.imports=e.imports,s.hoists=e.hoists,s.temps=e.temps,s.cached=e.cached,s.transformed=!0,s.filters=[...e.filters]}function Cx(s,t){let{helper:e}=t,{children:i}=s;if(i.length===1){let r=oE(s);if(r&&r.codegenNode){let n=r.codegenNode;n.type===13&&Wl(n,t),s.codegenNode=n}else s.codegenNode=i[0]}else if(i.length>1){let r=64;i.filter(n=>n.type!==3).length===1&&(r|=2048),s.codegenNode=An(t,e(dn),void 0,s.children,r,void 0,void 0,!0,void 0,!1)}}function Ix(s,t){let e=0,i=()=>{e--};for(;e<s.children.length;e++){let r=s.children[e];k.isString(r)||(t.grandParent=t.parent,t.parent=s,t.childIndex=e,t.onNodeRemoved=i,Na(r,t))}}function Na(s,t){t.currentNode=s;let{nodeTransforms:e}=t,i=[];for(let n=0;n<e.length;n++){let a=e[n](s,t);if(a&&(k.isArray(a)?i.push(...a):i.push(a)),t.currentNode)s=t.currentNode;else return}switch(s.type){case 3:t.ssr||t.helper(En);break;case 5:t.ssr||t.helper(Ul);break;case 9:for(let n=0;n<s.branches.length;n++)Na(s.branches[n],t);break;case 10:case 11:case 1:case 0:Ix(s,t);break}t.currentNode=s;let r=i.length;for(;r--;)i[r]()}function Ch(s,t){let e=k.isString(s)?i=>i===s:i=>s.test(i);return(i,r)=>{if(i.type===1){let{props:n}=i;if(i.tagType===3&&n.some(Ql))return;let a=[];for(let o=0;o<n.length;o++){let l=n[o];if(l.type===7&&e(l.name)){n.splice(o,1),o--;let c=t(i,l,r);c&&a.push(c)}}return a}}}var Yl="/*@__PURE__*/",Tl=s=>`${Vt[s]}: _${Vt[s]}`;function Ty(s,{mode:t="function",prefixIdentifiers:e=t==="module",sourceMap:i=!1,filename:r="template.vue.html",scopeId:n=null,optimizeImports:a=!1,runtimeGlobalName:o="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:p=!1,inSSR:h=!1}){let f={mode:t,prefixIdentifiers:e,sourceMap:i,filename:r,scopeId:n,optimizeImports:a,runtimeGlobalName:o,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:p,inSSR:h,source:s.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(A){return`_${Vt[A]}`},push(A,y=-2,S){if(f.code+=A,f.map){if(S){let P;if(S.type===4&&!S.isStatic){let x=S.content.replace(/^_ctx\./,"");x!==S.content&&pi(x)&&(P=x)}S.loc.source&&d(S.loc.start,P)}y===-3?Eh(f,A):(f.offset+=A.length,y===-2?f.column+=A.length:(y===-1&&(y=A.length-1),f.line++,f.column=A.length-y)),S&&S.loc!==st&&S.loc.source&&d(S.loc.end)}},indent(){m(++f.indentLevel)},deindent(A=!1){A?--f.indentLevel:m(--f.indentLevel)},newline(){m(f.indentLevel)}};function m(A){f.push(`
|
|
36
|
+
`+" ".repeat(A),0)}function d(A,y=null){let{_names:S,_mappings:P}=f.map;y!==null&&!S.has(y)&&S.add(y),P.add({originalLine:A.line,originalColumn:A.column-1,generatedLine:f.line,generatedColumn:f.column-1,source:r,name:y})}return i&&(f.map=new UN.SourceMapGenerator,f.map.setSourceContent(r,f.source),f.map._sources.add(r)),f}function fE(s,t={}){let e=Ty(s,t);t.onContextCreated&&t.onContextCreated(e);let{mode:i,push:r,prefixIdentifiers:n,indent:a,deindent:o,newline:l,scopeId:c,ssr:u}=e,p=Array.from(s.helpers),h=p.length>0,f=!n&&i!=="module",m=c!=null&&i==="module",d=!!t.inline,A=d?Ty(s,t):e;i==="module"?Px(s,A,m,d):_x(s,A);let y=u?"ssrRender":"render",S=u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];t.bindingMetadata&&!t.inline&&S.push("$props","$setup","$data","$options");let P=t.isTS?S.map(x=>`${x}: any`).join(","):S.join(", ");if(r(d?`(${P}) => {`:`function ${y}(${P}) {`),a(),f&&(r("with (_ctx) {"),a(),h&&(r(`const { ${p.map(Tl).join(", ")} } = _Vue
|
|
37
|
+
`,-1),l())),s.components.length&&(Qp(s.components,"component",e),(s.directives.length||s.temps>0)&&l()),s.directives.length&&(Qp(s.directives,"directive",e),s.temps>0&&l()),s.filters&&s.filters.length&&(l(),Qp(s.filters,"filter",e),l()),s.temps>0){r("let ");for(let x=0;x<s.temps;x++)r(`${x>0?", ":""}_temp${x}`)}return(s.components.length||s.directives.length||s.temps)&&(r(`
|
|
38
|
+
`,0),l()),u||r("return "),s.codegenNode?Me(s.codegenNode,e):r("null"),f&&(o(),r("}")),o(),r("}"),{ast:s,code:e.code,preamble:d?A.code:"",map:e.map?e.map.toJSON():void 0}}function _x(s,t){let{ssr:e,prefixIdentifiers:i,push:r,newline:n,runtimeModuleName:a,runtimeGlobalName:o,ssrRuntimeModuleName:l}=t,c=e?`require(${JSON.stringify(a)})`:o,u=Array.from(s.helpers);if(u.length>0){if(i)r(`const { ${u.map(Tl).join(", ")} } = ${c}
|
|
39
39
|
`,-1);else if(r(`const _Vue = ${c}
|
|
40
|
-
`,-1),s.hoists.length){let
|
|
40
|
+
`,-1),s.hoists.length){let p=[Ll,Ml,En,Dl,lh].filter(h=>u.includes(h)).map(Tl).join(", ");r(`const { ${p} } = _Vue
|
|
41
41
|
`,-1)}}s.ssrHelpers&&s.ssrHelpers.length&&r(`const { ${s.ssrHelpers.map(Tl).join(", ")} } = require("${l}")
|
|
42
|
-
`,-1),dE(s.hoists,t),n(),r("return ")}function
|
|
42
|
+
`,-1),dE(s.hoists,t),n(),r("return ")}function Px(s,t,e,i){let{push:r,newline:n,optimizeImports:a,runtimeModuleName:o,ssrRuntimeModuleName:l}=t;if(s.helpers.size){let c=Array.from(s.helpers);a?(r(`import { ${c.map(u=>Vt[u]).join(", ")} } from ${JSON.stringify(o)}
|
|
43
43
|
`,-1),r(`
|
|
44
44
|
// Binding optimization for webpack code-split
|
|
45
45
|
const ${c.map(u=>`_${Vt[u]} = ${Vt[u]}`).join(", ")}
|
|
46
46
|
`,-1)):r(`import { ${c.map(u=>`${Vt[u]} as _${Vt[u]}`).join(", ")} } from ${JSON.stringify(o)}
|
|
47
47
|
`,-1)}s.ssrHelpers&&s.ssrHelpers.length&&r(`import { ${s.ssrHelpers.map(c=>`${Vt[c]} as _${Vt[c]}`).join(", ")} } from "${l}"
|
|
48
|
-
`,-1),s.imports.length&&(
|
|
49
|
-
`:""} ? ${d}.value ${
|
|
50
|
-
`:""} ? ${T}${d}.value${g} : ${T}${d}${g}`}else return w?d:R(d);else{if(E==="props")return k.genPropsAccessExp(d);if(E==="props-aliased")return k.genPropsAccessExp(a.__propsAliases[d])}}else{if(E&&E.startsWith("setup")||E==="literal-const")return`$setup.${d}`;if(E==="props-aliased")return`$props['${a.__propsAliases[d]}']`;if(E)return`$${E}.${d}`}return`_ctx.${d}`},l=s.content,c=s.ast;if(c===!1)return s;if(c===null||!c&&hi(l)){let d=t.identifiers[l],A=k.isGloballyAllowed(l),y=Kx(l);return!e&&!d&&!y&&(!A||a[l])?(Cy(a[l])&&(s.constType=1),s.content=o(l)):d||(y?s.constType=3:s.constType=2),s}if(!c){let d=i?` ${l} `:`(${l})${e?"=>{}":""}`;try{c=pn.parseExpression(d,{sourceType:"module",plugins:t.expressionPlugins})}catch(A){return t.onError(ye(46,s.loc,void 0,A.message)),s}}let u=[],h=[],p=Object.create(t.identifiers);$y(c,(d,A,y,E,x)=>{if(Qy(d,A)||d.name.startsWith("_filter_"))return;let N=E&&Gx(d);N&&!x?(dp(A)&&A.shorthand&&(d.prefix=`${d.name}: `),d.name=o(d.name,A,d),u.push(d)):(!(N&&x)&&(!A||A.type!=="CallExpression"&&A.type!=="NewExpression"&&A.type!=="MemberExpression")&&(d.isConstant=!0),u.push(d))},!0,h,p);let f=[];u.sort((d,A)=>d.start-A.start),u.forEach((d,A)=>{let y=d.start-1,E=d.end-1,x=u[A-1],N=l.slice(x?x.end-1:0,y);(N.length||d.prefix)&&f.push(N+(d.prefix||""));let w=l.slice(y,E);f.push(Z(d.name,!1,{start:zh(s.loc.start,w,y),end:zh(s.loc.start,w,E),source:w},d.isConstant?3:0)),A===u.length-1&&E<l.length&&f.push(l.slice(E))});let m;return f.length?(m=is(f,s.loc),m.ast=c):(m=s,m.constType=3),m.identifiers=Object.keys(p),m}function Gx(s){return!(k.isGloballyAllowed(s.name)||s.name==="require")}function Ip(s){return k.isString(s)?s:s.type===4?s.content:s.children.map(Ip).join("")}function Cy(s){return s==="setup-const"||s==="literal-const"}var Wx=Cp(/^(?:if|else|else-if)$/,(s,t,e)=>EE(s,t,e,(i,r,n)=>{let a=e.parent.children,o=a.indexOf(i),l=0;for(;o-->=0;){let c=a[o];c&&c.type===9&&(l+=c.branches.length)}return()=>{if(n)i.codegenNode=_y(r,l,e);else{let c=qx(i.codegenNode);c.alternate=_y(r,l+i.branches.length-1,e)}}}));function EE(s,t,e,i){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:s.loc;e.onError(ye(28,t.loc)),t.exp=Z("true",!1,r)}if(e.prefixIdentifiers&&t.exp&&(t.exp=xt(t.exp,e)),t.name==="if"){let r=Iy(s,t),n={type:9,loc:gx(s.loc),branches:[r]};if(e.replaceNode(n),i)return i(n,r,!0)}else{let r=e.parent.children,n=[],a=r.indexOf(s);for(;a-->=-1;){let o=r[a];if(o&&bp(o)){e.removeNode(o),o.type===3&&n.unshift(o);continue}if(o&&o.type===9){(t.name==="else-if"||t.name==="else")&&o.branches[o.branches.length-1].condition===void 0&&e.onError(ye(30,s.loc)),e.removeNode();let l=Iy(s,t);n.length&&!(e.parent&&e.parent.type===1&&(e.parent.tag==="transition"||e.parent.tag==="Transition"))&&(l.children=[...n,...l.children]);{let u=l.userKey;u&&o.branches.forEach(({userKey:h})=>{Xx(h,u)&&e.onError(ye(29,l.userKey.loc))})}o.branches.push(l);let c=i&&i(o,l,!1);Na(l,e),c&&c(),e.currentNode=null}else e.onError(ye(30,s.loc));break}}}function Iy(s,t){let e=s.tagType===3;return{type:10,loc:s.loc,condition:t.name==="else"?void 0:t.exp,children:e&&!Rt(s,"for")?s.children:[s],userKey:Ca(s,"key"),isTemplateIf:e}}function _y(s,t,e){return s.condition?Pl(s.condition,Py(s,t,e),St(e.helper(En),['"v-if"',"true"])):Py(s,t,e)}function Py(s,t,e){let{helper:i}=e,r=tt("key",Z(`${t}`,!1,st,2)),{children:n}=s,a=n[0];if(n.length!==1||a.type!==1)if(n.length===1&&a.type===11){let l=a.codegenNode;return _a(l,r,e),l}else{let l=64;return!s.isTemplateIf&&n.filter(c=>c.type!==3).length===1&&(l|=2048),An(e,i(dn),rs([r]),n,l,void 0,void 0,!0,!1,!1,s.loc)}else{let l=a.codegenNode,c=eE(l);return c.type===13&&Wl(c,e),_a(c,r,e),l}}function Xx(s,t){if(!s||s.type!==t.type)return!1;if(s.type===6){if(s.value.content!==t.value.content)return!1}else{let e=s.exp,i=t.exp;if(e.type!==i.type||e.type!==4||e.isStatic!==i.isStatic||e.content!==i.content)return!1}return!0}function qx(s){for(;;)if(s.type===19)if(s.alternate.type===19)s=s.alternate;else return s;else s.type===20&&(s=s.value)}var Qx=Cp("for",(s,t,e)=>{let{helper:i,removeHelper:r}=e;return SE(s,t,e,n=>{let a=St(i(Vl),[n.source]),o=yn(s),l=Rt(s,"memo"),c=Ca(s,"key",!1,!0),u=c&&c.type===7,h=c&&(c.type===6?c.value?Z(c.value.content,!0):void 0:c.exp);l&&h&&u&&(c.exp=h=xt(h,e));let p=c&&h?tt("key",h):null;o&&(l&&(l.exp=xt(l.exp,e)),p&&c.type!==6&&(p.value=xt(p.value,e)));let f=n.source.type===4&&n.source.constType>0,m=f?64:c?128:256;return n.codegenNode=An(e,i(dn),void 0,a,m,void 0,void 0,!0,!f,!1,s.loc),()=>{let d,{children:A}=n;o&&s.children.some(x=>{if(x.type===1){let N=Ca(x,"key");if(N)return e.onError(ye(33,N.loc)),!0}});let y=A.length!==1||A[0].type!==1,E=Ia(s)?s:o&&s.children.length===1&&Ia(s.children[0])?s.children[0]:null;if(E?(d=E.codegenNode,o&&p&&_a(d,p,e)):y?d=An(e,i(dn),p?rs([p]):void 0,s.children,64,void 0,void 0,!0,void 0,!1):(d=A[0].codegenNode,o&&p&&_a(d,p,e),d.isBlock!==!f&&(d.isBlock?(r(ji),r(Cr(e.inSSR,d.isComponent))):r(Tr(e.inSSR,d.isComponent))),d.isBlock=!f,d.isBlock?(i(ji),i(Cr(e.inSSR,d.isComponent))):i(Tr(e.inSSR,d.isComponent))),l){let x=br(vl(n.parseResult,[Z("_cached")]));x.body=Fy([is(["const _memo = (",l.exp,")"]),is(["if (_cached",...h?[" && _cached.key === ",h]:[],` && ${e.helperString(hp)}(_cached, _memo)) return _cached`]),is(["const _item = ",d]),Z("_item.memo = _memo"),Z("return _item")]),a.arguments.push(x,Z("_cache"),Z(String(e.cached.length))),e.cached.push(null)}else a.arguments.push(br(vl(n.parseResult),d,!0))}})});function SE(s,t,e,i){if(!t.exp){e.onError(ye(31,t.loc));return}let r=t.forParseResult;if(!r){e.onError(ye(32,t.loc));return}_p(r,e);let{addIdentifiers:n,removeIdentifiers:a,scopes:o}=e,{source:l,value:c,key:u,index:h}=r,p={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:h,parseResult:r,children:yn(s)?s.children:[s]};e.replaceNode(p),o.vFor++,e.prefixIdentifiers&&(c&&n(c),u&&n(u),h&&n(h));let f=i&&i(p);return()=>{o.vFor--,e.prefixIdentifiers&&(c&&a(c),u&&a(u),h&&a(h)),f&&f()}}function _p(s,t){s.finalized||(t.prefixIdentifiers&&(s.source=xt(s.source,t),s.key&&(s.key=xt(s.key,t,!0)),s.index&&(s.index=xt(s.index,t,!0)),s.value&&(s.value=xt(s.value,t,!0))),s.finalized=!0)}function vl({value:s,key:t,index:e},i=[]){return Jx([s,t,e,...i])}function Jx(s){let t=s.length;for(;t--&&!s[t];);return s.slice(0,t+1).map((e,i)=>e||Z("_".repeat(i+1),!1))}var Ny=Z("undefined",!1),bE=(s,t)=>{if(s.type===1&&(s.tagType===1||s.tagType===3)){let e=Rt(s,"slot");if(e){let i=e.exp;return t.prefixIdentifiers&&i&&t.addIdentifiers(i),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&i&&t.removeIdentifiers(i),t.scopes.vSlot--}}}},TE=(s,t)=>{let e;if(yn(s)&&s.props.some(Ql)&&(e=Rt(s,"for"))){let i=e.forParseResult;if(i){_p(i,t);let{value:r,key:n,index:a}=i,{addIdentifiers:o,removeIdentifiers:l}=t;return r&&o(r),n&&o(n),a&&o(a),()=>{r&&l(r),n&&l(n),a&&l(a)}}}},Yx=(s,t,e,i)=>br(s,e,!1,!0,e.length?e[0].loc:i);function CE(s,t,e=Yx){t.helper(Kl);let{children:i,loc:r}=s,n=[],a=[],o=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(o=s.props.some(A=>Ql(A)&&(Pt(A.arg,t.identifiers)||Pt(A.exp,t.identifiers)))||i.some(A=>Pt(A,t.identifiers)));let l=Rt(s,"slot",!0);if(l){let{arg:A,exp:y}=l;A&&!_s(A)&&(o=!0),n.push(tt(A||Z("default",!0),e(y,void 0,i,r)))}let c=!1,u=!1,h=[],p=new Set,f=0;for(let A=0;A<i.length;A++){let y=i[A],E;if(!yn(y)||!(E=Rt(y,"slot",!0))){y.type!==3&&h.push(y);continue}if(l){t.onError(ye(37,E.loc));break}c=!0;let{children:x,loc:N}=y,{arg:w=Z("default",!0),exp:M,loc:R}=E,I;_s(w)?I=w?w.content:"default":o=!0;let _=Rt(y,"for"),T=e(M,_,x,N),g,P;if(g=Rt(y,"if"))o=!0,a.push(Pl(g.exp,gl(w,T,f++),Ny));else if(P=Rt(y,/^else(?:-if)?$/,!0)){let L=A,C;for(;L--&&(C=i[L],!!bp(C)););if(C&&yn(C)&&Rt(C,/^(?:else-)?if$/)){let b=a[a.length-1];for(;b.alternate.type===19;)b=b.alternate;b.alternate=P.exp?Pl(P.exp,gl(w,T,f++),Ny):gl(w,T,f++)}else t.onError(ye(30,P.loc))}else if(_){o=!0;let L=_.forParseResult;L?(_p(L,t),a.push(St(t.helper(Vl),[L.source,br(vl(L),gl(w,T),!0)]))):t.onError(ye(32,_.loc))}else{if(I){if(p.has(I)){t.onError(ye(38,R));continue}p.add(I),I==="default"&&(u=!0)}n.push(tt(w,T))}}if(!l){let A=(y,E)=>{let x=e(y,void 0,E,r);return t.compatConfig&&(x.isNonScopedSlot=!0),tt("default",x)};c?h.length&&!h.every(Jl)&&(u?t.onError(ye(39,h[0].loc)):n.push(A(void 0,h))):n.push(A(void 0,i))}let m=o?2:Cl(s.children)?3:1,d=rs(n.concat(tt("_",Z(m+` /* ${k.slotFlagsText[m]} */`,!1))),r);return a.length&&(d=St(t.helper(up),[d,Ui(a)])),{slots:d,hasDynamicSlots:o}}function gl(s,t,e){let i=[tt("name",s),tt("fn",t)];return e!=null&&i.push(tt("key",Z(String(e),!0))),rs(i)}function Cl(s){for(let t=0;t<s.length;t++){let e=s[t];switch(e.type){case 1:if(e.tagType===2||Cl(e.children))return!0;break;case 9:if(Cl(e.branches))return!0;break;case 10:case 11:if(Cl(e.children))return!0;break}}return!1}var IE=new WeakMap,_E=(s,t)=>function(){if(s=t.currentNode,!(s.type===1&&(s.tagType===0||s.tagType===1)))return;let{tag:i,props:r}=s,n=s.tagType===1,a=n?PE(s,t):`"${i}"`,o=k.isObject(a)&&a.callee===Rl,l,c,u=0,h,p,f,m=o||a===fn||a===wl||!n&&(i==="svg"||i==="foreignObject"||i==="math");if(r.length>0){let d=Pp(s,t,void 0,n,o);l=d.props,u=d.patchFlag,p=d.dynamicPropNames;let A=d.directives;f=A&&A.length?Ui(A.map(y=>NE(y,t))):void 0,d.shouldUseBlock&&(m=!0)}if(s.children.length>0)if(a===Aa&&(m=!0,u|=1024,s.children.length>1&&t.onError(ye(47,{start:s.children[0].loc.start,end:s.children[s.children.length-1].loc.end,source:""}))),n&&a!==fn&&a!==Aa){let{slots:A,hasDynamicSlots:y}=CE(s,t);c=A,y&&(u|=1024)}else if(s.children.length===1&&a!==fn){let A=s.children[0],y=A.type,E=y===5||y===8;E&&ns(A,t)===0&&(u|=1),E||y===2?c=A:c=s.children}else c=s.children;p&&p.length&&(h=Zx(p)),s.codegenNode=An(t,a,l,c,u===0?void 0:u,h,f,!!m,!1,n,s.loc)};function PE(s,t,e=!1){let{tag:i}=s,r=rp(i),n=Ca(s,"is",!1,!0);if(n)if(r||$i("COMPILER_IS_ON_ELEMENT",t)){let o;if(n.type===6?o=n.value&&Z(n.value.content,!0):(o=n.exp,o||(o=Z("is",!1,n.arg.loc),o=n.exp=xt(o,t))),o)return St(t.helper(Rl),[o])}else n.type===6&&n.value.content.startsWith("vue:")&&(i=n.value.content.slice(4));let a=Ap(i)||t.isBuiltInComponent(i);if(a)return e||t.helper(a),a;{let o=ip(i,t);if(o)return o;let l=i.indexOf(".");if(l>0){let c=ip(i.slice(0,l),t);if(c)return c+i.slice(l)}}return t.selfName&&k.capitalize(k.camelize(i))===t.selfName?(t.helper(ga),t.components.add(i+"__self"),Ir(i,"component")):(t.helper(ga),t.components.add(i),Ir(i,"component"))}function ip(s,t){let e=t.bindingMetadata;if(!e||e.__isScriptSetup===!1)return;let i=k.camelize(s),r=k.capitalize(i),n=c=>{if(e[s]===c)return s;if(e[i]===c)return i;if(e[r]===c)return r},a=n("setup-const")||n("setup-reactive-const")||n("literal-const");if(a)return t.inline?a:`$setup[${JSON.stringify(a)}]`;let o=n("setup-let")||n("setup-ref")||n("setup-maybe-ref");if(o)return t.inline?`${t.helperString(Sa)}(${o})`:`$setup[${JSON.stringify(o)}]`;let l=n("props");if(l)return`${t.helperString(Sa)}(${t.inline?"__props":"$props"}[${JSON.stringify(l)}])`}function Pp(s,t,e=s.props,i,r,n=!1){let{tag:a,loc:o,children:l}=s,c=[],u=[],h=[],p=l.length>0,f=!1,m=0,d=!1,A=!1,y=!1,E=!1,x=!1,N=!1,w=[],M=T=>{c.length&&(u.push(rs(xy(c),o)),c=[]),T&&u.push(T)},R=()=>{t.scopes.vFor>0&&c.push(tt(Z("ref_for",!0),Z("true")))},I=({key:T,value:g})=>{if(_s(T)){let P=T.content,L=k.isOn(P);if(L&&(!i||r)&&P.toLowerCase()!=="onclick"&&P!=="onUpdate:modelValue"&&!k.isReservedProp(P)&&(E=!0),L&&k.isReservedProp(P)&&(N=!0),L&&g.type===14&&(g=g.arguments[0]),g.type===20||(g.type===4||g.type===8)&&ns(g,t)>0)return;P==="ref"?d=!0:P==="class"?A=!0:P==="style"?y=!0:P!=="key"&&!w.includes(P)&&w.push(P),i&&(P==="class"||P==="style")&&!w.includes(P)&&w.push(P)}else x=!0};for(let T=0;T<e.length;T++){let g=e[T];if(g.type===6){let{loc:P,name:L,nameLoc:C,value:b}=g,J=!0;if(L==="ref"&&(d=!0,R(),b&&t.inline)){let H=t.bindingMetadata[b.content];(H==="setup-let"||H==="setup-ref"||H==="setup-maybe-ref")&&(J=!1,c.push(tt(Z("ref_key",!0),Z(b.content,!0,b.loc))))}if(L==="is"&&(rp(a)||b&&b.content.startsWith("vue:")||$i("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(tt(Z(L,!0,C),Z(b?b.content:"",J,b?b.loc:P)))}else{let{name:P,arg:L,exp:C,loc:b,modifiers:J}=g,H=P==="bind",fe=P==="on";if(P==="slot"){i||t.onError(ye(40,b));continue}if(P==="once"||P==="memo"||P==="is"||H&&Vi(L,"is")&&(rp(a)||$i("COMPILER_IS_ON_ELEMENT",t))||fe&&n)continue;if((H&&Vi(L,"key")||fe&&p&&Vi(L,"vue:before-update"))&&(f=!0),H&&Vi(L,"ref")&&R(),!L&&(H||fe)){if(x=!0,C)if(H){if(M(),u.some(Re=>Re.type===15?Re.properties.some(({key:pt})=>pt.type!==4||!pt.isStatic?!0:pt.content!=="class"&&pt.content!=="style"&&!k.isOn(pt.content)):!0)&&gn("COMPILER_V_BIND_OBJECT_ORDER",t,b),$i("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(C);continue}R(),M(),u.push(C)}else M({type:14,loc:b,callee:t.helper(Hl),arguments:i?[C]:[C,"true"]});else t.onError(ye(H?34:35,b));continue}H&&J.some(ae=>ae.content==="prop")&&(m|=32);let Se=t.directiveTransforms[P];if(Se){let{props:ae,needRuntime:Re}=Se(g,s,t);!n&&ae.forEach(I),fe&&L&&!_s(L)?M(rs(ae,o)):c.push(...ae),Re&&(h.push(g),k.isSymbol(Re)&&IE.set(g,Re))}else k.isBuiltInDirective(P)||(h.push(g),p&&(f=!0))}}let _;if(u.length?(M(),u.length>1?_=St(t.helper(ya),u,o):_=u[0]):c.length&&(_=rs(xy(c),o)),x?m|=16:(A&&!i&&(m|=2),y&&!i&&(m|=4),w.length&&(m|=8),E&&(m|=32)),!f&&(m===0||m===32)&&(d||N||h.length>0)&&(m|=512),!t.inSSR&&_)switch(_.type){case 15:let T=-1,g=-1,P=!1;for(let b=0;b<_.properties.length;b++){let J=_.properties[b].key;_s(J)?J.content==="class"?T=b:J.content==="style"&&(g=b):J.isHandlerKey||(P=!0)}let L=_.properties[T],C=_.properties[g];P?_=St(t.helper(mn),[_]):(L&&!_s(L.value)&&(L.value=St(t.helper($l),[L.value])),C&&(y||C.value.type===4&&C.value.content.trim()[0]==="["||C.value.type===17)&&(C.value=St(t.helper(jl),[C.value])));break;case 14:break;default:_=St(t.helper(mn),[St(t.helper(Sn),[_])]);break}return{props:_,directives:h,patchFlag:m,dynamicPropNames:w,shouldUseBlock:f}}function xy(s){let t=new Map,e=[];for(let i=0;i<s.length;i++){let r=s[i];if(r.key.type===8||!r.key.isStatic){e.push(r);continue}let n=r.key.content,a=t.get(n);a?(n==="style"||n==="class"||k.isOn(n))&&zx(a,r):(t.set(n,r),e.push(r))}return e}function zx(s,t){s.value.type===17?s.value.elements.push(t.value):s.value=Ui([s.value,t.value],s.loc)}function NE(s,t){let e=[],i=IE.get(s);if(i)e.push(t.helperString(i));else{let n=ip("v-"+s.name,t);n?e.push(n):(t.helper(kl),t.directives.add(s.name),e.push(Ir(s.name,"directive")))}let{loc:r}=s;if(s.exp&&e.push(s.exp),s.arg&&(s.exp||e.push("void 0"),e.push(s.arg)),Object.keys(s.modifiers).length){s.arg||(s.exp||e.push("void 0"),e.push("void 0"));let n=Z("true",!1,r);e.push(rs(s.modifiers.map(a=>tt(a,n)),r))}return Ui(e,s.loc)}function Zx(s){let t="[";for(let e=0,i=s.length;e<i;e++)t+=JSON.stringify(s[e]),e<i-1&&(t+=", ");return t+"]"}function rp(s){return s==="component"||s==="Component"}var ev=(s,t)=>{if(Ia(s)){let{children:e,loc:i}=s,{slotName:r,slotProps:n}=xE(s,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"],o=2;n&&(a[2]=n,o=3),e.length&&(a[3]=br([],e,!1,!1,i),o=4),t.scopeId&&!t.slotted&&(o=5),a.splice(o),s.codegenNode=St(t.helper(cp),a,i)}};function xE(s,t){let e='"default"',i,r=[];for(let n=0;n<s.props.length;n++){let a=s.props[n];if(a.type===6)a.value&&(a.name==="name"?e=JSON.stringify(a.value.content):(a.name=k.camelize(a.name),r.push(a)));else if(a.name==="bind"&&Vi(a.arg,"name")){if(a.exp)e=a.exp;else if(a.arg&&a.arg.type===4){let o=k.camelize(a.arg.content);e=a.exp=Z(o,!1,a.arg.loc),e=a.exp=xt(a.exp,t)}}else a.name==="bind"&&a.arg&&_s(a.arg)&&(a.arg.content=k.camelize(a.arg.content)),r.push(a)}if(r.length>0){let{props:n,directives:a}=Pp(s,t,r,!1,!1);i=n,a.length&&t.onError(ye(36,a[0].loc))}return{slotName:e,slotProps:i}}var vE=(s,t,e,i)=>{let{loc:r,modifiers:n,arg:a}=s;!s.exp&&!n.length&&e.onError(ye(35,r));let o;if(a.type===4)if(a.isStatic){let h=a.content;h.startsWith("vnode")&&e.onError(ye(52,a.loc)),h.startsWith("vue:")&&(h=`vnode-${h.slice(4)}`);let p=t.tagType!==0||h.startsWith("vnode")||!/[A-Z]/.test(h)?k.toHandlerKey(k.camelize(h)):`on:${h}`;o=Z(p,!0,a.loc)}else o=is([`${e.helperString(_l)}(`,a,")"]);else o=a,o.children.unshift(`${e.helperString(_l)}(`),o.children.push(")");let l=s.exp;l&&!l.content.trim()&&(l=void 0);let c=e.cacheHandlers&&!l&&!e.inVOnce;if(l){let h=yp(l,e),p=!(h||zy(l,e)),f=l.content.includes(";");e.prefixIdentifiers&&(p&&e.addIdentifiers("$event"),l=s.exp=xt(l,e,!1,f),p&&e.removeIdentifiers("$event"),c=e.cacheHandlers&&!e.inVOnce&&!(l.type===4&&l.constType>0)&&!(h&&t.tagType===1)&&!Pt(l,e.identifiers),c&&h&&(l.type===4?l.content=`${l.content} && ${l.content}(...args)`:l.children=[...l.children," && ",...l.children,"(...args)"])),(p||c&&h)&&(l=is([`${p?e.isTS?"($event: any)":"$event":`${e.isTS?`
|
|
48
|
+
`,-1),s.imports.length&&(Nx(s.imports,t),n()),dE(s.hoists,t),n(),i||r("export ")}function Qp(s,t,{helper:e,push:i,newline:r,isTS:n}){let a=e(t==="filter"?Bl:t==="component"?ga:kl);for(let o=0;o<s.length;o++){let l=s[o],c=l.endsWith("__self");c&&(l=l.slice(0,-6)),i(`const ${Ir(l,t)} = ${a}(${JSON.stringify(l)}${c?", true":""})${n?"!":""}`),o<s.length-1&&r()}}function dE(s,t){if(!s.length)return;t.pure=!0;let{push:e,newline:i}=t;i();for(let r=0;r<s.length;r++){let n=s[r];n&&(e(`const _hoisted_${r+1} = `),Me(n,t),i())}t.pure=!1}function Nx(s,t){s.length&&s.forEach(e=>{t.push("import "),Me(e.exp,t),t.push(` from '${e.path}'`),t.newline()})}function xx(s){return k.isString(s)||s.type===4||s.type===2||s.type===5||s.type===8}function zl(s,t){let e=s.length>3||s.some(i=>k.isArray(i)||!xx(i));t.push("["),e&&t.indent(),bn(s,t,e),e&&t.deindent(),t.push("]")}function bn(s,t,e=!1,i=!0){let{push:r,newline:n}=t;for(let a=0;a<s.length;a++){let o=s[a];k.isString(o)?r(o,-3):k.isArray(o)?zl(o,t):Me(o,t),a<s.length-1&&(e?(i&&r(","),n()):i&&r(", "))}}function Me(s,t){if(k.isString(s)){t.push(s,-3);return}if(k.isSymbol(s)){t.push(t.helper(s));return}switch(s.type){case 1:case 9:case 11:Zp(s.codegenNode!=null,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),Me(s.codegenNode,t);break;case 2:vx(s,t);break;case 4:mE(s,t);break;case 5:Ox(s,t);break;case 12:Me(s.codegenNode,t);break;case 8:AE(s,t);break;case 3:Lx(s,t);break;case 13:Mx(s,t);break;case 14:Rx(s,t);break;case 15:kx(s,t);break;case 17:Bx(s,t);break;case 18:Fx(s,t);break;case 19:Vx(s,t);break;case 20:Ux(s,t);break;case 21:bn(s.body,t,!0,!1);break;case 22:$x(s,t);break;case 23:gE(s,t);break;case 24:jx(s,t);break;case 25:Hx(s,t);break;case 26:Kx(s,t);break;case 10:break;default:return Zp(!1,`unhandled codegen node type: ${s.type}`),s}}function vx(s,t){t.push(JSON.stringify(s.content),-3,s)}function mE(s,t){let{content:e,isStatic:i}=s;t.push(i?JSON.stringify(e):e,-3,s)}function Ox(s,t){let{push:e,helper:i,pure:r}=t;r&&e(Yl),e(`${i(Ul)}(`),Me(s.content,t),e(")")}function AE(s,t){for(let e=0;e<s.children.length;e++){let i=s.children[e];k.isString(i)?t.push(i,-3):Me(i,t)}}function wx(s,t){let{push:e}=t;if(s.type===8)e("["),AE(s,t),e("]");else if(s.isStatic){let i=pi(s.content)?s.content:JSON.stringify(s.content);e(i,-2,s)}else e(`[${s.content}]`,-3,s)}function Lx(s,t){let{push:e,helper:i,pure:r}=t;r&&e(Yl),e(`${i(En)}(${JSON.stringify(s.content)})`,-3,s)}function Mx(s,t){let{push:e,helper:i,pure:r}=t,{tag:n,props:a,children:o,patchFlag:l,dynamicProps:c,directives:u,isBlock:p,disableTracking:h,isComponent:f}=s,m;if(l)if(l<0)m=l+` /* ${k.PatchFlagNames[l]} */`;else{let A=Object.keys(k.PatchFlagNames).map(Number).filter(y=>y>0&&l&y).map(y=>k.PatchFlagNames[y]).join(", ");m=l+` /* ${A} */`}u&&e(i(Fl)+"("),p&&e(`(${i(ji)}(${h?"true":""}), `),r&&e(Yl);let d=p?Cr(t.inSSR,f):Tr(t.inSSR,f);e(i(d)+"(",-2,s),bn(Dx([n,a,o,m,c]),t),e(")"),p&&e(")"),u&&(e(", "),Me(u,t),e(")"))}function Dx(s){let t=s.length;for(;t--&&s[t]==null;);return s.slice(0,t+1).map(e=>e||"null")}function Rx(s,t){let{push:e,helper:i,pure:r}=t,n=k.isString(s.callee)?s.callee:i(s.callee);r&&e(Yl),e(n+"(",-2,s),bn(s.arguments,t),e(")")}function kx(s,t){let{push:e,indent:i,deindent:r,newline:n}=t,{properties:a}=s;if(!a.length){e("{}",-2,s);return}let o=a.length>1||a.some(l=>l.value.type!==4);e(o?"{":"{ "),o&&i();for(let l=0;l<a.length;l++){let{key:c,value:u}=a[l];wx(c,t),e(": "),Me(u,t),l<a.length-1&&(e(","),n())}o&&r(),e(o?"}":" }")}function Bx(s,t){zl(s.elements,t)}function Fx(s,t){let{push:e,indent:i,deindent:r}=t,{params:n,returns:a,body:o,newline:l,isSlot:c}=s;c&&e(`_${Vt[Kl]}(`),e("(",-2,s),k.isArray(n)?bn(n,t):n&&Me(n,t),e(") => "),(l||o)&&(e("{"),i()),a?(l&&e("return "),k.isArray(a)?zl(a,t):Me(a,t)):o&&Me(o,t),(l||o)&&(r(),e("}")),c&&(s.isNonScopedSlot&&e(", undefined, true"),e(")"))}function Vx(s,t){let{test:e,consequent:i,alternate:r,newline:n}=s,{push:a,indent:o,deindent:l,newline:c}=t;if(e.type===4){let p=!pi(e.content);p&&a("("),mE(e,t),p&&a(")")}else a("("),Me(e,t),a(")");n&&o(),t.indentLevel++,n||a(" "),a("? "),Me(i,t),t.indentLevel--,n&&c(),n||a(" "),a(": ");let u=r.type===19;u||t.indentLevel++,Me(r,t),u||t.indentLevel--,n&&l(!0)}function Ux(s,t){let{push:e,helper:i,indent:r,deindent:n,newline:a}=t,{needPauseTracking:o,needArraySpread:l}=s;l&&e("[...("),e(`_cache[${s.index}] || (`),o&&(r(),e(`${i(Ea)}(-1`),s.inVOnce&&e(", true"),e("),"),a(),e("(")),e(`_cache[${s.index}] = `),Me(s.value,t),o&&(e(`).cacheIndex = ${s.index},`),a(),e(`${i(Ea)}(1),`),a(),e(`_cache[${s.index}]`),n()),e(")"),l&&e(")]")}function $x(s,t){let{push:e,indent:i,deindent:r}=t;e("`");let n=s.elements.length,a=n>3;for(let o=0;o<n;o++){let l=s.elements[o];k.isString(l)?e(l.replace(/(`|\$|\\)/g,"\\$1"),-3):(e("${"),a&&i(),Me(l,t),a&&r(),e("}"))}e("`")}function gE(s,t){let{push:e,indent:i,deindent:r}=t,{test:n,consequent:a,alternate:o}=s;e("if ("),Me(n,t),e(") {"),i(),Me(a,t),r(),e("}"),o&&(e(" else "),o.type===23?gE(o,t):(e("{"),i(),Me(o,t),r(),e("}")))}function jx(s,t){Me(s.left,t),t.push(" = "),Me(s.right,t)}function Hx(s,t){t.push("("),bn(s.expressions,t),t.push(")")}function Kx({returns:s},t){t.push("return "),k.isArray(s)?zl(s,t):Me(s,t)}var Gx=k.makeMap("true,false,null,this"),yE=(s,t)=>{if(s.type===5)s.content=xt(s.content,t);else if(s.type===1){let e=Rt(s,"memo");for(let i=0;i<s.props.length;i++){let r=s.props[i];if(r.type===7&&r.name!=="for"){let n=r.exp,a=r.arg;n&&n.type===4&&!(r.name==="on"&&a)&&!(e&&a&&a.type===4&&a.content==="key")&&(r.exp=xt(n,t,r.name==="slot")),a&&a.type===4&&!a.isStatic&&(r.arg=xt(a,t))}}}};function xt(s,t,e=!1,i=!1,r=Object.create(t.identifiers)){if(!t.prefixIdentifiers||!s.content.trim())return s;let{inline:n,bindingMetadata:a}=t,o=(d,A,y)=>{let S=k.hasOwn(a,d)&&a[d];if(n){let P=A&&A.type==="AssignmentExpression"&&A.left===y,x=A&&A.type==="UpdateExpression"&&A.argument===y,v=A&&xl(A,p),L=A&&Hy(p),R=I=>{let N=`${t.helperString(Sa)}(${I})`;return L?`(${N})`:N};if(Cy(S)||S==="setup-reactive-const"||r[d])return d;if(S==="setup-ref")return`${d}.value`;if(S==="setup-maybe-ref")return P||x||v?`${d}.value`:R(d);if(S==="setup-let")if(P){let{right:I,operator:N}=A,b=l.slice(I.start-1,I.end-1),g=Ih(xt(Z(b,!1),t,!1,!1,h));return`${t.helperString(ba)}(${d})${t.isTS?` //@ts-ignore
|
|
49
|
+
`:""} ? ${d}.value ${N} ${g} : ${d}`}else if(x){y.start=A.start,y.end=A.end;let{prefix:I,operator:N}=A,b=I?N:"",g=I?"":N;return`${t.helperString(ba)}(${d})${t.isTS?` //@ts-ignore
|
|
50
|
+
`:""} ? ${b}${d}.value${g} : ${b}${d}${g}`}else return v?d:R(d);else{if(S==="props")return k.genPropsAccessExp(d);if(S==="props-aliased")return k.genPropsAccessExp(a.__propsAliases[d])}}else{if(S&&S.startsWith("setup")||S==="literal-const")return`$setup.${d}`;if(S==="props-aliased")return`$props['${a.__propsAliases[d]}']`;if(S)return`$${S}.${d}`}return`_ctx.${d}`},l=s.content,c=s.ast;if(c===!1)return s;if(c===null||!c&&pi(l)){let d=t.identifiers[l],A=k.isGloballyAllowed(l),y=Gx(l);return!e&&!d&&!y&&(!A||a[l])?(Cy(a[l])&&(s.constType=1),s.content=o(l)):d||(y?s.constType=3:s.constType=2),s}if(!c){let d=i?` ${l} `:`(${l})${e?"=>{}":""}`;try{c=hn.parseExpression(d,{sourceType:"module",plugins:t.expressionPlugins})}catch(A){return t.onError(ye(46,s.loc,void 0,A.message)),s}}let u=[],p=[],h=Object.create(t.identifiers);$y(c,(d,A,y,S,P)=>{if(Qy(d,A)||d.name.startsWith("_filter_"))return;let x=S&&Wx(d);x&&!P?(dh(A)&&A.shorthand&&(d.prefix=`${d.name}: `),d.name=o(d.name,A,d),u.push(d)):(!(x&&P)&&(!A||A.type!=="CallExpression"&&A.type!=="NewExpression"&&A.type!=="MemberExpression")&&(d.isConstant=!0),u.push(d))},!0,p,h);let f=[];u.sort((d,A)=>d.start-A.start),u.forEach((d,A)=>{let y=d.start-1,S=d.end-1,P=u[A-1],x=l.slice(P?P.end-1:0,y);(x.length||d.prefix)&&f.push(x+(d.prefix||""));let v=l.slice(y,S);f.push(Z(d.name,!1,{start:zp(s.loc.start,v,y),end:zp(s.loc.start,v,S),source:v},d.isConstant?3:0)),A===u.length-1&&S<l.length&&f.push(l.slice(S))});let m;return f.length?(m=is(f,s.loc),m.ast=c):(m=s,m.constType=3),m.identifiers=Object.keys(h),m}function Wx(s){return!(k.isGloballyAllowed(s.name)||s.name==="require")}function Ih(s){return k.isString(s)?s:s.type===4?s.content:s.children.map(Ih).join("")}function Cy(s){return s==="setup-const"||s==="literal-const"}var Xx=Ch(/^(?:if|else|else-if)$/,(s,t,e)=>EE(s,t,e,(i,r,n)=>{let a=e.parent.children,o=a.indexOf(i),l=0;for(;o-->=0;){let c=a[o];c&&c.type===9&&(l+=c.branches.length)}return()=>{if(n)i.codegenNode=_y(r,l,e);else{let c=Qx(i.codegenNode);c.alternate=_y(r,l+i.branches.length-1,e)}}}));function EE(s,t,e,i){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){let r=t.exp?t.exp.loc:s.loc;e.onError(ye(28,t.loc)),t.exp=Z("true",!1,r)}if(e.prefixIdentifiers&&t.exp&&(t.exp=xt(t.exp,e)),t.name==="if"){let r=Iy(s,t),n={type:9,loc:yx(s.loc),branches:[r]};if(e.replaceNode(n),i)return i(n,r,!0)}else{let r=e.parent.children,n=[],a=r.indexOf(s);for(;a-->=-1;){let o=r[a];if(o&&bh(o)){e.removeNode(o),o.type===3&&n.unshift(o);continue}if(o&&o.type===9){(t.name==="else-if"||t.name==="else")&&o.branches[o.branches.length-1].condition===void 0&&e.onError(ye(30,s.loc)),e.removeNode();let l=Iy(s,t);n.length&&!(e.parent&&e.parent.type===1&&(e.parent.tag==="transition"||e.parent.tag==="Transition"))&&(l.children=[...n,...l.children]);{let u=l.userKey;u&&o.branches.forEach(({userKey:p})=>{qx(p,u)&&e.onError(ye(29,l.userKey.loc))})}o.branches.push(l);let c=i&&i(o,l,!1);Na(l,e),c&&c(),e.currentNode=null}else e.onError(ye(30,s.loc));break}}}function Iy(s,t){let e=s.tagType===3;return{type:10,loc:s.loc,condition:t.name==="else"?void 0:t.exp,children:e&&!Rt(s,"for")?s.children:[s],userKey:Ca(s,"key"),isTemplateIf:e}}function _y(s,t,e){return s.condition?Pl(s.condition,Py(s,t,e),St(e.helper(En),['"v-if"',"true"])):Py(s,t,e)}function Py(s,t,e){let{helper:i}=e,r=tt("key",Z(`${t}`,!1,st,2)),{children:n}=s,a=n[0];if(n.length!==1||a.type!==1)if(n.length===1&&a.type===11){let l=a.codegenNode;return _a(l,r,e),l}else{let l=64;return!s.isTemplateIf&&n.filter(c=>c.type!==3).length===1&&(l|=2048),An(e,i(dn),rs([r]),n,l,void 0,void 0,!0,!1,!1,s.loc)}else{let l=a.codegenNode,c=eE(l);return c.type===13&&Wl(c,e),_a(c,r,e),l}}function qx(s,t){if(!s||s.type!==t.type)return!1;if(s.type===6){if(s.value.content!==t.value.content)return!1}else{let e=s.exp,i=t.exp;if(e.type!==i.type||e.type!==4||e.isStatic!==i.isStatic||e.content!==i.content)return!1}return!0}function Qx(s){for(;;)if(s.type===19)if(s.alternate.type===19)s=s.alternate;else return s;else s.type===20&&(s=s.value)}var Jx=Ch("for",(s,t,e)=>{let{helper:i,removeHelper:r}=e;return SE(s,t,e,n=>{let a=St(i(Vl),[n.source]),o=yn(s),l=Rt(s,"memo"),c=Ca(s,"key",!1,!0),u=c&&c.type===7,p=c&&(c.type===6?c.value?Z(c.value.content,!0):void 0:c.exp);l&&p&&u&&(c.exp=p=xt(p,e));let h=c&&p?tt("key",p):null;o&&(l&&(l.exp=xt(l.exp,e)),h&&c.type!==6&&(h.value=xt(h.value,e)));let f=n.source.type===4&&n.source.constType>0,m=f?64:c?128:256;return n.codegenNode=An(e,i(dn),void 0,a,m,void 0,void 0,!0,!f,!1,s.loc),()=>{let d,{children:A}=n;o&&s.children.some(P=>{if(P.type===1){let x=Ca(P,"key");if(x)return e.onError(ye(33,x.loc)),!0}});let y=A.length!==1||A[0].type!==1,S=Ia(s)?s:o&&s.children.length===1&&Ia(s.children[0])?s.children[0]:null;if(S?(d=S.codegenNode,o&&h&&_a(d,h,e)):y?d=An(e,i(dn),h?rs([h]):void 0,s.children,64,void 0,void 0,!0,void 0,!1):(d=A[0].codegenNode,o&&h&&_a(d,h,e),d.isBlock!==!f&&(d.isBlock?(r(ji),r(Cr(e.inSSR,d.isComponent))):r(Tr(e.inSSR,d.isComponent))),d.isBlock=!f,d.isBlock?(i(ji),i(Cr(e.inSSR,d.isComponent))):i(Tr(e.inSSR,d.isComponent))),l){let P=br(vl(n.parseResult,[Z("_cached")]));P.body=Fy([is(["const _memo = (",l.exp,")"]),is(["if (_cached",...p?[" && _cached.key === ",p]:[],` && ${e.helperString(ph)}(_cached, _memo)) return _cached`]),is(["const _item = ",d]),Z("_item.memo = _memo"),Z("return _item")]),a.arguments.push(P,Z("_cache"),Z(String(e.cached.length))),e.cached.push(null)}else a.arguments.push(br(vl(n.parseResult),d,!0))}})});function SE(s,t,e,i){if(!t.exp){e.onError(ye(31,t.loc));return}let r=t.forParseResult;if(!r){e.onError(ye(32,t.loc));return}_h(r,e);let{addIdentifiers:n,removeIdentifiers:a,scopes:o}=e,{source:l,value:c,key:u,index:p}=r,h={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:p,parseResult:r,children:yn(s)?s.children:[s]};e.replaceNode(h),o.vFor++,e.prefixIdentifiers&&(c&&n(c),u&&n(u),p&&n(p));let f=i&&i(h);return()=>{o.vFor--,e.prefixIdentifiers&&(c&&a(c),u&&a(u),p&&a(p)),f&&f()}}function _h(s,t){s.finalized||(t.prefixIdentifiers&&(s.source=xt(s.source,t),s.key&&(s.key=xt(s.key,t,!0)),s.index&&(s.index=xt(s.index,t,!0)),s.value&&(s.value=xt(s.value,t,!0))),s.finalized=!0)}function vl({value:s,key:t,index:e},i=[]){return Yx([s,t,e,...i])}function Yx(s){let t=s.length;for(;t--&&!s[t];);return s.slice(0,t+1).map((e,i)=>e||Z("_".repeat(i+1),!1))}var Ny=Z("undefined",!1),bE=(s,t)=>{if(s.type===1&&(s.tagType===1||s.tagType===3)){let e=Rt(s,"slot");if(e){let i=e.exp;return t.prefixIdentifiers&&i&&t.addIdentifiers(i),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&i&&t.removeIdentifiers(i),t.scopes.vSlot--}}}},TE=(s,t)=>{let e;if(yn(s)&&s.props.some(Ql)&&(e=Rt(s,"for"))){let i=e.forParseResult;if(i){_h(i,t);let{value:r,key:n,index:a}=i,{addIdentifiers:o,removeIdentifiers:l}=t;return r&&o(r),n&&o(n),a&&o(a),()=>{r&&l(r),n&&l(n),a&&l(a)}}}},zx=(s,t,e,i)=>br(s,e,!1,!0,e.length?e[0].loc:i);function CE(s,t,e=zx){t.helper(Kl);let{children:i,loc:r}=s,n=[],a=[],o=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(o=s.props.some(A=>Ql(A)&&(Pt(A.arg,t.identifiers)||Pt(A.exp,t.identifiers)))||i.some(A=>Pt(A,t.identifiers)));let l=Rt(s,"slot",!0);if(l){let{arg:A,exp:y}=l;A&&!_s(A)&&(o=!0),n.push(tt(A||Z("default",!0),e(y,void 0,i,r)))}let c=!1,u=!1,p=[],h=new Set,f=0;for(let A=0;A<i.length;A++){let y=i[A],S;if(!yn(y)||!(S=Rt(y,"slot",!0))){y.type!==3&&p.push(y);continue}if(l){t.onError(ye(37,S.loc));break}c=!0;let{children:P,loc:x}=y,{arg:v=Z("default",!0),exp:L,loc:R}=S,I;_s(v)?I=v?v.content:"default":o=!0;let N=Rt(y,"for"),b=e(L,N,P,x),g,_;if(g=Rt(y,"if"))o=!0,a.push(Pl(g.exp,gl(v,b,f++),Ny));else if(_=Rt(y,/^else(?:-if)?$/,!0)){let M=A,C;for(;M--&&(C=i[M],!!bh(C)););if(C&&yn(C)&&Rt(C,/^(?:else-)?if$/)){let T=a[a.length-1];for(;T.alternate.type===19;)T=T.alternate;T.alternate=_.exp?Pl(_.exp,gl(v,b,f++),Ny):gl(v,b,f++)}else t.onError(ye(30,_.loc))}else if(N){o=!0;let M=N.forParseResult;M?(_h(M,t),a.push(St(t.helper(Vl),[M.source,br(vl(M),gl(v,b),!0)]))):t.onError(ye(32,N.loc))}else{if(I){if(h.has(I)){t.onError(ye(38,R));continue}h.add(I),I==="default"&&(u=!0)}n.push(tt(v,b))}}if(!l){let A=(y,S)=>{let P=e(y,void 0,S,r);return t.compatConfig&&(P.isNonScopedSlot=!0),tt("default",P)};c?p.length&&!p.every(Jl)&&(u?t.onError(ye(39,p[0].loc)):n.push(A(void 0,p))):n.push(A(void 0,i))}let m=o?2:Cl(s.children)?3:1,d=rs(n.concat(tt("_",Z(m+` /* ${k.slotFlagsText[m]} */`,!1))),r);return a.length&&(d=St(t.helper(uh),[d,Ui(a)])),{slots:d,hasDynamicSlots:o}}function gl(s,t,e){let i=[tt("name",s),tt("fn",t)];return e!=null&&i.push(tt("key",Z(String(e),!0))),rs(i)}function Cl(s){for(let t=0;t<s.length;t++){let e=s[t];switch(e.type){case 1:if(e.tagType===2||Cl(e.children))return!0;break;case 9:if(Cl(e.branches))return!0;break;case 10:case 11:if(Cl(e.children))return!0;break}}return!1}var IE=new WeakMap,_E=(s,t)=>function(){if(s=t.currentNode,!(s.type===1&&(s.tagType===0||s.tagType===1)))return;let{tag:i,props:r}=s,n=s.tagType===1,a=n?PE(s,t):`"${i}"`,o=k.isObject(a)&&a.callee===Rl,l,c,u=0,p,h,f,m=o||a===fn||a===wl||!n&&(i==="svg"||i==="foreignObject"||i==="math");if(r.length>0){let d=Ph(s,t,void 0,n,o);l=d.props,u=d.patchFlag,h=d.dynamicPropNames;let A=d.directives;f=A&&A.length?Ui(A.map(y=>NE(y,t))):void 0,d.shouldUseBlock&&(m=!0)}if(s.children.length>0)if(a===Aa&&(m=!0,u|=1024,s.children.length>1&&t.onError(ye(47,{start:s.children[0].loc.start,end:s.children[s.children.length-1].loc.end,source:""}))),n&&a!==fn&&a!==Aa){let{slots:A,hasDynamicSlots:y}=CE(s,t);c=A,y&&(u|=1024)}else if(s.children.length===1&&a!==fn){let A=s.children[0],y=A.type,S=y===5||y===8;S&&ns(A,t)===0&&(u|=1),S||y===2?c=A:c=s.children}else c=s.children;h&&h.length&&(p=ev(h)),s.codegenNode=An(t,a,l,c,u===0?void 0:u,p,f,!!m,!1,n,s.loc)};function PE(s,t,e=!1){let{tag:i}=s,r=rh(i),n=Ca(s,"is",!1,!0);if(n)if(r||$i("COMPILER_IS_ON_ELEMENT",t)){let o;if(n.type===6?o=n.value&&Z(n.value.content,!0):(o=n.exp,o||(o=Z("is",!1,n.arg.loc),o=n.exp=xt(o,t))),o)return St(t.helper(Rl),[o])}else n.type===6&&n.value.content.startsWith("vue:")&&(i=n.value.content.slice(4));let a=Ah(i)||t.isBuiltInComponent(i);if(a)return e||t.helper(a),a;{let o=ih(i,t);if(o)return o;let l=i.indexOf(".");if(l>0){let c=ih(i.slice(0,l),t);if(c)return c+i.slice(l)}}return t.selfName&&k.capitalize(k.camelize(i))===t.selfName?(t.helper(ga),t.components.add(i+"__self"),Ir(i,"component")):(t.helper(ga),t.components.add(i),Ir(i,"component"))}function ih(s,t){let e=t.bindingMetadata;if(!e||e.__isScriptSetup===!1)return;let i=k.camelize(s),r=k.capitalize(i),n=c=>{if(e[s]===c)return s;if(e[i]===c)return i;if(e[r]===c)return r},a=n("setup-const")||n("setup-reactive-const")||n("literal-const");if(a)return t.inline?a:`$setup[${JSON.stringify(a)}]`;let o=n("setup-let")||n("setup-ref")||n("setup-maybe-ref");if(o)return t.inline?`${t.helperString(Sa)}(${o})`:`$setup[${JSON.stringify(o)}]`;let l=n("props");if(l)return`${t.helperString(Sa)}(${t.inline?"__props":"$props"}[${JSON.stringify(l)}])`}function Ph(s,t,e=s.props,i,r,n=!1){let{tag:a,loc:o,children:l}=s,c=[],u=[],p=[],h=l.length>0,f=!1,m=0,d=!1,A=!1,y=!1,S=!1,P=!1,x=!1,v=[],L=b=>{c.length&&(u.push(rs(xy(c),o)),c=[]),b&&u.push(b)},R=()=>{t.scopes.vFor>0&&c.push(tt(Z("ref_for",!0),Z("true")))},I=({key:b,value:g})=>{if(_s(b)){let _=b.content,M=k.isOn(_);if(M&&(!i||r)&&_.toLowerCase()!=="onclick"&&_!=="onUpdate:modelValue"&&!k.isReservedProp(_)&&(S=!0),M&&k.isReservedProp(_)&&(x=!0),M&&g.type===14&&(g=g.arguments[0]),g.type===20||(g.type===4||g.type===8)&&ns(g,t)>0)return;_==="ref"?d=!0:_==="class"?A=!0:_==="style"?y=!0:_!=="key"&&!v.includes(_)&&v.push(_),i&&(_==="class"||_==="style")&&!v.includes(_)&&v.push(_)}else P=!0};for(let b=0;b<e.length;b++){let g=e[b];if(g.type===6){let{loc:_,name:M,nameLoc:C,value:T}=g,J=!0;if(M==="ref"&&(d=!0,R(),T&&t.inline)){let H=t.bindingMetadata[T.content];(H==="setup-let"||H==="setup-ref"||H==="setup-maybe-ref")&&(J=!1,c.push(tt(Z("ref_key",!0),Z(T.content,!0,T.loc))))}if(M==="is"&&(rh(a)||T&&T.content.startsWith("vue:")||$i("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(tt(Z(M,!0,C),Z(T?T.content:"",J,T?T.loc:_)))}else{let{name:_,arg:M,exp:C,loc:T,modifiers:J}=g,H=_==="bind",fe=_==="on";if(_==="slot"){i||t.onError(ye(40,T));continue}if(_==="once"||_==="memo"||_==="is"||H&&Vi(M,"is")&&(rh(a)||$i("COMPILER_IS_ON_ELEMENT",t))||fe&&n)continue;if((H&&Vi(M,"key")||fe&&h&&Vi(M,"vue:before-update"))&&(f=!0),H&&Vi(M,"ref")&&R(),!M&&(H||fe)){if(P=!0,C)if(H){if(L(),u.some(Re=>Re.type===15?Re.properties.some(({key:ht})=>ht.type!==4||!ht.isStatic?!0:ht.content!=="class"&&ht.content!=="style"&&!k.isOn(ht.content)):!0)&&gn("COMPILER_V_BIND_OBJECT_ORDER",t,T),$i("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(C);continue}R(),L(),u.push(C)}else L({type:14,loc:T,callee:t.helper(Hl),arguments:i?[C]:[C,"true"]});else t.onError(ye(H?34:35,T));continue}H&&J.some(ae=>ae.content==="prop")&&(m|=32);let Se=t.directiveTransforms[_];if(Se){let{props:ae,needRuntime:Re}=Se(g,s,t);!n&&ae.forEach(I),fe&&M&&!_s(M)?L(rs(ae,o)):c.push(...ae),Re&&(p.push(g),k.isSymbol(Re)&&IE.set(g,Re))}else k.isBuiltInDirective(_)||(p.push(g),h&&(f=!0))}}let N;if(u.length?(L(),u.length>1?N=St(t.helper(ya),u,o):N=u[0]):c.length&&(N=rs(xy(c),o)),P?m|=16:(A&&!i&&(m|=2),y&&!i&&(m|=4),v.length&&(m|=8),S&&(m|=32)),!f&&(m===0||m===32)&&(d||x||p.length>0)&&(m|=512),!t.inSSR&&N)switch(N.type){case 15:let b=-1,g=-1,_=!1;for(let T=0;T<N.properties.length;T++){let J=N.properties[T].key;_s(J)?J.content==="class"?b=T:J.content==="style"&&(g=T):J.isHandlerKey||(_=!0)}let M=N.properties[b],C=N.properties[g];_?N=St(t.helper(mn),[N]):(M&&!_s(M.value)&&(M.value=St(t.helper($l),[M.value])),C&&(y||C.value.type===4&&C.value.content.trim()[0]==="["||C.value.type===17)&&(C.value=St(t.helper(jl),[C.value])));break;case 14:break;default:N=St(t.helper(mn),[St(t.helper(Sn),[N])]);break}return{props:N,directives:p,patchFlag:m,dynamicPropNames:v,shouldUseBlock:f}}function xy(s){let t=new Map,e=[];for(let i=0;i<s.length;i++){let r=s[i];if(r.key.type===8||!r.key.isStatic){e.push(r);continue}let n=r.key.content,a=t.get(n);a?(n==="style"||n==="class"||k.isOn(n))&&Zx(a,r):(t.set(n,r),e.push(r))}return e}function Zx(s,t){s.value.type===17?s.value.elements.push(t.value):s.value=Ui([s.value,t.value],s.loc)}function NE(s,t){let e=[],i=IE.get(s);if(i)e.push(t.helperString(i));else{let n=ih("v-"+s.name,t);n?e.push(n):(t.helper(kl),t.directives.add(s.name),e.push(Ir(s.name,"directive")))}let{loc:r}=s;if(s.exp&&e.push(s.exp),s.arg&&(s.exp||e.push("void 0"),e.push(s.arg)),Object.keys(s.modifiers).length){s.arg||(s.exp||e.push("void 0"),e.push("void 0"));let n=Z("true",!1,r);e.push(rs(s.modifiers.map(a=>tt(a,n)),r))}return Ui(e,s.loc)}function ev(s){let t="[";for(let e=0,i=s.length;e<i;e++)t+=JSON.stringify(s[e]),e<i-1&&(t+=", ");return t+"]"}function rh(s){return s==="component"||s==="Component"}var tv=(s,t)=>{if(Ia(s)){let{children:e,loc:i}=s,{slotName:r,slotProps:n}=xE(s,t),a=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r,"{}","undefined","true"],o=2;n&&(a[2]=n,o=3),e.length&&(a[3]=br([],e,!1,!1,i),o=4),t.scopeId&&!t.slotted&&(o=5),a.splice(o),s.codegenNode=St(t.helper(ch),a,i)}};function xE(s,t){let e='"default"',i,r=[];for(let n=0;n<s.props.length;n++){let a=s.props[n];if(a.type===6)a.value&&(a.name==="name"?e=JSON.stringify(a.value.content):(a.name=k.camelize(a.name),r.push(a)));else if(a.name==="bind"&&Vi(a.arg,"name")){if(a.exp)e=a.exp;else if(a.arg&&a.arg.type===4){let o=k.camelize(a.arg.content);e=a.exp=Z(o,!1,a.arg.loc),e=a.exp=xt(a.exp,t)}}else a.name==="bind"&&a.arg&&_s(a.arg)&&(a.arg.content=k.camelize(a.arg.content)),r.push(a)}if(r.length>0){let{props:n,directives:a}=Ph(s,t,r,!1,!1);i=n,a.length&&t.onError(ye(36,a[0].loc))}return{slotName:e,slotProps:i}}var vE=(s,t,e,i)=>{let{loc:r,modifiers:n,arg:a}=s;!s.exp&&!n.length&&e.onError(ye(35,r));let o;if(a.type===4)if(a.isStatic){let p=a.content;p.startsWith("vnode")&&e.onError(ye(52,a.loc)),p.startsWith("vue:")&&(p=`vnode-${p.slice(4)}`);let h=t.tagType!==0||p.startsWith("vnode")||!/[A-Z]/.test(p)?k.toHandlerKey(k.camelize(p)):`on:${p}`;o=Z(h,!0,a.loc)}else o=is([`${e.helperString(_l)}(`,a,")"]);else o=a,o.children.unshift(`${e.helperString(_l)}(`),o.children.push(")");let l=s.exp;l&&!l.content.trim()&&(l=void 0);let c=e.cacheHandlers&&!l&&!e.inVOnce;if(l){let p=yh(l,e),h=!(p||zy(l,e)),f=l.content.includes(";");e.prefixIdentifiers&&(h&&e.addIdentifiers("$event"),l=s.exp=xt(l,e,!1,f),h&&e.removeIdentifiers("$event"),c=e.cacheHandlers&&!e.inVOnce&&!(l.type===4&&l.constType>0)&&!(p&&t.tagType===1)&&!Pt(l,e.identifiers),c&&p&&(l.type===4?l.content=`${l.content} && ${l.content}(...args)`:l.children=[...l.children," && ",...l.children,"(...args)"])),(h||c&&p)&&(l=is([`${h?e.isTS?"($event: any)":"$event":`${e.isTS?`
|
|
51
51
|
//@ts-ignore
|
|
52
|
-
`:""}(...args)`} => ${f?"{":"("}`,l,f?"}":")"]))}let u={props:[tt(o,l||Z("() => {}",!1,r))]};return i&&(u=i(u)),c&&(u.props[0].value=e.cache(u.props[0].value)),u.props.forEach(h=>h.key.isHandlerKey=!0),u},OE=(s,t,e)=>{let{modifiers:i,loc:r}=s,n=s.arg,{exp:a}=s;return a&&a.type===4&&!a.content.trim()?(e.onError(ye(34,r)),{props:[tt(n,Z("",!0,r))]}):(n.type!==4?(n.children.unshift("("),n.children.push(') || ""')):n.isStatic||(n.content=n.content?`${n.content} || ""`:'""'),i.some(o=>o.content==="camel")&&(n.type===4?n.isStatic?n.content=k.camelize(n.content):n.content=`${e.helperString(Il)}(${n.content})`:(n.children.unshift(`${e.helperString(Il)}(`),n.children.push(")"))),e.inSSR||(i.some(o=>o.content==="prop")&&vy(n,"."),i.some(o=>o.content==="attr")&&vy(n,"^")),{props:[tt(n,a)]})},vy=(s,t)=>{s.type===4?s.isStatic?s.content=t+s.content:s.content=`\`${t}\${${s.content}}\``:(s.children.unshift(`'${t}' + (`),s.children.push(")"))},tv=(s,t)=>{if(s.type===0||s.type===1||s.type===11||s.type===10)return()=>{let e=s.children,i,r=!1;for(let n=0;n<e.length;n++){let a=e[n];if(yl(a)){r=!0;for(let o=n+1;o<e.length;o++){let l=e[o];if(yl(l))i||(i=e[n]=is([a],a.loc)),i.children.push(" + ",l),e.splice(o,1),o--;else{i=void 0;break}}}}if(!(!r||e.length===1&&(s.type===0||s.type===1&&s.tagType===0&&!s.props.find(n=>n.type===7&&!t.directiveTransforms[n.name])&&s.tag!=="template")))for(let n=0;n<e.length;n++){let a=e[n];if(yl(a)||a.type===8){let o=[];(a.type!==2||a.content!==" ")&&o.push(a),!t.ssr&&ns(a,t)===0&&o.push(`1 /* ${k.PatchFlagNames[1]} */`),e[n]={type:12,content:a,loc:a.loc,codegenNode:St(t.helper(Dl),o)}}}}},Oy=new WeakSet,sv=(s,t)=>{if(s.type===1&&Rt(s,"once",!0))return Oy.has(s)||t.inVOnce||t.inSSR?void 0:(Oy.add(s),t.inVOnce=!0,t.helper(Ea),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))})},wE=(s,t,e)=>{let{exp:i,arg:r}=s;if(!i)return e.onError(ye(41,s.loc)),un();let n=i.loc.source.trim(),a=i.type===4?i.content:n,o=e.bindingMetadata[n];if(o==="props"||o==="props-aliased")return e.onError(ye(44,i.loc)),un();if(o==="literal-const"||o==="setup-const")return e.onError(ye(45,i.loc)),un();let l=e.inline&&(o==="setup-let"||o==="setup-ref"||o==="setup-maybe-ref");if(!a.trim()||!yp(i,e)&&!l)return e.onError(ye(42,i.loc)),un();if(e.prefixIdentifiers&&hi(a)&&e.identifiers[a])return e.onError(ye(43,i.loc)),un();let c=r||Z("modelValue",!0),u=r?_s(r)?`onUpdate:${k.camelize(r.content)}`:is(['"onUpdate:" + ',r]):"onUpdate:modelValue",h,p=e.isTS?"($event: any)":"$event";if(l)if(o==="setup-ref")h=is([`${p} => ((`,Z(n,!1,i.loc),").value = $event)"]);else{let m=o==="setup-let"?`${n} = $event`:"null";h=is([`${p} => (${e.helperString(ba)}(${n}) ? (`,Z(n,!1,i.loc),`).value = $event : ${m})`])}else h=is([`${p} => ((`,i,") = $event)"]);let f=[tt(c,s.exp),tt(u,h)];if(e.prefixIdentifiers&&!e.inVOnce&&e.cacheHandlers&&!Pt(i,e.identifiers)&&(f[1].value=e.cache(f[1].value)),s.modifiers.length&&t.tagType===1){let m=s.modifiers.map(A=>A.content).map(A=>(hi(A)?A:JSON.stringify(A))+": true").join(", "),d=r?_s(r)?`${r.content}Modifiers`:is([r,' + "Modifiers"']):"modelModifiers";f.push(tt(d,Z(`{ ${m} }`,!1,s.loc,2)))}return un(f)};function un(s=[]){return{props:s}}var iv=/[\w).+\-_$\]]/,rv=(s,t)=>{$i("COMPILER_FILTERS",t)&&(s.type===5?Ol(s.content,t):s.type===1&&s.props.forEach(e=>{e.type===7&&e.name!=="for"&&e.exp&&Ol(e.exp,t)}))};function Ol(s,t){if(s.type===4)wy(s,t);else for(let e=0;e<s.children.length;e++){let i=s.children[e];typeof i=="object"&&(i.type===4?wy(i,t):i.type===8?Ol(s,t):i.type===5&&Ol(i.content,t))}}function wy(s,t){let e=s.content,i=!1,r=!1,n=!1,a=!1,o=0,l=0,c=0,u=0,h,p,f,m,d=[];for(f=0;f<e.length;f++)if(p=h,h=e.charCodeAt(f),i)h===39&&p!==92&&(i=!1);else if(r)h===34&&p!==92&&(r=!1);else if(n)h===96&&p!==92&&(n=!1);else if(a)h===47&&p!==92&&(a=!1);else if(h===124&&e.charCodeAt(f+1)!==124&&e.charCodeAt(f-1)!==124&&!o&&!l&&!c)m===void 0?(u=f+1,m=e.slice(0,f).trim()):A();else{switch(h){case 34:r=!0;break;case 39:i=!0;break;case 96:n=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:o++;break;case 125:o--;break}if(h===47){let y=f-1,E;for(;y>=0&&(E=e.charAt(y),E===" ");y--);(!E||!iv.test(E))&&(a=!0)}}m===void 0?m=e.slice(0,f).trim():u!==0&&A();function A(){d.push(e.slice(u,f).trim()),u=f+1}if(d.length){for(Ta("COMPILER_FILTERS",t,s.loc),f=0;f<d.length;f++)m=nv(m,d[f],t);s.content=m,s.ast=void 0}}function nv(s,t,e){e.helper(Bl);let i=t.indexOf("(");if(i<0)return e.filters.add(t),`${Ir(t,"filter")}(${s})`;{let r=t.slice(0,i),n=t.slice(i+1);return e.filters.add(r),`${Ir(r,"filter")}(${s}${n!==")"?","+n:n}`}}var Ly=new WeakSet,av=(s,t)=>{if(s.type===1){let e=Rt(s,"memo");return!e||Ly.has(s)||t.inSSR?void 0:(Ly.add(s),()=>{let i=s.codegenNode||t.currentNode.codegenNode;i&&i.type===13&&(s.tagType!==1&&Wl(i,t),s.codegenNode=St(t.helper(Gl),[e.exp,br(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))})}},LE=(s,t)=>{if(s.type===1){for(let e of s.props)if(e.type===7&&e.name==="bind"&&!e.exp&&e.arg){let i=e.arg;if(i.type!==4||!i.isStatic)t.onError(ye(53,i.loc)),e.exp=Z("",!0,i.loc);else{let r=k.camelize(i.content);(gp.test(r[0])||r[0]==="-")&&(e.exp=Z(r,!1,i.loc))}}}};function ME(s){return[[LE,sv,Wx,av,Qx,rv,...s?[TE,yE]:[],ev,_E,bE,tv],{on:vE,bind:OE,model:wE}]}function ov(s,t={}){let e=t.onError||pp,i=t.mode==="module",r=t.prefixIdentifiers===!0||i;!r&&t.cacheHandlers&&e(ye(50)),t.scopeId&&!i&&e(ye(51));let n=k.extend({},t,{prefixIdentifiers:r}),a=k.isString(s)?aE(s,n):s,[o,l]=ME(r);if(t.isTS){let{expressionPlugins:c}=t;(!c||!c.includes("typescript"))&&(t.expressionPlugins=[...c||[],"typescript"])}return pE(a,k.extend({},n,{nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:k.extend({},l,t.directiveTransforms||{})})),fE(a,n)}var lv={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"},cv=()=>({props:[]});O.generateCodeFrame=k.generateCodeFrame;O.BASE_TRANSITION=np;O.BindingTypes=lv;O.CAMELIZE=Il;O.CAPITALIZE=My;O.CREATE_BLOCK=ap;O.CREATE_COMMENT=En;O.CREATE_ELEMENT_BLOCK=op;O.CREATE_ELEMENT_VNODE=Ml;O.CREATE_SLOTS=up;O.CREATE_STATIC=lp;O.CREATE_TEXT=Dl;O.CREATE_VNODE=Ll;O.CompilerDeprecationTypes=YN;O.ConstantTypes=KN;O.ElementTypes=HN;O.ErrorCodes=ZN;O.FRAGMENT=dn;O.GUARD_REACTIVE_PROPS=Sn;O.IS_MEMO_SAME=hp;O.IS_REF=ba;O.KEEP_ALIVE=Aa;O.MERGE_PROPS=ya;O.NORMALIZE_CLASS=$l;O.NORMALIZE_PROPS=mn;O.NORMALIZE_STYLE=jl;O.Namespaces=$N;O.NodeTypes=jN;O.OPEN_BLOCK=ji;O.POP_SCOPE_ID=Ry;O.PUSH_SCOPE_ID=Dy;O.RENDER_LIST=Vl;O.RENDER_SLOT=cp;O.RESOLVE_COMPONENT=ga;O.RESOLVE_DIRECTIVE=kl;O.RESOLVE_DYNAMIC_COMPONENT=Rl;O.RESOLVE_FILTER=Bl;O.SET_BLOCK_TRACKING=Ea;O.SUSPENSE=wl;O.TELEPORT=fn;O.TO_DISPLAY_STRING=Ul;O.TO_HANDLERS=Hl;O.TO_HANDLER_KEY=_l;O.TS_NODE_TYPES=mp;O.UNREF=Sa;O.WITH_CTX=Kl;O.WITH_DIRECTIVES=Fl;O.WITH_MEMO=Gl;O.advancePositionWithClone=zh;O.advancePositionWithMutation=Ep;O.assert=Zh;O.baseCompile=ov;O.baseParse=aE;O.buildDirectiveArgs=NE;O.buildProps=Pp;O.buildSlots=CE;O.checkCompatEnabled=gn;O.convertToBlock=Wl;O.createArrayExpression=Ui;O.createAssignmentExpression=qN;O.createBlockStatement=Fy;O.createCacheExpression=By;O.createCallExpression=St;O.createCompilerError=ye;O.createCompoundExpression=is;O.createConditionalExpression=Pl;O.createForLoopParams=vl;O.createFunctionExpression=br;O.createIfStatement=XN;O.createInterpolation=GN;O.createObjectExpression=rs;O.createObjectProperty=tt;O.createReturnStatement=JN;O.createRoot=ky;O.createSequenceExpression=QN;O.createSimpleExpression=Z;O.createStructuralDirectiveTransform=Cp;O.createTemplateLiteral=WN;O.createTransformContext=hE;O.createVNodeCall=An;O.errorMessages=Uy;O.extractIdentifiers=Is;O.findDir=Rt;O.findProp=Ca;O.forAliasRE=tE;O.generate=fE;O.getBaseTransformPreset=ME;O.getConstantType=ns;O.getMemoedVNodeCall=eE;O.getVNodeBlockHelper=Cr;O.getVNodeHelper=Tr;O.hasDynamicKeyVBind=ox;O.hasScopeRef=Pt;O.helperNameMap=Vt;O.injectProp=_a;O.isAllWhitespace=Sp;O.isCommentOrWhitespace=bp;O.isCoreComponent=Ap;O.isFnExpression=zy;O.isFnExpressionBrowser=ax;O.isFnExpressionNode=Yy;O.isFunctionType=qy;O.isInDestructureAssignment=xl;O.isInNewExpression=Hy;O.isMemberExpression=yp;O.isMemberExpressionBrowser=rx;O.isMemberExpressionNode=Jy;O.isReferencedIdentifier=jy;O.isSimpleIdentifier=hi;O.isSlotOutlet=Ia;O.isStaticArgOf=Vi;O.isStaticExp=_s;O.isStaticProperty=dp;O.isStaticPropertyKey=Qy;O.isTemplateNode=yn;O.isText=yl;O.isVPre=ep;O.isVSlot=Ql;O.isWhitespaceText=Jl;O.locStub=st;O.noopDirectiveTransform=cv;O.processExpression=xt;O.processFor=SE;O.processIf=EE;O.processSlotOutlet=xE;O.registerRuntimeHelpers=UN;O.resolveComponentType=PE;O.stringifyExpression=Ip;O.toValidAssetId=Ir;O.trackSlotScopes=bE;O.trackVForSlotScopes=TE;O.transform=pE;O.transformBind=OE;O.transformElement=_E;O.transformExpression=yE;O.transformModel=wE;O.transformOn=vE;O.transformVBindShorthand=LE;O.traverseNode=Na;O.unwrapTSNode=Xl;O.validFirstIdentCharRE=gp;O.walkBlockDeclarations=fp;O.walkFunctionParams=Ky;O.walkIdentifiers=$y;O.warnDeprecation=Ta});var xp=D((cF,Np)=>{"use strict";process.env.NODE_ENV==="production"?Np.exports=dy():Np.exports=DE()});var jE=D(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});var oe=xp(),le=at(),vp=Symbol(""),Op=Symbol(""),wp=Symbol(""),Lp=Symbol(""),Zl=Symbol(""),Mp=Symbol(""),Dp=Symbol(""),Rp=Symbol(""),kp=Symbol(""),Bp=Symbol("");oe.registerRuntimeHelpers({[vp]:"vModelRadio",[Op]:"vModelCheckbox",[wp]:"vModelText",[Lp]:"vModelSelect",[Zl]:"vModelDynamic",[Mp]:"withModifiers",[Dp]:"withKeys",[Rp]:"vShow",[kp]:"Transition",[Bp]:"TransitionGroup"});var Fp={parseMode:"html",isVoidTag:le.isVoidTag,isNativeTag:s=>le.isHTMLTag(s)||le.isSVGTag(s)||le.isMathMLTag(s),isPreTag:s=>s==="pre",isIgnoreNewlineTag:s=>s==="pre"||s==="textarea",decodeEntities:void 0,isBuiltInComponent:s=>{if(s==="Transition"||s==="transition")return kp;if(s==="TransitionGroup"||s==="transition-group")return Bp},getNamespace(s,t,e){let i=t?t.ns:e;if(t&&i===2)if(t.tag==="annotation-xml"){if(s==="svg")return 1;t.props.some(r=>r.type===6&&r.name==="encoding"&&r.value!=null&&(r.value.content==="text/html"||r.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&s!=="mglyph"&&s!=="malignmark"&&(i=0);else t&&i===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(i=0);if(i===0){if(s==="svg")return 1;if(s==="math")return 2}return i}},BE=s=>{s.type===1&&s.props.forEach((t,e)=>{t.type===6&&t.name==="style"&&t.value&&(s.props[e]={type:7,name:"bind",arg:oe.createSimpleExpression("style",!0,t.loc),exp:uv(t.value.content,t.loc),modifiers:[],loc:t.loc})})},uv=(s,t)=>{let e=le.parseStringStyle(s);return oe.createSimpleExpression(JSON.stringify(e),!1,t,3)};function pi(s,t){return oe.createCompilerError(s,t,FE)}var hv={X_V_HTML_NO_EXPRESSION:54,54:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:55,55:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:56,56:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:57,57:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:58,58:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:59,59:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:61,61:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:62,62:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:63,63:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:64,64:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:65,65:"__EXTEND_POINT__"},FE={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},pv=(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(pi(54,r)),t.children.length&&(e.onError(pi(55,r)),t.children.length=0),{props:[oe.createObjectProperty(oe.createSimpleExpression("innerHTML",!0,r),i||oe.createSimpleExpression("",!0))]}},fv=(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(pi(56,r)),t.children.length&&(e.onError(pi(57,r)),t.children.length=0),{props:[oe.createObjectProperty(oe.createSimpleExpression("textContent",!0),i?oe.getConstantType(i,e)>0?i:oe.createCallExpression(e.helperString(oe.TO_DISPLAY_STRING),[i],r):oe.createSimpleExpression("",!0))]}},dv=(s,t,e)=>{let i=oe.transformModel(s,t,e);if(!i.props.length||t.tagType===1)return i;s.arg&&e.onError(pi(59,s.arg.loc));let{tag:r}=t,n=e.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||n){let a=wp,o=!1;if(r==="input"||n){let l=oe.findProp(t,"type");if(l){if(l.type===7)a=Zl;else if(l.value)switch(l.value.content){case"radio":a=vp;break;case"checkbox":a=Op;break;case"file":o=!0,e.onError(pi(60,s.loc));break}}else oe.hasDynamicKeyVBind(t)&&(a=Zl)}else r==="select"&&(a=Lp);o||(i.needRuntime=e.helper(a))}else e.onError(pi(58,s.loc));return i.props=i.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),i},mv=le.makeMap("passive,once,capture"),Av=le.makeMap("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),gv=le.makeMap("left,right"),VE=le.makeMap("onkeyup,onkeydown,onkeypress"),yv=(s,t,e,i)=>{let r=[],n=[],a=[];for(let o=0;o<t.length;o++){let l=t[o].content;l==="native"&&oe.checkCompatEnabled("COMPILER_V_ON_NATIVE",e,i)||mv(l)?a.push(l):gv(l)?oe.isStaticExp(s)?VE(s.content.toLowerCase())?r.push(l):n.push(l):(r.push(l),n.push(l)):Av(l)?n.push(l):r.push(l)}return{keyModifiers:r,nonKeyModifiers:n,eventOptionModifiers:a}},RE=(s,t)=>oe.isStaticExp(s)&&s.content.toLowerCase()==="onclick"?oe.createSimpleExpression(t,!0):s.type!==4?oe.createCompoundExpression(["(",s,`) === "onClick" ? "${t}" : (`,s,")"]):s,Ev=(s,t,e)=>oe.transformOn(s,t,e,i=>{let{modifiers:r}=s;if(!r.length)return i;let{key:n,value:a}=i.props[0],{keyModifiers:o,nonKeyModifiers:l,eventOptionModifiers:c}=yv(n,r,e,s.loc);if(l.includes("right")&&(n=RE(n,"onContextmenu")),l.includes("middle")&&(n=RE(n,"onMouseup")),l.length&&(a=oe.createCallExpression(e.helper(Mp),[a,JSON.stringify(l)])),o.length&&(!oe.isStaticExp(n)||VE(n.content.toLowerCase()))&&(a=oe.createCallExpression(e.helper(Dp),[a,JSON.stringify(o)])),c.length){let u=c.map(le.capitalize).join("");n=oe.isStaticExp(n)?oe.createSimpleExpression(`${n.content}${u}`,!0):oe.createCompoundExpression(["(",n,`) + "${u}"`])}return{props:[oe.createObjectProperty(n,a)]}}),Sv=(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(pi(62,r)),{props:[],needRuntime:e.helper(Rp)}},bv=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,Tv=(s,t,e)=>{if(t.scopes.vSlot>0)return;let i=e.type===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!le.isArray(e.codegenNode.children)&&e.codegenNode.children.type===20,r=0,n=0,a=[],o=c=>{if(r>=20||n>=5){let u=oe.createCallExpression(t.helper(oe.CREATE_STATIC),[JSON.stringify(a.map(p=>Vp(p,t)).join("")).replace(bv,'" + $1 + "'),String(a.length)]),h=a.length-1;if(i)s.splice(c-a.length,a.length,u);else if(a[0].codegenNode.value=u,a.length>1){s.splice(c-a.length+1,h);let p=t.cached.indexOf(a[a.length-1].codegenNode);if(p>-1){for(let f=p;f<t.cached.length;f++){let m=t.cached[f];m&&(m.index-=h)}t.cached.splice(p-h+1,h)}}return h}return 0},l=0;for(;l<s.length;l++){let c=s[l];if(i||Cv(c)){let h=Pv(c);if(h){r+=h[0],n+=h[1],a.push(c);continue}}l-=o(l),r=0,n=0,a.length=0}o(l)},Cv=s=>{if((s.type===1&&s.tagType===0||s.type===12)&&s.codegenNode&&s.codegenNode.type===20)return s.codegenNode},Iv=/^(?:data|aria)-/,kE=(s,t)=>(t===0?le.isKnownHtmlAttr(s):t===1?le.isKnownSvgAttr(s):t===2?le.isKnownMathMLAttr(s):!1)||Iv.test(s),_v=le.makeMap("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function Pv(s){if(s.type===1&&_v(s.tag)||s.type===1&&oe.findDir(s,"once",!0))return!1;if(s.type===12)return[1,0];let t=1,e=s.props.length>0?1:0,i=!1,r=()=>(i=!0,!1);function n(a){let o=a.tag==="option"&&a.ns===0;for(let l=0;l<a.props.length;l++){let c=a.props[l];if(c.type===6&&!kE(c.name,a.ns)||c.type===7&&c.name==="bind"&&(c.arg&&(c.arg.type===8||c.arg.isStatic&&!kE(c.arg.content,a.ns))||c.exp&&(c.exp.type===8||c.exp.constType<3)||o&&oe.isStaticArgOf(c.arg,"value")&&c.exp&&!c.exp.isStatic))return r()}for(let l=0;l<a.children.length;l++){t++;let c=a.children[l];if(c.type===1&&(c.props.length>0&&e++,n(c),i))return!1}return!0}return n(s)?[t,e]:!1}function Vp(s,t){if(le.isString(s))return s;if(le.isSymbol(s))return"";switch(s.type){case 1:return Nv(s,t);case 2:return le.escapeHtml(s.content);case 3:return`<!--${le.escapeHtml(s.content)}-->`;case 5:return le.escapeHtml(le.toDisplayString(_r(s.content)));case 8:return le.escapeHtml(_r(s));case 12:return Vp(s.content,t);default:return""}}function Nv(s,t){let e=`<${s.tag}`,i="";for(let r=0;r<s.props.length;r++){let n=s.props[r];if(n.type===6)e+=` ${n.name}`,n.value&&(e+=`="${le.escapeHtml(n.value.content)}"`);else if(n.type===7)if(n.name==="bind"){let a=n.exp;if(a.content[0]==="_"){e+=` ${n.arg.content}="__VUE_EXP_START__${a.content}__VUE_EXP_END__"`;continue}if(le.isBooleanAttr(n.arg.content)&&a.content==="false")continue;let o=_r(a);if(o!=null){let l=n.arg&&n.arg.content;l==="class"?o=le.normalizeClass(o):l==="style"&&(o=le.stringifyStyle(le.normalizeStyle(o))),e+=` ${n.arg.content}="${le.escapeHtml(o)}"`}}else n.name==="html"?i=_r(n.exp):n.name==="text"&&(i=le.escapeHtml(le.toDisplayString(_r(n.exp))))}if(t.scopeId&&(e+=` ${t.scopeId}`),e+=">",i)e+=i;else for(let r=0;r<s.children.length;r++)e+=Vp(s.children[r],t);return le.isVoidTag(s.tag)||(e+=`</${s.tag}>`),e}function _r(s){if(s.type===4)return new Function(`return (${s.content})`)();{let t="";return s.children.forEach(e=>{le.isString(e)||le.isSymbol(e)||(e.type===2?t+=e.content:e.type===5?t+=le.toDisplayString(_r(e.content)):t+=_r(e))}),t}}var xv=(s,t)=>{s.type===1&&s.tagType===0&&(s.tag==="script"||s.tag==="style")&&t.removeNode()},UE=[BE],$E={cloak:oe.noopDirectiveTransform,html:pv,text:fv,model:dv,on:Ev,show:Sv};function vv(s,t={}){return oe.baseCompile(s,le.extend({},Fp,t,{nodeTransforms:[xv,...UE,...t.nodeTransforms||[]],directiveTransforms:le.extend({},$E,t.directiveTransforms||{}),transformHoist:Tv}))}function Ov(s,t={}){return oe.baseParse(s,le.extend({},Fp,t))}Be.DOMDirectiveTransforms=$E;Be.DOMErrorCodes=hv;Be.DOMErrorMessages=FE;Be.DOMNodeTransforms=UE;Be.TRANSITION=kp;Be.TRANSITION_GROUP=Bp;Be.V_MODEL_CHECKBOX=Op;Be.V_MODEL_DYNAMIC=Zl;Be.V_MODEL_RADIO=vp;Be.V_MODEL_SELECT=Lp;Be.V_MODEL_TEXT=wp;Be.V_ON_WITH_KEYS=Dp;Be.V_ON_WITH_MODIFIERS=Mp;Be.V_SHOW=Rp;Be.compile=vv;Be.createDOMCompilerError=pi;Be.parse=Ov;Be.parserOptions=Fp;Be.transformStyle=BE;Object.keys(oe).forEach(function(s){s!=="default"&&!Object.prototype.hasOwnProperty.call(Be,s)&&(Be[s]=oe[s])})});var tS=D(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});var ee=xp(),ce=at(),Up=Symbol("vModelRadio"),$p=Symbol("vModelCheckbox"),jp=Symbol("vModelText"),Hp=Symbol("vModelSelect"),ec=Symbol("vModelDynamic"),Kp=Symbol("vOnModifiersGuard"),Gp=Symbol("vOnKeysGuard"),Wp=Symbol("vShow"),tc=Symbol("Transition"),Xp=Symbol("TransitionGroup");ee.registerRuntimeHelpers({[Up]:"vModelRadio",[$p]:"vModelCheckbox",[jp]:"vModelText",[Hp]:"vModelSelect",[ec]:"vModelDynamic",[Kp]:"withModifiers",[Gp]:"withKeys",[Wp]:"vShow",[tc]:"Transition",[Xp]:"TransitionGroup"});var qp={parseMode:"html",isVoidTag:ce.isVoidTag,isNativeTag:s=>ce.isHTMLTag(s)||ce.isSVGTag(s)||ce.isMathMLTag(s),isPreTag:s=>s==="pre",isIgnoreNewlineTag:s=>s==="pre"||s==="textarea",decodeEntities:void 0,isBuiltInComponent:s=>{if(s==="Transition"||s==="transition")return tc;if(s==="TransitionGroup"||s==="transition-group")return Xp},getNamespace(s,t,e){let i=t?t.ns:e;if(t&&i===2)if(t.tag==="annotation-xml"){if(s==="svg")return 1;t.props.some(r=>r.type===6&&r.name==="encoding"&&r.value!=null&&(r.value.content==="text/html"||r.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&s!=="mglyph"&&s!=="malignmark"&&(i=0);else t&&i===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(i=0);if(i===0){if(s==="svg")return 1;if(s==="math")return 2}return i}},QE=s=>{s.type===1&&s.props.forEach((t,e)=>{t.type===6&&t.name==="style"&&t.value&&(s.props[e]={type:7,name:"bind",arg:ee.createSimpleExpression("style",!0,t.loc),exp:wv(t.value.content,t.loc),modifiers:[],loc:t.loc})})},wv=(s,t)=>{let e=ce.parseStringStyle(s);return ee.createSimpleExpression(JSON.stringify(e),!1,t,3)};function ms(s,t){return ee.createCompilerError(s,t,JE)}var Lv={X_V_HTML_NO_EXPRESSION:54,54:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:55,55:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:56,56:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:57,57:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:58,58:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:59,59:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:61,61:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:62,62:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:63,63:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:64,64:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:65,65:"__EXTEND_POINT__"},JE={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},Mv=(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(ms(54,r)),t.children.length&&(e.onError(ms(55,r)),t.children.length=0),{props:[ee.createObjectProperty(ee.createSimpleExpression("innerHTML",!0,r),i||ee.createSimpleExpression("",!0))]}},Dv=(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(ms(56,r)),t.children.length&&(e.onError(ms(57,r)),t.children.length=0),{props:[ee.createObjectProperty(ee.createSimpleExpression("textContent",!0),i?ee.getConstantType(i,e)>0?i:ee.createCallExpression(e.helperString(ee.TO_DISPLAY_STRING),[i],r):ee.createSimpleExpression("",!0))]}},Rv=(s,t,e)=>{let i=ee.transformModel(s,t,e);if(!i.props.length||t.tagType===1)return i;s.arg&&e.onError(ms(59,s.arg.loc));function r(){let o=ee.findDir(t,"bind");o&&ee.isStaticArgOf(o.arg,"value")&&e.onError(ms(61,o.loc))}let{tag:n}=t,a=e.isCustomElement(n);if(n==="input"||n==="textarea"||n==="select"||a){let o=jp,l=!1;if(n==="input"||a){let c=ee.findProp(t,"type");if(c){if(c.type===7)o=ec;else if(c.value)switch(c.value.content){case"radio":o=Up;break;case"checkbox":o=$p;break;case"file":l=!0,e.onError(ms(60,s.loc));break;default:r();break}}else ee.hasDynamicKeyVBind(t)?o=ec:r()}else n==="select"?o=Hp:r();l||(i.needRuntime=e.helper(o))}else e.onError(ms(58,s.loc));return i.props=i.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),i},kv=ce.makeMap("passive,once,capture"),Bv=ce.makeMap("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Fv=ce.makeMap("left,right"),YE=ce.makeMap("onkeyup,onkeydown,onkeypress"),Vv=(s,t,e,i)=>{let r=[],n=[],a=[];for(let o=0;o<t.length;o++){let l=t[o].content;l==="native"&&ee.checkCompatEnabled("COMPILER_V_ON_NATIVE",e,i)||kv(l)?a.push(l):Fv(l)?ee.isStaticExp(s)?YE(s.content.toLowerCase())?r.push(l):n.push(l):(r.push(l),n.push(l)):Bv(l)?n.push(l):r.push(l)}return{keyModifiers:r,nonKeyModifiers:n,eventOptionModifiers:a}},HE=(s,t)=>ee.isStaticExp(s)&&s.content.toLowerCase()==="onclick"?ee.createSimpleExpression(t,!0):s.type!==4?ee.createCompoundExpression(["(",s,`) === "onClick" ? "${t}" : (`,s,")"]):s,Uv=(s,t,e)=>ee.transformOn(s,t,e,i=>{let{modifiers:r}=s;if(!r.length)return i;let{key:n,value:a}=i.props[0],{keyModifiers:o,nonKeyModifiers:l,eventOptionModifiers:c}=Vv(n,r,e,s.loc);if(l.includes("right")&&(n=HE(n,"onContextmenu")),l.includes("middle")&&(n=HE(n,"onMouseup")),l.length&&(a=ee.createCallExpression(e.helper(Kp),[a,JSON.stringify(l)])),o.length&&(!ee.isStaticExp(n)||YE(n.content.toLowerCase()))&&(a=ee.createCallExpression(e.helper(Gp),[a,JSON.stringify(o)])),c.length){let u=c.map(ce.capitalize).join("");n=ee.isStaticExp(n)?ee.createSimpleExpression(`${n.content}${u}`,!0):ee.createCompoundExpression(["(",n,`) + "${u}"`])}return{props:[ee.createObjectProperty(n,a)]}}),$v=(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(ms(62,r)),{props:[],needRuntime:e.helper(Wp)}},jv=(s,t)=>{if(s.type===1&&s.tagType===1&&t.isBuiltInComponent(s.tag)===tc)return()=>{if(!s.children.length)return;zE(s)&&t.onError(ms(63,{start:s.children[0].loc.start,end:s.children[s.children.length-1].loc.end,source:""}));let i=s.children[0];if(i.type===1)for(let r of i.props)r.type===7&&r.name==="show"&&s.props.push({type:6,name:"persisted",nameLoc:s.loc,value:void 0,loc:s.loc})}};function zE(s){let t=s.children=s.children.filter(i=>!ee.isCommentOrWhitespace(i)),e=t[0];return t.length!==1||e.type===11||e.type===9&&e.branches.some(zE)}var Hv=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,Kv=(s,t,e)=>{if(t.scopes.vSlot>0)return;let i=e.type===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!ce.isArray(e.codegenNode.children)&&e.codegenNode.children.type===20,r=0,n=0,a=[],o=c=>{if(r>=20||n>=5){let u=ee.createCallExpression(t.helper(ee.CREATE_STATIC),[JSON.stringify(a.map(p=>Qp(p,t)).join("")).replace(Hv,'" + $1 + "'),String(a.length)]),h=a.length-1;if(i)s.splice(c-a.length,a.length,u);else if(a[0].codegenNode.value=u,a.length>1){s.splice(c-a.length+1,h);let p=t.cached.indexOf(a[a.length-1].codegenNode);if(p>-1){for(let f=p;f<t.cached.length;f++){let m=t.cached[f];m&&(m.index-=h)}t.cached.splice(p-h+1,h)}}return h}return 0},l=0;for(;l<s.length;l++){let c=s[l];if(i||Gv(c)){let h=qv(c);if(h){r+=h[0],n+=h[1],a.push(c);continue}}l-=o(l),r=0,n=0,a.length=0}o(l)},Gv=s=>{if((s.type===1&&s.tagType===0||s.type===12)&&s.codegenNode&&s.codegenNode.type===20)return s.codegenNode},Wv=/^(?:data|aria)-/,KE=(s,t)=>(t===0?ce.isKnownHtmlAttr(s):t===1?ce.isKnownSvgAttr(s):t===2?ce.isKnownMathMLAttr(s):!1)||Wv.test(s),Xv=ce.makeMap("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function qv(s){if(s.type===1&&Xv(s.tag)||s.type===1&&ee.findDir(s,"once",!0))return!1;if(s.type===12)return[1,0];let t=1,e=s.props.length>0?1:0,i=!1,r=()=>(i=!0,!1);function n(a){let o=a.tag==="option"&&a.ns===0;for(let l=0;l<a.props.length;l++){let c=a.props[l];if(c.type===6&&!KE(c.name,a.ns)||c.type===7&&c.name==="bind"&&(c.arg&&(c.arg.type===8||c.arg.isStatic&&!KE(c.arg.content,a.ns))||c.exp&&(c.exp.type===8||c.exp.constType<3)||o&&ee.isStaticArgOf(c.arg,"value")&&c.exp&&!c.exp.isStatic))return r()}for(let l=0;l<a.children.length;l++){t++;let c=a.children[l];if(c.type===1&&(c.props.length>0&&e++,n(c),i))return!1}return!0}return n(s)?[t,e]:!1}function Qp(s,t){if(ce.isString(s))return s;if(ce.isSymbol(s))return"";switch(s.type){case 1:return Qv(s,t);case 2:return ce.escapeHtml(s.content);case 3:return`<!--${ce.escapeHtml(s.content)}-->`;case 5:return ce.escapeHtml(ce.toDisplayString(Nr(s.content)));case 8:return ce.escapeHtml(Nr(s));case 12:return Qp(s.content,t);default:return""}}function Qv(s,t){let e=`<${s.tag}`,i="";for(let r=0;r<s.props.length;r++){let n=s.props[r];if(n.type===6)e+=` ${n.name}`,n.value&&(e+=`="${ce.escapeHtml(n.value.content)}"`);else if(n.type===7)if(n.name==="bind"){let a=n.exp;if(a.content[0]==="_"){e+=` ${n.arg.content}="__VUE_EXP_START__${a.content}__VUE_EXP_END__"`;continue}if(ce.isBooleanAttr(n.arg.content)&&a.content==="false")continue;let o=Nr(a);if(o!=null){let l=n.arg&&n.arg.content;l==="class"?o=ce.normalizeClass(o):l==="style"&&(o=ce.stringifyStyle(ce.normalizeStyle(o))),e+=` ${n.arg.content}="${ce.escapeHtml(o)}"`}}else n.name==="html"?i=Nr(n.exp):n.name==="text"&&(i=ce.escapeHtml(ce.toDisplayString(Nr(n.exp))))}if(t.scopeId&&(e+=` ${t.scopeId}`),e+=">",i)e+=i;else for(let r=0;r<s.children.length;r++)e+=Qp(s.children[r],t);return ce.isVoidTag(s.tag)||(e+=`</${s.tag}>`),e}function Nr(s){if(s.type===4)return new Function(`return (${s.content})`)();{let t="";return s.children.forEach(e=>{ce.isString(e)||ce.isSymbol(e)||(e.type===2?t+=e.content:e.type===5?t+=ce.toDisplayString(Nr(e.content)):t+=Nr(e))}),t}}var Jv=(s,t)=>{s.type===1&&s.tagType===0&&(s.tag==="script"||s.tag==="style")&&(t.onError(ms(64,s.loc)),t.removeNode())};function Yv(s,t){return s==="template"?!0:s in GE?GE[s].has(t):t in WE?WE[t].has(s):!(s in XE&&XE[s].has(t)||t in qE&&qE[t].has(s))}var Tn=new Set(["h1","h2","h3","h4","h5","h6"]),Pr=new Set([]),GE={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:Pr,iframe:Pr,option:Pr,textarea:Pr,style:Pr,title:Pr},WE={html:Pr,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"])},XE={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"])},qE={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:Tn,h2:Tn,h3:Tn,h4:Tn,h5:Tn,h6:Tn},zv=(s,t)=>{if(s.type===1&&s.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!Yv(t.parent.tag,s.tag)){let e=new SyntaxError(`<${s.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);e.loc=s.loc,t.onWarn(e)}},ZE=[QE,jv,zv],eS={cloak:ee.noopDirectiveTransform,html:Mv,text:Dv,model:Rv,on:Uv,show:$v};function Zv(s,t={}){return ee.baseCompile(s,ce.extend({},qp,t,{nodeTransforms:[Jv,...ZE,...t.nodeTransforms||[]],directiveTransforms:ce.extend({},eS,t.directiveTransforms||{}),transformHoist:Kv}))}function eO(s,t={}){return ee.baseParse(s,ce.extend({},qp,t))}Fe.DOMDirectiveTransforms=eS;Fe.DOMErrorCodes=Lv;Fe.DOMErrorMessages=JE;Fe.DOMNodeTransforms=ZE;Fe.TRANSITION=tc;Fe.TRANSITION_GROUP=Xp;Fe.V_MODEL_CHECKBOX=$p;Fe.V_MODEL_DYNAMIC=ec;Fe.V_MODEL_RADIO=Up;Fe.V_MODEL_SELECT=Hp;Fe.V_MODEL_TEXT=jp;Fe.V_ON_WITH_KEYS=Gp;Fe.V_ON_WITH_MODIFIERS=Kp;Fe.V_SHOW=Wp;Fe.compile=Zv;Fe.createDOMCompilerError=ms;Fe.parse=eO;Fe.parserOptions=qp;Fe.transformStyle=QE;Object.keys(ee).forEach(function(s){s!=="default"&&!Object.prototype.hasOwnProperty.call(Fe,s)&&(Fe[s]=ee[s])})});var Ve=D((pF,Jp)=>{"use strict";process.env.NODE_ENV==="production"?Jp.exports=jE():Jp.exports=tS()});var Yp=D(fi=>{"use strict";var tO=fi&&fi.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),sO=fi&&fi.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),iO=fi&&fi.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&tO(e,t,i[r]);return sO(e,t),e}})();Object.defineProperty(fi,"__esModule",{value:!0});fi.createTemplateCodegenContext=oO;var rO=iO(Ve()),nO=$e(),xr=_e(),sS=ft(),aO=/^<!--\s*@vue-(?<name>[-\w]+)\b(?<content>[\s\S]*)-->$/;function oO(){let s=0,t=[],e=[],i=new Map,r=new Set,n=new Map,a=[],o=[],l=[],c=[],u=new Set,h=new Map,p=[],f=[];return{generatedTypes:new Set,get currentInfo(){return p[p.length-1]},resolveCodeFeatures:d,inVFor:!1,slots:a,dynamicSlots:o,dollarVars:r,componentAccessMap:n,blockConditions:l,inlayHints:c,inheritedAttrVars:u,templateRefs:h,singleRootElTypes:new Set,singleRootNodes:new Set,addTemplateRef(A,y,E){let x=h.get(A);x||h.set(A,x=[]),x.push({typeExp:y,offset:E})},recordComponentAccess(A,y,E){let x=n.get(y);x||n.set(y,x=new Map);let N=x.get(A);N||x.set(A,N=new Set),E!==void 0&&N.add(E)},scopes:t,components:e,declare(...A){let y=t.at(-1);for(let E of A)y.add(E)},startScope(){let A=new Set;return t.push(A),()=>(t.pop(),m())},getInternalVariable(){return`__VLS_${s++}`},getHoistVariable(A){let y=i.get(A);return y===void 0&&i.set(A,y=`__VLS_${s++}`),y},*generateHoistVariables(){if(i.size){yield`// @ts-ignore${xr.newLine}`,yield"var ";for(let[A,y]of i)yield`${y} = ${A}, `;yield xr.endOfLine}},*generateConditionGuards(){for(let A of l)yield`if (!${A}) return${xr.endOfLine}`},enter(A){if(A.type===rO.NodeTypes.COMMENT)return f.push(A),!1;let y={},E=[...f];f.length=0;for(let x of E){let N=x.loc.source.match(aO);if(N){let{name:w,content:M}=N.groups;switch(w){case"skip":return!1;case"ignore":{y.ignoreError=!0;break}case"expect-error":{y.expectError={token:0,node:x};break}case"generic":{let R=M.trim();R.startsWith("{")&&R.endsWith("}")&&(y.generic={content:R.slice(1,-1),offset:x.loc.start.offset+x.loc.source.indexOf("{")+1});break}}}}return p.push(y),!0},*exit(){let A=p.pop();if(f.length=0,A.expectError!==void 0){let y=yield*(0,sS.startBoundary)("template",A.expectError.node.loc.start.offset,{verification:{shouldReport:()=>A.expectError.token===0}});yield"// @ts-expect-error",yield(0,sS.endBoundary)(y,A.expectError.node.loc.end.offset),yield`${xr.newLine}${xr.endOfLine}`}}};function*m(){let A=[...n.entries()];if(A.some(([,y])=>y.size)){yield`// @ts-ignore${xr.newLine}`,yield"[";for(let[y,E]of A)for(let[x,N]of E){for(let w of N)yield[y,x,w,nO.codeFeatures.importCompletionOnly],yield",";N.clear()}yield`]${xr.endOfLine}`}}function d(A){if(A.verification&&p.length){let y=p[p.length-1];if(y.ignoreError)return{...A,verification:!1};if(y.expectError!==void 0)return{...A,verification:{shouldReport:(E,x)=>((typeof A.verification!="object"||!A.verification.shouldReport||A.verification.shouldReport(E,x)===!0)&&y.expectError.token++,!1)}}}return A}}});var vr=D(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});zp.generateCamelized=cO;var lO=at();function*cO(s,t,e,i){let r=s.split("-"),n=i.__combineToken??Symbol();for(let a=0;a<r.length;a++){let o=r[a];o!==""&&(a===0?yield[o,t,e,{...i,__combineToken:n}]:yield[(0,lO.capitalize)(o),t,e,{__combineToken:n}]),e+=o.length+1}}});var xa=D(Zp=>{"use strict";Object.defineProperty(Zp,"__esModule",{value:!0});Zp.generateStringLiteralKey=uO;var iS=ft();function*uO(s,t,e){if(t===void 0||!e)yield`'${s}'`;else{let i=yield*(0,iS.startBoundary)("template",t,e);yield"'",yield[s,"template",t,{__combineToken:i}],yield"'",yield(0,iS.endBoundary)(i,t+s.length)}}});var Ut=D(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.hyphenateTag=void 0;di.hyphenateAttr=fO;di.normalizeAttributeValue=dO;di.getElementTagOffsets=mO;di.getStartEnd=rS;di.getNodeText=AO;var hO=at(),pO=at();Object.defineProperty(di,"hyphenateTag",{enumerable:!0,get:function(){return pO.hyphenate}});function fO(s){let t=(0,hO.hyphenate)(s);return s.length&&s[0]!==s[0].toLowerCase()&&(t="-"+t),t}function dO(s){let{source:t,start:e}=s.loc;return t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'")?[t.slice(1,-1),e.offset+1]:[t,e.offset]}function mO(s,t){let e=[t.content.indexOf(s.tag,s.loc.start.offset)];if(!s.isSelfClosing&&t.lang==="html"){let i=s.loc.start.offset+s.loc.source.lastIndexOf(s.tag);i>e[0]&&e.push(i)}return e}function rS(s,t,e){return{node:t,start:s.getTokenPosOfNode(t,e),end:t.end}}function AO(s,t,e){let{start:i,end:r}=rS(s,t,e);return e.text.slice(i,r)}});var Or=D(Oa=>{"use strict";Object.defineProperty(Oa,"__esModule",{value:!0});Oa.collectBindingNames=gO;Oa.collectBindingRanges=yO;Oa.collectBindingIdentifiers=va;var nS=Ut();function gO(s,t,e){return va(s,t).map(({id:i})=>(0,nS.getNodeText)(s,i,e))}function yO(s,t,e){return va(s,t).map(({id:i})=>(0,nS.getStartEnd)(s,i,e))}function va(s,t,e=[],i=!1,r=void 0){if(s.isIdentifier(t))e.push({id:t,isRest:i,initializer:r});else if(s.isArrayBindingPattern(t)||s.isObjectBindingPattern(t))for(let n of t.elements)s.isBindingElement(n)&&va(s,n.name,e,!!n.dotDotDotToken,n.initializer);else s.forEachChild(t,n=>va(s,n,e,!1));return e}});var as=D(sc=>{"use strict";Object.defineProperty(sc,"__esModule",{value:!0});sc.generateInterpolation=bO;sc.shouldIdentifierSkipped=tf;var uS=at(),hS=Or(),aS=Ut(),EO=$e(),oS=nt(),wa=_e(),lS=ft(),SO=(0,uS.makeMap)("true,false,null,this");function*bO({typescript:s,setupRefs:t},e,i,r,n,a,o="",l=""){o&&(yield o);let c=0;for(let[u,h,p]of TO(s,e,i,n,o,l)){if(p?(yield[n.slice(c,h+u.length),i.name,a+c,r],yield": "):c<h&&(yield[n.slice(c,h),i.name,a+c,r]),t.has(u))yield[u,i.name,a+h,r],yield".value";else{let f=yield*(0,lS.startBoundary)(i.name,a+h,EO.codeFeatures.verification);e.dollarVars.has(u)?yield oS.names.dollars:(e.recordComponentAccess(i.name,u,a+h),yield oS.names.ctx),yield".",yield[u,i.name,a+h,p?{...r,__shorthandExpression:"js"}:r],yield(0,lS.endBoundary)(f,a+h+u.length)}c=h+u.length}c<n.length&&(yield[n.slice(c),i.name,a+c,r]),l&&(yield l)}function*TO(s,t,e,i,r,n){if(wa.identifierRegex.test(i)&&!tf(t,i)){yield[i,0,!1];return}let a=t.startScope(),o=(0,wa.getTypeScriptAST)(s,e,r+i+n);for(let[l,c]of Ps(s,o,o,t)){let u=(0,aS.getNodeText)(s,l,o);tf(t,u)||(yield[u,(0,aS.getStartEnd)(s,l,o).start-r.length,c])}a()}function*Ps(s,t,e,i){if(s.isIdentifier(t))yield[t,!1];else if(s.isShorthandPropertyAssignment(t))yield[t.name,!0];else if(s.isPropertyAccessExpression(t))yield*Ps(s,t.expression,e,i);else if(s.isVariableDeclaration(t))i.declare(...(0,hS.collectBindingNames)(s,t.name,e)),yield*ef(s,t,e,i);else if(s.isArrayBindingPattern(t)||s.isObjectBindingPattern(t))for(let r of t.elements)s.isBindingElement(r)&&(yield*ef(s,r,e,i));else if(s.isArrowFunction(t)||s.isFunctionExpression(t))yield*cS(s,t,e,i);else if(s.isObjectLiteralExpression(t))for(let r of t.properties)s.isPropertyAssignment(r)?(s.isComputedPropertyName(r.name)&&(yield*Ps(s,r.name.expression,e,i)),yield*Ps(s,r.initializer,e,i)):s.isShorthandPropertyAssignment(r)?yield*Ps(s,r,e,i):s.isSpreadAssignment(r)?yield*Ps(s,r.expression,e,i):s.isFunctionLike(r)&&r.body&&(yield*cS(s,r,e,i));else if(s.isTypeNode(t))yield*sf(s,t);else if(s.isBlock(t)){let r=i.startScope();for(let n of(0,wa.forEachNode)(s,t))yield*Ps(s,n,e,i);r()}else for(let r of(0,wa.forEachNode)(s,t))yield*Ps(s,r,e,i)}function*ef(s,t,e,i){"type"in t&&t.type&&(yield*sf(s,t.type)),s.isIdentifier(t.name)||(yield*Ps(s,t.name,e,i)),t.initializer&&(yield*Ps(s,t.initializer,e,i))}function*cS(s,t,e,i){let r=i.startScope();for(let n of t.parameters)i.declare(...(0,hS.collectBindingNames)(s,n.name,e)),yield*ef(s,n,e,i);t.body&&(yield*Ps(s,t.body,e,i)),r()}function*sf(s,t){if(s.isTypeQueryNode(t)){let e=t.exprName;for(;!s.isIdentifier(e);)e=e.left;yield[e,!1]}else for(let e of(0,wa.forEachNode)(s,t))yield*sf(s,e)}function tf(s,t){return s.scopes.some(e=>e.has(t))||(0,uS.isGloballyAllowed)(t)||SO(t)||t==="require"||t.startsWith("__VLS_")}});var La=D(rf=>{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.generateObjectProperty=PO;var CO=at(),IO=nt(),pS=_e(),fS=ft(),dS=vr(),_O=xa(),mS=as();function*PO(s,t,e,i,r,n=!1,a=!1){if(e.startsWith("[")&&e.endsWith("]"))a?yield*(0,mS.generateInterpolation)(s,t,s.template,r,e.slice(1,-1),i+1,`[${IO.names.tryAsConstant}(`,")]"):yield*(0,mS.generateInterpolation)(s,t,s.template,r,e,i);else if(n)if(pS.identifierRegex.test((0,CO.camelize)(e)))yield*(0,dS.generateCamelized)(e,"template",i,r);else{let o=yield*(0,fS.startBoundary)("template",i,r);yield"'",yield*(0,dS.generateCamelized)(e,"template",i,{__combineToken:o}),yield"'",yield(0,fS.endBoundary)(o,i+e.length)}else pS.identifierRegex.test(e)?yield[e,"template",i,r]:yield*(0,_O.generateStringLiteralKey)(e,i,r)}});var AS=D(ic=>{"use strict";Object.defineProperty(ic,"__esModule",{value:!0});ic.binarySearch=void 0;function NO(s,t){let e=0,i=s.length-1;for(;e<=i;){let r=Math.floor((e+i)/2),n=s[r];if(n<t)e=r+1;else if(n>t)i=r-1;else{e=r,i=r;break}}return Math.max(Math.min(e,i,s.length-1),0)}ic.binarySearch=NO});var af=D(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.getStack=As.track=As.resetOffsetStack=As.offsetStack=As.setTracking=void 0;var gS=!0,nf=0;function xO(s){gS=s}As.setTracking=xO;function vO(){nf++}As.offsetStack=vO;function OO(){nf--}As.resetOffsetStack=OO;function wO(s,t=[]){return[new Proxy(s,{get(c,u,h){if(gS){if(u==="push")return e;if(u==="pop")return i;if(u==="shift")return r;if(u==="unshift")return n;if(u==="splice")return a;if(u==="sort")return o;if(u==="reverse")return l}return Reflect.get(c,u,h)}}),t];function e(...c){return t.push({stack:Cn(),length:c.length}),s.push(...c)}function i(){if(t.length){let c=t[t.length-1];c.length>1?c.length--:t.pop()}return s.pop()}function r(){if(t.length){let c=t[0];c.length>1?c.length--:t.shift()}return s.shift()}function n(...c){return t.unshift({stack:Cn(),length:c.length}),s.unshift(...c)}function a(c,u,...h){u===void 0&&(u=s.length-c);let p=0,f;for(let d=0;d<t.length;d++){let A=t[d],y=p;if(p=y+A.length,c>=y){f=d+1;let x=A.length;A.length=c-y,t.splice(f,0,{stack:A.stack,length:x-A.length});break}}if(f===void 0)throw new Error("Invalid splice operation");let m=u;for(let d=f;d<t.length;d++){let A=t[d];for(;m>0&&A.length>0;)A.length--,m--;if(m===0)break}return t.splice(f,0,{stack:Cn(),length:h.length}),s.splice(c,u,...h)}function o(c){return t.splice(0,t.length,{stack:Cn(),length:s.length}),s.sort(c)}function l(){return t.splice(0,t.length,{stack:Cn(),length:s.length}),s.reverse()}}As.track=wO;function Cn(){let t=new Error().stack.split(`
|
|
53
|
-
`)[3+nf].trim();return t.endsWith(")")?t=t.slice(t.lastIndexOf("(")+1,-1):t=t.slice(t.lastIndexOf(" ")+1),t}As.getStack=Cn});var ES=D(yS=>{"use strict";Object.defineProperty(yS,"__esModule",{value:!0})});var wr=D(Ke=>{"use strict";var
|
|
52
|
+
`:""}(...args)`} => ${f?"{":"("}`,l,f?"}":")"]))}let u={props:[tt(o,l||Z("() => {}",!1,r))]};return i&&(u=i(u)),c&&(u.props[0].value=e.cache(u.props[0].value)),u.props.forEach(p=>p.key.isHandlerKey=!0),u},OE=(s,t,e)=>{let{modifiers:i,loc:r}=s,n=s.arg,{exp:a}=s;return a&&a.type===4&&!a.content.trim()?(e.onError(ye(34,r)),{props:[tt(n,Z("",!0,r))]}):(n.type!==4?(n.children.unshift("("),n.children.push(') || ""')):n.isStatic||(n.content=n.content?`${n.content} || ""`:'""'),i.some(o=>o.content==="camel")&&(n.type===4?n.isStatic?n.content=k.camelize(n.content):n.content=`${e.helperString(Il)}(${n.content})`:(n.children.unshift(`${e.helperString(Il)}(`),n.children.push(")"))),e.inSSR||(i.some(o=>o.content==="prop")&&vy(n,"."),i.some(o=>o.content==="attr")&&vy(n,"^")),{props:[tt(n,a)]})},vy=(s,t)=>{s.type===4?s.isStatic?s.content=t+s.content:s.content=`\`${t}\${${s.content}}\``:(s.children.unshift(`'${t}' + (`),s.children.push(")"))},sv=(s,t)=>{if(s.type===0||s.type===1||s.type===11||s.type===10)return()=>{let e=s.children,i,r=!1;for(let n=0;n<e.length;n++){let a=e[n];if(yl(a)){r=!0;for(let o=n+1;o<e.length;o++){let l=e[o];if(yl(l))i||(i=e[n]=is([a],a.loc)),i.children.push(" + ",l),e.splice(o,1),o--;else{i=void 0;break}}}}if(!(!r||e.length===1&&(s.type===0||s.type===1&&s.tagType===0&&!s.props.find(n=>n.type===7&&!t.directiveTransforms[n.name])&&s.tag!=="template")))for(let n=0;n<e.length;n++){let a=e[n];if(yl(a)||a.type===8){let o=[];(a.type!==2||a.content!==" ")&&o.push(a),!t.ssr&&ns(a,t)===0&&o.push(`1 /* ${k.PatchFlagNames[1]} */`),e[n]={type:12,content:a,loc:a.loc,codegenNode:St(t.helper(Dl),o)}}}}},Oy=new WeakSet,iv=(s,t)=>{if(s.type===1&&Rt(s,"once",!0))return Oy.has(s)||t.inVOnce||t.inSSR?void 0:(Oy.add(s),t.inVOnce=!0,t.helper(Ea),()=>{t.inVOnce=!1;let e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))})},wE=(s,t,e)=>{let{exp:i,arg:r}=s;if(!i)return e.onError(ye(41,s.loc)),un();let n=i.loc.source.trim(),a=i.type===4?i.content:n,o=e.bindingMetadata[n];if(o==="props"||o==="props-aliased")return e.onError(ye(44,i.loc)),un();if(o==="literal-const"||o==="setup-const")return e.onError(ye(45,i.loc)),un();let l=e.inline&&(o==="setup-let"||o==="setup-ref"||o==="setup-maybe-ref");if(!a.trim()||!yh(i,e)&&!l)return e.onError(ye(42,i.loc)),un();if(e.prefixIdentifiers&&pi(a)&&e.identifiers[a])return e.onError(ye(43,i.loc)),un();let c=r||Z("modelValue",!0),u=r?_s(r)?`onUpdate:${k.camelize(r.content)}`:is(['"onUpdate:" + ',r]):"onUpdate:modelValue",p,h=e.isTS?"($event: any)":"$event";if(l)if(o==="setup-ref")p=is([`${h} => ((`,Z(n,!1,i.loc),").value = $event)"]);else{let m=o==="setup-let"?`${n} = $event`:"null";p=is([`${h} => (${e.helperString(ba)}(${n}) ? (`,Z(n,!1,i.loc),`).value = $event : ${m})`])}else p=is([`${h} => ((`,i,") = $event)"]);let f=[tt(c,s.exp),tt(u,p)];if(e.prefixIdentifiers&&!e.inVOnce&&e.cacheHandlers&&!Pt(i,e.identifiers)&&(f[1].value=e.cache(f[1].value)),s.modifiers.length&&t.tagType===1){let m=s.modifiers.map(A=>A.content).map(A=>(pi(A)?A:JSON.stringify(A))+": true").join(", "),d=r?_s(r)?`${r.content}Modifiers`:is([r,' + "Modifiers"']):"modelModifiers";f.push(tt(d,Z(`{ ${m} }`,!1,s.loc,2)))}return un(f)};function un(s=[]){return{props:s}}var rv=/[\w).+\-_$\]]/,nv=(s,t)=>{$i("COMPILER_FILTERS",t)&&(s.type===5?Ol(s.content,t):s.type===1&&s.props.forEach(e=>{e.type===7&&e.name!=="for"&&e.exp&&Ol(e.exp,t)}))};function Ol(s,t){if(s.type===4)wy(s,t);else for(let e=0;e<s.children.length;e++){let i=s.children[e];typeof i=="object"&&(i.type===4?wy(i,t):i.type===8?Ol(s,t):i.type===5&&Ol(i.content,t))}}function wy(s,t){let e=s.content,i=!1,r=!1,n=!1,a=!1,o=0,l=0,c=0,u=0,p,h,f,m,d=[];for(f=0;f<e.length;f++)if(h=p,p=e.charCodeAt(f),i)p===39&&h!==92&&(i=!1);else if(r)p===34&&h!==92&&(r=!1);else if(n)p===96&&h!==92&&(n=!1);else if(a)p===47&&h!==92&&(a=!1);else if(p===124&&e.charCodeAt(f+1)!==124&&e.charCodeAt(f-1)!==124&&!o&&!l&&!c)m===void 0?(u=f+1,m=e.slice(0,f).trim()):A();else{switch(p){case 34:r=!0;break;case 39:i=!0;break;case 96:n=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:o++;break;case 125:o--;break}if(p===47){let y=f-1,S;for(;y>=0&&(S=e.charAt(y),S===" ");y--);(!S||!rv.test(S))&&(a=!0)}}m===void 0?m=e.slice(0,f).trim():u!==0&&A();function A(){d.push(e.slice(u,f).trim()),u=f+1}if(d.length){for(Ta("COMPILER_FILTERS",t,s.loc),f=0;f<d.length;f++)m=av(m,d[f],t);s.content=m,s.ast=void 0}}function av(s,t,e){e.helper(Bl);let i=t.indexOf("(");if(i<0)return e.filters.add(t),`${Ir(t,"filter")}(${s})`;{let r=t.slice(0,i),n=t.slice(i+1);return e.filters.add(r),`${Ir(r,"filter")}(${s}${n!==")"?","+n:n}`}}var Ly=new WeakSet,ov=(s,t)=>{if(s.type===1){let e=Rt(s,"memo");return!e||Ly.has(s)||t.inSSR?void 0:(Ly.add(s),()=>{let i=s.codegenNode||t.currentNode.codegenNode;i&&i.type===13&&(s.tagType!==1&&Wl(i,t),s.codegenNode=St(t.helper(Gl),[e.exp,br(void 0,i),"_cache",String(t.cached.length)]),t.cached.push(null))})}},LE=(s,t)=>{if(s.type===1){for(let e of s.props)if(e.type===7&&e.name==="bind"&&!e.exp&&e.arg){let i=e.arg;if(i.type!==4||!i.isStatic)t.onError(ye(53,i.loc)),e.exp=Z("",!0,i.loc);else{let r=k.camelize(i.content);(gh.test(r[0])||r[0]==="-")&&(e.exp=Z(r,!1,i.loc))}}}};function ME(s){return[[LE,iv,Xx,ov,Jx,nv,...s?[TE,yE]:[],tv,_E,bE,sv],{on:vE,bind:OE,model:wE}]}function lv(s,t={}){let e=t.onError||hh,i=t.mode==="module",r=t.prefixIdentifiers===!0||i;!r&&t.cacheHandlers&&e(ye(50)),t.scopeId&&!i&&e(ye(51));let n=k.extend({},t,{prefixIdentifiers:r}),a=k.isString(s)?aE(s,n):s,[o,l]=ME(r);if(t.isTS){let{expressionPlugins:c}=t;(!c||!c.includes("typescript"))&&(t.expressionPlugins=[...c||[],"typescript"])}return hE(a,k.extend({},n,{nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:k.extend({},l,t.directiveTransforms||{})})),fE(a,n)}var cv={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"},uv=()=>({props:[]});w.generateCodeFrame=k.generateCodeFrame;w.BASE_TRANSITION=nh;w.BindingTypes=cv;w.CAMELIZE=Il;w.CAPITALIZE=My;w.CREATE_BLOCK=ah;w.CREATE_COMMENT=En;w.CREATE_ELEMENT_BLOCK=oh;w.CREATE_ELEMENT_VNODE=Ml;w.CREATE_SLOTS=uh;w.CREATE_STATIC=lh;w.CREATE_TEXT=Dl;w.CREATE_VNODE=Ll;w.CompilerDeprecationTypes=zN;w.ConstantTypes=GN;w.ElementTypes=KN;w.ErrorCodes=ex;w.FRAGMENT=dn;w.GUARD_REACTIVE_PROPS=Sn;w.IS_MEMO_SAME=ph;w.IS_REF=ba;w.KEEP_ALIVE=Aa;w.MERGE_PROPS=ya;w.NORMALIZE_CLASS=$l;w.NORMALIZE_PROPS=mn;w.NORMALIZE_STYLE=jl;w.Namespaces=jN;w.NodeTypes=HN;w.OPEN_BLOCK=ji;w.POP_SCOPE_ID=Ry;w.PUSH_SCOPE_ID=Dy;w.RENDER_LIST=Vl;w.RENDER_SLOT=ch;w.RESOLVE_COMPONENT=ga;w.RESOLVE_DIRECTIVE=kl;w.RESOLVE_DYNAMIC_COMPONENT=Rl;w.RESOLVE_FILTER=Bl;w.SET_BLOCK_TRACKING=Ea;w.SUSPENSE=wl;w.TELEPORT=fn;w.TO_DISPLAY_STRING=Ul;w.TO_HANDLERS=Hl;w.TO_HANDLER_KEY=_l;w.TS_NODE_TYPES=mh;w.UNREF=Sa;w.WITH_CTX=Kl;w.WITH_DIRECTIVES=Fl;w.WITH_MEMO=Gl;w.advancePositionWithClone=zp;w.advancePositionWithMutation=Eh;w.assert=Zp;w.baseCompile=lv;w.baseParse=aE;w.buildDirectiveArgs=NE;w.buildProps=Ph;w.buildSlots=CE;w.checkCompatEnabled=gn;w.convertToBlock=Wl;w.createArrayExpression=Ui;w.createAssignmentExpression=QN;w.createBlockStatement=Fy;w.createCacheExpression=By;w.createCallExpression=St;w.createCompilerError=ye;w.createCompoundExpression=is;w.createConditionalExpression=Pl;w.createForLoopParams=vl;w.createFunctionExpression=br;w.createIfStatement=qN;w.createInterpolation=WN;w.createObjectExpression=rs;w.createObjectProperty=tt;w.createReturnStatement=YN;w.createRoot=ky;w.createSequenceExpression=JN;w.createSimpleExpression=Z;w.createStructuralDirectiveTransform=Ch;w.createTemplateLiteral=XN;w.createTransformContext=pE;w.createVNodeCall=An;w.errorMessages=Uy;w.extractIdentifiers=Is;w.findDir=Rt;w.findProp=Ca;w.forAliasRE=tE;w.generate=fE;w.getBaseTransformPreset=ME;w.getConstantType=ns;w.getMemoedVNodeCall=eE;w.getVNodeBlockHelper=Cr;w.getVNodeHelper=Tr;w.hasDynamicKeyVBind=lx;w.hasScopeRef=Pt;w.helperNameMap=Vt;w.injectProp=_a;w.isAllWhitespace=Sh;w.isCommentOrWhitespace=bh;w.isCoreComponent=Ah;w.isFnExpression=zy;w.isFnExpressionBrowser=ox;w.isFnExpressionNode=Yy;w.isFunctionType=qy;w.isInDestructureAssignment=xl;w.isInNewExpression=Hy;w.isMemberExpression=yh;w.isMemberExpressionBrowser=nx;w.isMemberExpressionNode=Jy;w.isReferencedIdentifier=jy;w.isSimpleIdentifier=pi;w.isSlotOutlet=Ia;w.isStaticArgOf=Vi;w.isStaticExp=_s;w.isStaticProperty=dh;w.isStaticPropertyKey=Qy;w.isTemplateNode=yn;w.isText=yl;w.isVPre=eh;w.isVSlot=Ql;w.isWhitespaceText=Jl;w.locStub=st;w.noopDirectiveTransform=uv;w.processExpression=xt;w.processFor=SE;w.processIf=EE;w.processSlotOutlet=xE;w.registerRuntimeHelpers=$N;w.resolveComponentType=PE;w.stringifyExpression=Ih;w.toValidAssetId=Ir;w.trackSlotScopes=bE;w.trackVForSlotScopes=TE;w.transform=hE;w.transformBind=OE;w.transformElement=_E;w.transformExpression=yE;w.transformModel=wE;w.transformOn=vE;w.transformVBindShorthand=LE;w.traverseNode=Na;w.unwrapTSNode=Xl;w.validFirstIdentCharRE=gh;w.walkBlockDeclarations=fh;w.walkFunctionParams=Ky;w.walkIdentifiers=$y;w.warnDeprecation=Ta});var xh=D((uF,Nh)=>{"use strict";process.env.NODE_ENV==="production"?Nh.exports=dy():Nh.exports=DE()});var jE=D(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});var oe=xh(),le=at(),vh=Symbol(""),Oh=Symbol(""),wh=Symbol(""),Lh=Symbol(""),Zl=Symbol(""),Mh=Symbol(""),Dh=Symbol(""),Rh=Symbol(""),kh=Symbol(""),Bh=Symbol("");oe.registerRuntimeHelpers({[vh]:"vModelRadio",[Oh]:"vModelCheckbox",[wh]:"vModelText",[Lh]:"vModelSelect",[Zl]:"vModelDynamic",[Mh]:"withModifiers",[Dh]:"withKeys",[Rh]:"vShow",[kh]:"Transition",[Bh]:"TransitionGroup"});var Fh={parseMode:"html",isVoidTag:le.isVoidTag,isNativeTag:s=>le.isHTMLTag(s)||le.isSVGTag(s)||le.isMathMLTag(s),isPreTag:s=>s==="pre",isIgnoreNewlineTag:s=>s==="pre"||s==="textarea",decodeEntities:void 0,isBuiltInComponent:s=>{if(s==="Transition"||s==="transition")return kh;if(s==="TransitionGroup"||s==="transition-group")return Bh},getNamespace(s,t,e){let i=t?t.ns:e;if(t&&i===2)if(t.tag==="annotation-xml"){if(s==="svg")return 1;t.props.some(r=>r.type===6&&r.name==="encoding"&&r.value!=null&&(r.value.content==="text/html"||r.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&s!=="mglyph"&&s!=="malignmark"&&(i=0);else t&&i===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(i=0);if(i===0){if(s==="svg")return 1;if(s==="math")return 2}return i}},BE=s=>{s.type===1&&s.props.forEach((t,e)=>{t.type===6&&t.name==="style"&&t.value&&(s.props[e]={type:7,name:"bind",arg:oe.createSimpleExpression("style",!0,t.loc),exp:pv(t.value.content,t.loc),modifiers:[],loc:t.loc})})},pv=(s,t)=>{let e=le.parseStringStyle(s);return oe.createSimpleExpression(JSON.stringify(e),!1,t,3)};function hi(s,t){return oe.createCompilerError(s,t,FE)}var hv={X_V_HTML_NO_EXPRESSION:54,54:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:55,55:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:56,56:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:57,57:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:58,58:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:59,59:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:61,61:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:62,62:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:63,63:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:64,64:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:65,65:"__EXTEND_POINT__"},FE={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},fv=(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(hi(54,r)),t.children.length&&(e.onError(hi(55,r)),t.children.length=0),{props:[oe.createObjectProperty(oe.createSimpleExpression("innerHTML",!0,r),i||oe.createSimpleExpression("",!0))]}},dv=(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(hi(56,r)),t.children.length&&(e.onError(hi(57,r)),t.children.length=0),{props:[oe.createObjectProperty(oe.createSimpleExpression("textContent",!0),i?oe.getConstantType(i,e)>0?i:oe.createCallExpression(e.helperString(oe.TO_DISPLAY_STRING),[i],r):oe.createSimpleExpression("",!0))]}},mv=(s,t,e)=>{let i=oe.transformModel(s,t,e);if(!i.props.length||t.tagType===1)return i;s.arg&&e.onError(hi(59,s.arg.loc));let{tag:r}=t,n=e.isCustomElement(r);if(r==="input"||r==="textarea"||r==="select"||n){let a=wh,o=!1;if(r==="input"||n){let l=oe.findProp(t,"type");if(l){if(l.type===7)a=Zl;else if(l.value)switch(l.value.content){case"radio":a=vh;break;case"checkbox":a=Oh;break;case"file":o=!0,e.onError(hi(60,s.loc));break}}else oe.hasDynamicKeyVBind(t)&&(a=Zl)}else r==="select"&&(a=Lh);o||(i.needRuntime=e.helper(a))}else e.onError(hi(58,s.loc));return i.props=i.props.filter(a=>!(a.key.type===4&&a.key.content==="modelValue")),i},Av=le.makeMap("passive,once,capture"),gv=le.makeMap("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),yv=le.makeMap("left,right"),VE=le.makeMap("onkeyup,onkeydown,onkeypress"),Ev=(s,t,e,i)=>{let r=[],n=[],a=[];for(let o=0;o<t.length;o++){let l=t[o].content;l==="native"&&oe.checkCompatEnabled("COMPILER_V_ON_NATIVE",e,i)||Av(l)?a.push(l):yv(l)?oe.isStaticExp(s)?VE(s.content.toLowerCase())?r.push(l):n.push(l):(r.push(l),n.push(l)):gv(l)?n.push(l):r.push(l)}return{keyModifiers:r,nonKeyModifiers:n,eventOptionModifiers:a}},RE=(s,t)=>oe.isStaticExp(s)&&s.content.toLowerCase()==="onclick"?oe.createSimpleExpression(t,!0):s.type!==4?oe.createCompoundExpression(["(",s,`) === "onClick" ? "${t}" : (`,s,")"]):s,Sv=(s,t,e)=>oe.transformOn(s,t,e,i=>{let{modifiers:r}=s;if(!r.length)return i;let{key:n,value:a}=i.props[0],{keyModifiers:o,nonKeyModifiers:l,eventOptionModifiers:c}=Ev(n,r,e,s.loc);if(l.includes("right")&&(n=RE(n,"onContextmenu")),l.includes("middle")&&(n=RE(n,"onMouseup")),l.length&&(a=oe.createCallExpression(e.helper(Mh),[a,JSON.stringify(l)])),o.length&&(!oe.isStaticExp(n)||VE(n.content.toLowerCase()))&&(a=oe.createCallExpression(e.helper(Dh),[a,JSON.stringify(o)])),c.length){let u=c.map(le.capitalize).join("");n=oe.isStaticExp(n)?oe.createSimpleExpression(`${n.content}${u}`,!0):oe.createCompoundExpression(["(",n,`) + "${u}"`])}return{props:[oe.createObjectProperty(n,a)]}}),bv=(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(hi(62,r)),{props:[],needRuntime:e.helper(Rh)}},Tv=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,Cv=(s,t,e)=>{if(t.scopes.vSlot>0)return;let i=e.type===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!le.isArray(e.codegenNode.children)&&e.codegenNode.children.type===20,r=0,n=0,a=[],o=c=>{if(r>=20||n>=5){let u=oe.createCallExpression(t.helper(oe.CREATE_STATIC),[JSON.stringify(a.map(h=>Vh(h,t)).join("")).replace(Tv,'" + $1 + "'),String(a.length)]),p=a.length-1;if(i)s.splice(c-a.length,a.length,u);else if(a[0].codegenNode.value=u,a.length>1){s.splice(c-a.length+1,p);let h=t.cached.indexOf(a[a.length-1].codegenNode);if(h>-1){for(let f=h;f<t.cached.length;f++){let m=t.cached[f];m&&(m.index-=p)}t.cached.splice(h-p+1,p)}}return p}return 0},l=0;for(;l<s.length;l++){let c=s[l];if(i||Iv(c)){let p=Nv(c);if(p){r+=p[0],n+=p[1],a.push(c);continue}}l-=o(l),r=0,n=0,a.length=0}o(l)},Iv=s=>{if((s.type===1&&s.tagType===0||s.type===12)&&s.codegenNode&&s.codegenNode.type===20)return s.codegenNode},_v=/^(?:data|aria)-/,kE=(s,t)=>(t===0?le.isKnownHtmlAttr(s):t===1?le.isKnownSvgAttr(s):t===2?le.isKnownMathMLAttr(s):!1)||_v.test(s),Pv=le.makeMap("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function Nv(s){if(s.type===1&&Pv(s.tag)||s.type===1&&oe.findDir(s,"once",!0))return!1;if(s.type===12)return[1,0];let t=1,e=s.props.length>0?1:0,i=!1,r=()=>(i=!0,!1);function n(a){let o=a.tag==="option"&&a.ns===0;for(let l=0;l<a.props.length;l++){let c=a.props[l];if(c.type===6&&!kE(c.name,a.ns)||c.type===7&&c.name==="bind"&&(c.arg&&(c.arg.type===8||c.arg.isStatic&&!kE(c.arg.content,a.ns))||c.exp&&(c.exp.type===8||c.exp.constType<3)||o&&oe.isStaticArgOf(c.arg,"value")&&c.exp&&!c.exp.isStatic))return r()}for(let l=0;l<a.children.length;l++){t++;let c=a.children[l];if(c.type===1&&(c.props.length>0&&e++,n(c),i))return!1}return!0}return n(s)?[t,e]:!1}function Vh(s,t){if(le.isString(s))return s;if(le.isSymbol(s))return"";switch(s.type){case 1:return xv(s,t);case 2:return le.escapeHtml(s.content);case 3:return`<!--${le.escapeHtml(s.content)}-->`;case 5:return le.escapeHtml(le.toDisplayString(_r(s.content)));case 8:return le.escapeHtml(_r(s));case 12:return Vh(s.content,t);default:return""}}function xv(s,t){let e=`<${s.tag}`,i="";for(let r=0;r<s.props.length;r++){let n=s.props[r];if(n.type===6)e+=` ${n.name}`,n.value&&(e+=`="${le.escapeHtml(n.value.content)}"`);else if(n.type===7)if(n.name==="bind"){let a=n.exp;if(a.content[0]==="_"){e+=` ${n.arg.content}="__VUE_EXP_START__${a.content}__VUE_EXP_END__"`;continue}if(le.isBooleanAttr(n.arg.content)&&a.content==="false")continue;let o=_r(a);if(o!=null){let l=n.arg&&n.arg.content;l==="class"?o=le.normalizeClass(o):l==="style"&&(o=le.stringifyStyle(le.normalizeStyle(o))),e+=` ${n.arg.content}="${le.escapeHtml(o)}"`}}else n.name==="html"?i=_r(n.exp):n.name==="text"&&(i=le.escapeHtml(le.toDisplayString(_r(n.exp))))}if(t.scopeId&&(e+=` ${t.scopeId}`),e+=">",i)e+=i;else for(let r=0;r<s.children.length;r++)e+=Vh(s.children[r],t);return le.isVoidTag(s.tag)||(e+=`</${s.tag}>`),e}function _r(s){if(s.type===4)return new Function(`return (${s.content})`)();{let t="";return s.children.forEach(e=>{le.isString(e)||le.isSymbol(e)||(e.type===2?t+=e.content:e.type===5?t+=le.toDisplayString(_r(e.content)):t+=_r(e))}),t}}var vv=(s,t)=>{s.type===1&&s.tagType===0&&(s.tag==="script"||s.tag==="style")&&t.removeNode()},UE=[BE],$E={cloak:oe.noopDirectiveTransform,html:fv,text:dv,model:mv,on:Sv,show:bv};function Ov(s,t={}){return oe.baseCompile(s,le.extend({},Fh,t,{nodeTransforms:[vv,...UE,...t.nodeTransforms||[]],directiveTransforms:le.extend({},$E,t.directiveTransforms||{}),transformHoist:Cv}))}function wv(s,t={}){return oe.baseParse(s,le.extend({},Fh,t))}Be.DOMDirectiveTransforms=$E;Be.DOMErrorCodes=hv;Be.DOMErrorMessages=FE;Be.DOMNodeTransforms=UE;Be.TRANSITION=kh;Be.TRANSITION_GROUP=Bh;Be.V_MODEL_CHECKBOX=Oh;Be.V_MODEL_DYNAMIC=Zl;Be.V_MODEL_RADIO=vh;Be.V_MODEL_SELECT=Lh;Be.V_MODEL_TEXT=wh;Be.V_ON_WITH_KEYS=Dh;Be.V_ON_WITH_MODIFIERS=Mh;Be.V_SHOW=Rh;Be.compile=Ov;Be.createDOMCompilerError=hi;Be.parse=wv;Be.parserOptions=Fh;Be.transformStyle=BE;Object.keys(oe).forEach(function(s){s!=="default"&&!Object.prototype.hasOwnProperty.call(Be,s)&&(Be[s]=oe[s])})});var tS=D(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});var ee=xh(),ce=at(),Uh=Symbol("vModelRadio"),$h=Symbol("vModelCheckbox"),jh=Symbol("vModelText"),Hh=Symbol("vModelSelect"),ec=Symbol("vModelDynamic"),Kh=Symbol("vOnModifiersGuard"),Gh=Symbol("vOnKeysGuard"),Wh=Symbol("vShow"),tc=Symbol("Transition"),Xh=Symbol("TransitionGroup");ee.registerRuntimeHelpers({[Uh]:"vModelRadio",[$h]:"vModelCheckbox",[jh]:"vModelText",[Hh]:"vModelSelect",[ec]:"vModelDynamic",[Kh]:"withModifiers",[Gh]:"withKeys",[Wh]:"vShow",[tc]:"Transition",[Xh]:"TransitionGroup"});var qh={parseMode:"html",isVoidTag:ce.isVoidTag,isNativeTag:s=>ce.isHTMLTag(s)||ce.isSVGTag(s)||ce.isMathMLTag(s),isPreTag:s=>s==="pre",isIgnoreNewlineTag:s=>s==="pre"||s==="textarea",decodeEntities:void 0,isBuiltInComponent:s=>{if(s==="Transition"||s==="transition")return tc;if(s==="TransitionGroup"||s==="transition-group")return Xh},getNamespace(s,t,e){let i=t?t.ns:e;if(t&&i===2)if(t.tag==="annotation-xml"){if(s==="svg")return 1;t.props.some(r=>r.type===6&&r.name==="encoding"&&r.value!=null&&(r.value.content==="text/html"||r.value.content==="application/xhtml+xml"))&&(i=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&s!=="mglyph"&&s!=="malignmark"&&(i=0);else t&&i===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(i=0);if(i===0){if(s==="svg")return 1;if(s==="math")return 2}return i}},QE=s=>{s.type===1&&s.props.forEach((t,e)=>{t.type===6&&t.name==="style"&&t.value&&(s.props[e]={type:7,name:"bind",arg:ee.createSimpleExpression("style",!0,t.loc),exp:Lv(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Lv=(s,t)=>{let e=ce.parseStringStyle(s);return ee.createSimpleExpression(JSON.stringify(e),!1,t,3)};function ms(s,t){return ee.createCompilerError(s,t,JE)}var Mv={X_V_HTML_NO_EXPRESSION:54,54:"X_V_HTML_NO_EXPRESSION",X_V_HTML_WITH_CHILDREN:55,55:"X_V_HTML_WITH_CHILDREN",X_V_TEXT_NO_EXPRESSION:56,56:"X_V_TEXT_NO_EXPRESSION",X_V_TEXT_WITH_CHILDREN:57,57:"X_V_TEXT_WITH_CHILDREN",X_V_MODEL_ON_INVALID_ELEMENT:58,58:"X_V_MODEL_ON_INVALID_ELEMENT",X_V_MODEL_ARG_ON_ELEMENT:59,59:"X_V_MODEL_ARG_ON_ELEMENT",X_V_MODEL_ON_FILE_INPUT_ELEMENT:60,60:"X_V_MODEL_ON_FILE_INPUT_ELEMENT",X_V_MODEL_UNNECESSARY_VALUE:61,61:"X_V_MODEL_UNNECESSARY_VALUE",X_V_SHOW_NO_EXPRESSION:62,62:"X_V_SHOW_NO_EXPRESSION",X_TRANSITION_INVALID_CHILDREN:63,63:"X_TRANSITION_INVALID_CHILDREN",X_IGNORED_SIDE_EFFECT_TAG:64,64:"X_IGNORED_SIDE_EFFECT_TAG",__EXTEND_POINT__:65,65:"__EXTEND_POINT__"},JE={54:"v-html is missing expression.",55:"v-html will override element children.",56:"v-text is missing expression.",57:"v-text will override element children.",58:"v-model can only be used on <input>, <textarea> and <select> elements.",59:"v-model argument is not supported on plain elements.",60:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",61:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",62:"v-show is missing expression.",63:"<Transition> expects exactly one child element or component.",64:"Tags with side effect (<script> and <style>) are ignored in client component templates."},Dv=(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(ms(54,r)),t.children.length&&(e.onError(ms(55,r)),t.children.length=0),{props:[ee.createObjectProperty(ee.createSimpleExpression("innerHTML",!0,r),i||ee.createSimpleExpression("",!0))]}},Rv=(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(ms(56,r)),t.children.length&&(e.onError(ms(57,r)),t.children.length=0),{props:[ee.createObjectProperty(ee.createSimpleExpression("textContent",!0),i?ee.getConstantType(i,e)>0?i:ee.createCallExpression(e.helperString(ee.TO_DISPLAY_STRING),[i],r):ee.createSimpleExpression("",!0))]}},kv=(s,t,e)=>{let i=ee.transformModel(s,t,e);if(!i.props.length||t.tagType===1)return i;s.arg&&e.onError(ms(59,s.arg.loc));function r(){let o=ee.findDir(t,"bind");o&&ee.isStaticArgOf(o.arg,"value")&&e.onError(ms(61,o.loc))}let{tag:n}=t,a=e.isCustomElement(n);if(n==="input"||n==="textarea"||n==="select"||a){let o=jh,l=!1;if(n==="input"||a){let c=ee.findProp(t,"type");if(c){if(c.type===7)o=ec;else if(c.value)switch(c.value.content){case"radio":o=Uh;break;case"checkbox":o=$h;break;case"file":l=!0,e.onError(ms(60,s.loc));break;default:r();break}}else ee.hasDynamicKeyVBind(t)?o=ec:r()}else n==="select"?o=Hh:r();l||(i.needRuntime=e.helper(o))}else e.onError(ms(58,s.loc));return i.props=i.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),i},Bv=ce.makeMap("passive,once,capture"),Fv=ce.makeMap("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Vv=ce.makeMap("left,right"),YE=ce.makeMap("onkeyup,onkeydown,onkeypress"),Uv=(s,t,e,i)=>{let r=[],n=[],a=[];for(let o=0;o<t.length;o++){let l=t[o].content;l==="native"&&ee.checkCompatEnabled("COMPILER_V_ON_NATIVE",e,i)||Bv(l)?a.push(l):Vv(l)?ee.isStaticExp(s)?YE(s.content.toLowerCase())?r.push(l):n.push(l):(r.push(l),n.push(l)):Fv(l)?n.push(l):r.push(l)}return{keyModifiers:r,nonKeyModifiers:n,eventOptionModifiers:a}},HE=(s,t)=>ee.isStaticExp(s)&&s.content.toLowerCase()==="onclick"?ee.createSimpleExpression(t,!0):s.type!==4?ee.createCompoundExpression(["(",s,`) === "onClick" ? "${t}" : (`,s,")"]):s,$v=(s,t,e)=>ee.transformOn(s,t,e,i=>{let{modifiers:r}=s;if(!r.length)return i;let{key:n,value:a}=i.props[0],{keyModifiers:o,nonKeyModifiers:l,eventOptionModifiers:c}=Uv(n,r,e,s.loc);if(l.includes("right")&&(n=HE(n,"onContextmenu")),l.includes("middle")&&(n=HE(n,"onMouseup")),l.length&&(a=ee.createCallExpression(e.helper(Kh),[a,JSON.stringify(l)])),o.length&&(!ee.isStaticExp(n)||YE(n.content.toLowerCase()))&&(a=ee.createCallExpression(e.helper(Gh),[a,JSON.stringify(o)])),c.length){let u=c.map(ce.capitalize).join("");n=ee.isStaticExp(n)?ee.createSimpleExpression(`${n.content}${u}`,!0):ee.createCompoundExpression(["(",n,`) + "${u}"`])}return{props:[ee.createObjectProperty(n,a)]}}),jv=(s,t,e)=>{let{exp:i,loc:r}=s;return i||e.onError(ms(62,r)),{props:[],needRuntime:e.helper(Wh)}},Hv=(s,t)=>{if(s.type===1&&s.tagType===1&&t.isBuiltInComponent(s.tag)===tc)return()=>{if(!s.children.length)return;zE(s)&&t.onError(ms(63,{start:s.children[0].loc.start,end:s.children[s.children.length-1].loc.end,source:""}));let i=s.children[0];if(i.type===1)for(let r of i.props)r.type===7&&r.name==="show"&&s.props.push({type:6,name:"persisted",nameLoc:s.loc,value:void 0,loc:s.loc})}};function zE(s){let t=s.children=s.children.filter(i=>!ee.isCommentOrWhitespace(i)),e=t[0];return t.length!==1||e.type===11||e.type===9&&e.branches.some(zE)}var Kv=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,Gv=(s,t,e)=>{if(t.scopes.vSlot>0)return;let i=e.type===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!ce.isArray(e.codegenNode.children)&&e.codegenNode.children.type===20,r=0,n=0,a=[],o=c=>{if(r>=20||n>=5){let u=ee.createCallExpression(t.helper(ee.CREATE_STATIC),[JSON.stringify(a.map(h=>Qh(h,t)).join("")).replace(Kv,'" + $1 + "'),String(a.length)]),p=a.length-1;if(i)s.splice(c-a.length,a.length,u);else if(a[0].codegenNode.value=u,a.length>1){s.splice(c-a.length+1,p);let h=t.cached.indexOf(a[a.length-1].codegenNode);if(h>-1){for(let f=h;f<t.cached.length;f++){let m=t.cached[f];m&&(m.index-=p)}t.cached.splice(h-p+1,p)}}return p}return 0},l=0;for(;l<s.length;l++){let c=s[l];if(i||Wv(c)){let p=Qv(c);if(p){r+=p[0],n+=p[1],a.push(c);continue}}l-=o(l),r=0,n=0,a.length=0}o(l)},Wv=s=>{if((s.type===1&&s.tagType===0||s.type===12)&&s.codegenNode&&s.codegenNode.type===20)return s.codegenNode},Xv=/^(?:data|aria)-/,KE=(s,t)=>(t===0?ce.isKnownHtmlAttr(s):t===1?ce.isKnownSvgAttr(s):t===2?ce.isKnownMathMLAttr(s):!1)||Xv.test(s),qv=ce.makeMap("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function Qv(s){if(s.type===1&&qv(s.tag)||s.type===1&&ee.findDir(s,"once",!0))return!1;if(s.type===12)return[1,0];let t=1,e=s.props.length>0?1:0,i=!1,r=()=>(i=!0,!1);function n(a){let o=a.tag==="option"&&a.ns===0;for(let l=0;l<a.props.length;l++){let c=a.props[l];if(c.type===6&&!KE(c.name,a.ns)||c.type===7&&c.name==="bind"&&(c.arg&&(c.arg.type===8||c.arg.isStatic&&!KE(c.arg.content,a.ns))||c.exp&&(c.exp.type===8||c.exp.constType<3)||o&&ee.isStaticArgOf(c.arg,"value")&&c.exp&&!c.exp.isStatic))return r()}for(let l=0;l<a.children.length;l++){t++;let c=a.children[l];if(c.type===1&&(c.props.length>0&&e++,n(c),i))return!1}return!0}return n(s)?[t,e]:!1}function Qh(s,t){if(ce.isString(s))return s;if(ce.isSymbol(s))return"";switch(s.type){case 1:return Jv(s,t);case 2:return ce.escapeHtml(s.content);case 3:return`<!--${ce.escapeHtml(s.content)}-->`;case 5:return ce.escapeHtml(ce.toDisplayString(Nr(s.content)));case 8:return ce.escapeHtml(Nr(s));case 12:return Qh(s.content,t);default:return""}}function Jv(s,t){let e=`<${s.tag}`,i="";for(let r=0;r<s.props.length;r++){let n=s.props[r];if(n.type===6)e+=` ${n.name}`,n.value&&(e+=`="${ce.escapeHtml(n.value.content)}"`);else if(n.type===7)if(n.name==="bind"){let a=n.exp;if(a.content[0]==="_"){e+=` ${n.arg.content}="__VUE_EXP_START__${a.content}__VUE_EXP_END__"`;continue}if(ce.isBooleanAttr(n.arg.content)&&a.content==="false")continue;let o=Nr(a);if(o!=null){let l=n.arg&&n.arg.content;l==="class"?o=ce.normalizeClass(o):l==="style"&&(o=ce.stringifyStyle(ce.normalizeStyle(o))),e+=` ${n.arg.content}="${ce.escapeHtml(o)}"`}}else n.name==="html"?i=Nr(n.exp):n.name==="text"&&(i=ce.escapeHtml(ce.toDisplayString(Nr(n.exp))))}if(t.scopeId&&(e+=` ${t.scopeId}`),e+=">",i)e+=i;else for(let r=0;r<s.children.length;r++)e+=Qh(s.children[r],t);return ce.isVoidTag(s.tag)||(e+=`</${s.tag}>`),e}function Nr(s){if(s.type===4)return new Function(`return (${s.content})`)();{let t="";return s.children.forEach(e=>{ce.isString(e)||ce.isSymbol(e)||(e.type===2?t+=e.content:e.type===5?t+=ce.toDisplayString(Nr(e.content)):t+=Nr(e))}),t}}var Yv=(s,t)=>{s.type===1&&s.tagType===0&&(s.tag==="script"||s.tag==="style")&&(t.onError(ms(64,s.loc)),t.removeNode())};function zv(s,t){return s==="template"?!0:s in GE?GE[s].has(t):t in WE?WE[t].has(s):!(s in XE&&XE[s].has(t)||t in qE&&qE[t].has(s))}var Tn=new Set(["h1","h2","h3","h4","h5","h6"]),Pr=new Set([]),GE={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:Pr,iframe:Pr,option:Pr,textarea:Pr,style:Pr,title:Pr},WE={html:Pr,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"])},XE={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"])},qE={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:Tn,h2:Tn,h3:Tn,h4:Tn,h5:Tn,h6:Tn},Zv=(s,t)=>{if(s.type===1&&s.tagType===0&&t.parent&&t.parent.type===1&&t.parent.tagType===0&&!zv(t.parent.tag,s.tag)){let e=new SyntaxError(`<${s.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);e.loc=s.loc,t.onWarn(e)}},ZE=[QE,Hv,Zv],eS={cloak:ee.noopDirectiveTransform,html:Dv,text:Rv,model:kv,on:$v,show:jv};function eO(s,t={}){return ee.baseCompile(s,ce.extend({},qh,t,{nodeTransforms:[Yv,...ZE,...t.nodeTransforms||[]],directiveTransforms:ce.extend({},eS,t.directiveTransforms||{}),transformHoist:Gv}))}function tO(s,t={}){return ee.baseParse(s,ce.extend({},qh,t))}Fe.DOMDirectiveTransforms=eS;Fe.DOMErrorCodes=Mv;Fe.DOMErrorMessages=JE;Fe.DOMNodeTransforms=ZE;Fe.TRANSITION=tc;Fe.TRANSITION_GROUP=Xh;Fe.V_MODEL_CHECKBOX=$h;Fe.V_MODEL_DYNAMIC=ec;Fe.V_MODEL_RADIO=Uh;Fe.V_MODEL_SELECT=Hh;Fe.V_MODEL_TEXT=jh;Fe.V_ON_WITH_KEYS=Gh;Fe.V_ON_WITH_MODIFIERS=Kh;Fe.V_SHOW=Wh;Fe.compile=eO;Fe.createDOMCompilerError=ms;Fe.parse=tO;Fe.parserOptions=qh;Fe.transformStyle=QE;Object.keys(ee).forEach(function(s){s!=="default"&&!Object.prototype.hasOwnProperty.call(Fe,s)&&(Fe[s]=ee[s])})});var Ve=D((fF,Jh)=>{"use strict";process.env.NODE_ENV==="production"?Jh.exports=jE():Jh.exports=tS()});var Yh=D(fi=>{"use strict";var sO=fi&&fi.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),iO=fi&&fi.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),rO=fi&&fi.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&sO(e,t,i[r]);return iO(e,t),e}})();Object.defineProperty(fi,"__esModule",{value:!0});fi.createTemplateCodegenContext=lO;var nO=rO(Ve()),aO=$e(),xr=_e(),sS=ft(),oO=/^<!--\s*@vue-(?<name>[-\w]+)\b(?<content>[\s\S]*)-->$/;function lO(){let s=0,t=[],e=[],i=new Map,r=new Set,n=new Map,a=[],o=[],l=[],c=[],u=new Set,p=new Map,h=[],f=[];return{generatedTypes:new Set,get currentInfo(){return h[h.length-1]},resolveCodeFeatures:d,inVFor:!1,slots:a,dynamicSlots:o,dollarVars:r,componentAccessMap:n,blockConditions:l,inlayHints:c,inheritedAttrVars:u,templateRefs:p,singleRootElTypes:new Set,singleRootNodes:new Set,addTemplateRef(A,y,S){let P=p.get(A);P||p.set(A,P=[]),P.push({typeExp:y,offset:S})},recordComponentAccess(A,y,S){let P=n.get(y);P||n.set(y,P=new Map);let x=P.get(A);x||P.set(A,x=new Set),S!==void 0&&x.add(S)},scopes:t,components:e,declare(...A){let y=t.at(-1);for(let S of A)y.add(S)},startScope(){let A=new Set;return t.push(A),()=>(t.pop(),m())},getInternalVariable(){return`__VLS_${s++}`},getHoistVariable(A){let y=i.get(A);return y===void 0&&i.set(A,y=`__VLS_${s++}`),y},*generateHoistVariables(){if(i.size){yield`// @ts-ignore${xr.newLine}`,yield"var ";for(let[A,y]of i)yield`${y} = ${A}, `;yield xr.endOfLine}},*generateConditionGuards(){for(let A of l)yield`if (!${A}) return${xr.endOfLine}`},enter(A){if(A.type===nO.NodeTypes.COMMENT)return f.push(A),!1;let y={},S=[...f];f.length=0;for(let P of S){let x=P.loc.source.match(oO);if(x){let{name:v,content:L}=x.groups;switch(v){case"skip":return!1;case"ignore":{y.ignoreError=!0;break}case"expect-error":{y.expectError={token:0,node:P};break}case"generic":{let R=L.trim();R.startsWith("{")&&R.endsWith("}")&&(y.generic={content:R.slice(1,-1),offset:P.loc.start.offset+P.loc.source.indexOf("{")+1});break}}}}return h.push(y),!0},*exit(){let A=h.pop();if(f.length=0,A.expectError!==void 0){let y=yield*(0,sS.startBoundary)("template",A.expectError.node.loc.start.offset,{verification:{shouldReport:()=>A.expectError.token===0}});yield"// @ts-expect-error",yield(0,sS.endBoundary)(y,A.expectError.node.loc.end.offset),yield`${xr.newLine}${xr.endOfLine}`}}};function*m(){let A=[...n.entries()];if(A.some(([,y])=>y.size)){yield`// @ts-ignore${xr.newLine}`,yield"[";for(let[y,S]of A)for(let[P,x]of S){for(let v of x)yield[y,P,v,aO.codeFeatures.importCompletionOnly],yield",";x.clear()}yield`]${xr.endOfLine}`}}function d(A){if(A.verification&&h.length){let y=h[h.length-1];if(y.ignoreError)return{...A,verification:!1};if(y.expectError!==void 0)return{...A,verification:{shouldReport:(S,P)=>((typeof A.verification!="object"||!A.verification.shouldReport||A.verification.shouldReport(S,P)===!0)&&y.expectError.token++,!1)}}}return A}}});var vr=D(zh=>{"use strict";Object.defineProperty(zh,"__esModule",{value:!0});zh.generateCamelized=uO;var cO=at();function*uO(s,t,e,i){let r=s.split("-"),n=i.__combineToken??Symbol();for(let a=0;a<r.length;a++){let o=r[a];o!==""&&(a===0?yield[o,t,e,{...i,__combineToken:n}]:yield[(0,cO.capitalize)(o),t,e,{__combineToken:n}]),e+=o.length+1}}});var xa=D(Zh=>{"use strict";Object.defineProperty(Zh,"__esModule",{value:!0});Zh.generateStringLiteralKey=pO;var iS=ft();function*pO(s,t,e){if(t===void 0||!e)yield`'${s}'`;else{let i=yield*(0,iS.startBoundary)("template",t,e);yield"'",yield[s,"template",t,{__combineToken:i}],yield"'",yield(0,iS.endBoundary)(i,t+s.length)}}});var Ut=D(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di.hyphenateTag=void 0;di.hyphenateAttr=dO;di.normalizeAttributeValue=mO;di.getElementTagOffsets=AO;di.getStartEnd=rS;di.getNodeText=gO;var hO=at(),fO=at();Object.defineProperty(di,"hyphenateTag",{enumerable:!0,get:function(){return fO.hyphenate}});function dO(s){let t=(0,hO.hyphenate)(s);return s.length&&s[0]!==s[0].toLowerCase()&&(t="-"+t),t}function mO(s){let{source:t,start:e}=s.loc;return t.startsWith('"')&&t.endsWith('"')||t.startsWith("'")&&t.endsWith("'")?[t.slice(1,-1),e.offset+1]:[t,e.offset]}function AO(s,t){let e=[t.content.indexOf(s.tag,s.loc.start.offset)];if(!s.isSelfClosing&&t.lang==="html"){let i=s.loc.start.offset+s.loc.source.lastIndexOf(s.tag);i>e[0]&&e.push(i)}return e}function rS(s,t,e){return{node:t,start:s.getTokenPosOfNode(t,e),end:t.end}}function gO(s,t,e){let{start:i,end:r}=rS(s,t,e);return e.text.slice(i,r)}});var Or=D(Oa=>{"use strict";Object.defineProperty(Oa,"__esModule",{value:!0});Oa.collectBindingNames=yO;Oa.collectBindingRanges=EO;Oa.collectBindingIdentifiers=va;var nS=Ut();function yO(s,t,e){return va(s,t).map(({id:i})=>(0,nS.getNodeText)(s,i,e))}function EO(s,t,e){return va(s,t).map(({id:i})=>(0,nS.getStartEnd)(s,i,e))}function va(s,t,e=[],i=!1,r=void 0){if(s.isIdentifier(t))e.push({id:t,isRest:i,initializer:r});else if(s.isArrayBindingPattern(t)||s.isObjectBindingPattern(t))for(let n of t.elements)s.isBindingElement(n)&&va(s,n.name,e,!!n.dotDotDotToken,n.initializer);else s.forEachChild(t,n=>va(s,n,e,!1));return e}});var as=D(sc=>{"use strict";Object.defineProperty(sc,"__esModule",{value:!0});sc.generateInterpolation=TO;sc.shouldIdentifierSkipped=tf;var uS=at(),pS=Or(),aS=Ut(),SO=$e(),oS=nt(),wa=_e(),lS=ft(),bO=(0,uS.makeMap)("true,false,null,this");function*TO({typescript:s,setupRefs:t},e,i,r,n,a,o="",l=""){o&&(yield o);let c=0;for(let[u,p,h]of CO(s,e,i,n,o,l)){if(h?(yield[n.slice(c,p+u.length),i.name,a+c,r],yield": "):c<p&&(yield[n.slice(c,p),i.name,a+c,r]),t.has(u))yield[u,i.name,a+p,r],yield".value";else{let f=yield*(0,lS.startBoundary)(i.name,a+p,SO.codeFeatures.verification);e.dollarVars.has(u)?yield oS.names.dollars:(e.recordComponentAccess(i.name,u,a+p),yield oS.names.ctx),yield".",yield[u,i.name,a+p,h?{...r,__shorthandExpression:"js"}:r],yield(0,lS.endBoundary)(f,a+p+u.length)}c=p+u.length}c<n.length&&(yield[n.slice(c),i.name,a+c,r]),l&&(yield l)}function*CO(s,t,e,i,r,n){if(wa.identifierRegex.test(i)&&!tf(t,i)){yield[i,0,!1];return}let a=t.startScope(),o=(0,wa.getTypeScriptAST)(s,e,r+i+n);for(let[l,c]of Ps(s,o,o,t)){let u=(0,aS.getNodeText)(s,l,o);tf(t,u)||(yield[u,(0,aS.getStartEnd)(s,l,o).start-r.length,c])}a()}function*Ps(s,t,e,i){if(s.isIdentifier(t))yield[t,!1];else if(s.isShorthandPropertyAssignment(t))yield[t.name,!0];else if(s.isPropertyAccessExpression(t))yield*Ps(s,t.expression,e,i);else if(s.isVariableDeclaration(t))i.declare(...(0,pS.collectBindingNames)(s,t.name,e)),yield*ef(s,t,e,i);else if(s.isArrayBindingPattern(t)||s.isObjectBindingPattern(t))for(let r of t.elements)s.isBindingElement(r)&&(yield*ef(s,r,e,i));else if(s.isArrowFunction(t)||s.isFunctionExpression(t))yield*cS(s,t,e,i);else if(s.isObjectLiteralExpression(t))for(let r of t.properties)s.isPropertyAssignment(r)?(s.isComputedPropertyName(r.name)&&(yield*Ps(s,r.name.expression,e,i)),yield*Ps(s,r.initializer,e,i)):s.isShorthandPropertyAssignment(r)?yield*Ps(s,r,e,i):s.isSpreadAssignment(r)?yield*Ps(s,r.expression,e,i):s.isFunctionLike(r)&&r.body&&(yield*cS(s,r,e,i));else if(s.isTypeNode(t))yield*sf(s,t);else if(s.isBlock(t)){let r=i.startScope();for(let n of(0,wa.forEachNode)(s,t))yield*Ps(s,n,e,i);r()}else for(let r of(0,wa.forEachNode)(s,t))yield*Ps(s,r,e,i)}function*ef(s,t,e,i){"type"in t&&t.type&&(yield*sf(s,t.type)),s.isIdentifier(t.name)||(yield*Ps(s,t.name,e,i)),t.initializer&&(yield*Ps(s,t.initializer,e,i))}function*cS(s,t,e,i){let r=i.startScope();for(let n of t.parameters)i.declare(...(0,pS.collectBindingNames)(s,n.name,e)),yield*ef(s,n,e,i);t.body&&(yield*Ps(s,t.body,e,i)),r()}function*sf(s,t){if(s.isTypeQueryNode(t)){let e=t.exprName;for(;!s.isIdentifier(e);)e=e.left;yield[e,!1]}else for(let e of(0,wa.forEachNode)(s,t))yield*sf(s,e)}function tf(s,t){return s.scopes.some(e=>e.has(t))||(0,uS.isGloballyAllowed)(t)||bO(t)||t==="require"||t.startsWith("__VLS_")}});var La=D(rf=>{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.generateObjectProperty=NO;var IO=at(),_O=nt(),hS=_e(),fS=ft(),dS=vr(),PO=xa(),mS=as();function*NO(s,t,e,i,r,n=!1,a=!1){if(e.startsWith("[")&&e.endsWith("]"))a?yield*(0,mS.generateInterpolation)(s,t,s.template,r,e.slice(1,-1),i+1,`[${_O.names.tryAsConstant}(`,")]"):yield*(0,mS.generateInterpolation)(s,t,s.template,r,e,i);else if(n)if(hS.identifierRegex.test((0,IO.camelize)(e)))yield*(0,dS.generateCamelized)(e,"template",i,r);else{let o=yield*(0,fS.startBoundary)("template",i,r);yield"'",yield*(0,dS.generateCamelized)(e,"template",i,{__combineToken:o}),yield"'",yield(0,fS.endBoundary)(o,i+e.length)}else hS.identifierRegex.test(e)?yield[e,"template",i,r]:yield*(0,PO.generateStringLiteralKey)(e,i,r)}});var AS=D(ic=>{"use strict";Object.defineProperty(ic,"__esModule",{value:!0});ic.binarySearch=void 0;function xO(s,t){let e=0,i=s.length-1;for(;e<=i;){let r=Math.floor((e+i)/2),n=s[r];if(n<t)e=r+1;else if(n>t)i=r-1;else{e=r,i=r;break}}return Math.max(Math.min(e,i,s.length-1),0)}ic.binarySearch=xO});var af=D(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.getStack=As.track=As.resetOffsetStack=As.offsetStack=As.setTracking=void 0;var gS=!0,nf=0;function vO(s){gS=s}As.setTracking=vO;function OO(){nf++}As.offsetStack=OO;function wO(){nf--}As.resetOffsetStack=wO;function LO(s,t=[]){return[new Proxy(s,{get(c,u,p){if(gS){if(u==="push")return e;if(u==="pop")return i;if(u==="shift")return r;if(u==="unshift")return n;if(u==="splice")return a;if(u==="sort")return o;if(u==="reverse")return l}return Reflect.get(c,u,p)}}),t];function e(...c){return t.push({stack:Cn(),length:c.length}),s.push(...c)}function i(){if(t.length){let c=t[t.length-1];c.length>1?c.length--:t.pop()}return s.pop()}function r(){if(t.length){let c=t[0];c.length>1?c.length--:t.shift()}return s.shift()}function n(...c){return t.unshift({stack:Cn(),length:c.length}),s.unshift(...c)}function a(c,u,...p){u===void 0&&(u=s.length-c);let h=0,f;for(let d=0;d<t.length;d++){let A=t[d],y=h;if(h=y+A.length,c>=y){f=d+1;let P=A.length;A.length=c-y,t.splice(f,0,{stack:A.stack,length:P-A.length});break}}if(f===void 0)throw new Error("Invalid splice operation");let m=u;for(let d=f;d<t.length;d++){let A=t[d];for(;m>0&&A.length>0;)A.length--,m--;if(m===0)break}return t.splice(f,0,{stack:Cn(),length:p.length}),s.splice(c,u,...p)}function o(c){return t.splice(0,t.length,{stack:Cn(),length:s.length}),s.sort(c)}function l(){return t.splice(0,t.length,{stack:Cn(),length:s.length}),s.reverse()}}As.track=LO;function Cn(){let t=new Error().stack.split(`
|
|
53
|
+
`)[3+nf].trim();return t.endsWith(")")?t=t.slice(t.lastIndexOf("(")+1,-1):t=t.slice(t.lastIndexOf(" ")+1),t}As.getStack=Cn});var ES=D(yS=>{"use strict";Object.defineProperty(yS,"__esModule",{value:!0})});var wr=D(Ke=>{"use strict";var MO=Ke&&Ke.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),bS=Ke&&Ke.__exportStar||function(s,t){for(var e in s)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&MO(t,s,e)};Object.defineProperty(Ke,"__esModule",{value:!0});Ke.replaceRange=Ke.replaceSourceRange=Ke.replaceAll=Ke.replace=Ke.create=Ke.toString=Ke.getLength=void 0;var SS=AS(),Us=af();bS(ES(),Ke);bS(af(),Ke);function TS(s){let t=0;for(let e of s)t+=typeof e=="string"?e.length:e[0].length;return t}Ke.getLength=TS;function of(s){return s.map(t=>typeof t=="string"?t:t[0]).join("")}Ke.toString=of;function DO(s){return[[s,void 0,0]]}Ke.create=DO;function RO(s,t,...e){let r=of(s).match(t);if(r&&r.index!==void 0){let n=r.index,a=n+r[0].length;(0,Us.offsetStack)(),lf(s,n,a,...e.map(o=>typeof o=="function"?o(r[0]):o)),(0,Us.resetOffsetStack)()}}Ke.replace=RO;function kO(s,t,...e){let i=of(s),r=i.matchAll(t),n=i.length,a=0;for(let o of r)if(o.index!==void 0){let l=o.index+a,c=l+o[0].length;(0,Us.offsetStack)(),lf(s,l,c,...e.map(p=>typeof p=="function"?p(o[0]):p)),(0,Us.resetOffsetStack)();let u=TS(s);a+=u-n,n=u}}Ke.replaceAll=kO;function BO(s,t,e,i,...r){for(let n of s)if(typeof n!="string"&&n[1]===t){let a=n[2],o=n[2]+n[0].length;if(a<=e&&o>=i){let l=[];e>a&&l.push(IS(n,e-a));for(let c of r)l.push(c);return i<o&&l.push(_S(n,i-o)),CS(l),(0,Us.offsetStack)(),s.splice(s.indexOf(n),1,...l),(0,Us.resetOffsetStack)(),!0}}return!1}Ke.replaceSourceRange=BO;function lf(s,t,e,...i){let r=FO(s),n=(0,SS.binarySearch)(r,t),a=(0,SS.binarySearch)(r,e),o=s[n],l=s[a],c=r[n],u=r[a],p=r[a]+(typeof l=="string"?l.length:l[0].length),h=[];t>c&&h.push(IS(o,t-c));for(let f of i)h.push(f);e<p&&h.push(_S(l,e-u)),CS(h),(0,Us.offsetStack)(),s.splice(n,a-n+1,...h),(0,Us.resetOffsetStack)()}Ke.replaceRange=lf;function CS(s){for(let t=s.length-1;t>=1;t--)typeof s[t]=="string"&&typeof s[t-1]=="string"&&(s[t-1]=s[t-1]+s[t],(0,Us.offsetStack)(),s.splice(t,1),(0,Us.resetOffsetStack)())}function IS(s,t){return typeof s=="string"?s.slice(0,t):[s[0].slice(0,t),...s.slice(1)]}function _S(s,t){return typeof s=="string"?s.slice(t):(t<0&&(t+=s[0].length),[s[0].slice(t),s[1],s[2]+t,...s.slice(3)])}function FO(s){let t=[],e=0;for(let i of s)t.push(e),e+=typeof i=="string"?i.length:i[0].length;return t}});var rc=D(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});cf.createVBindShorthandInlayHintInfo=VO;function VO(s,t){return{blockName:"template",offset:s.end.offset,setting:"vue.inlayHints.vBindShorthand",label:`="${t}"`,tooltip:[`This is a shorthand for \`${s.source}="${t}"\`.`,"To hide this hint, set `vue.inlayHints.vBindShorthand` to `false` in IDE settings.","[More info](https://github.com/vuejs/core/pull/9451)"].join(`
|
|
54
54
|
|
|
55
|
-
`)}}});var Ma=D((_F,OS)=>{"use strict";var PS="[^\\\\/]",VO="(?=.)",NS="[^/]",uf="(?:\\/|$)",xS="(?:^|\\/)",hf=`\\.{1,2}${uf}`,UO="(?!\\.)",$O=`(?!${xS}${hf})`,jO=`(?!\\.{0,1}${uf})`,HO=`(?!${hf})`,KO="[^.\\/]",GO=`${NS}*?`,WO="/",vS={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:VO,QMARK:NS,END_ANCHOR:uf,DOTS_SLASH:hf,NO_DOT:UO,NO_DOTS:$O,NO_DOT_SLASH:jO,NO_DOTS_SLASH:HO,QMARK_NO_DOT:KO,STAR:GO,START_ANCHOR:xS,SEP:WO},XO={...vS,SLASH_LITERAL:"[\\\\/]",QMARK:PS,STAR:`${PS}*?`,DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)",SEP:"\\"},qO={__proto__:null,alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};OS.exports={DEFAULT_MAX_EXTGLOB_RECURSION:0,MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:qO,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{__proto__:null,"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,extglobChars(s){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${s.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(s){return s===!0?XO:vS}}});var Da=D($t=>{"use strict";var{REGEX_BACKSLASH:QO,REGEX_REMOVE_BACKSLASH:JO,REGEX_SPECIAL_CHARS:YO,REGEX_SPECIAL_CHARS_GLOBAL:zO}=Ma();$t.isObject=s=>s!==null&&typeof s=="object"&&!Array.isArray(s);$t.hasRegexChars=s=>YO.test(s);$t.isRegexChar=s=>s.length===1&&$t.hasRegexChars(s);$t.escapeRegex=s=>s.replace(zO,"\\$1");$t.toPosixSlashes=s=>s.replace(QO,"/");$t.isWindows=()=>{if(typeof navigator<"u"&&navigator.platform){let s=navigator.platform.toLowerCase();return s==="win32"||s==="windows"}return typeof process<"u"&&process.platform?process.platform==="win32":!1};$t.removeBackslashes=s=>s.replace(JO,t=>t==="\\"?"":t);$t.escapeLast=(s,t,e)=>{let i=s.lastIndexOf(t,e);return i===-1?s:s[i-1]==="\\"?$t.escapeLast(s,t,i-1):`${s.slice(0,i)}\\${s.slice(i)}`};$t.removePrefix=(s,t={})=>{let e=s;return e.startsWith("./")&&(e=e.slice(2),t.prefix="./"),e};$t.wrapOutput=(s,t={},e={})=>{let i=e.contains?"":"^",r=e.contains?"":"$",n=`${i}(?:${s})${r}`;return t.negated===!0&&(n=`(?:^(?!${n}).*$)`),n};$t.basename=(s,{windows:t}={})=>{let e=s.split(t?/[\\/]/:"/"),i=e[e.length-1];return i===""?e[e.length-2]:i}});var FS=D((NF,BS)=>{"use strict";var wS=Da(),{CHAR_ASTERISK:pf,CHAR_AT:ZO,CHAR_BACKWARD_SLASH:In,CHAR_COMMA:ew,CHAR_DOT:ff,CHAR_EXCLAMATION_MARK:df,CHAR_FORWARD_SLASH:kS,CHAR_LEFT_CURLY_BRACE:mf,CHAR_LEFT_PARENTHESES:nc,CHAR_LEFT_SQUARE_BRACKET:tw,CHAR_PLUS:sw,CHAR_QUESTION_MARK:LS,CHAR_RIGHT_CURLY_BRACE:iw,CHAR_RIGHT_PARENTHESES:MS,CHAR_RIGHT_SQUARE_BRACKET:rw}=Ma(),DS=s=>s===kS||s===In,RS=s=>{s.isPrefix!==!0&&(s.depth=s.isGlobstar?1/0:1)},nw=(s,t)=>{let e=t||{},i=s.length-1,r=e.parts===!0||e.tokens===!0||e.scanToEnd===!0,n=[],a=[],o=[],l=s,c=-1,u=0,h=0,p=!1,f=!1,m=!1,d=!1,A=!1,y=!1,E=!1,x=!1,N=!1,w=!1,M=0,R,I,_={value:"",depth:0,isGlob:!1},T=()=>c>=i,g=()=>l.charCodeAt(c+1),P=()=>(R=I,l.charCodeAt(++c));for(;c<i;){I=P();let H;if(I===In){E=_.backslashes=!0,I=P(),I===mf&&(y=!0);continue}if(y===!0||I===mf){for(M++;T()!==!0&&(I=P());){if(I===In){E=_.backslashes=!0,P();continue}if(I===mf){M++;continue}if(y!==!0&&I===ff&&(I=P())===ff){if(p=_.isBrace=!0,m=_.isGlob=!0,w=!0,r===!0)continue;break}if(y!==!0&&I===ew){if(p=_.isBrace=!0,m=_.isGlob=!0,w=!0,r===!0)continue;break}if(I===iw&&(M--,M===0)){y=!1,p=_.isBrace=!0,w=!0;break}}if(r===!0)continue;break}if(I===kS){if(n.push(c),a.push(_),_={value:"",depth:0,isGlob:!1},w===!0)continue;if(R===ff&&c===u+1){u+=2;continue}h=c+1;continue}if(e.noext!==!0&&(I===sw||I===ZO||I===pf||I===LS||I===df)===!0&&g()===nc){if(m=_.isGlob=!0,d=_.isExtglob=!0,w=!0,I===df&&c===u&&(N=!0),r===!0){let Se=0;for(;T()!==!0&&(I=P());){if(I===In){E=_.backslashes=!0,P();continue}if(I===nc){Se++;continue}if(I===MS&&--Se===0){w=!0;break}}continue}break}if(I===pf){if(R===pf&&(A=_.isGlobstar=!0),m=_.isGlob=!0,w=!0,r===!0)continue;break}if(I===LS){if(m=_.isGlob=!0,w=!0,r===!0)continue;break}if(I===tw){for(;T()!==!0&&(H=P());){if(H===In){E=_.backslashes=!0,P();continue}if(H===rw){f=_.isBracket=!0,m=_.isGlob=!0,w=!0;break}}if(r===!0)continue;break}if(e.nonegate!==!0&&I===df&&c===u){x=_.negated=!0,u++;continue}if(e.noparen!==!0&&I===nc){if(m=_.isGlob=!0,r===!0){let fe=1;for(;T()!==!0&&(I=P());){if(I===In){E=_.backslashes=!0,P();continue}if(I===nc){fe++;continue}if(I===MS&&--fe===0){w=!0;break}}continue}break}if(m===!0){if(w=!0,r===!0)continue;break}}e.noext===!0&&(d=!1,m=!1);let L=l,C="",b="";u>0&&(C=l.slice(0,u),l=l.slice(u),h-=u),L&&m===!0&&h>0?(L=l.slice(0,h),b=l.slice(h)):m===!0?(L="",b=l):L=l,L&&L!==""&&L!=="/"&&L!==l&&DS(L.charCodeAt(L.length-1))&&(L=L.slice(0,-1)),e.unescape===!0&&(b&&(b=wS.removeBackslashes(b)),L&&E===!0&&(L=wS.removeBackslashes(L)));let J={prefix:C,input:s,start:u,base:L,glob:b,isBrace:p,isBracket:f,isGlob:m,isExtglob:d,isGlobstar:A,negated:x,negatedExtglob:N};if(e.tokens===!0&&(J.maxDepth=0,DS(I)||a.push(_),J.tokens=a),e.parts===!0||e.tokens===!0){let H;for(let ae=0;ae<n.length;ae++){let Re=H!==void 0?H+1:u,pt=n[ae],Wt=s.slice(Re,pt);e.tokens&&(ae===0&&u!==0?(a[ae].isPrefix=!0,a[ae].value=C):a[ae].value=Wt,RS(a[ae]),J.maxDepth+=a[ae].depth),pt>=u&&(o.push(Wt),H=pt)}let fe=H!==void 0?H+1:u,Se=s.slice(fe);o.push(Se),e.tokens&&H&&H+1<s.length&&(a[a.length-1].value=Se,RS(a[a.length-1]),J.maxDepth+=a[a.length-1].depth),J.slashes=n,J.parts=o}return J};BS.exports=nw});var jS=D((xF,$S)=>{"use strict";var Ra=Ma(),os=Da(),{MAX_LENGTH:ac,POSIX_REGEX_SOURCE:aw,REGEX_NON_SPECIAL_CHARS:ow,REGEX_SPECIAL_CHARS_BACKREF:lw,REPLACEMENTS:VS}=Ra,cw=(s,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...s,t);s.sort();let e=`[${s.join("-")}]`;try{new RegExp(e)}catch{return s.map(r=>os.escapeRegex(r)).join("..")}return e},_n=(s,t)=>`Missing ${s}: "${t}" - use "\\\\${t}" to match literal characters`,US=s=>{let t=[],e=0,i=0,r=0,n="",a=!1;for(let o of s){if(a===!0){n+=o,a=!1;continue}if(o==="\\"){n+=o,a=!0;continue}if(o==='"'){r=r===1?0:1,n+=o;continue}if(r===0){if(o==="[")e++;else if(o==="]"&&e>0)e--;else if(e===0){if(o==="(")i++;else if(o===")"&&i>0)i--;else if(o==="|"&&i===0){t.push(n),n="";continue}}}n+=o}return t.push(n),t},uw=s=>{let t=!1;for(let e of s){if(t===!0){t=!1;continue}if(e==="\\"){t=!0;continue}if(/[?*+@!()[\]{}]/.test(e))return!1}return!0},gf=s=>{let t=s.trim(),e=!0;for(;e===!0;)e=!1,/^@\([^\\()[\]{}|]+\)$/.test(t)&&(t=t.slice(2,-1),e=!0);if(uw(t))return t.replace(/\\(.)/g,"$1")},hw=s=>{let t=s.map(gf).filter(Boolean);for(let e=0;e<t.length;e++)for(let i=e+1;i<t.length;i++){let r=t[e],n=t[i],a=r[0];if(!(!a||r!==a.repeat(r.length)||n!==a.repeat(n.length))&&(r===n||r.startsWith(n)||n.startsWith(r)))return!0}return!1},Af=(s,t=!0)=>{if(s[0]!=="+"&&s[0]!=="*"||s[1]!=="(")return;let e=0,i=0,r=0,n=!1;for(let a=1;a<s.length;a++){let o=s[a];if(n===!0){n=!1;continue}if(o==="\\"){n=!0;continue}if(o==='"'){r=r===1?0:1;continue}if(r!==1){if(o==="["){e++;continue}if(o==="]"&&e>0){e--;continue}if(!(e>0)){if(o==="("){i++;continue}if(o===")"&&(i--,i===0))return t===!0&&a!==s.length-1?void 0:{type:s[0],body:s.slice(2,a),end:a}}}}},pw=s=>`${s.length===1?os.escapeRegex(s[0]):`[${s.map(e=>os.escapeRegex(e)).join("")}]`}*`,fw=s=>{let t=0,e=[];for(;t<s.length;){let i=Af(s.slice(t),!1);if(!i||i.type!=="*")return;let r=US(i.body).map(a=>a.trim());if(r.length!==1)return;let n=gf(r[0]);if(!n||n.length!==1)return;e.push(n),t+=i.end+1}if(!(e.length<1))return e},dw=s=>{let t=0,e=s.trim(),i=Af(e);for(;i;)t++,e=i.body.trim(),i=Af(e);return t},mw=(s,t)=>{if(t.maxExtglobRecursion===!1)return{risky:!1};let e=typeof t.maxExtglobRecursion=="number"?t.maxExtglobRecursion:Ra.DEFAULT_MAX_EXTGLOB_RECURSION,i=US(s).map(o=>o.trim());if(i.length>1&&(i.some(o=>o==="")||i.some(o=>/^[*?]+$/.test(o))||hw(i)))return{risky:!0};let r=[],n=!1,a=!0;for(let o of i){let l=fw(o);if(l){n=!0,r.push(...l);continue}let c=gf(o);if(c&&c.length===1){r.push(c);continue}if(a=!1,dw(o)>e)return{risky:!0}}return n?a?{risky:!0,safeOutput:pw([...new Set(r)])}:{risky:!0}:{risky:!1}},yf=(s,t)=>{if(typeof s!="string")throw new TypeError("Expected a string");s=VS[s]||s;let e={...t},i=typeof e.maxLength=="number"?Math.min(ac,e.maxLength):ac,r=s.length;if(r>i)throw new SyntaxError(`Input length: ${r}, exceeds maximum allowed length: ${i}`);let n={type:"bos",value:"",output:e.prepend||""},a=[n],o=e.capture?"":"?:",l=Ra.globChars(e.windows),c=Ra.extglobChars(l),{DOT_LITERAL:u,PLUS_LITERAL:h,SLASH_LITERAL:p,ONE_CHAR:f,DOTS_SLASH:m,NO_DOT:d,NO_DOT_SLASH:A,NO_DOTS_SLASH:y,QMARK:E,QMARK_NO_DOT:x,STAR:N,START_ANCHOR:w}=l,M=F=>`(${o}(?:(?!${w}${F.dot?m:u}).)*?)`,R=e.dot?"":d,I=e.dot?E:x,_=e.bash===!0?M(e):N;e.capture&&(_=`(${_})`),typeof e.noext=="boolean"&&(e.noextglob=e.noext);let T={input:s,index:-1,start:0,dot:e.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};s=os.removePrefix(s,T),r=s.length;let g=[],P=[],L=[],C=n,b,J=()=>T.index===r-1,H=T.peek=(F=1)=>s[T.index+F],fe=T.advance=()=>s[++T.index]||"",Se=()=>s.slice(T.index+1),ae=(F="",Ie=0)=>{T.consumed+=F,T.index+=Ie},Re=F=>{T.output+=F.output!=null?F.output:F.value,ae(F.value)},pt=()=>{let F=1;for(;H()==="!"&&(H(2)!=="("||H(3)==="?");)fe(),T.start++,F++;return F%2===0?!1:(T.negated=!0,T.start++,!0)},Wt=F=>{T[F]++,L.push(F)},ot=F=>{T[F]--,L.pop()},Y=F=>{if(C.type==="globstar"){let Ie=T.braces>0&&(F.type==="comma"||F.type==="brace"),B=F.extglob===!0||g.length&&(F.type==="pipe"||F.type==="paren");F.type!=="slash"&&F.type!=="paren"&&!Ie&&!B&&(T.output=T.output.slice(0,-C.output.length),C.type="star",C.value="*",C.output=_,T.output+=C.output)}if(g.length&&F.type!=="paren"&&(g[g.length-1].inner+=F.value),(F.value||F.output)&&Re(F),C&&C.type==="text"&&F.type==="text"){C.output=(C.output||C.value)+F.value,C.value+=F.value;return}F.prev=C,a.push(F),C=F},zi=(F,Ie)=>{let B={...c[Ie],conditions:1,inner:""};B.prev=C,B.parens=T.parens,B.output=T.output,B.startIndex=T.index,B.tokensIndex=a.length;let te=(e.capture?"(":"")+B.open;Wt("parens"),Y({type:F,value:Ie,output:T.output?"":f}),Y({type:"paren",extglob:!0,value:fe(),output:te}),g.push(B)},ro=F=>{let Ie=s.slice(F.startIndex,T.index+1),B=s.slice(F.startIndex+2,T.index),te=mw(B,e);if((F.type==="plus"||F.type==="star")&&te.risky){let Ee=te.safeOutput?(F.output?"":f)+(e.capture?`(${te.safeOutput})`:te.safeOutput):void 0,Ls=a[F.tokensIndex];Ls.type="text",Ls.value=Ie,Ls.output=Ee||os.escapeRegex(Ie);for(let Zi=F.tokensIndex+1;Zi<a.length;Zi++)a[Zi].value="",a[Zi].output="",delete a[Zi].suffix;T.output=F.output+Ls.output,T.backtrack=!0,Y({type:"paren",extglob:!0,value:b,output:""}),ot("parens");return}let be=F.close+(e.capture?")":""),Ue;if(F.type==="negate"){let Ee=_;if(F.inner&&F.inner.length>1&&F.inner.includes("/")&&(Ee=M(e)),(Ee!==_||J()||/^\)+$/.test(Se()))&&(be=F.close=`)$))${Ee}`),F.inner.includes("*")&&(Ue=Se())&&/^\.[^\\/.]+$/.test(Ue)){let Ls=yf(Ue,{...t,fastpaths:!1}).output;be=F.close=`)${Ls})${Ee})`}F.prev.type==="bos"&&(T.negatedExtglob=!0)}Y({type:"paren",extglob:!0,value:b,output:be}),ot("parens")};if(e.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(s)){let F=!1,Ie=s.replace(lw,(B,te,be,Ue,Ee,Ls)=>Ue==="\\"?(F=!0,B):Ue==="?"?te?te+Ue+(Ee?E.repeat(Ee.length):""):Ls===0?I+(Ee?E.repeat(Ee.length):""):E.repeat(be.length):Ue==="."?u.repeat(be.length):Ue==="*"?te?te+Ue+(Ee?_:""):_:te?B:`\\${B}`);return F===!0&&(e.unescape===!0?Ie=Ie.replace(/\\/g,""):Ie=Ie.replace(/\\+/g,B=>B.length%2===0?"\\\\":B?"\\":"")),Ie===s&&e.contains===!0?(T.output=s,T):(T.output=os.wrapOutput(Ie,T,t),T)}for(;!J();){if(b=fe(),b==="\0")continue;if(b==="\\"){let B=H();if(B==="/"&&e.bash!==!0||B==="."||B===";")continue;if(!B){b+="\\",Y({type:"text",value:b});continue}let te=/^\\+/.exec(Se()),be=0;if(te&&te[0].length>2&&(be=te[0].length,T.index+=be,be%2!==0&&(b+="\\")),e.unescape===!0?b=fe():b+=fe(),T.brackets===0){Y({type:"text",value:b});continue}}if(T.brackets>0&&(b!=="]"||C.value==="["||C.value==="[^")){if(e.posix!==!1&&b===":"){let B=C.value.slice(1);if(B.includes("[")&&(C.posix=!0,B.includes(":"))){let te=C.value.lastIndexOf("["),be=C.value.slice(0,te),Ue=C.value.slice(te+2),Ee=aw[Ue];if(Ee){C.value=be+Ee,T.backtrack=!0,fe(),!n.output&&a.indexOf(C)===1&&(n.output=f);continue}}}(b==="["&&H()!==":"||b==="-"&&H()==="]")&&(b=`\\${b}`),b==="]"&&(C.value==="["||C.value==="[^")&&(b=`\\${b}`),e.posix===!0&&b==="!"&&C.value==="["&&(b="^"),C.value+=b,Re({value:b});continue}if(T.quotes===1&&b!=='"'){b=os.escapeRegex(b),C.value+=b,Re({value:b});continue}if(b==='"'){T.quotes=T.quotes===1?0:1,e.keepQuotes===!0&&Y({type:"text",value:b});continue}if(b==="("){Wt("parens"),Y({type:"paren",value:b});continue}if(b===")"){if(T.parens===0&&e.strictBrackets===!0)throw new SyntaxError(_n("opening","("));let B=g[g.length-1];if(B&&T.parens===B.parens+1){ro(g.pop());continue}Y({type:"paren",value:b,output:T.parens?")":"\\)"}),ot("parens");continue}if(b==="["){if(e.nobracket===!0||!Se().includes("]")){if(e.nobracket!==!0&&e.strictBrackets===!0)throw new SyntaxError(_n("closing","]"));b=`\\${b}`}else Wt("brackets");Y({type:"bracket",value:b});continue}if(b==="]"){if(e.nobracket===!0||C&&C.type==="bracket"&&C.value.length===1){Y({type:"text",value:b,output:`\\${b}`});continue}if(T.brackets===0){if(e.strictBrackets===!0)throw new SyntaxError(_n("opening","["));Y({type:"text",value:b,output:`\\${b}`});continue}ot("brackets");let B=C.value.slice(1);if(C.posix!==!0&&B[0]==="^"&&!B.includes("/")&&(b=`/${b}`),C.value+=b,Re({value:b}),e.literalBrackets===!1||os.hasRegexChars(B))continue;let te=os.escapeRegex(C.value);if(T.output=T.output.slice(0,-C.value.length),e.literalBrackets===!0){T.output+=te,C.value=te;continue}C.value=`(${o}${te}|${C.value})`,T.output+=C.value;continue}if(b==="{"&&e.nobrace!==!0){Wt("braces");let B={type:"brace",value:b,output:"(",outputIndex:T.output.length,tokensIndex:T.tokens.length};P.push(B),Y(B);continue}if(b==="}"){let B=P[P.length-1];if(e.nobrace===!0||!B){Y({type:"text",value:b,output:b});continue}let te=")";if(B.dots===!0){let be=a.slice(),Ue=[];for(let Ee=be.length-1;Ee>=0&&(a.pop(),be[Ee].type!=="brace");Ee--)be[Ee].type!=="dots"&&Ue.unshift(be[Ee].value);te=cw(Ue,e),T.backtrack=!0}if(B.comma!==!0&&B.dots!==!0){let be=T.output.slice(0,B.outputIndex),Ue=T.tokens.slice(B.tokensIndex);B.value=B.output="\\{",b=te="\\}",T.output=be;for(let Ee of Ue)T.output+=Ee.output||Ee.value}Y({type:"brace",value:b,output:te}),ot("braces"),P.pop();continue}if(b==="|"){g.length>0&&g[g.length-1].conditions++,Y({type:"text",value:b});continue}if(b===","){let B=b,te=P[P.length-1];te&&L[L.length-1]==="braces"&&(te.comma=!0,B="|"),Y({type:"comma",value:b,output:B});continue}if(b==="/"){if(C.type==="dot"&&T.index===T.start+1){T.start=T.index+1,T.consumed="",T.output="",a.pop(),C=n;continue}Y({type:"slash",value:b,output:p});continue}if(b==="."){if(T.braces>0&&C.type==="dot"){C.value==="."&&(C.output=u);let B=P[P.length-1];C.type="dots",C.output+=b,C.value+=b,B.dots=!0;continue}if(T.braces+T.parens===0&&C.type!=="bos"&&C.type!=="slash"){Y({type:"text",value:b,output:u});continue}Y({type:"dot",value:b,output:u});continue}if(b==="?"){if(!(C&&C.value==="(")&&e.noextglob!==!0&&H()==="("&&H(2)!=="?"){zi("qmark",b);continue}if(C&&C.type==="paren"){let te=H(),be=b;(C.value==="("&&!/[!=<:]/.test(te)||te==="<"&&!/<([!=]|\w+>)/.test(Se()))&&(be=`\\${b}`),Y({type:"text",value:b,output:be});continue}if(e.dot!==!0&&(C.type==="slash"||C.type==="bos")){Y({type:"qmark",value:b,output:x});continue}Y({type:"qmark",value:b,output:E});continue}if(b==="!"){if(e.noextglob!==!0&&H()==="("&&(H(2)!=="?"||!/[!=<:]/.test(H(3)))){zi("negate",b);continue}if(e.nonegate!==!0&&T.index===0){pt();continue}}if(b==="+"){if(e.noextglob!==!0&&H()==="("&&H(2)!=="?"){zi("plus",b);continue}if(C&&C.value==="("||e.regex===!1){Y({type:"plus",value:b,output:h});continue}if(C&&(C.type==="bracket"||C.type==="paren"||C.type==="brace")||T.parens>0){Y({type:"plus",value:b});continue}Y({type:"plus",value:h});continue}if(b==="@"){if(e.noextglob!==!0&&H()==="("&&H(2)!=="?"){Y({type:"at",extglob:!0,value:b,output:""});continue}Y({type:"text",value:b});continue}if(b!=="*"){(b==="$"||b==="^")&&(b=`\\${b}`);let B=ow.exec(Se());B&&(b+=B[0],T.index+=B[0].length),Y({type:"text",value:b});continue}if(C&&(C.type==="globstar"||C.star===!0)){C.type="star",C.star=!0,C.value+=b,C.output=_,T.backtrack=!0,T.globstar=!0,ae(b);continue}let F=Se();if(e.noextglob!==!0&&/^\([^?]/.test(F)){zi("star",b);continue}if(C.type==="star"){if(e.noglobstar===!0){ae(b);continue}let B=C.prev,te=B.prev,be=B.type==="slash"||B.type==="bos",Ue=te&&(te.type==="star"||te.type==="globstar");if(e.bash===!0&&(!be||F[0]&&F[0]!=="/")){Y({type:"star",value:b,output:""});continue}let Ee=T.braces>0&&(B.type==="comma"||B.type==="brace"),Ls=g.length&&(B.type==="pipe"||B.type==="paren");if(!be&&B.type!=="paren"&&!Ee&&!Ls){Y({type:"star",value:b,output:""});continue}for(;F.slice(0,3)==="/**";){let $r=s[T.index+4];if($r&&$r!=="/")break;F=F.slice(3),ae("/**",3)}let Zi=J()||T.parens>0&&F===")".repeat(T.parens)&&!g.some($r=>$r.type==="negate");if(B.type==="bos"&&J()){C.type="globstar",C.value+=b,C.output=M(e),T.output=C.output,T.globstar=!0,ae(b);continue}if(B.type==="slash"&&B.prev.type!=="bos"&&!Ue&&Zi){T.output=T.output.slice(0,-(B.output+C.output).length),B.output=`(?:${B.output}`,C.type="globstar",C.output=M(e)+(e.strictSlashes?")":"|$)"),C.value+=b,T.globstar=!0,T.output+=B.output+C.output,ae(b);continue}if(B.type==="slash"&&B.prev.type!=="bos"&&F[0]==="/"){let $r=F[1]!==void 0?"|$":"";T.output=T.output.slice(0,-(B.output+C.output).length),B.output=`(?:${B.output}`,C.type="globstar",C.output=`${M(e)}${p}|${p}${$r})`,C.value+=b,T.output+=B.output+C.output,T.globstar=!0,ae(b+fe()),Y({type:"slash",value:"/",output:""});continue}if(B.type==="bos"&&F[0]==="/"){C.type="globstar",C.value+=b,C.output=`(?:^|${p}|${M(e)}${p})`,T.output=C.output,T.globstar=!0,ae(b+fe()),Y({type:"slash",value:"/",output:""});continue}T.output=T.output.slice(0,-C.output.length),C.type="globstar",C.output=M(e),C.value+=b,T.output+=C.output,T.globstar=!0,ae(b);continue}let Ie={type:"star",value:b,output:_};if(e.bash===!0){Ie.output=".*?",(C.type==="bos"||C.type==="slash")&&(Ie.output=R+Ie.output),Y(Ie);continue}if(C&&(C.type==="bracket"||C.type==="paren")&&e.regex===!0){Ie.output=b,Y(Ie);continue}(T.index===T.start||C.type==="slash"||C.type==="dot")&&(C.type==="dot"?(T.output+=A,C.output+=A):e.dot===!0?(T.output+=y,C.output+=y):(T.output+=R,C.output+=R),H()!=="*"&&(T.output+=f,C.output+=f)),Y(Ie)}for(;T.brackets>0;){if(e.strictBrackets===!0)throw new SyntaxError(_n("closing","]"));T.output=os.escapeLast(T.output,"["),ot("brackets")}for(;T.parens>0;){if(e.strictBrackets===!0)throw new SyntaxError(_n("closing",")"));T.output=os.escapeLast(T.output,"("),ot("parens")}for(;T.braces>0;){if(e.strictBrackets===!0)throw new SyntaxError(_n("closing","}"));T.output=os.escapeLast(T.output,"{"),ot("braces")}if(e.strictSlashes!==!0&&(C.type==="star"||C.type==="bracket")&&Y({type:"maybe_slash",value:"",output:`${p}?`}),T.backtrack===!0){T.output="";for(let F of T.tokens)T.output+=F.output!=null?F.output:F.value,F.suffix&&(T.output+=F.suffix)}return T};yf.fastpaths=(s,t)=>{let e={...t},i=typeof e.maxLength=="number"?Math.min(ac,e.maxLength):ac,r=s.length;if(r>i)throw new SyntaxError(`Input length: ${r}, exceeds maximum allowed length: ${i}`);s=VS[s]||s;let{DOT_LITERAL:n,SLASH_LITERAL:a,ONE_CHAR:o,DOTS_SLASH:l,NO_DOT:c,NO_DOTS:u,NO_DOTS_SLASH:h,STAR:p,START_ANCHOR:f}=Ra.globChars(e.windows),m=e.dot?u:c,d=e.dot?h:c,A=e.capture?"":"?:",y={negated:!1,prefix:""},E=e.bash===!0?".*?":p;e.capture&&(E=`(${E})`);let x=R=>R.noglobstar===!0?E:`(${A}(?:(?!${f}${R.dot?l:n}).)*?)`,N=R=>{switch(R){case"*":return`${m}${o}${E}`;case".*":return`${n}${o}${E}`;case"*.*":return`${m}${E}${n}${o}${E}`;case"*/*":return`${m}${E}${a}${o}${d}${E}`;case"**":return m+x(e);case"**/*":return`(?:${m}${x(e)}${a})?${d}${o}${E}`;case"**/*.*":return`(?:${m}${x(e)}${a})?${d}${E}${n}${o}${E}`;case"**/.*":return`(?:${m}${x(e)}${a})?${n}${o}${E}`;default:{let I=/^(.*?)\.(\w+)$/.exec(R);if(!I)return;let _=N(I[1]);return _?_+n+I[2]:void 0}}},w=os.removePrefix(s,y),M=N(w);return M&&e.strictSlashes!==!0&&(M+=`${a}?`),M};$S.exports=yf});var GS=D((vF,KS)=>{"use strict";var Aw=FS(),Ef=jS(),HS=Da(),gw=Ma(),yw=s=>s&&typeof s=="object"&&!Array.isArray(s),Ye=(s,t,e=!1)=>{if(Array.isArray(s)){let u=s.map(p=>Ye(p,t,e));return p=>{for(let f of u){let m=f(p);if(m)return m}return!1}}let i=yw(s)&&s.tokens&&s.input;if(s===""||typeof s!="string"&&!i)throw new TypeError("Expected pattern to be a non-empty string");let r=t||{},n=r.windows,a=i?Ye.compileRe(s,t):Ye.makeRe(s,t,!1,!0),o=a.state;delete a.state;let l=()=>!1;if(r.ignore){let u={...t,ignore:null,onMatch:null,onResult:null};l=Ye(r.ignore,u,e)}let c=(u,h=!1)=>{let{isMatch:p,match:f,output:m}=Ye.test(u,a,t,{glob:s,posix:n}),d={glob:s,state:o,regex:a,posix:n,input:u,output:m,match:f,isMatch:p};return typeof r.onResult=="function"&&r.onResult(d),p===!1?(d.isMatch=!1,h?d:!1):l(u)?(typeof r.onIgnore=="function"&&r.onIgnore(d),d.isMatch=!1,h?d:!1):(typeof r.onMatch=="function"&&r.onMatch(d),h?d:!0)};return e&&(c.state=o),c};Ye.test=(s,t,e,{glob:i,posix:r}={})=>{if(typeof s!="string")throw new TypeError("Expected input to be a string");if(s==="")return{isMatch:!1,output:""};let n=e||{},a=n.format||(r?HS.toPosixSlashes:null),o=s===i,l=o&&a?a(s):s;return o===!1&&(l=a?a(s):s,o=l===i),(o===!1||n.capture===!0)&&(n.matchBase===!0||n.basename===!0?o=Ye.matchBase(s,t,e,r):o=t.exec(l)),{isMatch:!!o,match:o,output:l}};Ye.matchBase=(s,t,e,i=e&&e.windows)=>(t instanceof RegExp?t:Ye.makeRe(t,e)).test(HS.basename(s,{windows:i}));Ye.isMatch=(s,t,e)=>Ye(t,e)(s);Ye.parse=(s,t)=>Array.isArray(s)?s.map(e=>Ye.parse(e,t)):Ef(s,{...t,fastpaths:!1});Ye.scan=(s,t)=>Aw(s,t);Ye.compileRe=(s,t,e=!1,i=!1)=>{if(e===!0)return s.output;let r=t||{},n=r.contains?"":"^",a=r.contains?"":"$",o=`${n}(?:${s.output})${a}`;s&&s.negated===!0&&(o=`^(?!${o}).*$`);let l=Ye.toRegex(o,t);return i===!0&&(l.state=s),l};Ye.makeRe=(s,t={},e=!1,i=!1)=>{if(!s||typeof s!="string")throw new TypeError("Expected a non-empty string");let r={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(s[0]==="."||s[0]==="*")&&(r.output=Ef.fastpaths(s,t)),r.output||(r=Ef(s,t)),Ye.compileRe(r,t,e,i)};Ye.toRegex=(s,t)=>{try{let e=t||{};return new RegExp(s,e.flags||(e.nocase?"i":""))}catch(e){if(t&&t.debug===!0)throw e;return/$^/}};Ye.constants=gw;KS.exports=Ye});var QS=D((OF,qS)=>{"use strict";var WS=GS(),Ew=Da();function XS(s,t,e=!1){return t&&(t.windows===null||t.windows===void 0)&&(t={...t,windows:Ew.isWindows()}),WS(s,t,e)}Object.assign(XS,WS);qS.exports=XS});var YS=D(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});Sf.generateUnicode=Sw;var JS=ft();function*Sw(s,t,e){if(bw(s)){let i=yield*(0,JS.startBoundary)("template",t,e);yield Tw(s),yield(0,JS.endBoundary)(i,t+s.length)}else yield[s,"template",t,e]}function bw(s){return s.includes("\\")||s.includes(`
|
|
56
|
-
`)}function
|
|
55
|
+
`)}}});var Ma=D((PF,OS)=>{"use strict";var PS="[^\\\\/]",UO="(?=.)",NS="[^/]",uf="(?:\\/|$)",xS="(?:^|\\/)",pf=`\\.{1,2}${uf}`,$O="(?!\\.)",jO=`(?!${xS}${pf})`,HO=`(?!\\.{0,1}${uf})`,KO=`(?!${pf})`,GO="[^.\\/]",WO=`${NS}*?`,XO="/",vS={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:UO,QMARK:NS,END_ANCHOR:uf,DOTS_SLASH:pf,NO_DOT:$O,NO_DOTS:jO,NO_DOT_SLASH:HO,NO_DOTS_SLASH:KO,QMARK_NO_DOT:GO,STAR:WO,START_ANCHOR:xS,SEP:XO},qO={...vS,SLASH_LITERAL:"[\\\\/]",QMARK:PS,STAR:`${PS}*?`,DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)",SEP:"\\"},QO={__proto__:null,alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};OS.exports={DEFAULT_MAX_EXTGLOB_RECURSION:0,MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:QO,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{__proto__:null,"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,extglobChars(s){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${s.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(s){return s===!0?qO:vS}}});var Da=D($t=>{"use strict";var{REGEX_BACKSLASH:JO,REGEX_REMOVE_BACKSLASH:YO,REGEX_SPECIAL_CHARS:zO,REGEX_SPECIAL_CHARS_GLOBAL:ZO}=Ma();$t.isObject=s=>s!==null&&typeof s=="object"&&!Array.isArray(s);$t.hasRegexChars=s=>zO.test(s);$t.isRegexChar=s=>s.length===1&&$t.hasRegexChars(s);$t.escapeRegex=s=>s.replace(ZO,"\\$1");$t.toPosixSlashes=s=>s.replace(JO,"/");$t.isWindows=()=>{if(typeof navigator<"u"&&navigator.platform){let s=navigator.platform.toLowerCase();return s==="win32"||s==="windows"}return typeof process<"u"&&process.platform?process.platform==="win32":!1};$t.removeBackslashes=s=>s.replace(YO,t=>t==="\\"?"":t);$t.escapeLast=(s,t,e)=>{let i=s.lastIndexOf(t,e);return i===-1?s:s[i-1]==="\\"?$t.escapeLast(s,t,i-1):`${s.slice(0,i)}\\${s.slice(i)}`};$t.removePrefix=(s,t={})=>{let e=s;return e.startsWith("./")&&(e=e.slice(2),t.prefix="./"),e};$t.wrapOutput=(s,t={},e={})=>{let i=e.contains?"":"^",r=e.contains?"":"$",n=`${i}(?:${s})${r}`;return t.negated===!0&&(n=`(?:^(?!${n}).*$)`),n};$t.basename=(s,{windows:t}={})=>{let e=s.split(t?/[\\/]/:"/"),i=e[e.length-1];return i===""?e[e.length-2]:i}});var FS=D((xF,BS)=>{"use strict";var wS=Da(),{CHAR_ASTERISK:hf,CHAR_AT:ew,CHAR_BACKWARD_SLASH:In,CHAR_COMMA:tw,CHAR_DOT:ff,CHAR_EXCLAMATION_MARK:df,CHAR_FORWARD_SLASH:kS,CHAR_LEFT_CURLY_BRACE:mf,CHAR_LEFT_PARENTHESES:nc,CHAR_LEFT_SQUARE_BRACKET:sw,CHAR_PLUS:iw,CHAR_QUESTION_MARK:LS,CHAR_RIGHT_CURLY_BRACE:rw,CHAR_RIGHT_PARENTHESES:MS,CHAR_RIGHT_SQUARE_BRACKET:nw}=Ma(),DS=s=>s===kS||s===In,RS=s=>{s.isPrefix!==!0&&(s.depth=s.isGlobstar?1/0:1)},aw=(s,t)=>{let e=t||{},i=s.length-1,r=e.parts===!0||e.tokens===!0||e.scanToEnd===!0,n=[],a=[],o=[],l=s,c=-1,u=0,p=0,h=!1,f=!1,m=!1,d=!1,A=!1,y=!1,S=!1,P=!1,x=!1,v=!1,L=0,R,I,N={value:"",depth:0,isGlob:!1},b=()=>c>=i,g=()=>l.charCodeAt(c+1),_=()=>(R=I,l.charCodeAt(++c));for(;c<i;){I=_();let H;if(I===In){S=N.backslashes=!0,I=_(),I===mf&&(y=!0);continue}if(y===!0||I===mf){for(L++;b()!==!0&&(I=_());){if(I===In){S=N.backslashes=!0,_();continue}if(I===mf){L++;continue}if(y!==!0&&I===ff&&(I=_())===ff){if(h=N.isBrace=!0,m=N.isGlob=!0,v=!0,r===!0)continue;break}if(y!==!0&&I===tw){if(h=N.isBrace=!0,m=N.isGlob=!0,v=!0,r===!0)continue;break}if(I===rw&&(L--,L===0)){y=!1,h=N.isBrace=!0,v=!0;break}}if(r===!0)continue;break}if(I===kS){if(n.push(c),a.push(N),N={value:"",depth:0,isGlob:!1},v===!0)continue;if(R===ff&&c===u+1){u+=2;continue}p=c+1;continue}if(e.noext!==!0&&(I===iw||I===ew||I===hf||I===LS||I===df)===!0&&g()===nc){if(m=N.isGlob=!0,d=N.isExtglob=!0,v=!0,I===df&&c===u&&(x=!0),r===!0){let Se=0;for(;b()!==!0&&(I=_());){if(I===In){S=N.backslashes=!0,_();continue}if(I===nc){Se++;continue}if(I===MS&&--Se===0){v=!0;break}}continue}break}if(I===hf){if(R===hf&&(A=N.isGlobstar=!0),m=N.isGlob=!0,v=!0,r===!0)continue;break}if(I===LS){if(m=N.isGlob=!0,v=!0,r===!0)continue;break}if(I===sw){for(;b()!==!0&&(H=_());){if(H===In){S=N.backslashes=!0,_();continue}if(H===nw){f=N.isBracket=!0,m=N.isGlob=!0,v=!0;break}}if(r===!0)continue;break}if(e.nonegate!==!0&&I===df&&c===u){P=N.negated=!0,u++;continue}if(e.noparen!==!0&&I===nc){if(m=N.isGlob=!0,r===!0){let fe=1;for(;b()!==!0&&(I=_());){if(I===In){S=N.backslashes=!0,_();continue}if(I===nc){fe++;continue}if(I===MS&&--fe===0){v=!0;break}}continue}break}if(m===!0){if(v=!0,r===!0)continue;break}}e.noext===!0&&(d=!1,m=!1);let M=l,C="",T="";u>0&&(C=l.slice(0,u),l=l.slice(u),p-=u),M&&m===!0&&p>0?(M=l.slice(0,p),T=l.slice(p)):m===!0?(M="",T=l):M=l,M&&M!==""&&M!=="/"&&M!==l&&DS(M.charCodeAt(M.length-1))&&(M=M.slice(0,-1)),e.unescape===!0&&(T&&(T=wS.removeBackslashes(T)),M&&S===!0&&(M=wS.removeBackslashes(M)));let J={prefix:C,input:s,start:u,base:M,glob:T,isBrace:h,isBracket:f,isGlob:m,isExtglob:d,isGlobstar:A,negated:P,negatedExtglob:x};if(e.tokens===!0&&(J.maxDepth=0,DS(I)||a.push(N),J.tokens=a),e.parts===!0||e.tokens===!0){let H;for(let ae=0;ae<n.length;ae++){let Re=H!==void 0?H+1:u,ht=n[ae],Wt=s.slice(Re,ht);e.tokens&&(ae===0&&u!==0?(a[ae].isPrefix=!0,a[ae].value=C):a[ae].value=Wt,RS(a[ae]),J.maxDepth+=a[ae].depth),ht>=u&&(o.push(Wt),H=ht)}let fe=H!==void 0?H+1:u,Se=s.slice(fe);o.push(Se),e.tokens&&H&&H+1<s.length&&(a[a.length-1].value=Se,RS(a[a.length-1]),J.maxDepth+=a[a.length-1].depth),J.slashes=n,J.parts=o}return J};BS.exports=aw});var jS=D((vF,$S)=>{"use strict";var Ra=Ma(),os=Da(),{MAX_LENGTH:ac,POSIX_REGEX_SOURCE:ow,REGEX_NON_SPECIAL_CHARS:lw,REGEX_SPECIAL_CHARS_BACKREF:cw,REPLACEMENTS:VS}=Ra,uw=(s,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...s,t);s.sort();let e=`[${s.join("-")}]`;try{new RegExp(e)}catch{return s.map(r=>os.escapeRegex(r)).join("..")}return e},_n=(s,t)=>`Missing ${s}: "${t}" - use "\\\\${t}" to match literal characters`,US=s=>{let t=[],e=0,i=0,r=0,n="",a=!1;for(let o of s){if(a===!0){n+=o,a=!1;continue}if(o==="\\"){n+=o,a=!0;continue}if(o==='"'){r=r===1?0:1,n+=o;continue}if(r===0){if(o==="[")e++;else if(o==="]"&&e>0)e--;else if(e===0){if(o==="(")i++;else if(o===")"&&i>0)i--;else if(o==="|"&&i===0){t.push(n),n="";continue}}}n+=o}return t.push(n),t},pw=s=>{let t=!1;for(let e of s){if(t===!0){t=!1;continue}if(e==="\\"){t=!0;continue}if(/[?*+@!()[\]{}]/.test(e))return!1}return!0},gf=s=>{let t=s.trim(),e=!0;for(;e===!0;)e=!1,/^@\([^\\()[\]{}|]+\)$/.test(t)&&(t=t.slice(2,-1),e=!0);if(pw(t))return t.replace(/\\(.)/g,"$1")},hw=s=>{let t=s.map(gf).filter(Boolean);for(let e=0;e<t.length;e++)for(let i=e+1;i<t.length;i++){let r=t[e],n=t[i],a=r[0];if(!(!a||r!==a.repeat(r.length)||n!==a.repeat(n.length))&&(r===n||r.startsWith(n)||n.startsWith(r)))return!0}return!1},Af=(s,t=!0)=>{if(s[0]!=="+"&&s[0]!=="*"||s[1]!=="(")return;let e=0,i=0,r=0,n=!1;for(let a=1;a<s.length;a++){let o=s[a];if(n===!0){n=!1;continue}if(o==="\\"){n=!0;continue}if(o==='"'){r=r===1?0:1;continue}if(r!==1){if(o==="["){e++;continue}if(o==="]"&&e>0){e--;continue}if(!(e>0)){if(o==="("){i++;continue}if(o===")"&&(i--,i===0))return t===!0&&a!==s.length-1?void 0:{type:s[0],body:s.slice(2,a),end:a}}}}},fw=s=>`${s.length===1?os.escapeRegex(s[0]):`[${s.map(e=>os.escapeRegex(e)).join("")}]`}*`,dw=s=>{let t=0,e=[];for(;t<s.length;){let i=Af(s.slice(t),!1);if(!i||i.type!=="*")return;let r=US(i.body).map(a=>a.trim());if(r.length!==1)return;let n=gf(r[0]);if(!n||n.length!==1)return;e.push(n),t+=i.end+1}if(!(e.length<1))return e},mw=s=>{let t=0,e=s.trim(),i=Af(e);for(;i;)t++,e=i.body.trim(),i=Af(e);return t},Aw=(s,t)=>{if(t.maxExtglobRecursion===!1)return{risky:!1};let e=typeof t.maxExtglobRecursion=="number"?t.maxExtglobRecursion:Ra.DEFAULT_MAX_EXTGLOB_RECURSION,i=US(s).map(o=>o.trim());if(i.length>1&&(i.some(o=>o==="")||i.some(o=>/^[*?]+$/.test(o))||hw(i)))return{risky:!0};let r=[],n=!1,a=!0;for(let o of i){let l=dw(o);if(l){n=!0,r.push(...l);continue}let c=gf(o);if(c&&c.length===1){r.push(c);continue}if(a=!1,mw(o)>e)return{risky:!0}}return n?a?{risky:!0,safeOutput:fw([...new Set(r)])}:{risky:!0}:{risky:!1}},yf=(s,t)=>{if(typeof s!="string")throw new TypeError("Expected a string");s=VS[s]||s;let e={...t},i=typeof e.maxLength=="number"?Math.min(ac,e.maxLength):ac,r=s.length;if(r>i)throw new SyntaxError(`Input length: ${r}, exceeds maximum allowed length: ${i}`);let n={type:"bos",value:"",output:e.prepend||""},a=[n],o=e.capture?"":"?:",l=Ra.globChars(e.windows),c=Ra.extglobChars(l),{DOT_LITERAL:u,PLUS_LITERAL:p,SLASH_LITERAL:h,ONE_CHAR:f,DOTS_SLASH:m,NO_DOT:d,NO_DOT_SLASH:A,NO_DOTS_SLASH:y,QMARK:S,QMARK_NO_DOT:P,STAR:x,START_ANCHOR:v}=l,L=F=>`(${o}(?:(?!${v}${F.dot?m:u}).)*?)`,R=e.dot?"":d,I=e.dot?S:P,N=e.bash===!0?L(e):x;e.capture&&(N=`(${N})`),typeof e.noext=="boolean"&&(e.noextglob=e.noext);let b={input:s,index:-1,start:0,dot:e.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};s=os.removePrefix(s,b),r=s.length;let g=[],_=[],M=[],C=n,T,J=()=>b.index===r-1,H=b.peek=(F=1)=>s[b.index+F],fe=b.advance=()=>s[++b.index]||"",Se=()=>s.slice(b.index+1),ae=(F="",Ie=0)=>{b.consumed+=F,b.index+=Ie},Re=F=>{b.output+=F.output!=null?F.output:F.value,ae(F.value)},ht=()=>{let F=1;for(;H()==="!"&&(H(2)!=="("||H(3)==="?");)fe(),b.start++,F++;return F%2===0?!1:(b.negated=!0,b.start++,!0)},Wt=F=>{b[F]++,M.push(F)},ot=F=>{b[F]--,M.pop()},Y=F=>{if(C.type==="globstar"){let Ie=b.braces>0&&(F.type==="comma"||F.type==="brace"),B=F.extglob===!0||g.length&&(F.type==="pipe"||F.type==="paren");F.type!=="slash"&&F.type!=="paren"&&!Ie&&!B&&(b.output=b.output.slice(0,-C.output.length),C.type="star",C.value="*",C.output=N,b.output+=C.output)}if(g.length&&F.type!=="paren"&&(g[g.length-1].inner+=F.value),(F.value||F.output)&&Re(F),C&&C.type==="text"&&F.type==="text"){C.output=(C.output||C.value)+F.value,C.value+=F.value;return}F.prev=C,a.push(F),C=F},zi=(F,Ie)=>{let B={...c[Ie],conditions:1,inner:""};B.prev=C,B.parens=b.parens,B.output=b.output,B.startIndex=b.index,B.tokensIndex=a.length;let te=(e.capture?"(":"")+B.open;Wt("parens"),Y({type:F,value:Ie,output:b.output?"":f}),Y({type:"paren",extglob:!0,value:fe(),output:te}),g.push(B)},ro=F=>{let Ie=s.slice(F.startIndex,b.index+1),B=s.slice(F.startIndex+2,b.index),te=Aw(B,e);if((F.type==="plus"||F.type==="star")&&te.risky){let Ee=te.safeOutput?(F.output?"":f)+(e.capture?`(${te.safeOutput})`:te.safeOutput):void 0,Ls=a[F.tokensIndex];Ls.type="text",Ls.value=Ie,Ls.output=Ee||os.escapeRegex(Ie);for(let Zi=F.tokensIndex+1;Zi<a.length;Zi++)a[Zi].value="",a[Zi].output="",delete a[Zi].suffix;b.output=F.output+Ls.output,b.backtrack=!0,Y({type:"paren",extglob:!0,value:T,output:""}),ot("parens");return}let be=F.close+(e.capture?")":""),Ue;if(F.type==="negate"){let Ee=N;if(F.inner&&F.inner.length>1&&F.inner.includes("/")&&(Ee=L(e)),(Ee!==N||J()||/^\)+$/.test(Se()))&&(be=F.close=`)$))${Ee}`),F.inner.includes("*")&&(Ue=Se())&&/^\.[^\\/.]+$/.test(Ue)){let Ls=yf(Ue,{...t,fastpaths:!1}).output;be=F.close=`)${Ls})${Ee})`}F.prev.type==="bos"&&(b.negatedExtglob=!0)}Y({type:"paren",extglob:!0,value:T,output:be}),ot("parens")};if(e.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(s)){let F=!1,Ie=s.replace(cw,(B,te,be,Ue,Ee,Ls)=>Ue==="\\"?(F=!0,B):Ue==="?"?te?te+Ue+(Ee?S.repeat(Ee.length):""):Ls===0?I+(Ee?S.repeat(Ee.length):""):S.repeat(be.length):Ue==="."?u.repeat(be.length):Ue==="*"?te?te+Ue+(Ee?N:""):N:te?B:`\\${B}`);return F===!0&&(e.unescape===!0?Ie=Ie.replace(/\\/g,""):Ie=Ie.replace(/\\+/g,B=>B.length%2===0?"\\\\":B?"\\":"")),Ie===s&&e.contains===!0?(b.output=s,b):(b.output=os.wrapOutput(Ie,b,t),b)}for(;!J();){if(T=fe(),T==="\0")continue;if(T==="\\"){let B=H();if(B==="/"&&e.bash!==!0||B==="."||B===";")continue;if(!B){T+="\\",Y({type:"text",value:T});continue}let te=/^\\+/.exec(Se()),be=0;if(te&&te[0].length>2&&(be=te[0].length,b.index+=be,be%2!==0&&(T+="\\")),e.unescape===!0?T=fe():T+=fe(),b.brackets===0){Y({type:"text",value:T});continue}}if(b.brackets>0&&(T!=="]"||C.value==="["||C.value==="[^")){if(e.posix!==!1&&T===":"){let B=C.value.slice(1);if(B.includes("[")&&(C.posix=!0,B.includes(":"))){let te=C.value.lastIndexOf("["),be=C.value.slice(0,te),Ue=C.value.slice(te+2),Ee=ow[Ue];if(Ee){C.value=be+Ee,b.backtrack=!0,fe(),!n.output&&a.indexOf(C)===1&&(n.output=f);continue}}}(T==="["&&H()!==":"||T==="-"&&H()==="]")&&(T=`\\${T}`),T==="]"&&(C.value==="["||C.value==="[^")&&(T=`\\${T}`),e.posix===!0&&T==="!"&&C.value==="["&&(T="^"),C.value+=T,Re({value:T});continue}if(b.quotes===1&&T!=='"'){T=os.escapeRegex(T),C.value+=T,Re({value:T});continue}if(T==='"'){b.quotes=b.quotes===1?0:1,e.keepQuotes===!0&&Y({type:"text",value:T});continue}if(T==="("){Wt("parens"),Y({type:"paren",value:T});continue}if(T===")"){if(b.parens===0&&e.strictBrackets===!0)throw new SyntaxError(_n("opening","("));let B=g[g.length-1];if(B&&b.parens===B.parens+1){ro(g.pop());continue}Y({type:"paren",value:T,output:b.parens?")":"\\)"}),ot("parens");continue}if(T==="["){if(e.nobracket===!0||!Se().includes("]")){if(e.nobracket!==!0&&e.strictBrackets===!0)throw new SyntaxError(_n("closing","]"));T=`\\${T}`}else Wt("brackets");Y({type:"bracket",value:T});continue}if(T==="]"){if(e.nobracket===!0||C&&C.type==="bracket"&&C.value.length===1){Y({type:"text",value:T,output:`\\${T}`});continue}if(b.brackets===0){if(e.strictBrackets===!0)throw new SyntaxError(_n("opening","["));Y({type:"text",value:T,output:`\\${T}`});continue}ot("brackets");let B=C.value.slice(1);if(C.posix!==!0&&B[0]==="^"&&!B.includes("/")&&(T=`/${T}`),C.value+=T,Re({value:T}),e.literalBrackets===!1||os.hasRegexChars(B))continue;let te=os.escapeRegex(C.value);if(b.output=b.output.slice(0,-C.value.length),e.literalBrackets===!0){b.output+=te,C.value=te;continue}C.value=`(${o}${te}|${C.value})`,b.output+=C.value;continue}if(T==="{"&&e.nobrace!==!0){Wt("braces");let B={type:"brace",value:T,output:"(",outputIndex:b.output.length,tokensIndex:b.tokens.length};_.push(B),Y(B);continue}if(T==="}"){let B=_[_.length-1];if(e.nobrace===!0||!B){Y({type:"text",value:T,output:T});continue}let te=")";if(B.dots===!0){let be=a.slice(),Ue=[];for(let Ee=be.length-1;Ee>=0&&(a.pop(),be[Ee].type!=="brace");Ee--)be[Ee].type!=="dots"&&Ue.unshift(be[Ee].value);te=uw(Ue,e),b.backtrack=!0}if(B.comma!==!0&&B.dots!==!0){let be=b.output.slice(0,B.outputIndex),Ue=b.tokens.slice(B.tokensIndex);B.value=B.output="\\{",T=te="\\}",b.output=be;for(let Ee of Ue)b.output+=Ee.output||Ee.value}Y({type:"brace",value:T,output:te}),ot("braces"),_.pop();continue}if(T==="|"){g.length>0&&g[g.length-1].conditions++,Y({type:"text",value:T});continue}if(T===","){let B=T,te=_[_.length-1];te&&M[M.length-1]==="braces"&&(te.comma=!0,B="|"),Y({type:"comma",value:T,output:B});continue}if(T==="/"){if(C.type==="dot"&&b.index===b.start+1){b.start=b.index+1,b.consumed="",b.output="",a.pop(),C=n;continue}Y({type:"slash",value:T,output:h});continue}if(T==="."){if(b.braces>0&&C.type==="dot"){C.value==="."&&(C.output=u);let B=_[_.length-1];C.type="dots",C.output+=T,C.value+=T,B.dots=!0;continue}if(b.braces+b.parens===0&&C.type!=="bos"&&C.type!=="slash"){Y({type:"text",value:T,output:u});continue}Y({type:"dot",value:T,output:u});continue}if(T==="?"){if(!(C&&C.value==="(")&&e.noextglob!==!0&&H()==="("&&H(2)!=="?"){zi("qmark",T);continue}if(C&&C.type==="paren"){let te=H(),be=T;(C.value==="("&&!/[!=<:]/.test(te)||te==="<"&&!/<([!=]|\w+>)/.test(Se()))&&(be=`\\${T}`),Y({type:"text",value:T,output:be});continue}if(e.dot!==!0&&(C.type==="slash"||C.type==="bos")){Y({type:"qmark",value:T,output:P});continue}Y({type:"qmark",value:T,output:S});continue}if(T==="!"){if(e.noextglob!==!0&&H()==="("&&(H(2)!=="?"||!/[!=<:]/.test(H(3)))){zi("negate",T);continue}if(e.nonegate!==!0&&b.index===0){ht();continue}}if(T==="+"){if(e.noextglob!==!0&&H()==="("&&H(2)!=="?"){zi("plus",T);continue}if(C&&C.value==="("||e.regex===!1){Y({type:"plus",value:T,output:p});continue}if(C&&(C.type==="bracket"||C.type==="paren"||C.type==="brace")||b.parens>0){Y({type:"plus",value:T});continue}Y({type:"plus",value:p});continue}if(T==="@"){if(e.noextglob!==!0&&H()==="("&&H(2)!=="?"){Y({type:"at",extglob:!0,value:T,output:""});continue}Y({type:"text",value:T});continue}if(T!=="*"){(T==="$"||T==="^")&&(T=`\\${T}`);let B=lw.exec(Se());B&&(T+=B[0],b.index+=B[0].length),Y({type:"text",value:T});continue}if(C&&(C.type==="globstar"||C.star===!0)){C.type="star",C.star=!0,C.value+=T,C.output=N,b.backtrack=!0,b.globstar=!0,ae(T);continue}let F=Se();if(e.noextglob!==!0&&/^\([^?]/.test(F)){zi("star",T);continue}if(C.type==="star"){if(e.noglobstar===!0){ae(T);continue}let B=C.prev,te=B.prev,be=B.type==="slash"||B.type==="bos",Ue=te&&(te.type==="star"||te.type==="globstar");if(e.bash===!0&&(!be||F[0]&&F[0]!=="/")){Y({type:"star",value:T,output:""});continue}let Ee=b.braces>0&&(B.type==="comma"||B.type==="brace"),Ls=g.length&&(B.type==="pipe"||B.type==="paren");if(!be&&B.type!=="paren"&&!Ee&&!Ls){Y({type:"star",value:T,output:""});continue}for(;F.slice(0,3)==="/**";){let $r=s[b.index+4];if($r&&$r!=="/")break;F=F.slice(3),ae("/**",3)}let Zi=J()||b.parens>0&&F===")".repeat(b.parens)&&!g.some($r=>$r.type==="negate");if(B.type==="bos"&&J()){C.type="globstar",C.value+=T,C.output=L(e),b.output=C.output,b.globstar=!0,ae(T);continue}if(B.type==="slash"&&B.prev.type!=="bos"&&!Ue&&Zi){b.output=b.output.slice(0,-(B.output+C.output).length),B.output=`(?:${B.output}`,C.type="globstar",C.output=L(e)+(e.strictSlashes?")":"|$)"),C.value+=T,b.globstar=!0,b.output+=B.output+C.output,ae(T);continue}if(B.type==="slash"&&B.prev.type!=="bos"&&F[0]==="/"){let $r=F[1]!==void 0?"|$":"";b.output=b.output.slice(0,-(B.output+C.output).length),B.output=`(?:${B.output}`,C.type="globstar",C.output=`${L(e)}${h}|${h}${$r})`,C.value+=T,b.output+=B.output+C.output,b.globstar=!0,ae(T+fe()),Y({type:"slash",value:"/",output:""});continue}if(B.type==="bos"&&F[0]==="/"){C.type="globstar",C.value+=T,C.output=`(?:^|${h}|${L(e)}${h})`,b.output=C.output,b.globstar=!0,ae(T+fe()),Y({type:"slash",value:"/",output:""});continue}b.output=b.output.slice(0,-C.output.length),C.type="globstar",C.output=L(e),C.value+=T,b.output+=C.output,b.globstar=!0,ae(T);continue}let Ie={type:"star",value:T,output:N};if(e.bash===!0){Ie.output=".*?",(C.type==="bos"||C.type==="slash")&&(Ie.output=R+Ie.output),Y(Ie);continue}if(C&&(C.type==="bracket"||C.type==="paren")&&e.regex===!0){Ie.output=T,Y(Ie);continue}(b.index===b.start||C.type==="slash"||C.type==="dot")&&(C.type==="dot"?(b.output+=A,C.output+=A):e.dot===!0?(b.output+=y,C.output+=y):(b.output+=R,C.output+=R),H()!=="*"&&(b.output+=f,C.output+=f)),Y(Ie)}for(;b.brackets>0;){if(e.strictBrackets===!0)throw new SyntaxError(_n("closing","]"));b.output=os.escapeLast(b.output,"["),ot("brackets")}for(;b.parens>0;){if(e.strictBrackets===!0)throw new SyntaxError(_n("closing",")"));b.output=os.escapeLast(b.output,"("),ot("parens")}for(;b.braces>0;){if(e.strictBrackets===!0)throw new SyntaxError(_n("closing","}"));b.output=os.escapeLast(b.output,"{"),ot("braces")}if(e.strictSlashes!==!0&&(C.type==="star"||C.type==="bracket")&&Y({type:"maybe_slash",value:"",output:`${h}?`}),b.backtrack===!0){b.output="";for(let F of b.tokens)b.output+=F.output!=null?F.output:F.value,F.suffix&&(b.output+=F.suffix)}return b};yf.fastpaths=(s,t)=>{let e={...t},i=typeof e.maxLength=="number"?Math.min(ac,e.maxLength):ac,r=s.length;if(r>i)throw new SyntaxError(`Input length: ${r}, exceeds maximum allowed length: ${i}`);s=VS[s]||s;let{DOT_LITERAL:n,SLASH_LITERAL:a,ONE_CHAR:o,DOTS_SLASH:l,NO_DOT:c,NO_DOTS:u,NO_DOTS_SLASH:p,STAR:h,START_ANCHOR:f}=Ra.globChars(e.windows),m=e.dot?u:c,d=e.dot?p:c,A=e.capture?"":"?:",y={negated:!1,prefix:""},S=e.bash===!0?".*?":h;e.capture&&(S=`(${S})`);let P=R=>R.noglobstar===!0?S:`(${A}(?:(?!${f}${R.dot?l:n}).)*?)`,x=R=>{switch(R){case"*":return`${m}${o}${S}`;case".*":return`${n}${o}${S}`;case"*.*":return`${m}${S}${n}${o}${S}`;case"*/*":return`${m}${S}${a}${o}${d}${S}`;case"**":return m+P(e);case"**/*":return`(?:${m}${P(e)}${a})?${d}${o}${S}`;case"**/*.*":return`(?:${m}${P(e)}${a})?${d}${S}${n}${o}${S}`;case"**/.*":return`(?:${m}${P(e)}${a})?${n}${o}${S}`;default:{let I=/^(.*?)\.(\w+)$/.exec(R);if(!I)return;let N=x(I[1]);return N?N+n+I[2]:void 0}}},v=os.removePrefix(s,y),L=x(v);return L&&e.strictSlashes!==!0&&(L+=`${a}?`),L};$S.exports=yf});var GS=D((OF,KS)=>{"use strict";var gw=FS(),Ef=jS(),HS=Da(),yw=Ma(),Ew=s=>s&&typeof s=="object"&&!Array.isArray(s),Ye=(s,t,e=!1)=>{if(Array.isArray(s)){let u=s.map(h=>Ye(h,t,e));return h=>{for(let f of u){let m=f(h);if(m)return m}return!1}}let i=Ew(s)&&s.tokens&&s.input;if(s===""||typeof s!="string"&&!i)throw new TypeError("Expected pattern to be a non-empty string");let r=t||{},n=r.windows,a=i?Ye.compileRe(s,t):Ye.makeRe(s,t,!1,!0),o=a.state;delete a.state;let l=()=>!1;if(r.ignore){let u={...t,ignore:null,onMatch:null,onResult:null};l=Ye(r.ignore,u,e)}let c=(u,p=!1)=>{let{isMatch:h,match:f,output:m}=Ye.test(u,a,t,{glob:s,posix:n}),d={glob:s,state:o,regex:a,posix:n,input:u,output:m,match:f,isMatch:h};return typeof r.onResult=="function"&&r.onResult(d),h===!1?(d.isMatch=!1,p?d:!1):l(u)?(typeof r.onIgnore=="function"&&r.onIgnore(d),d.isMatch=!1,p?d:!1):(typeof r.onMatch=="function"&&r.onMatch(d),p?d:!0)};return e&&(c.state=o),c};Ye.test=(s,t,e,{glob:i,posix:r}={})=>{if(typeof s!="string")throw new TypeError("Expected input to be a string");if(s==="")return{isMatch:!1,output:""};let n=e||{},a=n.format||(r?HS.toPosixSlashes:null),o=s===i,l=o&&a?a(s):s;return o===!1&&(l=a?a(s):s,o=l===i),(o===!1||n.capture===!0)&&(n.matchBase===!0||n.basename===!0?o=Ye.matchBase(s,t,e,r):o=t.exec(l)),{isMatch:!!o,match:o,output:l}};Ye.matchBase=(s,t,e,i=e&&e.windows)=>(t instanceof RegExp?t:Ye.makeRe(t,e)).test(HS.basename(s,{windows:i}));Ye.isMatch=(s,t,e)=>Ye(t,e)(s);Ye.parse=(s,t)=>Array.isArray(s)?s.map(e=>Ye.parse(e,t)):Ef(s,{...t,fastpaths:!1});Ye.scan=(s,t)=>gw(s,t);Ye.compileRe=(s,t,e=!1,i=!1)=>{if(e===!0)return s.output;let r=t||{},n=r.contains?"":"^",a=r.contains?"":"$",o=`${n}(?:${s.output})${a}`;s&&s.negated===!0&&(o=`^(?!${o}).*$`);let l=Ye.toRegex(o,t);return i===!0&&(l.state=s),l};Ye.makeRe=(s,t={},e=!1,i=!1)=>{if(!s||typeof s!="string")throw new TypeError("Expected a non-empty string");let r={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(s[0]==="."||s[0]==="*")&&(r.output=Ef.fastpaths(s,t)),r.output||(r=Ef(s,t)),Ye.compileRe(r,t,e,i)};Ye.toRegex=(s,t)=>{try{let e=t||{};return new RegExp(s,e.flags||(e.nocase?"i":""))}catch(e){if(t&&t.debug===!0)throw e;return/$^/}};Ye.constants=yw;KS.exports=Ye});var QS=D((wF,qS)=>{"use strict";var WS=GS(),Sw=Da();function XS(s,t,e=!1){return t&&(t.windows===null||t.windows===void 0)&&(t={...t,windows:Sw.isWindows()}),WS(s,t,e)}Object.assign(XS,WS);qS.exports=XS});var YS=D(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});Sf.generateUnicode=bw;var JS=ft();function*bw(s,t,e){if(Tw(s)){let i=yield*(0,JS.startBoundary)("template",t,e);yield Cw(s),yield(0,JS.endBoundary)(i,t+s.length)}else yield[s,"template",t,e]}function Tw(s){return s.includes("\\")||s.includes(`
|
|
56
|
+
`)}function Cw(s){return s.split("").map(t=>{let e=t.charCodeAt(0).toString(16).padStart(4,"0");return e.length>2?"\\u"+e:t}).join("")}});var lc=D(ls=>{"use strict";var Iw=ls&&ls.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),_w=ls&&ls.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),Pw=ls&&ls.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&Iw(e,t,i[r]);return _w(e,t),e}})();Object.defineProperty(ls,"__esModule",{value:!0});ls.generateElementEvents=Nw;ls.generateEventArg=Tf;ls.generateEventExpression=tb;ls.generateModelEventExpression=sb;ls.isCompoundExpression=ib;var ka=Pw(Ve()),oc=at(),Lr=$e(),zS=nt(),Ns=_e(),bf=ft(),ZS=vr(),eb=as();function*Nw(s,t,e,i,r,n){let a=[];for(let l of e.props)if(l.type===ka.NodeTypes.DIRECTIVE&&(l.name==="on"&&l.arg?.type===ka.NodeTypes.SIMPLE_EXPRESSION&&l.arg.isStatic||s.vueCompilerOptions.strictVModel&&l.name==="model"&&(!l.arg||l.arg.type===ka.NodeTypes.SIMPLE_EXPRESSION&&l.arg.isStatic))){let c=l.arg?.loc.source??"model-value",u=l.arg?.loc.start.offset,p="on-",h="";l.name==="model"?(p="onUpdate:",h="update:"):c.startsWith("vue:")&&(c=c.slice(4),u=u+4,p="onVnode-",h="vnode-");let f=(0,oc.camelize)(p+c),m=h+c;a.push({prop:l,source:c,offset:u,emitPrefix:h,propPrefix:p,propName:f,emitName:m})}if(!a.length)return;let o=t.getInternalVariable();yield`let ${o}!: ${zS.names.ResolveEmits}<typeof ${i}, typeof ${r()}.emit>${Ns.endOfLine}`,yield`const ${t.getInternalVariable()}: `;for(let l=0;l<a.length;l++){let{propName:c,emitName:u}=a[l];l>0&&(yield" & "),yield`${zS.names.NormalizeComponentEvent}<typeof ${n()}, typeof ${o}, '${c}', '${u}', '${(0,oc.camelize)(u)}'>`}yield` = {${Ns.newLine}`;for(let{prop:l,source:c,offset:u,emitPrefix:p,propPrefix:h,propName:f}of a)l.name==="on"&&(yield"...{ ",yield*Tf(s,c,u,p.slice(0,-1),Lr.codeFeatures.navigation),yield`: {} as any } as typeof ${o},${Ns.newLine}`),l.name==="on"?(yield*Tf(s,c,u,h.slice(0,-1)),yield": ",yield*tb(s,t,l)):(yield`'${f}': `,yield*sb(s,t,l)),yield`,${Ns.newLine}`;yield`}${Ns.endOfLine}`}function*Tf(s,t,e,i="on",r){if(r??={...Lr.codeFeatures.semanticWithoutHighlight,...Lr.codeFeatures.navigationWithoutRename,...s.vueCompilerOptions.checkUnknownEvents?Lr.codeFeatures.verification:Lr.codeFeatures.doNotReportTs2353AndTs2561},i.length&&(t=(0,oc.capitalize)(t)),Ns.identifierRegex.test((0,oc.camelize)(t))){let n=yield*(0,bf.startBoundary)("template",e,r);yield i,yield*(0,ZS.generateCamelized)(t,"template",e,{__combineToken:n})}else{let n=yield*(0,bf.startBoundary)("template",e,r);yield"'",yield i,yield*(0,ZS.generateCamelized)(t,"template",e,{__combineToken:n}),yield"'",yield(0,bf.endBoundary)(n,e+t.length)}}function*tb(s,t,e){if(e.exp?.type===ka.NodeTypes.SIMPLE_EXPRESSION){let i=(0,Ns.getTypeScriptAST)(s.typescript,s.template,e.exp.content),r=ib(s.typescript,i),n=(0,eb.generateInterpolation)(s,t,s.template,Lr.codeFeatures.all,e.exp.content,e.exp.loc.start.offset,r?"":"(",r?"":")");if(r){yield`(...[$event]) => {${Ns.newLine}`;let a=t.startScope();t.declare("$event"),yield*t.generateConditionGuards(),yield*n,yield Ns.endOfLine,yield*a(),yield"}",t.inlayHints.push({blockName:"template",offset:e.exp.loc.start.offset,setting:"vue.inlayHints.inlineHandlerLeading",label:"$event =>",paddingRight:!0,tooltip:["`$event` is a hidden parameter, you can use it in this callback.","To hide this hint, set `vue.inlayHints.inlineHandlerLeading` to `false` in IDE settings.","[More info](https://github.com/vuejs/language-tools/issues/2445#issuecomment-1444771420)"].join(`
|
|
57
57
|
|
|
58
|
-
`)})}else yield*n}else yield"() => {}"}function*sb(s,t,e){e.exp?.type===ka.NodeTypes.SIMPLE_EXPRESSION?(yield`(...[$event]) => {${Ns.newLine}`,yield*t.generateConditionGuards(),yield*(0,eb.generateInterpolation)(s,t,s.template,Lr.codeFeatures.verification,e.exp.content,e.exp.loc.start.offset),yield` = $event${Ns.endOfLine}`,yield"}"):yield"() => {}"}function ib(s,t){let e=!0;return t.statements.length===0?e=!1:t.statements.length===1&&s.forEachChild(t,i=>{s.isExpressionStatement(i)?s.forEachChild(i,r=>{(s.isArrowFunction(r)||rb(s,r))&&(e=!1)}):s.isFunctionDeclaration(i)&&(e=!1)}),e}function rb(s,t){return s.isIdentifier(t)?!0:s.isPropertyAccessExpression(t)?rb(s,t.expression):!1}});var uc=D(js=>{"use strict";var Nw=js&&js.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),xw=js&&js.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),vw=js&&js.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&Nw(e,t,i[r]);return xw(e,t),e}})();Object.defineProperty(js,"__esModule",{value:!0});js.generateElementProps=Dw;js.generatePropExp=_f;var ze=vw(Ve()),Cf=at(),If=QS(),cc=Ut(),xs=$e(),Ow=rc(),ub=nt(),Pn=_e(),$s=ft(),ww=vr(),Lw=YS(),Mw=Pf(),nb=lc(),ab=as(),ob=La();function*Dw(s,t,e,i,r,n){let a=e.tagType===ze.ElementTypes.COMPONENT;for(let o of i)o.type===ze.NodeTypes.DIRECTIVE&&o.name==="on"&&(o.arg?.type===ze.NodeTypes.SIMPLE_EXPRESSION&&!o.arg.loc.source.startsWith("[")&&!o.arg.loc.source.endsWith("]")?(a?yield`...{ '${(0,Cf.camelize)("on-"+o.arg.loc.source)}': {} as any },`:(yield"...{ ",yield*(0,nb.generateEventArg)(s,o.arg.loc.source,o.arg.loc.start.offset),yield": ",yield*(0,nb.generateEventExpression)(s,t,o),yield"},"),yield Pn.newLine):o.arg?.type===ze.NodeTypes.SIMPLE_EXPRESSION&&o.exp?.type===ze.NodeTypes.SIMPLE_EXPRESSION&&o.arg.loc.source.startsWith("[")&&o.arg.loc.source.endsWith("]")?(n?.push({node:o.arg,prefix:"(",suffix:")"}),n?.push({node:o.exp,prefix:"() => {",suffix:"}"})):!o.arg&&o.exp?.type===ze.NodeTypes.SIMPLE_EXPRESSION&&n?.push({node:o.exp,prefix:"(",suffix:")"}));for(let o of i)if(o.type===ze.NodeTypes.DIRECTIVE&&(o.name==="bind"&&o.arg?.type===ze.NodeTypes.SIMPLE_EXPRESSION||o.name==="model")&&(!o.exp||o.exp.type===ze.NodeTypes.SIMPLE_EXPRESSION)){let l;if(o.arg?.type===ze.NodeTypes.SIMPLE_EXPRESSION?l=o.arg.constType===ze.ConstantTypes.CAN_STRINGIFY?o.arg.content:o.arg.loc.source:l=kw(e,s.vueCompilerOptions),l===void 0||s.vueCompilerOptions.dataAttributes.some(d=>(0,If.isMatch)(l,d))){o.exp&&o.exp.constType!==ze.ConstantTypes.CAN_STRINGIFY&&n?.push({node:o.exp,prefix:"(",suffix:")"});continue}o.name==="bind"&&o.modifiers.some(d=>d.content==="prop"||d.content==="attr")&&(l=l.slice(1));let c=l==="style"||l==="class",u=lb(s,e,o,l),h=cb(r);c&&(yield"...{ ");let p=yield*(0,$s.startBoundary)("template",o.loc.start.offset,xs.codeFeatures.verification);if(o.arg)yield*(0,ob.generateObjectProperty)(s,t,l,o.arg.loc.start.offset,h,u);else{let d=yield*(0,$s.startBoundary)("template",o.loc.start.offset,xs.codeFeatures.withoutHighlightAndCompletion);yield l,yield(0,$s.endBoundary)(d,o.loc.start.offset+7)}yield": ";let f=o.arg?.loc??o.loc,m=yield*(0,$s.startBoundary)("template",f.start.offset,xs.codeFeatures.verification);if(yield*_f(s,t,o,o.exp),yield(0,$s.endBoundary)(m,f.end.offset),yield(0,$s.endBoundary)(p,o.loc.end.offset),c&&(yield" }"),yield`,${Pn.newLine}`,a&&o.name==="model"&&o.modifiers.length){let d=o.arg?.type===ze.NodeTypes.SIMPLE_EXPRESSION?o.arg.isStatic?(0,Cf.camelize)(l)+"Modifiers":`[${ub.names.tryAsConstant}(\`\${${o.arg.content}}Modifiers\`)]`:"modelModifiers";yield*(0,Mw.generateModifiers)(s,t,o,d),yield Pn.newLine}}else if(o.type===ze.NodeTypes.ATTRIBUTE){if(s.vueCompilerOptions.dataAttributes.some(f=>(0,If.isMatch)(o.name,f)))continue;let l=o.name==="style"||o.name==="class",c=lb(s,e,o,o.name),u=cb(r);l&&(yield"...{ ");let h=yield*(0,$s.startBoundary)("template",o.loc.start.offset,xs.codeFeatures.verification),p=s.template.content.slice(o.loc.start.offset,o.loc.start.offset+1);if(p==="."||p==="#")for(let f of o.name)yield[f,"template",o.loc.start.offset,u];else yield*(0,ob.generateObjectProperty)(s,t,o.name,o.loc.start.offset,u,c);yield": ",o.name==="style"?yield"{}":o.value?yield*Rw(o.value,xs.codeFeatures.withoutNavigation):yield"true",yield(0,$s.endBoundary)(h,o.loc.end.offset),l&&(yield" }"),yield`,${Pn.newLine}`}else if(o.name==="bind"&&!o.arg&&o.exp?.type===ze.NodeTypes.SIMPLE_EXPRESSION)if(o.exp.loc.source==="$attrs")n?.push({node:o.exp,prefix:"(",suffix:")"});else{let l=yield*(0,$s.startBoundary)("template",o.exp.loc.start.offset,xs.codeFeatures.verification);yield"...",yield*_f(s,t,o,o.exp),yield(0,$s.endBoundary)(l,o.exp.loc.end.offset),yield`,${Pn.newLine}`}}function*_f(s,t,e,i){if(!i)yield"{}";else if(e.arg?.loc.start.offset!==e.exp?.loc.start.offset)yield*(0,ab.generateInterpolation)(s,t,s.template,xs.codeFeatures.all,i.loc.source,i.loc.start.offset,"(",")");else{let r=(0,Cf.camelize)(i.loc.source);if(Pn.identifierRegex.test(r)){let n=(0,ww.generateCamelized)(i.loc.source,"template",i.loc.start.offset,{...xs.codeFeatures.withoutHighlightAndCompletion,__shorthandExpression:"html"});(0,ab.shouldIdentifierSkipped)(t,r)?yield*n:s.setupRefs.has(r)?(yield*n,yield".value"):(t.recordComponentAccess("template",r,i.loc.start.offset),yield ub.names.ctx,yield".",yield*n),t.inlayHints.push((0,Ow.createVBindShorthandInlayHintInfo)(e.loc,r))}}}function*Rw(s,t){let e=s.loc.source.startsWith("'")?"'":'"',[i,r]=(0,cc.normalizeAttributeValue)(s);yield e,yield*(0,Lw.generateUnicode)(i,r,t),yield e}function lb(s,t,e,i){return(t.tagType===ze.ElementTypes.COMPONENT||t.tagType===ze.ElementTypes.SLOT)&&(e.type!==ze.NodeTypes.DIRECTIVE||e.arg?.type===ze.NodeTypes.SIMPLE_EXPRESSION&&e.arg.isStatic)&&(0,cc.hyphenateAttr)(i)===i&&(t.tagType===ze.ElementTypes.SLOT||!s.vueCompilerOptions.htmlAttributes.some(r=>(0,If.isMatch)(i,r)))}function cb(s){return{...xs.codeFeatures.withoutHighlightAndCompletion,...s?xs.codeFeatures.verification:xs.codeFeatures.doNotReportTs2353AndTs2561,__propsCompletion:!0}}function kw(s,t){for(let e in t.experimentalModelPropName){let i=t.experimentalModelPropName[e];for(let r in i)if(s.tag===r||s.tag===(0,cc.hyphenateTag)(r)){let n=i[r];if(typeof n=="object"){let a=Array.isArray(n)?n:[n];for(let o of a){let l=!1;for(let c in o){let u=s.props.find(h=>h.type===ze.NodeTypes.ATTRIBUTE&&h.name===c);if(!u||u.value?.content!==o[c]){l=!0;break}}if(!l)return e||void 0}}}}for(let e in t.experimentalModelPropName){let i=t.experimentalModelPropName[e];for(let r in i)if((s.tag===r||s.tag===(0,cc.hyphenateTag)(r))&&i[r]===!0)return e||void 0}return"modelValue"}});var Pf=D(Ks=>{"use strict";var Bw=Ks&&Ks.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),Fw=Ks&&Ks.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),Vw=Ks&&Ks.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&Bw(e,t,i[r]);return Fw(e,t),e}})();Object.defineProperty(Ks,"__esModule",{value:!0});Ks.generateElementDirectives=Ww;Ks.generateModifiers=hb;var vf=Vw(Ve()),Nf=at(),mi=$e(),xf=nt(),Uw=_e(),Hs=ft(),$w=vr(),jw=xa(),Hw=uc(),Kw=as(),Gw=La();function*Ww(s,t,e){for(let i of e.props){if(i.type!==vf.NodeTypes.DIRECTIVE||i.name==="slot"||i.name==="on"||i.name==="model"||i.name==="bind")continue;let r=yield*(0,Hs.startBoundary)("template",i.loc.start.offset,mi.codeFeatures.verification);yield`${xf.names.asFunctionalDirective}(`,yield*Xw(s,t,i),yield`, {} as import('${s.vueCompilerOptions.lib}').ObjectDirective)(null!, { ...${xf.names.directiveBindingRestFields}, `,yield*qw(s,t,i),yield*hb(s,t,i),yield*Qw(s,t,i),yield" }, null!, null!)",yield(0,Hs.endBoundary)(r,i.loc.end.offset),yield Uw.endOfLine}}function*Xw(s,t,e){let i="v-"+e.name,r=e.loc.start.offset,n=yield*(0,Hs.startBoundary)("template",r,mi.codeFeatures.verification);yield xf.names.directives,yield".",yield*(0,$w.generateCamelized)(i,"template",e.loc.start.offset,{...mi.codeFeatures.withoutHighlightAndCompletion,verification:s.vueCompilerOptions.checkUnknownDirectives&&!(0,Nf.isBuiltInDirective)(e.name)}),(0,Nf.isBuiltInDirective)(e.name)||t.recordComponentAccess("template",(0,Nf.camelize)(i),e.loc.start.offset),yield(0,Hs.endBoundary)(n,r+i.length)}function*qw(s,t,e){let{arg:i}=e;if(i?.type!==vf.NodeTypes.SIMPLE_EXPRESSION)return;let r=i.loc.start.offset+i.loc.source.indexOf(i.content),n=yield*(0,Hs.startBoundary)("template",r,mi.codeFeatures.verification);yield"arg",yield(0,Hs.endBoundary)(n,r+i.content.length),yield": ",i.isStatic?yield*(0,jw.generateStringLiteralKey)(i.content,r,mi.codeFeatures.all):yield*(0,Kw.generateInterpolation)(s,t,s.template,mi.codeFeatures.all,i.content,r,"(",")"),yield", "}function*hb(s,t,e,i="modifiers"){let{modifiers:r}=e;if(!r.length)return;let n=r[0].loc.start.offset-1,a=r.at(-1).loc.end.offset,o=yield*(0,Hs.startBoundary)("template",n,mi.codeFeatures.verification);yield i,yield(0,Hs.endBoundary)(o,a),yield": { ";for(let l of r)yield*(0,Gw.generateObjectProperty)(s,t,l.content,l.loc.start.offset,mi.codeFeatures.withoutHighlight),yield": true, ";yield"}, "}function*Qw(s,t,e){let{exp:i}=e;if(i?.type!==vf.NodeTypes.SIMPLE_EXPRESSION)return;let r=yield*(0,Hs.startBoundary)("template",i.loc.start.offset,mi.codeFeatures.verification);yield"value",yield(0,Hs.endBoundary)(r,i.loc.end.offset),yield": ",yield*(0,Hw.generatePropExp)(s,t,e,i)}});var wf=D(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});Of.generatePropertyAccess=Zw;var Jw=_e(),Yw=xa(),zw=as();function*Zw(s,t,e,i,r){e.startsWith("[")&&e.endsWith("]")?yield*(0,zw.generateInterpolation)(s,t,s.template,r,e,i):Jw.identifierRegex.test(e)?(yield".",yield[e,"template",i,r]):(yield"[",yield*(0,Yw.generateStringLiteralKey)(e,i,r),yield"]")}});var pb=D(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});Lf.generateEscaped=eL;function*eL(s,t,e,i,r){let n=s.split(r),a=i.__combineToken??Symbol(),o=!1;for(let l=0;l<n.length;l++){let c=n[l];o&&(yield"\\"),yield[c,t,e,l===0?{...i,__combineToken:a}:{__combineToken:a}],e+=c.length,o=!o}}});var Df=D(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});Mr.references=void 0;Mr.generateStyleScopedClassReference=iL;var Mf=$e(),fb=nt(),db=_e(),mb=ft(),tL=pb(),sL=/([\\'])/;Mr.references=new WeakMap;function*iL(s,t,e,i=e){if(!t){yield`/** @type {${fb.names.StyleScopedClasses}['`,yield["","template",e,Mf.codeFeatures.completion],yield`']} */${db.endOfLine}`;return}let r=Mr.references.get(s);if(!r||r[0]!==s.content){let a=[];Mr.references.set(s,[s.content,a]),a.push([t,e])}else r[1].push([t,e]);yield`/** @type {${fb.names.StyleScopedClasses}[`;let n=yield*(0,mb.startBoundary)(s.name,i,Mf.codeFeatures.navigation);yield"'",yield*(0,tL.generateEscaped)(t,s.name,e,Mf.codeFeatures.navigationAndCompletion,sL),yield"'",yield(0,mb.endBoundary)(n,e+t.length),yield`]} */${db.endOfLine}`}});var Bf=D(Ai=>{"use strict";var rL=Ai&&Ai.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),nL=Ai&&Ai.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),aL=Ai&&Ai.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&rL(e,t,i[r]);return nL(e,t),e}})();Object.defineProperty(Ai,"__esModule",{value:!0});Ai.generateVSlot=pL;var Rf=aL(Ve()),kf=wr(),oL=Or(),Hi=$e(),lL=nt(),Nn=_e(),xn=ft(),cL=as(),uL=La(),hL=Ki();function*pL(s,t,e,i,r){let n=t.getInternalVariable();if(i)if(yield`{${Nn.newLine}`,yield"const { ",i.arg?.type===Rf.NodeTypes.SIMPLE_EXPRESSION&&i.arg.content)yield*(0,uL.generateObjectProperty)(s,t,i.arg.loc.source,i.arg.loc.start.offset,i.arg.isStatic?Hi.codeFeatures.withoutHighlight:Hi.codeFeatures.all,!1,!0);else{let o=yield*(0,xn.startBoundary)("template",i.loc.start.offset,Hi.codeFeatures.withoutHighlightAndCompletion);yield"default",yield(0,xn.endBoundary)(o,i.loc.start.offset+(i.rawName?.length??0))}else{yield"const { ";let o=yield*(0,xn.startBoundary)("template",e.loc.start.offset,Hi.codeFeatures.navigation);yield"default",yield(0,xn.endBoundary)(o,e.loc.end.offset)}yield`: ${n} } = ${r}.slots!${Nn.endOfLine}`;let a=t.startScope();if(i?.exp?.type===Rf.NodeTypes.SIMPLE_EXPRESSION){let o=(0,Nn.getTypeScriptAST)(s.typescript,s.template,`(${i.exp.content}) => {}`);yield*fL(s,t,o,i.exp,n),t.declare(...(0,oL.collectBindingNames)(s.typescript,o,o))}for(let o of e.children)yield*(0,hL.generateTemplateChild)(s,t,o);if(yield*a(),i){let o=!0;i.arg?.type===Rf.NodeTypes.SIMPLE_EXPRESSION&&(o=i.arg.isStatic),o&&!i.arg&&(yield`${r}.slots!['`,yield["","template",i.loc.start.offset+(i.loc.source.startsWith("#")?1:i.loc.source.startsWith("v-slot:")?7:0),Hi.codeFeatures.completion],yield`'/* empty slot name completion */]${Nn.endOfLine}`),yield`}${Nn.newLine}`}}function*fL(s,t,e,i,r){let{typescript:n}=s,a=e.statements[0];if(!a||!n.isExpressionStatement(a)||!n.isArrowFunction(a.expression))return;let{expression:o}=a,l=i.loc.start.offset-1,c=[],u=[...(0,cL.generateInterpolation)(s,t,s.template,Hi.codeFeatures.all,e.text,l)];(0,kf.replaceSourceRange)(u,"template",l,l+1),(0,kf.replaceSourceRange)(u,"template",l+e.text.length-7,l+e.text.length);for(let{name:h,type:p}of o.parameters)p?(c.push([e.text.slice(h.end,p.end),"template",l+h.end,Hi.codeFeatures.all]),(0,kf.replaceSourceRange)(u,"template",l+h.end,l+p.end)):c.push(null);if(yield"const [",yield*u,yield`] = ${lL.names.vSlot}(${r}!`,c.some(h=>h)){yield", ";let h=yield*(0,xn.startBoundary)("template",i.loc.start.offset,Hi.codeFeatures.verification);yield"(",yield*c.flatMap(p=>p?["_",p,", "]:"_, "),yield") => [] as any",yield(0,xn.endBoundary)(h,i.loc.end.offset)}yield`)${Nn.endOfLine}`}});var _b=D(vs=>{"use strict";var dL=vs&&vs.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),mL=vs&&vs.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),AL=vs&&vs.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&dL(e,t,i[r]);return mL(e,t),e}})();Object.defineProperty(vs,"__esModule",{value:!0});vs.generateComponent=bL;vs.generateElement=TL;vs.generateFragment=CL;var gi=AL(Ve()),Ba=at(),gL=wr(),Gi=Ut(),Ge=$e(),yL=rc(),it=nt(),We=_e(),Gs=ft(),Fa=vr(),Ab=xa(),Eb=Pf(),EL=lc(),Vf=uc(),Ff=as(),gb=wf(),hc=Df(),Sb=Ki(),SL=Bf();function*bL(s,t,e){let{tag:i,props:r}=e,[n,a]=(0,Gi.getElementTagOffsets)(e,s.template),o=!1,l=!1;if(i.includes("."))o=!0;else if(i==="component"){for(let g of e.props)if(g.type===gi.NodeTypes.DIRECTIVE&&g.name==="bind"&&g.arg?.loc.source==="is"&&g.exp?.type===gi.NodeTypes.SIMPLE_EXPRESSION){l=g.arg.loc.end.offset===g.exp.loc.end.offset,l&&t.inlayHints.push((0,yL.createVBindShorthandInlayHintInfo)(g.exp.loc,"is")),o=!0,i=g.exp.content,n=g.exp.loc.start.offset,a=void 0,r=r.filter(P=>P!==g);break}}let c=t.getInternalVariable();if(o)yield`const ${c} = `,yield*(0,Ff.generateInterpolation)(s,t,s.template,l?Ge.codeFeatures.withoutHighlightAndCompletion:Ge.codeFeatures.all,i,n,"(",")"),a!==void 0&&(yield" || ",yield*(0,Ff.generateInterpolation)(s,t,s.template,Ge.codeFeatures.withoutCompletion,i,a,"(",")")),yield`${We.endOfLine}`;else{let g=new Set([(0,Ba.capitalize)((0,Ba.camelize)(i)),(0,Ba.camelize)(i),i]),P=[...g].find(L=>s.setupConsts.has(L));if(P)yield`const ${c} = `,yield*(0,Fa.generateCamelized)(P[0]+i.slice(1),"template",n,{...Ge.codeFeatures.withoutHighlightAndCompletion,...Ge.codeFeatures.importCompletionOnly}),a!==void 0&&(yield" || ",yield*(0,Fa.generateCamelized)(P[0]+i.slice(1),"template",a,Ge.codeFeatures.withoutHighlightAndCompletion)),yield We.endOfLine;else{yield`let ${c}!: ${it.names.WithComponent}<'${i}', ${it.names.LocalComponents}, ${it.names.GlobalComponents}`,yield g.has(s.componentName)?`, typeof ${it.names.export}`:", void";for(let L of g)yield`, '${L}'`;if(yield">[",yield*(0,Ab.generateStringLiteralKey)(i,n,{...Ge.codeFeatures.semanticWithoutHighlight,...s.vueCompilerOptions.checkUnknownComponents?Ge.codeFeatures.verification:Ge.codeFeatures.doNotReportTs2339AndTs2551}),yield`]${We.endOfLine}`,We.identifierRegex.test((0,Ba.camelize)(i))){yield"/** @ts-ignore @type {";for(let L of[n,a])L!==void 0&&(yield` | typeof ${it.names.components}.`,yield*(0,Fa.generateCamelized)(i,"template",L,Ge.codeFeatures.navigation),i[0]!==i[0].toUpperCase()&&(yield` | typeof ${it.names.components}.`,yield*(0,Fa.generateCamelized)((0,Ba.capitalize)(i),"template",L,Ge.codeFeatures.navigation)),i.includes("-")&&(yield` | typeof ${it.names.components}[`,yield*(0,Ab.generateStringLiteralKey)(i,L,Ge.codeFeatures.navigation),yield"]"));yield`} */${We.newLine}`,yield*(0,Fa.generateCamelized)(i,"template",n,Ge.codeFeatures.importCompletionOnly),yield We.endOfLine}}}let u=!1,h=!1,p=()=>(u=!0,A),f=()=>(h=!0,y);t.components.push(p);let m=t.getInternalVariable(),d=t.getInternalVariable(),A=t.getInternalVariable(),y=t.getInternalVariable(),E=[],x=[...(0,Vf.generateElementProps)(s,t,e,r,s.vueCompilerOptions.checkUnknownProps,E)],N=(0,gL.toString)(x);yield`// @ts-ignore${We.newLine}`,yield`const ${m} = ${s.vueCompilerOptions.checkUnknownProps?it.names.asFunctionalComponent0:it.names.asFunctionalComponent1}(${c}, new ${c}({${We.newLine}`,yield N,yield`}))${We.endOfLine}`,yield"const ";let w=yield*(0,Gs.startBoundary)("template",e.loc.start.offset,Ge.codeFeatures.doNotReportTs6133);if(yield d,yield(0,Gs.endBoundary)(w,e.loc.end.offset),yield` = ${m}`,t.currentInfo.generic){let{content:g,offset:P}=t.currentInfo.generic,L=yield*(0,Gs.startBoundary)("template",P,Ge.codeFeatures.verification);yield"<",yield[g,"template",P,Ge.codeFeatures.all],yield">",yield(0,Gs.endBoundary)(L,P+g.length)}let M=Ib(s,t,e);yield"(";let R=yield*(0,Gs.startBoundary)("template",n,M&&s.vueCompilerOptions.checkRequiredFallthroughAttributes?{}:Ge.codeFeatures.verification);yield"{",yield["","template",e.loc.start.offset,{__propsCompletion:!0}],yield We.newLine,yield*x,yield"}",yield(0,Gs.endBoundary)(R,n+i.length),yield`, ...${it.names.functionalComponentArgsRest}(${m}))${We.endOfLine}`,yield*Tb(s,t,E),yield*(0,EL.generateElementEvents)(s,t,e,c,p,f),yield*(0,Eb.generateElementDirectives)(s,t,e);let I=Cb(e),_=t.singleRootNodes.has(e)&&!s.vueCompilerOptions.fallthroughComponentNames.includes((0,Gi.hyphenateTag)(i));if(I||_){let g=t.getInternalVariable();if(yield`var ${g}!: Parameters<NonNullable<typeof ${p()}['expose']>>[0]`,yield We.endOfLine,I){let P=`typeof ${t.getHoistVariable(g)} | null`;t.inVFor&&(P=`(${P})[]`),t.addTemplateRef(I[0],P,I[1])}_&&t.singleRootElTypes.add(`NonNullable<typeof ${g}>['$el']`)}if(M)if(s.vueCompilerOptions.checkRequiredFallthroughAttributes){let g=t.getInternalVariable();yield`var ${g} = ${it.names.omit}(${f()}, {
|
|
59
|
-
${N}})${We.endOfLine}`,t.inheritedAttrVars.add(g)}else t.inheritedAttrVars.add(f());yield*bb(s,e);let T=e.props.find(gi.isVSlot);(T||e.children.length)&&(yield*(0,SL.generateVSlot)(s,t,e,T,p())),u&&(yield`var ${A}!: ${it.names.FunctionalComponentCtx}<typeof ${c}, typeof ${d}>${We.endOfLine}`),h&&(yield`var ${y}!: ${it.names.FunctionalComponentProps}<typeof ${c}, typeof ${d}>${We.endOfLine}`),t.components.pop()}function*TL(s,t,e){let[i,r]=(0,Gi.getElementTagOffsets)(e,s.template),n=[];yield`${s.vueCompilerOptions.checkUnknownProps?it.names.asFunctionalElement0:it.names.asFunctionalElement1}(${it.names.intrinsics}`,yield*(0,gb.generatePropertyAccess)(s,t,e.tag,i,Ge.codeFeatures.withoutHighlightAndCompletion),r!==void 0&&(yield", ",yield it.names.intrinsics,yield*(0,gb.generatePropertyAccess)(s,t,e.tag,r,Ge.codeFeatures.withoutHighlightAndCompletion)),yield")(";let a=yield*(0,Gs.startBoundary)("template",i,Ge.codeFeatures.verification);yield`{${We.newLine}`,yield*(0,Vf.generateElementProps)(s,t,e,e.props,s.vueCompilerOptions.checkUnknownProps,n),yield"}",yield(0,Gs.endBoundary)(a,i+e.tag.length),yield`)${We.endOfLine}`,yield*Tb(s,t,n),yield*(0,Eb.generateElementDirectives)(s,t,e);let o=Cb(e);if(o){let l=`${it.names.Elements}['${e.tag}']`;t.inVFor&&(l+="[]"),t.addTemplateRef(o[0],l,o[1])}t.singleRootNodes.has(e)&&t.singleRootElTypes.add(`${it.names.Elements}['${e.tag}']`),Ib(s,t,e)&&t.inheritedAttrVars.add(`${it.names.intrinsics}.${e.tag}`),yield*bb(s,e);for(let l of e.children)yield*(0,Sb.generateTemplateChild)(s,t,l)}function*CL(s,t,e){let[i]=(0,Gi.getElementTagOffsets)(e,s.template);if(e.props.length){yield"__VLS_asFunctionalElement(__VLS_intrinsics.template)(";let r=yield*(0,Gs.startBoundary)("template",i,Ge.codeFeatures.verification);yield`{${We.newLine}`,yield*(0,Vf.generateElementProps)(s,t,e,e.props,s.vueCompilerOptions.checkUnknownProps),yield"}",yield(0,Gs.endBoundary)(r,i+e.tag.length),yield`)${We.endOfLine}`}for(let r of e.children)yield*(0,Sb.generateTemplateChild)(s,t,r)}function*bb({template:s,typescript:t},e){for(let i of e.props)if(i.type===gi.NodeTypes.ATTRIBUTE&&i.name==="class"&&i.value){let[r,n]=(0,Gi.normalizeAttributeValue)(i.value);for(let[a,o]of yb(r))yield*(0,hc.generateStyleScopedClassReference)(s,a,n+o)}else if(i.type===gi.NodeTypes.DIRECTIVE&&i.arg?.type===gi.NodeTypes.SIMPLE_EXPRESSION&&i.exp?.type===gi.NodeTypes.SIMPLE_EXPRESSION&&i.arg.content==="class"){let r="("+i.exp.content+")",n=i.exp.loc.start.offset-1,a=(0,We.getTypeScriptAST)(t,s,r),o=[];for(let u of(0,We.forEachNode)(t,a)){if(!t.isExpressionStatement(u)||!t.isParenthesizedExpression(u.expression))continue;let{expression:h}=u.expression;t.isStringLiteralLike(h)?o.push(h):t.isArrayLiteralExpression(h)?yield*l(h):t.isObjectLiteralExpression(h)&&(yield*c(h))}for(let u of o){let h=u.end-u.text.length-1+n;for(let[p,f]of yb(u.text))yield*(0,hc.generateStyleScopedClassReference)(s,p,h+f)}function*l(u){let{elements:h}=u;for(let p of h)t.isStringLiteralLike(p)?o.push(p):t.isObjectLiteralExpression(p)&&(yield*c(p))}function*c(u){let{properties:h}=u;for(let p of h)if(t.isPropertyAssignment(p)){let{name:f}=p;if(t.isIdentifier(f)){let m=(0,Gi.getNodeText)(t,f,a);yield*(0,hc.generateStyleScopedClassReference)(s,m,f.end-m.length+n)}else if(t.isStringLiteral(f))o.push(f);else if(t.isComputedPropertyName(f)){let{expression:m}=f;t.isStringLiteralLike(m)&&o.push(m)}}else if(t.isShorthandPropertyAssignment(p)){let f=(0,Gi.getNodeText)(t,p.name,a);yield*(0,hc.generateStyleScopedClassReference)(s,f,p.name.end-f.length+n)}}}}function*yb(s){let t=0;for(let e of s.split(" "))yield[e,t],t+=e.length+1}function*Tb(s,t,e){for(let{node:i,prefix:r,suffix:n}of e)yield*(0,Ff.generateInterpolation)(s,t,s.template,Ge.codeFeatures.all,i.loc.source,i.loc.start.offset,r,n),yield We.endOfLine}function Cb(s){for(let t of s.props)if(t.type===gi.NodeTypes.ATTRIBUTE&&t.name==="ref"&&t.value)return(0,Gi.normalizeAttributeValue)(t.value)}function Ib(s,t,e){return s.vueCompilerOptions.fallthroughAttributes&&(s.inheritAttrs&&t.singleRootNodes.has(e)||e.props.some(i=>i.type===gi.NodeTypes.DIRECTIVE&&i.name==="bind"&&i.exp?.loc.source==="$attrs"))}});var Nb=D(yi=>{"use strict";var IL=yi&&yi.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),_L=yi&&yi.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),PL=yi&&yi.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&IL(e,t,i[r]);return _L(e,t),e}})();Object.defineProperty(yi,"__esModule",{value:!0});yi.generateSlotOutlet=wL;var Wi=PL(Ve()),Pb=Ut(),Dr=$e(),NL=rc(),pc=nt(),Va=_e(),Xi=ft(),Uf=uc(),xL=as(),vL=wf(),OL=Ki();function*wL(s,t,e){let[i]=(0,Pb.getElementTagOffsets)(e,s.template),r=i+e.tag.length,n=t.getInternalVariable(),a=e.props.find(o=>{if(o.type===Wi.NodeTypes.ATTRIBUTE)return o.name==="name";if(o.name==="bind"&&o.arg?.type===Wi.NodeTypes.SIMPLE_EXPRESSION)return o.arg.content==="name"});if(s.hasDefineSlots){if(yield`${pc.names.asFunctionalSlot}(`,a){let l;if(a.type===Wi.NodeTypes.ATTRIBUTE&&a.value){let[u,h]=(0,Pb.normalizeAttributeValue)(a.value);l=(0,vL.generatePropertyAccess)(s,t,u,h,Dr.codeFeatures.navigationAndVerification)}else a.type===Wi.NodeTypes.DIRECTIVE&&a.exp?.type===Wi.NodeTypes.SIMPLE_EXPRESSION?l=["[",...(0,Uf.generatePropExp)(s,t,a,a.exp),"]"]:l=["['default']"];let c=yield*(0,Xi.startBoundary)("template",a.loc.start.offset,Dr.codeFeatures.verification);yield s.slotsAssignName??pc.names.slots,yield*l,yield(0,Xi.endBoundary)(c,a.loc.end.offset)}else{let l=yield*(0,Xi.startBoundary)("template",i,Dr.codeFeatures.verification);yield`${s.slotsAssignName??pc.names.slots}[`;let c=yield*(0,Xi.startBoundary)("template",i,Dr.codeFeatures.verification);yield"'default'",yield(0,Xi.endBoundary)(c,r),yield"]",yield(0,Xi.endBoundary)(l,r)}yield")(";let o=yield*(0,Xi.startBoundary)("template",i,Dr.codeFeatures.verification);yield`{${Va.newLine}`,yield*(0,Uf.generateElementProps)(s,t,e,e.props.filter(l=>l!==a),!0),yield"}",yield(0,Xi.endBoundary)(o,r),yield`)${Va.endOfLine}`}else if(yield`var ${n} = {${Va.newLine}`,yield*(0,Uf.generateElementProps)(s,t,e,e.props.filter(o=>o!==a),s.vueCompilerOptions.checkUnknownProps),yield`}${Va.endOfLine}`,a?.type===Wi.NodeTypes.ATTRIBUTE&&a.value)t.slots.push({name:a.value.content,offset:a.loc.start.offset+a.loc.source.indexOf(a.value.content,a.name.length),tagRange:[i,i+e.tag.length],nodeLoc:e.loc,propsVar:t.getHoistVariable(n)});else if(a?.type===Wi.NodeTypes.DIRECTIVE&&a.exp?.type===Wi.NodeTypes.SIMPLE_EXPRESSION){let o=a.arg?.loc.start.offset===a.exp.loc.start.offset;o&&t.inlayHints.push((0,NL.createVBindShorthandInlayHintInfo)(a.exp.loc,"name"));let l=t.getInternalVariable();yield`var ${l} = ${pc.names.tryAsConstant}(`,yield*(0,xL.generateInterpolation)(s,t,s.template,o?Dr.codeFeatures.withoutHighlightAndCompletion:Dr.codeFeatures.all,a.exp.content,a.exp.loc.start.offset),yield`)${Va.endOfLine}`,t.dynamicSlots.push({expVar:t.getHoistVariable(l),propsVar:t.getHoistVariable(n)})}else t.slots.push({name:"default",tagRange:[i,r],nodeLoc:e.loc,propsVar:t.getHoistVariable(n)});for(let o of e.children)yield*(0,OL.generateTemplateChild)(s,t,o)}});var jf=D(Ws=>{"use strict";var LL=Ws&&Ws.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),ML=Ws&&Ws.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),DL=Ws&&Ws.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&LL(e,t,i[r]);return ML(e,t),e}})();Object.defineProperty(Ws,"__esModule",{value:!0});Ws.generateVFor=UL;Ws.parseVForNode=vb;var RL=DL(Ve()),kL=Or(),xb=$e(),BL=nt(),$f=_e(),FL=as(),VL=Ki();function*UL(s,t,e){let{source:i}=e.parseResult,{leftExpressionRange:r,leftExpressionText:n}=vb(e),a=t.startScope();if(yield"for (const [",r&&n){let l=(0,$f.getTypeScriptAST)(s.typescript,s.template,`const [${n}]`);t.declare(...(0,kL.collectBindingNames)(s.typescript,l,l)),yield[n,"template",r.start,xb.codeFeatures.all]}yield"] of ",i.type===RL.NodeTypes.SIMPLE_EXPRESSION?(yield`${BL.names.vFor}(`,yield*(0,FL.generateInterpolation)(s,t,s.template,xb.codeFeatures.all,i.content,i.loc.start.offset,"(",")"),yield"!)"):yield"{} as any",yield`) {${$f.newLine}`;let{inVFor:o}=t;t.inVFor=!0;for(let l of e.children)yield*(0,VL.generateTemplateChild)(s,t,l,!1,!0);t.inVFor=o,yield*a(),yield`}${$f.newLine}`}function vb(s){let{value:t,key:e,index:i}=s.parseResult,r=t||e||i?{start:(t??e??i).loc.start.offset,end:(i??e??t).loc.end.offset}:void 0,n=r?s.loc.source.slice(r.start-s.loc.start.offset,r.end-s.loc.start.offset):void 0;return{leftExpressionRange:r,leftExpressionText:n}}});var wb=D(Ei=>{"use strict";var $L=Ei&&Ei.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),jL=Ei&&Ei.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),HL=Ei&&Ei.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&$L(e,t,i[r]);return jL(e,t),e}})();Object.defineProperty(Ei,"__esModule",{value:!0});Ei.generateVIf=QL;var KL=HL(Ve()),GL=wr(),WL=$e(),Ob=_e(),XL=as(),qL=Ki();function*QL(s,t,e){let i=t.blockConditions.length;for(let r=0;r<e.branches.length;r++){let n=e.branches[r];r===0?yield"if ":n.condition?yield"else if ":yield"else ";let a=!1;if(n.condition?.type===KL.NodeTypes.SIMPLE_EXPRESSION){let o=[...(0,XL.generateInterpolation)(s,t,s.template,WL.codeFeatures.all,n.condition.content,n.condition.loc.start.offset,"(",")")];yield*o,t.blockConditions.push((0,GL.toString)(o)),a=!0,yield" "}yield`{${Ob.newLine}`;for(let o of n.children)yield*(0,qL.generateTemplateChild)(s,t,o,r!==0,!0);yield`}${Ob.newLine}`,a&&(t.blockConditions[t.blockConditions.length-1]=`!${t.blockConditions[t.blockConditions.length-1]}`)}t.blockConditions.length=i}});var Ki=D(Xs=>{"use strict";var JL=Xs&&Xs.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),YL=Xs&&Xs.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),zL=Xs&&Xs.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&JL(e,t,i[r]);return YL(e,t),e}})();Object.defineProperty(Xs,"__esModule",{value:!0});Xs.generateTemplateChild=Kf;Xs.parseInterpolationNode=Lb;var kt=zL(Ve()),ZL=Ut(),eM=$e(),tM=_e(),Hf=_b(),sM=as(),iM=Nb(),rM=jf(),nM=wb(),aM=Bf();function*Kf(s,t,e,i=!0,r=!1){if(!(i&&!t.enter(e))){if(e.type===kt.NodeTypes.ROOT){for(let n of fc(s,e.children))t.singleRootNodes.add(n);for(let n of e.children)yield*Kf(s,t,n)}else if(e.type===kt.NodeTypes.ELEMENT)if(e.tagType===kt.ElementTypes.SLOT)yield*(0,iM.generateSlotOutlet)(s,t,e);else{let n=e.props.find(kt.isVSlot);e.tagType===kt.ElementTypes.TEMPLATE&&t.components.length&&n?yield*(0,aM.generateVSlot)(s,t,e,n,t.components.at(-1)()):e.tagType===kt.ElementTypes.TEMPLATE&&r?yield*(0,Hf.generateFragment)(s,t,e):e.tagType===kt.ElementTypes.COMPONENT?yield*(0,Hf.generateComponent)(s,t,e):yield*(0,Hf.generateElement)(s,t,e)}else if(e.type===kt.NodeTypes.COMPOUND_EXPRESSION)for(let n of e.children)typeof n=="object"&&(yield*Kf(s,t,n,!1));else if(e.type===kt.NodeTypes.INTERPOLATION){let[n,a]=Lb(e,s.template.content);yield*(0,sM.generateInterpolation)(s,t,s.template,eM.codeFeatures.all,n,a,"(",`)${tM.endOfLine}`)}else e.type===kt.NodeTypes.IF?yield*(0,nM.generateVIf)(s,t,e):e.type===kt.NodeTypes.FOR&&(yield*(0,rM.generateVFor)(s,t,e));i&&(yield*t.exit())}}function*fc(s,t,e=!1){if(t=t.filter(n=>n.type!==kt.NodeTypes.COMMENT),t.length!==1){t.length>1&&(yield null);return}let i=t[0];if(i.type===kt.NodeTypes.IF){for(let n of i.branches)yield*fc(s,n.children,!0);return}else if(i.type!==kt.NodeTypes.ELEMENT)return;if(i.tagType===kt.ElementTypes.TEMPLATE&&e){yield*fc(s,i.children);return}yield i;let r=(0,ZL.hyphenateTag)(i.tag);s.vueCompilerOptions.fallthroughComponentNames.includes(r)&&(yield*fc(s,i.children))}function Lb(s,t){let e=s.content.loc.start.offset,i=s.content.loc.end.offset;for(;t[e-1]?.trim()==="";)e--;for(;t[i]?.trim()==="";)i++;return[t.slice(e,i),e]}});var Xf=D(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});Wf.generateTemplate=cM;var Gf=$e(),ut=nt(),jt=_e(),Mb=ft(),oM=Yp(),Db=La(),lM=Ki();function cM(s){let t=(0,oM.createTemplateCodegenContext)(),e=uM(s,t),i=[];for(let r of e)typeof r=="object"&&(r[3]=t.resolveCodeFeatures(r[3])),i.push(r);return{...t,codes:i}}function*uM(s,t){let e=t.startScope();t.declare(...s.setupConsts);let{slotsAssignName:i,propsAssignName:r,vueCompilerOptions:n,template:a}=s;i&&t.declare(i),r&&t.declare(r),n.inferTemplateDollarSlots&&t.dollarVars.add("$slots"),n.inferTemplateDollarAttrs&&t.dollarVars.add("$attrs"),n.inferTemplateDollarRefs&&t.dollarVars.add("$refs"),n.inferTemplateDollarEl&&t.dollarVars.add("$el"),a.ast&&(yield*(0,lM.generateTemplateChild)(s,t,a.ast)),yield*t.generateHoistVariables(),yield*hM(s,t),yield*pM(s,t),yield*fM(s,t),yield*dM(t),t.dollarVars.size&&(yield`var ${ut.names.dollars}!: {${jt.newLine}`,t.dollarVars.has("$slots")&&(yield`$slots: ${t.generatedTypes.has(ut.names.Slots)?ut.names.Slots:"{}"}${jt.endOfLine}`),t.dollarVars.has("$attrs")&&(yield`$attrs: import('${n.lib}').ComponentPublicInstance['$attrs']`,t.generatedTypes.has(ut.names.InheritedAttrs)&&(yield` & ${ut.names.InheritedAttrs}`),yield jt.endOfLine),t.dollarVars.has("$refs")&&(yield`$refs: ${t.generatedTypes.has(ut.names.TemplateRefs)?ut.names.TemplateRefs:"{}"}${jt.endOfLine}`),t.dollarVars.has("$el")&&(yield`$el: ${t.generatedTypes.has(ut.names.RootEl)?ut.names.RootEl:"any"}${jt.endOfLine}`),yield`} & { [K in keyof import('${n.lib}').ComponentPublicInstance]: unknown }${jt.endOfLine}`),yield*e()}function*hM(s,t){if(s.hasDefineSlots){t.generatedTypes.add(ut.names.Slots);return}if(!(!t.slots.length&&!t.dynamicSlots.length)){t.generatedTypes.add(ut.names.Slots),yield`type ${ut.names.Slots} = {}`;for(let{expVar:e,propsVar:i}of t.dynamicSlots)yield`${jt.newLine}& { [K in NonNullable<typeof ${e}>]?: (props: typeof ${i}) => any }`;for(let e of t.slots){if(yield`${jt.newLine}& { `,e.name&&e.offset!==void 0)yield*(0,Db.generateObjectProperty)(s,t,e.name,e.offset,Gf.codeFeatures.navigation);else{let i=yield*(0,Mb.startBoundary)("template",e.tagRange[0],Gf.codeFeatures.navigation);yield"default",yield(0,Mb.endBoundary)(i,e.tagRange[1])}yield`?: (props: typeof ${e.propsVar}) => any }`}yield jt.endOfLine}}function*pM(s,t){if(!t.inheritedAttrVars.size)return;t.generatedTypes.add(ut.names.InheritedAttrs);let e=[...t.inheritedAttrVars].map(i=>`typeof ${i}`).join(" & ");yield`type ${ut.names.InheritedAttrs} = ${s.vueCompilerOptions.checkRequiredFallthroughAttributes?e:`Partial<${e}>`}`,yield jt.endOfLine}function*fM(s,t){if(t.templateRefs.size){t.generatedTypes.add(ut.names.TemplateRefs),yield`type ${ut.names.TemplateRefs} = {}`;for(let[e,i]of t.templateRefs){yield`${jt.newLine}& `,i.length>=2&&(yield"(");for(let r=0;r<i.length;r++){let{typeExp:n,offset:a}=i[r];r&&(yield" | "),yield"{ ",yield*(0,Db.generateObjectProperty)(s,t,e,a,Gf.codeFeatures.navigation),yield`: ${n} }`}i.length>=2&&(yield")")}yield jt.endOfLine}}function*dM(s){if(!(!s.singleRootElTypes.size||s.singleRootNodes.has(null))){s.generatedTypes.add(ut.names.RootEl),yield`type ${ut.names.RootEl} = `;for(let t of s.singleRootElTypes)yield`${jt.newLine}| ${t}`;yield jt.endOfLine}}});var dc=D((GF,kb)=>{"use strict";function qs(s){if(typeof s!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(s))}function Rb(s,t){for(var e="",i=0,r=-1,n=0,a,o=0;o<=s.length;++o){if(o<s.length)a=s.charCodeAt(o);else{if(a===47)break;a=47}if(a===47){if(!(r===o-1||n===1))if(r!==o-1&&n===2){if(e.length<2||i!==2||e.charCodeAt(e.length-1)!==46||e.charCodeAt(e.length-2)!==46){if(e.length>2){var l=e.lastIndexOf("/");if(l!==e.length-1){l===-1?(e="",i=0):(e=e.slice(0,l),i=e.length-1-e.lastIndexOf("/")),r=o,n=0;continue}}else if(e.length===2||e.length===1){e="",i=0,r=o,n=0;continue}}t&&(e.length>0?e+="/..":e="..",i=2)}else e.length>0?e+="/"+s.slice(r+1,o):e=s.slice(r+1,o),i=o-r-1;r=o,n=0}else a===46&&n!==-1?++n:n=-1}return e}function mM(s,t){var e=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return e?e===t.root?e+i:e+s+i:i}var vn={resolve:function(){for(var t="",e=!1,i,r=arguments.length-1;r>=-1&&!e;r--){var n;r>=0?n=arguments[r]:(i===void 0&&(i=process.cwd()),n=i),qs(n),n.length!==0&&(t=n+"/"+t,e=n.charCodeAt(0)===47)}return t=Rb(t,!e),e?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(qs(t),t.length===0)return".";var e=t.charCodeAt(0)===47,i=t.charCodeAt(t.length-1)===47;return t=Rb(t,!e),t.length===0&&!e&&(t="."),t.length>0&&i&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return qs(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,e=0;e<arguments.length;++e){var i=arguments[e];qs(i),i.length>0&&(t===void 0?t=i:t+="/"+i)}return t===void 0?".":vn.normalize(t)},relative:function(t,e){if(qs(t),qs(e),t===e||(t=vn.resolve(t),e=vn.resolve(e),t===e))return"";for(var i=1;i<t.length&&t.charCodeAt(i)===47;++i);for(var r=t.length,n=r-i,a=1;a<e.length&&e.charCodeAt(a)===47;++a);for(var o=e.length,l=o-a,c=n<l?n:l,u=-1,h=0;h<=c;++h){if(h===c){if(l>c){if(e.charCodeAt(a+h)===47)return e.slice(a+h+1);if(h===0)return e.slice(a+h)}else n>c&&(t.charCodeAt(i+h)===47?u=h:h===0&&(u=0));break}var p=t.charCodeAt(i+h),f=e.charCodeAt(a+h);if(p!==f)break;p===47&&(u=h)}var m="";for(h=i+u+1;h<=r;++h)(h===r||t.charCodeAt(h)===47)&&(m.length===0?m+="..":m+="/..");return m.length>0?m+e.slice(a+u):(a+=u,e.charCodeAt(a)===47&&++a,e.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(qs(t),t.length===0)return".";for(var e=t.charCodeAt(0),i=e===47,r=-1,n=!0,a=t.length-1;a>=1;--a)if(e=t.charCodeAt(a),e===47){if(!n){r=a;break}}else n=!1;return r===-1?i?"/":".":i&&r===1?"//":t.slice(0,r)},basename:function(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');qs(t);var i=0,r=-1,n=!0,a;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var o=e.length-1,l=-1;for(a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(c===47){if(!n){i=a+1;break}}else l===-1&&(n=!1,l=a+1),o>=0&&(c===e.charCodeAt(o)?--o===-1&&(r=a):(o=-1,r=l))}return i===r?r=l:r===-1&&(r=t.length),t.slice(i,r)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!n){i=a+1;break}}else r===-1&&(n=!1,r=a+1);return r===-1?"":t.slice(i,r)}},extname:function(t){qs(t);for(var e=-1,i=0,r=-1,n=!0,a=0,o=t.length-1;o>=0;--o){var l=t.charCodeAt(o);if(l===47){if(!n){i=o+1;break}continue}r===-1&&(n=!1,r=o+1),l===46?e===-1?e=o:a!==1&&(a=1):e!==-1&&(a=-1)}return e===-1||r===-1||a===0||a===1&&e===r-1&&e===i+1?"":t.slice(e,r)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return mM("/",t)},parse:function(t){qs(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;var i=t.charCodeAt(0),r=i===47,n;r?(e.root="/",n=1):n=0;for(var a=-1,o=0,l=-1,c=!0,u=t.length-1,h=0;u>=n;--u){if(i=t.charCodeAt(u),i===47){if(!c){o=u+1;break}continue}l===-1&&(c=!1,l=u+1),i===46?a===-1?a=u:h!==1&&(h=1):a!==-1&&(h=-1)}return a===-1||l===-1||h===0||h===1&&a===l-1&&a===o+1?l!==-1&&(o===0&&r?e.base=e.name=t.slice(1,l):e.base=e.name=t.slice(o,l)):(o===0&&r?(e.name=t.slice(1,a),e.base=t.slice(1,l)):(e.name=t.slice(o,a),e.base=t.slice(o,l)),e.ext=t.slice(a,l)),o>0?e.dir=t.slice(0,o-1):r&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};vn.posix=vn;kb.exports=vn});var Qf=D(Rr=>{"use strict";Object.defineProperty(Rr,"__esModule",{value:!0});Rr.CompilerOptionsResolver=void 0;Rr.createParsedCommandLineByJson=yM;Rr.createParsedCommandLine=EM;Rr.getDefaultCompilerOptions=qf;var AM=at(),On=dc(),gM=Ut();function yM(s,t,e,i,r){let n=new Set,a={...t,readFile(u){return u.endsWith("/package.json")||n.add(u),t.readFile(u)},readDirectory(){return[]}},o=s.readJsonConfigFile(e,()=>JSON.stringify(i)),l=s.parseJsonSourceFileConfigFileContent(o,a,e,{},r),c=new Ua(s,t.readFile);for(let u of[...n].reverse())try{let h=s.readJsonConfigFile(u,t.readFile),f=s.convertToObject(h,[])?.vueCompilerOptions??{};c.addConfig(f,On.posix.dirname(h.fileName))}catch{}return c.addConfig(i?.vueCompilerOptions??{},e),{...l,vueOptions:c.build()}}function EM(s,t,e){try{let i=new Set,r={...t,readFile(l){return l.endsWith("/package.json")||i.add(l),t.readFile(l)},readDirectory(){return[]}},n=s.readJsonConfigFile(e,r.readFile),a=s.parseJsonSourceFileConfigFileContent(n,r,On.posix.dirname(e),{},e),o=new Ua(s,t.readFile);for(let l of[...i].reverse())try{let c=s.readJsonConfigFile(l,t.readFile),h=s.convertToObject(c,[])?.vueCompilerOptions??{};o.addConfig(h,On.posix.dirname(c.fileName))}catch{}return{...a,vueOptions:o.build()}}catch{}return{options:{},errors:[],vueOptions:qf()}}var Ua=class{constructor(t,e){this.ts=t,this.readFile=e,this.options={},this.plugins=[]}addConfig(t,e){for(let i in t)switch(i){case"target":t[i]==="auto"?this.target=this.resolveVueVersion(e):this.target=t[i];break;case"strictTemplates":let r=!!t.strictTemplates;this.options.strictVModel??=r,this.options.checkUnknownProps??=r,this.options.checkUnknownEvents??=r,this.options.checkUnknownDirectives??=r,this.options.checkUnknownComponents??=r;break;case"typesRoot":t[i]!==void 0&&(On.posix.isAbsolute(t[i])?this.typesRoot=t[i]:this.typesRoot=On.posix.join(e,t[i]));break;case"plugins":for(let n of t.plugins??[]){n=typeof n=="string"?{name:n}:n;try{let a=qc?.resolve,o=a?.(n.name,{paths:[e]});if(o){let l=qc(o),c=Array.isArray(l)?l:[l];for(let u of c)u.__moduleConfig=n,this.plugins.push(u)}else console.warn("[Vue] Load plugin failed:",n.name)}catch(a){console.warn("[Vue] Resolve plugin path failed:",n.name,a)}}break;default:this.options[i]=t[i];break}t.target===void 0&&(this.target??=this.resolveVueVersion(e))}build(t=qf(this.target,this.options.lib,void 0,this.typesRoot)){return{...t,...this.options,plugins:this.plugins,macros:{...t.macros,...this.options.macros},composables:{...t.composables,...this.options.composables},fallthroughComponentNames:[...t.fallthroughComponentNames,...this.options.fallthroughComponentNames??[]].map(gM.hyphenateTag),experimentalModelPropName:Object.fromEntries(Object.entries(this.options.experimentalModelPropName??t.experimentalModelPropName).map(([i,r])=>[(0,AM.camelize)(i),r]))}}resolveVueVersion(t){let e=this.ts.findConfigFile(t,l=>this.readFile(l)!==void 0,"node_modules/vue/package.json");if(!e)return;let i=this.readFile(e);if(!i)return;let n=JSON.parse(i).version,[a,o]=n.split(".");return+(a+"."+o)}};Rr.CompilerOptionsResolver=Ua;function qf(s=99,t="vue",e=!1,i=typeof __dirname<"u"?On.posix.join(__dirname.replace(/\\/g,"/"),"..","types"):"@vue/language-core/types"){return{target:s,lib:t,typesRoot:i,extensions:[".vue"],vitePressExtensions:[],petiteVueExtensions:[],jsxSlots:!1,strictCssModules:!1,strictVModel:e,checkUnknownProps:e,checkUnknownEvents:e,checkUnknownDirectives:e,checkUnknownComponents:e,inferComponentDollarEl:!1,inferComponentDollarRefs:!1,inferTemplateDollarAttrs:!1,inferTemplateDollarEl:!1,inferTemplateDollarRefs:!1,inferTemplateDollarSlots:!1,skipTemplateCodegen:!1,fallthroughAttributes:!1,checkRequiredFallthroughAttributes:!1,resolveStyleImports:!1,resolveStyleClassNames:"scoped",fallthroughComponentNames:["Transition","KeepAlive","Teleport","Suspense"],dataAttributes:[],htmlAttributes:["aria-*"],optionsWrapper:[`(await import('${t}')).defineComponent(`,")"],macros:{defineProps:["defineProps"],defineSlots:["defineSlots"],defineEmits:["defineEmits"],defineExpose:["defineExpose"],defineModel:["defineModel"],defineOptions:["defineOptions"],withDefaults:["withDefaults"]},composables:{useAttrs:["useAttrs"],useCssModule:["useCssModule"],useSlots:["useSlots"],useTemplateRef:["useTemplateRef","templateRef"]},plugins:[],experimentalModelPropName:{"":{input:!0},value:{input:{type:"text"},textarea:!0,select:!0}}}}});var Bb=D(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});Jf.binarySearch=SM;function SM(s,t){let e=0,i=s.length-1,r;for(;e<=i;){let o=Math.floor((e+i)/2),l=s[o];if(l<t)e=o+1;else if(l>t)i=o-1;else{e=o,i=o,r=o;break}}let n=Math.max(Math.min(e,i,s.length-1),0),a=Math.min(Math.max(e,i,0),s.length-1);return{low:n,high:a,match:r}}});var zf=D(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});Yf.translateOffset=bM;var Fb=!1;function bM(s,t,e,i,r=i,n=!1){if(!t.every((c,u)=>u===0||t[u-1]<=c)){for(let c=0;c<t.length;c++){let u=t[c],h=i[c];if(s>=u&&s<=u+h){let p=r[c],f=e[c],m,d=s-u;return n&&p>h&&d===h?m=p:m=Math.min(d,p),f+m}}Fb||(Fb=!0,console.warn("fromOffsets should be sorted in ascending order"))}let o=0,l=t.length-1;for(;o<=l;){let c=Math.floor((o+l)/2),u=t[c],h=i[c];if(s>=u&&s<=u+h){let p=r[c],f=e[c],m,d=s-u;return n&&p>h&&d===h?m=p:m=Math.min(d,p),f+m}else s<u?l=c-1:o=c+1}}});var Ub=D(mc=>{"use strict";Object.defineProperty(mc,"__esModule",{value:!0});mc.SourceMap=void 0;var Zf=Bb(),Vb=zf(),ed=class{constructor(t){this.mappings=t}toSourceRange(t,e,i,r){return this.findMatchingStartEnd(t,e,i,"generatedOffsets",r)}toGeneratedRange(t,e,i,r){return this.findMatchingStartEnd(t,e,i,"sourceOffsets",r)}toSourceLocation(t,e){return this.findMatchingOffsets(t,"generatedOffsets",e)}toGeneratedLocation(t,e){return this.findMatchingOffsets(t,"sourceOffsets",e)}*findMatchingOffsets(t,e,i,r=!1){let n=this.getMemoBasedOnRange(e);if(n.offsets.length===0)return;let{low:a,high:o}=(0,Zf.binarySearch)(n.offsets,t),l=new Set,c=e==="sourceOffsets"?"generatedOffsets":"sourceOffsets";for(let u=a;u<=o;u++)for(let h of n.mappings[u]){if(l.has(h)||(l.add(h),i&&!i(h.data)))continue;let p=(0,Vb.translateOffset)(t,h[e],h[c],wn(h,e),wn(h,c),r);p!==void 0&&(yield[p,h])}}*findMatchingStartEnd(t,e,i,r,n){let a=r==="sourceOffsets"?"generatedOffsets":"sourceOffsets",o=a==="sourceOffsets",l=[],c=!1;for(let[u,h]of this.findMatchingOffsets(t,r)){if(n&&!n(h.data))continue;l.push([u,h]);let p=(0,Vb.translateOffset)(e,h[r],h[a],wn(h,r),wn(h,a),o);p!==void 0&&(c=!0,yield[u,p,h,h])}if(!c&&i){for(let[u,h]of l)for(let[p,f]of this.findMatchingOffsets(e,r,void 0,o))if(!(n&&!n(f.data)||p<u)){yield[u,p,h,f];break}}}getMemoBasedOnRange(t){return t==="sourceOffsets"?this.sourceCodeOffsetsMemo??=this.createMemo("sourceOffsets"):this.generatedCodeOffsetsMemo??=this.createMemo("generatedOffsets")}createMemo(t){let e=new Set;for(let n of this.mappings)for(let a=0;a<n[t].length;a++)e.add(n[t][a]),e.add(n[t][a]+wn(n,t)[a]);let i=[...e].sort((n,a)=>n-a),r=i.map(()=>new Set);for(let n of this.mappings)for(let a=0;a<n[t].length;a++){let o=(0,Zf.binarySearch)(i,n[t][a]).match,l=(0,Zf.binarySearch)(i,n[t][a]+wn(n,t)[a]).match;for(let c=o;c<=l;c++)r[c].add(n)}return{offsets:i,mappings:r}}};mc.SourceMap=ed;function wn(s,t){return t==="sourceOffsets"?s.lengths:s.generatedLengths??s.lengths}});var Ac=D(qi=>{"use strict";var TM=qi&&qi.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),$b=qi&&qi.__exportStar||function(s,t){for(var e in s)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&TM(t,s,e)};Object.defineProperty(qi,"__esModule",{value:!0});$b(Ub(),qi);$b(zf(),qi)});var jb=D(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.isHoverEnabled=CM;me.isInlayHintsEnabled=IM;me.isCodeLensEnabled=_M;me.isMonikerEnabled=PM;me.isInlineValueEnabled=NM;me.isSemanticTokensEnabled=xM;me.isCallHierarchyEnabled=vM;me.isTypeHierarchyEnabled=OM;me.isRenameEnabled=wM;me.isDefinitionEnabled=LM;me.isTypeDefinitionEnabled=MM;me.isReferencesEnabled=DM;me.isImplementationEnabled=RM;me.isHighlightEnabled=kM;me.isSymbolsEnabled=BM;me.isFoldingRangesEnabled=FM;me.isSelectionRangesEnabled=VM;me.isLinkedEditingEnabled=UM;me.isColorEnabled=$M;me.isDocumentLinkEnabled=jM;me.isDiagnosticsEnabled=HM;me.isCodeActionsEnabled=KM;me.isFormattingEnabled=GM;me.isCompletionEnabled=WM;me.isAutoInsertEnabled=XM;me.isSignatureHelpEnabled=qM;me.shouldReportDiagnostics=QM;me.resolveRenameNewName=JM;me.resolveRenameEditText=YM;me.findOverlapCodeRange=zM;function CM(s){return!!s.semantic}function IM(s){return!!s.semantic}function _M(s){return!!s.semantic}function PM(s){return!!s.semantic}function NM(s){return!!s.semantic}function xM(s){return typeof s.semantic=="object"?s.semantic.shouldHighlight?.()??!0:!!s.semantic}function vM(s){return!!s.navigation}function OM(s){return!!s.navigation}function wM(s){return typeof s.navigation=="object"?s.navigation.shouldRename?.()??!0:!!s.navigation}function LM(s){return!!s.navigation}function MM(s){return!!s.navigation}function DM(s){return!!s.navigation}function RM(s){return!!s.navigation}function kM(s){return typeof s.navigation=="object"?s.navigation.shouldHighlight?.()??!0:!!s.navigation}function BM(s){return!!s.structure}function FM(s){return!!s.structure}function VM(s){return!!s.structure}function UM(s){return!!s.structure}function $M(s){return!!s.structure}function jM(s){return!!s.structure}function HM(s){return!!s.verification}function KM(s){return!!s.verification}function GM(s){return!!s.format}function WM(s){return!!s.completion}function XM(s){return!!s.completion}function qM(s){return!!s.completion}function QM(s,t,e){return typeof s.verification=="object"?s.verification.shouldReport?.(t,e)??!0:!!s.verification}function JM(s,t){return typeof t.navigation=="object"?t.navigation.resolveRenameNewName?.(s)??s:s}function YM(s,t){return typeof t.navigation=="object"?t.navigation.resolveRenameEditText?.(s)??s:s}function zM(s,t,e,i){let r,n;for(let[a,o]of e.toGeneratedLocation(s))if(i(o.data)){r=a;break}for(let[a,o]of e.toGeneratedLocation(t))if(i(o.data)){n=a;break}if(r===void 0||n===void 0){for(let a of e.mappings)if(i(a.data)){let o=a.sourceOffsets[0],l=a.sourceOffsets[a.sourceOffsets.length-1]+a.lengths[a.lengths.length-1],c=ZM(s,t,o,l);if(c){let u=c.start-o+a.generatedOffsets[0],h=(a.generatedLengths??a.lengths)[a.generatedOffsets.length-1],p=Math.min(c.end-a.sourceOffsets[a.sourceOffsets.length-1],h),f=a.generatedOffsets[a.generatedOffsets.length-1]+p;r=r===void 0?u:Math.min(r,u),n=n===void 0?f:Math.max(n,f)}}}if(r!==void 0&&n!==void 0)return{start:r,end:n}}function ZM(s,t,e,i){let r=Math.max(s,e),n=Math.min(t,i);if(!(r>n))return{start:r,end:n}}});var sd=D(gc=>{"use strict";Object.defineProperty(gc,"__esModule",{value:!0});gc.LinkedCodeMap=void 0;var eD=Ac(),td=class extends eD.SourceMap{*getLinkedOffsets(t){for(let e of this.toGeneratedLocation(t))yield e[0];for(let e of this.toSourceLocation(t))yield e[0]}};gc.LinkedCodeMap=td});var Kb=D(Hb=>{"use strict";Object.defineProperty(Hb,"__esModule",{value:!0})});var Gb=D(yc=>{"use strict";Object.defineProperty(yc,"__esModule",{value:!0});yc.FileMap=void 0;var id=class extends Map{constructor(t){super(),this.caseSensitive=t,this.originalFileNames=new Map}keys(){return this.originalFileNames.values()}get(t){return super.get(this.normalizeId(t))}has(t){return super.has(this.normalizeId(t))}set(t,e){return this.originalFileNames.set(this.normalizeId(t),t),super.set(this.normalizeId(t),e)}delete(t){return this.originalFileNames.delete(this.normalizeId(t)),super.delete(this.normalizeId(t))}clear(){return this.originalFileNames.clear(),super.clear()}normalizeId(t){return this.caseSensitive?t:t.toLowerCase()}};yc.FileMap=id});var bc=D(bt=>{"use strict";var tD=bt&&bt.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),Sc=bt&&bt.__exportStar||function(s,t){for(var e in s)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&tD(t,s,e)};Object.defineProperty(bt,"__esModule",{value:!0});bt.defaultMapperFactory=bt.SourceMap=void 0;bt.createLanguage=aD;bt.forEachEmbeddedCode=Ec;var sD=Ac();Object.defineProperty(bt,"SourceMap",{enumerable:!0,get:function(){return sD.SourceMap}});Sc(jb(),bt);Sc(sd(),bt);Sc(Kb(),bt);Sc(Gb(),bt);var iD=Ac(),rD=sd(),nD=s=>new iD.SourceMap(s);bt.defaultMapperFactory=nD;function aD(s,t,e,i){let r=new WeakMap,n=new WeakMap,a=new WeakMap,o={mapperFactory:bt.defaultMapperFactory,plugins:s,scripts:{fromVirtualCode(u){return r.get(u)},get(u,h=!0,p=!1){e(u,h,p);let f=t.get(u);return f?.isAssociationDirty&&this.set(u,f.snapshot,f.languageId),t.get(u)},set(u,h,p,f=s){if(!p){for(let d of s)if(p=d.getLanguageId?.(u),p)break}if(!p){console.warn(`languageId not found for ${String(u)}`);return}let m=!1;for(let d of s)if(d.isAssociatedFileOnly?.(u,p)){m=!0;break}if(t.has(u)){let d=t.get(u);if(d.languageId!==p||d.associatedOnly!==m)return this.delete(u),l(d),this.set(u,h,p);if(m)d.snapshot!==h&&(d.snapshot=h,l(d));else if(d.isAssociationDirty||d.snapshot!==h){d.snapshot!==h&&(d.snapshot=h,l(d));let A=c(d);if(d.generated){let{updateVirtualCode:y,createVirtualCode:E}=d.generated.languagePlugin,x=y?y(u,d.generated.root,h,A):E?.(u,p,h,A);if(x){d.generated.root=x,d.generated.embeddedCodes.clear();for(let N of Ec(d.generated.root))r.set(N,d),d.generated.embeddedCodes.set(N.id,N);return d}else{this.delete(u);return}}}else return d}else{let d={id:u,languageId:p,snapshot:h,associatedIds:new Set,targetIds:new Set,associatedOnly:m};if(t.set(u,d),m)return d;for(let A of f){let y=A.createVirtualCode?.(u,p,h,c(d));if(y){d.generated={root:y,languagePlugin:A,embeddedCodes:new Map};for(let E of Ec(y))r.set(E,d),d.generated.embeddedCodes.set(E.id,E);break}}return d}},delete(u){let h=t.get(u);h&&(h.generated?.languagePlugin.disposeVirtualCode?.(u,h.generated.root),t.delete(u),l(h))}},maps:{get(u,h){let p=n.get(u.snapshot);if(p||n.set(u.snapshot,p=new WeakMap),!p.has(h.snapshot)){let f=u.associatedScriptMappings?.get(h.id)??u.mappings;p.set(h.snapshot,o.mapperFactory(f))}return p.get(h.snapshot)},*forEach(u){let h=r.get(u);if(yield[h,this.get(u,h)],u.associatedScriptMappings)for(let[p]of u.associatedScriptMappings){let f=t.get(p);f&&(yield[f,this.get(u,f)])}}},linkedCodeMaps:{get(u){let h=r.get(u),p=a.get(u.snapshot);return p?.[0]!==h.snapshot&&a.set(u.snapshot,p=[h.snapshot,u.linkedCodeMappings?new rD.LinkedCodeMap(u.linkedCodeMappings):void 0]),p[1]}}};return o;function l(u){u.targetIds.forEach(h=>{let p=t.get(h);p&&(p.isAssociationDirty=!0,i?.(p.id))})}function c(u){for(let h of u.associatedIds)t.get(h)?.targetIds.delete(u.id);return u.associatedIds.clear(),u.isAssociationDirty=!1,{getAssociatedScript(h){e(h,!0,!0);let p=t.get(h);return p&&(p.targetIds.add(u.id),u.associatedIds.add(p.id)),p}}}}function*Ec(s){if(yield s,s.embeddedCodes)for(let t of s.embeddedCodes)yield*Ec(t)}});var Wb=D(rd=>{"use strict";Object.defineProperty(rd,"__esModule",{value:!0});var oD=/<(script|style)\b([\s\S]*?)>([\s\S]*?)<\/\1>/g,lD=/\blang\s*=\s*(['"]?)(\S*)\b\1/,cD=({vueCompilerOptions:s})=>({version:2.2,getLanguageId(t){if(s.petiteVueExtensions.some(e=>t.endsWith(e)))return"html"},isValidFile(t,e){return e==="html"},parseSFC2(t,e,i){if(e!=="html")return;let r={descriptor:{filename:t,source:i,comments:[],template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],shouldForceReload:()=>!1,slotted:!1},errors:[]},n=i;for(let a of i.matchAll(oD)){let o=a[0],l=a[1],c=a[2],u=c.match(lD)?.[2],h=a[3],p=a.index+o.indexOf(h);if(l==="style")r.descriptor.styles.push({attrs:{},content:h,loc:{start:{column:-1,line:-1,offset:p},end:{column:-1,line:-1,offset:p+h.length},source:h},type:"style",lang:u});else if(l==="script"&&!c.includes("src=")){let f=c.includes("type=")?"scriptSetup":"script";r.descriptor[f]={attrs:{},content:h,loc:{start:{column:-1,line:-1,offset:p},end:{column:-1,line:-1,offset:p+h.length},source:h},type:"script",lang:u}}n=n.slice(0,a.index)+" ".repeat(o.length)+n.slice(a.index+o.length)}return r.descriptor.template={attrs:{},content:n,loc:{start:{column:-1,line:-1,offset:0},end:{column:-1,line:-1,offset:n.length},source:n},type:"template",ast:{}},r}});rd.default=cD});var ad=D(nd=>{"use strict";Object.defineProperty(nd,"__esModule",{value:!0});nd.buildMappings=uD;function uD(s){let t=0,e=[];for(let i of s)typeof i=="string"?t+=i.length:(e.push({sourceOffsets:[i[2]],generatedOffsets:[t],lengths:[i[0].length],data:i[3]}),t+=i[0].length);return e}});var Ic=D(Si=>{"use strict";var hD=Si&&Si.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),pD=Si&&Si.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),fD=Si&&Si.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&hD(e,t,i[r]);return pD(e,t),e}})();Object.defineProperty(Si,"__esModule",{value:!0});Si.parse=mD;var Cc=fD(Ve()),dD=Ut();function mD(s){let t=[],e=Cc.parse(s,{isNativeTag:()=>!0,isPreTag:()=>!0,parseMode:"sfc",onError:r=>{t.push(r)},comments:!0}),i={filename:"anonymous.vue",source:s,comments:[],template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:()=>!1};return e.children.forEach(r=>{if(r.type===Cc.NodeTypes.COMMENT){i.comments.push(r.content);return}else if(r.type!==Cc.NodeTypes.ELEMENT)return;switch(r.tag){case"template":i.template=Tc(r,s);break;case"script":let n=Tc(r,s),a=!!n.setup;if(a&&!i.scriptSetup){i.scriptSetup=n;break}if(!a&&!i.script){i.script=n;break}break;case"style":let o=Tc(r,s);i.styles.push(o);break;default:i.customBlocks.push(Tc(r,s));break}}),{descriptor:i,errors:t}}function Tc(s,t){let e=s.tag,{start:i,end:r}=s.loc,n="";if(s.children.length)i=s.children[0].loc.start,r=s.children[s.children.length-1].loc.end,n=t.slice(i.offset,r.offset);else{let c=s.loc.source.indexOf("</");c>-1&&(i={line:i.line,column:i.column+c,offset:i.offset+c}),r=Object.assign({},i)}let a={source:n,start:i,end:r},o={},l={type:e,content:n,loc:a,attrs:o};return s.props.forEach(c=>{c.type===Cc.NodeTypes.ATTRIBUTE&&(o[c.name]=c.value&&c.value.content||!0,c.name==="lang"?l.lang=c.value?.content:c.name==="src"?l.__src=od(c,s):AD(l)?c.name==="vapor"?(l.setup??=o[c.name],l.__generic??=!0):c.name==="setup"?l.setup=o[c.name]:c.name==="generic"&&(l.__generic=od(c,s)):gD(l)&&(c.name==="scoped"?l.scoped=!0:c.name==="module"&&(l.__module=od(c,s))))}),l}function AD(s){return s.type==="script"}function gD(s){return s.type==="style"}function od(s,t){if(!s.value)return!0;let[e,i]=(0,dD.normalizeAttributeValue)(s.value);return{text:e,offset:i-t.loc.start.offset}}});var Xb=D(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});var yD=bc(),ED=wr(),SD=ad(),bD=Ic(),TD=/^---[\s\S]*?\n---(?:\r?\n|$)/,CD=/(`{3}|\${2})[\s\S]+?\1/g,ID=/^\s*<<<\s*.+/gm,_D=/<(script|style)\b[^>]*>([\s\S]*?)<\/\1>/g,PD=/(?<=<\/?)([a-z][a-z0-9-]*)\b[^>]*(?=>)/gi,ND=/(?<=\{\{)[\s\S]*?(?=\}\})/g,xD=/(`{1,2})[^`]+\1/g,vD=/<[^\s:]*:\S*>/g,OD=({vueCompilerOptions:s})=>({version:2.2,getLanguageId(t){if(s.vitePressExtensions.some(e=>t.endsWith(e)))return"markdown"},isValidFile(t,e){return e==="markdown"},parseSFC2(t,e,i){if(e!=="markdown")return;for(let u of[TD,CD,ID])i=i.replace(u,h=>" ".repeat(h.length));let r=[];for(let{0:u,index:h}of i.matchAll(_D))r.push([u,void 0,h]),r.push(`
|
|
58
|
+
`)})}else yield*n}else yield"() => {}"}function*sb(s,t,e){e.exp?.type===ka.NodeTypes.SIMPLE_EXPRESSION?(yield`(...[$event]) => {${Ns.newLine}`,yield*t.generateConditionGuards(),yield*(0,eb.generateInterpolation)(s,t,s.template,Lr.codeFeatures.verification,e.exp.content,e.exp.loc.start.offset),yield` = $event${Ns.endOfLine}`,yield"}"):yield"() => {}"}function ib(s,t){let e=!0;return t.statements.length===0?e=!1:t.statements.length===1&&s.forEachChild(t,i=>{s.isExpressionStatement(i)?s.forEachChild(i,r=>{(s.isArrowFunction(r)||rb(s,r))&&(e=!1)}):s.isFunctionDeclaration(i)&&(e=!1)}),e}function rb(s,t){return s.isIdentifier(t)?!0:s.isPropertyAccessExpression(t)?rb(s,t.expression):!1}});var uc=D(js=>{"use strict";var xw=js&&js.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),vw=js&&js.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),Ow=js&&js.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&xw(e,t,i[r]);return vw(e,t),e}})();Object.defineProperty(js,"__esModule",{value:!0});js.generateElementProps=Rw;js.generatePropExp=_f;var ze=Ow(Ve()),Cf=at(),If=QS(),cc=Ut(),xs=$e(),ww=rc(),ub=nt(),Pn=_e(),$s=ft(),Lw=vr(),Mw=YS(),Dw=Pf(),nb=lc(),ab=as(),ob=La();function*Rw(s,t,e,i,r,n){let a=e.tagType===ze.ElementTypes.COMPONENT;for(let o of i)o.type===ze.NodeTypes.DIRECTIVE&&o.name==="on"&&(o.arg?.type===ze.NodeTypes.SIMPLE_EXPRESSION&&!o.arg.loc.source.startsWith("[")&&!o.arg.loc.source.endsWith("]")?(a?yield`...{ '${(0,Cf.camelize)("on-"+o.arg.loc.source)}': {} as any },`:(yield"...{ ",yield*(0,nb.generateEventArg)(s,o.arg.loc.source,o.arg.loc.start.offset),yield": ",yield*(0,nb.generateEventExpression)(s,t,o),yield"},"),yield Pn.newLine):o.arg?.type===ze.NodeTypes.SIMPLE_EXPRESSION&&o.exp?.type===ze.NodeTypes.SIMPLE_EXPRESSION&&o.arg.loc.source.startsWith("[")&&o.arg.loc.source.endsWith("]")?(n?.push({node:o.arg,prefix:"(",suffix:")"}),n?.push({node:o.exp,prefix:"() => {",suffix:"}"})):!o.arg&&o.exp?.type===ze.NodeTypes.SIMPLE_EXPRESSION&&n?.push({node:o.exp,prefix:"(",suffix:")"}));for(let o of i)if(o.type===ze.NodeTypes.DIRECTIVE&&(o.name==="bind"&&o.arg?.type===ze.NodeTypes.SIMPLE_EXPRESSION||o.name==="model")&&(!o.exp||o.exp.type===ze.NodeTypes.SIMPLE_EXPRESSION)){let l;if(o.arg?.type===ze.NodeTypes.SIMPLE_EXPRESSION?l=o.arg.constType===ze.ConstantTypes.CAN_STRINGIFY?o.arg.content:o.arg.loc.source:l=Bw(e,s.vueCompilerOptions),l===void 0||s.vueCompilerOptions.dataAttributes.some(d=>(0,If.isMatch)(l,d))){o.exp&&o.exp.constType!==ze.ConstantTypes.CAN_STRINGIFY&&n?.push({node:o.exp,prefix:"(",suffix:")"});continue}o.name==="bind"&&o.modifiers.some(d=>d.content==="prop"||d.content==="attr")&&(l=l.slice(1));let c=l==="style"||l==="class",u=lb(s,e,o,l),p=cb(r);c&&(yield"...{ ");let h=yield*(0,$s.startBoundary)("template",o.loc.start.offset,xs.codeFeatures.verification);if(o.arg)yield*(0,ob.generateObjectProperty)(s,t,l,o.arg.loc.start.offset,p,u);else{let d=yield*(0,$s.startBoundary)("template",o.loc.start.offset,xs.codeFeatures.withoutHighlightAndCompletion);yield l,yield(0,$s.endBoundary)(d,o.loc.start.offset+7)}yield": ";let f=o.arg?.loc??o.loc,m=yield*(0,$s.startBoundary)("template",f.start.offset,xs.codeFeatures.verification);if(yield*_f(s,t,o,o.exp),yield(0,$s.endBoundary)(m,f.end.offset),yield(0,$s.endBoundary)(h,o.loc.end.offset),c&&(yield" }"),yield`,${Pn.newLine}`,a&&o.name==="model"&&o.modifiers.length){let d=o.arg?.type===ze.NodeTypes.SIMPLE_EXPRESSION?o.arg.isStatic?(0,Cf.camelize)(l)+"Modifiers":`[${ub.names.tryAsConstant}(\`\${${o.arg.content}}Modifiers\`)]`:"modelModifiers";yield*(0,Dw.generateModifiers)(s,t,o,d),yield Pn.newLine}}else if(o.type===ze.NodeTypes.ATTRIBUTE){if(s.vueCompilerOptions.dataAttributes.some(f=>(0,If.isMatch)(o.name,f)))continue;let l=o.name==="style"||o.name==="class",c=lb(s,e,o,o.name),u=cb(r);l&&(yield"...{ ");let p=yield*(0,$s.startBoundary)("template",o.loc.start.offset,xs.codeFeatures.verification),h=s.template.content.slice(o.loc.start.offset,o.loc.start.offset+1);if(h==="."||h==="#")for(let f of o.name)yield[f,"template",o.loc.start.offset,u];else yield*(0,ob.generateObjectProperty)(s,t,o.name,o.loc.start.offset,u,c);yield": ",o.name==="style"?yield"{}":o.value?yield*kw(o.value,xs.codeFeatures.withoutNavigation):yield"true",yield(0,$s.endBoundary)(p,o.loc.end.offset),l&&(yield" }"),yield`,${Pn.newLine}`}else if(o.name==="bind"&&!o.arg&&o.exp?.type===ze.NodeTypes.SIMPLE_EXPRESSION)if(o.exp.loc.source==="$attrs")n?.push({node:o.exp,prefix:"(",suffix:")"});else{let l=yield*(0,$s.startBoundary)("template",o.exp.loc.start.offset,xs.codeFeatures.verification);yield"...",yield*_f(s,t,o,o.exp),yield(0,$s.endBoundary)(l,o.exp.loc.end.offset),yield`,${Pn.newLine}`}}function*_f(s,t,e,i){if(!i)yield"{}";else if(e.arg?.loc.start.offset!==e.exp?.loc.start.offset)yield*(0,ab.generateInterpolation)(s,t,s.template,xs.codeFeatures.all,i.loc.source,i.loc.start.offset,"(",")");else{let r=(0,Cf.camelize)(i.loc.source);if(Pn.identifierRegex.test(r)){let n=(0,Lw.generateCamelized)(i.loc.source,"template",i.loc.start.offset,{...xs.codeFeatures.withoutHighlightAndCompletion,__shorthandExpression:"html"});(0,ab.shouldIdentifierSkipped)(t,r)?yield*n:s.setupRefs.has(r)?(yield*n,yield".value"):(t.recordComponentAccess("template",r,i.loc.start.offset),yield ub.names.ctx,yield".",yield*n),t.inlayHints.push((0,ww.createVBindShorthandInlayHintInfo)(e.loc,r))}}}function*kw(s,t){let e=s.loc.source.startsWith("'")?"'":'"',[i,r]=(0,cc.normalizeAttributeValue)(s);yield e,yield*(0,Mw.generateUnicode)(i,r,t),yield e}function lb(s,t,e,i){return(t.tagType===ze.ElementTypes.COMPONENT||t.tagType===ze.ElementTypes.SLOT)&&(e.type!==ze.NodeTypes.DIRECTIVE||e.arg?.type===ze.NodeTypes.SIMPLE_EXPRESSION&&e.arg.isStatic)&&(0,cc.hyphenateAttr)(i)===i&&(t.tagType===ze.ElementTypes.SLOT||!s.vueCompilerOptions.htmlAttributes.some(r=>(0,If.isMatch)(i,r)))}function cb(s){return{...xs.codeFeatures.withoutHighlightAndCompletion,...s?xs.codeFeatures.verification:xs.codeFeatures.doNotReportTs2353AndTs2561,__propsCompletion:!0}}function Bw(s,t){for(let e in t.experimentalModelPropName){let i=t.experimentalModelPropName[e];for(let r in i)if(s.tag===r||s.tag===(0,cc.hyphenateTag)(r)){let n=i[r];if(typeof n=="object"){let a=Array.isArray(n)?n:[n];for(let o of a){let l=!1;for(let c in o){let u=s.props.find(p=>p.type===ze.NodeTypes.ATTRIBUTE&&p.name===c);if(!u||u.value?.content!==o[c]){l=!0;break}}if(!l)return e||void 0}}}}for(let e in t.experimentalModelPropName){let i=t.experimentalModelPropName[e];for(let r in i)if((s.tag===r||s.tag===(0,cc.hyphenateTag)(r))&&i[r]===!0)return e||void 0}return"modelValue"}});var Pf=D(Ks=>{"use strict";var Fw=Ks&&Ks.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),Vw=Ks&&Ks.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),Uw=Ks&&Ks.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&Fw(e,t,i[r]);return Vw(e,t),e}})();Object.defineProperty(Ks,"__esModule",{value:!0});Ks.generateElementDirectives=Xw;Ks.generateModifiers=pb;var vf=Uw(Ve()),Nf=at(),mi=$e(),xf=nt(),$w=_e(),Hs=ft(),jw=vr(),Hw=xa(),Kw=uc(),Gw=as(),Ww=La();function*Xw(s,t,e){for(let i of e.props){if(i.type!==vf.NodeTypes.DIRECTIVE||i.name==="slot"||i.name==="on"||i.name==="model"||i.name==="bind")continue;let r=yield*(0,Hs.startBoundary)("template",i.loc.start.offset,mi.codeFeatures.verification);yield`${xf.names.asFunctionalDirective}(`,yield*qw(s,t,i),yield`, {} as import('${s.vueCompilerOptions.lib}').ObjectDirective)(null!, { ...${xf.names.directiveBindingRestFields}, `,yield*Qw(s,t,i),yield*pb(s,t,i),yield*Jw(s,t,i),yield" }, null!, null!)",yield(0,Hs.endBoundary)(r,i.loc.end.offset),yield $w.endOfLine}}function*qw(s,t,e){let i="v-"+e.name,r=e.loc.start.offset,n=yield*(0,Hs.startBoundary)("template",r,mi.codeFeatures.verification);yield xf.names.directives,yield".",yield*(0,jw.generateCamelized)(i,"template",e.loc.start.offset,{...mi.codeFeatures.withoutHighlightAndCompletion,verification:s.vueCompilerOptions.checkUnknownDirectives&&!(0,Nf.isBuiltInDirective)(e.name)}),(0,Nf.isBuiltInDirective)(e.name)||t.recordComponentAccess("template",(0,Nf.camelize)(i),e.loc.start.offset),yield(0,Hs.endBoundary)(n,r+i.length)}function*Qw(s,t,e){let{arg:i}=e;if(i?.type!==vf.NodeTypes.SIMPLE_EXPRESSION)return;let r=i.loc.start.offset+i.loc.source.indexOf(i.content),n=yield*(0,Hs.startBoundary)("template",r,mi.codeFeatures.verification);yield"arg",yield(0,Hs.endBoundary)(n,r+i.content.length),yield": ",i.isStatic?yield*(0,Hw.generateStringLiteralKey)(i.content,r,mi.codeFeatures.all):yield*(0,Gw.generateInterpolation)(s,t,s.template,mi.codeFeatures.all,i.content,r,"(",")"),yield", "}function*pb(s,t,e,i="modifiers"){let{modifiers:r}=e;if(!r.length)return;let n=r[0].loc.start.offset-1,a=r.at(-1).loc.end.offset,o=yield*(0,Hs.startBoundary)("template",n,mi.codeFeatures.verification);yield i,yield(0,Hs.endBoundary)(o,a),yield": { ";for(let l of r)yield*(0,Ww.generateObjectProperty)(s,t,l.content,l.loc.start.offset,mi.codeFeatures.withoutHighlight),yield": true, ";yield"}, "}function*Jw(s,t,e){let{exp:i}=e;if(i?.type!==vf.NodeTypes.SIMPLE_EXPRESSION)return;let r=yield*(0,Hs.startBoundary)("template",i.loc.start.offset,mi.codeFeatures.verification);yield"value",yield(0,Hs.endBoundary)(r,i.loc.end.offset),yield": ",yield*(0,Kw.generatePropExp)(s,t,e,i)}});var wf=D(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});Of.generatePropertyAccess=eL;var Yw=_e(),zw=xa(),Zw=as();function*eL(s,t,e,i,r){e.startsWith("[")&&e.endsWith("]")?yield*(0,Zw.generateInterpolation)(s,t,s.template,r,e,i):Yw.identifierRegex.test(e)?(yield".",yield[e,"template",i,r]):(yield"[",yield*(0,zw.generateStringLiteralKey)(e,i,r),yield"]")}});var hb=D(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});Lf.generateEscaped=tL;function*tL(s,t,e,i,r){let n=s.split(r),a=i.__combineToken??Symbol(),o=!1;for(let l=0;l<n.length;l++){let c=n[l];o&&(yield"\\"),yield[c,t,e,l===0?{...i,__combineToken:a}:{__combineToken:a}],e+=c.length,o=!o}}});var Df=D(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});Mr.references=void 0;Mr.generateStyleScopedClassReference=rL;var Mf=$e(),fb=nt(),db=_e(),mb=ft(),sL=hb(),iL=/([\\'])/;Mr.references=new WeakMap;function*rL(s,t,e,i=e){if(!t){yield`/** @type {${fb.names.StyleScopedClasses}['`,yield["","template",e,Mf.codeFeatures.completion],yield`']} */${db.endOfLine}`;return}let r=Mr.references.get(s);if(!r||r[0]!==s.content){let a=[];Mr.references.set(s,[s.content,a]),a.push([t,e])}else r[1].push([t,e]);yield`/** @type {${fb.names.StyleScopedClasses}[`;let n=yield*(0,mb.startBoundary)(s.name,i,Mf.codeFeatures.navigation);yield"'",yield*(0,sL.generateEscaped)(t,s.name,e,Mf.codeFeatures.navigationAndCompletion,iL),yield"'",yield(0,mb.endBoundary)(n,e+t.length),yield`]} */${db.endOfLine}`}});var Bf=D(Ai=>{"use strict";var nL=Ai&&Ai.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),aL=Ai&&Ai.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),oL=Ai&&Ai.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&nL(e,t,i[r]);return aL(e,t),e}})();Object.defineProperty(Ai,"__esModule",{value:!0});Ai.generateVSlot=fL;var Rf=oL(Ve()),kf=wr(),lL=Or(),Hi=$e(),cL=nt(),Nn=_e(),xn=ft(),uL=as(),pL=La(),hL=Ki();function*fL(s,t,e,i,r){let n=t.getInternalVariable();if(i)if(yield`{${Nn.newLine}`,yield"const { ",i.arg?.type===Rf.NodeTypes.SIMPLE_EXPRESSION&&i.arg.content)yield*(0,pL.generateObjectProperty)(s,t,i.arg.loc.source,i.arg.loc.start.offset,i.arg.isStatic?Hi.codeFeatures.withoutHighlight:Hi.codeFeatures.all,!1,!0);else{let o=yield*(0,xn.startBoundary)("template",i.loc.start.offset,Hi.codeFeatures.withoutHighlightAndCompletion);yield"default",yield(0,xn.endBoundary)(o,i.loc.start.offset+(i.rawName?.length??0))}else{yield"const { ";let o=yield*(0,xn.startBoundary)("template",e.loc.start.offset,Hi.codeFeatures.navigation);yield"default",yield(0,xn.endBoundary)(o,e.loc.end.offset)}yield`: ${n} } = ${r}.slots!${Nn.endOfLine}`;let a=t.startScope();if(i?.exp?.type===Rf.NodeTypes.SIMPLE_EXPRESSION){let o=(0,Nn.getTypeScriptAST)(s.typescript,s.template,`(${i.exp.content}) => {}`);yield*dL(s,t,o,i.exp,n),t.declare(...(0,lL.collectBindingNames)(s.typescript,o,o))}for(let o of e.children)yield*(0,hL.generateTemplateChild)(s,t,o);if(yield*a(),i){let o=!0;i.arg?.type===Rf.NodeTypes.SIMPLE_EXPRESSION&&(o=i.arg.isStatic),o&&!i.arg&&(yield`${r}.slots!['`,yield["","template",i.loc.start.offset+(i.loc.source.startsWith("#")?1:i.loc.source.startsWith("v-slot:")?7:0),Hi.codeFeatures.completion],yield`'/* empty slot name completion */]${Nn.endOfLine}`),yield`}${Nn.newLine}`}}function*dL(s,t,e,i,r){let{typescript:n}=s,a=e.statements[0];if(!a||!n.isExpressionStatement(a)||!n.isArrowFunction(a.expression))return;let{expression:o}=a,l=i.loc.start.offset-1,c=[],u=[...(0,uL.generateInterpolation)(s,t,s.template,Hi.codeFeatures.all,e.text,l)];(0,kf.replaceSourceRange)(u,"template",l,l+1),(0,kf.replaceSourceRange)(u,"template",l+e.text.length-7,l+e.text.length);for(let{name:p,type:h}of o.parameters)h?(c.push([e.text.slice(p.end,h.end),"template",l+p.end,Hi.codeFeatures.all]),(0,kf.replaceSourceRange)(u,"template",l+p.end,l+h.end)):c.push(null);if(yield"const [",yield*u,yield`] = ${cL.names.vSlot}(${r}!`,c.some(p=>p)){yield", ";let p=yield*(0,xn.startBoundary)("template",i.loc.start.offset,Hi.codeFeatures.verification);yield"(",yield*c.flatMap(h=>h?["_",h,", "]:"_, "),yield") => [] as any",yield(0,xn.endBoundary)(p,i.loc.end.offset)}yield`)${Nn.endOfLine}`}});var _b=D(vs=>{"use strict";var mL=vs&&vs.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),AL=vs&&vs.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),gL=vs&&vs.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&mL(e,t,i[r]);return AL(e,t),e}})();Object.defineProperty(vs,"__esModule",{value:!0});vs.generateComponent=TL;vs.generateElement=CL;vs.generateFragment=IL;var gi=gL(Ve()),Ba=at(),yL=wr(),Gi=Ut(),Ge=$e(),EL=rc(),it=nt(),We=_e(),Gs=ft(),Fa=vr(),Ab=xa(),Eb=Pf(),SL=lc(),Vf=uc(),Ff=as(),gb=wf(),pc=Df(),Sb=Ki(),bL=Bf();function*TL(s,t,e){let{tag:i,props:r}=e,[n,a]=(0,Gi.getElementTagOffsets)(e,s.template),o=!1,l=!1;if(i.includes("."))o=!0;else if(i==="component"){for(let g of e.props)if(g.type===gi.NodeTypes.DIRECTIVE&&g.name==="bind"&&g.arg?.loc.source==="is"&&g.exp?.type===gi.NodeTypes.SIMPLE_EXPRESSION){l=g.arg.loc.end.offset===g.exp.loc.end.offset,l&&t.inlayHints.push((0,EL.createVBindShorthandInlayHintInfo)(g.exp.loc,"is")),o=!0,i=g.exp.content,n=g.exp.loc.start.offset,a=void 0,r=r.filter(_=>_!==g);break}}let c=t.getInternalVariable();if(o)yield`const ${c} = `,yield*(0,Ff.generateInterpolation)(s,t,s.template,l?Ge.codeFeatures.withoutHighlightAndCompletion:Ge.codeFeatures.all,i,n,"(",")"),a!==void 0&&(yield" || ",yield*(0,Ff.generateInterpolation)(s,t,s.template,Ge.codeFeatures.withoutCompletion,i,a,"(",")")),yield`${We.endOfLine}`;else{let g=new Set([(0,Ba.capitalize)((0,Ba.camelize)(i)),(0,Ba.camelize)(i),i]),_=[...g].find(M=>s.setupConsts.has(M));if(_)yield`const ${c} = `,yield*(0,Fa.generateCamelized)(_[0]+i.slice(1),"template",n,{...Ge.codeFeatures.withoutHighlightAndCompletion,...Ge.codeFeatures.importCompletionOnly}),a!==void 0&&(yield" || ",yield*(0,Fa.generateCamelized)(_[0]+i.slice(1),"template",a,Ge.codeFeatures.withoutHighlightAndCompletion)),yield We.endOfLine;else{yield`let ${c}!: ${it.names.WithComponent}<'${i}', ${it.names.LocalComponents}, ${it.names.GlobalComponents}`,yield g.has(s.componentName)?`, typeof ${it.names.export}`:", void";for(let M of g)yield`, '${M}'`;if(yield">[",yield*(0,Ab.generateStringLiteralKey)(i,n,{...Ge.codeFeatures.semanticWithoutHighlight,...s.vueCompilerOptions.checkUnknownComponents?Ge.codeFeatures.verification:Ge.codeFeatures.doNotReportTs2339AndTs2551}),yield`]${We.endOfLine}`,We.identifierRegex.test((0,Ba.camelize)(i))){yield"/** @ts-ignore @type {";for(let M of[n,a])M!==void 0&&(yield` | typeof ${it.names.components}.`,yield*(0,Fa.generateCamelized)(i,"template",M,Ge.codeFeatures.navigation),i[0]!==i[0].toUpperCase()&&(yield` | typeof ${it.names.components}.`,yield*(0,Fa.generateCamelized)((0,Ba.capitalize)(i),"template",M,Ge.codeFeatures.navigation)),i.includes("-")&&(yield` | typeof ${it.names.components}[`,yield*(0,Ab.generateStringLiteralKey)(i,M,Ge.codeFeatures.navigation),yield"]"));yield`} */${We.newLine}`,yield*(0,Fa.generateCamelized)(i,"template",n,Ge.codeFeatures.importCompletionOnly),yield We.endOfLine}}}let u=!1,p=!1,h=()=>(u=!0,A),f=()=>(p=!0,y);t.components.push(h);let m=t.getInternalVariable(),d=t.getInternalVariable(),A=t.getInternalVariable(),y=t.getInternalVariable(),S=[],P=[...(0,Vf.generateElementProps)(s,t,e,r,s.vueCompilerOptions.checkUnknownProps,S)],x=(0,yL.toString)(P);yield`// @ts-ignore${We.newLine}`,yield`const ${m} = ${s.vueCompilerOptions.checkUnknownProps?it.names.asFunctionalComponent0:it.names.asFunctionalComponent1}(${c}, new ${c}({${We.newLine}`,yield x,yield`}))${We.endOfLine}`,yield"const ";let v=yield*(0,Gs.startBoundary)("template",e.loc.start.offset,Ge.codeFeatures.doNotReportTs6133);if(yield d,yield(0,Gs.endBoundary)(v,e.loc.end.offset),yield` = ${m}`,t.currentInfo.generic){let{content:g,offset:_}=t.currentInfo.generic,M=yield*(0,Gs.startBoundary)("template",_,Ge.codeFeatures.verification);yield"<",yield[g,"template",_,Ge.codeFeatures.all],yield">",yield(0,Gs.endBoundary)(M,_+g.length)}let L=Ib(s,t,e);yield"(";let R=yield*(0,Gs.startBoundary)("template",n,L&&s.vueCompilerOptions.checkRequiredFallthroughAttributes?{}:Ge.codeFeatures.verification);yield"{",yield["","template",e.loc.start.offset,{__propsCompletion:!0}],yield We.newLine,yield*P,yield"}",yield(0,Gs.endBoundary)(R,n+i.length),yield`, ...${it.names.functionalComponentArgsRest}(${m}))${We.endOfLine}`,yield*Tb(s,t,S),yield*(0,SL.generateElementEvents)(s,t,e,c,h,f),yield*(0,Eb.generateElementDirectives)(s,t,e);let I=Cb(e),N=t.singleRootNodes.has(e)&&!s.vueCompilerOptions.fallthroughComponentNames.includes((0,Gi.hyphenateTag)(i));if(I||N){let g=t.getInternalVariable();if(yield`var ${g}!: Parameters<NonNullable<typeof ${h()}['expose']>>[0]`,yield We.endOfLine,I){let _=`typeof ${t.getHoistVariable(g)} | null`;t.inVFor&&(_=`(${_})[]`),t.addTemplateRef(I[0],_,I[1])}N&&t.singleRootElTypes.add(`NonNullable<typeof ${g}>['$el']`)}if(L)if(s.vueCompilerOptions.checkRequiredFallthroughAttributes){let g=t.getInternalVariable();yield`var ${g} = ${it.names.omit}(${f()}, {
|
|
59
|
+
${x}})${We.endOfLine}`,t.inheritedAttrVars.add(g)}else t.inheritedAttrVars.add(f());yield*bb(s,e);let b=e.props.find(gi.isVSlot);(b||e.children.length)&&(yield*(0,bL.generateVSlot)(s,t,e,b,h())),u&&(yield`var ${A}!: ${it.names.FunctionalComponentCtx}<typeof ${c}, typeof ${d}>${We.endOfLine}`),p&&(yield`var ${y}!: ${it.names.FunctionalComponentProps}<typeof ${c}, typeof ${d}>${We.endOfLine}`),t.components.pop()}function*CL(s,t,e){let[i,r]=(0,Gi.getElementTagOffsets)(e,s.template),n=[];yield`${s.vueCompilerOptions.checkUnknownProps?it.names.asFunctionalElement0:it.names.asFunctionalElement1}(${it.names.intrinsics}`,yield*(0,gb.generatePropertyAccess)(s,t,e.tag,i,Ge.codeFeatures.withoutHighlightAndCompletion),r!==void 0&&(yield", ",yield it.names.intrinsics,yield*(0,gb.generatePropertyAccess)(s,t,e.tag,r,Ge.codeFeatures.withoutHighlightAndCompletion)),yield")(";let a=yield*(0,Gs.startBoundary)("template",i,Ge.codeFeatures.verification);yield`{${We.newLine}`,yield*(0,Vf.generateElementProps)(s,t,e,e.props,s.vueCompilerOptions.checkUnknownProps,n),yield"}",yield(0,Gs.endBoundary)(a,i+e.tag.length),yield`)${We.endOfLine}`,yield*Tb(s,t,n),yield*(0,Eb.generateElementDirectives)(s,t,e);let o=Cb(e);if(o){let l=`${it.names.Elements}['${e.tag}']`;t.inVFor&&(l+="[]"),t.addTemplateRef(o[0],l,o[1])}t.singleRootNodes.has(e)&&t.singleRootElTypes.add(`${it.names.Elements}['${e.tag}']`),Ib(s,t,e)&&t.inheritedAttrVars.add(`${it.names.intrinsics}.${e.tag}`),yield*bb(s,e);for(let l of e.children)yield*(0,Sb.generateTemplateChild)(s,t,l)}function*IL(s,t,e){let[i]=(0,Gi.getElementTagOffsets)(e,s.template);if(e.props.length){yield"__VLS_asFunctionalElement(__VLS_intrinsics.template)(";let r=yield*(0,Gs.startBoundary)("template",i,Ge.codeFeatures.verification);yield`{${We.newLine}`,yield*(0,Vf.generateElementProps)(s,t,e,e.props,s.vueCompilerOptions.checkUnknownProps),yield"}",yield(0,Gs.endBoundary)(r,i+e.tag.length),yield`)${We.endOfLine}`}for(let r of e.children)yield*(0,Sb.generateTemplateChild)(s,t,r)}function*bb({template:s,typescript:t},e){for(let i of e.props)if(i.type===gi.NodeTypes.ATTRIBUTE&&i.name==="class"&&i.value){let[r,n]=(0,Gi.normalizeAttributeValue)(i.value);for(let[a,o]of yb(r))yield*(0,pc.generateStyleScopedClassReference)(s,a,n+o)}else if(i.type===gi.NodeTypes.DIRECTIVE&&i.arg?.type===gi.NodeTypes.SIMPLE_EXPRESSION&&i.exp?.type===gi.NodeTypes.SIMPLE_EXPRESSION&&i.arg.content==="class"){let r="("+i.exp.content+")",n=i.exp.loc.start.offset-1,a=(0,We.getTypeScriptAST)(t,s,r),o=[];for(let u of(0,We.forEachNode)(t,a)){if(!t.isExpressionStatement(u)||!t.isParenthesizedExpression(u.expression))continue;let{expression:p}=u.expression;t.isStringLiteralLike(p)?o.push(p):t.isArrayLiteralExpression(p)?yield*l(p):t.isObjectLiteralExpression(p)&&(yield*c(p))}for(let u of o){let p=u.end-u.text.length-1+n;for(let[h,f]of yb(u.text))yield*(0,pc.generateStyleScopedClassReference)(s,h,p+f)}function*l(u){let{elements:p}=u;for(let h of p)t.isStringLiteralLike(h)?o.push(h):t.isObjectLiteralExpression(h)&&(yield*c(h))}function*c(u){let{properties:p}=u;for(let h of p)if(t.isPropertyAssignment(h)){let{name:f}=h;if(t.isIdentifier(f)){let m=(0,Gi.getNodeText)(t,f,a);yield*(0,pc.generateStyleScopedClassReference)(s,m,f.end-m.length+n)}else if(t.isStringLiteral(f))o.push(f);else if(t.isComputedPropertyName(f)){let{expression:m}=f;t.isStringLiteralLike(m)&&o.push(m)}}else if(t.isShorthandPropertyAssignment(h)){let f=(0,Gi.getNodeText)(t,h.name,a);yield*(0,pc.generateStyleScopedClassReference)(s,f,h.name.end-f.length+n)}}}}function*yb(s){let t=0;for(let e of s.split(" "))yield[e,t],t+=e.length+1}function*Tb(s,t,e){for(let{node:i,prefix:r,suffix:n}of e)yield*(0,Ff.generateInterpolation)(s,t,s.template,Ge.codeFeatures.all,i.loc.source,i.loc.start.offset,r,n),yield We.endOfLine}function Cb(s){for(let t of s.props)if(t.type===gi.NodeTypes.ATTRIBUTE&&t.name==="ref"&&t.value)return(0,Gi.normalizeAttributeValue)(t.value)}function Ib(s,t,e){return s.vueCompilerOptions.fallthroughAttributes&&(s.inheritAttrs&&t.singleRootNodes.has(e)||e.props.some(i=>i.type===gi.NodeTypes.DIRECTIVE&&i.name==="bind"&&i.exp?.loc.source==="$attrs"))}});var Nb=D(yi=>{"use strict";var _L=yi&&yi.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),PL=yi&&yi.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),NL=yi&&yi.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&_L(e,t,i[r]);return PL(e,t),e}})();Object.defineProperty(yi,"__esModule",{value:!0});yi.generateSlotOutlet=LL;var Wi=NL(Ve()),Pb=Ut(),Dr=$e(),xL=rc(),hc=nt(),Va=_e(),Xi=ft(),Uf=uc(),vL=as(),OL=wf(),wL=Ki();function*LL(s,t,e){let[i]=(0,Pb.getElementTagOffsets)(e,s.template),r=i+e.tag.length,n=t.getInternalVariable(),a=e.props.find(o=>{if(o.type===Wi.NodeTypes.ATTRIBUTE)return o.name==="name";if(o.name==="bind"&&o.arg?.type===Wi.NodeTypes.SIMPLE_EXPRESSION)return o.arg.content==="name"});if(s.hasDefineSlots){if(yield`${hc.names.asFunctionalSlot}(`,a){let l;if(a.type===Wi.NodeTypes.ATTRIBUTE&&a.value){let[u,p]=(0,Pb.normalizeAttributeValue)(a.value);l=(0,OL.generatePropertyAccess)(s,t,u,p,Dr.codeFeatures.navigationAndVerification)}else a.type===Wi.NodeTypes.DIRECTIVE&&a.exp?.type===Wi.NodeTypes.SIMPLE_EXPRESSION?l=["[",...(0,Uf.generatePropExp)(s,t,a,a.exp),"]"]:l=["['default']"];let c=yield*(0,Xi.startBoundary)("template",a.loc.start.offset,Dr.codeFeatures.verification);yield s.slotsAssignName??hc.names.slots,yield*l,yield(0,Xi.endBoundary)(c,a.loc.end.offset)}else{let l=yield*(0,Xi.startBoundary)("template",i,Dr.codeFeatures.verification);yield`${s.slotsAssignName??hc.names.slots}[`;let c=yield*(0,Xi.startBoundary)("template",i,Dr.codeFeatures.verification);yield"'default'",yield(0,Xi.endBoundary)(c,r),yield"]",yield(0,Xi.endBoundary)(l,r)}yield")(";let o=yield*(0,Xi.startBoundary)("template",i,Dr.codeFeatures.verification);yield`{${Va.newLine}`,yield*(0,Uf.generateElementProps)(s,t,e,e.props.filter(l=>l!==a),!0),yield"}",yield(0,Xi.endBoundary)(o,r),yield`)${Va.endOfLine}`}else if(yield`var ${n} = {${Va.newLine}`,yield*(0,Uf.generateElementProps)(s,t,e,e.props.filter(o=>o!==a),s.vueCompilerOptions.checkUnknownProps),yield`}${Va.endOfLine}`,a?.type===Wi.NodeTypes.ATTRIBUTE&&a.value)t.slots.push({name:a.value.content,offset:a.loc.start.offset+a.loc.source.indexOf(a.value.content,a.name.length),tagRange:[i,i+e.tag.length],nodeLoc:e.loc,propsVar:t.getHoistVariable(n)});else if(a?.type===Wi.NodeTypes.DIRECTIVE&&a.exp?.type===Wi.NodeTypes.SIMPLE_EXPRESSION){let o=a.arg?.loc.start.offset===a.exp.loc.start.offset;o&&t.inlayHints.push((0,xL.createVBindShorthandInlayHintInfo)(a.exp.loc,"name"));let l=t.getInternalVariable();yield`var ${l} = ${hc.names.tryAsConstant}(`,yield*(0,vL.generateInterpolation)(s,t,s.template,o?Dr.codeFeatures.withoutHighlightAndCompletion:Dr.codeFeatures.all,a.exp.content,a.exp.loc.start.offset),yield`)${Va.endOfLine}`,t.dynamicSlots.push({expVar:t.getHoistVariable(l),propsVar:t.getHoistVariable(n)})}else t.slots.push({name:"default",tagRange:[i,r],nodeLoc:e.loc,propsVar:t.getHoistVariable(n)});for(let o of e.children)yield*(0,wL.generateTemplateChild)(s,t,o)}});var jf=D(Ws=>{"use strict";var ML=Ws&&Ws.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),DL=Ws&&Ws.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),RL=Ws&&Ws.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&ML(e,t,i[r]);return DL(e,t),e}})();Object.defineProperty(Ws,"__esModule",{value:!0});Ws.generateVFor=$L;Ws.parseVForNode=vb;var kL=RL(Ve()),BL=Or(),xb=$e(),FL=nt(),$f=_e(),VL=as(),UL=Ki();function*$L(s,t,e){let{source:i}=e.parseResult,{leftExpressionRange:r,leftExpressionText:n}=vb(e),a=t.startScope();if(yield"for (const [",r&&n){let l=(0,$f.getTypeScriptAST)(s.typescript,s.template,`const [${n}]`);t.declare(...(0,BL.collectBindingNames)(s.typescript,l,l)),yield[n,"template",r.start,xb.codeFeatures.all]}yield"] of ",i.type===kL.NodeTypes.SIMPLE_EXPRESSION?(yield`${FL.names.vFor}(`,yield*(0,VL.generateInterpolation)(s,t,s.template,xb.codeFeatures.all,i.content,i.loc.start.offset,"(",")"),yield"!)"):yield"{} as any",yield`) {${$f.newLine}`;let{inVFor:o}=t;t.inVFor=!0;for(let l of e.children)yield*(0,UL.generateTemplateChild)(s,t,l,!1,!0);t.inVFor=o,yield*a(),yield`}${$f.newLine}`}function vb(s){let{value:t,key:e,index:i}=s.parseResult,r=t||e||i?{start:(t??e??i).loc.start.offset,end:(i??e??t).loc.end.offset}:void 0,n=r?s.loc.source.slice(r.start-s.loc.start.offset,r.end-s.loc.start.offset):void 0;return{leftExpressionRange:r,leftExpressionText:n}}});var wb=D(Ei=>{"use strict";var jL=Ei&&Ei.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),HL=Ei&&Ei.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),KL=Ei&&Ei.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&jL(e,t,i[r]);return HL(e,t),e}})();Object.defineProperty(Ei,"__esModule",{value:!0});Ei.generateVIf=JL;var GL=KL(Ve()),WL=wr(),XL=$e(),Ob=_e(),qL=as(),QL=Ki();function*JL(s,t,e){let i=t.blockConditions.length;for(let r=0;r<e.branches.length;r++){let n=e.branches[r];r===0?yield"if ":n.condition?yield"else if ":yield"else ";let a=!1;if(n.condition?.type===GL.NodeTypes.SIMPLE_EXPRESSION){let o=[...(0,qL.generateInterpolation)(s,t,s.template,XL.codeFeatures.all,n.condition.content,n.condition.loc.start.offset,"(",")")];yield*o,t.blockConditions.push((0,WL.toString)(o)),a=!0,yield" "}yield`{${Ob.newLine}`;for(let o of n.children)yield*(0,QL.generateTemplateChild)(s,t,o,r!==0,!0);yield`}${Ob.newLine}`,a&&(t.blockConditions[t.blockConditions.length-1]=`!${t.blockConditions[t.blockConditions.length-1]}`)}t.blockConditions.length=i}});var Ki=D(Xs=>{"use strict";var YL=Xs&&Xs.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),zL=Xs&&Xs.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),ZL=Xs&&Xs.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&YL(e,t,i[r]);return zL(e,t),e}})();Object.defineProperty(Xs,"__esModule",{value:!0});Xs.generateTemplateChild=Kf;Xs.parseInterpolationNode=Lb;var kt=ZL(Ve()),eM=Ut(),tM=$e(),sM=_e(),Hf=_b(),iM=as(),rM=Nb(),nM=jf(),aM=wb(),oM=Bf();function*Kf(s,t,e,i=!0,r=!1){if(!(i&&!t.enter(e))){if(e.type===kt.NodeTypes.ROOT){for(let n of fc(s,e.children))t.singleRootNodes.add(n);for(let n of e.children)yield*Kf(s,t,n)}else if(e.type===kt.NodeTypes.ELEMENT)if(e.tagType===kt.ElementTypes.SLOT)yield*(0,rM.generateSlotOutlet)(s,t,e);else{let n=e.props.find(kt.isVSlot);e.tagType===kt.ElementTypes.TEMPLATE&&t.components.length&&n?yield*(0,oM.generateVSlot)(s,t,e,n,t.components.at(-1)()):e.tagType===kt.ElementTypes.TEMPLATE&&r?yield*(0,Hf.generateFragment)(s,t,e):e.tagType===kt.ElementTypes.COMPONENT?yield*(0,Hf.generateComponent)(s,t,e):yield*(0,Hf.generateElement)(s,t,e)}else if(e.type===kt.NodeTypes.COMPOUND_EXPRESSION)for(let n of e.children)typeof n=="object"&&(yield*Kf(s,t,n,!1));else if(e.type===kt.NodeTypes.INTERPOLATION){let[n,a]=Lb(e,s.template.content);yield*(0,iM.generateInterpolation)(s,t,s.template,tM.codeFeatures.all,n,a,"(",`)${sM.endOfLine}`)}else e.type===kt.NodeTypes.IF?yield*(0,aM.generateVIf)(s,t,e):e.type===kt.NodeTypes.FOR&&(yield*(0,nM.generateVFor)(s,t,e));i&&(yield*t.exit())}}function*fc(s,t,e=!1){if(t=t.filter(n=>n.type!==kt.NodeTypes.COMMENT),t.length!==1){t.length>1&&(yield null);return}let i=t[0];if(i.type===kt.NodeTypes.IF){for(let n of i.branches)yield*fc(s,n.children,!0);return}else if(i.type!==kt.NodeTypes.ELEMENT)return;if(i.tagType===kt.ElementTypes.TEMPLATE&&e){yield*fc(s,i.children);return}yield i;let r=(0,eM.hyphenateTag)(i.tag);s.vueCompilerOptions.fallthroughComponentNames.includes(r)&&(yield*fc(s,i.children))}function Lb(s,t){let e=s.content.loc.start.offset,i=s.content.loc.end.offset;for(;t[e-1]?.trim()==="";)e--;for(;t[i]?.trim()==="";)i++;return[t.slice(e,i),e]}});var Xf=D(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});Wf.generateTemplate=uM;var Gf=$e(),ut=nt(),jt=_e(),Mb=ft(),lM=Yh(),Db=La(),cM=Ki();function uM(s){let t=(0,lM.createTemplateCodegenContext)(),e=pM(s,t),i=[];for(let r of e)typeof r=="object"&&(r[3]=t.resolveCodeFeatures(r[3])),i.push(r);return{...t,codes:i}}function*pM(s,t){let e=t.startScope();t.declare(...s.setupConsts);let{slotsAssignName:i,propsAssignName:r,vueCompilerOptions:n,template:a}=s;i&&t.declare(i),r&&t.declare(r),n.inferTemplateDollarSlots&&t.dollarVars.add("$slots"),n.inferTemplateDollarAttrs&&t.dollarVars.add("$attrs"),n.inferTemplateDollarRefs&&t.dollarVars.add("$refs"),n.inferTemplateDollarEl&&t.dollarVars.add("$el"),a.ast&&(yield*(0,cM.generateTemplateChild)(s,t,a.ast)),yield*t.generateHoistVariables(),yield*hM(s,t),yield*fM(s,t),yield*dM(s,t),yield*mM(t),t.dollarVars.size&&(yield`var ${ut.names.dollars}!: {${jt.newLine}`,t.dollarVars.has("$slots")&&(yield`$slots: ${t.generatedTypes.has(ut.names.Slots)?ut.names.Slots:"{}"}${jt.endOfLine}`),t.dollarVars.has("$attrs")&&(yield`$attrs: import('${n.lib}').ComponentPublicInstance['$attrs']`,t.generatedTypes.has(ut.names.InheritedAttrs)&&(yield` & ${ut.names.InheritedAttrs}`),yield jt.endOfLine),t.dollarVars.has("$refs")&&(yield`$refs: ${t.generatedTypes.has(ut.names.TemplateRefs)?ut.names.TemplateRefs:"{}"}${jt.endOfLine}`),t.dollarVars.has("$el")&&(yield`$el: ${t.generatedTypes.has(ut.names.RootEl)?ut.names.RootEl:"any"}${jt.endOfLine}`),yield`} & { [K in keyof import('${n.lib}').ComponentPublicInstance]: unknown }${jt.endOfLine}`),yield*e()}function*hM(s,t){if(s.hasDefineSlots){t.generatedTypes.add(ut.names.Slots);return}if(!(!t.slots.length&&!t.dynamicSlots.length)){t.generatedTypes.add(ut.names.Slots),yield`type ${ut.names.Slots} = {}`;for(let{expVar:e,propsVar:i}of t.dynamicSlots)yield`${jt.newLine}& { [K in NonNullable<typeof ${e}>]?: (props: typeof ${i}) => any }`;for(let e of t.slots){if(yield`${jt.newLine}& { `,e.name&&e.offset!==void 0)yield*(0,Db.generateObjectProperty)(s,t,e.name,e.offset,Gf.codeFeatures.navigation);else{let i=yield*(0,Mb.startBoundary)("template",e.tagRange[0],Gf.codeFeatures.navigation);yield"default",yield(0,Mb.endBoundary)(i,e.tagRange[1])}yield`?: (props: typeof ${e.propsVar}) => any }`}yield jt.endOfLine}}function*fM(s,t){if(!t.inheritedAttrVars.size)return;t.generatedTypes.add(ut.names.InheritedAttrs);let e=[...t.inheritedAttrVars].map(i=>`typeof ${i}`).join(" & ");yield`type ${ut.names.InheritedAttrs} = ${s.vueCompilerOptions.checkRequiredFallthroughAttributes?e:`Partial<${e}>`}`,yield jt.endOfLine}function*dM(s,t){if(t.templateRefs.size){t.generatedTypes.add(ut.names.TemplateRefs),yield`type ${ut.names.TemplateRefs} = {}`;for(let[e,i]of t.templateRefs){yield`${jt.newLine}& `,i.length>=2&&(yield"(");for(let r=0;r<i.length;r++){let{typeExp:n,offset:a}=i[r];r&&(yield" | "),yield"{ ",yield*(0,Db.generateObjectProperty)(s,t,e,a,Gf.codeFeatures.navigation),yield`: ${n} }`}i.length>=2&&(yield")")}yield jt.endOfLine}}function*mM(s){if(!(!s.singleRootElTypes.size||s.singleRootNodes.has(null))){s.generatedTypes.add(ut.names.RootEl),yield`type ${ut.names.RootEl} = `;for(let t of s.singleRootElTypes)yield`${jt.newLine}| ${t}`;yield jt.endOfLine}}});var dc=D((WF,kb)=>{"use strict";function qs(s){if(typeof s!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(s))}function Rb(s,t){for(var e="",i=0,r=-1,n=0,a,o=0;o<=s.length;++o){if(o<s.length)a=s.charCodeAt(o);else{if(a===47)break;a=47}if(a===47){if(!(r===o-1||n===1))if(r!==o-1&&n===2){if(e.length<2||i!==2||e.charCodeAt(e.length-1)!==46||e.charCodeAt(e.length-2)!==46){if(e.length>2){var l=e.lastIndexOf("/");if(l!==e.length-1){l===-1?(e="",i=0):(e=e.slice(0,l),i=e.length-1-e.lastIndexOf("/")),r=o,n=0;continue}}else if(e.length===2||e.length===1){e="",i=0,r=o,n=0;continue}}t&&(e.length>0?e+="/..":e="..",i=2)}else e.length>0?e+="/"+s.slice(r+1,o):e=s.slice(r+1,o),i=o-r-1;r=o,n=0}else a===46&&n!==-1?++n:n=-1}return e}function AM(s,t){var e=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||"");return e?e===t.root?e+i:e+s+i:i}var vn={resolve:function(){for(var t="",e=!1,i,r=arguments.length-1;r>=-1&&!e;r--){var n;r>=0?n=arguments[r]:(i===void 0&&(i=process.cwd()),n=i),qs(n),n.length!==0&&(t=n+"/"+t,e=n.charCodeAt(0)===47)}return t=Rb(t,!e),e?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(t){if(qs(t),t.length===0)return".";var e=t.charCodeAt(0)===47,i=t.charCodeAt(t.length-1)===47;return t=Rb(t,!e),t.length===0&&!e&&(t="."),t.length>0&&i&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return qs(t),t.length>0&&t.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var t,e=0;e<arguments.length;++e){var i=arguments[e];qs(i),i.length>0&&(t===void 0?t=i:t+="/"+i)}return t===void 0?".":vn.normalize(t)},relative:function(t,e){if(qs(t),qs(e),t===e||(t=vn.resolve(t),e=vn.resolve(e),t===e))return"";for(var i=1;i<t.length&&t.charCodeAt(i)===47;++i);for(var r=t.length,n=r-i,a=1;a<e.length&&e.charCodeAt(a)===47;++a);for(var o=e.length,l=o-a,c=n<l?n:l,u=-1,p=0;p<=c;++p){if(p===c){if(l>c){if(e.charCodeAt(a+p)===47)return e.slice(a+p+1);if(p===0)return e.slice(a+p)}else n>c&&(t.charCodeAt(i+p)===47?u=p:p===0&&(u=0));break}var h=t.charCodeAt(i+p),f=e.charCodeAt(a+p);if(h!==f)break;h===47&&(u=p)}var m="";for(p=i+u+1;p<=r;++p)(p===r||t.charCodeAt(p)===47)&&(m.length===0?m+="..":m+="/..");return m.length>0?m+e.slice(a+u):(a+=u,e.charCodeAt(a)===47&&++a,e.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(qs(t),t.length===0)return".";for(var e=t.charCodeAt(0),i=e===47,r=-1,n=!0,a=t.length-1;a>=1;--a)if(e=t.charCodeAt(a),e===47){if(!n){r=a;break}}else n=!1;return r===-1?i?"/":".":i&&r===1?"//":t.slice(0,r)},basename:function(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');qs(t);var i=0,r=-1,n=!0,a;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var o=e.length-1,l=-1;for(a=t.length-1;a>=0;--a){var c=t.charCodeAt(a);if(c===47){if(!n){i=a+1;break}}else l===-1&&(n=!1,l=a+1),o>=0&&(c===e.charCodeAt(o)?--o===-1&&(r=a):(o=-1,r=l))}return i===r?r=l:r===-1&&(r=t.length),t.slice(i,r)}else{for(a=t.length-1;a>=0;--a)if(t.charCodeAt(a)===47){if(!n){i=a+1;break}}else r===-1&&(n=!1,r=a+1);return r===-1?"":t.slice(i,r)}},extname:function(t){qs(t);for(var e=-1,i=0,r=-1,n=!0,a=0,o=t.length-1;o>=0;--o){var l=t.charCodeAt(o);if(l===47){if(!n){i=o+1;break}continue}r===-1&&(n=!1,r=o+1),l===46?e===-1?e=o:a!==1&&(a=1):e!==-1&&(a=-1)}return e===-1||r===-1||a===0||a===1&&e===r-1&&e===i+1?"":t.slice(e,r)},format:function(t){if(t===null||typeof t!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return AM("/",t)},parse:function(t){qs(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;var i=t.charCodeAt(0),r=i===47,n;r?(e.root="/",n=1):n=0;for(var a=-1,o=0,l=-1,c=!0,u=t.length-1,p=0;u>=n;--u){if(i=t.charCodeAt(u),i===47){if(!c){o=u+1;break}continue}l===-1&&(c=!1,l=u+1),i===46?a===-1?a=u:p!==1&&(p=1):a!==-1&&(p=-1)}return a===-1||l===-1||p===0||p===1&&a===l-1&&a===o+1?l!==-1&&(o===0&&r?e.base=e.name=t.slice(1,l):e.base=e.name=t.slice(o,l)):(o===0&&r?(e.name=t.slice(1,a),e.base=t.slice(1,l)):(e.name=t.slice(o,a),e.base=t.slice(o,l)),e.ext=t.slice(a,l)),o>0?e.dir=t.slice(0,o-1):r&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};vn.posix=vn;kb.exports=vn});var Qf=D(Rr=>{"use strict";Object.defineProperty(Rr,"__esModule",{value:!0});Rr.CompilerOptionsResolver=void 0;Rr.createParsedCommandLineByJson=EM;Rr.createParsedCommandLine=SM;Rr.getDefaultCompilerOptions=qf;var gM=at(),On=dc(),yM=Ut();function EM(s,t,e,i,r){let n=new Set,a={...t,readFile(u){return u.endsWith("/package.json")||n.add(u),t.readFile(u)},readDirectory(){return[]}},o=s.readJsonConfigFile(e,()=>JSON.stringify(i)),l=s.parseJsonSourceFileConfigFileContent(o,a,e,{},r),c=new Ua(s,t.readFile);for(let u of[...n].reverse())try{let p=s.readJsonConfigFile(u,t.readFile),f=s.convertToObject(p,[])?.vueCompilerOptions??{};c.addConfig(f,On.posix.dirname(p.fileName))}catch{}return c.addConfig(i?.vueCompilerOptions??{},e),{...l,vueOptions:c.build()}}function SM(s,t,e){try{let i=new Set,r={...t,readFile(l){return l.endsWith("/package.json")||i.add(l),t.readFile(l)},readDirectory(){return[]}},n=s.readJsonConfigFile(e,r.readFile),a=s.parseJsonSourceFileConfigFileContent(n,r,On.posix.dirname(e),{},e),o=new Ua(s,t.readFile);for(let l of[...i].reverse())try{let c=s.readJsonConfigFile(l,t.readFile),p=s.convertToObject(c,[])?.vueCompilerOptions??{};o.addConfig(p,On.posix.dirname(c.fileName))}catch{}return{...a,vueOptions:o.build()}}catch{}return{options:{},errors:[],vueOptions:qf()}}var Ua=class{constructor(t,e){this.ts=t,this.readFile=e,this.options={},this.plugins=[]}addConfig(t,e){for(let i in t)switch(i){case"target":t[i]==="auto"?this.target=this.resolveVueVersion(e):this.target=t[i];break;case"strictTemplates":let r=!!t.strictTemplates;this.options.strictVModel??=r,this.options.checkUnknownProps??=r,this.options.checkUnknownEvents??=r,this.options.checkUnknownDirectives??=r,this.options.checkUnknownComponents??=r;break;case"typesRoot":t[i]!==void 0&&(On.posix.isAbsolute(t[i])?this.typesRoot=t[i]:this.typesRoot=On.posix.join(e,t[i]));break;case"plugins":for(let n of t.plugins??[]){n=typeof n=="string"?{name:n}:n;try{let a=qc?.resolve,o=a?.(n.name,{paths:[e]});if(o){let l=qc(o),c=Array.isArray(l)?l:[l];for(let u of c)u.__moduleConfig=n,this.plugins.push(u)}else console.warn("[Vue] Load plugin failed:",n.name)}catch(a){console.warn("[Vue] Resolve plugin path failed:",n.name,a)}}break;default:this.options[i]=t[i];break}t.target===void 0&&(this.target??=this.resolveVueVersion(e))}build(t=qf(this.target,this.options.lib,void 0,this.typesRoot)){return{...t,...this.options,plugins:this.plugins,macros:{...t.macros,...this.options.macros},composables:{...t.composables,...this.options.composables},fallthroughComponentNames:[...t.fallthroughComponentNames,...this.options.fallthroughComponentNames??[]].map(yM.hyphenateTag),experimentalModelPropName:Object.fromEntries(Object.entries(this.options.experimentalModelPropName??t.experimentalModelPropName).map(([i,r])=>[(0,gM.camelize)(i),r]))}}resolveVueVersion(t){let e=this.ts.findConfigFile(t,l=>this.readFile(l)!==void 0,"node_modules/vue/package.json");if(!e)return;let i=this.readFile(e);if(!i)return;let n=JSON.parse(i).version,[a,o]=n.split(".");return+(a+"."+o)}};Rr.CompilerOptionsResolver=Ua;function qf(s=99,t="vue",e=!1,i=typeof __dirname<"u"?On.posix.join(__dirname.replace(/\\/g,"/"),"..","types"):"@vue/language-core/types"){return{target:s,lib:t,typesRoot:i,extensions:[".vue"],vitePressExtensions:[],petiteVueExtensions:[],jsxSlots:!1,strictCssModules:!1,strictVModel:e,checkUnknownProps:e,checkUnknownEvents:e,checkUnknownDirectives:e,checkUnknownComponents:e,inferComponentDollarEl:!1,inferComponentDollarRefs:!1,inferTemplateDollarAttrs:!1,inferTemplateDollarEl:!1,inferTemplateDollarRefs:!1,inferTemplateDollarSlots:!1,skipTemplateCodegen:!1,fallthroughAttributes:!1,checkRequiredFallthroughAttributes:!1,resolveStyleImports:!1,resolveStyleClassNames:"scoped",fallthroughComponentNames:["Transition","KeepAlive","Teleport","Suspense"],dataAttributes:[],htmlAttributes:["aria-*"],optionsWrapper:[`(await import('${t}')).defineComponent(`,")"],macros:{defineProps:["defineProps"],defineSlots:["defineSlots"],defineEmits:["defineEmits"],defineExpose:["defineExpose"],defineModel:["defineModel"],defineOptions:["defineOptions"],withDefaults:["withDefaults"]},composables:{useAttrs:["useAttrs"],useCssModule:["useCssModule"],useSlots:["useSlots"],useTemplateRef:["useTemplateRef","templateRef"]},plugins:[],experimentalModelPropName:{"":{input:!0},value:{input:{type:"text"},textarea:!0,select:!0}}}}});var Bb=D(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});Jf.binarySearch=bM;function bM(s,t){let e=0,i=s.length-1,r;for(;e<=i;){let o=Math.floor((e+i)/2),l=s[o];if(l<t)e=o+1;else if(l>t)i=o-1;else{e=o,i=o,r=o;break}}let n=Math.max(Math.min(e,i,s.length-1),0),a=Math.min(Math.max(e,i,0),s.length-1);return{low:n,high:a,match:r}}});var zf=D(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});Yf.translateOffset=TM;var Fb=!1;function TM(s,t,e,i,r=i,n=!1){if(!t.every((c,u)=>u===0||t[u-1]<=c)){for(let c=0;c<t.length;c++){let u=t[c],p=i[c];if(s>=u&&s<=u+p){let h=r[c],f=e[c],m,d=s-u;return n&&h>p&&d===p?m=h:m=Math.min(d,h),f+m}}Fb||(Fb=!0,console.warn("fromOffsets should be sorted in ascending order"))}let o=0,l=t.length-1;for(;o<=l;){let c=Math.floor((o+l)/2),u=t[c],p=i[c];if(s>=u&&s<=u+p){let h=r[c],f=e[c],m,d=s-u;return n&&h>p&&d===p?m=h:m=Math.min(d,h),f+m}else s<u?l=c-1:o=c+1}}});var Ub=D(mc=>{"use strict";Object.defineProperty(mc,"__esModule",{value:!0});mc.SourceMap=void 0;var Zf=Bb(),Vb=zf(),ed=class{constructor(t){this.mappings=t}toSourceRange(t,e,i,r){return this.findMatchingStartEnd(t,e,i,"generatedOffsets",r)}toGeneratedRange(t,e,i,r){return this.findMatchingStartEnd(t,e,i,"sourceOffsets",r)}toSourceLocation(t,e){return this.findMatchingOffsets(t,"generatedOffsets",e)}toGeneratedLocation(t,e){return this.findMatchingOffsets(t,"sourceOffsets",e)}*findMatchingOffsets(t,e,i,r=!1){let n=this.getMemoBasedOnRange(e);if(n.offsets.length===0)return;let{low:a,high:o}=(0,Zf.binarySearch)(n.offsets,t),l=new Set,c=e==="sourceOffsets"?"generatedOffsets":"sourceOffsets";for(let u=a;u<=o;u++)for(let p of n.mappings[u]){if(l.has(p)||(l.add(p),i&&!i(p.data)))continue;let h=(0,Vb.translateOffset)(t,p[e],p[c],wn(p,e),wn(p,c),r);h!==void 0&&(yield[h,p])}}*findMatchingStartEnd(t,e,i,r,n){let a=r==="sourceOffsets"?"generatedOffsets":"sourceOffsets",o=a==="sourceOffsets",l=[],c=!1;for(let[u,p]of this.findMatchingOffsets(t,r)){if(n&&!n(p.data))continue;l.push([u,p]);let h=(0,Vb.translateOffset)(e,p[r],p[a],wn(p,r),wn(p,a),o);h!==void 0&&(c=!0,yield[u,h,p,p])}if(!c&&i){for(let[u,p]of l)for(let[h,f]of this.findMatchingOffsets(e,r,void 0,o))if(!(n&&!n(f.data)||h<u)){yield[u,h,p,f];break}}}getMemoBasedOnRange(t){return t==="sourceOffsets"?this.sourceCodeOffsetsMemo??=this.createMemo("sourceOffsets"):this.generatedCodeOffsetsMemo??=this.createMemo("generatedOffsets")}createMemo(t){let e=new Set;for(let n of this.mappings)for(let a=0;a<n[t].length;a++)e.add(n[t][a]),e.add(n[t][a]+wn(n,t)[a]);let i=[...e].sort((n,a)=>n-a),r=i.map(()=>new Set);for(let n of this.mappings)for(let a=0;a<n[t].length;a++){let o=(0,Zf.binarySearch)(i,n[t][a]).match,l=(0,Zf.binarySearch)(i,n[t][a]+wn(n,t)[a]).match;for(let c=o;c<=l;c++)r[c].add(n)}return{offsets:i,mappings:r}}};mc.SourceMap=ed;function wn(s,t){return t==="sourceOffsets"?s.lengths:s.generatedLengths??s.lengths}});var Ac=D(qi=>{"use strict";var CM=qi&&qi.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),$b=qi&&qi.__exportStar||function(s,t){for(var e in s)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&CM(t,s,e)};Object.defineProperty(qi,"__esModule",{value:!0});$b(Ub(),qi);$b(zf(),qi)});var jb=D(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.isHoverEnabled=IM;me.isInlayHintsEnabled=_M;me.isCodeLensEnabled=PM;me.isMonikerEnabled=NM;me.isInlineValueEnabled=xM;me.isSemanticTokensEnabled=vM;me.isCallHierarchyEnabled=OM;me.isTypeHierarchyEnabled=wM;me.isRenameEnabled=LM;me.isDefinitionEnabled=MM;me.isTypeDefinitionEnabled=DM;me.isReferencesEnabled=RM;me.isImplementationEnabled=kM;me.isHighlightEnabled=BM;me.isSymbolsEnabled=FM;me.isFoldingRangesEnabled=VM;me.isSelectionRangesEnabled=UM;me.isLinkedEditingEnabled=$M;me.isColorEnabled=jM;me.isDocumentLinkEnabled=HM;me.isDiagnosticsEnabled=KM;me.isCodeActionsEnabled=GM;me.isFormattingEnabled=WM;me.isCompletionEnabled=XM;me.isAutoInsertEnabled=qM;me.isSignatureHelpEnabled=QM;me.shouldReportDiagnostics=JM;me.resolveRenameNewName=YM;me.resolveRenameEditText=zM;me.findOverlapCodeRange=ZM;function IM(s){return!!s.semantic}function _M(s){return!!s.semantic}function PM(s){return!!s.semantic}function NM(s){return!!s.semantic}function xM(s){return!!s.semantic}function vM(s){return typeof s.semantic=="object"?s.semantic.shouldHighlight?.()??!0:!!s.semantic}function OM(s){return!!s.navigation}function wM(s){return!!s.navigation}function LM(s){return typeof s.navigation=="object"?s.navigation.shouldRename?.()??!0:!!s.navigation}function MM(s){return!!s.navigation}function DM(s){return!!s.navigation}function RM(s){return!!s.navigation}function kM(s){return!!s.navigation}function BM(s){return typeof s.navigation=="object"?s.navigation.shouldHighlight?.()??!0:!!s.navigation}function FM(s){return!!s.structure}function VM(s){return!!s.structure}function UM(s){return!!s.structure}function $M(s){return!!s.structure}function jM(s){return!!s.structure}function HM(s){return!!s.structure}function KM(s){return!!s.verification}function GM(s){return!!s.verification}function WM(s){return!!s.format}function XM(s){return!!s.completion}function qM(s){return!!s.completion}function QM(s){return!!s.completion}function JM(s,t,e){return typeof s.verification=="object"?s.verification.shouldReport?.(t,e)??!0:!!s.verification}function YM(s,t){return typeof t.navigation=="object"?t.navigation.resolveRenameNewName?.(s)??s:s}function zM(s,t){return typeof t.navigation=="object"?t.navigation.resolveRenameEditText?.(s)??s:s}function ZM(s,t,e,i){let r,n;for(let[a,o]of e.toGeneratedLocation(s))if(i(o.data)){r=a;break}for(let[a,o]of e.toGeneratedLocation(t))if(i(o.data)){n=a;break}if(r===void 0||n===void 0){for(let a of e.mappings)if(i(a.data)){let o=a.sourceOffsets[0],l=a.sourceOffsets[a.sourceOffsets.length-1]+a.lengths[a.lengths.length-1],c=eD(s,t,o,l);if(c){let u=c.start-o+a.generatedOffsets[0],p=(a.generatedLengths??a.lengths)[a.generatedOffsets.length-1],h=Math.min(c.end-a.sourceOffsets[a.sourceOffsets.length-1],p),f=a.generatedOffsets[a.generatedOffsets.length-1]+h;r=r===void 0?u:Math.min(r,u),n=n===void 0?f:Math.max(n,f)}}}if(r!==void 0&&n!==void 0)return{start:r,end:n}}function eD(s,t,e,i){let r=Math.max(s,e),n=Math.min(t,i);if(!(r>n))return{start:r,end:n}}});var sd=D(gc=>{"use strict";Object.defineProperty(gc,"__esModule",{value:!0});gc.LinkedCodeMap=void 0;var tD=Ac(),td=class extends tD.SourceMap{*getLinkedOffsets(t){for(let e of this.toGeneratedLocation(t))yield e[0];for(let e of this.toSourceLocation(t))yield e[0]}};gc.LinkedCodeMap=td});var Kb=D(Hb=>{"use strict";Object.defineProperty(Hb,"__esModule",{value:!0})});var Gb=D(yc=>{"use strict";Object.defineProperty(yc,"__esModule",{value:!0});yc.FileMap=void 0;var id=class extends Map{constructor(t){super(),this.caseSensitive=t,this.originalFileNames=new Map}keys(){return this.originalFileNames.values()}get(t){return super.get(this.normalizeId(t))}has(t){return super.has(this.normalizeId(t))}set(t,e){return this.originalFileNames.set(this.normalizeId(t),t),super.set(this.normalizeId(t),e)}delete(t){return this.originalFileNames.delete(this.normalizeId(t)),super.delete(this.normalizeId(t))}clear(){return this.originalFileNames.clear(),super.clear()}normalizeId(t){return this.caseSensitive?t:t.toLowerCase()}};yc.FileMap=id});var bc=D(bt=>{"use strict";var sD=bt&&bt.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),Sc=bt&&bt.__exportStar||function(s,t){for(var e in s)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&sD(t,s,e)};Object.defineProperty(bt,"__esModule",{value:!0});bt.defaultMapperFactory=bt.SourceMap=void 0;bt.createLanguage=oD;bt.forEachEmbeddedCode=Ec;var iD=Ac();Object.defineProperty(bt,"SourceMap",{enumerable:!0,get:function(){return iD.SourceMap}});Sc(jb(),bt);Sc(sd(),bt);Sc(Kb(),bt);Sc(Gb(),bt);var rD=Ac(),nD=sd(),aD=s=>new rD.SourceMap(s);bt.defaultMapperFactory=aD;function oD(s,t,e,i){let r=new WeakMap,n=new WeakMap,a=new WeakMap,o={mapperFactory:bt.defaultMapperFactory,plugins:s,scripts:{fromVirtualCode(u){return r.get(u)},get(u,p=!0,h=!1){e(u,p,h);let f=t.get(u);return f?.isAssociationDirty&&this.set(u,f.snapshot,f.languageId),t.get(u)},set(u,p,h,f=s){if(!h){for(let d of s)if(h=d.getLanguageId?.(u),h)break}if(!h){console.warn(`languageId not found for ${String(u)}`);return}let m=!1;for(let d of s)if(d.isAssociatedFileOnly?.(u,h)){m=!0;break}if(t.has(u)){let d=t.get(u);if(d.languageId!==h||d.associatedOnly!==m)return this.delete(u),l(d),this.set(u,p,h);if(m)d.snapshot!==p&&(d.snapshot=p,l(d));else if(d.isAssociationDirty||d.snapshot!==p){d.snapshot!==p&&(d.snapshot=p,l(d));let A=c(d);if(d.generated){let{updateVirtualCode:y,createVirtualCode:S}=d.generated.languagePlugin,P=y?y(u,d.generated.root,p,A):S?.(u,h,p,A);if(P){d.generated.root=P,d.generated.embeddedCodes.clear();for(let x of Ec(d.generated.root))r.set(x,d),d.generated.embeddedCodes.set(x.id,x);return d}else{this.delete(u);return}}}else return d}else{let d={id:u,languageId:h,snapshot:p,associatedIds:new Set,targetIds:new Set,associatedOnly:m};if(t.set(u,d),m)return d;for(let A of f){let y=A.createVirtualCode?.(u,h,p,c(d));if(y){d.generated={root:y,languagePlugin:A,embeddedCodes:new Map};for(let S of Ec(y))r.set(S,d),d.generated.embeddedCodes.set(S.id,S);break}}return d}},delete(u){let p=t.get(u);p&&(p.generated?.languagePlugin.disposeVirtualCode?.(u,p.generated.root),t.delete(u),l(p))}},maps:{get(u,p){let h=n.get(u.snapshot);if(h||n.set(u.snapshot,h=new WeakMap),!h.has(p.snapshot)){let f=u.associatedScriptMappings?.get(p.id)??u.mappings;h.set(p.snapshot,o.mapperFactory(f))}return h.get(p.snapshot)},*forEach(u){let p=r.get(u);if(yield[p,this.get(u,p)],u.associatedScriptMappings)for(let[h]of u.associatedScriptMappings){let f=t.get(h);f&&(yield[f,this.get(u,f)])}}},linkedCodeMaps:{get(u){let p=r.get(u),h=a.get(u.snapshot);return h?.[0]!==p.snapshot&&a.set(u.snapshot,h=[p.snapshot,u.linkedCodeMappings?new nD.LinkedCodeMap(u.linkedCodeMappings):void 0]),h[1]}}};return o;function l(u){u.targetIds.forEach(p=>{let h=t.get(p);h&&(h.isAssociationDirty=!0,i?.(h.id))})}function c(u){for(let p of u.associatedIds)t.get(p)?.targetIds.delete(u.id);return u.associatedIds.clear(),u.isAssociationDirty=!1,{getAssociatedScript(p){e(p,!0,!0);let h=t.get(p);return h&&(h.targetIds.add(u.id),u.associatedIds.add(h.id)),h}}}}function*Ec(s){if(yield s,s.embeddedCodes)for(let t of s.embeddedCodes)yield*Ec(t)}});var Wb=D(rd=>{"use strict";Object.defineProperty(rd,"__esModule",{value:!0});var lD=/<(script|style)\b([\s\S]*?)>([\s\S]*?)<\/\1>/g,cD=/\blang\s*=\s*(['"]?)(\S*)\b\1/,uD=({vueCompilerOptions:s})=>({version:2.2,getLanguageId(t){if(s.petiteVueExtensions.some(e=>t.endsWith(e)))return"html"},isValidFile(t,e){return e==="html"},parseSFC2(t,e,i){if(e!=="html")return;let r={descriptor:{filename:t,source:i,comments:[],template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],shouldForceReload:()=>!1,slotted:!1},errors:[]},n=i;for(let a of i.matchAll(lD)){let o=a[0],l=a[1],c=a[2],u=c.match(cD)?.[2],p=a[3],h=a.index+o.indexOf(p);if(l==="style")r.descriptor.styles.push({attrs:{},content:p,loc:{start:{column:-1,line:-1,offset:h},end:{column:-1,line:-1,offset:h+p.length},source:p},type:"style",lang:u});else if(l==="script"&&!c.includes("src=")){let f=c.includes("type=")?"scriptSetup":"script";r.descriptor[f]={attrs:{},content:p,loc:{start:{column:-1,line:-1,offset:h},end:{column:-1,line:-1,offset:h+p.length},source:p},type:"script",lang:u}}n=n.slice(0,a.index)+" ".repeat(o.length)+n.slice(a.index+o.length)}return r.descriptor.template={attrs:{},content:n,loc:{start:{column:-1,line:-1,offset:0},end:{column:-1,line:-1,offset:n.length},source:n},type:"template",ast:{}},r}});rd.default=uD});var ad=D(nd=>{"use strict";Object.defineProperty(nd,"__esModule",{value:!0});nd.buildMappings=pD;function pD(s){let t=0,e=[];for(let i of s)typeof i=="string"?t+=i.length:(e.push({sourceOffsets:[i[2]],generatedOffsets:[t],lengths:[i[0].length],data:i[3]}),t+=i[0].length);return e}});var Ic=D(Si=>{"use strict";var hD=Si&&Si.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),fD=Si&&Si.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),dD=Si&&Si.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&hD(e,t,i[r]);return fD(e,t),e}})();Object.defineProperty(Si,"__esModule",{value:!0});Si.parse=AD;var Cc=dD(Ve()),mD=Ut();function AD(s){let t=[],e=Cc.parse(s,{isNativeTag:()=>!0,isPreTag:()=>!0,parseMode:"sfc",onError:r=>{t.push(r)},comments:!0}),i={filename:"anonymous.vue",source:s,comments:[],template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:()=>!1};return e.children.forEach(r=>{if(r.type===Cc.NodeTypes.COMMENT){i.comments.push(r.content);return}else if(r.type!==Cc.NodeTypes.ELEMENT)return;switch(r.tag){case"template":i.template=Tc(r,s);break;case"script":let n=Tc(r,s),a=!!n.setup;if(a&&!i.scriptSetup){i.scriptSetup=n;break}if(!a&&!i.script){i.script=n;break}break;case"style":let o=Tc(r,s);i.styles.push(o);break;default:i.customBlocks.push(Tc(r,s));break}}),{descriptor:i,errors:t}}function Tc(s,t){let e=s.tag,{start:i,end:r}=s.loc,n="";if(s.children.length)i=s.children[0].loc.start,r=s.children[s.children.length-1].loc.end,n=t.slice(i.offset,r.offset);else{let c=s.loc.source.indexOf("</");c>-1&&(i={line:i.line,column:i.column+c,offset:i.offset+c}),r=Object.assign({},i)}let a={source:n,start:i,end:r},o={},l={type:e,content:n,loc:a,attrs:o};return s.props.forEach(c=>{c.type===Cc.NodeTypes.ATTRIBUTE&&(o[c.name]=c.value&&c.value.content||!0,c.name==="lang"?l.lang=c.value?.content:c.name==="src"?l.__src=od(c,s):gD(l)?c.name==="vapor"?(l.setup??=o[c.name],l.__generic??=!0):c.name==="setup"?l.setup=o[c.name]:c.name==="generic"&&(l.__generic=od(c,s)):yD(l)&&(c.name==="scoped"?l.scoped=!0:c.name==="module"&&(l.__module=od(c,s))))}),l}function gD(s){return s.type==="script"}function yD(s){return s.type==="style"}function od(s,t){if(!s.value)return!0;let[e,i]=(0,mD.normalizeAttributeValue)(s.value);return{text:e,offset:i-t.loc.start.offset}}});var Xb=D(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});var ED=bc(),SD=wr(),bD=ad(),TD=Ic(),CD=/^---[\s\S]*?\n---(?:\r?\n|$)/,ID=/(`{3}|\${2})[\s\S]+?\1/g,_D=/^\s*<<<\s*.+/gm,PD=/<(script|style)\b[^>]*>([\s\S]*?)<\/\1>/g,ND=/(?<=<\/?)([a-z][a-z0-9-]*)\b[^>]*(?=>)/gi,xD=/(?<=\{\{)[\s\S]*?(?=\}\})/g,vD=/(`{1,2})[^`]+\1/g,OD=/<[^\s:]*:\S*>/g,wD=({vueCompilerOptions:s})=>({version:2.2,getLanguageId(t){if(s.vitePressExtensions.some(e=>t.endsWith(e)))return"markdown"},isValidFile(t,e){return e==="markdown"},parseSFC2(t,e,i){if(e!=="markdown")return;for(let u of[CD,ID,_D])i=i.replace(u,p=>" ".repeat(p.length));let r=[];for(let{0:u,index:p}of i.matchAll(PD))r.push([u,void 0,p]),r.push(`
|
|
60
60
|
|
|
61
|
-
`),i=i.slice(0,
|
|
61
|
+
`),i=i.slice(0,p)+" ".repeat(u.length)+i.slice(p+u.length);let n=[];for(let u of[ND,xD])for(let{0:p,index:h}of i.matchAll(u))n.push([h,h+p.length]);for(let u of[vD,OD])for(let{0:p,index:h}of i.matchAll(u))n.some(([f,m])=>h>=f&&h<m)||(i=i.slice(0,h)+" ".repeat(p.length)+i.slice(h+p.length));r.push(`<template>
|
|
62
62
|
`),r.push([i,void 0,0]),r.push(`
|
|
63
|
-
</template>`);let a=(0,
|
|
63
|
+
</template>`);let a=(0,bD.buildMappings)(r),o=new ED.SourceMap(a),l=(0,TD.parse)((0,SD.toString)(r));for(let u of[l.descriptor.template,l.descriptor.script,l.descriptor.scriptSetup,...l.descriptor.styles,...l.descriptor.customBlocks])u&&c(u);return l;function c(u){let{start:p,end:h}=u.loc,f=p.offset,m=h.offset;p.offset=-1,h.offset=-1;for(let[d]of o.toSourceLocation(f)){p.offset=d;break}for(let[d]of o.toSourceLocation(m)){h.offset=d;break}}}});ld.default=wD});var qb=D(cd=>{"use strict";Object.defineProperty(cd,"__esModule",{value:!0});var LD=Ic(),MD=({vueCompilerOptions:s})=>({version:2.2,getLanguageId(t){if(s.extensions.some(e=>t.endsWith(e)))return"vue"},isValidFile(t,e){return e==="vue"},parseSFC2(t,e,i){if(e!=="vue")return;let r=(0,LD.parse)(i);for(let n of r.errors)if("code"in n&&n.code===24&&r.descriptor.template&&n.loc?.start.line===r.descriptor.template.loc.start.line){let a=r.descriptor.template,o=a.content,l=o.lastIndexOf("<"),c=o.slice(l).trimEnd();"</template>".startsWith(c)&&(r.descriptor.template.loc.end.offset=a.loc.start.offset+l,a.content=o.slice(0,l))}return r},updateSFC(t,e){let i=[t.descriptor.template,t.descriptor.script,t.descriptor.scriptSetup,...t.descriptor.styles,...t.descriptor.customBlocks].filter(u=>!!u),r=i.find(u=>e.start>=u.loc.start.offset&&e.end<=u.loc.end.offset);if(!r)return;let n=r.content,a=r.content=r.content.slice(0,e.start-r.loc.start.offset)+e.newText+r.content.slice(e.end-r.loc.start.offset),o=new RegExp(`</\\s*${r.type}\\s*>`);if(o.test(n)!==o.test(a))return;let c=e.newText.length-(e.end-e.start);for(let u of i)u.loc.start.offset>e.end&&(u.loc.start.offset+=c),u.loc.end.offset>=e.end&&(u.loc.end.offset+=c);return t}});cd.default=MD});var kr=D(_c=>{"use strict";Object.defineProperty(_c,"__esModule",{value:!0});_c.allCodeFeatures=void 0;_c.allCodeFeatures={verification:!0,completion:!0,semantic:!0,navigation:!0,structure:!0,format:!0}});var Qb=D(ud=>{"use strict";Object.defineProperty(ud,"__esModule",{value:!0});var DD=wr(),RD=kr(),kD=()=>({version:2.2,getEmbeddedCodes(){return[{id:"root_tags",lang:"vue-root-tags"}]},resolveEmbeddedCode(s,t,e){if(e.id==="root_tags"){e.content.push([t.content,void 0,0,RD.allCodeFeatures]);for(let i of[t.template,t.script,t.scriptSetup,...t.styles,...t.customBlocks]){if(!i)continue;let r=i.content.lastIndexOf(`
|
|
64
64
|
`,i.content.lastIndexOf(`
|
|
65
|
-
`)-1)+1;(0,
|
|
66
|
-
`)}else e.content.push([r.content,r.name,0,Zb.allCodeFeatures])}}});dd.default=UD});var tT=D(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});var $D=kr(),jD=()=>({version:2.2,getEmbeddedCodes(s,t){return t.template?.lang==="html"?[{id:"template",lang:t.template.lang}]:[]},resolveEmbeddedCode(s,t,e){e.id==="template"&&t.template?.lang==="html"&&e.content.push([t.template.content,t.template.name,0,$D.allCodeFeatures])}});md.default=jD});var rT=D(Ad=>{"use strict";Object.defineProperty(Ad,"__esModule",{value:!0});var HD=()=>({version:2.2,compileSFCStyle(s,t){return{imports:[...qD(t)],bindings:[...QD(t)],classNames:[...JD(t)]}}});Ad.default=HD;var KD=/(?<=@import\s+url\()(["']?).*?\1(?=\))|(?<=@import\b\s*)(["']).*?\2/g,GD=/\bv-bind\(\s*(?:'([^']+)'|"([^"]+)"|([a-z_]\w*))\s*\)/gi,WD=/(?=(\.[a-z_][-\w]*)[\s.,+~>:#)[{])/gi,sT=/(?<=\/\*)[\s\S]*?(?=\*\/)|(?<=\/\/)[\s\S]*?(?=\n)/g,XD=/(?<={)[^{]*(?=(?<!\\);)/g;function*qD(s){let t=s.matchAll(KD);for(let e of t){let i=e[0],r=e.index;(i.startsWith("'")||i.startsWith('"'))&&(i=i.slice(1,-1),r+=1),i&&(yield{text:i,offset:r})}}function*QD(s){s=iT(s,sT);let t=s.matchAll(GD);for(let e of t){let i=e.slice(1).find(r=>r);i&&(yield{offset:e.index+s.slice(e.index).indexOf(i),text:i})}}function*JD(s){s=iT(s,sT,XD);let t=s.matchAll(WD);for(let e of t){let i=e[1];i&&(yield{offset:e.index,text:i})}}function iT(s,...t){for(let e of t)s=s.replace(e,i=>" ".repeat(i.length));return s}});var nT=D(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});Pc.transformElement=void 0;var xe=Ve(),YD=at(),zD=(s,t)=>()=>{if(s.type!==xe.NodeTypes.ELEMENT||s.tagType===xe.ElementTypes.TEMPLATE)return;let e=s.tagType===xe.ElementTypes.COMPONENT,i=s.tagType===xe.ElementTypes.SLOT;for(let r of s.props){if(r.type!==xe.NodeTypes.DIRECTIVE)continue;if(r.name==="slot"){e||t.onError((0,xe.createCompilerError)(xe.ErrorCodes.X_V_SLOT_MISPLACED,r.loc));continue}let n=r.name==="bind",a=r.name==="on";if(!r.arg&&(n||a)){r.exp||t.onError((0,xe.createCompilerError)(n?xe.ErrorCodes.X_V_BIND_NO_EXPRESSION:xe.ErrorCodes.X_V_ON_NO_EXPRESSION,r.loc));continue}let o=[],l=t.directiveTransforms[r.name];if(l){let{needRuntime:c}=l(r,s,t);c&&o.push(r)}else(0,YD.isBuiltInDirective)(r.name)||o.push(r);i&&o.length&&t.onError((0,xe.createCompilerError)(xe.ErrorCodes.X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET,r.loc))}if(e){let r=!1,n=[],a=new Set,o=(0,xe.findDir)(s,"slot",!0);for(let l of s.children){l.type===xe.NodeTypes.FOR?l=l.children[0]:l.type===xe.NodeTypes.IF&&(l=l.branches[0].children[0]);let c;if(!(0,xe.isTemplateNode)(l)||!(c=(0,xe.findDir)(l,"slot",!0))){l.type!==xe.NodeTypes.COMMENT&&n.push(l);continue}if(o){t.onError((0,xe.createCompilerError)(xe.ErrorCodes.X_V_SLOT_MIXED_SLOT_USAGE,c.loc));break}let u=c.arg?(0,xe.isStaticExp)(c.arg)?c.arg.content:void 0:"default";if(u){if(a.has(u)){t.onError((0,xe.createCompilerError)(xe.ErrorCodes.X_V_SLOT_DUPLICATE_SLOT_NAMES,c.loc));continue}a.add(u),u==="default"&&(r=!0)}}r&&n.some(l=>l.type!==xe.NodeTypes.TEXT||!!l.content.trim())&&t.onError((0,xe.createCompilerError)(xe.ErrorCodes.X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN,n[0].loc)),t.components.add(s.tag)}};Pc.transformElement=zD});var aT=D(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});Nc.transformText=void 0;var Br=Ve(),ZD=s=>{if(s.type===Br.NodeTypes.ROOT||s.type===Br.NodeTypes.ELEMENT||s.type===Br.NodeTypes.FOR||s.type===Br.NodeTypes.IF_BRANCH)return()=>{let t=s.children,e;for(let i=0;i<t.length;i++){let r=t[i];if((0,Br.isText)(r))for(let n=i+1;n<t.length;n++){let a=t[n];if((0,Br.isText)(a))e??=t[i]=(0,Br.createCompoundExpression)([r],r.loc),e.children.push(" + ",a),t.splice(n,1),n--;else{e=void 0;break}}}}};Nc.transformText=ZD});var gd=D(xc=>{"use strict";Object.defineProperty(xc,"__esModule",{value:!0});xc.createStructuralDirectiveTransform=tR;xc.cloneLoc=sR;var oT=Ve(),eR=at();function tR(s,t){let e=(0,eR.isString)(s)?i=>i===s:i=>s.test(i);return(i,r)=>{if(i.type===oT.NodeTypes.ELEMENT){let{props:n}=i,a=[];for(let o=0;o<n.length;o++){let l=n[o];if(l.type===oT.NodeTypes.DIRECTIVE&&e(l.name)){n.splice(o,1),o--;let c=t(i,l,r);c&&a.push(c)}}return a}}}function sR(s){return{start:{...s.start},end:{...s.end},source:s.source}}});var lT=D(vc=>{"use strict";Object.defineProperty(vc,"__esModule",{value:!0});vc.transformFor=void 0;var Qs=Ve(),iR=gd();vc.transformFor=(0,iR.createStructuralDirectiveTransform)("for",(s,t,e)=>{if(!t.exp){e.onError((0,Qs.createCompilerError)(Qs.ErrorCodes.X_V_FOR_NO_EXPRESSION,t.loc));return}let i=t.forParseResult;if(!i){e.onError((0,Qs.createCompilerError)(Qs.ErrorCodes.X_V_FOR_MALFORMED_EXPRESSION,t.loc));return}let{source:r,value:n,key:a,index:o}=i,l={type:Qs.NodeTypes.FOR,loc:t.loc,source:r,valueAlias:n,keyAlias:a,objectIndexAlias:o,parseResult:i,children:[s]};return e.replaceNode(l),()=>{if((0,Qs.isTemplateNode)(s)){for(let c of s.children)if(c.type===Qs.NodeTypes.ELEMENT){let u=(0,Qs.findProp)(c,"key");if(u){e.onError((0,Qs.createCompilerError)(Qs.ErrorCodes.X_V_FOR_TEMPLATE_KEY_PLACEMENT,u.loc));break}}}}})});var hT=D(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});Oc.transformIf=void 0;var Tt=Ve(),cT=gd();Oc.transformIf=(0,cT.createStructuralDirectiveTransform)(/^(?:if|else-if|else)$/,(s,t,e)=>{if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())&&e.onError((0,Tt.createCompilerError)(Tt.ErrorCodes.X_V_IF_NO_EXPRESSION,t.loc)),t.name==="if"){let i=uT(s,t),r={type:Tt.NodeTypes.IF,loc:(0,cT.cloneLoc)(s.loc),branches:[i]};e.replaceNode(r)}else{let i=e.parent.children,r=[],n=i.indexOf(s);for(;n-->=-1;){let a=i[n];if(a?.type===Tt.NodeTypes.COMMENT){e.removeNode(a),r.unshift(a);continue}if(a?.type===Tt.NodeTypes.TEXT&&!a.content.trim().length){e.removeNode(a);continue}if(a?.type===Tt.NodeTypes.IF){a.branches.at(-1).condition||e.onError((0,Tt.createCompilerError)(Tt.ErrorCodes.X_V_ELSE_NO_ADJACENT_IF,s.loc)),e.removeNode();let o=uT(s,t);if(r.length&&o.children.unshift(...r),o.userKey)for(let{userKey:l}of a.branches)rR(l,o.userKey)&&e.onError((0,Tt.createCompilerError)(Tt.ErrorCodes.X_V_IF_SAME_KEY,o.userKey.loc));a.branches.push(o),(0,Tt.traverseNode)(o,e),e.currentNode=null}else e.onError((0,Tt.createCompilerError)(Tt.ErrorCodes.X_V_ELSE_NO_ADJACENT_IF,s.loc));break}}});function uT(s,t){return{type:Tt.NodeTypes.IF_BRANCH,loc:s.loc,condition:t.name==="else"?void 0:t.exp,children:[s],userKey:(0,Tt.findProp)(s,"key")}}function rR(s,t){if(!s||s.type!==t.type)return!1;if(s.type===Tt.NodeTypes.ATTRIBUTE){if(s.value.content!==t.value.content)return!1}else{let e=s.exp,i=t.exp;if(e.type!==i.type||e.type!==Tt.NodeTypes.SIMPLE_EXPRESSION||e.isStatic!==i.isStatic||e.content!==i.content)return!1}return!0}});var Sd=D(Ed=>{"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});Ed.compileTemplate=cR;var yd=Ve(),nR=nT(),aR=aT(),oR=lT(),lR=hT();function cR(s,t){let[e,i]=(0,yd.getBaseTransformPreset)(),r={...t,comments:!0,nodeTransforms:[e[0],lR.transformIf,oR.transformFor,nR.transformElement,aR.transformText,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms}},n=(0,yd.parse)(s,r);return(0,yd.transform)(n,r),n}});var fT=D(bi=>{"use strict";var uR=bi&&bi.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),hR=bi&&bi.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),pR=bi&&bi.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&uR(e,t,i[r]);return hR(e,t),e}})();Object.defineProperty(bi,"__esModule",{value:!0});var gs=pR(Ve()),fR=Sd(),pT=/(?<=<[^>/]+)$/,dR=()=>({version:2.2,compileSFCTemplate(s,t,e){if(s==="html"||s==="md"){let i=!1;return pT.test(t)&&(t+=">",i=!0),{ast:(0,fR.compileTemplate)(t,e),code:"",preamble:"",__addedSuffix:i}}},updateSFCTemplate(s,t){let e=s.ast.source.slice(0,t.start)+t.newText+s.ast.source.slice(t.end);if(s.__addedSuffix){let l=e.slice(0,-1);if(!pT.test(l))return}let i=t.newText.length-(t.end-t.start),r=[];if(n(s.ast)&&r.length&&(r=r.sort((c,u)=>c.loc.source.length-u.loc.source.length),r[0].type===gs.NodeTypes.SIMPLE_EXPRESSION))return s;function n(l){if(o(l.loc)&&r.push(l),a(l.loc)){if(l.type===gs.NodeTypes.ROOT){for(let c of l.children)if(!n(c))return!1}else if(l.type===gs.NodeTypes.ELEMENT){if(o(l.loc)){let c=l.loc.start.offset+2,u=l.loc.start.offset+l.loc.source.lastIndexOf("</");if(!o({start:{offset:c},end:{offset:u},source:""}))return!1}for(let c of l.props)if(!n(c))return!1;for(let c of l.children)if(!n(c))return!1}else if(l.type===gs.NodeTypes.ATTRIBUTE){if(l.value&&!n(l.value))return!1}else if(l.type===gs.NodeTypes.DIRECTIVE){if(l.arg&&o(l.arg.loc)&&l.name==="slot"||l.exp&&o(l.exp.loc)&&l.name==="for"||l.arg&&!n(l.arg)||l.exp&&!n(l.exp))return!1}else if(l.type===gs.NodeTypes.COMPOUND_EXPRESSION){for(let c of l.children)if(typeof c=="object"&&!n(c))return!1}else if(l.type===gs.NodeTypes.IF)for(let c of l.branches){if(c.condition&&!n(c.condition))return!1;for(let u of c.children)if(!n(u))return!1}else if(l.type===gs.NodeTypes.FOR){for(let c of[l.parseResult.source,l.parseResult.value,l.parseResult.key,l.parseResult.index])if(c){if(!n(c))return!1;if(c.type===gs.NodeTypes.SIMPLE_EXPRESSION){let u=c.content.trim();if(u.startsWith("(")||u.endsWith(")"))return!1}}for(let c of l.children)if(!n(c))return!1}else if(l.type===gs.NodeTypes.INTERPOLATION){if(!n(l.content))return!1;if(l.content.type===gs.NodeTypes.SIMPLE_EXPRESSION){let{content:c}=l.content;if(c.includes("{{")||c.includes("}}"))return!1}}else if(l.type===gs.NodeTypes.SIMPLE_EXPRESSION&&o(l.loc)){if(l.isStatic)return!1;if(l.loc.source)l.content=l.loc.source;else return!1}return!0}return!1}function a(l){return delete l.__endOffset,o(l)?(l.source=l.source.slice(0,t.start-l.start.offset)+t.newText+l.source.slice(t.end-l.start.offset),l.__endOffset=l.end.offset,l.end.offset+=i,!0):t.end<=l.start.offset?(l.__endOffset=l.end.offset,l.start.offset+=i,l.end.offset+=i,!0):t.start>=l.end.offset}function o(l){let c=l.__endOffset??l.end.offset;return t.start>=l.start.offset&&t.end<=c}}});bi.default=dR});var bd=D(Ys=>{"use strict";var mR=Ys&&Ys.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),AR=Ys&&Ys.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),gR=Ys&&Ys.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&mR(e,t,i[r]);return AR(e,t),e}})();Object.defineProperty(Ys,"__esModule",{value:!0});Ys.forEachElementNode=$a;Ys.forEachInterpolationNode=Ln;var Js=gR(Ve());function*$a(s){if(s.type===Js.NodeTypes.ROOT)for(let t of s.children)yield*$a(t);else if(s.type===Js.NodeTypes.ELEMENT){yield s;for(let t of s.children)yield*$a(t)}else if(s.type===Js.NodeTypes.IF)for(let t of s.branches)for(let e of t.children)yield*$a(e);else if(s.type===Js.NodeTypes.FOR)for(let t of s.children)yield*$a(t)}function*Ln(s){if(s.type===Js.NodeTypes.ROOT)for(let t of s.children)yield*Ln(t);else if(s.type===Js.NodeTypes.ELEMENT)for(let t of s.children)yield*Ln(t);else if(s.type===Js.NodeTypes.COMPOUND_EXPRESSION)for(let t of s.children)typeof t=="object"&&(yield*Ln(t));else if(s.type===Js.NodeTypes.INTERPOLATION)yield s;else if(s.type===Js.NodeTypes.IF)for(let t of s.branches)for(let e of t.children)yield*Ln(e);else if(s.type===Js.NodeTypes.FOR)for(let t of s.children)yield*Ln(t)}});var dT=D(Ti=>{"use strict";var yR=Ti&&Ti.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),ER=Ti&&Ti.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),SR=Ti&&Ti.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&yR(e,t,i[r]);return ER(e,t),e}})();Object.defineProperty(Ti,"__esModule",{value:!0});var bR=SR(Ve()),TR=bd(),CR=Ut(),IR=kr(),_R={...IR.allCodeFeatures,format:!1,structure:!1},PR=()=>({version:2.2,getEmbeddedCodes(s,t){return t.template?.ast?[{id:"template_inline_css",lang:"css"}]:[]},resolveEmbeddedCode(s,t,e){e.id!=="template_inline_css"||!t.template?.ast||(e.parentCodeId=t.template.lang==="md"?"root_tags":"template",e.content.push(...NR(t.template.ast)))}});Ti.default=PR;function*NR(s){for(let t of(0,TR.forEachElementNode)(s))for(let e of t.props)if(e.type===bR.NodeTypes.ATTRIBUTE&&e.name==="style"&&e.value){yield"x { ";let[i,r]=(0,CR.normalizeAttributeValue)(e.value);yield[i,"template",r,_R],yield` }
|
|
67
|
-
`}}});var mT=D(Ci=>{"use strict";var
|
|
68
|
-
`),m=f[0].trim()==="",d=f[f.length-1].trim()==="";f.length<=1||!m&&!d?l(u.exp.loc.source,u.exp.loc.start.offset,Os.normal):l(u.exp.loc.source,u.exp.loc.start.offset,["(",");"])}}else u.name==="slot"?l(u.exp.loc.source,u.exp.loc.start.offset,Os.params):u.rawName==="v-for"?l(u.exp.loc.source,u.exp.loc.start.offset,Os.for):l(u.exp.loc.source,u.exp.loc.start.offset,Os.normal);for(let u of c.children)o(u)}else if(c.type===cs.NodeTypes.IF)for(let u of c.branches){u.condition?.type===cs.NodeTypes.SIMPLE_EXPRESSION&&l(u.condition.loc.source,u.condition.loc.start.offset,Os.if);for(let
|
|
69
|
-
`),f=
|
|
65
|
+
`)-1)+1;(0,DD.replaceSourceRange)(e.content,void 0,i.startTagEnd,i.endTagStart,t.content.slice(i.startTagEnd,i.startTagEnd+r),["",void 0,i.startTagEnd+r,{structure:!0}],t.content.slice(i.startTagEnd+r,i.endTagStart))}}else e.parentCodeId??="root_tags"}});ud.default=kD});var Jb=D(pd=>{"use strict";Object.defineProperty(pd,"__esModule",{value:!0});var BD=({modules:s})=>({version:2.2,compileSFCScript(t,e){if(t==="js"||t==="ts"||t==="jsx"||t==="tsx")return s.typescript.createSourceFile("."+t,e,99)}});pd.default=BD});var Yb=D(hd=>{"use strict";Object.defineProperty(hd,"__esModule",{value:!0});var FD=kr(),VD=()=>({version:2.2,getEmbeddedCodes(s,t){return t.customBlocks.map((e,i)=>({id:"custom_block_"+i,lang:e.lang}))},resolveEmbeddedCode(s,t,e){if(e.id.startsWith("custom_block_")){let i=parseInt(e.id.slice(13)),r=t.customBlocks[i];e.content.push([r.content,r.name,0,FD.allCodeFeatures])}}});hd.default=VD});var zb=D(fd=>{"use strict";Object.defineProperty(fd,"__esModule",{value:!0});var UD=()=>({version:2.2,getEmbeddedCodes(s,t){let e=[];return t.script&&e.push({id:"script_raw",lang:t.script.lang}),t.scriptSetup&&e.push({id:"scriptsetup_raw",lang:t.scriptSetup.lang}),e},resolveEmbeddedCode(s,t,e){let i=e.id==="script_raw"?t.script:e.id==="scriptsetup_raw"?t.scriptSetup:void 0;i&&e.content.push([i.content,i.name,0,{structure:!0,format:!0}])}});fd.default=UD});var eT=D(dd=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});var Zb=kr(),$D=()=>({version:2.2,getEmbeddedCodes(s,t){let e=[];for(let i=0;i<t.styles.length;i++){let r=t.styles[i];r&&(e.push({id:"style_"+i,lang:r.lang}),r.bindings.length&&e.push({id:"style_"+i+"_inline_ts",lang:"ts"}))}return e},resolveEmbeddedCode(s,t,e){if(e.id.startsWith("style_")){let i=parseInt(e.id.split("_")[1]),r=t.styles[i];if(e.id.endsWith("_inline_ts")){e.parentCodeId="style_"+i;for(let n of r.bindings)e.content.push("(",[n.text,r.name,n.offset,Zb.allCodeFeatures],`);
|
|
66
|
+
`)}else e.content.push([r.content,r.name,0,Zb.allCodeFeatures])}}});dd.default=$D});var tT=D(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});var jD=kr(),HD=()=>({version:2.2,getEmbeddedCodes(s,t){return t.template?.lang==="html"?[{id:"template",lang:t.template.lang}]:[]},resolveEmbeddedCode(s,t,e){e.id==="template"&&t.template?.lang==="html"&&e.content.push([t.template.content,t.template.name,0,jD.allCodeFeatures])}});md.default=HD});var rT=D(Ad=>{"use strict";Object.defineProperty(Ad,"__esModule",{value:!0});var KD=()=>({version:2.2,compileSFCStyle(s,t){return{imports:[...QD(t)],bindings:[...JD(t)],classNames:[...YD(t)]}}});Ad.default=KD;var GD=/(?<=@import\s+url\()(["']?).*?\1(?=\))|(?<=@import\b\s*)(["']).*?\2/g,WD=/\bv-bind\(\s*(?:'([^']+)'|"([^"]+)"|([a-z_]\w*))\s*\)/gi,XD=/(?=(\.[a-z_][-\w]*)[\s.,+~>:#)[{])/gi,sT=/(?<=\/\*)[\s\S]*?(?=\*\/)|(?<=\/\/)[\s\S]*?(?=\n)/g,qD=/(?<={)[^{]*(?=(?<!\\);)/g;function*QD(s){let t=s.matchAll(GD);for(let e of t){let i=e[0],r=e.index;(i.startsWith("'")||i.startsWith('"'))&&(i=i.slice(1,-1),r+=1),i&&(yield{text:i,offset:r})}}function*JD(s){s=iT(s,sT);let t=s.matchAll(WD);for(let e of t){let i=e.slice(1).find(r=>r);i&&(yield{offset:e.index+s.slice(e.index).indexOf(i),text:i})}}function*YD(s){s=iT(s,sT,qD);let t=s.matchAll(XD);for(let e of t){let i=e[1];i&&(yield{offset:e.index,text:i})}}function iT(s,...t){for(let e of t)s=s.replace(e,i=>" ".repeat(i.length));return s}});var nT=D(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});Pc.transformElement=void 0;var xe=Ve(),zD=at(),ZD=(s,t)=>()=>{if(s.type!==xe.NodeTypes.ELEMENT||s.tagType===xe.ElementTypes.TEMPLATE)return;let e=s.tagType===xe.ElementTypes.COMPONENT,i=s.tagType===xe.ElementTypes.SLOT;for(let r of s.props){if(r.type!==xe.NodeTypes.DIRECTIVE)continue;if(r.name==="slot"){e||t.onError((0,xe.createCompilerError)(xe.ErrorCodes.X_V_SLOT_MISPLACED,r.loc));continue}let n=r.name==="bind",a=r.name==="on";if(!r.arg&&(n||a)){r.exp||t.onError((0,xe.createCompilerError)(n?xe.ErrorCodes.X_V_BIND_NO_EXPRESSION:xe.ErrorCodes.X_V_ON_NO_EXPRESSION,r.loc));continue}let o=[],l=t.directiveTransforms[r.name];if(l){let{needRuntime:c}=l(r,s,t);c&&o.push(r)}else(0,zD.isBuiltInDirective)(r.name)||o.push(r);i&&o.length&&t.onError((0,xe.createCompilerError)(xe.ErrorCodes.X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET,r.loc))}if(e){let r=!1,n=[],a=new Set,o=(0,xe.findDir)(s,"slot",!0);for(let l of s.children){l.type===xe.NodeTypes.FOR?l=l.children[0]:l.type===xe.NodeTypes.IF&&(l=l.branches[0].children[0]);let c;if(!(0,xe.isTemplateNode)(l)||!(c=(0,xe.findDir)(l,"slot",!0))){l.type!==xe.NodeTypes.COMMENT&&n.push(l);continue}if(o){t.onError((0,xe.createCompilerError)(xe.ErrorCodes.X_V_SLOT_MIXED_SLOT_USAGE,c.loc));break}let u=c.arg?(0,xe.isStaticExp)(c.arg)?c.arg.content:void 0:"default";if(u){if(a.has(u)){t.onError((0,xe.createCompilerError)(xe.ErrorCodes.X_V_SLOT_DUPLICATE_SLOT_NAMES,c.loc));continue}a.add(u),u==="default"&&(r=!0)}}r&&n.some(l=>l.type!==xe.NodeTypes.TEXT||!!l.content.trim())&&t.onError((0,xe.createCompilerError)(xe.ErrorCodes.X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN,n[0].loc)),t.components.add(s.tag)}};Pc.transformElement=ZD});var aT=D(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});Nc.transformText=void 0;var Br=Ve(),eR=s=>{if(s.type===Br.NodeTypes.ROOT||s.type===Br.NodeTypes.ELEMENT||s.type===Br.NodeTypes.FOR||s.type===Br.NodeTypes.IF_BRANCH)return()=>{let t=s.children,e;for(let i=0;i<t.length;i++){let r=t[i];if((0,Br.isText)(r))for(let n=i+1;n<t.length;n++){let a=t[n];if((0,Br.isText)(a))e??=t[i]=(0,Br.createCompoundExpression)([r],r.loc),e.children.push(" + ",a),t.splice(n,1),n--;else{e=void 0;break}}}}};Nc.transformText=eR});var gd=D(xc=>{"use strict";Object.defineProperty(xc,"__esModule",{value:!0});xc.createStructuralDirectiveTransform=sR;xc.cloneLoc=iR;var oT=Ve(),tR=at();function sR(s,t){let e=(0,tR.isString)(s)?i=>i===s:i=>s.test(i);return(i,r)=>{if(i.type===oT.NodeTypes.ELEMENT){let{props:n}=i,a=[];for(let o=0;o<n.length;o++){let l=n[o];if(l.type===oT.NodeTypes.DIRECTIVE&&e(l.name)){n.splice(o,1),o--;let c=t(i,l,r);c&&a.push(c)}}return a}}}function iR(s){return{start:{...s.start},end:{...s.end},source:s.source}}});var lT=D(vc=>{"use strict";Object.defineProperty(vc,"__esModule",{value:!0});vc.transformFor=void 0;var Qs=Ve(),rR=gd();vc.transformFor=(0,rR.createStructuralDirectiveTransform)("for",(s,t,e)=>{if(!t.exp){e.onError((0,Qs.createCompilerError)(Qs.ErrorCodes.X_V_FOR_NO_EXPRESSION,t.loc));return}let i=t.forParseResult;if(!i){e.onError((0,Qs.createCompilerError)(Qs.ErrorCodes.X_V_FOR_MALFORMED_EXPRESSION,t.loc));return}let{source:r,value:n,key:a,index:o}=i,l={type:Qs.NodeTypes.FOR,loc:t.loc,source:r,valueAlias:n,keyAlias:a,objectIndexAlias:o,parseResult:i,children:[s]};return e.replaceNode(l),()=>{if((0,Qs.isTemplateNode)(s)){for(let c of s.children)if(c.type===Qs.NodeTypes.ELEMENT){let u=(0,Qs.findProp)(c,"key");if(u){e.onError((0,Qs.createCompilerError)(Qs.ErrorCodes.X_V_FOR_TEMPLATE_KEY_PLACEMENT,u.loc));break}}}}})});var pT=D(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});Oc.transformIf=void 0;var Tt=Ve(),cT=gd();Oc.transformIf=(0,cT.createStructuralDirectiveTransform)(/^(?:if|else-if|else)$/,(s,t,e)=>{if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())&&e.onError((0,Tt.createCompilerError)(Tt.ErrorCodes.X_V_IF_NO_EXPRESSION,t.loc)),t.name==="if"){let i=uT(s,t),r={type:Tt.NodeTypes.IF,loc:(0,cT.cloneLoc)(s.loc),branches:[i]};e.replaceNode(r)}else{let i=e.parent.children,r=[],n=i.indexOf(s);for(;n-->=-1;){let a=i[n];if(a?.type===Tt.NodeTypes.COMMENT){e.removeNode(a),r.unshift(a);continue}if(a?.type===Tt.NodeTypes.TEXT&&!a.content.trim().length){e.removeNode(a);continue}if(a?.type===Tt.NodeTypes.IF){a.branches.at(-1).condition||e.onError((0,Tt.createCompilerError)(Tt.ErrorCodes.X_V_ELSE_NO_ADJACENT_IF,s.loc)),e.removeNode();let o=uT(s,t);if(r.length&&o.children.unshift(...r),o.userKey)for(let{userKey:l}of a.branches)nR(l,o.userKey)&&e.onError((0,Tt.createCompilerError)(Tt.ErrorCodes.X_V_IF_SAME_KEY,o.userKey.loc));a.branches.push(o),(0,Tt.traverseNode)(o,e),e.currentNode=null}else e.onError((0,Tt.createCompilerError)(Tt.ErrorCodes.X_V_ELSE_NO_ADJACENT_IF,s.loc));break}}});function uT(s,t){return{type:Tt.NodeTypes.IF_BRANCH,loc:s.loc,condition:t.name==="else"?void 0:t.exp,children:[s],userKey:(0,Tt.findProp)(s,"key")}}function nR(s,t){if(!s||s.type!==t.type)return!1;if(s.type===Tt.NodeTypes.ATTRIBUTE){if(s.value.content!==t.value.content)return!1}else{let e=s.exp,i=t.exp;if(e.type!==i.type||e.type!==Tt.NodeTypes.SIMPLE_EXPRESSION||e.isStatic!==i.isStatic||e.content!==i.content)return!1}return!0}});var Sd=D(Ed=>{"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});Ed.compileTemplate=uR;var yd=Ve(),aR=nT(),oR=aT(),lR=lT(),cR=pT();function uR(s,t){let[e,i]=(0,yd.getBaseTransformPreset)(),r={...t,comments:!0,nodeTransforms:[e[0],cR.transformIf,lR.transformFor,aR.transformElement,oR.transformText,...t.nodeTransforms||[]],directiveTransforms:{...i,...t.directiveTransforms}},n=(0,yd.parse)(s,r);return(0,yd.transform)(n,r),n}});var fT=D(bi=>{"use strict";var pR=bi&&bi.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),hR=bi&&bi.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),fR=bi&&bi.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&pR(e,t,i[r]);return hR(e,t),e}})();Object.defineProperty(bi,"__esModule",{value:!0});var gs=fR(Ve()),dR=Sd(),hT=/(?<=<[^>/]+)$/,mR=()=>({version:2.2,compileSFCTemplate(s,t,e){if(s==="html"||s==="md"){let i=!1;return hT.test(t)&&(t+=">",i=!0),{ast:(0,dR.compileTemplate)(t,e),code:"",preamble:"",__addedSuffix:i}}},updateSFCTemplate(s,t){let e=s.ast.source.slice(0,t.start)+t.newText+s.ast.source.slice(t.end);if(s.__addedSuffix){let l=e.slice(0,-1);if(!hT.test(l))return}let i=t.newText.length-(t.end-t.start),r=[];if(n(s.ast)&&r.length&&(r=r.sort((c,u)=>c.loc.source.length-u.loc.source.length),r[0].type===gs.NodeTypes.SIMPLE_EXPRESSION))return s;function n(l){if(o(l.loc)&&r.push(l),a(l.loc)){if(l.type===gs.NodeTypes.ROOT){for(let c of l.children)if(!n(c))return!1}else if(l.type===gs.NodeTypes.ELEMENT){if(o(l.loc)){let c=l.loc.start.offset+2,u=l.loc.start.offset+l.loc.source.lastIndexOf("</");if(!o({start:{offset:c},end:{offset:u},source:""}))return!1}for(let c of l.props)if(!n(c))return!1;for(let c of l.children)if(!n(c))return!1}else if(l.type===gs.NodeTypes.ATTRIBUTE){if(l.value&&!n(l.value))return!1}else if(l.type===gs.NodeTypes.DIRECTIVE){if(l.arg&&o(l.arg.loc)&&l.name==="slot"||l.exp&&o(l.exp.loc)&&l.name==="for"||l.arg&&!n(l.arg)||l.exp&&!n(l.exp))return!1}else if(l.type===gs.NodeTypes.COMPOUND_EXPRESSION){for(let c of l.children)if(typeof c=="object"&&!n(c))return!1}else if(l.type===gs.NodeTypes.IF)for(let c of l.branches){if(c.condition&&!n(c.condition))return!1;for(let u of c.children)if(!n(u))return!1}else if(l.type===gs.NodeTypes.FOR){for(let c of[l.parseResult.source,l.parseResult.value,l.parseResult.key,l.parseResult.index])if(c){if(!n(c))return!1;if(c.type===gs.NodeTypes.SIMPLE_EXPRESSION){let u=c.content.trim();if(u.startsWith("(")||u.endsWith(")"))return!1}}for(let c of l.children)if(!n(c))return!1}else if(l.type===gs.NodeTypes.INTERPOLATION){if(!n(l.content))return!1;if(l.content.type===gs.NodeTypes.SIMPLE_EXPRESSION){let{content:c}=l.content;if(c.includes("{{")||c.includes("}}"))return!1}}else if(l.type===gs.NodeTypes.SIMPLE_EXPRESSION&&o(l.loc)){if(l.isStatic)return!1;if(l.loc.source)l.content=l.loc.source;else return!1}return!0}return!1}function a(l){return delete l.__endOffset,o(l)?(l.source=l.source.slice(0,t.start-l.start.offset)+t.newText+l.source.slice(t.end-l.start.offset),l.__endOffset=l.end.offset,l.end.offset+=i,!0):t.end<=l.start.offset?(l.__endOffset=l.end.offset,l.start.offset+=i,l.end.offset+=i,!0):t.start>=l.end.offset}function o(l){let c=l.__endOffset??l.end.offset;return t.start>=l.start.offset&&t.end<=c}}});bi.default=mR});var bd=D(Ys=>{"use strict";var AR=Ys&&Ys.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),gR=Ys&&Ys.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),yR=Ys&&Ys.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&AR(e,t,i[r]);return gR(e,t),e}})();Object.defineProperty(Ys,"__esModule",{value:!0});Ys.forEachElementNode=$a;Ys.forEachInterpolationNode=Ln;var Js=yR(Ve());function*$a(s){if(s.type===Js.NodeTypes.ROOT)for(let t of s.children)yield*$a(t);else if(s.type===Js.NodeTypes.ELEMENT){yield s;for(let t of s.children)yield*$a(t)}else if(s.type===Js.NodeTypes.IF)for(let t of s.branches)for(let e of t.children)yield*$a(e);else if(s.type===Js.NodeTypes.FOR)for(let t of s.children)yield*$a(t)}function*Ln(s){if(s.type===Js.NodeTypes.ROOT)for(let t of s.children)yield*Ln(t);else if(s.type===Js.NodeTypes.ELEMENT)for(let t of s.children)yield*Ln(t);else if(s.type===Js.NodeTypes.COMPOUND_EXPRESSION)for(let t of s.children)typeof t=="object"&&(yield*Ln(t));else if(s.type===Js.NodeTypes.INTERPOLATION)yield s;else if(s.type===Js.NodeTypes.IF)for(let t of s.branches)for(let e of t.children)yield*Ln(e);else if(s.type===Js.NodeTypes.FOR)for(let t of s.children)yield*Ln(t)}});var dT=D(Ti=>{"use strict";var ER=Ti&&Ti.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),SR=Ti&&Ti.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),bR=Ti&&Ti.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&ER(e,t,i[r]);return SR(e,t),e}})();Object.defineProperty(Ti,"__esModule",{value:!0});var TR=bR(Ve()),CR=bd(),IR=Ut(),_R=kr(),PR={..._R.allCodeFeatures,format:!1,structure:!1},NR=()=>({version:2.2,getEmbeddedCodes(s,t){return t.template?.ast?[{id:"template_inline_css",lang:"css"}]:[]},resolveEmbeddedCode(s,t,e){e.id!=="template_inline_css"||!t.template?.ast||(e.parentCodeId=t.template.lang==="md"?"root_tags":"template",e.content.push(...xR(t.template.ast)))}});Ti.default=NR;function*xR(s){for(let t of(0,CR.forEachElementNode)(s))for(let e of t.props)if(e.type===TR.NodeTypes.ATTRIBUTE&&e.name==="style"&&e.value){yield"x { ";let[i,r]=(0,IR.normalizeAttributeValue)(e.value);yield[i,"template",r,PR],yield` }
|
|
67
|
+
`}}});var mT=D(Ci=>{"use strict";var vR=Ci&&Ci.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),OR=Ci&&Ci.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),wR=Ci&&Ci.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&vR(e,t,i[r]);return OR(e,t),e}})();Object.defineProperty(Ci,"__esModule",{value:!0});var cs=wR(Ve()),LR=lc(),MR=Ki(),DR=jf(),RR=_e(),kR={format:!0},Os={normal:["`${","}`;"],if:["if (",") { }"],for:["for (",") { }"],params:["(",") => {};"],curly:["0 +","+ 0;"],event:["() => ",";"],generic:["<",">() => {};"]},BR=({modules:{typescript:s}})=>{let t=new WeakMap;return{version:2.2,getEmbeddedCodes(i,r){if(!r.template?.ast)return[];let n=e(r);t.set(r,n);let a=[];for(let[o]of n)a.push({id:o,lang:"ts"});return a},resolveEmbeddedCode(i,r,n){if(!n.id.startsWith("template_inline_ts_"))return;r.template?.content;let a=t.get(r);if(a){let o=a.get(n.id);o&&(n.content.push(...o),n.parentCodeId=r.template?.lang==="md"?"root_tags":"template")}}};function e(i){let r=new Map;if(!i.template?.ast)return r;let n=i.template,a=0;return i.template.ast.children.forEach(o),r;function o(c){if(c.type===cs.NodeTypes.COMMENT){let u=c.loc.source.match(/^<!--\s*@vue-generic\s*\{(?<content>[\s\S]*)\}\s*-->$/);if(u){let{content:p}=u.groups;l(p,c.loc.start.offset+c.loc.source.indexOf("{")+1,Os.generic)}}else if(c.type===cs.NodeTypes.ELEMENT){for(let u of c.props)if(!(u.type!==cs.NodeTypes.DIRECTIVE||u.arg?.loc.start.offset===u.exp?.loc.start.offset)&&(u.arg?.type===cs.NodeTypes.SIMPLE_EXPRESSION&&!u.arg.isStatic&&l(u.arg.loc.source,u.arg.loc.start.offset,Os.normal),u.exp?.type===cs.NodeTypes.SIMPLE_EXPRESSION&&u.exp.constType!==cs.ConstantTypes.CAN_STRINGIFY))if(u.name==="on"&&u.arg?.type===cs.NodeTypes.SIMPLE_EXPRESSION){let h=(0,RR.getTypeScriptAST)(s,n,u.exp.content);if((0,LR.isCompoundExpression)(s,h))l(u.exp.loc.source,u.exp.loc.start.offset,Os.event);else{let f=u.exp.content.split(`
|
|
68
|
+
`),m=f[0].trim()==="",d=f[f.length-1].trim()==="";f.length<=1||!m&&!d?l(u.exp.loc.source,u.exp.loc.start.offset,Os.normal):l(u.exp.loc.source,u.exp.loc.start.offset,["(",");"])}}else u.name==="slot"?l(u.exp.loc.source,u.exp.loc.start.offset,Os.params):u.rawName==="v-for"?l(u.exp.loc.source,u.exp.loc.start.offset,Os.for):l(u.exp.loc.source,u.exp.loc.start.offset,Os.normal);for(let u of c.children)o(u)}else if(c.type===cs.NodeTypes.IF)for(let u of c.branches){u.condition?.type===cs.NodeTypes.SIMPLE_EXPRESSION&&l(u.condition.loc.source,u.condition.loc.start.offset,Os.if);for(let p of u.children)o(p)}else if(c.type===cs.NodeTypes.FOR){let{leftExpressionRange:u,leftExpressionText:p}=(0,DR.parseVForNode)(c),{source:h}=c.parseResult;if(u&&p&&h.type===cs.NodeTypes.SIMPLE_EXPRESSION){let f=u.start,m=h.loc.start.offset+h.content.length;for(;n.content[f-1]===" "||n.content[f-1]==="(";)f--;for(;n.content[m]===" "||n.content[m]===")";)m++;l(n.content.slice(f,m),f,Os.for)}for(let f of c.children)o(f)}else if(c.type===cs.NodeTypes.COMPOUND_EXPRESSION)for(let u of c.children)typeof u=="object"&&o(u);else if(c.type===cs.NodeTypes.INTERPOLATION){let[u,p]=(0,MR.parseInterpolationNode)(c,n.content),h=u.split(`
|
|
69
|
+
`),f=h[0].trim()==="",m=h[h.length-1].trim()==="";u.includes("=>")?h.length<=1||!f&&!m?l(u,p,Os.normal):l(u,p,["(",");"]):h.length<=1||!f&&!m?l(u,p,Os.curly):l(u,p,[f?"(":"(0 +",m?");":"+ 0);"])}}function l(c,u,p){let h="template_inline_ts_"+a++;r.set(h,[p[0],[c,"template",u,kR],p[1]])}}};Ci.default=BR});var AT=D(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});ja.ReactiveFlags=void 0;ja.createReactiveSystem=FR;ja.ReactiveFlags={None:0,Mutable:1,Watching:2,RecursedCheck:4,Recursed:8,Dirty:16,Pending:32};function FR({update:s,notify:t,unwatched:e}){return{link:i,unlink:r,propagate:n,checkDirty:a,shallowPropagate:o};function i(c,u,p){let h=u.depsTail;if(h!==void 0&&h.dep===c)return;let f=h!==void 0?h.nextDep:u.deps;if(f!==void 0&&f.dep===c){f.version=p,u.depsTail=f;return}let m=c.subsTail;if(m!==void 0&&m.version===p&&m.sub===u)return;let d=u.depsTail=c.subsTail={version:p,dep:c,sub:u,prevDep:h,nextDep:f,prevSub:m,nextSub:void 0};f!==void 0&&(f.prevDep=d),h!==void 0?h.nextDep=d:u.deps=d,m!==void 0?m.nextSub=d:c.subs=d}function r(c,u=c.sub){let{dep:p,prevDep:h,nextDep:f,nextSub:m,prevSub:d}=c;return f!==void 0?f.prevDep=h:u.depsTail=h,h!==void 0?h.nextDep=f:u.deps=f,m!==void 0?m.prevSub=d:p.subsTail=d,d!==void 0?d.nextSub=m:(p.subs=m)===void 0&&e(p),f}function n(c,u){let p=c.nextSub,h;e:do{let f=c.sub,m=f.flags;if(m&60?m&12?m&4?!(m&48)&&l(c,f)?(f.flags=m|40,m&=1):m=0:f.flags=m&-9|32:m=0:(f.flags=m|32,u&&(f.flags|=8)),m&2&&t(f),m&1){let d=f.subs;if(d!==void 0){let A=(c=d).nextSub;A!==void 0&&(h={value:p,prev:h},p=A);continue}}if((c=p)!==void 0){p=c.nextSub;continue}for(;h!==void 0;)if(c=h.value,h=h.prev,c!==void 0){p=c.nextSub;continue e}break}while(!0)}function a(c,u){let p,h=0,f=!1;e:do{let m=c.dep,d=m.flags;if(u.flags&16)f=!0;else if((d&17)===17){let A=m.subs;s(m)&&(A.nextSub!==void 0&&o(A),f=!0)}else if((d&33)===33){p={value:c,prev:p},c=m.deps,u=m,++h;continue}if(!f){let A=c.nextDep;if(A!==void 0){c=A;continue}}for(;h--;){if(c=p.value,p=p.prev,f){let y=u.subs;if(s(u)){y.nextSub!==void 0&&o(y),u=c.sub;continue}f=!1}else u.flags&=-33;u=c.sub;let A=c.nextDep;if(A!==void 0){c=A;continue e}}return f&&!!u.flags}while(!0)}function o(c){do{let u=c.sub,p=u.flags;(p&48)===32&&(u.flags=p|16,(p&6)===2&&t(u))}while((c=c.nextSub)!==void 0)}function l(c,u){let p=u.depsTail;for(;p!==void 0;){if(p===c)return!0;p=p.prevDep}return!1}}});var Rn=D(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.getActiveSub=UR;vt.setActiveSub=Vr;vt.getBatchDepth=$R;vt.startBatch=jR;vt.endBatch=HR;vt.isSignal=KR;vt.isComputed=GR;vt.isEffect=WR;vt.isEffectScope=XR;vt.signal=qR;vt.computed=QR;vt.effect=JR;vt.effectScope=YR;vt.trigger=zR;var VR=AT(),Ka=64,wc=0,Mn=0,Ga=0,Fr=0,Ha=0,Ht,Ii=[],{link:Lc,unlink:Dn,propagate:gT,checkDirty:yT,shallowPropagate:Td}=(0,VR.createReactiveSystem)({update(s){return"getter"in s?ET(s):"currentValue"in s?ST(s):(s.flags=1,!0)},notify(s){let t=Ha,e=t;do if(Ii[t++]=s,s.flags&=-3,s=s.subs?.sub,s===void 0||!(s.flags&2))break;while(!0);for(Ha=t;e<--t;){let i=Ii[e];Ii[e++]=Ii[t],Ii[t]=i}},unwatched(s){"getter"in s?s.depsTail!==void 0&&(s.flags=17,IT(s)):"currentValue"in s||("fn"in s?Id.call(s):Mc.call(s))}});function UR(){return Ht}function Vr(s){let t=Ht;return Ht=s,t}function $R(){return Ga}function jR(){++Ga}function HR(){--Ga||Cd()}function KR(s){return s.name==="bound "+TT.name}function GR(s){return s.name==="bound "+bT.name}function WR(s){return s.name==="bound "+Id.name}function XR(s){return s.name==="bound "+Mc.name}function qR(s){return TT.bind({currentValue:s,pendingValue:s,subs:void 0,subsTail:void 0,flags:1})}function QR(s){return bT.bind({value:void 0,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:0,getter:s})}function JR(s){let t={fn:s,cleanup:void 0,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:6},e=Vr(t);e!==void 0&&(Lc(t,e,0),e.flags|=Ka);try{++Mn,t.cleanup=t.fn()}finally{--Mn,Ht=e,t.flags&=-5}return Id.bind(t)}function YR(s){let t={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:1},e=Vr(t);e!==void 0&&(Lc(t,e,0),e.flags|=Ka);try{s()}finally{Ht=e}return Mc.bind(t)}function zR(s){let t={deps:void 0,depsTail:void 0,flags:2},e=Vr(t);try{s()}finally{Ht=e,t.flags=0;let i=t.deps;for(;i!==void 0;){let r=i.dep;i=Dn(i,t);let n=r.subs;n!==void 0&&(gT(n,!!Mn),Td(n))}Ga||Cd()}}function ET(s){if(s.flags&Ka){let e=s.depsTail;for(;e!==void 0;){let i=e.prevDep,r=e.dep;!("getter"in r)&&!("currentValue"in r)&&Dn(e,s),e=i}}s.depsTail=void 0,s.flags=5;let t=Vr(s);try{++wc;let e=s.value;return e!==(s.value=s.getter(e))}finally{Ht=t,s.flags&=-5,_T(s)}}function ST(s){return s.flags=1,s.currentValue!==(s.currentValue=s.pendingValue)}function ZR(s){let t=s.flags;if(t&16||t&32&&yT(s.deps,s)){if(t&Ka){let i=s.depsTail;for(;i!==void 0;){let r=i.prevDep,n=i.dep;!("getter"in n)&&!("currentValue"in n)&&Dn(i,s),i=r}}if(s.cleanup&&(CT(s),!s.flags))return;s.depsTail=void 0,s.flags=6;let e=Vr(s);try{++wc,++Mn,s.cleanup=s.fn()}finally{--Mn,Ht=e,s.flags&=-5,_T(s)}}else s.deps!==void 0&&(s.flags=2|t&Ka)}function Cd(){try{for(;Fr<Ha;){let s=Ii[Fr];Ii[Fr++]=void 0,ZR(s)}}finally{for(;Fr<Ha;){let s=Ii[Fr];Ii[Fr++]=void 0,s.flags|=10}Fr=0,Ha=0}}function bT(){let s=this.flags;if(s&16||s&32&&(yT(this.deps,this)||(this.flags=s&-33,!1))){if(ET(this)){let e=this.subs;e!==void 0&&Td(e)}}else if(!s){this.flags=5;let e=Vr(this);try{this.value=this.getter()}finally{Ht=e,this.flags&=-5}}let t=Ht;return t!==void 0&&Lc(this,t,wc),this.value}function TT(...s){if(s.length){if(this.pendingValue!==(this.pendingValue=s[0])){this.flags=17;let t=this.subs;t!==void 0&&(gT(t,!!Mn),Ga||Cd())}}else{if(this.flags&16&&ST(this)){let e=this.subs;e!==void 0&&Td(e)}let t=Ht;return t!==void 0&&Lc(this,t,wc),this.currentValue}}function CT(s){let t=s.cleanup;s.cleanup=void 0;let e=Ht;Ht=void 0;try{t()}finally{Ht=e}}function Id(){Mc.call(this),this.cleanup&&CT(this)}function Mc(){this.flags=0,IT(this);let s=this.subs;s!==void 0&&Dn(s)}function IT(s){let t=s.depsTail;for(;t!==void 0;){let e=t.prevDep;Dn(t,s),t=e}}function _T(s){let t=s.depsTail,e=t!==void 0?t.nextDep:s.deps;for(;e!==void 0;)e=Dn(e,s)}});var NT=D(_d=>{"use strict";Object.defineProperty(_d,"__esModule",{value:!0});_d.getLocalTypesGenerator=e2;var PT=_e();function e2(s){let t=new Set,e=u("__VLS_WithDefaults",()=>`
|
|
70
70
|
type __VLS_WithDefaults<P, D> = {
|
|
71
71
|
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
72
72
|
? ${i.name}<P[K] & { default: D[K] }>
|
|
@@ -98,8 +98,8 @@ type __VLS_TypePropsToOption<T> = {
|
|
|
98
98
|
? { type: import('${s.lib}').PropType<Required<T>[K]> }
|
|
99
99
|
: { type: import('${s.lib}').PropType<T[K]>, required: true }
|
|
100
100
|
};
|
|
101
|
-
`.trimStart()),o=u("__VLS_OmitIndexSignature",()=>`type __VLS_OmitIndexSignature<T> = { [K in keyof T as {} extends Record<K, unknown> ? never : K]: T[K]; }${PT.endOfLine}`),l={[i.name]:i,[e.name]:e,[r.name]:r,[n.name]:n,[a.name]:a,[o.name]:o};return t.clear(),{generate:c,get PrettifyLocal(){return i.name},get WithDefaults(){return e.name},get WithSlots(){return r.name},get PropsChildren(){return n.name},get TypePropsToOption(){return a.name},get OmitIndexSignature(){return o.name}};function*c(){for(let h of t)yield l[h].generate();t.clear()}function u(h,p){return{get name(){return t.add(h),h},generate:p}}}});var xT=D(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.createScriptCodegenContext=t2;var e2=NT();function t2(s){let t=(0,e2.getLocalTypesGenerator)(s.vueCompilerOptions);return{generatedTypes:new Set,localTypes:t,inlayHints:[]}}});var vT=D(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.replace=s2;Wa.insert=i2;Wa.generateCodeWithTransforms=r2;function s2(s,t,e){return{range:[s,t],generate:e}}function i2(s,t){return{range:[s,s],generate:t}}function*r2(s,t,e,i){let r=e.sort((n,a)=>n.range[0]-a.range[0]);for(let{range:n,generate:a}of r)yield*i(s,n[0]),yield*a(),s=n[1];yield*i(s,t)}});var Nd=D(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});Dc.generateIntersectMerge=n2;Dc.generateSpreadMerge=a2;var OT=_e();function*n2(...s){yield s[0];for(let t=1;t<s.length;t++)yield" & ",yield s[t]}function*a2(...s){if(s.length<=1)yield*s;else{yield`{${OT.newLine}`;for(let t of s)yield"...",yield t,yield`,${OT.newLine}`;yield"}"}}});var wT=D(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.generateComponent=l2;var o2=$e(),ve=nt(),zs=_e(),Rc=Nd();function*l2(s,t,e,i){yield`(await import('${s.vueCompilerOptions.lib}')).defineComponent({${zs.newLine}`,i.defineExpose&&(yield`setup: () => ${ve.names.exposed},${zs.newLine}`);let r=[...c2(s,i)];yield*r,yield*p2(s,t,e,i,!!r.length),s.vueCompilerOptions.target>=3.5&&s.vueCompilerOptions.inferComponentDollarRefs&&s.templateAndStyleTypes.has(ve.names.TemplateRefs)&&(yield`__typeRefs: {} as ${ve.names.TemplateRefs},${zs.newLine}`),s.vueCompilerOptions.target>=3.5&&s.vueCompilerOptions.inferComponentDollarEl&&s.templateAndStyleTypes.has(ve.names.RootEl)&&(yield`__typeEl: {} as ${ve.names.RootEl},${zs.newLine}`),yield"})"}function*c2(s,t){let e=s.vueCompilerOptions.target>=3.5&&!t.defineEmits?.hasUnionTypeArg?[...u2(t)]:[],i=e.length?[]:[...h2(t)];e.length?(yield"__typeEmits: {} as ",yield*(0,Rc.generateIntersectMerge)(...e),yield`,${zs.newLine}`):i.length&&(yield"emits: ",yield*(0,Rc.generateSpreadMerge)(...i),yield`,${zs.newLine}`)}function*u2(s){s.defineModel.length&&(yield ve.names.ModelEmit),s.defineEmits?.typeArg&&(yield ve.names.Emit)}function*h2(s){s.defineModel.length&&(yield`{} as ${ve.names.NormalizeEmits}<typeof ${ve.names.modelEmit}>`),s.defineEmits&&(yield`{} as ${ve.names.NormalizeEmits}<typeof ${s.defineEmits.name??ve.names.emit}>`)}function*p2(s,t,e,i,r){let n=s.vueCompilerOptions.target>=3.5&&!i.defineProps?.arg?[...f2(s,t,r)]:[],a=i.withDefaults||!n.length?[...d2(s,t,e,i,r)]:[];n.length&&(s.vueCompilerOptions.target>=3.6&&i.withDefaults?.arg&&(yield`__defaults: ${ve.names.defaults},${zs.newLine}`),yield"__typeProps: ",yield*(0,Rc.generateSpreadMerge)(...n),yield`,${zs.newLine}`),a.length&&(yield"props: ",yield*(0,Rc.generateSpreadMerge)(...a),yield`,${zs.newLine}`)}function*f2(s,t,e){s.templateAndStyleTypes.has(ve.names.InheritedAttrs)&&(yield`{} as ${e?`Omit<${ve.names.InheritedAttrs}, keyof ${ve.names.EmitProps}>`:ve.names.InheritedAttrs}`),t.generatedTypes.has(ve.names.PublicProps)&&(yield`{} as ${ve.names.PublicProps}`)}function*d2(s,t,e,i,r){if(s.templateAndStyleTypes.has(ve.names.InheritedAttrs)){let n=r?`Omit<${ve.names.InheritedAttrs}, keyof ${ve.names.EmitProps}>`:ve.names.InheritedAttrs;yield`{} as ${`${t.localTypes.TypePropsToOption}<${ve.names.PickNotAny}<${t.localTypes.OmitIndexSignature}<${n}>, {}>>`}`}if(t.generatedTypes.has(ve.names.PublicProps)&&s.vueCompilerOptions.target<3.6){let n=`${t.localTypes.TypePropsToOption}<${ve.names.PublicProps}>`;i.withDefaults?.arg&&(n=`${t.localTypes.WithDefaults}<${n}, typeof ${ve.names.defaults}>`),yield`{} as ${n}`}if(i.defineProps?.arg){let{arg:n}=i.defineProps;yield*(0,zs.generateSfcBlockSection)(e,n.start,n.end,o2.codeFeatures.navigation)}}});var DT=D(Xa=>{"use strict";Object.defineProperty(Xa,"__esModule",{value:!0});Xa.generateScriptSetupImports=g2;Xa.generateGeneric=y2;Xa.generateSetupFunction=E2;var m2=at(),ht=$e(),X=nt(),q=_e(),LT=ft(),A2=vr(),we=vT(),MT=wT();function*g2(s,t){yield[s.content.slice(0,Math.max(t.importSectionEndOffset,t.leadingCommentEndOffset)),"scriptSetup",0,ht.codeFeatures.all]}function*y2(s,t,e,i,r,n){yield"(",typeof r=="object"&&(yield"<",yield[r.text,"main",r.offset,ht.codeFeatures.all],r.text.endsWith(",")||(yield","),yield">"),yield`(${q.newLine} ${X.names.props}: NonNullable<Awaited<typeof ${X.names.setup}>>['props'],${q.newLine} ${X.names.ctx}?: ${t.localTypes.PrettifyLocal}<Pick<NonNullable<Awaited<typeof ${X.names.setup}>>, 'attrs' | 'emit' | 'slots'>>,${q.newLine} ${X.names.exposed}?: NonNullable<Awaited<typeof ${X.names.setup}>>['expose'],${q.newLine} ${X.names.setup} = (async () => {${q.newLine}`,yield*n;let a=[],o=[],{vueCompilerOptions:l}=s;t.generatedTypes.has(X.names.PublicProps)&&a.push(X.names.PublicProps),i.defineProps?.arg&&(yield`const ${X.names.propsOption} = `,yield*(0,q.generateSfcBlockSection)(e,i.defineProps.arg.start,i.defineProps.arg.end,ht.codeFeatures.navigation),yield q.endOfLine,a.push(`import('${l.lib}').${l.target>=3.3?"ExtractPublicPropTypes":"ExtractPropTypes"}<typeof ${X.names.propsOption}>`)),(i.defineEmits||i.defineModel.length)&&a.push(X.names.EmitProps),s.templateAndStyleTypes.has(X.names.InheritedAttrs)&&a.push(X.names.InheritedAttrs),i.defineEmits&&o.push(`typeof ${i.defineEmits.name??X.names.emit}`),i.defineModel.length&&o.push(`typeof ${X.names.modelEmit}`),yield`return {} as {${q.newLine}`,yield" props: ",yield l.target>=3.4?`import('${l.lib}').PublicProps`:l.target>=3?`import('${l.lib}').VNodeProps & import('${l.lib}').AllowedComponentProps & import('${l.lib}').ComponentCustomProps`:"globalThis.JSX.IntrinsicAttributes",a.length&&(yield` & ${t.localTypes.PrettifyLocal}<${a.join(" & ")}>`),yield` & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P } ? P : {})${q.endOfLine}`,yield" expose: (exposed: ",yield i.defineExpose?`import('${l.lib}').ShallowUnwrapRef<typeof ${X.names.exposed}>`:"{}",s.vueCompilerOptions.inferComponentDollarRefs&&s.templateAndStyleTypes.has(X.names.TemplateRefs)&&(yield` & { $refs: ${X.names.TemplateRefs}; }`),s.vueCompilerOptions.inferComponentDollarEl&&s.templateAndStyleTypes.has(X.names.RootEl)&&(yield` & { $el: ${X.names.RootEl}; }`),yield`) => void${q.endOfLine}`,yield` attrs: any${q.endOfLine}`,yield` slots: ${Od(s)?X.names.Slots:"{}"}${q.endOfLine}`,yield` emit: ${o.length?o.join(" & "):"{}"}${q.endOfLine}`,yield`}${q.endOfLine}`,yield`})(),${q.newLine}`,yield`) => ({} as import('${l.lib}').VNode & { __ctx?: Awaited<typeof ${X.names.setup}> }))${q.endOfLine}`}function*E2(s,t,e,i,r,n){let a=[];if(i.defineProps){let{name:o,statement:l,callExp:c,typeArg:u}=i.defineProps,h=i.withDefaults?.callExp??c;a.push(...vd(e,l,h,u,o,X.names.props,X.names.Props))}if(i.defineEmits){let{name:o,statement:l,callExp:c,typeArg:u}=i.defineEmits;a.push(...vd(e,l,c,u,o,X.names.emit,X.names.Emit))}if(i.defineSlots){let{name:o,statement:l,callExp:c,typeArg:u}=i.defineSlots;a.push(...vd(e,l,c,u,o,X.names.slots,X.names.Slots))}if(i.defineExpose){let{callExp:o,arg:l,typeArg:c}=i.defineExpose;c?a.push((0,we.insert)(o.start,function*(){yield`let ${X.names.exposed}!: `,yield*(0,q.generateSfcBlockSection)(e,c.start,c.end,ht.codeFeatures.all),yield q.endOfLine}),(0,we.replace)(c.start,c.end,function*(){yield`typeof ${X.names.exposed}`})):l?a.push((0,we.insert)(o.start,function*(){yield`const ${X.names.exposed} = `,yield*(0,q.generateSfcBlockSection)(e,l.start,l.end,ht.codeFeatures.all),yield q.endOfLine}),(0,we.replace)(l.start,l.end,function*(){yield X.names.exposed})):a.push((0,we.insert)(o.start,function*(){yield`const ${X.names.exposed} = {}${q.endOfLine}`}))}if(s.vueCompilerOptions.inferTemplateDollarAttrs)for(let{callExp:o}of i.useAttrs)a.push((0,we.insert)(o.start,function*(){yield"("}),(0,we.insert)(o.end,function*(){yield` as typeof ${X.names.dollars}.$attrs)`}));for(let{callExp:o,exp:l,arg:c}of i.useCssModule){a.push((0,we.insert)(o.start,function*(){yield"("}));let u=s.templateAndStyleTypes.has(X.names.StyleModules)?X.names.StyleModules:"{}";c?a.push((0,we.insert)(o.end,function*(){yield` as Omit<${u}, '$style'>[`,yield*(0,q.generateSfcBlockSection)(e,c.start,c.end,ht.codeFeatures.withoutSemantic),yield"])"}),(0,we.replace)(c.start,c.end,function*(){yield"{} as any"})):a.push((0,we.insert)(o.end,function*(){yield` as ${u}[`;let h=yield*(0,LT.startBoundary)(e.name,l.start,ht.codeFeatures.verification);yield"'$style'",yield(0,LT.endBoundary)(h,l.end),yield"])"}))}if(s.vueCompilerOptions.inferTemplateDollarSlots)for(let{callExp:o}of i.useSlots)a.push((0,we.insert)(o.start,function*(){yield"("}),(0,we.insert)(o.end,function*(){yield` as typeof ${X.names.dollars}.$slots)`}));for(let{callExp:o,arg:l}of i.useTemplateRef)a.push((0,we.insert)(o.start,function*(){yield"("}),(0,we.insert)(o.end,function*(){yield` as Readonly<import('${s.vueCompilerOptions.lib}').ShallowRef<`,l?(yield X.names.TemplateRefs,yield"[",yield*(0,q.generateSfcBlockSection)(e,l.start,l.end,ht.codeFeatures.withoutSemantic),yield"]"):yield"unknown",yield" | null>>)"})),l&&a.push((0,we.replace)(l.start,l.end,function*(){yield"{} as any"}));yield*(0,we.generateCodeWithTransforms)(Math.max(i.importSectionEndOffset,i.leadingCommentEndOffset),e.content.length,a,(o,l)=>(0,q.generateSfcBlockSection)(e,o,l,ht.codeFeatures.all)),yield*S2(s),yield*T2(e,i),yield*b2(s,t,e,i),yield*r,n&&(Od(s)?(yield`const ${X.names.base} = `,yield*(0,MT.generateComponent)(s,t,e,i),yield q.endOfLine,yield*n,yield`{} as ${t.localTypes.WithSlots}<typeof ${X.names.base}, ${X.names.Slots}>${q.endOfLine}`):(yield*n,yield*(0,MT.generateComponent)(s,t,e,i),yield q.endOfLine))}function*S2(s){if(s.vueCompilerOptions.target>=3.3){yield`// @ts-ignore${q.newLine}`,yield"declare const { ";for(let t of Object.keys(s.vueCompilerOptions.macros))s.exposed.has(t)||(yield`${t}, `);yield`}: typeof import('${s.vueCompilerOptions.lib}')${q.endOfLine}`}}function*vd(s,t,e,i,r,n,a){i&&(yield(0,we.insert)(t.start,function*(){yield`type ${a} = `,yield*(0,q.generateSfcBlockSection)(s,i.start,i.end,ht.codeFeatures.all),yield q.endOfLine}),yield(0,we.replace)(i.start,i.end,function*(){yield a})),r?q.identifierRegex.test(r)||(yield(0,we.replace)(t.start,e.start,function*(){yield`const ${n} = `}),yield(0,we.insert)(t.end,function*(){yield q.endOfLine,yield*(0,q.generateSfcBlockSection)(s,t.start,e.start,ht.codeFeatures.all),yield n})):t.start===e.start&&t.end===e.end?yield(0,we.insert)(e.start,function*(){yield`const ${n} = `}):i?(yield(0,we.replace)(t.start,i.start,function*(){yield`const ${n} = `,yield*(0,q.generateSfcBlockSection)(s,e.start,i.start,ht.codeFeatures.all)}),yield(0,we.replace)(i.end,e.end,function*(){yield*(0,q.generateSfcBlockSection)(s,i.end,e.end,ht.codeFeatures.all),yield q.endOfLine,yield*(0,q.generateSfcBlockSection)(s,t.start,e.start,ht.codeFeatures.all),yield n})):yield(0,we.replace)(t.start,e.end,function*(){yield`const ${n} = `,yield*(0,q.generateSfcBlockSection)(s,e.start,e.end,ht.codeFeatures.all),yield q.endOfLine,yield*(0,q.generateSfcBlockSection)(s,t.start,e.start,ht.codeFeatures.all),yield n})}function*b2(s,t,e,i){i.defineProps?.typeArg&&i.withDefaults?.arg&&(yield`const ${X.names.defaults} = `,yield*(0,q.generateSfcBlockSection)(e,i.withDefaults.arg.start,i.withDefaults.arg.end,ht.codeFeatures.navigation),yield q.endOfLine);let r=[];s.vueCompilerOptions.jsxSlots&&Od(s)&&r.push(`${t.localTypes.PropsChildren}<${X.names.Slots}>`),i.defineProps?.typeArg&&r.push(X.names.Props),i.defineModel.length&&r.push(X.names.ModelProps),r.length&&(yield`type ${X.names.PublicProps} = ${r.join(" & ")}${q.endOfLine}`,t.generatedTypes.add(X.names.PublicProps))}function Od(s){return!!(s.scriptSetupRanges?.defineSlots||s.templateAndStyleTypes.has(X.names.Slots))}function*T2(s,t){if(!t.defineModel.length)return;let e=[],i=[],r=[];for(let n of t.defineModel){let a=n.name?(0,m2.camelize)(kn(s,n.name).slice(1,-1)):"modelValue",o;n.type?o=kn(s,n.type):n.runtimeType&&n.localName?o=`typeof ${kn(s,n.localName)}['value']`:n.defaultValue&&a?o=`typeof ${X.names.defaultModels}['${a}']`:o="any",n.defaultValue&&e.push(`'${a}': ${kn(s,n.defaultValue)},${q.newLine}`),i.push(C2(s,n,a,o)),r.push(I2(n,a,o))}e.length&&(yield`const ${X.names.defaultModels} = {${q.newLine}`,yield*e,yield`}${q.endOfLine}`),yield`type ${X.names.ModelProps} = {${q.newLine}`;for(let n of i)yield*n;yield`}${q.endOfLine}`,yield`type ${X.names.ModelEmit} = {${q.newLine}`;for(let n of r)yield*n;yield`}${q.endOfLine}`,yield`let ${X.names.modelEmit}!: ${X.names.ShortEmits}<${X.names.ModelEmit}>${q.endOfLine}`}function*C2(s,t,e,i){if(t.comments&&(yield s.content.slice(t.comments.start,t.comments.end),yield q.newLine),t.name?yield*(0,A2.generateCamelized)(kn(s,t.name),s.name,t.name.start,ht.codeFeatures.navigation):yield e,yield t.required?": ":"?: ",yield i,yield q.endOfLine,t.modifierType){let r=`${e==="modelValue"?"model":e}Modifiers`,n=kn(s,t.modifierType);yield`'${r}'?: Partial<Record<${n}, true>>${q.endOfLine}`}}function*I2(s,t,e){yield`'update:${t}': [value: `,yield e,!s.required&&!s.defaultValue&&(yield" | undefined"),yield`]${q.endOfLine}`}function kn(s,t){return s.content.slice(t.start,t.end)}});var kT=D(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.generateTemplate=P2;var RT=$e(),pe=nt(),Bt=_e(),_2=Nd();function*P2(s,t,e){yield*O2(s,t),yield*N2(s,t,e),yield*x2(s,t),yield*v2(s,t),s.templateAndStyleCodes.length&&(yield*s.templateAndStyleCodes)}function*N2({vueCompilerOptions:s,templateAndStyleTypes:t,scriptSetupRanges:e,fileName:i},r,n){let a=[],o=[],l=[];s.petiteVueExtensions.some(c=>i.endsWith(c))&&a.push("globalThis"),n?a.push(`{} as InstanceType<${pe.names.PickNotAny}<typeof ${n}, new () => {}>>`):a.push(`{} as import('${s.lib}').ComponentPublicInstance`),t.has(pe.names.StyleModules)&&a.push(`{} as ${pe.names.StyleModules}`),e?.defineEmits&&o.push(`typeof ${e.defineEmits.name??pe.names.emit}`),e?.defineModel.length&&o.push(`typeof ${pe.names.modelEmit}`),o.length&&(yield`type ${pe.names.EmitProps} = ${pe.names.EmitsToProps}<${pe.names.NormalizeEmits}<${o.join(" & ")}>>${Bt.endOfLine}`,a.push(`{} as { $emit: ${o.join(" & ")} }`)),e?.defineProps&&l.push(`typeof ${e.defineProps.name??pe.names.props}`),e?.defineModel.length&&l.push(pe.names.ModelProps),o.length&&l.push(pe.names.EmitProps),l.length&&(a.push(`{} as { $props: ${l.join(" & ")} }`),a.push(`{} as ${l.join(" & ")}`)),r.generatedTypes.has(pe.names.SetupExposed)&&a.push(`{} as ${pe.names.SetupExposed}`),yield`const ${pe.names.ctx} = `,yield*(0,_2.generateSpreadMerge)(...a),yield Bt.endOfLine}function*x2({vueCompilerOptions:s,script:t,scriptRanges:e},i){let r=[];if(i.generatedTypes.has(pe.names.SetupExposed)&&r.push(pe.names.SetupExposed),t&&e?.exportDefault?.options?.components){let{components:n}=e.exportDefault.options;yield`const ${pe.names.componentsOption} = `,yield*(0,Bt.generateSfcBlockSection)(t,n.start,n.end,RT.codeFeatures.navigation),yield Bt.endOfLine,r.push(`typeof ${pe.names.componentsOption}`)}yield`type ${pe.names.LocalComponents} = ${r.length?r.join(" & "):"{}"}${Bt.endOfLine}`,yield`type ${pe.names.GlobalComponents} = ${s.target>=3.5?`import('${s.lib}').GlobalComponents`:`import('${s.lib}').GlobalComponents & Pick<typeof import('${s.lib}'), 'Transition' | 'TransitionGroup' | 'KeepAlive' | 'Suspense' | 'Teleport'>`}${Bt.endOfLine}`,yield`let ${pe.names.components}!: ${pe.names.LocalComponents} & ${pe.names.GlobalComponents}${Bt.endOfLine}`,yield`let ${pe.names.intrinsics}!: ${s.target>=3.3?`import('${s.lib}/jsx-runtime').JSX.IntrinsicElements`:"globalThis.JSX.IntrinsicElements"}${Bt.endOfLine}`}function*v2({vueCompilerOptions:s,script:t,scriptRanges:e},i){let r=[];if(i.generatedTypes.has(pe.names.SetupExposed)&&r.push(pe.names.SetupExposed),t&&e?.exportDefault?.options?.directives){let{directives:n}=e.exportDefault.options;yield`const ${pe.names.directivesOption} = `,yield*(0,Bt.generateSfcBlockSection)(t,n.start,n.end,RT.codeFeatures.navigation),yield Bt.endOfLine,r.push(`${pe.names.ResolveDirectives}<typeof ${pe.names.directivesOption}>`)}yield`type ${pe.names.LocalDirectives} = ${r.length?r.join(" & "):"{}"}${Bt.endOfLine}`,yield`let ${pe.names.directives}!: ${pe.names.LocalDirectives} & import('${s.lib}').GlobalDirectives${Bt.endOfLine}`}function*O2({vueCompilerOptions:s,exposed:t},e){if(t.size){e.generatedTypes.add(pe.names.SetupExposed),yield`type ${pe.names.SetupExposed} = import('${s.lib}').ShallowUnwrapRef<{${Bt.newLine}`;for(let i of t){let r=Symbol(i.length);yield["",void 0,0,{__linkedToken:r}],yield`${i}: typeof `,yield["",void 0,0,{__linkedToken:r}],yield i,yield Bt.endOfLine}yield`}>${Bt.endOfLine}`}}});var FT=D(_i=>{"use strict";var w2=_i&&_i.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),L2=_i&&_i.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),M2=_i&&_i.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&w2(e,t,i[r]);return L2(e,t),e}})();Object.defineProperty(_i,"__esModule",{value:!0});_i.generateScript=R2;var Ld=M2(dc()),Zs=$e(),ys=nt(),rt=_e(),Bc=ft(),D2=xT(),Qi=DT(),Ur=kT(),kc=`{} as typeof ${ys.names.export}`;function R2(s){let t=(0,D2.createScriptCodegenContext)(s),e=k2(s,t);return{...t,codes:[...e]}}function*k2(s,t){let{script:e,scriptRanges:i,scriptSetup:r,scriptSetupRanges:n,vueCompilerOptions:a,fileName:o}=s;if(yield*B2(a,o),typeof e?.src=="object"){let l=e.src.text;l.endsWith(".ts")&&!l.endsWith(".d.ts")?l=l.slice(0,-3)+".js":l.endsWith(".tsx")&&(l=l.slice(0,-4)+".jsx"),yield`import ${ys.names.src} from `;let c=yield*(0,Bc.startBoundary)("main",e.src.offset,{...Zs.codeFeatures.all,...l!==e.src.text?Zs.codeFeatures.navigationWithoutRename:{}});yield"'",yield[l.slice(0,e.src.text.length),"main",e.src.offset,{__combineToken:c}],yield l.slice(e.src.text.length),yield"'",yield(0,Bc.endBoundary)(c,e.src.offset+e.src.text.length),yield rt.endOfLine,yield`export default ${ys.names.src}${rt.endOfLine}`,yield*(0,Ur.generateTemplate)(s,t,ys.names.src)}else if(e&&i&&r&&n){yield*(0,Qi.generateScriptSetupImports)(r,n);let l,{exportDefault:c}=i;c?yield*BT(t,e,i,c,a,l=ys.names.self):(yield*(0,rt.generateSfcBlockSection)(e,0,e.content.length,Zs.codeFeatures.all),yield`export default ${kc}${rt.endOfLine}`),yield*qa(r,ys.names.export),r.generic?yield*(0,Qi.generateGeneric)(s,t,r,n,r.generic,(0,Qi.generateSetupFunction)(s,t,r,n,(0,Ur.generateTemplate)(s,t,l))):(yield`await (async () => {${rt.newLine}`,yield*(0,Qi.generateSetupFunction)(s,t,r,n,(0,Ur.generateTemplate)(s,t,l),["return "]),yield`})()${rt.endOfLine}`)}else if(r&&n)yield*(0,Qi.generateScriptSetupImports)(r,n),r.generic?(yield*qa(r,ys.names.export),yield*(0,Qi.generateGeneric)(s,t,r,n,r.generic,(0,Qi.generateSetupFunction)(s,t,r,n,(0,Ur.generateTemplate)(s,t)))):yield*(0,Qi.generateSetupFunction)(s,t,r,n,(0,Ur.generateTemplate)(s,t),qa(r,ys.names.export)),yield`export default ${kc}${rt.endOfLine}`;else if(e&&i){let{exportDefault:l}=i;l?yield*BT(t,e,i,l,a,ys.names.export,(0,Ur.generateTemplate)(s,t,ys.names.export)):(yield*(0,rt.generateSfcBlockSection)(e,0,e.content.length,Zs.codeFeatures.all),yield*qa(e,ys.names.export),yield`(await import('${a.lib}')).defineComponent({})${rt.endOfLine}`,yield*(0,Ur.generateTemplate)(s,t,ys.names.export),yield`export default ${kc}${rt.endOfLine}`)}yield*t.localTypes.generate()}function*BT(s,t,e,i,r,n,a){let o=e.exportDefault?.options,{expression:l,isObjectLiteral:c}=o??i,u,h;c&&r.optionsWrapper.length&&([u,h]=r.optionsWrapper,s.inlayHints.push({blockName:t.name,offset:l.start,setting:"vue.inlayHints.optionsWrapper",label:u||"[Missing optionsWrapper[0]]",tooltip:["This is virtual code that is automatically wrapped for type support, it does not affect your runtime behavior, you can customize it via `vueCompilerOptions.optionsWrapper` option in tsconfig / jsconfig.",'To hide it, you can set `"vue.inlayHints.optionsWrapper": false` in IDE settings.'].join(`
|
|
101
|
+
`.trimStart()),o=u("__VLS_OmitIndexSignature",()=>`type __VLS_OmitIndexSignature<T> = { [K in keyof T as {} extends Record<K, unknown> ? never : K]: T[K]; }${PT.endOfLine}`),l={[i.name]:i,[e.name]:e,[r.name]:r,[n.name]:n,[a.name]:a,[o.name]:o};return t.clear(),{generate:c,get PrettifyLocal(){return i.name},get WithDefaults(){return e.name},get WithSlots(){return r.name},get PropsChildren(){return n.name},get TypePropsToOption(){return a.name},get OmitIndexSignature(){return o.name}};function*c(){for(let p of t)yield l[p].generate();t.clear()}function u(p,h){return{get name(){return t.add(p),p},generate:h}}}});var xT=D(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.createScriptCodegenContext=s2;var t2=NT();function s2(s){let t=(0,t2.getLocalTypesGenerator)(s.vueCompilerOptions);return{generatedTypes:new Set,localTypes:t,inlayHints:[]}}});var vT=D(Wa=>{"use strict";Object.defineProperty(Wa,"__esModule",{value:!0});Wa.replace=i2;Wa.insert=r2;Wa.generateCodeWithTransforms=n2;function i2(s,t,e){return{range:[s,t],generate:e}}function r2(s,t){return{range:[s,s],generate:t}}function*n2(s,t,e,i){let r=e.sort((n,a)=>n.range[0]-a.range[0]);for(let{range:n,generate:a}of r)yield*i(s,n[0]),yield*a(),s=n[1];yield*i(s,t)}});var Nd=D(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});Dc.generateIntersectMerge=a2;Dc.generateSpreadMerge=o2;var OT=_e();function*a2(...s){yield s[0];for(let t=1;t<s.length;t++)yield" & ",yield s[t]}function*o2(...s){if(s.length<=1)yield*s;else{yield`{${OT.newLine}`;for(let t of s)yield"...",yield t,yield`,${OT.newLine}`;yield"}"}}});var wT=D(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.generateComponent=c2;var l2=$e(),ve=nt(),zs=_e(),Rc=Nd();function*c2(s,t,e,i){yield`(await import('${s.vueCompilerOptions.lib}')).defineComponent({${zs.newLine}`,i.defineExpose&&(yield`setup: () => ${ve.names.exposed},${zs.newLine}`);let r=[...u2(s,i)];yield*r,yield*f2(s,t,e,i,!!r.length),s.vueCompilerOptions.target>=3.5&&s.vueCompilerOptions.inferComponentDollarRefs&&s.templateAndStyleTypes.has(ve.names.TemplateRefs)&&(yield`__typeRefs: {} as ${ve.names.TemplateRefs},${zs.newLine}`),s.vueCompilerOptions.target>=3.5&&s.vueCompilerOptions.inferComponentDollarEl&&s.templateAndStyleTypes.has(ve.names.RootEl)&&(yield`__typeEl: {} as ${ve.names.RootEl},${zs.newLine}`),yield"})"}function*u2(s,t){let e=s.vueCompilerOptions.target>=3.5&&!t.defineEmits?.hasUnionTypeArg?[...p2(t)]:[],i=e.length?[]:[...h2(t)];e.length?(yield"__typeEmits: {} as ",yield*(0,Rc.generateIntersectMerge)(...e),yield`,${zs.newLine}`):i.length&&(yield"emits: ",yield*(0,Rc.generateSpreadMerge)(...i),yield`,${zs.newLine}`)}function*p2(s){s.defineModel.length&&(yield ve.names.ModelEmit),s.defineEmits?.typeArg&&(yield ve.names.Emit)}function*h2(s){s.defineModel.length&&(yield`{} as ${ve.names.NormalizeEmits}<typeof ${ve.names.modelEmit}>`),s.defineEmits&&(yield`{} as ${ve.names.NormalizeEmits}<typeof ${s.defineEmits.name??ve.names.emit}>`)}function*f2(s,t,e,i,r){let n=s.vueCompilerOptions.target>=3.5&&!i.defineProps?.arg?[...d2(s,t,r)]:[],a=i.withDefaults||!n.length?[...m2(s,t,e,i,r)]:[];n.length&&(s.vueCompilerOptions.target>=3.6&&i.withDefaults?.arg&&(yield`__defaults: ${ve.names.defaults},${zs.newLine}`),yield"__typeProps: ",yield*(0,Rc.generateSpreadMerge)(...n),yield`,${zs.newLine}`),a.length&&(yield"props: ",yield*(0,Rc.generateSpreadMerge)(...a),yield`,${zs.newLine}`)}function*d2(s,t,e){s.templateAndStyleTypes.has(ve.names.InheritedAttrs)&&(yield`{} as ${e?`Omit<${ve.names.InheritedAttrs}, keyof ${ve.names.EmitProps}>`:ve.names.InheritedAttrs}`),t.generatedTypes.has(ve.names.PublicProps)&&(yield`{} as ${ve.names.PublicProps}`)}function*m2(s,t,e,i,r){if(s.templateAndStyleTypes.has(ve.names.InheritedAttrs)){let n=r?`Omit<${ve.names.InheritedAttrs}, keyof ${ve.names.EmitProps}>`:ve.names.InheritedAttrs;yield`{} as ${`${t.localTypes.TypePropsToOption}<${ve.names.PickNotAny}<${t.localTypes.OmitIndexSignature}<${n}>, {}>>`}`}if(t.generatedTypes.has(ve.names.PublicProps)&&s.vueCompilerOptions.target<3.6){let n=`${t.localTypes.TypePropsToOption}<${ve.names.PublicProps}>`;i.withDefaults?.arg&&(n=`${t.localTypes.WithDefaults}<${n}, typeof ${ve.names.defaults}>`),yield`{} as ${n}`}if(i.defineProps?.arg){let{arg:n}=i.defineProps;yield*(0,zs.generateSfcBlockSection)(e,n.start,n.end,l2.codeFeatures.navigation)}}});var DT=D(Xa=>{"use strict";Object.defineProperty(Xa,"__esModule",{value:!0});Xa.generateScriptSetupImports=y2;Xa.generateGeneric=E2;Xa.generateSetupFunction=S2;var A2=at(),pt=$e(),X=nt(),q=_e(),LT=ft(),g2=vr(),we=vT(),MT=wT();function*y2(s,t){yield[s.content.slice(0,Math.max(t.importSectionEndOffset,t.leadingCommentEndOffset)),"scriptSetup",0,pt.codeFeatures.all]}function*E2(s,t,e,i,r,n){yield"(",typeof r=="object"&&(yield"<",yield[r.text,"main",r.offset,pt.codeFeatures.all],r.text.endsWith(",")||(yield","),yield">"),yield`(${q.newLine} ${X.names.props}: NonNullable<Awaited<typeof ${X.names.setup}>>['props'],${q.newLine} ${X.names.ctx}?: ${t.localTypes.PrettifyLocal}<Pick<NonNullable<Awaited<typeof ${X.names.setup}>>, 'attrs' | 'emit' | 'slots'>>,${q.newLine} ${X.names.exposed}?: NonNullable<Awaited<typeof ${X.names.setup}>>['expose'],${q.newLine} ${X.names.setup} = (async () => {${q.newLine}`,yield*n;let a=[],o=[],{vueCompilerOptions:l}=s;t.generatedTypes.has(X.names.PublicProps)&&a.push(X.names.PublicProps),i.defineProps?.arg&&(yield`const ${X.names.propsOption} = `,yield*(0,q.generateSfcBlockSection)(e,i.defineProps.arg.start,i.defineProps.arg.end,pt.codeFeatures.navigation),yield q.endOfLine,a.push(`import('${l.lib}').${l.target>=3.3?"ExtractPublicPropTypes":"ExtractPropTypes"}<typeof ${X.names.propsOption}>`)),(i.defineEmits||i.defineModel.length)&&a.push(X.names.EmitProps),s.templateAndStyleTypes.has(X.names.InheritedAttrs)&&a.push(X.names.InheritedAttrs),i.defineEmits&&o.push(`typeof ${i.defineEmits.name??X.names.emit}`),i.defineModel.length&&o.push(`typeof ${X.names.modelEmit}`),yield`return {} as {${q.newLine}`,yield" props: ",yield l.target>=3.4?`import('${l.lib}').PublicProps`:l.target>=3?`import('${l.lib}').VNodeProps & import('${l.lib}').AllowedComponentProps & import('${l.lib}').ComponentCustomProps`:"globalThis.JSX.IntrinsicAttributes",a.length&&(yield` & ${t.localTypes.PrettifyLocal}<${a.join(" & ")}>`),yield` & (typeof globalThis extends { __VLS_PROPS_FALLBACK: infer P } ? P : {})${q.endOfLine}`,yield" expose: (exposed: ",yield i.defineExpose?`import('${l.lib}').ShallowUnwrapRef<typeof ${X.names.exposed}>`:"{}",s.vueCompilerOptions.inferComponentDollarRefs&&s.templateAndStyleTypes.has(X.names.TemplateRefs)&&(yield` & { $refs: ${X.names.TemplateRefs}; }`),s.vueCompilerOptions.inferComponentDollarEl&&s.templateAndStyleTypes.has(X.names.RootEl)&&(yield` & { $el: ${X.names.RootEl}; }`),yield`) => void${q.endOfLine}`,yield` attrs: any${q.endOfLine}`,yield` slots: ${Od(s)?X.names.Slots:"{}"}${q.endOfLine}`,yield` emit: ${o.length?o.join(" & "):"{}"}${q.endOfLine}`,yield`}${q.endOfLine}`,yield`})(),${q.newLine}`,yield`) => ({} as import('${l.lib}').VNode & { __ctx?: Awaited<typeof ${X.names.setup}> }))${q.endOfLine}`}function*S2(s,t,e,i,r,n){let a=[];if(i.defineProps){let{name:o,statement:l,callExp:c,typeArg:u}=i.defineProps,p=i.withDefaults?.callExp??c;a.push(...vd(e,l,p,u,o,X.names.props,X.names.Props))}if(i.defineEmits){let{name:o,statement:l,callExp:c,typeArg:u}=i.defineEmits;a.push(...vd(e,l,c,u,o,X.names.emit,X.names.Emit))}if(i.defineSlots){let{name:o,statement:l,callExp:c,typeArg:u}=i.defineSlots;a.push(...vd(e,l,c,u,o,X.names.slots,X.names.Slots))}if(i.defineExpose){let{callExp:o,arg:l,typeArg:c}=i.defineExpose;c?a.push((0,we.insert)(o.start,function*(){yield`let ${X.names.exposed}!: `,yield*(0,q.generateSfcBlockSection)(e,c.start,c.end,pt.codeFeatures.all),yield q.endOfLine}),(0,we.replace)(c.start,c.end,function*(){yield`typeof ${X.names.exposed}`})):l?a.push((0,we.insert)(o.start,function*(){yield`const ${X.names.exposed} = `,yield*(0,q.generateSfcBlockSection)(e,l.start,l.end,pt.codeFeatures.all),yield q.endOfLine}),(0,we.replace)(l.start,l.end,function*(){yield X.names.exposed})):a.push((0,we.insert)(o.start,function*(){yield`const ${X.names.exposed} = {}${q.endOfLine}`}))}if(s.vueCompilerOptions.inferTemplateDollarAttrs)for(let{callExp:o}of i.useAttrs)a.push((0,we.insert)(o.start,function*(){yield"("}),(0,we.insert)(o.end,function*(){yield` as typeof ${X.names.dollars}.$attrs)`}));for(let{callExp:o,exp:l,arg:c}of i.useCssModule){a.push((0,we.insert)(o.start,function*(){yield"("}));let u=s.templateAndStyleTypes.has(X.names.StyleModules)?X.names.StyleModules:"{}";c?a.push((0,we.insert)(o.end,function*(){yield` as Omit<${u}, '$style'>[`,yield*(0,q.generateSfcBlockSection)(e,c.start,c.end,pt.codeFeatures.withoutSemantic),yield"])"}),(0,we.replace)(c.start,c.end,function*(){yield"{} as any"})):a.push((0,we.insert)(o.end,function*(){yield` as ${u}[`;let p=yield*(0,LT.startBoundary)(e.name,l.start,pt.codeFeatures.verification);yield"'$style'",yield(0,LT.endBoundary)(p,l.end),yield"])"}))}if(s.vueCompilerOptions.inferTemplateDollarSlots)for(let{callExp:o}of i.useSlots)a.push((0,we.insert)(o.start,function*(){yield"("}),(0,we.insert)(o.end,function*(){yield` as typeof ${X.names.dollars}.$slots)`}));for(let{callExp:o,arg:l}of i.useTemplateRef)a.push((0,we.insert)(o.start,function*(){yield"("}),(0,we.insert)(o.end,function*(){yield` as Readonly<import('${s.vueCompilerOptions.lib}').ShallowRef<`,l?(yield X.names.TemplateRefs,yield"[",yield*(0,q.generateSfcBlockSection)(e,l.start,l.end,pt.codeFeatures.withoutSemantic),yield"]"):yield"unknown",yield" | null>>)"})),l&&a.push((0,we.replace)(l.start,l.end,function*(){yield"{} as any"}));yield*(0,we.generateCodeWithTransforms)(Math.max(i.importSectionEndOffset,i.leadingCommentEndOffset),e.content.length,a,(o,l)=>(0,q.generateSfcBlockSection)(e,o,l,pt.codeFeatures.all)),yield*b2(s),yield*C2(e,i),yield*T2(s,t,e,i),yield*r,n&&(Od(s)?(yield`const ${X.names.base} = `,yield*(0,MT.generateComponent)(s,t,e,i),yield q.endOfLine,yield*n,yield`{} as ${t.localTypes.WithSlots}<typeof ${X.names.base}, ${X.names.Slots}>${q.endOfLine}`):(yield*n,yield*(0,MT.generateComponent)(s,t,e,i),yield q.endOfLine))}function*b2(s){if(s.vueCompilerOptions.target>=3.3){yield`// @ts-ignore${q.newLine}`,yield"declare const { ";for(let t of Object.keys(s.vueCompilerOptions.macros))s.exposed.has(t)||(yield`${t}, `);yield`}: typeof import('${s.vueCompilerOptions.lib}')${q.endOfLine}`}}function*vd(s,t,e,i,r,n,a){i&&(yield(0,we.insert)(t.start,function*(){yield`type ${a} = `,yield*(0,q.generateSfcBlockSection)(s,i.start,i.end,pt.codeFeatures.all),yield q.endOfLine}),yield(0,we.replace)(i.start,i.end,function*(){yield a})),r?q.identifierRegex.test(r)||(yield(0,we.replace)(t.start,e.start,function*(){yield`const ${n} = `}),yield(0,we.insert)(t.end,function*(){yield q.endOfLine,yield*(0,q.generateSfcBlockSection)(s,t.start,e.start,pt.codeFeatures.all),yield n})):t.start===e.start&&t.end===e.end?yield(0,we.insert)(e.start,function*(){yield`const ${n} = `}):i?(yield(0,we.replace)(t.start,i.start,function*(){yield`const ${n} = `,yield*(0,q.generateSfcBlockSection)(s,e.start,i.start,pt.codeFeatures.all)}),yield(0,we.replace)(i.end,e.end,function*(){yield*(0,q.generateSfcBlockSection)(s,i.end,e.end,pt.codeFeatures.all),yield q.endOfLine,yield*(0,q.generateSfcBlockSection)(s,t.start,e.start,pt.codeFeatures.all),yield n})):yield(0,we.replace)(t.start,e.end,function*(){yield`const ${n} = `,yield*(0,q.generateSfcBlockSection)(s,e.start,e.end,pt.codeFeatures.all),yield q.endOfLine,yield*(0,q.generateSfcBlockSection)(s,t.start,e.start,pt.codeFeatures.all),yield n})}function*T2(s,t,e,i){i.defineProps?.typeArg&&i.withDefaults?.arg&&(yield`const ${X.names.defaults} = `,yield*(0,q.generateSfcBlockSection)(e,i.withDefaults.arg.start,i.withDefaults.arg.end,pt.codeFeatures.navigation),yield q.endOfLine);let r=[];s.vueCompilerOptions.jsxSlots&&Od(s)&&r.push(`${t.localTypes.PropsChildren}<${X.names.Slots}>`),i.defineProps?.typeArg&&r.push(X.names.Props),i.defineModel.length&&r.push(X.names.ModelProps),r.length&&(yield`type ${X.names.PublicProps} = ${r.join(" & ")}${q.endOfLine}`,t.generatedTypes.add(X.names.PublicProps))}function Od(s){return!!(s.scriptSetupRanges?.defineSlots||s.templateAndStyleTypes.has(X.names.Slots))}function*C2(s,t){if(!t.defineModel.length)return;let e=[],i=[],r=[];for(let n of t.defineModel){let a=n.name?(0,A2.camelize)(kn(s,n.name).slice(1,-1)):"modelValue",o;n.type?o=kn(s,n.type):n.runtimeType&&n.localName?o=`typeof ${kn(s,n.localName)}['value']`:n.defaultValue&&a?o=`typeof ${X.names.defaultModels}['${a}']`:o="any",n.defaultValue&&e.push(`'${a}': ${kn(s,n.defaultValue)},${q.newLine}`),i.push(I2(s,n,a,o)),r.push(_2(n,a,o))}e.length&&(yield`const ${X.names.defaultModels} = {${q.newLine}`,yield*e,yield`}${q.endOfLine}`),yield`type ${X.names.ModelProps} = {${q.newLine}`;for(let n of i)yield*n;yield`}${q.endOfLine}`,yield`type ${X.names.ModelEmit} = {${q.newLine}`;for(let n of r)yield*n;yield`}${q.endOfLine}`,yield`let ${X.names.modelEmit}!: ${X.names.ShortEmits}<${X.names.ModelEmit}>${q.endOfLine}`}function*I2(s,t,e,i){if(t.comments&&(yield s.content.slice(t.comments.start,t.comments.end),yield q.newLine),t.name?yield*(0,g2.generateCamelized)(kn(s,t.name),s.name,t.name.start,pt.codeFeatures.navigation):yield e,yield t.required?": ":"?: ",yield i,yield q.endOfLine,t.modifierType){let r=`${e==="modelValue"?"model":e}Modifiers`,n=kn(s,t.modifierType);yield`'${r}'?: Partial<Record<${n}, true>>${q.endOfLine}`}}function*_2(s,t,e){yield`'update:${t}': [value: `,yield e,!s.required&&!s.defaultValue&&(yield" | undefined"),yield`]${q.endOfLine}`}function kn(s,t){return s.content.slice(t.start,t.end)}});var kT=D(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.generateTemplate=N2;var RT=$e(),he=nt(),Bt=_e(),P2=Nd();function*N2(s,t,e){yield*w2(s,t),yield*x2(s,t,e),yield*v2(s,t),yield*O2(s,t),s.templateAndStyleCodes.length&&(yield*s.templateAndStyleCodes)}function*x2({vueCompilerOptions:s,templateAndStyleTypes:t,scriptSetupRanges:e,fileName:i},r,n){let a=[],o=[],l=[];s.petiteVueExtensions.some(c=>i.endsWith(c))&&a.push("globalThis"),n?a.push(`{} as InstanceType<${he.names.PickNotAny}<typeof ${n}, new () => {}>>`):a.push(`{} as import('${s.lib}').ComponentPublicInstance`),t.has(he.names.StyleModules)&&a.push(`{} as ${he.names.StyleModules}`),e?.defineEmits&&o.push(`typeof ${e.defineEmits.name??he.names.emit}`),e?.defineModel.length&&o.push(`typeof ${he.names.modelEmit}`),o.length&&(yield`type ${he.names.EmitProps} = ${he.names.EmitsToProps}<${he.names.NormalizeEmits}<${o.join(" & ")}>>${Bt.endOfLine}`,a.push(`{} as { $emit: ${o.join(" & ")} }`)),e?.defineProps&&l.push(`typeof ${e.defineProps.name??he.names.props}`),e?.defineModel.length&&l.push(he.names.ModelProps),o.length&&l.push(he.names.EmitProps),l.length&&(a.push(`{} as { $props: ${l.join(" & ")} }`),a.push(`{} as ${l.join(" & ")}`)),r.generatedTypes.has(he.names.SetupExposed)&&a.push(`{} as ${he.names.SetupExposed}`),yield`const ${he.names.ctx} = `,yield*(0,P2.generateSpreadMerge)(...a),yield Bt.endOfLine}function*v2({vueCompilerOptions:s,script:t,scriptRanges:e},i){let r=[];if(i.generatedTypes.has(he.names.SetupExposed)&&r.push(he.names.SetupExposed),t&&e?.exportDefault?.options?.components){let{components:n}=e.exportDefault.options;yield`const ${he.names.componentsOption} = `,yield*(0,Bt.generateSfcBlockSection)(t,n.start,n.end,RT.codeFeatures.navigation),yield Bt.endOfLine,r.push(`typeof ${he.names.componentsOption}`)}yield`type ${he.names.LocalComponents} = ${r.length?r.join(" & "):"{}"}${Bt.endOfLine}`,yield`type ${he.names.GlobalComponents} = ${s.target>=3.5?`import('${s.lib}').GlobalComponents`:`import('${s.lib}').GlobalComponents & Pick<typeof import('${s.lib}'), 'Transition' | 'TransitionGroup' | 'KeepAlive' | 'Suspense' | 'Teleport'>`}${Bt.endOfLine}`,yield`let ${he.names.components}!: ${he.names.LocalComponents} & ${he.names.GlobalComponents}${Bt.endOfLine}`,yield`let ${he.names.intrinsics}!: ${s.target>=3.3?`import('${s.lib}/jsx-runtime').JSX.IntrinsicElements`:"globalThis.JSX.IntrinsicElements"}${Bt.endOfLine}`}function*O2({vueCompilerOptions:s,script:t,scriptRanges:e},i){let r=[];if(i.generatedTypes.has(he.names.SetupExposed)&&r.push(he.names.SetupExposed),t&&e?.exportDefault?.options?.directives){let{directives:n}=e.exportDefault.options;yield`const ${he.names.directivesOption} = `,yield*(0,Bt.generateSfcBlockSection)(t,n.start,n.end,RT.codeFeatures.navigation),yield Bt.endOfLine,r.push(`${he.names.ResolveDirectives}<typeof ${he.names.directivesOption}>`)}yield`type ${he.names.LocalDirectives} = ${r.length?r.join(" & "):"{}"}${Bt.endOfLine}`,yield`let ${he.names.directives}!: ${he.names.LocalDirectives} & import('${s.lib}').GlobalDirectives${Bt.endOfLine}`}function*w2({vueCompilerOptions:s,exposed:t},e){if(t.size){e.generatedTypes.add(he.names.SetupExposed),yield`type ${he.names.SetupExposed} = import('${s.lib}').ShallowUnwrapRef<{${Bt.newLine}`;for(let i of t){let r=Symbol(i.length);yield["",void 0,0,{__linkedToken:r}],yield`${i}: typeof `,yield["",void 0,0,{__linkedToken:r}],yield i,yield Bt.endOfLine}yield`}>${Bt.endOfLine}`}}});var FT=D(_i=>{"use strict";var L2=_i&&_i.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),M2=_i&&_i.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),D2=_i&&_i.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&L2(e,t,i[r]);return M2(e,t),e}})();Object.defineProperty(_i,"__esModule",{value:!0});_i.generateScript=k2;var Ld=D2(dc()),Zs=$e(),ys=nt(),rt=_e(),Bc=ft(),R2=xT(),Qi=DT(),Ur=kT(),kc=`{} as typeof ${ys.names.export}`;function k2(s){let t=(0,R2.createScriptCodegenContext)(s),e=B2(s,t);return{...t,codes:[...e]}}function*B2(s,t){let{script:e,scriptRanges:i,scriptSetup:r,scriptSetupRanges:n,vueCompilerOptions:a,fileName:o}=s;if(yield*F2(a,o),typeof e?.src=="object"){let l=e.src.text;l.endsWith(".ts")&&!l.endsWith(".d.ts")?l=l.slice(0,-3)+".js":l.endsWith(".tsx")&&(l=l.slice(0,-4)+".jsx"),yield`import ${ys.names.src} from `;let c=yield*(0,Bc.startBoundary)("main",e.src.offset,{...Zs.codeFeatures.all,...l!==e.src.text?Zs.codeFeatures.navigationWithoutRename:{}});yield"'",yield[l.slice(0,e.src.text.length),"main",e.src.offset,{__combineToken:c}],yield l.slice(e.src.text.length),yield"'",yield(0,Bc.endBoundary)(c,e.src.offset+e.src.text.length),yield rt.endOfLine,yield`export default ${ys.names.src}${rt.endOfLine}`,yield*(0,Ur.generateTemplate)(s,t,ys.names.src)}else if(e&&i&&r&&n){yield*(0,Qi.generateScriptSetupImports)(r,n);let l,{exportDefault:c}=i;c?yield*BT(t,e,i,c,a,l=ys.names.self):(yield*(0,rt.generateSfcBlockSection)(e,0,e.content.length,Zs.codeFeatures.all),yield`export default ${kc}${rt.endOfLine}`),yield*qa(r,ys.names.export),r.generic?yield*(0,Qi.generateGeneric)(s,t,r,n,r.generic,(0,Qi.generateSetupFunction)(s,t,r,n,(0,Ur.generateTemplate)(s,t,l))):(yield`await (async () => {${rt.newLine}`,yield*(0,Qi.generateSetupFunction)(s,t,r,n,(0,Ur.generateTemplate)(s,t,l),["return "]),yield`})()${rt.endOfLine}`)}else if(r&&n)yield*(0,Qi.generateScriptSetupImports)(r,n),r.generic?(yield*qa(r,ys.names.export),yield*(0,Qi.generateGeneric)(s,t,r,n,r.generic,(0,Qi.generateSetupFunction)(s,t,r,n,(0,Ur.generateTemplate)(s,t)))):yield*(0,Qi.generateSetupFunction)(s,t,r,n,(0,Ur.generateTemplate)(s,t),qa(r,ys.names.export)),yield`export default ${kc}${rt.endOfLine}`;else if(e&&i){let{exportDefault:l}=i;l?yield*BT(t,e,i,l,a,ys.names.export,(0,Ur.generateTemplate)(s,t,ys.names.export)):(yield*(0,rt.generateSfcBlockSection)(e,0,e.content.length,Zs.codeFeatures.all),yield*qa(e,ys.names.export),yield`(await import('${a.lib}')).defineComponent({})${rt.endOfLine}`,yield*(0,Ur.generateTemplate)(s,t,ys.names.export),yield`export default ${kc}${rt.endOfLine}`)}yield*t.localTypes.generate()}function*BT(s,t,e,i,r,n,a){let o=e.exportDefault?.options,{expression:l,isObjectLiteral:c}=o??i,u,p;c&&r.optionsWrapper.length&&([u,p]=r.optionsWrapper,s.inlayHints.push({blockName:t.name,offset:l.start,setting:"vue.inlayHints.optionsWrapper",label:u||"[Missing optionsWrapper[0]]",tooltip:["This is virtual code that is automatically wrapped for type support, it does not affect your runtime behavior, you can customize it via `vueCompilerOptions.optionsWrapper` option in tsconfig / jsconfig.",'To hide it, you can set `"vue.inlayHints.optionsWrapper": false` in IDE settings.'].join(`
|
|
102
102
|
|
|
103
|
-
`)},{blockName:t.name,offset:l.end,setting:"vue.inlayHints.optionsWrapper",label:h||"[Missing optionsWrapper[1]]"})),yield*(0,rt.generateSfcBlockSection)(t,0,l.start,Zs.codeFeatures.all),yield kc,yield*(0,rt.generateSfcBlockSection)(t,l.end,i.end,Zs.codeFeatures.all),yield rt.endOfLine,a&&(yield*a),yield*qa(t,n),u&&h?(yield u,yield*(0,rt.generateSfcBlockSection)(t,l.start,l.end,Zs.codeFeatures.all),yield h):yield*(0,rt.generateSfcBlockSection)(t,l.start,l.end,Zs.codeFeatures.all),yield rt.endOfLine,yield*(0,rt.generateSfcBlockSection)(t,i.end,t.content.length,Zs.codeFeatures.all)}function*B2({typesRoot:s,lib:t,target:e,checkUnknownProps:i},r){let n;if(Ld.isAbsolute(s)){let a=Ld.relative(Ld.dirname(r),s);a!==s&&!a.startsWith("./")&&!a.startsWith("../")&&(a="./"+a),n=a}else n=s;yield`/// <reference types=${JSON.stringify(n+"/template-helpers.d.ts")} />${rt.newLine}`,i||(yield`/// <reference types=${JSON.stringify(n+"/props-fallback.d.ts")} />${rt.newLine}`),t==="vue"&&e<3.5&&(yield`/// <reference types=${JSON.stringify(n+"/vue-3.4-shims.d.ts")} />${rt.newLine}`)}function*qa(s,t){yield"const ";let e=yield*(0,Bc.startBoundary)(s.name,0,Zs.codeFeatures.doNotReportTs6133);yield t,yield(0,Bc.endBoundary)(e,s.content.length),yield" = "}});var Dd=D(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});Vc.generateClassProperty=V2;Vc.generateStyleImports=U2;var F2=$e(),Md=_e(),Fc=ft();function*V2(s,t,e,i){yield`${Md.newLine} & { `;let r=yield*(0,Fc.startBoundary)(s,e,F2.codeFeatures.navigation);yield"'",yield[t.slice(1),s,e+1,{__combineToken:r}],yield"'",yield(0,Fc.endBoundary)(r,e+t.length),yield`: ${i}`,yield" }"}function*U2(s){let t={navigation:!0,verification:!0};if(typeof s.src=="object"){yield`${Md.newLine} & typeof import(`;let e=yield*(0,Fc.startBoundary)("main",s.src.offset,t);yield"'",yield[s.src.text,"main",s.src.offset,{__combineToken:e}],yield"'",yield(0,Fc.endBoundary)(e,s.src.offset+s.src.text.length),yield").default"}for(let{text:e,offset:i}of s.imports)yield`${Md.newLine} & typeof import('`,yield[e,s.name,i,t],yield"').default"}});var UT=D(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.generateStyleModules=j2;var $2=$e(),Rd=nt(),kd=_e(),VT=Dd();function*j2({styles:s,vueCompilerOptions:t},e){let i=s.filter(r=>r.module);if(i.length){e.generatedTypes.add(Rd.names.StyleModules),yield`type ${Rd.names.StyleModules} = {${kd.newLine}`;for(let r of i){if(r.module===!0)yield"$style";else{let{text:n,offset:a}=r.module;yield[n,"main",a,$2.codeFeatures.navigation]}yield": ",t.strictCssModules||(yield"Record<string, string> & "),yield`${Rd.names.PrettifyGlobal}<{}`,t.resolveStyleImports&&(yield*(0,VT.generateStyleImports)(r));for(let n of r.classNames)yield*(0,VT.generateClassProperty)(r.name,n.text,n.offset,"string");yield`>${kd.endOfLine}`}yield`}${kd.endOfLine}`}}});var jT=D(Fd=>{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.generateStyleScopedClasses=W2;var H2=nt(),K2=Df(),G2=_e(),$T=Dd();function*W2({vueCompilerOptions:s,styles:t}){let{resolveStyleClassNames:e,resolveStyleImports:i}=s;if(!e)return;let r=t.filter(o=>e===!0||o.scoped);if(!r.length)return;let n=new Set,a=[];yield`type ${H2.names.StyleScopedClasses} = {}`;for(let o of r){i&&(yield*(0,$T.generateStyleImports)(o));for(let l of o.classNames)n.has(l.text)?a.push((0,K2.generateStyleScopedClassReference)(o,l.text.slice(1),l.offset+1)):(n.add(l.text),yield*(0,$T.generateClassProperty)(o.name,l.text,l.offset,"boolean"))}yield G2.endOfLine;for(let o of a)yield*o}});var HT=D(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.generateStyle=Z2;var X2=$e(),q2=UT(),Q2=jT(),J2=Yp(),Y2=as(),z2=_e();function Z2(s){let t=(0,J2.createTemplateCodegenContext)(),e=ek(s,t),i=[];for(let r of e)typeof r=="object"&&(r[3]=t.resolveCodeFeatures(r[3])),i.push(r);return{...t,codes:i}}function*ek(s,t){let e=t.startScope();t.declare(...s.setupConsts),yield*(0,Q2.generateStyleScopedClasses)(s),yield*(0,q2.generateStyleModules)(s,t),yield*tk(s,t),yield*e()}function*tk(s,t){for(let e of s.styles)for(let i of e.bindings)yield*(0,Y2.generateInterpolation)(s,t,e,X2.codeFeatures.all,i.text,i.offset,"(",")"),yield z2.endOfLine}});var Ud=D(Uc=>{"use strict";Object.defineProperty(Uc,"__esModule",{value:!0});Uc.parseBindingRanges=ik;Uc.getClosestMultiLineCommentRange=rk;var sk=Or(),KT=Ut();function ik(s,t,e){let i=[],r=[];return s.forEachChild(t,o=>{if(s.isVariableStatement(o))for(let l of o.declarationList.declarations){let c=(0,sk.collectBindingRanges)(s,l.name,t);i.push(...c)}else s.isFunctionDeclaration(o)?o.name&&s.isIdentifier(o.name)&&i.push(n(o.name)):s.isClassDeclaration(o)?o.name&&i.push(n(o.name)):s.isEnumDeclaration(o)&&i.push(n(o.name));if(s.isImportDeclaration(o)){let l=a(o.moduleSpecifier).slice(1,-1);if(o.importClause&&!o.importClause.isTypeOnly){let{name:c,namedBindings:u}=o.importClause;if(c&&(e.some(h=>l.endsWith(h))?r.push(n(c)):i.push(n(c))),u)if(s.isNamedImports(u))for(let h of u.elements)h.isTypeOnly||(h.propertyName&&a(h.propertyName)==="default"&&e.some(p=>l.endsWith(p))?r.push(n(h.name)):i.push(n(h.name)));else i.push(n(u.name))}}}),{bindings:i,components:r};function n(o){return(0,KT.getStartEnd)(s,o,t)}function a(o){return(0,KT.getNodeText)(s,o,t)}}function rk(s,t,e,i){for(let n=e.length-1;n>=0&&!s.isStatement(t);n--)t=e[n];let r=s.getLeadingCommentRanges(i.text,t.pos)?.reverse().find(n=>n.kind===3);if(r)return{node:t,start:r.pos,end:r.end}}});var $d=D(jc=>{"use strict";Object.defineProperty(jc,"__esModule",{value:!0});jc.parseScriptRanges=nk;jc.parseOptionsFromExtression=WT;var $c=Ut(),GT=Ud();function nk(s,t,e){let i,{bindings:r,components:n}=(0,GT.parseBindingRanges)(s,t,e.extensions);return s.forEachChild(t,a=>{if(s.isExportAssignment(a)){i={...(0,$c.getStartEnd)(s,a,t),expression:(0,$c.getStartEnd)(s,a.expression,t),isObjectLiteral:s.isObjectLiteralExpression(a.expression),options:WT(s,a.expression,t)};let o=(0,GT.getClosestMultiLineCommentRange)(s,a,[],t);o&&(i.start=o.start)}}),{exportDefault:i,bindings:r,components:n}}function WT(s,t,e){let i;for(;ak(s,t)||s.isParenthesizedExpression(t);)t=t.expression;if(s.isObjectLiteralExpression(t))i=t;else if(s.isCallExpression(t)&&t.arguments.length){let a=t.arguments[0];s.isObjectLiteralExpression(a)&&(i=a)}if(i){let a,o,l,c;return s.forEachChild(i,u=>{if(s.isPropertyAssignment(u)&&s.isIdentifier(u.name)){let h=n(u.name);h==="components"&&s.isObjectLiteralExpression(u.initializer)?a=u.initializer:h==="directives"&&s.isObjectLiteralExpression(u.initializer)?o=u.initializer:h==="name"&&s.isStringLiteral(u.initializer)?l=u.initializer:h==="inheritAttrs"&&(c=n(u.initializer))}}),{isObjectLiteral:s.isObjectLiteralExpression(t),expression:r(t),args:r(i),argsNode:i,components:a?r(a):void 0,componentsNode:a,directives:o?r(o):void 0,name:l?r(l):void 0,nameNode:l,inheritAttrs:c}}function r(a){return(0,$c.getStartEnd)(s,a,e)}function n(a){return(0,$c.getNodeText)(s,a,e)}}function ak(s,t){return t.kind===s.SyntaxKind.AsExpression}});var Kd=D(Hd=>{"use strict";Object.defineProperty(Hd,"__esModule",{value:!0});Hd.parseScriptSetupRanges=ck;var ok=Or(),Qa=Ut(),XT=Ud(),lk=/^\/\/\s*@ts-(?:no)?check(?:$|\s)/;function ck(s,t,e){let i=[],r,n,a,o,l,c,u=[],h=[],p=[],f=[],m=t.text,A=(s.getLeadingCommentRanges(m,0)?.reverse()??[]).find(g=>lk.test(m.slice(g.pos,g.end)))?.end??0,{bindings:y,components:E}=(0,XT.parseBindingRanges)(s,t,e.extensions),x=!1,N=0;s.forEachChild(t,g=>{if(x||s.isImportDeclaration(g)||s.isExportDeclaration(g)||s.isEmptyStatement(g)||s.isImportEqualsDeclaration(g)||(s.isTypeAliasDeclaration(g)||s.isInterfaceDeclaration(g))&&g.modifiers?.some(L=>L.kind===s.SyntaxKind.ExportKeyword))return;let P=s.getLeadingCommentRanges(m,g.pos);P?.length?N=P.sort((C,b)=>C.pos-b.pos)[0].pos:N=(0,Qa.getStartEnd)(s,g,t).start,x=!0}),s.forEachChild(t,g=>M(g,[t]));let w=new Set(f.map(g=>g.name));return y=y.filter(g=>{let P=m.slice(g.start,g.end);return!w.has(P)}),{leadingCommentEndOffset:A,importSectionEndOffset:N,bindings:y,components:E,defineModel:i,defineProps:r,withDefaults:n,defineEmits:a,defineSlots:o,defineExpose:l,defineOptions:c,useAttrs:u,useCssModule:h,useSlots:p,useTemplateRef:f};function M(g,P){let L=P[P.length-1];if(s.isCallExpression(g)&&s.isIdentifier(g.expression)){let C=T(g.expression);if(e.macros.defineModel.includes(C)){let b,J,H,fe,Se,ae,Re,pt=!1;if(s.isVariableDeclaration(L)&&s.isIdentifier(L.name)&&(b=_(L.name)),g.typeArguments&&(g.typeArguments.length>=1&&(fe=_(g.typeArguments[0])),g.typeArguments.length>=2&&(Se=_(g.typeArguments[1]))),g.arguments.length>=2?(J=g.arguments[0],H=g.arguments[1]):g.arguments.length>=1&&(s.isStringLiteralLike(g.arguments[0])?J=g.arguments[0]:H=g.arguments[0]),H&&s.isObjectLiteralExpression(H))for(let ot of H.properties){if(!s.isPropertyAssignment(ot)||!s.isIdentifier(ot.name))continue;let Y=T(ot.name);Y==="type"?ae=_(ot.initializer):Y==="default"?Re=_(ot.initializer):Y==="required"&&ot.initializer.kind===s.SyntaxKind.TrueKeyword&&(pt=!0)}let Wt;J&&s.isStringLiteralLike(J)&&(Wt=_(J)),i.push({localName:b,name:Wt,type:fe,modifierType:Se,runtimeType:ae,defaultValue:Re,required:pt,comments:(0,XT.getClosestMultiLineCommentRange)(s,g,P,t),arg:_(g)})}else if(e.macros.defineProps.includes(C)){if(r={...I(g,L),statement:jd(s,P,g,t)},s.isVariableDeclaration(L)&&s.isObjectBindingPattern(L.name)){r.destructured=new Map;let b=(0,ok.collectBindingIdentifiers)(s,L.name);for(let{id:J,isRest:H,initializer:fe}of b){let Se=T(J);H?r.destructuredRest=Se:r.destructured.set(Se,fe)}}else if(s.isCallExpression(L)&&e.macros.withDefaults.includes(T(L.expression))){let b=P.at(-2);b&&s.isVariableDeclaration(b)&&(r.name=T(b.name))}}else if(e.macros.withDefaults.includes(C)){let[,b]=g.arguments;n={callExp:_(g),exp:_(g.expression),arg:b?_(b):void 0}}else if(e.macros.defineEmits.includes(C)){if(a={...I(g,L),statement:jd(s,P,g,t)},g.typeArguments?.length&&s.isTypeLiteralNode(g.typeArguments[0])){for(let b of g.typeArguments[0].members)if(s.isCallSignatureDeclaration(b)){let J=b.parameters[0]?.type;if(J&&s.isUnionTypeNode(J)){a.hasUnionTypeArg=!0;break}}}}else if(e.macros.defineSlots.includes(C))o={...I(g,L),statement:jd(s,P,g,t)};else if(e.macros.defineExpose.includes(C))l=R(g);else if(e.macros.defineOptions.includes(C)&&g.arguments.length&&s.isObjectLiteralExpression(g.arguments[0])){c={};let b=g.arguments[0];for(let J of b.properties)if(s.isPropertyAssignment(J)&&s.isIdentifier(J.name)){let H=T(J.name);H==="inheritAttrs"?c.inheritAttrs=T(J.initializer):H==="name"&&s.isStringLiteral(J.initializer)&&(c.name=J.initializer.text)}}else e.composables.useAttrs.includes(C)?u.push(R(g)):e.composables.useCssModule.includes(C)?h.push(R(g)):e.composables.useSlots.includes(C)?p.push(R(g)):e.composables.useTemplateRef.includes(C)&&!g.typeArguments?.length&&f.push(I(g,L))}s.forEachChild(g,C=>{s.isFunctionLike(g)||(P.push(g),M(C,P),P.pop())})}function R(g){return{callExp:_(g),exp:_(g.expression),arg:g.arguments.length?_(g.arguments[0]):void 0,typeArg:g.typeArguments?.length?_(g.typeArguments[0]):void 0}}function I(g,P){return{name:s.isVariableDeclaration(P)&&s.isIdentifier(P.name)?T(P.name):void 0,...R(g)}}function _(g){return(0,Qa.getStartEnd)(s,g,t)}function T(g){return(0,Qa.getNodeText)(s,g,t)}}function jd(s,t,e,i){let r;for(let n=t.length-1;n>=0;n--){let a=t[n];if(s.isStatement(a)){s.forEachChild(a,o=>{let l=(0,Qa.getStartEnd)(s,o,i);r??=l,r.end=l.end});break}}return r||(r=(0,Qa.getStartEnd)(s,e,i)),r}});var qT=D(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.parseVueCompilerOptions=hk;var uk=/^\s*@(?<key>.+?)\s+(?<value>.+?)\s*$/m;function hk(s){let t=s.map(e=>{try{let i=e.match(uk);if(i){let{key:r,value:n}=i.groups??{};return[r,JSON.parse(n)]}}catch{}}).filter(e=>!!e);if(t.length)return Object.fromEntries(t)}});var Wd=D(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});Ja.reactiveArray=pk;Ja.computedSet=fk;Ja.computedArray=dk;var Ji=Rn();function pk(s,t){let e=(0,Ji.computed)(s),i=(0,Ji.computed)(()=>e().length),r=(0,Ji.computed)(()=>{let a=i(),o=new Array(a);for(let l=0;l<a;l++)o.push(String(l));return o}),n=(0,Ji.computed)(a=>{for(a??=[];a.length<i();){let o=a.length,l=(0,Ji.computed)(()=>e()[o]);a.push((0,Ji.computed)(t(l,o)))}return a.length>i()&&(a.length=i()),a});return new Proxy({},{get(a,o,l){return o==="length"?i():typeof o=="string"&&!isNaN(Number(o))?n()[Number(o)]?.():Reflect.get(n(),o,l)},has(a,o){return Reflect.has(n(),o)},ownKeys(){return r()}})}function fk(s){return(0,Ji.computed)(t=>{let e=s();return t?.size===e.size&&[...t].every(i=>e.has(i))?t:e})}function dk(s,t=(e,i)=>e===i){return(0,Ji.computed)(e=>{e??=[];let i=s();return e.length===i.length&&e.every((r,n)=>t(r,i[n]))?e:i})}});var qd=D(us=>{"use strict";var mk=us&&us.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),Ak=us&&us.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),gk=us&&us.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&mk(e,t,i[r]);return Ak(e,t),e}})();Object.defineProperty(us,"__esModule",{value:!0});us.tsCodegen=void 0;var Ya=at(),ws=Rn(),QT=gk(dc()),yk=FT(),Ek=HT(),Sk=Xf(),bk=Qf(),Tk=$d(),Ck=Kd(),Ik=qT(),Hc=Wd();us.tsCodegen=new WeakMap;var Xd=new Set(["js","jsx","ts","tsx"]),_k=({modules:{typescript:s},vueCompilerOptions:t})=>{return{version:2.2,getEmbeddedCodes(i,r){let n=e(r);return[{lang:n,id:"script_"+n}]},resolveEmbeddedCode(i,r,n){if(/script_(js|jsx|ts|tsx)/.test(n.id)){let a=us.tsCodegen.get(r);a||us.tsCodegen.set(r,a=Pk(s,t,i,r));let o=a.getGeneratedScript();n.content=[...o.codes]}}};function e(i){let r=i.scriptSetup?.lang??i.script?.lang;return i.script&&i.scriptSetup&&(i.scriptSetup.lang!=="js"?r=i.scriptSetup.lang:r=i.script.lang),r&&Xd.has(r)?r:"ts"}};us.default=_k;function Pk(s,t,e,i){let r=(0,ws.computed)(()=>{let x=(0,Ik.parseVueCompilerOptions)(i.comments);if(x){let N=new bk.CompilerOptionsResolver(s,()=>{});return N.addConfig(x,QT.dirname(e)),N.build(t)}return t}),n=(0,ws.computed)(()=>i.script&&Xd.has(i.script.lang)?(0,Tk.parseScriptRanges)(s,i.script.ast,r()):void 0),a=(0,ws.computed)(()=>i.scriptSetup&&Xd.has(i.scriptSetup.lang)?(0,Ck.parseScriptSetupRanges)(s,i.scriptSetup.ast,r()):void 0),o=(0,Hc.computedSet)(()=>{let x=new Set,N=a();if(i.scriptSetup&&N){for(let M of N.components)x.add(i.scriptSetup.content.slice(M.start,M.end));let w=n();if(i.script&&w)for(let M of w.components)x.add(i.script.content.slice(M.start,M.end))}return x}),l=(0,Hc.computedSet)(()=>{let x=a(),N=new Set([...x?.defineProps?.destructured?.keys()??[],...o()]),w=x?.defineProps?.destructuredRest;return w&&N.add(w),N}),c=(0,Hc.computedSet)(()=>new Set(a()?.useTemplateRef.map(({name:x})=>x).filter(x=>x!==void 0))),u=(0,ws.computed)(()=>!!a()?.defineSlots),h=(0,ws.computed)(()=>a()?.defineProps?.name),p=(0,ws.computed)(()=>a()?.defineSlots?.name),f=(0,ws.computed)(()=>(a()?.defineOptions?.inheritAttrs??n()?.exportDefault?.options?.inheritAttrs)!=="false"),m=(0,ws.computed)(()=>{let x,N=n()?.exportDefault?.options;if(i.script&&N?.name)x=i.script.content.slice(N.name.start+1,N.name.end-1);else{let{defineOptions:w}=a()??{};if(i.scriptSetup&&w?.name)x=w.name;else{let M=QT.basename(e);x=M.slice(0,M.lastIndexOf("."))}}return(0,Ya.capitalize)((0,Ya.camelize)(x))}),d=(0,ws.computed)(()=>{if(!(r().skipTemplateCodegen||!i.template))return(0,Sk.generateTemplate)({typescript:s,vueCompilerOptions:r(),template:i.template,componentName:m(),setupConsts:l(),setupRefs:c(),hasDefineSlots:u(),propsAssignName:h(),slotsAssignName:p(),inheritAttrs:f()})}),A=(0,ws.computed)(()=>{if(i.styles.length)return(0,Ek.generateStyle)({typescript:s,vueCompilerOptions:r(),styles:i.styles,setupConsts:l(),setupRefs:c()})}),y=(0,Hc.computedSet)(()=>{let x=new Set,N=a();if(!i.scriptSetup||!N)return x;for(let M of N.bindings){let R=i.scriptSetup.content.slice(M.start,M.end);x.add(R)}let w=n();if(i.script&&w)for(let M of w.bindings){let R=i.script.content.slice(M.start,M.end);x.add(R)}return x.size?new Set([...d()?.componentAccessMap.keys()??[],...A()?.componentAccessMap.keys()??[],...i.template?.ast?.components.flatMap(M=>[(0,Ya.camelize)(M),(0,Ya.capitalize)((0,Ya.camelize)(M))])??[]].filter(M=>x.has(M))):x}),E=(0,ws.computed)(()=>(0,yk.generateScript)({vueCompilerOptions:r(),fileName:e,script:i.script,scriptSetup:i.scriptSetup,exposed:y(),scriptRanges:n(),scriptSetupRanges:a(),templateAndStyleTypes:new Set([...d()?.generatedTypes??[],...A()?.generatedTypes??[]]),templateAndStyleCodes:[...A()?.codes??[],...d()?.codes??[]]}));return{getScriptRanges:n,getScriptSetupRanges:a,getGeneratedScript:E,getGeneratedTemplate:d,getImportedComponents:o,getSetupExposed:y}}});var Qd=D(Kc=>{"use strict";Object.defineProperty(Kc,"__esModule",{value:!0});Kc.validVersions=void 0;Kc.validVersions=[2,2.1,2.2]});var Gc=D(ei=>{"use strict";var Nk=ei&&ei.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),xk=ei&&ei.__exportStar||function(s,t){for(var e in s)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&Nk(t,s,e)},Kt=ei&&ei.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(ei,"__esModule",{value:!0});ei.createPlugins=Hk;var vk=Kt(Wb()),Ok=Kt(Xb()),wk=Kt(qb()),Lk=Kt(Qb()),Mk=Kt(Jb()),Dk=Kt(Yb()),Rk=Kt(zb()),kk=Kt(eT()),Bk=Kt(tT()),Fk=Kt(rT()),Vk=Kt(fT()),Uk=Kt(dT()),$k=Kt(mT()),jk=Kt(qd()),JT=Qd();xk(kr(),ei);function Hk(s){return[wk.default,Ok.default,vk.default,Lk.default,jk.default,Mk.default,Fk.default,Vk.default,Uk.default,$k.default,kk.default,Dk.default,Rk.default,Bk.default,...s.vueCompilerOptions.plugins].flatMap(i=>{try{let r=i.__moduleConfig??{},n=i({...s,config:r});if(Array.isArray(n))for(let a=0;a<n.length;a++)n[a].name??=`${r.name} (${a})`;else n.name??=r.name;return n}catch(r){console.warn("[Vue] Failed to create plugin",r)}}).filter(i=>!!i).sort((i,r)=>{let n=i.order??0,a=r.order??0;return n-a}).filter(i=>JT.validVersions.includes(i.version)?!0:(console.warn(`[Vue] Plugin ${i.name} is not compatible with the current Vue language tools version. (version: ${i.version}, supported versions: ${JSON.stringify(JT.validVersions)})`),!1))}});var YT=D(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});Za.VueEmbeddedCode=void 0;Za.useEmbeddedCodes=Wk;var za=Rn(),Kk=wr(),Gk=ad(),Wc=class{constructor(t,e,i){this.id=t,this.lang=e,this.content=i,this.linkedCodeMappings=[],this.embeddedCodes=[]}};Za.VueEmbeddedCode=Wc;function Wk(s,t,e){let i=(0,za.computed)(()=>{let l={};e.template&&(l[e.template.name]=e.template),e.script&&(l[e.script.name]=e.script),e.scriptSetup&&(l[e.scriptSetup.name]=e.scriptSetup);for(let c of e.styles)l[c.name]=c;for(let c of e.customBlocks)l[c.name]=c;return l}),r=s.map(n);return(0,za.computed)(()=>{let l=[],c=new Map,u=r.map(h=>h()).flat().map(({code:h,snapshot:p,mappings:f})=>{let m={id:h.id,languageId:qk(h.lang),linkedCodeMappings:h.linkedCodeMappings,snapshot:p,mappings:f,embeddedCodes:[]};return c.set(h.id,m),[h.parentCodeId,m]});for(let[h,p]of u){if(!h){l.push(p);continue}let f=c.get(h);f?(f.embeddedCodes??=[],f.embeddedCodes.push(p)):l.push(p)}return l});function n(l){let c=(0,za.computed)(u=>{if(!l.getEmbeddedCodes)return new Map;let h=l.getEmbeddedCodes(t,e),p=new Map;for(let{id:f,lang:m}of h){let d=f+"__"+m;u?.has(d)?p.set(d,u.get(d)):p.set(d,a(f,m))}return p});return(0,za.computed)(()=>{let u=[];for(let h of c().values()){let{code:p,snapshot:f}=h();u.push({code:p,snapshot:f,mappings:o(p)})}return u})}function a(l,c){return(0,za.computed)(()=>{let u=[],h=new Wc(l,c,u);for(let d of s)if(d.resolveEmbeddedCode)try{d.resolveEmbeddedCode(t,e,h)}catch(A){console.error(A)}let p=(0,Kk.toString)(h.content),f=new Map;return{code:h,snapshot:{getText:(d,A)=>p.slice(d,A),getLength:()=>p.length,getChangeRange(d){if(!f.has(d)){f.set(d,void 0);let A=d.getText(0,d.getLength()),y=Xk(A,p);y&&f.set(d,y)}return f.get(d)}}}})}function o(l){let c=(0,Gk.buildMappings)(l.content.map(p=>{if(typeof p=="string")return p;let f=p[1];if(f===void 0)return p;let m=i()[f];return m?[p[0],void 0,p[2]+m.startTagEnd,p[3]]:p})),u=[],h=new Map;for(let p=0;p<c.length;p++){let f=c[p];if(f.data.__combineToken!==void 0){let m=f.data.__combineToken;if(h.has(m)){let d=h.get(m);d.sourceOffsets.push(...f.sourceOffsets),d.generatedOffsets.push(...f.generatedOffsets),d.lengths.push(...f.lengths)}else h.set(m,f),u.push(f);continue}if(f.data.__linkedToken!==void 0){let m=f.data.__linkedToken;if(h.has(m)){let d=h.get(m);l.linkedCodeMappings.push({sourceOffsets:[d.generatedOffsets[0]],generatedOffsets:[f.generatedOffsets[0]],lengths:[Number(m.description)],data:void 0})}else h.set(m,f);continue}u.push(f)}return u}}function Xk(s,t){for(let e=0;e<s.length&&e<t.length;e++)if(s[e]!==t[e]){let i=s.length;for(let a=0;a<s.length-e&&a<t.length-e&&s[s.length-a-1]===t[t.length-a-1];a++)i--;let r=i-e,n=r+(t.length-s.length);return n<0&&(r-=n,n=0),{span:{start:e,length:r},newLength:n}}}function qk(s){switch(s){case"js":return"javascript";case"cjs":return"javascript";case"mjs":return"javascript";case"ts":return"typescript";case"cts":return"typescript";case"mts":return"typescript";case"jsx":return"javascriptreact";case"tsx":return"typescriptreact";case"pug":return"jade";case"md":return"markdown"}return s}});var zT=D(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.useIR=Qk;var Ce=Rn(),Bn=Wd();function Qk(s,t,e,i,r){let n=()=>{let N=(0,Ce.setActiveSub)(void 0),w=i();return(0,Ce.setActiveSub)(N),w},a=(0,Ce.computed)(()=>i().getText(0,i().getLength())),o=(0,Bn.computedArray)(()=>r()?.descriptor.comments??[]),l=y("template","html",(0,Ce.computed)(()=>r()?.descriptor.template??void 0),(N,w)=>{let M=A(w);return eo(w,{get ast(){return M().result?.ast},get errors(){return M().errors},get warnings(){return M().warnings}})}),c=y("script","js",(0,Ce.computed)(()=>r()?.descriptor.script??void 0),(N,w)=>{let M=x("__src",w,N),R=(0,Ce.computed)(()=>{for(let I of t){let _=I.compileSFCScript?.(w.lang,w.content);if(_)return _}return s.createSourceFile(e+"."+w.lang,"",99)});return eo(w,{get src(){return M()},get ast(){return R()}})}),u=y("scriptSetup","js",(0,Ce.computed)(()=>r()?.descriptor.scriptSetup??void 0),(N,w)=>{let M=x("__generic",w,N),R=(0,Ce.computed)(()=>{for(let I of t){let _=I.compileSFCScript?.(w.lang,w.content);if(_)return _}return s.createSourceFile(e+"."+w.lang,"",99)});return eo(w,{get generic(){return M()},get ast(){return R()}})}),h=(0,Ce.computed)(()=>!!r()?.descriptor.script),p=(0,Ce.computed)(()=>!!r()?.descriptor.scriptSetup),f=(0,Ce.computed)(()=>!h()&&!p()?{content:"",lang:"ts",name:"",start:0,end:0,startTagEnd:0,endTagStart:0,generic:void 0,genericOffset:0,attrs:{},ast:s.createSourceFile("","",99,!1,s.ScriptKind.TS)}:u()),m=(0,Bn.reactiveArray)(()=>r()?.descriptor.styles??[],(N,w)=>{let M=E("style_"+w,"css",N),R=x("__src",M,N),I=x("__module",M,N),_=(0,Ce.computed)(()=>!!N().scoped),T=(0,Ce.computed)(()=>{for(let C of t){let b=C.compileSFCStyle?.(M.lang,M.content);if(b)return b}}),g=(0,Bn.computedArray)(()=>T()?.imports??[],(C,b)=>C.text===b.text&&C.offset===b.offset),P=(0,Bn.computedArray)(()=>T()?.bindings??[],(C,b)=>C.text===b.text&&C.offset===b.offset),L=(0,Bn.computedArray)(()=>T()?.classNames??[],(C,b)=>C.text===b.text&&C.offset===b.offset);return()=>eo(M,{get src(){return R()},get module(){return I()},get scoped(){return _()},get imports(){return g()},get bindings(){return P()},get classNames(){return L()}})}),d=(0,Bn.reactiveArray)(()=>r()?.descriptor.customBlocks??[],(N,w)=>{let M=E("custom_block_"+w,"txt",N),R=(0,Ce.computed)(()=>N().type);return()=>eo(M,{get type(){return R()}})});return{get content(){return a()},get comments(){return o()},get template(){return l()},get script(){return c()},get scriptSetup(){return f()},get styles(){return m},get customBlocks(){return d}};function A(N){return(0,Ce.computed)(w=>{if(w?.template===N.content)return w;if(w?.result&&w.plugin?.updateSFCTemplate&&!w.errors.length&&!w.warnings.length){let _=n().getChangeRange(w.snapshot);if(_){let T=(0,Ce.setActiveSub)(void 0),g=N.startTagEnd;(0,Ce.setActiveSub)(T);let P=n().getText(_.span.start,_.span.start+_.newLength),L=w.plugin.updateSFCTemplate(w.result,{start:_.span.start-g,end:_.span.start-g+_.span.length,newText:P});if(L)return{snapshot:n(),template:N.content,result:L,plugin:w.plugin,errors:[],warnings:[]}}}let M=[],R=[],I={onError:_=>M.push(_),onWarn:_=>R.push(_),expressionPlugins:["typescript"]};for(let _ of t)_.resolveTemplateCompilerOptions&&(I=_.resolveTemplateCompilerOptions(I));for(let _ of t)try{let T=_.compileSFCTemplate?.(N.lang,N.content,I);if(T)return{snapshot:n(),template:N.content,result:T,plugin:_,errors:M,warnings:R}}catch(T){return{snapshot:n(),template:N.content,plugin:_,errors:[T],warnings:R}}return{snapshot:n(),template:N.content,errors:M,warnings:R}})}function y(N,w,M,R){let I=(0,Ce.computed)(()=>!!M());return(0,Ce.computed)(()=>{if(!I())return;let _=(0,Ce.computed)(()=>M());return R(_,E(N,w,_))})}function E(N,w,M){let R=(0,Ce.computed)(()=>M().lang??w),I=(0,Ce.computed)(()=>M().attrs),_=(0,Ce.computed)(()=>M().content),T=(0,Ce.computed)(()=>M().loc.start.offset),g=(0,Ce.computed)(()=>M().loc.end.offset),P=(0,Ce.computed)(()=>n().getText(0,T()).lastIndexOf("<"+M().type)),L=(0,Ce.computed)(()=>g()+n().getText(g(),n().getLength()).indexOf(">")+1);return{name:N,get lang(){return R()},get attrs(){return I()},get content(){return _()},get startTagEnd(){return T()},get endTagStart(){return g()},get start(){return P()},get end(){return L()}}}function x(N,w,M){return(0,Ce.computed)(()=>{let R=M()[N];return typeof R=="object"?{...R,offset:w.start+R.offset}:R})}}function eo(s,t){return Object.defineProperties(s,Object.getOwnPropertyDescriptors(t))}});var Zd=D(Xc=>{"use strict";Object.defineProperty(Xc,"__esModule",{value:!0});Xc.VueVirtualCode=void 0;var Yd=Rn(),Jk=Gc(),Yk=YT(),zk=zT(),zd=class{get snapshot(){return this._snapshot()}get vueSfc(){return this._parsedSfcResult()?.result}get ir(){return this._ir}get sfc(){return this._ir}get embeddedCodes(){return this._embeddedCodes()}get mappings(){return this._mappings()}constructor(t,e,i,r,n,a){this.fileName=t,this.languageId=e,this.initSnapshot=i,this.vueCompilerOptions=r,this.id="main",this._snapshot=(0,Yd.signal)(i),this._parsedSfcResult=(0,Yd.computed)(o=>this.parseSfc(n,o)),this._ir=(0,zk.useIR)(a,n,t,this._snapshot,()=>this._parsedSfcResult()?.result),this._embeddedCodes=(0,Yk.useEmbeddedCodes)(n,t,this._ir),this._mappings=(0,Yd.computed)(()=>[{sourceOffsets:[0],generatedOffsets:[0],lengths:[this._snapshot().getLength()],data:Jk.allCodeFeatures}])}update(t){this._snapshot(t)}parseSfc(t,e){let i=this.snapshot;if(e?.plugin.updateSFC&&!e.result.errors.length){let r=i.getChangeRange(e.snapshot);if(r){let n=e.plugin.updateSFC(e.result,{start:r.span.start,end:r.span.start+r.span.length,newText:i.getText(r.span.start,r.span.start+r.newLength)});if(n)return n.descriptor=JSON.parse(JSON.stringify(n.descriptor)),{snapshot:i,plugin:e.plugin,result:n}}}for(let r of t){let n=r.parseSFC2?.(this.fileName,this.languageId,i.getText(0,i.getLength()))??r.parseSFC?.(this.fileName,i.getText(0,i.getLength()));if(n)return{snapshot:i,plugin:r,result:n}}}};Xc.VueVirtualCode=zd});var tC=D(ti=>{"use strict";var Zk=ti&&ti.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),eB=ti&&ti.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),ZT=ti&&ti.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&Zk(e,t,i[r]);return eB(e,t),e}})();Object.defineProperty(ti,"__esModule",{value:!0});ti.createVueLanguagePlugin=lB;ti.getAllExtensions=eC;var tB=bc(),sB=ZT(Ve()),iB=ZT(em()),rB=Gc(),nB=Zd(),aB={};function oB(s,t,e){let i=JSON.stringify([...e.map(r=>r.name).filter(r=>typeof r=="string").sort(),...Object.keys(t).filter(r=>r!=="plugins").sort().map(r=>[r,t[r]]),...[...new Set(e.flatMap(r=>r.requiredCompilerOptions??[]))].sort().map(r=>[r,s[r]])]);return aB[i]??=new Map}function lB(s,t,e,i){let r={modules:{"@vue/compiler-dom":sB,"@vue/language-core":iB,typescript:s},compilerOptions:t,vueCompilerOptions:e,config:{}},n=(0,rB.createPlugins)(r),a=oB(t,e,n);return{getLanguageId(o){let l=i(o);for(let c of n){let u=c.getLanguageId?.(l);if(u)return u}},createVirtualCode(o,l,c){let u=i(o);if(n.some(h=>h.isValidFile?.(u,l))){let h=a.get(String(o));if(h)return h.update(c),h;{let p=new nB.VueVirtualCode(u,l,c,e,n,s);return a.set(String(o),p),p}}},updateVirtualCode(o,l,c){return l.update(c),l},disposeVirtualCode(o){a.delete(String(o))},typescript:{extraFileExtensions:eC(e).map(o=>({extension:o.slice(1),isMixedContent:!0,scriptKind:7})),getServiceScript(o){for(let l of(0,tB.forEachEmbeddedCode)(o))if(/script_(js|jsx|ts|tsx)/.test(l.id)){let c=l.id.slice(7);return{code:l,extension:"."+c,scriptKind:c==="js"?s.ScriptKind.JS:c==="jsx"?s.ScriptKind.JSX:c==="tsx"?s.ScriptKind.TSX:s.ScriptKind.TS}}}}}}function eC(s){return[...new Set(["extensions","vitePressExtensions","petiteVueExtensions"].flatMap(t=>s[t]))]}});var em=D(De=>{"use strict";var cB=De&&De.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),Gt=De&&De.__exportStar||function(s,t){for(var e in s)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&cB(t,s,e)};Object.defineProperty(De,"__esModule",{value:!0});De.tsCodegen=De.names=void 0;Gt(Xf(),De);Gt(Qf(),De);Gt(tC(),De);Gt($d(),De);Gt(Kd(),De);Gt(Gc(),De);Gt(Sd(),De);Gt(Qd(),De);Gt(Or(),De);Gt(bd(),De);Gt(Ic(),De);Gt(Ut(),De);Gt(Zd(),De);var uB=nt();Object.defineProperty(De,"names",{enumerable:!0,get:function(){return uB.names}});var hB=qd();Object.defineProperty(De,"tsCodegen",{enumerable:!0,get:function(){return hB.tsCodegen}});Gt(bc(),De)});import nm from"node:os";import Pi from"node:process";import am from"node:assert";import Qc from"node:worker_threads";var hs=5,Jc={CREATE_SERVICE_CODE:0,CREATE_SERVICE_CODE_RESPONSE:1},AC={SOURCE_MAP:1},om={js:0,jsx:1,ts:2,tsx:3};function lm(s){if(Qc.isMainThread){let l=function(c){if(a.buffer.byteLength<c){let u=Buffer.allocUnsafe(c);a.copy(u),a=u}};var t=l;let i=Number(Pi.env.GOLAR_PLUGIN_WORKERS)||Math.max(Math.min(nm.cpus().length/2,4),1),r=new Array(i).fill(null).map(()=>{let c={busy:!1,worker:new Qc.Worker(s.filename).on("message",()=>{let u=n.shift();u==null?c.busy=!1:c.worker.postMessage(u)})};return c}),n=[],a=Buffer.allocUnsafe(1024*1024),o=0;{let c=JSON.stringify({extraExtensions:s.extraExtensions??[]});a.writeUint32LE(Buffer.byteLength(c)),Pi.stdout.write(a.subarray(0,4)),Pi.stdout.write(c)}Pi.stdin.on("end",()=>Pi.exit(0)),Pi.stdin.on("data",c=>{am.ok(c instanceof Buffer,"Data is expected to be buffer"),l(o+c.byteLength),c.copy(a,o),o+=c.byteLength;let u=a.subarray(0,o),h=0;for(;!(u.byteLength<hs);){let p=u.readUInt32LE(1);if(u.byteLength<p+hs)break;let f=r.find(({busy:m})=>!m);f!=null?(f.busy=!0,f.worker.postMessage(u.subarray(0,p+hs))):n.push(Buffer.copyBytesFrom(u,0,p+hs)),h+=p+hs,u=u.subarray(p+hs)}h>0&&(o-=h,a.copyWithin(0,h))})}else{let n=function(a,o){return r.buffer.byteLength<hs+o&&(r=Buffer.allocUnsafe(hs+o)),r.writeUInt8(a),r.writeUInt32LE(o,1),r.subarray(0,hs+o)};var e=n;let{parentPort:i}=Qc;am.ok(i);let r=Buffer.allocUnsafe(1024*1024);i.on("message",async function(a){let o=Buffer.from(a);switch(o.readUInt8(0)){case Jc.CREATE_SERVICE_CODE:{let c=hs,u=o.readBigUInt64LE(c),h=o.readUInt32LE(c+=8),p=o.subarray(c+=4,c+h).toString("utf8");c+=h;let f=o.readUInt32LE(c),m=o.subarray(c+=4,c+f).toString("utf8");c+=f;let d=await s.createServiceCode(p,m);if("sourceMap"in d){let A=Buffer.byteLength(d.serviceText),y=Buffer.byteLength(d.sourceMap),E=n(Jc.CREATE_SERVICE_CODE_RESPONSE,14+A+4+y);c=hs,c=E.writeBigUInt64LE(u,c),c=E.writeUInt8(AC.SOURCE_MAP,c),c=E.writeUInt8(om[d.scriptKind],c),c=E.writeUInt32LE(A,c),c+=E.write(d.serviceText,c),c=E.writeUInt32LE(y,c),c=E.write(d.sourceMap,c),Pi.stdout.write(Buffer.copyBytesFrom(E)),i.postMessage(null)}else{let A=Buffer.byteLength(d.serviceText),y=d.mappings.length*16,E=(d.ignoreMappings?.length??0)*8,x=d.mappingSuppressedCodes?.length??0,N=n(Jc.CREATE_SERVICE_CODE_RESPONSE,14+A+4+y+4+E+4+x);c=hs,c=N.writeBigUInt64LE(u,c),c=N.writeUInt8(0,c),c=N.writeUInt8(om[d.scriptKind],c),c=N.writeUInt32LE(A,c),c+=N.write(d.serviceText,c),c=N.writeUInt32LE(d.mappings.length,c);let w=(nm.endianness()==="LE"?N.writeUint32LE:N.writeUint32BE).bind(N);for(let M of d.mappings)for(let R of[M.sourceOffset,M.serviceOffset,M.sourceLength,M.serviceLength??M.sourceLength])c=w(R,c);c=N.writeUInt32LE(d.ignoreMappings?.length??0,c);for(let M of d.ignoreMappings??[])c=w(M.serviceOffset,c),c=w(M.serviceLength,c);c=N.writeUInt32LE(x,c);for(let M of d.mappingSuppressedCodes??[])c=N.writeUInt8(M,c);Pi.stdout.write(Buffer.copyBytesFrom(N)),i.postMessage(null)}}}})}}import{createHash as gC}from"node:crypto";import no from"node:fs";import cm from"node:path";var yC=[2339,2353,2551,2561,6133];function EC(s){if(typeof s!="object"||s===null)return 0;let t=s.shouldReport;if(typeof t!="function")return 0;let e=0;for(let[i,r]of yC.entries())t(void 0,r)||(e|=1<<i);return e}function SC(s){try{return JSON.parse(no.readFileSync(s,"utf8"))}catch{return}}function bC(s,t){try{no.mkdirSync(cm.dirname(s),{recursive:!0});let e=`${s}.${process.pid}.${Math.random().toString(36).slice(2)}.tmp`;no.writeFileSync(e,JSON.stringify(t)),no.renameSync(e,s)}catch{}}function um(s){lm({filename:s.filename,extraExtensions:s.languagePlugins.flatMap(e=>e.typescript?.extraFileExtensions?.map(i=>`.${i.extension}`)??[]),async createServiceCode(e,i){let r=s.cache?cm.join(s.cache.dir,gC("sha256").update(s.cache.key).update("\0").update(e).update("\0").update(i).digest("hex")+".json"):void 0;if(r){let a=SC(r);if(a)return a}let n=t(e,i);return r&&bC(r,n),n}});function t(e,i){for(let r of s.languagePlugins){if(r.createVirtualCode==null)continue;let n=r.getLanguageId(e);if(n==null)continue;let a=r.createVirtualCode(e,n,{getLength(){return i.length},getText(R,I){return i.slice(R,I)},dispose(){},getChangeRange(){}},{getAssociatedScript(R){}});if(a==null)continue;let o=r.typescript.getServiceScript(a),l=o.code.snapshot.getText(0,o.code.snapshot.getLength()),c=o.code.mappings.filter(R=>R.data.verification),u=new Set,h=new Set;for(let R of c){for(let[I,_]of R.sourceOffsets.entries())u.add(_),u.add(_+R.lengths[I]);for(let[I,_]of R.generatedOffsets.entries())h.add(_),h.add(_+(R.generatedLengths??R.lengths)[I])}let p=new Map,f=new Map,m=0,d=Array.from(u).sort((R,I)=>R-I);for(let[R,I]of d.entries())p.set(I,m+=Buffer.byteLength(i.slice(d[R-1]??0,I)));m=0;let A=Array.from(h).sort((R,I)=>R-I);for(let[R,I]of A.entries())f.set(I,m+=Buffer.byteLength(l.slice(A[R-1]??0,I)));let y=[],E=[],x=c.flatMap(R=>{let I=EC(R.data.verification);for(let _=0;_<R.sourceOffsets.length;_++)E.push(I);return R.sourceOffsets.map((_,T)=>{let g=R.generatedOffsets[T],P=R.lengths[T],L=R.generatedLengths?.[T]??P;L>0&&y.push([f.get(g),f.get(g+L)]);let C=p.get(_),b=f.get(g);return{sourceOffset:C,serviceOffset:b,sourceLength:p.get(_+P)-C,serviceLengths:f.get(g+L)-b}})});y.sort((R,I)=>R[0]-I[0]||R[1]-I[1]);let N=[];for(let[R,I]of y){let _=N.at(-1);_?R<=_[1]?_[1]=Math.max(_[1],I):N.push([R,I]):N.push([R,I])}let w=[],M=0;for(let[R,I]of N)R>M&&w.push({serviceOffset:M,serviceLength:R-M}),M=Math.max(M,I);return w.push({serviceOffset:M,serviceLength:Buffer.byteLength(l)-M}),{serviceText:l,scriptKind:TC(o?.scriptKind),mappings:x,ignoreMappings:w,mappingSuppressedCodes:E}}throw new Error("Unknown language")}}function TC(s){switch(s){case 1:return"js";case 2:return"jsx";case 3:return"ts";case 4:return"tsx";default:return"ts"}}var fB=mC(em(),1);var sC={name:"@vue/language-core",version:"3.3.4",license:"MIT",files:["index.d.ts","index.js","lib/**/*.d.ts","lib/**/*.js","types"],sideEffects:!1,repository:{type:"git",url:"https://github.com/vuejs/language-tools.git",directory:"packages/language-core"},scripts:{"generate-names":"node scripts/generate-names.js"},dependencies:{"@volar/language-core":"2.4.28","@vue/compiler-dom":"^3.5.0","@vue/shared":"^3.5.0","alien-signals":"^3.2.0","muggle-string":"^0.4.1","path-browserify":"^1.0.1",picomatch:"^4.0.4"},devDependencies:{"@types/node":"^24.1.0","@types/path-browserify":"^1.0.3","@types/picomatch":"^4.0.3","@volar/typescript":"2.4.28","@vue/compiler-sfc":"^3.5.0"},gitHead:"043a77b6182db32f4076f84a767c1c674ef2b149"};import{createRequire as iC}from"node:module";import dB from"node:os";import Fn from"node:path";import io from"node:process";import{fileURLToPath as mB}from"node:url";import{isMainThread as nC}from"node:worker_threads";function tm(s){console.error(`vue-go-tsc: Volar codegen: ${s}
|
|
104
|
-
(run with --codegen=go to use the built-in Go codegen instead)`),io.exit(1)}var to=Fn.resolve(io.env.GOLAR_VUE_TSCONFIG??"tsconfig.json"),sm=Fn.dirname(to);function
|
|
103
|
+
`)},{blockName:t.name,offset:l.end,setting:"vue.inlayHints.optionsWrapper",label:p||"[Missing optionsWrapper[1]]"})),yield*(0,rt.generateSfcBlockSection)(t,0,l.start,Zs.codeFeatures.all),yield kc,yield*(0,rt.generateSfcBlockSection)(t,l.end,i.end,Zs.codeFeatures.all),yield rt.endOfLine,a&&(yield*a),yield*qa(t,n),u&&p?(yield u,yield*(0,rt.generateSfcBlockSection)(t,l.start,l.end,Zs.codeFeatures.all),yield p):yield*(0,rt.generateSfcBlockSection)(t,l.start,l.end,Zs.codeFeatures.all),yield rt.endOfLine,yield*(0,rt.generateSfcBlockSection)(t,i.end,t.content.length,Zs.codeFeatures.all)}function*F2({typesRoot:s,lib:t,target:e,checkUnknownProps:i},r){let n;if(Ld.isAbsolute(s)){let a=Ld.relative(Ld.dirname(r),s);a!==s&&!a.startsWith("./")&&!a.startsWith("../")&&(a="./"+a),n=a}else n=s;yield`/// <reference types=${JSON.stringify(n+"/template-helpers.d.ts")} />${rt.newLine}`,i||(yield`/// <reference types=${JSON.stringify(n+"/props-fallback.d.ts")} />${rt.newLine}`),t==="vue"&&e<3.5&&(yield`/// <reference types=${JSON.stringify(n+"/vue-3.4-shims.d.ts")} />${rt.newLine}`)}function*qa(s,t){yield"const ";let e=yield*(0,Bc.startBoundary)(s.name,0,Zs.codeFeatures.doNotReportTs6133);yield t,yield(0,Bc.endBoundary)(e,s.content.length),yield" = "}});var Dd=D(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});Vc.generateClassProperty=U2;Vc.generateStyleImports=$2;var V2=$e(),Md=_e(),Fc=ft();function*U2(s,t,e,i){yield`${Md.newLine} & { `;let r=yield*(0,Fc.startBoundary)(s,e,V2.codeFeatures.navigation);yield"'",yield[t.slice(1),s,e+1,{__combineToken:r}],yield"'",yield(0,Fc.endBoundary)(r,e+t.length),yield`: ${i}`,yield" }"}function*$2(s){let t={navigation:!0,verification:!0};if(typeof s.src=="object"){yield`${Md.newLine} & typeof import(`;let e=yield*(0,Fc.startBoundary)("main",s.src.offset,t);yield"'",yield[s.src.text,"main",s.src.offset,{__combineToken:e}],yield"'",yield(0,Fc.endBoundary)(e,s.src.offset+s.src.text.length),yield").default"}for(let{text:e,offset:i}of s.imports)yield`${Md.newLine} & typeof import('`,yield[e,s.name,i,t],yield"').default"}});var UT=D(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.generateStyleModules=H2;var j2=$e(),Rd=nt(),kd=_e(),VT=Dd();function*H2({styles:s,vueCompilerOptions:t},e){let i=s.filter(r=>r.module);if(i.length){e.generatedTypes.add(Rd.names.StyleModules),yield`type ${Rd.names.StyleModules} = {${kd.newLine}`;for(let r of i){if(r.module===!0)yield"$style";else{let{text:n,offset:a}=r.module;yield[n,"main",a,j2.codeFeatures.navigation]}yield": ",t.strictCssModules||(yield"Record<string, string> & "),yield`${Rd.names.PrettifyGlobal}<{}`,t.resolveStyleImports&&(yield*(0,VT.generateStyleImports)(r));for(let n of r.classNames)yield*(0,VT.generateClassProperty)(r.name,n.text,n.offset,"string");yield`>${kd.endOfLine}`}yield`}${kd.endOfLine}`}}});var jT=D(Fd=>{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.generateStyleScopedClasses=X2;var K2=nt(),G2=Df(),W2=_e(),$T=Dd();function*X2({vueCompilerOptions:s,styles:t}){let{resolveStyleClassNames:e,resolveStyleImports:i}=s;if(!e)return;let r=t.filter(o=>e===!0||o.scoped);if(!r.length)return;let n=new Set,a=[];yield`type ${K2.names.StyleScopedClasses} = {}`;for(let o of r){i&&(yield*(0,$T.generateStyleImports)(o));for(let l of o.classNames)n.has(l.text)?a.push((0,G2.generateStyleScopedClassReference)(o,l.text.slice(1),l.offset+1)):(n.add(l.text),yield*(0,$T.generateClassProperty)(o.name,l.text,l.offset,"boolean"))}yield W2.endOfLine;for(let o of a)yield*o}});var HT=D(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.generateStyle=ek;var q2=$e(),Q2=UT(),J2=jT(),Y2=Yh(),z2=as(),Z2=_e();function ek(s){let t=(0,Y2.createTemplateCodegenContext)(),e=tk(s,t),i=[];for(let r of e)typeof r=="object"&&(r[3]=t.resolveCodeFeatures(r[3])),i.push(r);return{...t,codes:i}}function*tk(s,t){let e=t.startScope();t.declare(...s.setupConsts),yield*(0,J2.generateStyleScopedClasses)(s),yield*(0,Q2.generateStyleModules)(s,t),yield*sk(s,t),yield*e()}function*sk(s,t){for(let e of s.styles)for(let i of e.bindings)yield*(0,z2.generateInterpolation)(s,t,e,q2.codeFeatures.all,i.text,i.offset,"(",")"),yield Z2.endOfLine}});var Ud=D(Uc=>{"use strict";Object.defineProperty(Uc,"__esModule",{value:!0});Uc.parseBindingRanges=rk;Uc.getClosestMultiLineCommentRange=nk;var ik=Or(),KT=Ut();function rk(s,t,e){let i=[],r=[];return s.forEachChild(t,o=>{if(s.isVariableStatement(o))for(let l of o.declarationList.declarations){let c=(0,ik.collectBindingRanges)(s,l.name,t);i.push(...c)}else s.isFunctionDeclaration(o)?o.name&&s.isIdentifier(o.name)&&i.push(n(o.name)):s.isClassDeclaration(o)?o.name&&i.push(n(o.name)):s.isEnumDeclaration(o)&&i.push(n(o.name));if(s.isImportDeclaration(o)){let l=a(o.moduleSpecifier).slice(1,-1);if(o.importClause&&!o.importClause.isTypeOnly){let{name:c,namedBindings:u}=o.importClause;if(c&&(e.some(p=>l.endsWith(p))?r.push(n(c)):i.push(n(c))),u)if(s.isNamedImports(u))for(let p of u.elements)p.isTypeOnly||(p.propertyName&&a(p.propertyName)==="default"&&e.some(h=>l.endsWith(h))?r.push(n(p.name)):i.push(n(p.name)));else i.push(n(u.name))}}}),{bindings:i,components:r};function n(o){return(0,KT.getStartEnd)(s,o,t)}function a(o){return(0,KT.getNodeText)(s,o,t)}}function nk(s,t,e,i){for(let n=e.length-1;n>=0&&!s.isStatement(t);n--)t=e[n];let r=s.getLeadingCommentRanges(i.text,t.pos)?.reverse().find(n=>n.kind===3);if(r)return{node:t,start:r.pos,end:r.end}}});var $d=D(jc=>{"use strict";Object.defineProperty(jc,"__esModule",{value:!0});jc.parseScriptRanges=ak;jc.parseOptionsFromExtression=WT;var $c=Ut(),GT=Ud();function ak(s,t,e){let i,{bindings:r,components:n}=(0,GT.parseBindingRanges)(s,t,e.extensions);return s.forEachChild(t,a=>{if(s.isExportAssignment(a)){i={...(0,$c.getStartEnd)(s,a,t),expression:(0,$c.getStartEnd)(s,a.expression,t),isObjectLiteral:s.isObjectLiteralExpression(a.expression),options:WT(s,a.expression,t)};let o=(0,GT.getClosestMultiLineCommentRange)(s,a,[],t);o&&(i.start=o.start)}}),{exportDefault:i,bindings:r,components:n}}function WT(s,t,e){let i;for(;ok(s,t)||s.isParenthesizedExpression(t);)t=t.expression;if(s.isObjectLiteralExpression(t))i=t;else if(s.isCallExpression(t)&&t.arguments.length){let a=t.arguments[0];s.isObjectLiteralExpression(a)&&(i=a)}if(i){let a,o,l,c;return s.forEachChild(i,u=>{if(s.isPropertyAssignment(u)&&s.isIdentifier(u.name)){let p=n(u.name);p==="components"&&s.isObjectLiteralExpression(u.initializer)?a=u.initializer:p==="directives"&&s.isObjectLiteralExpression(u.initializer)?o=u.initializer:p==="name"&&s.isStringLiteral(u.initializer)?l=u.initializer:p==="inheritAttrs"&&(c=n(u.initializer))}}),{isObjectLiteral:s.isObjectLiteralExpression(t),expression:r(t),args:r(i),argsNode:i,components:a?r(a):void 0,componentsNode:a,directives:o?r(o):void 0,name:l?r(l):void 0,nameNode:l,inheritAttrs:c}}function r(a){return(0,$c.getStartEnd)(s,a,e)}function n(a){return(0,$c.getNodeText)(s,a,e)}}function ok(s,t){return t.kind===s.SyntaxKind.AsExpression}});var Kd=D(Hd=>{"use strict";Object.defineProperty(Hd,"__esModule",{value:!0});Hd.parseScriptSetupRanges=uk;var lk=Or(),Qa=Ut(),XT=Ud(),ck=/^\/\/\s*@ts-(?:no)?check(?:$|\s)/;function uk(s,t,e){let i=[],r,n,a,o,l,c,u=[],p=[],h=[],f=[],m=t.text,A=(s.getLeadingCommentRanges(m,0)?.reverse()??[]).find(g=>ck.test(m.slice(g.pos,g.end)))?.end??0,{bindings:y,components:S}=(0,XT.parseBindingRanges)(s,t,e.extensions),P=!1,x=0;s.forEachChild(t,g=>{if(P||s.isImportDeclaration(g)||s.isExportDeclaration(g)||s.isEmptyStatement(g)||s.isImportEqualsDeclaration(g)||(s.isTypeAliasDeclaration(g)||s.isInterfaceDeclaration(g))&&g.modifiers?.some(M=>M.kind===s.SyntaxKind.ExportKeyword))return;let _=s.getLeadingCommentRanges(m,g.pos);_?.length?x=_.sort((C,T)=>C.pos-T.pos)[0].pos:x=(0,Qa.getStartEnd)(s,g,t).start,P=!0}),s.forEachChild(t,g=>L(g,[t]));let v=new Set(f.map(g=>g.name));return y=y.filter(g=>{let _=m.slice(g.start,g.end);return!v.has(_)}),{leadingCommentEndOffset:A,importSectionEndOffset:x,bindings:y,components:S,defineModel:i,defineProps:r,withDefaults:n,defineEmits:a,defineSlots:o,defineExpose:l,defineOptions:c,useAttrs:u,useCssModule:p,useSlots:h,useTemplateRef:f};function L(g,_){let M=_[_.length-1];if(s.isCallExpression(g)&&s.isIdentifier(g.expression)){let C=b(g.expression);if(e.macros.defineModel.includes(C)){let T,J,H,fe,Se,ae,Re,ht=!1;if(s.isVariableDeclaration(M)&&s.isIdentifier(M.name)&&(T=N(M.name)),g.typeArguments&&(g.typeArguments.length>=1&&(fe=N(g.typeArguments[0])),g.typeArguments.length>=2&&(Se=N(g.typeArguments[1]))),g.arguments.length>=2?(J=g.arguments[0],H=g.arguments[1]):g.arguments.length>=1&&(s.isStringLiteralLike(g.arguments[0])?J=g.arguments[0]:H=g.arguments[0]),H&&s.isObjectLiteralExpression(H))for(let ot of H.properties){if(!s.isPropertyAssignment(ot)||!s.isIdentifier(ot.name))continue;let Y=b(ot.name);Y==="type"?ae=N(ot.initializer):Y==="default"?Re=N(ot.initializer):Y==="required"&&ot.initializer.kind===s.SyntaxKind.TrueKeyword&&(ht=!0)}let Wt;J&&s.isStringLiteralLike(J)&&(Wt=N(J)),i.push({localName:T,name:Wt,type:fe,modifierType:Se,runtimeType:ae,defaultValue:Re,required:ht,comments:(0,XT.getClosestMultiLineCommentRange)(s,g,_,t),arg:N(g)})}else if(e.macros.defineProps.includes(C)){if(r={...I(g,M),statement:jd(s,_,g,t)},s.isVariableDeclaration(M)&&s.isObjectBindingPattern(M.name)){r.destructured=new Map;let T=(0,lk.collectBindingIdentifiers)(s,M.name);for(let{id:J,isRest:H,initializer:fe}of T){let Se=b(J);H?r.destructuredRest=Se:r.destructured.set(Se,fe)}}else if(s.isCallExpression(M)&&e.macros.withDefaults.includes(b(M.expression))){let T=_.at(-2);T&&s.isVariableDeclaration(T)&&(r.name=b(T.name))}}else if(e.macros.withDefaults.includes(C)){let[,T]=g.arguments;n={callExp:N(g),exp:N(g.expression),arg:T?N(T):void 0}}else if(e.macros.defineEmits.includes(C)){if(a={...I(g,M),statement:jd(s,_,g,t)},g.typeArguments?.length&&s.isTypeLiteralNode(g.typeArguments[0])){for(let T of g.typeArguments[0].members)if(s.isCallSignatureDeclaration(T)){let J=T.parameters[0]?.type;if(J&&s.isUnionTypeNode(J)){a.hasUnionTypeArg=!0;break}}}}else if(e.macros.defineSlots.includes(C))o={...I(g,M),statement:jd(s,_,g,t)};else if(e.macros.defineExpose.includes(C))l=R(g);else if(e.macros.defineOptions.includes(C)&&g.arguments.length&&s.isObjectLiteralExpression(g.arguments[0])){c={};let T=g.arguments[0];for(let J of T.properties)if(s.isPropertyAssignment(J)&&s.isIdentifier(J.name)){let H=b(J.name);H==="inheritAttrs"?c.inheritAttrs=b(J.initializer):H==="name"&&s.isStringLiteral(J.initializer)&&(c.name=J.initializer.text)}}else e.composables.useAttrs.includes(C)?u.push(R(g)):e.composables.useCssModule.includes(C)?p.push(R(g)):e.composables.useSlots.includes(C)?h.push(R(g)):e.composables.useTemplateRef.includes(C)&&!g.typeArguments?.length&&f.push(I(g,M))}s.forEachChild(g,C=>{s.isFunctionLike(g)||(_.push(g),L(C,_),_.pop())})}function R(g){return{callExp:N(g),exp:N(g.expression),arg:g.arguments.length?N(g.arguments[0]):void 0,typeArg:g.typeArguments?.length?N(g.typeArguments[0]):void 0}}function I(g,_){return{name:s.isVariableDeclaration(_)&&s.isIdentifier(_.name)?b(_.name):void 0,...R(g)}}function N(g){return(0,Qa.getStartEnd)(s,g,t)}function b(g){return(0,Qa.getNodeText)(s,g,t)}}function jd(s,t,e,i){let r;for(let n=t.length-1;n>=0;n--){let a=t[n];if(s.isStatement(a)){s.forEachChild(a,o=>{let l=(0,Qa.getStartEnd)(s,o,i);r??=l,r.end=l.end});break}}return r||(r=(0,Qa.getStartEnd)(s,e,i)),r}});var qT=D(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.parseVueCompilerOptions=hk;var pk=/^\s*@(?<key>.+?)\s+(?<value>.+?)\s*$/m;function hk(s){let t=s.map(e=>{try{let i=e.match(pk);if(i){let{key:r,value:n}=i.groups??{};return[r,JSON.parse(n)]}}catch{}}).filter(e=>!!e);if(t.length)return Object.fromEntries(t)}});var Wd=D(Ja=>{"use strict";Object.defineProperty(Ja,"__esModule",{value:!0});Ja.reactiveArray=fk;Ja.computedSet=dk;Ja.computedArray=mk;var Ji=Rn();function fk(s,t){let e=(0,Ji.computed)(s),i=(0,Ji.computed)(()=>e().length),r=(0,Ji.computed)(()=>{let a=i(),o=new Array(a);for(let l=0;l<a;l++)o.push(String(l));return o}),n=(0,Ji.computed)(a=>{for(a??=[];a.length<i();){let o=a.length,l=(0,Ji.computed)(()=>e()[o]);a.push((0,Ji.computed)(t(l,o)))}return a.length>i()&&(a.length=i()),a});return new Proxy({},{get(a,o,l){return o==="length"?i():typeof o=="string"&&!isNaN(Number(o))?n()[Number(o)]?.():Reflect.get(n(),o,l)},has(a,o){return Reflect.has(n(),o)},ownKeys(){return r()}})}function dk(s){return(0,Ji.computed)(t=>{let e=s();return t?.size===e.size&&[...t].every(i=>e.has(i))?t:e})}function mk(s,t=(e,i)=>e===i){return(0,Ji.computed)(e=>{e??=[];let i=s();return e.length===i.length&&e.every((r,n)=>t(r,i[n]))?e:i})}});var qd=D(us=>{"use strict";var Ak=us&&us.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),gk=us&&us.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),yk=us&&us.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&Ak(e,t,i[r]);return gk(e,t),e}})();Object.defineProperty(us,"__esModule",{value:!0});us.tsCodegen=void 0;var Ya=at(),ws=Rn(),QT=yk(dc()),Ek=FT(),Sk=HT(),bk=Xf(),Tk=Qf(),Ck=$d(),Ik=Kd(),_k=qT(),Hc=Wd();us.tsCodegen=new WeakMap;var Xd=new Set(["js","jsx","ts","tsx"]),Pk=({modules:{typescript:s},vueCompilerOptions:t})=>{return{version:2.2,getEmbeddedCodes(i,r){let n=e(r);return[{lang:n,id:"script_"+n}]},resolveEmbeddedCode(i,r,n){if(/script_(js|jsx|ts|tsx)/.test(n.id)){let a=us.tsCodegen.get(r);a||us.tsCodegen.set(r,a=Nk(s,t,i,r));let o=a.getGeneratedScript();n.content=[...o.codes]}}};function e(i){let r=i.scriptSetup?.lang??i.script?.lang;return i.script&&i.scriptSetup&&(i.scriptSetup.lang!=="js"?r=i.scriptSetup.lang:r=i.script.lang),r&&Xd.has(r)?r:"ts"}};us.default=Pk;function Nk(s,t,e,i){let r=(0,ws.computed)(()=>{let P=(0,_k.parseVueCompilerOptions)(i.comments);if(P){let x=new Tk.CompilerOptionsResolver(s,()=>{});return x.addConfig(P,QT.dirname(e)),x.build(t)}return t}),n=(0,ws.computed)(()=>i.script&&Xd.has(i.script.lang)?(0,Ck.parseScriptRanges)(s,i.script.ast,r()):void 0),a=(0,ws.computed)(()=>i.scriptSetup&&Xd.has(i.scriptSetup.lang)?(0,Ik.parseScriptSetupRanges)(s,i.scriptSetup.ast,r()):void 0),o=(0,Hc.computedSet)(()=>{let P=new Set,x=a();if(i.scriptSetup&&x){for(let L of x.components)P.add(i.scriptSetup.content.slice(L.start,L.end));let v=n();if(i.script&&v)for(let L of v.components)P.add(i.script.content.slice(L.start,L.end))}return P}),l=(0,Hc.computedSet)(()=>{let P=a(),x=new Set([...P?.defineProps?.destructured?.keys()??[],...o()]),v=P?.defineProps?.destructuredRest;return v&&x.add(v),x}),c=(0,Hc.computedSet)(()=>new Set(a()?.useTemplateRef.map(({name:P})=>P).filter(P=>P!==void 0))),u=(0,ws.computed)(()=>!!a()?.defineSlots),p=(0,ws.computed)(()=>a()?.defineProps?.name),h=(0,ws.computed)(()=>a()?.defineSlots?.name),f=(0,ws.computed)(()=>(a()?.defineOptions?.inheritAttrs??n()?.exportDefault?.options?.inheritAttrs)!=="false"),m=(0,ws.computed)(()=>{let P,x=n()?.exportDefault?.options;if(i.script&&x?.name)P=i.script.content.slice(x.name.start+1,x.name.end-1);else{let{defineOptions:v}=a()??{};if(i.scriptSetup&&v?.name)P=v.name;else{let L=QT.basename(e);P=L.slice(0,L.lastIndexOf("."))}}return(0,Ya.capitalize)((0,Ya.camelize)(P))}),d=(0,ws.computed)(()=>{if(!(r().skipTemplateCodegen||!i.template))return(0,bk.generateTemplate)({typescript:s,vueCompilerOptions:r(),template:i.template,componentName:m(),setupConsts:l(),setupRefs:c(),hasDefineSlots:u(),propsAssignName:p(),slotsAssignName:h(),inheritAttrs:f()})}),A=(0,ws.computed)(()=>{if(i.styles.length)return(0,Sk.generateStyle)({typescript:s,vueCompilerOptions:r(),styles:i.styles,setupConsts:l(),setupRefs:c()})}),y=(0,Hc.computedSet)(()=>{let P=new Set,x=a();if(!i.scriptSetup||!x)return P;for(let L of x.bindings){let R=i.scriptSetup.content.slice(L.start,L.end);P.add(R)}let v=n();if(i.script&&v)for(let L of v.bindings){let R=i.script.content.slice(L.start,L.end);P.add(R)}return P.size?new Set([...d()?.componentAccessMap.keys()??[],...A()?.componentAccessMap.keys()??[],...i.template?.ast?.components.flatMap(L=>[(0,Ya.camelize)(L),(0,Ya.capitalize)((0,Ya.camelize)(L))])??[]].filter(L=>P.has(L))):P}),S=(0,ws.computed)(()=>(0,Ek.generateScript)({vueCompilerOptions:r(),fileName:e,script:i.script,scriptSetup:i.scriptSetup,exposed:y(),scriptRanges:n(),scriptSetupRanges:a(),templateAndStyleTypes:new Set([...d()?.generatedTypes??[],...A()?.generatedTypes??[]]),templateAndStyleCodes:[...A()?.codes??[],...d()?.codes??[]]}));return{getScriptRanges:n,getScriptSetupRanges:a,getGeneratedScript:S,getGeneratedTemplate:d,getImportedComponents:o,getSetupExposed:y}}});var Qd=D(Kc=>{"use strict";Object.defineProperty(Kc,"__esModule",{value:!0});Kc.validVersions=void 0;Kc.validVersions=[2,2.1,2.2]});var Gc=D(ei=>{"use strict";var xk=ei&&ei.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),vk=ei&&ei.__exportStar||function(s,t){for(var e in s)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&xk(t,s,e)},Kt=ei&&ei.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(ei,"__esModule",{value:!0});ei.createPlugins=Kk;var Ok=Kt(Wb()),wk=Kt(Xb()),Lk=Kt(qb()),Mk=Kt(Qb()),Dk=Kt(Jb()),Rk=Kt(Yb()),kk=Kt(zb()),Bk=Kt(eT()),Fk=Kt(tT()),Vk=Kt(rT()),Uk=Kt(fT()),$k=Kt(dT()),jk=Kt(mT()),Hk=Kt(qd()),JT=Qd();vk(kr(),ei);function Kk(s){return[Lk.default,wk.default,Ok.default,Mk.default,Hk.default,Dk.default,Vk.default,Uk.default,$k.default,jk.default,Bk.default,Rk.default,kk.default,Fk.default,...s.vueCompilerOptions.plugins].flatMap(i=>{try{let r=i.__moduleConfig??{},n=i({...s,config:r});if(Array.isArray(n))for(let a=0;a<n.length;a++)n[a].name??=`${r.name} (${a})`;else n.name??=r.name;return n}catch(r){console.warn("[Vue] Failed to create plugin",r)}}).filter(i=>!!i).sort((i,r)=>{let n=i.order??0,a=r.order??0;return n-a}).filter(i=>JT.validVersions.includes(i.version)?!0:(console.warn(`[Vue] Plugin ${i.name} is not compatible with the current Vue language tools version. (version: ${i.version}, supported versions: ${JSON.stringify(JT.validVersions)})`),!1))}});var YT=D(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});Za.VueEmbeddedCode=void 0;Za.useEmbeddedCodes=Xk;var za=Rn(),Gk=wr(),Wk=ad(),Wc=class{constructor(t,e,i){this.id=t,this.lang=e,this.content=i,this.linkedCodeMappings=[],this.embeddedCodes=[]}};Za.VueEmbeddedCode=Wc;function Xk(s,t,e){let i=(0,za.computed)(()=>{let l={};e.template&&(l[e.template.name]=e.template),e.script&&(l[e.script.name]=e.script),e.scriptSetup&&(l[e.scriptSetup.name]=e.scriptSetup);for(let c of e.styles)l[c.name]=c;for(let c of e.customBlocks)l[c.name]=c;return l}),r=s.map(n);return(0,za.computed)(()=>{let l=[],c=new Map,u=r.map(p=>p()).flat().map(({code:p,snapshot:h,mappings:f})=>{let m={id:p.id,languageId:Qk(p.lang),linkedCodeMappings:p.linkedCodeMappings,snapshot:h,mappings:f,embeddedCodes:[]};return c.set(p.id,m),[p.parentCodeId,m]});for(let[p,h]of u){if(!p){l.push(h);continue}let f=c.get(p);f?(f.embeddedCodes??=[],f.embeddedCodes.push(h)):l.push(h)}return l});function n(l){let c=(0,za.computed)(u=>{if(!l.getEmbeddedCodes)return new Map;let p=l.getEmbeddedCodes(t,e),h=new Map;for(let{id:f,lang:m}of p){let d=f+"__"+m;u?.has(d)?h.set(d,u.get(d)):h.set(d,a(f,m))}return h});return(0,za.computed)(()=>{let u=[];for(let p of c().values()){let{code:h,snapshot:f}=p();u.push({code:h,snapshot:f,mappings:o(h)})}return u})}function a(l,c){return(0,za.computed)(()=>{let u=[],p=new Wc(l,c,u);for(let d of s)if(d.resolveEmbeddedCode)try{d.resolveEmbeddedCode(t,e,p)}catch(A){console.error(A)}let h=(0,Gk.toString)(p.content),f=new Map;return{code:p,snapshot:{getText:(d,A)=>h.slice(d,A),getLength:()=>h.length,getChangeRange(d){if(!f.has(d)){f.set(d,void 0);let A=d.getText(0,d.getLength()),y=qk(A,h);y&&f.set(d,y)}return f.get(d)}}}})}function o(l){let c=(0,Wk.buildMappings)(l.content.map(h=>{if(typeof h=="string")return h;let f=h[1];if(f===void 0)return h;let m=i()[f];return m?[h[0],void 0,h[2]+m.startTagEnd,h[3]]:h})),u=[],p=new Map;for(let h=0;h<c.length;h++){let f=c[h];if(f.data.__combineToken!==void 0){let m=f.data.__combineToken;if(p.has(m)){let d=p.get(m);d.sourceOffsets.push(...f.sourceOffsets),d.generatedOffsets.push(...f.generatedOffsets),d.lengths.push(...f.lengths)}else p.set(m,f),u.push(f);continue}if(f.data.__linkedToken!==void 0){let m=f.data.__linkedToken;if(p.has(m)){let d=p.get(m);l.linkedCodeMappings.push({sourceOffsets:[d.generatedOffsets[0]],generatedOffsets:[f.generatedOffsets[0]],lengths:[Number(m.description)],data:void 0})}else p.set(m,f);continue}u.push(f)}return u}}function qk(s,t){for(let e=0;e<s.length&&e<t.length;e++)if(s[e]!==t[e]){let i=s.length;for(let a=0;a<s.length-e&&a<t.length-e&&s[s.length-a-1]===t[t.length-a-1];a++)i--;let r=i-e,n=r+(t.length-s.length);return n<0&&(r-=n,n=0),{span:{start:e,length:r},newLength:n}}}function Qk(s){switch(s){case"js":return"javascript";case"cjs":return"javascript";case"mjs":return"javascript";case"ts":return"typescript";case"cts":return"typescript";case"mts":return"typescript";case"jsx":return"javascriptreact";case"tsx":return"typescriptreact";case"pug":return"jade";case"md":return"markdown"}return s}});var zT=D(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.useIR=Jk;var Ce=Rn(),Bn=Wd();function Jk(s,t,e,i,r){let n=()=>{let x=(0,Ce.setActiveSub)(void 0),v=i();return(0,Ce.setActiveSub)(x),v},a=(0,Ce.computed)(()=>i().getText(0,i().getLength())),o=(0,Bn.computedArray)(()=>r()?.descriptor.comments??[]),l=y("template","html",(0,Ce.computed)(()=>r()?.descriptor.template??void 0),(x,v)=>{let L=A(v);return eo(v,{get ast(){return L().result?.ast},get errors(){return L().errors},get warnings(){return L().warnings}})}),c=y("script","js",(0,Ce.computed)(()=>r()?.descriptor.script??void 0),(x,v)=>{let L=P("__src",v,x),R=(0,Ce.computed)(()=>{for(let I of t){let N=I.compileSFCScript?.(v.lang,v.content);if(N)return N}return s.createSourceFile(e+"."+v.lang,"",99)});return eo(v,{get src(){return L()},get ast(){return R()}})}),u=y("scriptSetup","js",(0,Ce.computed)(()=>r()?.descriptor.scriptSetup??void 0),(x,v)=>{let L=P("__generic",v,x),R=(0,Ce.computed)(()=>{for(let I of t){let N=I.compileSFCScript?.(v.lang,v.content);if(N)return N}return s.createSourceFile(e+"."+v.lang,"",99)});return eo(v,{get generic(){return L()},get ast(){return R()}})}),p=(0,Ce.computed)(()=>!!r()?.descriptor.script),h=(0,Ce.computed)(()=>!!r()?.descriptor.scriptSetup),f=(0,Ce.computed)(()=>!p()&&!h()?{content:"",lang:"ts",name:"",start:0,end:0,startTagEnd:0,endTagStart:0,generic:void 0,genericOffset:0,attrs:{},ast:s.createSourceFile("","",99,!1,s.ScriptKind.TS)}:u()),m=(0,Bn.reactiveArray)(()=>r()?.descriptor.styles??[],(x,v)=>{let L=S("style_"+v,"css",x),R=P("__src",L,x),I=P("__module",L,x),N=(0,Ce.computed)(()=>!!x().scoped),b=(0,Ce.computed)(()=>{for(let C of t){let T=C.compileSFCStyle?.(L.lang,L.content);if(T)return T}}),g=(0,Bn.computedArray)(()=>b()?.imports??[],(C,T)=>C.text===T.text&&C.offset===T.offset),_=(0,Bn.computedArray)(()=>b()?.bindings??[],(C,T)=>C.text===T.text&&C.offset===T.offset),M=(0,Bn.computedArray)(()=>b()?.classNames??[],(C,T)=>C.text===T.text&&C.offset===T.offset);return()=>eo(L,{get src(){return R()},get module(){return I()},get scoped(){return N()},get imports(){return g()},get bindings(){return _()},get classNames(){return M()}})}),d=(0,Bn.reactiveArray)(()=>r()?.descriptor.customBlocks??[],(x,v)=>{let L=S("custom_block_"+v,"txt",x),R=(0,Ce.computed)(()=>x().type);return()=>eo(L,{get type(){return R()}})});return{get content(){return a()},get comments(){return o()},get template(){return l()},get script(){return c()},get scriptSetup(){return f()},get styles(){return m},get customBlocks(){return d}};function A(x){return(0,Ce.computed)(v=>{if(v?.template===x.content)return v;if(v?.result&&v.plugin?.updateSFCTemplate&&!v.errors.length&&!v.warnings.length){let N=n().getChangeRange(v.snapshot);if(N){let b=(0,Ce.setActiveSub)(void 0),g=x.startTagEnd;(0,Ce.setActiveSub)(b);let _=n().getText(N.span.start,N.span.start+N.newLength),M=v.plugin.updateSFCTemplate(v.result,{start:N.span.start-g,end:N.span.start-g+N.span.length,newText:_});if(M)return{snapshot:n(),template:x.content,result:M,plugin:v.plugin,errors:[],warnings:[]}}}let L=[],R=[],I={onError:N=>L.push(N),onWarn:N=>R.push(N),expressionPlugins:["typescript"]};for(let N of t)N.resolveTemplateCompilerOptions&&(I=N.resolveTemplateCompilerOptions(I));for(let N of t)try{let b=N.compileSFCTemplate?.(x.lang,x.content,I);if(b)return{snapshot:n(),template:x.content,result:b,plugin:N,errors:L,warnings:R}}catch(b){return{snapshot:n(),template:x.content,plugin:N,errors:[b],warnings:R}}return{snapshot:n(),template:x.content,errors:L,warnings:R}})}function y(x,v,L,R){let I=(0,Ce.computed)(()=>!!L());return(0,Ce.computed)(()=>{if(!I())return;let N=(0,Ce.computed)(()=>L());return R(N,S(x,v,N))})}function S(x,v,L){let R=(0,Ce.computed)(()=>L().lang??v),I=(0,Ce.computed)(()=>L().attrs),N=(0,Ce.computed)(()=>L().content),b=(0,Ce.computed)(()=>L().loc.start.offset),g=(0,Ce.computed)(()=>L().loc.end.offset),_=(0,Ce.computed)(()=>n().getText(0,b()).lastIndexOf("<"+L().type)),M=(0,Ce.computed)(()=>g()+n().getText(g(),n().getLength()).indexOf(">")+1);return{name:x,get lang(){return R()},get attrs(){return I()},get content(){return N()},get startTagEnd(){return b()},get endTagStart(){return g()},get start(){return _()},get end(){return M()}}}function P(x,v,L){return(0,Ce.computed)(()=>{let R=L()[x];return typeof R=="object"?{...R,offset:v.start+R.offset}:R})}}function eo(s,t){return Object.defineProperties(s,Object.getOwnPropertyDescriptors(t))}});var Zd=D(Xc=>{"use strict";Object.defineProperty(Xc,"__esModule",{value:!0});Xc.VueVirtualCode=void 0;var Yd=Rn(),Yk=Gc(),zk=YT(),Zk=zT(),zd=class{get snapshot(){return this._snapshot()}get vueSfc(){return this._parsedSfcResult()?.result}get ir(){return this._ir}get sfc(){return this._ir}get embeddedCodes(){return this._embeddedCodes()}get mappings(){return this._mappings()}constructor(t,e,i,r,n,a){this.fileName=t,this.languageId=e,this.initSnapshot=i,this.vueCompilerOptions=r,this.id="main",this._snapshot=(0,Yd.signal)(i),this._parsedSfcResult=(0,Yd.computed)(o=>this.parseSfc(n,o)),this._ir=(0,Zk.useIR)(a,n,t,this._snapshot,()=>this._parsedSfcResult()?.result),this._embeddedCodes=(0,zk.useEmbeddedCodes)(n,t,this._ir),this._mappings=(0,Yd.computed)(()=>[{sourceOffsets:[0],generatedOffsets:[0],lengths:[this._snapshot().getLength()],data:Yk.allCodeFeatures}])}update(t){this._snapshot(t)}parseSfc(t,e){let i=this.snapshot;if(e?.plugin.updateSFC&&!e.result.errors.length){let r=i.getChangeRange(e.snapshot);if(r){let n=e.plugin.updateSFC(e.result,{start:r.span.start,end:r.span.start+r.span.length,newText:i.getText(r.span.start,r.span.start+r.newLength)});if(n)return n.descriptor=JSON.parse(JSON.stringify(n.descriptor)),{snapshot:i,plugin:e.plugin,result:n}}}for(let r of t){let n=r.parseSFC2?.(this.fileName,this.languageId,i.getText(0,i.getLength()))??r.parseSFC?.(this.fileName,i.getText(0,i.getLength()));if(n)return{snapshot:i,plugin:r,result:n}}}};Xc.VueVirtualCode=zd});var tC=D(ti=>{"use strict";var eB=ti&&ti.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),tB=ti&&ti.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),ZT=ti&&ti.__importStar||(function(){var s=function(t){return s=Object.getOwnPropertyNames||function(e){var i=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[i.length]=r);return i},s(t)};return function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var i=s(t),r=0;r<i.length;r++)i[r]!=="default"&&eB(e,t,i[r]);return tB(e,t),e}})();Object.defineProperty(ti,"__esModule",{value:!0});ti.createVueLanguagePlugin=cB;ti.getAllExtensions=eC;var sB=bc(),iB=ZT(Ve()),rB=ZT(em()),nB=Gc(),aB=Zd(),oB={};function lB(s,t,e){let i=JSON.stringify([...e.map(r=>r.name).filter(r=>typeof r=="string").sort(),...Object.keys(t).filter(r=>r!=="plugins").sort().map(r=>[r,t[r]]),...[...new Set(e.flatMap(r=>r.requiredCompilerOptions??[]))].sort().map(r=>[r,s[r]])]);return oB[i]??=new Map}function cB(s,t,e,i){let r={modules:{"@vue/compiler-dom":iB,"@vue/language-core":rB,typescript:s},compilerOptions:t,vueCompilerOptions:e,config:{}},n=(0,nB.createPlugins)(r),a=lB(t,e,n);return{getLanguageId(o){let l=i(o);for(let c of n){let u=c.getLanguageId?.(l);if(u)return u}},createVirtualCode(o,l,c){let u=i(o);if(n.some(p=>p.isValidFile?.(u,l))){let p=a.get(String(o));if(p)return p.update(c),p;{let h=new aB.VueVirtualCode(u,l,c,e,n,s);return a.set(String(o),h),h}}},updateVirtualCode(o,l,c){return l.update(c),l},disposeVirtualCode(o){a.delete(String(o))},typescript:{extraFileExtensions:eC(e).map(o=>({extension:o.slice(1),isMixedContent:!0,scriptKind:7})),getServiceScript(o){for(let l of(0,sB.forEachEmbeddedCode)(o))if(/script_(js|jsx|ts|tsx)/.test(l.id)){let c=l.id.slice(7);return{code:l,extension:"."+c,scriptKind:c==="js"?s.ScriptKind.JS:c==="jsx"?s.ScriptKind.JSX:c==="tsx"?s.ScriptKind.TSX:s.ScriptKind.TS}}}}}}function eC(s){return[...new Set(["extensions","vitePressExtensions","petiteVueExtensions"].flatMap(t=>s[t]))]}});var em=D(De=>{"use strict";var uB=De&&De.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var r=Object.getOwnPropertyDescriptor(t,e);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,r)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),Gt=De&&De.__exportStar||function(s,t){for(var e in s)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&uB(t,s,e)};Object.defineProperty(De,"__esModule",{value:!0});De.tsCodegen=De.names=void 0;Gt(Xf(),De);Gt(Qf(),De);Gt(tC(),De);Gt($d(),De);Gt(Kd(),De);Gt(Gc(),De);Gt(Sd(),De);Gt(Qd(),De);Gt(Or(),De);Gt(bd(),De);Gt(Ic(),De);Gt(Ut(),De);Gt(Zd(),De);var pB=nt();Object.defineProperty(De,"names",{enumerable:!0,get:function(){return pB.names}});var hB=qd();Object.defineProperty(De,"tsCodegen",{enumerable:!0,get:function(){return hB.tsCodegen}});Gt(bc(),De)});import nm from"node:os";import Pi from"node:process";import am from"node:assert";import Qc from"node:worker_threads";var ps=5,Jc={CREATE_SERVICE_CODE:0,CREATE_SERVICE_CODE_RESPONSE:1},AC={SOURCE_MAP:1},om={js:0,jsx:1,ts:2,tsx:3};function lm(s){if(Qc.isMainThread){let o=function(f){return new Qc.Worker(s.filename).on("message",m=>{Pi.stdout.write(m),f.tasks++,f.spare==null&&f.tasks>=a&&(f.spare=o(f)),f.tasks>=n&&(f.worker.terminate(),f.worker=f.spare??o(f),f.spare=void 0,f.tasks=0);let d=c.shift();d==null?f.busy=!1:f.worker.postMessage(d)})},h=function(f){if(u.buffer.byteLength<f){let m=Buffer.allocUnsafe(f);u.copy(m),u=m}};var t=o,e=h;let r=Number(Pi.env.GOLAR_PLUGIN_WORKERS)||Math.max(Math.min(nm.cpus().length/2,4),1),n=Number(Pi.env.GOLAR_PLUGIN_WORKER_MAX_TASKS)||s.maxTasksPerWorker||1/0,a=Math.floor(n*.8),l=new Array(r).fill(null).map(()=>{let f={busy:!1,tasks:0};return f.worker=o(f),f}),c=[],u=Buffer.allocUnsafe(1024*1024),p=0;{let f=JSON.stringify({extraExtensions:s.extraExtensions??[]});u.writeUint32LE(Buffer.byteLength(f)),Pi.stdout.write(u.subarray(0,4)),Pi.stdout.write(f)}Pi.stdin.on("end",()=>Pi.exit(0)),Pi.stdin.on("data",f=>{am.ok(f instanceof Buffer,"Data is expected to be buffer"),h(p+f.byteLength),f.copy(u,p),p+=f.byteLength;let m=u.subarray(0,p),d=0;for(;!(m.byteLength<ps);){let A=m.readUInt32LE(1);if(m.byteLength<A+ps)break;let y=l.find(({busy:S})=>!S);y!=null?(y.busy=!0,y.worker.postMessage(m.subarray(0,A+ps))):c.push(Buffer.copyBytesFrom(m,0,A+ps)),d+=A+ps,m=m.subarray(A+ps)}d>0&&(p-=d,u.copyWithin(0,d))})}else{let a=function(o,l){return n.buffer.byteLength<ps+l&&(n=Buffer.allocUnsafe(ps+l)),n.writeUInt8(o),n.writeUInt32LE(l,1),n.subarray(0,ps+l)};var i=a;let{parentPort:r}=Qc;am.ok(r);let n=Buffer.allocUnsafe(1024*1024);r.on("message",async function(o){let l=Buffer.from(o);switch(l.readUInt8(0)){case Jc.CREATE_SERVICE_CODE:{let u=ps,p=l.readBigUInt64LE(u),h=l.readUInt32LE(u+=8),f=l.subarray(u+=4,u+h).toString("utf8");u+=h;let m=l.readUInt32LE(u),d=l.subarray(u+=4,u+m).toString("utf8");u+=m;let A=await s.createServiceCode(f,d);if("sourceMap"in A){let y=Buffer.byteLength(A.serviceText),S=Buffer.byteLength(A.sourceMap),P=a(Jc.CREATE_SERVICE_CODE_RESPONSE,14+y+4+S);u=ps,u=P.writeBigUInt64LE(p,u),u=P.writeUInt8(AC.SOURCE_MAP,u),u=P.writeUInt8(om[A.scriptKind],u),u=P.writeUInt32LE(y,u),u+=P.write(A.serviceText,u),u=P.writeUInt32LE(S,u),u=P.write(A.sourceMap,u);let x=new Uint8Array(P);r.postMessage(x,[x.buffer])}else{let y=Buffer.byteLength(A.serviceText),S=A.mappings.length*16,P=(A.ignoreMappings?.length??0)*8,x=A.mappingSuppressedCodes?.length??0,v=a(Jc.CREATE_SERVICE_CODE_RESPONSE,14+y+4+S+4+P+4+x);u=ps,u=v.writeBigUInt64LE(p,u),u=v.writeUInt8(0,u),u=v.writeUInt8(om[A.scriptKind],u),u=v.writeUInt32LE(y,u),u+=v.write(A.serviceText,u),u=v.writeUInt32LE(A.mappings.length,u);let L=(nm.endianness()==="LE"?v.writeUint32LE:v.writeUint32BE).bind(v);for(let I of A.mappings)for(let N of[I.sourceOffset,I.serviceOffset,I.sourceLength,I.serviceLength??I.sourceLength])u=L(N,u);u=v.writeUInt32LE(A.ignoreMappings?.length??0,u);for(let I of A.ignoreMappings??[])u=L(I.serviceOffset,u),u=L(I.serviceLength,u);u=v.writeUInt32LE(x,u);for(let I of A.mappingSuppressedCodes??[])u=v.writeUInt8(I,u);let R=new Uint8Array(v);r.postMessage(R,[R.buffer])}}}})}}import{createHash as gC}from"node:crypto";import no from"node:fs";import cm from"node:path";var yC=500,EC=[2339,2353,2551,2561,6133];function SC(s){if(typeof s!="object"||s===null)return 0;let t=s.shouldReport;if(typeof t!="function")return 0;let e=0;for(let[i,r]of EC.entries())t(void 0,r)||(e|=1<<i);return e}function bC(s){try{return JSON.parse(no.readFileSync(s,"utf8"))}catch{return}}function TC(s,t){try{no.mkdirSync(cm.dirname(s),{recursive:!0});let e=`${s}.${process.pid}.${Math.random().toString(36).slice(2)}.tmp`;no.writeFileSync(e,JSON.stringify(t)),no.renameSync(e,s)}catch{}}function um(s){lm({filename:s.filename,extraExtensions:s.languagePlugins.flatMap(i=>i.typescript?.extraFileExtensions?.map(r=>`.${r.extension}`)??[]),maxTasksPerWorker:s.languagePlugins.every(i=>i.disposeVirtualCode!=null)?void 0:yC,async createServiceCode(i,r){let n=s.cache?cm.join(s.cache.dir,gC("sha256").update(s.cache.key).update("\0").update(i).update("\0").update(r).digest("hex")+".json"):void 0;if(n){let o=bC(n);if(o)return o}let a=t(i,r);return n&&TC(n,a),a}});function t(i,r){for(let n of s.languagePlugins){if(n.createVirtualCode==null)continue;let a=n.getLanguageId(i);if(a==null)continue;let o=n.createVirtualCode(i,a,{getLength(){return r.length},getText(l,c){return r.slice(l,c)},dispose(){},getChangeRange(){}},{getAssociatedScript(l){}});if(o!=null)try{return e(n,o,r)}finally{n.disposeVirtualCode?.(i,o)}}throw new Error("Unknown language")}function e(i,r,n){let a=i.typescript.getServiceScript(r),o=a.code.snapshot.getText(0,a.code.snapshot.getLength()),l=a.code.mappings.filter(L=>L.data.verification),c=new Set,u=new Set;for(let L of l){for(let[R,I]of L.sourceOffsets.entries())c.add(I),c.add(I+L.lengths[R]);for(let[R,I]of L.generatedOffsets.entries())u.add(I),u.add(I+(L.generatedLengths??L.lengths)[R])}let p=new Map,h=new Map,f=0,m=Array.from(c).sort((L,R)=>L-R);for(let[L,R]of m.entries())p.set(R,f+=Buffer.byteLength(n.slice(m[L-1]??0,R)));f=0;let d=Array.from(u).sort((L,R)=>L-R);for(let[L,R]of d.entries())h.set(R,f+=Buffer.byteLength(o.slice(d[L-1]??0,R)));let A=[],y=[],S=l.flatMap(L=>{let R=SC(L.data.verification);for(let I=0;I<L.sourceOffsets.length;I++)y.push(R);return L.sourceOffsets.map((I,N)=>{let b=L.generatedOffsets[N],g=L.lengths[N],_=L.generatedLengths?.[N]??g;_>0&&A.push([h.get(b),h.get(b+_)]);let M=p.get(I),C=h.get(b);return{sourceOffset:M,serviceOffset:C,sourceLength:p.get(I+g)-M,serviceLengths:h.get(b+_)-C}})});A.sort((L,R)=>L[0]-R[0]||L[1]-R[1]);let P=[];for(let[L,R]of A){let I=P.at(-1);I?L<=I[1]?I[1]=Math.max(I[1],R):P.push([L,R]):P.push([L,R])}let x=[],v=0;for(let[L,R]of P)L>v&&x.push({serviceOffset:v,serviceLength:L-v}),v=Math.max(v,R);return x.push({serviceOffset:v,serviceLength:Buffer.byteLength(o)-v}),{serviceText:o,scriptKind:CC(a?.scriptKind),mappings:S,ignoreMappings:x,mappingSuppressedCodes:y}}}function CC(s){switch(s){case 1:return"js";case 2:return"jsx";case 3:return"ts";case 4:return"tsx";default:return"ts"}}var dB=mC(em(),1);var sC={name:"@vue/language-core",version:"3.3.4",license:"MIT",files:["index.d.ts","index.js","lib/**/*.d.ts","lib/**/*.js","types"],sideEffects:!1,repository:{type:"git",url:"https://github.com/vuejs/language-tools.git",directory:"packages/language-core"},scripts:{"generate-names":"node scripts/generate-names.js"},dependencies:{"@volar/language-core":"2.4.28","@vue/compiler-dom":"^3.5.0","@vue/shared":"^3.5.0","alien-signals":"^3.2.0","muggle-string":"^0.4.1","path-browserify":"^1.0.1",picomatch:"^4.0.4"},devDependencies:{"@types/node":"^24.1.0","@types/path-browserify":"^1.0.3","@types/picomatch":"^4.0.3","@volar/typescript":"2.4.28","@vue/compiler-sfc":"^3.5.0"},gitHead:"043a77b6182db32f4076f84a767c1c674ef2b149"};import{createRequire as iC}from"node:module";import mB from"node:os";import Fn from"node:path";import io from"node:process";import{fileURLToPath as AB}from"node:url";import{isMainThread as nC}from"node:worker_threads";function tm(s){console.error(`vue-go-tsc: Volar codegen: ${s}
|
|
104
|
+
(run with --codegen=go to use the built-in Go codegen instead)`),io.exit(1)}var to=Fn.resolve(io.env.GOLAR_VUE_TSCONFIG??"tsconfig.json"),sm=Fn.dirname(to);function gB(){let s=iC(Fn.join(sm,"package.json")),t,e;try{e=Fn.dirname(s.resolve("vue-tsc/package.json")),t=iC(Fn.join(e,"package.json"))}catch{}let i;try{i=(t??s)("typescript")}catch{tm(`cannot resolve "typescript" from ${sm}`)}if(t)try{return{core:t("@vue/language-core"),ts:i,coreVersion:t("@vue/language-core/package.json").version,source:e}}catch(r){tm(`cannot load @vue/language-core from ${e}: ${r.message}`)}return{core:dB,ts:i,coreVersion:sC.version,source:"bundled"}}var{core:im,ts:Yi,coreVersion:aC,source:oC}=gB();function lC(s){if(nC)return s();let t={log:console.log,info:console.info,warn:console.warn,error:console.error};console.log=console.info=console.warn=console.error=()=>{};try{return s()}finally{Object.assign(console,t)}}var so;try{so=lC(()=>Yi.sys.fileExists(to)?im.createParsedCommandLine(Yi,Yi.sys,to):im.createParsedCommandLineByJson(Yi,Yi.sys,sm,{}))}catch(s){tm(`cannot read ${to}: ${s.message}`)}io.env.GOLAR_VUE_DEBUG&&nC&&console.error(`[vue-go-tsc] Volar codegen: @vue/language-core ${aC} (${oC}), TypeScript ${Yi.version}, tsconfig ${to}`);var yB=lC(()=>im.createVueLanguagePlugin(Yi,so.options,so.vueOptions,s=>s));function EB(){try{return JSON.stringify([aC,oC,Yi.version,so.vueOptions,so.options])}catch{return}}var rC=io.env.GOLAR_VUE_CACHE==="0"?void 0:EB();um({filename:AB(import.meta.url),languagePlugins:[yB],cache:rC===void 0?void 0:{dir:io.env.GOLAR_VUE_CACHE_DIR??Fn.join(mB.homedir(),".cache","vue-go-tsc","volar-codegen"),key:rC}});
|
|
105
105
|
/*! For license information please see plugin.mjs.LEGAL.txt */
|