Anvil/assets/formatter-SWP5E3XI-2f383461.js

157 lines
591 KiB
JavaScript
Raw Normal View History

2024-02-09 21:15:08 +01:00
import{_ as ea,m as pl,b as ta}from"./index-43eea83a.js";import"./iframe-816972a2.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-725317a4.js";import"./index-11d98b33.js";import"./index-a04a29e8.js";import"./index-356e4a49.js";var cl=ta({"node_modules/prettier/parser-html.js"(Jr,Xr){(function(Ae){if(typeof Jr=="object"&&typeof Xr=="object")Xr.exports=Ae();else if(typeof define=="function"&&define.amd)define(Ae);else{var Yt=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};Yt.prettierPlugins=Yt.prettierPlugins||{},Yt.prettierPlugins.html=Ae()}})(function(){var Ae=(ot,Ne)=>()=>(Ne||ot((Ne={exports:{}}).exports,Ne),Ne.exports),Yt=Ae((ot,Ne)=>{var Se=function(Oe){return Oe&&Oe.Math==Math&&Oe};Ne.exports=Se(typeof globalThis=="object"&&globalThis)||Se(typeof window=="object"&&window)||Se(typeof self=="object"&&self)||Se(typeof global=="object"&&global)||function(){return this}()||Function("return this")()}),hr=Ae((ot,Ne)=>{Ne.exports=function(Se){try{return!!Se()}catch{return!0}}}),br=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Hr=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){var Oe=(function(){}).bind();return typeof Oe!="function"||Oe.hasOwnProperty("prototype")})}),gr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype.call;Ne.exports=Se?Oe.bind(Oe):function(){return Oe.apply(Oe,arguments)}}),Dn=Ae(ot=>{var Ne={}.propertyIsEnumerable,Se=Object.getOwnPropertyDescriptor,Oe=Se&&!Ne.call({1:2},1);ot.f=Oe?function(ee){var V=Se(this,ee);return!!V&&V.enumerable}:Ne}),Lr=Ae((ot,Ne)=>{Ne.exports=function(Se,Oe){return{enumerable:!(Se&1),configurable:!(Se&2),writable:!(Se&4),value:Oe}}}),Dr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype,ee=Oe.call,V=Se&&Oe.bind.bind(ee,ee);Ne.exports=Se?V:function(W){return function(){return ee.apply(W,arguments)}}}),Br=Ae((ot,Ne)=>{var Se=Dr(),Oe=Se({}.toString),ee=Se("".slice);Ne.exports=function(V){return ee(Oe(V),8,-1)}}),Zr=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=Br(),V=Object,W=Se("".split);Ne.exports=Oe(function(){return!V("z").propertyIsEnumerable(0)})?function(Z){return ee(Z)=="String"?W(Z,""):V(Z)}:V}),nn=Ae((ot,Ne)=>{Ne.exports=function(Se){return Se==null}}),qn=Ae((ot,Ne)=>{var Se=nn(),Oe=TypeError;Ne.exports=function(ee){if(Se(ee))throw Oe("Can't call method on "+ee);return ee}}),dn=Ae((ot,Ne)=>{var Se=Zr(),Oe=qn();Ne.exports=function(ee){return Se(Oe(ee))}}),Vn=Ae((ot,Ne)=>{var Se=typeof document=="object"&&document.all,Oe=typeof Se>"u"&&Se!==void 0;Ne.exports={all:Se,IS_HTMLDDA:Oe}}),dr=Ae((ot,Ne)=>{var Se=Vn(),Oe=Se.all;Ne.exports=Se.IS_HTMLDDA?function(ee){return typeof ee=="function"||ee===Oe}:function(ee){return typeof ee=="function"}}),Or=Ae((ot,Ne)=>{var Se=dr(),Oe=Vn(),ee=Oe.all;Ne.exports=Oe.IS_HTMLDDA?function(V){return typeof V=="object"?V!==null:Se(V)||V===ee}:function(V){return typeof V=="object"?V!==null:Se(V)}}),un=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=function(V){return Oe(V)?V:void 0};Ne.exports=function(V,W){return arguments.length<2?ee(Se[V]):Se[V]&&Se[V][W]}}),Un=Ae((ot,Ne)=>{var Se=Dr();Ne.exports=Se({}.isPrototypeOf)}),ii=Ae((ot,Ne)=>{var Se=un();Ne.exports=Se("navigator","userAgent")||""}),si=Ae((ot,Ne)=>{var Se=Yt(),Oe=ii(),ee=Se.process,V=Se.Deno,W=ee&&ee.versions||V&&V.version,Z=W&&W.v8,Y,ne;Z&&(Y=Z.split("."),ne=Y[0]>0&&Y[0]<4?1:+(Y[0]+Y[1])),!ne&&Oe&&(Y=Oe.match(/Edge\/(\d+)/),(!Y||Y[1]>=74)&&(Y=Oe.match(/Chrome\/(\d+)/),Y&&(ne=+Y[1]))),Ne.exports=ne}),Gn=Ae((ot,Ne)=>{var Se=si(),Oe=hr();Ne.exports=!!Object.getOwnPropertySymbols&&!Oe(function(){var ee=Symbol();return!String(ee)||!(Object(ee)instanceof Symbol)||!Symbol.sham&&Se&&Se<41})}),Jn=Ae((ot,Ne)=>{var Se=Gn();Ne.exports=Se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Xn=Ae((ot,Ne)=>{var Se=un(),Oe=dr(),ee=Un(),V=Jn(),W=Object;Ne.exports=V?function(Z){return typeof Z=="symbol"}:function(Z){var Y=Se("Symbol");return Oe(Y)&&ee(Y.prototype,W(Z))}}),fn=Ae((ot,Ne)=>{var Se=String;Ne.exports=function(Oe){try{return Se(Oe)}catch{return"Object"}}}),sn=Ae((ot,Ne)=>{var Se=dr(),Oe=fn
2024-02-08 10:52:22 +01:00
`);return Me===-1?We:We.substring(0,Me)}L.stringify=$t;function ir(le){return typeof le=="function"&&le.hasOwnProperty("__forward_ref__")?le():le}L.resolveForwardRef=ir;function st(le){return!!le&&typeof le.then=="function"}L.isPromise=st;var Ot=class{constructor(le){this.full=le;let We=le.split(".");this.major=We[0],this.minor=We[1],this.patch=We.slice(2).join(".")}};L.Version=Ot;var Vt=typeof window<"u"&&window,Ut=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,rr=typeof globalThis<"u"&&globalThis,z=rr||Vt||Ut;L.global=z}}),qt=he({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=At(),ge=Lt(),Ee=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Pe(Me){return Me.replace(/\W/g,"_")}L.sanitizeIdentifier=Pe;var ie=0;function de(Me){if(!Me||!Me.reference)return null;let at=Me.reference;if(at instanceof re.StaticSymbol)return at.name;if(at.__anonymousType)return at.__anonymousType;let Jt=ge.stringify(at);return Jt.indexOf("(")>=0?(Jt=`anonymous_${ie++}`,at.__anonymousType=Jt):Jt=Pe(Jt),Jt}L.identifierName=de;function Ue(Me){let at=Me.reference;return at instanceof re.StaticSymbol?at.filePath:`./${ge.stringify(at)}`}L.identifierModuleUrl=Ue;function Ge(Me,at){return`View_${de({reference:Me})}_${at}`}L.viewClassName=Ge;function gt(Me){return`RenderType_${de({reference:Me})}`}L.rendererTypeName=gt;function ce(Me){return`HostView_${de({reference:Me})}`}L.hostViewClassName=ce;function ve(Me){return`${de({reference:Me})}NgFactory`}L.componentFactoryName=ve;var Ve;(function(Me){Me[Me.Pipe=0]="Pipe",Me[Me.Directive=1]="Directive",Me[Me.NgModule=2]="NgModule",Me[Me.Injectable=3]="Injectable"})(Ve=L.CompileSummaryKind||(L.CompileSummaryKind={}));function He(Me){return Me.value!=null?Pe(Me.value):de(Me.identifier)}L.tokenName=He;function Je(Me){return Me.identifier!=null?Me.identifier.reference:Me.value}L.tokenReference=Je;var Qe=class{constructor(){let{moduleUrl:Me,styles:at,styleUrls:Jt}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=Me||null,this.styles=st(at),this.styleUrls=st(Jt)}};L.CompileStylesheetMetadata=Qe;var yt=class{constructor(Me){let{encapsulation:at,template:Jt,templateUrl:er,htmlAst:Ar,styles:Er,styleUrls:_r,externalStylesheets:xr,animations:Ir,ngContentSelectors:Mr,interpolation:or,isInline:lt,preserveWhitespaces:mt}=Me;if(this.encapsulation=at,this.template=Jt,this.templateUrl=er,this.htmlAst=Ar,this.styles=st(Er),this.styleUrls=st(_r),this.externalStylesheets=st(xr),this.animations=Ir?Vt(Ir):[],this.ngContentSelectors=Mr||[],or&&or.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=or,this.isInline=lt,this.preserveWhitespaces=mt}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};L.CompileTemplateMetadata=yt;var _t=class{static create(Me){let{isHost:at,type:Jt,isComponent:er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:xr,outputs:Ir,host:Mr,providers:or,viewProviders:lt,queries:mt,guards:St,viewQueries:xt,entryComponents:Kt,template:sr,componentViewType:lr,rendererType:Qt,componentFactory:Kr}=Me,Pn={},In={},Hu={};Mr!=null&&Object.keys(Mr).forEach(vr=>{let Qr=Mr[vr],cn=vr.match(Ee);cn===null?Hu[vr]=Qr:cn[1]!=null?In[cn[1]]=Qr:cn[2]!=null&&(Pn[cn[2]]=Qr)});let Yu={};xr==null||xr.forEach(vr=>{let Qr=ge.splitAtColon(vr,[vr,vr]);Yu[Qr[0]]=Qr[1]});let Ku={};return Ir==null||Ir.forEach(vr=>{let Qr=ge.splitAtColon(vr,[vr,vr]);Ku[Qr[0]]=Qr[1]}),new _t({isHost:at,type:Jt,isComponent:!!er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:Yu,outputs:Ku,hostListeners:Pn,hostProperties:In,hostAttributes:Hu,providers:or,viewProviders:lt,queries:mt,guards:St,viewQueries:xt,entryComponents:Kt,template:sr,componentViewType:lr,rendererType:Qt,componentFactory:Kr})}constructor(Me){let{isHost:at,type:Jt,isComponent:er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:xr,outputs:Ir,hostListeners:Mr,hostProperties:or,hostAttributes
`&&++yt==ve)););for(Qe=0,yt=0;Qe<ce&&Je<Ve.length-1&&(Je++,Qe++,!(Ve[Je]==`
`&&++yt==ve)););return{before:Ve.substring(He,this.offset),after:Ve.substring(this.offset,Je+1)}}return null}};L.ParseLocation=Ee;var Pe=class{constructor(ce,ve){this.content=ce,this.url=ve}};L.ParseSourceFile=Pe;var ie=class{constructor(ce,ve){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=ce,this.end=ve,this.details=Ve}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};L.ParseSourceSpan=ie,L.EMPTY_PARSE_LOCATION=new Ee(new Pe("",""),0,0,0),L.EMPTY_SOURCE_SPAN=new ie(L.EMPTY_PARSE_LOCATION,L.EMPTY_PARSE_LOCATION);var de;(function(ce){ce[ce.WARNING=0]="WARNING",ce[ce.ERROR=1]="ERROR"})(de=L.ParseErrorLevel||(L.ParseErrorLevel={}));var Ue=class{constructor(ce,ve){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:de.ERROR;this.span=ce,this.msg=ve,this.level=Ve}contextualMessage(){let ce=this.span.start.getContext(100,3);return ce?`${this.msg} ("${ce.before}[${de[this.level]} ->]${ce.after}")`:this.msg}toString(){let ce=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${ce}`}};L.ParseError=Ue;function Ge(ce,ve){let Ve=ge.identifierModuleUrl(ve),He=Ve!=null?`in ${ce} ${ge.identifierName(ve)} in ${Ve}`:`in ${ce} ${ge.identifierName(ve)}`,Je=new Pe("",He);return new ie(new Ee(Je,-1,-1,-1),new Ee(Je,-1,-1,-1))}L.typeSourceSpan=Ge;function gt(ce,ve,Ve){let He=`in ${ce} ${ve} in ${Ve}`,Je=new Pe("",He);return new ie(new Ee(Je,-1,-1,-1),new Ee(Je,-1,-1,-1))}L.r3JitTypeSourceSpan=gt}}),ue=he({"src/utils/front-matter/parse.js"(L,re){$();var ge=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Ee(Pe){let ie=Pe.match(ge);if(!ie)return{content:Pe};let{startDelimiter:de,language:Ue,value:Ge="",endDelimiter:gt}=ie.groups,ce=Ue.trim()||"yaml";if(de==="+++"&&(ce="toml"),ce!=="yaml"&&de!==gt)return{content:Pe};let[ve]=ie;return{frontMatter:{type:"front-matter",lang:ce,value:Ge,startDelimiter:de,endDelimiter:gt,raw:ve.replace(/\n$/,"")},content:ve.replace(/[^\n]/g," ")+Pe.slice(ve.length)}}re.exports=Ee}}),yr=he({"src/utils/get-last.js"(L,re){$();var ge=Ee=>Ee[Ee.length-1];re.exports=ge}}),Pr=he({"src/common/parser-create-error.js"(L,re){$();function ge(Ee,Pe){let ie=new SyntaxError(Ee+" ("+Pe.start.line+":"+Pe.start.column+")");return ie.loc=Pe,ie}re.exports=ge}}),zr={};qe(zr,{default:()=>fr});function fr(L){if(typeof L!="string")throw new TypeError("Expected a string");return L.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Rr=je({"node_modules/escape-string-regexp/index.js"(){$()}}),mr=he({"node_modules/semver/internal/debug.js"(L,re){$();var ge=typeof rt=="object"&&rt.env&&rt.env.NODE_DEBUG&&/\bsemver\b/i.test(rt.env.NODE_DEBUG)?function(){for(var Ee=arguments.length,Pe=new Array(Ee),ie=0;ie<Ee;ie++)Pe[ie]=arguments[ie];return console.error("SEMVER",...Pe)}:()=>{};re.exports=ge}}),rn=he({"node_modules/semver/internal/constants.js"(L,re){$();var ge="2.0.0",Ee=256,Pe=Number.MAX_SAFE_INTEGER||9007199254740991,ie=16;re.exports={SEMVER_SPEC_VERSION:ge,MAX_LENGTH:Ee,MAX_SAFE_INTEGER:Pe,MAX_SAFE_COMPONENT_LENGTH:ie}}}),wr=he({"node_modules/semver/internal/re.js"(L,re){$();var{MAX_SAFE_COMPONENT_LENGTH:ge}=rn(),Ee=mr();L=re.exports={};var Pe=L.re=[],ie=L.src=[],de=L.t={},Ue=0,Ge=(gt,ce,ve)=>{let Ve=Ue++;Ee(gt,Ve,ce),de[gt]=Ve,ie[Ve]=ce,Pe[Ve]=new RegExp(ce,ve?"g":void 0)};Ge("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ge("NUMERICIDENTIFIERLOOSE","[0-9]+"),Ge("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Ge("MAINVERSION",`(${ie[de.NUMERICIDENTIFIER]})\\.(${ie[de.NUMERICIDENTIFIER]})\\.(${ie[de.NUMERICIDENTIFIER]})`),Ge("MAINVERSIONLOOSE",`(${ie[de.NUMERICIDENTIFIERLOOSE]})\\.(${ie[de.NUMERICIDENTIFIERLOOSE]})\\.(${ie[de.NUMERICIDENTIFIERLOOSE]})`),Ge("PRERELEASEIDENTIFIER",`(?:${ie[de.NUMERICIDENTIFIER]}|${ie[de.NONNUMERICIDENTIFIER]})`),Ge("PRERELEASEIDENTIFIERLOOSE",`(?:${ie[de.NUMERICIDENTIFIERLOOSE]}|${ie[de.NONNUMERICIDENTIFIER]})`),Ge("PRERELEASE",`(?:-(${ie[de.PRERELEASEIDENTIFIER]
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`,cliCategory:Pe},endOfLine:{since:"1.15.0",category:Ge,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:ge`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`}]},filepath:{since:"1.4.0",category:gt,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:de,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:gt,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:de},parser:{since:"0.0.10",category:Ge,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:ve=>typeof ve=="string"||typeof ve=="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:"acorn",since:"2.6.0",description:"JavaScript"},{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:Ge,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:ve=>typeof ve=="string"||typeof ve=="object",cliName:"plugin",cliCategory:Ee},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Ge,description:ge`
Custom directory that contains prettier plugins in node_modules subdirectory.
Overrides default behavior when plugins are searched relatively to the location of Prettier.
Multiple values are accepted.
`,exception:ve=>typeof ve=="string"||typeof ve=="object",cliName:"plugin-search-dir",cliCategory:Ee},printWidth:{since:"0.0.0",category:Ge,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:gt,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:ge`
Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:Pe},rangeStart:{since:"1.4.0",category:gt,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:ge`
Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:Pe},requirePragma:{since:"1.7.0",category:gt,type:"boolean",default:!1,description:ge`
Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.
`,cliCategory:de},tabWidth:{type:"int",category:Ge,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Ge,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Ge,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."}]}};re.exports={CATEGORY_CONFIG:Ee,CATEGORY_EDITOR:Pe,CATEGORY_FORMAT:ie,CATEGORY_OTHER:de,CATEGORY_OUTPUT:Ue,CATEGORY_GLOBAL:Ge,CATEGORY_SPECIAL:gt,options:ce}}}),En=he({"src/main/support.js"(L,re){$();var ge={compare:on(),lt:Nr(),gte:Bu()},Ee=Ri(),Pe=wu().version,ie=Nu().options;function de(){let{plugins:Ge=[],showUnreleased:gt=!1,showDeprecated:ce=!1,showInternal:ve=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ve=Pe.split("-",1)[0],He=Ge.flatMap(ct=>ct.languages||[]).filter(Qe),Je=Ee(Object.assign({},...Ge.map(ct=>{let{options:kt}=ct;return kt}),ie),"name").filter(ct=>Qe(ct)&&yt(ct)).sort((ct,kt)=>ct.name===kt.name?0:ct.name<kt.name?-1:1).map(_t).map(ct=>{ct=Object.assign({},ct),Array.isArray(ct.default)&&(ct.default=ct.default.length===1?ct.default[0].value:ct.default.filter(Qe).sort(($t,ir)=>ge.compare(ir.since,$t.since))[0].value),Array.isArray(ct.choices)&&(ct.choices=ct.choices.filter($t=>Qe($t)&&yt($t)),ct.name==="parser"&&Ue(ct,He,Ge));let kt=Object.fromEntries(Ge.filter($t=>$t.defaultOptions&&$t.defaultOptions[ct.name]!==void 0).map($t=>[$t.name,$t.defaultOptions[ct.name]]));return Object.assign(Object.assign({},ct),{},{pluginDefaults:kt})});return{languages:He,options:Je};function Qe(ct){return gt||!("since"in ct)||ct.since&&ge.gte(Ve,ct.since)}function yt(ct){return ce||!("deprecated"in ct)||ct.deprecated&&ge.lt(Ve,ct.deprecated)}function _t(ct){return ve?ct:Oe(ct,Se)}}function Ue(Ge,gt,ce){let ve=new Set(Ge.choices.map(Ve=>Ve.value));for(let Ve of gt)if(Ve.parsers){for(let He of Ve.parsers)if(!ve.has(He)){ve.add(He);let Je=ce.find(yt=>yt.parsers&&yt.parsers[He]),Qe=Ve.name;Je&&Je.name&&(Qe+=` (plugin: ${Je.name})`),Ge.choices.push({value:He,description:Qe})}}}re.exports={getSupportInfo:de}}}),qi=he({"src/utils/is-non-empty-array.js"(L,re){$();function ge(Ee){return Array.isArray(Ee)&&Ee.length>0}re.exports=ge}});function Vi(){let{onlyFirst:L=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},re=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(re,L?void 0:"g")}var wt=je({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){$()}});function _u(L){if(typeof L!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof L}\``);return L.replace(Vi(),"")}var Ui=je({"node_modules/strip-ansi/index.js"(){$(),wt()}});function Gi(L){return Number.isInteger(L)?L>=4352&&(L<=4447||L===9001||L===9002||11904<=L&&L<=12871&&L!==12351||12880<=L&&L<=19903||19968<=L&&L<=42182||43360<=L&&L<=43388||44032<=L&&L<=55203||63744<=L&&L<=64255||65040<=L&&L<=65049||65072<=L&&L<=65131||65281<=L&&L<=65376||65504<=L&&L<=65510||110592<=L&&L<=110593||127488<=L&&L<=127569||131072<=L&&L<=262141):!1}var ku=je({"node_modules/is-fullwidth-code-point/index.js"(){$()}}),Pu=he({"node_modules/emoji-regex/index.js"(L,re){$(),re.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\u
`)return Pe-2;if(Ue===`
`||Ue==="\r"||Ue==="\u2028"||Ue==="\u2029")return Pe-1}else{if(Ue==="\r"&&Ee.charAt(Pe+1)===`
`)return Pe+2;if(Ue===`
`||Ue==="\r"||Ue==="\u2028"||Ue==="\u2029")return Pe+1}return Pe}re.exports=ge}}),Wi=he({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(L,re){$();var ge=Lu(),Ee=$u(),Pe=Ou(),{skipSpaces:ie}=ru();function de(Ue,Ge){let gt=null,ce=Ge;for(;ce!==gt;)gt=ce,ce=ie(Ue,ce),ce=ge(Ue,ce),ce=Pe(Ue,ce),ce=Ee(Ue,ce);return ce}re.exports=de}}),nu=he({"src/common/util.js"(L,re){$();var{default:ge}=(Rr(),nt(zr)),Ee=yr(),{getSupportInfo:Pe}=En(),ie=qi(),de=tu(),{skipWhitespace:Ue,skipSpaces:Ge,skipToLineEnd:gt,skipEverythingButNewLine:ce}=ru(),ve=Lu(),Ve=Ou(),He=$u(),Je=Wi(),Qe=lt=>lt[lt.length-2];function yt(lt){return(mt,St,xt)=>{let Kt=xt&&xt.backwards;if(St===!1)return!1;let{length:sr}=mt,lr=St;for(;lr>=0&&lr<sr;){let Qt=mt.charAt(lr);if(lt instanceof RegExp){if(!lt.test(Qt))return lr}else if(!lt.includes(Qt))return lr;Kt?lr--:lr++}return lr===-1||lr===sr?lr:!1}}function _t(lt,mt){let St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},xt=Ge(lt,St.backwards?mt-1:mt,St),Kt=He(lt,xt,St);return xt!==Kt}function ct(lt,mt,St){for(let xt=mt;xt<St;++xt)if(lt.charAt(xt)===`
`)return!0;return!1}function kt(lt,mt,St){let xt=St(mt)-1;xt=Ge(lt,xt,{backwards:!0}),xt=He(lt,xt,{backwards:!0}),xt=Ge(lt,xt,{backwards:!0});let Kt=He(lt,xt,{backwards:!0});return xt!==Kt}function $t(lt,mt){let St=null,xt=mt;for(;xt!==St;)St=xt,xt=gt(lt,xt),xt=ve(lt,xt),xt=Ge(lt,xt);return xt=Ve(lt,xt),xt=He(lt,xt),xt!==!1&&_t(lt,xt)}function ir(lt,mt,St){return $t(lt,St(mt))}function st(lt,mt,St){return Je(lt,St(mt))}function Ot(lt,mt,St){return lt.charAt(st(lt,mt,St))}function Vt(lt,mt){let St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Ge(lt,St.backwards?mt-1:mt,St)!==mt}function Ut(lt,mt){let St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,xt=0;for(let Kt=St;Kt<lt.length;++Kt)lt[Kt]===" "?xt=xt+mt-xt%mt:xt++;return xt}function rr(lt,mt){let St=lt.lastIndexOf(`
`);return St===-1?0:Ut(lt.slice(St+1).match(/^[\t ]*/)[0],mt)}function z(lt,mt){let St={quote:'"',regex:/"/g,escaped:"&quot;"},xt={quote:"'",regex:/'/g,escaped:"&apos;"},Kt=mt==="'"?xt:St,sr=Kt===xt?St:xt,lr=Kt;if(lt.includes(Kt.quote)||lt.includes(sr.quote)){let Qt=(lt.match(Kt.regex)||[]).length,Kr=(lt.match(sr.regex)||[]).length;lr=Qt>Kr?sr:Kt}return lr}function le(lt,mt){let St=lt.slice(1,-1),xt=mt.parser==="json"||mt.parser==="json5"&&mt.quoteProps==="preserve"&&!mt.singleQuote?'"':mt.__isInHtmlAttribute?"'":z(St,mt.singleQuote?"'":'"').quote;return We(St,xt,!(mt.parser==="css"||mt.parser==="less"||mt.parser==="scss"||mt.__embeddedInHtml))}function We(lt,mt,St){let xt=mt==='"'?"'":'"',Kt=/\\(.)|(["'])/gs,sr=lt.replace(Kt,(lr,Qt,Kr)=>Qt===xt?Qt:Kr===mt?"\\"+Kr:Kr||(St&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Qt)?Qt:"\\"+Qt));return mt+sr+mt}function Me(lt){return lt.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function at(lt,mt){let St=lt.match(new RegExp(`(${ge(mt)})+`,"g"));return St===null?0:St.reduce((xt,Kt)=>Math.max(xt,Kt.length/mt.length),0)}function Jt(lt,mt){let St=lt.match(new RegExp(`(${ge(mt)})+`,"g"));if(St===null)return 0;let xt=new Map,Kt=0;for(let sr of St){let lr=sr.length/mt.length;xt.set(lr,!0),lr>Kt&&(Kt=lr)}for(let sr=1;sr<Kt;sr++)if(!xt.get(sr))return sr;return Kt+1}function er(lt,mt){(lt.comments||(lt.comments=[])).push(mt),mt.printed=!1,mt.nodeDescription=or(lt)}function Ar(lt,mt){mt.leading=!0,mt.trailing=!1,er(lt,mt)}function Er(lt,mt,St){mt.leading=!1,mt.trailing=!1,St&&(mt.marker=St),er(lt,mt)}function _r(lt,mt){mt.leading=!1,mt.trailing=!0,er(lt,mt)}function xr(lt,mt){let{languages:St}=Pe({plugins:mt.plugins}),xt=St.find(Kt=>{let{name:sr}=Kt;return sr.toLowerCase()===lt})||St.find(Kt=>{let{aliases:sr}=Kt;return Array.isArray(sr)&&sr.includes(lt)})||St.find(Kt=>{let{extensions:sr}=Kt;return Array.isArray(sr)&&sr.includes(`.${lt}`)});return xt&&xt.parsers[0]}function Ir(lt){return lt&&lt.type==="front-matter"}function Mr(lt){let mt=new WeakMap;return function(St){return mt.has(St)||mt.set(St,Symbol(lt)),mt.get(St)}}function or(lt){let mt=lt.type||lt.kind||"(unknown type)",St=String(lt.name||lt.id&&(typeof lt.id=="object"?lt.id.name:lt.id)||lt.key&&(typeof lt.key=="object"?lt.key.name:lt.key)||lt.value&&(typeof lt.value=="object"?"":String(lt.value))||lt.operator||"");return St.length>20&&(St=St.slice(0,19)+"…"),mt+(St?" "+St:"")}re.exports={inferParserByLanguage:xr,getStringWidth:de,getMaxContinuousCount:at,getMinNotPresentContinuousCount:Jt,getPenultimate:Qe,getLast:Ee,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Je,getNextNonSpaceNonCommentCharacterIndex:st,getNextNonSpaceNonCommentCharacter:Ot,skip:yt,skipWhitespace:Ue,skipSpaces:Ge,skipToLineEnd:gt,skipEverythingButNewLine:ce,skipInlineComment:ve,skipTrailingComment:Ve,skipNewline:He,isNextLineEmptyAfterIndex:$t,isNextLineEmpty:ir,isPreviousLineEmpty:kt,hasNewline:_t,hasNewlineInRange:ct,hasSpaces:Vt,getAlignmentSize:Ut,getIndentSize:rr,getPreferredQuote:z,printString:le,printNumber:Me,makeString:We,addLeadingComment:Ar,addDanglingComment:Er,addTrailingComment:_r,isFrontMatterNode:Ir,isNonEmptyArray:ie,createGroupIdMapper:Mr}}}),uu=he({"vendors/html-tag-names.json"(L,re){re.exports={htmlTagNames:["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
`+Pe.replace(/^\s*\n/,"")}re.exports={hasPragma:ge,insertPragma:Ee}}}),Uu=he({"src/language-html/ast.js"(L,re){$();var ge={attrs:!0,children:!0},Ee=new Set(["parent"]),Pe=class{constructor(){let de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let Ue of new Set([...Ee,...Object.keys(de)]))this.setProperty(Ue,de[Ue])}setProperty(de,Ue){if(this[de]!==Ue){if(de in ge&&(Ue=Ue.map(Ge=>this.createChild(Ge))),!Ee.has(de)){this[de]=Ue;return}Object.defineProperty(this,de,{value:Ue,enumerable:!1,configurable:!0})}}map(de){let Ue;for(let Ge in ge){let gt=this[Ge];if(gt){let ce=ie(gt,ve=>ve.map(de));Ue!==gt&&(Ue||(Ue=new Pe({parent:this.parent})),Ue.setProperty(Ge,ce))}}if(Ue)for(let Ge in this)Ge in ge||(Ue[Ge]=this[Ge]);return de(Ue||this)}walk(de){for(let Ue in ge){let Ge=this[Ue];if(Ge)for(let gt=0;gt<Ge.length;gt++)Ge[gt].walk(de)}de(this)}createChild(de){let Ue=de instanceof Pe?de.clone():new Pe(de);return Ue.setProperty("parent",this),Ue}insertChildBefore(de,Ue){this.children.splice(this.children.indexOf(de),0,this.createChild(Ue))}removeChild(de){this.children.splice(this.children.indexOf(de),1)}replaceChild(de,Ue){this.children[this.children.indexOf(de)]=this.createChild(Ue)}clone(){return new Pe(this)}get firstChild(){var de;return(de=this.children)===null||de===void 0?void 0:de[0]}get lastChild(){var de;return(de=this.children)===null||de===void 0?void 0:de[this.children.length-1]}get prev(){var de;return(de=this.parent)===null||de===void 0?void 0:de.children[this.parent.children.indexOf(this)-1]}get next(){var de;return(de=this.parent)===null||de===void 0?void 0:de.children[this.parent.children.indexOf(this)+1]}get rawName(){return this.hasExplicitNamespace?this.fullName:this.name}get fullName(){return this.namespace?this.namespace+":"+this.name:this.name}get attrMap(){return Object.fromEntries(this.attrs.map(de=>[de.fullName,de.value]))}};function ie(de,Ue){let Ge=de.map(Ue);return Ge.some((gt,ce)=>gt!==de[ce])?Ge:de}re.exports={Node:Pe}}}),wn=he({"src/language-html/conditional-comment.js"(L,re){$();var{ParseSourceSpan:ge}=Zt(),Ee=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:ie},{regex:/^\[if([^\]]*)]><!$/,parse:de},{regex:/^<!\s*\[endif]$/,parse:Ue}];function Pe(Ge,gt){if(Ge.value)for(let{regex:ce,parse:ve}of Ee){let Ve=Ge.value.match(ce);if(Ve)return ve(Ge,gt,Ve)}return null}function ie(Ge,gt,ce){let[,ve,Ve,He]=ce,Je=4+ve.length,Qe=Ge.sourceSpan.start.moveBy(Je),yt=Qe.moveBy(He.length),[_t,ct]=(()=>{try{return[!0,gt(He,Qe).children]}catch{return[!1,[{type:"text",value:He,sourceSpan:new ge(Qe,yt)}]]}})();return{type:"ieConditionalComment",complete:_t,children:ct,condition:Ve.trim().replace(/\s+/g," "),sourceSpan:Ge.sourceSpan,startSourceSpan:new ge(Ge.sourceSpan.start,Qe),endSourceSpan:new ge(yt,Ge.sourceSpan.end)}}function de(Ge,gt,ce){let[,ve]=ce;return{type:"ieConditionalStartComment",condition:ve.trim().replace(/\s+/g," "),sourceSpan:Ge.sourceSpan}}function Ue(Ge){return{type:"ieConditionalEndComment",sourceSpan:Ge.sourceSpan}}re.exports={parseIeConditionalComment:Pe}}}),iu=he({"src/language-html/loc.js"(L,re){$();function ge(Pe){return Pe.sourceSpan.start.offset}function Ee(Pe){return Pe.sourceSpan.end.offset}re.exports={locStart:ge,locEnd:Ee}}}),ln=he({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0}),function(Ue){Ue[Ue.RAW_TEXT=0]="RAW_TEXT",Ue[Ue.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",Ue[Ue.PARSABLE_DATA=2]="PARSABLE_DATA"}(L.TagContentType||(L.TagContentType={}));function re(Ue){if(Ue[0]!=":")return[null,Ue];let Ge=Ue.indexOf(":",1);if(Ge==-1)throw new Error(`Unsupported format "${Ue}" expecting ":namespace:name"`);return[Ue.slice(1,Ge),Ue.slice(Ge+1)]}L.splitNsName=re;function ge(Ue){return re(Ue)[1]==="ng-container"}L.isNgContainer=ge;function Ee(Ue){return re(Ue)[1]==="ng-content"}L.isNgContent=Ee;function Pe(Ue){return re(Ue)[1]==="ng-template"}L.isNgTemplate=Pe;function ie(Ue){return Ue===null?null:re(Ue)[0]}L.getNsPrefix=ie;function de(Ue,Ge){return Ue?`:${Ue}:${Ge}`:Ge}L.mergeNsAndName=de,L.NAMED_E
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",Nopf:"",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:"",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"",operp:"⦹",oplus:"⊕",Or:"⩔",or:"",orarr:"↻",ord:"⩝",order:"",orderof:"",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п"
`)}tokenize(){for(;this._cursor.peek()!==re.$EOF;){let z=this._cursor.clone();try{if(this._attemptCharCode(re.$LT))if(this._attemptCharCode(re.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(z):this._attemptStr("--")?this._consumeComment(z):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(z):this._consumeBogusComment(z);else if(this._attemptCharCode(re.$SLASH))this._consumeTagClose(z);else{let le=this._cursor.clone();this._attemptCharCode(re.$QUESTION)?(this._cursor=le,this._consumeBogusComment(z)):this._consumeTagOpen(z)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(le){this.handleError(le)}}return this._beginToken(ie.EOF),this._endToken([]),new Ge(Ot(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if($t(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===re.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(z){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=le,this._currentTokenType=z}_endToken(z){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new Ue("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(le));if(this._currentTokenType===null)throw new Ue("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let We=new de(this._currentTokenType,z,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(We),this._currentTokenStart=null,this._currentTokenType=null,We}_createError(z,le){this._isInExpansionForm()&&(z+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let We=new Ue(z,this._currentTokenType,le);return this._currentTokenStart=null,this._currentTokenType=null,new He(We)}handleError(z){if(z instanceof rr&&(z=this._createError(z.msg,this._cursor.getSpan(z.cursor))),z instanceof He)this.errors.push(z.error);else throw z}_attemptCharCode(z){return this._cursor.peek()===z?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(z){return ir(this._cursor.peek(),z)?(this._cursor.advance(),!0):!1}_requireCharCode(z){let le=this._cursor.clone();if(!this._attemptCharCode(z))throw this._createError(ve(this._cursor.peek()),this._cursor.getSpan(le))}_attemptStr(z){let le=z.length;if(this._cursor.charsLeft()<le)return!1;let We=this._cursor.clone();for(let Me=0;Me<le;Me++)if(!this._attemptCharCode(z.charCodeAt(Me)))return this._cursor=We,!1;return!0}_attemptStrCaseInsensitive(z){for(let le=0;le<z.length;le++)if(!this._attemptCharCodeCaseInsensitive(z.charCodeAt(le)))return!1;return!0}_requireStr(z){let le=this._cursor.clone();if(!this._attemptStr(z))throw this._createError(ve(this._cursor.peek()),this._cursor.getSpan(le))}_requireStrCaseInsensitive(z){let le=this._cursor.clone();if(!this._attemptStrCaseInsensitive(z))throw this._createError(ve(this._cursor.peek()),this._cursor.getSpan(le))}_attemptCharCodeUntilFn(z){for(;!z(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(z,le){let We=this._cursor.clone();if(this._attemptCharCodeUntilFn(z),this._cursor.clone().diff(We)<le)throw this._createError(ve(this._cursor.peek()),this._cursor.getSpan(We))}_attemptUntilChar(z){for(;this._cursor.peek()!==z;)this._cursor.advance()}_readChar(z){if(z&&this._cursor.peek()===re.$AMPERSAND)return this._decodeEntity();{let le=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),le}}_decodeEntity(){let z=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(re.$HASH)){let le=this._attemptCharCode(re.$x)||this._attemptCharCode(re.$X),We=this._cursor.clone();if(this._attemptCharCodeUntilFn(ct),this._cursor.peek()!=re.$SEMICOLO
`){let Ve=this._getParentElement();Ve!=null&&Ve.children.length==0&&this.getTagDefinition(Ve.name).ignoreFirstLf&&(ve=ve.substring(1))}return ve}_consumeText(ce){let ve=this._getText(ce);ve.length>0&&this._addToParent(new ge.Text(ve,ce.sourceSpan))}_closeVoidElement(){let ce=this._getParentElement();ce&&this.getTagDefinition(ce.name).isVoid&&this._elementStack.pop()}_consumeStartTag(ce){let ve=ce.parts[0],Ve=ce.parts[1],He=[];for(;this._peek.type===Ee.TokenType.ATTR_NAME;)He.push(this._consumeAttr(this._advance()));let Je=this._getElementFullName(ve,Ve,this._getParentElement()),Qe=!1;if(this._peek.type===Ee.TokenType.TAG_OPEN_END_VOID){this._advance(),Qe=!0;let $t=this.getTagDefinition(Je);this.canSelfClose||$t.canSelfClose||Pe.getNsPrefix(Je)!==null||$t.isVoid||this._errors.push(ie.create(Je,ce.sourceSpan,`Only void and foreign elements can be self closed "${ce.parts[1]}"`))}else this._peek.type===Ee.TokenType.TAG_OPEN_END&&(this._advance(),Qe=!1);let yt=this._peek.sourceSpan.start,_t=new re.ParseSourceSpan(ce.sourceSpan.start,yt),ct=new re.ParseSourceSpan(ce.sourceSpan.start.moveBy(1),ce.sourceSpan.end),kt=new ge.Element(Je,He,[],_t,_t,void 0,ct);this._pushElement(kt),Qe&&(this._popElement(Je),kt.endSourceSpan=_t)}_pushElement(ce){let ve=this._getParentElement();ve&&this.getTagDefinition(ve.name).isClosedByChild(ce.name)&&this._elementStack.pop(),this._addToParent(ce),this._elementStack.push(ce)}_consumeEndTag(ce){let ve=this.allowHtmComponentClosingTags&&ce.parts.length===0?null:this._getElementFullName(ce.parts[0],ce.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=ce.sourceSpan),ve&&this.getTagDefinition(ve).isVoid)this._errors.push(ie.create(ve,ce.sourceSpan,`Void elements do not have end tags "${ce.parts[1]}"`));else if(!this._popElement(ve)){let Ve=`Unexpected closing tag "${ve}". 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(ie.create(ve,ce.sourceSpan,Ve))}}_popElement(ce){for(let ve=this._elementStack.length-1;ve>=0;ve--){let Ve=this._elementStack[ve];if(!ce||(Pe.getNsPrefix(Ve.name)?Ve.name==ce:Ve.name.toLowerCase()==ce.toLowerCase()))return this._elementStack.splice(ve,this._elementStack.length-ve),!0;if(!this.getTagDefinition(Ve.name).closedByParent)return!1}return!1}_consumeAttr(ce){let ve=Pe.mergeNsAndName(ce.parts[0],ce.parts[1]),Ve=ce.sourceSpan.end,He="",Je,Qe;if(this._peek.type===Ee.TokenType.ATTR_QUOTE&&(Qe=this._advance().sourceSpan.start),this._peek.type===Ee.TokenType.ATTR_VALUE){let yt=this._advance();He=yt.parts[0],Ve=yt.sourceSpan.end,Je=yt.sourceSpan}return this._peek.type===Ee.TokenType.ATTR_QUOTE&&(Ve=this._advance().sourceSpan.end,Je=new re.ParseSourceSpan(Qe,Ve)),new ge.Attribute(ve,He,new re.ParseSourceSpan(ce.sourceSpan.start,Ve),Je,ce.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let ce=null;for(let ve=this._elementStack.length-1;ve>=0;ve--){if(!Pe.isNgContainer(this._elementStack[ve].name))return{parent:this._elementStack[ve],container:ce};ce=this._elementStack[ve]}return{parent:null,container:ce}}_addToParent(ce){let ve=this._getParentElement();ve!=null?ve.children.push(ce):this._rootNodes.push(ce)}_insertBeforeContainer(ce,ve,Ve){if(!ve)this._addToParent(Ve),this._elementStack.push(Ve);else{if(ce){let He=ce.children.indexOf(ve);ce.children[He]=Ve}else this._rootNodes.push(Ve);Ve.children.push(ve),this._elementStack.splice(this._elementStack.indexOf(ve),0,Ve)}}_getElementFullName(ce,ve,Ve){return ce===""&&(ce=this.getTagDefinition(ve).implicitNamespacePrefix||"",ce===""&&Ve!=null&&(ce=Pe.getNsPrefix(Ve.name))),Pe.mergeNsAndName(ce,ve)}};function gt(ce,ve){return ce.length>0&&ce[ce.length-1]===ve}}}),Nn=he({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=su(),ge=lu(),Ee=lu();L.ParseTreeResult
`?"crlf":"cr":"lf"}function a(r){switch(r){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}function s(r,n){let o;switch(n){case`
`:o=/\n/g;break;case"\r":o=/\r/g;break;case`\r
`:o=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(n)}.`)}let c=r.match(o);return c?c.length:0}function e(r){return r.replace(/\r\n?/g,`
`)}l.exports={guessEndOfLine:t,convertEndOfLineToChars:a,countEndOfLineChars:s,normalizeEndOfLine:e}}}),mr=$({"src/utils/get-last.js"(u,l){ue();var t=a=>a[a.length-1];l.exports=t}});function rn(){let{onlyFirst:u=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(l,u?void 0:"g")}var wr=rt({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){ue()}});function Fr(u){if(typeof u!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof u}\``);return u.replace(rn(),"")}var Tn=rt({"node_modules/strip-ansi/index.js"(){ue(),wr()}});function Bn(u){return Number.isInteger(u)?u>=4352&&(u<=4447||u===9001||u===9002||11904<=u&&u<=12871&&u!==12351||12880<=u&&u<=19903||19968<=u&&u<=42182||43360<=u&&u<=43388||44032<=u&&u<=55203||63744<=u&&u<=64255||65040<=u&&u<=65049||65072<=u&&u<=65131||65281<=u&&u<=65376||65504<=u&&u<=65510||110592<=u&&u<=110593||127488<=u&&u<=127569||131072<=u&&u<=262141):!1}var on=rt({"node_modules/is-fullwidth-code-point/index.js"(){ue()}}),Nr=$({"node_modules/emoji-regex/index.js"(u,l){ue(),l.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\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])|\uD83C[\uDF3E\uDF73\uDF7C\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\uDF7C\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\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\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\uDF7C\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\uDF7C\uDF93\uDFA4\uDFA8
`)?T(h):h)}function T(i){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a;return s(h,i.split(`
`)).parts}function f(i){if(i.type==="line")return!0}function F(i){return y(i,f,!1)}l.exports={isConcat:e,getDocParts:r,willBreak:g,traverseDoc:o,findInDoc:y,mapDoc:c,propagateBreaks:D,removeLines:w,stripTrailingHardline:N,normalizeParts:_,normalizeDoc:J,cleanDoc:P,replaceTextEndOfLine:T,replaceEndOfLine:d,canBreak:F}}}),qi=$({"src/document/doc-printer.js"(u,l){ue();var{convertEndOfLineToChars:t}=Rr(),a=mr(),s=Nu(),{fill:e,cursor:r,indent:n}=fr(),{isConcat:o,getDocParts:c}=En(),y,m=1,g=2;function p(){return{value:"",length:0,queue:[]}}function D(x,P){return w(x,{type:"indent"},P)}function C(x,P,_){return P===Number.NEGATIVE_INFINITY?x.root||p():P<0?w(x,{type:"dedent"},_):P?P.type==="root"?Object.assign(Object.assign({},x),{},{root:x}):w(x,{type:typeof P=="string"?"stringAlign":"numberAlign",n:P},_):x}function w(x,P,_){let J=P.type==="dedent"?x.queue.slice(0,-1):[...x.queue,P],d="",T=0,f=0,F=0;for(let I of J)switch(I.type){case"indent":E(),_.useTabs?i(1):h(_.tabWidth);break;case"stringAlign":E(),d+=I.n,T+=I.n.length;break;case"numberAlign":f+=1,F+=I.n;break;default:throw new Error(`Unexpected type '${I.type}'`)}return S(),Object.assign(Object.assign({},x),{},{value:d,length:T,queue:J});function i(I){d+=" ".repeat(I),T+=_.tabWidth*I}function h(I){d+=" ".repeat(I),T+=I}function E(){_.useTabs?b():S()}function b(){f>0&&i(f),B()}function S(){F>0&&h(F),B()}function B(){f=0,F=0}}function k(x){if(x.length===0)return 0;let P=0;for(;x.length>0&&typeof a(x)=="string"&&/^[\t ]*$/.test(a(x));)P+=x.pop().length;if(x.length>0&&typeof a(x)=="string"){let _=a(x).replace(/[\t ]*$/,"");P+=a(x).length-_.length,x[x.length-1]=_}return P}function A(x,P,_,J,d){let T=P.length,f=[x],F=[];for(;_>=0;){if(f.length===0){if(T===0)return!0;f.push(P[--T]);continue}let{mode:i,doc:h}=f.pop();if(typeof h=="string")F.push(h),_-=s(h);else if(o(h)||h.type==="fill"){let E=c(h);for(let b=E.length-1;b>=0;b--)f.push({mode:i,doc:E[b]})}else switch(h.type){case"indent":case"align":case"indent-if-break":case"label":f.push({mode:i,doc:h.contents});break;case"trim":_+=k(F);break;case"group":{if(d&&h.break)return!1;let E=h.break?m:i,b=h.expandedStates&&E===m?a(h.expandedStates):h.contents;f.push({mode:E,doc:b});break}case"if-break":{let E=(h.groupId?y[h.groupId]||g:i)===m?h.breakContents:h.flatContents;E&&f.push({mode:i,doc:E});break}case"line":if(i===m||h.hard)return!0;h.soft||(F.push(" "),_--);break;case"line-suffix":J=!0;break;case"line-suffix-boundary":if(J)return!1;break}}return!1}function N(x,P){y={};let _=P.printWidth,J=t(P.endOfLine),d=0,T=[{ind:p(),mode:m,doc:x}],f=[],F=!1,i=[];for(;T.length>0;){let{ind:E,mode:b,doc:S}=T.pop();if(typeof S=="string"){let B=J!==`
`?S.replace(/\n/g,J):S;f.push(B),d+=s(B)}else if(o(S)){let B=c(S);for(let I=B.length-1;I>=0;I--)T.push({ind:E,mode:b,doc:B[I]})}else switch(S.type){case"cursor":f.push(r.placeholder);break;case"indent":T.push({ind:D(E,P),mode:b,doc:S.contents});break;case"align":T.push({ind:C(E,S.n,P),mode:b,doc:S.contents});break;case"trim":d-=k(f);break;case"group":switch(b){case g:if(!F){T.push({ind:E,mode:S.break?m:g,doc:S.contents});break}case m:{F=!1;let B={ind:E,mode:g,doc:S.contents},I=_-d,q=i.length>0;if(!S.break&&A(B,T,I,q))T.push(B);else if(S.expandedStates){let G=a(S.expandedStates);if(S.break){T.push({ind:E,mode:m,doc:G});break}else for(let M=1;M<S.expandedStates.length+1;M++)if(M>=S.expandedStates.length){T.push({ind:E,mode:m,doc:G});break}else{let te=S.expandedStates[M],j={ind:E,mode:g,doc:te};if(A(j,T,I,q)){T.push(j);break}}}else T.push({ind:E,mode:m,doc:S.contents});break}}S.id&&(y[S.id]=a(T).mode);break;case"fill":{let B=_-d,{parts:I}=S;if(I.length===0)break;let[q,G]=I,M={ind:E,mode:g,doc:q},te={ind:E,mode:m,doc:q},j=A(M,[],B,i.length>0,!0);if(I.length===1){j?T.push(M):T.push(te);break}let De={ind:E,mode:g,doc:G},U={ind:E,mode:m,doc:G};if(I.length===2){j?T.push(De,M):T.push(U,te);break}I.splice(0,2);let R={ind:E,mode:b,doc:e(I)},pe=I[0];A({ind:E,mode:g,doc:[q,G,pe]},[],B,i.length>0,!0)?T.push(R,De,M):j?T.push(R,U,M):T.push(R,U,te);break}case"if-break":case"indent-if-break":{let B=S.groupId?y[S.groupId]:b;if(B===m){let I=S.type==="if-break"?S.breakContents:S.negate?S.contents:n(S.contents);I&&T.push({ind:E,mode:b,doc:I})}if(B===g){let I=S.type==="if-break"?S.flatContents:S.negate?n(S.contents):S.contents;I&&T.push({ind:E,mode:b,doc:I})}break}case"line-suffix":i.push({ind:E,mode:b,doc:S.contents});break;case"line-suffix-boundary":i.length>0&&T.push({ind:E,mode:b,doc:{type:"line",hard:!0}});break;case"line":switch(b){case g:if(S.hard)F=!0;else{S.soft||(f.push(" "),d+=1);break}case m:if(i.length>0){T.push({ind:E,mode:b,doc:S},...i.reverse()),i.length=0;break}S.literal?E.root?(f.push(J,E.root.value),d=E.root.length):(f.push(J),d=0):(d-=k(f),f.push(J+E.value),d=E.length);break}break;case"label":T.push({ind:E,mode:b,doc:S.contents});break}T.length===0&&i.length>0&&(T.push(...i.reverse()),i.length=0)}let h=f.indexOf(r.placeholder);if(h!==-1){let E=f.indexOf(r.placeholder,h+1),b=f.slice(0,h).join(""),S=f.slice(h+1,E).join(""),B=f.slice(E+1).join("");return{formatted:b+S+B,cursorNodeStart:b.length,cursorNodeText:S}}return{formatted:f.join("")}}l.exports={printDocToString:N}}}),Vi=$({"src/document/doc-debug.js"(u,l){ue();var{isConcat:t,getDocParts:a}=En();function s(r){if(!r)return"";if(t(r)){let n=[];for(let o of a(r))if(t(o))n.push(...s(o).parts);else{let c=s(o);c!==""&&n.push(c)}return{type:"concat",parts:n}}return r.type==="if-break"?Object.assign(Object.assign({},r),{},{breakContents:s(r.breakContents),flatContents:s(r.flatContents)}):r.type==="group"?Object.assign(Object.assign({},r),{},{contents:s(r.contents),expandedStates:r.expandedStates&&r.expandedStates.map(s)}):r.type==="fill"?{type:"fill",parts:r.parts.map(s)}:r.contents?Object.assign(Object.assign({},r),{},{contents:s(r.contents)}):r}function e(r){let n=Object.create(null),o=new Set;return c(s(r));function c(m,g,p){if(typeof m=="string")return JSON.stringify(m);if(t(m)){let D=a(m).map(c).filter(Boolean);return D.length===1?D[0]:`[${D.join(", ")}]`}if(m.type==="line"){let D=Array.isArray(p)&&p[g+1]&&p[g+1].type==="break-parent";return m.literal?D?"literalline":"literallineWithoutBreakParent":m.hard?D?"hardline":"hardlineWithoutBreakParent":m.soft?"softline":"line"}if(m.type==="break-parent")return Array.isArray(p)&&p[g-1]&&p[g-1].type==="line"&&p[g-1].hard?void 0:"breakParent";if(m.type==="trim")return"trim";if(m.type==="indent")return"indent("+c(m.contents)+")";if(m.type==="align")return m.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+c(m.contents)+")":m.n<0?"dedent("+c(m.contents)+")":m.n.type==="root"?"markAsRoot("+c(m.contents)+")":"align("+JSON.stringify(m.n)+", "+c(m.contents)+")";if(m.type==="if-break")return"ifBreak("+c(m.breakContents)+(m.flatContents?", "+c
Print (to stderr) where a cursor at the given position would move to after formatting.
This option cannot be used with --range-start and --range-end.
`,cliCategory:s},endOfLine:{since:"1.15.0",category:o,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:t`
Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)
`}]},filepath:{since:"1.4.0",category:c,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:r,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:c,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:r},parser:{since:"0.0.10",category:o,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:"acorn",since:"2.6.0",description:"JavaScript"},{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:o,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:m=>typeof m=="string"||typeof m=="object",cliName:"plugin",cliCategory:a},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:o,description:t`
Custom directory that contains prettier plugins in node_modules subdirectory.
Overrides default behavior when plugins are searched relatively to the location of Prettier.
Multiple values are accepted.
`,exception:m=>typeof m=="string"||typeof m=="object",cliName:"plugin-search-dir",cliCategory:a},printWidth:{since:"0.0.0",category:o,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:c,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:t`
Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:s},rangeStart:{since:"1.4.0",category:c,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:t`
Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.
This option cannot be used with --cursor-offset.
`,cliCategory:s},requirePragma:{since:"1.7.0",category:c,type:"boolean",default:!1,description:t`
Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.
`,cliCategory:r},tabWidth:{type:"int",category:o,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:o,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:o,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."}]}};l.exports={CATEGORY_CONFIG:a,CATEGORY_EDITOR:s,CATEGORY_FORMAT:e,CATEGORY_OTHER:r,CATEGORY_OUTPUT:n,CATEGORY_GLOBAL:o,CATEGORY_SPECIAL:c,options:y}}}),nu=$({"src/main/support.js"(u,l){ue();var t={compare:tu(),lt:ru(),gte:Lu()},a=Ou(),s=yr().version,e=Wi().options;function r(){let{plugins:o=[],showUnreleased:c=!1,showDeprecated:y=!1,showInternal:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=s.split("-",1)[0],p=o.flatMap(A=>A.languages||[]).filter(C),D=a(Object.assign({},...o.map(A=>{let{options:N}=A;return N}),e),"name").filter(A=>C(A)&&w(A)).sort((A,N)=>A.name===N.name?0:A.name<N.name?-1:1).map(k).map(A=>{A=Object.assign({},A),Array.isArray(A.default)&&(A.default=A.default.length===1?A.default[0].value:A.default.filter(C).sort((x,P)=>t.compare(P.since,x.since))[0].value),Array.isArray(A.choices)&&(A.choices=A.choices.filter(x=>C(x)&&w(x)),A.name==="parser"&&n(A,p,o));let N=Object.fromEntries(o.filter(x=>x.defaultOptions&&x.defaultOptions[A.name]!==void 0).map(x=>[x.name,x.defaultOptions[A.name]]));return Object.assign(Object.assign({},A),{},{pluginDefaults:N})});return{languages:p,options:D};function C(A){return c||!("since"in A)||A.since&&t.gte(g,A.since)}function w(A){return y||!("deprecated"in A)||A.deprecated&&t.lt(g,A.deprecated)}function k(A){return m?A:ne(A,W)}}function n(o,c,y){let m=new Set(o.choices.map(g=>g.value));for(let g of c)if(g.parsers){for(let p of g.parsers)if(!m.has(p)){m.add(p);let D=y.find(w=>w.parsers&&w.parsers[p]),C=g.name;D&&D.name&&(C+=` (plugin: ${D.name})`),o.choices.push({value:p,description:C})}}}l.exports={getSupportInfo:r}}}),uu=$({"src/utils/is-non-empty-array.js"(u,l){ue();function t(a){return Array.isArray(a)&&a.length>0}l.exports=t}}),Cn=$({"src/utils/text/skip.js"(u,l){ue();function t(n){return(o,c,y)=>{let m=y&&y.backwards;if(c===!1)return!1;let{length:g}=o,p=c;for(;p>=0&&p<g;){let D=o.charAt(p);if(n instanceof RegExp){if(!n.test(D))return p}else if(!n.includes(D))return p;m?p--:p++}return p===-1||p===g?p:!1}}var a=t(/\s/),s=t(" "),e=t(",; "),r=t(/[^\n\r]/);l.exports={skipWhitespace:a,skipSpaces:s,skipToLineEnd:e,skipEverythingButNewLine:r}}}),Ru=$({"src/utils/text/skip-inline-comment.js"(u,l){ue();function t(a,s){if(s===!1)return!1;if(a.charAt(s)==="/"&&a.charAt(s+1)==="*"){for(let e=s+2;e<a.length;++e)if(a.charAt(e)==="*"&&a.charAt(e+1)==="/")return e+2}return s}l.exports=t}}),Mu=$({"src/utils/text/skip-trailing-comment.js"(u,l){ue();var{skipEverythingButNewLine:t}=Cn();function a(s,e){return e===!1?!1:s.charAt(e)==="/"&&s.charAt(e+1)==="/"?t(s,e):e}l.exports=a}}),qu=$({"src/utils/text/skip-newline.js"(u,l){ue();function t(a,s,e){let r=e&&e.backwards;if(s===!1)return!1;let n=a.charAt(s);if(r){if(a.charAt(s-1)==="\r"&&n===`
`)return s-2;if(n===`
`||n==="\r"||n==="\u2028"||n==="\u2029")return s-1}else{if(n==="\r"&&a.charAt(s+1)===`
`)return s+2;if(n===`
`||n==="\r"||n==="\u2028"||n==="\u2029")return s+1}return s}l.exports=t}}),zi=$({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(u,l){ue();var t=Ru(),a=qu(),s=Mu(),{skipSpaces:e}=Cn();function r(n,o){let c=null,y=o;for(;y!==c;)c=y,y=e(n,y),y=t(n,y),y=s(n,y),y=a(n,y);return y}l.exports=r}}),Gt=$({"src/common/util.js"(u,l){ue();var{default:t}=(Gi(),qt(_u)),a=mr(),{getSupportInfo:s}=nu(),e=uu(),r=Nu(),{skipWhitespace:n,skipSpaces:o,skipToLineEnd:c,skipEverythingButNewLine:y}=Cn(),m=Ru(),g=Mu(),p=qu(),D=zi(),C=U=>U[U.length-2];function w(U){return(R,pe,be)=>{let fe=be&&be.backwards;if(pe===!1)return!1;let{length:Ie}=R,X=pe;for(;X>=0&&X<Ie;){let se=R.charAt(X);if(U instanceof RegExp){if(!U.test(se))return X}else if(!U.includes(se))return X;fe?X--:X++}return X===-1||X===Ie?X:!1}}function k(U,R){let pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},be=o(U,pe.backwards?R-1:R,pe),fe=p(U,be,pe);return be!==fe}function A(U,R,pe){for(let be=R;be<pe;++be)if(U.charAt(be)===`
`)return!0;return!1}function N(U,R,pe){let be=pe(R)-1;be=o(U,be,{backwards:!0}),be=p(U,be,{backwards:!0}),be=o(U,be,{backwards:!0});let fe=p(U,be,{backwards:!0});return be!==fe}function x(U,R){let pe=null,be=R;for(;be!==pe;)pe=be,be=c(U,be),be=m(U,be),be=o(U,be);return be=g(U,be),be=p(U,be),be!==!1&&k(U,be)}function P(U,R,pe){return x(U,pe(R))}function _(U,R,pe){return D(U,pe(R))}function J(U,R,pe){return U.charAt(_(U,R,pe))}function d(U,R){let pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return o(U,pe.backwards?R-1:R,pe)!==R}function T(U,R){let pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,be=0;for(let fe=pe;fe<U.length;++fe)U[fe]===" "?be=be+R-be%R:be++;return be}function f(U,R){let pe=U.lastIndexOf(`
`);return pe===-1?0:T(U.slice(pe+1).match(/^[\t ]*/)[0],R)}function F(U,R){let pe={quote:'"',regex:/"/g,escaped:"&quot;"},be={quote:"'",regex:/'/g,escaped:"&apos;"},fe=R==="'"?be:pe,Ie=fe===be?pe:be,X=fe;if(U.includes(fe.quote)||U.includes(Ie.quote)){let se=(U.match(fe.regex)||[]).length,we=(U.match(Ie.regex)||[]).length;X=se>we?Ie:fe}return X}function i(U,R){let pe=U.slice(1,-1),be=R.parser==="json"||R.parser==="json5"&&R.quoteProps==="preserve"&&!R.singleQuote?'"':R.__isInHtmlAttribute?"'":F(pe,R.singleQuote?"'":'"').quote;return h(pe,be,!(R.parser==="css"||R.parser==="less"||R.parser==="scss"||R.__embeddedInHtml))}function h(U,R,pe){let be=R==='"'?"'":'"',fe=/\\(.)|(["'])/gs,Ie=U.replace(fe,(X,se,we)=>se===be?se:we===R?"\\"+we:we||(pe&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(se)?se:"\\"+se));return R+Ie+R}function E(U){return U.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function b(U,R){let pe=U.match(new RegExp(`(${t(R)})+`,"g"));return pe===null?0:pe.reduce((be,fe)=>Math.max(be,fe.length/R.length),0)}function S(U,R){let pe=U.match(new RegExp(`(${t(R)})+`,"g"));if(pe===null)return 0;let be=new Map,fe=0;for(let Ie of pe){let X=Ie.length/R.length;be.set(X,!0),X>fe&&(fe=X)}for(let Ie=1;Ie<fe;Ie++)if(!be.get(Ie))return Ie;return fe+1}function B(U,R){(U.comments||(U.comments=[])).push(R),R.printed=!1,R.nodeDescription=De(U)}function I(U,R){R.leading=!0,R.trailing=!1,B(U,R)}function q(U,R,pe){R.leading=!1,R.trailing=!1,pe&&(R.marker=pe),B(U,R)}function G(U,R){R.leading=!1,R.trailing=!0,B(U,R)}function M(U,R){let{languages:pe}=s({plugins:R.plugins}),be=pe.find(fe=>{let{name:Ie}=fe;return Ie.toLowerCase()===U})||pe.find(fe=>{let{aliases:Ie}=fe;return Array.isArray(Ie)&&Ie.includes(U)})||pe.find(fe=>{let{extensions:Ie}=fe;return Array.isArray(Ie)&&Ie.includes(`.${U}`)});return be&&be.parsers[0]}function te(U){return U&&U.type==="front-matter"}function j(U){let R=new WeakMap;return function(pe){return R.has(pe)||R.set(pe,Symbol(U)),R.get(pe)}}function De(U){let R=U.type||U.kind||"(unknown type)",pe=String(U.name||U.id&&(typeof U.id=="object"?U.id.name:U.id)||U.key&&(typeof U.key=="object"?U.key.name:U.key)||U.value&&(typeof U.value=="object"?"":String(U.value))||U.operator||"");return pe.length>20&&(pe=pe.slice(0,19)+"…"),R+(pe?" "+pe:"")}l.exports={inferParserByLanguage:M,getStringWidth:r,getMaxContinuousCount:b,getMinNotPresentContinuousCount:S,getPenultimate:C,getLast:a,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:D,getNextNonSpaceNonCommentCharacterIndex:_,getNextNonSpaceNonCommentCharacter:J,skip:w,skipWhitespace:n,skipSpaces:o,skipToLineEnd:c,skipEverythingButNewLine:y,skipInlineComment:m,skipTrailingComment:g,skipNewline:p,isNextLineEmptyAfterIndex:x,isNextLineEmpty:P,isPreviousLineEmpty:N,hasNewline:k,hasNewlineInRange:A,hasSpaces:d,getAlignmentSize:T,getIndentSize:f,getPreferredQuote:F,printString:i,printNumber:E,makeString:h,addLeadingComment:I,addDanglingComment:q,addTrailingComment:G,isFrontMatterNode:te,isNonEmptyArray:e,createGroupIdMapper:j}}}),Vu={};Ft(Vu,{basename:()=>Ju,default:()=>pu,delimiter:()=>pn,dirname:()=>au,extname:()=>Xu,isAbsolute:()=>ln,join:()=>su,normalize:()=>iu,relative:()=>Gu,resolve:()=>wn,sep:()=>_n});function Uu(u,l){for(var t=0,a=u.length-1;a>=0;a--){var s=u[a];s==="."?u.splice(a,1):s===".."?(u.splice(a,1),t++):t&&(u.splice(a,1),t--)}if(l)for(;t--;t)u.unshift("..");return u}function wn(){for(var u="",l=!1,t=arguments.length-1;t>=-1&&!l;t--){var a=t>=0?arguments[t]:"/";if(typeof a!="string")throw new TypeError("Arguments to path.resolve must be strings");a&&(u=a+"/"+u,l=a.charAt(0)==="/")}return u=Uu(ou(u.split("/"),function(s){return!!s}),!l).join("/"),(l?"/":"")+u||"."}function iu(u){var l=ln(u),t=Wu(u,-1)==="/";return u=Uu(ou(u.split("/"),function(a){return!!a}),!l).join("/"),!u&&!l&&(u="."),u&&t&&(u+="/"),(l?"/":"")+u}function ln(u){return u.charAt(0)==="/"}function su(){var u=Array.prototype.slice.call(arguments,0);return
`,D(p.gutter,T.replace(/\d/g," "))," ",h,D(p.marker,"^").repeat(E)].join(""),F&&y.message&&(i+=" "+D(p.message,y.message))}return[D(p.marker,">"),D(p.gutter,T),_.length>0?` ${_}`:"",i].join("")}else return` ${D(p.gutter,T)}${_.length>0?` ${_}`:""}`}).join(`
`);return y.message&&!N&&(P=`${" ".repeat(x+1)}${y.message}
${P}`),m?g.reset(P):P}function n(o,c,y){let m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!t){t=!0;let g="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Zt.emitWarning)Zt.emitWarning(g,"DeprecationWarning");else{let p=new Error(g);p.name="DeprecationWarning",console.warn(new Error(g))}}return y=Math.max(y,0),r(o,{start:{column:y,line:c}},m)}}}),xt=$({"src/main/parser.js"(u,l){ue();var{ConfigError:t}=Fn(),a=or();lt();var{locStart:s,locEnd:e}=a,r=Object.getOwnPropertyNames,n=Object.getOwnPropertyDescriptor;function o(m){let g={};for(let p of m.plugins)if(p.parsers)for(let D of r(p.parsers))Object.defineProperty(g,D,n(p.parsers,D));return g}function c(m){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o(m);if(typeof m.parser=="function")return{parse:m.parser,astFormat:"estree",locStart:s,locEnd:e};if(typeof m.parser=="string"){if(Object.prototype.hasOwnProperty.call(g,m.parser))return g[m.parser];throw new t(`Couldn't resolve parser "${m.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function y(m,g){let p=o(g),D=Object.defineProperties({},Object.fromEntries(Object.keys(p).map(w=>[w,{enumerable:!0,get(){return p[w].parse}}]))),C=c(g,p);try{return C.preprocess&&(m=C.preprocess(m,g)),{text:m,ast:C.parse(m,D,g)}}catch(w){let{loc:k}=w;if(k){let{codeFrameColumns:A}=St();throw w.codeFrame=A(m,k,{highlightCode:!0}),w.message+=`
`+w.codeFrame,w}throw w}}l.exports={parse:y,resolveParser:c}}}),Kt=$({"src/main/options.js"(u,l){ue();var t=Yi(),{UndefinedParserError:a}=Fn(),{getSupportInfo:s}=nu(),e=Mr(),{resolveParser:r}=xt(),n={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function o(m){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=Object.assign({},m),D=s({plugins:m.plugins,showUnreleased:!0,showDeprecated:!0}).options,C=Object.assign(Object.assign({},n),Object.fromEntries(D.filter(x=>x.default!==void 0).map(x=>[x.name,x.default])));if(!p.parser){if(!p.filepath)(g.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."),p.parser="babel";else if(p.parser=y(p.filepath,p.plugins),!p.parser)throw new a(`No parser could be inferred for file: ${p.filepath}`)}let w=r(e.normalizeApiOptions(p,[D.find(x=>x.name==="parser")],{passThrough:!0,logger:!1}));p.astFormat=w.astFormat,p.locEnd=w.locEnd,p.locStart=w.locStart;let k=c(p);p.printer=k.printers[p.astFormat];let A=Object.fromEntries(D.filter(x=>x.pluginDefaults&&x.pluginDefaults[k.name]!==void 0).map(x=>[x.name,x.pluginDefaults[k.name]])),N=Object.assign(Object.assign({},C),A);for(let[x,P]of Object.entries(N))(p[x]===null||p[x]===void 0)&&(p[x]=P);return p.parser==="json"&&(p.trailingComma="none"),e.normalizeApiOptions(p,D,Object.assign({passThrough:Object.keys(n)},g))}function c(m){let{astFormat:g}=m;if(!g)throw new Error("getPlugin() requires astFormat to be set");let p=m.plugins.find(D=>D.printers&&D.printers[g]);if(!p)throw new Error(`Couldn't find plugin for AST format "${g}"`);return p}function y(m,g){let p=t.basename(m).toLowerCase(),D=s({plugins:g}).languages.filter(C=>C.since!==null).find(C=>C.extensions&&C.extensions.some(w=>p.endsWith(w))||C.filenames&&C.filenames.some(w=>w.toLowerCase()===p));return D&&D.parsers[0]}l.exports={normalize:o,hiddenDefaults:n,inferParser:y}}}),sr=$({"src/main/massage-ast.js"(u,l){ue();function t(a,s,e){if(Array.isArray(a))return a.map(c=>t(c,s,e)).filter(Boolean);if(!a||typeof a!="object")return a;let r=s.printer.massageAstNode,n;r&&r.ignoredProperties?n=r.ignoredProperties:n=new Set;let o={};for(let[c,y]of Object.entries(a))!n.has(c)&&typeof y!="function"&&(o[c]=t(y,s,a));if(r){let c=r(a,o,e);if(c===null)return;if(c)return c}return o}l.exports=t}}),lr=$({"scripts/build/shims/assert.cjs"(u,l){ue();var t=()=>{};t.ok=t,t.strictEqual=t,l.exports=t}}),Qt=$({"src/main/comments.js"(u,l){ue();var t=lr(),{builders:{line:a,hardline:s,breakParent:e,indent:r,lineSuffix:n,join:o,cursor:c}}=wt(),{hasNewline:y,skipNewline:m,skipSpaces:g,isPreviousLineEmpty:p,addLeadingComment:D,addDanglingComment:C,addTrailingComment:w}=Gt(),k=new WeakMap;function A(I,q,G){if(!I)return;let{printer:M,locStart:te,locEnd:j}=q;if(G){if(M.canAttachComment&&M.canAttachComment(I)){let U;for(U=G.length-1;U>=0&&!(te(G[U])<=te(I)&&j(G[U])<=j(I));--U);G.splice(U+1,0,I);return}}else if(k.has(I))return k.get(I);let De=M.getCommentChildNodes&&M.getCommentChildNodes(I,q)||typeof I=="object"&&Object.entries(I).filter(U=>{let[R]=U;return R!=="enclosingNode"&&R!=="precedingNode"&&R!=="followingNode"&&R!=="tokens"&&R!=="comments"&&R!=="parent"}).map(U=>{let[,R]=U;return R});if(De){G||(G=[],k.set(I,G));for(let U of De)A(U,q,G);return G}}function N(I,q,G,M){let{locStart:te,locEnd:j}=G,De=te(q),U=j(q),R=A(I,G),pe,be,fe=0,Ie=R.length;for(;fe<Ie;){let X=fe+Ie>>1,se=R[X],we=te(se),_e=j(se);if(we<=De&&U<=_e)return N(se,q,G,se);if(_e<=De){pe=se,fe=X+1;continue}if(U<=we){be=se,Ie=X;continue}throw new Error("Comment location overlaps with node location")}if(M&&M.type==="TemplateLiteral"){let{quasis:X}=M,se=F(X,q,G);pe&&F(X,pe,G)!==se&&(pe=null),be&&F(X,be,G)!==se&&(be=null)}return{enclosingNode:M,precedingNode:pe,followingNode:be}}var x=()=>!1;function P(I,q,G,M){if(!Array.isArray(I))return;let te=[],{locStart:j,locEnd:De,printer:{handleComments:U={}}}=M,{avoidAstMutation:R,ownLine:pe=x,endOfLine:be=x,remaining:fe=x}=U,Ie=I.map((X,se)=>Objec
`,E)+1),I=h.slice(B,E).match(/^\s*/)[0],q=e(I,F.tabWidth),G=N(S,Object.assign(Object.assign({},F),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:F.cursorOffset>E&&F.cursorOffset<=b?F.cursorOffset-E:-1,endOfLine:"lf"}),q),M=G.formatted.trimEnd(),{cursorOffset:te}=F;te>b?te+=M.length-S.length:G.cursorOffset>=0&&(te=G.cursorOffset+E);let j=h.slice(0,E)+M+h.slice(b);if(F.endOfLine!=="lf"){let De=n(F.endOfLine);te>=0&&De===`\r
`&&(te+=o(j.slice(0,te),`
`)),j=j.replace(/\n/g,De)}return{formatted:j,cursorOffset:te,comments:G.comments}}function P(f,F,i){return typeof F!="number"||Number.isNaN(F)||F<0||F>f.length?i:F}function _(f,F){let{cursorOffset:i,rangeStart:h,rangeEnd:E}=F;return i=P(f,i,-1),h=P(f,h,0),E=P(f,E,f.length),Object.assign(Object.assign({},F),{},{cursorOffset:i,rangeStart:h,rangeEnd:E})}function J(f,F){let{cursorOffset:i,rangeStart:h,rangeEnd:E,endOfLine:b}=_(f,F),S=f.charAt(0)===w;if(S&&(f=f.slice(1),i--,h--,E--),b==="auto"&&(b=r(f)),f.includes("\r")){let B=I=>o(f.slice(0,Math.max(I,0)),`\r
`);i-=B(i),h-=B(h),E-=B(E),f=c(f)}return{hasBOM:S,text:f,options:_(f,Object.assign(Object.assign({},F),{},{cursorOffset:i,rangeStart:h,rangeEnd:E,endOfLine:b}))}}function d(f,F){let i=p.resolveParser(F);return!i.hasPragma||i.hasPragma(f)}function T(f,F){let{hasBOM:i,text:h,options:E}=J(f,y(F));if(E.rangeStart>=E.rangeEnd&&h!==""||E.requirePragma&&!d(h,E))return{formatted:f,cursorOffset:F.cursorOffset,comments:[]};let b;return E.rangeStart>0||E.rangeEnd<h.length?b=x(h,E):(!E.requirePragma&&E.insertPragma&&E.printer.insertPragma&&!d(h,E)&&(h=E.printer.insertPragma(h)),b=N(h,E)),i&&(b.formatted=w+b.formatted,b.cursorOffset>=0&&b.cursorOffset++),b}l.exports={formatWithCursor:T,parse(f,F,i){let{text:h,options:E}=J(f,y(F)),b=p.parse(h,E);return i&&(b.ast=m(b.ast,E)),b},formatAST(f,F){F=y(F);let i=D(f,F);return a(i,F)},formatDoc(f,F){return T(s(f),Object.assign(Object.assign({},F),{},{parser:"__js_expression"})).formatted},printToDoc(f,F){F=y(F);let{ast:i,text:h}=p.parse(f,F);return A(h,i,F),D(i,F)},printDocToString(f,F){return a(f,y(F))}}}}),Ku=$({"src/common/util-shared.js"(u,l){ue();var{getMaxContinuousCount:t,getStringWidth:a,getAlignmentSize:s,getIndentSize:e,skip:r,skipWhitespace:n,skipSpaces:o,skipNewline:c,skipToLineEnd:y,skipEverythingButNewLine:m,skipInlineComment:g,skipTrailingComment:p,hasNewline:D,hasNewlineInRange:C,hasSpaces:w,isNextLineEmpty:k,isNextLineEmptyAfterIndex:A,isPreviousLineEmpty:N,getNextNonSpaceNonCommentCharacterIndex:x,makeString:P,addLeadingComment:_,addDanglingComment:J,addTrailingComment:d}=Gt();l.exports={getMaxContinuousCount:t,getStringWidth:a,getAlignmentSize:s,getIndentSize:e,skip:r,skipWhitespace:n,skipSpaces:o,skipNewline:c,skipToLineEnd:y,skipEverythingButNewLine:m,skipInlineComment:g,skipTrailingComment:p,hasNewline:D,hasNewlineInRange:C,hasSpaces:w,isNextLineEmpty:k,isNextLineEmptyAfterIndex:A,isPreviousLineEmpty:N,getNextNonSpaceNonCommentCharacterIndex:x,makeString:P,addLeadingComment:_,addDanglingComment:J,addTrailingComment:d}}}),vr=$({"src/utils/create-language.js"(u,l){ue(),l.exports=function(t,a){let{languageId:s}=t,e=ne(t,Y);return Object.assign(Object.assign({linguistLanguageId:s},e),a(t))}}}),Qr=$({"node_modules/esutils/lib/ast.js"(u,l){ue(),function(){function t(o){if(o==null)return!1;switch(o.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}function a(o){if(o==null)return!1;switch(o.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function s(o){if(o==null)return!1;switch(o.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}function e(o){return s(o)||o!=null&&o.type==="FunctionDeclaration"}function r(o){switch(o.type){case"IfStatement":return o.alternate!=null?o.alternate:o.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return o.body}return null}function n(o){var c;if(o.type!=="IfStatement"||o.alternate==null)return!1;c=o.consequent;do{if(c.type==="IfStatement"&&c.alternate==null)return!0;c=r(c)}while(c);return!1}l.exports={isExpression:t,isStatement:s,isIterationStatement:a,isSourceElement:e,isProblematicIfStatement:n,trailingStatement:r}}()}}),cn=$({"node_modules/esutils/lib/code.js"(u,l){ue(),function(){var t,a,s,e,r,n;a={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u03
`))}function Ct(O,$e){return(O.type==="TemplateLiteral"&&Ye(O)||O.type==="TaggedTemplateExpression"&&Ye(O.quasi))&&!s($e,c(O),{backwards:!0})}function Rt(O){if(!Bt(O))return!1;let $e=a(Te(O,ft.Dangling));return $e&&!g($e)}function It(O){if(O.length<=1)return!1;let $e=0;for(let vt of O)if(S(vt)){if($e+=1,$e>1)return!0}else if(we(vt)){for(let zt of vt.arguments)if(S(zt))return!0}return!1}function Et(O){let $e=O.getValue(),vt=O.getParentNode();return we($e)&&we(vt)&&vt.callee===$e&&$e.arguments.length>vt.arguments.length&&vt.arguments.length>0}function bt(O,$e){if($e>=2)return!1;let vt=cr=>bt(cr,$e+1),zt=O.type==="Literal"&&"regex"in O&&O.regex.pattern||O.type==="RegExpLiteral"&&O.pattern;if(zt&&o(zt)>5)return!1;if(O.type==="Literal"||O.type==="BigIntLiteral"||O.type==="DecimalLiteral"||O.type==="BooleanLiteral"||O.type==="NullLiteral"||O.type==="NumericLiteral"||O.type==="RegExpLiteral"||O.type==="StringLiteral"||O.type==="Identifier"||O.type==="ThisExpression"||O.type==="Super"||O.type==="PrivateName"||O.type==="PrivateIdentifier"||O.type==="ArgumentPlaceholder"||O.type==="Import")return!0;if(O.type==="TemplateLiteral")return O.quasis.every(cr=>!cr.value.raw.includes(`
`))&&O.expressions.every(vt);if(O.type==="ObjectExpression")return O.properties.every(cr=>!cr.computed&&(cr.shorthand||cr.value&&vt(cr.value)));if(O.type==="ArrayExpression")return O.elements.every(cr=>cr===null||vt(cr));if(Sr(O))return(O.type==="ImportExpression"||bt(O.callee,$e))&&ar(O).every(vt);if(_e(O))return bt(O.object,$e)&&bt(O.property,$e);let Ht={"!":!0,"-":!0,"+":!0,"~":!0};if(O.type==="UnaryExpression"&&Ht[O.operator])return bt(O.argument,$e);let jr={"++":!0,"--":!0};return O.type==="UpdateExpression"&&jr[O.operator]?bt(O.argument,$e):O.type==="TSNonNullExpression"?bt(O.expression,$e):!1}function xe(O){var $e,vt;return($e=(vt=O.extra)===null||vt===void 0?void 0:vt.raw)!==null&&$e!==void 0?$e:O.raw}function H(O){return O}function ke(O){return O.filepath&&/\.tsx$/i.test(O.filepath)}function oe(O){let $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return O.trailingComma==="es5"&&$e==="es5"||O.trailingComma==="all"&&($e==="all"||$e==="es5")}function Be(O,$e){switch(O.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return Be(O.left,$e);case"MemberExpression":case"OptionalMemberExpression":return Be(O.object,$e);case"TaggedTemplateExpression":return O.tag.type==="FunctionExpression"?!1:Be(O.tag,$e);case"CallExpression":case"OptionalCallExpression":return O.callee.type==="FunctionExpression"?!1:Be(O.callee,$e);case"ConditionalExpression":return Be(O.test,$e);case"UpdateExpression":return!O.prefix&&Be(O.argument,$e);case"BindExpression":return O.object&&Be(O.object,$e);case"SequenceExpression":return Be(O.expressions[0],$e);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return Be(O.expression,$e);default:return $e(O)}}var pt={"==":!0,"!=":!0,"===":!0,"!==":!0},ut={"*":!0,"/":!0,"%":!0},Le={">>":!0,">>>":!0,"<<":!0};function v(O,$e){return!(ye($e)!==ye(O)||O==="**"||pt[O]&&pt[$e]||$e==="%"&&ut[O]||O==="%"&&ut[$e]||$e!==O&&ut[$e]&&ut[O]||Le[O]&&Le[$e])}var K=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((O,$e)=>O.map(vt=>[vt,$e])));function ye(O){return K.get(O)}function ze(O){return!!Le[O]||O==="|"||O==="^"||O==="&"}function tt(O){var $e;if(O.rest)return!0;let vt=Ke(O);return(($e=a(vt))===null||$e===void 0?void 0:$e.type)==="RestElement"}var ht=new WeakMap;function Ke(O){if(ht.has(O))return ht.get(O);let $e=[];return O.this&&$e.push(O.this),Array.isArray(O.parameters)?$e.push(...O.parameters):Array.isArray(O.params)&&$e.push(...O.params),O.rest&&$e.push(O.rest),ht.set(O,$e),$e}function pr(O,$e){let vt=O.getValue(),zt=0,Ht=jr=>$e(jr,zt++);vt.this&&O.call(Ht,"this"),Array.isArray(vt.parameters)?O.each(Ht,"parameters"):Array.isArray(vt.params)&&O.each(Ht,"params"),vt.rest&&O.call(Ht,"rest")}var dt=new WeakMap;function ar(O){if(dt.has(O))return dt.get(O);let $e=O.arguments;return O.type==="ImportExpression"&&($e=[O.source],O.attributes&&$e.push(O.attributes)),dt.set(O,$e),$e}function Dt(O,$e){let vt=O.getValue();vt.type==="ImportExpression"?(O.call(zt=>$e(zt,0),"source"),vt.attributes&&O.call(zt=>$e(zt,1),"attributes")):O.each($e,"arguments")}function Tt(O){return O.value.trim()==="prettier-ignore"&&!O.unignore}function jt(O){return O&&(O.prettierIgnore||Bt(O,ft.PrettierIgnore))}function tr(O){let $e=O.getValue();return jt($e)}var ft={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Pt=(O,$e)=>{if(typeof O=="function"&&($e=O,O=0),O||$e)return(vt,zt,Ht)=>!(O&ft.Leading&&!vt.leading||O&ft.Trailing&&!vt.trailing||O&ft.Dangling&&(vt.leading||vt.trailing)||O&ft.Block&&!g(vt)||O&ft.Line&&!d(vt)||O&ft.First&&zt!==0||O&ft.Last&&zt!==Ht.length-1||O&ft.PrettierIgnore&&!Tt(vt)||$e&&!$e(vt))};function Bt(O,$e,vt){if(!r(O==null?void 0:O.comments))return!1;let zt=Pt($e,vt);return zt?O.comments.some(zt):!0}function Te(O,$e,vt){if(!Array.isArray(O==null?void 0:O.comments))return[];let zt=Pt($e,vt);return zt?O.comments.filter(zt):O.comments}var Vr=(O,$e)=>{let{originalText:vt
`)?y(Number.NEGATIVE_INFINITY,De):g(De,j,M);S.push(o(["${",U,m,"}"]))}},"quasis"),S.push("`"),S}function _(F,i,h){let E=F.getNode(),b=E.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(b.length>1||b.some(S=>S.length>0)){i.__inJestEach=!0;let S=F.map(h,"expressions");i.__inJestEach=!1;let B=[],I=S.map(j=>"${"+p(j,Object.assign(Object.assign({},i),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),q=[{hasLineBreak:!1,cells:[]}];for(let j=1;j<E.quasis.length;j++){let De=t(q),U=I[j-1];De.cells.push(U),U.includes(`
`)&&(De.hasLineBreak=!0),E.quasis[j].value.raw.includes(`
`)&&q.push({hasLineBreak:!1,cells:[]})}let G=Math.max(b.length,...q.map(j=>j.cells.length)),M=Array.from({length:G}).fill(0),te=[{cells:b},...q.filter(j=>j.cells.length>0)];for(let{cells:j}of te.filter(De=>!De.hasLineBreak))for(let[De,U]of j.entries())M[De]=Math.max(M[De],a(U));return B.push(m,"`",c([r,e(r,te.map(j=>e(" | ",j.cells.map((De,U)=>j.hasLineBreak?De:De+" ".repeat(M[U]-a(De))))))]),r,"`"),B}}function J(F,i){let h=F.getValue(),E=i();return A(h)&&(E=o([c([n,E]),n])),["${",E,m,"}"]}function d(F,i){return F.map(h=>J(h,i),"expressions")}function T(F,i){return D(F,h=>typeof h=="string"?i?h.replace(/(\\*)`/g,"$1$1\\`"):f(h):h)}function f(F){return F.replace(/([\\`]|\${)/g,"\\$1")}l.exports={printTemplateLiteral:P,printTemplateExpressions:d,escapeTemplateCharacters:T,uncookTemplateElementValue:f}}}),ia=$({"src/language-js/embed/markdown.js"(u,l){ue();var{builders:{indent:t,softline:a,literalline:s,dedentToRoot:e}}=wt(),{escapeTemplateCharacters:r}=jn();function n(c,y,m){let g=c.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(w,k)=>"\\".repeat(k.length/2)+"`"),p=o(g),D=p!=="";D&&(g=g.replace(new RegExp(`^${p}`,"gm"),""));let C=r(m(g,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",D?t([a,C]):[s,e(C)],a,"`"]}function o(c){let y=c.match(/^([^\S\n]*)\S/m);return y===null?"":y[1]}l.exports=n}}),sa=$({"src/language-js/embed/css.js"(u,l){ue();var{isNonEmptyArray:t}=Gt(),{builders:{indent:a,hardline:s,softline:e},utils:{mapDoc:r,replaceEndOfLine:n,cleanDoc:o}}=wt(),{printTemplateExpressions:c}=jn();function y(p,D,C){let w=p.getValue(),k=w.quasis.map(_=>_.value.raw),A=0,N=k.reduce((_,J,d)=>d===0?J:_+"@prettier-placeholder-"+A+++"-id"+J,""),x=C(N,{parser:"scss"},{stripTrailingHardline:!0}),P=c(p,D);return m(x,w,P)}function m(p,D,C){if(D.quasis.length===1&&!D.quasis[0].value.raw.trim())return"``";let w=g(p,C);if(!w)throw new Error("Couldn't insert all the expressions");return["`",a([s,w]),e,"`"]}function g(p,D){if(!t(D))return p;let C=0,w=r(o(p),k=>typeof k!="string"||!k.includes("@prettier-placeholder")?k:k.split(/@prettier-placeholder-(\d+)-id/).map((A,N)=>N%2===0?n(A):(C++,D[A])));return D.length===C?w:null}l.exports=y}}),aa=$({"src/language-js/embed/graphql.js"(u,l){ue();var{builders:{indent:t,join:a,hardline:s}}=wt(),{escapeTemplateCharacters:e,printTemplateExpressions:r}=jn();function n(c,y,m){let g=c.getValue(),p=g.quasis.length;if(p===1&&g.quasis[0].value.raw.trim()==="")return"``";let D=r(c,y),C=[];for(let w=0;w<p;w++){let k=g.quasis[w],A=w===0,N=w===p-1,x=k.value.cooked,P=x.split(`
`),_=P.length,J=D[w],d=_>2&&P[0].trim()===""&&P[1].trim()==="",T=_>2&&P[_-1].trim()===""&&P[_-2].trim()==="",f=P.every(i=>/^\s*(?:#[^\n\r]*)?$/.test(i));if(!N&&/#[^\n\r]*$/.test(P[_-1]))return null;let F=null;f?F=o(P):F=m(x,{parser:"graphql"},{stripTrailingHardline:!0}),F?(F=e(F,!1),!A&&d&&C.push(""),C.push(F),!N&&T&&C.push("")):!A&&!N&&d&&C.push(""),J&&C.push(J)}return["`",t([s,a(s,C)]),s,"`"]}function o(c){let y=[],m=!1,g=c.map(p=>p.trim());for(let[p,D]of g.entries())D!==""&&(g[p-1]===""&&m?y.push([s,D]):y.push(D),m=!0);return y.length===0?null:a(s,y)}l.exports=n}}),oa=$({"src/language-js/embed/html.js"(u,l){ue();var{builders:{indent:t,line:a,hardline:s,group:e},utils:{mapDoc:r}}=wt(),{printTemplateExpressions:n,uncookTemplateElementValue:o}=jn(),c=0;function y(m,g,p,D,C){let{parser:w}=C,k=m.getValue(),A=c;c=c+1>>>0;let N=h=>`PRETTIER_HTML_PLACEHOLDER_${h}_${A}_IN_JS`,x=k.quasis.map((h,E,b)=>E===b.length-1?h.value.cooked:h.value.cooked+N(E)).join(""),P=n(m,g);if(P.length===0&&x.trim().length===0)return"``";let _=new RegExp(N("(\\d+)"),"g"),J=0,d=p(x,{parser:w,__onHtmlRoot(h){J=h.children.length}},{stripTrailingHardline:!0}),T=r(d,h=>{if(typeof h!="string")return h;let E=[],b=h.split(_);for(let S=0;S<b.length;S++){let B=b[S];if(S%2===0){B&&(B=o(B),D.__embeddedInHtml&&(B=B.replace(/<\/(script)\b/gi,"<\\/$1")),E.push(B));continue}let I=Number(B);E.push(P[I])}return E}),f=/^\s/.test(x)?" ":"",F=/\s$/.test(x)?" ":"",i=D.htmlWhitespaceSensitivity==="ignore"?s:f&&F?a:null;return e(i?["`",t([i,e(T)]),i,"`"]:["`",f,J>1?t(e(T)):e(T),F,"`"])}l.exports=y}}),la=$({"src/language-js/embed.js"(u,l){ue();var{hasComment:t,CommentCheckFlags:a,isObjectProperty:s}=ur(),e=ia(),r=sa(),n=aa(),o=oa();function c(d){if(g(d)||w(d)||k(d)||p(d))return"css";if(x(d))return"graphql";if(_(d))return"html";if(D(d))return"angular";if(m(d))return"markdown"}function y(d,T,f,F){let i=d.getValue();if(i.type!=="TemplateLiteral"||J(i))return;let h=c(d);if(h){if(h==="markdown")return e(d,T,f);if(h==="css")return r(d,T,f);if(h==="graphql")return n(d,T,f);if(h==="html"||h==="angular")return o(d,T,f,F,{parser:h})}}function m(d){let T=d.getValue(),f=d.getParentNode();return f&&f.type==="TaggedTemplateExpression"&&T.quasis.length===1&&f.tag.type==="Identifier"&&(f.tag.name==="md"||f.tag.name==="markdown")}function g(d){let T=d.getValue(),f=d.getParentNode(),F=d.getParentNode(1);return F&&T.quasis&&f.type==="JSXExpressionContainer"&&F.type==="JSXElement"&&F.openingElement.name.name==="style"&&F.openingElement.attributes.some(i=>i.name.name==="jsx")||f&&f.type==="TaggedTemplateExpression"&&f.tag.type==="Identifier"&&f.tag.name==="css"||f&&f.type==="TaggedTemplateExpression"&&f.tag.type==="MemberExpression"&&f.tag.object.name==="css"&&(f.tag.property.name==="global"||f.tag.property.name==="resolve")}function p(d){return d.match(T=>T.type==="TemplateLiteral",(T,f)=>T.type==="ArrayExpression"&&f==="elements",(T,f)=>s(T)&&T.key.type==="Identifier"&&T.key.name==="styles"&&f==="value",...C)}function D(d){return d.match(T=>T.type==="TemplateLiteral",(T,f)=>s(T)&&T.key.type==="Identifier"&&T.key.name==="template"&&f==="value",...C)}var C=[(d,T)=>d.type==="ObjectExpression"&&T==="properties",(d,T)=>d.type==="CallExpression"&&d.callee.type==="Identifier"&&d.callee.name==="Component"&&T==="arguments",(d,T)=>d.type==="Decorator"&&T==="expression"];function w(d){let T=d.getParentNode();if(!T||T.type!=="TaggedTemplateExpression")return!1;let f=T.tag.type==="ParenthesizedExpression"?T.tag.expression:T.tag;switch(f.type){case"MemberExpression":return A(f.object)||N(f);case"CallExpression":return A(f.callee)||f.callee.type==="MemberExpression"&&(f.callee.object.type==="MemberExpression"&&(A(f.callee.object.object)||N(f.callee.object))||f.callee.object.type==="CallExpression"&&A(f.callee.object.callee));case"Identifier":return f.name==="css";default:return!1}}function k(d){let T=d.getParentNode(),f=d.getParentNode(1);return f&&T.type==="JSXExpressionContainer"&&f.type==="JSXAttribute"&&f.name.type==="JSXIdentifier"&&f.name.name==="css"}function A(d){return d.type==="Identifier"&&d.name
`,_s={EOL:ss,tmpdir:is,tmpDir:us,networkInterfaces:ws,getNetworkInterfaces:Ns,release:Bs,type:Ts,cpus:xs,totalmem:Ss,freemem:bs,uptime:vs,loadavg:As,hostname:Fs,endianness:Cs}}}),fa=$({"node-modules-polyfills-commonjs:os"(u,l){ue();var t=(da(),qt(Es));if(t&&t.default){l.exports=t.default;for(let a in t)l.exports[a]=t[a]}else t&&(l.exports=t)}}),ma=$({"node_modules/detect-newline/index.js"(u,l){ue();var t=a=>{if(typeof a!="string")throw new TypeError("Expected a string");let s=a.match(/(?:\r?\n)/g)||[];if(s.length===0)return;let e=s.filter(n=>n===`\r
`).length,r=s.length-e;return e>r?`\r
`:`
`};l.exports=t,l.exports.graceful=a=>typeof a=="string"&&t(a)||`
`}}),ha=$({"node_modules/jest-docblock/build/index.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0}),u.extract=p,u.parse=C,u.parseWithComments=w,u.print=k,u.strip=D;function l(){let N=fa();return l=function(){return N},N}function t(){let N=a(ma());return t=function(){return N},N}function a(N){return N&&N.__esModule?N:{default:N}}var s=/\*\/$/,e=/^\/\*\*?/,r=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,n=/(^|\s+)\/\/([^\r\n]*)/g,o=/^(\r?\n)+/,c=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,y=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,m=/(\r?\n|^) *\* ?/g,g=[];function p(N){let x=N.match(r);return x?x[0].trimLeft():""}function D(N){let x=N.match(r);return x&&x[0]?N.substring(x[0].length):N}function C(N){return w(N).pragmas}function w(N){let x=(0,t().default)(N)||l().EOL;N=N.replace(e,"").replace(s,"").replace(m,"$1");let P="";for(;P!==N;)P=N,N=N.replace(c,`${x}$1 $2${x}`);N=N.replace(o,"").trimRight();let _=Object.create(null),J=N.replace(y,"").replace(o,"").trimRight(),d;for(;d=y.exec(N);){let T=d[2].replace(n,"");typeof _[d[1]]=="string"||Array.isArray(_[d[1]])?_[d[1]]=g.concat(_[d[1]],T):_[d[1]]=T}return{comments:J,pragmas:_}}function k(N){let{comments:x="",pragmas:P={}}=N,_=(0,t().default)(x)||l().EOL,J="/**",d=" *",T=" */",f=Object.keys(P),F=f.map(h=>A(h,P[h])).reduce((h,E)=>h.concat(E),[]).map(h=>`${d} ${h}${_}`).join("");if(!x){if(f.length===0)return"";if(f.length===1&&!Array.isArray(P[f[0]])){let h=P[f[0]];return`${J} ${A(f[0],h)[0]}${T}`}}let i=x.split(_).map(h=>`${d} ${h}`).join(_)+_;return J+_+(x?i:"")+(x&&f.length?d+_:"")+F+T}function A(N,x){return g.concat(x).map(P=>`@${N} ${P}`.trim())}}}),ga=$({"src/language-js/utils/get-shebang.js"(u,l){ue();function t(a){if(!a.startsWith("#!"))return"";let s=a.indexOf(`
`);return s===-1?a:a.slice(0,s)}l.exports=t}}),ks=$({"src/language-js/pragma.js"(u,l){ue();var{parseWithComments:t,strip:a,extract:s,print:e}=ha(),{normalizeEndOfLine:r}=Rr(),n=ga();function o(m){let g=n(m);g&&(m=m.slice(g.length+1));let p=s(m),{pragmas:D,comments:C}=t(p);return{shebang:g,text:m,pragmas:D,comments:C}}function c(m){let g=Object.keys(o(m).pragmas);return g.includes("prettier")||g.includes("format")}function y(m){let{shebang:g,text:p,pragmas:D,comments:C}=o(m),w=a(p),k=e({pragmas:Object.assign({format:""},D),comments:C.trimStart()});return(g?`${g}
`:"")+r(k)+(w.startsWith(`
`)?`
`:`
`)+w}l.exports={hasPragma:c,insertPragma:y}}}),ya=$({"src/language-js/utils/is-type-cast-comment.js"(u,l){ue();var t=vn();function a(s){return t(s)&&s.value[0]==="*"&&/@(?:type|satisfies)\b/.test(s.value)}l.exports=a}}),Ps=$({"src/language-js/comments.js"(u,l){ue();var{getLast:t,hasNewline:a,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:s,getNextNonSpaceNonCommentCharacter:e,hasNewlineInRange:r,addLeadingComment:n,addTrailingComment:o,addDanglingComment:c,getNextNonSpaceNonCommentCharacterIndex:y,isNonEmptyArray:m}=Gt(),{getFunctionParameters:g,isPrettierIgnoreComment:p,isJsxNode:D,hasFlowShorthandAnnotationComment:C,hasFlowAnnotationComment:w,hasIgnoreComment:k,isCallLikeExpression:A,getCallArguments:N,isCallExpression:x,isMemberExpression:P,isObjectProperty:_,isLineComment:J,getComments:d,CommentCheckFlags:T,markerForIfWithoutBlockAndSameLineComment:f}=ur(),{locStart:F,locEnd:i}=or(),h=vn(),E=ya();function b(Le){return[H,it,De,M,te,j,be,Ye,Ce,Xe,Ct,Rt,Ie,ae,Q].some(v=>v(Le))}function S(Le){return[G,it,U,Ct,M,te,j,be,ae,me,Re,Xe,bt,Q,oe].some(v=>v(Le))}function B(Le){return[H,M,te,R,_e,Ie,Xe,we,se,ke,Q,xe].some(v=>v(Le))}function I(Le,v){let K=(Le.body||Le.properties).find(ye=>{let{type:ze}=ye;return ze!=="EmptyStatement"});K?n(K,v):c(Le,v)}function q(Le,v){Le.type==="BlockStatement"?I(Le,v):n(Le,v)}function G(Le){let{comment:v,followingNode:K}=Le;return K&&E(v)?(n(K,v),!0):!1}function M(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze,text:tt}=Le;if((ye==null?void 0:ye.type)!=="IfStatement"||!ze)return!1;if(e(tt,v,i)===")")return o(K,v),!0;if(K===ye.consequent&&ze===ye.alternate){if(K.type==="BlockStatement")o(K,v);else{let ht=v.type==="SingleLine"||v.loc.start.line===v.loc.end.line,Ke=v.loc.start.line===K.loc.start.line;ht&&Ke?c(K,v,f):c(ye,v)}return!0}return ze.type==="BlockStatement"?(I(ze,v),!0):ze.type==="IfStatement"?(q(ze.consequent,v),!0):ye.consequent===ze?(n(ze,v),!0):!1}function te(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze,text:tt}=Le;return(ye==null?void 0:ye.type)!=="WhileStatement"||!ze?!1:e(tt,v,i)===")"?(o(K,v),!0):ze.type==="BlockStatement"?(I(ze,v),!0):ye.body===ze?(n(ze,v),!0):!1}function j(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze}=Le;return(ye==null?void 0:ye.type)!=="TryStatement"&&(ye==null?void 0:ye.type)!=="CatchClause"||!ze?!1:ye.type==="CatchClause"&&K?(o(K,v),!0):ze.type==="BlockStatement"?(I(ze,v),!0):ze.type==="TryStatement"?(q(ze.finalizer,v),!0):ze.type==="CatchClause"?(q(ze.body,v),!0):!1}function De(Le){let{comment:v,enclosingNode:K,followingNode:ye}=Le;return P(K)&&(ye==null?void 0:ye.type)==="Identifier"?(n(K,v),!0):!1}function U(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze,text:tt}=Le,ht=K&&!r(tt,i(K),F(v));return(!K||!ht)&&((ye==null?void 0:ye.type)==="ConditionalExpression"||(ye==null?void 0:ye.type)==="TSConditionalType")&&ze?(n(ze,v),!0):!1}function R(Le){let{comment:v,precedingNode:K,enclosingNode:ye}=Le;return _(ye)&&ye.shorthand&&ye.key===K&&ye.value.type==="AssignmentPattern"?(o(ye.value.left,v),!0):!1}var pe=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function be(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze}=Le;if(pe.has(ye==null?void 0:ye.type)){if(m(ye.decorators)&&!(ze&&ze.type==="Decorator"))return o(t(ye.decorators),v),!0;if(ye.body&&ze===ye.body)return I(ye.body,v),!0;if(ze){if(ye.superClass&&ze===ye.superClass&&K&&(K===ye.id||K===ye.typeParameters))return o(K,v),!0;for(let tt of["implements","extends","mixins"])if(ye[tt]&&ze===ye[tt][0])return K&&(K===ye.id||K===ye.typeParameters||K===ye.superClass)?o(K,v):c(ye,v,tt),!0}}return!1}var fe=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function Ie(Le){let{comment:v,precedingNode:K,enclosingNode:ye,text:ze}=Le;return ye&&K&&e(ze,v,i
`)&&!Xe&&!J(Re.attributes[0]))return o(["<",Ce("name"),Ce("typeParameters")," ",...Q.map(Ce,"attributes"),Re.selfClosing?" />":">"]);let Ye=Re.attributes&&Re.attributes.some(Rt=>Rt.value&&P(Rt.value)&&Rt.value.value.includes(`
`)),Ct=me.singleAttributePerLine&&Re.attributes.length>1?r:e;return o(["<",Ce("name"),Ce("typeParameters"),c(Q.map(()=>[Ct,Ce()],"attributes")),...M(Re,me,Xe)],{shouldBreak:Ye})}function M(Q,me,Ce){return Q.selfClosing?[e,"/>"]:te(Q,me,Ce)?[">"]:[n,">"]}function te(Q,me,Ce){let Re=Q.attributes.length>0&&J(w(Q.attributes),d.Trailing);return Q.attributes.length===0&&!Ce||(me.bracketSameLine||me.jsxBracketSameLine)&&(!Ce||Q.attributes.length>0)&&!Re}function j(Q,me,Ce){let Re=Q.getValue(),Xe=[];Xe.push("</");let Ye=Ce("name");return J(Re.name,d.Leading|d.Line)?Xe.push(c([r,Ye]),r):J(Re.name,d.Leading|d.Block)?Xe.push(" ",Ye):Xe.push(Ye),Xe.push(">"),Xe}function De(Q,me){let Ce=Q.getValue(),Re=J(Ce),Xe=J(Ce,d.Line),Ye=Ce.type==="JSXOpeningFragment";return[Ye?"<":"</",c([Xe?r:Re&&!Ye?" ":"",a(Q,me,!0)]),Xe?r:"",">"]}function U(Q,me,Ce){let Re=t(Q,h(Q,me,Ce),me);return B(Q,Re,me)}function R(Q,me){let Ce=Q.getValue(),Re=J(Ce,d.Line);return[a(Q,me,!Re),Re?r:""]}function pe(Q,me,Ce){let Re=Q.getValue();return["{",Q.call(Xe=>{let Ye=["...",Ce()],Ct=Xe.getValue();return!J(Ct)||!F(Xe)?Ye:[c([n,t(Xe,Ye,me)]),n]},Re.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function be(Q,me,Ce){let Re=Q.getValue();if(Re.type.startsWith("JSX"))switch(Re.type){case"JSXAttribute":return I(Q,me,Ce);case"JSXIdentifier":return String(Re.name);case"JSXNamespacedName":return D(":",[Ce("namespace"),Ce("name")]);case"JSXMemberExpression":return D(".",[Ce("object"),Ce("property")]);case"JSXSpreadAttribute":return pe(Q,me,Ce);case"JSXSpreadChild":return pe(Q,me,Ce);case"JSXExpressionContainer":return q(Q,me,Ce);case"JSXFragment":case"JSXElement":return U(Q,me,Ce);case"JSXOpeningElement":return G(Q,me,Ce);case"JSXClosingElement":return j(Q,me,Ce);case"JSXOpeningFragment":case"JSXClosingFragment":return De(Q,me);case"JSXEmptyExpression":return R(Q,me);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(Re.type)}.`)}}var fe=`
\r `,Ie=new RegExp("(["+fe+"]+)"),X=new RegExp("[^"+fe+"]"),se=Q=>Q.replace(new RegExp("(?:^"+Ie.source+"|"+Ie.source+"$)"),"");function we(Q){if(Q.children.length===0)return!0;if(Q.children.length>1)return!1;let me=Q.children[0];return me.type==="JSXText"&&!_e(me)}function _e(Q){return Q.type==="JSXText"&&(X.test(N(Q))||!/\n/.test(N(Q)))}function it(Q){return Q.type==="JSXExpressionContainer"&&P(Q.expression)&&Q.expression.value===" "&&!J(Q.expression)}function ae(Q){let me=Q.getValue(),Ce=Q.getParentNode();if(!Ce||!me||!A(me)||!A(Ce))return!1;let Re=Ce.children.indexOf(me),Xe=null;for(let Ye=Re;Ye>0;Ye--){let Ct=Ce.children[Ye-1];if(!(Ct.type==="JSXText"&&!_e(Ct))){Xe=Ct;break}}return Xe&&Xe.type==="JSXExpressionContainer"&&Xe.expression.type==="JSXEmptyExpression"&&T(Xe.expression)}l.exports={hasJsxIgnoreComment:ae,printJsx:be}}}),qr=$({"src/language-js/print/misc.js"(u,l){ue();var{isNonEmptyArray:t}=Gt(),{builders:{indent:a,join:s,line:e}}=wt(),{isFlowAnnotationComment:r}=ur();function n(w){let k=w.getValue();return!k.optional||k.type==="Identifier"&&k===w.getParentNode().key?"":k.type==="OptionalCallExpression"||k.type==="OptionalMemberExpression"&&k.computed?"?.":"?"}function o(w){return w.getValue().definite||w.match(void 0,(k,A)=>A==="id"&&k.type==="VariableDeclarator"&&k.definite)?"!":""}function c(w,k,A){let N=w.getValue();return N.typeArguments?A("typeArguments"):N.typeParameters?A("typeParameters"):""}function y(w,k,A){let N=w.getValue();if(!N.typeAnnotation)return"";let x=w.getParentNode(),P=x.type==="DeclareFunction"&&x.id===N;return r(k.originalText,N.typeAnnotation)?[" /*: ",A("typeAnnotation")," */"]:[P?"":": ",A("typeAnnotation")]}function m(w,k,A){return["::",A("callee")]}function g(w,k,A){let N=w.getValue();return t(N.modifiers)?[s(" ",w.map(A,"modifiers"))," "]:""}function p(w,k,A){return w.type==="EmptyStatement"?";":w.type==="BlockStatement"||A?[" ",k]:a([e,k])}function D(w,k,A){return["...",A("argument"),y(w,k,A)]}function C(w,k){let A=w.slice(1,-1);if(A.includes('"')||A.includes("'"))return w;let N=k.singleQuote?"'":'"';return N+A+N}l.exports={printOptionalToken:n,printDefiniteToken:o,printFunctionTypeParameters:c,printBindExpressionCallee:m,printTypeScriptModifiers:g,printTypeAnnotation:y,printRestSpread:D,adjustClause:p,printDirective:C}}}),Du=$({"src/language-js/print/array.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{builders:{line:a,softline:s,hardline:e,group:r,indent:n,ifBreak:o,fill:c}}=wt(),{getLast:y,hasNewline:m}=Gt(),{shouldPrintComma:g,hasComment:p,CommentCheckFlags:D,isNextLineEmpty:C,isNumericLiteral:w,isSignedNumericLiteral:k}=ur(),{locStart:A}=or(),{printOptionalToken:N,printTypeAnnotation:x}=qr();function P(T,f,F){let i=T.getValue(),h=[],E=i.type==="TupleExpression"?"#[":"[",b="]";if(i.elements.length===0)p(i,D.Dangling)?h.push(r([E,t(T,f),s,b])):h.push(E,b);else{let S=y(i.elements),B=!(S&&S.type==="RestElement"),I=S===null,q=Symbol("array"),G=!f.__inJestEach&&i.elements.length>1&&i.elements.every((j,De,U)=>{let R=j&&j.type;if(R!=="ArrayExpression"&&R!=="ObjectExpression")return!1;let pe=U[De+1];if(pe&&R!==pe.type)return!1;let be=R==="ArrayExpression"?"elements":"properties";return j[be]&&j[be].length>1}),M=_(i,f),te=B?I?",":g(f)?M?o(",","",{groupId:q}):o(","):"":"";h.push(r([E,n([s,M?d(T,f,F,te):[J(T,f,"elements",F),te],t(T,f,!0)]),s,b],{shouldBreak:G,id:q}))}return h.push(N(T),x(T,f,F)),h}function _(T,f){return T.elements.length>1&&T.elements.every(F=>F&&(w(F)||k(F)&&!p(F.argument))&&!p(F,D.Trailing|D.Line,i=>!m(f.originalText,A(i),{backwards:!0})))}function J(T,f,F,i){let h=[],E=[];return T.each(b=>{h.push(E,r(i())),E=[",",a],b.getValue()&&C(b.getValue(),f)&&E.push(s)},F),h}function d(T,f,F,i){let h=[];return T.each((E,b,S)=>{let B=b===S.length-1;h.push([F(),B?i:","]),B||h.push(C(E.getValue(),f)?[e,e]:p(S[b+1],D.Leading|D.Line)?e:a)},"elements"),c(h)}l.exports={printArray:P,printArrayItems:J,isConciselyPrintedArray:_}}}),js=$({"src/language-js/print/call-arguments.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{getLast:a,getPenultimate:s}=Gt(),{getFunctionParameters:e,h
`):C(X)}function be(X,se,we){if(!J(X))return!1;se=c(se);let _e=3;return typeof se=="string"&&a(se)<we.tabWidth+_e}function fe(X,se){let we=Ie(X);if(t(we)){if(we.length>1)return!0;if(we.length===1){let it=we[0];if(it.type==="TSUnionType"||it.type==="UnionTypeAnnotation"||it.type==="TSIntersectionType"||it.type==="IntersectionTypeAnnotation"||it.type==="TSTypeLiteral"||it.type==="ObjectTypeAnnotation")return!0}let _e=X.typeParameters?"typeParameters":"typeArguments";if(y(se(_e)))return!0}return!1}function Ie(X){return X.typeParameters&&X.typeParameters.params||X.typeArguments&&X.typeArguments.params}l.exports={printVariableDeclarator:i,printAssignmentExpression:F,printAssignment:f,isArrowFunctionVariableDeclarator:te}}}),Zu=$({"src/language-js/print/function-parameters.js"(u,l){ue();var{getNextNonSpaceNonCommentCharacter:t}=Gt(),{printDanglingComments:a}=Qt(),{builders:{line:s,hardline:e,softline:r,group:n,indent:o,ifBreak:c},utils:{removeLines:y,willBreak:m}}=wt(),{getFunctionParameters:g,iterateFunctionParametersPath:p,isSimpleType:D,isTestCall:C,isTypeAnnotationAFunction:w,isObjectType:k,isObjectTypePropertyAFunction:A,hasRestParameter:N,shouldPrintComma:x,hasComment:P,isNextLineEmpty:_}=ur(),{locEnd:J}=or(),{ArgExpansionBailout:d}=Fn(),{printFunctionTypeParameters:T}=qr();function f(E,b,S,B,I){let q=E.getValue(),G=g(q),M=I?T(E,S,b):"";if(G.length===0)return[M,"(",a(E,S,!0,pe=>t(S.originalText,pe,J)===")"),")"];let te=E.getParentNode(),j=C(te),De=F(q),U=[];if(p(E,(pe,be)=>{let fe=be===G.length-1;fe&&q.rest&&U.push("..."),U.push(b()),!fe&&(U.push(","),j||De?U.push(" "):_(G[be],S)?U.push(e,e):U.push(s))}),B){if(m(M)||m(U))throw new d;return n([y(M),"(",y(U),")"])}let R=G.every(pe=>!pe.decorators);return De&&R?[M,"(",...U,")"]:j?[M,"(",...U,")"]:(A(te)||w(te)||te.type==="TypeAlias"||te.type==="UnionTypeAnnotation"||te.type==="TSUnionType"||te.type==="IntersectionTypeAnnotation"||te.type==="FunctionTypeAnnotation"&&te.returnType===q)&&G.length===1&&G[0].name===null&&q.this!==G[0]&&G[0].typeAnnotation&&q.typeParameters===null&&D(G[0].typeAnnotation)&&!q.rest?S.arrowParens==="always"?["(",...U,")"]:U:[M,"(",o([r,...U]),c(!N(q)&&x(S,"all")?",":""),r,")"]}function F(E){if(!E)return!1;let b=g(E);if(b.length!==1)return!1;let[S]=b;return!P(S)&&(S.type==="ObjectPattern"||S.type==="ArrayPattern"||S.type==="Identifier"&&S.typeAnnotation&&(S.typeAnnotation.type==="TypeAnnotation"||S.typeAnnotation.type==="TSTypeAnnotation")&&k(S.typeAnnotation.typeAnnotation)||S.type==="FunctionTypeParam"&&k(S.typeAnnotation)||S.type==="AssignmentPattern"&&(S.left.type==="ObjectPattern"||S.left.type==="ArrayPattern")&&(S.right.type==="Identifier"||S.right.type==="ObjectExpression"&&S.right.properties.length===0||S.right.type==="ArrayExpression"&&S.right.elements.length===0))}function i(E){let b;return E.returnType?(b=E.returnType,b.typeAnnotation&&(b=b.typeAnnotation)):E.typeAnnotation&&(b=E.typeAnnotation),b}function h(E,b){let S=i(E);if(!S)return!1;let B=E.typeParameters&&E.typeParameters.params;if(B){if(B.length>1)return!1;if(B.length===1){let I=B[0];if(I.constraint||I.default)return!1}}return g(E).length===1&&(k(S)||m(b))}l.exports={printFunctionParameters:f,shouldHugFunctionParameters:F,shouldGroupFunctionParameters:h}}}),ei=$({"src/language-js/print/type-annotation.js"(u,l){ue();var{printComments:t,printDanglingComments:a}=Qt(),{isNonEmptyArray:s}=Gt(),{builders:{group:e,join:r,line:n,softline:o,indent:c,align:y,ifBreak:m}}=wt(),g=Ln(),{locStart:p}=or(),{isSimpleType:D,isObjectType:C,hasLeadingOwnLineComment:w,isObjectTypePropertyAFunction:k,shouldPrintComma:A}=ur(),{printAssignment:N}=du(),{printFunctionParameters:x,shouldGroupFunctionParameters:P}=Zu(),{printArrayItems:_}=Du();function J(S){if(D(S)||C(S))return!0;if(S.type==="UnionTypeAnnotation"||S.type==="TSUnionType"){let B=S.types.filter(q=>q.type==="VoidTypeAnnotation"||q.type==="TSVoidKeyword"||q.type==="NullLiteralTypeAnnotation"||q.type==="TSNullKeyword").length,I=S.types.some(q=>q.type==="ObjectTypeAnnotation"||q.type==="TSTypeLiteral"||q.type==="GenericTypeAnnotation"||q.type==="TST
`);return D.length>1&&D.every(C=>C.trim()[0]==="*")}function g(p){let D=p.value.split(`
`);return["/*",a(s,D.map((C,w)=>w===0?C.trimEnd():" "+(w<D.length-1?C.trim():C.trimStart()))),"*/"]}l.exports={printComment:y}}}),Ta=$({"src/language-js/print/literal.js"(u,l){ue();var{printString:t,printNumber:a}=Gt(),{replaceTextEndOfLine:s}=En(),{printDirective:e}=qr();function r(y,m){let g=y.getNode();switch(g.type){case"RegExpLiteral":return c(g);case"BigIntLiteral":return o(g.bigint||g.extra.raw);case"NumericLiteral":return a(g.extra.raw);case"StringLiteral":return s(t(g.extra.raw,m));case"NullLiteral":return"null";case"BooleanLiteral":return String(g.value);case"DecimalLiteral":return a(g.value)+"m";case"Literal":{if(g.regex)return c(g.regex);if(g.bigint)return o(g.raw);if(g.decimal)return a(g.decimal)+"m";let{value:p}=g;return typeof p=="number"?a(g.raw):typeof p=="string"?n(y)?e(g.raw,m):s(t(g.raw,m)):String(p)}}}function n(y){if(y.getName()!=="expression")return;let m=y.getParentNode();return m.type==="ExpressionStatement"&&m.directive}function o(y){return y.toLowerCase()}function c(y){let{pattern:m,flags:g}=y;return g=[...g].sort().join(""),`/${m}/${g}`}l.exports={printLiteral:r}}}),Ba=$({"src/language-js/printer-estree.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{hasNewline:a}=Gt(),{builders:{join:s,line:e,hardline:r,softline:n,group:o,indent:c},utils:{replaceTextEndOfLine:y}}=wt(),m=la(),g=pa(),{insertPragma:p}=ks(),D=Ps(),C=Ln(),w=Is(),{hasFlowShorthandAnnotationComment:k,hasComment:A,CommentCheckFlags:N,isTheOnlyJsxElementInMarkdown:x,isLineComment:P,isNextLineEmpty:_,needsHardlineAfterDanglingComment:J,hasIgnoreComment:d,isCallExpression:T,isMemberExpression:f,markerForIfWithoutBlockAndSameLineComment:F}=ur(),{locStart:i,locEnd:h}=or(),E=vn(),{printHtmlBinding:b,isVueEventBindingExpression:S}=Ea(),{printAngular:B}=Ca(),{printJsx:I,hasJsxIgnoreComment:q}=Fa(),{printFlow:G}=va(),{printTypescript:M}=Sa(),{printOptionalToken:te,printBindExpressionCallee:j,printTypeAnnotation:De,adjustClause:U,printRestSpread:R,printDefiniteToken:pe,printDirective:be}=qr(),{printImportDeclaration:fe,printExportDeclaration:Ie,printExportAllDeclaration:X,printModuleSpecifier:se}=Rs(),{printTernary:we}=Ms(),{printTemplateLiteral:_e}=jn(),{printArray:it}=Du(),{printObject:ae}=ls(),{printClass:Q,printClassMethod:me,printClassProperty:Ce}=mu(),{printProperty:Re}=fu(),{printFunction:Xe,printArrowFunction:Ye,printMethod:Ct,printReturnStatement:Rt,printThrowStatement:It}=ri(),{printCallExpression:Et}=Os(),{printVariableDeclarator:bt,printAssignmentExpression:xe}=du(),{printBinaryishExpression:H}=as(),{printSwitchCaseConsequent:ke}=qs(),{printMemberExpression:oe}=Ls(),{printBlock:Be,printBlockBody:pt}=Vs(),{printComment:ut}=xa(),{printLiteral:Le}=Ta(),{printDecorators:v}=os();function K(tt,ht,Ke,pr){let dt=ye(tt,ht,Ke,pr);if(!dt)return"";let ar=tt.getValue(),{type:Dt}=ar;if(Dt==="ClassMethod"||Dt==="ClassPrivateMethod"||Dt==="ClassProperty"||Dt==="ClassAccessorProperty"||Dt==="AccessorProperty"||Dt==="TSAbstractAccessorProperty"||Dt==="PropertyDefinition"||Dt==="TSAbstractPropertyDefinition"||Dt==="ClassPrivateProperty"||Dt==="MethodDefinition"||Dt==="TSAbstractMethodDefinition"||Dt==="TSDeclareMethod")return dt;let Tt=[dt],jt=v(tt,ht,Ke),tr=ar.type==="ClassExpression"&&jt;if(jt&&(Tt=[...jt,dt],!tr))return o(Tt);if(!C(tt,ht))return pr&&pr.needsSemi&&Tt.unshift(";"),Tt.length===1&&Tt[0]===dt?dt:Tt;if(tr&&(Tt=[c([e,...Tt])]),Tt.unshift("("),pr&&pr.needsSemi&&Tt.unshift(";"),k(ar)){let[ft]=ar.trailingComments;Tt.push(" /*",ft.value.trimStart(),"*/"),ft.printed=!0}return tr&&Tt.push(e),Tt.push(")"),Tt}function ye(tt,ht,Ke,pr){let dt=tt.getValue(),ar=ht.semi?";":"";if(!dt)return"";if(typeof dt=="string")return dt;for(let Tt of[Le,b,B,I,G,M]){let jt=Tt(tt,ht,Ke);if(typeof jt<"u")return jt}let Dt=[];switch(dt.type){case"JsExpressionRoot":return Ke("node");case"JsonRoot":return[Ke("node"),r];case"File":return dt.program&&dt.program.interpreter&&Dt.push(Ke(["program","interpreter"])),Dt.push(Ke("program")),Dt;case"Program":return pt(tt,ht,Ke);case"EmptyStatement":return"";case"ExpressionStatement":{if(ht.parser==="__vue_event_binding"||ht.p
`:"")+t.insertPragma(o)}l.exports={hasPragma:s,insertPragma:e}}}),Ma=$({"src/language-css/utils/index.js"(u,l){ue();var t=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 a(ae,Q){let me=Array.isArray(Q)?Q:[Q],Ce=-1,Re;for(;Re=ae.getParentNode(++Ce);)if(me.includes(Re.type))return Ce;return-1}function s(ae,Q){let me=a(ae,Q);return me===-1?null:ae.getParentNode(me)}function e(ae){var Q;let me=s(ae,"css-decl");return me==null||(Q=me.prop)===null||Q===void 0?void 0:Q.toLowerCase()}var r=new Set(["initial","inherit","unset","revert"]);function n(ae){return r.has(ae.toLowerCase())}function o(ae,Q){let me=s(ae,"css-atrule");return(me==null?void 0:me.name)&&me.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Q.toLowerCase())}function c(ae){return ae.includes("$")||ae.includes("@")||ae.includes("#")||ae.startsWith("%")||ae.startsWith("--")||ae.startsWith(":--")||ae.includes("(")&&ae.includes(")")?ae:ae.toLowerCase()}function y(ae,Q){var me;let Ce=s(ae,"value-func");return(Ce==null||(me=Ce.value)===null||me===void 0?void 0:me.toLowerCase())===Q}function m(ae){var Q;let me=s(ae,"css-rule"),Ce=me==null||(Q=me.raws)===null||Q===void 0?void 0:Q.selector;return Ce&&(Ce.startsWith(":import")||Ce.startsWith(":export"))}function g(ae,Q){let me=Array.isArray(Q)?Q:[Q],Ce=s(ae,"css-atrule");return Ce&&me.includes(Ce.name.toLowerCase())}function p(ae){let Q=ae.getValue(),me=s(ae,"css-atrule");return(me==null?void 0:me.name)==="import"&&Q.groups[0].value==="url"&&Q.groups.length===2}function D(ae){return ae.type==="value-func"&&ae.value.toLowerCase()==="url"}function C(ae,Q){var me;let Ce=(me=ae.getParentNode())===null||me===void 0?void 0:me.nodes;return Ce&&Ce.indexOf(Q)===Ce.length-1}function w(ae){let{selector:Q}=ae;return Q?typeof Q=="string"&&/^@.+:.*$/.test(Q)||Q.value&&/^@.+:.*$/.test(Q.value):!1}function k(ae){return ae.type==="value-word"&&["from","through","end"].includes(ae.value)}function A(ae){return ae.type==="value-word"&&["and","or","not"].includes(ae.value)}function N(ae){return ae.type==="value-word"&&ae.value==="in"}function x(ae){return ae.type==="value-operator"&&ae.value==="*"}function P(ae){return ae.type==="value-operator"&&ae.value==="/"}function _(ae){return ae.type==="value-operator"&&ae.value==="+"}function J(ae){return ae.type==="value-operator"&&ae.value==="-"}function d(ae){return ae.type==="value-operator"&&ae.value==="%"}function T(ae){return x(ae)||P(ae)||_(ae)||J(ae)||d(ae)}function f(ae){return ae.type==="value-word"&&["==","!="].includes(ae.value)}function F(ae){return ae.type==="value-word"&&["<",">","<=",">="].includes(ae.value)}function i(ae){return ae.type==="css-atrule"&&["if","else","for","each","while"].includes(ae.name)}function h(ae){var Q;return((Q=ae.raws)===null||Q===void 0?void 0:Q.params)&&/^\(\s*\)$/.test(ae.raws.params)}function E(ae){return ae.name.startsWith("prettier-placeholder")}function b(ae){return ae.prop.startsWith("@prettier-placeholder")}function S(ae,Q){return ae.value==="$$"&&ae.type==="value-func"&&(Q==null?void 0:Q.type)==="value-word"&&!Q.raws.before}function B(ae){var Q,me;return((Q=ae.value)===null||Q===void 0?void 0:Q.type)==="value-root"&&((me=ae.value.group)===null||me===void 0?void 0:me.type)==="value-value"&&ae.prop.toLowerCase()==="composes"}function I(ae){var Q,me,Ce;return((Q=ae.value)===null||Q===void 0||(me=Q.group)===null||me===void 0||(Ce=me.group)===null||Ce===void 0?void 0:Ce.type)==="value-paren_group"&&ae.value.group.group.open!==null&&ae.value.group.group.close!==null}function q(ae){var Q;return((Q=ae.raws)===null||Q===void 0?void 0:Q.before)===""}function G(ae){var Q,me;return ae.type==="value-comma_group"&&((Q=ae.groups)===null||Q===void 0||(me=Q[1])===null||me===void 0?void 0:me.type)==="value-colon"}function M(ae){var Q;return ae.type==="value-paren_group"&&((Q=ae.groups)===null||Q===void 0?void 0:Q[0])&&G(ae.groups[0])}function te(ae){var Q;let me=ae.getValue();if(me.groups.length===0
`,s)+1;return s+t.column}}}),Va=$({"src/language-css/loc.js"(u,l){ue();var{skipEverythingButNewLine:t}=Cn(),a=mr(),s=qa();function e(p,D){return typeof p.sourceIndex=="number"?p.sourceIndex:p.source?s(p.source.start,D)-1:null}function r(p,D){if(p.type==="css-comment"&&p.inline)return t(D,p.source.startOffset);let C=p.nodes&&a(p.nodes);return C&&p.source&&!p.source.end&&(p=C),p.source&&p.source.end?s(p.source.end,D):null}function n(p,D){p.source&&(p.source.startOffset=e(p,D),p.source.endOffset=r(p,D));for(let C in p){let w=p[C];C==="source"||!w||typeof w!="object"||(w.type==="value-root"||w.type==="value-unknown"?o(w,c(p),w.text||w.value):n(w,D))}}function o(p,D,C){p.source&&(p.source.startOffset=e(p,C)+D,p.source.endOffset=r(p,C)+D);for(let w in p){let k=p[w];w==="source"||!k||typeof k!="object"||o(k,D,C)}}function c(p){let D=p.source.startOffset;return typeof p.prop=="string"&&(D+=p.prop.length),p.type==="css-atrule"&&typeof p.name=="string"&&(D+=1+p.name.length+p.raws.afterName.match(/^\s*:?\s*/)[0].length),p.type!=="css-atrule"&&p.raws&&typeof p.raws.between=="string"&&(D+=p.raws.between.length),D}function y(p){let D="initial",C="initial",w,k=!1,A=[];for(let N=0;N<p.length;N++){let x=p[N];switch(D){case"initial":if(x==="'"){D="single-quotes";continue}if(x==='"'){D="double-quotes";continue}if((x==="u"||x==="U")&&p.slice(N,N+4).toLowerCase()==="url("){D="url",N+=3;continue}if(x==="*"&&p[N-1]==="/"){D="comment-block";continue}if(x==="/"&&p[N-1]==="/"){D="comment-inline",w=N-1;continue}continue;case"single-quotes":if(x==="'"&&p[N-1]!=="\\"&&(D=C,C="initial"),x===`
`||x==="\r")return p;continue;case"double-quotes":if(x==='"'&&p[N-1]!=="\\"&&(D=C,C="initial"),x===`
`||x==="\r")return p;continue;case"url":if(x===")"&&(D="initial"),x===`
`||x==="\r")return p;if(x==="'"){D="single-quotes",C="url";continue}if(x==='"'){D="double-quotes",C="url";continue}continue;case"comment-block":x==="/"&&p[N-1]==="*"&&(D="initial");continue;case"comment-inline":(x==='"'||x==="'"||x==="*")&&(k=!0),(x===`
`||x==="\r")&&(k&&A.push([w,N]),D="initial",k=!1);continue}}for(let[N,x]of A)p=p.slice(0,N)+p.slice(N,x).replace(/["'*]/g," ")+p.slice(x);return p}function m(p){return p.source.startOffset}function g(p){return p.source.endOffset}l.exports={locStart:m,locEnd:g,calculateLoc:n,replaceQuotesInInlineComments:y}}}),Ua=$({"src/language-css/utils/is-less-parser.js"(u,l){ue();function t(a){return a.parser==="css"||a.parser==="less"}l.exports=t}}),Ga=$({"src/language-css/utils/is-scss.js"(u,l){ue();function t(a,s){return a==="less"||a==="scss"?a==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(s)}l.exports=t}}),Ja=$({"src/language-css/utils/css-units.evaluate.js"(u,l){l.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),Xa=$({"src/language-css/utils/print-unit.js"(u,l){ue();var t=Ja();function a(s){let e=s.toLowerCase();return Object.prototype.hasOwnProperty.call(t,e)?t[e]:s}l.exports=a}}),Wa=$({"src/language-css/printer-postcss.js"(u,l){ue();var t=mr(),{printNumber:a,printString:s,hasNewline:e,isFrontMatterNode:r,isNextLineEmpty:n,isNonEmptyArray:o}=Gt(),{builders:{join:c,line:y,hardline:m,softline:g,group:p,fill:D,indent:C,dedent:w,ifBreak:k,breakParent:A},utils:{removeLines:N,getDocParts:x}}=wt(),P=Oa(),_=$a(),{insertPragma:J}=Ra(),{getAncestorNode:d,getPropOfDeclNode:T,maybeToLowerCase:f,insideValueFunctionNode:F,insideICSSRuleNode:i,insideAtRuleNode:h,insideURLFunctionInImportAtRuleNode:E,isKeyframeAtRuleKeywords:b,isWideKeywords:S,isLastNode:B,isSCSSControlDirectiveNode:I,isDetachedRulesetDeclarationNode:q,isRelationalOperatorNode:G,isEqualityOperatorNode:M,isMultiplicationNode:te,isDivisionNode:j,isAdditionNode:De,isSubtractionNode:U,isMathOperatorNode:R,isEachKeywordNode:pe,isForKeywordNode:be,isURLFunctionNode:fe,isIfElseKeywordNode:Ie,hasComposesNode:X,hasParensAroundNode:se,hasEmptyRawBefore:we,isKeyValuePairNode:_e,isKeyInValuePairNode:it,isDetachedRulesetCallNode:ae,isTemplatePlaceholderNode:Q,isTemplatePropNode:me,isPostcssSimpleVarNode:Ce,isSCSSMapItemNode:Re,isInlineValueCommentNode:Xe,isHashNode:Ye,isLeftCurlyBraceNode:Ct,isRightCurlyBraceNode:Rt,isWordNode:It,isColonNode:Et,isMediaAndSupportsKeywords:bt,isColorAdjusterFuncNode:xe,lastLineHasInlineComment:H,isAtWordPlaceholderNode:ke,isConfigurationNode:oe,isParenGroupNode:Be}=Ma(),{locStart:pt,locEnd:ut}=Va(),Le=Ua(),v=Ga(),K=Xa();function ye(ft){return ft.trailingComma==="es5"||ft.trailingComma==="all"}function ze(ft,Pt,Bt){let Te=ft.getValue();if(!Te)return"";if(typeof Te=="string")return Te;switch(Te.type){case"front-matter":return[Te.raw,m];case"css-root":{let Xt=tt(ft,Pt,Bt),Wt=Te.raws.after.trim();return Wt.startsWith(";")&&(Wt=Wt.slice(1).trim()),[Xt,Wt?` ${Wt}`:"",x(Xt).length>0?m:""]}case"css-comment":{let Xt=Te.inline||Te.raws.inline,Wt=Pt.originalText.slice(pt(Te),ut(Te));return Xt?Wt.trimEnd():Wt}case"css-rule":return[Bt("selector"),Te.important?" !important":"",Te.nodes?[Te.selector&&Te.selector.type==="selector-unknown"&&H(Te.selector.value)?y:" ","{",Te.nodes.length>0?C([m,tt(ft,Pt,Bt)]):"",m,"}",q(Te)?";":""]:";"];case"css-decl":{let Xt=ft.getParentNode(),{between:Wt}=Te.raws,nr=Wt.trim(),Ur=nr===":",O=X(Te)?N(Bt("value")):Bt("value");return!Ur&&H(nr)&&(O=C([m,w(O)])),[Te.raws.before.replace(/[\s;]/g,""),Xt.type==="css-atrule"&&Xt.variable||i(ft)?Te.prop:f(Te.prop),nr.startsWith("//")?" ":"",nr,Te.extend?"":" ",Le(Pt)&&Te.extend&&Te.selector?["extend(",Bt("selector"),")"]:"",O,Te.raws.important?Te.raws.important.replace(/\s*!\s*important/i," !important"):Te.important?" !important":"",Te.raws.scssDefault?Te.raws.scssDefault.replace(/\s*!def
`).length-1}function Ce(H){H=typeof H=="string"?H:"";let ke=(H.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return me(ke)}function Re(H){H=typeof H=="string"?H:"";let ke=(H.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return me(ke)}function Xe(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(H,i)}).fill(e)}function Ye(H,ke){let{quote:oe,regex:Be}=p(H,ke);return[oe,H.replace(Be,`\\${oe}`),oe]}function Ct(H){let ke=0,oe=H.getParentNode(ke);for(;oe&&J(oe,["SubExpression"]);)ke++,oe=H.getParentNode(ke);return!!(oe&&J(H.getParentNode(ke+1),["ConcatStatement"])&&J(H.getParentNode(ke+2),["AttrNode"]))}function Rt(H,ke){let oe=Et(H,ke),Be=bt(H,ke);return Be?n([oe,c,s(Be)]):oe}function It(H,ke){let oe=Et(H,ke),Be=bt(H,ke);return Be?[n([oe,c,Be]),y]:oe}function Et(H,ke){return ke("path")}function bt(H,ke){let oe=H.getValue(),Be=[];if(oe.params.length>0){let pt=H.map(ke,"params");Be.push(...pt)}if(oe.hash&&oe.hash.pairs.length>0){let pt=ke("hash");Be.push(pt)}return Be.length===0?"":o(c,Be)}function xe(H){return["as |",H.blockParams.join(" "),"|"]}l.exports={print:h,massageAstNode:k}}}),so=$({"src/language-handlebars/parsers.js"(){ue()}}),ao=$({"node_modules/linguist-languages/data/Handlebars.json"(u,l){l.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),oo=$({"src/language-handlebars/index.js"(u,l){ue();var t=vr(),a=io(),s=so(),e=[t(ao(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],r={glimmer:a};l.exports={languages:e,printers:r,parsers:s}}}),lo=$({"src/language-graphql/pragma.js"(u,l){ue();function t(s){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(s)}function a(s){return`# @format
`+s}l.exports={hasPragma:t,insertPragma:a}}}),po=$({"src/language-graphql/loc.js"(u,l){ue();function t(s){return typeof s.start=="number"?s.start:s.loc&&s.loc.start}function a(s){return typeof s.end=="number"?s.end:s.loc&&s.loc.end}l.exports={locStart:t,locEnd:a}}}),co=$({"src/language-graphql/printer-graphql.js"(u,l){ue();var{builders:{join:t,hardline:a,line:s,softline:e,group:r,indent:n,ifBreak:o}}=wt(),{isNextLineEmpty:c,isNonEmptyArray:y}=Gt(),{insertPragma:m}=lo(),{locStart:g,locEnd:p}=po();function D(_,J,d){let T=_.getValue();if(!T)return"";if(typeof T=="string")return T;switch(T.kind){case"Document":{let f=[];return _.each((F,i,h)=>{f.push(d()),i!==h.length-1&&(f.push(a),c(J.originalText,F.getValue(),p)&&f.push(a))},"definitions"),[...f,a]}case"OperationDefinition":{let f=J.originalText[g(T)]!=="{",F=!!T.name;return[f?T.operation:"",f&&F?[" ",d("name")]:"",f&&!F&&y(T.variableDefinitions)?" ":"",y(T.variableDefinitions)?r(["(",n([e,t([o("",", "),e],_.map(d,"variableDefinitions"))]),e,")"]):"",C(_,d,T),T.selectionSet?!f&&!F?"":" ":"",d("selectionSet")]}case"FragmentDefinition":return["fragment ",d("name"),y(T.variableDefinitions)?r(["(",n([e,t([o("",", "),e],_.map(d,"variableDefinitions"))]),e,")"]):""," on ",d("typeCondition"),C(_,d,T)," ",d("selectionSet")];case"SelectionSet":return["{",n([a,t(a,w(_,J,d,"selections"))]),a,"}"];case"Field":return r([T.alias?[d("alias"),": "]:"",d("name"),T.arguments.length>0?r(["(",n([e,t([o("",", "),e],w(_,J,d,"arguments"))]),e,")"]):"",C(_,d,T),T.selectionSet?" ":"",d("selectionSet")]);case"Name":return T.value;case"StringValue":{if(T.block){let f=T.value.replace(/"""/g,"\\$&").split(`
`);return f.length===1&&(f[0]=f[0].trim()),f.every(F=>F==="")&&(f.length=0),t(a,['"""',...f,'"""'])}return['"',T.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return T.value;case"BooleanValue":return T.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",d("name")];case"ListValue":return r(["[",n([e,t([o("",", "),e],_.map(d,"values"))]),e,"]"]);case"ObjectValue":return r(["{",J.bracketSpacing&&T.fields.length>0?" ":"",n([e,t([o("",", "),e],_.map(d,"fields"))]),e,o("",J.bracketSpacing&&T.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[d("name"),": ",d("value")];case"Directive":return["@",d("name"),T.arguments.length>0?r(["(",n([e,t([o("",", "),e],w(_,J,d,"arguments"))]),e,")"]):""];case"NamedType":return d("name");case"VariableDefinition":return[d("variable"),": ",d("type"),T.defaultValue?[" = ",d("defaultValue")]:"",C(_,d,T)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[d("description"),T.description?a:"",T.kind==="ObjectTypeExtension"?"extend ":"","type ",d("name"),T.interfaces.length>0?[" implements ",...N(_,J,d)]:"",C(_,d,T),T.fields.length>0?[" {",n([a,t(a,w(_,J,d,"fields"))]),a,"}"]:""];case"FieldDefinition":return[d("description"),T.description?a:"",d("name"),T.arguments.length>0?r(["(",n([e,t([o("",", "),e],w(_,J,d,"arguments"))]),e,")"]):"",": ",d("type"),C(_,d,T)];case"DirectiveDefinition":return[d("description"),T.description?a:"","directive ","@",d("name"),T.arguments.length>0?r(["(",n([e,t([o("",", "),e],w(_,J,d,"arguments"))]),e,")"]):"",T.repeatable?" repeatable":""," on ",t(" | ",_.map(d,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[d("description"),T.description?a:"",T.kind==="EnumTypeExtension"?"extend ":"","enum ",d("name"),C(_,d,T),T.values.length>0?[" {",n([a,t(a,w(_,J,d,"values"))]),a,"}"]:""];case"EnumValueDefinition":return[d("description"),T.description?a:"",d("name"),C(_,d,T)];case"InputValueDefinition":return[d("description"),T.description?T.description.block?a:s:"",d("name"),": ",d("type"),T.defaultValue?[" = ",d("defaultValue")]:"",C(_,d,T)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[d("description"),T.description?a:"",T.kind==="InputObjectTypeExtension"?"extend ":"","input ",d("name"),C(_,d,T),T.fields.length>0?[" {",n([a,t(a,w(_,J,d,"fields"))]),a,"}"]:""];case"SchemaExtension":return["extend schema",C(_,d,T),...T.operationTypes.length>0?[" {",n([a,t(a,w(_,J,d,"operationTypes"))]),a,"}"]:[]];case"SchemaDefinition":return[d("description"),T.description?a:"","schema",C(_,d,T)," {",T.operationTypes.length>0?n([a,t(a,w(_,J,d,"operationTypes"))]):"",a,"}"];case"OperationTypeDefinition":return[d("operation"),": ",d("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[d("description"),T.description?a:"",T.kind==="InterfaceTypeExtension"?"extend ":"","interface ",d("name"),T.interfaces.length>0?[" implements ",...N(_,J,d)]:"",C(_,d,T),T.fields.length>0?[" {",n([a,t(a,w(_,J,d,"fields"))]),a,"}"]:""];case"FragmentSpread":return["...",d("name"),C(_,d,T)];case"InlineFragment":return["...",T.typeCondition?[" on ",d("typeCondition")]:"",C(_,d,T)," ",d("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return r([d("description"),T.description?a:"",r([T.kind==="UnionTypeExtension"?"extend ":"","union ",d("name"),C(_,d,T),T.types.length>0?[" =",o(""," "),n([o([s," "]),t([s,"| "],_.map(d,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[d("description"),T.description?a:"",T.kind==="ScalarTypeExtension"?"extend ":"","scalar ",d("name"),C(_,d,T)];case"NonNullType":return[d("type"),"!"];case"ListType":return["[",d("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(T.kind))}}function C(_,J,d){if(d.directives.length===0)return"";let T=t(s,_.map(J,"directives"));return d.kind==="FragmentDefinition"||d.kind==="OperationDefinition"?r([s,T]):[" ",r(n([e,T]))]}function w(_,J,d,T){return _.map((f,F,i)=>{let h=d();return F<i.length-1&&c(J.originalText,f.getV
`)&&(J.value=J.value.trim())}x.ignoredProperties=new Set(["loc","comments"]);function P(_){var J;let d=_.getValue();return d==null||(J=d.comments)===null||J===void 0?void 0:J.some(T=>T.value.trim()==="prettier-ignore")}l.exports={print:D,massageAstNode:x,hasPrettierIgnore:P,insertPragma:m,printComment:A,canAttachComment:k}}}),Do=$({"src/language-graphql/options.js"(u,l){ue();var t=On();l.exports={bracketSpacing:t.bracketSpacing}}}),fo=$({"src/language-graphql/parsers.js"(){ue()}}),mo=$({"node_modules/linguist-languages/data/GraphQL.json"(u,l){l.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),ho=$({"src/language-graphql/index.js"(u,l){ue();var t=vr(),a=co(),s=Do(),e=fo(),r=[t(mo(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],n={graphql:a};l.exports={languages:r,options:s,printers:n,parsers:e}}}),Js=$({"node_modules/collapse-white-space/index.js"(u,l){ue(),l.exports=t;function t(a){return String(a).replace(/\s+/g," ")}}}),Xs=$({"src/language-markdown/loc.js"(u,l){ue();function t(s){return s.position.start.offset}function a(s){return s.position.end.offset}l.exports={locStart:t,locEnd:a}}}),go=$({"src/language-markdown/constants.evaluate.js"(u,l){l.exports={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\\uff
(${e})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[F,i]of T.entries()){if(F%2===1){d.push({type:"whitespace",value:/\n/.test(i)?`
`:" "});continue}if((F===0||F===T.length-1)&&i==="")continue;let h=i.split(new RegExp(`(${e})`));for(let[E,b]of h.entries())if(!((E===0||E===h.length-1)&&b==="")){if(E%2===0){b!==""&&f({type:"word",value:b,kind:x,hasLeadingPunctuation:m.test(b[0]),hasTrailingPunctuation:m.test(t(b))});continue}f(m.test(b)?{type:"word",value:b,kind:J,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:b,kind:y.test(b)?_:P,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return d;function f(F){let i=t(d);i&&i.type==="word"&&(i.kind===x&&F.kind===P&&!i.hasTrailingPunctuation||i.kind===P&&F.kind===x&&!F.hasLeadingPunctuation?d.push({type:"whitespace",value:" "}):!h(x,J)&&![i.value,F.value].some(E=>/\u3000/.test(E))&&d.push({type:"whitespace",value:""})),d.push(F);function h(E,b){return i.kind===E&&F.kind===b||i.kind===b&&F.kind===E}}}function p(A,N){let[,x,P,_]=N.slice(A.position.start.offset,A.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:x,marker:P,leadingSpaces:_}}function D(A,N){if(!A.ordered||A.children.length<2)return!1;let x=Number(p(A.children[0],N.originalText).numberText),P=Number(p(A.children[1],N.originalText).numberText);if(x===0&&A.children.length>2){let _=Number(p(A.children[2],N.originalText).numberText);return P===1&&_===1}return P===1}function C(A,N){let{value:x}=A;return A.position.end.offset===N.length&&x.endsWith(`
`)&&N.endsWith(`
`)?x.slice(0,-1):x}function w(A,N){return function x(P,_,J){let d=Object.assign({},N(P,_,J));return d.children&&(d.children=d.children.map((T,f)=>x(T,f,[d,...J]))),d}(A,null,[])}function k(A){if((A==null?void 0:A.type)!=="link"||A.children.length!==1)return!1;let[N]=A.children;return a(A)===a(N)&&s(A)===s(N)}l.exports={mapAst:w,splitText:g,punctuationPattern:n,getFencedCodeBlockValue:C,getOrderedListItemInfo:p,hasGitDiffFriendlyOrderedList:D,INLINE_NODE_TYPES:o,INLINE_NODE_WRAPPER_TYPES:c,isAutolink:k}}}),yo=$({"src/language-markdown/embed.js"(u,l){ue();var{inferParserByLanguage:t,getMaxContinuousCount:a}=Gt(),{builders:{hardline:s,markAsRoot:e},utils:{replaceEndOfLine:r}}=wt(),n=cs(),{getFencedCodeBlockValue:o}=Ds();function c(y,m,g,p){let D=y.getValue();if(D.type==="code"&&D.lang!==null){let C=t(D.lang,p);if(C){let w=p.__inJsTemplate?"~":"`",k=w.repeat(Math.max(3,a(D.value,w)+1)),A={parser:C};D.lang==="tsx"&&(A.filepath="dummy.tsx");let N=g(o(D,p.originalText),A,{stripTrailingHardline:!0});return e([k,D.lang,D.meta?" "+D.meta:"",s,r(N),s,k])}}switch(D.type){case"front-matter":return n(D,g);case"importExport":return[g(D.value,{parser:"babel"},{stripTrailingHardline:!0}),s];case"jsx":return g(`<$>${D.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}l.exports=c}}),Ws=$({"src/language-markdown/pragma.js"(u,l){ue();var t=Gs(),a=["format","prettier"];function s(e){let r=`@(${a.join("|")})`,n=new RegExp([`<!--\\s*${r}\\s*-->`,`{\\s*\\/\\*\\s*${r}\\s*\\*\\/\\s*}`,`<!--.*\r?
[\\s\\S]*(^|
)[^\\S
]*${r}[^\\S
]*($|
)[\\s\\S]*
.*-->`].join("|"),"m"),o=e.match(n);return(o==null?void 0:o.index)===0}l.exports={startWithPragma:s,hasPragma:e=>s(t(e).content.trimStart()),insertPragma:e=>{let r=t(e),n=`<!-- @${a[0]} -->`;return r.frontMatter?`${r.frontMatter.raw}
${n}
${r.content}`:`${n}
${r.content}`}}}}),Eo=$({"src/language-markdown/print-preprocess.js"(u,l){ue();var t=mr(),{getOrderedListItemInfo:a,mapAst:s,splitText:e}=Ds(),r=/^.$/su;function n(k,A){return k=y(k,A),k=p(k),k=c(k,A),k=C(k,A),k=w(k,A),k=D(k,A),k=o(k),k=m(k),k}function o(k){return s(k,A=>A.type!=="import"&&A.type!=="export"?A:Object.assign(Object.assign({},A),{},{type:"importExport"}))}function c(k,A){return s(k,N=>N.type!=="inlineCode"||A.proseWrap==="preserve"?N:Object.assign(Object.assign({},N),{},{value:N.value.replace(/\s+/g," ")}))}function y(k,A){return s(k,N=>N.type!=="text"||N.value==="*"||N.value==="_"||!r.test(N.value)||N.position.end.offset-N.position.start.offset===N.value.length?N:Object.assign(Object.assign({},N),{},{value:A.originalText.slice(N.position.start.offset,N.position.end.offset)}))}function m(k){return g(k,(A,N)=>A.type==="importExport"&&N.type==="importExport",(A,N)=>({type:"importExport",value:A.value+`
`+N.value,position:{start:A.position.start,end:N.position.end}}))}function g(k,A,N){return s(k,x=>{if(!x.children)return x;let P=x.children.reduce((_,J)=>{let d=t(_);return d&&A(d,J)?_.splice(-1,1,N(d,J)):_.push(J),_},[]);return Object.assign(Object.assign({},x),{},{children:P})})}function p(k){return g(k,(A,N)=>A.type==="text"&&N.type==="text",(A,N)=>({type:"text",value:A.value+N.value,position:{start:A.position.start,end:N.position.end}}))}function D(k,A){return s(k,(N,x,P)=>{let[_]=P;if(N.type!=="text")return N;let{value:J}=N;return _.type==="paragraph"&&(x===0&&(J=J.trimStart()),x===_.children.length-1&&(J=J.trimEnd())),{type:"sentence",position:N.position,children:e(J,A)}})}function C(k,A){return s(k,(N,x,P)=>{if(N.type==="code"){let _=/^\n?(?: {4,}|\t)/.test(A.originalText.slice(N.position.start.offset,N.position.end.offset));if(N.isIndented=_,_)for(let J=0;J<P.length;J++){let d=P[J];if(d.hasIndentedCodeblock)break;d.type==="list"&&(d.hasIndentedCodeblock=!0)}}return N})}function w(k,A){return s(k,(P,_,J)=>{if(P.type==="list"&&P.children.length>0){for(let d=0;d<J.length;d++){let T=J[d];if(T.type==="list"&&!T.isAligned)return P.isAligned=!1,P}P.isAligned=x(P)}return P});function N(P){return P.children.length===0?-1:P.children[0].position.start.column-1}function x(P){if(!P.ordered)return!0;let[_,J]=P.children;if(a(_,A.originalText).leadingSpaces.length>1)return!0;let d=N(_);if(d===-1)return!1;if(P.children.length===1)return d%A.tabWidth===0;let T=N(J);return d!==T?!1:d%A.tabWidth===0?!0:a(J,A.originalText).leadingSpaces.length>1}}l.exports=n}}),Co=$({"src/language-markdown/clean.js"(u,l){ue();var t=Js(),{isFrontMatterNode:a}=Gt(),{startWithPragma:s}=Ws(),e=new Set(["position","raw"]);function r(n,o,c){if((n.type==="front-matter"||n.type==="code"||n.type==="yaml"||n.type==="import"||n.type==="export"||n.type==="jsx")&&delete o.value,n.type==="list"&&delete o.isAligned,(n.type==="list"||n.type==="listItem")&&(delete o.spread,delete o.loose),n.type==="text"||(n.type==="inlineCode"&&(o.value=n.value.replace(/[\t\n ]+/g," ")),n.type==="wikiLink"&&(o.value=n.value.trim().replace(/[\t\n]+/g," ")),(n.type==="definition"||n.type==="linkReference"||n.type==="imageReference")&&(o.label=t(n.label)),(n.type==="definition"||n.type==="link"||n.type==="image")&&n.title&&(o.title=n.title.replace(/\\(["')])/g,"$1")),c&&c.type==="root"&&c.children.length>0&&(c.children[0]===n||a(c.children[0])&&c.children[1]===n)&&n.type==="html"&&s(n.value)))return null}r.ignoredProperties=e,l.exports=r}}),Fo=$({"src/language-markdown/printer-markdown.js"(u,l){ue();var t=Js(),{getLast:a,getMinNotPresentContinuousCount:s,getMaxContinuousCount:e,getStringWidth:r,isNonEmptyArray:n}=Gt(),{builders:{breakParent:o,join:c,line:y,literalline:m,markAsRoot:g,hardline:p,softline:D,ifBreak:C,fill:w,align:k,indent:A,group:N,hardlineWithoutBreakParent:x},utils:{normalizeDoc:P,replaceTextEndOfLine:_},printer:{printDocToString:J}}=wt(),d=yo(),{insertPragma:T}=Ws(),{locStart:f,locEnd:F}=Xs(),i=Eo(),h=Co(),{getFencedCodeBlockValue:E,hasGitDiffFriendlyOrderedList:b,splitText:S,punctuationPattern:B,INLINE_NODE_TYPES:I,INLINE_NODE_WRAPPER_TYPES:q,isAutolink:G}=Ds(),M=new Set(["importExport"]),te=["heading","tableCell","link","wikiLink"],j=new Set(["listItem","definition","footnoteDefinition"]);function De(xe,H,ke){let oe=xe.getValue();if(Xe(xe))return S(H.originalText.slice(oe.position.start.offset,oe.position.end.offset),H).map(Be=>Be.type==="word"?Be.value:Be.value===""?"":X(xe,Be.value,H));switch(oe.type){case"front-matter":return H.originalText.slice(oe.position.start.offset,oe.position.end.offset);case"root":return oe.children.length===0?"":[P(we(xe,H,ke)),M.has(ae(oe).type)?"":p];case"paragraph":return _e(xe,H,ke,{postprocessor:w});case"sentence":return _e(xe,H,ke);case"word":{let Be=oe.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${B})(_+)`,`(_+)(${B}|$)`].join("|"),"g"),(Le,v,K,ye,ze)=>(K?`${v}${K}`:`${ye}${ze}`).replace(/_/g,"\\_")),pt=(Le,v,K)=>Le.type==="sentence"&&K===0,ut=(Le,v,K)=>G(Le.children[K-1]);return Be!==oe.value&&(xe.match(void 0,pt,ut)||xe.
`)return p;let oe=ke.proseWrap==="always"&&!Ie(xe,te);return H!==""?oe?y:" ":oe?D:""}function se(xe,H,ke){let oe=xe.getValue(),Be=[],pt=xe.map(ze=>ze.map((tt,ht)=>{let Ke=J(ke(),H).formatted,pr=r(Ke);return Be[ht]=Math.max(Be[ht]||3,pr),{text:Ke,width:pr}},"children"),"children"),ut=v(!1);if(H.proseWrap!=="never")return[o,ut];let Le=v(!0);return[o,N(C(Le,ut))];function v(ze){let tt=[ye(pt[0],ze),K(ze)];return pt.length>1&&tt.push(c(x,pt.slice(1).map(ht=>ye(ht,ze)))),c(x,tt)}function K(ze){return`| ${Be.map((tt,ht)=>{let Ke=oe.align[ht],pr=Ke==="center"||Ke==="left"?":":"-",dt=Ke==="center"||Ke==="right"?":":"-",ar=ze?"-":"-".repeat(tt-2);return`${pr}${ar}${dt}`}).join(" | ")} |`}function ye(ze,tt){return`| ${ze.map((ht,Ke)=>{let{text:pr,width:dt}=ht;if(tt)return pr;let ar=Be[Ke]-dt,Dt=oe.align[Ke],Tt=0;Dt==="right"?Tt=ar:Dt==="center"&&(Tt=Math.floor(ar/2));let jt=ar-Tt;return`${" ".repeat(Tt)}${pr}${" ".repeat(jt)}`}).join(" | ")} |`}}function we(xe,H,ke){let oe=[],Be=null,{children:pt}=xe.getValue();for(let[ut,Le]of pt.entries())switch(Q(Le)){case"start":Be===null&&(Be={index:ut,offset:Le.position.end.offset});break;case"end":Be!==null&&(oe.push({start:Be,end:{index:ut,offset:Le.position.start.offset}}),Be=null);break}return _e(xe,H,ke,{processor:(ut,Le)=>{if(oe.length>0){let v=oe[0];if(Le===v.start.index)return[it(pt[v.start.index]),H.originalText.slice(v.start.offset,v.end.offset),it(pt[v.end.index])];if(v.start.index<Le&&Le<v.end.index)return!1;if(Le===v.end.index)return oe.shift(),!1}return ke()}})}function _e(xe,H,ke){let oe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:Be}=oe,pt=oe.processor||(()=>ke()),ut=xe.getValue(),Le=[],v;return xe.each((K,ye)=>{let ze=K.getValue(),tt=pt(K,ye);if(tt!==!1){let ht={parts:Le,prevNode:v,parentNode:ut,options:H};me(ze,ht)&&(Le.push(p),v&&M.has(v.type)||(Ce(ze,ht)||Re(ze,ht))&&Le.push(p),Re(ze,ht)&&Le.push(p)),Le.push(tt),v=ze}},"children"),Be?Be(Le):Le}function it(xe){if(xe.type==="html")return xe.value;if(xe.type==="paragraph"&&Array.isArray(xe.children)&&xe.children.length===1&&xe.children[0].type==="esComment")return["{/* ",xe.children[0].value," */}"]}function ae(xe){let H=xe;for(;n(H.children);)H=a(H.children);return H}function Q(xe){let H;if(xe.type==="html")H=xe.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let ke;xe.type==="esComment"?ke=xe:xe.type==="paragraph"&&xe.children.length===1&&xe.children[0].type==="esComment"&&(ke=xe.children[0]),ke&&(H=ke.value.match(/^prettier-ignore(?:-(start|end))?$/))}return H?H[1]||"next":!1}function me(xe,H){let ke=H.parts.length===0,oe=I.includes(xe.type),Be=xe.type==="html"&&q.includes(H.parentNode.type);return!ke&&!oe&&!Be}function Ce(xe,H){var ke,oe,Be;let pt=(H.prevNode&&H.prevNode.type)===xe.type&&j.has(xe.type),ut=H.parentNode.type==="listItem"&&!H.parentNode.loose,Le=((ke=H.prevNode)===null||ke===void 0?void 0:ke.type)==="listItem"&&H.prevNode.loose,v=Q(H.prevNode)==="next",K=xe.type==="html"&&((oe=H.prevNode)===null||oe===void 0?void 0:oe.type)==="html"&&H.prevNode.position.end.line+1===xe.position.start.line,ye=xe.type==="html"&&H.parentNode.type==="listItem"&&((Be=H.prevNode)===null||Be===void 0?void 0:Be.type)==="paragraph"&&H.prevNode.position.end.line+1===xe.position.start.line;return Le||!(pt||ut||v||K||ye)}function Re(xe,H){let ke=H.prevNode&&H.prevNode.type==="list",oe=xe.type==="code"&&xe.isIndented;return ke&&oe}function Xe(xe){let H=Ie(xe,["linkReference","imageReference"]);return H&&(H.type!=="linkReference"||H.referenceType!=="full")}function Ye(xe){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ke=[" ",...Array.isArray(H)?H:[H]];return new RegExp(ke.map(oe=>`\\${oe}`).join("|")).test(xe)?`<${xe}>`:xe}function Ct(xe,H){let ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!xe)return"";if(ke)return" "+Ct(xe,H,!1);if(xe=xe.replace(/\\(["')])/g,"$1"),xe.includes('"')&&xe.includes("'")&&!xe.includes(")"))return`(${xe})`;let oe=xe.split("'").length-1,Be=xe.split('"').length-1,pt=oe>Be?'"':Be>oe||H.singleQuote?"'":'"';return xe=xe.replace(/\
`,"\f","\r"," "]),C=v=>v.replace(/^[\t\n\f\r ]+/,""),w=v=>v.replace(/[\t\n\f\r ]+$/,""),k=v=>C(w(v)),A=v=>v.replace(/^[\t\f\r ]*\n/g,""),N=v=>A(w(v)),x=v=>v.split(/[\t\n\f\r ]+/),P=v=>v.match(/^[\t\n\f\r ]*/)[0],_=v=>{let[,K,ye,ze]=v.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:K,trailingWhitespace:ze,text:ye}},J=v=>/[\t\n\f\r ]/.test(v);function d(v,K){return!!(v.type==="ieConditionalComment"&&v.lastChild&&!v.lastChild.isSelfClosing&&!v.lastChild.endSourceSpan||v.type==="ieConditionalComment"&&!v.complete||Ce(v)&&v.children.some(ye=>ye.type!=="text"&&ye.type!=="interpolation")||oe(v,K)&&!i(v)&&v.type!=="interpolation")}function T(v){return v.type==="attribute"||!v.parent||!v.prev?!1:f(v.prev)}function f(v){return v.type==="comment"&&v.value.trim()==="prettier-ignore"}function F(v){return v.type==="text"||v.type==="comment"}function i(v){return v.type==="element"&&(v.fullName==="script"||v.fullName==="style"||v.fullName==="svg:style"||p(v)&&(v.name==="script"||v.name==="style"))}function h(v){return v.children&&!i(v)}function E(v){return i(v)||v.type==="interpolation"||b(v)}function b(v){return Ct(v).startsWith("pre")}function S(v,K){let ye=ze();if(ye&&!v.prev&&v.parent&&v.parent.tagDefinition&&v.parent.tagDefinition.ignoreFirstLf)return v.type==="interpolation";return ye;function ze(){return a(v)?!1:(v.type==="text"||v.type==="interpolation")&&v.prev&&(v.prev.type==="text"||v.prev.type==="interpolation")?!0:!v.parent||v.parent.cssDisplay==="none"?!1:Ce(v.parent)?!0:!(!v.prev&&(v.parent.type==="root"||Ce(v)&&v.parent||i(v.parent)||H(v.parent,K)||!_e(v.parent.cssDisplay))||v.prev&&!Q(v.prev.cssDisplay))}}function B(v,K){return a(v)?!1:(v.type==="text"||v.type==="interpolation")&&v.next&&(v.next.type==="text"||v.next.type==="interpolation")?!0:!v.parent||v.parent.cssDisplay==="none"?!1:Ce(v.parent)?!0:!(!v.next&&(v.parent.type==="root"||Ce(v)&&v.parent||i(v.parent)||H(v.parent,K)||!it(v.parent.cssDisplay))||v.next&&!ae(v.next.cssDisplay))}function I(v){return me(v.cssDisplay)&&!i(v)}function q(v){return a(v)||v.next&&v.sourceSpan.end&&v.sourceSpan.end.line+1<v.next.sourceSpan.start.line}function G(v){return M(v)||v.type==="element"&&v.children.length>0&&(["body","script","style"].includes(v.name)||v.children.some(K=>fe(K)))||v.firstChild&&v.firstChild===v.lastChild&&v.firstChild.type!=="text"&&U(v.firstChild)&&(!v.lastChild.isTrailingSpaceSensitive||R(v.lastChild))}function M(v){return v.type==="element"&&v.children.length>0&&(["html","head","ul","ol","select"].includes(v.name)||v.cssDisplay.startsWith("table")&&v.cssDisplay!=="table-cell")}function te(v){return pe(v)||v.prev&&j(v.prev)||De(v)}function j(v){return pe(v)||v.type==="element"&&v.fullName==="br"||De(v)}function De(v){return U(v)&&R(v)}function U(v){return v.hasLeadingSpaces&&(v.prev?v.prev.sourceSpan.end.line<v.sourceSpan.start.line:v.parent.type==="root"||v.parent.startSourceSpan.end.line<v.sourceSpan.start.line)}function R(v){return v.hasTrailingSpaces&&(v.next?v.next.sourceSpan.start.line>v.sourceSpan.end.line:v.parent.type==="root"||v.parent.endSourceSpan&&v.parent.endSourceSpan.start.line>v.sourceSpan.end.line)}function pe(v){switch(v.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(v.name)}return!1}function be(v){return v.lastChild?be(v.lastChild):v}function fe(v){return v.children&&v.children.some(K=>K.type!=="text")}function Ie(v){let{type:K,lang:ye}=v.attrMap;if(K==="module"||K==="text/javascript"||K==="text/babel"||K==="application/javascript"||ye==="jsx")return"babel";if(K==="application/x-typescript"||ye==="ts"||ye==="tsx")return"typescript";if(K==="text/markdown")return"markdown";if(K==="text/html")return"html";if(K&&(K.endsWith("json")||K.endsWith("importmap"))||K==="speculationrules")return"json";if(K==="text/x-handlebars-template")return"glimmer"}function X(v,K){let{lang:ye}=v.attrMap;if(!ye||ye==="postcss"||ye==="css")return"css";if(ye==="scss")return"scss";if(ye==="less")return"less";if(ye==="stylus")return t("stylus",K)}function se(v,K){if(v.na
`)){if(ye.length===0)continue;if(!D.has(ye[0]))return 0;let ze=P(ye).length;ye.length!==ze&&ze<K&&(K=ze)}return K===Number.POSITIVE_INFINITY?0:K}function It(v){let K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Rt(v);return K===0?v:v.split(`
`).map(ye=>ye.slice(K)).join(`
`)}function Et(v,K){let ye=0;for(let ze=0;ze<v.length;ze++)v[ze]===K&&ye++;return ye}function bt(v){return v.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var xe=new Set(["template","style","script"]);function H(v,K){return ke(v,K)&&!xe.has(v.fullName)}function ke(v,K){return K.parser==="vue"&&v.type==="element"&&v.parent.type==="root"&&v.fullName.toLowerCase()!=="html"}function oe(v,K){return ke(v,K)&&(H(v,K)||v.attrMap.lang&&v.attrMap.lang!=="html")}function Be(v){let K=v.fullName;return K.charAt(0)==="#"||K==="slot-scope"||K==="v-slot"||K.startsWith("v-slot:")}function pt(v,K){let ye=v.parent;if(!ke(ye,K))return!1;let ze=ye.fullName,tt=v.fullName;return ze==="script"&&tt==="setup"||ze==="style"&&tt==="vars"}function ut(v){let K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:v.value;return v.parent.isWhitespaceSensitive?v.parent.isIndentationSensitive?o(K):o(It(N(K)),e):n(r(s,x(K)))}function Le(v,K){return ke(v,K)&&v.name==="script"}l.exports={htmlTrim:k,htmlTrimPreserveIndentation:N,hasHtmlWhitespace:J,getLeadingAndTrailingHtmlWhitespace:_,canHaveInterpolation:h,countChars:Et,countParents:Re,dedentString:It,forceBreakChildren:M,forceBreakContent:G,forceNextEmptyLine:q,getLastDescendant:be,getNodeCssStyleDisplay:Ye,getNodeCssStyleWhiteSpace:Ct,hasPrettierIgnore:T,inferScriptParser:se,isVueCustomBlock:H,isVueNonHtmlBlock:oe,isVueScriptTag:Le,isVueSlotAttribute:Be,isVueSfcBindingsAttribute:pt,isVueSfcBlock:ke,isDanglingSpaceSensitiveNode:I,isIndentationSensitiveNode:b,isLeadingSpaceSensitiveNode:S,isPreLikeNode:Ce,isScriptLikeTag:i,isTextLikeNode:F,isTrailingSpaceSensitiveNode:B,isWhitespaceSensitiveNode:E,isUnknownNamespace:p,preferHardlineAsLeadingSpaces:te,preferHardlineAsTrailingSpaces:j,shouldPreserveContent:d,unescapeQuoteEntities:bt,getTextValueParts:ut}}}),Bo=$({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0}),u.$EOF=0,u.$BSPACE=8,u.$TAB=9,u.$LF=10,u.$VTAB=11,u.$FF=12,u.$CR=13,u.$SPACE=32,u.$BANG=33,u.$DQ=34,u.$HASH=35,u.$$=36,u.$PERCENT=37,u.$AMPERSAND=38,u.$SQ=39,u.$LPAREN=40,u.$RPAREN=41,u.$STAR=42,u.$PLUS=43,u.$COMMA=44,u.$MINUS=45,u.$PERIOD=46,u.$SLASH=47,u.$COLON=58,u.$SEMICOLON=59,u.$LT=60,u.$EQ=61,u.$GT=62,u.$QUESTION=63,u.$0=48,u.$7=55,u.$9=57,u.$A=65,u.$E=69,u.$F=70,u.$X=88,u.$Z=90,u.$LBRACKET=91,u.$BACKSLASH=92,u.$RBRACKET=93,u.$CARET=94,u.$_=95,u.$a=97,u.$b=98,u.$e=101,u.$f=102,u.$n=110,u.$r=114,u.$t=116,u.$u=117,u.$v=118,u.$x=120,u.$z=122,u.$LBRACE=123,u.$BAR=124,u.$RBRACE=125,u.$NBSP=160,u.$PIPE=124,u.$TILDA=126,u.$AT=64,u.$BT=96;function l(n){return n>=u.$TAB&&n<=u.$SPACE||n==u.$NBSP}u.isWhitespace=l;function t(n){return u.$0<=n&&n<=u.$9}u.isDigit=t;function a(n){return n>=u.$a&&n<=u.$z||n>=u.$A&&n<=u.$Z}u.isAsciiLetter=a;function s(n){return n>=u.$a&&n<=u.$f||n>=u.$A&&n<=u.$F||t(n)}u.isAsciiHexDigit=s;function e(n){return n===u.$LF||n===u.$CR}u.isNewLine=e;function r(n){return u.$0<=n&&n<=u.$7}u.isOctalDigit=r}}),wo=$({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=class{constructor(a,s,e){this.filePath=a,this.name=s,this.members=e}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};u.StaticSymbol=l;var t=class{constructor(){this.cache=new Map}get(a,s,e){e=e||[];let r=e.length?`.${e.join(".")}`:"",n=`"${a}".${s}${r}`,o=this.cache.get(n);return o||(o=new l(a,s,e),this.cache.set(n,o)),o}};u.StaticSymbolCache=t}}),No=$({"node_modules/angular-html-parser/lib/compiler/src/util.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=/-+([a-z0-9])/g;function t(i){return i.replace(l,function(){for(var h=arguments.length,E=new Array(h),b=0;b<h;b++)E[b]=arguments[b];return E[1].toUpperCase()})}u.dashCaseToCamelCase=t;function a(i,h){return e(i,":",h)}u.splitAtColon=a;function s(i,h){return e(i,".",h)}u.splitAtPeriod=s;function e(i,h,E){let b=i.indexOf(h);return b==-1?E:[i.slice(0,b).trim(),i.slice(b+1).trim()]}function r(i,h,E){return Array.is
`);return E===-1?h:h.substring(0,E)}u.stringify=x;function P(i){return typeof i=="function"&&i.hasOwnProperty("__forward_ref__")?i():i}u.resolveForwardRef=P;function _(i){return!!i&&typeof i.then=="function"}u.isPromise=_;var J=class{constructor(i){this.full=i;let h=i.split(".");this.major=h[0],this.minor=h[1],this.patch=h.slice(2).join(".")}};u.Version=J;var d=typeof window<"u"&&window,T=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,f=typeof globalThis<"u"&&globalThis,F=f||d||T;u.global=F}}),_o=$({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=wo(),t=No(),a=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function s(E){return E.replace(/\W/g,"_")}u.sanitizeIdentifier=s;var e=0;function r(E){if(!E||!E.reference)return null;let b=E.reference;if(b instanceof l.StaticSymbol)return b.name;if(b.__anonymousType)return b.__anonymousType;let S=t.stringify(b);return S.indexOf("(")>=0?(S=`anonymous_${e++}`,b.__anonymousType=S):S=s(S),S}u.identifierName=r;function n(E){let b=E.reference;return b instanceof l.StaticSymbol?b.filePath:`./${t.stringify(b)}`}u.identifierModuleUrl=n;function o(E,b){return`View_${r({reference:E})}_${b}`}u.viewClassName=o;function c(E){return`RenderType_${r({reference:E})}`}u.rendererTypeName=c;function y(E){return`HostView_${r({reference:E})}`}u.hostViewClassName=y;function m(E){return`${r({reference:E})}NgFactory`}u.componentFactoryName=m;var g;(function(E){E[E.Pipe=0]="Pipe",E[E.Directive=1]="Directive",E[E.NgModule=2]="NgModule",E[E.Injectable=3]="Injectable"})(g=u.CompileSummaryKind||(u.CompileSummaryKind={}));function p(E){return E.value!=null?s(E.value):r(E.identifier)}u.tokenName=p;function D(E){return E.identifier!=null?E.identifier.reference:E.value}u.tokenReference=D;var C=class{constructor(){let{moduleUrl:E,styles:b,styleUrls:S}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=E||null,this.styles=_(b),this.styleUrls=_(S)}};u.CompileStylesheetMetadata=C;var w=class{constructor(E){let{encapsulation:b,template:S,templateUrl:B,htmlAst:I,styles:q,styleUrls:G,externalStylesheets:M,animations:te,ngContentSelectors:j,interpolation:De,isInline:U,preserveWhitespaces:R}=E;if(this.encapsulation=b,this.template=S,this.templateUrl=B,this.htmlAst=I,this.styles=_(q),this.styleUrls=_(G),this.externalStylesheets=_(M),this.animations=te?d(te):[],this.ngContentSelectors=j||[],De&&De.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=De,this.isInline=U,this.preserveWhitespaces=R}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};u.CompileTemplateMetadata=w;var k=class{static create(E){let{isHost:b,type:S,isComponent:B,selector:I,exportAs:q,changeDetection:G,inputs:M,outputs:te,host:j,providers:De,viewProviders:U,queries:R,guards:pe,viewQueries:be,entryComponents:fe,template:Ie,componentViewType:X,rendererType:se,componentFactory:we}=E,_e={},it={},ae={};j!=null&&Object.keys(j).forEach(Ce=>{let Re=j[Ce],Xe=Ce.match(a);Xe===null?ae[Ce]=Re:Xe[1]!=null?it[Xe[1]]=Re:Xe[2]!=null&&(_e[Xe[2]]=Re)});let Q={};M==null||M.forEach(Ce=>{let Re=t.splitAtColon(Ce,[Ce,Ce]);Q[Re[0]]=Re[1]});let me={};return te==null||te.forEach(Ce=>{let Re=t.splitAtColon(Ce,[Ce,Ce]);me[Re[0]]=Re[1]}),new k({isHost:b,type:S,isComponent:!!B,selector:I,exportAs:q,changeDetection:G,inputs:Q,outputs:me,hostListeners:_e,hostProperties:it,hostAttributes:ae,providers:De,viewProviders:U,queries:R,guards:pe,viewQueries:be,entryComponents:fe,template:Ie,componentViewType:X,rendererType:se,componentFactory:we})}constructor(E){let{isHost:b,type:S,isComponent:B,selector:I,exportAs:q,changeDetection:G,inputs:M,outputs:te,hostListeners:j,hostProperties:De,hostAttributes:U,providers:R,viewProviders:pe,queries:be,guards:fe,viewQueries:Ie,entryComponents:X,template:se,componentViewType:we,rendererType:_e,componentFactory:it}=E;this.isHost=!!b,this.type=S,this.isComponent=
`&&++w==m)););for(C=0,w=0;C<y&&D<g.length-1&&(D++,C++,!(g[D]==`
`&&++w==m)););return{before:g.substring(p,this.offset),after:g.substring(this.offset,D+1)}}return null}};u.ParseLocation=a;var s=class{constructor(y,m){this.content=y,this.url=m}};u.ParseSourceFile=s;var e=class{constructor(y,m){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=y,this.end=m,this.details=g}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};u.ParseSourceSpan=e,u.EMPTY_PARSE_LOCATION=new a(new s("",""),0,0,0),u.EMPTY_SOURCE_SPAN=new e(u.EMPTY_PARSE_LOCATION,u.EMPTY_PARSE_LOCATION);var r;(function(y){y[y.WARNING=0]="WARNING",y[y.ERROR=1]="ERROR"})(r=u.ParseErrorLevel||(u.ParseErrorLevel={}));var n=class{constructor(y,m){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r.ERROR;this.span=y,this.msg=m,this.level=g}contextualMessage(){let y=this.span.start.getContext(100,3);return y?`${this.msg} ("${y.before}[${r[this.level]} ->]${y.after}")`:this.msg}toString(){let y=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${y}`}};u.ParseError=n;function o(y,m){let g=t.identifierModuleUrl(m),p=g!=null?`in ${y} ${t.identifierName(m)} in ${g}`:`in ${y} ${t.identifierName(m)}`,D=new s("",p);return new e(new a(D,-1,-1,-1),new a(D,-1,-1,-1))}u.typeSourceSpan=o;function c(y,m,g){let p=`in ${y} ${m} in ${g}`,D=new s("",p);return new e(new a(D,-1,-1,-1),new a(D,-1,-1,-1))}u.r3JitTypeSourceSpan=c}}),Po=$({"src/language-html/print-preprocess.js"(u,l){ue();var{ParseSourceSpan:t}=ko(),{htmlTrim:a,getLeadingAndTrailingHtmlWhitespace:s,hasHtmlWhitespace:e,canHaveInterpolation:r,getNodeCssStyleDisplay:n,isDanglingSpaceSensitiveNode:o,isIndentationSensitiveNode:c,isLeadingSpaceSensitiveNode:y,isTrailingSpaceSensitiveNode:m,isWhitespaceSensitiveNode:g,isVueScriptTag:p}=$n(),D=[w,k,N,P,_,T,J,d,f,x,F];function C(i,h){for(let E of D)E(i,h);return i}function w(i){i.walk(h=>{if(h.type==="element"&&h.tagDefinition.ignoreFirstLf&&h.children.length>0&&h.children[0].type==="text"&&h.children[0].value[0]===`
`){let E=h.children[0];E.value.length===1?h.removeChild(E):E.value=E.value.slice(1)}})}function k(i){let h=E=>E.type==="element"&&E.prev&&E.prev.type==="ieConditionalStartComment"&&E.prev.sourceSpan.end.offset===E.startSourceSpan.start.offset&&E.firstChild&&E.firstChild.type==="ieConditionalEndComment"&&E.firstChild.sourceSpan.start.offset===E.startSourceSpan.end.offset;i.walk(E=>{if(E.children)for(let b=0;b<E.children.length;b++){let S=E.children[b];if(!h(S))continue;let B=S.prev,I=S.firstChild;E.removeChild(B),b--;let q=new t(B.sourceSpan.start,I.sourceSpan.end),G=new t(q.start,S.sourceSpan.end);S.condition=B.condition,S.sourceSpan=G,S.startSourceSpan=q,S.removeChild(I)}})}function A(i,h,E){i.walk(b=>{if(b.children)for(let S=0;S<b.children.length;S++){let B=b.children[S];if(B.type!=="text"&&!h(B))continue;B.type!=="text"&&(B.type="text",B.value=E(B));let I=B.prev;!I||I.type!=="text"||(I.value+=B.value,I.sourceSpan=new t(I.sourceSpan.start,B.sourceSpan.end),b.removeChild(B),S--)}})}function N(i){return A(i,h=>h.type==="cdata",h=>`<![CDATA[${h.value}]]>`)}function x(i){let h=E=>E.type==="element"&&E.attrs.length===0&&E.children.length===1&&E.firstChild.type==="text"&&!e(E.children[0].value)&&!E.firstChild.hasLeadingSpaces&&!E.firstChild.hasTrailingSpaces&&E.isLeadingSpaceSensitive&&!E.hasLeadingSpaces&&E.isTrailingSpaceSensitive&&!E.hasTrailingSpaces&&E.prev&&E.prev.type==="text"&&E.next&&E.next.type==="text";i.walk(E=>{if(E.children)for(let b=0;b<E.children.length;b++){let S=E.children[b];if(!h(S))continue;let B=S.prev,I=S.next;B.value+=`<${S.rawName}>`+S.firstChild.value+`</${S.rawName}>`+I.value,B.sourceSpan=new t(B.sourceSpan.start,I.sourceSpan.end),B.isTrailingSpaceSensitive=I.isTrailingSpaceSensitive,B.hasTrailingSpaces=I.hasTrailingSpaces,E.removeChild(S),b--,E.removeChild(I)}})}function P(i,h){if(h.parser==="html")return;let E=/{{(.+?)}}/s;i.walk(b=>{if(r(b))for(let S of b.children){if(S.type!=="text")continue;let B=S.sourceSpan.start,I=null,q=S.value.split(E);for(let G=0;G<q.length;G++,B=I){let M=q[G];if(G%2===0){I=B.moveBy(M.length),M.length>0&&b.insertChildBefore(S,{type:"text",value:M,sourceSpan:new t(B,I)});continue}I=B.moveBy(M.length+4),b.insertChildBefore(S,{type:"interpolation",sourceSpan:new t(B,I),children:M.length===0?[]:[{type:"text",value:M,sourceSpan:new t(B.moveBy(2),I.moveBy(-2))}]})}b.removeChild(S)}})}function _(i){i.walk(h=>{if(!h.children)return;if(h.children.length===0||h.children.length===1&&h.children[0].type==="text"&&a(h.children[0].value).length===0){h.hasDanglingSpaces=h.children.length>0,h.children=[];return}let E=g(h),b=c(h);if(!E)for(let S=0;S<h.children.length;S++){let B=h.children[S];if(B.type!=="text")continue;let{leadingWhitespace:I,text:q,trailingWhitespace:G}=s(B.value),M=B.prev,te=B.next;q?(B.value=q,B.sourceSpan=new t(B.sourceSpan.start.moveBy(I.length),B.sourceSpan.end.moveBy(-G.length)),I&&(M&&(M.hasTrailingSpaces=!0),B.hasLeadingSpaces=!0),G&&(B.hasTrailingSpaces=!0,te&&(te.hasLeadingSpaces=!0))):(h.removeChild(B),S--,(I||G)&&(M&&(M.hasTrailingSpaces=!0),te&&(te.hasLeadingSpaces=!0)))}h.isWhitespaceSensitive=E,h.isIndentationSensitive=b})}function J(i){i.walk(h=>{h.isSelfClosing=!h.children||h.type==="element"&&(h.tagDefinition.isVoid||h.startSourceSpan===h.endSourceSpan)})}function d(i,h){i.walk(E=>{E.type==="element"&&(E.hasHtmComponentClosingTag=E.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(h.originalText.slice(E.endSourceSpan.start.offset,E.endSourceSpan.end.offset)))})}function T(i,h){i.walk(E=>{E.cssDisplay=n(E,h)})}function f(i,h){i.walk(E=>{let{children:b}=E;if(b){if(b.length===0){E.isDanglingSpaceSensitive=o(E);return}for(let S of b)S.isLeadingSpaceSensitive=y(S,h),S.isTrailingSpaceSensitive=m(S,h);for(let S=0;S<b.length;S++){let B=b[S];B.isLeadingSpaceSensitive=(S===0||B.prev.isTrailingSpaceSensitive)&&B.isLeadingSpaceSensitive,B.isTrailingSpaceSensitive=(S===b.length-1||B.next.isLeadingSpaceSensitive)&&B.isTrailingSpaceSensitive}}})}function F(i,h){if(h.parser==="vue"){let E=i.children.find(S=>p(S,h));if(!E)return;let{lang:b}=E.attrMap;(b==="ts"||b==="typescript")
`+s.replace(/^\s*\n/,"")}l.exports={hasPragma:t,insertPragma:a}}}),ds=$({"src/language-html/loc.js"(u,l){ue();function t(s){return s.sourceSpan.start.offset}function a(s){return s.sourceSpan.end.offset}l.exports={locStart:t,locEnd:a}}}),hu=$({"src/language-html/print/tag.js"(u,l){ue();var t=lr(),{isNonEmptyArray:a}=Gt(),{builders:{indent:s,join:e,line:r,softline:n,hardline:o},utils:{replaceTextEndOfLine:c}}=wt(),{locStart:y,locEnd:m}=ds(),{isTextLikeNode:g,getLastDescendant:p,isPreLikeNode:D,hasPrettierIgnore:C,shouldPreserveContent:w,isVueSfcBlock:k}=$n();function A(j,De){return[j.isSelfClosing?"":N(j,De),x(j,De)]}function N(j,De){return j.lastChild&&i(j.lastChild)?"":[P(j,De),J(j,De)]}function x(j,De){return(j.next?f(j.next):F(j.parent))?"":[d(j,De),_(j,De)]}function P(j,De){return F(j)?d(j.lastChild,De):""}function _(j,De){return i(j)?J(j.parent,De):h(j)?M(j.next):""}function J(j,De){if(t(!j.isSelfClosing),T(j,De))return"";switch(j.type){case"ieConditionalComment":return"<!";case"element":if(j.hasHtmComponentClosingTag)return"<//";default:return`</${j.rawName}`}}function d(j,De){if(T(j,De))return"";switch(j.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(j.isSelfClosing)return"/>";default:return">"}}function T(j,De){return!j.isSelfClosing&&!j.endSourceSpan&&(C(j)||w(j.parent,De))}function f(j){return j.prev&&j.prev.type!=="docType"&&!g(j.prev)&&j.isLeadingSpaceSensitive&&!j.hasLeadingSpaces}function F(j){return j.lastChild&&j.lastChild.isTrailingSpaceSensitive&&!j.lastChild.hasTrailingSpaces&&!g(p(j.lastChild))&&!D(j)}function i(j){return!j.next&&!j.hasTrailingSpaces&&j.isTrailingSpaceSensitive&&g(p(j))}function h(j){return j.next&&!g(j.next)&&g(j)&&j.isTrailingSpaceSensitive&&!j.hasTrailingSpaces}function E(j){let De=j.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return De?De[1]?De[1].split(/\s+/):!0:!1}function b(j){return!j.prev&&j.isLeadingSpaceSensitive&&!j.hasLeadingSpaces}function S(j,De,U){let R=j.getValue();if(!a(R.attrs))return R.isSelfClosing?" ":"";let pe=R.prev&&R.prev.type==="comment"&&E(R.prev.value),be=typeof pe=="boolean"?()=>pe:Array.isArray(pe)?we=>pe.includes(we.rawName):()=>!1,fe=j.map(we=>{let _e=we.getValue();return be(_e)?c(De.originalText.slice(y(_e),m(_e))):U()},"attrs"),Ie=R.type==="element"&&R.fullName==="script"&&R.attrs.length===1&&R.attrs[0].fullName==="src"&&R.children.length===0,X=De.singleAttributePerLine&&R.attrs.length>1&&!k(R,De)?o:r,se=[s([Ie?" ":r,e(X,fe)])];return R.firstChild&&b(R.firstChild)||R.isSelfClosing&&F(R.parent)||Ie?se.push(R.isSelfClosing?" ":""):se.push(De.bracketSameLine?R.isSelfClosing?" ":"":R.isSelfClosing?r:n),se}function B(j){return j.firstChild&&b(j.firstChild)?"":te(j)}function I(j,De,U){let R=j.getValue();return[q(R,De),S(j,De,U),R.isSelfClosing?"":B(R)]}function q(j,De){return j.prev&&h(j.prev)?"":[G(j,De),M(j)]}function G(j,De){return b(j)?te(j.parent):f(j)?d(j.prev,De):""}function M(j){switch(j.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${j.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(j.condition)return`<!--[if ${j.condition}]><!--><${j.rawName}`;default:return`<${j.rawName}`}}function te(j){switch(t(!j.isSelfClosing),j.type){case"ieConditionalComment":return"]>";case"element":if(j.condition)return"><!--<![endif]-->";default:return">"}}l.exports={printClosingTag:A,printClosingTagStart:N,printClosingTagStartMarker:J,printClosingTagEndMarker:d,printClosingTagSuffix:_,printClosingTagEnd:x,needsToBorrowLastChildClosingTagEndMarker:F,needsToBorrowParentClosingTagStartMarker:i,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTag:I,printOpeningTagStart:q,printOpeningTagPrefix:G,printOpeningTagStartMarker:M,printOpeningTagEndMarker:te,needsToBorrowNextOpeningTagStartMarker:h,needsToBorrowParentOpeningTagEndMarker:b}}}),jo=$({"node_modules/parse-srcset/src/parse-srcset.js"(u,l){ue(),function(t,
`||J==="\f"||J==="\r"}function r(J){var d,T=J.exec(t.substring(N));if(T)return d=T[0],N+=d.length,d}for(var n=t.length,o=/^[ \t\n\r\u000c]+/,c=/^[, \t\n\r\u000c]+/,y=/^[^ \t\n\r\u000c]+/,m=/[,]+$/,g=/^\d+$/,p=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,D,C,w,k,A,N=0,x=[];;){if(r(c),N>=n)return x;D=r(y),C=[],D.slice(-1)===","?(D=D.replace(m,""),_()):P()}function P(){for(r(o),w="",k="in descriptor";;){if(A=t.charAt(N),k==="in descriptor")if(e(A))w&&(C.push(w),w="",k="after descriptor");else if(A===","){N+=1,w&&C.push(w),_();return}else if(A==="(")w=w+A,k="in parens";else if(A===""){w&&C.push(w),_();return}else w=w+A;else if(k==="in parens")if(A===")")w=w+A,k="in descriptor";else if(A===""){C.push(w),_();return}else w=w+A;else if(k==="after descriptor"&&!e(A))if(A===""){_();return}else k="in descriptor",N-=1;N+=1}}function _(){var J=!1,d,T,f,F,i={},h,E,b,S,B;for(F=0;F<C.length;F++)h=C[F],E=h[h.length-1],b=h.substring(0,h.length-1),S=parseInt(b,10),B=parseFloat(b),g.test(b)&&E==="w"?((d||T)&&(J=!0),S===0?J=!0:d=S):p.test(b)&&E==="x"?((d||T||f)&&(J=!0),B<0?J=!0:T=B):g.test(b)&&E==="h"?((f||T)&&(J=!0),S===0?J=!0:f=S):J=!0;J?s&&s.error&&s.error("Invalid srcset descriptor found in '"+t+"' at '"+h+"'."):(i.url=D,d&&(i.w=d),T&&(i.d=T),f&&(i.h=f),x.push(i))}}})}}),Lo=$({"src/language-html/syntax-attribute.js"(u,l){ue();var t=jo(),{builders:{ifBreak:a,join:s,line:e}}=wt();function r(o){let c=t(o,{logger:{error(P){throw new Error(P)}}}),y=c.some(P=>{let{w:_}=P;return _}),m=c.some(P=>{let{h:_}=P;return _}),g=c.some(P=>{let{d:_}=P;return _});if(y+m+g>1)throw new Error("Mixed descriptor in srcset is not supported");let p=y?"w":m?"h":"d",D=y?"w":m?"h":"x",C=P=>Math.max(...P),w=c.map(P=>P.url),k=C(w.map(P=>P.length)),A=c.map(P=>P[p]).map(P=>P?P.toString():""),N=A.map(P=>{let _=P.indexOf(".");return _===-1?P.length:_}),x=C(N);return s([",",e],w.map((P,_)=>{let J=[P],d=A[_];if(d){let T=k-P.length+1,f=x-N[_],F=" ".repeat(T+f);J.push(a(F," "),d+D)}return J}))}function n(o){return o.trim().split(/\s+/).join(" ")}l.exports={printImgSrcset:r,printClassNames:n}}}),Oo=$({"src/language-html/syntax-vue.js"(u,l){ue();var{builders:{group:t}}=wt();function a(n,o){let{left:c,operator:y,right:m}=s(n);return[t(o(`function _(${c}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",y," ",o(m,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function s(n){let o=/(.*?)\s+(in|of)\s+(.*)/s,c=/,([^,\]}]*)(?:,([^,\]}]*))?$/,y=/^\(|\)$/g,m=n.match(o);if(!m)return;let g={};if(g.for=m[3].trim(),!g.for)return;let p=m[1].trim().replace(y,""),D=p.match(c);D?(g.alias=p.replace(c,""),g.iterator1=D[1].trim(),D[2]&&(g.iterator2=D[2].trim())):g.alias=p;let C=[g.alias,g.iterator1,g.iterator2];if(!C.some((w,k)=>!w&&(k===0||C.slice(k+1).some(Boolean))))return{left:C.filter(Boolean).join(","),operator:m[2],right:g.for}}function e(n,o){return o(`function _(${n}) {}`,{parser:"babel",__isVueBindings:!0})}function r(n){let o=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,c=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,y=n.trim();return o.test(y)||c.test(y)}l.exports={isVueEventBindingExpression:r,printVueFor:a,printVueBindings:e}}}),Hs=$({"src/language-html/get-node-content.js"(u,l){ue();var{needsToBorrowParentClosingTagStartMarker:t,printClosingTagStartMarker:a,needsToBorrowLastChildClosingTagEndMarker:s,printClosingTagEndMarker:e,needsToBorrowParentOpeningTagEndMarker:r,printOpeningTagEndMarker:n}=hu();function o(c,y){let m=c.startSourceSpan.end.offset;c.firstChild&&r(c.firstChild)&&(m-=n(c).length);let g=c.endSourceSpan.start.offset;return c.lastChild&&t(c.lastChild)?g+=a(c,y).length:s(c)&&(g-=e(c.lastChild,y).length),y.originalText.slice(m,g)}l.exports=o}}),$o=$({"src/language-html/embed.js"(u,l){ue();var{builders:{breakParent:t,group:a,hardline:s,indent:e,line:r,fill:n,softline:o},utils:{mapDoc:c,replaceTextEndOfLine:y}}=wt(),m=cs(),{printClosingTag:g,printClosingTagSuffix:p,needsToBorrowPrevClosingTagEndMarker:D,printOpeningTagPrefix:C,printOpeningTag:w}=hu(),{printImgSrcset:k,printClassNames:A}=Lo(),{printVueFor:N,p
${e}`}l.exports={isPragma:t,hasPragma:a,insertPragma:s}}}),Xo=$({"src/language-yaml/loc.js"(u,l){ue();function t(s){return s.position.start.offset}function a(s){return s.position.end.offset}l.exports={locStart:t,locEnd:a}}}),Wo=$({"src/language-yaml/embed.js"(u,l){ue();function t(a,s,e,r){if(a.getValue().type==="root"&&r.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(r.filepath))return e(r.originalText,Object.assign(Object.assign({},r),{},{parser:"json"}))}l.exports=t}}),Rn=$({"src/language-yaml/utils.js"(u,l){ue();var{getLast:t,isNonEmptyArray:a}=Gt();function s(d,T){let f=0,F=d.stack.length-1;for(let i=0;i<F;i++){let h=d.stack[i];e(h)&&T(h)&&f++}return f}function e(d,T){return d&&typeof d.type=="string"&&(!T||T.includes(d.type))}function r(d,T,f){return T("children"in d?Object.assign(Object.assign({},d),{},{children:d.children.map(F=>r(F,T,d))}):d,f)}function n(d,T,f){Object.defineProperty(d,T,{get:f,enumerable:!1})}function o(d,T){let f=0,F=T.length;for(let i=d.position.end.offset-1;i<F;i++){let h=T[i];if(h===`
`&&f++,f===1&&/\S/.test(h))return!1;if(f===2)return!0}return!1}function c(d){switch(d.getValue().type){case"tag":case"anchor":case"comment":return!1}let T=d.stack.length;for(let f=1;f<T;f++){let F=d.stack[f],i=d.stack[f-1];if(Array.isArray(i)&&typeof F=="number"&&F!==i.length-1)return!1}return!0}function y(d){return a(d.children)?y(t(d.children)):d}function m(d){return d.value.trim()==="prettier-ignore"}function g(d){let T=d.getValue();if(T.type==="documentBody"){let f=d.getParentNode();return N(f.head)&&m(t(f.head.endComments))}return C(T)&&m(t(T.leadingComments))}function p(d){return!a(d.children)&&!D(d)}function D(d){return C(d)||w(d)||k(d)||A(d)||N(d)}function C(d){return a(d==null?void 0:d.leadingComments)}function w(d){return a(d==null?void 0:d.middleComments)}function k(d){return d==null?void 0:d.indicatorComment}function A(d){return d==null?void 0:d.trailingComment}function N(d){return a(d==null?void 0:d.endComments)}function x(d){let T=[],f;for(let F of d.split(/( +)/))F!==" "?f===" "?T.push(F):T.push((T.pop()||"")+F):f===void 0&&T.unshift(""),f=F;return f===" "&&T.push((T.pop()||"")+" "),T[0]===""&&(T.shift(),T.unshift(" "+(T.shift()||""))),T}function P(d,T,f){let F=T.split(`
`).map((i,h,E)=>h===0&&h===E.length-1?i:h!==0&&h!==E.length-1?i.trim():h===0?i.trimEnd():i.trimStart());return f.proseWrap==="preserve"?F.map(i=>i.length===0?[]:[i]):F.map(i=>i.length===0?[]:x(i)).reduce((i,h,E)=>E!==0&&F[E-1].length>0&&h.length>0&&!(d==="quoteDouble"&&t(t(i)).endsWith("\\"))?[...i.slice(0,-1),[...t(i),...h]]:[...i,h],[]).map(i=>f.proseWrap==="never"?[i.join(" ")]:i)}function _(d,T){let{parentIndent:f,isLastDescendant:F,options:i}=T,h=d.position.start.line===d.position.end.line?"":i.originalText.slice(d.position.start.offset,d.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],E;if(d.indent===null){let B=h.match(/^(?<leadingSpace> *)[^\n\r ]/m);E=B?B.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else E=d.indent-1+f;let b=h.split(`
`).map(B=>B.slice(E));if(i.proseWrap==="preserve"||d.type==="blockLiteral")return S(b.map(B=>B.length===0?[]:[B]));return S(b.map(B=>B.length===0?[]:x(B)).reduce((B,I,q)=>q!==0&&b[q-1].length>0&&I.length>0&&!/^\s/.test(I[0])&&!/^\s|\s$/.test(t(B))?[...B.slice(0,-1),[...t(B),...I]]:[...B,I],[]).map(B=>B.reduce((I,q)=>I.length>0&&/\s$/.test(t(I))?[...I.slice(0,-1),t(I)+" "+q]:[...I,q],[])).map(B=>i.proseWrap==="never"?[B.join(" ")]:B));function S(B){if(d.chomping==="keep")return t(B).length===0?B.slice(0,-1):B;let I=0;for(let q=B.length-1;q>=0&&B[q].length===0;q--)I++;return I===0?B:I>=2&&!F?B.slice(0,-(I-1)):B.slice(0,-I)}}function J(d){if(!d)return!0;switch(d.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}l.exports={getLast:t,getAncestorCount:s,isNode:e,isEmptyNode:p,isInlineNode:J,mapNode:r,defineShortcut:n,isNextLineEmpty:o,isLastDescendantNode:c,getBlockValueLineContents:_,getFlowScalarLineContents:P,getLastDescendantNode:y,hasPrettierIgnore:g,hasLeadingComments:C,hasMiddleComments:w,hasIndicatorComment:k,hasTrailingComment:A,hasEndComments:N}}}),zo=$({"src/language-yaml/print-preprocess.js"(u,l){ue();var{defineShortcut:t,mapNode:a}=Rn();function s(r){return a(r,e)}function e(r){switch(r.type){case"document":t(r,"head",()=>r.children[0]),t(r,"body",()=>r.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":t(r,"content",()=>r.children[0]);break;case"mappingItem":case"flowMappingItem":t(r,"key",()=>r.children[0]),t(r,"value",()=>r.children[1]);break}return r}l.exports=s}}),ni=$({"src/language-yaml/print/misc.js"(u,l){ue();var{builders:{softline:t,align:a}}=wt(),{hasEndComments:s,isNextLineEmpty:e,isNode:r}=Rn(),n=new WeakMap;function o(m,g){let p=m.getValue(),D=m.stack[0],C;return n.has(D)?C=n.get(D):(C=new Set,n.set(D,C)),!C.has(p.position.end.line)&&(C.add(p.position.end.line),e(p,g)&&!c(m.getParentNode()))?t:""}function c(m){return s(m)&&!r(m,["documentHead","documentBody","flowMapping","flowSequence"])}function y(m,g){return a(" ".repeat(m),g)}l.exports={alignWithSpaces:y,shouldPrintEndComments:c,printNextEmptyLine:o}}}),Ho=$({"src/language-yaml/print/flow-mapping-sequence.js"(u,l){ue();var{builders:{ifBreak:t,line:a,softline:s,hardline:e,join:r}}=wt(),{isEmptyNode:n,getLast:o,hasEndComments:c}=Rn(),{printNextEmptyLine:y,alignWithSpaces:m}=ni();function g(D,C,w){let k=D.getValue(),A=k.type==="flowMapping",N=A?"{":"[",x=A?"}":"]",P=s;A&&k.children.length>0&&w.bracketSpacing&&(P=a);let _=o(k.children),J=_&&_.type==="flowMappingItem"&&n(_.key)&&n(_.value);return[N,m(w.tabWidth,[P,p(D,C,w),w.trailingComma==="none"?"":t(","),c(k)?[e,r(e,D.map(C,"endComments"))]:""]),J?"":P,x]}function p(D,C,w){let k=D.getValue();return D.map((A,N)=>[C(),N===k.children.length-1?"":[",",a,k.children[N].position.start.line!==k.children[N+1].position.start.line?y(A,w.originalText):""]],"children")}l.exports={printFlowMapping:g,printFlowSequence:g}}}),Yo=$({"src/language-yaml/print/mapping-item.js"(u,l){ue();var{builders:{conditionalGroup:t,group:a,hardline:s,ifBreak:e,join:r,line:n}}=wt(),{hasLeadingComments:o,hasMiddleComments:c,hasTrailingComment:y,hasEndComments:m,isNode:g,isEmptyNode:p,isInlineNode:D}=Rn(),{alignWithSpaces:C}=ni();function w(x,P,_,J,d){let{key:T,value:f}=x,F=p(T),i=p(f);if(F&&i)return": ";let h=J("key"),E=A(x)?" ":"";if(i)return x.type==="flowMappingItem"&&P.type==="flowMapping"?h:x.type==="mappingItem"&&k(T.content,d)&&!y(T.content)&&(!P.tag||P.tag.value!=="tag:yaml.org,2002:set")?[h,E,":"]:["? ",C(2,h)];let b=J("value");if(F)return[": ",C(2,b)];if(o(f)||!D(T.content))return["? ",C(2,h),s,r("",_.map(J,"value","leadingComments").map(M=>[M,s])),": ",C(2,b)];if(N(T.content)&&!o(T.content)&&!c(T.content)&&!y(T.content)&&!m(T)&&!o(f.content)&&!c(f.content)&&!m(f)&&k(f.content,d))return[h,E,": ",b];let S=Symbol("mappingKey"),B=a([e("? "),a(C(2,h),{id:S})]),I=[s,": ",C(2,b)],q=[E,":"];o(f.content)||m(f)&&f.content&&!g(f.content,["mapping","sequence"])||P.type==="mapping"&&y(T.conte
`);case"always":return!/[\n ]/.test(x.value);default:return!1}}function A(x){return x.key.content&&x.key.content.type==="alias"}function N(x){if(!x)return!0;switch(x.type){case"plain":case"quoteDouble":case"quoteSingle":return x.position.start.line===x.position.end.line;case"alias":return!0;default:return!1}}l.exports=w}}),Ko=$({"src/language-yaml/print/block.js"(u,l){ue();var{builders:{dedent:t,dedentToRoot:a,fill:s,hardline:e,join:r,line:n,literalline:o,markAsRoot:c},utils:{getDocParts:y}}=wt(),{getAncestorCount:m,getBlockValueLineContents:g,hasIndicatorComment:p,isLastDescendantNode:D,isNode:C}=Rn(),{alignWithSpaces:w}=ni();function k(A,N,x){let P=A.getValue(),_=m(A,F=>C(F,["sequence","mapping"])),J=D(A),d=[P.type==="blockFolded"?">":"|"];P.indent!==null&&d.push(P.indent.toString()),P.chomping!=="clip"&&d.push(P.chomping==="keep"?"+":"-"),p(P)&&d.push(" ",N("indicatorComment"));let T=g(P,{parentIndent:_,isLastDescendant:J,options:x}),f=[];for(let[F,i]of T.entries())F===0&&f.push(e),f.push(s(y(r(n,i)))),F!==T.length-1?f.push(i.length===0?e:c(o)):P.chomping==="keep"&&J&&f.push(a(i.length===0?e:o));return P.indent===null?d.push(t(w(x.tabWidth,f))):d.push(a(w(P.indent-1+_,f))),d}l.exports=k}}),Qo=$({"src/language-yaml/printer-yaml.js"(u,l){ue();var{builders:{breakParent:t,fill:a,group:s,hardline:e,join:r,line:n,lineSuffix:o,literalline:c},utils:{getDocParts:y,replaceTextEndOfLine:m}}=wt(),{isPreviousLineEmpty:g}=Gt(),{insertPragma:p,isPragma:D}=Jo(),{locStart:C}=Xo(),w=Wo(),{getFlowScalarLineContents:k,getLastDescendantNode:A,hasLeadingComments:N,hasMiddleComments:x,hasTrailingComment:P,hasEndComments:_,hasPrettierIgnore:J,isLastDescendantNode:d,isNode:T,isInlineNode:f}=Rn(),F=zo(),{alignWithSpaces:i,printNextEmptyLine:h,shouldPrintEndComments:E}=ni(),{printFlowMapping:b,printFlowSequence:S}=Ho(),B=Yo(),I=Ko();function q(R,pe,be){let fe=R.getValue(),Ie=[];fe.type!=="mappingValue"&&N(fe)&&Ie.push([r(e,R.map(be,"leadingComments")),e]);let{tag:X,anchor:se}=fe;X&&Ie.push(be("tag")),X&&se&&Ie.push(" "),se&&Ie.push(be("anchor"));let we="";T(fe,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!d(R)&&(we=h(R,pe.originalText)),(X||se)&&(T(fe,["sequence","mapping"])&&!x(fe)?Ie.push(e):Ie.push(" ")),x(fe)&&Ie.push([fe.middleComments.length===1?"":e,r(e,R.map(be,"middleComments")),e]);let _e=R.getParentNode();return J(R)?Ie.push(m(pe.originalText.slice(fe.position.start.offset,fe.position.end.offset).trimEnd(),c)):Ie.push(s(G(fe,_e,R,pe,be))),P(fe)&&!T(fe,["document","documentHead"])&&Ie.push(o([fe.type==="mappingValue"&&!fe.content?"":" ",_e.type==="mappingKey"&&R.getParentNode(2).type==="mapping"&&f(fe)?"":t,be("trailingComment")])),E(fe)&&Ie.push(i(fe.type==="sequenceItem"?2:0,[e,r(e,R.map(it=>[g(pe.originalText,it.getValue(),C)?e:"",be()],"endComments"))])),Ie.push(we),Ie}function G(R,pe,be,fe,Ie){switch(R.type){case"root":{let{children:X}=R,se=[];be.each((_e,it)=>{let ae=X[it],Q=X[it+1];it!==0&&se.push(e),se.push(Ie()),te(ae,Q)?(se.push(e,"..."),P(ae)&&se.push(" ",Ie("trailingComment"))):Q&&!P(Q.head)&&se.push(e,"---")},"children");let we=A(R);return(!T(we,["blockLiteral","blockFolded"])||we.chomping!=="keep")&&se.push(e),se}case"document":{let X=pe.children[be.getName()+1],se=[];return j(R,X,pe,fe)==="head"&&((R.head.children.length>0||R.head.endComments.length>0)&&se.push(Ie("head")),P(R.head)?se.push(["---"," ",Ie(["head","trailingComment"])]):se.push("---")),M(R)&&se.push(Ie("body")),r(e,se)}case"documentHead":return r(e,[...be.map(Ie,"children"),...be.map(Ie,"endComments")]);case"documentBody":{let{children:X,endComments:se}=R,we="";if(X.length>0&&se.length>0){let _e=A(R);T(_e,["blockFolded","blockLiteral"])?_e.chomping!=="keep"&&(we=[e,e]):we=e}return[r(e,be.map(Ie,"children")),we,r(e,be.map(Ie,"endComments"))]}case"directive":return["%",r(" ",[R.name,...R.parameters])];case"comment":return["#",R.value];case"alias":return["*",R.value];case"tag":return fe.originalText.slice(R.position.start.offset,R.position.end.offset);case"anchor":return["&",R.value];case"plain":return De(R.type,fe.originalText
[ ]{`+Math.min.apply(Math,hr)+"}","g");Yt=Yt.map(function(gr){return gr.replace(br,`
`)})}Yt[0]=Yt[0].replace(/^\r?\n/,"");var Hr=Yt[0];return Xr.forEach(function(gr,Dn){var Lr=Hr.match(/(?:^|\n)( *)$/),Dr=Lr?Lr[1]:"",Br=gr;typeof gr=="string"&&gr.includes(`
`)&&(Br=String(gr).split(`
`).map(function(Zr,nn){return nn===0?Zr:""+Dr+Zr}).join(`
`)),Hr+=Br+Yt[Dn+1]}),Hr}var vl=pl(2)((Jr,Xr)=>Jr===!1?Xr:Jr==="dedent"||Jr===!0?ml(Xr):fl.default.format(Xr,{parser:Jr,plugins:[dl.default],htmlWhitespaceSensitivity:"ignore"}).trim());export{vl as formatter};