@skaldapp/runtime 3.1.13 → 3.1.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- import{b as e}from"./unocss-ermFjJsI.js";import{ssrUtils as t,initDirectivesForSSR as s}from"vue";function r(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return e=>e in t}const n=Object.freeze({}),i=()=>{},o=()=>!1,a=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),c=Object.assign,l=Object.prototype.hasOwnProperty,h=(e,t)=>l.call(e,t),p=Array.isArray,u=e=>"function"==typeof e,d=e=>"string"==typeof e,f=e=>"symbol"==typeof e,m=e=>null!==e&&"object"==typeof e,A=Object.prototype.toString,g=e=>A.call(e),y=e=>"[object Object]"===g(e),x=r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),b=r("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),S=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},E=/-\w/g,v=S(e=>e.replace(E,e=>e.slice(1).toUpperCase())),w=/\B([A-Z])/g,C=S(e=>e.replace(w,"-$1").toLowerCase()),I=S(e=>e.charAt(0).toUpperCase()+e.slice(1)),T=S(e=>e?`on${I(e)}`:""),P=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function N(e){return P.test(e)?`__props.${e}`:`__props[${JSON.stringify(e)}]`}const k={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"},O={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},_=r("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");function D(e,t=0,s=e.length){if((t=Math.max(0,Math.min(t,e.length)))>(s=Math.max(0,Math.min(s,e.length))))return"";let r=e.split(/(\r?\n)/);const n=r.filter((e,t)=>t%2==1);r=r.filter((e,t)=>t%2==0);let i=0;const o=[];for(let a=0;a<r.length;a++)if(i+=r[a].length+(n[a]&&n[a].length||0),i>=t){for(let e=a-2;e<=a+2||s>i;e++){if(e<0||e>=r.length)continue;const c=e+1;o.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${r[e]}`);const l=r[e].length,h=n[e]&&n[e].length||0;if(e===a){const e=t-(i-(l+h)),r=Math.max(1,s>i?l-e:s-t);o.push(" | "+" ".repeat(e)+"^".repeat(r))}else if(e>a){if(s>i){const e=Math.max(Math.min(s-i,l),1);o.push(" | "+"^".repeat(e))}i+=l+h}}break}return o.join("\n")}function L(e){if(p(e)){const t={};for(let s=0;s<e.length;s++){const r=e[s],n=d(r)?F(r):L(r);if(n)for(const e in n)t[e]=n[e]}return t}if(d(e)||m(e))return e}const M=/;(?![^(]*\))/g,B=/:([^]+)/,R=/\/\*[^]*?\*\//g;function F(e){const t={};return e.replace(R,"").split(M).forEach(e=>{if(e){const s=e.split(B);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function U(e){if(!e)return"";if(d(e))return e;let t="";for(const s in e){const r=e[s];if(d(r)||"number"==typeof r){t+=`${s.startsWith("--")?s:C(s)}:${r};`}}return t}function j(e){let t="";if(d(e))t=e;else if(p(e))for(let s=0;s<e.length;s++){const r=j(e[s]);r&&(t+=r+" ")}else if(m(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const G=r("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"),Q=r("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"),W=r("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"),K=r("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),V=r("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),Y=/[>/="'\u0009\u000a\u000c\u0020]/,J={};function H(e){if(J.hasOwnProperty(e))return J[e];const t=Y.test(e);return t&&console.error(`unsafe attribute name: ${e}`),J[e]=!t}const $={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},X=r("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"),Z=r("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"),q=r("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"),z=/["'&<>]/;function ee(e){const t=""+e,s=z.exec(t);if(!s)return t;let r,n,i="",o=0;for(n=s.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}o!==n&&(i+=t.slice(o,n)),o=n+1,i+=r}return o!==n?i+t.slice(o,n):i}const te=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g;const se=e=>!(!e||!0!==e.__v_isRef),re=e=>d(e)?e:null==e?"":p(e)||m(e)&&(e.toString===A||!u(e.toString))?se(e)?re(e.value):JSON.stringify(e,ne,2):String(e),ne=(e,t)=>se(t)?ne(e,t.value):(e=>"[object Map]"===g(e))(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,s],r)=>(e[ie(t,r)+" =>"]=s,e),{})}:(e=>"[object Set]"===g(e))(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>ie(e))}:f(t)?ie(t):!m(t)||p(t)||y(t)?t:String(t),ie=(e,t="")=>{var s;return f(e)?`Symbol(${null!=(s=e.description)?s:t})`:e},oe=Symbol("Fragment"),ae=Symbol("Teleport"),ce=Symbol("Suspense"),le=Symbol("KeepAlive"),he=Symbol("BaseTransition"),pe=Symbol("openBlock"),ue=Symbol("createBlock"),de=Symbol("createElementBlock"),fe=Symbol("createVNode"),me=Symbol("createElementVNode"),Ae=Symbol("createCommentVNode"),ge=Symbol("createTextVNode"),ye=Symbol("createStaticVNode"),xe=Symbol("resolveComponent"),be=Symbol("resolveDynamicComponent"),Se=Symbol("resolveDirective"),Ee=Symbol("resolveFilter"),ve=Symbol("withDirectives"),we=Symbol("renderList"),Ce=Symbol("renderSlot"),Ie=Symbol("createSlots"),Te=Symbol("toDisplayString"),Pe=Symbol("mergeProps"),Ne=Symbol("normalizeClass"),ke=Symbol("normalizeStyle"),Oe=Symbol("normalizeProps"),_e=Symbol("guardReactiveProps"),De=Symbol("toHandlers"),Le=Symbol("camelize"),Me=Symbol("capitalize"),Be=Symbol("toHandlerKey"),Re=Symbol("setBlockTracking"),Fe=Symbol("pushScopeId"),Ue=Symbol("popScopeId"),je=Symbol("withCtx"),Ge=Symbol("unref"),Qe=Symbol("isRef"),We=Symbol("withMemo"),Ke=Symbol("isMemoSame"),Ve={[oe]:"Fragment",[ae]:"Teleport",[ce]:"Suspense",[le]:"KeepAlive",[he]:"BaseTransition",[pe]:"openBlock",[ue]:"createBlock",[de]:"createElementBlock",[fe]:"createVNode",[me]:"createElementVNode",[Ae]:"createCommentVNode",[ge]:"createTextVNode",[ye]:"createStaticVNode",[xe]:"resolveComponent",[be]:"resolveDynamicComponent",[Se]:"resolveDirective",[Ee]:"resolveFilter",[ve]:"withDirectives",[we]:"renderList",[Ce]:"renderSlot",[Ie]:"createSlots",[Te]:"toDisplayString",[Pe]:"mergeProps",[Ne]:"normalizeClass",[ke]:"normalizeStyle",[Oe]:"normalizeProps",[_e]:"guardReactiveProps",[De]:"toHandlers",[Le]:"camelize",[Me]:"capitalize",[Be]:"toHandlerKey",[Re]:"setBlockTracking",[Fe]:"pushScopeId",[Ue]:"popScopeId",[je]:"withCtx",[Ge]:"unref",[Qe]:"isRef",[We]:"withMemo",[Ke]:"isMemoSame"};function Ye(e){Object.getOwnPropertySymbols(e).forEach(t=>{Ve[t]=e[t]})}const Je={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function He(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Je}}function $e(e,t,s,r,n,i,o,a=!1,c=!1,l=!1,h=Je){return e&&(a?(e.helper(pe),e.helper(dt(e.inSSR,l))):e.helper(ut(e.inSSR,l)),o&&e.helper(ve)),{type:13,tag:t,props:s,children:r,patchFlag:n,dynamicProps:i,directives:o,isBlock:a,disableTracking:c,isComponent:l,loc:h}}function Xe(e,t=Je){return{type:17,loc:t,elements:e}}function Ze(e,t=Je){return{type:15,loc:t,properties:e}}function qe(e,t){return{type:16,loc:Je,key:d(e)?ze(e,!0):e,value:t}}function ze(e,t=!1,s=Je,r=0){return{type:4,loc:s,content:e,isStatic:t,constType:t?3:r}}function et(e,t){return{type:5,loc:t,content:d(e)?ze(e,!1,t):e}}function tt(e,t=Je){return{type:8,loc:t,children:e}}function st(e,t=[],s=Je){return{type:14,loc:s,callee:e,arguments:t}}function rt(e,t=void 0,s=!1,r=!1,n=Je){return{type:18,params:e,returns:t,newline:s,isSlot:r,loc:n}}function nt(e,t,s,r=!0){return{type:19,test:e,consequent:t,alternate:s,newline:r,loc:Je}}function it(e,t,s=!1,r=!1){return{type:20,index:e,value:t,needPauseTracking:s,inVOnce:r,needArraySpread:!1,loc:Je}}function ot(e){return{type:21,body:e,loc:Je}}function at(e){return{type:22,elements:e,loc:Je}}function ct(e,t,s){return{type:23,test:e,consequent:t,alternate:s,loc:Je}}function lt(e,t){return{type:24,left:e,right:t,loc:Je}}function ht(e){return{type:25,expressions:e,loc:Je}}function pt(e){return{type:26,returns:e,loc:Je}}function ut(e,t){return e||t?fe:me}function dt(e,t){return e||t?ue:de}function ft(e,{helper:t,removeHelper:s,inSSR:r}){e.isBlock||(e.isBlock=!0,s(ut(r,e.isComponent)),t(pe),t(dt(r,e.isComponent)))}var mt;const At=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]]),gt=null!==(mt=String.fromCodePoint)&&void 0!==mt?mt:e=>{let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var yt="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},xt=[],bt=[],St="undefined"!=typeof Uint8Array?Uint8Array:Array,Et=!1;function vt(){Et=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)xt[t]=e[t],bt[e.charCodeAt(t)]=t;bt["-".charCodeAt(0)]=62,bt["_".charCodeAt(0)]=63}function wt(e){return xt[e>>18&63]+xt[e>>12&63]+xt[e>>6&63]+xt[63&e]}function Ct(e,t,s){for(var r,n=[],i=t;i<s;i+=3)r=(e[i]<<16)+(e[i+1]<<8)+e[i+2],n.push(wt(r));return n.join("")}function It(e){var t;Et||vt();for(var s=e.length,r=s%3,n="",i=[],o=16383,a=0,c=s-r;a<c;a+=o)i.push(Ct(e,a,a+o>c?c:a+o));return 1===r?(t=e[s-1],n+=xt[t>>2],n+=xt[t<<4&63],n+="=="):2===r&&(t=(e[s-2]<<8)+e[s-1],n+=xt[t>>10],n+=xt[t>>4&63],n+=xt[t<<2&63],n+="="),i.push(n),i.join("")}function Tt(e,t,s,r,n){var i,o,a=8*n-r-1,c=(1<<a)-1,l=c>>1,h=-7,p=s?n-1:0,u=s?-1:1,d=e[t+p];for(p+=u,i=d&(1<<-h)-1,d>>=-h,h+=a;h>0;i=256*i+e[t+p],p+=u,h-=8);for(o=i&(1<<-h)-1,i>>=-h,h+=r;h>0;o=256*o+e[t+p],p+=u,h-=8);if(0===i)i=1-l;else{if(i===c)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,r),i-=l}return(d?-1:1)*o*Math.pow(2,i-r)}function Pt(e,t,s,r,n,i){var o,a,c,l=8*i-n-1,h=(1<<l)-1,p=h>>1,u=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:i-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=h):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+p>=1?u/c:u*Math.pow(2,1-p))*c>=2&&(o++,c/=2),o+p>=h?(a=0,o=h):o+p>=1?(a=(t*c-1)*Math.pow(2,n),o+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,n),o=0));n>=8;e[s+d]=255&a,d+=f,a/=256,n-=8);for(o=o<<n|a,l+=n;l>0;e[s+d]=255&o,d+=f,o/=256,l-=8);e[s+d-f]|=128*m}var Nt={}.toString,kt=Array.isArray||function(e){return"[object Array]"==Nt.call(e)};function Ot(){return Dt.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function _t(e,t){if(Ot()<t)throw new RangeError("Invalid typed array length");return Dt.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=Dt.prototype:(null===e&&(e=new Dt(t)),e.length=t),e}function Dt(e,t,s){if(!(Dt.TYPED_ARRAY_SUPPORT||this instanceof Dt))return new Dt(e,t,s);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return Bt(this,e)}return Lt(this,e,t,s)}function Lt(e,t,s,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,s,r){if(t.byteLength,s<0||t.byteLength<s)throw new RangeError("'offset' is out of bounds");if(t.byteLength<s+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===s&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,s):new Uint8Array(t,s,r);Dt.TYPED_ARRAY_SUPPORT?(e=t).__proto__=Dt.prototype:e=Rt(e,t);return e}(e,t,s,r):"string"==typeof t?function(e,t,s){"string"==typeof s&&""!==s||(s="utf8");if(!Dt.isEncoding(s))throw new TypeError('"encoding" must be a valid string encoding');var r=0|jt(t,s);e=_t(e,r);var n=e.write(t,s);n!==r&&(e=e.slice(0,n));return e}(e,t,s):function(e,t){if(Ut(t)){var s=0|Ft(t.length);return 0===(e=_t(e,s)).length||t.copy(e,0,0,s),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?_t(e,0):Rt(e,t);if("Buffer"===t.type&&kt(t.data))return Rt(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function Mt(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function Bt(e,t){if(Mt(t),e=_t(e,t<0?0:0|Ft(t)),!Dt.TYPED_ARRAY_SUPPORT)for(var s=0;s<t;++s)e[s]=0;return e}function Rt(e,t){var s=t.length<0?0:0|Ft(t.length);e=_t(e,s);for(var r=0;r<s;r+=1)e[r]=255&t[r];return e}function Ft(e){if(e>=Ot())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ot().toString(16)+" bytes");return 0|e}function Ut(e){return!(null==e||!e._isBuffer)}function jt(e,t){if(Ut(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var s=e.length;if(0===s)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":case void 0:return ds(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*s;case"hex":return s>>>1;case"base64":return fs(e).length;default:if(r)return ds(e).length;t=(""+t).toLowerCase(),r=!0}}function Gt(e,t,s){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===s||s>this.length)&&(s=this.length),s<=0)return"";if((s>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return ss(this,t,s);case"utf8":case"utf-8":return qt(this,t,s);case"ascii":return es(this,t,s);case"latin1":case"binary":return ts(this,t,s);case"base64":return Zt(this,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rs(this,t,s);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Qt(e,t,s){var r=e[t];e[t]=e[s],e[s]=r}function Wt(e,t,s,r,n){if(0===e.length)return-1;if("string"==typeof s?(r=s,s=0):s>2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),s=+s,isNaN(s)&&(s=n?0:e.length-1),s<0&&(s=e.length+s),s>=e.length){if(n)return-1;s=e.length-1}else if(s<0){if(!n)return-1;s=0}if("string"==typeof t&&(t=Dt.from(t,r)),Ut(t))return 0===t.length?-1:Kt(e,t,s,r,n);if("number"==typeof t)return t&=255,Dt.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,s):Uint8Array.prototype.lastIndexOf.call(e,t,s):Kt(e,[t],s,r,n);throw new TypeError("val must be string, number or Buffer")}function Kt(e,t,s,r,n){var i,o=1,a=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;o=2,a/=2,c/=2,s/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){var h=-1;for(i=s;i<a;i++)if(l(e,i)===l(t,-1===h?0:i-h)){if(-1===h&&(h=i),i-h+1===c)return h*o}else-1!==h&&(i-=i-h),h=-1}else for(s+c>a&&(s=a-c),i=s;i>=0;i--){for(var p=!0,u=0;u<c;u++)if(l(e,i+u)!==l(t,u)){p=!1;break}if(p)return i}return-1}function Vt(e,t,s,r){s=Number(s)||0;var n=e.length-s;r?(r=Number(r))>n&&(r=n):r=n;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var o=0;o<r;++o){var a=parseInt(t.substr(2*o,2),16);if(isNaN(a))return o;e[s+o]=a}return o}function Yt(e,t,s,r){return ms(ds(t,e.length-s),e,s,r)}function Jt(e,t,s,r){return ms(function(e){for(var t=[],s=0;s<e.length;++s)t.push(255&e.charCodeAt(s));return t}(t),e,s,r)}function Ht(e,t,s,r){return Jt(e,t,s,r)}function $t(e,t,s,r){return ms(fs(t),e,s,r)}function Xt(e,t,s,r){return ms(function(e,t){for(var s,r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=(s=e.charCodeAt(o))>>8,n=s%256,i.push(n),i.push(r);return i}(t,e.length-s),e,s,r)}function Zt(e,t,s){return 0===t&&s===e.length?It(e):It(e.slice(t,s))}function qt(e,t,s){s=Math.min(e.length,s);for(var r=[],n=t;n<s;){var i,o,a,c,l=e[n],h=null,p=l>239?4:l>223?3:l>191?2:1;if(n+p<=s)switch(p){case 1:l<128&&(h=l);break;case 2:128==(192&(i=e[n+1]))&&(c=(31&l)<<6|63&i)>127&&(h=c);break;case 3:i=e[n+1],o=e[n+2],128==(192&i)&&128==(192&o)&&(c=(15&l)<<12|(63&i)<<6|63&o)>2047&&(c<55296||c>57343)&&(h=c);break;case 4:i=e[n+1],o=e[n+2],a=e[n+3],128==(192&i)&&128==(192&o)&&128==(192&a)&&(c=(15&l)<<18|(63&i)<<12|(63&o)<<6|63&a)>65535&&c<1114112&&(h=c)}null===h?(h=65533,p=1):h>65535&&(h-=65536,r.push(h>>>10&1023|55296),h=56320|1023&h),r.push(h),n+=p}return function(e){var t=e.length;if(t<=zt)return String.fromCharCode.apply(String,e);var s="",r=0;for(;r<t;)s+=String.fromCharCode.apply(String,e.slice(r,r+=zt));return s}(r)}Dt.TYPED_ARRAY_SUPPORT=void 0===yt.TYPED_ARRAY_SUPPORT||yt.TYPED_ARRAY_SUPPORT,Ot(),Dt.poolSize=8192,Dt._augment=function(e){return e.__proto__=Dt.prototype,e},Dt.from=function(e,t,s){return Lt(null,e,t,s)},Dt.TYPED_ARRAY_SUPPORT&&(Dt.prototype.__proto__=Uint8Array.prototype,Dt.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&Dt[Symbol.species]),Dt.alloc=function(e,t,s){return function(e,t,s,r){return Mt(t),t<=0?_t(e,t):void 0!==s?"string"==typeof r?_t(e,t).fill(s,r):_t(e,t).fill(s):_t(e,t)}(null,e,t,s)},Dt.allocUnsafe=function(e){return Bt(null,e)},Dt.allocUnsafeSlow=function(e){return Bt(null,e)},Dt.isBuffer=function(e){return null!=e&&(!!e._isBuffer||As(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&As(e.slice(0,0))}(e))},Dt.compare=function(e,t){if(!Ut(e)||!Ut(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var s=e.length,r=t.length,n=0,i=Math.min(s,r);n<i;++n)if(e[n]!==t[n]){s=e[n],r=t[n];break}return s<r?-1:r<s?1:0},Dt.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},Dt.concat=function(e,t){if(!kt(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return Dt.alloc(0);var s;if(void 0===t)for(t=0,s=0;s<e.length;++s)t+=e[s].length;var r=Dt.allocUnsafe(t),n=0;for(s=0;s<e.length;++s){var i=e[s];if(!Ut(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,n),n+=i.length}return r},Dt.byteLength=jt,Dt.prototype._isBuffer=!0,Dt.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)Qt(this,t,t+1);return this},Dt.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)Qt(this,t,t+3),Qt(this,t+1,t+2);return this},Dt.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)Qt(this,t,t+7),Qt(this,t+1,t+6),Qt(this,t+2,t+5),Qt(this,t+3,t+4);return this},Dt.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?qt(this,0,e):Gt.apply(this,arguments)},Dt.prototype.equals=function(e){if(!Ut(e))throw new TypeError("Argument must be a Buffer");return this===e||0===Dt.compare(this,e)},Dt.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},Dt.prototype.compare=function(e,t,s,r,n){if(!Ut(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===s&&(s=e?e.length:0),void 0===r&&(r=0),void 0===n&&(n=this.length),t<0||s>e.length||r<0||n>this.length)throw new RangeError("out of range index");if(r>=n&&t>=s)return 0;if(r>=n)return-1;if(t>=s)return 1;if(this===e)return 0;for(var i=(n>>>=0)-(r>>>=0),o=(s>>>=0)-(t>>>=0),a=Math.min(i,o),c=this.slice(r,n),l=e.slice(t,s),h=0;h<a;++h)if(c[h]!==l[h]){i=c[h],o=l[h];break}return i<o?-1:o<i?1:0},Dt.prototype.includes=function(e,t,s){return-1!==this.indexOf(e,t,s)},Dt.prototype.indexOf=function(e,t,s){return Wt(this,e,t,s,!0)},Dt.prototype.lastIndexOf=function(e,t,s){return Wt(this,e,t,s,!1)},Dt.prototype.write=function(e,t,s,r){if(void 0===t)r="utf8",s=this.length,t=0;else if(void 0===s&&"string"==typeof t)r=t,s=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(s)?(s|=0,void 0===r&&(r="utf8")):(r=s,s=void 0)}var n=this.length-t;if((void 0===s||s>n)&&(s=n),e.length>0&&(s<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return Vt(this,e,t,s);case"utf8":case"utf-8":return Yt(this,e,t,s);case"ascii":return Jt(this,e,t,s);case"latin1":case"binary":return Ht(this,e,t,s);case"base64":return $t(this,e,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Xt(this,e,t,s);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},Dt.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var zt=4096;function es(e,t,s){var r="";s=Math.min(e.length,s);for(var n=t;n<s;++n)r+=String.fromCharCode(127&e[n]);return r}function ts(e,t,s){var r="";s=Math.min(e.length,s);for(var n=t;n<s;++n)r+=String.fromCharCode(e[n]);return r}function ss(e,t,s){var r=e.length;(!t||t<0)&&(t=0),(!s||s<0||s>r)&&(s=r);for(var n="",i=t;i<s;++i)n+=us(e[i]);return n}function rs(e,t,s){for(var r=e.slice(t,s),n="",i=0;i<r.length;i+=2)n+=String.fromCharCode(r[i]+256*r[i+1]);return n}function ns(e,t,s){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>s)throw new RangeError("Trying to access beyond buffer length")}function is(e,t,s,r,n,i){if(!Ut(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<i)throw new RangeError('"value" argument is out of bounds');if(s+r>e.length)throw new RangeError("Index out of range")}function os(e,t,s,r){t<0&&(t=65535+t+1);for(var n=0,i=Math.min(e.length-s,2);n<i;++n)e[s+n]=(t&255<<8*(r?n:1-n))>>>8*(r?n:1-n)}function as(e,t,s,r){t<0&&(t=4294967295+t+1);for(var n=0,i=Math.min(e.length-s,4);n<i;++n)e[s+n]=t>>>8*(r?n:3-n)&255}function cs(e,t,s,r,n,i){if(s+r>e.length)throw new RangeError("Index out of range");if(s<0)throw new RangeError("Index out of range")}function ls(e,t,s,r,n){return n||cs(e,0,s,4),Pt(e,t,s,r,23,4),s+4}function hs(e,t,s,r,n){return n||cs(e,0,s,8),Pt(e,t,s,r,52,8),s+8}Dt.prototype.slice=function(e,t){var s,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),Dt.TYPED_ARRAY_SUPPORT)(s=this.subarray(e,t)).__proto__=Dt.prototype;else{var n=t-e;s=new Dt(n,void 0);for(var i=0;i<n;++i)s[i]=this[i+e]}return s},Dt.prototype.readUIntLE=function(e,t,s){e|=0,t|=0,s||ns(e,t,this.length);for(var r=this[e],n=1,i=0;++i<t&&(n*=256);)r+=this[e+i]*n;return r},Dt.prototype.readUIntBE=function(e,t,s){e|=0,t|=0,s||ns(e,t,this.length);for(var r=this[e+--t],n=1;t>0&&(n*=256);)r+=this[e+--t]*n;return r},Dt.prototype.readUInt8=function(e,t){return t||ns(e,1,this.length),this[e]},Dt.prototype.readUInt16LE=function(e,t){return t||ns(e,2,this.length),this[e]|this[e+1]<<8},Dt.prototype.readUInt16BE=function(e,t){return t||ns(e,2,this.length),this[e]<<8|this[e+1]},Dt.prototype.readUInt32LE=function(e,t){return t||ns(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Dt.prototype.readUInt32BE=function(e,t){return t||ns(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Dt.prototype.readIntLE=function(e,t,s){e|=0,t|=0,s||ns(e,t,this.length);for(var r=this[e],n=1,i=0;++i<t&&(n*=256);)r+=this[e+i]*n;return r>=(n*=128)&&(r-=Math.pow(2,8*t)),r},Dt.prototype.readIntBE=function(e,t,s){e|=0,t|=0,s||ns(e,t,this.length);for(var r=t,n=1,i=this[e+--r];r>0&&(n*=256);)i+=this[e+--r]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},Dt.prototype.readInt8=function(e,t){return t||ns(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Dt.prototype.readInt16LE=function(e,t){t||ns(e,2,this.length);var s=this[e]|this[e+1]<<8;return 32768&s?4294901760|s:s},Dt.prototype.readInt16BE=function(e,t){t||ns(e,2,this.length);var s=this[e+1]|this[e]<<8;return 32768&s?4294901760|s:s},Dt.prototype.readInt32LE=function(e,t){return t||ns(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Dt.prototype.readInt32BE=function(e,t){return t||ns(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Dt.prototype.readFloatLE=function(e,t){return t||ns(e,4,this.length),Tt(this,e,!0,23,4)},Dt.prototype.readFloatBE=function(e,t){return t||ns(e,4,this.length),Tt(this,e,!1,23,4)},Dt.prototype.readDoubleLE=function(e,t){return t||ns(e,8,this.length),Tt(this,e,!0,52,8)},Dt.prototype.readDoubleBE=function(e,t){return t||ns(e,8,this.length),Tt(this,e,!1,52,8)},Dt.prototype.writeUIntLE=function(e,t,s,r){(e=+e,t|=0,s|=0,r)||is(this,e,t,s,Math.pow(2,8*s)-1,0);var n=1,i=0;for(this[t]=255&e;++i<s&&(n*=256);)this[t+i]=e/n&255;return t+s},Dt.prototype.writeUIntBE=function(e,t,s,r){(e=+e,t|=0,s|=0,r)||is(this,e,t,s,Math.pow(2,8*s)-1,0);var n=s-1,i=1;for(this[t+n]=255&e;--n>=0&&(i*=256);)this[t+n]=e/i&255;return t+s},Dt.prototype.writeUInt8=function(e,t,s){return e=+e,t|=0,s||is(this,e,t,1,255,0),Dt.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},Dt.prototype.writeUInt16LE=function(e,t,s){return e=+e,t|=0,s||is(this,e,t,2,65535,0),Dt.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):os(this,e,t,!0),t+2},Dt.prototype.writeUInt16BE=function(e,t,s){return e=+e,t|=0,s||is(this,e,t,2,65535,0),Dt.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):os(this,e,t,!1),t+2},Dt.prototype.writeUInt32LE=function(e,t,s){return e=+e,t|=0,s||is(this,e,t,4,4294967295,0),Dt.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):as(this,e,t,!0),t+4},Dt.prototype.writeUInt32BE=function(e,t,s){return e=+e,t|=0,s||is(this,e,t,4,4294967295,0),Dt.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):as(this,e,t,!1),t+4},Dt.prototype.writeIntLE=function(e,t,s,r){if(e=+e,t|=0,!r){var n=Math.pow(2,8*s-1);is(this,e,t,s,n-1,-n)}var i=0,o=1,a=0;for(this[t]=255&e;++i<s&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+s},Dt.prototype.writeIntBE=function(e,t,s,r){if(e=+e,t|=0,!r){var n=Math.pow(2,8*s-1);is(this,e,t,s,n-1,-n)}var i=s-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o|0)-a&255;return t+s},Dt.prototype.writeInt8=function(e,t,s){return e=+e,t|=0,s||is(this,e,t,1,127,-128),Dt.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},Dt.prototype.writeInt16LE=function(e,t,s){return e=+e,t|=0,s||is(this,e,t,2,32767,-32768),Dt.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):os(this,e,t,!0),t+2},Dt.prototype.writeInt16BE=function(e,t,s){return e=+e,t|=0,s||is(this,e,t,2,32767,-32768),Dt.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):os(this,e,t,!1),t+2},Dt.prototype.writeInt32LE=function(e,t,s){return e=+e,t|=0,s||is(this,e,t,4,2147483647,-2147483648),Dt.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):as(this,e,t,!0),t+4},Dt.prototype.writeInt32BE=function(e,t,s){return e=+e,t|=0,s||is(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),Dt.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):as(this,e,t,!1),t+4},Dt.prototype.writeFloatLE=function(e,t,s){return ls(this,e,t,!0,s)},Dt.prototype.writeFloatBE=function(e,t,s){return ls(this,e,t,!1,s)},Dt.prototype.writeDoubleLE=function(e,t,s){return hs(this,e,t,!0,s)},Dt.prototype.writeDoubleBE=function(e,t,s){return hs(this,e,t,!1,s)},Dt.prototype.copy=function(e,t,s,r){if(s||(s=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<s&&(r=s),r===s)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-s&&(r=e.length-t+s);var n,i=r-s;if(this===e&&s<t&&t<r)for(n=i-1;n>=0;--n)e[n+t]=this[n+s];else if(i<1e3||!Dt.TYPED_ARRAY_SUPPORT)for(n=0;n<i;++n)e[n+t]=this[n+s];else Uint8Array.prototype.set.call(e,this.subarray(s,s+i),t);return i},Dt.prototype.fill=function(e,t,s,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,s=this.length):"string"==typeof s&&(r=s,s=this.length),1===e.length){var n=e.charCodeAt(0);n<256&&(e=n)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!Dt.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<s)throw new RangeError("Out of range index");if(s<=t)return this;var i;if(t>>>=0,s=void 0===s?this.length:s>>>0,e||(e=0),"number"==typeof e)for(i=t;i<s;++i)this[i]=e;else{var o=Ut(e)?e:ds(new Dt(e,r).toString()),a=o.length;for(i=0;i<s-t;++i)this[i+t]=o[i%a]}return this};var ps=/[^+\/0-9A-Za-z-_]/g;function us(e){return e<16?"0"+e.toString(16):e.toString(16)}function ds(e,t){var s;t=t||1/0;for(var r=e.length,n=null,i=[],o=0;o<r;++o){if((s=e.charCodeAt(o))>55295&&s<57344){if(!n){if(s>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}n=s;continue}if(s<56320){(t-=3)>-1&&i.push(239,191,189),n=s;continue}s=65536+(n-55296<<10|s-56320)}else n&&(t-=3)>-1&&i.push(239,191,189);if(n=null,s<128){if((t-=1)<0)break;i.push(s)}else if(s<2048){if((t-=2)<0)break;i.push(s>>6|192,63&s|128)}else if(s<65536){if((t-=3)<0)break;i.push(s>>12|224,s>>6&63|128,63&s|128)}else{if(!(s<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(s>>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}}return i}function fs(e){return function(e){var t,s,r,n,i,o;Et||vt();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[a-2]?2:"="===e[a-1]?1:0,o=new St(3*a/4-i),r=i>0?a-4:a;var c=0;for(t=0,s=0;t<r;t+=4,s+=3)n=bt[e.charCodeAt(t)]<<18|bt[e.charCodeAt(t+1)]<<12|bt[e.charCodeAt(t+2)]<<6|bt[e.charCodeAt(t+3)],o[c++]=n>>16&255,o[c++]=n>>8&255,o[c++]=255&n;return 2===i?(n=bt[e.charCodeAt(t)]<<2|bt[e.charCodeAt(t+1)]>>4,o[c++]=255&n):1===i&&(n=bt[e.charCodeAt(t)]<<10|bt[e.charCodeAt(t+1)]<<4|bt[e.charCodeAt(t+2)]>>2,o[c++]=n>>8&255,o[c++]=255&n),o}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(ps,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function ms(e,t,s,r){for(var n=0;n<r&&!(n+s>=t.length||n>=e.length);++n)t[n+s]=e[n];return n}function As(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function gs(e){const t="function"==typeof atob?atob(e):"function"==typeof Dt.from?Dt.from(e,"base64").toString("binary"):new Dt(e,"base64").toString("binary"),s=-2&t.length,r=new Uint16Array(s/2);for(let n=0,i=0;n<s;n+=2){const e=t.charCodeAt(n),s=t.charCodeAt(n+1);r[i++]=e|s<<8}return r}const ys=gs("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 xs,bs,Ss,Es;(bs=xs||(xs={}))[bs.VALUE_LENGTH=49152]="VALUE_LENGTH",bs[bs.FLAG13=8192]="FLAG13",bs[bs.BRANCH_LENGTH=8064]="BRANCH_LENGTH",bs[bs.JUMP_TABLE=127]="JUMP_TABLE",(Es=Ss||(Ss={}))[Es.NUM=35]="NUM",Es[Es.SEMI=59]="SEMI",Es[Es.EQUALS=61]="EQUALS",Es[Es.ZERO=48]="ZERO",Es[Es.NINE=57]="NINE",Es[Es.LOWER_A=97]="LOWER_A",Es[Es.LOWER_F=102]="LOWER_F",Es[Es.LOWER_X=120]="LOWER_X",Es[Es.LOWER_Z=122]="LOWER_Z",Es[Es.UPPER_A=65]="UPPER_A",Es[Es.UPPER_F=70]="UPPER_F",Es[Es.UPPER_Z=90]="UPPER_Z";function vs(e){return e>=Ss.ZERO&&e<=Ss.NINE}function ws(e){return e>=Ss.UPPER_A&&e<=Ss.UPPER_F||e>=Ss.LOWER_A&&e<=Ss.LOWER_F}function Cs(e){return e===Ss.EQUALS||function(e){return e>=Ss.UPPER_A&&e<=Ss.UPPER_Z||e>=Ss.LOWER_A&&e<=Ss.LOWER_Z||vs(e)}(e)}var Is,Ts,Ps,Ns;(Ts=Is||(Is={}))[Ts.EntityStart=0]="EntityStart",Ts[Ts.NumericStart=1]="NumericStart",Ts[Ts.NumericDecimal=2]="NumericDecimal",Ts[Ts.NumericHex=3]="NumericHex",Ts[Ts.NamedEntity=4]="NamedEntity",(Ns=Ps||(Ps={}))[Ns.Legacy=0]="Legacy",Ns[Ns.Strict=1]="Strict",Ns[Ns.Attribute=2]="Attribute";class ks{constructor(e,t,s){this.decodeTree=e,this.emitCodePoint=t,this.errors=s,this.state=Is.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ps.Strict,this.runConsumed=0}startEntity(e){this.decodeMode=e,this.state=Is.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1,this.runConsumed=0}write(e,t){switch(this.state){case Is.EntityStart:return e.charCodeAt(t)===Ss.NUM?(this.state=Is.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Is.NamedEntity,this.stateNamedEntity(e,t));case Is.NumericStart:return this.stateNumericStart(e,t);case Is.NumericDecimal:return this.stateNumericDecimal(e,t);case Is.NumericHex:return this.stateNumericHex(e,t);case Is.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===Ss.LOWER_X?(this.state=Is.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Is.NumericDecimal,this.stateNumericDecimal(e,t))}stateNumericHex(e,t){for(;t<e.length;){const s=e.charCodeAt(t);if(!vs(s)&&!ws(s))return this.emitNumericEntity(s,3);{const e=s<=Ss.NINE?s-Ss.ZERO:(32|s)-Ss.LOWER_A+10;this.result=16*this.result+e,this.consumed++,t++}}return-1}stateNumericDecimal(e,t){for(;t<e.length;){const s=e.charCodeAt(t);if(!vs(s))return this.emitNumericEntity(s,2);this.result=10*this.result+(s-Ss.ZERO),this.consumed++,t++}return-1}emitNumericEntity(e,t){var s;if(this.consumed<=t)return null===(s=this.errors)||void 0===s||s.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===Ss.SEMI)this.consumed+=1;else if(this.decodeMode===Ps.Strict)return 0;return this.emitCodePoint(function(e){var t;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=At.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==Ss.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:s}=this;let r=s[this.treeIndex],n=(r&xs.VALUE_LENGTH)>>14;for(;t<e.length;){if(0===n&&0!==(r&xs.FLAG13)){const i=(r&xs.BRANCH_LENGTH)>>7;if(0===this.runConsumed){const s=r&xs.JUMP_TABLE;if(e.charCodeAt(t)!==s)return 0===this.result?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}for(;this.runConsumed<i;){if(t>=e.length)return-1;const r=this.runConsumed-1,n=s[this.treeIndex+1+(r>>1)],i=r%2==0?255&n:n>>8&255;if(e.charCodeAt(t)!==i)return this.runConsumed=0,0===this.result?0:this.emitNotTerminatedNamedEntity();t++,this.excess++,this.runConsumed++}this.runConsumed=0,this.treeIndex+=1+(i>>1),r=s[this.treeIndex],n=(r&xs.VALUE_LENGTH)>>14}if(t>=e.length)break;const i=e.charCodeAt(t);if(i===Ss.SEMI&&0!==n&&0!==(r&xs.FLAG13))return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);if(this.treeIndex=_s(s,r,this.treeIndex+Math.max(1,n),i),this.treeIndex<0)return 0===this.result||this.decodeMode===Ps.Attribute&&(0===n||Cs(i))?0:this.emitNotTerminatedNamedEntity();if(r=s[this.treeIndex],n=(r&xs.VALUE_LENGTH)>>14,0!==n){if(i===Ss.SEMI)return this.emitNamedEntityData(this.treeIndex,n,this.consumed+this.excess);this.decodeMode!==Ps.Strict&&0===(r&xs.FLAG13)&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}t++,this.excess++}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:s}=this,r=(s[t]&xs.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,s){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~(xs.VALUE_LENGTH|xs.FLAG13):r[e+1],s),3===t&&this.emitCodePoint(r[e+2],s),s}end(){var e;switch(this.state){case Is.NamedEntity:return 0===this.result||this.decodeMode===Ps.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Is.NumericDecimal:return this.emitNumericEntity(0,2);case Is.NumericHex:return this.emitNumericEntity(0,3);case Is.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Is.EntityStart:return 0}}}function Os(e){let t="";const s=new ks(e,e=>t+=gt(e));return function(e,r){let n=0,i=0;for(;(i=e.indexOf("&",i))>=0;){t+=e.slice(n,i),s.startEntity(r);const o=s.write(e,i+1);if(o<0){n=i+s.end();break}n=i+o,i=0===o?n+1:n}const o=t+e.slice(n);return t="",o}}function _s(e,t,s,r){const n=(t&xs.BRANCH_LENGTH)>>7,i=t&xs.JUMP_TABLE;if(0===n)return 0!==i&&r===i?s:-1;if(i){const t=r-i;return t<0||t>=n?-1:e[s+t]-1}const o=n+1>>1;let a=0,c=n-1;for(;a<=c;){const t=a+c>>>1,n=e[s+(t>>1)]>>8*(1&t)&255;if(n<r)a=t+1;else{if(!(n>r))return e[s+o+t];c=t-1}}return-1}const Ds=Os(ys);const Ls=new Uint8Array([123,123]),Ms=new Uint8Array([125,125]);function Bs(e){return e>=97&&e<=122||e>=65&&e<=90}function Rs(e){return 32===e||10===e||9===e||12===e||13===e}function Fs(e){return 47===e||62===e||Rs(e)}function Us(e){const t=new Uint8Array(e.length);for(let s=0;s<e.length;s++)t[s]=e.charCodeAt(s);return t}const js={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])};const Gs={COMPILER_IS_ON_ELEMENT:{message:'Platform-native elements with "is" prop will no longer be treated as components in Vue 3 unless the "is" value is explicitly prefixed with "vue:".',link:"https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html"},COMPILER_V_BIND_SYNC:{message:e=>`.sync modifier for v-bind has been removed. Use v-model with argument instead. \`v-bind:${e}.sync\` should be changed to \`v-model:${e}\`.`,link:"https://v3-migration.vuejs.org/breaking-changes/v-model.html"},COMPILER_V_BIND_OBJECT_ORDER:{message:'v-bind="obj" usage is now order sensitive and behaves like JavaScript object spread: it will now overwrite an existing non-mergeable attribute that appears before v-bind in the case of conflict. To retain 2.x behavior, move v-bind to make it the first attribute. You can also suppress this warning if the usage is intended.',link:"https://v3-migration.vuejs.org/breaking-changes/v-bind.html"},COMPILER_V_ON_NATIVE:{message:".native modifier for v-on has been removed as is no longer necessary.",link:"https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html"},COMPILER_V_IF_V_FOR_PRECEDENCE:{message:"v-if / v-for precedence when used on the same element has changed in Vue 3: v-if now takes higher precedence and will no longer have access to v-for scope variables. It is best to avoid the ambiguity with <template> tags or use a computed property that filters v-for data source.",link:"https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html"},COMPILER_NATIVE_TEMPLATE:{message:"<template> with no special directives will render as a native template element instead of its inner content in Vue 3."},COMPILER_INLINE_TEMPLATE:{message:'"inline-template" has been removed in Vue 3.',link:"https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html"},COMPILER_FILTERS:{message:'filters have been removed in Vue 3. The "|" symbol will be treated as native JavaScript bitwise OR operator. Use method calls or computed properties instead.',link:"https://v3-migration.vuejs.org/breaking-changes/filters.html"}};function Qs(e,{compatConfig:t}){const s=t&&t[e];return"MODE"===e?s||3:s}function Ws(e,t,s,...r){if("suppress-warning"===Qs(e,t))return;const{message:n,link:i}=Gs[e],o=`(deprecation ${e}) ${"function"==typeof n?n(...r):n}${i?`\n Details: ${i}`:""}`,a=new SyntaxError(o);a.code=e,s&&(a.loc=s),t.onWarn(a)}function Ks(e){throw e}function Vs(e){console.warn(`[Vue warn] ${e.message}`)}function Ys(e,t,s,r){const n=(s||Js)[e]+(r||""),i=new SyntaxError(String(n));return i.code=e,i.loc=t,i}const Js={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 '&lt;' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '\x3c!--' 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.\nUse 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 Hs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $s(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var s=function e(){var s=!1;try{s=this instanceof e}catch{}return s?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};s.prototype=t.prototype}else s={};return Object.defineProperty(s,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(s,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),s}var Xs,Zs={};function qs(){if(Xs)return Zs;function e(e,t){if(null==e)return{};var s={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;s[r]=e[r]}return s}Xs=1,Object.defineProperty(Zs,"__esModule",{value:!0});class t{constructor(e,t,s){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=t,this.index=s}}class s{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}}function r(e,s){const{line:r,column:n,index:i}=e;return new t(r,n+s,i+s)}const n="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var i={ImportMetaOutsideModule:{message:"import.meta may appear only with 'sourceType: \"module\"'",code:n},ImportOutsideModule:{message:"'import' and 'export' may appear only with 'sourceType: \"module\"'",code:n}};const o={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"},a=e=>"UpdateExpression"===e.type?o.UpdateExpression[`${e.prefix}`]:o[e.type];var c={AccessorIsGenerator:({kind:e})=>`A ${e}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:e})=>`Missing initializer in ${e} 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:e})=>`\`${e}\` 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:e,exportName:t})=>`A string literal cannot be used as an exported binding without \`from\`.\n- Did you mean \`export { '${e}' as '${t}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:e})=>`'${"ForInStatement"===e?"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:e})=>`Unsyntactic ${"BreakStatement"===e?"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:e})=>`A string literal cannot be used as an imported binding.\n- Did you mean \`import { "${e}" 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:e})=>`Expected number in radix ${e}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:e})=>`Escape sequence in keyword ${e}.`,InvalidIdentifier:({identifierName:e})=>`Invalid identifier ${e}.`,InvalidLhs:({ancestor:e})=>`Invalid left-hand side in ${a(e)}.`,InvalidLhsBinding:({ancestor:e})=>`Binding invalid left-hand side in ${a(e)}.`,InvalidLhsOptionalChaining:({ancestor:e})=>`Invalid optional chaining in the left-hand side of ${a(e)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:e})=>`Unexpected character '${e}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:e})=>`Private name #${e} 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:e})=>`Label '${e}' 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:e})=>`This experimental syntax requires enabling the parser plugin: ${e.map(e=>JSON.stringify(e)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:e})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map(e=>JSON.stringify(e)).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:e})=>`Duplicate key "${e}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:e})=>`An export name cannot include a lone surrogate, found '\\u${e.toString(16)}'.`,ModuleExportUndefined:({localName:e})=>`Export '${e}' 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:e})=>`Private names are only allowed in property accesses (\`obj.#${e}\`) or in \`in\` expressions (\`#${e} in obj\`).`,PrivateNameRedeclaration:({identifierName:e})=>`Duplicate private name #${e}.`,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:e})=>`Unexpected keyword '${e}'.`,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:e})=>`Unexpected reserved word '${e}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:e,unexpected:t})=>`Unexpected token${t?` '${t}'.`:""}${e?`, expected "${e}"`:""}`,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:e,onlyValidPropertyName:t})=>`The only valid meta property for ${e} is ${e}.${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:e})=>`Identifier '${e}' 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."},l={ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:({unexpected:e})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(e)}\`.`};const h=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var p=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:e})=>`Invalid topic token ${e}. In order to use ${e} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${e}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:e})=>`Hack-style pipe body cannot be an unparenthesized ${a({type:e})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'});const u=["message"];function d(e,t,s){Object.defineProperty(e,t,{enumerable:!1,configurable:!0,value:s})}function f({toMessage:e,code:s,reasonCode:r,syntaxPlugin:n}){const i="MissingPlugin"===r||"MissingOneOfPlugins"===r,o={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};return o[r]&&(r=o[r]),function o(a,c){const l=new SyntaxError;return l.code=s,l.reasonCode=r,l.loc=a,l.pos=a.index,l.syntaxPlugin=n,i&&(l.missingPlugin=c.missingPlugin),d(l,"clone",function(e={}){var s;const{line:r,column:n,index:i}=null!=(s=e.loc)?s:a;return o(new t(r,n,i),Object.assign({},c,e.details))}),d(l,"details",c),Object.defineProperty(l,"message",{configurable:!0,get(){const t=`${e(c)} (${a.line}:${a.column})`;return this.message=t,t},set(e){Object.defineProperty(this,"message",{value:e,writable:!0})}}),l}}function m(t,s){if(Array.isArray(t))return e=>m(e,t[0]);const r={};for(const n of Object.keys(t)){const i=t[n],o="string"==typeof i?{message:()=>i}:"function"==typeof i?{message:i}:i,{message:a}=o,c=e(o,u),l="string"==typeof a?()=>a:a;r[n]=f(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:n,toMessage:l},s?{syntaxPlugin:s}:{},c))}return r}const A=Object.assign({},m(i),m(c),m({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:e})=>`Assigning to '${e}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:e})=>`Binding '${e}' 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."}),m(l),m`pipelineOperator`(p));const{defineProperty:g}=Object,y=(e,t)=>{e&&g(e,t,{enumerable:!1,value:e[t]})};function x(e){return y(e.loc.start,"index"),y(e.loc.end,"index"),e}class b{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}const S={brace:new b("{"),j_oTag:new b("<tag"),j_cTag:new b("</tag"),j_expr:new b("<tag>...</tag>",!0)};S.template=new b("`",!0);const E=!0,v=!0,w=!0,C=!0,I=!0;class T{constructor(e,t={}){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=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=null!=t.binop?t.binop:null,this.updateContext=null}}const P=new Map;function N(e,t={}){t.keyword=e;const s=F(e,t);return P.set(e,s),s}function k(e,t){return F(e,{beforeExpr:E,binop:t})}let O=-1;const _=[],D=[],L=[],M=[],B=[],R=[];function F(e,t={}){var s,r,n,i;return++O,D.push(e),L.push(null!=(s=t.binop)?s:-1),M.push(null!=(r=t.beforeExpr)&&r),B.push(null!=(n=t.startsExpr)&&n),R.push(null!=(i=t.prefix)&&i),_.push(new T(e,t)),O}function U(e,t={}){var s,r,n,i;return++O,P.set(e,O),D.push(e),L.push(null!=(s=t.binop)?s:-1),M.push(null!=(r=t.beforeExpr)&&r),B.push(null!=(n=t.startsExpr)&&n),R.push(null!=(i=t.prefix)&&i),_.push(new T("name",t)),O}const j={bracketL:F("[",{beforeExpr:E,startsExpr:v}),bracketHashL:F("#[",{beforeExpr:E,startsExpr:v}),bracketBarL:F("[|",{beforeExpr:E,startsExpr:v}),bracketR:F("]"),bracketBarR:F("|]"),braceL:F("{",{beforeExpr:E,startsExpr:v}),braceBarL:F("{|",{beforeExpr:E,startsExpr:v}),braceHashL:F("#{",{beforeExpr:E,startsExpr:v}),braceR:F("}"),braceBarR:F("|}"),parenL:F("(",{beforeExpr:E,startsExpr:v}),parenR:F(")"),comma:F(",",{beforeExpr:E}),semi:F(";",{beforeExpr:E}),colon:F(":",{beforeExpr:E}),doubleColon:F("::",{beforeExpr:E}),dot:F("."),question:F("?",{beforeExpr:E}),questionDot:F("?."),arrow:F("=>",{beforeExpr:E}),template:F("template"),ellipsis:F("...",{beforeExpr:E}),backQuote:F("`",{startsExpr:v}),dollarBraceL:F("${",{beforeExpr:E,startsExpr:v}),templateTail:F("...`",{startsExpr:v}),templateNonTail:F("...${",{beforeExpr:E,startsExpr:v}),at:F("@"),hash:F("#",{startsExpr:v}),interpreterDirective:F("#!..."),eq:F("=",{beforeExpr:E,isAssign:C}),assign:F("_=",{beforeExpr:E,isAssign:C}),slashAssign:F("_=",{beforeExpr:E,isAssign:C}),xorAssign:F("_=",{beforeExpr:E,isAssign:C}),moduloAssign:F("_=",{beforeExpr:E,isAssign:C}),incDec:F("++/--",{prefix:I,postfix:!0,startsExpr:v}),bang:F("!",{beforeExpr:E,prefix:I,startsExpr:v}),tilde:F("~",{beforeExpr:E,prefix:I,startsExpr:v}),doubleCaret:F("^^",{startsExpr:v}),doubleAt:F("@@",{startsExpr:v}),pipeline:k("|>",0),nullishCoalescing:k("??",1),logicalOR:k("||",1),logicalAND:k("&&",2),bitwiseOR:k("|",3),bitwiseXOR:k("^",4),bitwiseAND:k("&",5),equality:k("==/!=/===/!==",6),lt:k("</>/<=/>=",7),gt:k("</>/<=/>=",7),relational:k("</>/<=/>=",7),bitShift:k("<</>>/>>>",8),bitShiftL:k("<</>>/>>>",8),bitShiftR:k("<</>>/>>>",8),plusMin:F("+/-",{beforeExpr:E,binop:9,prefix:I,startsExpr:v}),modulo:F("%",{binop:10,startsExpr:v}),star:F("*",{binop:10}),slash:k("/",10),exponent:F("**",{beforeExpr:E,binop:11,rightAssociative:!0}),_in:N("in",{beforeExpr:E,binop:7}),_instanceof:N("instanceof",{beforeExpr:E,binop:7}),_break:N("break"),_case:N("case",{beforeExpr:E}),_catch:N("catch"),_continue:N("continue"),_debugger:N("debugger"),_default:N("default",{beforeExpr:E}),_else:N("else",{beforeExpr:E}),_finally:N("finally"),_function:N("function",{startsExpr:v}),_if:N("if"),_return:N("return",{beforeExpr:E}),_switch:N("switch"),_throw:N("throw",{beforeExpr:E,prefix:I,startsExpr:v}),_try:N("try"),_var:N("var"),_const:N("const"),_with:N("with"),_new:N("new",{beforeExpr:E,startsExpr:v}),_this:N("this",{startsExpr:v}),_super:N("super",{startsExpr:v}),_class:N("class",{startsExpr:v}),_extends:N("extends",{beforeExpr:E}),_export:N("export"),_import:N("import",{startsExpr:v}),_null:N("null",{startsExpr:v}),_true:N("true",{startsExpr:v}),_false:N("false",{startsExpr:v}),_typeof:N("typeof",{beforeExpr:E,prefix:I,startsExpr:v}),_void:N("void",{beforeExpr:E,prefix:I,startsExpr:v}),_delete:N("delete",{beforeExpr:E,prefix:I,startsExpr:v}),_do:N("do",{isLoop:w,beforeExpr:E}),_for:N("for",{isLoop:w}),_while:N("while",{isLoop:w}),_as:U("as",{startsExpr:v}),_assert:U("assert",{startsExpr:v}),_async:U("async",{startsExpr:v}),_await:U("await",{startsExpr:v}),_defer:U("defer",{startsExpr:v}),_from:U("from",{startsExpr:v}),_get:U("get",{startsExpr:v}),_let:U("let",{startsExpr:v}),_meta:U("meta",{startsExpr:v}),_of:U("of",{startsExpr:v}),_sent:U("sent",{startsExpr:v}),_set:U("set",{startsExpr:v}),_source:U("source",{startsExpr:v}),_static:U("static",{startsExpr:v}),_using:U("using",{startsExpr:v}),_yield:U("yield",{startsExpr:v}),_asserts:U("asserts",{startsExpr:v}),_checks:U("checks",{startsExpr:v}),_exports:U("exports",{startsExpr:v}),_global:U("global",{startsExpr:v}),_implements:U("implements",{startsExpr:v}),_intrinsic:U("intrinsic",{startsExpr:v}),_infer:U("infer",{startsExpr:v}),_is:U("is",{startsExpr:v}),_mixins:U("mixins",{startsExpr:v}),_proto:U("proto",{startsExpr:v}),_require:U("require",{startsExpr:v}),_satisfies:U("satisfies",{startsExpr:v}),_keyof:U("keyof",{startsExpr:v}),_readonly:U("readonly",{startsExpr:v}),_unique:U("unique",{startsExpr:v}),_abstract:U("abstract",{startsExpr:v}),_declare:U("declare",{startsExpr:v}),_enum:U("enum",{startsExpr:v}),_module:U("module",{startsExpr:v}),_namespace:U("namespace",{startsExpr:v}),_interface:U("interface",{startsExpr:v}),_type:U("type",{startsExpr:v}),_opaque:U("opaque",{startsExpr:v}),name:F("name",{startsExpr:v}),placeholder:F("%%",{startsExpr:v}),string:F("string",{startsExpr:v}),num:F("num",{startsExpr:v}),bigint:F("bigint",{startsExpr:v}),decimal:F("decimal",{startsExpr:v}),regexp:F("regexp",{startsExpr:v}),privateName:F("#name",{startsExpr:v}),eof:F("eof"),jsxName:F("jsxName"),jsxText:F("jsxText",{beforeExpr:E}),jsxTagStart:F("jsxTagStart",{startsExpr:v}),jsxTagEnd:F("jsxTagEnd")};function G(e){return e>=93&&e<=133}function Q(e){return e>=58&&e<=133}function W(e){return e>=58&&e<=137}function K(e){return B[e]}function V(e){return e>=129&&e<=131}function Y(e){return e>=58&&e<=92}function J(e){return 34===e}function H(e){return D[e]}function $(e){return L[e]}function X(e){return e>=24&&e<=25}function Z(e){return _[e]}_[8].updateContext=e=>{e.pop()},_[5].updateContext=_[7].updateContext=_[23].updateContext=e=>{e.push(S.brace)},_[22].updateContext=e=>{e[e.length-1]===S.template?e.pop():e.push(S.template)},_[143].updateContext=e=>{e.push(S.j_expr,S.j_oTag)};let q="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",z="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・";const ee=new RegExp("["+q+"]"),te=new RegExp("["+q+z+"]");q=z=null;const se=[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],re=[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 ne(e,t){let s=65536;for(let r=0,n=t.length;r<n;r+=2){if(s+=t[r],s>e)return!1;if(s+=t[r+1],s>=e)return!0}return!1}function ie(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&ee.test(String.fromCharCode(e)):ne(e,se)))}function oe(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&te.test(String.fromCharCode(e)):ne(e,se)||ne(e,re))))}const ae=["implements","interface","let","package","private","protected","public","static","yield"],ce=["eval","arguments"],le=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"]),he=new Set(ae),pe=new Set(ce);function ue(e,t){return t&&"await"===e||"enum"===e}function de(e,t){return ue(e,t)||he.has(e)}function fe(e){return pe.has(e)}function me(e,t){return de(e,t)||fe(e)}const Ae=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"]);class ge{constructor(e){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=e}}class ye{constructor(e,t){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=t}get inTopLevel(){return(1&this.currentScope().flags)>0}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get allowNewTarget(){return(512&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(64&e)>0&&!(2&e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(128&t)return!0;if(1731&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get inBareCaseStatement(){return(256&this.currentScope().flags)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new ge(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(130&e.flags||!this.parser.inModule&&1&e.flags)}declareName(e,t,s){let r=this.currentScope();if(8&t||16&t){this.checkRedeclarationInScope(r,e,t,s);let n=r.names.get(e)||0;16&t?n|=4:(r.firstLexicalName||(r.firstLexicalName=e),n|=2),r.names.set(e,n),8&t&&this.maybeExportDefined(r,e)}else if(4&t)for(let n=this.scopeStack.length-1;n>=0&&(r=this.scopeStack[n],this.checkRedeclarationInScope(r,e,t,s),r.names.set(e,1|(r.names.get(e)||0)),this.maybeExportDefined(r,e),!(1667&r.flags));--n);this.parser.inModule&&1&r.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.parser.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,s,r){this.isRedeclaredInScope(e,t,s)&&this.parser.raise(A.VarRedeclaration,r,{identifierName:t})}isRedeclaredInScope(e,t,s){if(!(1&s))return!1;if(8&s)return e.names.has(t);const r=e.names.get(t)||0;return 16&s?(2&r)>0||!this.treatFunctionsAsVarInScope(e)&&(1&r)>0:(2&r)>0&&!(8&e.flags&&e.firstLexicalName===t)||!this.treatFunctionsAsVarInScope(e)&&(4&r)>0}checkLocalExport(e){const{name:t}=e;this.scopeStack[0].names.has(t)||this.undefinedExports.set(t,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(1667&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(1731&t&&!(4&t))return t}}}class xe extends ge{constructor(...e){super(...e),this.declareFunctions=new Set}}class be extends ye{createScope(e){return new xe(e)}declareName(e,t,s){const r=this.currentScope();if(2048&t)return this.checkRedeclarationInScope(r,e,t,s),this.maybeExportDefined(r,e),void r.declareFunctions.add(e);super.declareName(e,t,s)}isRedeclaredInScope(e,t,s){if(super.isRedeclaredInScope(e,t,s))return!0;if(2048&s&&!e.declareFunctions.has(t)){const s=e.names.get(t);return(4&s)>0||(2&s)>0}return!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}const Se=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Ee=m`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:e})=>`Cannot overwrite reserved type ${e}.`,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:e,enumName:t})=>`Boolean enum members need to be initialized. Use either \`${e} = true,\` or \`${e} = false,\` in enum \`${t}\`.`,EnumDuplicateMemberName:({memberName:e,enumName:t})=>`Enum member names need to be unique, but the name \`${e}\` has already been used before in enum \`${t}\`.`,EnumInconsistentMemberValues:({enumName:e})=>`Enum \`${e}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:e,enumName:t})=>`Enum type \`${e}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:e})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:e,memberName:t,explicitType:s})=>`Enum \`${e}\` has type \`${s}\`, so the initializer of \`${t}\` needs to be a ${s} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:e,memberName:t})=>`Symbol enum members cannot be initialized. Use \`${t},\` in enum \`${e}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:e,memberName:t})=>`The enum member initializer for \`${t}\` needs to be a literal (either a boolean, number, or string) in enum \`${e}\`.`,EnumInvalidMemberName:({enumName:e,memberName:t,suggestion:s})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${t}\`, consider using \`${s}\`, in enum \`${e}\`.`,EnumNumberMemberNotInitialized:({enumName:e,memberName:t})=>`Number enum members need to be initialized, e.g. \`${t} = 1\` in enum \`${e}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:e})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${e}\`.`,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:e})=>`Unexpected reserved type ${e}.`,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:e,suggestion:t})=>`\`declare export ${e}\` is not supported. Use \`${t}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function ve(e){return"type"===e.importKind||"typeof"===e.importKind}const we={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};const Ce=/\*?\s*@((?:no)?flow)\b/;const Ie={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},Te=new RegExp(/\r\n|[\r\n\u2028\u2029]/.source,"g");function Pe(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function Ne(e,t,s){for(let r=t;r<s;r++)if(Pe(e.charCodeAt(r)))return!0;return!1}const ke=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Oe=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function _e(e){switch(e){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}const De=m`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:e})=>`Expected corresponding JSX closing tag for <${e}>.`,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:e,HTMLEntity:t})=>`Unexpected token \`${e}\`. Did you mean \`${t}\` or \`{'${e}'}\`?`,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 Le(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function Me(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return Me(e.object)+"."+Me(e.property);throw new Error("Node had unexpected type: "+e.type)}class Be extends ge{constructor(...e){super(...e),this.tsNames=new Map}}class Re extends ye{constructor(...e){super(...e),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new Be(e)}enter(e){1024===e&&this.importsStack.push(new Set),super.enter(e)}exit(){const e=super.exit();return 1024===e&&this.importsStack.pop(),e}hasImport(e,t){const s=this.importsStack.length;if(this.importsStack[s-1].has(e))return!0;if(!t&&s>1)for(let r=0;r<s-1;r++)if(this.importsStack[r].has(e))return!0;return!1}declareName(e,t,s){if(4096&t)return this.hasImport(e,!0)&&this.parser.raise(A.VarRedeclaration,s,{identifierName:e}),void this.importsStack[this.importsStack.length-1].add(e);const r=this.currentScope();let n=r.tsNames.get(e)||0;if(1024&t)return this.maybeExportDefined(r,e),void r.tsNames.set(e,16|n);super.declareName(e,t,s),2&t&&(1&t||(this.checkRedeclarationInScope(r,e,t,s),this.maybeExportDefined(r,e)),n|=1),256&t&&(n|=2),512&t&&(n|=4),128&t&&(n|=8),n&&r.tsNames.set(e,n)}isRedeclaredInScope(e,t,s){const r=e.tsNames.get(t);if((2&r)>0){if(256&s){return!!(512&s)!==(4&r)>0}return!0}return 128&s&&(8&r)>0?!!(2&e.names.get(t))&&!!(1&s):!!(2&s&&(1&r)>0)||super.isRedeclaredInScope(e,t,s)}checkLocalExport(e){const{name:t}=e;if(this.hasImport(t))return;for(let s=this.scopeStack.length-1;s>=0;s--){const e=this.scopeStack[s].tsNames.get(t);if((1&e)>0||(16&e)>0)return}super.checkLocalExport(e)}}class Fe{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function Ue(e,t){return(e?2:0)|(t?1:0)}class je{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(e){return e+this.startIndex}offsetToSourcePos(e){return e-this.startIndex}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{const[t,s]=e;if(!this.hasPlugin(t))return!1;const r=this.plugins.get(t);for(const e of Object.keys(s))if((null==r?void 0:r[e])!==s[e])return!1;return!0}}getPluginOption(e,t){var s;return null==(s=this.plugins.get(e))?void 0:s[t]}}function Ge(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function Qe(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function We(e,t,s){let r=null,n=t.length;for(;null===r&&n>0;)r=t[--n];null===r||r.start>s.start?Qe(e,s.comments):Ge(r,s.comments)}class Ke extends je{addComment(e){this.filename&&(e.loc.filename=this.filename);const{commentsLen:t}=this.state;this.comments.length!==t&&(this.comments.length=t),this.comments.push(e),this.state.commentsLen++}processComment(e){const{commentStack:t}=this.state,s=t.length;if(0===s)return;let r=s-1;const n=t[r];n.start===e.end&&(n.leadingNode=e,r--);const{start:i}=e;for(;r>=0;r--){const s=t[r],n=s.end;if(!(n>i)){n===i&&(s.trailingNode=e);break}s.containingNode=e,this.finalizeComment(s),t.splice(r,1)}}finalizeComment(e){var t;const{comments:s}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&Ge(e.leadingNode,s),null!==e.trailingNode&&function(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}(e.trailingNode,s);else{const r=e.containingNode,n=e.start;if(44===this.input.charCodeAt(this.offsetToSourcePos(n)-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":We(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":We(r,r.arguments,e);break;case"ImportExpression":We(r,[r.source,null!=(t=r.options)?t:null],e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":We(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":We(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":We(r,r.specifiers,e);break;case"TSEnumDeclaration":case"TSEnumBody":We(r,r.members,e);break;default:if("RecordExpression"===r.type){We(r,r.properties,e);break}if("TupleExpression"===r.type){We(r,r.elements,e);break}Qe(r,s)}else Qe(r,s)}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state,{length:s}=t;if(0===s)return;const r=t[s-1];r.leadingNode===e&&(r.leadingNode=null)}takeSurroundingComments(e,t,s){const{commentStack:r}=this.state,n=r.length;if(0===n)return;let i=n-1;for(;i>=0;i--){const n=r[i],o=n.end;if(n.start===s)n.leadingNode=e;else if(o===t)n.trailingNode=e;else if(o<t)break}}}class Ve{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=[S.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(1&this.flags)>0}set strict(e){e?this.flags|=1:this.flags&=-2}init({strictMode:e,sourceType:s,startIndex:r,startLine:n,startColumn:i}){this.strict=!1!==e&&(!0===e||"module"===s),this.startIndex=r,this.curLine=n,this.lineStart=-i,this.startLoc=this.endLoc=new t(n,i,r)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(e){e?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(e){e?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(e){e?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(e){e?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(e){e?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(e){e?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(e){e?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(e){e?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(e){e?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(e){e?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(e){e?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(4096&this.flags)>0}set hasTopLevelAwait(e){e?this.flags|=4096:this.flags&=-4097}curPosition(){return new t(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){const e=new Ve;return e.flags=this.flags,e.startIndex=this.startIndex,e.curLine=this.curLine,e.lineStart=this.lineStart,e.startLoc=this.startLoc,e.endLoc=this.endLoc,e.errors=this.errors.slice(),e.potentialArrowAt=this.potentialArrowAt,e.noArrowAt=this.noArrowAt.slice(),e.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),e.topicContext=this.topicContext,e.labels=this.labels.slice(),e.commentsLen=this.commentsLen,e.commentStack=this.commentStack.slice(),e.pos=this.pos,e.type=this.type,e.value=this.value,e.start=this.start,e.end=this.end,e.lastTokEndLoc=this.lastTokEndLoc,e.lastTokStartLoc=this.lastTokStartLoc,e.context=this.context.slice(),e.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,e.strictErrors=this.strictErrors,e.tokensLength=this.tokensLength,e}}var Ye=function(e){return e>=48&&e<=57};const Je={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},He={bin:e=>48===e||49===e,oct:e=>e>=48&&e<=55,dec:e=>e>=48&&e<=57,hex:e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};function $e(e,t,s,r,n,i){const o=s,a=r,c=n;let l="",h=null,p=s;const{length:u}=t;for(;;){if(s>=u){i.unterminated(o,a,c),l+=t.slice(p,s);break}const d=t.charCodeAt(s);if(Xe(e,d,t,s)){l+=t.slice(p,s);break}if(92===d){l+=t.slice(p,s);const o=Ze(t,s,r,n,"template"===e,i);null!==o.ch||h?l+=o.ch:h={pos:s,lineStart:r,curLine:n},({pos:s,lineStart:r,curLine:n}=o),p=s}else 8232===d||8233===d?(++n,r=++s):10===d||13===d?"template"===e?(l+=t.slice(p,s)+"\n",++s,13===d&&10===t.charCodeAt(s)&&++s,++n,p=r=s):i.unterminated(o,a,c):++s}return{pos:s,str:l,firstInvalidLoc:h,lineStart:r,curLine:n,containsInvalid:!!h}}function Xe(e,t,s,r){return"template"===e?96===t||36===t&&123===s.charCodeAt(r+1):t===("double"===e?34:39)}function Ze(e,t,s,r,n,i){const o=!n;t++;const a=e=>({pos:t,ch:e,lineStart:s,curLine:r}),c=e.charCodeAt(t++);switch(c){case 110:return a("\n");case 114:return a("\r");case 120:{let n;return({code:n,pos:t}=qe(e,t,s,r,2,!1,o,i)),a(null===n?null:String.fromCharCode(n))}case 117:{let n;return({code:n,pos:t}=et(e,t,s,r,o,i)),a(null===n?null:String.fromCodePoint(n))}case 116:return a("\t");case 98:return a("\b");case 118:return a("\v");case 102:return a("\f");case 13:10===e.charCodeAt(t)&&++t;case 10:s=t,++r;case 8232:case 8233:return a("");case 56:case 57:if(n)return a(null);i.strictNumericEscape(t-1,s,r);default:if(c>=48&&c<=55){const o=t-1;let c=/^[0-7]+/.exec(e.slice(o,t+2))[0],l=parseInt(c,8);l>255&&(c=c.slice(0,-1),l=parseInt(c,8)),t+=c.length-1;const h=e.charCodeAt(t);if("0"!==c||56===h||57===h){if(n)return a(null);i.strictNumericEscape(o,s,r)}return a(String.fromCharCode(l))}return a(String.fromCharCode(c))}}function qe(e,t,s,r,n,i,o,a){const c=t;let l;return({n:l,pos:t}=ze(e,t,s,r,16,n,i,!1,a,!o)),null===l&&(o?a.invalidEscapeSequence(c,s,r):t=c-1),{code:l,pos:t}}function ze(e,t,s,r,n,i,o,a,c,l){const h=t,p=16===n?Je.hex:Je.decBinOct,u=16===n?He.hex:10===n?He.dec:8===n?He.oct:He.bin;let d=!1,f=0;for(let m=0,A=null==i?1/0:i;m<A;++m){const i=e.charCodeAt(t);let h;if(95===i&&"bail"!==a){const n=e.charCodeAt(t-1),i=e.charCodeAt(t+1);if(a){if(Number.isNaN(i)||!u(i)||p.has(n)||p.has(i)){if(l)return{n:null,pos:t};c.unexpectedNumericSeparator(t,s,r)}}else{if(l)return{n:null,pos:t};c.numericSeparatorInEscapeSequence(t,s,r)}++t;continue}if(h=i>=97?i-97+10:i>=65?i-65+10:Ye(i)?i-48:1/0,h>=n){if(h<=9&&l)return{n:null,pos:t};if(h<=9&&c.invalidDigit(t,s,r,n))h=0;else{if(!o)break;h=0,d=!0}}++t,f=f*n+h}return t===h||null!=i&&t-h!==i||d?{n:null,pos:t}:{n:f,pos:t}}function et(e,t,s,r,n,i){let o;if(123===e.charCodeAt(t)){if(++t,({code:o,pos:t}=qe(e,t,s,r,e.indexOf("}",t)-t,!0,n,i)),++t,null!==o&&o>1114111){if(!n)return{code:null,pos:t};i.invalidCodePoint(t,s,r)}}else({code:o,pos:t}=qe(e,t,s,r,4,!1,n,i));return{code:o,pos:t}}function tt(e,s,r){return new t(r,e-s,e)}const st=new Set([103,109,115,105,121,117,100,118]);class rt{constructor(e){const t=e.startIndex||0;this.type=e.type,this.value=e.value,this.start=t+e.start,this.end=t+e.end,this.loc=new s(e.startLoc,e.endLoc)}}class nt extends Ke{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(e,t,s,r)=>!!(2048&this.optionFlags)&&(this.raise(A.InvalidDigit,tt(e,t,s),{radix:r}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(A.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(A.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(A.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(A.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(e,t,s)=>{this.recordStrictModeErrors(A.StrictNumericEscape,tt(e,t,s))},unterminated:(e,t,s)=>{throw this.raise(A.UnterminatedString,tt(e-1,t,s))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(A.StrictNumericEscape),unterminated:(e,t,s)=>{throw this.raise(A.UnterminatedTemplate,tt(e,t,s))}}),this.state=new Ve,this.state.init(e),this.input=t,this.length=t.length,this.comments=[],this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),256&this.optionFlags&&this.pushToken(new rt(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return!!this.match(e)&&(this.next(),!0)}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return ke.lastIndex=e,ke.test(this.input)?ke.lastIndex:e}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(e){return this.input.charCodeAt(this.nextTokenStartSince(e))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(e){return Oe.lastIndex=e,Oe.test(this.input)?Oe.lastIndex:e}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){const s=this.input.charCodeAt(e);56320==(64512&s)&&(t=65536+((1023&t)<<10)+(1023&s))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach(([e,t])=>this.raise(e,t)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(140):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let t;this.isLookahead||(t=this.state.curPosition());const r=this.state.pos,n=this.input.indexOf(e,r+2);if(-1===n)throw this.raise(A.UnterminatedComment,this.state.curPosition());for(this.state.pos=n+e.length,Te.lastIndex=r+2;Te.test(this.input)&&Te.lastIndex<=n;)++this.state.curLine,this.state.lineStart=Te.lastIndex;if(this.isLookahead)return;const i={type:"CommentBlock",value:this.input.slice(r+2,n),start:this.sourceToOffsetPos(r),end:this.sourceToOffsetPos(n+e.length),loc:new s(t,this.state.curPosition())};return 256&this.optionFlags&&this.pushToken(i),i}skipLineComment(e){const t=this.state.pos;let r;this.isLookahead||(r=this.state.curPosition());let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!Pe(n)&&++this.state.pos<this.length;)n=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const i=this.state.pos,o={type:"CommentLine",value:this.input.slice(t+e,i),start:this.sourceToOffsetPos(t),end:this.sourceToOffsetPos(i),loc:new s(r,this.state.curPosition())};return 256&this.optionFlags&&this.pushToken(o),o}skipSpace(){const e=this.state.pos,t=4096&this.optionFlags?[]:null;e:for(;this.state.pos<this.length;){const s=this.input.charCodeAt(this.state.pos);switch(s){case 32:case 160:case 9:++this.state.pos;break;case 13:10===this.input.charCodeAt(this.state.pos+1)&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{const e=this.skipBlockComment("*/");void 0!==e&&(this.addComment(e),null==t||t.push(e));break}case 47:{const e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),null==t||t.push(e));break}default:break e}break;default:if(_e(s))++this.state.pos;else if(45===s&&!this.inModule&&8192&this.optionFlags){const s=this.state.pos;if(45!==this.input.charCodeAt(s+1)||62!==this.input.charCodeAt(s+2)||!(0===e||this.state.lineStart>e))break e;{const e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),null==t||t.push(e))}}else{if(60!==s||this.inModule||!(8192&this.optionFlags))break e;{const e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{const e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),null==t||t.push(e))}}}}}if((null==t?void 0:t.length)>0){const s=this.state.pos,r={start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(s),comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();const s=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||this.updateContext(s)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;const e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(A.UnexpectedDigitAfterHash,this.state.curPosition());if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"bar"===this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(123===t?A.RecordExpressionHashIncorrectStartSyntaxType:A.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else ie(t)?(++this.state.pos,this.finishToken(139,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){const e=this.input.charCodeAt(this.state.pos+1);e>=48&&e<=57?this.readNumber(!0):46===e&&46===this.input.charCodeAt(this.state.pos+2)?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;const t=this.state.pos;for(this.state.pos+=1;!Pe(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);const s=this.input.slice(t+2,this.state.pos);return this.finishToken(28,s),!0}readToken_mult_modulo(e){let t=42===e?55:54,s=1,r=this.input.charCodeAt(this.state.pos+1);42===e&&42===r&&(s++,r=this.input.charCodeAt(this.state.pos+2),t=57),61!==r||this.state.inType||(s++,t=37===e?33:30),this.finishOp(t,s)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(A.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(A.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?43:45,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===e?41:42,2)}readToken_caret(){const e=this.input.charCodeAt(this.state.pos+1);if(61!==e||this.state.inType)if(94===e&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){this.finishOp(37,2);94===this.input.codePointAt(this.state.pos)&&this.unexpected()}else this.finishOp(44,1);else this.finishOp(32,2)}readToken_atSign(){64===this.input.charCodeAt(this.state.pos+1)&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(30,3):void this.finishOp(51,2);61!==t?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){const t=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+t)?void this.finishOp(30,t+1):void this.finishOp(52,t)}61!==t?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(e){const t=this.input.charCodeAt(this.state.pos+1);if(61!==t)return 61===e&&62===t?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(61===e?29:35,1);this.finishOp(46,61===this.input.charCodeAt(this.state.pos+2)?3:2)}readToken_question(){const e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);63===e?61===t?this.finishOp(30,3):this.finishOp(40,2):46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(A.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(A.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{const e=this.input.charCodeAt(this.state.pos+1);if(120===e||88===e)return void this.readRadixNumber(16);if(111===e||79===e)return void this.readRadixNumber(8);if(98===e||66===e)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return void this.readNumber(!1);case 34:case 39:return void this.readString(e);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(e);case 124:case 38:return void this.readToken_pipe_amp(e);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(e);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return void this.readToken_atSign();case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(ie(e))return void this.readWord(e)}throw this.raise(A.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(e)})}finishOp(e,t){const s=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,s)}readRegexp(){const e=this.state.startLoc,t=this.state.start+1;let s,n,{pos:i}=this.state;for(;;++i){if(i>=this.length)throw this.raise(A.UnterminatedRegExp,r(e,1));const t=this.input.charCodeAt(i);if(Pe(t))throw this.raise(A.UnterminatedRegExp,r(e,1));if(s)s=!1;else{if(91===t)n=!0;else if(93===t&&n)n=!1;else if(47===t&&!n)break;s=92===t}}const o=this.input.slice(t,i);++i;let a="";const c=()=>r(e,i+2-t);for(;i<this.length;){const e=this.codePointAtPos(i),t=String.fromCharCode(e);if(st.has(e))118===e?a.includes("u")&&this.raise(A.IncompatibleRegExpUVFlags,c()):117===e&&a.includes("v")&&this.raise(A.IncompatibleRegExpUVFlags,c()),a.includes(t)&&this.raise(A.DuplicateRegExpFlags,c());else{if(!oe(e)&&92!==e)break;this.raise(A.MalformedRegExpFlags,c())}++i,a+=t}this.state.pos=i,this.finishToken(138,{pattern:o,flags:a})}readInt(e,t,s=!1,r=!0){const{n:n,pos:i}=ze(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,t,s,r,this.errorHandlers_readInt,!1);return this.state.pos=i,n}readRadixNumber(e){const t=this.state.pos,s=this.state.curPosition();let n=!1;this.state.pos+=2;const i=this.readInt(e);null==i&&this.raise(A.InvalidDigit,r(s,2),{radix:e});const o=this.input.charCodeAt(this.state.pos);if(110===o)++this.state.pos,n=!0;else if(109===o)throw this.raise(A.InvalidDecimal,s);if(ie(this.codePointAtPos(this.state.pos)))throw this.raise(A.NumberIdentifier,this.state.curPosition());if(n){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");return void this.finishToken(136,e)}this.finishToken(135,i)}readNumber(e){const t=this.state.pos,s=this.state.curPosition();let n=!1,i=!1,o=!1,a=!1;e||null!==this.readInt(10)||this.raise(A.InvalidNumber,this.state.curPosition());const c=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(c){const e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(A.StrictOctalLiteral,s),!this.state.strict){const t=e.indexOf("_");t>0&&this.raise(A.ZeroDigitNumericSeparator,r(s,t))}a=c&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(46!==l||a||(++this.state.pos,this.readInt(10),n=!0,l=this.input.charCodeAt(this.state.pos)),69!==l&&101!==l||a||(l=this.input.charCodeAt(++this.state.pos),43!==l&&45!==l||++this.state.pos,null===this.readInt(10)&&this.raise(A.InvalidOrMissingExponent,s),n=!0,o=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((n||c)&&this.raise(A.InvalidBigIntLiteral,s),++this.state.pos,i=!0),109===l){this.expectPlugin("decimal",this.state.curPosition()),(o||c)&&this.raise(A.InvalidDecimal,s),++this.state.pos;var h=!0}if(ie(this.codePointAtPos(this.state.pos)))throw this.raise(A.NumberIdentifier,this.state.curPosition());const p=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(i)return void this.finishToken(136,p);if(h)return void this.finishToken(137,p);const u=a?parseInt(p,8):parseFloat(p);this.finishToken(135,u)}readCodePoint(e){const{code:t,pos:s}=et(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=s,t}readString(e){const{str:t,pos:s,curLine:r,lineStart:n}=$e(34===e?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=s+1,this.state.lineStart=n,this.state.curLine=r,this.finishToken(134,t)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){const e=this.input[this.state.pos],{str:s,firstInvalidLoc:r,pos:n,curLine:i,lineStart:o}=$e("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=n+1,this.state.lineStart=o,this.state.curLine=i,r&&(this.state.firstInvalidTemplateEscapePos=new t(r.curLine,r.pos-r.lineStart,this.sourceToOffsetPos(r.pos))),96===this.input.codePointAt(n)?this.finishToken(24,r?null:e+s+"`"):(this.state.pos++,this.finishToken(25,r?null:e+s+"${"))}recordStrictModeErrors(e,t){const s=t.index;this.state.strict&&!this.state.strictErrors.has(s)?this.raise(e,t):this.state.strictErrors.set(s,[e,t])}readWord1(e){this.state.containsEsc=!1;let t="";const s=this.state.pos;let r=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){const e=this.codePointAtPos(this.state.pos);if(oe(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(r,this.state.pos);const e=this.state.curPosition(),n=this.state.pos===s?ie:oe;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(A.MissingUnicodeEscape,this.state.curPosition()),r=this.state.pos-1;continue}++this.state.pos;const i=this.readCodePoint(!0);null!==i&&(n(i)||this.raise(A.EscapedCharNotAnIdentifier,e),t+=String.fromCodePoint(i)),r=this.state.pos}}}return t+this.input.slice(r,this.state.pos)}readWord(e){const t=this.readWord1(e),s=P.get(t);void 0!==s?this.finishToken(s,H(s)):this.finishToken(132,t)}checkKeywordEscapes(){const{type:e}=this.state;Y(e)&&this.state.containsEsc&&this.raise(A.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:H(e)})}raise(e,s,r={}){const n=e(s instanceof t?s:s.loc.start,r);if(!(2048&this.optionFlags))throw n;return this.isLookahead||this.state.errors.push(n),n}raiseOverwrite(e,s,r={}){const n=s instanceof t?s:s.loc.start,i=n.index,o=this.state.errors;for(let t=o.length-1;t>=0;t--){const s=o[t];if(s.loc.index===i)return o[t]=e(n,r);if(s.loc.index<i)break}return this.raise(e,s,r)}updateContext(e){}unexpected(e,t){throw this.raise(A.UnexpectedToken,null!=e?e:this.state.startLoc,{expected:t?H(t):null})}expectPlugin(e,t){if(this.hasPlugin(e))return!0;throw this.raise(A.MissingPlugin,null!=t?t:this.state.startLoc,{missingPlugin:[e]})}expectOnePlugin(e){if(!e.some(e=>this.hasPlugin(e)))throw this.raise(A.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:e})}errorBuilder(e){return(t,s,r)=>{this.raise(e,tt(t,s,r))}}}class it{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class ot{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new it)}exit(){const e=this.stack.pop(),t=this.current();for(const[s,r]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(s)||t.undefinedPrivateNames.set(s,r):this.parser.raise(A.InvalidPrivateFieldResolution,r,{identifierName:s})}declarePrivateName(e,t,s){const{privateNames:r,loneAccessors:n,undefinedPrivateNames:i}=this.current();let o=r.has(e);if(3&t){const s=o&&n.get(e);if(s){o=(3&s)===(3&t)||(4&s)!==(4&t),o||n.delete(e)}else o||n.set(e,t)}o&&this.parser.raise(A.PrivateNameRedeclaration,s,{identifierName:e}),r.add(e),i.delete(e)}usePrivateName(e,t){let s;for(s of this.stack)if(s.privateNames.has(e))return;s?s.undefinedPrivateNames.set(e,t):this.parser.raise(A.InvalidPrivateFieldResolution,t,{identifierName:e})}}class at{constructor(e=0){this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class ct extends at{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,t){const s=t.index;this.declarationErrors.set(s,[e,t])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}}class lt{constructor(e){this.parser=void 0,this.stack=[new at],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){const s=t.loc.start,{stack:r}=this;let n=r.length-1,i=r[n];for(;!i.isCertainlyParameterDeclaration();){if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,s),i=r[--n]}this.parser.raise(e,s)}recordArrowParameterBindingError(e,t){const{stack:s}=this,r=s[s.length-1],n=t.loc.start;if(r.isCertainlyParameterDeclaration())this.parser.raise(e,n);else{if(!r.canBeArrowParameterDeclaration())return;r.recordDeclarationError(e,n)}}recordAsyncArrowParametersError(e){const{stack:t}=this;let s=t.length-1,r=t[s];for(;r.canBeArrowParameterDeclaration();)2===r.type&&r.recordDeclarationError(A.AwaitBindingIdentifier,e),r=t[--s]}validateAsPattern(){const{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors(([t,s])=>{this.parser.raise(t,s);let r=e.length-2,n=e[r];for(;n.canBeArrowParameterDeclaration();)n.clearDeclarationError(s.index),n=e[--r]})}}function ht(){return new at}class pt extends nt{addExtra(e,t,s,r=!0){if(!e)return;let{extra:n}=e;null==n&&(n={},e.extra=n),r?n[t]=s:Object.defineProperty(n,t,{enumerable:r,value:s})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){if(this.input.startsWith(t,e)){const s=this.input.charCodeAt(e+t.length);return!(oe(s)||55296==(64512&s))}return!1}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){if(!this.eatContextual(e)){if(null!=t)throw this.raise(t,this.state.startLoc);this.unexpected(null,e)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Ne(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return Ne(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(A.MissingSemicolon,this.state.lastTokEndLoc)}expect(e,t){this.eat(e)||this.unexpected(t,e)}tryParse(e,t=this.state.clone()){const s={node:null};try{const r=e((e=null)=>{throw s.node=e,s});if(this.state.errors.length>t.errors.length){const e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:r,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:r,error:null,thrown:!1,aborted:!1,failState:null}}catch(r){const e=this.state;if(this.state=t,r instanceof SyntaxError)return{node:null,error:r,thrown:!0,aborted:!1,failState:e};if(r===s)return{node:s.node,error:null,thrown:!1,aborted:!0,failState:e};throw r}}checkExpressionErrors(e,t){if(!e)return!1;const{shorthandAssignLoc:s,doubleProtoLoc:r,privateKeyLoc:n,optionalParametersLoc:i,voidPatternLoc:o}=e;if(!t)return!!(s||r||i||n||o);null!=s&&this.raise(A.InvalidCoverInitializedName,s),null!=r&&this.raise(A.DuplicateProto,r),null!=n&&this.raise(A.UnexpectedPrivateField,n),null!=i&&this.unexpected(i),null!=o&&this.raise(A.InvalidCoverDiscardElement,o)}isLiteralPropertyName(){return W(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(e="module"===this.options.sourceType){const t=this.state.labels;this.state.labels=[];const s=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const r=this.inModule;this.inModule=e;const n=this.scope,i=this.getScopeHandler();this.scope=new i(this,e);const o=this.prodParam;this.prodParam=new Fe;const a=this.classScope;this.classScope=new ot(this);const c=this.expressionScope;return this.expressionScope=new lt(this),()=>{this.state.labels=t,this.exportedIdentifiers=s,this.inModule=r,this.scope=n,this.prodParam=o,this.classScope=a,this.expressionScope=c}}enterInitialScopes(){let e=0;(this.inModule||1&this.optionFlags)&&(e|=2),32&this.optionFlags&&(e|=1);const t=!this.inModule&&"commonjs"===this.options.sourceType;(t||2&this.optionFlags)&&(e|=4),this.prodParam.enter(e);let s=t?514:1;4&this.optionFlags&&(s|=512),this.scope.enter(s)}checkDestructuringPrivate(e){const{privateKeyLoc:t}=e;null!==t&&this.expectPlugin("destructuringPrivate",t)}}class ut{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}}class dt{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new s(r),128&(null==e?void 0:e.optionFlags)&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}}const ft=dt.prototype;ft.__clone=function(){const e=new dt(void 0,this.start,this.loc.start),t=Object.keys(this);for(let s=0,r=t.length;s<r;s++){const r=t[s];"leadingComments"!==r&&"trailingComments"!==r&&"innerComments"!==r&&(e[r]=this[r])}return e};class mt extends pt{startNode(){const e=this.state.startLoc;return new dt(this,e.index,e)}startNodeAt(e){return new dt(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEndLoc)}finishNodeAt(e,t,s){return e.type=t,e.end=s.index,e.loc.end=s,128&this.optionFlags&&(e.range[1]=s.index),4096&this.optionFlags&&this.processComment(e),e}resetStartLocation(e,t){e.start=t.index,e.loc.start=t,128&this.optionFlags&&(e.range[0]=t.index)}resetEndLocation(e,t=this.state.lastTokEndLoc){e.end=t.index,e.loc.end=t,128&this.optionFlags&&(e.range[1]=t.index)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.loc.start)}castNodeTo(e,t){return e.type=t,e}cloneIdentifier(e){const{type:t,start:s,end:r,loc:n,range:i,name:o}=e,a=Object.create(ft);return a.type=t,a.start=s,a.end=r,a.loc=n,a.range=i,a.name=o,e.extra&&(a.extra=e.extra),a}cloneStringLiteral(e){const{type:t,start:s,end:r,loc:n,range:i,extra:o}=e,a=Object.create(ft);return a.type=t,a.start=s,a.end=r,a.loc=n,a.range=i,a.extra=o,a.value=e.value,a}}const At=e=>"ParenthesizedExpression"===e.type?At(e.expression):e;class gt extends mt{toAssignable(e,t=!1){var s,r;let n;switch(("ParenthesizedExpression"===e.type||null!=(s=e.extra)&&s.parenthesized)&&(n=At(e),t?"Identifier"===n.type?this.expressionScope.recordArrowParameterBindingError(A.InvalidParenthesizedAssignment,e):"CallExpression"===n.type||"MemberExpression"===n.type||this.isOptionalMemberExpression(n)||this.raise(A.InvalidParenthesizedAssignment,e):this.raise(A.InvalidParenthesizedAssignment,e)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":break;case"ObjectExpression":this.castNodeTo(e,"ObjectPattern");for(let s=0,r=e.properties.length,n=r-1;s<r;s++){var i;const r=e.properties[s],o=s===n;this.toAssignableObjectExpressionProp(r,o,t),o&&"RestElement"===r.type&&null!=(i=e.extra)&&i.trailingCommaLoc&&this.raise(A.RestTrailingComma,e.extra.trailingCommaLoc)}break;case"ObjectProperty":{const{key:s,value:r}=e;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(r,t);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(e,"ArrayPattern"),this.toAssignableList(e.elements,null==(r=e.extra)?void 0:r.trailingCommaLoc,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(A.MissingEqInAssignment,e.left.loc.end),this.castNodeTo(e,"AssignmentPattern"),delete e.operator,"VoidPattern"===e.left.type&&this.raise(A.VoidPatternInitializer,e.left),this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(n,t)}}toAssignableObjectExpressionProp(e,t,s){if("ObjectMethod"===e.type)this.raise("get"===e.kind||"set"===e.kind?A.PatternHasAccessor:A.PatternHasMethod,e.key);else if("SpreadElement"===e.type){this.castNodeTo(e,"RestElement");const r=e.argument;this.checkToRestConversion(r,!1),this.toAssignable(r,s),t||this.raise(A.RestTrailingComma,e)}else this.toAssignable(e,s)}toAssignableList(e,t,s){const r=e.length-1;for(let n=0;n<=r;n++){const i=e[n];i&&(this.toAssignableListItem(e,n,s),"RestElement"===i.type&&(n<r?this.raise(A.RestTrailingComma,i):t&&this.raise(A.RestTrailingComma,t)))}}toAssignableListItem(e,t,s){const r=e[t];if("SpreadElement"===r.type){this.castNodeTo(r,"RestElement");const e=r.argument;this.checkToRestConversion(e,!0),this.toAssignable(e,s)}else this.toAssignable(r,s)}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":return!0;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,s)=>"ObjectMethod"!==e.type&&(s===t||"SpreadElement"!==e.type)&&this.isAssignable(e))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>null===e||this.isAssignable(e));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const s of e)"ArrayExpression"===(null==s?void 0:s.type)&&this.toReferencedListDeep(s.elements)}parseSpread(e){const t=this.startNode();return this.next(),t.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(t,"SpreadElement")}parseRestBinding(){const e=this.startNode();this.next();const t=this.parseBindingAtom();return"VoidPattern"===t.type&&this.raise(A.UnexpectedVoidPattern,t),e.argument=t,this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(e,t,s){const r=1&s,n=[];let i=!0;for(;!this.eat(e);)if(i?i=!1:this.expect(12),r&&this.match(12))n.push(null);else{if(this.eat(e))break;if(this.match(21)){let r=this.parseRestBinding();if((this.hasPlugin("flow")||2&s)&&(r=this.parseFunctionParamType(r)),n.push(r),!this.checkCommaAfterRest(t)){this.expect(e);break}}else{const e=[];if(2&s)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(A.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)e.push(this.parseDecorator());n.push(this.parseBindingElement(s,e))}}return n}parseBindingRestProperty(e){return this.next(),this.hasPlugin("discardBinding")&&this.match(88)?(e.argument=this.parseVoidPattern(null),this.raise(A.UnexpectedVoidPattern,e.argument)):e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){const{type:e,startLoc:t}=this.state;if(21===e)return this.parseBindingRestProperty(this.startNode());const s=this.startNode();return 139===e?(this.expectPlugin("destructuringPrivate",t),this.classScope.usePrivateName(this.state.value,t),s.key=this.parsePrivateName()):this.parsePropertyName(s),s.method=!1,this.parseObjPropValue(s,t,!1,!1,!0,!1)}parseBindingElement(e,t){const s=this.parseMaybeDefault();(this.hasPlugin("flow")||2&e)&&this.parseFunctionParamType(s),t.length&&(s.decorators=t,this.resetStartLocationFromNode(s,t[0]));return this.parseMaybeDefault(s.loc.start,s)}parseFunctionParamType(e){return e}parseMaybeDefault(e,t){if(null!=e||(e=this.state.startLoc),t=null!=t?t:this.parseBindingAtom(),!this.eat(29))return t;const s=this.startNodeAt(e);return"VoidPattern"===t.type&&this.raise(A.VoidPatternInitializer,t),s.left=t,s.right=this.parseMaybeAssignAllowIn(),this.finishNode(s,"AssignmentPattern")}isValidLVal(e,t,s,r){switch(e){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(!t&&!this.state.strict&&8192&this.optionFlags)return!0}return!1}isOptionalMemberExpression(e){return"OptionalMemberExpression"===e.type}checkLVal(e,t,s=64,r=!1,n=!1,i=!1,o=!1){var a;const c=e.type;if(this.isObjectMethod(e))return;const l=this.isOptionalMemberExpression(e);if(l||"MemberExpression"===c)return l&&(this.expectPlugin("optionalChainingAssign",e.loc.start),"AssignmentExpression"!==t.type&&this.raise(A.InvalidLhsOptionalChaining,e,{ancestor:t})),void(64!==s&&this.raise(A.InvalidPropertyBindingPattern,e));if("Identifier"===c){this.checkIdentifier(e,s,n);const{name:t}=e;return void(r&&(r.has(t)?this.raise(A.ParamDupe,e):r.add(t)))}"VoidPattern"===c&&"CatchClause"===t.type&&this.raise(A.VoidPatternCatchClauseParam,e);const h=At(e);o||(o="CallExpression"===h.type&&("Import"===h.callee.type||"Super"===h.callee.type));const p=this.isValidLVal(c,o,!(i||null!=(a=e.extra)&&a.parenthesized)&&"AssignmentExpression"===t.type,s);if(!0===p)return;if(!1===p){const r=64===s?A.InvalidLhs:A.InvalidLhsBinding;return void this.raise(r,e,{ancestor:t})}let u,d;"string"==typeof p?(u=p,d="ParenthesizedExpression"===c):[u,d]=p;const f="ArrayPattern"===c||"ObjectPattern"===c?{type:c}:t,m=e[u];if(Array.isArray(m))for(const A of m)A&&this.checkLVal(A,f,s,r,n,d,!0);else m&&this.checkLVal(m,f,s,r,n,d,o)}checkIdentifier(e,t,s=!1){this.state.strict&&(s?me(e.name,this.inModule):fe(e.name))&&(64===t?this.raise(A.StrictEvalArguments,e,{referenceName:e.name}):this.raise(A.StrictEvalArgumentsBinding,e,{bindingName:e.name})),8192&t&&"let"===e.name&&this.raise(A.LetInLexicalBinding,e),64&t||this.declareNameFromIdentifier(e,t)}declareNameFromIdentifier(e,t){this.scope.declareName(e.name,t,e.loc.start)}checkToRestConversion(e,t){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,t);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(t)break;default:this.raise(A.InvalidRestAssignmentPattern,e)}}checkCommaAfterRest(e){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===e?A.RestTrailingComma:A.ElementAfterRest,this.state.startLoc),!0)}}const yt=/in(?:stanceof)?|as|satisfies/y;function xt(e){if(!e)throw new Error("Assert fail")}const bt=m`typescript`({AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' 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:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:e})=>`Accessibility modifier already seen: '${e}'.`,DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' 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:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,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:e})=>`'${e}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:e=>`'${e}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:e=>`'${e}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[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:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,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:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,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:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`,UsingDeclarationInAmbientContext:e=>`'${e}' declarations are not allowed in ambient contexts.`});function St(e){return"private"===e||"public"===e||"protected"===e}function Et(e){return"in"===e||"out"===e}function vt(e){if("MemberExpression"!==e.type)return!1;const{computed:t,property:s}=e;return(!t||"StringLiteral"===s.type||!("TemplateLiteral"!==s.type||s.expressions.length>0))&&It(e.object)}function wt(e,t){var s;const{type:r}=e;if(null!=(s=e.extra)&&s.parenthesized)return!1;if(t){if("Literal"===r){const{value:t}=e;if("string"==typeof t||"boolean"==typeof t)return!0}}else if("StringLiteral"===r||"BooleanLiteral"===r)return!0;return!(!Ct(e,t)&&!function(e,t){if("UnaryExpression"===e.type){const{operator:s,argument:r}=e;if("-"===s&&Ct(r,t))return!0}return!1}(e,t))||("TemplateLiteral"===r&&0===e.expressions.length||!!vt(e))}function Ct(e,t){return t?"Literal"===e.type&&("number"==typeof e.value||"bigint"in e):"NumericLiteral"===e.type||"BigIntLiteral"===e.type}function It(e){return"Identifier"===e.type||"MemberExpression"===e.type&&!e.computed&&It(e.object)}const Tt=m`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."});const Pt=["minimal","fsharp","hack","smart"],Nt=["^^","@@","^","%","#"];const kt={estree:e=>class extends e{parse(){const e=x(super.parse());return 256&this.optionFlags&&(e.tokens=e.tokens.map(x)),e}parseRegExpLiteral({pattern:e,flags:t}){let s=null;try{s=new RegExp(e,t)}catch(n){}const r=this.estreeParseLiteral(s);return r.regex={pattern:e,flags:t},r}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(r){t=null}const s=this.estreeParseLiteral(t);return s.bigint=String(s.value||e),s}parseDecimalLiteral(e){const t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}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,t){const s=this.startNodeAtNode(e);return s.expression=e,this.finishNodeAt(s,"ChainExpression",t)}directiveToStmt(e){const t=e.value;delete e.value,this.castNodeTo(t,"Literal"),t.raw=t.extra.raw,t.value=t.extra.expressionValue;const s=this.castNodeTo(e,"ExpressionStatement");return s.expression=t,s.directive=t.extra.rawValue,delete t.extra,s}fillOptionalPropertiesForTSESLint(e){}cloneEstreeStringLiteral(e){const{start:t,end:s,loc:r,range:n,raw:i,value:o}=e,a=Object.create(e.constructor.prototype);return a.type="Literal",a.start=t,a.end=s,a.loc=r,a.range=n,a.raw=i,a.value=o,a}initFunction(e,t){super.initFunction(e,t),e.expression=!1}checkDeclaration(e){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e,t,s,r,n){super.parseBlockBody(e,t,s,r,n);const i=e.directives.map(e=>this.directiveToStmt(e));e.body=i.concat(e.body),delete e.directives}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);return delete e.id,e.name=t,this.castNodeTo(e,"PrivateIdentifier")}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){const s=super.parseLiteral(e,t);return s.raw=s.extra.raw,delete s.extra,s}parseFunctionBody(e,t,s=!1){super.parseFunctionBody(e,t,s),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,s,r,n,i,o=!1){let a=this.startNode();a.kind=e.kind,a=super.parseMethod(a,t,s,r,n,i,o),delete a.kind;const{typeParameters:c}=e;c&&(delete e.typeParameters,a.typeParameters=c,this.resetStartLocationFromNode(a,c));const l=this.castNodeTo(a,"FunctionExpression");return e.value=l,"ClassPrivateMethod"===i&&(e.computed=!1),"ObjectMethod"===i?("method"===e.kind&&(e.kind="init"),e.shorthand=!1,this.finishNode(e,"Property")):this.finishNode(e,"MethodDefinition")}nameIsConstructor(e){return"Literal"===e.type?"constructor"===e.value:super.nameIsConstructor(e)}parseClassProperty(...e){const t=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")?(this.castNodeTo(t,"PropertyDefinition"),t):t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")?(this.castNodeTo(t,"PropertyDefinition"),t.computed=!1,t):t}parseClassAccessorProperty(e){const t=super.parseClassAccessorProperty(e);return this.getPluginOption("estree","classFeatures")?(t.abstract&&this.hasPlugin("typescript")?(delete t.abstract,this.castNodeTo(t,"TSAbstractAccessorProperty")):this.castNodeTo(t,"AccessorProperty"),t):t}parseObjectProperty(e,t,s,r){const n=super.parseObjectProperty(e,t,s,r);return n&&(n.kind="init",this.castNodeTo(n,"Property")),n}finishObjectProperty(e){return e.kind="init",this.finishNode(e,"Property")}isValidLVal(e,t,s,r){return"Property"===e?"value":super.isValidLVal(e,t,s,r)}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e,t=!1){if(null!=e&&this.isObjectProperty(e)){const{key:s,value:r}=e;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(r,t)}else super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,t,s){"Property"!==e.type||"get"!==e.kind&&"set"!==e.kind?"Property"===e.type&&e.method?this.raise(A.PatternHasMethod,e.key):super.toAssignableObjectExpressionProp(e,t,s):this.raise(A.PatternHasAccessor,e.key)}finishCallExpression(e,t){const s=super.finishCallExpression(e,t);var r,n;"Import"===s.callee.type?(this.castNodeTo(s,"ImportExpression"),s.source=s.arguments[0],s.options=null!=(r=s.arguments[1])?r:null,s.attributes=null!=(n=s.arguments[1])?n:null,delete s.arguments,delete s.callee):"OptionalCallExpression"===s.type?this.castNodeTo(s,"CallExpression"):s.optional=!1;return s}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e,t){const s=this.state.lastTokStartLoc,r=super.parseExport(e,t);switch(r.type){case"ExportAllDeclaration":r.exported=null;break;case"ExportNamedDeclaration":1===r.specifiers.length&&"ExportNamespaceSpecifier"===r.specifiers[0].type&&(this.castNodeTo(r,"ExportAllDeclaration"),r.exported=r.specifiers[0].exported,delete r.specifiers);case"ExportDefaultDeclaration":{var n;const{declaration:e}=r;"ClassDeclaration"===(null==e?void 0:e.type)&&(null==(n=e.decorators)?void 0:n.length)>0&&e.start===r.start&&this.resetStartLocation(r,s)}}return r}stopParseSubscript(e,t){const s=super.stopParseSubscript(e,t);return t.optionalChainMember?this.estreeParseChainExpression(s,e.loc.end):s}parseMember(e,t,s,r,n){const i=super.parseMember(e,t,s,r,n);return"OptionalMemberExpression"===i.type?this.castNodeTo(i,"MemberExpression"):i.optional=!1,i}isOptionalMemberExpression(e){return"ChainExpression"===e.type?"MemberExpression"===e.expression.type:super.isOptionalMemberExpression(e)}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return"Property"===e.type&&(e.method||"get"===e.kind||"set"===e.kind)}castNodeTo(e,t){const s=super.castNodeTo(e,t);return this.fillOptionalPropertiesForTSESLint(s),s}cloneIdentifier(e){const t=super.cloneIdentifier(e);return this.fillOptionalPropertiesForTSESLint(t),t}cloneStringLiteral(e){return"Literal"===e.type?this.cloneEstreeStringLiteral(e):super.cloneStringLiteral(e)}finishNodeAt(e,t,s){return x(super.finishNodeAt(e,t,s))}finishNode(e,t){const s=super.finishNode(e,t);return this.fillOptionalPropertiesForTSESLint(s),s}resetStartLocation(e,t){super.resetStartLocation(e,t),x(e)}resetEndLocation(e,t=this.state.lastTokEndLoc){super.resetEndLocation(e,t),x(e)}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(De.UnterminatedJsxContent,this.state.startLoc);const s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:return this.state.pos===this.state.start?void(60===s&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(s)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(142,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:Pe(s)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}}jsxReadNewLine(e){const t=this.input.charCodeAt(this.state.pos);let s;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,s=e?"\n":"\r\n"):s=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,s}jsxReadString(e){let t="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(A.UnterminatedString,this.state.startLoc);const r=this.input.charCodeAt(this.state.pos);if(r===e)break;38===r?(t+=this.input.slice(s,this.state.pos),t+=this.jsxReadEntity(),s=this.state.pos):Pe(r)?(t+=this.input.slice(s,this.state.pos),t+=this.jsxReadNewLine(!1),s=this.state.pos):++this.state.pos}t+=this.input.slice(s,this.state.pos++),this.finishToken(134,t)}jsxReadEntity(){const e=++this.state.pos;if(35===this.codePointAtPos(this.state.pos)){++this.state.pos;let e=10;120===this.codePointAtPos(this.state.pos)&&(e=16,++this.state.pos);const t=this.readInt(e,void 0,!1,"bail");if(null!==t&&59===this.codePointAtPos(this.state.pos))return++this.state.pos,String.fromCodePoint(t)}else{let t=0,s=!1;for(;t++<10&&this.state.pos<this.length&&!(s=59===this.codePointAtPos(this.state.pos));)++this.state.pos;if(s){const t=this.input.slice(e,this.state.pos),s=Ie[t];if(++this.state.pos,s)return s}}return this.state.pos=e,"&"}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(oe(e)||45===e);this.finishToken(141,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(141)?e.name=this.state.value:Y(this.state.type)?e.name=H(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.startLoc,t=this.jsxParseIdentifier();if(!this.eat(14))return t;const s=this.startNodeAt(e);return s.namespace=t,s.name=this.jsxParseIdentifier(),this.finishNode(s,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.startLoc;let t=this.jsxParseNamespacedName();if("JSXNamespacedName"===t.type)return t;for(;this.eat(16);){const s=this.startNodeAt(e);s.object=t,s.property=this.jsxParseIdentifier(),t=this.finishNode(s,"JSXMemberExpression")}return t}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.setContext(S.brace),this.next(),e=this.jsxParseExpressionContainer(e,S.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(De.AttributeIsEmpty,e),e;case 143:case 134:return this.parseExprAtom();default:throw this.raise(De.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){const 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(S.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const t=this.parseExpression();e.expression=t}return this.setContext(t),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.match(5)?(this.setContext(S.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(S.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){const t=this.startNodeAt(e);return this.eat(144)?this.finishNode(t,"JSXOpeningFragment"):(t.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(t))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(56)&&!this.match(144);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(56),this.expect(144),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e){const t=this.startNodeAt(e);return this.eat(144)?this.finishNode(t,"JSXClosingFragment"):(t.name=this.jsxParseElementName(),this.expect(144),this.finishNode(t,"JSXClosingElement"))}jsxParseElementAt(e){const t=this.startNodeAt(e),s=[],r=this.jsxParseOpeningElementAt(e);let n=null;if(!r.selfClosing){e:for(;;)switch(this.state.type){case 143:if(e=this.state.startLoc,this.next(),this.eat(56)){n=this.jsxParseClosingElementAt(e);break e}s.push(this.jsxParseElementAt(e));break;case 142:s.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{const e=this.startNode();this.setContext(S.brace),this.next(),this.match(21)?s.push(this.jsxParseSpreadChild(e)):s.push(this.jsxParseExpressionContainer(e,S.j_expr));break}default:this.unexpected()}Le(r)&&!Le(n)&&null!==n?this.raise(De.MissingClosingTagFragment,n):!Le(r)&&Le(n)?this.raise(De.MissingClosingTagElement,n,{openingTagName:Me(r.name)}):Le(r)||Le(n)||Me(n.name)!==Me(r.name)&&this.raise(De.MissingClosingTagElement,n,{openingTagName:Me(r.name)})}if(Le(r)?(t.openingFragment=r,t.closingFragment=n):(t.openingElement=r,t.closingElement=n),t.children=s,this.match(47))throw this.raise(De.UnwrappedAdjacentJSXElements,this.state.startLoc);return Le(r)?this.finishNode(t,"JSXFragment"):this.finishNode(t,"JSXElement")}jsxParseElement(){const e=this.state.startLoc;return this.next(),this.jsxParseElementAt(e)}setContext(e){const{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(143)?this.jsxParseElement():this.match(47)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(e){const t=this.curContext();if(t!==S.j_expr){if(t===S.j_oTag||t===S.j_cTag){if(ie(e))return void this.jsxReadWord();if(62===e)return++this.state.pos,void this.finishToken(144);if((34===e||39===e)&&t===S.j_oTag)return void this.jsxReadString(e)}if(60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1))return++this.state.pos,void this.finishToken(143);super.getTokenFromCode(e)}else this.jsxReadToken()}updateContext(e){const{context:t,type:s}=this.state;if(56===s&&143===e)t.splice(-2,2,S.j_cTag),this.state.canStartJSXElement=!1;else if(143===s)t.push(S.j_oTag);else if(144===s){const s=t[t.length-1];s===S.j_oTag&&56===e||s===S.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===S.j_expr):(this.setContext(S.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=M[s]}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return be}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}finishToken(e,t){134!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){const t=Ce.exec(e.value);if(t)if("flow"===t[1])this.flowPragma="flow";else{if("noflow"!==t[1])throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}else;}super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=!0,this.expect(e||14);const s=this.flowParseType();return this.state.inType=t,s}flowParsePredicate(){const e=this.startNode(),t=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>t.index+1&&this.raise(Ee.UnexpectedSpaceBetweenModuloChecks,t),this.eat(10)?(e.value=super.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,s=null;return this.match(54)?(this.state.inType=e,s=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(54)&&(s=this.flowParsePredicate())),[t,s]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier(),s=this.startNode(),r=this.startNode();this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,this.expect(10);const n=this.flowParseFunctionTypeParams();return s.params=n.params,s.rest=n.rest,s.this=n._this,this.expect(11),[s.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(r,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.loc.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){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):(t&&this.raise(Ee.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,t);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();const t=e.body=this.startNode(),s=t.body=[];for(this.expect(5);!this.match(8);){const e=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(Ee.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),s.push(super.parseImport(e))):(this.expectContextual(125,Ee.UnsupportedStatementInDeclareModule),s.push(this.flowParseDeclare(e,!0)))}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let r=null,n=!1;return s.forEach(e=>{!function(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}(e)?"DeclareModuleExports"===e.type&&(n&&this.raise(Ee.DuplicateDeclareModuleExports,e),"ES"===r&&this.raise(Ee.AmbiguousDeclareModuleKind,e),r="CommonJS",n=!0):("CommonJS"===r&&this.raise(Ee.AmbiguousDeclareModuleKind,e),r="ES")}),e.kind=r||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){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))&&!t){const e=this.state.value;throw this.raise(Ee.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:e,suggestion:we[e]})}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"ExportNamedDeclaration"===(e=this.parseExport(e,null)).type?(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();const t=this.flowParseTypeAlias(e);return this.castNodeTo(t,"DeclareTypeAlias"),t}flowParseDeclareOpaqueType(e){this.next();const t=this.flowParseOpaqueType(e,!0);return this.castNodeTo(t,"DeclareOpaqueType"),t}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e,!1),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?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(!t&&this.eat(12));if(t){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:t,allowExact:!1,allowSpread:!1,allowProto:t,allowInexact:!1})}flowParseInterfaceExtends(){const 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(Ee.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(e,t,s){Se.has(e)&&this.raise(s?Ee.AssignReservedType:Ee.UnexpectedReservedType,t,{reservedType:e})}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.startLoc,t),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,t){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,t||(e.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const t=this.state.startLoc,s=this.startNode(),r=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return s.name=n.name,s.variance=r,s.bound=n.typeAnnotation,this.match(29)?(this.eat(29),s.default=this.flowParseType()):e&&this.raise(Ee.MissingTypeParamDefault,t),this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let s=!1;do{const e=this.flowParseTypeParameter(s);t.params.push(e),e.default&&(s=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowInTopLevelContext(e){if(this.curContext()===S.brace)return e();{const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}}flowParseTypeParameterInstantiationInExpression(){if(47===this.reScan_lt())return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){const e=this.startNode(),t=this.state.inType;return this.state.inType=!0,e.params=[],this.flowInTopLevelContext(()=>{this.expect(47);const t=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=t}),this.state.inType=t,this.state.inType||this.curContext()!==S.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(47!==this.reScan_lt())return null;const e=this.startNode(),t=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=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const 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,t,s){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=s,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,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,t){const s=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(s),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:s,allowProto:r,allowInexact:n}){const i=this.state.inType;this.state.inType=!0;const o=this.startNode();let a,c;o.callProperties=[],o.properties=[],o.indexers=[],o.internalSlots=[];let l=!1;for(t&&this.match(6)?(this.expect(6),a=9,c=!0):(this.expect(5),a=8,c=!1),o.exact=c;!this.match(a);){let t=!1,i=null,a=null;const h=this.startNode();if(r&&this.isContextual(118)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),i=this.state.startLoc,e=!1)}if(e&&this.isContextual(106)){const e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),t=!0)}const p=this.flowParseVariance();if(this.eat(0))null!=i&&this.unexpected(i),this.eat(0)?(p&&this.unexpected(p.loc.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(h,t))):o.indexers.push(this.flowParseObjectTypeIndexer(h,t,p));else if(this.match(10)||this.match(47))null!=i&&this.unexpected(i),p&&this.unexpected(p.loc.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(h,t));else{let e="init";if(this.isContextual(99)||this.isContextual(104)){W(this.lookahead().type)&&(e=this.state.value,this.next())}const r=this.flowParseObjectTypeProperty(h,t,i,p,e,s,null!=n?n:!c);null===r?(l=!0,a=this.state.lastTokStartLoc):o.properties.push(r)}this.flowObjectTypeSemicolon(),!a||this.match(8)||this.match(9)||this.raise(Ee.UnexpectedExplicitInexactInObject,a)}this.expect(a),s&&(o.inexact=l);const h=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=i,h}flowParseObjectTypeProperty(e,t,s,r,n,i,o){if(this.eat(21)){return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(i?o||this.raise(Ee.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Ee.InexactInsideNonObject,this.state.lastTokStartLoc),r&&this.raise(Ee.InexactVariance,r),null):(i||this.raise(Ee.UnexpectedSpreadType,this.state.lastTokStartLoc),null!=s&&this.unexpected(s),r&&this.raise(Ee.SpreadVariance,r),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"))}{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=s,e.kind=n;let o=!1;return this.match(47)||this.match(10)?(e.method=!0,null!=s&&this.unexpected(s),r&&this.unexpected(r.loc.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.loc.start)),"get"!==n&&"set"!==n||this.flowCheckGetterSetterParams(e),!i&&"constructor"===e.key.name&&e.value.this&&this.raise(Ee.ThisParamBannedInConstructor,e.value.this)):("init"!==n&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=o,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t="get"===e.kind?0:1,s=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise("get"===e.kind?Ee.GetterMayNotHaveThisParam:Ee.SetterMayNotHaveThisParam,e.value.this),s!==t&&this.raise("get"===e.kind?A.BadGetterArity:A.BadSetterArity,e),"set"===e.kind&&e.value.rest&&this.raise(A.BadSetterRestParameter,e)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t){null!=e||(e=this.state.startLoc);let s=t||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const t=this.startNodeAt(e);t.qualification=s,t.id=this.flowParseRestrictedIdentifier(!0),s=this.finishNode(t,"QualifiedTypeIdentifier")}return s}flowParseGenericType(e,t){const s=this.startNodeAt(e);return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(e,t),this.match(47)&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(87),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const 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 t=null,s=!1,r=null;const n=this.startNode(),i=this.lookahead(),o=78===this.state.type;return 14===i.type||17===i.type?(o&&!e&&this.raise(Ee.ThisParamMustBeFirst,n),t=this.parseIdentifier(o),this.eat(17)&&(s=!0,o&&this.raise(Ee.ThisParamMayNotBeOptional,n)),r=this.flowParseTypeInitialiser()):r=this.flowParseType(),n.name=t,n.optional=s,n.typeAnnotation=r,this.finishNode(n,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const t=this.startNodeAt(e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let t=null,s=null;for(this.match(78)&&(s=this.flowParseFunctionTypeParam(!0),s.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)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:s}}flowIdentToTypeAnnotation(e,t,s){switch(s.name){case"any":return this.finishNode(t,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(t,"BooleanTypeAnnotation");case"mixed":return this.finishNode(t,"MixedTypeAnnotation");case"empty":return this.finishNode(t,"EmptyTypeAnnotation");case"number":return this.finishNode(t,"NumberTypeAnnotation");case"string":return this.finishNode(t,"StringTypeAnnotation");case"symbol":return this.finishNode(t,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(s.name),this.flowParseGenericType(e,s)}}flowParsePrimaryType(){const e=this.state.startLoc,t=this.startNode();let s,r,n=!1;const i=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,r=this.flowParseTupleType(),this.state.noAnonFunctionType=i,r;case 47:{const e=this.startNode();return e.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),s=this.flowParseFunctionTypeParams(),e.params=s.params,e.rest=s.rest,e.this=s._this,this.expect(11),this.expect(19),e.returnType=this.flowParseType(),this.finishNode(e,"FunctionTypeAnnotation")}case 10:{const e=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(G(this.state.type)||this.match(78)){const e=this.lookahead().type;n=17!==e&&14!==e}else n=!0;if(n){if(this.state.noAnonFunctionType=!1,r=this.flowParseType(),this.state.noAnonFunctionType=i,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),r;this.eat(12)}return s=r?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(r)]):this.flowParseFunctionTypeParams(),e.params=s.params,e.rest=s.rest,e.this=s._this,this.expect(11),this.expect(19),e.returnType=this.flowParseType(),e.typeParameters=null,this.finishNode(e,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return t.value=this.match(85),this.next(),this.finishNode(t,"BooleanLiteralTypeAnnotation");case 53:if("-"===this.state.value){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",t);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",t);throw this.raise(Ee.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(t,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(t,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(t,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(t,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Y(this.state.type)){const e=H(this.state.type);return this.next(),super.createIdentifier(t,e)}if(G(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){const e=this.state.startLoc;let t=this.flowParsePrimaryType(),s=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const r=this.startNodeAt(e),n=this.eat(18);s=s||n,this.expect(0),!n&&this.match(3)?(r.elementType=t,this.next(),t=this.finishNode(r,"ArrayTypeAnnotation")):(r.objectType=t,r.indexType=this.flowParseType(),this.expect(3),s?(r.optional=n,t=this.finishNode(r,"OptionalIndexedAccessType")):t=this.finishNode(r,"IndexedAccessType"))}return t}flowParsePrefixType(){const e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const t=this.startNodeAt(e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(45);const t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(45);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(43);const t=this.flowParseIntersectionType();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseIntersectionType());return 1===e.types.length?t:this.finishNode(e,"UnionTypeAnnotation")}flowParseType(){const e=this.state.inType;this.state.inType=!0;const t=this.flowParseUnionType();return this.state.inType=e,t}flowParseTypeOrImplicitInstantiation(){if(132===this.state.type&&"_"===this.state.value){const e=this.state.startLoc,t=this.parseIdentifier();return this.flowParseGenericType(e,t)}return this.flowParseType()}flowParseTypeAnnotation(){const e=this.startNode();return e.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(e,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(e){const t=e?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(t.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(t)),t}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,t,s=!1){t?this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,s)):super.parseFunctionBody(e,!1,s)}parseFunctionBodyAndFinish(e,t,s=!1){if(this.match(14)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(e,t,s)}parseStatementLike(e){if(this.state.strict&&this.isContextual(129)){if(Q(this.lookahead().type)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}const t=super.parseStatementLike(e);return void 0!==this.flowPragma||this.isValidDirective(t)||(this.flowPragma=null),t}parseExpressionStatement(e,t,s){if("Identifier"===t.type)if("declare"===t.name){if(this.match(80)||G(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(e)}else if(G(this.state.type)){if("interface"===t.name)return this.flowParseInterface(e);if("type"===t.name)return this.flowParseTypeAlias(e);if("opaque"===t.name)return this.flowParseOpaqueType(e,!1)}return super.parseExpressionStatement(e,t,s)}shouldParseExportDeclaration(){const{type:e}=this.state;return 126===e||V(e)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return 126===e||V(e)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,s){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(s),e}this.expect(17);const r=this.state.clone(),n=this.state.noArrowAt,i=this.startNodeAt(t);let{consequent:o,failed:a}=this.tryParseConditionalConsequent(),[c,l]=this.getArrowLikeExpressions(o);if(a||l.length>0){const e=[...n];if(l.length>0){this.state=r,this.state.noArrowAt=e;for(let t=0;t<l.length;t++)e.push(l[t].start);({consequent:o,failed:a}=this.tryParseConditionalConsequent()),[c,l]=this.getArrowLikeExpressions(o)}a&&c.length>1&&this.raise(Ee.AmbiguousConditionalArrow,r.startLoc),a&&1===c.length&&(this.state=r,e.push(c[0].start),this.state.noArrowAt=e,({consequent:o,failed:a}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=n,this.expect(14),i.test=e,i.consequent=o,i.alternate=this.forwardNoArrowParamsConversionAt(i,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(i,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),t=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}}getArrowLikeExpressions(e,t){const s=[e],r=[];for(;0!==s.length;){const e=s.pop();"ArrowFunctionExpression"===e.type&&"BlockStatement"!==e.body.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):r.push(e),s.push(e.body)):"ConditionalExpression"===e.type&&(s.push(e.consequent),s.push(e.alternate))}return t?(r.forEach(e=>this.finishArrowValidation(e)),[r,[]]):function(e,t){const s=[],r=[];for(let n=0;n<e.length;n++)(t(e[n],n,e)?s:r).push(e[n]);return[s,r]}(r,e=>e.params.every(e=>this.isAssignable(e,!0)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let s;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),s=t(),this.state.noArrowParamsConversionAt.pop()):s=t(),s}parseParenItem(e,t){const s=super.parseParenItem(e,t);if(this.eat(17)&&(s.optional=!0,this.resetEndLocation(e)),this.match(14)){const e=this.startNodeAt(t);return e.expression=s,e.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(e,"TypeCastExpression")}return s}assertModuleNodeAllowed(e){"ImportDeclaration"===e.type&&("type"===e.importKind||"typeof"===e.importKind)||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"ExportAllDeclaration"===e.type&&"type"===e.exportKind||super.assertModuleNodeAllowed(e)}parseExportDeclaration(e){if(this.isContextual(130)){e.exportKind="type";const t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(131)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(129)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.isContextual(126)){e.exportKind="value";const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(e)||!(!this.isContextual(130)||55!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){const{startLoc:t}=this.state,s=super.maybeParseExportNamespaceSpecifier(e);return s&&"type"===e.exportKind&&this.unexpected(t),s}parseClassId(e,t,s){super.parseClassId(e,t,s),this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,s){const{startLoc:r}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,s),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(Ee.DeclareClassElement,r):t.value&&this.raise(Ee.DeclareClassFieldInitializer,t.value))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){const e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(A.InvalidIdentifier,this.state.curPosition(),{identifierName:t}),this.finishToken(132,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):!function(e,t,s){return 64===e&&64===t&&ie(s)}(e,t,this.input.charCodeAt(this.state.pos+2))?super.getTokenFromCode(e):(this.state.pos+=2,this.readIterator()):this.finishOp(62===e?48:47,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e,t=!1){t||"AssignmentExpression"!==e.type||"TypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left)),super.toAssignable(e,t)}toAssignableList(e,t,s){for(let r=0;r<e.length;r++){const t=e[r];"TypeCastExpression"===(null==t?void 0:t.type)&&(e[r]=this.typeCastToParameter(t))}super.toAssignableList(e,t,s)}toReferencedList(e,t){for(let r=0;r<e.length;r++){var s;const n=e[r];!n||"TypeCastExpression"!==n.type||null!=(s=n.extra)&&s.parenthesized||!(e.length>1)&&t||this.raise(Ee.TypeCastInPattern,n.typeAnnotation)}return e}parseArrayLike(e,t,s){const r=super.parseArrayLike(e,t,s);return null==s||this.state.maybeInArrowParameters||this.toReferencedList(r.elements),r}isValidLVal(e,t,s,r){return"TypeCastExpression"===e||super.isValidLVal(e,t,s,r)}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,t,s,r,n,i){if(t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,s,r,n,i),t.params&&n){const e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Ee.ThisParamBannedInConstructor,t)}else if("MethodDefinition"===t.type&&n&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(Ee.ThisParamBannedInConstructor,t)}}pushClassPrivateMethod(e,t,s,r){t.variance&&this.unexpected(t.variance.loc.start),delete t.variance,this.match(47)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,s,r)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&(this.match(47)||this.match(51))&&(e.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const s=t[0];this.isThisParam(s)&&"get"===e.kind?this.raise(Ee.GetterMayNotHaveThisParam,s):this.isThisParam(s)&&this.raise(Ee.SetterMayNotHaveThisParam,s)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,s,r,n,i,o){let a;e.variance&&this.unexpected(e.variance.loc.start),delete e.variance,this.match(47)&&!i&&(a=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());const c=super.parseObjPropValue(e,t,s,r,n,i,o);return a&&((c.value||c).typeParameters=a),c}parseFunctionParamType(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(Ee.PatternIsOptional,e),this.isThisParam(e)&&this.raise(Ee.ThisParamMayNotBeOptional,e),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(Ee.ThisParamAnnotationRequired,e),this.match(29)&&this.isThisParam(e)&&this.raise(Ee.ThisParamNoDefault,e),this.resetEndLocation(e),e}parseMaybeDefault(e,t){const s=super.parseMaybeDefault(e,t);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(Ee.TypeBeforeInitializer,s.typeAnnotation),s}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(Ee.ImportReflectionHasImportType,e.specifiers[0].loc.start)}parseImportSpecifierLocal(e,t,s){t.local=ve(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){if(!e)return!0;const t=this.lookaheadCharCode();return 123===t||42===t}return!e&&this.isContextual(87)}applyImportPhase(e,t,s,r){if(super.applyImportPhase(e,t,s,r),t){if(!s&&this.match(65))return;e.exportKind="type"===s?s:"value"}else"type"===s&&this.match(55)&&this.unexpected(),e.importKind="type"===s||"typeof"===s?s:"value"}parseImportSpecifier(e,t,s,r,n){const i=e.imported;let o=null;"Identifier"===i.type&&("type"===i.name?o="type":"typeof"===i.name&&(o="typeof"));let a=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(!0);null===o||Q(this.state.type)?(e.imported=i,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=o,e.local=this.cloneIdentifier(t))}else{if(null!==o&&Q(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=o;else{if(t)throw this.raise(A.ImportBindingIsString,e,{importName:i.value});e.imported=i,e.importKind=null}this.eatContextual(93)?e.local=this.parseIdentifier():(a=!0,e.local=this.cloneIdentifier(e.imported))}const c=ve(e);return s&&c&&this.raise(Ee.ImportTypeShorthandOnlyInPureImport,e),(s||c)&&this.checkReservedType(e.local.name,e.local.loc.start,!0),!a||s||c||this.checkReservedWord(e.local.name,e.loc.start,!0,!0),this.finishImportSpecifier(e,"ImportSpecifier")}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(e,t){const s=e.kind;"get"!==s&&"set"!==s&&this.match(47)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,e.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=t}return super.parseAsyncArrowFromCallExpression(e,t)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var s;let r,n=null;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(n=this.state.clone(),r=this.tryParse(()=>super.parseMaybeAssign(e,t),n),!r.error)return r.node;const{context:s}=this.state,i=s[s.length-1];i!==S.j_oTag&&i!==S.j_expr||s.pop()}if(null!=(s=r)&&s.error||this.match(47)){var i,o;let s;n=n||this.state.clone();const a=this.tryParse(r=>{var n;s=this.flowParseTypeParameterDeclaration();const i=this.forwardNoArrowParamsConversionAt(s,()=>{const r=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(r,s),r});null!=(n=i.extra)&&n.parenthesized&&r();const o=this.maybeUnwrapTypeCastExpression(i);return"ArrowFunctionExpression"!==o.type&&r(),o.typeParameters=s,this.resetStartLocationFromNode(o,s),i},n);let c=null;if(a.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(a.node).type){if(!a.error&&!a.aborted)return a.node.async&&this.raise(Ee.UnexpectedTypeParameterBeforeAsyncArrowFunction,s),a.node;c=a.node}if(null!=(i=r)&&i.node)return this.state=r.failState,r.node;if(c)return this.state=a.failState,c;if(null!=(o=r)&&o.thrown)throw r.error;if(a.thrown)throw a.error;throw this.raise(Ee.UnexpectedTokenAfterTypeParameter,s)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const s=this.startNode();return[s.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),s});if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}setArrowFunctionParameters(e,t){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,s,r=!0){if(!s||!this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(e.start))){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(Ee.ThisParamMustBeFirst,e.params[t]);super.checkParams(e,t,s,r)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(e,t,s){if("Identifier"===e.type&&"async"===e.name&&this.state.noArrowAt.includes(t.index)){this.next();const s=this.startNodeAt(t);s.callee=e,s.arguments=super.parseCallExpressionArguments(),e=this.finishNode(s,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(47)){const r=this.state.clone(),n=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t)||e(),r);if(!n.error&&!n.aborted)return n.node;const i=this.tryParse(()=>super.parseSubscripts(e,t,s),r);if(i.node&&!i.error)return i.node;if(n.node)return this.state=n.failState,n.node;if(i.node)return this.state=i.failState,i.node;throw n.error||i.error}return super.parseSubscripts(e,t,s)}parseSubscript(e,t,s,r){if(this.match(18)&&this.isLookaheadToken_lt()){if(r.optionalChainMember=!0,s)return r.stop=!0,e;this.next();const n=this.startNodeAt(t);return n.callee=e,n.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),n.arguments=this.parseCallExpressionArguments(),n.optional=!0,this.finishCallExpression(n,!0)}if(!s&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){const s=this.startNodeAt(t);s.callee=e;const n=this.tryParse(()=>(s.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),s.arguments=super.parseCallExpressionArguments(),r.optionalChainMember&&(s.optional=!1),this.finishCallExpression(s,r.optionalChainMember)));if(n.node)return n.error&&(this.state=n.failState),n.node}return super.parseSubscript(e,t,s,r)}parseNewCallee(e){super.parseNewCallee(e);let t=null;this.shouldParseTypes()&&this.match(47)&&(t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=t}parseAsyncArrowWithTypeParameters(e){const t=this.startNodeAt(e);if(this.parseFunctionParams(t,!1),this.parseArrow(t))return super.parseArrowExpression(t,void 0,!0)}readToken_mult_modulo(e){const t=this.input.charCodeAt(this.state.pos+1);if(42===e&&47===t&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(e)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);124!==e||125!==t?super.readToken_pipe_amp(e):this.finishOp(9,2)}parseTopLevel(e,t){const s=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(Ee.UnterminatedFlowComment,this.state.curPosition()),s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Ee.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();const e=this.skipFlowComment();return void(e&&(this.state.pos+=e,this.state.hasFlowComment=!0))}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){const{pos:e}=this.state;let t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;const s=this.input.charCodeAt(t+e),r=this.input.charCodeAt(t+e+1);return 58===s&&58===r?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===s&&58!==r&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(A.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:s}){this.raise(Ee.EnumBooleanMemberNotInitialized,e,{memberName:s,enumName:t})}flowEnumErrorInvalidMemberInitializer(e,t){return this.raise(t.explicitType?"symbol"===t.explicitType?Ee.EnumInvalidMemberInitializerSymbolType:Ee.EnumInvalidMemberInitializerPrimaryType:Ee.EnumInvalidMemberInitializerUnknownType,e,t)}flowEnumErrorNumberMemberNotInitialized(e,t){this.raise(Ee.EnumNumberMemberNotInitialized,e,t)}flowEnumErrorStringMemberInconsistentlyInitialized(e,t){this.raise(Ee.EnumStringMemberInconsistentlyInitialized,e,t)}flowEnumMemberInit(){const e=this.state.startLoc,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{const s=this.parseNumericLiteral(this.state.value);return t()?{type:"number",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}case 134:{const s=this.parseStringLiteral(this.state.value);return t()?{type:"string",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}case 85:case 86:{const s=this.parseBooleanLiteral(this.match(85));return t()?{type:"boolean",loc:s.loc.start,value:s}:{type:"invalid",loc:e}}default:return{type:"invalid",loc:e}}}flowEnumMemberRaw(){const e=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:e}}}flowEnumCheckExplicitTypeMismatch(e,t,s){const{explicitType:r}=t;null!==r&&r!==s&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){const s=new Set,r={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let n=!1;for(;!this.match(8);){if(this.eat(21)){n=!0;break}const i=this.startNode(),{id:o,init:a}=this.flowEnumMemberRaw(),c=o.name;if(""===c)continue;/^[a-z]/.test(c)&&this.raise(Ee.EnumInvalidMemberName,o,{memberName:c,suggestion:c[0].toUpperCase()+c.slice(1),enumName:e}),s.has(c)&&this.raise(Ee.EnumDuplicateMemberName,o,{memberName:c,enumName:e}),s.add(c);const l={enumName:e,explicitType:t,memberName:c};switch(i.id=o,a.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"boolean"),i.init=a.value,r.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"number"),i.init=a.value,r.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(a.loc,l,"string"),i.init=a.value,r.stringMembers.push(this.finishNode(i,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(a.loc,l);case"none":switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(a.loc,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(a.loc,l);break;default:r.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:r,hasUnknownMembers:n}}flowEnumStringMembers(e,t,{enumName:s}){if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(const t of e)this.flowEnumErrorStringMemberInconsistentlyInitialized(t,{enumName:s});return t}for(const r of t)this.flowEnumErrorStringMemberInconsistentlyInitialized(r,{enumName:s});return e}flowEnumParseExplicitType({enumName:e}){if(!this.eatContextual(102))return null;if(!G(this.state.type))throw this.raise(Ee.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:e});const{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.raise(Ee.EnumInvalidExplicitType,this.state.startLoc,{enumName:e,invalidEnumType:t}),t}flowEnumBody(e,t){const s=t.name,r=t.loc.start,n=this.flowEnumParseExplicitType({enumName:s});this.expect(5);const{members:i,hasUnknownMembers:o}=this.flowEnumMembers({enumName:s,explicitType:n});switch(e.hasUnknownMembers=o,n){case"boolean":return e.explicitType=!0,e.members=i.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=i.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=i.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const t=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const n=i.booleanMembers.length,o=i.numberMembers.length,a=i.stringMembers.length,c=i.defaultedMembers.length;if(n||o||a||c){if(n||o){if(!o&&!a&&n>=c){for(const e of i.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name});return e.members=i.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!n&&!a&&o>=c){for(const e of i.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.loc.start,{enumName:s,memberName:e.id.name});return e.members=i.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.raise(Ee.EnumInconsistentMemberValues,r,{enumName:s}),t()}return e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(e,"EnumStringBody")}return t()}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),t),this.finishNode(e,"EnumDeclaration")}jsxParseOpeningElementAfterName(e){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(e.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(e)}isLookaheadToken_lt(){const e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){const t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}reScan_lt_gt(){const{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},typescript:e=>class extends e{constructor(...e){super(...e),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:bt.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:bt.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:bt.InvalidModifierOnTypeParameter})}getScopeHandler(){return Re}tsIsIdentifier(){return G(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()&&this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(e,t,s){if(!G(this.state.type)&&58!==this.state.type&&75!==this.state.type)return;const r=this.state.value;if(e.includes(r)){if(s&&this.match(106))return;if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers({allowedModifiers:e,disallowedModifiers:t,stopOnStartOfClassStaticBlock:s,errorTemplate:r=bt.InvalidModifierOnTypeMember},n){const i=(e,t,s,r)=>{t===s&&n[r]&&this.raise(bt.InvalidModifiersOrder,e,{orderedModifiers:[s,r]})},o=(e,t,s,r)=>{(n[s]&&t===r||n[r]&&t===s)&&this.raise(bt.IncompatibleModifiers,e,{modifiers:[s,r]})};for(;;){const{startLoc:a}=this.state,c=this.tsParseModifier(e.concat(null!=t?t:[]),s,n.static);if(!c)break;St(c)?n.accessibility?this.raise(bt.DuplicateAccessibilityModifier,a,{modifier:c}):(i(a,c,c,"override"),i(a,c,c,"static"),i(a,c,c,"readonly"),n.accessibility=c):Et(c)?(n[c]&&this.raise(bt.DuplicateModifier,a,{modifier:c}),n[c]=!0,i(a,c,"in","out")):(hasOwnProperty.call(n,c)?this.raise(bt.DuplicateModifier,a,{modifier:c}):(i(a,c,"static","readonly"),i(a,c,"static","override"),i(a,c,"override","readonly"),i(a,c,"abstract","override"),o(a,c,"declare","override"),o(a,c,"static","abstract")),n[c]=!0),null!=t&&t.includes(c)&&this.raise(r,a,{modifier:c})}}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,t){const s=[];for(;!this.tsIsListTerminator(e);)s.push(t());return s}tsParseDelimitedList(e,t,s){return function(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}(this.tsParseDelimitedListWorker(e,t,!0,s))}tsParseDelimitedListWorker(e,t,s,r){const n=[];let i=-1;for(;!this.tsIsListTerminator(e);){i=-1;const r=t();if(null==r)return;if(n.push(r),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(s&&this.expect(12))}i=this.state.lastTokStartLoc.index}return r&&(r.value=i),n}tsParseBracketedList(e,t,s,r,n){r||(s?this.expect(0):this.expect(47));const i=this.tsParseDelimitedList(e,t,n);return s?this.expect(3):this.expect(48),i}tsParseImportType(){const e=this.startNode();return this.expect(83),this.expect(10),this.match(134)?e.argument=this.parseStringLiteral(this.state.value):(this.raise(bt.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(){const e=this.startNode();this.expect(5);const t=this.startNode();return this.isContextual(76)?(t.method=!1,t.key=this.parseIdentifier(!0),t.computed=!1,t.shorthand=!1):this.unexpected(null,76),this.expect(14),t.value=this.tsParseImportTypeWithPropertyValue(),e.properties=[this.finishObjectProperty(t)],this.eat(12),this.expect(8),this.finishNode(e,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){const e=this.startNode(),t=[];for(this.expect(5);!this.match(8);){const e=this.state.type;G(e)||134===e?t.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return e.properties=t,this.next(),this.finishNode(e,"ObjectExpression")}tsParseEntityName(e){let t;if(1&e&&this.match(78))if(2&e)t=this.parseIdentifier(!0);else{const e=this.startNode();this.next(),t=this.finishNode(e,"ThisExpression")}else t=this.parseIdentifier(!!(1&e));for(;this.eat(16);){const s=this.startNodeAtNode(t);s.left=t,s.right=this.parseIdentifier(!!(1&e)),t=this.finishNode(s,"TSQualifiedName")}return t}tsParseTypeReference(){const 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();const t=this.startNodeAtNode(e);return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),t.asserts=!1,this.finishNode(t,"TSTypePredicate")}tsParseThisTypeNode(){const e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")}tsParseTypeQuery(){const 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){const t=this.startNode();return e(t),t.name=this.tsParseTypeParameterName(),t.constraint=this.tsEatThenParseType(81),t.default=this.tsEatThenParseType(29),this.finishNode(t,"TSTypeParameter")}tsTryParseTypeParameters(e){if(this.match(47))return this.tsParseTypeParameters(e)}tsParseTypeParameters(e){const t=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();const s={value:-1};return t.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,e),!1,!0,s),0===t.params.length&&this.raise(bt.EmptyTypeParameters,t),-1!==s.value&&this.addExtra(t,"trailingComma",s.value),this.finishNode(t,"TSTypeParameterDeclaration")}tsFillSignature(e,t){const s=19===e,r="typeAnnotation";t.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(s||this.match(e))&&(t[r]=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){const e=super.parseBindingList(11,41,2);for(const t of e){const{type:e}=t;"AssignmentPattern"!==e&&"TSParameterProperty"!==e||this.raise(bt.UnsupportedSignatureParameterKind,t,{type:e})}return e}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!G(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];const s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){if(this.eat(17)&&(e.optional=!0),this.match(10)||this.match(47)){t&&this.raise(bt.ReadonlyForMethodSignature,e);const s=e;s.kind&&this.match(47)&&this.raise(bt.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon();const r="parameters",n="typeAnnotation";if("get"===s.kind)s[r].length>0&&(this.raise(A.BadGetterArity,this.state.curPosition()),this.isThisParam(s[r][0])&&this.raise(bt.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if("set"===s.kind){if(1!==s[r].length)this.raise(A.BadSetterArity,this.state.curPosition());else{const e=s[r][0];this.isThisParam(e)&&this.raise(bt.AccessorCannotDeclareThisParameter,this.state.curPosition()),"Identifier"===e.type&&e.optional&&this.raise(bt.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),"RestElement"===e.type&&this.raise(bt.SetAccessorCannotHaveRestParameter,this.state.curPosition())}s[n]&&this.raise(bt.SetAccessorCannotHaveReturnType,s[n])}else s.kind="method";return this.finishNode(s,"TSMethodSignature")}{const s=e;t&&(s.readonly=!0);const r=this.tsTryParseTypeAnnotation();return r&&(s.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(77)){const t=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},e);const t=this.tsTryParseIndexSignature(e);return t||(super.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!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(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const 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()&&(this.next(),this.match(58))))}tsParseMappedType(){const 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);const t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsExpectThenParseType(58),e.typeParameter=this.finishNode(t,"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(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1;return e.elementTypes.forEach(e=>{const{type:s}=e;!t||"TSRestType"===s||"TSOptionalType"===s||"TSNamedTupleMember"===s&&e.optional||this.raise(bt.OptionalTypeBeforeRequired,e),t||(t="TSNamedTupleMember"===s&&e.optional||"TSOptionalType"===s)}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const e=this.state.startLoc,t=this.eat(21),{startLoc:s}=this.state;let r,n,i,o;const a=Q(this.state.type)?this.lookaheadCharCode():null;if(58===a)r=!0,i=!1,n=this.parseIdentifier(!0),this.expect(14),o=this.tsParseType();else if(63===a){i=!0;const e=this.state.value,t=this.tsParseNonArrayType();58===this.lookaheadCharCode()?(r=!0,n=this.createIdentifier(this.startNodeAt(s),e),this.expect(17),this.expect(14),o=this.tsParseType()):(r=!1,o=t,this.expect(17))}else o=this.tsParseType(),i=this.eat(17),r=this.eat(14);if(r){let e;n?(e=this.startNodeAt(s),e.optional=i,e.label=n,e.elementType=o,this.eat(17)&&(e.optional=!0,this.raise(bt.TupleOptionalAfterType,this.state.lastTokStartLoc))):(e=this.startNodeAt(s),e.optional=i,this.raise(bt.InvalidTupleMemberLabel,o),e.label=o,e.elementType=this.tsParseType()),o=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAt(s);e.typeAnnotation=o,o=this.finishNode(e,"TSOptionalType")}if(t){const t=this.startNodeAt(e);t.typeAnnotation=o,o=this.finishNode(t,"TSRestType")}return o}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const s=this.startNode();return"TSConstructorType"===e&&(s.abstract=!!t,t&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,s)),this.finishNode(s,e)}tsParseLiteralTypeNode(){const 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(){const e=this.startNode();return e.literal=super.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const 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){const e=this.startNode(),t=this.lookahead();return 135!==t.type&&136!==t.type&&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:{const{type:e}=this.state;if(G(e)||88===e||84===e){const t=88===e?"TSVoidKeyword":84===e?"TSNullKeyword":function(e){switch(e){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}}(this.state.value);if(void 0!==t&&46!==this.lookaheadCharCode()){const e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){const{startLoc:e}=this.state;let t=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const s=this.startNodeAt(e);s.elementType=t,this.expect(3),t=this.finishNode(s,"TSArrayType")}else{const s=this.startNodeAt(e);s.objectType=t,s.indexType=this.tsParseType(),this.expect(3),t=this.finishNode(s,"TSIndexedAccessType")}return t}tsParseTypeOperator(){const e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(bt.UnexpectedReadonly,e)}}tsParseInferType(){const e=this.startNode();this.expectContextual(115);const t=this.startNode();return t.name=this.tsParseTypeParameterName(),t.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){const e=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return e}}tsParseTypeOperatorOrHigher(){var e;return(e=this.state.type)>=121&&e<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(e,t,s){const r=this.startNode(),n=this.eat(s),i=[];do{i.push(t())}while(this.eat(s));return 1!==i.length||n?(r.types=i,this.finishNode(r,e)):i[0]}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)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(G(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){const{errors:t}=this.state,s=t.length;try{return this.parseObjectLike(8,!0),t.length===s}catch(e){return!1}}if(this.match(0)){this.next();const{errors:e}=this.state,s=e.length;try{return super.parseBindingList(3,93,1),e.length===s}catch(t){return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const s=this.startNode(),r=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(r&&this.match(78)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(s.parameterName=e,s.asserts=!0,s.typeAnnotation=null,e=this.finishNode(s,"TSTypePredicate")):(this.resetStartLocationFromNode(e,s),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}const n=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!n)return r?(s.parameterName=this.parseIdentifier(),s.asserts=r,s.typeAnnotation=null,t.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);const i=this.tsParseTypeAnnotation(!1);return s.parameterName=n,s.typeAnnotation=i,s.asserts=r,t.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(109!==this.state.type)return!1;const e=this.state.containsEsc;return this.next(),!(!G(this.state.type)&&!this.match(78))&&(e&&this.raise(A.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()}),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){xt(this.state.inType);const e=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return e;const t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),t.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),t.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(t,"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(bt.ReservedTypeAssertion,this.state.startLoc);const 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){const t=this.state.startLoc,s=this.tsParseDelimitedList("HeritageClauseElement",()=>{const e=this.startNode();return e.expression=this.tsParseEntityName(3),this.match(47)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")});return s.length||this.raise(bt.EmptyHeritageClauseType,t,{token:e}),s}tsParseInterfaceDeclaration(e,t={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),t.declare&&(e.declare=!0),G(this.state.type)?(e.id=this.parseIdentifier(),this.checkIdentifier(e.id,130)):(e.id=null,this.raise(bt.MissingInterfaceName,this.state.startLoc)),e.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(e.extends=this.tsParseHeritageClause("extends"));const s=this.startNode();return s.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(s,"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)&&46!==this.lookaheadCharCode()){const e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInTopLevelContext(e){if(this.curContext()===S.brace)return e();{const t=this.state.context;this.state.context=[t[0]];try{return e()}finally{this.state.context=t}}}tsInType(e){const t=this.state.inType;this.state.inType=!0;try{return e()}finally{this.state.inType=t}}tsInDisallowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}tsInAllowConditionalTypesContext(e){const t=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return e()}finally{this.state.inDisallowConditionalTypesContext=t}}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(){const 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,t={}){return t.const&&(e.const=!0),t.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(){const e=this.startNode();return this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumBody")}tsParseModuleBlock(){const 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,t=!1){if(e.id=this.parseIdentifier(),t||this.checkIdentifier(e.id,1024),this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}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,t,s){e.isExport=s||!1,e.id=t||this.parseIdentifier(),this.checkIdentifier(e.id,4096),this.expect(29);const r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(bt.ImportAliasHasImportType,r),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){const 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){const t=this.state.clone(),s=e();return this.state=t,s}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}tsTryParse(e){const t=this.state.clone(),s=e();if(void 0!==s&&!1!==s)return s;this.state=t}tsTryParseDeclare(e){if(this.isLineTerminator())return;const t=this.state.type;return this.tsInAmbientContext(()=>{switch(t){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")?(this.expect(75),this.tsParseEnumDeclaration(e,{const:!0,declare:!0})):(e.declare=!0,this.parseVarStatement(e,this.state.value,!0));case 107:if(this.isUsing())return this.raise(bt.InvalidModifierOnUsingDeclaration,this.state.startLoc,"declare"),e.declare=!0,this.parseVarStatement(e,"using",!0);break;case 96:if(this.isAwaitUsing())return this.raise(bt.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,"declare"),e.declare=!0,this.next(),this.parseVarStatement(e,"await using",!0);break;case 129:{const t=this.tsParseInterfaceDeclaration(e,{declare:!0});if(t)return t}default:if(G(t))return this.tsParseDeclaration(e,this.state.type,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.type,!0,null)}tsParseDeclaration(e,t,s,r){switch(t){case 124:if(this.tsCheckLineTerminator(s)&&(this.match(80)||G(this.state.type)))return this.tsParseAbstractDeclaration(e,r);break;case 127:if(this.tsCheckLineTerminator(s)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(e);if(G(this.state.type))return e.kind="module",this.tsParseModuleOrNamespaceDeclaration(e)}break;case 128:if(this.tsCheckLineTerminator(s)&&G(this.state.type))return e.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(e);break;case 130:if(this.tsCheckLineTerminator(s)&&G(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e){if(!this.match(47))return;const t=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const s=this.tsTryParseAndCatch(()=>{const t=this.startNodeAt(e);return t.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(t),t.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),t});return this.state.maybeInArrowParameters=t,s?super.parseArrowExpression(s,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(47===this.reScan_lt())return this.tsParseTypeArguments()}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),0===e.params.length?this.raise(bt.EmptyTypeArguments,e):this.state.inType||this.curContext()!==S.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(e=this.state.type)>=124&&e<=130;var e}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseBindingElement(e,t){const s=t.length?t[0].loc.start:this.state.startLoc,r={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},r);const n=r.accessibility,i=r.override,o=r.readonly;4&e||!(n||o||i)||this.raise(bt.UnexpectedParameterModifier,s);const a=this.parseMaybeDefault();2&e&&this.parseFunctionParamType(a);const c=this.parseMaybeDefault(a.loc.start,a);if(n||o||i){const e=this.startNodeAt(s);return t.length&&(e.decorators=t),n&&(e.accessibility=n),o&&(e.readonly=o),i&&(e.override=i),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(bt.UnsupportedParameterPropertyKind,e),e.parameter=c,this.finishNode(e,"TSParameterProperty")}return t.length&&(a.decorators=t),c}isSimpleParameter(e){return"TSParameterProperty"===e.type&&super.isSimpleParameter(e.parameter)||super.isSimpleParameter(e)}tsDisallowOptionalPattern(e){for(const t of e.params)"Identifier"!==t.type&&t.optional&&!this.state.isAmbientContext&&this.raise(bt.PatternIsOptional,t)}setArrowFunctionParameters(e,t,s){super.setArrowFunctionParameters(e,t,s),this.tsDisallowOptionalPattern(e)}parseFunctionBodyAndFinish(e,t,s=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const r="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;return r&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,r):"TSDeclareFunction"===r&&this.state.isAmbientContext&&(this.raise(bt.DeclareFunctionHasImplementation,e),e.declare)?super.parseFunctionBodyAndFinish(e,r,s):(this.tsDisallowOptionalPattern(e),super.parseFunctionBodyAndFinish(e,t,s))}registerFunctionStatementId(e){!e.body&&e.id?this.checkIdentifier(e.id,1024):super.registerFunctionStatementId(e)}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(bt.UnexpectedTypeAnnotation,e.typeAnnotation)})}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(e,t,s){const r=super.parseArrayLike(e,t,s);return"ArrayExpression"===r.type&&this.tsCheckForInvalidTypeCasts(r.elements),r}parseSubscript(e,t,s,r){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const s=this.startNodeAt(t);return s.expression=e,this.finishNode(s,"TSNonNullExpression")}let n=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(s)return r.stop=!0,e;r.optionalChainMember=n=!0,this.next()}if(this.match(47)||this.match(51)){let i;const o=this.tsTryParseAndCatch(()=>{if(!s&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t);if(e)return r.stop=!0,e}const o=this.tsParseTypeArgumentsInExpression();if(!o)return;if(n&&!this.match(10))return void(i=this.state.curPosition());if(X(this.state.type)){const s=super.parseTaggedTemplateExpression(e,t,r);return s.typeParameters=o,s}if(!s&&this.eat(10)){const s=this.startNodeAt(t);return s.callee=e,s.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(s.arguments),s.typeParameters=o,r.optionalChainMember&&(s.optional=n),this.finishCallExpression(s,r.optionalChainMember)}const a=this.state.type;if(48===a||52===a||10!==a&&93!==a&&120!==a&&K(a)&&!this.hasPrecedingLineBreak())return;const c=this.startNodeAt(t);return c.expression=e,c.typeParameters=o,this.finishNode(c,"TSInstantiationExpression")});if(i&&this.unexpected(i,10),o)return"TSInstantiationExpression"===o.type&&((this.match(16)||this.match(18)&&40!==this.lookaheadCharCode())&&this.raise(bt.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),this.match(16)||this.match(18)||(o.expression=super.stopParseSubscript(e,r))),o}return super.parseSubscript(e,t,s,r)}parseNewCallee(e){var t;super.parseNewCallee(e);const{callee:s}=e;"TSInstantiationExpression"!==s.type||null!=(t=s.extra)&&t.parenthesized||(e.typeParameters=s.typeParameters,e.callee=s.expression)}parseExprOp(e,t,s){let r;if($(58)>s&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(r=this.isContextual(120)))){const n=this.startNodeAt(t);return n.expression=e,n.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(r&&this.raise(A.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(n,r?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(n,t,s)}return super.parseExprOp(e,t,s)}checkReservedWord(e,t,s,r){this.state.isAmbientContext||super.checkReservedWord(e,t,s,r)}checkImportReflection(e){super.checkImportReflection(e),e.module&&"value"!==e.importKind&&this.raise(bt.ImportReflectionHasImportType,e.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(e){if(super.isPotentialImportPhase(e))return!0;if(this.isContextual(130)){const t=this.lookaheadCharCode();return e?123===t||42===t:61!==t}return!e&&this.isContextual(87)}applyImportPhase(e,t,s,r){super.applyImportPhase(e,t,s,r),t?e.exportKind="type"===s?"type":"value":e.importKind="type"===s||"typeof"===s?s:"value"}parseImport(e){if(this.match(134))return e.importKind="value",super.parseImport(e);let t;if(G(this.state.type)&&61===this.lookaheadCharCode())return e.importKind="value",this.tsParseImportEqualsDeclaration(e);if(this.isContextual(130)){const s=this.parseMaybeImportPhase(e,!1);if(61===this.lookaheadCharCode())return this.tsParseImportEqualsDeclaration(e,s);t=super.parseImportSpecifiersAndAfter(e,s)}else t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(bt.TypeImportCannotSpecifyDefaultAndNamed,t),t}parseExport(e,t){if(this.match(83)){const t=e;this.next();let s=null;this.isContextual(130)&&this.isPotentialImportPhase(!1)?s=this.parseMaybeImportPhase(t,!1):t.importKind="value";return this.tsParseImportEqualsDeclaration(t,s,!0)}if(this.eat(29)){const t=e;return t.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(93)){const t=e;return this.expectContextual(128),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return super.parseExport(e,t)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual("class")}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0)}if(this.match(129)){const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e}return super.parseExportDefaultExpression()}parseVarStatement(e,t,s=!1){const{isAmbientContext:r}=this.state,n=super.parseVarStatement(e,t,s||r);if(!r)return n;if(!e.declare&&("using"===t||"await using"===t))return this.raiseOverwrite(bt.UsingDeclarationInAmbientContext,e,t),n;for(const{id:i,init:o}of n.declarations)o&&("var"===t||"let"===t||i.typeAnnotation?this.raise(bt.InitializerNotAllowedInAmbientContext,o):wt(o,this.hasPlugin("estree"))||this.raise(bt.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,o));return n}parseStatementContent(e,t){if(!this.state.containsEsc)switch(this.state.type){case 75:if(this.isLookaheadContextual("enum")){const e=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(e,{const:!0})}break;case 124:case 125:if(this.nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine()){const e=this.state.type,s=this.startNode();this.next();const r=125===e?this.tsTryParseDeclare(s):this.tsParseAbstractDeclaration(s,t);return r?(125===e&&(r.declare=!0),r):(s.expression=this.createIdentifier(this.startNodeAt(s.loc.start),125===e?"declare":"abstract"),this.semicolon(!1),this.finishNode(s,"ExpressionStatement"))}break;case 126:return this.tsParseEnumDeclaration(this.startNode());case 112:if(123===this.lookaheadCharCode()){const e=this.startNode();return this.tsParseAmbientExternalModuleDeclaration(e)}break;case 129:{const e=this.tsParseInterfaceDeclaration(this.startNode());if(e)return e;break}case 127:if(this.nextTokenIsIdentifierOrStringLiteralOnSameLine()){const e=this.startNode();return this.next(),this.tsParseDeclaration(e,127,!1,t)}break;case 128:if(this.nextTokenIsIdentifierOnSameLine()){const e=this.startNode();return this.next(),this.tsParseDeclaration(e,128,!1,t)}break;case 130:if(this.nextTokenIsIdentifierOnSameLine()){const e=this.startNode();return this.next(),this.tsParseTypeAliasDeclaration(e)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>St(t)?e.accessibility===t:!!e[t])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&123===this.lookaheadCharCode()}parseClassMember(e,t,s){const r=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:r,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:bt.InvalidModifierOnTypeParameterPositions},t);const n=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,r)&&this.raise(bt.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,s,!!t.static)};t.declare?this.tsInAmbientContext(n):n()}parseClassMemberWithIsStatic(e,t,s,r){const n=this.tsTryParseIndexSignature(t);if(n)return e.body.push(n),t.abstract&&this.raise(bt.IndexSignatureHasAbstract,t),t.accessibility&&this.raise(bt.IndexSignatureHasAccessibility,t,{modifier:t.accessibility}),t.declare&&this.raise(bt.IndexSignatureHasDeclare,t),void(t.override&&this.raise(bt.IndexSignatureHasOverride,t));!this.state.inAbstractClass&&t.abstract&&this.raise(bt.NonAbstractClassHasAbstractMethod,t),t.override&&(s.hadSuperClass||this.raise(bt.OverrideNotInSubClass,t)),super.parseClassMemberWithIsStatic(e,t,s,r)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(bt.ClassMethodHasReadonly,e),e.declare&&this.match(10)&&this.raise(bt.ClassMethodHasDeclare,e)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,s){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(s),e}return super.parseConditional(e,t,s)}parseParenItem(e,t){const s=super.parseParenItem(e,t);if(this.eat(17)&&(s.optional=!0,this.resetEndLocation(e)),this.match(14)){const s=this.startNodeAt(t);return s.expression=e,s.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(s,"TSTypeCastExpression")}return e}parseExportDeclaration(e){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(e));const t=this.state.startLoc,s=this.eatContextual(125);if(s&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(bt.ExpectedAmbientAfterExportDeclare,this.state.startLoc);const r=G(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(e);return r?(("TSInterfaceDeclaration"===r.type||"TSTypeAliasDeclaration"===r.type||s)&&(e.exportKind="type"),s&&"TSImportEqualsDeclaration"!==r.type&&(this.resetStartLocation(r,t),r.declare=!0),r):null}parseClassId(e,t,s,r){if((!t||s)&&this.isContextual(113))return;super.parseClassId(e,t,s,e.declare?1024:8331);const n=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){e.optional||(this.eat(35)?e.definite=!0:this.eat(17)&&(e.optional=!0));const t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&(!e.readonly||e.typeAnnotation)&&this.match(29)&&this.raise(bt.DeclareClassFieldHasInitializer,this.state.startLoc),e.abstract&&this.match(29)){const{key:t}=e;this.raise(bt.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:"Identifier"!==t.type||e.computed?`[${this.input.slice(this.offsetToSourcePos(t.start),this.offsetToSourcePos(t.end))}]`:t.name})}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(bt.PrivateElementHasAbstract,e),e.accessibility&&this.raise(bt.PrivateElementHasAccessibility,e,{modifier:e.accessibility}),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}parseClassAccessorProperty(e){return this.parseClassPropertyAnnotation(e),e.optional&&this.raise(bt.AccessorCannotBeOptional,e),super.parseClassAccessorProperty(e)}pushClassMethod(e,t,s,r,n,i){const o=this.tsTryParseTypeParameters(this.tsParseConstModifier);o&&n&&this.raise(bt.ConstructorHasTypeParameters,o);const{declare:a=!1,kind:c}=t;!a||"get"!==c&&"set"!==c||this.raise(bt.DeclareAccessor,t,{kind:c}),o&&(t.typeParameters=o),super.pushClassMethod(e,t,s,r,n,i)}pushClassPrivateMethod(e,t,s,r){const n=this.tsTryParseTypeParameters(this.tsParseConstModifier);n&&(t.typeParameters=n),super.pushClassPrivateMethod(e,t,s,r)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"===e.type&&null==e.value.body||super.declareClassPrivateMethodInScope(e,t))}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass)if("TSInstantiationExpression"===e.superClass.type){const t=e.superClass,s=t.expression;this.takeSurroundingComments(s,s.start,s.end);const r=t.typeParameters;this.takeSurroundingComments(r,r.start,r.end),e.superClass=s,e.superTypeParameters=r}else(this.match(47)||this.match(51))&&(e.superTypeParameters=this.tsParseTypeArgumentsInExpression());this.eatContextual(113)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,t,s,r,n,i,o){const a=this.tsTryParseTypeParameters(this.tsParseConstModifier);return a&&(e.typeParameters=a),super.parseObjPropValue(e,t,s,r,n,i,o)}parseFunctionParams(e,t){const s=this.tsTryParseTypeParameters(this.tsParseConstModifier);s&&(e.typeParameters=s),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(e.definite=!0);const s=this.tsTryParseTypeAnnotation();s&&(e.id.typeAnnotation=s,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(e,t){var s,r,n,i,o;let a,c,l,h;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(a=this.state.clone(),c=this.tryParse(()=>super.parseMaybeAssign(e,t),a),!c.error)return c.node;const{context:s}=this.state,r=s[s.length-1];r!==S.j_oTag&&r!==S.j_expr||s.pop()}if(!(null!=(s=c)&&s.error||this.match(47)))return super.parseMaybeAssign(e,t);a&&a!==this.state||(a=this.state.clone());const p=this.tryParse(s=>{var r,n;h=this.tsParseTypeParameters(this.tsParseConstModifier);const i=super.parseMaybeAssign(e,t);return("ArrowFunctionExpression"!==i.type||null!=(r=i.extra)&&r.parenthesized)&&s(),0!==(null==(n=h)?void 0:n.params.length)&&this.resetStartLocationFromNode(i,h),i.typeParameters=h,i},a);if(!p.error&&!p.aborted)return h&&this.reportReservedArrowTypeParam(h),p.node;if(!c&&(xt(!this.hasPlugin("jsx")),l=this.tryParse(()=>super.parseMaybeAssign(e,t),a),!l.error))return l.node;if(null!=(r=c)&&r.node)return this.state=c.failState,c.node;if(p.node)return this.state=p.failState,h&&this.reportReservedArrowTypeParam(h),p.node;if(null!=(n=l)&&n.node)return this.state=l.failState,l.node;throw(null==(i=c)?void 0:i.error)||p.error||(null==(o=l)?void 0:o.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||e.params[0].constraint||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(bt.ReservedArrowTypeParam,e)}parseMaybeUnary(e,t){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||e(),t});if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseFunctionParamType(e){this.eat(17)&&(e.optional=!0);const t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e,t=!1){switch(e.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(e,t);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":t?this.expressionScope.recordArrowParameterBindingError(bt.UnexpectedTypeCastInParameter,e):this.raise(bt.UnexpectedTypeCastInParameter,e),this.toAssignable(e.expression,t);break;case"AssignmentExpression":t||"TSTypeCastExpression"!==e.left.type||(e.left=this.typeCastToParameter(e.left));default:super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(e.expression,t);break;default:super.toAssignable(e,t)}}checkToRestConversion(e,t){switch(e.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(e.expression,!1);break;default:super.checkToRestConversion(e,t)}}isValidLVal(e,t,s,r){switch(e){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(64!==r||!s)&&["expression",!0];default:return super.isValidLVal(e,t,s,r)}}parseBindingAtom(){return 78===this.state.type?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(e,t){if(this.match(47)||this.match(51)){const s=this.tsParseTypeArgumentsInExpression();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e,t);return r.typeParameters=s,r}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(e,t)}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,t){const s=super.parseMaybeDefault(e,t);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(bt.TypeAnnotationAfterAssign,s.typeAnnotation),s}getTokenFromCode(e){if(this.state.inType){if(62===e)return void this.finishOp(48,1);if(60===e)return void this.finishOp(47,1)}super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;47===e?(this.state.pos-=1,this.readToken_lt()):48===e&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){const{type:e}=this.state;return 51===e?(this.state.pos-=2,this.finishOp(47,1),47):e}toAssignableListItem(e,t,s){const r=e[t];"TSTypeCastExpression"===r.type&&(e[t]=this.typeCastToParameter(r)),super.toAssignableListItem(e,t,s)}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(e=>this.isAssignable(e,!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)){const t=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e),s=this.getObjectOrClassMethodParams(e)[0];return s&&this.isThisParam(s)?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){const{isAmbientContext:t,strict:s}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return e()}finally{this.state.isAmbientContext=t,this.state.strict=s}}parseClass(e,t,s){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,t,s)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e,t){if(this.match(80))return e.abstract=!0,this.maybeTakeDecorators(t,this.parseClass(e,!0,!1));if(this.isContextual(129))return this.hasFollowingLineBreak()?null:(e.abstract=!0,this.raise(bt.NonClassMethodPropertyHasAbstractModifier,e),this.tsParseInterfaceDeclaration(e));throw this.unexpected(null,80)}parseMethod(e,t,s,r,n,i,o){const a=super.parseMethod(e,t,s,r,n,i,o);if(a.abstract||"TSAbstractMethodDefinition"===a.type){if((this.hasPlugin("estree")?a.value:a).body){const{key:e}=a;this.raise(bt.AbstractMethodHasImplementation,a,{methodName:"Identifier"!==e.type||a.computed?`[${this.input.slice(this.offsetToSourcePos(e.start),this.offsetToSourcePos(e.end))}]`:e.name})}}return a}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,t,s,r){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!1,s),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,s,r))}parseImportSpecifier(e,t,s,r,n){return!t&&r?(this.parseTypeOnlyImportExportSpecifier(e,!0,s),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,s,r,s?4098:4096))}parseTypeOnlyImportExportSpecifier(e,t,s){const r=t?"imported":"local",n=t?"local":"exported";let i,o=e[r],a=!1,c=!0;const l=o.loc.start;if(this.isContextual(93)){const e=this.parseIdentifier();if(this.isContextual(93)){const s=this.parseIdentifier();Q(this.state.type)?(a=!0,o=e,i=t?this.parseIdentifier():this.parseModuleExportName(),c=!1):(i=s,c=!1)}else Q(this.state.type)?(c=!1,i=t?this.parseIdentifier():this.parseModuleExportName()):(a=!0,o=e)}else Q(this.state.type)&&(a=!0,t?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());a&&s&&this.raise(t?bt.TypeModifierIsUsedInTypeImports:bt.TypeModifierIsUsedInTypeExports,l),e[r]=o,e[n]=i;e[t?"importKind":"exportKind"]=a?"type":"value",c&&this.eatContextual(93)&&(e[n]=t?this.parseIdentifier():this.parseModuleExportName()),e[n]||(e[n]=this.cloneIdentifier(e[r])),t&&this.checkIdentifier(e[n],a?4098:4096)}fillOptionalPropertiesForTSESLint(e){switch(e.type){case"ExpressionStatement":return void(null!=e.directive||(e.directive=void 0));case"RestElement":e.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":return null!=e.decorators||(e.decorators=[]),null!=e.optional||(e.optional=!1),void(null!=e.typeAnnotation||(e.typeAnnotation=void 0));case"TSParameterProperty":return null!=e.accessibility||(e.accessibility=void 0),null!=e.decorators||(e.decorators=[]),null!=e.override||(e.override=!1),null!=e.readonly||(e.readonly=!1),void(null!=e.static||(e.static=!1));case"TSEmptyBodyFunctionExpression":e.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":return null!=e.declare||(e.declare=!1),null!=e.returnType||(e.returnType=void 0),void(null!=e.typeParameters||(e.typeParameters=void 0));case"Property":return void(null!=e.optional||(e.optional=!1));case"TSMethodSignature":case"TSPropertySignature":null!=e.optional||(e.optional=!1);case"TSIndexSignature":return null!=e.accessibility||(e.accessibility=void 0),null!=e.readonly||(e.readonly=!1),void(null!=e.static||(e.static=!1));case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":null!=e.declare||(e.declare=!1),null!=e.definite||(e.definite=!1),null!=e.readonly||(e.readonly=!1),null!=e.typeAnnotation||(e.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":return null!=e.accessibility||(e.accessibility=void 0),null!=e.decorators||(e.decorators=[]),null!=e.override||(e.override=!1),void(null!=e.optional||(e.optional=!1));case"ClassExpression":null!=e.id||(e.id=null);case"ClassDeclaration":return null!=e.abstract||(e.abstract=!1),null!=e.declare||(e.declare=!1),null!=e.decorators||(e.decorators=[]),null!=e.implements||(e.implements=[]),null!=e.superTypeArguments||(e.superTypeArguments=void 0),void(null!=e.typeParameters||(e.typeParameters=void 0));case"TSTypeAliasDeclaration":case"VariableDeclaration":return void(null!=e.declare||(e.declare=!1));case"VariableDeclarator":return void(null!=e.definite||(e.definite=!1));case"TSEnumDeclaration":return null!=e.const||(e.const=!1),void(null!=e.declare||(e.declare=!1));case"TSEnumMember":return void(null!=e.computed||(e.computed=!1));case"TSImportType":return null!=e.qualifier||(e.qualifier=null),void(null!=e.options||(e.options=null));case"TSInterfaceDeclaration":return null!=e.declare||(e.declare=!1),void(null!=e.extends||(e.extends=[]));case"TSMappedType":return null!=e.optional||(e.optional=!1),void(null!=e.readonly||(e.readonly=void 0));case"TSModuleDeclaration":return null!=e.declare||(e.declare=!1),void(null!=e.global||(e.global="global"===e.kind));case"TSTypeParameter":return null!=e.const||(e.const=!1),null!=e.in||(e.in=!1),void(null!=e.out||(e.out=!1))}}chStartsBindingIdentifierAndNotRelationalOperator(e,t){if(ie(e)){if(yt.lastIndex=t,yt.test(this.input)){const e=this.codePointAtPos(yt.lastIndex);if(!oe(e)&&92!==e)return!1}return!0}return 92===e}nextTokenIsIdentifierAndNotTSRelationalOperatorOnSameLine(){const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifierAndNotRelationalOperator(t,e)}nextTokenIsIdentifierOrStringLiteralOnSameLine(){const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)||34===t||39===t}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(54)){const e=this.state.startLoc,t=this.startNode();if(this.next(),G(this.state.type)){const e=this.parseIdentifierName(),s=this.createIdentifier(t,e);if(this.castNodeTo(s,"V8IntrinsicIdentifier"),this.match(10))return s}this.unexpected(e)}}parseExprAtom(e){return this.parseV8Intrinsic()||super.parseExprAtom(e)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(133)){const t=this.startNode();return this.next(),this.assertNoSpace(),t.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){let s=e;return s.expectedNode&&s.type||(s=this.finishNode(s,"Placeholder")),s.expectedNode=t,s}getTokenFromCode(e){37===e&&37===this.input.charCodeAt(this.state.pos+1)?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,t,s,r){void 0!==e&&super.checkReservedWord(e,t,s,r)}cloneIdentifier(e){const t=super.cloneIdentifier(e);return"Placeholder"===t.type&&(t.expectedNode=e.expectedNode),t}cloneStringLiteral(e){return"Placeholder"===e.type?this.cloneIdentifier(e):super.cloneStringLiteral(e)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(e,t,s,r){return"Placeholder"===e||super.isValidLVal(e,t,s,r)}toAssignable(e,t){e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?e.expectedNode="Pattern":super.toAssignable(e,t)}chStartsBindingIdentifier(e,t){if(super.chStartsBindingIdentifier(e,t))return!0;const s=this.nextTokenStart();return 37===this.input.charCodeAt(s)&&37===this.input.charCodeAt(s+1)}verifyBreakContinue(e,t){var s;"Placeholder"!==(null==(s=e.label)?void 0:s.type)&&super.verifyBreakContinue(e,t)}parseExpressionStatement(e,t){var s;if("Placeholder"!==t.type||null!=(s=t.extra)&&s.parenthesized)return super.parseExpressionStatement(e,t);if(this.match(14)){const s=e;return s.label=this.finishPlaceholder(t,"Identifier"),this.next(),s.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(s,"LabeledStatement")}this.semicolon();const r=e;return r.name=t.name,this.finishPlaceholder(r,"Statement")}parseBlock(e,t,s){return this.parsePlaceholder("BlockStatement")||super.parseBlock(e,t,s)}parseFunctionId(e){return this.parsePlaceholder("Identifier")||super.parseFunctionId(e)}parseClass(e,t,s){const r=t?"ClassDeclaration":"ClassExpression";this.next();const n=this.state.strict,i=this.parsePlaceholder("Identifier");if(i){if(!(this.match(81)||this.match(133)||this.match(5))){if(s||!t)return e.id=null,e.body=this.finishPlaceholder(i,"ClassBody"),this.finishNode(e,r);throw this.raise(Tt.ClassNameIsRequired,this.state.startLoc)}e.id=i}else this.parseClassId(e,t,s);return super.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!e.superClass,n),this.finishNode(e,r)}parseExport(e,t){const s=this.parsePlaceholder("Identifier");if(!s)return super.parseExport(e,t);const r=e;if(!this.isContextual(98)&&!this.match(12))return r.specifiers=[],r.source=null,r.declaration=this.finishPlaceholder(s,"Declaration"),this.finishNode(r,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const n=this.startNode();return n.exported=s,r.specifiers=[this.finishNode(n,"ExportDefaultSpecifier")],super.parseExport(r,t)}isExportDefaultSpecifier(){if(this.match(65)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(H(133),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e,t){var s;return!(null==(s=e.specifiers)||!s.length)||super.maybeParseExportDefaultSpecifier(e,t)}checkExport(e){const{specifiers:t}=e;null!=t&&t.length&&(e.specifiers=t.filter(e=>"Placeholder"===e.exported.type)),super.checkExport(e),e.specifiers=t}parseImport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseImport(e);if(e.specifiers=[],!this.isContextual(98)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const s=this.startNodeAtNode(t);if(s.local=t,e.specifiers.push(this.finishNode(s,"ImportDefaultSpecifier")),this.eat(12)){this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)}return 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(Tt.UnexpectedSpace,this.state.lastTokEndLoc)}}},Ot=Object.keys(kt);class _t extends gt{checkProto(e,t,s,r){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return s;const n=e.key;return"__proto__"===("Identifier"===n.type?n.name:n.value)?t?(this.raise(A.RecordNoProto,n),!0):(s&&(r?null===r.doubleProtoLoc&&(r.doubleProtoLoc=n.loc.start):this.raise(A.DuplicateProto,n)),!0):s}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&this.offsetToSourcePos(e.start)===t}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(A.ParseExpressionEmptyInput,this.state.startLoc);const e=this.parseExpression();if(!this.match(140))throw this.raise(A.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),e.comments=this.comments,e.errors=this.state.errors,256&this.optionFlags&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd(()=>this.parseExpressionBase(t)):this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.startLoc,s=this.parseMaybeAssign(e);if(this.match(12)){const r=this.startNodeAt(t);for(r.expressions=[s];this.eat(12);)r.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(r.expressions),this.finishNode(r,"SequenceExpression")}return s}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e){e.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(e,t){const s=this.state.startLoc,r=this.isContextual(108);if(r&&this.prodParam.hasYield){this.next();let e=this.parseYield(s);return t&&(e=t.call(this,e,s)),e}let n;e?n=!1:(e=new ut,n=!0);const{type:i}=this.state;(10===i||G(i))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(e);if(t&&(o=t.call(this,o,s)),(a=this.state.type)>=29&&a<=33){const t=this.startNodeAt(s),r=this.state.value;if(t.operator=r,this.match(29)){this.toAssignable(o,!0),t.left=o;const r=s.index;null!=e.doubleProtoLoc&&e.doubleProtoLoc.index>=r&&(e.doubleProtoLoc=null),null!=e.shorthandAssignLoc&&e.shorthandAssignLoc.index>=r&&(e.shorthandAssignLoc=null),null!=e.privateKeyLoc&&e.privateKeyLoc.index>=r&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null),null!=e.voidPatternLoc&&e.voidPatternLoc.index>=r&&(e.voidPatternLoc=null)}else t.left=o;return this.next(),t.right=this.parseMaybeAssign(),this.checkLVal(o,this.finishNode(t,"AssignmentExpression"),void 0,void 0,void 0,void 0,"||="===r||"&&="===r||"??="===r),t}var a;if(n&&this.checkExpressionErrors(e,!0),r){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?K(e):K(e)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(A.YieldNotInGeneratorFunction,s),this.parseYield(s)}return o}parseMaybeConditional(e){const t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprOps(e);return this.shouldExitDescending(r,s)?r:this.parseConditional(r,t,e)}parseConditional(e,t,s){if(this.eat(17)){const s=this.startNodeAt(t);return s.test=e,s.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),s.alternate=this.parseMaybeAssign(),this.finishNode(s,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(r,s)?r:this.parseExprOp(r,t,-1)}parseExprOp(e,t,s){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e);(s>=$(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(A.PrivateInExpectedIn,e,{identifierName:t}),this.classScope.usePrivateName(t,e.loc.start)}const r=this.state.type;if((n=r)>=39&&n<=59&&(this.prodParam.hasIn||!this.match(58))){let n=$(r);if(n>s){if(39===r){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}const i=this.startNodeAt(t);i.left=e,i.operator=this.state.value;const o=41===r||42===r,a=40===r;if(a&&(n=$(42)),this.next(),39===r&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&96===this.state.type&&this.prodParam.hasAwait)throw this.raise(A.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);i.right=this.parseExprOpRightExpr(r,n);const c=this.finishNode(i,o||a?"LogicalExpression":"BinaryExpression"),l=this.state.type;if(a&&(41===l||42===l)||o&&40===l)throw this.raise(A.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,t,s)}}var n;return e}parseExprOpRightExpr(e,t){const s=this.state.startLoc;if(39===e){switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}if("smart"===this.getPluginOption("pipelineOperator","proposal"))return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(A.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),s)})}return this.parseExprOpBaseRightExpr(e,t)}parseExprOpBaseRightExpr(e,t){const s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),s,57===e?t-1:t)}parseHackPipeBody(){var e;const{startLoc:t}=this.state,s=this.parseMaybeAssign();return!h.has(s.type)||null!=(e=s.extra)&&e.parenthesized||this.raise(A.PipeUnparenthesizedBody,t,{type:s.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(A.PipeTopicUnused,t),s}checkExponentialAfterUnary(e){this.match(57)&&this.raise(A.UnexpectedTokenUnaryExponentiation,e.argument)}parseMaybeUnary(e,t){const s=this.state.startLoc,r=this.isContextual(96);if(r&&this.recordAwaitIfAllowed()){this.next();const e=this.parseAwait(s);return t||this.checkExponentialAfterUnary(e),e}const n=this.match(34),i=this.startNode();if(o=this.state.type,R[o]){i.operator=this.state.value,i.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");const s=this.match(89);if(this.next(),i.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&s){const e=i.argument;"Identifier"===e.type?this.raise(A.StrictDelete,i):this.hasPropertyAsPrivateName(e)&&this.raise(A.DeletePrivateField,i)}if(!n)return t||this.checkExponentialAfterUnary(i),this.finishNode(i,"UnaryExpression")}var o;const a=this.parseUpdate(i,n,e);if(r){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?K(e):K(e)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(A.AwaitNotInAsyncContext,s),this.parseAwait(s)}return a}parseUpdate(e,t,s){if(t){const t=e;return this.checkLVal(t.argument,this.finishNode(t,"UpdateExpression")),e}const r=this.state.startLoc;let n=this.parseExprSubscripts(s);if(this.checkExpressionErrors(s,!1))return n;for(;J(this.state.type)&&!this.canInsertSemicolon();){const e=this.startNodeAt(r);e.operator=this.state.value,e.prefix=!1,e.argument=n,this.next(),this.checkLVal(n,n=this.finishNode(e,"UpdateExpression"))}return n}parseExprSubscripts(e){const t=this.state.startLoc,s=this.state.potentialArrowAt,r=this.parseExprAtom(e);return this.shouldExitDescending(r,s)?r:this.parseSubscripts(r,t)}parseSubscripts(e,t,s){const r={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,s,r),r.maybeAsyncArrow=!1}while(!r.stop);return e}parseSubscript(e,t,s,r){const{type:n}=this.state;if(!s&&15===n)return this.parseBind(e,t,s,r);if(X(n))return this.parseTaggedTemplateExpression(e,t,r);let i=!1;if(18===n){if(s&&(this.raise(A.OptionalChainingNoNew,this.state.startLoc),40===this.lookaheadCharCode()))return this.stopParseSubscript(e,r);r.optionalChainMember=i=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,i);{const s=this.eat(0);return s||i||this.eat(16)?this.parseMember(e,t,r,s,i):this.stopParseSubscript(e,r)}}stopParseSubscript(e,t){return t.stop=!0,e}parseMember(e,t,s,r,n){const i=this.startNodeAt(t);return i.object=e,i.computed=r,r?(i.property=this.parseExpression(),this.expect(3)):this.match(139)?("Super"===e.type&&this.raise(A.SuperPrivateField,t),this.classScope.usePrivateName(this.state.value,this.state.startLoc),i.property=this.parsePrivateName()):i.property=this.parseIdentifier(!0),s.optionalChainMember?(i.optional=n,this.finishNode(i,"OptionalMemberExpression")):this.finishNode(i,"MemberExpression")}parseBind(e,t,s,r){const n=this.startNodeAt(t);return n.object=e,this.next(),n.callee=this.parseNoCallExpr(),r.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),t,s)}parseCoverCallAndAsyncArrowHead(e,t,s,r){const n=this.state.maybeInArrowParameters;let i=null;this.state.maybeInArrowParameters=!0,this.next();const o=this.startNodeAt(t);o.callee=e;const{maybeAsyncArrow:a,optionalChainMember:c}=s;a&&(this.expressionScope.enter(new ct(2)),i=new ut),c&&(o.optional=r),o.arguments=r?this.parseCallExpressionArguments():this.parseCallExpressionArguments("Super"!==e.type,o,i);let l=this.finishCallExpression(o,c);return a&&this.shouldParseAsyncArrow()&&!r?(s.stop=!0,this.checkDestructuringPrivate(i),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),l=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t),l)):(a&&(this.checkExpressionErrors(i,!0),this.expressionScope.exit()),this.toReferencedArguments(l)),this.state.maybeInArrowParameters=n,l}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,s){const r=this.startNodeAt(t);return r.tag=e,r.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(A.OptionalChainingNoTemplate,t),this.finishNode(r,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.offsetToSourcePos(e.start)===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(0===e.arguments.length||e.arguments.length>2)this.raise(A.ImportCallArity,e);else for(const s of e.arguments)"SpreadElement"===s.type&&this.raise(A.ImportCallSpreadArgument,s);return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,s){const r=[];let n=!0;const i=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(n)n=!1;else if(this.expect(12),this.match(11)){t&&this.addTrailingCommaExtraToNode(t),this.next();break}r.push(this.parseExprListItem(11,!1,s,e))}return this.state.inFSharpPipelineDirectBody=i,r}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var s;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(s=t.extra)?void 0:s.trailingCommaLoc),t.innerComments&&Qe(e,t.innerComments),t.callee.trailingComments&&Qe(e,t.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let t,s=null;const{type:r}=this.state;switch(r){case 79:return this.parseSuper();case 83:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(t):this.match(10)?512&this.optionFlags?this.parseImportCall(t):this.finishNode(t,"Import"):(this.raise(A.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(t,"Import"));case 78:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 0:return this.parseArrayLike(3,!1,e);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:s=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(s,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;const e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(A.UnsupportedBind,e)}case 139:return this.raise(A.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{const e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);throw this.unexpected()}case 47:{const e=this.input.codePointAt(this.nextTokenStart());if(ie(e)||62===e)throw this.expectOnePlugin(["jsx","flow","typescript"]);throw this.unexpected()}default:if(137===r)return this.parseDecimalLiteral(this.state.value);if(2===r||1===r)return this.parseArrayLike(2===this.state.type?4:3,!0);if(6===r||7===r)return this.parseObjectLike(6===this.state.type?9:8,!1,!0);if(G(r)){if(this.isContextual(127)&&123===this.lookaheadInLineCharCode())return this.parseModuleExpression();const e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,s=this.parseIdentifier();if(!t&&"async"===s.name&&!this.canInsertSemicolon()){const{type:e}=this.state;if(68===e)return this.resetPreviousNodeTrailingComments(s),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(s));if(G(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(s)):s;if(90===e)return this.resetPreviousNodeTrailingComments(s),this.parseDo(this.startNodeAtNode(s),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(s),[s],!1)):s}throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){const s=this.getPluginOption("pipelineOperator","proposal");if(s)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc=r(this.state.endLoc,-1),this.parseTopicReference(s);throw this.unexpected()}parseTopicReference(e){const t=this.startNode(),s=this.state.startLoc,r=this.state.type;return this.next(),this.finishTopicReference(t,s,e,r)}finishTopicReference(e,t,s,r){if(this.testTopicReferenceConfiguration(s,t,r))return"hack"===s?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(A.PipeTopicUnbound,t),this.registerTopicReference(),this.finishNode(e,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(A.PrimaryTopicNotAllowed,t),this.registerTopicReference(),this.finishNode(e,"PipelinePrimaryTopicReference"));throw this.raise(A.PipeTopicUnconfiguredToken,t,{token:H(r)})}testTopicReferenceConfiguration(e,t,s){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:H(s)}]);case"smart":return 27===s;default:throw this.raise(A.PipeTopicRequiresHackPipes,t)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(Ue(!0,this.prodParam.hasYield));const t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(A.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(e,t,!0)}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();const s=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=s,this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper?16&this.optionFlags||this.raise(A.SuperNotAllowed,e):this.scope.allowSuper||16&this.optionFlags||this.raise(A.UnexpectedSuper,e),this.match(10)||this.match(0)||this.match(16)||this.raise(A.UnsupportedSuper,e),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(r(this.state.startLoc,1)),s=this.state.value;return this.next(),e.id=this.createIdentifier(t,s),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,s){e.meta=t;const r=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==s||r)&&this.raise(A.UnsupportedMetaProperty,e.property,{target:t.name,onlyValidPropertyName:s}),this.finishNode(e,"MetaProperty")}parseImportMetaPropertyOrPhaseCall(e){if(this.next(),this.isContextual(105)||this.isContextual(97)){const t=this.isContextual(105);return this.expectPlugin(t?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),e.phase=t?"source":"defer",this.parseImportCall(e)}{const t=this.createIdentifierAt(this.startNodeAtNode(e),"import",this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(A.ImportMetaOutsideModule,t),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}}parseLiteralAtNode(e,t,s){return this.addExtra(s,"rawValue",e),this.addExtra(s,"raw",this.input.slice(this.offsetToSourcePos(s.start),this.state.end)),s.value=e,this.next(),this.finishNode(s,t)}parseLiteral(e,t){const s=this.startNode();return this.parseLiteralAtNode(e,t,s)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.startNode();return this.addExtra(t,"raw",this.input.slice(this.offsetToSourcePos(t.start),this.state.end)),t.pattern=e.pattern,t.flags=e.flags,this.next(),this.finishNode(t,"RegExpLiteral")}parseBooleanLiteral(e){const t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.startLoc;let s;this.next(),this.expressionScope.enter(new ct(1));const r=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const i=this.state.startLoc,o=[],a=new ut;let c,l,h=!0;for(;!this.match(11);){if(h)h=!1;else if(this.expect(12,null===a.optionalParametersLoc?null:a.optionalParametersLoc),this.match(11)){l=this.state.startLoc;break}if(this.match(21)){const e=this.state.startLoc;if(c=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),e)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowInOrVoidPattern(11,a,this.parseParenItem))}const p=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=r,this.state.inFSharpPipelineDirectBody=n;let u=this.startNodeAt(t);return e&&this.shouldParseArrow(o)&&(u=this.parseArrow(u))?(this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(u,o,!1),u):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),l&&this.unexpected(l),c&&this.unexpected(c),this.checkExpressionErrors(a,!0),this.toReferencedListDeep(o,!0),o.length>1?(s=this.startNodeAt(i),s.expressions=o,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,p)):s=o[0],this.wrapParenthesis(t,s))}wrapParenthesis(e,t){if(!(1024&this.optionFlags))return this.addExtra(t,"parenthesized",!0),this.addExtra(t,"parenStart",e.index),this.takeSurroundingComments(t,e.index,this.state.lastTokEndLoc.index),t;const s=this.startNodeAt(e);return s.expression=t,this.finishNode(s,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t){return e}parseNewOrNewTarget(){const e=this.startNode();if(this.next(),this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const s=this.parseMetaProperty(e,t,"target");return this.scope.allowNewTarget||this.raise(A.UnexpectedNewTarget,s),s}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){const t=this.match(83),s=this.parseNoCallExpr();e.callee=s,!t||"Import"!==s.type&&"ImportExpression"!==s.type||this.raise(A.ImportCallNotNewExpression,s)}parseTemplateElement(e){const{start:t,startLoc:s,end:n,value:i}=this.state,o=t+1,a=this.startNodeAt(r(s,1));null===i&&(e||this.raise(A.InvalidEscapeSequenceTemplate,r(this.state.firstInvalidTemplateEscapePos,1)));const c=this.match(24),l=c?-1:-2,h=n+l;a.value={raw:this.input.slice(o,h).replace(/\r\n?/g,"\n"),cooked:null===i?null:i.slice(1,l)},a.tail=c,this.next();const p=this.finishNode(a,"TemplateElement");return this.resetEndLocation(p,r(this.state.lastTokEndLoc,l)),p}parseTemplate(e){const t=this.startNode();let s=this.parseTemplateElement(e);const r=[s],n=[];for(;!s.tail;)n.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),r.push(s=this.parseTemplateElement(e));return t.expressions=n,t.quasis=r,this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,s,r){s&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let i=!1,o=!0;const a=this.startNode();for(a.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(a);break}let n;t?n=this.parseBindingProperty():(n=this.parsePropertyDefinition(r),i=this.checkProto(n,s,i,r)),s&&!this.isObjectProperty(n)&&"SpreadElement"!==n.type&&this.raise(A.InvalidRecordProperty,n),n.shorthand&&this.addExtra(n,"shorthand",!0),a.properties.push(n)}this.next(),this.state.inFSharpPipelineDirectBody=n;let c="ObjectExpression";return t?c="ObjectPattern":s&&(c="RecordExpression"),this.finishNode(a,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(A.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)t.push(this.parseDecorator());const s=this.startNode();let r,n=!1,i=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(s.decorators=t,t=[]),s.method=!1,e&&(r=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(s);const a=this.state.containsEsc;if(this.parsePropertyName(s,e),!o&&!a&&this.maybeAsyncOrAccessorProp(s)){const{key:e}=s,t=e.name;"async"!==t||this.hasPrecedingLineBreak()||(n=!0,this.resetPreviousNodeTrailingComments(e),o=this.eat(55),this.parsePropertyName(s)),"get"!==t&&"set"!==t||(i=!0,this.resetPreviousNodeTrailingComments(e),s.kind=t,this.match(55)&&(o=!0,this.raise(A.AccessorIsGenerator,this.state.curPosition(),{kind:t}),this.next()),this.parsePropertyName(s))}return this.parseObjPropValue(s,r,o,n,!1,i,e)}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const s=this.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e);r.length!==s&&this.raise("get"===e.kind?A.BadGetterArity:A.BadSetterArity,e),"set"===e.kind&&"RestElement"===(null==(t=r[r.length-1])?void 0:t.type)&&this.raise(A.BadSetterRestParameter,e)}parseObjectMethod(e,t,s,r,n){if(n){const s=this.parseMethod(e,t,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(s),s}if(s||t||this.match(10))return r&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,s,!1,!1,"ObjectMethod")}parseObjectProperty(e,t,s,r){if(e.shorthand=!1,this.eat(14))return e.value=s?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,r),this.finishObjectProperty(e);if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),s)e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key));else if(this.match(29)){const s=this.state.startLoc;null!=r?null===r.shorthandAssignLoc&&(r.shorthandAssignLoc=s):this.raise(A.InvalidCoverInitializedName,s),e.value=this.parseMaybeDefault(t,this.cloneIdentifier(e.key))}else e.value=this.cloneIdentifier(e.key);return e.shorthand=!0,this.finishObjectProperty(e)}}finishObjectProperty(e){return this.finishNode(e,"ObjectProperty")}parseObjPropValue(e,t,s,r,n,i,o){const a=this.parseObjectMethod(e,s,r,n,i)||this.parseObjectProperty(e,t,n,o);return a||this.unexpected(),a}parsePropertyName(e,t){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:s,value:r}=this.state;let n;if(Q(s))n=this.parseIdentifier(!0);else switch(s){case 135:n=this.parseNumericLiteral(r);break;case 134:n=this.parseStringLiteral(r);break;case 136:n=this.parseBigIntLiteral(r);break;case 139:{const e=this.state.startLoc;null!=t?null===t.privateKeyLoc&&(t.privateKeyLoc=e):this.raise(A.UnexpectedPrivateField,e),n=this.parsePrivateName();break}default:if(137===s){n=this.parseDecimalLiteral(r);break}this.unexpected()}e.key=n,139!==s&&(e.computed=!1)}}initFunction(e,t){e.id=null,e.generator=!1,e.async=t}parseMethod(e,t,s,r,n,i,o=!1){this.initFunction(e,s),e.generator=t,this.scope.enter(530|(o?576:0)|(n?32:0)),this.prodParam.enter(Ue(s,e.generator)),this.parseFunctionParams(e,r);const a=this.parseFunctionBodyAndFinish(e,i,!0);return this.prodParam.exit(),this.scope.exit(),a}parseArrayLike(e,t,s){t&&this.expectPlugin("recordAndTuple");const r=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const n=this.startNode();return this.next(),n.elements=this.parseExprList(e,!t,s,n),this.state.inFSharpPipelineDirectBody=r,this.finishNode(n,t?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,s,r){this.scope.enter(518);let n=Ue(s,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=8),this.prodParam.enter(n),this.initFunction(e,s);const i=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,r)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=i,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,s){this.toAssignableList(t,s,!1),e.params=t}parseFunctionBodyAndFinish(e,t,s=!1){return this.parseFunctionBody(e,!1,s),this.finishNode(e,t)}parseFunctionBody(e,t,s=!1){const r=t&&!this.match(5);if(this.expressionScope.enter(ht()),r)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{const r=this.state.strict,n=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,n=>{const i=!this.isSimpleParamList(e.params);n&&i&&this.raise(A.IllegalLanguageModeDirective,"method"!==e.kind&&"constructor"!==e.kind||!e.key?e:e.key.loc.end);const o=!r&&this.state.strict;this.checkParams(e,!(this.state.strict||t||s||i),t,o),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,o)}),this.prodParam.exit(),this.state.labels=n}this.expressionScope.exit()}isSimpleParameter(e){return"Identifier"===e.type}isSimpleParamList(e){for(let t=0,s=e.length;t<s;t++)if(!this.isSimpleParameter(e[t]))return!1;return!0}checkParams(e,t,s,r=!0){const n=!t&&new Set,i={type:"FormalParameters"};for(const o of e.params)this.checkLVal(o,i,5,n,r)}parseExprList(e,t,s,r){const n=[];let i=!0;for(;!this.eat(e);){if(i)i=!1;else if(this.expect(12),this.match(e)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}n.push(this.parseExprListItem(e,t,s))}return n}parseExprListItem(e,t,s,r){let n;if(this.match(12))t||this.raise(A.UnexpectedToken,this.state.curPosition(),{unexpected:","}),n=null;else if(this.match(21)){const e=this.state.startLoc;n=this.parseParenItem(this.parseSpread(s),e)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(A.UnexpectedArgumentPlaceholder,this.state.startLoc);const e=this.startNode();this.next(),n=this.finishNode(e,"ArgumentPlaceholder")}else n=this.parseMaybeAssignAllowInOrVoidPattern(e,s,this.parseParenItem);return n}parseIdentifier(e){const t=this.startNode(),s=this.parseIdentifierName(e);return this.createIdentifier(t,s)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}createIdentifierAt(e,t,s){return e.name=t,e.loc.identifierName=t,this.finishNodeAt(e,"Identifier",s)}parseIdentifierName(e){let t;const{startLoc:s,type:r}=this.state;Q(r)?t=this.state.value:this.unexpected();const n=r<=92;return e?n&&this.replaceToken(132):this.checkReservedWord(t,s,n,!1),this.next(),t}checkReservedWord(e,t,s,r){if(e.length>10)return;if(!function(e){return Ae.has(e)}(e))return;if(s&&function(e){return le.has(e)}(e))return void this.raise(A.UnexpectedKeyword,t,{keyword:e});if((this.state.strict?r?me:de:ue)(e,this.inModule))this.raise(A.UnexpectedReservedWord,t,{reservedWord:e});else if("yield"===e){if(this.prodParam.hasYield)return void this.raise(A.YieldBindingIdentifier,t)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(A.AwaitBindingIdentifier,t);if(this.scope.inStaticBlock)return void this.raise(A.AwaitBindingIdentifierInStaticBlock,t);this.expressionScope.recordAsyncArrowParametersError(t)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(A.ArgumentsInClass,t)}recordAwaitIfAllowed(){const e=this.prodParam.hasAwait;return e&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),e}parseAwait(e){const t=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(A.AwaitExpressionFormalParameter,t),this.eat(55)&&this.raise(A.ObsoleteAwaitStar,t),this.scope.inFunction||1&this.optionFlags||(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(t.argument=this.parseMaybeUnary(null,!0)),this.finishNode(t,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;const{type:e}=this.state;return 53===e||10===e||0===e||X(e)||102===e&&!this.state.containsEsc||138===e||56===e||this.hasPlugin("v8intrinsic")&&54===e}parseYield(e){const t=this.startNodeAt(e);this.expressionScope.recordParameterInitializerError(A.YieldInParameter,t);let s=!1,r=null;if(!this.hasPrecedingLineBreak())switch(s=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!s)break;default:r=this.parseMaybeAssign()}return t.delegate=s,t.argument=r,this.finishNode(t,"YieldExpression")}parseImportCall(e){if(this.next(),e.source=this.parseMaybeAssignAllowIn(),e.options=null,this.eat(12))if(this.match(11))this.addTrailingCommaExtraToNode(e.source);else if(e.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(e.options),!this.match(11))){do{this.parseMaybeAssignAllowIn()}while(this.eat(12)&&!this.match(11));this.raise(A.ImportCallArity,e)}return this.expect(11),this.finishNode(e,"ImportExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(A.PipelineHeadSequenceExpression,t)}parseSmartPipelineBodyInStyle(e,t){if(this.isSimpleReference(e)){const s=this.startNodeAt(t);return s.callee=e,this.finishNode(s,"PipelineBareFunction")}{const s=this.startNodeAt(t);return this.checkSmartPipeTopicBodyEarlyErrors(t),s.expression=e,this.finishNode(s,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(A.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(A.PipelineTopicUnused,e)}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return e();{const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}}withSoloAwaitPermittingContext(e){const t=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=t}}allowInAnd(e){const t=this.prodParam.currentFlags();if(8&~t){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags();if(8&t){this.prodParam.enter(-9&t);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const r=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,e);return this.state.inFSharpPipelineDirectBody=s,r}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);const t=this.startNodeAt(this.state.endLoc);this.next();const s=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(t,8,"module")}finally{s()}return this.finishNode(e,"ModuleExpression")}parseVoidPattern(e){this.expectPlugin("discardBinding");const t=this.startNode();return null!=e&&(e.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(t,"VoidPattern")}parseMaybeAssignAllowInOrVoidPattern(e,t,s){if(null!=t&&this.match(88)){const s=this.lookaheadCharCode();if(44===s||s===(3===e?93:8===e?125:41)||61===s)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(t))}return this.parseMaybeAssignAllowIn(t,s)}parsePropertyNamePrefixOperator(e){}}const Dt={kind:1},Lt={kind:2},Mt=/[\uD800-\uDFFF]/u,Bt=/in(?:stanceof)?/y;class Rt extends _t{parseTopLevel(e,t){return e.program=this.parseProgram(t,140,"module"===this.options.sourceType?"module":"script"),e.comments=this.comments,256&this.optionFlags&&(e.tokens=function(e,t,s){for(let n=0;n<e.length;n++){const i=e[n],{type:o}=i;if("number"==typeof o){if(139===o){const{loc:t,start:s,value:o,end:a}=i,c=s+1,l=r(t.start,1);e.splice(n,1,new rt({type:Z(27),value:"#",start:s,end:c,startLoc:t.start,endLoc:l}),new rt({type:Z(132),value:o,start:c,end:a,startLoc:l,endLoc:t.end})),n++;continue}if(X(o)){const{loc:a,start:c,value:l,end:h}=i,p=c+1,u=r(a.start,1);let d,f,m,A,g;d=96===t.charCodeAt(c-s)?new rt({type:Z(22),value:"`",start:c,end:p,startLoc:a.start,endLoc:u}):new rt({type:Z(8),value:"}",start:c,end:p,startLoc:a.start,endLoc:u}),24===o?(m=h-1,A=r(a.end,-1),f=null===l?null:l.slice(1,-1),g=new rt({type:Z(22),value:"`",start:m,end:h,startLoc:A,endLoc:a.end})):(m=h-2,A=r(a.end,-2),f=null===l?null:l.slice(1,-2),g=new rt({type:Z(23),value:"${",start:m,end:h,startLoc:A,endLoc:a.end})),e.splice(n,1,d,new rt({type:Z(20),value:f,start:p,end:m,startLoc:u,endLoc:A}),g),n+=2;continue}i.type=Z(o)}}return e}(this.tokens,this.input,this.startIndex)),this.finishNode(e,"File")}parseProgram(e,t,s){if(e.sourceType=s,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule){if(!(64&this.optionFlags)&&this.scope.undefinedExports.size>0)for(const[e,t]of Array.from(this.scope.undefinedExports))this.raise(A.ModuleExportUndefined,t,{localName:e});this.addExtra(e,"topLevelAwait",this.state.hasTopLevelAwait)}let n;return n=140===t?this.finishNode(e,"Program"):this.finishNodeAt(e,"Program",r(this.state.startLoc,-1)),n}stmtToDirective(e){const t=this.castNodeTo(e,"Directive"),s=this.castNodeTo(e.expression,"DirectiveLiteral"),r=s.value,n=this.input.slice(this.offsetToSourcePos(s.start),this.offsetToSourcePos(s.end)),i=s.value=n.slice(1,-1);return this.addExtra(s,"raw",n),this.addExtra(s,"rawValue",i),this.addExtra(s,"expressionValue",r),t.value=s,delete e.expression,t}parseInterpreterDirective(){if(!this.match(28))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}isUsing(){return!!this.isContextual(107)&&this.nextTokenIsIdentifierOnSameLine()}isForUsing(){if(!this.isContextual(107))return!1;const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);if(this.isUnparsedContextual(e,"of")){const t=this.lookaheadCharCodeSince(e+2);if(61!==t&&58!==t&&59!==t)return!1}return!(!this.chStartsBindingIdentifier(t,e)&&!this.isUnparsedContextual(e,"void"))}nextTokenIsIdentifierOnSameLine(){const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return this.chStartsBindingIdentifier(t,e)}isAwaitUsing(){if(!this.isContextual(96))return!1;let e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,"using")){e=this.nextTokenInLineStartSince(e+5);const t=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(t,e))return!0}return!1}chStartsBindingIdentifier(e,t){if(ie(e)){if(Bt.lastIndex=t,Bt.test(this.input)){const e=this.codePointAtPos(Bt.lastIndex);if(!oe(e)&&92!==e)return!1}return!0}return 92===e}chStartsBindingPattern(e){return 91===e||123===e}hasFollowingBindingAtom(){const e=this.nextTokenStart(),t=this.codePointAtPos(e);return this.chStartsBindingPattern(t)||this.chStartsBindingIdentifier(t,e)}hasInLineFollowingBindingIdentifierOrBrace(){const e=this.nextTokenInLineStart(),t=this.codePointAtPos(e);return 123===t||this.chStartsBindingIdentifier(t,e)}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(e=!1){let t=0;return this.options.annexB&&!this.state.strict&&(t|=4,e&&(t|=8)),this.parseStatementLike(t)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let t=null;return this.match(26)&&(t=this.parseDecorators(!0)),this.parseStatementContent(e,t)}parseStatementContent(e,t){const s=this.state.type,r=this.startNode(),n=!!(2&e),i=!!(4&e),o=1&e;switch(s){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(46===this.lookaheadCharCode())break;return i||this.raise(this.state.strict?A.StrictFunction:this.options.annexB?A.SloppyFunctionAnnexB:A.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(r,!1,!n&&i);case 80:return n||this.unexpected(),this.parseClass(this.maybeTakeDecorators(t,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(A.AwaitUsingNotInAsyncContext,r):this.raise(A.UnexpectedLexicalDeclaration,r):this.raise(A.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(A.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(A.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(r,"using");case 100:{if(this.state.containsEsc)break;const e=this.nextTokenStart(),t=this.codePointAtPos(e);if(91!==t){if(!n&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(t,e)&&123!==t)break}}case 75:n||this.raise(A.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{const e=this.state.value;return this.parseVarStatement(r,e)}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:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case 82:{let e;return 8&this.optionFlags||o||this.raise(A.UnexpectedImportExport,this.state.startLoc),this.next(),e=83===s?this.parseImport(r):this.parseExport(r,t),this.assertModuleNodeAllowed(e),e}default:if(this.isAsyncFunction())return n||this.raise(A.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(r,!0,!n&&i)}const a=this.state.value,c=this.parseExpression();return G(s)&&"Identifier"===c.type&&this.eat(14)?this.parseLabeledStatement(r,a,c,e):this.parseExpressionStatement(r,c,t)}assertModuleNodeAllowed(e){8&this.optionFlags||this.inModule||this.raise(A.ImportOutsideModule,e)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&!1!==this.getPluginOption("decorators","decoratorsBeforeExport")}maybeTakeDecorators(e,t,s){var r;e&&(null!=(r=t.decorators)&&r.length?("boolean"!=typeof this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(A.DecoratorsBeforeAfterExport,t.decorators[0]),t.decorators.unshift(...e)):t.decorators=e,this.resetStartLocationFromNode(t,e[0]),s&&this.resetStartLocationFromNode(s,t));return t}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){const t=[];do{t.push(this.parseDecorator())}while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(A.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(A.UnexpectedLeadingDecorator,this.state.startLoc);return t}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){const t=this.state.startLoc;let s;if(this.match(10)){const t=this.state.startLoc;this.next(),s=this.parseExpression(),this.expect(11),s=this.wrapParenthesis(t,s);const r=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(s,t),!1===this.getPluginOption("decorators","allowCallParenthesized")&&e.expression!==s&&this.raise(A.DecoratorArgumentsOutsideParentheses,r)}else{for(s=this.parseIdentifier(!1);this.eat(16);){const e=this.startNodeAt(t);e.object=s,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),e.property=this.parsePrivateName()):e.property=this.parseIdentifier(!0),e.computed=!1,s=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(s,t)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e,t){if(this.eat(10)){const s=this.startNodeAt(t);return s.callee=e,s.arguments=this.parseCallExpressionArguments(),this.toReferencedList(s.arguments),this.finishNode(s,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let s;for(s=0;s<this.state.labels.length;++s){const r=this.state.labels[s];if(null==e.label||r.name===e.label.name){if(null!=r.kind&&(t||1===r.kind))break;if(e.label&&t)break}}if(s===this.state.labels.length){const s=t?"BreakStatement":"ContinueStatement";this.raise(A.IllegalBreakContinue,e,{type:s})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();return this.expect(11),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(Dt),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(Dt);let t=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(t=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return null!==t&&this.unexpected(t),this.parseFor(e,null);const s=this.isContextual(100);{const r=this.isAwaitUsing(),n=r||this.isForUsing(),i=s&&this.hasFollowingBindingAtom()||n;if(this.match(74)||this.match(75)||i){const s=this.startNode();let i;r?(i="await using",this.recordAwaitIfAllowed()||this.raise(A.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):i=this.state.value,this.next(),this.parseVar(s,!0,i);const o=this.finishNode(s,"VariableDeclaration"),a=this.match(58);return a&&n&&this.raise(A.ForInUsing,o),(a||this.isContextual(102))&&1===o.declarations.length?this.parseForIn(e,o,t):(null!==t&&this.unexpected(t),this.parseFor(e,o))}}const r=this.isContextual(95),n=new ut,i=this.parseExpression(!0,n),o=this.isContextual(102);if(o&&(s&&this.raise(A.ForOfLet,i),null===t&&r&&"Identifier"===i.type&&this.raise(A.ForOfAsync,i)),o||this.match(58)){this.checkDestructuringPrivate(n),this.toAssignable(i,!0);const s=o?"ForOfStatement":"ForInStatement";return this.checkLVal(i,{type:s}),this.parseForIn(e,i,t)}return this.checkExpressionErrors(n,!0),null!==t&&this.unexpected(t),this.parseFor(e,i)}parseFunctionStatement(e,t,s){return this.next(),this.parseFunction(e,1|(s?2:0)|(t?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.raise(A.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();const t=e.cases=[];let s;this.expect(5),this.state.labels.push(Lt),this.scope.enter(256);for(let r;!this.match(8);)if(this.match(61)||this.match(65)){const e=this.match(61);s&&this.finishNode(s,"SwitchCase"),t.push(s=this.startNode()),s.consequent=[],this.next(),e?s.test=this.parseExpression():(r&&this.raise(A.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),r=!0,s.test=null),this.expect(14)}else s?s.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(A.NewlineAfterThrow,this.state.lastTokEndLoc),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&"Identifier"===e.type?8:0),this.checkLVal(e,{type:"CatchClause"},9),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){const t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,e.handler||e.finalizer||this.raise(A.NoCatchOrFinally,e),this.finishNode(e,"TryStatement")}parseVarStatement(e,t,s=!1){return this.next(),this.parseVar(e,!1,t,s),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(Dt),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(A.StrictWith,this.state.startLoc),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,s,r){for(const o of this.state.labels)o.name===t&&this.raise(A.LabelRedeclaration,s,{labelName:t});const n=(i=this.state.type)>=90&&i<=92?1:this.match(71)?2:null;var i;for(let o=this.state.labels.length-1;o>=0;o--){const t=this.state.labels[o];if(t.statementStart!==e.start)break;t.statementStart=this.sourceToOffsetPos(this.state.start),t.kind=n}return this.state.labels.push({name:t,kind:n,statementStart:this.sourceToOffsetPos(this.state.start)}),e.body=8&r?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=s,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t,s){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,t=!0,s){const r=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(r,e,!1,8,s),t&&this.scope.exit(),this.finishNode(r,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,s,r,n){const i=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?o:void 0,s,r,n)}parseBlockOrModuleBlockBody(e,t,s,r,n){const i=this.state.strict;let o=!1,a=!1;for(;!this.match(r);){const r=s?this.parseModuleItem():this.parseStatementListItem();if(t&&!a){if(this.isValidDirective(r)){const e=this.stmtToDirective(r);t.push(e),o||"use strict"!==e.value.value||(o=!0,this.setStrict(!0));continue}a=!0,this.state.strictErrors.clear()}e.push(r)}null==n||n.call(this,o),i||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,s){const r=this.match(58);return this.next(),r?null!==s&&this.unexpected(s):e.await=null!==s,"VariableDeclaration"!==t.type||null==t.declarations[0].init||r&&this.options.annexB&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type||this.raise(A.ForInOfLoopInitializer,t,{type:r?"ForInStatement":"ForOfStatement"}),"AssignmentPattern"===t.type&&this.raise(A.InvalidLhs,t,{ancestor:{type:"ForStatement"}}),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")}parseVar(e,t,s,r=!1){const n=e.declarations=[];for(e.kind=s;;){const e=this.startNode();if(this.parseVarId(e,s),e.init=this.eat(29)?t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,null!==e.init||r||("Identifier"===e.id.type||t&&(this.match(58)||this.isContextual(102))?"const"!==s&&"using"!==s&&"await using"!==s||this.match(58)||this.isContextual(102)||this.raise(A.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:s}):this.raise(A.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),n.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){const s=this.parseBindingAtom();"using"===t||"await using"===t?"ArrayPattern"!==s.type&&"ObjectPattern"!==s.type||this.raise(A.UsingDeclarationHasBindingPattern,s.loc.start):"VoidPattern"===s.type&&this.raise(A.UnexpectedVoidPattern,s.loc.start),this.checkLVal(s,{type:"VariableDeclarator"},"var"===t?5:8201),e.id=s}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,t=0){const s=2&t,r=!!(1&t),n=r&&!(4&t),i=!!(8&t);this.initFunction(e,i),this.match(55)&&(s&&this.raise(A.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),r&&(e.id=this.parseFunctionId(n));const o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(Ue(i,e.generator)),r||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,r?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),r&&!s&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||G(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new at(3)),e.params=this.parseBindingList(11,41,2|(t?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:8201:17,e.id.loc.start)}parseClass(e,t,s){this.next();const r=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,s),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,r),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(e){return"Identifier"===e.type&&"constructor"===e.name||"StringLiteral"===e.type&&"constructor"===e.value}isNonstaticConstructor(e){return!e.computed&&!e.static&&this.nameIsConstructor(e.key)}parseClassBody(e,t){this.classScope.enter();const s={hadConstructor:!1,hadSuperClass:e};let r=[];const 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(A.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){r.push(this.parseDecorator());continue}const e=this.startNode();r.length&&(e.decorators=r,this.resetStartLocationFromNode(e,r[0]),r=[]),this.parseClassMember(n,e,s),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(A.DecoratorConstructor,e)}}),this.state.strict=t,this.next(),r.length)throw this.raise(A.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(e,t){const s=this.parseIdentifier(!0);if(this.isClassMethod()){const r=t;return r.kind="method",r.computed=!1,r.key=s,r.static=!1,this.pushClassMethod(e,r,!1,!1,!1,!1),!0}if(this.isClassProperty()){const r=t;return r.computed=!1,r.key=s,r.static=!1,e.body.push(this.parseClassProperty(r)),!0}return this.resetPreviousNodeTrailingComments(s),!1}parseClassMember(e,t,s){const r=this.isContextual(106);if(r){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,s,r)}parseClassMemberWithIsStatic(e,t,s,r){const n=t,i=t,o=t,a=t,c=t,l=n,h=n;if(t.static=r,this.parsePropertyNamePrefixOperator(t),this.eat(55)){l.kind="method";const t=this.match(139);return this.parseClassElementName(l),this.parsePostMemberNameModifiers(l),t?void this.pushClassPrivateMethod(e,i,!0,!1):(this.isNonstaticConstructor(n)&&this.raise(A.ConstructorIsGenerator,n.key),void this.pushClassMethod(e,n,!0,!1,!1,!1))}const p=!this.state.containsEsc&&G(this.state.type),u=this.parseClassElementName(t),d=p?u.name:null,f=this.isPrivateName(u),m=this.state.startLoc;if(this.parsePostMemberNameModifiers(h),this.isClassMethod()){if(l.kind="method",f)return void this.pushClassPrivateMethod(e,i,!1,!1);const r=this.isNonstaticConstructor(n);let o=!1;r&&(n.kind="constructor",s.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(A.DuplicateConstructor,u),r&&this.hasPlugin("typescript")&&t.override&&this.raise(A.OverrideOnConstructor,u),s.hadConstructor=!0,o=s.hadSuperClass),this.pushClassMethod(e,n,!1,!1,r,o)}else if(this.isClassProperty())f?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o);else if("async"!==d||this.isLineTerminator())if("get"!==d&&"set"!==d||this.match(55)&&this.isLineTerminator())if("accessor"!==d||this.isLineTerminator())this.isLineTerminator()?f?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(u);const t=this.match(139);this.parseClassElementName(o),this.pushClassAccessorProperty(e,c,t)}else{this.resetPreviousNodeTrailingComments(u),l.kind=d;const t=this.match(139);this.parseClassElementName(n),t?this.pushClassPrivateMethod(e,i,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(A.ConstructorIsAccessor,n.key),this.pushClassMethod(e,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}else{this.resetPreviousNodeTrailingComments(u);const t=this.eat(55);h.optional&&this.unexpected(m),l.kind="method";const s=this.match(139);this.parseClassElementName(l),this.parsePostMemberNameModifiers(h),s?this.pushClassPrivateMethod(e,i,t,!0):(this.isNonstaticConstructor(n)&&this.raise(A.ConstructorIsAsync,n.key),this.pushClassMethod(e,n,t,!0,!1,!1))}}parseClassElementName(e){const{type:t,value:s}=this.state;if(132!==t&&134!==t||!e.static||"prototype"!==s||this.raise(A.StaticPrototype,this.state.startLoc),139===t){"constructor"===s&&this.raise(A.ConstructorClassPrivateField,this.state.startLoc);const t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e),e.key}parseClassStaticBlock(e,t){var s;this.scope.enter(720);const r=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const n=t.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=r,e.body.push(this.finishNode(t,"StaticBlock")),null!=(s=t.decorators)&&s.length&&this.raise(A.DecoratorStaticBlock,t)}pushClassProperty(e,t){!t.computed&&this.nameIsConstructor(t.key)&&this.raise(A.ConstructorClassField,t.key),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const s=this.parseClassPrivateProperty(t);e.body.push(s),this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassAccessorProperty(e,t,s){s||t.computed||!this.nameIsConstructor(t.key)||this.raise(A.ConstructorClassField,t.key);const r=this.parseClassAccessorProperty(t);e.body.push(r),s&&this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.loc.start)}pushClassMethod(e,t,s,r,n,i){e.body.push(this.parseMethod(t,s,r,n,i,"ClassMethod",!0))}pushClassPrivateMethod(e,t,s,r){const n=this.parseMethod(t,s,r,!1,!1,"ClassPrivateMethod",!0);e.body.push(n);const i="get"===n.kind?n.static?6:2:"set"===n.kind?n.static?5:1:0;this.declareClassPrivateMethodInScope(n,i)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(592),this.expressionScope.enter(ht()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,s,r=8331){if(G(this.state.type))e.id=this.parseIdentifier(),t&&this.declareNameFromIdentifier(e.id,r);else{if(!s&&t)throw this.raise(A.MissingClassName,this.state.startLoc);e.id=null}}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,t){const s=this.parseMaybeImportPhase(e,!0),r=this.maybeParseExportDefaultSpecifier(e,s),n=!r||this.eat(12),i=n&&this.eatExportStar(e),o=i&&this.maybeParseExportNamespaceSpecifier(e),a=n&&(!o||this.eat(12)),c=r||i;if(i&&!o){if(r&&this.unexpected(),t)throw this.raise(A.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.sawUnambiguousESM=!0,this.finishNode(e,"ExportAllDeclaration")}const l=this.maybeParseExportNamedSpecifiers(e);let h;if(r&&n&&!i&&!l&&this.unexpected(null,5),o&&a&&this.unexpected(null,98),c||l){if(h=!1,t)throw this.raise(A.UnsupportedDecoratorExport,e);this.parseExportFrom(e,c)}else h=this.maybeParseExportDeclaration(e);if(c||l||h){var p;const s=e;if(this.checkExport(s,!0,!1,!!s.source),"ClassDeclaration"===(null==(p=s.declaration)?void 0:p.type))this.maybeTakeDecorators(t,s.declaration,s);else if(t)throw this.raise(A.UnsupportedDecoratorExport,e);return this.sawUnambiguousESM=!0,this.finishNode(s,"ExportNamedDeclaration")}if(this.eat(65)){const s=e,r=this.parseExportDefaultExpression();if(s.declaration=r,"ClassDeclaration"===r.type)this.maybeTakeDecorators(t,r,s);else if(t)throw this.raise(A.UnsupportedDecoratorExport,e);return this.checkExport(s,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(s,"ExportDefaultDeclaration")}throw this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e,t){if(t||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",null==t?void 0:t.loc.start);const s=t||this.parseIdentifier(!0),r=this.startNodeAtNode(s);return r.exported=s,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){var t;null!=(t=e).specifiers||(t.specifiers=[]);const s=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),s.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(s,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){const t=e;t.specifiers||(t.specifiers=[]);const s="type"===t.exportKind;return t.specifiers.push(...this.parseExportSpecifiers(s)),t.source=null,this.hasPlugin("importAssertions")?t.assertions=[]:t.attributes=[],t.declaration=null,!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")?e.assertions=[]:e.attributes=[],e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;const e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(A.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(A.UnsupportedDefaultExport,this.state.startLoc);const t=this.parseMaybeAssignAllowIn();return this.semicolon(),t}parseExportDeclaration(e){if(this.match(80)){return this.parseClass(this.startNode(),!0,!1)}return this.parseStatementListItem()}isExportDefaultSpecifier(){const{type:e}=this.state;if(G(e)){if(95===e&&!this.state.containsEsc||100===e)return!1;if((130===e||129===e)&&!this.state.containsEsc){const e=this.nextTokenStart(),t=this.input.charCodeAt(e);if(123===t||this.chStartsBindingIdentifier(t,e)&&!this.input.startsWith("from",e))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;const t=this.nextTokenStart(),s=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||G(this.state.type)&&s)return!0;if(this.match(65)&&s){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):t&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;return 26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(!0===this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(A.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()||this.isAwaitUsing()?(this.raise(A.UsingDeclarationExport,this.state.startLoc),!0):74===e||75===e||68===e||80===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,s,r){var n;if(t)if(s){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!==4||null!=(i=t.extra)&&i.parenthesized||this.raise(A.ExportDefaultFromAsIdentifier,t)}}else if(null!=(n=e.specifiers)&&n.length)for(const o of e.specifiers){const{exported:e}=o,t="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(o,t),!r&&o.local){const{local:e}=o;"Identifier"!==e.type?this.raise(A.ExportBindingIsString,o,{localName:e.value,exportName:t}):(this.checkReservedWord(e.name,e.loc.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration){const t=e.declaration;if("FunctionDeclaration"===t.type||"ClassDeclaration"===t.type){const{id:s}=t;if(!s)throw new Error("Assertion failure");this.checkDuplicateExports(e,s.name)}else if("VariableDeclaration"===t.type)for(const e of t.declarations)this.checkDeclaration(e.id)}}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(const t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(const t of e.elements)t&&this.checkDeclaration(t);else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"AssignmentPattern"===e.type&&this.checkDeclaration(e.left)}checkDuplicateExports(e,t){this.exportedIdentifiers.has(t)&&("default"===t?this.raise(A.DuplicateDefaultExport,e):this.raise(A.DuplicateExport,e,{exportName:t})),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let s=!0;for(this.expect(5);!this.eat(8);){if(s)s=!1;else if(this.expect(12),this.eat(8))break;const r=this.isContextual(130),n=this.match(134),i=this.startNode();i.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(i,n,e,r))}return t}parseExportSpecifier(e,t,s,r){return this.eatContextual(93)?e.exported=this.parseModuleExportName():t?e.exported=this.cloneStringLiteral(e.local):e.exported||(e.exported=this.cloneIdentifier(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){const e=this.parseStringLiteral(this.state.value),t=Mt.exec(e.value);return t&&this.raise(A.ModuleExportNameHasLoneSurrogate,e,{surrogateCharCode:t[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return null!=e.assertions&&e.assertions.some(({key:e,value:t})=>"json"===t.value&&("Identifier"===e.type?"type"===e.name:"type"===e.value))}checkImportReflection(e){const{specifiers:t}=e,s=1===t.length?t[0].type:null;if("source"===e.phase)"ImportDefaultSpecifier"!==s&&this.raise(A.SourcePhaseImportRequiresDefault,t[0].loc.start);else if("defer"===e.phase)"ImportNamespaceSpecifier"!==s&&this.raise(A.DeferImportRequiresNamespace,t[0].loc.start);else if(e.module){var r;"ImportDefaultSpecifier"!==s&&this.raise(A.ImportReflectionNotBinding,t[0].loc.start),(null==(r=e.assertions)?void 0:r.length)>0&&this.raise(A.ImportReflectionHasAssertion,t[0].loc.start)}}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&"ExportAllDeclaration"!==e.type){const{specifiers:t}=e;if(null!=t){const e=t.find(e=>{let t;if("ExportSpecifier"===e.type?t=e.local:"ImportSpecifier"===e.type&&(t=e.imported),void 0!==t)return"Identifier"===t.type?"default"!==t.name:"default"!==t.value});void 0!==e&&this.raise(A.ImportJSONBindingNotDefault,e.loc.start)}}}isPotentialImportPhase(e){return!e&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(e,t,s,r){t||("module"===s?(this.expectPlugin("importReflection",r),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1),"source"===s?(this.expectPlugin("sourcePhaseImports",r),e.phase="source"):"defer"===s?(this.expectPlugin("deferredImportEvaluation",r),e.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(e.phase=null))}parseMaybeImportPhase(e,t){if(!this.isPotentialImportPhase(t))return this.applyImportPhase(e,t,null),null;const s=this.startNode(),r=this.parseIdentifierName(!0),{type:n}=this.state;return(Q(n)?98!==n||102===this.lookaheadCharCode():12!==n)?(this.applyImportPhase(e,t,r,s.loc.start),null):(this.applyImportPhase(e,t,null),this.createIdentifier(s,r))}isPrecedingIdImportPhase(e){const{type:t}=this.state;return G(t)?98!==t||102===this.lookaheadCharCode():12!==t}parseImport(e){return this.match(134)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))}parseImportSpecifiersAndAfter(e,t){e.specifiers=[];const s=!this.maybeParseDefaultImportSpecifier(e,t)||this.eat(12),r=s&&this.maybeParseStarImportSpecifier(e);return s&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)}parseImportSourceAndAttributes(e){return null!=e.specifiers||(e.specifiers=[]),e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(e,t,s){t.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(t,s))}finishImportSpecifier(e,t,s=8201){return this.checkLVal(e.local,{type:t},s),this.finishNode(e,t)}parseImportAttributes(){this.expect(5);const e=[],t=new Set;do{if(this.match(8))break;const s=this.startNode(),r=this.state.value;if(t.has(r)&&this.raise(A.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:r}),t.add(r),this.match(134)?s.key=this.parseStringLiteral(r):s.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(A.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return this.expect(8),e}parseModuleAttributes(){const e=[],t=new Set;do{const s=this.startNode();if(s.key=this.parseIdentifier(!0),"type"!==s.key.name&&this.raise(A.ModuleAttributeDifferentFromType,s.key),t.has(s.key.name)&&this.raise(A.ModuleAttributesWithDuplicateKeys,s.key,{key:s.key.name}),t.add(s.key.name),this.expect(14),!this.match(134))throw this.raise(A.ModuleAttributeInvalidValue,this.state.startLoc);s.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(s,"ImportAttribute"))}while(this.eat(12));return e}maybeParseImportAttributes(e){let t;var s=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&40===this.lookaheadCharCode())return;this.next(),this.hasPlugin("moduleAttributes")?(t=this.parseModuleAttributes(),this.addExtra(e,"deprecatedWithLegacySyntax",!0)):t=this.parseImportAttributes(),s=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(this.hasPlugin("deprecatedImportAssert")||this.hasPlugin("importAssertions")||this.raise(A.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(e,"deprecatedAssertSyntax",!0),this.next(),t=this.parseImportAttributes()):t=[];!s&&this.hasPlugin("importAssertions")?e.assertions=t:e.attributes=t}maybeParseDefaultImportSpecifier(e,t){if(t){const s=this.startNodeAtNode(t);return s.local=t,e.specifiers.push(this.finishImportSpecifier(s,"ImportDefaultSpecifier")),!0}return!!Q(this.state.type)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(55)){const t=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(A.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}const s=this.startNode(),r=this.match(134),n=this.isContextual(130);s.imported=this.parseModuleExportName();const i=this.parseImportSpecifier(s,r,"type"===e.importKind||"typeof"===e.importKind,n,void 0);e.specifiers.push(i)}}parseImportSpecifier(e,t,s,r,n){if(this.eatContextual(93))e.local=this.parseIdentifier();else{const{imported:s}=e;if(t)throw this.raise(A.ImportBindingIsString,e,{importName:s.value});this.checkReservedWord(s.name,e.loc.start,!0,!0),e.local||(e.local=this.cloneIdentifier(s))}return this.finishImportSpecifier(e,"ImportSpecifier",n)}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}class Ft extends Rt{constructor(e,t,s){const r=function(e){const t={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};if(null==e)return t;if(null!=e.annexB&&!1!==e.annexB)throw new Error("The `annexB` option can only be set to `false`.");for(const s of Object.keys(t))null!=e[s]&&(t[s]=e[s]);if(1===t.startLine)null==e.startIndex&&t.startColumn>0?t.startIndex=t.startColumn:null==e.startColumn&&t.startIndex>0&&(t.startColumn=t.startIndex);else if((null==e.startColumn||null==e.startIndex)&&null!=e.startIndex)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if("commonjs"===t.sourceType){if(null!=e.allowAwaitOutsideFunction)throw new Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(null!=e.allowReturnOutsideFunction)throw new Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(null!=e.allowNewTargetOutsideFunction)throw new Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return t}(e);super(r,t),this.options=r,this.initializeScopes(),this.plugins=s,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 ye}parse(){this.enterInitialScopes();const e=this.startNode(),t=this.startNode();this.nextToken(),e.errors=null;const s=this.parseTopLevel(e,t);return s.errors=this.state.errors,s.comments.length=this.state.commentsLen,s}}const Ut=function(e){const t={};for(const s of Object.keys(e))t[s]=Z(e[s]);return t}(j);function jt(e,t){let s=Ft;const r=new Map;if(null!=e&&e.plugins){for(const t of e.plugins){let e,s;"string"==typeof t?e=t:[e,s]=t,r.has(e)||r.set(e,s||{})}!function(e){if(e.has("decorators")){if(e.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=e.get("decorators").decoratorsBeforeExport;if(null!=t&&"boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");const s=e.get("decorators").allowCallParenthesized;if(null!=s&&"boolean"!=typeof s)throw new Error("'allowCallParenthesized' must be a boolean.")}if(e.has("flow")&&e.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(e.has("placeholders")&&e.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(e.has("pipelineOperator")){var t;const r=e.get("pipelineOperator").proposal;if(!Pt.includes(r)){const e=Pt.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}if("hack"===r){var s;if(e.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(e.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const t=e.get("pipelineOperator").topicToken;if(!Nt.includes(t)){const e=Nt.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if("#"===t&&"hash"===(null==(s=e.get("recordAndTuple"))?void 0:s.syntaxType))throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",e.get("recordAndTuple")])}\`.`)}else if("smart"===r&&"hash"===(null==(t=e.get("recordAndTuple"))?void 0:t.syntaxType))throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",e.get("recordAndTuple")])}\`.`)}if(e.has("moduleAttributes")){if(e.has("deprecatedImportAssert")||e.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if("may-2020"!==e.get("moduleAttributes").version)throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(e.has("importAssertions")&&e.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(e.has("deprecatedImportAssert")||e.has("importAttributes")&&e.get("importAttributes").deprecatedAssertSyntax&&e.set("deprecatedImportAssert",{}),e.has("recordAndTuple")){const t=e.get("recordAndTuple").syntaxType;if(null!=t){const e=["hash","bar"];if(!e.includes(t))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+e.map(e=>`'${e}'`).join(", "))}}if(e.has("asyncDoExpressions")&&!e.has("doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}if(e.has("optionalChainingAssign")&&"2023-07"!==e.get("optionalChainingAssign").version)throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");if(e.has("discardBinding")&&"void"!==e.get("discardBinding").syntaxType)throw new Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.")}(r),s=function(e){const t=[];for(const n of Ot)e.has(n)&&t.push(n);const s=t.join("|");let r=Gt.get(s);if(!r){r=Ft;for(const e of t)r=kt[e](r);Gt.set(s,r)}return r}(r)}return new s(e,t,r)}const Gt=new Map;return Zs.parse=function(e,t){var s;if("unambiguous"!==(null==(s=t)?void 0:s.sourceType))return jt(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const s=jt(t,e),n=s.parse();if(s.sawUnambiguousESM)return n;if(s.ambiguousScriptDifferentAst)try{return t.sourceType="script",jt(t,e).parse()}catch(r){}else n.program.sourceType="script";return n}catch(n){try{return t.sourceType="script",jt(t,e).parse()}catch(i){}throw n}},Zs.parseExpression=function(e,t){const s=jt(t,e);return s.options.strictMode&&(s.state.strict=!0),s.getExpression()},Zs.tokTypes=Ut,Zs}var zs=qs();class er{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,s,r){e&&(null!==s?e[t][s]=r:e[t]=r)}remove(e,t,s){e&&(null!==s?e[t].splice(s,1):delete e[t])}}class tr extends er{constructor(e,t){super(),this.enter=e,this.leave=t}visit(e,t,s,r){if(e){if(this.enter){const n=this.should_skip,i=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,s,r),this.replacement&&(e=this.replacement,this.replace(t,s,r,e)),this.should_remove&&this.remove(t,s,r);const a=this.should_skip,c=this.should_remove;if(this.should_skip=n,this.should_remove=i,this.replacement=o,a)return e;if(c)return null}for(const t in e){const s=e[t];if("object"==typeof s)if(Array.isArray(s))for(let r=0;r<s.length;r+=1)null!==s[r]&&"string"==typeof s[r].type&&(this.visit(s[r],e,t,r)||r--);else null!==s&&"string"==typeof s.type&&this.visit(s,e,t,null)}if(this.leave){const n=this.replacement,i=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,s,r),this.replacement&&(e=this.replacement,this.replace(t,s,r,e)),this.should_remove&&this.remove(t,s,r);const o=this.should_remove;if(this.replacement=n,this.should_remove=i,o)return null}}return e}}function sr(e,{enter:t,leave:s}){return new tr(t,s).visit(e,null)}function rr(e,t,s=!1,r=[],n=Object.create(null)){const i="Program"===e.type?"ExpressionStatement"===e.body[0].type&&e.body[0].expression:e;sr(e,{enter(e,i){if(i&&r.push(i),i&&i.type.startsWith("TS")&&!yr.includes(i.type))return this.skip();if("Identifier"===e.type){const o=!!n[e.name],a=nr(e,i,r);(s||a&&!o)&&t(e,i,r,a,o)}else if("ObjectProperty"===e.type&&"ObjectPattern"===(null==i?void 0:i.type))e.inPattern=!0;else if(mr(e))e.scopeIds?e.scopeIds.forEach(e=>dr(e,n)):ar(e,t=>fr(e,t,n));else if("BlockStatement"===e.type)e.scopeIds?e.scopeIds.forEach(e=>dr(e,n)):cr(e,t=>fr(e,t,n));else if("SwitchStatement"===e.type)e.scopeIds?e.scopeIds.forEach(e=>dr(e,n)):pr(e,!1,t=>fr(e,t,n));else if("CatchClause"===e.type&&e.param)if(e.scopeIds)e.scopeIds.forEach(e=>dr(e,n));else for(const t of ur(e.param))fr(e,t,n);else lr(e)&&(e.scopeIds?e.scopeIds.forEach(e=>dr(e,n)):hr(e,!1,t=>fr(e,t,n)))},leave(e,t){if(t&&r.pop(),e!==i&&e.scopeIds)for(const s of e.scopeIds)n[s]--,0===n[s]&&delete n[s]}})}function nr(e,t,s){if(!t)return!0;if("arguments"===e.name)return!1;if(function(e,t,s){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":case"LabeledStatement":case"CatchClause":case"RestElement":case"BreakStatement":case"ContinueStatement":case"FunctionDeclaration":case"FunctionExpression":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e&&!!t.computed;case"ObjectProperty":return t.key===e?!!t.computed:!s||"ObjectPattern"!==s.type;case"ClassProperty":case"TSPropertySignature":return t.key!==e||!!t.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"ExportSpecifier":return!(null==s?void 0:s.source)&&t.local===e;case"TSEnumMember":return t.id!==e}return!0}(e,t,s[s.length-2]))return!0;switch(t.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectProperty":return t.key!==e&&ir(t,s);case"ArrayPattern":return ir(t,s)}return!1}function ir(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const s=t[e];if("AssignmentExpression"===s.type)return!0;if("ObjectProperty"!==s.type&&!s.type.endsWith("Pattern"))break}}return!1}function or(e){let t=e.length;for(;t--;){const s=e[t];if("NewExpression"===s.type)return!0;if("MemberExpression"!==s.type)break}return!1}function ar(e,t){for(const s of e.params)for(const e of ur(s))t(e)}function cr(e,t){const s="SwitchCase"===e.type?e.consequent:e.body;for(const r of s)if("VariableDeclaration"===r.type){if(r.declare)continue;for(const e of r.declarations)for(const s of ur(e.id))t(s)}else if("FunctionDeclaration"===r.type||"ClassDeclaration"===r.type){if(r.declare||!r.id)continue;t(r.id)}else lr(r)?hr(r,!0,t):"SwitchStatement"===r.type&&pr(r,!0,t)}function lr(e){return"ForOfStatement"===e.type||"ForInStatement"===e.type||"ForStatement"===e.type}function hr(e,t,s){const r="ForStatement"===e.type?e.init:e.left;if(r&&"VariableDeclaration"===r.type&&("var"===r.kind?t:!t))for(const n of r.declarations)for(const e of ur(n.id))s(e)}function pr(e,t,s){for(const r of e.cases){for(const e of r.consequent)if("VariableDeclaration"===e.type&&("var"===e.kind?t:!t))for(const t of e.declarations)for(const e of ur(t.id))s(e);cr(r,s)}}function ur(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let s=e;for(;"MemberExpression"===s.type;)s=s.object;t.push(s);break;case"ObjectPattern":for(const r of e.properties)"RestElement"===r.type?ur(r.argument,t):ur(r.value,t);break;case"ArrayPattern":e.elements.forEach(e=>{e&&ur(e,t)});break;case"RestElement":ur(e.argument,t);break;case"AssignmentPattern":ur(e.left,t)}return t}function dr(e,t){e in t?t[e]++:t[e]=1}function fr(e,t,s){const{name:r}=t;e.scopeIds&&e.scopeIds.has(r)||(dr(r,s),(e.scopeIds||(e.scopeIds=new Set)).add(r))}const mr=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Ar=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,gr=(e,t)=>Ar(t)&&t.key===e;const yr=["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"];function xr(e){return yr.includes(e.type)?xr(e.expression):e}const br=e=>4===e.type&&e.isStatic;function Sr(e){switch(e){case"Teleport":case"teleport":return ae;case"Suspense":case"suspense":return ce;case"KeepAlive":case"keep-alive":return le;case"BaseTransition":case"base-transition":return he}}const Er=/^$|^\d|[^\$\w\xA0-\uFFFF]/,vr=e=>!Er.test(e),wr=/[A-Za-z_$\xA0-\uFFFF]/,Cr=/[\.\?\w$\xA0-\uFFFF]/,Ir=/\s+[.[]\s*|\s*[.[]\s+/g,Tr=e=>4===e.type?e.content:e.loc.source,Pr=(e,t)=>{try{let s=e.ast||zs.parseExpression(Tr(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return s=xr(s),"MemberExpression"===s.type||"OptionalMemberExpression"===s.type||"Identifier"===s.type&&"undefined"!==s.name}catch(s){return!1}},Nr=Pr,kr=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,Or=(e,t)=>{try{let s=e.ast||zs.parseExpression(Tr(e),{plugins:t.expressionPlugins?[...t.expressionPlugins,"typescript"]:["typescript"]});return"Program"===s.type&&(s=s.body[0],"ExpressionStatement"===s.type&&(s=s.expression)),s=xr(s),"FunctionExpression"===s.type||"ArrowFunctionExpression"===s.type}catch(s){return!1}},_r=Or;function Dr(e,t,s=t.length){return Lr({offset:e.offset,line:e.line,column:e.column},t,s)}function Lr(e,t,s=t.length){let r=0,n=-1;for(let i=0;i<s;i++)10===t.charCodeAt(i)&&(r++,n=i);return e.offset+=s,e.line+=r,e.column=-1===n?e.column+s:s-n,e}function Mr(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Br(e,t,s=!1){for(let r=0;r<e.props.length;r++){const n=e.props[r];if(7===n.type&&(s||n.exp)&&(d(t)?n.name===t:t.test(n.name)))return n}}function Rr(e,t,s=!1,r=!1){for(let n=0;n<e.props.length;n++){const i=e.props[n];if(6===i.type){if(s)continue;if(i.name===t&&(i.value||r))return i}else if("bind"===i.name&&(i.exp||r)&&Fr(i.arg,t))return i}}function Fr(e,t){return!(!e||!br(e)||e.content!==t)}function Ur(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function jr(e){return 5===e.type||2===e.type}function Gr(e){return 7===e.type&&"pre"===e.name}function Qr(e){return 7===e.type&&"slot"===e.name}function Wr(e){return 1===e.type&&3===e.tagType}function Kr(e){return 1===e.type&&2===e.tagType}const Vr=new Set([Oe,_e]);function Yr(e,t=[]){if(e&&!d(e)&&14===e.type){const s=e.callee;if(!d(s)&&Vr.has(s))return Yr(e.arguments[0],t.concat(e))}return[e,t]}function Jr(e,t,s){let r,n,i=13===e.type?e.props:e.arguments[2],o=[];if(i&&!d(i)&&14===i.type){const e=Yr(i);i=e[0],o=e[1],n=o[o.length-1]}if(null==i||d(i))r=Ze([t]);else if(14===i.type){const e=i.arguments[0];d(e)||15!==e.type?i.callee===De?r=st(s.helper(Pe),[Ze([t]),i]):i.arguments.unshift(Ze([t])):Hr(t,e)||e.properties.unshift(t),!r&&(r=i)}else 15===i.type?(Hr(t,i)||i.properties.unshift(t),r=i):(r=st(s.helper(Pe),[Ze([t]),i]),n&&n.callee===_e&&(n=o[o.length-2]));13===e.type?n?n.arguments[0]=r:e.props=r:n?n.arguments[0]=r:e.arguments[2]=r}function Hr(e,t){let s=!1;if(4===e.key.type){const r=e.key.content;s=t.properties.some(e=>4===e.key.type&&e.key.content===r)}return s}function $r(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,s)=>"-"===t?"_":e.charCodeAt(s).toString())}`}function Xr(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let s=0;s<e.props.length;s++){const r=e.props[s];if(7===r.type&&(Xr(r.arg,t)||Xr(r.exp,t)))return!0}return e.children.some(e=>Xr(e,t));case 11:return!!Xr(e.source,t)||e.children.some(e=>Xr(e,t));case 9:return e.branches.some(e=>Xr(e,t));case 10:return!!Xr(e.condition,t)||e.children.some(e=>Xr(e,t));case 4:return!e.isStatic&&vr(e.content)&&!!t[e.content];case 8:return e.children.some(e=>m(e)&&Xr(e,t));case 5:case 12:return Xr(e.content,t);default:return!1}}function Zr(e){return 14===e.type&&e.callee===We?e.arguments[1].returns:e}const qr=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function zr(e){for(let t=0;t<e.length;t++)if(!Rs(e.charCodeAt(t)))return!1;return!0}function en(e){return 2===e.type&&zr(e.content)||12===e.type&&en(e.content)}function tn(e){return 3===e.type||en(e)}const sn={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:o,isPreTag:o,isIgnoreNewlineTag:o,isCustomElement:o,onError:Ks,onWarn:Vs,comments:!0,prefixIdentifiers:!1};let rn=sn,nn=null,on="",an=null,cn=null,ln="",hn=-1,pn=-1,un=0,dn=!1,fn=null;const mn=[],An=new class{constructor(e,t){this.stack=e,this.cbs=t,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=Ls,this.delimiterClose=Ms,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0,this.entityDecoder=new ks(ys,(e,t)=>this.emitCodePoint(e,t))}get inSFCRoot(){return 2===this.mode&&0===this.stack.length}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=Ls,this.delimiterClose=Ms}getPos(e){let t=1,s=e+1;const r=this.newlines.length;let n=-1;if(r>100){let t=-1,s=r;for(;t+1<s;){const r=t+s>>>1;this.newlines[r]<e?t=r:s=r}n=t}else for(let i=r-1;i>=0;i--)if(e>this.newlines[i]){n=i;break}return n>=0&&(t=n+2,s=e-this.newlines[n]),{column:s,line:t,offset:e}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(e){60===e?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):38===e?this.startEntity():this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e))}stateInterpolationOpen(e){if(e===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const 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(e)):(this.state=1,this.stateText(e))}stateInterpolation(e){e===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(e))}stateInterpolationClose(e){e===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(e))}stateSpecialStartSequence(e){const t=this.sequenceIndex===this.currentSequence.length;if(t?Fs(e):(32|e)===this.currentSequence[this.sequenceIndex]){if(!t)return void this.sequenceIndex++}else this.inRCDATA=!1;this.sequenceIndex=0,this.state=6,this.stateInTagName(e)}stateInRCDATA(e){if(this.sequenceIndex===this.currentSequence.length){if(62===e||Rs(e)){const t=this.index-this.currentSequence.length;if(this.sectionStart<t){const e=this.index;this.index=t,this.cbs.ontext(this.sectionStart,t),this.index=e}return this.sectionStart=t+2,this.stateInClosingTagName(e),void(this.inRCDATA=!1)}this.sequenceIndex=0}(32|e)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:0===this.sequenceIndex?this.currentSequence===js.TitleEnd||this.currentSequence===js.TextareaEnd&&!this.inSFCRoot?38===e?this.startEntity():this.inVPre||e!==this.delimiterOpen[0]||(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(e)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=Number(60===e)}stateCDATASequence(e){e===js.Cdata[this.sequenceIndex]?++this.sequenceIndex===js.Cdata.length&&(this.state=28,this.currentSequence=js.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(e))}fastForwardTo(e){for(;++this.index<this.buffer.length;){const t=this.buffer.charCodeAt(this.index);if(10===t&&this.newlines.push(this.index),t===e)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===js.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):0===this.sequenceIndex?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(e,t){this.enterRCDATA(e,t),this.state=31}enterRCDATA(e,t){this.inRCDATA=!0,this.currentSequence=e,this.sequenceIndex=t}stateBeforeTagName(e){33===e?(this.state=22,this.sectionStart=this.index+1):63===e?(this.state=24,this.sectionStart=this.index+1):Bs(e)?(this.sectionStart=this.index,0===this.mode?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:this.state=116===e?30:115===e?29:6):47===e?this.state=8:(this.state=1,this.stateText(e))}stateInTagName(e){Fs(e)&&this.handleTagName(e)}stateInSFCRootTagName(e){if(Fs(e)){const t=this.buffer.slice(this.sectionStart,this.index);"template"!==t&&this.enterRCDATA(Us("</"+t),0),this.handleTagName(e)}}handleTagName(e){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)}stateBeforeClosingTagName(e){Rs(e)||(62===e?(this.cbs.onerr(14,this.index),this.state=1,this.sectionStart=this.index+1):(this.state=Bs(e)?9:27,this.sectionStart=this.index))}stateInClosingTagName(e){(62===e||Rs(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(e))}stateAfterClosingTagName(e){62===e&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(e){62===e?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):47===e?(this.state=7,62!==this.peek()&&this.cbs.onerr(22,this.index)):60===e&&47===this.peek()?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):Rs(e)||(61===e&&this.cbs.onerr(19,this.index),this.handleAttrStart(e))}handleAttrStart(e){118===e&&45===this.peek()?(this.state=13,this.sectionStart=this.index):46===e||58===e||64===e||35===e?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(e){62===e?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):Rs(e)||(this.state=11,this.stateBeforeAttrName(e))}stateInAttrName(e){61===e||Fs(e)?(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):34!==e&&39!==e&&60!==e||this.cbs.onerr(17,this.index)}stateInDirName(e){61===e||Fs(e)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(e)):58===e?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):46===e&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(e){61===e||Fs(e)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(e)):91===e?this.state=15:46===e&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(e){93===e?this.state=14:(61===e||Fs(e))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(e),this.cbs.onerr(27,this.index))}stateInDirModifier(e){61===e||Fs(e)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(e)):46===e&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(e){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(e)}stateAfterAttrName(e){61===e?this.state=18:47===e||62===e?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(e)):Rs(e)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(e))}stateBeforeAttrValue(e){34===e?(this.state=19,this.sectionStart=this.index+1):39===e?(this.state=20,this.sectionStart=this.index+1):Rs(e)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(e))}handleInAttrValue(e,t){e===t?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(34===t?3:2,this.index+1),this.state=11):38===e&&this.startEntity()}stateInAttrValueDoubleQuotes(e){this.handleInAttrValue(e,34)}stateInAttrValueSingleQuotes(e){this.handleInAttrValue(e,39)}stateInAttrValueNoQuotes(e){Rs(e)||62===e?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(e)):34===e||39===e||60===e||61===e||96===e?this.cbs.onerr(18,this.index):38===e&&this.startEntity()}stateBeforeDeclaration(e){91===e?(this.state=26,this.sequenceIndex=0):this.state=45===e?25:23}stateInDeclaration(e){(62===e||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(e){(62===e||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(e){45===e?(this.state=28,this.currentSequence=js.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(e){(62===e||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(e){e===js.ScriptEnd[3]?this.startSpecial(js.ScriptEnd,4):e===js.StyleEnd[3]?this.startSpecial(js.StyleEnd,4):(this.state=6,this.stateInTagName(e))}stateBeforeSpecialT(e){e===js.TitleEnd[3]?this.startSpecial(js.TitleEnd,4):e===js.TextareaEnd[3]?this.startSpecial(js.TextareaEnd,4):(this.state=6,this.stateInTagName(e))}startEntity(){this.baseState=this.state,this.state=33,this.entityStart=this.index,this.entityDecoder.startEntity(1===this.baseState||32===this.baseState?Ps.Legacy:Ps.Attribute)}stateInEntity(){{const e=this.entityDecoder.write(this.buffer,this.index);e>=0?(this.state=this.baseState,0===e&&(this.index=this.entityStart)):this.index=this.buffer.length-1}}parse(e){for(this.buffer=e;this.index<this.buffer.length;){const e=this.buffer.charCodeAt(this.index);switch(10===e&&33!==this.state&&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()}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(1===this.state||32===this.state&&0===this.sequenceIndex?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):19!==this.state&&20!==this.state&&21!==this.state||(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){33===this.state&&(this.entityDecoder.end(),this.state=this.baseState),this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const e=this.buffer.length;this.sectionStart>=e||(28===this.state?this.currentSequence===js.CdataEnd?this.cbs.oncdata(this.sectionStart,e):this.cbs.oncomment(this.sectionStart,e):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.state||this.cbs.ontext(this.sectionStart,e))}emitCodePoint(e,t){1!==this.baseState&&32!==this.baseState?(this.sectionStart<this.entityStart&&this.cbs.onattribdata(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.onattribentity(gt(e),this.entityStart,this.sectionStart)):(this.sectionStart<this.entityStart&&this.cbs.ontext(this.sectionStart,this.entityStart),this.sectionStart=this.entityStart+t,this.index=this.sectionStart-1,this.cbs.ontextentity(gt(e),this.entityStart,this.sectionStart))}}(mn,{onerr:Ln,ontext(e,t){Sn(xn(e,t),e,t)},ontextentity(e,t,s){Sn(e,t,s)},oninterpolation(e,t){if(dn)return Sn(xn(e,t),e,t);let s=e+An.delimiterOpen.length,r=t-An.delimiterClose.length;for(;Rs(on.charCodeAt(s));)s++;for(;Rs(on.charCodeAt(r-1));)r--;let n=xn(s,r);n.includes("&")&&(n=function(e,t=Ps.Legacy){return Ds(e,t)}(n)),Nn({type:5,content:Dn(n,!1,kn(s,r)),loc:kn(e,t)})},onopentagname(e,t){const s=xn(e,t);an={type:1,tag:s,ns:rn.getNamespace(s,mn[0],rn.ns),tagType:0,props:[],children:[],loc:kn(e-1,t),codegenNode:void 0}},onopentagend(e){bn(e)},onclosetag(e,t){const s=xn(e,t);if(!rn.isVoidTag(s)){let r=!1;for(let e=0;e<mn.length;e++){if(mn[e].tag.toLowerCase()===s.toLowerCase()){r=!0,e>0&&Ln(24,mn[0].loc.start.offset);for(let s=0;s<=e;s++){En(mn.shift(),t,s<e)}break}}r||Ln(23,vn(e,60))}},onselfclosingtag(e){const t=an.tag;an.isSelfClosing=!0,bn(e),mn[0]&&mn[0].tag===t&&En(mn.shift(),e)},onattribname(e,t){cn={type:6,name:xn(e,t),nameLoc:kn(e,t),value:void 0,loc:kn(e)}},ondirname(e,t){const s=xn(e,t),r="."===s||":"===s?"bind":"@"===s?"on":"#"===s?"slot":s.slice(2);if(dn||""!==r||Ln(26,e),dn||""===r)cn={type:6,name:s,nameLoc:kn(e,t),value:void 0,loc:kn(e)};else if(cn={type:7,name:r,rawName:s,exp:void 0,arg:void 0,modifiers:"."===s?[ze("prop")]:[],loc:kn(e)},"pre"===r){dn=An.inVPre=!0,fn=an;const e=an.props;for(let t=0;t<e.length;t++)7===e[t].type&&(e[t]=_n(e[t]))}},ondirarg(e,t){if(e===t)return;const s=xn(e,t);if(dn&&!Gr(cn))cn.name+=s,On(cn.nameLoc,t);else{const r="["!==s[0];cn.arg=Dn(r?s:s.slice(1,-1),r,kn(e,t),r?3:0)}},ondirmodifier(e,t){const s=xn(e,t);if(dn&&!Gr(cn))cn.name+="."+s,On(cn.nameLoc,t);else if("slot"===cn.name){const e=cn.arg;e&&(e.content+="."+s,On(e.loc,t))}else{const r=ze(s,!0,kn(e,t));cn.modifiers.push(r)}},onattribdata(e,t){ln+=xn(e,t),hn<0&&(hn=e),pn=t},onattribentity(e,t,s){ln+=e,hn<0&&(hn=t),pn=s},onattribnameend(e){const t=cn.loc.start.offset,s=xn(t,e);7===cn.type&&(cn.rawName=s),an.props.some(e=>(7===e.type?e.rawName:e.name)===s)&&Ln(2,t)},onattribend(e,t){if(an&&cn){if(On(cn.loc,t),0!==e)if(6===cn.type)"class"===cn.name&&(ln=Pn(ln).trim()),1!==e||ln||Ln(13,t),cn.value={type:2,content:ln,loc:1===e?kn(hn,pn):kn(hn-1,pn+1)},An.inSFCRoot&&"template"===an.tag&&"lang"===cn.name&&ln&&"html"!==ln&&An.enterRCDATA(Us("</template"),0);else{let e=0;"for"===cn.name?e=3:"slot"===cn.name?e=1:"on"===cn.name&&ln.includes(";")&&(e=2),cn.exp=Dn(ln,!1,kn(hn,pn),0,e),"for"===cn.name&&(cn.forParseResult=function(e){const t=e.loc,s=e.content,r=s.match(qr);if(!r)return;const[,n,i]=r,o=(e,s,r=!1)=>{const n=t.start.offset+s;return Dn(e,!1,kn(n,n+e.length),0,r?1:0)},a={source:o(i.trim(),s.indexOf(i,n.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let c=n.trim().replace(yn,"").trim();const l=n.indexOf(c),h=c.match(gn);if(h){c=c.replace(gn,"").trim();const e=h[1].trim();let t;if(e&&(t=s.indexOf(e,l+c.length),a.key=o(e,t,!0)),h[2]){const r=h[2].trim();r&&(a.index=o(r,s.indexOf(r,a.key?t+e.length:l+c.length),!0))}}c&&(a.value=o(c,l,!0));return a}(cn.exp))}7===cn.type&&"pre"===cn.name||an.props.push(cn)}ln="",hn=pn=-1},oncomment(e,t){rn.comments&&Nn({type:3,content:xn(e,t),loc:kn(e-4,t+3)})},onend(){const e=on.length;if(1!==An.state)switch(An.state){case 5:case 8:Ln(5,e);break;case 3:case 4:Ln(25,An.sectionStart);break;case 28:An.currentSequence===js.CdataEnd?Ln(6,e):Ln(7,e);break;case 6:case 7:case 9:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:case 21:Ln(9,e)}for(let t=0;t<mn.length;t++)En(mn[t],e-1),Ln(24,mn[t].loc.start.offset)},oncdata(e,t){0!==mn[0].ns?Sn(xn(e,t),e,t):Ln(1,e-9)},onprocessinginstruction(e){0===(mn[0]?mn[0].ns:rn.ns)&&Ln(21,e-1)}}),gn=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,yn=/^\(|\)$/g;function xn(e,t){return on.slice(e,t)}function bn(e){An.inSFCRoot&&(an.innerLoc=kn(e+1,e+1)),Nn(an);const{tag:t,ns:s}=an;0===s&&rn.isPreTag(t)&&un++,rn.isVoidTag(t)?En(an,e):(mn.unshift(an),1!==s&&2!==s||(An.inXML=!0)),an=null}function Sn(e,t,s){const r=mn[0]||nn,n=r.children[r.children.length-1];n&&2===n.type?(n.content+=e,On(n.loc,s)):r.children.push({type:2,content:e,loc:kn(t,s)})}function En(e,t,s=!1){On(e.loc,s?vn(t,60):function(e,t){let s=e;for(;on.charCodeAt(s)!==t&&s<on.length-1;)s++;return s}(t,62)+1),An.inSFCRoot&&(e.children.length?e.innerLoc.end=c({},e.children[e.children.length-1].loc.end):e.innerLoc.end=c({},e.innerLoc.start),e.innerLoc.source=xn(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:r,ns:n,children:i}=e;if(dn||("slot"===r?e.tagType=2:!function({tag:e,props:t}){if("template"===e)for(let s=0;s<t.length;s++)if(7===t[s].type&&wn.has(t[s].name))return!0;return!1}(e)?function({tag:e,props:t}){if(rn.isCustomElement(e))return!1;if("component"===e||(s=e.charCodeAt(0),s>64&&s<91)||Sr(e)||rn.isBuiltInComponent&&rn.isBuiltInComponent(e)||rn.isNativeTag&&!rn.isNativeTag(e))return!0;var s;for(let r=0;r<t.length;r++){const e=t[r];if(6===e.type&&"is"===e.name&&e.value&&e.value.content.startsWith("vue:"))return!0}return!1}(e)&&(e.tagType=1):e.tagType=3),An.inRCDATA||(e.children=In(i)),0===n&&rn.isIgnoreNewlineTag(r)){const e=i[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}0===n&&rn.isPreTag(r)&&un--,fn===e&&(dn=An.inVPre=!1,fn=null),An.inXML&&0===(mn[0]?mn[0].ns:rn.ns)&&(An.inXML=!1)}function vn(e,t){let s=e;for(;on.charCodeAt(s)!==t&&s>=0;)s--;return s}const wn=new Set(["if","else","else-if","for","slot"]);const Cn=/\r\n/g;function In(e){const t="preserve"!==rn.whitespace;let s=!1;for(let r=0;r<e.length;r++){const n=e[r];if(2===n.type)if(un)n.content=n.content.replace(Cn,"\n");else if(zr(n.content)){const i=e[r-1]&&e[r-1].type,o=e[r+1]&&e[r+1].type;!i||!o||t&&(3===i&&(3===o||1===o)||1===i&&(3===o||1===o&&Tn(n.content)))?(s=!0,e[r]=null):n.content=" "}else t&&(n.content=Pn(n.content))}return s?e.filter(Boolean):e}function Tn(e){for(let t=0;t<e.length;t++){const s=e.charCodeAt(t);if(10===s||13===s)return!0}return!1}function Pn(e){let t="",s=!1;for(let r=0;r<e.length;r++)Rs(e.charCodeAt(r))?s||(t+=" ",s=!0):(t+=e[r],s=!1);return t}function Nn(e){(mn[0]||nn).children.push(e)}function kn(e,t){return{start:An.getPos(e),end:null==t?t:An.getPos(t),source:null==t?t:xn(e,t)}}function On(e,t){e.end=An.getPos(t),e.source=xn(e.start.offset,t)}function _n(e){const t={type:6,name:e.rawName,nameLoc:kn(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const s=e.exp.loc;s.end.offset<e.loc.end.offset&&(s.start.offset--,s.start.column--,s.end.offset++,s.end.column++),t.value={type:2,content:e.exp.content,loc:s}}return t}function Dn(e,t=!1,s,r=0,n=0){const i=ze(e,t,s,r);if(!t&&rn.prefixIdentifiers&&3!==n&&e.trim()){if(vr(e))return i.ast=null,i;try{const t=rn.expressionPlugins,s={plugins:t?[...t,"typescript"]:["typescript"]};i.ast=2===n?zs.parse(` ${e} `,s).program:1===n?zs.parseExpression(`(${e})=>{}`,s):zs.parseExpression(`(${e})`,s)}catch(o){i.ast=!1,Ln(46,s.start.offset,o.message)}}return i}function Ln(e,t,s){rn.onError(Ys(e,kn(t,t),void 0,s))}function Mn(e,t){if(An.reset(),an=null,cn=null,ln="",hn=-1,pn=-1,mn.length=0,on=e,rn=c({},sn),t){let e;for(e in t)null!=t[e]&&(rn[e]=t[e])}rn.decodeEntities&&console.warn("[@vue/compiler-core] decodeEntities option is passed but will be ignored in non-browser builds."),An.mode="html"===rn.parseMode?1:"sfc"===rn.parseMode?2:0,An.inXML=1===rn.ns||2===rn.ns;const s=t&&t.delimiters;s&&(An.delimiterOpen=Us(s[0]),An.delimiterClose=Us(s[1]));const r=nn=He([],e);return An.parse(on),r.loc=kn(0,e.length),r.children=In(r.children),nn=null,r}function Bn(e,t){Fn(e,void 0,t,!!Rn(e))}function Rn(e){const t=e.children.filter(e=>3!==e.type);return 1!==t.length||1!==t[0].type||Kr(t[0])?null:t[0]}function Fn(e,t,s,r=!1,n=!1){const{children:i}=e,o=[];for(let h=0;h<i.length;h++){const t=i[h];if(1===t.type&&0===t.tagType){const e=r?0:Un(t,s);if(e>0){if(e>=2){t.codegenNode.patchFlag=-1,o.push(t);continue}}else{const e=t.codegenNode;if(13===e.type){const r=e.patchFlag;if((void 0===r||512===r||1===r)&&Qn(t,s)>=2){const r=Wn(t);r&&(e.props=s.hoist(r))}e.dynamicProps&&(e.dynamicProps=s.hoist(e.dynamicProps))}}}else if(12===t.type){if((r?0:Un(t,s))>=2){14===t.codegenNode.type&&t.codegenNode.arguments.length>0&&t.codegenNode.arguments.push(`-1 /* ${k[-1]} */`),o.push(t);continue}}if(1===t.type){const r=1===t.tagType;r&&s.scopes.vSlot++,Fn(t,e,s,!1,n),r&&s.scopes.vSlot--}else if(11===t.type)Fn(t,e,s,1===t.children.length,!0);else if(9===t.type)for(let r=0;r<t.branches.length;r++)Fn(t.branches[r],e,s,1===t.branches[r].children.length,n)}let a=!1;if(o.length===i.length&&1===e.type)if(0===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&p(e.codegenNode.children))e.codegenNode.children=c(Xe(e.codegenNode.children)),a=!0;else if(1===e.tagType&&e.codegenNode&&13===e.codegenNode.type&&e.codegenNode.children&&!p(e.codegenNode.children)&&15===e.codegenNode.children.type){const t=l(e.codegenNode,"default");t&&(t.returns=c(Xe(t.returns)),a=!0)}else if(3===e.tagType&&t&&1===t.type&&1===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&t.codegenNode.children&&!p(t.codegenNode.children)&&15===t.codegenNode.children.type){const s=Br(e,"slot",!0),r=s&&s.arg&&l(t.codegenNode,s.arg);r&&(r.returns=c(Xe(r.returns)),a=!0)}if(!a)for(const h of o)h.codegenNode=s.cache(h.codegenNode);function c(e){const t=s.cache(e);return t.needArraySpread=!0,t}function l(e,t){if(e.children&&!p(e.children)&&15===e.children.type){const s=e.children.properties.find(e=>e.key===t||e.key.content===t);return s&&s.value}}o.length&&s.transformHoist&&s.transformHoist(i,s,e)}function Un(e,t){const{constantCache:s}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const r=s.get(e);if(void 0!==r)return r;const n=e.codegenNode;if(13!==n.type)return 0;if(n.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag&&"math"!==e.tag)return 0;if(void 0===n.patchFlag){let r=3;const i=Qn(e,t);if(0===i)return s.set(e,0),0;i<r&&(r=i);for(let n=0;n<e.children.length;n++){const i=Un(e.children[n],t);if(0===i)return s.set(e,0),0;i<r&&(r=i)}if(r>1)for(let n=0;n<e.props.length;n++){const i=e.props[n];if(7===i.type&&"bind"===i.name&&i.exp){const n=Un(i.exp,t);if(0===n)return s.set(e,0),0;n<r&&(r=n)}}if(n.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return s.set(e,0),0}t.removeHelper(pe),t.removeHelper(dt(t.inSSR,n.isComponent)),n.isBlock=!1,t.helper(ut(t.inSSR,n.isComponent))}return s.set(e,r),r}return s.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:default:return 0;case 5:case 12:return Un(e.content,t);case 4:return e.constType;case 8:let i=3;for(let s=0;s<e.children.length;s++){const r=e.children[s];if(d(r)||f(r))continue;const n=Un(r,t);if(0===n)return 0;n<i&&(i=n)}return i;case 20:return 2}}const jn=new Set([Ne,ke,Oe,_e]);function Gn(e,t){if(14===e.type&&!d(e.callee)&&jn.has(e.callee)){const s=e.arguments[0];if(4===s.type)return Un(s,t);if(14===s.type)return Gn(s,t)}return 0}function Qn(e,t){let s=3;const r=Wn(e);if(r&&15===r.type){const{properties:e}=r;for(let r=0;r<e.length;r++){const{key:n,value:i}=e[r],o=Un(n,t);if(0===o)return o;let a;if(o<s&&(s=o),a=4===i.type?Un(i,t):14===i.type?Gn(i,t):0,0===a)return a;a<s&&(s=a)}}return s}function Wn(e){const t=e.codegenNode;if(13===t.type)return t.props}function Kn(e,{filename:t="",prefixIdentifiers:s=!1,hoistStatic:r=!1,hmr:o=!1,cacheHandlers:a=!1,nodeTransforms:c=[],directiveTransforms:l={},transformHoist:h=null,isBuiltInComponent:p=i,isCustomElement:u=i,expressionPlugins:f=[],scopeId:m=null,slotted:A=!0,ssr:g=!1,inSSR:y=!1,ssrCssVars:x="",bindingMetadata:b=n,inline:S=!1,isTS:E=!1,onError:w=Ks,onWarn:C=Vs,compatConfig:T}){const P=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),N={filename:t,selfName:P&&I(v(P[1])),prefixIdentifiers:s,hoistStatic:r,hmr:o,cacheHandlers:a,nodeTransforms:c,directiveTransforms:l,transformHoist:h,isBuiltInComponent:p,isCustomElement:u,expressionPlugins:f,scopeId:m,slotted:A,ssr:g,inSSR:y,ssrCssVars:x,bindingMetadata:b,inline:S,isTS:E,onError:w,onWarn:C,compatConfig:T,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=N.helpers.get(e)||0;return N.helpers.set(e,t+1),e},removeHelper(e){const t=N.helpers.get(e);if(t){const s=t-1;s?N.helpers.set(e,s):N.helpers.delete(e)}},helperString:e=>`_${Ve[N.helper(e)]}`,replaceNode(e){if(!N.currentNode)throw new Error("Node being replaced is already removed.");if(!N.parent)throw new Error("Cannot replace root node.");N.parent.children[N.childIndex]=N.currentNode=e},removeNode(e){if(!N.parent)throw new Error("Cannot remove root node.");const t=N.parent.children,s=e?t.indexOf(e):N.currentNode?N.childIndex:-1;if(s<0)throw new Error("node being removed is not a child of current parent");e&&e!==N.currentNode?N.childIndex>s&&(N.childIndex--,N.onNodeRemoved()):(N.currentNode=null,N.onNodeRemoved()),N.parent.children.splice(s,1)},onNodeRemoved:i,addIdentifiers(e){d(e)?k(e):e.identifiers?e.identifiers.forEach(k):4===e.type&&k(e.content)},removeIdentifiers(e){d(e)?O(e):e.identifiers?e.identifiers.forEach(O):4===e.type&&O(e.content)},hoist(e){d(e)&&(e=ze(e)),N.hoists.push(e);const t=ze(`_hoisted_${N.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache(e,t=!1,s=!1){const r=it(N.cached.length,e,t,s);return N.cached.push(r),r}};function k(e){const{identifiers:t}=N;void 0===t[e]&&(t[e]=0),t[e]++}function O(e){N.identifiers[e]--}return N}function Vn(e,t){const s=Kn(e,t);Yn(e,s),t.hoistStatic&&Bn(e,s),t.ssr||function(e,t){const{helper:s}=t,{children:r}=e;if(1===r.length){const s=Rn(e);if(s&&s.codegenNode){const r=s.codegenNode;13===r.type&&ft(r,t),e.codegenNode=r}else e.codegenNode=r[0]}else if(r.length>1){let n=64;1===r.filter(e=>3!==e.type).length&&(n|=2048),e.codegenNode=$e(t,s(oe),void 0,e.children,n,void 0,void 0,!0,void 0,!1)}}(e,s),e.helpers=new Set([...s.helpers.keys()]),e.components=[...s.components],e.directives=[...s.directives],e.imports=s.imports,e.hoists=s.hoists,e.temps=s.temps,e.cached=s.cached,e.transformed=!0}function Yn(e,t){t.currentNode=e;const{nodeTransforms:s}=t,r=[];for(let i=0;i<s.length;i++){const n=s[i](e,t);if(n&&(p(n)?r.push(...n):r.push(n)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(Ae);break;case 5:t.ssr||t.helper(Te);break;case 9:for(let s=0;s<e.branches.length;s++)Yn(e.branches[s],t);break;case 10:case 11:case 1:case 0:!function(e,t){let s=0;const r=()=>{s--};for(;s<e.children.length;s++){const n=e.children[s];d(n)||(t.grandParent=t.parent,t.parent=e,t.childIndex=s,t.onNodeRemoved=r,Yn(n,t))}}(e,t)}t.currentNode=e;let n=r.length;for(;n--;)r[n]()}function Jn(e,t){const s=d(e)?t=>t===e:t=>e.test(t);return(e,r)=>{if(1===e.type){const{props:n}=e;if(3===e.tagType&&n.some(Qr))return;const i=[];for(let o=0;o<n.length;o++){const a=n[o];if(7===a.type&&s(a.name)){n.splice(o,1),o--;const s=t(e,a,r);s&&i.push(s)}}return i}}}var Hn,$n,Xn={},Zn={},qn={},zn={};function ei(){if(Hn)return zn;Hn=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return zn.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},zn.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1},zn}function ti(){if($n)return qn;$n=1;var e=ei();return qn.encode=function(t){var s,r="",n=function(e){return e<0?1+(-e<<1):0+(e<<1)}(t);do{s=31&n,(n>>>=5)>0&&(s|=32),r+=e.encode(s)}while(n>0);return r},qn.decode=function(t,s,r){var n,i,o,a,c=t.length,l=0,h=0;do{if(s>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=e.decode(t.charCodeAt(s++))))throw new Error("Invalid base64 digit: "+t.charAt(s-1));n=!!(32&i),l+=(i&=31)<<h,h+=5}while(n);r.value=(a=(o=l)>>1,1&~o?a:-a),r.rest=s},qn}var si,ri={};function ni(){return si||(si=1,function(e){e.getArg=function(e,t,s){if(t in e)return e[t];if(3===arguments.length)return s;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function r(e){var s=e.match(t);return s?{scheme:s[1],auth:s[2],host:s[3],port:s[4],path:s[5]}:null}function n(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}e.urlParse=r,e.urlGenerate=n;var i,o,a=(i=function(t){var s=t,i=r(t);if(i){if(!i.path)return t;s=i.path}for(var o=e.isAbsolute(s),a=[],c=0,l=0;;){if(c=l,-1===(l=s.indexOf("/",c))){a.push(s.slice(c));break}for(a.push(s.slice(c,l));l<s.length&&"/"===s[l];)l++}var h,p=0;for(l=a.length-1;l>=0;l--)"."===(h=a[l])?a.splice(l,1):".."===h?p++:p>0&&(""===h?(a.splice(l+1,p),p=0):(a.splice(l,2),p--));return""===(s=a.join("/"))&&(s=o?"/":"."),i?(i.path=s,n(i)):s},o=[],function(e){for(var t=0;t<o.length;t++)if(o[t].input===e){var s=o[0];return o[0]=o[t],o[t]=s,o[0].result}var r=i(e);return o.unshift({input:e,result:r}),o.length>32&&o.pop(),r});function c(e,t){""===e&&(e="."),""===t&&(t=".");var i=r(t),o=r(e);if(o&&(e=o.path||"/"),i&&!i.scheme)return o&&(i.scheme=o.scheme),n(i);if(i||t.match(s))return t;if(o&&!o.host&&!o.path)return o.host=t,n(o);var c="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=c,n(o)):c}e.normalize=a,e.join=c,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var s=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++s}return Array(s+1).join("../")+t.substr(e.length+1)};var l=!("__proto__"in Object.create(null));function h(e){return e}function p(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var s=t-10;s>=0;s--)if(36!==e.charCodeAt(s))return!1;return!0}function u(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=l?h:function(e){return p(e)?"$"+e:e},e.fromSetString=l?h:function(e){return p(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,s){var r=u(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||s||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:u(e.name,t.name)},e.compareByOriginalPositionsNoSource=function(e,t,s){var r;return 0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||s||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:u(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,s){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||s||0!==(r=u(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:u(e.name,t.name)},e.compareByGeneratedPositionsDeflatedNoLine=function(e,t,s){var r=e.generatedColumn-t.generatedColumn;return 0!==r||s||0!==(r=u(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:u(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var s=e.generatedLine-t.generatedLine;return 0!==s||0!==(s=e.generatedColumn-t.generatedColumn)||0!==(s=u(e.source,t.source))||0!==(s=e.originalLine-t.originalLine)||0!==(s=e.originalColumn-t.originalColumn)?s:u(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,s){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),s){var i=r(s);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var o=i.path.lastIndexOf("/");o>=0&&(i.path=i.path.substring(0,o+1))}t=c(n(i),t)}return a(t)}}(ri)),ri}var ii,oi={};function ai(){if(ii)return oi;ii=1;var e=ni(),t=Object.prototype.hasOwnProperty,s="undefined"!=typeof Map;function r(){this._array=[],this._set=s?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var s=new r,n=0,i=e.length;n<i;n++)s.add(e[n],t);return s},r.prototype.size=function(){return s?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,n){var i=s?r:e.toSetString(r),o=s?this.has(r):t.call(this._set,i),a=this._array.length;o&&!n||this._array.push(r),o||(s?this._set.set(r,a):this._set[i]=a)},r.prototype.has=function(r){if(s)return this._set.has(r);var n=e.toSetString(r);return t.call(this._set,n)},r.prototype.indexOf=function(r){if(s){var n=this._set.get(r);if(n>=0)return n}else{var i=e.toSetString(r);if(t.call(this._set,i))return this._set[i]}throw new Error('"'+r+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},oi.ArraySet=r,oi}var ci,li,hi={};function pi(){if(ci)return hi;ci=1;var e=ni();function t(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return t.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},t.prototype.add=function(t){var s,r,n,i,o,a;s=this._last,r=t,n=s.generatedLine,i=r.generatedLine,o=s.generatedColumn,a=r.generatedColumn,i>n||i==n&&a>=o||e.compareByGeneratedPositionsInflated(s,r)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},t.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},hi.MappingList=t,hi}function ui(){if(li)return Zn;li=1;var e=ti(),t=ni(),s=ai().ArraySet,r=pi().MappingList;function n(e){e||(e={}),this._file=t.getArg(e,"file",null),this._sourceRoot=t.getArg(e,"sourceRoot",null),this._skipValidation=t.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=t.getArg(e,"ignoreInvalidMapping",!1),this._sources=new s,this._names=new s,this._mappings=new r,this._sourcesContents=null}return n.prototype._version=3,n.fromSourceMap=function(e,s){var r=e.sourceRoot,i=new n(Object.assign(s||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(e){var s={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(s.source=e.source,null!=r&&(s.source=t.relative(r,s.source)),s.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(s.name=e.name)),i.addMapping(s)}),e.sources.forEach(function(s){var n=s;null!==r&&(n=t.relative(r,s)),i._sources.has(n)||i._sources.add(n);var o=e.sourceContentFor(s);null!=o&&i.setSourceContent(s,o)}),i},n.prototype.addMapping=function(e){var s=t.getArg(e,"generated"),r=t.getArg(e,"original",null),n=t.getArg(e,"source",null),i=t.getArg(e,"name",null);(this._skipValidation||!1!==this._validateMapping(s,r,n,i))&&(null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:s.line,generatedColumn:s.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:i}))},n.prototype.setSourceContent=function(e,s){var r=e;null!=this._sourceRoot&&(r=t.relative(this._sourceRoot,r)),null!=s?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(r)]=s):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(e,r,n){var i=r;if(null==r){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');i=e.file}var o=this._sourceRoot;null!=o&&(i=t.relative(o,i));var a=new s,c=new s;this._mappings.unsortedForEach(function(s){if(s.source===i&&null!=s.originalLine){var r=e.originalPositionFor({line:s.originalLine,column:s.originalColumn});null!=r.source&&(s.source=r.source,null!=n&&(s.source=t.join(n,s.source)),null!=o&&(s.source=t.relative(o,s.source)),s.originalLine=r.line,s.originalColumn=r.column,null!=r.name&&(s.name=r.name))}var l=s.source;null==l||a.has(l)||a.add(l);var h=s.name;null==h||c.has(h)||c.add(h)},this),this._sources=a,this._names=c,e.sources.forEach(function(s){var r=e.sourceContentFor(s);null!=r&&(null!=n&&(s=t.join(n,s)),null!=o&&(s=t.relative(o,s)),this.setSourceContent(s,r))},this)},n.prototype._validateMapping=function(e,t,s,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column){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"undefined"!=typeof console&&console.warn&&console.warn(n),!1;throw new Error(n)}if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||s||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&s)){n="Invalid mapping: "+JSON.stringify({generated:e,source:s,original:t,name:r});if(this._ignoreInvalidMapping)return"undefined"!=typeof console&&console.warn&&console.warn(n),!1;throw new Error(n)}},n.prototype._serializeMappings=function(){for(var s,r,n,i,o=0,a=1,c=0,l=0,h=0,p=0,u="",d=this._mappings.toArray(),f=0,m=d.length;f<m;f++){if(s="",(r=d[f]).generatedLine!==a)for(o=0;r.generatedLine!==a;)s+=";",a++;else if(f>0){if(!t.compareByGeneratedPositionsInflated(r,d[f-1]))continue;s+=","}s+=e.encode(r.generatedColumn-o),o=r.generatedColumn,null!=r.source&&(i=this._sources.indexOf(r.source),s+=e.encode(i-p),p=i,s+=e.encode(r.originalLine-1-l),l=r.originalLine-1,s+=e.encode(r.originalColumn-c),c=r.originalColumn,null!=r.name&&(n=this._names.indexOf(r.name),s+=e.encode(n-h),h=n)),u+=s}return u},n.prototype._generateSourcesContent=function(e,s){return e.map(function(e){if(!this._sourcesContents)return null;null!=s&&(e=t.relative(s,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},n.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},n.prototype.toString=function(){return JSON.stringify(this.toJSON())},Zn.SourceMapGenerator=n,Zn}var di,fi={},mi={};function Ai(){return di||(di=1,function(e){function t(s,r,n,i,o,a){var c=Math.floor((r-s)/2)+s,l=o(n,i[c],!0);return 0===l?c:l>0?r-c>1?t(c,r,n,i,o,a):a==e.LEAST_UPPER_BOUND?r<i.length?r:-1:c:c-s>1?t(s,c,n,i,o,a):a==e.LEAST_UPPER_BOUND?c:s<0?-1:s}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(s,r,n,i){if(0===r.length)return-1;var o=t(-1,r.length,s,r,n,i||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===n(r[o],r[o-1],!0);)--o;return o}}(mi)),mi}var gi,yi,xi={};function bi(){if(gi)return xi;function e(e){function t(e,t,s){var r=e[t];e[t]=e[s],e[s]=r}return function e(s,r,n,i){if(n<i){var o=n-1;t(s,(h=n,p=i,Math.round(h+Math.random()*(p-h))),i);for(var a=s[i],c=n;c<i;c++)r(s[c],a,!1)<=0&&t(s,o+=1,c);t(s,o+1,c);var l=o+1;e(s,r,n,l-1),e(s,r,l+1,i)}var h,p}}gi=1;let t=new WeakMap;return xi.quickSort=function(s,r,n=0){let i=t.get(r);void 0===i&&(i=function(t){let s=e.toString();return new Function(`return ${s}`)()(t)}(r),t.set(r,i)),i(s,r,n,s.length-1)},xi}var Si,Ei,vi={};function wi(){return Ei||(Ei=1,Xn.SourceMapGenerator=ui().SourceMapGenerator,Xn.SourceMapConsumer=function(){if(yi)return fi;yi=1;var e=ni(),t=Ai(),s=ai().ArraySet,r=ti(),n=bi().quickSort;function i(t,s){var r=t;return"string"==typeof t&&(r=e.parseSourceMapInput(t)),null!=r.sections?new h(r,s):new o(r,s)}function o(t,r){var n=t;"string"==typeof t&&(n=e.parseSourceMapInput(t));var i=e.getArg(n,"version"),o=e.getArg(n,"sources"),a=e.getArg(n,"names",[]),c=e.getArg(n,"sourceRoot",null),l=e.getArg(n,"sourcesContent",null),h=e.getArg(n,"mappings"),p=e.getArg(n,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);c&&(c=e.normalize(c)),o=o.map(String).map(e.normalize).map(function(t){return c&&e.isAbsolute(c)&&e.isAbsolute(t)?e.relative(c,t):t}),this._names=s.fromArray(a.map(String),!0),this._sources=s.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(t){return e.computeSourceURL(c,t,r)}),this.sourceRoot=c,this.sourcesContent=l,this._mappings=h,this._sourceMapURL=r,this.file=p}function a(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}i.fromSourceMap=function(e,t){return o.fromSourceMap(e,t)},i.prototype._version=3,i.prototype.__generatedMappings=null,Object.defineProperty(i.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),i.prototype.__originalMappings=null,Object.defineProperty(i.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),i.prototype._charIsMappingSeparator=function(e,t){var s=e.charAt(t);return";"===s||","===s},i.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},i.GENERATED_ORDER=1,i.ORIGINAL_ORDER=2,i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2,i.prototype.eachMapping=function(t,s,r){var n,o=s||null;switch(r||i.GENERATED_ORDER){case i.GENERATED_ORDER:n=this._generatedMappings;break;case i.ORIGINAL_ORDER:n=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var a=this.sourceRoot,c=t.bind(o),l=this._names,h=this._sources,p=this._sourceMapURL,u=0,d=n.length;u<d;u++){var f=n[u],m=null===f.source?null:h.at(f.source);null!==m&&(m=e.computeSourceURL(a,m,p)),c({source:m,generatedLine:f.generatedLine,generatedColumn:f.generatedColumn,originalLine:f.originalLine,originalColumn:f.originalColumn,name:null===f.name?null:l.at(f.name)})}},i.prototype.allGeneratedPositionsFor=function(s){var r=e.getArg(s,"line"),n={source:e.getArg(s,"source"),originalLine:r,originalColumn:e.getArg(s,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(o>=0){var a=this._originalMappings[o];if(void 0===s.column)for(var c=a.originalLine;a&&a.originalLine===c;)i.push({line:e.getArg(a,"generatedLine",null),column:e.getArg(a,"generatedColumn",null),lastColumn:e.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++o];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)i.push({line:e.getArg(a,"generatedLine",null),column:e.getArg(a,"generatedColumn",null),lastColumn:e.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++o]}return i},fi.SourceMapConsumer=i,o.prototype=Object.create(i.prototype),o.prototype.consumer=i,o.prototype._findSourceIndex=function(t){var s,r=t;if(null!=this.sourceRoot&&(r=e.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(s=0;s<this._absoluteSources.length;++s)if(this._absoluteSources[s]==t)return s;return-1},o.fromSourceMap=function(t,r){var i=Object.create(o.prototype),c=i._names=s.fromArray(t._names.toArray(),!0),l=i._sources=s.fromArray(t._sources.toArray(),!0);i.sourceRoot=t._sourceRoot,i.sourcesContent=t._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=t._file,i._sourceMapURL=r,i._absoluteSources=i._sources.toArray().map(function(t){return e.computeSourceURL(i.sourceRoot,t,r)});for(var h=t._mappings.toArray().slice(),p=i.__generatedMappings=[],u=i.__originalMappings=[],d=0,f=h.length;d<f;d++){var m=h[d],A=new a;A.generatedLine=m.generatedLine,A.generatedColumn=m.generatedColumn,m.source&&(A.source=l.indexOf(m.source),A.originalLine=m.originalLine,A.originalColumn=m.originalColumn,m.name&&(A.name=c.indexOf(m.name)),u.push(A)),p.push(A)}return n(i.__originalMappings,e.compareByOriginalPositions),i},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});const c=e.compareByGeneratedPositionsDeflatedNoLine;function l(e,t){let s=e.length,r=e.length-t;if(!(r<=1))if(2==r){let s=e[t],r=e[t+1];c(s,r)>0&&(e[t]=r,e[t+1]=s)}else if(r<20)for(let n=t;n<s;n++)for(let s=n;s>t;s--){let t=e[s-1],r=e[s];if(c(t,r)<=0)break;e[s-1]=r,e[s]=t}else n(e,c,t)}function h(t,r){var n=t;"string"==typeof t&&(n=e.parseSourceMapInput(t));var o=e.getArg(n,"version"),a=e.getArg(n,"sections");if(o!=this._version)throw new Error("Unsupported version: "+o);this._sources=new s,this._names=new s;var c={line:-1,column:0};this._sections=a.map(function(t){if(t.url)throw new Error("Support for url field in sections not implemented.");var s=e.getArg(t,"offset"),n=e.getArg(s,"line"),o=e.getArg(s,"column");if(n<c.line||n===c.line&&o<c.column)throw new Error("Section offsets must be ordered and non-overlapping.");return c=s,{generatedOffset:{generatedLine:n+1,generatedColumn:o+1},consumer:new i(e.getArg(t,"map"),r)}})}return o.prototype._parseMappings=function(t,s){var i,o,c,h,p=1,u=0,d=0,f=0,m=0,A=0,g=t.length,y=0,x={},b=[],S=[];let E=0;for(;y<g;)if(";"===t.charAt(y))p++,y++,u=0,l(S,E),E=S.length;else if(","===t.charAt(y))y++;else{for((i=new a).generatedLine=p,c=y;c<g&&!this._charIsMappingSeparator(t,c);c++);for(t.slice(y,c),o=[];y<c;)r.decode(t,y,x),h=x.value,y=x.rest,o.push(h);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");if(i.generatedColumn=u+o[0],u=i.generatedColumn,o.length>1&&(i.source=m+o[1],m+=o[1],i.originalLine=d+o[2],d=i.originalLine,i.originalLine+=1,i.originalColumn=f+o[3],f=i.originalColumn,o.length>4&&(i.name=A+o[4],A+=o[4])),S.push(i),"number"==typeof i.originalLine){let e=i.source;for(;b.length<=e;)b.push(null);null===b[e]&&(b[e]=[]),b[e].push(i)}}l(S,E),this.__generatedMappings=S;for(var v=0;v<b.length;v++)null!=b[v]&&n(b[v],e.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...b)},o.prototype._findMapping=function(e,s,r,n,i,o){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return t.search(e,s,i,o)},o.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var s=this._generatedMappings[e+1];if(t.generatedLine===s.generatedLine){t.lastGeneratedColumn=s.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(t){var s={generatedLine:e.getArg(t,"line"),generatedColumn:e.getArg(t,"column")},r=this._findMapping(s,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(t,"bias",i.GREATEST_LOWER_BOUND));if(r>=0){var n=this._generatedMappings[r];if(n.generatedLine===s.generatedLine){var o=e.getArg(n,"source",null);null!==o&&(o=this._sources.at(o),o=e.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var a=e.getArg(n,"name",null);return null!==a&&(a=this._names.at(a)),{source:o,line:e.getArg(n,"originalLine",null),column:e.getArg(n,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e})},o.prototype.sourceContentFor=function(t,s){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var n,i=t;if(null!=this.sourceRoot&&(i=e.relative(this.sourceRoot,i)),null!=this.sourceRoot&&(n=e.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!n.path||"/"==n.path)&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(s)return null;throw new Error('"'+i+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(t){var s=e.getArg(t,"source");if((s=this._findSourceIndex(s))<0)return{line:null,column:null,lastColumn:null};var r={source:s,originalLine:e.getArg(t,"line"),originalColumn:e.getArg(t,"column")},n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(t,"bias",i.GREATEST_LOWER_BOUND));if(n>=0){var o=this._originalMappings[n];if(o.source===r.source)return{line:e.getArg(o,"generatedLine",null),column:e.getArg(o,"generatedColumn",null),lastColumn:e.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},fi.BasicSourceMapConsumer=o,h.prototype=Object.create(i.prototype),h.prototype.constructor=i,h.prototype._version=3,Object.defineProperty(h.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var s=0;s<this._sections[t].consumer.sources.length;s++)e.push(this._sections[t].consumer.sources[s]);return e}}),h.prototype.originalPositionFor=function(s){var r={generatedLine:e.getArg(s,"line"),generatedColumn:e.getArg(s,"column")},n=t.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),i=this._sections[n];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:s.bias}):{source:null,line:null,column:null,name:null}},h.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},h.prototype.sourceContentFor=function(e,t){for(var s=0;s<this._sections.length;s++){var r=this._sections[s].consumer.sourceContentFor(e,!0);if(r||""===r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},h.prototype.generatedPositionFor=function(t){for(var s=0;s<this._sections.length;s++){var r=this._sections[s];if(-1!==r.consumer._findSourceIndex(e.getArg(t,"source"))){var n=r.consumer.generatedPositionFor(t);if(n)return{line:n.line+(r.generatedOffset.generatedLine-1),column:n.column+(r.generatedOffset.generatedLine===n.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},h.prototype._parseMappings=function(t,s){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],o=i.consumer._generatedMappings,a=0;a<o.length;a++){var c=o[a],l=i.consumer._sources.at(c.source);null!==l&&(l=e.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL)),this._sources.add(l),l=this._sources.indexOf(l);var h=null;c.name&&(h=i.consumer._names.at(c.name),this._names.add(h),h=this._names.indexOf(h));var p={source:l,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:h};this.__generatedMappings.push(p),"number"==typeof p.originalLine&&this.__originalMappings.push(p)}n(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),n(this.__originalMappings,e.compareByOriginalPositions)},fi.IndexedSourceMapConsumer=h,fi}().SourceMapConsumer,Xn.SourceNode=function(){if(Si)return vi;Si=1;var e=ui().SourceMapGenerator,t=ni(),s=/(\r?\n)/,r="$$$isSourceNode$$$";function n(e,t,s,n,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==s?null:s,this.name=null==i?null:i,this[r]=!0,null!=n&&this.add(n)}return n.fromStringWithSourceMap=function(e,r,i){var o=new n,a=e.split(s),c=0,l=function(){return e()+(e()||"");function e(){return c<a.length?a[c++]:void 0}},h=1,p=0,u=null;return r.eachMapping(function(e){if(null!==u){if(!(h<e.generatedLine)){var t=(s=a[c]||"").substr(0,e.generatedColumn-p);return a[c]=s.substr(e.generatedColumn-p),p=e.generatedColumn,d(u,t),void(u=e)}d(u,l()),h++,p=0}for(;h<e.generatedLine;)o.add(l()),h++;if(p<e.generatedColumn){var s=a[c]||"";o.add(s.substr(0,e.generatedColumn)),a[c]=s.substr(e.generatedColumn),p=e.generatedColumn}u=e},this),c<a.length&&(u&&d(u,l()),o.add(a.splice(c).join(""))),r.sources.forEach(function(e){var s=r.sourceContentFor(e);null!=s&&(null!=i&&(e=t.join(i,e)),o.setSourceContent(e,s))}),o;function d(e,s){if(null===e||void 0===e.source)o.add(s);else{var r=i?t.join(i,e.source):e.source;o.add(new n(e.originalLine,e.originalColumn,r,s,e.name))}}},n.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[r]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},n.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[r]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},n.prototype.walk=function(e){for(var t,s=0,n=this.children.length;s<n;s++)(t=this.children[s])[r]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},n.prototype.join=function(e){var t,s,r=this.children.length;if(r>0){for(t=[],s=0;s<r-1;s++)t.push(this.children[s]),t.push(e);t.push(this.children[s]),this.children=t}return this},n.prototype.replaceRight=function(e,t){var s=this.children[this.children.length-1];return s[r]?s.replaceRight(e,t):"string"==typeof s?this.children[this.children.length-1]=s.replace(e,t):this.children.push("".replace(e,t)),this},n.prototype.setSourceContent=function(e,s){this.sourceContents[t.toSetString(e)]=s},n.prototype.walkSourceContents=function(e){for(var s=0,n=this.children.length;s<n;s++)this.children[s][r]&&this.children[s].walkSourceContents(e);var i=Object.keys(this.sourceContents);for(s=0,n=i.length;s<n;s++)e(t.fromSetString(i[s]),this.sourceContents[i[s]])},n.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},n.prototype.toStringWithSourceMap=function(t){var s={code:"",line:1,column:0},r=new e(t),n=!1,i=null,o=null,a=null,c=null;return this.walk(function(e,t){s.code+=e,null!==t.source&&null!==t.line&&null!==t.column?(i===t.source&&o===t.line&&a===t.column&&c===t.name||r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:s.line,column:s.column},name:t.name}),i=t.source,o=t.line,a=t.column,c=t.name,n=!0):n&&(r.addMapping({generated:{line:s.line,column:s.column}}),i=null,n=!1);for(var l=0,h=e.length;l<h;l++)10===e.charCodeAt(l)?(s.line++,s.column=0,l+1===h?(i=null,n=!1):n&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:s.line,column:s.column},name:t.name})):s.column++}),this.walkSourceContents(function(e,t){r.setSourceContent(e,t)}),{code:s.code,map:r}},vi.SourceNode=n,vi}().SourceNode),Xn}var Ci=wi();const Ii="/*@__PURE__*/",Ti=e=>`${Ve[e]}: _${Ve[e]}`;function Pi(e,{mode:t="function",prefixIdentifiers:s="module"===t,sourceMap:r=!1,filename:n="template.vue.html",scopeId:i=null,optimizeImports:o=!1,runtimeGlobalName:a="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:h=!1,isTS:p=!1,inSSR:u=!1}){const d={mode:t,prefixIdentifiers:s,sourceMap:r,filename:n,scopeId:i,optimizeImports:o,runtimeGlobalName:a,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:h,isTS:p,inSSR:u,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${Ve[e]}`,push(e,t=-2,s){if(d.code+=e,d.map){if(s){let e;if(4===s.type&&!s.isStatic){const t=s.content.replace(/^_ctx\./,"");t!==s.content&&vr(t)&&(e=t)}s.loc.source&&m(s.loc.start,e)}-3===t?Lr(d,e):(d.offset+=e.length,-2===t?d.column+=e.length:(-1===t&&(t=e.length-1),d.line++,d.column=e.length-t)),s&&s.loc!==Je&&s.loc.source&&m(s.loc.end)}},indent(){f(++d.indentLevel)},deindent(e=!1){e?--d.indentLevel:f(--d.indentLevel)},newline(){f(d.indentLevel)}};function f(e){d.push("\n"+" ".repeat(e),0)}function m(e,t=null){const{_names:s,_mappings:r}=d.map;null===t||s.has(t)||s.add(t),r.add({originalLine:e.line,originalColumn:e.column-1,generatedLine:d.line,generatedColumn:d.column-1,source:n,name:t})}return r&&(d.map=new Ci.SourceMapGenerator,d.map.setSourceContent(n,d.source),d.map._sources.add(n)),d}function Ni(e,t={}){const s=Pi(e,t);t.onContextCreated&&t.onContextCreated(s);const{mode:r,push:n,prefixIdentifiers:i,indent:o,deindent:a,newline:c,scopeId:l,ssr:h}=s,p=Array.from(e.helpers),u=p.length>0,d=!i&&"module"!==r,f=!!t.inline,m=f?Pi(e,t):s;"module"===r?function(e,t,s,r){const{push:n,newline:i,optimizeImports:o,runtimeModuleName:a,ssrRuntimeModuleName:c}=t;if(e.helpers.size){const t=Array.from(e.helpers);o?(n(`import { ${t.map(e=>Ve[e]).join(", ")} } from ${JSON.stringify(a)}\n`,-1),n(`\n// Binding optimization for webpack code-split\nconst ${t.map(e=>`_${Ve[e]} = ${Ve[e]}`).join(", ")}\n`,-1)):n(`import { ${t.map(e=>`${Ve[e]} as _${Ve[e]}`).join(", ")} } from ${JSON.stringify(a)}\n`,-1)}e.ssrHelpers&&e.ssrHelpers.length&&n(`import { ${e.ssrHelpers.map(e=>`${Ve[e]} as _${Ve[e]}`).join(", ")} } from "${c}"\n`,-1);e.imports.length&&(!function(e,t){if(!e.length)return;e.forEach(e=>{t.push("import "),Li(e.exp,t),t.push(` from '${e.path}'`),t.newline()})}(e.imports,t),i());Oi(e.hoists,t),i(),r||n("export ")}(e,m,0,f):function(e,t){const{ssr:s,prefixIdentifiers:r,push:n,newline:i,runtimeModuleName:o,runtimeGlobalName:a,ssrRuntimeModuleName:c}=t,l=s?`require(${JSON.stringify(o)})`:a,h=Array.from(e.helpers);if(h.length>0)if(r)n(`const { ${h.map(Ti).join(", ")} } = ${l}\n`,-1);else if(n(`const _Vue = ${l}\n`,-1),e.hoists.length){n(`const { ${[fe,me,Ae,ge,ye].filter(e=>h.includes(e)).map(Ti).join(", ")} } = _Vue\n`,-1)}e.ssrHelpers&&e.ssrHelpers.length&&n(`const { ${e.ssrHelpers.map(Ti).join(", ")} } = require("${c}")\n`,-1);Oi(e.hoists,t),i(),n("return ")}(e,m);const A=h?"ssrRender":"render",g=h?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];t.bindingMetadata&&!t.inline&&g.push("$props","$setup","$data","$options");const y=t.isTS?g.map(e=>`${e}: any`).join(","):g.join(", ");if(n(f?`(${y}) => {`:`function ${A}(${y}) {`),o(),d&&(n("with (_ctx) {"),o(),u&&(n(`const { ${p.map(Ti).join(", ")} } = _Vue\n`,-1),c())),e.components.length&&(ki(e.components,"component",s),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(ki(e.directives,"directive",s),e.temps>0&&c()),e.temps>0){n("let ");for(let t=0;t<e.temps;t++)n(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(n("\n",0),c()),h||n("return "),e.codegenNode?Li(e.codegenNode,s):n("null"),d&&(a(),n("}")),a(),n("}"),{ast:e,code:s.code,preamble:f?m.code:"",map:s.map?s.map.toJSON():void 0}}function ki(e,t,{helper:s,push:r,newline:n,isTS:i}){const o=s("component"===t?xe:Se);for(let a=0;a<e.length;a++){let s=e[a];const c=s.endsWith("__self");c&&(s=s.slice(0,-6)),r(`const ${$r(s,t)} = ${o}(${JSON.stringify(s)}${c?", true":""})${i?"!":""}`),a<e.length-1&&n()}}function Oi(e,t){if(!e.length)return;t.pure=!0;const{push:s,newline:r}=t;r();for(let n=0;n<e.length;n++){const i=e[n];i&&(s(`const _hoisted_${n+1} = `),Li(i,t),r())}t.pure=!1}function _i(e,t){const s=e.length>3||e.some(e=>p(e)||!function(e){return d(e)||4===e.type||2===e.type||5===e.type||8===e.type}(e));t.push("["),s&&t.indent(),Di(e,t,s),s&&t.deindent(),t.push("]")}function Di(e,t,s=!1,r=!0){const{push:n,newline:i}=t;for(let o=0;o<e.length;o++){const a=e[o];d(a)?n(a,-3):p(a)?_i(a,t):Li(a,t),o<e.length-1&&(s?(r&&n(","),i()):r&&n(", "))}}function Li(e,t){if(d(e))t.push(e,-3);else if(f(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:Mr(null!=e.codegenNode,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),Li(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),-3,e)}(e,t);break;case 4:Mi(e,t);break;case 5:!function(e,t){const{push:s,helper:r,pure:n}=t;n&&s(Ii);s(`${r(Te)}(`),Li(e.content,t),s(")")}(e,t);break;case 12:Li(e.codegenNode,t);break;case 8:Bi(e,t);break;case 3:!function(e,t){const{push:s,helper:r,pure:n}=t;n&&s(Ii);s(`${r(Ae)}(${JSON.stringify(e.content)})`,-3,e)}(e,t);break;case 13:!function(e,t){const{push:s,helper:r,pure:n}=t,{tag:i,props:o,children:a,patchFlag:c,dynamicProps:l,directives:h,isBlock:p,disableTracking:u,isComponent:d}=e;let f;if(c)if(c<0)f=c+` /* ${k[c]} */`;else{const e=Object.keys(k).map(Number).filter(e=>e>0&&c&e).map(e=>k[e]).join(", ");f=c+` /* ${e} */`}h&&s(r(ve)+"(");p&&s(`(${r(pe)}(${u?"true":""}), `);n&&s(Ii);const m=p?dt(t.inSSR,d):ut(t.inSSR,d);s(r(m)+"(",-2,e),Di(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([i,o,a,f,l]),t),s(")"),p&&s(")");h&&(s(", "),Li(h,t),s(")"))}(e,t);break;case 14:!function(e,t){const{push:s,helper:r,pure:n}=t,i=d(e.callee)?e.callee:r(e.callee);n&&s(Ii);s(i+"(",-2,e),Di(e.arguments,t),s(")")}(e,t);break;case 15:!function(e,t){const{push:s,indent:r,deindent:n,newline:i}=t,{properties:o}=e;if(!o.length)return void s("{}",-2,e);const a=o.length>1||o.some(e=>4!==e.value.type);s(a?"{":"{ "),a&&r();for(let c=0;c<o.length;c++){const{key:e,value:r}=o[c];Ri(e,t),s(": "),Li(r,t),c<o.length-1&&(s(","),i())}a&&n(),s(a?"}":" }")}(e,t);break;case 17:!function(e,t){_i(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:s,indent:r,deindent:n}=t,{params:i,returns:o,body:a,newline:c,isSlot:l}=e;l&&s(`_${Ve[je]}(`);s("(",-2,e),p(i)?Di(i,t):i&&Li(i,t);s(") => "),(c||a)&&(s("{"),r());o?(c&&s("return "),p(o)?_i(o,t):Li(o,t)):a&&Li(a,t);(c||a)&&(n(),s("}"));l&&s(")")}(e,t);break;case 19:!function(e,t){const{test:s,consequent:r,alternate:n,newline:i}=e,{push:o,indent:a,deindent:c,newline:l}=t;if(4===s.type){const e=!vr(s.content);e&&o("("),Mi(s,t),e&&o(")")}else o("("),Li(s,t),o(")");i&&a(),t.indentLevel++,i||o(" "),o("? "),Li(r,t),t.indentLevel--,i&&l(),i||o(" "),o(": ");const h=19===n.type;h||t.indentLevel++;Li(n,t),h||t.indentLevel--;i&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:s,helper:r,indent:n,deindent:i,newline:o}=t,{needPauseTracking:a,needArraySpread:c}=e;c&&s("[...(");s(`_cache[${e.index}] || (`),a&&(n(),s(`${r(Re)}(-1`),e.inVOnce&&s(", true"),s("),"),o(),s("("));s(`_cache[${e.index}] = `),Li(e.value,t),a&&(s(`).cacheIndex = ${e.index},`),o(),s(`${r(Re)}(1),`),o(),s(`_cache[${e.index}]`),i());s(")"),c&&s(")]")}(e,t);break;case 21:Di(e.body,t,!0,!1);break;case 22:!function(e,t){const{push:s,indent:r,deindent:n}=t;s("`");const i=e.elements.length,o=i>3;for(let a=0;a<i;a++){const i=e.elements[a];d(i)?s(i.replace(/(`|\$|\\)/g,"\\$1"),-3):(s("${"),o&&r(),Li(i,t),o&&n(),s("}"))}s("`")}(e,t);break;case 23:Fi(e,t);break;case 24:!function(e,t){Li(e.left,t),t.push(" = "),Li(e.right,t)}(e,t);break;case 25:!function(e,t){t.push("("),Di(e.expressions,t),t.push(")")}(e,t);break;case 26:!function({returns:e},t){t.push("return "),p(e)?_i(e,t):Li(e,t)}(e,t);break;case 10:break;default:Mr(!1,`unhandled codegen node type: ${e.type}`);return e}}function Mi(e,t){const{content:s,isStatic:r}=e;t.push(r?JSON.stringify(s):s,-3,e)}function Bi(e,t){for(let s=0;s<e.children.length;s++){const r=e.children[s];d(r)?t.push(r,-3):Li(r,t)}}function Ri(e,t){const{push:s}=t;if(8===e.type)s("["),Bi(e,t),s("]");else if(e.isStatic){s(vr(e.content)?e.content:JSON.stringify(e.content),-2,e)}else s(`[${e.content}]`,-3,e)}function Fi(e,t){const{push:s,indent:r,deindent:n}=t,{test:i,consequent:o,alternate:a}=e;s("if ("),Li(i,t),s(") {"),r(),Li(o,t),n(),s("}"),a&&(s(" else "),23===a.type?Fi(a,t):(s("{"),r(),Li(a,t),n(),s("}")))}const Ui=r("true,false,null,this"),ji=(e,t)=>{if(5===e.type)e.content=Gi(e.content,t);else if(1===e.type){const s=Br(e,"memo");for(let r=0;r<e.props.length;r++){const n=e.props[r];if(7===n.type&&"for"!==n.name){const e=n.exp,r=n.arg;!e||4!==e.type||"on"===n.name&&r||s&&r&&4===r.type&&"key"===r.content||(n.exp=Gi(e,t,"slot"===n.name)),r&&4===r.type&&!r.isStatic&&(n.arg=Gi(r,t))}}}};function Gi(e,t,s=!1,r=!1,n=Object.create(t.identifiers)){if(!t.prefixIdentifiers||!e.content.trim())return e;const{inline:i,bindingMetadata:o}=t,a=(e,s,r)=>{const a=h(o,e)&&o[e];if(i){const i=s&&"AssignmentExpression"===s.type&&s.left===r,l=s&&"UpdateExpression"===s.type&&s.argument===r,h=s&&ir(s,u),p=s&&or(u),f=e=>{const s=`${t.helperString(Ge)}(${e})`;return p?`(${s})`:s};if(Wi(a)||"setup-reactive-const"===a||n[e])return e;if("setup-ref"===a)return`${e}.value`;if("setup-maybe-ref"===a)return i||l||h?`${e}.value`:f(e);if("setup-let"===a){if(i){const{right:r,operator:n}=s,i=Qi(Gi(ze(c.slice(r.start-1,r.end-1),!1),t,!1,!1,d));return`${t.helperString(Qe)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${e}.value ${n} ${i} : ${e}`}if(l){r.start=s.start,r.end=s.end;const{prefix:n,operator:i}=s,o=n?i:"",a=n?"":i;return`${t.helperString(Qe)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${o}${e}.value${a} : ${o}${e}${a}`}return h?e:f(e)}if("props"===a)return N(e);if("props-aliased"===a)return N(o.__propsAliases[e])}else{if(a&&a.startsWith("setup")||"literal-const"===a)return`$setup.${e}`;if("props-aliased"===a)return`$props['${o.__propsAliases[e]}']`;if(a)return`$${a}.${e}`}return`_ctx.${e}`},c=e.content;let l=e.ast;if(!1===l)return e;if(null===l||!l&&vr(c)){const r=t.identifiers[c],n=_(c),i=Ui(c);return s||r||i||n&&!o[c]?r||(e.constType=i?3:2):(Wi(o[c])&&(e.constType=1),e.content=a(c)),e}if(!l){const n=r?` ${c} `:`(${c})${s?"=>{}":""}`;try{l=zs.parseExpression(n,{sourceType:"module",plugins:t.expressionPlugins})}catch(A){return t.onError(Ys(46,e.loc,void 0,A.message)),e}}const p=[],u=[],d=Object.create(t.identifiers);rr(l,(e,t,s,r,n)=>{if(gr(e,t))return;const i=r&&function(e){if(_(e.name))return!1;if("require"===e.name)return!1;return!0}(e);i&&!n?(Ar(t)&&t.shorthand&&(e.prefix=`${e.name}: `),e.name=a(e.name,t,e),p.push(e)):(i&&n||t&&("CallExpression"===t.type||"NewExpression"===t.type||"MemberExpression"===t.type)||(e.isConstant=!0),p.push(e))},!0,u,d);const f=[];let m;return p.sort((e,t)=>e.start-t.start),p.forEach((t,s)=>{const r=t.start-1,n=t.end-1,i=p[s-1],o=c.slice(i?i.end-1:0,r);(o.length||t.prefix)&&f.push(o+(t.prefix||""));const a=c.slice(r,n);f.push(ze(t.name,!1,{start:Dr(e.loc.start,a,r),end:Dr(e.loc.start,a,n),source:a},t.isConstant?3:0)),s===p.length-1&&n<c.length&&f.push(c.slice(n))}),f.length?(m=tt(f,e.loc),m.ast=l):(m=e,m.constType=3),m.identifiers=Object.keys(d),m}function Qi(e){return d(e)?e:4===e.type?e.content:e.children.map(Qi).join("")}function Wi(e){return"setup-const"===e||"literal-const"===e}const Ki=Jn(/^(?:if|else|else-if)$/,(e,t,s)=>Vi(e,t,s,(e,t,r)=>{const n=s.parent.children;let i=n.indexOf(e),o=0;for(;i-- >=0;){const e=n[i];e&&9===e.type&&(o+=e.branches.length)}return()=>{if(r)e.codegenNode=Ji(t,o,s);else{const r=function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode);r.alternate=Ji(t,o+e.branches.length-1,s)}}}));function Vi(e,t,s,r){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const r=t.exp?t.exp.loc:e.loc;s.onError(Ys(28,t.loc)),t.exp=ze("true",!1,r)}if(s.prefixIdentifiers&&t.exp&&(t.exp=Gi(t.exp,s)),"if"===t.name){const i=Yi(e,t),o={type:9,loc:(n=e.loc,kn(n.start.offset,n.end.offset)),branches:[i]};if(s.replaceNode(o),r)return r(o,i,!0)}else{const n=s.parent.children,i=[];let o=n.indexOf(e);for(;o-- >=-1;){const a=n[o];if(!a||!tn(a)){if(a&&9===a.type){"else-if"!==t.name&&"else"!==t.name||void 0!==a.branches[a.branches.length-1].condition||s.onError(Ys(30,e.loc)),s.removeNode();const n=Yi(e,t);i.length&&(!s.parent||1!==s.parent.type||"transition"!==s.parent.tag&&"Transition"!==s.parent.tag)&&(n.children=[...i,...n.children]);{const e=n.userKey;e&&a.branches.forEach(({userKey:t})=>{$i(t,e)&&s.onError(Ys(29,n.userKey.loc))})}a.branches.push(n);const o=r&&r(a,n,!1);Yn(n,s),o&&o(),s.currentNode=null}else s.onError(Ys(30,e.loc));break}s.removeNode(a),3===a.type&&i.unshift(a)}}var n}function Yi(e,t){const s=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:s&&!Br(e,"for")?e.children:[e],userKey:Rr(e,"key"),isTemplateIf:s}}function Ji(e,t,s){return e.condition?nt(e.condition,Hi(e,t,s),st(s.helper(Ae),['"v-if"',"true"])):Hi(e,t,s)}function Hi(e,t,s){const{helper:r}=s,n=qe("key",ze(`${t}`,!1,Je,2)),{children:i}=e,o=i[0];if(1!==i.length||1!==o.type){if(1===i.length&&11===o.type){const e=o.codegenNode;return Jr(e,n,s),e}{let t=64;return e.isTemplateIf||1!==i.filter(e=>3!==e.type).length||(t|=2048),$e(s,r(oe),Ze([n]),i,t,void 0,void 0,!0,!1,!1,e.loc)}}{const e=o.codegenNode,t=Zr(e);return 13===t.type&&ft(t,s),Jr(t,n,s),e}}function $i(e,t){if(!e||e.type!==t.type)return!1;if(6===e.type){if(e.value.content!==t.value.content)return!1}else{const s=e.exp,r=t.exp;if(s.type!==r.type)return!1;if(4!==s.type||s.isStatic!==r.isStatic||s.content!==r.content)return!1}return!0}const Xi=Jn("for",(e,t,s)=>{const{helper:r,removeHelper:n}=s;return Zi(e,t,s,t=>{const i=st(r(we),[t.source]),o=Wr(e),a=Br(e,"memo"),c=Rr(e,"key",!1,!0),l=c&&7===c.type;let h=c&&(6===c.type?c.value?ze(c.value.content,!0):void 0:c.exp);a&&h&&l&&(c.exp=h=Gi(h,s));const p=c&&h?qe("key",h):null;o&&(a&&(a.exp=Gi(a.exp,s)),p&&6!==c.type&&(p.value=Gi(p.value,s)));const u=4===t.source.type&&t.source.constType>0,d=u?64:c?128:256;return t.codegenNode=$e(s,r(oe),void 0,i,d,void 0,void 0,!0,!u,!1,e.loc),()=>{let c;const{children:l}=t;o&&e.children.some(e=>{if(1===e.type){const t=Rr(e,"key");if(t)return s.onError(Ys(33,t.loc)),!0}});const d=1!==l.length||1!==l[0].type,f=Kr(e)?e:o&&1===e.children.length&&Kr(e.children[0])?e.children[0]:null;if(f?(c=f.codegenNode,o&&p&&Jr(c,p,s)):d?c=$e(s,r(oe),p?Ze([p]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(c=l[0].codegenNode,o&&p&&Jr(c,p,s),c.isBlock!==!u&&(c.isBlock?(n(pe),n(dt(s.inSSR,c.isComponent))):n(ut(s.inSSR,c.isComponent))),c.isBlock=!u,c.isBlock?(r(pe),r(dt(s.inSSR,c.isComponent))):r(ut(s.inSSR,c.isComponent))),a){const e=rt(zi(t.parseResult,[ze("_cached")]));e.body=ot([tt(["const _memo = (",a.exp,")"]),tt(["if (_cached",...h?[" && _cached.key === ",h]:[],` && ${s.helperString(Ke)}(_cached, _memo)) return _cached`]),tt(["const _item = ",c]),ze("_item.memo = _memo"),ze("return _item")]),i.arguments.push(e,ze("_cache"),ze(String(s.cached.length))),s.cached.push(null)}else i.arguments.push(rt(zi(t.parseResult),c,!0))}})});function Zi(e,t,s,r){if(!t.exp)return void s.onError(Ys(31,t.loc));const n=t.forParseResult;if(!n)return void s.onError(Ys(32,t.loc));qi(n,s);const{addIdentifiers:i,removeIdentifiers:o,scopes:a}=s,{source:c,value:l,key:h,index:p}=n,u={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:h,objectIndexAlias:p,parseResult:n,children:Wr(e)?e.children:[e]};s.replaceNode(u),a.vFor++,s.prefixIdentifiers&&(l&&i(l),h&&i(h),p&&i(p));const d=r&&r(u);return()=>{a.vFor--,s.prefixIdentifiers&&(l&&o(l),h&&o(h),p&&o(p)),d&&d()}}function qi(e,t){e.finalized||(t.prefixIdentifiers&&(e.source=Gi(e.source,t),e.key&&(e.key=Gi(e.key,t,!0)),e.index&&(e.index=Gi(e.index,t,!0)),e.value&&(e.value=Gi(e.value,t,!0))),e.finalized=!0)}function zi({value:e,key:t,index:s},r=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||ze("_".repeat(t+1),!1))}([e,t,s,...r])}const eo=ze("undefined",!1),to=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const s=Br(e,"slot");if(s){const e=s.exp;return t.prefixIdentifiers&&e&&t.addIdentifiers(e),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&e&&t.removeIdentifiers(e),t.scopes.vSlot--}}}},so=(e,t)=>{let s;if(Wr(e)&&e.props.some(Qr)&&(s=Br(e,"for"))){const e=s.forParseResult;if(e){qi(e,t);const{value:s,key:r,index:n}=e,{addIdentifiers:i,removeIdentifiers:o}=t;return s&&i(s),r&&i(r),n&&i(n),()=>{s&&o(s),r&&o(r),n&&o(n)}}}},ro=(e,t,s,r)=>rt(e,s,!1,!0,s.length?s[0].loc:r);function no(e,t,s=ro){t.helper(je);const{children:r,loc:n}=e,i=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(a=e.props.some(e=>Qr(e)&&(Xr(e.arg,t.identifiers)||Xr(e.exp,t.identifiers)))||r.some(e=>Xr(e,t.identifiers)));const c=Br(e,"slot",!0);if(c){const{arg:e,exp:t}=c;e&&!br(e)&&(a=!0),i.push(qe(e||ze("default",!0),s(t,void 0,r,n)))}let l=!1,h=!1;const p=[],u=new Set;let d=0;for(let A=0;A<r.length;A++){const e=r[A];let n;if(!Wr(e)||!(n=Br(e,"slot",!0))){3!==e.type&&p.push(e);continue}if(c){t.onError(Ys(37,n.loc));break}l=!0;const{children:f,loc:m}=e,{arg:g=ze("default",!0),exp:y,loc:x}=n;let b;br(g)?b=g?g.content:"default":a=!0;const S=Br(e,"for"),E=s(y,S,f,m);let v,w;if(v=Br(e,"if"))a=!0,o.push(nt(v.exp,io(g,E,d++),eo));else if(w=Br(e,/^else(?:-if)?$/,!0)){let e,s=A;for(;s--&&(e=r[s],tn(e)););if(e&&Wr(e)&&Br(e,/^(?:else-)?if$/)){let e=o[o.length-1];for(;19===e.alternate.type;)e=e.alternate;e.alternate=w.exp?nt(w.exp,io(g,E,d++),eo):io(g,E,d++)}else t.onError(Ys(30,w.loc))}else if(S){a=!0;const e=S.forParseResult;e?(qi(e,t),o.push(st(t.helper(we),[e.source,rt(zi(e),io(g,E),!0)]))):t.onError(Ys(32,S.loc))}else{if(b){if(u.has(b)){t.onError(Ys(38,x));continue}u.add(b),"default"===b&&(h=!0)}i.push(qe(g,E))}}if(!c){const e=(e,t)=>qe("default",s(e,void 0,t,n));l?p.length&&!p.every(en)&&(h?t.onError(Ys(39,p[0].loc)):i.push(e(void 0,p))):i.push(e(void 0,r))}const f=a?2:oo(e.children)?3:1;let m=Ze(i.concat(qe("_",ze(f+` /* ${O[f]} */`,!1))),n);return o.length&&(m=st(t.helper(Ie),[m,Xe(o)])),{slots:m,hasDynamicSlots:a}}function io(e,t,s){const r=[qe("name",e),qe("fn",t)];return null!=s&&r.push(qe("key",ze(String(s),!0))),Ze(r)}function oo(e){for(let t=0;t<e.length;t++){const s=e[t];switch(s.type){case 1:if(2===s.tagType||oo(s.children))return!0;break;case 9:if(oo(s.branches))return!0;break;case 10:case 11:if(oo(s.children))return!0}}return!1}const ao=new WeakMap,co=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:s,props:r}=e,n=1===e.tagType;let i=n?lo(e,t):`"${s}"`;const o=m(i)&&i.callee===be;let a,c,l,h,p,u=0,d=o||i===ae||i===ce||!n&&("svg"===s||"foreignObject"===s||"math"===s);if(r.length>0){const s=po(e,t,void 0,n,o);a=s.props,u=s.patchFlag,h=s.dynamicPropNames;const r=s.directives;p=r&&r.length?Xe(r.map(e=>mo(e,t))):void 0,s.shouldUseBlock&&(d=!0)}if(e.children.length>0){i===le&&(d=!0,u|=1024,e.children.length>1&&t.onError(Ys(47,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""})));if(n&&i!==ae&&i!==le){const{slots:s,hasDynamicSlots:r}=no(e,t);c=s,r&&(u|=1024)}else if(1===e.children.length&&i!==ae){const s=e.children[0],r=s.type,n=5===r||8===r;n&&0===Un(s,t)&&(u|=1),c=n||2===r?s:e.children}else c=e.children}h&&h.length&&(l=function(e){let t="[";for(let s=0,r=e.length;s<r;s++)t+=JSON.stringify(e[s]),s<r-1&&(t+=", ");return t+"]"}(h)),e.codegenNode=$e(t,i,a,c,0===u?void 0:u,l,p,!!d,!1,n,e.loc)};function lo(e,t,s=!1){let{tag:r}=e;const n=Ao(r),i=Rr(e,"is",!1,!0);if(i)if(n){let e;if(6===i.type?e=i.value&&ze(i.value.content,!0):(e=i.exp,e||(e=ze("is",!1,i.arg.loc),e=i.exp=Gi(e,t))),e)return st(t.helper(be),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(r=i.value.content.slice(4));const o=Sr(r)||t.isBuiltInComponent(r);if(o)return s||t.helper(o),o;{const e=ho(r,t);if(e)return e;const s=r.indexOf(".");if(s>0){const e=ho(r.slice(0,s),t);if(e)return e+r.slice(s)}}return t.selfName&&I(v(r))===t.selfName?(t.helper(xe),t.components.add(r+"__self"),$r(r,"component")):(t.helper(xe),t.components.add(r),$r(r,"component"))}function ho(e,t){const s=t.bindingMetadata;if(!s||!1===s.__isScriptSetup)return;const r=v(e),n=I(r),i=t=>s[e]===t?e:s[r]===t?r:s[n]===t?n:void 0,o=i("setup-const")||i("setup-reactive-const")||i("literal-const");if(o)return t.inline?o:`$setup[${JSON.stringify(o)}]`;const a=i("setup-let")||i("setup-ref")||i("setup-maybe-ref");if(a)return t.inline?`${t.helperString(Ge)}(${a})`:`$setup[${JSON.stringify(a)}]`;const c=i("props");return c?`${t.helperString(Ge)}(${t.inline?"__props":"$props"}[${JSON.stringify(c)}])`:void 0}function po(e,t,s=e.props,r,n,i=!1){const{tag:o,loc:c,children:l}=e;let h=[];const p=[],u=[],d=l.length>0;let m=!1,A=0,g=!1,y=!1,S=!1,E=!1,v=!1,w=!1;const C=[],I=e=>{h.length&&(p.push(Ze(uo(h),c)),h=[]),e&&p.push(e)},T=()=>{t.scopes.vFor>0&&h.push(qe(ze("ref_for",!0),ze("true")))},P=({key:e,value:s})=>{if(br(e)){const i=e.content,o=a(i);if(!o||r&&!n||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||x(i)||(E=!0),o&&x(i)&&(w=!0),o&&14===s.type&&(s=s.arguments[0]),20===s.type||(4===s.type||8===s.type)&&Un(s,t)>0)return;"ref"===i?g=!0:"class"===i?y=!0:"style"===i?S=!0:"key"===i||C.includes(i)||C.push(i),!r||"class"!==i&&"style"!==i||C.includes(i)||C.push(i)}else v=!0};for(let a=0;a<s.length;a++){const n=s[a];if(6===n.type){const{loc:e,name:s,nameLoc:r,value:i}=n;let a=!0;if("ref"===s&&(g=!0,T(),i&&t.inline)){const e=t.bindingMetadata[i.content];"setup-let"!==e&&"setup-ref"!==e&&"setup-maybe-ref"!==e||(a=!1,h.push(qe(ze("ref_key",!0),ze(i.content,!0,i.loc))))}if("is"===s&&(Ao(o)||i&&i.content.startsWith("vue:")))continue;h.push(qe(ze(s,!0,r),ze(i?i.content:"",a,i?i.loc:e)))}else{const{name:s,arg:a,exp:l,loc:g,modifiers:y}=n,x="bind"===s,S="on"===s;if("slot"===s){r||t.onError(Ys(40,g));continue}if("once"===s||"memo"===s)continue;if("is"===s||x&&Fr(a,"is")&&Ao(o))continue;if(S&&i)continue;if((x&&Fr(a,"key")||S&&d&&Fr(a,"vue:before-update"))&&(m=!0),x&&Fr(a,"ref")&&T(),!a&&(x||S)){v=!0,l?x?(T(),I(),p.push(l)):I({type:14,loc:g,callee:t.helper(De),arguments:r?[l]:[l,"true"]}):t.onError(Ys(x?34:35,g));continue}x&&y.some(e=>"prop"===e.content)&&(A|=32);const E=t.directiveTransforms[s];if(E){const{props:s,needRuntime:r}=E(n,e,t);!i&&s.forEach(P),S&&a&&!br(a)?I(Ze(s,c)):h.push(...s),r&&(u.push(n),f(r)&&ao.set(n,r))}else b(s)||(u.push(n),d&&(m=!0))}}let N;if(p.length?(I(),N=p.length>1?st(t.helper(Pe),p,c):p[0]):h.length&&(N=Ze(uo(h),c)),v?A|=16:(y&&!r&&(A|=2),S&&!r&&(A|=4),C.length&&(A|=8),E&&(A|=32)),m||0!==A&&32!==A||!(g||w||u.length>0)||(A|=512),!t.inSSR&&N)switch(N.type){case 15:let e=-1,s=-1,r=!1;for(let t=0;t<N.properties.length;t++){const n=N.properties[t].key;br(n)?"class"===n.content?e=t:"style"===n.content&&(s=t):n.isHandlerKey||(r=!0)}const n=N.properties[e],i=N.properties[s];r?N=st(t.helper(Oe),[N]):(n&&!br(n.value)&&(n.value=st(t.helper(Ne),[n.value])),i&&(S||4===i.value.type&&"["===i.value.content.trim()[0]||17===i.value.type)&&(i.value=st(t.helper(ke),[i.value])));break;case 14:break;default:N=st(t.helper(Oe),[st(t.helper(_e),[N])])}return{props:N,directives:u,patchFlag:A,dynamicPropNames:C,shouldUseBlock:m}}function uo(e){const t=new Map,s=[];for(let r=0;r<e.length;r++){const n=e[r];if(8===n.key.type||!n.key.isStatic){s.push(n);continue}const i=n.key.content,o=t.get(i);o?("style"===i||"class"===i||a(i))&&fo(o,n):(t.set(i,n),s.push(n))}return s}function fo(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Xe([e.value,t.value],e.loc)}function mo(e,t){const s=[],r=ao.get(e);if(r)s.push(t.helperString(r));else{const r=ho("v-"+e.name,t);r?s.push(r):(t.helper(Se),t.directives.add(e.name),s.push($r(e.name,"directive")))}const{loc:n}=e;if(e.exp&&s.push(e.exp),e.arg&&(e.exp||s.push("void 0"),s.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||s.push("void 0"),s.push("void 0"));const t=ze("true",!1,n);s.push(Ze(e.modifiers.map(e=>qe(e,t)),n))}return Xe(s,e.loc)}function Ao(e){return"component"===e||"Component"===e}const go=(e,t)=>{if(Kr(e)){const{children:s,loc:r}=e,{slotName:n,slotProps:i}=yo(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",n,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),s.length&&(o[3]=rt([],s,!1,!1,r),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=st(t.helper(Ce),o,r)}};function yo(e,t){let s,r='"default"';const n=[];for(let i=0;i<e.props.length;i++){const s=e.props[i];if(6===s.type)s.value&&("name"===s.name?r=JSON.stringify(s.value.content):(s.name=v(s.name),n.push(s)));else if("bind"===s.name&&Fr(s.arg,"name")){if(s.exp)r=s.exp;else if(s.arg&&4===s.arg.type){const e=v(s.arg.content);r=s.exp=ze(e,!1,s.arg.loc),r=s.exp=Gi(s.exp,t)}}else"bind"===s.name&&s.arg&&br(s.arg)&&(s.arg.content=v(s.arg.content)),n.push(s)}if(n.length>0){const{props:r,directives:i}=po(e,t,n,!1,!1);s=r,i.length&&t.onError(Ys(36,i[0].loc))}return{slotName:r,slotProps:s}}const xo=(e,t,s,r)=>{const{loc:n,modifiers:i,arg:o}=e;let a;if(e.exp||i.length||s.onError(Ys(35,n)),4===o.type)if(o.isStatic){let e=o.content;e.startsWith("vnode")&&s.onError(Ys(52,o.loc)),e.startsWith("vue:")&&(e=`vnode-${e.slice(4)}`);a=ze(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?T(v(e)):`on:${e}`,!0,o.loc)}else a=tt([`${s.helperString(Be)}(`,o,")"]);else a=o,a.children.unshift(`${s.helperString(Be)}(`),a.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=s.cacheHandlers&&!c&&!s.inVOnce;if(c){const r=Nr(c,s),n=!(r||_r(c,s)),i=c.content.includes(";");s.prefixIdentifiers&&(n&&s.addIdentifiers("$event"),c=e.exp=Gi(c,s,!1,i),n&&s.removeIdentifiers("$event"),l=s.cacheHandlers&&!s.inVOnce&&!(4===c.type&&c.constType>0)&&!(r&&1===t.tagType)&&!Xr(c,s.identifiers),l&&r&&(4===c.type?c.content=`${c.content} && ${c.content}(...args)`:c.children=[...c.children," && ",...c.children,"(...args)"])),(n||l&&r)&&(c=tt([`${n?s.isTS?"($event: any)":"$event":(s.isTS?"\n//@ts-ignore\n":"")+"(...args)"} => ${i?"{":"("}`,c,i?"}":")"]))}let h={props:[qe(a,c||ze("() => {}",!1,n))]};return r&&(h=r(h)),l&&(h.props[0].value=s.cache(h.props[0].value)),h.props.forEach(e=>e.key.isHandlerKey=!0),h},bo=(e,t,s)=>{const{modifiers:r,loc:n}=e,i=e.arg;let{exp:o}=e;return o&&4===o.type&&!o.content.trim()?(s.onError(Ys(34,n)),{props:[qe(i,ze("",!0,n))]}):(4!==i.type?(i.children.unshift("("),i.children.push(') || ""')):i.isStatic||(i.content=i.content?`${i.content} || ""`:'""'),r.some(e=>"camel"===e.content)&&(4===i.type?i.isStatic?i.content=v(i.content):i.content=`${s.helperString(Le)}(${i.content})`:(i.children.unshift(`${s.helperString(Le)}(`),i.children.push(")"))),s.inSSR||(r.some(e=>"prop"===e.content)&&So(i,"."),r.some(e=>"attr"===e.content)&&So(i,"^")),{props:[qe(i,o)]})},So=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Eo=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const s=e.children;let r,n=!1;for(let e=0;e<s.length;e++){const t=s[e];if(jr(t)){n=!0;for(let n=e+1;n<s.length;n++){const i=s[n];if(!jr(i)){r=void 0;break}r||(r=s[e]=tt([t],t.loc)),r.children.push(" + ",i),s.splice(n,1),n--}}}if(n&&(1!==s.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find(e=>7===e.type&&!t.directiveTransforms[e.name]))))for(let e=0;e<s.length;e++){const r=s[e];if(jr(r)||8===r.type){const n=[];2===r.type&&" "===r.content||n.push(r),t.ssr||0!==Un(r,t)||n.push(`1 /* ${k[1]} */`),s[e]={type:12,content:r,loc:r.loc,codegenNode:st(t.helper(ge),n)}}}}},vo=new WeakSet,wo=(e,t)=>{if(1===e.type&&Br(e,"once",!0)){if(vo.has(e)||t.inVOnce||t.inSSR)return;return vo.add(e),t.inVOnce=!0,t.helper(Re),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0,!0))}}},Co=(e,t,s)=>{const{exp:r,arg:n}=e;if(!r)return s.onError(Ys(41,e.loc)),Io();const i=r.loc.source.trim(),o=4===r.type?r.content:i,a=s.bindingMetadata[i];if("props"===a||"props-aliased"===a)return s.onError(Ys(44,r.loc)),Io();if("literal-const"===a||"setup-const"===a)return s.onError(Ys(45,r.loc)),Io();const c=s.inline&&("setup-let"===a||"setup-ref"===a||"setup-maybe-ref"===a);if(!o.trim()||!Nr(r,s)&&!c)return s.onError(Ys(42,r.loc)),Io();if(s.prefixIdentifiers&&vr(o)&&s.identifiers[o])return s.onError(Ys(43,r.loc)),Io();const l=n||ze("modelValue",!0),h=n?br(n)?`onUpdate:${v(n.content)}`:tt(['"onUpdate:" + ',n]):"onUpdate:modelValue";let p;const u=s.isTS?"($event: any)":"$event";if(c)if("setup-ref"===a)p=tt([`${u} => ((`,ze(i,!1,r.loc),").value = $event)"]);else{const e="setup-let"===a?`${i} = $event`:"null";p=tt([`${u} => (${s.helperString(Qe)}(${i}) ? (`,ze(i,!1,r.loc),`).value = $event : ${e})`])}else p=tt([`${u} => ((`,r,") = $event)"]);const d=[qe(l,e.exp),qe(h,p)];if(s.prefixIdentifiers&&!s.inVOnce&&s.cacheHandlers&&!Xr(r,s.identifiers)&&(d[1].value=s.cache(d[1].value)),e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>e.content).map(e=>(vr(e)?e:JSON.stringify(e))+": true").join(", "),s=n?br(n)?`${n.content}Modifiers`:tt([n,' + "Modifiers"']):"modelModifiers";d.push(qe(s,ze(`{ ${t} }`,!1,e.loc,2)))}return Io(d)};function Io(e=[]){return{props:e}}const To=new WeakSet,Po=(e,t)=>{if(1===e.type){const s=Br(e,"memo");if(!s||To.has(e)||t.inSSR)return;return To.add(e),()=>{const r=e.codegenNode||t.currentNode.codegenNode;r&&13===r.type&&(1!==e.tagType&&ft(r,t),e.codegenNode=st(t.helper(We),[s.exp,rt(void 0,r),"_cache",String(t.cached.length)]),t.cached.push(null))}}},No=(e,t)=>{if(1===e.type)for(const s of e.props)if(7===s.type&&"bind"===s.name&&!s.exp&&s.arg){const e=s.arg;if(4===e.type&&e.isStatic){const t=v(e.content);(wr.test(t[0])||"-"===t[0])&&(s.exp=ze(t,!1,e.loc))}else t.onError(Ys(53,e.loc)),s.exp=ze("",!0,e.loc)}};function ko(e){return[[No,wo,Ki,Po,Xi,...e?[so,ji]:[],go,co,to,Eo],{on:xo,bind:bo,model:Co}]}function Oo(e,t={}){const s=t.onError||Ks,r="module"===t.mode,n=!0===t.prefixIdentifiers||r;!n&&t.cacheHandlers&&s(Ys(50)),t.scopeId&&!r&&s(Ys(51));const i=c({},t,{prefixIdentifiers:n}),o=d(e)?Mn(e,i):e,[a,l]=ko(n);if(t.isTS){const{expressionPlugins:e}=t;e&&e.includes("typescript")||(t.expressionPlugins=[...e||[],"typescript"])}return Vn(o,c({},i,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:c({},l,t.directiveTransforms||{})})),Ni(o,i)}const _o=()=>({props:[]}),Do=Symbol("vModelRadio"),Lo=Symbol("vModelCheckbox"),Mo=Symbol("vModelText"),Bo=Symbol("vModelSelect"),Ro=Symbol("vModelDynamic"),Fo=Symbol("vOnModifiersGuard"),Uo=Symbol("vOnKeysGuard"),jo=Symbol("vShow"),Go=Symbol("Transition"),Qo=Symbol("TransitionGroup");Ye({[Do]:"vModelRadio",[Lo]:"vModelCheckbox",[Mo]:"vModelText",[Bo]:"vModelSelect",[Ro]:"vModelDynamic",[Fo]:"withModifiers",[Uo]:"withKeys",[jo]:"vShow",[Go]:"Transition",[Qo]:"TransitionGroup"});const Wo={parseMode:"html",isVoidTag:K,isNativeTag:e=>G(e)||Q(e)||W(e),isPreTag:e=>"pre"===e,isIgnoreNewlineTag:e=>"pre"===e||"textarea"===e,decodeEntities:void 0,isBuiltInComponent:e=>"Transition"===e||"transition"===e?Go:"TransitionGroup"===e||"transition-group"===e?Qo:void 0,getNamespace(e,t,s){let r=t?t.ns:s;if(t&&2===r)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some(e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content))&&(r=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(r=0);else t&&1===r&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(r=0));if(0===r){if("svg"===e)return 1;if("math"===e)return 2}return r}},Ko=e=>{1===e.type&&e.props.forEach((t,s)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[s]={type:7,name:"bind",arg:ze("style",!0,t.loc),exp:Vo(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Vo=(e,t)=>{const s=F(e);return ze(JSON.stringify(s),!1,t,3)};function Yo(e,t){return Ys(e,t,Jo)}const Jo={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."},Ho=r("passive,once,capture"),$o=r("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Xo=r("left,right"),Zo=r("onkeyup,onkeydown,onkeypress"),qo=(e,t)=>br(e)&&"onclick"===e.content.toLowerCase()?ze(t,!0):4!==e.type?tt(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;function zo(e){const t=e.children=e.children.filter(e=>!tn(e)),s=t[0];return 1!==t.length||11===s.type||9===s.type&&s.branches.some(zo)}const ea=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,ta=(e,t,s)=>{if(t.scopes.vSlot>0)return;const r=1===s.type&&s.codegenNode&&13===s.codegenNode.type&&s.codegenNode.children&&!p(s.codegenNode.children)&&20===s.codegenNode.children.type;let n=0,i=0;const o=[],a=s=>{if(n>=20||i>=5){const n=st(t.helper(ye),[JSON.stringify(o.map(e=>aa(e,t)).join("")).replace(ea,'" + $1 + "'),String(o.length)]),i=o.length-1;if(r)e.splice(s-o.length,o.length,n);else if(o[0].codegenNode.value=n,o.length>1){e.splice(s-o.length+1,i);const r=t.cached.indexOf(o[o.length-1].codegenNode);if(r>-1){for(let e=r;e<t.cached.length;e++){const s=t.cached[e];s&&(s.index-=i)}t.cached.splice(r-i+1,i)}}return i}return 0};let c=0;for(;c<e.length;c++){const t=e[c];if(r||sa(t)){const e=oa(t);if(e){n+=e[0],i+=e[1],o.push(t);continue}}c-=a(c),n=0,i=0,o.length=0}a(c)},sa=e=>{if((1===e.type&&0===e.tagType||12===e.type)&&e.codegenNode&&20===e.codegenNode.type)return e.codegenNode},ra=/^(?:data|aria)-/,na=(e,t)=>(0===t?X(e):1===t?Z(e):2===t&&q(e))||ra.test(e),ia=r("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function oa(e){if(1===e.type&&ia(e.tag))return!1;if(1===e.type&&Br(e,"once",!0))return!1;if(12===e.type)return[1,0];let t=1,s=e.props.length>0?1:0,r=!1;const n=()=>(r=!0,!1);return!!function e(i){const o="option"===i.tag&&0===i.ns;for(let t=0;t<i.props.length;t++){const e=i.props[t];if(6===e.type&&!na(e.name,i.ns))return n();if(7===e.type&&"bind"===e.name){if(e.arg&&(8===e.arg.type||e.arg.isStatic&&!na(e.arg.content,i.ns)))return n();if(e.exp&&(8===e.exp.type||e.exp.constType<3))return n();if(o&&Fr(e.arg,"value")&&e.exp&&!e.exp.isStatic)return n()}}for(let n=0;n<i.children.length;n++){t++;const o=i.children[n];if(1===o.type&&(o.props.length>0&&s++,e(o),r))return!1}return!0}(e)&&[t,s]}function aa(e,t){if(d(e))return e;if(f(e))return"";switch(e.type){case 1:return function(e,t){let s=`<${e.tag}`,r="";for(let n=0;n<e.props.length;n++){const t=e.props[n];if(6===t.type)s+=` ${t.name}`,t.value&&(s+=`="${ee(t.value.content)}"`);else if(7===t.type)if("bind"===t.name){const e=t.exp;if("_"===e.content[0]){s+=` ${t.arg.content}="__VUE_EXP_START__${e.content}__VUE_EXP_END__"`;continue}if(V(t.arg.content)&&"false"===e.content)continue;let r=ca(e);if(null!=r){const e=t.arg&&t.arg.content;"class"===e?r=j(r):"style"===e&&(r=U(L(r))),s+=` ${t.arg.content}="${ee(r)}"`}}else"html"===t.name?r=ca(t.exp):"text"===t.name&&(r=ee(re(ca(t.exp))))}t.scopeId&&(s+=` ${t.scopeId}`);if(s+=">",r)s+=r;else for(let n=0;n<e.children.length;n++)s+=aa(e.children[n],t);K(e.tag)||(s+=`</${e.tag}>`);return s}(e,t);case 2:return ee(e.content);case 3:return`\x3c!--${ee(e.content)}--\x3e`;case 5:return ee(re(ca(e.content)));case 8:return ee(ca(e));case 12:return aa(e.content,t);default:return""}}function ca(e){if(4===e.type)return new Function(`return (${e.content})`)();{let t="";return e.children.forEach(e=>{d(e)||f(e)||(2===e.type?t+=e.content:5===e.type?t+=re(ca(e.content)):t+=ca(e))}),t}}const la=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(Yo(64,e.loc)),t.removeNode())};const ha=new Set(["h1","h2","h3","h4","h5","h6"]),pa=new Set([]),ua={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:pa,iframe:pa,option:pa,textarea:pa,style:pa,title:pa},da={html:pa,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"])},fa={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"])},ma={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:ha,h2:ha,h3:ha,h4:ha,h5:ha,h6:ha},Aa=[Ko,(e,t)=>{if(1===e.type&&1===e.tagType){if(t.isBuiltInComponent(e.tag)===Go)return()=>{if(!e.children.length)return;zo(e)&&t.onError(Yo(63,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}));const s=e.children[0];if(1===s.type)for(const t of s.props)7===t.type&&"show"===t.name&&e.props.push({type:6,name:"persisted",nameLoc:e.loc,value:void 0,loc:e.loc})}}},(e,t)=>{if(1===e.type&&0===e.tagType&&t.parent&&1===t.parent.type&&0===t.parent.tagType&&(s=t.parent.tag,r=e.tag,"template"!==s&&(s in ua?!ua[s].has(r):r in da?!da[r].has(s):s in fa&&fa[s].has(r)||r in ma&&ma[r].has(s)))){const s=new SyntaxError(`<${e.tag}> cannot be child of <${t.parent.tag}>, according to HTML specifications. This can cause hydration errors or potentially disrupt future functionality.`);s.loc=e.loc,t.onWarn(s)}var s,r}],ga={cloak:_o,html:(e,t,s)=>{const{exp:r,loc:n}=e;return r||s.onError(Yo(54,n)),t.children.length&&(s.onError(Yo(55,n)),t.children.length=0),{props:[qe(ze("innerHTML",!0,n),r||ze("",!0))]}},text:(e,t,s)=>{const{exp:r,loc:n}=e;return r||s.onError(Yo(56,n)),t.children.length&&(s.onError(Yo(57,n)),t.children.length=0),{props:[qe(ze("textContent",!0),r?Un(r,s)>0?r:st(s.helperString(Te),[r],n):ze("",!0))]}},model:(e,t,s)=>{const r=Co(e,t,s);if(!r.props.length||1===t.tagType)return r;function n(){const e=Br(t,"bind");e&&Fr(e.arg,"value")&&s.onError(Yo(61,e.loc))}e.arg&&s.onError(Yo(59,e.arg.loc));const{tag:i}=t,o=s.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||o){let a=Mo,c=!1;if("input"===i||o){const r=Rr(t,"type");if(r){if(7===r.type)a=Ro;else if(r.value)switch(r.value.content){case"radio":a=Do;break;case"checkbox":a=Lo;break;case"file":c=!0,s.onError(Yo(60,e.loc));break;default:n()}}else Ur(t)?a=Ro:n()}else"select"===i?a=Bo:n();c||(r.needRuntime=s.helper(a))}else s.onError(Yo(58,e.loc));return r.props=r.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),r},on:(e,t,s)=>xo(e,t,s,t=>{const{modifiers:r}=e;if(!r.length)return t;let{key:n,value:i}=t.props[0];const{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:c}=((e,t)=>{const s=[],r=[],n=[];for(let i=0;i<t.length;i++){const o=t[i].content;Ho(o)?n.push(o):Xo(o)?br(e)?Zo(e.content.toLowerCase())?s.push(o):r.push(o):(s.push(o),r.push(o)):$o(o)?r.push(o):s.push(o)}return{keyModifiers:s,nonKeyModifiers:r,eventOptionModifiers:n}})(n,r,0,e.loc);if(a.includes("right")&&(n=qo(n,"onContextmenu")),a.includes("middle")&&(n=qo(n,"onMouseup")),a.length&&(i=st(s.helper(Fo),[i,JSON.stringify(a)])),!o.length||br(n)&&!Zo(n.content.toLowerCase())||(i=st(s.helper(Uo),[i,JSON.stringify(o)])),c.length){const e=c.map(I).join("");n=br(n)?ze(`${n.content}${e}`,!0):tt(["(",n,`) + "${e}"`])}return{props:[qe(n,i)]}}),show:(e,t,s)=>{const{exp:r,loc:n}=e;return r||s.onError(Yo(62,n)),{props:[],needRuntime:s.helper(jo)}}};var ya,xa,ba=Object.freeze({__proto__:null,BASE_TRANSITION:he,BindingTypes:{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"},CAMELIZE:Le,CAPITALIZE:Me,CREATE_BLOCK:ue,CREATE_COMMENT:Ae,CREATE_ELEMENT_BLOCK:de,CREATE_ELEMENT_VNODE:me,CREATE_SLOTS:Ie,CREATE_STATIC:ye,CREATE_TEXT:ge,CREATE_VNODE:fe,CompilerDeprecationTypes:{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"},ConstantTypes:{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"},DOMDirectiveTransforms:ga,DOMErrorCodes:{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__"},DOMErrorMessages:Jo,DOMNodeTransforms:Aa,ElementTypes:{ELEMENT:0,0:"ELEMENT",COMPONENT:1,1:"COMPONENT",SLOT:2,2:"SLOT",TEMPLATE:3,3:"TEMPLATE"},ErrorCodes:{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__"},FRAGMENT:oe,GUARD_REACTIVE_PROPS:_e,IS_MEMO_SAME:Ke,IS_REF:Qe,KEEP_ALIVE:le,MERGE_PROPS:Pe,NORMALIZE_CLASS:Ne,NORMALIZE_PROPS:Oe,NORMALIZE_STYLE:ke,Namespaces:{HTML:0,0:"HTML",SVG:1,1:"SVG",MATH_ML:2,2:"MATH_ML"},NodeTypes:{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"},OPEN_BLOCK:pe,POP_SCOPE_ID:Ue,PUSH_SCOPE_ID:Fe,RENDER_LIST:we,RENDER_SLOT:Ce,RESOLVE_COMPONENT:xe,RESOLVE_DIRECTIVE:Se,RESOLVE_DYNAMIC_COMPONENT:be,RESOLVE_FILTER:Ee,SET_BLOCK_TRACKING:Re,SUSPENSE:ce,TELEPORT:ae,TO_DISPLAY_STRING:Te,TO_HANDLERS:De,TO_HANDLER_KEY:Be,TRANSITION:Go,TRANSITION_GROUP:Qo,TS_NODE_TYPES:yr,UNREF:Ge,V_MODEL_CHECKBOX:Lo,V_MODEL_DYNAMIC:Ro,V_MODEL_RADIO:Do,V_MODEL_SELECT:Bo,V_MODEL_TEXT:Mo,V_ON_WITH_KEYS:Uo,V_ON_WITH_MODIFIERS:Fo,V_SHOW:jo,WITH_CTX:je,WITH_DIRECTIVES:ve,WITH_MEMO:We,advancePositionWithClone:Dr,advancePositionWithMutation:Lr,assert:Mr,baseCompile:Oo,baseParse:Mn,buildDirectiveArgs:mo,buildProps:po,buildSlots:no,checkCompatEnabled:function(e,t,s,...r){const n=function(e,t){const s=Qs("MODE",t),r=Qs(e,t);return 3===s?!0===r:!1!==r}(e,t);return n&&Ws(e,t,s,...r),n},compile:function(e,t={}){return Oo(e,c({},Wo,t,{nodeTransforms:[la,...Aa,...t.nodeTransforms||[]],directiveTransforms:c({},ga,t.directiveTransforms||{}),transformHoist:ta}))},convertToBlock:ft,createArrayExpression:Xe,createAssignmentExpression:lt,createBlockStatement:ot,createCacheExpression:it,createCallExpression:st,createCompilerError:Ys,createCompoundExpression:tt,createConditionalExpression:nt,createDOMCompilerError:Yo,createForLoopParams:zi,createFunctionExpression:rt,createIfStatement:ct,createInterpolation:et,createObjectExpression:Ze,createObjectProperty:qe,createReturnStatement:pt,createRoot:He,createSequenceExpression:ht,createSimpleExpression:ze,createStructuralDirectiveTransform:Jn,createTemplateLiteral:at,createTransformContext:Kn,createVNodeCall:$e,errorMessages:Js,extractIdentifiers:ur,findDir:Br,findProp:Rr,forAliasRE:qr,generate:Ni,generateCodeFrame:D,getBaseTransformPreset:ko,getConstantType:Un,getMemoedVNodeCall:Zr,getVNodeBlockHelper:dt,getVNodeHelper:ut,hasDynamicKeyVBind:Ur,hasScopeRef:Xr,helperNameMap:Ve,injectProp:Jr,isAllWhitespace:zr,isCommentOrWhitespace:tn,isCoreComponent:Sr,isFnExpression:_r,isFnExpressionBrowser:e=>kr.test(Tr(e)),isFnExpressionNode:Or,isFunctionType:mr,isInDestructureAssignment:ir,isInNewExpression:or,isMemberExpression:Nr,isMemberExpressionBrowser:e=>{const t=Tr(e).trim().replace(Ir,e=>e.trim());let s=0,r=[],n=0,i=0,o=null;for(let a=0;a<t.length;a++){const e=t.charAt(a);switch(s){case 0:if("["===e)r.push(s),s=1,n++;else if("("===e)r.push(s),s=2,i++;else if(!(0===a?wr:Cr).test(e))return!1;break;case 1:"'"===e||'"'===e||"`"===e?(r.push(s),s=3,o=e):"["===e?n++:"]"===e&&(--n||(s=r.pop()));break;case 2:if("'"===e||'"'===e||"`"===e)r.push(s),s=3,o=e;else if("("===e)i++;else if(")"===e){if(a===t.length-1)return!1;--i||(s=r.pop())}break;case 3:e===o&&(s=r.pop(),o=null)}}return!n&&!i},isMemberExpressionNode:Pr,isReferencedIdentifier:nr,isSimpleIdentifier:vr,isSlotOutlet:Kr,isStaticArgOf:Fr,isStaticExp:br,isStaticProperty:Ar,isStaticPropertyKey:gr,isTemplateNode:Wr,isText:jr,isVPre:Gr,isVSlot:Qr,isWhitespaceText:en,locStub:Je,noopDirectiveTransform:_o,parse:function(e,t={}){return Mn(e,c({},Wo,t))},parserOptions:Wo,processExpression:Gi,processFor:Zi,processIf:Vi,processSlotOutlet:yo,registerRuntimeHelpers:Ye,resolveComponentType:lo,stringifyExpression:Qi,toValidAssetId:$r,trackSlotScopes:to,trackVForSlotScopes:so,transform:Vn,transformBind:bo,transformElement:co,transformExpression:ji,transformModel:Co,transformOn:xo,transformStyle:Ko,transformVBindShorthand:No,traverseNode:Yn,unwrapTSNode:xr,validFirstIdentCharRE:wr,walkBlockDeclarations:cr,walkFunctionParams:ar,walkIdentifiers:rr,warnDeprecation:Ws});function Sa(){if(xa)return ya;function e(e,t){var s,r;if(0===t.length)return e;for(s=0,r=t.length;s<r;s++)e=(e<<5)-e+t.charCodeAt(s),e|=0;return e<0?-2*e:e}function t(s,r,n,i){var o,a=e(e(e(s,n),(o=r,Object.prototype.toString.call(o))),typeof r);if(null===r)return e(a,"null");if(void 0===r)return e(a,"undefined");if("object"==typeof r||"function"==typeof r){if(-1!==i.indexOf(r))return e(a,"[Circular]"+n);i.push(r);var c=function(e,s,r){return Object.keys(s).sort().reduce(function(e,n){return t(e,s[n],n,r)},e)}(a,r,i);if(!("valueOf"in r)||"function"!=typeof r.valueOf)return c;try{return e(c,String(r.valueOf()))}catch(l){return e(c,"[valueOf exception]"+(l.stack||l.message))}}return e(a,r.toString())}return xa=1,ya=function(e){return function(e,t){for(;e.length<t;)e="0"+e;return e}(t(0,e,"",[]).toString(16),8)}}var Ea=Hs(Sa());const va="useCssVars";function wa(e,t,s,r=!1){return`{\n ${e.map(e=>`"${r?":--":""}${Ca(t,e,s,r)}": (${e})`).join(",\n ")}\n}`}function Ca(e,t,s,r=!1){return s?Ea(e+t).replace(/^\d/,e=>`v${e}`):`${e}-${n=t,i=r,n.replace(te,e=>i?'"'===e?'\\\\\\"':`\\\\${e}`:`\\${e}`)}`;var n,i}function Ia(e){return"'"===(e=e.trim())[0]&&"'"===e[e.length-1]||'"'===e[0]&&'"'===e[e.length-1]?e.slice(1,-1):e}const Ta=/v-bind\s*\(/g;function Pa(e,t){let s=0,r=0;for(let n=t;n<e.length;n++){const t=e.charAt(n);switch(s){case 0:if("'"===t)s=1;else if('"'===t)s=2;else if("("===t)r++;else if(")"===t){if(!(r>0))return n;r--}break;case 1:"'"===t&&(s=0);break;case 2:'"'===t&&(s=0)}}return null}const Na=e=>{const{id:t,isProd:s}=e;return{postcssPlugin:"vue-sfc-vars",Declaration(e){const r=e.value;if(Ta.test(r)){Ta.lastIndex=0;let n,i="",o=0;for(;n=Ta.exec(r);){const e=n.index+n[0].length,a=Pa(r,e);if(null!==a){const c=Ia(r.slice(e,a));i+=r.slice(o,n.index)+`var(--${Ca(t,c,s)})`,o=a+1}}e.value=i+r.slice(o)}}}};function ka(e,t,s,r){const n=Gi(ze(wa(e,s,r),!1),Kn(He([]),{prefixIdentifiers:!0,inline:!0,bindingMetadata:!1===t.__isScriptSetup?void 0:t})),i=4===n.type?n.content:n.children.map(e=>"string"==typeof e?e:e.content).join("");return`_${va}(_ctx => (${i}))`}function Oa(){throw new Error("setTimeout has not been defined")}function _a(){throw new Error("clearTimeout has not been defined")}Na.postcss=!0;var Da=Oa,La=_a;function Ma(e){if(Da===setTimeout)return setTimeout(e,0);if((Da===Oa||!Da)&&setTimeout)return Da=setTimeout,setTimeout(e,0);try{return Da(e,0)}catch(t){try{return Da.call(null,e,0)}catch(s){return Da.call(this,e,0)}}}"function"==typeof yt.setTimeout&&(Da=setTimeout),"function"==typeof yt.clearTimeout&&(La=clearTimeout);var Ba,Ra=[],Fa=!1,Ua=-1;function ja(){Fa&&Ba&&(Fa=!1,Ba.length?Ra=Ba.concat(Ra):Ua=-1,Ra.length&&Ga())}function Ga(){if(!Fa){var e=Ma(ja);Fa=!0;for(var t=Ra.length;t;){for(Ba=Ra,Ra=[];++Ua<t;)Ba&&Ba[Ua].run();Ua=-1,t=Ra.length}Ba=null,Fa=!1,function(e){if(La===clearTimeout)return clearTimeout(e);if((La===_a||!La)&&clearTimeout)return La=clearTimeout,clearTimeout(e);try{return La(e)}catch(t){try{return La.call(null,e)}catch(s){return La.call(this,e)}}}(e)}}function Qa(e,t){this.fun=e,this.array=t}Qa.prototype.run=function(){this.fun.apply(null,this.array)};function Wa(){}var Ka=Wa,Va=Wa,Ya=Wa,Ja=Wa,Ha=Wa,$a=Wa,Xa=Wa;var Za=yt.performance||{},qa=Za.now||Za.mozNow||Za.msNow||Za.oNow||Za.webkitNow||function(){return(new Date).getTime()};var za=new Date;var ec={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)t[s-1]=arguments[s];Ra.push(new Qa(e,t)),1!==Ra.length||Fa||Ma(Ga)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Ka,addListener:Va,once:Ya,off:Ja,removeListener:Ha,removeAllListeners:$a,emit:Xa,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*qa.call(Za),s=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(s-=e[0],(r-=e[1])<0&&(s--,r+=1e9)),[s,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-za)/1e3}};function tc(e=500){return new Map}function sc(e,t){return function(e){return nc(e).usedIds}(t).has(e)}const rc=tc();function nc(e,t=!0){const{content:s,ast:r}=e.template,n=rc.get(s);if(n&&(!t||n.usedIds))return n;const i=t?new Set:void 0,o=new Set;r.children.forEach(function e(t){var s;switch(t.type){case 1:let r=t.tag;r.includes(".")&&(r=r.split(".")[0].trim()),Wo.isNativeTag(r)||Wo.isBuiltInComponent(r)||i&&(i.add(v(r)),i.add(I(v(r))));for(let e=0;e<t.props.length;e++){const r=t.props[e];if(7===r.type){if(i&&(b(r.name)||i.add(`v${I(v(r.name))}`)),"model"===r.name){const e=r.exp;if(e&&4===e.type){const t=e.content.trim();vr(t)&&"undefined"!==t&&o.add(t)}}i&&r.arg&&!r.arg.isStatic&&ic(i,r.arg),i&&("for"===r.name?ic(i,r.forParseResult.source):r.exp?ic(i,r.exp):"bind"!==r.name||r.exp||i.add(v(r.arg.content)))}i&&6===r.type&&"ref"===r.name&&(null==(s=r.value)?void 0:s.content)&&i.add(r.value.content)}t.children.forEach(e);break;case 5:i&&ic(i,t.content)}});const a={usedIds:i,vModelIds:o};return rc.set(s,a),a}function ic(e,t){t.ast?rr(t.ast,t=>e.add(t.name)):null===t.ast&&e.add(t.content)}var oc=Object.defineProperty,ac=Object.defineProperties,cc=Object.getOwnPropertyDescriptors,lc=Object.getOwnPropertySymbols,hc=Object.prototype.hasOwnProperty,pc=Object.prototype.propertyIsEnumerable,uc=(e,t,s)=>t in e?oc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,dc=(e,t)=>{for(var s in t||(t={}))hc.call(t,s)&&uc(e,s,t[s]);if(lc)for(var s of lc(t))pc.call(t,s)&&uc(e,s,t[s]);return e},fc=(e,t)=>ac(e,cc(t));const mc="anonymous.vue",Ac=tc();function gc(e,t={}){var s;const r=function(e,t){return e+JSON.stringify(t,(e,t)=>"function"==typeof t?t.toString():t)}(e,fc(dc({},t),{compiler:{parse:null==(s=t.compiler)?void 0:s.parse}})),n=Ac.get(r);if(n)return n;const{sourceMap:i=!0,filename:o=mc,sourceRoot:a="",pad:c=!1,ignoreEmpty:l=!0,compiler:h=ba,templateParseOptions:p={}}=t,u={filename:o,source:e,template:null,script:null,scriptSetup:null,styles:[],customBlocks:[],cssVars:[],slotted:!1,shouldForceReload:e=>function(e,t){if(!t.scriptSetup||"ts"!==t.scriptSetup.lang&&"tsx"!==t.scriptSetup.lang)return!1;for(const s in e)if(!e[s].isUsedInTemplate&&sc(s,t))return!0;return!1}(e,u)},d=[];h.parse(e,fc(dc({parseMode:"sfc",prefixIdentifiers:!0},p),{onError:e=>{d.push(e)}})).children.forEach(t=>{if(1===t.type&&(!l||"template"===t.tag||!function(e){for(let t=0;t<e.children.length;t++){const s=e.children[t];if(2!==s.type||""!==s.content.trim())return!1}return!0}(t)||function(e){return e.props.some(e=>6===e.type&&"src"===e.name)}(t)))switch(t.tag){case"template":if(u.template)d.push(yc(t));else{const s=u.template=xc(t,e,!1);if(s.attrs.src||(s.ast=He(t.children,e)),s.attrs.functional){const e=new SyntaxError("<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.");e.loc=t.props.find(e=>6===e.type&&"functional"===e.name).loc,d.push(e)}}break;case"script":const s=xc(t,e,c),r=!!s.attrs.setup;if(r&&!u.scriptSetup){u.scriptSetup=s;break}if(!r&&!u.script){u.script=s;break}d.push(yc(t,r));break;case"style":const n=xc(t,e,c);n.attrs.vars&&d.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),u.styles.push(n);break;default:u.customBlocks.push(xc(t,e,c))}}),u.template||u.script||u.scriptSetup||d.push(new SyntaxError(`At least one <template> or <script> is required in a single file component. ${u.filename}`)),u.scriptSetup&&(u.scriptSetup.src&&(d.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),u.scriptSetup=null),u.script&&u.script.src&&(d.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),u.script=null));let f=0;if(!u.template||"pug"!==u.template.lang&&"jade"!==u.template.lang||([u.template.content,f]=function(e){const t=e.split("\n"),s=t.reduce(function(e,t){var s,r;if(""===t.trim())return e;const n=(null==(r=null==(s=t.match(/^\s*/))?void 0:s[0])?void 0:r.length)||0;return Math.min(n,e)},1/0);if(0===s)return[e,s];return[t.map(function(e){return e.slice(s)}).join("\n"),s]}(u.template.content)),i){const t=(t,s=0)=>{t&&!t.src&&(t.map=function(e,t,s,r,n,i){const o=new Ci.SourceMapGenerator({file:e.replace(/\\/g,"/"),sourceRoot:r.replace(/\\/g,"/")});return o.setSourceContent(e,t),o._sources.add(e),s.split(bc).forEach((t,s)=>{if(!Sc.test(t)){const r=s+1+n,a=s+1;for(let s=0;s<t.length;s++)/\s/.test(t[s])||o._mappings.add({originalLine:r,originalColumn:s+i,generatedLine:a,generatedColumn:s,source:e,name:null})}}),o.toJSON()}(o,e,t.content,a,c&&"template"!==t.type?0:t.loc.start.line-1,s))};t(u.template,f),t(u.script),u.styles.forEach(e=>t(e)),u.customBlocks.forEach(e=>t(e))}u.cssVars=function(e){const t=[];return e.styles.forEach(e=>{let s;const r=e.content.replace(/\/\*([\s\S]*?)\*\/|\/\/.*/g,"");for(;s=Ta.exec(r);){const e=s.index+s[0].length,n=Pa(r,e);if(null!==n){const s=Ia(r.slice(e,n));t.includes(s)||t.push(s)}}}),t}(u);const m=/(?:::v-|:)slotted\(/;u.slotted=u.styles.some(e=>e.scoped&&m.test(e.content));const A={descriptor:u,errors:d};return Ac.set(r,A),A}function yc(e,t=!1){const s=new SyntaxError(`Single file component can contain only one <${e.tag}${t?" setup":""}> element`);return s.loc=e.loc,s}function xc(e,t,s){const r=e.tag,n=e.innerLoc,i={},o={type:r,content:t.slice(n.start.offset,n.end.offset),loc:n,attrs:i};return s&&(o.content=function(e,t,s){if(e=e.slice(0,t.loc.start.offset),"space"===s)return e.replace(Ec," ");{const s=e.split(bc).length,r="script"!==t.type||t.lang?"\n":"//\n";return Array(s).join(r)}}(t,o,s)+o.content),e.props.forEach(e=>{if(6===e.type){const t=e.name;i[t]=e.value&&e.value.content||!0,"lang"===t?o.lang=e.value&&e.value.content:"src"===t?o.src=e.value&&e.value.content:"style"===r?"scoped"===t?o.scoped=!0:"module"===t&&(o.module=i[t]):"script"===r&&"setup"===t&&(o.setup=i.setup)}}),o}const bc=/\r?\n/g,Sc=/^(?:\/\/)?\s*$/,Ec=/./g;function vc(e,t){for(var s=0,r=e.length-1;r>=0;r--){var n=e[r];"."===n?e.splice(r,1):".."===n?(e.splice(r,1),s++):s&&(e.splice(r,1),s--)}if(t)for(;s--;s)e.unshift("..");return e}var wc=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Cc=function(e){return wc.exec(e).slice(1)};function Ic(){for(var e="",t=!1,s=arguments.length-1;s>=-1&&!t;s--){var r=s>=0?arguments[s]:"/";if("string"!=typeof r)throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t="/"===r.charAt(0))}return(t?"/":"")+(e=vc(Mc(e.split("/"),function(e){return!!e}),!t).join("/"))||"."}function Tc(e){var t=Pc(e),s="/"===Rc(e,-1);return(e=vc(Mc(e.split("/"),function(e){return!!e}),!t).join("/"))||t||(e="."),e&&s&&(e+="/"),(t?"/":"")+e}function Pc(e){return"/"===e.charAt(0)}function Nc(){return Tc(Mc(Array.prototype.slice.call(arguments,0),function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function kc(e,t){function s(e){for(var t=0;t<e.length&&""===e[t];t++);for(var s=e.length-1;s>=0&&""===e[s];s--);return t>s?[]:e.slice(t,s-t+1)}e=Ic(e).substr(1),t=Ic(t).substr(1);for(var r=s(e.split("/")),n=s(t.split("/")),i=Math.min(r.length,n.length),o=i,a=0;a<i;a++)if(r[a]!==n[a]){o=a;break}var c=[];for(a=o;a<r.length;a++)c.push("..");return(c=c.concat(n.slice(o))).join("/")}function Oc(e){var t=Cc(e),s=t[0],r=t[1];return s||r?(r&&(r=r.substr(0,r.length-1)),s+r):"."}function _c(e,t){var s=Cc(e)[2];return t&&s.substr(-1*t.length)===t&&(s=s.substr(0,s.length-t.length)),s}function Dc(e){return Cc(e)[3]}var Lc={extname:Dc,basename:_c,dirname:Oc,sep:"/",delimiter:":",relative:kc,join:Nc,isAbsolute:Pc,normalize:Tc,resolve:Ic};function Mc(e,t){if(e.filter)return e.filter(t);for(var s=[],r=0;r<e.length;r++)t(e[r],r,e)&&s.push(e[r]);return s}var Bc,Rc="b"==="ab".substr(-1)?function(e,t,s){return e.substr(t,s)}:function(e,t,s){return t<0&&(t=e.length+t),e.substr(t,s)},Fc=Object.freeze({__proto__:null,basename:_c,default:Lc,delimiter:":",dirname:Oc,extname:Dc,isAbsolute:Pc,join:Nc,normalize:Tc,relative:kc,resolve:Ic,sep:"/"}),Uc=2147483647,jc=/[^\x20-\x7E]/,Gc=/[\x2E\u3002\uFF0E\uFF61]/g,Qc={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Wc=Math.floor,Kc=String.fromCharCode;function Vc(e){throw new RangeError(Qc[e])}function Yc(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function Jc(e,t,s){var r=0;for(e=s?Wc(e/700):e>>1,e+=Wc(e/t);e>455;r+=36)e=Wc(e/35);return Wc(r+36*e/(e+38))}function Hc(e){return function(e,t){var s=e.split("@"),r="";s.length>1&&(r=s[0]+"@",e=s[1]);var n=function(e,t){for(var s=e.length,r=[];s--;)r[s]=t(e[s]);return r}((e=e.replace(Gc,".")).split("."),t).join(".");return r+n}(e,function(e){return jc.test(e)?"xn--"+function(e){var t,s,r,n,i,o,a,c,l,h,p,u,d,f,m,A=[];for(e=function(e){for(var t,s,r=[],n=0,i=e.length;n<i;)(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<i?56320==(64512&(s=e.charCodeAt(n++)))?r.push(((1023&t)<<10)+(1023&s)+65536):(r.push(t),n--):r.push(t);return r}(e),u=e.length,t=128,s=0,i=72,o=0;o<u;++o)(p=e[o])<128&&A.push(Kc(p));for(r=n=A.length,n&&A.push("-");r<u;){for(a=Uc,o=0;o<u;++o)(p=e[o])>=t&&p<a&&(a=p);for(a-t>Wc((Uc-s)/(d=r+1))&&Vc("overflow"),s+=(a-t)*d,t=a,o=0;o<u;++o)if((p=e[o])<t&&++s>Uc&&Vc("overflow"),p==t){for(c=s,l=36;!(c<(h=l<=i?1:l>=i+26?26:l-i));l+=36)m=c-h,f=36-h,A.push(Kc(Yc(h+m%f,0))),c=Wc(m/f);A.push(Kc(Yc(c,0))),i=Jc(s,d,r==n),s=0,++r}++s,++t}return A.join("")}(e):e})}Bc="function"==typeof Object.create?function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var s=function(){};s.prototype=t.prototype,e.prototype=new s,e.prototype.constructor=e};var $c=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),s={},r=0;r<t.length;r++)s[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return s},Xc=/%[sdj%]/g;function Zc(e){if(!dl(e)){for(var t=[],s=0;s<arguments.length;s++)t.push(sl(arguments[s]));return t.join(" ")}s=1;for(var r=arguments,n=r.length,i=String(e).replace(Xc,function(e){if("%%"===e)return"%";if(s>=n)return e;switch(e){case"%s":return String(r[s++]);case"%d":return Number(r[s++]);case"%j":try{return JSON.stringify(r[s++])}catch(t){return"[Circular]"}default:return e}}),o=r[s];s<n;o=r[++s])hl(o)||!gl(o)?i+=" "+o:i+=" "+sl(o);return i}function qc(e,t){if(ml(yt.process))return function(){return qc(e,t).apply(this,arguments)};if(!0===ec.noDeprecation)return e;var s=!1;return function(){if(!s){if(ec.throwDeprecation)throw new Error(t);ec.traceDeprecation?console.trace(t):console.error(t),s=!0}return e.apply(this,arguments)}}var zc,el={};function tl(e){if(ml(zc)&&(zc=ec.env.NODE_DEBUG||""),e=e.toUpperCase(),!el[e])if(new RegExp("\\b"+e+"\\b","i").test(zc)){el[e]=function(){var t=Zc.apply(null,arguments);console.error("%s %d: %s",e,0,t)}}else el[e]=function(){};return el[e]}function sl(e,t){var s={seen:[],stylize:nl};return arguments.length>=3&&(s.depth=arguments[2]),arguments.length>=4&&(s.colors=arguments[3]),ll(t)?s.showHidden=t:t&&Tl(s,t),ml(s.showHidden)&&(s.showHidden=!1),ml(s.depth)&&(s.depth=2),ml(s.colors)&&(s.colors=!1),ml(s.customInspect)&&(s.customInspect=!0),s.colors&&(s.stylize=rl),il(s,e,s.depth)}function rl(e,t){var s=sl.styles[t];return s?"["+sl.colors[s][0]+"m"+e+"["+sl.colors[s][1]+"m":e}function nl(e,t){return e}function il(e,t,s){if(e.customInspect&&t&&bl(t.inspect)&&t.inspect!==sl&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(s,e);return dl(r)||(r=il(e,r,s)),r}var n=function(e,t){if(ml(t))return e.stylize("undefined","undefined");if(dl(t)){var s="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(s,"string")}if(ul(t))return e.stylize(""+t,"number");if(ll(t))return e.stylize(""+t,"boolean");if(hl(t))return e.stylize("null","null")}(e,t);if(n)return n;var i=Object.keys(t),o=function(e){var t={};return e.forEach(function(e,s){t[e]=!0}),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),xl(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return ol(t);if(0===i.length){if(bl(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(Al(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(yl(t))return e.stylize(Date.prototype.toString.call(t),"date");if(xl(t))return ol(t)}var c,l="",h=!1,p=["{","}"];(cl(t)&&(h=!0,p=["[","]"]),bl(t))&&(l=" [Function"+(t.name?": "+t.name:"")+"]");return Al(t)&&(l=" "+RegExp.prototype.toString.call(t)),yl(t)&&(l=" "+Date.prototype.toUTCString.call(t)),xl(t)&&(l=" "+ol(t)),0!==i.length||h&&0!=t.length?s<0?Al(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=h?function(e,t,s,r,n){for(var i=[],o=0,a=t.length;o<a;++o)Pl(t,String(o))?i.push(al(e,t,s,r,String(o),!0)):i.push("");return n.forEach(function(n){n.match(/^\d+$/)||i.push(al(e,t,s,r,n,!0))}),i}(e,t,s,o,i):i.map(function(r){return al(e,t,s,o,r,h)}),e.seen.pop(),function(e,t,s){var r=e.reduce(function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(r>60)return s[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+s[1];return s[0]+t+" "+e.join(", ")+" "+s[1]}(c,l,p)):p[0]+l+p[1]}function ol(e){return"["+Error.prototype.toString.call(e)+"]"}function al(e,t,s,r,n,i){var o,a,c;if((c=Object.getOwnPropertyDescriptor(t,n)||{value:t[n]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),Pl(r,n)||(o="["+n+"]"),a||(e.seen.indexOf(c.value)<0?(a=hl(s)?il(e,c.value,null):il(e,c.value,s-1)).indexOf("\n")>-1&&(a=i?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n")):a=e.stylize("[Circular]","special")),ml(o)){if(i&&n.match(/^\d+$/))return a;(o=JSON.stringify(""+n)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=e.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=e.stylize(o,"string"))}return o+": "+a}function cl(e){return Array.isArray(e)}function ll(e){return"boolean"==typeof e}function hl(e){return null===e}function pl(e){return null==e}function ul(e){return"number"==typeof e}function dl(e){return"string"==typeof e}function fl(e){return"symbol"==typeof e}function ml(e){return void 0===e}function Al(e){return gl(e)&&"[object RegExp]"===vl(e)}function gl(e){return"object"==typeof e&&null!==e}function yl(e){return gl(e)&&"[object Date]"===vl(e)}function xl(e){return gl(e)&&("[object Error]"===vl(e)||e instanceof Error)}function bl(e){return"function"==typeof e}function Sl(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function El(e){return Dt.isBuffer(e)}function vl(e){return Object.prototype.toString.call(e)}function wl(e){return e<10?"0"+e.toString(10):e.toString(10)}sl.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},sl.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Cl=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Il(){var e,t;console.log("%s - %s",(t=[wl((e=new Date).getHours()),wl(e.getMinutes()),wl(e.getSeconds())].join(":"),[e.getDate(),Cl[e.getMonth()],t].join(" ")),Zc.apply(null,arguments))}function Tl(e,t){if(!t||!gl(t))return e;for(var s=Object.keys(t),r=s.length;r--;)e[s[r]]=t[s[r]];return e}function Pl(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Nl="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function kl(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(Nl&&e[Nl]){var t;if("function"!=typeof(t=e[Nl]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,Nl,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,s,r=new Promise(function(e,r){t=e,s=r}),n=[],i=0;i<arguments.length;i++)n.push(arguments[i]);n.push(function(e,r){e?s(e):t(r)});try{e.apply(this,n)}catch(o){s(o)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Nl&&Object.defineProperty(t,Nl,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,$c(e))}function Ol(e,t){if(!e){var s=new Error("Promise was rejected with a falsy value");s.reason=e,e=s}return t(e)}function _l(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],s=0;s<arguments.length;s++)t.push(arguments[s]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var n=this,i=function(){return r.apply(n,arguments)};e.apply(this,t).then(function(e){ec.nextTick(i.bind(null,null,e))},function(e){ec.nextTick(Ol.bind(null,e,i))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,$c(e)),t}kl.custom=Nl;var Dl={inherits:Bc,_extend:Tl,log:Il,isBuffer:El,isPrimitive:Sl,isFunction:bl,isError:xl,isDate:yl,isObject:gl,isRegExp:Al,isUndefined:ml,isSymbol:fl,isString:dl,isNumber:ul,isNullOrUndefined:pl,isNull:hl,isBoolean:ll,isArray:cl,inspect:sl,deprecate:qc,format:Zc,debuglog:tl,promisify:kl,callbackify:_l},Ll=Object.freeze({__proto__:null,_extend:Tl,callbackify:_l,debuglog:tl,default:Dl,deprecate:qc,format:Zc,inherits:Bc,inspect:sl,isArray:cl,isBoolean:ll,isBuffer:El,isDate:yl,isError:xl,isFunction:bl,isNull:hl,isNullOrUndefined:pl,isNumber:ul,isObject:gl,isPrimitive:Sl,isRegExp:Al,isString:dl,isSymbol:fl,isUndefined:ml,log:Il,promisify:kl});function Ml(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Bl=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function Rl(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function Fl(e,t){if(e.map)return e.map(t);for(var s=[],r=0;r<e.length;r++)s.push(t(e[r],r));return s}var Ul=Object.keys||function(e){var t=[];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.push(s);return t};function jl(e,t,s,r){t=t||"&",s=s||"=";var n={};if("string"!=typeof e||0===e.length)return n;var i=/\+/g,o=(e=e.split(t)).length;o>1e3&&(o=1e3);for(var a=0;a<o;++a){var c,l,h,p,u=e[a].replace(i,"%20"),d=u.indexOf(s);d>=0?(c=u.substr(0,d),l=u.substr(d+1)):(c=u,l=""),h=decodeURIComponent(c),p=decodeURIComponent(l),Ml(n,h)?Bl(n[h])?n[h].push(p):n[h]=[n[h],p]:n[h]=p}return n}const Gl=yt.URL,Ql=yt.URLSearchParams;var Wl={parse:nh,resolve:lh,resolveObject:hh,fileURLToPath:oh,format:ah,Url:Kl,URL:Gl,URLSearchParams:Ql};function Kl(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var Vl=/^([a-z0-9.+-]+:)/i,Yl=/:[0-9]*$/,Jl=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Hl=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),$l=["'"].concat(Hl),Xl=["%","/","?",";","#"].concat($l),Zl=["/","?","#"],ql=255,zl=/^[+a-z0-9A-Z_-]{0,63}$/,eh=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,th={javascript:!0,"javascript:":!0},sh={javascript:!0,"javascript:":!0},rh={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function nh(e,t,s){if(e&&gl(e)&&e instanceof Kl)return e;var r=new Kl;return r.parse(e,t,s),r}function ih(e,t,s,r){if(!dl(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),i=-1!==n&&n<t.indexOf("#")?"?":"#",o=t.split(i);o[0]=o[0].replace(/\\/g,"/");var a=t=o.join(i);if(a=a.trim(),!r&&1===t.split("#").length){var c=Jl.exec(a);if(c)return e.path=a,e.href=a,e.pathname=c[1],c[2]?(e.search=c[2],e.query=s?jl(e.search.substr(1)):e.search.substr(1)):s&&(e.search="",e.query={}),e}var l,h,p,u,d=Vl.exec(a);if(d){var f=(d=d[0]).toLowerCase();e.protocol=f,a=a.substr(d.length)}if(r||d||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var m="//"===a.substr(0,2);!m||d&&sh[d]||(a=a.substr(2),e.slashes=!0)}if(!sh[d]&&(m||d&&!rh[d])){var A,g,y=-1;for(l=0;l<Zl.length;l++)-1!==(h=a.indexOf(Zl[l]))&&(-1===y||h<y)&&(y=h);for(-1!==(g=-1===y?a.lastIndexOf("@"):a.lastIndexOf("@",y))&&(A=a.slice(0,g),a=a.slice(g+1),e.auth=decodeURIComponent(A)),y=-1,l=0;l<Xl.length;l++)-1!==(h=a.indexOf(Xl[l]))&&(-1===y||h<y)&&(y=h);-1===y&&(y=a.length),e.host=a.slice(0,y),a=a.slice(y),ph(e),e.hostname=e.hostname||"";var x="["===e.hostname[0]&&"]"===e.hostname[e.hostname.length-1];if(!x){var b=e.hostname.split(/\./);for(l=0,p=b.length;l<p;l++){var S=b[l];if(S&&!S.match(zl)){for(var E="",v=0,w=S.length;v<w;v++)S.charCodeAt(v)>127?E+="x":E+=S[v];if(!E.match(zl)){var C=b.slice(0,l),I=b.slice(l+1),T=S.match(eh);T&&(C.push(T[1]),I.unshift(T[2])),I.length&&(a="/"+I.join(".")+a),e.hostname=C.join(".");break}}}}e.hostname.length>ql?e.hostname="":e.hostname=e.hostname.toLowerCase(),x||(e.hostname=Hc(e.hostname)),u=e.port?":"+e.port:"";var P=e.hostname||"";e.host=P+u,e.href+=e.host,x&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!th[f])for(l=0,p=$l.length;l<p;l++){var N=$l[l];if(-1!==a.indexOf(N)){var k=encodeURIComponent(N);k===N&&(k=escape(N)),a=a.split(N).join(k)}}var O=a.indexOf("#");-1!==O&&(e.hash=a.substr(O),a=a.slice(0,O));var _=a.indexOf("?");if(-1!==_?(e.search=a.substr(_),e.query=a.substr(_+1),s&&(e.query=jl(e.query)),a=a.slice(0,_)):s&&(e.search="",e.query={}),a&&(e.pathname=a),rh[f]&&e.hostname&&!e.pathname&&(e.pathname="/"),e.pathname||e.search){u=e.pathname||"";var D=e.search||"";e.path=u+D}return e.href=ch(e),e}function oh(e){if("string"==typeof e)e=(new Kl).parse(e);else if(!(e instanceof Kl))throw new TypeError('The "path" argument must be of type string or an instance of URL. Received type '+typeof e+String(e));if("file:"!==e.protocol)throw new TypeError("The URL must be of scheme file");return function(e){const t=e.pathname;for(let s=0;s<t.length;s++)if("%"===t[s]){const e=32|t.codePointAt(s+2);if("2"===t[s+1]&&102===e)throw new TypeError("must not include encoded / characters")}return decodeURIComponent(t)}(e)}function ah(e){return dl(e)&&(e=ih({},e)),ch(e)}function ch(e){var t=e.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var s,r,n,i=e.protocol||"",o=e.pathname||"",a=e.hash||"",c=!1,l="";e.host?c=t+e.host:e.hostname&&(c=t+(-1===e.hostname.indexOf(":")?e.hostname:"["+this.hostname+"]"),e.port&&(c+=":"+e.port)),e.query&&gl(e.query)&&Object.keys(e.query).length&&(s=e.query,r=r||"&",n=n||"=",null===s&&(s=void 0),l="object"==typeof s?Fl(Ul(s),function(e){var t=encodeURIComponent(Rl(e))+n;return Bl(s[e])?Fl(s[e],function(e){return t+encodeURIComponent(Rl(e))}).join(r):t+encodeURIComponent(Rl(s[e]))}).join(r):"");var h=e.search||l&&"?"+l||"";return i&&":"!==i.substr(-1)&&(i+=":"),e.slashes||(!i||rh[i])&&!1!==c?(c="//"+(c||""),o&&"/"!==o.charAt(0)&&(o="/"+o)):c||(c=""),a&&"#"!==a.charAt(0)&&(a="#"+a),h&&"?"!==h.charAt(0)&&(h="?"+h),i+c+(o=o.replace(/[?#]/g,function(e){return encodeURIComponent(e)}))+(h=h.replace("#","%23"))+a}function lh(e,t){return nh(e,!1,!0).resolve(t)}function hh(e,t){return e?nh(e,!1,!0).resolveObject(t):t}function ph(e){var t=e.host,s=Yl.exec(t);s&&(":"!==(s=s[0])&&(e.port=s.substr(1)),t=t.substr(0,t.length-s.length)),t&&(e.hostname=t)}Kl.prototype.parse=function(e,t,s){return ih(this,e,t,s)},Kl.prototype.format=function(){return ch(this)},Kl.prototype.resolve=function(e){return this.resolveObject(nh(e,!1,!0)).format()},Kl.prototype.resolveObject=function(e){if(dl(e)){var t=new Kl;t.parse(e,!1,!0),e=t}for(var s,r=new Kl,n=Object.keys(this),i=0;i<n.length;i++){var o=n[i];r[o]=this[o]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),c=0;c<a.length;c++){var l=a[c];"protocol"!==l&&(r[l]=e[l])}return rh[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!rh[e.protocol]){for(var h=Object.keys(e),p=0;p<h.length;p++){var u=h[p];r[u]=e[u]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||sh[e.protocol])r.pathname=e.pathname;else{for(s=(e.pathname||"").split("/");s.length&&!(e.host=s.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==s[0]&&s.unshift(""),s.length<2&&s.unshift(""),r.pathname=s.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var d=r.pathname||"",f=r.search||"";r.path=d+f}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var m,A=r.pathname&&"/"===r.pathname.charAt(0),g=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=g||A||r.host&&e.pathname,x=y,b=r.pathname&&r.pathname.split("/")||[],S=r.protocol&&!rh[r.protocol];if(s=e.pathname&&e.pathname.split("/")||[],S&&(r.hostname="",r.port=null,r.host&&(""===b[0]?b[0]=r.host:b.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===s[0]?s[0]=e.host:s.unshift(e.host)),e.host=null),y=y&&(""===s[0]||""===b[0])),g)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,b=s;else if(s.length)b||(b=[]),b.pop(),b=b.concat(s),r.search=e.search,r.query=e.query;else if(!pl(e.search))return S&&(r.hostname=r.host=b.shift(),(m=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=m.shift(),r.host=r.hostname=m.shift())),r.search=e.search,r.query=e.query,hl(r.pathname)&&hl(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!b.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var E=b.slice(-1)[0],v=(r.host||e.host||b.length>1)&&("."===E||".."===E)||""===E,w=0,C=b.length;C>=0;C--)"."===(E=b[C])?b.splice(C,1):".."===E?(b.splice(C,1),w++):w&&(b.splice(C,1),w--);if(!y&&!x)for(;w--;w)b.unshift("..");!y||""===b[0]||b[0]&&"/"===b[0].charAt(0)||b.unshift(""),v&&"/"!==b.join("/").substr(-1)&&b.push("");var I=""===b[0]||b[0]&&"/"===b[0].charAt(0);return S&&(r.hostname=r.host=I?"":b.length?b.shift():"",(m=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=m.shift(),r.host=r.hostname=m.shift())),(y=y||r.host&&b.length)&&!I&&b.unshift(""),b.length?r.pathname=b.join("/"):(r.pathname=null,r.path=null),hl(r.pathname)&&hl(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},Kl.prototype.parseHost=function(){return ph(this)};var uh=Object.freeze({__proto__:null,URL:Gl,URLSearchParams:Ql,Url:Kl,default:Wl,fileURLToPath:oh,format:ah,parse:nh,resolve:lh,resolveObject:hh});function dh(e){const t=e.charAt(0);return"."===t||"~"===t||"@"===t}const fh=/^(?:https?:)?\/\//;function mh(e){return fh.test(e)}const Ah=/^\s*data:/i;function gh(e){return Ah.test(e)}function yh(e){if("~"===e.charAt(0)){const t=e.charAt(1);e=e.slice("/"===t?2:1)}return nh(d(t=e)?t:"",!1,!0);var t}var xh=Object.defineProperty,bh=Object.defineProperties,Sh=Object.getOwnPropertyDescriptors,Eh=Object.getOwnPropertySymbols,vh=Object.prototype.hasOwnProperty,wh=Object.prototype.propertyIsEnumerable,Ch=(e,t,s)=>t in e?xh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Ih=(e,t)=>{for(var s in t||(t={}))vh.call(t,s)&&Ch(e,s,t[s]);if(Eh)for(var s of Eh(t))wh.call(t,s)&&Ch(e,s,t[s]);return e};const Th={base:null,includeAbsolute:!1,tags:{video:["src","poster"],source:["src"],img:["src"],image:["xlink:href","href"],use:["xlink:href","href"]}},Ph=e=>{return Object.keys(e).some(t=>p(e[t]))?(t=Ih({},Th),bh(t,Sh({tags:e}))):Ih(Ih({},Th),e);var t},Nh=(e,t,s=Th)=>{if(1===e.type){if(!e.props.length)return;const r=s.tags||Th.tags,n=r[e.tag],i=r["*"];if(!n&&!i)return;const o=(n||[]).concat(i||[]);e.props.forEach((r,n)=>{if(6!==r.type||!o.includes(r.name)||!r.value||mh(r.value.content)||gh(r.value.content)||"#"===r.value.content[0]||!s.includeAbsolute&&!dh(r.value.content))return;const i=yh(r.value.content);if(s.base&&"."===r.value.content[0]){const e=yh(s.base),t=e.protocol||"",n=e.host?t+"//"+e.host:"",o=e.path||"/";return void(r.value.content=n+(Lc.posix||Lc).join(o,i.path+(i.hash||"")))}const a=function(e,t,s,r){if(e){let n,i;const o=r.imports.findIndex(t=>t.path===e);if(o>-1?(n=`_imports_${o}`,i=r.imports[o].exp):(n=`_imports_${r.imports.length}`,i=ze(n,!1,s,3),r.imports.push({exp:i,path:decodeURIComponent(e)})),!t)return i;const a=`${n} + '${t}'`,c=ze(a,!1,s,3);if(!r.hoistStatic)return c;const l=r.hoists.findIndex(e=>e&&4===e.type&&!e.isStatic&&e.content===a);return l>-1?ze(`_hoisted_${l+1}`,!1,s,3):r.hoist(c)}return ze("''",!1,s,3)}(i.path,i.hash,r.loc,t);e.props[n]={type:7,name:"bind",arg:ze(r.name,!0,r.loc),exp:a,modifiers:[],loc:r.loc}})}};const kh=["img","source"],Oh=/( |\\t|\\n|\\f|\\r)+/g,_h=e=>(t,s)=>Dh(t,s,e),Dh=(e,t,s=Th)=>{1===e.type&&kh.includes(e.tag)&&e.props.length&&e.props.forEach((r,n)=>{if("srcset"===r.name&&6===r.type){if(!r.value)return;const i=r.value.content;if(!i)return;const o=i.split(",").map(e=>{const[t,s]=e.replace(Oh," ").trim().split(" ",2);return{url:t,descriptor:s}});for(let e=0;e<o.length;e++){const{url:t}=o[e];gh(t)&&(o[e+1].url=t+","+o[e+1].url,o.splice(e,1))}const a=e=>e&&!mh(e)&&!gh(e)&&(s.includeAbsolute||dh(e));if(!o.some(({url:e})=>a(e)))return;if(s.base){const e=s.base,t=[];let n=!1;if(o.forEach(s=>{let{url:r,descriptor:i}=s;i=i?` ${i}`:"","."===r[0]?(s.url=(Lc.posix||Lc).join(e,r),t.push(s.url+i)):a(r)?n=!0:t.push(r+i)}),!n)return void(r.value.content=t.join(", "))}const c=tt([],r.loc);o.forEach(({url:e,descriptor:s},n)=>{if(a(e)){const{path:s}=yh(e);let n;if(s){const e=t.imports.findIndex(e=>e.path===s);e>-1?n=ze(`_imports_${e}`,!1,r.loc,3):(n=ze(`_imports_${t.imports.length}`,!1,r.loc,3),t.imports.push({exp:n,path:s})),c.children.push(n)}}else{const t=ze(`"${e}"`,!1,r.loc,3);c.children.push(t)}const i=o.length-1>n;s&&i?c.children.push(` + ' ${s}, ' + `):s?c.children.push(` + ' ${s}'`):i&&c.children.push(" + ', ' + ")});let l=c;t.hoistStatic&&(l=t.hoist(c),l.constType=3),e.props[n]={type:7,name:"bind",arg:ze("srcset",!0,r.loc),exp:l,modifiers:[],loc:r.loc}}})},Lh=Symbol("ssrInterpolate"),Mh=Symbol("ssrRenderVNode"),Bh=Symbol("ssrRenderComponent"),Rh=Symbol("ssrRenderSlot"),Fh=Symbol("ssrRenderSlotInner"),Uh=Symbol("ssrRenderClass"),jh=Symbol("ssrRenderStyle"),Gh=Symbol("ssrRenderAttrs"),Qh=Symbol("ssrRenderAttr"),Wh=Symbol("ssrRenderDynamicAttr"),Kh=Symbol("ssrRenderList"),Vh=Symbol("ssrIncludeBooleanAttr"),Yh=Symbol("ssrLooseEqual"),Jh=Symbol("ssrLooseContain"),Hh=Symbol("ssrRenderDynamicModel"),$h=Symbol("ssrGetDynamicModelProps"),Xh=Symbol("ssrRenderTeleport"),Zh=Symbol("ssrRenderSuspense"),qh=Symbol("ssrGetDirectiveProps"),zh={[Lh]:"ssrInterpolate",[Mh]:"ssrRenderVNode",[Bh]:"ssrRenderComponent",[Rh]:"ssrRenderSlot",[Fh]:"ssrRenderSlotInner",[Uh]:"ssrRenderClass",[jh]:"ssrRenderStyle",[Gh]:"ssrRenderAttrs",[Qh]:"ssrRenderAttr",[Wh]:"ssrRenderDynamicAttr",[Kh]:"ssrRenderList",[Vh]:"ssrIncludeBooleanAttr",[Yh]:"ssrLooseEqual",[Jh]:"ssrLooseContain",[Hh]:"ssrRenderDynamicModel",[$h]:"ssrGetDynamicModelProps",[Xh]:"ssrRenderTeleport",[Zh]:"ssrRenderSuspense",[qh]:"ssrGetDirectiveProps"};Ye(zh);const ep=Jn(/^(?:if|else|else-if)$/,Vi);function tp(e,t,s=!1,r=!1){const[n]=e.branches,i=ct(n.condition,sp(n,t,s));t.pushStatement(i);let o=i;for(let a=1;a<e.branches.length;a++){const r=e.branches[a],n=sp(r,t,s);r.condition?o=o.alternate=ct(r.condition,n):o.alternate=n}o.alternate||r||(o.alternate=ot([st("_push",["`\x3c!----\x3e`"])]))}function sp(e,t,s=!1){const{children:r}=e;return Gp(e,t,!(s||1===r.length&&1===r[0].type||1===r.length&&11===r[0].type))}const rp=Jn("for",Zi);function np(e,t,s=!1){const r=!s&&(1!==e.children.length||1!==e.children[0].type),n=rt(zi(e.parseResult));n.body=Gp(e,t,r),s||t.pushStringPart("\x3c!--[--\x3e"),t.pushStatement(st(t.helper(Kh),[e.source,n])),s||t.pushStringPart("\x3c!--]--\x3e")}const ip=(e,t)=>{if(Kr(e)){const{slotName:s,slotProps:r}=yo(e,t),n=["_ctx.$slots",s,r||"{}","null","_push","_parent"];t.scopeId&&!1!==t.slotted&&n.push(`"${t.scopeId}-s"`);let i=Rh,o=t.parent;if(o){const e=o.children;let s;10===o.type&&(o=t.grandParent),1!==o.type||1!==o.tagType||(s=lo(o,t,!0))!==Go&&s!==Qo||1!==e.filter(e=>1===e.type).length||(i=Fh,t.scopeId&&!1!==t.slotted||n.push("null"),n.push("true"))}e.ssrCodegenNode=st(t.helper(i),n)}};function op(e,t){const s=e.ssrCodegenNode;if(e.children.length){const r=rt([]);r.body=Gp(e,t),s.arguments[3]=r}if(t.withSlotScopeId){const e=s.arguments[6];s.arguments[6]=e?`${e} + _scopeId`:"_scopeId"}t.pushStatement(e.ssrCodegenNode)}function ap(e,t){return Ys(e,t,cp)}const cp={65:"Unsafe attribute name for SSR.",66:"Missing the 'to' prop on teleport element.",67:"Invalid AST node during SSR transform."};const lp=new WeakMap;const hp=new WeakMap,pp=(e,t)=>{if(1===e.type&&0===e.tagType)return function(){const s=[`<${e.tag}`],r="textarea"===e.tag||e.tag.indexOf("-")>0,n=Ur(e),i=e.props.some(e=>7===e.type&&!b(e.name)),o=e.props.findIndex(e=>7===e.type&&"show"===e.name);if(-1!==o){const t=e.props[o];e.props.splice(o,1),e.props.push(t)}const a=n||i;if(a){const{props:n,directives:i}=po(e,t,e.props,!1,!1,!0);if(n||i.length){const o=up(n,i,t),a=st(t.helper(Gh),[o]);if("textarea"===e.tag){const s=e.children[0];if(!(Ap(e)||s&&5===s.type)){const r="_temp"+t.temps++;a.arguments=[lt(ze(r,!1),o)],hp.set(e,st(t.helper(Lh),[nt(ze(`"value" in ${r}`,!1),ze(`${r}.value`,!1),ze(s?s.content:"",!0),!1)]))}}else if("input"===e.tag){const s=function(e){return e.props.find(e=>7===e.type&&"model"===e.name&&e.exp)}(e);if(s){const e=ze("_temp"+t.temps++,!1);a.arguments=[ht([lt(e,o),st(t.helper(Pe),[e,st(t.helper($h),[e,s.exp])])])]}}else if(i.length&&!e.children.length&&!Ap(e)){const s="_temp"+t.temps++;a.arguments=[lt(ze(s,!1),o)],hp.set(e,nt(ze(`"textContent" in ${s}`,!1),st(t.helper(Lh),[ze(`${s}.textContent`,!1)]),ze(`${s}.innerHTML ?? ''`,!1),!1))}r&&a.arguments.push(`"${e.tag}"`),s.push(a)}}let c,l,h;for(let p=0;p<e.props.length;p++){const n=e.props[p];if("input"!==e.tag||!dp(n))if(7===n.type){if("html"===n.name&&n.exp)hp.set(e,tt(["(",n.exp,") ?? ''"]));else if("text"===n.name&&n.exp)e.children=[et(n.exp,n.loc)];else if("slot"===n.name)t.onError(Ys(40,n.loc));else if(fp(e,n)&&n.exp)a||(e.children=[et(n.exp,n.loc)]);else if(!a&&"on"!==n.name){const i=t.directiveTransforms[n.name];if(i){const{props:o,ssrTagParts:a}=i(n,e,t);a&&s.push(...a);for(let n=0;n<o.length;n++){const{key:i,value:a}=o[n];if(br(i)){let r=i.content;if("key"===r||"ref"===r)continue;"class"===r?s.push(' class="',c=st(t.helper(Uh),[a]),'"'):"style"===r?h?mp(h,a):s.push(' style="',h=st(t.helper(jh),[a]),'"'):(r=e.tag.indexOf("-")>0?r:$[r]||r.toLowerCase(),V(r)?s.push(nt(st(t.helper(Vh),[a]),ze(" "+r,!0),ze("",!0),!1)):H(r)?s.push(st(t.helper(Qh),[i,a])):t.onError(ap(65,i.loc)))}else{const n=[i,a];r&&n.push(`"${e.tag}"`),s.push(st(t.helper(Wh),n))}}}}}else{const t=n.name;if("textarea"===e.tag&&"value"===t&&n.value)hp.set(e,ee(n.value.content));else if(!a){if("key"===t||"ref"===t)continue;"class"===t&&n.value&&(l=JSON.stringify(n.value.content)),s.push(` ${n.name}`+(n.value?`="${ee(n.value.content)}"`:""))}}}c&&l&&(mp(c,l),function(e,t){const s=new RegExp(`^ ${t}=".+"$`),r=e.findIndex(e=>"string"==typeof e&&s.test(e));r>-1&&e.splice(r,1)}(s,"class")),t.scopeId&&s.push(` ${t.scopeId}`),e.ssrCodegenNode=at(s)}};function up(e,t,s){let r=[];if(e&&(14===e.type?r=e.arguments:r.push(e)),t.length)for(const n of t)r.push(st(s.helper(qh),["_ctx",...mo(n,s).elements]));return r.length>1?st(s.helper(Pe),r):r[0]}function dp(e){return 7===e.type?"bind"===e.name&&e.arg&&br(e.arg)&&("true-value"===e.arg.content||"false-value"===e.arg.content):"true-value"===e.name||"false-value"===e.name}function fp(e,t){return!("textarea"!==e.tag||"bind"!==t.name||!Fr(t.arg,"value"))}function mp(e,t){const s=e.arguments[0];17===s.type?s.elements.push(t):e.arguments[0]=Xe([s,t])}function Ap(e){return!!Br(e,"text")||!!Br(e,"html")}function gp(e,t){const s=t.options.isVoidTag||o,r=e.ssrCodegenNode.elements;for(let i=0;i<r.length;i++)t.pushStringPart(r[i]);t.withSlotScopeId&&t.pushStringPart(ze("_scopeId",!1)),t.pushStringPart(">");const n=hp.get(e);n?t.pushStringPart(n):e.children.length&&jp(e,t),s(e.tag)||t.pushStringPart(`</${e.tag}>`)}const yp=new WeakMap;const xp=new WeakMap;var bp=Object.defineProperty,Sp=Object.defineProperties,Ep=Object.getOwnPropertyDescriptors,vp=Object.getOwnPropertySymbols,wp=Object.prototype.hasOwnProperty,Cp=Object.prototype.propertyIsEnumerable,Ip=(e,t,s)=>t in e?bp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Tp=(e,t)=>{for(var s in t||(t={}))wp.call(t,s)&&Ip(e,s,t[s]);if(vp)for(var s of vp(t))Cp.call(t,s)&&Ip(e,s,t[s]);return e};const Pp=new WeakMap,Np=Symbol(),kp=new WeakMap,Op=(e,t)=>{if(1!==e.type||1!==e.tagType)return;const s=lo(e,t,!0),r=m(s)&&s.callee===be;if(kp.set(e,s),f(s))return s===ce?function(e,t){return()=>{if(e.children.length){const s={slotsExp:null,wipSlots:[]};lp.set(e,s),s.slotsExp=no(e,t,(e,t,r,n)=>{const i=rt([],void 0,!0,!1,n);return s.wipSlots.push({fn:i,children:r}),i}).slots}}}(e,t):s===Qo?function(e,t){return()=>{const s=Rr(e,"tag");if(s){const r=e.props.filter(e=>e!==s),{props:n,directives:i}=po(e,t,r,!0,!1,!0);let o=null;(n||i.length)&&(o=st(t.helper(Gh),[up(n,i,t)])),yp.set(e,{tag:s,propsExp:o,scopeId:t.scopeId||null})}}}(e,t):s===Go?function(e){return()=>{const t=Rr(e,"appear",!1,!0);xp.set(e,!!t)}}(e):void 0;const n=[],i=Fp(e);return function(){i.children.length&&no(i,t,(e,s,r)=>(n.push(function(e,t,s,r){const n=Dp.get(r.root),i=(a=Tp({},n),l={nodeTransforms:[...Bp,...n.nodeTransforms||[]],directiveTransforms:Tp(Tp({},Rp),n.directiveTransforms||{})},Sp(a,Ep(l))),o=[];var a,l;e&&o.push({type:7,name:"slot",exp:e,arg:void 0,modifiers:[],loc:Je});t&&o.push(c({},t));const h={type:1,ns:0,tag:"template",tagType:3,props:o,children:s,loc:Je,codegenNode:void 0};return function(e,t,s){const r=He([e]),n=Kn(r,t);n.ssr=!1,n.scopes=Tp({},s.scopes),n.identifiers=Tp({},s.identifiers),n.imports=s.imports,Yn(r,n),["helpers","components","directives"].forEach(e=>{n[e].forEach((t,r)=>{if("helpers"===e){const e=s.helpers.get(r);void 0===e?s.helpers.set(r,t):s.helpers.set(r,t+e)}else s[e].add(t)})})}(h,i,r),pt(s)}(e,s,r,t)),rt(void 0)));let o="null";if(e.props.length){const{props:s,directives:n}=po(e,t,void 0,!0,r);(s||n.length)&&(o=up(s,n,t))}const a=[];Pp.set(e,a);const l=e.children.length?no(e,t,(e,t,s,r)=>{const i=rt([e&&Qi(e)||"_","_push","_parent","_scopeId"],void 0,!0,!0,r);return a.push({type:Np,fn:i,children:s,vnodeBranch:n[a.length]}),i}).slots:"null";e.ssrCodegenNode="string"!=typeof s?st(t.helper(Mh),["_push",st(t.helper(fe),[s,o,l]),"_parent"]):st(t.helper(Bh),[s,o,l,"_parent"])}};function _p(e,t,s){const r=kp.get(e);if(e.ssrCodegenNode){const s=Pp.get(e)||[];for(let e=0;e<s.length;e++){const{fn:r,vnodeBranch:n}=s[e];r.body=ct(ze("_push",!1),Gp(s[e],t,!1,!0),n)}t.withSlotScopeId&&e.ssrCodegenNode.arguments.push("_scopeId"),"string"==typeof r?t.pushStatement(st("_push",[e.ssrCodegenNode])):t.pushStatement(e.ssrCodegenNode)}else{if(r===ae)return function(e,t){const s=Rr(e,"to");if(!s)return void t.onError(ap(66,e.loc));let r;if(r=6===s.type?s.value&&ze(s.value.content,!0):s.exp,!r)return void t.onError(ap(66,s.loc));const n=Rr(e,"disabled",!1,!0),i=n?6===n.type?"true":n.exp||"false":"false",o=rt(["_push"],void 0,!0,!1,e.loc);o.body=Gp(e,t),t.pushStatement(st(t.helper(Xh),["_push",o,r,i,"_parent"]))}(e,t);if(r===ce)return function(e,t){const s=lp.get(e);if(!s)return;const{slotsExp:r,wipSlots:n}=s;for(let i=0;i<n.length;i++){const e=n[i];e.fn.body=Gp(e,t)}t.pushStatement(st(t.helper(Zh),["_push",r]))}(e,t);if(r===Qo)return function(e,t){const s=yp.get(e);if(s){const{tag:r,propsExp:n,scopeId:i}=s;7===r.type?(t.pushStringPart("<"),t.pushStringPart(r.exp),n&&t.pushStringPart(n),i&&t.pushStringPart(` ${i}`),t.pushStringPart(">"),jp(e,t,!1,!0,!0),t.pushStringPart("</"),t.pushStringPart(r.exp),t.pushStringPart(">")):(t.pushStringPart(`<${r.value.content}`),n&&t.pushStringPart(n),i&&t.pushStringPart(` ${i}`),t.pushStringPart(">"),jp(e,t,!1,!0,!0),t.pushStringPart(`</${r.value.content}>`))}else jp(e,t,!0,!0,!0)}(e,t);if(s.type===Np&&t.pushStringPart(""),r===Go)return function(e,t){e.children=e.children.filter(e=>3!==e.type),xp.get(e)?(t.pushStringPart("<template>"),jp(e,t,!1,!0),t.pushStringPart("</template>")):jp(e,t,!1,!0)}(e,t);jp(e,t)}}const Dp=new WeakMap,[Lp,Mp]=ko(!0),Bp=[...Lp,...Aa],Rp=Tp(Tp({},Mp),ga);function Fp(e){if(p(e))return e.map(Fp);if(y(e)){const t={};for(const s in e)t[s]=Fp(e[s]);return t}return e}function Up(e,t,s=new Set,r=!1){const n=[];let i=null;return{root:e,options:t,body:n,helpers:s,withSlotScopeId:r,onError:t.onError||(e=>{throw e}),helper:e=>(s.add(e),e),pushStringPart(e){if(!i){const e=st("_push");n.push(e),i=at([]),e.arguments.push(i)}const t=i.elements,s=t[t.length-1];d(e)&&d(s)?t[t.length-1]+=e:t.push(e)},pushStatement(e){i=null,n.push(e)}}}function jp(e,t,s=!1,r=!1,n=!1){s&&t.pushStringPart("\x3c!--[--\x3e");const{children:i}=e;for(let o=0;o<i.length;o++){const s=i[o];switch(s.type){case 1:switch(s.tagType){case 0:gp(s,t);break;case 1:_p(s,t,e);break;case 2:op(s,t);break;case 3:break;default:t.onError(ap(67,s.loc));return s}break;case 2:t.pushStringPart(ee(s.content));break;case 3:n||t.pushStringPart(`\x3c!--${s.content}--\x3e`);break;case 5:t.pushStringPart(st(t.helper(Lh),[s.content]));break;case 9:tp(s,t,r,n);break;case 11:np(s,t,r);break;case 10:case 12:case 8:break;default:t.onError(ap(67,s.loc));return s}}s&&t.pushStringPart("\x3c!--]--\x3e")}function Gp(e,t,s=!1,r=t.withSlotScopeId){const n=function(e,t=e.withSlotScopeId){return Up(e.root,e.options,e.helpers,t)}(t,r);return jp(e,n,s),ot(n.body)}const Qp=(e,t,s)=>{const r=e.exp;function n(){const e=Rr(t,"value");e&&s.onError(Yo(61,e.loc))}const i=e=>{e.forEach(e=>{1===e.type?function(e){if("option"===e.tag){if(-1===e.props.findIndex(e=>"selected"===e.name)){const t=Wp(e);e.ssrCodegenNode.elements.push(nt(st(s.helper(Vh),[nt(st("Array.isArray",[r]),st(s.helper(Jh),[r,t]),st(s.helper(Yh),[r,t]))]),ze(" selected",!0),ze("",!0),!1))}}else"optgroup"===e.tag&&i(e.children)}(e):11===e.type?i(e.children):9===e.type&&e.branches.forEach(e=>i(e.children))})};if(0===t.tagType){const o={props:[]};if("input"===t.tag){const i=[qe("value",r)],a=Rr(t,"type");if(a){const c=Wp(t);if(7===a.type)o.ssrTagParts=[st(s.helper(Hh),[a.exp,r,c])];else if(a.value)switch(a.value.content){case"radio":o.props=[qe("checked",st(s.helper(Yh),[r,c]))];break;case"checkbox":const a=Rr(t,"true-value");if(a){const e=6===a.type?JSON.stringify(a.value.content):a.exp;o.props=[qe("checked",st(s.helper(Yh),[r,e]))]}else o.props=[qe("checked",nt(st("Array.isArray",[r]),st(s.helper(Jh),[r,c]),r))];break;case"file":s.onError(Yo(60,e.loc));break;default:n(),o.props=i}}else Ur(t)||(n(),o.props=i)}else"textarea"===t.tag?(n(),t.children=[et(r,r.loc)]):"select"===t.tag?i(t.children):s.onError(Yo(58,e.loc));return o}return Co(e,t,s)};function Wp(e){const t=Rr(e,"value");return t?7===t.type?t.exp:ze(t.value.content,!0):ze("null",!1)}const Kp=(e,t,s)=>(e.exp||s.onError(Yo(62)),{props:[qe("style",nt(e.exp,ze("null",!1),Ze([qe("display",ze("none",!0))]),!1))]}),Vp=e=>e.children.filter(e=>!tn(e)),Yp=e=>1===Vp(e).length,Jp=(e,t)=>{if(0===e.type&&(t.identifiers._attrs=1),1===e.type&&1===e.tagType&&("transition"===e.tag||"Transition"===e.tag||"KeepAlive"===e.tag||"keep-alive"===e.tag)){const s=Vp(t.root);if(1===s.length&&s[0]===e)return void(Yp(e)&&Hp(e.children[0]))}const s=t.parent;if(s&&0===s.type)if(10===e.type&&Yp(e)){let t=!1;for(const e of Vp(s))if(9===e.type||1===e.type&&Br(e,"if")){if(t)return;t=!0}else if(!t||1!==e.type||!Br(e,/else/,!0))return;Hp(e.children[0])}else Yp(s)&&Hp(e)};function Hp(e){1!==e.type||0!==e.tagType&&1!==e.tagType||Br(e,"for")||e.props.push({type:7,name:"bind",arg:void 0,exp:ze("_attrs",!1),modifiers:[],loc:Je})}const $p=(e,t)=>{if(!t.ssrCssVars)return;0===e.type&&(t.identifiers._cssVars=1);const s=t.parent;if(s&&0===s.type)if(10===e.type)for(const r of e.children)Xp(r);else Xp(e)};function Xp(e){if(1===e.type&&(0===e.tagType||1===e.tagType)&&!Br(e,"for"))if("suspense"===e.tag||"Suspense"===e.tag)for(const t of e.children)1===t.type&&3===t.tagType?t.children.forEach(Xp):Xp(t);else e.props.push({type:7,name:"bind",arg:void 0,exp:ze("_cssVars",!1),modifiers:[],loc:Je})}var Zp=Object.defineProperty,qp=Object.defineProperties,zp=Object.getOwnPropertyDescriptors,eu=Object.getOwnPropertySymbols,tu=Object.prototype.hasOwnProperty,su=Object.prototype.propertyIsEnumerable,ru=(e,t,s)=>t in e?Zp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,nu=(e,t)=>{for(var s in t||(t={}))tu.call(t,s)&&ru(e,s,t[s]);if(eu)for(var s of eu(t))su.call(t,s)&&ru(e,s,t[s]);return e},iu=(e,t)=>qp(e,zp(t));var ou=Object.freeze({__proto__:null,compile:function(e,t={}){t=iu(nu(nu({},t),Wo),{ssr:!0,inSSR:!0,scopeId:"function"===t.mode?null:t.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1});const s="string"==typeof e?Mn(e,t):e;return Dp.set(s,t),Vn(s,iu(nu({},t),{hoistStatic:!1,nodeTransforms:[No,ep,rp,so,ji,ip,Jp,$p,pp,Op,to,Ko,...t.nodeTransforms||[]],directiveTransforms:nu({bind:bo,on:xo,model:Qp,show:Kp,cloak:_o,once:_o,memo:_o},t.directiveTransforms||{})})),function(e,t){const s=Up(e,t);if(t.ssrCssVars){const r=Kn(He([]),t),n=Gi(ze(t.ssrCssVars,!1),r);s.body.push(tt(["const _cssVars = { style: ",n,"}"])),Array.from(r.helpers.keys()).forEach(t=>{e.helpers.add(t)})}const r=e.children.length>1&&e.children.some(e=>!jr(e));jp(e,s,r),e.codegenNode=ot(s.body),e.ssrHelpers=Array.from(new Set([...Array.from(e.helpers).filter(e=>e in zh),...s.helpers])),e.helpers=new Set(Array.from(e.helpers).filter(e=>!(e in zh)))}(s,t),Ni(s,t)}}),au=$s(Object.freeze({__proto__:null,default:{}})),cu=$s(Fc),lu=$s(Ll);const hu={};function pu(e){"undefined"!=typeof process&&!0||hu[e]||(hu[e]=!0,uu(e))}function uu(e){console.warn(`[@vue/compiler-sfc] ${e}\n`)}var du=Object.defineProperty,fu=Object.defineProperties,mu=Object.getOwnPropertyDescriptors,Au=Object.getOwnPropertySymbols,gu=Object.prototype.hasOwnProperty,yu=Object.prototype.propertyIsEnumerable,xu=(e,t,s)=>t in e?du(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,bu=(e,t)=>{for(var s in t||(t={}))gu.call(t,s)&&xu(e,s,t[s]);if(Au)for(var s of Au(t))yu.call(t,s)&&xu(e,s,t[s]);return e},Su=(e,t)=>fu(e,mu(t));function Eu({source:e,filename:t,preprocessOptions:s},r){let n="",i=null;if(r.render(e,bu({filename:t},s),(e,t)=>{e&&(i=e),n=t}),i)throw i;return n}function vu(e){const{preprocessLang:t,preprocessCustomRequire:s}=e;if(t&&!s)throw new Error("[@vue/compiler-sfc] Template preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor in the shape of { render(): string }.");const r=!!t&&(s?s(t):void 0);if(!r)return t?{code:"export default function render() {}",source:e.source,tips:[`Component ${e.filename} uses lang ${t} for template. Please install the language preprocessor.`],errors:[`Component ${e.filename} uses lang ${t} for template, however it is not installed.`]}:wu(e);try{return wu(Su(bu({},e),{source:Eu(e,r),ast:void 0}))}catch(n){return{code:"export default function render() {}",source:e.source,tips:[],errors:[n]}}}function wu({filename:e,id:t,scoped:s,slotted:r,inMap:n,source:i,ast:o,ssr:a=!1,ssrCssVars:c,isProd:l=!1,compiler:h,compilerOptions:p={},transformAssetUrls:u}){const d=[],f=[];let A=[];if(m(u)){const e=Ph(u);A=[(g=e,(e,t)=>Nh(e,t,g)),_h(e)]}else!1!==u&&(A=[Nh,Dh]);var g;a&&!c&&pu("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option."),t||(pu("compileTemplate now requires the `id` option."),t="");const y=t.replace(/^data-v-/,""),x=`data-v-${y}`,b=a?ou:ba;if((h=h||b)!==b&&(o=void 0),null==o?void 0:o.transformed){const e=(a?ba:h).parse(o.source,Su(bu({prefixIdentifiers:!0},p),{parseMode:"sfc",onError:e=>d.push(e)})).children.find(e=>1===e.type&&"template"===e.tag);o=He(e.children,o.source)}let{code:S,ast:E,preamble:v,map:w}=h.compile(o||i,Su(bu({mode:"module",prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:a&&c&&c.length?wa(c,y,l,!0):"",scopeId:s?x:void 0,slotted:r,sourceMap:!0},p),{hmr:!l,nodeTransforms:A.concat(p.nodeTransforms||[]),filename:e,onError:e=>d.push(e),onWarn:e=>f.push(e)}));n&&!o&&(w&&(w=function(e,t){if(!e)return t;if(!t)return e;const s=new Ci.SourceMapConsumer(e),r=new Ci.SourceMapConsumer(t),n=new Ci.SourceMapGenerator;r.eachMapping(e=>{if(null==e.originalLine)return;const t=s.originalPositionFor({line:e.originalLine,column:e.originalColumn});null!=t.source&&n.addMapping({generated:{line:e.generatedLine,column:e.generatedColumn},original:{line:t.line,column:e.originalColumn},source:t.source,name:t.name})});const i=n;return s.sources.forEach(e=>{i._sources.add(e);const t=s.sourceContentFor(e);null!=t&&n.setSourceContent(e,t)}),i._sourceRoot=e.sourceRoot,i._file=e.file,i.toJSON()}(n,w)),d.length&&function(e,t,s){const r=s.sourcesContent[0],n=r.indexOf(t),i=r.slice(0,n).split(/\r?\n/).length-1;e.forEach(e=>{e.loc&&(e.loc.start.line+=i,e.loc.start.offset+=n,e.loc.end!==e.loc.start&&(e.loc.end.line+=i,e.loc.end.offset+=n))})}(d,i,n));const C=f.map(e=>{let t=e.message;return e.loc&&(t+=`\n${D((null==o?void 0:o.source)||i,e.loc.start.offset,e.loc.end.offset)}`),t});return{code:S,ast:E,preamble:v,source:i,errors:d,tips:C,map:w}}var Cu,Iu,Tu,Pu,Nu,ku,Ou,_u,Du,Lu,Mu,Bu={exports:{}};function Ru(){if(Cu)return Bu.exports;Cu=1;let e=ec||{},t=e.argv||[],s=e.env||{},r=!(s.NO_COLOR||t.includes("--no-color"))&&(!!s.FORCE_COLOR||t.includes("--color")||"win32"===e.platform||(e.stdout||{}).isTTY&&"dumb"!==s.TERM||!!s.CI),n=(e,t,s=e)=>r=>{let n=""+r,o=n.indexOf(t,e.length);return~o?e+i(n,t,s,o)+t:e+n+t},i=(e,t,s,r)=>{let n="",i=0;do{n+=e.substring(i,r)+s,i=r+t.length,r=e.indexOf(t,i)}while(~r);return n+e.substring(i)},o=(e=r)=>{let t=e?n:()=>String;return{isColorSupported:e,reset:t("",""),bold:t("","",""),dim:t("","",""),italic:t("",""),underline:t("",""),inverse:t("",""),hidden:t("",""),strikethrough:t("",""),black:t("",""),red:t("",""),green:t("",""),yellow:t("",""),blue:t("",""),magenta:t("",""),cyan:t("",""),white:t("",""),gray:t("",""),bgBlack:t("",""),bgRed:t("",""),bgGreen:t("",""),bgYellow:t("",""),bgBlue:t("",""),bgMagenta:t("",""),bgCyan:t("",""),bgWhite:t("",""),blackBright:t("",""),redBright:t("",""),greenBright:t("",""),yellowBright:t("",""),blueBright:t("",""),magentaBright:t("",""),cyanBright:t("",""),whiteBright:t("",""),bgBlackBright:t("",""),bgRedBright:t("",""),bgGreenBright:t("",""),bgYellowBright:t("",""),bgBlueBright:t("",""),bgMagentaBright:t("",""),bgCyanBright:t("",""),bgWhiteBright:t("","")}};return Bu.exports=o(),Bu.exports.createColors=o,Bu.exports}function Fu(){if(Tu)return Iu;Tu=1;const e="'".charCodeAt(0),t='"'.charCodeAt(0),s="\\".charCodeAt(0),r="/".charCodeAt(0),n="\n".charCodeAt(0),i=" ".charCodeAt(0),o="\f".charCodeAt(0),a="\t".charCodeAt(0),c="\r".charCodeAt(0),l="[".charCodeAt(0),h="]".charCodeAt(0),p="(".charCodeAt(0),u=")".charCodeAt(0),d="{".charCodeAt(0),f="}".charCodeAt(0),m=";".charCodeAt(0),A="*".charCodeAt(0),g=":".charCodeAt(0),y="@".charCodeAt(0),x=/[\t\n\f\r "#'()/;[\\\]{}]/g,b=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,S=/.[\r\n"'(/\\]/,E=/[\da-f]/i;return Iu=function(v,w={}){let C,I,T,P,N,k,O,_,D,L,M=v.css.valueOf(),B=w.ignoreErrors,R=M.length,F=0,U=[],j=[];function G(e){throw v.error("Unclosed "+e,F)}return{back:function(e){j.push(e)},endOfFile:function(){return 0===j.length&&F>=R},nextToken:function(v){if(j.length)return j.pop();if(F>=R)return;let w=!!v&&v.ignoreUnclosed;switch(C=M.charCodeAt(F),C){case n:case i:case a:case c:case o:P=F;do{P+=1,C=M.charCodeAt(P)}while(C===i||C===n||C===a||C===c||C===o);k=["space",M.slice(F,P)],F=P-1;break;case l:case h:case d:case f:case g:case m:case u:{let e=String.fromCharCode(C);k=[e,e,F];break}case p:if(L=U.length?U.pop()[1]:"",D=M.charCodeAt(F+1),"url"===L&&D!==e&&D!==t&&D!==i&&D!==n&&D!==a&&D!==o&&D!==c){P=F;do{if(O=!1,P=M.indexOf(")",P+1),-1===P){if(B||w){P=F;break}G("bracket")}for(_=P;M.charCodeAt(_-1)===s;)_-=1,O=!O}while(O);k=["brackets",M.slice(F,P+1),F,P],F=P}else P=M.indexOf(")",F+1),I=M.slice(F,P+1),-1===P||S.test(I)?k=["(","(",F]:(k=["brackets",I,F,P],F=P);break;case e:case t:N=C===e?"'":'"',P=F;do{if(O=!1,P=M.indexOf(N,P+1),-1===P){if(B||w){P=F+1;break}G("string")}for(_=P;M.charCodeAt(_-1)===s;)_-=1,O=!O}while(O);k=["string",M.slice(F,P+1),F,P],F=P;break;case y:x.lastIndex=F+1,x.test(M),P=0===x.lastIndex?M.length-1:x.lastIndex-2,k=["at-word",M.slice(F,P+1),F,P],F=P;break;case s:for(P=F,T=!0;M.charCodeAt(P+1)===s;)P+=1,T=!T;if(C=M.charCodeAt(P+1),T&&C!==r&&C!==i&&C!==n&&C!==a&&C!==c&&C!==o&&(P+=1,E.test(M.charAt(P)))){for(;E.test(M.charAt(P+1));)P+=1;M.charCodeAt(P+1)===i&&(P+=1)}k=["word",M.slice(F,P+1),F,P],F=P;break;default:C===r&&M.charCodeAt(F+1)===A?(P=M.indexOf("*/",F+2)+1,0===P&&(B||w?P=M.length:G("comment")),k=["comment",M.slice(F,P+1),F,P],F=P):(b.lastIndex=F+1,b.test(M),P=0===b.lastIndex?M.length-1:b.lastIndex-2,k=["word",M.slice(F,P+1),F,P],U.push(k),F=P)}return F++,k},position:function(){return F}}}}function Uu(){if(Nu)return Pu;Nu=1;let e,t=Ru(),s=Fu();const r={";":t.yellow,":":t.yellow,"(":t.cyan,")":t.cyan,"[":t.yellow,"]":t.yellow,"{":t.yellow,"}":t.yellow,"at-word":t.cyan,brackets:t.cyan,call:t.cyan,class:t.yellow,comment:t.gray,hash:t.magenta,string:t.green};function n([e,t],s){if("word"===e){if("."===t[0])return"class";if("#"===t[0])return"hash"}if(!s.endOfFile()){let e=s.nextToken();if(s.back(e),"brackets"===e[0]||"("===e[0])return"call"}return e}function i(t){let i=s(new e(t),{ignoreErrors:!0}),o="";for(;!i.endOfFile();){let e=i.nextToken(),t=r[n(e,i)];o+=t?e[1].split(/\r?\n/).map(e=>t(e)).join("\n"):e[1]}return o}return i.registerInput=function(t){e=t},Pu=i}function ju(){if(Ou)return ku;Ou=1;let e=Ru(),t=Uu();class s extends Error{constructor(e,t,r,n,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),o&&(this.plugin=o),void 0!==t&&void 0!==r&&("number"==typeof t?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,s)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(s){if(!this.source)return"";let r=this.source;null==s&&(s=e.isColorSupported);let n=e=>e,i=e=>e,o=e=>e;if(s){let{bold:s,gray:r,red:a}=e.createColors(!0);i=e=>s(a(e)),n=e=>r(e),t&&(o=e=>t(e))}let a=r.split(/\r?\n/),c=Math.max(this.line-3,0),l=Math.min(this.line+2,a.length),h=String(l).length;return a.slice(c,l).map((e,t)=>{let s=c+1+t,r=" "+(" "+s).slice(-h)+" | ";if(s===this.line){if(e.length>160){let t=20,s=Math.max(0,this.column-t),a=Math.max(this.column+t,this.endColumn+t),c=e.slice(s,a),l=n(r.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return i(">")+n(r)+o(c)+"\n "+l+i("^")}let t=n(r.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+n(r)+o(e)+"\n "+t+i("^")}return" "+n(r)+o(e)}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}return ku=s,s.default=s,ku}function Gu(){if(Du)return _u;Du=1;const e={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class t{constructor(e){this.builder=e}atrule(e,t){let s="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?s+=e.raws.afterName:r&&(s+=" "),e.nodes)this.block(e,s+r);else{let n=(e.raws.between||"")+(t?";":"");this.builder(s+r+n,e)}}beforeAfter(e,t){let s;s="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let r=e.parent,n=0;for(;r&&"root"!==r.type;)n+=1,r=r.parent;if(s.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<n;e++)s+=t}return s}block(e,t){let s,r=this.raw(e,"between","beforeOpen");this.builder(t+r+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),s=this.raw(e,"after")):s=this.raw(e,"after","emptyBody"),s&&this.builder(s),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let s=this.raw(e,"semicolon");for(let r=0;r<e.nodes.length;r++){let n=e.nodes[r],i=this.raw(n,"before");i&&this.builder(i),this.stringify(n,t!==r||s)}}comment(e){let t=this.raw(e,"left","commentLeft"),s=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+s+"*/",e)}decl(e,t){let s=this.raw(e,"between","colon"),r=e.prop+s+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}document(e){this.body(e)}raw(t,s,r){let n;if(r||(r=s),s&&(n=t.raws[s],void 0!==n))return n;let i=t.parent;if("before"===r){if(!i||"root"===i.type&&i.first===t)return"";if(i&&"document"===i.type)return""}if(!i)return e[r];let o=t.root();if(o.rawCache||(o.rawCache={}),void 0!==o.rawCache[r])return o.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(t,r);{let e="raw"+((a=r)[0].toUpperCase()+a.slice(1));this[e]?n=this[e](o,t):o.walk(e=>{if(n=e.raws[s],void 0!==n)return!1})}var a;return void 0===n&&(n=e[r]),o.rawCache[r]=n,n}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let s;return e.walkComments(e=>{if(void 0!==e.raws.before)return s=e.raws.before,s.includes("\n")&&(s=s.replace(/[^\n]+$/,"")),!1}),void 0===s?s=this.raw(t,null,"beforeDecl"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeDecl(e,t){let s;return e.walkDecls(e=>{if(void 0!==e.raws.before)return s=e.raws.before,s.includes("\n")&&(s=s.replace(/[^\n]+$/,"")),!1}),void 0===s?s=this.raw(t,null,"beforeRule"):s&&(s=s.replace(/\S/g,"")),s}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1}),t}rawBeforeRule(e){let t;return e.walk(s=>{if(s.nodes&&(s.parent!==e||e.first!==s)&&void 0!==s.raws.before)return t=s.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(s=>{let r=s.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==s.raws.before){let e=s.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1}),t}rawValue(e,t){let s=e[t],r=e.raws[t];return r&&r.value===s?r.raw:s}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}return _u=t,t.default=t,_u}function Qu(){if(Mu)return Lu;Mu=1;let e=Gu();function t(t,s){new e(s).stringify(t)}return Lu=t,t.default=t,Lu}var Wu,Ku,Vu,Yu,Ju,Hu,$u,Xu,Zu,qu,zu,ed,td,sd,rd,nd={};function id(){return Wu||(Wu=1,nd.isClean=Symbol("isClean"),nd.my=Symbol("my")),nd}function od(){if(Vu)return Ku;Vu=1;let e=ju(),t=Gu(),s=Qu(),{isClean:r,my:n}=id();function i(e,t){let s=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if("proxyCache"===r)continue;let n=e[r],o=typeof n;"parent"===r&&"object"===o?t&&(s[r]=t):"source"===r?s[r]=n:Array.isArray(n)?s[r]=n.map(e=>i(e,s)):("object"===o&&null!==n&&(n=i(n)),s[r]=n)}return s}function o(e,t){if(t&&void 0!==t.offset)return t.offset;let s=1,r=1,n=0;for(let i=0;i<e.length;i++){if(r===t.line&&s===t.column){n=i;break}"\n"===e[i]?(s=1,r+=1):s+=1}return n}class a{get proxyOf(){return this}constructor(e={}){this.raws={},this[r]=!1,this[n]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let s of e[t])"function"==typeof s.clone?this.append(s.clone()):this.append(s)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=i(this);for(let s in e)t[s]=e[s];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(t,s={}){if(this.source){let{end:e,start:r}=this.rangeBy(s);return this.source.input.error(t,{column:r.column,line:r.line},{column:e.column,line:e.line},s)}return new e(t)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,s)=>(e[t]===s||(e[t]=s,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markClean(){this[r]=!0}markDirty(){if(this[r]){this[r]=!1;let e=this;for(;e=e.parent;)e[r]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let s="document"in this.source.input?this.source.input.document:this.source.input.css,r=s.slice(o(s,this.source.start),o(s,this.source.end)).indexOf(e.word);-1!==r&&(t=this.positionInside(r))}return t}positionInside(e){let t=this.source.start.column,s=this.source.start.line,r="document"in this.source.input?this.source.input.document:this.source.input.css,n=o(r,this.source.start),i=n+e;for(let o=n;o<i;o++)"\n"===r[o]?(t=1,s+=1):t+=1;return{column:t,line:s,offset:i}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,s={column:this.source.start.column,line:this.source.start.line,offset:o(t,this.source.start)},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:"number"==typeof this.source.end.offset?this.source.end.offset:o(t,this.source.end)+1}:{column:s.column+1,line:s.line,offset:s.offset+1};if(e.word){let n=t.slice(o(t,this.source.start),o(t,this.source.end)).indexOf(e.word);-1!==n&&(s=this.positionInside(n),r=this.positionInside(n+e.word.length))}else e.start?s={column:e.start.column,line:e.start.line,offset:o(t,e.start)}:e.index&&(s=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line,offset:o(t,e.end)}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<s.line||r.line===s.line&&r.column<=s.column)&&(r={column:s.column+1,line:s.line,offset:s.offset+1}),{end:r,start:s}}raw(e,s){return(new t).raw(this,e,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,s=!1;for(let r of e)r===this?s=!0:s?(this.parent.insertAfter(t,r),t=r):this.parent.insertBefore(t,r);s||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let s={},r=null==t;t=t||new Map;let n=0;for(let i in this){if(!Object.prototype.hasOwnProperty.call(this,i))continue;if("parent"===i||"proxyCache"===i)continue;let e=this[i];if(Array.isArray(e))s[i]=e.map(e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof e&&e.toJSON)s[i]=e.toJSON(null,t);else if("source"===i){if(null==e)continue;let r=t.get(e.input);null==r&&(r=n,t.set(e.input,n),n++),s[i]={end:e.end,inputId:r,start:e.start}}else s[i]=e}return r&&(s.inputs=[...t.keys()].map(e=>e.toJSON())),s}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=s){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}warn(e,t,s={}){let r={node:this};for(let n in s)r[n]=s[n];return e.warn(t,r)}}return Ku=a,a.default=a,Ku}function ad(){if(Ju)return Yu;Ju=1;let e=od();class t extends e{constructor(e){super(e),this.type="comment"}}return Yu=t,t.default=t,Yu}function cd(){if($u)return Hu;$u=1;let e=od();class t extends e{get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}}return Hu=t,t.default=t,Hu}function ld(){if(Zu)return Xu;Zu=1;let e,t,s,r,n=ad(),i=cd(),o=od(),{isClean:a,my:c}=id();function l(e){return e.map(e=>(e.nodes&&(e.nodes=l(e.nodes)),delete e.source,e))}function h(e){if(e[a]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)h(t)}class p extends o{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,s,r=this.getIterator();for(;this.indexes[r]<this.proxyOf.nodes.length&&(t=this.indexes[r],s=e(this.proxyOf.nodes[t],t),!1!==s);)this.indexes[r]+=1;return delete this.indexes[r],s}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...s)=>e[t](...s.map(e=>"function"==typeof e?(t,s)=>e(t.toProxy(),s):e)):"every"===t||"some"===t?s=>e[t]((e,...t)=>s(e.toProxy(),...t)):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map(e=>e.toProxy()):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,s)=>(e[t]===s||(e[t]=s,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let s,r=this.index(e),n=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let i of n)this.proxyOf.nodes.splice(r+1,0,i);for(let i in this.indexes)s=this.indexes[i],r<s&&(this.indexes[i]=s+n.length);return this.markDirty(),this}insertBefore(e,t){let s,r=this.index(e),n=0===r&&"prepend",i=this.normalize(t,this.proxyOf.nodes[r],n).reverse();r=this.index(e);for(let o of i)this.proxyOf.nodes.splice(r,0,o);for(let o in this.indexes)s=this.indexes[o],r<=s&&(this.indexes[o]=s+i.length);return this.markDirty(),this}normalize(s,o){if("string"==typeof s)s=l(t(s).nodes);else if(void 0===s)s=[];else if(Array.isArray(s)){s=s.slice(0);for(let e of s)e.parent&&e.parent.removeChild(e,"ignore")}else if("root"===s.type&&"document"!==this.type){s=s.nodes.slice(0);for(let e of s)e.parent&&e.parent.removeChild(e,"ignore")}else if(s.type)s=[s];else if(s.prop){if(void 0===s.value)throw new Error("Value field is missed in node creation");"string"!=typeof s.value&&(s.value=String(s.value)),s=[new i(s)]}else if(s.selector||s.selectors)s=[new r(s)];else if(s.name)s=[new e(s)];else{if(!s.text)throw new Error("Unknown node type in node creation");s=[new n(s)]}return s.map(e=>(e[c]||p.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[a]&&h(e),e.raws||(e.raws={}),void 0===e.raws.before&&o&&void 0!==o.raws.before&&(e.raws.before=o.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let s in this.indexes)t=this.indexes[s],t>=e&&(this.indexes[s]=t-1);return this.markDirty(),this}replaceValues(e,t,s){return s||(s=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||t.fast&&!r.value.includes(t.fast)||(r.value=r.value.replace(e,s))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,s)=>{let r;try{r=e(t,s)}catch(n){throw t.addToError(n)}return!1!==r&&t.walk&&(r=t.walk(e)),r})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((s,r)=>{if("atrule"===s.type&&e.test(s.name))return t(s,r)}):this.walk((s,r)=>{if("atrule"===s.type&&s.name===e)return t(s,r)}):(t=e,this.walk((e,s)=>{if("atrule"===e.type)return t(e,s)}))}walkComments(e){return this.walk((t,s)=>{if("comment"===t.type)return e(t,s)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((s,r)=>{if("decl"===s.type&&e.test(s.prop))return t(s,r)}):this.walk((s,r)=>{if("decl"===s.type&&s.prop===e)return t(s,r)}):(t=e,this.walk((e,s)=>{if("decl"===e.type)return t(e,s)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((s,r)=>{if("rule"===s.type&&e.test(s.selector))return t(s,r)}):this.walk((s,r)=>{if("rule"===s.type&&s.selector===e)return t(s,r)}):(t=e,this.walk((e,s)=>{if("rule"===e.type)return t(e,s)}))}}return p.registerParse=e=>{t=e},p.registerRule=e=>{r=e},p.registerAtRule=t=>{e=t},p.registerRoot=e=>{s=e},Xu=p,p.default=p,p.rebuild=t=>{"atrule"===t.type?Object.setPrototypeOf(t,e.prototype):"rule"===t.type?Object.setPrototypeOf(t,r.prototype):"decl"===t.type?Object.setPrototypeOf(t,i.prototype):"comment"===t.type?Object.setPrototypeOf(t,n.prototype):"root"===t.type&&Object.setPrototypeOf(t,s.prototype),t[c]=!0,t.nodes&&t.nodes.forEach(e=>{p.rebuild(e)})},Xu}function hd(){if(zu)return qu;zu=1;let e=ld();class t extends e{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}return qu=t,t.default=t,e.registerAtRule(t),qu}function pd(){if(td)return ed;td=1;let e,t,s=ld();class r extends s{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(s={}){return new e(new t,this,s).stringify()}}return r.registerLazyResult=t=>{e=t},r.registerProcessor=e=>{t=e},ed=r,r.default=r,ed}function ud(){if(rd)return sd;rd=1;return sd={nanoid:(e=21)=>{let t="",s=0|e;for(;s--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(s=t)=>{let r="",n=0|s;for(;n--;)r+=e[Math.random()*e.length|0];return r}}}var dd,fd,md,Ad,gd,yd,xd,bd,Sd,Ed,vd,wd,Cd,Id,Td,Pd,Nd,kd,Od,_d,Dd,Ld,Md,Bd,Rd,Fd,Ud,jd,Gd,Qd,Wd,Kd,Vd=$s(uh);function Yd(){if(fd)return dd;fd=1;let{existsSync:e,readFileSync:t}=au,{dirname:s,join:r}=cu,{SourceMapConsumer:n,SourceMapGenerator:i}=wi();class o{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new n(this.text)),this.consumerCache}decodeInline(e){let t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));let s=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(s)return r=e.substr(s[0].length),Dt?Dt.from(r,"base64").toString():window.atob(r);var r;let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let s=e.lastIndexOf(t.pop()),r=e.indexOf("*/",s);s>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(s,r)))}loadFile(r){if(this.root=s(r),e(r))return this.mapFile=r,t(r,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof n)return i.fromSourceMap(t).toString();if(t instanceof i)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let s=t(e);if(s){let e=this.loadFile(s);if(!e)throw new Error("Unable to load previous source map: "+s.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=r(s(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}return dd=o,o.default=o,dd}function Jd(){if(Ad)return md;Ad=1;let{nanoid:e}=ud(),{isAbsolute:t,resolve:s}=cu,{SourceMapConsumer:r,SourceMapGenerator:n}=wi(),{fileURLToPath:i,pathToFileURL:o}=Vd,a=ju(),c=Yd(),l=Uu(),h=Symbol("lineToIndexCache"),p=Boolean(r&&n),u=Boolean(s&&t);function d(e){if(e[h])return e[h];let t=e.css.split("\n"),s=new Array(t.length),r=0;for(let n=0,i=t.length;n<i;n++)s[n]=r,r+=t[n].length+1;return e[h]=s,s}class f{get from(){return this.file||this.id}constructor(r,n={}){if(null==r||"object"==typeof r&&!r.toString)throw new Error(`PostCSS received ${r} instead of CSS string`);if(this.css=r.toString(),"\ufeff"===this.css[0]||"￾"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,n.document&&(this.document=n.document.toString()),n.from&&(!u||/^\w+:\/\//.test(n.from)||t(n.from)?this.file=n.from:this.file=s(n.from)),u&&p){let e=new c(this.css,n);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+e(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,s,r={}){let n,i,c,l,h;if(t&&"object"==typeof t){let e=t,r=s;if("number"==typeof e.offset){l=e.offset;let r=this.fromOffset(l);t=r.line,s=r.col}else t=e.line,s=e.column,l=this.fromLineAndColumn(t,s);if("number"==typeof r.offset){c=r.offset;let e=this.fromOffset(c);i=e.line,n=e.col}else i=r.line,n=r.column,c=this.fromLineAndColumn(r.line,r.column)}else if(s)l=this.fromLineAndColumn(t,s);else{l=t;let e=this.fromOffset(l);t=e.line,s=e.col}let p=this.origin(t,s,i,n);return h=p?new a(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,r.plugin):new a(e,void 0===i?t:{column:s,line:t},void 0===i?s:{column:n,line:i},this.css,this.file,r.plugin),h.input={column:s,endColumn:n,endLine:i,endOffset:c,line:t,offset:l,source:this.css},this.file&&(o&&(h.input.url=o(this.file).toString()),h.input.file=this.file),h}fromLineAndColumn(e,t){return d(this)[e-1]+t-1}fromOffset(e){let t=d(this),s=0;if(e>=t[t.length-1])s=t.length-1;else{let r,n=t.length-2;for(;s<n;)if(r=s+(n-s>>1),e<t[r])n=r-1;else{if(!(e>=t[r+1])){s=r;break}s=r+1}}return{col:e-t[s]+1,line:s+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:s(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,s,r,n){if(!this.map)return!1;let a,c,l=this.map.consumer(),h=l.originalPositionFor({column:s,line:e});if(!h.source)return!1;"number"==typeof r&&(a=l.originalPositionFor({column:n,line:r})),c=t(h.source)?o(h.source):new URL(h.source,this.map.consumer().sourceRoot||o(this.map.mapFile));let p={column:h.column,endColumn:a&&a.column,endLine:a&&a.line,line:h.line,url:c.toString()};if("file:"===c.protocol){if(!i)throw new Error("file: protocol is not available in this PostCSS build");p.file=i(c)}let u=l.sourceContentFor(h.source);return u&&(p.source=u),p}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}return md=f,f.default=f,l&&l.registerInput&&l.registerInput(f),md}function Hd(){if(yd)return gd;yd=1;let e,t,s=ld();class r extends s{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,s){let r=super.normalize(e);if(t)if("prepend"===s)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let n of r)n.raws.before=t.raws.before;return r}removeChild(e,t){let s=this.index(e);return!t&&0===s&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[s].raws.before),super.removeChild(e)}toResult(s={}){return new e(new t,this,s).stringify()}}return r.registerLazyResult=t=>{e=t},r.registerProcessor=e=>{t=e},gd=r,r.default=r,s.registerRoot(r),gd}function $d(){if(bd)return xd;bd=1;let e={comma:t=>e.split(t,[","],!0),space:t=>e.split(t,[" ","\n","\t"]),split(e,t,s){let r=[],n="",i=!1,o=0,a=!1,c="",l=!1;for(let h of e)l?l=!1:"\\"===h?l=!0:a?h===c&&(a=!1):'"'===h||"'"===h?(a=!0,c=h):"("===h?o+=1:")"===h?o>0&&(o-=1):0===o&&t.includes(h)&&(i=!0),i?(""!==n&&r.push(n.trim()),n="",i=!1):n+=h;return(s||""!==n)&&r.push(n.trim()),r}};return xd=e,e.default=e,xd}function Xd(){if(Ed)return Sd;Ed=1;let e=ld(),t=$d();class s extends e{get selectors(){return t.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,s=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(s)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}}return Sd=s,s.default=s,e.registerRule(s),Sd}function Zd(){if(wd)return vd;wd=1;let e=hd(),t=ad(),s=cd(),r=Jd(),n=Yd(),i=Hd(),o=Xd();function a(c,l){if(Array.isArray(c))return c.map(e=>a(e));let{inputs:h,...p}=c;if(h){l=[];for(let e of h){let t={...e,__proto__:r.prototype};t.map&&(t.map={...t.map,__proto__:n.prototype}),l.push(t)}}if(p.nodes&&(p.nodes=c.nodes.map(e=>a(e,l))),p.source){let{inputId:e,...t}=p.source;p.source=t,null!=e&&(p.source.input=l[e])}if("root"===p.type)return new i(p);if("decl"===p.type)return new s(p);if("rule"===p.type)return new o(p);if("comment"===p.type)return new t(p);if("atrule"===p.type)return new e(p);throw new Error("Unknown node type: "+c.type)}return vd=a,a.default=a,vd}function qd(){if(Id)return Cd;Id=1;let{dirname:e,relative:t,resolve:s,sep:r}=cu,{SourceMapConsumer:n,SourceMapGenerator:i}=wi(),{pathToFileURL:o}=Vd,a=Jd(),c=Boolean(n&&i),l=Boolean(e&&s&&t&&r);return Cd=class{constructor(e,t,s,r){this.stringify=e,this.mapOpts=s.map||{},this.root=t,this.opts=s,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let t of this.previous()){let s,r=this.toUrl(this.path(t.file)),i=t.root||e(t.file);!1===this.mapOpts.sourcesContent?(s=new n(t.text),s.sourcesContent&&(s.sourcesContent=null)):s=t.consumer(),this.map.applySourceMap(s,r,this.toUrl(this.path(i)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else if(this.css){let e;for(;-1!==(e=this.css.lastIndexOf("/*#"));){let t=this.css.indexOf("*/",e+3);if(-1===t)break;for(;e>0&&"\n"===this.css[e-1];)e--;this.css=this.css.slice(0,e)+this.css.slice(t+2)}}}generate(){if(this.clearAnnotation(),l&&c&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=i.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new i({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,s=1,r=1,n="<no source>",o={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(i,a,c)=>{if(this.css+=i,a&&"end"!==c&&(o.generated.line=s,o.generated.column=r-1,a.source&&a.source.start?(o.source=this.sourcePath(a),o.original.line=a.source.start.line,o.original.column=a.source.start.column-1,this.map.addMapping(o)):(o.source=n,o.original.line=1,o.original.column=0,this.map.addMapping(o))),t=i.match(/\n/g),t?(s+=t.length,e=i.lastIndexOf("\n"),r=i.length-e):r+=i.length,a&&"start"!==c){let e=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===e.last&&!e.raws.semicolon||(a.source&&a.source.end?(o.source=this.sourcePath(a),o.original.line=a.source.end.line,o.original.column=a.source.end.column-1,o.generated.line=s,o.generated.column=r-2,this.map.addMapping(o)):(o.source=n,o.original.line=1,o.original.column=0,o.generated.line=s,o.generated.column=r-1,this.map.addMapping(o)))}})}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(r){if(this.mapOpts.absolute)return r;if(60===r.charCodeAt(0))return r;if(/^\w+:\/\//.test(r))return r;let n=this.memoizedPaths.get(r);if(n)return n;let i=this.opts.to?e(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(i=e(s(i,this.mapOpts.annotation)));let o=t(i,r);return this.memoizedPaths.set(r,o),o}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new a(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let s=t.source.input.from;if(s&&!e[s]){e[s]=!0;let r=this.usesFileUrls?this.toFileUrl(s):this.toUrl(this.path(s));this.map.setSourceContent(r,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Dt?Dt.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(o){let t=o(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===r&&(e=e.replace(/\\/g,"/"));let s=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,s),s}}}function zd(){if(Pd)return Td;Pd=1;let e=hd(),t=ad(),s=cd(),r=Hd(),n=Xd(),i=Fu();const o={empty:!0,space:!0};return Td=class{constructor(e){this.input=e,this.root=new r,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(t){let s,r,n,i=new e;i.name=t[1].slice(1),""===i.name&&this.unnamedAtrule(i,t),this.init(i,t[2]);let o=!1,a=!1,c=[],l=[];for(;!this.tokenizer.endOfFile();){if(s=(t=this.tokenizer.nextToken())[0],"("===s||"["===s?l.push("("===s?")":"]"):"{"===s&&l.length>0?l.push("}"):s===l[l.length-1]&&l.pop(),0===l.length){if(";"===s){i.source.end=this.getPosition(t[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===s){a=!0;break}if("}"===s){if(c.length>0){for(n=c.length-1,r=c[n];r&&"space"===r[0];)r=c[--n];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(t);break}c.push(t)}else c.push(t);if(this.tokenizer.endOfFile()){o=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(i.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(i,"params",c),o&&(t=c[c.length-1],i.source.end=this.getPosition(t[3]||t[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),a&&(i.nodes=[],this.current=i)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let s,r=0;for(let n=t-1;n>=0&&(s=e[n],"space"===s[0]||(r+=1,2!==r));n--);throw this.input.error("Missed semicolon","word"===s[0]?s[3]+1:s[2])}colon(e){let t,s,r,n=0;for(let[i,o]of e.entries()){if(s=o,r=s[0],"("===r&&(n+=1),")"===r&&(n-=1),0===n&&":"===r){if(t){if("word"===t[0]&&"progid"===t[1])continue;return i}this.doubleColon(s)}t=s}return!1}comment(e){let s=new t;this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]),s.source.end.offset++;let r=e[1].slice(2,-2);if(r.trim()){let e=r.match(/^(\s*)([^]*\S)(\s*)$/);s.text=e[2],s.raws.left=e[1],s.raws.right=e[3]}else s.text="",s.raws.left=r,s.raws.right=""}createTokenizer(){this.tokenizer=i(this.input)}decl(e,t){let r=new s;this.init(r,e[0][2]);let n,i=e[e.length-1];for(";"===i[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(i[3]||i[2]||function(e){for(let t=e.length-1;t>=0;t--){let s=e[t],r=s[3]||s[2];if(r)return r}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(n=e.shift(),":"===n[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o,a=[];for(;e.length&&(o=e[0][0],"space"===o||"comment"===o);)a.push(e.shift());this.precheckMissedSemicolon(e);for(let s=e.length-1;s>=0;s--){if(n=e[s],"!important"===n[1].toLowerCase()){r.important=!0;let t=this.stringFrom(e,s);t=this.spacesFromEnd(e)+t," !important"!==t&&(r.raws.important=t);break}if("important"===n[1].toLowerCase()){let t=e.slice(0),n="";for(let e=s;e>0;e--){let s=t[e][0];if(n.trim().startsWith("!")&&"space"!==s)break;n=t.pop()[1]+n}n.trim().startsWith("!")&&(r.important=!0,r.raws.important=n,e=t)}if("space"!==n[0]&&"comment"!==n[0])break}e.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(r.raws.between+=a.map(e=>e[1]).join(""),a=[]),this.raw(r,"value",a.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new n;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,s=null,r=!1,n=null,i=[],o=e[1].startsWith("--"),a=[],c=e;for(;c;){if(s=c[0],a.push(c),"("===s||"["===s)n||(n=c),i.push("("===s?")":"]");else if(o&&r&&"{"===s)n||(n=c),i.push("}");else if(0===i.length){if(";"===s){if(r)return void this.decl(a,o);break}if("{"===s)return void this.rule(a);if("}"===s){this.tokenizer.back(a.pop()),t=!0;break}":"===s&&(r=!0)}else s===i[i.length-1]&&(i.pop(),0===i.length&&(n=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(n),t&&r){if(!o)for(;a.length&&(c=a[a.length-1][0],"space"===c||"comment"===c);)this.tokenizer.back(a.pop());this.decl(a,o)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,s,r){let n,i,a,c,l=s.length,h="",p=!0;for(let u=0;u<l;u+=1)n=s[u],i=n[0],"space"!==i||u!==l-1||r?"comment"===i?(c=s[u-1]?s[u-1][0]:"empty",a=s[u+1]?s[u+1][0]:"empty",o[c]||o[a]||","===h.slice(-1)?p=!1:h+=n[1]):h+=n[1]:p=!1;if(!p){let r=s.reduce((e,t)=>e+t[1],"");e.raws[t]={raw:r,value:h}}e[t]=h}rule(e){e.pop();let t=new n;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,s="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)s=e.pop()[1]+s;return s}spacesAndCommentsFromStart(e){let t,s="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)s+=e.shift()[1];return s}spacesFromEnd(e){let t,s="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)s=e.pop()[1]+s;return s}stringFrom(e,t){let s="";for(let r=t;r<e.length;r++)s+=e[r][1];return e.splice(t,e.length-t),s}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}}function ef(){if(kd)return Nd;kd=1;let e=ld(),t=Jd(),s=zd();function r(e,r){let n=new t(e,r),i=new s(n);try{i.parse()}catch(o){throw"production"!==ec.env.NODE_ENV&&"CssSyntaxError"===o.name&&r&&r.from&&(/\.scss$/i.test(r.from)?o.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(r.from)?o.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(r.from)&&(o.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),o}return i.root}return Nd=r,r.default=r,e.registerParse(r),Nd}function tf(){if(_d)return Od;_d=1;class e{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let s in t)this[s]=t[s]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}return Od=e,e.default=e,Od}function sf(){if(Ld)return Dd;Ld=1;let e=tf();class t{get content(){return this.css}constructor(e,t,s){this.processor=e,this.messages=[],this.root=t,this.opts=s,this.css="",this.map=void 0}toString(){return this.css}warn(t,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let r=new e(t,s);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>"warning"===e.type)}}return Dd=t,t.default=t,Dd}function rf(){if(Bd)return Md;Bd=1;let e={};return Md=function(t){e[t]||(e[t]=!0,"undefined"!=typeof console&&console.warn&&console.warn(t))}}function nf(){if(Fd)return Rd;Fd=1;let e=ld(),t=pd(),s=qd(),r=ef(),n=sf(),i=Hd(),o=Qu(),{isClean:a,my:c}=id(),l=rf();const h={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},u={Once:!0,postcssPlugin:!0,prepare:!0};function d(e){return"object"==typeof e&&"function"==typeof e.then}function f(e){let t=!1,s=h[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[s,s+"-"+t,0,s+"Exit",s+"Exit-"+t]:t?[s,s+"-"+t,s+"Exit",s+"Exit-"+t]:e.append?[s,0,s+"Exit"]:[s,s+"Exit"]}function m(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:f(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function A(e){return e[a]=!1,e.nodes&&e.nodes.forEach(e=>A(e)),e}let g={};class y{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(t,s,i){let o;if(this.stringified=!1,this.processed=!1,"object"!=typeof s||null===s||"root"!==s.type&&"document"!==s.type)if(s instanceof y||s instanceof n)o=A(s.root),s.map&&(void 0===i.map&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=s.map);else{let t=r;i.syntax&&(t=i.syntax.parse),i.parser&&(t=i.parser),t.parse&&(t=t.parse);try{o=t(s,i)}catch(a){this.processed=!0,this.error=a}o&&!o[c]&&e.rebuild(o)}else o=A(s);this.result=new n(t,o,i),this.helpers={...g,postcss:g,result:this.result},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let s=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(s.postcssVersion&&"production"!==ec.env.NODE_ENV){let e=s.postcssPlugin,t=s.postcssVersion,r=this.result.processor.version,n=t.split("."),i=r.split(".");(n[0]!==i[0]||parseInt(n[1])>parseInt(i[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+r+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}else e.plugin=s.postcssPlugin,e.setMessage()}catch(r){console&&console.error&&console.error(r)}return e}prepareVisitors(){this.listeners={};let e=(e,t,s)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,s])};for(let t of this.plugins)if("object"==typeof t)for(let s in t){if(!p[s]&&/^[A-Z]/.test(s))throw new Error(`Unknown event ${s} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!u[s])if("object"==typeof t[s])for(let r in t[s])e(t,"*"===r?s:s+"-"+r.toLowerCase(),t[s][r]);else"function"==typeof t[s]&&e(t,s,t[s])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let s=0;s<this.plugins.length;s++){let t=this.plugins[s],r=this.runOnRoot(t);if(d(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[a];){e[a]=!0;let s=[m(e)];for(;s.length>0;){let e=this.visitTick(s);if(d(e))try{await e}catch(t){let e=s[s.length-1].node;throw this.handleError(t,e)}}}if(this.listeners.OnceExit)for(let[s,r]of this.listeners.OnceExit){this.result.lastPlugin=s;try{if("document"===e.type){let t=e.nodes.map(e=>r(e,this.helpers));await Promise.all(t)}else await r(e,this.helpers)}catch(t){throw this.handleError(t)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return d(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=o;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new s(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(d(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[a];)e[a]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return"production"!==ec.env.NODE_ENV&&("from"in this.opts||l("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(s){throw this.handleError(s,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(d(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:s,visitors:r}=t;if("root"!==s.type&&"document"!==s.type&&!s.parent)return void e.pop();if(r.length>0&&t.visitorIndex<r.length){let[e,n]=r[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===r.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return n(s.toProxy(),this.helpers)}catch(i){throw this.handleError(i,s)}}if(0!==t.iterator){let r,n=t.iterator;for(;r=s.nodes[s.indexes[n]];)if(s.indexes[n]+=1,!r[a])return r[a]=!0,void e.push(m(r));t.iterator=0,delete s.indexes[n]}let n=t.events;for(;t.eventIndex<n.length;){let e=n[t.eventIndex];if(t.eventIndex+=1,0===e)return void(s.nodes&&s.nodes.length&&(s[a]=!0,t.iterator=s.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[a]=!0;let t=f(e);for(let s of t)if(0===s)e.nodes&&e.each(e=>{e[a]||this.walkSync(e)});else{let t=this.listeners[s];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}}return y.registerPostcss=e=>{g=e},Rd=y,y.default=y,i.registerLazyResult(y),t.registerLazyResult(y),Rd}function of(){if(jd)return Ud;jd=1;let e=qd(),t=ef();const s=sf();let r=Qu(),n=rf();class i{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,s=t;try{e=s(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(t,n,i){n=n.toString(),this.stringified=!1,this._processor=t,this._css=n,this._opts=i,this._map=void 0;let o=r;this.result=new s(this._processor,void 0,this._opts),this.result.css=n;let a=this;Object.defineProperty(this.result,"root",{get:()=>a.root});let c=new e(o,void 0,this._opts,n);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return"production"!==ec.env.NODE_ENV&&("from"in this._opts||n("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this._css}warnings(){return[]}}return Ud=i,i.default=i,Ud}function af(){if(Qd)return Gd;Qd=1;let e=pd(),t=nf(),s=of(),r=Hd();class n{constructor(e=[]){this.version="8.5.8",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let s of e)if(!0===s.postcss?s=s():s.postcss&&(s=s.postcss),"object"==typeof s&&Array.isArray(s.plugins))t=t.concat(s.plugins);else if("object"==typeof s&&s.postcssPlugin)t.push(s);else if("function"==typeof s)t.push(s);else{if("object"!=typeof s||!s.parse&&!s.stringify)throw new Error(s+" is not a PostCSS plugin");if("production"!==ec.env.NODE_ENV)throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}return t}process(e,r={}){return this.plugins.length||r.parser||r.stringifier||r.syntax?new t(this,e,r):new s(this,e,r)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}return Gd=n,n.default=n,r.registerProcessor(n),e.registerProcessor(n),Gd}function cf(){if(Kd)return Wd;Kd=1;let e=hd(),t=ad(),s=ld(),r=ju(),n=cd(),i=pd(),o=Zd(),a=Jd(),c=nf(),l=$d(),h=od(),p=ef(),u=af(),d=sf(),f=Hd(),m=Xd(),A=Qu(),g=tf();function y(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new u(e)}return y.plugin=function(e,t){let s,r=!1;function n(...s){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),ec.env.LANG&&ec.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let n=t(...s);return n.postcssPlugin=e,n.postcssVersion=(new u).version,n}return Object.defineProperty(n,"postcss",{get:()=>(s||(s=n()),s)}),n.process=function(e,t,s){return y([n(s)]).process(e,t)},n},y.stringify=A,y.parse=p,y.fromJSON=o,y.list=l,y.comment=e=>new t(e),y.atRule=t=>new e(t),y.decl=e=>new n(e),y.rule=e=>new m(e),y.root=e=>new f(e),y.document=e=>new i(e),y.CssSyntaxError=r,y.Declaration=n,y.Container=s,y.Processor=u,y.Document=i,y.Comment=t,y.Warning=g,y.AtRule=e,y.Result=d,y.Input=a,y.Rule=m,y.Root=f,y.Node=h,c.registerPostcss(y),Wd=y,y.default=y,Wd}var lf=Hs(cf());lf.stringify,lf.fromJSON,lf.plugin,lf.parse,lf.list,lf.document,lf.comment,lf.atRule,lf.rule,lf.decl,lf.root,lf.CssSyntaxError,lf.Declaration,lf.Container,lf.Processor,lf.Document,lf.Comment,lf.Warning,lf.AtRule,lf.Result,lf.Input;const hf=lf.Rule;lf.Root,lf.Node;const pf=()=>({postcssPlugin:"vue-sfc-trim",Once(e){e.walk(({type:e,raws:t})=>{"rule"!==e&&"atrule"!==e||(t.before&&(t.before="\n"),"after"in t&&t.after&&(t.after="\n"))})}});pf.postcss=!0;var uf,df={exports:{}},ff={exports:{}},mf={exports:{}},Af={exports:{}},gf={exports:{}},yf={exports:{}},xf={},bf={exports:{}};function Sf(){return uf||(uf=1,function(e,t){function s(e){for(var t=e.toLowerCase(),s="",r=!1,n=0;n<6&&void 0!==t[n];n++){var i=t.charCodeAt(n);if(r=32===i,!(i>=97&&i<=102||i>=48&&i<=57))break;s+=t[n]}if(0!==s.length){var o=parseInt(s,16);return o>=55296&&o<=57343||0===o||o>1114111?["�",s.length+(r?1:0)]:[String.fromCodePoint(o),s.length+(r?1:0)]}}t.__esModule=!0,t.default=function(e){if(!r.test(e))return e;for(var t="",n=0;n<e.length;n++)if("\\"!==e[n])t+=e[n];else{var i=s(e.slice(n+1,n+7));if(void 0!==i){t+=i[0],n+=i[1];continue}if("\\"===e[n+1]){t+="\\",n++;continue}e.length===n+1&&(t+=e[n])}return t};var r=/\\/;e.exports=t.default}(bf,bf.exports)),bf.exports}var Ef,vf={exports:{}};function wf(){return Ef||(Ef=1,e=vf,(t=vf.exports).__esModule=!0,t.default=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),r=1;r<t;r++)s[r-1]=arguments[r];for(;s.length>0;){var n=s.shift();if(!e[n])return;e=e[n]}return e},e.exports=t.default),vf.exports;var e,t}var Cf,If={exports:{}};function Tf(){return Cf||(Cf=1,e=If,(t=If.exports).__esModule=!0,t.default=function(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),r=1;r<t;r++)s[r-1]=arguments[r];for(;s.length>0;){var n=s.shift();e[n]||(e[n]={}),e=e[n]}},e.exports=t.default),If.exports;var e,t}var Pf,Nf,kf,Of={exports:{}};function _f(){return Pf||(Pf=1,e=Of,(t=Of.exports).__esModule=!0,t.default=function(e){for(var t="",s=e.indexOf("/*"),r=0;s>=0;){t+=e.slice(r,s);var n=e.indexOf("*/",s+2);if(n<0)return t;r=n+2,s=e.indexOf("/*",r)}return t+=e.slice(r)},e.exports=t.default),Of.exports;var e,t}function Df(){if(Nf)return xf;Nf=1,xf.__esModule=!0,xf.unesc=xf.stripComments=xf.getProp=xf.ensureObject=void 0;var e=n(Sf());xf.unesc=e.default;var t=n(wf());xf.getProp=t.default;var s=n(Tf());xf.ensureObject=s.default;var r=n(_f());function n(e){return e&&e.__esModule?e:{default:e}}return xf.stripComments=r.default,xf}function Lf(){return kf||(kf=1,function(e,t){t.__esModule=!0,t.default=void 0;var s=Df();function r(e,t,s){return t&&function(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var n=function e(t,s){if("object"!=typeof t||null===t)return t;var r=new t.constructor;for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];"parent"===n&&"object"===typeof i?s&&(r[n]=s):r[n]=i instanceof Array?i.map(function(t){return e(t,r)}):e(i,r)}return r},i=function(){function e(e){void 0===e&&(e={}),Object.assign(this,e),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var t=e.prototype;return t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},t.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.clone=function(e){void 0===e&&(e={});var t=n(this);for(var s in e)t[s]=e[s];return t},t.appendToPropertyAndEscape=function(e,t,s){this.raws||(this.raws={});var r=this[e],n=this.raws[e];this[e]=r+t,n||s!==t?this.raws[e]=(n||r)+s:delete this.raws[e]},t.setPropertyAndEscape=function(e,t,s){this.raws||(this.raws={}),this[e]=t,this.raws[e]=s},t.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},t.isAtPosition=function(e,t){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>e)&&(!(this.source.end.line<e)&&(!(this.source.start.line===e&&this.source.start.column>t)&&!(this.source.end.line===e&&this.source.end.column<t)))},t.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},t.valueToString=function(){return String(this.stringifyProperty("value"))},t.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},r(e,[{key:"rawSpaceBefore",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.before;return void 0===e&&(e=this.spaces&&this.spaces.before),e||""},set:function(e){(0,s.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=e}},{key:"rawSpaceAfter",get:function(){var e=this.raws&&this.raws.spaces&&this.raws.spaces.after;return void 0===e&&(e=this.spaces.after),e||""},set:function(e){(0,s.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=e}}]),e}();t.default=i,e.exports=t.default}(yf,yf.exports)),yf.exports}var Mf,Bf,Rf,Ff={};function Uf(){if(Mf)return Ff;Mf=1,Ff.__esModule=!0,Ff.UNIVERSAL=Ff.TAG=Ff.STRING=Ff.SELECTOR=Ff.ROOT=Ff.PSEUDO=Ff.NESTING=Ff.ID=Ff.COMMENT=Ff.COMBINATOR=Ff.CLASS=Ff.ATTRIBUTE=void 0;Ff.TAG="tag";Ff.STRING="string";Ff.SELECTOR="selector";Ff.ROOT="root";Ff.PSEUDO="pseudo";Ff.NESTING="nesting";Ff.ID="id";Ff.COMMENT="comment";Ff.COMBINATOR="combinator";Ff.CLASS="class";Ff.ATTRIBUTE="attribute";return Ff.UNIVERSAL="universal",Ff}function jf(){return Bf||(Bf=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=Lf())&&s.__esModule?s:{default:s},n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var s=i(t);if(s&&s.has(e))return s.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}r.default=e,s&&s.set(e,r);return r}(Uf());function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,s=new WeakMap;return(i=function(e){return e?s:t})(e)}function o(e,t){var s="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(s)return(s=s.call(e)).next.bind(s);if(Array.isArray(e)||(s=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var s=Object.prototype.toString.call(e).slice(8,-1);"Object"===s&&e.constructor&&(s=e.constructor.name);if("Map"===s||"Set"===s)return Array.from(e);if("Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return a(e,t)}(e))||t){s&&(e=s);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var s=0,r=new Array(t);s<t;s++)r[s]=e[s];return r}function c(e,t,s){return t&&function(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t){return(l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var h=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).nodes||(s.nodes=[]),s}s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,l(t,s);var i=r.prototype;return i.append=function(e){return e.parent=this,this.nodes.push(e),this},i.prepend=function(e){for(var t in e.parent=this,this.nodes.unshift(e),this.indexes)this.indexes[t]++;return this},i.at=function(e){return this.nodes[e]},i.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},i.removeChild=function(e){var t;for(var s in e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[s])>=e&&(this.indexes[s]=t-1);return this},i.removeAll=function(){for(var e,t=o(this.nodes);!(e=t()).done;){e.value.parent=void 0}return this.nodes=[],this},i.empty=function(){return this.removeAll()},i.insertAfter=function(e,t){var s;t.parent=this;for(var r,n=this.index(e),i=[],o=2;o<arguments.length;o++)i.push(arguments[o]);for(var a in(s=this.nodes).splice.apply(s,[n+1,0,t].concat(i)),t.parent=this,this.indexes)n<(r=this.indexes[a])&&(this.indexes[a]=r+arguments.length-1);return this},i.insertBefore=function(e,t){var s;t.parent=this;for(var r,n=this.index(e),i=[],o=2;o<arguments.length;o++)i.push(arguments[o]);for(var a in(s=this.nodes).splice.apply(s,[n,0,t].concat(i)),t.parent=this,this.indexes)(r=this.indexes[a])>=n&&(this.indexes[a]=r+arguments.length-1);return this},i._findChildAtPosition=function(e,t){var s=void 0;return this.each(function(r){if(r.atPosition){var n=r.atPosition(e,t);if(n)return s=n,!1}else if(r.isAtPosition(e,t))return s=r,!1}),s},i.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},i._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},i.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var t=this.lastEach;if(this.indexes[t]=0,this.length){for(var s,r;this.indexes[t]<this.length&&(s=this.indexes[t],!1!==(r=e(this.at(s),s)));)this.indexes[t]+=1;return delete this.indexes[t],!1!==r&&void 0}},i.walk=function(e){return this.each(function(t,s){var r=e(t,s);if(!1!==r&&t.length&&(r=t.walk(e)),!1===r)return!1})},i.walkAttributes=function(e){var t=this;return this.walk(function(s){if(s.type===n.ATTRIBUTE)return e.call(t,s)})},i.walkClasses=function(e){var t=this;return this.walk(function(s){if(s.type===n.CLASS)return e.call(t,s)})},i.walkCombinators=function(e){var t=this;return this.walk(function(s){if(s.type===n.COMBINATOR)return e.call(t,s)})},i.walkComments=function(e){var t=this;return this.walk(function(s){if(s.type===n.COMMENT)return e.call(t,s)})},i.walkIds=function(e){var t=this;return this.walk(function(s){if(s.type===n.ID)return e.call(t,s)})},i.walkNesting=function(e){var t=this;return this.walk(function(s){if(s.type===n.NESTING)return e.call(t,s)})},i.walkPseudos=function(e){var t=this;return this.walk(function(s){if(s.type===n.PSEUDO)return e.call(t,s)})},i.walkTags=function(e){var t=this;return this.walk(function(s){if(s.type===n.TAG)return e.call(t,s)})},i.walkUniversals=function(e){var t=this;return this.walk(function(s){if(s.type===n.UNIVERSAL)return e.call(t,s)})},i.split=function(e){var t=this,s=[];return this.reduce(function(r,n,i){var o=e.call(t,n);return s.push(n),o?(r.push(s),s=[]):i===t.length-1&&r.push(s),r},[])},i.map=function(e){return this.nodes.map(e)},i.reduce=function(e,t){return this.nodes.reduce(e,t)},i.every=function(e){return this.nodes.every(e)},i.some=function(e){return this.nodes.some(e)},i.filter=function(e){return this.nodes.filter(e)},i.sort=function(e){return this.nodes.sort(e)},i.toString=function(){return this.map(String).join("")},c(r,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),r}(r.default);t.default=h,e.exports=t.default}(gf,gf.exports)),gf.exports}function Gf(){return Rf||(Rf=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=jf())&&s.__esModule?s:{default:s},n=Uf();function i(e,t,s){return t&&function(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.ROOT,s}s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,o(t,s);var a=r.prototype;return a.toString=function(){var e=this.reduce(function(e,t){return e.push(String(t)),e},[]).join(",");return this.trailingComma?e+",":e},a.error=function(e,t){return this._error?this._error(e,t):new Error(e)},i(r,[{key:"errorGenerator",set:function(e){this._error=e}}]),r}(r.default);t.default=a,e.exports=t.default}(Af,Af.exports)),Af.exports}var Qf,Wf={exports:{}};function Kf(){return Qf||(Qf=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=jf())&&s.__esModule?s:{default:s},n=Uf();function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var o=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.SELECTOR,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,i(t,s),r}(r.default);t.default=o,e.exports=t.default}(Wf,Wf.exports)),Wf.exports}var Vf,Yf,Jf,Hf={exports:{}};function $f(){if(Yf)return Vf;Yf=1;var e={}.hasOwnProperty,t=/[ -,\.\/:-@\[-\^`\{-~]/,s=/[ -,\.\/:-@\[\]\^`\{-~]/,r=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,n=function n(i,o){"single"!=(o=function(t,s){if(!t)return s;var r={};for(var n in s)r[n]=e.call(t,n)?t[n]:s[n];return r}(o,n.options)).quotes&&"double"!=o.quotes&&(o.quotes="single");for(var a="double"==o.quotes?'"':"'",c=o.isIdentifier,l=i.charAt(0),h="",p=0,u=i.length;p<u;){var d=i.charAt(p++),f=d.charCodeAt(),m=void 0;if(f<32||f>126){if(f>=55296&&f<=56319&&p<u){var A=i.charCodeAt(p++);56320==(64512&A)?f=((1023&f)<<10)+(1023&A)+65536:p--}m="\\"+f.toString(16).toUpperCase()+" "}else m=o.escapeEverything?t.test(d)?"\\"+d:"\\"+f.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(d)?"\\"+f.toString(16).toUpperCase()+" ":"\\"==d||!c&&('"'==d&&a==d||"'"==d&&a==d)||c&&s.test(d)?"\\"+d:d;h+=m}return c&&(/^-[-\d]/.test(h)?h="\\-"+h.slice(1):/\d/.test(l)&&(h="\\3"+l+" "+h.slice(1))),h=h.replace(r,function(e,t,s){return t&&t.length%2?e:(t||"")+s}),!c&&o.wrap?a+h+a:h};return n.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},n.version="3.0.0",Vf=n}function Xf(){return Jf||(Jf=1,function(e,t){t.__esModule=!0,t.default=void 0;var s=o($f()),r=Df(),n=o(Lf()),i=Uf();function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,s){return t&&function(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var l=function(e){var t,n;function o(t){var s;return(s=e.call(this,t)||this).type=i.CLASS,s._constructed=!0,s}return n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n),o.prototype.valueToString=function(){return"."+e.prototype.valueToString.call(this)},a(o,[{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,s.default)(e,{isIdentifier:!0});t!==e?((0,r.ensureObject)(this,"raws"),this.raws.value=t):this.raws&&delete this.raws.value}this._value=e}}]),o}(n.default);t.default=l,e.exports=t.default}(Hf,Hf.exports)),Hf.exports}var Zf,qf={exports:{}};function zf(){return Zf||(Zf=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=Lf())&&s.__esModule?s:{default:s},n=Uf();function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var o=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.COMMENT,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,i(t,s),r}(r.default);t.default=o,e.exports=t.default}(qf,qf.exports)),qf.exports}var em,tm={exports:{}};function sm(){return em||(em=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=Lf())&&s.__esModule?s:{default:s},n=Uf();function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var o=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.ID,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,i(t,s),r.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},r}(r.default);t.default=o,e.exports=t.default}(tm,tm.exports)),tm.exports}var rm,nm,im={exports:{}},om={exports:{}};function am(){return rm||(rm=1,function(e,t){t.__esModule=!0,t.default=void 0;var s=n($f()),r=Df();function n(e){return e&&e.__esModule?e:{default:e}}function i(e,t,s){return t&&function(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t){return(o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var a=function(e){var t,n;function a(){return e.apply(this,arguments)||this}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,o(t,n);var c=a.prototype;return c.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},c.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},i(a,[{key:"namespace",get:function(){return this._namespace},set:function(e){if(!0===e||"*"===e||"&"===e)return this._namespace=e,void(this.raws&&delete this.raws.namespace);var t=(0,s.default)(e,{isIdentifier:!0});this._namespace=e,t!==e?((0,r.ensureObject)(this,"raws"),this.raws.namespace=t):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(e){this.namespace=e}},{key:"namespaceString",get:function(){if(this.namespace){var e=this.stringifyProperty("namespace");return!0===e?"":e}return""}}]),a}(n(Lf()).default);t.default=a,e.exports=t.default}(om,om.exports)),om.exports}function cm(){return nm||(nm=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=am())&&s.__esModule?s:{default:s},n=Uf();function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var o=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.TAG,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,i(t,s),r}(r.default);t.default=o,e.exports=t.default}(im,im.exports)),im.exports}var lm,hm={exports:{}};function pm(){return lm||(lm=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=Lf())&&s.__esModule?s:{default:s},n=Uf();function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var o=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.STRING,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,i(t,s),r}(r.default);t.default=o,e.exports=t.default}(hm,hm.exports)),hm.exports}var um,dm={exports:{}};function fm(){return um||(um=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=jf())&&s.__esModule?s:{default:s},n=Uf();function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var o=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.PSEUDO,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,i(t,s),r.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},r}(r.default);t.default=o,e.exports=t.default}(dm,dm.exports)),dm.exports}var mm,Am,gm,ym={};function xm(){return Am?mm:(Am=1,mm=lu.deprecate)}function bm(){return gm||(gm=1,function(e){e.__esModule=!0,e.default=void 0,e.unescapeValue=f;var t,s=o($f()),r=o(Sf()),n=o(am()),i=Uf();function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,s){return t&&function(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e,t){return(c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var l=xm(),h=/^('|")([^]*)\1$/,p=l(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),u=l(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),d=l(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function f(e){var t=!1,s=null,n=e,i=n.match(h);return i&&(s=i[1],n=i[2]),(n=(0,r.default)(n))!==e&&(t=!0),{deprecatedUsage:t,unescaped:n,quoteMark:s}}var m=function(e){var t,r;function n(t){var s;return void 0===t&&(t={}),s=e.call(this,function(e){if(void 0!==e.quoteMark)return e;if(void 0===e.value)return e;d();var t=f(e.value),s=t.quoteMark,r=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=r,e.quoteMark=s,e}(t))||this,s.type=i.ATTRIBUTE,s.raws=s.raws||{},Object.defineProperty(s.raws,"unquoted",{get:l(function(){return s.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:l(function(){return s.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),s._constructed=!0,s}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,c(t,r);var o=n.prototype;return o.getQuotedValue=function(e){void 0===e&&(e={});var t=this._determineQuoteMark(e),r=A[t];return(0,s.default)(this._value,r)},o._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},o.setValue=function(e,t){void 0===t&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},o.smartQuoteMark=function(e){var t=this.value,r=t.replace(/[^']/g,"").length,i=t.replace(/[^"]/g,"").length;if(r+i===0){var o=(0,s.default)(t,{isIdentifier:!0});if(o===t)return n.NO_QUOTE;var a=this.preferredQuoteMark(e);if(a===n.NO_QUOTE){var c=this.quoteMark||e.quoteMark||n.DOUBLE_QUOTE,l=A[c];if((0,s.default)(t,l).length<o.length)return c}return a}return i===r?this.preferredQuoteMark(e):i<r?n.DOUBLE_QUOTE:n.SINGLE_QUOTE},o.preferredQuoteMark=function(e){var t=e.preferCurrentQuoteMark?this.quoteMark:e.quoteMark;return void 0===t&&(t=e.preferCurrentQuoteMark?e.quoteMark:this.quoteMark),void 0===t&&(t=n.DOUBLE_QUOTE),t},o._syncRawValue=function(){var e=(0,s.default)(this._value,A[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},o._handleEscapes=function(e,t){if(this._constructed){var r=(0,s.default)(t,{isIdentifier:!0});r!==t?this.raws[e]=r:delete this.raws[e]}},o._spacesFor=function(e){var t=this.spaces[e]||{},s=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign({before:"",after:""},t,s)},o._stringFor=function(e,t,s){void 0===t&&(t=e),void 0===s&&(s=g);var r=this._spacesFor(t);return s(this.stringifyProperty(e),r)},o.offsetOf=function(e){var t=1,s=this._spacesFor("attribute");if(t+=s.before.length,"namespace"===e||"ns"===e)return this.namespace?t:-1;if("attributeNS"===e)return t;if(t+=this.namespaceString.length,this.namespace&&(t+=1),"attribute"===e)return t;t+=this.stringifyProperty("attribute").length,t+=s.after.length;var r=this._spacesFor("operator");t+=r.before.length;var n=this.stringifyProperty("operator");if("operator"===e)return n?t:-1;t+=n.length,t+=r.after.length;var i=this._spacesFor("value");t+=i.before.length;var o=this.stringifyProperty("value");return"value"===e?o?t:-1:(t+=o.length,t+=i.after.length,t+=this._spacesFor("insensitive").before.length,"insensitive"===e&&this.insensitive?t:-1)},o.toString=function(){var e=this,t=[this.rawSpaceBefore,"["];return t.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||""===this.value)&&(t.push(this._stringFor("operator")),t.push(this._stringFor("value")),t.push(this._stringFor("insensitiveFlag","insensitive",function(t,s){return!(t.length>0)||e.quoted||0!==s.before.length||e.spaces.value&&e.spaces.value.after||(s.before=" "),g(t,s)}))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},a(n,[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){u()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(e){this._constructed?this._quoteMark!==e&&(this._quoteMark=e,this._syncRawValue()):this._quoteMark=e}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=f(e),s=t.deprecatedUsage,r=t.unescaped,n=t.quoteMark;if(s&&p(),r===this._value&&n===this._quoteMark)return;this._value=r,this._quoteMark=n,this._syncRawValue()}else this._value=e}},{key:"insensitive",get:function(){return this._insensitive},set:function(e){e||(this._insensitive=!1,!this.raws||"I"!==this.raws.insensitiveFlag&&"i"!==this.raws.insensitiveFlag||(this.raws.insensitiveFlag=void 0)),this._insensitive=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}]),n}(n.default);e.default=m,m.NO_QUOTE=null,m.SINGLE_QUOTE="'",m.DOUBLE_QUOTE='"';var A=((t={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},t);function g(e,t){return""+t.before+e+t.after}}(ym)),ym}var Sm,Em={exports:{}};function vm(){return Sm||(Sm=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=am())&&s.__esModule?s:{default:s},n=Uf();function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var o=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.UNIVERSAL,s.value="*",s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,i(t,s),r}(r.default);t.default=o,e.exports=t.default}(Em,Em.exports)),Em.exports}var wm,Cm={exports:{}};function Im(){return wm||(wm=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=Lf())&&s.__esModule?s:{default:s},n=Uf();function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var o=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.COMBINATOR,s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,i(t,s),r}(r.default);t.default=o,e.exports=t.default}(Cm,Cm.exports)),Cm.exports}var Tm,Pm={exports:{}};function Nm(){return Tm||(Tm=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=Lf())&&s.__esModule?s:{default:s},n=Uf();function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var o=function(e){var t,s;function r(t){var s;return(s=e.call(this,t)||this).type=n.NESTING,s.value="&",s}return s=e,(t=r).prototype=Object.create(s.prototype),t.prototype.constructor=t,i(t,s),r}(r.default);t.default=o,e.exports=t.default}(Pm,Pm.exports)),Pm.exports}var km,Om={exports:{}};function _m(){return km||(km=1,e=Om,(t=Om.exports).__esModule=!0,t.default=function(e){return e.sort(function(e,t){return e-t})},e.exports=t.default),Om.exports;var e,t}var Dm,Lm,Mm,Bm,Rm={},Fm={};function Um(){if(Dm)return Fm;Dm=1,Fm.__esModule=!0,Fm.word=Fm.tilde=Fm.tab=Fm.str=Fm.space=Fm.slash=Fm.singleQuote=Fm.semicolon=Fm.plus=Fm.pipe=Fm.openSquare=Fm.openParenthesis=Fm.newline=Fm.greaterThan=Fm.feed=Fm.equals=Fm.doubleQuote=Fm.dollar=Fm.cr=Fm.comment=Fm.comma=Fm.combinator=Fm.colon=Fm.closeSquare=Fm.closeParenthesis=Fm.caret=Fm.bang=Fm.backslash=Fm.at=Fm.asterisk=Fm.ampersand=void 0;Fm.ampersand=38;Fm.asterisk=42;Fm.at=64;Fm.comma=44;Fm.colon=58;Fm.semicolon=59;Fm.openParenthesis=40;Fm.closeParenthesis=41;Fm.openSquare=91;Fm.closeSquare=93;Fm.dollar=36;Fm.tilde=126;Fm.caret=94;Fm.plus=43;Fm.equals=61;Fm.pipe=124;Fm.greaterThan=62;Fm.space=32;Fm.singleQuote=39;Fm.doubleQuote=34;Fm.slash=47;Fm.bang=33;Fm.backslash=92;Fm.cr=13;Fm.feed=12;Fm.newline=10;Fm.tab=9;Fm.str=39;Fm.comment=-1;Fm.word=-2;return Fm.combinator=-3,Fm}function jm(){return Lm||(Lm=1,function(e){e.__esModule=!0,e.FIELDS=void 0,e.default=function(e){var t,s,n,i,o,a,c,l,p,u,d,f,m=[],A=e.css.valueOf(),g=A.length,y=-1,x=1,b=0,S=0;function E(t,s){if(!e.safe)throw e.error("Unclosed "+t,x,b-y,b);l=(A+=s).length-1}for(;b<g;){switch((t=A.charCodeAt(b))===r.newline&&(y=b,x+=1),t){case r.space:case r.tab:case r.newline:case r.cr:case r.feed:l=b;do{l+=1,(t=A.charCodeAt(l))===r.newline&&(y=l,x+=1)}while(t===r.space||t===r.newline||t===r.tab||t===r.cr||t===r.feed);f=r.space,n=x,s=l-y-1,S=l;break;case r.plus:case r.greaterThan:case r.tilde:case r.pipe:l=b;do{l+=1,t=A.charCodeAt(l)}while(t===r.plus||t===r.greaterThan||t===r.tilde||t===r.pipe);f=r.combinator,n=x,s=b-y,S=l;break;case r.asterisk:case r.ampersand:case r.bang:case r.comma:case r.equals:case r.dollar:case r.caret:case r.openSquare:case r.closeSquare:case r.colon:case r.semicolon:case r.openParenthesis:case r.closeParenthesis:f=t,n=x,s=b-y,S=(l=b)+1;break;case r.singleQuote:case r.doubleQuote:d=t===r.singleQuote?"'":'"',l=b;do{for(i=!1,-1===(l=A.indexOf(d,l+1))&&E("quote",d),o=l;A.charCodeAt(o-1)===r.backslash;)o-=1,i=!i}while(i);f=r.str,n=x,s=b-y,S=l+1;break;default:t===r.slash&&A.charCodeAt(b+1)===r.asterisk?(0===(l=A.indexOf("*/",b+2)+1)&&E("comment","*/"),(a=(c=A.slice(b,l+1).split("\n")).length-1)>0?(p=x+a,u=l-c[a].length):(p=x,u=y),f=r.comment,x=p,n=p,s=l-u):t===r.slash?(f=t,n=x,s=b-y,S=(l=b)+1):(l=h(A,b),f=r.word,n=x,s=l-y),S=l+1}m.push([f,x,b-y,n,s,b,S]),u&&(y=u,u=null),b=S}return m};var t,s,r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var s=n(t);if(s&&s.has(e))return s.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}r.default=e,s&&s.set(e,r);return r}(Um());function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,s=new WeakMap;return(n=function(e){return e?s:t})(e)}for(var i=((t={})[r.tab]=!0,t[r.newline]=!0,t[r.cr]=!0,t[r.feed]=!0,t),o=((s={})[r.space]=!0,s[r.tab]=!0,s[r.newline]=!0,s[r.cr]=!0,s[r.feed]=!0,s[r.ampersand]=!0,s[r.asterisk]=!0,s[r.bang]=!0,s[r.comma]=!0,s[r.colon]=!0,s[r.semicolon]=!0,s[r.openParenthesis]=!0,s[r.closeParenthesis]=!0,s[r.openSquare]=!0,s[r.closeSquare]=!0,s[r.singleQuote]=!0,s[r.doubleQuote]=!0,s[r.plus]=!0,s[r.pipe]=!0,s[r.tilde]=!0,s[r.greaterThan]=!0,s[r.equals]=!0,s[r.dollar]=!0,s[r.caret]=!0,s[r.slash]=!0,s),a={},c="0123456789abcdefABCDEF",l=0;l<22;l++)a[c.charCodeAt(l)]=!0;function h(e,t){var s,n=t;do{if(s=e.charCodeAt(n),o[s])return n-1;s===r.backslash?n=p(e,n)+1:n++}while(n<e.length);return n-1}function p(e,t){var s=t,n=e.charCodeAt(s+1);if(i[n]);else if(a[n]){var o=0;do{s++,o++,n=e.charCodeAt(s+1)}while(a[n]&&o<6);o<6&&n===r.space&&s++}else s++;return s}e.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6}}(Rm)),Rm}function Gm(){return Mm||(Mm=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r,n=v(Gf()),i=v(Kf()),o=v(Xf()),a=v(zf()),c=v(sm()),l=v(cm()),h=v(pm()),p=v(fm()),u=E(bm()),d=v(vm()),f=v(Im()),m=v(Nm()),A=v(_m()),g=E(jm()),y=E(Um()),x=E(Uf()),b=Df();function S(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,s=new WeakMap;return(S=function(e){return e?s:t})(e)}function E(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var s=S(t);if(s&&s.has(e))return s.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,s&&s.set(e,r),r}function v(e){return e&&e.__esModule?e:{default:e}}function w(e,t,s){return t&&function(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var C=((s={})[y.space]=!0,s[y.cr]=!0,s[y.feed]=!0,s[y.newline]=!0,s[y.tab]=!0,s),I=Object.assign({},C,((r={})[y.comment]=!0,r));function T(e){return{line:e[g.FIELDS.START_LINE],column:e[g.FIELDS.START_COL]}}function P(e){return{line:e[g.FIELDS.END_LINE],column:e[g.FIELDS.END_COL]}}function N(e,t,s,r){return{start:{line:e,column:t},end:{line:s,column:r}}}function k(e){return N(e[g.FIELDS.START_LINE],e[g.FIELDS.START_COL],e[g.FIELDS.END_LINE],e[g.FIELDS.END_COL])}function O(e,t){if(e)return N(e[g.FIELDS.START_LINE],e[g.FIELDS.START_COL],t[g.FIELDS.END_LINE],t[g.FIELDS.END_COL])}function _(e,t){var s=e[t];if("string"==typeof s)return-1!==s.indexOf("\\")&&((0,b.ensureObject)(e,"raws"),e[t]=(0,b.unesc)(s),void 0===e.raws[t]&&(e.raws[t]=s)),e}function D(e,t){for(var s=-1,r=[];-1!==(s=e.indexOf(t,s+1));)r.push(s);return r}var L=function(){function e(e,t){void 0===t&&(t={}),this.rule=e,this.options=Object.assign({lossy:!1,safe:!1},t),this.position=0,this.css="string"==typeof this.rule?this.rule:this.rule.selector,this.tokens=(0,g.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var s=O(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new n.default({source:s}),this.root.errorGenerator=this._errorGenerator();var r=new i.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(r),this.current=r,this.loop()}var t=e.prototype;return t._errorGenerator=function(){var e=this;return function(t,s){return"string"==typeof e.rule?new Error(t):e.rule.error(t,s)}},t.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[g.FIELDS.TYPE]!==y.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[g.FIELDS.TYPE]!==y.closeSquare)return this.expected("closing square bracket",this.currToken[g.FIELDS.START_POS]);var s=e.length,r={source:N(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[g.FIELDS.START_POS]};if(1===s&&!~[y.word].indexOf(e[0][g.FIELDS.TYPE]))return this.expected("attribute",e[0][g.FIELDS.START_POS]);for(var n=0,i="",o="",a=null,c=!1;n<s;){var l=e[n],h=this.content(l),p=e[n+1];switch(l[g.FIELDS.TYPE]){case y.space:if(c=!0,this.options.lossy)break;if(a){(0,b.ensureObject)(r,"spaces",a);var d=r.spaces[a].after||"";r.spaces[a].after=d+h;var f=(0,b.getProp)(r,"raws","spaces",a,"after")||null;f&&(r.raws.spaces[a].after=f+h)}else i+=h,o+=h;break;case y.asterisk:if(p[g.FIELDS.TYPE]===y.equals)r.operator=h,a="operator";else if((!r.namespace||"namespace"===a&&!c)&&p){i&&((0,b.ensureObject)(r,"spaces","attribute"),r.spaces.attribute.before=i,i=""),o&&((0,b.ensureObject)(r,"raws","spaces","attribute"),r.raws.spaces.attribute.before=i,o=""),r.namespace=(r.namespace||"")+h,((0,b.getProp)(r,"raws","namespace")||null)&&(r.raws.namespace+=h),a="namespace"}c=!1;break;case y.dollar:if("value"===a){var m=(0,b.getProp)(r,"raws","value");r.value+="$",m&&(r.raws.value=m+"$");break}case y.caret:p[g.FIELDS.TYPE]===y.equals&&(r.operator=h,a="operator"),c=!1;break;case y.combinator:if("~"===h&&p[g.FIELDS.TYPE]===y.equals&&(r.operator=h,a="operator"),"|"!==h){c=!1;break}p[g.FIELDS.TYPE]===y.equals?(r.operator=h,a="operator"):r.namespace||r.attribute||(r.namespace=!0),c=!1;break;case y.word:if(p&&"|"===this.content(p)&&e[n+2]&&e[n+2][g.FIELDS.TYPE]!==y.equals&&!r.operator&&!r.namespace)r.namespace=h,a="namespace";else if(!r.attribute||"attribute"===a&&!c){i&&((0,b.ensureObject)(r,"spaces","attribute"),r.spaces.attribute.before=i,i=""),o&&((0,b.ensureObject)(r,"raws","spaces","attribute"),r.raws.spaces.attribute.before=o,o=""),r.attribute=(r.attribute||"")+h,((0,b.getProp)(r,"raws","attribute")||null)&&(r.raws.attribute+=h),a="attribute"}else if(!r.value&&""!==r.value||"value"===a&&!c&&!r.quoteMark){var A=(0,b.unesc)(h),x=(0,b.getProp)(r,"raws","value")||"",S=r.value||"";r.value=S+A,r.quoteMark=null,(A!==h||x)&&((0,b.ensureObject)(r,"raws"),r.raws.value=(x||S)+h),a="value"}else{var E="i"===h||"I"===h;!r.value&&""!==r.value||!r.quoteMark&&!c?(r.value||""===r.value)&&(a="value",r.value+=h,r.raws.value&&(r.raws.value+=h)):(r.insensitive=E,E&&"I"!==h||((0,b.ensureObject)(r,"raws"),r.raws.insensitiveFlag=h),a="insensitive",i&&((0,b.ensureObject)(r,"spaces","insensitive"),r.spaces.insensitive.before=i,i=""),o&&((0,b.ensureObject)(r,"raws","spaces","insensitive"),r.raws.spaces.insensitive.before=o,o=""))}c=!1;break;case y.str:if(!r.attribute||!r.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:l[g.FIELDS.START_POS]});var v=(0,u.unescapeValue)(h),w=v.unescaped,C=v.quoteMark;r.value=w,r.quoteMark=C,a="value",(0,b.ensureObject)(r,"raws"),r.raws.value=h,c=!1;break;case y.equals:if(!r.attribute)return this.expected("attribute",l[g.FIELDS.START_POS],h);if(r.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:l[g.FIELDS.START_POS]});r.operator=r.operator?r.operator+h:h,a="operator",c=!1;break;case y.comment:if(a)if(c||p&&p[g.FIELDS.TYPE]===y.space||"insensitive"===a){var I=(0,b.getProp)(r,"spaces",a,"after")||"",T=(0,b.getProp)(r,"raws","spaces",a,"after")||I;(0,b.ensureObject)(r,"raws","spaces",a),r.raws.spaces[a].after=T+h}else{var P=r[a]||"",k=(0,b.getProp)(r,"raws",a)||P;(0,b.ensureObject)(r,"raws"),r.raws[a]=k+h}else o+=h;break;default:return this.error('Unexpected "'+h+'" found.',{index:l[g.FIELDS.START_POS]})}n++}_(r,"attribute"),_(r,"namespace"),this.newNode(new u.default(r)),this.position++},t.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,s=[],r="",n=void 0;do{if(C[this.currToken[g.FIELDS.TYPE]])this.options.lossy||(r+=this.content());else if(this.currToken[g.FIELDS.TYPE]===y.comment){var i={};r&&(i.before=r,r=""),n=new a.default({value:this.content(),source:k(this.currToken),sourceIndex:this.currToken[g.FIELDS.START_POS],spaces:i}),s.push(n)}}while(++this.position<e);if(r)if(n)n.spaces.after=r;else if(!this.options.lossy){var o=this.tokens[t],c=this.tokens[this.position-1];s.push(new h.default({value:"",source:N(o[g.FIELDS.START_LINE],o[g.FIELDS.START_COL],c[g.FIELDS.END_LINE],c[g.FIELDS.END_COL]),sourceIndex:o[g.FIELDS.START_POS],spaces:{before:r,after:""}}))}return s},t.convertWhitespaceNodesToSpace=function(e,t){var s=this;void 0===t&&(t=!1);var r="",n="";return e.forEach(function(e){var i=s.lossySpace(e.spaces.before,t),o=s.lossySpace(e.rawSpaceBefore,t);r+=i+s.lossySpace(e.spaces.after,t&&0===i.length),n+=i+e.value+s.lossySpace(e.rawSpaceAfter,t&&0===o.length)}),n===r&&(n=void 0),{space:r,rawSpace:n}},t.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][g.FIELDS.TYPE]===y.slash&&this.tokens[e+1]&&this.tokens[e+1][g.FIELDS.TYPE]===y.word&&this.tokens[e+2]&&this.tokens[e+2][g.FIELDS.TYPE]===y.slash},t.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,b.unesc)(e).toLowerCase(),s={};t!==e&&(s.value="/"+e+"/");var r=new f.default({value:"/"+t+"/",source:N(this.currToken[g.FIELDS.START_LINE],this.currToken[g.FIELDS.START_COL],this.tokens[this.position+2][g.FIELDS.END_LINE],this.tokens[this.position+2][g.FIELDS.END_COL]),sourceIndex:this.currToken[g.FIELDS.START_POS],raws:s});return this.position=this.position+3,r}this.unexpected()},t.combinator=function(){var e=this;if("|"===this.content())return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(!(t<0||this.tokens[t][g.FIELDS.TYPE]===y.comma||this.tokens[t][g.FIELDS.TYPE]===y.closeParenthesis)){var s,r=this.currToken,n=void 0;if(t>this.position&&(n=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?s=this.namedCombinator():this.currToken[g.FIELDS.TYPE]===y.combinator?(s=new f.default({value:this.content(),source:k(this.currToken),sourceIndex:this.currToken[g.FIELDS.START_POS]}),this.position++):C[this.currToken[g.FIELDS.TYPE]]||n||this.unexpected(),s){if(n){var i=this.convertWhitespaceNodesToSpace(n),o=i.space,a=i.rawSpace;s.spaces.before=o,s.rawSpaceBefore=a}}else{var c=this.convertWhitespaceNodesToSpace(n,!0),l=c.space,h=c.rawSpace;h||(h=l);var p={},u={spaces:{}};l.endsWith(" ")&&h.endsWith(" ")?(p.before=l.slice(0,l.length-1),u.spaces.before=h.slice(0,h.length-1)):" "===l[0]&&" "===h[0]?(p.after=l.slice(1),u.spaces.after=h.slice(1)):u.value=h,s=new f.default({value:" ",source:O(r,this.tokens[this.position-1]),sourceIndex:r[g.FIELDS.START_POS],spaces:p,raws:u})}return this.currToken&&this.currToken[g.FIELDS.TYPE]===y.space&&(s.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(s)}var d=this.parseWhitespaceEquivalentTokens(t);if(d.length>0){var m=this.current.last;if(m){var A=this.convertWhitespaceNodesToSpace(d),x=A.space,b=A.rawSpace;void 0!==b&&(m.rawSpaceAfter+=b),m.spaces.after+=x}else d.forEach(function(t){return e.newNode(t)})}},t.comma=function(){if(this.position===this.tokens.length-1)return this.root.trailingComma=!0,void this.position++;this.current._inferEndPosition();var e=new i.default({source:{start:T(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][g.FIELDS.START_POS]});this.current.parent.append(e),this.current=e,this.position++},t.comment=function(){var e=this.currToken;this.newNode(new a.default({value:this.content(),source:k(e),sourceIndex:e[g.FIELDS.START_POS]})),this.position++},t.error=function(e,t){throw this.root.error(e,t)},t.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[g.FIELDS.START_POS]})},t.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[g.FIELDS.START_POS])},t.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[g.FIELDS.START_POS])},t.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[g.FIELDS.START_POS])},t.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[g.FIELDS.START_POS])},t.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[g.FIELDS.TYPE]===y.word?(this.position++,this.word(e)):this.nextToken[g.FIELDS.TYPE]===y.asterisk?(this.position++,this.universal(e)):void this.unexpectedPipe()},t.nesting=function(){if(this.nextToken&&"|"===this.content(this.nextToken))return void this.position++;var e=this.currToken;this.newNode(new m.default({value:this.content(),source:k(e),sourceIndex:e[g.FIELDS.START_POS]})),this.position++},t.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===x.PSEUDO){var s=new i.default({source:{start:T(this.tokens[this.position])},sourceIndex:this.tokens[this.position][g.FIELDS.START_POS]}),r=this.current;for(e.append(s),this.current=s;this.position<this.tokens.length&&t;)this.currToken[g.FIELDS.TYPE]===y.openParenthesis&&t++,this.currToken[g.FIELDS.TYPE]===y.closeParenthesis&&t--,t?this.parse():(this.current.source.end=P(this.currToken),this.current.parent.source.end=P(this.currToken),this.position++);this.current=r}else{for(var n,o=this.currToken,a="(";this.position<this.tokens.length&&t;)this.currToken[g.FIELDS.TYPE]===y.openParenthesis&&t++,this.currToken[g.FIELDS.TYPE]===y.closeParenthesis&&t--,n=this.currToken,a+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",a,a):this.newNode(new h.default({value:a,source:N(o[g.FIELDS.START_LINE],o[g.FIELDS.START_COL],n[g.FIELDS.END_LINE],n[g.FIELDS.END_COL]),sourceIndex:o[g.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[g.FIELDS.START_POS])},t.pseudo=function(){for(var e=this,t="",s=this.currToken;this.currToken&&this.currToken[g.FIELDS.TYPE]===y.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[g.FIELDS.TYPE]!==y.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[g.FIELDS.START_POS]):void this.splitWord(!1,function(r,n){t+=r,e.newNode(new p.default({value:t,source:O(s,e.currToken),sourceIndex:s[g.FIELDS.START_POS]})),n>1&&e.nextToken&&e.nextToken[g.FIELDS.TYPE]===y.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[g.FIELDS.START_POS]})}):this.expected(["pseudo-class","pseudo-element"],this.position-1)},t.space=function(){var e=this.content();0===this.position||this.prevToken[g.FIELDS.TYPE]===y.comma||this.prevToken[g.FIELDS.TYPE]===y.openParenthesis||this.current.nodes.every(function(e){return"comment"===e.type})?(this.spaces=this.optionalSpace(e),this.position++):this.position===this.tokens.length-1||this.nextToken[g.FIELDS.TYPE]===y.comma||this.nextToken[g.FIELDS.TYPE]===y.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},t.string=function(){var e=this.currToken;this.newNode(new h.default({value:this.content(),source:k(e),sourceIndex:e[g.FIELDS.START_POS]})),this.position++},t.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var s=this.currToken;this.newNode(new d.default({value:this.content(),source:k(s),sourceIndex:s[g.FIELDS.START_POS]}),e),this.position++},t.splitWord=function(e,t){for(var s=this,r=this.nextToken,n=this.content();r&&~[y.dollar,y.caret,y.equals,y.word].indexOf(r[g.FIELDS.TYPE]);){this.position++;var i=this.content();if(n+=i,i.lastIndexOf("\\")===i.length-1){var a=this.nextToken;a&&a[g.FIELDS.TYPE]===y.space&&(n+=this.requiredSpace(this.content(a)),this.position++)}r=this.nextToken}var h=D(n,".").filter(function(e){var t="\\"===n[e-1],s=/^\d+\.\d+%$/.test(n);return!t&&!s}),p=D(n,"#").filter(function(e){return"\\"!==n[e-1]}),u=D(n,"#{");u.length&&(p=p.filter(function(e){return!~u.indexOf(e)}));var d=(0,A.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter(function(t,s){return s===e.indexOf(t)})}([0].concat(h,p)));d.forEach(function(r,i){var a,u=d[i+1]||n.length,f=n.slice(r,u);if(0===i&&t)return t.call(s,f,d.length);var m=s.currToken,A=m[g.FIELDS.START_POS]+d[i],y=N(m[1],m[2]+r,m[3],m[2]+(u-1));if(~h.indexOf(r)){var x={value:f.slice(1),source:y,sourceIndex:A};a=new o.default(_(x,"value"))}else if(~p.indexOf(r)){var b={value:f.slice(1),source:y,sourceIndex:A};a=new c.default(_(b,"value"))}else{var S={value:f,source:y,sourceIndex:A};_(S,"value"),a=new l.default(S)}s.newNode(a,e),e=null}),this.position++},t.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},t.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},t.parse=function(e){switch(this.currToken[g.FIELDS.TYPE]){case y.space:this.space();break;case y.comment:this.comment();break;case y.openParenthesis:this.parentheses();break;case y.closeParenthesis:e&&this.missingParenthesis();break;case y.openSquare:this.attribute();break;case y.dollar:case y.caret:case y.equals:case y.word:this.word();break;case y.colon:this.pseudo();break;case y.comma:this.comma();break;case y.asterisk:this.universal();break;case y.ampersand:this.nesting();break;case y.slash:case y.combinator:this.combinator();break;case y.str:this.string();break;case y.closeSquare:this.missingSquareBracket();case y.semicolon:this.missingBackslash();default:this.unexpected()}},t.expected=function(e,t,s){if(Array.isArray(e)){var r=e.pop();e=e.join(", ")+" or "+r}var n=/^[aeiou]/.test(e[0])?"an":"a";return s?this.error("Expected "+n+" "+e+', found "'+s+'" instead.',{index:t}):this.error("Expected "+n+" "+e+".",{index:t})},t.requiredSpace=function(e){return this.options.lossy?" ":e},t.optionalSpace=function(e){return this.options.lossy?"":e},t.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},t.parseParenthesisToken=function(e){var t=this.content(e);return e[g.FIELDS.TYPE]===y.space?this.requiredSpace(t):t},t.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,_(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},t.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[g.FIELDS.START_POS],e[g.FIELDS.END_POS])},t.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;){if(!I[this.tokens[t][g.FIELDS.TYPE]])return t;t++}return-1},w(e,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),e}();t.default=L,e.exports=t.default}(mf,mf.exports)),mf.exports}function Qm(){return Bm||(Bm=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=Gm())&&s.__esModule?s:{default:s};var n=function(){function e(e,t){this.func=e||function(){},this.funcRes=null,this.options=t}var t=e.prototype;return t._shouldUpdateSelector=function(e,t){return void 0===t&&(t={}),!1!==Object.assign({},this.options,t).updateSelector&&"string"!=typeof e},t._isLossy=function(e){return void 0===e&&(e={}),!1===Object.assign({},this.options,e).lossless},t._root=function(e,t){return void 0===t&&(t={}),new r.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var s=this;return void 0===t&&(t={}),new Promise(function(r,n){try{var i=s._root(e,t);Promise.resolve(s.func(i)).then(function(r){var n=void 0;return s._shouldUpdateSelector(e,t)&&(n=i.toString(),e.selector=n),{transform:r,root:i,string:n}}).then(r,n)}catch(o){return void n(o)}})},t._runSync=function(e,t){void 0===t&&(t={});var s=this._root(e,t),r=this.func(s);if(r&&"function"==typeof r.then)throw new Error("Selector processor returned a promise to a synchronous call.");var n=void 0;return t.updateSelector&&"string"!=typeof e&&(n=s.toString(),e.selector=n),{transform:r,root:s,string:n}},t.ast=function(e,t){return this._run(e,t).then(function(e){return e.root})},t.astSync=function(e,t){return this._runSync(e,t).root},t.transform=function(e,t){return this._run(e,t).then(function(e){return e.transform})},t.transformSync=function(e,t){return this._runSync(e,t).transform},t.process=function(e,t){return this._run(e,t).then(function(e){return e.string||e.root.toString()})},t.processSync=function(e,t){var s=this._runSync(e,t);return s.string||s.root.toString()},e}();t.default=n,e.exports=t.default}(ff,ff.exports)),ff.exports}var Wm,Km={},Vm={};function Ym(){if(Wm)return Vm;Wm=1,Vm.__esModule=!0,Vm.universal=Vm.tag=Vm.string=Vm.selector=Vm.root=Vm.pseudo=Vm.nesting=Vm.id=Vm.comment=Vm.combinator=Vm.className=Vm.attribute=void 0;var e=u(bm()),t=u(Xf()),s=u(Im()),r=u(zf()),n=u(sm()),i=u(Nm()),o=u(fm()),a=u(Gf()),c=u(Kf()),l=u(pm()),h=u(cm()),p=u(vm());function u(e){return e&&e.__esModule?e:{default:e}}Vm.attribute=function(t){return new e.default(t)};Vm.className=function(e){return new t.default(e)};Vm.combinator=function(e){return new s.default(e)};Vm.comment=function(e){return new r.default(e)};Vm.id=function(e){return new n.default(e)};Vm.nesting=function(e){return new i.default(e)};Vm.pseudo=function(e){return new o.default(e)};Vm.root=function(e){return new a.default(e)};Vm.selector=function(e){return new c.default(e)};Vm.string=function(e){return new l.default(e)};Vm.tag=function(e){return new h.default(e)};return Vm.universal=function(e){return new p.default(e)},Vm}var Jm,Hm,$m,Xm={};function Zm(){if(Jm)return Xm;Jm=1,Xm.__esModule=!0,Xm.isComment=Xm.isCombinator=Xm.isClassName=Xm.isAttribute=void 0,Xm.isContainer=function(e){return!(!r(e)||!e.walk)},Xm.isIdentifier=void 0,Xm.isNamespace=function(e){return i(e)||m(e)},Xm.isNesting=void 0,Xm.isNode=r,Xm.isPseudo=void 0,Xm.isPseudoClass=function(e){return p(e)&&!g(e)},Xm.isPseudoElement=g,Xm.isUniversal=Xm.isTag=Xm.isString=Xm.isSelector=Xm.isRoot=void 0;var e,t=Uf(),s=((e={})[t.ATTRIBUTE]=!0,e[t.CLASS]=!0,e[t.COMBINATOR]=!0,e[t.COMMENT]=!0,e[t.ID]=!0,e[t.NESTING]=!0,e[t.PSEUDO]=!0,e[t.ROOT]=!0,e[t.SELECTOR]=!0,e[t.STRING]=!0,e[t.TAG]=!0,e[t.UNIVERSAL]=!0,e);function r(e){return"object"==typeof e&&s[e.type]}function n(e,t){return r(t)&&t.type===e}var i=n.bind(null,t.ATTRIBUTE);Xm.isAttribute=i;var o=n.bind(null,t.CLASS);Xm.isClassName=o;var a=n.bind(null,t.COMBINATOR);Xm.isCombinator=a;var c=n.bind(null,t.COMMENT);Xm.isComment=c;var l=n.bind(null,t.ID);Xm.isIdentifier=l;var h=n.bind(null,t.NESTING);Xm.isNesting=h;var p=n.bind(null,t.PSEUDO);Xm.isPseudo=p;var u=n.bind(null,t.ROOT);Xm.isRoot=u;var d=n.bind(null,t.SELECTOR);Xm.isSelector=d;var f=n.bind(null,t.STRING);Xm.isString=f;var m=n.bind(null,t.TAG);Xm.isTag=m;var A=n.bind(null,t.UNIVERSAL);function g(e){return p(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase()||":first-letter"===e.value.toLowerCase()||":first-line"===e.value.toLowerCase())}return Xm.isUniversal=A,Xm}function qm(){return Hm||(Hm=1,function(e){e.__esModule=!0;var t=Uf();Object.keys(t).forEach(function(s){"default"!==s&&"__esModule"!==s&&(s in e&&e[s]===t[s]||(e[s]=t[s]))});var s=Ym();Object.keys(s).forEach(function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===s[t]||(e[t]=s[t]))});var r=Zm();Object.keys(r).forEach(function(t){"default"!==t&&"__esModule"!==t&&(t in e&&e[t]===r[t]||(e[t]=r[t]))})}(Km)),Km}function zm(){return $m||($m=1,function(e,t){t.__esModule=!0,t.default=void 0;var s,r=(s=Qm())&&s.__esModule?s:{default:s},n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var s=i(t);if(s&&s.has(e))return s.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=n?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}r.default=e,s&&s.set(e,r);return r}(qm());function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,s=new WeakMap;return(i=function(e){return e?s:t})(e)}var o=function(e){return new r.default(e)};Object.assign(o,n),delete o.__esModule;var a=o;t.default=a,e.exports=t.default}(df,df.exports)),df.exports}var eA=Hs(zm());const tA=/^(?:-\w+-)?animation-name$/,sA=/^(?:-\w+-)?animation$/,rA=/^(?:-\w+-)?keyframes$/,nA=(e="")=>{const t=Object.create(null),s=e.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(t){!function(e,t){if(iA.has(t)||t.parent&&"atrule"===t.parent.type&&rA.test(t.parent.name))return;iA.add(t);let s=!1,r=t.parent;for(;r&&"root"!==r.type;){if(r.__deep){s=!0;break}r=r.parent}t.selector=eA(r=>{r.each(n=>{oA(e,t,n,r,s)})}).processSync(t.selector)}(e,t)},AtRule(e){rA.test(e.name)&&!e.params.endsWith(`-${s}`)&&(t[e.params]=e.params=e.params+"-"+s)},OnceExit(e){Object.keys(t).length&&e.walkDecls(e=>{tA.test(e.prop)&&(e.value=e.value.split(",").map(e=>t[e.trim()]||e.trim()).join(",")),sA.test(e.prop)&&(e.value=e.value.split(",").map(e=>{const s=e.trim().split(/\s+/),r=s.findIndex(e=>t[e]);return-1!==r?(s.splice(r,1,t[s[r]]),s.join(" ")):e}).join(","))})}}},iA=new WeakSet;function oA(e,t,s,r,n,i=!1){let o=null,a=!n;if(s.each(i=>{if("combinator"===i.type&&(">>>"===i.value||"/deep/"===i.value))return i.value=" ",i.spaces.before=i.spaces.after="",uu("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if("pseudo"===i.type){const{value:o}=i;if(":deep"===o||"::v-deep"===o){if(t.__deep=!0,i.nodes.length){let e=i;i.nodes[0].each(t=>{s.insertAfter(e,t),e=t});const t=s.at(s.index(i)-1);t&&aA(t)||s.insertAfter(i,eA.combinator({value:" "})),s.removeChild(i)}else{uu(`${o} usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead of ${o} <inner-selector>.`);const e=s.at(s.index(i)-1);e&&aA(e)&&s.removeChild(e),s.removeChild(i)}return!1}if(":slotted"===o||"::v-slotted"===o){oA(e,t,i.nodes[0],r,n,!0);let o=i;return i.nodes[0].each(e=>{s.insertAfter(o,e),o=e}),s.removeChild(i),a=!1,!1}if(":global"===o||"::v-global"===o)return s.replaceWith(i.nodes[0]),!1}if("universal"===i.type){const e=s.at(s.index(i)-1),t=s.at(s.index(i)+1);if(!e)return t?("combinator"===t.type&&" "===t.value&&s.removeChild(t),void s.removeChild(i)):(o=eA.combinator({value:""}),s.insertBefore(i,o),s.removeChild(i),!1);if(o)return}("pseudo"!==i.type&&"combinator"!==i.type||"pseudo"===i.type&&(":is"===i.value||":where"===i.value)&&!o)&&(o=i)}),t.nodes.some(e=>"rule"===e.type)){const e=t.__deep;if(!e){cA(t);const e=t.nodes.filter(e=>"atrule"===e.type);for(const t of e)cA(t)}a=e}if(o){const{type:s,value:c}=o;"pseudo"!==s||":is"!==c&&":where"!==c||(o.nodes.forEach(s=>oA(e,t,s,r,n,i)),a=!1)}if(o?o.spaces.after="":s.first.spaces.before="",a){const t=i?e+"-s":e;s.insertAfter(o,eA.attribute({attribute:t,value:t,raws:{},quoteMark:'"'}))}}function aA(e){return"combinator"===e.type&&/^\s+$/.test(e.value)}function cA(e){if(!e.nodes)return;const t=e.nodes.filter(e=>"decl"===e.type||"comment"===e.type);if(t.length){for(const r of t)e.removeChild(r);const s=new hf({nodes:t,selector:"&"});e.prepend(s)}}nA.postcss=!0;var lA,hA,pA={},uA={},dA={},fA={};function mA(){if(lA)return fA;lA=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return fA.encode=function(t){if(0<=t&&t<e.length)return e[t];throw new TypeError("Must be between 0 and 63: "+t)},fA.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1},fA}function AA(){if(hA)return dA;hA=1;var e=mA();return dA.encode=function(t){var s,r="",n=function(e){return e<0?1+(-e<<1):0+(e<<1)}(t);do{s=31&n,(n>>>=5)>0&&(s|=32),r+=e.encode(s)}while(n>0);return r},dA.decode=function(t,s,r){var n,i,o,a,c=t.length,l=0,h=0;do{if(s>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(i=e.decode(t.charCodeAt(s++))))throw new Error("Invalid base64 digit: "+t.charAt(s-1));n=!!(32&i),l+=(i&=31)<<h,h+=5}while(n);r.value=(a=(o=l)>>1,1&~o?a:-a),r.rest=s},dA}var gA,yA={};function xA(){return gA||(gA=1,function(e){e.getArg=function(e,t,s){if(t in e)return e[t];if(3===arguments.length)return s;throw new Error('"'+t+'" is a required argument.')};var t=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function r(e){var s=e.match(t);return s?{scheme:s[1],auth:s[2],host:s[3],port:s[4],path:s[5]}:null}function n(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(t){var s=t,i=r(t);if(i){if(!i.path)return t;s=i.path}for(var o,a=e.isAbsolute(s),c=s.split(/\/+/),l=0,h=c.length-1;h>=0;h--)"."===(o=c[h])?c.splice(h,1):".."===o?l++:l>0&&(""===o?(c.splice(h+1,l),l=0):(c.splice(h,2),l--));return""===(s=c.join("/"))&&(s=a?"/":"."),i?(i.path=s,n(i)):s}function o(e,t){""===e&&(e="."),""===t&&(t=".");var o=r(t),a=r(e);if(a&&(e=a.path||"/"),o&&!o.scheme)return a&&(o.scheme=a.scheme),n(o);if(o||t.match(s))return t;if(a&&!a.host&&!a.path)return a.host=t,n(a);var c="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=c,n(a)):c}e.urlParse=r,e.urlGenerate=n,e.normalize=i,e.join=o,e.isAbsolute=function(e){return"/"===e.charAt(0)||t.test(e)},e.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var s=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++s}return Array(s+1).join("../")+t.substr(e.length+1)};var a=!("__proto__"in Object.create(null));function c(e){return e}function l(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var s=t-10;s>=0;s--)if(36!==e.charCodeAt(s))return!1;return!0}function h(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}e.toSetString=a?c:function(e){return l(e)?"$"+e:e},e.fromSetString=a?c:function(e){return l(e)?e.slice(1):e},e.compareByOriginalPositions=function(e,t,s){var r=h(e.source,t.source);return 0!==r||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)||s||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=e.generatedLine-t.generatedLine)?r:h(e.name,t.name)},e.compareByGeneratedPositionsDeflated=function(e,t,s){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||s||0!==(r=h(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:h(e.name,t.name)},e.compareByGeneratedPositionsInflated=function(e,t){var s=e.generatedLine-t.generatedLine;return 0!==s||0!==(s=e.generatedColumn-t.generatedColumn)||0!==(s=h(e.source,t.source))||0!==(s=e.originalLine-t.originalLine)||0!==(s=e.originalColumn-t.originalColumn)?s:h(e.name,t.name)},e.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},e.computeSourceURL=function(e,t,s){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),s){var a=r(s);if(!a)throw new Error("sourceMapURL could not be parsed");if(a.path){var c=a.path.lastIndexOf("/");c>=0&&(a.path=a.path.substring(0,c+1))}t=o(n(a),t)}return i(t)}}(yA)),yA}var bA,SA={};function EA(){if(bA)return SA;bA=1;var e=xA(),t=Object.prototype.hasOwnProperty,s="undefined"!=typeof Map;function r(){this._array=[],this._set=s?new Map:Object.create(null)}return r.fromArray=function(e,t){for(var s=new r,n=0,i=e.length;n<i;n++)s.add(e[n],t);return s},r.prototype.size=function(){return s?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(r,n){var i=s?r:e.toSetString(r),o=s?this.has(r):t.call(this._set,i),a=this._array.length;o&&!n||this._array.push(r),o||(s?this._set.set(r,a):this._set[i]=a)},r.prototype.has=function(r){if(s)return this._set.has(r);var n=e.toSetString(r);return t.call(this._set,n)},r.prototype.indexOf=function(r){if(s){var n=this._set.get(r);if(n>=0)return n}else{var i=e.toSetString(r);if(t.call(this._set,i))return this._set[i]}throw new Error('"'+r+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},SA.ArraySet=r,SA}var vA,wA,CA={};function IA(){if(vA)return CA;vA=1;var e=xA();function t(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return t.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},t.prototype.add=function(t){var s,r,n,i,o,a;s=this._last,r=t,n=s.generatedLine,i=r.generatedLine,o=s.generatedColumn,a=r.generatedColumn,i>n||i==n&&a>=o||e.compareByGeneratedPositionsInflated(s,r)<=0?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))},t.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},CA.MappingList=t,CA}function TA(){if(wA)return uA;wA=1;var e=AA(),t=xA(),s=EA().ArraySet,r=IA().MappingList;function n(e){e||(e={}),this._file=t.getArg(e,"file",null),this._sourceRoot=t.getArg(e,"sourceRoot",null),this._skipValidation=t.getArg(e,"skipValidation",!1),this._sources=new s,this._names=new s,this._mappings=new r,this._sourcesContents=null}return n.prototype._version=3,n.fromSourceMap=function(e){var s=e.sourceRoot,r=new n({file:e.file,sourceRoot:s});return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=s&&(n.source=t.relative(s,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),r.addMapping(n)}),e.sources.forEach(function(n){var i=n;null!==s&&(i=t.relative(s,n)),r._sources.has(i)||r._sources.add(i);var o=e.sourceContentFor(n);null!=o&&r.setSourceContent(n,o)}),r},n.prototype.addMapping=function(e){var s=t.getArg(e,"generated"),r=t.getArg(e,"original",null),n=t.getArg(e,"source",null),i=t.getArg(e,"name",null);this._skipValidation||this._validateMapping(s,r,n,i),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=i&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:s.line,generatedColumn:s.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:i})},n.prototype.setSourceContent=function(e,s){var r=e;null!=this._sourceRoot&&(r=t.relative(this._sourceRoot,r)),null!=s?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(r)]=s):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},n.prototype.applySourceMap=function(e,r,n){var i=r;if(null==r){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');i=e.file}var o=this._sourceRoot;null!=o&&(i=t.relative(o,i));var a=new s,c=new s;this._mappings.unsortedForEach(function(s){if(s.source===i&&null!=s.originalLine){var r=e.originalPositionFor({line:s.originalLine,column:s.originalColumn});null!=r.source&&(s.source=r.source,null!=n&&(s.source=t.join(n,s.source)),null!=o&&(s.source=t.relative(o,s.source)),s.originalLine=r.line,s.originalColumn=r.column,null!=r.name&&(s.name=r.name))}var l=s.source;null==l||a.has(l)||a.add(l);var h=s.name;null==h||c.has(h)||c.add(h)},this),this._sources=a,this._names=c,e.sources.forEach(function(s){var r=e.sourceContentFor(s);null!=r&&(null!=n&&(s=t.join(n,s)),null!=o&&(s=t.relative(o,s)),this.setSourceContent(s,r))},this)},n.prototype._validateMapping=function(e,t,s,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||s||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&s))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:s,original:t,name:r}))},n.prototype._serializeMappings=function(){for(var s,r,n,i,o=0,a=1,c=0,l=0,h=0,p=0,u="",d=this._mappings.toArray(),f=0,m=d.length;f<m;f++){if(s="",(r=d[f]).generatedLine!==a)for(o=0;r.generatedLine!==a;)s+=";",a++;else if(f>0){if(!t.compareByGeneratedPositionsInflated(r,d[f-1]))continue;s+=","}s+=e.encode(r.generatedColumn-o),o=r.generatedColumn,null!=r.source&&(i=this._sources.indexOf(r.source),s+=e.encode(i-p),p=i,s+=e.encode(r.originalLine-1-l),l=r.originalLine-1,s+=e.encode(r.originalColumn-c),c=r.originalColumn,null!=r.name&&(n=this._names.indexOf(r.name),s+=e.encode(n-h),h=n)),u+=s}return u},n.prototype._generateSourcesContent=function(e,s){return e.map(function(e){if(!this._sourcesContents)return null;null!=s&&(e=t.relative(s,e));var r=t.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)},n.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},n.prototype.toString=function(){return JSON.stringify(this.toJSON())},uA.SourceMapGenerator=n,uA}var PA,NA={},kA={};function OA(){return PA||(PA=1,function(e){function t(s,r,n,i,o,a){var c=Math.floor((r-s)/2)+s,l=o(n,i[c],!0);return 0===l?c:l>0?r-c>1?t(c,r,n,i,o,a):a==e.LEAST_UPPER_BOUND?r<i.length?r:-1:c:c-s>1?t(s,c,n,i,o,a):a==e.LEAST_UPPER_BOUND?c:s<0?-1:s}e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2,e.search=function(s,r,n,i){if(0===r.length)return-1;var o=t(-1,r.length,s,r,n,i||e.GREATEST_LOWER_BOUND);if(o<0)return-1;for(;o-1>=0&&0===n(r[o],r[o-1],!0);)--o;return o}}(kA)),kA}var _A,DA,LA={};function MA(){if(_A)return LA;function e(e,t,s){var r=e[t];e[t]=e[s],e[s]=r}function t(s,r,n,i){if(n<i){var o=n-1;e(s,(h=n,p=i,Math.round(h+Math.random()*(p-h))),i);for(var a=s[i],c=n;c<i;c++)r(s[c],a)<=0&&e(s,o+=1,c);e(s,o+1,c);var l=o+1;t(s,r,n,l-1),t(s,r,l+1,i)}var h,p}return _A=1,LA.quickSort=function(e,s){t(e,s,0,e.length-1)},LA}var BA,RA,FA,UA,jA={};function GA(){return RA||(RA=1,pA.SourceMapGenerator=TA().SourceMapGenerator,pA.SourceMapConsumer=function(){if(DA)return NA;DA=1;var e=xA(),t=OA(),s=EA().ArraySet,r=AA(),n=MA().quickSort;function i(t,s){var r=t;return"string"==typeof t&&(r=e.parseSourceMapInput(t)),null!=r.sections?new c(r,s):new o(r,s)}function o(t,r){var n=t;"string"==typeof t&&(n=e.parseSourceMapInput(t));var i=e.getArg(n,"version"),o=e.getArg(n,"sources"),a=e.getArg(n,"names",[]),c=e.getArg(n,"sourceRoot",null),l=e.getArg(n,"sourcesContent",null),h=e.getArg(n,"mappings"),p=e.getArg(n,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);c&&(c=e.normalize(c)),o=o.map(String).map(e.normalize).map(function(t){return c&&e.isAbsolute(c)&&e.isAbsolute(t)?e.relative(c,t):t}),this._names=s.fromArray(a.map(String),!0),this._sources=s.fromArray(o,!0),this._absoluteSources=this._sources.toArray().map(function(t){return e.computeSourceURL(c,t,r)}),this.sourceRoot=c,this.sourcesContent=l,this._mappings=h,this._sourceMapURL=r,this.file=p}function a(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function c(t,r){var n=t;"string"==typeof t&&(n=e.parseSourceMapInput(t));var o=e.getArg(n,"version"),a=e.getArg(n,"sections");if(o!=this._version)throw new Error("Unsupported version: "+o);this._sources=new s,this._names=new s;var c={line:-1,column:0};this._sections=a.map(function(t){if(t.url)throw new Error("Support for url field in sections not implemented.");var s=e.getArg(t,"offset"),n=e.getArg(s,"line"),o=e.getArg(s,"column");if(n<c.line||n===c.line&&o<c.column)throw new Error("Section offsets must be ordered and non-overlapping.");return c=s,{generatedOffset:{generatedLine:n+1,generatedColumn:o+1},consumer:new i(e.getArg(t,"map"),r)}})}return i.fromSourceMap=function(e,t){return o.fromSourceMap(e,t)},i.prototype._version=3,i.prototype.__generatedMappings=null,Object.defineProperty(i.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),i.prototype.__originalMappings=null,Object.defineProperty(i.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),i.prototype._charIsMappingSeparator=function(e,t){var s=e.charAt(t);return";"===s||","===s},i.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},i.GENERATED_ORDER=1,i.ORIGINAL_ORDER=2,i.GREATEST_LOWER_BOUND=1,i.LEAST_UPPER_BOUND=2,i.prototype.eachMapping=function(t,s,r){var n,o=s||null;switch(r||i.GENERATED_ORDER){case i.GENERATED_ORDER:n=this._generatedMappings;break;case i.ORIGINAL_ORDER:n=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;n.map(function(t){var s=null===t.source?null:this._sources.at(t.source);return{source:s=e.computeSourceURL(a,s,this._sourceMapURL),generatedLine:t.generatedLine,generatedColumn:t.generatedColumn,originalLine:t.originalLine,originalColumn:t.originalColumn,name:null===t.name?null:this._names.at(t.name)}},this).forEach(t,o)},i.prototype.allGeneratedPositionsFor=function(s){var r=e.getArg(s,"line"),n={source:e.getArg(s,"source"),originalLine:r,originalColumn:e.getArg(s,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,t.LEAST_UPPER_BOUND);if(o>=0){var a=this._originalMappings[o];if(void 0===s.column)for(var c=a.originalLine;a&&a.originalLine===c;)i.push({line:e.getArg(a,"generatedLine",null),column:e.getArg(a,"generatedColumn",null),lastColumn:e.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++o];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)i.push({line:e.getArg(a,"generatedLine",null),column:e.getArg(a,"generatedColumn",null),lastColumn:e.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++o]}return i},NA.SourceMapConsumer=i,o.prototype=Object.create(i.prototype),o.prototype.consumer=i,o.prototype._findSourceIndex=function(t){var s,r=t;if(null!=this.sourceRoot&&(r=e.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(s=0;s<this._absoluteSources.length;++s)if(this._absoluteSources[s]==t)return s;return-1},o.fromSourceMap=function(t,r){var i=Object.create(o.prototype),c=i._names=s.fromArray(t._names.toArray(),!0),l=i._sources=s.fromArray(t._sources.toArray(),!0);i.sourceRoot=t._sourceRoot,i.sourcesContent=t._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=t._file,i._sourceMapURL=r,i._absoluteSources=i._sources.toArray().map(function(t){return e.computeSourceURL(i.sourceRoot,t,r)});for(var h=t._mappings.toArray().slice(),p=i.__generatedMappings=[],u=i.__originalMappings=[],d=0,f=h.length;d<f;d++){var m=h[d],A=new a;A.generatedLine=m.generatedLine,A.generatedColumn=m.generatedColumn,m.source&&(A.source=l.indexOf(m.source),A.originalLine=m.originalLine,A.originalColumn=m.originalColumn,m.name&&(A.name=c.indexOf(m.name)),u.push(A)),p.push(A)}return n(i.__originalMappings,e.compareByOriginalPositions),i},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),o.prototype._parseMappings=function(t,s){for(var i,o,c,l,h,p=1,u=0,d=0,f=0,m=0,A=0,g=t.length,y=0,x={},b={},S=[],E=[];y<g;)if(";"===t.charAt(y))p++,y++,u=0;else if(","===t.charAt(y))y++;else{for((i=new a).generatedLine=p,l=y;l<g&&!this._charIsMappingSeparator(t,l);l++);if(c=x[o=t.slice(y,l)])y+=o.length;else{for(c=[];y<l;)r.decode(t,y,b),h=b.value,y=b.rest,c.push(h);if(2===c.length)throw new Error("Found a source, but no line and column");if(3===c.length)throw new Error("Found a source and line, but no column");x[o]=c}i.generatedColumn=u+c[0],u=i.generatedColumn,c.length>1&&(i.source=m+c[1],m+=c[1],i.originalLine=d+c[2],d=i.originalLine,i.originalLine+=1,i.originalColumn=f+c[3],f=i.originalColumn,c.length>4&&(i.name=A+c[4],A+=c[4])),E.push(i),"number"==typeof i.originalLine&&S.push(i)}n(E,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=E,n(S,e.compareByOriginalPositions),this.__originalMappings=S},o.prototype._findMapping=function(e,s,r,n,i,o){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[n]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[n]);return t.search(e,s,i,o)},o.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var s=this._generatedMappings[e+1];if(t.generatedLine===s.generatedLine){t.lastGeneratedColumn=s.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(t){var s={generatedLine:e.getArg(t,"line"),generatedColumn:e.getArg(t,"column")},r=this._findMapping(s,this._generatedMappings,"generatedLine","generatedColumn",e.compareByGeneratedPositionsDeflated,e.getArg(t,"bias",i.GREATEST_LOWER_BOUND));if(r>=0){var n=this._generatedMappings[r];if(n.generatedLine===s.generatedLine){var o=e.getArg(n,"source",null);null!==o&&(o=this._sources.at(o),o=e.computeSourceURL(this.sourceRoot,o,this._sourceMapURL));var a=e.getArg(n,"name",null);return null!==a&&(a=this._names.at(a)),{source:o,line:e.getArg(n,"originalLine",null),column:e.getArg(n,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e})},o.prototype.sourceContentFor=function(t,s){if(!this.sourcesContent)return null;var r=this._findSourceIndex(t);if(r>=0)return this.sourcesContent[r];var n,i=t;if(null!=this.sourceRoot&&(i=e.relative(this.sourceRoot,i)),null!=this.sourceRoot&&(n=e.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!n.path||"/"==n.path)&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(s)return null;throw new Error('"'+i+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(t){var s=e.getArg(t,"source");if((s=this._findSourceIndex(s))<0)return{line:null,column:null,lastColumn:null};var r={source:s,originalLine:e.getArg(t,"line"),originalColumn:e.getArg(t,"column")},n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(t,"bias",i.GREATEST_LOWER_BOUND));if(n>=0){var o=this._originalMappings[n];if(o.source===r.source)return{line:e.getArg(o,"generatedLine",null),column:e.getArg(o,"generatedColumn",null),lastColumn:e.getArg(o,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},NA.BasicSourceMapConsumer=o,c.prototype=Object.create(i.prototype),c.prototype.constructor=i,c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var s=0;s<this._sections[t].consumer.sources.length;s++)e.push(this._sections[t].consumer.sources[s]);return e}}),c.prototype.originalPositionFor=function(s){var r={generatedLine:e.getArg(s,"line"),generatedColumn:e.getArg(s,"column")},n=t.search(r,this._sections,function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn}),i=this._sections[n];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:s.bias}):{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},c.prototype.sourceContentFor=function(e,t){for(var s=0;s<this._sections.length;s++){var r=this._sections[s].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(t){for(var s=0;s<this._sections.length;s++){var r=this._sections[s];if(-1!==r.consumer._findSourceIndex(e.getArg(t,"source"))){var n=r.consumer.generatedPositionFor(t);if(n)return{line:n.line+(r.generatedOffset.generatedLine-1),column:n.column+(r.generatedOffset.generatedLine===n.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},c.prototype._parseMappings=function(t,s){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var i=this._sections[r],o=i.consumer._generatedMappings,a=0;a<o.length;a++){var c=o[a],l=i.consumer._sources.at(c.source);l=e.computeSourceURL(i.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var h=null;c.name&&(h=i.consumer._names.at(c.name),this._names.add(h),h=this._names.indexOf(h));var p={source:l,generatedLine:c.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:c.generatedColumn+(i.generatedOffset.generatedLine===c.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:c.originalLine,originalColumn:c.originalColumn,name:h};this.__generatedMappings.push(p),"number"==typeof p.originalLine&&this.__originalMappings.push(p)}n(this.__generatedMappings,e.compareByGeneratedPositionsDeflated),n(this.__originalMappings,e.compareByOriginalPositions)},NA.IndexedSourceMapConsumer=c,NA}().SourceMapConsumer,pA.SourceNode=function(){if(BA)return jA;BA=1;var e=TA().SourceMapGenerator,t=xA(),s=/(\r?\n)/,r="$$$isSourceNode$$$";function n(e,t,s,n,i){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==s?null:s,this.name=null==i?null:i,this[r]=!0,null!=n&&this.add(n)}return n.fromStringWithSourceMap=function(e,r,i){var o=new n,a=e.split(s),c=0,l=function(){return e()+(e()||"");function e(){return c<a.length?a[c++]:void 0}},h=1,p=0,u=null;return r.eachMapping(function(e){if(null!==u){if(!(h<e.generatedLine)){var t=(s=a[c]||"").substr(0,e.generatedColumn-p);return a[c]=s.substr(e.generatedColumn-p),p=e.generatedColumn,d(u,t),void(u=e)}d(u,l()),h++,p=0}for(;h<e.generatedLine;)o.add(l()),h++;if(p<e.generatedColumn){var s=a[c]||"";o.add(s.substr(0,e.generatedColumn)),a[c]=s.substr(e.generatedColumn),p=e.generatedColumn}u=e},this),c<a.length&&(u&&d(u,l()),o.add(a.splice(c).join(""))),r.sources.forEach(function(e){var s=r.sourceContentFor(e);null!=s&&(null!=i&&(e=t.join(i,e)),o.setSourceContent(e,s))}),o;function d(e,s){if(null===e||void 0===e.source)o.add(s);else{var r=i?t.join(i,e.source):e.source;o.add(new n(e.originalLine,e.originalColumn,r,s,e.name))}}},n.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(e){this.add(e)},this);else{if(!e[r]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},n.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[r]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},n.prototype.walk=function(e){for(var t,s=0,n=this.children.length;s<n;s++)(t=this.children[s])[r]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},n.prototype.join=function(e){var t,s,r=this.children.length;if(r>0){for(t=[],s=0;s<r-1;s++)t.push(this.children[s]),t.push(e);t.push(this.children[s]),this.children=t}return this},n.prototype.replaceRight=function(e,t){var s=this.children[this.children.length-1];return s[r]?s.replaceRight(e,t):"string"==typeof s?this.children[this.children.length-1]=s.replace(e,t):this.children.push("".replace(e,t)),this},n.prototype.setSourceContent=function(e,s){this.sourceContents[t.toSetString(e)]=s},n.prototype.walkSourceContents=function(e){for(var s=0,n=this.children.length;s<n;s++)this.children[s][r]&&this.children[s].walkSourceContents(e);var i=Object.keys(this.sourceContents);for(s=0,n=i.length;s<n;s++)e(t.fromSetString(i[s]),this.sourceContents[i[s]])},n.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e},n.prototype.toStringWithSourceMap=function(t){var s={code:"",line:1,column:0},r=new e(t),n=!1,i=null,o=null,a=null,c=null;return this.walk(function(e,t){s.code+=e,null!==t.source&&null!==t.line&&null!==t.column?(i===t.source&&o===t.line&&a===t.column&&c===t.name||r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:s.line,column:s.column},name:t.name}),i=t.source,o=t.line,a=t.column,c=t.name,n=!0):n&&(r.addMapping({generated:{line:s.line,column:s.column}}),i=null,n=!1);for(var l=0,h=e.length;l<h;l++)10===e.charCodeAt(l)?(s.line++,s.column=0,l+1===h?(i=null,n=!1):n&&r.addMapping({source:t.source,original:{line:t.line,column:t.column},generated:{line:s.line,column:s.column},name:t.name})):s.column++}),this.walkSourceContents(function(e,t){r.setSourceContent(e,t)}),{code:s.code,map:r}},jA.SourceNode=n,jA}().SourceNode),pA}function QA(){if(UA)return FA;UA=1;var e=GA(),t=e.SourceMapConsumer,s=e.SourceMapGenerator;return FA=function(e,r){if(!e)return r;if(!r)return e;var n=new t(e),i=new t(r),o=new s;return i.eachMapping(function(e){if(null!=e.originalLine){var t=n.originalPositionFor({line:e.originalLine,column:e.originalColumn});null!=t.source&&o.addMapping({original:{line:t.line,column:t.column},generated:{line:e.generatedLine,column:e.generatedColumn},source:t.source,name:t.name})}}),[n,i].forEach(function(e){e.sources.forEach(function(t){o._sources.add(t);var s=e.sourceContentFor(t);null!=s&&o.setSourceContent(t,s)})}),o._sourceRoot=e.sourceRoot,o._file=e.file,JSON.parse(o.toString())}}var WA=Hs(QA()),KA=Object.defineProperty,VA=Object.defineProperties,YA=Object.getOwnPropertyDescriptors,JA=Object.getOwnPropertySymbols,HA=Object.prototype.hasOwnProperty,$A=Object.prototype.propertyIsEnumerable,XA=(e,t,s)=>t in e?KA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,ZA=(e,t)=>{for(var s in t||(t={}))HA.call(t,s)&&XA(e,s,t[s]);if(JA)for(var s of JA(t))$A.call(t,s)&&XA(e,s,t[s]);return e},qA=(e,t)=>VA(e,YA(t));const zA=(e,t,s,r=require)=>{const n=r("sass"),{compileString:i,renderSync:o}=n,a=tg(e,s.filename,s.additionalData);let c,l,h;try{if(i){const{pathToFileURL:e,fileURLToPath:n}=r("url"),o=i(a,qA(ZA({},s),{url:e(s.filename),sourceMap:!!t}));c=o.css,l=o.loadedUrls.map(e=>n(e)),h=t?o.sourceMap:void 0}else{const e=o(qA(ZA({},s),{data:a,file:s.filename,outFile:s.filename,sourceMap:!!t}));c=e.css.toString(),l=e.stats.includedFiles,h=t?JSON.parse(e.map.toString()):void 0}return t?{code:c,errors:[],dependencies:l,map:WA(t,h)}:{code:c,errors:[],dependencies:l}}catch(p){return{code:"",errors:[p],dependencies:[]}}},eg=(e,t,s,r=require)=>{const n=r("stylus");try{const r=n(e,s);t&&r.set("sourcemap",{inline:!1,comment:!1});const i=r.render(),o=r.deps();return t?{code:i,map:WA(t,r.sourcemap),errors:[],dependencies:o}:{code:i,errors:[],dependencies:o}}catch(i){return{code:"",errors:[i],dependencies:[]}}};function tg(e,t,s){return s?u(s)?s(e,t):s+e:e}const sg={less:(e,t,s,r=require)=>{const n=r("less");let i,o=null;if(n.render(tg(e,s.filename,s.additionalData),qA(ZA({},s),{syncImport:!0}),(e,t)=>{o=e,i=t}),o)return{code:"",errors:[o],dependencies:[]};const a=i.imports;return t?{code:i.css.toString(),map:WA(t,i.map),errors:[],dependencies:a}:{code:i.css.toString(),errors:[],dependencies:a}},sass:(e,t,s,r)=>zA(e,t,qA(ZA({},s),{indentedSyntax:!0}),r),scss:zA,styl:eg,stylus:eg};var rg=Object.defineProperty,ng=Object.defineProperties,ig=Object.getOwnPropertyDescriptors,og=Object.getOwnPropertySymbols,ag=Object.prototype.hasOwnProperty,cg=Object.prototype.propertyIsEnumerable,lg=(e,t,s)=>t in e?rg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,hg=(e,t)=>{for(var s in t||(t={}))ag.call(t,s)&&lg(e,s,t[s]);if(og)for(var s of og(t))cg.call(t,s)&&lg(e,s,t[s]);return e},pg=(e,t)=>ng(e,ig(t));function ug(e){return function(e){const{filename:t,id:s,scoped:r=!1,trim:n=!0,isProd:i=!1,modules:o=!1,modulesOptions:a={},preprocessLang:c,postcssOptions:l,postcssPlugins:h}=e,p=c&&sg[c],u=p&&function(e,t){if(!e.preprocessCustomRequire)throw new Error("[@vue/compiler-sfc] Style preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor.");return t(e.source,e.inMap||e.map,hg({filename:e.filename},e.preprocessOptions),e.preprocessCustomRequire)}(e,p),d=u?u.map:e.inMap||e.map,f=u?u.code:e.source,m=s.replace(/^data-v-/,""),A=`data-v-${m}`,g=(h||[]).slice();g.unshift(Na({id:m,isProd:i})),n&&g.push(pf());r&&g.push(nA(A));let y;if(o)throw new Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");const x=pg(hg({},l),{to:t,from:t});d&&(x.map={inline:!1,annotation:!1,prev:d});let b,S,E;const v=new Set(u?u.dependencies:[]);v.delete(t);const w=[];u&&u.errors.length&&w.push(...u.errors);const C=e=>(e.forEach(e=>{"dependency"===e.type&&v.add(e.file)}),v);try{if(b=lf(g).process(f,x),e.isAsync)return b.then(e=>({code:e.css||"",map:e.map&&e.map.toJSON(),errors:w,modules:y,rawResult:e,dependencies:C(e.messages)})).catch(e=>({code:"",map:void 0,errors:[...w,e],rawResult:void 0,dependencies:v}));C(b.messages),S=b.css,E=b.map}catch(I){w.push(I)}return{code:S||"",map:E&&E.toJSON(),errors:w,rawResult:b,dependencies:v}}(pg(hg({},e),{isAsync:!0}))}const dg="Unknown";function fg(e,t){switch(e.type){case"StringLiteral":case"NumericLiteral":return String(e.value);case"Identifier":if(!t)return e.name}}function mg(e){return e.filter(e=>!!e).join(", ")}function Ag(e){return e.type.endsWith("Literal")}function gg(e,t){return!!(e&&t&&"CallExpression"===e.type&&"Identifier"===e.callee.type&&("string"==typeof t?e.callee.name===t:t(e.callee.name)))}function yg(e){return e.length>1?`[${e.join(", ")}]`:e[0]}function xg(e){return"ImportSpecifier"===e.type?"Identifier"===e.imported.type?e.imported.name:e.imported.value:"ImportNamespaceSpecifier"===e.type?"*":"default"}function bg(e){return"Identifier"===e.type?e.name:"StringLiteral"===e.type?e.value:null}function Sg(e){return e.computed?"TemplateLiteral"!==e.key.type||e.key.expressions.length?null:e.key.quasis.map(e=>e.value.cooked).join(""):"Identifier"===e.key.type?e.key.name:"StringLiteral"===e.key.type?e.key.value:"NumericLiteral"===e.key.type?String(e.key.value):null}const Eg=(Lc.posix||Lc).normalize,vg=/\\/g;function wg(e){return Eg(e.replace(vg,"/"))}const Cg=(Lc.posix||Lc).join,Ig=/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~\-]/;function Tg(e){return Ig.test(e)?JSON.stringify(e):e}const Pg=(...e)=>e.some(e=>"js"===e||"jsx"===e),Ng=(...e)=>e.some(e=>"ts"===e||"tsx"===e);function kg(e){for(const t of e)if("ExportDefaultDeclaration"===t.type&&"ObjectExpression"===t.declaration.type)return Og(t.declaration);return{}}function Og(e){const t={};Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!1});for(const s of e.properties)if("ObjectProperty"!==s.type||s.computed||"Identifier"!==s.key.type){if("ObjectMethod"===s.type&&"Identifier"===s.key.type&&("setup"===s.key.name||"data"===s.key.name))for(const e of s.body.body)if("ReturnStatement"===e.type&&e.argument&&"ObjectExpression"===e.argument.type)for(const r of _g(e.argument))t[r]="setup"===s.key.name?"setup-maybe-ref":"data"}else if("props"===s.key.name)for(const e of Dg(s.value))t[e]="props";else if("inject"===s.key.name)for(const e of Dg(s.value))t[e]="options";else if("ObjectExpression"===s.value.type&&("computed"===s.key.name||"methods"===s.key.name))for(const e of _g(s.value))t[e]="options";return t}function _g(e){const t=[];for(const s of e.properties){if("SpreadElement"===s.type)continue;const e=fg(s.key,s.computed);e&&t.push(String(e))}return t}function Dg(e){return"ArrayExpression"===e.type?function(e){const t=[];for(const s of e.elements)s&&"StringLiteral"===s.type&&t.push(s.value);return t}(e):"ObjectExpression"===e.type?_g(e):[]}var Lg=",".charCodeAt(0),Mg=";".charCodeAt(0),Bg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Rg=new Uint8Array(64),Fg=new Uint8Array(128);for(let Ob=0;Ob<64;Ob++){const e=Bg.charCodeAt(Ob);Rg[Ob]=e,Fg[e]=Ob}function Ug(e,t,s){let r=t-s;r=r<0?-r<<1|1:r<<1;do{let t=31&r;r>>>=5,r>0&&(t|=32),e.write(Rg[t])}while(r>0);return t}var jg="undefined"!=typeof TextDecoder?new TextDecoder:void 0!==e.Buffer?{decode:t=>e.Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}:{decode(e){let t="";for(let s=0;s<e.length;s++)t+=String.fromCharCode(e[s]);return t}},Gg=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}write(e){const{buffer:t}=this;t[this.pos++]=e,16384===this.pos&&(this.out+=jg.decode(t),this.pos=0)}flush(){const{buffer:e,out:t,pos:s}=this;return s>0?t+jg.decode(e.subarray(0,s)):t}};class Qg{constructor(e){this.bits=e instanceof Qg?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(31&e)}has(e){return!!(this.bits[e>>5]&1<<(31&e))}}class Wg{constructor(e,t,s){this.start=e,this.end=t,this.original=s,this.intro="",this.outro="",this.content=s,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){const e=new Wg(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let t=this;for(;t;)e(t),t=t.next}eachPrevious(e){let t=this;for(;t;)e(t),t=t.previous}edit(e,t,s){return this.content=e,s||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){const t=e-this.start,s=this.original.slice(0,t),r=this.original.slice(t);this.original=s;const n=new Wg(e,this.end,r);return n.outro=this.outro,this.outro="",this.end=e,this.edited?(n.edit("",!1),this.content=""):this.content=s,n.next=this.next,n.next&&(n.next.previous=n),n.previous=this,this.next=n,n}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;const t=this.content.replace(e,"");return t.length?(t!==this.content&&(this.split(this.start+t.length).edit("",void 0,!0),this.edited&&this.edit(t,this.storeName,!0)),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),!!this.intro.length||void 0)}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;const t=this.content.replace(e,"");if(t.length){if(t!==this.content){const e=this.split(this.end-t.length);this.edited&&e.edit(t,this.storeName,!0),this.edit("",void 0,!0)}return!0}return this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),!!this.outro.length||void 0}}function Kg(){return"undefined"!=typeof globalThis&&"function"==typeof globalThis.btoa?e=>globalThis.btoa(unescape(encodeURIComponent(e))):"function"==typeof e.Buffer?t=>e.Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}const Vg=Kg();class Yg{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=function(e){const t=new Gg;let s=0,r=0,n=0,i=0;for(let o=0;o<e.length;o++){const a=e[o];if(o>0&&t.write(Mg),0===a.length)continue;let c=0;for(let e=0;e<a.length;e++){const o=a[e];e>0&&t.write(Lg),c=Ug(t,o[0],c),1!==o.length&&(s=Ug(t,o[1],s),r=Ug(t,o[2],r),n=Ug(t,o[3],n),4!==o.length&&(i=Ug(t,o[4],i)))}}return t.flush()}(e.mappings),void 0!==e.x_google_ignoreList&&(this.x_google_ignoreList=e.x_google_ignoreList),void 0!==e.debugId&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+Vg(this.toString())}}function Jg(e,t){const s=e.split(/[/\\]/),r=t.split(/[/\\]/);for(s.pop();s[0]===r[0];)s.shift(),r.shift();if(s.length){let e=s.length;for(;e--;)s[e]=".."}return s.concat(r).join("/")}const Hg=Object.prototype.toString;function $g(e){const t=e.split("\n"),s=[];for(let r=0,n=0;r<t.length;r++)s.push(n),n+=t[r].length+1;return function(e){let t=0,r=s.length;for(;t<r;){const n=t+r>>1;e<s[n]?r=n:t=n+1}const n=t-1;return{line:n,column:e-s[n]}}}const Xg=/\w/;class Zg{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,t,s,r){if(t.length){const n=t.length-1;let i=t.indexOf("\n",0),o=-1;for(;i>=0&&n>i;){const n=[this.generatedCodeColumn,e,s.line,s.column];r>=0&&n.push(r),this.rawSegments.push(n),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=i,i=t.indexOf("\n",i+1)}const a=[this.generatedCodeColumn,e,s.line,s.column];r>=0&&a.push(r),this.rawSegments.push(a),this.advance(t.slice(o+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(t));this.pending=null}addUneditedChunk(e,t,s,r,n){let i=t.start,o=!0,a=!1;for(;i<t.end;){if("\n"===s[i])r.line+=1,r.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0,a=!1;else{if(this.hires||o||n.has(i)){const t=[this.generatedCodeColumn,e,r.line,r.column];"boundary"===this.hires?Xg.test(s[i])?a||(this.rawSegments.push(t),a=!0):(this.rawSegments.push(t),a=!1):this.rawSegments.push(t)}r.column+=1,this.generatedCodeColumn+=1,o=!1}i+=1}this.pending=null}advance(e){if(!e)return;const t=e.split("\n");if(t.length>1){for(let e=0;e<t.length-1;e++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}}const qg="\n",zg={insertLeft:!1,insertRight:!1,storeName:!1};class ey{constructor(e,t={}){const s=new Wg(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:s},lastChunk:{writable:!0,value:s},lastSearchedChunk:{writable:!0,value:s},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new Qg},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:t.ignoreList},offset:{writable:!0,value:t.offset||0}}),this.byStart[0]=s,this.byEnd[e.length]=s}addSourcemapLocation(e){this.sourcemapLocations.add(e)}append(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this}appendLeft(e,t){if(e+=this.offset,"string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const s=this.byEnd[e];return s?s.appendLeft(t):this.intro+=t,this}appendRight(e,t){if(e+=this.offset,"string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const s=this.byStart[e];return s?s.appendRight(t):this.outro+=t,this}clone(){const e=new ey(this.original,{filename:this.filename,offset:this.offset});let t=this.firstChunk,s=e.firstChunk=e.lastSearchedChunk=t.clone();for(;t;){e.byStart[s.start]=s,e.byEnd[s.end]=s;const r=t.next,n=r&&r.clone();n&&(s.next=n,n.previous=s,s=n),t=r}return e.lastChunk=s,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new Qg(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e}generateDecodedMap(e){e=e||{};const t=Object.keys(this.storedNames),s=new Zg(e.hires),r=$g(this.original);return this.intro&&s.advance(this.intro),this.firstChunk.eachNext(e=>{const n=r(e.start);e.intro.length&&s.advance(e.intro),e.edited?s.addEdit(0,e.content,n,e.storeName?t.indexOf(e.original):-1):s.addUneditedChunk(0,e,this.original,n,this.sourcemapLocations),e.outro.length&&s.advance(e.outro)}),this.outro&&s.advance(this.outro),{file:e.file?e.file.split(/[/\\]/).pop():void 0,sources:[e.source?Jg(e.file||"",e.source):e.file||""],sourcesContent:e.includeContent?[this.original]:void 0,names:t,mappings:s.raw,x_google_ignoreList:this.ignoreList?[0]:void 0}}generateMap(e){return new Yg(this.generateDecodedMap(e))}_ensureindentStr(){void 0===this.indentStr&&(this.indentStr=function(e){const t=e.split("\n"),s=t.filter(e=>/^\t+/.test(e)),r=t.filter(e=>/^ {2,}/.test(e));if(0===s.length&&0===r.length)return null;if(s.length>=r.length)return"\t";const n=r.reduce((e,t)=>{const s=/^ +/.exec(t)[0].length;return Math.min(s,e)},1/0);return new Array(n+1).join(" ")}(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),null===this.indentStr?"\t":this.indentStr}indent(e,t){const s=/^[^\r\n]/gm;var r;if(r=e,"[object Object]"===Hg.call(r)&&(t=e,e=void 0),void 0===e&&(this._ensureindentStr(),e=this.indentStr||"\t"),""===e)return this;const n={};if((t=t||{}).exclude){("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach(e=>{for(let t=e[0];t<e[1];t+=1)n[t]=!0})}let i=!1!==t.indentStart;const o=t=>i?`${e}${t}`:(i=!0,t);this.intro=this.intro.replace(s,o);let a=0,c=this.firstChunk;for(;c;){const t=c.end;if(c.edited)n[a]||(c.content=c.content.replace(s,o),c.content.length&&(i="\n"===c.content[c.content.length-1]));else for(a=c.start;a<t;){if(!n[a]){const t=this.original[a];"\n"===t?i=!0:"\r"!==t&&i&&(i=!1,a===c.start||(this._splitChunk(c,a),c=c.next),c.prependRight(e))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(s,o),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(e,t){return zg.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),zg.insertLeft=!0),this.appendLeft(e,t)}insertRight(e,t){return zg.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),zg.insertRight=!0),this.prependRight(e,t)}move(e,t,s){if(e+=this.offset,t+=this.offset,(s+=this.offset)>=e&&s<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(s);const r=this.byStart[e],n=this.byEnd[t],i=r.previous,o=n.next,a=this.byStart[s];if(!a&&n===this.lastChunk)return this;const c=a?a.previous:this.lastChunk;return i&&(i.next=o),o&&(o.previous=i),c&&(c.next=r),a&&(a.previous=n),r.previous||(this.firstChunk=n.next),n.next||(this.lastChunk=r.previous,this.lastChunk.next=null),r.previous=c,n.next=a||null,c||(this.firstChunk=r),a||(this.lastChunk=n),this}overwrite(e,t,s,r){return r=r||{},this.update(e,t,s,{...r,overwrite:!r.contentOnly})}update(e,t,s,r){if(e+=this.offset,t+=this.offset,"string"!=typeof s)throw new TypeError("replacement content must be a string");if(0!==this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(e),this._split(t),!0===r&&(zg.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),zg.storeName=!0),r={storeName:!0});const n=void 0!==r&&r.storeName,i=void 0!==r&&r.overwrite;if(n){const s=this.original.slice(e,t);Object.defineProperty(this.storedNames,s,{writable:!0,value:!0,enumerable:!0})}const o=this.byStart[e],a=this.byEnd[t];if(o){let e=o;for(;e!==a;){if(e.next!==this.byStart[e.end])throw new Error("Cannot overwrite across a split point");e=e.next,e.edit("",!1)}o.edit(s,n,!i)}else{const r=new Wg(e,t,"").edit(s,n);a.next=r,r.previous=a}return this}prepend(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this}prependLeft(e,t){if(e+=this.offset,"string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const s=this.byEnd[e];return s?s.prependLeft(t):this.intro=t+this.intro,this}prependRight(e,t){if(e+=this.offset,"string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);const s=this.byStart[e];return s?s.prependRight(t):this.outro=t+this.outro,this}remove(e,t){if(e+=this.offset,t+=this.offset,0!==this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);let s=this.byStart[e];for(;s;)s.intro="",s.outro="",s.edit(""),s=t>s.end?this.byStart[s.end]:null;return this}reset(e,t){if(e+=this.offset,t+=this.offset,0!==this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);let s=this.byStart[e];for(;s;)s.reset(),s=t>s.end?this.byStart[s.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let e=this.outro.lastIndexOf(qg);if(-1!==e)return this.outro.substr(e+1);let t=this.outro,s=this.lastChunk;do{if(s.outro.length>0){if(e=s.outro.lastIndexOf(qg),-1!==e)return s.outro.substr(e+1)+t;t=s.outro+t}if(s.content.length>0){if(e=s.content.lastIndexOf(qg),-1!==e)return s.content.substr(e+1)+t;t=s.content+t}if(s.intro.length>0){if(e=s.intro.lastIndexOf(qg),-1!==e)return s.intro.substr(e+1)+t;t=s.intro+t}}while(s=s.previous);return e=this.intro.lastIndexOf(qg),-1!==e?this.intro.substr(e+1)+t:this.intro+t}slice(e=0,t=this.original.length-this.offset){if(e+=this.offset,t+=this.offset,0!==this.original.length){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length}let s="",r=this.firstChunk;for(;r&&(r.start>e||r.end<=e);){if(r.start<t&&r.end>=t)return s;r=r.next}if(r&&r.edited&&r.start!==e)throw new Error(`Cannot use replaced character ${e} as slice start anchor.`);const n=r;for(;r;){!r.intro||n===r&&r.start!==e||(s+=r.intro);const i=r.start<t&&r.end>=t;if(i&&r.edited&&r.end!==t)throw new Error(`Cannot use replaced character ${t} as slice end anchor.`);const o=n===r?e-r.start:0,a=i?r.content.length+t-r.end:r.content.length;if(s+=r.content.slice(o,a),!r.outro||i&&r.end!==t||(s+=r.outro),i)break;r=r.next}return s}snip(e,t){const s=this.clone();return s.remove(0,e),s.remove(t,s.original.length),s}_split(e){if(this.byStart[e]||this.byEnd[e])return;let t=this.lastSearchedChunk,s=t;const r=e>t.end;for(;t;){if(t.contains(e))return this._splitChunk(t,e);if(t=r?this.byStart[t.end]:this.byEnd[t.start],t===s)return;s=t}}_splitChunk(e,t){if(e.edited&&e.content.length){const s=$g(this.original)(t);throw new Error(`Cannot split a chunk that has already been edited (${s.line}:${s.column} – "${e.original}")`)}const s=e.split(t);return this.byEnd[t]=e,this.byStart[t]=s,this.byEnd[s.end]=s,e===this.lastChunk&&(this.lastChunk=s),this.lastSearchedChunk=e,!0}toString(){let e=this.intro,t=this.firstChunk;for(;t;)e+=t.toString(),t=t.next;return e+this.outro}isEmpty(){let e=this.firstChunk;do{if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1}while(e=e.next);return!0}length(){let e=this.firstChunk,t=0;do{t+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return t}trimLines(){return this.trim("[\\r\\n]")}trim(e){return this.trimStart(e).trimEnd(e)}trimEndAborted(e){const t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let s=this.lastChunk;do{const e=s.end,r=s.trimEnd(t);if(s.end!==e&&(this.lastChunk===s&&(this.lastChunk=s.next),this.byEnd[s.end]=s,this.byStart[s.next.start]=s.next,this.byEnd[s.next.end]=s.next),r)return!0;s=s.previous}while(s);return!1}trimEnd(e){return this.trimEndAborted(e),this}trimStartAborted(e){const t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let s=this.firstChunk;do{const e=s.end,r=s.trimStart(t);if(s.end!==e&&(s===this.lastChunk&&(this.lastChunk=s.next),this.byEnd[s.end]=s,this.byStart[s.next.start]=s.next,this.byEnd[s.next.end]=s.next),r)return!0;s=s.next}while(s);return!1}trimStart(e){return this.trimStartAborted(e),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(e,t){function s(e,s){return"string"==typeof t?t.replace(/\$(\$|&|\d+)/g,(t,s)=>{if("$"===s)return"$";if("&"===s)return e[0];return+s<e.length?e[+s]:`$${s}`}):t(...e,e.index,s,e.groups)}if(e.global){(function(e,t){let s;const r=[];for(;s=e.exec(t);)r.push(s);return r})(e,this.original).forEach(e=>{if(null!=e.index){const t=s(e,this.original);t!==e[0]&&this.overwrite(e.index,e.index+e[0].length,t)}})}else{const t=this.original.match(e);if(t&&null!=t.index){const e=s(t,this.original);e!==t[0]&&this.overwrite(t.index,t.index+t[0].length,e)}}return this}_replaceString(e,t){const{original:s}=this,r=s.indexOf(e);return-1!==r&&("function"==typeof t&&(t=t(e,r,s)),e!==t&&this.overwrite(r,r+e.length,t)),this}replace(e,t){return"string"==typeof e?this._replaceString(e,t):this._replaceRegexp(e,t)}_replaceAllString(e,t){const{original:s}=this,r=e.length;for(let n=s.indexOf(e);-1!==n;n=s.indexOf(e,n+r)){const e=s.slice(n,n+r);let i=t;"function"==typeof t&&(i=t(e,n,s)),e!==i&&this.overwrite(n,n+r,i)}return this}replaceAll(e,t){if("string"==typeof e)return this._replaceAllString(e,t);if(!e.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(e,t)}}var ty,sy;class ry{constructor(e,t){this.descriptor=e,this.options=t,this.isCE=!1,this.source=this.descriptor.source,this.filename=this.descriptor.filename,this.s=new ey(this.source),this.startOffset=null==(ty=this.descriptor.scriptSetup)?void 0:ty.loc.start.offset,this.endOffset=null==(sy=this.descriptor.scriptSetup)?void 0:sy.loc.end.offset,this.userImports=Object.create(null),this.hasDefinePropsCall=!1,this.hasDefineEmitCall=!1,this.hasDefineExposeCall=!1,this.hasDefaultExportName=!1,this.hasDefaultExportRender=!1,this.hasDefineOptionsCall=!1,this.hasDefineSlotsCall=!1,this.hasDefineModelCall=!1,this.propsDestructuredBindings=Object.create(null),this.modelDecls=Object.create(null),this.bindingMetadata={},this.helperImports=new Set;const{script:s,scriptSetup:r}=e,n=s&&s.lang,i=r&&r.lang;this.isJS=Pg(n,i),this.isTS=Ng(n,i);const o=t.customElement,a=this.descriptor.filename;o&&(this.isCE="boolean"==typeof o?o:o(a));const c=iy(n||i,t.babelParserPlugins);function l(t,s){try{return zs.parse(t,{plugins:c,sourceType:"module"}).program}catch(r){throw r.message=`[vue/compiler-sfc] ${r.message}\n\n${e.filename}\n${D(e.source,r.pos+s,r.pos+s+1)}`,r}}this.scriptAst=e.script&&l(e.script.content,e.script.loc.start.offset),this.scriptSetupAst=e.scriptSetup&&l(e.scriptSetup.content,this.startOffset)}helper(e){return this.helperImports.add(e),`_${e}`}getString(e,t=!0){return(t?this.descriptor.scriptSetup:this.descriptor.script).content.slice(e.start,e.end)}warn(e,t,s){uu(ny(e,t,this,s))}error(e,t,s){throw new Error(`[@vue/compiler-sfc] ${ny(e,t,this,s)}`)}}function ny(e,t,s,r){const n=r?r.offset:s.startOffset;return`${e}\n\n${(r||s.descriptor).filename}\n${D((r||s.descriptor).source,t.start+n,t.end+n)}`}function iy(e,t,s=!1){const r=[];return t&&t.some(e=>"importAssertions"===e||"importAttributes"===e||p(e)&&"importAttributes"===e[0])||r.push("importAttributes"),"jsx"===e||"tsx"===e||"mtsx"===e?r.push("jsx"):t&&(t=t.filter(e=>"jsx"!==e)),"ts"!==e&&"mts"!==e&&"tsx"!==e&&"cts"!==e&&"mtsx"!==e||(r.push(["typescript",{dts:s}],"explicitResourceManagement"),t&&t.includes("decorators")||r.push("decorators-legacy")),t&&r.push(...t),r}function oy(e,t,s){let r=!1,n=t;for(;t<s;)if(/\s/.test(e.slice(t,t+1)))t++;else{if(","===e.slice(t,t+1)){t++,r=!0;break}if("}"===e.slice(t,t+1))break}return r?t:n}var ay=Object.defineProperty,cy=Object.defineProperties,ly=Object.getOwnPropertyDescriptors,hy=Object.getOwnPropertySymbols,py=Object.prototype.hasOwnProperty,uy=Object.prototype.propertyIsEnumerable,dy=(e,t,s)=>t in e?ay(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;const fy="__default__";function my(e,t){var s;const r=e.descriptor.script;try{let o=r.content,a=r.map;const c=e.scriptAst,l=kg(c.body),{cssVars:h}=e.descriptor,{genDefaultAs:p,isProd:u}=e.options;if(h.length||p){const r=p||fy,n=new ey(o);!function(e,t,s){!function(e){for(const t of e){if("ExportDefaultDeclaration"===t.type)return!0;if("ExportNamedDeclaration"===t.type&&t.specifiers.some(e=>"default"===e.exported.name))return!0}return!1}(e)?t.append(`\nconst ${s} = {}`):e.forEach(e=>{if("ExportDefaultDeclaration"===e.type)if("ClassDeclaration"===e.declaration.type&&e.declaration.id){const r=e.declaration.decorators&&e.declaration.decorators.length>0?e.declaration.decorators[e.declaration.decorators.length-1].end:e.start;t.overwrite(r,e.declaration.id.start," class "),t.append(`\nconst ${s} = ${e.declaration.id.name}`)}else t.overwrite(e.start,e.declaration.start,`const ${s} = `);else if("ExportNamedDeclaration"===e.type)for(const r of e.specifiers)if("ExportSpecifier"===r.type&&"Identifier"===r.exported.type&&"default"===r.exported.name){if(e.source){if("default"===r.local.name){t.prepend(`import { default as __VUE_DEFAULT__ } from '${e.source.value}'\n`);const n=oy(t,r.local.end,e.end);t.remove(r.start,n),t.append(`\nconst ${s} = __VUE_DEFAULT__`);continue}{t.prepend(`import { ${t.slice(r.local.start,r.local.end)} as __VUE_DEFAULT__ } from '${e.source.value}'\n`);const n=oy(t,r.exported.end,e.end);t.remove(r.start,n),t.append(`\nconst ${s} = __VUE_DEFAULT__`);continue}}const n=oy(t,r.end,e.end);t.remove(r.start,n),t.append(`\nconst ${s} = ${r.local.name}`)}})}(c.body,n,r),o=n.toString(),h.length&&!(null==(s=e.options.templateOptions)?void 0:s.ssr)&&(o+=function(e,t,s,r,n){return`\nimport { ${va} as _${va} } from 'vue'\nconst __injectCSSVars__ = () => {\n${ka(e,t,s,r)}}\nconst __setup__ = ${n}.setup\n${n}.setup = __setup__\n ? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }\n : __injectCSSVars__\n`}(h,l,t,!!u,r)),p||(o+=`\nexport default ${r}`)}return n=((e,t)=>{for(var s in t||(t={}))py.call(t,s)&&dy(e,s,t[s]);if(hy)for(var s of hy(t))uy.call(t,s)&&dy(e,s,t[s]);return e})({},r),i={content:o,map:a,bindings:l,scriptAst:c.body},cy(n,ly(i))}catch(o){return r}var n,i}var Ay=Object.defineProperty,gy=Object.defineProperties,yy=Object.getOwnPropertyDescriptors,xy=Object.getOwnPropertySymbols,by=Object.prototype.hasOwnProperty,Sy=Object.prototype.propertyIsEnumerable,Ey=(e,t,s)=>t in e?Ay(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,vy=(e,t)=>{for(var s in t||(t={}))by.call(t,s)&&Ey(e,s,t[s]);if(xy)for(var s of xy(t))Sy.call(t,s)&&Ey(e,s,t[s]);return e},wy=(e,t)=>gy(e,yy(t));class Cy{constructor(e,t,s=0,r=Object.create(null),n=Object.create(null),i=Object.create(null)){this.filename=e,this.source=t,this.offset=s,this.imports=r,this.types=n,this.declares=i,this.isGenericScope=!1,this.resolvedImportSources=Object.create(null),this.exportedTypes=Object.create(null),this.exportedDeclares=Object.create(null)}}function Iy(e,t,s,r){const n=!r;if(n&&t._resolvedElements)return t._resolvedElements;const i=function(e,t,s,r){var n,i;if(t.leadingComments&&t.leadingComments.some(e=>e.value.includes("@vue-ignore")))return{props:{}};switch(t.type){case"TSTypeLiteral":return Ty(e,t.members,s,r);case"TSInterfaceDeclaration":return function(e,t,s,r){const n=Ty(e,t.body.body,t._ownerScope,r);if(t.extends)for(const o of t.extends)try{const{props:t,calls:r}=Iy(e,o,s);for(const e in t)h(n.props,e)||(n.props[e]=t[e]);r&&(n.calls||(n.calls=[])).push(...r)}catch(i){e.silentOnExtendsFailure||e.error("Failed to resolve extends base type.\nIf this previously worked in 3.2, you can instruct the compiler to ignore this extend by adding /* @vue-ignore */ before it, for example:\n\ninterface Props extends /* @vue-ignore */ Base {}\n\nNote: both in 3.2 or with the ignore, the properties in the base type are treated as fallthrough attrs at runtime.",o,s)}return n}(e,t,s,r);case"TSTypeAliasDeclaration":case"TSTypeAnnotation":case"TSParenthesizedType":return Iy(e,t.typeAnnotation,s,r);case"TSFunctionType":return{props:{},calls:[t]};case"TSUnionType":case"TSIntersectionType":return Py(t.types.map(t=>Iy(e,t,s,r)),t.type);case"TSMappedType":return function(e,t,s,r){const n={props:{}};let i;if(t.nameType){const{name:n,constraint:o}=t.typeParameter;s=Vy(s),Object.assign(s.types,wy(vy({},r),{[n]:o})),i=_y(e,t.nameType,s)}else i=_y(e,t.typeParameter.constraint,s);for(const o of i)n.props[o]=Ny({type:"Identifier",name:o},t.typeAnnotation,s,!!t.optional);return n}(e,t,s,r);case"TSIndexedAccessType":return Py(ky(e,t,s).map(t=>Iy(e,t,t._ownerScope)),"TSUnionType");case"TSExpressionWithTypeArguments":case"TSTypeReference":{const i=Ry(t);if(("ExtractPropTypes"===i||"ExtractPublicPropTypes"===i)&&t.typeParameters&&"vue"===(null==(n=s.imports[i])?void 0:n.source))return tx(Iy(e,t.typeParameters.params[0],s,r),s);const o=My(e,t,s);if(o){let s;return("TSTypeAliasDeclaration"===o.type||"TSInterfaceDeclaration"===o.type)&&o.typeParameters&&t.typeParameters&&(s=Object.create(null),o.typeParameters.params.forEach((e,n)=>{let i=r&&r[e.name];i||(i=t.typeParameters.params[n]),s[e.name]=i})),Iy(e,o,o._ownerScope,s)}if("string"==typeof i){if(r&&r[i])return Iy(e,r[i],s,r);if(Ly.has(i))return function(e,t,s,r,n){const i=Iy(e,t.typeParameters.params[0],r,n);switch(s){case"Partial":{const e={props:{},calls:i.calls};return Object.keys(i.props).forEach(t=>{e.props[t]=wy(vy({},i.props[t]),{optional:!0})}),e}case"Required":{const e={props:{},calls:i.calls};return Object.keys(i.props).forEach(t=>{e.props[t]=wy(vy({},i.props[t]),{optional:!1})}),e}case"Readonly":return i;case"Pick":{const s=_y(e,t.typeParameters.params[1],r,n),o={props:{},calls:i.calls};for(const e of s)o.props[e]=i.props[e];return o}case"Omit":const s=_y(e,t.typeParameters.params[1],r,n),o={props:{},calls:i.calls};for(const e in i.props)s.includes(e)||(o.props[e]=i.props[e]);return o}}(e,t,i,s,r);if("ReturnType"===i&&t.typeParameters){const r=function(e,t,s){var r;let n=t;"TSTypeReference"!==t.type&&"TSTypeQuery"!==t.type&&"TSImportType"!==t.type||(n=My(e,t,s));if(!n)return;if("TSFunctionType"===n.type)return null==(r=n.typeAnnotation)?void 0:r.typeAnnotation;if("TSDeclareFunction"===n.type)return n.returnType}(e,t.typeParameters.params[0],s);if(r)return Iy(e,r,s)}}return e.error("Unresolvable type reference or unsupported built-in utility type",t,s)}case"TSImportType":{if("vue"===bg(t.argument)&&"Identifier"===(null==(i=t.qualifier)?void 0:i.type)&&"ExtractPropTypes"===t.qualifier.name&&t.typeParameters)return tx(Iy(e,t.typeParameters.params[0],s),s);const r=jy(e,t.argument,s,t.argument.value),n=My(e,t,r);if(n)return Iy(e,n,n._ownerScope);break}case"TSTypeQuery":{const r=My(e,t,s);if(r)return Iy(e,r,r._ownerScope)}}return e.error(`Unresolvable type: ${t.type}`,t,s)}(e,t,t._ownerScope||s||Ky(e),r);return n?t._resolvedElements=i:i}function Ty(e,t,s=Ky(e),r){const n={props:{}};for(const i of t)if("TSPropertySignature"===i.type||"TSMethodSignature"===i.type){r&&((s=Vy(s)).isGenericScope=!0,Object.assign(s.types,r)),i._ownerScope=s;const t=Sg(i);null!==t?n.props[t]=i:e.error("Unsupported computed key in type referenced by a macro",i.key,s)}else"TSCallSignatureDeclaration"===i.type&&(n.calls||(n.calls=[])).push(i);return n}function Py(e,t){if(1===e.length)return e[0];const s={props:{}},{props:r}=s;for(const{props:n,calls:i}of e){for(const e in n)h(r,e)?r[e]=Ny(r[e].key,{type:t,types:[r[e],n[e]]},r[e]._ownerScope,r[e].optional||n[e].optional):r[e]=n[e];i&&(s.calls||(s.calls=[])).push(...i)}return s}function Ny(e,t,s,r){return{type:"TSPropertySignature",key:e,kind:"get",optional:r,typeAnnotation:{type:"TSTypeAnnotation",typeAnnotation:t},_ownerScope:s}}function ky(e,t,s){var r,n;if("TSNumberKeyword"===t.indexType.type)return Oy(e,t.objectType,s);const{indexType:i,objectType:o}=t,a=[];let c,l;"TSStringKeyword"===i.type?(l=Iy(e,o,s),c=Object.keys(l.props)):(c=_y(e,i,s),l=Iy(e,o,s));for(const h of c){const e=null==(n=null==(r=l.props[h])?void 0:r.typeAnnotation)?void 0:n.typeAnnotation;e&&(e._ownerScope=l.props[h]._ownerScope,a.push(e))}return a}function Oy(e,t,s){if("TSArrayType"===t.type)return[t.elementType];if("TSTupleType"===t.type)return t.elementTypes.map(e=>"TSNamedTupleMember"===e.type?e.elementType:e);if("TSTypeReference"===t.type){if("Array"===Ry(t)&&t.typeParameters)return t.typeParameters.params;{const r=My(e,t,s);if(r)return Oy(e,r,s)}}return e.error("Failed to resolve element type from target type",t,s)}function _y(e,t,s,r){switch(t.type){case"StringLiteral":return[t.value];case"TSLiteralType":return _y(e,t.literal,s,r);case"TSUnionType":return t.types.map(t=>_y(e,t,s,r)).flat();case"TemplateLiteral":return Dy(e,t,s);case"TSTypeReference":{const n=My(e,t,s);if(n)return _y(e,n,s,r);if("Identifier"===t.typeName.type){const n=t.typeName.name;if(r&&r[n])return _y(e,r[n],s,r);const i=(n=0)=>_y(e,t.typeParameters.params[n],s,r);switch(n){case"Extract":return i(1);case"Exclude":{const e=i(1);return i().filter(t=>!e.includes(t))}case"Uppercase":return i().map(e=>e.toUpperCase());case"Lowercase":return i().map(e=>e.toLowerCase());case"Capitalize":return i().map(I);case"Uncapitalize":return i().map(e=>e[0].toLowerCase()+e.slice(1));default:e.error("Unsupported type when resolving index type",t.typeName,s)}}}}return e.error("Failed to resolve index type into finite keys",t,s)}function Dy(e,t,s){if(!t.expressions.length)return[t.quasis[0].value.raw];const r=[],n=t.expressions[0],i=t.quasis[0],o=i?i.value.raw:"",a=_y(e,n,s),c=Dy(e,wy(vy({},t),{expressions:t.expressions.slice(1),quasis:i?t.quasis.slice(1):t.quasis}),s);for(const l of a)for(const e of c)r.push(o+l+e);return r}const Ly=new Set(["Partial","Required","Readonly","Pick","Omit"]);function My(e,t,s,r,n=!1){const i=!(null==s?void 0:s.isGenericScope);if(i&&t._resolvedReference)return t._resolvedReference;const o=By(e,s||Ky(e),r||Ry(t),t,n);return i?t._resolvedReference=o:o}function By(e,t,s,r,n){if("string"==typeof s){if(t.imports[s])return function(e,t,s,r){const{source:n,imported:i}=r.imports[s],o=jy(e,t,r,n);return My(e,t,o,i,!0)}(e,r,s,t);{const i="TSTypeQuery"===r.type?n?t.exportedDeclares:t.declares:n?t.exportedTypes:t.types;if(i[s])return i[s];{const t=function(e){if(e.options.globalTypeFiles){if(!Uy(e))throw new Error("[vue/compiler-sfc] globalTypeFiles requires fs access.");return e.options.globalTypeFiles.map(t=>Wy(e,wg(t),!0))}}(e);if(t)for(const n of t){const t="TSTypeQuery"===r.type?n.declares:n.types;if(t[s])return(e.deps||(e.deps=new Set)).add(n.filename),t[s]}}}}else{let i=By(e,t,s[0],r,n);if(i&&("TSModuleDeclaration"!==i.type&&(i=i._ns),i)){const n=function(e,t,s){if(t._resolvedChildScope)return t._resolvedChildScope;const r=Vy(s);if("TSModuleDeclaration"===t.body.type){const e=t.body;e._ownerScope=r;const s=bg(e.id);r.types[s]=r.exportedTypes[s]=e}else Jy(e,t.body.body,r);return t._resolvedChildScope=r}(e,i,i._ownerScope||t);return By(e,n,s.length>2?s.slice(1):s[s.length-1],r,!i.declare)}}}function Ry(e){const t="TSTypeReference"===e.type?e.typeName:"TSExpressionWithTypeArguments"===e.type?e.expression:"TSImportType"===e.type?e.qualifier:e.exprName;return"Identifier"===(null==t?void 0:t.type)?t.name:"TSQualifiedName"===(null==t?void 0:t.type)?Fy(t):"default"}function Fy(e){return"Identifier"===e.type?[e.name]:[...Fy(e.left),e.right.name]}function Uy(e){if(e.fs)return e.fs;const t=e.options.fs||void 0;return t?e.fs={fileExists:e=>(e.endsWith(".vue.ts")&&!e.endsWith(".d.vue.ts")&&(e=e.replace(/\.ts$/,"")),t.fileExists(e)),readFile:e=>(e.endsWith(".vue.ts")&&!e.endsWith(".d.vue.ts")&&(e=e.replace(/\.ts$/,"")),t.readFile(e)),realpath:t.realpath}:void 0}function jy(e,t,s,r){let n;try{n=Uy(e)}catch(o){return e.error(o.message,t,s)}if(!n)return e.error("No fs option provided to `compileScript` in non-Node environment. File system access is required for resolving imported types.",t,s);let i=s.resolvedImportSources[r];if(!i){if(r.startsWith("..")){i=Gy(Cg(Oc(s.filename),r),n)}else{if("."!==r[0])return e.error("Type import from non-relative sources is not supported in the browser build.",t,s);i=Gy(Cg(Oc(s.filename),r),n)}i&&(i=s.resolvedImportSources[r]=wg(i))}return i?((e.deps||(e.deps=new Set)).add(i),Wy(e,i)):e.error(`Failed to resolve import source ${JSON.stringify(r)}.`,t,s)}function Gy(e,t){let s="u";e.endsWith(".mjs")?s="m":e.endsWith(".cjs")&&(s="c"),e=e.replace(/\.[cm]?jsx?$/,"");const r=e=>{if(t.fileExists(e))return e},n=()=>r(e+".ts")||r(e+".tsx")||r(e+".d.ts"),i=()=>r(e+".mts")||r(e+".d.mts"),o=()=>r(e+".cts")||r(e+".d.cts");return r(e)||("m"===s?i()||n():"c"===s?o()||n():n()||i()||o())||r(Cg(e,"index.ts"))||r(Cg(e,"index.tsx"))||r(Cg(e,"index.d.ts"))}const Qy=tc();function Wy(e,t,s=!1){const r=Qy.get(t);if(r)return r;const n=Uy(e),i=n.readFile(t)||"",o=function(e,t,s,r){const n=Dc(e);if(".ts"===n||".mts"===n||".tsx"===n||".cts"===n||".mtsx"===n)return zs.parse(t,{plugins:iy(n.slice(1),r,/\.d\.[cm]?ts$/.test(e)),sourceType:"module"}).program.body;const i=!/\.[cm]?[tj]sx?$/.test(e),o=`${e.slice(0,-n.length)}.d${n}.ts`,a=i&&s.fileExists(o);if(a)return zs.parse(s.readFile(o),{plugins:iy("ts",r,!0),sourceType:"module"}).program.body;if(".vue"===n){const{descriptor:{script:e,scriptSetup:s}}=gc(t);if(!e&&!s)return[];const n=e?e.loc.start.offset:1/0,i=s?s.loc.start.offset:1/0,o=n<i?e:s,a=n<i?s:e;let c=" ".repeat(Math.min(n,i))+o.content;a&&(c+=" ".repeat(a.loc.start.offset-e.loc.end.offset)+a.content);const l=(null==e?void 0:e.lang)||(null==s?void 0:s.lang);return zs.parse(c,{plugins:iy(l,r),sourceType:"module"}).program.body}return[]}(t,i,n,e.options.babelParserPlugins),a=new Cy(t,i,0,Zy(o));return Jy(e,o,a,s),Qy.set(t,a),a}function Ky(e){if(e.scope)return e.scope;const t="ast"in e?e.ast:e.scriptAst?[...e.scriptAst.body,...e.scriptSetupAst.body]:e.scriptSetupAst.body,s=new Cy(e.filename,e.source,"startOffset"in e?e.startOffset:0,"userImports"in e?Object.create(e.userImports):Zy(t));return Jy(e,t,s),e.scope=s}function Vy(e){return new Cy(e.filename,e.source,e.offset,Object.create(e.imports),Object.create(e.types),Object.create(e.declares))}const Yy=/^Import|^Export/;function Jy(e,t,s,r=!1){const{types:n,declares:i,exportedTypes:o,exportedDeclares:a,imports:c}=s,l=!!r&&!t.some(e=>Yy.test(e.type));for(const h of t)if(r){if(l)h.declare&&Hy(h,n,i);else if("TSModuleDeclaration"===h.type&&h.global)for(const e of h.body.body)"ExportNamedDeclaration"===e.type&&e.declaration?Hy(e.declaration,n,i):Hy(e,n,i)}else Hy(h,n,i);if(!r)for(const h of t)if("ExportNamedDeclaration"===h.type){if(h.declaration)Hy(h.declaration,n,i),Hy(h.declaration,o,a);else for(const e of h.specifiers)if("ExportSpecifier"===e.type){const t=e.local.name,r=bg(e.exported);h.source?(c[r]={source:h.source.value,imported:t},o[r]={type:"TSTypeReference",typeName:{type:"Identifier",name:t},_ownerScope:s}):n[t]&&(o[r]=n[t])}}else if("ExportAllDeclaration"===h.type){const t=jy(e,h.source,s,h.source.value);Object.assign(s.exportedTypes,t.exportedTypes)}else"ExportDefaultDeclaration"===h.type&&h.declaration&&("Identifier"!==h.declaration.type?(Hy(h.declaration,n,i,"default"),Hy(h.declaration,o,a,"default")):n[h.declaration.name]&&(o.default=n[h.declaration.name]));for(const h of Object.keys(n)){const e=n[h];e._ownerScope=s,e._ns&&(e._ns._ownerScope=s)}for(const h of Object.keys(i))i[h]._ownerScope=s}function Hy(e,t,s,r){switch(e.type){case"TSInterfaceDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":{if("TSModuleDeclaration"===e.type&&e.global){const r=e.body;for(const e of r.body)"ExportNamedDeclaration"===e.type&&e.declaration?Hy(e.declaration,t,s):Hy(e,t,s);break}const n=r||bg(e.id);let i=t[n];if(i){if("TSModuleDeclaration"===e.type){"TSModuleDeclaration"===i.type?$y(i,e):Xy(i,e);break}if("TSModuleDeclaration"===i.type){t[n]=e,Xy(e,i);break}if(i.type!==e.type)break;"TSInterfaceDeclaration"===e.type?i.body.body.push(...e.body.body):i.members.push(...e.members)}else t[n]=e;break}case"ClassDeclaration":(r||e.id)&&(t[r||bg(e.id)]=e);break;case"TSTypeAliasDeclaration":t[e.id.name]=e.typeParameters?e:e.typeAnnotation;break;case"TSDeclareFunction":e.id&&(s[e.id.name]=e);break;case"VariableDeclaration":if(e.declare)for(const t of e.declarations)"Identifier"===t.id.type&&t.id.typeAnnotation&&(s[t.id.name]=t.id.typeAnnotation.typeAnnotation)}}function $y(e,t){const s=e.body,r=t.body;"TSModuleDeclaration"===s.type?"TSModuleDeclaration"===r.type?$y(s,r):r.body.push({type:"ExportNamedDeclaration",declaration:s,exportKind:"type",specifiers:[]}):"TSModuleDeclaration"===r.type?s.body.push({type:"ExportNamedDeclaration",declaration:r,exportKind:"type",specifiers:[]}):s.body.push(...r.body)}function Xy(e,t){e._ns?$y(e._ns,t):e._ns=t}function Zy(e){const t=Object.create(null);for(const s of e)qy(s,t);return t}function qy(e,t){if("ImportDeclaration"===e.type)for(const s of e.specifiers)t[s.local.name]={imported:xg(s),source:e.source.value}}function zy(e,t,s=t._ownerScope||Ky(e),r=!1,n){if(t.leadingComments&&t.leadingComments.some(e=>e.value.includes("@vue-ignore")))return[dg];const i=e.silentOnExtendsFailure;e.silentOnExtendsFailure=!0;try{switch(t.type){case"TSStringKeyword":return["String"];case"TSNumberKeyword":return["Number"];case"TSBooleanKeyword":return["Boolean"];case"TSObjectKeyword":return["Object"];case"TSNullKeyword":return["null"];case"TSTypeLiteral":case"TSInterfaceDeclaration":{const n=new Set,i="TSTypeLiteral"===t.type?t.members:t.body.body;for(const t of i)if(r)if("TSPropertySignature"===t.type&&"NumericLiteral"===t.key.type)n.add("Number");else if("TSIndexSignature"===t.type){const r=t.parameters[0].typeAnnotation;if(r&&"Noop"!==r.type){const t=zy(e,r.typeAnnotation,s)[0];if(t===dg)return[dg];n.add(t)}}else n.add("String");else"TSCallSignatureDeclaration"===t.type||"TSConstructSignatureDeclaration"===t.type?n.add("Function"):n.add("Object");return n.size?Array.from(n):[r?dg:"Object"]}case"TSPropertySignature":if(t.typeAnnotation)return zy(e,t.typeAnnotation.typeAnnotation,s);break;case"TSMethodSignature":case"TSFunctionType":return["Function"];case"TSArrayType":case"TSTupleType":return["Array"];case"TSLiteralType":switch(t.literal.type){case"StringLiteral":return["String"];case"BooleanLiteral":return["Boolean"];case"NumericLiteral":case"BigIntLiteral":return["Number"];default:return[dg]}case"TSTypeReference":{const i=My(e,t,s);if(i){if("TSTypeAliasDeclaration"===i.type){if("TSFunctionType"===i.typeAnnotation.type)return["Function"];if(t.typeParameters){const s=Object.create(null);return i.typeParameters&&i.typeParameters.params.forEach((e,r)=>{s[e.name]=t.typeParameters.params[r]}),zy(e,i.typeAnnotation,i._ownerScope,r,s)}}return zy(e,i,i._ownerScope,r)}if("Identifier"===t.typeName.type){if(n&&n[t.typeName.name])return zy(e,n[t.typeName.name],s,r,n);if(r)switch(t.typeName.name){case"String":case"Array":case"ArrayLike":case"Parameters":case"ConstructorParameters":case"ReadonlyArray":return["String","Number"];case"Record":case"Partial":case"Required":case"Readonly":if(t.typeParameters&&t.typeParameters.params[0])return zy(e,t.typeParameters.params[0],s,!0);break;case"Pick":case"Extract":if(t.typeParameters&&t.typeParameters.params[1])return zy(e,t.typeParameters.params[1],s);break;case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":case"Error":case"Uppercase":case"Lowercase":case"Capitalize":case"Uncapitalize":case"ReadonlyMap":case"ReadonlySet":return["String"]}else switch(t.typeName.name){case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":case"Error":return[t.typeName.name];case"Partial":case"Required":case"Readonly":case"Record":case"Pick":case"Omit":case"InstanceType":return["Object"];case"Uppercase":case"Lowercase":case"Capitalize":case"Uncapitalize":return["String"];case"Parameters":case"ConstructorParameters":case"ReadonlyArray":return["Array"];case"ReadonlyMap":return["Map"];case"ReadonlySet":return["Set"];case"NonNullable":if(t.typeParameters&&t.typeParameters.params[0])return zy(e,t.typeParameters.params[0],s).filter(e=>"null"!==e);break;case"Extract":if(t.typeParameters&&t.typeParameters.params[1])return zy(e,t.typeParameters.params[1],s);break;case"Exclude":case"OmitThisParameter":if(t.typeParameters&&t.typeParameters.params[0])return zy(e,t.typeParameters.params[0],s)}}break}case"TSParenthesizedType":return zy(e,t.typeAnnotation,s);case"TSUnionType":return ex(e,t.types,s,r,n);case"TSIntersectionType":return ex(e,t.types,s,r,n).filter(e=>e!==dg);case"TSMappedType":{const{typeAnnotation:r,typeParameter:i}=t;if(r&&"TSIndexedAccessType"===r.type&&i&&i.constraint&&n){const t=i.constraint;if("TSTypeOperator"===t.type&&"keyof"===t.operator&&t.typeAnnotation&&"TSTypeReference"===t.typeAnnotation.type&&"Identifier"===t.typeAnnotation.typeName.type){const o=t.typeAnnotation.typeName.name,a=r.indexType,c=r.objectType;if(c&&"TSTypeReference"===c.type&&"Identifier"===c.typeName.type&&c.typeName.name===o&&a&&"TSTypeReference"===a.type&&"Identifier"===a.typeName.type&&a.typeName.name===i.name){const t=n[o];if(t)return zy(e,t,s)}}}return[dg]}case"TSEnumDeclaration":return function(e){const t=new Set;for(const s of e.members)if(s.initializer)switch(s.initializer.type){case"StringLiteral":t.add("String");break;case"NumericLiteral":t.add("Number")}return t.size?[...t]:["Number"]}(t);case"TSSymbolKeyword":return["Symbol"];case"TSIndexedAccessType":return ex(e,ky(e,t,s),s,r);case"ClassDeclaration":return["Object"];case"TSImportType":{const r=jy(e,t.argument,s,t.argument.value),n=My(e,t,r);if(n)return zy(e,n,n._ownerScope);break}case"TSTypeQuery":{const n=t.exprName;if("Identifier"===n.type){const t=s.declares[n.name];if(t)return zy(e,t,t._ownerScope,r)}break}case"TSTypeOperator":return zy(e,t.typeAnnotation,s,"keyof"===t.operator);case"TSAnyKeyword":if(r)return["String","Number","Symbol"]}}catch(o){}finally{e.silentOnExtendsFailure=i}return[dg]}function ex(e,t,s,r=!1,n=void 0){return 1===t.length?zy(e,t[0],t[0]._ownerScope||s,r,n):[...new Set([].concat(...t.map(t=>zy(e,t,t._ownerScope||s,r,n))))]}function tx({props:e},t){const s={props:{}};for(const r in e){const n=e[r];s.props[r]=sx(n.key,n.typeAnnotation.typeAnnotation,t)}return s}function sx(e,t,s,r=!0,n=!0){if(n&&"TSTypeLiteral"===t.type){const r=rx(t,"type");if(r){const n=rx(t,"required");return sx(e,r,s,!n||"TSLiteralType"!==n.type||"BooleanLiteral"!==n.literal.type||!n.literal.value,!1)}}else if("TSTypeReference"===t.type&&"Identifier"===t.typeName.type){if(t.typeName.name.endsWith("Constructor"))return Ny(e,function(e){const t=e.slice(0,-11);switch(t){case"String":case"Number":case"Boolean":return{type:`TS${t}Keyword`};case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":return{type:"TSTypeReference",typeName:{type:"Identifier",name:t}}}return{type:"TSNullKeyword"}}(t.typeName.name),s,r);if("PropType"===t.typeName.name&&t.typeParameters)return Ny(e,t.typeParameters.params[0],s,r)}if(("TSTypeReference"===t.type||"TSImportType"===t.type)&&t.typeParameters)for(const i of t.typeParameters.params){const t=sx(e,i,s,r);if(t)return t}return Ny(e,{type:"TSNullKeyword"},s,r)}function rx(e,t){const s=e.members.find(e=>"TSPropertySignature"===e.type&&Sg(e)===t&&e.typeAnnotation);return s&&s.typeAnnotation.typeAnnotation}function nx(e,t,s){if("TSTypeReference"===t.type){const r=My(e,t,s);r&&(t=r)}let r;return r="TSUnionType"===t.type?t.types.flatMap(t=>nx(e,t,s)):[t],r}const ix="defineModel";function ox(e,t,s){if(!gg(t,ix))return!1;e.hasDefineModelCall=!0;const r=t.typeParameters&&t.typeParameters.params[0]||void 0;let n,i;const o=t.arguments[0]&&xr(t.arguments[0]),a=o&&"StringLiteral"===o.type;a?(n=o.value,i=t.arguments[1]):(n="modelValue",i=o),e.modelDecls[n]&&e.error(`duplicate model name ${JSON.stringify(n)}`,t);let c=i&&e.getString(i),l=!i;const h=[];if(i&&"ObjectExpression"===i.type&&!i.properties.some(e=>"SpreadElement"===e.type||e.computed)){let t=0;for(let s=i.properties.length-1;s>=0;s--){const r=i.properties[s],n=i.properties[s+1],o=r.start,a=n?n.start:i.end-1;"ObjectProperty"!==r.type&&"ObjectMethod"!==r.type||("Identifier"!==r.key.type||"get"!==r.key.name&&"set"!==r.key.name)&&("StringLiteral"!==r.key.type||"get"!==r.key.value&&"set"!==r.key.value)?(t++,e.s.remove(e.startOffset+o,e.startOffset+a),h.push(r)):c=c.slice(0,o-i.start)+c.slice(a-i.start)}t===i.properties.length&&(l=!0,e.s.remove(e.startOffset+(a?o.end:i.start),e.startOffset+i.end))}return e.modelDecls[n]={type:r,options:c,runtimeOptionNodes:h,identifier:s&&"Identifier"===s.type?s.name:void 0},e.bindingMetadata[n]="props",e.s.overwrite(e.startOffset+t.callee.start,e.startOffset+t.callee.end,e.helper("useModel")),e.s.appendLeft(e.startOffset+(t.arguments.length?t.arguments[0].start:t.end-1),"__props, "+(a?"":`${JSON.stringify(n)}${l?"":", "}`)),!0}const ax="defineProps",cx="withDefaults";function lx(e,t,s,r=!1){if(!gg(t,ax))return function(e,t,s){if(!gg(t,cx))return!1;lx(e,t.arguments[0],s,!0)||e.error(`${cx}' first argument must be a ${ax} call.`,t.arguments[0]||t);e.propsRuntimeDecl&&e.error(`${cx} can only be used with type-based ${ax} declaration.`,t);s&&"ObjectPattern"===s.type&&e.warn(`${cx}() is unnecessary when using destructure with ${ax}().\nReactive destructure will be disabled when using withDefaults().\nPrefer using destructure default values, e.g. const { foo = 1 } = defineProps(...). `,t.callee);e.propsRuntimeDefaults=t.arguments[1],e.propsRuntimeDefaults||e.error(`The 2nd argument of ${cx} is required.`,t);return e.propsCall=t,!0}(e,t,s);if(e.hasDefinePropsCall&&e.error(`duplicate ${ax}() call`,t),e.hasDefinePropsCall=!0,e.propsRuntimeDecl=t.arguments[0],e.propsRuntimeDecl)for(const n of Dg(e.propsRuntimeDecl))n in e.bindingMetadata||(e.bindingMetadata[n]="props");return t.typeParameters&&(e.propsRuntimeDecl&&e.error(`${ax}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,t),e.propsTypeDecl=t.typeParameters.params[0]),!r&&s&&"ObjectPattern"===s.type&&function(e,t){if("error"===e.options.propsDestructure)e.error("Props destructure is explicitly prohibited via config.",t);else if(!1===e.options.propsDestructure)return;e.propsDestructureDecl=t;const s=(t,s,r)=>{e.propsDestructuredBindings[t]={local:s,default:r},s!==t&&(e.bindingMetadata[s]="props-aliased",(e.bindingMetadata.__propsAliases||(e.bindingMetadata.__propsAliases={}))[s]=t)};for(const r of t.properties)if("ObjectProperty"===r.type){const t=fg(r.key,r.computed);if(t||e.error(`${ax}() destructure cannot use computed key.`,r.key),"AssignmentPattern"===r.value.type){const{left:n,right:i}=r.value;"Identifier"!==n.type&&e.error(`${ax}() destructure does not support nested patterns.`,n),s(t,n.name,i)}else"Identifier"===r.value.type?s(t,r.value.name):e.error(`${ax}() destructure does not support nested patterns.`,r.value)}else e.propsDestructureRestId=r.argument.name,e.bindingMetadata[e.propsDestructureRestId]="setup-reactive-const"}(e,s),e.propsCall=t,e.propsDecl=s,!0}function hx(e){let t;if(e.propsRuntimeDecl){if(t=e.getString(e.propsRuntimeDecl).trim(),e.propsDestructureDecl){const s=[];for(const t in e.propsDestructuredBindings){const r=ux(e,t),n=Tg(t);r&&s.push(`${n}: ${r.valueString}${r.needSkipFactory?`, __skip_${n}: true`:""}`)}s.length&&(t=`/*@__PURE__*/${e.helper("mergeDefaults")}(${t}, {\n ${s.join(",\n ")}\n})`)}}else e.propsTypeDecl&&(t=function(e){const t=function(e,t){const s=[],r=Iy(e,t);for(const n in r.props){const t=r.props[n];let i=zy(e,t),o=!1;i.includes(dg)&&(i.includes("Boolean")||i.includes("Function")?(i=i.filter(e=>e!==dg),o=!0):i=["null"]),s.push({key:n,required:!t.optional,type:i||["null"],skipCheck:o})}return s}(e,e.propsTypeDecl);if(!t.length)return;const s=[],r=function(e){return!(!e.propsRuntimeDefaults||"ObjectExpression"!==e.propsRuntimeDefaults.type||!e.propsRuntimeDefaults.properties.every(e=>"SpreadElement"!==e.type&&(!e.computed||e.key.type.endsWith("Literal"))))}(e);for(const i of t)s.push(px(e,i,r)),"bindingMetadata"in e&&!(i.key in e.bindingMetadata)&&(e.bindingMetadata[i.key]="props");let n=`{\n ${s.join(",\n ")}\n }`;e.propsRuntimeDefaults&&!r&&(n=`/*@__PURE__*/${e.helper("mergeDefaults")}(${n}, ${e.getString(e.propsRuntimeDefaults)})`);return n}(e));const s=function(e){if(!e.hasDefineModelCall)return;const t=!!e.options.isProd;let s="";for(const[r,{type:n,options:i}]of Object.entries(e.modelDecls)){let o,a=!1,c="",l=n&&zy(e,n);if(l){const e=l.includes("Boolean"),s=l.includes("Function");l.includes(dg)&&(e||s?(l=l.filter(e=>e!==dg),a=!0):l=["null"]),t?(e||i&&s)&&(c=`type: ${yg(l)}`):c=`type: ${yg(l)}`+(a?", skipCheck: true":"")}o=c&&i?e.isTS?`{ ${c}, ...${i} }`:`Object.assign({ ${c} }, ${i})`:c?`{ ${c} }`:i||"{}",s+=`\n ${JSON.stringify(r)}: ${o},`,s+=`\n ${JSON.stringify("modelValue"===r?"modelModifiers":`${r}Modifiers`)}: {},`}return`{${s}\n }`}(e);return t&&s?`/*@__PURE__*/${e.helper("mergeModels")}(${t}, ${s})`:s||t}function px(e,{key:t,required:s,type:r,skipCheck:n},i){let o;const a=ux(e,t,r);if(a)o=`default: ${a.valueString}${a.needSkipFactory?", skipFactory: true":""}`;else if(i){const s=e.propsRuntimeDefaults.properties.find(e=>"SpreadElement"!==e.type&&fg(e.key,e.computed)===t);if(s)if("ObjectProperty"===s.type)o=`default: ${e.getString(s.value)}`;else{let t="";if(s.params.length){const r=s.params[0].start,n=s.params[s.params.length-1].end;t=e.getString({start:r,end:n})}o=`${s.async?"async ":""}${"method"!==s.kind?`${s.kind} `:""}default(${t}) ${e.getString(s.body)}`}}const c=Tg(t);return e.options.isProd?r.some(e=>"Boolean"===e||(!i||o)&&"Function"===e)?`${c}: { ${mg([`type: ${yg(r)}`,o])} }`:e.isCE?o?`${c}: { ${o}, type: ${yg(r)} }`:`${c}: {type: ${yg(r)}}`:`${c}: ${o?`{ ${o} }`:"{}"}`:`${c}: { ${mg([`type: ${yg(r)}`,`required: ${s}`,n&&"skipCheck: true",o])} }`}function ux(e,t,s){const r=e.propsDestructuredBindings[t],n=r&&r.default;if(n){const r=e.getString(n),i=xr(n);if(s&&s.length&&!s.includes("null")){const r=function(e){switch(e.type){case"StringLiteral":return"String";case"NumericLiteral":return"Number";case"BooleanLiteral":return"Boolean";case"ObjectExpression":return"Object";case"ArrayExpression":return"Array";case"FunctionExpression":case"ArrowFunctionExpression":return"Function"}}(i);r&&!s.includes(r)&&e.error(`Default value of prop "${t}" does not match declared type.`,i)}const o=!s&&(mr(i)||"Identifier"===i.type);return{valueString:!o&&!Ag(i)&&!(null==s?void 0:s.includes("Function"))?`() => (${r})`:r,needSkipFactory:o}}}function dx(e,t){if(!1===e.options.propsDestructure)return;const s=Object.create(null),r=[s];let n=s;const i=new WeakSet,o=[],a=Object.create(null);for(const f in e.propsDestructuredBindings){const{local:t}=e.propsDestructuredBindings[f];s[t]=!0,a[t]=f}function c(){r.push(n=Object.create(n))}function l(t){i.add(t),n?n[t.name]=!1:e.error("registerBinding called without active scope, something is wrong.",t)}function h(e,t=!1){for(const s of e.body)if("VariableDeclaration"===s.type)p(s,t);else if("FunctionDeclaration"===s.type||"ClassDeclaration"===s.type){if(s.declare||!s.id)continue;l(s.id)}else"ExportNamedDeclaration"===s.type&&s.declaration&&"VariableDeclaration"===s.declaration.type?p(s.declaration,t):"LabeledStatement"===s.type&&"VariableDeclaration"===s.body.type&&p(s.body,t)}function p(e,t=!1){if(!e.declare)for(const s of e.declarations){const e=t&&s.init&&gg(xr(s.init),"defineProps");for(const t of ur(s.id))e?i.add(t):l(t)}}function u(t,s,r=s){if(gg(t,r)){const r=xr(t.arguments[0]);"Identifier"===r.type&&n[r.name]&&e.error(`"${r.name}" is a destructured prop and should not be passed directly to ${s}(). Pass a getter () => ${r.name} instead.`,r)}}const d=e.scriptSetupAst;h(d,!0),sr(d,{enter(s,r){if(r&&o.push(r),r&&r.type.startsWith("TS")&&!yr.includes(r.type))return this.skip();if(u(s,"watch",t.watch),u(s,"toRef",t.toRef),mr(s))return c(),ar(s,l),void("BlockStatement"===s.body.type&&h(s.body));if("CatchClause"===s.type)return c(),s.param&&"Identifier"===s.param.type&&l(s.param),void h(s.body);if("ForOfStatement"===s.type||"ForInStatement"===s.type||"ForStatement"===s.type){c();const e="ForStatement"===s.type?s.init:s.left;return e&&"VariableDeclaration"===e.type&&p(e),void("BlockStatement"===s.body.type&&h(s.body))}if("BlockStatement"===s.type&&!mr(r))return c(),void h(s);"Identifier"===s.type&&nr(s,r,o)&&!i.has(s)&&n[s.name]&&function(t,s,r){("AssignmentExpression"===s.type&&t===s.left||"UpdateExpression"===s.type)&&e.error("Cannot assign to destructured props as they are readonly.",t),Ar(s)&&s.shorthand?s.inPattern&&!ir(s,r)||e.s.appendLeft(t.end+e.startOffset,`: ${N(a[t.name])}`):e.s.overwrite(t.start+e.startOffset,t.end+e.startOffset,N(a[t.name]))}(s,r,o)},leave(e,t){t&&o.pop(),("BlockStatement"===e.type&&!mr(t)||mr(e)||"CatchClause"===e.type||"ForOfStatement"===e.type||"ForInStatement"===e.type||"ForStatement"===e.type)&&(r.pop(),n=r[r.length-1]||null)}})}const fx="defineEmits";function mx(e,t,s){return!!gg(t,fx)&&(e.hasDefineEmitCall&&e.error(`duplicate ${fx}() call`,t),e.hasDefineEmitCall=!0,e.emitsRuntimeDecl=t.arguments[0],t.typeParameters&&(e.emitsRuntimeDecl&&e.error(`${fx}() cannot accept both type and non-type arguments at the same time. Use one or the other.`,t),e.emitsTypeDecl=t.typeParameters.params[0]),e.emitDecl=s,!0)}function Ax(e){let t="";if(e.emitsRuntimeDecl)t=e.getString(e.emitsRuntimeDecl).trim();else if(e.emitsTypeDecl){const s=function(e){const t=new Set,s=e.emitsTypeDecl;if("TSFunctionType"===s.type)return gx(e,s.parameters[0],t),t;const{props:r,calls:n}=Iy(e,s);let i=!1;for(const o in r)t.add(o),i=!0;if(n){i&&e.error("defineEmits() type cannot mixed call signature and property syntax.",s);for(const s of n)gx(e,s.parameters[0],t)}return t}(e);t=s.size?`[${Array.from(s).map(e=>JSON.stringify(e)).join(", ")}]`:""}if(e.hasDefineModelCall){let s=`[${Object.keys(e.modelDecls).map(e=>JSON.stringify(`update:${e}`)).join(", ")}]`;t=t?`/*@__PURE__*/${e.helper("mergeModels")}(${t}, ${s})`:s}return t}function gx(e,t,s){if("Identifier"===t.type&&t.typeAnnotation&&"TSTypeAnnotation"===t.typeAnnotation.type){const r=nx(e,t.typeAnnotation.typeAnnotation);for(const e of r)"TSLiteralType"===e.type&&"UnaryExpression"!==e.literal.type&&"TemplateLiteral"!==e.literal.type&&s.add(String(e.literal.value))}}const yx="defineExpose";function xx(e,t){return!!gg(t,yx)&&(e.hasDefineExposeCall&&e.error(`duplicate ${yx}() call`,t),e.hasDefineExposeCall=!0,!0)}const bx="defineSlots";function Sx(e,t,s){return!!gg(t,bx)&&(e.hasDefineSlotsCall&&e.error(`duplicate ${bx}() call`,t),e.hasDefineSlotsCall=!0,t.arguments.length>0&&e.error(`${bx}() cannot accept arguments`,t),s&&e.s.overwrite(e.startOffset+t.start,e.startOffset+t.end,`${e.helper("useSlots")}()`),!0)}const Ex="defineOptions";function vx(e,t){if(!gg(t,Ex))return!1;if(e.hasDefineOptionsCall&&e.error(`duplicate ${Ex}() call`,t),t.typeParameters&&e.error(`${Ex}() cannot accept type arguments`,t),!t.arguments[0])return!0;let s,r,n,i;if(e.hasDefineOptionsCall=!0,e.optionsRuntimeDecl=xr(t.arguments[0]),"ObjectExpression"===e.optionsRuntimeDecl.type)for(const o of e.optionsRuntimeDecl.properties)if(("ObjectProperty"===o.type||"ObjectMethod"===o.type)&&"Identifier"===o.key.type)switch(o.key.name){case"props":s=o;break;case"emits":r=o;break;case"expose":n=o;break;case"slots":i=o}return s&&e.error(`${Ex}() cannot be used to declare props. Use ${ax}() instead.`,s),r&&e.error(`${Ex}() cannot be used to declare emits. Use ${fx}() instead.`,r),n&&e.error(`${Ex}() cannot be used to declare expose. Use ${yx}() instead.`,n),i&&e.error(`${Ex}() cannot be used to declare slots. Use ${bx}() instead.`,i),!0}function wx(e,t,s,r){const n=t.argument.extra&&t.argument.extra.parenthesized?t.argument.extra.parenStart:t.argument.start,i=e.startOffset,o=e.descriptor.source.slice(n+i,t.argument.end+i),a=/\bawait\b/.test(o);e.s.overwrite(t.start+i,n+i,`${s?";":""}(\n ([__temp,__restore] = ${e.helper("withAsyncContext")}(${a?"async ":""}() => `),e.s.appendLeft(t.end+i,`)),\n ${r?"":"__temp = "}await __temp,\n __restore()${r?"":",\n __temp"}\n)`)}var Cx=Object.defineProperty,Ix=Object.defineProperties,Tx=Object.getOwnPropertyDescriptors,Px=Object.getOwnPropertySymbols,Nx=Object.prototype.hasOwnProperty,kx=Object.prototype.propertyIsEnumerable,Ox=(e,t,s)=>t in e?Cx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,_x=(e,t)=>{for(var s in t||(t={}))Nx.call(t,s)&&Ox(e,s,t[s]);if(Px)for(var s of Px(t))kx.call(t,s)&&Ox(e,s,t[s]);return e},Dx=(e,t)=>Ix(e,Tx(t));const Lx=[ax,fx,yx,Ex,bx,ix,cx];function Mx(e,t){var s,r,n;t.id||pu("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");const{script:i,scriptSetup:o,source:a,filename:c}=e,l=!1!==t.hoistStatic&&!i,h=t.id?t.id.replace(/^data-v-/,""):"",p=i&&i.lang,u=o&&o.lang,d=Pg(p,u)||Ng(p,u);if(i&&o&&p!==u)throw new Error("[@vue/compiler-sfc] <script> and <script setup> must have the same language type.");if(!o){if(!i)throw new Error("[@vue/compiler-sfc] SFC contains no <script> tags.");if(i.lang&&!d)return i;return my(new ry(e,t),h)}if(u&&!d)return o;const f=new ry(e,t),m=Object.create(null),A=Object.create(null);let g,y=!1,x=!1;const b=f.startOffset,S=f.endOffset,E=i&&i.loc.start.offset,v=i&&i.loc.end.offset;function w(e){const t=e.start+b;let s=e.end+b;if(e.trailingComments&&e.trailingComments.length>0){s=e.trailingComments[e.trailingComments.length-1].end+b}for(;s<=a.length&&/\s/.test(a.charAt(s));)s++;f.s.move(t,s,0)}function C(t,s,r,n,i,o){let a=o;o&&f.isTS&&e.template&&!e.template.src&&!e.template.lang&&(a=sc(s,e)),f.userImports[s]={isType:n,imported:r,local:s,source:t,isFromSetup:i,isUsedInTemplate:a}}function I(e,t){e&&rr(e,e=>{const s=A[e.name];s&&"literal-const"!==s&&f.error(`\`${t}()\` in <script setup> cannot reference locally declared variables because it will be hoisted outside of the setup() function. If your component options require initialization in the module scope, use a separate normal <script> to export the options instead.`,e)})}const T=f.scriptAst,P=f.scriptSetupAst;if(T)for(const D of T.body)if("ImportDeclaration"===D.type)for(const e of D.specifiers){const s=xg(e);C(D.source.value,e.local.name,s,"type"===D.importKind||"ImportSpecifier"===e.type&&"type"===e.importKind,!1,!t.inlineTemplate)}for(const D of P.body)if("ImportDeclaration"===D.type){w(D);let e=0;const s=t=>{const s=t>e;e++;const r=D.specifiers[t],n=D.specifiers[t+1];f.s.remove(s?D.specifiers[t-1].end+b:r.start+b,n&&!s?n.start+b:r.end+b)};for(let r=0;r<D.specifiers.length;r++){const e=D.specifiers[r],n=e.local.name,i=xg(e),o=D.source.value,a=f.userImports[n];"vue"===o&&Lx.includes(i)?(n===i?pu(`\`${i}\` is a compiler macro and no longer needs to be imported.`):f.error(`\`${i}\` is a compiler macro and cannot be aliased to a different name.`,e),s(r)):a?a.source===o&&a.imported===i?s(r):f.error("different imports aliased to same local name.",e):C(o,n,i,"type"===D.importKind||"ImportSpecifier"===e.type&&"type"===e.importKind,!0,!t.inlineTemplate)}D.specifiers.length&&e===D.specifiers.length&&f.s.remove(D.start+b,D.end+b)}const N={};for(const D in f.userImports){const{source:e,imported:t,local:s}=f.userImports[D];"vue"===e&&(N[t]=s)}if(i&&T){for(const e of T.body)if("ExportDefaultDeclaration"===e.type){let t;if(g=e,"ObjectExpression"===g.declaration.type?t=g.declaration.properties:"CallExpression"===g.declaration.type&&g.declaration.arguments[0]&&"ObjectExpression"===g.declaration.arguments[0].type&&(t=g.declaration.arguments[0].properties),t)for(const e of t)"ObjectProperty"===e.type&&"Identifier"===e.key.type&&"name"===e.key.name&&(f.hasDefaultExportName=!0),"ObjectMethod"!==e.type&&"ObjectProperty"!==e.type||"Identifier"!==e.key.type||"render"!==e.key.name||(f.hasDefaultExportRender=!0);const s=e.start+E,r=e.declaration.start+E;f.s.overwrite(s,r,`const ${fy} = `)}else if("ExportNamedDeclaration"===e.type){const t=e.specifiers.find(e=>"Identifier"===e.exported.type&&"default"===e.exported.name);t&&(g=e,e.specifiers.length>1?f.s.remove(t.start+E,t.end+E):f.s.remove(e.start+E,e.end+E),e.source?f.s.prepend(`import { ${t.local.name} as ${fy} } from '${e.source.value}'\n`):f.s.appendLeft(v,`\nconst ${fy} = ${t.local.name}\n`)),e.declaration&&Rx("script",e.declaration,m,N,l)}else"VariableDeclaration"!==e.type&&"FunctionDeclaration"!==e.type&&"ClassDeclaration"!==e.type&&"TSEnumDeclaration"!==e.type||e.declare||Rx("script",e,m,N,l);E>b&&(/\n$/.test(i.content.trim())||f.s.appendLeft(v,"\n"),f.s.move(E,v,0))}for(const D of P.body){if("ExpressionStatement"===D.type){const e=xr(D.expression);if(lx(f,e)||mx(f,e)||vx(f,e)||Sx(f,e))f.s.remove(D.start+b,D.end+b);else if(xx(f,e)){const t=e.callee;f.s.overwrite(t.start+b,t.end+b,"__expose")}else ox(f,e)}if("VariableDeclaration"===D.type&&!D.declare){const e=D.declarations.length;let t,s=e;for(let r=0;r<e;r++){const n=D.declarations[r],i=n.init&&xr(n.init);if(i){vx(f,i)&&f.error(`${Ex}() has no returning value, it cannot be assigned.`,D);const o=lx(f,i,n.id);f.propsDestructureRestId&&(A[f.propsDestructureRestId]="setup-reactive-const");const a=!o&&mx(f,i,n.id);if(!a&&(Sx(f,i,n.id)||ox(f,i,n.id)),o&&!f.propsDestructureRestId&&f.propsDestructureDecl)if(1===s)f.s.remove(D.start+b,D.end+b);else{let i=n.start+b,o=n.end+b;r===e-1?i=D.declarations[t].end+b:o=D.declarations[r+1].start+b,f.s.remove(i,o),s--}else a?f.s.overwrite(b+i.start,b+i.end,"__emit"):t=r}}}let e=!1;if("VariableDeclaration"!==D.type&&"FunctionDeclaration"!==D.type&&"ClassDeclaration"!==D.type&&"TSEnumDeclaration"!==D.type||D.declare||(e=Rx("scriptSetup",D,A,N,l,!!f.propsDestructureDecl)),l&&e&&w(D),"VariableDeclaration"===D.type&&!D.declare||D.type.endsWith("Statement")){const e=[P.body];sr(D,{enter(t,s){if(mr(t)&&this.skip(),"BlockStatement"===t.type&&e.push(t.body),"AwaitExpression"===t.type){y=!0;const r=e[e.length-1].some((s,r)=>(1===e.length||r>0)&&"ExpressionStatement"===s.type&&s.start===t.start);wx(f,t,r,"ExpressionStatement"===s.type)}},exit(t){"BlockStatement"===t.type&&e.pop()}})}("ExportNamedDeclaration"===D.type&&"type"!==D.exportKind||"ExportAllDeclaration"===D.type||"ExportDefaultDeclaration"===D.type)&&f.error("<script setup> cannot contain ES module exports. If you are using a previous version of <script setup>, please consult the updated RFC at https://github.com/vuejs/rfcs/pull/227.",D),f.isTS&&(D.type.startsWith("TS")||"ExportNamedDeclaration"===D.type&&"type"===D.exportKind||"VariableDeclaration"===D.type&&D.declare)&&"TSEnumDeclaration"!==D.type&&w(D)}f.propsDestructureDecl&&dx(f,N),I(f.propsRuntimeDecl,ax),I(f.propsRuntimeDefaults,ax),I(f.propsDestructureDecl,ax),I(f.emitsRuntimeDecl,fx),I(f.optionsRuntimeDecl,Ex);for(const{runtimeOptionNodes:D}of Object.values(f.modelDecls))for(const e of D)I(e,ix);i?b<E?(f.s.remove(0,b),f.s.remove(S,E),f.s.remove(v,a.length)):(f.s.remove(0,E),f.s.remove(v,b),f.s.remove(S,a.length)):(f.s.remove(0,b),f.s.remove(S,a.length)),T&&Object.assign(f.bindingMetadata,kg(T.body));for(const[D,{isType:W,imported:K,source:V}]of Object.entries(f.userImports))W||(f.bindingMetadata[D]="*"===K||"default"===K&&V.endsWith(".vue")||"vue"===V?"setup-const":"setup-maybe-ref");for(const D in m)f.bindingMetadata[D]=m[D];for(const D in A)f.bindingMetadata[D]=A[D];if(e.template&&!e.template.src&&e.template.ast){const t=function(e){return nc(e,!1).vModelIds}(e);if(t.size){const e=new Set;for(const s of t)"setup-reactive-const"===A[s]&&e.add(s);if(e.size)for(const t of P.body)if("VariableDeclaration"===t.type&&"const"===t.kind&&!t.declare){const s=[];for(const r of t.declarations)"Identifier"===r.id.type&&e.has(r.id.name)&&s.push(r.id.name);if(s.length){f.s.overwrite(t.start+b,t.start+b+5,"let");for(const e of s)A[e]="setup-let",f.bindingMetadata[e]="setup-let",pu(`\`v-model\` cannot update a \`const\` reactive binding \`${e}\`. The compiler has transformed it to \`let\` to make the update work.`)}}}}e.cssVars.length&&!(null==(s=t.templateOptions)?void 0:s.ssr)&&(f.helperImports.add(va),f.helperImports.add("unref"),f.s.prependLeft(b,`\n${ka(e.cssVars,f.bindingMetadata,h,!!t.isProd)}\n`));let k="__props";if(f.propsTypeDecl&&(k+=": any"),f.propsDecl&&(f.propsDestructureRestId?(f.s.overwrite(b+f.propsCall.start,b+f.propsCall.end,`${f.helper("createPropsRestProxy")}(__props, ${JSON.stringify(Object.keys(f.propsDestructuredBindings))})`),f.s.overwrite(b+f.propsDestructureDecl.start,b+f.propsDestructureDecl.end,f.propsDestructureRestId)):f.propsDestructureDecl||f.s.overwrite(b+f.propsCall.start,b+f.propsCall.end,"__props")),y){const e=f.isTS?": any":"";f.s.prependLeft(b,`\nlet __temp${e}, __restore${e}\n`)}const O=f.hasDefineExposeCall||!t.inlineTemplate?["expose: __expose"]:[];let _,L;f.emitDecl&&O.push("emit: __emit"),O.length&&(k+=`, { ${O.join(", ")} }`);const M=hx(f);if(!t.inlineTemplate||!e.template&&f.hasDefaultExportRender){const e=_x(_x({},m),A);for(const t in f.userImports)!f.userImports[t].isType&&f.userImports[t].isUsedInTemplate&&(e[t]=!0);L="{ ";for(const t in e)if(!0!==e[t]||"vue"===f.userImports[t].source||f.userImports[t].source.endsWith(".vue"))if("setup-let"===f.bindingMetadata[t]){const e="v"===t?"_v":"v";L+=`get ${t}() { return ${t} }, set ${t}(${e}) { ${t} = ${e} }, `}else L+=`${t}, `;else L+=`get ${t}() { return ${t} }, `;L=L.replace(/, $/,"")+" }"}else if(e.template&&!e.template.src){t.templateOptions&&t.templateOptions.ssr&&(x=!0);const{code:s,ast:r,preamble:n,tips:i,errors:o,map:l}=vu(Dx(_x({filename:c,ast:e.template.ast,source:e.template.content,inMap:e.template.map},t.templateOptions),{id:h,scoped:e.styles.some(e=>e.scoped),isProd:t.isProd,ssrCssVars:e.cssVars,compilerOptions:Dx(_x({},t.templateOptions&&t.templateOptions.compilerOptions),{inline:!0,isTS:f.isTS,bindingMetadata:f.bindingMetadata})}));_=l,i.length&&i.forEach(pu);const p=o[0];if("string"==typeof p)throw new Error(p);if(p)throw p.loc&&(p.message+="\n\n"+e.filename+"\n"+D(a,p.loc.start.offset,p.loc.end.offset)+"\n"),p;n&&f.s.prepend(n),r&&r.helpers.has(Ge)&&f.helperImports.delete("unref"),L=s}else L="() => {}";t.inlineTemplate?f.s.appendRight(S,`\nreturn ${L}\n}\n\n`):f.s.appendRight(S,`\nconst __returned__ = ${L}\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n`);const B=t.genDefaultAs?`const ${t.genDefaultAs} =`:"export default";let R="";if(!f.hasDefaultExportName&&c&&c!==mc){const e=c.match(/([^/\\]+)\.\w+$/);e&&(R+=`\n __name: '${e[1]}',`)}x&&(R+="\n __ssrInlineRender: true,"),M&&(R+=`\n props: ${M},`);const F=Ax(f);F&&(R+=`\n emits: ${F},`);let U="";f.optionsRuntimeDecl&&(U=o.content.slice(f.optionsRuntimeDecl.start,f.optionsRuntimeDecl.end).trim());const j=f.hasDefineExposeCall||t.inlineTemplate?"":" __expose();\n";if(f.isTS){const e=(g?`\n ...${fy},`:"")+(U?`\n ...${U},`:"");f.s.prependLeft(b,`\n${B} /*@__PURE__*/${f.helper("defineComponent")}({${e}${R}\n ${y?"async ":""}setup(${k}) {\n${j}`),f.s.appendRight(S,"})")}else g||U?(f.s.prependLeft(b,`\n${B} /*@__PURE__*/Object.assign(${g?`${fy}, `:""}${U?`${U}, `:""}{${R}\n ${y?"async ":""}setup(${k}) {\n${j}`),f.s.appendRight(S,"})")):(f.s.prependLeft(b,`\n${B} {${R}\n ${y?"async ":""}setup(${k}) {\n${j}`),f.s.appendRight(S,"}"));if(f.helperImports.size>0){const e=null==(n=null==(r=t.templateOptions)?void 0:r.compilerOptions)?void 0:n.runtimeModuleName,s=e?JSON.stringify(e):"'vue'";f.s.prepend(`import { ${[...f.helperImports].map(e=>`${e} as _${e}`).join(", ")} } from ${s}\n`)}const G=f.s.toString();let Q=!1!==t.sourceMap?f.s.generateMap({source:c,hires:!0,includeContent:!0}):void 0;if(_&&Q){const e=G.indexOf(L);Q=function(e,t,s){const r=new Ci.SourceMapGenerator,n=(e,t=0)=>{const s=new Ci.SourceMapConsumer(e);s.sources.forEach(e=>{r._sources.add(e);const t=s.sourceContentFor(e);null!=t&&r.setSourceContent(e,t)}),s.eachMapping(e=>{null!=e.originalLine&&r.addMapping({generated:{line:e.generatedLine+t,column:e.generatedColumn},original:{line:e.originalLine,column:e.originalColumn},source:e.source,name:e.name})})};return n(e),n(t,s),r._sourceRoot=e.sourceRoot,r._file=e.file,r.toJSON()}(Q,_,G.slice(0,e).split(/\r?\n/).length-1)}return Dx(_x({},o),{bindings:f.bindingMetadata,imports:f.userImports,content:G,map:Q,scriptAst:null==T?void 0:T.body,scriptSetupAst:null==P?void 0:P.body,deps:f.deps?[...f.deps]:void 0})}function Bx(e,t,s){e[t.name]=s}function Rx(e,t,s,r,n,i=!1){let o=!1;if("VariableDeclaration"===t.type){const a="const"===t.kind;o=a&&t.declarations.every(e=>"Identifier"===e.id.type&&Qx(e.init));for(const{id:c,init:l}of t.declarations){const t=l&&xr(l),h=a&&gg(t,e=>e===ax||e===fx||e===cx||e===bx);if("Identifier"===c.type){let i;const l=r.reactive;i=(n||"script"===e)&&(o||a&&Qx(t))?"literal-const":gg(t,l)?a?"setup-reactive-const":"setup-let":h||a&&Gx(t,l)?gg(t,ax)?"setup-reactive-const":"setup-const":a?gg(t,e=>e===r.ref||e===r.computed||e===r.shallowRef||e===r.customRef||e===r.toRef||e===r.useTemplateRef||e===ix)?"setup-ref":"setup-maybe-ref":"setup-let",Bx(s,c,i)}else{if(gg(t,ax)&&i)continue;"ObjectPattern"===c.type?Fx(c,s,a,h):"ArrayPattern"===c.type&&Ux(c,s,a,h)}}}else"TSEnumDeclaration"===t.type?(o=t.members.every(e=>!e.initializer||Qx(e.initializer)),s[t.id.name]=o?"literal-const":"setup-const"):"FunctionDeclaration"!==t.type&&"ClassDeclaration"!==t.type||(s[t.id.name]="setup-const");return o}function Fx(e,t,s,r=!1){for(const n of e.properties)if("ObjectProperty"===n.type)if("Identifier"===n.key.type&&n.key===n.value){const e=r?"setup-const":s?"setup-maybe-ref":"setup-let";Bx(t,n.key,e)}else jx(n.value,t,s,r);else{const e=s?"setup-const":"setup-let";Bx(t,n.argument,e)}}function Ux(e,t,s,r=!1){for(const n of e.elements)n&&jx(n,t,s,r)}function jx(e,t,s,r=!1){if("Identifier"===e.type){Bx(t,e,r?"setup-const":s?"setup-maybe-ref":"setup-let")}else if("RestElement"===e.type){const r=s?"setup-const":"setup-let";Bx(t,e.argument,r)}else if("ObjectPattern"===e.type)Fx(e,t,s);else if("ArrayPattern"===e.type)Ux(e,t,s);else if("AssignmentPattern"===e.type)if("Identifier"===e.left.type){const n=r?"setup-const":s?"setup-maybe-ref":"setup-let";Bx(t,e.left,n)}else jx(e.left,t,s)}function Gx(e,t){if(gg(e,t))return!0;switch(e.type){case"UnaryExpression":case"BinaryExpression":case"ArrayExpression":case"ObjectExpression":case"FunctionExpression":case"ArrowFunctionExpression":case"UpdateExpression":case"ClassExpression":case"TaggedTemplateExpression":return!0;case"SequenceExpression":return Gx(e.expressions[e.expressions.length-1],t);default:return!!Ag(e)}}function Qx(e){switch((e=xr(e)).type){case"UnaryExpression":return Qx(e.argument);case"LogicalExpression":case"BinaryExpression":return Qx(e.left)&&Qx(e.right);case"ConditionalExpression":return Qx(e.test)&&Qx(e.consequent)&&Qx(e.alternate);case"SequenceExpression":case"TemplateLiteral":return e.expressions.every(e=>Qx(e));case"ParenthesizedExpression":return Qx(e.expression);case"StringLiteral":case"NumericLiteral":case"BooleanLiteral":case"NullLiteral":case"BigIntLiteral":return!0}return!1}var Wx=Object.defineProperty,Kx=Object.getOwnPropertySymbols,Vx=Object.prototype.hasOwnProperty,Yx=Object.prototype.propertyIsEnumerable,Jx=(e,t,s)=>t in e?Wx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,Hx=(e,t)=>{for(var s in t||(t={}))Vx.call(t,s)&&Jx(e,s,t[s]);if(Kx)for(var s of Kx(t))Yx.call(t,s)&&Jx(e,s,t[s]);return e};function $x(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return e=>e in t}Hx(Hx({},Js),Jo),zs.parse;const Xx=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Zx=Array.isArray,qx=e=>"string"==typeof e,zx=e=>null!==e&&"object"==typeof e,eb=/\B([A-Z])/g,tb=(e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))})(e=>e.replace(eb,"-$1").toLowerCase());let sb;function rb(e){if(Zx(e)){const t={};for(let s=0;s<e.length;s++){const r=e[s],n=qx(r)?ab(r):rb(r);if(n)for(const e in n)t[e]=n[e]}return t}if(qx(e)||zx(e))return e}const nb=/;(?![^(]*\))/g,ib=/:([^]+)/,ob=/\/\*[^]*?\*\//g;function ab(e){const t={};return e.replace(ob,"").split(nb).forEach(e=>{if(e){const s=e.split(ib);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function cb(e){let t="";if(qx(e))t=e;else if(Zx(e))for(let s=0;s<e.length;s++){const r=cb(e[s]);r&&(t+=r+" ")}else if(zx(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const lb=$x("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly,async,autofocus,autoplay,controls,default,defer,disabled,hidden,inert,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected");const hb=/[>/="'\u0009\u000a\u000c\u0020]/,pb={};const ub={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"};const db=/["'&<>]/;function fb(e){const t=""+e,s=db.exec(t);if(!s)return t;let r,n,i="",o=0;for(n=s.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#39;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}o!==n&&(i+=t.slice(o,n)),o=n+1,i+=r}return o!==n?i+t.slice(o,n):i}function mb(e){return null==e?"initial":"string"==typeof e?""===e?" ":e:String(e)}const Ab=$x(",key,ref,innerHTML,textContent,ref_key,ref_for");function gb(e,t){let s="";for(let r in e){if(Ab(r)||Xx(r)||"textarea"===t||r.startsWith("."))continue;const n=e[r];r.startsWith("^")&&(r=r.slice(1)),"class"===r?s+=` class="${xb(n)}"`:"style"===r?s+=` style="${bb(n)}"`:"className"===r?null!=n&&(s+=` class="${fb(String(n))}"`):s+=yb(r,n)}return s}function yb(e,t,s){if(!function(e){if(null==e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t}(t))return"";const r=ub[e]||e.toLowerCase();return lb(r)?function(e){return!!e||""===e}(t)?` ${r}`:"":function(e){if(pb.hasOwnProperty(e))return pb[e];const t=hb.test(e);return t&&console.error(`unsafe attribute name: ${e}`),pb[e]=!t}(r)?""===t?` ${r}`:` ${r}="${fb(t)}"`:(console.warn(`[@vue/server-renderer] Skipped rendering unsafe attribute name: ${r}`),"")}function xb(e){return fb(cb(e))}function bb(e){if(!e)return"";if(qx(e))return fb(e);const t=rb(function(e){if(!Zx(e)&&zx(e)){const t={};for(const s in e)s.startsWith(":--")?t[s.slice(1)]=mb(e[s]):t[s]=e[s];return t}return e}(e));return fb(function(e){if(!e)return"";if(qx(e))return e;let t="";for(const s in e){const r=e[s];(qx(r)||"number"==typeof r)&&(t+=`${s.startsWith("--")?s:tb(s)}:${r};`)}return t}(t))}const{ensureValidVNode:Sb}=t;{const e=sb||(sb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}),t=(t,s)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(s),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};t("__VUE_INSTANCE_SETTERS__",e=>e),t("__VUE_SSR_SETTERS__",e=>e)}const{createComponentInstance:Eb,setCurrentRenderingInstance:vb,setupComponent:wb,renderComponentRoot:Cb,normalizeVNode:Ib,pushWarningContext:Tb,popWarningContext:Pb}=t,{isVNode:Nb}=t,{isVNode:kb}=t;s();export{Mx as a,vu as b,ug as c,gc as p,gb as s};