You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
157 KiB
JavaScript

var y=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var ue=y((Gl,Wr)=>{var qe=function(e){return e&&e.Math==Math&&e};Wr.exports=qe(typeof globalThis=="object"&&globalThis)||qe(typeof window=="object"&&window)||qe(typeof self=="object"&&self)||qe(typeof global=="object"&&global)||function(){return this}()||Function("return this")()});var ae=y((Vl,Yr)=>{Yr.exports=function(e){try{return!!e()}catch{return!0}}});var De=y((Xl,Qr)=>{var vs=ae();Qr.exports=!vs(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})});var Ie=y((Hl,Kr)=>{var _s=ae();Kr.exports=!_s(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var ce=y((zl,Jr)=>{var Ss=Ie(),Re=Function.prototype.call;Jr.exports=Ss?Re.bind(Re):function(){return Re.apply(Re,arguments)}});var uu=y(ru=>{"use strict";var Zr={}.propertyIsEnumerable,eu=Object.getOwnPropertyDescriptor,ys=eu&&!Zr.call({1:2},1);ru.f=ys?function(r){var u=eu(this,r);return!!u&&u.enumerable}:Zr});var xe=y((Yl,tu)=>{tu.exports=function(e,r){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:r}}});var te=y((Ql,iu)=>{var nu=Ie(),su=Function.prototype,rr=su.call,Ts=nu&&su.bind.bind(rr,rr);iu.exports=nu?Ts:function(e){return function(){return rr.apply(e,arguments)}}});var Ae=y((Kl,ou)=>{var au=te(),Bs=au({}.toString),bs=au("".slice);ou.exports=function(e){return bs(Bs(e),8,-1)}});var lu=y((Jl,Du)=>{var ws=te(),Ns=ae(),Os=Ae(),ur=Object,qs=ws("".split);Du.exports=Ns(function(){return!ur("z").propertyIsEnumerable(0)})?function(e){return Os(e)=="String"?qs(e,""):ur(e)}:ur});var Pe=y((Zl,cu)=>{cu.exports=function(e){return e==null}});var tr=y((ec,hu)=>{var Is=Pe(),Rs=TypeError;hu.exports=function(e){if(Is(e))throw Rs("Can't call method on "+e);return e}});var ke=y((rc,pu)=>{var xs=lu(),Ps=tr();pu.exports=function(e){return xs(Ps(e))}});var sr=y((uc,fu)=>{var nr=typeof document=="object"&&document.all,ks=typeof nr>"u"&&nr!==void 0;fu.exports={all:nr,IS_HTMLDDA:ks}});var ee=y((tc,Eu)=>{var du=sr(),Ls=du.all;Eu.exports=du.IS_HTMLDDA?function(e){return typeof e=="function"||e===Ls}:function(e){return typeof e=="function"}});var he=y((nc,gu)=>{var Cu=ee(),mu=sr(),$s=mu.all;gu.exports=mu.IS_HTMLDDA?function(e){return typeof e=="object"?e!==null:Cu(e)||e===$s}:function(e){return typeof e=="object"?e!==null:Cu(e)}});var ve=y((sc,Fu)=>{var ir=ue(),Ms=ee(),js=function(e){return Ms(e)?e:void 0};Fu.exports=function(e,r){return arguments.length<2?js(ir[e]):ir[e]&&ir[e][r]}});var ar=y((ic,Au)=>{var Us=te();Au.exports=Us({}.isPrototypeOf)});var _u=y((ac,vu)=>{var Gs=ve();vu.exports=Gs("navigator","userAgent")||""});var Nu=y((oc,wu)=>{var bu=ue(),or=_u(),Su=bu.process,yu=bu.Deno,Tu=Su&&Su.versions||yu&&yu.version,Bu=Tu&&Tu.v8,ne,Le;Bu&&(ne=Bu.split("."),Le=ne[0]>0&&ne[0]<4?1:+(ne[0]+ne[1]));!Le&&or&&(ne=or.match(/Edge\/(\d+)/),(!ne||ne[1]>=74)&&(ne=or.match(/Chrome\/(\d+)/),ne&&(Le=+ne[1])));wu.exports=Le});var Dr=y((Dc,qu)=>{var Ou=Nu(),Vs=ae();qu.exports=!!Object.getOwnPropertySymbols&&!Vs(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ou&&Ou<41})});var lr=y((lc,Iu)=>{var Xs=Dr();Iu.exports=Xs&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var cr=y((cc,Ru)=>{var Hs=ve(),zs=ee(),Ws=ar(),Ys=lr(),Qs=Object;Ru.exports=Ys?function(e){return typeof e=="symbol"}:function(e){var r=Hs("Symbol");return zs(r)&&Ws(r.prototype,Qs(e))}});var $e=y((hc,xu)=>{var Ks=String;xu.exports=function(e){try{return Ks(e)}catch{return"Object"}}});var _e=y((pc,Pu)=>{var Js=ee(),Zs=$e(),ei=TypeError;Pu.exports=function(e){if(Js(e))return e;throw ei(Zs(e)+" is not a function")}});var Me=y((fc,ku)=>{var ri=_e(),ui=Pe();ku.exports=function(e,r){var u=e[r];return ui(u)?void 0:ri(u)}});var $u=y((dc,Lu)=>{var hr=ce(),pr=ee(),fr=he(),ti=TypeError;Lu.exports=function(e,r){var u,n;if(r==="string"&&pr(u=e.toString)&&!fr(n=hr(u,e))||pr(u=e.valueOf)&&!fr(n=hr(u,e))||r!=="string"&&pr(u=e.toString)&&!fr(n=hr(u,e)))return n;throw ti("Can't convert object to primitive value")}});var ju=y((Ec,Mu)=>{Mu.exports=!1});var je=y((Cc,Gu
`);return h===-1?d:d.substring(0,h)}e.stringify=b;function M(o){return typeof o=="function"&&o.hasOwnProperty("__forward_ref__")?o():o}e.resolveForwardRef=M;function R(o){return!!o&&typeof o.then=="function"}e.isPromise=R;var U=class{constructor(o){this.full=o;let d=o.split(".");this.major=d[0],this.minor=d[1],this.patch=d.slice(2).join(".")}};e.Version=U;var k=typeof window<"u"&&window,j=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,L=typeof globalThis<"u"&&globalThis,t=L||k||j;e.global=t}}),KD=I({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){"use strict";N(),Object.defineProperty(e,"__esModule",{value:!0});var r=YD(),u=QD(),n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function D(h){return h.replace(/\W/g,"_")}e.sanitizeIdentifier=D;var s=0;function a(h){if(!h||!h.reference)return null;let A=h.reference;if(A instanceof r.StaticSymbol)return A.name;if(A.__anonymousType)return A.__anonymousType;let q=u.stringify(A);return q.indexOf("(")>=0?(q=`anonymous_${s++}`,A.__anonymousType=q):q=D(q),q}e.identifierName=a;function f(h){let A=h.reference;return A instanceof r.StaticSymbol?A.filePath:`./${u.stringify(A)}`}e.identifierModuleUrl=f;function c(h,A){return`View_${a({reference:h})}_${A}`}e.viewClassName=c;function v(h){return`RenderType_${a({reference:h})}`}e.rendererTypeName=v;function i(h){return`HostView_${a({reference:h})}`}e.hostViewClassName=i;function l(h){return`${a({reference:h})}NgFactory`}e.componentFactoryName=l;var p;(function(h){h[h.Pipe=0]="Pipe",h[h.Directive=1]="Directive",h[h.NgModule=2]="NgModule",h[h.Injectable=3]="Injectable"})(p=e.CompileSummaryKind||(e.CompileSummaryKind={}));function m(h){return h.value!=null?D(h.value):a(h.identifier)}e.tokenName=m;function C(h){return h.identifier!=null?h.identifier.reference:h.value}e.tokenReference=C;var g=class{constructor(){let{moduleUrl:h,styles:A,styleUrls:q}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=h||null,this.styles=R(A),this.styleUrls=R(q)}};e.CompileStylesheetMetadata=g;var B=class{constructor(h){let{encapsulation:A,template:q,templateUrl:P,htmlAst:G,styles:X,styleUrls:Q,externalStylesheets:H,animations:W,ngContentSelectors:K,interpolation:J,isInline:S,preserveWhitespaces:E}=h;if(this.encapsulation=A,this.template=q,this.templateUrl=P,this.htmlAst=G,this.styles=R(X),this.styleUrls=R(Q),this.externalStylesheets=R(H),this.animations=W?k(W):[],this.ngContentSelectors=K||[],J&&J.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=J,this.isInline=S,this.preserveWhitespaces=E}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=B;var O=class{static create(h){let{isHost:A,type:q,isComponent:P,selector:G,exportAs:X,changeDetection:Q,inputs:H,outputs:W,host:K,providers:J,viewProviders:S,queries:E,guards:_,viewQueries:T,entryComponents:x,template:$,componentViewType:V,rendererType:z,componentFactory:Y}=h,ie={},Ee={},er={};K!=null&&Object.keys(K).forEach(Z=>{let re=K[Z],oe=Z.match(n);oe===null?er[Z]=re:oe[1]!=null?Ee[oe[1]]=re:oe[2]!=null&&(ie[oe[2]]=re)});let Fe={};H!=null&&H.forEach(Z=>{let re=u.splitAtColon(Z,[Z,Z]);Fe[re[0]]=re[1]});let Oe={};return W!=null&&W.forEach(Z=>{let re=u.splitAtColon(Z,[Z,Z]);Oe[re[0]]=re[1]}),new O({isHost:A,type:q,isComponent:!!P,selector:G,exportAs:X,changeDetection:Q,inputs:Fe,outputs:Oe,hostListeners:ie,hostProperties:Ee,hostAttributes:er,providers:J,viewProviders:S,queries:E,guards:_,viewQueries:T,entryComponents:x,template:$,componentViewType:V,rendererType:z,componentFactory:Y})}constructor(h){let{isHost:A,type:q,isComponent:P,selector:G,exportAs:X,changeDetection:Q,inputs:H,outputs:W,hostListeners:K,hostProperties:J,hostAttributes:S,providers:E,viewProviders:_,queries:T,guards:x,viewQueries:$,entryComponents:V,template:z,componentViewType:Y,rendererType:ie,componentFactory:Ee}=h;this.isHost=!!A,this.type=q,this.isComponent=P,this.selector=G,this.export
`&&++B==l)););for(g=0,B=0;g<i&&C<p.length-1&&(C++,g++,!(p[C]==`
`&&++B==l)););return{before:p.substring(m,this.offset),after:p.substring(this.offset,C+1)}}return null}};e.ParseLocation=n;var D=class{constructor(i,l){this.content=i,this.url=l}};e.ParseSourceFile=D;var s=class{constructor(i,l){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=i,this.end=l,this.details=p}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=s,e.EMPTY_PARSE_LOCATION=new n(new D("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new s(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION);var a;(function(i){i[i.WARNING=0]="WARNING",i[i.ERROR=1]="ERROR"})(a=e.ParseErrorLevel||(e.ParseErrorLevel={}));var f=class{constructor(i,l){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a.ERROR;this.span=i,this.msg=l,this.level=p}contextualMessage(){let i=this.span.start.getContext(100,3);return i?`${this.msg} ("${i.before}[${a[this.level]} ->]${i.after}")`:this.msg}toString(){let i=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${i}`}};e.ParseError=f;function c(i,l){let p=u.identifierModuleUrl(l),m=p!=null?`in ${i} ${u.identifierName(l)} in ${p}`:`in ${i} ${u.identifierName(l)}`,C=new D("",m);return new s(new n(C,-1,-1,-1),new n(C,-1,-1,-1))}e.typeSourceSpan=c;function v(i,l,p){let m=`in ${i} ${l} in ${p}`,C=new D("",m);return new s(new n(C,-1,-1,-1),new n(C,-1,-1,-1))}e.r3JitTypeSourceSpan=v}}),JD=I({"src/utils/front-matter/parse.js"(e,r){"use strict";N();var u=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function n(D){let s=D.match(u);if(!s)return{content:D};let{startDelimiter:a,language:f,value:c="",endDelimiter:v}=s.groups,i=f.trim()||"yaml";if(a==="+++"&&(i="toml"),i!=="yaml"&&a!==v)return{content:D};let[l]=s;return{frontMatter:{type:"front-matter",lang:i,value:c,startDelimiter:a,endDelimiter:v,raw:l.replace(/\n$/,"")},content:l.replace(/[^\n]/g," ")+D.slice(l.length)}}r.exports=n}}),ls=I({"src/utils/get-last.js"(e,r){"use strict";N();var u=n=>n[n.length-1];r.exports=u}}),ZD=I({"src/common/parser-create-error.js"(e,r){"use strict";N();function u(n,D){let s=new SyntaxError(n+" ("+D.start.line+":"+D.start.column+")");return s.loc=D,s}r.exports=u}}),cs={};is(cs,{default:()=>el});function el(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var rl=ge({"node_modules/escape-string-regexp/index.js"(){N()}}),hs=I({"node_modules/semver/internal/debug.js"(e,r){N();var u=typeof we=="object"&&we.env&&we.env.NODE_DEBUG&&/\bsemver\b/i.test(we.env.NODE_DEBUG)?function(){for(var n=arguments.length,D=new Array(n),s=0;s<n;s++)D[s]=arguments[s];return console.error("SEMVER",...D)}:()=>{};r.exports=u}}),ps=I({"node_modules/semver/internal/constants.js"(e,r){N();var u="2.0.0",n=256,D=Number.MAX_SAFE_INTEGER||9007199254740991,s=16;r.exports={SEMVER_SPEC_VERSION:u,MAX_LENGTH:n,MAX_SAFE_INTEGER:D,MAX_SAFE_COMPONENT_LENGTH:s}}}),ul=I({"node_modules/semver/internal/re.js"(e,r){N();var{MAX_SAFE_COMPONENT_LENGTH:u}=ps(),n=hs();e=r.exports={};var D=e.re=[],s=e.src=[],a=e.t={},f=0,c=(v,i,l)=>{let p=f++;n(v,p,i),a[v]=p,s[p]=i,D[p]=new RegExp(i,l?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})\\.(${s[a.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})\\.(${s[a.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${s[a.NUMERICIDENTIFIER]}|${s[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${s[a.NUMERICIDENTIFIERLOOSE]}|${s[a.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${s[a.PRERELEASEIDENTIFIER]}(?:\\.${s[a.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${s[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[a.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUIL
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:D},endOfLine:{since:"1.15.0",category:c,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:u`
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:v,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:a,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:v,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:a},parser:{since:"0.0.10",category:c,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:l=>typeof l=="string"||typeof l=="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:c,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:l=>typeof l=="string"||typeof l=="object",cliName:"plugin",cliCategory:n},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:c,description:u`
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:l=>typeof l=="string"||typeof l=="object",cliName:"plugin-search-dir",cliCategory:n},printWidth:{since:"0.0.0",category:c,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:v,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:u`
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:D},rangeStart:{since:"1.4.0",category:v,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:u`
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:D},requirePragma:{since:"1.7.0",category:v,type:"boolean",default:!1,description:u`
Require either '@prettier' or '@format' to be present in the file's first docblock comment
in order for it to be formatted.
`,cliCategory:a},tabWidth:{type:"int",category:c,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:c,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:c,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."}]}};r.exports={CATEGORY_CONFIG:n,CATEGORY_EDITOR:D,CATEGORY_FORMAT:s,CATEGORY_OTHER:a,CATEGORY_OUTPUT:f,CATEGORY_GLOBAL:c,CATEGORY_SPECIAL:v,options:i}}}),hl=I({"src/main/support.js"(e,r){"use strict";N();var u={compare:Hr(),lt:il(),gte:al()},n=ol(),D=Dl().version,s=cl().options;function a(){let{plugins:c=[],showUnreleased:v=!1,showDeprecated:i=!1,showInternal:l=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},p=D.split("-",1)[0],m=c.flatMap(F=>F.languages||[]).filter(g),C=n(Object.assign({},...c.map(F=>{let{options:w}=F;return w}),s),"name").filter(F=>g(F)&&B(F)).sort((F,w)=>F.name===w.name?0:F.name<w.name?-1:1).map(O).map(F=>{F=Object.assign({},F),Array.isArray(F.default)&&(F.default=F.default.length===1?F.default[0].value:F.default.filter(g).sort((b,M)=>u.compare(M.since,b.since))[0].value),Array.isArray(F.choices)&&(F.choices=F.choices.filter(b=>g(b)&&B(b)),F.name==="parser"&&f(F,m,c));let w=Object.fromEntries(c.filter(b=>b.defaultOptions&&b.defaultOptions[F.name]!==void 0).map(b=>[b.name,b.defaultOptions[F.name]]));return Object.assign(Object.assign({},F),{},{pluginDefaults:w})});return{languages:m,options:C};function g(F){return v||!("since"in F)||F.since&&u.gte(p,F.since)}function B(F){return i||!("deprecated"in F)||F.deprecated&&u.lt(p,F.deprecated)}function O(F){if(l)return F;let{cliName:w,cliCategory:b,cliDescription:M}=F;return UD(F,jD)}}function f(c,v,i){let l=new Set(c.choices.map(p=>p.value));for(let p of v)if(p.parsers){for(let m of p.parsers)if(!l.has(m)){l.add(m);let C=i.find(B=>B.parsers&&B.parsers[m]),g=p.name;C&&C.name&&(g+=` (plugin: ${C.name})`),c.choices.push({value:m,description:g})}}}r.exports={getSupportInfo:a}}}),pl=I({"src/utils/is-non-empty-array.js"(e,r){"use strict";N();function u(n){return Array.isArray(n)&&n.length>0}r.exports=u}});function fl(){let{onlyFirst:e=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=["[\\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(r,e?void 0:"g")}var dl=ge({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){N()}});function El(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(fl(),"")}var Cl=ge({"node_modules/strip-ansi/index.js"(){N(),dl()}});function ml(e){return Number.isInteger(e)?e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141):!1}var gl=ge({"node_modules/is-fullwidth-code-point/index.js"(){N()}}),Fl=I({"node_modules/emoji-regex/index.js"(e,r){"use strict";N(),r.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\uDFF
`)return D-2;if(f===`
`||f==="\r"||f==="\u2028"||f==="\u2029")return D-1}else{if(f==="\r"&&n.charAt(D+1)===`
`)return D+2;if(f===`
`||f==="\r"||f==="\u2028"||f==="\u2029")return D+1}return D}r.exports=u}}),Sl=I({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,r){"use strict";N();var u=Es(),n=ms(),D=Cs(),{skipSpaces:s}=zr();function a(f,c){let v=null,i=c;for(;i!==v;)v=i,i=s(f,i),i=u(f,i),i=D(f,i),i=n(f,i);return i}r.exports=a}}),yl=I({"src/common/util.js"(e,r){"use strict";N();var{default:u}=(rl(),os(cs)),n=ls(),{getSupportInfo:D}=hl(),s=pl(),a=_l(),{skipWhitespace:f,skipSpaces:c,skipToLineEnd:v,skipEverythingButNewLine:i}=zr(),l=Es(),p=Cs(),m=ms(),C=Sl(),g=S=>S[S.length-2];function B(S){return(E,_,T)=>{let x=T&&T.backwards;if(_===!1)return!1;let{length:$}=E,V=_;for(;V>=0&&V<$;){let z=E.charAt(V);if(S instanceof RegExp){if(!S.test(z))return V}else if(!S.includes(z))return V;x?V--:V++}return V===-1||V===$?V:!1}}function O(S,E){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},T=c(S,_.backwards?E-1:E,_),x=m(S,T,_);return T!==x}function F(S,E,_){for(let T=E;T<_;++T)if(S.charAt(T)===`
`)return!0;return!1}function w(S,E,_){let T=_(E)-1;T=c(S,T,{backwards:!0}),T=m(S,T,{backwards:!0}),T=c(S,T,{backwards:!0});let x=m(S,T,{backwards:!0});return T!==x}function b(S,E){let _=null,T=E;for(;T!==_;)_=T,T=v(S,T),T=l(S,T),T=c(S,T);return T=p(S,T),T=m(S,T),T!==!1&&O(S,T)}function M(S,E,_){return b(S,_(E))}function R(S,E,_){return C(S,_(E))}function U(S,E,_){return S.charAt(R(S,E,_))}function k(S,E){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return c(S,_.backwards?E-1:E,_)!==E}function j(S,E){let _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,T=0;for(let x=_;x<S.length;++x)S[x]===" "?T=T+E-T%E:T++;return T}function L(S,E){let _=S.lastIndexOf(`
`);return _===-1?0:j(S.slice(_+1).match(/^[\t ]*/)[0],E)}function t(S,E){let _={quote:'"',regex:/"/g,escaped:"&quot;"},T={quote:"'",regex:/'/g,escaped:"&apos;"},x=E==="'"?T:_,$=x===T?_:T,V=x;if(S.includes(x.quote)||S.includes($.quote)){let z=(S.match(x.regex)||[]).length,Y=(S.match($.regex)||[]).length;V=z>Y?$:x}return V}function o(S,E){let _=S.slice(1,-1),T=E.parser==="json"||E.parser==="json5"&&E.quoteProps==="preserve"&&!E.singleQuote?'"':E.__isInHtmlAttribute?"'":t(_,E.singleQuote?"'":'"').quote;return d(_,T,!(E.parser==="css"||E.parser==="less"||E.parser==="scss"||E.__embeddedInHtml))}function d(S,E,_){let T=E==='"'?"'":'"',x=/\\(.)|(["'])/gs,$=S.replace(x,(V,z,Y)=>z===T?z:Y===E?"\\"+Y:Y||(_&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(z)?z:"\\"+z));return E+$+E}function h(S){return S.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function A(S,E){let _=S.match(new RegExp(`(${u(E)})+`,"g"));return _===null?0:_.reduce((T,x)=>Math.max(T,x.length/E.length),0)}function q(S,E){let _=S.match(new RegExp(`(${u(E)})+`,"g"));if(_===null)return 0;let T=new Map,x=0;for(let $ of _){let V=$.length/E.length;T.set(V,!0),V>x&&(x=V)}for(let $=1;$<x;$++)if(!T.get($))return $;return x+1}function P(S,E){(S.comments||(S.comments=[])).push(E),E.printed=!1,E.nodeDescription=J(S)}function G(S,E){E.leading=!0,E.trailing=!1,P(S,E)}function X(S,E,_){E.leading=!1,E.trailing=!1,_&&(E.marker=_),P(S,E)}function Q(S,E){E.leading=!1,E.trailing=!0,P(S,E)}function H(S,E){let{languages:_}=D({plugins:E.plugins}),T=_.find(x=>{let{name:$}=x;return $.toLowerCase()===S})||_.find(x=>{let{aliases:$}=x;return Array.isArray($)&&$.includes(S)})||_.find(x=>{let{extensions:$}=x;return Array.isArray($)&&$.includes(`.${S}`)});return T&&T.parsers[0]}function W(S){return S&&S.type==="front-matter"}function K(S){let E=new WeakMap;return function(_){return E.has(_)||E.set(_,Symbol(S)),E.get(_)}}function J(S){let E=S.type||S.kind||"(unknown type)",_=String(S.name||S.id&&(typeof S.id=="object"?S.id.name:S.id)||S.key&&(typeof S.key=="object"?S.key.name:S.key)||S.value&&(typeof S.value=="object"?"":String(S.value))||S.operator||"");return _.length>20&&(_=_.slice(0,19)+"\u2026"),E+(_?" "+_:"")}r.exports={inferParserByLanguage:H,getStringWidth:a,getMaxContinuousCount:A,getMinNotPresentContinuousCount:q,getPenultimate:g,getLast:n,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:C,getNextNonSpaceNonCommentCharacterIndex:R,getNextNonSpaceNonCommentCharacter:U,skip:B,skipWhitespace:f,skipSpaces:c,skipToLineEnd:v,skipEverythingButNewLine:i,skipInlineComment:l,skipTrailingComment:p,skipNewline:m,isNextLineEmptyAfterIndex:b,isNextLineEmpty:M,isPreviousLineEmpty:w,hasNewline:O,hasNewlineInRange:F,hasSpaces:k,getAlignmentSize:j,getIndentSize:L,getPreferredQuote:t,printString:o,printNumber:h,makeString:d,addLeadingComment:G,addDanglingComment:X,addTrailingComment:Q,isFrontMatterNode:W,isNonEmptyArray:s,createGroupIdMapper:K}}}),Tl=I({"vendors/html-tag-names.json"(e,r){r.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","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong"
`+D.replace(/^\s*\n/,"")}r.exports={hasPragma:u,insertPragma:n}}}),Il=I({"src/language-html/ast.js"(e,r){"use strict";N();var u={attrs:!0,children:!0},n=new Set(["parent"]),D=class{constructor(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let f of new Set([...n,...Object.keys(a)]))this.setProperty(f,a[f])}setProperty(a,f){if(this[a]!==f){if(a in u&&(f=f.map(c=>this.createChild(c))),!n.has(a)){this[a]=f;return}Object.defineProperty(this,a,{value:f,enumerable:!1,configurable:!0})}}map(a){let f;for(let c in u){let v=this[c];if(v){let i=s(v,l=>l.map(a));f!==v&&(f||(f=new D({parent:this.parent})),f.setProperty(c,i))}}if(f)for(let c in this)c in u||(f[c]=this[c]);return a(f||this)}walk(a){for(let f in u){let c=this[f];if(c)for(let v=0;v<c.length;v++)c[v].walk(a)}a(this)}createChild(a){let f=a instanceof D?a.clone():new D(a);return f.setProperty("parent",this),f}insertChildBefore(a,f){this.children.splice(this.children.indexOf(a),0,this.createChild(f))}removeChild(a){this.children.splice(this.children.indexOf(a),1)}replaceChild(a,f){this.children[this.children.indexOf(a)]=this.createChild(f)}clone(){return new D(this)}get firstChild(){var a;return(a=this.children)===null||a===void 0?void 0:a[0]}get lastChild(){var a;return(a=this.children)===null||a===void 0?void 0:a[this.children.length-1]}get prev(){var a;return(a=this.parent)===null||a===void 0?void 0:a.children[this.parent.children.indexOf(this)-1]}get next(){var a;return(a=this.parent)===null||a===void 0?void 0:a.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(a=>[a.fullName,a.value]))}};function s(a,f){let c=a.map(f);return c.some((v,i)=>v!==a[i])?c:a}r.exports={Node:D}}}),Rl=I({"src/language-html/conditional-comment.js"(e,r){"use strict";N();var{ParseSourceSpan:u}=Ne(),n=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:s},{regex:/^\[if([^\]]*)]><!$/,parse:a},{regex:/^<!\s*\[endif]$/,parse:f}];function D(c,v){if(c.value)for(let{regex:i,parse:l}of n){let p=c.value.match(i);if(p)return l(c,v,p)}return null}function s(c,v,i){let[,l,p,m]=i,C=4+l.length,g=c.sourceSpan.start.moveBy(C),B=g.moveBy(m.length),[O,F]=(()=>{try{return[!0,v(m,g).children]}catch{return[!1,[{type:"text",value:m,sourceSpan:new u(g,B)}]]}})();return{type:"ieConditionalComment",complete:O,children:F,condition:p.trim().replace(/\s+/g," "),sourceSpan:c.sourceSpan,startSourceSpan:new u(c.sourceSpan.start,g),endSourceSpan:new u(B,c.sourceSpan.end)}}function a(c,v,i){let[,l]=i;return{type:"ieConditionalStartComment",condition:l.trim().replace(/\s+/g," "),sourceSpan:c.sourceSpan}}function f(c){return{type:"ieConditionalEndComment",sourceSpan:c.sourceSpan}}r.exports={parseIeConditionalComment:D}}}),xl=I({"src/language-html/loc.js"(e,r){"use strict";N();function u(D){return D.sourceSpan.start.offset}function n(D){return D.sourceSpan.end.offset}r.exports={locStart:u,locEnd:n}}}),Ze=I({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(e){"use strict";N(),Object.defineProperty(e,"__esModule",{value:!0});var r;(function(c){c[c.RAW_TEXT=0]="RAW_TEXT",c[c.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",c[c.PARSABLE_DATA=2]="PARSABLE_DATA"})(r=e.TagContentType||(e.TagContentType={}));function u(c){if(c[0]!=":")return[null,c];let v=c.indexOf(":",1);if(v==-1)throw new Error(`Unsupported format "${c}" expecting ":namespace:name"`);return[c.slice(1,v),c.slice(v+1)]}e.splitNsName=u;function n(c){return u(c)[1]==="ng-container"}e.isNgContainer=n;function D(c){return u(c)[1]==="ng-content"}e.isNgContent=D;function s(c){return u(c)[1]==="ng-template"}e.isNgTemplate=s;function a(c){return c===null?null:u(c)[0]}e.getNsPrefix=a;function f(c,v){return c?`:${c}:${v}`:v}e.mergeNsAndName=f,e.NAMED_ENTITIES={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\x
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nhArr:"\u21CE",nharr:"\u21AE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlArr:"\u21CD",nlarr:"\u219A",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nLeftarrow:"\u21CD",nleftarrow:"\u219A",nLeftrightarrow:"\u21CE",nleftrightarrow:"\u21AE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",Nopf:"\u2115",nopf:"\u{1D55F}",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangle:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangle:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",npre:"\u2AAF\u0338",nprec:"\u2280",npreceq:"\u2AAF\u0338",nrArr:"\u21CF",nrarr:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nRightarrow:"\u21CF",nrightarrow:"\u219B",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nVDash:"\u22AF",nVdash:"\u22AE",nvDash:"\u22AD",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwArr:"\u21D6",nwarr:"\u2196",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",ocir:"\u229A",Ocirc:"\xD4",ocirc:"\xF4",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u01
`)}tokenize(){for(;this._cursor.peek()!==r.$EOF;){let t=this._cursor.clone();try{if(this._attemptCharCode(r.$LT))if(this._attemptCharCode(r.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(t):this._attemptStr("--")?this._consumeComment(t):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(t):this._consumeBogusComment(t);else if(this._attemptCharCode(r.$SLASH))this._consumeTagClose(t);else{let o=this._cursor.clone();this._attemptCharCode(r.$QUESTION)?(this._cursor=o,this._consumeBogusComment(t)):this._consumeTagOpen(t)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(o){this.handleError(o)}}return this._beginToken(s.EOF),this._endToken([]),new c(U(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(b(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===r.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=o,this._currentTokenType=t}_endToken(t){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new f("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(o));if(this._currentTokenType===null)throw new f("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let d=new a(this._currentTokenType,t,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(d),this._currentTokenStart=null,this._currentTokenType=null,d}_createError(t,o){this._isInExpansionForm()&&(t+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let d=new f(t,this._currentTokenType,o);return this._currentTokenStart=null,this._currentTokenType=null,new m(d)}handleError(t){if(t instanceof L&&(t=this._createError(t.msg,this._cursor.getSpan(t.cursor))),t instanceof m)this.errors.push(t.error);else throw t}_attemptCharCode(t){return this._cursor.peek()===t?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(t){return M(this._cursor.peek(),t)?(this._cursor.advance(),!0):!1}_requireCharCode(t){let o=this._cursor.clone();if(!this._attemptCharCode(t))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(o))}_attemptStr(t){let o=t.length;if(this._cursor.charsLeft()<o)return!1;let d=this._cursor.clone();for(let h=0;h<o;h++)if(!this._attemptCharCode(t.charCodeAt(h)))return this._cursor=d,!1;return!0}_attemptStrCaseInsensitive(t){for(let o=0;o<t.length;o++)if(!this._attemptCharCodeCaseInsensitive(t.charCodeAt(o)))return!1;return!0}_requireStr(t){let o=this._cursor.clone();if(!this._attemptStr(t))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(o))}_requireStrCaseInsensitive(t){let o=this._cursor.clone();if(!this._attemptStrCaseInsensitive(t))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(o))}_attemptCharCodeUntilFn(t){for(;!t(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(t,o){let d=this._cursor.clone();if(this._attemptCharCodeUntilFn(t),this._cursor.clone().diff(d)<o)throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(d))}_attemptUntilChar(t){for(;this._cursor.peek()!==t;)this._cursor.advance()}_readChar(t){if(t&&this._cursor.peek()===r.$AMPERSAND)return this._decodeEntity();{let o=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),o}}_decodeEntity(){let t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(r.$HASH)){let o=this._attemptCharCode(r.$x)||this._attemptCharCode(r.$X),d=this._cursor.clone();if(this._attemptCharCodeUntilFn(F),this._cursor.peek()!=r.$SEMICOLON)throw this._createError(l(this._cursor.peek()),this._cursor.getSpan()
`){let p=this._getParentElement();p!=null&&p.children.length==0&&this.getTagDefinition(p.name).ignoreFirstLf&&(l=l.substring(1))}return l}_consumeText(i){let l=this._getText(i);l.length>0&&this._addToParent(new u.Text(l,i.sourceSpan))}_closeVoidElement(){let i=this._getParentElement();i&&this.getTagDefinition(i.name).isVoid&&this._elementStack.pop()}_consumeStartTag(i){let l=i.parts[0],p=i.parts[1],m=[];for(;this._peek.type===n.TokenType.ATTR_NAME;)m.push(this._consumeAttr(this._advance()));let C=this._getElementFullName(l,p,this._getParentElement()),g=!1;if(this._peek.type===n.TokenType.TAG_OPEN_END_VOID){this._advance(),g=!0;let b=this.getTagDefinition(C);this.canSelfClose||b.canSelfClose||D.getNsPrefix(C)!==null||b.isVoid||this._errors.push(s.create(C,i.sourceSpan,`Only void and foreign elements can be self closed "${i.parts[1]}"`))}else this._peek.type===n.TokenType.TAG_OPEN_END&&(this._advance(),g=!1);let B=this._peek.sourceSpan.start,O=new r.ParseSourceSpan(i.sourceSpan.start,B),F=new r.ParseSourceSpan(i.sourceSpan.start.moveBy(1),i.sourceSpan.end),w=new u.Element(C,m,[],O,O,void 0,F);this._pushElement(w),g&&(this._popElement(C),w.endSourceSpan=O)}_pushElement(i){let l=this._getParentElement();l&&this.getTagDefinition(l.name).isClosedByChild(i.name)&&this._elementStack.pop(),this._addToParent(i),this._elementStack.push(i)}_consumeEndTag(i){let l=this.allowHtmComponentClosingTags&&i.parts.length===0?null:this._getElementFullName(i.parts[0],i.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=i.sourceSpan),l&&this.getTagDefinition(l).isVoid)this._errors.push(s.create(l,i.sourceSpan,`Void elements do not have end tags "${i.parts[1]}"`));else if(!this._popElement(l)){let p=`Unexpected closing tag "${l}". 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(s.create(l,i.sourceSpan,p))}}_popElement(i){for(let l=this._elementStack.length-1;l>=0;l--){let p=this._elementStack[l];if(!i||(D.getNsPrefix(p.name)?p.name==i:p.name.toLowerCase()==i.toLowerCase()))return this._elementStack.splice(l,this._elementStack.length-l),!0;if(!this.getTagDefinition(p.name).closedByParent)return!1}return!1}_consumeAttr(i){let l=D.mergeNsAndName(i.parts[0],i.parts[1]),p=i.sourceSpan.end,m="",C,g;if(this._peek.type===n.TokenType.ATTR_QUOTE&&(g=this._advance().sourceSpan.start),this._peek.type===n.TokenType.ATTR_VALUE){let B=this._advance();m=B.parts[0],p=B.sourceSpan.end,C=B.sourceSpan}return this._peek.type===n.TokenType.ATTR_QUOTE&&(p=this._advance().sourceSpan.end,C=new r.ParseSourceSpan(g,p)),new u.Attribute(l,m,new r.ParseSourceSpan(i.sourceSpan.start,p),C,i.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let i=null;for(let l=this._elementStack.length-1;l>=0;l--){if(!D.isNgContainer(this._elementStack[l].name))return{parent:this._elementStack[l],container:i};i=this._elementStack[l]}return{parent:null,container:i}}_addToParent(i){let l=this._getParentElement();l!=null?l.children.push(i):this._rootNodes.push(i)}_insertBeforeContainer(i,l,p){if(!l)this._addToParent(p),this._elementStack.push(p);else{if(i){let m=i.children.indexOf(l);i.children[m]=p}else this._rootNodes.push(p);p.children.push(l),this._elementStack.splice(this._elementStack.indexOf(l),0,p)}}_getElementFullName(i,l,p){return i===""&&(i=this.getTagDefinition(l).implicitNamespacePrefix||"",i===""&&p!=null&&(i=D.getNsPrefix(p.name))),D.mergeNsAndName(i,l)}};function v(i,l){return i.length>0&&i[i.length-1]===l}}}),Ml=I({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){"use strict";N(),Object.defineProperty(e,"__esModule",{value:!0});var r=Fs(),u=ns(),n=ns();e.ParseTreeResult=n.ParseTreeResult,e.TreeError=n.TreeError;var D=class extends u.Parser{constructor(){super(r.getHtmlTagDefinition)}parse(s,a,f){let c=arguments.length>3&&arguments[3]!==void 0?arguments[