"use strict";varT=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);varX=T(($D,Vr)=>{varOe=function(e){returne&&e.Math==Math&&e};Vr.exports=Oe(typeofglobalThis=="object"&&globalThis)||Oe(typeofwindow=="object"&&window)||Oe(typeofself=="object"&&self)||Oe(typeofglobal=="object"&&global)||function(){returnthis}()||Function("return this")()});varae=T((UD,Xr)=>{Xr.exports=function(e){try{return!!e()}catch{return!0}}});varDe=T((GD,Hr)=>{varms=ae();Hr.exports=!ms(function(){returnObject.defineProperty({},1,{get:function(){return7}})[1]!=7})});varqe=T((VD,zr)=>{vargs=ae();zr.exports=!gs(function(){vare=function(){}.bind();returntypeofe!="function"||e.hasOwnProperty("prototype")})});varle=T((XD,Wr)=>{varFs=qe(),Ie=Function.prototype.call;Wr.exports=Fs?Ie.bind(Ie):function(){returnIe.apply(Ie,arguments)}});varJr=T(Kr=>{"use strict";varYr={}.propertyIsEnumerable,Qr=Object.getOwnPropertyDescriptor,As=Qr&&!Yr.call({1:2},1);Kr.f=As?function(r){vart=Qr(this,r);return!!t&&t.enumerable}:Yr});varRe=T((zD,Zr)=>{Zr.exports=function(e,r){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:r}}});varte=T((WD,tt)=>{varet=qe(),rt=Function.prototype,vs=rt.bind,rr=rt.call,_s=et&&vs.bind(rr,rr);tt.exports=et?function(e){returne&&_s(e)}:function(e){returne&&function(){returnrr.apply(e,arguments)}}});varxe=T((YD,nt)=>{varut=te(),Ss=ut({}.toString),ys=ut("".slice);nt.exports=function(e){returnys(Ss(e),8,-1)}});varat=T((QD,st)=>{varTs=X(),Bs=te(),bs=ae(),ws=xe(),tr=Ts.Object,Ns=Bs("".split);st.exports=bs(function(){return!tr("z").propertyIsEnumerable(0)})?function(e){returnws(e)=="String"?Ns(e,""):tr(e)}:tr});varur=T((KD,it)=>{varOs=X(),qs=Os.TypeError;it.exports=function(e){if(e==null)throwqs("Can't call method on "+e);returne}});varPe=T((JD,ot)=>{varIs=at(),Rs=ur();ot.exports=function(e){returnIs(Rs(e))}});varue=T((ZD,ct)=>{ct.exports=function(e){returntypeofe=="function"}});varhe=T((el,Dt)=>{varxs=ue();Dt.exports=function(e){returntypeofe=="object"?e!==null:xs(e)}});varve=T((rl,lt)=>{varnr=X(),Ps=ue(),ks=function(e){returnPs(e)?e:void0};lt.exports=function(e,r){returnarguments.length<2?ks(nr[e]):nr[e]&&nr[e][r]}});varsr=T((tl,ht)=>{varLs=te();ht.exports=Ls({}.isPrototypeOf)});varft=T((ul,pt)=>{varMs=ve();pt.exports=Ms("navigator","userAgent")||""});varAt=T((nl,Ft)=>{vargt=X(),ar=ft(),dt=gt.process,Et=gt.Deno,Ct=dt&&dt.versions||Et&&Et.version,mt=Ct&&Ct.v8,ne,ke;mt&&(ne=mt.split("."),ke=ne[0]>0&&ne[0]<4?1:+(ne[0]+ne[1]));!ke&&ar&&(ne=ar.match(/Edge\/(\d+)/),(!ne||ne[1]>=74)&&(ne=ar.match(/Chrome\/(\d+)/),ne&&(ke=+ne[1])));Ft.exports=ke});varir=T((sl,_t)=>{varvt=At(),js=ae();_t.exports=!!Object.getOwnPropertySymbols&&!js(function(){vare=Symbol();return!String(e)||!(Object(e)instanceofSymbol)||!Symbol.sham&&vt&&vt<41})});varor=T((al,St)=>{var$s=ir();St.exports=$s&&!Symbol.sham&&typeofSymbol.iterator=="symbol"});varcr=T((il,yt)=>{varUs=X(),Gs=ve(),Vs=ue(),Xs=sr(),Hs=or(),zs=Us.Object;yt.exports=Hs?function(e){returntypeofe=="symbol"}:function(e){varr=Gs("Symbol");returnVs(r)&&Xs(r.prototype,zs(e))}});varLe=T((ol,Tt)=>{varWs=X(),Ys=Ws.String;Tt.exports=function(e){try{returnYs(e)}catch{return"Object"}}});var_e=T((cl,Bt)=>{varQs=X(),Ks=ue(),Js=Le(),Zs=Qs.TypeError;Bt.exports=function(e){if(Ks(e))returne;throwZs(Js(e)+" is not a function")}});varMe=T((Dl,bt)=>{varea=_e();bt.exports=function(e,r){vart=e[r];returnt==null?void0:ea(t)}});varNt=T((ll,wt)=>{varra=X(),Dr=le(),lr=ue(),hr=he(),ta=ra.TypeError;wt.exports=function(e,r){vart,s;if(r==="string"&&lr(t=e.toString)&&!hr(s=Dr(t,e))||lr(t=e.valueOf)&&!hr(s=Dr(t,e))||r!=="string"&&lr(t=e.toString)&&!hr(s=Dr(t,e)))returns;throwta("Can't convert object to primitive value")}});varqt=T((hl,Ot)=>{Ot.exports=!1});varje=T((pl,Rt)=>{varIt=X(),ua=Object.defineProperty;Rt.exports=function(e,r){try{ua(It,e,{value:r,configurable:!0,writable:!0})}catch{It[e]=r}returnr}});var$e=T((fl,Pt)=>{varna=X(),sa=je(),xt="__core-js_shared__",aa=na[xt]||sa(xt,{});Pt.exports=aa});varpr=T((dl,Lt)=>{varia=qt(),kt=$e(
`);return h===-1?d:d.substring(0,h)}e.stringify=b;function j(o){return typeof o=="function"&&o.hasOwnProperty("__forward_ref__")?o():o}e.resolveForwardRef=j;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,$=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,L=typeof globalThis<"u"&&globalThis,u=L||k||$;e.global=u}}),Yc=I({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){"use strict";O(),Object.defineProperty(e,"__esModule",{value:!0});var r=zc(),t=Wc(),s=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function c(h){return h.replace(/\W/g,"_")}e.sanitizeIdentifier=c;var n=0;function a(h){if(!h||!h.reference)return null;let F=h.reference;if(F instanceof r.StaticSymbol)return F.name;if(F.__anonymousType)return F.__anonymousType;let q=t.stringify(F);return q.indexOf("(")>=0?(q="anonymous_".concat(n++),F.__anonymousType=q):q=c(q),q}e.identifierName=a;function f(h){let F=h.reference;return F instanceof r.StaticSymbol?F.filePath:"./".concat(t.stringify(F))}e.identifierModuleUrl=f;function D(h,F){return"View_".concat(a({reference:h}),"_").concat(F)}e.viewClassName=D;function v(h){return"RenderType_".concat(a({reference:h}))}e.rendererTypeName=v;function i(h){return"HostView_".concat(a({reference:h}))}e.hostViewClassName=i;function l(h){return"".concat(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 g(h){return h.value!=null?c(h.value):a(h.identifier)}e.tokenName=g;function C(h){return h.identifier!=null?h.identifier.reference:h.value}e.tokenReference=C;var m=class{constructor(){let{moduleUrl:h,styles:F,styleUrls:q}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=h||null,this.styles=R(F),this.styleUrls=R(q)}};e.CompileStylesheetMetadata=m;var B=class{constructor(h){let{encapsulation:F,template:q,templateUrl:P,htmlAst:G,styles:H,styleUrls:K,externalStylesheets:z,animations:Y,ngContentSelectors:J,interpolation:Z,isInline:_,preserveWhitespaces:E}=h;if(this.encapsulation=F,this.template=q,this.templateUrl=P,this.htmlAst=G,this.styles=R(H),this.styleUrls=R(K),this.externalStylesheets=R(z),this.animations=Y?k(Y):[],this.ngContentSelectors=J||[],Z&&Z.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Z,this.isInline=_,this.preserveWhitespaces=E}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=B;var w=class{static create(h){let{isHost:F,type:q,isComponent:P,selector:G,exportAs:H,changeDetection:K,inputs:z,outputs:Y,host:J,providers:Z,viewProviders:_,queries:E,guards:A,viewQueries:y,entryComponents:x,template:M,componentViewType:V,rendererType:W,componentFactory:Q}=h,se={},Ee={},er={};J!=null&&Object.keys(J).forEach(ee=>{let re=J[ee],ie=ee.match(s);ie===null?er[ee]=re:ie[1]!=null?Ee[ie[1]]=re:ie[2]!=null&&(se[ie[2]]=re)});let Ae={};z!=null&&z.forEach(ee=>{let re=t.splitAtColon(ee,[ee,ee]);Ae[re[0]]=re[1]});let Ne={};return Y!=null&&Y.forEach(ee=>{let re=t.splitAtColon(ee,[ee,ee]);Ne[re[0]]=re[1]}),new w({isHost:F,type:q,isComponent:!!P,selector:G,exportAs:H,changeDetection:K,inputs:Ae,outputs:Ne,hostListeners:se,hostProperties:Ee,hostAttributes:er,providers:Z,viewProviders:_,queries:E,guards:A,viewQueries:y,entryComponents:x,template:M,componentViewType:V,rendererType:W,componentFactory:Q})}constructor(h){let{isHost:F,type:q,isComponent:P,selector:G,exportAs:H,changeDetection:K,inputs:z,outputs:Y,hostListeners:J,hostProperties:Z,hostAttributes:_,providers:E,viewProviders:A,queries:y,guards:x,viewQueries:M,entryComponents:V,template:W,componentViewType:Q,rendererType:se,componentFactory:Ee}=h;this.isHost=!!
`]))),cliCategory:c},endOfLine:{since:"1.15.0",category:D,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(zn||(zn=ge([`
`])))}]},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:D,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:D,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:l=>typeof l=="string"||typeof l=="object",cliName:"plugin",cliCategory:s},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:D,description:t(Wn||(Wn=ge([`
`]))),exception:l=>typeof l=="string"||typeof l=="object",cliName:"plugin-search-dir",cliCategory:s},printWidth:{since:"0.0.0",category:D,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:t(Yn||(Yn=ge([`
`]))),cliCategory:a},tabWidth:{type:"int",category:D,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:D,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:D,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:s,CATEGORY_EDITOR:c,CATEGORY_FORMAT:n,CATEGORY_OTHER:a,CATEGORY_OUTPUT:f,CATEGORY_GLOBAL:D,CATEGORY_SPECIAL:v,options:i}}}),DD=I({"src/main/support.js"(e,r){"use strict";O();var t={compare:Ur(),lt:nD(),gte:sD()},s=aD(),c=iD().version,n=cD().options;function a(){let{plugins:D=[],showUnreleased:v=!1,showDeprecated:i=!1,showInternal:l=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},p=c.split("-",1)[0],g=D.flatMap(S=>S.languages||[]).filter(m),C=s(Object.assign({},...D.map(S=>{let{options:N}=S;return N}),n),"name").filter(S=>m(S)&&B(S)).sort((S,N)=>S.name===N.name?0:S.name<N.name?-1:1).map(w).map(S=>{S=Object.assign({},S),Array.isArray(S.default)&&(S.default=S.default.length===1?S.default[0].value:S.default.filter(m).sort((b,j)=>t.compare(j.since,b.since))[0].value),Array.isArray(S.choices)&&(S.choices=S.choices.filter(b=>m(b)&&B(b)),S.name==="parser"&&f(S,g,D));let N=Object.fromEntries(D.filter(b=>b.defaultOptions&&b.defaultOptions[S.name]!==void 0).map(b=>[b.name,b.defaultOptions[S.name]]));return Object.assign(Object.assign({},S),{},{pluginDefaults:N})});return{languages:g,options:C};function m(S){return v||!("since"in S)||S.since&&t.gte(p,S.since)}function B(S){return i||!("deprecated"in S)||S.deprecated&&t.lt(p,S.deprecated)}function w(S){if(l)return S;let{cliName:N,cliCategory:b,cliDescription:j}=S;return jc(S,Mc)}}function f(D,v,i){let l=new Set(D.choices.map(p=>p.value));for(let p of v)if(p.parsers){for(let g of p.parsers)if(!l.has(g)){l.add(g);let C=i.find(B=>B.parsers&&B.parsers[g]),m=p.name;C&&C.name&&(m+=" (plugin: ".concat(C.name,")")),D.choices.push({value:g,description:m})}}}r.exports={getSupportInfo:a}}}),lD=I({"src/utils/is-non-empty-array.js"(e,r){"use strict";O();function t(s){return Array.isArray(s)&&s.length>0}r.exports=t}});function hD(){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 pD=Fe({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){O()}});function fD(e){if(typeof e!="string")throw new TypeError("Expected a `string`, got `".concat(typeof e,"`"));return e.replace(hD(),"")}var dD=Fe({"node_modules/strip-ansi/index.js"(){O(),pD()}});function ED(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 CD=Fe({"node_modules/is-fullwidth-code-point/index.js"(){O()}}),mD=I({"node_modules/emoji-regex/index.js"(e,r){"use strict";O(),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[
`)}tokenize(){for(;this._cursor.peek()!==r.$EOF;){let u=this._cursor.clone();try{if(this._attemptCharCode(r.$LT))if(this._attemptCharCode(r.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(u):this._attemptStr("--")?this._consumeComment(u):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(u):this._consumeBogusComment(u);else if(this._attemptCharCode(r.$SLASH))this._consumeTagClose(u);else{let o=this._cursor.clone();this._attemptCharCode(r.$QUESTION)?(this._cursor=o,this._consumeBogusComment(u)):this._consumeTagOpen(u)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(o){this.handleError(o)}}return this._beginToken(n.EOF),this._endToken([]),new D(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(u){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=o,this._currentTokenType=u}_endToken(u){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,u,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(d),this._currentTokenStart=null,this._currentTokenType=null,d}_createError(u,o){this._isInExpansionForm()&&(u+=`(Doyouhaveanunescaped"{"inyourtemplate?Use"{{ '{' }}")toescapeit.)`);let d=new f(u,this._currentTokenType,o);return this._currentTokenStart=null,this._currentTokenType=null,new g(d)}handleError(u){if(u instanceof L&&(u=this._createError(u.msg,this._cursor.getSpan(u.cursor))),u instanceof g)this.errors.push(u.error);else throw u}_attemptCharCode(u){return this._cursor.peek()===u?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(u){return j(this._cursor.peek(),u)?(this._cursor.advance(),!0):!1}_requireCharCode(u){let o=this._cursor.clone();if(!this._attemptCharCode(u))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(o))}_attemptStr(u){let o=u.length;if(this._cursor.charsLeft()<o)return!1;let d=this._cursor.clone();for(let h=0;h<o;h++)if(!this._attemptCharCode(u.charCodeAt(h)))return this._cursor=d,!1;return!0}_attemptStrCaseInsensitive(u){for(let o=0;o<u.length;o++)if(!this._attemptCharCodeCaseInsensitive(u.charCodeAt(o)))return!1;return!0}_requireStr(u){let o=this._cursor.clone();if(!this._attemptStr(u))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(o))}_requireStrCaseInsensitive(u){let o=this._cursor.clone();if(!this._attemptStrCaseInsensitive(u))throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(o))}_attemptCharCodeUntilFn(u){for(;!u(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(u,o){let d=this._cursor.clone();if(this._attemptCharCodeUntilFn(u),this._cursor.clone().diff(d)<o)throw this._createError(l(this._cursor.peek()),this._cursor.getSpan(d))}_attemptUntilChar(u){for(;this._cursor.peek()!==u;)this._cursor.advance()}_readChar(u){if(u&&this._cursor.peek()===r.$AMPERSAND)return this._decodeEntity();{let o=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),o}}_decodeEntity(){let u=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(S),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 t.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],g=[];for(;this._peek.type===s.TokenType.ATTR_NAME;)g.push(this._consumeAttr(this._advance()));let C=this._getElementFullName(l,p,this._getParentElement()),m=!1;if(this._peek.type===s.TokenType.TAG_OPEN_END_VOID){this._advance(),m=!0;let b=this.getTagDefinition(C);this.canSelfClose||b.canSelfClose||c.getNsPrefix(C)!==null||b.isVoid||this._errors.push(n.create(C,i.sourceSpan,'Only void and foreign elements can be self closed "'.concat(i.parts[1],'"')))}else this._peek.type===s.TokenType.TAG_OPEN_END&&(this._advance(),m=!1);let B=this._peek.sourceSpan.start,w=new r.ParseSourceSpan(i.sourceSpan.start,B),S=new r.ParseSourceSpan(i.sourceSpan.start.moveBy(1),i.sourceSpan.end),N=new t.Element(C,g,[],w,w,void 0,S);this._pushElement(N),m&&(this._popElement(C),N.endSourceSpan=w)}_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(n.create(l,i.sourceSpan,'Void elements do not have end tags "'.concat(i.parts[1],'"')));else if(!this._popElement(l)){let p='Unexpected closing tag "'.concat(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(n.create(l,i.sourceSpan,p))}}_popElement(i){for(let l=this._elementStack.length-1;l>=0;l--){let p=this._elementStack[l];if(!i||(c.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=c.mergeNsAndName(i.parts[0],i.parts[1]),p=i.sourceSpan.end,g="",C,m;if(this._peek.type===s.TokenType.ATTR_QUOTE&&(m=this._advance().sourceSpan.start),this._peek.type===s.TokenType.ATTR_VALUE){let B=this._advance();g=B.parts[0],p=B.sourceSpan.end,C=B.sourceSpan}return this._peek.type===s.TokenType.ATTR_QUOTE&&(p=this._advance().sourceSpan.end,C=new r.ParseSourceSpan(m,p)),new t.Attribute(l,g,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(!c.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 g=i.children.indexOf(l);i.children[g]=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=c.getNsPrefix(p.name))),c.mergeNsAndName(i,l)}};function v(i,l){return i.length>0&&i[i.length-1]===l}}}),LD=I({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(e){"use strict";O(),Object.defineProperty(e,"__esModule",{value:!0});var r=Es(),t=es(),s=es();e.ParseTreeResult=s.ParseTreeResult,e.TreeError=s.TreeError;var c=class extends t.Parser{constructor(){super(r.getHtmlTagDefinition)}parse(n,a,f){let D=arguments.length>3&&argum