2 lines
666 KiB
JavaScript
2 lines
666 KiB
JavaScript
(this.csbJsonP=this.csbJsonP||[]).push([[8],{"../../node_modules/@vue/compiler-sfc/dist/compiler-sfc.esm-browser.js":function(e,t,r){"use strict";r.r(t),function(e){function s(e,t){const r=Object.create(null),s=e.split(",");for(let e=0;e<s.length;e++)r[s[e]]=!0;return t?e=>!!r[e.toLowerCase()]:e=>!!r[e]}r.d(t,"MagicString",(function(){return el})),r.d(t,"babelParse",(function(){return Ps})),r.d(t,"compileScript",(function(){return Ju})),r.d(t,"compileStyle",(function(){return Ny})),r.d(t,"compileStyleAsync",(function(){return Oy})),r.d(t,"compileTemplate",(function(){return Lu})),r.d(t,"extractIdentifiers",(function(){return Yi})),r.d(t,"generateCodeFrame",(function(){return a})),r.d(t,"isInDestructureAssignment",(function(){return Hi})),r.d(t,"isStaticProperty",(function(){return Xi})),r.d(t,"parse",(function(){return vd})),r.d(t,"rewriteDefault",(function(){return Fu})),r.d(t,"shouldTransformRef",(function(){return Vu})),r.d(t,"transformRef",(function(){return zu})),r.d(t,"transformRefAST",(function(){return Hu})),r.d(t,"walk",(function(){return My})),r.d(t,"walkIdentifiers",(function(){return Vi}));const n={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},i={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},o=s("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function a(e,t=0,r=e.length){let s=e.split(/(\r?\n)/);const n=s.filter((e,t)=>t%2==1);s=s.filter((e,t)=>t%2==0);let i=0;const o=[];for(let e=0;e<s.length;e++)if(i+=s[e].length+(n[e]&&n[e].length||0),i>=t){for(let a=e-2;a<=e+2||r>i;a++){if(a<0||a>=s.length)continue;const c=a+1;o.push(`${c}${" ".repeat(Math.max(3-String(c).length,0))}| ${s[a]}`);const l=s[a].length,p=n[a]&&n[a].length||0;if(a===e){const e=t-(i-(l+p)),s=Math.max(1,r>i?l-e:r-t);o.push(" | "+" ".repeat(e)+"^".repeat(s))}else if(a>e){if(r>i){const e=Math.max(Math.min(r-i,l),1);o.push(" | "+"^".repeat(e))}i+=l+p}}break}return o.join("\n")}function c(e){if(j(e)){const t={};for(let r=0;r<e.length;r++){const s=e[r],n=q(s)?u(s):c(s);if(n)for(const e in n)t[e]=n[e]}return t}return q(e)||V(e)?e:void 0}const l=/;(?![^(]*\))/g,p=/:([^]+)/,h=/\/\*.*?\*\//gs;function u(e){const t={};return e.replace(h,"").split(l).forEach(e=>{if(e){const r=e.split(p);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function d(e){let t="";if(!e||q(e))return t;for(const r in e){const s=e[r],n=r.startsWith("--")?r:Z(r);(q(s)||"number"==typeof s)&&(t+=`${n}:${s};`)}return t}function f(e){let t="";if(q(e))t=e;else if(j(e))for(let r=0;r<e.length;r++){const s=f(e[r]);s&&(t+=s+" ")}else if(V(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const m=s("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,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"),g=s("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,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"),y=s("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),b=s("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly,async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),v=/[>/="'\u0009\u000a\u000c\u0020]/,x={};function w(e){if(x.hasOwnProperty(e))return x[e];const t=v.test(e);return t&&console.error("unsafe attribute name: "+e),x[e]=!t}const S={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},E=s("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,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"),P=s("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,xml:base,xml:lang,xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan"),T=/["'&<>]/;function A(e){const t=""+e,r=T.exec(t);if(!r)return t;let s,n,i="",o=0;for(n=r.index;n<t.length;n++){switch(t.charCodeAt(n)){case 34:s=""";break;case 38:s="&";break;case 39:s="'";break;case 60:s="<";break;case 62:s=">";break;default:continue}o!==n&&(i+=t.slice(o,n)),o=n+1,i+=s}return o!==n?i+t.slice(o,n):i}const C=e=>q(e)?e:null==e?"":j(e)||V(e)&&(e.toString===z||!U(e.toString))?JSON.stringify(e,k,2):String(e),k=(e,t)=>t&&t.__v_isRef?k(e,t.value):F(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,r])=>(e[t+" =>"]=r,e),{})}:B(t)?{[`Set(${t.size})`]:[...t.values()]}:!V(t)||j(t)||G(t)?t:String(t),_=Object.freeze({});Object.freeze([]);const I=()=>{},N=()=>!1,O=/^on[^a-z]/,L=e=>O.test(e),M=Object.assign,D=Object.prototype.hasOwnProperty,R=(e,t)=>D.call(e,t),j=Array.isArray,F=e=>"[object Map]"===H(e),B=e=>"[object Set]"===H(e),U=e=>"function"==typeof e,q=e=>"string"==typeof e,$=e=>"symbol"==typeof e,V=e=>null!==e&&"object"==typeof e,z=Object.prototype.toString,H=e=>z.call(e),G=e=>"[object Object]"===H(e),W=s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Y=s("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),J=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},K=/-(\w)/g,X=J(e=>e.replace(K,(e,t)=>t?t.toUpperCase():"")),Q=/\B([A-Z])/g,Z=J(e=>e.replace(Q,"-$1").toLowerCase()),ee=J(e=>e.charAt(0).toUpperCase()+e.slice(1)),te=J(e=>e?"on"+ee(e):""),re=/^[_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*$/;function se(e){return re.test(e)?"__props."+e:`__props[${JSON.stringify(e)}]`}function ne(e){throw e}function ie(e){console.warn("[Vue warn] "+e.message)}function oe(e,t,r,s){const n=(r||ae)[e]+(s||""),i=new SyntaxError(String(n));return i.code=e,i.loc=t,i}const ae={0:"Illegal comment.",1:"CDATA section is allowed only in XML context.",2:"Duplicate attribute.",3:"End tag cannot have attributes.",4:"Illegal '/' in tags.",5:"Unexpected EOF in tag.",6:"Unexpected EOF in CDATA section.",7:"Unexpected EOF in comment.",8:"Unexpected EOF in script.",9:"Unexpected EOF in tag.",10:"Incorrectly closed comment.",11:"Incorrectly opened comment.",12:"Illegal tag name. Use '<' to print '<'.",13:"Attribute value was expected.",14:"End tag name was expected.",15:"Whitespace was expected.",16:"Unexpected '\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.",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:"Error parsing JavaScript expression: ",46:"<KeepAlive> expects exactly one child component.",47:'"prefixIdentifiers" option is not supported in this build of compiler.',48:"ES module mode is not supported in this build of compiler.",49:'"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.',50:'"scopeId" option is only supported in module mode.',51:""},ce=Symbol("Fragment"),le=Symbol("Teleport"),pe=Symbol("Suspense"),he=Symbol("KeepAlive"),ue=Symbol("BaseTransition"),de=Symbol("openBlock"),fe=Symbol("createBlock"),me=Symbol("createElementBlock"),ge=Symbol("createVNode"),ye=Symbol("createElementVNode"),be=Symbol("createCommentVNode"),ve=Symbol("createTextVNode"),xe=Symbol("createStaticVNode"),we=Symbol("resolveComponent"),Se=Symbol("resolveDynamicComponent"),Ee=Symbol("resolveDirective"),Pe=Symbol("resolveFilter"),Te=Symbol("withDirectives"),Ae=Symbol("renderList"),Ce=Symbol("renderSlot"),ke=Symbol("createSlots"),_e=Symbol("toDisplayString"),Ie=Symbol("mergeProps"),Ne=Symbol("normalizeClass"),Oe=Symbol("normalizeStyle"),Le=Symbol("normalizeProps"),Me=Symbol("guardReactiveProps"),De=Symbol("toHandlers"),Re=Symbol("camelize"),je=Symbol("capitalize"),Fe=Symbol("toHandlerKey"),Be=Symbol("setBlockTracking"),Ue=Symbol("pushScopeId"),qe=Symbol("popScopeId"),$e=Symbol("withCtx"),Ve=Symbol("unref"),ze=Symbol("isRef"),He=Symbol("withMemo"),Ge=Symbol("isMemoSame"),We={[ce]:"Fragment",[le]:"Teleport",[pe]:"Suspense",[he]:"KeepAlive",[ue]:"BaseTransition",[de]:"openBlock",[fe]:"createBlock",[me]:"createElementBlock",[ge]:"createVNode",[ye]:"createElementVNode",[be]:"createCommentVNode",[ve]:"createTextVNode",[xe]:"createStaticVNode",[we]:"resolveComponent",[Se]:"resolveDynamicComponent",[Ee]:"resolveDirective",[Pe]:"resolveFilter",[Te]:"withDirectives",[Ae]:"renderList",[Ce]:"renderSlot",[ke]:"createSlots",[_e]:"toDisplayString",[Ie]:"mergeProps",[Ne]:"normalizeClass",[Oe]:"normalizeStyle",[Le]:"normalizeProps",[Me]:"guardReactiveProps",[De]:"toHandlers",[Re]:"camelize",[je]:"capitalize",[Fe]:"toHandlerKey",[Be]:"setBlockTracking",[Ue]:"pushScopeId",[qe]:"popScopeId",[$e]:"withCtx",[Ve]:"unref",[ze]:"isRef",[He]:"withMemo",[Ge]:"isMemoSame"};function Ye(e){Object.getOwnPropertySymbols(e).forEach(t=>{We[t]=e[t]})}const Je={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Ke(e,t=Je){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}function Xe(e,t,r,s,n,i,o,a=!1,c=!1,l=!1,p=Je){return e&&(a?(e.helper(de),e.helper(Js(e.inSSR,l))):e.helper(Ys(e.inSSR,l)),o&&e.helper(Te)),{type:13,tag:t,props:r,children:s,patchFlag:n,dynamicProps:i,directives:o,isBlock:a,disableTracking:c,isComponent:l,loc:p}}function Qe(e,t=Je){return{type:17,loc:t,elements:e}}function Ze(e,t=Je){return{type:15,loc:t,properties:e}}function et(e,t){return{type:16,loc:Je,key:q(e)?tt(e,!0):e,value:t}}function tt(e,t=!1,r=Je,s=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:s}}function rt(e,t){return{type:5,loc:t,content:q(e)?tt(e,!1,t):e}}function st(e,t=Je){return{type:8,loc:t,children:e}}function nt(e,t=[],r=Je){return{type:14,loc:r,callee:e,arguments:t}}function it(e,t,r=!1,s=!1,n=Je){return{type:18,params:e,returns:t,newline:r,isSlot:s,loc:n}}function ot(e,t,r,s=!0){return{type:19,test:e,consequent:t,alternate:r,newline:s,loc:Je}}function at(e,t,r=!1){return{type:20,index:e,value:t,isVNode:r,loc:Je}}function ct(e){return{type:21,body:e,loc:Je}}function lt(e){return{type:22,elements:e,loc:Je}}function pt(e,t,r){return{type:23,test:e,consequent:t,alternate:r,loc:Je}}function ht(e,t){return{type:24,left:e,right:t,loc:Je}}function ut(e){return{type:25,expressions:e,loc:Je}}function dt(e){return{type:26,returns:e,loc:Je}}const ft=/\r\n?|[\n\u2028\u2029]/,mt=new RegExp(ft.source,"g");function gt(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const yt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,bt=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function vt(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}}class xt{constructor(e,t){this.line=void 0,this.column=void 0,this.line=e,this.column=t}}class wt{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 St(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function Et(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function Pt(e,t,r){let s=null,n=t.length;for(;null===s&&n>0;)s=t[--n];null===s||s.start>r.start?Et(e,r.comments):St(s,r.comments)}const Tt=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),At=_t({AccessorIsGenerator:"A %0ter 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.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor 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:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",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:"`%0` 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:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",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:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 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:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",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.",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:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' 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.",PipeBodyIsTighter:"Unexpected %0 after pipeline body; any %0 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:'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.',PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:"Hack-style pipe body cannot be an unparenthesized %0 expression; 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.',PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",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, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' 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.",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:"Unexpected keyword '%0'.",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:"Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",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:"The only valid meta property for %0 is %0.%1.",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.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},Tt.SyntaxError),Ct=_t({ImportMetaOutsideModule:"import.meta may appear only with 'sourceType: \"module\"'",ImportOutsideModule:"'import' and 'export' may appear only with 'sourceType: \"module\"'"},Tt.SourceTypeModuleError);function kt(e,t){return"flow"===t&&"PatternIsOptional"===e?"OptionalBindingPattern":e}function _t(e,t,r){const s={};return Object.keys(e).forEach(n=>{s[n]=Object.freeze({code:t,reasonCode:kt(n,r),template:e[n]})}),Object.freeze(s)}class It{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}const Nt={brace:new It("{"),template:new It("`",!0)};class Ot{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 Lt=new Map;function Mt(e,t={}){t.keyword=e;const r=Vt(e,t);return Lt.set(e,r),r}function Dt(e,t){return Vt(e,{beforeExpr:!0,binop:t})}let Rt=-1;const jt=[],Ft=[],Bt=[],Ut=[],qt=[],$t=[];function Vt(e,t={}){var r,s,n,i;return++Rt,Ft.push(e),Bt.push(null!=(r=t.binop)?r:-1),Ut.push(null!=(s=t.beforeExpr)&&s),qt.push(null!=(n=t.startsExpr)&&n),$t.push(null!=(i=t.prefix)&&i),jt.push(new Ot(e,t)),Rt}function zt(e,t={}){var r,s,n,i;return++Rt,Lt.set(e,Rt),Ft.push(e),Bt.push(null!=(r=t.binop)?r:-1),Ut.push(null!=(s=t.beforeExpr)&&s),qt.push(null!=(n=t.startsExpr)&&n),$t.push(null!=(i=t.prefix)&&i),jt.push(new Ot("name",t)),Rt}const Ht={bracketL:Vt("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:Vt("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:Vt("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:Vt("]"),bracketBarR:Vt("|]"),braceL:Vt("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:Vt("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:Vt("#{",{beforeExpr:!0,startsExpr:!0}),braceR:Vt("}",{beforeExpr:!0}),braceBarR:Vt("|}"),parenL:Vt("(",{beforeExpr:!0,startsExpr:!0}),parenR:Vt(")"),comma:Vt(",",{beforeExpr:!0}),semi:Vt(";",{beforeExpr:!0}),colon:Vt(":",{beforeExpr:!0}),doubleColon:Vt("::",{beforeExpr:!0}),dot:Vt("."),question:Vt("?",{beforeExpr:!0}),questionDot:Vt("?."),arrow:Vt("=>",{beforeExpr:!0}),template:Vt("template"),ellipsis:Vt("...",{beforeExpr:!0}),backQuote:Vt("`",{startsExpr:!0}),dollarBraceL:Vt("${",{beforeExpr:!0,startsExpr:!0}),at:Vt("@"),hash:Vt("#",{startsExpr:!0}),interpreterDirective:Vt("#!..."),eq:Vt("=",{beforeExpr:!0,isAssign:!0}),assign:Vt("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:Vt("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:Vt("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:Vt("_=",{beforeExpr:!0,isAssign:!0}),incDec:Vt("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:Vt("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:Vt("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),pipeline:Dt("|>",0),nullishCoalescing:Dt("??",1),logicalOR:Dt("||",1),logicalAND:Dt("&&",2),bitwiseOR:Dt("|",3),bitwiseXOR:Dt("^",4),bitwiseAND:Dt("&",5),equality:Dt("==/!=/===/!==",6),lt:Dt("</>/<=/>=",7),gt:Dt("</>/<=/>=",7),relational:Dt("</>/<=/>=",7),bitShift:Dt("<</>>/>>>",8),plusMin:Vt("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Vt("%",{binop:10,startsExpr:!0}),star:Vt("*",{binop:10}),slash:Dt("/",10),exponent:Vt("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:Mt("in",{beforeExpr:!0,binop:7}),_instanceof:Mt("instanceof",{beforeExpr:!0,binop:7}),_break:Mt("break"),_case:Mt("case",{beforeExpr:!0}),_catch:Mt("catch"),_continue:Mt("continue"),_debugger:Mt("debugger"),_default:Mt("default",{beforeExpr:!0}),_else:Mt("else",{beforeExpr:!0}),_finally:Mt("finally"),_function:Mt("function",{startsExpr:!0}),_if:Mt("if"),_return:Mt("return",{beforeExpr:!0}),_switch:Mt("switch"),_throw:Mt("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:Mt("try"),_var:Mt("var"),_const:Mt("const"),_with:Mt("with"),_new:Mt("new",{beforeExpr:!0,startsExpr:!0}),_this:Mt("this",{startsExpr:!0}),_super:Mt("super",{startsExpr:!0}),_class:Mt("class",{startsExpr:!0}),_extends:Mt("extends",{beforeExpr:!0}),_export:Mt("export"),_import:Mt("import",{startsExpr:!0}),_null:Mt("null",{startsExpr:!0}),_true:Mt("true",{startsExpr:!0}),_false:Mt("false",{startsExpr:!0}),_typeof:Mt("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Mt("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Mt("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:Mt("do",{isLoop:!0,beforeExpr:!0}),_for:Mt("for",{isLoop:!0}),_while:Mt("while",{isLoop:!0}),_as:zt("as",{startsExpr:!0}),_assert:zt("assert",{startsExpr:!0}),_async:zt("async",{startsExpr:!0}),_await:zt("await",{startsExpr:!0}),_from:zt("from",{startsExpr:!0}),_get:zt("get",{startsExpr:!0}),_let:zt("let",{startsExpr:!0}),_meta:zt("meta",{startsExpr:!0}),_of:zt("of",{startsExpr:!0}),_sent:zt("sent",{startsExpr:!0}),_set:zt("set",{startsExpr:!0}),_static:zt("static",{startsExpr:!0}),_yield:zt("yield",{startsExpr:!0}),_asserts:zt("asserts",{startsExpr:!0}),_checks:zt("checks",{startsExpr:!0}),_exports:zt("exports",{startsExpr:!0}),_global:zt("global",{startsExpr:!0}),_implements:zt("implements",{startsExpr:!0}),_intrinsic:zt("intrinsic",{startsExpr:!0}),_infer:zt("infer",{startsExpr:!0}),_is:zt("is",{startsExpr:!0}),_mixins:zt("mixins",{startsExpr:!0}),_proto:zt("proto",{startsExpr:!0}),_require:zt("require",{startsExpr:!0}),_keyof:zt("keyof",{startsExpr:!0}),_readonly:zt("readonly",{startsExpr:!0}),_unique:zt("unique",{startsExpr:!0}),_abstract:zt("abstract",{startsExpr:!0}),_declare:zt("declare",{startsExpr:!0}),_enum:zt("enum",{startsExpr:!0}),_module:zt("module",{startsExpr:!0}),_namespace:zt("namespace",{startsExpr:!0}),_interface:zt("interface",{startsExpr:!0}),_type:zt("type",{startsExpr:!0}),_opaque:zt("opaque",{startsExpr:!0}),name:Vt("name",{startsExpr:!0}),string:Vt("string",{startsExpr:!0}),num:Vt("num",{startsExpr:!0}),bigint:Vt("bigint",{startsExpr:!0}),decimal:Vt("decimal",{startsExpr:!0}),regexp:Vt("regexp",{startsExpr:!0}),privateName:Vt("#name",{startsExpr:!0}),eof:Vt("eof"),jsxName:Vt("jsxName"),jsxText:Vt("jsxText",{beforeExpr:!0}),jsxTagStart:Vt("jsxTagStart",{startsExpr:!0}),jsxTagEnd:Vt("jsxTagEnd"),placeholder:Vt("%%",{startsExpr:!0})};function Gt(e){return e>=87&&e<=122}function Wt(e){return e>=52&&e<=122}function Yt(e){return e>=52&&e<=126}function Jt(e){return qt[e]}function Kt(e){return e>=119&&e<=121}function Xt(e){return e>=52&&e<=86}function Qt(e){return Ft[e]}function Zt(e){return Bt[e]}function er(e){return jt[e]}jt[8].updateContext=e=>{e.pop()},jt[5].updateContext=jt[7].updateContext=jt[23].updateContext=e=>{e.push(Nt.brace)},jt[22].updateContext=e=>{e[e.length-1]===Nt.template?e.pop():e.push(Nt.template)},jt[132].updateContext=e=>{e.push(Nt.j_expr,Nt.j_oTag)};let tr="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u0870-\u0887\u0889-\u088e\u08a0-\u08c9\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c5d\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cdd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u1711\u171f-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4c\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7ca\ua7d0\ua7d1\ua7d3\ua7d5-\ua7d9\ua7f2-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",rr="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0898-\u089f\u08ca-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3c\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u180f-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf-\u1ace\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f";const sr=new RegExp("["+tr+"]"),nr=new RegExp("["+tr+rr+"]");tr=rr=null;const ir=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,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,482,44,11,6,17,0,322,29,19,43,1269,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,4152,8,221,3,5761,15,7472,3104,541,1507,4938],or=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,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,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function ar(e,t){let r=65536;for(let s=0,n=t.length;s<n;s+=2){if(r+=t[s],r>e)return!1;if(r+=t[s+1],r>=e)return!0}return!1}function cr(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&sr.test(String.fromCharCode(e)):ar(e,ir)))}function lr(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&nr.test(String.fromCharCode(e)):ar(e,ir)||ar(e,or))))}const pr=["implements","interface","let","package","private","protected","public","static","yield"],hr=["eval","arguments"],ur=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"]),dr=new Set(pr),fr=new Set(hr);function mr(e,t){return t&&"await"===e||"enum"===e}function gr(e,t){return mr(e,t)||dr.has(e)}function yr(e){return fr.has(e)}function br(e,t){return gr(e,t)||yr(e)}const vr=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 xr{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}}class wr{constructor(e,t){this.scopeStack=[],this.undefinedExports=new Map,this.undefinedPrivateNames=new Map,this.raise=e,this.inModule=t}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(64&e)>0&&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(323&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new xr(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(2&e.flags||!this.inModule&&1&e.flags)}declareName(e,t,r){let s=this.currentScope();if(8&t||16&t)this.checkRedeclarationInScope(s,e,t,r),16&t?s.functions.add(e):s.lexical.add(e),8&t&&this.maybeExportDefined(s,e);else if(4&t)for(let n=this.scopeStack.length-1;n>=0&&(s=this.scopeStack[n],this.checkRedeclarationInScope(s,e,t,r),s.var.add(e),this.maybeExportDefined(s,e),!(259&s.flags));--n);this.inModule&&1&s.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,s){this.isRedeclaredInScope(e,t,r)&&this.raise(s,At.VarRedeclaration,t)}isRedeclaredInScope(e,t,r){return!!(1&r)&&(8&r?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):16&r?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(8&e.flags&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){const{name:t}=e,r=this.scopeStack[0];r.lexical.has(t)||r.var.has(t)||r.functions.has(t)||this.undefinedExports.set(t,e.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(259&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(323&t&&!(4&t))return t}}}class Sr extends xr{constructor(...e){super(...e),this.declareFunctions=new Set}}class Er extends wr{createScope(e){return new Sr(e)}declareName(e,t,r){const s=this.currentScope();if(2048&t)return this.checkRedeclarationInScope(s,e,t,r),this.maybeExportDefined(s,e),void s.declareFunctions.add(e);super.declareName(...arguments)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(...arguments)||!!(2048&r)&&(!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t)))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}class Pr{constructor(){this.strict=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.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.comments=[],this.commentStack=[],this.pos=0,this.type=129,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.lastTokEnd=0,this.context=[Nt.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:e,sourceType:t,startLine:r,startColumn:s}){this.strict=!1!==e&&(!0===e||"module"===t),this.curLine=r,this.lineStart=-s,this.startLoc=this.endLoc=new xt(r,s)}curPosition(){return new xt(this.curLine,this.pos-this.lineStart)}clone(e){const t=new Pr,r=Object.keys(this);for(let s=0,n=r.length;s<n;s++){const n=r[s];let i=this[n];!e&&Array.isArray(i)&&(i=i.slice()),t[n]=i}return t}}var Tr=function(e){return e>=48&&e<=57};const Ar=new Set([103,109,115,105,121,117,100]),Cr={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},kr={bin:[48,49]};kr.oct=[...kr.bin,50,51,52,53,54,55],kr.dec=[...kr.oct,56,57],kr.hex=[...kr.dec,65,66,67,68,69,70,97,98,99,100,101,102];class _r{constructor(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new wt(e.startLoc,e.endLoc)}}class Ir{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Nr{constructor(e){this.stack=[],this.undefinedPrivateNames=new Map,this.raise=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Ir)}exit(){const e=this.stack.pop(),t=this.current();for(const[r,s]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,s):this.raise(s,At.InvalidPrivateFieldResolution,r)}declarePrivateName(e,t,r){const s=this.current();let n=s.privateNames.has(e);if(3&t){const r=n&&s.loneAccessors.get(e);if(r){const i=4&r,o=4&t;n=(3&r)===(3&t)||i!==o,n||s.loneAccessors.delete(e)}else n||s.loneAccessors.set(e,t)}n&&this.raise(r,At.PrivateNameRedeclaration,e),s.privateNames.add(e),s.undefinedPrivateNames.delete(e)}usePrivateName(e,t){let r;for(r of this.stack)if(r.privateNames.has(e))return;r?r.undefinedPrivateNames.set(e,t):this.raise(t,At.InvalidPrivateFieldResolution,e)}}class Or{constructor(e=0){this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class Lr extends Or{constructor(e){super(e),this.errors=new Map}recordDeclarationError(e,t){this.errors.set(e,t)}clearDeclarationError(e){this.errors.delete(e)}iterateErrors(e){this.errors.forEach(e)}}class Mr{constructor(e){this.stack=[new Or],this.raise=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){const{stack:r}=this;let s=r.length-1,n=r[s];for(;!n.isCertainlyParameterDeclaration();){if(!n.canBeArrowParameterDeclaration())return;n.recordDeclarationError(e,t),n=r[--s]}this.raise(e,t)}recordParenthesizedIdentifierError(e,t){const{stack:r}=this,s=r[r.length-1];if(s.isCertainlyParameterDeclaration())this.raise(e,t);else{if(!s.canBeArrowParameterDeclaration())return;s.recordDeclarationError(e,t)}}recordAsyncArrowParametersError(e,t){const{stack:r}=this;let s=r.length-1,n=r[s];for(;n.canBeArrowParameterDeclaration();)2===n.type&&n.recordDeclarationError(e,t),n=r[--s]}validateAsPattern(){const{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((t,r)=>{this.raise(r,t);let s=e.length-2,n=e[s];for(;n.canBeArrowParameterDeclaration();)n.clearDeclarationError(r),n=e[--s]})}}function Dr(){return new Or}class Rr{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 jr(e,t){return(e?2:0)|(t?1:0)}class Fr{constructor(){this.shorthandAssign=-1,this.doubleProto=-1,this.optionalParameters=-1}}class Br{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new wt(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}}const Ur=Br.prototype;function qr(e){const{type:t,start:r,end:s,loc:n,range:i,extra:o,name:a}=e,c=Object.create(Ur);return c.type=t,c.start=r,c.end=s,c.loc=n,c.range=i,c.extra=o,c.name=a,"Placeholder"===t&&(c.expectedNode=e.expectedNode),c}function $r(e){const{type:t,start:r,end:s,loc:n,range:i,extra:o}=e;if("Placeholder"===t)return function(e){return qr(e)}(e);const a=Object.create(Ur);return a.type="StringLiteral",a.start=r,a.end=s,a.loc=n,a.range=i,a.extra=o,a.value=e.value,a}Ur.__clone=function(){const e=new Br,t=Object.keys(this);for(let r=0,s=t.length;r<s;r++){const s=t[r];"leadingComments"!==s&&"trailingComments"!==s&&"innerComments"!==s&&(e[s]=this[s])}return e};const Vr=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),zr=_t({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:"Cannot overwrite reserved type %0.",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:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",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:"A binding pattern parameter cannot be optional in an implementation signature.",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:"Unexpected reserved type %0.",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:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},Tt.SyntaxError,"flow");function Hr(e){return"type"===e.importKind||"typeof"===e.importKind}function Gr(e){return Wt(e)&&91!==e}const Wr={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};const Yr=/\*?\s*@((?:no)?flow)\b/;const Jr={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02c6",tilde:"\u02dc",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039a",Lambda:"\u039b",Mu:"\u039c",Nu:"\u039d",Xi:"\u039e",Omicron:"\u039f",Pi:"\u03a0",Rho:"\u03a1",Sigma:"\u03a3",Tau:"\u03a4",Upsilon:"\u03a5",Phi:"\u03a6",Chi:"\u03a7",Psi:"\u03a8",Omega:"\u03a9",alpha:"\u03b1",beta:"\u03b2",gamma:"\u03b3",delta:"\u03b4",epsilon:"\u03b5",zeta:"\u03b6",eta:"\u03b7",theta:"\u03b8",iota:"\u03b9",kappa:"\u03ba",lambda:"\u03bb",mu:"\u03bc",nu:"\u03bd",xi:"\u03be",omicron:"\u03bf",pi:"\u03c0",rho:"\u03c1",sigmaf:"\u03c2",sigma:"\u03c3",tau:"\u03c4",upsilon:"\u03c5",phi:"\u03c6",chi:"\u03c7",psi:"\u03c8",omega:"\u03c9",thetasym:"\u03d1",upsih:"\u03d2",piv:"\u03d6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200c",zwj:"\u200d",lrm:"\u200e",rlm:"\u200f",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201a",ldquo:"\u201c",rdquo:"\u201d",bdquo:"\u201e",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203a",oline:"\u203e",frasl:"\u2044",euro:"\u20ac",image:"\u2111",weierp:"\u2118",real:"\u211c",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21b5",lArr:"\u21d0",uArr:"\u21d1",rArr:"\u21d2",dArr:"\u21d3",hArr:"\u21d4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220b",prod:"\u220f",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221a",prop:"\u221d",infin:"\u221e",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222a",int:"\u222b",there4:"\u2234",sim:"\u223c",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22a5",sdot:"\u22c5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230a",rfloor:"\u230b",lang:"\u2329",rang:"\u232a",loz:"\u25ca",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},Kr=/^[\da-fA-F]+$/,Xr=/^\d+$/,Qr=_t({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",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 <>...</>?"},Tt.SyntaxError,"jsx");function Zr(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function es(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return es(e.object)+"."+es(e.property);throw new Error("Node had unexpected type: "+e.type)}Nt.j_oTag=new It("<tag"),Nt.j_cTag=new It("</tag"),Nt.j_expr=new It("<tag>...</tag>",!0);class ts extends xr{constructor(...e){super(...e),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}}class rs extends wr{createScope(e){return new ts(e)}declareName(e,t,r){const s=this.currentScope();if(1024&t)return this.maybeExportDefined(s,e),void s.exportOnlyBindings.add(e);super.declareName(...arguments),2&t&&(1&t||(this.checkRedeclarationInScope(s,e,t,r),this.maybeExportDefined(s,e)),s.types.add(e)),256&t&&s.enums.add(e),512&t&&s.constEnums.add(e),128&t&&s.classes.add(e)}isRedeclaredInScope(e,t,r){if(e.enums.has(t)){if(256&r){return!!(512&r)!==e.constEnums.has(t)}return!0}return 128&r&&e.classes.has(t)?!!e.lexical.has(t)&&!!(1&r):!!(2&r&&e.types.has(t))||super.isRedeclaredInScope(...arguments)}checkLocalExport(e){const t=this.scopeStack[0],{name:r}=e;t.types.has(r)||t.exportOnlyBindings.has(r)||super.checkLocalExport(e)}}function ss(e){if(!e)throw new Error("Assert fail")}const ns=_t({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AbstractPropertyHasInitializer:"Property '%0' cannot have an initializer because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' 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'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",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.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",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:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},Tt.SyntaxError,"typescript");function is(e){return"private"===e||"public"===e||"protected"===e}const os=_t({ClassNameIsRequired:"A class name is required."},Tt.SyntaxError);function as(e,t){return e.some(e=>Array.isArray(e)?e[0]===t:e===t)}function cs(e,t,r){const s=e.find(e=>Array.isArray(e)?e[0]===t:e===t);return s&&Array.isArray(s)?s[1][r]:null}const ls=["minimal","fsharp","hack","smart"],ps=["^","%","#"],hs=["hash","bar"];const us={estree:e=>class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(e){}const s=this.estreeParseLiteral(r);return s.regex={pattern:e,flags:t},s}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(e){t=null}const r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}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)}directiveToStmt(e){const t=e.value,r=this.startNodeAt(e.start,e.loc.start),s=this.startNodeAt(t.start,t.loc.start);return s.value=t.extra.expressionValue,s.raw=t.extra.raw,r.expression=this.finishNodeAt(s,"Literal",t.end,t.loc.end),r.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)}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){super.parseBlockBody(e,...t);const r=e.directives.map(e=>this.directiveToStmt(e));e.body=r.concat(e.body),delete e.directives}pushClassMethod(e,t,r,s,n,i){this.parseMethod(t,r,s,n,i,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);return delete(e=e).id,e.name=t,e.type="PrivateIdentifier",e}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 r=super.parseLiteral(e,t);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,t,r=!1){super.parseFunctionBody(e,t,r),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,r,s,n,i,o=!1){let a=this.startNode();return a.kind=e.kind,a=super.parseMethod(a,t,r,s,n,i,o),a.type="FunctionExpression",delete a.kind,e.value=a,"ClassPrivateMethod"===i&&(e.computed=!1),i="MethodDefinition",this.finishNode(e,i)}parseClassProperty(...e){const t=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t):t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t.computed=!1,t):t}parseObjectMethod(e,t,r,s,n){const i=super.parseObjectMethod(e,t,r,s,n);return i&&(i.type="Property","method"===i.kind&&(i.kind="init"),i.shorthand=!1),i}parseObjectProperty(e,t,r,s,n){const i=super.parseObjectProperty(e,t,r,s,n);return i&&(i.kind="init",i.type="Property"),i}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e,t=!1){return null!=e&&this.isObjectProperty(e)?(this.toAssignable(e.value,t),e):super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){"get"===e.kind||"set"===e.kind?this.raise(e.key.start,At.PatternHasAccessor):e.method?this.raise(e.key.start,At.PatternHasMethod):super.toAssignableObjectExpressionProp(e,...t)}finishCallExpression(e,t){if(super.finishCallExpression(e,t),"Import"===e.callee.type){var r;if(e.type="ImportExpression",e.source=e.arguments[0],this.hasPlugin("importAssertions"))e.attributes=null!=(r=e.arguments[1])?r:null;delete e.arguments,delete e.callee}return e}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e){switch(super.parseExport(e),e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":1===e.specifiers.length&&"ExportNamespaceSpecifier"===e.specifiers[0].type&&(e.type="ExportAllDeclaration",e.exported=e.specifiers[0].exported,delete e.specifiers)}return e}parseSubscript(e,t,r,s,n){const i=super.parseSubscript(e,t,r,s,n);if(n.optionalChainMember){if("OptionalMemberExpression"!==i.type&&"OptionalCallExpression"!==i.type||(i.type=i.type.substring(8)),n.stop){const e=this.startNodeAtNode(i);return e.expression=i,this.finishNode(e,"ChainExpression")}}else"MemberExpression"!==i.type&&"CallExpression"!==i.type||(i.optional=!1);return i}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return"ChainExpression"===e.type}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,Qr.UnterminatedJsxContent);const r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?60===r&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(132)):super.getTokenFromCode(r):(e+=this.input.slice(t,this.state.pos),this.finishToken(131,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;case 62:case 125:default:gt(r)?(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 r;return++this.state.pos,13===t&&10===this.input.charCodeAt(this.state.pos)?(++this.state.pos,r=e?"\n":"\r\n"):r=String.fromCharCode(t),++this.state.curLine,this.state.lineStart=this.state.pos,r}jsxReadString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,At.UnterminatedString);const s=this.input.charCodeAt(this.state.pos);if(s===e)break;38===s?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):gt(s)?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadNewLine(!1),r=this.state.pos):++this.state.pos}return t+=this.input.slice(r,this.state.pos++),this.finishToken(123,t)}jsxReadEntity(){let e,t="",r=0,s=this.input[this.state.pos];const n=++this.state.pos;for(;this.state.pos<this.length&&r++<10;){if(s=this.input[this.state.pos++],";"===s){"#"===t[0]?"x"===t[1]?(t=t.substr(2),Kr.test(t)&&(e=String.fromCodePoint(parseInt(t,16)))):(t=t.substr(1),Xr.test(t)&&(e=String.fromCodePoint(parseInt(t,10)))):e=Jr[t];break}t+=s}return e||(this.state.pos=n,"&")}jsxReadWord(){let e;const t=this.state.pos;do{e=this.input.charCodeAt(++this.state.pos)}while(lr(e)||45===e);return this.finishToken(130,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(130)?e.name=this.state.value:Xt(this.state.type)?e.name=Qt(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.start,t=this.state.startLoc,r=this.jsxParseIdentifier();if(!this.eat(14))return r;const s=this.startNodeAt(e,t);return s.namespace=r,s.name=this.jsxParseIdentifier(),this.finishNode(s,"JSXNamespacedName")}jsxParseElementName(){const e=this.state.start,t=this.state.startLoc;let r=this.jsxParseNamespacedName();if("JSXNamespacedName"===r.type)return r;for(;this.eat(16);){const s=this.startNodeAt(e,t);s.object=r,s.property=this.jsxParseIdentifier(),r=this.finishNode(s,"JSXMemberExpression")}return r}jsxParseAttributeValue(){let e;switch(this.state.type){case 5:return e=this.startNode(),this.next(),e=this.jsxParseExpressionContainer(e),"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,Qr.AttributeIsEmpty),e;case 132:case 123:return this.parseExprAtom();default:throw this.raise(this.state.start,Qr.UnsupportedJsxValue)}}jsxParseEmptyExpression(){const e=this.startNodeAt(this.state.lastTokEnd,this.state.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.state.start,this.state.startLoc)}jsxParseSpreadChild(e){return this.next(),e.expression=this.parseExpression(),this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const t=this.parseExpression();e.expression=t}return this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.eat(5)?(this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(27)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e,t){const r=this.startNodeAt(e,t);return this.match(133)?(this.expect(133),this.finishNode(r,"JSXOpeningFragment")):(r.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(r))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(50)&&!this.match(133);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(50),this.expect(133),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e,t){const r=this.startNodeAt(e,t);return this.match(133)?(this.expect(133),this.finishNode(r,"JSXClosingFragment")):(r.name=this.jsxParseElementName(),this.expect(133),this.finishNode(r,"JSXClosingElement"))}jsxParseElementAt(e,t){const r=this.startNodeAt(e,t),s=[],n=this.jsxParseOpeningElementAt(e,t);let i=null;if(!n.selfClosing){e:for(;;)switch(this.state.type){case 132:if(e=this.state.start,t=this.state.startLoc,this.next(),this.eat(50)){i=this.jsxParseClosingElementAt(e,t);break e}s.push(this.jsxParseElementAt(e,t));break;case 131:s.push(this.parseExprAtom());break;case 5:{const e=this.startNode();this.next(),this.match(21)?s.push(this.jsxParseSpreadChild(e)):s.push(this.jsxParseExpressionContainer(e));break}default:throw this.unexpected()}Zr(n)&&!Zr(i)?this.raise(i.start,Qr.MissingClosingTagFragment):!Zr(n)&&Zr(i)?this.raise(i.start,Qr.MissingClosingTagElement,es(n.name)):Zr(n)||Zr(i)||es(i.name)!==es(n.name)&&this.raise(i.start,Qr.MissingClosingTagElement,es(n.name))}if(Zr(n)?(r.openingFragment=n,r.closingFragment=i):(r.openingElement=n,r.closingElement=i),r.children=s,this.match(43))throw this.raise(this.state.start,Qr.UnwrappedAdjacentJSXElements);return Zr(n)?this.finishNode(r,"JSXFragment"):this.finishNode(r,"JSXElement")}jsxParseElement(){const e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)}parseExprAtom(e){return this.match(131)?this.parseLiteral(this.state.value,"JSXText"):this.match(132)?this.jsxParseElement():this.match(43)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(132),this.jsxParseElement()):super.parseExprAtom(e)}getTokenFromCode(e){const t=this.curContext();if(t===Nt.j_expr)return this.jsxReadToken();if(t===Nt.j_oTag||t===Nt.j_cTag){if(cr(e))return this.jsxReadWord();if(62===e)return++this.state.pos,this.finishToken(133);if((34===e||39===e)&&t===Nt.j_oTag)return this.jsxReadString(e)}return 60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1)?(++this.state.pos,this.finishToken(132)):super.getTokenFromCode(e)}updateContext(e){super.updateContext(e);const{context:t,type:r}=this.state;if(50===r&&132===e)t.splice(-2,2,Nt.j_cTag),this.state.canStartJSXElement=!1;else if(132===r)t.push(Nt.j_expr,Nt.j_oTag);else if(133===r){const r=t.pop();r===Nt.j_oTag&&50===e||r===Nt.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===Nt.j_expr):this.state.canStartJSXElement=!0}else this.state.canStartJSXElement=Ut[r]}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return Er}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){return 123!==e&&13!==e&&26!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){const t=Yr.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;}return super.addComment(e)}flowParseTypeInitialiser(e){const t=this.state.inType;this.state.inType=!0,this.expect(e||14);const r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){const e=this.startNode(),t=this.state.start;return this.next(),this.expectContextual(101),this.state.lastTokStart>t+1&&this.raise(t,zr.UnexpectedSpaceBetweenModuloChecks),this.eat(10)?(e.value=this.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,r=null;return this.match(48)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(48)&&(r=this.flowParsePredicate())),[t,r]}flowParseDeclareClass(e){return this.next(),this.flowParseInterfaceish(e,!0),this.finishNode(e,"DeclareClass")}flowParseDeclareFunction(e){this.next();const t=e.id=this.parseIdentifier(),r=this.startNode(),s=this.startNode();this.match(43)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);const n=this.flowParseFunctionTypeParams();return r.params=n.params,r.rest=n.rest,r.this=n._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),s.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(s,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(74))return this.flowParseDeclareClass(e);if(this.match(62))return this.flowParseDeclareFunction(e);if(this.match(68))return this.flowParseDeclareVariable(e);if(this.eatContextual(117))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(this.state.lastTokStart,zr.NestedDeclareModule),this.flowParseDeclareModule(e));if(this.isContextual(120))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(121))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(119))return this.flowParseDeclareInterface(e);if(this.match(76))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.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(123)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();const t=e.body=this.startNode(),r=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(77)?(this.next(),this.isContextual(120)||this.match(81)||this.raise(this.state.lastTokStart,zr.InvalidNonTypeImportInDeclareModule),this.parseImport(e)):(this.expectContextual(115,zr.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let s=null,n=!1;return r.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(e.start,zr.DuplicateDeclareModuleExports),"ES"===s&&this.raise(e.start,zr.AmbiguousDeclareModuleKind),s="CommonJS",n=!0):("CommonJS"===s&&this.raise(e.start,zr.AmbiguousDeclareModuleKind),s="ES")}),e.kind=s||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(76),this.eat(59))return this.match(62)||this.match(74)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(69)||this.isLet()||(this.isContextual(120)||this.isContextual(119))&&!t){const e=this.state.value,t=Wr[e];throw this.raise(this.state.start,zr.UnsupportedDeclareExportKind,e,t)}if(this.match(68)||this.match(62)||this.match(74)||this.isContextual(121))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(49)||this.match(5)||this.isContextual(119)||this.isContextual(120)||this.isContextual(121))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()}flowParseDeclareModuleExports(e){return this.next(),this.expectContextual(102),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")}flowParseDeclareTypeAlias(e){return this.next(),this.flowParseTypeAlias(e),e.type="DeclareTypeAlias",e}flowParseDeclareOpaqueType(e){return this.next(),this.flowParseOpaqueType(e,!0),e.type="DeclareOpaqueType",e}flowParseDeclareInterface(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")}flowParseInterfaceish(e,t=!1){if(e.id=this.flowParseRestrictedIdentifier(!t,!0),this.scope.declareName(e.id.name,t?17:9,e.id.start),this.match(43)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(75))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(this.isContextual(108)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(104)){this.next();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(43)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(this.state.start,zr.UnexpectedReservedUnderscore)}checkReservedType(e,t,r){Vr.has(e)&&this.raise(t,r?zr.AssignReservedType:zr.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.start,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,9,e.id.start),this.match(43)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(27),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(120),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,9,e.id.start),this.match(43)?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(27)),this.semicolon(),this.finishNode(e,"OpaqueType")}flowParseTypeParameter(e=!1){const t=this.state.start,r=this.startNode(),s=this.flowParseVariance(),n=this.flowParseTypeAnnotatableIdentifier();return r.name=n.name,r.variance=s,r.bound=n.typeAnnotation,this.match(27)?(this.eat(27),r.default=this.flowParseType()):e&&this.raise(t,zr.MissingTypeParamDefault),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(43)||this.match(132)?this.next():this.unexpected();let r=!1;do{const e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.match(44)||this.expect(12)}while(!this.match(44));return this.expect(44),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(43);const r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(44);)e.params.push(this.flowParseType()),this.match(44)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(44),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){const e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expect(43);!this.match(44);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(44)||this.expect(12);return this.expect(44),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(119),e.extends=[],this.eat(75))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(124)||this.match(123)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,r){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=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(43)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,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(43)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(72)&&(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 r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:e,allowExact:t,allowSpread:r,allowProto:s,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 p=this.startNode();if(s&&this.isContextual(109)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),i=this.state.start,e=!1)}if(e&&this.isContextual(98)){const e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),t=!0)}const h=this.flowParseVariance();if(this.eat(0))null!=i&&this.unexpected(i),this.eat(0)?(h&&this.unexpected(h.start),o.internalSlots.push(this.flowParseObjectTypeInternalSlot(p,t))):o.indexers.push(this.flowParseObjectTypeIndexer(p,t,h));else if(this.match(10)||this.match(43))null!=i&&this.unexpected(i),h&&this.unexpected(h.start),o.callProperties.push(this.flowParseObjectTypeCallProperty(p,t));else{let e="init";if(this.isContextual(92)||this.isContextual(97)){Yt(this.lookahead().type)&&(e=this.state.value,this.next())}const s=this.flowParseObjectTypeProperty(p,t,i,h,e,r,null!=n?n:!c);null===s?(l=!0,a=this.state.lastTokStart):o.properties.push(s)}this.flowObjectTypeSemicolon(),!a||this.match(8)||this.match(9)||this.raise(a,zr.UnexpectedExplicitInexactInObject)}this.expect(a),r&&(o.inexact=l);const p=this.finishNode(o,"ObjectTypeAnnotation");return this.state.inType=i,p}flowParseObjectTypeProperty(e,t,r,s,n,i,o){if(this.eat(21)){return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(i?o||this.raise(this.state.lastTokStart,zr.InexactInsideExact):this.raise(this.state.lastTokStart,zr.InexactInsideNonObject),s&&this.raise(s.start,zr.InexactVariance),null):(i||this.raise(this.state.lastTokStart,zr.UnexpectedSpreadType),null!=r&&this.unexpected(r),s&&this.raise(s.start,zr.SpreadVariance),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty"))}{e.key=this.flowParseObjectPropertyKey(),e.static=t,e.proto=null!=r,e.kind=n;let o=!1;return this.match(43)||this.match(10)?(e.method=!0,null!=r&&this.unexpected(r),s&&this.unexpected(s.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),"get"!==n&&"set"!==n||this.flowCheckGetterSetterParams(e),!i&&"constructor"===e.key.name&&e.value.this&&this.raise(e.value.this.start,zr.ThisParamBannedInConstructor)):("init"!==n&&this.unexpected(),e.method=!1,this.eat(17)&&(o=!0),e.value=this.flowParseTypeInitialiser(),e.variance=s),e.optional=o,this.finishNode(e,"ObjectTypeProperty")}}flowCheckGetterSetterParams(e){const t="get"===e.kind?0:1,r=e.start,s=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.value.this.start,"get"===e.kind?zr.GetterMayNotHaveThisParam:zr.SetterMayNotHaveThisParam),s!==t&&("get"===e.kind?this.raise(r,At.BadGetterArity):this.raise(r,At.BadSetterArity)),"set"===e.kind&&e.value.rest&&this.raise(r,At.BadSetterRestParameter)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;let s=r||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const r=this.startNodeAt(e,t);r.qualification=s,r.id=this.flowParseRestrictedIdentifier(!0),s=this.finishNode(r,"QualifiedTypeIdentifier")}return s}flowParseGenericType(e,t,r){const s=this.startNodeAt(e,t);return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(e,t,r),this.match(43)&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(81),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,r=!1,s=null;const n=this.startNode(),i=this.lookahead(),o=72===this.state.type;return 14===i.type||17===i.type?(o&&!e&&this.raise(n.start,zr.ThisParamMustBeFirst),t=this.parseIdentifier(o),this.eat(17)&&(r=!0,o&&this.raise(n.start,zr.ThisParamMayNotBeOptional)),s=this.flowParseTypeInitialiser()):s=this.flowParseType(),n.name=t,n.optional=r,n.typeAnnotation=s,this.finishNode(n,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(e){const t=this.startNodeAt(e.start,e.loc.start);return t.name=null,t.optional=!1,t.typeAnnotation=e,this.finishNode(t,"FunctionTypeParam")}flowParseFunctionTypeParams(e=[]){let t=null,r=null;for(this.match(72)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:r}}flowIdentToTypeAnnotation(e,t,r,s){switch(s.name){case"any":return this.finishNode(r,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(r,"BooleanTypeAnnotation");case"mixed":return this.finishNode(r,"MixedTypeAnnotation");case"empty":return this.finishNode(r,"EmptyTypeAnnotation");case"number":return this.finishNode(r,"NumberTypeAnnotation");case"string":return this.finishNode(r,"StringTypeAnnotation");case"symbol":return this.finishNode(r,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(s.name),this.flowParseGenericType(e,t,s)}}flowParsePrimaryType(){const e=this.state.start,t=this.state.startLoc,r=this.startNode();let s,n,i=!1;const o=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,n=this.flowParseTupleType(),this.state.noAnonFunctionType=o,n;case 43:return r.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),s=this.flowParseFunctionTypeParams(),r.params=s.params,r.rest=s.rest,r.this=s._this,this.expect(11),this.expect(19),r.returnType=this.flowParseType(),this.finishNode(r,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(Gt(this.state.type)||this.match(72)){const e=this.lookahead().type;i=17!==e&&14!==e}else i=!0;if(i){if(this.state.noAnonFunctionType=!1,n=this.flowParseType(),this.state.noAnonFunctionType=o,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),n;this.eat(12)}return s=n?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(n)]):this.flowParseFunctionTypeParams(),r.params=s.params,r.rest=s.rest,r.this=s._this,this.expect(11),this.expect(19),r.returnType=this.flowParseType(),r.typeParameters=null,this.finishNode(r,"FunctionTypeAnnotation");case 123:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 79:case 80:return r.value=this.match(79),this.next(),this.finishNode(r,"BooleanLiteralTypeAnnotation");case 47:if("-"===this.state.value){if(this.next(),this.match(124))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",r);if(this.match(125))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",r);throw this.raise(this.state.start,zr.UnexpectedSubtractionOperand)}throw this.unexpected();case 124:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 125:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 82:return this.next(),this.finishNode(r,"VoidTypeAnnotation");case 78:return this.next(),this.finishNode(r,"NullLiteralTypeAnnotation");case 72:return this.next(),this.finishNode(r,"ThisTypeAnnotation");case 49:return this.next(),this.finishNode(r,"ExistsTypeAnnotation");case 81:return this.flowParseTypeofType();default:if(Xt(this.state.type)){const e=Qt(this.state.type);return this.next(),super.createIdentifier(r,e)}if(Gt(this.state.type))return this.isContextual(119)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,r,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){const e=this.state.start,t=this.state.startLoc;let r=this.flowParsePrimaryType(),s=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const n=this.startNodeAt(e,t),i=this.eat(18);s=s||i,this.expect(0),!i&&this.match(3)?(n.elementType=r,this.next(),r=this.finishNode(n,"ArrayTypeAnnotation")):(n.objectType=r,n.indexType=this.flowParseType(),this.expect(3),s?(n.optional=i,r=this.finishNode(n,"OptionalIndexedAccessType")):r=this.finishNode(n,"IndexedAccessType"))}return r}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.start,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(41);const t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(41);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(39);const t=this.flowParseIntersectionType();for(e.types=[t];this.eat(39);)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(122===this.state.type&&"_"===this.state.value){const e=this.state.start,t=this.state.startLoc,r=this.parseIdentifier();return this.flowParseGenericType(e,t,r)}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.end,e.typeAnnotation.loc.end),e.expression}flowParseVariance(){let e=null;return this.match(47)&&(e=this.startNode(),"+"===this.state.value?e.kind="plus":e.kind="minus",this.next(),this.finishNode(e,"Variance")),e}parseFunctionBody(e,t,r=!1){return t?this.forwardNoArrowParamsConversionAt(e,()=>super.parseFunctionBody(e,!0,r)):super.parseFunctionBody(e,!1,r)}parseFunctionBodyAndFinish(e,t,r=!1){if(this.match(14)){const t=this.startNode();[t.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),e.returnType=t.typeAnnotation?this.finishNode(t,"TypeAnnotation"):null}super.parseFunctionBodyAndFinish(e,t,r)}parseStatement(e,t){if(this.state.strict&&this.isContextual(119)){if(Wt(this.lookahead().type)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(116)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}const r=super.parseStatement(e,t);return void 0!==this.flowPragma||this.isValidDirective(r)||(this.flowPragma=null),r}parseExpressionStatement(e,t){if("Identifier"===t.type)if("declare"===t.name){if(this.match(74)||Gt(this.state.type)||this.match(62)||this.match(68)||this.match(76))return this.flowParseDeclare(e)}else if(Gt(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)}shouldParseExportDeclaration(){const{type:e}=this.state;return Kt(e)||this.shouldParseEnums()&&116===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return Kt(e)||this.shouldParseEnums()&&116===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(116)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,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 n=this.state.clone(),i=this.state.noArrowAt,o=this.startNodeAt(t,r);let{consequent:a,failed:c}=this.tryParseConditionalConsequent(),[l,p]=this.getArrowLikeExpressions(a);if(c||p.length>0){const e=[...i];if(p.length>0){this.state=n,this.state.noArrowAt=e;for(let t=0;t<p.length;t++)e.push(p[t].start);({consequent:a,failed:c}=this.tryParseConditionalConsequent()),[l,p]=this.getArrowLikeExpressions(a)}c&&l.length>1&&this.raise(n.start,zr.AmbiguousConditionalArrow),c&&1===l.length&&(this.state=n,e.push(l[0].start),this.state.noArrowAt=e,({consequent:a,failed:c}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(a,!0),this.state.noArrowAt=i,this.expect(14),o.test=e,o.consequent=a,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"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 r=[e],s=[];for(;0!==r.length;){const e=r.pop();"ArrowFunctionExpression"===e.type?(e.typeParameters||!e.returnType?this.finishArrowValidation(e):s.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(s.forEach(e=>this.finishArrowValidation(e)),[s,[]]):function(e,t){const r=[],s=[];for(let n=0;n<e.length;n++)(t(e[n],n,e)?r:s).push(e[n]);return[r,s]}(s,e=>e.params.every(e=>this.isAssignable(e,!0)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingComma,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(e,t){let r;return-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?(this.state.noArrowParamsConversionAt.push(this.state.start),r=t(),this.state.noArrowParamsConversionAt.pop()):r=t(),r}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const s=this.startNodeAt(t,r);return s.expression=e,s.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(s,"TypeCastExpression")}return e}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)}parseExport(e){const t=super.parseExport(e);return"ExportNamedDeclaration"!==t.type&&"ExportAllDeclaration"!==t.type||(t.exportKind=t.exportKind||"value"),t}parseExportDeclaration(e){if(this.isContextual(120)){e.exportKind="type";const t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(121)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(119)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(116)){e.exportKind="value";const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(...arguments)||!(!this.isContextual(120)||49!==this.lookahead().type)&&(e.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(e){const t=this.state.start,r=super.maybeParseExportNamespaceSpecifier(e);return r&&"type"===e.exportKind&&this.unexpected(t),r}parseClassId(e,t,r){super.parseClassId(e,t,r),this.match(43)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,r){const s=this.state.start;if(this.isContextual(115)){if(this.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,r),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(s,zr.DeclareClassElement):t.value&&this.raise(t.value.start,zr.DeclareClassFieldInitializer))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){const e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(this.state.pos,At.InvalidIdentifier,t),this.finishToken(122,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);return 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){return 64===e&&64===t}(e,t)?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?44:43,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e,t=!1){return"TypeCastExpression"===e.type?super.toAssignable(this.typeCastToParameter(e),t):super.toAssignable(e,t)}toAssignableList(e,t,r){for(let t=0;t<e.length;t++){const r=e[t];"TypeCastExpression"===(null==r?void 0:r.type)&&(e[t]=this.typeCastToParameter(r))}return super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let s=0;s<e.length;s++){var r;const n=e[s];!n||"TypeCastExpression"!==n.type||null!=(r=n.extra)&&r.parenthesized||!(e.length>1)&&t||this.raise(n.typeAnnotation.start,zr.TypeCastInPattern)}return e}parseArrayLike(e,t,r,s){const n=super.parseArrayLike(e,t,r,s);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(n.elements),n}checkLVal(e,...t){if("TypeCastExpression"!==e.type)return super.checkLVal(e,...t)}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(43)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,s,n,i){if(t.variance&&this.unexpected(t.variance.start),delete t.variance,this.match(43)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,r,s,n,i),t.params&&n){const e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(t.start,zr.ThisParamBannedInConstructor)}else if("MethodDefinition"===t.type&&n&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(t.start,zr.ThisParamBannedInConstructor)}}pushClassPrivateMethod(e,t,r,s){t.variance&&this.unexpected(t.variance.start),delete t.variance,this.match(43)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,s)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(43)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(104)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(43)?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 r=t[0];this.isThisParam(r)&&"get"===e.kind?this.raise(r.start,zr.GetterMayNotHaveThisParam):this.isThisParam(r)&&this.raise(r.start,zr.SetterMayNotHaveThisParam)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,s,n,i,o,a){let c;e.variance&&this.unexpected(e.variance.start),delete e.variance,this.match(43)&&!o&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(e,t,r,s,n,i,o,a),c&&((e.value||e).typeParameters=c)}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(e.start,zr.PatternIsOptional),this.isThisParam(e)&&this.raise(e.start,zr.ThisParamMayNotBeOptional),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(e.start,zr.ThisParamAnnotationRequired),this.match(27)&&this.isThisParam(e)&&this.raise(e.start,zr.ThisParamNoDefault),this.resetEndLocation(e),e}parseMaybeDefault(e,t,r){const s=super.parseMaybeDefault(e,t,r);return"AssignmentPattern"===s.type&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(s.typeAnnotation.start,zr.TypeBeforeInitializer),s}shouldParseDefaultImport(e){return Hr(e)?Gr(this.state.type):super.shouldParseDefaultImport(e)}parseImportSpecifierLocal(e,t,r,s){t.local=Hr(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),this.checkLVal(t.local,s,9),e.specifiers.push(this.finishNode(t,r))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(81)?t="typeof":this.isContextual(120)&&(t="type"),t){const r=this.lookahead(),{type:s}=r;"type"===t&&49===s&&this.unexpected(r.start),(Gr(s)||5===s||49===s)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,r,s){const n=e.imported;let i=null;"Identifier"===n.type&&("type"===n.name?i="type":"typeof"===n.name&&(i="typeof"));let o=!1;if(this.isContextual(87)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(!0);null===i||Wt(this.state.type)?(e.imported=n,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=i,e.local=qr(t))}else{if(null!==i&&Wt(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=i;else{if(t)throw this.raise(e.start,At.ImportBindingIsString,n.value);e.imported=n,e.importKind=null}this.eatContextual(87)?e.local=this.parseIdentifier():(o=!0,e.local=qr(e.imported))}const a=Hr(e);return r&&a&&this.raise(e.start,zr.ImportTypeShorthandOnlyInPureImport),(r||a)&&this.checkReservedType(e.local.name,e.local.start,!0),!o||r||a||this.checkReservedWord(e.local.name,e.start,!0,!0),this.checkLVal(e.local,"import specifier",9),this.finishNode(e,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 72:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(e,t){const r=e.kind;"get"!==r&&"set"!==r&&this.match(43)&&(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 r;let s,n=null;if(this.hasPlugin("jsx")&&(this.match(132)||this.match(43))){if(n=this.state.clone(),s=this.tryParse(()=>super.parseMaybeAssign(e,t),n),!s.error)return s.node;const{context:r}=this.state,i=r[r.length-1];i===Nt.j_oTag?r.length-=2:i===Nt.j_expr&&(r.length-=1)}if(null!=(r=s)&&r.error||this.match(43)){var i,o;let r;n=n||this.state.clone();const a=this.tryParse(s=>{var n;r=this.flowParseTypeParameterDeclaration();const i=this.forwardNoArrowParamsConversionAt(r,()=>{const s=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(s,r),s});null!=(n=i.extra)&&n.parenthesized&&s();const o=this.maybeUnwrapTypeCastExpression(i);return"ArrowFunctionExpression"!==o.type&&s(),o.typeParameters=r,this.resetStartLocationFromNode(o,r),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(r.start,zr.UnexpectedTypeParameterBeforeAsyncArrowFunction),a.node;c=a.node}if(null!=(i=s)&&i.node)return this.state=s.failState,s.node;if(c)return this.state=a.failState,c;if(null!=(o=s)&&o.thrown)throw s.error;if(a.thrown)throw a.error;throw this.raise(r.start,zr.UnexpectedTokenAfterTypeParameter)}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 r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r});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){-1!==this.state.noArrowParamsConversionAt.indexOf(e.start)?e.params=t:super.setArrowFunctionParameters(e,t)}checkParams(e,t,r){if(!r||-1===this.state.noArrowParamsConversionAt.indexOf(e.start)){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(e.params[t].start,zr.ThisParamMustBeFirst);return super.checkParams(...arguments)}}parseParenAndDistinguishExpression(e){return super.parseParenAndDistinguishExpression(e&&-1===this.state.noArrowAt.indexOf(this.state.start))}parseSubscripts(e,t,r,s){if("Identifier"===e.type&&"async"===e.name&&-1!==this.state.noArrowAt.indexOf(t)){this.next();const s=this.startNodeAt(t,r);s.callee=e,s.arguments=this.parseCallExpressionArguments(11,!1),e=this.finishNode(s,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(43)){const n=this.state.clone(),i=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),n);if(!i.error&&!i.aborted)return i.node;const o=this.tryParse(()=>super.parseSubscripts(e,t,r,s),n);if(o.node&&!o.error)return o.node;if(i.node)return this.state=i.failState,i.node;if(o.node)return this.state=o.failState,o.node;throw i.error||o.error}return super.parseSubscripts(e,t,r,s)}parseSubscript(e,t,r,s,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,s)return n.stop=!0,e;this.next();const i=this.startNodeAt(t,r);return i.callee=e,i.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),i.arguments=this.parseCallExpressionArguments(11,!1),i.optional=!0,this.finishCallExpression(i,!0)}if(!s&&this.shouldParseTypes()&&this.match(43)){const s=this.startNodeAt(t,r);s.callee=e;const i=this.tryParse(()=>(s.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),s.arguments=this.parseCallExpressionArguments(11,!1),n.optionalChainMember&&(s.optional=!1),this.finishCallExpression(s,n.optionalChainMember)));if(i.node)return i.error&&(this.state=i.failState),i.node}return super.parseSubscript(e,t,r,s,n)}parseNewArguments(e){let t=null;this.shouldParseTypes()&&this.match(43)&&(t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),e.typeArguments=t,super.parseNewArguments(e)}parseAsyncArrowWithTypeParameters(e,t){const r=this.startNodeAt(e,t);if(this.parseFunctionParams(r),this.parseArrow(r))return this.parseArrowExpression(r,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 r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(this.state.pos,zr.UnterminatedFlowComment),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment())return this.state.hasFlowComment&&this.unexpected(null,zr.NestedFlowComment),this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0);if(!this.state.hasFlowComment)return super.skipBlockComment();{const e=this.input.indexOf("*-/",this.state.pos+=2);if(-1===e)throw this.raise(this.state.pos-2,At.UnterminatedComment);this.state.pos=e+3}}skipFlowComment(){const{pos:e}=this.state;let t=2;for(;[32,9].includes(this.input.charCodeAt(e+t));)t++;const r=this.input.charCodeAt(t+e),s=this.input.charCodeAt(t+e+1);return 58===r&&58===s?t+2:"flow-include"===this.input.slice(t+e,t+e+12)?t+12:58===r&&58!==s&&t}hasFlowCommentCompletion(){if(-1===this.input.indexOf("*/",this.state.pos))throw this.raise(this.state.pos,At.UnterminatedComment)}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,zr.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const s=r[0].toUpperCase()+r.slice(1);this.raise(e,zr.EnumInvalidMemberName,r,s,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,zr.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,zr.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,null===r?zr.EnumInvalidExplicitTypeUnknownSupplied:zr.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:s}){let n=null;switch(r){case"boolean":case"number":case"string":n=zr.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":n=zr.EnumInvalidMemberInitializerSymbolType;break;default:n=zr.EnumInvalidMemberInitializerUnknownType}return this.raise(e,n,t,s,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,zr.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,zr.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 124:{const r=this.parseNumericLiteral(this.state.value);return t()?{type:"number",pos:r.start,value:r}:{type:"invalid",pos:e}}case 123:{const r=this.parseStringLiteral(this.state.value);return t()?{type:"string",pos:r.start,value:r}:{type:"invalid",pos:e}}case 79:case 80:{const r=this.parseBooleanLiteral(this.match(79));return t()?{type:"boolean",pos:r.start,value:r}:{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start;return{id:this.parseIdentifier(!0),init:this.eat(27)?this.flowEnumMemberInit():{type:"none",pos:e}}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:s}=t;null!==s&&s!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set,s={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.flowEnumErrorInvalidMemberName(o.start,{enumName:e,memberName:c}),r.has(c)&&this.flowEnumErrorDuplicateMemberName(o.start,{enumName:e,memberName:c}),r.add(c);const l={enumName:e,explicitType:t,memberName:c};switch(i.id=o,a.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(a.pos,l,"boolean"),i.init=a.value,s.booleanMembers.push(this.finishNode(i,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(a.pos,l,"number"),i.init=a.value,s.numberMembers.push(this.finishNode(i,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(a.pos,l,"string"),i.init=a.value,s.stringMembers.push(this.finishNode(i,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(a.pos,l);case"none":switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(a.pos,l);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(a.pos,l);break;default:s.defaultedMembers.push(this.finishNode(i,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:s,hasUnknownMembers:n}}flowEnumStringMembers(e,t,{enumName:r}){if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(const t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r});return t}for(const e of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(e.start,{enumName:r});return e}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual(95)){if(!Gt(this.state.type))throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null});const{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t}),t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const s=this.flowEnumParseExplicitType({enumName:t});this.expect(5);const{members:n,hasUnknownMembers:i}=this.flowEnumMembers({enumName:t,explicitType:s});switch(e.hasUnknownMembers=i,s){case"boolean":return e.explicitType=!0,e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:t}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=n.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const s=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const i=n.booleanMembers.length,o=n.numberMembers.length,a=n.stringMembers.length,c=n.defaultedMembers.length;if(i||o||a||c){if(i||o){if(!o&&!a&&i>=c){for(const e of n.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name});return e.members=n.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!i&&!a&&o>=c){for(const e of n.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name});return e.members=n.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.flowEnumErrorInconsistentMemberValues(r,{enumName:t}),s()}return e.members=this.flowEnumStringMembers(n.stringMembers,n.defaultedMembers,{enumName:t}),this.expect(8),this.finishNode(e,"EnumStringBody")}return s()}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start}),this.finishNode(e,"EnumDeclaration")}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}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},typescript:e=>class extends e{getScopeHandler(){return rs}tsIsIdentifier(){return Gt(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(49)||this.match(21)||this.match(128)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!Gt(this.state.type))return;const r=this.state.value;if(-1!==e.indexOf(r)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers(e,t,r,s,n){const i=(t,r,s,n)=>{r===s&&e[n]&&this.raise(t,ns.InvalidModifiersOrder,s,n)},o=(t,r,s,n)=>{(e[s]&&r===n||e[n]&&r===s)&&this.raise(t,ns.IncompatibleModifiers,s,n)};for(;;){const a=this.state.start,c=this.tsParseModifier(t.concat(null!=r?r:[]),n);if(!c)break;is(c)?e.accessibility?this.raise(a,ns.DuplicateAccessibilityModifier):(i(a,c,c,"override"),i(a,c,c,"static"),i(a,c,c,"readonly"),e.accessibility=c):(Object.hasOwnProperty.call(e,c)?this.raise(a,ns.DuplicateModifier,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")),e[c]=!0),null!=r&&r.includes(c)&&this.raise(a,s,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(44)}throw new Error("Unreachable")}tsParseList(e,t){const r=[];for(;!this.tsIsListTerminator(e);)r.push(t());return r}tsParseDelimitedList(e,t,r){return function(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}(this.tsParseDelimitedListWorker(e,t,!0,r))}tsParseDelimitedListWorker(e,t,r,s){const n=[];let i=-1;for(;!this.tsIsListTerminator(e);){i=-1;const s=t();if(null==s)return;if(n.push(s),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}i=this.state.lastTokStart}return s&&(s.value=i),n}tsParseBracketedList(e,t,r,s,n){s||(r?this.expect(0):this.expect(43));const i=this.tsParseDelimitedList(e,t,n);return r?this.expect(3):this.expect(44),i}tsParseImportType(){const e=this.startNode();return this.expect(77),this.expect(10),this.match(123)||this.raise(this.state.start,ns.UnsupportedImportTypeArgument),e.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(!0)),this.match(43)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();for(;this.eat(16);){const r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t}tsParseTypeReference(){const e=this.startNode();return e.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.match(43)&&(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(81),this.match(77)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(!0),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsEatThenParseType(75),e.default=this.tsEatThenParseType(27),this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.match(43))return this.tsParseTypeParameters()}tsParseTypeParameters(){const e=this.startNode();this.match(43)||this.match(132)?this.next():this.unexpected();const t={value:-1};return e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0,t),0===e.params.length&&this.raise(e.start,ns.EmptyTypeParameters),-1!==t.value&&this.addExtra(e,"trailingComma",t.value),this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){return 69===this.lookahead().type?(this.next(),this.tsParseTypeReference()):null}tsFillSignature(e,t){const r=19===e;t.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map(e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(e.start,ns.UnsupportedSignatureParameterKind,e.type),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(),!!Gt(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 r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);const r=e;if(this.match(10)||this.match(43)){t&&this.raise(e.start,ns.ReadonlyForMethodSignature);const s=r;if(s.kind&&this.match(43)&&this.raise(this.state.pos,ns.AccesorCannotHaveTypeParameters),this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon(),"get"===s.kind)s.parameters.length>0&&(this.raise(this.state.pos,At.BadGetterArity),this.isThisParam(s.parameters[0])&&this.raise(this.state.pos,ns.AccesorCannotDeclareThisParameter));else if("set"===s.kind){if(1!==s.parameters.length)this.raise(this.state.pos,At.BadSetterArity);else{const e=s.parameters[0];this.isThisParam(e)&&this.raise(this.state.pos,ns.AccesorCannotDeclareThisParameter),"Identifier"===e.type&&e.optional&&this.raise(this.state.pos,ns.SetAccesorCannotHaveOptionalParameter),"RestElement"===e.type&&this.raise(this.state.pos,ns.SetAccesorCannotHaveRestParameter)}s.typeAnnotation&&this.raise(s.typeAnnotation.start,ns.SetAccesorCannotHaveReturnType)}else s.kind="method";return this.finishNode(s,"TSMethodSignature")}{const e=r;t&&(e.readonly=!0);const s=this.tsTryParseTypeAnnotation();return s&&(e.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(43))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(71)){const t=this.startNode();return this.next(),this.match(10)||this.match(43)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],ns.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);return t||(this.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,this.parsePropertyName(e)),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(47)?this.isContextual(112):(this.isContextual(112)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(52))))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(52),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();return this.expect(5),this.match(47)?(e.readonly=this.state.value,this.next(),this.expectContextual(112)):this.eatContextual(112)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(87)?this.tsParseType():null,this.expect(3),this.match(47)?(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,r=null;return e.elementTypes.forEach(e=>{var s;let{type:n}=e;!t||"TSRestType"===n||"TSOptionalType"===n||"TSNamedTupleMember"===n&&e.optional||this.raise(e.start,ns.OptionalTypeBeforeRequired),t=t||"TSNamedTupleMember"===n&&e.optional||"TSOptionalType"===n,"TSRestType"===n&&(n=(e=e.typeAnnotation).type);const i="TSNamedTupleMember"===n;r=null!=(s=r)?s:i,r!==i&&this.raise(e.start,ns.MixedLabeledAndUnlabeledElements)}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state,r=this.eat(21);let s=this.tsParseType();const n=this.eat(17);if(this.eat(14)){const e=this.startNodeAtNode(s);e.optional=n,"TSTypeReference"!==s.type||s.typeParameters||"Identifier"!==s.typeName.type?(this.raise(s.start,ns.InvalidTupleMemberLabel),e.label=s):e.label=s.typeName,e.elementType=this.tsParseType(),s=this.finishNode(e,"TSNamedTupleMember")}else if(n){const e=this.startNodeAtNode(s);e.typeAnnotation=s,s=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=s,s=this.finishNode(r,"TSRestType")}return s}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();return"TSConstructorType"===e&&(r.abstract=!!t,t&&this.next(),this.next()),this.tsFillSignature(19,r),this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 124:case 125:case 123:case 79:case 80:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=this.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(107)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 123:case 124:case 125:case 79:case 80:return this.tsParseLiteralTypeNode();case 47:if("-"===this.state.value){const e=this.startNode(),t=this.lookahead();if(124!==t.type&&125!==t.type)throw this.unexpected();return e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 72:return this.tsParseThisTypeOrThisTypePredicate();case 81:return this.tsParseTypeQuery();case 77: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 22:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(Gt(e)||82===e||78===e){const t=82===e?"TSVoidKeyword":78===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(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}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(e.start,ns.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual(106);const t=this.startNode();return t.name=this.tsParseTypeParameterName(),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){var e;return(e=this.state.type)>=111&&e<=113&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(106)?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const s=this.startNode(),n=this.eat(r),i=[];do{i.push(t())}while(this.eat(r));return 1!==i.length||n?(s.types=i,this.finishNode(s,e)):i[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),41)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),39)}tsIsStartOfFunctionType(){return!!this.match(43)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(Gt(this.state.type)||this.match(72))return this.next(),!0;if(this.match(5)){let e=1;for(this.next();e>0;)this.match(5)?++e:this.match(8)&&--e,this.next();return!0}if(this.match(0)){let e=1;for(this.next();e>0;)this.match(0)?++e:this.match(3)&&--e,this.next();return!0}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(27))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 r=this.startNode(),s=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(s&&this.match(72)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(r.parameterName=e,r.asserts=!0,r.typeAnnotation=null,e=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(e,r),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}const n=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!n)return s?(r.parameterName=this.parseIdentifier(),r.asserts=s,r.typeAnnotation=null,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);const i=this.tsParseTypeAnnotation(!1);return r.parameterName=n,r.typeAnnotation=i,r.asserts=s,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(107)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(100!==this.state.type)return!1;const e=this.state.containsEsc;return this.next(),!(!Gt(this.state.type)&&!this.match(72))&&(e&&this.raise(this.state.lastTokStart,At.InvalidEscapedReservedWord,"asserts"),!0)}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()}),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){ss(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(75))return e;const t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsParseNonConditionalType(),this.expect(17),t.trueType=this.tsParseType(),this.expect(14),t.falseType=this.tsParseType(),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(114)&&71===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(71)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(this.state.start,ns.ReservedTypeAssertion);const e=this.startNode(),t=this.tsTryNextParseConstantContext();return e.typeAnnotation=t||this.tsNextThenParseType(),this.expect(44),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")}tsParseHeritageClause(e){const t=this.state.start,r=this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this));return r.length||this.raise(t,ns.EmptyHeritageClauseType,e),r}tsParseExpressionWithTypeArguments(){const e=this.startNode();return e.expression=this.tsParseEntityName(!1),this.match(43)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){Gt(this.state.type)?(e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript interface declaration",130)):(e.id=null,this.raise(this.state.start,ns.MissingInterfaceName)),e.typeParameters=this.tsTryParseTypeParameters(),this.eat(75)&&(e.extends=this.tsParseHeritageClause("extends"));const t=this.startNode();return t.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),e.body=this.finishNode(t,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(e){return e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript type alias",2),e.typeParameters=this.tsTryParseTypeParameters(),e.typeAnnotation=this.tsInType(()=>{if(this.expect(27),this.isContextual(105)&&16!==this.lookahead().type){const e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")}tsInNoContext(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}}tsEatThenParseType(e){return this.match(e)?this.tsNextThenParseType():void 0}tsExpectThenParseType(e){return this.tsDoThenParseType(()=>this.expect(e))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(e){return this.tsInType(()=>(e(),this.tsParseType()))}tsParseEnumMember(){const e=this.startNode();return e.id=this.match(123)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(27)&&(e.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){return t&&(e.const=!0),e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript enum declaration",t?779:267),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),this.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.checkLVal(e.id,"module or namespace declaration",1024),this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(103)?(e.global=!0,e.id=this.parseIdentifier()):this.match(123)?e.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkLVal(e.id,"import equals declaration",9),this.expect(27);const r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(r.start,ns.ImportAliasHasImportType),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(110)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();if(this.expectContextual(110),this.expect(10),!this.match(123))throw this.unexpected();return e.expression=this.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone(),r=e();return this.state=t,r}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(),r=e();return void 0!==r&&!1!==r?r:void(this.state=t)}tsTryParseDeclare(e){if(this.isLineTerminator())return;let t,r=this.state.type;return this.isContextual(93)&&(r=68,t="let"),this.tsInAmbientContext(()=>{switch(r){case 62:return e.declare=!0,this.parseFunctionStatement(e,!1,!0);case 74:return e.declare=!0,this.parseClass(e,!0,!1);case 69:if(this.match(69)&&this.isLookaheadContextual("enum"))return this.expect(69),this.expectContextual(116),this.tsParseEnumDeclaration(e,!0);case 68:return t=t||this.state.value,this.parseVarStatement(e,t);case 103:return this.tsParseAmbientExternalModuleDeclaration(e);default:if(Gt(r))return this.tsParseDeclaration(e,this.state.value,!0)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)}tsParseExpressionStatement(e,t){switch(t.name){case"declare":{const t=this.tsTryParseDeclare(e);if(t)return t.declare=!0,t;break}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);const r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(74)||Gt(this.state.type)))return this.tsParseAbstractDeclaration(e);break;case"enum":if(r||Gt(this.state.type))return r&&this.next(),this.tsParseEnumDeclaration(e,!1);break;case"interface":if(this.tsCheckLineTerminator(r)&&Gt(this.state.type))return this.tsParseInterfaceDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(123))return this.tsParseAmbientExternalModuleDeclaration(e);if(Gt(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&Gt(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&Gt(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.match(43))return;const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const s=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);return r.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),r});return this.state.maybeInArrowParameters=r,s?this.parseArrowExpression(s,null,!0):void 0}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(43),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),0===e.params.length&&this.raise(e.start,ns.EmptyTypeArguments),this.expect(44),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(e=this.state.type)>=114&&e<=120;var e}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start,s=this.state.startLoc;let n,i=!1,o=!1;if(void 0!==e){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]),n=t.accessibility,o=t.override,i=t.readonly,!1===e&&(n||i||o)&&this.raise(r,ns.UnexpectedParameterModifier)}const a=this.parseMaybeDefault();this.parseAssignableListItemTypes(a);const c=this.parseMaybeDefault(a.start,a.loc.start,a);if(n||i||o){const e=this.startNodeAt(r,s);return t.length&&(e.decorators=t),n&&(e.accessibility=n),i&&(e.readonly=i),o&&(e.override=o),"Identifier"!==c.type&&"AssignmentPattern"!==c.type&&this.raise(e.start,ns.UnsupportedParameterPropertyKind),e.parameter=c,this.finishNode(e,"TSParameterProperty")}return t.length&&(a.decorators=t),c}parseFunctionBodyAndFinish(e,t,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const s="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;s&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,s):"TSDeclareFunction"===s&&this.state.isAmbientContext&&(this.raise(e.start,ns.DeclareFunctionHasImplementation),e.declare)?super.parseFunctionBodyAndFinish(e,s,r):super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){!e.body&&e.id?this.checkLVal(e.id,"function name",1024):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(e.typeAnnotation.start,ns.UnexpectedTypeAnnotation)})}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(...e){const t=super.parseArrayLike(...e);return"ArrayExpression"===t.type&&this.tsCheckForInvalidTypeCasts(t.elements),t}parseSubscript(e,t,r,s,n){if(!this.hasPrecedingLineBreak()&&this.match(33)){this.state.canStartJSXElement=!1,this.next();const s=this.startNodeAt(t,r);return s.expression=e,this.finishNode(s,"TSNonNullExpression")}let i=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(s)return n.stop=!0,e;n.optionalChainMember=i=!0,this.next()}if(this.match(43)){let o;const a=this.tsTryParseAndCatch(()=>{if(!s&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e)return e}const a=this.startNodeAt(t,r);a.callee=e;const c=this.tsParseTypeArguments();if(c){if(i&&!this.match(10)&&(o=this.state.pos,this.unexpected()),!s&&this.eat(10))return a.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(a.arguments),a.typeParameters=c,n.optionalChainMember&&(a.optional=i),this.finishCallExpression(a,n.optionalChainMember);if(this.match(22)){const s=this.parseTaggedTemplateExpression(e,t,r,n);return s.typeParameters=c,s}}this.unexpected()});if(o&&this.unexpected(o,10),a)return a}return super.parseSubscript(e,t,r,s,n)}parseNewArguments(e){if(this.match(43)){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();return this.match(10)||this.unexpected(),e});t&&(e.typeParameters=t)}super.parseNewArguments(e)}parseExprOp(e,t,r,s){if(Zt(52)>s&&!this.hasPrecedingLineBreak()&&this.isContextual(87)){const n=this.startNodeAt(t,r);n.expression=e;const i=this.tsTryNextParseConstantContext();return n.typeAnnotation=i||this.tsNextThenParseType(),this.finishNode(n,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(n,t,r,s)}return super.parseExprOp(e,t,r,s)}checkReservedWord(e,t,r,s){}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",Gt(this.state.type)||this.match(49)||this.match(5)){let t=this.lookahead();if(this.isContextual(120)&&12!==t.type&&91!==t.type&&27!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),Gt(this.state.type)&&27===t.type)return this.tsParseImportEqualsDeclaration(e)}const t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(t.start,ns.TypeImportCannotSpecifyDefaultAndNamed),t}parseExport(e){if(this.match(77))return this.next(),this.isContextual(120)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(27)){const t=e;return t.expression=this.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(87)){const t=e;return this.expectContextual(118),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return this.isContextual(120)&&5===this.lookahead().type?(this.next(),e.exportKind="type"):e.exportKind="value",super.parseExport(e)}isAbstractClass(){return this.isContextual(114)&&74===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0),e}if(this.match(119)){const e=this.startNode();this.next();const t=this.tsParseInterfaceDeclaration(e);if(t)return t}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(69===this.state.type){if(116===this.lookahead().type){const e=this.startNode();return this.next(),this.expectContextual(116),this.tsParseEnumDeclaration(e,!0)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>is(t)?e.accessibility===t:!!e[t])}tsIsStartOfStaticBlocks(){return this.isContextual(98)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){const s=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers(t,s,void 0,void 0,!0);const n=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,s)&&this.raise(this.state.pos,ns.StaticBlockCannotHaveModifier),this.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,!!t.static)};t.declare?this.tsInAmbientContext(n):n()}parseClassMemberWithIsStatic(e,t,r,s){const n=this.tsTryParseIndexSignature(t);if(n)return e.body.push(n),t.abstract&&this.raise(t.start,ns.IndexSignatureHasAbstract),t.accessibility&&this.raise(t.start,ns.IndexSignatureHasAccessibility,t.accessibility),t.declare&&this.raise(t.start,ns.IndexSignatureHasDeclare),void(t.override&&this.raise(t.start,ns.IndexSignatureHasOverride));!this.state.inAbstractClass&&t.abstract&&this.raise(t.start,ns.NonAbstractClassHasAbstractMethod),t.override&&(r.hadSuperClass||this.raise(t.start,ns.OverrideNotInSubClass)),super.parseClassMemberWithIsStatic(e,t,r,s)}parsePostMemberNameModifiers(e){this.eat(17)&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(e.start,ns.ClassMethodHasReadonly),e.declare&&this.match(10)&&this.raise(e.start,ns.ClassMethodHasDeclare)}parseExpressionStatement(e,t){return("Identifier"===t.type?this.tsParseExpressionStatement(e,t):void 0)||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r,s){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,r,s);const n=this.tryParse(()=>super.parseConditional(e,t,r));return n.node?(n.error&&(this.state=n.failState),n.node):(n.error&&super.setOptionalParametersError(s,n.error),e)}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){const s=this.startNodeAt(t,r);return s.expression=e,s.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(s,"TSTypeCastExpression")}return e}parseExportDeclaration(e){const t=this.state.start,r=this.state.startLoc,s=this.eatContextual(115);if(s&&(this.isContextual(115)||!this.shouldParseExportDeclaration()))throw this.raise(this.state.start,ns.ExpectedAmbientAfterExportDeclare);let n;return Gt(this.state.type)&&(n=this.tsTryParseExportDeclaration()),n||(n=super.parseExportDeclaration(e)),n&&("TSInterfaceDeclaration"===n.type||"TSTypeAliasDeclaration"===n.type||s)&&(e.exportKind="type"),n&&s&&(this.resetStartLocation(n,t,r),n.declare=!0),n}parseClassId(e,t,r){if((!t||r)&&this.isContextual(104))return;super.parseClassId(e,t,r,e.declare?1024:139);const s=this.tsTryParseTypeParameters();s&&(e.typeParameters=s)}parseClassPropertyAnnotation(e){!e.optional&&this.eat(33)&&(e.definite=!0);const t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&this.match(27)&&this.raise(this.state.start,ns.DeclareClassFieldHasInitializer),e.abstract&&this.match(27)){const{key:t}=e;this.raise(this.state.start,ns.AbstractPropertyHasInitializer,"Identifier"!==t.type||e.computed?`[${this.input.slice(t.start,t.end)}]`:t.name)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(e.start,ns.PrivateElementHasAbstract),e.accessibility&&this.raise(e.start,ns.PrivateElementHasAccessibility,e.accessibility),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,s,n,i){const o=this.tsTryParseTypeParameters();o&&n&&this.raise(o.start,ns.ConstructorHasTypeParameters),!t.declare||"get"!==t.kind&&"set"!==t.kind||this.raise(t.start,ns.DeclareAccessor,t.kind),o&&(t.typeParameters=o),super.pushClassMethod(e,t,r,s,n,i)}pushClassPrivateMethod(e,t,r,s){const n=this.tsTryParseTypeParameters();n&&(t.typeParameters=n),super.pushClassPrivateMethod(e,t,r,s)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"!==e.type||e.value.body)&&super.declareClassPrivateMethodInScope(e,t)}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&this.match(43)&&(e.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual(104)&&(e.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(e,...t){const r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseObjPropValue(e,...t)}parseFunctionParams(e,t){const r=this.tsTryParseTypeParameters();r&&(e.typeParameters=r),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),"Identifier"===e.id.type&&this.eat(33)&&(e.definite=!0);const r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,s,n,i,o,a;let c,l,p,h;if(this.hasPlugin("jsx")&&(this.match(132)||this.match(43))){if(c=this.state.clone(),l=this.tryParse(()=>super.parseMaybeAssign(...e),c),!l.error)return l.node;const{context:t}=this.state;t[t.length-1]===Nt.j_oTag?t.length-=2:t[t.length-1]===Nt.j_expr&&(t.length-=1)}if(!(null!=(t=l)&&t.error||this.match(43)))return super.parseMaybeAssign(...e);c=c||this.state.clone();const u=this.tryParse(t=>{var r,s;h=this.tsParseTypeParameters();const n=super.parseMaybeAssign(...e);return("ArrowFunctionExpression"!==n.type||null!=(r=n.extra)&&r.parenthesized)&&t(),0!==(null==(s=h)?void 0:s.params.length)&&this.resetStartLocationFromNode(n,h),n.typeParameters=h,n},c);if(!u.error&&!u.aborted)return h&&this.reportReservedArrowTypeParam(h),u.node;if(!l&&(ss(!this.hasPlugin("jsx")),p=this.tryParse(()=>super.parseMaybeAssign(...e),c),!p.error))return p.node;if(null!=(r=l)&&r.node)return this.state=l.failState,l.node;if(u.node)return this.state=u.failState,h&&this.reportReservedArrowTypeParam(h),u.node;if(null!=(s=p)&&s.node)return this.state=p.failState,p.node;if(null!=(n=l)&&n.thrown)throw l.error;if(u.thrown)throw u.error;if(null!=(i=p)&&i.thrown)throw p.error;throw(null==(o=l)?void 0:o.error)||u.error||(null==(a=p)?void 0:a.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(e.start,ns.ReservedArrowTypeParam)}parseMaybeUnary(e){return!this.hasPlugin("jsx")&&this.match(43)?this.tsParseTypeAssertion():super.parseMaybeUnary(e)}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)}parseAssignableListItemTypes(e){this.eat(17)&&("Identifier"===e.type||this.state.isAmbientContext||this.state.inType||this.raise(e.start,ns.PatternIsOptional),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"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return e.expression=this.toAssignable(e.expression,t),e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return e.expression=this.toAssignable(e.expression,t),e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var s;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":return void this.checkLVal(e.parameter,"parameter property",...r);case"TSAsExpression":case"TSTypeAssertion":if(!(r[0]||"parenthesized expression"===t||null!=(s=e.extra)&&s.parenthesized)){this.raise(e.start,At.InvalidLhs,t);break}return void this.checkLVal(e.expression,"parenthesized expression",...r);case"TSNonNullExpression":return void this.checkLVal(e.expression,t,...r);default:return void super.checkLVal(e,t,...r)}}parseBindingAtom(){switch(this.state.type){case 72:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.match(43)){const t=this.tsParseTypeArguments();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(this.state.start,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?this.next():super.checkCommaAfterRest(e)}isClassMethod(){return this.match(43)||super.isClassMethod()}isClassProperty(){return this.match(33)||this.match(14)||super.isClassProperty()}parseMaybeDefault(...e){const t=super.parseMaybeDefault(...e);return"AssignmentPattern"===t.type&&t.typeAnnotation&&t.right.start<t.typeAnnotation.start&&this.raise(t.typeAnnotation.start,ns.TypeAnnotationAfterAssign),t}getTokenFromCode(e){if(this.state.inType){if(62===e)return this.finishOp(44,1);if(60===e)return this.finishOp(43,1)}return super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;43===e?(this.state.pos-=1,this.readToken_lt()):44===e&&(this.state.pos-=1,this.readToken_gt())}toAssignableList(e){for(let t=0;t<e.length;t++){const r=e[t];if(r)switch(r.type){case"TSTypeCastExpression":e[t]=this.typeCastToParameter(r);break;case"TSAsExpression":case"TSTypeAssertion":this.state.maybeInArrowParameters?this.raise(r.start,ns.UnexpectedTypeCastInParameter):e[t]=this.typeCastToParameter(r)}}return super.toAssignableList(...arguments)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.end,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(43)){const t=this.tsTryParseAndCatch(()=>this.tsParseTypeArguments());t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e)[0];return r&&this.isThisParam(r)?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(74))return e.abstract=!0,this.parseClass(e,!0,!1);if(this.isContextual(119)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(e.start,ns.NonClassMethodPropertyHasAbstractModifer),this.next(),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,74)}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){if(this.hasPlugin("estree")?!!t.value.body:!!t.body){const{key:e}=t;this.raise(t.start,ns.AbstractMethodHasImplementation,"Identifier"!==e.type||t.computed?`[${this.input.slice(e.start,e.end)}]`:e.name)}}return t}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,r,s){return!t&&s?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,r,s))}parseImportSpecifier(e,t,r,s){return!t&&s?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,r,s))}parseTypeOnlyImportExportSpecifier(e,t,r){const s=t?"imported":"local",n=t?"local":"exported";let i,o=e[s],a=!1,c=!0;const l=o.start;if(this.isContextual(87)){const e=this.parseIdentifier();if(this.isContextual(87)){const t=this.parseIdentifier();Wt(this.state.type)?(a=!0,o=e,i=this.parseIdentifier(),c=!1):(i=t,c=!1)}else Wt(this.state.type)?(c=!1,i=this.parseIdentifier()):(a=!0,o=e)}else Wt(this.state.type)&&(a=!0,o=this.parseIdentifier());a&&r&&this.raise(l,t?ns.TypeModifierIsUsedInTypeImports:ns.TypeModifierIsUsedInTypeExports),e[s]=o,e[n]=i;e[t?"importKind":"exportKind"]=a?"type":"value",c&&this.eatContextual(87)&&(e[n]=t?this.parseIdentifier():this.parseModuleExportName()),e[n]||(e[n]=qr(e[s])),t&&this.checkLVal(e[n],"import specifier",9)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(48)){const e=this.state.start,t=this.startNode();if(this.next(),Gt(this.state.type)){const e=this.parseIdentifierName(this.state.start),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(134)){const t=this.startNode();return this.next(),this.assertNoSpace("Unexpected space in placeholder."),t.name=super.parseIdentifier(!0),this.assertNoSpace("Unexpected space in placeholder."),this.expect(134),this.finishPlaceholder(t,e)}}finishPlaceholder(e,t){const r=!(!e.expectedNode||"Placeholder"!==e.type);return e.expectedNode=t,r?e:this.finishNode(e,"Placeholder")}getTokenFromCode(e){return 37===e&&37===this.input.charCodeAt(this.state.pos+1)?this.finishOp(134,2):super.getTokenFromCode(...arguments)}parseExprAtom(){return this.parsePlaceholder("Expression")||super.parseExprAtom(...arguments)}parseIdentifier(){return this.parsePlaceholder("Identifier")||super.parseIdentifier(...arguments)}checkReservedWord(e){void 0!==e&&super.checkReservedWord(...arguments)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom(...arguments)}checkLVal(e){"Placeholder"!==e.type&&super.checkLVal(...arguments)}toAssignable(e){return e&&"Placeholder"===e.type&&"Expression"===e.expectedNode?(e.expectedNode="Pattern",e):super.toAssignable(...arguments)}isLet(e){if(super.isLet(e))return!0;if(!this.isContextual(93))return!1;if(e)return!1;return 134===this.lookahead().type}verifyBreakContinue(e){e.label&&"Placeholder"===e.label.type||super.verifyBreakContinue(...arguments)}parseExpressionStatement(e,t){if("Placeholder"!==t.type||t.extra&&t.extra.parenthesized)return super.parseExpressionStatement(...arguments);if(this.match(14)){const r=e;return r.label=this.finishPlaceholder(t,"Identifier"),this.next(),r.body=this.parseStatement("label"),this.finishNode(r,"LabeledStatement")}return this.semicolon(),e.name=t.name,this.finishPlaceholder(e,"Statement")}parseBlock(){return this.parsePlaceholder("BlockStatement")||super.parseBlock(...arguments)}parseFunctionId(){return this.parsePlaceholder("Identifier")||super.parseFunctionId(...arguments)}parseClass(e,t,r){const s=t?"ClassDeclaration":"ClassExpression";this.next(),this.takeDecorators(e);const n=this.state.strict,i=this.parsePlaceholder("Identifier");if(i)if(this.match(75)||this.match(134)||this.match(5))e.id=i;else{if(r||!t)return e.id=null,e.body=this.finishPlaceholder(i,"ClassBody"),this.finishNode(e,s);this.unexpected(null,os.ClassNameIsRequired)}else this.parseClassId(e,t,r);return this.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,n),this.finishNode(e,s)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual(91)&&!this.match(12))return e.specifiers=[],e.source=null,e.declaration=this.finishPlaceholder(t,"Declaration"),this.finishNode(e,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");const r=this.startNode();return r.exported=t,e.specifiers=[this.finishNode(r,"ExportDefaultSpecifier")],super.parseExport(e)}isExportDefaultSpecifier(){if(this.match(59)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(Qt(134),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(...arguments)}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(...arguments);if(e.specifiers=[],!this.isContextual(91)&&!this.match(12))return e.source=this.finishPlaceholder(t,"StringLiteral"),this.semicolon(),this.finishNode(e,"ImportDeclaration");const r=this.startNodeAtNode(t);if(r.local=t,this.finishNode(r,"ImportDefaultSpecifier"),e.specifiers.push(r),this.eat(12)){this.maybeParseStarImportSpecifier(e)||this.parseNamedImportSpecifiers(e)}return this.expectContextual(91),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}}},ds=Object.keys(us),fs={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0};const ms=e=>"ParenthesizedExpression"===e.type?ms(e.expression):e;const gs=new Map([["ArrowFunctionExpression","arrow function"],["AssignmentExpression","assignment"],["ConditionalExpression","conditional"],["YieldExpression","yield"]]);const ys={kind:"loop"},bs={kind:"switch"},vs=/[\uD800-\uDFFF]/u,xs=/in(?:stanceof)?/y;class ws extends class extends class extends class extends class extends class extends class extends class extends class extends class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){return this.plugins.has(e)}getPluginOption(e,t){if(this.hasPlugin(e))return this.plugins.get(e)[t]}}{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state,r=t.length;if(0===r)return;let s=r-1;const n=t[s];n.start===e.end&&(n.leadingNode=e,s--);const{start:i}=e;for(;s>=0;s--){const r=t[s],n=r.end;if(!(n>i)){n===i&&(r.trailingNode=e);break}r.containingNode=e,this.finalizeComment(r),t.splice(s,1)}}finalizeComment(e){const{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&St(e.leadingNode,t),null!==e.trailingNode&&function(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}(e.trailingNode,t);else{const{containingNode:r,start:s}=e;if(44===this.input.charCodeAt(s-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":Pt(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":Pt(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":Pt(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":Pt(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":Pt(r,r.specifiers,e);break;default:Et(r,t)}else Et(r,t)}}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:r}=t;if(0===r)return;const s=t[r-1];s.leadingNode===e&&(s.leadingNode=null)}takeSurroundingComments(e,t,r){const{commentStack:s}=this.state,n=s.length;if(0===n)return;let i=n-1;for(;i>=0;i--){const n=s[i],o=n.end;if(n.start===r)n.leadingNode=e;else if(o===t)n.trailingNode=e;else if(o<t)break}}}{getLocationForPosition(e){let t;return t=e===this.state.start?this.state.startLoc:e===this.state.lastTokStart?this.state.lastTokStartLoc:e===this.state.end?this.state.endLoc:e===this.state.lastTokEnd?this.state.lastTokEndLoc:function(e,t){let r,s=1,n=0;for(mt.lastIndex=0;(r=mt.exec(e))&&r.index<t;)s++,n=mt.lastIndex;return new xt(s,t-n)}(this.input,e),t}raise(e,{code:t,reasonCode:r,template:s},...n){return this.raiseWithData(e,{code:t,reasonCode:r},s,...n)}raiseOverwrite(e,{code:t,template:r},...s){const n=this.getLocationForPosition(e),i=r.replace(/%(\d+)/g,(e,t)=>s[t])+` (${n.line}:${n.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const s=t[r];if(s.pos===e)return Object.assign(s,{message:i});if(s.pos<e)break}}return this._raise({code:t,loc:n,pos:e},i)}raiseWithData(e,t,r,...s){const n=this.getLocationForPosition(e),i=r.replace(/%(\d+)/g,(e,t)=>s[t])+` (${n.line}:${n.column})`;return this._raise(Object.assign({loc:n,pos:e},t),i)}_raise(e,t){const r=new SyntaxError(t);if(Object.assign(r,e),this.options.errorRecovery)return this.isLookahead||this.state.errors.push(r),r;throw r}}{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.state=new Pr,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new _r(this.state)),this.state.lastTokEnd=this.state.end,this.state.lastTokStart=this.state.start,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,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}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 yt.lastIndex=e,yt.test(this.input)?yt.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){const r=this.input.charCodeAt(e);56320==(64512&r)&&(t=65536+((1023&t)<<10)+(1023&r))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach((e,t)=>this.raise(t,e)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){const e=this.curContext();e.preserveSpace||this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(129):e===Nt.template?this.readTmplToken():this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let e;this.isLookahead||(e=this.state.curPosition());const t=this.state.pos,r=this.input.indexOf("*/",t+2);if(-1===r)throw this.raise(t,At.UnterminatedComment);for(this.state.pos=r+2,mt.lastIndex=t+2;mt.test(this.input)&&mt.lastIndex<=r;)++this.state.curLine,this.state.lineStart=mt.lastIndex;if(this.isLookahead)return;const s={type:"CommentBlock",value:this.input.slice(t+2,r),start:t,end:r+2,loc:new wt(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(s),s}skipLineComment(e){const t=this.state.pos;let r;this.isLookahead||(r=this.state.curPosition());let s=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!gt(s)&&++this.state.pos<this.length;)s=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const n=this.state.pos,i={type:"CommentLine",value:this.input.slice(t+e,n),start:t,end:n,loc:new wt(r,this.state.curPosition())};return this.options.tokens&&this.pushToken(i),i}skipSpace(){const e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){const r=this.input.charCodeAt(this.state.pos);switch(r){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),this.options.attachComment&&t.push(e));break}case 47:{const e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(vt(r))++this.state.pos;else if(45!==r||this.inModule){if(60!==r||this.inModule)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),this.options.attachComment&&t.push(e))}}}else{const r=this.state.pos;if(45!==this.input.charCodeAt(r+1)||62!==this.input.charCodeAt(r+2)||!(0===e||this.state.lineStart>e))break e;{const e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}if(t.length>0){const r={start:e,end:this.state.pos,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(r)}}finishToken(e,t){this.state.end=this.state.pos;const r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||(this.state.endLoc=this.state.curPosition(),this.updateContext(r))}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(this.state.pos,At.UnexpectedDigitAfterHash);if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,123===t?At.RecordExpressionHashIncorrectStartSyntaxType:At.TupleExpressionHashIncorrectStartSyntaxType);this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else cr(t)?(++this.state.pos,this.finishToken(128,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(128,this.readWord1())):this.finishOp(25,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(29,2):this.finishOp(50,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;!gt(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);const r=this.input.slice(t+2,this.state.pos);return this.finishToken(26,r),!0}readToken_mult_modulo(e){let t=42===e?49:48,r=1,s=this.input.charCodeAt(this.state.pos+1);42===e&&42===s&&(r++,s=this.input.charCodeAt(this.state.pos+2),t=51),61!==s||this.state.inType||(r++,t=37===e?31:28),this.finishOp(t,r)}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(35,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,At.RecordExpressionBarIncorrectEndSyntaxType);return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,At.TupleExpressionBarIncorrectEndSyntaxType);return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?39:41,1):this.finishOp(28,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(28,3):this.finishOp(124===e?37:38,2)}readToken_caret(){61!==this.input.charCodeAt(this.state.pos+1)||this.state.inType?this.finishOp(40,1):this.finishOp(30,2)}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(28,2):this.finishOp(47,1):this.finishOp(32,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(28,3):void this.finishOp(46,2);61!==t?this.finishOp(43,1):this.finishOp(45,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(28,t+1):void this.finishOp(46,t)}61!==t?this.finishOp(44,1):this.finishOp(45,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?27:33,1);this.finishOp(42,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(28,3):this.finishOp(36,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(this.state.pos,At.TupleExpressionBarIncorrectStartSyntaxType);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(this.state.pos,At.RecordExpressionBarIncorrectStartSyntaxType);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++this.state.pos,void this.finishToken(22);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(34,1);case 64:return++this.state.pos,void this.finishToken(24);case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(cr(e))return void this.readWord(e)}throw this.raise(this.state.pos,At.InvalidOrUnexpectedToken,String.fromCodePoint(e))}finishOp(e,t){const r=this.input.slice(this.state.pos,this.state.pos+t);this.state.pos+=t,this.finishToken(e,r)}readRegexp(){const e=this.state.start+1;let t,r,{pos:s}=this.state;for(;;++s){if(s>=this.length)throw this.raise(e,At.UnterminatedRegExp);const n=this.input.charCodeAt(s);if(gt(n))throw this.raise(e,At.UnterminatedRegExp);if(t)t=!1;else{if(91===n)r=!0;else if(93===n&&r)r=!1;else if(47===n&&!r)break;t=92===n}}const n=this.input.slice(e,s);++s;let i="";for(;s<this.length;){const e=this.codePointAtPos(s),t=String.fromCharCode(e);if(Ar.has(e))i.includes(t)&&this.raise(s+1,At.DuplicateRegExpFlags);else{if(!lr(e)&&92!==e)break;this.raise(s+1,At.MalformedRegExpFlags)}++s,i+=t}this.state.pos=s,this.finishToken(127,{pattern:n,flags:i})}readInt(e,t,r,s=!0){const n=this.state.pos,i=16===e?Cr.hex:Cr.decBinOct,o=16===e?kr.hex:10===e?kr.dec:8===e?kr.oct:kr.bin;let a=!1,c=0;for(let n=0,l=null==t?1/0:t;n<l;++n){const t=this.input.charCodeAt(this.state.pos);let l;if(95!==t){if(l=t>=97?t-97+10:t>=65?t-65+10:Tr(t)?t-48:1/0,l>=e)if(this.options.errorRecovery&&l<=9)l=0,this.raise(this.state.start+n+2,At.InvalidDigit,e);else{if(!r)break;l=0,a=!0}++this.state.pos,c=c*e+l}else{const e=this.input.charCodeAt(this.state.pos-1),t=this.input.charCodeAt(this.state.pos+1);(-1===o.indexOf(t)||i.indexOf(e)>-1||i.indexOf(t)>-1||Number.isNaN(t))&&this.raise(this.state.pos,At.UnexpectedNumericSeparator),s||this.raise(this.state.pos,At.NumericSeparatorInEscapeSequence),++this.state.pos}}return this.state.pos===n||null!=t&&this.state.pos-n!==t||a?null:c}readRadixNumber(e){const t=this.state.pos;let r=!1;this.state.pos+=2;const s=this.readInt(e);null==s&&this.raise(this.state.start+2,At.InvalidDigit,e);const n=this.input.charCodeAt(this.state.pos);if(110===n)++this.state.pos,r=!0;else if(109===n)throw this.raise(t,At.InvalidDecimal);if(cr(this.codePointAtPos(this.state.pos)))throw this.raise(this.state.pos,At.NumberIdentifier);if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(125,e)}else this.finishToken(124,s)}readNumber(e){const t=this.state.pos;let r=!1,s=!1,n=!1,i=!1,o=!1;e||null!==this.readInt(10)||this.raise(t,At.InvalidNumber);const a=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(a){const e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(t,At.StrictOctalLiteral),!this.state.strict){const r=e.indexOf("_");r>0&&this.raise(r+t,At.ZeroDigitNumericSeparator)}o=a&&!/[89]/.test(e)}let c=this.input.charCodeAt(this.state.pos);if(46!==c||o||(++this.state.pos,this.readInt(10),r=!0,c=this.input.charCodeAt(this.state.pos)),69!==c&&101!==c||o||(c=this.input.charCodeAt(++this.state.pos),43!==c&&45!==c||++this.state.pos,null===this.readInt(10)&&this.raise(t,At.InvalidOrMissingExponent),r=!0,i=!0,c=this.input.charCodeAt(this.state.pos)),110===c&&((r||a)&&this.raise(t,At.InvalidBigIntLiteral),++this.state.pos,s=!0),109===c&&(this.expectPlugin("decimal",this.state.pos),(i||a)&&this.raise(t,At.InvalidDecimal),++this.state.pos,n=!0),cr(this.codePointAtPos(this.state.pos)))throw this.raise(this.state.pos,At.NumberIdentifier);const l=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(s)return void this.finishToken(125,l);if(n)return void this.finishToken(126,l);const p=o?parseInt(l,8):parseFloat(l);this.finishToken(124,p)}readCodePoint(e){let t;if(123===this.input.charCodeAt(this.state.pos)){const r=++this.state.pos;if(t=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,e),++this.state.pos,null!==t&&t>1114111){if(!e)return null;this.raise(r,At.InvalidCodePoint)}}else t=this.readHexChar(4,!1,e);return t}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,At.UnterminatedString);const s=this.input.charCodeAt(this.state.pos);if(s===e)break;if(92===s)t+=this.input.slice(r,this.state.pos),t+=this.readEscapedChar(!1),r=this.state.pos;else if(8232===s||8233===s)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(gt(s))throw this.raise(this.state.start,At.UnterminatedString);++this.state.pos}}t+=this.input.slice(r,this.state.pos++),this.finishToken(123,t)}readTmplToken(){let e="",t=this.state.pos,r=!1;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,At.UnterminatedTemplate);const s=this.input.charCodeAt(this.state.pos);if(96===s||36===s&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos===this.state.start&&this.match(20)?36===s?(this.state.pos+=2,void this.finishToken(23)):(++this.state.pos,void this.finishToken(22)):(e+=this.input.slice(t,this.state.pos),void this.finishToken(20,r?null:e));if(92===s){e+=this.input.slice(t,this.state.pos);const s=this.readEscapedChar(!0);null===s?r=!0:e+=s,t=this.state.pos}else if(gt(s)){switch(e+=this.input.slice(t,this.state.pos),++this.state.pos,s){case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(s)}++this.state.curLine,this.state.lineStart=this.state.pos,t=this.state.pos}else++this.state.pos}}recordStrictModeErrors(e,t){this.state.strict&&!this.state.strictErrors.has(e)?this.raise(e,t):this.state.strictErrors.set(e,t)}readEscapedChar(e){const t=!e,r=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,r){case 110:return"\n";case 114:return"\r";case 120:{const e=this.readHexChar(2,!1,t);return null===e?null:String.fromCharCode(e)}case 117:{const e=this.readCodePoint(t);return null===e?null:String.fromCodePoint(e)}case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:this.state.lineStart=this.state.pos,++this.state.curLine;case 8232:case 8233:return"";case 56:case 57:if(e)return null;this.recordStrictModeErrors(this.state.pos-1,At.StrictNumericEscape);default:if(r>=48&&r<=55){const t=this.state.pos-1;let r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(r,8);s>255&&(r=r.slice(0,-1),s=parseInt(r,8)),this.state.pos+=r.length-1;const n=this.input.charCodeAt(this.state.pos);if("0"!==r||56===n||57===n){if(e)return null;this.recordStrictModeErrors(t,At.StrictNumericEscape)}return String.fromCharCode(s)}return String.fromCharCode(r)}}readHexChar(e,t,r){const s=this.state.pos,n=this.readInt(16,e,t,!1);return null===n&&(r?this.raise(s,At.InvalidEscapeSequence):this.state.pos=s-1),n}readWord1(e){this.state.containsEsc=!1;let t="";const r=this.state.pos;let s=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(lr(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(s,this.state.pos);const e=this.state.pos,n=this.state.pos===r?cr:lr;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(this.state.pos,At.MissingUnicodeEscape),s=this.state.pos-1;continue}++this.state.pos;const i=this.readCodePoint(!0);null!==i&&(n(i)||this.raise(e,At.EscapedCharNotAnIdentifier),t+=String.fromCodePoint(i)),s=this.state.pos}}}return t+this.input.slice(s,this.state.pos)}readWord(e){const t=this.readWord1(e),r=Lt.get(t);void 0!==r?this.finishToken(r,Qt(r)):this.finishToken(122,t)}checkKeywordEscapes(){const{type:e}=this.state;Xt(e)&&this.state.containsEsc&&this.raise(this.state.start,At.InvalidEscapedReservedWord,Qt(e))}updateContext(e){const{context:t,type:r}=this.state;switch(r){case 8:t.pop();break;case 5:case 7:case 23:t.push(Nt.brace);break;case 22:t[t.length-1]===Nt.template?t.pop():t.push(Nt.template)}}}{addExtra(e,t,r){if(!e)return;(e.extra=e.extra||{})[t]=r}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(lr(e)||55296==(64512&e))}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){this.eatContextual(e)||this.unexpected(null,t)}canInsertSemicolon(){return this.match(129)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return ft.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return bt.lastIndex=this.state.end,bt.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(this.state.lastTokEnd,At.MissingSemicolon)}expect(e,t){this.eat(e)||this.unexpected(t,e)}assertNoSpace(e="Unexpected space."){this.state.start>this.state.lastTokEnd&&this.raise(this.state.lastTokEnd,{code:Tt.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}unexpected(e,t={code:Tt.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){throw"number"==typeof t&&(t={code:Tt.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${Qt(t)}"`}),this.raise(null!=e?e:this.state.start,t)}expectPlugin(e,t){if(!this.hasPlugin(e))throw this.raiseWithData(null!=t?t:this.state.start,{missingPlugin:[e]},`This experimental syntax requires enabling the parser plugin: '${e}'`);return!0}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e)))throw this.raiseWithData(null!=t?t:this.state.start,{missingPlugin:e},`This experimental syntax requires enabling one of the following parser plugin(s): '${e.join(", ")}'`)}tryParse(e,t=this.state.clone()){const r={node:null};try{const s=e((e=null)=>{throw r.node=e,r});if(this.state.errors.length>t.errors.length){const e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:s,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:s,error:null,thrown:!1,aborted:!1,failState:null}}catch(e){const s=this.state;if(this.state=t,e instanceof SyntaxError)return{node:null,error:e,thrown:!0,aborted:!1,failState:s};if(e===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:s};throw e}}checkExpressionErrors(e,t){if(!e)return!1;const{shorthandAssign:r,doubleProto:s,optionalParameters:n}=e,i=r+s+n>-3;if(!t)return i;i&&(r>=0&&this.unexpected(r),s>=0&&this.raise(s,At.DuplicateProto),n>=0&&this.unexpected(n))}isLiteralPropertyName(){return Yt(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)}isOptionalChain(e){return"OptionalMemberExpression"===e.type||"OptionalCallExpression"===e.type}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 r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const s=this.inModule;this.inModule=e;const n=this.scope,i=this.getScopeHandler();this.scope=new i(this.raise.bind(this),this.inModule);const o=this.prodParam;this.prodParam=new Rr;const a=this.classScope;this.classScope=new Nr(this.raise.bind(this));const c=this.expressionScope;return this.expressionScope=new Mr(this.raise.bind(this)),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=s,this.scope=n,this.prodParam=o,this.classScope=a,this.expressionScope=c}}enterInitialScopes(){let e=0;this.inModule&&(e|=2),this.scope.enter(1),this.prodParam.enter(e)}}{startNode(){return new Br(this,this.state.start,this.state.startLoc)}startNodeAt(e,t){return new Br(this,e,t)}startNodeAtNode(e){return this.startNodeAt(e.start,e.loc.start)}finishNode(e,t){return this.finishNodeAt(e,t,this.state.lastTokEnd,this.state.lastTokEndLoc)}finishNodeAt(e,t,r,s){return e.type=t,e.end=r,e.loc.end=s,this.options.ranges&&(e.range[1]=r),this.options.attachComment&&this.processComment(e),e}resetStartLocation(e,t,r){e.start=t,e.loc.start=r,this.options.ranges&&(e.range[0]=t)}resetEndLocation(e,t=this.state.lastTokEnd,r=this.state.lastTokEndLoc){e.end=t,e.loc.end=r,this.options.ranges&&(e.range[1]=t)}resetStartLocationFromNode(e,t){this.resetStartLocation(e,t.start,t.loc.start)}}{toAssignable(e,t=!1){var r,s;let n=void 0;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(n=ms(e),t?"Identifier"===n.type?this.expressionScope.recordParenthesizedIdentifierError(e.start,At.InvalidParenthesizedAssignment):"MemberExpression"!==n.type&&this.raise(e.start,At.InvalidParenthesizedAssignment):this.raise(e.start,At.InvalidParenthesizedAssignment)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,s=e.properties.length,n=s-1;r<s;r++){var i;const s=e.properties[r],o=r===n;this.toAssignableObjectExpressionProp(s,o,t),o&&"RestElement"===s.type&&null!=(i=e.extra)&&i.trailingComma&&this.raiseRestNotLast(e.extra.trailingComma)}break;case"ObjectProperty":this.toAssignable(e.value,t);break;case"SpreadElement":{this.checkToRestConversion(e),e.type="RestElement";const r=e.argument;this.toAssignable(r,t);break}case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,null==(s=e.extra)?void 0:s.trailingComma,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,At.MissingEqInAssignment),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(n,t)}return e}toAssignableObjectExpressionProp(e,t,r){if("ObjectMethod"===e.type){const t="get"===e.kind||"set"===e.kind?At.PatternHasAccessor:At.PatternHasMethod;this.raise(e.key.start,t)}else"SpreadElement"!==e.type||t?this.toAssignable(e,r):this.raiseRestNotLast(e.start)}toAssignableList(e,t,r){let s=e.length;if(s){const n=e[s-1];if("RestElement"===(null==n?void 0:n.type))--s;else if("SpreadElement"===(null==n?void 0:n.type)){n.type="RestElement";let e=n.argument;this.toAssignable(e,r),e=ms(e),"Identifier"!==e.type&&"MemberExpression"!==e.type&&"ArrayPattern"!==e.type&&"ObjectPattern"!==e.type&&this.unexpected(e.start),t&&this.raiseTrailingCommaAfterRest(t),--s}}for(let t=0;t<s;t++){const s=e[t];s&&(this.toAssignable(s,r),"RestElement"===s.type&&this.raiseRestNotLast(s.start))}return e}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>"ObjectMethod"!==e.type&&(r===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 t of e)"ArrayExpression"===(null==t?void 0:t.type)&&this.toReferencedListDeep(t.elements)}parseSpread(e,t){const r=this.startNode();return this.next(),r.argument=this.parseMaybeAssignAllowIn(e,void 0,t),this.finishNode(r,"SpreadElement")}parseRestBinding(){const e=this.startNode();return this.next(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{const e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,!0),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,r,s){const 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)){n.push(this.parseAssignableListItemTypes(this.parseRestBinding())),this.checkCommaAfterRest(t),this.expect(e);break}{const e=[];for(this.match(24)&&this.hasPlugin("decorators")&&this.raise(this.state.start,At.UnsupportedParameterDecorator);this.match(24);)e.push(this.parseDecorator());n.push(this.parseAssignableListItem(s,e))}}return n}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){const e=this.startNode(),{type:t,start:r,startLoc:s}=this.state;return 21===t?this.parseBindingRestProperty(e):(this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,r,s,!1,!1,!0,!1),e)}parseAssignableListItem(e,t){const r=this.parseMaybeDefault();this.parseAssignableListItemTypes(r);const s=this.parseMaybeDefault(r.start,r.loc.start,r);return t.length&&(r.decorators=t),s}parseAssignableListItemTypes(e){return e}parseMaybeDefault(e,t,r){var s,n,i;if(t=null!=(s=t)?s:this.state.startLoc,e=null!=(n=e)?n:this.state.start,r=null!=(i=r)?i:this.parseBindingAtom(),!this.eat(27))return r;const o=this.startNodeAt(e,t);return o.left=r,o.right=this.parseMaybeAssignAllowIn(),this.finishNode(o,"AssignmentPattern")}checkLVal(e,t,r=64,s,n,i=!1){switch(e.type){case"Identifier":{const{name:t}=e;this.state.strict&&(i?br(t,this.inModule):yr(t))&&this.raise(e.start,64===r?At.StrictEvalArguments:At.StrictEvalArgumentsBinding,t),s&&(s.has(t)?this.raise(e.start,At.ParamDupe):s.add(t)),n&&"let"===t&&this.raise(e.start,At.LetInLexicalBinding),64&r||this.scope.declareName(t,r,e.start);break}case"MemberExpression":64!==r&&this.raise(e.start,At.InvalidPropertyBindingPattern);break;case"ObjectPattern":for(let t of e.properties){if(this.isObjectProperty(t))t=t.value;else if(this.isObjectMethod(t))continue;this.checkLVal(t,"object destructuring pattern",r,s,n)}break;case"ArrayPattern":for(const t of e.elements)t&&this.checkLVal(t,"array destructuring pattern",r,s,n);break;case"AssignmentPattern":this.checkLVal(e.left,"assignment pattern",r,s);break;case"RestElement":this.checkLVal(e.argument,"rest element",r,s);break;case"ParenthesizedExpression":this.checkLVal(e.expression,"parenthesized expression",r,s);break;default:this.raise(e.start,64===r?At.InvalidLhs:At.InvalidLhsBinding,t)}}checkToRestConversion(e){"Identifier"!==e.argument.type&&"MemberExpression"!==e.argument.type&&this.raise(e.argument.start,At.InvalidRestAssignmentPattern)}checkCommaAfterRest(e){this.match(12)&&(this.lookaheadCharCode()===e?this.raiseTrailingCommaAfterRest(this.state.start):this.raiseRestNotLast(this.state.start))}raiseRestNotLast(e){throw this.raise(e,At.ElementAfterRest)}raiseTrailingCommaAfterRest(e){this.raise(e,At.RestTrailingComma)}}{checkProto(e,t,r,s){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;const n=e.key;if("__proto__"===("Identifier"===n.type?n.name:n.value)){if(t)return void this.raise(n.start,At.RecordNoProto);r.used&&(s?-1===s.doubleProto&&(s.doubleProto=n.start):this.raise(n.start,At.DuplicateProto)),r.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();const e=this.parseExpression();return this.match(129)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(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.start,r=this.state.startLoc,s=this.parseMaybeAssign(e);if(this.match(12)){const n=this.startNodeAt(t,r);for(n.expressions=[s];this.eat(12);)n.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(n.expressions),this.finishNode(n,"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,t){var r;e.optionalParameters=null!=(r=null==t?void 0:t.pos)?r:this.state.start}parseMaybeAssign(e,t){const r=this.state.start,s=this.state.startLoc;if(this.isContextual(99)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,r,s)),e}let n;e?n=!1:(e=new Fr,n=!0);const{type:i}=this.state;(10===i||Gt(i))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(e);if(t&&(o=t.call(this,o,r,s)),(a=this.state.type)>=27&&a<=31){const t=this.startNodeAt(r,s),n=this.state.value;return t.operator=n,this.match(27)?(t.left=this.toAssignable(o,!0),e.doubleProto>=r&&(e.doubleProto=-1),e.shorthandAssign>=r&&(e.shorthandAssign=-1)):t.left=o,this.checkLVal(o,"assignment expression"),this.next(),t.right=this.parseMaybeAssign(),this.finishNode(t,"AssignmentExpression")}var a;return n&&this.checkExpressionErrors(e,!0),o}parseMaybeConditional(e){const t=this.state.start,r=this.state.startLoc,s=this.state.potentialArrowAt,n=this.parseExprOps(e);return this.shouldExitDescending(n,s)?n:this.parseConditional(n,t,r,e)}parseConditional(e,t,r,s){if(this.eat(17)){const s=this.startNodeAt(t,r);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(128)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.start,r=this.state.startLoc,s=this.state.potentialArrowAt,n=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(n,s)?n:this.parseExprOp(n,t,r,-1)}parseExprOp(e,t,r,s){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e),{start:r}=e;(s>=Zt(52)||!this.prodParam.hasIn||!this.match(52))&&this.raise(r,At.PrivateInExpectedIn,t),this.classScope.usePrivateName(t,r)}const n=this.state.type;if((i=n)>=35&&i<=53&&(this.prodParam.hasIn||!this.match(52))){let i=Zt(n);if(i>s){if(35===n){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}const o=this.startNodeAt(t,r);o.left=e,o.operator=this.state.value;const a=37===n||38===n,c=36===n;if(c&&(i=Zt(38)),this.next(),35===n&&"minimal"===this.getPluginOption("pipelineOperator","proposal")&&90===this.state.type&&this.prodParam.hasAwait)throw this.raise(this.state.start,At.UnexpectedAwaitAfterPipelineBody);o.right=this.parseExprOpRightExpr(n,i),this.finishNode(o,a||c?"LogicalExpression":"BinaryExpression");const l=this.state.type;if(c&&(37===l||38===l)||a&&36===l)throw this.raise(this.state.start,At.MixingCoalesceWithLogical);return this.parseExprOp(o,t,r,s)}}var i;return e}parseExprOpRightExpr(e,t){const r=this.state.start,s=this.state.startLoc;switch(e){case 35:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(99))throw this.raise(this.state.start,At.PipeBodyIsTighter,this.state.value);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r,s)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start,s=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,s,51===e?t-1:t)}parseHackPipeBody(){var e;const{start:t}=this.state,r=this.parseMaybeAssign();return!gs.has(r.type)||null!=(e=r.extra)&&e.parenthesized||this.raise(t,At.PipeUnparenthesizedBody,gs.get(r.type)),this.topicReferenceWasUsedInCurrentContext()||this.raise(t,At.PipeTopicUnused),r}checkExponentialAfterUnary(e){this.match(51)&&this.raise(e.argument.start,At.UnexpectedTokenUnaryExponentiation)}parseMaybeUnary(e,t){const r=this.state.start,s=this.state.startLoc,n=this.isContextual(90);if(n&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,s);return t||this.checkExponentialAfterUnary(e),e}const i=this.match(32),o=this.startNode();if(a=this.state.type,$t[a]){o.operator=this.state.value,o.prefix=!0,this.match(66)&&this.expectPlugin("throwExpressions");const r=this.match(83);if(this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){const e=o.argument;"Identifier"===e.type?this.raise(o.start,At.StrictDelete):this.hasPropertyAsPrivateName(e)&&this.raise(o.start,At.DeletePrivateField)}if(!i)return t||this.checkExponentialAfterUnary(o),this.finishNode(o,"UnaryExpression")}var a;const c=this.parseUpdate(o,i,e);if(n){const{type:e}=this.state;if((this.hasPlugin("v8intrinsic")?Jt(e):Jt(e)&&!this.match(48))&&!this.isAmbiguousAwait())return this.raiseOverwrite(r,At.AwaitNotInAsyncContext),this.parseAwait(r,s)}return c}parseUpdate(e,t,r){if(t)return this.checkLVal(e.argument,"prefix operation"),this.finishNode(e,"UpdateExpression");const s=this.state.start,n=this.state.startLoc;let i=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return i;for(;32===this.state.type&&!this.canInsertSemicolon();){const e=this.startNodeAt(s,n);e.operator=this.state.value,e.prefix=!1,e.argument=i,this.checkLVal(i,"postfix operation"),this.next(),i=this.finishNode(e,"UpdateExpression")}return i}parseExprSubscripts(e){const t=this.state.start,r=this.state.startLoc,s=this.state.potentialArrowAt,n=this.parseExprAtom(e);return this.shouldExitDescending(n,s)?n:this.parseSubscripts(n,t,r)}parseSubscripts(e,t,r,s){const n={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,s,n),n.maybeAsyncArrow=!1}while(!n.stop);return e}parseSubscript(e,t,r,s,n){if(!s&&this.eat(15))return this.parseBind(e,t,r,s,n);if(this.match(22))return this.parseTaggedTemplateExpression(e,t,r,n);let i=!1;if(this.match(18)){if(s&&40===this.lookaheadCharCode())return n.stop=!0,e;n.optionalChainMember=i=!0,this.next()}if(!s&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,n,i);{const s=this.eat(0);return s||i||this.eat(16)?this.parseMember(e,t,r,n,s,i):(n.stop=!0,e)}}parseMember(e,t,r,s,n,i){const o=this.startNodeAt(t,r);o.object=e,o.computed=n;const a=!n&&this.match(128)&&this.state.value,c=n?this.parseExpression():a?this.parsePrivateName():this.parseIdentifier(!0);return!1!==a&&("Super"===o.object.type&&this.raise(t,At.SuperPrivateField),this.classScope.usePrivateName(a,c.start)),o.property=c,n&&this.expect(3),s.optionalChainMember?(o.optional=i,this.finishNode(o,"OptionalMemberExpression")):this.finishNode(o,"MemberExpression")}parseBind(e,t,r,s,n){const i=this.startNodeAt(t,r);return i.object=e,i.callee=this.parseNoCallExpr(),n.stop=!0,this.parseSubscripts(this.finishNode(i,"BindExpression"),t,r,s)}parseCoverCallAndAsyncArrowHead(e,t,r,s,n){const i=this.state.maybeInArrowParameters;let o=null;this.state.maybeInArrowParameters=!0,this.next();let a=this.startNodeAt(t,r);return a.callee=e,s.maybeAsyncArrow&&(this.expressionScope.enter(new Lr(2)),o=new Fr),s.optionalChainMember&&(a.optional=n),a.arguments=n?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,a,o),this.finishCallExpression(a,s.optionalChainMember),s.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!n?(s.stop=!0,this.expressionScope.validateAsPattern(),this.expressionScope.exit(),a=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),a)):(s.maybeAsyncArrow&&(this.checkExpressionErrors(o,!0),this.expressionScope.exit()),this.toReferencedArguments(a)),this.state.maybeInArrowParameters=i,a}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,s){const n=this.startNodeAt(t,r);return n.tag=e,n.quasi=this.parseTemplate(!0),s.optionalChainMember&&this.raise(t,At.OptionalChainingNoTemplate),this.finishNode(n,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(e.start,At.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument");else for(const t of e.arguments)"SpreadElement"===t.type&&this.raise(t.start,At.ImportCallSpreadArgument);return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,s,n){const i=[];let o=!0;const a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){!t||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(this.state.lastTokStart,At.ImportCallArgumentTrailingComma),s&&this.addExtra(s,"trailingComma",this.state.lastTokStart),this.next();break}i.push(this.parseExprListItem(!1,n,r))}return this.state.inFSharpPipelineDirectBody=a,i}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(r=t.extra)?void 0:r.trailingComma),t.innerComments&&Et(e,t.innerComments),t.callee.trailingComments&&Et(e,t.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)}parseExprAtom(e){let t;const{type:r}=this.state;switch(r){case 73:return this.parseSuper();case 77:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(this.state.lastTokStart,At.UnsupportedImport),this.finishNode(t,"Import"));case 72:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 84:return this.parseDo(this.startNode(),!1);case 50:case 29:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 124:return this.parseNumericLiteral(this.state.value);case 125:return this.parseBigIntLiteral(this.state.value);case 126:return this.parseDecimalLiteral(this.state.value);case 123:return this.parseStringLiteral(this.state.value);case 78:return this.parseNullLiteral();case 79:return this.parseBooleanLiteral(!0);case 80:return this.parseBooleanLiteral(!1);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 62:return this.parseFunctionOrFunctionSent();case 24:this.parseDecorators();case 74:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case 71:return this.parseNewOrNewTarget();case 22: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(e.start,At.UnsupportedBind)}case 128:return this.raise(this.state.start,At.PrivateInExpectedIn,this.state.value),this.parsePrivateName();case 31:return this.parseTopicReferenceThenEqualsSign(48,"%");case 30:return this.parseTopicReferenceThenEqualsSign(40,"^");case 40:case 48:case 25:{const e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);throw this.unexpected()}case 43:{const e=this.input.codePointAt(this.nextTokenStart());if(cr(e)||62===e){this.expectOnePlugin(["jsx","flow","typescript"]);break}throw this.unexpected()}default:if(Gt(r)){if(this.isContextual(117)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();const e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,r=this.parseIdentifier();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){const{type:e}=this.state;if(62===e)return this.resetPreviousNodeTrailingComments(r),this.next(),this.parseFunction(this.startNodeAtNode(r),void 0,!0);if(Gt(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r)):r;if(84===e)return this.resetPreviousNodeTrailingComments(r),this.parseDo(this.startNodeAtNode(r),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){const r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc.column--,this.parseTopicReference(r);throw this.unexpected()}parseTopicReference(e){const t=this.startNode(),r=this.state.start,s=this.state.type;return this.next(),this.finishTopicReference(t,r,e,s)}finishTopicReference(e,t,r,s){if(this.testTopicReferenceConfiguration(r,t,s)){let s;return s="smart"===r?"PipelinePrimaryTopicReference":"TopicReference",this.topicReferenceIsAllowedInCurrentContext()||("smart"===r?this.raise(t,At.PrimaryTopicNotAllowed):this.raise(t,At.PipeTopicUnbound)),this.registerTopicReference(),this.finishNode(e,s)}throw this.raise(t,At.PipeTopicUnconfiguredToken,Qt(s))}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":{const e=this.getPluginOption("pipelineOperator","topicToken");return Qt(r)===e}case"smart":return 25===r;default:throw this.raise(t,At.PipeTopicRequiresHackPipes)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(jr(!0,this.prodParam.hasYield));const t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(this.state.pos,At.LineTerminatorBeforeArrow),this.expect(19),this.parseArrowExpression(e,t,!0),e}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();const r=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=r,this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(e.start,At.UnexpectedSuper):this.raise(e.start,At.SuperNotAllowed),this.match(10)||this.match(0)||this.match(16)||this.raise(e.start,At.UnsupportedSuper),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(this.state.start+1,new xt(this.state.curLine,this.state.start+1-this.state.lineStart)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),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(96)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;const s=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||s)&&this.raise(e.property.start,At.UnsupportedMetaProperty,t.name,r),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(94)&&(this.inModule||this.raise(t.start,Ct.ImportMetaOutsideModule),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(r.start,this.state.end)),r.value=e,this.next(),this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}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.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}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.start,r=this.state.startLoc;let s;this.next(),this.expressionScope.enter(new Lr(1));const n=this.state.maybeInArrowParameters,i=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const o=this.state.start,a=this.state.startLoc,c=[],l=new Fr;let p,h,u=!0;for(;!this.match(11);){if(u)u=!1;else if(this.expect(12,-1===l.optionalParameters?null:l.optionalParameters),this.match(11)){h=this.state.start;break}if(this.match(21)){const e=this.state.start,t=this.state.startLoc;p=this.state.start,c.push(this.parseParenItem(this.parseRestBinding(),e,t)),this.checkCommaAfterRest(41);break}c.push(this.parseMaybeAssignAllowIn(l,this.parseParenItem))}const d=this.state.lastTokEnd,f=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=n,this.state.inFSharpPipelineDirectBody=i;let m=this.startNodeAt(t,r);if(e&&this.shouldParseArrow(c)&&(m=this.parseArrow(m)))return this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(m,c,!1),m;if(this.expressionScope.exit(),c.length||this.unexpected(this.state.lastTokStart),h&&this.unexpected(h),p&&this.unexpected(p),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(c,!0),c.length>1?(s=this.startNodeAt(o,a),s.expressions=c,this.finishNode(s,"SequenceExpression"),this.resetEndLocation(s,d,f)):s=c[0],!this.options.createParenthesizedExpressions)return this.addExtra(s,"parenthesized",!0),this.addExtra(s,"parenStart",t),this.takeSurroundingComments(s,t,this.state.lastTokEnd),s;const g=this.startNodeAt(t,r);return g.expression=s,this.finishNode(g,"ParenthesizedExpression"),g}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();if(this.next(),this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.raise(r.start,At.UnexpectedNewTarget),r}return this.parseNew(e)}parseNew(e){return e.callee=this.parseNoCallExpr(),"Import"===e.callee.type?this.raise(e.callee.start,At.ImportCallNotNewExpression):this.isOptionalChain(e.callee)?this.raise(this.state.lastTokEnd,At.OptionalChainingNoNew):this.eat(18)&&this.raise(this.state.start,At.OptionalChainingNoNew),this.parseNewArguments(e),this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[]}parseTemplateElement(e){const t=this.startNode();return null===this.state.value&&(e||this.raise(this.state.start+1,At.InvalidEscapeSequenceTemplate)),t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value},this.next(),t.tail=this.match(22),this.finishNode(t,"TemplateElement")}parseTemplate(e){const t=this.startNode();this.next(),t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)this.expect(23),t.expressions.push(this.parseTemplateSubstitution()),this.expect(8),t.quasis.push(r=this.parseTemplateElement(e));return this.next(),this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,s){r&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const i=Object.create(null);let 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.addExtra(a,"trailingComma",this.state.lastTokStart);break}let n;t?n=this.parseBindingProperty():(n=this.parsePropertyDefinition(s),this.checkProto(n,r,i,s)),r&&!this.isObjectProperty(n)&&"SpreadElement"!==n.type&&this.raise(n.start,At.InvalidRecordProperty),n.shorthand&&this.addExtra(n,"shorthand",!0),a.properties.push(n)}this.next(),this.state.inFSharpPipelineDirectBody=n;let c="ObjectExpression";return t?c="ObjectPattern":r&&(c="RecordExpression"),this.finishNode(a,c)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(49))}parsePropertyDefinition(e){let t=[];if(this.match(24))for(this.hasPlugin("decorators")&&this.raise(this.state.start,At.UnsupportedPropertyDecorator);this.match(24);)t.push(this.parseDecorator());const r=this.startNode();let s,n,i=!1,o=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(r.decorators=t,t=[]),r.method=!1,e&&(s=this.state.start,n=this.state.startLoc);let a=this.eat(49);this.parsePropertyNamePrefixOperator(r);const c=this.state.containsEsc,l=this.parsePropertyName(r);if(!a&&!c&&this.maybeAsyncOrAccessorProp(r)){const e=l.name;"async"!==e||this.hasPrecedingLineBreak()||(i=!0,this.resetPreviousNodeTrailingComments(l),a=this.eat(49),this.parsePropertyName(r)),"get"!==e&&"set"!==e||(o=!0,this.resetPreviousNodeTrailingComments(l),r.kind=e,this.match(49)&&(a=!0,this.raise(this.state.pos,At.AccessorIsGenerator,e),this.next()),this.parsePropertyName(r))}return this.parseObjPropValue(r,s,n,a,i,!1,o,e),r}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e),s=this.getObjectOrClassMethodParams(e),n=e.start;s.length!==r&&("get"===e.kind?this.raise(n,At.BadGetterArity):this.raise(n,At.BadSetterArity)),"set"===e.kind&&"RestElement"===(null==(t=s[s.length-1])?void 0:t.type)&&this.raise(n,At.BadSetterRestParameter)}parseObjectMethod(e,t,r,s,n){return n?(this.parseMethod(e,t,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(e),e):r||t||this.match(10)?(s&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")):void 0}parseObjectProperty(e,t,r,s,n){return e.shorthand=!1,this.eat(14)?(e.value=s?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(n),this.finishNode(e,"ObjectProperty")):e.computed||"Identifier"!==e.key.type?void 0:(this.checkReservedWord(e.key.name,e.key.start,!0,!1),s?e.value=this.parseMaybeDefault(t,r,qr(e.key)):this.match(27)&&n?(-1===n.shorthandAssign&&(n.shorthandAssign=this.state.start),e.value=this.parseMaybeDefault(t,r,qr(e.key))):e.value=qr(e.key),e.shorthand=!0,this.finishNode(e,"ObjectProperty"))}parseObjPropValue(e,t,r,s,n,i,o,a){const c=this.parseObjectMethod(e,s,n,i,o)||this.parseObjectProperty(e,t,r,i,a);return c||this.unexpected(),c}parsePropertyName(e){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:t,value:r}=this.state;let s;if(Wt(t))s=this.parseIdentifier(!0);else switch(t){case 124:s=this.parseNumericLiteral(r);break;case 123:s=this.parseStringLiteral(r);break;case 125:s=this.parseBigIntLiteral(r);break;case 126:s=this.parseDecimalLiteral(r);break;case 128:{const e=this.state.start+1;this.raise(e,At.UnexpectedPrivateField),s=this.parsePrivateName();break}default:throw this.unexpected()}e.key=s,128!==t&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=!!t}parseMethod(e,t,r,s,n,i,o=!1){this.initFunction(e,r),e.generator=!!t;const a=s;return this.scope.enter(18|(o?64:0)|(n?32:0)),this.prodParam.enter(jr(r,e.generator)),this.parseFunctionParams(e,a),this.parseFunctionBodyAndFinish(e,i,!0),this.prodParam.exit(),this.scope.exit(),e}parseArrayLike(e,t,r,s){r&&this.expectPlugin("recordAndTuple");const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const i=this.startNode();return this.next(),i.elements=this.parseExprList(e,!r,s,i),this.state.inFSharpPipelineDirectBody=n,this.finishNode(i,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,s){this.scope.enter(6);let n=jr(r,!1);!this.match(0)&&this.prodParam.hasIn&&(n|=8),this.prodParam.enter(n),this.initFunction(e,r);const i=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,s)),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,r){e.params=this.toAssignableList(t,r,!1)}parseFunctionBodyAndFinish(e,t,r=!1){this.parseFunctionBody(e,!1,r),this.finishNode(e,t)}parseFunctionBody(e,t,r=!1){const s=t&&!this.match(5);if(this.expressionScope.enter(Dr()),s)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{const s=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);if(n&&i){const t="method"!==e.kind&&"constructor"!==e.kind||!e.key?e.start:e.key.end;this.raise(t,At.IllegalLanguageModeDirective)}const o=!s&&this.state.strict;this.checkParams(e,!(this.state.strict||t||r||i),t,o),this.state.strict&&e.id&&this.checkLVal(e.id,"function name",65,void 0,void 0,o)}),this.prodParam.exit(),this.state.labels=n}this.expressionScope.exit()}isSimpleParamList(e){for(let t=0,r=e.length;t<r;t++)if("Identifier"!==e[t].type)return!1;return!0}checkParams(e,t,r,s=!0){const n=new Set;for(const r of e.params)this.checkLVal(r,"function parameter list",5,t?null:n,void 0,s)}parseExprList(e,t,r,s){const n=[];let i=!0;for(;!this.eat(e);){if(i)i=!1;else if(this.expect(12),this.match(e)){s&&this.addExtra(s,"trailingComma",this.state.lastTokStart),this.next();break}n.push(this.parseExprListItem(t,r))}return n}parseExprListItem(e,t,r){let s;if(this.match(12))e||this.raise(this.state.pos,At.UnexpectedToken,","),s=null;else if(this.match(21)){const e=this.state.start,r=this.state.startLoc;s=this.parseParenItem(this.parseSpread(t),e,r)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(this.state.start,At.UnexpectedArgumentPlaceholder);const e=this.startNode();this.next(),s=this.finishNode(e,"ArgumentPlaceholder")}else s=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return s}parseIdentifier(e){const t=this.startNode(),r=this.parseIdentifierName(t.start,e);return this.createIdentifier(t,r)}createIdentifier(e,t){return e.name=t,e.loc.identifierName=t,this.finishNode(e,"Identifier")}parseIdentifierName(e,t){let r;const{start:s,type:n}=this.state;if(!Wt(n))throw this.unexpected();r=this.state.value;const i=n<=86;return t?i&&this.replaceToken(122):this.checkReservedWord(r,s,i,!1),this.next(),r}checkReservedWord(e,t,r,s){if(e.length>10)return;if(!function(e){return vr.has(e)}(e))return;if("yield"===e){if(this.prodParam.hasYield)return void this.raise(t,At.YieldBindingIdentifier)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(t,At.AwaitBindingIdentifier);if(this.scope.inStaticBlock)return void this.raise(t,At.AwaitBindingIdentifierInStaticBlock);this.expressionScope.recordAsyncArrowParametersError(t,At.AwaitBindingIdentifier)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(t,At.ArgumentsInClass);if(r&&function(e){return ur.has(e)}(e))return void this.raise(t,At.UnexpectedKeyword,e);(this.state.strict?s?br:gr:mr)(e,this.inModule)&&this.raise(t,At.UnexpectedReservedWord,e)}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(e,t){const r=this.startNodeAt(e,t);return this.expressionScope.recordParameterInitializerError(r.start,At.AwaitExpressionFormalParameter),this.eat(49)&&this.raise(r.start,At.ObsoleteAwaitStar),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(r.argument=this.parseMaybeUnary(null,!0)),this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){return this.hasPrecedingLineBreak()||this.match(47)||this.match(10)||this.match(0)||this.match(22)||this.match(127)||this.match(50)||this.hasPlugin("v8intrinsic")&&this.match(48)}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,At.YieldInParameter),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(49),this.state.type){case 13:case 129:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return e.delegate=t,e.argument=r,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){"smart"===this.getPluginOption("pipelineOperator","proposal")&&"SequenceExpression"===e.type&&this.raise(t,At.PipelineHeadSequenceExpression)}checkHackPipeBodyEarlyErrors(e){this.topicReferenceWasUsedInCurrentContext()||this.raise(e,At.PipeTopicUnused)}parseSmartPipelineBodyInStyle(e,t,r){const s=this.startNodeAt(t,r);return this.isSimpleReference(e)?(s.callee=e,this.finishNode(s,"PipelineBareFunction")):(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(this.state.start,At.PipelineBodyNoArrow);this.topicReferenceWasUsedInCurrentContext()||this.raise(e,At.PipelineTopicUnused)}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("smart"!==this.getPluginOption("pipelineOperator","proposal"))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.start,r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const s=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const n=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,r,e);return this.state.inFSharpPipelineDirectBody=s,n}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.eat(5);const t=this.initializeScopes(!0);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,8,"module")}finally{t()}return this.eat(8),this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=function(e){for(let t=0;t<e.length;t++){const r=e[t],{type:s}=r;if(128!==s)"number"==typeof s&&(r.type=er(s));else{const{loc:s,start:n,value:i,end:o}=r,a=n+1,c=new xt(s.start.line,s.start.column+1);e.splice(t,1,new _r({type:er(25),value:"#",start:n,end:a,startLoc:s.start,endLoc:c}),new _r({type:er(122),value:i,start:a,end:o,startLoc:c,endLoc:s.end})),t++}}return e}(this.tokens)),this.finishNode(e,"File")}parseProgram(e,t=129,r=this.options.sourceType){if(e.sourceType=r,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[e]of Array.from(this.scope.undefinedExports)){const t=this.scope.undefinedExports.get(e);this.raise(t,At.ModuleExportUndefined,e)}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e;t.type="Directive",t.value=t.expression,delete t.expression;const r=t.value,s=r.value,n=this.input.slice(r.start,r.end),i=r.value=n.slice(1,-1);return this.addExtra(r,"raw",n),this.addExtra(r,"rawValue",i),this.addExtra(r,"expressionValue",s),r.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(26))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(e){return!!this.isContextual(93)&&this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart(),r=this.codePointAtPos(t);if(92===r||91===r)return!0;if(e)return!1;if(123===r)return!0;if(cr(r)){if(xs.lastIndex=t,xs.test(this.input)){const e=this.codePointAtPos(xs.lastIndex);if(!lr(e)&&92!==e)return!1}return!0}return!1}parseStatement(e,t){return this.match(24)&&this.parseDecorators(!0),this.parseStatementContent(e,t)}parseStatementContent(e,t){let r=this.state.type;const s=this.startNode();let n;switch(this.isLet(e)&&(r=68,n="let"),r){case 54:return this.parseBreakContinueStatement(s,!0);case 57:return this.parseBreakContinueStatement(s,!1);case 58:return this.parseDebuggerStatement(s);case 84:return this.parseDoStatement(s);case 85:return this.parseForStatement(s);case 62:if(46===this.lookaheadCharCode())break;return e&&(this.state.strict?this.raise(this.state.start,At.StrictFunction):"if"!==e&&"label"!==e&&this.raise(this.state.start,At.SloppyFunction)),this.parseFunctionStatement(s,!1,!e);case 74:return e&&this.unexpected(),this.parseClass(s,!0);case 63:return this.parseIfStatement(s);case 64:return this.parseReturnStatement(s);case 65:return this.parseSwitchStatement(s);case 66:return this.parseThrowStatement(s);case 67:return this.parseTryStatement(s);case 69:case 68:return n=n||this.state.value,e&&"var"!==n&&this.raise(this.state.start,At.UnexpectedLexicalDeclaration),this.parseVarStatement(s,n);case 86:return this.parseWhileStatement(s);case 70:return this.parseWithStatement(s);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(s);case 77:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case 76:{let e;return this.options.allowImportExportEverywhere||t||this.raise(this.state.start,At.UnexpectedImportExport),this.next(),77===r?(e=this.parseImport(s),"ImportDeclaration"!==e.type||e.importKind&&"value"!==e.importKind||(this.sawUnambiguousESM=!0)):(e=this.parseExport(s),("ExportNamedDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&("ExportAllDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&"ExportDefaultDeclaration"!==e.type||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(s),e}default:if(this.isAsyncFunction())return e&&this.raise(this.state.start,At.AsyncFunctionInSingleStatementContext),this.next(),this.parseFunctionStatement(s,!0,!e)}const i=this.state.value,o=this.parseExpression();return Gt(r)&&"Identifier"===o.type&&this.eat(14)?this.parseLabeledStatement(s,i,o,e):this.parseExpressionStatement(s,o)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(e.start,Ct.ImportOutsideModule)}takeDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];t.length&&(e.decorators=t,this.resetStartLocationFromNode(e,t[0]),this.state.decoratorStack[this.state.decoratorStack.length-1]=[])}canHaveLeadingDecorator(){return this.match(74)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(24);){const e=this.parseDecorator();t.push(e)}if(this.match(76))e||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,At.DecoratorExportClass);else if(!this.canHaveLeadingDecorator())throw this.raise(this.state.start,At.UnexpectedLeadingDecorator)}parseDecorator(){this.expectOnePlugin(["decorators-legacy","decorators"]);const e=this.startNode();if(this.next(),this.hasPlugin("decorators")){this.state.decoratorStack.push([]);const t=this.state.start,r=this.state.startLoc;let s;if(this.eat(10))s=this.parseExpression(),this.expect(11);else for(s=this.parseIdentifier(!1);this.eat(16);){const e=this.startNodeAt(t,r);e.object=s,e.property=this.parseIdentifier(!0),e.computed=!1,s=this.finishNode(e,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(s),this.state.decoratorStack.pop()}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e){if(this.eat(10)){const t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"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 r;for(r=0;r<this.state.labels.length;++r){const s=this.state.labels[r];if(null==e.label||s.name===e.label.name){if(null!=s.kind&&(t||"loop"===s.kind))break;if(e.label&&t)break}}r===this.state.labels.length&&this.raise(e.start,At.IllegalBreakContinue,t?"break":"continue")}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();return this.expect(11),e}parseDoStatement(e){return this.next(),this.state.labels.push(ys),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("do")),this.state.labels.pop(),this.expect(86),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(ys);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual(90)&&(t=this.state.lastTokStart),this.scope.enter(0),this.expect(10),this.match(13))return t>-1&&this.unexpected(t),this.parseFor(e,null);const r=this.isContextual(93),s=r&&this.isLetKeyword();if(this.match(68)||this.match(69)||s){const r=this.startNode(),n=s?"let":this.state.value;return this.next(),this.parseVar(r,!0,n),this.finishNode(r,"VariableDeclaration"),(this.match(52)||this.isContextual(95))&&1===r.declarations.length?this.parseForIn(e,r,t):(t>-1&&this.unexpected(t),this.parseFor(e,r))}const n=this.isContextual(89),i=new Fr,o=this.parseExpression(!0,i),a=this.isContextual(95);if(a&&(r?this.raise(o.start,At.ForOfLet):-1===t&&n&&"Identifier"===o.type&&this.raise(o.start,At.ForOfAsync)),a||this.match(52)){this.toAssignable(o,!0);const r=a?"for-of statement":"for-in statement";return this.checkLVal(o,r),this.parseForIn(e,o,t)}return this.checkExpressionErrors(i,!0),t>-1&&this.unexpected(t),this.parseFor(e,o)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?0:2),t)}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(60)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(this.state.start,At.IllegalReturn),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 r,s;for(this.expect(5),this.state.labels.push(bs),this.scope.enter(0);!this.match(8);)if(this.match(55)||this.match(59)){const e=this.match(55);r&&this.finishNode(r,"SwitchCase"),t.push(r=this.startNode()),r.consequent=[],this.next(),e?r.test=this.parseExpression():(s&&this.raise(this.state.lastTokStart,At.MultipleDefaultsInSwitch),s=!0,r.test=null),this.expect(14)}else r?r.consequent.push(this.parseStatement(null)):this.unexpected();return this.scope.exit(),r&&this.finishNode(r,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(this.state.lastTokEnd,At.NewlineAfterThrow),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom(),t="Identifier"===e.type;return this.scope.enter(t?8:0),this.checkLVal(e,"catch clause",9),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(56)){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(61)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,At.NoCatchOrFinally),this.finishNode(e,"TryStatement")}parseVarStatement(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(ys),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while")),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(this.state.start,At.StrictWith),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with")),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,s){for(const e of this.state.labels)e.name===t&&this.raise(r.start,At.LabelRedeclaration,t);const n=(i=this.state.type)>=84&&i<=86?"loop":this.match(65)?"switch":null;var i;for(let t=this.state.labels.length-1;t>=0;t--){const r=this.state.labels[t];if(r.statementStart!==e.start)break;r.statementStart=this.state.start,r.kind=n}return this.state.labels.push({name:t,kind:n,statementStart:this.state.start}),e.body=this.parseStatement(s?-1===s.indexOf("label")?s+"label":s:"label"),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,t=!0,r){const s=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(s,e,!1,8,r),t&&this.scope.exit(),this.finishNode(s,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,s,n){const i=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?o:void 0,r,s,n)}parseBlockOrModuleBlockBody(e,t,r,s,n){const i=this.state.strict;let o=!1,a=!1;for(;!this.match(s);){const s=this.parseStatement(null,r);if(t&&!a){if(this.isValidDirective(s)){const e=this.stmtToDirective(s);t.push(e),o||"use strict"!==e.value.value||(o=!0,this.setStrict(!0));continue}a=!0,this.state.strictErrors.clear()}e.push(s)}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("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const s=this.match(52);return this.next(),s?r>-1&&this.unexpected(r):e.await=r>-1,"VariableDeclaration"!==t.type||null==t.declarations[0].init||s&&!this.state.strict&&"var"===t.kind&&"Identifier"===t.declarations[0].id.type?"AssignmentPattern"===t.type&&this.raise(t.start,At.InvalidLhs,"for-loop"):this.raise(t.start,At.ForInOfLoopInitializer,s?"for-in":"for-of"),e.left=t,e.right=s?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,s?"ForInStatement":"ForOfStatement")}parseVar(e,t,r){const s=e.declarations=[],n=this.hasPlugin("typescript");for(e.kind=r;;){const e=this.startNode();if(this.parseVarId(e,r),this.eat(27)?e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():("const"!==r||this.match(52)||this.isContextual(95)?"Identifier"===e.id.type||t&&(this.match(52)||this.isContextual(95))||this.raise(this.state.lastTokEnd,At.DeclarationMissingInitializer,"Complex binding patterns"):n||this.raise(this.state.lastTokEnd,At.DeclarationMissingInitializer,"Const declarations"),e.init=null),s.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"variable declaration","var"===t?5:9,void 0,"var"!==t)}parseFunction(e,t=0,r=!1){const s=1&t,n=2&t,i=!(!s||4&t);this.initFunction(e,r),this.match(49)&&n&&this.raise(this.state.start,At.GeneratorInSingleStatementContext),e.generator=this.eat(49),s&&(e.id=this.parseFunctionId(i));const o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(jr(r,e.generator)),s||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,s?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),s&&!n&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||Gt(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new Or(3)),e.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:9:17,e.id.start)}parseClass(e,t,r){this.next(),this.takeDecorators(e);const s=this.state.strict;return this.state.strict=!0,this.parseClassId(e,t,r),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,s),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(27)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:!1,hadSuperClass:e};let s=[];const n=this.startNode();if(n.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(s.length>0)throw this.raise(this.state.lastTokEnd,At.DecoratorSemicolon);continue}if(this.match(24)){s.push(this.parseDecorator());continue}const e=this.startNode();s.length&&(e.decorators=s,this.resetStartLocationFromNode(e,s[0]),s=[]),this.parseClassMember(n,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(e.start,At.DecoratorConstructor)}}),this.state.strict=t,this.next(),s.length)throw this.raise(this.state.start,At.TrailingDecorator);return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(!0);if(this.isClassMethod()){const s=t;return s.kind="method",s.computed=!1,s.key=r,s.static=!1,this.pushClassMethod(e,s,!1,!1,!1,!1),!0}if(this.isClassProperty()){const s=t;return s.computed=!1,s.key=r,s.static=!1,e.body.push(this.parseClassProperty(s)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){const s=this.isContextual(98);if(s){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,s)}parseClassMemberWithIsStatic(e,t,r,s){const n=t,i=t,o=t,a=t,c=n,l=n;if(t.static=s,this.parsePropertyNamePrefixOperator(t),this.eat(49)){c.kind="method";const t=this.match(128);return this.parseClassElementName(c),t?void this.pushClassPrivateMethod(e,i,!0,!1):(this.isNonstaticConstructor(n)&&this.raise(n.key.start,At.ConstructorIsGenerator),void this.pushClassMethod(e,n,!0,!1,!1,!1))}const p=Gt(this.state.type)&&!this.state.containsEsc,h=this.match(128),u=this.parseClassElementName(t),d=this.state.start;if(this.parsePostMemberNameModifiers(l),this.isClassMethod()){if(c.kind="method",h)return void this.pushClassPrivateMethod(e,i,!1,!1);const s=this.isNonstaticConstructor(n);let o=!1;s&&(n.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(u.start,At.DuplicateConstructor),s&&this.hasPlugin("typescript")&&t.override&&this.raise(u.start,At.OverrideOnConstructor),r.hadConstructor=!0,o=r.hadSuperClass),this.pushClassMethod(e,n,!1,!1,s,o)}else if(this.isClassProperty())h?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o);else if(p&&"async"===u.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(u);const t=this.eat(49);l.optional&&this.unexpected(d),c.kind="method";const r=this.match(128);this.parseClassElementName(c),this.parsePostMemberNameModifiers(l),r?this.pushClassPrivateMethod(e,i,t,!0):(this.isNonstaticConstructor(n)&&this.raise(n.key.start,At.ConstructorIsAsync),this.pushClassMethod(e,n,t,!0,!1,!1))}else if(!p||"get"!==u.name&&"set"!==u.name||this.match(49)&&this.isLineTerminator())this.isLineTerminator()?h?this.pushClassPrivateProperty(e,a):this.pushClassProperty(e,o):this.unexpected();else{this.resetPreviousNodeTrailingComments(u),c.kind=u.name;const t=this.match(128);this.parseClassElementName(n),t?this.pushClassPrivateMethod(e,i,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(n.key.start,At.ConstructorIsAccessor),this.pushClassMethod(e,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}}parseClassElementName(e){const{type:t,value:r,start:s}=this.state;if(122!==t&&123!==t||!e.static||"prototype"!==r||this.raise(s,At.StaticPrototype),128===t){"constructor"===r&&this.raise(s,At.ConstructorClassPrivateField);const t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(208);const s=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=s,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(t.start,At.DecoratorStaticBlock)}pushClassProperty(e,t){t.computed||"constructor"!==t.key.name&&"constructor"!==t.key.value||this.raise(t.key.start,At.ConstructorClassField),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.start)}pushClassMethod(e,t,r,s,n,i){e.body.push(this.parseMethod(t,r,s,n,i,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,s){const n=this.parseMethod(t,r,s,!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.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")}parseInitializer(e){this.scope.enter(80),this.expressionScope.enter(Dr()),this.prodParam.enter(0),e.value=this.eat(27)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r,s=139){Gt(this.state.type)?(e.id=this.parseIdentifier(),t&&this.checkLVal(e.id,"class name",s)):r||!t?e.id=null:this.unexpected(null,At.MissingClassName)}parseClassSuper(e){e.superClass=this.eat(75)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e),r=!t||this.eat(12),s=r&&this.eatExportStar(e),n=s&&this.maybeParseExportNamespaceSpecifier(e),i=r&&(!n||this.eat(12)),o=t||s;if(s&&!n)return t&&this.unexpected(),this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration");const a=this.maybeParseExportNamedSpecifiers(e);if(t&&r&&!s&&!a||n&&i&&!a)throw this.unexpected(null,5);let c;if(o||a?(c=!1,this.parseExportFrom(e,o)):c=this.maybeParseExportDeclaration(e),o||a||c)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,"ExportNamedDeclaration");if(this.eat(59))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(e){return this.eat(49)}maybeParseExportDefaultSpecifier(e){if(this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom");const t=this.startNode();return t.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(t,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(87)){e.specifiers||(e.specifiers=[]);const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);const t="type"===e.exportKind;return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(89))return!1;const e=this.nextTokenStart();return!ft.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode(),t=this.isAsyncFunction();if(this.match(62)||t)return this.next(),t&&this.next(),this.parseFunction(e,5,t);if(this.match(74))return this.parseClass(e,!0,!0);if(this.match(24))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,At.DecoratorBeforeExport),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(69)||this.match(68)||this.isLet())throw this.raise(this.state.start,At.UnsupportedDefaultExport);{const e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){const{type:e}=this.state;if(Gt(e)){if(89===e&&!this.state.containsEsc||93===e)return!1;if((120===e||119===e)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(Gt(e)&&91!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(59))return!1;const t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||Gt(this.state.type)&&r)return!0;if(this.match(59)&&r){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(91)){e.source=this.parseImportSource(),this.checkExport(e);const t=this.maybeParseImportAssertions();t&&(e.assertions=t)}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;if(24===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(!this.getPluginOption("decorators","decoratorsBeforeExport"))return!0;this.unexpected(this.state.start,At.DecoratorBeforeExport)}return 68===e||69===e||62===e||74===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,s){if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var n;const t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!=4||null!=(n=t.extra)&&n.parenthesized||this.raise(t.start,At.ExportDefaultFromAsIdentifier)}}else if(e.specifiers&&e.specifiers.length)for(const t of e.specifiers){const{exported:e}=t,r="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(t,r),!s&&t.local){const{local:e}=t;"Identifier"!==e.type?this.raise(t.start,At.ExportBindingIsString,e.value,r):(this.checkReservedWord(e.name,e.start,!0,!1),this.scope.checkLocalExport(e))}}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type){const t=e.declaration.id;if(!t)throw new Error("Assertion failure");this.checkDuplicateExports(e,t.name)}else if("VariableDeclaration"===e.declaration.type)for(const t of e.declaration.declarations)this.checkDeclaration(t.id);if(this.state.decoratorStack[this.state.decoratorStack.length-1].length)throw this.raise(e.start,At.UnsupportedDecoratorExport)}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)&&this.raise(e.start,"default"===t?At.DuplicateDefaultExport:At.DuplicateExport,t),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;const s=this.isContextual(120),n=this.match(123),i=this.startNode();i.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(i,n,e,s))}return t}parseExportSpecifier(e,t,r,s){return this.eatContextual(87)?e.exported=this.parseModuleExportName():t?e.exported=$r(e.local):e.exported||(e.exported=qr(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(123)){const e=this.parseStringLiteral(this.state.value),t=e.value.match(vs);return t&&this.raise(e.start,At.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16)),e}return this.parseIdentifier(!0)}parseImport(e){if(e.specifiers=[],!this.match(123)){const t=!this.maybeParseDefaultImportSpecifier(e)||this.eat(12),r=t&&this.maybeParseStarImportSpecifier(e);t&&!r&&this.parseNamedImportSpecifiers(e),this.expectContextual(91)}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{const t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(123)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return Gt(this.state.type)}parseImportSpecifierLocal(e,t,r,s){t.local=this.parseIdentifier(),this.checkLVal(t.local,s,9),e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[],t=new Set;do{if(this.match(8))break;const r=this.startNode(),s=this.state.value;if(t.has(s)&&this.raise(this.state.start,At.ModuleAttributesWithDuplicateKeys,s),t.add(s),this.match(123)?r.key=this.parseStringLiteral(s):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(123))throw this.unexpected(this.state.start,At.ModuleAttributeInvalidValue);r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(70)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();const e=[],t=new Set;do{const r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(r.key.start,At.ModuleAttributeDifferentFromType,r.key.name),t.has(r.key.name)&&this.raise(r.key.start,At.ModuleAttributesWithDuplicateKeys,r.key.name),t.add(r.key.name),this.expect(14),!this.match(123))throw this.unexpected(this.state.start,At.ModuleAttributeInvalidValue);r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(88)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);const e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(49)){const t=this.startNode();return this.next(),this.expectContextual(87),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier"),!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(this.state.start,At.DestructureNamedImport);if(this.expect(12),this.eat(8))break}const r=this.startNode(),s=this.match(123),n=this.isContextual(120);r.imported=this.parseModuleExportName();const i=this.parseImportSpecifier(r,s,"type"===e.importKind||"typeof"===e.importKind,n);e.specifiers.push(i)}}parseImportSpecifier(e,t,r,s){if(this.eatContextual(87))e.local=this.parseIdentifier();else{const{imported:r}=e;if(t)throw this.raise(e.start,At.ImportBindingIsString,r.value);this.checkReservedWord(r.name,e.start,!0,!0),e.local||(e.local=qr(r))}return this.checkLVal(e.local,"import specifier",9),this.finishNode(e,"ImportSpecifier")}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}{constructor(e,t){super(e=function(e){const t={};for(const r of Object.keys(fs))t[r]=e&&null!=e[r]?e[r]:fs[r];return t}(e),t),this.options=e,this.initializeScopes(),this.plugins=function(e){const t=new Map;for(const r of e){const[e,s]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,s||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return wr}parse(){this.enterInitialScopes();const e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}}!function(e){const t={};for(const r of Object.keys(e))t[r]=er(e[r])}(Ht);function Ss(e,t){let r=ws;return null!=e&&e.plugins&&(!function(e){if(as(e,"decorators")){if(as(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=cs(e,"decorators","decoratorsBeforeExport");if(null==t)throw new Error("The 'decorators' plugin requires a 'decoratorsBeforeExport' option, whose value must be a boolean. If you are migrating from Babylon/Babel 6 or want to use the old decorators proposal, you should use the 'decorators-legacy' plugin instead of 'decorators'.");if("boolean"!=typeof t)throw new Error("'decoratorsBeforeExport' must be a boolean.")}if(as(e,"flow")&&as(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(as(e,"placeholders")&&as(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(as(e,"pipelineOperator")){const t=cs(e,"pipelineOperator","proposal");if(!ls.includes(t)){const e=ls.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const r=as(e,"recordAndTuple")&&"hash"===cs(e,"recordAndTuple","syntaxType");if("hack"===t){if(as(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(as(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const t=cs(e,"pipelineOperator","topicToken");if(!ps.includes(t)){const e=ps.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&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(as(e,"moduleAttributes")){if(as(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");if("may-2020"!==cs(e,"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(as(e,"recordAndTuple")&&!hs.includes(cs(e,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+hs.map(e=>`'${e}'`).join(", "));if(as(e,"asyncDoExpressions")&&!as(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}(e.plugins),r=function(e){const t=ds.filter(t=>as(e,t)),r=t.join("/");let s=Es[r];if(!s){s=ws;for(const e of t)s=us[e](s);Es[r]=s}return s}(e.plugins)),new r(e,t)}const Es={};var Ps=function(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return Ss(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const r=Ss(t,e),s=r.parse();if(r.sawUnambiguousESM)return s;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",Ss(t,e).parse()}catch(e){}else s.program.sourceType="script";return s}catch(r){try{return t.sourceType="script",Ss(t,e).parse()}catch(e){}throw r}},Ts=function(e,t){const r=Ss(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()};const As=e=>4===e.type&&e.isStatic,Cs=(e,t)=>e===t||e===Z(t);function ks(e){return Cs(e,"Teleport")?le:Cs(e,"Suspense")?pe:Cs(e,"KeepAlive")?he:Cs(e,"BaseTransition")?ue:void 0}const _s=/^\d|[^\$\w]/,Is=e=>!_s.test(e),Ns=/[A-Za-z_$\xA0-\uFFFF]/,Os=/[\.\?\w$\xA0-\uFFFF]/,Ls=/\s+[.[]\s*|\s*[.[]\s+/g,Ms=(e,t)=>{try{let r=Ts(e,{plugins:t.expressionPlugins});return"TSAsExpression"!==r.type&&"TSTypeAssertion"!==r.type||(r=r.expression),"MemberExpression"===r.type||"OptionalMemberExpression"===r.type||"Identifier"===r.type}catch(e){return!1}},Ds=Ms;function Rs(e,t,r){const s={source:e.source.slice(t,t+r),start:js(e.start,e.source,t),end:e.end};return null!=r&&(s.end=js(e.start,e.source,t+r)),s}function js(e,t,r=t.length){return Fs(M({},e),t,r)}function Fs(e,t,r=t.length){let s=0,n=-1;for(let e=0;e<r;e++)10===t.charCodeAt(e)&&(s++,n=e);return e.offset+=r,e.line+=s,e.column=-1===n?e.column+r:r-n,e}function Bs(e,t){if(!e)throw new Error(t||"unexpected compiler condition")}function Us(e,t,r=!1){for(let s=0;s<e.props.length;s++){const n=e.props[s];if(7===n.type&&(r||n.exp)&&(q(t)?n.name===t:t.test(n.name)))return n}}function qs(e,t,r=!1,s=!1){for(let n=0;n<e.props.length;n++){const i=e.props[n];if(6===i.type){if(r)continue;if(i.name===t&&(i.value||s))return i}else if("bind"===i.name&&(i.exp||s)&&$s(i.arg,t))return i}}function $s(e,t){return!(!e||!As(e)||e.content!==t)}function Vs(e){return e.props.some(e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic))}function zs(e){return 5===e.type||2===e.type}function Hs(e){return 7===e.type&&"slot"===e.name}function Gs(e){return 1===e.type&&3===e.tagType}function Ws(e){return 1===e.type&&2===e.tagType}function Ys(e,t){return e||t?ge:ye}function Js(e,t){return e||t?fe:me}const Ks=new Set([Le,Me]);function Xs(e,t,r){let s,n,i=13===e.type?e.props:e.arguments[2],o=[];if(i&&!q(i)&&14===i.type){const e=function e(t,r=[]){if(t&&!q(t)&&14===t.type){const s=t.callee;if(!q(s)&&Ks.has(s))return e(t.arguments[0],r.concat(t))}return[t,r]}(i);i=e[0],o=e[1],n=o[o.length-1]}if(null==i||q(i))s=Ze([t]);else if(14===i.type){const e=i.arguments[0];q(e)||15!==e.type?i.callee===De?s=nt(r.helper(Ie),[Ze([t]),i]):i.arguments.unshift(Ze([t])):Qs(t,e)||e.properties.unshift(t),!s&&(s=i)}else 15===i.type?(Qs(t,i)||i.properties.unshift(t),s=i):(s=nt(r.helper(Ie),[Ze([t]),i]),n&&n.callee===Me&&(n=o[o.length-2]));13===e.type?n?n.arguments[0]=s:e.props=s:n?n.arguments[0]=s:e.arguments[2]=s}function Qs(e,t){let r=!1;if(4===e.key.type){const s=e.key.content;r=t.properties.some(e=>4===e.key.type&&e.key.content===s)}return r}function Zs(e,t){return`_${t}_${e.replace(/[^\w]/g,(t,r)=>"-"===t?"_":e.charCodeAt(r).toString())}`}function en(e,t){if(!e||0===Object.keys(t).length)return!1;switch(e.type){case 1:for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&(en(s.arg,t)||en(s.exp,t)))return!0}return e.children.some(e=>en(e,t));case 11:return!!en(e.source,t)||e.children.some(e=>en(e,t));case 9:return e.branches.some(e=>en(e,t));case 10:return!!en(e.condition,t)||e.children.some(e=>en(e,t));case 4:return!e.isStatic&&Is(e.content)&&!!t[e.content];case 8:return e.children.some(e=>V(e)&&en(e,t));case 5:case 12:return en(e.content,t);case 2:case 3:default:return!1}}function tn(e){return 14===e.type&&e.callee===He?e.arguments[1].returns:e}function rn(e,{helper:t,removeHelper:r,inSSR:s}){e.isBlock||(e.isBlock=!0,r(Ys(s,e.isComponent)),t(de),t(Js(s,e.isComponent)))}const sn={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_PROP:{message:".prop modifier for v-bind has been removed and no longer necessary. Vue 3 will automatically set a binding as DOM property when appropriate."},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_FILTER:{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 nn(e,t){const r=t.options?t.options.compatConfig:t.compatConfig,s=r&&r[e];return"MODE"===e?s||3:s}function on(e,t,r,...s){const n=function(e,t){const r=nn("MODE",t),s=nn(e,t);return 3===r?!0===s:!1!==s}(e,t);return n&&an(e,t,r,...s),n}function an(e,t,r,...s){if("suppress-warning"===nn(e,t))return;const{message:n,link:i}=sn[e],o=`(deprecation ${e}) ${"function"==typeof n?n(...s):n}${i?"\n Details: "+i:""}`,a=new SyntaxError(o);a.code=e,r&&(a.loc=r),t.onWarn(a)}const cn=/&(gt|lt|amp|apos|quot);/g,ln={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},pn={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:N,isPreTag:N,isCustomElement:N,decodeEntities:e=>e.replace(cn,(e,t)=>ln[t]),onError:ne,onWarn:ie,comments:!0};function hn(e,t={}){const r=function(e,t){const r=M({},pn);let s;for(s in t)r[s]=void 0===t[s]?pn[s]:t[s];return{options:r,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:r.onWarn}}(e,t),s=Tn(r);return Ke(un(r,0,[]),An(r,s))}function un(e,t,r){const s=Cn(r),n=s?s.ns:0,i=[];for(;!Ln(e,t,r);){const o=e.source;let a=void 0;if(0===t||1===t)if(!e.inVPre&&kn(o,e.options.delimiters[0]))a=Sn(e,t);else if(0===t&&"<"===o[0])if(1===o.length)On(e,5,1);else if("!"===o[1])kn(o,"\x3c!--")?a=mn(e):kn(o,"<!DOCTYPE")?a=gn(e):kn(o,"<![CDATA[")?0!==n?a=fn(e,r):(On(e,1),a=gn(e)):(On(e,11),a=gn(e));else if("/"===o[1])if(2===o.length)On(e,5,2);else{if(">"===o[2]){On(e,14,2),_n(e,3);continue}if(/[a-z]/i.test(o[2])){On(e,23),vn(e,1,s);continue}On(e,12,2),a=gn(e)}else/[a-z]/i.test(o[1])?a=yn(e,r):"?"===o[1]?(On(e,21,1),a=gn(e)):On(e,12,1);if(a||(a=En(e,t)),j(a))for(let e=0;e<a.length;e++)dn(i,a[e]);else dn(i,a)}let o=!1;if(2!==t&&1!==t){const t="preserve"!==e.options.whitespace;for(let r=0;r<i.length;r++){const s=i[r];if(2===s.type)if(e.inPre)s.content=s.content.replace(/\r\n/g,"\n");else if(/[^\t\r\n\f ]/.test(s.content))t&&(s.content=s.content.replace(/[\t\r\n\f ]+/g," "));else{const e=i[r-1],n=i[r+1];!e||!n||t&&(3===e.type&&3===n.type||3===e.type&&1===n.type||1===e.type&&3===n.type||1===e.type&&1===n.type&&/[\r\n]/.test(s.content))?(o=!0,i[r]=null):s.content=" "}else 3!==s.type||e.options.comments||(o=!0,i[r]=null)}if(e.inPre&&s&&e.options.isPreTag(s.tag)){const e=i[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return o?i.filter(Boolean):i}function dn(e,t){if(2===t.type){const r=Cn(e);if(r&&2===r.type&&r.loc.end.offset===t.loc.start.offset)return r.content+=t.content,r.loc.end=t.loc.end,void(r.loc.source+=t.loc.source)}e.push(t)}function fn(e,t){_n(e,9);const r=un(e,3,t);return 0===e.source.length?On(e,6):_n(e,3),r}function mn(e){const t=Tn(e);let r;const s=/--(\!)?>/.exec(e.source);if(s){s.index<=3&&On(e,0),s[1]&&On(e,10),r=e.source.slice(4,s.index);const t=e.source.slice(0,s.index);let n=1,i=0;for(;-1!==(i=t.indexOf("\x3c!--",n));)_n(e,i-n+1),i+4<t.length&&On(e,16),n=i+1;_n(e,s.index+s[0].length-n+1)}else r=e.source.slice(4),_n(e,e.source.length),On(e,7);return{type:3,content:r,loc:An(e,t)}}function gn(e){const t=Tn(e),r="?"===e.source[1]?1:2;let s;const n=e.source.indexOf(">");return-1===n?(s=e.source.slice(r),_n(e,e.source.length)):(s=e.source.slice(r,n),_n(e,n+1)),{type:3,content:s,loc:An(e,t)}}function yn(e,t){const r=e.inPre,s=e.inVPre,n=Cn(t),i=vn(e,0,n),o=e.inPre&&!r,a=e.inVPre&&!s;if(i.isSelfClosing||e.options.isVoidTag(i.tag))return o&&(e.inPre=!1),a&&(e.inVPre=!1),i;t.push(i);const c=e.options.getTextMode(i,n),l=un(e,c,t);if(t.pop(),i.children=l,Mn(e.source,i.tag))vn(e,1,n);else if(On(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){const t=l[0];t&&kn(t.loc.source,"\x3c!--")&&On(e,8)}return i.loc=An(e,i.loc.start),o&&(e.inPre=!1),a&&(e.inVPre=!1),i}const bn=s("if,else,else-if,for,slot");function vn(e,t,r){const s=Tn(e),n=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),i=n[1],o=e.options.getNamespace(i,r);_n(e,n[0].length),In(e);const a=Tn(e),c=e.source;e.options.isPreTag(i)&&(e.inPre=!0);let l=xn(e,t);0===t&&!e.inVPre&&l.some(e=>7===e.type&&"pre"===e.name)&&(e.inVPre=!0,M(e,a),e.source=c,l=xn(e,t).filter(e=>"v-pre"!==e.name));let p=!1;if(0===e.source.length?On(e,9):(p=kn(e.source,"/>"),1===t&&p&&On(e,4),_n(e,p?2:1)),1===t)return;let h=0;return e.inVPre||("slot"===i?h=2:"template"===i?l.some(e=>7===e.type&&bn(e.name))&&(h=3):function(e,t,r){const s=r.options;if(s.isCustomElement(e))return!1;if("component"===e||/^[A-Z]/.test(e)||ks(e)||s.isBuiltInComponent&&s.isBuiltInComponent(e)||s.isNativeTag&&!s.isNativeTag(e))return!0;for(let e=0;e<t.length;e++){const r=t[e];if(6===r.type){if("is"===r.name&&r.value&&r.value.content.startsWith("vue:"))return!0}else{if("is"===r.name)return!0;"bind"===r.name&&$s(r.arg,"is")}}}(i,l,e)&&(h=1)),{type:1,ns:o,tag:i,tagType:h,props:l,isSelfClosing:p,children:[],loc:An(e,s),codegenNode:void 0}}function xn(e,t){const r=[],s=new Set;for(;e.source.length>0&&!kn(e.source,">")&&!kn(e.source,"/>");){if(kn(e.source,"/")){On(e,22),_n(e,1),In(e);continue}1===t&&On(e,3);const n=wn(e,s);6===n.type&&n.value&&"class"===n.name&&(n.value.content=n.value.content.replace(/\s+/g," ").trim()),0===t&&r.push(n),/^[^\t\r\n\f />]/.test(e.source)&&On(e,15),In(e)}return r}function wn(e,t){const r=Tn(e),s=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(s)&&On(e,2),t.add(s),"="===s[0]&&On(e,19);{const t=/["'<]/g;let r;for(;r=t.exec(s);)On(e,17,r.index)}_n(e,s.length);let n=void 0;/^[\t\r\n\f ]*=/.test(e.source)&&(In(e),_n(e,1),In(e),n=function(e){const t=Tn(e);let r;const s=e.source[0],n='"'===s||"'"===s;if(n){_n(e,1);const t=e.source.indexOf(s);-1===t?r=Pn(e,e.source.length,4):(r=Pn(e,t,4),_n(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const s=/["'<=`]/g;let n;for(;n=s.exec(t[0]);)On(e,18,n.index);r=Pn(e,t[0].length,4)}return{content:r,isQuoted:n,loc:An(e,t)}}(e),n||On(e,13));const i=An(e,r);if(!e.inVPre&&/^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(s)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(s);let o,a=kn(s,"."),c=t[1]||(a||kn(s,":")?"bind":kn(s,"@")?"on":"slot");if(t[2]){const n="slot"===c,i=s.lastIndexOf(t[2]),a=An(e,Nn(e,r,i),Nn(e,r,i+t[2].length+(n&&t[3]||"").length));let l=t[2],p=!0;l.startsWith("[")?(p=!1,l.endsWith("]")?l=l.slice(1,l.length-1):(On(e,27),l=l.slice(1))):n&&(l+=t[3]||""),o={type:4,content:l,isStatic:p,constType:p?3:0,loc:a}}if(n&&n.isQuoted){const e=n.loc;e.start.offset++,e.start.column++,e.end=js(e.start,n.content),e.source=e.source.slice(1,-1)}const l=t[3]?t[3].slice(1).split("."):[];return a&&l.push("prop"),{type:7,name:c,exp:n&&{type:4,content:n.content,isStatic:!1,constType:0,loc:n.loc},arg:o,modifiers:l,loc:i}}return!e.inVPre&&kn(s,"v-")&&On(e,26),{type:6,name:s,value:n&&{type:2,content:n.content,loc:n.loc},loc:i}}function Sn(e,t){const[r,s]=e.options.delimiters,n=e.source.indexOf(s,r.length);if(-1===n)return void On(e,25);const i=Tn(e);_n(e,r.length);const o=Tn(e),a=Tn(e),c=n-r.length,l=e.source.slice(0,c),p=Pn(e,c,t),h=p.trim(),u=p.indexOf(h);u>0&&Fs(o,l,u);return Fs(a,l,c-(p.length-h.length-u)),_n(e,s.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:h,loc:An(e,o,a)},loc:An(e,i)}}function En(e,t){const r=3===t?["]]>"]:["<",e.options.delimiters[0]];let s=e.source.length;for(let t=0;t<r.length;t++){const n=e.source.indexOf(r[t],1);-1!==n&&s>n&&(s=n)}const n=Tn(e);return{type:2,content:Pn(e,s,t),loc:An(e,n)}}function Pn(e,t,r){const s=e.source.slice(0,t);return _n(e,t),2!==r&&3!==r&&s.includes("&")?e.options.decodeEntities(s,4===r):s}function Tn(e){const{column:t,line:r,offset:s}=e;return{column:t,line:r,offset:s}}function An(e,t,r){return{start:t,end:r=r||Tn(e),source:e.originalSource.slice(t.offset,r.offset)}}function Cn(e){return e[e.length-1]}function kn(e,t){return e.startsWith(t)}function _n(e,t){const{source:r}=e;Fs(e,r,t),e.source=r.slice(t)}function In(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&_n(e,t[0].length)}function Nn(e,t,r){return js(t,e.originalSource.slice(t.offset,r),r)}function On(e,t,r,s=Tn(e)){r&&(s.offset+=r,s.column+=r),e.options.onError(oe(t,{start:s,end:s,source:""}))}function Ln(e,t,r){const s=e.source;switch(t){case 0:if(kn(s,"</"))for(let e=r.length-1;e>=0;--e)if(Mn(s,r[e].tag))return!0;break;case 1:case 2:{const e=Cn(r);if(e&&Mn(s,e.tag))return!0;break}case 3:if(kn(s,"]]>"))return!0}return!s}function Mn(e,t){return kn(e,"</")&&e.slice(2,2+t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function Dn(e,t){!function e(t,r,s=!1){const{children:n}=t,i=n.length;let o=0;for(let t=0;t<n.length;t++){const i=n[t];if(1===i.type&&0===i.tagType){const e=s?0:jn(i,r);if(e>0){if(e>=2){i.codegenNode.patchFlag="-1 /* HOISTED */",i.codegenNode=r.hoist(i.codegenNode),o++;continue}}else{const e=i.codegenNode;if(13===e.type){const t=$n(e);if((!t||512===t||1===t)&&Un(i,r)>=2){const t=qn(i);t&&(e.props=r.hoist(t))}e.dynamicProps&&(e.dynamicProps=r.hoist(e.dynamicProps))}}}if(1===i.type){const t=1===i.tagType;t&&r.scopes.vSlot++,e(i,r),t&&r.scopes.vSlot--}else if(11===i.type)e(i,r,1===i.children.length);else if(9===i.type)for(let t=0;t<i.branches.length;t++)e(i.branches[t],r,1===i.branches[t].children.length)}o&&r.transformHoist&&r.transformHoist(n,r,t);o&&o===i&&1===t.type&&0===t.tagType&&t.codegenNode&&13===t.codegenNode.type&&j(t.codegenNode.children)&&(t.codegenNode.children=r.hoist(Qe(t.codegenNode.children)))}(e,t,Rn(e,e.children[0]))}function Rn(e,t){const{children:r}=e;return 1===r.length&&1===t.type&&!Ws(t)}function jn(e,t){const{constantCache:r}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const s=r.get(e);if(void 0!==s)return s;const n=e.codegenNode;if(13!==n.type)return 0;if(n.isBlock&&"svg"!==e.tag&&"foreignObject"!==e.tag)return 0;if($n(n))return r.set(e,0),0;{let s=3;const i=Un(e,t);if(0===i)return r.set(e,0),0;i<s&&(s=i);for(let n=0;n<e.children.length;n++){const i=jn(e.children[n],t);if(0===i)return r.set(e,0),0;i<s&&(s=i)}if(s>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=jn(i.exp,t);if(0===n)return r.set(e,0),0;n<s&&(s=n)}}if(n.isBlock){for(let t=0;t<e.props.length;t++){if(7===e.props[t].type)return r.set(e,0),0}t.removeHelper(de),t.removeHelper(Js(t.inSSR,n.isComponent)),n.isBlock=!1,t.helper(Ys(t.inSSR,n.isComponent))}return r.set(e,s),s}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return jn(e.content,t);case 4:return e.constType;case 8:let i=3;for(let r=0;r<e.children.length;r++){const s=e.children[r];if(q(s)||$(s))continue;const n=jn(s,t);if(0===n)return 0;n<i&&(i=n)}return i;default:return 0}}const Fn=new Set([Ne,Oe,Le,Me]);function Bn(e,t){if(14===e.type&&!q(e.callee)&&Fn.has(e.callee)){const r=e.arguments[0];if(4===r.type)return jn(r,t);if(14===r.type)return Bn(r,t)}return 0}function Un(e,t){let r=3;const s=qn(e);if(s&&15===s.type){const{properties:e}=s;for(let s=0;s<e.length;s++){const{key:n,value:i}=e[s],o=jn(n,t);if(0===o)return o;let a;if(o<r&&(r=o),a=4===i.type?jn(i,t):14===i.type?Bn(i,t):0,0===a)return a;a<r&&(r=a)}}return r}function qn(e){const t=e.codegenNode;if(13===t.type)return t.props}function $n(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Vn(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:s=!1,cacheHandlers:n=!1,nodeTransforms:i=[],directiveTransforms:o={},transformHoist:a=null,isBuiltInComponent:c=I,isCustomElement:l=I,expressionPlugins:p=[],scopeId:h=null,slotted:u=!0,ssr:d=!1,inSSR:f=!1,ssrCssVars:m="",bindingMetadata:g=_,inline:y=!1,isTS:b=!1,onError:v=ne,onWarn:x=ie,compatConfig:w}){const S=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),E={selfName:S&&ee(X(S[1])),prefixIdentifiers:r,hoistStatic:s,cacheHandlers:n,nodeTransforms:i,directiveTransforms:o,transformHoist:a,isBuiltInComponent:c,isCustomElement:l,expressionPlugins:p,scopeId:h,slotted:u,ssr:d,inSSR:f,ssrCssVars:m,bindingMetadata:g,inline:y,isTS:b,onError:v,onWarn:x,compatConfig:w,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(e){const t=E.helpers.get(e)||0;return E.helpers.set(e,t+1),e},removeHelper(e){const t=E.helpers.get(e);if(t){const r=t-1;r?E.helpers.set(e,r):E.helpers.delete(e)}},helperString:e=>"_"+We[E.helper(e)],replaceNode(e){if(!E.currentNode)throw new Error("Node being replaced is already removed.");if(!E.parent)throw new Error("Cannot replace root node.");E.parent.children[E.childIndex]=E.currentNode=e},removeNode(e){if(!E.parent)throw new Error("Cannot remove root node.");const t=E.parent.children,r=e?t.indexOf(e):E.currentNode?E.childIndex:-1;if(r<0)throw new Error("node being removed is not a child of current parent");e&&e!==E.currentNode?E.childIndex>r&&(E.childIndex--,E.onNodeRemoved()):(E.currentNode=null,E.onNodeRemoved()),E.parent.children.splice(r,1)},onNodeRemoved:()=>{},addIdentifiers(e){q(e)?P(e):e.identifiers?e.identifiers.forEach(P):4===e.type&&P(e.content)},removeIdentifiers(e){q(e)?T(e):e.identifiers?e.identifiers.forEach(T):4===e.type&&T(e.content)},hoist(e){q(e)&&(e=tt(e)),E.hoists.push(e);const t=tt("_hoisted_"+E.hoists.length,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>at(E.cached++,e,t)};function P(e){const{identifiers:t}=E;void 0===t[e]&&(t[e]=0),t[e]++}function T(e){E.identifiers[e]--}return E}function zn(e,t){const r=Vn(e,t);Hn(e,r),t.hoistStatic&&Dn(e,r),t.ssr||function(e,t){const{helper:r}=t,{children:s}=e;if(1===s.length){const r=s[0];if(Rn(e,r)&&r.codegenNode){const s=r.codegenNode;13===s.type&&rn(s,t),e.codegenNode=s}else e.codegenNode=r}else if(s.length>1){let i=64,o=n[64];1===s.filter(e=>3!==e.type).length&&(i|=2048,o+=", "+n[2048]),e.codegenNode=Xe(t,r(ce),void 0,e.children,i+` /* ${o} */`,void 0,void 0,!0,void 0,!1)}}(e,r),e.helpers=[...r.helpers.keys()],e.components=[...r.components],e.directives=[...r.directives],e.imports=r.imports,e.hoists=r.hoists,e.temps=r.temps,e.cached=r.cached}function Hn(e,t){t.currentNode=e;const{nodeTransforms:r}=t,s=[];for(let n=0;n<r.length;n++){const i=r[n](e,t);if(i&&(j(i)?s.push(...i):s.push(i)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(be);break;case 5:t.ssr||t.helper(_e);break;case 9:for(let r=0;r<e.branches.length;r++)Hn(e.branches[r],t);break;case 10:case 11:case 1:case 0:!function(e,t){let r=0;const s=()=>{r--};for(;r<e.children.length;r++){const n=e.children[r];q(n)||(t.parent=e,t.childIndex=r,t.onNodeRemoved=s,Hn(n,t))}}(e,t)}t.currentNode=e;let n=s.length;for(;n--;)s[n]()}function Gn(e,t){const r=q(e)?t=>t===e:t=>e.test(t);return(e,s)=>{if(1===e.type){const{props:n}=e;if(3===e.tagType&&n.some(Hs))return;const i=[];for(let o=0;o<n.length;o++){const a=n[o];if(7===a.type&&r(a.name)){n.splice(o,1),o--;const r=t(e,a,s);r&&i.push(r)}}return i}}}var Wn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Yn=function(e){if(0<=e&&e<Wn.length)return Wn[e];throw new TypeError("Must be between 0 and 63: "+e)},Jn=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};var Kn=function(e){var t,r="",s=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&s,(s>>>=5)>0&&(t|=32),r+=Yn(t)}while(s>0);return r},Xn=function(e,t,r){var s,n,i,o,a=e.length,c=0,l=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(n=Jn(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));s=!!(32&n),c+=(n&=31)<<l,l+=5}while(s);r.value=(o=(i=c)>>1,1==(1&i)?-o:o),r.rest=t};function Qn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Zn(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})})),t}function ei(e){var t={exports:{}};return e(t,t.exports),t.exports}var ti=ei((function(e,t){t.getArg=function(e,t,r){if(t in e)return e[t];if(3===arguments.length)return r;throw new Error('"'+t+'" is a required argument.')};var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function n(e){var t=e.match(r);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(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 o(e){var r=e,s=n(e);if(s){if(!s.path)return e;r=s.path}for(var o,a=t.isAbsolute(r),c=r.split(/\/+/),l=0,p=c.length-1;p>=0;p--)"."===(o=c[p])?c.splice(p,1):".."===o?l++:l>0&&(""===o?(c.splice(p+1,l),l=0):(c.splice(p,2),l--));return""===(r=c.join("/"))&&(r=a?"/":"."),s?(s.path=r,i(s)):r}function a(e,t){""===e&&(e="."),""===t&&(t=".");var r=n(t),a=n(e);if(a&&(e=a.path||"/"),r&&!r.scheme)return a&&(r.scheme=a.scheme),i(r);if(r||t.match(s))return t;if(a&&!a.host&&!a.path)return a.host=t,i(a);var c="/"===t.charAt(0)?t:o(e.replace(/\/+$/,"")+"/"+t);return a?(a.path=c,i(a)):c}t.urlParse=n,t.urlGenerate=i,t.normalize=o,t.join=a,t.isAbsolute=function(e){return"/"===e.charAt(0)||r.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var s=e.lastIndexOf("/");if(s<0)return t;if((e=e.slice(0,s)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var c=!("__proto__"in Object.create(null));function l(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 r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function h(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=c?l:function(e){return p(e)?"$"+e:e},t.fromSetString=c?l:function(e){return p(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,r){var s=h(e.source,t.source);return 0!==s||0!==(s=e.originalLine-t.originalLine)||0!==(s=e.originalColumn-t.originalColumn)||r||0!==(s=e.generatedColumn-t.generatedColumn)||0!==(s=e.generatedLine-t.generatedLine)?s:h(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,r){var s=e.generatedLine-t.generatedLine;return 0!==s||0!==(s=e.generatedColumn-t.generatedColumn)||r||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)},t.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||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)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,r){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),r){var s=n(r);if(!s)throw new Error("sourceMapURL could not be parsed");if(s.path){var c=s.path.lastIndexOf("/");c>=0&&(s.path=s.path.substring(0,c+1))}t=a(i(s),t)}return o(t)}})),ri=Object.prototype.hasOwnProperty,si="undefined"!=typeof Map;function ni(){this._array=[],this._set=si?new Map:Object.create(null)}ni.fromArray=function(e,t){for(var r=new ni,s=0,n=e.length;s<n;s++)r.add(e[s],t);return r},ni.prototype.size=function(){return si?this._set.size:Object.getOwnPropertyNames(this._set).length},ni.prototype.add=function(e,t){var r=si?e:ti.toSetString(e),s=si?this.has(e):ri.call(this._set,r),n=this._array.length;s&&!t||this._array.push(e),s||(si?this._set.set(e,n):this._set[r]=n)},ni.prototype.has=function(e){if(si)return this._set.has(e);var t=ti.toSetString(e);return ri.call(this._set,t)},ni.prototype.indexOf=function(e){if(si){var t=this._set.get(e);if(t>=0)return t}else{var r=ti.toSetString(e);if(ri.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},ni.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},ni.prototype.toArray=function(){return this._array.slice()};var ii={ArraySet:ni};function oi(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}oi.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},oi.prototype.add=function(e){var t,r,s,n,i,o;t=this._last,r=e,s=t.generatedLine,n=r.generatedLine,i=t.generatedColumn,o=r.generatedColumn,n>s||n==s&&o>=i||ti.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},oi.prototype.toArray=function(){return this._sorted||(this._array.sort(ti.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};var ai=ii.ArraySet,ci={MappingList:oi}.MappingList;function li(e){e||(e={}),this._file=ti.getArg(e,"file",null),this._sourceRoot=ti.getArg(e,"sourceRoot",null),this._skipValidation=ti.getArg(e,"skipValidation",!1),this._sources=new ai,this._names=new ai,this._mappings=new ci,this._sourcesContents=null}li.prototype._version=3,li.fromSourceMap=function(e){var t=e.sourceRoot,r=new li({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var s={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(s.source=e.source,null!=t&&(s.source=ti.relative(t,s.source)),s.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(s.name=e.name)),r.addMapping(s)})),e.sources.forEach((function(s){var n=s;null!==t&&(n=ti.relative(t,s)),r._sources.has(n)||r._sources.add(n);var i=e.sourceContentFor(s);null!=i&&r.setSourceContent(s,i)})),r},li.prototype.addMapping=function(e){var t=ti.getArg(e,"generated"),r=ti.getArg(e,"original",null),s=ti.getArg(e,"source",null),n=ti.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,s,n),null!=s&&(s=String(s),this._sources.has(s)||this._sources.add(s)),null!=n&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:s,name:n})},li.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=ti.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[ti.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[ti.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},li.prototype.applySourceMap=function(e,t,r){var s=t;if(null==t){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.');s=e.file}var n=this._sourceRoot;null!=n&&(s=ti.relative(n,s));var i=new ai,o=new ai;this._mappings.unsortedForEach((function(t){if(t.source===s&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=ti.join(r,t.source)),null!=n&&(t.source=ti.relative(n,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var c=t.source;null==c||i.has(c)||i.add(c);var l=t.name;null==l||o.has(l)||o.add(l)}),this),this._sources=i,this._names=o,e.sources.forEach((function(t){var s=e.sourceContentFor(t);null!=s&&(null!=r&&(t=ti.join(r,t)),null!=n&&(t=ti.relative(n,t)),this.setSourceContent(t,s))}),this)},li.prototype._validateMapping=function(e,t,r,s){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||r||s)&&!(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&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:s}))},li.prototype._serializeMappings=function(){for(var e,t,r,s,n=0,i=1,o=0,a=0,c=0,l=0,p="",h=this._mappings.toArray(),u=0,d=h.length;u<d;u++){if(e="",(t=h[u]).generatedLine!==i)for(n=0;t.generatedLine!==i;)e+=";",i++;else if(u>0){if(!ti.compareByGeneratedPositionsInflated(t,h[u-1]))continue;e+=","}e+=Kn(t.generatedColumn-n),n=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=Kn(s-l),l=s,e+=Kn(t.originalLine-1-a),a=t.originalLine-1,e+=Kn(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=Kn(r-c),c=r)),p+=e}return p},li.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=ti.relative(t,e));var r=ti.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},li.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},li.prototype.toString=function(){return JSON.stringify(this.toJSON())};var pi={SourceMapGenerator:li},hi=ei((function(e,t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,s,n){if(0===r.length)return-1;var i=function e(r,s,n,i,o,a){var c=Math.floor((s-r)/2)+r,l=o(n,i[c],!0);return 0===l?c:l>0?s-c>1?e(c,s,n,i,o,a):a==t.LEAST_UPPER_BOUND?s<i.length?s:-1:c:c-r>1?e(r,c,n,i,o,a):a==t.LEAST_UPPER_BOUND?c:r<0?-1:r}(-1,r.length,e,r,s,n||t.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===s(r[i],r[i-1],!0);)--i;return i}}));function ui(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}function di(e,t,r,s){if(r<s){var n=r-1;ui(e,(c=r,l=s,Math.round(c+Math.random()*(l-c))),s);for(var i=e[s],o=r;o<s;o++)t(e[o],i)<=0&&ui(e,n+=1,o);ui(e,n+1,o);var a=n+1;di(e,t,r,a-1),di(e,t,a+1,s)}var c,l}var fi=ii.ArraySet,mi=function(e,t){di(e,t,0,e.length-1)};function gi(e,t){var r=e;return"string"==typeof e&&(r=ti.parseSourceMapInput(e)),null!=r.sections?new wi(r,t):new bi(r,t)}gi.fromSourceMap=function(e,t){return bi.fromSourceMap(e,t)},gi.prototype._version=3,gi.prototype.__generatedMappings=null,Object.defineProperty(gi.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),gi.prototype.__originalMappings=null,Object.defineProperty(gi.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),gi.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},gi.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},gi.GENERATED_ORDER=1,gi.ORIGINAL_ORDER=2,gi.GREATEST_LOWER_BOUND=1,gi.LEAST_UPPER_BOUND=2,gi.prototype.eachMapping=function(e,t,r){var s,n=t||null;switch(r||gi.GENERATED_ORDER){case gi.GENERATED_ORDER:s=this._generatedMappings;break;case gi.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;s.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=ti.computeSourceURL(i,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,n)},gi.prototype.allGeneratedPositionsFor=function(e){var t=ti.getArg(e,"line"),r={source:ti.getArg(e,"source"),originalLine:t,originalColumn:ti.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var s=[],n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",ti.compareByOriginalPositions,hi.LEAST_UPPER_BOUND);if(n>=0){var i=this._originalMappings[n];if(void 0===e.column)for(var o=i.originalLine;i&&i.originalLine===o;)s.push({line:ti.getArg(i,"generatedLine",null),column:ti.getArg(i,"generatedColumn",null),lastColumn:ti.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n];else for(var a=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==a;)s.push({line:ti.getArg(i,"generatedLine",null),column:ti.getArg(i,"generatedColumn",null),lastColumn:ti.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n]}return s};var yi=gi;function bi(e,t){var r=e;"string"==typeof e&&(r=ti.parseSourceMapInput(e));var s=ti.getArg(r,"version"),n=ti.getArg(r,"sources"),i=ti.getArg(r,"names",[]),o=ti.getArg(r,"sourceRoot",null),a=ti.getArg(r,"sourcesContent",null),c=ti.getArg(r,"mappings"),l=ti.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);o&&(o=ti.normalize(o)),n=n.map(String).map(ti.normalize).map((function(e){return o&&ti.isAbsolute(o)&&ti.isAbsolute(e)?ti.relative(o,e):e})),this._names=fi.fromArray(i.map(String),!0),this._sources=fi.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map((function(e){return ti.computeSourceURL(o,e,t)})),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=t,this.file=l}function vi(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}bi.prototype=Object.create(gi.prototype),bi.prototype.consumer=gi,bi.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=ti.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},bi.fromSourceMap=function(e,t){var r=Object.create(bi.prototype),s=r._names=fi.fromArray(e._names.toArray(),!0),n=r._sources=fi.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map((function(e){return ti.computeSourceURL(r.sourceRoot,e,t)}));for(var i=e._mappings.toArray().slice(),o=r.__generatedMappings=[],a=r.__originalMappings=[],c=0,l=i.length;c<l;c++){var p=i[c],h=new vi;h.generatedLine=p.generatedLine,h.generatedColumn=p.generatedColumn,p.source&&(h.source=n.indexOf(p.source),h.originalLine=p.originalLine,h.originalColumn=p.originalColumn,p.name&&(h.name=s.indexOf(p.name)),a.push(h)),o.push(h)}return mi(r.__originalMappings,ti.compareByOriginalPositions),r},bi.prototype._version=3,Object.defineProperty(bi.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),bi.prototype._parseMappings=function(e,t){for(var r,s,n,i,o,a=1,c=0,l=0,p=0,h=0,u=0,d=e.length,f=0,m={},g={},y=[],b=[];f<d;)if(";"===e.charAt(f))a++,f++,c=0;else if(","===e.charAt(f))f++;else{for((r=new vi).generatedLine=a,i=f;i<d&&!this._charIsMappingSeparator(e,i);i++);if(n=m[s=e.slice(f,i)])f+=s.length;else{for(n=[];f<i;)Xn(e,f,g),o=g.value,f=g.rest,n.push(o);if(2===n.length)throw new Error("Found a source, but no line and column");if(3===n.length)throw new Error("Found a source and line, but no column");m[s]=n}r.generatedColumn=c+n[0],c=r.generatedColumn,n.length>1&&(r.source=h+n[1],h+=n[1],r.originalLine=l+n[2],l=r.originalLine,r.originalLine+=1,r.originalColumn=p+n[3],p=r.originalColumn,n.length>4&&(r.name=u+n[4],u+=n[4])),b.push(r),"number"==typeof r.originalLine&&y.push(r)}mi(b,ti.compareByGeneratedPositionsDeflated),this.__generatedMappings=b,mi(y,ti.compareByOriginalPositions),this.__originalMappings=y},bi.prototype._findMapping=function(e,t,r,s,n,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return hi.search(e,t,n,i)},bi.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},bi.prototype.originalPositionFor=function(e){var t={generatedLine:ti.getArg(e,"line"),generatedColumn:ti.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",ti.compareByGeneratedPositionsDeflated,ti.getArg(e,"bias",gi.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var n=ti.getArg(s,"source",null);null!==n&&(n=this._sources.at(n),n=ti.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var i=ti.getArg(s,"name",null);return null!==i&&(i=this._names.at(i)),{source:n,line:ti.getArg(s,"originalLine",null),column:ti.getArg(s,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},bi.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},bi.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var s,n=e;if(null!=this.sourceRoot&&(n=ti.relative(this.sourceRoot,n)),null!=this.sourceRoot&&(s=ti.urlParse(this.sourceRoot))){var i=n.replace(/^file:\/\//,"");if("file"==s.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!s.path||"/"==s.path)&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(t)return null;throw new Error('"'+n+'" is not in the SourceMap.')},bi.prototype.generatedPositionFor=function(e){var t=ti.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:ti.getArg(e,"line"),originalColumn:ti.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",ti.compareByOriginalPositions,ti.getArg(e,"bias",gi.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===r.source)return{line:ti.getArg(n,"generatedLine",null),column:ti.getArg(n,"generatedColumn",null),lastColumn:ti.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};var xi=bi;function wi(e,t){var r=e;"string"==typeof e&&(r=ti.parseSourceMapInput(e));var s=ti.getArg(r,"version"),n=ti.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new fi,this._names=new fi;var i={line:-1,column:0};this._sections=n.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=ti.getArg(e,"offset"),s=ti.getArg(r,"line"),n=ti.getArg(r,"column");if(s<i.line||s===i.line&&n<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=r,{generatedOffset:{generatedLine:s+1,generatedColumn:n+1},consumer:new gi(ti.getArg(e,"map"),t)}}))}wi.prototype=Object.create(gi.prototype),wi.prototype.constructor=gi,wi.prototype._version=3,Object.defineProperty(wi.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}}),wi.prototype.originalPositionFor=function(e){var t={generatedLine:ti.getArg(e,"line"),generatedColumn:ti.getArg(e,"column")},r=hi.search(t,this._sections,(function(e,t){var r=e.generatedLine-t.generatedOffset.generatedLine;return r||e.generatedColumn-t.generatedOffset.generatedColumn})),s=this._sections[r];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},wi.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},wi.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var s=this._sections[r].consumer.sourceContentFor(e,!0);if(s)return s}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},wi.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(ti.getArg(e,"source"))){var s=r.consumer.generatedPositionFor(e);if(s)return{line:s.line+(r.generatedOffset.generatedLine-1),column:s.column+(r.generatedOffset.generatedLine===s.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},wi.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var s=this._sections[r],n=s.consumer._generatedMappings,i=0;i<n.length;i++){var o=n[i],a=s.consumer._sources.at(o.source);a=ti.computeSourceURL(s.consumer.sourceRoot,a,this._sourceMapURL),this._sources.add(a),a=this._sources.indexOf(a);var c=null;o.name&&(c=s.consumer._names.at(o.name),this._names.add(c),c=this._names.indexOf(c));var l={source:a,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}mi(this.__generatedMappings,ti.compareByGeneratedPositionsDeflated),mi(this.__originalMappings,ti.compareByOriginalPositions)};var Si={SourceMapConsumer:yi,BasicSourceMapConsumer:xi,IndexedSourceMapConsumer:wi},Ei=pi.SourceMapGenerator,Pi=/(\r?\n)/,Ti="$$$isSourceNode$$$";function Ai(e,t,r,s,n){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==n?null:n,this[Ti]=!0,null!=s&&this.add(s)}Ai.fromStringWithSourceMap=function(e,t,r){var s=new Ai,n=e.split(Pi),i=0,o=function(){return e()+(e()||"");function e(){return i<n.length?n[i++]:void 0}},a=1,c=0,l=null;return t.eachMapping((function(e){if(null!==l){if(!(a<e.generatedLine)){var t=(r=n[i]||"").substr(0,e.generatedColumn-c);return n[i]=r.substr(e.generatedColumn-c),c=e.generatedColumn,p(l,t),void(l=e)}p(l,o()),a++,c=0}for(;a<e.generatedLine;)s.add(o()),a++;if(c<e.generatedColumn){var r=n[i]||"";s.add(r.substr(0,e.generatedColumn)),n[i]=r.substr(e.generatedColumn),c=e.generatedColumn}l=e}),this),i<n.length&&(l&&p(l,o()),s.add(n.splice(i).join(""))),t.sources.forEach((function(e){var n=t.sourceContentFor(e);null!=n&&(null!=r&&(e=ti.join(r,e)),s.setSourceContent(e,n))})),s;function p(e,t){if(null===e||void 0===e.source)s.add(t);else{var n=r?ti.join(r,e.source):e.source;s.add(new Ai(e.originalLine,e.originalColumn,n,t,e.name))}}},Ai.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[Ti]&&"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},Ai.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[Ti]&&"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},Ai.prototype.walk=function(e){for(var t,r=0,s=this.children.length;r<s;r++)(t=this.children[r])[Ti]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},Ai.prototype.join=function(e){var t,r,s=this.children.length;if(s>0){for(t=[],r=0;r<s-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},Ai.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[Ti]?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},Ai.prototype.setSourceContent=function(e,t){this.sourceContents[ti.toSetString(e)]=t},Ai.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][Ti]&&this.children[t].walkSourceContents(e);var s=Object.keys(this.sourceContents);for(t=0,r=s.length;t<r;t++)e(ti.fromSetString(s[t]),this.sourceContents[s[t]])},Ai.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},Ai.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new Ei(e),s=!1,n=null,i=null,o=null,a=null;return this.walk((function(e,c){t.code+=e,null!==c.source&&null!==c.line&&null!==c.column?(n===c.source&&i===c.line&&o===c.column&&a===c.name||r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),n=c.source,i=c.line,o=c.column,a=c.name,s=!0):s&&(r.addMapping({generated:{line:t.line,column:t.column}}),n=null,s=!1);for(var l=0,p=e.length;l<p;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===p?(n=null,s=!1):s&&r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++})),this.walkSourceContents((function(e,t){r.setSourceContent(e,t)})),{code:t.code,map:r}};var Ci=pi.SourceMapGenerator,ki=Si.SourceMapConsumer,_i={SourceMapGenerator:Ci,SourceMapConsumer:ki,SourceNode:{SourceNode:Ai}.SourceNode};const Ii=e=>`${We[e]}: _${We[e]}`;function Ni(e,{mode:t="function",prefixIdentifiers:r="module"===t,sourceMap:s=!1,filename:n="template.vue.html",scopeId:i=null,optimizeImports:o=!1,runtimeGlobalName:a="Vue",runtimeModuleName:c="vue",ssrRuntimeModuleName:l="vue/server-renderer",ssr:p=!1,isTS:h=!1,inSSR:u=!1}){const d={mode:t,prefixIdentifiers:r,sourceMap:s,filename:n,scopeId:i,optimizeImports:o,runtimeGlobalName:a,runtimeModuleName:c,ssrRuntimeModuleName:l,ssr:p,isTS:h,inSSR:u,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>"_"+We[e],push(e,t){if(d.code+=e,d.map){if(t){let e;if(4===t.type&&!t.isStatic){const r=t.content.replace(/^_ctx\./,"");r!==t.content&&Is(r)&&(e=r)}m(t.loc.start,e)}Fs(d,e),t&&t.loc!==Je&&m(t.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))}function m(e,t){d.map.addMapping({name:t,source:d.filename,original:{line:e.line,column:e.column-1},generated:{line:d.line,column:d.column-1}})}return s&&(d.map=new Ci,d.map.setSourceContent(n,d.source)),d}function Oi(e,t={}){const r=Ni(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:s,push:n,prefixIdentifiers:i,indent:o,deindent:a,newline:c,scopeId:l,ssr:p}=r,h=e.helpers.length>0,u=!i&&"module"!==s,d=null!=l&&"module"===s,f=!!t.inline,m=f?Ni(e,t):r;"module"===s?function(e,t,r,s){const{push:n,newline:i,optimizeImports:o,runtimeModuleName:a,ssrRuntimeModuleName:c}=t;r&&e.hoists.length&&e.helpers.push(Ue,qe);e.helpers.length&&(o?(n(`import { ${e.helpers.map(e=>We[e]).join(", ")} } from ${JSON.stringify(a)}\n`),n(`\n// Binding optimization for webpack code-split\nconst ${e.helpers.map(e=>`_${We[e]} = ${We[e]}`).join(", ")}\n`)):n(`import { ${e.helpers.map(e=>`${We[e]} as _${We[e]}`).join(", ")} } from ${JSON.stringify(a)}\n`));e.ssrHelpers&&e.ssrHelpers.length&&n(`import { ${e.ssrHelpers.map(e=>`${We[e]} as _${We[e]}`).join(", ")} } from "${c}"\n`);e.imports.length&&(!function(e,t){if(!e.length)return;e.forEach(e=>{t.push("import "),ji(e.exp,t),t.push(` from '${e.path}'`),t.newline()})}(e.imports,t),i());Mi(e.hoists,t),i(),s||n("export ")}(e,m,d,f):function(e,t){const{ssr:r,prefixIdentifiers:s,push:n,newline:i,runtimeModuleName:o,runtimeGlobalName:a,ssrRuntimeModuleName:c}=t,l=r?`require(${JSON.stringify(o)})`:a;if(e.helpers.length>0)if(s)n(`const { ${e.helpers.map(Ii).join(", ")} } = ${l}\n`);else if(n(`const _Vue = ${l}\n`),e.hoists.length){const t=[ge,ye,be,ve,xe].filter(t=>e.helpers.includes(t)).map(Ii).join(", ");n(`const { ${t} } = _Vue\n`)}e.ssrHelpers&&e.ssrHelpers.length&&n(`const { ${e.ssrHelpers.map(Ii).join(", ")} } = require("${c}")\n`);Mi(e.hoists,t),i(),n("return ")}(e,m);const g=p?"ssrRender":"render",y=p?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"];t.bindingMetadata&&!t.inline&&y.push("$props","$setup","$data","$options");const b=t.isTS?y.map(e=>e+": any").join(","):y.join(", ");if(n(f?`(${b}) => {`:`function ${g}(${b}) {`),o(),u&&(n("with (_ctx) {"),o(),h&&(n(`const { ${e.helpers.map(Ii).join(", ")} } = _Vue`),n("\n"),c())),e.components.length&&(Li(e.components,"component",r),(e.directives.length||e.temps>0)&&c()),e.directives.length&&(Li(e.directives,"directive",r),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"),c()),p||n("return "),e.codegenNode?ji(e.codegenNode,r):n("null"),u&&(a(),n("}")),a(),n("}"),{ast:e,code:r.code,preamble:f?m.code:"",map:r.map?r.map.toJSON():void 0}}function Li(e,t,{helper:r,push:s,newline:n,isTS:i}){const o=r("component"===t?we:Ee);for(let r=0;r<e.length;r++){let a=e[r];const c=a.endsWith("__self");c&&(a=a.slice(0,-6)),s(`const ${Zs(a,t)} = ${o}(${JSON.stringify(a)}${c?", true":""})${i?"!":""}`),r<e.length-1&&n()}}function Mi(e,t){if(!e.length)return;t.pure=!0;const{push:r,newline:s,helper:n,scopeId:i,mode:o}=t,a=null!=i&&"function"!==o;s(),a&&(r(`const _withScopeId = n => (${n(Ue)}("${i}"),n=n(),${n(qe)}(),n)`),s());for(let n=0;n<e.length;n++){const i=e[n];if(i){const e=a&&13===i.type;r(`const _hoisted_${n+1} = ${e?"/*#__PURE__*/ _withScopeId(() => ":""}`),ji(i,t),e&&r(")"),s()}}t.pure=!1}function Di(e,t){const r=e.length>3||e.some(e=>j(e)||!function(e){return q(e)||4===e.type||2===e.type||5===e.type||8===e.type}(e));t.push("["),r&&t.indent(),Ri(e,t,r),r&&t.deindent(),t.push("]")}function Ri(e,t,r=!1,s=!0){const{push:n,newline:i}=t;for(let o=0;o<e.length;o++){const a=e[o];q(a)?n(a):j(a)?Di(a,t):ji(a,t),o<e.length-1&&(r?(s&&n(","),i()):s&&n(", "))}}function ji(e,t){if(q(e))t.push(e);else if($(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:Bs(null!=e.codegenNode,"Codegen node is missing for element/if/for node. Apply appropriate transforms first."),ji(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:Fi(e,t);break;case 5:!function(e,t){const{push:r,helper:s,pure:n}=t;n&&r("/*#__PURE__*/");r(s(_e)+"("),ji(e.content,t),r(")")}(e,t);break;case 12:ji(e.codegenNode,t);break;case 8:Bi(e,t);break;case 3:!function(e,t){const{push:r,helper:s,pure:n}=t;n&&r("/*#__PURE__*/");r(`${s(be)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:r,helper:s,pure:n}=t,{tag:i,props:o,children:a,patchFlag:c,dynamicProps:l,directives:p,isBlock:h,disableTracking:u,isComponent:d}=e;p&&r(s(Te)+"(");h&&r(`(${s(de)}(${u?"true":""}), `);n&&r("/*#__PURE__*/");const f=h?Js(t.inSSR,d):Ys(t.inSSR,d);r(s(f)+"(",e),Ri(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map(e=>e||"null")}([i,o,a,c,l]),t),r(")"),h&&r(")");p&&(r(", "),ji(p,t),r(")"))}(e,t);break;case 14:!function(e,t){const{push:r,helper:s,pure:n}=t,i=q(e.callee)?e.callee:s(e.callee);n&&r("/*#__PURE__*/");r(i+"(",e),Ri(e.arguments,t),r(")")}(e,t);break;case 15:!function(e,t){const{push:r,indent:s,deindent:n,newline:i}=t,{properties:o}=e;if(!o.length)return void r("{}",e);const a=o.length>1||o.some(e=>4!==e.value.type);r(a?"{":"{ "),a&&s();for(let e=0;e<o.length;e++){const{key:s,value:n}=o[e];Ui(s,t),r(": "),ji(n,t),e<o.length-1&&(r(","),i())}a&&n(),r(a?"}":" }")}(e,t);break;case 17:!function(e,t){Di(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:r,indent:s,deindent:n}=t,{params:i,returns:o,body:a,newline:c,isSlot:l}=e;l&&r(`_${We[$e]}(`);r("(",e),j(i)?Ri(i,t):i&&ji(i,t);r(") => "),(c||a)&&(r("{"),s());o?(c&&r("return "),j(o)?Di(o,t):ji(o,t)):a&&ji(a,t);(c||a)&&(n(),r("}"));l&&r(")")}(e,t);break;case 19:!function(e,t){const{test:r,consequent:s,alternate:n,newline:i}=e,{push:o,indent:a,deindent:c,newline:l}=t;if(4===r.type){const e=!Is(r.content);e&&o("("),Fi(r,t),e&&o(")")}else o("("),ji(r,t),o(")");i&&a(),t.indentLevel++,i||o(" "),o("? "),ji(s,t),t.indentLevel--,i&&l(),i||o(" "),o(": ");const p=19===n.type;p||t.indentLevel++;ji(n,t),p||t.indentLevel--;i&&c(!0)}(e,t);break;case 20:!function(e,t){const{push:r,helper:s,indent:n,deindent:i,newline:o}=t;r(`_cache[${e.index}] || (`),e.isVNode&&(n(),r(s(Be)+"(-1),"),o());r(`_cache[${e.index}] = `),ji(e.value,t),e.isVNode&&(r(","),o(),r(s(Be)+"(1),"),o(),r(`_cache[${e.index}]`),i());r(")")}(e,t);break;case 21:Ri(e.body,t,!0,!1);break;case 22:!function(e,t){const{push:r,indent:s,deindent:n}=t;r("`");const i=e.elements.length,o=i>3;for(let a=0;a<i;a++){const i=e.elements[a];q(i)?r(i.replace(/(`|\$|\\)/g,"\\$1")):(r("${"),o&&s(),ji(i,t),o&&n(),r("}"))}r("`")}(e,t);break;case 23:!function e(t,r){const{push:s,indent:n,deindent:i}=r,{test:o,consequent:a,alternate:c}=t;s("if ("),ji(o,r),s(") {"),n(),ji(a,r),i(),s("}"),c&&(s(" else "),23===c.type?e(c,r):(s("{"),n(),ji(c,r),i(),s("}")))}(e,t);break;case 24:!function(e,t){ji(e.left,t),t.push(" = "),ji(e.right,t)}(e,t);break;case 25:!function(e,t){t.push("("),Ri(e.expressions,t),t.push(")")}(e,t);break;case 26:!function({returns:e},t){t.push("return "),j(e)?Di(e,t):ji(e,t)}(e,t);break;case 10:break;default:Bs(!1,"unhandled codegen node type: "+e.type);return e}}function Fi(e,t){const{content:r,isStatic:s}=e;t.push(s?JSON.stringify(r):r,e)}function Bi(e,t){for(let r=0;r<e.children.length;r++){const s=e.children[r];q(s)?t.push(s):ji(s,t)}}function Ui(e,t){const{push:r}=t;if(8===e.type)r("["),Bi(e,t),r("]");else if(e.isStatic){r(Is(e.content)?e.content:JSON.stringify(e.content),e)}else r(`[${e.content}]`,e)}class qi extends class{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,r,s){e&&(null!==r?e[t][r]=s:e[t]=s)}remove(e,t,r){e&&(null!==r?e[t].splice(r,1):delete e[t])}}{constructor(e,t){super(),this.enter=e,this.leave=t}visit(e,t,r,s){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,r,s),this.replacement&&(e=this.replacement,this.replace(t,r,s,e)),this.should_remove&&this.remove(t,r,s);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 r=e[t];if("object"==typeof r)if(Array.isArray(r))for(let s=0;s<r.length;s+=1)null!==r[s]&&"string"==typeof r[s].type&&(this.visit(r[s],e,t,s)||s--);else null!==r&&"string"==typeof r.type&&this.visit(r,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,r,s),this.replacement&&(e=this.replacement,this.replace(t,r,s,e)),this.should_remove&&this.remove(t,r,s);const o=this.should_remove;if(this.replacement=n,this.should_remove=i,o)return null}}return e}}function $i(e,{enter:t,leave:r}){return new qi(t,r).visit(e,null)}function Vi(e,t,r=!1,s=[],n=Object.create(null)){const i="Program"===e.type&&"ExpressionStatement"===e.body[0].type&&e.body[0].expression;$i(e,{enter(e,i){if(i&&s.push(i),i&&i.type.startsWith("TS")&&"TSAsExpression"!==i.type&&"TSNonNullExpression"!==i.type&&"TSTypeAssertion"!==i.type)return this.skip();if("Identifier"===e.type){const o=!!n[e.name],a=zi(e,i,s);(r||a&&!o)&&t(e,i,s,a,o)}else"ObjectProperty"===e.type&&"ObjectPattern"===i.type?e.inPattern=!0:Ki(e)?Gi(e,t=>Ji(e,t,n)):"BlockStatement"===e.type&&Wi(e,t=>Ji(e,t,n))},leave(e,t){if(t&&s.pop(),e!==i&&e.scopeIds)for(const t of e.scopeIds)n[t]--,0===n[t]&&delete n[t]}})}function zi(e,t,r){if(!t)return!0;if("arguments"===e.name)return!1;if(function(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e&&!!t.computed;case"ObjectProperty":return t.key===e?!!t.computed:!r||"ObjectPattern"!==r.type;case"ClassProperty":return t.key!==e||!!t.computed;case"ClassPrivateProperty":return t.key!==e;case"ClassDeclaration":case"ClassExpression":return t.superClass===e;case"AssignmentExpression":case"AssignmentPattern":return t.right===e;case"LabeledStatement":case"CatchClause":case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return!(null==r?void 0:r.source)&&t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":case"MetaProperty":return!1;case"ObjectTypeProperty":return t.key!==e;case"TSEnumMember":return t.id!==e;case"TSPropertySignature":return t.key!==e||!!t.computed}return!0}(e,t))return!0;switch(t.type){case"AssignmentExpression":case"AssignmentPattern":return!0;case"ObjectPattern":case"ArrayPattern":return Hi(t,r)}return!1}function Hi(e,t){if(e&&("ObjectProperty"===e.type||"ArrayPattern"===e.type)){let e=t.length;for(;e--;){const r=t[e];if("AssignmentExpression"===r.type)return!0;if("ObjectProperty"!==r.type&&!r.type.endsWith("Pattern"))break}}return!1}function Gi(e,t){for(const r of e.params)for(const e of Yi(r))t(e)}function Wi(e,t){for(const r of e.body)if("VariableDeclaration"===r.type){if(r.declare)continue;for(const e of r.declarations)for(const r of Yi(e.id))t(r)}else if("FunctionDeclaration"===r.type||"ClassDeclaration"===r.type){if(r.declare||!r.id)continue;t(r.id)}}function Yi(e,t=[]){switch(e.type){case"Identifier":t.push(e);break;case"MemberExpression":let r=e;for(;"MemberExpression"===r.type;)r=r.object;t.push(r);break;case"ObjectPattern":for(const r of e.properties)"RestElement"===r.type?Yi(r.argument,t):Yi(r.value,t);break;case"ArrayPattern":e.elements.forEach(e=>{e&&Yi(e,t)});break;case"RestElement":Yi(e.argument,t);break;case"AssignmentPattern":Yi(e.left,t)}return t}function Ji(e,t,r){const{name:s}=t;e.scopeIds&&e.scopeIds.has(s)||(s in r?r[s]++:r[s]=1,(e.scopeIds||(e.scopeIds=new Set)).add(s))}const Ki=e=>/Function(?:Expression|Declaration)$|Method$/.test(e.type),Xi=e=>e&&("ObjectProperty"===e.type||"ObjectMethod"===e.type)&&!e.computed,Qi=(e,t)=>Xi(t)&&t.key===e;const Zi=s("true,false,null,this"),eo=(e,t)=>{if(5===e.type)e.content=to(e.content,t);else if(1===e.type)for(let r=0;r<e.props.length;r++){const s=e.props[r];if(7===s.type&&"for"!==s.name){const e=s.exp,r=s.arg;!e||4!==e.type||"on"===s.name&&r||(s.exp=to(e,t,"slot"===s.name)),r&&4===r.type&&!r.isStatic&&(s.arg=to(r,t))}}};function to(e,t,r=!1,s=!1,n=Object.create(t.identifiers)){if(!t.prefixIdentifiers||!e.content.trim())return e;const{inline:i,bindingMetadata:a}=t,c=(e,r,s)=>{const o=R(a,e)&&a[e];if(i){const i=r&&"AssignmentExpression"===r.type&&r.left===s,c=r&&"UpdateExpression"===r.type&&r.argument===s,p=r&&Hi(r,f);if("setup-const"===o||"setup-reactive-const"===o||n[e])return e;if("setup-ref"===o)return e+".value";if("setup-maybe-ref"===o)return i||c||p?e+".value":`${t.helperString(Ve)}(${e})`;if("setup-let"===o){if(i){const{right:s,operator:n}=r,i=ro(to(tt(l.slice(s.start-1,s.end-1),!1),t,!1,!1,m));return`${t.helperString(ze)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${e}.value ${n} ${i} : ${e}`}if(c){s.start=r.start,s.end=r.end;const{prefix:n,operator:i}=r,o=n?i:"",a=n?"":i;return`${t.helperString(ze)}(${e})${t.isTS?" //@ts-ignore\n":""} ? ${o}${e}.value${a} : ${o}${e}${a}`}return p?e:`${t.helperString(Ve)}(${e})`}if("props"===o)return se(e);if("props-aliased"===o)return se(a.__propsAliases[e])}else{if(o&&o.startsWith("setup"))return"$setup."+e;if("props-aliased"===o)return`$props['${a.__propsAliases[e]}']`;if(o)return`$${o}.${e}`}return"_ctx."+e},l=e.content,p=l.indexOf("(")>-1||l.indexOf(".")>0;if(Is(l)){const s=t.identifiers[l],n=o(l),i=Zi(l);return r||s||n||i?s||(e.constType=i?3:2):("setup-const"===a[e.content]&&(e.constType=1),e.content=c(l)),e}let h;const u=s?` ${l} `:`(${l})${r?"=>{}":""}`;try{h=Ps(u,{plugins:t.expressionPlugins}).program}catch(r){return t.onError(oe(45,e.loc,void 0,r.message)),e}const d=[],f=[],m=Object.create(t.identifiers);Vi(h,(e,t,r,s,n)=>{if(Qi(e,t))return;const i=s&&function(e){if(o(e.name))return!1;if("require"===e.name)return!1;return!0}(e);i&&!n?(Xi(t)&&t.shorthand&&(e.prefix=e.name+": "),e.name=c(e.name,t,e),d.push(e)):(i&&n||p||(e.isConstant=!0),d.push(e))},!0,f,m);const g=[];let y;return d.sort((e,t)=>e.start-t.start),d.forEach((t,r)=>{const s=t.start-1,n=t.end-1,i=d[r-1],o=l.slice(i?i.end-1:0,s);(o.length||t.prefix)&&g.push(o+(t.prefix||""));const a=l.slice(s,n);g.push(tt(t.name,!1,{source:a,start:js(e.loc.start,a,s),end:js(e.loc.start,a,n)},t.isConstant?3:0)),r===d.length-1&&n<l.length&&g.push(l.slice(n))}),g.length?y=st(g,e.loc):(y=e,y.constType=p?0:3),y.identifiers=Object.keys(m),y}function ro(e){return q(e)?e:4===e.type?e.content:e.children.map(ro).join("")}const so=Gn(/^(if|else|else-if)$/,(e,t,r)=>no(e,t,r,(e,t,s)=>{const n=r.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(s)e.codegenNode=oo(t,o,r);else{(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)).alternate=oo(t,o+e.branches.length-1,r)}}}));function no(e,t,r,s){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const s=t.exp?t.exp.loc:e.loc;r.onError(oe(28,t.loc)),t.exp=tt("true",!1,s)}if(r.prefixIdentifiers&&t.exp&&(t.exp=to(t.exp,r)),"if"===t.name){const n=io(e,t),i={type:9,loc:e.loc,branches:[n]};if(r.replaceNode(i),s)return s(i,n,!0)}else{const n=r.parent.children,i=[];let o=n.indexOf(e);for(;o-- >=-1;){const a=n[o];if(a&&3===a.type)r.removeNode(a),i.unshift(a);else{if(!a||2!==a.type||a.content.trim().length){if(a&&9===a.type){"else-if"===t.name&&void 0===a.branches[a.branches.length-1].condition&&r.onError(oe(30,e.loc)),r.removeNode();const n=io(e,t);!i.length||r.parent&&1===r.parent.type&&Cs(r.parent.tag,"transition")||(n.children=[...i,...n.children]);{const e=n.userKey;e&&a.branches.forEach(({userKey:t})=>{co(t,e)&&r.onError(oe(29,n.userKey.loc))})}a.branches.push(n);const o=s&&s(a,n,!1);Hn(n,r),o&&o(),r.currentNode=null}else r.onError(oe(30,e.loc));break}r.removeNode(a)}}}}function io(e,t){const r=3===e.tagType;return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:r&&!Us(e,"for")?e.children:[e],userKey:qs(e,"key"),isTemplateIf:r}}function oo(e,t,r){return e.condition?ot(e.condition,ao(e,t,r),nt(r.helper(be),['"v-if"',"true"])):ao(e,t,r)}function ao(e,t,r){const{helper:s}=r,i=et("key",tt(""+t,!1,Je,2)),{children:o}=e,a=o[0];if(1!==o.length||1!==a.type){if(1===o.length&&11===a.type){const e=a.codegenNode;return Xs(e,i,r),e}{let t=64,a=n[64];return e.isTemplateIf||1!==o.filter(e=>3!==e.type).length||(t|=2048,a+=", "+n[2048]),Xe(r,s(ce),Ze([i]),o,t+` /* ${a} */`,void 0,void 0,!0,!1,!1,e.loc)}}{const e=a.codegenNode,t=tn(e);return 13===t.type&&rn(t,r),Xs(t,i,r),e}}function co(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 r=e.exp,s=t.exp;if(r.type!==s.type)return!1;if(4!==r.type||r.isStatic!==s.isStatic||r.content!==s.content)return!1}return!0}const lo=Gn("for",(e,t,r)=>{const{helper:s,removeHelper:i}=r;return po(e,t,r,t=>{const o=nt(s(Ae),[t.source]),a=Gs(e),c=Us(e,"memo"),l=qs(e,"key"),p=l&&(6===l.type?tt(l.value.content,!0):l.exp),h=l?et("key",p):null;a&&(c&&(c.exp=to(c.exp,r)),h&&6!==l.type&&(h.value=to(h.value,r)));const u=4===t.source.type&&t.source.constType>0,d=u?64:l?128:256;return t.codegenNode=Xe(r,s(ce),void 0,o,d+` /* ${n[d]} */`,void 0,void 0,!0,!u,!1,e.loc),()=>{let l;const{children:d}=t;a&&e.children.some(e=>{if(1===e.type){const t=qs(e,"key");if(t)return r.onError(oe(33,t.loc)),!0}});const f=1!==d.length||1!==d[0].type,m=Ws(e)?e:a&&1===e.children.length&&Ws(e.children[0])?e.children[0]:null;if(m?(l=m.codegenNode,a&&h&&Xs(l,h,r)):f?l=Xe(r,s(ce),h?Ze([h]):void 0,e.children,`64 /* ${n[64]} */`,void 0,void 0,!0,void 0,!1):(l=d[0].codegenNode,a&&h&&Xs(l,h,r),l.isBlock!==!u&&(l.isBlock?(i(de),i(Js(r.inSSR,l.isComponent))):i(Ys(r.inSSR,l.isComponent))),l.isBlock=!u,l.isBlock?(s(de),s(Js(r.inSSR,l.isComponent))):s(Ys(r.inSSR,l.isComponent))),c){const e=it(yo(t.parseResult,[tt("_cached")]));e.body=ct([st(["const _memo = (",c.exp,")"]),st(["if (_cached",...p?[" && _cached.key === ",p]:[],` && ${r.helperString(Ge)}(_cached, _memo)) return _cached`]),st(["const _item = ",l]),tt("_item.memo = _memo"),tt("return _item")]),o.arguments.push(e,tt("_cache"),tt(String(r.cached++)))}else o.arguments.push(it(yo(t.parseResult),l,!0))}})});function po(e,t,r,s){if(!t.exp)return void r.onError(oe(31,t.loc));const n=mo(t.exp,r);if(!n)return void r.onError(oe(32,t.loc));const{addIdentifiers:i,removeIdentifiers:o,scopes:a}=r,{source:c,value:l,key:p,index:h}=n,u={type:11,loc:t.loc,source:c,valueAlias:l,keyAlias:p,objectIndexAlias:h,parseResult:n,children:Gs(e)?e.children:[e]};r.replaceNode(u),a.vFor++,r.prefixIdentifiers&&(l&&i(l),p&&i(p),h&&i(h));const d=s&&s(u);return()=>{a.vFor--,r.prefixIdentifiers&&(l&&o(l),p&&o(p),h&&o(h)),d&&d()}}const ho=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,uo=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,fo=/^\(|\)$/g;function mo(e,t){const r=e.loc,s=e.content,n=s.match(ho);if(!n)return;const[,i,o]=n,a={source:go(r,o.trim(),s.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0};t.prefixIdentifiers&&(a.source=to(a.source,t));let c=i.trim().replace(fo,"").trim();const l=i.indexOf(c),p=c.match(uo);if(p){c=c.replace(uo,"").trim();const e=p[1].trim();let n;if(e&&(n=s.indexOf(e,l+c.length),a.key=go(r,e,n),t.prefixIdentifiers&&(a.key=to(a.key,t,!0))),p[2]){const i=p[2].trim();i&&(a.index=go(r,i,s.indexOf(i,a.key?n+e.length:l+c.length)),t.prefixIdentifiers&&(a.index=to(a.index,t,!0)))}}return c&&(a.value=go(r,c,l),t.prefixIdentifiers&&(a.value=to(a.value,t,!0))),a}function go(e,t,r){return tt(t,!1,Rs(e,r,t.length))}function yo({value:e,key:t,index:r},s=[]){return function(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((e,t)=>e||tt("_".repeat(t+1),!1))}([e,t,r,...s])}const bo=tt("undefined",!1),vo=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const r=Us(e,"slot");if(r){const e=r.exp;return t.prefixIdentifiers&&e&&t.addIdentifiers(e),t.scopes.vSlot++,()=>{t.prefixIdentifiers&&e&&t.removeIdentifiers(e),t.scopes.vSlot--}}}},xo=(e,t)=>{let r;if(Gs(e)&&e.props.some(Hs)&&(r=Us(e,"for"))){const e=r.parseResult=mo(r.exp,t);if(e){const{value:r,key:s,index:n}=e,{addIdentifiers:i,removeIdentifiers:o}=t;return r&&i(r),s&&i(s),n&&i(n),()=>{r&&o(r),s&&o(s),n&&o(n)}}}},wo=(e,t,r)=>it(e,t,!1,!0,t.length?t[0].loc:r);function So(e,t,r=wo){t.helper($e);const{children:s,loc:n}=e,o=[],a=[];let c=t.scopes.vSlot>0||t.scopes.vFor>0;!t.ssr&&t.prefixIdentifiers&&(c=en(e,t.identifiers));const l=Us(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!As(e)&&(c=!0),o.push(et(e||tt("default",!0),r(t,s,n)))}let p=!1,h=!1;const u=[],d=new Set;let f=0;for(let e=0;e<s.length;e++){const n=s[e];let i;if(!Gs(n)||!(i=Us(n,"slot",!0))){3!==n.type&&u.push(n);continue}if(l){t.onError(oe(37,i.loc));break}p=!0;const{children:m,loc:g}=n,{arg:y=tt("default",!0),exp:b,loc:v}=i;let x;As(y)?x=y?y.content:"default":c=!0;const w=r(b,m,g);let S,E,P;if(S=Us(n,"if"))c=!0,a.push(ot(S.exp,Eo(y,w,f++),bo));else if(E=Us(n,/^else(-if)?$/,!0)){let r,n=e;for(;n--&&(r=s[n],3===r.type););if(r&&Gs(r)&&Us(r,"if")){s.splice(e,1),e--;let t=a[a.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=E.exp?ot(E.exp,Eo(y,w,f++),bo):Eo(y,w,f++)}else t.onError(oe(30,E.loc))}else if(P=Us(n,"for")){c=!0;const e=P.parseResult||mo(P.exp,t);e?a.push(nt(t.helper(Ae),[e.source,it(yo(e),Eo(y,w),!0)])):t.onError(oe(32,P.loc))}else{if(x){if(d.has(x)){t.onError(oe(38,v));continue}d.add(x),"default"===x&&(h=!0)}o.push(et(y,w))}}if(!l){const e=(e,t)=>et("default",r(e,t,n));p?u.length&&u.some(e=>function e(t){return 2!==t.type&&12!==t.type||(2===t.type?!!t.content.trim():e(t.content))}(e))&&(h?t.onError(oe(39,u[0].loc)):o.push(e(void 0,u))):o.push(e(void 0,s))}const m=c?2:function e(t){for(let r=0;r<t.length;r++){const s=t[r];switch(s.type){case 1:if(2===s.tagType||e(s.children))return!0;break;case 9:if(e(s.branches))return!0;break;case 10:case 11:if(e(s.children))return!0}}return!1}(e.children)?3:1;let g=Ze(o.concat(et("_",tt(m+` /* ${i[m]} */`,!1))),n);return a.length&&(g=nt(t.helper(ke),[g,Qe(a)])),{slots:g,hasDynamicSlots:c}}function Eo(e,t,r){const s=[et("name",e),et("fn",t)];return null!=r&&s.push(et("key",tt(String(r),!0))),Ze(s)}const Po=new WeakMap,To=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:r,props:s}=e,i=1===e.tagType;let o=i?Ao(e,t):`"${r}"`;const a=V(o)&&o.callee===Se;let c,l,p,h,u,d,f=0,m=a||o===le||o===pe||!i&&("svg"===r||"foreignObject"===r);if(s.length>0){const r=ko(e,t,void 0,i,a);c=r.props,f=r.patchFlag,u=r.dynamicPropNames;const s=r.directives;d=s&&s.length?Qe(s.map(e=>No(e,t))):void 0,r.shouldUseBlock&&(m=!0)}if(e.children.length>0){o===he&&(m=!0,f|=1024,e.children.length>1&&t.onError(oe(46,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""})));if(i&&o!==le&&o!==he){const{slots:r,hasDynamicSlots:s}=So(e,t);l=r,s&&(f|=1024)}else if(1===e.children.length&&o!==le){const r=e.children[0],s=r.type,n=5===s||8===s;n&&0===jn(r,t)&&(f|=1),l=n||2===s?r:e.children}else l=e.children}if(0!==f){if(f<0)p=f+` /* ${n[f]} */`;else{const e=Object.keys(n).map(Number).filter(e=>e>0&&f&e).map(e=>n[e]).join(", ");p=f+` /* ${e} */`}u&&u.length&&(h=function(e){let t="[";for(let r=0,s=e.length;r<s;r++)t+=JSON.stringify(e[r]),r<s-1&&(t+=", ");return t+"]"}(u))}e.codegenNode=Xe(t,o,c,l,p,h,d,!!m,!1,i,e.loc)};function Ao(e,t,r=!1){let{tag:s}=e;const n=Oo(s),i=qs(e,"is");if(i)if(n){const e=6===i.type?i.value&&tt(i.value.content,!0):i.exp;if(e)return nt(t.helper(Se),[e])}else 6===i.type&&i.value.content.startsWith("vue:")&&(s=i.value.content.slice(4));const o=!n&&Us(e,"is");if(o&&o.exp)return nt(t.helper(Se),[o.exp]);const a=ks(s)||t.isBuiltInComponent(s);if(a)return r||t.helper(a),a;{const e=Co(s,t);if(e)return e;const r=s.indexOf(".");if(r>0){const e=Co(s.slice(0,r),t);if(e)return e+s.slice(r)}}return t.selfName&&ee(X(s))===t.selfName?(t.helper(we),t.components.add(s+"__self"),Zs(s,"component")):(t.helper(we),t.components.add(s),Zs(s,"component"))}function Co(e,t){const r=t.bindingMetadata;if(!r||!1===r.__isScriptSetup)return;const s=X(e),n=ee(s),i=t=>r[e]===t?e:r[s]===t?s:r[n]===t?n:void 0,o=i("setup-const")||i("setup-reactive-const");if(o)return t.inline?o:`$setup[${JSON.stringify(o)}]`;const a=i("setup-let")||i("setup-ref")||i("setup-maybe-ref");return a?t.inline?`${t.helperString(Ve)}(${a})`:`$setup[${JSON.stringify(a)}]`:void 0}function ko(e,t,r=e.props,s,n,i=!1){const{tag:o,loc:a,children:c}=e;let l=[];const p=[],h=[],u=c.length>0;let d=!1,f=0,m=!1,g=!1,y=!1,b=!1,v=!1,x=!1;const w=[],S=e=>{l.length&&(p.push(Ze(_o(l),a)),l=[]),e&&p.push(e)},E=({key:e,value:r})=>{if(As(e)){const i=e.content,o=L(i);if(!o||s&&!n||"onclick"===i.toLowerCase()||"onUpdate:modelValue"===i||W(i)||(b=!0),o&&W(i)&&(x=!0),20===r.type||(4===r.type||8===r.type)&&jn(r,t)>0)return;"ref"===i?m=!0:"class"===i?g=!0:"style"===i?y=!0:"key"===i||w.includes(i)||w.push(i),!s||"class"!==i&&"style"!==i||w.includes(i)||w.push(i)}else v=!0};for(let n=0;n<r.length;n++){const c=r[n];if(6===c.type){const{loc:e,name:r,value:s}=c;let n=!0;if("ref"===r&&(m=!0,t.scopes.vFor>0&&l.push(et(tt("ref_for",!0),tt("true"))),s&&t.inline)){const e=t.bindingMetadata[s.content];"setup-let"!==e&&"setup-ref"!==e&&"setup-maybe-ref"!==e||(n=!1,l.push(et(tt("ref_key",!0),tt(s.content,!0,s.loc))))}if("is"===r&&(Oo(o)||s&&s.content.startsWith("vue:")))continue;l.push(et(tt(r,!0,Rs(e,0,r.length)),tt(s?s.content:"",n,s?s.loc:e)))}else{const{name:r,arg:n,exp:f,loc:m}=c,g="bind"===r,y="on"===r;if("slot"===r){s||t.onError(oe(40,m));continue}if("once"===r||"memo"===r)continue;if("is"===r||g&&$s(n,"is")&&Oo(o))continue;if(y&&i)continue;if((g&&$s(n,"key")||y&&u&&$s(n,"vue:before-update"))&&(d=!0),g&&$s(n,"ref")&&t.scopes.vFor>0&&l.push(et(tt("ref_for",!0),tt("true"))),!n&&(g||y)){v=!0,f?g?(S(),p.push(f)):S({type:14,loc:m,callee:t.helper(De),arguments:s?[f]:[f,"true"]}):t.onError(oe(g?34:35,m));continue}const b=t.directiveTransforms[r];if(b){const{props:r,needRuntime:s}=b(c,e,t);!i&&r.forEach(E),y&&n&&!As(n)?S(Ze(r,a)):l.push(...r),s&&(h.push(c),$(s)&&Po.set(c,s))}else Y(r)||(h.push(c),u&&(d=!0))}}let P=void 0;if(p.length?(S(),P=p.length>1?nt(t.helper(Ie),p,a):p[0]):l.length&&(P=Ze(_o(l),a)),v?f|=16:(g&&!s&&(f|=2),y&&!s&&(f|=4),w.length&&(f|=8),b&&(f|=32)),d||0!==f&&32!==f||!(m||x||h.length>0)||(f|=512),!t.inSSR&&P)switch(P.type){case 15:let e=-1,r=-1,s=!1;for(let t=0;t<P.properties.length;t++){const n=P.properties[t].key;As(n)?"class"===n.content?e=t:"style"===n.content&&(r=t):n.isHandlerKey||(s=!0)}const n=P.properties[e],i=P.properties[r];s?P=nt(t.helper(Le),[P]):(n&&!As(n.value)&&(n.value=nt(t.helper(Ne),[n.value])),i&&(y||4===i.value.type&&"["===i.value.content.trim()[0]||17===i.value.type)&&(i.value=nt(t.helper(Oe),[i.value])));break;case 14:break;default:P=nt(t.helper(Le),[nt(t.helper(Me),[P])])}return{props:P,directives:h,patchFlag:f,dynamicPropNames:w,shouldUseBlock:d}}function _o(e){const t=new Map,r=[];for(let s=0;s<e.length;s++){const n=e[s];if(8===n.key.type||!n.key.isStatic){r.push(n);continue}const i=n.key.content,o=t.get(i);o?("style"===i||"class"===i||L(i))&&Io(o,n):(t.set(i,n),r.push(n))}return r}function Io(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=Qe([e.value,t.value],e.loc)}function No(e,t){const r=[],s=Po.get(e);if(s)r.push(t.helperString(s));else{const s=Co("v-"+e.name,t);s?r.push(s):(t.helper(Ee),t.directives.add(e.name),r.push(Zs(e.name,"directive")))}const{loc:n}=e;if(e.exp&&r.push(e.exp),e.arg&&(e.exp||r.push("void 0"),r.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||r.push("void 0"),r.push("void 0"));const t=tt("true",!1,n);r.push(Ze(e.modifiers.map(e=>et(e,t)),n))}return Qe(r,e.loc)}function Oo(e){return"component"===e||"Component"===e}const Lo=(e,t)=>{if(Ws(e)){const{children:r,loc:s}=e,{slotName:n,slotProps:i}=Mo(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",n,"{}","undefined","true"];let a=2;i&&(o[2]=i,a=3),r.length&&(o[3]=it([],r,!1,!1,s),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=nt(t.helper(Ce),o,s)}};function Mo(e,t){let r='"default"',s=void 0;const n=[];for(let t=0;t<e.props.length;t++){const s=e.props[t];6===s.type?s.value&&("name"===s.name?r=JSON.stringify(s.value.content):(s.name=X(s.name),n.push(s))):"bind"===s.name&&$s(s.arg,"name")?s.exp&&(r=s.exp):("bind"===s.name&&s.arg&&As(s.arg)&&(s.arg.content=X(s.arg.content)),n.push(s))}if(n.length>0){const{props:r,directives:i}=ko(e,t,n,!1,!1);s=r,i.length&&t.onError(oe(36,i[0].loc))}return{slotName:r,slotProps:s}}const Do=/^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,Ro=(e,t,r,s)=>{const{loc:n,modifiers:i,arg:o}=e;let a;if(e.exp||i.length||r.onError(oe(35,n)),4===o.type)if(o.isStatic){let e=o.content;e.startsWith("vue:")&&(e="vnode-"+e.slice(4));a=tt(0!==t.tagType||e.startsWith("vnode")||!/[A-Z]/.test(e)?te(X(e)):"on:"+e,!0,o.loc)}else a=st([r.helperString(Fe)+"(",o,")"]);else a=o,a.children.unshift(r.helperString(Fe)+"("),a.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let l=r.cacheHandlers&&!c&&!r.inVOnce;if(c){const s=Ds(c.content,r),n=!(s||Do.test(c.content)),i=c.content.includes(";");r.prefixIdentifiers&&(n&&r.addIdentifiers("$event"),c=e.exp=to(c,r,!1,i),n&&r.removeIdentifiers("$event"),l=r.cacheHandlers&&!r.inVOnce&&!(4===c.type&&c.constType>0)&&!(s&&1===t.tagType)&&!en(c,r.identifiers),l&&s&&(4===c.type?c.content=`${c.content} && ${c.content}(...args)`:c.children=[...c.children," && ",...c.children,"(...args)"])),(n||l&&s)&&(c=st([`${n?r.isTS?"($event: any)":"$event":(r.isTS?"\n//@ts-ignore\n":"")+"(...args)"} => ${i?"{":"("}`,c,i?"}":")"]))}let p={props:[et(a,c||tt("() => {}",!1,n))]};return s&&(p=s(p)),l&&(p.props[0].value=r.cache(p.props[0].value)),p.props.forEach(e=>e.key.isHandlerKey=!0),p},jo=(e,t,r)=>{const{exp:s,modifiers:n,loc:i}=e,o=e.arg;return 4!==o.type?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=o.content+' || ""'),n.includes("camel")&&(4===o.type?o.isStatic?o.content=X(o.content):o.content=`${r.helperString(Re)}(${o.content})`:(o.children.unshift(r.helperString(Re)+"("),o.children.push(")"))),r.inSSR||(n.includes("prop")&&Fo(o,"."),n.includes("attr")&&Fo(o,"^")),!s||4===s.type&&!s.content.trim()?(r.onError(oe(34,i)),{props:[et(o,tt("",!0,i))]}):{props:[et(o,s)]}},Fo=(e,t)=>{4===e.type?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},Bo=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const r=e.children;let s=void 0,i=!1;for(let e=0;e<r.length;e++){const t=r[e];if(zs(t)){i=!0;for(let n=e+1;n<r.length;n++){const i=r[n];if(!zs(i)){s=void 0;break}s||(s=r[e]=st([t],t.loc)),s.children.push(" + ",i),r.splice(n,1),n--}}}if(i&&(1!==r.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<r.length;e++){const s=r[e];if(zs(s)||8===s.type){const i=[];2===s.type&&" "===s.content||i.push(s),t.ssr||0!==jn(s,t)||i.push(`1 /* ${n[1]} */`),r[e]={type:12,content:s,loc:s.loc,codegenNode:nt(t.helper(ve),i)}}}}},Uo=new WeakSet,qo=(e,t)=>{if(1===e.type&&Us(e,"once",!0)){if(Uo.has(e)||t.inVOnce)return;return Uo.add(e),t.inVOnce=!0,t.helper(Be),()=>{t.inVOnce=!1;const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},$o=(e,t,r)=>{const{exp:s,arg:n}=e;if(!s)return r.onError(oe(41,e.loc)),Vo();const i=s.loc.source,o=4===s.type?s.content:i,a=r.bindingMetadata[i];if("props"===a||"props-aliased"===a)return r.onError(oe(44,s.loc)),Vo();const c=r.inline&&("setup-let"===a||"setup-ref"===a||"setup-maybe-ref"===a);if(!o.trim()||!Ds(o,r)&&!c)return r.onError(oe(42,s.loc)),Vo();if(r.prefixIdentifiers&&Is(o)&&r.identifiers[o])return r.onError(oe(43,s.loc)),Vo();const l=n||tt("modelValue",!0),p=n?As(n)?"onUpdate:"+n.content:st(['"onUpdate:" + ',n]):"onUpdate:modelValue";let h;const u=r.isTS?"($event: any)":"$event";if(c)if("setup-ref"===a)h=st([u+" => ((",tt(i,!1,s.loc),").value = $event)"]);else{const e="setup-let"===a?i+" = $event":"null";h=st([`${u} => (${r.helperString(ze)}(${i}) ? (`,tt(i,!1,s.loc),`).value = $event : ${e})`])}else h=st([u+" => ((",s,") = $event)"]);const d=[et(l,e.exp),et(p,h)];if(r.prefixIdentifiers&&!r.inVOnce&&r.cacheHandlers&&!en(s,r.identifiers)&&(d[1].value=r.cache(d[1].value)),e.modifiers.length&&1===t.tagType){const t=e.modifiers.map(e=>(Is(e)?e:JSON.stringify(e))+": true").join(", "),r=n?As(n)?n.content+"Modifiers":st([n,' + "Modifiers"']):"modelModifiers";d.push(et(r,tt(`{ ${t} }`,!1,e.loc,2)))}return Vo(d)};function Vo(e=[]){return{props:e}}const zo=new WeakSet,Ho=(e,t)=>{if(1===e.type){const r=Us(e,"memo");if(!r||zo.has(e))return;return zo.add(e),()=>{const s=e.codegenNode||t.currentNode.codegenNode;s&&13===s.type&&(1!==e.tagType&&rn(s,t),e.codegenNode=nt(t.helper(He),[r.exp,it(void 0,s),"_cache",String(t.cached++)]))}}};function Go(e){return[[qo,so,Ho,lo,...e?[xo,eo]:[],Lo,To,vo,Bo],{on:Ro,bind:jo,model:$o}]}function Wo(e,t={}){const r=t.onError||ne,s="module"===t.mode,n=!0===t.prefixIdentifiers||s;!n&&t.cacheHandlers&&r(oe(49)),t.scopeId&&!s&&r(oe(50));const i=q(e)?hn(e,t):e,[o,a]=Go(n);if(t.isTS){const{expressionPlugins:e}=t;e&&e.includes("typescript")||(t.expressionPlugins=[...e||[],"typescript"])}return zn(i,M({},t,{prefixIdentifiers:n,nodeTransforms:[...o,...t.nodeTransforms||[]],directiveTransforms:M({},a,t.directiveTransforms||{})})),Oi(i,M({},t,{prefixIdentifiers:n}))}const Yo=()=>({props:[]}),Jo=Symbol("vModelRadio"),Ko=Symbol("vModelCheckbox"),Xo=Symbol("vModelText"),Qo=Symbol("vModelSelect"),Zo=Symbol("vModelDynamic"),ea=Symbol("vOnModifiersGuard"),ta=Symbol("vOnKeysGuard"),ra=Symbol("vShow"),sa=Symbol("Transition"),na=Symbol("TransitionGroup");Ye({[Jo]:"vModelRadio",[Ko]:"vModelCheckbox",[Xo]:"vModelText",[Qo]:"vModelSelect",[Zo]:"vModelDynamic",[ea]:"withModifiers",[ta]:"withKeys",[ra]:"vShow",[sa]:"Transition",[na]:"TransitionGroup"});var ia={GT:">",gt:">",LT:"<",lt:"<","ac;":"\u223e","af;":"\u2061",AMP:"&",amp:"&","ap;":"\u2248","DD;":"\u2145","dd;":"\u2146",deg:"\xb0","ee;":"\u2147","eg;":"\u2a9a","el;":"\u2a99",ETH:"\xd0",eth:"\xf0","gE;":"\u2267","ge;":"\u2265","Gg;":"\u22d9","gg;":"\u226b","gl;":"\u2277","GT;":">","Gt;":"\u226b","gt;":">","ic;":"\u2063","ii;":"\u2148","Im;":"\u2111","in;":"\u2208","it;":"\u2062","lE;":"\u2266","le;":"\u2264","lg;":"\u2276","Ll;":"\u22d8","ll;":"\u226a","LT;":"<","Lt;":"\u226a","lt;":"<","mp;":"\u2213","Mu;":"\u039c","mu;":"\u03bc","ne;":"\u2260","ni;":"\u220b",not:"\xac","Nu;":"\u039d","nu;":"\u03bd","Or;":"\u2a54","or;":"\u2228","oS;":"\u24c8","Pi;":"\u03a0","pi;":"\u03c0","pm;":"\xb1","Pr;":"\u2abb","pr;":"\u227a","Re;":"\u211c",REG:"\xae",reg:"\xae","rx;":"\u211e","Sc;":"\u2abc","sc;":"\u227b",shy:"\xad",uml:"\xa8","wp;":"\u2118","wr;":"\u2240","Xi;":"\u039e","xi;":"\u03be",yen:"\xa5","acd;":"\u223f","acE;":"\u223e\u0333","Acy;":"\u0410","acy;":"\u0430","Afr;":"\ud835\udd04","afr;":"\ud835\udd1e","AMP;":"&","amp;":"&","And;":"\u2a53","and;":"\u2227","ang;":"\u2220","apE;":"\u2a70","ape;":"\u224a","ast;":"*",Auml:"\xc4",auml:"\xe4","Bcy;":"\u0411","bcy;":"\u0431","Bfr;":"\ud835\udd05","bfr;":"\ud835\udd1f","bne;":"=\u20e5","bot;":"\u22a5","Cap;":"\u22d2","cap;":"\u2229",cent:"\xa2","Cfr;":"\u212d","cfr;":"\ud835\udd20","Chi;":"\u03a7","chi;":"\u03c7","cir;":"\u25cb",COPY:"\xa9",copy:"\xa9","Cup;":"\u22d3","cup;":"\u222a","Dcy;":"\u0414","dcy;":"\u0434","deg;":"\xb0","Del;":"\u2207","Dfr;":"\ud835\udd07","dfr;":"\ud835\udd21","die;":"\xa8","div;":"\xf7","Dot;":"\xa8","dot;":"\u02d9","Ecy;":"\u042d","ecy;":"\u044d","Efr;":"\ud835\udd08","efr;":"\ud835\udd22","egs;":"\u2a96","ell;":"\u2113","els;":"\u2a95","ENG;":"\u014a","eng;":"\u014b","Eta;":"\u0397","eta;":"\u03b7","ETH;":"\xd0","eth;":"\xf0",Euml:"\xcb",euml:"\xeb","Fcy;":"\u0424","fcy;":"\u0444","Ffr;":"\ud835\udd09","ffr;":"\ud835\udd23","gap;":"\u2a86","Gcy;":"\u0413","gcy;":"\u0433","gEl;":"\u2a8c","gel;":"\u22db","geq;":"\u2265","ges;":"\u2a7e","Gfr;":"\ud835\udd0a","gfr;":"\ud835\udd24","ggg;":"\u22d9","gla;":"\u2aa5","glE;":"\u2a92","glj;":"\u2aa4","gnE;":"\u2269","gne;":"\u2a88","Hat;":"^","Hfr;":"\u210c","hfr;":"\ud835\udd25","Icy;":"\u0418","icy;":"\u0438","iff;":"\u21d4","Ifr;":"\u2111","ifr;":"\ud835\udd26","Int;":"\u222c","int;":"\u222b",Iuml:"\xcf",iuml:"\xef","Jcy;":"\u0419","jcy;":"\u0439","Jfr;":"\ud835\udd0d","jfr;":"\ud835\udd27","Kcy;":"\u041a","kcy;":"\u043a","Kfr;":"\ud835\udd0e","kfr;":"\ud835\udd28","lap;":"\u2a85","lat;":"\u2aab","Lcy;":"\u041b","lcy;":"\u043b","lEg;":"\u2a8b","leg;":"\u22da","leq;":"\u2264","les;":"\u2a7d","Lfr;":"\ud835\udd0f","lfr;":"\ud835\udd29","lgE;":"\u2a91","lnE;":"\u2268","lne;":"\u2a87","loz;":"\u25ca","lrm;":"\u200e","Lsh;":"\u21b0","lsh;":"\u21b0",macr:"\xaf","Map;":"\u2905","map;":"\u21a6","Mcy;":"\u041c","mcy;":"\u043c","Mfr;":"\ud835\udd10","mfr;":"\ud835\udd2a","mho;":"\u2127","mid;":"\u2223","nap;":"\u2249",nbsp:"\xa0","Ncy;":"\u041d","ncy;":"\u043d","Nfr;":"\ud835\udd11","nfr;":"\ud835\udd2b","ngE;":"\u2267\u0338","nge;":"\u2271","nGg;":"\u22d9\u0338","nGt;":"\u226b\u20d2","ngt;":"\u226f","nis;":"\u22fc","niv;":"\u220b","nlE;":"\u2266\u0338","nle;":"\u2270","nLl;":"\u22d8\u0338","nLt;":"\u226a\u20d2","nlt;":"\u226e","Not;":"\u2aec","not;":"\xac","npr;":"\u2280","nsc;":"\u2281","num;":"#","Ocy;":"\u041e","ocy;":"\u043e","Ofr;":"\ud835\udd12","ofr;":"\ud835\udd2c","ogt;":"\u29c1","ohm;":"\u03a9","olt;":"\u29c0","ord;":"\u2a5d",ordf:"\xaa",ordm:"\xba","orv;":"\u2a5b",Ouml:"\xd6",ouml:"\xf6","par;":"\u2225",para:"\xb6","Pcy;":"\u041f","pcy;":"\u043f","Pfr;":"\ud835\udd13","pfr;":"\ud835\udd2d","Phi;":"\u03a6","phi;":"\u03c6","piv;":"\u03d6","prE;":"\u2ab3","pre;":"\u2aaf","Psi;":"\u03a8","psi;":"\u03c8","Qfr;":"\ud835\udd14","qfr;":"\ud835\udd2e",QUOT:'"',quot:'"',"Rcy;":"\u0420","rcy;":"\u0440","REG;":"\xae","reg;":"\xae","Rfr;":"\u211c","rfr;":"\ud835\udd2f","Rho;":"\u03a1","rho;":"\u03c1","rlm;":"\u200f","Rsh;":"\u21b1","rsh;":"\u21b1","scE;":"\u2ab4","sce;":"\u2ab0","Scy;":"\u0421","scy;":"\u0441",sect:"\xa7","Sfr;":"\ud835\udd16","sfr;":"\ud835\udd30","shy;":"\xad","sim;":"\u223c","smt;":"\u2aaa","sol;":"/","squ;":"\u25a1","Sub;":"\u22d0","sub;":"\u2282","Sum;":"\u2211","sum;":"\u2211","Sup;":"\u22d1","sup;":"\u2283",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3","Tab;":"\t","Tau;":"\u03a4","tau;":"\u03c4","Tcy;":"\u0422","tcy;":"\u0442","Tfr;":"\ud835\udd17","tfr;":"\ud835\udd31","top;":"\u22a4","Ucy;":"\u0423","ucy;":"\u0443","Ufr;":"\ud835\udd18","ufr;":"\ud835\udd32","uml;":"\xa8",Uuml:"\xdc",uuml:"\xfc","Vcy;":"\u0412","vcy;":"\u0432","Vee;":"\u22c1","vee;":"\u2228","Vfr;":"\ud835\udd19","vfr;":"\ud835\udd33","Wfr;":"\ud835\udd1a","wfr;":"\ud835\udd34","Xfr;":"\ud835\udd1b","xfr;":"\ud835\udd35","Ycy;":"\u042b","ycy;":"\u044b","yen;":"\xa5","Yfr;":"\ud835\udd1c","yfr;":"\ud835\udd36",yuml:"\xff","Zcy;":"\u0417","zcy;":"\u0437","Zfr;":"\u2128","zfr;":"\ud835\udd37","zwj;":"\u200d",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",AElig:"\xc6",aelig:"\xe6","andd;":"\u2a5c","andv;":"\u2a5a","ange;":"\u29a4","Aopf;":"\ud835\udd38","aopf;":"\ud835\udd52","apid;":"\u224b","apos;":"'",Aring:"\xc5",aring:"\xe5","Ascr;":"\ud835\udc9c","ascr;":"\ud835\udcb6","Auml;":"\xc4","auml;":"\xe4","Barv;":"\u2ae7","bbrk;":"\u23b5","Beta;":"\u0392","beta;":"\u03b2","beth;":"\u2136","bNot;":"\u2aed","bnot;":"\u2310","Bopf;":"\ud835\udd39","bopf;":"\ud835\udd53","boxH;":"\u2550","boxh;":"\u2500","boxV;":"\u2551","boxv;":"\u2502","Bscr;":"\u212c","bscr;":"\ud835\udcb7","bsim;":"\u223d","bsol;":"\\","bull;":"\u2022","bump;":"\u224e","caps;":"\u2229\ufe00","Cdot;":"\u010a","cdot;":"\u010b",cedil:"\xb8","cent;":"\xa2","CHcy;":"\u0427","chcy;":"\u0447","circ;":"\u02c6","cirE;":"\u29c3","cire;":"\u2257","comp;":"\u2201","cong;":"\u2245","Copf;":"\u2102","copf;":"\ud835\udd54","COPY;":"\xa9","copy;":"\xa9","Cscr;":"\ud835\udc9e","cscr;":"\ud835\udcb8","csub;":"\u2acf","csup;":"\u2ad0","cups;":"\u222a\ufe00","Darr;":"\u21a1","dArr;":"\u21d3","darr;":"\u2193","dash;":"\u2010","dHar;":"\u2965","diam;":"\u22c4","DJcy;":"\u0402","djcy;":"\u0452","Dopf;":"\ud835\udd3b","dopf;":"\ud835\udd55","Dscr;":"\ud835\udc9f","dscr;":"\ud835\udcb9","DScy;":"\u0405","dscy;":"\u0455","dsol;":"\u29f6","dtri;":"\u25bf","DZcy;":"\u040f","dzcy;":"\u045f","ecir;":"\u2256",Ecirc:"\xca",ecirc:"\xea","Edot;":"\u0116","eDot;":"\u2251","edot;":"\u0117","emsp;":"\u2003","ensp;":"\u2002","Eopf;":"\ud835\udd3c","eopf;":"\ud835\udd56","epar;":"\u22d5","epsi;":"\u03b5","Escr;":"\u2130","escr;":"\u212f","Esim;":"\u2a73","esim;":"\u2242","Euml;":"\xcb","euml;":"\xeb","euro;":"\u20ac","excl;":"!","flat;":"\u266d","fnof;":"\u0192","Fopf;":"\ud835\udd3d","fopf;":"\ud835\udd57","fork;":"\u22d4","Fscr;":"\u2131","fscr;":"\ud835\udcbb","Gdot;":"\u0120","gdot;":"\u0121","geqq;":"\u2267","gesl;":"\u22db\ufe00","GJcy;":"\u0403","gjcy;":"\u0453","gnap;":"\u2a8a","gneq;":"\u2a88","Gopf;":"\ud835\udd3e","gopf;":"\ud835\udd58","Gscr;":"\ud835\udca2","gscr;":"\u210a","gsim;":"\u2273","gtcc;":"\u2aa7","gvnE;":"\u2269\ufe00","half;":"\xbd","hArr;":"\u21d4","harr;":"\u2194","hbar;":"\u210f","Hopf;":"\u210d","hopf;":"\ud835\udd59","Hscr;":"\u210b","hscr;":"\ud835\udcbd",Icirc:"\xce",icirc:"\xee","Idot;":"\u0130","IEcy;":"\u0415","iecy;":"\u0435",iexcl:"\xa1","imof;":"\u22b7","IOcy;":"\u0401","iocy;":"\u0451","Iopf;":"\ud835\udd40","iopf;":"\ud835\udd5a","Iota;":"\u0399","iota;":"\u03b9","Iscr;":"\u2110","iscr;":"\ud835\udcbe","isin;":"\u2208","Iuml;":"\xcf","iuml;":"\xef","Jopf;":"\ud835\udd41","jopf;":"\ud835\udd5b","Jscr;":"\ud835\udca5","jscr;":"\ud835\udcbf","KHcy;":"\u0425","khcy;":"\u0445","KJcy;":"\u040c","kjcy;":"\u045c","Kopf;":"\ud835\udd42","kopf;":"\ud835\udd5c","Kscr;":"\ud835\udca6","kscr;":"\ud835\udcc0","Lang;":"\u27ea","lang;":"\u27e8",laquo:"\xab","Larr;":"\u219e","lArr;":"\u21d0","larr;":"\u2190","late;":"\u2aad","lcub;":"{","ldca;":"\u2936","ldsh;":"\u21b2","leqq;":"\u2266","lesg;":"\u22da\ufe00","lHar;":"\u2962","LJcy;":"\u0409","ljcy;":"\u0459","lnap;":"\u2a89","lneq;":"\u2a87","Lopf;":"\ud835\udd43","lopf;":"\ud835\udd5d","lozf;":"\u29eb","lpar;":"(","Lscr;":"\u2112","lscr;":"\ud835\udcc1","lsim;":"\u2272","lsqb;":"[","ltcc;":"\u2aa6","ltri;":"\u25c3","lvnE;":"\u2268\ufe00","macr;":"\xaf","male;":"\u2642","malt;":"\u2720",micro:"\xb5","mlcp;":"\u2adb","mldr;":"\u2026","Mopf;":"\ud835\udd44","mopf;":"\ud835\udd5e","Mscr;":"\u2133","mscr;":"\ud835\udcc2","nang;":"\u2220\u20d2","napE;":"\u2a70\u0338","nbsp;":"\xa0","ncap;":"\u2a43","ncup;":"\u2a42","ngeq;":"\u2271","nges;":"\u2a7e\u0338","ngtr;":"\u226f","nGtv;":"\u226b\u0338","nisd;":"\u22fa","NJcy;":"\u040a","njcy;":"\u045a","nldr;":"\u2025","nleq;":"\u2270","nles;":"\u2a7d\u0338","nLtv;":"\u226a\u0338","nmid;":"\u2224","Nopf;":"\u2115","nopf;":"\ud835\udd5f","npar;":"\u2226","npre;":"\u2aaf\u0338","nsce;":"\u2ab0\u0338","Nscr;":"\ud835\udca9","nscr;":"\ud835\udcc3","nsim;":"\u2241","nsub;":"\u2284","nsup;":"\u2285","ntgl;":"\u2279","ntlg;":"\u2278","nvap;":"\u224d\u20d2","nvge;":"\u2265\u20d2","nvgt;":">\u20d2","nvle;":"\u2264\u20d2","nvlt;":"<\u20d2","oast;":"\u229b","ocir;":"\u229a",Ocirc:"\xd4",ocirc:"\xf4","odiv;":"\u2a38","odot;":"\u2299","ogon;":"\u02db","oint;":"\u222e","omid;":"\u29b6","Oopf;":"\ud835\udd46","oopf;":"\ud835\udd60","opar;":"\u29b7","ordf;":"\xaa","ordm;":"\xba","oror;":"\u2a56","Oscr;":"\ud835\udcaa","oscr;":"\u2134","osol;":"\u2298","Ouml;":"\xd6","ouml;":"\xf6","para;":"\xb6","part;":"\u2202","perp;":"\u22a5","phiv;":"\u03d5","plus;":"+","Popf;":"\u2119","popf;":"\ud835\udd61",pound:"\xa3","prap;":"\u2ab7","prec;":"\u227a","prnE;":"\u2ab5","prod;":"\u220f","prop;":"\u221d","Pscr;":"\ud835\udcab","pscr;":"\ud835\udcc5","qint;":"\u2a0c","Qopf;":"\u211a","qopf;":"\ud835\udd62","Qscr;":"\ud835\udcac","qscr;":"\ud835\udcc6","QUOT;":'"',"quot;":'"',"race;":"\u223d\u0331","Rang;":"\u27eb","rang;":"\u27e9",raquo:"\xbb","Rarr;":"\u21a0","rArr;":"\u21d2","rarr;":"\u2192","rcub;":"}","rdca;":"\u2937","rdsh;":"\u21b3","real;":"\u211c","rect;":"\u25ad","rHar;":"\u2964","rhov;":"\u03f1","ring;":"\u02da","Ropf;":"\u211d","ropf;":"\ud835\udd63","rpar;":")","Rscr;":"\u211b","rscr;":"\ud835\udcc7","rsqb;":"]","rtri;":"\u25b9","scap;":"\u2ab8","scnE;":"\u2ab6","sdot;":"\u22c5","sect;":"\xa7","semi;":";","sext;":"\u2736","SHcy;":"\u0428","shcy;":"\u0448","sime;":"\u2243","simg;":"\u2a9e","siml;":"\u2a9d","smid;":"\u2223","smte;":"\u2aac","solb;":"\u29c4","Sopf;":"\ud835\udd4a","sopf;":"\ud835\udd64","spar;":"\u2225","Sqrt;":"\u221a","squf;":"\u25aa","Sscr;":"\ud835\udcae","sscr;":"\ud835\udcc8","Star;":"\u22c6","star;":"\u2606","subE;":"\u2ac5","sube;":"\u2286","succ;":"\u227b","sung;":"\u266a","sup1;":"\xb9","sup2;":"\xb2","sup3;":"\xb3","supE;":"\u2ac6","supe;":"\u2287",szlig:"\xdf","tbrk;":"\u23b4","tdot;":"\u20db",THORN:"\xde",thorn:"\xfe",times:"\xd7","tint;":"\u222d","toea;":"\u2928","Topf;":"\ud835\udd4b","topf;":"\ud835\udd65","tosa;":"\u2929","trie;":"\u225c","Tscr;":"\ud835\udcaf","tscr;":"\ud835\udcc9","TScy;":"\u0426","tscy;":"\u0446","Uarr;":"\u219f","uArr;":"\u21d1","uarr;":"\u2191",Ucirc:"\xdb",ucirc:"\xfb","uHar;":"\u2963","Uopf;":"\ud835\udd4c","uopf;":"\ud835\udd66","Upsi;":"\u03d2","upsi;":"\u03c5","Uscr;":"\ud835\udcb0","uscr;":"\ud835\udcca","utri;":"\u25b5","Uuml;":"\xdc","uuml;":"\xfc","vArr;":"\u21d5","varr;":"\u2195","Vbar;":"\u2aeb","vBar;":"\u2ae8","Vert;":"\u2016","vert;":"|","Vopf;":"\ud835\udd4d","vopf;":"\ud835\udd67","Vscr;":"\ud835\udcb1","vscr;":"\ud835\udccb","Wopf;":"\ud835\udd4e","wopf;":"\ud835\udd68","Wscr;":"\ud835\udcb2","wscr;":"\ud835\udccc","xcap;":"\u22c2","xcup;":"\u22c3","xmap;":"\u27fc","xnis;":"\u22fb","Xopf;":"\ud835\udd4f","xopf;":"\ud835\udd69","Xscr;":"\ud835\udcb3","xscr;":"\ud835\udccd","xvee;":"\u22c1","YAcy;":"\u042f","yacy;":"\u044f","YIcy;":"\u0407","yicy;":"\u0457","Yopf;":"\ud835\udd50","yopf;":"\ud835\udd6a","Yscr;":"\ud835\udcb4","yscr;":"\ud835\udcce","YUcy;":"\u042e","yucy;":"\u044e","Yuml;":"\u0178","yuml;":"\xff","Zdot;":"\u017b","zdot;":"\u017c","Zeta;":"\u0396","zeta;":"\u03b6","ZHcy;":"\u0416","zhcy;":"\u0436","Zopf;":"\u2124","zopf;":"\ud835\udd6b","Zscr;":"\ud835\udcb5","zscr;":"\ud835\udccf","zwnj;":"\u200c",Aacute:"\xc1",aacute:"\xe1","Acirc;":"\xc2","acirc;":"\xe2","acute;":"\xb4","AElig;":"\xc6","aelig;":"\xe6",Agrave:"\xc0",agrave:"\xe0","aleph;":"\u2135","Alpha;":"\u0391","alpha;":"\u03b1","Amacr;":"\u0100","amacr;":"\u0101","amalg;":"\u2a3f","angle;":"\u2220","angrt;":"\u221f","angst;":"\xc5","Aogon;":"\u0104","aogon;":"\u0105","Aring;":"\xc5","aring;":"\xe5","asymp;":"\u2248",Atilde:"\xc3",atilde:"\xe3","awint;":"\u2a11","bcong;":"\u224c","bdquo;":"\u201e","bepsi;":"\u03f6","blank;":"\u2423","blk12;":"\u2592","blk14;":"\u2591","blk34;":"\u2593","block;":"\u2588","boxDL;":"\u2557","boxDl;":"\u2556","boxdL;":"\u2555","boxdl;":"\u2510","boxDR;":"\u2554","boxDr;":"\u2553","boxdR;":"\u2552","boxdr;":"\u250c","boxHD;":"\u2566","boxHd;":"\u2564","boxhD;":"\u2565","boxhd;":"\u252c","boxHU;":"\u2569","boxHu;":"\u2567","boxhU;":"\u2568","boxhu;":"\u2534","boxUL;":"\u255d","boxUl;":"\u255c","boxuL;":"\u255b","boxul;":"\u2518","boxUR;":"\u255a","boxUr;":"\u2559","boxuR;":"\u2558","boxur;":"\u2514","boxVH;":"\u256c","boxVh;":"\u256b","boxvH;":"\u256a","boxvh;":"\u253c","boxVL;":"\u2563","boxVl;":"\u2562","boxvL;":"\u2561","boxvl;":"\u2524","boxVR;":"\u2560","boxVr;":"\u255f","boxvR;":"\u255e","boxvr;":"\u251c","Breve;":"\u02d8","breve;":"\u02d8",brvbar:"\xa6","bsemi;":"\u204f","bsime;":"\u22cd","bsolb;":"\u29c5","bumpE;":"\u2aae","bumpe;":"\u224f","caret;":"\u2041","caron;":"\u02c7","ccaps;":"\u2a4d",Ccedil:"\xc7",ccedil:"\xe7","Ccirc;":"\u0108","ccirc;":"\u0109","ccups;":"\u2a4c","cedil;":"\xb8","check;":"\u2713","clubs;":"\u2663","Colon;":"\u2237","colon;":":","comma;":",","crarr;":"\u21b5","Cross;":"\u2a2f","cross;":"\u2717","csube;":"\u2ad1","csupe;":"\u2ad2","ctdot;":"\u22ef","cuepr;":"\u22de","cuesc;":"\u22df","cupor;":"\u2a45",curren:"\xa4","cuvee;":"\u22ce","cuwed;":"\u22cf","cwint;":"\u2231","Dashv;":"\u2ae4","dashv;":"\u22a3","dblac;":"\u02dd","ddarr;":"\u21ca","Delta;":"\u0394","delta;":"\u03b4","dharl;":"\u21c3","dharr;":"\u21c2","diams;":"\u2666","disin;":"\u22f2",divide:"\xf7","doteq;":"\u2250","dtdot;":"\u22f1","dtrif;":"\u25be","duarr;":"\u21f5","duhar;":"\u296f",Eacute:"\xc9",eacute:"\xe9","Ecirc;":"\xca","ecirc;":"\xea","eDDot;":"\u2a77","efDot;":"\u2252",Egrave:"\xc8",egrave:"\xe8","Emacr;":"\u0112","emacr;":"\u0113","empty;":"\u2205","Eogon;":"\u0118","eogon;":"\u0119","eplus;":"\u2a71","epsiv;":"\u03f5","eqsim;":"\u2242","Equal;":"\u2a75","equiv;":"\u2261","erarr;":"\u2971","erDot;":"\u2253","esdot;":"\u2250","exist;":"\u2203","fflig;":"\ufb00","filig;":"\ufb01","fjlig;":"fj","fllig;":"\ufb02","fltns;":"\u25b1","forkv;":"\u2ad9",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe","frasl;":"\u2044","frown;":"\u2322","Gamma;":"\u0393","gamma;":"\u03b3","Gcirc;":"\u011c","gcirc;":"\u011d","gescc;":"\u2aa9","gimel;":"\u2137","gneqq;":"\u2269","gnsim;":"\u22e7","grave;":"`","gsime;":"\u2a8e","gsiml;":"\u2a90","gtcir;":"\u2a7a","gtdot;":"\u22d7","Hacek;":"\u02c7","harrw;":"\u21ad","Hcirc;":"\u0124","hcirc;":"\u0125","hoarr;":"\u21ff",Iacute:"\xcd",iacute:"\xed","Icirc;":"\xce","icirc;":"\xee","iexcl;":"\xa1",Igrave:"\xcc",igrave:"\xec","iiint;":"\u222d","iiota;":"\u2129","IJlig;":"\u0132","ijlig;":"\u0133","Imacr;":"\u012a","imacr;":"\u012b","image;":"\u2111","imath;":"\u0131","imped;":"\u01b5","infin;":"\u221e","Iogon;":"\u012e","iogon;":"\u012f","iprod;":"\u2a3c",iquest:"\xbf","isinE;":"\u22f9","isins;":"\u22f4","isinv;":"\u2208","Iukcy;":"\u0406","iukcy;":"\u0456","Jcirc;":"\u0134","jcirc;":"\u0135","jmath;":"\u0237","Jukcy;":"\u0404","jukcy;":"\u0454","Kappa;":"\u039a","kappa;":"\u03ba","lAarr;":"\u21da","langd;":"\u2991","laquo;":"\xab","larrb;":"\u21e4","lates;":"\u2aad\ufe00","lBarr;":"\u290e","lbarr;":"\u290c","lbbrk;":"\u2772","lbrke;":"\u298b","lceil;":"\u2308","ldquo;":"\u201c","lescc;":"\u2aa8","lhard;":"\u21bd","lharu;":"\u21bc","lhblk;":"\u2584","llarr;":"\u21c7","lltri;":"\u25fa","lneqq;":"\u2268","lnsim;":"\u22e6","loang;":"\u27ec","loarr;":"\u21fd","lobrk;":"\u27e6","lopar;":"\u2985","lrarr;":"\u21c6","lrhar;":"\u21cb","lrtri;":"\u22bf","lsime;":"\u2a8d","lsimg;":"\u2a8f","lsquo;":"\u2018","ltcir;":"\u2a79","ltdot;":"\u22d6","ltrie;":"\u22b4","ltrif;":"\u25c2","mdash;":"\u2014","mDDot;":"\u223a","micro;":"\xb5",middot:"\xb7","minus;":"\u2212","mumap;":"\u22b8","nabla;":"\u2207","napid;":"\u224b\u0338","napos;":"\u0149","natur;":"\u266e","nbump;":"\u224e\u0338","ncong;":"\u2247","ndash;":"\u2013","neArr;":"\u21d7","nearr;":"\u2197","nedot;":"\u2250\u0338","nesim;":"\u2242\u0338","ngeqq;":"\u2267\u0338","ngsim;":"\u2275","nhArr;":"\u21ce","nharr;":"\u21ae","nhpar;":"\u2af2","nlArr;":"\u21cd","nlarr;":"\u219a","nleqq;":"\u2266\u0338","nless;":"\u226e","nlsim;":"\u2274","nltri;":"\u22ea","notin;":"\u2209","notni;":"\u220c","npart;":"\u2202\u0338","nprec;":"\u2280","nrArr;":"\u21cf","nrarr;":"\u219b","nrtri;":"\u22eb","nsime;":"\u2244","nsmid;":"\u2224","nspar;":"\u2226","nsubE;":"\u2ac5\u0338","nsube;":"\u2288","nsucc;":"\u2281","nsupE;":"\u2ac6\u0338","nsupe;":"\u2289",Ntilde:"\xd1",ntilde:"\xf1","numsp;":"\u2007","nvsim;":"\u223c\u20d2","nwArr;":"\u21d6","nwarr;":"\u2196",Oacute:"\xd3",oacute:"\xf3","Ocirc;":"\xd4","ocirc;":"\xf4","odash;":"\u229d","OElig;":"\u0152","oelig;":"\u0153","ofcir;":"\u29bf",Ograve:"\xd2",ograve:"\xf2","ohbar;":"\u29b5","olarr;":"\u21ba","olcir;":"\u29be","oline;":"\u203e","Omacr;":"\u014c","omacr;":"\u014d","Omega;":"\u03a9","omega;":"\u03c9","operp;":"\u29b9","oplus;":"\u2295","orarr;":"\u21bb","order;":"\u2134",Oslash:"\xd8",oslash:"\xf8",Otilde:"\xd5",otilde:"\xf5","ovbar;":"\u233d","parsl;":"\u2afd","phone;":"\u260e","plusb;":"\u229e","pluse;":"\u2a72",plusmn:"\xb1","pound;":"\xa3","prcue;":"\u227c","Prime;":"\u2033","prime;":"\u2032","prnap;":"\u2ab9","prsim;":"\u227e","quest;":"?","rAarr;":"\u21db","radic;":"\u221a","rangd;":"\u2992","range;":"\u29a5","raquo;":"\xbb","rarrb;":"\u21e5","rarrc;":"\u2933","rarrw;":"\u219d","ratio;":"\u2236","RBarr;":"\u2910","rBarr;":"\u290f","rbarr;":"\u290d","rbbrk;":"\u2773","rbrke;":"\u298c","rceil;":"\u2309","rdquo;":"\u201d","reals;":"\u211d","rhard;":"\u21c1","rharu;":"\u21c0","rlarr;":"\u21c4","rlhar;":"\u21cc","rnmid;":"\u2aee","roang;":"\u27ed","roarr;":"\u21fe","robrk;":"\u27e7","ropar;":"\u2986","rrarr;":"\u21c9","rsquo;":"\u2019","rtrie;":"\u22b5","rtrif;":"\u25b8","sbquo;":"\u201a","sccue;":"\u227d","Scirc;":"\u015c","scirc;":"\u015d","scnap;":"\u2aba","scsim;":"\u227f","sdotb;":"\u22a1","sdote;":"\u2a66","seArr;":"\u21d8","searr;":"\u2198","setmn;":"\u2216","sharp;":"\u266f","Sigma;":"\u03a3","sigma;":"\u03c3","simeq;":"\u2243","simgE;":"\u2aa0","simlE;":"\u2a9f","simne;":"\u2246","slarr;":"\u2190","smile;":"\u2323","smtes;":"\u2aac\ufe00","sqcap;":"\u2293","sqcup;":"\u2294","sqsub;":"\u228f","sqsup;":"\u2290","srarr;":"\u2192","starf;":"\u2605","strns;":"\xaf","subnE;":"\u2acb","subne;":"\u228a","supnE;":"\u2acc","supne;":"\u228b","swArr;":"\u21d9","swarr;":"\u2199","szlig;":"\xdf","Theta;":"\u0398","theta;":"\u03b8","thkap;":"\u2248","THORN;":"\xde","thorn;":"\xfe","Tilde;":"\u223c","tilde;":"\u02dc","times;":"\xd7","TRADE;":"\u2122","trade;":"\u2122","trisb;":"\u29cd","TSHcy;":"\u040b","tshcy;":"\u045b","twixt;":"\u226c",Uacute:"\xda",uacute:"\xfa","Ubrcy;":"\u040e","ubrcy;":"\u045e","Ucirc;":"\xdb","ucirc;":"\xfb","udarr;":"\u21c5","udhar;":"\u296e",Ugrave:"\xd9",ugrave:"\xf9","uharl;":"\u21bf","uharr;":"\u21be","uhblk;":"\u2580","ultri;":"\u25f8","Umacr;":"\u016a","umacr;":"\u016b","Union;":"\u22c3","Uogon;":"\u0172","uogon;":"\u0173","uplus;":"\u228e","upsih;":"\u03d2","UpTee;":"\u22a5","Uring;":"\u016e","uring;":"\u016f","urtri;":"\u25f9","utdot;":"\u22f0","utrif;":"\u25b4","uuarr;":"\u21c8","varpi;":"\u03d6","vBarv;":"\u2ae9","VDash;":"\u22ab","Vdash;":"\u22a9","vDash;":"\u22a8","vdash;":"\u22a2","veeeq;":"\u225a","vltri;":"\u22b2","vnsub;":"\u2282\u20d2","vnsup;":"\u2283\u20d2","vprop;":"\u221d","vrtri;":"\u22b3","Wcirc;":"\u0174","wcirc;":"\u0175","Wedge;":"\u22c0","wedge;":"\u2227","xcirc;":"\u25ef","xdtri;":"\u25bd","xhArr;":"\u27fa","xharr;":"\u27f7","xlArr;":"\u27f8","xlarr;":"\u27f5","xodot;":"\u2a00","xrArr;":"\u27f9","xrarr;":"\u27f6","xutri;":"\u25b3",Yacute:"\xdd",yacute:"\xfd","Ycirc;":"\u0176","ycirc;":"\u0177","Aacute;":"\xc1","aacute;":"\xe1","Abreve;":"\u0102","abreve;":"\u0103","Agrave;":"\xc0","agrave;":"\xe0","andand;":"\u2a55","angmsd;":"\u2221","angsph;":"\u2222","apacir;":"\u2a6f","approx;":"\u2248","Assign;":"\u2254","Atilde;":"\xc3","atilde;":"\xe3","barvee;":"\u22bd","Barwed;":"\u2306","barwed;":"\u2305","becaus;":"\u2235","bernou;":"\u212c","bigcap;":"\u22c2","bigcup;":"\u22c3","bigvee;":"\u22c1","bkarow;":"\u290d","bottom;":"\u22a5","bowtie;":"\u22c8","boxbox;":"\u29c9","bprime;":"\u2035","brvbar;":"\xa6","bullet;":"\u2022","Bumpeq;":"\u224e","bumpeq;":"\u224f","Cacute;":"\u0106","cacute;":"\u0107","capand;":"\u2a44","capcap;":"\u2a4b","capcup;":"\u2a47","capdot;":"\u2a40","Ccaron;":"\u010c","ccaron;":"\u010d","Ccedil;":"\xc7","ccedil;":"\xe7","circeq;":"\u2257","cirmid;":"\u2aef","Colone;":"\u2a74","colone;":"\u2254","commat;":"@","compfn;":"\u2218","Conint;":"\u222f","conint;":"\u222e","coprod;":"\u2210","copysr;":"\u2117","cularr;":"\u21b6","CupCap;":"\u224d","cupcap;":"\u2a46","cupcup;":"\u2a4a","cupdot;":"\u228d","curarr;":"\u21b7","curren;":"\xa4","cylcty;":"\u232d","Dagger;":"\u2021","dagger;":"\u2020","daleth;":"\u2138","Dcaron;":"\u010e","dcaron;":"\u010f","dfisht;":"\u297f","divide;":"\xf7","divonx;":"\u22c7","dlcorn;":"\u231e","dlcrop;":"\u230d","dollar;":"$","DotDot;":"\u20dc","drcorn;":"\u231f","drcrop;":"\u230c","Dstrok;":"\u0110","dstrok;":"\u0111","Eacute;":"\xc9","eacute;":"\xe9","easter;":"\u2a6e","Ecaron;":"\u011a","ecaron;":"\u011b","ecolon;":"\u2255","Egrave;":"\xc8","egrave;":"\xe8","egsdot;":"\u2a98","elsdot;":"\u2a97","emptyv;":"\u2205","emsp13;":"\u2004","emsp14;":"\u2005","eparsl;":"\u29e3","eqcirc;":"\u2256","equals;":"=","equest;":"\u225f","Exists;":"\u2203","female;":"\u2640","ffilig;":"\ufb03","ffllig;":"\ufb04","ForAll;":"\u2200","forall;":"\u2200","frac12;":"\xbd","frac13;":"\u2153","frac14;":"\xbc","frac15;":"\u2155","frac16;":"\u2159","frac18;":"\u215b","frac23;":"\u2154","frac25;":"\u2156","frac34;":"\xbe","frac35;":"\u2157","frac38;":"\u215c","frac45;":"\u2158","frac56;":"\u215a","frac58;":"\u215d","frac78;":"\u215e","gacute;":"\u01f5","Gammad;":"\u03dc","gammad;":"\u03dd","Gbreve;":"\u011e","gbreve;":"\u011f","Gcedil;":"\u0122","gesdot;":"\u2a80","gesles;":"\u2a94","gtlPar;":"\u2995","gtrarr;":"\u2978","gtrdot;":"\u22d7","gtrsim;":"\u2273","hairsp;":"\u200a","hamilt;":"\u210b","HARDcy;":"\u042a","hardcy;":"\u044a","hearts;":"\u2665","hellip;":"\u2026","hercon;":"\u22b9","homtht;":"\u223b","horbar;":"\u2015","hslash;":"\u210f","Hstrok;":"\u0126","hstrok;":"\u0127","hybull;":"\u2043","hyphen;":"\u2010","Iacute;":"\xcd","iacute;":"\xed","Igrave;":"\xcc","igrave;":"\xec","iiiint;":"\u2a0c","iinfin;":"\u29dc","incare;":"\u2105","inodot;":"\u0131","intcal;":"\u22ba","iquest;":"\xbf","isinsv;":"\u22f3","Itilde;":"\u0128","itilde;":"\u0129","Jsercy;":"\u0408","jsercy;":"\u0458","kappav;":"\u03f0","Kcedil;":"\u0136","kcedil;":"\u0137","kgreen;":"\u0138","Lacute;":"\u0139","lacute;":"\u013a","lagran;":"\u2112","Lambda;":"\u039b","lambda;":"\u03bb","langle;":"\u27e8","larrfs;":"\u291d","larrhk;":"\u21a9","larrlp;":"\u21ab","larrpl;":"\u2939","larrtl;":"\u21a2","lAtail;":"\u291b","latail;":"\u2919","lbrace;":"{","lbrack;":"[","Lcaron;":"\u013d","lcaron;":"\u013e","Lcedil;":"\u013b","lcedil;":"\u013c","ldquor;":"\u201e","lesdot;":"\u2a7f","lesges;":"\u2a93","lfisht;":"\u297c","lfloor;":"\u230a","lharul;":"\u296a","llhard;":"\u296b","Lmidot;":"\u013f","lmidot;":"\u0140","lmoust;":"\u23b0","loplus;":"\u2a2d","lowast;":"\u2217","lowbar;":"_","lparlt;":"\u2993","lrhard;":"\u296d","lsaquo;":"\u2039","lsquor;":"\u201a","Lstrok;":"\u0141","lstrok;":"\u0142","lthree;":"\u22cb","ltimes;":"\u22c9","ltlarr;":"\u2976","ltrPar;":"\u2996","mapsto;":"\u21a6","marker;":"\u25ae","mcomma;":"\u2a29","midast;":"*","midcir;":"\u2af0","middot;":"\xb7","minusb;":"\u229f","minusd;":"\u2238","mnplus;":"\u2213","models;":"\u22a7","mstpos;":"\u223e","Nacute;":"\u0143","nacute;":"\u0144","nbumpe;":"\u224f\u0338","Ncaron;":"\u0147","ncaron;":"\u0148","Ncedil;":"\u0145","ncedil;":"\u0146","nearhk;":"\u2924","nequiv;":"\u2262","nesear;":"\u2928","nexist;":"\u2204","nltrie;":"\u22ec","notinE;":"\u22f9\u0338","nparsl;":"\u2afd\u20e5","nprcue;":"\u22e0","nrarrc;":"\u2933\u0338","nrarrw;":"\u219d\u0338","nrtrie;":"\u22ed","nsccue;":"\u22e1","nsimeq;":"\u2244","Ntilde;":"\xd1","ntilde;":"\xf1","numero;":"\u2116","nVDash;":"\u22af","nVdash;":"\u22ae","nvDash;":"\u22ad","nvdash;":"\u22ac","nvHarr;":"\u2904","nvlArr;":"\u2902","nvrArr;":"\u2903","nwarhk;":"\u2923","nwnear;":"\u2927","Oacute;":"\xd3","oacute;":"\xf3","Odblac;":"\u0150","odblac;":"\u0151","odsold;":"\u29bc","Ograve;":"\xd2","ograve;":"\xf2","ominus;":"\u2296","origof;":"\u22b6","Oslash;":"\xd8","oslash;":"\xf8","Otilde;":"\xd5","otilde;":"\xf5","Otimes;":"\u2a37","otimes;":"\u2297","parsim;":"\u2af3","percnt;":"%","period;":".","permil;":"\u2030","phmmat;":"\u2133","planck;":"\u210f","plankv;":"\u210f","plusdo;":"\u2214","plusdu;":"\u2a25","plusmn;":"\xb1","preceq;":"\u2aaf","primes;":"\u2119","prnsim;":"\u22e8","propto;":"\u221d","prurel;":"\u22b0","puncsp;":"\u2008","qprime;":"\u2057","Racute;":"\u0154","racute;":"\u0155","rangle;":"\u27e9","rarrap;":"\u2975","rarrfs;":"\u291e","rarrhk;":"\u21aa","rarrlp;":"\u21ac","rarrpl;":"\u2945","Rarrtl;":"\u2916","rarrtl;":"\u21a3","rAtail;":"\u291c","ratail;":"\u291a","rbrace;":"}","rbrack;":"]","Rcaron;":"\u0158","rcaron;":"\u0159","Rcedil;":"\u0156","rcedil;":"\u0157","rdquor;":"\u201d","rfisht;":"\u297d","rfloor;":"\u230b","rharul;":"\u296c","rmoust;":"\u23b1","roplus;":"\u2a2e","rpargt;":"\u2994","rsaquo;":"\u203a","rsquor;":"\u2019","rthree;":"\u22cc","rtimes;":"\u22ca","Sacute;":"\u015a","sacute;":"\u015b","Scaron;":"\u0160","scaron;":"\u0161","Scedil;":"\u015e","scedil;":"\u015f","scnsim;":"\u22e9","searhk;":"\u2925","seswar;":"\u2929","sfrown;":"\u2322","SHCHcy;":"\u0429","shchcy;":"\u0449","sigmaf;":"\u03c2","sigmav;":"\u03c2","simdot;":"\u2a6a","smashp;":"\u2a33","SOFTcy;":"\u042c","softcy;":"\u044c","solbar;":"\u233f","spades;":"\u2660","sqcaps;":"\u2293\ufe00","sqcups;":"\u2294\ufe00","sqsube;":"\u2291","sqsupe;":"\u2292","Square;":"\u25a1","square;":"\u25a1","squarf;":"\u25aa","ssetmn;":"\u2216","ssmile;":"\u2323","sstarf;":"\u22c6","subdot;":"\u2abd","Subset;":"\u22d0","subset;":"\u2282","subsim;":"\u2ac7","subsub;":"\u2ad5","subsup;":"\u2ad3","succeq;":"\u2ab0","supdot;":"\u2abe","Supset;":"\u22d1","supset;":"\u2283","supsim;":"\u2ac8","supsub;":"\u2ad4","supsup;":"\u2ad6","swarhk;":"\u2926","swnwar;":"\u292a","target;":"\u2316","Tcaron;":"\u0164","tcaron;":"\u0165","Tcedil;":"\u0162","tcedil;":"\u0163","telrec;":"\u2315","there4;":"\u2234","thetav;":"\u03d1","thinsp;":"\u2009","thksim;":"\u223c","timesb;":"\u22a0","timesd;":"\u2a30","topbot;":"\u2336","topcir;":"\u2af1","tprime;":"\u2034","tridot;":"\u25ec","Tstrok;":"\u0166","tstrok;":"\u0167","Uacute;":"\xda","uacute;":"\xfa","Ubreve;":"\u016c","ubreve;":"\u016d","Udblac;":"\u0170","udblac;":"\u0171","ufisht;":"\u297e","Ugrave;":"\xd9","ugrave;":"\xf9","ulcorn;":"\u231c","ulcrop;":"\u230f","urcorn;":"\u231d","urcrop;":"\u230e","Utilde;":"\u0168","utilde;":"\u0169","vangrt;":"\u299c","varphi;":"\u03d5","varrho;":"\u03f1","Vdashl;":"\u2ae6","veebar;":"\u22bb","vellip;":"\u22ee","Verbar;":"\u2016","verbar;":"|","vsubnE;":"\u2acb\ufe00","vsubne;":"\u228a\ufe00","vsupnE;":"\u2acc\ufe00","vsupne;":"\u228b\ufe00","Vvdash;":"\u22aa","wedbar;":"\u2a5f","wedgeq;":"\u2259","weierp;":"\u2118","wreath;":"\u2240","xoplus;":"\u2a01","xotime;":"\u2a02","xsqcup;":"\u2a06","xuplus;":"\u2a04","xwedge;":"\u22c0","Yacute;":"\xdd","yacute;":"\xfd","Zacute;":"\u0179","zacute;":"\u017a","Zcaron;":"\u017d","zcaron;":"\u017e","zeetrf;":"\u2128","alefsym;":"\u2135","angrtvb;":"\u22be","angzarr;":"\u237c","asympeq;":"\u224d","backsim;":"\u223d","Because;":"\u2235","because;":"\u2235","bemptyv;":"\u29b0","between;":"\u226c","bigcirc;":"\u25ef","bigodot;":"\u2a00","bigstar;":"\u2605","bnequiv;":"\u2261\u20e5","boxplus;":"\u229e","Cayleys;":"\u212d","Cconint;":"\u2230","ccupssm;":"\u2a50","Cedilla;":"\xb8","cemptyv;":"\u29b2","cirscir;":"\u29c2","coloneq;":"\u2254","congdot;":"\u2a6d","cudarrl;":"\u2938","cudarrr;":"\u2935","cularrp;":"\u293d","curarrm;":"\u293c","dbkarow;":"\u290f","ddagger;":"\u2021","ddotseq;":"\u2a77","demptyv;":"\u29b1","Diamond;":"\u22c4","diamond;":"\u22c4","digamma;":"\u03dd","dotplus;":"\u2214","DownTee;":"\u22a4","dwangle;":"\u29a6","Element;":"\u2208","Epsilon;":"\u0395","epsilon;":"\u03b5","eqcolon;":"\u2255","equivDD;":"\u2a78","gesdoto;":"\u2a82","gtquest;":"\u2a7c","gtrless;":"\u2277","harrcir;":"\u2948","Implies;":"\u21d2","intprod;":"\u2a3c","isindot;":"\u22f5","larrbfs;":"\u291f","larrsim;":"\u2973","lbrksld;":"\u298f","lbrkslu;":"\u298d","ldrdhar;":"\u2967","LeftTee;":"\u22a3","lesdoto;":"\u2a81","lessdot;":"\u22d6","lessgtr;":"\u2276","lesssim;":"\u2272","lotimes;":"\u2a34","lozenge;":"\u25ca","ltquest;":"\u2a7b","luruhar;":"\u2966","maltese;":"\u2720","minusdu;":"\u2a2a","napprox;":"\u2249","natural;":"\u266e","nearrow;":"\u2197","NewLine;":"\n","nexists;":"\u2204","NoBreak;":"\u2060","notinva;":"\u2209","notinvb;":"\u22f7","notinvc;":"\u22f6","NotLess;":"\u226e","notniva;":"\u220c","notnivb;":"\u22fe","notnivc;":"\u22fd","npolint;":"\u2a14","npreceq;":"\u2aaf\u0338","nsqsube;":"\u22e2","nsqsupe;":"\u22e3","nsubset;":"\u2282\u20d2","nsucceq;":"\u2ab0\u0338","nsupset;":"\u2283\u20d2","nvinfin;":"\u29de","nvltrie;":"\u22b4\u20d2","nvrtrie;":"\u22b5\u20d2","nwarrow;":"\u2196","olcross;":"\u29bb","Omicron;":"\u039f","omicron;":"\u03bf","orderof;":"\u2134","orslope;":"\u2a57","OverBar;":"\u203e","pertenk;":"\u2031","planckh;":"\u210e","pluscir;":"\u2a22","plussim;":"\u2a26","plustwo;":"\u2a27","precsim;":"\u227e","Product;":"\u220f","quatint;":"\u2a16","questeq;":"\u225f","rarrbfs;":"\u2920","rarrsim;":"\u2974","rbrksld;":"\u298e","rbrkslu;":"\u2990","rdldhar;":"\u2969","realine;":"\u211b","rotimes;":"\u2a35","ruluhar;":"\u2968","searrow;":"\u2198","simplus;":"\u2a24","simrarr;":"\u2972","subedot;":"\u2ac3","submult;":"\u2ac1","subplus;":"\u2abf","subrarr;":"\u2979","succsim;":"\u227f","supdsub;":"\u2ad8","supedot;":"\u2ac4","suphsol;":"\u27c9","suphsub;":"\u2ad7","suplarr;":"\u297b","supmult;":"\u2ac2","supplus;":"\u2ac0","swarrow;":"\u2199","topfork;":"\u2ada","triplus;":"\u2a39","tritime;":"\u2a3b","UpArrow;":"\u2191","Uparrow;":"\u21d1","uparrow;":"\u2191","Upsilon;":"\u03a5","upsilon;":"\u03c5","uwangle;":"\u29a7","vzigzag;":"\u299a","zigrarr;":"\u21dd","andslope;":"\u2a58","angmsdaa;":"\u29a8","angmsdab;":"\u29a9","angmsdac;":"\u29aa","angmsdad;":"\u29ab","angmsdae;":"\u29ac","angmsdaf;":"\u29ad","angmsdag;":"\u29ae","angmsdah;":"\u29af","angrtvbd;":"\u299d","approxeq;":"\u224a","awconint;":"\u2233","backcong;":"\u224c","barwedge;":"\u2305","bbrktbrk;":"\u23b6","bigoplus;":"\u2a01","bigsqcup;":"\u2a06","biguplus;":"\u2a04","bigwedge;":"\u22c0","boxminus;":"\u229f","boxtimes;":"\u22a0","bsolhsub;":"\u27c8","capbrcup;":"\u2a49","circledR;":"\xae","circledS;":"\u24c8","cirfnint;":"\u2a10","clubsuit;":"\u2663","cupbrcap;":"\u2a48","curlyvee;":"\u22ce","cwconint;":"\u2232","DDotrahd;":"\u2911","doteqdot;":"\u2251","DotEqual;":"\u2250","dotminus;":"\u2238","drbkarow;":"\u2910","dzigrarr;":"\u27ff","elinters;":"\u23e7","emptyset;":"\u2205","eqvparsl;":"\u29e5","fpartint;":"\u2a0d","geqslant;":"\u2a7e","gesdotol;":"\u2a84","gnapprox;":"\u2a8a","hksearow;":"\u2925","hkswarow;":"\u2926","imagline;":"\u2110","imagpart;":"\u2111","infintie;":"\u29dd","integers;":"\u2124","Integral;":"\u222b","intercal;":"\u22ba","intlarhk;":"\u2a17","laemptyv;":"\u29b4","ldrushar;":"\u294b","leqslant;":"\u2a7d","lesdotor;":"\u2a83","LessLess;":"\u2aa1","llcorner;":"\u231e","lnapprox;":"\u2a89","lrcorner;":"\u231f","lurdshar;":"\u294a","mapstoup;":"\u21a5","multimap;":"\u22b8","naturals;":"\u2115","ncongdot;":"\u2a6d\u0338","NotEqual;":"\u2260","notindot;":"\u22f5\u0338","NotTilde;":"\u2241","otimesas;":"\u2a36","parallel;":"\u2225","PartialD;":"\u2202","plusacir;":"\u2a23","pointint;":"\u2a15","Precedes;":"\u227a","precneqq;":"\u2ab5","precnsim;":"\u22e8","profalar;":"\u232e","profline;":"\u2312","profsurf;":"\u2313","raemptyv;":"\u29b3","realpart;":"\u211c","RightTee;":"\u22a2","rppolint;":"\u2a12","rtriltri;":"\u29ce","scpolint;":"\u2a13","setminus;":"\u2216","shortmid;":"\u2223","smeparsl;":"\u29e4","sqsubset;":"\u228f","sqsupset;":"\u2290","subseteq;":"\u2286","Succeeds;":"\u227b","succneqq;":"\u2ab6","succnsim;":"\u22e9","SuchThat;":"\u220b","Superset;":"\u2283","supseteq;":"\u2287","thetasym;":"\u03d1","thicksim;":"\u223c","timesbar;":"\u2a31","triangle;":"\u25b5","triminus;":"\u2a3a","trpezium;":"\u23e2","Uarrocir;":"\u2949","ulcorner;":"\u231c","UnderBar;":"_","urcorner;":"\u231d","varkappa;":"\u03f0","varsigma;":"\u03c2","vartheta;":"\u03d1","backprime;":"\u2035","backsimeq;":"\u22cd","Backslash;":"\u2216","bigotimes;":"\u2a02","CenterDot;":"\xb7","centerdot;":"\xb7","checkmark;":"\u2713","CircleDot;":"\u2299","complexes;":"\u2102","Congruent;":"\u2261","Coproduct;":"\u2210","dotsquare;":"\u22a1","DoubleDot;":"\xa8","DownArrow;":"\u2193","Downarrow;":"\u21d3","downarrow;":"\u2193","DownBreve;":"\u0311","gtrapprox;":"\u2a86","gtreqless;":"\u22db","gvertneqq;":"\u2269\ufe00","heartsuit;":"\u2665","HumpEqual;":"\u224f","LeftArrow;":"\u2190","Leftarrow;":"\u21d0","leftarrow;":"\u2190","LeftFloor;":"\u230a","lesseqgtr;":"\u22da","LessTilde;":"\u2272","lvertneqq;":"\u2268\ufe00","Mellintrf;":"\u2133","MinusPlus;":"\u2213","ngeqslant;":"\u2a7e\u0338","nleqslant;":"\u2a7d\u0338","NotCupCap;":"\u226d","NotExists;":"\u2204","NotSubset;":"\u2282\u20d2","nparallel;":"\u2226","nshortmid;":"\u2224","nsubseteq;":"\u2288","nsupseteq;":"\u2289","OverBrace;":"\u23de","pitchfork;":"\u22d4","PlusMinus;":"\xb1","rationals;":"\u211a","spadesuit;":"\u2660","subseteqq;":"\u2ac5","subsetneq;":"\u228a","supseteqq;":"\u2ac6","supsetneq;":"\u228b","Therefore;":"\u2234","therefore;":"\u2234","ThinSpace;":"\u2009","triangleq;":"\u225c","TripleDot;":"\u20db","UnionPlus;":"\u228e","varpropto;":"\u221d","Bernoullis;":"\u212c","circledast;":"\u229b","CirclePlus;":"\u2295","complement;":"\u2201","curlywedge;":"\u22cf","eqslantgtr;":"\u2a96","EqualTilde;":"\u2242","Fouriertrf;":"\u2131","gtreqqless;":"\u2a8c","ImaginaryI;":"\u2148","Laplacetrf;":"\u2112","LeftVector;":"\u21bc","lessapprox;":"\u2a85","lesseqqgtr;":"\u2a8b","Lleftarrow;":"\u21da","lmoustache;":"\u23b0","longmapsto;":"\u27fc","mapstodown;":"\u21a7","mapstoleft;":"\u21a4","nLeftarrow;":"\u21cd","nleftarrow;":"\u219a","NotElement;":"\u2209","NotGreater;":"\u226f","nsubseteqq;":"\u2ac5\u0338","nsupseteqq;":"\u2ac6\u0338","precapprox;":"\u2ab7","Proportion;":"\u2237","RightArrow;":"\u2192","Rightarrow;":"\u21d2","rightarrow;":"\u2192","RightFloor;":"\u230b","rmoustache;":"\u23b1","sqsubseteq;":"\u2291","sqsupseteq;":"\u2292","subsetneqq;":"\u2acb","succapprox;":"\u2ab8","supsetneqq;":"\u2acc","ThickSpace;":"\u205f\u200a","TildeEqual;":"\u2243","TildeTilde;":"\u2248","UnderBrace;":"\u23df","UpArrowBar;":"\u2912","UpTeeArrow;":"\u21a5","upuparrows;":"\u21c8","varepsilon;":"\u03f5","varnothing;":"\u2205","backepsilon;":"\u03f6","blacksquare;":"\u25aa","circledcirc;":"\u229a","circleddash;":"\u229d","CircleMinus;":"\u2296","CircleTimes;":"\u2297","curlyeqprec;":"\u22de","curlyeqsucc;":"\u22df","diamondsuit;":"\u2666","eqslantless;":"\u2a95","Equilibrium;":"\u21cc","expectation;":"\u2130","GreaterLess;":"\u2277","LeftCeiling;":"\u2308","LessGreater;":"\u2276","MediumSpace;":"\u205f","NotLessLess;":"\u226a\u0338","NotPrecedes;":"\u2280","NotSucceeds;":"\u2281","NotSuperset;":"\u2283\u20d2","nRightarrow;":"\u21cf","nrightarrow;":"\u219b","OverBracket;":"\u23b4","preccurlyeq;":"\u227c","precnapprox;":"\u2ab9","quaternions;":"\u210d","RightVector;":"\u21c0","Rrightarrow;":"\u21db","RuleDelayed;":"\u29f4","SmallCircle;":"\u2218","SquareUnion;":"\u2294","straightphi;":"\u03d5","SubsetEqual;":"\u2286","succcurlyeq;":"\u227d","succnapprox;":"\u2aba","thickapprox;":"\u2248","UpDownArrow;":"\u2195","Updownarrow;":"\u21d5","updownarrow;":"\u2195","VerticalBar;":"\u2223","blacklozenge;":"\u29eb","DownArrowBar;":"\u2913","DownTeeArrow;":"\u21a7","ExponentialE;":"\u2147","exponentiale;":"\u2147","GreaterEqual;":"\u2265","GreaterTilde;":"\u2273","HilbertSpace;":"\u210b","HumpDownHump;":"\u224e","Intersection;":"\u22c2","LeftArrowBar;":"\u21e4","LeftTeeArrow;":"\u21a4","LeftTriangle;":"\u22b2","LeftUpVector;":"\u21bf","NotCongruent;":"\u2262","NotHumpEqual;":"\u224f\u0338","NotLessEqual;":"\u2270","NotLessTilde;":"\u2274","Proportional;":"\u221d","RightCeiling;":"\u2309","risingdotseq;":"\u2253","RoundImplies;":"\u2970","ShortUpArrow;":"\u2191","SquareSubset;":"\u228f","triangledown;":"\u25bf","triangleleft;":"\u25c3","UnderBracket;":"\u23b5","varsubsetneq;":"\u228a\ufe00","varsupsetneq;":"\u228b\ufe00","VerticalLine;":"|","ApplyFunction;":"\u2061","bigtriangleup;":"\u25b3","blacktriangle;":"\u25b4","DifferentialD;":"\u2146","divideontimes;":"\u22c7","DoubleLeftTee;":"\u2ae4","DoubleUpArrow;":"\u21d1","fallingdotseq;":"\u2252","hookleftarrow;":"\u21a9","leftarrowtail;":"\u21a2","leftharpoonup;":"\u21bc","LeftTeeVector;":"\u295a","LeftVectorBar;":"\u2952","LessFullEqual;":"\u2266","LongLeftArrow;":"\u27f5","Longleftarrow;":"\u27f8","longleftarrow;":"\u27f5","looparrowleft;":"\u21ab","measuredangle;":"\u2221","NotEqualTilde;":"\u2242\u0338","NotTildeEqual;":"\u2244","NotTildeTilde;":"\u2249","ntriangleleft;":"\u22ea","Poincareplane;":"\u210c","PrecedesEqual;":"\u2aaf","PrecedesTilde;":"\u227e","RightArrowBar;":"\u21e5","RightTeeArrow;":"\u21a6","RightTriangle;":"\u22b3","RightUpVector;":"\u21be","shortparallel;":"\u2225","smallsetminus;":"\u2216","SucceedsEqual;":"\u2ab0","SucceedsTilde;":"\u227f","SupersetEqual;":"\u2287","triangleright;":"\u25b9","UpEquilibrium;":"\u296e","upharpoonleft;":"\u21bf","varsubsetneqq;":"\u2acb\ufe00","varsupsetneqq;":"\u2acc\ufe00","VerticalTilde;":"\u2240","VeryThinSpace;":"\u200a","curvearrowleft;":"\u21b6","DiacriticalDot;":"\u02d9","doublebarwedge;":"\u2306","DoubleRightTee;":"\u22a8","downdownarrows;":"\u21ca","DownLeftVector;":"\u21bd","GreaterGreater;":"\u2aa2","hookrightarrow;":"\u21aa","HorizontalLine;":"\u2500","InvisibleComma;":"\u2063","InvisibleTimes;":"\u2062","LeftDownVector;":"\u21c3","leftleftarrows;":"\u21c7","LeftRightArrow;":"\u2194","Leftrightarrow;":"\u21d4","leftrightarrow;":"\u2194","leftthreetimes;":"\u22cb","LessSlantEqual;":"\u2a7d","LongRightArrow;":"\u27f6","Longrightarrow;":"\u27f9","longrightarrow;":"\u27f6","looparrowright;":"\u21ac","LowerLeftArrow;":"\u2199","NestedLessLess;":"\u226a","NotGreaterLess;":"\u2279","NotLessGreater;":"\u2278","NotSubsetEqual;":"\u2288","NotVerticalBar;":"\u2224","nshortparallel;":"\u2226","ntriangleright;":"\u22eb","OpenCurlyQuote;":"\u2018","ReverseElement;":"\u220b","rightarrowtail;":"\u21a3","rightharpoonup;":"\u21c0","RightTeeVector;":"\u295b","RightVectorBar;":"\u2953","ShortDownArrow;":"\u2193","ShortLeftArrow;":"\u2190","SquareSuperset;":"\u2290","TildeFullEqual;":"\u2245","trianglelefteq;":"\u22b4","upharpoonright;":"\u21be","UpperLeftArrow;":"\u2196","ZeroWidthSpace;":"\u200b","bigtriangledown;":"\u25bd","circlearrowleft;":"\u21ba","CloseCurlyQuote;":"\u2019","ContourIntegral;":"\u222e","curvearrowright;":"\u21b7","DoubleDownArrow;":"\u21d3","DoubleLeftArrow;":"\u21d0","downharpoonleft;":"\u21c3","DownRightVector;":"\u21c1","leftharpoondown;":"\u21bd","leftrightarrows;":"\u21c6","LeftRightVector;":"\u294e","LeftTriangleBar;":"\u29cf","LeftUpTeeVector;":"\u2960","LeftUpVectorBar;":"\u2958","LowerRightArrow;":"\u2198","nLeftrightarrow;":"\u21ce","nleftrightarrow;":"\u21ae","NotGreaterEqual;":"\u2271","NotGreaterTilde;":"\u2275","NotHumpDownHump;":"\u224e\u0338","NotLeftTriangle;":"\u22ea","NotSquareSubset;":"\u228f\u0338","ntrianglelefteq;":"\u22ec","OverParenthesis;":"\u23dc","RightDownVector;":"\u21c2","rightleftarrows;":"\u21c4","rightsquigarrow;":"\u219d","rightthreetimes;":"\u22cc","ShortRightArrow;":"\u2192","straightepsilon;":"\u03f5","trianglerighteq;":"\u22b5","UpperRightArrow;":"\u2197","vartriangleleft;":"\u22b2","circlearrowright;":"\u21bb","DiacriticalAcute;":"\xb4","DiacriticalGrave;":"`","DiacriticalTilde;":"\u02dc","DoubleRightArrow;":"\u21d2","DownArrowUpArrow;":"\u21f5","downharpoonright;":"\u21c2","EmptySmallSquare;":"\u25fb","GreaterEqualLess;":"\u22db","GreaterFullEqual;":"\u2267","LeftAngleBracket;":"\u27e8","LeftUpDownVector;":"\u2951","LessEqualGreater;":"\u22da","NonBreakingSpace;":"\xa0","NotPrecedesEqual;":"\u2aaf\u0338","NotRightTriangle;":"\u22eb","NotSucceedsEqual;":"\u2ab0\u0338","NotSucceedsTilde;":"\u227f\u0338","NotSupersetEqual;":"\u2289","ntrianglerighteq;":"\u22ed","rightharpoondown;":"\u21c1","rightrightarrows;":"\u21c9","RightTriangleBar;":"\u29d0","RightUpTeeVector;":"\u295c","RightUpVectorBar;":"\u2954","twoheadleftarrow;":"\u219e","UnderParenthesis;":"\u23dd","UpArrowDownArrow;":"\u21c5","vartriangleright;":"\u22b3","blacktriangledown;":"\u25be","blacktriangleleft;":"\u25c2","DoubleUpDownArrow;":"\u21d5","DoubleVerticalBar;":"\u2225","DownLeftTeeVector;":"\u295e","DownLeftVectorBar;":"\u2956","FilledSmallSquare;":"\u25fc","GreaterSlantEqual;":"\u2a7e","LeftDoubleBracket;":"\u27e6","LeftDownTeeVector;":"\u2961","LeftDownVectorBar;":"\u2959","leftrightharpoons;":"\u21cb","LeftTriangleEqual;":"\u22b4","NegativeThinSpace;":"\u200b","NotGreaterGreater;":"\u226b\u0338","NotLessSlantEqual;":"\u2a7d\u0338","NotNestedLessLess;":"\u2aa1\u0338","NotReverseElement;":"\u220c","NotSquareSuperset;":"\u2290\u0338","NotTildeFullEqual;":"\u2247","RightAngleBracket;":"\u27e9","rightleftharpoons;":"\u21cc","RightUpDownVector;":"\u294f","SquareSubsetEqual;":"\u2291","twoheadrightarrow;":"\u21a0","VerticalSeparator;":"\u2758","blacktriangleright;":"\u25b8","DownRightTeeVector;":"\u295f","DownRightVectorBar;":"\u2957","LongLeftRightArrow;":"\u27f7","Longleftrightarrow;":"\u27fa","longleftrightarrow;":"\u27f7","NegativeThickSpace;":"\u200b","NotLeftTriangleBar;":"\u29cf\u0338","PrecedesSlantEqual;":"\u227c","ReverseEquilibrium;":"\u21cb","RightDoubleBracket;":"\u27e7","RightDownTeeVector;":"\u295d","RightDownVectorBar;":"\u2955","RightTriangleEqual;":"\u22b5","SquareIntersection;":"\u2293","SucceedsSlantEqual;":"\u227d","DoubleLongLeftArrow;":"\u27f8","DownLeftRightVector;":"\u2950","LeftArrowRightArrow;":"\u21c6","leftrightsquigarrow;":"\u21ad","NegativeMediumSpace;":"\u200b","NotGreaterFullEqual;":"\u2267\u0338","NotRightTriangleBar;":"\u29d0\u0338","RightArrowLeftArrow;":"\u21c4","SquareSupersetEqual;":"\u2292","CapitalDifferentialD;":"\u2145","DoubleLeftRightArrow;":"\u21d4","DoubleLongRightArrow;":"\u27f9","EmptyVerySmallSquare;":"\u25ab","NestedGreaterGreater;":"\u226b","NotDoubleVerticalBar;":"\u2226","NotGreaterSlantEqual;":"\u2a7e\u0338","NotLeftTriangleEqual;":"\u22ec","NotSquareSubsetEqual;":"\u22e2","OpenCurlyDoubleQuote;":"\u201c","ReverseUpEquilibrium;":"\u296f","CloseCurlyDoubleQuote;":"\u201d","DoubleContourIntegral;":"\u222f","FilledVerySmallSquare;":"\u25aa","NegativeVeryThinSpace;":"\u200b","NotPrecedesSlantEqual;":"\u22e0","NotRightTriangleEqual;":"\u22ed","NotSucceedsSlantEqual;":"\u22e1","DiacriticalDoubleAcute;":"\u02dd","NotSquareSupersetEqual;":"\u22e3","NotNestedGreaterGreater;":"\u2aa2\u0338","ClockwiseContourIntegral;":"\u2232","DoubleLongLeftRightArrow;":"\u27fa","CounterClockwiseContourIntegral;":"\u2233"};let oa;const aa={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},ca=s("style,iframe,script,noscript",!0),la={isVoidTag:y,isNativeTag:e=>m(e)||g(e),isPreTag:e=>"pre"===e,decodeEntities:(e,t)=>{let r=0;const s=e.length;let n="";function i(t){r+=t,e=e.slice(t)}for(;r<s;){const o=/&(?:#x?)?/i.exec(e);if(!o||r+o.index>=s){const t=s-r;n+=e.slice(0,t),i(t);break}if(n+=e.slice(0,o.index),i(o.index),"&"===o[0]){let r="",s=void 0;if(/[0-9a-z]/i.test(e[1])){oa||(oa=Object.keys(ia).reduce((e,t)=>Math.max(e,t.length),0));for(let t=oa;!s&&t>0;--t)r=e.slice(1,1+t),s=ia[r];if(s){const o=r.endsWith(";");t&&!o&&/[=a-z0-9]/i.test(e[r.length+1]||"")?(n+="&"+r,i(1+r.length)):(n+=s,i(1+r.length))}else n+="&"+r,i(1+r.length)}else n+="&",i(1)}else{const t="&#x"===o[0],r=(t?/^&#x([0-9a-f]+);?/i:/^&#([0-9]+);?/).exec(e);if(r){let e=Number.parseInt(r[1],t?16:10);0===e||e>1114111||e>=55296&&e<=57343?e=65533:e>=64976&&e<=65007||65534==(65534&e)||(e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159)&&(e=aa[e]||e),n+=String.fromCodePoint(e),i(r[0].length)}else n+=o[0],i(o[0].length)}}return n},isBuiltInComponent:e=>Cs(e,"Transition")?sa:Cs(e,"TransitionGroup")?na:void 0,getNamespace(e,t){let r=t?t.ns:0;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},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(ca(e))return 2}return 0}},pa=e=>{1===e.type&&e.props.forEach((t,r)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[r]={type:7,name:"bind",arg:tt("style",!0,t.loc),exp:ha(t.value.content,t.loc),modifiers:[],loc:t.loc})})},ha=(e,t)=>{const r=u(e);return tt(JSON.stringify(r),!1,t,3)};function ua(e,t){return oe(e,t,da)}const da={51:"v-html is missing expression.",52:"v-html will override element children.",53:"v-text is missing expression.",54:"v-text will override element children.",55:"v-model can only be used on <input>, <textarea> and <select> elements.",56:"v-model argument is not supported on plain elements.",57:"v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.",58:"Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.",59:"v-show is missing expression.",60:"<Transition> expects exactly one child element or component.",61:"Tags with side effect (<script> and <style>) are ignored in client component templates."},fa=s("passive,once,capture"),ma=s("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),ga=s("left,right"),ya=s("onkeyup,onkeydown,onkeypress",!0),ba=(e,t)=>As(e)&&"onclick"===e.content.toLowerCase()?tt(t,!0):4!==e.type?st(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;function va(e){const t=e.children=e.children.filter(e=>3!==e.type&&!(2===e.type&&!e.content.trim())),r=t[0];return 1!==t.length||11===r.type||9===r.type&&r.branches.some(va)}const xa=/__VUE_EXP_START__(.*?)__VUE_EXP_END__/g,wa=(e,t,r)=>{if(t.scopes.vSlot>0)return;let s=0,n=0;const i=[],o=r=>{if(s>=20||n>=5){const s=nt(t.helper(xe),[JSON.stringify(i.map(e=>ka(e,t)).join("")).replace(xa,'" + $1 + "'),String(i.length)]);if(Ta(i[0],s,t),i.length>1){for(let e=1;e<i.length;e++)Ta(i[e],null,t);const s=i.length-1;return e.splice(r-i.length+1,s),s}}return 0};let a=0;for(;a<e.length;a++){const t=e[a];if(Sa(t)){const e=t,r=Ca(e);if(r){s+=r[0],n+=r[1],i.push(e);continue}}a-=o(a),s=0,n=0,i.length=0}o(a)},Sa=e=>(1===e.type&&0===e.tagType||12==e.type)&&e.codegenNode&&4===e.codegenNode.type&&e.codegenNode.hoisted,Ea=/^(data|aria)-/,Pa=(e,t)=>(0===t?E(e):1===t&&P(e))||Ea.test(e),Ta=(e,t,r)=>{const s=e.codegenNode.hoisted;r.hoists[r.hoists.indexOf(s)]=t},Aa=s("caption,thead,tr,th,tbody,td,tfoot,colgroup,col");function Ca(e){if(1===e.type&&Aa(e.tag))return!1;if(12===e.type)return[1,0];let t=1,r=e.props.length>0?1:0,s=!1;const n=()=>(s=!0,!1);return!!function e(i){for(let e=0;e<i.props.length;e++){const t=i.props[e];if(6===t.type&&!Pa(t.name,i.ns))return n();if(7===t.type&&"bind"===t.name){if(t.arg&&(8===t.arg.type||t.arg.isStatic&&!Pa(t.arg.content,i.ns)))return n();if(t.exp&&(8===t.exp.type||t.exp.constType<3))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&&r++,e(o),s))return!1}return!0}(e)&&[t,r]}function ka(e,t){if(q(e))return e;if($(e))return"";switch(e.type){case 1:return function(e,t){let r="<"+e.tag,s="";for(let t=0;t<e.props.length;t++){const n=e.props[t];if(6===n.type)r+=" "+n.name,n.value&&(r+=`="${A(n.value.content)}"`);else if(7===n.type)if("bind"===n.name){const e=n.exp;if("_"===e.content[0]){r+=` ${n.arg.content}="__VUE_EXP_START__${e.content}__VUE_EXP_END__"`;continue}if(b(n.arg.content)&&"false"===e.content)continue;let t=_a(e);if(null!=t){const e=n.arg&&n.arg.content;"class"===e?t=f(t):"style"===e&&(t=d(c(t))),r+=` ${n.arg.content}="${A(t)}"`}}else"html"===n.name?s=_a(n.exp):"text"===n.name&&(s=A(C(_a(n.exp))))}t.scopeId&&(r+=" "+t.scopeId);if(r+=">",s)r+=s;else for(let s=0;s<e.children.length;s++)r+=ka(e.children[s],t);y(e.tag)||(r+=`</${e.tag}>`);return r}(e,t);case 2:return A(e.content);case 3:return`\x3c!--${A(e.content)}--\x3e`;case 5:return A(C(_a(e.content)));case 8:return A(_a(e));case 12:return ka(e.content,t);default:return""}}function _a(e){if(4===e.type)return new Function("return "+e.content)();{let t="";return e.children.forEach(e=>{q(e)||$(e)||(2===e.type?t+=e.content:5===e.type?t+=C(_a(e.content)):t+=_a(e))}),t}}const Ia=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(ua(61,e.loc)),t.removeNode())},Na=[pa,(e,t)=>{if(1===e.type&&1===e.tagType){if(t.isBuiltInComponent(e.tag)===sa)return()=>{if(!e.children.length)return;va(e)&&t.onError(ua(60,{start:e.children[0].loc.start,end:e.children[e.children.length-1].loc.end,source:""}));const r=e.children[0];if(1===r.type)for(const t of r.props)7===t.type&&"show"===t.name&&e.props.push({type:6,name:"persisted",value:void 0,loc:e.loc})}}}],Oa={cloak:Yo,html:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(ua(51,n)),t.children.length&&(r.onError(ua(52,n)),t.children.length=0),{props:[et(tt("innerHTML",!0,n),s||tt("",!0))]}},text:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(ua(53,n)),t.children.length&&(r.onError(ua(54,n)),t.children.length=0),{props:[et(tt("textContent",!0),s?jn(s,r)>0?s:nt(r.helperString(_e),[s],n):tt("",!0))]}},model:(e,t,r)=>{const s=$o(e,t,r);if(!s.props.length||1===t.tagType)return s;function n(){const e=qs(t,"value");e&&r.onError(ua(58,e.loc))}e.arg&&r.onError(ua(56,e.arg.loc));const{tag:i}=t,o=r.isCustomElement(i);if("input"===i||"textarea"===i||"select"===i||o){let a=Xo,c=!1;if("input"===i||o){const s=qs(t,"type");if(s){if(7===s.type)a=Zo;else if(s.value)switch(s.value.content){case"radio":a=Jo;break;case"checkbox":a=Ko;break;case"file":c=!0,r.onError(ua(57,e.loc));break;default:n()}}else Vs(t)?a=Zo:n()}else"select"===i?a=Qo:n();c||(s.needRuntime=r.helper(a))}else r.onError(ua(55,e.loc));return s.props=s.props.filter(e=>!(4===e.key.type&&"modelValue"===e.key.content)),s},on:(e,t,r)=>Ro(e,t,r,t=>{const{modifiers:s}=e;if(!s.length)return t;let{key:n,value:i}=t.props[0];const{keyModifiers:o,nonKeyModifiers:a,eventOptionModifiers:c}=((e,t,r,s)=>{const n=[],i=[],o=[];for(let r=0;r<t.length;r++){const s=t[r];fa(s)?o.push(s):ga(s)?As(e)?ya(e.content)?n.push(s):i.push(s):(n.push(s),i.push(s)):ma(s)?i.push(s):n.push(s)}return{keyModifiers:n,nonKeyModifiers:i,eventOptionModifiers:o}})(n,s,0,e.loc);if(a.includes("right")&&(n=ba(n,"onContextmenu")),a.includes("middle")&&(n=ba(n,"onMouseup")),a.length&&(i=nt(r.helper(ea),[i,JSON.stringify(a)])),!o.length||As(n)&&!ya(n.content)||(i=nt(r.helper(ta),[i,JSON.stringify(o)])),c.length){const e=c.map(ee).join("");n=As(n)?tt(`${n.content}${e}`,!0):st(["(",n,`) + "${e}"`])}return{props:[et(n,i)]}}),show:(e,t,r)=>{const{exp:s,loc:n}=e;return s||r.onError(ua(59,n)),{props:[],needRuntime:r.helper(ra)}}};var La=Object.freeze({__proto__:null,parserOptions:la,DOMNodeTransforms:Na,DOMDirectiveTransforms:Oa,compile:function(e,t={}){return Wo(e,M({},la,t,{nodeTransforms:[Ia,...Na,...t.nodeTransforms||[]],directiveTransforms:M({},Oa,t.directiveTransforms||{}),transformHoist:wa}))},parse:function(e,t={}){return hn(e,M({},la,t))},transformStyle:pa,createDOMCompilerError:ua,V_MODEL_RADIO:Jo,V_MODEL_CHECKBOX:Ko,V_MODEL_TEXT:Xo,V_MODEL_SELECT:Qo,V_MODEL_DYNAMIC:Zo,V_ON_WITH_MODIFIERS:ea,V_ON_WITH_KEYS:ta,V_SHOW:ra,TRANSITION:sa,TRANSITION_GROUP:na,baseCompile:Wo,baseParse:hn,transform:zn,createTransformContext:Vn,traverseNode:Hn,createStructuralDirectiveTransform:Gn,generate:Oi,createCompilerError:oe,getBaseTransformPreset:Go,transformModel:$o,transformOn:Ro,transformBind:jo,noopDirectiveTransform:Yo,processIf:no,processFor:po,createForLoopParams:yo,transformExpression:eo,processExpression:to,stringifyExpression:ro,buildSlots:So,trackVForSlotScopes:xo,trackSlotScopes:vo,transformElement:To,resolveComponentType:Ao,buildProps:ko,buildDirectiveArgs:No,processSlotOutlet:Mo,getConstantType:jn,generateCodeFrame:a,checkCompatEnabled:on,warnDeprecation:an,locStub:Je,createRoot:Ke,createVNodeCall:Xe,createArrayExpression:Qe,createObjectExpression:Ze,createObjectProperty:et,createSimpleExpression:tt,createInterpolation:rt,createCompoundExpression:st,createCallExpression:nt,createFunctionExpression:it,createConditionalExpression:ot,createCacheExpression:at,createBlockStatement:ct,createTemplateLiteral:lt,createIfStatement:pt,createAssignmentExpression:ht,createSequenceExpression:ut,createReturnStatement:dt,isStaticExp:As,isBuiltInType:Cs,isCoreComponent:ks,isSimpleIdentifier:Is,isMemberExpressionBrowser:e=>{e=e.trim().replace(Ls,e=>e.trim());let t=0,r=[],s=0,n=0,i=null;for(let o=0;o<e.length;o++){const a=e.charAt(o);switch(t){case 0:if("["===a)r.push(t),t=1,s++;else if("("===a)r.push(t),t=2,n++;else if(!(0===o?Ns:Os).test(a))return!1;break;case 1:"'"===a||'"'===a||"`"===a?(r.push(t),t=3,i=a):"["===a?s++:"]"===a&&(--s||(t=r.pop()));break;case 2:if("'"===a||'"'===a||"`"===a)r.push(t),t=3,i=a;else if("("===a)n++;else if(")"===a){if(o===e.length-1)return!1;--n||(t=r.pop())}break;case 3:a===i&&(t=r.pop(),i=null)}}return!s&&!n},isMemberExpressionNode:Ms,isMemberExpression:Ds,getInnerRange:Rs,advancePositionWithClone:js,advancePositionWithMutation:Fs,assert:Bs,findDir:Us,findProp:qs,isStaticArgOf:$s,hasDynamicKeyVBind:Vs,isText:zs,isVSlot:Hs,isTemplateNode:Gs,isSlotOutlet:Ws,getVNodeHelper:Ys,getVNodeBlockHelper:Js,injectProp:Xs,toValidAssetId:Zs,hasScopeRef:en,getMemoedVNodeCall:tn,makeBlock:rn,walkIdentifiers:Vi,isReferencedIdentifier:zi,isInDestructureAssignment:Hi,walkFunctionParams:Gi,walkBlockDeclarations:Wi,extractIdentifiers:Yi,isFunctionType:Ki,isStaticProperty:Xi,isStaticPropertyKey:Qi,FRAGMENT:ce,TELEPORT:le,SUSPENSE:pe,KEEP_ALIVE:he,BASE_TRANSITION:ue,OPEN_BLOCK:de,CREATE_BLOCK:fe,CREATE_ELEMENT_BLOCK:me,CREATE_VNODE:ge,CREATE_ELEMENT_VNODE:ye,CREATE_COMMENT:be,CREATE_TEXT:ve,CREATE_STATIC:xe,RESOLVE_COMPONENT:we,RESOLVE_DYNAMIC_COMPONENT:Se,RESOLVE_DIRECTIVE:Ee,RESOLVE_FILTER:Pe,WITH_DIRECTIVES:Te,RENDER_LIST:Ae,RENDER_SLOT:Ce,CREATE_SLOTS:ke,TO_DISPLAY_STRING:_e,MERGE_PROPS:Ie,NORMALIZE_CLASS:Ne,NORMALIZE_STYLE:Oe,NORMALIZE_PROPS:Le,GUARD_REACTIVE_PROPS:Me,TO_HANDLERS:De,CAMELIZE:Re,CAPITALIZE:je,TO_HANDLER_KEY:Fe,SET_BLOCK_TRACKING:Be,PUSH_SCOPE_ID:Ue,POP_SCOPE_ID:qe,WITH_CTX:$e,UNREF:Ve,IS_REF:ze,WITH_MEMO:He,IS_MEMO_SAME:Ge,helperNameMap:We,registerRuntimeHelpers:Ye});function Ma(e,t){var r,s;if(0===t.length)return e;for(r=0,s=t.length;r<s;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return e<0?-2*e:e}function Da(e,t,r,s){var n,i=Ma(Ma(Ma(e,r),(n=t,Object.prototype.toString.call(n))),typeof t);if(null===t)return Ma(i,"null");if(void 0===t)return Ma(i,"undefined");if("object"==typeof t||"function"==typeof t){if(-1!==s.indexOf(t))return Ma(i,"[Circular]"+r);s.push(t);var o=function(e,t,r){return Object.keys(t).sort().reduce((function(e,s){return Da(e,t[s],s,r)}),e)}(i,t,s);if(!("valueOf"in t)||"function"!=typeof t.valueOf)return o;try{return Ma(o,String(t.valueOf()))}catch(e){return Ma(o,"[valueOf exception]"+(e.stack||e.message))}}return Ma(i,t.toString())}var Ra=function(e){return function(e,t){for(;e.length<t;)e="0"+e;return e}(Da(0,e,"",[]).toString(16),8)};function ja(e,t,r,s=!1){return`{\n ${e.map(e=>`"${s?"--":""}${Fa(t,e,r)}": (${e})`).join(",\n ")}\n}`}function Fa(e,t,r){return r?Ra(e+t):`${e}-${t.replace(/[ !"#$%&'()*+,./:;<=>?@[\\\]^`{|}~]/g,e=>"\\"+e)}`}function Ba(e){return"'"===(e=e.trim())[0]&&"'"===e[e.length-1]||'"'===e[0]&&'"'===e[e.length-1]?e.slice(1,-1):e}const Ua=/v-bind\s*\(/g;function qa(e,t){let r=0,s=0;for(let n=t;n<e.length;n++){const t=e.charAt(n);switch(r){case 0:if("'"===t)r=1;else if('"'===t)r=2;else if("("===t)s++;else if(")"===t){if(!(s>0))return n;s--}break;case 1:"'"===t&&(r=0);break;case 2:'"'===t&&(r=0)}}return null}const $a=e=>{const{id:t,isProd:r}=e;return{postcssPlugin:"vue-sfc-vars",Declaration(e){const s=e.value;if(Ua.test(s)){Ua.lastIndex=0;let n,i="",o=0;for(;n=Ua.exec(s);){const e=n.index+n[0].length,a=qa(s,e);if(null!==a){const c=Ba(s.slice(e,a));i+=s.slice(o,n.index)+`var(--${Fa(t,c,r)})`,o=a+1}}e.value=i+s.slice(o)}}}};function Va(e,t,r,s){const n=to(tt(ja(e,r,s),!1),Vn(Ke([]),{prefixIdentifiers:!0,inline:!0,bindingMetadata:!1===t.__isScriptSetup?void 0:t}));return`_useCssVars(_ctx => (${4===n.type?n.content:n.children.map(e=>"string"==typeof e?e:e.content).join("")}))`}function za(e=500){return new Map}$a.postcss=!0;var Ha=void 0!==Ha?Ha:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},Ga=[],Wa=[],Ya="undefined"!=typeof Uint8Array?Uint8Array:Array,Ja=!1;function Ka(){Ja=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)Ga[t]=e[t],Wa[e.charCodeAt(t)]=t;Wa["-".charCodeAt(0)]=62,Wa["_".charCodeAt(0)]=63}function Xa(e,t,r){for(var s,n,i=[],o=t;o<r;o+=3)s=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(Ga[(n=s)>>18&63]+Ga[n>>12&63]+Ga[n>>6&63]+Ga[63&n]);return i.join("")}function Qa(e){var t;Ja||Ka();for(var r=e.length,s=r%3,n="",i=[],o=0,a=r-s;o<a;o+=16383)i.push(Xa(e,o,o+16383>a?a:o+16383));return 1===s?(t=e[r-1],n+=Ga[t>>2],n+=Ga[t<<4&63],n+="=="):2===s&&(t=(e[r-2]<<8)+e[r-1],n+=Ga[t>>10],n+=Ga[t>>4&63],n+=Ga[t<<2&63],n+="="),i.push(n),i.join("")}function Za(e,t,r,s,n){var i,o,a=8*n-s-1,c=(1<<a)-1,l=c>>1,p=-7,h=r?n-1:0,u=r?-1:1,d=e[t+h];for(h+=u,i=d&(1<<-p)-1,d>>=-p,p+=a;p>0;i=256*i+e[t+h],h+=u,p-=8);for(o=i&(1<<-p)-1,i>>=-p,p+=s;p>0;o=256*o+e[t+h],h+=u,p-=8);if(0===i)i=1-l;else{if(i===c)return o?NaN:1/0*(d?-1:1);o+=Math.pow(2,s),i-=l}return(d?-1:1)*o*Math.pow(2,i-s)}function ec(e,t,r,s,n,i){var o,a,c,l=8*i-n-1,p=(1<<l)-1,h=p>>1,u=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,d=s?0:i-1,f=s?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=p):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),(t+=o+h>=1?u/c:u*Math.pow(2,1-h))*c>=2&&(o++,c/=2),o+h>=p?(a=0,o=p):o+h>=1?(a=(t*c-1)*Math.pow(2,n),o+=h):(a=t*Math.pow(2,h-1)*Math.pow(2,n),o=0));n>=8;e[r+d]=255&a,d+=f,a/=256,n-=8);for(o=o<<n|a,l+=n;l>0;e[r+d]=255&o,d+=f,o/=256,l-=8);e[r+d-f]|=128*m}var tc={}.toString,rc=Array.isArray||function(e){return"[object Array]"==tc.call(e)};function sc(){return ic.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function nc(e,t){if(sc()<t)throw new RangeError("Invalid typed array length");return ic.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=ic.prototype:(null===e&&(e=new ic(t)),e.length=t),e}function ic(e,t,r){if(!(ic.TYPED_ARRAY_SUPPORT||this instanceof ic))return new ic(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return cc(this,e)}return oc(this,e,t,r)}function oc(e,t,r,s){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,s){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(s||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===s?new Uint8Array(t):void 0===s?new Uint8Array(t,r):new Uint8Array(t,r,s);ic.TYPED_ARRAY_SUPPORT?(e=t).__proto__=ic.prototype:e=lc(e,t);return e}(e,t,r,s):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!ic.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var s=0|uc(t,r),n=(e=nc(e,s)).write(t,r);n!==s&&(e=e.slice(0,n));return e}(e,t,r):function(e,t){if(hc(t)){var r=0|pc(t.length);return 0===(e=nc(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(s=t.length)!=s?nc(e,0):lc(e,t);if("Buffer"===t.type&&rc(t.data))return lc(e,t.data)}var s;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function ac(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 cc(e,t){if(ac(t),e=nc(e,t<0?0:0|pc(t)),!ic.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function lc(e,t){var r=t.length<0?0:0|pc(t.length);e=nc(e,r);for(var s=0;s<r;s+=1)e[s]=255&t[s];return e}function pc(e){if(e>=sc())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+sc().toString(16)+" bytes");return 0|e}function hc(e){return!(null==e||!e._isBuffer)}function uc(e,t){if(hc(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 r=e.length;if(0===r)return 0;for(var s=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Fc(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Bc(e).length;default:if(s)return Fc(e).length;t=(""+t).toLowerCase(),s=!0}}function dc(e,t,r){var s=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Cc(this,t,r);case"utf8":case"utf-8":return Pc(this,t,r);case"ascii":return Tc(this,t,r);case"latin1":case"binary":return Ac(this,t,r);case"base64":return Ec(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kc(this,t,r);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function fc(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}function mc(e,t,r,s,n){if(0===e.length)return-1;if("string"==typeof r?(s=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(n)return-1;r=e.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof t&&(t=ic.from(t,s)),hc(t))return 0===t.length?-1:gc(e,t,r,s,n);if("number"==typeof t)return t&=255,ic.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):gc(e,[t],r,s,n);throw new TypeError("val must be string, number or Buffer")}function gc(e,t,r,s,n){var i,o=1,a=e.length,c=t.length;if(void 0!==s&&("ucs2"===(s=String(s).toLowerCase())||"ucs-2"===s||"utf16le"===s||"utf-16le"===s)){if(e.length<2||t.length<2)return-1;o=2,a/=2,c/=2,r/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(n){var p=-1;for(i=r;i<a;i++)if(l(e,i)===l(t,-1===p?0:i-p)){if(-1===p&&(p=i),i-p+1===c)return p*o}else-1!==p&&(i-=i-p),p=-1}else for(r+c>a&&(r=a-c),i=r;i>=0;i--){for(var h=!0,u=0;u<c;u++)if(l(e,i+u)!==l(t,u)){h=!1;break}if(h)return i}return-1}function yc(e,t,r,s){r=Number(r)||0;var n=e.length-r;s?(s=Number(s))>n&&(s=n):s=n;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");s>i/2&&(s=i/2);for(var o=0;o<s;++o){var a=parseInt(t.substr(2*o,2),16);if(isNaN(a))return o;e[r+o]=a}return o}function bc(e,t,r,s){return Uc(Fc(t,e.length-r),e,r,s)}function vc(e,t,r,s){return Uc(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,s)}function xc(e,t,r,s){return vc(e,t,r,s)}function wc(e,t,r,s){return Uc(Bc(t),e,r,s)}function Sc(e,t,r,s){return Uc(function(e,t){for(var r,s,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)r=e.charCodeAt(o),s=r>>8,n=r%256,i.push(n),i.push(s);return i}(t,e.length-r),e,r,s)}function Ec(e,t,r){return 0===t&&r===e.length?Qa(e):Qa(e.slice(t,r))}function Pc(e,t,r){r=Math.min(e.length,r);for(var s=[],n=t;n<r;){var i,o,a,c,l=e[n],p=null,h=l>239?4:l>223?3:l>191?2:1;if(n+h<=r)switch(h){case 1:l<128&&(p=l);break;case 2:128==(192&(i=e[n+1]))&&(c=(31&l)<<6|63&i)>127&&(p=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)&&(p=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&&(p=c)}null===p?(p=65533,h=1):p>65535&&(p-=65536,s.push(p>>>10&1023|55296),p=56320|1023&p),s.push(p),n+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",s=0;for(;s<t;)r+=String.fromCharCode.apply(String,e.slice(s,s+=4096));return r}(s)}ic.TYPED_ARRAY_SUPPORT=void 0===Ha.TYPED_ARRAY_SUPPORT||Ha.TYPED_ARRAY_SUPPORT,ic.poolSize=8192,ic._augment=function(e){return e.__proto__=ic.prototype,e},ic.from=function(e,t,r){return oc(null,e,t,r)},ic.TYPED_ARRAY_SUPPORT&&(ic.prototype.__proto__=Uint8Array.prototype,ic.__proto__=Uint8Array),ic.alloc=function(e,t,r){return function(e,t,r,s){return ac(t),t<=0?nc(e,t):void 0!==r?"string"==typeof s?nc(e,t).fill(r,s):nc(e,t).fill(r):nc(e,t)}(null,e,t,r)},ic.allocUnsafe=function(e){return cc(null,e)},ic.allocUnsafeSlow=function(e){return cc(null,e)},ic.isBuffer=function(e){return null!=e&&(!!e._isBuffer||qc(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&qc(e.slice(0,0))}(e))},ic.compare=function(e,t){if(!hc(e)||!hc(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,s=t.length,n=0,i=Math.min(r,s);n<i;++n)if(e[n]!==t[n]){r=e[n],s=t[n];break}return r<s?-1:s<r?1:0},ic.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}},ic.concat=function(e,t){if(!rc(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return ic.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var s=ic.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){var i=e[r];if(!hc(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(s,n),n+=i.length}return s},ic.byteLength=uc,ic.prototype._isBuffer=!0,ic.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)fc(this,t,t+1);return this},ic.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)fc(this,t,t+3),fc(this,t+1,t+2);return this},ic.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)fc(this,t,t+7),fc(this,t+1,t+6),fc(this,t+2,t+5),fc(this,t+3,t+4);return this},ic.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?Pc(this,0,e):dc.apply(this,arguments)},ic.prototype.equals=function(e){if(!hc(e))throw new TypeError("Argument must be a Buffer");return this===e||0===ic.compare(this,e)},ic.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+">"},ic.prototype.compare=function(e,t,r,s,n){if(!hc(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===s&&(s=0),void 0===n&&(n=this.length),t<0||r>e.length||s<0||n>this.length)throw new RangeError("out of range index");if(s>=n&&t>=r)return 0;if(s>=n)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(n>>>=0)-(s>>>=0),o=(r>>>=0)-(t>>>=0),a=Math.min(i,o),c=this.slice(s,n),l=e.slice(t,r),p=0;p<a;++p)if(c[p]!==l[p]){i=c[p],o=l[p];break}return i<o?-1:o<i?1:0},ic.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},ic.prototype.indexOf=function(e,t,r){return mc(this,e,t,r,!0)},ic.prototype.lastIndexOf=function(e,t,r){return mc(this,e,t,r,!1)},ic.prototype.write=function(e,t,r,s){if(void 0===t)s="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)s=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===s&&(s="utf8")):(s=r,r=void 0)}var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");s||(s="utf8");for(var i=!1;;)switch(s){case"hex":return yc(this,e,t,r);case"utf8":case"utf-8":return bc(this,e,t,r);case"ascii":return vc(this,e,t,r);case"latin1":case"binary":return xc(this,e,t,r);case"base64":return wc(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sc(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+s);s=(""+s).toLowerCase(),i=!0}},ic.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Tc(e,t,r){var s="";r=Math.min(e.length,r);for(var n=t;n<r;++n)s+=String.fromCharCode(127&e[n]);return s}function Ac(e,t,r){var s="";r=Math.min(e.length,r);for(var n=t;n<r;++n)s+=String.fromCharCode(e[n]);return s}function Cc(e,t,r){var s=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>s)&&(r=s);for(var n="",i=t;i<r;++i)n+=jc(e[i]);return n}function kc(e,t,r){for(var s=e.slice(t,r),n="",i=0;i<s.length;i+=2)n+=String.fromCharCode(s[i]+256*s[i+1]);return n}function _c(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function Ic(e,t,r,s,n,i){if(!hc(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(r+s>e.length)throw new RangeError("Index out of range")}function Nc(e,t,r,s){t<0&&(t=65535+t+1);for(var n=0,i=Math.min(e.length-r,2);n<i;++n)e[r+n]=(t&255<<8*(s?n:1-n))>>>8*(s?n:1-n)}function Oc(e,t,r,s){t<0&&(t=4294967295+t+1);for(var n=0,i=Math.min(e.length-r,4);n<i;++n)e[r+n]=t>>>8*(s?n:3-n)&255}function Lc(e,t,r,s,n,i){if(r+s>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Mc(e,t,r,s,n){return n||Lc(e,0,r,4),ec(e,t,r,s,23,4),r+4}function Dc(e,t,r,s,n){return n||Lc(e,0,r,8),ec(e,t,r,s,52,8),r+8}ic.prototype.slice=function(e,t){var r,s=this.length;if((e=~~e)<0?(e+=s)<0&&(e=0):e>s&&(e=s),(t=void 0===t?s:~~t)<0?(t+=s)<0&&(t=0):t>s&&(t=s),t<e&&(t=e),ic.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=ic.prototype;else{var n=t-e;r=new ic(n,void 0);for(var i=0;i<n;++i)r[i]=this[i+e]}return r},ic.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||_c(e,t,this.length);for(var s=this[e],n=1,i=0;++i<t&&(n*=256);)s+=this[e+i]*n;return s},ic.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||_c(e,t,this.length);for(var s=this[e+--t],n=1;t>0&&(n*=256);)s+=this[e+--t]*n;return s},ic.prototype.readUInt8=function(e,t){return t||_c(e,1,this.length),this[e]},ic.prototype.readUInt16LE=function(e,t){return t||_c(e,2,this.length),this[e]|this[e+1]<<8},ic.prototype.readUInt16BE=function(e,t){return t||_c(e,2,this.length),this[e]<<8|this[e+1]},ic.prototype.readUInt32LE=function(e,t){return t||_c(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},ic.prototype.readUInt32BE=function(e,t){return t||_c(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},ic.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||_c(e,t,this.length);for(var s=this[e],n=1,i=0;++i<t&&(n*=256);)s+=this[e+i]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},ic.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||_c(e,t,this.length);for(var s=t,n=1,i=this[e+--s];s>0&&(n*=256);)i+=this[e+--s]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},ic.prototype.readInt8=function(e,t){return t||_c(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},ic.prototype.readInt16LE=function(e,t){t||_c(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},ic.prototype.readInt16BE=function(e,t){t||_c(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},ic.prototype.readInt32LE=function(e,t){return t||_c(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},ic.prototype.readInt32BE=function(e,t){return t||_c(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},ic.prototype.readFloatLE=function(e,t){return t||_c(e,4,this.length),Za(this,e,!0,23,4)},ic.prototype.readFloatBE=function(e,t){return t||_c(e,4,this.length),Za(this,e,!1,23,4)},ic.prototype.readDoubleLE=function(e,t){return t||_c(e,8,this.length),Za(this,e,!0,52,8)},ic.prototype.readDoubleBE=function(e,t){return t||_c(e,8,this.length),Za(this,e,!1,52,8)},ic.prototype.writeUIntLE=function(e,t,r,s){(e=+e,t|=0,r|=0,s)||Ic(this,e,t,r,Math.pow(2,8*r)-1,0);var n=1,i=0;for(this[t]=255&e;++i<r&&(n*=256);)this[t+i]=e/n&255;return t+r},ic.prototype.writeUIntBE=function(e,t,r,s){(e=+e,t|=0,r|=0,s)||Ic(this,e,t,r,Math.pow(2,8*r)-1,0);var n=r-1,i=1;for(this[t+n]=255&e;--n>=0&&(i*=256);)this[t+n]=e/i&255;return t+r},ic.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||Ic(this,e,t,1,255,0),ic.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},ic.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||Ic(this,e,t,2,65535,0),ic.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Nc(this,e,t,!0),t+2},ic.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||Ic(this,e,t,2,65535,0),ic.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Nc(this,e,t,!1),t+2},ic.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||Ic(this,e,t,4,4294967295,0),ic.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):Oc(this,e,t,!0),t+4},ic.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||Ic(this,e,t,4,4294967295,0),ic.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Oc(this,e,t,!1),t+4},ic.prototype.writeIntLE=function(e,t,r,s){if(e=+e,t|=0,!s){var n=Math.pow(2,8*r-1);Ic(this,e,t,r,n-1,-n)}var i=0,o=1,a=0;for(this[t]=255&e;++i<r&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+r},ic.prototype.writeIntBE=function(e,t,r,s){if(e=+e,t|=0,!s){var n=Math.pow(2,8*r-1);Ic(this,e,t,r,n-1,-n)}var i=r-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+r},ic.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||Ic(this,e,t,1,127,-128),ic.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},ic.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||Ic(this,e,t,2,32767,-32768),ic.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Nc(this,e,t,!0),t+2},ic.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||Ic(this,e,t,2,32767,-32768),ic.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Nc(this,e,t,!1),t+2},ic.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||Ic(this,e,t,4,2147483647,-2147483648),ic.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):Oc(this,e,t,!0),t+4},ic.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||Ic(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),ic.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):Oc(this,e,t,!1),t+4},ic.prototype.writeFloatLE=function(e,t,r){return Mc(this,e,t,!0,r)},ic.prototype.writeFloatBE=function(e,t,r){return Mc(this,e,t,!1,r)},ic.prototype.writeDoubleLE=function(e,t,r){return Dc(this,e,t,!0,r)},ic.prototype.writeDoubleBE=function(e,t,r){return Dc(this,e,t,!1,r)},ic.prototype.copy=function(e,t,r,s){if(r||(r=0),s||0===s||(s=this.length),t>=e.length&&(t=e.length),t||(t=0),s>0&&s<r&&(s=r),s===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(s<0)throw new RangeError("sourceEnd out of bounds");s>this.length&&(s=this.length),e.length-t<s-r&&(s=e.length-t+r);var n,i=s-r;if(this===e&&r<t&&t<s)for(n=i-1;n>=0;--n)e[n+t]=this[n+r];else if(i<1e3||!ic.TYPED_ARRAY_SUPPORT)for(n=0;n<i;++n)e[n+t]=this[n+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},ic.prototype.fill=function(e,t,r,s){if("string"==typeof e){if("string"==typeof t?(s=t,t=0,r=this.length):"string"==typeof r&&(s=r,r=this.length),1===e.length){var n=e.charCodeAt(0);n<256&&(e=n)}if(void 0!==s&&"string"!=typeof s)throw new TypeError("encoding must be a string");if("string"==typeof s&&!ic.isEncoding(s))throw new TypeError("Unknown encoding: "+s)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=hc(e)?e:Fc(new ic(e,s).toString()),a=o.length;for(i=0;i<r-t;++i)this[i+t]=o[i%a]}return this};var Rc=/[^+\/0-9A-Za-z-_]/g;function jc(e){return e<16?"0"+e.toString(16):e.toString(16)}function Fc(e,t){var r;t=t||1/0;for(var s=e.length,n=null,i=[],o=0;o<s;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!n){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===s){(t-=3)>-1&&i.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(t-=3)>-1&&i.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function Bc(e){return function(e){var t,r,s,n,i,o;Ja||Ka();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 Ya(3*a/4-i),s=i>0?a-4:a;var c=0;for(t=0,r=0;t<s;t+=4,r+=3)n=Wa[e.charCodeAt(t)]<<18|Wa[e.charCodeAt(t+1)]<<12|Wa[e.charCodeAt(t+2)]<<6|Wa[e.charCodeAt(t+3)],o[c++]=n>>16&255,o[c++]=n>>8&255,o[c++]=255&n;return 2===i?(n=Wa[e.charCodeAt(t)]<<2|Wa[e.charCodeAt(t+1)]>>4,o[c++]=255&n):1===i&&(n=Wa[e.charCodeAt(t)]<<10|Wa[e.charCodeAt(t+1)]<<4|Wa[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(Rc,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Uc(e,t,r,s){for(var n=0;n<s&&!(n+r>=t.length||n>=e.length);++n)t[n+r]=e[n];return n}function qc(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function $c(e){var t="";e=e<0?-e<<1|1:e<<1;do{var r=31&e;(e>>>=5)>0&&(r|=32),t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="[r]}while(e>0);return t}var Vc=function e(t){this.bits=t instanceof e?t.bits.slice():[]};Vc.prototype.add=function(e){this.bits[e>>5]|=1<<(31&e)},Vc.prototype.has=function(e){return!!(this.bits[e>>5]&1<<(31&e))};var zc=function(e,t,r){this.start=e,this.end=t,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})};zc.prototype.appendLeft=function(e){this.outro+=e},zc.prototype.appendRight=function(e){this.intro=this.intro+e},zc.prototype.clone=function(){var e=new zc(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},zc.prototype.contains=function(e){return this.start<e&&e<this.end},zc.prototype.eachNext=function(e){for(var t=this;t;)e(t),t=t.next},zc.prototype.eachPrevious=function(e){for(var t=this;t;)e(t),t=t.previous},zc.prototype.edit=function(e,t,r){return this.content=e,r||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this},zc.prototype.prependLeft=function(e){this.outro=e+this.outro},zc.prototype.prependRight=function(e){this.intro=e+this.intro},zc.prototype.split=function(e){var t=e-this.start,r=this.original.slice(0,t),s=this.original.slice(t);this.original=r;var n=new zc(e,this.end,s);return n.outro=this.outro,this.outro="",this.end=e,this.edited?(n.edit("",!1),this.content=""):this.content=r,n.next=this.next,n.next&&(n.next.previous=n),n.previous=this,this.next=n,n},zc.prototype.toString=function(){return this.intro+this.content+this.outro},zc.prototype.trimEnd=function(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;var t=this.content.replace(e,"");return t.length?(t!==this.content&&this.split(this.start+t.length).edit("",void 0,!0),!0):(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),!!this.intro.length||void 0)},zc.prototype.trimStart=function(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;var t=this.content.replace(e,"");return t.length?(t!==this.content&&(this.split(this.end-t.length),this.edit("",void 0,!0)),!0):(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),!!this.outro.length||void 0)};var Hc=function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};Hc="undefined"!=typeof window&&"function"==typeof window.btoa?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:function(e){return ic.from(e,"utf-8").toString("base64")};var Gc=function(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=function(e){for(var t=0,r=0,s=0,n=0,i="",o=0;o<e.length;o++){var a=e[o];if(o>0&&(i+=";"),0!==a.length){for(var c=0,l=[],p=0,h=a;p<h.length;p++){var u=h[p],d=$c(u[0]-c);c=u[0],u.length>1&&(d+=$c(u[1]-t)+$c(u[2]-r)+$c(u[3]-s),t=u[1],r=u[2],s=u[3]),5===u.length&&(d+=$c(u[4]-n),n=u[4]),l.push(d)}i+=l.join(",")}}return i}(e.mappings)};function Wc(e){var t=e.split("\n"),r=t.filter((function(e){return/^\t+/.test(e)})),s=t.filter((function(e){return/^ {2,}/.test(e)}));if(0===r.length&&0===s.length)return null;if(r.length>=s.length)return"\t";var n=s.reduce((function(e,t){var r=/^ +/.exec(t)[0].length;return Math.min(r,e)}),1/0);return new Array(n+1).join(" ")}function Yc(e,t){var r=e.split(/[/\\]/),s=t.split(/[/\\]/);for(r.pop();r[0]===s[0];)r.shift(),s.shift();if(r.length)for(var n=r.length;n--;)r[n]="..";return r.concat(s).join("/")}Gc.prototype.toString=function(){return JSON.stringify(this)},Gc.prototype.toUrl=function(){return"data:application/json;charset=utf-8;base64,"+Hc(this.toString())};var Jc=Object.prototype.toString;function Kc(e){for(var t=e.split("\n"),r=[],s=0,n=0;s<t.length;s++)r.push(n),n+=t[s].length+1;return function(e){for(var t=0,s=r.length;t<s;){var n=t+s>>1;e<r[n]?s=n:t=n+1}var i=t-1;return{line:i,column:e-r[i]}}}var Xc=function(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null};Xc.prototype.addEdit=function(e,t,r,s){if(t.length){var n=[this.generatedCodeColumn,e,r.line,r.column];s>=0&&n.push(s),this.rawSegments.push(n)}else this.pending&&this.rawSegments.push(this.pending);this.advance(t),this.pending=null},Xc.prototype.addUneditedChunk=function(e,t,r,s,n){for(var i=t.start,o=!0;i<t.end;)(this.hires||o||n.has(i))&&this.rawSegments.push([this.generatedCodeColumn,e,s.line,s.column]),"\n"===r[i]?(s.line+=1,s.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,o=!0):(s.column+=1,this.generatedCodeColumn+=1,o=!1),i+=1;this.pending=null},Xc.prototype.advance=function(e){if(e){var t=e.split("\n");if(t.length>1){for(var r=0;r<t.length-1;r++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}};var Qc="\n",Zc={insertLeft:!1,insertRight:!1,storeName:!1},el=function(e,t){void 0===t&&(t={});var r=new zc(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},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 Vc},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:Wc(e)}}),this.byStart[0]=r,this.byEnd[e.length]=r};function tl(e,t){for(var r=0,s=e.length-1;s>=0;s--){var n=e[s];"."===n?e.splice(s,1):".."===n?(e.splice(s,1),r++):r&&(e.splice(s,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}el.prototype.addSourcemapLocation=function(e){this.sourcemapLocations.add(e)},el.prototype.append=function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.outro+=e,this},el.prototype.appendLeft=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byEnd[e];return r?r.appendLeft(t):this.intro+=t,this},el.prototype.appendRight=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byStart[e];return r?r.appendRight(t):this.outro+=t,this},el.prototype.clone=function(){for(var e=new el(this.original,{filename:this.filename}),t=this.firstChunk,r=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[r.start]=r,e.byEnd[r.end]=r;var s=t.next,n=s&&s.clone();n&&(r.next=n,n.previous=r,r=n),t=s}return e.lastChunk=r,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new Vc(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e},el.prototype.generateDecodedMap=function(e){var t=this;e=e||{};var r=Object.keys(this.storedNames),s=new Xc(e.hires),n=Kc(this.original);return this.intro&&s.advance(this.intro),this.firstChunk.eachNext((function(e){var i=n(e.start);e.intro.length&&s.advance(e.intro),e.edited?s.addEdit(0,e.content,i,e.storeName?r.indexOf(e.original):-1):s.addUneditedChunk(0,e,t.original,i,t.sourcemapLocations),e.outro.length&&s.advance(e.outro)})),{file:e.file?e.file.split(/[/\\]/).pop():null,sources:[e.source?Yc(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:r,mappings:s.raw}},el.prototype.generateMap=function(e){return new Gc(this.generateDecodedMap(e))},el.prototype.getIndentString=function(){return null===this.indentStr?"\t":this.indentStr},el.prototype.indent=function(e,t){var r,s=/^[^\r\n]/gm;if(r=e,"[object Object]"===Jc.call(r)&&(t=e,e=void 0),""===(e=void 0!==e?e:this.indentStr||"\t"))return this;var n={};(t=t||{}).exclude&&("number"==typeof t.exclude[0]?[t.exclude]:t.exclude).forEach((function(e){for(var t=e[0];t<e[1];t+=1)n[t]=!0}));var i=!1!==t.indentStart,o=function(t){return i?""+e+t:(i=!0,t)};this.intro=this.intro.replace(s,o);for(var a=0,c=this.firstChunk;c;){var l=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<l;){if(!n[a]){var p=this.original[a];"\n"===p?i=!0:"\r"!==p&&i&&(i=!1,a===c.start?c.prependRight(e):(this._splitChunk(c,a),(c=c.next).prependRight(e)))}a+=1}a=c.end,c=c.next}return this.outro=this.outro.replace(s,o),this},el.prototype.insert=function(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")},el.prototype.insertLeft=function(e,t){return Zc.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Zc.insertLeft=!0),this.appendLeft(e,t)},el.prototype.insertRight=function(e,t){return Zc.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Zc.insertRight=!0),this.prependRight(e,t)},el.prototype.move=function(e,t,r){if(r>=e&&r<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(r);var s=this.byStart[e],n=this.byEnd[t],i=s.previous,o=n.next,a=this.byStart[r];if(!a&&n===this.lastChunk)return this;var c=a?a.previous:this.lastChunk;return i&&(i.next=o),o&&(o.previous=i),c&&(c.next=s),a&&(a.previous=n),s.previous||(this.firstChunk=n.next),n.next||(this.lastChunk=s.previous,this.lastChunk.next=null),s.previous=c,n.next=a||null,c||(this.firstChunk=s),a||(this.lastChunk=n),this},el.prototype.overwrite=function(e,t,r,s){if("string"!=typeof r)throw new TypeError("replacement content must be a string");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 \u2013 use appendLeft or prependRight instead");this._split(e),this._split(t),!0===s&&(Zc.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Zc.storeName=!0),s={storeName:!0});var n=void 0!==s&&s.storeName,i=void 0!==s&&s.contentOnly;if(n){var o=this.original.slice(e,t);this.storedNames[o]=!0}var a=this.byStart[e],c=this.byEnd[t];if(a){if(t>a.end&&a.next!==this.byStart[a.end])throw new Error("Cannot overwrite across a split point");if(a.edit(r,n,i),a!==c){for(var l=a.next;l!==c;)l.edit("",!1),l=l.next;l.edit("",!1)}}else{var p=new zc(e,t,"").edit(r,n);c.next=p,p.previous=c}return this},el.prototype.prepend=function(e){if("string"!=typeof e)throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this},el.prototype.prependLeft=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byEnd[e];return r?r.prependLeft(t):this.intro=t+this.intro,this},el.prototype.prependRight=function(e,t){if("string"!=typeof t)throw new TypeError("inserted content must be a string");this._split(e);var r=this.byStart[e];return r?r.prependRight(t):this.outro=t+this.outro,this},el.prototype.remove=function(e,t){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);for(var r=this.byStart[e];r;)r.intro="",r.outro="",r.edit(""),r=t>r.end?this.byStart[r.end]:null;return this},el.prototype.lastChar=function(){if(this.outro.length)return this.outro[this.outro.length-1];var 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]:""},el.prototype.lastLine=function(){var e=this.outro.lastIndexOf(Qc);if(-1!==e)return this.outro.substr(e+1);var t=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(-1!==(e=r.outro.lastIndexOf(Qc)))return r.outro.substr(e+1)+t;t=r.outro+t}if(r.content.length>0){if(-1!==(e=r.content.lastIndexOf(Qc)))return r.content.substr(e+1)+t;t=r.content+t}if(r.intro.length>0){if(-1!==(e=r.intro.lastIndexOf(Qc)))return r.intro.substr(e+1)+t;t=r.intro+t}}while(r=r.previous);return-1!==(e=this.intro.lastIndexOf(Qc))?this.intro.substr(e+1)+t:this.intro+t},el.prototype.slice=function(e,t){for(void 0===e&&(e=0),void 0===t&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var r="",s=this.firstChunk;s&&(s.start>e||s.end<=e);){if(s.start<t&&s.end>=t)return r;s=s.next}if(s&&s.edited&&s.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var n=s;s;){!s.intro||n===s&&s.start!==e||(r+=s.intro);var i=s.start<t&&s.end>=t;if(i&&s.edited&&s.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var o=n===s?e-s.start:0,a=i?s.content.length+t-s.end:s.content.length;if(r+=s.content.slice(o,a),!s.outro||i&&s.end!==t||(r+=s.outro),i)break;s=s.next}return r},el.prototype.snip=function(e,t){var r=this.clone();return r.remove(0,e),r.remove(t,r.original.length),r},el.prototype._split=function(e){if(!this.byStart[e]&&!this.byEnd[e])for(var t=this.lastSearchedChunk,r=e>t.end;t;){if(t.contains(e))return this._splitChunk(t,e);t=r?this.byStart[t.end]:this.byEnd[t.start]}},el.prototype._splitChunk=function(e,t){if(e.edited&&e.content.length){var r=Kc(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+r.line+":"+r.column+' \u2013 "'+e.original+'")')}var 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},el.prototype.toString=function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro},el.prototype.isEmpty=function(){var 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},el.prototype.length=function(){var e=this.firstChunk,t=0;do{t+=e.intro.length+e.content.length+e.outro.length}while(e=e.next);return t},el.prototype.trimLines=function(){return this.trim("[\\r\\n]")},el.prototype.trim=function(e){return this.trimStart(e).trimEnd(e)},el.prototype.trimEndAborted=function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;var r=this.lastChunk;do{var s=r.end,n=r.trimEnd(t);if(r.end!==s&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),n)return!0;r=r.previous}while(r);return!1},el.prototype.trimEnd=function(e){return this.trimEndAborted(e),this},el.prototype.trimStartAborted=function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;var r=this.firstChunk;do{var s=r.end,n=r.trimStart(t);if(r.end!==s&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),n)return!0;r=r.next}while(r);return!1},el.prototype.trimStart=function(e){return this.trimStartAborted(e),this};var rl=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,sl=function(e){return rl.exec(e).slice(1)};function nl(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var s=r>=0?arguments[r]:"/";if("string"!=typeof s)throw new TypeError("Arguments to path.resolve must be strings");s&&(e=s+"/"+e,t="/"===s.charAt(0))}return(t?"/":"")+(e=tl(dl(e.split("/"),(function(e){return!!e})),!t).join("/"))||"."}function il(e){var t=ol(e),r="/"===fl(e,-1);return(e=tl(dl(e.split("/"),(function(e){return!!e})),!t).join("/"))||t||(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function ol(e){return"/"===e.charAt(0)}function al(){var e=Array.prototype.slice.call(arguments,0);return il(dl(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))}function cl(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=nl(e).substr(1),t=nl(t).substr(1);for(var s=r(e.split("/")),n=r(t.split("/")),i=Math.min(s.length,n.length),o=i,a=0;a<i;a++)if(s[a]!==n[a]){o=a;break}var c=[];for(a=o;a<s.length;a++)c.push("..");return(c=c.concat(n.slice(o))).join("/")}function ll(e){var t=sl(e),r=t[0],s=t[1];return r||s?(s&&(s=s.substr(0,s.length-1)),r+s):"."}function pl(e,t){var r=sl(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function hl(e){return sl(e)[3]}var ul={extname:hl,basename:pl,dirname:ll,sep:"/",delimiter:":",relative:cl,join:al,isAbsolute:ol,normalize:il,resolve:nl};function dl(e,t){if(e.filter)return e.filter(t);for(var r=[],s=0;s<e.length;s++)t(e[s],s,e)&&r.push(e[s]);return r}var fl="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)},ml=Object.freeze({__proto__:null,resolve:nl,normalize:il,isAbsolute:ol,join:al,relative:cl,sep:"/",delimiter:":",dirname:ll,basename:pl,extname:hl,default:ul}),gl=/[^\x20-\x7E]/,yl=/[\x2E\u3002\uFF0E\uFF61]/g,bl={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},vl=Math.floor,xl=String.fromCharCode;function wl(e){throw new RangeError(bl[e])}function Sl(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function El(e,t,r){var s=0;for(e=r?vl(e/700):e>>1,e+=vl(e/t);e>455;s+=36)e=vl(e/35);return vl(s+36*e/(e+38))}function Pl(e){return function(e,t){var r=e.split("@"),s="";r.length>1&&(s=r[0]+"@",e=r[1]);var n=function(e,t){for(var r=e.length,s=[];r--;)s[r]=t(e[r]);return s}((e=e.replace(yl,".")).split("."),t).join(".");return s+n}(e,(function(e){return gl.test(e)?"xn--"+function(e){var t,r,s,n,i,o,a,c,l,p,h,u,d,f,m,g=[];for(u=(e=function(e){for(var t,r,s=[],n=0,i=e.length;n<i;)(t=e.charCodeAt(n++))>=55296&&t<=56319&&n<i?56320==(64512&(r=e.charCodeAt(n++)))?s.push(((1023&t)<<10)+(1023&r)+65536):(s.push(t),n--):s.push(t);return s}(e)).length,t=128,r=0,i=72,o=0;o<u;++o)(h=e[o])<128&&g.push(xl(h));for(s=n=g.length,n&&g.push("-");s<u;){for(a=2147483647,o=0;o<u;++o)(h=e[o])>=t&&h<a&&(a=h);for(a-t>vl((2147483647-r)/(d=s+1))&&wl("overflow"),r+=(a-t)*d,t=a,o=0;o<u;++o)if((h=e[o])<t&&++r>2147483647&&wl("overflow"),h==t){for(c=r,l=36;!(c<(p=l<=i?1:l>=i+26?26:l-i));l+=36)m=c-p,f=36-p,g.push(xl(Sl(p+m%f,0))),c=vl(m/f);g.push(xl(Sl(c,0))),i=El(r,d,s==n),r=0,++s}++r,++t}return g.join("")}(e):e}))}function Tl(){throw new Error("setTimeout has not been defined")}function Al(){throw new Error("clearTimeout has not been defined")}var Cl=Tl,kl=Al;function _l(e){if(Cl===setTimeout)return setTimeout(e,0);if((Cl===Tl||!Cl)&&setTimeout)return Cl=setTimeout,setTimeout(e,0);try{return Cl(e,0)}catch(t){try{return Cl.call(null,e,0)}catch(t){return Cl.call(this,e,0)}}}"function"==typeof Ha.setTimeout&&(Cl=setTimeout),"function"==typeof Ha.clearTimeout&&(kl=clearTimeout);var Il,Nl=[],Ol=!1,Ll=-1;function Ml(){Ol&&Il&&(Ol=!1,Il.length?Nl=Il.concat(Nl):Ll=-1,Nl.length&&Dl())}function Dl(){if(!Ol){var e=_l(Ml);Ol=!0;for(var t=Nl.length;t;){for(Il=Nl,Nl=[];++Ll<t;)Il&&Il[Ll].run();Ll=-1,t=Nl.length}Il=null,Ol=!1,function(e){if(kl===clearTimeout)return clearTimeout(e);if((kl===Al||!kl)&&clearTimeout)return kl=clearTimeout,clearTimeout(e);try{kl(e)}catch(t){try{return kl.call(null,e)}catch(t){return kl.call(this,e)}}}(e)}}function Rl(e,t){this.fun=e,this.array=t}Rl.prototype.run=function(){this.fun.apply(null,this.array)};function jl(){}var Fl=jl,Bl=jl,Ul=jl,ql=jl,$l=jl,Vl=jl,zl=jl;var Hl=Ha.performance||{},Gl=Hl.now||Hl.mozNow||Hl.msNow||Hl.oNow||Hl.webkitNow||function(){return(new Date).getTime()};var Wl=new Date;var Yl={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];Nl.push(new Rl(e,t)),1!==Nl.length||Ol||_l(Dl)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Fl,addListener:Bl,once:Ul,off:ql,removeListener:$l,removeAllListeners:Vl,emit:zl,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*Gl.call(Hl),r=Math.floor(t),s=Math.floor(t%1*1e9);return e&&(r-=e[0],(s-=e[1])<0&&(r--,s+=1e9)),[r,s]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Wl)/1e3}},Jl="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 r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e},Kl=/%[sdj%]/g;function Xl(e){if(!dp(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(rp(arguments[r]));return t.join(" ")}r=1;for(var s=arguments,n=s.length,i=String(e).replace(Kl,(function(e){if("%%"===e)return"%";if(r>=n)return e;switch(e){case"%s":return String(s[r++]);case"%d":return Number(s[r++]);case"%j":try{return JSON.stringify(s[r++])}catch(e){return"[Circular]"}default:return e}})),o=s[r];r<n;o=s[++r])pp(o)||!yp(o)?i+=" "+o:i+=" "+rp(o);return i}function Ql(e,t){if(mp(Ha.process))return function(){return Ql(e,t).apply(this,arguments)};if(!0===Yl.noDeprecation)return e;var r=!1;return function(){if(!r){if(Yl.throwDeprecation)throw new Error(t);Yl.traceDeprecation?console.trace(t):console.error(t),r=!0}return e.apply(this,arguments)}}var Zl,ep={};function tp(e){if(mp(Zl)&&(Zl=Yl.env.NODE_DEBUG||""),e=e.toUpperCase(),!ep[e])if(new RegExp("\\b"+e+"\\b","i").test(Zl)){ep[e]=function(){var t=Xl.apply(null,arguments);console.error("%s %d: %s",e,0,t)}}else ep[e]=function(){};return ep[e]}function rp(e,t){var r={seen:[],stylize:np};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),lp(t)?r.showHidden=t:t&&kp(r,t),mp(r.showHidden)&&(r.showHidden=!1),mp(r.depth)&&(r.depth=2),mp(r.colors)&&(r.colors=!1),mp(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=sp),ip(r,e,r.depth)}function sp(e,t){var r=rp.styles[t];return r?"\x1b["+rp.colors[r][0]+"m"+e+"\x1b["+rp.colors[r][1]+"m":e}function np(e,t){return e}function ip(e,t,r){if(e.customInspect&&t&&xp(t.inspect)&&t.inspect!==rp&&(!t.constructor||t.constructor.prototype!==t)){var s=t.inspect(r,e);return dp(s)||(s=ip(e,s,r)),s}var n=function(e,t){if(mp(t))return e.stylize("undefined","undefined");if(dp(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(up(t))return e.stylize(""+t,"number");if(lp(t))return e.stylize(""+t,"boolean");if(pp(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,r){t[e]=!0})),t}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),vp(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return op(t);if(0===i.length){if(xp(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(gp(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(bp(t))return e.stylize(Date.prototype.toString.call(t),"date");if(vp(t))return op(t)}var c,l="",p=!1,h=["{","}"];(cp(t)&&(p=!0,h=["[","]"]),xp(t))&&(l=" [Function"+(t.name?": "+t.name:"")+"]");return gp(t)&&(l=" "+RegExp.prototype.toString.call(t)),bp(t)&&(l=" "+Date.prototype.toUTCString.call(t)),vp(t)&&(l=" "+op(t)),0!==i.length||p&&0!=t.length?r<0?gp(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=p?function(e,t,r,s,n){for(var i=[],o=0,a=t.length;o<a;++o)_p(t,String(o))?i.push(ap(e,t,r,s,String(o),!0)):i.push("");return n.forEach((function(n){n.match(/^\d+$/)||i.push(ap(e,t,r,s,n,!0))})),i}(e,t,r,o,i):i.map((function(s){return ap(e,t,r,o,s,p)})),e.seen.pop(),function(e,t,r){if(e.reduce((function(e,t){return t.indexOf("\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,l,h)):h[0]+l+h[1]}function op(e){return"["+Error.prototype.toString.call(e)+"]"}function ap(e,t,r,s,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")),_p(s,n)||(o="["+n+"]"),a||(e.seen.indexOf(c.value)<0?(a=pp(r)?ip(e,c.value,null):ip(e,c.value,r-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")),mp(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 cp(e){return Array.isArray(e)}function lp(e){return"boolean"==typeof e}function pp(e){return null===e}function hp(e){return null==e}function up(e){return"number"==typeof e}function dp(e){return"string"==typeof e}function fp(e){return"symbol"==typeof e}function mp(e){return void 0===e}function gp(e){return yp(e)&&"[object RegExp]"===Ep(e)}function yp(e){return"object"==typeof e&&null!==e}function bp(e){return yp(e)&&"[object Date]"===Ep(e)}function vp(e){return yp(e)&&("[object Error]"===Ep(e)||e instanceof Error)}function xp(e){return"function"==typeof e}function wp(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function Sp(e){return ic.isBuffer(e)}function Ep(e){return Object.prototype.toString.call(e)}function Pp(e){return e<10?"0"+e.toString(10):e.toString(10)}rp.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]},rp.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var Tp=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Ap(){var e=new Date,t=[Pp(e.getHours()),Pp(e.getMinutes()),Pp(e.getSeconds())].join(":");return[e.getDate(),Tp[e.getMonth()],t].join(" ")}function Cp(){console.log("%s - %s",Ap(),Xl.apply(null,arguments))}function kp(e,t){if(!t||!yp(t))return e;for(var r=Object.keys(t),s=r.length;s--;)e[r[s]]=t[r[s]];return e}function _p(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Ip={inherits:Jl,_extend:kp,log:Cp,isBuffer:Sp,isPrimitive:wp,isFunction:xp,isError:vp,isDate:bp,isObject:yp,isRegExp:gp,isUndefined:mp,isSymbol:fp,isString:dp,isNumber:up,isNullOrUndefined:hp,isNull:pp,isBoolean:lp,isArray:cp,inspect:rp,deprecate:Ql,format:Xl,debuglog:tp},Np=Object.freeze({__proto__:null,format:Xl,deprecate:Ql,debuglog:tp,inspect:rp,isArray:cp,isBoolean:lp,isNull:pp,isNullOrUndefined:hp,isNumber:up,isString:dp,isSymbol:fp,isUndefined:mp,isRegExp:gp,isObject:yp,isDate:bp,isError:vp,isFunction:xp,isPrimitive:wp,isBuffer:Sp,log:Cp,inherits:Jl,_extend:kp,default:Ip});function Op(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Lp=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function Mp(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}}function Dp(e,t){if(e.map)return e.map(t);for(var r=[],s=0;s<e.length;s++)r.push(t(e[s],s));return r}var Rp=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t};function jp(e,t,r,s){t=t||"&",r=r||"=";var n={};if("string"!=typeof e||0===e.length)return n;var i=/\+/g;e=e.split(t);var o=1e3;s&&"number"==typeof s.maxKeys&&(o=s.maxKeys);var a=e.length;o>0&&a>o&&(a=o);for(var c=0;c<a;++c){var l,p,h,u,d=e[c].replace(i,"%20"),f=d.indexOf(r);f>=0?(l=d.substr(0,f),p=d.substr(f+1)):(l=d,p=""),h=decodeURIComponent(l),u=decodeURIComponent(p),Op(n,h)?Lp(n[h])?n[h].push(u):n[h]=[n[h],u]:n[h]=u}return n}var Fp={parse:Qp,resolve:rh,resolveObject:sh,format:eh,Url:Bp};function Bp(){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 Up=/^([a-z0-9.+-]+:)/i,qp=/:[0-9]*$/,$p=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Vp=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),zp=["'"].concat(Vp),Hp=["%","/","?",";","#"].concat(zp),Gp=["/","?","#"],Wp=/^[+a-z0-9A-Z_-]{0,63}$/,Yp=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Jp={javascript:!0,"javascript:":!0},Kp={javascript:!0,"javascript:":!0},Xp={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Qp(e,t,r){if(e&&yp(e)&&e instanceof Bp)return e;var s=new Bp;return s.parse(e,t,r),s}function Zp(e,t,r,s){if(!dp(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(),!s&&1===t.split("#").length){var c=$p.exec(a);if(c)return e.path=a,e.href=a,e.pathname=c[1],c[2]?(e.search=c[2],e.query=r?jp(e.search.substr(1)):e.search.substr(1)):r&&(e.search="",e.query={}),e}var l,p,h,u,d=Up.exec(a);if(d){var f=(d=d[0]).toLowerCase();e.protocol=f,a=a.substr(d.length)}if(s||d||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var m="//"===a.substr(0,2);!m||d&&Kp[d]||(a=a.substr(2),e.slashes=!0)}if(!Kp[d]&&(m||d&&!Xp[d])){var g,y,b=-1;for(l=0;l<Gp.length;l++)-1!==(p=a.indexOf(Gp[l]))&&(-1===b||p<b)&&(b=p);for(-1!==(y=-1===b?a.lastIndexOf("@"):a.lastIndexOf("@",b))&&(g=a.slice(0,y),a=a.slice(y+1),e.auth=decodeURIComponent(g)),b=-1,l=0;l<Hp.length;l++)-1!==(p=a.indexOf(Hp[l]))&&(-1===b||p<b)&&(b=p);-1===b&&(b=a.length),e.host=a.slice(0,b),a=a.slice(b),nh(e),e.hostname=e.hostname||"";var v="["===e.hostname[0]&&"]"===e.hostname[e.hostname.length-1];if(!v){var x=e.hostname.split(/\./);for(l=0,h=x.length;l<h;l++){var w=x[l];if(w&&!w.match(Wp)){for(var S="",E=0,P=w.length;E<P;E++)w.charCodeAt(E)>127?S+="x":S+=w[E];if(!S.match(Wp)){var T=x.slice(0,l),A=x.slice(l+1),C=w.match(Yp);C&&(T.push(C[1]),A.unshift(C[2])),A.length&&(a="/"+A.join(".")+a),e.hostname=T.join(".");break}}}}e.hostname.length>255?e.hostname="":e.hostname=e.hostname.toLowerCase(),v||(e.hostname=Pl(e.hostname)),u=e.port?":"+e.port:"";var k=e.hostname||"";e.host=k+u,e.href+=e.host,v&&(e.hostname=e.hostname.substr(1,e.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!Jp[f])for(l=0,h=zp.length;l<h;l++){var _=zp[l];if(-1!==a.indexOf(_)){var I=encodeURIComponent(_);I===_&&(I=escape(_)),a=a.split(_).join(I)}}var N=a.indexOf("#");-1!==N&&(e.hash=a.substr(N),a=a.slice(0,N));var O=a.indexOf("?");if(-1!==O?(e.search=a.substr(O),e.query=a.substr(O+1),r&&(e.query=jp(e.query)),a=a.slice(0,O)):r&&(e.search="",e.query={}),a&&(e.pathname=a),Xp[f]&&e.hostname&&!e.pathname&&(e.pathname="/"),e.pathname||e.search){u=e.pathname||"";var L=e.search||"";e.path=u+L}return e.href=th(e),e}function eh(e){return dp(e)&&(e=Zp({},e)),th(e)}function th(e){var t=e.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var r=e.protocol||"",s=e.pathname||"",n=e.hash||"",i=!1,o="";e.host?i=t+e.host:e.hostname&&(i=t+(-1===e.hostname.indexOf(":")?e.hostname:"["+this.hostname+"]"),e.port&&(i+=":"+e.port)),e.query&&yp(e.query)&&Object.keys(e.query).length&&(o=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?Dp(Rp(e),(function(s){var n=encodeURIComponent(Mp(s))+r;return Lp(e[s])?Dp(e[s],(function(e){return n+encodeURIComponent(Mp(e))})).join(t):n+encodeURIComponent(Mp(e[s]))})).join(t):s?encodeURIComponent(Mp(s))+r+encodeURIComponent(Mp(e)):""}(e.query));var a=e.search||o&&"?"+o||"";return r&&":"!==r.substr(-1)&&(r+=":"),e.slashes||(!r||Xp[r])&&!1!==i?(i="//"+(i||""),s&&"/"!==s.charAt(0)&&(s="/"+s)):i||(i=""),n&&"#"!==n.charAt(0)&&(n="#"+n),a&&"?"!==a.charAt(0)&&(a="?"+a),r+i+(s=s.replace(/[?#]/g,(function(e){return encodeURIComponent(e)})))+(a=a.replace("#","%23"))+n}function rh(e,t){return Qp(e,!1,!0).resolve(t)}function sh(e,t){return e?Qp(e,!1,!0).resolveObject(t):t}function nh(e){var t=e.host,r=qp.exec(t);r&&(":"!==(r=r[0])&&(e.port=r.substr(1)),t=t.substr(0,t.length-r.length)),t&&(e.hostname=t)}Bp.prototype.parse=function(e,t,r){return Zp(this,e,t,r)},Bp.prototype.format=function(){return th(this)},Bp.prototype.resolve=function(e){return this.resolveObject(Qp(e,!1,!0)).format()},Bp.prototype.resolveObject=function(e){if(dp(e)){var t=new Bp;t.parse(e,!1,!0),e=t}for(var r,s=new Bp,n=Object.keys(this),i=0;i<n.length;i++){var o=n[i];s[o]=this[o]}if(s.hash=e.hash,""===e.href)return s.href=s.format(),s;if(e.slashes&&!e.protocol){for(var a=Object.keys(e),c=0;c<a.length;c++){var l=a[c];"protocol"!==l&&(s[l]=e[l])}return Xp[s.protocol]&&s.hostname&&!s.pathname&&(s.path=s.pathname="/"),s.href=s.format(),s}if(e.protocol&&e.protocol!==s.protocol){if(!Xp[e.protocol]){for(var p=Object.keys(e),h=0;h<p.length;h++){var u=p[h];s[u]=e[u]}return s.href=s.format(),s}if(s.protocol=e.protocol,e.host||Kp[e.protocol])s.pathname=e.pathname;else{for(r=(e.pathname||"").split("/");r.length&&!(e.host=r.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==r[0]&&r.unshift(""),r.length<2&&r.unshift(""),s.pathname=r.join("/")}if(s.search=e.search,s.query=e.query,s.host=e.host||"",s.auth=e.auth,s.hostname=e.hostname||e.host,s.port=e.port,s.pathname||s.search){var d=s.pathname||"",f=s.search||"";s.path=d+f}return s.slashes=s.slashes||e.slashes,s.href=s.format(),s}var m,g=s.pathname&&"/"===s.pathname.charAt(0),y=e.host||e.pathname&&"/"===e.pathname.charAt(0),b=y||g||s.host&&e.pathname,v=b,x=s.pathname&&s.pathname.split("/")||[],w=s.protocol&&!Xp[s.protocol];if(r=e.pathname&&e.pathname.split("/")||[],w&&(s.hostname="",s.port=null,s.host&&(""===x[0]?x[0]=s.host:x.unshift(s.host)),s.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===r[0]?r[0]=e.host:r.unshift(e.host)),e.host=null),b=b&&(""===r[0]||""===x[0])),y)s.host=e.host||""===e.host?e.host:s.host,s.hostname=e.hostname||""===e.hostname?e.hostname:s.hostname,s.search=e.search,s.query=e.query,x=r;else if(r.length)x||(x=[]),x.pop(),x=x.concat(r),s.search=e.search,s.query=e.query;else if(!hp(e.search))return w&&(s.hostname=s.host=x.shift(),(m=!!(s.host&&s.host.indexOf("@")>0)&&s.host.split("@"))&&(s.auth=m.shift(),s.host=s.hostname=m.shift())),s.search=e.search,s.query=e.query,pp(s.pathname)&&pp(s.search)||(s.path=(s.pathname?s.pathname:"")+(s.search?s.search:"")),s.href=s.format(),s;if(!x.length)return s.pathname=null,s.search?s.path="/"+s.search:s.path=null,s.href=s.format(),s;for(var S=x.slice(-1)[0],E=(s.host||e.host||x.length>1)&&("."===S||".."===S)||""===S,P=0,T=x.length;T>=0;T--)"."===(S=x[T])?x.splice(T,1):".."===S?(x.splice(T,1),P++):P&&(x.splice(T,1),P--);if(!b&&!v)for(;P--;P)x.unshift("..");!b||""===x[0]||x[0]&&"/"===x[0].charAt(0)||x.unshift(""),E&&"/"!==x.join("/").substr(-1)&&x.push("");var A=""===x[0]||x[0]&&"/"===x[0].charAt(0);return w&&(s.hostname=s.host=A?"":x.length?x.shift():"",(m=!!(s.host&&s.host.indexOf("@")>0)&&s.host.split("@"))&&(s.auth=m.shift(),s.host=s.hostname=m.shift())),(b=b||s.host&&x.length)&&!A&&x.unshift(""),x.length?s.pathname=x.join("/"):(s.pathname=null,s.path=null),pp(s.pathname)&&pp(s.search)||(s.path=(s.pathname?s.pathname:"")+(s.search?s.search:"")),s.auth=e.auth||s.auth,s.slashes=s.slashes||e.slashes,s.href=s.format(),s},Bp.prototype.parseHost=function(){return nh(this)};var ih=Object.freeze({__proto__:null,parse:Qp,resolve:rh,resolveObject:sh,format:eh,default:Fp,Url:Bp});function oh(e){const t=e.charAt(0);return"."===t||"~"===t||"@"===t}const ah=/^(https?:)?\/\//;function ch(e){return ah.test(e)}const lh=/^\s*data:/i;function ph(e){return lh.test(e)}function hh(e){if("~"===e.charAt(0)){const t=e.charAt(1);e=e.slice("/"===t?2:1)}return Qp(q(t=e)?t:"",!1,!0);var t}const uh={base:null,includeAbsolute:!1,tags:{video:["src","poster"],source:["src"],img:["src"],image:["xlink:href","href"],use:["xlink:href","href"]}},dh=e=>(t,r)=>fh(t,r,e),fh=(e,t,r=uh)=>{if(1===e.type){if(!e.props.length)return;const s=r.tags||uh.tags,n=s[e.tag],i=s["*"];if(!n&&!i)return;const o=(n||[]).concat(i||[]);e.props.forEach((s,n)=>{if(6!==s.type||!o.includes(s.name)||!s.value||ch(s.value.content)||ph(s.value.content)||"#"===s.value.content[0]||!r.includeAbsolute&&!oh(s.value.content))return;const i=hh(s.value.content);if(r.base&&"."===s.value.content[0]){const e=hh(r.base),t=e.protocol||"",n=e.host?t+"//"+e.host:"",o=e.path||"/";return void(s.value.content=n+(ul.posix||ul).join(o,i.path+(i.hash||"")))}const a=function(e,t,r,s){if(e){let n,i;const o=s.imports.findIndex(t=>t.path===e);if(o>-1?(n="_imports_"+o,i=s.imports[o].exp):(n="_imports_"+s.imports.length,i=tt(n,!1,r,3),s.imports.push({exp:i,path:e})),!t)return i;const a=`${n} + '${t}'`,c=tt(a,!1,r,3);if(!s.hoistStatic)return c;const l=s.hoists.findIndex(e=>e&&4===e.type&&!e.isStatic&&e.content===a);return l>-1?tt("_hoisted_"+(l+1),!1,r,3):s.hoist(c)}return tt("''",!1,r,3)}(i.path,i.hash,s.loc,t);e.props[n]={type:7,name:"bind",arg:tt(s.name,!0,s.loc),exp:a,modifiers:[],loc:s.loc}})}};const mh=["img","source"],gh=/( |\\t|\\n|\\f|\\r)+/g,yh=e=>(t,r)=>bh(t,r,e),bh=(e,t,r=uh)=>{1===e.type&&mh.includes(e.tag)&&e.props.length&&e.props.forEach((s,n)=>{if("srcset"===s.name&&6===s.type){if(!s.value)return;const i=s.value.content;if(!i)return;const o=i.split(",").map(e=>{const[t,r]=e.replace(gh," ").trim().split(" ",2);return{url:t,descriptor:r}});for(let e=0;e<o.length;e++){const{url:t}=o[e];ph(t)&&(o[e+1].url=t+","+o[e+1].url,o.splice(e,1))}const a=e=>!ch(e)&&!ph(e)&&(r.includeAbsolute||oh(e));if(!o.some(({url:e})=>a(e)))return;if(r.base){const e=r.base,t=[];let n=!1;if(o.forEach(r=>{let{url:s,descriptor:i}=r;i=i?" "+i:"","."===s[0]?(r.url=(ul.posix||ul).join(e,s),t.push(r.url+i)):a(s)?n=!0:t.push(s+i)}),!n)return void(s.value.content=t.join(", "))}const c=st([],s.loc);o.forEach(({url:e,descriptor:r},n)=>{if(a(e)){const{path:r}=hh(e);let n;if(r){const e=t.imports.findIndex(e=>e.path===r);e>-1?n=tt("_imports_"+e,!1,s.loc,3):(n=tt("_imports_"+t.imports.length,!1,s.loc,3),t.imports.push({exp:n,path:r})),c.children.push(n)}}else{const t=tt(`"${e}"`,!1,s.loc,3);c.children.push(t)}const i=o.length-1>n;r&&i?c.children.push(` + ' ${r}, ' + `):r?c.children.push(` + ' ${r}'`):i&&c.children.push(" + ', ' + ")});let l=c;t.hoistStatic&&(l=t.hoist(c),l.constType=3),e.props[n]={type:7,name:"bind",arg:tt("srcset",!0,s.loc),exp:l,modifiers:[],loc:s.loc}}})},vh=Symbol("ssrInterpolate"),xh=Symbol("ssrRenderVNode"),wh=Symbol("ssrRenderComponent"),Sh=Symbol("ssrRenderSlot"),Eh=Symbol("ssrRenderSlotInner"),Ph=Symbol("ssrRenderClass"),Th=Symbol("ssrRenderStyle"),Ah=Symbol("ssrRenderAttrs"),Ch=Symbol("ssrRenderAttr"),kh=Symbol("ssrRenderDynamicAttr"),_h=Symbol("ssrRenderList"),Ih=Symbol("ssrIncludeBooleanAttr"),Nh=Symbol("ssrLooseEqual"),Oh=Symbol("ssrLooseContain"),Lh=Symbol("ssrRenderDynamicModel"),Mh=Symbol("ssrGetDynamicModelProps"),Dh=Symbol("ssrRenderTeleport"),Rh=Symbol("ssrRenderSuspense"),jh=Symbol("ssrGetDirectiveProps"),Fh={[vh]:"ssrInterpolate",[xh]:"ssrRenderVNode",[wh]:"ssrRenderComponent",[Sh]:"ssrRenderSlot",[Eh]:"ssrRenderSlotInner",[Ph]:"ssrRenderClass",[Th]:"ssrRenderStyle",[Ah]:"ssrRenderAttrs",[Ch]:"ssrRenderAttr",[kh]:"ssrRenderDynamicAttr",[_h]:"ssrRenderList",[Ih]:"ssrIncludeBooleanAttr",[Nh]:"ssrLooseEqual",[Oh]:"ssrLooseContain",[Lh]:"ssrRenderDynamicModel",[Mh]:"ssrGetDynamicModelProps",[Dh]:"ssrRenderTeleport",[Rh]:"ssrRenderSuspense",[jh]:"ssrGetDirectiveProps"};Ye(Fh);const Bh=Gn(/^(if|else|else-if)$/,no);function Uh(e,t,r=!1){const[s]=e.branches,n=pt(s.condition,qh(s,t,r));t.pushStatement(n);let i=n;for(let s=1;s<e.branches.length;s++){const n=e.branches[s],o=qh(n,t,r);n.condition?i=i.alternate=pt(n.condition,o):i.alternate=o}i.alternate||(i.alternate=ct([nt("_push",["`\x3c!----\x3e`"])]))}function qh(e,t,r=!1){const{children:s}=e;return gu(e,t,!(r||1===s.length&&1===s[0].type||1===s.length&&11===s[0].type))}const $h=Gn("for",po);function Vh(e,t,r=!1){const s=!r&&(1!==e.children.length||1!==e.children[0].type),n=it(yo(e.parseResult));n.body=gu(e,t,s),r||t.pushStringPart("\x3c!--[--\x3e"),t.pushStatement(nt(t.helper(_h),[e.source,n])),r||t.pushStringPart("\x3c!--]--\x3e")}const zh=(e,t)=>{if(Ws(e)){const{slotName:r,slotProps:s}=Mo(e,t),n=["_ctx.$slots",r,s||"{}","null","_push","_parent"];t.scopeId&&!1!==t.slotted&&n.push(`"${t.scopeId}-s"`);let i=Sh;const o=t.parent;o&&1===o.type&&1===o.tagType&&Ao(o,t,!0)===sa&&1===o.children.filter(e=>1===e.type).length&&(i=Eh,t.scopeId&&!1!==t.slotted||n.push("null"),n.push("true")),e.ssrCodegenNode=nt(t.helper(i),n)}};function Hh(e,t){const r=e.ssrCodegenNode;if(e.children.length){const s=it([]);s.body=gu(e,t),r.arguments[3]=s}if(t.withSlotScopeId){const e=r.arguments[6];r.arguments[6]=e?e+" + _scopeId":"_scopeId"}t.pushStatement(e.ssrCodegenNode)}function Gh(e,t){return oe(e,t,Wh)}const Wh={62:"Unsafe attribute name for SSR.",63:"Missing the 'to' prop on teleport element.",64:"Invalid AST node during SSR transform."};const Yh=new WeakMap;const Jh=new WeakMap,Kh=(e,t)=>{if(1===e.type&&0===e.tagType)return function(){const r=["<"+e.tag],s="textarea"===e.tag||e.tag.indexOf("-")>0,n=Vs(e),i=e.props.some(e=>7===e.type&&!Y(e.name)),o=n||i;if(o){const{props:n,directives:i}=ko(e,t,e.props,!1,!1,!0);if(n||i.length){const o=Xh(n,i,t),a=nt(t.helper(Ah),[o]);if("textarea"===e.tag){const r=e.children[0];if(!r||5!==r.type){const s="_temp"+t.temps++;a.arguments=[ht(tt(s,!1),o)],Jh.set(e,nt(t.helper(vh),[ot(tt('"value" in '+s,!1),tt(s+".value",!1),tt(r?r.content:"",!0),!1)]))}}else if("input"===e.tag){const r=function(e){return e.props.find(e=>7===e.type&&"model"===e.name&&e.exp)}(e);if(r){const e=tt("_temp"+t.temps++,!1);a.arguments=[ut([ht(e,o),nt(t.helper(Ie),[e,nt(t.helper(Mh),[e,r.exp])])])]}}s&&a.arguments.push(`"${e.tag}"`),r.push(a)}}let a=void 0,c=void 0,l=void 0;for(let n=0;n<e.props.length;n++){const i=e.props[n];if("input"!==e.tag||!Qh(i))if(7===i.type){if("html"===i.name&&i.exp)Jh.set(e,i.exp);else if("text"===i.name&&i.exp)e.children=[rt(i.exp,i.loc)];else if("slot"===i.name)t.onError(oe(40,i.loc));else if(Zh(e,i)&&i.exp)o||(e.children=[rt(i.exp,i.loc)]);else if(!o&&"on"!==i.name){const n=t.directiveTransforms[i.name];if(n){const{props:o,ssrTagParts:c}=n(i,e,t);c&&r.push(...c);for(let n=0;n<o.length;n++){const{key:i,value:c}=o[n];if(As(i)){let s=i.content;if("key"===s||"ref"===s)continue;"class"===s?r.push(' class="',a=nt(t.helper(Ph),[c]),'"'):"style"===s?l?eu(l,c):r.push(' style="',l=nt(t.helper(Th),[c]),'"'):(s=e.tag.indexOf("-")>0?s:S[s]||s.toLowerCase(),b(s)?r.push(ot(nt(t.helper(Ih),[c]),tt(" "+s,!0),tt("",!0),!1)):w(s)?r.push(nt(t.helper(Ch),[i,c])):t.onError(Gh(62,i.loc)))}else{const n=[i,c];s&&n.push(`"${e.tag}"`),r.push(nt(t.helper(kh),n))}}}}}else if("textarea"===e.tag&&"value"===i.name&&i.value)Jh.set(e,A(i.value.content));else if(!o){if("key"===i.name||"ref"===i.name)continue;"class"===i.name&&i.value&&(c=JSON.stringify(i.value.content)),r.push(" "+i.name+(i.value?`="${A(i.value.content)}"`:""))}}a&&c&&(eu(a,c),function(e,t){const r=new RegExp(`^ ${t}=".+"$`),s=e.findIndex(e=>"string"==typeof e&&r.test(e));s>-1&&e.splice(s,1)}(r,"class")),t.scopeId&&r.push(" "+t.scopeId),e.ssrCodegenNode=lt(r)}};function Xh(e,t,r){let s=[];if(e&&(14===e.type?s=e.arguments:s.push(e)),t.length)for(const e of t)s.push(nt(r.helper(jh),["_ctx",...No(e,r).elements]));return s.length>1?nt(r.helper(Ie),s):s[0]}function Qh(e){return 7===e.type?"bind"===e.name&&e.arg&&As(e.arg)&&("true-value"===e.arg.content||"false-value"===e.arg.content):"true-value"===e.name||"false-value"===e.name}function Zh(e,t){return!("textarea"!==e.tag||"bind"!==t.name||!$s(t.arg,"value"))}function eu(e,t){const r=e.arguments[0];17===r.type?r.elements.push(t):e.arguments[0]=Qe([r,t])}function tu(e,t){const r=t.options.isVoidTag||N,s=e.ssrCodegenNode.elements;for(let e=0;e<s.length;e++)t.pushStringPart(s[e]);t.withSlotScopeId&&t.pushStringPart(tt("_scopeId",!1)),t.pushStringPart(">");const n=Jh.get(e);n?t.pushStringPart(n):e.children.length&&mu(e,t),r(e.tag)||t.pushStringPart(`</${e.tag}>`)}const ru=new WeakMap;const su=new WeakMap,nu=Symbol(),iu=new WeakMap,ou=(e,t)=>{if(1!==e.type||1!==e.tagType)return;const r=Ao(e,t,!0),s=V(r)&&r.callee===Se;if(iu.set(e,r),$(r))return r===pe?function(e,t){return()=>{if(e.children.length){const r={slotsExp:null,wipSlots:[]};Yh.set(e,r),r.slotsExp=So(e,t,(e,t,s)=>{const n=it([],void 0,!0,!1,s);return r.wipSlots.push({fn:n,children:t}),n}).slots}}}(e,t):r===na?function(e,t){return()=>{const r=qs(e,"tag");if(r){const s=e.props.filter(e=>e!==r),{props:n,directives:i}=ko(e,t,s,!0,!1,!0);let o=null;(n||i.length)&&(o=nt(t.helper(Ah),[Xh(n,i,t)])),ru.set(e,{tag:r,propsExp:o})}}}(e,t):void 0;const n=[],i=du(e);return function(){i.children.length&&So(i,t,(e,r)=>(n.push(function(e,t,r){const s=cu.get(r.root),n=Object.assign(Object.assign({},s),{nodeTransforms:[...hu,...s.nodeTransforms||[]],directiveTransforms:Object.assign(Object.assign({},uu),s.directiveTransforms||{})});return function(e,t,r){const s=Ke([e]),n=Vn(s,t);n.ssr=!1,n.scopes=Object.assign({},r.scopes),n.identifiers=Object.assign({},r.identifiers),n.imports=r.imports,Hn(s,n),["helpers","components","directives"].forEach(e=>{n[e].forEach((t,s)=>{if("helpers"===e){const e=r.helpers.get(s);void 0===e?r.helpers.set(s,t):r.helpers.set(s,t+e)}else r[e].add(t)})})}({type:1,ns:0,tag:"template",tagType:3,isSelfClosing:false,props:[{type:7,name:"slot",exp:e,arg:undefined,modifiers:[],loc:Je}],children:t,loc:Je,codegenNode:undefined},n,r),dt(t)}(e,r,t)),it(void 0)));let o="null";if(e.props.length){const{props:r,directives:n}=ko(e,t,void 0,!0,s);(r||n.length)&&(o=Xh(r,n,t))}const a=[];su.set(e,a);const c=e.children.length?So(e,t,(e,t,r)=>{const s=it([e&&ro(e)||"_","_push","_parent","_scopeId"],void 0,!0,!0,r);return a.push({type:nu,fn:s,children:t,vnodeBranch:n[a.length]}),s}).slots:"null";e.ssrCodegenNode="string"!=typeof r?nt(t.helper(xh),["_push",nt(t.helper(ge),[r,o,c]),"_parent"]):nt(t.helper(wh),[r,o,c,"_parent"])}};function au(e,t,r){const s=iu.get(e);if(e.ssrCodegenNode){const r=su.get(e)||[];for(let e=0;e<r.length;e++){const{fn:s,vnodeBranch:n}=r[e];s.body=pt(tt("_push",!1),gu(r[e],t,!1,!0),n)}t.withSlotScopeId&&e.ssrCodegenNode.arguments.push("_scopeId"),"string"==typeof s?t.pushStatement(nt("_push",[e.ssrCodegenNode])):t.pushStatement(e.ssrCodegenNode)}else{if(s===le)return function(e,t){const r=qs(e,"to");if(!r)return void t.onError(Gh(63,e.loc));let s;if(s=6===r.type?r.value&&tt(r.value.content,!0):r.exp,!s)return void t.onError(Gh(63,r.loc));const n=qs(e,"disabled",!1,!0),i=n?6===n.type?"true":n.exp||"false":"false",o=it(["_push"],void 0,!0,!1,e.loc);o.body=gu(e,t),t.pushStatement(nt(t.helper(Dh),["_push",o,s,i,"_parent"]))}(e,t);if(s===pe)return function(e,t){const r=Yh.get(e);if(!r)return;const{slotsExp:s,wipSlots:n}=r;for(let e=0;e<n.length;e++){const r=n[e];r.fn.body=gu(r,t)}t.pushStatement(nt(t.helper(Rh),["_push",s]))}(e,t);if(s===na)return function(e,t){const r=ru.get(e);if(r){const{tag:s,propsExp:n}=r;7===s.type?(t.pushStringPart("<"),t.pushStringPart(s.exp),n&&t.pushStringPart(n),t.pushStringPart(">"),mu(e,t,!1,!0),t.pushStringPart("</"),t.pushStringPart(s.exp),t.pushStringPart(">")):(t.pushStringPart("<"+s.value.content),n&&t.pushStringPart(n),t.pushStringPart(">"),mu(e,t,!1,!0),t.pushStringPart(`</${s.value.content}>`))}else mu(e,t,!0,!0)}(e,t);r.type===nu&&t.pushStringPart(""),s===sa&&(e.children=e.children.filter(e=>3!==e.type)),mu(e,t)}}const cu=new WeakMap,[lu,pu]=Go(!0),hu=[...lu,...Na],uu=Object.assign(Object.assign({},pu),Oa);function du(e){if(j(e))return e.map(du);if(V(e)){const t={};for(const r in e)t[r]=du(e[r]);return t}return e}function fu(e,t,r=new Set,s=!1){const n=[];let i=null;return{root:e,options:t,body:n,helpers:r,withSlotScopeId:s,onError:t.onError||(e=>{throw e}),helper:e=>(r.add(e),e),pushStringPart(e){if(!i){const e=nt("_push");n.push(e),i=lt([]),e.arguments.push(i)}const t=i.elements,r=t[t.length-1];q(e)&&q(r)?t[t.length-1]+=e:t.push(e)},pushStatement(e){i=null,n.push(e)}}}function mu(e,t,r=!1,s=!1){r&&t.pushStringPart("\x3c!--[--\x3e");const{children:n}=e;for(let r=0;r<n.length;r++){const i=n[r];switch(i.type){case 1:switch(i.tagType){case 0:tu(i,t);break;case 1:au(i,t,e);break;case 2:Hh(i,t);break;case 3:break;default:t.onError(Gh(64,i.loc));return i}break;case 2:t.pushStringPart(A(i.content));break;case 3:t.pushStringPart(`\x3c!--${i.content}--\x3e`);break;case 5:t.pushStringPart(nt(t.helper(vh),[i.content]));break;case 9:Uh(i,t,s);break;case 11:Vh(i,t,s);break;case 10:break;case 12:case 8:break;default:t.onError(Gh(64,i.loc));return i}}r&&t.pushStringPart("\x3c!--]--\x3e")}function gu(e,t,r=!1,s=t.withSlotScopeId){const n=function(e,t=e.withSlotScopeId){return fu(e.root,e.options,e.helpers,t)}(t,s);return mu(e,n,r),ct(n.body)}const yu=(e,t,r)=>{const s=e.exp;function n(){const e=qs(t,"value");e&&r.onError(ua(58,e.loc))}if(0===t.tagType){const i={props:[]},o=[et("value",s)];if("input"===t.tag){const a=qs(t,"type");if(a){const c=function(e){const t=qs(e,"value");return t?7===t.type?t.exp:tt(t.value.content,!0):tt("null",!1)}(t);if(7===a.type)i.ssrTagParts=[nt(r.helper(Lh),[a.exp,s,c])];else if(a.value)switch(a.value.content){case"radio":i.props=[et("checked",nt(r.helper(Nh),[s,c]))];break;case"checkbox":const a=qs(t,"true-value");if(a){const e=6===a.type?JSON.stringify(a.value.content):a.exp;i.props=[et("checked",nt(r.helper(Nh),[s,e]))]}else i.props=[et("checked",ot(nt("Array.isArray",[s]),nt(r.helper(Oh),[s,c]),s))];break;case"file":r.onError(ua(57,e.loc));break;default:n(),i.props=o}}else Vs(t)||(n(),i.props=o)}else"textarea"===t.tag?(n(),t.children=[rt(s,s.loc)]):"select"===t.tag||r.onError(ua(55,e.loc));return i}return $o(e,t,r)};const bu=(e,t,r)=>(e.exp||r.onError(ua(59)),{props:[et("style",ot(e.exp,tt("null",!1),Ze([et("display",tt("none",!0))]),!1))]}),vu=e=>e.children.filter(e=>3!==e.type),xu=e=>1===vu(e).length,wu=(e,t)=>{if(0===e.type&&(t.identifiers._attrs=1),1===e.type&&1===e.tagType&&(Cs(e.tag,"Transition")||Cs(e.tag,"KeepAlive"))){const r=vu(t.root);if(1===r.length&&r[0]===e)return void(xu(e)&&Su(e.children[0]))}const r=t.parent;if(r&&0===r.type)if(10===e.type&&xu(e)){let t=!1;for(const e of vu(r))if(9===e.type||1===e.type&&Us(e,"if")){if(t)return;t=!0}else if(!t||1!==e.type||!Us(e,/else/,!0))return;Su(e.children[0])}else xu(r)&&Su(e)};function Su(e){1!==e.type||0!==e.tagType&&1!==e.tagType||Us(e,"for")||e.props.push({type:7,name:"bind",arg:void 0,exp:tt("_attrs",!1),modifiers:[],loc:Je})}const Eu=(e,t)=>{if(!t.ssrCssVars)return;0===e.type&&(t.identifiers._cssVars=1);const r=t.parent;if(r&&0===r.type)if(10===e.type)for(const t of e.children)Pu(t);else Pu(e)};function Pu(e){if(1===e.type&&(0===e.tagType||1===e.tagType)&&!Us(e,"for"))if(Cs(e.tag,"Suspense"))for(const t of e.children)1===t.type&&3===t.tagType?t.children.forEach(Pu):Pu(t);else e.props.push({type:7,name:"bind",arg:void 0,exp:tt("_cssVars",!1),modifiers:[],loc:Je})}var Tu=Object.freeze({__proto__:null,compile:function(e,t={}){const r=hn(e,t=Object.assign(Object.assign(Object.assign({},t),la),{ssr:!0,inSSR:!0,scopeId:"function"===t.mode?null:t.scopeId,prefixIdentifiers:!0,cacheHandlers:!1,hoistStatic:!1}));return cu.set(r,t),zn(r,Object.assign(Object.assign({},t),{hoistStatic:!1,nodeTransforms:[Bh,$h,xo,eo,zh,wu,Eu,Kh,ou,vo,pa,...t.nodeTransforms||[]],directiveTransforms:Object.assign({bind:jo,on:Ro,model:yu,show:bu,cloak:Yo,once:Yo,memo:Yo},t.directiveTransforms||{})})),function(e,t){const r=fu(e,t);if(t.ssrCssVars){const s=Vn(Ke([]),t),n=to(tt(t.ssrCssVars,!1),s);r.body.push(st(["const _cssVars = { style: ",n,"}"])),Array.from(s.helpers.keys()).forEach(t=>{e.helpers.includes(t)||e.helpers.push(t)})}const s=e.children.length>1&&e.children.some(e=>!zs(e));mu(e,r,s),e.codegenNode=ct(r.body),e.ssrHelpers=Array.from(new Set([...e.helpers.filter(e=>e in Fh),...r.helpers])),e.helpers=e.helpers.filter(e=>!(e in Fh))}(r,t),Oi(r,t)}}),Au=Zn(Object.freeze({__proto__:null,default:{}})),Cu=Zn(ml),ku=Zn(Np);const _u={};function Iu(t){void 0!==e&&"production"==={}.NODE_ENV||_u[t]||(_u[t]=!0,Nu(t))}function Nu(e){console.warn(`\x1b[1m\x1b[33m[@vue/compiler-sfc]\x1b[0m\x1b[33m ${e}\x1b[0m\n`)}function Ou({source:e,filename:t,preprocessOptions:r},s){let n="",i=null;if(s.render(e,Object.assign({filename:t},r),(e,t)=>{e&&(i=e),n=t}),i)throw i;return n}function Lu(e){const{preprocessLang:t,preprocessCustomRequire:r}=e;if(t&&!r)throw new Error("[@vue/compiler-sfc] Template preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor in the shape of { render(): string }.");const s=!!t&&(r?r(t):void 0);if(!s)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.`]}:Mu(e);try{return Mu(Object.assign(Object.assign({},e),{source:Ou(e,s)}))}catch(t){return{code:"export default function render() {}",source:e.source,tips:[],errors:[t]}}}function Mu({filename:e,id:t,scoped:r,slotted:s,inMap:n,source:i,ssr:o=!1,ssrCssVars:c,isProd:l=!1,compiler:p=(o?Tu:La),compilerOptions:h={},transformAssetUrls:u}){const d=[],f=[];let m=[];if(V(u)){const e=(g=u,Object.keys(g).some(e=>j(g[e]))?Object.assign(Object.assign({},uh),{tags:g}):Object.assign(Object.assign({},uh),g));m=[dh(e),yh(e)]}else!1!==u&&(m=[fh,bh]);var g;o&&!c&&Iu("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option.`."),t||(Iu("compileTemplate now requires the `id` option.`."),t="");const y=t.replace(/^data-v-/,""),b="data-v-"+y;let{code:v,ast:x,preamble:w,map:S}=p.compile(i,Object.assign(Object.assign({mode:"module",prefixIdentifiers:!0,hoistStatic:!0,cacheHandlers:!0,ssrCssVars:o&&c&&c.length?ja(c,y,l,!0):"",scopeId:r?b:void 0,slotted:s,sourceMap:!0},h),{nodeTransforms:m.concat(h.nodeTransforms||[]),filename:e,onError:e=>d.push(e),onWarn:e=>f.push(e)}));n&&(S&&(S=function(e,t){if(!e)return t;if(!t)return e;const r=new ki(e),s=new ki(t),n=new Ci;s.eachMapping(e=>{if(null==e.originalLine)return;const t=r.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 r.sources.forEach(e=>{i._sources.add(e);const t=r.sourceContentFor(e);null!=t&&n.setSourceContent(e,t)}),i._sourceRoot=e.sourceRoot,i._file=e.file,i.toJSON()}(n,S)),d.length&&function(e,t,r){const s=r.sourcesContent[0],n=s.indexOf(t),i=s.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 E=f.map(e=>{let t=e.message;return e.loc&&(t+="\n"+a(i,e.loc.start.offset,e.loc.end.offset)),t});return{code:v,ast:x,preamble:w,source:i,errors:d,tips:E,map:S}}const Du=/((?:^|\n|;)\s*)export(\s*)default/,Ru=/((?:^|\n|;)\s*)export(.+)(?:as)?(\s*)default/s,ju=/((?:^|\n|;)\s*)export\s+default\s+class\s+([\w$]+)/;function Fu(e,t,r){if(!Bu(e))return e+`\nconst ${t} = {}`;let s;const n=e.match(ju);if(s=n?e.replace(ju,"$1class $2")+`\nconst ${t} = ${n[2]}`:e.replace(Du,`$1const ${t} =`),!Bu(s))return s;const i=new el(e);return Ps(e,{sourceType:"module",plugins:r}).program.body.forEach(r=>{if("ExportDefaultDeclaration"===r.type&&("ClassDeclaration"===r.declaration.type?(i.overwrite(r.start,r.declaration.id.start,"class "),i.append(`\nconst ${t} = ${r.declaration.id.name}`)):i.overwrite(r.start,r.declaration.start,`const ${t} = `)),"ExportNamedDeclaration"===r.type)for(const s of r.specifiers)if("ExportSpecifier"===s.type&&"Identifier"===s.exported.type&&"default"===s.exported.name){if(r.source){if("default"===s.local.name){const n=Uu(e,s.local.end,r.end);i.prepend(`import { default as __VUE_DEFAULT__ } from '${r.source.value}'\n`),i.overwrite(s.start,n,""),i.append(`\nconst ${t} = __VUE_DEFAULT__`);continue}{const n=Uu(e,s.exported.end,r.end);i.prepend(`import { ${e.slice(s.local.start,s.local.end)} } from '${r.source.value}'\n`),i.overwrite(s.start,n,""),i.append(`\nconst ${t} = ${s.local.name}`);continue}}const n=Uu(e,s.end,r.end);i.overwrite(s.start,n,""),i.append(`\nconst ${t} = ${s.local.name}`)}}),i.toString()}function Bu(e){return Du.test(e)||Ru.test(e)}function Uu(e,t,r){let s=!1,n=t;for(;t<r;)if(/\s/.test(e.charAt(t)))t++;else{if(","===e.charAt(t)){t++,s=!0;break}if("}"===e.charAt(t))break}return s?t:n}const qu=["ref","computed","shallowRef","toRef","customRef"],$u=/[^\w]\$(?:\$|ref|computed|shallowRef)?\s*(\(|\<)/;function Vu(e){return $u.test(e)}function zu(e,{filename:t,sourceMap:r,parserPlugins:s,importHelpersFrom:n="vue"}={}){const i=s||[];t&&(/\.tsx?$/.test(t)&&i.push("typescript"),t.endsWith("x")&&i.push("jsx"));const o=Ps(e,{sourceType:"module",plugins:i}),a=new el(e),c=Hu(o.program,a,0);return c.importedHelpers.length&&a.prepend(`import { ${c.importedHelpers.map(e=>`${e} as _${e}`).join(", ")} } from '${n}'\n`),Object.assign(Object.assign({},c),{code:a.toString(),map:r?a.generateMap({source:t,hires:!0,includeContent:!0}):null})}function Hu(t,r,s=0,n,i){!function(){if("undefined"!=typeof window)return;t=`Reactivity transform is an experimental feature.\nExperimental features may change behavior between patch versions.\nIt is recommended to pin your vue dependencies to exact versions to avoid breakage.\nYou can follow the proposal's status at ${Gu}.`,void 0!==e&&"production"==={}.NODE_ENV||Wu[t]||(Wu[t]=!0,function(e){console.warn(`\x1b[1m\x1b[33m[@vue/reactivity-transform]\x1b[0m\x1b[33m ${e}\x1b[0m\n`)}(t));var t}();const o=Object.create(null);for(const e of t.body)"ImportDeclaration"===e.type&&y(e);let a,c;for(const{local:e,imported:t,source:r,specifier:s}of Object.values(o))"vue/macros"===r&&("$$"===t?c=e:"$"===t?a=e:t!==e&&v("macro imports for ref-creating methods do not support aliasing.",s));a||o.$||(a="$"),c||o.$$||(c="$$");const l=new Set,p={},h=[p];let u,d=p;const f=new WeakSet,m=[],g=Object.create(null);if(n)for(const e of n)p[e]=!0;if(i)for(const e in i){const{local:t}=i[e];p[t]="prop",g[t]=e}function y(e){const t=e.source.value;"vue/macros"===t&&r.remove(e.start+s,e.end+s);for(const r of e.specifiers){const e=r.local.name,s="ImportSpecifier"===r.type&&"Identifier"===r.imported.type&&r.imported.name||"default";o[e]={source:t,local:e,imported:s,specifier:r}}}function b(e){return!(!a||void 0!==d[a])&&(e===a?a:!("$"!==e[0]||!qu.includes(e.slice(1)))&&e)}function v(e,t){const r=new Error(e);throw r.node=t,r}function x(e){return l.add(e),"_"+e}function w(e,t=!1){f.add(e),d?d[e.name]=t:v("registerBinding called without active scope, something is wrong.",e)}const S=e=>w(e,!0);let E=0;function P(){return"__$temp_"+ ++E}function T(e){return r.original.slice(e.start+s,e.end+s)}function A(e,t=!1){for(const r of e.body)if("VariableDeclaration"===r.type)C(r,t);else if("FunctionDeclaration"===r.type||"ClassDeclaration"===r.type){if(r.declare||!r.id)continue;w(r.id)}else"ForOfStatement"!==r.type&&"ForInStatement"!==r.type||"VariableDeclaration"!==r.left.type?"ExportNamedDeclaration"===r.type&&r.declaration&&"VariableDeclaration"===r.declaration.type?C(r.declaration,t):"LabeledStatement"===r.type&&"VariableDeclaration"===r.body.type&&C(r.body,t):C(r.left)}function C(e,t=!1){if(!e.declare)for(const r of e.declarations){let e;const s=r.init&&"CallExpression"===r.init.type&&"Identifier"===r.init.callee.type;if(s&&(e=b(r.init.callee.name)))k(e,r.id,r.init);else{const e=t&&s&&"defineProps"===r.init.callee.name;for(const t of Yi(r.id))e?f.add(t):w(t)}}}function k(e,t,n){f.add(n.callee),e===a?(r.remove(n.callee.start+s,n.callee.end+s),"Identifier"===t.type?S(t):"ObjectPattern"===t.type?_(t,n):"ArrayPattern"===t.type&&I(t,n)):"Identifier"===t.type?(S(t),r.overwrite(n.start+s,n.start+e.length+s,x(e.slice(1)))):v(e+"() cannot be used with destructure patterns.",n)}function _(e,t,n,i=[]){let o;n||(n=P(),r.overwrite(e.start+s,e.end+s,n));for(const a of e.properties){let e,c;if("ObjectProperty"===a.type?a.key.start===a.value.start?(o=a.key,"Identifier"===a.value.type?f.add(a.value):"AssignmentPattern"===a.value.type&&"Identifier"===a.value.left.type&&(f.add(a.value.left),c=a.value.right)):(e=a.computed?a.key:a.key.name,"Identifier"===a.value.type?o=a.value:"ObjectPattern"===a.value.type?_(a.value,t,n,[...i,e]):"ArrayPattern"===a.value.type?I(a.value,t,n,[...i,e]):"AssignmentPattern"===a.value.type&&("Identifier"===a.value.left.type?(o=a.value.left,c=a.value.right):"ObjectPattern"===a.value.left.type?_(a.value.left,t,n,[...i,[e,a.value.right]]):"ArrayPattern"===a.value.left.type&&I(a.value.left,t,n,[...i,[e,a.value.right]]))):v("reactivity destructure does not support rest elements.",a),o){S(o);const a=N(n,i),l=q(e)?`'${e}'`:e?T(e):`'${o.name}'`,p=c?", "+T(c):"";r.appendLeft(t.end+s,`,\n ${o.name} = ${x("toRef")}(${a}, ${l}${p})`)}}o&&r.appendLeft(t.end+s,";")}function I(e,t,n,i=[]){let o;n||(n=P(),r.overwrite(e.start+s,e.end+s,n));for(let a=0;a<e.elements.length;a++){const c=e.elements[a];if(!c)continue;let l;if("Identifier"===c.type?o=c:"AssignmentPattern"===c.type?(o=c.left,l=c.right):"RestElement"===c.type?v("reactivity destructure does not support rest elements.",c):"ObjectPattern"===c.type?_(c,t,n,[...i,a]):"ArrayPattern"===c.type&&I(c,t,n,[...i,a]),o){S(o);const e=N(n,i),c=l?", "+T(l):"";r.appendLeft(t.end+s,`,\n ${o.name} = ${x("toRef")}(${e}, ${a}${c})`)}}o&&r.appendLeft(t.end+s,";")}function N(e,t){if(t.length)for(const r of t)j(r)?e=`(${e}${O(r[0])} || ${T(r[1])})`:e+=O(r);return e}function O(e){return"number"==typeof e?`[${e}]`:"string"==typeof e?"."+e:T(e)}function L(e,t,n,i){if(R(e,t.name)){const o=e[t.name];if(o){const e="prop"===o;Xi(n)&&n.shorthand?n.inPattern&&!Hi(n,i)||(e?u?(D(t),r.appendLeft(t.end+s,": __props_"+g[t.name])):r.appendLeft(t.end+s,": "+se(g[t.name])):r.appendLeft(t.end+s,`: ${t.name}.value`)):e?u?(D(t),r.overwrite(t.start+s,t.end+s,"__props_"+g[t.name])):r.overwrite(t.start+s,t.end+s,se(g[t.name])):r.appendLeft(t.end+s,".value")}return!0}return!1}const M={};function D(e){if(!M.hasOwnProperty(e.name)){M[e.name]=!0;const t=g[e.name];r.prependRight(s,`const __props_${t} = ${x("toRef")}(__props, '${t}');\n`)}}return A(t,!0),$i(t,{enter(e,t){if(t&&m.push(t),Ki(e))return h.push(d={}),Gi(e,w),void("BlockStatement"===e.body.type&&A(e.body));if("CatchClause"===e.type)return h.push(d={}),e.param&&"Identifier"===e.param.type&&w(e.param),void A(e.body);if("BlockStatement"===e.type&&!Ki(t))return h.push(d={}),void A(e);if(t&&t.type.startsWith("TS")&&"TSAsExpression"!==t.type&&"TSNonNullExpression"!==t.type&&"TSTypeAssertion"!==t.type)return this.skip();if("Identifier"===e.type&&(!u||"prop"===p[e.name])&&zi(e,t,m)&&!f.has(e)){let r=h.length;for(;r--;)if(L(h[r],e,t,m))return}if("CallExpression"===e.type&&"Identifier"===e.callee.type){const n=e.callee.name,i=b(n);if(i&&(!t||"VariableDeclarator"!==t.type))return v(i+" can only be used as the initializer of a variable declaration.",e);c&&void 0===d[c]&&n===c&&(r.remove(e.callee.start+s,e.callee.end+s),u=e),"$raw"===n&&v(`$raw() has been replaced by $$(). See ${Gu} for latest updates.`,e),"$fromRef"===n&&v(`$fromRef() has been replaced by $(). See ${Gu} for latest updates.`,e)}},leave(e,t){t&&m.pop(),("BlockStatement"===e.type&&!Ki(t)||Ki(e))&&(h.pop(),d=h[h.length-1]||null),e===u&&(u=void 0)}}),{rootRefs:Object.keys(p).filter(e=>!0===p[e]),importedHelpers:[...l]}}const Gu="https://github.com/vuejs/rfcs/discussions/369",Wu={};const Yu=s("once,memo,if,for,else,else-if,slot,text,html,on,bind,model,show,cloak,is");function Ju(e,t){var r;let{script:s,scriptSetup:n,source:i,filename:o}=e;const c=!!t.reactivityTransform||!!t.refSugar||!!t.refTransform,l=!!t.reactivityTransform||!!t.propsDestructureTransform,p=!!t.isProd,h=!1!==t.sourceMap;let u;t.id||Iu("compileScript now requires passing the `id` option.\nUpgrade your vite or vue-loader version for compatibility with the latest experimental proposals.");const d=t.id?t.id.replace(/^data-v-/,""):"",f=e.cssVars,m=s&&s.lang,g=n&&n.lang,y="ts"===m||"tsx"===m||"ts"===g||"tsx"===g,b=[];if(y&&"tsx"!==m&&"tsx"!==g?t.babelParserPlugins&&(t.babelParserPlugins=t.babelParserPlugins.filter(e=>"jsx"!==e)):b.push("jsx"),t.babelParserPlugins&&b.push(...t.babelParserPlugins),y&&(b.push("typescript"),b.includes("decorators")||b.push("decorators-legacy")),!n){if(!s)throw new Error("[@vue/compiler-sfc] SFC contains no <script> tags.");if(m&&!y&&"jsx"!==m)return s;try{let e=s.content,t=s.map;const r=Ps(e,{plugins:b,sourceType:"module"}).program,n=ad(r.body);if(c&&Vu(e)){const n=new el(i),a=s.loc.start.offset,c=s.loc.end.offset,{importedHelpers:l}=Hu(r,n,a);l.length&&n.prepend(`import { ${l.map(e=>`${e} as _${e}`).join(", ")} } from 'vue'\n`),n.remove(0,a),n.remove(c,i.length),e=n.toString(),h&&(t=n.generateMap({source:o,hires:!0,includeContent:!0}))}return f.length&&(e=Fu(e,"__default__",b),e+=function(e,t,r,s){return`\nimport { useCssVars as _useCssVars } from 'vue'\nconst __injectCSSVars__ = () => {\n${Va(e,t,r,s)}}\nconst __setup__ = __default__.setup\n__default__.setup = __setup__\n ? (props, ctx) => { __injectCSSVars__();return __setup__(props, ctx) }\n : __injectCSSVars__\n`}(f,n,d,p),e+="\nexport default __default__"),Object.assign(Object.assign({},s),{content:e,map:t,bindings:n,scriptAst:r.body})}catch(e){return s}}if(s&&m!==g)throw new Error("[@vue/compiler-sfc] <script> and <script setup> must have the same language type.");if(g&&!y&&"jsx"!==g)return n;const v={},x=new Set,w=Object.create(null),S=Object.create(null),E=Object.create(null);let P,T,A,C,k,_,I,N,O,L,M,D,R=!1,j=!1,F=!1,B=!1,U=!1,q=!1,$=!1;const V={},z=new Set,H={},G=Object.create(null),W=new el(i),Y=n.loc.start.offset,J=n.loc.end.offset,K=s&&s.loc.start.offset,X=s&&s.loc.end.offset;function Q(e){return x.add(e),"_"+e}function Z(t,r,s){try{return Ps(t,r).program}catch(t){throw t.message=`[@vue/compiler-sfc] ${t.message}\n\n${e.filename}\n${a(i,t.pos+s,t.pos+s+1)}`,t}}function ee(t,r,s=r.end+Y){throw new Error(`[@vue/compiler-sfc] ${t}\n\n${e.filename}\n${a(i,r.start+Y,s)}`)}function te(e){const t=e.start+Y;let r=e.end+Y;if(e.trailingComments&&e.trailingComments.length>0){r=e.trailingComments[e.trailingComments.length-1].end+Y}for(;r<=i.length&&/\s/.test(i.charAt(r));)r++;W.move(t,r,0)}function re(t,r,s,n,i,o){let a=o;o&&y&&e.template&&!e.template.src&&!e.template.lang&&(a=md(r,e)),w[r]={isType:n,imported:s||"default",local:r,source:t,isFromSetup:i,isUsedInTemplate:a}}function se(e,t){if(!id(e,"defineProps"))return!1;if(R&&ee("duplicate defineProps() call",e),R=!0,T=e.arguments[0],e.typeParameters&&(T&&ee("defineProps() cannot accept both type and non-type arguments at the same time. Use one or the other.",e),I=e.typeParameters.params[0],_=pe(I,e=>"TSTypeLiteral"===e.type),_||ee("type argument passed to defineProps() must be a literal type, or a reference to an interface or literal type.",I)),t)if(l&&"ObjectPattern"===t.type){C=t;for(const e of t.properties)if("ObjectProperty"===e.type){const t=gd(e.key,e.computed);if(t||ee("defineProps() destructure cannot use computed key.",e.key),"AssignmentPattern"===e.value.type){const{left:r,right:s}=e.value;"Identifier"!==r.type&&ee("defineProps() destructure does not support nested patterns.",r),G[t]={local:r.name,default:s}}else"Identifier"===e.value.type?G[t]={local:e.value.name}:ee("defineProps() destructure does not support nested patterns.",e.value)}else k=e.argument.name}else N=n.content.slice(t.start,t.end);return!0}function ne(e,t){return!!id(e,"withDefaults")&&(se(e.arguments[0],t)?(T&&ee("withDefaults can only be used with type-based defineProps declaration.",e),C&&ee("withDefaults() is unnecessary when using destructure with defineProps().\nPrefer using destructure default values, e.g. const { foo = 1 } = defineProps(...).",e.callee),A=e.arguments[1],A&&"ObjectExpression"===A.type||ee("The 2nd argument of withDefaults must be an object literal.",A||e)):ee("withDefaults' first argument must be a defineProps call.",e.arguments[0]||e),!0)}function ie(e,t){return!!id(e,"defineEmits")&&(j&&ee("duplicate defineEmits() call",e),j=!0,O=e.arguments[0],e.typeParameters&&(O&&ee("defineEmits() cannot accept both type and non-type arguments at the same time. Use one or the other.",e),M=e.typeParameters.params[0],L=pe(M,e=>"TSFunctionType"===e.type||"TSTypeLiteral"===e.type),L||ee("type argument passed to defineEmits() must be a function type, a literal type with call signatures, or a reference to the above types.",M)),t&&(D="Identifier"===t.type?t.name:n.content.slice(t.start,t.end)),!0)}function oe(){return ge?[...ye.body,...ge.body]:ye.body}function ae(e,t,r=[]){return"TSInterfaceDeclaration"===e.type&&e.extends&&e.extends.forEach(e=>{if("TSExpressionWithTypeArguments"===e.type&&"Identifier"===e.expression.type){const s=oe();for(const n of s){const s=ce(n,t,e.expression.name);if(s)return r.push(s),ae(n,t,r),r}}}),r}function ce(e,t,r){return"TSInterfaceDeclaration"===e.type&&e.id.name===r?e.body:"TSTypeAliasDeclaration"===e.type&&e.id.name===r&&t(e.typeAnnotation)?e.typeAnnotation:"ExportNamedDeclaration"===e.type&&e.declaration?ce(e.declaration,t,r):void 0}function le(e,t){e.forEach(e=>{e.body.forEach(e=>{if("TSPropertySignature"===e.type&&"Identifier"===e.key.type){const r=e.key.name;t.some(e=>"TSPropertySignature"===e.type&&"Identifier"===e.key.type&&e.key.name===r)||t.push(e)}})})}function pe(e,t){if(t(e))return e;if("TSTypeReference"===e.type&&"Identifier"===e.typeName.type){const r=e.typeName.name,s=oe();for(const e of s){let s=ce(e,t,r);if(s){const r=ae(e,t);if(r.length){const e=[...s.body];le(r,e),s.body=e}return s}}}}function he(e){return!!id(e,"defineExpose")&&(F&&ee("duplicate defineExpose() call",e),F=!0,!0)}function ue(e,t){e&&Vi(e,e=>{E[e.name]&&ee(`\`${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)})}function de(e,t,r){const s=e.argument.extra&&e.argument.extra.parenthesized?e.argument.extra.parenStart:e.argument.start,n=i.slice(s+Y,e.argument.end+Y),o=/\bawait\b/.test(n);W.overwrite(e.start+Y,s+Y,`${t?";":""}(\n ([__temp,__restore] = ${Q("withAsyncContext")}(${o?"async ":""}() => `),W.appendLeft(e.end+Y,`)),\n ${r?"":"__temp = "}await __temp,\n __restore()${r?"":",\n __temp"}\n)`)}function fe(){return A&&"ObjectExpression"===A.type&&A.properties.every(e=>"ObjectProperty"===e.type&&(!e.computed||e.key.type.endsWith("Literal"))||"ObjectMethod"===e.type)}function me(e){const t=G[e];if(t&&t.default){const e=n.content.slice(t.default.start,t.default.end);return t.default.type.endsWith("Literal")?e:`() => (${e})`}}const ge=s&&Z(s.content,{plugins:b,sourceType:"module"},K),ye=Z(n.content,{plugins:[...b,"topLevelAwait"],sourceType:"module"},Y);if(ge)for(const e of ge.body)if("ImportDeclaration"===e.type)for(const r of e.specifiers){const s="ImportSpecifier"===r.type&&"Identifier"===r.imported.type&&r.imported.name;re(e.source.value,r.local.name,s,"type"===e.importKind||"ImportSpecifier"===r.type&&"type"===r.importKind,!1,!t.inlineTemplate)}for(const e of ye.body)if("ImportDeclaration"===e.type){te(e);let r=0;const s=t=>{const s=t>r;r++;const n=e.specifiers[t],i=e.specifiers[t+1];W.remove(s?e.specifiers[t-1].end+Y:n.start+Y,i&&!s?i.start+Y:n.end+Y)};for(let r=0;r<e.specifiers.length;r++){const n=e.specifiers[r],i=n.local.name;let o="ImportSpecifier"===n.type&&"Identifier"===n.imported.type&&n.imported.name;"ImportNamespaceSpecifier"===n.type&&(o="*");const a=e.source.value,c=w[i];"vue"!==a||"defineProps"!==o&&"defineEmits"!==o&&"defineExpose"!==o?c?c.source===a&&c.imported===o?s(r):ee("different imports aliased to same local name.",n):re(a,i,o,"type"===e.importKind||"ImportSpecifier"===n.type&&"type"===n.importKind,!0,!t.inlineTemplate):(Iu(`\`${o}\` is a compiler macro and no longer needs to be imported.`),s(r))}e.specifiers.length&&r===e.specifiers.length&&W.remove(e.start+Y,e.end+Y)}const be={};for(const e in w){const{source:t,imported:r,local:s}=w[e];"vue"===t&&(be[r]=s)}if(s&&ge){for(const e of ge.body)if("ExportDefaultDeclaration"===e.type){let t;if(P=e,"ObjectExpression"===P.declaration.type?t=P.declaration.properties:"CallExpression"===P.declaration.type&&"ObjectExpression"===P.declaration.arguments[0].type&&(t=P.declaration.arguments[0].properties),t)for(const e of t)"ObjectProperty"===e.type&&"Identifier"===e.key.type&&"name"===e.key.name&&(B=!0),"ObjectMethod"!==e.type&&"ObjectProperty"!==e.type||"Identifier"!==e.key.type||"render"!==e.key.name||(U=!0);const r=e.start+K,s=e.declaration.start+K;W.overwrite(r,s,"const __default__ = ")}else if("ExportNamedDeclaration"===e.type){const t=e.specifiers.find(e=>"Identifier"===e.exported.type&&"default"===e.exported.name);t&&(P=e,e.specifiers.length>1?W.remove(t.start+K,t.end+K):W.remove(e.start+K,e.end+K),e.source?W.prepend(`import { ${t.local.name} as __default__ } from '${e.source.value}'\n`):W.appendLeft(X,`\nconst __default__ = ${t.local.name}\n`)),e.declaration&&Xu(e.declaration,S,be)}else"VariableDeclaration"!==e.type&&"FunctionDeclaration"!==e.type&&"ClassDeclaration"!==e.type&&"TSEnumDeclaration"!==e.type||e.declare||Xu(e,S,be);if(c&&Vu(s.content)){const{rootRefs:e,importedHelpers:t}=Hu(ge,W,K);u=e;for(const e of t)x.add(e)}K>Y&&(/\n$/.test(s.content.trim())||W.appendLeft(X,"\n"),W.move(K,X,0))}for(const e of ye.body){if("LabeledStatement"===e.type&&"ref"===e.label.name&&"ExpressionStatement"===e.body.type&&ee("ref sugar using the label syntax was an experimental proposal and has been dropped based on community feedback. Please check out the new proposal at https://github.com/vuejs/rfcs/discussions/369",e),"ExpressionStatement"===e.type)if(se(e.expression)||ie(e.expression)||ne(e.expression))W.remove(e.start+Y,e.end+Y);else if(he(e.expression)){const t=e.expression.callee;W.overwrite(t.start+Y,t.end+Y,"expose")}if("VariableDeclaration"===e.type&&!e.declare){const t=e.declarations.length;let r=t;for(let s=0;s<t;s++){const t=e.declarations[s];if(t.init){const n=se(t.init,t.id)||ne(t.init,t.id),i=ie(t.init,t.id);if(n||i)if(1===r)W.remove(e.start+Y,e.end+Y);else{let n=t.start+Y,i=t.end+Y;0===s?i=e.declarations[s+1].start+Y:n=e.declarations[s-1].end+Y,W.remove(n,i),r--}}}}if("VariableDeclaration"!==e.type&&"FunctionDeclaration"!==e.type&&"ClassDeclaration"!==e.type||e.declare||Xu(e,E,be),"VariableDeclaration"===e.type&&!e.declare||e.type.endsWith("Statement")){const t=[ye.body];$i(e,{enter(e,r){if(Ki(e)&&this.skip(),"BlockStatement"===e.type&&t.push(e.body),"AwaitExpression"===e.type){q=!0;const s=t[t.length-1].some((r,s)=>(1===t.length||s>0)&&"ExpressionStatement"===r.type&&r.start===e.start);de(e,s,"ExpressionStatement"===r.type)}},exit(e){"BlockStatement"===e.type&&t.pop()}})}("ExportNamedDeclaration"===e.type&&"type"!==e.exportKind||"ExportAllDeclaration"===e.type||"ExportDefaultDeclaration"===e.type)&&ee("<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.",e),y&&("TSEnumDeclaration"===e.type&&Ku(E,e.id,"setup-const"),(e.type.startsWith("TS")||"ExportNamedDeclaration"===e.type&&"type"===e.exportKind||"VariableDeclaration"===e.type&&e.declare)&&(td(e,H),te(e)))}if(c&&(u||Vu(n.content))||C){const{rootRefs:e,importedHelpers:t}=Hu(ye,W,Y,u,G);u=u?[...u,...e]:e;for(const e of t)x.add(e)}if(_&&function(e,t,r,s){const n="TSTypeLiteral"===e.type?e.members:e.body;for(const e of n)if(("TSPropertySignature"===e.type||"TSMethodSignature"===e.type)&&"Identifier"===e.key.type){let s;"TSMethodSignature"===e.type?s=["Function"]:e.typeAnnotation&&(s=rd(e.typeAnnotation.typeAnnotation,r)),t[e.key.name]={key:e.key.name,required:!e.optional,type:s||["null"]}}}(_,V,H),L&&function(e,t){if("TSTypeLiteral"===e.type||"TSInterfaceBody"===e.type){const r="TSTypeLiteral"===e.type?e.members:e.body;for(let e of r)"TSCallSignatureDeclaration"===e.type&&nd(e.parameters[0],t);return}nd(e.parameters[0],t)}(L,z),ue(T,"defineProps"),ue(A,"defineProps"),ue(C,"defineProps"),ue(O,"defineEmits"),s?Y<K?(W.remove(0,Y),W.remove(J,K),W.remove(X,i.length)):(W.remove(0,K),W.remove(X,Y),W.remove(J,i.length)):(W.remove(0,Y),W.remove(J,i.length)),ge&&Object.assign(v,ad(ge.body)),T)for(const e of pd(T))v[e]="props";for(const e in V)v[e]="props";if(C){k&&(v[k]="setup-reactive-const");for(const e in G){const{local:t}=G[e];t!==e&&(v[t]="props-aliased",(v.__propsAliases||(v.__propsAliases={}))[t]=e)}}for(const[e,{isType:t,imported:r,source:s}]of Object.entries(w))t||(v[e]="*"===r||"default"===r&&s.endsWith(".vue")||"vue"===s?"setup-const":"setup-maybe-ref");for(const e in S)v[e]=S[e];for(const e in E)v[e]=E[e];if(u)for(const e of u)v[e]="setup-ref";!f.length||t.inlineTemplate&&(null===(r=t.templateOptions)||void 0===r?void 0:r.ssr)||(x.add("useCssVars"),x.add("unref"),W.prependRight(Y,`\n${Va(f,v,d,p)}\n`));let ve="__props";if(_&&(ve+=": any"),N&&W.prependLeft(Y,`\nconst ${N} = __props${_?" as "+function(e){const t=n.content;if(fe()){let r="{ ";const s="TSTypeLiteral"===e.type?e.members:e.body;for(const e of s)"TSPropertySignature"!==e.type&&"TSMethodSignature"!==e.type||!e.typeAnnotation||"Identifier"!==e.key.type||(A.properties.some(t=>"SpreadElement"!==t.type&&gd(t.key,t.computed)===e.key.name)?r+=e.key.name+("TSMethodSignature"===e.type?"()":"")+t.slice(e.typeAnnotation.start,e.typeAnnotation.end)+", ":r+=t.slice(e.start,e.typeAnnotation.end)+", ");return(r.length?r.slice(0,-2):r)+" }"}return t.slice(e.start,e.end)}(_):""};\n`),k&&W.prependLeft(Y,`\nconst ${k} = ${Q("createPropsRestProxy")}(__props, ${JSON.stringify(Object.keys(G))});\n`),q){const e=y?": any":"";W.prependLeft(Y,`\nlet __temp${e}, __restore${e}\n`)}const xe=F||!t.inlineTemplate?["expose"]:[];let we;if(D&&xe.push("emit"===D?"emit":"emit: "+D),xe.length&&(ve+=`, { ${xe.join(", ")} }`,L&&(ve+=`: { emit: (${n.content.slice(L.start,L.end)}), expose: any, slots: any, attrs: any }`)),!t.inlineTemplate||!e.template&&U){const e=Object.assign(Object.assign({},S),E);for(const t in w)!w[t].isType&&w[t].isUsedInTemplate&&(e[t]=!0);we="{ ";for(const t in e)if(!0!==e[t]||"vue"===w[t].source||w[t].source.endsWith(".vue"))if("setup-let"===v[t]){const e="v"===t?"_v":"v";we+=`get ${t}() { return ${t} }, set ${t}(${e}) { ${t} = ${e} }, `}else we+=t+", ";else we+=`get ${t}() { return ${t} }, `;we=we.replace(/, $/,"")+" }"}else if(e.template&&!e.template.src){t.templateOptions&&t.templateOptions.ssr&&($=!0);const{code:r,ast:s,preamble:n,tips:c,errors:l}=Lu(Object.assign(Object.assign({filename:o,source:e.template.content,inMap:e.template.map},t.templateOptions),{id:d,scoped:e.styles.some(e=>e.scoped),isProd:t.isProd,ssrCssVars:e.cssVars,compilerOptions:Object.assign(Object.assign({},t.templateOptions&&t.templateOptions.compilerOptions),{inline:!0,isTS:y,bindingMetadata:v})}));c.length&&c.forEach(Iu);const p=l[0];if("string"==typeof p)throw new Error(p);if(p)throw p.loc&&(p.message+="\n\n"+e.filename+"\n"+a(i,p.loc.start.offset,p.loc.end.offset)+"\n"),p;n&&W.prepend(n),s&&s.helpers.includes(Ve)&&x.delete("unref"),we=r}else we="() => {}";t.inlineTemplate?W.appendRight(J,`\nreturn ${we}\n}\n\n`):W.appendRight(J,`\nconst __returned__ = ${we}\nObject.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })\nreturn __returned__\n}\n\n`);let Se="";if(!B&&o&&o!==yd){const e=o.match(/([^/\\]+)\.\w+$/);e&&(Se+=`\n __name: '${e[1]}',`)}if($&&(Se+="\n __ssrInlineRender: true,"),T){let e=n.content.slice(T.start,T.end).trim();if(C){const t=[];for(const e in G){const r=me(e);r&&t.push(`${e}: ${r}`)}t.length&&(e=`${Q("mergeDefaults")}(${e}, {\n ${t.join(",\n ")}\n})`)}Se+=`\n props: ${e},`}else _&&(Se+=function(e){const t=Object.keys(e);if(!t.length)return"";const r=fe(),s=n.content;let o=`{\n ${t.map(t=>{let n;const i=me(t);if(i)n="default: "+i;else if(r){const e=A.properties.find(e=>"SpreadElement"!==e.type&&gd(e.key,e.computed)===t);e&&(n="ObjectProperty"===e.type?"default: "+s.slice(e.value.start,e.value.end):`${e.async?"async ":""}${"method"!==e.kind?e.kind+" ":""}default() ${s.slice(e.body.start,e.body.end)}`)}const{type:o,required:a}=e[t];return p?o.some(e=>"Boolean"===e||n&&"Function"===e)?`${t}: { type: ${sd(o)}${n?", "+n:""} }`:`${t}: ${n?`{ ${n} }`:"null"}`:`${t}: { type: ${sd(o)}, required: ${a}${n?", "+n:""} }`}).join(",\n ")}\n }`;return A&&!r&&(o=`${Q("mergeDefaults")}(${o}, ${i.slice(A.start+Y,A.end+Y)})`),`\n props: ${o},`}(V));var Ee;O?Se+=`\n emits: ${n.content.slice(O.start,O.end).trim()},`:L&&(Se+=(Ee=z).size?`\n emits: [${Array.from(Ee).map(e=>JSON.stringify(e)).join(", ")}],`:"");const Pe=F||t.inlineTemplate?"":" expose();\n";if(y){const e=P?"\n ...__default__,":"";W.prependLeft(Y,`\nexport default /*#__PURE__*/${Q("defineComponent")}({${e}${Se}\n ${q?"async ":""}setup(${ve}) {\n${Pe}`),W.appendRight(J,"})")}else P?(W.prependLeft(Y,`\nexport default /*#__PURE__*/Object.assign(__default__, {${Se}\n ${q?"async ":""}setup(${ve}) {\n${Pe}`),W.appendRight(J,"})")):(W.prependLeft(Y,`\nexport default {${Se}\n ${q?"async ":""}setup(${ve}) {\n${Pe}`),W.appendRight(J,"}"));return x.size>0&&W.prepend(`import { ${[...x].map(e=>`${e} as _${e}`).join(", ")} } from 'vue'\n`),W.trim(),Object.assign(Object.assign({},n),{bindings:v,imports:w,content:W.toString(),map:h?W.generateMap({source:o,hires:!0,includeContent:!0}):void 0,scriptAst:null==ge?void 0:ge.body,scriptSetupAst:null==ye?void 0:ye.body})}function Ku(e,t,r){e[t.name]=r}function Xu(e,t,r){if("VariableDeclaration"===e.type){const s="const"===e.kind;for(const{id:n,init:i}of e.declarations){const e=!(!s||!id(i,e=>"defineProps"===e||"defineEmits"===e||"withDefaults"===e));if("Identifier"===n.type){let o;const a=r.reactive;o=id(i,a)?s?"setup-reactive-const":"setup-let":e||s&&od(i,a)?id(i,"defineProps")?"setup-reactive-const":"setup-const":s?id(i,r.ref)?"setup-ref":"setup-maybe-ref":"setup-let",Ku(t,n,o)}else{if(id(i,"defineProps"))return;"ObjectPattern"===n.type?Qu(n,t,s,e):"ArrayPattern"===n.type&&Zu(n,t,s,e)}}}else"TSEnumDeclaration"!==e.type&&"FunctionDeclaration"!==e.type&&"ClassDeclaration"!==e.type||(t[e.id.name]="setup-const")}function Qu(e,t,r,s=!1){for(const n of e.properties)if("ObjectProperty"===n.type)if("Identifier"===n.key.type&&n.key===n.value){const e=s?"setup-const":r?"setup-maybe-ref":"setup-let";Ku(t,n.key,e)}else ed(n.value,t,r,s);else{const e=r?"setup-const":"setup-let";Ku(t,n.argument,e)}}function Zu(e,t,r,s=!1){for(const n of e.elements)n&&ed(n,t,r,s)}function ed(e,t,r,s=!1){if("Identifier"===e.type){Ku(t,e,s?"setup-const":r?"setup-maybe-ref":"setup-let")}else if("RestElement"===e.type){const s=r?"setup-const":"setup-let";Ku(t,e.argument,s)}else if("ObjectPattern"===e.type)Qu(e,t,r);else if("ArrayPattern"===e.type)Zu(e,t,r);else if("AssignmentPattern"===e.type)if("Identifier"===e.left.type){const n=s?"setup-const":r?"setup-maybe-ref":"setup-let";Ku(t,e.left,n)}else ed(e.left,t,r)}function td(e,t){"TSInterfaceDeclaration"===e.type?t[e.id.name]=["Object"]:"TSTypeAliasDeclaration"===e.type?t[e.id.name]=rd(e.typeAnnotation,t):"ExportNamedDeclaration"===e.type&&e.declaration&&td(e.declaration,t)}function rd(e,t){switch(e.type){case"TSStringKeyword":return["String"];case"TSNumberKeyword":return["Number"];case"TSBooleanKeyword":return["Boolean"];case"TSObjectKeyword":case"TSTypeLiteral":return["Object"];case"TSFunctionType":return["Function"];case"TSArrayType":case"TSTupleType":return["Array"];case"TSLiteralType":switch(e.literal.type){case"StringLiteral":return["String"];case"BooleanLiteral":return["Boolean"];case"NumericLiteral":case"BigIntLiteral":return["Number"];default:return["null"]}case"TSTypeReference":if("Identifier"===e.typeName.type){if(t[e.typeName.name])return t[e.typeName.name];switch(e.typeName.name){case"Array":case"Function":case"Object":case"Set":case"Map":case"WeakSet":case"WeakMap":case"Date":case"Promise":return[e.typeName.name];case"Record":case"Partial":case"Readonly":case"Pick":case"Omit":case"Exclude":case"Extract":case"Required":case"InstanceType":return["Object"]}}return["null"];case"TSParenthesizedType":return rd(e.typeAnnotation,t);case"TSUnionType":return[...new Set([].concat(...e.types.map(e=>rd(e,t))))];case"TSIntersectionType":return["Object"];case"TSSymbolKeyword":return["Symbol"];default:return["null"]}}function sd(e){return e.length>1?`[${e.join(", ")}]`:e[0]}function nd(e,t){if("Identifier"===e.type&&e.typeAnnotation&&"TSTypeAnnotation"===e.typeAnnotation.type){const r=e.typeAnnotation.typeAnnotation;if("TSLiteralType"===r.type)"UnaryExpression"!==r.literal.type&&t.add(String(r.literal.value));else if("TSUnionType"===r.type)for(const e of r.types)"TSLiteralType"===e.type&&"UnaryExpression"!==e.literal.type&&t.add(String(e.literal.value))}}function id(e,t){return!!(e&&t&&"CallExpression"===e.type&&"Identifier"===e.callee.type&&("string"==typeof t?e.callee.name===t:t(e.callee.name)))}function od(e,t){if(id(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 od(e.expressions[e.expressions.length-1],t);default:return!!e.type.endsWith("Literal")}}function ad(e){for(const t of e)if("ExportDefaultDeclaration"===t.type&&"ObjectExpression"===t.declaration.type)return cd(t.declaration);return{}}function cd(e){const t={};Object.defineProperty(t,"__isScriptSetup",{enumerable:!1,value:!1});for(const r of e.properties)if("ObjectProperty"!==r.type||r.computed||"Identifier"!==r.key.type){if("ObjectMethod"===r.type&&"Identifier"===r.key.type&&("setup"===r.key.name||"data"===r.key.name))for(const e of r.body.body)if("ReturnStatement"===e.type&&e.argument&&"ObjectExpression"===e.argument.type)for(const s of ld(e.argument))t[s]="setup"===r.key.name?"setup-maybe-ref":"data"}else if("props"===r.key.name)for(const e of pd(r.value))t[e]="props";else if("inject"===r.key.name)for(const e of pd(r.value))t[e]="options";else if("ObjectExpression"===r.value.type&&("computed"===r.key.name||"methods"===r.key.name))for(const e of ld(r.value))t[e]="options";return t}function ld(e){const t=[];for(const r of e.properties){if("SpreadElement"===r.type)continue;const e=gd(r.key,r.computed);e&&t.push(String(e))}return t}function pd(e){return"ArrayExpression"===e.type?function(e){const t=[];for(const r of e.elements)r&&"StringLiteral"===r.type&&t.push(r.value);return t}(e):"ObjectExpression"===e.type?ld(e):[]}const hd=za();const ud=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;function dd(e,t){if(/ as\s+\w|<.*>|:/.test(e)){if("slot"===t)e=`(${e})=>{}`;else if("on"===t)e=`()=>{return ${e}}`;else if("for"===t){const t=e.match(ud);if(t){const[,e,r]=t;return dd(`(${e})=>{}`)+dd(r)}}let r="";return Vi(Ts(e,{plugins:["typescript"]}),e=>{r+=","+e.name}),r}return function(e){return e.replace(/'[^']*'|"[^"]*"/g,"").replace(/`[^`]+`/g,fd)}(e)}function fd(e){const t=e.match(/\${[^}]+}/g);return t?t.map(e=>e.slice(2,-1)).join(","):""}function md(e,t){return new RegExp(`[^\\w$_]${e.replace(/\$/g,"\\$")}[^\\w$_]`).test(function(e){const{content:t,ast:r}=e.template,s=hd.get(t);if(s)return s;let n="";return zn(Ke([r]),{nodeTransforms:[e=>{if(1===e.type){la.isNativeTag(e.tag)||la.isBuiltInComponent(e.tag)||(n+=`,${X(e.tag)},${ee(X(e.tag))}`);for(let t=0;t<e.props.length;t++){const r=e.props[t];7===r.type&&(Yu(r.name)||(n+=",v"+ee(X(r.name))),r.exp&&(n+=","+dd(r.exp.content,r.name)))}}else 5===e.type&&(n+=","+dd(e.content.content))}]}),n+=";",hd.set(t,n),n}(t))}function gd(e,t){switch(e.type){case"StringLiteral":case"NumericLiteral":return e.value;case"Identifier":if(!t)return e.name}}const yd="anonymous.vue",bd=za();function vd(e,{sourceMap:t=!0,filename:r=yd,sourceRoot:s="",pad:n=!1,ignoreEmpty:i=!0,compiler:o=La}={}){const a=e+t+r+s+n+o.parse,c=bd.get(a);if(c)return c;const l={filename:r,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 r in e)if(!e[r].isUsedInTemplate&&md(r,t))return!0;return!1}(e,l)},p=[];if(o.parse(e,{isNativeTag:()=>!0,isPreTag:()=>!0,getTextMode:({tag:e,props:t},r)=>!r&&"template"!==e||"template"===e&&t.some(e=>6===e.type&&"lang"===e.name&&e.value&&e.value.content&&"html"!==e.value.content)?2:0,onError:e=>{p.push(e)}}).children.forEach(t=>{if(1===t.type&&(!i||"template"===t.tag||!function(e){for(let t=0;t<e.children.length;t++){const r=e.children[t];if(2!==r.type||""!==r.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(l.template)p.push(xd(t));else{const r=l.template=wd(t,e,!1);if(r.ast=t,r.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=>"functional"===e.name).loc,p.push(e)}}break;case"script":const r=wd(t,e,n),s=!!r.attrs.setup;if(s&&!l.scriptSetup){l.scriptSetup=r;break}if(!s&&!l.script){l.script=r;break}p.push(xd(t,s));break;case"style":const i=wd(t,e,n);i.attrs.vars&&p.push(new SyntaxError("<style vars> has been replaced by a new proposal: https://github.com/vuejs/rfcs/pull/231")),l.styles.push(i);break;default:l.customBlocks.push(wd(t,e,n))}}),l.template||l.script||l.scriptSetup||p.push(new SyntaxError("At least one <template> or <script> is required in a single file component.")),l.scriptSetup&&(l.scriptSetup.src&&(p.push(new SyntaxError('<script setup> cannot use the "src" attribute because its syntax will be ambiguous outside of the component.')),l.scriptSetup=null),l.script&&l.script.src&&(p.push(new SyntaxError('<script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.')),l.script=null)),t){const t=t=>{t&&!t.src&&(t.map=function(e,t,r,s,n){const i=new Ci({file:e.replace(/\\/g,"/"),sourceRoot:s.replace(/\\/g,"/")});return i.setSourceContent(e,t),r.split(Sd).forEach((t,r)=>{if(!Ed.test(t)){const s=r+1+n,o=r+1;for(let r=0;r<t.length;r++)/\s/.test(t[r])||i.addMapping({source:e,original:{line:s,column:r},generated:{line:o,column:r}})}}),JSON.parse(i.toString())}(r,e,t.content,s,n&&"template"!==t.type?0:t.loc.start.line-1))};t(l.template),t(l.script),l.styles.forEach(t),l.customBlocks.forEach(t)}l.cssVars=function(e){const t=[];return e.styles.forEach(e=>{let r;const s=e.content.replace(/\/\*([\s\S]*?)\*\//g,"");for(;r=Ua.exec(s);){const e=r.index+r[0].length,n=qa(s,e);if(null!==n){const r=Ba(s.slice(e,n));t.includes(r)||t.push(r)}}}),t}(l);const h=/(?:::v-|:)slotted\(/;l.slotted=l.styles.some(e=>e.scoped&&h.test(e.content));const u={descriptor:l,errors:p};return bd.set(a,u),u}function xd(e,t=!1){const r=new SyntaxError(`Single file component can contain only one <${e.tag}${t?" setup":""}> element`);return r.loc=e.loc,r}function wd(e,t,r){const s=e.tag;let{start:n,end:i}=e.loc,o="";if(e.children.length)n=e.children[0].loc.start,i=e.children[e.children.length-1].loc.end,o=t.slice(n.offset,i.offset);else{const t=e.loc.source.indexOf("</");t>-1&&(n={line:n.line,column:n.column+t,offset:n.offset+t}),i=Object.assign({},n)}const a={},c={type:s,content:o,loc:{source:o,start:n,end:i},attrs:a};return r&&(c.content=function(e,t,r){if(e=e.slice(0,t.loc.start.offset),"space"===r)return e.replace(Pd," ");{const r=e.split(Sd).length,s="script"!==t.type||t.lang?"\n":"//\n";return Array(r).join(s)}}(t,c,r)+c.content),e.props.forEach(e=>{6===e.type&&(a[e.name]=e.value&&e.value.content||!0,"lang"===e.name?c.lang=e.value&&e.value.content:"src"===e.name?c.src=e.value&&e.value.content:"style"===s?"scoped"===e.name?c.scoped=!0:"module"===e.name&&(c.module=a[e.name]):"script"===s&&"setup"===e.name&&(c.setup=a.setup))}),c}const Sd=/\r?\n/g,Ed=/^(?:\/\/)?\s*$/,Pd=/./g;function Td(){return!1}function Ad(){throw new Error("tty.ReadStream is not implemented")}function Cd(){throw new Error("tty.ReadStream is not implemented")}var kd={isatty:Td,ReadStream:Ad,WriteStream:Cd},_d=Zn(Object.freeze({__proto__:null,isatty:Td,ReadStream:Ad,WriteStream:Cd,default:kd}));let Id=!("NO_COLOR"in{}||Yl.argv.includes("--no-color"))&&("FORCE_COLOR"in{}||Yl.argv.includes("--color")||_d.isatty(1)&&"dumb"!=={}.TERM||"CI"in{}),Nd=(e,t,r=e)=>s=>{let n=""+s,i=n.indexOf(t,e.length);return~i?e+Od(n,t,r,i)+t:e+n+t},Od=(e,t,r,s)=>{let n=e.substring(0,s)+r,i=e.substring(s+t.length),o=i.indexOf(t);return~o?n+Od(i,t,r,o):n+i},Ld=(e=Id)=>({isColorSupported:e,reset:e?e=>`\x1b[0m${e}\x1b[0m`:String,bold:e?Nd("\x1b[1m","\x1b[22m","\x1b[22m\x1b[1m"):String,dim:e?Nd("\x1b[2m","\x1b[22m","\x1b[22m\x1b[2m"):String,italic:e?Nd("\x1b[3m","\x1b[23m"):String,underline:e?Nd("\x1b[4m","\x1b[24m"):String,inverse:e?Nd("\x1b[7m","\x1b[27m"):String,hidden:e?Nd("\x1b[8m","\x1b[28m"):String,strikethrough:e?Nd("\x1b[9m","\x1b[29m"):String,black:e?Nd("\x1b[30m","\x1b[39m"):String,red:e?Nd("\x1b[31m","\x1b[39m"):String,green:e?Nd("\x1b[32m","\x1b[39m"):String,yellow:e?Nd("\x1b[33m","\x1b[39m"):String,blue:e?Nd("\x1b[34m","\x1b[39m"):String,magenta:e?Nd("\x1b[35m","\x1b[39m"):String,cyan:e?Nd("\x1b[36m","\x1b[39m"):String,white:e?Nd("\x1b[37m","\x1b[39m"):String,gray:e?Nd("\x1b[90m","\x1b[39m"):String,bgBlack:e?Nd("\x1b[40m","\x1b[49m"):String,bgRed:e?Nd("\x1b[41m","\x1b[49m"):String,bgGreen:e?Nd("\x1b[42m","\x1b[49m"):String,bgYellow:e?Nd("\x1b[43m","\x1b[49m"):String,bgBlue:e?Nd("\x1b[44m","\x1b[49m"):String,bgMagenta:e?Nd("\x1b[45m","\x1b[49m"):String,bgCyan:e?Nd("\x1b[46m","\x1b[49m"):String,bgWhite:e?Nd("\x1b[47m","\x1b[49m"):String});var Md=Ld(),Dd=Ld;Md.createColors=Dd;const Rd="'".charCodeAt(0),jd='"'.charCodeAt(0),Fd="\\".charCodeAt(0),Bd="/".charCodeAt(0),Ud="\n".charCodeAt(0),qd=" ".charCodeAt(0),$d="\f".charCodeAt(0),Vd="\t".charCodeAt(0),zd="\r".charCodeAt(0),Hd="[".charCodeAt(0),Gd="]".charCodeAt(0),Wd="(".charCodeAt(0),Yd=")".charCodeAt(0),Jd="{".charCodeAt(0),Kd="}".charCodeAt(0),Xd=";".charCodeAt(0),Qd="*".charCodeAt(0),Zd=":".charCodeAt(0),ef="@".charCodeAt(0),tf=/[\t\n\f\r "#'()/;[\\\]{}]/g,rf=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,sf=/.[\n"'(/\\]/,nf=/[\da-f]/i;var of=function(e,t={}){let r,s,n,i,o,a,c,l,p,h,u=e.css.valueOf(),d=t.ignoreErrors,f=u.length,m=0,g=[],y=[];function b(t){throw e.error("Unclosed "+t,m)}return{back:function(e){y.push(e)},nextToken:function(e){if(y.length)return y.pop();if(m>=f)return;let t=!!e&&e.ignoreUnclosed;switch(r=u.charCodeAt(m),r){case Ud:case qd:case Vd:case zd:case $d:s=m;do{s+=1,r=u.charCodeAt(s)}while(r===qd||r===Ud||r===Vd||r===zd||r===$d);h=["space",u.slice(m,s)],m=s-1;break;case Hd:case Gd:case Jd:case Kd:case Zd:case Xd:case Yd:{let e=String.fromCharCode(r);h=[e,e,m];break}case Wd:if(l=g.length?g.pop()[1]:"",p=u.charCodeAt(m+1),"url"===l&&p!==Rd&&p!==jd&&p!==qd&&p!==Ud&&p!==Vd&&p!==$d&&p!==zd){s=m;do{if(a=!1,s=u.indexOf(")",s+1),-1===s){if(d||t){s=m;break}b("bracket")}for(c=s;u.charCodeAt(c-1)===Fd;)c-=1,a=!a}while(a);h=["brackets",u.slice(m,s+1),m,s],m=s}else s=u.indexOf(")",m+1),i=u.slice(m,s+1),-1===s||sf.test(i)?h=["(","(",m]:(h=["brackets",i,m,s],m=s);break;case Rd:case jd:n=r===Rd?"'":'"',s=m;do{if(a=!1,s=u.indexOf(n,s+1),-1===s){if(d||t){s=m+1;break}b("string")}for(c=s;u.charCodeAt(c-1)===Fd;)c-=1,a=!a}while(a);h=["string",u.slice(m,s+1),m,s],m=s;break;case ef:tf.lastIndex=m+1,tf.test(u),s=0===tf.lastIndex?u.length-1:tf.lastIndex-2,h=["at-word",u.slice(m,s+1),m,s],m=s;break;case Fd:for(s=m,o=!0;u.charCodeAt(s+1)===Fd;)s+=1,o=!o;if(r=u.charCodeAt(s+1),o&&r!==Bd&&r!==qd&&r!==Ud&&r!==Vd&&r!==zd&&r!==$d&&(s+=1,nf.test(u.charAt(s)))){for(;nf.test(u.charAt(s+1));)s+=1;u.charCodeAt(s+1)===qd&&(s+=1)}h=["word",u.slice(m,s+1),m,s],m=s;break;default:r===Bd&&u.charCodeAt(m+1)===Qd?(s=u.indexOf("*/",m+2)+1,0===s&&(d||t?s=u.length:b("comment")),h=["comment",u.slice(m,s+1),m,s],m=s):(rf.lastIndex=m+1,rf.test(u),s=0===rf.lastIndex?u.length-1:rf.lastIndex-2,h=["word",u.slice(m,s+1),m,s],g.push(h),m=s)}return m++,h},endOfFile:function(){return 0===y.length&&m>=f},position:function(){return m}}};let af;const cf={brackets:Md.cyan,"at-word":Md.cyan,comment:Md.gray,string:Md.green,class:Md.yellow,hash:Md.magenta,call:Md.cyan,"(":Md.cyan,")":Md.cyan,"{":Md.yellow,"}":Md.yellow,"[":Md.yellow,"]":Md.yellow,":":Md.yellow,";":Md.yellow};function lf([e,t],r){if("word"===e){if("."===t[0])return"class";if("#"===t[0])return"hash"}if(!r.endOfFile()){let e=r.nextToken();if(r.back(e),"brackets"===e[0]||"("===e[0])return"call"}return e}function pf(e){let t=of(new af(e),{ignoreErrors:!0}),r="";for(;!t.endOfFile();){let e=t.nextToken(),s=cf[lf(e,t)];r+=s?e[1].split(/\r?\n/).map(e=>s(e)).join("\n"):e[1]}return r}pf.registerInput=function(e){af=e};var hf=pf;class uf extends Error{constructor(e,t,r,s,n,i){super(e),this.name="CssSyntaxError",this.reason=e,n&&(this.file=n),s&&(this.source=s),i&&(this.plugin=i),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,uf)}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(e){if(!this.source)return"";let t=this.source;null==e&&(e=Md.isColorSupported),hf&&e&&(t=hf(t));let r,s,n=t.split(/\r?\n/),i=Math.max(this.line-3,0),o=Math.min(this.line+2,n.length),a=String(o).length;if(e){let{bold:e,red:t,gray:n}=Md.createColors(!0);r=r=>e(t(r)),s=e=>n(e)}else r=s=e=>e;return n.slice(i,o).map((e,t)=>{let n=i+1+t,o=" "+(" "+n).slice(-a)+" | ";if(n===this.line){let t=s(o.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+s(o)+e+"\n "+t+r("^")}return" "+s(o)+e}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}var df=uf;uf.default=uf;var ff={isClean:Symbol("isClean"),my:Symbol("my")};const mf={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};class gf{constructor(e){this.builder=e}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)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),s=e.prop+r+this.rawValue(e,"value");e.important&&(s+=e.raws.important||" !important"),t&&(s+=";"),this.builder(s,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let r="@"+e.name,s=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:s&&(r+=" "),e.nodes)this.block(e,r+s);else{let n=(e.raws.between||"")+(t?";":"");this.builder(r+s+n,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let s=0;s<e.nodes.length;s++){let n=e.nodes[s],i=this.raw(n,"before");i&&this.builder(i),this.stringify(n,t!==s||r)}}block(e,t){let r,s=this.raw(e,"between","beforeOpen");this.builder(t+s+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}raw(e,t,r){let s;if(r||(r=t),t&&(s=e.raws[t],void 0!==s))return s;let n=e.parent;if("before"===r){if(!n||"root"===n.type&&n.first===e)return"";if(n&&"document"===n.type)return""}if(!n)return mf[r];let i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);{let n="raw"+((o=r)[0].toUpperCase()+o.slice(1));this[n]?s=this[n](i,e):i.walk(e=>{if(s=e.raws[t],void 0!==s)return!1})}var o;return void 0===s&&(s=mf[r]),i.rawCache[r]=s,s}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}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(r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}}),t}rawBeforeComment(e,t){let r;return e.walkComments(e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}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}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1}),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}beforeAfter(e,t){let r;r="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 s=e.parent,n=0;for(;s&&"root"!==s.type;)n+=1,s=s.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<n;e++)r+=t}return r}rawValue(e,t){let r=e[t],s=e.raws[t];return s&&s.value===r?s.raw:r}}var yf=gf;function bf(e,t){new yf(t).stringify(e)}gf.default=gf;var vf=bf;bf.default=bf;let{isClean:xf,my:wf}=ff;class Sf{constructor(e={}){this.raws={},this[xf]=!1,this[wf]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let r of e[t])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:r,end:s}=this.rangeBy(t);return this.source.input.error(e,{line:r.line,column:r.column},{line:s.line,column:s.column},t)}return new df(e)}warn(e,t,r){let s={node:this};for(let e in r)s[e]=r[e];return e.warn(t,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=vf){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=function e(t,r){let s=new t.constructor;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;if("proxyCache"===n)continue;let i=t[n],o=typeof i;"parent"===n&&"object"===o?r&&(s[n]=r):"source"===n?s[n]=i:Array.isArray(i)?s[n]=i.map(t=>e(t,s)):("object"===o&&null!==i&&(i=e(i)),s[n]=i)}return s}(this);for(let r in e)t[r]=e[r];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);r||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}raw(e,t){return(new yf).raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let r={},s=null==t;t=t||new Map;let n=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let s=this[e];if(Array.isArray(s))r[e]=s.map(e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof s&&s.toJSON)r[e]=s.toJSON(null,t);else if("source"===e){let i=t.get(s.input);null==i&&(i=n,t.set(s.input,n),n++),r[e]={inputId:i,start:s.start,end:s.end}}else r[e]=s}return s&&(r.inputs=[...t.keys()].map(e=>e.toJSON())),r}positionInside(e){let t=this.toString(),r=this.source.start.column,s=this.source.start.line;for(let n=0;n<e;n++)"\n"===t[n]?(r=1,s+=1):r+=1;return{line:s,column:r}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r=this.toString().indexOf(e.word);-1!==r&&(t=this.positionInside(r))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},r=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let s=this.toString().indexOf(e.word);-1!==s&&(t=this.positionInside(s),r=this.positionInside(s+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?r={line:e.end.line,column:e.end.column}:e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={line:t.line,column:t.column+1}),{start:t,end:r}}getProxyProcessor(){return{set:(e,t,r)=>(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t]}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}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}markDirty(){if(this[xf]){this[xf]=!1;let e=this;for(;e=e.parent;)e[xf]=!1}}get proxyOf(){return this}}var Ef=Sf;Sf.default=Sf;class Pf extends Ef{constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}}var Tf=Pf;Pf.default=Pf;var Af="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),Cf=function(e){if(0<=e&&e<Af.length)return Af[e];throw new TypeError("Must be between 0 and 63: "+e)},kf=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};var _f=function(e){var t,r="",s=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&s,(s>>>=5)>0&&(t|=32),r+=Cf(t)}while(s>0);return r},If=function(e,t,r){var s,n,i,o,a=e.length,c=0,l=0;do{if(t>=a)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(n=kf(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));s=!!(32&n),c+=(n&=31)<<l,l+=5}while(s);r.value=(o=(i=c)>>1,1==(1&i)?-o:o),r.rest=t},Nf=ei((function(e,t){t.getArg=function(e,t,r){if(t in e)return e[t];if(3===arguments.length)return r;throw new Error('"'+t+'" is a required argument.')};var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,s=/^data:.+\,.+$/;function n(e){var t=e.match(r);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function i(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}t.urlParse=n,t.urlGenerate=i;var o,a,c=(o=function(e){var r=e,s=n(e);if(s){if(!s.path)return e;r=s.path}for(var o=t.isAbsolute(r),a=[],c=0,l=0;;){if(c=l,-1===(l=r.indexOf("/",c))){a.push(r.slice(c));break}for(a.push(r.slice(c,l));l<r.length&&"/"===r[l];)l++}var p,h=0;for(l=a.length-1;l>=0;l--)"."===(p=a[l])?a.splice(l,1):".."===p?h++:h>0&&(""===p?(a.splice(l+1,h),h=0):(a.splice(l,2),h--));return""===(r=a.join("/"))&&(r=o?"/":"."),s?(s.path=r,i(s)):r},a=[],function(e){for(var t=0;t<a.length;t++)if(a[t].input===e){var r=a[0];return a[0]=a[t],a[t]=r,a[0].result}var s=o(e);return a.unshift({input:e,result:s}),a.length>32&&a.pop(),s});function l(e,t){""===e&&(e="."),""===t&&(t=".");var r=n(t),o=n(e);if(o&&(e=o.path||"/"),r&&!r.scheme)return o&&(r.scheme=o.scheme),i(r);if(r||t.match(s))return t;if(o&&!o.host&&!o.path)return o.host=t,i(o);var a="/"===t.charAt(0)?t:c(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=a,i(o)):a}t.normalize=c,t.join=l,t.isAbsolute=function(e){return"/"===e.charAt(0)||r.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var s=e.lastIndexOf("/");if(s<0)return t;if((e=e.slice(0,s)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var p=!("__proto__"in Object.create(null));function h(e){return e}function u(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 r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=p?h:function(e){return u(e)?"$"+e:e},t.fromSetString=p?h:function(e){return u(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,r){var s=d(e.source,t.source);return 0!==s||0!==(s=e.originalLine-t.originalLine)||0!==(s=e.originalColumn-t.originalColumn)||r||0!==(s=e.generatedColumn-t.generatedColumn)||0!==(s=e.generatedLine-t.generatedLine)?s:d(e.name,t.name)},t.compareByOriginalPositionsNoSource=function(e,t,r){var s;return 0!==(s=e.originalLine-t.originalLine)||0!==(s=e.originalColumn-t.originalColumn)||r||0!==(s=e.generatedColumn-t.generatedColumn)||0!==(s=e.generatedLine-t.generatedLine)?s:d(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,r){var s=e.generatedLine-t.generatedLine;return 0!==s||0!==(s=e.generatedColumn-t.generatedColumn)||r||0!==(s=d(e.source,t.source))||0!==(s=e.originalLine-t.originalLine)||0!==(s=e.originalColumn-t.originalColumn)?s:d(e.name,t.name)},t.compareByGeneratedPositionsDeflatedNoLine=function(e,t,r){var s=e.generatedColumn-t.generatedColumn;return 0!==s||r||0!==(s=d(e.source,t.source))||0!==(s=e.originalLine-t.originalLine)||0!==(s=e.originalColumn-t.originalColumn)?s:d(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r||0!==(r=e.generatedColumn-t.generatedColumn)||0!==(r=d(e.source,t.source))||0!==(r=e.originalLine-t.originalLine)||0!==(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,r){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),r){var s=n(r);if(!s)throw new Error("sourceMapURL could not be parsed");if(s.path){var o=s.path.lastIndexOf("/");o>=0&&(s.path=s.path.substring(0,o+1))}t=l(i(s),t)}return c(t)}})),Of=Object.prototype.hasOwnProperty,Lf="undefined"!=typeof Map;function Mf(){this._array=[],this._set=Lf?new Map:Object.create(null)}Mf.fromArray=function(e,t){for(var r=new Mf,s=0,n=e.length;s<n;s++)r.add(e[s],t);return r},Mf.prototype.size=function(){return Lf?this._set.size:Object.getOwnPropertyNames(this._set).length},Mf.prototype.add=function(e,t){var r=Lf?e:Nf.toSetString(e),s=Lf?this.has(e):Of.call(this._set,r),n=this._array.length;s&&!t||this._array.push(e),s||(Lf?this._set.set(e,n):this._set[r]=n)},Mf.prototype.has=function(e){if(Lf)return this._set.has(e);var t=Nf.toSetString(e);return Of.call(this._set,t)},Mf.prototype.indexOf=function(e){if(Lf){var t=this._set.get(e);if(t>=0)return t}else{var r=Nf.toSetString(e);if(Of.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')},Mf.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},Mf.prototype.toArray=function(){return this._array.slice()};var Df={ArraySet:Mf};function Rf(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Rf.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},Rf.prototype.add=function(e){var t,r,s,n,i,o;t=this._last,r=e,s=t.generatedLine,n=r.generatedLine,i=t.generatedColumn,o=r.generatedColumn,n>s||n==s&&o>=i||Nf.compareByGeneratedPositionsInflated(t,r)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},Rf.prototype.toArray=function(){return this._sorted||(this._array.sort(Nf.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};var jf=Df.ArraySet,Ff={MappingList:Rf}.MappingList;function Bf(e){e||(e={}),this._file=Nf.getArg(e,"file",null),this._sourceRoot=Nf.getArg(e,"sourceRoot",null),this._skipValidation=Nf.getArg(e,"skipValidation",!1),this._sources=new jf,this._names=new jf,this._mappings=new Ff,this._sourcesContents=null}Bf.prototype._version=3,Bf.fromSourceMap=function(e){var t=e.sourceRoot,r=new Bf({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var s={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(s.source=e.source,null!=t&&(s.source=Nf.relative(t,s.source)),s.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(s.name=e.name)),r.addMapping(s)})),e.sources.forEach((function(s){var n=s;null!==t&&(n=Nf.relative(t,s)),r._sources.has(n)||r._sources.add(n);var i=e.sourceContentFor(s);null!=i&&r.setSourceContent(s,i)})),r},Bf.prototype.addMapping=function(e){var t=Nf.getArg(e,"generated"),r=Nf.getArg(e,"original",null),s=Nf.getArg(e,"source",null),n=Nf.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,s,n),null!=s&&(s=String(s),this._sources.has(s)||this._sources.add(s)),null!=n&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:s,name:n})},Bf.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=Nf.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Nf.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[Nf.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},Bf.prototype.applySourceMap=function(e,t,r){var s=t;if(null==t){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.');s=e.file}var n=this._sourceRoot;null!=n&&(s=Nf.relative(n,s));var i=new jf,o=new jf;this._mappings.unsortedForEach((function(t){if(t.source===s&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=r&&(t.source=Nf.join(r,t.source)),null!=n&&(t.source=Nf.relative(n,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var c=t.source;null==c||i.has(c)||i.add(c);var l=t.name;null==l||o.has(l)||o.add(l)}),this),this._sources=i,this._names=o,e.sources.forEach((function(t){var s=e.sourceContentFor(t);null!=s&&(null!=r&&(t=Nf.join(r,t)),null!=n&&(t=Nf.relative(n,t)),this.setSourceContent(t,s))}),this)},Bf.prototype._validateMapping=function(e,t,r,s){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||r||s)&&!(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&&r))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:s}))},Bf.prototype._serializeMappings=function(){for(var e,t,r,s,n=0,i=1,o=0,a=0,c=0,l=0,p="",h=this._mappings.toArray(),u=0,d=h.length;u<d;u++){if(e="",(t=h[u]).generatedLine!==i)for(n=0;t.generatedLine!==i;)e+=";",i++;else if(u>0){if(!Nf.compareByGeneratedPositionsInflated(t,h[u-1]))continue;e+=","}e+=_f(t.generatedColumn-n),n=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=_f(s-l),l=s,e+=_f(t.originalLine-1-a),a=t.originalLine-1,e+=_f(t.originalColumn-o),o=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=_f(r-c),c=r)),p+=e}return p},Bf.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=Nf.relative(t,e));var r=Nf.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null}),this)},Bf.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},Bf.prototype.toString=function(){return JSON.stringify(this.toJSON())};var Uf={SourceMapGenerator:Bf},qf=ei((function(e,t){t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,s,n){if(0===r.length)return-1;var i=function e(r,s,n,i,o,a){var c=Math.floor((s-r)/2)+r,l=o(n,i[c],!0);return 0===l?c:l>0?s-c>1?e(c,s,n,i,o,a):a==t.LEAST_UPPER_BOUND?s<i.length?s:-1:c:c-r>1?e(r,c,n,i,o,a):a==t.LEAST_UPPER_BOUND?c:r<0?-1:r}(-1,r.length,e,r,s,n||t.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===s(r[i],r[i-1],!0);)--i;return i}}));function $f(e){function t(e,t,r){var s=e[t];e[t]=e[r],e[r]=s}return function e(r,s,n,i){if(n<i){var o=n-1;t(r,(p=n,h=i,Math.round(p+Math.random()*(h-p))),i);for(var a=r[i],c=n;c<i;c++)s(r[c],a,!1)<=0&&t(r,o+=1,c);t(r,o+1,c);var l=o+1;e(r,s,n,l-1),e(r,s,l+1,i)}var p,h}}let Vf=new WeakMap;var zf=Df.ArraySet,Hf=function(e,t,r=0){let s=Vf.get(t);void 0===s&&(s=function(e){let t=$f.toString();return new Function("return "+t)()(e)}(t),Vf.set(t,s)),s(e,t,r,e.length-1)};function Gf(e,t){var r=e;return"string"==typeof e&&(r=Nf.parseSourceMapInput(e)),null!=r.sections?new Zf(r,t):new Yf(r,t)}Gf.fromSourceMap=function(e,t){return Yf.fromSourceMap(e,t)},Gf.prototype._version=3,Gf.prototype.__generatedMappings=null,Object.defineProperty(Gf.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),Gf.prototype.__originalMappings=null,Object.defineProperty(Gf.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),Gf.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},Gf.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},Gf.GENERATED_ORDER=1,Gf.ORIGINAL_ORDER=2,Gf.GREATEST_LOWER_BOUND=1,Gf.LEAST_UPPER_BOUND=2,Gf.prototype.eachMapping=function(e,t,r){var s,n=t||null;switch(r||Gf.GENERATED_ORDER){case Gf.GENERATED_ORDER:s=this._generatedMappings;break;case Gf.ORIGINAL_ORDER:s=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var i=this.sourceRoot,o=e.bind(n),a=this._names,c=this._sources,l=this._sourceMapURL,p=0,h=s.length;p<h;p++){var u=s[p],d=null===u.source?null:c.at(u.source);o({source:d=Nf.computeSourceURL(i,d,l),generatedLine:u.generatedLine,generatedColumn:u.generatedColumn,originalLine:u.originalLine,originalColumn:u.originalColumn,name:null===u.name?null:a.at(u.name)})}},Gf.prototype.allGeneratedPositionsFor=function(e){var t=Nf.getArg(e,"line"),r={source:Nf.getArg(e,"source"),originalLine:t,originalColumn:Nf.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var s=[],n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",Nf.compareByOriginalPositions,qf.LEAST_UPPER_BOUND);if(n>=0){var i=this._originalMappings[n];if(void 0===e.column)for(var o=i.originalLine;i&&i.originalLine===o;)s.push({line:Nf.getArg(i,"generatedLine",null),column:Nf.getArg(i,"generatedColumn",null),lastColumn:Nf.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n];else for(var a=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==a;)s.push({line:Nf.getArg(i,"generatedLine",null),column:Nf.getArg(i,"generatedColumn",null),lastColumn:Nf.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++n]}return s};var Wf=Gf;function Yf(e,t){var r=e;"string"==typeof e&&(r=Nf.parseSourceMapInput(e));var s=Nf.getArg(r,"version"),n=Nf.getArg(r,"sources"),i=Nf.getArg(r,"names",[]),o=Nf.getArg(r,"sourceRoot",null),a=Nf.getArg(r,"sourcesContent",null),c=Nf.getArg(r,"mappings"),l=Nf.getArg(r,"file",null);if(s!=this._version)throw new Error("Unsupported version: "+s);o&&(o=Nf.normalize(o)),n=n.map(String).map(Nf.normalize).map((function(e){return o&&Nf.isAbsolute(o)&&Nf.isAbsolute(e)?Nf.relative(o,e):e})),this._names=zf.fromArray(i.map(String),!0),this._sources=zf.fromArray(n,!0),this._absoluteSources=this._sources.toArray().map((function(e){return Nf.computeSourceURL(o,e,t)})),this.sourceRoot=o,this.sourcesContent=a,this._mappings=c,this._sourceMapURL=t,this.file=l}function Jf(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Yf.prototype=Object.create(Gf.prototype),Yf.prototype.consumer=Gf,Yf.prototype._findSourceIndex=function(e){var t,r=e;if(null!=this.sourceRoot&&(r=Nf.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},Yf.fromSourceMap=function(e,t){var r=Object.create(Yf.prototype),s=r._names=zf.fromArray(e._names.toArray(),!0),n=r._sources=zf.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map((function(e){return Nf.computeSourceURL(r.sourceRoot,e,t)}));for(var i=e._mappings.toArray().slice(),o=r.__generatedMappings=[],a=r.__originalMappings=[],c=0,l=i.length;c<l;c++){var p=i[c],h=new Jf;h.generatedLine=p.generatedLine,h.generatedColumn=p.generatedColumn,p.source&&(h.source=n.indexOf(p.source),h.originalLine=p.originalLine,h.originalColumn=p.originalColumn,p.name&&(h.name=s.indexOf(p.name)),a.push(h)),o.push(h)}return Hf(r.__originalMappings,Nf.compareByOriginalPositions),r},Yf.prototype._version=3,Object.defineProperty(Yf.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});const Kf=Nf.compareByGeneratedPositionsDeflatedNoLine;function Xf(e,t){let r=e.length,s=e.length-t;if(!(s<=1))if(2==s){let r=e[t],s=e[t+1];Kf(r,s)>0&&(e[t]=s,e[t+1]=r)}else if(s<20)for(let s=t;s<r;s++)for(let r=s;r>t;r--){let t=e[r-1],s=e[r];if(Kf(t,s)<=0)break;e[r-1]=s,e[r]=t}else Hf(e,Kf,t)}Yf.prototype._parseMappings=function(e,t){var r,s,n,i,o=1,a=0,c=0,l=0,p=0,h=0,u=e.length,d=0,f={},m=[],g=[];let y=0;for(;d<u;)if(";"===e.charAt(d))o++,d++,a=0,Xf(g,y),y=g.length;else if(","===e.charAt(d))d++;else{for((r=new Jf).generatedLine=o,n=d;n<u&&!this._charIsMappingSeparator(e,n);n++);for(e.slice(d,n),s=[];d<n;)If(e,d,f),i=f.value,d=f.rest,s.push(i);if(2===s.length)throw new Error("Found a source, but no line and column");if(3===s.length)throw new Error("Found a source and line, but no column");if(r.generatedColumn=a+s[0],a=r.generatedColumn,s.length>1&&(r.source=p+s[1],p+=s[1],r.originalLine=c+s[2],c=r.originalLine,r.originalLine+=1,r.originalColumn=l+s[3],l=r.originalColumn,s.length>4&&(r.name=h+s[4],h+=s[4])),g.push(r),"number"==typeof r.originalLine){let e=r.source;for(;m.length<=e;)m.push(null);null===m[e]&&(m[e]=[]),m[e].push(r)}}Xf(g,y),this.__generatedMappings=g;for(var b=0;b<m.length;b++)null!=m[b]&&Hf(m[b],Nf.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...m)},Yf.prototype._findMapping=function(e,t,r,s,n,i){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return qf.search(e,t,n,i)},Yf.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},Yf.prototype.originalPositionFor=function(e){var t={generatedLine:Nf.getArg(e,"line"),generatedColumn:Nf.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",Nf.compareByGeneratedPositionsDeflated,Nf.getArg(e,"bias",Gf.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var n=Nf.getArg(s,"source",null);null!==n&&(n=this._sources.at(n),n=Nf.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var i=Nf.getArg(s,"name",null);return null!==i&&(i=this._names.at(i)),{source:n,line:Nf.getArg(s,"originalLine",null),column:Nf.getArg(s,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},Yf.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},Yf.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var s,n=e;if(null!=this.sourceRoot&&(n=Nf.relative(this.sourceRoot,n)),null!=this.sourceRoot&&(s=Nf.urlParse(this.sourceRoot))){var i=n.replace(/^file:\/\//,"");if("file"==s.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!s.path||"/"==s.path)&&this._sources.has("/"+n))return this.sourcesContent[this._sources.indexOf("/"+n)]}if(t)return null;throw new Error('"'+n+'" is not in the SourceMap.')},Yf.prototype.generatedPositionFor=function(e){var t=Nf.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:Nf.getArg(e,"line"),originalColumn:Nf.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",Nf.compareByOriginalPositions,Nf.getArg(e,"bias",Gf.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===r.source)return{line:Nf.getArg(n,"generatedLine",null),column:Nf.getArg(n,"generatedColumn",null),lastColumn:Nf.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};var Qf=Yf;function Zf(e,t){var r=e;"string"==typeof e&&(r=Nf.parseSourceMapInput(e));var s=Nf.getArg(r,"version"),n=Nf.getArg(r,"sections");if(s!=this._version)throw new Error("Unsupported version: "+s);this._sources=new zf,this._names=new zf;var i={line:-1,column:0};this._sections=n.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var r=Nf.getArg(e,"offset"),s=Nf.getArg(r,"line"),n=Nf.getArg(r,"column");if(s<i.line||s===i.line&&n<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=r,{generatedOffset:{generatedLine:s+1,generatedColumn:n+1},consumer:new Gf(Nf.getArg(e,"map"),t)}}))}Zf.prototype=Object.create(Gf.prototype),Zf.prototype.constructor=Gf,Zf.prototype._version=3,Object.defineProperty(Zf.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var r=0;r<this._sections[t].consumer.sources.length;r++)e.push(this._sections[t].consumer.sources[r]);return e}}),Zf.prototype.originalPositionFor=function(e){var t={generatedLine:Nf.getArg(e,"line"),generatedColumn:Nf.getArg(e,"column")},r=qf.search(t,this._sections,(function(e,t){var r=e.generatedLine-t.generatedOffset.generatedLine;return r||e.generatedColumn-t.generatedOffset.generatedColumn})),s=this._sections[r];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},Zf.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},Zf.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var s=this._sections[r].consumer.sourceContentFor(e,!0);if(s)return s}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},Zf.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(-1!==r.consumer._findSourceIndex(Nf.getArg(e,"source"))){var s=r.consumer.generatedPositionFor(e);if(s)return{line:s.line+(r.generatedOffset.generatedLine-1),column:s.column+(r.generatedOffset.generatedLine===s.line?r.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},Zf.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var s=this._sections[r],n=s.consumer._generatedMappings,i=0;i<n.length;i++){var o=n[i],a=s.consumer._sources.at(o.source);a=Nf.computeSourceURL(s.consumer.sourceRoot,a,this._sourceMapURL),this._sources.add(a),a=this._sources.indexOf(a);var c=null;o.name&&(c=s.consumer._names.at(o.name),this._names.add(c),c=this._names.indexOf(c));var l={source:a,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:c};this.__generatedMappings.push(l),"number"==typeof l.originalLine&&this.__originalMappings.push(l)}Hf(this.__generatedMappings,Nf.compareByGeneratedPositionsDeflated),Hf(this.__originalMappings,Nf.compareByOriginalPositions)};var em={SourceMapConsumer:Wf,BasicSourceMapConsumer:Qf,IndexedSourceMapConsumer:Zf},tm=Uf.SourceMapGenerator,rm=/(\r?\n)/;function sm(e,t,r,s,n){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==r?null:r,this.name=null==n?null:n,this.$$$isSourceNode$$$=!0,null!=s&&this.add(s)}sm.fromStringWithSourceMap=function(e,t,r){var s=new sm,n=e.split(rm),i=0,o=function(){return e()+(e()||"");function e(){return i<n.length?n[i++]:void 0}},a=1,c=0,l=null;return t.eachMapping((function(e){if(null!==l){if(!(a<e.generatedLine)){var t=(r=n[i]||"").substr(0,e.generatedColumn-c);return n[i]=r.substr(e.generatedColumn-c),c=e.generatedColumn,p(l,t),void(l=e)}p(l,o()),a++,c=0}for(;a<e.generatedLine;)s.add(o()),a++;if(c<e.generatedColumn){var r=n[i]||"";s.add(r.substr(0,e.generatedColumn)),n[i]=r.substr(e.generatedColumn),c=e.generatedColumn}l=e}),this),i<n.length&&(l&&p(l,o()),s.add(n.splice(i).join(""))),t.sources.forEach((function(e){var n=t.sourceContentFor(e);null!=n&&(null!=r&&(e=Nf.join(r,e)),s.setSourceContent(e,n))})),s;function p(e,t){if(null===e||void 0===e.source)s.add(t);else{var n=r?Nf.join(r,e.source):e.source;s.add(new sm(e.originalLine,e.originalColumn,n,t,e.name))}}},sm.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e.$$$isSourceNode$$$&&"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},sm.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e.$$$isSourceNode$$$&&"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},sm.prototype.walk=function(e){for(var t,r=0,s=this.children.length;r<s;r++)(t=this.children[r]).$$$isSourceNode$$$?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},sm.prototype.join=function(e){var t,r,s=this.children.length;if(s>0){for(t=[],r=0;r<s-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this},sm.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r.$$$isSourceNode$$$?r.replaceRight(e,t):"string"==typeof r?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this},sm.prototype.setSourceContent=function(e,t){this.sourceContents[Nf.toSetString(e)]=t},sm.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t].$$$isSourceNode$$$&&this.children[t].walkSourceContents(e);var s=Object.keys(this.sourceContents);for(t=0,r=s.length;t<r;t++)e(Nf.fromSetString(s[t]),this.sourceContents[s[t]])},sm.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},sm.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new tm(e),s=!1,n=null,i=null,o=null,a=null;return this.walk((function(e,c){t.code+=e,null!==c.source&&null!==c.line&&null!==c.column?(n===c.source&&i===c.line&&o===c.column&&a===c.name||r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name}),n=c.source,i=c.line,o=c.column,a=c.name,s=!0):s&&(r.addMapping({generated:{line:t.line,column:t.column}}),n=null,s=!1);for(var l=0,p=e.length;l<p;l++)10===e.charCodeAt(l)?(t.line++,t.column=0,l+1===p?(n=null,s=!1):s&&r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:t.line,column:t.column},name:c.name})):t.column++})),this.walkSourceContents((function(e,t){r.setSourceContent(e,t)})),{code:t.code,map:r}};var nm={SourceMapGenerator:Uf.SourceMapGenerator,SourceMapConsumer:em.SourceMapConsumer,SourceNode:{SourceNode:sm}.SourceNode};var im={nanoid:(e=21)=>{let t="",r=e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t)=>()=>{let r="",s=t;for(;s--;)r+=e[Math.random()*e.length|0];return r}};let{SourceMapConsumer:om,SourceMapGenerator:am}=nm,{existsSync:cm,readFileSync:lm}=Au,{dirname:pm,join:hm}=Cu;class um{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,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=pm(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new om(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return!!e&&e.substr(0,t.length)===t}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}decodeInline(e){if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),ic?ic.from(t,"base64").toString():window.atob(t);var t;let r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)}loadFile(e){if(this.root=pm(e),cm(e))return this.mapFile=e,lm(e,"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 om)return am.fromSourceMap(t).toString();if(t instanceof am)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=hm(pm(e),t)),this.loadFile(t)}}}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}}var dm=um;um.default=um;var fm=Zn(ih);let{SourceMapConsumer:mm,SourceMapGenerator:gm}=nm,{fileURLToPath:ym,pathToFileURL:bm}=fm,{resolve:vm,isAbsolute:xm}=Cu,{nanoid:wm}=im,Sm=Symbol("fromOffsetCache"),Em=Boolean(mm&&gm),Pm=Boolean(vm&&xm);class Tm{constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||"\ufffe"===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Pm||/^\w+:\/\//.test(t.from)||xm(t.from)?this.file=t.from:this.file=vm(t.from)),Pm&&Em){let e=new dm(this.css,t);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 "+wm(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,r;if(this[Sm])r=this[Sm];else{let e=this.css.split("\n");r=new Array(e.length);let t=0;for(let s=0,n=e.length;s<n;s++)r[s]=t,t+=e[s].length+1;this[Sm]=r}t=r[r.length-1];let s=0;if(e>=t)s=r.length-1;else{let t,n=r.length-2;for(;s<n;)if(t=s+(n-s>>1),e<r[t])n=t-1;else{if(!(e>=r[t+1])){s=t;break}s=t+1}}return{line:s+1,col:e-r[s]+1}}error(e,t,r,s={}){let n,i,o;if(t&&"object"==typeof t){let e=t,s=r;if("number"==typeof t.offset){let s=this.fromOffset(e.offset);t=s.line,r=s.col}else t=e.line,r=e.column;if("number"==typeof s.offset){let e=this.fromOffset(s.offset);i=e.line,o=e.col}else i=s.line,o=s.column}else if(!r){let e=this.fromOffset(t);t=e.line,r=e.col}let a=this.origin(t,r,i,o);return n=a?new df(e,void 0===a.endLine?a.line:{line:a.line,column:a.column},void 0===a.endLine?a.column:{line:a.endLine,column:a.endColumn},a.source,a.file,s.plugin):new df(e,void 0===i?t:{line:t,column:r},void 0===i?r:{line:i,column:o},this.css,this.file,s.plugin),n.input={line:t,column:r,endLine:i,endColumn:o,source:this.css},this.file&&(bm&&(n.input.url=bm(this.file).toString()),n.input.file=this.file),n}origin(e,t,r,s){if(!this.map)return!1;let n,i,o=this.map.consumer(),a=o.originalPositionFor({line:e,column:t});if(!a.source)return!1;"number"==typeof r&&(n=o.originalPositionFor({line:r,column:s})),i=xm(a.source)?bm(a.source):new URL(a.source,this.map.consumer().sourceRoot||bm(this.map.mapFile));let c={url:i.toString(),line:a.line,column:a.column,endLine:n&&n.line,endColumn:n&&n.column};if("file:"===i.protocol){if(!ym)throw new Error("file: protocol is not available in this PostCSS build");c.file=ym(i)}let l=o.sourceContentFor(a.source);return l&&(c.source=l),c}mapResolve(e){return/^\w+:\/\//.test(e)?e:vm(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}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}}var Am=Tm;Tm.default=Tm,hf&&hf.registerInput&&hf.registerInput(Tm);let{SourceMapConsumer:Cm,SourceMapGenerator:km}=nm,{dirname:_m,resolve:Im,relative:Nm,sep:Om}=Cu,{pathToFileURL:Lm}=fm,Mm=Boolean(Cm&&km),Dm=Boolean(_m&&Im&&Nm&&Om);var Rm=class{constructor(e,t,r,s){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=s}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}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 Am(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}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))}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}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&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;r&&!e[r]&&(e[r]=!0,this.map.setSourceContent(this.toUrl(this.path(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)}}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),s=e.root||_m(e.file);!1===this.mapOpts.sourcesContent?(t=new Cm(e.text),t.sourcesContent&&(t.sourcesContent=t.sourcesContent.map(()=>null))):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(s)))}}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}toBase64(e){return ic?ic.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}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+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=km.fromSourceMap(e)}else this.map=new km({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});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]}path(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?_m(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=_m(Im(t,this.mapOpts.annotation))),e=Nm(t,e)}toUrl(e){return"\\"===Om&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(Lm)return Lm(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}return this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new km({file:this.outputFile()});let e,t,r=1,s=1,n={source:"",generated:{line:0,column:0},original:{line:0,column:0}};this.stringify(this.root,(i,o,a)=>{if(this.css+=i,o&&"end"!==a&&(n.generated.line=r,n.generated.column=s-1,o.source&&o.source.start?(n.source=this.sourcePath(o),n.original.line=o.source.start.line,n.original.column=o.source.start.column-1,this.map.addMapping(n)):(n.source="<no source>",n.original.line=1,n.original.column=0,this.map.addMapping(n))),e=i.match(/\n/g),e?(r+=e.length,t=i.lastIndexOf("\n"),s=i.length-t):s+=i.length,o&&"start"!==a){let e=o.parent||{raws:{}};("decl"!==o.type||o!==e.last||e.raws.semicolon)&&(o.source&&o.source.end?(n.source=this.sourcePath(o),n.original.line=o.source.end.line,n.original.column=o.source.end.column-1,n.generated.line=r,n.generated.column=s-2,this.map.addMapping(n)):(n.source="<no source>",n.original.line=1,n.original.column=0,n.generated.line=r,n.generated.column=s-1,this.map.addMapping(n)))}})}generate(){if(this.clearAnnotation(),Dm&&Mm&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}};class jm extends Ef{constructor(e){super(e),this.type="comment"}}var Fm=jm;jm.default=jm;let Bm,Um,qm,{isClean:$m,my:Vm}=ff;class zm extends Ef{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t,r,s=this.getIterator();for(;this.indexes[s]<this.proxyOf.nodes.length&&(t=this.indexes[s],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[s]+=1;return delete this.indexes[s],r}walk(e){return this.each((t,r)=>{let s;try{s=e(t,r)}catch(e){throw t.addToError(e)}return!1!==s&&t.walk&&(s=t.walk(e)),s})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if("decl"===r.type&&e.test(r.prop))return t(r,s)}):this.walk((r,s)=>{if("decl"===r.type&&r.prop===e)return t(r,s)}):(t=e,this.walk((e,r)=>{if("decl"===e.type)return t(e,r)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if("rule"===r.type&&e.test(r.selector))return t(r,s)}):this.walk((r,s)=>{if("rule"===r.type&&r.selector===e)return t(r,s)}):(t=e,this.walk((e,r)=>{if("rule"===e.type)return t(e,r)}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if("atrule"===r.type&&e.test(r.name))return t(r,s)}):this.walk((r,s)=>{if("atrule"===r.type&&r.name===e)return t(r,s)}):(t=e,this.walk((e,r)=>{if("atrule"===e.type)return t(e,r)}))}walkComments(e){return this.walk((t,r)=>{if("comment"===t.type)return e(t,r)})}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}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}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){let r,s=0===(e=this.index(e))&&"prepend",n=this.normalize(t,this.proxyOf.nodes[e],s).reverse();for(let t of n)this.proxyOf.nodes.splice(e,0,t);for(let t in this.indexes)r=this.indexes[t],e<=r&&(this.indexes[t]=r+n.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let r,s=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of s)this.proxyOf.nodes.splice(e+1,0,t);for(let t in this.indexes)r=this.indexes[t],e<r&&(this.indexes[t]=r+s.length);return 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 r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}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]}normalize(e,t){if("string"==typeof e)e=function e(t){return t.map(t=>(t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t))}(Bm(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new Tf(e)]}else if(e.selector)e=[new Um(e)];else if(e.name)e=[new qm(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new Fm(e)]}return e.map(e=>(e[Vm]||zm.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[$m]&&function e(t){if(t[$m]=!1,t.proxyOf.nodes)for(let r of t.proxyOf.nodes)e(r)}(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this,e))}getProxyProcessor(){return{set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0),get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map(e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e)):"every"===t||"some"===t?r=>e[t]((e,...t)=>r(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]}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}}zm.registerParse=e=>{Bm=e},zm.registerRule=e=>{Um=e},zm.registerAtRule=e=>{qm=e};var Hm=zm;let Gm,Wm;zm.default=zm,zm.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,qm.prototype):"rule"===e.type?Object.setPrototypeOf(e,Um.prototype):"decl"===e.type?Object.setPrototypeOf(e,Tf.prototype):"comment"===e.type&&Object.setPrototypeOf(e,Fm.prototype),e[Vm]=!0,e.nodes&&e.nodes.forEach(e=>{zm.rebuild(e)})};class Ym extends Hm{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Gm(new Wm,this,e).stringify()}}Ym.registerLazyResult=e=>{Gm=e},Ym.registerProcessor=e=>{Wm=e};var Jm=Ym;Ym.default=Ym;let Km={};var Xm=function(e){Km[e]||(Km[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))};class Qm{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 e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}var Zm=Qm;Qm.default=Qm;class eg{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new Zm(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>"warning"===e.type)}get content(){return this.css}}var tg=eg;eg.default=eg;class rg extends Hm{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)}}var sg=rg;let ng,ig;rg.default=rg,Hm.registerAtRule(rg);class og extends Hm{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}normalize(e,t,r){let s=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of s)e.raws.before=t.raws.before;return s}toResult(e={}){return new ng(new ig,this,e).stringify()}}og.registerLazyResult=e=>{ng=e},og.registerProcessor=e=>{ig=e};var ag=og;og.default=og;let cg={split(e,t,r){let s=[],n="",i=!1,o=0,a=!1,c=!1;for(let r of e)c?c=!1:"\\"===r?c=!0:a?r===a&&(a=!1):'"'===r||"'"===r?a=r:"("===r?o+=1:")"===r?o>0&&(o-=1):0===o&&t.includes(r)&&(i=!0),i?(""!==n&&s.push(n.trim()),n="",i=!1):n+=r;return(r||""!==n)&&s.push(n.trim()),s},space:e=>cg.split(e,[" ","\n","\t"]),comma:e=>cg.split(e,[","],!0)};var lg=cg;cg.default=cg;class pg extends Hm{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return lg.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}var hg=pg;pg.default=pg,Hm.registerRule(pg);var ug=class{constructor(e){this.input=e,this.root=new ag,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=of(this.input)}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()}comment(e){let t=new Fm;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}emptyRule(e){let t=new hg;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,r=null,s=!1,n=null,i=[],o=e[1].startsWith("--"),a=[],c=e;for(;c;){if(r=c[0],a.push(c),"("===r||"["===r)n||(n=c),i.push("("===r?")":"]");else if(o&&s&&"{"===r)n||(n=c),i.push("}");else if(0===i.length){if(";"===r){if(s)return void this.decl(a,o);break}if("{"===r)return void this.rule(a);if("}"===r){this.tokenizer.back(a.pop()),t=!0;break}":"===r&&(s=!0)}else r===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&&s){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)}rule(e){e.pop();let t=new hg;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let r=new Tf;this.init(r,e[0][2]);let s,n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(n[3]||n[2]);"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(s=e.shift(),":"===s[0]){r.raws.between+=s[1];break}"word"===s[0]&&/\w/.test(s[1])&&this.unknownWord([s]),r.raws.between+=s[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let i=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(s=e[t],"!important"===s[1].toLowerCase()){r.important=!0;let s=this.stringFrom(e,t);s=this.spacesFromEnd(e)+s," !important"!==s&&(r.raws.important=s);break}if("important"===s[1].toLowerCase()){let s=e.slice(0),n="";for(let e=t;e>0;e--){let t=s[e][0];if(0===n.trim().indexOf("!")&&"space"!==t)break;n=s.pop()[1]+n}0===n.trim().indexOf("!")&&(r.important=!0,r.raws.important=n,e=s)}if("space"!==s[0]&&"comment"!==s[0])break}let o=e.some(e=>"space"!==e[0]&&"comment"!==e[0]);this.raw(r,"value",e),o?r.raws.between+=i:r.value=i+r.value,r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t,r,s,n=new sg;n.name=e[1].slice(1),""===n.name&&this.unnamedAtrule(n,e),this.init(n,e[2]);let i=!1,o=!1,a=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){n.source.end=this.getPosition(e[2]),this.semicolon=!0;break}if("{"===t){o=!0;break}if("}"===t){if(a.length>0){for(s=a.length-1,r=a[s];r&&"space"===r[0];)r=a[--s];r&&(n.source.end=this.getPosition(r[3]||r[2]))}this.end(e);break}a.push(e)}else a.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}n.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(n.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(n,"params",a),i&&(e=a[a.length-1],n.source.end=this.getPosition(e[3]||e[2]),this.spaces=n.raws.between,n.raws.between="")):(n.raws.afterName="",n.params=""),o&&(n.nodes=[],this.current=n)}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=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}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&"rule"===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}raw(e,t,r){let s,n,i,o,a=r.length,c="",l=!0,p=/^([#.|])?(\w)+/i;for(let t=0;t<a;t+=1)s=r[t],n=s[0],"comment"!==n||"rule"!==e.type?"comment"===n||"space"===n&&t===a-1?l=!1:c+=s[1]:(o=r[t-1],i=r[t+1],"space"!==o[0]&&"space"!==i[0]&&p.test(o[1])&&p.test(i[1])?c+=s[1]:l=!1);if(!l){let s=r.reduce((e,t)=>e+t[1],"");e.raws[t]={value:c,raw:s}}e[t]=c}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let s=t;s<e.length;s++)r+=e[s][1];return e.splice(t,e.length-t),r}colon(e){let t,r,s,n=0;for(let[i,o]of e.entries()){if(t=o,r=t[0],"("===r&&(n+=1),")"===r&&(n-=1),0===n&&":"===r){if(s){if("word"===s[0]&&"progid"===s[1])continue;return i}this.doubleColon(t)}s=t}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,s=0;for(let n=t-1;n>=0&&(r=e[n],"space"===r[0]||(s+=1,2!==s));n--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}};function dg(e,t){let r=new Am(e,t),s=new ug(r);try{s.parse()}catch(e){throw"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return s.root}var fg=dg;dg.default=dg,Hm.registerParse(dg);let{isClean:mg,my:gg}=ff;const yg={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},bg={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},vg={postcssPlugin:!0,prepare:!0,Once:!0};function xg(e){return"object"==typeof e&&"function"==typeof e.then}function wg(e){let t=!1,r=yg[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function Sg(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:wg(e),{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function Eg(e){return e[mg]=!1,e.nodes&&e.nodes.forEach(e=>Eg(e)),e}let Pg={};class Tg{constructor(e,t,r){let s;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof Tg||t instanceof tg)s=Eg(t.root),t.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let e=fg;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{s=e(t,r)}catch(e){this.processed=!0,this.error=e}s&&!s[gg]&&Hm.rebuild(s)}else s=Eg(t);this.result=new tg(e,s,r),this.helpers={...Pg,result:this.result,postcss:Pg},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return"from"in this.opts||Xm("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)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}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(xg(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[mg];)e[mg]=!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}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=vf;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new Rm(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}walkSync(e){e[mg]=!0;let t=wg(e);for(let r of t)if(0===r)e.nodes&&e.each(e=>{e[mg]||this.walkSync(e)});else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}visitSync(e,t){for(let[r,s]of e){let e;this.result.lastPlugin=r;try{e=s(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(xg(e))throw this.getAsyncError()}}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 xg(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(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(r.postcssVersion&&"production"!=={}.NODE_ENV){let e=r.postcssPlugin,t=r.postcssVersion,s=this.result.processor.version,n=t.split("."),i=s.split(".");(n[0]!==i[0]||parseInt(n[1])>parseInt(i[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+s+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}else e.plugin=r.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(xg(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[mg];){e[mg]=!0;let t=[Sg(e)];for(;t.length>0;){let e=this.visitTick(t);if(xg(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;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(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!bg[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!vg[r])if("object"==typeof t[r])for(let s in t[r])e(t,"*"===s?r:r+"-"+s.toLowerCase(),t[r][s]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:r,visitors:s}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(s.length>0&&t.visitorIndex<s.length){let[e,n]=s[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===s.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return n(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let s,n=t.iterator;for(;s=r.nodes[r.indexes[n]];)if(r.indexes[n]+=1,!s[mg])return s[mg]=!0,void e.push(Sg(s));t.iterator=0,delete r.indexes[n]}let n=t.events;for(;t.eventIndex<n.length;){let e=n[t.eventIndex];if(t.eventIndex+=1,0===e)return void(r.nodes&&r.nodes.length&&(r[mg]=!0,t.iterator=r.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}}Tg.registerPostcss=e=>{Pg=e};var Ag=Tg;Tg.default=Tg,ag.registerLazyResult(Tg),Jm.registerLazyResult(Tg);class Cg{constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let s=vf;this.result=new tg(this._processor,void 0,this._opts),this.result.css=t;let n=this;Object.defineProperty(this.result,"root",{get:()=>n.root});let i=new Rm(s,void 0,this._opts,t);if(i.isMap()){let[e,t]=i.generate();e&&(this.result.css=e),t&&(this.result.map=t)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=fg;try{e=t(this._css,this._opts)}catch(e){this.error=e}return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return"from"in this._opts||Xm("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)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}}var kg=Cg;Cg.default=Cg;class _g{constructor(e=[]){this.version="8.4.4",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return 0===this.plugins.length&&void 0===t.parser&&void 0===t.stringifier&&void 0===t.syntax?new kg(this,e,t):new Ag(this,e,t)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else{if("function"!=typeof r)throw"object"==typeof r&&(r.parse||r.stringify)?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."):new Error(r+" is not a PostCSS plugin");t.push(r)}return t}}var Ig=_g;function Ng(e,t){if(Array.isArray(e))return e.map(e=>Ng(e));let{inputs:r,...s}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:Am.prototype};r.map&&(r.map={...r.map,__proto__:dm.prototype}),t.push(r)}}if(s.nodes&&(s.nodes=e.nodes.map(e=>Ng(e,t))),s.source){let{inputId:e,...r}=s.source;s.source=r,null!=e&&(s.source.input=t[e])}if("root"===s.type)return new ag(s);if("decl"===s.type)return new Tf(s);if("rule"===s.type)return new hg(s);if("comment"===s.type)return new Fm(s);if("atrule"===s.type)return new sg(s);throw new Error("Unknown node type: "+e.type)}_g.default=_g,ag.registerProcessor(_g),Jm.registerProcessor(_g);var Og=Ng;function Lg(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new Ig(e)}Ng.default=Ng,Lg.plugin=function(e,t){function r(...r){let s=t(...r);return s.postcssPlugin=e,s.postcssVersion=(new Ig).version,s}let s;return console&&console.warn&&console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),Object.defineProperty(r,"postcss",{get:()=>(s||(s=r()),s)}),r.process=function(e,t,s){return Lg([r(s)]).process(e,t)},r},Lg.stringify=vf,Lg.parse=fg,Lg.fromJSON=Og,Lg.list=lg,Lg.comment=e=>new Fm(e),Lg.atRule=e=>new sg(e),Lg.decl=e=>new Tf(e),Lg.rule=e=>new hg(e),Lg.root=e=>new ag(e),Lg.document=e=>new Jm(e),Lg.CssSyntaxError=df,Lg.Declaration=Tf,Lg.Container=Hm,Lg.Processor=Ig,Lg.Document=Jm,Lg.Comment=Fm,Lg.Warning=Zm,Lg.AtRule=sg,Lg.Result=tg,Lg.Input=Am,Lg.Rule=hg,Lg.Root=ag,Lg.Node=Ef,Ag.registerPostcss(Lg);var Mg=Lg;Lg.default=Lg;const Dg=()=>({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"))})}});Dg.postcss=!0;var Rg=ei((function(e,t){function r(e){for(var t=e.toLowerCase(),r="",s=!1,n=0;n<6&&void 0!==t[n];n++){var i=t.charCodeAt(n);if(s=32===i,!(i>=97&&i<=102||i>=48&&i<=57))break;r+=t[n]}if(0!==r.length){var o=parseInt(r,16);return o>=55296&&o<=57343||0===o||o>1114111?["\ufffd",r.length+(s?1:0)]:[String.fromCodePoint(o),r.length+(s?1:0)]}}t.__esModule=!0,t.default=function(e){if(!s.test(e))return e;for(var t="",n=0;n<e.length;n++)if("\\"!==e[n])t+=e[n];else{var i=r(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 s=/\\/;e.exports=t.default})),jg=ei((function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];for(;r.length>0;){var n=r.shift();if(!e[n])return;e=e[n]}return e},e.exports=t.default})),Fg=ei((function(e,t){t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),s=1;s<t;s++)r[s-1]=arguments[s];for(;r.length>0;){var n=r.shift();e[n]||(e[n]={}),e=e[n]}},e.exports=t.default})),Bg=ei((function(e,t){t.__esModule=!0,t.default=function(e){var t="",r=e.indexOf("/*"),s=0;for(;r>=0;){t+=e.slice(s,r);var n=e.indexOf("*/",r+2);if(n<0)return t;s=n+2,r=e.indexOf("/*",s)}return t+=e.slice(s)},e.exports=t.default})),Ug=ei((function(e,t){t.__esModule=!0,t.stripComments=t.ensureObject=t.getProp=t.unesc=void 0;var r=o(Rg);t.unesc=r.default;var s=o(jg);t.getProp=s.default;var n=o(Fg);t.ensureObject=n.default;var i=o(Bg);function o(e){return e&&e.__esModule?e:{default:e}}t.stripComments=i.default})),qg=ei((function(e,t){function r(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}t.__esModule=!0,t.default=void 0;var s=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,s,n,i=e.prototype;return i.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},i.replaceWith=function(){if(this.parent){for(var e in arguments)this.parent.insertBefore(this,arguments[e]);this.remove()}return this},i.next=function(){return this.parent.at(this.parent.index(this)+1)},i.prev=function(){return this.parent.at(this.parent.index(this)-1)},i.clone=function(e){void 0===e&&(e={});var t=function e(t,r){if("object"!=typeof t||null===t)return t;var s=new t.constructor;for(var n in t)if(t.hasOwnProperty(n)){var i=t[n];"parent"===n&&"object"===typeof i?r&&(s[n]=r):s[n]=i instanceof Array?i.map((function(t){return e(t,s)})):e(i,s)}return s}(this);for(var r in e)t[r]=e[r];return t},i.appendToPropertyAndEscape=function(e,t,r){this.raws||(this.raws={});var s=this[e],n=this.raws[e];this[e]=s+t,n||r!==t?this.raws[e]=(n||s)+r:delete this.raws[e]},i.setPropertyAndEscape=function(e,t,r){this.raws||(this.raws={}),this[e]=t,this.raws[e]=r},i.setPropertyWithoutEscape=function(e,t){this[e]=t,this.raws&&delete this.raws[e]},i.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)))},i.stringifyProperty=function(e){return this.raws&&this.raws[e]||this[e]},i.valueToString=function(){return String(this.stringifyProperty("value"))},i.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},t=e,(s=[{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,Ug.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,Ug.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=e}}])&&r(t.prototype,s),n&&r(t,n),e}();t.default=s,e.exports=t.default})),$g=ei((function(e,t){t.__esModule=!0,t.UNIVERSAL=t.ATTRIBUTE=t.CLASS=t.COMBINATOR=t.COMMENT=t.ID=t.NESTING=t.PSEUDO=t.ROOT=t.SELECTOR=t.STRING=t.TAG=void 0;t.TAG="tag";t.STRING="string";t.SELECTOR="selector";t.ROOT="root";t.PSEUDO="pseudo";t.NESTING="nesting";t.ID="id";t.COMMENT="comment";t.COMBINATOR="combinator";t.CLASS="class";t.ATTRIBUTE="attribute";t.UNIVERSAL="universal"})),Vg=ei((function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=qg)&&r.__esModule?r:{default:r},n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=s?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}r.default=e,t&&t.set(e,r);return r}($g);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function o(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0;return function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,s=new Array(t);r<t;r++)s[r]=e[r];return s}function c(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var p=function(e){var t,r;function s(t){var r;return(r=e.call(this,t)||this).nodes||(r.nodes=[]),r}r=e,(t=s).prototype=Object.create(r.prototype),t.prototype.constructor=t,l(t,r);var i,a,p,h=s.prototype;return h.append=function(e){return e.parent=this,this.nodes.push(e),this},h.prepend=function(e){return e.parent=this,this.nodes.unshift(e),this},h.at=function(e){return this.nodes[e]},h.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},h.removeChild=function(e){var t;for(var r in e=this.index(e),this.at(e).parent=void 0,this.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this},h.removeAll=function(){for(var e,t=o(this.nodes);!(e=t()).done;){e.value.parent=void 0}return this.nodes=[],this},h.empty=function(){return this.removeAll()},h.insertAfter=function(e,t){t.parent=this;var r,s=this.index(e);for(var n in this.nodes.splice(s+1,0,t),t.parent=this,this.indexes)s<=(r=this.indexes[n])&&(this.indexes[n]=r+1);return this},h.insertBefore=function(e,t){t.parent=this;var r,s=this.index(e);for(var n in this.nodes.splice(s,0,t),t.parent=this,this.indexes)(r=this.indexes[n])<=s&&(this.indexes[n]=r+1);return this},h._findChildAtPosition=function(e,t){var r=void 0;return this.each((function(s){if(s.atPosition){var n=s.atPosition(e,t);if(n)return r=n,!1}else if(s.isAtPosition(e,t))return r=s,!1})),r},h.atPosition=function(e,t){return this.isAtPosition(e,t)?this._findChildAtPosition(e,t)||this:void 0},h._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))},h.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 r,s;this.indexes[t]<this.length&&(r=this.indexes[t],!1!==(s=e(this.at(r),r)));)this.indexes[t]+=1;return delete this.indexes[t],!1!==s&&void 0}},h.walk=function(e){return this.each((function(t,r){var s=e(t,r);if(!1!==s&&t.length&&(s=t.walk(e)),!1===s)return!1}))},h.walkAttributes=function(e){var t=this;return this.walk((function(r){if(r.type===n.ATTRIBUTE)return e.call(t,r)}))},h.walkClasses=function(e){var t=this;return this.walk((function(r){if(r.type===n.CLASS)return e.call(t,r)}))},h.walkCombinators=function(e){var t=this;return this.walk((function(r){if(r.type===n.COMBINATOR)return e.call(t,r)}))},h.walkComments=function(e){var t=this;return this.walk((function(r){if(r.type===n.COMMENT)return e.call(t,r)}))},h.walkIds=function(e){var t=this;return this.walk((function(r){if(r.type===n.ID)return e.call(t,r)}))},h.walkNesting=function(e){var t=this;return this.walk((function(r){if(r.type===n.NESTING)return e.call(t,r)}))},h.walkPseudos=function(e){var t=this;return this.walk((function(r){if(r.type===n.PSEUDO)return e.call(t,r)}))},h.walkTags=function(e){var t=this;return this.walk((function(r){if(r.type===n.TAG)return e.call(t,r)}))},h.walkUniversals=function(e){var t=this;return this.walk((function(r){if(r.type===n.UNIVERSAL)return e.call(t,r)}))},h.split=function(e){var t=this,r=[];return this.reduce((function(s,n,i){var o=e.call(t,n);return r.push(n),o?(s.push(r),r=[]):i===t.length-1&&s.push(r),s}),[])},h.map=function(e){return this.nodes.map(e)},h.reduce=function(e,t){return this.nodes.reduce(e,t)},h.every=function(e){return this.nodes.every(e)},h.some=function(e){return this.nodes.some(e)},h.filter=function(e){return this.nodes.filter(e)},h.sort=function(e){return this.nodes.sort(e)},h.toString=function(){return this.map(String).join("")},i=s,(a=[{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}}])&&c(i.prototype,a),p&&c(i,p),s}(s.default);t.default=p,e.exports=t.default})),zg=ei((function(e,t){var r;function s(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function n(e,t){return(n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.__esModule=!0,t.default=void 0;var i=function(e){var t,r;function i(t){var r;return(r=e.call(this,t)||this).type=$g.ROOT,r}r=e,(t=i).prototype=Object.create(r.prototype),t.prototype.constructor=t,n(t,r);var o,a,c,l=i.prototype;return l.toString=function(){var e=this.reduce((function(e,t){return e.push(String(t)),e}),[]).join(",");return this.trailingComma?e+",":e},l.error=function(e,t){return this._error?this._error(e,t):new Error(e)},o=i,(a=[{key:"errorGenerator",set:function(e){this._error=e}}])&&s(o.prototype,a),c&&s(o,c),i}(((r=Vg)&&r.__esModule?r:{default:r}).default);t.default=i,e.exports=t.default})),Hg=ei((function(e,t){var r;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.__esModule=!0,t.default=void 0;var n=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=$g.SELECTOR,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(((r=Vg)&&r.__esModule?r:{default:r}).default);t.default=n,e.exports=t.default})),Gg={}.hasOwnProperty,Wg=/[ -,\.\/:-@\[-\^`\{-~]/,Yg=/[ -,\.\/:-@\[\]\^`\{-~]/,Jg=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Kg=function e(t,r){"single"!=(r=function(e,t){if(!e)return t;var r={};for(var s in t)r[s]=Gg.call(e,s)?e[s]:t[s];return r}(r,e.options)).quotes&&"double"!=r.quotes&&(r.quotes="single");for(var s="double"==r.quotes?'"':"'",n=r.isIdentifier,i=t.charAt(0),o="",a=0,c=t.length;a<c;){var l=t.charAt(a++),p=l.charCodeAt(),h=void 0;if(p<32||p>126){if(p>=55296&&p<=56319&&a<c){var u=t.charCodeAt(a++);56320==(64512&u)?p=((1023&p)<<10)+(1023&u)+65536:a--}h="\\"+p.toString(16).toUpperCase()+" "}else h=r.escapeEverything?Wg.test(l)?"\\"+l:"\\"+p.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?"\\"+p.toString(16).toUpperCase()+" ":"\\"==l||!n&&('"'==l&&s==l||"'"==l&&s==l)||n&&Yg.test(l)?"\\"+l:l;o+=h}return n&&(/^-[-\d]/.test(o)?o="\\-"+o.slice(1):/\d/.test(i)&&(o="\\3"+i+" "+o.slice(1))),o=o.replace(Jg,(function(e,t,r){return t&&t.length%2?e:(t||"")+r})),!n&&r.wrap?s+o+s:o};Kg.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1},Kg.version="3.0.0";var Xg=Kg,Qg=ei((function(e,t){t.__esModule=!0,t.default=void 0;var r=s(Xg);function s(e){return e&&e.__esModule?e:{default:e}}function n(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var o=function(e){var t,s,o,a,c;function l(t){var r;return(r=e.call(this,t)||this).type=$g.CLASS,r._constructed=!0,r}return s=e,(t=l).prototype=Object.create(s.prototype),t.prototype.constructor=t,i(t,s),l.prototype.valueToString=function(){return"."+e.prototype.valueToString.call(this)},o=l,(a=[{key:"value",get:function(){return this._value},set:function(e){if(this._constructed){var t=(0,r.default)(e,{isIdentifier:!0});t!==e?((0,Ug.ensureObject)(this,"raws"),this.raws.value=t):this.raws&&delete this.raws.value}this._value=e}}])&&n(o.prototype,a),c&&n(o,c),l}(s(qg).default);t.default=o,e.exports=t.default})),Zg=ei((function(e,t){var r;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.__esModule=!0,t.default=void 0;var n=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=$g.COMMENT,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(((r=qg)&&r.__esModule?r:{default:r}).default);t.default=n,e.exports=t.default})),ey=ei((function(e,t){var r;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.__esModule=!0,t.default=void 0;var n=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=$g.ID,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n.prototype.valueToString=function(){return"#"+e.prototype.valueToString.call(this)},n}(((r=qg)&&r.__esModule?r:{default:r}).default);t.default=n,e.exports=t.default})),ty=ei((function(e,t){t.__esModule=!0,t.default=void 0;var r=s(Xg);function s(e){return e&&e.__esModule?e:{default:e}}function n(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var o=function(e){var t,s;function o(){return e.apply(this,arguments)||this}s=e,(t=o).prototype=Object.create(s.prototype),t.prototype.constructor=t,i(t,s);var a,c,l,p=o.prototype;return p.qualifiedName=function(e){return this.namespace?this.namespaceString+"|"+e:e},p.valueToString=function(){return this.qualifiedName(e.prototype.valueToString.call(this))},a=o,(c=[{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,r.default)(e,{isIdentifier:!0});this._namespace=e,t!==e?((0,Ug.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""}}])&&n(a.prototype,c),l&&n(a,l),o}(s(qg).default);t.default=o,e.exports=t.default})),ry=ei((function(e,t){var r;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.__esModule=!0,t.default=void 0;var n=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=$g.TAG,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(((r=ty)&&r.__esModule?r:{default:r}).default);t.default=n,e.exports=t.default})),sy=ei((function(e,t){var r;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.__esModule=!0,t.default=void 0;var n=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=$g.STRING,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(((r=qg)&&r.__esModule?r:{default:r}).default);t.default=n,e.exports=t.default})),ny=ei((function(e,t){var r;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.__esModule=!0,t.default=void 0;var n=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=$g.PSEUDO,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n.prototype.toString=function(){var e=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),e,this.rawSpaceAfter].join("")},n}(((r=Vg)&&r.__esModule?r:{default:r}).default);t.default=n,e.exports=t.default})),iy=ku.deprecate,oy=ei((function(e,t){t.__esModule=!0,t.unescapeValue=d,t.default=void 0;var r,s=o(Xg),n=o(Rg),i=o(ty);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var l=/^('|")([^]*)\1$/,p=iy((function(){}),"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),h=iy((function(){}),"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),u=iy((function(){}),"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function d(e){var t=!1,r=null,s=e,i=s.match(l);return i&&(r=i[1],s=i[2]),(s=(0,n.default)(s))!==e&&(t=!0),{deprecatedUsage:t,unescaped:s,quoteMark:r}}var f=function(e){var t,r;function n(t){var r;return void 0===t&&(t={}),(r=e.call(this,function(e){if(void 0!==e.quoteMark)return e;if(void 0===e.value)return e;u();var t=d(e.value),r=t.quoteMark,s=t.unescaped;return e.raws||(e.raws={}),void 0===e.raws.value&&(e.raws.value=e.value),e.value=s,e.quoteMark=r,e}(t))||this).type=$g.ATTRIBUTE,r.raws=r.raws||{},Object.defineProperty(r.raws,"unquoted",{get:iy((function(){return r.value}),"attr.raws.unquoted is deprecated. Call attr.value instead."),set:iy((function(){return r.value}),"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),r._constructed=!0,r}r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,c(t,r);var i,o,l,f=n.prototype;return f.getQuotedValue=function(e){void 0===e&&(e={});var t=this._determineQuoteMark(e),r=m[t];return(0,s.default)(this._value,r)},f._determineQuoteMark=function(e){return e.smart?this.smartQuoteMark(e):this.preferredQuoteMark(e)},f.setValue=function(e,t){void 0===t&&(t={}),this._value=e,this._quoteMark=this._determineQuoteMark(t),this._syncRawValue()},f.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=m[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},f.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},f._syncRawValue=function(){var e=(0,s.default)(this._value,m[this.quoteMark]);e===this._value?this.raws&&delete this.raws.value:this.raws.value=e},f._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]}},f._spacesFor=function(e){var t=this.spaces[e]||{},r=this.raws.spaces&&this.raws.spaces[e]||{};return Object.assign({before:"",after:""},t,r)},f._stringFor=function(e,t,r){void 0===t&&(t=e),void 0===r&&(r=g);var s=this._spacesFor(t);return r(this.stringifyProperty(e),s)},f.offsetOf=function(e){var t=1,r=this._spacesFor("attribute");if(t+=r.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+=r.after.length;var s=this._spacesFor("operator");t+=s.before.length;var n=this.stringifyProperty("operator");if("operator"===e)return n?t:-1;t+=n.length,t+=s.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)},f.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,r){return!(t.length>0)||e.quoted||0!==r.before.length||e.spaces.value&&e.spaces.value.after||(r.before=" "),g(t,r)})))),t.push("]"),t.push(this.rawSpaceAfter),t.join("")},i=n,(o=[{key:"quoted",get:function(){var e=this.quoteMark;return"'"===e||'"'===e},set:function(e){h()}},{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=d(e),r=t.deprecatedUsage,s=t.unescaped,n=t.quoteMark;if(r&&p(),s===this._value&&n===this._quoteMark)return;this._value=s,this._quoteMark=n,this._syncRawValue()}else this._value=e}},{key:"attribute",get:function(){return this._attribute},set:function(e){this._handleEscapes("attribute",e),this._attribute=e}}])&&a(i.prototype,o),l&&a(i,l),n}(i.default);t.default=f,f.NO_QUOTE=null,f.SINGLE_QUOTE="'",f.DOUBLE_QUOTE='"';var m=((r={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}}).null={isIdentifier:!0},r);function g(e,t){return""+t.before+e+t.after}})),ay=ei((function(e,t){var r;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.__esModule=!0,t.default=void 0;var n=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=$g.UNIVERSAL,r.value="*",r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(((r=ty)&&r.__esModule?r:{default:r}).default);t.default=n,e.exports=t.default})),cy=ei((function(e,t){var r;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.__esModule=!0,t.default=void 0;var n=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=$g.COMBINATOR,r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(((r=qg)&&r.__esModule?r:{default:r}).default);t.default=n,e.exports=t.default})),ly=ei((function(e,t){var r;function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}t.__esModule=!0,t.default=void 0;var n=function(e){var t,r;function n(t){var r;return(r=e.call(this,t)||this).type=$g.NESTING,r.value="&",r}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,s(t,r),n}(((r=qg)&&r.__esModule?r:{default:r}).default);t.default=n,e.exports=t.default})),py=ei((function(e,t){t.__esModule=!0,t.default=function(e){return e.sort((function(e,t){return e-t}))},e.exports=t.default})),hy=ei((function(e,t){t.__esModule=!0,t.combinator=t.word=t.comment=t.str=t.tab=t.newline=t.feed=t.cr=t.backslash=t.bang=t.slash=t.doubleQuote=t.singleQuote=t.space=t.greaterThan=t.pipe=t.equals=t.plus=t.caret=t.tilde=t.dollar=t.closeSquare=t.openSquare=t.closeParenthesis=t.openParenthesis=t.semicolon=t.colon=t.comma=t.at=t.asterisk=t.ampersand=void 0;t.ampersand=38;t.asterisk=42;t.at=64;t.comma=44;t.colon=58;t.semicolon=59;t.openParenthesis=40;t.closeParenthesis=41;t.openSquare=91;t.closeSquare=93;t.dollar=36;t.tilde=126;t.caret=94;t.plus=43;t.equals=61;t.pipe=124;t.greaterThan=62;t.space=32;t.singleQuote=39;t.doubleQuote=34;t.slash=47;t.bang=33;t.backslash=92;t.cr=13;t.feed=12;t.newline=10;t.tab=9;t.str=39;t.comment=-1;t.word=-2;t.combinator=-3})),uy=ei((function(e,t){t.__esModule=!0,t.default=function(e){var t,r,s,i,o,a,c,l,h,u,d,f,m,g=[],y=e.css.valueOf(),b=y.length,v=-1,x=1,w=0,S=0;function E(t,r){if(!e.safe)throw e.error("Unclosed "+t,x,w-v,w);h=(y+=r).length-1}for(;w<b;){switch((t=y.charCodeAt(w))===n.newline&&(v=w,x+=1),t){case n.space:case n.tab:case n.newline:case n.cr:case n.feed:h=w;do{h+=1,(t=y.charCodeAt(h))===n.newline&&(v=h,x+=1)}while(t===n.space||t===n.newline||t===n.tab||t===n.cr||t===n.feed);m=n.space,i=x,s=h-v-1,S=h;break;case n.plus:case n.greaterThan:case n.tilde:case n.pipe:h=w;do{h+=1,t=y.charCodeAt(h)}while(t===n.plus||t===n.greaterThan||t===n.tilde||t===n.pipe);m=n.combinator,i=x,s=w-v,S=h;break;case n.asterisk:case n.ampersand:case n.bang:case n.comma:case n.equals:case n.dollar:case n.caret:case n.openSquare:case n.closeSquare:case n.colon:case n.semicolon:case n.openParenthesis:case n.closeParenthesis:m=t,i=x,s=w-v,S=(h=w)+1;break;case n.singleQuote:case n.doubleQuote:f=t===n.singleQuote?"'":'"',h=w;do{for(o=!1,-1===(h=y.indexOf(f,h+1))&&E("quote",f),a=h;y.charCodeAt(a-1)===n.backslash;)a-=1,o=!o}while(o);m=n.str,i=x,s=w-v,S=h+1;break;default:t===n.slash&&y.charCodeAt(w+1)===n.asterisk?(0===(h=y.indexOf("*/",w+2)+1)&&E("comment","*/"),r=y.slice(w,h+1),l=r.split("\n"),(c=l.length-1)>0?(u=x+c,d=h-l[c].length):(u=x,d=v),m=n.comment,x=u,i=u,s=h-d):t===n.slash?(m=t,i=x,s=w-v,S=(h=w)+1):(h=p(y,w),m=n.word,i=x,s=h-v),S=h+1}g.push([m,x,w-v,i,s,w,S]),d&&(v=d,d=null),w=S}return g},t.FIELDS=void 0;var r,s,n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=s?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}r.default=e,t&&t.set(e,r);return r}(hy);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}for(var o=((r={})[n.tab]=!0,r[n.newline]=!0,r[n.cr]=!0,r[n.feed]=!0,r),a=((s={})[n.space]=!0,s[n.tab]=!0,s[n.newline]=!0,s[n.cr]=!0,s[n.feed]=!0,s[n.ampersand]=!0,s[n.asterisk]=!0,s[n.bang]=!0,s[n.comma]=!0,s[n.colon]=!0,s[n.semicolon]=!0,s[n.openParenthesis]=!0,s[n.closeParenthesis]=!0,s[n.openSquare]=!0,s[n.closeSquare]=!0,s[n.singleQuote]=!0,s[n.doubleQuote]=!0,s[n.plus]=!0,s[n.pipe]=!0,s[n.tilde]=!0,s[n.greaterThan]=!0,s[n.equals]=!0,s[n.dollar]=!0,s[n.caret]=!0,s[n.slash]=!0,s),c={},l=0;l<"0123456789abcdefABCDEF".length;l++)c["0123456789abcdefABCDEF".charCodeAt(l)]=!0;function p(e,t){var r,s=t;do{if(r=e.charCodeAt(s),a[r])return s-1;r===n.backslash?s=h(e,s)+1:s++}while(s<e.length);return s-1}function h(e,t){var r=t,s=e.charCodeAt(r+1);if(o[s]);else if(c[s]){var i=0;do{r++,i++,s=e.charCodeAt(r+1)}while(c[s]&&i<6);i<6&&s===n.space&&r++}else r++;return r}t.FIELDS={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6}})),dy=ei((function(e,t){t.__esModule=!0,t.default=void 0;var r,s,n=S(zg),i=S(Hg),o=S(Qg),a=S(Zg),c=S(ey),l=S(ry),p=S(sy),h=S(ny),u=w(oy),d=S(ay),f=S(cy),m=S(ly),g=S(py),y=w(uy),b=w(hy),v=w($g);function x(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return x=function(){return e},e}function w(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=x();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var i=s?Object.getOwnPropertyDescriptor(e,n):null;i&&(i.get||i.set)?Object.defineProperty(r,n,i):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}function S(e){return e&&e.__esModule?e:{default:e}}function E(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}var P=((r={})[b.space]=!0,r[b.cr]=!0,r[b.feed]=!0,r[b.newline]=!0,r[b.tab]=!0,r),T=Object.assign({},P,((s={})[b.comment]=!0,s));function A(e){return{line:e[y.FIELDS.START_LINE],column:e[y.FIELDS.START_COL]}}function C(e){return{line:e[y.FIELDS.END_LINE],column:e[y.FIELDS.END_COL]}}function k(e,t,r,s){return{start:{line:e,column:t},end:{line:r,column:s}}}function _(e){return k(e[y.FIELDS.START_LINE],e[y.FIELDS.START_COL],e[y.FIELDS.END_LINE],e[y.FIELDS.END_COL])}function I(e,t){if(e)return k(e[y.FIELDS.START_LINE],e[y.FIELDS.START_COL],t[y.FIELDS.END_LINE],t[y.FIELDS.END_COL])}function N(e,t){var r=e[t];if("string"==typeof r)return-1!==r.indexOf("\\")&&((0,Ug.ensureObject)(e,"raws"),e[t]=(0,Ug.unesc)(r),void 0===e.raws[t]&&(e.raws[t]=r)),e}function O(e,t){for(var r=-1,s=[];-1!==(r=e.indexOf(t,r+1));)s.push(r);return s}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,y.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var r=I(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new n.default({source:r}),this.root.errorGenerator=this._errorGenerator();var s=new i.default({source:{start:{line:1,column:1}}});this.root.append(s),this.current=s,this.loop()}var t,r,s,x=e.prototype;return x._errorGenerator=function(){var e=this;return function(t,r){return"string"==typeof e.rule?new Error(t):e.rule.error(t,r)}},x.attribute=function(){var e=[],t=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[y.FIELDS.TYPE]!==b.closeSquare;)e.push(this.currToken),this.position++;if(this.currToken[y.FIELDS.TYPE]!==b.closeSquare)return this.expected("closing square bracket",this.currToken[y.FIELDS.START_POS]);var r=e.length,s={source:k(t[1],t[2],this.currToken[3],this.currToken[4]),sourceIndex:t[y.FIELDS.START_POS]};if(1===r&&!~[b.word].indexOf(e[0][y.FIELDS.TYPE]))return this.expected("attribute",e[0][y.FIELDS.START_POS]);for(var n=0,i="",o="",a=null,c=!1;n<r;){var l=e[n],p=this.content(l),h=e[n+1];switch(l[y.FIELDS.TYPE]){case b.space:if(c=!0,this.options.lossy)break;if(a){(0,Ug.ensureObject)(s,"spaces",a);var d=s.spaces[a].after||"";s.spaces[a].after=d+p;var f=(0,Ug.getProp)(s,"raws","spaces",a,"after")||null;f&&(s.raws.spaces[a].after=f+p)}else i+=p,o+=p;break;case b.asterisk:if(h[y.FIELDS.TYPE]===b.equals)s.operator=p,a="operator";else if((!s.namespace||"namespace"===a&&!c)&&h){i&&((0,Ug.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=i,i=""),o&&((0,Ug.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=i,o=""),s.namespace=(s.namespace||"")+p,((0,Ug.getProp)(s,"raws","namespace")||null)&&(s.raws.namespace+=p),a="namespace"}c=!1;break;case b.dollar:if("value"===a){var m=(0,Ug.getProp)(s,"raws","value");s.value+="$",m&&(s.raws.value=m+"$");break}case b.caret:h[y.FIELDS.TYPE]===b.equals&&(s.operator=p,a="operator"),c=!1;break;case b.combinator:if("~"===p&&h[y.FIELDS.TYPE]===b.equals&&(s.operator=p,a="operator"),"|"!==p){c=!1;break}h[y.FIELDS.TYPE]===b.equals?(s.operator=p,a="operator"):s.namespace||s.attribute||(s.namespace=!0),c=!1;break;case b.word:if(h&&"|"===this.content(h)&&e[n+2]&&e[n+2][y.FIELDS.TYPE]!==b.equals&&!s.operator&&!s.namespace)s.namespace=p,a="namespace";else if(!s.attribute||"attribute"===a&&!c){i&&((0,Ug.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=i,i=""),o&&((0,Ug.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=o,o=""),s.attribute=(s.attribute||"")+p,((0,Ug.getProp)(s,"raws","attribute")||null)&&(s.raws.attribute+=p),a="attribute"}else if(!s.value&&""!==s.value||"value"===a&&!c){var g=(0,Ug.unesc)(p),v=(0,Ug.getProp)(s,"raws","value")||"",x=s.value||"";s.value=x+g,s.quoteMark=null,(g!==p||v)&&((0,Ug.ensureObject)(s,"raws"),s.raws.value=(v||x)+p),a="value"}else{var w="i"===p||"I"===p;!s.value&&""!==s.value||!s.quoteMark&&!c?(s.value||""===s.value)&&(a="value",s.value+=p,s.raws.value&&(s.raws.value+=p)):(s.insensitive=w,w&&"I"!==p||((0,Ug.ensureObject)(s,"raws"),s.raws.insensitiveFlag=p),a="insensitive",i&&((0,Ug.ensureObject)(s,"spaces","insensitive"),s.spaces.insensitive.before=i,i=""),o&&((0,Ug.ensureObject)(s,"raws","spaces","insensitive"),s.raws.spaces.insensitive.before=o,o=""))}c=!1;break;case b.str:if(!s.attribute||!s.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:l[y.FIELDS.START_POS]});var S=(0,u.unescapeValue)(p),E=S.unescaped,P=S.quoteMark;s.value=E,s.quoteMark=P,a="value",(0,Ug.ensureObject)(s,"raws"),s.raws.value=p,c=!1;break;case b.equals:if(!s.attribute)return this.expected("attribute",l[y.FIELDS.START_POS],p);if(s.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:l[y.FIELDS.START_POS]});s.operator=s.operator?s.operator+p:p,a="operator",c=!1;break;case b.comment:if(a)if(c||h&&h[y.FIELDS.TYPE]===b.space||"insensitive"===a){var T=(0,Ug.getProp)(s,"spaces",a,"after")||"",A=(0,Ug.getProp)(s,"raws","spaces",a,"after")||T;(0,Ug.ensureObject)(s,"raws","spaces",a),s.raws.spaces[a].after=A+p}else{var C=s[a]||"",_=(0,Ug.getProp)(s,"raws",a)||C;(0,Ug.ensureObject)(s,"raws"),s.raws[a]=_+p}else o+=p;break;default:return this.error('Unexpected "'+p+'" found.',{index:l[y.FIELDS.START_POS]})}n++}N(s,"attribute"),N(s,"namespace"),this.newNode(new u.default(s)),this.position++},x.parseWhitespaceEquivalentTokens=function(e){e<0&&(e=this.tokens.length);var t=this.position,r=[],s="",n=void 0;do{if(P[this.currToken[y.FIELDS.TYPE]])this.options.lossy||(s+=this.content());else if(this.currToken[y.FIELDS.TYPE]===b.comment){var i={};s&&(i.before=s,s=""),n=new a.default({value:this.content(),source:_(this.currToken),sourceIndex:this.currToken[y.FIELDS.START_POS],spaces:i}),r.push(n)}}while(++this.position<e);if(s)if(n)n.spaces.after=s;else if(!this.options.lossy){var o=this.tokens[t],c=this.tokens[this.position-1];r.push(new p.default({value:"",source:k(o[y.FIELDS.START_LINE],o[y.FIELDS.START_COL],c[y.FIELDS.END_LINE],c[y.FIELDS.END_COL]),sourceIndex:o[y.FIELDS.START_POS],spaces:{before:s,after:""}}))}return r},x.convertWhitespaceNodesToSpace=function(e,t){var r=this;void 0===t&&(t=!1);var s="",n="";return e.forEach((function(e){var i=r.lossySpace(e.spaces.before,t),o=r.lossySpace(e.rawSpaceBefore,t);s+=i+r.lossySpace(e.spaces.after,t&&0===i.length),n+=i+e.value+r.lossySpace(e.rawSpaceAfter,t&&0===o.length)})),n===s&&(n=void 0),{space:s,rawSpace:n}},x.isNamedCombinator=function(e){return void 0===e&&(e=this.position),this.tokens[e+0]&&this.tokens[e+0][y.FIELDS.TYPE]===b.slash&&this.tokens[e+1]&&this.tokens[e+1][y.FIELDS.TYPE]===b.word&&this.tokens[e+2]&&this.tokens[e+2][y.FIELDS.TYPE]===b.slash},x.namedCombinator=function(){if(this.isNamedCombinator()){var e=this.content(this.tokens[this.position+1]),t=(0,Ug.unesc)(e).toLowerCase(),r={};t!==e&&(r.value="/"+e+"/");var s=new f.default({value:"/"+t+"/",source:k(this.currToken[y.FIELDS.START_LINE],this.currToken[y.FIELDS.START_COL],this.tokens[this.position+2][y.FIELDS.END_LINE],this.tokens[this.position+2][y.FIELDS.END_COL]),sourceIndex:this.currToken[y.FIELDS.START_POS],raws:r});return this.position=this.position+3,s}this.unexpected()},x.combinator=function(){var e=this;if("|"===this.content())return this.namespace();var t=this.locateNextMeaningfulToken(this.position);if(!(t<0||this.tokens[t][y.FIELDS.TYPE]===b.comma)){var r,s=this.currToken,n=void 0;if(t>this.position&&(n=this.parseWhitespaceEquivalentTokens(t)),this.isNamedCombinator()?r=this.namedCombinator():this.currToken[y.FIELDS.TYPE]===b.combinator?(r=new f.default({value:this.content(),source:_(this.currToken),sourceIndex:this.currToken[y.FIELDS.START_POS]}),this.position++):P[this.currToken[y.FIELDS.TYPE]]||n||this.unexpected(),r){if(n){var i=this.convertWhitespaceNodesToSpace(n),o=i.space,a=i.rawSpace;r.spaces.before=o,r.rawSpaceBefore=a}}else{var c=this.convertWhitespaceNodesToSpace(n,!0),l=c.space,p=c.rawSpace;p||(p=l);var h={},u={spaces:{}};l.endsWith(" ")&&p.endsWith(" ")?(h.before=l.slice(0,l.length-1),u.spaces.before=p.slice(0,p.length-1)):l.startsWith(" ")&&p.startsWith(" ")?(h.after=l.slice(1),u.spaces.after=p.slice(1)):u.value=p,r=new f.default({value:" ",source:I(s,this.tokens[this.position-1]),sourceIndex:s[y.FIELDS.START_POS],spaces:h,raws:u})}return this.currToken&&this.currToken[y.FIELDS.TYPE]===b.space&&(r.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(r)}var d=this.parseWhitespaceEquivalentTokens(t);if(d.length>0){var m=this.current.last;if(m){var g=this.convertWhitespaceNodesToSpace(d),v=g.space,x=g.rawSpace;void 0!==x&&(m.rawSpaceAfter+=x),m.spaces.after+=v}else d.forEach((function(t){return e.newNode(t)}))}},x.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:A(this.tokens[this.position+1])}});this.current.parent.append(e),this.current=e,this.position++},x.comment=function(){var e=this.currToken;this.newNode(new a.default({value:this.content(),source:_(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},x.error=function(e,t){throw this.root.error(e,t)},x.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[y.FIELDS.START_POS]})},x.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[y.FIELDS.START_POS])},x.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[y.FIELDS.START_POS])},x.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[y.FIELDS.START_POS])},x.namespace=function(){var e=this.prevToken&&this.content(this.prevToken)||!0;return this.nextToken[y.FIELDS.TYPE]===b.word?(this.position++,this.word(e)):this.nextToken[y.FIELDS.TYPE]===b.asterisk?(this.position++,this.universal(e)):void 0},x.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:_(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},x.parentheses=function(){var e=this.current.last,t=1;if(this.position++,e&&e.type===v.PSEUDO){var r=new i.default({source:{start:A(this.tokens[this.position-1])}}),s=this.current;for(e.append(r),this.current=r;this.position<this.tokens.length&&t;)this.currToken[y.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[y.FIELDS.TYPE]===b.closeParenthesis&&t--,t?this.parse():(this.current.source.end=C(this.currToken),this.current.parent.source.end=C(this.currToken),this.position++);this.current=s}else{for(var n,o=this.currToken,a="(";this.position<this.tokens.length&&t;)this.currToken[y.FIELDS.TYPE]===b.openParenthesis&&t++,this.currToken[y.FIELDS.TYPE]===b.closeParenthesis&&t--,n=this.currToken,a+=this.parseParenthesisToken(this.currToken),this.position++;e?e.appendToPropertyAndEscape("value",a,a):this.newNode(new p.default({value:a,source:k(o[y.FIELDS.START_LINE],o[y.FIELDS.START_COL],n[y.FIELDS.END_LINE],n[y.FIELDS.END_COL]),sourceIndex:o[y.FIELDS.START_POS]}))}if(t)return this.expected("closing parenthesis",this.currToken[y.FIELDS.START_POS])},x.pseudo=function(){for(var e=this,t="",r=this.currToken;this.currToken&&this.currToken[y.FIELDS.TYPE]===b.colon;)t+=this.content(),this.position++;return this.currToken?this.currToken[y.FIELDS.TYPE]!==b.word?this.expected(["pseudo-class","pseudo-element"],this.currToken[y.FIELDS.START_POS]):void this.splitWord(!1,(function(s,n){t+=s,e.newNode(new h.default({value:t,source:I(r,e.currToken),sourceIndex:r[y.FIELDS.START_POS]})),n>1&&e.nextToken&&e.nextToken[y.FIELDS.TYPE]===b.openParenthesis&&e.error("Misplaced parenthesis.",{index:e.nextToken[y.FIELDS.START_POS]})})):this.expected(["pseudo-class","pseudo-element"],this.position-1)},x.space=function(){var e=this.content();0===this.position||this.prevToken[y.FIELDS.TYPE]===b.comma||this.prevToken[y.FIELDS.TYPE]===b.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[y.FIELDS.TYPE]===b.comma||this.nextToken[y.FIELDS.TYPE]===b.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(e),this.position++):this.combinator()},x.string=function(){var e=this.currToken;this.newNode(new p.default({value:this.content(),source:_(e),sourceIndex:e[y.FIELDS.START_POS]})),this.position++},x.universal=function(e){var t=this.nextToken;if(t&&"|"===this.content(t))return this.position++,this.namespace();var r=this.currToken;this.newNode(new d.default({value:this.content(),source:_(r),sourceIndex:r[y.FIELDS.START_POS]}),e),this.position++},x.splitWord=function(e,t){for(var r=this,s=this.nextToken,n=this.content();s&&~[b.dollar,b.caret,b.equals,b.word].indexOf(s[y.FIELDS.TYPE]);){this.position++;var i=this.content();if(n+=i,i.lastIndexOf("\\")===i.length-1){var a=this.nextToken;a&&a[y.FIELDS.TYPE]===b.space&&(n+=this.requiredSpace(this.content(a)),this.position++)}s=this.nextToken}var p=O(n,".").filter((function(e){var t="\\"===n[e-1],r=/^\d+\.\d+%$/.test(n);return!t&&!r})),h=O(n,"#").filter((function(e){return"\\"!==n[e-1]})),u=O(n,"#{");u.length&&(h=h.filter((function(e){return!~u.indexOf(e)})));var d=(0,g.default)(function(){var e=Array.prototype.concat.apply([],arguments);return e.filter((function(t,r){return r===e.indexOf(t)}))}([0].concat(p,h)));d.forEach((function(s,i){var a,u=d[i+1]||n.length,f=n.slice(s,u);if(0===i&&t)return t.call(r,f,d.length);var m=r.currToken,g=m[y.FIELDS.START_POS]+d[i],b=k(m[1],m[2]+s,m[3],m[2]+(u-1));if(~p.indexOf(s)){var v={value:f.slice(1),source:b,sourceIndex:g};a=new o.default(N(v,"value"))}else if(~h.indexOf(s)){var x={value:f.slice(1),source:b,sourceIndex:g};a=new c.default(N(x,"value"))}else{var w={value:f,source:b,sourceIndex:g};N(w,"value"),a=new l.default(w)}r.newNode(a,e),e=null})),this.position++},x.word=function(e){var t=this.nextToken;return t&&"|"===this.content(t)?(this.position++,this.namespace()):this.splitWord(e)},x.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},x.parse=function(e){switch(this.currToken[y.FIELDS.TYPE]){case b.space:this.space();break;case b.comment:this.comment();break;case b.openParenthesis:this.parentheses();break;case b.closeParenthesis:e&&this.missingParenthesis();break;case b.openSquare:this.attribute();break;case b.dollar:case b.caret:case b.equals:case b.word:this.word();break;case b.colon:this.pseudo();break;case b.comma:this.comma();break;case b.asterisk:this.universal();break;case b.ampersand:this.nesting();break;case b.slash:case b.combinator:this.combinator();break;case b.str:this.string();break;case b.closeSquare:this.missingSquareBracket();case b.semicolon:this.missingBackslash();default:this.unexpected()}},x.expected=function(e,t,r){if(Array.isArray(e)){var s=e.pop();e=e.join(", ")+" or "+s}var n=/^[aeiou]/.test(e[0])?"an":"a";return r?this.error("Expected "+n+" "+e+', found "'+r+'" instead.',{index:t}):this.error("Expected "+n+" "+e+".",{index:t})},x.requiredSpace=function(e){return this.options.lossy?" ":e},x.optionalSpace=function(e){return this.options.lossy?"":e},x.lossySpace=function(e,t){return this.options.lossy?t?" ":"":e},x.parseParenthesisToken=function(e){var t=this.content(e);return e[y.FIELDS.TYPE]===b.space?this.requiredSpace(t):t},x.newNode=function(e,t){return t&&(/^ +$/.test(t)&&(this.options.lossy||(this.spaces=(this.spaces||"")+t),t=!0),e.namespace=t,N(e,"namespace")),this.spaces&&(e.spaces.before=this.spaces,this.spaces=""),this.current.append(e)},x.content=function(e){return void 0===e&&(e=this.currToken),this.css.slice(e[y.FIELDS.START_POS],e[y.FIELDS.END_POS])},x.locateNextMeaningfulToken=function(e){void 0===e&&(e=this.position+1);for(var t=e;t<this.tokens.length;){if(!T[this.tokens[t][y.FIELDS.TYPE]])return t;t++}return-1},t=e,(r=[{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.prototype,r),s&&E(t,s),e}();t.default=L,e.exports=t.default})),fy=ei((function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=dy)&&r.__esModule?r:{default:r};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 s.default(e,this._parseOptions(t)).root},t._parseOptions=function(e){return{lossy:this._isLossy(e)}},t._run=function(e,t){var r=this;return void 0===t&&(t={}),new Promise((function(s,n){try{var i=r._root(e,t);Promise.resolve(r.func(i)).then((function(s){var n=void 0;return r._shouldUpdateSelector(e,t)&&(n=i.toString(),e.selector=n),{transform:s,root:i,string:n}})).then(s,n)}catch(e){return void n(e)}}))},t._runSync=function(e,t){void 0===t&&(t={});var r=this._root(e,t),s=this.func(r);if(s&&"function"==typeof s.then)throw new Error("Selector processor returned a promise to a synchronous call.");var n=void 0;return t.updateSelector&&"string"!=typeof e&&(n=r.toString(),e.selector=n),{transform:s,root:r,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 r=this._runSync(e,t);return r.string||r.root.toString()},e}();t.default=n,e.exports=t.default})),my=ei((function(e,t){t.__esModule=!0,t.universal=t.tag=t.string=t.selector=t.root=t.pseudo=t.nesting=t.id=t.comment=t.combinator=t.className=t.attribute=void 0;var r=f(oy),s=f(Qg),n=f(cy),i=f(Zg),o=f(ey),a=f(ly),c=f(ny),l=f(zg),p=f(Hg),h=f(sy),u=f(ry),d=f(ay);function f(e){return e&&e.__esModule?e:{default:e}}t.attribute=function(e){return new r.default(e)};t.className=function(e){return new s.default(e)};t.combinator=function(e){return new n.default(e)};t.comment=function(e){return new i.default(e)};t.id=function(e){return new o.default(e)};t.nesting=function(e){return new a.default(e)};t.pseudo=function(e){return new c.default(e)};t.root=function(e){return new l.default(e)};t.selector=function(e){return new p.default(e)};t.string=function(e){return new h.default(e)};t.tag=function(e){return new u.default(e)};t.universal=function(e){return new d.default(e)}})),gy=ei((function(e,t){var r;t.__esModule=!0,t.isNode=n,t.isPseudoElement=b,t.isPseudoClass=function(e){return u(e)&&!b(e)},t.isContainer=function(e){return!(!n(e)||!e.walk)},t.isNamespace=function(e){return o(e)||g(e)},t.isUniversal=t.isTag=t.isString=t.isSelector=t.isRoot=t.isPseudo=t.isNesting=t.isIdentifier=t.isComment=t.isCombinator=t.isClassName=t.isAttribute=void 0;var s=((r={})[$g.ATTRIBUTE]=!0,r[$g.CLASS]=!0,r[$g.COMBINATOR]=!0,r[$g.COMMENT]=!0,r[$g.ID]=!0,r[$g.NESTING]=!0,r[$g.PSEUDO]=!0,r[$g.ROOT]=!0,r[$g.SELECTOR]=!0,r[$g.STRING]=!0,r[$g.TAG]=!0,r[$g.UNIVERSAL]=!0,r);function n(e){return"object"==typeof e&&s[e.type]}function i(e,t){return n(t)&&t.type===e}var o=i.bind(null,$g.ATTRIBUTE);t.isAttribute=o;var a=i.bind(null,$g.CLASS);t.isClassName=a;var c=i.bind(null,$g.COMBINATOR);t.isCombinator=c;var l=i.bind(null,$g.COMMENT);t.isComment=l;var p=i.bind(null,$g.ID);t.isIdentifier=p;var h=i.bind(null,$g.NESTING);t.isNesting=h;var u=i.bind(null,$g.PSEUDO);t.isPseudo=u;var d=i.bind(null,$g.ROOT);t.isRoot=d;var f=i.bind(null,$g.SELECTOR);t.isSelector=f;var m=i.bind(null,$g.STRING);t.isString=m;var g=i.bind(null,$g.TAG);t.isTag=g;var y=i.bind(null,$g.UNIVERSAL);function b(e){return u(e)&&e.value&&(e.value.startsWith("::")||":before"===e.value.toLowerCase()||":after"===e.value.toLowerCase())}t.isUniversal=y})),yy=ei((function(e,t){t.__esModule=!0,Object.keys($g).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===$g[e]||(t[e]=$g[e]))})),Object.keys(my).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===my[e]||(t[e]=my[e]))})),Object.keys(gy).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===gy[e]||(t[e]=gy[e]))}))})),by=Qn(ei((function(e,t){t.__esModule=!0,t.default=void 0;var r,s=(r=fy)&&r.__esModule?r:{default:r},n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var r={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=s?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}r.default=e,t&&t.set(e,r);return r}(yy);function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}var o=function(e){return new s.default(e)};Object.assign(o,n),delete o.__esModule;var a=o;t.default=a,e.exports=t.default})));const vy=/^(-\w+-)?animation-name$/,xy=/^(-\w+-)?animation$/,wy=(e="")=>{const t=Object.create(null),r=e.replace(/^data-v-/,"");return{postcssPlugin:"vue-sfc-scoped",Rule(t){!function(e,t){if(Sy.has(t)||t.parent&&"atrule"===t.parent.type&&/-?keyframes$/.test(t.parent.name))return;Sy.add(t),t.selector=by(t=>{t.each(r=>{!function e(t,r,s,n=!1){let i=null,o=!0;r.each(n=>{if("combinator"===n.type&&(">>>"===n.value||"/deep/"===n.value))return n.value=" ",n.spaces.before=n.spaces.after="",Nu("the >>> and /deep/ combinators have been deprecated. Use :deep() instead."),!1;if("pseudo"===n.type){const{value:i}=n;if(":deep"===i||"::v-deep"===i){if(n.nodes.length){let e=n;n.nodes[0].each(t=>{r.insertAfter(e,t),e=t});const t=r.at(r.index(n)-1);t&&Ey(t)||r.insertAfter(n,by.combinator({value:" "})),r.removeChild(n)}else{Nu("::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead.");const e=r.at(r.index(n)-1);e&&Ey(e)&&r.removeChild(e),r.removeChild(n)}return!1}if(":slotted"===i||"::v-slotted"===i){e(t,n.nodes[0],s,!0);let i=n;return n.nodes[0].each(e=>{r.insertAfter(i,e),i=e}),r.removeChild(n),o=!1,!1}if(":global"===i||"::v-global"===i)return s.insertAfter(r,n.nodes[0]),s.removeChild(r),!1}"pseudo"!==n.type&&"combinator"!==n.type&&(i=n)}),i?i.spaces.after="":r.first.spaces.before="";if(o){const e=n?t+"-s":t;r.insertAfter(i,by.attribute({attribute:e,value:e,raws:{},quoteMark:'"'}))}}(e,r,t)})}).processSync(t.selector)}(e,t)},AtRule(e){/-?keyframes$/.test(e.name)&&!e.params.endsWith("-"+r)&&(t[e.params]=e.params=e.params+"-"+r)},OnceExit(e){Object.keys(t).length&&e.walkDecls(e=>{vy.test(e.prop)&&(e.value=e.value.split(",").map(e=>t[e.trim()]||e.trim()).join(",")),xy.test(e.prop)&&(e.value=e.value.split(",").map(e=>{const r=e.trim().split(/\s+/),s=r.findIndex(e=>t[e]);return-1!==s?(r.splice(s,1,t[r[s]]),r.join(" ")):e}).join(","))})}}},Sy=new WeakSet;function Ey(e){return"combinator"===e.type&&/^\s+$/.test(e.value)}wy.postcss=!0;var Py=_i.SourceMapConsumer,Ty=_i.SourceMapGenerator,Ay=function(e,t){if(!e)return t;if(!t)return e;var r=new Py(e),s=new Py(t),n=new Ty;return s.eachMapping((function(e){if(null!=e.originalLine){var t=r.originalPositionFor({line:e.originalLine,column:e.originalColumn});null!=t.source&&n.addMapping({original:{line:t.line,column:t.column},generated:{line:e.generatedLine,column:e.generatedColumn},source:t.source,name:t.name})}})),[r,s].forEach((function(e){e.sources.forEach((function(t){n._sources.add(t);var r=e.sourceContentFor(t);null!=r&&n.setSourceContent(t,r)}))})),n._sourceRoot=e.sourceRoot,n._file=e.file,JSON.parse(n.toString())};const Cy=(e,t,s,n=r("../../node_modules/@vue/compiler-sfc/dist sync recursive"))=>{const i=n("sass"),o=Object.assign(Object.assign({},s),{data:_y(e,s.filename,s.additionalData),file:s.filename,outFile:s.filename,sourceMap:!!t});try{const e=i.renderSync(o),r=e.stats.includedFiles;return t?{code:e.css.toString(),map:Ay(t,JSON.parse(e.map.toString())),errors:[],dependencies:r}:{code:e.css.toString(),errors:[],dependencies:r}}catch(e){return{code:"",errors:[e],dependencies:[]}}},ky=(e,t,s,n=r("../../node_modules/@vue/compiler-sfc/dist sync recursive"))=>{const i=n("stylus");try{const r=i(e);Object.keys(s).forEach(e=>r.set(e,s[e])),t&&r.set("sourcemap",{inline:!1,comment:!1});const n=r.render(),o=r.deps();return t?{code:n,map:Ay(t,r.sourcemap),errors:[],dependencies:o}:{code:n,errors:[],dependencies:o}}catch(e){return{code:"",errors:[e],dependencies:[]}}};function _y(e,t,r){return r?U(r)?r(e,t):r+e:e}const Iy={less:(e,t,s,n=r("../../node_modules/@vue/compiler-sfc/dist sync recursive"))=>{const i=n("less");let o,a=null;if(i.render(_y(e,s.filename,s.additionalData),Object.assign(Object.assign({},s),{syncImport:!0}),(e,t)=>{a=e,o=t}),a)return{code:"",errors:[a],dependencies:[]};const c=o.imports;return t?{code:o.css.toString(),map:Ay(t,o.map),errors:[],dependencies:c}:{code:o.css.toString(),errors:[],dependencies:c}},sass:(e,t,r,s)=>Cy(e,t,Object.assign(Object.assign({},r),{indentedSyntax:!0}),s),scss:Cy,styl:ky,stylus:ky};function Ny(e){return Ly(Object.assign(Object.assign({},e),{isAsync:!1}))}function Oy(e){return Ly(Object.assign(Object.assign({},e),{isAsync:!0}))}function Ly(e){const{filename:t,id:r,scoped:s=!1,trim:n=!0,isProd:i=!1,modules:o=!1,modulesOptions:a={},preprocessLang:c,postcssOptions:l,postcssPlugins:p}=e,h=c&&Iy[c],u=h&&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,Object.assign({filename:e.filename},e.preprocessOptions),e.preprocessCustomRequire)}(e,h),d=u?u.map:e.inMap||e.map,f=u?u.code:e.source,m=r.replace(/^data-v-/,""),g="data-v-"+m,y=(p||[]).slice();if(y.unshift($a({id:m,isProd:i})),n&&y.push(Dg()),s&&y.push(wy(g)),o)throw new Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");const b=Object.assign(Object.assign({},l),{to:t,from:t});let v,x,w;d&&(b.map={inline:!1,annotation:!1,prev:d});const S=new Set(u?u.dependencies:[]);S.delete(t);const E=[];u&&u.errors.length&&E.push(...u.errors);const P=e=>(e.forEach(e=>{"dependency"===e.type&&S.add(e.file)}),S);try{if(v=Mg(y).process(f,b),e.isAsync)return v.then(e=>({code:e.css||"",map:e.map&&e.map.toJSON(),errors:E,modules:void 0,rawResult:e,dependencies:P(e.messages)})).catch(e=>({code:"",map:void 0,errors:[...E,e],rawResult:void 0,dependencies:S}));P(v.messages),x=v.css,w=v.map}catch(e){E.push(e)}return{code:x||"",map:w&&w.toJSON(),errors:E,rawResult:v,dependencies:S}}const My=$i}.call(this,r("../../node_modules/process/browser.js"))},"../../node_modules/tslib/tslib.es6.js":function(e,t,r){"use strict";r.r(t),r.d(t,"__extends",(function(){return n})),r.d(t,"__assign",(function(){return i})),r.d(t,"__rest",(function(){return o})),r.d(t,"__decorate",(function(){return a})),r.d(t,"__param",(function(){return c})),r.d(t,"__esDecorate",(function(){return l})),r.d(t,"__runInitializers",(function(){return p})),r.d(t,"__propKey",(function(){return h})),r.d(t,"__setFunctionName",(function(){return u})),r.d(t,"__metadata",(function(){return d})),r.d(t,"__awaiter",(function(){return f})),r.d(t,"__generator",(function(){return m})),r.d(t,"__createBinding",(function(){return g})),r.d(t,"__exportStar",(function(){return y})),r.d(t,"__values",(function(){return b})),r.d(t,"__read",(function(){return v})),r.d(t,"__spread",(function(){return x})),r.d(t,"__spreadArrays",(function(){return w})),r.d(t,"__spreadArray",(function(){return S})),r.d(t,"__await",(function(){return E})),r.d(t,"__asyncGenerator",(function(){return P})),r.d(t,"__asyncDelegator",(function(){return T})),r.d(t,"__asyncValues",(function(){return A})),r.d(t,"__makeTemplateObject",(function(){return C})),r.d(t,"__importStar",(function(){return _})),r.d(t,"__importDefault",(function(){return I})),r.d(t,"__classPrivateFieldGet",(function(){return N})),r.d(t,"__classPrivateFieldSet",(function(){return O})),r.d(t,"__classPrivateFieldIn",(function(){return L})),r.d(t,"__addDisposableResource",(function(){return M})),r.d(t,"__disposeResources",(function(){return R}));var s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function n(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var i=function(){return(i=Object.assign||function(e){for(var t,r=1,s=arguments.length;r<s;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function o(e,t){var r={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(r[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(s=Object.getOwnPropertySymbols(e);n<s.length;n++)t.indexOf(s[n])<0&&Object.prototype.propertyIsEnumerable.call(e,s[n])&&(r[s[n]]=e[s[n]])}return r}function a(e,t,r,s){var n,i=arguments.length,o=i<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,r):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,s);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(o=(i<3?n(o):i>3?n(t,r,o):n(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o}function c(e,t){return function(r,s){t(r,s,e)}}function l(e,t,r,s,n,i){function o(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var a,c=s.kind,l="getter"===c?"get":"setter"===c?"set":"value",p=!t&&e?s.static?e:e.prototype:null,h=t||(p?Object.getOwnPropertyDescriptor(p,s.name):{}),u=!1,d=r.length-1;d>=0;d--){var f={};for(var m in s)f[m]="access"===m?{}:s[m];for(var m in s.access)f.access[m]=s.access[m];f.addInitializer=function(e){if(u)throw new TypeError("Cannot add initializers after decoration has completed");i.push(o(e||null))};var g=(0,r[d])("accessor"===c?{get:h.get,set:h.set}:h[l],f);if("accessor"===c){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw new TypeError("Object expected");(a=o(g.get))&&(h.get=a),(a=o(g.set))&&(h.set=a),(a=o(g.init))&&n.unshift(a)}else(a=o(g))&&("field"===c?n.unshift(a):h[l]=a)}p&&Object.defineProperty(p,s.name,h),u=!0}function p(e,t,r){for(var s=arguments.length>2,n=0;n<t.length;n++)r=s?t[n].call(e,r):t[n].call(e);return s?r:void 0}function h(e){return"symbol"==typeof e?e:"".concat(e)}function u(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function d(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function f(e,t,r,s){return new(r||(r=Promise))((function(n,i){function o(e){try{c(s.next(e))}catch(e){i(e)}}function a(e){try{c(s.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,a)}c((s=s.apply(e,t||[])).next())}))}function m(e,t){var r,s,n,i,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(o=0)),o;)try{if(r=1,s&&(n=2&a[0]?s.return:a[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,a[1])).done)return n;switch(s=0,n&&(a=[2&a[0],n.value]),a[0]){case 0:case 1:n=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,s=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(n=o.trys,(n=n.length>0&&n[n.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]<n[3])){o.label=a[1];break}if(6===a[0]&&o.label<n[1]){o.label=n[1],n=a;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(a);break}n[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],s=0}finally{r=n=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}var g=Object.create?function(e,t,r,s){void 0===s&&(s=r);var n=Object.getOwnPropertyDescriptor(t,r);n&&!("get"in n?!t.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,s,n)}:function(e,t,r,s){void 0===s&&(s=r),e[s]=t[r]};function y(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||g(t,e,r)}function b(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],s=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&s>=e.length&&(e=void 0),{value:e&&e[s++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var s,n,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(s=i.next()).done;)o.push(s.value)}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return o}function x(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function w(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var s=Array(e),n=0;for(t=0;t<r;t++)for(var i=arguments[t],o=0,a=i.length;o<a;o++,n++)s[n]=i[o];return s}function S(e,t,r){if(r||2===arguments.length)for(var s,n=0,i=t.length;n<i;n++)!s&&n in t||(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return e.concat(s||Array.prototype.slice.call(t))}function E(e){return this instanceof E?(this.v=e,this):new E(e)}function P(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s,n=r.apply(e,t||[]),i=[];return s={},o("next"),o("throw"),o("return"),s[Symbol.asyncIterator]=function(){return this},s;function o(e){n[e]&&(s[e]=function(t){return new Promise((function(r,s){i.push([e,t,r,s])>1||a(e,t)}))})}function a(e,t){try{(r=n[e](t)).value instanceof E?Promise.resolve(r.value.v).then(c,l):p(i[0][2],r)}catch(e){p(i[0][3],e)}var r}function c(e){a("next",e)}function l(e){a("throw",e)}function p(e,t){e(t),i.shift(),i.length&&a(i[0][0],i[0][1])}}function T(e){var t,r;return t={},s("next"),s("throw",(function(e){throw e})),s("return"),t[Symbol.iterator]=function(){return this},t;function s(s,n){t[s]=e[s]?function(t){return(r=!r)?{value:E(e[s](t)),done:!1}:n?n(t):t}:n}}function A(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=b(e),t={},s("next"),s("throw"),s("return"),t[Symbol.asyncIterator]=function(){return this},t);function s(r){t[r]=e[r]&&function(t){return new Promise((function(s,n){(function(e,t,r,s){Promise.resolve(s).then((function(t){e({value:t,done:r})}),t)})(s,n,(t=e[r](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var k=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function _(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&g(t,e,r);return k(t,e),t}function I(e){return e&&e.__esModule?e:{default:e}}function N(e,t,r,s){if("a"===r&&!s)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!s:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?s:"a"===r?s.call(e):s?s.value:t.get(e)}function O(e,t,r,s,n){if("m"===s)throw new TypeError("Private method is not writable");if("a"===s&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===s?n.call(e,r):n?n.value=r:t.set(e,r),r}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function M(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var s;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");s=t[Symbol.asyncDispose]}if(void 0===s){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");s=t[Symbol.dispose]}if("function"!=typeof s)throw new TypeError("Object not disposable.");e.stack.push({value:t,dispose:s,async:r})}else r&&e.stack.push({async:!0});return t}var D="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var s=new Error(r);return s.name="SuppressedError",s.error=e,s.suppressed=t,s};function R(e){function t(t){e.error=e.hasError?new D(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}return function r(){for(;e.stack.length;){var s=e.stack.pop();try{var n=s.dispose&&s.dispose.call(s.value);if(s.async)return Promise.resolve(n).then(r,(function(e){return t(e),r()}))}catch(e){t(e)}}if(e.hasError)throw e.error}()}t.default={__extends:n,__assign:i,__rest:o,__decorate:a,__param:c,__metadata:d,__awaiter:f,__generator:m,__createBinding:g,__exportStar:y,__values:b,__read:v,__spread:x,__spreadArrays:w,__spreadArray:S,__await:E,__asyncGenerator:P,__asyncDelegator:T,__asyncValues:A,__makeTemplateObject:C,__importStar:_,__importDefault:I,__classPrivateFieldGet:N,__classPrivateFieldSet:O,__classPrivateFieldIn:L,__addDisposableResource:M,__disposeResources:R}},"../vue3-transpiler/node_modules/hash-sum/hash-sum.js":function(e,t,r){"use strict";function s(e,t){var r,s;if(0===t.length)return e;for(r=0,s=t.length;r<s;r++)e=(e<<5)-e+t.charCodeAt(r),e|=0;return e<0?-2*e:e}function n(e,t,r,i){var o,a=s(s(s(e,r),(o=t,Object.prototype.toString.call(o))),typeof t);if(null===t)return s(a,"null");if(void 0===t)return s(a,"undefined");if("object"==typeof t||"function"==typeof t){if(-1!==i.indexOf(t))return s(a,"[Circular]"+r);i.push(t);var c=function(e,t,r){return Object.keys(t).sort().reduce((function(e,s){return n(e,t[s],s,r)}),e)}(a,t,i);if(!("valueOf"in t)||"function"!=typeof t.valueOf)return c;try{return s(c,String(t.valueOf()))}catch(e){return s(c,"[valueOf exception]"+(e.stack||e.message))}}return s(a,t.toString())}e.exports=function(e){return function(e,t){for(;e.length<t;)e="0"+e;return e}(n(0,e,"",[]).toString(16),8)}}}]);
|
|
//# sourceMappingURL=8.ae1ec3a24.chunk.js.map
|