@storybook/components 6.5.9 → 7.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/GlobalScrollAreaStyles-5MYDB36S.mjs +1 -0
- package/dist/OverlayScrollbars-GXD6IR4B.mjs +6 -0
- package/dist/WithTooltip-3ZGNZXVO.mjs +9 -0
- package/dist/chunk-37LBAZBN.mjs +161 -0
- package/dist/chunk-7IK3EOFL.mjs +1 -0
- package/dist/chunk-DF422II4.mjs +6 -0
- package/dist/chunk-IONIU25V.mjs +5 -0
- package/dist/chunk-NS5PSNOW.mjs +7 -0
- package/dist/chunk-PJYBQ6PQ.mjs +1 -0
- package/dist/formatter-7QCQCGUB.mjs +184 -0
- package/dist/html.d.ts +5 -0
- package/dist/html.js +169 -0
- package/dist/html.mjs +5 -0
- package/dist/index.d.ts +831 -0
- package/dist/index.js +372 -0
- package/dist/index.mjs +1 -0
- package/dist/syntaxhighlighter-4PNAP6ZV.mjs +1 -0
- package/html.d.ts +1 -1
- package/html.js +1 -2
- package/package.json +31 -20
- package/dist/cjs/Color-a62ba7e9.js +0 -2461
- package/dist/cjs/GlobalScrollAreaStyles-ff4bd929.js +0 -463
- package/dist/cjs/OverlayScrollbars-c574dc71.js +0 -6622
- package/dist/cjs/WithTooltip-f49e8812.js +0 -3170
- package/dist/cjs/formatter-e9350ac6.js +0 -128
- package/dist/cjs/index-967d55af.js +0 -2047
- package/dist/cjs/index.js +0 -133
- package/dist/cjs/syntaxhighlighter-9522fde9.js +0 -215
- package/dist/esm/Color-3c22bb81.js +0 -2576
- package/dist/esm/GlobalScrollAreaStyles-8793ce4a.js +0 -461
- package/dist/esm/OverlayScrollbars-26c4a78d.js +0 -6710
- package/dist/esm/WithTooltip-508b8277.js +0 -3195
- package/dist/esm/formatter-9dc562d4.js +0 -128
- package/dist/esm/index-b45716e8.js +0 -1990
- package/dist/esm/index.js +0 -7
- package/dist/esm/syntaxhighlighter-82dea71a.js +0 -230
- package/dist/modern/Color-f9ce6f57.js +0 -2444
- package/dist/modern/GlobalScrollAreaStyles-8793ce4a.js +0 -450
- package/dist/modern/OverlayScrollbars-119b80c2.js +0 -6604
- package/dist/modern/WithTooltip-040f3a83.js +0 -3126
- package/dist/modern/formatter-12a1a8d1.js +0 -128
- package/dist/modern/index-9ef3b84b.js +0 -2047
- package/dist/modern/index.js +0 -7
- package/dist/modern/syntaxhighlighter-5c1fdb3d.js +0 -158
- package/dist/ts-tmp/index.d.ts +0 -928
- package/dist/ts3.4/_modules/@popperjs-core-index.d.ts +0 -1
- package/dist/ts3.4/_modules/@popperjs-core-lib-createPopper.d.ts +0 -9
- package/dist/ts3.4/_modules/@popperjs-core-lib-enums.d.ts +0 -34
- package/dist/ts3.4/_modules/@popperjs-core-lib-index.d.ts +0 -6
- package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts +0 -4
- package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-arrow.d.ts +0 -13
- package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts +0 -38
- package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts +0 -8
- package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-flip.d.ts +0 -16
- package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-hide.d.ts +0 -4
- package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-index.d.ts +0 -9
- package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-offset.d.ts +0 -24
- package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts +0 -4
- package/dist/ts3.4/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts +0 -30
- package/dist/ts3.4/_modules/@popperjs-core-lib-popper-lite.d.ts +0 -5
- package/dist/ts3.4/_modules/@popperjs-core-lib-popper.d.ts +0 -7
- package/dist/ts3.4/_modules/@popperjs-core-lib-types.d.ts +0 -167
- package/dist/ts3.4/_modules/@popperjs-core-lib-utils-detectOverflow.d.ts +0 -11
- package/dist/ts3.4/_modules/@types-prettier-index.d.ts +0 -641
- package/dist/ts3.4/_modules/react-textarea-autosize-dist-declarations-src-index.d.ts +0 -17
- package/dist/ts3.4/_modules/react-textarea-autosize-dist-react-textarea-autosize.cjs.d.ts +0 -2
- package/dist/ts3.4/index.d.ts +0 -926
- package/dist/ts3.9/_modules/@popperjs-core-index.d.ts +0 -1
- package/dist/ts3.9/_modules/@popperjs-core-lib-createPopper.d.ts +0 -9
- package/dist/ts3.9/_modules/@popperjs-core-lib-enums.d.ts +0 -34
- package/dist/ts3.9/_modules/@popperjs-core-lib-index.d.ts +0 -6
- package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-applyStyles.d.ts +0 -4
- package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-arrow.d.ts +0 -13
- package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-computeStyles.d.ts +0 -38
- package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-eventListeners.d.ts +0 -8
- package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-flip.d.ts +0 -16
- package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-hide.d.ts +0 -4
- package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-index.d.ts +0 -9
- package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-offset.d.ts +0 -18
- package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-popperOffsets.d.ts +0 -4
- package/dist/ts3.9/_modules/@popperjs-core-lib-modifiers-preventOverflow.d.ts +0 -30
- package/dist/ts3.9/_modules/@popperjs-core-lib-popper-lite.d.ts +0 -5
- package/dist/ts3.9/_modules/@popperjs-core-lib-popper.d.ts +0 -7
- package/dist/ts3.9/_modules/@popperjs-core-lib-types.d.ts +0 -167
- package/dist/ts3.9/_modules/@popperjs-core-lib-utils-detectOverflow.d.ts +0 -11
- package/dist/ts3.9/_modules/@types-prettier-index.d.ts +0 -641
- package/dist/ts3.9/_modules/react-textarea-autosize-dist-declarations-src-index.d.ts +0 -17
- package/dist/ts3.9/_modules/react-textarea-autosize-dist-react-textarea-autosize.cjs.d.ts +0 -2
- package/dist/ts3.9/index.d.ts +0 -926
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import{a as CE}from"./chunk-DF422II4.mjs";import{c as d,e as EE,f as bE,h as ui}from"./chunk-PJYBQ6PQ.mjs";var NE=EE((_d,Pd)=>{ui();(function(we,me){typeof _d=="object"&&typeof Pd<"u"?Pd.exports=me():typeof define=="function"&&define.amd?define(me):((we=typeof globalThis<"u"?globalThis:we||self).prettierPlugins=we.prettierPlugins||{},we.prettierPlugins.html=me())})(_d,function(){"use strict";var we=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function me(m){var D={exports:{}};return m(D,D.exports),D.exports}d(me,"t1");var zn=me(function(m,D){function y(b){return D.$0<=b&&b<=D.$9}d(y,"r");Object.defineProperty(D,"__esModule",{value:!0}),D.$EOF=0,D.$BSPACE=8,D.$TAB=9,D.$LF=10,D.$VTAB=11,D.$FF=12,D.$CR=13,D.$SPACE=32,D.$BANG=33,D.$DQ=34,D.$HASH=35,D.$$=36,D.$PERCENT=37,D.$AMPERSAND=38,D.$SQ=39,D.$LPAREN=40,D.$RPAREN=41,D.$STAR=42,D.$PLUS=43,D.$COMMA=44,D.$MINUS=45,D.$PERIOD=46,D.$SLASH=47,D.$COLON=58,D.$SEMICOLON=59,D.$LT=60,D.$EQ=61,D.$GT=62,D.$QUESTION=63,D.$0=48,D.$7=55,D.$9=57,D.$A=65,D.$E=69,D.$F=70,D.$X=88,D.$Z=90,D.$LBRACKET=91,D.$BACKSLASH=92,D.$RBRACKET=93,D.$CARET=94,D.$_=95,D.$a=97,D.$b=98,D.$e=101,D.$f=102,D.$n=110,D.$r=114,D.$t=116,D.$u=117,D.$v=118,D.$x=120,D.$z=122,D.$LBRACE=123,D.$BAR=124,D.$RBRACE=125,D.$NBSP=160,D.$PIPE=124,D.$TILDA=126,D.$AT=64,D.$BT=96,D.isWhitespace=function(b){return b>=D.$TAB&&b<=D.$SPACE||b==D.$NBSP},D.isDigit=y,D.isAsciiLetter=function(b){return b>=D.$a&&b<=D.$z||b>=D.$A&&b<=D.$Z},D.isAsciiHexDigit=function(b){return b>=D.$a&&b<=D.$f||b>=D.$A&&b<=D.$F||y(b)},D.isNewLine=function(b){return b===D.$LF||b===D.$CR},D.isOctalDigit=function(b){return D.$0<=b&&b<=D.$7}});let It=d(class{constructor(D,y,b){this.filePath=D,this.name=y,this.members=b}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}},"n");var Xn=It,ce=d(class{constructor(){this.cache=new Map}get(m,D,y){let b=(y=y||[]).length?".".concat(y.join(".")):"",F='"'.concat(m,'".').concat(D).concat(b),T=this.cache.get(F);return T||(T=new It(m,D,y),this.cache.set(F,T)),T}},"i1"),lt=Object.defineProperty({StaticSymbol:Xn,StaticSymbolCache:ce},"__esModule",{value:!0});let xc=/-+([a-z0-9])/g;var Tc=d(function(m){return m.replace(xc,(...D)=>D[1].toUpperCase())},"u1"),Xa=d(function(m,D){return Jn(m,":",D)},"c1"),Ja=d(function(m,D){return Jn(m,".",D)},"l1");function Jn(m,D,y){let b=m.indexOf(D);return b==-1?y:[m.slice(0,b).trim(),m.slice(b+1).trim()]}d(Jn,"D1");function ii(m,D,y){return Array.isArray(m)?D.visitArray(m,y):typeof(b=m)=="object"&&b!==null&&Object.getPrototypeOf(b)===Pc?D.visitStringMap(m,y):m==null||typeof m=="string"||typeof m=="number"||typeof m=="boolean"?D.visitPrimitive(m,y):D.visitOther(m,y);var b}d(ii,"p1");var wc=ii,Ya=d(function(m){return m!=null},"d1"),Nc=d(function(m){return m===void 0?null:m},"m1"),Bc=d(class{visitArray(m,D){return m.map(y=>ii(y,this,D))}visitStringMap(m,D){let y={};return Object.keys(m).forEach(b=>{y[b]=ii(m[b],this,D)}),y}visitPrimitive(m,D){return m}visitOther(m,D){return m}},"f1"),qr={assertSync:m=>{if(Fn(m))throw new Error("Illegal state: value cannot be a promise");return m},then:(m,D)=>Fn(m)?m.then(D):D(m),all:m=>m.some(Fn)?Promise.all(m):m},$r=d(function(m){throw new Error("Internal Error: ".concat(m))},"E1"),kc=d(function(m,D){let y=Error(m);return y[Ka]=!0,D&&(y[Qa]=D),y},"C1");let Ka="ngSyntaxError",Qa="ngParseErrors";var _c=d(function(m){return m[Ka]},"S1"),Za=d(function(m){return m[Qa]||[]},"y1"),eo=d(function(m){return m.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},"F1");let Pc=Object.getPrototypeOf({});var Oc=d(function(m){let D="";for(let y=0;y<m.length;y++){let b=m.charCodeAt(y);if(b>=55296&&b<=56319&&m.length>y+1){let F=m.charCodeAt(y+1);F>=56320&&F<=57343&&(y++,b=(b-55296<<10)+F-56320+65536)}b<=127?D+=String.fromCharCode(b):b<=2047?D+=String.fromCharCode(b>>6&31|192,63&b|128):b<=65535?D+=String.fromCharCode(b>>12|224,b>>6&63|128,63&b|128):b<=2097151&&(D+=String.fromCharCode(b>>18&7|240,b>>12&63|128,b>>6&63|128,63&b|128))}return D},"A"),Ic=d(function m(D){if(typeof D=="string")return D;if(D instanceof Array)return"["+D.map(m).join(", ")+"]";if(D==null)return""+D;if(D.overriddenName)return"".concat(D.overriddenName);if(D.name)return"".concat(D.name);if(!D.toString)return"object";let y=D.toString();if(y==null)return""+y;let b=y.indexOf(`
|
|
2
|
+
`);return b===-1?y:y.substring(0,b)},"e"),Lc=d(function(m){return typeof m=="function"&&m.hasOwnProperty("__forward_ref__")?m():m},"w");function Fn(m){return!!m&&typeof m.then=="function"}d(Fn,"N");var ai=Fn,to=d(class{constructor(m){this.full=m;let D=m.split(".");this.major=D[0],this.minor=D[1],this.patch=D.slice(2).join(".")}},"x");let no=typeof window<"u"&&window,ro=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self;var Vr=we!==void 0&&we||no||ro,Ur=Object.defineProperty({dashCaseToCamelCase:Tc,splitAtColon:Xa,splitAtPeriod:Ja,visitValue:wc,isDefined:Ya,noUndefined:Nc,ValueTransformer:Bc,SyncAsync:qr,error:$r,syntaxError:kc,isSyntaxError:_c,getParseErrors:Za,escapeRegExp:eo,utf8Encode:Oc,stringify:Ic,resolveForwardRef:Lc,isPromise:ai,Version:to,global:Vr},"__esModule",{value:!0}),oi=me(function(m,D){Object.defineProperty(D,"__esModule",{value:!0});let y=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function b(k){return k.replace(/\W/g,"_")}d(b,"n2"),D.sanitizeIdentifier=b;let F=0;function T(k){if(!k||!k.reference)return null;let M=k.reference;if(M instanceof lt.StaticSymbol)return M.name;if(M.__anonymousType)return M.__anonymousType;let G=Ur.stringify(M);return G.indexOf("(")>=0?(G="anonymous_".concat(F++),M.__anonymousType=G):G=b(G),G}d(T,"i2");var L;D.identifierName=T,D.identifierModuleUrl=function(k){let M=k.reference;return M instanceof lt.StaticSymbol?M.filePath:"./".concat(Ur.stringify(M))},D.viewClassName=function(k,M){return"View_".concat(T({reference:k}),"_").concat(M)},D.rendererTypeName=function(k){return"RenderType_".concat(T({reference:k}))},D.hostViewClassName=function(k){return"HostView_".concat(T({reference:k}))},D.componentFactoryName=function(k){return"".concat(T({reference:k}),"NgFactory")},function(k){k[k.Pipe=0]="Pipe",k[k.Directive=1]="Directive",k[k.NgModule=2]="NgModule",k[k.Injectable=3]="Injectable"}(L=D.CompileSummaryKind||(D.CompileSummaryKind={})),D.tokenName=function(k){return k.value!=null?b(k.value):T(k.identifier)},D.tokenReference=function(k){return k.identifier!=null?k.identifier.reference:k.value},D.CompileStylesheetMetadata=class{constructor({moduleUrl:k,styles:M,styleUrls:G}={}){this.moduleUrl=k||null,this.styles=W(M),this.styleUrls=W(G)}},D.CompileTemplateMetadata=class{constructor({encapsulation:k,template:M,templateUrl:G,htmlAst:ae,styles:Z,styleUrls:J,externalStylesheets:z,animations:V,ngContentSelectors:ee,interpolation:I,isInline:x,preserveWhitespaces:N}){if(this.encapsulation=k,this.template=M,this.templateUrl=G,this.htmlAst=ae,this.styles=W(Z),this.styleUrls=W(J),this.externalStylesheets=W(z),this.animations=V?q(V):[],this.ngContentSelectors=ee||[],I&&I.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=I,this.isInline=x,this.preserveWhitespaces=N}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};let P=d(class FE{static create({isHost:M,type:G,isComponent:ae,selector:Z,exportAs:J,changeDetection:z,inputs:V,outputs:ee,host:I,providers:x,viewProviders:N,queries:R,guards:ne,viewQueries:fe,entryComponents:Me,template:pe,componentViewType:We,rendererType:_e,componentFactory:Ut}){let or={},ea={},ul={};I!=null&&Object.keys(I).forEach(at=>{let xt=I[at],Rn=at.match(y);Rn===null?ul[at]=xt:Rn[1]!=null?ea[Rn[1]]=xt:Rn[2]!=null&&(or[Rn[2]]=xt)});let il={};V!=null&&V.forEach(at=>{let xt=Ur.splitAtColon(at,[at,at]);il[xt[0]]=xt[1]});let sr={};return ee!=null&&ee.forEach(at=>{let xt=Ur.splitAtColon(at,[at,at]);sr[xt[0]]=xt[1]}),new FE({isHost:M,type:G,isComponent:!!ae,selector:Z,exportAs:J,changeDetection:z,inputs:il,outputs:sr,hostListeners:or,hostProperties:ea,hostAttributes:ul,providers:x,viewProviders:N,queries:R,guards:ne,viewQueries:fe,entryComponents:Me,template:pe,componentViewType:We,rendererType:_e,componentFactory:Ut})}constructor({isHost:M,type:G,isComponent:ae,selector:Z,exportAs:J,changeDetection:z,inputs:V,outputs:ee,hostListeners:I,hostProperties:x,hostAttributes:N,providers:R,viewProviders:ne,queries:fe,guards:Me,viewQueries:pe,entryComponents:We,template:_e,componentViewType:Ut,rendererType:or,componentFactory:ea}){this.isHost=!!M,this.type=G,this.isComponent=ae,this.selector=Z,this.exportAs=J,this.changeDetection=z,this.inputs=V,this.outputs=ee,this.hostListeners=I,this.hostProperties=x,this.hostAttributes=N,this.providers=W(R),this.viewProviders=W(ne),this.queries=W(fe),this.guards=Me,this.viewQueries=W(pe),this.entryComponents=W(We),this.template=_e,this.componentViewType=Ut,this.rendererType=or,this.componentFactory=ea}toSummary(){return{summaryKind:L.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}},"u");D.CompileDirectiveMetadata=P,D.CompilePipeMetadata=class{constructor({type:k,name:M,pure:G}){this.type=k,this.name=M,this.pure=!!G}toSummary(){return{summaryKind:L.Pipe,type:this.type,name:this.name,pure:this.pure}}},D.CompileShallowModuleMetadata=class{},D.CompileNgModuleMetadata=class{constructor({type:k,providers:M,declaredDirectives:G,exportedDirectives:ae,declaredPipes:Z,exportedPipes:J,entryComponents:z,bootstrapComponents:V,importedModules:ee,exportedModules:I,schemas:x,transitiveModule:N,id:R}){this.type=k||null,this.declaredDirectives=W(G),this.exportedDirectives=W(ae),this.declaredPipes=W(Z),this.exportedPipes=W(J),this.providers=W(M),this.entryComponents=W(z),this.bootstrapComponents=W(V),this.importedModules=W(ee),this.exportedModules=W(I),this.schemas=W(x),this.id=R||null,this.transitiveModule=N||null}toSummary(){let k=this.transitiveModule;return{summaryKind:L.NgModule,type:this.type,entryComponents:k.entryComponents,providers:k.providers,modules:k.modules,exportedDirectives:k.exportedDirectives,exportedPipes:k.exportedPipes}}};function W(k){return k||[]}d(W,"c2"),D.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(k,M){this.providers.push({provider:k,module:M})}addDirective(k){this.directivesSet.has(k.reference)||(this.directivesSet.add(k.reference),this.directives.push(k))}addExportedDirective(k){this.exportedDirectivesSet.has(k.reference)||(this.exportedDirectivesSet.add(k.reference),this.exportedDirectives.push(k))}addPipe(k){this.pipesSet.has(k.reference)||(this.pipesSet.add(k.reference),this.pipes.push(k))}addExportedPipe(k){this.exportedPipesSet.has(k.reference)||(this.exportedPipesSet.add(k.reference),this.exportedPipes.push(k))}addModule(k){this.modulesSet.has(k.reference)||(this.modulesSet.add(k.reference),this.modules.push(k))}addEntryComponent(k){this.entryComponentsSet.has(k.componentType)||(this.entryComponentsSet.add(k.componentType),this.entryComponents.push(k))}};function q(k){return k.reduce((M,G)=>{let ae=Array.isArray(G)?q(G):G;return M.concat(ae)},[])}d(q,"l2");function Y(k){return k.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}d(Y,"D2"),D.ProviderMeta=class{constructor(k,{useClass:M,useValue:G,useExisting:ae,useFactory:Z,deps:J,multi:z}){this.token=k,this.useClass=M||null,this.useValue=G,this.useExisting=ae,this.useFactory=Z||null,this.dependencies=J||null,this.multi=!!z}},D.flatten=q,D.templateSourceUrl=function(k,M,G){let ae;return ae=G.isInline?M.type.reference instanceof lt.StaticSymbol?"".concat(M.type.reference.filePath,".").concat(M.type.reference.name,".html"):"".concat(T(k),"/").concat(T(M.type),".html"):G.templateUrl,M.type.reference instanceof lt.StaticSymbol?ae:Y(ae)},D.sharedStylesheetJitUrl=function(k,M){let G=k.moduleUrl.split(/\/\\/g),ae=G[G.length-1];return Y("css/".concat(M).concat(ae,".ngstyle.js"))},D.ngModuleJitUrl=function(k){return Y("".concat(T(k.type),"/module.ngfactory.js"))},D.templateJitUrl=function(k,M){return Y("".concat(T(k),"/").concat(T(M.type),".ngfactory.js"))}}),Ee=me(function(m,D){Object.defineProperty(D,"__esModule",{value:!0});let y=d(class SE{constructor(P,W,q,Y){this.file=P,this.offset=W,this.line=q,this.col=Y}toString(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(P){let W=this.file.content,q=W.length,Y=this.offset,k=this.line,M=this.col;for(;Y>0&&P<0;)if(Y--,P++,W.charCodeAt(Y)==zn.$LF){k--;let G=W.substr(0,Y-1).lastIndexOf(String.fromCharCode(zn.$LF));M=G>0?Y-G:Y}else M--;for(;Y<q&&P>0;){let G=W.charCodeAt(Y);Y++,P--,G==zn.$LF?(k++,M=0):M++}return new SE(this.file,Y,k,M)}getContext(P,W){let q=this.file.content,Y=this.offset;if(Y!=null){Y>q.length-1&&(Y=q.length-1);let k=Y,M=0,G=0;for(;M<P&&Y>0&&(Y--,M++,q[Y]!=`
|
|
3
|
+
`||++G!=W););for(M=0,G=0;M<P&&k<q.length-1&&(k++,M++,q[k]!=`
|
|
4
|
+
`||++G!=W););return{before:q.substring(Y,this.offset),after:q.substring(this.offset,k+1)}}return null}},"n");D.ParseLocation=y;let b=d(class{constructor(P,W){this.content=P,this.url=W}},"s");D.ParseSourceFile=b;let F=d(class{constructor(P,W,q=null){this.start=P,this.end=W,this.details=q}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},"i");var T;D.ParseSourceSpan=F,D.EMPTY_PARSE_LOCATION=new y(new b("",""),0,0,0),D.EMPTY_SOURCE_SPAN=new F(D.EMPTY_PARSE_LOCATION,D.EMPTY_PARSE_LOCATION),function(L){L[L.WARNING=0]="WARNING",L[L.ERROR=1]="ERROR"}(T=D.ParseErrorLevel||(D.ParseErrorLevel={})),D.ParseError=class{constructor(L,P,W=T.ERROR){this.span=L,this.msg=P,this.level=W}contextualMessage(){let L=this.span.start.getContext(100,3);return L?"".concat(this.msg,' ("').concat(L.before,"[").concat(T[this.level]," ->]").concat(L.after,'")'):this.msg}toString(){let L=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(L)}},D.typeSourceSpan=function(L,P){let W=oi.identifierModuleUrl(P),q=W!=null?"in ".concat(L," ").concat(oi.identifierName(P)," in ").concat(W):"in ".concat(L," ").concat(oi.identifierName(P)),Y=new b("",q);return new F(new y(Y,-1,-1,-1),new y(Y,-1,-1,-1))},D.r3JitTypeSourceSpan=function(L,P,W){let q="in ".concat(L," ").concat(P," in ").concat(W),Y=new b("",q);return new F(new y(Y,-1,-1,-1),new y(Y,-1,-1,-1))}});let si=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>[\\S\\s]*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)");var jc=d(function(m){let D=m.match(si);if(!D)return{content:m};let{startDelimiter:y,language:b,value:F="",endDelimiter:T}=D.groups,L=b.trim()||"yaml";if(y==="+++"&&(L="toml"),L!=="yaml"&&y!==T)return{content:m};let[P]=D;return{frontMatter:{type:"front-matter",lang:L,value:F,startDelimiter:y,endDelimiter:T,raw:P.replace(/\n$/,"")},content:P.replace(/[^\n]/g," ")+m.slice(P.length)}},"$"),ci=d(m=>m[m.length-1],"M"),Sn=d(function(m,D){let y=new SyntaxError(m+" ("+D.start.line+":"+D.start.column+")");return y.loc=D,y},"U"),li=d(m=>typeof m=="string"?m.replace((({onlyFirst:D=!1}={})=>{let y=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(y,D?void 0:"g")})(),""):m,"V");let pi=d(m=>!Number.isNaN(m)&&m>=4352&&(m<=4447||m===9001||m===9002||11904<=m&&m<=12871&&m!==12351||12880<=m&&m<=19903||19968<=m&&m<=42182||43360<=m&&m<=43388||44032<=m&&m<=55203||63744<=m&&m<=64255||65040<=m&&m<=65049||65072<=m&&m<=65131||65281<=m&&m<=65376||65504<=m&&m<=65510||110592<=m&&m<=110593||127488<=m&&m<=127569||131072<=m&&m<=262141),"G");var di=pi,uo=pi;di.default=uo;let Yn=d(m=>{if(typeof m!="string"||m.length===0||(m=li(m)).length===0)return 0;m=m.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");let D=0;for(let y=0;y<m.length;y++){let b=m.codePointAt(y);b<=31||b>=127&&b<=159||b>=768&&b<=879||(b>65535&&y++,D+=di(b)?2:1)}return D},"H");var fi=Yn,io=Yn;fi.default=io;var ao=d(m=>{if(typeof m!="string")throw new TypeError("Expected a string");return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},"Y");function xn(m,D){return D||(D=m.slice(0)),Object.freeze(Object.defineProperties(m,{raw:{value:Object.freeze(D)}}))}d(xn,"Q");var Wr=d(function(m){for(var D=-1,y=m==null?0:m.length,b={};++D<y;){var F=m[D];b[F[0]]=F[1]}return b},"J"),sn=sn!==void 0?sn:typeof self<"u"?self:typeof window<"u"?window:{};function hi(){throw new Error("setTimeout has not been defined")}d(hi,"K");function Di(){throw new Error("clearTimeout has not been defined")}d(Di,"ee");var Ve=hi,Lt=Di;function mi(m){if(Ve===setTimeout)return setTimeout(m,0);if((Ve===hi||!Ve)&&setTimeout)return Ve=setTimeout,setTimeout(m,0);try{return Ve(m,0)}catch{try{return Ve.call(null,m,0)}catch{return Ve.call(this,m,0)}}}d(mi,"ne"),typeof sn.setTimeout=="function"&&(Ve=setTimeout),typeof sn.clearTimeout=="function"&&(Lt=clearTimeout);var jt,Rt=[],Tn=!1,Gr=-1;function Rc(){Tn&&jt&&(Tn=!1,jt.length?Rt=jt.concat(Rt):Gr=-1,Rt.length&&oo())}d(Rc,"ue");function oo(){if(!Tn){var m=mi(Rc);Tn=!0;for(var D=Rt.length;D;){for(jt=Rt,Rt=[];++Gr<D;)jt&&jt[Gr].run();Gr=-1,D=Rt.length}jt=null,Tn=!1,function(y){if(Lt===clearTimeout)return clearTimeout(y);if((Lt===Di||!Lt)&&clearTimeout)return Lt=clearTimeout,clearTimeout(y);try{Lt(y)}catch{try{return Lt.call(null,y)}catch{return Lt.call(this,y)}}}(m)}}d(oo,"ce");function so(m,D){this.fun=m,this.array=D}d(so,"le"),so.prototype.run=function(){this.fun.apply(null,this.array)};function cn(){}d(cn,"De");var Hr=cn,co=cn,wn=cn,lo=cn,gi=cn,po=cn,fo=cn,Nn=sn.performance||{},Mc=Nn.now||Nn.mozNow||Nn.msNow||Nn.oNow||Nn.webkitNow||function(){return new Date().getTime()},yi=new Date,zr={nextTick:function(m){var D=new Array(arguments.length-1);if(arguments.length>1)for(var y=1;y<arguments.length;y++)D[y-1]=arguments[y];Rt.push(new so(m,D)),Rt.length!==1||Tn||mi(oo)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:Hr,addListener:co,once:wn,off:lo,removeListener:gi,removeAllListeners:po,emit:fo,binding:function(m){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(m){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(m){var D=.001*Mc.call(Nn),y=Math.floor(D),b=Math.floor(D%1*1e9);return m&&(y-=m[0],(b-=m[1])<0&&(y--,b+=1e9)),[y,b]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-yi)/1e3}},Bn=typeof zr=="object"&&zr.env&&zr.env.NODE_DEBUG&&/\bsemver\b/i.test(zr.env.NODE_DEBUG)?(...m)=>console.error("SEMVER",...m):()=>{},Ei={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},qc=me(function(m,D){let{MAX_SAFE_COMPONENT_LENGTH:y}=Ei,b=(D=m.exports={}).re=[],F=D.src=[],T=D.t={},L=0,P=d((W,q,Y)=>{let k=L++;Bn(k,q),T[W]=k,F[k]=q,b[k]=new RegExp(q,Y?"g":void 0)},"a3");P("NUMERICIDENTIFIER","0|[1-9]\\d*"),P("NUMERICIDENTIFIERLOOSE","[0-9]+"),P("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),P("MAINVERSION","(".concat(F[T.NUMERICIDENTIFIER],")\\.")+"(".concat(F[T.NUMERICIDENTIFIER],")\\.")+"(".concat(F[T.NUMERICIDENTIFIER],")")),P("MAINVERSIONLOOSE","(".concat(F[T.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(F[T.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(F[T.NUMERICIDENTIFIERLOOSE],")")),P("PRERELEASEIDENTIFIER","(?:".concat(F[T.NUMERICIDENTIFIER],"|").concat(F[T.NONNUMERICIDENTIFIER],")")),P("PRERELEASEIDENTIFIERLOOSE","(?:".concat(F[T.NUMERICIDENTIFIERLOOSE],"|").concat(F[T.NONNUMERICIDENTIFIER],")")),P("PRERELEASE","(?:-(".concat(F[T.PRERELEASEIDENTIFIER],"(?:\\.").concat(F[T.PRERELEASEIDENTIFIER],")*))")),P("PRERELEASELOOSE","(?:-?(".concat(F[T.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(F[T.PRERELEASEIDENTIFIERLOOSE],")*))")),P("BUILDIDENTIFIER","[0-9A-Za-z-]+"),P("BUILD","(?:\\+(".concat(F[T.BUILDIDENTIFIER],"(?:\\.").concat(F[T.BUILDIDENTIFIER],")*))")),P("FULLPLAIN","v?".concat(F[T.MAINVERSION]).concat(F[T.PRERELEASE],"?").concat(F[T.BUILD],"?")),P("FULL","^".concat(F[T.FULLPLAIN],"$")),P("LOOSEPLAIN","[v=\\s]*".concat(F[T.MAINVERSIONLOOSE]).concat(F[T.PRERELEASELOOSE],"?").concat(F[T.BUILD],"?")),P("LOOSE","^".concat(F[T.LOOSEPLAIN],"$")),P("GTLT","((?:<|>)?=?)"),P("XRANGEIDENTIFIERLOOSE","".concat(F[T.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),P("XRANGEIDENTIFIER","".concat(F[T.NUMERICIDENTIFIER],"|x|X|\\*")),P("XRANGEPLAIN","[v=\\s]*(".concat(F[T.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(F[T.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(F[T.XRANGEIDENTIFIER],")")+"(?:".concat(F[T.PRERELEASE],")?").concat(F[T.BUILD],"?")+")?)?"),P("XRANGEPLAINLOOSE","[v=\\s]*(".concat(F[T.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(F[T.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(F[T.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(F[T.PRERELEASELOOSE],")?").concat(F[T.BUILD],"?")+")?)?"),P("XRANGE","^".concat(F[T.GTLT],"\\s*").concat(F[T.XRANGEPLAIN],"$")),P("XRANGELOOSE","^".concat(F[T.GTLT],"\\s*").concat(F[T.XRANGEPLAINLOOSE],"$")),P("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(y,"})")+"(?:\\.(\\d{1,".concat(y,"}))?")+"(?:\\.(\\d{1,".concat(y,"}))?")+"(?:$|[^\\d])"),P("COERCERTL",F[T.COERCE],!0),P("LONETILDE","(?:~>?)"),P("TILDETRIM","(\\s*)".concat(F[T.LONETILDE],"\\s+"),!0),D.tildeTrimReplace="$1~",P("TILDE","^".concat(F[T.LONETILDE]).concat(F[T.XRANGEPLAIN],"$")),P("TILDELOOSE","^".concat(F[T.LONETILDE]).concat(F[T.XRANGEPLAINLOOSE],"$")),P("LONECARET","(?:\\^)"),P("CARETTRIM","(\\s*)".concat(F[T.LONECARET],"\\s+"),!0),D.caretTrimReplace="$1^",P("CARET","^".concat(F[T.LONECARET]).concat(F[T.XRANGEPLAIN],"$")),P("CARETLOOSE","^".concat(F[T.LONECARET]).concat(F[T.XRANGEPLAINLOOSE],"$")),P("COMPARATORLOOSE","^".concat(F[T.GTLT],"\\s*(").concat(F[T.LOOSEPLAIN],")$|^$")),P("COMPARATOR","^".concat(F[T.GTLT],"\\s*(").concat(F[T.FULLPLAIN],")$|^$")),P("COMPARATORTRIM","(\\s*)".concat(F[T.GTLT],"\\s*(").concat(F[T.LOOSEPLAIN],"|").concat(F[T.XRANGEPLAIN],")"),!0),D.comparatorTrimReplace="$1$2$3",P("HYPHENRANGE","^\\s*(".concat(F[T.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(F[T.XRANGEPLAIN],")")+"\\s*$"),P("HYPHENRANGELOOSE","^\\s*(".concat(F[T.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(F[T.XRANGEPLAINLOOSE],")")+"\\s*$"),P("STAR","(<|>)?=?\\s*\\*"),P("GTE0","^\\s*>=\\s*0.0.0\\s*$"),P("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});let ho=["includePrerelease","loose","rtl"];var Do=d(m=>m?typeof m!="object"?{loose:!0}:ho.filter(D=>m[D]).reduce((D,y)=>(D[y]=!0,D),{}):{},"be");let mo=/^[0-9]+$/,bi=d((m,D)=>{let y=mo.test(m),b=mo.test(D);return y&&b&&(m=+m,D=+D),m===D?0:y&&!b?-1:b&&!y?1:m<D?-1:1},"Ne");var be={compareIdentifiers:bi,rcompareIdentifiers:(m,D)=>bi(D,m)};let{MAX_LENGTH:Xr,MAX_SAFE_INTEGER:Re}=Ei,{re:Ci,t:vi}=qc,{compareIdentifiers:it}=be;var Ai=d(class an{constructor(D,y){if(y=Do(y),D instanceof an){if(D.loose===!!y.loose&&D.includePrerelease===!!y.includePrerelease)return D;D=D.version}else if(typeof D!="string")throw new TypeError("Invalid Version: ".concat(D));if(D.length>Xr)throw new TypeError("version is longer than ".concat(Xr," characters"));Bn("SemVer",D,y),this.options=y,this.loose=!!y.loose,this.includePrerelease=!!y.includePrerelease;let b=D.trim().match(y.loose?Ci[vi.LOOSE]:Ci[vi.FULL]);if(!b)throw new TypeError("Invalid Version: ".concat(D));if(this.raw=D,this.major=+b[1],this.minor=+b[2],this.patch=+b[3],this.major>Re||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Re||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Re||this.patch<0)throw new TypeError("Invalid patch version");b[4]?this.prerelease=b[4].split(".").map(F=>{if(/^[0-9]+$/.test(F)){let T=+F;if(T>=0&&T<Re)return T}return F}):this.prerelease=[],this.build=b[5]?b[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(D){if(Bn("SemVer.compare",this.version,this.options,D),!(D instanceof an)){if(typeof D=="string"&&D===this.version)return 0;D=new an(D,this.options)}return D.version===this.version?0:this.compareMain(D)||this.comparePre(D)}compareMain(D){return D instanceof an||(D=new an(D,this.options)),it(this.major,D.major)||it(this.minor,D.minor)||it(this.patch,D.patch)}comparePre(D){if(D instanceof an||(D=new an(D,this.options)),this.prerelease.length&&!D.prerelease.length)return-1;if(!this.prerelease.length&&D.prerelease.length)return 1;if(!this.prerelease.length&&!D.prerelease.length)return 0;let y=0;do{let b=this.prerelease[y],F=D.prerelease[y];if(Bn("prerelease compare",y,b,F),b===void 0&&F===void 0)return 0;if(F===void 0)return 1;if(b===void 0)return-1;if(b!==F)return it(b,F)}while(++y)}compareBuild(D){D instanceof an||(D=new an(D,this.options));let y=0;do{let b=this.build[y],F=D.build[y];if(Bn("prerelease compare",y,b,F),b===void 0&&F===void 0)return 0;if(F===void 0)return 1;if(b===void 0)return-1;if(b!==F)return it(b,F)}while(++y)}inc(D,y){switch(D){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",y);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",y);break;case"prepatch":this.prerelease.length=0,this.inc("patch",y),this.inc("pre",y);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",y),this.inc("pre",y);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let b=this.prerelease.length;for(;--b>=0;)typeof this.prerelease[b]=="number"&&(this.prerelease[b]++,b=-2);b===-1&&this.prerelease.push(0)}y&&(this.prerelease[0]===y?isNaN(this.prerelease[1])&&(this.prerelease=[y,0]):this.prerelease=[y,0]);break;default:throw new Error("invalid increment argument: ".concat(D))}return this.format(),this.raw=this.version,this}},"Le"),Mt=d((m,D,y)=>new Ai(m,y).compare(new Ai(D,y)),"qe"),qt=d((m,D,y)=>Mt(m,D,y)<0,"$e"),pn,Kn,go,Fi,Si,Yt,$c=d((m,D,y)=>Mt(m,D,y)>=0,"He"),Vc="2.3.0",Uc=me(function(m,D){function y(){for(var J=[],z=0;z<arguments.length;z++)J[z]=arguments[z]}d(y,"r4");function b(){return typeof WeakMap<"u"?new WeakMap:{add:y,delete:y,get:y,set:y,has:function(J){return!1}}}d(b,"n5"),Object.defineProperty(D,"__esModule",{value:!0}),D.outdent=void 0;var F=Object.prototype.hasOwnProperty,T=d(function(J,z){return F.call(J,z)},"i4");function L(J,z){for(var V in z)T(z,V)&&(J[V]=z[V]);return J}d(L,"o3");var P=/^[ \t]*(?:\r\n|\r|\n)/,W=/(?:\r\n|\r|\n)[ \t]*$/,q=/^(?:[\r\n]|$)/,Y=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,k=/^[ \t]*[\r\n][ \t\r\n]*$/;function M(J,z,V){var ee=0,I=J[0].match(Y);I&&(ee=I[1].length);var x=new RegExp("(\\r\\n|\\r|\\n).{0,"+ee+"}","g");z&&(J=J.slice(1));var N=V.newline,R=V.trimLeadingNewline,ne=V.trimTrailingNewline,fe=typeof N=="string",Me=J.length;return J.map(function(pe,We){return pe=pe.replace(x,"$1"),We===0&&R&&(pe=pe.replace(P,"")),We===Me-1&&ne&&(pe=pe.replace(W,"")),fe&&(pe=pe.replace(/\r\n|\n|\r/g,function(_e){return N})),pe})}d(M,"p2");function G(J,z){for(var V="",ee=0,I=J.length;ee<I;ee++)V+=J[ee],ee<I-1&&(V+=z[ee]);return V}d(G,"h2");function ae(J){return T(J,"raw")&&T(J,"length")}d(ae,"d");var Z=d(function J(z){var V=b(),ee=b();return L(d(function I(x){for(var N=[],R=1;R<arguments.length;R++)N[R-1]=arguments[R];if(ae(x)){var ne=x,fe=(N[0]===I||N[0]===Z)&&k.test(ne[0])&&q.test(ne[1]),Me=fe?ee:V,pe=Me.get(ne);if(pe||(pe=M(ne,fe,z),Me.set(ne,pe)),N.length===0)return pe[0];var We=G(pe,fe?N.slice(1):N);return We}return J(L(L({},z),x||{}))},"n"),{string:function(I){return M([I],!1,z)[0]}})},"e17")({trimLeadingNewline:!0,trimTrailingNewline:!0});D.outdent=Z,D.default=Z;try{m.exports=Z,Object.defineProperty(Z,"__esModule",{value:!0}),Z.default=Z,Z.outdent=Z}catch{}});let{outdent:kn}=Uc,xi="Config",Jr="Editor",Yr="Other",Ue="Global",dn="Special",Wc={cursorOffset:{since:"1.4.0",category:dn,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:kn(pn||(pn=xn([`
|
|
5
|
+
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
6
|
+
This option cannot be used with --range-start and --range-end.
|
|
7
|
+
`]))),cliCategory:Jr},endOfLine:{since:"1.15.0",category:Ue,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:kn(Kn||(Kn=xn([`
|
|
8
|
+
Maintain existing
|
|
9
|
+
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
10
|
+
`])))}]},filepath:{since:"1.4.0",category:dn,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:Yr,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:dn,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:Yr},parser:{since:"0.0.10",category:Ue,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:m=>typeof m=="string"||typeof m=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Ue,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:m=>typeof m=="string"||typeof m=="object",cliName:"plugin",cliCategory:xi},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Ue,description:kn(go||(go=xn([`
|
|
11
|
+
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
12
|
+
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
13
|
+
Multiple values are accepted.
|
|
14
|
+
`]))),exception:m=>typeof m=="string"||typeof m=="object",cliName:"plugin-search-dir",cliCategory:xi},printWidth:{since:"0.0.0",category:Ue,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:dn,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:kn(Fi||(Fi=xn([`
|
|
15
|
+
Format code ending at a given character offset (exclusive).
|
|
16
|
+
The range will extend forwards to the end of the selected statement.
|
|
17
|
+
This option cannot be used with --cursor-offset.
|
|
18
|
+
`]))),cliCategory:Jr},rangeStart:{since:"1.4.0",category:dn,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:kn(Si||(Si=xn([`
|
|
19
|
+
Format code starting at a given character offset.
|
|
20
|
+
The range will extend backwards to the start of the first line containing the selected statement.
|
|
21
|
+
This option cannot be used with --cursor-offset.
|
|
22
|
+
`]))),cliCategory:Jr},requirePragma:{since:"1.7.0",category:dn,type:"boolean",default:!1,description:kn(Yt||(Yt=xn([`
|
|
23
|
+
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
24
|
+
in order for it to be formatted.
|
|
25
|
+
`]))),cliCategory:Yr},tabWidth:{type:"int",category:Ue,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Ue,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Ue,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},De={compare:Mt,lt:qt,gte:$c},Qn=Vc,yo=Wc;var Gc={getSupportInfo:function({plugins:m=[],showUnreleased:D=!1,showDeprecated:y=!1,showInternal:b=!1}={}){let F=Qn.split("-",1)[0],T=m.reduce((q,Y)=>[...q,...Y.languages||[]],[]).filter(P),L=((q,Y)=>Object.entries(q).map(([k,M])=>Object.assign({[Y]:k},M)))(Object.assign({},...m.map(({options:q})=>q),yo),"name").filter(q=>P(q)&&W(q)).sort((q,Y)=>q.name===Y.name?0:q.name<Y.name?-1:1).map(function(q){return b?q:function(Y,k){if(Y==null)return{};var M,G,ae={},Z=Object.keys(Y);for(G=0;G<Z.length;G++)M=Z[G],k.indexOf(M)>=0||(ae[M]=Y[M]);return ae}(q,["cliName","cliCategory","cliDescription"])}).map(q=>{q=Object.assign({},q),Array.isArray(q.default)&&(q.default=q.default.length===1?q.default[0].value:q.default.filter(P).sort((k,M)=>De.compare(M.since,k.since))[0].value),Array.isArray(q.choices)&&(q.choices=q.choices.filter(k=>P(k)&&W(k)),q.name==="parser"&&function(k,M,G){let ae=new Set(k.choices.map(Z=>Z.value));for(let Z of M)if(Z.parsers){for(let J of Z.parsers)if(!ae.has(J)){ae.add(J);let z=G.find(ee=>ee.parsers&&ee.parsers[J]),V=Z.name;z&&z.name&&(V+=" (plugin: ".concat(z.name,")")),k.choices.push({value:J,description:V})}}}(q,T,m));let Y=Wr(m.filter(k=>k.defaultOptions&&k.defaultOptions[q.name]!==void 0).map(k=>[k.name,k.defaultOptions[q.name]]));return Object.assign({},q,{pluginDefaults:Y})});return{languages:T,options:L};function P(q){return D||!("since"in q)||q.since&&De.gte(F,q.since)}function W(q){return y||!("deprecated"in q)||q.deprecated&&De.lt(F,q.deprecated)}}};let{getSupportInfo:Hc}=Gc,zc=/[^\x20-\x7F]/;function _n(m){return(D,y,b)=>{let F=b&&b.backwards;if(y===!1)return!1;let{length:T}=D,L=y;for(;L>=0&&L<T;){let P=D.charAt(L);if(m instanceof RegExp){if(!m.test(P))return L}else if(!m.includes(P))return L;F?L--:L++}return(L===-1||L===T)&&L}}d(_n,"ut");let Eo=_n(/\s/),fn=_n(" "),Ti=_n(",; "),Zn=_n(/[^\n\r]/);function Kr(m,D){if(D===!1)return!1;if(m.charAt(D)==="/"&&m.charAt(D+1)==="*"){for(let y=D+2;y<m.length;++y)if(m.charAt(y)==="*"&&m.charAt(y+1)==="/")return y+2}return D}d(Kr,"ht");function Qr(m,D){return D!==!1&&(m.charAt(D)==="/"&&m.charAt(D+1)==="/"?Zn(m,D):D)}d(Qr,"dt");function Ct(m,D,y){let b=y&&y.backwards;if(D===!1)return!1;let F=m.charAt(D);if(b){if(m.charAt(D-1)==="\r"&&F===`
|
|
26
|
+
`)return D-2;if(F===`
|
|
27
|
+
`||F==="\r"||F==="\u2028"||F==="\u2029")return D-1}else{if(F==="\r"&&m.charAt(D+1)===`
|
|
28
|
+
`)return D+2;if(F===`
|
|
29
|
+
`||F==="\r"||F==="\u2028"||F==="\u2029")return D+1}return D}d(Ct,"mt");function Xc(m,D,y={}){let b=fn(m,y.backwards?D-1:D,y);return b!==Ct(m,b,y)}d(Xc,"ft");function wi(m,D){let y=null,b=D;for(;b!==y;)y=b,b=Ti(m,b),b=Kr(m,b),b=fn(m,b);return b=Qr(m,b),b=Ct(m,b),b!==!1&&Xc(m,b)}d(wi,"gt");function Zr(m,D){let y=null,b=D;for(;b!==y;)y=b,b=fn(m,b),b=Kr(m,b),b=Qr(m,b),b=Ct(m,b);return b}d(Zr,"Et");function bo(m,D,y){return Zr(m,y(D))}d(bo,"Ct");function Ni(m,D,y=0){let b=0;for(let F=y;F<m.length;++F)m[F]===" "?b=b+D-b%D:b++;return b}d(Ni,"Tt");function Bi(m,D){let y=m.slice(1,-1),b={quote:'"',regex:/"/g},F={quote:"'",regex:/'/g},T=D==="'"?F:b,L=T===F?b:F,P=T.quote;return(y.includes(T.quote)||y.includes(L.quote))&&(P=(y.match(T.regex)||[]).length>(y.match(L.regex)||[]).length?L.quote:T.quote),P}d(Bi,"_t");function ki(m,D,y){let b=D==='"'?"'":'"',F=m.replace(/\\([\S\s])|(["'])/g,(T,L,P)=>L===b?L:P===D?"\\"+P:P||(y&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(L)?L:"\\"+L));return D+F+D}d(ki,"St");function eu(m,D){(m.comments||(m.comments=[])).push(D),D.printed=!1,D.nodeDescription=function(y){let b=y.type||y.kind||"(unknown type)",F=String(y.name||y.id&&(typeof y.id=="object"?y.id.name:y.id)||y.key&&(typeof y.key=="object"?y.key.name:y.key)||y.value&&(typeof y.value=="object"?"":String(y.value))||y.operator||"");return F.length>20&&(F=F.slice(0,19)+"\u2026"),b+(F?" "+F:"")}(m)}d(eu,"yt");var tu={inferParserByLanguage:function(m,D){let{languages:y}=Hc({plugins:D.plugins}),b=y.find(({name:F})=>F.toLowerCase()===m)||y.find(({aliases:F})=>Array.isArray(F)&&F.includes(m))||y.find(({extensions:F})=>Array.isArray(F)&&F.includes(".".concat(m)));return b&&b.parsers[0]},replaceEndOfLineWith:function(m,D){let y=[];for(let b of m.split(`
|
|
30
|
+
`))y.length>0&&y.push(D),y.push(b);return y},getStringWidth:function(m){return m?zc.test(m)?fi(m):m.length:0},getMaxContinuousCount:function(m,D){let y=m.match(new RegExp("(".concat(ao(D),")+"),"g"));return y===null?0:y.reduce((b,F)=>Math.max(b,F.length/D.length),0)},getMinNotPresentContinuousCount:function(m,D){let y=m.match(new RegExp("(".concat(ao(D),")+"),"g"));if(y===null)return 0;let b=new Map,F=0;for(let T of y){let L=T.length/D.length;b.set(L,!0),L>F&&(F=L)}for(let T=1;T<F;T++)if(!b.get(T))return T;return F+1},getPenultimate:m=>m[m.length-2],getLast:ci,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Zr,getNextNonSpaceNonCommentCharacterIndex:bo,getNextNonSpaceNonCommentCharacter:function(m,D,y){return m.charAt(bo(m,D,y))},skip:_n,skipWhitespace:Eo,skipSpaces:fn,skipToLineEnd:Ti,skipEverythingButNewLine:Zn,skipInlineComment:Kr,skipTrailingComment:Qr,skipNewline:Ct,isNextLineEmptyAfterIndex:wi,isNextLineEmpty:function(m,D,y){return wi(m,y(D))},isPreviousLineEmpty:function(m,D,y){let b=y(D)-1;return b=fn(m,b,{backwards:!0}),b=Ct(m,b,{backwards:!0}),b=fn(m,b,{backwards:!0}),b!==Ct(m,b,{backwards:!0})},hasNewline:Xc,hasNewlineInRange:function(m,D,y){for(let b=D;b<y;++b)if(m.charAt(b)===`
|
|
31
|
+
`)return!0;return!1},hasSpaces:function(m,D,y={}){return fn(m,y.backwards?D-1:D,y)!==D},getAlignmentSize:Ni,getIndentSize:function(m,D){let y=m.lastIndexOf(`
|
|
32
|
+
`);return y===-1?0:Ni(m.slice(y+1).match(/^[\t ]*/)[0],D)},getPreferredQuote:Bi,printString:function(m,D){return ki(m.slice(1,-1),D.parser==="json"||D.parser==="json5"&&D.quoteProps==="preserve"&&!D.singleQuote?'"':D.__isInHtmlAttribute?"'":Bi(m,D.singleQuote?"'":'"'),!(D.parser==="css"||D.parser==="less"||D.parser==="scss"||D.__embeddedInHtml))},printNumber:function(m){return m.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:ki,addLeadingComment:function(m,D){D.leading=!0,D.trailing=!1,eu(m,D)},addDanglingComment:function(m,D,y){D.leading=!1,D.trailing=!1,y&&(D.marker=y),eu(m,D)},addTrailingComment:function(m,D){D.leading=!1,D.trailing=!0,eu(m,D)},isFrontMatterNode:function(m){return m&&m.type==="front-matter"},getShebang:function(m){if(!m.startsWith("#!"))return"";let D=m.indexOf(`
|
|
33
|
+
`);return D===-1?m:m.slice(0,D)},isNonEmptyArray:function(m){return Array.isArray(m)&&m.length>0},createGroupIdMapper:function(m){let D=new WeakMap;return function(y){return D.has(y)||D.set(y,Symbol(m)),D.get(y)}}},Co={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]};let{inferParserByLanguage:Jc,isFrontMatterNode:_i}=tu,{CSS_DISPLAY_TAGS:Pn,CSS_DISPLAY_DEFAULT:Pi,CSS_WHITE_SPACE_TAGS:nu,CSS_WHITE_SPACE_DEFAULT:ru}={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},$t=vo(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),hn=function(m,D){let y=Object.create(null);for(let[b,F]of Object.entries(m))y[b]=D(F,b);return y}(Co,vo),Yc=new Set([" ",`
|
|
34
|
+
`,"\f","\r"," "]),uu=d(m=>m.replace(/[\t\n\f\r ]+$/,""),"Ot");function vo(m){let D=Object.create(null);for(let y of m)D[y]=!0;return D}d(vo,"Lt");function Ao(m,D){return!(m.type!=="ieConditionalComment"||!m.lastChild||m.lastChild.isSelfClosing||m.lastChild.endSourceSpan)||m.type==="ieConditionalComment"&&!m.complete||!(!mn(m)||!m.children.some(y=>y.type!=="text"&&y.type!=="interpolation"))||!(!lu(m,D)||Dn(m)||m.type==="interpolation")}d(Ao,"Bt");function iu(m){return m.type==="attribute"||!m.parent||typeof m.index!="number"||m.index===0?!1:function(D){return D.type==="comment"&&D.value.trim()==="prettier-ignore"}(m.parent.children[m.index-1])}d(iu,"qt");function Dn(m){return m.type==="element"&&(m.fullName==="script"||m.fullName==="style"||m.fullName==="svg:style"||er(m)&&(m.name==="script"||m.name==="style"))}d(Dn,"$t");function Fo(m){return su(m).startsWith("pre")}d(Fo,"Mt");function On(m){return m.type==="element"&&m.children.length>0&&(["html","head","ul","ol","select"].includes(m.name)||m.cssDisplay.startsWith("table")&&m.cssDisplay!=="table-cell")}d(On,"Ut");function So(m){return au(m)||m.type==="element"&&m.fullName==="br"||Kt(m)}d(So,"Vt");function Kt(m){return Oi(m)&&Ii(m)}d(Kt,"Gt");function Oi(m){return m.hasLeadingSpaces&&(m.prev?m.prev.sourceSpan.end.line<m.sourceSpan.start.line:m.parent.type==="root"||m.parent.startSourceSpan.end.line<m.sourceSpan.start.line)}d(Oi,"jt");function Ii(m){return m.hasTrailingSpaces&&(m.next?m.next.sourceSpan.start.line>m.sourceSpan.end.line:m.parent.type==="root"||m.parent.endSourceSpan&&m.parent.endSourceSpan.start.line>m.sourceSpan.end.line)}d(Ii,"Xt");function au(m){switch(m.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(m.name)}return!1}d(au,"Ht");function ou(m){let{type:D,lang:y}=m.attrMap;return D==="module"||D==="text/javascript"||D==="text/babel"||D==="application/javascript"||y==="jsx"?"babel":D==="application/x-typescript"||y==="ts"||y==="tsx"?"typescript":D==="text/markdown"?"markdown":D==="text/html"?"html":D&&(D.endsWith("json")||D.endsWith("importmap"))?"json":D==="text/x-handlebars-template"?"glimmer":void 0}d(ou,"zt");function vt(m){return m==="block"||m==="list-item"||m.startsWith("table")}d(vt,"Wt");function mn(m){return su(m).startsWith("pre")}d(mn,"Yt");function er(m){return m.type==="element"&&!m.hasExplicitNamespace&&!["html","svg"].includes(m.namespace)}d(er,"Qt");function su(m){return m.type==="element"&&(!m.namespace||er(m))&&nu[m.name]||ru}d(su,"Jt");let xo=new Set(["template","style","script"]);function tr(m,D){return cu(m,D)&&!xo.has(m.fullName)}d(tr,"Kt");function cu(m,D){return D.parser==="vue"&&m.type==="element"&&m.parent.type==="root"&&m.fullName.toLowerCase()!=="html"}d(cu,"er");function lu(m,D){return cu(m,D)&&(tr(m,D)||m.attrMap.lang&&m.attrMap.lang!=="html")}d(lu,"tr");var Li={HTML_ELEMENT_ATTRIBUTES:hn,HTML_TAGS:$t,htmlTrim:m=>(D=>D.replace(/^[\t\n\f\r ]+/,""))(uu(m)),htmlTrimPreserveIndentation:m=>(D=>D.replace(/^[\t\f\r ]*?\n/g,""))(uu(m)),splitByHtmlWhitespace:m=>m.split(/[\t\n\f\r ]+/),hasHtmlWhitespace:m=>/[\t\n\f\r ]/.test(m),getLeadingAndTrailingHtmlWhitespace:m=>{let[,D,y,b]=m.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/);return{leadingWhitespace:D,trailingWhitespace:b,text:y}},canHaveInterpolation:function(m){return m.children&&!Dn(m)},countChars:function(m,D){let y=0;for(let b=0;b<m.length;b++)m[b]===D&&y++;return y},countParents:function(m,D){let y=0;for(let b=m.stack.length-1;b>=0;b--){let F=m.stack[b];F&&typeof F=="object"&&!Array.isArray(F)&&D(F)&&y++}return y},dedentString:function(m,D=function(y){let b=Number.POSITIVE_INFINITY;for(let T of y.split(`
|
|
35
|
+
`)){if(T.length===0)continue;if(!Yc.has(T[0]))return 0;let L=(F=T,F.match(/^[\t\n\f\r ]*/)[0]).length;T.length!==L&&L<b&&(b=L)}var F;return b===Number.POSITIVE_INFINITY?0:b}(m)){return D===0?m:m.split(`
|
|
36
|
+
`).map(y=>y.slice(D)).join(`
|
|
37
|
+
`)},forceBreakChildren:On,forceBreakContent:function(m){return On(m)||m.type==="element"&&m.children.length>0&&(["body","script","style"].includes(m.name)||m.children.some(D=>function(y){return y.children&&y.children.some(b=>b.type!=="text")}(D)))||m.firstChild&&m.firstChild===m.lastChild&&m.firstChild.type!=="text"&&Oi(m.firstChild)&&(!m.lastChild.isTrailingSpaceSensitive||Ii(m.lastChild))},forceNextEmptyLine:function(m){return _i(m)||m.next&&m.sourceSpan.end&&m.sourceSpan.end.line+1<m.next.sourceSpan.start.line},getLastDescendant:d(function m(D){return D.lastChild?m(D.lastChild):D},"e"),getNodeCssStyleDisplay:function(m,D){if(m.prev&&m.prev.type==="comment"){let b=m.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(b)return b[1]}let y=!1;if(m.type==="element"&&m.namespace==="svg"){if(!function(b,F){let T=b;for(;T;){if(F(T))return!0;T=T.parent}return!1}(m,b=>b.fullName==="svg:foreignObject"))return m.name==="svg"?"inline-block":"block";y=!0}switch(D.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return D.parser==="vue"&&m.parent&&m.parent.type==="root"?"block":m.type==="element"&&(!m.namespace||y||er(m))&&Pn[m.name]||Pi}},getNodeCssStyleWhiteSpace:su,getPrettierIgnoreAttributeCommentData:function(m){let D=m.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!D&&(!D[1]||D[1].split(/\s+/))},hasPrettierIgnore:iu,inferScriptParser:function(m,D){return m.name!=="script"||m.attrMap.src?m.name==="style"?function(y){let{lang:b}=y.attrMap;return b&&b!=="postcss"&&b!=="css"?b==="scss"?"scss":b==="less"?"less":void 0:"css"}(m):D&&lu(m,D)?ou(m)||!("src"in m.attrMap)&&Jc(m.attrMap.lang,D):void 0:m.attrMap.lang||m.attrMap.type?ou(m):"babel"},isVueCustomBlock:tr,isVueNonHtmlBlock:lu,isVueSlotAttribute:function(m){let D=m.fullName;return D.charAt(0)==="#"||D==="slot-scope"||D==="v-slot"||D.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(m,D){let y=m.parent;if(!cu(y,D))return!1;let b=y.fullName,F=m.fullName;return b==="script"&&F==="setup"||b==="style"&&F==="vars"},isDanglingSpaceSensitiveNode:function(m){return D=m.cssDisplay,!(vt(D)||D==="inline-block"||Dn(m));var D},isIndentationSensitiveNode:Fo,isLeadingSpaceSensitiveNode:function(m,D){let y=function(){if(_i(m))return!1;if((m.type==="text"||m.type==="interpolation")&&m.prev&&(m.prev.type==="text"||m.prev.type==="interpolation"))return!0;if(!m.parent||m.parent.cssDisplay==="none")return!1;if(mn(m.parent))return!0;if(!m.prev&&(m.parent.type==="root"||mn(m)&&m.parent||Dn(m.parent)||tr(m.parent,D)||(b=m.parent.cssDisplay,vt(b)||b==="inline-block")))return!1;var b;return!(m.prev&&!function(F){return!vt(F)}(m.prev.cssDisplay))}();return y&&!m.prev&&m.parent&&m.parent.tagDefinition&&m.parent.tagDefinition.ignoreFirstLf?m.type==="interpolation":y},isPreLikeNode:mn,isScriptLikeTag:Dn,isTextLikeNode:function(m){return m.type==="text"||m.type==="comment"},isTrailingSpaceSensitiveNode:function(m,D){return!_i(m)&&(!(m.type!=="text"&&m.type!=="interpolation"||!m.next||m.next.type!=="text"&&m.next.type!=="interpolation")||!(!m.parent||m.parent.cssDisplay==="none")&&(!!mn(m.parent)||!(!m.next&&(m.parent.type==="root"||mn(m)&&m.parent||Dn(m.parent)||tr(m.parent,D)||(y=m.parent.cssDisplay,vt(y)||y==="inline-block")))&&!(m.next&&!function(b){return!vt(b)}(m.next.cssDisplay))));var y},isWhitespaceSensitiveNode:function(m){return Dn(m)||m.type==="interpolation"||Fo(m)},isUnknownNamespace:er,preferHardlineAsLeadingSpaces:function(m){return au(m)||m.prev&&So(m.prev)||Kt(m)},preferHardlineAsTrailingSpaces:So,shouldNotPrintClosingTag:function(m,D){return!m.isSelfClosing&&!m.endSourceSpan&&(iu(m)||Ao(m.parent,D))},shouldPreserveContent:Ao,unescapeQuoteEntities:function(m){return m.replace(/'/g,"'").replace(/"/g,'"')}},ue={hasPragma:function(m){return/^\s*<!--\s*@(format|prettier)\s*-->/.test(m)},insertPragma:function(m){return`<!-- @format -->
|
|
38
|
+
|
|
39
|
+
`+m.replace(/^\s*\n/,"")}};let{isNonEmptyArray:pu}=tu,ji={attrs:!0,children:!0},In=d(class za{constructor(D={}){for(let[y,b]of Object.entries(D))y in ji?this._setNodes(y,b):this[y]=b}_setNodes(D,y){y!==this[D]&&(this[D]=function(b,F){let T=b.map(q=>q instanceof za?q.clone():new za(q)),L=null,P=T[0],W=T[1]||null;for(let q=0;q<T.length;q++)du(P,{index:q,siblings:T,prev:L,next:W,parent:F}),L=P,P=W,W=T[q+2]||null;return T}(y,this),D==="attrs"&&du(this,{attrMap:Wr(this[D].map(b=>[b.fullName,b.value]))}))}map(D){let y=null;for(let b in ji){let F=this[b];if(F){let T=Ln(F,L=>L.map(D));y!==F&&(y||(y=new za),y._setNodes(b,T))}}if(y){for(let W in this)W in ji||(y[W]=this[W]);let{index:b,siblings:F,prev:T,next:L,parent:P}=this;du(y,{index:b,siblings:F,prev:T,next:L,parent:P})}return D(y||this)}clone(D){return new za(D?Object.assign({},this,D):this)}get firstChild(){return pu(this.children)?this.children[0]:null}get lastChild(){return pu(this.children)?ci(this.children):null}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}},"or");function Ln(m,D){let y=m.map(D);return y.some((b,F)=>b!==m[F])?y:m}d(Ln,"ar");function du(m,D){let y=Wr(Object.entries(D).map(([b,F])=>[b,{value:F,enumerable:!1}]));Object.defineProperties(m,y)}d(du,"ur");var Ri={Node:In};let{ParseSourceSpan:gn}=Ee,To=[{regex:/^(\[if([^\]]*?)]>)(.*?)<!\s*\[endif]$/s,parse:function(m,D,y){let[,b,F,T]=y,L=4+b.length,P=m.sourceSpan.start.moveBy(L),W=P.moveBy(T.length),[q,Y]=(()=>{try{return[!0,D(T,P).children]}catch{return[!1,[{type:"text",value:T,sourceSpan:new gn(P,W)}]]}})();return{type:"ieConditionalComment",complete:q,children:Y,condition:F.trim().replace(/\s+/g," "),sourceSpan:m.sourceSpan,startSourceSpan:new gn(m.sourceSpan.start,P),endSourceSpan:new gn(W,m.sourceSpan.end)}}},{regex:/^\[if([^\]]*?)]><!$/,parse:function(m,D,y){let[,b]=y;return{type:"ieConditionalStartComment",condition:b.trim().replace(/\s+/g," "),sourceSpan:m.sourceSpan}}},{regex:/^<!\s*\[endif]$/,parse:function(m){return{type:"ieConditionalEndComment",sourceSpan:m.sourceSpan}}}];var Kc={parseIeConditionalComment:function(m,D){if(m.value)for(let{regex:y,parse:b}of To){let F=m.value.match(y);if(F)return b(m,D,F)}return null}},wo={locStart:function(m){return m.sourceSpan.start.offset},locEnd:function(m){return m.sourceSpan.end.offset}},ke=me(function(m,D){function y(b){if(b[0]!=":")return[null,b];let F=b.indexOf(":",1);if(F==-1)throw new Error('Unsupported format "'.concat(b,'" expecting ":namespace:name"'));return[b.slice(1,F),b.slice(F+1)]}d(y,"r");Object.defineProperty(D,"__esModule",{value:!0}),function(b){b[b.RAW_TEXT=0]="RAW_TEXT",b[b.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",b[b.PARSABLE_DATA=2]="PARSABLE_DATA"}(D.TagContentType||(D.TagContentType={})),D.splitNsName=y,D.isNgContainer=function(b){return y(b)[1]==="ng-container"},D.isNgContent=function(b){return y(b)[1]==="ng-content"},D.isNgTemplate=function(b){return y(b)[1]==="ng-template"},D.getNsPrefix=function(b){return b===null?null:y(b)[0]},D.mergeNsAndName=function(b,F){return b?":".concat(b,":").concat(F):F},D.NAMED_ENTITIES={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",AMP:"&",amp:"&",And:"\u2A53",and:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",ap:"\u2248",apacir:"\u2A6F",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250C",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252C",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxUL:"\u255D",boxUl:"\u255C",boxuL:"\u255B",boxul:"\u2518",boxUR:"\u255A",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256C",boxVh:"\u256B",boxvH:"\u256A",boxvh:"\u253C",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255F",boxvR:"\u255E",boxvr:"\u251C",bprime:"\u2035",Breve:"\u02D8",breve:"\u02D8",brvbar:"\xA6",Bscr:"\u212C",bscr:"\u{1D4B7}",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22D2",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",CenterDot:"\xB7",centerdot:"\xB7",Cfr:"\u212D",cfr:"\u{1D520}",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",cir:"\u25CB",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",Colon:"\u2237",colon:":",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",Conint:"\u222F",conint:"\u222E",ContourIntegral:"\u222E",Copf:"\u2102",copf:"\u{1D554}",coprod:"\u2210",Coproduct:"\u2210",COPY:"\xA9",copy:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",Cross:"\u2A2F",cross:"\u2717",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",Cup:"\u22D3",cup:"\u222A",cupbrcap:"\u2A48",CupCap:"\u224D",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",Dagger:"\u2021",dagger:"\u2020",daleth:"\u2138",Darr:"\u21A1",dArr:"\u21D3",darr:"\u2193",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",DD:"\u2145",dd:"\u2146",ddagger:"\u2021",ddarr:"\u21CA",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",Diamond:"\u22C4",diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrow:"\u2193",Downarrow:"\u21D3",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",DownTeeArrow:"\u21A7",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",ecir:"\u2256",Ecirc:"\xCA",ecirc:"\xEA",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",eDot:"\u2251",edot:"\u0117",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",Escr:"\u2130",escr:"\u212F",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",ExponentialE:"\u2147",exponentiale:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",ForAll:"\u2200",forall:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",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",frasl:"\u2044",frown:"\u2322",Fscr:"\u2131",fscr:"\u{1D4BB}",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",gE:"\u2267",ge:"\u2265",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",ges:"\u2A7E",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",Gg:"\u22D9",gg:"\u226B",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gl:"\u2277",gla:"\u2AA5",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gnE:"\u2269",gne:"\u2A88",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",GT:">",Gt:"\u226B",gt:">",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",hArr:"\u21D4",harr:"\u2194",harrcir:"\u2948",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",Hfr:"\u210C",hfr:"\u{1D525}",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",Hopf:"\u210D",hopf:"\u{1D559}",horbar:"\u2015",HorizontalLine:"\u2500",Hscr:"\u210B",hscr:"\u{1D4BD}",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",Ifr:"\u2111",ifr:"\u{1D526}",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Im:"\u2111",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",in:"\u2208",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",Int:"\u222C",int:"\u222B",intcal:"\u22BA",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",Iscr:"\u2110",iscr:"\u{1D4BE}",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",Lang:"\u27EA",lang:"\u27E8",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",Larr:"\u219E",lArr:"\u21D0",larr:"\u2190",larrb:"\u21E4",larrbfs:"\u291F",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",lat:"\u2AAB",lAtail:"\u291B",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lBarr:"\u290E",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",lE:"\u2266",le:"\u2264",LeftAngleBracket:"\u27E8",LeftArrow:"\u2190",Leftarrow:"\u21D0",leftarrow:"\u2190",LeftArrowBar:"\u21E4",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrow:"\u2194",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTee:"\u22A3",LeftTeeArrow:"\u21A4",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangle:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",LeftVectorBar:"\u2952",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",les:"\u2A7D",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",Ll:"\u22D8",ll:"\u226A",llarr:"\u21C7",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lnE:"\u2268",lne:"\u2A87",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftarrow:"\u27F5",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longleftrightarrow:"\u27F7",longmapsto:"\u27FC",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",longrightarrow:"\u27F6",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",Lscr:"\u2112",lscr:"\u{1D4C1}",Lsh:"\u21B0",lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",LT:"<",Lt:"\u226A",lt:"<",ltcc:"\u2AA6",ltcir:"\u2A79",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",mid:"\u2223",midast:"*",midcir:"\u2AF0",middot:"\xB7",minus:"\u2212",minusb:"\u229F",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",Mscr:"\u2133",mscr:"\u{1D4C2}",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266E",natural:"\u266E",naturals:"\u2115",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",neArr:"\u21D7",nearr:"\u2197",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
40
|
+
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlArr:"\u21CD",nlarr:"\u219A",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21CD",nleftarrow:"\u219A",nLeftrightarrow:"\u21CE",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",nopf:"\u{1D55F}",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nRightarrow:"\u21CF",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nVDash:"\u22AF",nVdash:"\u22AE",nvDash:"\u22AD",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwArr:"\u21D6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",Ocirc:"\xD4",ocirc:"\xF4",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",Or:"\u2A54",or:"\u2228",orarr:"\u21BB",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",Otimes:"\u2A37",otimes:"\u2297",otimesas:"\u2A36",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",par:"\u2225",para:"\xB6",parallel:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plus:"+",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",Popf:"\u2119",popf:"\u{1D561}",pound:"\xA3",Pr:"\u2ABB",pr:"\u227A",prap:"\u2AB7",prcue:"\u227C",prE:"\u2AB3",pre:"\u2AAF",prec:"\u227A",precapprox:"\u2AB7",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",precsim:"\u227E",Prime:"\u2033",prime:"\u2032",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportion:"\u2237",Proportional:"\u221D",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",Qopf:"\u211A",qopf:"\u{1D562}",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",QUOT:'"',quot:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",Rang:"\u27EB",rang:"\u27E9",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",Rarr:"\u21A0",rArr:"\u21D2",rarr:"\u2192",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",rAtail:"\u291C",ratail:"\u291A",ratio:"\u2236",rationals:"\u211A",RBarr:"\u2910",rBarr:"\u290F",rbarr:"\u290D",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",Re:"\u211C",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",rect:"\u25AD",REG:"\xAE",reg:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",Rfr:"\u211C",rfr:"\u{1D52F}",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrow:"\u2192",Rightarrow:"\u21D2",rightarrow:"\u2192",RightArrowBar:"\u21E5",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTee:"\u22A2",RightTeeArrow:"\u21A6",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangle:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",RightVectorBar:"\u2953",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",Ropf:"\u211D",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",Rscr:"\u211B",rscr:"\u{1D4C7}",Rsh:"\u21B1",rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",Sc:"\u2ABC",sc:"\u227B",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",sccue:"\u227D",scE:"\u2AB4",sce:"\u2AB0",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdot:"\u22C5",sdotb:"\u22A1",sdote:"\u2A66",searhk:"\u2925",seArr:"\u21D8",searr:"\u2198",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25A1",Square:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",Sub:"\u22D0",sub:"\u2282",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",Subset:"\u22D0",subset:"\u2282",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succ:"\u227B",succapprox:"\u2AB8",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",Sum:"\u2211",sum:"\u2211",sung:"\u266A",Sup:"\u22D1",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",Supset:"\u22D1",supset:"\u2283",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swArr:"\u21D9",swarr:"\u2199",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",Therefore:"\u2234",therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",Tilde:"\u223C",tilde:"\u02DC",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xD7",timesb:"\u22A0",timesbar:"\u2A31",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",top:"\u22A4",topbot:"\u2336",topcir:"\u2AF1",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",TRADE:"\u2122",trade:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",Uarr:"\u219F",uArr:"\u21D1",uarr:"\u2191",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrow:"\u2191",Uparrow:"\u21D1",uparrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",UpDownArrow:"\u2195",Updownarrow:"\u21D5",updownarrow:"\u2195",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",Upsi:"\u03D2",upsi:"\u03C5",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTee:"\u22A5",UpTeeArrow:"\u21A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",vArr:"\u21D5",varr:"\u2195",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",Vbar:"\u2AEB",vBar:"\u2AE8",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",VDash:"\u22AB",Vdash:"\u22A9",vDash:"\u22A8",vdash:"\u22A2",Vdashl:"\u2AE6",Vee:"\u22C1",vee:"\u2228",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",Verbar:"\u2016",verbar:"|",Vert:"\u2016",vert:"|",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",Wedge:"\u22C0",wedge:"\u2227",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xhArr:"\u27FA",xharr:"\u27F7",Xi:"\u039E",xi:"\u03BE",xlArr:"\u27F8",xlarr:"\u27F5",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrArr:"\u27F9",xrarr:"\u27F6",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",Yuml:"\u0178",yuml:"\xFF",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",Zfr:"\u2128",zfr:"\u{1D537}",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",Zopf:"\u2124",zopf:"\u{1D56B}",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"},D.NGSP_UNICODE="\uE500",D.NAMED_ENTITIES.ngsp=D.NGSP_UNICODE});let oe=d(class{constructor({closedByChildren:D,implicitNamespacePrefix:y,contentType:b=ke.TagContentType.PARSABLE_DATA,closedByParent:F=!1,isVoid:T=!1,ignoreFirstLf:L=!1}={}){this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,D&&D.length>0&&D.forEach(P=>this.closedByChildren[P]=!0),this.isVoid=T,this.closedByParent=F||T,this.implicitNamespacePrefix=y||null,this.contentType=b,this.ignoreFirstLf=L}isClosedByChild(D){return this.isVoid||D.toLowerCase()in this.closedByChildren}},"mr");var nr=oe;let Mi,rr;var qi=d(function(m){return rr||(Mi=new oe,rr={base:new oe({isVoid:!0}),meta:new oe({isVoid:!0}),area:new oe({isVoid:!0}),embed:new oe({isVoid:!0}),link:new oe({isVoid:!0}),img:new oe({isVoid:!0}),input:new oe({isVoid:!0}),param:new oe({isVoid:!0}),hr:new oe({isVoid:!0}),br:new oe({isVoid:!0}),source:new oe({isVoid:!0}),track:new oe({isVoid:!0}),wbr:new oe({isVoid:!0}),p:new oe({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new oe({closedByChildren:["tbody","tfoot"]}),tbody:new oe({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new oe({closedByChildren:["tbody"],closedByParent:!0}),tr:new oe({closedByChildren:["tr"],closedByParent:!0}),td:new oe({closedByChildren:["td","th"],closedByParent:!0}),th:new oe({closedByChildren:["td","th"],closedByParent:!0}),col:new oe({isVoid:!0}),svg:new oe({implicitNamespacePrefix:"svg"}),math:new oe({implicitNamespacePrefix:"math"}),li:new oe({closedByChildren:["li"],closedByParent:!0}),dt:new oe({closedByChildren:["dt","dd"]}),dd:new oe({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new oe({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new oe({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new oe({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new oe({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new oe({closedByChildren:["optgroup"],closedByParent:!0}),option:new oe({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new oe({ignoreFirstLf:!0}),listing:new oe({ignoreFirstLf:!0}),style:new oe({contentType:ke.TagContentType.RAW_TEXT}),script:new oe({contentType:ke.TagContentType.RAW_TEXT}),title:new oe({contentType:ke.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new oe({contentType:ke.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),rr[m]||Mi},"Cr"),$i=Object.defineProperty({HtmlTagDefinition:nr,getHtmlTagDefinition:qi},"__esModule",{value:!0}),Qt=d(class{constructor(m,D=-1){this.path=m,this.position=D}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(m){return m&&this.path[this.path.indexOf(m)-1]}childOf(m){return this.path[this.path.indexOf(m)+1]}first(m){for(let D=this.path.length-1;D>=0;D--){let y=this.path[D];if(y instanceof m)return y}}push(m){this.path.push(m)}pop(){return this.path.pop()}},"_r"),Qc=Object.defineProperty({AstPath:Qt},"__esModule",{value:!0}),Zc=d(class{constructor(m,D,y){this.value=m,this.sourceSpan=D,this.i18n=y,this.type="text"}visit(m,D){return m.visitText(this,D)}},"yr"),Vi=d(class{constructor(m,D){this.value=m,this.sourceSpan=D,this.type="cdata"}visit(m,D){return m.visitCdata(this,D)}},"Fr"),fu=d(class{constructor(m,D,y,b,F,T){this.switchValue=m,this.type=D,this.cases=y,this.sourceSpan=b,this.switchValueSourceSpan=F,this.i18n=T}visit(m,D){return m.visitExpansion(this,D)}},"vr"),No=d(class{constructor(m,D,y,b,F){this.value=m,this.expression=D,this.sourceSpan=y,this.valueSourceSpan=b,this.expSourceSpan=F}visit(m,D){return m.visitExpansionCase(this,D)}},"Ar"),Bo=d(class{constructor(m,D,y,b=null,F=null,T=null){this.name=m,this.value=D,this.sourceSpan=y,this.valueSpan=b,this.nameSpan=F,this.i18n=T,this.type="attribute"}visit(m,D){return m.visitAttribute(this,D)}},"br");let jn=d(class{constructor(D,y,b,F,T=null,L=null,P=null,W=null){this.name=D,this.attrs=y,this.children=b,this.sourceSpan=F,this.startSourceSpan=T,this.endSourceSpan=L,this.nameSpan=P,this.i18n=W,this.type="element"}visit(D,y){return D.visitElement(this,y)}},"wr");var ko=jn,_o=d(class{constructor(m,D){this.value=m,this.sourceSpan=D,this.type="comment"}visit(m,D){return m.visitComment(this,D)}},"kr"),Ui=d(class{constructor(m,D){this.value=m,this.sourceSpan=D,this.type="docType"}visit(m,D){return m.visitDocType(this,D)}},"xr");function ur(m,D,y=null){let b=[],F=m.visit?T=>m.visit(T,y)||T.visit(m,y):T=>T.visit(m,y);return D.forEach(T=>{let L=F(T);L&&b.push(L)}),b}d(ur,"Ir");var hu=ur;let Po=d(class{constructor(){}visitElement(D,y){this.visitChildren(y,b=>{b(D.attrs),b(D.children)})}visitAttribute(D,y){}visitText(D,y){}visitCdata(D,y){}visitComment(D,y){}visitDocType(D,y){}visitExpansion(D,y){return this.visitChildren(y,b=>{b(D.cases)})}visitExpansionCase(D,y){}visitChildren(D,y){let b=[],F=this;return y(function(T){T&&b.push(ur(F,T,D))}),Array.prototype.concat.apply([],b)}},"Rr");var Wi=Po;function Gi(m){let D=m.sourceSpan.start.offset,y=m.sourceSpan.end.offset;return m instanceof jn&&(m.endSourceSpan?y=m.endSourceSpan.end.offset:m.children&&m.children.length&&(y=Gi(m.children[m.children.length-1]).end)),{start:D,end:y}}d(Gi,"Lr");var Vt=d(function(m,D){let y=[];return ur(new class extends Po{visit(b,F){let T=Gi(b);if(!(T.start<=D&&D<T.end))return!0;y.push(b)}},m),new Qc.AstPath(y,D)},"Br"),Q=Object.defineProperty({Text:Zc,CDATA:Vi,Expansion:fu,ExpansionCase:No,Attribute:Bo,Element:ko,Comment:_o,DocType:Ui,visitAll:hu,RecursiveVisitor:Wi,findNode:Vt},"__esModule",{value:!0}),el=d(function(m,D){if(D!=null){if(!Array.isArray(D))throw new Error("Expected '".concat(m,"' to be an array of strings."));for(let y=0;y<D.length;y+=1)if(typeof D[y]!="string")throw new Error("Expected '".concat(m,"' to be an array of strings."))}},"$r");let Oo=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];var tl=d(function(m,D){if(!(D==null||Array.isArray(D)&&D.length==2))throw new Error("Expected '".concat(m,"' to be an array, [start, end]."));if(D!=null){let y=D[0],b=D[1];Oo.forEach(F=>{if(F.test(y)||F.test(b))throw new Error("['".concat(y,"', '").concat(b,"'] contains unusable interpolation symbol."))})}},"Ur"),Hi=Object.defineProperty({assertArrayOfStrings:el,assertInterpolationSymbols:tl},"__esModule",{value:!0}),Du=me(function(m,D){Object.defineProperty(D,"__esModule",{value:!0});let y=d(class xE{constructor(F,T){this.start=F,this.end=T}static fromArray(F){return F?(Hi.assertInterpolationSymbols("interpolation",F),new xE(F[0],F[1])):D.DEFAULT_INTERPOLATION_CONFIG}},"r");D.InterpolationConfig=y,D.DEFAULT_INTERPOLATION_CONFIG=new y("{{","}}")}),se=me(function(m,D){Object.defineProperty(D,"__esModule",{value:!0});let y=zn;var b;(function(I){I[I.TAG_OPEN_START=0]="TAG_OPEN_START",I[I.TAG_OPEN_END=1]="TAG_OPEN_END",I[I.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",I[I.TAG_CLOSE=3]="TAG_CLOSE",I[I.TEXT=4]="TEXT",I[I.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",I[I.RAW_TEXT=6]="RAW_TEXT",I[I.COMMENT_START=7]="COMMENT_START",I[I.COMMENT_END=8]="COMMENT_END",I[I.CDATA_START=9]="CDATA_START",I[I.CDATA_END=10]="CDATA_END",I[I.ATTR_NAME=11]="ATTR_NAME",I[I.ATTR_QUOTE=12]="ATTR_QUOTE",I[I.ATTR_VALUE=13]="ATTR_VALUE",I[I.DOC_TYPE_START=14]="DOC_TYPE_START",I[I.DOC_TYPE_END=15]="DOC_TYPE_END",I[I.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",I[I.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",I[I.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",I[I.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",I[I.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",I[I.EOF=21]="EOF"})(b=D.TokenType||(D.TokenType={}));let F=d(class{constructor(x,N,R){this.type=x,this.parts=N,this.sourceSpan=R}},"i");D.Token=F;let T=d(class extends Ee.ParseError{constructor(x,N,R){super(R,x),this.tokenType=N}},"o");D.TokenError=T;let L=d(class{constructor(x,N){this.tokens=x,this.errors=N}},"a");D.TokenizeResult=L,D.tokenize=function(I,x,N,R={}){return new k(new Ee.ParseSourceFile(I,x),N,R).tokenize()};let P=/\r\n?/g;function W(I){let x=I===y.$EOF?"EOF":String.fromCharCode(I);return'Unexpected character "'.concat(x,'"')}d(W,"c");function q(I){return'Unknown entity "'.concat(I,'" - use the "&#<decimal>;" or "&#x<hex>;" syntax')}d(q,"l4");let Y=d(class{constructor(x){this.error=x}},"D"),k=d(class{constructor(x,N,R){this._getTagContentType=N,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=R.tokenizeExpansionForms||!1,this._interpolationConfig=R.interpolationConfig||Du.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=R.leadingTriviaChars&&R.leadingTriviaChars.map(fe=>fe.codePointAt(0)||0),this._canSelfClose=R.canSelfClose||!1,this._allowHtmComponentClosingTags=R.allowHtmComponentClosingTags||!1;let ne=R.range||{endPos:x.content.length,startPos:0,startLine:0,startCol:0};this._cursor=R.escapedString?new V(x,ne):new z(x,ne);try{this._cursor.init()}catch(fe){this.handleError(fe)}}_processCarriageReturns(x){return x.replace(P,`
|
|
41
|
+
`)}tokenize(){for(;this._cursor.peek()!==y.$EOF;){let x=this._cursor.clone();try{if(this._attemptCharCode(y.$LT))if(this._attemptCharCode(y.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(x):this._attemptStr("--")?this._consumeComment(x):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(x):this._consumeBogusComment(x);else if(this._attemptCharCode(y.$SLASH))this._consumeTagClose(x);else{let N=this._cursor.clone();this._attemptCharCode(y.$QUESTION)?(this._cursor=N,this._consumeBogusComment(x)):this._consumeTagOpen(x)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(N){this.handleError(N)}}return this._beginToken(b.EOF),this._endToken([]),new L(function(x){let N=[],R;for(let ne=0;ne<x.length;ne++){let fe=x[ne];R&&R.type==b.TEXT&&fe.type==b.TEXT?(R.parts[0]+=fe.parts[0],R.sourceSpan.end=fe.sourceSpan.end):(R=fe,N.push(R))}return N}(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(((x=this._cursor.peek())===y.$EQ||y.isAsciiLetter(x)||y.isDigit(x))&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;var x;if(this._cursor.peek()===y.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(x,N=this._cursor.clone()){this._currentTokenStart=N,this._currentTokenType=x}_endToken(x,N=this._cursor.clone()){if(this._currentTokenStart===null)throw new T("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(N));if(this._currentTokenType===null)throw new T("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let R=new F(this._currentTokenType,x,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(R),this._currentTokenStart=null,this._currentTokenType=null,R}_createError(x,N){this._isInExpansionForm()&&(x+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let R=new T(x,this._currentTokenType,N);return this._currentTokenStart=null,this._currentTokenType=null,new Y(R)}handleError(x){if(x instanceof ee&&(x=this._createError(x.msg,this._cursor.getSpan(x.cursor))),!(x instanceof Y))throw x;this.errors.push(x.error)}_attemptCharCode(x){return this._cursor.peek()===x&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(x){return N=this._cursor.peek(),R=x,J(N)==J(R)&&(this._cursor.advance(),!0);var N,R}_requireCharCode(x){let N=this._cursor.clone();if(!this._attemptCharCode(x))throw this._createError(W(this._cursor.peek()),this._cursor.getSpan(N))}_attemptStr(x){let N=x.length;if(this._cursor.charsLeft()<N)return!1;let R=this._cursor.clone();for(let ne=0;ne<N;ne++)if(!this._attemptCharCode(x.charCodeAt(ne)))return this._cursor=R,!1;return!0}_attemptStrCaseInsensitive(x){for(let N=0;N<x.length;N++)if(!this._attemptCharCodeCaseInsensitive(x.charCodeAt(N)))return!1;return!0}_requireStr(x){let N=this._cursor.clone();if(!this._attemptStr(x))throw this._createError(W(this._cursor.peek()),this._cursor.getSpan(N))}_requireStrCaseInsensitive(x){let N=this._cursor.clone();if(!this._attemptStrCaseInsensitive(x))throw this._createError(W(this._cursor.peek()),this._cursor.getSpan(N))}_attemptCharCodeUntilFn(x){for(;!x(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(x,N){let R=this._cursor.clone();if(this._attemptCharCodeUntilFn(x),this._cursor.clone().diff(R)<N)throw this._createError(W(this._cursor.peek()),this._cursor.getSpan(R))}_attemptUntilChar(x){for(;this._cursor.peek()!==x;)this._cursor.advance()}_readChar(x){if(x&&this._cursor.peek()===y.$AMPERSAND)return this._decodeEntity();{let N=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),N}}_decodeEntity(){let x=this._cursor.clone();if(this._cursor.advance(),!this._attemptCharCode(y.$HASH)){let N=this._cursor.clone();if(this._attemptCharCodeUntilFn(Z),this._cursor.peek()!=y.$SEMICOLON)return this._cursor=N,"&";let R=this._cursor.getChars(N);this._cursor.advance();let ne=ke.NAMED_ENTITIES[R];if(!ne)throw this._createError(q(R),this._cursor.getSpan(x));return ne}{let N=this._attemptCharCode(y.$x)||this._attemptCharCode(y.$X),R=this._cursor.clone();if(this._attemptCharCodeUntilFn(ae),this._cursor.peek()!=y.$SEMICOLON)throw this._createError(W(this._cursor.peek()),this._cursor.getSpan());let ne=this._cursor.getChars(R);this._cursor.advance();try{let fe=parseInt(ne,N?16:10);return String.fromCharCode(fe)}catch{throw this._createError(q(this._cursor.getChars(x)),this._cursor.getSpan())}}}_consumeRawText(x,N){this._beginToken(x?b.ESCAPABLE_RAW_TEXT:b.RAW_TEXT);let R=[];for(;;){let ne=this._cursor.clone(),fe=N();if(this._cursor=ne,fe)break;R.push(this._readChar(x))}return this._endToken([this._processCarriageReturns(R.join(""))])}_consumeComment(x){this._beginToken(b.COMMENT_START,x),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(b.COMMENT_END),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(x){this._beginToken(b.COMMENT_START,x),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===y.$GT),this._beginToken(b.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(x){this._beginToken(b.CDATA_START,x),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(b.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(x){this._beginToken(b.DOC_TYPE_START,x),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===y.$GT),this._beginToken(b.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let x=this._cursor.clone(),N="";for(;this._cursor.peek()!==y.$COLON&&!(((R=this._cursor.peek())<y.$a||y.$z<R)&&(R<y.$A||y.$Z<R)&&(R<y.$0||R>y.$9));)this._cursor.advance();var R;let ne;return this._cursor.peek()===y.$COLON?(N=this._cursor.getChars(x),this._cursor.advance(),ne=this._cursor.clone()):ne=x,this._requireCharCodeUntilFn(G,N===""?0:1),[N,this._cursor.getChars(ne)]}_consumeTagOpen(x){let N,R,ne,fe=this.tokens.length,Me=this._cursor.clone(),pe=[];try{if(!y.isAsciiLetter(this._cursor.peek()))throw this._createError(W(this._cursor.peek()),this._cursor.getSpan(x));for(ne=this._consumeTagOpenStart(x),R=ne.parts[0],N=ne.parts[1],this._attemptCharCodeUntilFn(M);this._cursor.peek()!==y.$SLASH&&this._cursor.peek()!==y.$GT;){let[_e,Ut]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(M),this._attemptCharCode(y.$EQ)){this._attemptCharCodeUntilFn(M);let or=this._consumeAttributeValue();pe.push({prefix:_e,name:Ut,value:or})}else pe.push({prefix:_e,name:Ut});this._attemptCharCodeUntilFn(M)}this._consumeTagOpenEnd()}catch(_e){if(_e instanceof Y)return this._cursor=Me,ne&&(this.tokens.length=fe),this._beginToken(b.TEXT,x),void this._endToken(["<"]);throw _e}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===b.TAG_OPEN_END_VOID)return;let We=this._getTagContentType(N,R,this._fullNameStack.length>0,pe);this._handleFullNameStackForTagOpen(R,N),We===ke.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(R,N,!1):We===ke.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(R,N,!0)}_consumeRawTextWithTagClose(x,N,R){this._consumeRawText(R,()=>!!this._attemptCharCode(y.$LT)&&!!this._attemptCharCode(y.$SLASH)&&(this._attemptCharCodeUntilFn(M),!!this._attemptStrCaseInsensitive(x?"".concat(x,":").concat(N):N)&&(this._attemptCharCodeUntilFn(M),this._attemptCharCode(y.$GT)))),this._beginToken(b.TAG_CLOSE),this._requireCharCodeUntilFn(ne=>ne===y.$GT,3),this._cursor.advance(),this._endToken([x,N]),this._handleFullNameStackForTagClose(x,N)}_consumeTagOpenStart(x){this._beginToken(b.TAG_OPEN_START,x);let N=this._consumePrefixAndName();return this._endToken(N)}_consumeAttributeName(){let x=this._cursor.peek();if(x===y.$SQ||x===y.$DQ)throw this._createError(W(x),this._cursor.getSpan());this._beginToken(b.ATTR_NAME);let N=this._consumePrefixAndName();return this._endToken(N),N}_consumeAttributeValue(){let x;if(this._cursor.peek()===y.$SQ||this._cursor.peek()===y.$DQ){this._beginToken(b.ATTR_QUOTE);let N=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(N)]),this._beginToken(b.ATTR_VALUE);let R=[];for(;this._cursor.peek()!==N;)R.push(this._readChar(!0));x=this._processCarriageReturns(R.join("")),this._endToken([x]),this._beginToken(b.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(N)])}else{this._beginToken(b.ATTR_VALUE);let N=this._cursor.clone();this._requireCharCodeUntilFn(G,1),x=this._processCarriageReturns(this._cursor.getChars(N)),this._endToken([x])}return x}_consumeTagOpenEnd(){let x=this._attemptCharCode(y.$SLASH)?b.TAG_OPEN_END_VOID:b.TAG_OPEN_END;this._beginToken(x),this._requireCharCode(y.$GT),this._endToken([])}_consumeTagClose(x){if(this._beginToken(b.TAG_CLOSE,x),this._attemptCharCodeUntilFn(M),this._allowHtmComponentClosingTags&&this._attemptCharCode(y.$SLASH))this._attemptCharCodeUntilFn(M),this._requireCharCode(y.$GT),this._endToken([]);else{let[N,R]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(M),this._requireCharCode(y.$GT),this._endToken([N,R]),this._handleFullNameStackForTagClose(N,R)}}_consumeExpansionFormStart(){this._beginToken(b.EXPANSION_FORM_START),this._requireCharCode(y.$LBRACE),this._endToken([]),this._expansionCaseStack.push(b.EXPANSION_FORM_START),this._beginToken(b.RAW_TEXT);let x=this._readUntil(y.$COMMA);this._endToken([x]),this._requireCharCode(y.$COMMA),this._attemptCharCodeUntilFn(M),this._beginToken(b.RAW_TEXT);let N=this._readUntil(y.$COMMA);this._endToken([N]),this._requireCharCode(y.$COMMA),this._attemptCharCodeUntilFn(M)}_consumeExpansionCaseStart(){this._beginToken(b.EXPANSION_CASE_VALUE);let x=this._readUntil(y.$LBRACE).trim();this._endToken([x]),this._attemptCharCodeUntilFn(M),this._beginToken(b.EXPANSION_CASE_EXP_START),this._requireCharCode(y.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(M),this._expansionCaseStack.push(b.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(b.EXPANSION_CASE_EXP_END),this._requireCharCode(y.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(M),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(b.EXPANSION_FORM_END),this._requireCharCode(y.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let x=this._cursor.clone();this._beginToken(b.TEXT,x);let N=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(N.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(N.push(this._interpolationConfig.end),this._inInterpolation=!1):N.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(N.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===y.$LT||this._cursor.peek()===y.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===y.$RBRACE&&this._isInExpansionCase()))}_readUntil(x){let N=this._cursor.clone();return this._attemptUntilChar(x),this._cursor.getChars(N)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===b.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===b.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==y.$LBRACE)return!1;if(this._interpolationConfig){let x=this._cursor.clone(),N=this._attemptStr(this._interpolationConfig.start);return this._cursor=x,!N}return!0}_handleFullNameStackForTagOpen(x,N){let R=ke.mergeNsAndName(x,N);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]!==R||this._fullNameStack.push(R)}_handleFullNameStackForTagClose(x,N){let R=ke.mergeNsAndName(x,N);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===R&&this._fullNameStack.pop()}},"p");function M(I){return!y.isWhitespace(I)||I===y.$EOF}d(M,"h");function G(I){return y.isWhitespace(I)||I===y.$GT||I===y.$SLASH||I===y.$SQ||I===y.$DQ||I===y.$EQ}d(G,"d");function ae(I){return I==y.$SEMICOLON||I==y.$EOF||!y.isAsciiHexDigit(I)}d(ae,"m");function Z(I){return I==y.$SEMICOLON||I==y.$EOF||!y.isAsciiLetter(I)}d(Z,"f");function J(I){return I>=y.$a&&I<=y.$z?I-y.$a+y.$A:I}d(J,"g");let z=d(class Bd{constructor(x,N){if(x instanceof Bd)this.file=x.file,this.input=x.input,this.end=x.end,this.state=Object.assign({},x.state);else{if(!N)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=x,this.input=x.content,this.end=N.endPos,this.state={peek:-1,offset:N.startPos,line:N.startLine,column:N.startCol}}}clone(){return new Bd(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(x){return this.state.offset-x.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(x,N){if(x=x||this,N)for(x=x.clone();this.diff(x)>0&&N.indexOf(x.peek())!==-1;)x.advance();return new Ee.ParseSourceSpan(new Ee.ParseLocation(x.file,x.state.offset,x.state.line,x.state.column),new Ee.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(x){return this.input.substring(x.state.offset,this.state.offset)}charAt(x){return this.input.charCodeAt(x)}advanceState(x){if(x.offset>=this.end)throw this.state=x,new ee('Unexpected character "EOF"',this);let N=this.charAt(x.offset);N===y.$LF?(x.line++,x.column=0):y.isNewLine(N)||x.column++,x.offset++,this.updatePeek(x)}updatePeek(x){x.peek=x.offset>=this.end?y.$EOF:this.charAt(x.offset)}},"E"),V=d(class kd extends z{constructor(x,N){x instanceof kd?(super(x),this.internalState=Object.assign({},x.internalState)):(super(x,N),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new kd(this)}getChars(x){let N=x.clone(),R="";for(;N.internalState.offset<this.internalState.offset;)R+=String.fromCodePoint(N.peek()),N.advance();return R}processEscapeSequence(){let x=d(()=>this.internalState.peek,"e");if(x()===y.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),x()===y.$n)this.state.peek=y.$LF;else if(x()===y.$r)this.state.peek=y.$CR;else if(x()===y.$v)this.state.peek=y.$VTAB;else if(x()===y.$t)this.state.peek=y.$TAB;else if(x()===y.$b)this.state.peek=y.$BSPACE;else if(x()===y.$f)this.state.peek=y.$FF;else if(x()===y.$u)if(this.advanceState(this.internalState),x()===y.$LBRACE){this.advanceState(this.internalState);let N=this.clone(),R=0;for(;x()!==y.$RBRACE;)this.advanceState(this.internalState),R++;this.state.peek=this.decodeHexDigits(N,R)}else{let N=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(N,4)}else if(x()===y.$x){this.advanceState(this.internalState);let N=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(N,2)}else if(y.isOctalDigit(x())){let N="",R=0,ne=this.clone();for(;y.isOctalDigit(x())&&R<3;)ne=this.clone(),N+=String.fromCodePoint(x()),this.advanceState(this.internalState),R++;this.state.peek=parseInt(N,8),this.internalState=ne.internalState}else y.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(x,N){let R=this.input.substr(x.internalState.offset,N),ne=parseInt(R,16);if(isNaN(ne))throw x.state=x.internalState,new ee("Invalid hexadecimal escape sequence",x);return ne}},"C"),ee=d(class{constructor(x,N){this.msg=x,this.cursor=N}},"T");D.CursorError=ee});let pt=d(class TE extends Ee.ParseError{constructor(D,y,b){super(y,b),this.elementName=D}static create(D,y,b){return new TE(D,y,b)}},"Xr");var Io=pt;let mu=d(class{constructor(D,y){this.rootNodes=D,this.errors=y}},"zr");var Lo=mu,jo=d(class{constructor(m){this.getTagDefinition=m}parse(m,D,y,b=!1,F){let T=d(ae=>(Z,...J)=>ae(Z.toLowerCase(),...J),"i"),L=b?this.getTagDefinition:T(this.getTagDefinition),P=d(ae=>L(ae).contentType,"a"),W=b?F:T(F),q=F?(ae,Z,J,z)=>{let V=W(ae,Z,J,z);return V!==void 0?V:P(ae)}:P,Y=se.tokenize(m,D,q,y),k=y&&y.canSelfClose||!1,M=y&&y.allowHtmComponentClosingTags||!1,G=new Ro(Y.tokens,L,k,M,b).build();return new mu(G.rootNodes,Y.errors.concat(G.errors))}},"Yr");let Ro=d(class wE{constructor(D,y,b,F,T){this.tokens=D,this.getTagDefinition=y,this.canSelfClose=b,this.allowHtmComponentClosingTags=F,this.isTagNameCaseSensitive=T,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==se.TokenType.EOF;)this._peek.type===se.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===se.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===se.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===se.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===se.TokenType.TEXT||this._peek.type===se.TokenType.RAW_TEXT||this._peek.type===se.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===se.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===se.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new mu(this._rootNodes,this._errors)}_advance(){let D=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],D}_advanceIf(D){return this._peek.type===D?this._advance():null}_consumeCdata(D){let y=this._advance(),b=this._getText(y),F=this._advanceIf(se.TokenType.CDATA_END);this._addToParent(new Q.CDATA(b,new Ee.ParseSourceSpan(D.sourceSpan.start,(F||y).sourceSpan.end)))}_consumeComment(D){let y=this._advanceIf(se.TokenType.RAW_TEXT),b=this._advanceIf(se.TokenType.COMMENT_END),F=y!=null?y.parts[0].trim():null,T=new Ee.ParseSourceSpan(D.sourceSpan.start,(b||y||D).sourceSpan.end);this._addToParent(new Q.Comment(F,T))}_consumeDocType(D){let y=this._advanceIf(se.TokenType.RAW_TEXT),b=this._advanceIf(se.TokenType.DOC_TYPE_END),F=y!=null?y.parts[0].trim():null,T=new Ee.ParseSourceSpan(D.sourceSpan.start,(b||y||D).sourceSpan.end);this._addToParent(new Q.DocType(F,T))}_consumeExpansion(D){let y=this._advance(),b=this._advance(),F=[];for(;this._peek.type===se.TokenType.EXPANSION_CASE_VALUE;){let L=this._parseExpansionCase();if(!L)return;F.push(L)}if(this._peek.type!==se.TokenType.EXPANSION_FORM_END)return void this._errors.push(pt.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));let T=new Ee.ParseSourceSpan(D.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new Q.Expansion(y.parts[0],b.parts[0],F,T,y.sourceSpan)),this._advance()}_parseExpansionCase(){let D=this._advance();if(this._peek.type!==se.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(pt.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let y=this._advance(),b=this._collectExpansionExpTokens(y);if(!b)return null;let F=this._advance();b.push(new se.Token(se.TokenType.EOF,[],F.sourceSpan));let T=new wE(b,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(T.errors.length>0)return this._errors=this._errors.concat(T.errors),null;let L=new Ee.ParseSourceSpan(D.sourceSpan.start,F.sourceSpan.end),P=new Ee.ParseSourceSpan(y.sourceSpan.start,F.sourceSpan.end);return new Q.ExpansionCase(D.parts[0],T.rootNodes,L,D.sourceSpan,P)}_collectExpansionExpTokens(D){let y=[],b=[se.TokenType.EXPANSION_CASE_EXP_START];for(;;){if(this._peek.type!==se.TokenType.EXPANSION_FORM_START&&this._peek.type!==se.TokenType.EXPANSION_CASE_EXP_START||b.push(this._peek.type),this._peek.type===se.TokenType.EXPANSION_CASE_EXP_END){if(!Mo(b,se.TokenType.EXPANSION_CASE_EXP_START))return this._errors.push(pt.create(null,D.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(b.pop(),b.length==0)return y}if(this._peek.type===se.TokenType.EXPANSION_FORM_END){if(!Mo(b,se.TokenType.EXPANSION_FORM_START))return this._errors.push(pt.create(null,D.sourceSpan,"Invalid ICU message. Missing '}'.")),null;b.pop()}if(this._peek.type===se.TokenType.EOF)return this._errors.push(pt.create(null,D.sourceSpan,"Invalid ICU message. Missing '}'.")),null;y.push(this._advance())}}_getText(D){let y=D.parts[0];if(y.length>0&&y[0]==`
|
|
42
|
+
`){let b=this._getParentElement();b!=null&&b.children.length==0&&this.getTagDefinition(b.name).ignoreFirstLf&&(y=y.substring(1))}return y}_consumeText(D){let y=this._getText(D);y.length>0&&this._addToParent(new Q.Text(y,D.sourceSpan))}_closeVoidElement(){let D=this._getParentElement();D&&this.getTagDefinition(D.name).isVoid&&this._elementStack.pop()}_consumeStartTag(D){let y=D.parts[0],b=D.parts[1],F=[];for(;this._peek.type===se.TokenType.ATTR_NAME;)F.push(this._consumeAttr(this._advance()));let T=this._getElementFullName(y,b,this._getParentElement()),L=!1;if(this._peek.type===se.TokenType.TAG_OPEN_END_VOID){this._advance(),L=!0;let k=this.getTagDefinition(T);this.canSelfClose||k.canSelfClose||ke.getNsPrefix(T)!==null||k.isVoid||this._errors.push(pt.create(T,D.sourceSpan,'Only void and foreign elements can be self closed "'.concat(D.parts[1],'"')))}else this._peek.type===se.TokenType.TAG_OPEN_END&&(this._advance(),L=!1);let P=this._peek.sourceSpan.start,W=new Ee.ParseSourceSpan(D.sourceSpan.start,P),q=new Ee.ParseSourceSpan(D.sourceSpan.start.moveBy(1),D.sourceSpan.end),Y=new Q.Element(T,F,[],W,W,void 0,q);this._pushElement(Y),L&&(this._popElement(T),Y.endSourceSpan=W)}_pushElement(D){let y=this._getParentElement();y&&this.getTagDefinition(y.name).isClosedByChild(D.name)&&this._elementStack.pop(),this._addToParent(D),this._elementStack.push(D)}_consumeEndTag(D){let y=this.allowHtmComponentClosingTags&&D.parts.length===0?null:this._getElementFullName(D.parts[0],D.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=D.sourceSpan),y&&this.getTagDefinition(y).isVoid)this._errors.push(pt.create(y,D.sourceSpan,'Void elements do not have end tags "'.concat(D.parts[1],'"')));else if(!this._popElement(y)){let b='Unexpected closing tag "'.concat(y,'". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags');this._errors.push(pt.create(y,D.sourceSpan,b))}}_popElement(D){for(let y=this._elementStack.length-1;y>=0;y--){let b=this._elementStack[y];if(!D||(ke.getNsPrefix(b.name)?b.name==D:b.name.toLowerCase()==D.toLowerCase()))return this._elementStack.splice(y,this._elementStack.length-y),!0;if(!this.getTagDefinition(b.name).closedByParent)return!1}return!1}_consumeAttr(D){let y=ke.mergeNsAndName(D.parts[0],D.parts[1]),b,F,T=D.sourceSpan.end,L="";if(this._peek.type===se.TokenType.ATTR_QUOTE&&(F=this._advance().sourceSpan.start),this._peek.type===se.TokenType.ATTR_VALUE){let P=this._advance();L=P.parts[0],T=P.sourceSpan.end,b=P.sourceSpan}return this._peek.type===se.TokenType.ATTR_QUOTE&&(T=this._advance().sourceSpan.end,b=new Ee.ParseSourceSpan(F,T)),new Q.Attribute(y,L,new Ee.ParseSourceSpan(D.sourceSpan.start,T),b,D.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let D=null;for(let y=this._elementStack.length-1;y>=0;y--){if(!ke.isNgContainer(this._elementStack[y].name))return{parent:this._elementStack[y],container:D};D=this._elementStack[y]}return{parent:null,container:D}}_addToParent(D){let y=this._getParentElement();y!=null?y.children.push(D):this._rootNodes.push(D)}_insertBeforeContainer(D,y,b){if(y){if(D){let F=D.children.indexOf(y);D.children[F]=b}else this._rootNodes.push(b);b.children.push(y),this._elementStack.splice(this._elementStack.indexOf(y),0,b)}else this._addToParent(b),this._elementStack.push(b)}_getElementFullName(D,y,b){return D===""&&(D=this.getTagDefinition(y).implicitNamespacePrefix||"")===""&&b!=null&&(D=ke.getNsPrefix(b.name)),ke.mergeNsAndName(D,y)}},"Qr");function Mo(m,D){return m.length>0&&m[m.length-1]===D}d(Mo,"Jr");var gu=Object.defineProperty({TreeError:Io,ParseTreeResult:Lo,Parser:jo},"__esModule",{value:!0}),qo=gu,nl=qo.ParseTreeResult,At=qo.TreeError;var rl=d(class extends gu.Parser{constructor(){super($i.getHtmlTagDefinition)}parse(D,y,b,F=!1,T){return super.parse(D,y,b,F,T)}},"rn"),zi=Object.defineProperty({ParseTreeResult:nl,TreeError:At,HtmlParser:rl},"__esModule",{value:!0}),$o=ke.TagContentType;let Xi=null;var Vo=d(function(m,D={}){let{canSelfClose:y=!1,allowHtmComponentClosingTags:b=!1,isTagNameCaseSensitive:F=!1,getTagContentType:T}=D;return(Xi||(Xi=new zi.HtmlParser),Xi).parse(m,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:y,allowHtmComponentClosingTags:b},F,T)},"un"),ir=Object.defineProperty({TagContentType:$o,parse:Vo},"__esModule",{value:!0});let{ParseSourceSpan:ar,ParseLocation:Uo,ParseSourceFile:Wo}=Ee,{inferParserByLanguage:Ji}=tu,{HTML_ELEMENT_ATTRIBUTES:ft,HTML_TAGS:j,isUnknownNamespace:Yi}=Li,{hasPragma:Go}=ue,{Node:Ki}=Ri,{parseIeConditionalComment:Qi}=Kc,{locStart:Zi,locEnd:Ft}=wo;function Ho(m,{recognizeSelfClosing:D,normalizeTagName:y,normalizeAttributeName:b,allowHtmComponentClosingTags:F,isTagNameCaseSensitive:T,getTagContentType:L},P){let W=ir,{RecursiveVisitor:q,visitAll:Y}=Q,{ParseSourceSpan:k}=Ee,{getHtmlTagDefinition:M}=$i,{rootNodes:G,errors:ae}=W.parse(m,{canSelfClose:D,allowHtmComponentClosingTags:F,isTagNameCaseSensitive:T,getTagContentType:L});if(P.parser==="vue")if(G.some(z=>z.type==="docType"&&z.value==="html"||z.type==="element"&&z.name.toLowerCase()==="html")){D=!0,y=!0,b=!0,F=!0,T=!1;let z=W.parse(m,{canSelfClose:D,allowHtmComponentClosingTags:F,isTagNameCaseSensitive:T});G=z.rootNodes,ae=z.errors}else{let z=d(V=>{if(!V||V.type!=="element"||V.name!=="template")return!1;let ee=V.attrs.find(x=>x.name==="lang"),I=ee&&ee.value;return!I||Ji(I,P)==="html"},"r12");if(G.some(z)){let V,ee=d(()=>W.parse(m,{canSelfClose:D,allowHtmComponentClosingTags:F,isTagNameCaseSensitive:T}),"o"),I=d(()=>V||(V=ee()),"a"),x=d(N=>I().rootNodes.find(({startSourceSpan:R})=>R&&R.start.offset===N.startSourceSpan.start.offset),"c");for(let N=0;N<G.length;N++){let R=G[N],{endSourceSpan:ne,startSourceSpan:fe}=R;if(ne===null)ae=I().errors,G[N]=x(R)||R;else if(z(R)){let Me=I(),pe=fe.end.offset,We=ne.start.offset;for(let _e of Me.errors){let{offset:Ut}=_e.span.start;if(pe<Ut&&Ut<We){ae=[_e];break}}G[N]=x(R)||R}}}}if(ae.length>0){let{msg:z,span:{start:V,end:ee}}=ae[0];throw Sn(z,{start:{line:V.line+1,column:V.col+1},end:{line:ee.line+1,column:ee.col+1}})}let Z=d(z=>{let V=z.name.startsWith(":")?z.name.slice(1).split(":")[0]:null,ee=z.nameSpan.toString(),I=V!==null&&ee.startsWith("".concat(V,":")),x=I?ee.slice(V.length+1):ee;z.name=x,z.namespace=V,z.hasExplicitNamespace=I},"m"),J=d((z,V)=>{let ee=z.toLowerCase();return V(ee)?ee:z},"f");return Y(new class extends q{visit(z){(V=>{if(V.type==="element"){Z(V);for(let ee of V.attrs)Z(ee),ee.valueSpan?(ee.value=ee.valueSpan.toString(),/["']/.test(ee.value[0])&&(ee.value=ee.value.slice(1,-1))):ee.value=null}else V.type==="comment"?V.value=V.sourceSpan.toString().slice(4,-3):V.type==="text"&&(V.value=V.sourceSpan.toString())})(z),(V=>{if(V.type==="element"){let ee=M(T?V.name:V.name.toLowerCase());!V.namespace||V.namespace===ee.implicitNamespacePrefix||Yi(V)?V.tagDefinition=ee:V.tagDefinition=M("")}})(z),(V=>{if(V.type==="element"&&(!y||V.namespace&&V.namespace!==V.tagDefinition.implicitNamespacePrefix&&!Yi(V)||(V.name=J(V.name,ee=>ee in j)),b)){let ee=ft[V.name]||Object.create(null);for(let I of V.attrs)I.namespace||(I.name=J(I.name,x=>V.name in ft&&(x in ft["*"]||x in ee)))}})(z),(V=>{V.sourceSpan&&V.endSourceSpan&&(V.sourceSpan=new k(V.sourceSpan.start,V.endSourceSpan.end))})(z)}},G),G}d(Ho,"Sn");function zo(m,D,y,b=!0){let{frontMatter:F,content:T}=b?jc(m):{frontMatter:null,content:m},L=new Wo(m,D.filepath),P=new Uo(L,0,0,0),W=P.moveBy(m.length),q={type:"root",sourceSpan:new ar(P,W),children:Ho(T,y,D)};if(F){let M=new Uo(L,0,0,0),G=M.moveBy(F.raw.length);F.sourceSpan=new ar(M,G),q.children.unshift(F)}let Y=new Ki(q),k=d((M,G)=>{let{offset:ae}=G,Z=zo(m.slice(0,ae).replace(/[^\n\r]/g," ")+M,D,y,!1);Z.sourceSpan=new ar(G,ci(Z.children).sourceSpan.end);let J=Z.children[0];return J.length===ae?Z.children.shift():(J.sourceSpan=new ar(J.sourceSpan.start.moveBy(ae),J.sourceSpan.end),J.value=J.value.slice(ae)),Z},"D");return Y.map(M=>{if(M.type==="comment"){let G=Qi(M,k);if(G)return G}return M})}d(zo,"yn");function St({recognizeSelfClosing:m=!1,normalizeTagName:D=!1,normalizeAttributeName:y=!1,allowHtmComponentClosingTags:b=!1,isTagNameCaseSensitive:F=!1,getTagContentType:T}={}){return{parse:(L,P,W)=>zo(L,W,{recognizeSelfClosing:m,normalizeTagName:D,normalizeAttributeName:y,allowHtmComponentClosingTags:b,isTagNameCaseSensitive:F,getTagContentType:T}),hasPragma:Go,astFormat:"html",locStart:Zi,locEnd:Ft}}return d(St,"Fn"),{parsers:{html:St({recognizeSelfClosing:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:St(),vue:St({recognizeSelfClosing:!0,isTagNameCaseSensitive:!0,getTagContentType:(m,D,y,b)=>{if(m.toLowerCase()!=="html"&&!y&&(m!=="template"||b.some(({name:F,value:T})=>F==="lang"&&T!=="html")))return ir.TagContentType.RAW_TEXT}}),lwc:St()}}})});var _E=EE((Od,Id)=>{ui();(function(we,me){typeof Od=="object"&&typeof Id<"u"?Id.exports=me():typeof define=="function"&&define.amd?define(me):(we=typeof globalThis<"u"?globalThis:we||self).prettier=me()})(Od,function(){"use strict";function we(e,t){if(e==null)return{};var n,r,u={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(u[n]=e[n]);return u}d(we,"e7");function me(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}d(me,"t3");var zn={name:"prettier",version:"2.3.0",description:"Prettier is an opinionated code formatter",bin:"./bin/prettier.js",repository:"prettier/prettier",homepage:"https://prettier.io",author:"James Long",license:"MIT",main:"./index.js",browser:"./standalone.js",unpkg:"./standalone.js",engines:{node:">=10.13.0"},files:["index.js","standalone.js","src","bin"],dependencies:{"@angular/compiler":"11.2.13","@babel/code-frame":"7.12.13","@babel/parser":"7.14.1","@glimmer/syntax":"0.79.0","@iarna/toml":"2.2.5","@typescript-eslint/typescript-estree":"4.22.0","angular-estree-parser":"2.3.0","angular-html-parser":"1.8.0",camelcase:"6.2.0",chalk:"4.1.1","ci-info":"3.1.1","cjk-regex":"2.0.1",cosmiconfig:"7.0.0",dashify:"2.0.0",diff:"5.0.0",editorconfig:"0.15.3","editorconfig-to-prettier":"0.2.0","escape-string-regexp":"4.0.0",espree:"7.3.1",esutils:"2.0.3","fast-glob":"3.2.5","fast-json-stable-stringify":"2.1.0","find-parent-dir":"0.3.0","flow-parser":"0.150.1","get-stdin":"8.0.0",globby:"11.0.3",graphql:"15.5.0","html-element-attributes":"2.3.0","html-styles":"1.0.0","html-tag-names":"1.1.5","html-void-elements":"1.0.5",ignore:"4.0.6","jest-docblock":"26.0.0",json5:"2.2.0",leven:"3.1.0","lines-and-columns":"1.1.6","linguist-languages":"7.14.0",lodash:"4.17.21",mem:"8.1.1",meriyah:"4.1.5",minimatch:"3.0.4",minimist:"1.2.5","n-readlines":"1.0.1",outdent:"0.8.0","parse-srcset":"ikatyang/parse-srcset#54eb9c1cb21db5c62b4d0e275d7249516df6f0ee","please-upgrade-node":"3.2.0","postcss-less":"3.1.4","postcss-media-query-parser":"0.2.3","postcss-scss":"2.1.1","postcss-selector-parser":"2.2.3","postcss-values-parser":"2.0.1","regexp-util":"1.2.2","remark-footnotes":"2.0.0","remark-math":"3.0.1","remark-parse":"8.0.3",resolve:"1.20.0",semver:"7.3.5","string-width":"4.2.2","strip-ansi":"6.0.0",typescript:"4.2.4","unicode-regex":"3.0.0",unified:"9.2.1",vnopts:"1.0.2",wcwidth:"1.0.1","yaml-unist-parser":"1.3.1"},devDependencies:{"@babel/core":"7.14.0","@babel/preset-env":"7.14.1","@babel/types":"7.14.1","@glimmer/reference":"0.79.0","@rollup/plugin-alias":"3.1.2","@rollup/plugin-babel":"5.3.0","@rollup/plugin-commonjs":"18.1.0","@rollup/plugin-json":"4.1.0","@rollup/plugin-node-resolve":"13.0.0","@rollup/plugin-replace":"2.4.2","@types/estree":"0.0.47","@types/node":"15.0.1","babel-jest":"26.6.3","babel-loader":"8.2.2",benchmark:"2.1.4","builtin-modules":"3.2.0","cross-env":"7.0.3",cspell:"4.2.8",eslint:"7.26.0","eslint-config-prettier":"8.3.0","eslint-formatter-friendly":"7.0.0","eslint-plugin-import":"2.22.1","eslint-plugin-jest":"24.3.6","eslint-plugin-prettier-internal-rules":"link:scripts/tools/eslint-plugin-prettier-internal-rules","eslint-plugin-react":"7.23.2","eslint-plugin-unicorn":"31.0.0",execa:"5.0.0",jest:"26.6.3","jest-snapshot-serializer-ansi":"1.0.0","jest-snapshot-serializer-raw":"1.2.0","jest-watch-typeahead":"0.6.3","npm-run-all":"4.1.5","path-browserify":"1.0.1",prettier:"2.2.1","pretty-bytes":"5.6.0",rimraf:"3.0.2",rollup:"2.47.0","rollup-plugin-polyfill-node":"0.6.2","rollup-plugin-terser":"7.0.2",shelljs:"0.8.4","snapshot-diff":"0.8.1","synchronous-promise":"2.0.15",tempy:"1.0.1","terser-webpack-plugin":"5.1.1",webpack:"5.36.2"},scripts:{prepublishOnly:'echo "Error: must publish from dist/" && exit 1',"prepare-release":"yarn && yarn build && yarn test:dist",test:"jest","test:dev-package":"cross-env INSTALL_PACKAGE=1 jest","test:dist":"cross-env NODE_ENV=production jest","test:dist-standalone":"cross-env NODE_ENV=production TEST_STANDALONE=1 jest","test:integration":"jest tests/integration","perf:repeat":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:repeat-inspect":"yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null","perf:benchmark":"yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-benchmark --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",lint:"run-p lint:*","lint:typecheck":"tsc","lint:eslint":"cross-env EFF_NO_LINK_RULES=true eslint . --format friendly","lint:changelog":"node ./scripts/lint-changelog.js","lint:prettier":'prettier . "!test*" --check',"lint:dist":'eslint --no-eslintrc --no-ignore --no-inline-config --env=es6,browser --parser-options=ecmaVersion:2018 "dist/!(bin-prettier|index|third-party).js"',"lint:spellcheck":'cspell "**/*" ".github/**/*"',"lint:deps":"node ./scripts/check-deps.js",fix:"run-s fix:eslint fix:prettier","fix:eslint":"yarn lint:eslint --fix","fix:prettier":"yarn lint:prettier --write",build:"node --max-old-space-size=3072 ./scripts/build/build.js","build-docs":"node ./scripts/build-docs.js"}},It=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xn(e){return e&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}d(Xn,"o1");function ce(e){var t={exports:{}};return e(t,t.exports),t.exports}d(ce,"i1");var lt=ce(function(e,t){function n(){}d(n,"n3");function r(i,o,a,s,c){for(var l=0,p=o.length,h=0,f=0;l<p;l++){var g=o[l];if(g.removed){if(g.value=i.join(s.slice(f,f+g.count)),f+=g.count,l&&o[l-1].added){var E=o[l-1];o[l-1]=o[l],o[l]=E}}else{if(!g.added&&c){var C=a.slice(h,h+g.count);C=C.map(function(v,S){var _=s[f+S];return _.length>v.length?_:v}),g.value=i.join(C)}else g.value=i.join(a.slice(h,h+g.count));h+=g.count,g.added||(f+=g.count)}}var A=o[p-1];return p>1&&typeof A.value=="string"&&(A.added||A.removed)&&i.equals("",A.value)&&(o[p-2].value+=A.value,o.pop()),o}d(r,"r2");function u(i){return{newPos:i.newPos,components:i.components.slice(0)}}d(u,"o2"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.prototype={diff:function(i,o){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=a.callback;typeof a=="function"&&(s=a,a={}),this.options=a;var c=this;function l(S){return s?(setTimeout(function(){s(void 0,S)},0),!0):S}d(l,"s"),i=this.castInput(i),o=this.castInput(o),i=this.removeEmpty(this.tokenize(i));var p=(o=this.removeEmpty(this.tokenize(o))).length,h=i.length,f=1,g=p+h,E=[{newPos:-1,components:[]}],C=this.extractCommon(E[0],o,i,0);if(E[0].newPos+1>=p&&C+1>=h)return l([{value:this.join(o),count:o.length}]);function A(){for(var S=-1*f;S<=f;S+=2){var _=void 0,w=E[S-1],B=E[S+1],O=(B?B.newPos:0)-S;w&&(E[S-1]=void 0);var H=w&&w.newPos+1<p,X=B&&0<=O&&O<h;if(H||X){if(!H||X&&w.newPos<B.newPos?(_=u(B),c.pushComponent(_.components,void 0,!0)):((_=w).newPos++,c.pushComponent(_.components,!0,void 0)),O=c.extractCommon(_,o,i,S),_.newPos+1>=p&&O+1>=h)return l(r(c,_.components,o,i,c.useLongestToken));E[S]=_}else E[S]=void 0}f++}if(d(A,"h2"),s)d(function S(){setTimeout(function(){if(f>g)return s();A()||S()},0)},"e")();else for(;f<=g;){var v=A();if(v)return v}},pushComponent:function(i,o,a){var s=i[i.length-1];s&&s.added===o&&s.removed===a?i[i.length-1]={count:s.count+1,added:o,removed:a}:i.push({count:1,added:o,removed:a})},extractCommon:function(i,o,a,s){for(var c=o.length,l=a.length,p=i.newPos,h=p-s,f=0;p+1<c&&h+1<l&&this.equals(o[p+1],a[h+1]);)p++,h++,f++;return f&&i.components.push({count:f}),i.newPos=p,h},equals:function(i,o){return this.options.comparator?this.options.comparator(i,o):i===o||this.options.ignoreCase&&i.toLowerCase()===o.toLowerCase()},removeEmpty:function(i){for(var o=[],a=0;a<i.length;a++)i[a]&&o.push(i[a]);return o},castInput:function(i){return i},tokenize:function(i){return i.split("")},join:function(i){return i.join("")}}}),xc=ce(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(u,i,o){return r.diff(u,i,o)},t.characterDiff=void 0;var r=new((n=lt)&&n.__esModule?n:{default:n}).default;t.characterDiff=r}),Tc=d(function(e,t){if(typeof e=="function")t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},"a1"),Xa=Object.defineProperty({generateOptions:Tc},"__esModule",{value:!0}),Ja=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.diffWords=function(a,s,c){return c=(0,Xa.generateOptions)(c,{ignoreWhitespace:!0}),o.diff(a,s,c)},t.diffWordsWithSpace=function(a,s,c){return o.diff(a,s,c)},t.wordDiff=void 0;var n,r=(n=lt)&&n.__esModule?n:{default:n},u=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,i=/\S/,o=new r.default;t.wordDiff=o,o.equals=function(a,s){return this.options.ignoreCase&&(a=a.toLowerCase(),s=s.toLowerCase()),a===s||this.options.ignoreWhitespace&&!i.test(a)&&!i.test(s)},o.tokenize=function(a){for(var s=a.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),c=0;c<s.length-1;c++)!s[c+1]&&s[c+2]&&u.test(s[c])&&u.test(s[c+2])&&(s[c]+=s[c+2],s.splice(c+1,2),c--);return s}}),Jn=ce(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffLines=function(u,i,o){return r.diff(u,i,o)},t.diffTrimmedLines=function(u,i,o){var a=(0,Xa.generateOptions)(o,{ignoreWhitespace:!0});return r.diff(u,i,a)},t.lineDiff=void 0;var r=new((n=lt)&&n.__esModule?n:{default:n}).default;t.lineDiff=r,r.tokenize=function(u){var i=[],o=u.split(/(\n|\r\n)/);o[o.length-1]||o.pop();for(var a=0;a<o.length;a++){var s=o[a];a%2&&!this.options.newlineIsToken?i[i.length-1]+=s:(this.options.ignoreWhitespace&&(s=s.trim()),i.push(s))}return i}}),ii=ce(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffSentences=function(u,i,o){return r.diff(u,i,o)},t.sentenceDiff=void 0;var r=new((n=lt)&&n.__esModule?n:{default:n}).default;t.sentenceDiff=r,r.tokenize=function(u){return u.split(/(\S.+?[.!?])(?=\s+|$)/)}}),wc=ce(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffCss=function(u,i,o){return r.diff(u,i,o)},t.cssDiff=void 0;var r=new((n=lt)&&n.__esModule?n:{default:n}).default;t.cssDiff=r,r.tokenize=function(u){return u.split(/([{}:;,]|\s+)/)}}),Ya=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.diffJson=function(s,c,l){return o.diff(s,c,l)},t.canonicalize=a,t.jsonDiff=void 0;var n,r=(n=lt)&&n.__esModule?n:{default:n};function u(s){return(u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c})(s)}d(u,"o3");var i=Object.prototype.toString,o=new r.default;function a(s,c,l,p,h){var f,g;for(c=c||[],l=l||[],p&&(s=p(h,s)),f=0;f<c.length;f+=1)if(c[f]===s)return l[f];if(i.call(s)==="[object Array]"){for(c.push(s),g=new Array(s.length),l.push(g),f=0;f<s.length;f+=1)g[f]=a(s[f],c,l,p,h);return c.pop(),l.pop(),g}if(s&&s.toJSON&&(s=s.toJSON()),u(s)==="object"&&s!==null){c.push(s),g={},l.push(g);var E,C=[];for(E in s)s.hasOwnProperty(E)&&C.push(E);for(C.sort(),f=0;f<C.length;f+=1)g[E=C[f]]=a(s[E],c,l,p,E);c.pop(),l.pop()}else g=s;return g}d(a,"a"),t.jsonDiff=o,o.useLongestToken=!0,o.tokenize=Jn.lineDiff.tokenize,o.castInput=function(s){var c=this.options,l=c.undefinedReplacement,p=c.stringifyReplacer,h=p===void 0?function(f,g){return g===void 0?l:g}:p;return typeof s=="string"?s:JSON.stringify(a(s,null,null,h),h," ")},o.equals=function(s,c){return r.default.prototype.equals.call(o,s.replace(/,([\r\n])/g,"$1"),c.replace(/,([\r\n])/g,"$1"))}}),Nc=ce(function(e,t){var n;Object.defineProperty(t,"__esModule",{value:!0}),t.diffArrays=function(u,i,o){return r.diff(u,i,o)},t.arrayDiff=void 0;var r=new((n=lt)&&n.__esModule?n:{default:n}).default;t.arrayDiff=r,r.tokenize=function(u){return u.slice()},r.join=r.removeEmpty=function(u){return u}}),Bc=d(function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],u=[],i=0;function o(){var c={};for(u.push(c);i<n.length;){var l=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(l))break;var p=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(l);p&&(c.index=p[1]),i++}for(a(c),a(c),c.hunks=[];i<n.length;){var h=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(h))break;if(/^@@/.test(h))c.hunks.push(s());else{if(h&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(h));i++}}}d(o,"u2");function a(c){var l=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(l){var p=l[1]==="---"?"old":"new",h=l[2].split(" ",2),f=h[0].replace(/\\\\/g,"\\");/^".*"$/.test(f)&&(f=f.substr(1,f.length-2)),c[p+"FileName"]=f,c[p+"Header"]=(h[1]||"").trim(),i++}}d(a,"s3");function s(){var c=i,l=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),p={oldStart:+l[1],oldLines:l[2]===void 0?1:+l[2],newStart:+l[3],newLines:l[4]===void 0?1:+l[4],lines:[],linedelimiters:[]};p.oldLines===0&&(p.oldStart+=1),p.newLines===0&&(p.newStart+=1);for(var h=0,f=0;i<n.length&&!(n[i].indexOf("--- ")===0&&i+2<n.length&&n[i+1].indexOf("+++ ")===0&&n[i+2].indexOf("@@")===0);i++){var g=n[i].length==0&&i!=n.length-1?" ":n[i][0];if(g!=="+"&&g!=="-"&&g!==" "&&g!=="\\")break;p.lines.push(n[i]),p.linedelimiters.push(r[i]||`
|
|
43
|
+
`),g==="+"?h++:g==="-"?f++:g===" "&&(h++,f++)}if(h||p.newLines!==1||(p.newLines=0),f||p.oldLines!==1||(p.oldLines=0),t.strict){if(h!==p.newLines)throw new Error("Added line count did not match for hunk at line "+(c+1));if(f!==p.oldLines)throw new Error("Removed line count did not match for hunk at line "+(c+1))}return p}for(d(s,"a2");i<n.length;)o();return u},"g1"),qr,$r=Object.defineProperty({parsePatch:Bc},"__esModule",{value:!0}),kc=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(n,r,u){var i=!0,o=!1,a=!1,s=1;return d(function c(){if(i&&!a){if(o?s++:i=!1,n+s<=u)return s;a=!0}if(!o)return a||(i=!0),r<=n-s?-s++:(o=!0,c())},"s")}}),Ka=Za,Qa=d(function(e,t){typeof e=="string"&&(e=(0,$r.parsePatch)(e));var n=0;d(function r(){var u=e[n++];if(!u)return t.complete();t.loadFile(u,function(i,o){if(i)return t.complete(i);var a=Za(o,u,t);t.patched(u,a,function(s){if(s)return t.complete(s);r()})})},"r")()},"C1"),_c=(qr=kc)&&qr.__esModule?qr:{default:qr};function Za(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string"&&(t=(0,$r.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,u,i=e.split(/\r\n|[\n\v\f\r\x85]/),o=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],a=t.hunks,s=n.compareLine||function(he,je,Mr,un){return je===un},c=0,l=n.fuzzFactor||0,p=0,h=0;function f(he,je){for(var Mr=0;Mr<he.lines.length;Mr++){var un=he.lines[Mr],ri=un.length>0?un[0]:" ",bt=un.length>0?un.substr(1):un;if(ri===" "||ri==="-"){if(!s(je+1,i[je],ri,bt)&&++c>l)return!1;je++}}return!0}d(f,"d");for(var g=0;g<a.length;g++){for(var E=a[g],C=i.length-E.oldLines,A=0,v=h+E.oldStart-1,S=(0,_c.default)(v,p,C);A!==void 0;A=S())if(f(E,v+A)){E.offset=h+=A;break}if(A===void 0)return!1;p=E.offset+E.oldStart+E.oldLines}for(var _=0,w=0;w<a.length;w++){var B=a[w],O=B.oldStart+B.offset+_-1;_+=B.newLines-B.oldLines;for(var H=0;H<B.lines.length;H++){var X=B.lines[H],$=X.length>0?X[0]:" ",U=X.length>0?X.substr(1):X,K=B.linedelimiters[H];if($===" ")O++;else if($==="-")i.splice(O,1),o.splice(O,1);else if($==="+")i.splice(O,0,U),o.splice(O,0,K),O++;else if($==="\\"){var re=B.lines[H-1]?B.lines[H-1][0]:null;re==="+"?r=!0:re==="-"&&(u=!0)}}}if(r)for(;!i[i.length-1];)i.pop(),o.pop();else u&&(i.push(""),o.push(`
|
|
44
|
+
`));for(var ie=0;ie<i.length-1;ie++)i[ie]=i[ie]+o[ie];return i.join("")}d(Za,"A1");var eo=Object.defineProperty({applyPatch:Ka,applyPatches:Qa},"__esModule",{value:!0}),Pc=to,Oc=no,Ic=ro,Lc=d(function(e,t,n,r,u,i){return ro(e,e,t,n,r,u,i)},"T1");function Fn(e){return function(t){if(Array.isArray(t))return ai(t)}(e)||function(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}(e)||function(t,n){if(!!t){if(typeof t=="string")return ai(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ai(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
45
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}d(Fn,"B1");function ai(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}d(ai,"k1");function to(e,t,n,r,u,i,o){o||(o={}),o.context===void 0&&(o.context=4);var a=(0,Jn.diffLines)(n,r,o);function s(A){return A.map(function(v){return" "+v})}d(s,"a"),a.push({value:"",lines:[]});for(var c=[],l=0,p=0,h=[],f=1,g=1,E=function(A){var v=a[A],S=v.lines||v.value.replace(/\n$/,"").split(`
|
|
46
|
+
`);if(v.lines=S,v.added||v.removed){var _;if(!l){var w=a[A-1];l=f,p=g,w&&(h=o.context>0?s(w.lines.slice(-o.context)):[],l-=h.length,p-=h.length)}(_=h).push.apply(_,Fn(S.map(function(re){return(v.added?"+":"-")+re}))),v.added?g+=S.length:f+=S.length}else{if(l)if(S.length<=2*o.context&&A<a.length-2){var B;(B=h).push.apply(B,Fn(s(S)))}else{var O,H=Math.min(S.length,o.context);(O=h).push.apply(O,Fn(s(S.slice(0,H))));var X={oldStart:l,oldLines:f-l+H,newStart:p,newLines:g-p+H,lines:h};if(A>=a.length-2&&S.length<=o.context){var $=/\n$/.test(n),U=/\n$/.test(r),K=S.length==0&&h.length>X.oldLines;!$&&K&&n.length>0&&h.splice(X.oldLines,0,"\"),($||K)&&U||h.push("\")}c.push(X),l=0,p=0,h=[]}f+=S.length,g+=S.length}},C=0;C<a.length;C++)E(C);return{oldFileName:e,newFileName:t,oldHeader:u,newHeader:i,hunks:c}}d(to,"N1");function no(e){var t=[];e.oldFileName==e.newFileName&&t.push("Index: "+e.oldFileName),t.push("==================================================================="),t.push("--- "+e.oldFileName+(e.oldHeader===void 0?"":" "+e.oldHeader)),t.push("+++ "+e.newFileName+(e.newHeader===void 0?"":" "+e.newHeader));for(var n=0;n<e.hunks.length;n++){var r=e.hunks[n];r.oldLines===0&&(r.oldStart-=1),r.newLines===0&&(r.newStart-=1),t.push("@@ -"+r.oldStart+","+r.oldLines+" +"+r.newStart+","+r.newLines+" @@"),t.push.apply(t,r.lines)}return t.join(`
|
|
47
|
+
`)+`
|
|
48
|
+
`}d(no,"P1");function ro(e,t,n,r,u,i,o){return no(to(e,t,n,r,u,i,o))}d(ro,"O");var Vr=Object.defineProperty({structuredPatch:Pc,formatPatch:Oc,createTwoFilesPatch:Ic,createPatch:Lc},"__esModule",{value:!0}),Ur=d(function(e,t){return e.length!==t.length?!1:Ee(e,t)},"j"),oi=Ee;function Ee(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}d(Ee,"_");var si=Object.defineProperty({arrayEqual:Ur,arrayStartsWith:oi},"__esModule",{value:!0}),jc=pi,ci=d(function(e,t,n){e=di(e,n),t=di(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index),(e.newFileName||t.newFileName)&&(uo(e)?uo(t)?(r.oldFileName=Yn(r,e.oldFileName,t.oldFileName),r.newFileName=Yn(r,e.newFileName,t.newFileName),r.oldHeader=Yn(r,e.oldHeader,t.oldHeader),r.newHeader=Yn(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader)),r.hunks=[];for(var u=0,i=0,o=0,a=0;u<e.hunks.length||i<t.hunks.length;){var s=e.hunks[u]||{oldStart:1/0},c=t.hunks[i]||{oldStart:1/0};if(fi(s,c))r.hunks.push(io(s,o)),u++,a+=s.newLines-s.oldLines;else if(fi(c,s))r.hunks.push(io(c,a)),i++,o+=c.newLines-c.oldLines;else{var l={oldStart:Math.min(s.oldStart,c.oldStart),oldLines:0,newStart:Math.min(s.newStart+o,c.oldStart+a),newLines:0,lines:[]};ao(l,s.oldStart,s.lines,c.oldStart,c.lines),i++,u++,r.hunks.push(l)}}return r},"V");function Sn(e){return function(t){if(Array.isArray(t))return li(t)}(e)||function(t){if(typeof Symbol<"u"&&Symbol.iterator in Object(t))return Array.from(t)}(e)||function(t,n){if(!!t){if(typeof t=="string")return li(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return li(t,n)}}(e)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
49
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}d(Sn,"$");function li(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}d(li,"q");function pi(e){var t=jt(e.lines),n=t.oldLines,r=t.newLines;n!==void 0?e.oldLines=n:delete e.oldLines,r!==void 0?e.newLines=r:delete e.newLines}d(pi,"W");function di(e,t){if(typeof e=="string"){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,$r.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return(0,Vr.structuredPatch)(void 0,void 0,t,e)}return e}d(di,"U");function uo(e){return e.newFileName&&e.newFileName!==e.oldFileName}d(uo,"z");function Yn(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}d(Yn,"H");function fi(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}d(fi,"G");function io(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}d(io,"J");function ao(e,t,n,r,u){var i={offset:t,lines:n,index:0},o={offset:r,lines:u,index:0};for(hi(e,i,o),hi(e,o,i);i.index<i.lines.length&&o.index<o.lines.length;){var a=i.lines[i.index],s=o.lines[o.index];if(a[0]!=="-"&&a[0]!=="+"||s[0]!=="-"&&s[0]!=="+")if(a[0]==="+"&&s[0]===" "){var c;(c=e.lines).push.apply(c,Sn(Ve(i)))}else if(s[0]==="+"&&a[0]===" "){var l;(l=e.lines).push.apply(l,Sn(Ve(o)))}else a[0]==="-"&&s[0]===" "?Wr(e,i,o):s[0]==="-"&&a[0]===" "?Wr(e,o,i,!0):a===s?(e.lines.push(a),i.index++,o.index++):sn(e,Ve(i),Ve(o));else xn(e,i,o)}Di(e,i),Di(e,o),pi(e)}d(ao,"X");function xn(e,t,n){var r=Ve(t),u=Ve(n);if(Lt(r)&&Lt(u)){var i,o;if((0,si.arrayStartsWith)(r,u)&&mi(n,r,r.length-u.length))return void(i=e.lines).push.apply(i,Sn(r));if((0,si.arrayStartsWith)(u,r)&&mi(t,u,u.length-r.length))return void(o=e.lines).push.apply(o,Sn(u))}else if((0,si.arrayEqual)(r,u)){var a;return void(a=e.lines).push.apply(a,Sn(r))}sn(e,r,u)}d(xn,"Y");function Wr(e,t,n,r){var u,i=Ve(t),o=function(a,s){for(var c=[],l=[],p=0,h=!1,f=!1;p<s.length&&a.index<a.lines.length;){var g=a.lines[a.index],E=s[p];if(E[0]==="+")break;if(h=h||g[0]!==" ",l.push(E),p++,g[0]==="+")for(f=!0;g[0]==="+";)c.push(g),g=a.lines[++a.index];E.substr(1)===g.substr(1)?(c.push(g),a.index++):f=!0}if((s[p]||"")[0]==="+"&&h&&(f=!0),f)return c;for(;p<s.length;)l.push(s[p++]);return{merged:l,changes:c}}(n,i);o.merged?(u=e.lines).push.apply(u,Sn(o.merged)):sn(e,r?o:i,r?i:o)}d(Wr,"K");function sn(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}d(sn,"Q");function hi(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}d(hi,"Z");function Di(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}d(Di,"ee");function Ve(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if(n==="-"&&r[0]==="+"&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}d(Ve,"te");function Lt(e){return e.reduce(function(t,n){return t&&n[0]==="-"},!0)}d(Lt,"ne");function mi(e,t,n){for(var r=0;r<n;r++){var u=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+u)return!1}return e.index+=n,!0}d(mi,"re");function jt(e){var t=0,n=0;return e.forEach(function(r){if(typeof r!="string"){var u=jt(r.mine),i=jt(r.theirs);t!==void 0&&(u.oldLines===i.oldLines?t+=u.oldLines:t=void 0),n!==void 0&&(u.newLines===i.newLines?n+=u.newLines:n=void 0)}else n===void 0||r[0]!=="+"&&r[0]!==" "||n++,t===void 0||r[0]!=="-"&&r[0]!==" "||t++}),{oldLines:t,newLines:n}}d(jt,"oe");var Rt=Object.defineProperty({calcLineCount:jc,merge:ci},"__esModule",{value:!0}),Tn=d(function(e){for(var t,n,r=[],u=0;u<e.length;u++)t=e[u],n=t.added?1:t.removed?-1:0,r.push([n,t.value]);return r},"ue"),Gr=Object.defineProperty({convertChangesToDMP:Tn},"__esModule",{value:!0}),Rc=d(function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];r.added?t.push("<ins>"):r.removed&&t.push("<del>"),t.push(oo(r.value)),r.added?t.push("</ins>"):r.removed&&t.push("</del>")}return t.join("")},"ae");function oo(e){var t=e;return t=(t=(t=(t=t.replace(/&/g,"&")).replace(/</g,"<")).replace(/>/g,">")).replace(/"/g,""")}d(oo,"ce");var so=Object.defineProperty({convertChangesToXML:Rc},"__esModule",{value:!0}),cn=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"diffChars",{enumerable:!0,get:function(){return xc.diffChars}}),Object.defineProperty(t,"diffWords",{enumerable:!0,get:function(){return Ja.diffWords}}),Object.defineProperty(t,"diffWordsWithSpace",{enumerable:!0,get:function(){return Ja.diffWordsWithSpace}}),Object.defineProperty(t,"diffLines",{enumerable:!0,get:function(){return Jn.diffLines}}),Object.defineProperty(t,"diffTrimmedLines",{enumerable:!0,get:function(){return Jn.diffTrimmedLines}}),Object.defineProperty(t,"diffSentences",{enumerable:!0,get:function(){return ii.diffSentences}}),Object.defineProperty(t,"diffCss",{enumerable:!0,get:function(){return wc.diffCss}}),Object.defineProperty(t,"diffJson",{enumerable:!0,get:function(){return Ya.diffJson}}),Object.defineProperty(t,"canonicalize",{enumerable:!0,get:function(){return Ya.canonicalize}}),Object.defineProperty(t,"diffArrays",{enumerable:!0,get:function(){return Nc.diffArrays}}),Object.defineProperty(t,"applyPatch",{enumerable:!0,get:function(){return eo.applyPatch}}),Object.defineProperty(t,"applyPatches",{enumerable:!0,get:function(){return eo.applyPatches}}),Object.defineProperty(t,"parsePatch",{enumerable:!0,get:function(){return $r.parsePatch}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return Rt.merge}}),Object.defineProperty(t,"structuredPatch",{enumerable:!0,get:function(){return Vr.structuredPatch}}),Object.defineProperty(t,"createTwoFilesPatch",{enumerable:!0,get:function(){return Vr.createTwoFilesPatch}}),Object.defineProperty(t,"createPatch",{enumerable:!0,get:function(){return Vr.createPatch}}),Object.defineProperty(t,"convertChangesToDMP",{enumerable:!0,get:function(){return Gr.convertChangesToDMP}}),Object.defineProperty(t,"convertChangesToXML",{enumerable:!0,get:function(){return so.convertChangesToXML}});var n=function(r){return r&&r.__esModule?r:{default:r}}(lt)});function Hr(e){return{type:"concat",parts:e}}d(Hr,"fe");function co(e){return{type:"indent",contents:e}}d(co,"de");function wn(e,t){return{type:"align",contents:t,n:e}}d(wn,"he");function lo(e,t={}){return{type:"group",id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}d(lo,"me");let gi={type:"break-parent"},po={type:"line",hard:!0},fo={type:"line",hard:!0,literal:!0},Nn=Hr([po,gi]),Mc=Hr([fo,gi]);var yi={concat:Hr,join:function(e,t){let n=[];for(let r=0;r<t.length;r++)r!==0&&n.push(e),n.push(t[r]);return Hr(n)},line:{type:"line"},softline:{type:"line",soft:!0},hardline:Nn,literalline:Mc,group:lo,conditionalGroup:function(e,t){return lo(e[0],Object.assign({},t,{expandedStates:e}))},fill:function(e){return{type:"fill",parts:e}},lineSuffix:function(e){return{type:"line-suffix",contents:e}},lineSuffixBoundary:{type:"line-suffix-boundary"},cursor:{type:"cursor",placeholder:Symbol("cursor")},breakParent:gi,ifBreak:function(e,t,n={}){return{type:"if-break",breakContents:e,flatContents:t,groupId:n.groupId}},trim:{type:"trim"},indent:co,indentIfBreak:function(e,t){return{type:"indent-if-break",contents:e,groupId:t.groupId,negate:t.negate}},align:wn,addAlignmentToDoc:function(e,t,n){let r=e;if(t>0){for(let u=0;u<Math.floor(t/n);++u)r=co(r);r=wn(t%n,r),r=wn(Number.NEGATIVE_INFINITY,r)}return r},markAsRoot:function(e){return wn({type:"root"},e)},dedentToRoot:function(e){return wn(Number.NEGATIVE_INFINITY,e)},dedent:function(e){return wn(-1,e)},hardlineWithoutBreakParent:po,literallineWithoutBreakParent:fo,label:function(e,t){return{type:"label",label:e,contents:t}}},zr=d(e=>typeof e=="string"?e.replace((({onlyFirst:t=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,t?void 0:"g")})(),""):e,"ve");let Bn=d(e=>!Number.isNaN(e)&&e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141),"Ae");var Ei=Bn,qc=Bn;Ei.default=qc;let ho=d(e=>{if(typeof e!="string"||e.length===0||(e=zr(e)).length===0)return 0;e=e.replace(/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g," ");let t=0;for(let n=0;n<e.length;n++){let r=e.codePointAt(n);r<=31||r>=127&&r<=159||r>=768&&r<=879||(r>65535&&n++,t+=Ei(r)?2:1)}return t},"Se");var Do=ho,mo=ho;Do.default=mo;var bi=d(e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")},"Be"),be=d(e=>e[e.length-1],"ke"),Xr=d(function(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var u=e[t];r[u[0]]=u[1]}return r},"Ne"),Re=Re!==void 0?Re:typeof self<"u"?self:typeof window<"u"?window:{};function Ci(){throw new Error("setTimeout has not been defined")}d(Ci,"Oe");function vi(){throw new Error("clearTimeout has not been defined")}d(vi,"Ie");var it=Ci,ln=vi;function Ai(e){if(it===setTimeout)return setTimeout(e,0);if((it===Ci||!it)&&setTimeout)return it=setTimeout,setTimeout(e,0);try{return it(e,0)}catch{try{return it.call(null,e,0)}catch{return it.call(this,e,0)}}}d(Ai,"_e"),typeof Re.setTimeout=="function"&&(it=setTimeout),typeof Re.clearTimeout=="function"&&(ln=clearTimeout);var Mt,qt=[],pn=!1,Kn=-1;function go(){pn&&Mt&&(pn=!1,Mt.length?qt=Mt.concat(qt):Kn=-1,qt.length&&Fi())}d(go,"qe");function Fi(){if(!pn){var e=Ai(go);pn=!0;for(var t=qt.length;t;){for(Mt=qt,qt=[];++Kn<t;)Mt&&Mt[Kn].run();Kn=-1,t=qt.length}Mt=null,pn=!1,function(n){if(ln===clearTimeout)return clearTimeout(n);if((ln===vi||!ln)&&clearTimeout)return ln=clearTimeout,clearTimeout(n);try{ln(n)}catch{try{return ln.call(null,n)}catch{return ln.call(this,n)}}}(e)}}d(Fi,"We");function Si(e,t){this.fun=e,this.array=t}d(Si,"Ue"),Si.prototype.run=function(){this.fun.apply(null,this.array)};function Yt(){}d(Yt,"ze");var $c=Yt,Vc=Yt,Uc=Yt,kn=Yt,xi=Yt,Jr=Yt,Yr=Yt,Ue=Re.performance||{},dn=Ue.now||Ue.mozNow||Ue.msNow||Ue.oNow||Ue.webkitNow||function(){return new Date().getTime()},Wc=new Date,De={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];qt.push(new Si(e,t)),qt.length!==1||pn||Ai(Fi)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:$c,addListener:Vc,once:Uc,off:kn,removeListener:xi,removeAllListeners:Jr,emit:Yr,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*dn.call(Ue),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-Wc)/1e3}},Qn=typeof De=="object"&&De.env&&De.env.NODE_DEBUG&&/\bsemver\b/i.test(De.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{},yo={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16},Gc=ce(function(e,t){let{MAX_SAFE_COMPONENT_LENGTH:n}=yo,r=(t=e.exports={}).re=[],u=t.src=[],i=t.t={},o=0,a=d((s,c,l)=>{let p=o++;Qn(p,c),i[s]=p,u[p]=c,r[p]=new RegExp(c,l?"g":void 0)},"s4");a("NUMERICIDENTIFIER","0|[1-9]\\d*"),a("NUMERICIDENTIFIERLOOSE","[0-9]+"),a("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),a("MAINVERSION","(".concat(u[i.NUMERICIDENTIFIER],")\\.")+"(".concat(u[i.NUMERICIDENTIFIER],")\\.")+"(".concat(u[i.NUMERICIDENTIFIER],")")),a("MAINVERSIONLOOSE","(".concat(u[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[i.NUMERICIDENTIFIERLOOSE],")\\.")+"(".concat(u[i.NUMERICIDENTIFIERLOOSE],")")),a("PRERELEASEIDENTIFIER","(?:".concat(u[i.NUMERICIDENTIFIER],"|").concat(u[i.NONNUMERICIDENTIFIER],")")),a("PRERELEASEIDENTIFIERLOOSE","(?:".concat(u[i.NUMERICIDENTIFIERLOOSE],"|").concat(u[i.NONNUMERICIDENTIFIER],")")),a("PRERELEASE","(?:-(".concat(u[i.PRERELEASEIDENTIFIER],"(?:\\.").concat(u[i.PRERELEASEIDENTIFIER],")*))")),a("PRERELEASELOOSE","(?:-?(".concat(u[i.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(u[i.PRERELEASEIDENTIFIERLOOSE],")*))")),a("BUILDIDENTIFIER","[0-9A-Za-z-]+"),a("BUILD","(?:\\+(".concat(u[i.BUILDIDENTIFIER],"(?:\\.").concat(u[i.BUILDIDENTIFIER],")*))")),a("FULLPLAIN","v?".concat(u[i.MAINVERSION]).concat(u[i.PRERELEASE],"?").concat(u[i.BUILD],"?")),a("FULL","^".concat(u[i.FULLPLAIN],"$")),a("LOOSEPLAIN","[v=\\s]*".concat(u[i.MAINVERSIONLOOSE]).concat(u[i.PRERELEASELOOSE],"?").concat(u[i.BUILD],"?")),a("LOOSE","^".concat(u[i.LOOSEPLAIN],"$")),a("GTLT","((?:<|>)?=?)"),a("XRANGEIDENTIFIERLOOSE","".concat(u[i.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),a("XRANGEIDENTIFIER","".concat(u[i.NUMERICIDENTIFIER],"|x|X|\\*")),a("XRANGEPLAIN","[v=\\s]*(".concat(u[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[i.XRANGEIDENTIFIER],")")+"(?:\\.(".concat(u[i.XRANGEIDENTIFIER],")")+"(?:".concat(u[i.PRERELEASE],")?").concat(u[i.BUILD],"?")+")?)?"),a("XRANGEPLAINLOOSE","[v=\\s]*(".concat(u[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[i.XRANGEIDENTIFIERLOOSE],")")+"(?:\\.(".concat(u[i.XRANGEIDENTIFIERLOOSE],")")+"(?:".concat(u[i.PRERELEASELOOSE],")?").concat(u[i.BUILD],"?")+")?)?"),a("XRANGE","^".concat(u[i.GTLT],"\\s*").concat(u[i.XRANGEPLAIN],"$")),a("XRANGELOOSE","^".concat(u[i.GTLT],"\\s*").concat(u[i.XRANGEPLAINLOOSE],"$")),a("COERCE","".concat("(^|[^\\d])(\\d{1,").concat(n,"})")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:\\.(\\d{1,".concat(n,"}))?")+"(?:$|[^\\d])"),a("COERCERTL",u[i.COERCE],!0),a("LONETILDE","(?:~>?)"),a("TILDETRIM","(\\s*)".concat(u[i.LONETILDE],"\\s+"),!0),t.tildeTrimReplace="$1~",a("TILDE","^".concat(u[i.LONETILDE]).concat(u[i.XRANGEPLAIN],"$")),a("TILDELOOSE","^".concat(u[i.LONETILDE]).concat(u[i.XRANGEPLAINLOOSE],"$")),a("LONECARET","(?:\\^)"),a("CARETTRIM","(\\s*)".concat(u[i.LONECARET],"\\s+"),!0),t.caretTrimReplace="$1^",a("CARET","^".concat(u[i.LONECARET]).concat(u[i.XRANGEPLAIN],"$")),a("CARETLOOSE","^".concat(u[i.LONECARET]).concat(u[i.XRANGEPLAINLOOSE],"$")),a("COMPARATORLOOSE","^".concat(u[i.GTLT],"\\s*(").concat(u[i.LOOSEPLAIN],")$|^$")),a("COMPARATOR","^".concat(u[i.GTLT],"\\s*(").concat(u[i.FULLPLAIN],")$|^$")),a("COMPARATORTRIM","(\\s*)".concat(u[i.GTLT],"\\s*(").concat(u[i.LOOSEPLAIN],"|").concat(u[i.XRANGEPLAIN],")"),!0),t.comparatorTrimReplace="$1$2$3",a("HYPHENRANGE","^\\s*(".concat(u[i.XRANGEPLAIN],")")+"\\s+-\\s+"+"(".concat(u[i.XRANGEPLAIN],")")+"\\s*$"),a("HYPHENRANGELOOSE","^\\s*(".concat(u[i.XRANGEPLAINLOOSE],")")+"\\s+-\\s+"+"(".concat(u[i.XRANGEPLAINLOOSE],")")+"\\s*$"),a("STAR","(<|>)?=?\\s*\\*"),a("GTE0","^\\s*>=\\s*0.0.0\\s*$"),a("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")});let Hc=["includePrerelease","loose","rtl"];var zc=d(e=>e?typeof e!="object"?{loose:!0}:Hc.filter(t=>e[t]).reduce((t,n)=>(t[n]=!0,t),{}):{},"st");let _n=/^[0-9]+$/,Eo=d((e,t)=>{let n=_n.test(e),r=_n.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},"ct");var fn={compareIdentifiers:Eo,rcompareIdentifiers:(e,t)=>Eo(t,e)};let{MAX_LENGTH:Ti,MAX_SAFE_INTEGER:Zn}=yo,{re:Kr,t:Qr}=Gc,{compareIdentifiers:Ct}=fn;var wi=d(class on{constructor(t,n){if(n=zc(n),t instanceof on){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError("Invalid Version: ".concat(t));if(t.length>Ti)throw new TypeError("version is longer than ".concat(Ti," characters"));Qn("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let r=t.trim().match(n.loose?Kr[Qr.LOOSE]:Kr[Qr.FULL]);if(!r)throw new TypeError("Invalid Version: ".concat(t));if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>Zn||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Zn||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Zn||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(u=>{if(/^[0-9]+$/.test(u)){let i=+u;if(i>=0&&i<Zn)return i}return u}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(t){if(Qn("SemVer.compare",this.version,this.options,t),!(t instanceof on)){if(typeof t=="string"&&t===this.version)return 0;t=new on(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof on||(t=new on(t,this.options)),Ct(this.major,t.major)||Ct(this.minor,t.minor)||Ct(this.patch,t.patch)}comparePre(t){if(t instanceof on||(t=new on(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{let r=this.prerelease[n],u=t.prerelease[n];if(Qn("prerelease compare",n,r,u),r===void 0&&u===void 0)return 0;if(u===void 0)return 1;if(r===void 0)return-1;if(r!==u)return Ct(r,u)}while(++n)}compareBuild(t){t instanceof on||(t=new on(t,this.options));let n=0;do{let r=this.build[n],u=t.build[n];if(Qn("prerelease compare",n,r,u),r===void 0&&u===void 0)return 0;if(u===void 0)return 1;if(r===void 0)return-1;if(r!==u)return Ct(r,u)}while(++n)}inc(t,n){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n),this.inc("pre",n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n),this.inc("pre",n);break;case"major":this.minor===0&&this.patch===0&&this.prerelease.length!==0||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":this.patch===0&&this.prerelease.length!==0||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]=="number"&&(this.prerelease[r]++,r=-2);r===-1&&this.prerelease.push(0)}n&&(this.prerelease[0]===n?isNaN(this.prerelease[1])&&(this.prerelease=[n,0]):this.prerelease=[n,0]);break;default:throw new Error("invalid increment argument: ".concat(t))}return this.format(),this.raw=this.version,this}},"gt"),Zr=d((e,t,n)=>new wi(e,n).compare(new wi(t,n)),"Dt"),bo=d((e,t,n)=>Zr(e,t,n)<0,"Et"),Ni,Bi,ki,eu,tu,Co,Jc=d((e,t,n)=>Zr(e,t,n)>=0,"St"),_i=ce(function(e,t){function n(){for(var C=[],A=0;A<arguments.length;A++)C[A]=arguments[A]}d(n,"n17");function r(){return typeof WeakMap<"u"?new WeakMap:{add:n,delete:n,get:n,set:n,has:function(C){return!1}}}d(r,"r8"),Object.defineProperty(t,"__esModule",{value:!0}),t.outdent=void 0;var u=Object.prototype.hasOwnProperty,i=d(function(C,A){return u.call(C,A)},"i5");function o(C,A){for(var v in A)i(A,v)&&(C[v]=A[v]);return C}d(o,"u5");var a=/^[ \t]*(?:\r\n|\r|\n)/,s=/(?:\r\n|\r|\n)[ \t]*$/,c=/^(?:[\r\n]|$)/,l=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,p=/^[ \t]*[\r\n][ \t\r\n]*$/;function h(C,A,v){var S=0,_=C[0].match(l);_&&(S=_[1].length);var w=new RegExp("(\\r\\n|\\r|\\n).{0,"+S+"}","g");A&&(C=C.slice(1));var B=v.newline,O=v.trimLeadingNewline,H=v.trimTrailingNewline,X=typeof B=="string",$=C.length;return C.map(function(U,K){return U=U.replace(w,"$1"),K===0&&O&&(U=U.replace(a,"")),K===$-1&&H&&(U=U.replace(s,"")),X&&(U=U.replace(/\r\n|\n|\r/g,function(re){return B})),U})}d(h,"f2");function f(C,A){for(var v="",S=0,_=C.length;S<_;S++)v+=C[S],S<_-1&&(v+=A[S]);return v}d(f,"d3");function g(C){return i(C,"raw")&&i(C,"length")}d(g,"h");var E=d(function C(A){var v=r(),S=r();return o(d(function _(w){for(var B=[],O=1;O<arguments.length;O++)B[O-1]=arguments[O];if(g(w)){var H=w,X=(B[0]===_||B[0]===E)&&p.test(H[0])&&c.test(H[1]),$=X?S:v,U=$.get(H);if(U||(U=h(H,X,A),$.set(H,U)),B.length===0)return U[0];var K=f(U,X?B.slice(1):B);return K}return C(o(o({},A),w||{}))},"r"),{string:function(_){return h([_],!1,A)[0]}})},"e41")({trimLeadingNewline:!0,trimTrailingNewline:!0});t.outdent=E,t.default=E;try{e.exports=E,Object.defineProperty(E,"__esModule",{value:!0}),E.default=E,E.outdent=E}catch{}});let{outdent:Pn}=_i,Pi="Config",nu="Editor",ru="Other",$t="Global",hn="Special",Yc={cursorOffset:{since:"1.4.0",category:hn,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Pn(Ni||(Ni=me([`
|
|
50
|
+
Print (to stderr) where a cursor at the given position would move to after formatting.
|
|
51
|
+
This option cannot be used with --range-start and --range-end.
|
|
52
|
+
`]))),cliCategory:nu},endOfLine:{since:"1.15.0",category:$t,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:Pn(Bi||(Bi=me([`
|
|
53
|
+
Maintain existing
|
|
54
|
+
(mixed values within one file are normalised by looking at what's used after the first line)
|
|
55
|
+
`])))}]},filepath:{since:"1.4.0",category:hn,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:ru,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:hn,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:ru},parser:{since:"0.0.10",category:$t,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>typeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:$t,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:Pi},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:$t,description:Pn(ki||(ki=me([`
|
|
56
|
+
Custom directory that contains prettier plugins in node_modules subdirectory.
|
|
57
|
+
Overrides default behavior when plugins are searched relatively to the location of Prettier.
|
|
58
|
+
Multiple values are accepted.
|
|
59
|
+
`]))),exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin-search-dir",cliCategory:Pi},printWidth:{since:"0.0.0",category:$t,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:hn,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Pn(eu||(eu=me([`
|
|
60
|
+
Format code ending at a given character offset (exclusive).
|
|
61
|
+
The range will extend forwards to the end of the selected statement.
|
|
62
|
+
This option cannot be used with --cursor-offset.
|
|
63
|
+
`]))),cliCategory:nu},rangeStart:{since:"1.4.0",category:hn,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Pn(tu||(tu=me([`
|
|
64
|
+
Format code starting at a given character offset.
|
|
65
|
+
The range will extend backwards to the start of the first line containing the selected statement.
|
|
66
|
+
This option cannot be used with --cursor-offset.
|
|
67
|
+
`]))),cliCategory:nu},requirePragma:{since:"1.7.0",category:hn,type:"boolean",default:!1,description:Pn(Co||(Co=me([`
|
|
68
|
+
Require either '@prettier' or '@format' to be present in the file's first docblock comment
|
|
69
|
+
in order for it to be formatted.
|
|
70
|
+
`]))),cliCategory:ru},tabWidth:{type:"int",category:$t,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:$t,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:$t,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},uu={compare:Zr,lt:bo,gte:Jc},vo=zn.version,Ao=Yc;var iu={getSupportInfo:function({plugins:e=[],showUnreleased:t=!1,showDeprecated:n=!1,showInternal:r=!1}={}){let u=vo.split("-",1)[0],i=e.reduce((c,l)=>[...c,...l.languages||[]],[]).filter(a),o=((c,l)=>Object.entries(c).map(([p,h])=>Object.assign({[l]:p},h)))(Object.assign({},...e.map(({options:c})=>c),Ao),"name").filter(c=>a(c)&&s(c)).sort((c,l)=>c.name===l.name?0:c.name<l.name?-1:1).map(function(c){return r?c:we(c,["cliName","cliCategory","cliDescription"])}).map(c=>{c=Object.assign({},c),Array.isArray(c.default)&&(c.default=c.default.length===1?c.default[0].value:c.default.filter(a).sort((p,h)=>uu.compare(h.since,p.since))[0].value),Array.isArray(c.choices)&&(c.choices=c.choices.filter(p=>a(p)&&s(p)),c.name==="parser"&&function(p,h,f){let g=new Set(p.choices.map(E=>E.value));for(let E of h)if(E.parsers){for(let C of E.parsers)if(!g.has(C)){g.add(C);let A=f.find(S=>S.parsers&&S.parsers[C]),v=E.name;A&&A.name&&(v+=" (plugin: ".concat(A.name,")")),p.choices.push({value:C,description:v})}}}(c,i,e));let l=Xr(e.filter(p=>p.defaultOptions&&p.defaultOptions[c.name]!==void 0).map(p=>[p.name,p.defaultOptions[c.name]]));return Object.assign({},c,{pluginDefaults:l})});return{languages:i,options:o};function a(c){return t||!("since"in c)||c.since&&uu.gte(u,c.since)}function s(c){return n||!("deprecated"in c)||c.deprecated&&uu.lt(u,c.deprecated)}}};let{getSupportInfo:Dn}=iu,Fo=/[^\x20-\x7F]/;function On(e){return(t,n,r)=>{let u=r&&r.backwards;if(n===!1)return!1;let{length:i}=t,o=n;for(;o>=0&&o<i;){let a=t.charAt(o);if(e instanceof RegExp){if(!e.test(a))return o}else if(!e.includes(a))return o;u?o--:o++}return(o===-1||o===i)&&o}}d(On,"$t");let So=On(/\s/),Kt=On(" "),Oi=On(",; "),Ii=On(/[^\n\r]/);function au(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let n=t+2;n<e.length;++n)if(e.charAt(n)==="*"&&e.charAt(n+1)==="/")return n+2}return t}d(au,"Ht");function ou(e,t){return t!==!1&&(e.charAt(t)==="/"&&e.charAt(t+1)==="/"?Ii(e,t):t)}d(ou,"Gt");function vt(e,t,n){let r=n&&n.backwards;if(t===!1)return!1;let u=e.charAt(t);if(r){if(e.charAt(t-1)==="\r"&&u===`
|
|
71
|
+
`)return t-2;if(u===`
|
|
72
|
+
`||u==="\r"||u==="\u2028"||u==="\u2029")return t-1}else{if(u==="\r"&&e.charAt(t+1)===`
|
|
73
|
+
`)return t+2;if(u===`
|
|
74
|
+
`||u==="\r"||u==="\u2028"||u==="\u2029")return t+1}return t}d(vt,"Jt");function mn(e,t,n={}){let r=Kt(e,n.backwards?t-1:t,n);return r!==vt(e,r,n)}d(mn,"Xt");function er(e,t){let n=null,r=t;for(;r!==n;)n=r,r=Oi(e,r),r=au(e,r),r=Kt(e,r);return r=ou(e,r),r=vt(e,r),r!==!1&&mn(e,r)}d(er,"Yt");function su(e,t){let n=null,r=t;for(;r!==n;)n=r,r=Kt(e,r),r=au(e,r),r=ou(e,r),r=vt(e,r);return r}d(su,"Kt");function xo(e,t,n){return su(e,n(t))}d(xo,"Qt");function tr(e,t,n=0){let r=0;for(let u=n;u<e.length;++u)e[u]===" "?r=r+t-r%t:r++;return r}d(tr,"Zt");function cu(e,t){let n=e.slice(1,-1),r={quote:'"',regex:/"/g},u={quote:"'",regex:/'/g},i=t==="'"?u:r,o=i===u?r:u,a=i.quote;return(n.includes(i.quote)||n.includes(o.quote))&&(a=(n.match(i.regex)||[]).length>(n.match(o.regex)||[]).length?o.quote:i.quote),a}d(cu,"en");function lu(e,t,n){let r=t==='"'?"'":'"',u=e.replace(/\\([\S\s])|(["'])/g,(i,o,a)=>o===r?o:a===t?"\\"+a:a||(n&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(o)?o:"\\"+o));return t+u+t}d(lu,"tn");function Li(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=function(n){let r=n.type||n.kind||"(unknown type)",u=String(n.name||n.id&&(typeof n.id=="object"?n.id.name:n.id)||n.key&&(typeof n.key=="object"?n.key.name:n.key)||n.value&&(typeof n.value=="object"?"":String(n.value))||n.operator||"");return u.length>20&&(u=u.slice(0,19)+"\u2026"),r+(u?" "+u:"")}(e)}d(Li,"nn");var ue={inferParserByLanguage:function(e,t){let{languages:n}=Dn({plugins:t.plugins}),r=n.find(({name:u})=>u.toLowerCase()===e)||n.find(({aliases:u})=>Array.isArray(u)&&u.includes(e))||n.find(({extensions:u})=>Array.isArray(u)&&u.includes(".".concat(e)));return r&&r.parsers[0]},replaceEndOfLineWith:function(e,t){let n=[];for(let r of e.split(`
|
|
75
|
+
`))n.length>0&&n.push(t),n.push(r);return n},getStringWidth:function(e){return e?Fo.test(e)?Do(e):e.length:0},getMaxContinuousCount:function(e,t){let n=e.match(new RegExp("(".concat(bi(t),")+"),"g"));return n===null?0:n.reduce((r,u)=>Math.max(r,u.length/t.length),0)},getMinNotPresentContinuousCount:function(e,t){let n=e.match(new RegExp("(".concat(bi(t),")+"),"g"));if(n===null)return 0;let r=new Map,u=0;for(let i of n){let o=i.length/t.length;r.set(o,!0),o>u&&(u=o)}for(let i=1;i<u;i++)if(!r.get(i))return i;return u+1},getPenultimate:e=>e[e.length-2],getLast:be,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:su,getNextNonSpaceNonCommentCharacterIndex:xo,getNextNonSpaceNonCommentCharacter:function(e,t,n){return e.charAt(xo(e,t,n))},skip:On,skipWhitespace:So,skipSpaces:Kt,skipToLineEnd:Oi,skipEverythingButNewLine:Ii,skipInlineComment:au,skipTrailingComment:ou,skipNewline:vt,isNextLineEmptyAfterIndex:er,isNextLineEmpty:function(e,t,n){return er(e,n(t))},isPreviousLineEmpty:function(e,t,n){let r=n(t)-1;return r=Kt(e,r,{backwards:!0}),r=vt(e,r,{backwards:!0}),r=Kt(e,r,{backwards:!0}),r!==vt(e,r,{backwards:!0})},hasNewline:mn,hasNewlineInRange:function(e,t,n){for(let r=t;r<n;++r)if(e.charAt(r)===`
|
|
76
|
+
`)return!0;return!1},hasSpaces:function(e,t,n={}){return Kt(e,n.backwards?t-1:t,n)!==t},getAlignmentSize:tr,getIndentSize:function(e,t){let n=e.lastIndexOf(`
|
|
77
|
+
`);return n===-1?0:tr(e.slice(n+1).match(/^[\t ]*/)[0],t)},getPreferredQuote:cu,printString:function(e,t){return lu(e.slice(1,-1),t.parser==="json"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":cu(e,t.singleQuote?"'":'"'),!(t.parser==="css"||t.parser==="less"||t.parser==="scss"||t.__embeddedInHtml))},printNumber:function(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")},makeString:lu,addLeadingComment:function(e,t){t.leading=!0,t.trailing=!1,Li(e,t)},addDanglingComment:function(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),Li(e,t)},addTrailingComment:function(e,t){t.leading=!1,t.trailing=!0,Li(e,t)},isFrontMatterNode:function(e){return e&&e.type==="front-matter"},getShebang:function(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(`
|
|
78
|
+
`);return t===-1?e:e.slice(0,t)},isNonEmptyArray:function(e){return Array.isArray(e)&&e.length>0},createGroupIdMapper:function(e){let t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}},pu={guessEndOfLine:function(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===`
|
|
79
|
+
`?"crlf":"cr":"lf"},convertEndOfLineToChars:function(e){switch(e){case"cr":return"\r";case"crlf":return`\r
|
|
80
|
+
`;default:return`
|
|
81
|
+
`}},countEndOfLineChars:function(e,t){let n;if(t===`
|
|
82
|
+
`)n=/\n/g;else if(t==="\r")n=/\r/g;else{if(t!==`\r
|
|
83
|
+
`)throw new Error('Unexpected "eol" '.concat(JSON.stringify(t),"."));n=/\r\n/g}let r=e.match(n);return r?r.length:0},normalizeEndOfLine:function(e){return e.replace(/\r\n?/g,`
|
|
84
|
+
`)}};let{literalline:ji}=yi,In=d(e=>Array.isArray(e)||e&&e.type==="concat","sn"),Ln=d(e=>{if(Array.isArray(e))return e;if(e.type!=="concat"&&e.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return e.parts},"an"),du={};function Ri(e,t,n,r){let u=[e];for(;u.length>0;){let i=u.pop();if(i!==du){if(n&&u.push(i,du),!t||t(i)!==!1)if(In(i)||i.type==="fill"){let o=Ln(i);for(let a=o.length-1;a>=0;--a)u.push(o[a])}else if(i.type==="if-break")i.flatContents&&u.push(i.flatContents),i.breakContents&&u.push(i.breakContents);else if(i.type==="group"&&i.expandedStates)if(r)for(let o=i.expandedStates.length-1;o>=0;--o)u.push(i.expandedStates[o]);else u.push(i.contents);else i.contents&&u.push(i.contents)}else n(u.pop())}}d(Ri,"ln");function gn(e,t){let n=new Map;return r(e);function r(u){if(n.has(u))return n.get(u);let i=function(o){if(Array.isArray(o))return t(o.map(r));if(o.type==="concat"||o.type==="fill"){let a=o.parts.map(r);return t(Object.assign({},o,{parts:a}))}if(o.type==="if-break"){let a=o.breakContents&&r(o.breakContents),s=o.flatContents&&r(o.flatContents);return t(Object.assign({},o,{breakContents:a,flatContents:s}))}if(o.type==="group"&&o.expandedStates){let a=o.expandedStates.map(r),s=a[0];return t(Object.assign({},o,{contents:s,expandedStates:a}))}if(o.contents){let a=r(o.contents);return t(Object.assign({},o,{contents:a}))}return t(o)}(u);return n.set(u,i),i}}d(gn,"pn");function To(e,t,n){let r=n,u=!1;return Ri(e,function(i){let o=t(i);if(o!==void 0&&(u=!0,r=o),u)return!1}),r}d(To,"fn");function Kc(e){return!(e.type!=="group"||!e.break)||!(e.type!=="line"||!e.hard)||e.type==="break-parent"||void 0}d(Kc,"dn");function wo(e){if(e.length>0){let t=be(e);t.expandedStates||t.break||(t.break="propagated")}return null}d(wo,"hn");function ke(e){return e.type!=="line"||e.hard?e.type==="if-break"?e.flatContents||"":e:e.soft?"":" "}d(ke,"mn");let oe=d((e,t)=>e&&e.type==="line"&&e.hard&&t&&t.type==="break-parent","gn");function nr(e){if(!e)return e;if(In(e)||e.type==="fill"){let t=Ln(e);for(;t.length>1&&oe(...t.slice(-2));)t.length-=2;if(t.length>0){let n=nr(be(t));t[t.length-1]=n}return Array.isArray(e)?t:Object.assign({},e,{parts:t})}switch(e.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let t=nr(e.contents);return Object.assign({},e,{contents:t})}case"if-break":{let t=nr(e.breakContents),n=nr(e.flatContents);return Object.assign({},e,{breakContents:t,flatContents:n})}}return e}d(nr,"yn");function Mi(e){return gn(e,t=>function(n){switch(n.type){case"fill":if(n.parts.length===0||n.parts.every(u=>u===""))return"";break;case"group":if(!(n.contents||n.id||n.break||n.expandedStates))return"";if(n.contents.type==="group"&&n.contents.id===n.id&&n.contents.break===n.break&&n.contents.expandedStates===n.expandedStates)return n.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!n.contents)return"";break;case"if-break":if(!n.flatContents&&!n.breakContents)return""}if(!In(n))return n;let r=[];for(let u of Ln(n)){if(!u)continue;let[i,...o]=In(u)?Ln(u):[u];typeof i=="string"&&typeof be(r)=="string"?r[r.length-1]+=i:r.push(i),r.push(...o)}return r.length===0?"":r.length===1?r[0]:Array.isArray(n)?r:Object.assign({},n,{parts:r})}(t))}d(Mi,"Dn");function rr(e){let t=[],n=e.filter(Boolean);for(;n.length>0;){let r=n.shift();r&&(In(r)?n.unshift(...Ln(r)):t.length>0&&typeof be(t)=="string"&&typeof r=="string"?t[t.length-1]+=r:t.push(r))}return t}d(rr,"En");var qi={isConcat:In,getDocParts:Ln,willBreak:function(e){return To(e,Kc,!1)},traverseDoc:Ri,findInDoc:To,mapDoc:gn,propagateBreaks:function(e){let t=new Set,n=[];Ri(e,function(r){if(r.type==="break-parent"&&wo(n),r.type==="group"){if(n.push(r),t.has(r))return!1;t.add(r)}},function(r){r.type==="group"&&n.pop().break&&wo(n)},!0)},removeLines:function(e){return gn(e,ke)},stripTrailingHardline:function(e){return nr(Mi(e))},normalizeParts:rr,normalizeDoc:function(e){return gn(e,t=>Array.isArray(t)?rr(t):t.parts?Object.assign({},t,{parts:rr(t.parts)}):t)},cleanDoc:Mi,replaceNewlinesWithLiterallines:function(e){return gn(e,t=>typeof t=="string"&&t.includes(`
|
|
85
|
+
`)?t.split(/(\n)/g).map((n,r)=>r%2==0?n:ji):t)}};let{getStringWidth:$i,getLast:Qt}=ue,{convertEndOfLineToChars:Qc}=pu,{fill:Zc,cursor:Vi,indent:fu}=yi,{isConcat:No,getDocParts:Bo}=qi,jn;function ko(e,t){return Ui(e,{type:"indent"},t)}d(ko,"kn");function _o(e,t,n){return t===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t<0?Ui(e,{type:"dedent"},n):t?t.type==="root"?Object.assign({},e,{root:e}):Ui(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},n):e}d(_o,"Nn");function Ui(e,t,n){let r=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],u="",i=0,o=0,a=0;for(let f of r)switch(f.type){case"indent":l(),n.useTabs?s(1):c(n.tabWidth);break;case"stringAlign":l(),u+=f.n,i+=f.n.length;break;case"numberAlign":o+=1,a+=f.n;break;default:throw new Error("Unexpected type '".concat(f.type,"'"))}return p(),Object.assign({},e,{value:u,length:i,queue:r});function s(f){u+=" ".repeat(f),i+=n.tabWidth*f}function c(f){u+=" ".repeat(f),i+=f}function l(){n.useTabs?function(){o>0&&s(o),h()}():p()}function p(){a>0&&c(a),h()}function h(){o=0,a=0}}d(Ui,"Pn");function ur(e){if(e.length===0)return 0;let t=0;for(;e.length>0&&typeof Qt(e)=="string"&&/^[\t ]*$/.test(Qt(e));)t+=e.pop().length;if(e.length>0&&typeof Qt(e)=="string"){let n=Qt(e).replace(/[\t ]*$/,"");t+=Qt(e).length-n.length,e[e.length-1]=n}return t}d(ur,"On");function hu(e,t,n,r,u,i){let o=t.length,a=[e],s=[];for(;n>=0;){if(a.length===0){if(o===0)return!0;a.push(t[o-1]),o--;continue}let[c,l,p]=a.pop();if(typeof p=="string")s.push(p),n-=$i(p);else if(No(p)){let h=Bo(p);for(let f=h.length-1;f>=0;f--)a.push([c,l,h[f]])}else switch(p.type){case"indent":a.push([ko(c,r),l,p.contents]);break;case"align":a.push([_o(c,p.n,r),l,p.contents]);break;case"trim":n+=ur(s);break;case"group":{if(i&&p.break)return!1;let h=p.break?1:l;a.push([c,h,p.expandedStates&&h===1?Qt(p.expandedStates):p.contents]),p.id&&(jn[p.id]=h);break}case"fill":for(let h=p.parts.length-1;h>=0;h--)a.push([c,l,p.parts[h]]);break;case"if-break":case"indent-if-break":{let h=p.groupId?jn[p.groupId]:l;if(h===1){let f=p.type==="if-break"?p.breakContents:p.negate?p.contents:fu(p.contents);f&&a.push([c,l,f])}if(h===2){let f=p.type==="if-break"?p.flatContents:p.negate?fu(p.contents):p.contents;f&&a.push([c,l,f])}break}case"line":switch(l){case 2:if(!p.hard){p.soft||(s.push(" "),n-=1);break}return!0;case 1:return!0}break;case"line-suffix":u=!0;break;case"line-suffix-boundary":if(u)return!1;break;case"label":a.push([c,l,p.contents])}}return!1}d(hu,"In");var Po={printDocToString:function(e,t){jn={};let n=t.printWidth,r=Qc(t.endOfLine),u=0,i=[[{value:"",length:0,queue:[]},1,e]],o=[],a=!1,s=[];for(;i.length>0;){let[l,p,h]=i.pop();if(typeof h=="string"){let f=r!==`
|
|
86
|
+
`?h.replace(/\n/g,r):h;o.push(f),u+=$i(f)}else if(No(h)){let f=Bo(h);for(let g=f.length-1;g>=0;g--)i.push([l,p,f[g]])}else switch(h.type){case"cursor":o.push(Vi.placeholder);break;case"indent":i.push([ko(l,t),p,h.contents]);break;case"align":i.push([_o(l,h.n,t),p,h.contents]);break;case"trim":u-=ur(o);break;case"group":switch(p){case 2:if(!a){i.push([l,h.break?1:2,h.contents]);break}case 1:{a=!1;let f=[l,2,h.contents],g=n-u,E=s.length>0;if(!h.break&&hu(f,i,g,t,E))i.push(f);else if(h.expandedStates){let C=Qt(h.expandedStates);if(h.break){i.push([l,1,C]);break}for(let A=1;A<h.expandedStates.length+1;A++){if(A>=h.expandedStates.length){i.push([l,1,C]);break}{let v=[l,2,h.expandedStates[A]];if(hu(v,i,g,t,E)){i.push(v);break}}}}else i.push([l,1,h.contents]);break}}h.id&&(jn[h.id]=Qt(i)[1]);break;case"fill":{let f=n-u,{parts:g}=h;if(g.length===0)break;let[E,C]=g,A=[l,2,E],v=[l,1,E],S=hu(A,[],f,t,s.length>0,!0);if(g.length===1){S?i.push(A):i.push(v);break}let _=[l,2,C],w=[l,1,C];if(g.length===2){S?i.push(_,A):i.push(w,v);break}g.splice(0,2);let B=[l,p,Zc(g)];hu([l,2,[E,C,g[0]]],[],f,t,s.length>0,!0)?i.push(B,_,A):S?i.push(B,w,A):i.push(B,w,v);break}case"if-break":case"indent-if-break":{let f=h.groupId?jn[h.groupId]:p;if(f===1){let g=h.type==="if-break"?h.breakContents:h.negate?h.contents:fu(h.contents);g&&i.push([l,p,g])}if(f===2){let g=h.type==="if-break"?h.flatContents:h.negate?fu(h.contents):h.contents;g&&i.push([l,p,g])}break}case"line-suffix":s.push([l,p,h.contents]);break;case"line-suffix-boundary":s.length>0&&i.push([l,p,{type:"line",hard:!0}]);break;case"line":switch(p){case 2:if(!h.hard){h.soft||(o.push(" "),u+=1);break}a=!0;case 1:if(s.length>0){i.push([l,p,h],...s.reverse()),s=[];break}h.literal?l.root?(o.push(r,l.root.value),u=l.root.length):(o.push(r),u=0):(u-=ur(o),o.push(r+l.value),u=l.length)}break;case"label":i.push([l,p,h.contents])}i.length===0&&s.length>0&&(i.push(...s.reverse()),s=[])}let c=o.indexOf(Vi.placeholder);if(c!==-1){let l=o.indexOf(Vi.placeholder,c+1),p=o.slice(0,c).join(""),h=o.slice(c+1,l).join("");return{formatted:p+h+o.slice(l+1).join(""),cursorNodeStart:p.length,cursorNodeText:h}}return{formatted:o.join("")}}};let{isConcat:Wi,getDocParts:Gi}=qi;function Vt(e){if(!e)return"";if(Wi(e)){let t=[];for(let n of Gi(e))if(Wi(n))t.push(...Vt(n).parts);else{let r=Vt(n);r!==""&&t.push(r)}return{type:"concat",parts:t}}return e.type==="if-break"?Object.assign({},e,{breakContents:Vt(e.breakContents),flatContents:Vt(e.flatContents)}):e.type==="group"?Object.assign({},e,{contents:Vt(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(Vt)}):e.type==="fill"?{type:"fill",parts:e.parts.map(Vt)}:e.contents?Object.assign({},e,{contents:Vt(e.contents)}):e}d(Vt,"Mn");var Q={builders:yi,printer:Po,utils:qi,debug:{printDocToDebug:function(e){let t=Object.create(null),n=new Set;return d(function u(i,o,a){if(typeof i=="string")return JSON.stringify(i);if(Wi(i)){let s=Gi(i).map(u).filter(Boolean);return s.length===1?s[0]:"[".concat(s.join(", "),"]")}if(i.type==="line"){let s=Array.isArray(a)&&a[o+1]&&a[o+1].type==="break-parent";return i.literal?s?"literalline":"literallineWithoutBreakParent":i.hard?s?"hardline":"hardlineWithoutBreakParent":i.soft?"softline":"line"}if(i.type==="break-parent")return Array.isArray(a)&&a[o-1]&&a[o-1].type==="line"&&a[o-1].hard?void 0:"breakParent";if(i.type==="trim")return"trim";if(i.type==="indent")return"indent("+u(i.contents)+")";if(i.type==="align")return i.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+u(i.contents)+")":i.n<0?"dedent("+u(i.contents)+")":i.n.type==="root"?"markAsRoot("+u(i.contents)+")":"align("+JSON.stringify(i.n)+", "+u(i.contents)+")";if(i.type==="if-break")return"ifBreak("+u(i.breakContents)+(i.flatContents?", "+u(i.flatContents):"")+(i.groupId?(i.flatContents?"":', ""')+", { groupId: ".concat(r(i.groupId)," }"):"")+")";if(i.type==="indent-if-break"){let s=[];i.negate&&s.push("negate: true"),i.groupId&&s.push("groupId: ".concat(r(i.groupId)));let c=s.length>0?", { ".concat(s.join(", ")," }"):"";return"indentIfBreak(".concat(u(i.contents)).concat(c,")")}if(i.type==="group"){let s=[];i.break&&i.break!=="propagated"&&s.push("shouldBreak: true"),i.id&&s.push("id: ".concat(r(i.id)));let c=s.length>0?", { ".concat(s.join(", ")," }"):"";return i.expandedStates?"conditionalGroup([".concat(i.expandedStates.map(l=>u(l)).join(","),"]").concat(c,")"):"group(".concat(u(i.contents)).concat(c,")")}if(i.type==="fill")return"fill([".concat(i.parts.map(s=>u(s)).join(", "),"])");if(i.type==="line-suffix")return"lineSuffix("+u(i.contents)+")";if(i.type==="line-suffix-boundary")return"lineSuffixBoundary";if(i.type==="label")return"label(".concat(JSON.stringify(i.label),", ").concat(u(i.contents),")");throw new Error("Unknown doc type "+i.type)},"e")(Vt(e));function r(u){if(typeof u!="symbol")return JSON.stringify(String(u));if(u in t)return t[u];let i=String(u).slice(7,-1)||"symbol";for(let o=0;;o++){let a=i+(o>0?" #".concat(o):"");if(!n.has(a))return n.add(a),t[u]="Symbol.for(".concat(JSON.stringify(a),")")}}}}},el=Object.freeze({__proto__:null,default:{}});function Oo(e,t){for(var n=0,r=e.length-1;r>=0;r--){var u=e[r];u==="."?e.splice(r,1):u===".."?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}d(Oo,"$n");var tl=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Hi=d(function(e){return tl.exec(e).slice(1)},"Wn");function Du(){for(var e="",t=!1,n=arguments.length-1;n>=-1&&!t;n--){var r=n>=0?arguments[n]:"/";if(typeof r!="string")throw new TypeError("Arguments to path.resolve must be strings");r&&(e=r+"/"+e,t=r.charAt(0)==="/")}return(t?"/":"")+(e=Oo(gu(e.split("/"),function(u){return!!u}),!t).join("/"))||"."}d(Du,"Un");function se(e){var t=pt(e),n=qo(e,-1)==="/";return(e=Oo(gu(e.split("/"),function(r){return!!r}),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e}d(se,"zn");function pt(e){return e.charAt(0)==="/"}d(pt,"Hn");function Io(){var e=Array.prototype.slice.call(arguments,0);return se(gu(e,function(t,n){if(typeof t!="string")throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))}d(Io,"Gn");function mu(e,t){function n(c){for(var l=0;l<c.length&&c[l]==="";l++);for(var p=c.length-1;p>=0&&c[p]==="";p--);return l>p?[]:c.slice(l,p-l+1)}d(n,"n24"),e=Du(e).substr(1),t=Du(t).substr(1);for(var r=n(e.split("/")),u=n(t.split("/")),i=Math.min(r.length,u.length),o=i,a=0;a<i;a++)if(r[a]!==u[a]){o=a;break}var s=[];for(a=o;a<r.length;a++)s.push("..");return(s=s.concat(u.slice(o))).join("/")}d(mu,"Jn");function Lo(e){var t=Hi(e),n=t[0],r=t[1];return n||r?(r&&(r=r.substr(0,r.length-1)),n+r):"."}d(Lo,"Xn");function jo(e,t){var n=Hi(e)[2];return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n}d(jo,"Yn");function Ro(e){return Hi(e)[3]}d(Ro,"Kn");var Mo={extname:Ro,basename:jo,dirname:Lo,sep:"/",delimiter:":",relative:mu,join:Io,isAbsolute:pt,normalize:se,resolve:Du};function gu(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}d(gu,"Zn");var qo="ab".substr(-1)==="b"?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)},nl=Object.freeze({__proto__:null,resolve:Du,normalize:se,isAbsolute:pt,join:Io,relative:mu,sep:"/",delimiter:":",dirname:Lo,basename:jo,extname:Ro,default:Mo}),At=[],dt=[],rl=typeof Uint8Array<"u"?Uint8Array:Array,zi=!1;function $o(){zi=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t<n;++t)At[t]=e[t],dt[e.charCodeAt(t)]=t;dt["-".charCodeAt(0)]=62,dt["_".charCodeAt(0)]=63}d($o,"ur");function Xi(e,t,n){for(var r,u,i=[],o=t;o<n;o+=3)r=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(At[(u=r)>>18&63]+At[u>>12&63]+At[u>>6&63]+At[63&u]);return i.join("")}d(Xi,"sr");function Vo(e){var t;zi||$o();for(var n=e.length,r=n%3,u="",i=[],o=16383,a=0,s=n-r;a<s;a+=o)i.push(Xi(e,a,a+o>s?s:a+o));return r===1?(t=e[n-1],u+=At[t>>2],u+=At[t<<4&63],u+="=="):r===2&&(t=(e[n-2]<<8)+e[n-1],u+=At[t>>10],u+=At[t>>4&63],u+=At[t<<2&63],u+="="),i.push(u),i.join("")}d(Vo,"ar");function ir(e,t,n,r,u){var i,o,a=8*u-r-1,s=(1<<a)-1,c=s>>1,l=-7,p=n?u-1:0,h=n?-1:1,f=e[t+p];for(p+=h,i=f&(1<<-l)-1,f>>=-l,l+=a;l>0;i=256*i+e[t+p],p+=h,l-=8);for(o=i&(1<<-l)-1,i>>=-l,l+=r;l>0;o=256*o+e[t+p],p+=h,l-=8);if(i===0)i=1-c;else{if(i===s)return o?NaN:1/0*(f?-1:1);o+=Math.pow(2,r),i-=c}return(f?-1:1)*o*Math.pow(2,i-r)}d(ir,"cr");function ar(e,t,n,r,u,i){var o,a,s,c=8*i-u-1,l=(1<<c)-1,p=l>>1,h=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,f=r?0:i-1,g=r?1:-1,E=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),(t+=o+p>=1?h/s:h*Math.pow(2,1-p))*s>=2&&(o++,s/=2),o+p>=l?(a=0,o=l):o+p>=1?(a=(t*s-1)*Math.pow(2,u),o+=p):(a=t*Math.pow(2,p-1)*Math.pow(2,u),o=0));u>=8;e[n+f]=255&a,f+=g,a/=256,u-=8);for(o=o<<u|a,c+=u;c>0;e[n+f]=255&o,f+=g,o/=256,c-=8);e[n+f-g]|=128*E}d(ar,"lr");var Uo={}.toString,Wo=Array.isArray||function(e){return Uo.call(e)=="[object Array]"};function Ji(){return j.TYPED_ARRAY_SUPPORT?2147483647:1073741823}d(Ji,"dr");function ft(e,t){if(Ji()<t)throw new RangeError("Invalid typed array length");return j.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=j.prototype:(e===null&&(e=new j(t)),e.length=t),e}d(ft,"hr");function j(e,t,n){if(!(j.TYPED_ARRAY_SUPPORT||this instanceof j))return new j(e,t,n);if(typeof e=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return Ki(this,e)}return Yi(this,e,t,n)}d(j,"mr");function Yi(e,t,n,r){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer?function(u,i,o,a){if(i.byteLength,o<0||i.byteLength<o)throw new RangeError("'offset' is out of bounds");if(i.byteLength<o+(a||0))throw new RangeError("'length' is out of bounds");return i=o===void 0&&a===void 0?new Uint8Array(i):a===void 0?new Uint8Array(i,o):new Uint8Array(i,o,a),j.TYPED_ARRAY_SUPPORT?(u=i).__proto__=j.prototype:u=Qi(u,i),u}(e,t,n,r):typeof t=="string"?function(u,i,o){if(typeof o=="string"&&o!==""||(o="utf8"),!j.isEncoding(o))throw new TypeError('"encoding" must be a valid string encoding');var a=0|Ho(i,o),s=(u=ft(u,a)).write(i,o);return s!==a&&(u=u.slice(0,s)),u}(e,t,n):function(u,i){if(Ft(i)){var o=0|Zi(i.length);return(u=ft(u,o)).length===0||i.copy(u,0,0,o),u}if(i){if(typeof ArrayBuffer<"u"&&i.buffer instanceof ArrayBuffer||"length"in i)return typeof i.length!="number"||(a=i.length)!=a?ft(u,0):Qi(u,i);if(i.type==="Buffer"&&Wo(i.data))return Qi(u,i.data)}var a;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}d(Yi,"gr");function Go(e){if(typeof e!="number")throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}d(Go,"yr");function Ki(e,t){if(Go(t),e=ft(e,t<0?0:0|Zi(t)),!j.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}d(Ki,"Dr");function Qi(e,t){var n=t.length<0?0:0|Zi(t.length);e=ft(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}d(Qi,"Er");function Zi(e){if(e>=Ji())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ji().toString(16)+" bytes");return 0|e}d(Zi,"br");function Ft(e){return!(e==null||!e._isBuffer)}d(Ft,"Cr");function Ho(e,t){if(Ft(e))return e.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var n=e.length;if(n===0)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return ne(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return fe(e).length;default:if(r)return ne(e).length;t=(""+t).toLowerCase(),r=!0}}d(Ho,"vr");function zo(e,t,n){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return G(this,t,n);case"utf8":case"utf-8":return q(this,t,n);case"ascii":return k(this,t,n);case"latin1":case"binary":return M(this,t,n);case"base64":return W(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ae(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}d(zo,"Ar");function St(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}d(St,"Fr");function m(e,t,n,r,u){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=u?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(u)return-1;n=e.length-1}else if(n<0){if(!u)return-1;n=0}if(typeof t=="string"&&(t=j.from(t,r)),Ft(t))return t.length===0?-1:D(e,t,n,r,u);if(typeof t=="number")return t&=255,j.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?u?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):D(e,[t],n,r,u);throw new TypeError("val must be string, number or Buffer")}d(m,"xr");function D(e,t,n,r,u){var i,o=1,a=e.length,s=t.length;if(r!==void 0&&((r=String(r).toLowerCase())==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||t.length<2)return-1;o=2,a/=2,s/=2,n/=2}function c(f,g){return o===1?f[g]:f.readUInt16BE(g*o)}if(d(c,"c"),u){var l=-1;for(i=n;i<a;i++)if(c(e,i)===c(t,l===-1?0:i-l)){if(l===-1&&(l=i),i-l+1===s)return l*o}else l!==-1&&(i-=i-l),l=-1}else for(n+s>a&&(n=a-s),i=n;i>=0;i--){for(var p=!0,h=0;h<s;h++)if(c(e,i+h)!==c(t,h)){p=!1;break}if(p)return i}return-1}d(D,"Sr");function y(e,t,n,r){n=Number(n)||0;var u=e.length-n;r?(r=Number(r))>u&&(r=u):r=u;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var o=0;o<r;++o){var a=parseInt(t.substr(2*o,2),16);if(isNaN(a))return o;e[n+o]=a}return o}d(y,"wr");function b(e,t,n,r){return Me(ne(t,e.length-n),e,n,r)}d(b,"Tr");function F(e,t,n,r){return Me(function(u){for(var i=[],o=0;o<u.length;++o)i.push(255&u.charCodeAt(o));return i}(t),e,n,r)}d(F,"Br");function T(e,t,n,r){return F(e,t,n,r)}d(T,"kr");function L(e,t,n,r){return Me(fe(t),e,n,r)}d(L,"Nr");function P(e,t,n,r){return Me(function(u,i){for(var o,a,s,c=[],l=0;l<u.length&&!((i-=2)<0);++l)a=(o=u.charCodeAt(l))>>8,s=o%256,c.push(s),c.push(a);return c}(t,e.length-n),e,n,r)}d(P,"Pr");function W(e,t,n){return t===0&&n===e.length?Vo(e):Vo(e.slice(t,n))}d(W,"Or");function q(e,t,n){n=Math.min(e.length,n);for(var r=[],u=t;u<n;){var i,o,a,s,c=e[u],l=null,p=c>239?4:c>223?3:c>191?2:1;if(u+p<=n)switch(p){case 1:c<128&&(l=c);break;case 2:(192&(i=e[u+1]))==128&&(s=(31&c)<<6|63&i)>127&&(l=s);break;case 3:i=e[u+1],o=e[u+2],(192&i)==128&&(192&o)==128&&(s=(15&c)<<12|(63&i)<<6|63&o)>2047&&(s<55296||s>57343)&&(l=s);break;case 4:i=e[u+1],o=e[u+2],a=e[u+3],(192&i)==128&&(192&o)==128&&(192&a)==128&&(s=(15&c)<<18|(63&i)<<12|(63&o)<<6|63&a)>65535&&s<1114112&&(l=s)}l===null?(l=65533,p=1):l>65535&&(l-=65536,r.push(l>>>10&1023|55296),l=56320|1023&l),r.push(l),u+=p}return function(h){var f=h.length;if(f<=Y)return String.fromCharCode.apply(String,h);for(var g="",E=0;E<f;)g+=String.fromCharCode.apply(String,h.slice(E,E+=Y));return g}(r)}d(q,"Ir"),j.TYPED_ARRAY_SUPPORT=Re.TYPED_ARRAY_SUPPORT===void 0||Re.TYPED_ARRAY_SUPPORT,j.poolSize=8192,j._augment=function(e){return e.__proto__=j.prototype,e},j.from=function(e,t,n){return Yi(null,e,t,n)},j.TYPED_ARRAY_SUPPORT&&(j.prototype.__proto__=Uint8Array.prototype,j.__proto__=Uint8Array),j.alloc=function(e,t,n){return function(r,u,i,o){return Go(u),u<=0?ft(r,u):i!==void 0?typeof o=="string"?ft(r,u).fill(i,o):ft(r,u).fill(i):ft(r,u)}(null,e,t,n)},j.allocUnsafe=function(e){return Ki(null,e)},j.allocUnsafeSlow=function(e){return Ki(null,e)},j.isBuffer=pe,j.compare=function(e,t){if(!Ft(e)||!Ft(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,u=0,i=Math.min(n,r);u<i;++u)if(e[u]!==t[u]){n=e[u],r=t[u];break}return n<r?-1:r<n?1:0},j.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}},j.concat=function(e,t){if(!Wo(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return j.alloc(0);var n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=j.allocUnsafe(t),u=0;for(n=0;n<e.length;++n){var i=e[n];if(!Ft(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,u),u+=i.length}return r},j.byteLength=Ho,j.prototype._isBuffer=!0,j.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)St(this,t,t+1);return this},j.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)St(this,t,t+3),St(this,t+1,t+2);return this},j.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)St(this,t,t+7),St(this,t+1,t+6),St(this,t+2,t+5),St(this,t+3,t+4);return this},j.prototype.toString=function(){var e=0|this.length;return e===0?"":arguments.length===0?q(this,0,e):zo.apply(this,arguments)},j.prototype.equals=function(e){if(!Ft(e))throw new TypeError("Argument must be a Buffer");return this===e||j.compare(this,e)===0},j.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+">"},j.prototype.compare=function(e,t,n,r,u){if(!Ft(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),u===void 0&&(u=this.length),t<0||n>e.length||r<0||u>this.length)throw new RangeError("out of range index");if(r>=u&&t>=n)return 0;if(r>=u)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(u>>>=0)-(r>>>=0),o=(n>>>=0)-(t>>>=0),a=Math.min(i,o),s=this.slice(r,u),c=e.slice(t,n),l=0;l<a;++l)if(s[l]!==c[l]){i=s[l],o=c[l];break}return i<o?-1:o<i?1:0},j.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},j.prototype.indexOf=function(e,t,n){return m(this,e,t,n,!0)},j.prototype.lastIndexOf=function(e,t,n){return m(this,e,t,n,!1)},j.prototype.write=function(e,t,n,r){if(t===void 0)r="utf8",n=this.length,t=0;else if(n===void 0&&typeof t=="string")r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,r===void 0&&(r="utf8")):(r=n,n=void 0)}var u=this.length-t;if((n===void 0||n>u)&&(n=u),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return b(this,e,t,n);case"ascii":return F(this,e,t,n);case"latin1":case"binary":return T(this,e,t,n);case"base64":return L(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},j.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Y=4096;function k(e,t,n){var r="";n=Math.min(e.length,n);for(var u=t;u<n;++u)r+=String.fromCharCode(127&e[u]);return r}d(k,"Lr");function M(e,t,n){var r="";n=Math.min(e.length,n);for(var u=t;u<n;++u)r+=String.fromCharCode(e[u]);return r}d(M,"_r");function G(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var u="",i=t;i<n;++i)u+=R(e[i]);return u}d(G,"Mr");function ae(e,t,n){for(var r=e.slice(t,n),u="",i=0;i<r.length;i+=2)u+=String.fromCharCode(r[i]+256*r[i+1]);return u}d(ae,"Rr");function Z(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}d(Z,"Vr");function J(e,t,n,r,u,i){if(!Ft(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>u||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}d(J,"$r");function z(e,t,n,r){t<0&&(t=65535+t+1);for(var u=0,i=Math.min(e.length-n,2);u<i;++u)e[n+u]=(t&255<<8*(r?u:1-u))>>>8*(r?u:1-u)}d(z,"qr");function V(e,t,n,r){t<0&&(t=4294967295+t+1);for(var u=0,i=Math.min(e.length-n,4);u<i;++u)e[n+u]=t>>>8*(r?u:3-u)&255}d(V,"Wr");function ee(e,t,n,r,u,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}d(ee,"Ur");function I(e,t,n,r,u){return u||ee(e,0,n,4),ar(e,t,n,r,23,4),n+4}d(I,"zr");function x(e,t,n,r,u){return u||ee(e,0,n,8),ar(e,t,n,r,52,8),n+8}d(x,"Hr"),j.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=t===void 0?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),j.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=j.prototype;else{var u=t-e;n=new j(u,void 0);for(var i=0;i<u;++i)n[i]=this[i+e]}return n},j.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||Z(e,t,this.length);for(var r=this[e],u=1,i=0;++i<t&&(u*=256);)r+=this[e+i]*u;return r},j.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||Z(e,t,this.length);for(var r=this[e+--t],u=1;t>0&&(u*=256);)r+=this[e+--t]*u;return r},j.prototype.readUInt8=function(e,t){return t||Z(e,1,this.length),this[e]},j.prototype.readUInt16LE=function(e,t){return t||Z(e,2,this.length),this[e]|this[e+1]<<8},j.prototype.readUInt16BE=function(e,t){return t||Z(e,2,this.length),this[e]<<8|this[e+1]},j.prototype.readUInt32LE=function(e,t){return t||Z(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},j.prototype.readUInt32BE=function(e,t){return t||Z(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},j.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||Z(e,t,this.length);for(var r=this[e],u=1,i=0;++i<t&&(u*=256);)r+=this[e+i]*u;return r>=(u*=128)&&(r-=Math.pow(2,8*t)),r},j.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||Z(e,t,this.length);for(var r=t,u=1,i=this[e+--r];r>0&&(u*=256);)i+=this[e+--r]*u;return i>=(u*=128)&&(i-=Math.pow(2,8*t)),i},j.prototype.readInt8=function(e,t){return t||Z(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},j.prototype.readInt16LE=function(e,t){t||Z(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},j.prototype.readInt16BE=function(e,t){t||Z(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},j.prototype.readInt32LE=function(e,t){return t||Z(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},j.prototype.readInt32BE=function(e,t){return t||Z(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},j.prototype.readFloatLE=function(e,t){return t||Z(e,4,this.length),ir(this,e,!0,23,4)},j.prototype.readFloatBE=function(e,t){return t||Z(e,4,this.length),ir(this,e,!1,23,4)},j.prototype.readDoubleLE=function(e,t){return t||Z(e,8,this.length),ir(this,e,!0,52,8)},j.prototype.readDoubleBE=function(e,t){return t||Z(e,8,this.length),ir(this,e,!1,52,8)},j.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||J(this,e,t,n,Math.pow(2,8*n)-1,0);var u=1,i=0;for(this[t]=255&e;++i<n&&(u*=256);)this[t+i]=e/u&255;return t+n},j.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||J(this,e,t,n,Math.pow(2,8*n)-1,0);var u=n-1,i=1;for(this[t+u]=255&e;--u>=0&&(i*=256);)this[t+u]=e/i&255;return t+n},j.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||J(this,e,t,1,255,0),j.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},j.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||J(this,e,t,2,65535,0),j.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},j.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||J(this,e,t,2,65535,0),j.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},j.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||J(this,e,t,4,4294967295,0),j.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):V(this,e,t,!0),t+4},j.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||J(this,e,t,4,4294967295,0),j.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):V(this,e,t,!1),t+4},j.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);J(this,e,t,n,u-1,-u)}var i=0,o=1,a=0;for(this[t]=255&e;++i<n&&(o*=256);)e<0&&a===0&&this[t+i-1]!==0&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},j.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var u=Math.pow(2,8*n-1);J(this,e,t,n,u-1,-u)}var i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&a===0&&this[t+i+1]!==0&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},j.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||J(this,e,t,1,127,-128),j.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},j.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||J(this,e,t,2,32767,-32768),j.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):z(this,e,t,!0),t+2},j.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||J(this,e,t,2,32767,-32768),j.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):z(this,e,t,!1),t+2},j.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||J(this,e,t,4,2147483647,-2147483648),j.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):V(this,e,t,!0),t+4},j.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||J(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),j.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):V(this,e,t,!1),t+4},j.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},j.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},j.prototype.writeDoubleLE=function(e,t,n){return x(this,e,t,!0,n)},j.prototype.writeDoubleBE=function(e,t,n){return x(this,e,t,!1,n)},j.prototype.copy=function(e,t,n,r){if(n||(n=0),r||r===0||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var u,i=r-n;if(this===e&&n<t&&t<r)for(u=i-1;u>=0;--u)e[u+t]=this[u+n];else if(i<1e3||!j.TYPED_ARRAY_SUPPORT)for(u=0;u<i;++u)e[u+t]=this[u+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},j.prototype.fill=function(e,t,n,r){if(typeof e=="string"){if(typeof t=="string"?(r=t,t=0,n=this.length):typeof n=="string"&&(r=n,n=this.length),e.length===1){var u=e.charCodeAt(0);u<256&&(e=u)}if(r!==void 0&&typeof r!="string")throw new TypeError("encoding must be a string");if(typeof r=="string"&&!j.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else typeof e=="number"&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=n===void 0?this.length:n>>>0,e||(e=0),typeof e=="number")for(i=t;i<n;++i)this[i]=e;else{var o=Ft(e)?e:ne(new j(e,r).toString()),a=o.length;for(i=0;i<n-t;++i)this[i+t]=o[i%a]}return this};var N=/[^+\/0-9A-Za-z-_]/g;function R(e){return e<16?"0"+e.toString(16):e.toString(16)}d(R,"Jr");function ne(e,t){var n;t=t||1/0;for(var r=e.length,u=null,i=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!u){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(o+1===r){(t-=3)>-1&&i.push(239,191,189);continue}u=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),u=n;continue}n=65536+(u-55296<<10|n-56320)}else u&&(t-=3)>-1&&i.push(239,191,189);if(u=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}d(ne,"Xr");function fe(e){return function(t){var n,r,u,i,o,a;zi||$o();var s=t.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o=t[s-2]==="="?2:t[s-1]==="="?1:0,a=new rl(3*s/4-o),u=o>0?s-4:s;var c=0;for(n=0,r=0;n<u;n+=4,r+=3)i=dt[t.charCodeAt(n)]<<18|dt[t.charCodeAt(n+1)]<<12|dt[t.charCodeAt(n+2)]<<6|dt[t.charCodeAt(n+3)],a[c++]=i>>16&255,a[c++]=i>>8&255,a[c++]=255&i;return o===2?(i=dt[t.charCodeAt(n)]<<2|dt[t.charCodeAt(n+1)]>>4,a[c++]=255&i):o===1&&(i=dt[t.charCodeAt(n)]<<10|dt[t.charCodeAt(n+1)]<<4|dt[t.charCodeAt(n+2)]>>2,a[c++]=i>>8&255,a[c++]=255&i),a}(function(t){if((t=function(n){return n.trim?n.trim():n.replace(/^\s+|\s+$/g,"")}(t).replace(N,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}d(fe,"Yr");function Me(e,t,n,r){for(var u=0;u<r&&!(u+n>=t.length||u>=e.length);++u)t[u+n]=e[u];return u}d(Me,"Kr");function pe(e){return e!=null&&(!!e._isBuffer||We(e)||function(t){return typeof t.readFloatLE=="function"&&typeof t.slice=="function"&&We(t.slice(0,0))}(e))}d(pe,"Qr");function We(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}d(We,"Zr");var _e=Xn(el),Ut=d(class{constructor(e,t){(t=t||{}).readChunk||(t.readChunk=1024),t.newLineCharacter?t.newLineCharacter=t.newLineCharacter.charCodeAt(0):t.newLineCharacter=10,this.fd=typeof e=="number"?e:_e.openSync(e,"r"),this.options=t,this.newLineCharacter=t.newLineCharacter,this.reset()}_searchInBuffer(e,t){let n=-1;for(let r=0;r<=e.length;r++)if(e[r]===t){n=r;break}return n}reset(){this.eofReached=!1,this.linesCache=[],this.fdPosition=0}close(){_e.closeSync(this.fd),this.fd=null}_extractLines(e){let t,n=[],r=0,u=0;for(;;){let o=e[r++];if(o===this.newLineCharacter)t=e.slice(u,r),n.push(t),u=r;else if(o===void 0)break}let i=e.slice(u,r);return i.length&&n.push(i),n}_readChunk(e){let t,n=0,r=[];do{let i=new j(this.options.readChunk);t=_e.readSync(this.fd,i,0,this.options.readChunk,this.fdPosition),n+=t,this.fdPosition=this.fdPosition+t,r.push(i)}while(t&&this._searchInBuffer(r[r.length-1],this.options.newLineCharacter)===-1);let u=j.concat(r);return t<this.options.readChunk&&(this.eofReached=!0,u=u.slice(0,n)),n&&(this.linesCache=this._extractLines(u),e&&(this.linesCache[0]=j.concat([e,this.linesCache[0]]))),n}next(){if(!this.fd)return!1;let e,t=!1;return this.eofReached&&this.linesCache.length===0?t:(this.linesCache.length||(e=this._readChunk()),this.linesCache.length&&(t=this.linesCache.shift(),t[t.length-1]!==this.newLineCharacter&&(e=this._readChunk(t),e&&(t=this.linesCache.shift()))),this.eofReached&&this.linesCache.length===0&&this.close(),t&&t[t.length-1]===this.newLineCharacter&&(t=t.slice(0,t.length-1)),t)}},"to"),sr={ConfigError:d(class extends Error{},"no"),DebugError:d(class extends Error{},"ro"),UndefinedParserError:d(class extends Error{},"oo"),ArgExpansionBailout:d(class extends Error{},"io")},at=d(function(e,t){return(at=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var u in r)r.hasOwnProperty(u)&&(n[u]=r[u])})(e,t)},"so");var xt=d(function(){return(xt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var u in t=arguments[n])Object.prototype.hasOwnProperty.call(t,u)&&(e[u]=t[u]);return e}).apply(this,arguments)},"ao");function Rn(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}d(Rn,"co");function Ld(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r,u,i=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=i.next()).done;)o.push(r.value)}catch(a){u={error:a}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(u)throw u.error}}return o}d(Ld,"lo");function ta(e){return this instanceof ta?(this.v=e,this):new ta(e)}d(ta,"po");var xe=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}d(n,"n"),at(e,t),e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return xt},__rest:function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function"){var u=0;for(r=Object.getOwnPropertySymbols(e);u<r.length;u++)t.indexOf(r[u])<0&&Object.prototype.propertyIsEnumerable.call(e,r[u])&&(n[r[u]]=e[r[u]])}return n},__decorate:function(e,t,n,r){var u,i=arguments.length,o=i<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,n):r;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(u=e[a])&&(o=(i<3?u(o):i>3?u(t,n,o):u(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))(function(u,i){function o(c){try{s(r.next(c))}catch(l){i(l)}}d(o,"u");function a(c){try{s(r.throw(c))}catch(l){i(l)}}d(a,"s");function s(c){var l;c.done?u(c.value):(l=c.value,l instanceof n?l:new n(function(p){p(l)})).then(o,a)}d(s,"a"),s((r=r.apply(e,t||[])).next())})},__generator:function(e,t){var n,r,u,i,o={label:0,sent:function(){if(1&u[0])throw u[1];return u[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function a(s){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(u=2&l[0]?r.return:l[0]?r.throw||((u=r.return)&&u.call(r),0):r.next)&&!(u=u.call(r,l[1])).done)return u;switch(r=0,u&&(l=[2&l[0],u.value]),l[0]){case 0:case 1:u=l;break;case 4:return o.label++,{value:l[1],done:!1};case 5:o.label++,r=l[1],l=[0];continue;case 7:l=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!((u=u.length>0&&u[u.length-1])||l[0]!==6&&l[0]!==2)){o=0;continue}if(l[0]===3&&(!u||l[1]>u[0]&&l[1]<u[3])){o.label=l[1];break}if(l[0]===6&&o.label<u[1]){o.label=u[1],u=l;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(l);break}u[2]&&o.ops.pop(),o.trys.pop();continue}l=t.call(e,o)}catch(p){l=[6,p],r=0}finally{n=u=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([s,c])}}},__createBinding:function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]},__exportStar:function(e,t){for(var n in e)n==="default"||t.hasOwnProperty(n)||(t[n]=e[n])},__values:Rn,__read:Ld,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ld(arguments[t]));return e},__spreadArrays:function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),u=0;for(t=0;t<n;t++)for(var i=arguments[t],o=0,a=i.length;o<a;o++,u++)r[u]=i[o];return r},__await:ta,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,u=n.apply(e,t||[]),i=[];return r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r;function o(p){u[p]&&(r[p]=function(h){return new Promise(function(f,g){i.push([p,h,f,g])>1||a(p,h)})})}function a(p,h){try{(f=u[p](h)).value instanceof ta?Promise.resolve(f.value.v).then(s,c):l(i[0][2],f)}catch(g){l(i[0][3],g)}var f}function s(p){a("next",p)}function c(p){a("throw",p)}function l(p,h){p(h),i.shift(),i.length&&a(i[0][0],i[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",function(u){throw u}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(u,i){t[u]=e[u]?function(o){return(n=!n)?{value:ta(e[u](o)),done:u==="return"}:i?i(o):o}:i}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=Rn(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(u){t[u]=e[u]&&function(i){return new Promise(function(o,a){(function(s,c,l,p){Promise.resolve(p).then(function(h){s({value:h,done:l})},c)})(o,a,(i=e[u](i)).done,i.value)})}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}}),jd=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.apiDescriptor={key:n=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(n)?n:JSON.stringify(n),value(n){if(n===null||typeof n!="object")return JSON.stringify(n);if(Array.isArray(n))return"[".concat(n.map(u=>t.apiDescriptor.value(u)).join(", "),"]");let r=Object.keys(n);return r.length===0?"{}":"{ ".concat(r.map(u=>"".concat(t.apiDescriptor.key(u),": ").concat(t.apiDescriptor.value(n[u]))).join(", ")," }")},pair:({key:n,value:r})=>t.apiDescriptor.value({[n]:r})}}),IE=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),xe.__exportStar(jd,t)}),LE=/[|\\{}()[\]^$+*?.]/g,al=d(function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(LE,"\\$&")},"yo"),cr={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},lr=ce(function(e){var t={};for(var n in cr)cr.hasOwnProperty(n)&&(t[cr[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var u in r)if(r.hasOwnProperty(u)){if(!("channels"in r[u]))throw new Error("missing channels property: "+u);if(!("labels"in r[u]))throw new Error("missing channel labels property: "+u);if(r[u].labels.length!==r[u].channels)throw new Error("channel and label counts mismatch: "+u);var i=r[u].channels,o=r[u].labels;delete r[u].channels,delete r[u].labels,Object.defineProperty(r[u],"channels",{value:i}),Object.defineProperty(r[u],"labels",{value:o})}r.rgb.hsl=function(a){var s,c,l=a[0]/255,p=a[1]/255,h=a[2]/255,f=Math.min(l,p,h),g=Math.max(l,p,h),E=g-f;return g===f?s=0:l===g?s=(p-h)/E:p===g?s=2+(h-l)/E:h===g&&(s=4+(l-p)/E),(s=Math.min(60*s,360))<0&&(s+=360),c=(f+g)/2,[s,100*(g===f?0:c<=.5?E/(g+f):E/(2-g-f)),100*c]},r.rgb.hsv=function(a){var s,c,l,p,h,f=a[0]/255,g=a[1]/255,E=a[2]/255,C=Math.max(f,g,E),A=C-Math.min(f,g,E),v=d(function(S){return(C-S)/6/A+.5},"p");return A===0?p=h=0:(h=A/C,s=v(f),c=v(g),l=v(E),f===C?p=l-c:g===C?p=1/3+s-l:E===C&&(p=2/3+c-s),p<0?p+=1:p>1&&(p-=1)),[360*p,100*h,100*C]},r.rgb.hwb=function(a){var s=a[0],c=a[1],l=a[2];return[r.rgb.hsl(a)[0],100*(1/255*Math.min(s,Math.min(c,l))),100*(l=1-1/255*Math.max(s,Math.max(c,l)))]},r.rgb.cmyk=function(a){var s,c=a[0]/255,l=a[1]/255,p=a[2]/255;return[100*((1-c-(s=Math.min(1-c,1-l,1-p)))/(1-s)||0),100*((1-l-s)/(1-s)||0),100*((1-p-s)/(1-s)||0),100*s]},r.rgb.keyword=function(a){var s=t[a];if(s)return s;var c,l,p,h=1/0;for(var f in cr)if(cr.hasOwnProperty(f)){var g=cr[f],E=(l=a,p=g,Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)+Math.pow(l[2]-p[2],2));E<h&&(h=E,c=f)}return c},r.keyword.rgb=function(a){return cr[a]},r.rgb.xyz=function(a){var s=a[0]/255,c=a[1]/255,l=a[2]/255;return[100*(.4124*(s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92)+.3576*(c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92)+.1805*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)),100*(.2126*s+.7152*c+.0722*l),100*(.0193*s+.1192*c+.9505*l)]},r.rgb.lab=function(a){var s=r.rgb.xyz(a),c=s[0],l=s[1],p=s[2];return l/=100,p/=108.883,c=(c/=95.047)>.008856?Math.pow(c,1/3):7.787*c+16/116,[116*(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116)-16,500*(c-l),200*(l-(p=p>.008856?Math.pow(p,1/3):7.787*p+16/116))]},r.hsl.rgb=function(a){var s,c,l,p,h,f=a[0]/360,g=a[1]/100,E=a[2]/100;if(g===0)return[h=255*E,h,h];s=2*E-(c=E<.5?E*(1+g):E+g-E*g),p=[0,0,0];for(var C=0;C<3;C++)(l=f+1/3*-(C-1))<0&&l++,l>1&&l--,h=6*l<1?s+6*(c-s)*l:2*l<1?c:3*l<2?s+(c-s)*(2/3-l)*6:s,p[C]=255*h;return p},r.hsl.hsv=function(a){var s=a[0],c=a[1]/100,l=a[2]/100,p=c,h=Math.max(l,.01);return c*=(l*=2)<=1?l:2-l,p*=h<=1?h:2-h,[s,100*(l===0?2*p/(h+p):2*c/(l+c)),100*((l+c)/2)]},r.hsv.rgb=function(a){var s=a[0]/60,c=a[1]/100,l=a[2]/100,p=Math.floor(s)%6,h=s-Math.floor(s),f=255*l*(1-c),g=255*l*(1-c*h),E=255*l*(1-c*(1-h));switch(l*=255,p){case 0:return[l,E,f];case 1:return[g,l,f];case 2:return[f,l,E];case 3:return[f,g,l];case 4:return[E,f,l];case 5:return[l,f,g]}},r.hsv.hsl=function(a){var s,c,l,p=a[0],h=a[1]/100,f=a[2]/100,g=Math.max(f,.01);return l=(2-h)*f,c=h*g,[p,100*(c=(c/=(s=(2-h)*g)<=1?s:2-s)||0),100*(l/=2)]},r.hwb.rgb=function(a){var s,c,l,p,h,f,g,E=a[0]/360,C=a[1]/100,A=a[2]/100,v=C+A;switch(v>1&&(C/=v,A/=v),l=6*E-(s=Math.floor(6*E)),(1&s)!=0&&(l=1-l),p=C+l*((c=1-A)-C),s){default:case 6:case 0:h=c,f=p,g=C;break;case 1:h=p,f=c,g=C;break;case 2:h=C,f=c,g=p;break;case 3:h=C,f=p,g=c;break;case 4:h=p,f=C,g=c;break;case 5:h=c,f=C,g=p}return[255*h,255*f,255*g]},r.cmyk.rgb=function(a){var s=a[0]/100,c=a[1]/100,l=a[2]/100,p=a[3]/100;return[255*(1-Math.min(1,s*(1-p)+p)),255*(1-Math.min(1,c*(1-p)+p)),255*(1-Math.min(1,l*(1-p)+p))]},r.xyz.rgb=function(a){var s,c,l,p=a[0]/100,h=a[1]/100,f=a[2]/100;return c=-.9689*p+1.8758*h+.0415*f,l=.0557*p+-.204*h+1.057*f,s=(s=3.2406*p+-1.5372*h+-.4986*f)>.0031308?1.055*Math.pow(s,1/2.4)-.055:12.92*s,c=c>.0031308?1.055*Math.pow(c,1/2.4)-.055:12.92*c,l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:12.92*l,[255*(s=Math.min(Math.max(0,s),1)),255*(c=Math.min(Math.max(0,c),1)),255*(l=Math.min(Math.max(0,l),1))]},r.xyz.lab=function(a){var s=a[0],c=a[1],l=a[2];return c/=100,l/=108.883,s=(s/=95.047)>.008856?Math.pow(s,1/3):7.787*s+16/116,[116*(c=c>.008856?Math.pow(c,1/3):7.787*c+16/116)-16,500*(s-c),200*(c-(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116))]},r.lab.xyz=function(a){var s,c,l,p=a[0];s=a[1]/500+(c=(p+16)/116),l=c-a[2]/200;var h=Math.pow(c,3),f=Math.pow(s,3),g=Math.pow(l,3);return c=h>.008856?h:(c-16/116)/7.787,s=f>.008856?f:(s-16/116)/7.787,l=g>.008856?g:(l-16/116)/7.787,[s*=95.047,c*=100,l*=108.883]},r.lab.lch=function(a){var s,c=a[0],l=a[1],p=a[2];return(s=360*Math.atan2(p,l)/2/Math.PI)<0&&(s+=360),[c,Math.sqrt(l*l+p*p),s]},r.lch.lab=function(a){var s,c=a[0],l=a[1];return s=a[2]/360*2*Math.PI,[c,l*Math.cos(s),l*Math.sin(s)]},r.rgb.ansi16=function(a){var s=a[0],c=a[1],l=a[2],p=1 in arguments?arguments[1]:r.rgb.hsv(a)[2];if((p=Math.round(p/50))===0)return 30;var h=30+(Math.round(l/255)<<2|Math.round(c/255)<<1|Math.round(s/255));return p===2&&(h+=60),h},r.hsv.ansi16=function(a){return r.rgb.ansi16(r.hsv.rgb(a),a[2])},r.rgb.ansi256=function(a){var s=a[0],c=a[1],l=a[2];return s===c&&c===l?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(c/255*5)+Math.round(l/255*5)},r.ansi16.rgb=function(a){var s=a%10;if(s===0||s===7)return a>50&&(s+=3.5),[s=s/10.5*255,s,s];var c=.5*(1+~~(a>50));return[(1&s)*c*255,(s>>1&1)*c*255,(s>>2&1)*c*255]},r.ansi256.rgb=function(a){if(a>=232){var s=10*(a-232)+8;return[s,s,s]}var c;return a-=16,[Math.floor(a/36)/5*255,Math.floor((c=a%36)/6)/5*255,c%6/5*255]},r.rgb.hex=function(a){var s=(((255&Math.round(a[0]))<<16)+((255&Math.round(a[1]))<<8)+(255&Math.round(a[2]))).toString(16).toUpperCase();return"000000".substring(s.length)+s},r.hex.rgb=function(a){var s=a.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];var c=s[0];s[0].length===3&&(c=c.split("").map(function(p){return p+p}).join(""));var l=parseInt(c,16);return[l>>16&255,l>>8&255,255&l]},r.rgb.hcg=function(a){var s,c=a[0]/255,l=a[1]/255,p=a[2]/255,h=Math.max(Math.max(c,l),p),f=Math.min(Math.min(c,l),p),g=h-f;return s=g<=0?0:h===c?(l-p)/g%6:h===l?2+(p-c)/g:4+(c-l)/g+4,s/=6,[360*(s%=1),100*g,100*(g<1?f/(1-g):0)]},r.hsl.hcg=function(a){var s=a[1]/100,c=a[2]/100,l=1,p=0;return(l=c<.5?2*s*c:2*s*(1-c))<1&&(p=(c-.5*l)/(1-l)),[a[0],100*l,100*p]},r.hsv.hcg=function(a){var s=a[1]/100,c=a[2]/100,l=s*c,p=0;return l<1&&(p=(c-l)/(1-l)),[a[0],100*l,100*p]},r.hcg.rgb=function(a){var s=a[0]/360,c=a[1]/100,l=a[2]/100;if(c===0)return[255*l,255*l,255*l];var p,h=[0,0,0],f=s%1*6,g=f%1,E=1-g;switch(Math.floor(f)){case 0:h[0]=1,h[1]=g,h[2]=0;break;case 1:h[0]=E,h[1]=1,h[2]=0;break;case 2:h[0]=0,h[1]=1,h[2]=g;break;case 3:h[0]=0,h[1]=E,h[2]=1;break;case 4:h[0]=g,h[1]=0,h[2]=1;break;default:h[0]=1,h[1]=0,h[2]=E}return p=(1-c)*l,[255*(c*h[0]+p),255*(c*h[1]+p),255*(c*h[2]+p)]},r.hcg.hsv=function(a){var s=a[1]/100,c=s+a[2]/100*(1-s),l=0;return c>0&&(l=s/c),[a[0],100*l,100*c]},r.hcg.hsl=function(a){var s=a[1]/100,c=a[2]/100*(1-s)+.5*s,l=0;return c>0&&c<.5?l=s/(2*c):c>=.5&&c<1&&(l=s/(2*(1-c))),[a[0],100*l,100*c]},r.hcg.hwb=function(a){var s=a[1]/100,c=s+a[2]/100*(1-s);return[a[0],100*(c-s),100*(1-c)]},r.hwb.hcg=function(a){var s=a[1]/100,c=1-a[2]/100,l=c-s,p=0;return l<1&&(p=(c-l)/(1-l)),[a[0],100*l,100*p]},r.apple.rgb=function(a){return[a[0]/65535*255,a[1]/65535*255,a[2]/65535*255]},r.rgb.apple=function(a){return[a[0]/255*65535,a[1]/255*65535,a[2]/255*65535]},r.gray.rgb=function(a){return[a[0]/100*255,a[0]/100*255,a[0]/100*255]},r.gray.hsl=r.gray.hsv=function(a){return[0,0,a[0]]},r.gray.hwb=function(a){return[0,100,a[0]]},r.gray.cmyk=function(a){return[0,0,0,a[0]]},r.gray.lab=function(a){return[a[0],0,0]},r.gray.hex=function(a){var s=255&Math.round(a[0]/100*255),c=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(c.length)+c},r.rgb.gray=function(a){return[(a[0]+a[1]+a[2])/3/255*100]}});function jE(e){var t=function(){for(var c={},l=Object.keys(lr),p=l.length,h=0;h<p;h++)c[l[h]]={distance:-1,parent:null};return c}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),u=Object.keys(lr[r]),i=u.length,o=0;o<i;o++){var a=u[o],s=t[a];s.distance===-1&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(a))}return t}d(jE,"bo");function RE(e,t){return function(n){return t(e(n))}}d(RE,"Co");function ME(e,t){for(var n=[t[e].parent,e],r=lr[t[e].parent][e],u=t[e].parent;t[u].parent;)n.unshift(t[u].parent),r=RE(lr[t[u].parent][u],r),u=t[u].parent;return r.conversion=n,r}d(ME,"vo");var yu={};Object.keys(lr).forEach(function(e){yu[e]={},Object.defineProperty(yu[e],"channels",{value:lr[e].channels}),Object.defineProperty(yu[e],"labels",{value:lr[e].labels});var t=function(n){for(var r=jE(n),u={},i=Object.keys(r),o=i.length,a=0;a<o;a++){var s=i[a];r[s].parent!==null&&(u[s]=ME(s,r))}return u}(e);Object.keys(t).forEach(function(n){var r=t[n];yu[e][n]=function(u){var i=d(function(o){if(o==null)return o;arguments.length>1&&(o=Array.prototype.slice.call(arguments));var a=u(o);if(typeof a=="object")for(var s=a.length,c=0;c<s;c++)a[c]=Math.round(a[c]);return a},"t49");return"conversion"in u&&(i.conversion=u.conversion),i}(r),yu[e][n].raw=function(u){var i=d(function(o){return o==null?o:(arguments.length>1&&(o=Array.prototype.slice.call(arguments)),u(o))},"t50");return"conversion"in u&&(i.conversion=u.conversion),i}(r)})});var Xo,Eu=yu,Ne=ce(function(e){let t=d((u,i)=>function(){let o=u.apply(Eu,arguments);return"\x1B[".concat(o+i,"m")},"t51"),n=d((u,i)=>function(){let o=u.apply(Eu,arguments);return"\x1B[".concat(38+i,";5;").concat(o,"m")},"n37"),r=d((u,i)=>function(){let o=u.apply(Eu,arguments);return"\x1B[".concat(38+i,";2;").concat(o[0],";").concat(o[1],";").concat(o[2],"m")},"r21");Object.defineProperty(e,"exports",{enumerable:!0,get:function(){let u=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(let s of Object.keys(i)){let c=i[s];for(let l of Object.keys(c)){let p=c[l];i[l]={open:"\x1B[".concat(p[0],"m"),close:"\x1B[".concat(p[1],"m")},c[l]=i[l],u.set(p[0],p[1])}Object.defineProperty(i,s,{value:c,enumerable:!1}),Object.defineProperty(i,"codes",{value:u,enumerable:!1})}let o=d(s=>s,"i"),a=d((s,c,l)=>[s,c,l],"u");i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(a,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(a,10)};for(let s of Object.keys(Eu)){if(typeof Eu[s]!="object")continue;let c=Eu[s];s==="ansi16"&&(s="ansi"),"ansi16"in c&&(i.color.ansi[s]=t(c.ansi16,0),i.bgColor.ansi[s]=t(c.ansi16,10)),"ansi256"in c&&(i.color.ansi256[s]=n(c.ansi256,0),i.bgColor.ansi256[s]=n(c.ansi256,10)),"rgb"in c&&(i.color.ansi16m[s]=r(c.rgb,0),i.bgColor.ansi16m[s]=r(c.rgb,10))}return i}})});function Rd(){if(Xo===void 0){var e=new ArrayBuffer(2),t=new Uint8Array(e),n=new Uint16Array(e);if(t[0]=1,t[1]=2,n[0]===258)Xo="BE";else{if(n[0]!==513)throw new Error("unable to figure out endianess");Xo="LE"}}return Xo}d(Rd,"wo");function Md(){return Re.location!==void 0?Re.location.hostname:""}d(Md,"To");function qd(){return[]}d(qd,"Bo");function $d(){return 0}d($d,"ko");function Vd(){return Number.MAX_VALUE}d(Vd,"No");function Ud(){return Number.MAX_VALUE}d(Ud,"Po");function Wd(){return[]}d(Wd,"Oo");function Gd(){return"Browser"}d(Gd,"Io");function Hd(){return Re.navigator!==void 0?Re.navigator.appVersion:""}d(Hd,"jo");function zd(){}d(zd,"Lo");function Xd(){}d(Xd,"_o");function Jd(){return"javascript"}d(Jd,"Mo");function Yd(){return"browser"}d(Yd,"Ro");function ol(){return"/tmp"}d(ol,"Vo");var Kd=ol,qE={EOL:`
|
|
87
|
+
`,arch:Jd,platform:Yd,tmpdir:Kd,tmpDir:ol,networkInterfaces:zd,getNetworkInterfaces:Xd,release:Hd,type:Gd,cpus:Wd,totalmem:Ud,freemem:Vd,uptime:$d,loadavg:qd,hostname:Md,endianness:Rd},Ce=d((e,t)=>{t=t||De.argv;let n=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(n+e),u=t.indexOf("--");return r!==-1&&(u===-1||r<u)},"Wo"),Jo=Xn(Object.freeze({__proto__:null,endianness:Rd,hostname:Md,loadavg:qd,uptime:$d,freemem:Vd,totalmem:Ud,cpus:Wd,type:Gd,release:Hd,networkInterfaces:zd,getNetworkInterfaces:Xd,arch:Jd,platform:Yd,tmpDir:ol,tmpdir:Kd,EOL:`
|
|
88
|
+
`,default:qE}));let Ge=De.env,bu;function sl(e){return function(t){return t!==0&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}(function(t){if(bu===!1)return 0;if(Ce("color=16m")||Ce("color=full")||Ce("color=truecolor"))return 3;if(Ce("color=256"))return 2;if(t&&!t.isTTY&&bu!==!0)return 0;let n=bu?1:0;if(De.platform==="win32"){let r=Jo.release().split(".");return Number(De.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in Ge)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in Ge)||Ge.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in Ge)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ge.TEAMCITY_VERSION)?1:0;if(Ge.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ge){let r=parseInt((Ge.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ge.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ge.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ge.TERM)||"COLORTERM"in Ge?1:(Ge.TERM,n)}(e))}d(sl,"Go"),Ce("no-color")||Ce("no-colors")||Ce("color=false")?bu=!1:(Ce("color")||Ce("colors")||Ce("color=true")||Ce("color=always"))&&(bu=!0),"FORCE_COLOR"in Ge&&(bu=Ge.FORCE_COLOR.length===0||parseInt(Ge.FORCE_COLOR,10)!==0);var $E={supportsColor:sl,stdout:sl(De.stdout),stderr:sl(De.stderr)};let VE=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Qd=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,UE=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,WE=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,GE=new Map([["n",`
|
|
89
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Zd(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):GE.get(e)||e}d(Zd,"ei");function HE(e,t){let n=[],r=t.trim().split(/\s*,\s*/g),u;for(let i of r)if(isNaN(i)){if(!(u=i.match(UE)))throw new Error("Invalid Chalk template style argument: ".concat(i," (in style '").concat(e,"')"));n.push(u[2].replace(WE,(o,a,s)=>a?Zd(a):s))}else n.push(Number(i));return n}d(HE,"ti");function zE(e){Qd.lastIndex=0;let t=[],n;for(;(n=Qd.exec(e))!==null;){let r=n[1];if(n[2]){let u=HE(r,n[2]);t.push([r].concat(u))}else t.push([r])}return t}d(zE,"ni");function ef(e,t){let n={};for(let u of t)for(let i of u.styles)n[i[0]]=u.inverse?null:i.slice(1);let r=e;for(let u of Object.keys(n))if(Array.isArray(n[u])){if(!(u in r))throw new Error("Unknown Chalk style: ".concat(u));r=n[u].length>0?r[u].apply(r,n[u]):r[u]}return r}d(ef,"ri");var XE=d((e,t)=>{let n=[],r=[],u=[];if(t.replace(VE,(i,o,a,s,c,l)=>{if(o)u.push(Zd(o));else if(s){let p=u.join("");u=[],r.push(n.length===0?p:ef(e,n)(p)),n.push({inverse:a,styles:zE(s)})}else if(c){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");r.push(ef(e,n)(u.join(""))),u=[],n.pop()}else u.push(l)}),r.push(u.join("")),n.length>0){let i="Chalk template literal is missing ".concat(n.length," closing bracket").concat(n.length===1?"":"s"," (`}`)");throw new Error(i)}return r.join("")},"oi"),pr=ce(function(e){let t=$E.stdout,n=De.platform==="win32"&&!(De.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],u=new Set(["gray"]),i=Object.create(null);function o(h,f){f=f||{};let g=t?t.level:0;h.level=f.level===void 0?g:f.level,h.enabled="enabled"in f?f.enabled:h.level>0}d(o,"u");function a(h){if(!this||!(this instanceof a)||this.template){let f={};return o(f,h),f.template=function(){let g=[].slice.call(arguments);return p.apply(null,[f.template].concat(g))},Object.setPrototypeOf(f,a.prototype),Object.setPrototypeOf(f.template,f),f.template.constructor=a,f.template}o(this,h)}d(a,"s"),n&&(Ne.blue.open="\x1B[94m");for(let h of Object.keys(Ne))Ne[h].closeRe=new RegExp(al(Ne[h].close),"g"),i[h]={get(){let f=Ne[h];return c.call(this,this._styles?this._styles.concat(f):[f],this._empty,h)}};i.visible={get(){return c.call(this,this._styles||[],!0,"visible")}},Ne.color.closeRe=new RegExp(al(Ne.color.close),"g");for(let h of Object.keys(Ne.color.ansi))u.has(h)||(i[h]={get(){let f=this.level;return function(){let g=Ne.color[r[f]][h].apply(null,arguments),E={open:g,close:Ne.color.close,closeRe:Ne.color.closeRe};return c.call(this,this._styles?this._styles.concat(E):[E],this._empty,h)}}});Ne.bgColor.closeRe=new RegExp(al(Ne.bgColor.close),"g");for(let h of Object.keys(Ne.bgColor.ansi))u.has(h)||(i["bg"+h[0].toUpperCase()+h.slice(1)]={get(){let f=this.level;return function(){let g=Ne.bgColor[r[f]][h].apply(null,arguments),E={open:g,close:Ne.bgColor.close,closeRe:Ne.bgColor.closeRe};return c.call(this,this._styles?this._styles.concat(E):[E],this._empty,h)}}});let s=Object.defineProperties(()=>{},i);function c(h,f,g){let E=d(function(){return l.apply(E,arguments)},"r");E._styles=h,E._empty=f;let C=this;return Object.defineProperty(E,"level",{enumerable:!0,get:()=>C.level,set(A){C.level=A}}),Object.defineProperty(E,"enabled",{enumerable:!0,get:()=>C.enabled,set(A){C.enabled=A}}),E.hasGrey=this.hasGrey||g==="gray"||g==="grey",E.__proto__=s,E}d(c,"c");function l(){let h=arguments,f=h.length,g=String(arguments[0]);if(f===0)return"";if(f>1)for(let C=1;C<f;C++)g+=" "+h[C];if(!this.enabled||this.level<=0||!g)return this._empty?"":g;let E=Ne.dim.open;n&&this.hasGrey&&(Ne.dim.open="");for(let C of this._styles.slice().reverse())g=C.open+g.replace(C.closeRe,C.open)+C.close,g=g.replace(/\r?\n/g,"".concat(C.close,"$&").concat(C.open));return Ne.dim.open=E,g}d(l,"l");function p(h,f){if(!Array.isArray(f))return[].slice.call(arguments,1).join(" ");let g=[].slice.call(arguments,2),E=[f.raw[0]];for(let C=1;C<f.length;C++)E.push(String(g[C-1]).replace(/[{}\\]/g,"\\$&")),E.push(String(f.raw[C]));return XE(h,E.join(""))}d(p,"p"),Object.defineProperties(a.prototype,i),e.exports=a(),e.exports.supportsColor=t,e.exports.default=e.exports}),tf=Object.defineProperty({commonDeprecatedHandler:(e,t,{descriptor:n})=>{let r=["".concat(pr.default.yellow(typeof e=="string"?n.key(e):n.pair(e))," is deprecated")];return t&&r.push("we now treat it as ".concat(pr.default.blue(typeof t=="string"?n.key(t):n.pair(t)))),r.join("; ")+"."}},"__esModule",{value:!0}),JE=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),xe.__exportStar(tf,t)}),YE=Object.defineProperty({commonInvalidHandler:(e,t,n)=>["Invalid ".concat(pr.default.red(n.descriptor.key(e))," value."),"Expected ".concat(pr.default.blue(n.schemas[e].expected(n)),","),"but received ".concat(pr.default.red(n.descriptor.value(t)),".")].join(" ")},"__esModule",{value:!0}),nf=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),xe.__exportStar(YE,t)}),cl=[],rf=[],uf=Object.defineProperty({levenUnknownHandler:(e,t,{descriptor:n,logger:r,schemas:u})=>{let i=["Ignored unknown option ".concat(pr.default.yellow(n.pair({key:e,value:t})),".")],o=Object.keys(u).sort().find(a=>function(s,c){if(s===c)return 0;var l=s;s.length>c.length&&(s=c,c=l);var p=s.length,h=c.length;if(p===0)return h;if(h===0)return p;for(;p>0&&s.charCodeAt(~-p)===c.charCodeAt(~-h);)p--,h--;if(p===0)return h;for(var f,g,E,C,A=0;A<p&&s.charCodeAt(A)===c.charCodeAt(A);)A++;if(h-=A,(p-=A)==0)return h;for(var v=0,S=0;v<p;)rf[A+v]=s.charCodeAt(A+v),cl[v]=++v;for(;S<h;)for(f=c.charCodeAt(A+S),E=S++,g=S,v=0;v<p;v++)C=f===rf[A+v]?E:E+1,E=cl[v],g=cl[v]=E>g?C>g?g+1:C:C>E?E+1:C;return g}(e,a)<3);o&&i.push("Did you mean ".concat(pr.default.blue(n.key(o)),"?")),r.warn(i.join(" "))}},"__esModule",{value:!0}),KE=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),xe.__exportStar(uf,t)}),QE=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),xe.__exportStar(JE,t),xe.__exportStar(nf,t),xe.__exportStar(KE,t)});let ZE=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function af(e,t){let n=new e(t),r=Object.create(n);for(let u of ZE)u in t&&(r[u]=nb(t[u],n,of.prototype[u].length));return r}d(af,"gi");var eb=af;let of=d(class{constructor(t){this.name=t.name}static create(t){return af(this,t)}default(t){}expected(t){return"nothing"}validate(t,n){return!1}deprecated(t,n){return!1}forward(t,n){}redirect(t,n){}overlap(t,n,r){return t}preprocess(t,n){return t}postprocess(t,n){return t}},"Di");var tb=of;function nb(e,t,n){return typeof e=="function"?(...r)=>e(...r.slice(0,n-1),t,...r.slice(n-1)):()=>e}d(nb,"bi");var Mn=Object.defineProperty({createSchema:eb,Schema:tb},"__esModule",{value:!0}),rb=d(class extends Mn.Schema{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,n){return n.schemas[this._sourceName].validate(t,n)}redirect(t,n){return this._sourceName}},"vi"),ub=Object.defineProperty({AliasSchema:rb},"__esModule",{value:!0}),ib=d(class extends Mn.Schema{expected(){return"anything"}validate(){return!0}},"xi"),ab=Object.defineProperty({AnySchema:ib},"__esModule",{value:!0}),ob=d(class extends Mn.Schema{constructor(t){var{valueSchema:n,name:r=n.name}=t,u=xe.__rest(t,["valueSchema","name"]);super(Object.assign({},u,{name:r})),this._valueSchema=n}expected(t){return"an array of ".concat(this._valueSchema.expected(t))}validate(t,n){if(!Array.isArray(t))return!1;let r=[];for(let u of t){let i=n.normalizeValidateResult(this._valueSchema.validate(u,n),u);i!==!0&&r.push(i.value)}return r.length===0||{value:r}}deprecated(t,n){let r=[];for(let u of t){let i=n.normalizeDeprecatedResult(this._valueSchema.deprecated(u,n),u);i!==!1&&r.push(...i.map(({value:o})=>({value:[o]})))}return r}forward(t,n){let r=[];for(let u of t){let i=n.normalizeForwardResult(this._valueSchema.forward(u,n),u);r.push(...i.map(sf))}return r}redirect(t,n){let r=[],u=[];for(let i of t){let o=n.normalizeRedirectResult(this._valueSchema.redirect(i,n),i);"remain"in o&&r.push(o.remain),u.push(...o.redirect.map(sf))}return r.length===0?{redirect:u}:{redirect:u,remain:r}}overlap(t,n){return t.concat(n)}},"Ti");function sf({from:e,to:t}){return{from:[e],to:t}}d(sf,"ki");var sb=Object.defineProperty({ArraySchema:ob},"__esModule",{value:!0}),cb=d(class extends Mn.Schema{expected(){return"true or false"}validate(t){return typeof t=="boolean"}},"Pi"),lb=Object.defineProperty({BooleanSchema:cb},"__esModule",{value:!0}),pb=d(function(e,t){let n=Object.create(null);for(let r of e){let u=r[t];if(n[u])throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(u)));n[u]=r}return n},"ji"),db=d(function(e,t){let n=new Map;for(let r of e){let u=r[t];if(n.has(u))throw new Error("Duplicate ".concat(t," ").concat(JSON.stringify(u)));n.set(u,r)}return n},"Li"),fb=d(function(){let e=Object.create(null);return t=>{let n=JSON.stringify(t);return!!e[n]||(e[n]=!0,!1)}},"_i"),hb=d(function(e,t){let n=[],r=[];for(let u of e)t(u)?n.push(u):r.push(u);return[n,r]},"Mi"),Db=d(function(e){return e===Math.floor(e)},"Ri"),mb=d(function(e,t){if(e===t)return 0;let n=typeof e,r=typeof t,u=["undefined","object","boolean","number","string"];return n!==r?u.indexOf(n)-u.indexOf(r):n!=="string"?Number(e)-Number(t):e.localeCompare(t)},"Vi"),gb=d(function(e){return e===void 0?{}:e},"$i"),yb=d(function(e,t){return e===!0||(e===!1?{value:t}:e)},"qi"),Eb=d(function(e,t,n=!1){return e!==!1&&(e===!0?!!n||[{value:t}]:"value"in e?[e]:e.length!==0&&e)},"Wi");function ll(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}d(ll,"Ui");var bb=ll;function cf(e,t){return e===void 0?[]:Array.isArray(e)?e.map(n=>ll(n,t)):[ll(e,t)]}d(cf,"Hi");var Cb=cf,vb=d(function(e,t){let n=cf(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return n.length===0?{remain:t,redirect:n}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:n}:{redirect:n}},"Ji"),He=Object.defineProperty({recordFromArray:pb,mapFromArray:db,createAutoChecklist:fb,partition:hb,isInt:Db,comparePrimitive:mb,normalizeDefaultResult:gb,normalizeValidateResult:yb,normalizeDeprecatedResult:Eb,normalizeTransferResult:bb,normalizeForwardResult:Cb,normalizeRedirectResult:vb},"__esModule",{value:!0}),Ab=d(class extends Mn.Schema{constructor(t){super(t),this._choices=He.mapFromArray(t.choices.map(n=>n&&typeof n=="object"?n:{value:n}),"value")}expected({descriptor:t}){let n=Array.from(this._choices.keys()).map(i=>this._choices.get(i)).filter(i=>!i.deprecated).map(i=>i.value).sort(He.comparePrimitive).map(t.value),r=n.slice(0,-2),u=n.slice(-2);return r.concat(u.join(" or ")).join(", ")}validate(t){return this._choices.has(t)}deprecated(t){let n=this._choices.get(t);return!(!n||!n.deprecated)&&{value:t}}forward(t){let n=this._choices.get(t);return n?n.forward:void 0}redirect(t){let n=this._choices.get(t);return n?n.redirect:void 0}},"Yi"),Fb=Object.defineProperty({ChoiceSchema:Ab},"__esModule",{value:!0}),Sb=d(class extends Mn.Schema{expected(){return"a number"}validate(t,n){return typeof t=="number"}},"Zi"),lf=Object.defineProperty({NumberSchema:Sb},"__esModule",{value:!0}),xb=d(class extends lf.NumberSchema{expected(){return"an integer"}validate(t,n){return n.normalizeValidateResult(super.validate(t,n),t)===!0&&He.isInt(t)}},"nu"),Tb=Object.defineProperty({IntegerSchema:xb},"__esModule",{value:!0}),wb=d(class extends Mn.Schema{expected(){return"a string"}validate(t){return typeof t=="string"}},"iu"),Nb=Object.defineProperty({StringSchema:wb},"__esModule",{value:!0}),Bb=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),xe.__exportStar(ub,t),xe.__exportStar(ab,t),xe.__exportStar(sb,t),xe.__exportStar(lb,t),xe.__exportStar(Fb,t),xe.__exportStar(Tb,t),xe.__exportStar(lf,t),xe.__exportStar(Nb,t)}),kb=jd.apiDescriptor,_b=uf.levenUnknownHandler,Pb=nf.commonInvalidHandler,Ob=tf.commonDeprecatedHandler,Yo=Object.defineProperty({defaultDescriptor:kb,defaultUnknownHandler:_b,defaultInvalidHandler:Pb,defaultDeprecatedHandler:Ob},"__esModule",{value:!0});let pf=d(class{constructor(t,n){let{logger:r=console,descriptor:u=Yo.defaultDescriptor,unknown:i=Yo.defaultUnknownHandler,invalid:o=Yo.defaultInvalidHandler,deprecated:a=Yo.defaultDeprecatedHandler}=n||{};this._utils={descriptor:u,logger:r||{warn:()=>{}},schemas:He.recordFromArray(t,"name"),normalizeDefaultResult:He.normalizeDefaultResult,normalizeDeprecatedResult:He.normalizeDeprecatedResult,normalizeForwardResult:He.normalizeForwardResult,normalizeRedirectResult:He.normalizeRedirectResult,normalizeValidateResult:He.normalizeValidateResult},this._unknownHandler=i,this._invalidHandler=o,this._deprecatedHandler=a,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=He.createAutoChecklist()}normalize(t){let n={},r=[t],u=d(()=>{for(;r.length!==0;){let i=r.shift(),o=this._applyNormalization(i,n);r.push(...o)}},"r24");u();for(let i of Object.keys(this._utils.schemas)){let o=this._utils.schemas[i];if(!(i in n)){let a=He.normalizeDefaultResult(o.default(this._utils));"value"in a&&r.push({[i]:a.value})}}u();for(let i of Object.keys(this._utils.schemas)){let o=this._utils.schemas[i];i in n&&(n[i]=o.postprocess(n[i],this._utils))}return n}_applyNormalization(t,n){let r=[],[u,i]=He.partition(Object.keys(t),o=>o in this._utils.schemas);for(let o of u){let a=this._utils.schemas[o],s=a.preprocess(t[o],this._utils),c=He.normalizeValidateResult(a.validate(s,this._utils),s);if(c!==!0){let{value:f}=c,g=this._invalidHandler(o,f,this._utils);throw typeof g=="string"?new Error(g):g}let l=d(({from:f,to:g})=>{r.push(typeof g=="string"?{[g]:f}:{[g.key]:g.value})},"s"),p=d(({value:f,redirectTo:g})=>{let E=He.normalizeDeprecatedResult(a.deprecated(f,this._utils),s,!0);if(E!==!1)if(E===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,g,this._utils));else for(let{value:C}of E){let A={key:o,value:C};if(!this._hasDeprecationWarned(A)){let v=typeof g=="string"?{key:g,value:C}:g;this._utils.logger.warn(this._deprecatedHandler(A,v,this._utils))}}},"a");He.normalizeForwardResult(a.forward(s,this._utils),s).forEach(l);let h=He.normalizeRedirectResult(a.redirect(s,this._utils),s);if(h.redirect.forEach(l),"remain"in h){let f=h.remain;n[o]=o in n?a.overlap(n[o],f,this._utils):f,p({value:f})}for(let{from:f,to:g}of h.redirect)p({value:f,redirectTo:g})}for(let o of i){let a=t[o],s=this._unknownHandler(o,a,this._utils);if(s)for(let c of Object.keys(s)){let l={[c]:s[c]};c in this._utils.schemas?r.push(l):Object.assign(n,l)}}return r}},"hu");var Ib=pf,Lb=Object.defineProperty({normalize:(e,t,n)=>new pf(t,n).normalize(e),Normalizer:Ib},"__esModule",{value:!0}),ht=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),xe.__exportStar(IE,t),xe.__exportStar(QE,t),xe.__exportStar(Bb,t),xe.__exportStar(Lb,t),xe.__exportStar(Mn,t)});let pl=[],df=[],ff=d((e,t)=>{if(e===t)return 0;let n=e;e.length>t.length&&(e=t,t=n);let r=e.length,u=t.length;for(;r>0&&e.charCodeAt(~-r)===t.charCodeAt(~-u);)r--,u--;let i,o,a,s,c=0;for(;c<r&&e.charCodeAt(c)===t.charCodeAt(c);)c++;if(r-=c,u-=c,r===0)return u;let l=0,p=0;for(;l<r;)df[l]=e.charCodeAt(c+l),pl[l]=++l;for(;p<u;)for(i=t.charCodeAt(c+p),a=p++,o=p,l=0;l<r;l++)s=i===df[l]?a:a+1,a=pl[l],o=pl[l]=a>o?s>o?o+1:s:s>a?a+1:s;return o},"bu");var hf=ff,jb=ff;hf.default=jb;var na={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};let Df={};for(let e of Object.keys(na))Df[na[e]]=e;let te={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var dr=te;for(let e of Object.keys(te)){if(!("channels"in te[e]))throw new Error("missing channels property: "+e);if(!("labels"in te[e]))throw new Error("missing channel labels property: "+e);if(te[e].labels.length!==te[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:n}=te[e];delete te[e].channels,delete te[e].labels,Object.defineProperty(te[e],"channels",{value:t}),Object.defineProperty(te[e],"labels",{value:n})}function Rb(e){let t=function(){let r={},u=Object.keys(dr);for(let i=u.length,o=0;o<i;o++)r[u[o]]={distance:-1,parent:null};return r}(),n=[e];for(t[e].distance=0;n.length;){let r=n.pop(),u=Object.keys(dr[r]);for(let i=u.length,o=0;o<i;o++){let a=u[o],s=t[a];s.distance===-1&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(a))}}return t}d(Rb,"wu");function Mb(e,t){return function(n){return t(e(n))}}d(Mb,"Tu");function qb(e,t){let n=[t[e].parent,e],r=dr[t[e].parent][e],u=t[e].parent;for(;t[u].parent;)n.unshift(t[u].parent),r=Mb(dr[t[u].parent][u],r),u=t[u].parent;return r.conversion=n,r}d(qb,"Bu"),te.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,u=Math.min(t,n,r),i=Math.max(t,n,r),o=i-u,a,s;i===u?a=0:t===i?a=(n-r)/o:n===i?a=2+(r-t)/o:r===i&&(a=4+(t-n)/o),a=Math.min(60*a,360),a<0&&(a+=360);let c=(u+i)/2;return s=i===u?0:c<=.5?o/(i+u):o/(2-i-u),[a,100*s,100*c]},te.rgb.hsv=function(e){let t,n,r,u,i,o=e[0]/255,a=e[1]/255,s=e[2]/255,c=Math.max(o,a,s),l=c-Math.min(o,a,s),p=d(function(h){return(c-h)/6/l+.5},"p");return l===0?(u=0,i=0):(i=l/c,t=p(o),n=p(a),r=p(s),o===c?u=r-n:a===c?u=1/3+t-r:s===c&&(u=2/3+n-t),u<0?u+=1:u>1&&(u-=1)),[360*u,100*i,100*c]},te.rgb.hwb=function(e){let t=e[0],n=e[1],r=e[2],u=te.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[u,100*i,100*r]},te.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,u=Math.min(1-t,1-n,1-r);return[100*((1-t-u)/(1-u)||0),100*((1-n-u)/(1-u)||0),100*((1-r-u)/(1-u)||0),100*u]},te.rgb.keyword=function(e){let t=Df[e];if(t)return t;let n,r=1/0;for(let o of Object.keys(na)){let a=(i=na[o],((u=e)[0]-i[0])**2+(u[1]-i[1])**2+(u[2]-i[2])**2);a<r&&(r=a,n=o)}var u,i;return n},te.keyword.rgb=function(e){return na[e]},te.rgb.xyz=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255;return t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,[100*(.4124*t+.3576*n+.1805*r),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},te.rgb.lab=function(e){let t=te.rgb.xyz(e),n=t[0],r=t[1],u=t[2];return n/=95.047,r/=100,u/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,[116*r-16,500*(n-r),200*(r-u)]},te.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,u,i,o;if(n===0)return o=255*r,[o,o,o];u=r<.5?r*(1+n):r+n-r*n;let a=2*r-u,s=[0,0,0];for(let c=0;c<3;c++)i=t+1/3*-(c-1),i<0&&i++,i>1&&i--,o=6*i<1?a+6*(u-a)*i:2*i<1?u:3*i<2?a+(u-a)*(2/3-i)*6:a,s[c]=255*o;return s},te.hsl.hsv=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,u=n,i=Math.max(r,.01);return r*=2,n*=r<=1?r:2-r,u*=i<=1?i:2-i,[t,100*(r===0?2*u/(i+u):2*n/(r+n)),100*((r+n)/2)]},te.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,r=e[2]/100,u=Math.floor(t)%6,i=t-Math.floor(t),o=255*r*(1-n),a=255*r*(1-n*i),s=255*r*(1-n*(1-i));switch(r*=255,u){case 0:return[r,s,o];case 1:return[a,r,o];case 2:return[o,r,s];case 3:return[o,a,r];case 4:return[s,o,r];case 5:return[r,o,a]}},te.hsv.hsl=function(e){let t=e[0],n=e[1]/100,r=e[2]/100,u=Math.max(r,.01),i,o;o=(2-n)*r;let a=(2-n)*u;return i=n*u,i/=a<=1?a:2-a,i=i||0,o/=2,[t,100*i,100*o]},te.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100,u=n+r,i;u>1&&(n/=u,r/=u);let o=Math.floor(6*t),a=1-r;i=6*t-o,(1&o)!=0&&(i=1-i);let s=n+i*(a-n),c,l,p;switch(o){default:case 6:case 0:c=a,l=s,p=n;break;case 1:c=s,l=a,p=n;break;case 2:c=n,l=a,p=s;break;case 3:c=n,l=s,p=a;break;case 4:c=s,l=n,p=a;break;case 5:c=a,l=n,p=s}return[255*c,255*l,255*p]},te.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,u=e[3]/100;return[255*(1-Math.min(1,t*(1-u)+u)),255*(1-Math.min(1,n*(1-u)+u)),255*(1-Math.min(1,r*(1-u)+u))]},te.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,r=e[2]/100,u,i,o;return u=3.2406*t+-1.5372*n+-.4986*r,i=-.9689*t+1.8758*n+.0415*r,o=.0557*t+-.204*n+1.057*r,u=u>.0031308?1.055*u**(1/2.4)-.055:12.92*u,i=i>.0031308?1.055*i**(1/2.4)-.055:12.92*i,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,u=Math.min(Math.max(0,u),1),i=Math.min(Math.max(0,i),1),o=Math.min(Math.max(0,o),1),[255*u,255*i,255*o]},te.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];return t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,[116*n-16,500*(t-n),200*(n-r)]},te.lab.xyz=function(e){let t,n,r;n=(e[0]+16)/116,t=e[1]/500+n,r=n-e[2]/200;let u=n**3,i=t**3,o=r**3;return n=u>.008856?u:(n-16/116)/7.787,t=i>.008856?i:(t-16/116)/7.787,r=o>.008856?o:(r-16/116)/7.787,t*=95.047,n*=100,r*=108.883,[t,n,r]},te.lab.lch=function(e){let t=e[0],n=e[1],r=e[2],u;return u=360*Math.atan2(r,n)/2/Math.PI,u<0&&(u+=360),[t,Math.sqrt(n*n+r*r),u]},te.lch.lab=function(e){let t=e[0],n=e[1],r=e[2]/360*2*Math.PI;return[t,n*Math.cos(r),n*Math.sin(r)]},te.rgb.ansi16=function(e,t=null){let[n,r,u]=e,i=t===null?te.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let o=30+(Math.round(u/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return i===2&&(o+=60),o},te.hsv.ansi16=function(e){return te.rgb.ansi16(te.hsv.rgb(e),e[2])},te.rgb.ansi256=function(e){let t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},te.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},te.ansi256.rgb=function(e){if(e>=232){let n=10*(e-232)+8;return[n,n,n]}let t;return e-=16,[Math.floor(e/36)/5*255,Math.floor((t=e%36)/6)/5*255,t%6/5*255]},te.rgb.hex=function(e){let t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},te.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(u=>u+u).join(""));let r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},te.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,r=e[2]/255,u=Math.max(Math.max(t,n),r),i=Math.min(Math.min(t,n),r),o=u-i,a,s;return a=o<1?i/(1-o):0,s=o<=0?0:u===t?(n-r)/o%6:u===n?2+(r-t)/o:4+(t-n)/o,s/=6,s%=1,[360*s,100*o,100*a]},te.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n),u=0;return r<1&&(u=(n-.5*r)/(1-r)),[e[0],100*r,100*u]},te.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,r=t*n,u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},te.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[255*r,255*r,255*r];let u=[0,0,0],i=t%1*6,o=i%1,a=1-o,s=0;switch(Math.floor(i)){case 0:u[0]=1,u[1]=o,u[2]=0;break;case 1:u[0]=a,u[1]=1,u[2]=0;break;case 2:u[0]=0,u[1]=1,u[2]=o;break;case 3:u[0]=0,u[1]=a,u[2]=1;break;case 4:u[0]=o,u[1]=0,u[2]=1;break;default:u[0]=1,u[1]=0,u[2]=a}return s=(1-n)*r,[255*(n*u[0]+s),255*(n*u[1]+s),255*(n*u[2]+s)]},te.hcg.hsv=function(e){let t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},te.hcg.hsl=function(e){let t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},te.hcg.hwb=function(e){let t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},te.hwb.hcg=function(e){let t=e[1]/100,n=1-e[2]/100,r=n-t,u=0;return r<1&&(u=(n-r)/(1-r)),[e[0],100*r,100*u]},te.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},te.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},te.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},te.gray.hsl=function(e){return[0,0,e[0]]},te.gray.hsv=te.gray.hsl,te.gray.hwb=function(e){return[0,100,e[0]]},te.gray.cmyk=function(e){return[0,0,0,e[0]]},te.gray.lab=function(e){return[e[0],0,0]},te.gray.hex=function(e){let t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},te.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};let Cu={};Object.keys(dr).forEach(e=>{Cu[e]={},Object.defineProperty(Cu[e],"channels",{value:dr[e].channels}),Object.defineProperty(Cu[e],"labels",{value:dr[e].labels});let t=function(n){let r=Rb(n),u={},i=Object.keys(r);for(let o=i.length,a=0;a<o;a++){let s=i[a];r[s].parent!==null&&(u[s]=qb(s,r))}return u}(e);Object.keys(t).forEach(n=>{let r=t[n];Cu[e][n]=function(u){let i=d(function(...o){let a=o[0];if(a==null)return a;a.length>1&&(o=a);let s=u(o);if(typeof s=="object")for(let c=s.length,l=0;l<c;l++)s[l]=Math.round(s[l]);return s},"t67");return"conversion"in u&&(i.conversion=u.conversion),i}(r),Cu[e][n].raw=function(u){let i=d(function(...o){let a=o[0];return a==null?a:(a.length>1&&(o=a),u(o))},"t68");return"conversion"in u&&(i.conversion=u.conversion),i}(r)})});var $b=Cu,ra=ce(function(e){let t=d((c,l)=>(...p)=>{let h=c(...p);return"\x1B[".concat(h+l,"m")},"t69"),n=d((c,l)=>(...p)=>{let h=c(...p);return"\x1B[".concat(38+l,";5;").concat(h,"m")},"n44"),r=d((c,l)=>(...p)=>{let h=c(...p);return"\x1B[".concat(38+l,";2;").concat(h[0],";").concat(h[1],";").concat(h[2],"m")},"r28"),u=d(c=>c,"o16"),i=d((c,l,p)=>[c,l,p],"i10"),o=d((c,l,p)=>{Object.defineProperty(c,l,{get:()=>{let h=p();return Object.defineProperty(c,l,{value:h,enumerable:!0,configurable:!0}),h},enumerable:!0,configurable:!0})},"u8"),a,s=d((c,l,p,h)=>{a===void 0&&(a=$b);let f=h?10:0,g={};for(let[E,C]of Object.entries(a)){let A=E==="ansi16"?"ansi":E;E===l?g[A]=c(p,f):typeof C=="object"&&(g[A]=c(C[l],f))}return g},"a");Object.defineProperty(e,"exports",{enumerable:!0,get:function(){let c=new Map,l={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};l.color.gray=l.color.blackBright,l.bgColor.bgGray=l.bgColor.bgBlackBright,l.color.grey=l.color.blackBright,l.bgColor.bgGrey=l.bgColor.bgBlackBright;for(let[p,h]of Object.entries(l)){for(let[f,g]of Object.entries(h))l[f]={open:"\x1B[".concat(g[0],"m"),close:"\x1B[".concat(g[1],"m")},h[f]=l[f],c.set(g[0],g[1]);Object.defineProperty(l,p,{value:h,enumerable:!1})}return Object.defineProperty(l,"codes",{value:c,enumerable:!1}),l.color.close="\x1B[39m",l.bgColor.close="\x1B[49m",o(l.color,"ansi",()=>s(t,"ansi16",u,!1)),o(l.color,"ansi256",()=>s(n,"ansi256",u,!1)),o(l.color,"ansi16m",()=>s(r,"rgb",i,!1)),o(l.bgColor,"ansi",()=>s(t,"ansi16",u,!0)),o(l.bgColor,"ansi256",()=>s(n,"ansi256",u,!0)),o(l.bgColor,"ansi16m",()=>s(r,"rgb",i,!0)),l}})});function mf(){return!1}d(mf,"Ou");function gf(){throw new Error("tty.ReadStream is not implemented")}d(gf,"Iu");function yf(){throw new Error("tty.ReadStream is not implemented")}d(yf,"ju");var Vb={isatty:mf,ReadStream:gf,WriteStream:yf},Tt=d((e,t=De.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(n+e),u=t.indexOf("--");return r!==-1&&(u===-1||r<u)},"_u"),Ef=Xn(Object.freeze({__proto__:null,isatty:mf,ReadStream:gf,WriteStream:yf,default:Vb}));let{env:Oe}=De,vu;function dl(e){return e!==0&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}d(dl,"$u");function fl(e,t){if(vu===0)return 0;if(Tt("color=16m")||Tt("color=full")||Tt("color=truecolor"))return 3;if(Tt("color=256"))return 2;if(e&&!t&&vu===void 0)return 0;let n=vu||0;if(Oe.TERM==="dumb")return n;if(De.platform==="win32"){let r=Jo.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in Oe)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(r=>r in Oe)||Oe.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in Oe)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Oe.TEAMCITY_VERSION)?1:0;if(Oe.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Oe){let r=parseInt((Oe.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Oe.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Oe.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Oe.TERM)||"COLORTERM"in Oe?1:n}d(fl,"qu"),Tt("no-color")||Tt("no-colors")||Tt("color=false")||Tt("color=never")?vu=0:(Tt("color")||Tt("colors")||Tt("color=true")||Tt("color=always"))&&(vu=1),"FORCE_COLOR"in Oe&&(vu=Oe.FORCE_COLOR==="true"?1:Oe.FORCE_COLOR==="false"?0:Oe.FORCE_COLOR.length===0?1:Math.min(parseInt(Oe.FORCE_COLOR,10),3));var Ub={supportsColor:function(e){return dl(fl(e,e&&e.isTTY))},stdout:dl(fl(!0,Ef.isatty(1))),stderr:dl(fl(!0,Ef.isatty(2)))},Wb={stringReplaceAll:(e,t,n)=>{let r=e.indexOf(t);if(r===-1)return e;let u=t.length,i=0,o="";do o+=e.substr(i,r-i)+t+n,i=r+u,r=e.indexOf(t,i);while(r!==-1);return o+=e.substr(i),o},stringEncaseCRLFWithFirstIndex:(e,t,n,r)=>{let u=0,i="";do{let o=e[r-1]==="\r";i+=e.substr(u,(o?r-1:r)-u)+t+(o?`\r
|
|
90
|
+
`:`
|
|
91
|
+
`)+n,u=r+1,r=e.indexOf(`
|
|
92
|
+
`,u)}while(r!==-1);return i+=e.substr(u),i}};let Gb=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,bf=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Hb=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,zb=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,Xb=new Map([["n",`
|
|
93
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function Cf(e){let t=e[0]==="u",n=e[1]==="{";return t&&!n&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):t&&n?String.fromCodePoint(parseInt(e.slice(2,-1),16)):Xb.get(e)||e}d(Cf,"Yu");function Jb(e,t){let n=[],r=t.trim().split(/\s*,\s*/g),u;for(let i of r){let o=Number(i);if(Number.isNaN(o)){if(!(u=i.match(Hb)))throw new Error("Invalid Chalk template style argument: ".concat(i," (in style '").concat(e,"')"));n.push(u[2].replace(zb,(a,s,c)=>s?Cf(s):c))}else n.push(o)}return n}d(Jb,"Ku");function Yb(e){bf.lastIndex=0;let t=[],n;for(;(n=bf.exec(e))!==null;){let r=n[1];if(n[2]){let u=Jb(r,n[2]);t.push([r].concat(u))}else t.push([r])}return t}d(Yb,"Qu");function vf(e,t){let n={};for(let u of t)for(let i of u.styles)n[i[0]]=u.inverse?null:i.slice(1);let r=e;for(let[u,i]of Object.entries(n))if(Array.isArray(i)){if(!(u in r))throw new Error("Unknown Chalk style: ".concat(u));r=i.length>0?r[u](...i):r[u]}return r}d(vf,"Zu");var Kb=d((e,t)=>{let n=[],r=[],u=[];if(t.replace(Gb,(i,o,a,s,c,l)=>{if(o)u.push(Cf(o));else if(s){let p=u.join("");u=[],r.push(n.length===0?p:vf(e,n)(p)),n.push({inverse:a,styles:Yb(s)})}else if(c){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");r.push(vf(e,n)(u.join(""))),u=[],n.pop()}else u.push(l)}),r.push(u.join("")),n.length>0){let i="Chalk template literal is missing ".concat(n.length," closing bracket").concat(n.length===1?"":"s"," (`}`)");throw new Error(i)}return r.join("")},"es");let{stdout:hl,stderr:Dl}=Ub,{stringReplaceAll:Qb,stringEncaseCRLFWithFirstIndex:Zb}=Wb,{isArray:Ko}=Array,Af=["ansi","ansi","ansi256","ansi16m"],Au=Object.create(null),eC=d(class{constructor(t){return Ff(t)}},"as"),Ff=d(e=>{let t={};return((n,r={})=>{if(r.level&&!(Number.isInteger(r.level)&&r.level>=0&&r.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let u=hl?hl.level:0;n.level=r.level===void 0?u:r.level})(t,e),t.template=(...n)=>Tf(t.template,...n),Object.setPrototypeOf(t,Qo.prototype),Object.setPrototypeOf(t.template,t),t.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},t.template.Instance=eC,t.template},"cs");function Qo(e){return Ff(e)}d(Qo,"ls");for(let[e,t]of Object.entries(ra))Au[e]={get(){let n=Zo(this,ml(t.open,t.close,this._styler),this._isEmpty);return Object.defineProperty(this,e,{value:n}),n}};Au.visible={get(){let e=Zo(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:e}),e}};let Sf=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let e of Sf)Au[e]={get(){let{level:t}=this;return function(...n){let r=ml(ra.color[Af[t]][e](...n),ra.color.close,this._styler);return Zo(this,r,this._isEmpty)}}};for(let e of Sf)Au["bg"+e[0].toUpperCase()+e.slice(1)]={get(){let{level:t}=this;return function(...n){let r=ml(ra.bgColor[Af[t]][e](...n),ra.bgColor.close,this._styler);return Zo(this,r,this._isEmpty)}}};let tC=Object.defineProperties(()=>{},Object.assign({},Au,{level:{enumerable:!0,get(){return this._generator.level},set(e){this._generator.level=e}}})),ml=d((e,t,n)=>{let r,u;return n===void 0?(r=e,u=t):(r=n.openAll+e,u=t+n.closeAll),{open:e,close:t,openAll:r,closeAll:u,parent:n}},"ds"),Zo=d((e,t,n)=>{let r=d((...u)=>Ko(u[0])&&Ko(u[0].raw)?xf(r,Tf(r,...u)):xf(r,u.length===1?""+u[0]:u.join(" ")),"r");return Object.setPrototypeOf(r,tC),r._generator=e,r._styler=t,r._isEmpty=n,r},"hs"),xf=d((e,t)=>{if(e.level<=0||!t)return e._isEmpty?"":t;let n=e._styler;if(n===void 0)return t;let{openAll:r,closeAll:u}=n;if(t.indexOf("\x1B")!==-1)for(;n!==void 0;)t=Qb(t,n.close,n.open),n=n.parent;let i=t.indexOf(`
|
|
94
|
+
`);return i!==-1&&(t=Zb(t,u,r,i)),r+t+u},"ms"),gl,Tf=d((e,...t)=>{let[n]=t;if(!Ko(n)||!Ko(n.raw))return t.join(" ");let r=t.slice(1),u=[n.raw[0]];for(let i=1;i<n.length;i++)u.push(String(r[i-1]).replace(/[{}\\]/g,"\\$&"),String(n.raw[i]));return gl===void 0&&(gl=Kb),gl(e,u.join(""))},"ys");Object.defineProperties(Qo.prototype,Au);let es=Qo();es.supportsColor=hl,es.stderr=Qo({level:Dl?Dl.level:0}),es.stderr.supportsColor=Dl;var wf=es,nC=d(function(e,t){for(var n=-1,r=t.length,u=e.length;++n<r;)e[u+n]=t[n];return e},"bs"),rC=typeof It=="object"&&It&&It.Object===Object&&It,uC=typeof self=="object"&&self&&self.Object===Object&&self,Fu=(rC||uC||Function("return this")()).Symbol,Nf=Object.prototype,iC=Nf.hasOwnProperty,aC=Nf.toString,ua=Fu?Fu.toStringTag:void 0,oC=d(function(e){var t=iC.call(e,ua),n=e[ua];try{e[ua]=void 0;var r=!0}catch{}var u=aC.call(e);return r&&(t?e[ua]=n:delete e[ua]),u},"Ts"),sC=Object.prototype.toString,cC=d(function(e){return sC.call(e)},"ks"),Bf=Fu?Fu.toStringTag:void 0,lC=d(function(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Bf&&Bf in Object(e)?oC(e):cC(e)},"Ps"),kf=d(function(e){return e!=null&&typeof e=="object"},"Os"),_f=d(function(e){return kf(e)&&lC(e)=="[object Arguments]"},"Is"),Pf=Object.prototype,pC=Pf.hasOwnProperty,dC=Pf.propertyIsEnumerable,fC=_f(function(){return arguments}())?_f:function(e){return kf(e)&&pC.call(e,"callee")&&!dC.call(e,"callee")},hC=Array.isArray,Of=Fu?Fu.isConcatSpreadable:void 0,DC=d(function(e){return hC(e)||fC(e)||!!(Of&&e&&e[Of])},"$s"),mC=d(function e(t,n,r,u,i){var o=-1,a=t.length;for(r||(r=DC),i||(i=[]);++o<a;){var s=t[o];n>0&&r(s)?n>1?e(s,n-1,r,u,i):nC(i,s):u||(i[i.length]=s)}return i},"e"),yl=d(function(e){return e!=null&&e.length?mC(e,1):[]},"Ws");let ts={key:e=>e.length===1?"-".concat(e):"--".concat(e),value:e=>ht.apiDescriptor.value(e),pair:({key:e,value:t})=>t===!1?"--no-".concat(e):t===!0?ts.key(e):t===""?"".concat(ts.key(e)," without an argument"):"".concat(ts.key(e),"=").concat(t)},gC=d(class extends ht.ChoiceSchema{constructor({name:t,flags:n}){super({name:t,choices:n}),this._flags=[...n].sort()}preprocess(t,n){if(typeof t=="string"&&t.length>0&&!this._flags.includes(t)){let r=this._flags.find(u=>hf(u,t)<3);if(r)return n.logger.warn(["Unknown flag ".concat(wf.yellow(n.descriptor.value(t)),","),"did you mean ".concat(wf.blue(n.descriptor.value(r)),"?")].join(" ")),r}return t}expected(){return"a flag"}},"zs"),El;function If(e,t,{logger:n,isCLI:r=!1,passThrough:u=!1}={}){let i=u?Array.isArray(u)?(p,h)=>u.includes(p)?{[p]:h}:void 0:(p,h)=>({[p]:h}):(p,h,f)=>{let g=we(f.schemas,["_"]);return ht.levenUnknownHandler(p,h,Object.assign({},f,{schemas:g}))},o=r?ts:ht.apiDescriptor,a=function(p,{isCLI:h}){let f=[];h&&f.push(ht.AnySchema.create({name:"_"}));for(let g of p)f.push(yC(g,{isCLI:h,optionInfos:p})),g.alias&&h&&f.push(ht.AliasSchema.create({name:g.alias,sourceName:g.name}));return f}(t,{isCLI:r}),s=new ht.Normalizer(a,{logger:n,unknown:i,descriptor:o}),c=n!==!1;c&&El&&(s._hasDeprecationWarned=El);let l=s.normalize(e);return c&&(El=s._hasDeprecationWarned),l}d(If,"Gs");function yC(e,{isCLI:t,optionInfos:n}){let r,u={name:e.name},i={};switch(e.type){case"int":r=ht.IntegerSchema,t&&(u.preprocess=o=>Number(o));break;case"string":r=ht.StringSchema;break;case"choice":r=ht.ChoiceSchema,u.choices=e.choices.map(o=>typeof o=="object"&&o.redirect?Object.assign({},o,{redirect:{to:{key:e.name,value:o.redirect}}}):o);break;case"boolean":r=ht.BooleanSchema;break;case"flag":r=gC,u.flags=yl(n.map(o=>[o.alias,o.description&&o.name,o.oppositeDescription&&"no-".concat(o.name)].filter(Boolean)));break;case"path":r=ht.StringSchema;break;default:throw new Error("Unexpected type ".concat(e.type))}if(e.exception?u.validate=(o,a,s)=>e.exception(o)||a.validate(o,s):u.validate=(o,a,s)=>o===void 0||a.validate(o,s),e.redirect&&(i.redirect=o=>o?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(i.deprecated=!0),t&&!e.array){let o=u.preprocess||(a=>a);u.preprocess=(a,s,c)=>s.preprocess(o(Array.isArray(a)?be(a):a),c)}return e.array?ht.ArraySchema.create(Object.assign({},t?{preprocess:o=>Array.isArray(o)?o:[o]}:{},i,{valueSchema:r.create(u)})):r.create(Object.assign({},u,i))}d(yC,"Js");var Lf={normalizeApiOptions:function(e,t,n){return If(e,t,n)},normalizeCliOptions:function(e,t,n){return If(e,t,Object.assign({isCLI:!0},n))}};let{isNonEmptyArray:EC}=ue;function ns(e,t){let{ignoreDecorators:n}=t||{};if(!n){let r=e.declaration&&e.declaration.decorators||e.decorators;if(EC(r))return ns(r[0])}return e.range?e.range[0]:e.start}d(ns,"Ks");function bl(e){return e.range?e.range[1]:e.end}d(bl,"Qs");function jf(e,t){return ns(e)===ns(t)}d(jf,"Zs");var et={locStart:ns,locEnd:bl,hasSameLocStart:jf,hasSameLoc:function(e,t){return jf(e,t)&&function(n,r){return bl(n)===bl(r)}(e,t)}},bC=Object.defineProperty({default:/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,matchToToken:function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!(!e[3]&&!e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},"__esModule",{value:!0}),CC=qf,vC=$f,AC=d(function(e){let t=!0;for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if((64512&r)==55296&&n+1<e.length){let u=e.charCodeAt(++n);(64512&u)==56320&&(r=65536+((1023&r)<<10)+(1023&u))}if(t){if(t=!1,!qf(r))return!1}else if(!$f(r))return!1}return!t},"oa");let Cl="\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\u08A0-\u08B4\u08B6-\u08C7\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\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\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-\u170C\u170E-\u1711\u1720-\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-\u1B4B\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-\u2C2E\u2C30-\u2C5E\u2C60-\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-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\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",Rf="\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\u08D3-\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\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-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF\u1AC0\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-\u1DF9\u1DFB-\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",FC=new RegExp("["+Cl+"]"),SC=new RegExp("["+Cl+Rf+"]");Cl=Rf=null;let Mf=[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,157,310,10,21,11,7,153,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,107,20,28,22,13,52,76,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,230,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,35,56,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,2749,1070,4050,582,8634,568,8,30,114,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,8952,286,50,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,2357,44,11,6,17,0,370,43,1301,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],xC=[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,176,2,54,14,32,9,16,3,46,10,54,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,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,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,419,13,1495,6,110,6,6,9,4759,9,787719,239];function vl(e,t){let n=65536;for(let r=0,u=t.length;r<u;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}d(vl,"pa");function qf(e){return e<65?e===36:e<=90||(e<97?e===95:e<=122||(e<=65535?e>=170&&FC.test(String.fromCharCode(e)):vl(e,Mf)))}d(qf,"fa");function $f(e){return e<48?e===36:e<58||!(e<65)&&(e<=90||(e<97?e===95:e<=122||(e<=65535?e>=170&&SC.test(String.fromCharCode(e)):vl(e,Mf)||vl(e,xC))))}d($f,"da");var Al=Object.defineProperty({isIdentifierStart:CC,isIdentifierChar:vC,isIdentifierName:AC},"__esModule",{value:!0}),TC=Vf,wC=Uf,NC=Wf,BC=d(function(e,t){return Uf(e,t)||Wf(e)},"Da"),kC=d(function(e){return OC.has(e)},"Ea");let _C=["implements","interface","let","package","private","protected","public","static","yield"],PC=["eval","arguments"],OC=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"]),IC=new Set(_C),LC=new Set(PC);function Vf(e,t){return t&&e==="await"||e==="enum"}d(Vf,"xa");function Uf(e,t){return Vf(e,t)||IC.has(e)}d(Uf,"Sa");function Wf(e){return LC.has(e)}d(Wf,"wa");var ia=Object.defineProperty({isReservedWord:TC,isStrictReservedWord:wC,isStrictBindOnlyReservedWord:NC,isStrictBindReservedWord:BC,isKeyword:kC},"__esModule",{value:!0}),Gf=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return Al.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return Al.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return Al.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return ia.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return ia.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return ia.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return ia.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return ia.isKeyword}})}),jC=/[|\\{}()[\]^$+*?.]/g,Fl=d(function(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(jC,"\\$&")},"Na"),fr={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},hr=ce(function(e){var t={};for(var n in fr)fr.hasOwnProperty(n)&&(t[fr[n]]=n);var r=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var u in r)if(r.hasOwnProperty(u)){if(!("channels"in r[u]))throw new Error("missing channels property: "+u);if(!("labels"in r[u]))throw new Error("missing channel labels property: "+u);if(r[u].labels.length!==r[u].channels)throw new Error("channel and label counts mismatch: "+u);var i=r[u].channels,o=r[u].labels;delete r[u].channels,delete r[u].labels,Object.defineProperty(r[u],"channels",{value:i}),Object.defineProperty(r[u],"labels",{value:o})}r.rgb.hsl=function(a){var s,c,l=a[0]/255,p=a[1]/255,h=a[2]/255,f=Math.min(l,p,h),g=Math.max(l,p,h),E=g-f;return g===f?s=0:l===g?s=(p-h)/E:p===g?s=2+(h-l)/E:h===g&&(s=4+(l-p)/E),(s=Math.min(60*s,360))<0&&(s+=360),c=(f+g)/2,[s,100*(g===f?0:c<=.5?E/(g+f):E/(2-g-f)),100*c]},r.rgb.hsv=function(a){var s,c,l,p,h,f=a[0]/255,g=a[1]/255,E=a[2]/255,C=Math.max(f,g,E),A=C-Math.min(f,g,E),v=d(function(S){return(C-S)/6/A+.5},"p");return A===0?p=h=0:(h=A/C,s=v(f),c=v(g),l=v(E),f===C?p=l-c:g===C?p=1/3+s-l:E===C&&(p=2/3+c-s),p<0?p+=1:p>1&&(p-=1)),[360*p,100*h,100*C]},r.rgb.hwb=function(a){var s=a[0],c=a[1],l=a[2];return[r.rgb.hsl(a)[0],100*(1/255*Math.min(s,Math.min(c,l))),100*(l=1-1/255*Math.max(s,Math.max(c,l)))]},r.rgb.cmyk=function(a){var s,c=a[0]/255,l=a[1]/255,p=a[2]/255;return[100*((1-c-(s=Math.min(1-c,1-l,1-p)))/(1-s)||0),100*((1-l-s)/(1-s)||0),100*((1-p-s)/(1-s)||0),100*s]},r.rgb.keyword=function(a){var s=t[a];if(s)return s;var c,l,p,h=1/0;for(var f in fr)if(fr.hasOwnProperty(f)){var g=fr[f],E=(l=a,p=g,Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)+Math.pow(l[2]-p[2],2));E<h&&(h=E,c=f)}return c},r.keyword.rgb=function(a){return fr[a]},r.rgb.xyz=function(a){var s=a[0]/255,c=a[1]/255,l=a[2]/255;return[100*(.4124*(s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92)+.3576*(c=c>.04045?Math.pow((c+.055)/1.055,2.4):c/12.92)+.1805*(l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92)),100*(.2126*s+.7152*c+.0722*l),100*(.0193*s+.1192*c+.9505*l)]},r.rgb.lab=function(a){var s=r.rgb.xyz(a),c=s[0],l=s[1],p=s[2];return l/=100,p/=108.883,c=(c/=95.047)>.008856?Math.pow(c,1/3):7.787*c+16/116,[116*(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116)-16,500*(c-l),200*(l-(p=p>.008856?Math.pow(p,1/3):7.787*p+16/116))]},r.hsl.rgb=function(a){var s,c,l,p,h,f=a[0]/360,g=a[1]/100,E=a[2]/100;if(g===0)return[h=255*E,h,h];s=2*E-(c=E<.5?E*(1+g):E+g-E*g),p=[0,0,0];for(var C=0;C<3;C++)(l=f+1/3*-(C-1))<0&&l++,l>1&&l--,h=6*l<1?s+6*(c-s)*l:2*l<1?c:3*l<2?s+(c-s)*(2/3-l)*6:s,p[C]=255*h;return p},r.hsl.hsv=function(a){var s=a[0],c=a[1]/100,l=a[2]/100,p=c,h=Math.max(l,.01);return c*=(l*=2)<=1?l:2-l,p*=h<=1?h:2-h,[s,100*(l===0?2*p/(h+p):2*c/(l+c)),100*((l+c)/2)]},r.hsv.rgb=function(a){var s=a[0]/60,c=a[1]/100,l=a[2]/100,p=Math.floor(s)%6,h=s-Math.floor(s),f=255*l*(1-c),g=255*l*(1-c*h),E=255*l*(1-c*(1-h));switch(l*=255,p){case 0:return[l,E,f];case 1:return[g,l,f];case 2:return[f,l,E];case 3:return[f,g,l];case 4:return[E,f,l];case 5:return[l,f,g]}},r.hsv.hsl=function(a){var s,c,l,p=a[0],h=a[1]/100,f=a[2]/100,g=Math.max(f,.01);return l=(2-h)*f,c=h*g,[p,100*(c=(c/=(s=(2-h)*g)<=1?s:2-s)||0),100*(l/=2)]},r.hwb.rgb=function(a){var s,c,l,p,h,f,g,E=a[0]/360,C=a[1]/100,A=a[2]/100,v=C+A;switch(v>1&&(C/=v,A/=v),l=6*E-(s=Math.floor(6*E)),(1&s)!=0&&(l=1-l),p=C+l*((c=1-A)-C),s){default:case 6:case 0:h=c,f=p,g=C;break;case 1:h=p,f=c,g=C;break;case 2:h=C,f=c,g=p;break;case 3:h=C,f=p,g=c;break;case 4:h=p,f=C,g=c;break;case 5:h=c,f=C,g=p}return[255*h,255*f,255*g]},r.cmyk.rgb=function(a){var s=a[0]/100,c=a[1]/100,l=a[2]/100,p=a[3]/100;return[255*(1-Math.min(1,s*(1-p)+p)),255*(1-Math.min(1,c*(1-p)+p)),255*(1-Math.min(1,l*(1-p)+p))]},r.xyz.rgb=function(a){var s,c,l,p=a[0]/100,h=a[1]/100,f=a[2]/100;return c=-.9689*p+1.8758*h+.0415*f,l=.0557*p+-.204*h+1.057*f,s=(s=3.2406*p+-1.5372*h+-.4986*f)>.0031308?1.055*Math.pow(s,1/2.4)-.055:12.92*s,c=c>.0031308?1.055*Math.pow(c,1/2.4)-.055:12.92*c,l=l>.0031308?1.055*Math.pow(l,1/2.4)-.055:12.92*l,[255*(s=Math.min(Math.max(0,s),1)),255*(c=Math.min(Math.max(0,c),1)),255*(l=Math.min(Math.max(0,l),1))]},r.xyz.lab=function(a){var s=a[0],c=a[1],l=a[2];return c/=100,l/=108.883,s=(s/=95.047)>.008856?Math.pow(s,1/3):7.787*s+16/116,[116*(c=c>.008856?Math.pow(c,1/3):7.787*c+16/116)-16,500*(s-c),200*(c-(l=l>.008856?Math.pow(l,1/3):7.787*l+16/116))]},r.lab.xyz=function(a){var s,c,l,p=a[0];s=a[1]/500+(c=(p+16)/116),l=c-a[2]/200;var h=Math.pow(c,3),f=Math.pow(s,3),g=Math.pow(l,3);return c=h>.008856?h:(c-16/116)/7.787,s=f>.008856?f:(s-16/116)/7.787,l=g>.008856?g:(l-16/116)/7.787,[s*=95.047,c*=100,l*=108.883]},r.lab.lch=function(a){var s,c=a[0],l=a[1],p=a[2];return(s=360*Math.atan2(p,l)/2/Math.PI)<0&&(s+=360),[c,Math.sqrt(l*l+p*p),s]},r.lch.lab=function(a){var s,c=a[0],l=a[1];return s=a[2]/360*2*Math.PI,[c,l*Math.cos(s),l*Math.sin(s)]},r.rgb.ansi16=function(a){var s=a[0],c=a[1],l=a[2],p=1 in arguments?arguments[1]:r.rgb.hsv(a)[2];if((p=Math.round(p/50))===0)return 30;var h=30+(Math.round(l/255)<<2|Math.round(c/255)<<1|Math.round(s/255));return p===2&&(h+=60),h},r.hsv.ansi16=function(a){return r.rgb.ansi16(r.hsv.rgb(a),a[2])},r.rgb.ansi256=function(a){var s=a[0],c=a[1],l=a[2];return s===c&&c===l?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(c/255*5)+Math.round(l/255*5)},r.ansi16.rgb=function(a){var s=a%10;if(s===0||s===7)return a>50&&(s+=3.5),[s=s/10.5*255,s,s];var c=.5*(1+~~(a>50));return[(1&s)*c*255,(s>>1&1)*c*255,(s>>2&1)*c*255]},r.ansi256.rgb=function(a){if(a>=232){var s=10*(a-232)+8;return[s,s,s]}var c;return a-=16,[Math.floor(a/36)/5*255,Math.floor((c=a%36)/6)/5*255,c%6/5*255]},r.rgb.hex=function(a){var s=(((255&Math.round(a[0]))<<16)+((255&Math.round(a[1]))<<8)+(255&Math.round(a[2]))).toString(16).toUpperCase();return"000000".substring(s.length)+s},r.hex.rgb=function(a){var s=a.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];var c=s[0];s[0].length===3&&(c=c.split("").map(function(p){return p+p}).join(""));var l=parseInt(c,16);return[l>>16&255,l>>8&255,255&l]},r.rgb.hcg=function(a){var s,c=a[0]/255,l=a[1]/255,p=a[2]/255,h=Math.max(Math.max(c,l),p),f=Math.min(Math.min(c,l),p),g=h-f;return s=g<=0?0:h===c?(l-p)/g%6:h===l?2+(p-c)/g:4+(c-l)/g+4,s/=6,[360*(s%=1),100*g,100*(g<1?f/(1-g):0)]},r.hsl.hcg=function(a){var s=a[1]/100,c=a[2]/100,l=1,p=0;return(l=c<.5?2*s*c:2*s*(1-c))<1&&(p=(c-.5*l)/(1-l)),[a[0],100*l,100*p]},r.hsv.hcg=function(a){var s=a[1]/100,c=a[2]/100,l=s*c,p=0;return l<1&&(p=(c-l)/(1-l)),[a[0],100*l,100*p]},r.hcg.rgb=function(a){var s=a[0]/360,c=a[1]/100,l=a[2]/100;if(c===0)return[255*l,255*l,255*l];var p,h=[0,0,0],f=s%1*6,g=f%1,E=1-g;switch(Math.floor(f)){case 0:h[0]=1,h[1]=g,h[2]=0;break;case 1:h[0]=E,h[1]=1,h[2]=0;break;case 2:h[0]=0,h[1]=1,h[2]=g;break;case 3:h[0]=0,h[1]=E,h[2]=1;break;case 4:h[0]=g,h[1]=0,h[2]=1;break;default:h[0]=1,h[1]=0,h[2]=E}return p=(1-c)*l,[255*(c*h[0]+p),255*(c*h[1]+p),255*(c*h[2]+p)]},r.hcg.hsv=function(a){var s=a[1]/100,c=s+a[2]/100*(1-s),l=0;return c>0&&(l=s/c),[a[0],100*l,100*c]},r.hcg.hsl=function(a){var s=a[1]/100,c=a[2]/100*(1-s)+.5*s,l=0;return c>0&&c<.5?l=s/(2*c):c>=.5&&c<1&&(l=s/(2*(1-c))),[a[0],100*l,100*c]},r.hcg.hwb=function(a){var s=a[1]/100,c=s+a[2]/100*(1-s);return[a[0],100*(c-s),100*(1-c)]},r.hwb.hcg=function(a){var s=a[1]/100,c=1-a[2]/100,l=c-s,p=0;return l<1&&(p=(c-l)/(1-l)),[a[0],100*l,100*p]},r.apple.rgb=function(a){return[a[0]/65535*255,a[1]/65535*255,a[2]/65535*255]},r.rgb.apple=function(a){return[a[0]/255*65535,a[1]/255*65535,a[2]/255*65535]},r.gray.rgb=function(a){return[a[0]/100*255,a[0]/100*255,a[0]/100*255]},r.gray.hsl=r.gray.hsv=function(a){return[0,0,a[0]]},r.gray.hwb=function(a){return[0,100,a[0]]},r.gray.cmyk=function(a){return[0,0,0,a[0]]},r.gray.lab=function(a){return[a[0],0,0]},r.gray.hex=function(a){var s=255&Math.round(a[0]/100*255),c=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(c.length)+c},r.rgb.gray=function(a){return[(a[0]+a[1]+a[2])/3/255*100]}});function RC(e){var t=function(){for(var c={},l=Object.keys(hr),p=l.length,h=0;h<p;h++)c[l[h]]={distance:-1,parent:null};return c}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),u=Object.keys(hr[r]),i=u.length,o=0;o<i;o++){var a=u[o],s=t[a];s.distance===-1&&(s.distance=t[r].distance+1,s.parent=r,n.unshift(a))}return t}d(RC,"Ia");function MC(e,t){return function(n){return t(e(n))}}d(MC,"ja");function qC(e,t){for(var n=[t[e].parent,e],r=hr[t[e].parent][e],u=t[e].parent;t[u].parent;)n.unshift(t[u].parent),r=MC(hr[t[u].parent][u],r),u=t[u].parent;return r.conversion=n,r}d(qC,"La");var Su={};Object.keys(hr).forEach(function(e){Su[e]={},Object.defineProperty(Su[e],"channels",{value:hr[e].channels}),Object.defineProperty(Su[e],"labels",{value:hr[e].labels});var t=function(n){for(var r=RC(n),u={},i=Object.keys(r),o=i.length,a=0;a<o;a++){var s=i[a];r[s].parent!==null&&(u[s]=qC(s,r))}return u}(e);Object.keys(t).forEach(function(n){var r=t[n];Su[e][n]=function(u){var i=d(function(o){if(o==null)return o;arguments.length>1&&(o=Array.prototype.slice.call(arguments));var a=u(o);if(typeof a=="object")for(var s=a.length,c=0;c<s;c++)a[c]=Math.round(a[c]);return a},"t84");return"conversion"in u&&(i.conversion=u.conversion),i}(r),Su[e][n].raw=function(u){var i=d(function(o){return o==null?o:(arguments.length>1&&(o=Array.prototype.slice.call(arguments)),u(o))},"t85");return"conversion"in u&&(i.conversion=u.conversion),i}(r)})});var xu=Su,Be=ce(function(e){let t=d((u,i)=>function(){let o=u.apply(xu,arguments);return"\x1B[".concat(o+i,"m")},"t86"),n=d((u,i)=>function(){let o=u.apply(xu,arguments);return"\x1B[".concat(38+i,";5;").concat(o,"m")},"n51"),r=d((u,i)=>function(){let o=u.apply(xu,arguments);return"\x1B[".concat(38+i,";2;").concat(o[0],";").concat(o[1],";").concat(o[2],"m")},"r35");Object.defineProperty(e,"exports",{enumerable:!0,get:function(){let u=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.grey=i.color.gray;for(let s of Object.keys(i)){let c=i[s];for(let l of Object.keys(c)){let p=c[l];i[l]={open:"\x1B[".concat(p[0],"m"),close:"\x1B[".concat(p[1],"m")},c[l]=i[l],u.set(p[0],p[1])}Object.defineProperty(i,s,{value:c,enumerable:!1}),Object.defineProperty(i,"codes",{value:u,enumerable:!1})}let o=d(s=>s,"i"),a=d((s,c,l)=>[s,c,l],"u");i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi={ansi:t(o,0)},i.color.ansi256={ansi256:n(o,0)},i.color.ansi16m={rgb:r(a,0)},i.bgColor.ansi={ansi:t(o,10)},i.bgColor.ansi256={ansi256:n(o,10)},i.bgColor.ansi16m={rgb:r(a,10)};for(let s of Object.keys(xu)){if(typeof xu[s]!="object")continue;let c=xu[s];s==="ansi16"&&(s="ansi"),"ansi16"in c&&(i.color.ansi[s]=t(c.ansi16,0),i.bgColor.ansi[s]=t(c.ansi16,10)),"ansi256"in c&&(i.color.ansi256[s]=n(c.ansi256,0),i.bgColor.ansi256[s]=n(c.ansi256,10)),"rgb"in c&&(i.color.ansi16m[s]=r(c.rgb,0),i.bgColor.ansi16m[s]=r(c.rgb,10))}return i}})});let ze=De.env,Tu;function Sl(e){return function(t){return t!==0&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}(function(t){if(Tu===!1)return 0;if(Ce("color=16m")||Ce("color=full")||Ce("color=truecolor"))return 3;if(Ce("color=256"))return 2;if(t&&!t.isTTY&&Tu!==!0)return 0;let n=Tu?1:0;if(De.platform==="win32"){let r=Jo.release().split(".");return Number(De.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in ze)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in ze)||ze.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in ze)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ze.TEAMCITY_VERSION)?1:0;if(ze.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in ze){let r=parseInt((ze.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ze.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(ze.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ze.TERM)||"COLORTERM"in ze?1:(ze.TERM,n)}(e))}d(Sl,"qa"),Ce("no-color")||Ce("no-colors")||Ce("color=false")?Tu=!1:(Ce("color")||Ce("colors")||Ce("color=true")||Ce("color=always"))&&(Tu=!0),"FORCE_COLOR"in ze&&(Tu=ze.FORCE_COLOR.length===0||parseInt(ze.FORCE_COLOR,10)!==0);var $C={supportsColor:Sl,stdout:Sl(De.stdout),stderr:Sl(De.stderr)};let VC=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Hf=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,UC=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,WC=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,GC=new Map([["n",`
|
|
95
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function zf(e){return e[0]==="u"&&e.length===5||e[0]==="x"&&e.length===3?String.fromCharCode(parseInt(e.slice(1),16)):GC.get(e)||e}d(zf,"Xa");function HC(e,t){let n=[],r=t.trim().split(/\s*,\s*/g),u;for(let i of r)if(isNaN(i)){if(!(u=i.match(UC)))throw new Error("Invalid Chalk template style argument: ".concat(i," (in style '").concat(e,"')"));n.push(u[2].replace(WC,(o,a,s)=>a?zf(a):s))}else n.push(Number(i));return n}d(HC,"Ya");function zC(e){Hf.lastIndex=0;let t=[],n;for(;(n=Hf.exec(e))!==null;){let r=n[1];if(n[2]){let u=HC(r,n[2]);t.push([r].concat(u))}else t.push([r])}return t}d(zC,"Ka");function Xf(e,t){let n={};for(let u of t)for(let i of u.styles)n[i[0]]=u.inverse?null:i.slice(1);let r=e;for(let u of Object.keys(n))if(Array.isArray(n[u])){if(!(u in r))throw new Error("Unknown Chalk style: ".concat(u));r=n[u].length>0?r[u].apply(r,n[u]):r[u]}return r}d(Xf,"Qa");var XC=d((e,t)=>{let n=[],r=[],u=[];if(t.replace(VC,(i,o,a,s,c,l)=>{if(o)u.push(zf(o));else if(s){let p=u.join("");u=[],r.push(n.length===0?p:Xf(e,n)(p)),n.push({inverse:a,styles:zC(s)})}else if(c){if(n.length===0)throw new Error("Found extraneous } in Chalk template literal");r.push(Xf(e,n)(u.join(""))),u=[],n.pop()}else u.push(l)}),r.push(u.join("")),n.length>0){let i="Chalk template literal is missing ".concat(n.length," closing bracket").concat(n.length===1?"":"s"," (`}`)");throw new Error(i)}return r.join("")},"Za"),JC=ce(function(e){let t=$C.stdout,n=De.platform==="win32"&&!(De.env.TERM||"").toLowerCase().startsWith("xterm"),r=["ansi","ansi","ansi256","ansi16m"],u=new Set(["gray"]),i=Object.create(null);function o(h,f){f=f||{};let g=t?t.level:0;h.level=f.level===void 0?g:f.level,h.enabled="enabled"in f?f.enabled:h.level>0}d(o,"u");function a(h){if(!this||!(this instanceof a)||this.template){let f={};return o(f,h),f.template=function(){let g=[].slice.call(arguments);return p.apply(null,[f.template].concat(g))},Object.setPrototypeOf(f,a.prototype),Object.setPrototypeOf(f.template,f),f.template.constructor=a,f.template}o(this,h)}d(a,"s"),n&&(Be.blue.open="\x1B[94m");for(let h of Object.keys(Be))Be[h].closeRe=new RegExp(Fl(Be[h].close),"g"),i[h]={get(){let f=Be[h];return c.call(this,this._styles?this._styles.concat(f):[f],this._empty,h)}};i.visible={get(){return c.call(this,this._styles||[],!0,"visible")}},Be.color.closeRe=new RegExp(Fl(Be.color.close),"g");for(let h of Object.keys(Be.color.ansi))u.has(h)||(i[h]={get(){let f=this.level;return function(){let g=Be.color[r[f]][h].apply(null,arguments),E={open:g,close:Be.color.close,closeRe:Be.color.closeRe};return c.call(this,this._styles?this._styles.concat(E):[E],this._empty,h)}}});Be.bgColor.closeRe=new RegExp(Fl(Be.bgColor.close),"g");for(let h of Object.keys(Be.bgColor.ansi))u.has(h)||(i["bg"+h[0].toUpperCase()+h.slice(1)]={get(){let f=this.level;return function(){let g=Be.bgColor[r[f]][h].apply(null,arguments),E={open:g,close:Be.bgColor.close,closeRe:Be.bgColor.closeRe};return c.call(this,this._styles?this._styles.concat(E):[E],this._empty,h)}}});let s=Object.defineProperties(()=>{},i);function c(h,f,g){let E=d(function(){return l.apply(E,arguments)},"r");E._styles=h,E._empty=f;let C=this;return Object.defineProperty(E,"level",{enumerable:!0,get:()=>C.level,set(A){C.level=A}}),Object.defineProperty(E,"enabled",{enumerable:!0,get:()=>C.enabled,set(A){C.enabled=A}}),E.hasGrey=this.hasGrey||g==="gray"||g==="grey",E.__proto__=s,E}d(c,"c");function l(){let h=arguments,f=h.length,g=String(arguments[0]);if(f===0)return"";if(f>1)for(let C=1;C<f;C++)g+=" "+h[C];if(!this.enabled||this.level<=0||!g)return this._empty?"":g;let E=Be.dim.open;n&&this.hasGrey&&(Be.dim.open="");for(let C of this._styles.slice().reverse())g=C.open+g.replace(C.closeRe,C.open)+C.close,g=g.replace(/\r?\n/g,"".concat(C.close,"$&").concat(C.open));return Be.dim.open=E,g}d(l,"l");function p(h,f){if(!Array.isArray(f))return[].slice.call(arguments,1).join(" ");let g=[].slice.call(arguments,2),E=[f.raw[0]];for(let C=1;C<f.length;C++)E.push(String(g[C-1]).replace(/[{}\\]/g,"\\$&")),E.push(String(f.raw[C]));return XC(h,E.join(""))}d(p,"p"),Object.defineProperties(a.prototype,i),e.exports=a(),e.exports.supportsColor=t,e.exports.default=e.exports}),YC=Qf,KC=Zf,QC=d(function(e,t={}){if(Qf(t)){let n=Zf(t);return function(r,u){let i="";for(let{type:o,value:a}of Kf(u)){let s=r[o];i+=s?a.split(ev).map(c=>s(c)).join(`
|
|
96
|
+
`):a}return i}(function(r){return{keyword:r.cyan,capitalized:r.yellow,jsxIdentifier:r.yellow,punctuator:r.yellow,number:r.magenta,string:r.green,regex:r.magenta,comment:r.grey,invalid:r.white.bgRed.bold}}(n),e)}return e},"rc"),Jf=function(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=Yf();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var i=r?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}(bC),xl=function(e){return e&&e.__esModule?e:{default:e}}(JC);function Yf(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return Yf=d(function(){return e},"uc"),e}d(Yf,"uc");let ZC=new Set(["as","async","from","get","of","set"]),ev=/\r\n|[\n\r\u2028\u2029]/,tv=/^[()[\]{}]$/,Kf;{let{matchToToken:e}=Jf,t=/^[a-z][\w-]*$/i,n=d(function(r,u,i){if(r.type==="name"){if((0,Gf.isKeyword)(r.value)||(0,Gf.isStrictReservedWord)(r.value,!0)||ZC.has(r.value))return"keyword";if(t.test(r.value)&&(i[u-1]==="<"||i.substr(u-2,2)=="</"))return"jsxIdentifier";if(r.value[0]!==r.value[0].toLowerCase())return"capitalized"}return r.type==="punctuator"&&tv.test(r.value)?"bracket":r.type!=="invalid"||r.value!=="@"&&r.value!=="#"?r.type:"punctuator"},"n56");Kf=d(function*(r){let u;for(;u=Jf.default.exec(r);){let i=e(u);yield{type:n(i,u.index,r),value:i.value}}},"lc")}function Qf(e){return!!xl.default.supportsColor||e.forceColor}d(Qf,"pc");function Zf(e){return e.forceColor?new xl.default.constructor({enabled:!0,level:1}):xl.default}d(Zf,"fc");var nv=rh,rv=d(function(e,t,n,r={}){if(!th){th=!0;let u="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";De.emitWarning?De.emitWarning(u,"DeprecationWarning"):(new Error(u).name="DeprecationWarning",console.warn(new Error(u)))}return n=Math.max(n,0),rh(e,{start:{column:n,line:t}},r)},"hc"),Tl=function(e){if(e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var t=eh();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if(Object.prototype.hasOwnProperty.call(e,u)){var i=r?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}(Object.defineProperty({shouldHighlight:YC,getChalk:KC,default:QC},"__esModule",{value:!0}));function eh(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return eh=d(function(){return e},"gc"),e}d(eh,"gc");let th=!1,nh=/\r\n|[\n\r\u2028\u2029]/;function rh(e,t,n={}){let r=(n.highlightCode||n.forceColor)&&(0,Tl.shouldHighlight)(n),u=(0,Tl.getChalk)(n),i=function(g){return{gutter:g.grey,marker:g.red.bold,message:g.red.bold}}(u),o=d((g,E)=>r?g(E):E,"u9"),a=e.split(nh),{start:s,end:c,markerLines:l}=function(g,E,C){let A=Object.assign({column:0,line:-1},g.start),v=Object.assign({},A,g.end),{linesAbove:S=2,linesBelow:_=3}=C||{},w=A.line,B=A.column,O=v.line,H=v.column,X=Math.max(w-(S+1),0),$=Math.min(E.length,O+_);w===-1&&(X=0),O===-1&&($=E.length);let U=O-w,K={};if(U)for(let re=0;re<=U;re++){let ie=re+w;if(B)if(re===0){let he=E[ie-1].length;K[ie]=[B,he-B+1]}else if(re===U)K[ie]=[0,H];else{let he=E[ie-re].length;K[ie]=[0,he]}else K[ie]=!0}else K[w]=B===H?!B||[B,0]:[B,H-B];return{start:X,end:$,markerLines:K}}(t,a,n),p=t.start&&typeof t.start.column=="number",h=String(c).length,f=(r?(0,Tl.default)(e,n):e).split(nh).slice(s,c).map((g,E)=>{let C=s+1+E,A=" ".concat(C).slice(-h),v=" ".concat(A," |"),S=l[C],_=!l[C+1];if(S){let w="";if(Array.isArray(S)){let B=g.slice(0,Math.max(S[0]-1,0)).replace(/[^\t]/g," "),O=S[1]||1;w=[`
|
|
97
|
+
`,o(i.gutter,v.replace(/\d/g," "))," ",B,o(i.marker,"^").repeat(O)].join(""),_&&n.message&&(w+=" "+o(i.message,n.message))}return[o(i.marker,">"),o(i.gutter,v),g.length>0?" ".concat(g):"",w].join("")}return" ".concat(o(i.gutter,v)).concat(g.length>0?" ".concat(g):"")}).join(`
|
|
98
|
+
`);return n.message&&!p&&(f="".concat(" ".repeat(h+1)).concat(n.message,`
|
|
99
|
+
`).concat(f)),r?u.reset(f):f}d(rh,"Ec");var uv=Object.defineProperty({codeFrameColumns:nv,default:rv},"__esModule",{value:!0}),iv=Xn(nl);let{ConfigError:av}=sr,{locStart:ov,locEnd:sv}=et,cv=Object.getOwnPropertyNames,lv=Object.getOwnPropertyDescriptor;function uh(e){let t={};for(let n of e.plugins)if(n.parsers)for(let r of cv(n.parsers))Object.defineProperty(t,r,lv(n.parsers,r));return t}d(uh,"wc");function ih(e,t=uh(e)){if(typeof e.parser=="function")return{parse:e.parser,astFormat:"estree",locStart:ov,locEnd:sv};if(typeof e.parser=="string"){if(Object.prototype.hasOwnProperty.call(t,e.parser))return t[e.parser];throw new av(`Couldn't resolve parser "`.concat(e.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}d(ih,"Tc");var Dr={parse:function(e,t){let n=uh(t),r=Object.keys(n).reduce((i,o)=>Object.defineProperty(i,o,{enumerable:!0,get:()=>n[o].parse}),{}),u=ih(t,n);try{return u.preprocess&&(e=u.preprocess(e,t)),{text:e,ast:u.parse(e,r,t)}}catch(i){let{loc:o}=i;if(o){let{codeFrameColumns:a}=uv;throw i.codeFrame=a(e,o,{highlightCode:!0}),i.message+=`
|
|
100
|
+
`+i.codeFrame,i}throw i.stack}},resolveParser:ih};let{UndefinedParserError:pv}=sr,{getSupportInfo:ah}=iu,{resolveParser:dv}=Dr,wl={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function oh(e,t){let n=iv.basename(e).toLowerCase(),r=ah({plugins:t}).languages.filter(i=>i.since!==null),u=r.find(i=>i.extensions&&i.extensions.some(o=>n.endsWith(o))||i.filenames&&i.filenames.some(o=>o.toLowerCase()===n));if(!u&&!n.includes(".")){let i=function(o){if(typeof o!="string")return"";let a;try{a=_e.openSync(o,"r")}catch{return""}try{let s=new Ut(a).next().toString("utf8"),c=s.match(/^#!\/(?:usr\/)?bin\/env\s+(\S+)/);if(c)return c[1];let l=s.match(/^#!\/(?:usr\/(?:local\/)?)?bin\/(\S+)/);return l?l[1]:""}catch{return""}finally{try{_e.closeSync(a)}catch{}}}(e);u=r.find(o=>o.interpreters&&o.interpreters.includes(i))}return u&&u.parsers[0]}d(oh,"Ic");var sh={normalize:function(e,t={}){let n=Object.assign({},e),r=ah({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,u=Object.assign({},wl,Xr(r.filter(c=>c.default!==void 0).map(c=>[c.name,c.default])));if(!n.parser)if(n.filepath){if(n.parser=oh(n.filepath,n.plugins),!n.parser)throw new pv("No parser could be inferred for file: ".concat(n.filepath))}else(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),n.parser="babel";let i=dv(Lf.normalizeApiOptions(n,[r.find(c=>c.name==="parser")],{passThrough:!0,logger:!1}));n.astFormat=i.astFormat,n.locEnd=i.locEnd,n.locStart=i.locStart;let o=function(c){let{astFormat:l}=c;if(!l)throw new Error("getPlugin() requires astFormat to be set");let p=c.plugins.find(h=>h.printers&&h.printers[l]);if(!p)throw new Error(`Couldn't find plugin for AST format "`.concat(l,'"'));return p}(n);n.printer=o.printers[n.astFormat];let a=Xr(r.filter(c=>c.pluginDefaults&&c.pluginDefaults[o.name]!==void 0).map(c=>[c.name,c.pluginDefaults[o.name]])),s=Object.assign({},u,a);for(let[c,l]of Object.entries(s))n[c]!==null&&n[c]!==void 0||(n[c]=l);return n.parser==="json"&&(n.trailingComma="none"),Lf.normalizeApiOptions(n,r,Object.assign({passThrough:Object.keys(wl)},t))},hiddenDefaults:wl,inferParser:oh},fv=d(function e(t,n,r){if(Array.isArray(t))return t.map(a=>e(a,n,r)).filter(Boolean);if(!t||typeof t!="object")return t;let u=n.printer.massageAstNode,i;i=u&&u.ignoredProperties?u.ignoredProperties:new Set;let o={};for(let[a,s]of Object.entries(t))i.has(a)||typeof s=="function"||(o[a]=e(s,n,t));if(u){let a=u(t,o,r);if(a===null)return;if(a)return a}return o},"e"),hv=typeof Object.create=="function"?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 n=d(function(){},"n");n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e};function mr(e,t){var n={seen:[],stylize:mv};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),ch(t)?n.showHidden=t:t&&gv(n,t),wu(n.showHidden)&&(n.showHidden=!1),wu(n.depth)&&(n.depth=2),wu(n.colors)&&(n.colors=!1),wu(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Dv),rs(n,e,n.depth)}d(mr,"Mc");function Dv(e,t){var n=mr.styles[t];return n?"\x1B["+mr.colors[n][0]+"m"+e+"\x1B["+mr.colors[n][1]+"m":e}d(Dv,"Rc");function mv(e,t){return e}d(mv,"Vc");function rs(e,t,n){if(e.customInspect&&t&&oa(t.inspect)&&t.inspect!==mr&&(!t.constructor||t.constructor.prototype!==t)){var r=t.inspect(n,e);return ph(r)||(r=rs(e,r,n)),r}var u=function(f,g){if(wu(g))return f.stylize("undefined","undefined");if(ph(g)){var E="'"+JSON.stringify(g).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return f.stylize(E,"string")}if(C=g,typeof C=="number")return f.stylize(""+g,"number");var C;if(ch(g))return f.stylize(""+g,"boolean");if(lh(g))return f.stylize("null","null")}(e,t);if(u)return u;var i=Object.keys(t),o=function(f){var g={};return f.forEach(function(E,C){g[E]=!0}),g}(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),as(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return Nl(t);if(i.length===0){if(oa(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(aa(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(is(t))return e.stylize(Date.prototype.toString.call(t),"date");if(as(t))return Nl(t)}var s,c,l="",p=!1,h=["{","}"];return s=t,Array.isArray(s)&&(p=!0,h=["[","]"]),oa(t)&&(l=" [Function"+(t.name?": "+t.name:"")+"]"),aa(t)&&(l=" "+RegExp.prototype.toString.call(t)),is(t)&&(l=" "+Date.prototype.toUTCString.call(t)),as(t)&&(l=" "+Nl(t)),i.length!==0||p&&t.length!=0?n<0?aa(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),c=p?function(f,g,E,C,A){for(var v=[],S=0,_=g.length;S<_;++S)fh(g,String(S))?v.push(Bl(f,g,E,C,String(S),!0)):v.push("");return A.forEach(function(w){w.match(/^\d+$/)||v.push(Bl(f,g,E,C,w,!0))}),v}(e,t,n,o,i):i.map(function(f){return Bl(e,t,n,o,f,p)}),e.seen.pop(),function(f,g,E){return f.reduce(function(C,A){return A.indexOf(`
|
|
101
|
+
`),C+A.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?E[0]+(g===""?"":g+`
|
|
102
|
+
`)+" "+f.join(`,
|
|
103
|
+
`)+" "+E[1]:E[0]+g+" "+f.join(", ")+" "+E[1]}(c,l,h)):h[0]+l+h[1]}d(rs,"$c");function Nl(e){return"["+Error.prototype.toString.call(e)+"]"}d(Nl,"qc");function Bl(e,t,n,r,u,i){var o,a,s;if((s=Object.getOwnPropertyDescriptor(t,u)||{value:t[u]}).get?a=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(a=e.stylize("[Setter]","special")),fh(r,u)||(o="["+u+"]"),a||(e.seen.indexOf(s.value)<0?(a=lh(n)?rs(e,s.value,null):rs(e,s.value,n-1)).indexOf(`
|
|
104
|
+
`)>-1&&(a=i?a.split(`
|
|
105
|
+
`).map(function(c){return" "+c}).join(`
|
|
106
|
+
`).substr(2):`
|
|
107
|
+
`+a.split(`
|
|
108
|
+
`).map(function(c){return" "+c}).join(`
|
|
109
|
+
`)):a=e.stylize("[Circular]","special")),wu(o)){if(i&&u.match(/^\d+$/))return a;(o=JSON.stringify(""+u)).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}d(Bl,"Wc");function ch(e){return typeof e=="boolean"}d(ch,"Uc");function lh(e){return e===null}d(lh,"zc");function ph(e){return typeof e=="string"}d(ph,"Hc");function wu(e){return e===void 0}d(wu,"Gc");function aa(e){return us(e)&&kl(e)==="[object RegExp]"}d(aa,"Jc");function us(e){return typeof e=="object"&&e!==null}d(us,"Xc");function is(e){return us(e)&&kl(e)==="[object Date]"}d(is,"Yc");function as(e){return us(e)&&(kl(e)==="[object Error]"||e instanceof Error)}d(as,"Kc");function oa(e){return typeof e=="function"}d(oa,"Qc");function dh(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||e===void 0}d(dh,"Zc");function kl(e){return Object.prototype.toString.call(e)}d(kl,"el");function gv(e,t){if(!t||!us(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}d(gv,"tl");function fh(e,t){return Object.prototype.hasOwnProperty.call(e,t)}d(fh,"nl");function hh(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,u=0,i=Math.min(n,r);u<i;++u)if(e[u]!==t[u]){n=e[u],r=t[u];break}return n<r?-1:r<n?1:0}d(hh,"rl"),mr.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]},mr.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};var _l,yv=Object.prototype.hasOwnProperty,Dh=Object.keys||function(e){var t=[];for(var n in e)yv.call(e,n)&&t.push(n);return t},mh=Array.prototype.slice;function gh(){return _l!==void 0?_l:_l=function(){}.name==="foo"}d(gh,"al");function yh(e){return Object.prototype.toString.call(e)}d(yh,"cl");function Eh(e){return!pe(e)&&typeof Re.ArrayBuffer=="function"&&(typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer)))}d(Eh,"ll");function tt(e,t){e||nt(e,!0,t,"==",sa)}d(tt,"pl");var Ev=/\s*function\s+([^\(\s]*)\s*/;function bh(e){if(oa(e)){if(gh())return e.name;var t=e.toString().match(Ev);return t&&t[1]}}d(bh,"dl");function os(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(a){return Ch(vh(a.actual),128)+" "+a.operator+" "+Ch(vh(a.expected),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||nt;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,u=bh(t),i=r.indexOf(`
|
|
110
|
+
`+u);if(i>=0){var o=r.indexOf(`
|
|
111
|
+
`,i+1);r=r.substring(o+1)}this.stack=r}}}d(os,"hl");function Ch(e,t){return typeof e=="string"?e.length<t?e:e.slice(0,t):e}d(Ch,"ml");function vh(e){if(gh()||!oa(e))return mr(e);var t=bh(e);return"[Function"+(t?": "+t:"")+"]"}d(vh,"gl");function nt(e,t,n,r,u){throw new os({message:n,actual:e,expected:t,operator:r,stackStartFunction:u})}d(nt,"yl");function sa(e,t){e||nt(e,!0,t,"==",sa)}d(sa,"Dl");function Pl(e,t,n){e!=t&&nt(e,t,n,"==",Pl)}d(Pl,"El");function Ol(e,t,n){e==t&&nt(e,t,n,"!=",Ol)}d(Ol,"bl");function Il(e,t,n){Nu(e,t,!1)||nt(e,t,n,"deepEqual",Il)}d(Il,"Cl");function Ll(e,t,n){Nu(e,t,!0)||nt(e,t,n,"deepStrictEqual",Ll)}d(Ll,"vl");function Nu(e,t,n,r){if(e===t)return!0;if(pe(e)&&pe(t))return hh(e,t)===0;if(is(e)&&is(t))return e.getTime()===t.getTime();if(aa(e)&&aa(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(e!==null&&typeof e=="object"||t!==null&&typeof t=="object"){if(Eh(e)&&Eh(t)&&yh(e)===yh(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return hh(new Uint8Array(e.buffer),new Uint8Array(t.buffer))===0;if(pe(e)!==pe(t))return!1;var u=(r=r||{actual:[],expected:[]}).actual.indexOf(e);return u!==-1&&u===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),function(i,o,a,s){if(i==null||o==null)return!1;if(dh(i)||dh(o))return i===o;if(a&&Object.getPrototypeOf(i)!==Object.getPrototypeOf(o))return!1;var c=Ah(i),l=Ah(o);if(c&&!l||!c&&l)return!1;if(c)return Nu(i=mh.call(i),o=mh.call(o),a);var p,h,f=Dh(i),g=Dh(o);if(f.length!==g.length)return!1;for(f.sort(),g.sort(),h=f.length-1;h>=0;h--)if(f[h]!==g[h])return!1;for(h=f.length-1;h>=0;h--)if(!Nu(i[p=f[h]],o[p],a,s))return!1;return!0}(e,t,n,r))}return n?e===t:e==t}d(Nu,"Al");function Ah(e){return Object.prototype.toString.call(e)=="[object Arguments]"}d(Ah,"Fl");function jl(e,t,n){Nu(e,t,!1)&&nt(e,t,n,"notDeepEqual",jl)}d(jl,"xl");function Rl(e,t,n){Nu(e,t,!0)&&nt(e,t,n,"notDeepStrictEqual",Rl)}d(Rl,"Sl");function Ml(e,t,n){e!==t&&nt(e,t,n,"===",Ml)}d(Ml,"wl");function ql(e,t,n){e===t&&nt(e,t,n,"!==",ql)}d(ql,"Tl");function Fh(e,t){if(!e||!t)return!1;if(Object.prototype.toString.call(t)=="[object RegExp]")return t.test(e);try{if(e instanceof t)return!0}catch{}return!Error.isPrototypeOf(t)&&t.call({},e)===!0}d(Fh,"Bl");function Sh(e,t,n,r){var u;if(typeof t!="function")throw new TypeError('"block" argument must be a function');typeof n=="string"&&(r=n,n=null),u=function(a){var s;try{a()}catch(c){s=c}return s}(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!u&&nt(u,n,"Missing expected exception"+r);var i=typeof r=="string",o=!e&&u&&!n;if((!e&&as(u)&&i&&Fh(u,n)||o)&&nt(u,n,"Got unwanted exception"+r),e&&u&&n&&!Fh(u,n)||!e&&u)throw u}d(Sh,"kl");function xh(e,t,n){Sh(!0,e,t,n)}d(xh,"Nl");function Th(e,t,n){Sh(!1,e,t,n)}d(Th,"Pl");function wh(e){if(e)throw e}d(wh,"Ol"),tt.AssertionError=os,hv(os,Error),tt.fail=nt,tt.ok=sa,tt.equal=Pl,tt.notEqual=Ol,tt.deepEqual=Il,tt.deepStrictEqual=Ll,tt.notDeepEqual=jl,tt.notDeepStrictEqual=Rl,tt.strictEqual=Ml,tt.notStrictEqual=ql,tt.throws=xh,tt.doesNotThrow=Th,tt.ifError=wh;var yn=Xn(Object.freeze({__proto__:null,default:tt,AssertionError:os,fail:nt,ok:sa,assert:sa,equal:Pl,notEqual:Ol,deepEqual:Il,deepStrictEqual:Ll,notDeepEqual:jl,notDeepStrictEqual:Rl,strictEqual:Ml,notStrictEqual:ql,throws:xh,doesNotThrow:Th,ifError:wh}));let{builders:{line:bv,hardline:qn,breakParent:Cv,indent:vv,lineSuffix:Nh,join:Bh,cursor:$l}}=Q,{hasNewline:Bu,skipNewline:Av,skipSpaces:Fv,isPreviousLineEmpty:Sv,addLeadingComment:ca,addDanglingComment:Vl,addTrailingComment:la}=ue,Ul=new WeakMap;function Wl(e,t,n){if(!e)return;let{printer:r,locStart:u,locEnd:i}=t;if(n){if(r.canAttachComment&&r.canAttachComment(e)){let a;for(a=n.length-1;a>=0&&!(u(n[a])<=u(e)&&i(n[a])<=i(e));--a);return void n.splice(a+1,0,e)}}else if(Ul.has(e))return Ul.get(e);let o=r.getCommentChildNodes&&r.getCommentChildNodes(e,t)||typeof e=="object"&&Object.entries(e).filter(([a])=>a!=="enclosingNode"&&a!=="precedingNode"&&a!=="followingNode"&&a!=="tokens"&&a!=="comments").map(([,a])=>a);if(o){n||(n=[],Ul.set(e,n));for(let a of o)Wl(a,t,n);return n}}d(Wl,"Yl");function kh(e,t,n,r){let{locStart:u,locEnd:i}=n,o=u(t),a=i(t),s=Wl(e,n),c,l,p=0,h=s.length;for(;p<h;){let f=p+h>>1,g=s[f],E=u(g),C=i(g);if(E<=o&&a<=C)return kh(g,t,n,g);if(C<=o)c=g,p=f+1;else{if(!(a<=E))throw new Error("Comment location overlaps with node location");l=g,h=f}}if(r&&r.type==="TemplateLiteral"){let{quasis:f}=r,g=zl(f,t,n);c&&zl(f,c,n)!==g&&(c=null),l&&zl(f,l,n)!==g&&(l=null)}return{enclosingNode:r,precedingNode:c,followingNode:l}}d(kh,"Kl");let Gl=d(()=>!1,"Ql"),_h=d(e=>!/[\S\n\u2028\u2029]/.test(e),"Zl");function xv(e,t,n,r){let{comment:u,precedingNode:i}=n[r],{locStart:o,locEnd:a}=t,s=o(u);if(i)for(let c=r-1;c>=0;c--){let{comment:l,precedingNode:p}=n[c];if(p!==i||!_h(e.slice(a(l),s)))break;s=o(l)}return Bu(e,s,{backwards:!0})}d(xv,"ep");function Tv(e,t,n,r){let{comment:u,followingNode:i}=n[r],{locStart:o,locEnd:a}=t,s=a(u);if(i)for(let c=r+1;c<n.length;c++){let{comment:l,followingNode:p}=n[c];if(p!==i||!_h(e.slice(s,o(l))))break;s=a(l)}return Bu(e,s)}d(Tv,"tp");function Ph(e,t,n){let r=e.length;if(r===0)return;let{precedingNode:u,followingNode:i,enclosingNode:o}=e[0],a=n.printer.getGapRegex&&n.printer.getGapRegex(o)||/^[\s(]*$/,s,c=n.locStart(i);for(s=r;s>0;--s){let{comment:l,precedingNode:p,followingNode:h}=e[s-1];yn.strictEqual(p,u),yn.strictEqual(h,i);let f=t.slice(n.locEnd(l),c);if(!a.test(f))break;c=n.locStart(l)}for(let[l,{comment:p}]of e.entries())l<s?la(u,p):ca(i,p);for(let l of[u,i])l.comments&&l.comments.length>1&&l.comments.sort((p,h)=>n.locStart(p)-n.locStart(h));e.length=0}d(Ph,"np");function Hl(e,t){return e.getValue().printed=!0,t.printer.printComment(e,t)}d(Hl,"rp");function zl(e,t,n){let r=n.locStart(t)-1;for(let u=1;u<e.length;++u)if(r<n.locStart(e[u]))return u-1;return 0}d(zl,"op");function Oh(e,t,n){let r=e.getValue();if(!r)return{};let u=r.comments||[];n&&(u=u.filter(s=>!n.has(s)));let i=r===t.cursorNode;if(u.length===0){let s=i?$l:"";return{leading:s,trailing:s}}let o=[],a=[];return e.each(()=>{let s=e.getValue();if(n&&n.has(s))return;let{leading:c,trailing:l}=s;c?o.push(function(p,h){let f=p.getValue(),g=[Hl(p,h)],{printer:E,originalText:C,locStart:A,locEnd:v}=h;if(E.isBlockComment&&E.isBlockComment(f)){let _=Bu(C,v(f))?Bu(C,A(f),{backwards:!0})?qn:bv:" ";g.push(_)}else g.push(qn);let S=Av(C,Fv(C,v(f)));return S!==!1&&Bu(C,S)&&g.push(qn),g}(e,t)):l&&a.push(function(p,h){let f=p.getValue(),g=Hl(p,h),{printer:E,originalText:C,locStart:A}=h,v=E.isBlockComment&&E.isBlockComment(f);if(Bu(C,A(f),{backwards:!0})){let _=Sv(C,f,A);return Nh([qn,_?qn:"",g])}let S=[" ",g];return v||(S=[Nh(S),Cv]),S}(e,t))},"comments"),i&&(o.unshift($l),a.push($l)),{leading:o,trailing:a}}d(Oh,"ip");var ve={attach:function(e,t,n,r){if(!Array.isArray(e))return;let u=[],{locStart:i,locEnd:o,printer:{handleComments:a={}}}=r,{avoidAstMutation:s,ownLine:c=Gl,endOfLine:l=Gl,remaining:p=Gl}=a,h=e.map((f,g)=>Object.assign({},kh(t,f,r),{comment:f,text:n,options:r,ast:t,isLastComment:e.length-1===g}));for(let[f,g]of h.entries()){let{comment:E,precedingNode:C,enclosingNode:A,followingNode:v,text:S,options:_,ast:w,isLastComment:B}=g;if(_.parser==="json"||_.parser==="json5"||_.parser==="__js_expression"||_.parser==="__vue_expression"){if(i(E)-i(w)<=0){ca(w,E);continue}if(o(E)-o(w)>=0){la(w,E);continue}}let O;if(s?O=[g]:(E.enclosingNode=A,E.precedingNode=C,E.followingNode=v,O=[E,S,_,w,B]),xv(S,_,h,f))E.placement="ownLine",c(...O)||(v?ca(v,E):C?la(C,E):Vl(A||w,E));else if(Tv(S,_,h,f))E.placement="endOfLine",l(...O)||(C?la(C,E):v?ca(v,E):Vl(A||w,E));else if(E.placement="remaining",!p(...O))if(C&&v){let H=u.length;H>0&&u[H-1].followingNode!==v&&Ph(u,S,_),u.push(g)}else C?la(C,E):v?ca(v,E):Vl(A||w,E)}if(Ph(u,n,r),!s)for(let f of e)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode},printComments:function(e,t,n,r){let{leading:u,trailing:i}=Oh(e,n,r);return u||i?[u,t,i]:t},printCommentsSeparately:Oh,printDanglingComments:function(e,t,n,r){let u=[],i=e.getValue();return i&&i.comments?(e.each(()=>{let o=e.getValue();o.leading||o.trailing||r&&!r(o)||u.push(Hl(e,t))},"comments"),u.length===0?"":n?Bh(qn,u):vv([qn,Bh(qn,u)])):""},getSortedChildNodes:Wl,ensureAllCommentsPrinted:function(e){if(e)for(let t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}};function Ih(e,t){let n=Lh(e.stack,t);return n===-1?null:e.stack[n]}d(Ih,"sp");function Lh(e,t){for(let n=e.length-1;n>=0;n-=2){let r=e[n];if(r&&!Array.isArray(r)&&--t<0)return n}return-1}d(Lh,"ap");var wv=d(class{constructor(e){this.stack=[e]}getName(){let{stack:e}=this,{length:t}=e;return t>1?e[t-2]:null}getValue(){return be(this.stack)}getNode(e=0){return Ih(this,e)}getParentNode(e=0){return Ih(this,e+1)}call(e,...t){let{stack:n}=this,{length:r}=n,u=be(n);for(let o of t)u=u[o],n.push(o,u);let i=e(this);return n.length=r,i}callParent(e,t=0){let n=Lh(this.stack,t+1),r=this.stack.splice(n+1),u=e(this);return this.stack.push(...r),u}each(e,...t){let{stack:n}=this,{length:r}=n,u=be(n);for(let i of t)u=u[i],n.push(i,u);for(let i=0;i<u.length;++i)n.push(i,u[i]),e(this,i,u),n.length-=2;n.length=r}map(e,...t){let n=[];return this.each((r,u,i)=>{n[u]=e(r,u,i)},...t),n}try(e){let{stack:t}=this,n=[...t];try{return e()}finally{t.length=0,t.push(...n)}}match(...e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(let u of e){if(r===void 0)return!1;let i=null;if(typeof n=="number"&&(i=n,n=this.stack[t--],r=this.stack[t--]),u&&!u(r,n,i))return!1;n=this.stack[t--],r=this.stack[t--]}return!0}findAncestor(e){let t=this.stack.length-1,n=null,r=this.stack[t--];for(;r;){let u=null;if(typeof n=="number"&&(u=n,n=this.stack[t--],r=this.stack[t--]),n!==null&&e(r,n,u))return r;n=this.stack[t--],r=this.stack[t--]}}},"cp");let{utils:{stripTrailingHardline:Nv}}=Q,{normalize:Bv}=sh;var kv={printSubtree:function(e,t,n,r){if(n.printer.embed&&n.embeddedLanguageFormatting==="auto")return n.printer.embed(e,t,(u,i,o)=>function(a,s,c,l,{stripTrailingHardline:p=!1}={}){let h=Bv(Object.assign({},c,s,{parentParser:c.parser,originalText:a}),{passThrough:!0}),f=Dr.parse(a,h),{ast:g}=f;a=f.text;let E=g.comments;delete g.comments,ve.attach(E,g,a,h),h[Symbol.for("comments")]=E||[],h[Symbol.for("tokens")]=g.tokens||[];let C=l(g,h);return ve.ensureAllCommentsPrinted(E),p?typeof C=="string"?C.replace(/(?:\r?\n)*$/,""):Nv(C):C}(u,i,n,r,o),n)}};let{builders:{hardline:_v,addAlignmentToDoc:Pv},utils:{propagateBreaks:Ov}}=Q,{printComments:Iv}=ve;function jh(e,t,n=0){let{printer:r}=t;r.preprocess&&(e=r.preprocess(e,t));let u=new Map,i=new wv(e),o=a();return n>0&&(o=Pv([_v,o],n,t.tabWidth)),Ov(o),o;function a(c,l){return c===void 0||c===i?s(l):Array.isArray(c)?i.call(()=>s(l),...c):i.call(()=>s(l),c)}function s(c){let l=i.getValue(),p=l&&typeof l=="object"&&c===void 0;if(p&&u.has(l))return u.get(l);let h=function(f,g,E,C){let A=f.getValue(),{printer:v}=g,S,_;if(v.hasPrettierIgnore&&v.hasPrettierIgnore(f))({doc:S,printedComments:_}=function(w,B){let{originalText:O,[Symbol.for("comments")]:H,locStart:X,locEnd:$}=B,U=X(w),K=$(w),re=new Set;for(let ie of H)X(ie)>=U&&$(ie)<=K&&(ie.printed=!0,re.add(ie));return{doc:O.slice(U,K),printedComments:re}}(A,g));else{if(A)try{S=kv.printSubtree(f,E,g,jh)}catch(w){if(It.PRETTIER_DEBUG)throw w}S||(S=v.print(f,g,E,C))}return v.willPrintOwnComments&&v.willPrintOwnComments(f,g)||(S=Iv(f,S,g,_)),S}(i,t,a,c);return p&&u.set(l,h),h}}d(jh,"yp");var Xl=jh;function Rh(e){let t=e.length-1;for(;;){let n=e[t];if(!n||n.type!=="Program"&&n.type!=="File")break;t--}return e.slice(0,t+1)}d(Rh,"Ep");function ss(e,t,n,r,u=[],i){let{locStart:o,locEnd:a}=n,s=o(e),c=a(e);if(!(t>c||t<s||i==="rangeEnd"&&t===s||i==="rangeStart"&&t===c)){for(let l of ve.getSortedChildNodes(e,n)){let p=ss(l,t,n,r,[e,...u],i);if(p)return p}return!r||r(e,u[0])?{node:e,parentNodes:u}:void 0}}d(ss,"bp");let Mh=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),Lv=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function qh(e,t,n){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"espree":case"meriyah":return function(r,u){return u!=="DeclareExportDeclaration"&&r!=="TypeParameterDeclaration"&&(r==="Directive"||r==="TypeAlias"||r==="TSExportAssignment"||r.startsWith("Declare")||r.startsWith("TSDeclare")||r.endsWith("Statement")||r.endsWith("Declaration"))}(t.type,n&&n.type);case"json":case"json5":case"json-stringify":return Mh.has(t.type);case"graphql":return Lv.has(t.kind);case"vue":return t.tag!=="root"}return!1}d(qh,"Ap");var $h={calculateRange:function(e,t,n){let{rangeStart:r,rangeEnd:u,locStart:i,locEnd:o}=t;yn.ok(u>r);let a=e.slice(r,u).search(/\S/),s=a===-1;if(!s)for(r+=a;u>r&&!/\S/.test(e[u-1]);--u);let c=ss(n,r,t,(f,g)=>qh(t,f,g),[],"rangeStart"),l=s?c:ss(n,u,t,f=>qh(t,f),[],"rangeEnd");if(!c||!l)return{rangeStart:0,rangeEnd:0};let p,h;if((({parser:f})=>f==="json"||f==="json5"||f==="json-stringify")(t)){let f=function(g,E){let C=[g.node,...g.parentNodes],A=new Set([E.node,...E.parentNodes]);return C.find(v=>Mh.has(v.type)&&A.has(v))}(c,l);p=f,h=f}else({startNode:p,endNode:h}=function(f,g,{locStart:E,locEnd:C}){let A=f.node,v=g.node;if(A===v)return{startNode:A,endNode:v};let S=E(f.node);for(let w of Rh(g.parentNodes)){if(!(E(w)>=S))break;v=w}let _=C(g.node);for(let w of Rh(f.parentNodes)){if(!(C(w)<=_))break;A=w}return{startNode:A,endNode:v}}(c,l,t));return{rangeStart:Math.min(i(p),i(h)),rangeEnd:Math.max(o(p),o(h))}},findNodeAtOffset:ss};let{printer:{printDocToString:Jl},debug:{printDocToDebug:jv}}=Q,{getAlignmentSize:Rv}=ue,{guessEndOfLine:Mv,convertEndOfLineToChars:Vh,countEndOfLineChars:Uh,normalizeEndOfLine:qv}=pu,pa=sh.normalize,Wh=Symbol("cursor");function Gh(e,t,n){let r=t.comments;return r&&(delete t.comments,ve.attach(r,t,e,n)),n[Symbol.for("comments")]=r||[],n[Symbol.for("tokens")]=t.tokens||[],n.originalText=e,r}d(Gh,"Ip");function Hh(e,t,n=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:r,text:u}=Dr.parse(e,t);if(t.cursorOffset>=0){let s=$h.findNodeAtOffset(r,t.cursorOffset,t);s&&s.node&&(t.cursorNode=s.node)}let i=Gh(u,r,t),o=Xl(r,t,n),a=Jl(o,t);if(ve.ensureAllCommentsPrinted(i),n>0){let s=a.formatted.trim();a.cursorNodeStart!==void 0&&(a.cursorNodeStart-=a.formatted.indexOf(s)),a.formatted=s+Vh(t.endOfLine)}if(t.cursorOffset>=0){let s,c,l,p,h;if(t.cursorNode&&a.cursorNodeText?(s=t.locStart(t.cursorNode),c=u.slice(s,t.locEnd(t.cursorNode)),l=t.cursorOffset-s,p=a.cursorNodeStart,h=a.cursorNodeText):(s=0,c=u,l=t.cursorOffset,p=0,h=a.formatted),c===h)return{formatted:a.formatted,cursorOffset:p+l,comments:i};let f=c.split("");f.splice(l,0,Wh);let g=h.split(""),E=cn.diffArrays(f,g),C=p;for(let A of E)if(A.removed){if(A.value.includes(Wh))break}else C+=A.count;return{formatted:a.formatted,cursorOffset:C,comments:i}}return{formatted:a.formatted,cursorOffset:-1,comments:i}}d(Hh,"jp");function Yl(e,t,n){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?n:t}d(Yl,"Lp");function zh(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:u}=t;return n=Yl(e,n,-1),r=Yl(e,r,0),u=Yl(e,u,e.length),Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:u})}d(zh,"_p");function Xh(e,t){let{cursorOffset:n,rangeStart:r,rangeEnd:u,endOfLine:i}=zh(e,t),o=e.charAt(0)==="\uFEFF";if(o&&(e=e.slice(1),n--,r--,u--),i==="auto"&&(i=Mv(e)),e.includes("\r")){let a=d(s=>Uh(e.slice(0,Math.max(s,0)),`\r
|
|
112
|
+
`),"t125");n-=a(n),r-=a(r),u-=a(u),e=qv(e)}return{hasBOM:o,text:e,options:zh(e,Object.assign({},t,{cursorOffset:n,rangeStart:r,rangeEnd:u,endOfLine:i}))}}d(Xh,"Mp");function Jh(e,t){let n=Dr.resolveParser(t);return!n.hasPragma||n.hasPragma(e)}d(Jh,"Rp");function Yh(e,t){let n,{hasBOM:r,text:u,options:i}=Xh(e,pa(t));return i.rangeStart>=i.rangeEnd&&u!==""||i.requirePragma&&!Jh(u,i)?{formatted:e,cursorOffset:t.cursorOffset,comments:[]}:(i.rangeStart>0||i.rangeEnd<u.length?n=function(o,a){let{ast:s,text:c}=Dr.parse(o,a),{rangeStart:l,rangeEnd:p}=$h.calculateRange(c,a,s),h=c.slice(l,p),f=Math.min(l,c.lastIndexOf(`
|
|
113
|
+
`,l)+1),g=c.slice(f,l).match(/^\s*/)[0],E=Rv(g,a.tabWidth),C=Hh(h,Object.assign({},a,{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:a.cursorOffset>l&&a.cursorOffset<p?a.cursorOffset-l:-1,endOfLine:"lf"}),E),A=C.formatted.trimEnd(),{cursorOffset:v}=a;v>=p?v+=A.length-h.length:C.cursorOffset>=0&&(v=C.cursorOffset+l);let S=c.slice(0,l)+A+c.slice(p);if(a.endOfLine!=="lf"){let _=Vh(a.endOfLine);v>=0&&_===`\r
|
|
114
|
+
`&&(v+=Uh(S.slice(0,v),`
|
|
115
|
+
`)),S=S.replace(/\n/g,_)}return{formatted:S,cursorOffset:v,comments:C.comments}}(u,i):(!i.requirePragma&&i.insertPragma&&i.printer.insertPragma&&!Jh(u,i)&&(u=i.printer.insertPragma(u)),n=Hh(u,i)),r&&(n.formatted="\uFEFF"+n.formatted,n.cursorOffset>=0&&n.cursorOffset++),n)}d(Yh,"Vp");var ku={formatWithCursor:Yh,parse(e,t,n){let{text:r,options:u}=Xh(e,pa(t)),i=Dr.parse(r,u);return n&&(i.ast=fv(i.ast,u)),i},formatAST(e,t){t=pa(t);let n=Xl(e,t);return Jl(n,t)},formatDoc:(e,t)=>Yh(jv(e),Object.assign({},t,{parser:"__js_expression"})).formatted,printToDoc(e,t){t=pa(t);let{ast:n,text:r}=Dr.parse(e,t);return Gh(r,n,t),Xl(n,t)},printDocToString:(e,t)=>Jl(e,pa(t))};let{getMaxContinuousCount:$v,getStringWidth:Vv,getAlignmentSize:Uv,getIndentSize:Wv,skip:Gv,skipWhitespace:Hv,skipSpaces:zv,skipNewline:Xv,skipToLineEnd:Jv,skipEverythingButNewLine:Yv,skipInlineComment:Kv,skipTrailingComment:Qv,hasNewline:Zv,hasNewlineInRange:eA,hasSpaces:tA,isNextLineEmpty:nA,isNextLineEmptyAfterIndex:rA,isPreviousLineEmpty:uA,getNextNonSpaceNonCommentCharacterIndex:iA,makeString:aA,addLeadingComment:oA,addDanglingComment:sA,addTrailingComment:cA}=ue;var lA={getMaxContinuousCount:$v,getStringWidth:Vv,getAlignmentSize:Uv,getIndentSize:Wv,skip:Gv,skipWhitespace:Hv,skipSpaces:zv,skipNewline:Xv,skipToLineEnd:Jv,skipEverythingButNewLine:Yv,skipInlineComment:Kv,skipTrailingComment:Qv,hasNewline:Zv,hasNewlineInRange:eA,hasSpaces:tA,isNextLineEmpty:nA,isNextLineEmptyAfterIndex:rA,isPreviousLineEmpty:uA,getNextNonSpaceNonCommentCharacterIndex:iA,makeString:aA,addLeadingComment:oA,addDanglingComment:sA,addTrailingComment:cA},Ae=d(function(e,t){let{languageId:n}=e,r=we(e,["languageId"]);return Object.assign({linguistLanguageId:n},r,t(e))},"df"),pA=ce(function(e){(function(){function t(r){if(r==null)return!1;switch(r.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}d(t,"t127");function n(r){switch(r.type){case"IfStatement":return r.alternate!=null?r.alternate:r.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return r.body}return null}d(n,"n"),e.exports={isExpression:function(r){if(r==null)return!1;switch(r.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement:t,isIterationStatement:function(r){if(r==null)return!1;switch(r.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function(r){return t(r)||r!=null&&r.type==="FunctionDeclaration"},isProblematicIfStatement:function(r){var u;if(r.type!=="IfStatement"||r.alternate==null)return!1;u=r.consequent;do{if(u.type==="IfStatement"&&u.alternate==null)return!0;u=n(u)}while(u);return!1},trailingStatement:n}})()}),Kh=ce(function(e){(function(){var t,n,r,u,i,o;function a(s){return s<=65535?String.fromCharCode(s):String.fromCharCode(Math.floor((s-65536)/1024)+55296)+String.fromCharCode((s-65536)%1024+56320)}for(d(a,"s"),n={NonAsciiIdentifierStart:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\u08B6-\u08BD\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\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\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\u08B6-\u08BD\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\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\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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-\u2C2E\u2C30-\u2C5E\u2C60-\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],u=new Array(128),o=0;o<128;++o)u[o]=o>=97&&o<=122||o>=65&&o<=90||o===36||o===95;for(i=new Array(128),o=0;o<128;++o)i[o]=o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===36||o===95;e.exports={isDecimalDigit:function(s){return 48<=s&&s<=57},isHexDigit:function(s){return 48<=s&&s<=57||97<=s&&s<=102||65<=s&&s<=70},isOctalDigit:function(s){return s>=48&&s<=55},isWhiteSpace:function(s){return s===32||s===9||s===11||s===12||s===160||s>=5760&&r.indexOf(s)>=0},isLineTerminator:function(s){return s===10||s===13||s===8232||s===8233},isIdentifierStartES5:function(s){return s<128?u[s]:n.NonAsciiIdentifierStart.test(a(s))},isIdentifierPartES5:function(s){return s<128?i[s]:n.NonAsciiIdentifierPart.test(a(s))},isIdentifierStartES6:function(s){return s<128?u[s]:t.NonAsciiIdentifierStart.test(a(s))},isIdentifierPartES6:function(s){return s<128?i[s]:t.NonAsciiIdentifierPart.test(a(s))}}})()}),dA=ce(function(e){(function(){var t=Kh;function n(s,c){return!(!c&&s==="yield")&&r(s,c)}d(n,"n72");function r(s,c){if(c&&function(l){switch(l){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(s))return!0;switch(s.length){case 2:return s==="if"||s==="in"||s==="do";case 3:return s==="var"||s==="for"||s==="new"||s==="try";case 4:return s==="this"||s==="else"||s==="case"||s==="void"||s==="with"||s==="enum";case 5:return s==="while"||s==="break"||s==="catch"||s==="throw"||s==="const"||s==="yield"||s==="class"||s==="super";case 6:return s==="return"||s==="typeof"||s==="delete"||s==="switch"||s==="export"||s==="import";case 7:return s==="default"||s==="finally"||s==="extends";case 8:return s==="function"||s==="continue"||s==="debugger";case 10:return s==="instanceof";default:return!1}}d(r,"r46");function u(s,c){return s==="null"||s==="true"||s==="false"||n(s,c)}d(u,"o35");function i(s,c){return s==="null"||s==="true"||s==="false"||r(s,c)}d(i,"i20");function o(s){var c,l,p;if(s.length===0||(p=s.charCodeAt(0),!t.isIdentifierStartES5(p)))return!1;for(c=1,l=s.length;c<l;++c)if(p=s.charCodeAt(c),!t.isIdentifierPartES5(p))return!1;return!0}d(o,"u15");function a(s){var c,l,p,h,f;if(s.length===0)return!1;for(f=t.isIdentifierStartES6,c=0,l=s.length;c<l;++c){if(55296<=(p=s.charCodeAt(c))&&p<=56319){if(++c>=l||!(56320<=(h=s.charCodeAt(c))&&h<=57343))return!1;p=1024*(p-55296)+(h-56320)+65536}if(!f(p))return!1;f=t.isIdentifierPartES6}return!0}d(a,"s"),e.exports={isKeywordES5:n,isKeywordES6:r,isReservedWordES5:u,isReservedWordES6:i,isRestrictedWord:function(s){return s==="eval"||s==="arguments"},isIdentifierNameES5:o,isIdentifierNameES6:a,isIdentifierES5:function(s,c){return o(s)&&!u(s,c)},isIdentifierES6:function(s,c){return a(s)&&!i(s,c)}}})()});let fA=ce(function(e,t){t.ast=pA,t.code=Kh,t.keyword=dA}).keyword.isIdentifierNameES5,{getLast:Qh,hasNewline:Zh,skipWhitespace:hA,isNonEmptyArray:eD,isNextLineEmptyAfterIndex:DA}=ue,{locStart:tD,locEnd:Kl,hasSameLocStart:nD}=et,rD="(?:(?=.)\\s)",mA=new RegExp("^".concat(rD,"*:")),gA=new RegExp("^".concat(rD,"*::"));function uD(e){return e.type==="AssignmentExpression"||e.type==="BinaryExpression"||e.type==="LogicalExpression"||e.type==="NGPipeExpression"||e.type==="ConditionalExpression"||gr(e)||yr(e)||e.type==="SequenceExpression"||e.type==="TaggedTemplateExpression"||e.type==="BindExpression"||e.type==="UpdateExpression"&&!e.prefix||e.type==="TSAsExpression"||e.type==="TSNonNullExpression"}d(uD,"Bf");function da(e){return e.type==="Block"||e.type==="CommentBlock"||e.type==="MultiLine"}d(da,"kf");function iD(e){return e.type==="Line"||e.type==="CommentLine"||e.type==="SingleLine"||e.type==="HashbangComment"||e.type==="HTMLOpen"||e.type==="HTMLClose"}d(iD,"Nf");let yA=new Set(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function aD(e){return e&&yA.has(e.type)}d(aD,"Of");function Ql(e){return e.type==="NumericLiteral"||e.type==="Literal"&&typeof e.value=="number"}d(Ql,"If");function Zl(e){return e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"}d(Zl,"jf");function fa(e){return e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"}d(fa,"Lf");function ep(e){return gr(e)&&e.callee.type==="Identifier"&&(e.callee.name==="async"||e.callee.name==="inject"||e.callee.name==="fakeAsync")}d(ep,"_f");function tp(e){return e.type==="JSXElement"||e.type==="JSXFragment"}d(tp,"Mf");function oD(e){return e.kind==="get"||e.kind==="set"}d(oD,"Rf");function sD(e){return oD(e)||nD(e,e.value)}d(sD,"Vf");let EA=new Set(["BinaryExpression","LogicalExpression","NGPipeExpression"]),bA=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]),cD=/^(skip|[fx]?(it|describe|test))$/;function gr(e){return e&&(e.type==="CallExpression"||e.type==="OptionalCallExpression")}d(gr,"Uf");function yr(e){return e&&(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")}d(yr,"zf");function np(e,t){return tp(t)?sp(t):_u(t,wt.Leading,n=>Zh(e,Kl(n)))}d(np,"Hf");function lD(e){return/^(\d+|\d+\.\d+)$/.test(e)}d(lD,"Gf");function pD(e){return e.quasis.some(t=>t.value.raw.includes(`
|
|
116
|
+
`))}d(pD,"Jf");function dD(e){return e.extra?e.extra.raw:e.raw}d(dD,"Xf");let fD={"==":!0,"!=":!0,"===":!0,"!==":!0},cs={"*":!0,"/":!0,"%":!0},rp={">>":!0,">>>":!0,"<<":!0},hD={};for(let[e,t]of[["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].entries())for(let n of t)hD[n]=e;function up(e){return hD[e]}d(up,"ed");let ip=new WeakMap;function ap(e){if(ip.has(e))return ip.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),ip.set(e,t),t}d(ap,"nd");let op=new WeakMap;function DD(e){return e.value.trim()==="prettier-ignore"&&!e.unignore}d(DD,"od");function sp(e){return e&&(e.prettierIgnore||_u(e,wt.PrettierIgnore))}d(sp,"id");let wt={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},mD=d((e,t)=>{if(typeof e=="function"&&(t=e,e=0),e||t)return(n,r,u)=>!(e&wt.Leading&&!n.leading||e&wt.Trailing&&!n.trailing||e&wt.Dangling&&(n.leading||n.trailing)||e&wt.Block&&!da(n)||e&wt.Line&&!iD(n)||e&wt.First&&r!==0||e&wt.Last&&r!==u.length-1||e&wt.PrettierIgnore&&!DD(n)||t&&!t(n))},"sd");function _u(e,t,n){if(!e||!eD(e.comments))return!1;let r=mD(t,n);return!r||e.comments.some(r)}d(_u,"ad");function gD(e,t,n){if(!e||!Array.isArray(e.comments))return[];let r=mD(t,n);return r?e.comments.filter(r):e.comments}d(gD,"cd");function yD(e){return gr(e)||e.type==="NewExpression"||e.type==="ImportExpression"}d(yD,"ld");var de={getFunctionParameters:ap,iterateFunctionParametersPath:function(e,t){let n=e.getValue(),r=0,u=d(i=>t(i,r++),"o");n.this&&e.call(u,"this"),Array.isArray(n.parameters)?e.each(u,"parameters"):Array.isArray(n.params)&&e.each(u,"params"),n.rest&&e.call(u,"rest")},getCallArguments:function(e){if(op.has(e))return op.get(e);let t=e.type==="ImportExpression"?[e.source]:e.arguments;return op.set(e,t),t},iterateCallArgumentsPath:function(e,t){e.getValue().type==="ImportExpression"?e.call(n=>t(n,0),"source"):e.each(t,"arguments")},hasRestParameter:function(e){if(e.rest)return!0;let t=ap(e);return t.length>0&&Qh(t).type==="RestElement"},getLeftSidePathName:function(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")},getParentExportDeclaration:function(e){let t=e.getParentNode();return e.getName()==="declaration"&&aD(t)?t:null},getTypeScriptMappedTypeModifier:function(e,t){return e==="+"?"+"+t:e==="-"?"-"+t:t},hasFlowAnnotationComment:function(e){return e&&da(e[0])&&gA.test(e[0].value)},hasFlowShorthandAnnotationComment:function(e){return e.extra&&e.extra.parenthesized&&eD(e.trailingComments)&&da(e.trailingComments[0])&&mA.test(e.trailingComments[0].value)},hasLeadingOwnLineComment:np,hasNakedLeftSide:uD,hasNode:d(function e(t,n){if(!t||typeof t!="object")return!1;if(Array.isArray(t))return t.some(u=>e(u,n));let r=n(t);return typeof r=="boolean"?r:Object.values(t).some(u=>e(u,n))},"e"),hasIgnoreComment:function(e){return sp(e.getValue())},hasNodeIgnoreComment:sp,identity:function(e){return e},isBinaryish:function(e){return EA.has(e.type)},isBlockComment:da,isCallLikeExpression:yD,isLineComment:iD,isPrettierIgnoreComment:DD,isCallExpression:gr,isMemberExpression:yr,isExportDeclaration:aD,isFlowAnnotationComment:function(e,t){let n=tD(t),r=hA(e,Kl(t));return r!==!1&&e.slice(n,n+2)==="/*"&&e.slice(r,r+2)==="*/"},isFunctionCompositionArgs:function(e){if(e.length<=1)return!1;let t=0;for(let n of e)if(fa(n)){if(t+=1,t>1)return!0}else if(gr(n)){for(let r of n.arguments)if(fa(r))return!0}return!1},isFunctionNotation:sD,isFunctionOrArrowExpression:fa,isGetterOrSetter:oD,isJestEachTemplateLiteral:function(e,t){let n=/^[fx]?(describe|it|test)$/;return t.type==="TaggedTemplateExpression"&&t.quasi===e&&t.tag.type==="MemberExpression"&&t.tag.property.type==="Identifier"&&t.tag.property.name==="each"&&(t.tag.object.type==="Identifier"&&n.test(t.tag.object.name)||t.tag.object.type==="MemberExpression"&&t.tag.object.property.type==="Identifier"&&(t.tag.object.property.name==="only"||t.tag.object.property.name==="skip")&&t.tag.object.object.type==="Identifier"&&n.test(t.tag.object.object.name))},isJsxNode:tp,isLiteral:function(e){return e.type==="BooleanLiteral"||e.type==="DirectiveLiteral"||e.type==="Literal"||e.type==="NullLiteral"||e.type==="NumericLiteral"||e.type==="BigIntLiteral"||e.type==="DecimalLiteral"||e.type==="RegExpLiteral"||e.type==="StringLiteral"||e.type==="TemplateLiteral"||e.type==="TSTypeLiteral"||e.type==="JSXText"},isLongCurriedCallExpression:function(e){let t=e.getValue(),n=e.getParentNode();return gr(t)&&gr(n)&&n.callee===t&&t.arguments.length>n.arguments.length&&n.arguments.length>0},isSimpleCallArgument:d(function e(t,n){if(n>=2)return!1;let r=d(i=>e(i,n+1),"r"),u=t.type==="Literal"&&"regex"in t&&t.regex.pattern||t.type==="RegExpLiteral"&&t.pattern;return!(u&&u.length>5)&&(t.type==="Literal"||t.type==="BigIntLiteral"||t.type==="DecimalLiteral"||t.type==="BooleanLiteral"||t.type==="NullLiteral"||t.type==="NumericLiteral"||t.type==="RegExpLiteral"||t.type==="StringLiteral"||t.type==="Identifier"||t.type==="ThisExpression"||t.type==="Super"||t.type==="PrivateName"||t.type==="PrivateIdentifier"||t.type==="ArgumentPlaceholder"||t.type==="Import"||(t.type==="TemplateLiteral"?t.quasis.every(i=>!i.value.raw.includes(`
|
|
117
|
+
`))&&t.expressions.every(r):t.type==="ObjectExpression"?t.properties.every(i=>!i.computed&&(i.shorthand||i.value&&r(i.value))):t.type==="ArrayExpression"?t.elements.every(i=>i===null||r(i)):t.type==="ImportExpression"?r(t.source):yD(t)?e(t.callee,n)&&t.arguments.every(r):yr(t)?e(t.object,n)&&e(t.property,n):t.type!=="UnaryExpression"||t.operator!=="!"&&t.operator!=="-"?t.type==="TSNonNullExpression"&&e(t.expression,n):e(t.argument,n)))},"e215"),isMemberish:function(e){return yr(e)||e.type==="BindExpression"&&Boolean(e.object)},isNumericLiteral:Ql,isSignedNumericLiteral:function(e){return e.type==="UnaryExpression"&&(e.operator==="+"||e.operator==="-")&&Ql(e.argument)},isObjectType:function(e){return e.type==="ObjectTypeAnnotation"||e.type==="TSTypeLiteral"},isObjectTypePropertyAFunction:function(e){return!(e.type!=="ObjectTypeProperty"&&e.type!=="ObjectTypeInternalSlot"||e.value.type!=="FunctionTypeAnnotation"||e.static||sD(e))},isSimpleType:function(e){return!!e&&(!(e.type!=="GenericTypeAnnotation"&&e.type!=="TSTypeReference"||e.typeParameters)||!!bA.has(e.type))},isSimpleNumber:lD,isSimpleTemplateLiteral:function(e){let t="expressions";e.type==="TSTemplateLiteralType"&&(t="types");let n=e[t];return n.length!==0&&n.every(r=>{if(_u(r))return!1;if(r.type==="Identifier"||r.type==="ThisExpression")return!0;if(yr(r)){let u=r;for(;yr(u);)if(u.property.type!=="Identifier"&&u.property.type!=="Literal"&&u.property.type!=="StringLiteral"&&u.property.type!=="NumericLiteral"||(u=u.object,_u(u)))return!1;return u.type==="Identifier"||u.type==="ThisExpression"}return!1})},isStringLiteral:Zl,isStringPropSafeToUnquote:function(e,t){return t.parser!=="json"&&Zl(e.key)&&dD(e.key).slice(1,-1)===e.key.value&&(fA(e.key.value)&&!((t.parser==="typescript"||t.parser==="babel-ts")&&e.type==="ClassProperty")||lD(e.key.value)&&String(Number(e.key.value))===e.key.value&&(t.parser==="babel"||t.parser==="espree"||t.parser==="meriyah"))},isTemplateOnItsOwnLine:function(e,t){return(e.type==="TemplateLiteral"&&pD(e)||e.type==="TaggedTemplateExpression"&&pD(e.quasi))&&!Zh(t,tD(e),{backwards:!0})},isTestCall:d(function e(t,n){if(t.type!=="CallExpression")return!1;if(t.arguments.length===1){if(ep(t)&&n&&e(n))return fa(t.arguments[0]);if(function(r){return r.callee.type==="Identifier"&&/^(before|after)(Each|All)$/.test(r.callee.name)&&r.arguments.length===1}(t))return ep(t.arguments[0])}else if((t.arguments.length===2||t.arguments.length===3)&&(t.callee.type==="Identifier"&&cD.test(t.callee.name)||function(r){return yr(r.callee)&&r.callee.object.type==="Identifier"&&r.callee.property.type==="Identifier"&&cD.test(r.callee.object.name)&&(r.callee.property.name==="only"||r.callee.property.name==="skip")}(t))&&(function(r){return r.type==="TemplateLiteral"}(t.arguments[0])||Zl(t.arguments[0])))return!(t.arguments[2]&&!Ql(t.arguments[2]))&&((t.arguments.length===2?fa(t.arguments[1]):function(r){return r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"&&r.body.type==="BlockStatement"}(t.arguments[1])&&ap(t.arguments[1]).length<=1)||ep(t.arguments[1]));return!1},"e217"),isTheOnlyJsxElementInMarkdown:function(e,t){if(e.parentParser!=="markdown"&&e.parentParser!=="mdx")return!1;let n=t.getNode();if(!n.expression||!tp(n.expression))return!1;let r=t.getParentNode();return r.type==="Program"&&r.body.length===1},isTSXFile:function(e){return e.filepath&&/\.tsx$/i.test(e.filepath)},isTypeAnnotationAFunction:function(e){return!(e.type!=="TypeAnnotation"&&e.type!=="TSTypeAnnotation"||e.typeAnnotation.type!=="FunctionTypeAnnotation"||e.static||nD(e,e.typeAnnotation))},isNextLineEmpty:(e,{originalText:t})=>DA(t,Kl(e)),needsHardlineAfterDanglingComment:function(e){if(!_u(e))return!1;let t=Qh(gD(e,wt.Dangling));return t&&!da(t)},rawText:dD,returnArgumentHasLeadingComment:function(e,t){if(np(e.originalText,t))return!0;if(uD(t)){let r,u=t;for(;r=(n=u).expressions?n.expressions[0]:n.left||n.test||n.callee||n.object||n.tag||n.argument||n.expression;)if(u=r,np(e.originalText,u))return!0}var n;return!1},shouldPrintComma:function(e,t="es5"){return e.trailingComma==="es5"&&t==="es5"||e.trailingComma==="all"&&(t==="all"||t==="es5")},isBitwiseOperator:function(e){return Boolean(rp[e])||e==="|"||e==="^"||e==="&"},shouldFlatten:function(e,t){return up(t)===up(e)&&e!=="**"&&(!fD[e]||!fD[t])&&!(t==="%"&&cs[e]||e==="%"&&cs[t])&&(t===e||!cs[t]||!cs[e])&&(!rp[e]||!rp[t])},startsWithNoLookaheadToken:d(function e(t,n){switch((t=function(r){for(;r.left;)r=r.left;return r}(t)).type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return n;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return e(t.object,n);case"TaggedTemplateExpression":return t.tag.type!=="FunctionExpression"&&e(t.tag,n);case"CallExpression":case"OptionalCallExpression":return t.callee.type!=="FunctionExpression"&&e(t.callee,n);case"ConditionalExpression":return e(t.test,n);case"UpdateExpression":return!t.prefix&&e(t.argument,n);case"BindExpression":return t.object&&e(t.object,n);case"SequenceExpression":return e(t.expressions[0],n);case"TSAsExpression":case"TSNonNullExpression":return e(t.expression,n);default:return!1}},"e218"),getPrecedence:up,hasComment:_u,getComments:gD,CommentCheckFlags:wt};let{getStringWidth:ED,getIndentSize:CA}=ue,{builders:{join:bD,hardline:cp,softline:ls,group:CD,indent:lp,align:vA,lineSuffixBoundary:ps,addAlignmentToDoc:AA},printer:{printDocToString:vD},utils:{mapDoc:FA}}=Q,{isBinaryish:SA,isJestEachTemplateLiteral:xA,isSimpleTemplateLiteral:TA,hasComment:AD,isMemberExpression:wA}=de;function FD(e){return e.replace(/([\\`]|\${)/g,"\\$1")}d(FD,"Bd");var Pu={printTemplateLiteral:function(e,t,n){let r=e.getValue();if(r.type==="TemplateLiteral"&&xA(r,e.getParentNode())){let s=function(c,l,p){let h=c.getNode(),f=h.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(f.length>1||f.some(g=>g.length>0)){l.__inJestEach=!0;let g=c.map(p,"expressions");l.__inJestEach=!1;let E=[],C=g.map(w=>"${"+vD(w,Object.assign({},l,{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),A=[{hasLineBreak:!1,cells:[]}];for(let w=1;w<h.quasis.length;w++){let B=be(A),O=C[w-1];B.cells.push(O),O.includes(`
|
|
118
|
+
`)&&(B.hasLineBreak=!0),h.quasis[w].value.raw.includes(`
|
|
119
|
+
`)&&A.push({hasLineBreak:!1,cells:[]})}let v=Math.max(f.length,...A.map(w=>w.cells.length)),S=Array.from({length:v}).fill(0),_=[{cells:f},...A.filter(w=>w.cells.length>0)];for(let{cells:w}of _.filter(B=>!B.hasLineBreak))for(let[B,O]of w.entries())S[B]=Math.max(S[B],ED(O));return E.push(ps,"`",lp([cp,bD(cp,_.map(w=>bD(" | ",w.cells.map((B,O)=>w.hasLineBreak?B:B+" ".repeat(S[O]-ED(B))))))]),cp,"`"),E}}(e,n,t);if(s)return s}let u="expressions";r.type==="TSTemplateLiteralType"&&(u="types");let i=[],o=e.map(t,u),a=TA(r);return a&&(o=o.map(s=>vD(s,Object.assign({},n,{printWidth:Number.POSITIVE_INFINITY})).formatted)),i.push(ps,"`"),e.each(s=>{let c=s.getName();if(i.push(t()),c<o.length){let{tabWidth:l}=n,p=s.getValue(),h=CA(p.value.raw,l),f=o[c];if(!a){let E=r[u][c];(AD(E)||wA(E)||E.type==="ConditionalExpression"||E.type==="SequenceExpression"||E.type==="TSAsExpression"||SA(E))&&(f=[lp([ls,f]),ls])}let g=h===0&&p.value.raw.endsWith(`
|
|
120
|
+
`)?vA(Number.NEGATIVE_INFINITY,f):AA(f,h,l);i.push(CD(["${",g,ps,"}"]))}},"quasis"),i.push("`"),i},printTemplateExpressions:function(e,t){return e.map(n=>function(r,u){let i=r.getValue(),o=u();return AD(i)&&(o=CD([lp([ls,o]),ls])),["${",o,ps,"}"]}(n,t),"expressions")},escapeTemplateCharacters:function(e,t){return FA(e,n=>typeof n=="string"?t?n.replace(/(\\*)`/g,"$1$1\\`"):FD(n):n)},uncookTemplateElementValue:FD};let{builders:{indent:NA,softline:SD,literalline:BA,dedentToRoot:kA}}=Q,{escapeTemplateCharacters:_A}=Pu;var PA=d(function(e,t,n){let r=e.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(a,s)=>"\\".repeat(s.length/2)+"`"),u=function(a){let s=a.match(/^([^\S\n]*)\S/m);return s===null?"":s[1]}(r),i=u!=="";i&&(r=r.replace(new RegExp("^".concat(u),"gm"),""));let o=_A(n(r,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",i?NA([SD,o]):[BA,kA(o)],SD,"`"]},"Ld");let{isNonEmptyArray:OA}=ue,{builders:{indent:IA,hardline:LA,softline:jA},utils:{mapDoc:RA,replaceNewlinesWithLiterallines:MA,cleanDoc:qA}}=Q,{printTemplateExpressions:$A}=Pu;var VA=d(function(e,t,n){let r=e.getValue(),u=r.quasis.map(o=>o.value.raw),i=0;return function(o,a,s){if(a.quasis.length===1&&!a.quasis[0].value.raw.trim())return"``";let c=function(l,p){if(!OA(p))return l;let h=0,f=RA(qA(l),g=>typeof g=="string"&&g.includes("@prettier-placeholder")?g.split(/@prettier-placeholder-(\d+)-id/).map((E,C)=>C%2==0?MA(E):(h++,p[E])):g);return p.length===h?f:null}(o,s);if(!c)throw new Error("Couldn't insert all the expressions");return["`",IA([LA,c]),jA,"`"]}(n(u.reduce((o,a,s)=>s===0?a:o+"@prettier-placeholder-"+i+++"-id"+a,""),{parser:"scss"},{stripTrailingHardline:!0}),r,$A(e,t))},"zd");let{builders:{indent:UA,join:xD,hardline:ha}}=Q,{escapeTemplateCharacters:WA,printTemplateExpressions:GA}=Pu;function HA(e){let t=[],n=!1,r=e.map(u=>u.trim());for(let[u,i]of r.entries())i!==""&&(r[u-1]===""&&n?t.push([ha,i]):t.push(i),n=!0);return t.length===0?null:xD(ha,t)}d(HA,"Kd");var zA=d(function(e,t,n){let r=e.getValue(),u=r.quasis.length;if(u===1&&r.quasis[0].value.raw.trim()==="")return"``";let i=GA(e,t),o=[];for(let a=0;a<u;a++){let s=a===0,c=a===u-1,l=r.quasis[a].value.cooked,p=l.split(`
|
|
121
|
+
`),h=p.length,f=i[a],g=h>2&&p[0].trim()===""&&p[1].trim()==="",E=h>2&&p[h-1].trim()===""&&p[h-2].trim()==="",C=p.every(v=>/^\s*(?:#[^\n\r]*)?$/.test(v));if(!c&&/#[^\n\r]*$/.test(p[h-1]))return null;let A=null;A=C?HA(p):n(l,{parser:"graphql"},{stripTrailingHardline:!0}),A?(A=WA(A,!1),!s&&g&&o.push(""),o.push(A),!c&&E&&o.push("")):s||c||!g||o.push(""),f&&o.push(f)}return["`",UA([ha,xD(ha,o)]),ha,"`"]},"Qd");let{builders:{indent:TD,line:XA,hardline:JA,group:ds},utils:{mapDoc:YA}}=Q,{printTemplateExpressions:KA,uncookTemplateElementValue:QA}=Pu,pp=0;var ZA=d(function(e,t,n,r,{parser:u}){let i=e.getValue(),o=pp;pp=pp+1>>>0;let a=d(A=>"PRETTIER_HTML_PLACEHOLDER_".concat(A,"_").concat(o,"_IN_JS"),"s"),s=i.quasis.map((A,v,S)=>v===S.length-1?A.value.cooked:A.value.cooked+a(v)).join(""),c=KA(e,t);if(c.length===0&&s.trim().length===0)return"``";let l=new RegExp(a("(\\d+)"),"g"),p=0,h=n(s,{parser:u,__onHtmlRoot(A){p=A.children.length}},{stripTrailingHardline:!0}),f=YA(h,A=>{if(typeof A!="string")return A;let v=[],S=A.split(l);for(let _=0;_<S.length;_++){let w=S[_];if(_%2==0){w&&(w=QA(w),r.__embeddedInHtml&&(w=w.replace(/<\/(script)\b/gi,"<\\/$1")),v.push(w));continue}let B=Number(w);v.push(c[B])}return v}),g=/^\s/.test(s)?" ":"",E=/\s$/.test(s)?" ":"",C=r.htmlWhitespaceSensitivity==="ignore"?JA:g&&E?XA:null;return ds(C?["`",TD([C,ds(f)]),C,"`"]:["`",g,p>1?TD(ds(f)):ds(f),E,"`"])},"sh");let{hasComment:eF,CommentCheckFlags:wD}=de;function tF(e){return function(t){let n=t.getValue(),r=t.getParentNode(),u=t.getParentNode(1);return u&&n.quasis&&r.type==="JSXExpressionContainer"&&u.type==="JSXElement"&&u.openingElement.name.name==="style"&&u.openingElement.attributes.some(i=>i.name.name==="jsx")||r&&r.type==="TaggedTemplateExpression"&&r.tag.type==="Identifier"&&r.tag.name==="css"||r&&r.type==="TaggedTemplateExpression"&&r.tag.type==="MemberExpression"&&r.tag.object.name==="css"&&(r.tag.property.name==="global"||r.tag.property.name==="resolve")}(e)||function(t){let n=t.getParentNode();if(!n||n.type!=="TaggedTemplateExpression")return!1;let{tag:r}=n;switch(r.type){case"MemberExpression":return fs(r.object)||BD(r);case"CallExpression":return fs(r.callee)||r.callee.type==="MemberExpression"&&(r.callee.object.type==="MemberExpression"&&(fs(r.callee.object.object)||BD(r.callee.object))||r.callee.object.type==="CallExpression"&&fs(r.callee.object.callee));case"Identifier":return r.name==="css";default:return!1}}(e)||function(t){let n=t.getParentNode(),r=t.getParentNode(1);return r&&n.type==="JSXExpressionContainer"&&r.type==="JSXAttribute"&&r.name.type==="JSXIdentifier"&&r.name.name==="css"}(e)||function(t){return t.match(n=>n.type==="TemplateLiteral",(n,r)=>n.type==="ArrayExpression"&&r==="elements",(n,r)=>(n.type==="Property"||n.type==="ObjectProperty")&&n.key.type==="Identifier"&&n.key.name==="styles"&&r==="value",...ND)}(e)?"css":function(t){let n=t.getValue(),r=t.getParentNode();return kD(n,"GraphQL")||r&&(r.type==="TaggedTemplateExpression"&&(r.tag.type==="MemberExpression"&&r.tag.object.name==="graphql"&&r.tag.property.name==="experimental"||r.tag.type==="Identifier"&&(r.tag.name==="gql"||r.tag.name==="graphql"))||r.type==="CallExpression"&&r.callee.type==="Identifier"&&r.callee.name==="graphql")}(e)?"graphql":function(t){return kD(t.getValue(),"HTML")||t.match(n=>n.type==="TemplateLiteral",(n,r)=>n.type==="TaggedTemplateExpression"&&n.tag.type==="Identifier"&&n.tag.name==="html"&&r==="quasi")}(e)?"html":function(t){return t.match(n=>n.type==="TemplateLiteral",(n,r)=>(n.type==="Property"||n.type==="ObjectProperty")&&n.key.type==="Identifier"&&n.key.name==="template"&&r==="value",...ND)}(e)?"angular":function(t){let n=t.getValue(),r=t.getParentNode();return r&&r.type==="TaggedTemplateExpression"&&n.quasis.length===1&&r.tag.type==="Identifier"&&(r.tag.name==="md"||r.tag.name==="markdown")}(e)?"markdown":void 0}d(tF,"lh");let ND=[(e,t)=>e.type==="ObjectExpression"&&t==="properties",(e,t)=>e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="Component"&&t==="arguments",(e,t)=>e.type==="Decorator"&&t==="expression"];function fs(e){return e.type==="Identifier"&&e.name==="styled"}d(fs,"fh");function BD(e){return/^[A-Z]/.test(e.object.name)&&e.property.name==="extend"}d(BD,"dh");function kD(e,t){return eF(e,wD.Block|wD.Leading,({value:n})=>n===" ".concat(t," "))}d(kD,"hh");var nF=d(function(e,t,n,r){let u=e.getValue();if(u.type!=="TemplateLiteral"||function({quasis:o}){return o.some(({value:{cooked:a}})=>a===null)}(u))return;let i=tF(e);return i?i==="markdown"?PA(e,t,n):i==="css"?VA(e,t,n):i==="graphql"?zA(e,t,n):i==="html"||i==="angular"?ZA(e,t,n,r,{parser:i}):void 0:void 0},"mh");let{isBlockComment:rF}=de,uF=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),Ou=d(e=>{for(let t of e.quasis)delete t.value},"Dh");function _D(e,t,n){if(e.type==="Program"&&delete t.sourceType,e.type!=="BigIntLiteral"&&e.type!=="BigIntLiteralTypeAnnotation"||t.value&&(t.value=t.value.toLowerCase()),e.type!=="BigIntLiteral"&&e.type!=="Literal"||t.bigint&&(t.bigint=t.bigint.toLowerCase()),e.type==="DecimalLiteral"&&(t.value=Number(t.value)),e.type==="EmptyStatement"||e.type==="JSXText"||e.type==="JSXExpressionContainer"&&(e.expression.type==="Literal"||e.expression.type==="StringLiteral")&&e.expression.value===" ")return null;if(e.type!=="Property"&&e.type!=="ObjectProperty"&&e.type!=="MethodDefinition"&&e.type!=="ClassProperty"&&e.type!=="ClassMethod"&&e.type!=="PropertyDefinition"&&e.type!=="TSDeclareMethod"&&e.type!=="TSPropertySignature"&&e.type!=="ObjectTypeProperty"||typeof e.key!="object"||!e.key||e.key.type!=="Literal"&&e.key.type!=="NumericLiteral"&&e.key.type!=="StringLiteral"&&e.key.type!=="Identifier"||delete t.key,e.type==="JSXElement"&&e.openingElement.name.name==="style"&&e.openingElement.attributes.some(u=>u.name.name==="jsx"))for(let{type:u,expression:i}of t.children)u==="JSXExpressionContainer"&&i.type==="TemplateLiteral"&&Ou(i);e.type==="JSXAttribute"&&e.name.name==="css"&&e.value.type==="JSXExpressionContainer"&&e.value.expression.type==="TemplateLiteral"&&Ou(t.value.expression),e.type==="JSXAttribute"&&e.value&&e.value.type==="Literal"&&/["']|"|'/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|"|'/g,'"'));let r=e.expression||e.callee;if(e.type==="Decorator"&&r.type==="CallExpression"&&r.callee.name==="Component"&&r.arguments.length===1){let u=e.expression.arguments[0].properties;for(let[i,o]of t.expression.arguments[0].properties.entries())switch(u[i].key.name){case"styles":o.value.type==="ArrayExpression"&&Ou(o.value.elements[0]);break;case"template":o.value.type==="TemplateLiteral"&&Ou(o.value)}}return e.type!=="TaggedTemplateExpression"||e.tag.type!=="MemberExpression"&&(e.tag.type!=="Identifier"||e.tag.name!=="gql"&&e.tag.name!=="graphql"&&e.tag.name!=="css"&&e.tag.name!=="md"&&e.tag.name!=="markdown"&&e.tag.name!=="html")&&e.tag.type!=="CallExpression"||Ou(t.quasi),e.type==="TemplateLiteral"&&(e.leadingComments&&e.leadingComments.some(u=>rF(u)&&["GraphQL","HTML"].some(i=>u.value===" ".concat(i," ")))||n.type==="CallExpression"&&n.callee.name==="graphql"||!e.leadingComments)&&Ou(t),e.type==="InterpreterDirective"&&(t.value=t.value.trimEnd()),e.type!=="TSIntersectionType"&&e.type!=="TSUnionType"||e.types.length!==1?void 0:t.types[0]}d(_D,"Eh"),_D.ignoredProperties=uF;var iF=_D;let PD=d(e=>{if(typeof e!="string")throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(t.length===0)return;let n=t.filter(r=>r===`\r
|
|
122
|
+
`).length;return n>t.length-n?`\r
|
|
123
|
+
`:`
|
|
124
|
+
`},"Ch");var OD=PD;OD.graceful=e=>typeof e=="string"&&PD(e)||`
|
|
125
|
+
`;var aF=d(function(e){let t=e.match(ID);return t?t[0].trimLeft():""},"Ah"),oF=d(function(e){let t=e.match(ID);return t&&t[0]?e.substring(t[0].length):e},"Fh"),sF=d(function(e){return MD(e).pragmas},"xh"),cF=MD,lF=d(function({comments:e="",pragmas:t={}}){let n=(0,fp().default)(e)||dp().EOL,r=" *",u=Object.keys(t),i=u.map(a=>qD(a,t[a])).reduce((a,s)=>a.concat(s),[]).map(a=>" * "+a+n).join("");if(!e){if(u.length===0)return"";if(u.length===1&&!Array.isArray(t[u[0]])){let a=t[u[0]];return"".concat("/**"," ").concat(qD(u[0],a)[0]).concat(" */")}}let o=e.split(n).map(a=>"".concat(r," ").concat(a)).join(n)+n;return"/**"+n+(e?o:"")+(e&&u.length?r+n:"")+i+" */"},"wh");function dp(){let e=Jo;return dp=d(function(){return e},"Th"),e}d(dp,"Th");function fp(){let e=function(t){return t&&t.__esModule?t:{default:t}}(OD);return fp=d(function(){return e},"Bh"),e}d(fp,"Bh");let pF=/\*\/$/,dF=/^\/\*\*/,ID=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,fF=/(^|\s+)\/\/([^\r\n]*)/g,LD=/^(\r?\n)+/,hF=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,jD=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,DF=/(\r?\n|^) *\* ?/g,RD=[];function MD(e){let t=(0,fp().default)(e)||dp().EOL;e=e.replace(dF,"").replace(pF,"").replace(DF,"$1");let n="";for(;n!==e;)n=e,e=e.replace(hF,"".concat(t,"$1 $2").concat(t));e=e.replace(LD,"").trimRight();let r=Object.create(null),u=e.replace(jD,"").replace(LD,"").trimRight(),i;for(;i=jD.exec(e);){let o=i[2].replace(fF,"");typeof r[i[1]]=="string"||Array.isArray(r[i[1]])?r[i[1]]=RD.concat(r[i[1]],o):r[i[1]]=o}return{comments:u,pragmas:r}}d(MD,"Rh");function qD(e,t){return RD.concat(t).map(n=>"@".concat(e," ").concat(n).trim())}d(qD,"Vh");var mF=Object.defineProperty({extract:aF,strip:oF,parse:sF,parseWithComments:cF,print:lF},"__esModule",{value:!0});let{parseWithComments:gF,strip:yF,extract:EF,print:bF}=mF,{getShebang:CF}=ue,{normalizeEndOfLine:vF}=pu;function $D(e){let t=CF(e);t&&(e=e.slice(t.length+1));let n=EF(e),{pragmas:r,comments:u}=gF(n);return{shebang:t,text:e,pragmas:r,comments:u}}d($D,"Jh");var hp={hasPragma:function(e){let t=Object.keys($D(e).pragmas);return t.includes("prettier")||t.includes("format")},insertPragma:function(e){let{shebang:t,text:n,pragmas:r,comments:u}=$D(e),i=yF(n),o=bF({pragmas:Object.assign({format:""},r),comments:u.trimStart()});return(t?"".concat(t,`
|
|
126
|
+
`):"")+vF(o)+(i.startsWith(`
|
|
127
|
+
`)?`
|
|
128
|
+
`:`
|
|
129
|
+
|
|
130
|
+
`)+i}};let{getLast:VD,hasNewline:AF,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Dp,getNextNonSpaceNonCommentCharacter:Er,hasNewlineInRange:FF,addLeadingComment:Ie,addTrailingComment:Xe,addDanglingComment:En,getNextNonSpaceNonCommentCharacterIndex:SF,isNonEmptyArray:UD}=ue,{isBlockComment:WD,getFunctionParameters:hs,isPrettierIgnoreComment:mp,isJsxNode:xF,hasFlowShorthandAnnotationComment:TF,hasFlowAnnotationComment:GD,hasIgnoreComment:wF,isCallLikeExpression:NF,getCallArguments:BF,isCallExpression:HD,isMemberExpression:kF}=de,{locStart:zD,locEnd:Nt}=et;function Iu(e,t){let n=(e.body||e.properties).find(({type:r})=>r!=="EmptyStatement");n?Ie(n,t):En(e,t)}d(Iu,"Em");function gp(e,t){e.type==="BlockStatement"?Iu(e,t):Ie(e,t)}d(gp,"bm");function _F({comment:e,followingNode:t}){return!(!t||!nm(e))&&(Ie(t,e),!0)}d(_F,"Cm");function yp({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){return!n||n.type!=="IfStatement"||!r?!1:Er(u,e,Nt)===")"?(Xe(t,e),!0):t===n.consequent&&r===n.alternate?(t.type==="BlockStatement"?Xe(t,e):En(n,e),!0):r.type==="BlockStatement"?(Iu(r,e),!0):r.type==="IfStatement"?(gp(r.consequent,e),!0):n.consequent===r&&(Ie(r,e),!0)}d(yp,"vm");function Ep({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){return!n||n.type!=="WhileStatement"||!r?!1:Er(u,e,Nt)===")"?(Xe(t,e),!0):r.type==="BlockStatement"?(Iu(r,e),!0):n.body===r&&(Ie(r,e),!0)}d(Ep,"Am");function XD({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!(!n||n.type!=="TryStatement"&&n.type!=="CatchClause"||!r)&&(n.type==="CatchClause"&&t?(Xe(t,e),!0):r.type==="BlockStatement"?(Iu(r,e),!0):r.type==="TryStatement"?(gp(r.finalizer,e),!0):r.type==="CatchClause"&&(gp(r.body,e),!0))}d(XD,"Fm");function PF({comment:e,enclosingNode:t,followingNode:n}){return!(!kF(t)||!n||n.type!=="Identifier")&&(Ie(t,e),!0)}d(PF,"xm");function OF({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){let i=t&&!FF(u,Nt(t),zD(e));return!(t&&i||!n||n.type!=="ConditionalExpression"&&n.type!=="TSConditionalType"||!r)&&(Ie(r,e),!0)}d(OF,"Sm");function IF({comment:e,precedingNode:t,enclosingNode:n}){return!(!n||n.type!=="ObjectProperty"&&n.type!=="Property"||!n.shorthand||n.key!==t||n.value.type!=="AssignmentPattern")&&(Xe(n.value.left,e),!0)}d(IF,"wm");function JD({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){if(n&&(n.type==="ClassDeclaration"||n.type==="ClassExpression"||n.type==="DeclareClass"||n.type==="DeclareInterface"||n.type==="InterfaceDeclaration"||n.type==="TSInterfaceDeclaration")){if(UD(n.decorators)&&(!r||r.type!=="Decorator"))return Xe(VD(n.decorators),e),!0;if(n.body&&r===n.body)return Iu(n.body,e),!0;if(r){for(let u of["implements","extends","mixins"])if(n[u]&&r===n[u][0])return!t||t!==n.id&&t!==n.typeParameters&&t!==n.superClass?En(n,e,u):Xe(t,e),!0}}return!1}d(JD,"Tm");function YD({comment:e,precedingNode:t,enclosingNode:n,text:r}){return(n&&t&&(n.type==="Property"||n.type==="TSDeclareMethod"||n.type==="TSAbstractMethodDefinition")&&t.type==="Identifier"&&n.key===t&&Er(r,t,Nt)!==":"||!(!t||!n||t.type!=="Decorator"||n.type!=="ClassMethod"&&n.type!=="ClassProperty"&&n.type!=="PropertyDefinition"&&n.type!=="TSAbstractClassProperty"&&n.type!=="TSAbstractMethodDefinition"&&n.type!=="TSDeclareMethod"&&n.type!=="MethodDefinition"))&&(Xe(t,e),!0)}d(YD,"Bm");function LF({comment:e,precedingNode:t,enclosingNode:n,text:r}){return Er(r,e,Nt)==="("&&!(!t||!n||n.type!=="FunctionDeclaration"&&n.type!=="FunctionExpression"&&n.type!=="ClassMethod"&&n.type!=="MethodDefinition"&&n.type!=="ObjectMethod")&&(Xe(t,e),!0)}d(LF,"km");function jF({comment:e,enclosingNode:t,text:n}){if(!t||t.type!=="ArrowFunctionExpression")return!1;let r=SF(n,e,Nt);return r!==!1&&n.slice(r,r+2)==="=>"&&(En(t,e),!0)}d(jF,"Nm");function RF({comment:e,enclosingNode:t,text:n}){return Er(n,e,Nt)===")"&&(t&&(tm(t)&&hs(t).length===0||NF(t)&&BF(t).length===0)?(En(t,e),!0):!(!t||t.type!=="MethodDefinition"&&t.type!=="TSAbstractMethodDefinition"||hs(t.value).length!==0)&&(En(t.value,e),!0))}d(RF,"Pm");function KD({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){if(t&&t.type==="FunctionTypeParam"&&n&&n.type==="FunctionTypeAnnotation"&&r&&r.type!=="FunctionTypeParam"||t&&(t.type==="Identifier"||t.type==="AssignmentPattern")&&n&&tm(n)&&Er(u,e,Nt)===")")return Xe(t,e),!0;if(n&&n.type==="FunctionDeclaration"&&r&&r.type==="BlockStatement"){let i=(()=>{let o=hs(n);if(o.length>0)return Dp(u,Nt(VD(o)));let a=Dp(u,Nt(n.id));return a!==!1&&Dp(u,a+1)})();if(zD(e)>i)return Iu(r,e),!0}return!1}d(KD,"Om");function QD({comment:e,enclosingNode:t}){return!(!t||t.type!=="ImportSpecifier")&&(Ie(t,e),!0)}d(QD,"Im");function ZD({comment:e,enclosingNode:t}){return!(!t||t.type!=="LabeledStatement")&&(Ie(t,e),!0)}d(ZD,"jm");function MF({comment:e,enclosingNode:t}){return!(!t||t.type!=="ContinueStatement"&&t.type!=="BreakStatement"||t.label)&&(Xe(t,e),!0)}d(MF,"Lm");function qF({comment:e,precedingNode:t,enclosingNode:n}){return!!(HD(n)&&t&&n.callee===t&&n.arguments.length>0)&&(Ie(n.arguments[0],e),!0)}d(qF,"_m");function $F({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!n||n.type!=="UnionTypeAnnotation"&&n.type!=="TSUnionType"?(r&&(r.type==="UnionTypeAnnotation"||r.type==="TSUnionType")&&mp(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1):(mp(e)&&(r.prettierIgnore=!0,e.unignore=!0),!!t&&(Xe(t,e),!0))}d($F,"Mm");function VF({comment:e,enclosingNode:t}){return!(!t||t.type!=="Property"&&t.type!=="ObjectProperty")&&(Ie(t,e),!0)}d(VF,"Rm");function bp({comment:e,enclosingNode:t,followingNode:n,ast:r,isLastComment:u}){return r&&r.body&&r.body.length===0?(u?En(r,e):Ie(r,e),!0):t&&t.type==="Program"&&t.body.length===0&&t.directives&&t.directives.length===0?(u?En(t,e):Ie(t,e),!0):!(!n||n.type!=="Program"||n.body.length!==0||!t||t.type!=="ModuleExpression")&&(En(n,e),!0)}d(bp,"Vm");function UF({comment:e,enclosingNode:t}){return!(!t||t.type!=="ForInStatement"&&t.type!=="ForOfStatement")&&(Ie(t,e),!0)}d(UF,"$m");function WF({comment:e,precedingNode:t,enclosingNode:n,text:r}){return!!(t&&t.type==="ImportSpecifier"&&n&&n.type==="ImportDeclaration"&&AF(r,Nt(e)))&&(Xe(t,e),!0)}d(WF,"qm");function GF({comment:e,enclosingNode:t}){return!(!t||t.type!=="AssignmentPattern")&&(Ie(t,e),!0)}d(GF,"Wm");function HF({comment:e,enclosingNode:t}){return!(!t||t.type!=="TypeAlias")&&(Ie(t,e),!0)}d(HF,"Um");function zF({comment:e,enclosingNode:t,followingNode:n}){return!(!t||t.type!=="VariableDeclarator"&&t.type!=="AssignmentExpression"||!n||n.type!=="ObjectExpression"&&n.type!=="ArrayExpression"&&n.type!=="TemplateLiteral"&&n.type!=="TaggedTemplateExpression"&&!WD(e))&&(Ie(n,e),!0)}d(zF,"zm");function XF({comment:e,enclosingNode:t,followingNode:n,text:r}){return!(n||!t||t.type!=="TSMethodSignature"&&t.type!=="TSDeclareFunction"&&t.type!=="TSAbstractMethodDefinition"||Er(r,e,Nt)!==";")&&(Xe(t,e),!0)}d(XF,"Hm");function em({comment:e,enclosingNode:t,followingNode:n}){if(mp(e)&&t&&t.type==="TSMappedType"&&n&&n.type==="TSTypeParameter"&&n.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}d(em,"Gm");function JF({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return!(!n||n.type!=="TSMappedType")&&(r&&r.type==="TSTypeParameter"&&r.name?(Ie(r.name,e),!0):!(!t||t.type!=="TSTypeParameter"||!t.constraint)&&(Xe(t.constraint,e),!0))}d(JF,"Jm");function tm(e){return e.type==="ArrowFunctionExpression"||e.type==="FunctionExpression"||e.type==="FunctionDeclaration"||e.type==="ObjectMethod"||e.type==="ClassMethod"||e.type==="TSDeclareFunction"||e.type==="TSCallSignatureDeclaration"||e.type==="TSConstructSignatureDeclaration"||e.type==="TSMethodSignature"||e.type==="TSConstructorType"||e.type==="TSFunctionType"||e.type==="TSDeclareMethod"}d(tm,"Xm");function nm(e){return WD(e)&&e.value[0]==="*"&&/@type\b/.test(e.value)}d(nm,"Ym");var Lu={handleOwnLineComment:function(e){return[em,KD,PF,yp,Ep,XD,JD,QD,UF,$F,bp,WF,GF,YD,ZD].some(t=>t(e))},handleEndOfLineComment:function(e){return[_F,KD,OF,QD,yp,Ep,XD,JD,ZD,qF,VF,bp,HF,zF].some(t=>t(e))},handleRemainingComment:function(e){return[em,yp,Ep,IF,RF,YD,bp,jF,LF,JF,MF,XF].some(t=>t(e))},isTypeCastComment:nm,getCommentChildNodes:function(e,t){if((t.parser==="typescript"||t.parser==="flow"||t.parser==="espree"||t.parser==="meriyah")&&e.type==="MethodDefinition"&&e.value&&e.value.type==="FunctionExpression"&&hs(e.value).length===0&&!e.value.returnType&&!UD(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]},willPrintOwnComments:function(e){let t=e.getValue(),n=e.getParentNode();return(t&&(xF(t)||TF(t)||HD(n)&&(GD(t.leadingComments)||GD(t.trailingComments)))||n&&(n.type==="JSXSpreadAttribute"||n.type==="JSXSpreadChild"||n.type==="UnionTypeAnnotation"||n.type==="TSUnionType"||(n.type==="ClassDeclaration"||n.type==="ClassExpression")&&n.superClass===t))&&(!wF(e)||n.type==="UnionTypeAnnotation"||n.type==="TSUnionType")}};let{getFunctionParameters:YF,getLeftSidePathName:KF,hasFlowShorthandAnnotationComment:QF,hasNakedLeftSide:ZF,hasNode:rm,isBitwiseOperator:e5,startsWithNoLookaheadToken:um,shouldFlatten:t5,getPrecedence:im,isCallExpression:am,isMemberExpression:n5}=de;function Cp(e,t){let n=e.getParentNode();if(!n)return!1;let r=e.getName(),u=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&function(i){switch(i.type){case"ObjectExpression":return!0;default:return!1}}(u)&&Da(e))return!0;if(function(i){return i.type==="BlockStatement"||i.type==="BreakStatement"||i.type==="ClassBody"||i.type==="ClassDeclaration"||i.type==="ClassMethod"||i.type==="ClassProperty"||i.type==="PropertyDefinition"||i.type==="ClassPrivateProperty"||i.type==="ContinueStatement"||i.type==="DebuggerStatement"||i.type==="DeclareClass"||i.type==="DeclareExportAllDeclaration"||i.type==="DeclareExportDeclaration"||i.type==="DeclareFunction"||i.type==="DeclareInterface"||i.type==="DeclareModule"||i.type==="DeclareModuleExports"||i.type==="DeclareVariable"||i.type==="DoWhileStatement"||i.type==="EnumDeclaration"||i.type==="ExportAllDeclaration"||i.type==="ExportDefaultDeclaration"||i.type==="ExportNamedDeclaration"||i.type==="ExpressionStatement"||i.type==="ForInStatement"||i.type==="ForOfStatement"||i.type==="ForStatement"||i.type==="FunctionDeclaration"||i.type==="IfStatement"||i.type==="ImportDeclaration"||i.type==="InterfaceDeclaration"||i.type==="LabeledStatement"||i.type==="MethodDefinition"||i.type==="ReturnStatement"||i.type==="SwitchStatement"||i.type==="ThrowStatement"||i.type==="TryStatement"||i.type==="TSDeclareFunction"||i.type==="TSEnumDeclaration"||i.type==="TSImportEqualsDeclaration"||i.type==="TSInterfaceDeclaration"||i.type==="TSModuleDeclaration"||i.type==="TSNamespaceExportDeclaration"||i.type==="TypeAlias"||i.type==="VariableDeclaration"||i.type==="WhileStatement"||i.type==="WithStatement"}(u))return!1;if(t.parser!=="flow"&&QF(e.getValue()))return!0;if(u.type==="Identifier")return!!(u.extra&&u.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.name))||r==="left"&&u.name==="async"&&n.type==="ForOfStatement"&&!n.await;switch(n.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(r==="superClass"&&(u.type==="ArrowFunctionExpression"||u.type==="AssignmentExpression"||u.type==="AwaitExpression"||u.type==="BinaryExpression"||u.type==="ConditionalExpression"||u.type==="LogicalExpression"||u.type==="NewExpression"||u.type==="ObjectExpression"||u.type==="ParenthesizedExpression"||u.type==="SequenceExpression"||u.type==="TaggedTemplateExpression"||u.type==="UnaryExpression"||u.type==="UpdateExpression"||u.type==="YieldExpression"||u.type==="TSNonNullExpression"))return!0;break;case"ExportDefaultDeclaration":return om(e,t)||u.type==="SequenceExpression";case"Decorator":if(r==="expression"){let i=!1,o=!1,a=u;for(;a;)switch(a.type){case"MemberExpression":o=!0,a=a.object;break;case"CallExpression":if(o||i)return!0;i=!0,a=a.callee;break;case"Identifier":return!1;default:return!0}return!0}break;case"ExpressionStatement":if(um(u,!0))return!0;break;case"ArrowFunctionExpression":if(r==="body"&&u.type!=="SequenceExpression"&&um(u,!1))return!0}switch(u.type){case"UpdateExpression":if(n.type==="UnaryExpression")return u.prefix&&(u.operator==="++"&&n.operator==="+"||u.operator==="--"&&n.operator==="-");case"UnaryExpression":switch(n.type){case"UnaryExpression":return u.operator===n.operator&&(u.operator==="+"||u.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return r==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return r==="callee";case"BinaryExpression":return r==="left"&&n.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(n.type==="UpdateExpression"||n.type==="PipelineTopicExpression"&&u.operator==="|>"||u.operator==="in"&&function(i){let o=0,a=i.getValue();for(;a;){let s=i.getParentNode(o++);if(s&&s.type==="ForStatement"&&s.init===a)return!0;a=s}return!1}(e))return!0;if(u.operator==="|>"&&u.extra&&u.extra.parenthesized){let i=e.getParentNode(1);if(i.type==="BinaryExpression"&&i.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(n.type){case"TSAsExpression":return u.type!=="TSAsExpression";case"ConditionalExpression":return u.type==="TSAsExpression";case"CallExpression":case"NewExpression":case"OptionalCallExpression":return r==="callee";case"ClassExpression":case"ClassDeclaration":return r==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return r==="object";case"AssignmentExpression":case"AssignmentPattern":return r==="left"&&(u.type==="TSTypeAssertion"||u.type==="TSAsExpression");case"LogicalExpression":if(u.type==="LogicalExpression")return n.operator!==u.operator;case"BinaryExpression":{let{operator:i,type:o}=u;if(!i&&o!=="TSTypeAssertion")return!0;let a=im(i),s=n.operator,c=im(s);return c>a||r==="right"&&c===a||c===a&&!t5(s,i)||(c<a&&i==="%"?s==="+"||s==="-":!!e5(s))}default:return!1}case"SequenceExpression":switch(n.type){case"ReturnStatement":case"ForStatement":return!1;case"ExpressionStatement":return r!=="expression";case"ArrowFunctionExpression":return r!=="body";default:return!0}case"YieldExpression":if(n.type==="UnaryExpression"||n.type==="AwaitExpression"||n.type==="TSAsExpression"||n.type==="TSNonNullExpression"||r==="expression"&&u.argument&&u.argument.type==="PipelinePrimaryTopicReference"&&n.type==="PipelineTopicExpression")return!0;case"AwaitExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return r==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return r==="callee";case"ConditionalExpression":return r==="test";case"BinaryExpression":return!(!u.argument&&n.operator==="|>");default:return!1}case"TSJSDocFunctionType":case"TSConditionalType":if(r==="extendsType"&&n.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(r==="checkType"&&n.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((n.type==="TSUnionType"||n.type==="TSIntersectionType")&&n.types.length>1&&(!u.types||u.types.length>1))return!0;case"TSInferType":if(u.type==="TSInferType"&&n.type==="TSRestType")return!1;case"TSTypeOperator":return n.type==="TSArrayType"||n.type==="TSOptionalType"||n.type==="TSRestType"||r==="objectType"&&n.type==="TSIndexedAccessType"||n.type==="TSTypeOperator"||n.type==="TSTypeAnnotation"&&/^TSJSDoc/.test(e.getParentNode(1).type);case"ArrayTypeAnnotation":return n.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return n.type==="ArrayTypeAnnotation"||n.type==="NullableTypeAnnotation"||n.type==="IntersectionTypeAnnotation"||n.type==="UnionTypeAnnotation";case"NullableTypeAnnotation":return n.type==="ArrayTypeAnnotation";case"FunctionTypeAnnotation":{let i=n.type==="NullableTypeAnnotation"?e.getParentNode(1):n;return i.type==="UnionTypeAnnotation"||i.type==="IntersectionTypeAnnotation"||i.type==="ArrayTypeAnnotation"||i.type==="NullableTypeAnnotation"||n.type==="FunctionTypeParam"&&n.name===null&&YF(u).some(o=>o.typeAnnotation&&o.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return r==="objectType"&&n.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof u.value=="string"&&n.type==="ExpressionStatement"&&!n.directive){let i=e.getParentNode(1);return i.type==="Program"||i.type==="BlockStatement"}return r==="object"&&n.type==="MemberExpression"&&typeof u.value=="number";case"AssignmentExpression":{let i=e.getParentNode(1);return r==="body"&&n.type==="ArrowFunctionExpression"||(r!=="key"||n.type!=="ClassProperty"&&n.type!=="PropertyDefinition"||!n.computed)&&(r!=="init"&&r!=="update"||n.type!=="ForStatement")&&(n.type==="ExpressionStatement"?u.left.type==="ObjectPattern":(r!=="key"||n.type!=="TSPropertySignature")&&n.type!=="AssignmentExpression"&&(n.type!=="SequenceExpression"||!i||i.type!=="ForStatement"||i.init!==n&&i.update!==n)&&(r!=="value"||n.type!=="Property"||!i||i.type!=="ObjectPattern"||!i.properties.includes(n))&&n.type!=="NGChainedExpression")}case"ConditionalExpression":switch(n.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return r==="callee";case"ConditionalExpression":return r==="test";case"MemberExpression":case"OptionalMemberExpression":return r==="object";default:return!1}case"FunctionExpression":switch(n.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return r==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(n.type){case"PipelineTopicExpression":return Boolean(u.extra&&u.extra.parenthesized);case"BinaryExpression":return n.operator!=="|>"||u.extra&&u.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return r==="callee";case"MemberExpression":case"OptionalMemberExpression":return r==="object";case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return r==="test";default:return!1}case"ClassExpression":switch(n.type){case"NewExpression":return r==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let i=e.getParentNode(1);if(r==="object"&&n.type==="MemberExpression"||r==="callee"&&(n.type==="CallExpression"||n.type==="NewExpression")||n.type==="TSNonNullExpression"&&i.type==="MemberExpression"&&i.object===n)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(r==="callee"&&(n.type==="BindExpression"||n.type==="NewExpression")){let i=u;for(;i;)switch(i.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":i=i.object;break;case"TaggedTemplateExpression":i=i.tag;break;case"TSNonNullExpression":i=i.expression;break;default:return!1}}return!1;case"BindExpression":return r==="callee"&&(n.type==="BindExpression"||n.type==="NewExpression")||r==="object"&&n5(n);case"NGPipeExpression":return!(n.type==="NGRoot"||n.type==="NGMicrosyntaxExpression"||n.type==="ObjectProperty"&&(!u.extra||!u.extra.parenthesized)||n.type==="ArrayExpression"||am(n)&&n.arguments[r]===u||r==="right"&&n.type==="NGPipeExpression"||r==="property"&&n.type==="MemberExpression"||n.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return r==="callee"||r==="left"&&n.type==="BinaryExpression"&&n.operator==="<"||n.type!=="ArrayExpression"&&n.type!=="ArrowFunctionExpression"&&n.type!=="AssignmentExpression"&&n.type!=="AssignmentPattern"&&n.type!=="BinaryExpression"&&n.type!=="NewExpression"&&n.type!=="ConditionalExpression"&&n.type!=="ExpressionStatement"&&n.type!=="JsExpressionRoot"&&n.type!=="JSXAttribute"&&n.type!=="JSXElement"&&n.type!=="JSXExpressionContainer"&&n.type!=="JSXFragment"&&n.type!=="LogicalExpression"&&n.type!=="ObjectProperty"&&!am(n)&&n.type!=="Property"&&n.type!=="ReturnStatement"&&n.type!=="ThrowStatement"&&n.type!=="TypeCastExpression"&&n.type!=="VariableDeclarator"&&n.type!=="YieldExpression";case"TypeAnnotation":return r==="returnType"&&n.type==="ArrowFunctionExpression"&&function(i){return rm(i,o=>o.type==="ObjectTypeAnnotation"&&rm(o,a=>a.type==="FunctionTypeAnnotation"||void 0)||void 0)}(u)}return!1}d(Cp,"cg");function Da(e){let t=e.getValue(),n=e.getParentNode(),r=e.getName();switch(n.type){case"NGPipeExpression":if(typeof r=="number"&&n.arguments[r]===t&&n.arguments.length-1===r)return e.callParent(Da);break;case"ObjectProperty":if(r==="value"){let u=e.getParentNode(1);return be(u.properties)===n}break;case"BinaryExpression":case"LogicalExpression":if(r==="right")return e.callParent(Da);break;case"ConditionalExpression":if(r==="alternate")return e.callParent(Da);break;case"UnaryExpression":if(n.prefix)return e.callParent(Da)}return!1}d(Da,"lg");function om(e,t){let n=e.getValue(),r=e.getParentNode();return n.type==="FunctionExpression"||n.type==="ClassExpression"?r.type==="ExportDefaultDeclaration"||!Cp(e,t):!(!ZF(n)||r.type!=="ExportDefaultDeclaration"&&Cp(e,t))&&e.call(u=>om(u,t),...KF(e,n))}d(om,"pg");var ju=Cp,sm=d(function(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":return Object.assign({},e,{type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker});default:return e}},"dg");let{builders:{join:cm,line:lm,group:r5,softline:pm,indent:u5}}=Q;var i5={isVueEventBindingExpression:d(function e(t){switch(t.type){case"MemberExpression":switch(t.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return e(t.object)}return!1;case"Identifier":return!0;default:return!1}},"e"),printHtmlBinding:function(e,t,n){let r=e.getValue();if(t.__onHtmlBindingRoot&&e.getName()===null&&t.__onHtmlBindingRoot(r,t),r.type==="File")return t.__isVueForBindingLeft?e.call(u=>{let i=cm([",",lm],u.map(n,"params")),{params:o}=u.getValue();return o.length===1?i:["(",u5([pm,r5(i)]),pm,")"]},"program","body",0):t.__isVueBindings?e.call(u=>cm([",",lm],u.map(n,"params")),"program","body",0):void 0}};let{printComments:a5}=ve,{getLast:o5}=ue,{builders:{join:s5,line:dm,softline:Ds,group:bn,indent:vp,align:c5,ifBreak:l5,indentIfBreak:p5},utils:{cleanDoc:d5,getDocParts:f5,isConcat:h5}}=Q,{hasLeadingOwnLineComment:D5,isBinaryish:fm,isJsxNode:hm,shouldFlatten:Dm,hasComment:mm,CommentCheckFlags:gm,isCallExpression:ym,isMemberExpression:m5}=de,g5=0;function Em(e,t,n,r,u){let i=[],o=e.getValue();if(fm(o)){Dm(o.operator,o.left.operator)?i=[...i,...e.call(E=>Em(E,t,n,!0,u),"left")]:i.push(bn(t("left")));let a=ms(o),s=(o.operator==="|>"||o.type==="NGPipeExpression"||o.operator==="|"&&n.parser==="__vue_expression")&&!D5(n.originalText,o.right),c=o.type==="NGPipeExpression"?"|":o.operator,l=o.type==="NGPipeExpression"&&o.arguments.length>0?bn(vp([Ds,": ",s5([Ds,":",l5(" ")],e.map(t,"arguments").map(E=>c5(2,bn(E))))])):"",p=a?[c," ",t("right"),l]:[s?dm:"",c,s?" ":dm,t("right"),l],h=e.getParentNode(),f=mm(o.left,gm.Trailing|gm.Line),g=f||!(u&&o.type==="LogicalExpression")&&h.type!==o.type&&o.left.type!==o.type&&o.right.type!==o.type;if(i.push(s?"":" ",g?bn(p,{shouldBreak:f}):p),r&&mm(o)){let E=d5(a5(e,i,n));i=h5(E)||E.type==="fill"?f5(E):[E]}}else i.push(bn(t()));return i}d(Em,"qg");function ms(e){return e.type==="LogicalExpression"&&(e.right.type==="ObjectExpression"&&e.right.properties.length>0||e.right.type==="ArrayExpression"&&e.right.elements.length>0||!!hm(e.right))}d(ms,"Wg");var Ap={printBinaryishExpression:function(e,t,n){let r=e.getValue(),u=e.getParentNode(),i=e.getParentNode(1),o=r!==u.body&&(u.type==="IfStatement"||u.type==="WhileStatement"||u.type==="SwitchStatement"||u.type==="DoWhileStatement"),a=Em(e,n,t,!1,o);if(o)return a;if(ym(u)&&u.callee===r||u.type==="UnaryExpression"||m5(u)&&!u.computed)return bn([vp([Ds,...a]),Ds]);let s=u.type==="ReturnStatement"||u.type==="ThrowStatement"||u.type==="JSXExpressionContainer"&&i.type==="JSXAttribute"||r.operator!=="|"&&u.type==="JsExpressionRoot"||r.type!=="NGPipeExpression"&&(u.type==="NGRoot"&&t.parser==="__ng_binding"||u.type==="NGMicrosyntaxExpression"&&i.type==="NGMicrosyntax"&&i.body.length===1)||r===u.body&&u.type==="ArrowFunctionExpression"||r!==u.body&&u.type==="ForStatement"||u.type==="ConditionalExpression"&&i.type!=="ReturnStatement"&&i.type!=="ThrowStatement"&&!ym(i)||u.type==="TemplateLiteral",c=u.type==="AssignmentExpression"||u.type==="VariableDeclarator"||u.type==="ClassProperty"||u.type==="PropertyDefinition"||u.type==="TSAbstractClassProperty"||u.type==="ClassPrivateProperty"||u.type==="ObjectProperty"||u.type==="Property",l=fm(r.left)&&Dm(r.operator,r.left.operator);if(s||ms(r)&&!l||!ms(r)&&c)return bn(a);if(a.length===0)return"";let p=hm(r.right),h=a.findIndex(v=>typeof v!="string"&&!Array.isArray(v)&&v.type==="group"),f=a.slice(0,h===-1?1:h+1),g=a.slice(f.length,p?-1:void 0),E=Symbol("logicalChain-"+ ++g5),C=bn([...f,vp(g)],{id:E});if(!p)return C;let A=o5(a);return bn([C,p5(A,{groupId:E})])},shouldInlineLogicalExpression:ms};let{builders:{join:y5,line:bm,group:E5}}=Q,{hasNode:b5,hasComment:C5,getComments:v5}=de,{printBinaryishExpression:A5}=Ap;function Cm(e,t,n){return e.type==="NGMicrosyntaxKeyedExpression"&&e.key.name==="of"&&t===1&&n.body[0].type==="NGMicrosyntaxLet"&&n.body[0].value===null}d(Cm,"Qg");var F5={printAngular:function(e,t,n){let r=e.getValue();switch(r.type){case"NGRoot":return[n("node"),C5(r.node)?" //"+v5(r.node)[0].value.trimEnd():""];case"NGPipeExpression":return A5(e,t,n);case"NGChainedExpression":return E5(y5([";",bm],e.map(u=>function(i){return b5(i.getValue(),o=>{switch(o.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}(u)?n():["(",n(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[r.prefix,": ",r.value.trim()];case"NGMicrosyntax":return e.map((u,i)=>[i===0?"":Cm(u.getValue(),i,r)?" ":[";",bm],n()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(-[$_a-z][\w$])*$/i.test(r.name)?r.name:JSON.stringify(r.name);case"NGMicrosyntaxExpression":return[n("expression"),r.alias===null?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":{let u=e.getName(),i=e.getParentNode(),o=Cm(r,u,i)||(u===1&&(r.key.name==="then"||r.key.name==="else")||u===2&&r.key.name==="else"&&i.body[u-1].type==="NGMicrosyntaxKeyedExpression"&&i.body[u-1].key.name==="then")&&i.body[0].type==="NGMicrosyntaxExpression";return[n("key"),o?" ":": ",n("expression")]}case"NGMicrosyntaxLet":return["let ",n("key"),r.value===null?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")]}}};let{printComments:vm,printDanglingComments:Am}=ve,{builders:{line:gs,hardline:Fe,softline:Je,group:br,indent:Cr,conditionalGroup:S5,fill:x5,ifBreak:Fp,lineSuffixBoundary:Fm,join:Sm},utils:{willBreak:xm}}=Q,{getLast:ma,getPreferredQuote:T5}=ue,{isJsxNode:ys,rawText:ga,isLiteral:Es,isCallExpression:Tm,isStringLiteral:Sp,isBinaryish:w5,hasComment:Bt,CommentCheckFlags:vr,hasNodeIgnoreComment:N5}=de,{willPrintOwnComments:B5}=Lu,xp=d(e=>e===""||e===gs||e===Fe||e===Je,"xy");function k5(e,t,n){let r=e.getValue();if(r.type==="JSXElement"&&function(v){if(v.children.length===0)return!0;if(v.children.length>1)return!1;let S=v.children[0];return Es(S)&&!ya(S)}(r))return[n("openingElement"),n("closingElement")];let u=r.type==="JSXElement"?n("openingElement"):n("openingFragment"),i=r.type==="JSXElement"?n("closingElement"):n("closingFragment");if(r.children.length===1&&r.children[0].type==="JSXExpressionContainer"&&(r.children[0].expression.type==="TemplateLiteral"||r.children[0].expression.type==="TaggedTemplateExpression"))return[u,...e.map(n,"children"),i];r.children=r.children.map(v=>function(S){return S.type==="JSXExpressionContainer"&&Es(S.expression)&&S.expression.value===" "&&!Bt(S.expression)}(v)?{type:"JSXText",value:" ",raw:" "}:v);let o=r.children.filter(ys).length>0,a=r.children.filter(v=>v.type==="JSXExpressionContainer").length>1,s=r.type==="JSXElement"&&r.openingElement.attributes.length>1,c=xm(u)||o||s||a,l=e.getParentNode().rootMarker==="mdx",p=t.singleQuote?"{' '}":'{" "}',h=l?" ":Fp([p,Je]," "),f=function(v,S,_,w,B){let O=[];return v.each((H,X,$)=>{let U=H.getValue();if(Es(U)){let K=ga(U);if(ya(U)){let re=K.split(bs);if(re[0]===""){if(O.push(""),re.shift(),/\n/.test(re[0])){let he=$[X+1];O.push(Nm(B,re[1],U,he))}else O.push(w);re.shift()}let ie;if(ma(re)===""&&(re.pop(),ie=re.pop()),re.length===0)return;for(let[he,je]of re.entries())he%2==1?O.push(gs):O.push(je);if(ie!==void 0)if(/\n/.test(ie)){let he=$[X+1];O.push(Nm(B,ma(O),U,he))}else O.push(w);else{let he=$[X+1];O.push(wm(B,ma(O),U,he))}}else/\n/.test(K)?K.match(/\n/g).length>1&&O.push("",Fe):O.push("",w)}else{let K=_();O.push(K);let re=$[X+1];if(re&&ya(re)){let ie=O5(ga(re)).split(bs)[0];O.push(wm(B,ie,U,re))}else O.push(Fe)}},"children"),O}(e,0,n,h,r.openingElement&&r.openingElement.name&&r.openingElement.name.name==="fbt"),g=r.children.some(v=>ya(v));for(let v=f.length-2;v>=0;v--){let S=f[v]===""&&f[v+1]==="",_=f[v]===Fe&&f[v+1]===""&&f[v+2]===Fe,w=(f[v]===Je||f[v]===Fe)&&f[v+1]===""&&f[v+2]===h,B=f[v]===h&&f[v+1]===""&&(f[v+2]===Je||f[v+2]===Fe),O=f[v]===h&&f[v+1]===""&&f[v+2]===h,H=f[v]===Je&&f[v+1]===""&&f[v+2]===Fe||f[v]===Fe&&f[v+1]===""&&f[v+2]===Je;_&&g||S||w||O||H?f.splice(v,2):B&&f.splice(v+1,2)}for(;f.length>0&&xp(ma(f));)f.pop();for(;f.length>1&&xp(f[0])&&xp(f[1]);)f.shift(),f.shift();let E=[];for(let[v,S]of f.entries()){if(S===h){if(v===1&&f[v-1]===""){if(f.length===2){E.push(p);continue}E.push([p,Fe]);continue}if(v===f.length-1){E.push(p);continue}if(f[v-1]===""&&f[v-2]===Fe){E.push(p);continue}}E.push(S),xm(S)&&(c=!0)}let C=g?x5(E):br(E,{shouldBreak:!0});if(l)return C;let A=br([u,Cr([Fe,C]),Fe,i]);return c?A:S5([br([u,...f,i]),A])}d(k5,"Sy");function wm(e,t,n,r){return e?"":n.type==="JSXElement"&&!n.closingElement||r&&r.type==="JSXElement"&&!r.closingElement?t.length===1?Je:Fe:Je}d(wm,"wy");function Nm(e,t,n,r){return e?Fe:t.length===1?n.type==="JSXElement"&&!n.closingElement||r&&r.type==="JSXElement"&&!r.closingElement?Fe:Je:Fe}d(Nm,"Ty");function _5(e,t,n){return function(r,u,i){let o=r.getParentNode();if(!o||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[o.type])return u;let a=r.match(void 0,c=>c.type==="ArrowFunctionExpression",Tm,c=>c.type==="JSXExpressionContainer"),s=ju(r,i);return br([s?"":Fp("("),Cr([Je,u]),Je,s?"":Fp(")")],{shouldBreak:a})}(e,vm(e,k5(e,t,n),t),t)}d(_5,"By");function Bm(e,t,n){let r=e.getValue();return["{",e.call(u=>{let i=["...",n()],o=u.getValue();return Bt(o)&&B5(u)?[Cr([Je,vm(u,i,t)]),Je]:i},r.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}d(Bm,"ky");let bs=new RegExp(`([
|
|
131
|
+
\r ]+)`),P5=new RegExp(`[^
|
|
132
|
+
\r ]`),O5=d(e=>e.replace(new RegExp("(?:^"+bs.source+"|"+bs.source+"$)"),""),"Oy");function ya(e){return Es(e)&&(P5.test(ga(e))||!/\n/.test(ga(e)))}d(ya,"Iy");var I5={hasJsxIgnoreComment:function(e){let t=e.getValue(),n=e.getParentNode();if(!(n&&t&&ys(t)&&ys(n)))return!1;let r=null;for(let u=n.children.indexOf(t);u>0;u--){let i=n.children[u-1];if(i.type!=="JSXText"||ya(i)){r=i;break}}return r&&r.type==="JSXExpressionContainer"&&r.expression.type==="JSXEmptyExpression"&&N5(r.expression)},printJsx:function(e,t,n){let r=e.getValue();switch(r.type){case"JSXAttribute":return function(u,i,o){let a=u.getValue(),s=[];if(s.push(o("name")),a.value){let c;if(Sp(a.value)){let l=ga(a.value).replace(/'/g,"'").replace(/"/g,'"'),p=T5(l,i.jsxSingleQuote?"'":'"'),h=p==="'"?"'":""";l=l.slice(1,-1).replace(new RegExp(p,"g"),h),c=[p,l,p]}else c=o("value");s.push("=",c)}return s}(e,t,n);case"JSXIdentifier":return String(r.name);case"JSXNamespacedName":return Sm(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return Sm(".",[n("object"),n("property")]);case"JSXSpreadAttribute":return Bm(e,t,n);case"JSXSpreadChild":return Bm(e,t,n);case"JSXExpressionContainer":return function(u,i,o){let a=u.getValue(),s=u.getParentNode(0),c=a.expression.type==="JSXEmptyExpression"||!Bt(a.expression)&&(a.expression.type==="ArrayExpression"||a.expression.type==="ObjectExpression"||a.expression.type==="ArrowFunctionExpression"||Tm(a.expression)||a.expression.type==="FunctionExpression"||a.expression.type==="TemplateLiteral"||a.expression.type==="TaggedTemplateExpression"||a.expression.type==="DoExpression"||ys(s)&&(a.expression.type==="ConditionalExpression"||w5(a.expression)));return br(c?["{",o("expression"),Fm,"}"]:["{",Cr([Je,o("expression")]),Je,Fm,"}"])}(e,0,n);case"JSXFragment":case"JSXElement":return _5(e,t,n);case"JSXOpeningElement":return function(u,i,o){let a=u.getValue(),s=a.name&&Bt(a.name)||a.typeParameters&&Bt(a.typeParameters);if(a.selfClosing&&a.attributes.length===0&&!s)return["<",o("name"),o("typeParameters")," />"];if(a.attributes&&a.attributes.length===1&&a.attributes[0].value&&Sp(a.attributes[0].value)&&!a.attributes[0].value.value.includes(`
|
|
133
|
+
`)&&!s&&!Bt(a.attributes[0]))return br(["<",o("name"),o("typeParameters")," ",...u.map(o,"attributes"),a.selfClosing?" />":">"]);let c=a.attributes.length>0&&Bt(ma(a.attributes),vr.Trailing),l=a.attributes.length===0&&!s||i.jsxBracketSameLine&&(!s||a.attributes.length>0)&&!c,p=a.attributes&&a.attributes.some(h=>h.value&&Sp(h.value)&&h.value.value.includes(`
|
|
134
|
+
`));return br(["<",o("name"),o("typeParameters"),Cr(u.map(()=>[gs,o()],"attributes")),a.selfClosing?gs:l?">":Je,a.selfClosing?"/>":l?"":">"],{shouldBreak:p})}(e,t,n);case"JSXClosingElement":return function(u,i,o){let a=u.getValue(),s=[];s.push("</");let c=o("name");return Bt(a.name,vr.Leading|vr.Line)?s.push(Cr([Fe,c]),Fe):Bt(a.name,vr.Leading|vr.Block)?s.push(" ",c):s.push(c),s.push(">"),s}(e,0,n);case"JSXOpeningFragment":case"JSXClosingFragment":return function(u,i){let o=u.getValue(),a=Bt(o),s=Bt(o,vr.Line),c=o.type==="JSXOpeningFragment";return[c?"<":"</",Cr([s?Fe:a&&!c?" ":"",Am(u,i,!0)]),s?Fe:"",">"]}(e,t);case"JSXEmptyExpression":return function(u,i){let o=u.getValue(),a=Bt(o,vr.Line);return[Am(u,i,!a),a?Fe:""]}(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement")}}};let{isNonEmptyArray:L5}=ue,{builders:{indent:j5,join:R5,line:M5}}=Q,{isFlowAnnotationComment:q5}=de;var Wt={printOptionalToken:function(e){let t=e.getValue();return!t.optional||t.type==="Identifier"&&t===e.getParentNode().key?"":t.type==="OptionalCallExpression"||t.type==="OptionalMemberExpression"&&t.computed?"?.":"?"},printFunctionTypeParameters:function(e,t,n){let r=e.getValue();return r.typeArguments?n("typeArguments"):r.typeParameters?n("typeParameters"):""},printBindExpressionCallee:function(e,t,n){return["::",n("callee")]},printTypeScriptModifiers:function(e,t,n){let r=e.getValue();return L5(r.modifiers)?[R5(" ",e.map(n,"modifiers"))," "]:""},printTypeAnnotation:function(e,t,n){let r=e.getValue();if(!r.typeAnnotation)return"";let u=e.getParentNode(),i=r.definite||u&&u.type==="VariableDeclarator"&&u.definite,o=u.type==="DeclareFunction"&&u.id===r;return q5(t.originalText,r.typeAnnotation)?[" /*: ",n("typeAnnotation")," */"]:[o?"":i?"!: ":": ",n("typeAnnotation")]},adjustClause:function(e,t,n){return e.type==="EmptyStatement"?";":e.type==="BlockStatement"||n?[" ",t]:j5([M5,t])}};let{printDanglingComments:km}=ve,{builders:{line:_m,softline:Cs,hardline:Tp,group:wp,indent:$5,ifBreak:Pm,fill:V5}}=Q,{getLast:U5,hasNewline:W5}=ue,{shouldPrintComma:G5,hasComment:vs,CommentCheckFlags:Ea,isNextLineEmpty:Om,isNumericLiteral:H5,isSignedNumericLiteral:z5}=de,{locStart:X5}=et,{printOptionalToken:J5,printTypeAnnotation:Y5}=Wt;function Im(e,t){return e.elements.length>1&&e.elements.every(n=>n&&(H5(n)||z5(n)&&!vs(n.argument))&&!vs(n,Ea.Trailing|Ea.Line,r=>!W5(t.originalText,X5(r),{backwards:!0})))}d(Im,"sD");function Lm(e,t,n,r){let u=[],i=[];return e.each(o=>{u.push(i,wp(r())),i=[",",_m],o.getValue()&&Om(o.getValue(),t)&&i.push(Cs)},n),u}d(Lm,"aD");function K5(e,t,n,r){let u=[];return e.each((i,o,a)=>{let s=o===a.length-1;u.push([n(),s?r:","]),s||u.push(Om(i.getValue(),t)?[Tp,Tp]:vs(a[o+1],Ea.Leading|Ea.Line)?Tp:_m)},"elements"),V5(u)}d(K5,"cD");var As={printArray:function(e,t,n){let r=e.getValue(),u=[],i=r.type==="TupleExpression"?"#[":"[";if(r.elements.length===0)vs(r,Ea.Dangling)?u.push(wp([i,km(e,t),Cs,"]"])):u.push(i,"]");else{let o=U5(r.elements),a=!(o&&o.type==="RestElement"),s=o===null,c=Symbol("array"),l=!t.__inJestEach&&r.elements.length>1&&r.elements.every((f,g,E)=>{let C=f&&f.type;if(C!=="ArrayExpression"&&C!=="ObjectExpression")return!1;let A=E[g+1];if(A&&C!==A.type)return!1;let v=C==="ArrayExpression"?"elements":"properties";return f[v]&&f[v].length>1}),p=Im(r,t),h=a?s?",":G5(t)?p?Pm(",","",{groupId:c}):Pm(","):"":"";u.push(wp([i,$5([Cs,p?K5(e,t,n,h):[Lm(e,t,"elements",n),h],km(e,t,!0)]),Cs,"]"],{shouldBreak:l,id:c}))}return u.push(J5(e),Y5(e,t,n)),u},printArrayItems:Lm,isConciselyPrintedArray:Im};let{printDanglingComments:Q5}=ve,{getLast:jm,getPenultimate:Z5}=ue,{getFunctionParameters:eS,hasComment:Ar,CommentCheckFlags:Np,isFunctionCompositionArgs:tS,isJsxNode:nS,isLongCurriedCallExpression:rS,shouldPrintComma:uS,getCallArguments:iS,iterateCallArgumentsPath:Rm,isNextLineEmpty:aS,isCallExpression:oS}=de,{builders:{line:Fs,hardline:Ss,softline:Mm,group:xs,indent:qm,conditionalGroup:sS,ifBreak:cS,breakParent:lS},utils:{willBreak:Ts}}=Q,{ArgExpansionBailout:pS}=sr,{isConciselyPrintedArray:dS}=As;function ba(e,t=!1){return e.type==="ObjectExpression"&&(e.properties.length>0||Ar(e))||e.type==="ArrayExpression"&&(e.elements.length>0||Ar(e))||e.type==="TSTypeAssertion"&&ba(e.expression)||e.type==="TSAsExpression"&&ba(e.expression)||e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&(!e.returnType||!e.returnType.typeAnnotation||e.returnType.typeAnnotation.type!=="TSTypeReference"||(n=e.body).type==="BlockStatement"&&(n.body.some(r=>r.type!=="EmptyStatement")||Ar(n,Np.Dangling)))&&(e.body.type==="BlockStatement"||e.body.type==="ArrowFunctionExpression"&&ba(e.body,!0)||e.body.type==="ObjectExpression"||e.body.type==="ArrayExpression"||!t&&(oS(e.body)||e.body.type==="ConditionalExpression")||nS(e.body))||e.type==="DoExpression"||e.type==="ModuleExpression";var n}d(ba,"LD");var Bp=d(function(e,t,n){let r=e.getValue(),u=r.type==="ImportExpression",i=iS(r);if(i.length===0)return["(",Q5(e,t,!0),")"];if(function(E){return E.length===2&&E[0].type==="ArrowFunctionExpression"&&eS(E[0]).length===0&&E[0].body.type==="BlockStatement"&&E[1].type==="ArrayExpression"&&!E.some(C=>Ar(C))}(i))return["(",n(["arguments",0]),", ",n(["arguments",1]),")"];let o=!1,a=!1,s=i.length-1,c=[];Rm(e,(E,C)=>{let A=E.getNode(),v=[n()];C===s||(aS(A,t)?(C===0&&(a=!0),o=!0,v.push(",",Ss,Ss)):v.push(",",Fs)),c.push(v)});let l=u||r.callee&&r.callee.type==="Import"||!uS(t,"all")?"":",";function p(){return xs(["(",qm([Fs,...c]),l,Fs,")"],{shouldBreak:!0})}if(d(p,"p"),o||e.getParentNode().type!=="Decorator"&&tS(i))return p();let h=function(E){if(E.length!==2)return!1;let[C,A]=E;return C.type==="ModuleExpression"&&function(v){return v.type==="ObjectExpression"&&v.properties.length===1&&v.properties[0].type==="ObjectProperty"&&v.properties[0].key.type==="Identifier"&&v.properties[0].key.name==="type"&&v.properties[0].value.type==="StringLiteral"&&v.properties[0].value.value==="module"}(A)?!0:!Ar(C)&&(C.type==="FunctionExpression"||C.type==="ArrowFunctionExpression"&&C.body.type==="BlockStatement")&&A.type!=="FunctionExpression"&&A.type!=="ArrowFunctionExpression"&&A.type!=="ConditionalExpression"&&!ba(A)}(i),f=function(E,C){let A=jm(E),v=Z5(E);return!Ar(A,Np.Leading)&&!Ar(A,Np.Trailing)&&ba(A)&&(!v||v.type!==A.type)&&(E.length!==2||v.type!=="ArrowFunctionExpression"||A.type!=="ArrayExpression")&&!(E.length>1&&A.type==="ArrayExpression"&&dS(A,C))}(i,t);if(h||f){if(h?c.slice(1).some(Ts):c.slice(0,-1).some(Ts))return p();let E=[];try{e.try(()=>{Rm(e,(C,A)=>{h&&A===0&&(E=[[n([],{expandFirstArg:!0}),c.length>1?",":"",a?Ss:Fs,a?Ss:""],...c.slice(1)]),f&&A===s&&(E=[...c.slice(0,-1),n([],{expandLastArg:!0})])})})}catch(C){if(C instanceof pS)return p();throw C}return[c.some(Ts)?lS:"",sS([["(",...E,")"],h?["(",xs(E[0],{shouldBreak:!0}),...E.slice(1),")"]:["(",...c.slice(0,-1),xs(jm(E),{shouldBreak:!0}),")"],p()])]}let g=["(",qm([Mm,...c]),cS(l),Mm,")"];return rS(e)?g:xs(g,{shouldBreak:c.some(Ts)||o})},"_D");let{builders:{softline:kp,group:$m,indent:Vm,label:fS}}=Q,{isNumericLiteral:hS,isMemberExpression:Um,isCallExpression:Wm}=de,{printOptionalToken:DS}=Wt;function Gm(e,t,n){let r=n("property"),u=e.getValue(),i=DS(e);return u.computed?!u.property||hS(u.property)?[i,"[",r,"]"]:$m([i,"[",Vm([kp,r]),kp,"]"]):[i,".",r]}d(Gm,"HD");var Hm={printMemberExpression:function(e,t,n){let r=e.getValue(),u=e.getParentNode(),i,o=0;do i=e.getParentNode(o),o++;while(i&&(Um(i)||i.type==="TSNonNullExpression"));let a=n("object"),s=Gm(e,t,n),c=i&&(i.type==="NewExpression"||i.type==="BindExpression"||i.type==="AssignmentExpression"&&i.left.type!=="Identifier")||r.computed||r.object.type==="Identifier"&&r.property.type==="Identifier"&&!Um(u)||(u.type==="AssignmentExpression"||u.type==="VariableDeclarator")&&(Wm(r.object)&&r.object.arguments.length>0||r.object.type==="TSNonNullExpression"&&Wm(r.object.expression)&&r.object.expression.arguments.length>0||a.label==="member-chain");return fS(a.label==="member-chain"?"member-chain":"member",[a,c?s:$m(Vm([kp,s]))])},printMemberLookup:Gm};let{printComments:_p}=ve,{getLast:Ru,isNextLineEmptyAfterIndex:mS,getNextNonSpaceNonCommentCharacterIndex:gS}=ue,{isCallExpression:$n,isMemberExpression:Pp,isFunctionOrArrowExpression:yS,isLongCurriedCallExpression:ES,isMemberish:Ca,isNumericLiteral:zm,isSimpleCallArgument:bS,hasComment:va,CommentCheckFlags:ws,isNextLineEmpty:CS}=de,{locEnd:vS}=et,{builders:{join:AS,hardline:Ns,group:Op,indent:FS,conditionalGroup:SS,breakParent:xS,label:TS},utils:{willBreak:Ip}}=Q,{printMemberLookup:wS}=Hm,{printOptionalToken:Xm,printFunctionTypeParameters:Jm,printBindExpressionCallee:NS}=Wt;var BS=d(function(e,t,n){let r=e.getParentNode(),u=!r||r.type==="ExpressionStatement",i=[];function o($){let{originalText:U}=t,K=gS(U,$,vS);return U.charAt(K)===")"?K!==!1&&mS(U,K+1):CS($,t)}d(o,"u");function a($){let U=$.getValue();$n(U)&&(Ca(U.callee)||$n(U.callee))?(i.unshift({node:U,printed:[_p($,[Xm($),Jm($,t,n),Bp($,t,n)],t),o(U)?Ns:""]}),$.call(K=>a(K),"callee")):Ca(U)?(i.unshift({node:U,needsParens:ju($,t),printed:_p($,Pp(U)?wS($,t,n):NS($,t,n),t)}),$.call(K=>a(K),"object")):U.type==="TSNonNullExpression"?(i.unshift({node:U,printed:_p($,"!",t)}),$.call(K=>a(K),"expression")):i.unshift({node:U,printed:n()})}d(a,"s");let s=e.getValue();i.unshift({node:s,printed:[Xm(e),Jm(e,t,n),Bp(e,t,n)]}),s.callee&&e.call($=>a($),"callee");let c=[],l=[i[0]],p=1;for(;p<i.length&&(i[p].node.type==="TSNonNullExpression"||$n(i[p].node)||Pp(i[p].node)&&i[p].node.computed&&zm(i[p].node.property));++p)l.push(i[p]);if(!$n(i[0].node))for(;p+1<i.length&&Ca(i[p].node)&&Ca(i[p+1].node);++p)l.push(i[p]);c.push(l),l=[];let h=!1;for(;p<i.length;++p){if(h&&Ca(i[p].node)){if(i[p].node.computed&&zm(i[p].node.property)){l.push(i[p]);continue}c.push(l),l=[],h=!1}($n(i[p].node)||i[p].node.type==="ImportExpression")&&(h=!0),l.push(i[p]),va(i[p].node,ws.Trailing)&&(c.push(l),l=[],h=!1)}function f($){return/^[A-Z]|^[$_]+$/.test($)}d(f,"d"),l.length>0&&c.push(l);let g=c.length>=2&&!va(c[1][0].node)&&function($){let U=$[1].length>0&&$[1][0].node.computed;if($[0].length===1){let re=$[0][0].node;return re.type==="ThisExpression"||re.type==="Identifier"&&(f(re.name)||u&&function(ie){return ie.length<=t.tabWidth}(re.name)||U)}let K=Ru($[0]).node;return Pp(K)&&K.property.type==="Identifier"&&(f(K.property.name)||U)}(c);function E($){let U=$.map(K=>K.printed);return $.length>0&&Ru($).needsParens?["(",...U,")"]:U}d(E,"m");let C=c.map(E),A=C,v=g?3:2,S=yl(c),_=S.slice(1,-1).some($=>va($.node,ws.Leading))||S.slice(0,-1).some($=>va($.node,ws.Trailing))||c[v]&&va(c[v][0].node,ws.Leading);if(c.length<=v&&!_)return ES(e)?A:Op(A);let w=Ru(c[g?1:0]).node,B=!$n(w)&&o(w),O=[E(c[0]),g?c.slice(1,2).map(E):"",B?Ns:"",function($){return $.length===0?"":FS(Op([Ns,AS(Ns,$.map(E))]))}(c.slice(g?2:1))],H=i.map(({node:$})=>$).filter($n),X;return X=_||H.length>2&&H.some($=>!$.arguments.every(U=>bS(U,0)))||C.slice(0,-1).some(Ip)||function(){let $=Ru(Ru(c)).node,U=Ru(C);return $n($)&&Ip(U)&&H.slice(0,-1).some(K=>K.arguments.some(yS))}()?Op(O):[Ip(A)||B?xS:"",SS([A,O])],TS("member-chain",X)},"CE");let{builders:{join:kS,group:_S}}=Q,{getCallArguments:Ym,hasFlowAnnotationComment:PS,isCallExpression:OS,isMemberish:IS,isStringLiteral:LS,isTemplateOnItsOwnLine:jS,isTestCall:RS,iterateCallArgumentsPath:MS}=de,{printOptionalToken:qS,printFunctionTypeParameters:Km}=Wt;var Qm={printCallExpression:function(e,t,n){let r=e.getValue(),u=e.getParentNode(),i=r.type==="NewExpression",o=r.type==="ImportExpression",a=qS(e),s=Ym(r);if(s.length>0&&(!o&&!i&&function(p,h){if(p.callee.type!=="Identifier")return!1;if(p.callee.name==="require")return!0;if(p.callee.name==="define"){let f=Ym(p);return h.type==="ExpressionStatement"&&(f.length===1||f.length===2&&f[0].type==="ArrayExpression"||f.length===3&&LS(f[0])&&f[1].type==="ArrayExpression")}return!1}(r,u)||s.length===1&&jS(s[0],t.originalText)||!i&&RS(r,u))){let p=[];return MS(e,()=>{p.push(n())}),[i?"new ":"",n("callee"),a,Km(e,t,n),"(",kS(", ",p),")"]}let c=(t.parser==="babel"||t.parser==="babel-flow")&&r.callee&&r.callee.type==="Identifier"&&PS(r.callee.trailingComments);if(c&&(r.callee.trailingComments[0].printed=!0),!o&&!i&&IS(r.callee)&&!e.call(p=>ju(p,t),"callee"))return BS(e,t,n);let l=[i?"new ":"",o?"import":n("callee"),a,c?"/*:: ".concat(r.callee.trailingComments[0].value.slice(2).trim()," */"):"",Km(e,t,n),Bp(e,t,n)];return o||OS(r.callee)?_S(l):l}};let{isNonEmptyArray:$S,getStringWidth:VS}=ue,{builders:{line:Bs,group:Dt,indent:Lp,indentIfBreak:US},utils:{cleanDoc:WS}}=Q,{hasLeadingOwnLineComment:GS,isBinaryish:Zm,isStringLiteral:eg,isLiteral:HS,isNumericLiteral:zS,isCallExpression:XS,isMemberExpression:JS,getCallArguments:YS,rawText:KS,hasComment:tg,isSignedNumericLiteral:QS}=de,{shouldInlineLogicalExpression:ng}=Ap,{printCallExpression:ZS}=Qm;function jp(e,t,n,r,u,i){let o=function(s,c,l,p,h){let f=s.getValue(),g=f[h];if(!g)return"only-left";let E=!ks(g);if(s.match(ks,rg,A=>!E||A.type!=="ExpressionStatement"&&A.type!=="VariableDeclaration"))return E?g.type==="ArrowFunctionExpression"&&g.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!E&&ks(g.right)||GS(c.originalText,g))return"break-after-operator";if(g.type==="CallExpression"&&g.callee.name==="require"||c.parser==="json5"||c.parser==="json")return"never-break-after-operator";if(function(A){if(rg(A)){let v=A.left||A.id;return v.type==="ObjectPattern"&&v.properties.length>2&&v.properties.some(S=>(S.type==="ObjectProperty"||S.type==="Property")&&(!S.shorthand||S.value&&S.value.type==="AssignmentPattern"))}return!1}(f))return"break-lhs";let C=function(A,v,S){if(A.type!=="ObjectProperty"&&A.type!=="Property")return!1;v=WS(v);let _=3;return typeof v=="string"&&VS(v)<S.tabWidth+_}(f,p,c);return s.call(()=>function(A,v,S,_){let w=A.getValue();if(Zm(w)&&!ng(w))return!0;switch(w.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:H}=w;return Zm(H)&&!ng(H)}case"ClassExpression":return $S(w.decorators)}if(_)return!1;let B=w,O=[];for(;;)if(B.type==="UnaryExpression")B=B.argument,O.push("argument");else{if(B.type!=="TSNonNullExpression")break;B=B.expression,O.push("expression")}return!!(eg(B)||A.call(()=>ug(A,v,S),...O))}(s,c,l,C),h)?"break-after-operator":C||g.type==="TemplateLiteral"||g.type==="TaggedTemplateExpression"||g.type==="BooleanLiteral"||zS(g)||g.type==="ClassExpression"?"never-break-after-operator":"fluid"}(e,t,n,r,i),a=n(i,{assignmentLayout:o});switch(o){case"break-after-operator":return Dt([Dt(r),u,Dt(Lp([Bs,a]))]);case"never-break-after-operator":return Dt([Dt(r),u," ",a]);case"fluid":{let s=Symbol("assignment");return Dt([Dt(r),u,Dt(Lp(Bs),{id:s}),US(a,{groupId:s})])}case"break-lhs":return Dt([r,u," ",Dt(a)]);case"chain":return[Dt(r),u,Bs,a];case"chain-tail":return[Dt(r),u,Lp([Bs,a])];case"chain-tail-arrow-chain":return[Dt(r),u,a];case"only-left":return r}}d(jp,"tb");function ks(e){return e.type==="AssignmentExpression"}d(ks,"nb");function rg(e){return ks(e)||e.type==="VariableDeclarator"}d(rg,"rb");function ug(e,t,n,r=!1){let u=e.getValue(),i=d(()=>ug(e,t,n,!0),"i");if(u.type==="TSNonNullExpression")return e.call(i,"expression");if(XS(u)){if(ZS(e,t,n).label==="member-chain")return!1;let o=YS(u);return!!(o.length===0||o.length===1&&function(a,{printWidth:s}){if(tg(a))return!1;let c=.25*s;if(a.type==="ThisExpression"||a.type==="Identifier"&&a.name.length<=c||QS(a)&&!tg(a.argument))return!0;let l=a.type==="Literal"&&"regex"in a&&a.regex.pattern||a.type==="RegExpLiteral"&&a.pattern;return l?l.length<=c:eg(a)?KS(a).length<=c:a.type==="TemplateLiteral"?a.expressions.length===0&&a.quasis[0].value.raw.length<=c&&!a.quasis[0].value.raw.includes(`
|
|
135
|
+
`):HS(a)}(o[0],t))&&e.call(i,"callee")}return JS(u)?e.call(i,"object"):r&&(u.type==="Identifier"||u.type==="ThisExpression")}d(ug,"ob");var _s={printVariableDeclarator:function(e,t,n){return jp(e,t,n,n("id")," =","init")},printAssignmentExpression:function(e,t,n){let r=e.getValue();return jp(e,t,n,n("left"),[" ",r.operator],"right")},printAssignment:jp};let{getNextNonSpaceNonCommentCharacter:e3}=ue,{printDanglingComments:t3}=ve,{builders:{line:n3,hardline:ig,softline:ag,group:r3,indent:u3,ifBreak:i3},utils:{removeLines:og,willBreak:Rp}}=Q,{getFunctionParameters:Mp,iterateFunctionParametersPath:a3,isSimpleType:o3,isTestCall:s3,isTypeAnnotationAFunction:c3,isObjectType:qp,isObjectTypePropertyAFunction:l3,hasRestParameter:p3,shouldPrintComma:d3,hasComment:f3,isNextLineEmpty:h3}=de,{locEnd:D3}=et,{ArgExpansionBailout:m3}=sr,{printFunctionTypeParameters:g3}=Wt;function sg(e){if(!e)return!1;let t=Mp(e);if(t.length!==1)return!1;let[n]=t;return!f3(n)&&(n.type==="ObjectPattern"||n.type==="ArrayPattern"||n.type==="Identifier"&&n.typeAnnotation&&(n.typeAnnotation.type==="TypeAnnotation"||n.typeAnnotation.type==="TSTypeAnnotation")&&qp(n.typeAnnotation.typeAnnotation)||n.type==="FunctionTypeParam"&&qp(n.typeAnnotation)||n.type==="AssignmentPattern"&&(n.left.type==="ObjectPattern"||n.left.type==="ArrayPattern")&&(n.right.type==="Identifier"||n.right.type==="ObjectExpression"&&n.right.properties.length===0||n.right.type==="ArrayExpression"&&n.right.elements.length===0))}d(sg,"kb");var Ps={printFunctionParameters:function(e,t,n,r,u){let i=e.getValue(),o=Mp(i),a=u?g3(e,n,t):"";if(o.length===0)return[a,"(",t3(e,n,!0,f=>e3(n.originalText,f,D3)===")"),")"];let s=e.getParentNode(),c=s3(s),l=sg(i),p=[];if(a3(e,(f,g)=>{let E=g===o.length-1;E&&i.rest&&p.push("..."),p.push(t()),E||(p.push(","),c||l?p.push(" "):h3(o[g],n)?p.push(ig,ig):p.push(n3))}),r){if(Rp(a)||Rp(p))throw new m3;return r3([og(a),"(",og(p),")"])}let h=o.every(f=>!f.decorators);return l&&h||c?[a,"(",...p,")"]:(l3(s)||c3(s)||s.type==="TypeAlias"||s.type==="UnionTypeAnnotation"||s.type==="TSUnionType"||s.type==="IntersectionTypeAnnotation"||s.type==="FunctionTypeAnnotation"&&s.returnType===i)&&o.length===1&&o[0].name===null&&i.this!==o[0]&&o[0].typeAnnotation&&i.typeParameters===null&&o3(o[0].typeAnnotation)&&!i.rest?n.arrowParens==="always"?["(",...p,")"]:p:[a,"(",u3([ag,...p]),i3(!p3(i)&&d3(n,"all")?",":""),ag,")"]},shouldHugFunctionParameters:sg,shouldGroupFunctionParameters:function(e,t){let n=function(u){let i;return u.returnType?(i=u.returnType,i.typeAnnotation&&(i=i.typeAnnotation)):u.typeAnnotation&&(i=u.typeAnnotation),i}(e);if(!n)return!1;let r=e.typeParameters&&e.typeParameters.params;if(r){if(r.length>1)return!1;if(r.length===1){let u=r[0];if(u.constraint||u.default)return!1}}return Mp(e).length===1&&(qp(n)||Rp(t))}};let{printComments:y3,printDanglingComments:E3}=ve,{getLast:b3}=ue,{builders:{group:Fr,join:cg,line:$p,softline:Aa,indent:Sr,align:C3,ifBreak:Os}}=Q,{locStart:lg}=et,{isSimpleType:v3,isObjectType:Fa,hasLeadingOwnLineComment:pg,isObjectTypePropertyAFunction:A3,shouldPrintComma:F3}=de,{printAssignment:S3}=_s,{printFunctionParameters:x3,shouldGroupFunctionParameters:T3}=Ps,{printArrayItems:w3}=As;function dg(e){if(v3(e)||Fa(e))return!0;if(e.type==="UnionTypeAnnotation"||e.type==="TSUnionType"){let t=e.types.filter(r=>r.type==="VoidTypeAnnotation"||r.type==="TSVoidKeyword"||r.type==="NullLiteralTypeAnnotation"||r.type==="TSNullKeyword").length,n=e.types.some(r=>r.type==="ObjectTypeAnnotation"||r.type==="TSTypeLiteral"||r.type==="GenericTypeAnnotation"||r.type==="TSTypeReference");if(e.types.length-1===t&&n)return!0}return!1}d(dg,"Qb");var Is={printOpaqueType:function(e,t,n){let r=t.semi?";":"",u=e.getValue(),i=[];return i.push("opaque type ",n("id"),n("typeParameters")),u.supertype&&i.push(": ",n("supertype")),u.impltype&&i.push(" = ",n("impltype")),i.push(r),i},printTypeAlias:function(e,t,n){let r=t.semi?";":"",u=e.getValue(),i=[];u.declare&&i.push("declare "),i.push("type ",n("id"),n("typeParameters"));let o=u.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[S3(e,t,n,i," =",o),r]},printIntersectionType:function(e,t,n){let r=e.getValue(),u=e.map(n,"types"),i=[],o=!1;for(let a=0;a<u.length;++a)a===0?i.push(u[a]):Fa(r.types[a-1])&&Fa(r.types[a])?i.push([" & ",o?Sr(u[a]):u[a]]):Fa(r.types[a-1])||Fa(r.types[a])?(a>1&&(o=!0),i.push(" & ",a>1?Sr(u[a]):u[a])):i.push(Sr([" &",$p,u[a]]));return Fr(i)},printUnionType:function(e,t,n){let r=e.getValue(),u=e.getParentNode(),i=!(u.type==="TypeParameterInstantiation"||u.type==="TSTypeParameterInstantiation"||u.type==="GenericTypeAnnotation"||u.type==="TSTypeReference"||u.type==="TSTypeAssertion"||u.type==="TupleTypeAnnotation"||u.type==="TSTupleType"||u.type==="FunctionTypeParam"&&!u.name&&e.getParentNode(1).this!==u||(u.type==="TypeAlias"||u.type==="VariableDeclarator"||u.type==="TSTypeAliasDeclaration")&&pg(t.originalText,r)),o=dg(r),a=e.map(l=>{let p=n();return o||(p=C3(2,p)),y3(l,p,t)},"types");if(o)return cg(" | ",a);let s=i&&!pg(t.originalText,r),c=[Os([s?$p:"","| "]),cg([$p,"| "],a)];return ju(e,t)?Fr([Sr(c),Aa]):u.type==="TupleTypeAnnotation"&&u.types.length>1||u.type==="TSTupleType"&&u.elementTypes.length>1?Fr([Sr([Os(["(",Aa]),c]),Aa,Os(")")]):Fr(i?Sr(c):c)},printFunctionType:function(e,t,n){let r=e.getValue(),u=[],i=e.getParentNode(0),o=e.getParentNode(1),a=e.getParentNode(2),s=r.type==="TSFunctionType"||!((i.type==="ObjectTypeProperty"||i.type==="ObjectTypeInternalSlot")&&!i.variance&&!i.optional&&lg(i)===lg(r)||i.type==="ObjectTypeCallProperty"||a&&a.type==="DeclareFunction"),c=s&&(i.type==="TypeAnnotation"||i.type==="TSTypeAnnotation"),l=c&&s&&(i.type==="TypeAnnotation"||i.type==="TSTypeAnnotation")&&o.type==="ArrowFunctionExpression";A3(i)&&(s=!0,c=!0),l&&u.push("(");let p=x3(e,n,t,!1,!0),h=r.returnType||r.predicate||r.typeAnnotation?[s?" => ":": ",n("returnType"),n("predicate"),n("typeAnnotation")]:"",f=T3(r,h);return u.push(f?Fr(p):p),h&&u.push(h),l&&u.push(")"),Fr(u)},printTupleType:function(e,t,n){let r=e.getValue(),u=r.type==="TSTupleType"?"elementTypes":"types",i=r[u].length>0&&b3(r[u]).type==="TSRestType";return Fr(["[",Sr([Aa,w3(e,t,u,n)]),Os(F3(t,"all")&&!i?",":""),E3(e,t,!0),Aa,"]"])},printIndexedAccessType:function(e,t,n){let r=e.getValue(),u=r.type==="OptionalIndexedAccessType"&&r.optional?"?.[":"[";return[n("objectType"),u,n("indexType"),"]"]},shouldHugType:dg};let{printDanglingComments:N3}=ve,{builders:{join:fg,line:B3,hardline:k3,softline:hg,group:_3,indent:P3,ifBreak:O3}}=Q,{isTestCall:I3,hasComment:Dg,CommentCheckFlags:mg,isTSXFile:L3,shouldPrintComma:j3,getFunctionParameters:R3}=de,{createGroupIdMapper:M3}=ue,{shouldHugType:q3}=Is,gg=M3("typeParameters");function $3(e,t){let n=e.getValue();if(!Dg(n,mg.Dangling))return"";let r=!Dg(n,mg.Line),u=N3(e,t,r);return r?u:[u,k3]}d($3,"yC");var Sa={printTypeParameter:function(e,t,n){let r=e.getValue(),u=[],i=e.getParentNode();return i.type==="TSMappedType"?(u.push("[",n("name")),r.constraint&&u.push(" in ",n("constraint")),i.nameType&&u.push(" as ",e.callParent(()=>n("nameType"))),u.push("]"),u):(r.variance&&u.push(n("variance")),u.push(n("name")),r.bound&&u.push(": ",n("bound")),r.constraint&&u.push(" extends ",n("constraint")),r.default&&u.push(" = ",n("default")),u)},printTypeParameters:function(e,t,n,r){let u=e.getValue();if(!u[r])return"";if(!Array.isArray(u[r]))return n(r);let i=e.getNode(2);if(i&&I3(i)||u[r].length===0||u[r].length===1&&(q3(u[r][0])||u[r][0].type==="NullableTypeAnnotation"))return["<",fg(", ",e.map(n,r)),$3(e,t),">"];let o=u.type==="TSTypeParameterInstantiation"?"":R3(u).length===1&&L3(t)&&!u[r][0].constraint&&e.getParentNode().type==="ArrowFunctionExpression"?",":j3(t,"all")?O3(","):"";return _3(["<",P3([hg,fg([",",B3],e.map(n,r))]),o,hg,">"],{id:gg(u)})},getTypeParametersGroupId:gg};let{printComments:yg}=ve,{printString:V3,printNumber:Vp}=ue,{isNumericLiteral:U3,isSimpleNumber:W3,isStringLiteral:G3,isStringPropSafeToUnquote:Eg,rawText:bg}=de,{printAssignment:H3}=_s,Ls=new WeakMap;function Cg(e,t,n){let r=e.getNode();if(r.computed)return["[",n("key"),"]"];let u=e.getParentNode(),{key:i}=r;if(r.type==="ClassPrivateProperty"&&i.type==="Identifier")return["#",n("key")];if(t.quoteProps==="consistent"&&!Ls.has(u)){let o=(u.properties||u.body||u.members).some(a=>!a.computed&&a.key&&G3(a.key)&&!Eg(a,t));Ls.set(u,o)}if((i.type==="Identifier"||U3(i)&&W3(Vp(bg(i)))&&String(i.value)===Vp(bg(i))&&t.parser!=="typescript"&&t.parser!=="babel-ts")&&(t.parser==="json"||t.quoteProps==="consistent"&&Ls.get(u))){let o=V3(JSON.stringify(i.type==="Identifier"?i.name:i.value.toString()),t);return e.call(a=>yg(a,o,t),"key")}return Eg(r,t)&&(t.quoteProps==="as-needed"||t.quoteProps==="consistent"&&!Ls.get(u))?e.call(o=>yg(o,/^\d/.test(i.value)?Vp(i.value):i.value,t),"key"):n("key")}d(Cg,"BC");var js={printProperty:function(e,t,n){return e.getValue().shorthand?n("value"):H3(e,t,n,Cg(e,t,n),":","value")},printPropertyKey:Cg};let{printDanglingComments:vg,printCommentsSeparately:z3}=ve,{getNextNonSpaceNonCommentCharacterIndex:X3}=ue,{builders:{line:Up,softline:xr,group:ot,indent:Mu,ifBreak:qu,hardline:Ag,join:J3,indentIfBreak:Y3}}=Q,{getFunctionParameters:Wp,hasLeadingOwnLineComment:K3,isFlowAnnotationComment:Q3,isJsxNode:Z3,isTemplateOnItsOwnLine:ex,shouldPrintComma:tx,startsWithNoLookaheadToken:nx,returnArgumentHasLeadingComment:rx,isBinaryish:ux,isLineComment:ix,hasComment:Rs,getComments:ax,CommentCheckFlags:Fg,isCallLikeExpression:ox}=de,{locEnd:sx}=et,{printFunctionParameters:Gp,shouldGroupFunctionParameters:Sg}=Ps,{printPropertyKey:cx}=js,{printFunctionTypeParameters:xg}=Wt;function Hp(e,t,n){let r=e.getNode(),u=Gp(e,n,t),i=zp(e,n,t),o=Sg(r,i),a=[xg(e,t,n),ot([o?ot(u):u,i])];return r.body?a.push(" ",n("body")):a.push(t.semi?";":""),a}d(Hp,"sv");function Tg(e,t){return t.arrowParens==="always"?!1:t.arrowParens==="avoid"?function(n){let r=Wp(n);return!(r.length!==1||n.typeParameters||Rs(n,Fg.Dangling)||r[0].type!=="Identifier"||r[0].typeAnnotation||Rs(r[0])||r[0].optional||n.predicate||n.returnType)}(e.getValue()):!1}d(Tg,"av");function zp(e,t,n){let r=e.getValue(),u=t("returnType");if(r.returnType&&Q3(n.originalText,r.returnType))return[" /*: ",u," */"];let i=[u];return r.returnType&&r.returnType.typeAnnotation&&i.unshift(": "),r.predicate&&i.push(r.returnType?" ":": ",t("predicate")),i}d(zp,"cv");function wg(e,t,n){let r=e.getValue(),u=t.semi?";":"",i=[];r.argument&&(rx(t,r.argument)?i.push([" (",Mu([Ag,n("argument")]),Ag,")"]):ux(r.argument)||r.argument.type==="SequenceExpression"?i.push(ot([qu(" ("," "),Mu([xr,n("argument")]),xr,qu(")")])):i.push(" ",n("argument")));let o=ax(r),a=be(o),s=a&&ix(a);return s&&i.push(u),Rs(r,Fg.Dangling)&&i.push(" ",vg(e,t,!0)),s||i.push(u),i}d(wg,"lv");var Ms={printFunctionDeclaration:function(e,t,n,r){let u=e.getValue(),i=[];u.type==="TSDeclareFunction"&&u.declare&&i.push("declare "),u.async&&i.push("async "),u.generator?i.push("function* "):i.push("function "),u.id&&i.push(t("id"));let o=Gp(e,t,n,r),a=zp(e,t,n),s=Sg(u,a);return i.push(xg(e,n,t),ot([s?ot(o):o,a]),u.body?" ":"",t("body")),!n.semi||!u.declare&&u.body||i.push(";"),i},printArrowFunctionExpression:function(e,t,n,r){let u=e.getValue(),i=[],o=[],a=!1;if(d(function h(){let f=function(g,E,C,A){let v=[];g.getValue().async&&v.push("async "),Tg(g,E)?v.push(C(["params",0])):v.push(ot([Gp(g,C,E,A&&(A.expandLastArg||A.expandFirstArg),!0),zp(g,C,E)]));let S=vg(g,E,!0,_=>{let w=X3(E.originalText,_,sx);return w!==!1&&E.originalText.slice(w,w+2)==="=>"});return S&&v.push(" ",S),v}(e,t,n,r);if(i.length===0)i.push(f);else{let{leading:g,trailing:E}=z3(e,t);i.push([g,f]),o.unshift(E)}a=a||u.returnType&&Wp(u).length>0||u.typeParameters||Wp(u).some(g=>g.type!=="Identifier"),u.body.type!=="ArrowFunctionExpression"||r&&r.expandLastArg?o.unshift(n("body",r)):(u=u.body,e.call(h,"body"))},"a")(),i.length>1)return function(h,f,g,E,C,A){let v=h.getName(),S=h.getParentNode(),_=ox(S)&&v==="callee",w=Boolean(f&&f.assignmentLayout),B=A.body.type!=="BlockStatement"&&A.body.type!=="ObjectExpression",O=_&&B||f&&f.assignmentLayout==="chain-tail-arrow-chain",H=Symbol("arrow-chain");return ot([ot(Mu([_||w?xr:"",ot(J3([" =>",Up],g),{shouldBreak:E})]),{id:H,shouldBreak:O})," =>",Y3(B?Mu([Up,C]):[" ",C],{groupId:H}),_?qu(xr,"",{groupId:H}):""])}(e,r,i,a,o,u);let s=i;if(s.push(" =>"),!K3(t.originalText,u.body)&&(u.body.type==="ArrayExpression"||u.body.type==="ObjectExpression"||u.body.type==="BlockStatement"||Z3(u.body)||ex(u.body,t.originalText)||u.body.type==="ArrowFunctionExpression"||u.body.type==="DoExpression"))return ot([...s," ",o]);if(u.body.type==="SequenceExpression")return ot([...s,ot([" (",Mu([xr,o]),xr,")"])]);let c=(r&&r.expandLastArg||e.getParentNode().type==="JSXExpressionContainer")&&!Rs(u),l=r&&r.expandLastArg&&tx(t,"all"),p=u.body.type==="ConditionalExpression"&&!nx(u.body,!1);return ot([...s,ot([Mu([Up,p?qu("","("):"",o,p?qu("",")"):""]),c?[qu(l?",":""),xr]:""])])},printMethod:function(e,t,n){let r=e.getNode(),{kind:u}=r,i=r.value||r,o=[];return u&&u!=="init"&&u!=="method"&&u!=="constructor"?(yn.ok(u==="get"||u==="set"),o.push(u," ")):i.async&&o.push("async "),i.generator&&o.push("*"),o.push(cx(e,t,n),r.optional||r.key.optional?"?":""),r===i?o.push(Hp(e,t,n)):i.type==="FunctionExpression"?o.push(e.call(a=>Hp(a,t,n),"value")):o.push(n("value")),o},printReturnStatement:function(e,t,n){return["return",wg(e,t,n)]},printThrowStatement:function(e,t,n){return["throw",wg(e,t,n)]},printMethodInternal:Hp,shouldPrintParamsWithoutParens:Tg};let{isNonEmptyArray:Ng,hasNewline:lx}=ue,{builders:{line:qs,hardline:$s,join:Xp,breakParent:px,group:dx}}=Q,{locStart:Bg,locEnd:fx}=et,{getParentExportDeclaration:hx}=de;function kg(e,t){return e.decorators.some(n=>lx(t.originalText,fx(n)))}d(kg,"vv");function _g(e){if(e.type!=="ExportDefaultDeclaration"&&e.type!=="ExportNamedDeclaration"&&e.type!=="DeclareExportDeclaration")return!1;let t=e.declaration&&e.declaration.decorators;return Ng(t)&&Bg(e,{ignoreDecorators:!0})>Bg(t[0])}d(_g,"Av");var Jp={printDecorators:function(e,t,n){let r=e.getValue(),{decorators:u}=r;if(!Ng(u)||_g(e.getParentNode()))return;let i=r.type==="ClassExpression"||r.type==="ClassDeclaration"||kg(r,t);return[hx(e)?$s:i?px:"",Xp(qs,e.map(n,"decorators")),qs]},printClassMemberDecorators:function(e,t,n){let r=e.getValue();return dx([Xp(qs,e.map(n,"decorators")),kg(r,t)?$s:qs])},printDecoratorsBeforeExport:function(e,t,n){return[Xp($s,e.map(n,"declaration","decorators")),$s]},hasDecoratorsBeforeExport:_g};let{isNonEmptyArray:$u,createGroupIdMapper:Dx}=ue,{printComments:mx,printDanglingComments:gx}=ve,{builders:{join:yx,line:xa,hardline:Pg,softline:Og,group:Vs,indent:Us,ifBreak:Yp}}=Q,{hasComment:Kp,CommentCheckFlags:Qp}=de,{getTypeParametersGroupId:Ex}=Sa,{printMethod:bx}=Ms,{printOptionalToken:Cx,printTypeAnnotation:vx}=Wt,{printPropertyKey:Ax}=js,{printAssignment:Fx}=_s,{printClassMemberDecorators:Ig}=Jp,Lg=Dx("heritageGroup");function jg(e){return e.typeParameters&&!Kp(e.typeParameters,Qp.Trailing|Qp.Line)&&!function(t){return["superClass","extends","mixins","implements"].filter(n=>Boolean(t[n])).length>1}(e)}d(jg,"Hv");function Zp(e,t,n,r){let u=e.getValue();if(!$u(u[r]))return"";let i=gx(e,t,!0,({marker:o})=>o===r);return[jg(u)?Yp(" ",xa,{groupId:Ex(u.typeParameters)}):xa,i,i&&Pg,r,Vs(Us([xa,yx([",",xa],e.map(n,r))]))]}d(Zp,"Gv");function Sx(e,t,n){let r=n("superClass");return e.getParentNode().type==="AssignmentExpression"?Vs(Yp(["(",Us([Og,r]),Og,")"],r)):r}d(Sx,"Jv");var Ta={printClass:function(e,t,n){let r=e.getValue(),u=[];r.declare&&u.push("declare "),r.abstract&&u.push("abstract "),u.push("class");let i=r.id&&Kp(r.id,Qp.Trailing)||r.superClass&&Kp(r.superClass)||$u(r.extends)||$u(r.mixins)||$u(r.implements),o=[],a=[];if(r.id&&o.push(" ",n("id")),o.push(n("typeParameters")),r.superClass){let s=["extends ",Sx(e,t,n),n("superTypeParameters")],c=e.call(l=>mx(l,s,t),"superClass");i?a.push(xa,Vs(c)):a.push(" ",c)}else a.push(Zp(e,t,n,"extends"));if(a.push(Zp(e,t,n,"mixins"),Zp(e,t,n,"implements")),i){let s;s=jg(r)?[...o,Us(a)]:Us([...o,a]),u.push(Vs(s,{id:Lg(r)}))}else u.push(...o,...a);return u.push(" ",n("body")),u},printClassMethod:function(e,t,n){let r=e.getValue(),u=[];return $u(r.decorators)&&u.push(Ig(e,t,n)),r.accessibility&&u.push(r.accessibility+" "),r.readonly&&u.push("readonly "),r.declare&&u.push("declare "),r.static&&u.push("static "),r.override&&u.push("override "),(r.type==="TSAbstractMethodDefinition"||r.abstract)&&u.push("abstract "),u.push(bx(e,t,n)),u},printClassProperty:function(e,t,n){let r=e.getValue(),u=[],i=t.semi?";":"";return $u(r.decorators)&&u.push(Ig(e,t,n)),r.accessibility&&u.push(r.accessibility+" "),r.declare&&u.push("declare "),r.static&&u.push("static "),r.override&&u.push("override "),(r.type==="TSAbstractClassProperty"||r.abstract)&&u.push("abstract "),r.readonly&&u.push("readonly "),r.variance&&u.push(n("variance")),u.push(Ax(e,t,n),Cx(e),vx(e,t,n)),[Fx(e,t,n,u," =","value"),i]},printHardlineAfterHeritage:function(e){return Yp(Pg,"",{groupId:Lg(e)})}};let{isNonEmptyArray:Rg}=ue,{builders:{join:xx,line:e0,group:t0,indent:n0,ifBreak:Tx}}=Q,{hasComment:Mg,identity:wx,CommentCheckFlags:r0}=de,{getTypeParametersGroupId:Nx}=Sa,{printTypeScriptModifiers:Bx}=Wt;var u0={printInterface:function(e,t,n){let r=e.getValue(),u=[];r.declare&&u.push("declare "),r.type==="TSInterfaceDeclaration"&&u.push(r.abstract?"abstract ":"",Bx(e,t,n)),u.push("interface");let i=[],o=[];r.type!=="InterfaceTypeAnnotation"&&i.push(" ",n("id"),n("typeParameters"));let a=r.typeParameters&&!Mg(r.typeParameters,r0.Trailing|r0.Line);return Rg(r.extends)&&o.push(a?Tx(" ",e0,{groupId:Nx(r.typeParameters)}):e0,"extends ",(r.extends.length===1?wx:n0)(xx([",",e0],e.map(n,"extends")))),r.id&&Mg(r.id,r0.Trailing)||Rg(r.extends)?a?u.push(t0([...i,n0(o)])):u.push(t0(n0([...i,...o]))):u.push(...i,...o),u.push(" ",n("body")),t0(u)}};let{isNonEmptyArray:i0}=ue,{builders:{softline:qg,group:kx,indent:_x,join:a0,line:o0,ifBreak:Px,hardline:Ox}}=Q,{printDanglingComments:Ix}=ve,{hasComment:$g,CommentCheckFlags:Lx,shouldPrintComma:jx,needsHardlineAfterDanglingComment:Rx}=de,{locStart:Vg,hasSameLoc:Mx}=et,{hasDecoratorsBeforeExport:qx,printDecoratorsBeforeExport:$x}=Jp;function s0(e,t,n){let r=e.getValue();if(!r.source)return"";let u=[];return Wg(r,t)||u.push(" from"),u.push(" ",n("source")),u}d(s0,"xA");function Ug(e,t,n){let r=e.getValue();if(Wg(r,t))return"";let u=[" "];if(i0(r.specifiers)){let i=[],o=[];e.each(()=>{let a=e.getValue().type;if(a==="ExportNamespaceSpecifier"||a==="ExportDefaultSpecifier"||a==="ImportNamespaceSpecifier"||a==="ImportDefaultSpecifier")i.push(n());else{if(a!=="ExportSpecifier"&&a!=="ImportSpecifier")throw new Error("Unknown specifier type ".concat(JSON.stringify(a)));o.push(n())}},"specifiers"),u.push(a0(", ",i)),o.length>0&&(i.length>0&&u.push(", "),o.length>1||i.length>0||r.specifiers.some(a=>$g(a))?u.push(kx(["{",_x([t.bracketSpacing?o0:qg,a0([",",o0],o)]),Px(jx(t)?",":""),t.bracketSpacing?o0:qg,"}"])):u.push(["{",t.bracketSpacing?" ":"",...o,t.bracketSpacing?" ":"","}"]))}else u.push("{}");return u}d(Ug,"SA");function Wg(e,t){let{type:n,importKind:r,source:u,specifiers:i}=e;return n==="ImportDeclaration"&&!i0(i)&&r!=="type"&&!/{\s*}/.test(t.originalText.slice(Vg(e),Vg(u)))}d(Wg,"wA");function c0(e,t,n){let r=e.getNode();return i0(r.assertions)?[" assert {",t.bracketSpacing?" ":"",a0(", ",e.map(n,"assertions")),t.bracketSpacing?" ":"","}"]:""}d(c0,"TA");var Gg={printImportDeclaration:function(e,t,n){let r=e.getValue(),u=t.semi?";":"",i=[],{importKind:o}=r;return i.push("import"),o&&o!=="value"&&i.push(" ",o),i.push(Ug(e,t,n),s0(e,t,n),c0(e,t,n),u),i},printExportDeclaration:function(e,t,n){let r=e.getValue(),u=[];qx(r)&&u.push($x(e,t,n));let{type:i,exportKind:o,declaration:a}=r;return u.push("export"),(r.default||i==="ExportDefaultDeclaration")&&u.push(" default"),$g(r,Lx.Dangling)&&(u.push(" ",Ix(e,t,!0)),Rx(r)&&u.push(Ox)),a?u.push(" ",n("declaration")):u.push(o==="type"?" type":"",Ug(e,t,n),s0(e,t,n),c0(e,t,n)),function(s,c){if(!c.semi)return!1;let{type:l,declaration:p}=s,h=s.default||l==="ExportDefaultDeclaration";if(!p)return!0;let{type:f}=p;return!!(h&&f!=="ClassDeclaration"&&f!=="FunctionDeclaration"&&f!=="TSInterfaceDeclaration"&&f!=="DeclareClass"&&f!=="DeclareFunction"&&f!=="TSDeclareFunction"&&f!=="EnumDeclaration")}(r,t)&&u.push(";"),u},printExportAllDeclaration:function(e,t,n){let r=e.getValue(),u=t.semi?";":"",i=[],{exportKind:o,exported:a}=r;return i.push("export"),o==="type"&&i.push(" type"),i.push(" *"),a&&i.push(" as ",n("exported")),i.push(s0(e,t,n),c0(e,t,n),u),i},printModuleSpecifier:function(e,t,n){let r=e.getNode(),{type:u,importKind:i}=r,o=[];u==="ImportSpecifier"&&i&&o.push(i," ");let a=u.startsWith("Import"),s=a?"imported":"local",c=a?"local":"exported",l="",p="";return u==="ExportNamespaceSpecifier"||u==="ImportNamespaceSpecifier"?l="*":r[s]&&(l=n(s)),!r[c]||r[s]&&Mx(r[s],r[c])||(p=n(c)),o.push(l,l&&p?" as ":"",p),o}};let{getParentExportDeclaration:Vx}=de,{printClass:Ux}=Ta,{printOpaqueType:Hg,printTypeAlias:zg,printIntersectionType:Wx,printUnionType:Gx,printFunctionType:Hx,printTupleType:zx,printIndexedAccessType:Xx}=Is,{printInterface:Jx}=u0,{printTypeParameters:Yx}=Sa,{printExportDeclaration:Kx,printExportAllDeclaration:Qx}=Gg;function Zt(e,t){let n=Vx(e);return n?(yn.strictEqual(n.type,"DeclareExportDeclaration"),t):["declare ",t]}d(Zt,"WA");var Zx={printFlow:function(e,t,n){let r=e.getValue(),u=t.semi?";":"";switch(r.type){case"DeclareClass":return Zt(e,Ux(e,t,n));case"DeclareFunction":return Zt(e,["function ",n("id"),r.predicate?" ":"",n("predicate"),u]);case"DeclareModule":return Zt(e,["module ",n("id")," ",n("body")]);case"DeclareModuleExports":return Zt(e,["module.exports",": ",n("typeAnnotation"),u]);case"DeclareVariable":return Zt(e,["var ",n("id"),u]);case"DeclareOpaqueType":return Zt(e,Hg(e,t,n));case"DeclareInterface":return Zt(e,Jx(e,t,n));case"DeclareTypeAlias":return Zt(e,zg(e,t,n));case"DeclareExportDeclaration":return Zt(e,Kx(e,t,n));case"DeclareExportAllDeclaration":return Zt(e,Qx(e,t,n));case"OpaqueType":return Hg(e,t,n);case"TypeAlias":return zg(e,t,n);case"IntersectionTypeAnnotation":return Wx(e,t,n);case"UnionTypeAnnotation":return Gx(e,t,n);case"FunctionTypeAnnotation":return Hx(e,t,n);case"TupleTypeAnnotation":return zx(e,t,n);case"GenericTypeAnnotation":return[n("id"),Yx(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return Xx(e,t,n);case"TypeAnnotation":return n("typeAnnotation")}}};let{hasNewlineInRange:eT}=ue,{isJsxNode:Ws,isBlockComment:tT,getComments:l0,isCallExpression:nT,isMemberExpression:Xg}=de,{locStart:rT,locEnd:uT}=et,{builders:{line:Jg,softline:wa,group:Yg,indent:Gs,align:Hs,ifBreak:zs,dedent:iT,breakParent:aT}}=Q;function oT(e,t,n){let r=e.getValue(),u=r.type==="ConditionalExpression",i=u?"alternate":"falseType",o=e.getParentNode(),a=u?n("test"):[n("checkType")," ","extends"," ",n("extendsType")];return o.type===r.type&&o[i]===r?Hs(2,a):a}d(oT,"sF");let sT=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);var Kg={printTernary:function(e,t,n){let r=e.getValue(),u=r.type==="ConditionalExpression",i=u?"consequent":"trueType",o=u?"alternate":"falseType",a=u?["test"]:["checkType","extendsType"],s=r[i],c=r[o],l=[],p=!1,h=e.getParentNode(),f=h.type===r.type&&a.some(X=>h[X]===r),g,E,C=h.type===r.type&&!f,A=0;do E=g||r,g=e.getParentNode(A),A++;while(g&&g.type===r.type&&a.every(X=>g[X]!==E));let v=g||h,S=E;if(u&&(Ws(r[a[0]])||Ws(s)||Ws(c)||function(X){let $=[X];for(let U=0;U<$.length;U++){let K=$[U];for(let re of["test","consequent","alternate"]){let ie=K[re];if(Ws(ie))return!0;ie.type==="ConditionalExpression"&&$.push(ie)}}return!1}(S))){p=!0,C=!0;let X=d(U=>[zs("("),Gs([wa,U]),wa,zs(")")],"e314"),$=d(U=>U.type==="NullLiteral"||U.type==="Literal"&&U.value===null||U.type==="Identifier"&&U.name==="undefined","t");l.push(" ? ",$(s)?n(i):X(n(i))," : ",c.type===r.type||$(c)?n(o):X(n(o)))}else{let X=[Jg,"? ",s.type===r.type?zs("","("):"",Hs(2,n(i)),s.type===r.type?zs("",")"):"",Jg,": ",c.type===r.type?n(o):Hs(2,n(o))];l.push(h.type!==r.type||h[o]===r||f?X:t.useTabs?iT(Gs(X)):Hs(Math.max(0,t.tabWidth-2),X))}let _=yl([...a.map(X=>l0(r[X])),l0(s),l0(c)]).some(X=>tT(X)&&eT(t.originalText,rT(X),uT(X))),w=!p&&(Xg(h)||h.type==="NGPipeExpression"&&h.left===r)&&!h.computed,B=function(X){let $=X.getValue();if($.type!=="ConditionalExpression")return!1;let U,K=$;for(let re=0;!U;re++){let ie=X.getParentNode(re);nT(ie)&&ie.callee===K||Xg(ie)&&ie.object===K||ie.type==="TSNonNullExpression"&&ie.expression===K?K=ie:ie.type==="NewExpression"&&ie.callee===K||ie.type==="TSAsExpression"&&ie.expression===K?(U=X.getParentNode(re+1),K=ie):U=ie}return K!==$&&U[sT.get(U.type)]===K}(e),O=(H=[oT(e,0,n),C?l:Gs(l),u&&w&&!B?wa:""],h===v?Yg(H,{shouldBreak:_}):_?[H,aT]:H);var H;return f||B?Yg([Gs([wa,O]),wa]):O}};let{printDanglingComments:Qg}=ve,{builders:{line:Xs,softline:p0,group:d0,indent:cT,ifBreak:Zg,hardline:e2}}=Q,{getLast:t2,hasNewlineInRange:lT,hasNewline:pT,isNonEmptyArray:dT}=ue,{shouldPrintComma:fT,hasComment:Na,getComments:hT,CommentCheckFlags:Ba,isNextLineEmpty:DT}=de,{locStart:ka,locEnd:mT}=et,{printOptionalToken:n2,printTypeAnnotation:f0}=Wt,{shouldHugFunctionParameters:r2}=Ps,{shouldHugType:gT}=Is,{printHardlineAfterHeritage:yT}=Ta;var u2={printObject:function(e,t,n){let r=t.semi?";":"",u=e.getValue(),i;i=u.type==="TSTypeLiteral"?"members":u.type==="TSInterfaceBody"?"body":"properties";let o=u.type==="ObjectTypeAnnotation",a=[i];o&&a.push("indexers","callProperties","internalSlots");let s=a.map(w=>u[w][0]).sort((w,B)=>ka(w)-ka(B))[0],c=e.getParentNode(0),l=o&&c&&(c.type==="InterfaceDeclaration"||c.type==="DeclareInterface"||c.type==="DeclareClass")&&e.getName()==="body",p=u.type==="TSInterfaceBody"||l||u.type==="ObjectPattern"&&c.type!=="FunctionDeclaration"&&c.type!=="FunctionExpression"&&c.type!=="ArrowFunctionExpression"&&c.type!=="ObjectMethod"&&c.type!=="ClassMethod"&&c.type!=="ClassPrivateMethod"&&c.type!=="AssignmentPattern"&&c.type!=="CatchClause"&&u.properties.some(w=>w.value&&(w.value.type==="ObjectPattern"||w.value.type==="ArrayPattern"))||u.type!=="ObjectPattern"&&s&&lT(t.originalText,ka(u),ka(s)),h=l?";":u.type==="TSInterfaceBody"||u.type==="TSTypeLiteral"?Zg(r,";"):",",f=u.type==="RecordExpression"?"#{":u.exact?"{|":"{",g=u.exact?"|}":"}",E=[];for(let w of a)e.each(B=>{let O=B.getValue();E.push({node:O,printed:n(),loc:ka(O)})},w);a.length>1&&E.sort((w,B)=>w.loc-B.loc);let C=[],A=E.map(w=>{let B=[...C,d0(w.printed)];return C=[h,Xs],w.node.type!=="TSPropertySignature"&&w.node.type!=="TSMethodSignature"&&w.node.type!=="TSConstructSignatureDeclaration"||!Na(w.node,Ba.PrettierIgnore)||C.shift(),DT(w.node,t)&&C.push(e2),B});if(u.inexact){let w;if(Na(u,Ba.Dangling)){let B=Na(u,Ba.Line);w=[Qg(e,t,!0),B||pT(t.originalText,mT(t2(hT(u))))?e2:Xs,"..."]}else w=["..."];A.push([...C,...w])}let v=t2(u[i]),S=!(u.inexact||v&&v.type==="RestElement"||v&&(v.type==="TSPropertySignature"||v.type==="TSCallSignatureDeclaration"||v.type==="TSMethodSignature"||v.type==="TSConstructSignatureDeclaration")&&Na(v,Ba.PrettierIgnore)),_;if(A.length===0){if(!Na(u,Ba.Dangling))return[f,g,f0(e,t,n)];_=d0([f,Qg(e,t),p0,g,n2(e),f0(e,t,n)])}else _=[l&&dT(u.properties)?yT(c):"",f,cT([t.bracketSpacing?Xs:p0,...A]),Zg(S&&(h!==","||fT(t))?h:""),t.bracketSpacing?Xs:p0,g,n2(e),f0(e,t,n)];return e.match(w=>w.type==="ObjectPattern"&&!w.decorators,(w,B,O)=>r2(w)&&(B==="params"||B==="parameters"||B==="this"||B==="rest")&&O===0)||e.match(gT,(w,B)=>B==="typeAnnotation",(w,B)=>B==="typeAnnotation",(w,B,O)=>r2(w)&&(B==="params"||B==="parameters"||B==="this"||B==="rest")&&O===0)||!p&&e.match(w=>w.type==="ObjectPattern",w=>w.type==="AssignmentExpression"||w.type==="VariableDeclarator")?_:d0(_,{shouldBreak:p})}};let{builders:{hardline:i2}}=Q,{getLeftSidePathName:ET,hasNakedLeftSide:bT,isJsxNode:CT,isTheOnlyJsxElementInMarkdown:vT,hasComment:AT,CommentCheckFlags:FT,isNextLineEmpty:ST}=de,{shouldPrintParamsWithoutParens:xT}=Ms;function a2(e,t,n,r){let u=e.getValue(),i=[],o=u.type==="ClassBody",a=function(s){for(let c=s.length-1;c>=0;c--){let l=s[c];if(l.type!=="EmptyStatement")return l}}(u[r]);return e.each((s,c,l)=>{let p=s.getValue();if(p.type==="EmptyStatement")return;let h=n();t.semi||o||vT(t,s)||!function(f,g){return f.getNode().type!=="ExpressionStatement"?!1:f.call(E=>o2(E,g),"expression")}(s,t)?i.push(h):AT(p,FT.Leading)?i.push(n([],{needsSemi:!0})):i.push(";",h),!t.semi&&o&&TT(p)&&function(f,g){let E=f.key&&f.key.name;if(!(E!=="static"&&E!=="get"&&E!=="set"||f.value||f.typeAnnotation))return!0;if(!g||g.static||g.accessibility)return!1;if(!g.computed){let C=g.key&&g.key.name;if(C==="in"||C==="instanceof")return!0}switch(g.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractClassProperty":return g.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((g.value?g.value.async:g.async)||g.kind==="get"||g.kind==="set")return!1;let C=g.value?g.value.generator:g.generator;return!(!g.computed&&!C)}case"TSIndexSignature":return!0}return!1}(p,l[c+1])&&i.push(";"),p!==a&&(i.push(i2),ST(p,t)&&i.push(i2))},r),i}d(a2,"WF");function o2(e,t){let n=e.getValue();switch(n.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!xT(e,t))return!0;break;case"UnaryExpression":{let{prefix:r,operator:u}=n;if(r&&(u==="+"||u==="-"))return!0;break}case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(CT(n))return!0}return!!ju(e,t)||!!bT(n)&&e.call(r=>o2(r,t),...ET(e,n))}d(o2,"UF");let TT=d(({type:e})=>e==="ClassProperty"||e==="PropertyDefinition"||e==="ClassPrivateProperty","zF");var s2={printBody:function(e,t,n){return a2(e,t,n,"body")},printSwitchCaseConsequent:function(e,t,n){return a2(e,t,n,"consequent")}};let{printDanglingComments:wT}=ve,{isNonEmptyArray:c2}=ue,{builders:{hardline:Vu,indent:NT}}=Q,{hasComment:BT,CommentCheckFlags:kT,isNextLineEmpty:_T}=de,{printHardlineAfterHeritage:PT}=Ta,{printBody:OT}=s2;function l2(e,t,n){let r=e.getValue(),u=c2(r.directives),i=r.body.some(s=>s.type!=="EmptyStatement"),o=BT(r,kT.Dangling);if(!u&&!i&&!o)return"";let a=[];if(u&&e.each((s,c,l)=>{a.push(n()),(c<l.length-1||i||o)&&(a.push(Vu),_T(s.getValue(),t)&&a.push(Vu))},"directives"),i&&a.push(OT(e,t,n)),o&&a.push(wT(e,t,!0)),r.type==="Program"){let s=e.getParentNode();s&&s.type==="ModuleExpression"||a.push(Vu)}return a}d(l2,"nx");var p2={printBlock:function(e,t,n){let r=e.getValue(),u=[];if(r.type==="StaticBlock"&&u.push("static "),r.type==="ClassBody"&&c2(r.body)){let o=e.getParentNode();u.push(PT(o))}u.push("{");let i=l2(e,t,n);if(i)u.push(NT([Vu,i]),Vu);else{let o=e.getParentNode(),a=e.getParentNode(1);o.type==="ArrowFunctionExpression"||o.type==="FunctionExpression"||o.type==="FunctionDeclaration"||o.type==="ObjectMethod"||o.type==="ClassMethod"||o.type==="ClassPrivateMethod"||o.type==="ForStatement"||o.type==="WhileStatement"||o.type==="DoWhileStatement"||o.type==="DoExpression"||o.type==="CatchClause"&&!a.finalizer||o.type==="TSModuleDeclaration"||o.type==="TSDeclareFunction"||r.type==="StaticBlock"||r.type==="ClassBody"||u.push(Vu)}return u.push("}"),u},printBlockBody:l2};let{printDanglingComments:h0}=ve,{hasNewlineInRange:IT}=ue,{builders:{join:d2,line:f2,hardline:h2,softline:kt,group:rt,indent:Uu,conditionalGroup:LT,ifBreak:Js}}=Q,{isLiteral:jT,getTypeScriptMappedTypeModifier:D2,shouldPrintComma:m2,isCallExpression:RT,isMemberExpression:MT}=de,{locStart:D0,locEnd:qT}=et,{printOptionalToken:g2,printTypeScriptModifiers:m0}=Wt,{printTernary:$T}=Kg,{printFunctionParameters:y2,shouldGroupFunctionParameters:VT}=Ps,{printTemplateLiteral:UT}=Pu,{printArrayItems:WT}=As,{printObject:GT}=u2,{printClassProperty:HT,printClassMethod:zT}=Ta,{printTypeParameter:XT,printTypeParameters:g0}=Sa,{printPropertyKey:JT}=js,{printFunctionDeclaration:YT,printMethodInternal:KT}=Ms,{printInterface:QT}=u0,{printBlock:ZT}=p2,{printTypeAlias:e8,printIntersectionType:t8,printUnionType:n8,printFunctionType:r8,printTupleType:u8,printIndexedAccessType:i8}=Is;var a8={printTypescript:function(e,t,n){let r=e.getValue(),u=t.semi?";":"",i=[];switch(r.type){case"TSTypeAssertion":{let o=!(r.expression.type==="ArrayExpression"||r.expression.type==="ObjectExpression"),a=rt(["<",Uu([kt,n("typeAnnotation")]),kt,">"]),s=[Js("("),Uu([kt,n("expression")]),kt,Js(")")];return o?LT([[a,n("expression")],[a,rt(s,{shouldBreak:!0})],[a,n("expression")]]):rt([a,n("expression")])}case"TSDeclareFunction":return YT(e,n,t);case"TSExportAssignment":return["export = ",n("expression"),u];case"TSModuleBlock":return ZT(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return GT(e,t,n);case"TSTypeAliasDeclaration":return e8(e,t,n);case"TSQualifiedName":return d2(".",[n("left"),n("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return zT(e,t,n);case"TSAbstractClassProperty":return HT(e,t,n);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return i.push(n("expression")),r.typeParameters&&i.push(n("typeParameters")),i;case"TSTemplateLiteralType":return UT(e,n,t);case"TSNamedTupleMember":return[n("label"),r.optional?"?":"",": ",n("elementType")];case"TSRestType":return["...",n("typeAnnotation")];case"TSOptionalType":return[n("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return QT(e,t,n);case"TSClassImplements":return[n("expression"),n("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return g0(e,t,n,"params");case"TSTypeParameter":case"TypeParameter":return XT(e,t,n);case"TypeofTypeAnnotation":return["typeof ",n("argument")];case"TSAbstractKeyword":return"abstract";case"TSAsyncKeyword":return"async";case"TSDeclareKeyword":return"declare";case"TSExportKeyword":return"export";case"TSNeverKeyword":return"never";case"TSObjectKeyword":return"object";case"TSProtectedKeyword":return"protected";case"TSPrivateKeyword":return"private";case"TSPublicKeyword":return"public";case"TSReadonlyKeyword":return"readonly";case"TSStaticKeyword":return"static";case"TSUndefinedKeyword":return"undefined";case"TSUnknownKeyword":return"unknown";case"TSIntrinsicKeyword":return"intrinsic";case"TSAsExpression":{i.push(n("expression")," as ",n("typeAnnotation"));let o=e.getParentNode();return RT(o)&&o.callee===r||MT(o)&&o.object===r?rt([Uu([kt,...i]),kt]):i}case"TSArrayType":return[n("elementType"),"[]"];case"TSPropertySignature":return r.export&&i.push("export "),r.accessibility&&i.push(r.accessibility+" "),r.static&&i.push("static "),r.readonly&&i.push("readonly "),i.push(JT(e,t,n),g2(e)),r.typeAnnotation&&i.push(": ",n("typeAnnotation")),r.initializer&&i.push(" = ",n("initializer")),i;case"TSParameterProperty":return r.accessibility&&i.push(r.accessibility+" "),r.export&&i.push("export "),r.static&&i.push("static "),r.readonly&&i.push("readonly "),i.push(n("parameter")),i;case"TSTypeQuery":return["typeof ",n("exprName")];case"TSIndexSignature":{let o=e.getParentNode(),a=r.parameters.length>1?Js(m2(t)?",":""):"",s=rt([Uu([kt,d2([", ",kt],e.map(n,"parameters"))]),a,kt]);return[r.export?"export ":"",r.accessibility?[r.accessibility," "]:"",r.static?"static ":"",r.readonly?"readonly ":"",r.declare?"declare ":"","[",r.parameters?s:"",r.typeAnnotation?"]: ":"]",r.typeAnnotation?n("typeAnnotation"):"",o.type==="ClassBody"?u:""]}case"TSTypePredicate":return[r.asserts?"asserts ":"",n("parameterName"),r.typeAnnotation?[" is ",n("typeAnnotation")]:""];case"TSNonNullExpression":return[n("expression"),"!"];case"TSImportType":return[r.isTypeOf?"typeof ":"","import(",n(r.parameter?"parameter":"argument"),")",r.qualifier?[".",n("qualifier")]:"",g0(e,t,n,"typeParameters")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return i8(e,t,n);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":if(r.type==="TSConstructorType"&&r.abstract&&i.push("abstract "),r.type!=="TSCallSignatureDeclaration"&&i.push("new "),i.push(rt(y2(e,n,t,!1,!0))),r.returnType||r.typeAnnotation){let o=r.type==="TSConstructorType";i.push(o?" => ":": ",n("returnType"),n("typeAnnotation"))}return i;case"TSTypeOperator":return[r.operator," ",n("typeAnnotation")];case"TSMappedType":{let o=IT(t.originalText,D0(r),qT(r));return rt(["{",Uu([t.bracketSpacing?f2:kt,r.readonly?[D2(r.readonly,"readonly")," "]:"",m0(e,t,n),n("typeParameter"),r.optional?D2(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation"),Js(u)]),h0(e,t,!0),t.bracketSpacing?f2:kt,"}"],{shouldBreak:o})}case"TSMethodSignature":{let o=r.kind&&r.kind!=="method"?"".concat(r.kind," "):"";i.push(r.accessibility?[r.accessibility," "]:"",o,r.export?"export ":"",r.static?"static ":"",r.readonly?"readonly ":"",r.abstract?"abstract ":"",r.declare?"declare ":"",r.computed?"[":"",n("key"),r.computed?"]":"",g2(e));let a=y2(e,n,t,!1,!0),s=r.returnType?"returnType":"typeAnnotation",c=r[s],l=c?n(s):"",p=VT(r,l);return i.push(p?rt(a):a),c&&i.push(": ",rt(l)),rt(i)}case"TSNamespaceExportDeclaration":return i.push("export as namespace ",n("id")),t.semi&&i.push(";"),rt(i);case"TSEnumDeclaration":return r.declare&&i.push("declare "),r.modifiers&&i.push(m0(e,t,n)),r.const&&i.push("const "),i.push("enum ",n("id")," "),r.members.length===0?i.push(rt(["{",h0(e,t),kt,"}"])):i.push(rt(["{",Uu([h2,WT(e,t,"members",n),m2(t,"es5")?",":""]),h0(e,t,!0),h2,"}"])),i;case"TSEnumMember":return i.push(n("id")),r.initializer&&i.push(" = ",n("initializer")),i;case"TSImportEqualsDeclaration":return r.isExport&&i.push("export "),i.push("import "),r.importKind&&r.importKind!=="value"&&i.push(r.importKind," "),i.push(n("id")," = ",n("moduleReference")),t.semi&&i.push(";"),rt(i);case"TSExternalModuleReference":return["require(",n("expression"),")"];case"TSModuleDeclaration":{let o=e.getParentNode(),a=jT(r.id),s=o.type==="TSModuleDeclaration",c=r.body&&r.body.type==="TSModuleDeclaration";if(s)i.push(".");else{r.declare&&i.push("declare "),i.push(m0(e,t,n));let l=t.originalText.slice(D0(r),D0(r.id));r.id.type==="Identifier"&&r.id.name==="global"&&!/namespace|module/.test(l)||i.push(a||/(^|\s)module(\s|$)/.test(l)?"module ":"namespace ")}return i.push(n("id")),c?i.push(n("body")):r.body?i.push(" ",rt(n("body"))):i.push(u),i}case"TSPrivateIdentifier":return r.escapedText;case"TSConditionalType":return $T(e,t,n);case"TSInferType":return["infer"," ",n("typeParameter")];case"TSIntersectionType":return t8(e,t,n);case"TSUnionType":return n8(e,t,n);case"TSFunctionType":return r8(e,t,n);case"TSTupleType":return u8(e,t,n);case"TSTypeReference":return[n("typeName"),g0(e,t,n,"typeParameters")];case"TSTypeAnnotation":return n("typeAnnotation");case"TSEmptyBodyFunctionExpression":return KT(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return["?",n("typeAnnotation")];case"TSJSDocNonNullableType":return["!",n("typeAnnotation")];case"TSJSDocFunctionType":return["function(","): ",n("typeAnnotation")]}}};let{hasNewline:o8}=ue,{builders:{join:s8,hardline:E2},utils:{replaceNewlinesWithLiterallines:c8}}=Q,{isLineComment:l8,isBlockComment:p8}=de,{locStart:b2,locEnd:C2}=et;var d8={printComment:function(e,t){let n=e.getValue();if(l8(n))return t.originalText.slice(b2(n),C2(n)).trimEnd();if(p8(n)){if(function(i){let o="*".concat(i.value,"*").split(`
|
|
136
|
+
`);return o.length>1&&o.every(a=>a.trim()[0]==="*")}(n)){let i=function(o){let a=o.value.split(`
|
|
137
|
+
`);return["/*",s8(E2,a.map((s,c)=>c===0?s.trimEnd():" "+(c<a.length-1?s.trim():s.trimStart()))),"*/"]}(n);return n.trailing&&!o8(t.originalText,b2(n),{backwards:!0})?[E2,i]:i}let r=C2(n),u=t.originalText.slice(r-3,r)==="*-/";return["/*",c8(n.value),u?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(n))}};let{printString:v2,printNumber:y0}=ue;function A2(e){return e.toLowerCase()}d(A2,"nS");function F2({pattern:e,flags:t}){return t=t.split("").sort().join(""),"/".concat(e,"/").concat(t)}d(F2,"rS");var f8={printLiteral:function(e,t){let n=e.getNode();switch(n.type){case"RegExpLiteral":return F2(n);case"BigIntLiteral":return A2(n.bigint||n.extra.raw);case"NumericLiteral":return y0(n.extra.raw);case"StringLiteral":return v2(n.extra.raw,t);case"NullLiteral":return"null";case"BooleanLiteral":return String(n.value);case"DecimalLiteral":return y0(n.value)+"m";case"Literal":{if(n.regex)return F2(n.regex);if(n.bigint)return A2(n.raw);let{value:r}=n;return typeof r=="number"?y0(n.raw):typeof r=="string"?v2(n.raw,t):String(r)}}}};let{printDanglingComments:Ys}=ve,{hasNewline:S2,printString:h8,printNumber:x2}=ue,{builders:{join:E0,line:_a,hardline:qe,softline:Te,literalline:D8,group:ye,indent:$e}}=Q,{insertPragma:m8}=hp,{getCallArguments:g8,hasFlowShorthandAnnotationComment:y8,hasComment:Wu,CommentCheckFlags:b0,isFunctionNotation:E8,isGetterOrSetter:b8,isTheOnlyJsxElementInMarkdown:C8,isBlockComment:C0,isLineComment:v8,isNextLineEmpty:T2,needsHardlineAfterDanglingComment:A8,rawText:w2,shouldPrintComma:F8,hasIgnoreComment:S8,isCallExpression:N2,isMemberExpression:x8}=de,{locStart:B2,locEnd:k2}=et,{printHtmlBinding:T8,isVueEventBindingExpression:w8}=i5,{printAngular:N8}=F5,{printJsx:B8,hasJsxIgnoreComment:k8}=I5,{printFlow:_8}=Zx,{printTypescript:P8}=a8,{printOptionalToken:Ks,printBindExpressionCallee:O8,printTypeAnnotation:v0,adjustClause:Vn}=Wt,{printImportDeclaration:I8,printExportDeclaration:L8,printExportAllDeclaration:j8,printModuleSpecifier:R8}=Gg,{printTernary:M8}=Kg,{printTemplateLiteral:q8}=Pu,{printArray:$8,printArrayItems:V8}=As,{printObject:U8}=u2,{printClass:W8,printClassMethod:G8,printClassProperty:H8}=Ta,{printTypeParameters:z8}=Sa,{printPropertyKey:X8,printProperty:J8}=js,{printFunctionDeclaration:Y8,printArrowFunctionExpression:K8,printMethod:_2,printReturnStatement:Q8,printThrowStatement:Z8}=Ms,{printCallExpression:ew}=Qm,{printInterface:tw}=u0,{printVariableDeclarator:nw,printAssignmentExpression:rw}=_s,{printBinaryishExpression:uw}=Ap,{printSwitchCaseConsequent:iw}=s2,{printMemberExpression:aw}=Hm,{printBlock:ow,printBlockBody:sw}=p2,{printComment:cw}=d8,{printLiteral:lw}=f8,{printDecorators:pw}=Jp;function P2(e,t){let n=w2(e),r=n.slice(1,-1);if(r.includes('"')||r.includes("'"))return n;let u=t.singleQuote?"'":'"';return u+r+u}d(P2,"Fw");var dw={preprocess:sm,print:function(e,t,n,r){let u=function(c,l,p,h){let f=c.getValue(),g=l.semi?";":"";if(!f)return"";if(typeof f=="string")return f;for(let C of[lw,T8,N8,B8,_8,P8]){let A=C(c,l,p);if(A!==void 0)return A}let E=[];switch(f.type){case"JsExpressionRoot":return p("node");case"JsonRoot":return[p("node"),qe];case"File":return f.program&&f.program.interpreter&&E.push(p(["program","interpreter"])),E.push(p("program")),E;case"Program":return sw(c,l,p);case"EmptyStatement":return"";case"ExpressionStatement":if(f.directive)return[P2(f.expression,l),g];if(l.parser==="__vue_event_binding"){let C=c.getParentNode();if(C.type==="Program"&&C.body.length===1&&C.body[0]===f)return[p("expression"),w8(f.expression)?";":""]}return[p("expression"),C8(l,c)?"":g];case"ParenthesizedExpression":return!Wu(f.expression)&&(f.expression.type==="ObjectExpression"||f.expression.type==="ArrayExpression")?["(",p("expression"),")"]:ye(["(",$e([Te,p("expression")]),Te,")"]);case"AssignmentExpression":return rw(c,l,p);case"VariableDeclarator":return nw(c,l,p);case"BinaryExpression":case"LogicalExpression":return uw(c,l,p);case"AssignmentPattern":return[p("left")," = ",p("right")];case"OptionalMemberExpression":case"MemberExpression":return aw(c,l,p);case"MetaProperty":return[p("meta"),".",p("property")];case"BindExpression":return f.object&&E.push(p("object")),E.push(ye($e([Te,O8(c,l,p)]))),E;case"Identifier":return[f.name,Ks(c),v0(c,l,p)];case"V8IntrinsicIdentifier":return["%",f.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":case"ObjectTypeSpreadProperty":return["...",p("argument"),v0(c,l,p)];case"FunctionDeclaration":case"FunctionExpression":{let C=!1;if(h&&h.expandLastArg){let A=c.getParentNode();N2(A)&&g8(A).length>1&&(C=!0)}return Y8(c,p,l,C)}case"ArrowFunctionExpression":return K8(c,l,p,h);case"YieldExpression":return E.push("yield"),f.delegate&&E.push("*"),f.argument&&E.push(" ",p("argument")),E;case"AwaitExpression":if(E.push("await"),f.argument){E.push(" ",p("argument"));let C=c.getParentNode();if(N2(C)&&C.callee===f||x8(C)&&C.object===f){E=[$e([Te,...E]),Te];let A=c.findAncestor(v=>v.type==="AwaitExpression"||v.type==="BlockStatement");if(!A||A.type!=="AwaitExpression")return ye(E)}}return E;case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return L8(c,l,p);case"ExportAllDeclaration":return j8(c,l,p);case"ImportDeclaration":return I8(c,l,p);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return R8(c,l,p);case"ImportAttribute":return[p("key"),": ",p("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return ow(c,l,p);case"ThrowStatement":return Z8(c,l,p);case"ReturnStatement":return Q8(c,l,p);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return ew(c,l,p);case"ObjectTypeInternalSlot":return[f.static?"static ":"","[[",p("id"),"]]",Ks(c),f.method?"":": ",p("value")];case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":case"RecordExpression":return U8(c,l,p);case"ObjectProperty":case"Property":return f.method||f.kind==="get"||f.kind==="set"?_2(c,l,p):J8(c,l,p);case"ObjectMethod":return _2(c,l,p);case"Decorator":return["@",p("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return $8(c,l,p);case"SequenceExpression":{let C=c.getParentNode(0);if(C.type==="ExpressionStatement"||C.type==="ForStatement"){let A=[];return c.each((v,S)=>{S===0?A.push(p()):A.push(",",$e([_a,p()]))},"expressions"),ye(A)}return ye(E0([",",_a],c.map(p,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[p("value"),g];case"DirectiveLiteral":return P2(f,l);case"UnaryExpression":return E.push(f.operator),/[a-z]$/.test(f.operator)&&E.push(" "),Wu(f.argument)?E.push(ye(["(",$e([Te,p("argument")]),Te,")"])):E.push(p("argument")),E;case"UpdateExpression":return E.push(p("argument"),f.operator),f.prefix&&E.reverse(),E;case"ConditionalExpression":return M8(c,l,p);case"VariableDeclaration":{let C=c.map(p,"declarations"),A=c.getParentNode(),v=A.type==="ForStatement"||A.type==="ForInStatement"||A.type==="ForOfStatement",S=f.declarations.some(w=>w.init),_;return C.length!==1||Wu(f.declarations[0])?C.length>0&&(_=$e(C[0])):_=C[0],E=[f.declare?"declare ":"",f.kind,_?[" ",_]:"",$e(C.slice(1).map(w=>[",",S&&!v?qe:_a,w]))],v&&A.body!==f||E.push(g),ye(E)}case"WithStatement":return ye(["with (",p("object"),")",Vn(f.body,p("body"))]);case"IfStatement":{let C=Vn(f.consequent,p("consequent")),A=ye(["if (",ye([$e([Te,p("test")]),Te]),")",C]);if(E.push(A),f.alternate){let v=Wu(f.consequent,b0.Trailing|b0.Line)||A8(f),S=f.consequent.type==="BlockStatement"&&!v;E.push(S?" ":qe),Wu(f,b0.Dangling)&&E.push(Ys(c,l,!0),v?qe:" "),E.push("else",ye(Vn(f.alternate,p("alternate"),f.alternate.type==="IfStatement")))}return E}case"ForStatement":{let C=Vn(f.body,p("body")),A=Ys(c,l,!0),v=A?[A,Te]:"";return f.init||f.test||f.update?[v,ye(["for (",ye([$e([Te,p("init"),";",_a,p("test"),";",_a,p("update")]),Te]),")",C])]:[v,ye(["for (;;)",C])]}case"WhileStatement":return ye(["while (",ye([$e([Te,p("test")]),Te]),")",Vn(f.body,p("body"))]);case"ForInStatement":return ye(["for (",p("left")," in ",p("right"),")",Vn(f.body,p("body"))]);case"ForOfStatement":return ye(["for",f.await?" await":""," (",p("left")," of ",p("right"),")",Vn(f.body,p("body"))]);case"DoWhileStatement":{let C=Vn(f.body,p("body"));return E=[ye(["do",C])],f.body.type==="BlockStatement"?E.push(" "):E.push(qe),E.push("while (",ye([$e([Te,p("test")]),Te]),")",g),E}case"DoExpression":return[f.async?"async ":"","do ",p("body")];case"BreakStatement":return E.push("break"),f.label&&E.push(" ",p("label")),E.push(g),E;case"ContinueStatement":return E.push("continue"),f.label&&E.push(" ",p("label")),E.push(g),E;case"LabeledStatement":return f.body.type==="EmptyStatement"?[p("label"),":;"]:[p("label"),": ",p("body")];case"TryStatement":return["try ",p("block"),f.handler?[" ",p("handler")]:"",f.finalizer?[" finally ",p("finalizer")]:""];case"CatchClause":if(f.param){let C=Wu(f.param,v=>!C0(v)||v.leading&&S2(l.originalText,k2(v))||v.trailing&&S2(l.originalText,B2(v),{backwards:!0})),A=p("param");return["catch ",C?["(",$e([Te,A]),Te,") "]:["(",A,") "],p("body")]}return["catch ",p("body")];case"SwitchStatement":return[ye(["switch (",$e([Te,p("discriminant")]),Te,")"])," {",f.cases.length>0?$e([qe,E0(qe,c.map((C,A,v)=>{let S=C.getValue();return[p(),A!==v.length-1&&T2(S,l)?qe:""]},"cases"))]):"",qe,"}"];case"SwitchCase":{f.test?E.push("case ",p("test"),":"):E.push("default:");let C=f.consequent.filter(A=>A.type!=="EmptyStatement");if(C.length>0){let A=iw(c,l,p);E.push(C.length===1&&C[0].type==="BlockStatement"?[" ",A]:$e([qe,A]))}return E}case"DebuggerStatement":return["debugger",g];case"ClassDeclaration":case"ClassExpression":return W8(c,l,p);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return G8(c,l,p);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":return H8(c,l,p);case"TemplateElement":return E0(D8,f.value.raw.split(/\r?\n/g));case"TemplateLiteral":return q8(c,p,l);case"TaggedTemplateExpression":return[p("tag"),p("typeParameters"),p("quasi")];case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(f.type));case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[p("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(f.value);case"EnumDeclaration":return["enum ",p("id")," ",p("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":if(f.type==="EnumSymbolBody"||f.explicitType){let C=null;switch(f.type){case"EnumBooleanBody":C="boolean";break;case"EnumNumberBody":C="number";break;case"EnumStringBody":C="string";break;case"EnumSymbolBody":C="symbol"}E.push("of ",C," ")}if(f.members.length!==0||f.hasUnknownMembers){let C=f.members.length>0?[qe,V8(c,l,"members",p),f.hasUnknownMembers||F8(l)?",":""]:[];E.push(ye(["{",$e([...C,...f.hasUnknownMembers?[qe,"..."]:[]]),Ys(c,l,!0),qe,"}"]))}else E.push(ye(["{",Ys(c,l),Te,"}"]));return E;case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[p("id")," = ",typeof f.init=="object"?p("init"):String(f.init)];case"EnumDefaultedMember":return p("id");case"FunctionTypeParam":{let C=f.name?p("name"):c.getParentNode().this===f?"this":"";return[C,Ks(c),C?": ":"",p("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return tw(c,l,p);case"ClassImplements":case"InterfaceExtends":return[p("id"),p("typeParameters")];case"NullableTypeAnnotation":return["?",p("typeAnnotation")];case"Variance":{let{kind:C}=f;return yn.ok(C==="plus"||C==="minus"),C==="plus"?"+":"-"}case"ObjectTypeCallProperty":return f.static&&E.push("static "),E.push(p("value")),E;case"ObjectTypeIndexer":return[f.variance?p("variance"):"","[",p("id"),f.id?": ":"",p("key"),"]: ",p("value")];case"ObjectTypeProperty":{let C="";return f.proto?C="proto ":f.static&&(C="static "),[C,b8(f)?f.kind+" ":"",f.variance?p("variance"):"",X8(c,l,p),Ks(c),E8(f)?"":": ",p("value")]}case"QualifiedTypeIdentifier":return[p("qualification"),".",p("id")];case"StringLiteralTypeAnnotation":return h8(w2(f),l);case"NumberLiteralTypeAnnotation":yn.strictEqual(typeof f.value,"number");case"BigIntLiteralTypeAnnotation":return f.extra?x2(f.extra.raw):x2(f.raw);case"TypeCastExpression":return["(",p("expression"),v0(c,l,p),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let C=z8(c,l,p,"params");if(l.parser==="flow"){let A=B2(f),v=k2(f),S=l.originalText.lastIndexOf("/*",A),_=l.originalText.indexOf("*/",v);if(S!==-1&&_!==-1){let w=l.originalText.slice(S+2,_).trim();if(w.startsWith("::")&&!w.includes("/*")&&!w.includes("*/"))return["/*:: ",C," */"]}}return C}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",p("value"),")"];case"AnyTypeAnnotation":case"TSAnyKeyword":return"any";case"BooleanTypeAnnotation":case"TSBooleanKeyword":return"boolean";case"BigIntTypeAnnotation":case"TSBigIntKeyword":return"bigint";case"TSConstKeyword":return"const";case"NullLiteralTypeAnnotation":case"TSNullKeyword":return"null";case"NumberTypeAnnotation":case"TSNumberKeyword":return"number";case"SymbolTypeAnnotation":case"TSSymbolKeyword":return"symbol";case"StringTypeAnnotation":case"TSStringKeyword":return"string";case"VoidTypeAnnotation":case"TSVoidKeyword":return"void";case"ThisTypeAnnotation":case"TSThisType":return"this";case"PrivateIdentifier":return["#",p("name")];case"PrivateName":return["#",p("id")];case"InterpreterDirective":return E.push("#!",f.value,qe),T2(f,l)&&E.push(qe),E;case"PipelineBareFunction":return p("callee");case"PipelineTopicExpression":return p("expression");case"PipelinePrimaryTopicReference":return"#";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{E.push("module {");let C=p("body");return C&&E.push($e([qe,C]),qe),E.push("}"),E}default:throw new Error("unknown type: "+JSON.stringify(f.type))}}(e,t,n,r);if(!u)return"";let i=e.getValue(),{type:o}=i;if(o==="ClassMethod"||o==="ClassPrivateMethod"||o==="ClassProperty"||o==="PropertyDefinition"||o==="TSAbstractClassProperty"||o==="ClassPrivateProperty"||o==="MethodDefinition"||o==="TSAbstractMethodDefinition"||o==="TSDeclareMethod")return u;let a=pw(e,t,n);if(a)return ye([...a,u]);if(!ju(e,t))return r&&r.needsSemi?[";",u]:u;let s=[r&&r.needsSemi?";(":"(",u];if(y8(i)){let[c]=i.trailingComments;s.push(" /*",c.value.trimStart(),"*/"),c.printed=!0}return s.push(")"),s},embed:nF,insertPragma:m8,massageAstNode:iF,hasPrettierIgnore:e=>S8(e)||k8(e),willPrintOwnComments:Lu.willPrintOwnComments,canAttachComment:function(e){return e.type&&!C0(e)&&!v8(e)&&e.type!=="EmptyStatement"&&e.type!=="TemplateElement"&&e.type!=="Import"&&e.type!=="TSEmptyBodyFunctionExpression"},printComment:cw,isBlockComment:C0,handleComments:{avoidAstMutation:!0,ownLine:Lu.handleOwnLineComment,endOfLine:Lu.handleEndOfLineComment,remaining:Lu.handleRemainingComment},getCommentChildNodes:Lu.getCommentChildNodes};let{builders:{hardline:Tr,indent:O2,join:I2}}=Q,fw=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function L2(e,t){let{type:n}=e;if(n!=="ObjectProperty"||e.key.type!=="Identifier"){if(n==="UnaryExpression"&&e.operator==="+")return t.argument;if(n!=="ArrayExpression")return n==="TemplateLiteral"?{type:"StringLiteral",value:e.quasis[0].value.cooked}:void 0;for(let[r,u]of e.elements.entries())u===null&&t.elements.splice(r,0,{type:"NullLiteral"})}else t.key={type:"StringLiteral",value:e.key.name}}d(L2,"kw"),L2.ignoredProperties=fw;var hw={preprocess:sm,print:function(e,t,n){let r=e.getValue();switch(r.type){case"JsonRoot":return[n("node"),Tr];case"ArrayExpression":{if(r.elements.length===0)return"[]";let u=e.map(()=>e.getValue()===null?"null":n(),"elements");return["[",O2([Tr,I2([",",Tr],u)]),Tr,"]"]}case"ObjectExpression":return r.properties.length===0?"{}":["{",O2([Tr,I2([",",Tr],e.map(n,"properties"))]),Tr,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return[r.operator==="+"?"":r.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(r.value);case"Identifier":{let u=e.getParentNode();return u&&u.type==="ObjectProperty"&&u.key===r?JSON.stringify(r.name):r.name}case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(r.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(r.type))}},massageAstNode:L2};let A0="Common";var Cn={bracketSpacing:{since:"0.0.0",category:A0,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:A0,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:A0,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]}};let Gu="JavaScript";var Dw={arrowParens:{since:"1.9.0",category:Gu,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSpacing:Cn.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:Gu,type:"boolean",default:!1,description:"Put > on the last line instead of at a new line."},semi:{since:"1.0.0",category:Gu,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Cn.singleQuote,jsxSingleQuote:{since:"1.15.0",category:Gu,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:Gu,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:Gu,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]}},F0={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".jsb",".jscad",".jsfl",".jsm",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183},mw={name:"TypeScript",type:"programming",color:"#2b7489",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378},gw={name:"TSX",type:"programming",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924},j2={name:"JSON",type:"data",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",extensions:[".json",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".htmlhintrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174},yw={name:"JSON with Comments",type:"data",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423},Ew={name:"JSON5",type:"data",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175},bw={languages:[Ae(F0,e=>({since:"0.0.0",parsers:["babel","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],extensions:[...e.extensions.filter(t=>t!==".jsx"),".wxs"]})),Ae(F0,()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),Ae(F0,()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),Ae(mw,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),Ae(gw,()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),Ae(j2,()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[],filenames:["package.json","package-lock.json","composer.json"]})),Ae(j2,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:e.extensions.filter(t=>t!==".jsonl")})),Ae(yw,e=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...e.filenames,".eslintrc"]})),Ae(Ew,()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],options:Dw,printers:{estree:dw,"estree-json":hw},parsers:{get babel(){return{}.parsers.babel},get"babel-flow"(){return{}.parsers["babel-flow"]},get"babel-ts"(){return{}.parsers["babel-ts"]},get json(){return{}.parsers.json},get json5(){return{}.parsers.json5},get"json-stringify"(){return{}.parsers["json-stringify"]},get __js_expression(){return{}.parsers.__js_expression},get __vue_expression(){return{}.parsers.__vue_expression},get __vue_event_binding(){return{}.parsers.__vue_event_binding},get flow(){return{}.parsers.flow},get typescript(){return{}.parsers.typescript},get __ng_action(){return{}.parsers.__ng_action},get __ng_binding(){return{}.parsers.__ng_binding},get __ng_interpolation(){return{}.parsers.__ng_interpolation},get __ng_directive(){return{}.parsers.__ng_directive},get espree(){return{}.parsers.espree},get meriyah(){return{}.parsers.meriyah}}};let{isFrontMatterNode:R2}=ue,Cw=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function M2(e,t,n){if(R2(e)&&e.lang==="yaml"&&delete t.value,e.type==="css-comment"&&n.type==="css-root"&&n.nodes.length>0&&((n.nodes[0]===e||R2(n.nodes[0])&&n.nodes[1]===e)&&(delete t.text,/^\*\s*@(format|prettier)\s*$/.test(e.text))||n.type==="css-root"&&be(n.nodes)===e))return null;if(e.type==="value-root"&&delete t.text,e.type!=="media-query"&&e.type!=="media-query-list"&&e.type!=="media-feature-expression"||delete t.value,e.type==="css-rule"&&delete t.params,e.type==="selector-combinator"&&(t.value=t.value.replace(/\s+/g," ")),e.type==="media-feature"&&(t.value=t.value.replace(/ /g,"")),(e.type==="value-word"&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||e.type==="media-feature"||e.type==="selector-root-invalid"||e.type==="selector-pseudo")&&(t.value=t.value.toLowerCase()),e.type==="css-decl"&&(t.prop=t.prop.toLowerCase()),e.type!=="css-atrule"&&e.type!=="css-import"||(t.name=t.name.toLowerCase()),e.type==="value-number"&&(t.unit=t.unit.toLowerCase()),e.type!=="media-feature"&&e.type!=="media-keyword"&&e.type!=="media-type"&&e.type!=="media-unknown"&&e.type!=="media-url"&&e.type!=="media-value"&&e.type!=="selector-attribute"&&e.type!=="selector-string"&&e.type!=="selector-class"&&e.type!=="selector-combinator"&&e.type!=="value-string"||!t.value||(t.value=t.value.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")),e.type==="selector-attribute"&&(t.attribute=t.attribute.trim(),t.namespace&&typeof t.namespace=="string"&&(t.namespace=t.namespace.trim(),t.namespace.length===0&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),e.type!=="media-value"&&e.type!=="media-type"&&e.type!=="value-number"&&e.type!=="selector-root-invalid"&&e.type!=="selector-class"&&e.type!=="selector-combinator"&&e.type!=="selector-tag"||!t.value||(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(r,u,i)=>{let o=Number(u);return Number.isNaN(o)?r:o+i.toLowerCase()})),e.type==="selector-tag"){let r=e.value.toLowerCase();["from","to"].includes(r)&&(t.value=r)}e.type==="css-atrule"&&e.name.toLowerCase()==="supports"&&delete t.value,e.type==="selector-unknown"&&delete t.value}d(M2,"zw"),M2.ignoredProperties=Cw;var vw=M2;let{builders:{hardline:q2,markAsRoot:Aw}}=Q;var S0=d(function(e,t){if(e.lang==="yaml"){let n=e.value.trim(),r=n?t(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return Aw([e.startDelimiter,q2,r,r?q2:"",e.endDelimiter])}},"Xw");let{builders:{hardline:Fw}}=Q;var Sw=d(function(e,t,n){let r=e.getValue();if(r.type==="front-matter"){let u=S0(r,n);return u?[u,Fw]:""}},"Kw");let xw=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>[\\S\\s]*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)");var Qs=d(function(e){let t=e.match(xw);if(!t)return{content:e};let{startDelimiter:n,language:r,value:u="",endDelimiter:i}=t.groups,o=r.trim()||"yaml";if(n==="+++"&&(o="toml"),o!=="yaml"&&n!==i)return{content:e};let[a]=t;return{frontMatter:{type:"front-matter",lang:o,value:u,startDelimiter:n,endDelimiter:i,raw:a.replace(/\n$/,"")},content:a.replace(/[^\n]/g," ")+e.slice(a.length)}},"Zw"),Tw={hasPragma:function(e){return hp.hasPragma(Qs(e).content)},insertPragma:function(e){let{frontMatter:t,content:n}=Qs(e);return(t?t.raw+`
|
|
138
|
+
|
|
139
|
+
`:"")+hp.insertPragma(n)}};let{isNonEmptyArray:$2}=ue,ww=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function V2(e,t){let n=Array.isArray(t)?t:[t],r,u=-1;for(;r=e.getParentNode(++u);)if(n.includes(r.type))return u;return-1}d(V2,"rT");function Un(e,t){let n=V2(e,t);return n===-1?null:e.getParentNode(n)}d(Un,"oT");function U2(e){return e.type==="value-operator"&&e.value==="*"}d(U2,"iT");function W2(e){return e.type==="value-operator"&&e.value==="/"}d(W2,"uT");function G2(e){return e.type==="value-operator"&&e.value==="+"}d(G2,"sT");function H2(e){return e.type==="value-operator"&&e.value==="-"}d(H2,"aT");function z2(e){return e.type==="value-operator"&&e.value==="%"}d(z2,"cT");function x0(e){return e.type==="value-comma_group"&&e.groups&&e.groups[1]&&e.groups[1].type==="value-colon"}d(x0,"lT");function Zs(e){return e.type==="value-paren_group"&&e.groups&&e.groups[0]&&x0(e.groups[0])}d(Zs,"pT");function X2(e){return e&&e.type==="value-colon"}d(X2,"fT");var Nw={getAncestorCounter:V2,getAncestorNode:Un,getPropOfDeclNode:function(e){let t=Un(e,"css-decl");return t&&t.prop&&t.prop.toLowerCase()},hasSCSSInterpolation:function(e){if($2(e)){for(let t=e.length-1;t>0;t--)if(e[t].type==="word"&&e[t].value==="{"&&e[t-1].type==="word"&&e[t-1].value.endsWith("#"))return!0}return!1},hasStringOrFunction:function(e){if($2(e)){for(let t=0;t<e.length;t++)if(e[t].type==="string"||e[t].type==="func")return!0}return!1},maybeToLowerCase:function(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()},insideValueFunctionNode:function(e,t){let n=Un(e,"value-func");return n&&n.value&&n.value.toLowerCase()===t},insideICSSRuleNode:function(e){let t=Un(e,"css-rule");return t&&t.raws&&t.raws.selector&&(t.raws.selector.startsWith(":import")||t.raws.selector.startsWith(":export"))},insideAtRuleNode:function(e,t){let n=Array.isArray(t)?t:[t],r=Un(e,"css-atrule");return r&&n.includes(r.name.toLowerCase())},insideURLFunctionInImportAtRuleNode:function(e){let t=e.getValue(),n=Un(e,"css-atrule");return n&&n.name==="import"&&t.groups[0].value==="url"&&t.groups.length===2},isKeyframeAtRuleKeywords:function(e,t){let n=Un(e,"css-atrule");return n&&n.name&&n.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())},isWideKeywords:function(e){return["initial","inherit","unset","revert"].includes(e.toLowerCase())},isSCSS:function(e,t){return e==="less"||e==="scss"?e==="scss":/(\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(t)},isSCSSVariable:function(e){return Boolean(e&&e.type==="word"&&e.value.startsWith("$"))},isLastNode:function(e,t){let n=e.getParentNode();if(!n)return!1;let{nodes:r}=n;return r&&r.indexOf(t)===r.length-1},isLessParser:function(e){return e.parser==="css"||e.parser==="less"},isSCSSControlDirectiveNode:function(e){return e.type==="css-atrule"&&["if","else","for","each","while"].includes(e.name)},isDetachedRulesetDeclarationNode:function(e){return!!e.selector&&(typeof e.selector=="string"&&/^@.+:.*$/.test(e.selector)||e.selector.value&&/^@.+:.*$/.test(e.selector.value))},isRelationalOperatorNode:function(e){return e.type==="value-word"&&["<",">","<=",">="].includes(e.value)},isEqualityOperatorNode:function(e){return e.type==="value-word"&&["==","!="].includes(e.value)},isMultiplicationNode:U2,isDivisionNode:W2,isAdditionNode:G2,isSubtractionNode:H2,isModuloNode:z2,isMathOperatorNode:function(e){return U2(e)||W2(e)||G2(e)||H2(e)||z2(e)},isEachKeywordNode:function(e){return e.type==="value-word"&&e.value==="in"},isForKeywordNode:function(e){return e.type==="value-word"&&["from","through","end"].includes(e.value)},isURLFunctionNode:function(e){return e.type==="value-func"&&e.value.toLowerCase()==="url"},isIfElseKeywordNode:function(e){return e.type==="value-word"&&["and","or","not"].includes(e.value)},hasComposesNode:function(e){return e.value&&e.value.type==="value-root"&&e.value.group&&e.value.group.type==="value-value"&&e.prop.toLowerCase()==="composes"},hasParensAroundNode:function(e){return e.value&&e.value.group&&e.value.group.group&&e.value.group.group.type==="value-paren_group"&&e.value.group.group.open!==null&&e.value.group.group.close!==null},hasEmptyRawBefore:function(e){return e.raws&&e.raws.before===""},isSCSSNestedPropertyNode:function(e){return!!e.selector&&e.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*?\n/,"").trim().endsWith(":")},isDetachedRulesetCallNode:function(e){return e.raws&&e.raws.params&&/^\(\s*\)$/.test(e.raws.params)},isTemplatePlaceholderNode:function(e){return e.name.startsWith("prettier-placeholder")},isTemplatePropNode:function(e){return e.prop.startsWith("@prettier-placeholder")},isPostcssSimpleVarNode:function(e,t){return e.value==="$$"&&e.type==="value-func"&&t&&t.type==="value-word"&&!t.raws.before},isKeyValuePairNode:x0,isKeyValuePairInParenGroupNode:Zs,isKeyInValuePairNode:function(e,t){if(!x0(t))return!1;let{groups:n}=t,r=n.indexOf(e);return r!==-1&&X2(n[r+1])},isSCSSMapItemNode:function(e){let t=e.getValue();if(t.groups.length===0)return!1;let n=e.getParentNode(1);if(!(Zs(t)||n&&Zs(n)))return!1;let r=Un(e,"css-decl");return!!(r&&r.prop&&r.prop.startsWith("$"))||!!Zs(n)||n.type==="value-func"},isInlineValueCommentNode:function(e){return e.type==="value-comment"&&e.inline},isHashNode:function(e){return e.type==="value-word"&&e.value==="#"},isLeftCurlyBraceNode:function(e){return e.type==="value-word"&&e.value==="{"},isRightCurlyBraceNode:function(e){return e.type==="value-word"&&e.value==="}"},isWordNode:function(e){return["value-word","value-atword"].includes(e.type)},isColonNode:X2,isMediaAndSupportsKeywords:function(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())},isColorAdjusterFuncNode:function(e){return e.type==="value-func"&&ww.has(e.value.toLowerCase())},lastLineHasInlineComment:function(e){return/\/\//.test(e.split(/[\n\r]/).pop())},stringifyNode:d(function e(t){if(t.groups)return(t.open&&t.open.value?t.open.value:"")+t.groups.reduce((u,i,o)=>u+e(i)+(t.groups[0].type==="comma_group"&&o!==t.groups.length-1?",":""),"")+(t.close&&t.close.value?t.close.value:"");let n=t.raws&&t.raws.before?t.raws.before:"",r=t.raws&&t.raws.quote?t.raws.quote:"";return n+r+(t.type==="atword"?"@":"")+(t.value?t.value:"")+r+(t.unit?t.unit:"")+(t.group?e(t.group):"")+(t.raws&&t.raws.after?t.raws.after:"")},"e"),isAtWordPlaceholderNode:function(e){return e&&e.type==="value-atword"&&e.value.startsWith("prettier-placeholder-")}},J2=d(function(e,t){let n=0;for(let r=0;r<e.line-1;++r)n=t.indexOf(`
|
|
140
|
+
`,n)+1;return n+e.column},"hT");let{getLast:Bw,skipEverythingButNewLine:kw}=ue;function Y2(e,t){return typeof e.sourceIndex=="number"?e.sourceIndex:e.source?J2(e.source.start,t)-1:null}d(Y2,"yT");function K2(e,t){if(e.type==="css-comment"&&e.inline)return kw(t,e.source.startOffset);let n=e.nodes&&Bw(e.nodes);return n&&e.source&&!e.source.end&&(e=n),e.source&&e.source.end?J2(e.source.end,t):null}d(K2,"DT");function Q2(e,t,n){e.source&&(e.source.startOffset=Y2(e,n)+t,e.source.endOffset=K2(e,n)+t);for(let r in e){let u=e[r];r!=="source"&&u&&typeof u=="object"&&Q2(u,t,n)}}d(Q2,"ET");function _w(e){let t=e.source.startOffset;return typeof e.prop=="string"&&(t+=e.prop.length),e.type==="css-atrule"&&typeof e.name=="string"&&(t+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/)[0].length),e.type!=="css-atrule"&&e.raws&&typeof e.raws.between=="string"&&(t+=e.raws.between.length),t}d(_w,"bT");var Pw={locStart:function(e){return e.source.startOffset},locEnd:function(e){return e.source.endOffset},calculateLoc:d(function e(t,n){t.source&&(t.source.startOffset=Y2(t,n),t.source.endOffset=K2(t,n));for(let r in t){let u=t[r];r!=="source"&&u&&typeof u=="object"&&(u.type==="value-root"||u.type==="value-unknown"?Q2(u,_w(t),u.text||u.value):e(u,n))}},"e"),replaceQuotesInInlineComments:function(e){let t,n="initial",r="initial",u=!1,i=[];for(let o=0;o<e.length;o++){let a=e[o];switch(n){case"initial":if(a==="'"){n="single-quotes";continue}if(a==='"'){n="double-quotes";continue}if((a==="u"||a==="U")&&e.slice(o,o+4).toLowerCase()==="url("){n="url",o+=3;continue}if(a==="*"&&e[o-1]==="/"){n="comment-block";continue}if(a==="/"&&e[o-1]==="/"){n="comment-inline",t=o-1;continue}continue;case"single-quotes":if(a==="'"&&e[o-1]!=="\\"&&(n=r,r="initial"),a===`
|
|
141
|
+
`||a==="\r")return e;continue;case"double-quotes":if(a==='"'&&e[o-1]!=="\\"&&(n=r,r="initial"),a===`
|
|
142
|
+
`||a==="\r")return e;continue;case"url":if(a===")"&&(n="initial"),a===`
|
|
143
|
+
`||a==="\r")return e;if(a==="'"){n="single-quotes",r="url";continue}if(a==='"'){n="double-quotes",r="url";continue}continue;case"comment-block":a==="/"&&e[o-1]==="*"&&(n="initial");continue;case"comment-inline":a!=='"'&&a!=="'"&&a!=="*"||(u=!0),a!==`
|
|
144
|
+
`&&a!=="\r"||(u&&i.push([t,o]),n="initial",u=!1);continue}}for(let[o,a]of i)e=e.slice(0,o)+e.slice(o,a).replace(/["'*]/g," ")+e.slice(a);return e}};let{printNumber:Ow,printString:Z2,hasNewline:Iw,isFrontMatterNode:e1,isNextLineEmpty:Lw,isNonEmptyArray:jw}=ue,{builders:{join:Hu,line:st,hardline:ut,softline:Wn,group:Gt,fill:T0,indent:_t,dedent:ec,ifBreak:t1,breakParent:n1},utils:{removeLines:Rw,getDocParts:r1}}=Q,{insertPragma:Mw}=Tw,{getAncestorNode:w0,getPropOfDeclNode:qw,maybeToLowerCase:wr,insideValueFunctionNode:tc,insideICSSRuleNode:$w,insideAtRuleNode:N0,insideURLFunctionInImportAtRuleNode:Vw,isKeyframeAtRuleKeywords:Uw,isWideKeywords:Ww,isSCSS:Gw,isLastNode:B0,isLessParser:u1,isSCSSControlDirectiveNode:k0,isDetachedRulesetDeclarationNode:Hw,isRelationalOperatorNode:zw,isEqualityOperatorNode:Xw,isMultiplicationNode:i1,isDivisionNode:_0,isAdditionNode:Nr,isSubtractionNode:Pa,isMathOperatorNode:P0,isEachKeywordNode:Jw,isForKeywordNode:Yw,isURLFunctionNode:Kw,isIfElseKeywordNode:Qw,hasComposesNode:Zw,hasParensAroundNode:e6,hasEmptyRawBefore:zu,isKeyValuePairNode:t6,isKeyInValuePairNode:n6,isDetachedRulesetCallNode:a1,isTemplatePlaceholderNode:o1,isTemplatePropNode:r6,isPostcssSimpleVarNode:u6,isSCSSMapItemNode:i6,isInlineValueCommentNode:s1,isHashNode:O0,isLeftCurlyBraceNode:c1,isRightCurlyBraceNode:I0,isWordNode:nc,isColonNode:l1,isMediaAndSupportsKeywords:a6,isColorAdjusterFuncNode:o6,lastLineHasInlineComment:Oa,isAtWordPlaceholderNode:L0}=Nw,{locStart:Br,locEnd:Gn}=Pw;function s6(e){return e.trailingComma==="es5"||e.trailingComma==="all"}d(s6,"IB");function Ia(e,t,n){let r=[];return e.each((u,i,o)=>{let a=o[i-1];if(a&&a.type==="css-comment"&&a.text.trim()==="prettier-ignore"){let s=u.getValue();r.push(t.originalText.slice(Br(s),Gn(s)))}else r.push(n());i!==o.length-1&&(o[i+1].type==="css-comment"&&!Iw(t.originalText,Br(o[i+1]),{backwards:!0})&&!e1(o[i])||o[i+1].type==="css-atrule"&&o[i+1].name==="else"&&o[i].type!=="css-comment"?r.push(" "):(r.push(t.__isHTMLStyleAttribute?st:ut),Lw(t.originalText,u.getValue(),Gn)&&!e1(o[i])&&r.push(ut)))},"nodes"),r}d(Ia,"jB");let p1=/(["'])(?:(?!\1)[^\\]|\\[\S\s])*\1/g,c6=new RegExp(p1.source+"|"+"(".concat(/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g.source,")?")+"(".concat(/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g.source,")")+"(".concat(/[A-Za-z]+/g.source,")?"),"g");function en(e,t){return e.replace(p1,n=>Z2(n,t))}d(en,"MB");function l6(e,t){let n=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:n+e+n}d(l6,"RB");function Xu(e){return e.replace(c6,(t,n,r,u,i)=>!r&&u?d1(u)+wr(i||""):t)}d(Xu,"VB");function d1(e){return Ow(e).replace(/\.0(?=$|e)/,"")}d(d1,"$B");var p6={print:function(e,t,n){let r=e.getValue();if(!r)return"";if(typeof r=="string")return r;switch(r.type){case"front-matter":return[r.raw,ut];case"css-root":{let u=Ia(e,t,n),i=r.raws.after.trim();return[u,i?" ".concat(i):"",r1(u).length>0?ut:""]}case"css-comment":{let u=r.inline||r.raws.inline,i=t.originalText.slice(Br(r),Gn(r));return u?i.trimEnd():i}case"css-rule":return[n("selector"),r.important?" !important":"",r.nodes?[r.selector&&r.selector.type==="selector-unknown"&&Oa(r.selector.value)?st:" ","{",r.nodes.length>0?_t([ut,Ia(e,t,n)]):"",ut,"}",Hw(r)?";":""]:";"];case"css-decl":{let u=e.getParentNode(),{between:i}=r.raws,o=i.trim(),a=o===":",s=Zw(r)?Rw(n("value")):n("value");return!a&&Oa(o)&&(s=_t([ut,ec(s)])),[r.raws.before.replace(/[\s;]/g,""),$w(e)?r.prop:wr(r.prop),o.startsWith("//")?" ":"",o,r.extend?"":" ",u1(t)&&r.extend&&r.selector?["extend(",n("selector"),")"]:"",s,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",_t([Wn,Ia(e,t,n)]),Wn,"}"]:r6(r)&&!u.raws.semicolon&&t.originalText[Gn(r)-1]!==";"?"":t.__isHTMLStyleAttribute&&B0(e,r)?t1(";"):";"]}case"css-atrule":{let u=e.getParentNode(),i=o1(r)&&!u.raws.semicolon&&t.originalText[Gn(r)-1]!==";";if(u1(t)){if(r.mixin)return[n("selector"),r.important?" !important":"",i?"":";"];if(r.function)return[r.name,n("params"),i?"":";"];if(r.variable)return["@",r.name,": ",r.value?n("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",_t([r.nodes.length>0?Wn:"",Ia(e,t,n)]),Wn,"}"]:"",i?"":";"]}return["@",a1(r)||r.name.endsWith(":")?r.name:wr(r.name),r.params?[a1(r)?"":o1(r)?r.raws.afterName===""?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[ut,ut]:/^\s*\n/.test(r.raws.afterName)?ut:" ":" ",n("params")]:"",r.selector?_t([" ",n("selector")]):"",r.value?Gt([" ",n("value"),k0(r)?e6(r)?" ":st:""]):r.name==="else"?" ":"",r.nodes?[k0(r)?"":r.selector&&!r.selector.nodes&&typeof r.selector.value=="string"&&Oa(r.selector.value)||!r.selector&&typeof r.params=="string"&&Oa(r.params)?st:" ","{",_t([r.nodes.length>0?Wn:"",Ia(e,t,n)]),Wn,"}"]:i?"":";"]}case"media-query-list":{let u=[];return e.each(i=>{let o=i.getValue();o.type==="media-query"&&o.value===""||u.push(n())},"nodes"),Gt(_t(Hu(st,u)))}case"media-query":return[Hu(" ",e.map(n,"nodes")),B0(e,r)?"":","];case"media-type":return Xu(en(r.value,t));case"media-feature-expression":return r.nodes?["(",...e.map(n,"nodes"),")"]:r.value;case"media-feature":return wr(en(r.value.replace(/ +/g," "),t));case"media-colon":return[r.value," "];case"media-value":return Xu(en(r.value,t));case"media-keyword":return en(r.value,t);case"media-url":return en(r.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/gi,")"),t);case"media-unknown":return r.value;case"selector-root":return Gt([N0(e,"custom-selector")?[w0(e,"css-atrule").customSelector,st]:"",Hu([",",N0(e,["extend","custom-selector","nest"])?st:ut],e.map(n,"nodes"))]);case"selector-selector":return Gt(_t(e.map(n,"nodes")));case"selector-comment":return r.value;case"selector-string":return en(r.value,t);case"selector-tag":{let u=e.getParentNode(),i=u&&u.nodes.indexOf(r),o=i&&u.nodes[i-1];return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",o.type==="selector-nesting"?r.value:Xu(Uw(e,r.value)?r.value.toLowerCase():r.value)]}case"selector-id":return["#",r.value];case"selector-class":return[".",Xu(en(r.value,t))];case"selector-attribute":return["[",r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator?r.operator:"",r.value?l6(en(r.value.trim(),t),t):"",r.insensitive?" i":"","]"];case"selector-combinator":if(r.value==="+"||r.value===">"||r.value==="~"||r.value===">>>"){let u=e.getParentNode();return[u.type==="selector-selector"&&u.nodes[0]===r?"":st,r.value,B0(e,r)?"":" "]}return[r.value.trim().startsWith("(")?st:"",Xu(en(r.value.trim(),t))||st];case"selector-universal":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[wr(r.value),jw(r.nodes)?["(",Hu(", ",e.map(n,"nodes")),")"]:""];case"selector-nesting":return r.value;case"selector-unknown":{let u=w0(e,"css-rule");if(u&&u.isSCSSNesterProperty)return Xu(en(wr(r.value),t));let i=e.getParentNode();if(i.raws&&i.raws.selector){let a=Br(i),s=a+i.raws.selector.length;return t.originalText.slice(a,s).trim()}let o=e.getParentNode(1);if(i.type==="value-paren_group"&&o&&o.type==="value-func"&&o.value==="selector"){let a=Br(i.open)+1,s=Gn(i.close)-1,c=t.originalText.slice(a,s).trim();return Oa(c)?[n1,c]:c}return r.value}case"value-value":case"value-root":return n("group");case"value-comment":return t.originalText.slice(Br(r),Gn(r));case"value-comma_group":{let u=e.getParentNode(),i=e.getParentNode(1),o=qw(e),a=o&&u.type==="value-value"&&(o==="grid"||o.startsWith("grid-template")),s=w0(e,"css-atrule"),c=s&&k0(s),l=r.groups.some(C=>s1(C)),p=e.map(n,"groups"),h=[],f=tc(e,"url"),g=!1,E=!1;for(let C=0;C<r.groups.length;++C){h.push(p[C]);let A=r.groups[C-1],v=r.groups[C],S=r.groups[C+1],_=r.groups[C+2];if(f){(S&&Nr(S)||Nr(v))&&h.push(" ");continue}if(!S||v.type==="value-word"&&v.value.endsWith("-")&&L0(S))continue;let w=v.type==="value-string"&&v.value.startsWith("#{"),B=g&&S.type==="value-string"&&S.value.endsWith("}");if(w||B){g=!g;continue}if(g||l1(v)||l1(S)||v.type==="value-atword"&&v.value===""||v.value==="~"||v.value&&v.value.includes("\\")&&S&&S.type!=="value-comment"||A&&A.value&&A.value.indexOf("\\")===A.value.length-1&&v.type==="value-operator"&&v.value==="/"||v.value==="\\"||u6(v,S)||O0(v)||c1(v)||I0(S)||c1(S)&&zu(S)||I0(v)&&zu(S)||v.value==="--"&&O0(S))continue;let O=P0(v),H=P0(S);if((O&&O0(S)||H&&I0(v))&&zu(S)||!A&&_0(v)||tc(e,"calc")&&(Nr(v)||Nr(S)||Pa(v)||Pa(S))&&zu(S))continue;let X=(Nr(v)||Pa(v))&&C===0&&(S.type==="value-number"||S.isHex)&&i&&o6(i)&&!zu(S),$=_&&_.type==="value-func"||_&&nc(_)||v.type==="value-func"||nc(v),U=S.type==="value-func"||nc(S)||A&&A.type==="value-func"||A&&nc(A);if(i1(S)||i1(v)||tc(e,"calc")||X||!(_0(S)&&!$||_0(v)&&!U||Nr(S)&&!$||Nr(v)&&!U||Pa(S)||Pa(v))||!(zu(S)||O&&(!A||A&&P0(A))))if(s1(v)){if(u.type==="value-paren_group"){h.push(ec(ut));continue}h.push(ut)}else c&&(Xw(S)||zw(S)||Qw(S)||Jw(v)||Yw(v))||s&&s.name.toLowerCase()==="namespace"?h.push(" "):a?v.source&&S.source&&v.source.start.line!==S.source.start.line?(h.push(ut),E=!0):h.push(" "):H?h.push(" "):S&&S.value==="..."||L0(v)&&L0(S)&&Gn(v)===Br(S)||h.push(st)}return l&&h.push(n1),E&&h.unshift(ut),c?Gt(_t(h)):Vw(e)?Gt(T0(h)):Gt(_t(T0(h)))}case"value-paren_group":{let u=e.getParentNode();if(u&&Kw(u)&&(r.groups.length===1||r.groups.length>0&&r.groups[0].type==="value-comma_group"&&r.groups[0].groups.length>0&&r.groups[0].groups[0].type==="value-word"&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?n("open"):"",Hu(",",e.map(n,"groups")),r.close?n("close"):""];if(!r.open){let l=e.map(n,"groups"),p=[];for(let h=0;h<l.length;h++)h!==0&&p.push([",",st]),p.push(l[h]);return Gt(_t(T0(p)))}let i=i6(e),o=be(r.groups),a=o&&o.type==="value-comment",s=n6(r,u),c=Gt([r.open?n("open"):"",_t([Wn,Hu([",",st],e.map(l=>{let p=l.getValue(),h=n();if(t6(p)&&p.type==="value-comma_group"&&p.groups&&p.groups[0].type!=="value-paren_group"&&p.groups[2]&&p.groups[2].type==="value-paren_group"){let f=r1(h.contents.contents);return f[1]=Gt(f[1]),Gt(ec(h))}return h},"groups"))]),t1(!a&&Gw(t.parser,t.originalText)&&i&&s6(t)?",":""),Wn,r.close?n("close"):""],{shouldBreak:i&&!s});return s?ec(c):c}case"value-func":return[r.value,N0(e,"supports")&&a6(r)?" ":"",n("group")];case"value-paren":return r.value;case"value-number":return[d1(r.value),wr(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||Ww(r.value)?r.value.toLowerCase():r.value;case"value-colon":{let u=e.getParentNode(),i=u&&u.groups.indexOf(r),o=i&&u.groups[i-1];return[r.value,o&&typeof o.value=="string"&&be(o.value)==="\\"||tc(e,"url")?"":st]}case"value-comma":return[r.value," "];case"value-string":return Z2(r.raws.quote+r.value+r.raws.quote,t);case"value-atword":return["@",r.value];case"value-unicode-range":case"value-unknown":return r.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(r.type)))}},embed:Sw,insertPragma:Mw,massageAstNode:vw},d6={singleQuote:Cn.singleQuote},f6={name:"PostCSS",type:"markup",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437},h6={name:"Less",type:"markup",color:"#1d365d",extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198},D6={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329},m6={languages:[Ae({name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50},e=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...e.extensions,".wxss"]})),Ae(f6,()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),Ae(h6,()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),Ae(D6,()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],options:d6,printers:{postcss:p6},parsers:{get css(){return{}.parsers.css},get less(){return{}.parsers.less},get scss(){return{}.parsers.scss}}},g6={locStart:function(e){return e.loc.start.offset},locEnd:function(e){return e.loc.end.offset}};function f1(e,t){if(e.type==="TextNode"){let n=e.chars.trim();if(!n)return null;t.chars=n.replace(/[\t\n\f\r ]+/g," ")}e.type==="AttrNode"&&e.name.toLowerCase()==="class"&&delete t.value}d(f1,"XB"),f1.ignoredProperties=new Set(["loc","selfClosing"]);var y6=f1;let E6=new Set(["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]);function h1(e){return kr(e,["TextNode"])&&!/\S/.test(e.chars)}d(h1,"QB");function kr(e,t){return e&&t.includes(e.type)}d(kr,"ZB");function j0(e,t){return kr(e.getParentNode(0),t)}d(j0,"ek");function D1(e,t){let n=e.getValue(),r=e.getParentNode(0)||{},u=r.children||r.body||r.parts||[],i=u.indexOf(n);return i!==-1&&u[i+t]}d(D1,"tk");function R0(e,t=1){return D1(e,-t)}d(R0,"nk");function m1(e){return D1(e,1)}d(m1,"rk");function g1(e){return kr(e,["MustacheCommentStatement"])&&typeof e.value=="string"&&e.value.trim()==="prettier-ignore"}d(g1,"ok");var b6={getNextNode:m1,getPreviousNode:R0,hasPrettierIgnore:function(e){let t=e.getValue(),n=R0(e,2);return g1(t)||g1(n)},isLastNodeOfSiblings:function(e){let t=e.getValue(),n=e.getParentNode(0);return!(!j0(e,["ElementNode"])||be(n.children)!==t)||!(!j0(e,["Block"])||be(n.body)!==t)},isNextNodeOfSomeType:function(e,t){return kr(m1(e),t)},isNodeOfSomeType:kr,isParentOfSomeType:j0,isPreviousNodeOfSomeType:function(e,t){return kr(R0(e),t)},isVoid:function(e){return function(t){return kr(t,["ElementNode"])&&typeof t.tag=="string"&&(function(n){return n.toUpperCase()===n}(t.tag[0])||t.tag.includes("."))}(e)&&e.children.every(t=>h1(t))||E6.has(e.tag)},isWhitespaceNode:h1};let{builders:{dedent:y1,fill:E1,group:tn,hardline:Ju,ifBreak:b1,indent:mt,join:rc,line:ct,softline:vn,literalline:C6},utils:{getDocParts:v6}}=Q,{isNonEmptyArray:C1,replaceEndOfLineWith:A6}=ue,{locStart:M0,locEnd:q0}=g6,{getNextNode:F6,getPreviousNode:S6,hasPrettierIgnore:x6,isLastNodeOfSiblings:v1,isNextNodeOfSomeType:uc,isNodeOfSomeType:$0,isParentOfSomeType:ic,isPreviousNodeOfSomeType:V0,isVoid:A1,isWhitespaceNode:F1}=b6;function S1(e,t,n){let r=e.getValue().children.every(u=>F1(u));return t.htmlWhitespaceSensitivity==="ignore"&&r?"":e.map((u,i)=>{let o=n();return i===0&&t.htmlWhitespaceSensitivity==="ignore"?[vn,o]:o},"children")}d(S1,"Nk");function T6(e){return A1(e)?b1([vn,"/>"],[" />",vn]):b1([vn,">"],">")}d(T6,"Pk");function ac(e){return[e.escaped===!1?"{{{":"{{",e.strip&&e.strip.open?"~":""]}d(ac,"Ok");function oc(e){let t=e.escaped===!1?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}d(oc,"Ik");function x1(e){return[ac(e),e.closeStrip.open?"~":"","/"]}d(x1,"jk");function T1(e){let t=oc(e);return[e.closeStrip.close?"~":"",t]}d(T1,"Lk");function w1(e){return[ac(e),e.inverseStrip.open?"~":""]}d(w1,"_k");function N1(e){let t=oc(e);return[e.inverseStrip.close?"~":"",t]}d(N1,"Mk");function w6(e,t){let n=e.getValue(),r=function(a){return[ac(a),a.openStrip.open?"~":"","#"]}(n),u=function(a){let s=oc(a);return[a.openStrip.close?"~":"",s]}(n),i=[W0(e,t)],o=sc(e,t);if(o&&i.push(ct,o),C1(n.program.blockParams)){let a=L1(n.program);i.push(ct,a)}return tn([r,mt(i),vn,u])}d(w6,"Rk");function N6(e,t){return[t.htmlWhitespaceSensitivity==="ignore"?Ju:"",w1(e),"else",N1(e)]}d(N6,"Vk");function B6(e,t){let n=e.getParentNode(1);return[w1(n),"else if ",sc(e,t),N1(n)]}d(B6,"$k");function k6(e,t,n){let r=e.getValue();return n.htmlWhitespaceSensitivity==="ignore"?[B1(r)?vn:Ju,x1(r),t("path"),T1(r)]:[x1(r),t("path"),T1(r)]}d(k6,"qk");function B1(e){return $0(e,["BlockStatement"])&&e.program.body.every(t=>F1(t))}d(B1,"Wk");function k1(e){return $0(e,["BlockStatement"])&&e.inverse}d(k1,"Uk");function _1(e,t,n){if(B1(e.getValue()))return"";let r=t("program");return n.htmlWhitespaceSensitivity==="ignore"?mt([Ju,r]):mt(r)}d(_1,"zk");function P1(e,t,n){let r=e.getValue(),u=t("inverse"),i=n.htmlWhitespaceSensitivity==="ignore"?[Ju,u]:u;return function(o){return k1(o)&&o.inverse.body.length===1&&$0(o.inverse.body[0],["BlockStatement"])&&o.inverse.body[0].path.parts[0]==="if"}(r)?i:k1(r)?[N6(r,n),mt(i)]:""}d(P1,"Hk");function O1(e){return v6(rc(ct,function(t){return t.split(/[\t\n\f\r ]+/)}(e)))}d(O1,"Gk");function Yu(e){return(e=typeof e=="string"?e:"").split(`
|
|
145
|
+
`).length-1}d(Yu,"Jk");function La(e=0){return new Array(Math.min(e,2)).fill(Ju)}d(La,"Xk");function U0(e,t){let n={quote:'"',regex:/"/g},r={quote:"'",regex:/'/g},u=e.singleQuote?r:n,i=u===r?n:r,o=!1;return(t.includes(u.quote)||t.includes(i.quote))&&(o=(t.match(u.regex)||[]).length>(t.match(i.regex)||[]).length),o?i:u}d(U0,"Yk");function _6(e,t){let n=W0(e,t),r=sc(e,t);return r?mt([n,ct,tn(r)]):n}d(_6,"Kk");function I1(e,t){let n=W0(e,t),r=sc(e,t);return r?[mt([n,ct,r]),vn]:n}d(I1,"Qk");function W0(e,t){return t("path")}d(W0,"Zk");function sc(e,t){let n=e.getValue(),r=[];if(n.params.length>0){let u=e.map(t,"params");r.push(...u)}if(n.hash&&n.hash.pairs.length>0){let u=t("hash");r.push(u)}return r.length===0?"":rc(ct,r)}d(sc,"eN");function L1(e){return["as |",e.blockParams.join(" "),"|"]}d(L1,"tN");var P6={print:function(e,t,n){let r=e.getValue();if(!r)return"";if(x6(e))return t.originalText.slice(M0(r),q0(r));switch(r.type){case"Block":case"Program":case"Template":return tn(e.map(n,"body"));case"ElementNode":{let u=tn(function(a,s){let c=a.getValue(),l=["attributes","modifiers","comments","blockParams"].filter(p=>C1(c[p])).map(p=>[ct,p==="blockParams"?L1(c):rc(ct,a.map(s,p))]);return["<",c.tag,mt(l),T6(c)]}(e,n)),i=t.htmlWhitespaceSensitivity==="ignore"&&uc(e,["ElementNode"])?vn:"";if(A1(r))return[u,i];let o=["</",r.tag,">"];return r.children.length===0?[u,mt(o),i]:t.htmlWhitespaceSensitivity==="ignore"?[u,mt(S1(e,t,n)),Ju,mt(o),i]:[u,mt(tn(S1(e,t,n))),mt(o),i]}case"BlockStatement":{let u=e.getParentNode(1);return u&&u.inverse&&u.inverse.body.length===1&&u.inverse.body[0]===r&&u.inverse.body[0].path.parts[0]==="if"?[B6(e,n),_1(e,n,t),P1(e,n,t)]:[w6(e,n),tn([_1(e,n,t),P1(e,n,t),k6(e,n,t)])]}case"ElementModifierStatement":return tn(["{{",I1(e,n),"}}"]);case"MustacheStatement":return tn([ac(r),I1(e,n),oc(r)]);case"SubExpression":return tn(["(",_6(e,n),vn,")"]);case"AttrNode":{let u=r.value.type==="TextNode";if(u&&r.value.chars===""&&M0(r.value)===q0(r.value))return r.name;let i=u?U0(t,r.value.chars).quote:r.value.type==="ConcatStatement"?U0(t,r.value.parts.filter(a=>a.type==="TextNode").map(a=>a.chars).join("")).quote:"",o=n("value");return[r.name,"=",i,r.name==="class"&&i?tn(mt(o)):o,i]}case"ConcatStatement":return e.map(n,"parts");case"Hash":return rc(ct,e.map(n,"pairs"));case"HashPair":return[r.key,"=",n("value")];case"TextNode":{let u=r.chars.replace(/{{/g,"\\{{"),i=function(g){for(let E=0;E<2;E++){let C=g.getParentNode(E);if(C&&C.type==="AttrNode")return C.name.toLowerCase()}}(e);if(i){if(i==="class"){let g=u.trim().split(/\s+/).join(" "),E=!1,C=!1;return ic(e,["ConcatStatement"])&&(V0(e,["MustacheStatement"])&&/^\s/.test(u)&&(E=!0),uc(e,["MustacheStatement"])&&/\s$/.test(u)&&g!==""&&(C=!0)),[E?ct:"",g,C?ct:""]}return A6(u,C6)}let o=/^[\t\n\f\r ]*$/.test(u),a=!S6(e),s=!F6(e);if(t.htmlWhitespaceSensitivity!=="ignore"){let g=/^[\t\n\f\r ]*/,E=/[\t\n\f\r ]*$/,C=s&&ic(e,["Template"]),A=a&&ic(e,["Template"]);if(o){if(A||C)return"";let B=[ct],O=Yu(u);return O&&(B=La(O)),v1(e)&&(B=B.map(H=>y1(H))),B}let[v]=u.match(g),[S]=u.match(E),_=[];if(v){_=[ct];let B=Yu(v);B&&(_=La(B)),u=u.replace(g,"")}let w=[];if(S){if(!C){w=[ct];let B=Yu(S);B&&(w=La(B)),v1(e)&&(w=w.map(O=>y1(O)))}u=u.replace(E,"")}return[..._,E1(O1(u)),...w]}let c=Yu(u),l=function(g){return Yu(((g=typeof g=="string"?g:"").match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"")}(u),p=function(g){return Yu(((g=typeof g=="string"?g:"").match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"")}(u);if((a||s)&&o&&ic(e,["Block","ElementNode","Template"]))return"";o&&c?(l=Math.min(c,2),p=0):(uc(e,["BlockStatement","ElementNode"])&&(p=Math.max(p,1)),V0(e,["BlockStatement","ElementNode"])&&(l=Math.max(l,1)));let h="",f="";return p===0&&uc(e,["MustacheStatement"])&&(f=" "),l===0&&V0(e,["MustacheStatement"])&&(h=" "),a&&(l=0,h=""),s&&(p=0,f=""),u=u.replace(/^[\t\n\f\r ]+/g,h).replace(/[\t\n\f\r ]+$/,f),[...La(l),E1(O1(u)),...La(p)]}case"MustacheCommentStatement":{let u=M0(r),i=q0(r),o=t.originalText.charAt(u+2)==="~",a=t.originalText.charAt(i-3)==="~",s=r.value.includes("}}")?"--":"";return["{{",o?"~":"","!",s,r.value,s,a?"~":"","}}"]}case"PathExpression":return r.original;case"BooleanLiteral":return String(r.value);case"CommentStatement":return["<!--",r.value,"-->"];case"StringLiteral":return function(u,i){let{quote:o,regex:a}=U0(i,u);return[o,u.replace(a,"\\".concat(o)),o]}(r.value,t);case"NumberLiteral":return String(r.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(r.type))}},massageAstNode:y6},O6={languages:[Ae({name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155},()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],printers:{glimmer:P6},parsers:{get glimmer(){return{}.parsers.glimmer}}},I6={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return`# @format
|
|
146
|
+
|
|
147
|
+
`+e}},L6={locStart:function(e){return typeof e.start=="number"?e.start:e.loc&&e.loc.start},locEnd:function(e){return typeof e.end=="number"?e.end:e.loc&&e.loc.end}};let{builders:{join:Le,hardline:le,line:Ku,softline:ge,group:gt,indent:Ye,ifBreak:Ht}}=Q,{isNextLineEmpty:j1,isNonEmptyArray:G0}=ue,{insertPragma:j6}=I6,{locStart:R6,locEnd:R1}=L6;function Ke(e,t,n){if(n.directives.length===0)return"";let r=Le(Ku,e.map(t,"directives"));return n.kind==="FragmentDefinition"||n.kind==="OperationDefinition"?gt([Ku,r]):[" ",gt(Ye([ge,r]))]}d(Ke,"DN");function nn(e,t,n){let r=e.getValue().length;return e.map((u,i)=>{let o=n();return j1(t.originalText,u.getValue(),R1)&&i<r-1?[o,le]:o})}d(nn,"EN");function M1(e,t,n){let r=e.getNode(),u=[],{interfaces:i}=r,o=e.map(a=>n(a),"interfaces");for(let a=0;a<i.length;a++){let s=i[a];u.push(o[a]);let c=i[a+1];if(c){let l=t.originalText.slice(s.loc.end,c.loc.start),p=l.includes("#"),h=l.replace(/#.*/g,"").trim();u.push(h===","?",":" &",p?Ku:" ")}}return u}d(M1,"bN");function q1(){}d(q1,"CN"),q1.ignoredProperties=new Set(["loc","comments"]);var M6={print:function(e,t,n){let r=e.getValue();if(!r)return"";if(typeof r=="string")return r;switch(r.kind){case"Document":{let u=[];return e.each((i,o,a)=>{u.push(n()),o!==a.length-1&&(u.push(le),j1(t.originalText,i.getValue(),R1)&&u.push(le))},"definitions"),[...u,le]}case"OperationDefinition":{let u=t.originalText[R6(r)]!=="{",i=Boolean(r.name);return[u?r.operation:"",u&&i?[" ",n("name")]:"",u&&!i&&G0(r.variableDefinitions)?" ":"",G0(r.variableDefinitions)?gt(["(",Ye([ge,Le([Ht("",", "),ge],e.map(n,"variableDefinitions"))]),ge,")"]):"",Ke(e,n,r),r.selectionSet&&(u||i)?" ":"",n("selectionSet")]}case"FragmentDefinition":return["fragment ",n("name"),G0(r.variableDefinitions)?gt(["(",Ye([ge,Le([Ht("",", "),ge],e.map(n,"variableDefinitions"))]),ge,")"]):""," on ",n("typeCondition"),Ke(e,n,r)," ",n("selectionSet")];case"SelectionSet":return["{",Ye([le,Le(le,e.call(u=>nn(u,t,n),"selections"))]),le,"}"];case"Field":return gt([r.alias?[n("alias"),": "]:"",n("name"),r.arguments.length>0?gt(["(",Ye([ge,Le([Ht("",", "),ge],e.call(u=>nn(u,t,n),"arguments"))]),ge,")"]):"",Ke(e,n,r),r.selectionSet?" ":"",n("selectionSet")]);case"Name":return r.value;case"StringValue":return r.block?['"""',le,Le(le,r.value.replace(/"""/g,"\\$&").split(`
|
|
148
|
+
`)),le,'"""']:['"',r.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"'];case"IntValue":case"FloatValue":case"EnumValue":return r.value;case"BooleanValue":return r.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",n("name")];case"ListValue":return gt(["[",Ye([ge,Le([Ht("",", "),ge],e.map(n,"values"))]),ge,"]"]);case"ObjectValue":return gt(["{",t.bracketSpacing&&r.fields.length>0?" ":"",Ye([ge,Le([Ht("",", "),ge],e.map(n,"fields"))]),ge,Ht("",t.bracketSpacing&&r.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[n("name"),": ",n("value")];case"Directive":return["@",n("name"),r.arguments.length>0?gt(["(",Ye([ge,Le([Ht("",", "),ge],e.call(u=>nn(u,t,n),"arguments"))]),ge,")"]):""];case"NamedType":return n("name");case"VariableDefinition":return[n("variable"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",Ke(e,n,r)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[n("description"),r.description?le:"",r.kind==="ObjectTypeExtension"?"extend ":"","type ",n("name"),r.interfaces.length>0?[" implements ",...M1(e,t,n)]:"",Ke(e,n,r),r.fields.length>0?[" {",Ye([le,Le(le,e.call(u=>nn(u,t,n),"fields"))]),le,"}"]:""];case"FieldDefinition":return[n("description"),r.description?le:"",n("name"),r.arguments.length>0?gt(["(",Ye([ge,Le([Ht("",", "),ge],e.call(u=>nn(u,t,n),"arguments"))]),ge,")"]):"",": ",n("type"),Ke(e,n,r)];case"DirectiveDefinition":return[n("description"),r.description?le:"","directive ","@",n("name"),r.arguments.length>0?gt(["(",Ye([ge,Le([Ht("",", "),ge],e.call(u=>nn(u,t,n),"arguments"))]),ge,")"]):"",r.repeatable?" repeatable":""," on ",Le(" | ",e.map(n,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[n("description"),r.description?le:"",r.kind==="EnumTypeExtension"?"extend ":"","enum ",n("name"),Ke(e,n,r),r.values.length>0?[" {",Ye([le,Le(le,e.call(u=>nn(u,t,n),"values"))]),le,"}"]:""];case"EnumValueDefinition":return[n("description"),r.description?le:"",n("name"),Ke(e,n,r)];case"InputValueDefinition":return[n("description"),r.description?r.description.block?le:Ku:"",n("name"),": ",n("type"),r.defaultValue?[" = ",n("defaultValue")]:"",Ke(e,n,r)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[n("description"),r.description?le:"",r.kind==="InputObjectTypeExtension"?"extend ":"","input ",n("name"),Ke(e,n,r),r.fields.length>0?[" {",Ye([le,Le(le,e.call(u=>nn(u,t,n),"fields"))]),le,"}"]:""];case"SchemaDefinition":return["schema",Ke(e,n,r)," {",r.operationTypes.length>0?Ye([le,Le(le,e.call(u=>nn(u,t,n),"operationTypes"))]):"",le,"}"];case"OperationTypeDefinition":return[n("operation"),": ",n("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[n("description"),r.description?le:"",r.kind==="InterfaceTypeExtension"?"extend ":"","interface ",n("name"),r.interfaces.length>0?[" implements ",...M1(e,t,n)]:"",Ke(e,n,r),r.fields.length>0?[" {",Ye([le,Le(le,e.call(u=>nn(u,t,n),"fields"))]),le,"}"]:""];case"FragmentSpread":return["...",n("name"),Ke(e,n,r)];case"InlineFragment":return["...",r.typeCondition?[" on ",n("typeCondition")]:"",Ke(e,n,r)," ",n("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return gt([n("description"),r.description?le:"",gt([r.kind==="UnionTypeExtension"?"extend ":"","union ",n("name"),Ke(e,n,r),r.types.length>0?[" =",Ht(""," "),Ye([Ht([Ku," "]),Le([Ku,"| "],e.map(n,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[n("description"),r.description?le:"",r.kind==="ScalarTypeExtension"?"extend ":"","scalar ",n("name"),Ke(e,n,r)];case"NonNullType":return[n("type"),"!"];case"ListType":return["[",n("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(r.kind))}},massageAstNode:q1,hasPrettierIgnore:function(e){let t=e.getValue();return t&&Array.isArray(t.comments)&&t.comments.some(n=>n.value.trim()==="prettier-ignore")},insertPragma:j6,printComment:function(e){let t=e.getValue();if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))},canAttachComment:function(e){return e.kind&&e.kind!=="Comment"}},q6={bracketSpacing:Cn.bracketSpacing},$6={languages:[Ae({name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139},()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],options:q6,printers:{graphql:M6},parsers:{get graphql(){return{}.parsers.graphql}}},$1={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}};let{getLast:V1}=ue,{locStart:U1,locEnd:W1}=$1,{cjkPattern:H0,kPattern:V6,punctuationPattern:G1}={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"},H1=["liquidNode","inlineCode","emphasis","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],U6=[...H1,"tableCell","paragraph","heading"],W6=new RegExp(V6),z0=new RegExp(G1);function cc(e,t){let[,n,r,u]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:n,marker:r,leadingSpaces:u}}d(cc,"LN");var X0={mapAst:function(e,t){return d(function n(r,u,i){let o=Object.assign({},t(r,u,i));return o.children&&(o.children=o.children.map((a,s)=>n(a,s,[o,...i]))),o},"e")(e,null,[])},splitText:function(e,t){let n="non-cjk",r="cj-letter",u="cjk-punctuation",i=[],o=(t.proseWrap==="preserve"?e:e.replace(new RegExp("(".concat(H0,`)
|
|
149
|
+
(`).concat(H0,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[s,c]of o.entries()){if(s%2==1){i.push({type:"whitespace",value:/\n/.test(c)?`
|
|
150
|
+
`:" "});continue}if((s===0||s===o.length-1)&&c==="")continue;let l=c.split(new RegExp("(".concat(H0,")")));for(let[p,h]of l.entries())(p!==0&&p!==l.length-1||h!=="")&&(p%2!=0?a(z0.test(h)?{type:"word",value:h,kind:u,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:h,kind:W6.test(h)?"k-letter":r,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1}):h!==""&&a({type:"word",value:h,kind:n,hasLeadingPunctuation:z0.test(h[0]),hasTrailingPunctuation:z0.test(V1(h))}))}return i;function a(s){let c=V1(i);var l,p;c&&c.type==="word"&&(c.kind===n&&s.kind===r&&!c.hasTrailingPunctuation||c.kind===r&&s.kind===n&&!s.hasLeadingPunctuation?i.push({type:"whitespace",value:" "}):(l=n,p=u,c.kind===l&&s.kind===p||c.kind===p&&s.kind===l||[c.value,s.value].some(h=>/\u3000/.test(h))||i.push({type:"whitespace",value:""}))),i.push(s)}},punctuationPattern:G1,getFencedCodeBlockValue:function(e,t){let{value:n}=e;return e.position.end.offset===t.length&&n.endsWith(`
|
|
151
|
+
`)&&t.endsWith(`
|
|
152
|
+
`)?n.slice(0,-1):n},getOrderedListItemInfo:cc,hasGitDiffFriendlyOrderedList:function(e,t){if(!e.ordered||e.children.length<2)return!1;let n=Number(cc(e.children[0],t.originalText).numberText),r=Number(cc(e.children[1],t.originalText).numberText);if(n===0&&e.children.length>2){let u=Number(cc(e.children[2],t.originalText).numberText);return r===1&&u===1}return r===1},INLINE_NODE_TYPES:H1,INLINE_NODE_WRAPPER_TYPES:U6,isAutolink:function(e){if(!e||e.type!=="link"||e.children.length!==1)return!1;let t=e.children[0];return t&&U1(e)===U1(t)&&W1(e)===W1(t)}};let{inferParserByLanguage:G6,getMaxContinuousCount:H6}=ue,{builders:{hardline:J0,markAsRoot:z6},utils:{replaceNewlinesWithLiterallines:X6}}=Q,{getFencedCodeBlockValue:J6}=X0;var Y6=d(function(e,t,n,r){let u=e.getValue();if(u.type==="code"&&u.lang!==null){let i=G6(u.lang,r);if(i){let o=r.__inJsTemplate?"~":"`",a=o.repeat(Math.max(3,H6(u.value,o)+1)),s=n(J6(u,r.originalText),{parser:i},{stripTrailingHardline:!0});return z6([a,u.lang,u.meta?" "+u.meta:"",J0,X6(s),J0,a])}}switch(u.type){case"front-matter":return S0(u,n);case"importExport":return[n(u.value,{parser:"babel"},{stripTrailingHardline:!0}),J0];case"jsx":return n("<$>".concat(u.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null},"UN");let z1=["format","prettier"];function X1(e){let t="@(".concat(z1.join("|"),")"),n=new RegExp(["<!--\\s*".concat(t,"\\s*-->"),`<!--.*\r?
|
|
153
|
+
[\\s\\S]*(^|
|
|
154
|
+
)[^\\S
|
|
155
|
+
]*`.concat(t,`[^\\S
|
|
156
|
+
]*($|
|
|
157
|
+
)[\\s\\S]*
|
|
158
|
+
.*-->`)].join("|"),"m"),r=e.match(n);return r&&r.index===0}d(X1,"HN");var J1={startWithPragma:X1,hasPragma:e=>X1(Qs(e).content.trimStart()),insertPragma:e=>{let t=Qs(e),n="<!-- @".concat(z1[0]," -->");return t.frontMatter?"".concat(t.frontMatter.raw,`
|
|
159
|
+
|
|
160
|
+
`).concat(n,`
|
|
161
|
+
|
|
162
|
+
`).concat(t.content):"".concat(n,`
|
|
163
|
+
|
|
164
|
+
`).concat(t.content)}};let{getOrderedListItemInfo:Y1,mapAst:_r,splitText:K6}=X0,Q6=/^([\u0000-\uffff]|[\ud800-\udbff][\udc00-\udfff])$/;function K1(e,t,n){return _r(e,r=>{if(!r.children)return r;let u=r.children.reduce((i,o)=>{let a=be(i);return a&&t(a,o)?i.splice(-1,1,n(a,o)):i.push(o),i},[]);return Object.assign({},r,{children:u})})}d(K1,"QN");var Z6=d(function(e,t){return e=function(n){return K1(n,(r,u)=>r.type==="importExport"&&u.type==="importExport",(r,u)=>({type:"importExport",value:r.value+`
|
|
165
|
+
|
|
166
|
+
`+u.value,position:{start:r.position.start,end:u.position.end}}))}(e=function(n){return _r(n,r=>r.type!=="import"&&r.type!=="export"?r:Object.assign({},r,{type:"importExport"}))}(e=function(n,r){return _r(n,(u,i,[o])=>{if(u.type!=="text")return u;let{value:a}=u;return o.type==="paragraph"&&(i===0&&(a=a.trimStart()),i===o.children.length-1&&(a=a.trimEnd())),{type:"sentence",position:u.position,children:K6(a,r)}})}(e=function(n,r){return _r(n,(o,a,s)=>{if(o.type==="list"&&o.children.length>0){for(let c=0;c<s.length;c++){let l=s[c];if(l.type==="list"&&!l.isAligned)return o.isAligned=!1,o}o.isAligned=i(o)}return o});function u(o){return o.children.length===0?-1:o.children[0].position.start.column-1}function i(o){if(!o.ordered)return!0;let[a,s]=o.children;if(Y1(a,r.originalText).leadingSpaces.length>1)return!0;let c=u(a);return c===-1?!1:o.children.length===1?c%r.tabWidth==0:c!==u(s)?!1:c%r.tabWidth==0?!0:Y1(s,r.originalText).leadingSpaces.length>1}}(e=function(n,r){return _r(n,(u,i,o)=>{if(u.type==="code"){let a=/^\n?( {4,}|\t)/.test(r.originalText.slice(u.position.start.offset,u.position.end.offset));if(u.isIndented=a,a)for(let s=0;s<o.length;s++){let c=o[s];if(c.hasIndentedCodeblock)break;c.type==="list"&&(c.hasIndentedCodeblock=!0)}}return u})}(e=function(n){return _r(n,r=>r.type!=="inlineCode"?r:Object.assign({},r,{value:r.value.replace(/\s+/g," ")}))}(e=function(n){return K1(n,(r,u)=>r.type==="text"&&u.type==="text",(r,u)=>({type:"text",value:r.value+u.value,position:{start:r.position.start,end:u.position.end}}))}(e=function(n,r){return _r(n,u=>u.type==="text"&&u.value!=="*"&&u.value!=="_"&&Q6.test(u.value)&&u.position.end.offset-u.position.start.offset!==u.value.length?Object.assign({},u,{value:r.originalText.slice(u.position.start.offset,u.position.end.offset)}):u)}(e,t))),t),t),t)))},"ZN");let{isFrontMatterNode:eN}=ue,{startWithPragma:tN}=J1,nN=new Set(["position","raw"]);function Q1(e,t,n){return e.type!=="front-matter"&&e.type!=="code"&&e.type!=="yaml"&&e.type!=="import"&&e.type!=="export"&&e.type!=="jsx"||delete t.value,e.type==="list"&&delete t.isAligned,e.type!=="list"&&e.type!=="listItem"||(delete t.spread,delete t.loose),e.type==="text"?null:(e.type==="inlineCode"&&(t.value=e.value.replace(/[\t\n ]+/g," ")),e.type==="wikiLink"&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),e.type!=="definition"&&e.type!=="linkReference"||(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),e.type!=="definition"&&e.type!=="link"&&e.type!=="image"||!e.title||(t.title=e.title.replace(/\\(["')])/g,"$1")),n&&n.type==="root"&&n.children.length>0&&(n.children[0]===e||eN(n.children[0])&&n.children[1]===e)&&e.type==="html"&&tN(e.value)?null:void 0)}d(Q1,"rP"),Q1.ignoredProperties=nN;var rN=Q1;let{getLast:lc,getMinNotPresentContinuousCount:uN,getMaxContinuousCount:iN,getStringWidth:aN,isNonEmptyArray:oN}=ue,{builders:{breakParent:Z1,join:ey,line:ty,literalline:ny,markAsRoot:ry,hardline:Qe,softline:Y0,ifBreak:sN,fill:cN,align:Qu,indent:lN,group:pc,hardlineWithoutBreakParent:uy},utils:{normalizeDoc:pN},printer:{printDocToString:dN}}=Q,{replaceEndOfLineWith:ja}=ue,{insertPragma:fN}=J1,{locStart:hN,locEnd:DN}=$1,{getFencedCodeBlockValue:mN,hasGitDiffFriendlyOrderedList:gN,splitText:yN,punctuationPattern:iy,INLINE_NODE_TYPES:EN,INLINE_NODE_WRAPPER_TYPES:bN,isAutolink:ay}=X0,oy=new Set(["importExport"]),CN=["heading","tableCell","link","wikiLink"],vN=new Set(["listItem","definition","footnoteDefinition"]);function sy(e,t,n,r){let u=e.getValue(),i=u.checked===null?"":u.checked?"[x] ":"[ ] ";return[i,Ze(e,t,n,{processor:(o,a)=>{if(a===0&&o.getValue().type!=="list")return Qu(" ".repeat(i.length),n());let s=" ".repeat((c=t.tabWidth-r.length,p=3,c<(l=0)?l:c>p?p:c));var c,l,p;return[s,Qu(s,n())]}})]}d(sy,"RP");function cy(e,t){return function(n,r,u){let i=-1;for(let o of r.children)if(o.type===n.type&&u(o)?i++:i=-1,o===n)return i}(e,t,n=>n.ordered===e.ordered)}d(cy,"VP");function ly(e,t){let n=Array.isArray(t)?t:[t],r,u=-1;for(;r=e.getParentNode(++u);)if(n.includes(r.type))return u;return-1}d(ly,"$P");function K0(e,t){let n=ly(e,t);return n===-1?null:e.getParentNode(n)}d(K0,"qP");function py(e,t,n){if(n.proseWrap==="preserve"&&t===`
|
|
167
|
+
`)return Qe;let r=n.proseWrap==="always"&&!K0(e,CN);return t!==""?r?ty:" ":r?Y0:""}d(py,"WP");function AN(e,t,n){let r=[],u=null,{children:i}=e.getValue();for(let[o,a]of i.entries())switch(Q0(a)){case"start":u===null&&(u={index:o,offset:a.position.end.offset});break;case"end":u!==null&&(r.push({start:u,end:{index:o,offset:a.position.start.offset}}),u=null)}return Ze(e,t,n,{processor:(o,a)=>{if(r.length>0){let s=r[0];if(a===s.start.index)return[i[s.start.index].value,t.originalText.slice(s.start.offset,s.end.offset),i[s.end.index].value];if(s.start.index<a&&a<s.end.index)return!1;if(a===s.end.index)return r.shift(),!1}return n()}})}d(AN,"UP");function Ze(e,t,n,r={}){let{postprocessor:u}=r,i=r.processor||(()=>n()),o=e.getValue(),a=[],s;return e.each((c,l)=>{let p=c.getValue(),h=i(c,l);if(h!==!1){let f={parts:a,prevNode:s,parentNode:o,options:t};(function(g,E){let C=E.parts.length===0,A=EN.includes(g.type),v=g.type==="html"&&bN.includes(E.parentNode.type);return!C&&!A&&!v})(p,f)&&(a.push(Qe),s&&oy.has(s.type)||(function(g,E){let C=(E.prevNode&&E.prevNode.type)===g.type&&vN.has(g.type),A=E.parentNode.type==="listItem"&&!E.parentNode.loose,v=E.prevNode&&E.prevNode.type==="listItem"&&E.prevNode.loose,S=Q0(E.prevNode)==="next",_=g.type==="html"&&E.prevNode&&E.prevNode.type==="html"&&E.prevNode.position.end.line+1===g.position.start.line,w=g.type==="html"&&E.parentNode.type==="listItem"&&E.prevNode&&E.prevNode.type==="paragraph"&&E.prevNode.position.end.line+1===g.position.start.line;return v||!(C||A||S||_||w)}(p,f)||dy(p,f))&&a.push(Qe),dy(p,f)&&a.push(Qe)),a.push(h),s=p}},"children"),u?u(a):a}d(Ze,"zP");function FN(e){let t=e;for(;oN(t.children);)t=lc(t.children);return t}d(FN,"HP");function Q0(e){if(e.type!=="html")return!1;let t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);return t!==null&&(t[1]?t[1]:"next")}d(Q0,"GP");function dy(e,t){let n=t.prevNode&&t.prevNode.type==="list",r=e.type==="code"&&e.isIndented;return n&&r}d(dy,"JP");function Z0(e,t=[]){let n=[" ",...Array.isArray(t)?t:[t]];return new RegExp(n.map(r=>"\\".concat(r)).join("|")).test(e)?"<".concat(e,">"):e}d(Z0,"XP");function dc(e,t,n=!0){if(!e)return"";if(n)return" "+dc(e,t,!1);if((e=e.replace(/\\(["')])/g,"$1")).includes('"')&&e.includes("'")&&!e.includes(")"))return"(".concat(e,")");let r=e.split("'").length-1,u=e.split('"').length-1,i=r>u?'"':u>r||t.singleQuote?"'":'"';return e=(e=e.replace(/\\/,"\\\\")).replace(new RegExp("(".concat(i,")"),"g"),"\\$1"),"".concat(i).concat(e).concat(i)}d(dc,"YP");var SN={preprocess:Z6,print:function(e,t,n){let r=e.getValue();if(function(u){let i=K0(u,["linkReference","imageReference"]);return i&&(i.type!=="linkReference"||i.referenceType!=="full")}(e))return yN(t.originalText.slice(r.position.start.offset,r.position.end.offset),t).map(u=>u.type==="word"?u.value:u.value===""?"":py(e,u.value,t));switch(r.type){case"front-matter":return t.originalText.slice(r.position.start.offset,r.position.end.offset);case"root":return r.children.length===0?"":[pN(AN(e,t,n)),oy.has(FN(r).type)?"":Qe];case"paragraph":return Ze(e,t,n,{postprocessor:cN});case"sentence":return Ze(e,t,n);case"word":{let u=r.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(iy,")(_+)"),"(_+)(".concat(iy,"|$)")].join("|"),"g"),(a,s,c,l,p)=>(c?"".concat(s).concat(c):"".concat(l).concat(p)).replace(/_/g,"\\_")),i=d((a,s,c)=>a.type==="sentence"&&c===0,"n114"),o=d((a,s,c)=>ay(a.children[c-1]),"o55");return u!==r.value&&(e.match(void 0,i,o)||e.match(void 0,i,(a,s,c)=>a.type==="emphasis"&&c===0,o))&&(u=u.replace(/^(\\?[*_])+/,a=>a.replace(/\\/g,""))),u}case"whitespace":{let u=e.getParentNode(),i=u.children.indexOf(r),o=u.children[i+1],a=o&&/^>|^([*+-]|#{1,6}|\d+[).])$/.test(o.value)?"never":t.proseWrap;return py(e,r.value,{proseWrap:a})}case"emphasis":{let u;if(ay(r.children[0]))u=t.originalText[r.position.start.offset];else{let i=e.getParentNode(),o=i.children.indexOf(r),a=i.children[o-1],s=i.children[o+1];u=a&&a.type==="sentence"&&a.children.length>0&&lc(a.children).type==="word"&&!lc(a.children).hasTrailingPunctuation||s&&s.type==="sentence"&&s.children.length>0&&s.children[0].type==="word"&&!s.children[0].hasLeadingPunctuation||K0(e,"emphasis")?"*":"_"}return[u,Ze(e,t,n),u]}case"strong":return["**",Ze(e,t,n),"**"];case"delete":return["~~",Ze(e,t,n),"~~"];case"inlineCode":{let u=uN(r.value,"`"),i="`".repeat(u||1),o=u&&!/^\s/.test(r.value)?" ":"";return[i,o,r.value,o,i]}case"wikiLink":{let u="";return u=t.proseWrap==="preserve"?r.value:r.value.replace(/[\t\n]+/g," "),["[[",u,"]]"]}case"link":switch(t.originalText[r.position.start.offset]){case"<":{let u="mailto:";return["<",r.url.startsWith(u)&&t.originalText.slice(r.position.start.offset+1,r.position.start.offset+1+u.length)!==u?r.url.slice(u.length):r.url,">"]}case"[":return["[",Ze(e,t,n),"](",Z0(r.url,")"),dc(r.title,t),")"];default:return t.originalText.slice(r.position.start.offset,r.position.end.offset)}case"image":return[""),dc(r.title,t),")"];case"blockquote":return["> ",Qu("> ",Ze(e,t,n))];case"heading":return["#".repeat(r.depth)+" ",Ze(e,t,n)];case"code":{if(r.isIndented){let o=" ".repeat(4);return Qu(o,[o,...ja(r.value,Qe)])}let u=t.__inJsTemplate?"~":"`",i=u.repeat(Math.max(3,iN(r.value,u)+1));return[i,r.lang||"",r.meta?" "+r.meta:"",Qe,...ja(mN(r,t.originalText),Qe),Qe,i]}case"html":{let u=e.getParentNode(),i=u.type==="root"&&lc(u.children)===r?r.value.trimEnd():r.value,o=/^<!--[\S\s]*-->$/.test(i);return ja(i,o?Qe:ry(ny))}case"list":{let u=cy(r,e.getParentNode()),i=gN(r,t);return Ze(e,t,n,{processor:(o,a)=>{let s=function(){let l=r.ordered?(a===0?r.start:i?1:r.start+a)+(u%2==0?". ":") "):u%2==0?"- ":"* ";return r.isAligned||r.hasIndentedCodeblock?function(p,h){let f=g();return p+" ".repeat(f>=4?0:f);function g(){let E=p.length%h.tabWidth;return E===0?0:h.tabWidth-E}}(l,t):l}(),c=o.getValue();return c.children.length===2&&c.children[1].type==="html"&&c.children[0].position.start.column!==c.children[1].position.start.column?[s,sy(o,t,n,s)]:[s,Qu(" ".repeat(s.length),sy(o,t,n,s))]}})}case"thematicBreak":{let u=ly(e,"list");return u===-1?"---":cy(e.getParentNode(u),e.getParentNode(u+1))%2==0?"***":"---"}case"linkReference":return["[",Ze(e,t,n),"]",r.referenceType==="full"?["[",r.identifier,"]"]:r.referenceType==="collapsed"?"[]":""];case"imageReference":switch(r.referenceType){case"full":return["![",r.alt||"","][",r.identifier,"]"];default:return["![",r.alt,"]",r.referenceType==="collapsed"?"[]":""]}case"definition":{let u=t.proseWrap==="always"?ty:" ";return pc(["[",r.identifier,"]:",lN([u,Z0(r.url),r.title===null?"":[u,dc(r.title,t,!1)]])])}case"footnote":return["[^",Ze(e,t,n),"]"];case"footnoteReference":return["[^",r.identifier,"]"];case"footnoteDefinition":{let u=e.getParentNode().children[e.getName()+1],i=r.children.length===1&&r.children[0].type==="paragraph"&&(t.proseWrap==="never"||t.proseWrap==="preserve"&&r.children[0].position.start.line===r.children[0].position.end.line);return["[^",r.identifier,"]: ",i?Ze(e,t,n):pc([Qu(" ".repeat(4),Ze(e,t,n,{processor:(o,a)=>a===0?pc([Y0,n()]):n()})),u&&u.type==="footnoteDefinition"?Y0:""])]}case"table":return function(u,i,o){let a=u.getValue(),s=[],c=u.map(E=>E.map((C,A)=>{let v=dN(o(),i).formatted,S=aN(v);return s[A]=Math.max(s[A]||3,S),{text:v,width:S}},"children"),"children"),l=h(!1);if(i.proseWrap!=="never")return[Z1,l];let p=h(!0);return[Z1,pc(sN(p,l))];function h(E){let C=[g(c[0],E),f(E)];return c.length>1&&C.push(ey(uy,c.slice(1).map(A=>g(A,E)))),ey(uy,C)}function f(E){let C=s.map((A,v)=>{let S=a.align[v],_=S==="center"||S==="left"?":":"-",w=S==="center"||S==="right"?":":"-",B=E?"-":"-".repeat(A-2);return"".concat(_).concat(B).concat(w)});return"| ".concat(C.join(" | ")," |")}function g(E,C){let A=E.map(({text:v,width:S},_)=>{if(C)return v;let w=s[_]-S,B=a.align[_],O=0;B==="right"?O=w:B==="center"&&(O=Math.floor(w/2));let H=w-O;return"".concat(" ".repeat(O)).concat(v).concat(" ".repeat(H))});return"| ".concat(A.join(" | ")," |")}}(e,t,n);case"tableCell":return Ze(e,t,n);case"break":return/\s/.test(t.originalText[r.position.start.offset])?[" ",ry(ny)]:["\\",Qe];case"liquidNode":return ja(r.value,Qe);case"importExport":return[r.value,Qe];case"jsx":return r.value;case"math":return["$$",Qe,r.value?[...ja(r.value,Qe),Qe]:"","$$"];case"inlineMath":return t.originalText.slice(hN(r),DN(r));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(r.type)))}},embed:Y6,massageAstNode:rN,hasPrettierIgnore:function(e){let t=Number(e.getName());return t!==0&&Q0(e.getParentNode().children[t-1])==="next"},insertPragma:fN},xN={proseWrap:Cn.proseWrap,singleQuote:Cn.singleQuote},fy={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222},TN={languages:[Ae(fy,e=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...e.filenames,"README"],extensions:e.extensions.filter(t=>t!==".mdx")})),Ae(fy,()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],options:xN,printers:{mdast:SN},parsers:{get remark(){return{}.parsers.remark},get markdown(){return{}.parsers.remark},get mdx(){return{}.parsers.mdx}}};let{isFrontMatterNode:wN}=ue,NN=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function hy(e,t){return e.type==="text"||e.type==="comment"||wN(e)||e.type==="yaml"||e.type==="toml"?null:(e.type==="attribute"&&delete t.value,void(e.type==="docType"&&delete t.value))}d(hy,"rO"),hy.ignoredProperties=NN;var BN=hy,kN={"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["accesskey","charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","tabindex","target","type"],abbr:["title"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["accesskey","alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","tabindex","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],bdo:["dir"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["accesskey","autofocus","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","tabindex","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dfn:["title"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","accesskey","align","alt","autocomplete","autofocus","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","tabindex","title","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["accesskey","for","form"],legend:["accesskey","align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","nonce","referrerpolicy","rel","rev","sizes","target","title","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","tabindex","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","nonce","referrerpolicy","src","type"],select:["autocomplete","autofocus","disabled","form","multiple","name","required","size","tabindex"],slot:["name"],source:["media","sizes","src","srcset","type"],style:["media","nonce","title","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["accesskey","autocomplete","autofocus","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","tabindex","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]};let{inferParserByLanguage:_N,isFrontMatterNode:ed}=ue,{CSS_DISPLAY_TAGS:PN,CSS_DISPLAY_DEFAULT:ON,CSS_WHITE_SPACE_TAGS:IN,CSS_WHITE_SPACE_DEFAULT:LN}={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"},jN=my(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),RN=function(e,t){let n=Object.create(null);for(let[r,u]of Object.entries(e))n[r]=t(u,r);return n}(kN,my),MN=new Set([" ",`
|
|
168
|
+
`,"\f","\r"," "]),Dy=d(e=>e.replace(/[\t\n\f\r ]+$/,""),"mO"),qN=d(e=>e.match(/^[\t\n\f\r ]*/)[0],"gO");function my(e){let t=Object.create(null);for(let n of e)t[n]=!0;return t}d(my,"yO");function gy(e,t){return!(e.type!=="ieConditionalComment"||!e.lastChild||e.lastChild.isSelfClosing||e.lastChild.endSourceSpan)||e.type==="ieConditionalComment"&&!e.complete||!(!Zu(e)||!e.children.some(n=>n.type!=="text"&&n.type!=="interpolation"))||!(!rd(e,t)||Pr(e)||e.type==="interpolation")}d(gy,"DO");function yy(e){return e.type==="attribute"||!e.parent||typeof e.index!="number"||e.index===0?!1:function(t){return t.type==="comment"&&t.value.trim()==="prettier-ignore"}(e.parent.children[e.index-1])}d(yy,"EO");function Pr(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||fc(e)&&(e.name==="script"||e.name==="style"))}d(Pr,"bO");function Ey(e){return td(e).startsWith("pre")}d(Ey,"CO");function by(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}d(by,"vO");function Cy(e){return Sy(e)||e.type==="element"&&e.fullName==="br"||vy(e)}d(Cy,"AO");function vy(e){return Ay(e)&&Fy(e)}d(vy,"FO");function Ay(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:e.parent.type==="root"||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}d(Ay,"xO");function Fy(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}d(Fy,"SO");function Sy(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}d(Sy,"wO");function xy(e){let{type:t,lang:n}=e.attrMap;return t==="module"||t==="text/javascript"||t==="text/babel"||t==="application/javascript"||n==="jsx"?"babel":t==="application/x-typescript"||n==="ts"||n==="tsx"?"typescript":t==="text/markdown"?"markdown":t==="text/html"?"html":t&&(t.endsWith("json")||t.endsWith("importmap"))?"json":t==="text/x-handlebars-template"?"glimmer":void 0}d(xy,"TO");function Ra(e){return e==="block"||e==="list-item"||e.startsWith("table")}d(Ra,"BO");function Zu(e){return td(e).startsWith("pre")}d(Zu,"kO");function fc(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}d(fc,"NO");function td(e){return e.type==="element"&&(!e.namespace||fc(e))&&IN[e.name]||LN}d(td,"PO");let $N=new Set(["template","style","script"]);function hc(e,t){return nd(e,t)&&!$N.has(e.fullName)}d(hc,"IO");function nd(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}d(nd,"jO");function rd(e,t){return nd(e,t)&&(hc(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}d(rd,"LO");var Ty={HTML_ELEMENT_ATTRIBUTES:RN,HTML_TAGS:jN,htmlTrim:e=>(t=>t.replace(/^[\t\n\f\r ]+/,""))(Dy(e)),htmlTrimPreserveIndentation:e=>(t=>t.replace(/^[\t\f\r ]*?\n/g,""))(Dy(e)),splitByHtmlWhitespace:e=>e.split(/[\t\n\f\r ]+/),hasHtmlWhitespace:e=>/[\t\n\f\r ]/.test(e),getLeadingAndTrailingHtmlWhitespace:e=>{let[,t,n,r]=e.match(/^([\t\n\f\r ]*)([\S\s]*?)([\t\n\f\r ]*)$/);return{leadingWhitespace:t,trailingWhitespace:r,text:n}},canHaveInterpolation:function(e){return e.children&&!Pr(e)},countChars:function(e,t){let n=0;for(let r=0;r<e.length;r++)e[r]===t&&n++;return n},countParents:function(e,t){let n=0;for(let r=e.stack.length-1;r>=0;r--){let u=e.stack[r];u&&typeof u=="object"&&!Array.isArray(u)&&t(u)&&n++}return n},dedentString:function(e,t=function(n){let r=Number.POSITIVE_INFINITY;for(let u of n.split(`
|
|
169
|
+
`)){if(u.length===0)continue;if(!MN.has(u[0]))return 0;let i=qN(u).length;u.length!==i&&i<r&&(r=i)}return r===Number.POSITIVE_INFINITY?0:r}(e)){return t===0?e:e.split(`
|
|
170
|
+
`).map(n=>n.slice(t)).join(`
|
|
171
|
+
`)},forceBreakChildren:by,forceBreakContent:function(e){return by(e)||e.type==="element"&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(t=>function(n){return n.children&&n.children.some(r=>r.type!=="text")}(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Ay(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Fy(e.lastChild))},forceNextEmptyLine:function(e){return ed(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line},getLastDescendant:d(function e(t){return t.lastChild?e(t.lastChild):t},"e"),getNodeCssStyleDisplay:function(e,t){if(e.prev&&e.prev.type==="comment"){let r=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(r)return r[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg"){if(!function(r,u){let i=r;for(;i;){if(u(i))return!0;i=i.parent}return!1}(e,r=>r.fullName==="svg:foreignObject"))return e.name==="svg"?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return t.parser==="vue"&&e.parent&&e.parent.type==="root"?"block":e.type==="element"&&(!e.namespace||n||fc(e))&&PN[e.name]||ON}},getNodeCssStyleWhiteSpace:td,getPrettierIgnoreAttributeCommentData:function(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+([^]+))?$/);return!!t&&(!t[1]||t[1].split(/\s+/))},hasPrettierIgnore:yy,inferScriptParser:function(e,t){return e.name!=="script"||e.attrMap.src?e.name==="style"?function(n){let{lang:r}=n.attrMap;return r&&r!=="postcss"&&r!=="css"?r==="scss"?"scss":r==="less"?"less":void 0:"css"}(e):t&&rd(e,t)?xy(e)||!("src"in e.attrMap)&&_N(e.attrMap.lang,t):void 0:e.attrMap.lang||e.attrMap.type?xy(e):"babel"},isVueCustomBlock:hc,isVueNonHtmlBlock:rd,isVueSlotAttribute:function(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")},isVueSfcBindingsAttribute:function(e,t){let n=e.parent;if(!nd(n,t))return!1;let r=n.fullName,u=e.fullName;return r==="script"&&u==="setup"||r==="style"&&u==="vars"},isDanglingSpaceSensitiveNode:function(e){return t=e.cssDisplay,!(Ra(t)||t==="inline-block"||Pr(e));var t},isIndentationSensitiveNode:Ey,isLeadingSpaceSensitiveNode:function(e,t){let n=function(){if(ed(e))return!1;if((e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation"))return!0;if(!e.parent||e.parent.cssDisplay==="none")return!1;if(Zu(e.parent))return!0;if(!e.prev&&(e.parent.type==="root"||Zu(e)&&e.parent||Pr(e.parent)||hc(e.parent,t)||(r=e.parent.cssDisplay,Ra(r)||r==="inline-block")))return!1;var r;return!(e.prev&&!function(u){return!Ra(u)}(e.prev.cssDisplay))}();return n&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf?e.type==="interpolation":n},isPreLikeNode:Zu,isScriptLikeTag:Pr,isTextLikeNode:function(e){return e.type==="text"||e.type==="comment"},isTrailingSpaceSensitiveNode:function(e,t){return!ed(e)&&(!(e.type!=="text"&&e.type!=="interpolation"||!e.next||e.next.type!=="text"&&e.next.type!=="interpolation")||!(!e.parent||e.parent.cssDisplay==="none")&&(!!Zu(e.parent)||!(!e.next&&(e.parent.type==="root"||Zu(e)&&e.parent||Pr(e.parent)||hc(e.parent,t)||(n=e.parent.cssDisplay,Ra(n)||n==="inline-block")))&&!(e.next&&!function(r){return!Ra(r)}(e.next.cssDisplay))));var n},isWhitespaceSensitiveNode:function(e){return Pr(e)||e.type==="interpolation"||Ey(e)},isUnknownNamespace:fc,preferHardlineAsLeadingSpaces:function(e){return Sy(e)||e.prev&&Cy(e.prev)||vy(e)},preferHardlineAsTrailingSpaces:Cy,shouldNotPrintClosingTag:function(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(yy(e)||gy(e.parent,t))},shouldPreserveContent:gy,unescapeQuoteEntities:function(e){return e.replace(/'/g,"'").replace(/"/g,'"')}},ud=ce(function(e,t){function n(r){return t.$0<=r&&r<=t.$9}d(n,"n");Object.defineProperty(t,"__esModule",{value:!0}),t.$EOF=0,t.$BSPACE=8,t.$TAB=9,t.$LF=10,t.$VTAB=11,t.$FF=12,t.$CR=13,t.$SPACE=32,t.$BANG=33,t.$DQ=34,t.$HASH=35,t.$$=36,t.$PERCENT=37,t.$AMPERSAND=38,t.$SQ=39,t.$LPAREN=40,t.$RPAREN=41,t.$STAR=42,t.$PLUS=43,t.$COMMA=44,t.$MINUS=45,t.$PERIOD=46,t.$SLASH=47,t.$COLON=58,t.$SEMICOLON=59,t.$LT=60,t.$EQ=61,t.$GT=62,t.$QUESTION=63,t.$0=48,t.$7=55,t.$9=57,t.$A=65,t.$E=69,t.$F=70,t.$X=88,t.$Z=90,t.$LBRACKET=91,t.$BACKSLASH=92,t.$RBRACKET=93,t.$CARET=94,t.$_=95,t.$a=97,t.$b=98,t.$e=101,t.$f=102,t.$n=110,t.$r=114,t.$t=116,t.$u=117,t.$v=118,t.$x=120,t.$z=122,t.$LBRACE=123,t.$BAR=124,t.$RBRACE=125,t.$NBSP=160,t.$PIPE=124,t.$TILDA=126,t.$AT=64,t.$BT=96,t.isWhitespace=function(r){return r>=t.$TAB&&r<=t.$SPACE||r==t.$NBSP},t.isDigit=n,t.isAsciiLetter=function(r){return r>=t.$a&&r<=t.$z||r>=t.$A&&r<=t.$Z},t.isAsciiHexDigit=function(r){return r>=t.$a&&r<=t.$f||r>=t.$A&&r<=t.$F||n(r)},t.isNewLine=function(r){return r===t.$LF||r===t.$CR},t.isOctalDigit=function(r){return t.$0<=r&&r<=t.$7}});let wy=d(class{constructor(t,n,r){this.filePath=t,this.name=n,this.members=r}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}},"RO");var VN=wy,UN=d(class{constructor(){this.cache=new Map}get(e,t,n){let r=(n=n||[]).length?".".concat(n.join(".")):"",u='"'.concat(e,'".').concat(t).concat(r),i=this.cache.get(u);return i||(i=new wy(e,t,n),this.cache.set(u,i)),i}},"$O"),Dc=Object.defineProperty({StaticSymbol:VN,StaticSymbolCache:UN},"__esModule",{value:!0});let WN=/-+([a-z0-9])/g;var GN=d(function(e){return e.replace(WN,(...t)=>t[1].toUpperCase())},"UO"),HN=d(function(e,t){return Ny(e,":",t)},"zO"),zN=d(function(e,t){return Ny(e,".",t)},"HO");function Ny(e,t,n){let r=e.indexOf(t);return r==-1?n:[e.slice(0,r).trim(),e.slice(r+1).trim()]}d(Ny,"GO");function id(e,t,n){return Array.isArray(e)?t.visitArray(e,n):function(r){return typeof r=="object"&&r!==null&&Object.getPrototypeOf(r)===uB}(e)?t.visitStringMap(e,n):e==null||typeof e=="string"||typeof e=="number"||typeof e=="boolean"?t.visitPrimitive(e,n):t.visitOther(e,n)}d(id,"JO");var XN=id,JN=d(function(e){return e!=null},"YO"),YN=d(function(e){return e===void 0?null:e},"KO"),KN=d(class{visitArray(e,t){return e.map(n=>id(n,this,t))}visitStringMap(e,t){let n={};return Object.keys(e).forEach(r=>{n[r]=id(e[r],this,t)}),n}visitPrimitive(e,t){return e}visitOther(e,t){return e}},"QO"),QN={assertSync:e=>{if(mc(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>mc(e)?e.then(t):t(e),all:e=>e.some(mc)?Promise.all(e):e},ZN=d(function(e){throw new Error("Internal Error: ".concat(e))},"eI"),eB=d(function(e,t){let n=Error(e);return n[By]=!0,t&&(n[ky]=t),n},"tI");let By="ngSyntaxError",ky="ngParseErrors";var tB=d(function(e){return e[By]},"oI"),nB=d(function(e){return e[ky]||[]},"iI"),rB=d(function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")},"uI");let uB=Object.getPrototypeOf({});var iB=d(function(e){let t="";for(let n=0;n<e.length;n++){let r=e.charCodeAt(n);if(r>=55296&&r<=56319&&e.length>n+1){let u=e.charCodeAt(n+1);u>=56320&&u<=57343&&(n++,r=(r-55296<<10)+u-56320+65536)}r<=127?t+=String.fromCharCode(r):r<=2047?t+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?t+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(t+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return t},"aI"),aB=d(function e(t){if(typeof t=="string")return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(t==null)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";let n=t.toString();if(n==null)return""+n;let r=n.indexOf(`
|
|
172
|
+
`);return r===-1?n:n.substring(0,r)},"e"),oB=d(function(e){return typeof e=="function"&&e.hasOwnProperty("__forward_ref__")?e():e},"lI");function mc(e){return!!e&&typeof e.then=="function"}d(mc,"pI");var sB=mc,cB=d(class{constructor(e){this.full=e;let t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}},"dI");let lB=typeof window<"u"&&window,pB=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self;var dB=It!==void 0&&It||lB||pB,gc=Object.defineProperty({dashCaseToCamelCase:GN,splitAtColon:HN,splitAtPeriod:zN,visitValue:XN,isDefined:JN,noUndefined:YN,ValueTransformer:KN,SyncAsync:QN,error:ZN,syntaxError:eB,isSyntaxError:tB,getParseErrors:nB,escapeRegExp:rB,utf8Encode:iB,stringify:aB,resolveForwardRef:oB,isPromise:sB,Version:cB,global:dB},"__esModule",{value:!0}),ad=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});let n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function r(p){return p.replace(/\W/g,"_")}d(r,"r86"),t.sanitizeIdentifier=r;let u=0;function i(p){if(!p||!p.reference)return null;let h=p.reference;if(h instanceof Dc.StaticSymbol)return h.name;if(h.__anonymousType)return h.__anonymousType;let f=gc.stringify(h);return f.indexOf("(")>=0?(f="anonymous_".concat(u++),h.__anonymousType=f):f=r(f),f}d(i,"i34");var o;t.identifierName=i,t.identifierModuleUrl=function(p){let h=p.reference;return h instanceof Dc.StaticSymbol?h.filePath:"./".concat(gc.stringify(h))},t.viewClassName=function(p,h){return"View_".concat(i({reference:p}),"_").concat(h)},t.rendererTypeName=function(p){return"RenderType_".concat(i({reference:p}))},t.hostViewClassName=function(p){return"HostView_".concat(i({reference:p}))},t.componentFactoryName=function(p){return"".concat(i({reference:p}),"NgFactory")},function(p){p[p.Pipe=0]="Pipe",p[p.Directive=1]="Directive",p[p.NgModule=2]="NgModule",p[p.Injectable=3]="Injectable"}(o=t.CompileSummaryKind||(t.CompileSummaryKind={})),t.tokenName=function(p){return p.value!=null?r(p.value):i(p.identifier)},t.tokenReference=function(p){return p.identifier!=null?p.identifier.reference:p.value},t.CompileStylesheetMetadata=class{constructor({moduleUrl:p,styles:h,styleUrls:f}={}){this.moduleUrl=p||null,this.styles=s(h),this.styleUrls=s(f)}},t.CompileTemplateMetadata=class{constructor({encapsulation:p,template:h,templateUrl:f,htmlAst:g,styles:E,styleUrls:C,externalStylesheets:A,animations:v,ngContentSelectors:S,interpolation:_,isInline:w,preserveWhitespaces:B}){if(this.encapsulation=p,this.template=h,this.templateUrl=f,this.htmlAst=g,this.styles=s(E),this.styleUrls=s(C),this.externalStylesheets=s(A),this.animations=v?c(v):[],this.ngContentSelectors=S||[],_&&_.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=_,this.isInline=w,this.preserveWhitespaces=B}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};let a=d(class BE{static create({isHost:h,type:f,isComponent:g,selector:E,exportAs:C,changeDetection:A,inputs:v,outputs:S,host:_,providers:w,viewProviders:B,queries:O,guards:H,viewQueries:X,entryComponents:$,template:U,componentViewType:K,rendererType:re,componentFactory:ie}){let he={},je={},Mr={};_!=null&&Object.keys(_).forEach(bt=>{let An=_[bt],Ha=bt.match(n);Ha===null?Mr[bt]=An:Ha[1]!=null?je[Ha[1]]=An:Ha[2]!=null&&(he[Ha[2]]=An)});let un={};v!=null&&v.forEach(bt=>{let An=gc.splitAtColon(bt,[bt,bt]);un[An[0]]=An[1]});let ri={};return S!=null&&S.forEach(bt=>{let An=gc.splitAtColon(bt,[bt,bt]);ri[An[0]]=An[1]}),new BE({isHost:h,type:f,isComponent:!!g,selector:E,exportAs:C,changeDetection:A,inputs:un,outputs:ri,hostListeners:he,hostProperties:je,hostAttributes:Mr,providers:w,viewProviders:B,queries:O,guards:H,viewQueries:X,entryComponents:$,template:U,componentViewType:K,rendererType:re,componentFactory:ie})}constructor({isHost:h,type:f,isComponent:g,selector:E,exportAs:C,changeDetection:A,inputs:v,outputs:S,hostListeners:_,hostProperties:w,hostAttributes:B,providers:O,viewProviders:H,queries:X,guards:$,viewQueries:U,entryComponents:K,template:re,componentViewType:ie,rendererType:he,componentFactory:je}){this.isHost=!!h,this.type=f,this.isComponent=g,this.selector=E,this.exportAs=C,this.changeDetection=A,this.inputs=v,this.outputs=S,this.hostListeners=_,this.hostProperties=w,this.hostAttributes=B,this.providers=s(O),this.viewProviders=s(H),this.queries=s(X),this.guards=$,this.viewQueries=s(U),this.entryComponents=s(K),this.template=re,this.componentViewType=ie,this.rendererType=he,this.componentFactory=je}toSummary(){return{summaryKind:o.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}},"s");t.CompileDirectiveMetadata=a,t.CompilePipeMetadata=class{constructor({type:p,name:h,pure:f}){this.type=p,this.name=h,this.pure=!!f}toSummary(){return{summaryKind:o.Pipe,type:this.type,name:this.name,pure:this.pure}}},t.CompileShallowModuleMetadata=class{},t.CompileNgModuleMetadata=class{constructor({type:p,providers:h,declaredDirectives:f,exportedDirectives:g,declaredPipes:E,exportedPipes:C,entryComponents:A,bootstrapComponents:v,importedModules:S,exportedModules:_,schemas:w,transitiveModule:B,id:O}){this.type=p||null,this.declaredDirectives=s(f),this.exportedDirectives=s(g),this.declaredPipes=s(E),this.exportedPipes=s(C),this.providers=s(h),this.entryComponents=s(A),this.bootstrapComponents=s(v),this.importedModules=s(S),this.exportedModules=s(_),this.schemas=s(w),this.id=O||null,this.transitiveModule=B||null}toSummary(){let p=this.transitiveModule;return{summaryKind:o.NgModule,type:this.type,entryComponents:p.entryComponents,providers:p.providers,modules:p.modules,exportedDirectives:p.exportedDirectives,exportedPipes:p.exportedPipes}}};function s(p){return p||[]}d(s,"a11"),t.TransitiveCompileNgModuleMetadata=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(p,h){this.providers.push({provider:p,module:h})}addDirective(p){this.directivesSet.has(p.reference)||(this.directivesSet.add(p.reference),this.directives.push(p))}addExportedDirective(p){this.exportedDirectivesSet.has(p.reference)||(this.exportedDirectivesSet.add(p.reference),this.exportedDirectives.push(p))}addPipe(p){this.pipesSet.has(p.reference)||(this.pipesSet.add(p.reference),this.pipes.push(p))}addExportedPipe(p){this.exportedPipesSet.has(p.reference)||(this.exportedPipesSet.add(p.reference),this.exportedPipes.push(p))}addModule(p){this.modulesSet.has(p.reference)||(this.modulesSet.add(p.reference),this.modules.push(p))}addEntryComponent(p){this.entryComponentsSet.has(p.componentType)||(this.entryComponentsSet.add(p.componentType),this.entryComponents.push(p))}};function c(p){return p.reduce((h,f)=>{let g=Array.isArray(f)?c(f):f;return h.concat(g)},[])}d(c,"c6");function l(p){return p.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}d(l,"l5"),t.ProviderMeta=class{constructor(p,{useClass:h,useValue:f,useExisting:g,useFactory:E,deps:C,multi:A}){this.token=p,this.useClass=h||null,this.useValue=f,this.useExisting=g,this.useFactory=E||null,this.dependencies=C||null,this.multi=!!A}},t.flatten=c,t.templateSourceUrl=function(p,h,f){let g;return g=f.isInline?h.type.reference instanceof Dc.StaticSymbol?"".concat(h.type.reference.filePath,".").concat(h.type.reference.name,".html"):"".concat(i(p),"/").concat(i(h.type),".html"):f.templateUrl,h.type.reference instanceof Dc.StaticSymbol?g:l(g)},t.sharedStylesheetJitUrl=function(p,h){let f=p.moduleUrl.split(/\/\\/g),g=f[f.length-1];return l("css/".concat(h).concat(g,".ngstyle.js"))},t.ngModuleJitUrl=function(p){return l("".concat(i(p.type),"/module.ngfactory.js"))},t.templateJitUrl=function(p,h){return l("".concat(i(p),"/").concat(i(h.type),".ngfactory.js"))}}),fB=ce(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});let n=d(class kE{constructor(a,s,c,l){this.file=a,this.offset=s,this.line=c,this.col=l}toString(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(a){let s=this.file.content,c=s.length,l=this.offset,p=this.line,h=this.col;for(;l>0&&a<0;)if(l--,a++,s.charCodeAt(l)==ud.$LF){p--;let f=s.substr(0,l-1).lastIndexOf(String.fromCharCode(ud.$LF));h=f>0?l-f:l}else h--;for(;l<c&&a>0;){let f=s.charCodeAt(l);l++,a--,f==ud.$LF?(p++,h=0):h++}return new kE(this.file,l,p,h)}getContext(a,s){let c=this.file.content,l=this.offset;if(l!=null){l>c.length-1&&(l=c.length-1);let p=l,h=0,f=0;for(;h<a&&l>0&&(l--,h++,c[l]!=`
|
|
173
|
+
`||++f!=s););for(h=0,f=0;h<a&&p<c.length-1&&(p++,h++,c[p]!=`
|
|
174
|
+
`||++f!=s););return{before:c.substring(l,this.offset),after:c.substring(this.offset,p+1)}}return null}},"n");t.ParseLocation=n;let r=d(class{constructor(a,s){this.content=a,this.url=s}},"r");t.ParseSourceFile=r;let u=d(class{constructor(a,s,c=null){this.start=a,this.end=s,this.details=c}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},"o");var i;t.ParseSourceSpan=u,t.EMPTY_PARSE_LOCATION=new n(new r("",""),0,0,0),t.EMPTY_SOURCE_SPAN=new u(t.EMPTY_PARSE_LOCATION,t.EMPTY_PARSE_LOCATION),function(o){o[o.WARNING=0]="WARNING",o[o.ERROR=1]="ERROR"}(i=t.ParseErrorLevel||(t.ParseErrorLevel={})),t.ParseError=class{constructor(o,a,s=i.ERROR){this.span=o,this.msg=a,this.level=s}contextualMessage(){let o=this.span.start.getContext(100,3);return o?"".concat(this.msg,' ("').concat(o.before,"[").concat(i[this.level]," ->]").concat(o.after,'")'):this.msg}toString(){let o=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(o)}},t.typeSourceSpan=function(o,a){let s=ad.identifierModuleUrl(a),c=s!=null?"in ".concat(o," ").concat(ad.identifierName(a)," in ").concat(s):"in ".concat(o," ").concat(ad.identifierName(a)),l=new r("",c);return new u(new n(l,-1,-1,-1),new n(l,-1,-1,-1))},t.r3JitTypeSourceSpan=function(o,a,s){let c="in ".concat(o," ").concat(a," in ").concat(s),l=new r("",c);return new u(new n(l,-1,-1,-1),new n(l,-1,-1,-1))}});let{ParseSourceSpan:Hn}=fB,{htmlTrim:hB,getLeadingAndTrailingHtmlWhitespace:DB,hasHtmlWhitespace:mB,canHaveInterpolation:gB,getNodeCssStyleDisplay:yB,isDanglingSpaceSensitiveNode:EB,isIndentationSensitiveNode:bB,isLeadingSpaceSensitiveNode:CB,isTrailingSpaceSensitiveNode:vB,isWhitespaceSensitiveNode:AB}=Ty,FB=[function(e){return e.map(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===`
|
|
175
|
+
`){let[n,...r]=t.children;return t.clone({children:n.value.length===1?r:[n.clone({value:n.value.slice(1)}),...r]})}return t})},function(e){let t=d(n=>n.type==="element"&&n.prev&&n.prev.type==="ieConditionalStartComment"&&n.prev.sourceSpan.end.offset===n.startSourceSpan.start.offset&&n.firstChild&&n.firstChild.type==="ieConditionalEndComment"&&n.firstChild.sourceSpan.start.offset===n.startSourceSpan.end.offset,"t201");return e.map(n=>{if(n.children){let r=n.children.map(t);if(r.some(Boolean)){let u=[];for(let i=0;i<n.children.length;i++){let o=n.children[i];if(!r[i+1])if(r[i]){let a=o.prev,s=o.firstChild,c=new Hn(a.sourceSpan.start,s.sourceSpan.end),l=new Hn(c.start,o.sourceSpan.end);u.push(o.clone({condition:a.condition,sourceSpan:l,startSourceSpan:c,children:o.children.slice(1)}))}else u.push(o)}return n.clone({children:u})}}return n})},function(e){return function(t,n,r){return t.map(u=>{if(u.children){let i=u.children.map(n);if(i.some(Boolean)){let o=[];for(let a=0;a<u.children.length;a++){let s=u.children[a];if(s.type!=="text"&&!i[a]){o.push(s);continue}let c=s.type==="text"?s:s.clone({type:"text",value:r(s)});if(o.length===0||be(o).type!=="text"){o.push(c);continue}let l=o.pop();o.push(l.clone({value:l.value+c.value,sourceSpan:new Hn(l.sourceSpan.start,c.sourceSpan.end)}))}return u.clone({children:o})}}return u})}(e,t=>t.type==="cdata",t=>"<![CDATA[".concat(t.value,"]]>"))},function(e,t){if(t.parser==="html")return e;let n=/{{([\S\s]+?)}}/g;return e.map(r=>{if(!gB(r))return r;let u=[];for(let i of r.children){if(i.type!=="text"){u.push(i);continue}let o=i.sourceSpan.start,a=null,s=i.value.split(n);for(let c=0;c<s.length;c++,o=a){let l=s[c];c%2!=0?(a=o.moveBy(l.length+4),u.push({type:"interpolation",sourceSpan:new Hn(o,a),children:l.length===0?[]:[{type:"text",value:l,sourceSpan:new Hn(o.moveBy(2),a.moveBy(-2))}]})):(a=o.moveBy(l.length),l.length>0&&u.push({type:"text",value:l,sourceSpan:new Hn(o,a)}))}}return r.clone({children:u})})},function(e){let t="whitespace";return e.map(n=>{if(!n.children)return n;if(n.children.length===0||n.children.length===1&&n.children[0].type==="text"&&hB(n.children[0].value).length===0)return n.clone({children:[],hasDanglingSpaces:n.children.length>0});let r=AB(n),u=bB(n);return n.clone({isWhitespaceSensitive:r,isIndentationSensitive:u,children:n.children.reduce((i,o)=>{if(o.type!=="text"||r)return[...i,o];let a=[],{leadingWhitespace:s,text:c,trailingWhitespace:l}=DB(o.value);return s&&a.push({type:t}),c&&a.push({type:"text",value:c,sourceSpan:new Hn(o.sourceSpan.start.moveBy(s.length),o.sourceSpan.end.moveBy(-l.length))}),l&&a.push({type:t}),[...i,...a]},[]).reduce((i,o,a,s)=>{if(o.type===t)return i;let c=a!==0&&s[a-1].type===t,l=a!==s.length-1&&s[a+1].type===t;return[...i,Object.assign({},o,{hasLeadingSpaces:c,hasTrailingSpaces:l})]},[])})})},function(e,t){return e.map(n=>Object.assign(n,{cssDisplay:yB(n,t)}))},function(e){return e.map(t=>Object.assign(t,{isSelfClosing:!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.startSourceSpan===t.endSourceSpan)}))},function(e,t){return e.map(n=>n.type!=="element"?n:Object.assign(n,{hasHtmComponentClosingTag:n.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(n.endSourceSpan.start.offset,n.endSourceSpan.end.offset))}))},function(e,t){return e.map(n=>n.children?n.children.length===0?n.clone({isDanglingSpaceSensitive:EB(n)}):n.clone({children:n.children.map(r=>Object.assign({},r,{isLeadingSpaceSensitive:CB(r,t),isTrailingSpaceSensitive:vB(r,t)})).map((r,u,i)=>Object.assign({},r,{isLeadingSpaceSensitive:(u===0||i[u-1].isTrailingSpaceSensitive)&&r.isLeadingSpaceSensitive,isTrailingSpaceSensitive:(u===i.length-1||i[u+1].isLeadingSpaceSensitive)&&r.isTrailingSpaceSensitive}))}):n)},function(e){let t=d(n=>n.type==="element"&&n.attrs.length===0&&n.children.length===1&&n.firstChild.type==="text"&&!mB(n.children[0].value)&&!n.firstChild.hasLeadingSpaces&&!n.firstChild.hasTrailingSpaces&&n.isLeadingSpaceSensitive&&!n.hasLeadingSpaces&&n.isTrailingSpaceSensitive&&!n.hasTrailingSpaces&&n.prev&&n.prev.type==="text"&&n.next&&n.next.type==="text","t205");return e.map(n=>{if(n.children){let r=n.children.map(t);if(r.some(Boolean)){let u=[];for(let i=0;i<n.children.length;i++){let o=n.children[i];if(r[i]){let a=u.pop(),s=n.children[++i],{isTrailingSpaceSensitive:c,hasTrailingSpaces:l}=s;u.push(a.clone({value:a.value+"<".concat(o.rawName,">")+o.firstChild.value+"</".concat(o.rawName,">")+s.value,sourceSpan:new Hn(a.sourceSpan.start,s.sourceSpan.end),isTrailingSpaceSensitive:c,hasTrailingSpaces:l}))}else u.push(o)}return n.clone({children:u})}}return n})}];var SB=d(function(e,t){for(let n of FB)e=n(e,t);return e},"PI"),xB={hasPragma:function(e){return/^\s*<!--\s*@(format|prettier)\s*-->/.test(e)},insertPragma:function(e){return`<!-- @format -->
|
|
176
|
+
|
|
177
|
+
`+e.replace(/^\s*\n/,"")}},TB={locStart:function(e){return e.sourceSpan.start.offset},locEnd:function(e){return e.sourceSpan.end.offset}};let{builders:{group:wB}}=Q;var NB={isVueEventBindingExpression:function(e){let t=e.trim();return/^([\w$]+|\([^)]*?\))\s*=>|^function\s*\(/.test(t)||/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/.test(t)},printVueFor:function(e,t){let{left:n,operator:r,right:u}=function(i){let o=/([^]*?)\s+(in|of)\s+([^]*)/,a=/,([^,\]}]*)(?:,([^,\]}]*))?$/,s=/^\(|\)$/g,c=i.match(o);if(!c)return;let l={};l.for=c[3].trim();let p=c[1].trim().replace(s,""),h=p.match(a);return h?(l.alias=p.replace(a,""),l.iterator1=h[1].trim(),h[2]&&(l.iterator2=h[2].trim())):l.alias=p,{left:"".concat([l.alias,l.iterator1,l.iterator2].filter(Boolean).join(",")),operator:c[2],right:l.for}}(e);return[wB(t("function _(".concat(n,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",r," ",t(u,{parser:"__js_expression"},{stripTrailingHardline:!0})]},printVueBindings:function(e,t){return t("function _(".concat(e,") {}"),{parser:"babel",__isVueBindings:!0})}},BB=ce(function(e){(function(t,n){e.exports?e.exports=n():t.parseSrcset=n()})(It,function(){return function(t,n){var r=n&&n.logger||console;function u(B){return B===" "||B===" "||B===`
|
|
178
|
+
`||B==="\f"||B==="\r"}d(u,"r91");function i(B){var O,H=B.exec(t.substring(v));if(H)return O=H[0],v+=O.length,O}d(i,"o61");for(var o,a,s,c,l,p=t.length,h=/^[ \t\n\r\u000c]+/,f=/^[, \t\n\r\u000c]+/,g=/^[^ \t\n\r\u000c]+/,E=/[,]+$/,C=/^\d+$/,A=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,v=0,S=[];;){if(i(f),v>=p)return S;o=i(g),a=[],o.slice(-1)===","?(o=o.replace(E,""),w()):_()}function _(){for(i(h),s="",c="in descriptor";;){if(l=t.charAt(v),c==="in descriptor")if(u(l))s&&(a.push(s),s="",c="after descriptor");else{if(l===",")return v+=1,s&&a.push(s),void w();if(l==="(")s+=l,c="in parens";else{if(l==="")return s&&a.push(s),void w();s+=l}}else if(c==="in parens")if(l===")")s+=l,c="in descriptor";else{if(l==="")return a.push(s),void w();s+=l}else if(c==="after descriptor"&&!u(l)){if(l==="")return void w();c="in descriptor",v-=1}v+=1}}d(_,"E");function w(){var B,O,H,X,$,U,K,re,ie,he=!1,je={};for(X=0;X<a.length;X++)U=($=a[X])[$.length-1],K=$.substring(0,$.length-1),re=parseInt(K,10),ie=parseFloat(K),C.test(K)&&U==="w"?((B||O)&&(he=!0),re===0?he=!0:B=re):A.test(K)&&U==="x"?((B||O||H)&&(he=!0),ie<0?he=!0:O=ie):C.test(K)&&U==="h"?((H||O)&&(he=!0),re===0?he=!0:H=re):he=!0;he?r&&r.error&&r.error("Invalid srcset descriptor found in '"+t+"' at '"+$+"'."):(je.url=o,B&&(je.w=B),O&&(je.d=O),H&&(je.h=H),S.push(je))}d(w,"b")}})});let{builders:{group:kB,ifBreak:_B,indent:PB,join:od,line:sd,softline:_y}}=Q,OB=["__","--","_","-"];function IB(e){let t=e.search(/[^_-]/);if(t!==-1)for(let n of OB){let r=e.indexOf(n,t);if(r!==-1)return e.slice(0,r)}return e}d(IB,"zI");var LB={printImgSrcset:function(e){let t=BB(e,{logger:{error(h){throw new Error(h)}}}),n=t.some(({w:h})=>h),r=t.some(({h})=>h);if(n+r+t.some(({d:h})=>h)>1)throw new Error("Mixed descriptor in srcset is not supported");let u=n?"w":r?"h":"d",i=n?"w":r?"h":"x",o=d(h=>Math.max(...h),"u26"),a=t.map(h=>h.url),s=o(a.map(h=>h.length)),c=t.map(h=>h[u]).map(h=>h?h.toString():""),l=c.map(h=>{let f=h.indexOf(".");return f===-1?h.length:f}),p=o(l);return od([",",sd],a.map((h,f)=>{let g=[h],E=c[f];if(E){let C=s-h.length+1,A=p-l[f],v=" ".repeat(C+A);g.push(_B(v," "),E+i)}return g}))},printClassNames:function(e){let t=e.trim().split(/\s+/),n=[],r;for(let u=0;u<t.length;u++){let i=IB(t[u]);i!==r&&i!==t[u-1]&&n.push([]),be(n).push(t[u]),r=i}return[PB([_y,od(sd,n.map(u=>kB(od(sd,u))))]),_y]}};let{builders:{breakParent:cd,dedentToRoot:jB,fill:Py,group:yt,hardline:Pe,ifBreak:ld,indentIfBreak:RB,indent:Ma,join:Oy,line:Et,literalline:rn,softline:zt},utils:{mapDoc:MB,cleanDoc:qB,getDocParts:Iy,isConcat:$B}}=Q,{replaceEndOfLineWith:Xt,isNonEmptyArray:VB}=ue,{htmlTrimPreserveIndentation:Ly,splitByHtmlWhitespace:UB,countChars:jy,countParents:WB,dedentString:Ry,forceBreakChildren:GB,forceBreakContent:HB,forceNextEmptyLine:yc,getLastDescendant:My,getPrettierIgnoreAttributeCommentData:zB,hasPrettierIgnore:qy,inferScriptParser:$y,isVueCustomBlock:XB,isVueNonHtmlBlock:JB,isVueSlotAttribute:YB,isVueSfcBindingsAttribute:KB,isScriptLikeTag:pd,isTextLikeNode:Pt,preferHardlineAsLeadingSpaces:dd,shouldNotPrintClosingTag:Vy,shouldPreserveContent:QB,unescapeQuoteEntities:Uy,isPreLikeNode:ZB}=Ty,{insertPragma:ek}=xB,{locStart:fd,locEnd:hd}=TB,{printVueFor:tk,printVueBindings:nk,isVueEventBindingExpression:rk}=NB,{printImgSrcset:uk,printClassNames:ik}=LB;function Wy(e,t,n){let r=e.getValue();if(GB(r))return[cd,...e.map(a=>{let s=a.getValue(),c=s.prev?o(s.prev,s):"";return[c?[c,yc(s.prev)?Pe:""]:"",i(a)]},"children")];let u=r.children.map(()=>Symbol(""));return e.map((a,s)=>{let c=a.getValue();if(Pt(c)){if(c.prev&&Pt(c.prev)){let C=o(c.prev,c);if(C)return yc(c.prev)?[Pe,Pe,i(a)]:[C,i(a)]}return i(a)}let l=[],p=[],h=[],f=[],g=c.prev?o(c.prev,c):"",E=c.next?o(c,c.next):"";return g&&(yc(c.prev)?l.push(Pe,Pe):g===Pe?l.push(Pe):Pt(c.prev)?p.push(g):p.push(ld("",zt,{groupId:u[s-1]}))),E&&(yc(c)?Pt(c.next)&&f.push(Pe,Pe):E===Pe?Pt(c.next)&&f.push(Pe):h.push(E)),[...l,yt([...p,yt([i(a),...h],{id:u[s]})]),...f]},"children");function i(a){let s=a.getValue();return qy(s)?[Ir(s,t),...Xt(t.originalText.slice(fd(s)+(s.prev&&Cc(s.prev)?gd(s).length:0),hd(s)-(s.next&&Or(s.next)?Va(s,t).length:0)),rn),Lr(s,t)]:n()}function o(a,s){return Pt(a)&&Pt(s)?a.isTrailingSpaceSensitive?a.hasTrailingSpaces?dd(s)?Pe:Et:"":dd(s)?Pe:zt:Cc(a)&&(qy(s)||s.firstChild||s.isSelfClosing||s.type==="element"&&s.attrs.length>0)||a.type==="element"&&a.isSelfClosing&&Or(s)?"":!s.isLeadingSpaceSensitive||dd(s)||Or(s)&&a.lastChild&&$a(a.lastChild)&&a.lastChild.lastChild&&$a(a.lastChild.lastChild)?Pe:s.hasLeadingSpaces?Et:zt}}d(Wy,"qj");function Gy(e,t){let n=e.startSourceSpan.end.offset;e.firstChild&&vc(e.firstChild)&&(n-=yd(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&$a(e.lastChild)?r+=Ed(e,t).length:qa(e)&&(r-=Va(e.lastChild,t).length),t.originalText.slice(n,r)}d(Gy,"Wj");function ak(e,t,n){let r=e.getValue();if(!VB(r.attrs))return r.isSelfClosing?" ":"";let u=r.prev&&r.prev.type==="comment"&&zB(r.prev.value),i=typeof u=="boolean"?()=>u:Array.isArray(u)?c=>u.includes(c.rawName):()=>!1,o=e.map(c=>{let l=c.getValue();return i(l)?Xt(t.originalText.slice(fd(l),hd(l)),rn):n()},"attrs"),a=r.type==="element"&&r.fullName==="script"&&r.attrs.length===1&&r.attrs[0].fullName==="src"&&r.children.length===0,s=[Ma([a?" ":Et,Oy(Et,o)])];return r.firstChild&&vc(r.firstChild)||r.isSelfClosing&&qa(r.parent)||a?s.push(r.isSelfClosing?" ":""):s.push(r.isSelfClosing?Et:zt),s}d(ak,"Uj");function Dd(e,t,n){let r=e.getValue();return[Ec(r,t),ak(e,t,n),r.isSelfClosing?"":ok(r)]}d(Dd,"zj");function Ec(e,t){return e.prev&&Cc(e.prev)?"":[Ir(e,t),gd(e)]}d(Ec,"Hj");function ok(e){return e.firstChild&&vc(e.firstChild)?"":yd(e)}d(ok,"Gj");function md(e,t){return[e.isSelfClosing?"":sk(e,t),bc(e,t)]}d(md,"Jj");function sk(e,t){return e.lastChild&&$a(e.lastChild)?"":[ck(e,t),Ed(e,t)]}d(sk,"Xj");function bc(e,t){return(e.next?Or(e.next):qa(e.parent))?"":[Va(e,t),Lr(e,t)]}d(bc,"Yj");function Cc(e){return e.next&&!Pt(e.next)&&Pt(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}d(Cc,"Kj");function vc(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}d(vc,"Qj");function Or(e){return e.prev&&e.prev.type!=="docType"&&!Pt(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}d(Or,"Zj");function qa(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!Pt(My(e.lastChild))&&!ZB(e)}d(qa,"eL");function $a(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Pt(My(e))}d($a,"tL");function Ir(e,t){return vc(e)?yd(e.parent):Or(e)?Va(e.prev,t):""}d(Ir,"nL");function ck(e,t){return qa(e)?Va(e.lastChild,t):""}d(ck,"rL");function Lr(e,t){return $a(e)?Ed(e.parent,t):Cc(e)?gd(e.next):""}d(Lr,"oL");function gd(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return"<!--[if ".concat(e.condition);case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(e.condition)return"<!--[if ".concat(e.condition,"]><!--><").concat(e.rawName);default:return"<".concat(e.rawName)}}d(gd,"iL");function yd(e){switch(yn(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return"><!--<![endif]-->";default:return">"}}d(yd,"uL");function Ed(e,t){if(yn(!e.isSelfClosing),Vy(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return"</".concat(e.rawName)}}d(Ed,"sL");function Va(e,t){if(Vy(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}d(Va,"aL");function Hy(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Xt(t,rn):Xt(Ry(Ly(t)),Pe):Iy(Oy(Et,UB(t)))}d(Hy,"cL");var lk={preprocess:SB,print:function(e,t,n){let r=e.getValue();switch(r.type){case"front-matter":return Xt(r.raw,rn);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),[yt(Wy(e,t,n)),Pe];case"element":case"ieConditionalComment":{if(QB(r,t))return[Ir(r,t),yt(Dd(e,t,n)),...Xt(Gy(r,t),rn),...md(r,t),Lr(r,t)];let i=r.children.length===1&&r.firstChild.type==="interpolation"&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id");return[yt([yt(Dd(e,t,n),{id:o}),r.children.length===0?r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?Et:"":[HB(r)?cd:"",(u=[i?ld(zt,"",{groupId:o}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?Et:r.firstChild.type==="text"&&r.isWhitespaceSensitive&&r.isIndentationSensitive?jB(zt):zt,Wy(e,t,n)],i?RB(u,{groupId:o}):!pd(r)&&!XB(r,t)||r.parent.type!=="root"||t.parser!=="vue"||t.vueIndentScriptAndStyle?Ma(u):u),(r.next?Or(r.next):qa(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":i?ld(zt,"",{groupId:o}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?Et:(r.lastChild.type==="comment"||r.lastChild.type==="text"&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(t.tabWidth*WB(e,a=>a.parent&&a.parent.type!=="root"),"}$")).test(r.lastChild.value)?"":zt]]),md(r,t)]}case"ieConditionalStartComment":case"ieConditionalEndComment":return[Ec(r),bc(r)];case"interpolation":return[Ec(r,t),...e.map(n,"children"),bc(r,t)];case"text":{if(r.parent.type==="interpolation"){let o=/\n[^\S\n]*?$/,a=o.test(r.value),s=a?r.value.replace(o,""):r.value;return[...Xt(s,rn),a?Pe:""]}let i=qB([Ir(r,t),...Hy(r),Lr(r,t)]);return $B(i)||i.type==="fill"?Py(Iy(i)):i}case"docType":return[yt([Ec(r,t)," ",r.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),bc(r,t)];case"comment":return[Ir(r,t),...Xt(t.originalText.slice(fd(r),hd(r)),rn),Lr(r,t)];case"attribute":{if(r.value===null)return r.rawName;let i=Uy(r.value),o=jy(i,"'")<jy(i,'"')?"'":'"';return[r.rawName,"=",o,...Xt(o==='"'?i.replace(/"/g,"""):i.replace(/'/g,"'"),rn),o]}default:throw new Error("Unexpected node type ".concat(r.type))}var u},insertPragma:ek,massageAstNode:BN,embed:function(e,t,n,r){let u=e.getValue();switch(u.type){case"element":if(pd(u)||u.type==="interpolation")return;if(!u.isSelfClosing&&JB(u,r)){let i=$y(u,r);if(!i)return;let o=Gy(u,r),a=/^\s*$/.test(o),s="";return a||(s=n(Ly(o),{parser:i,__embeddedInHtml:!0},{stripTrailingHardline:!0}),a=s===""),[Ir(u,r),yt(Dd(e,r,t)),a?"":Pe,s,a?"":Pe,md(u,r),Lr(u,r)]}break;case"text":if(pd(u.parent)){let i=$y(u.parent);if(i){let o=i==="markdown"?Ry(u.value.replace(/^[^\S\n]*?\n/,"")):u.value,a={parser:i,__embeddedInHtml:!0};if(r.parser==="html"&&i==="babel"){let s="script",{attrMap:c}=u.parent;c&&(c.type==="module"||c.type==="text/babel"&&c["data-type"]==="module")&&(s="module"),a.__babelSourceType=s}return[cd,Ir(u,r),n(o,a,{stripTrailingHardline:!0}),Lr(u,r)]}}else if(u.parent.type==="interpolation"){let i={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return r.parser==="angular"?(i.parser="__ng_interpolation",i.trailingComma="none"):r.parser==="vue"?i.parser="__vue_expression":i.parser="__js_expression",[Ma([Et,n(u.value,i,{stripTrailingHardline:!0})]),u.parent.next&&Or(u.parent.next)?" ":Et]}break;case"attribute":{if(!u.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(r.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset)))return[u.rawName,"=",u.value];if(r.parser==="lwc"&&/^{[\S\s]*}$/.test(r.originalText.slice(u.valueSpan.start.offset,u.valueSpan.end.offset)))return[u.rawName,"=",u.value];let i=function(o,a,s){let c=d(A=>new RegExp(A.join("|")).test(o.fullName),"r"),l=d(()=>Uy(o.value),"o"),p=!1,h=d((A,v)=>{let S=A.type==="NGRoot"?A.node.type==="NGMicrosyntax"&&A.node.body.length===1&&A.node.body[0].type==="NGMicrosyntaxExpression"?A.node.body[0].expression:A.node:A.type==="JsExpressionRoot"?A.node:A;!S||S.type!=="ObjectExpression"&&S.type!=="ArrayExpression"&&(v.parser!=="__vue_expression"||S.type!=="TemplateLiteral"&&S.type!=="StringLiteral")||(p=!0)},"u"),f=d(A=>yt(A),"s"),g=d((A,v=!0)=>yt([Ma([zt,A]),v?zt:""]),"a"),E=d(A=>p?f(A):g(A),"c"),C=d((A,v)=>a(A,Object.assign({__onHtmlBindingRoot:h,__embeddedInHtml:!0},v),{stripTrailingHardline:!0}),"l");if(o.fullName==="srcset"&&(o.parent.fullName==="img"||o.parent.fullName==="source"))return g(uk(l()));if(o.fullName==="class"&&!s.parentParser){let A=l();if(!A.includes("{{"))return ik(A)}if(o.fullName==="style"&&!s.parentParser){let A=l();if(!A.includes("{{"))return g(C(A,{parser:"css",__isHTMLStyleAttribute:!0}))}if(s.parser==="vue"){if(o.fullName==="v-for")return tk(l(),C);if(YB(o)||KB(o,s))return nk(l(),C);let A=["^:","^v-bind:"],v=["^v-"];if(c(["^@","^v-on:"])){let S=l();return E(C(S,{parser:rk(S)?"__js_expression":"__vue_event_binding"}))}if(c(A))return E(C(l(),{parser:"__vue_expression"}));if(c(v))return E(C(l(),{parser:"__js_expression"}))}if(s.parser==="angular"){let A=d((O,H)=>C(O,Object.assign({},H,{trailingComma:"none"})),"t212"),v=["^\\*"],S=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],_=["^i18n(-.+)?$"];if(c(["^\\(.+\\)$","^on-"]))return E(A(l(),{parser:"__ng_action"}));if(c(S))return E(A(l(),{parser:"__ng_binding"}));if(c(_)){let O=l().trim();return g(Py(Hy(o,O)),!O.includes("@@"))}if(c(v))return E(A(l(),{parser:"__ng_directive"}));let w=/{{([\S\s]+?)}}/g,B=l();if(w.test(B)){let O=[];for(let[H,X]of B.split(w).entries())if(H%2==0)O.push(Xt(X,rn));else try{O.push(yt(["{{",Ma([Et,A(X,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),Et,"}}"]))}catch{O.push("{{",Xt(X,rn),"}}")}return yt(O)}}return null}(u,(o,a)=>n(o,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},a),{stripTrailingHardline:!0}),r);if(i)return[u.rawName,'="',yt(MB(i,o=>typeof o=="string"?o.replace(/"/g,"""):o)),'"'];break}case"front-matter":return S0(u,n)}}};let zy="HTML";var pk={htmlWhitespaceSensitivity:{since:"1.15.0",category:zy,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},vueIndentScriptAndStyle:{since:"1.19.0",category:zy,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},bd={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146},dk={name:"Vue",type:"markup",color:"#2c3e50",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391},fk={languages:[Ae(bd,()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),Ae(bd,e=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...e.extensions,".mjml"]})),Ae(bd,()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),Ae(dk,()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],printers:{html:lk},options:pk,parsers:{get html(){return{}.parsers.html},get vue(){return{}.parsers.vue},get angular(){return{}.parsers.angular},get lwc(){return{}.parsers.lwc}}},hk={isPragma:function(e){return/^\s*@(prettier|format)\s*$/.test(e)},hasPragma:function(e){return/^\s*#[^\S\n]*@(prettier|format)\s*?(\n|$)/.test(e)},insertPragma:function(e){return`# @format
|
|
179
|
+
|
|
180
|
+
`.concat(e)}},Dk={locStart:function(e){return e.position.start.offset},locEnd:function(e){return e.position.end.offset}},mk=d(function(e,t,n,r){if(e.getValue().type==="root"&&r.filepath&&/(?:[/\\]|^)\.prettierrc$/.test(r.filepath))return n(r.originalText,Object.assign({},r,{parser:"json"}))},"DL");let{getLast:Ot,isNonEmptyArray:Ua}=ue;function Xy(e,t){return e&&typeof e.type=="string"&&(!t||t.includes(e.type))}d(Xy,"CL");function Jy(e){return e.value.trim()==="prettier-ignore"}d(Jy,"vL");function Cd(e){return e&&Ua(e.leadingComments)}d(Cd,"AL");function Yy(e){return e&&Ua(e.middleComments)}d(Yy,"FL");function Ky(e){return e&&e.indicatorComment}d(Ky,"xL");function Qy(e){return e&&e.trailingComment}d(Qy,"SL");function vd(e){return e&&Ua(e.endComments)}d(vd,"wL");function Zy(e){let t=[],n;for(let r of e.split(/( +)/g))r!==" "?n===" "?t.push(r):t.push((t.pop()||"")+r):n===void 0&&t.unshift(""),n=r;return n===" "&&t.push((t.pop()||"")+" "),t[0]===""&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}d(Zy,"TL");var ei={getLast:Ot,getAncestorCount:function(e,t){let n=0,r=e.stack.length-1;for(let u=0;u<r;u++){let i=e.stack[u];Xy(i)&&t(i)&&n++}return n},isNode:Xy,isEmptyNode:function(e){return!Ua(e.children)&&!function(t){return Cd(t)||Yy(t)||Ky(t)||Qy(t)||vd(t)}(e)},isInlineNode:function(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}},mapNode:d(function e(t,n,r){return n("children"in t?Object.assign({},t,{children:t.children.map(u=>e(u,n,t))}):t,r)},"e"),defineShortcut:function(e,t,n){Object.defineProperty(e,t,{get:n,enumerable:!1})},isNextLineEmpty:function(e,t){let n=0,r=t.length;for(let u=e.position.end.offset-1;u<r;u++){let i=t[u];if(i===`
|
|
181
|
+
`&&n++,n===1&&/\S/.test(i))return!1;if(n===2)return!0}return!1},isLastDescendantNode:function(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}let t=e.stack.length;for(let n=1;n<t;n++){let r=e.stack[n],u=e.stack[n-1];if(Array.isArray(u)&&typeof r=="number"&&r!==u.length-1)return!1}return!0},getBlockValueLineContents:function(e,{parentIndent:t,isLastDescendant:n,options:r}){let u=e.position.start.line===e.position.end.line?"":r.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*?\n([\S\s]*)$/)[1],i=e.indent===null?(o=u.match(/^( *)\S/m))?o[1].length:Number.POSITIVE_INFINITY:e.indent-1+t;var o;let a=u.split(`
|
|
182
|
+
`).map(c=>c.slice(i));return r.proseWrap==="preserve"||e.type==="blockLiteral"?s(a.map(c=>c.length===0?[]:[c])):s(a.map(c=>c.length===0?[]:Zy(c)).reduce((c,l,p)=>p!==0&&a[p-1].length>0&&l.length>0&&!/^\s/.test(l[0])&&!/^\s|\s$/.test(Ot(c))?[...c.slice(0,-1),[...Ot(c),...l]]:[...c,l],[]).map(c=>c.reduce((l,p)=>l.length>0&&/\s$/.test(Ot(l))?[...l.slice(0,-1),Ot(l)+" "+p]:[...l,p],[])).map(c=>r.proseWrap==="never"?[c.join(" ")]:c));function s(c){if(e.chomping==="keep")return Ot(c).length===0?c.slice(0,-1):c;let l=0;for(let p=c.length-1;p>=0&&c[p].length===0;p--)l++;return l===0?c:l>=2&&!n?c.slice(0,-(l-1)):c.slice(0,-l)}},getFlowScalarLineContents:function(e,t,n){let r=t.split(`
|
|
183
|
+
`).map((u,i,o)=>i===0&&i===o.length-1?u:i!==0&&i!==o.length-1?u.trim():i===0?u.trimEnd():u.trimStart());return n.proseWrap==="preserve"?r.map(u=>u.length===0?[]:[u]):r.map(u=>u.length===0?[]:Zy(u)).reduce((u,i,o)=>o!==0&&r[o-1].length>0&&i.length>0&&(e!=="quoteDouble"||!Ot(Ot(u)).endsWith("\\"))?[...u.slice(0,-1),[...Ot(u),...i]]:[...u,i],[]).map(u=>n.proseWrap==="never"?[u.join(" ")]:u)},getLastDescendantNode:d(function e(t){return Ua(t.children)?e(Ot(t.children)):t},"e"),hasPrettierIgnore:function(e){let t=e.getValue();if(t.type==="documentBody"){let n=e.getParentNode();return vd(n.head)&&Jy(Ot(n.head.endComments))}return Cd(t)&&Jy(Ot(t.leadingComments))},hasLeadingComments:Cd,hasMiddleComments:Yy,hasIndicatorComment:Ky,hasTrailingComment:Qy,hasEndComments:vd};let{defineShortcut:Wa,mapNode:gk}=ei;function yk(e){switch(e.type){case"document":Wa(e,"head",()=>e.children[0]),Wa(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Wa(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":Wa(e,"key",()=>e.children[0]),Wa(e,"value",()=>e.children[1])}return e}d(yk,"PL");var Ek=d(function(e){return gk(e,yk)},"OL");let{builders:{softline:bk,align:Ck}}=Q,{hasEndComments:vk,isNextLineEmpty:Ak,isNode:Fk}=ei,Ad=new WeakMap;function eE(e){return vk(e)&&!Fk(e,["documentHead","documentBody","flowMapping","flowSequence"])}d(eE,"VL");var Ac={alignWithSpaces:function(e,t){return Ck(" ".repeat(e),t)},shouldPrintEndComments:eE,printNextEmptyLine:function(e,t){let n=e.getValue(),r=e.stack[0],u;return Ad.has(r)?u=Ad.get(r):(u=new Set,Ad.set(r,u)),u.has(n.position.end.line)||(u.add(n.position.end.line),!Ak(n,t)||eE(e.getParentNode()))?"":bk}};let{builders:{ifBreak:Sk,line:tE,softline:xk,hardline:nE,join:Tk}}=Q,{isEmptyNode:rE,getLast:wk,hasEndComments:Nk}=ei,{printNextEmptyLine:Bk,alignWithSpaces:kk}=Ac;function uE(e,t,n){let r=e.getValue(),u=r.type==="flowMapping",i=u?"{":"[",o=u?"}":"]",a=xk;u&&r.children.length>0&&n.bracketSpacing&&(a=tE);let s=wk(r.children),c=s&&s.type==="flowMappingItem"&&rE(s.key)&&rE(s.value);return[i,kk(n.tabWidth,[a,_k(e,t,n),n.trailingComma==="none"?"":Sk(","),Nk(r)?[nE,Tk(nE,e.map(t,"endComments"))]:""]),c?"":a,o]}d(uE,"QL");function _k(e,t,n){let r=e.getValue();return e.map((u,i)=>[t(),i===r.children.length-1?"":[",",tE,r.children[i].position.start.line!==r.children[i+1].position.start.line?Bk(u,n.originalText):""]],"children")}d(_k,"ZL");var Pk={printFlowMapping:uE,printFlowSequence:uE};let{builders:{conditionalGroup:Ok,group:iE,hardline:Fc,ifBreak:aE,join:Ik,line:Lk}}=Q,{hasLeadingComments:Sc,hasMiddleComments:oE,hasTrailingComment:Fd,hasEndComments:Sd,isNode:sE,isEmptyNode:cE,isInlineNode:lE}=ei,{alignWithSpaces:jr}=Ac;function pE(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(t.proseWrap==="preserve")return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes(`
|
|
184
|
+
`);case"always":return!/[\n ]/.test(e.value);default:return!1}}d(pE,"m_");var jk=d(function(e,t,n,r,u){let{key:i,value:o}=e,a=cE(i),s=cE(o);if(a&&s)return": ";let c=r("key"),l=function(A){return A.key.content&&A.key.content.type==="alias"}(e)?" ":"";if(s)return e.type==="flowMappingItem"&&t.type==="flowMapping"?c:e.type!=="mappingItem"||!pE(i.content,u)||Fd(i.content)||t.tag&&t.tag.value==="tag:yaml.org,2002:set"?["? ",jr(2,c)]:[c,l,":"];let p=r("value");if(a)return[": ",jr(2,p)];if(Sc(o)||!lE(i.content))return["? ",jr(2,c),Fc,Ik("",n.map(r,"value","leadingComments").map(A=>[A,Fc])),": ",jr(2,p)];if(function(A){if(!A)return!0;switch(A.type){case"plain":case"quoteDouble":case"quoteSingle":return A.position.start.line===A.position.end.line;case"alias":return!0;default:return!1}}(i.content)&&!Sc(i.content)&&!oE(i.content)&&!Fd(i.content)&&!Sd(i)&&!Sc(o.content)&&!oE(o.content)&&!Sd(o)&&pE(o.content,u))return[c,l,": ",p];let h=Symbol("mappingKey"),f=iE([aE("? "),iE(jr(2,c),{id:h})]),g=[Fc,": ",jr(2,p)],E=[l,":"];Sc(o.content)||Sd(o)&&o.content&&!sE(o.content,["mapping","sequence"])||t.type==="mapping"&&Fd(i.content)&&lE(o.content)||sE(o.content,["mapping","sequence"])&&o.content.tag===null&&o.content.anchor===null?E.push(Fc):o.content&&E.push(Lk),E.push(p);let C=jr(u.tabWidth,E);return Ok([[f,aE(g,C,{groupId:h})]])},"g_");let{builders:{dedent:Rk,dedentToRoot:dE,fill:Mk,hardline:xd,join:qk,line:$k,literalline:fE,markAsRoot:Vk},utils:{getDocParts:Uk}}=Q,{getAncestorCount:Wk,getBlockValueLineContents:Gk,hasIndicatorComment:Hk,isLastDescendantNode:zk,isNode:Xk}=ei,{alignWithSpaces:hE}=Ac;var Jk=d(function(e,t,n){let r=e.getValue(),u=Wk(e,c=>Xk(c,["sequence","mapping"])),i=zk(e),o=[r.type==="blockFolded"?">":"|"];r.indent!==null&&o.push(r.indent.toString()),r.chomping!=="clip"&&o.push(r.chomping==="keep"?"+":"-"),Hk(r)&&o.push(" ",t("indicatorComment"));let a=Gk(r,{parentIndent:u,isLastDescendant:i,options:n}),s=[];for(let[c,l]of a.entries())c===0&&s.push(xd),s.push(Mk(Uk(qk($k,l)))),c!==a.length-1?s.push(l.length===0?xd:Vk(fE)):r.chomping==="keep"&&i&&s.push(dE(l.length===0?xd:fE));return r.indent===null?o.push(Rk(hE(n.tabWidth,s))):o.push(dE(hE(r.indent-1+u,s))),o},"P_");let{builders:{breakParent:Yk,fill:Kk,group:Qk,hardline:Se,join:Jt,line:Zk,lineSuffix:e9,literalline:t9},utils:{getDocParts:n9}}=Q,{replaceEndOfLineWith:r9,isPreviousLineEmpty:u9}=ue,{insertPragma:i9,isPragma:a9}=hk,{locStart:Td}=Dk,{getFlowScalarLineContents:o9,getLastDescendantNode:DE,hasLeadingComments:s9,hasMiddleComments:mE,hasTrailingComment:ti,hasEndComments:wd,hasPrettierIgnore:c9,isLastDescendantNode:l9,isNode:ni,isInlineNode:p9}=ei,{alignWithSpaces:gE,printNextEmptyLine:d9,shouldPrintEndComments:f9}=Ac,{printFlowMapping:h9,printFlowSequence:D9}=Pk;function yE(e,t){return ti(e)||t&&(t.head.children.length>0||wd(t.head))}d(yE,"aM");function Ga(e,t,n){let r=o9(e,t,n);return Jt(Se,r.map(u=>Kk(n9(Jt(Zk,u)))))}d(Ga,"cM");var m9={preprocess:Ek,embed:mk,print:function(e,t,n){let r=e.getValue(),u=[];r.type!=="mappingValue"&&s9(r)&&u.push([Jt(Se,e.map(n,"leadingComments")),Se]);let{tag:i,anchor:o}=r;i&&u.push(n("tag")),i&&o&&u.push(" "),o&&u.push(n("anchor"));let a="";ni(r,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!l9(e)&&(a=d9(e,t.originalText)),(i||o)&&(ni(r,["sequence","mapping"])&&!mE(r)?u.push(Se):u.push(" ")),mE(r)&&u.push([r.middleComments.length===1?"":Se,Jt(Se,e.map(n,"middleComments")),Se]);let s=e.getParentNode();return c9(e)?u.push(r9(t.originalText.slice(r.position.start.offset,r.position.end.offset).trimEnd(),t9)):u.push(Qk(function(c,l,p,h,f){switch(c.type){case"root":{let{children:g}=c,E=[];p.each((A,v)=>{let S=g[v],_=g[v+1];v!==0&&E.push(Se),E.push(f()),yE(S,_)?(E.push(Se,"..."),ti(S)&&E.push(" ",f("trailingComment"))):_&&!ti(_.head)&&E.push(Se,"---")},"children");let C=DE(c);return ni(C,["blockLiteral","blockFolded"])&&C.chomping==="keep"||E.push(Se),E}case"document":{let g=[];return function(E,C,A,v){return A.children[0]===E&&/---(\s|$)/.test(v.originalText.slice(Td(E),Td(E)+4))||E.head.children.length>0||wd(E.head)||ti(E.head)?"head":yE(E,C)?!1:!!C&&"root"}(c,l.children[p.getName()+1],l,h)==="head"&&((c.head.children.length>0||c.head.endComments.length>0)&&g.push(f("head")),ti(c.head)?g.push(["---"," ",f(["head","trailingComment"])]):g.push("---")),function(E){return E.body.children.length>0||wd(E.body)}(c)&&g.push(f("body")),Jt(Se,g)}case"documentHead":return Jt(Se,[...p.map(f,"children"),...p.map(f,"endComments")]);case"documentBody":{let{children:g,endComments:E}=c,C="";if(g.length>0&&E.length>0){let A=DE(c);ni(A,["blockFolded","blockLiteral"])?A.chomping!=="keep"&&(C=[Se,Se]):C=Se}return[Jt(Se,p.map(f,"children")),C,Jt(Se,p.map(f,"endComments"))]}case"directive":return["%",Jt(" ",[c.name,...c.parameters])];case"comment":return["#",c.value];case"alias":return["*",c.value];case"tag":return h.originalText.slice(c.position.start.offset,c.position.end.offset);case"anchor":return["&",c.value];case"plain":return Ga(c.type,h.originalText.slice(c.position.start.offset,c.position.end.offset),h);case"quoteDouble":case"quoteSingle":{let g="'",E='"',C=h.originalText.slice(c.position.start.offset+1,c.position.end.offset-1);if(c.type==="quoteSingle"&&C.includes("\\")||c.type==="quoteDouble"&&/\\[^"]/.test(C)){let v=c.type==="quoteDouble"?E:g;return[v,Ga(c.type,C,h),v]}if(C.includes(E))return[g,Ga(c.type,c.type==="quoteDouble"?C.replace(/\\"/g,E).replace(/'/g,g.repeat(2)):C,h),g];if(C.includes(g))return[E,Ga(c.type,c.type==="quoteSingle"?C.replace(/''/g,g):C,h),E];let A=h.singleQuote?g:E;return[A,Ga(c.type,C,h),A]}case"blockFolded":case"blockLiteral":return Jk(p,f,h);case"mapping":case"sequence":return Jt(Se,p.map(f,"children"));case"sequenceItem":return["- ",gE(2,c.content?f("content"):"")];case"mappingKey":case"mappingValue":return c.content?f("content"):"";case"mappingItem":case"flowMappingItem":return jk(c,l,p,f,h);case"flowMapping":return h9(p,f,h);case"flowSequence":return D9(p,f,h);case"flowSequenceItem":return f("content");default:throw new Error("Unexpected node type ".concat(c.type))}}(r,s,e,t,n))),ti(r)&&!ni(r,["document","documentHead"])&&u.push(e9([r.type!=="mappingValue"||r.content?" ":"",s.type==="mappingKey"&&e.getParentNode(2).type==="mapping"&&p9(r)?"":Yk,n("trailingComment")])),f9(r)&&u.push(gE(r.type==="sequenceItem"?2:0,[Se,Jt(Se,e.map(c=>[u9(t.originalText,c.getValue(),Td)?Se:"",n()],"endComments"))])),u.push(a),u},massageAstNode:function(e,t){if(ni(t))switch(delete t.position,t.type){case"comment":if(a9(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote"}},insertPragma:i9},g9={bracketSpacing:Cn.bracketSpacing,singleQuote:Cn.singleQuote,proseWrap:Cn.proseWrap},y9=[bw,m6,O6,$6,TN,fk,{languages:[Ae({name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407},e=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...e.filenames.filter(t=>t!=="yarn.lock"),".prettierrc"]}))],printers:{yaml:m9},options:g9,parsers:{get yaml(){return{}.parsers.yaml}}}];let{version:E9}=zn,{getSupportInfo:b9}=iu,C9=y9.map(e=>we(e,["parsers"]));function Rr(e,t=1){return(...n)=>{let r=n[t]||{},u=r.plugins||[];return n[t]=Object.assign({},r,{plugins:[...C9,...Array.isArray(u)?u:Object.values(u)]}),e(...n)}}d(Rr,"gM");let Nd=Rr(ku.formatWithCursor);return{formatWithCursor:Nd,format:(e,t)=>Nd(e,t).formatted,check(e,t){let{formatted:n}=Nd(e,t);return n===e},doc:Q,getSupportInfo:Rr(b9,0),version:E9,util:lA,__debug:{parse:Rr(ku.parse),formatAST:Rr(ku.formatAST),formatDoc:Rr(ku.formatDoc),printToDoc:Rr(ku.printToDoc),printDocToString:Rr(ku.printDocToString)}}})});ui();var PE=bE(NE()),OE=bE(_E());import v9 from"memoizerific";var z_=v9(2)((we,me)=>we===!1?me:we==="dedent"||we===!0?CE(me):OE.default.format(me,{parser:we,plugins:[PE.default],htmlWhitespaceSensitivity:"ignore"}).trim());export{z_ as formatter};
|