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

112 lines
174 KiB

3 years ago
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t={},r={};!function(e){function t(t){return e.$0<=t&&t<=e.$9}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96,e.isWhitespace=function(t){return t>=e.$TAB&&t<=e.$SPACE||t==e.$NBSP},e.isDigit=t,e.isAsciiLetter=function(t){return t>=e.$a&&t<=e.$z||t>=e.$A&&t<=e.$Z},e.isAsciiHexDigit=function(r){return r>=e.$a&&r<=e.$f||r>=e.$A&&r<=e.$F||t(r)},e.isNewLine=function(t){return t===e.$LF||t===e.$CR},e.isOctalDigit=function(t){return e.$0<=t&&t<=e.$7}}(r);var n={},i={};
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(i,"__esModule",{value:!0});class s{constructor(e,t,r){this.filePath=e,this.name=t,this.members=r}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}}i.StaticSymbol=s;i.StaticSymbolCache=class{constructor(){this.cache=new Map}get(e,t,r){const n=(r=r||[]).length?".".concat(r.join(".")):"",i='"'.concat(e,'".').concat(t).concat(n);let o=this.cache.get(i);return o||(o=new s(e,t,r),this.cache.set(i,o)),o}};var o={};
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/Object.defineProperty(o,"__esModule",{value:!0});const a=/-+([a-z0-9])/g;function u(e,t,r){const n=e.indexOf(t);return-1==n?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function c(e,t,r){return Array.isArray(e)?t.visitArray(e,r):"object"==typeof(n=e)&&null!==n&&Object.getPrototypeOf(n)===h?t.visitStringMap(e,r):null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e?t.visitPrimitive(e,r):t.visitOther(e,r);var n}o.dashCaseToCamelCase=function(e){return e.replace(a,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t[1].toUpperCase()}))},o.splitAtColon=function(e,t){return u(e,":",t)},o.splitAtPeriod=function(e,t){return u(e,".",t)},o.visitValue=c,o.isDefined=function(e){return null!=e},o.noUndefined=function(e){return void 0===e?null:e};o.ValueTransformer=class{visitArray(e,t){return e.map((e=>c(e,this,t)))}visitStringMap(e,t){const r={};return Object.keys(e).forEach((n=>{r[n]=c(e[n],this,t)})),r}visitPrimitive(e,t){return e}visitOther(e,t){return e}},o.SyncAsync={assertSync:e=>{if(D(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>D(e)?e.then(t):t(e),all:e=>e.some(D)?Promise.all(e):e},o.error=function(e){throw new Error("Internal Error: ".concat(e))},o.syntaxError=function(e,t){const r=Error(e);return r[l]=!0,t&&(r[p]=t),r};const l="ngSyntaxError",p="ngParseErrors";o.isSyntaxError=function(e){return e[l]},o.getParseErrors=function(e){return e[p]||[]},o.escapeRegExp=function(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")};const h=Object.getPrototypeOf({});function D(e){return!!e&&"function"==typeof e.then}o.utf8Encode=function(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>=55296&&n<=56319&&e.length>r+1){const t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(r++,n=(n-55296<<10)+t-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,63&n|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,63&n|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,63&n|128))}return t},o.stringify=function e(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(e).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return"".concat(t.overriddenName);if(t.name)return"".concat(t.name);if(!t.toString)return"object";const r=t.toString();if(null==r)return""+r;const n=r.indexOf("\n");return-1===n?r:r.substring(0,n)},o.resolveForwardRef=function(e){return"function"==typeof e&&e.hasOwnProperty("__forward_ref__")?e():e},o.isPromise=D;o.Version=class{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}};const d="undefined"!=typeof window&&window,f="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,g=void 0!==e&&e||d||f;o.global=g,function(e){
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(e,"__esModule",{value:!0});const t=i,r=o,n=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function s(e){return e.replace(/\W/g,"_")}e.sanitizeIdentifier=s;let a=0;function u(e){if(!e||!e.reference)return null;const n=e.reference;if(n instanceof t.StaticSymbol)return n.name;if(n.__anonymousType)return n.__anonymousType;let i=r.stringify(n);return i.indexOf("(")>=0?(i="anonymous_".concat(a++),n.__anonymousType=i):i=s(i),i}var c;e.identifierName=u,e.identifierModuleUrl=function(e){const n=e.reference;return n instanceof t.StaticSymbol?n.filePath:"./".concat(r.stringify(n))},e.viewClassName=function(e,t){return"View_".concat(u({reference:e}),"_").concat(t)},e.rendererTypeName=function(e){return"RenderType_".concat(u({reference:e}))},e.hostViewClassName=function(e){return"HostView_".concat(u({reference:e}))},e.componentFactoryName=function(e){return"".concat(u({reference:e}),"NgFactory")},function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"}(c=e.CompileSummaryKind||(e.CompileSummaryKind={})),e.tokenName=function(e){return null!=e.value?s(e.value):u(e.identifier)},e.tokenReference=function(e){return null!=e.identifier?e.identifier.reference:e.value};e.CompileStylesheetMetadata=class{constructor(){let{moduleUrl:e,styles:t,styleUrls:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.moduleUrl=e||null,this.styles=p(t),this.styleUrls=p(r)}};e.CompileTemplateMetadata=class{constructor(e){let{encapsulation:t,template:r,templateUrl:n,htmlAst:i,styles:s,styleUrls:o,externalStylesheets:a,animations:u,ngContentSelectors:c,interpolation:l,isInline:D,preserveWhitespaces:d}=e;if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=i,this.styles=p(s),this.styleUrls=p(o),this.externalStylesheets=p(a),this.animations=u?h(u):[],this.ngContentSelectors=c||[],l&&2!=l.length)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=l,this.isInline=D,this.preserveWhitespaces=d}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};class l{static create(e){let{isHost:t,type:i,isComponent:s,selector:o,exportAs:a,changeDetection:u,inputs:c,outputs:p,host:h,providers:D,viewProviders:d,queries:f,guards:g,viewQueries:m,entryComponents:E,template:C,componentViewType:y,rendererType:b,componentFactory:S}=e;const T={},_={},v={};null!=h&&Object.keys(h).forEach((e=>{const t=h[e],r=e.match(n);null===r?v[e]=t:null!=r[1]?_[r[1]]=t:null!=r[2]&&(T[r[2]]=t)}));const A={};null!=c&&c.forEach((e=>{const t=r.splitAtColon(e,[e,e]);A[t[0]]=t[1]}));const F={};return null!=p&&p.forEach((e=>{const t=r.splitAtColon(e,[e,e]);F[t[0]]=t[1]})),new l({isHost:t,type:i,isComponent:!!s,selector:o,exportAs:a,changeDetection:u,inputs:A,outputs:F,hostListeners:T,hostProperties:_,hostAttributes:v,providers:D,viewProviders:d,queries:f,guards:g,viewQueries:m,entryComponents:E,template:C,componentViewType:y,rendererType:b,componentFactory:S})}constructor(e){let{isHost:t,type:r,isComponent:n,selector:i,exportAs:s,changeDetection:o,inputs:a,outputs:u,hostListeners:c,hostProperties:l,hostAttributes:h,providers:D,viewProviders:d,queries:f,guards:g,viewQueries:m,entryComponents:E,template:C,componentViewType:y,rendererType:b,componentFactory:S}=e;this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=i,this.exportAs=s,this.changeDetection=o,this.inputs=a,this.outputs=u,this.hostListeners=c,this.hostProperties=l,this.hostAttributes=h,this.providers=p(D),this.viewProviders=p(d),this.queries=p(f),this.guards=g,this.viewQueries=p(m),this.entryComponents=p(E),this.template=C,this.componentViewType=y,this.rendererType=b,this.componentFactory=S}toSummary(){return{summaryKind:c.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProvide
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
const t=r,i=n;class s{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(e){const r=this.file.content,n=r.length;let i=this.offset,o=this.line,a=this.col;for(;i>0&&e<0;){i--,e++;if(r.charCodeAt(i)==t.$LF){o--;const e=r.substr(0,i-1).lastIndexOf(String.fromCharCode(t.$LF));a=e>0?i-e:i}else a--}for(;i<n&&e>0;){const n=r.charCodeAt(i);i++,e--,n==t.$LF?(o++,a=0):a++}return new s(this.file,i,o,a)}getContext(e,t){const r=this.file.content;let n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let i=n,s=0,o=0;for(;s<e&&n>0&&(n--,s++,"\n"!=r[n]||++o!=t););for(s=0,o=0;s<e&&i<r.length-1&&(i++,s++,"\n"!=r[i]||++o!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null}}e.ParseLocation=s;class o{constructor(e,t){this.content=e,this.url=t}}e.ParseSourceFile=o;class a{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this.start=e,this.end=t,this.details=r}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}}var u;e.ParseSourceSpan=a,e.EMPTY_PARSE_LOCATION=new s(new o("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new a(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(u=e.ParseErrorLevel||(e.ParseErrorLevel={}));e.ParseError=class{constructor(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.ERROR;this.span=e,this.msg=t,this.level=r}contextualMessage(){const e=this.span.start.getContext(100,3);return e?"".concat(this.msg,' ("').concat(e.before,"[").concat(u[this.level]," ->]").concat(e.after,'")'):this.msg}toString(){const e=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(e)}},e.typeSourceSpan=function(e,t){const r=i.identifierModuleUrl(t),n=null!=r?"in ".concat(e," ").concat(i.identifierName(t)," in ").concat(r):"in ".concat(e," ").concat(i.identifierName(t)),u=new o("",n);return new a(new s(u,-1,-1,-1),new s(u,-1,-1,-1))},e.r3JitTypeSourceSpan=function(e,t,r){const n="in ".concat(e," ").concat(t," in ").concat(r),i=new o("",n);return new a(new s(i,-1,-1,-1),new s(i,-1,-1,-1))}}(t);const m=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");var E=function(e){const t=e.match(m);if(!t)return{content:e};const{startDelimiter:r,language:n,value:i="",endDelimiter:s}=t.groups;let o=n.trim()||"yaml";if("+++"===r&&(o="toml"),"yaml"!==o&&r!==s)return{content:e};const[a]=t;return{frontMatter:{type:"front-matter",lang:o,value:i,startDelimiter:r,endDelimiter:s,raw:a.replace(/\n$/,"")},content:a.replace(/[^\n]/g," ")+e.slice(a.length)}};var C=e=>e[e.length-1];var y=function(e,t){const r=new SyntaxError(e+" ("+t.start.line+":"+t.start.column+")");return r.loc=t,r},b={exports:{}};const S=function(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=["[\\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(t,e?void 0:"g")};var T={exports:{}};const _=e=>!Number.isNaN(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||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));T.exports=_,T.exports.default=_;const v=e=>"string"==typeof e?e.replace(S(),""):e,A=T.exports,F=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(e,"__esModule",{value:!0}),(t=e.TagContentType||(e.TagContentType={}))[t.RAW_TEXT=0]="RAW_TEXT",t[t.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t[t.PARSABLE_DATA=2]="PARSABLE_DATA",e.splitNsName=r,e.isNgContainer=function(e){return"ng-container"===r(e)[1]},e.isNgContent=function(e){return"ng-content"===r(e)[1]},e.isNgTemplate=function(e){return"ng-template"===r(e)[1]},e.getNsPrefix=function(e){return null===e?null:r(e)[0]},e.mergeNsAndName=function(e,t){return e?":".concat(e,":").concat(t):t},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:"\xe6",af:"\u2061",Afr:"\ud835\udd04",afr:"\ud835\udd1e",Agrave:"\xc0",agrave:"\xe0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03b1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2a3f",AMP:"&",amp:"&",And:"\u2a53",and:"\u2227",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",Aogon:"\u0104",aogon:"\u0105",Aopf:"\ud835\udd38",aopf:"\ud835\udd52",ap:"\u2248",apacir:"\u2a6f",apE:"\u2a70",ape:"\u224a",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",Aring:"\xc5",aring:"\xe5",Ascr:"\ud835\udc9c",ascr:"\ud835\udcb6",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",Barwed:"\u2306",barwed:"\u2305",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201e",becaus:"\u2235",Because:"\u2235",because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",Beta:"\u0392",beta:"\u03b2",beth:"\u2136",between:"\u226c",Bfr:"\ud835\udd05",bfr:"\ud835\udd1f",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bNot:"\u2aed",bnot:"\u2310",Bopf:"\ud835\udd39",bopf:"\ud835\udd53",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxDL:"\u2557",boxDl:"\u2556",boxdL:"\u2555",boxdl:"\u2510",boxDR:"\u2554",boxDr:"\u2553",boxdR:"\u2552",boxdr:"\u250c",boxH:"\u2550",boxh:"\u2500",boxHD:"\u2566",boxHd:"\u2564",boxhD:"\u2565",boxhd:"\u252c",boxHU:"\u2569",boxHu:"\u2567",boxhU:"\u2568",boxhu:"\u2534",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxUL:"\u255d",boxUl:"\u255c",boxuL:"\u255b",boxul:"\u2518",boxUR:"\u255a",boxUr:"\u2559",boxuR:"\u2558",boxur:"\u2514",boxV:"\u2551",boxv:"\u2502",boxVH:"\u256c",boxVh:"\u256b",boxvH:"\u256a",boxvh:"\u253c",boxVL:"\u2563",boxVl:"\u2562",boxvL:"\u2561",boxvl:"\u2524",boxVR:"\u2560",boxVr:"\u255f",boxvR:"\u255e",boxvr:"\u251c",bprime:"\u2035",Breve:"\u02d8",breve:"\u02d8",brvbar:"\xa6",Bscr:"\u212c",bscr:"\ud835\udcb7",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpE:"\u2aae",bumpe:"\u224f",Bumpeq:"\u224e",bumpeq:"\u224f",Cacute:"\u0106",cacute:"\u0107",Cap:"\u22d2",cap:"\u2229",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",Ccaron:"\u010c",ccaron:"\u010d",Ccedil
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(Mc,"__esModule",{value:!0});const Uc=jc;class Gc{constructor(){let{closedByChildren:e,implicitNamespacePrefix:t,contentType:r=Uc.TagContentType.PARSABLE_DATA,closedByParent:n=!1,isVoid:i=!1,ignoreFirstLf:s=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,e&&e.length>0&&e.forEach((e=>this.closedByChildren[e]=!0)),this.isVoid=i,this.closedByParent=n||i,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=s}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}}let Vc,Xc;Mc.HtmlTagDefinition=Gc,Mc.getHtmlTagDefinition=function(e){return Xc||(Vc=new Gc,Xc={base:new Gc({isVoid:!0}),meta:new Gc({isVoid:!0}),area:new Gc({isVoid:!0}),embed:new Gc({isVoid:!0}),link:new Gc({isVoid:!0}),img:new Gc({isVoid:!0}),input:new Gc({isVoid:!0}),param:new Gc({isVoid:!0}),hr:new Gc({isVoid:!0}),br:new Gc({isVoid:!0}),source:new Gc({isVoid:!0}),track:new Gc({isVoid:!0}),wbr:new Gc({isVoid:!0}),p:new Gc({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new Gc({closedByChildren:["tbody","tfoot"]}),tbody:new Gc({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Gc({closedByChildren:["tbody"],closedByParent:!0}),tr:new Gc({closedByChildren:["tr"],closedByParent:!0}),td:new Gc({closedByChildren:["td","th"],closedByParent:!0}),th:new Gc({closedByChildren:["td","th"],closedByParent:!0}),col:new Gc({isVoid:!0}),svg:new Gc({implicitNamespacePrefix:"svg"}),math:new Gc({implicitNamespacePrefix:"math"}),li:new Gc({closedByChildren:["li"],closedByParent:!0}),dt:new Gc({closedByChildren:["dt","dd"]}),dd:new Gc({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Gc({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Gc({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Gc({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Gc({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Gc({closedByChildren:["optgroup"],closedByParent:!0}),option:new Gc({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Gc({ignoreFirstLf:!0}),listing:new Gc({ignoreFirstLf:!0}),style:new Gc({contentType:Uc.TagContentType.RAW_TEXT}),script:new Gc({contentType:Uc.TagContentType.RAW_TEXT}),title:new Gc({contentType:Uc.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new Gc({contentType:Uc.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Xc[e]||Vc};var Hc={},zc={},Wc={};
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(Wc,"__esModule",{value:!0});Wc.AstPath=class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;this.path=e,this.position=t}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(e){return e&&this.path[this.path.indexOf(e)-1]}childOf(e){return this.path[this.path.indexOf(e)+1]}first(e){for(let t=this.path.length-1;t>=0;t--){let r=this.path[t];if(r instanceof e)return r}}push(e){this.path.push(e)}pop(){return this.path.pop()}},
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(zc,"__esModule",{value:!0});const Yc=Wc;zc.Text=class{constructor(e,t,r){this.value=e,this.sourceSpan=t,this.i18n=r,this.type="text"}visit(e,t){return e.visitText(this,t)}};zc.CDATA=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}};zc.Expansion=class{constructor(e,t,r,n,i,s){this.switchValue=e,this.type=t,this.cases=r,this.sourceSpan=n,this.switchValueSourceSpan=i,this.i18n=s}visit(e,t){return e.visitExpansion(this,t)}};zc.ExpansionCase=class{constructor(e,t,r,n,i){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=i}visit(e,t){return e.visitExpansionCase(this,t)}};zc.Attribute=class{constructor(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;this.name=e,this.value=t,this.sourceSpan=r,this.valueSpan=n,this.nameSpan=i,this.i18n=s,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}};class Qc{constructor(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null;this.name=e,this.attrs=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=i,this.endSourceSpan=s,this.nameSpan=o,this.i18n=a,this.type="element"}visit(e,t){return e.visitElement(this,t)}}zc.Element=Qc;zc.Comment=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}};function Jc(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;const n=[],i=e.visit?t=>e.visit(t,r)||t.visit(e,r):t=>t.visit(e,r);return t.forEach((e=>{const t=i(e);t&&n.push(t)})),n}zc.DocType=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},zc.visitAll=Jc;class Zc{constructor(){}visitElement(e,t){this.visitChildren(t,(t=>{t(e.attrs),t(e.children)}))}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,(t=>{t(e.cases)}))}visitExpansionCase(e,t){}visitChildren(e,t){let r=[],n=this;return t((function(t){t&&r.push(Jc(n,t,e))})),Array.prototype.concat.apply([],r)}}function Kc(e){const t=e.sourceSpan.start.offset;let r=e.sourceSpan.end.offset;return e instanceof Qc&&(e.endSourceSpan?r=e.endSourceSpan.end.offset:e.children&&e.children.length&&(r=Kc(e.children[e.children.length-1]).end)),{start:t,end:r}}zc.RecursiveVisitor=Zc,zc.findNode=function(e,t){const r=[],n=new class extends Zc{visit(e,n){const i=Kc(e);if(!(i.start<=t&&t<i.end))return!0;r.push(e)}};return Jc(n,e),new Yc.AstPath(r,t)};var el={},tl={},rl={};
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(rl,"__esModule",{value:!0}),rl.assertArrayOfStrings=function(e,t){if(null!=t){if(!Array.isArray(t))throw new Error("Expected '".concat(e,"' to be an array of strings."));for(let r=0;r<t.length;r+=1)if("string"!=typeof t[r])throw new Error("Expected '".concat(e,"' to be an array of strings."))}};const nl=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];rl.assertInterpolationSymbols=function(e,t){if(!(null==t||Array.isArray(t)&&2==t.length))throw new Error("Expected '".concat(e,"' to be an array, [start, end]."));if(null!=t){const e=t[0],r=t[1];nl.forEach((t=>{if(t.test(e)||t.test(r))throw new Error("['".concat(e,"', '").concat(r,"'] contains unusable interpolation symbol."))}))}},function(e){
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(e,"__esModule",{value:!0});const t=rl;class r{constructor(e,t){this.start=e,this.end=t}static fromArray(n){return n?(t.assertInterpolationSymbols("interpolation",n),new r(n[0],n[1])):e.DEFAULT_INTERPOLATION_CONFIG}}e.InterpolationConfig=r,e.DEFAULT_INTERPOLATION_CONFIG=new r("{{","}}")}(tl),function(e){
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(e,"__esModule",{value:!0});const n=r,i=t,s=tl,o=jc;var a;!function(e){e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.TEXT=4]="TEXT",e[e.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=6]="RAW_TEXT",e[e.COMMENT_START=7]="COMMENT_START",e[e.COMMENT_END=8]="COMMENT_END",e[e.CDATA_START=9]="CDATA_START",e[e.CDATA_END=10]="CDATA_END",e[e.ATTR_NAME=11]="ATTR_NAME",e[e.ATTR_QUOTE=12]="ATTR_QUOTE",e[e.ATTR_VALUE=13]="ATTR_VALUE",e[e.DOC_TYPE_START=14]="DOC_TYPE_START",e[e.DOC_TYPE_END=15]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",e[e.EOF=21]="EOF"}(a=e.TokenType||(e.TokenType={}));class u{constructor(e,t,r){this.type=e,this.parts=t,this.sourceSpan=r}}e.Token=u;class c extends i.ParseError{constructor(e,t,r){super(r,e),this.tokenType=t}}e.TokenError=c;class l{constructor(e,t){this.tokens=e,this.errors=t}}e.TokenizeResult=l,e.tokenize=function(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new f(new i.ParseSourceFile(e,t),r,n).tokenize()};const p=/\r\n?/g;function h(e){const t=e===n.$EOF?"EOF":String.fromCharCode(e);return'Unexpected character "'.concat(t,'"')}function D(e){return'Unknown entity "'.concat(e,'" - use the "&#<decimal>;" or "&#x<hex>;" syntax')}class d{constructor(e){this.error=e}}class f{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||s.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map((e=>e.codePointAt(0)||0)),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;const n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new S(e,n):new b(e,n);try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return e.replace(p,"\n")}tokenize(){for(;this._cursor.peek()!==n.$EOF;){const e=this._cursor.clone();try{if(this._attemptCharCode(n.$LT))if(this._attemptCharCode(n.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(n.$SLASH))this._consumeTagClose(e);else{const t=this._cursor.clone();this._attemptCharCode(n.$QUESTION)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(e){this.handleError(e)}}return this._beginToken(a.EOF),this._endToken([]),new l(function(e){const t=[];let r;for(let n=0;n<e.length;n++){const i=e[n];r&&r.type==a.TEXT&&i.type==a.TEXT?(r.parts[0]+=i.parts[0],r.sourceSpan.end=i.sourceSpan.end):(r=i,t.push(r))}return t}(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(((e=this._cursor.peek())===n.$EQ||n.isAsciiLetter(e)||n.isDigit(e))&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;var e;if(this._cursor.peek()===n.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();this._currentTokenStart=t,this._currentTokenType=e}_endToken(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._cursor.clone();if(null===this._currentTokenStart)throw new c("Programming error - attempted to end a token when t
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Object.defineProperty(Hc,"__esModule",{value:!0});const il=t,sl=zc,ol=el,al=jc;class ul extends il.ParseError{constructor(e,t,r){super(t,r),this.elementName=e}static create(e,t,r){return new ul(e,t,r)}}Hc.TreeError=ul;class cl{constructor(e,t){this.rootNodes=e,this.errors=t}}Hc.ParseTreeResult=cl;Hc.Parser=class{constructor(e){this.getTagDefinition=e}parse(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;const s=e=>function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e(t.toLowerCase(),...n)},o=n?this.getTagDefinition:s(this.getTagDefinition),a=e=>o(e).contentType,u=n?i:s(i),c=i?(e,t,r,n)=>{const i=u(e,t,r,n);return void 0!==i?i:a(e)}:a,l=ol.tokenize(e,t,c,r),p=r&&r.canSelfClose||!1,h=r&&r.allowHtmComponentClosingTags||!1,D=new ll(l.tokens,o,p,h,n).build();return new cl(D.rootNodes,l.errors.concat(D.errors))}};class ll{constructor(e,t,r,n,i){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=i,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==ol.TokenType.EOF;)this._peek.type===ol.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===ol.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===ol.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===ol.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===ol.TokenType.TEXT||this._peek.type===ol.TokenType.RAW_TEXT||this._peek.type===ol.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===ol.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===ol.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new cl(this._rootNodes,this._errors)}_advance(){const e=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],e}_advanceIf(e){return this._peek.type===e?this._advance():null}_consumeCdata(e){const t=this._advance(),r=this._getText(t),n=this._advanceIf(ol.TokenType.CDATA_END);this._addToParent(new sl.CDATA(r,new il.ParseSourceSpan(e.sourceSpan.start,(n||t).sourceSpan.end)))}_consumeComment(e){const t=this._advanceIf(ol.TokenType.RAW_TEXT),r=this._advanceIf(ol.TokenType.COMMENT_END),n=null!=t?t.parts[0].trim():null,i=new il.ParseSourceSpan(e.sourceSpan.start,(r||t||e).sourceSpan.end);this._addToParent(new sl.Comment(n,i))}_consumeDocType(e){const t=this._advanceIf(ol.TokenType.RAW_TEXT),r=this._advanceIf(ol.TokenType.DOC_TYPE_END),n=null!=t?t.parts[0].trim():null,i=new il.ParseSourceSpan(e.sourceSpan.start,(r||t||e).sourceSpan.end);this._addToParent(new sl.DocType(n,i))}_consumeExpansion(e){const t=this._advance(),r=this._advance(),n=[];for(;this._peek.type===ol.TokenType.EXPANSION_CASE_VALUE;){const e=this._parseExpansionCase();if(!e)return;n.push(e)}if(this._peek.type!==ol.TokenType.EXPANSION_FORM_END)return void this._errors.push(ul.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));const i=new il.ParseSourceSpan(e.sourceSpan.start,this._peek.sourceSpan.end);this._addToParent(new sl.Expansion(t.parts[0],r.parts[0],n,i,t.sourceSpan)),this._advance()}_parseExpansionCase(){const e=this._advance();if(this._peek.type!==ol.TokenType.EXPANSION_CASE_EXP_START)return this._errors.push(ul.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;const t=this._advance(),r=this._collectExpansionExpTokens(t);if(!r)return null;const n=this._advance();r.push(new ol.Token(ol.TokenType.EOF,[],n.sourceSpan));const i=new ll(r,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive).build();if(i.errors.length>0)return this._errors=this._errors.concat(i.errors),null;const s=new il.ParseSourceSpan(e.sourceSpan.start,n.sourceSpan.e
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/Object.defineProperty($c,"__esModule",{value:!0});const hl=Mc,Dl=Hc;var dl=Hc;$c.ParseTreeResult=dl.ParseTreeResult,$c.TreeError=dl.TreeError;class fl extends Dl.Parser{constructor(){super(hl.getHtmlTagDefinition)}parse(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;return super.parse(e,t,r,n,i)}}$c.HtmlParser=fl,Object.defineProperty(qc,"__esModule",{value:!0});const gl=$c,ml=jc;qc.TagContentType=ml.TagContentType;let El=null;const Cl=()=>(El||(El=new gl.HtmlParser),El);qc.parse=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:i=!1,getTagContentType:s}=t;return Cl().parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n},i,s)};const{ParseSourceSpan:yl,ParseLocation:bl,ParseSourceFile:Sl}=t,Tl=E,_l=C,vl=y,{inferParserByLanguage:Al}=Ua,{HTML_ELEMENT_ATTRIBUTES:Fl,HTML_TAGS:wl,isUnknownNamespace:kl}=vc,{hasPragma:Nl}=Ac,{Node:Ol}=Ic,{parseIeConditionalComment:xl}=Lc,{locStart:Il,locEnd:Pl}=Bc;function Rl(e,r,n){let{recognizeSelfClosing:i,normalizeTagName:s,normalizeAttributeName:o,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:u,getTagContentType:c}=r;const l=qc,{RecursiveVisitor:p,visitAll:h}=zc,{ParseSourceSpan:D}=t,{getHtmlTagDefinition:d}=Mc;let{rootNodes:f,errors:g}=l.parse(e,{canSelfClose:i,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:u,getTagContentType:c});if("vue"===n.parser){if(f.some((e=>"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase()))){i=!0,s=!0,o=!0,a=!0,u=!1;const t=l.parse(e,{canSelfClose:i,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:u});f=t.rootNodes,g=t.errors}else{const t=e=>{if(!e)return!1;if("element"!==e.type||"template"!==e.name)return!1;const t=e.attrs.find((e=>"lang"===e.name)),r=t&&t.value;return!r||"html"===Al(r,n)};if(f.some(t)){let r;const n=()=>l.parse(e,{canSelfClose:i,allowHtmComponentClosingTags:a,isTagNameCaseSensitive:u}),s=()=>r||(r=n()),o=e=>s().rootNodes.find((t=>{let{startSourceSpan:r}=t;return r&&r.start.offset===e.startSourceSpan.start.offset}));for(let e=0;e<f.length;e++){const r=f[e],{endSourceSpan:n,startSourceSpan:i}=r;if(null===n){g=s().errors,f[e]=o(r)||r}else if(t(r)){const t=s(),a=i.end.offset,u=n.start.offset;for(const e of t.errors){const{offset:t}=e.span.start;if(a<t&&t<u){g=[e];break}}f[e]=o(r)||r}}}}}if(g.length>0){const{msg:e,span:{start:t,end:r}}=g[0];throw vl(e,{start:{line:t.line+1,column:t.col+1},end:{line:r.line+1,column:r.col+1}})}const m=e=>{const t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan.toString(),n=null!==t&&r.startsWith("".concat(t,":")),i=n?r.slice(t.length+1):r;e.name=i,e.namespace=t,e.hasExplicitNamespace=n},E=(e,t)=>{const r=e.toLowerCase();return t(r)?r:e};return h(new class extends p{visit(e){(e=>{if("element"===e.type){m(e);for(const t of e.attrs)m(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null}else"comment"===e.type?e.value=e.sourceSpan.toString().slice("\x3c!--".length,-"--\x3e".length):"text"===e.type&&(e.value=e.sourceSpan.toString())})(e),(e=>{if("element"===e.type){const t=d(u?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||kl(e)?e.tagDefinition=t:e.tagDefinition=d("")}})(e),(e=>{if("element"===e.type&&(!s||e.namespace&&e.namespace!==e.tagDefinition.implicitNamespacePrefix&&!kl(e)||(e.name=E(e.name,(e=>e in wl))),o)){const t=Fl[e.name]||Object.create(null);for(const r of e.attrs)r.namespace||(r.name=E(r.name,(r=>e.name in Fl&&(r in Fl["*"]||r in t))))}})(e),(e=>{e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new D(e.sourceSpan.start,e.endSourceSpan.end))})(e)}},f),f}function Ll(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const{frontMatter:i,content:s}=n?Tl(e):{frontMatter:null,content:e},o=new Sl(e,t.filepath),a=new bl(o,0,0,0),u=a.moveBy(e.length),c={type:"root",sourceSpan:ne