gant-core 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cli/acorn.js +2 -0
- package/lib/cli/angular.js +2 -0
- package/lib/cli/babel.js +2 -0
- package/lib/cli/config/index.js +1 -1
- package/lib/cli/create/module/index.js +2 -2
- package/lib/cli/estree.js +2 -0
- package/lib/cli/flow.js +2 -0
- package/lib/cli/glimmer.js +2 -0
- package/lib/cli/graphql.js +2 -0
- package/lib/cli/html.js +2 -0
- package/lib/cli/i18n/index.js +2 -2
- package/lib/cli/index.js +1 -1
- package/lib/cli/markdown.js +2 -0
- package/lib/cli/meriyah.js +2 -0
- package/lib/cli/postcss.js +2 -0
- package/lib/cli/typescript.js +2 -0
- package/lib/cli/utils/getJavascriptfile.js +1 -9
- package/lib/cli/utils/index.js +1 -1
- package/lib/cli/webpack/config/default.config.js +1 -1
- package/lib/cli/webpack/config/production.config.js +1 -13
- package/lib/cli/webpack/plugins/index.js +1 -1
- package/lib/cli/yaml.js +2 -0
- package/lib/types/index.d.ts +1 -0
- package/package.json +46 -50
- package/rollup.config.js +2 -3
package/lib/cli/html.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
"use strict";var e=Object.defineProperty,t=(t,r)=>{for(var n in r)e(t,n,{get:r[n],enumerable:!0})},r=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},n=(e,t,n)=>(r(e,t,"read from private field"),n?n.call(e):t.get(e)),i={};t(i,{languages:()=>kr,options:()=>xr,parsers:()=>Er,printers:()=>li});var a=(e,t,r,n)=>{if(!e||null!=t)return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},s="string",o="array",l="cursor",c="indent",u="align",p="trim",h="group",d="fill",m="if-break",g="indent-if-break",f="line-suffix",v="line-suffix-boundary",S="line",y="label",b="break-parent",_=new Set([l,c,u,p,h,d,m,g,f,v,S,y,b]);var w=function(e){if("string"==typeof e)return s;if(Array.isArray(e))return o;if(!e)return;let{type:t}=e;return _.has(t)?t:void 0};function k(e){let t=null===e?"null":typeof e;if("string"!==t&&"object"!==t)return`Unexpected doc '${t}', \nExpected it to be 'string' or 'object'.`;if(w(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if("[object Object]"!==r)return`Unexpected doc '${r}'.`;let n=(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e))([..._].map((e=>`'${e}'`)));return`Unexpected doc.type '${e.type}'.\nExpected it to be ${n}.`}var C=class extends Error{name="InvalidDocError";constructor(e){super(k(e)),this.doc=e}},T=()=>{};function x(e){return{type:c,contents:e}}function E(e,t){return{type:u,contents:t,n:e}}function L(e,t={}){return T(t.expandedStates),{type:h,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function q(e){return{type:d,parts:e}}function A(e,t="",r={}){return{type:m,breakContents:e,flatContents:t,groupId:r.groupId}}var N={type:b},D={type:S},I={type:S,soft:!0},B=[{type:S,hard:!0},N],P=[{type:S,hard:!0,literal:!0},N];function M(e,t){let r=[];for(let n=0;n<t.length;n++)0!==n&&r.push(e),r.push(t[n]);return r}var H=(e,t,r)=>{if(!e||null!=t)return Array.isArray(t)||"string"==typeof t?t[r<0?t.length+r:r]:t.at(r)};function R(e,t){if("string"==typeof e)return t(e);let r=new Map;return n(e);function n(e){if(r.has(e))return r.get(e);let i=function(e){switch(w(e)){case o:return t(e.map(n));case d:return t({...e,parts:e.parts.map(n)});case m:return t({...e,breakContents:n(e.breakContents),flatContents:n(e.flatContents)});case h:{let{expandedStates:r,contents:i}=e;return r?(r=r.map(n),i=r[0]):i=n(i),t({...e,contents:i,expandedStates:r})}case u:case c:case g:case y:case f:return t({...e,contents:n(e.contents)});case s:case l:case p:case v:case S:case b:return t(e);default:throw new C(e)}}(e);return r.set(e,i),i}}function F(e){return R(e,(e=>function(e){switch(w(e)){case d:if(e.parts.every((e=>""===e)))return"";break;case h:if(!(e.contents||e.id||e.break||e.expandedStates))return"";if(e.contents.type===h&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case u:case c:case g:case f:if(!e.contents)return"";break;case m:if(!e.flatContents&&!e.breakContents)return"";break;case o:{let t=[];for(let r of e){if(!r)continue;let[e,...n]=Array.isArray(r)?r:[r];"string"==typeof e&&"string"==typeof H(!1,t,-1)?t[t.length-1]+=e:t.push(e),t.push(...n)}return 0===t.length?"":1===t.length?t[0]:t}case s:case l:case p:case v:case S:case y:case b:break;default:throw new C(e)}return e}(e)))}function U(e,t=P){return R(e,(e=>"string"==typeof e?M(t,e.split("\n")):e))}var V="'";var O=function(e,t){let r=!0===t||t===V?V:'"',n=r===V?'"':V,i=0,a=0;for(let t of e)t===r?i++:t===n&&a++;return i>a?n:r};var W;W=new WeakMap;var $=class{constructor(e){((e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)})(this,W,void 0),((e,t,n,i)=>{r(e,t,"write to private field"),i?i.call(e,n):t.set(e,n)})(this,W,new Set(e))}getLeadingWhitespaceCount(e){let t=n(this,W),r=0;for(let n=0;n<e.length&&t.has(e.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(e){let t=n(this,W),r=0;for(let n=e.length-1;n>=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return n(this,W).has(e.charAt(0))}hasTrailingWhitespace(e){return n(this,W).has(H(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}([...n(this,W)].join(""))}]+`,i=new RegExp(t?`(${r})`:r);return e.split(i)}hasWhitespaceCharacter(e){let t=n(this,W);return Array.prototype.some.call(e,(e=>t.has(e)))}hasNonWhitespaceCharacter(e){let t=n(this,W);return Array.prototype.some.call(e,(e=>!t.has(e)))}isWhitespaceOnly(e){let t=n(this,W);return Array.prototype.every.call(e,(e=>t.has(e)))}},z=new $(["\t","\n","\f","\r"," "]),j=class extends Error{name="UnexpectedNodeError";constructor(e,t,r="type"){super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}};var G=function(e){return"front-matter"===(null==e?void 0:e.type)},K=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),X=new Set(["if","else if","for","switch","case"]);function Y(e,t){var r;if("text"===e.type||"comment"===e.type||G(e)||"yaml"===e.type||"toml"===e.type)return null;if("attribute"===e.type&&delete t.value,"docType"===e.type&&delete t.value,"angularControlFlowBlock"===e.type&&null!=(r=t.parameters)&&r.children)for(let r of t.parameters.children)X.has(e.name)?delete r.expression:r.expression=r.expression.trim();"angularIcuExpression"===e.type&&(t.switchValue=e.switchValue.trim())}Y.ignoredProperties=K;var J=Y;var Q=async function(e,t){if("yaml"===e.lang){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return function(e){return E({type:"root"},e)}([e.startDelimiter,B,n,n?B:"",e.endDelimiter])}};function Z(e,t=!0){return[x([I,e]),t?I:""]}function ee(e,t){let r="NGRoot"===e.type?"NGMicrosyntax"===e.node.type&&1===e.node.body.length&&"NGMicrosyntaxExpression"===e.node.body[0].type?e.node.body[0].expression:e.node:"JsExpressionRoot"===e.type?e.node:e;return r&&("ObjectExpression"===r.type||"ArrayExpression"===r.type||("__vue_expression"===t.parser||"__vue_ts_expression"===t.parser)&&("TemplateLiteral"===r.type||"StringLiteral"===r.type))}async function te(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let i=!0;n&&(r.__onHtmlBindingRoot=(e,t)=>{i=n(e,t)});let a=await t(e,r,t);return i?L(a):Z(a)}var re=function(e,t,r,n){let{node:i}=r,a=n.originalText.slice(i.sourceSpan.start.offset,i.sourceSpan.end.offset);return/^\s*$/.test(a)?"":te(a,e,{parser:"__ng_directive",__isInHtmlAttribute:!1,trailingComma:"none"},ee)},ne=e=>String(e).split(/[/\\]/).pop();function ie(e,t){if(!t)return;let r=ne(t).toLowerCase();return e.find((({filenames:e})=>null==e?void 0:e.some((e=>e.toLowerCase()===r))))??e.find((({extensions:e})=>null==e?void 0:e.some((e=>r.endsWith(e)))))}var ae=function(e,t){let r=e.plugins.flatMap((e=>e.languages??[])),n=function(e,t){if(t)return e.find((({name:e})=>e.toLowerCase()===t))??e.find((({aliases:e})=>null==e?void 0:e.includes(t)))??e.find((({extensions:e})=>null==e?void 0:e.includes(`.${t}`)))}(r,t.language)??ie(r,t.physicalFile)??ie(r,t.file)??void t.physicalFile;return null==n?void 0:n.parsers[0]},se="inline",oe={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},le="normal",ce={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};var ue=function(e){return"element"===e.type&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)},pe=e=>(e=>a(!1,e,/^[\t\f\r ]*\n/g,""))(z.trimEnd(e)),he=e=>{let t=e,r=z.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=z.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}};function de(e,t){return!!("ieConditionalComment"===e.type&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.type&&!e.complete||Ie(e)&&e.children.some((e=>"text"!==e.type&&"interpolation"!==e.type))||Ve(e,t)&&!fe(e)&&"interpolation"!==e.type)}function me(e){return!("attribute"===e.type||!e.parent||!e.prev)&&function(e){return"comment"===e.type&&"prettier-ignore"===e.value.trim()}(e.prev)}function ge(e){return"text"===e.type||"comment"===e.type}function fe(e){return"element"===e.type&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||"svg:script"===e.fullName||ue(e)&&("script"===e.name||"style"===e.name))}function ve(e){return Be(e).startsWith("pre")}function Se(e,t){var r,n;let i=!(G(e)||"angularControlFlowBlock"===e.type||("text"!==e.type&&"interpolation"!==e.type||!e.prev||"text"!==e.prev.type&&"interpolation"!==e.prev.type)&&(!e.parent||"none"===e.parent.cssDisplay||!Ie(e.parent)&&(!e.prev&&("root"===e.parent.type||Ie(e)&&e.parent||fe(e.parent)||Fe(e.parent,t)||!function(e){return!De(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.prev&&!function(e){return!De(e)}(e.prev.cssDisplay))));return i&&!e.prev&&null!=(n=null==(r=e.parent)?void 0:r.tagDefinition)&&n.ignoreFirstLf?"interpolation"===e.type:i}function ye(e,t){return!G(e)&&"angularControlFlowBlock"!==e.type&&(!("text"!==e.type&&"interpolation"!==e.type||!e.next||"text"!==e.next.type&&"interpolation"!==e.next.type)||!(!e.parent||"none"===e.parent.cssDisplay)&&(!!Ie(e.parent)||!(!e.next&&("root"===e.parent.type||Ie(e)&&e.parent||fe(e.parent)||Fe(e.parent,t)||!function(e){return!De(e)&&"inline-block"!==e}(e.parent.cssDisplay))||e.next&&!function(e){return!De(e)}(e.next.cssDisplay))))}function be(e){return function(e){return!De(e)&&"inline-block"!==e}(e.cssDisplay)&&!fe(e)}function _e(e){return G(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function we(e){return ke(e)||"element"===e.type&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some((e=>function(e){var t;return null==(t=e.children)?void 0:t.some((e=>"text"!==e.type))}(e))))||e.firstChild&&e.firstChild===e.lastChild&&"text"!==e.firstChild.type&&xe(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Ee(e.lastChild))}function ke(e){return"element"===e.type&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function Ce(e){return Le(e)||e.prev&&function(e){return Le(e)||"element"===e.type&&"br"===e.fullName||Te(e)}(e.prev)||Te(e)}function Te(e){return xe(e)&&Ee(e)}function xe(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.type||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function Ee(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.type||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Le(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function qe(e){return e.lastChild?qe(e.lastChild):e}function Ae(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||"speculationrules"===e)return"json"}}function Ne(e,t){return function(e,t){let{name:r,attrMap:n}=e;if("script"!==r||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:i,lang:a}=e.attrMap;return a||i?ae(t,{language:a})??Ae(i):"babel"}(e,t)??function(e,t){if("style"!==e.name)return;let{lang:r}=e.attrMap;return r?ae(t,{language:r}):"css"}(e,t)??function(e,t){if(!Ve(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:i}=r;return ae(t,{language:i})??Ae(n)}(e,t)}function De(e){return"block"===e||"list-item"===e||e.startsWith("table")}function Ie(e){return Be(e).startsWith("pre")}function Be(e){return"element"===e.type&&(!e.namespace||ue(e))&&ce[e.name]||le}function Pe(e,t=function(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split("\n")){if(0===r.length)continue;let e=z.getLeadingWhitespaceCount(r);if(0===e)return 0;r.length!==e&&e<t&&(t=e)}return t===Number.POSITIVE_INFINITY?0:t}(e)){return 0===t?e:e.split("\n").map((e=>e.slice(t))).join("\n")}function Me(e){return a(!1,a(!1,e,"'","'"),""",'"')}function He(e){return Me(e.value)}var Re=new Set(["template","style","script"]);function Fe(e,t){return Ue(e,t)&&!Re.has(e.fullName)}function Ue(e,t){return"vue"===t.parser&&"element"===e.type&&"root"===e.parent.type&&"html"!==e.fullName.toLowerCase()}function Ve(e,t){return Ue(e,t)&&(Fe(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}function Oe(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?U(t):U(Pe(pe(t)),B):M(D,z.split(t))}function We(e,t){return Ue(e,t)&&"script"===e.name}var $e=/{{(.+?)}}/s;function ze({parser:e}){return(t,r,n)=>te(He(n.node),t,{parser:e,trailingComma:"none"},ee)}var je=ze({parser:"__ng_action"}),Ge=ze({parser:"__ng_binding"}),Ke=ze({parser:"__ng_directive"});var Xe=function(e,t){if("angular"!==t.parser)return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return je;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/.test(n)||/^ng-(?:if|show|hide|class|style)$/.test(n))return Ge;if(n.startsWith("*"))return Ke;let i=He(r);return/^i18n(?:-.+)?$/.test(n)?()=>Z(q(Oe(r,i.trim())),!i.includes("@@")):$e.test(i)?e=>async function(e,t){let r=[];for(let[n,i]of e.split($e).entries())if(n%2==0)r.push(U(i));else try{r.push(L(["{{",x([D,await te(i,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0,trailingComma:"none"})]),D,"}}"]))}catch{r.push("{{",U(i),"}}")}return r}(i,e):void 0};var Ye=function(e,t){let{node:r}=e,n=He(r);if("class"===r.fullName&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/).join(" ")};function Je(e){return"\t"===e||"\n"===e||"\f"===e||"\r"===e||" "===e}var Qe=/^[ \t\n\r\u000c]+/,Ze=/^[, \t\n\r\u000c]+/,et=/^[^ \t\n\r\u000c]+/,tt=/[,]+$/,rt=/^\d+$/,nt=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;var it=function(e){let t,r,n,i,a,s,o=e.length,l=0;function c(t){let r,n=t.exec(e.substring(l));if(n)return[r]=n,l+=r.length,r}let u=[];for(;;){if(c(Ze),l>=o){if(0===u.length)throw new Error("Must contain one or more image candidate strings.");return u}s=l,t=c(et),r=[],","===t.slice(-1)?(t=t.replace(tt,""),h()):p()}function p(){for(c(Qe),n="",i="in descriptor";;){if(a=e.charAt(l),"in descriptor"===i)if(Je(a))n&&(r.push(n),n="",i="after descriptor");else{if(","===a)return l+=1,n&&r.push(n),void h();if("("===a)n+=a,i="in parens";else{if(""===a)return n&&r.push(n),void h();n+=a}}else if("in parens"===i)if(")"===a)n+=a,i="in descriptor";else{if(""===a)return r.push(n),void h();n+=a}else if("after descriptor"===i&&!Je(a)){if(""===a)return void h();i="in descriptor",l-=1}l+=1}}function h(){let n,i,a,o,l,c,p,h,d,m=!1,g={};for(o=0;o<r.length;o++)l=r[o],c=l[l.length-1],p=l.substring(0,l.length-1),h=parseInt(p,10),d=parseFloat(p),rt.test(p)&&"w"===c?((n||i)&&(m=!0),0===h?m=!0:n=h):nt.test(p)&&"x"===c?((n||i||a)&&(m=!0),d<0?m=!0:i=d):rt.test(p)&&"h"===c?((a||i)&&(m=!0),0===h?m=!0:a=h):m=!0;if(m)throw new Error(`Invalid srcset descriptor found in "${e}" at "${l}".`);g.source={value:t,startOffset:s},n&&(g.width={value:n}),i&&(g.density={value:i}),a&&(g.height={value:a}),u.push(g)}};var at={width:"w",height:"h",density:"x"},st=Object.keys(at);var ot=function(e){if("srcset"===e.node.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName))return()=>function(e){let t=it(e),r=st.filter((e=>t.some((t=>Object.prototype.hasOwnProperty.call(t,e)))));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,i=at[n],a=t.map((e=>e.source.value)),s=Math.max(...a.map((e=>e.length))),o=t.map((e=>e[n]?String(e[n].value):"")),l=o.map((e=>{let t=e.indexOf(".");return-1===t?e.length:t})),c=Math.max(...l);return Z(M([",",D],a.map(((e,t)=>{let r=[e],n=o[t];if(n){let a=s-e.length+1,o=c-l[t],u=" ".repeat(a+o);r.push(A(u," "),n+i)}return r}))))}(He(e.node))};function lt(e,t){let{node:r}=e,n=He(e.node).trim();if("style"===r.fullName&&!t.parentParser&&!n.includes("{{"))return async e=>Z(await e(n,{parser:"css",__isHTMLStyleAttribute:!0}))}var ct=new WeakMap;var ut=function(e,t){let{root:r}=e;return ct.has(r)||ct.set(r,r.children.some((e=>We(e,t)&&["ts","typescript"].includes(e.attrMap.lang)))),ct.get(r)};function pt(e,t,r){let{node:n}=r;return te(`type T<${He(n)}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},ee)}async function ht(e,t,r,n){let i=He(r.node),{left:s,operator:o,right:l}=function(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,i=e.match(t);if(!i)return;let s={};if(s.for=i[3].trim(),!s.for)return;let o=a(!1,i[1].trim(),n,""),l=o.match(r);l?(s.alias=o.replace(r,""),s.iterator1=l[1].trim(),l[2]&&(s.iterator2=l[2].trim())):s.alias=o;let c=[s.alias,s.iterator1,s.iterator2];if(!c.some(((e,t)=>!e&&(0===t||c.slice(t+1).some(Boolean)))))return{left:c.filter(Boolean).join(","),operator:i[2],right:s.for}}(i),c=ut(r,n);return[L(await te(`function _(${s}) {}`,e,{parser:c?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",o," ",await te(l,e,{parser:c?"__ts_expression":"__js_expression"})]}function dt(e,t,{parseWithTs:r}){return te(e,t,{parser:r?"__ts_expression":"__js_expression"},ee)}var mt=function(e,t){if("vue"!==t.parser)return;let{node:r}=e,n=r.fullName;if("v-for"===n)return ht;if("generic"===n&&We(r.parent,t))return pt;let i=He(r),a=ut(e,t);return function(e){let t=e.fullName;return"#"===t.charAt(0)||"slot-scope"===t||"v-slot"===t||t.startsWith("v-slot:")}(r)||function(e,t){let r=e.parent;if(!Ue(r,t))return!1;let n=r.fullName,i=e.fullName;return"script"===n&&"setup"===i||"style"===n&&"vars"===i}(r,t)?e=>function(e,t,{parseWithTs:r}){return te(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}(i,e,{parseWithTs:a}):n.startsWith("@")||n.startsWith("v-on:")?e=>function(e,t,{parseWithTs:r}){return function(e){let t=e.trim();return/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/.test(t)||/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$_a-z][\w$]*])*$/i.test(t)}(e)?dt(e,t,{parseWithTs:r}):te(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},ee)}(i,e,{parseWithTs:a}):n.startsWith(":")||n.startsWith("v-bind:")?e=>function(e,t,{parseWithTs:r}){return te(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},ee)}(i,e,{parseWithTs:a}):n.startsWith("v-")?e=>dt(i,e,{parseWithTs:a}):void 0};function gt(e){return async(t,r,n,i)=>{let s=await e(t,r,n,i);if(s)return s=R(s,(e=>"string"==typeof e?a(!1,e,'"',"""):e)),[n.node.rawName,'="',L(s),'"']}}var ft=function(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||"lwc"===t.parser&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let r of[ot,lt,Ye,mt,Xe]){let n=r(e,t);if(n)return gt(n)}}},vt=new Proxy((()=>{}),{get:()=>vt}),St=vt;var yt=function(e){return Array.isArray(e)&&e.length>0};function bt(e){return e.sourceSpan.start.offset}function _t(e){return e.sourceSpan.end.offset}function wt(e,t){return[e.isSelfClosing?"":kt(e,t),Ct(e,t)]}function kt(e,t){return e.lastChild&&Dt(e.lastChild)?"":[Tt(e,t),Et(e,t)]}function Ct(e,t){return(e.next?At(e.next):Nt(e.parent))?"":[Lt(e,t),xt(e,t)]}function Tt(e,t){return Nt(e)?Lt(e.lastChild,t):""}function xt(e,t){return Dt(e)?Et(e.parent,t):It(e)?Ut(e.next):""}function Et(e,t){if(St(!e.isSelfClosing),qt(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function Lt(e,t){if(qt(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]--\x3e";case"ieConditionalStartComment":return"]>\x3c!--\x3e";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function qt(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(me(e)||de(e.parent,t))}function At(e){return e.prev&&"docType"!==e.prev.type&&"angularControlFlowBlock"!==e.type&&!ge(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Nt(e){var t;return(null==(t=e.lastChild)?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!ge(qe(e.lastChild))&&!Ie(e)}function Dt(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&ge(qe(e))}function It(e){return e.next&&!ge(e.next)&&ge(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Bt(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Pt(e,t,r){var n;let{node:i}=e;if(!yt(i.attrs))return i.isSelfClosing?" ":"";let a="comment"===(null==(n=i.prev)?void 0:n.type)&&function(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!t&&(!t[1]||t[1].split(/\s+/))}(i.prev.value),s="boolean"==typeof a?()=>a:Array.isArray(a)?e=>a.includes(e.rawName):()=>!1,o=e.map((({node:e})=>s(e)?U(t.originalText.slice(bt(e),_t(e))):r()),"attrs"),l="element"===i.type&&"script"===i.fullName&&1===i.attrs.length&&"src"===i.attrs[0].fullName&&0===i.children.length,c=t.singleAttributePerLine&&i.attrs.length>1&&!Ue(i,t)?B:D,u=[x([l?" ":D,M(c,o)])];return i.firstChild&&Bt(i.firstChild)||i.isSelfClosing&&Nt(i.parent)||l?u.push(i.isSelfClosing?" ":""):u.push(t.bracketSameLine?i.isSelfClosing?" ":"":i.isSelfClosing?D:I),u}function Mt(e){return e.firstChild&&Bt(e.firstChild)?"":Vt(e)}function Ht(e,t,r){let{node:n}=e;return[Rt(n,t),Pt(e,t,r),n.isSelfClosing?"":Mt(n)]}function Rt(e,t){return e.prev&&It(e.prev)?"":[Ft(e,t),Ut(e)]}function Ft(e,t){return Bt(e)?Vt(e.parent):At(e)?Lt(e.prev,t):""}function Ut(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":return"html"===e.value?"<!doctype":"<!DOCTYPE";case"angularIcuExpression":return"{";case"element":if(e.condition)return`\x3c!--[if ${e.condition}]>\x3c!--\x3e<${e.rawName}`;default:return`<${e.rawName}`}}function Vt(e){switch(St(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}var Ot=function(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&Bt(e.firstChild)&&(r-=Vt(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Dt(e.lastChild)?n+=Et(e,t).length:Nt(e)&&(n-=Lt(e.lastChild,t).length),t.originalText.slice(r,n)},Wt=new Set(["if","else if","for","switch","case"]);var $t=function(e,t){let{node:r}=e;switch(r.type){case"element":if(fe(r)||"interpolation"===r.type)return;if(!r.isSelfClosing&&Ve(r,t)){let n=Ne(r,t);return n?async(i,a)=>{let s=Ot(r,t),o=/^\s*$/.test(s),l="";return o||(l=await i(pe(s),{parser:n,__embeddedInHtml:!0}),o=""===l),[Ft(r,t),L(Ht(e,t,a)),o?"":B,l,o?"":B,wt(r,t),xt(r,t)]}:void 0}break;case"text":if(fe(r.parent)){let e=Ne(r.parent,t);if(e)return async n=>{let i="markdown"===e?Pe(r.value.replace(/^[^\S\n]*\n/,"")):r.value,a={parser:e,__embeddedInHtml:!0};if("html"===t.parser&&"babel"===e){let e="script",{attrMap:t}=r.parent;t&&("module"===t.type||"text/babel"===t.type&&"module"===t["data-type"])&&(e="module"),a.__babelSourceType=e}return[N,Ft(r,t),await n(i,a),xt(r,t)]}}else if("interpolation"===r.parent.type)return async n=>{let i={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===t.parser?(i.parser="__ng_interpolation",i.trailingComma="none"):"vue"===t.parser?i.parser=ut(e,t)?"__vue_ts_expression":"__vue_expression":i.parser="__js_expression",[x([D,await n(r.value,i)]),r.parent.next&&At(r.parent.next)?" ":D]};break;case"attribute":return ft(e,t);case"front-matter":return e=>Q(r,e);case"angularControlFlowBlockParameters":return Wt.has(e.parent.name)?re:void 0}},zt=null;function jt(e){if(null!==zt&&(zt.property,1)){let e=zt;return zt=jt.prototype=null,e}return zt=jt.prototype=e??Object.create(null),new jt}for(let e=0;e<=10;e++)jt();var Gt=function(e,t="type"){return function(e){jt(e)}(e),function(r){let n=r[t],i=e[n];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${n}'.`),{node:r});return i}},Kt=Gt({"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]});function Xt(e){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(e)}var Yt=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]);function Jt(e){let t=_t(e);return"element"===e.type&&!e.endSourceSpan&&yt(e.children)?Math.max(t,Jt(H(!1,e.children,-1))):t}function Qt(e,t,r){let n=e.node;if(me(n)){let e=Jt(n);return[Ft(n,t),U(z.trimEnd(t.originalText.slice(bt(n)+(n.prev&&It(n.prev)?Ut(n).length:0),e-(n.next&&At(n.next)?Lt(n,t).length:0)))),xt(n,t)]}return r()}function Zt(e,t){return ge(e)&&ge(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Ce(t)?B:D:"":Ce(t)?B:I:It(e)&&(me(t)||t.firstChild||t.isSelfClosing||"element"===t.type&&t.attrs.length>0)||"element"===e.type&&e.isSelfClosing&&At(t)?"":!t.isLeadingSpaceSensitive||Ce(t)||At(t)&&e.lastChild&&Dt(e.lastChild)&&e.lastChild.lastChild&&Dt(e.lastChild.lastChild)?B:t.hasLeadingSpaces?D:I}function er(e,t,r){let{node:n}=e;if(ke(n))return[N,...e.map((e=>{let n=e.node,i=n.prev?Zt(n.prev,n):"";return[i?[i,_e(n.prev)?B:""]:"",Qt(e,t,r)]}),"children")];let i=n.children.map((()=>Symbol("")));return e.map(((e,n)=>{let a=e.node;if(ge(a)){if(a.prev&&ge(a.prev)){let n=Zt(a.prev,a);if(n)return _e(a.prev)?[B,B,Qt(e,t,r)]:[n,Qt(e,t,r)]}return Qt(e,t,r)}let s=[],o=[],l=[],c=[],u=a.prev?Zt(a.prev,a):"",p=a.next?Zt(a,a.next):"";return u&&(_e(a.prev)?s.push(B,B):u===B?s.push(B):ge(a.prev)?o.push(u):o.push(A("",I,{groupId:i[n-1]}))),p&&(_e(a)?ge(a.next)&&c.push(B,B):p===B?ge(a.next)&&c.push(B):l.push(p)),[...s,L([...o,L([Qt(e,t,r),...l],{id:i[n]})]),...c]}),"children")}function tr(e,t,r){let{node:n}=e,i=[];(function(e){let{previous:t}=e;return"angularControlFlowBlock"===(null==t?void 0:t.type)&&!me(t)&&!rr(t)})(e)&&i.push("} "),i.push("@",n.name),n.parameters&&i.push(" (",L(r("parameters")),")"),i.push(" {");let a=rr(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,i.push(x([B,er(e,t,r)])),a&&i.push(B,"}")):a&&i.push("}"),L(i,{shouldBreak:!0})}function rr(e){var t,r;return!("angularControlFlowBlock"===(null==(t=e.next)?void 0:t.type)&&null!=(r=Yt.get(e.name))&&r.has(e.next.name))}function nr(e,t,r){let{node:n}=e;if(de(n,t))return[Ft(n,t),L(Ht(e,t,r)),U(Ot(n,t)),...wt(n,t),xt(n,t)];let i=1===n.children.length&&("interpolation"===n.firstChild.type||"angularIcuExpression"===n.firstChild.type)&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,a=Symbol("element-attr-group-id"),s=i=>L([L(Ht(e,t,r),{id:a}),i,wt(n,t)]);return 0===n.children.length?s(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?D:""):s([we(n)?N:"",(o=[i?A(I,"",{groupId:a}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?D:"text"===n.firstChild.type&&n.isWhitespaceSensitive&&n.isIndentationSensitive?function(e){return E(Number.NEGATIVE_INFINITY,e)}(I):I,er(e,t,r)],i?function(e,t){return{type:g,contents:e,groupId:t.groupId,negate:t.negate}}(o,{groupId:a}):!fe(n)&&!Fe(n,t)||"root"!==n.parent.type||"vue"!==t.parser||t.vueIndentScriptAndStyle?x(o):o),(n.next?At(n.next):Nt(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":i?A(I,"",{groupId:a}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?D:("comment"===n.lastChild.type||"text"===n.lastChild.type&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(n.lastChild.value)?"":I]);var o}function ir(e){return e>=9&&e<=32||160==e}function ar(e){return 48<=e&&e<=57}function sr(e){return e>=97&&e<=122||e>=65&&e<=90}function or(e){return 10===e||13===e}function lr(e){return 48<=e&&e<=55}function cr(e){return 39===e||34===e||96===e}var ur=/-+([a-z0-9])/g;var pr,hr,dr=class e{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let r=this.file.content,n=r.length,i=this.offset,a=this.line,s=this.col;for(;i>0&&t<0;)if(i--,t++,10==r.charCodeAt(i)){a--;let e=r.substring(0,i-1).lastIndexOf(String.fromCharCode(10));s=e>0?i-e:i}else s--;for(;i<n&&t>0;){let e=r.charCodeAt(i);i++,t--,10==e?(a++,s=0):s++}return new e(this.file,i,a,s)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let i=n,a=0,s=0;for(;a<e&&n>0&&(n--,a++,"\n"!=r[n]||++s!=t););for(a=0,s=0;a<e&&i<r.length-1&&(i++,a++,"\n"!=r[i]||++s!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,i+1)}}return null}},mr=class{constructor(e,t){this.content=e,this.url=t}},gr=class{constructor(e,t,r=e,n=null){this.start=e,this.end=t,this.fullStart=r,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};(hr=pr||(pr={}))[hr.WARNING=0]="WARNING",hr[hr.ERROR=1]="ERROR";var fr=class{constructor(e,t,r=pr.ERROR){this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${pr[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},vr=[function(e){e.walk((e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}}))},function(e){let t=e=>{var t,r;return"element"===e.type&&"ieConditionalStartComment"===(null==(t=e.prev)?void 0:t.type)&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&"ieConditionalEndComment"===(null==(r=e.firstChild)?void 0:r.type)&&e.firstChild.sourceSpan.start.offset===e.startSourceSpan.end.offset};e.walk((e=>{if(e.children)for(let r=0;r<e.children.length;r++){let n=e.children[r];if(!t(n))continue;let i=n.prev,a=n.firstChild;e.removeChild(i),r--;let s=new gr(i.sourceSpan.start,a.sourceSpan.end),o=new gr(s.start,n.sourceSpan.end);n.condition=i.condition,n.sourceSpan=o,n.startSourceSpan=s,n.removeChild(a)}}))},function(e){return function(e,t,r){e.walk((e=>{if(e.children)for(let n=0;n<e.children.length;n++){let i=e.children[n];if("text"!==i.type&&!t(i))continue;"text"!==i.type&&(i.type="text",i.value=r(i));let a=i.prev;!a||"text"!==a.type||(a.value+=i.value,a.sourceSpan=new gr(a.sourceSpan.start,i.sourceSpan.end),e.removeChild(i),n--)}}))}(e,(e=>"cdata"===e.type),(e=>`<![CDATA[${e.value}]]>`))},function(e,t){if("html"===t.parser)return;let r=/{{(.+?)}}/s;e.walk((e=>{if(function(e){return e.children&&!fe(e)}(e))for(let t of e.children){if("text"!==t.type)continue;let n=t.sourceSpan.start,i=null,a=t.value.split(r);for(let r=0;r<a.length;r++,n=i){let s=a[r];r%2!=0?(i=n.moveBy(s.length+4),e.insertChildBefore(t,{type:"interpolation",sourceSpan:new gr(n,i),children:0===s.length?[]:[{type:"text",value:s,sourceSpan:new gr(n.moveBy(2),i.moveBy(-2))}]})):(i=n.moveBy(s.length),s.length>0&&e.insertChildBefore(t,{type:"text",value:s,sourceSpan:new gr(n,i)}))}e.removeChild(t)}}))},function(e){e.walk((e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===z.trim(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let t=function(e){return fe(e)||"interpolation"===e.type||ve(e)}(e),r=ve(e);if(!t)for(let t=0;t<e.children.length;t++){let r=e.children[t];if("text"!==r.type)continue;let{leadingWhitespace:n,text:i,trailingWhitespace:a}=he(r.value),s=r.prev,o=r.next;i?(r.value=i,r.sourceSpan=new gr(r.sourceSpan.start.moveBy(n.length),r.sourceSpan.end.moveBy(-a.length)),n&&(s&&(s.hasTrailingSpaces=!0),r.hasLeadingSpaces=!0),a&&(r.hasTrailingSpaces=!0,o&&(o.hasLeadingSpaces=!0))):(e.removeChild(r),t--,(n||a)&&(s&&(s.hasTrailingSpaces=!0),o&&(o.hasLeadingSpaces=!0)))}e.isWhitespaceSensitive=t,e.isIndentationSensitive=r}))},function(e,t){e.walk((e=>{e.cssDisplay=function(e,t){var r;if(Ue(e,t))return"block";if("comment"===(null==(r=e.prev)?void 0:r.type)){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(t)return t[1]}let n=!1;if("element"===e.type&&"svg"===e.namespace){if(!function(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}(e,(e=>"svg:foreignObject"===e.fullName)))return"svg"===e.name?"inline-block":"block";n=!0}switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"element"===e.type&&(!e.namespace||n||ue(e))&&oe[e.name]||se}}(e,t)}))},function(e){e.walk((e=>{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.endSourceSpan&&e.startSourceSpan.start===e.endSourceSpan.start&&e.startSourceSpan.end===e.endSourceSpan.end)}))},function(e,t){e.walk((e=>{"element"===e.type&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))}))},function(e,t){e.walk((e=>{let{children:r}=e;if(r){if(0===r.length)return void(e.isDanglingSpaceSensitive=be(e));for(let e of r)e.isLeadingSpaceSensitive=Se(e,t),e.isTrailingSpaceSensitive=ye(e,t);for(let e=0;e<r.length;e++){let t=r[e];t.isLeadingSpaceSensitive=(0===e||t.prev.isTrailingSpaceSensitive)&&t.isLeadingSpaceSensitive,t.isTrailingSpaceSensitive=(e===r.length-1||t.next.isLeadingSpaceSensitive)&&t.isTrailingSpaceSensitive}}}))},function(e){let t=e=>{var t,r;return"element"===e.type&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.type&&!z.hasWhitespaceCharacter(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&"text"===(null==(t=e.prev)?void 0:t.type)&&"text"===(null==(r=e.next)?void 0:r.type)};e.walk((e=>{if(e.children)for(let r=0;r<e.children.length;r++){let n=e.children[r];if(!t(n))continue;let i=n.prev,a=n.next;i.value+=`<${n.rawName}>`+n.firstChild.value+`</${n.rawName}>`+a.value,i.sourceSpan=new gr(i.sourceSpan.start,a.sourceSpan.end),i.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,i.hasTrailingSpaces=a.hasTrailingSpaces,e.removeChild(n),r--,e.removeChild(a)}}))}];var Sr=function(e,t){for(let r of vr)r(e,t);return e};var yr,br,_r={preprocess:Sr,print:function(e,t,r){let{node:n}=e;switch(n.type){case"front-matter":return U(n.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[L(er(e,t,r)),B];case"element":case"ieConditionalComment":return nr(e,t,r);case"angularControlFlowBlock":return tr(e,t,r);case"angularControlFlowBlockParameters":return function(e,t,r){return[x([I,M([";",D],e.map(r,"children"))]),I]}(e,0,r);case"angularControlFlowBlockParameter":return z.trim(n.expression);case"angularIcuExpression":return function(e,t,r){let{node:n}=e;return[Rt(n,t),L([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",x([D,M(D,e.map(r,"cases"))])]:"",I]),Ct(n,t)]}(e,t,r);case"angularIcuCase":return function(e,t,r){let{node:n}=e;return[n.value," {",L([x([I,e.map((({node:e})=>"text"!==e.type||z.trim(e.value)?r():""),"expression")]),I]),"}"]}(e,0,r);case"ieConditionalStartComment":case"ieConditionalEndComment":return[Rt(n),Ct(n)];case"interpolation":return[Rt(n,t),...e.map(r,"children"),Ct(n,t)];case"text":{if("interpolation"===n.parent.type){let e=/\n[^\S\n]*$/,t=e.test(n.value);return[U(t?n.value.replace(e,""):n.value),t?B:""]}let e=F([Ft(n,t),...Oe(n),xt(n,t)]);return Array.isArray(e)?q(e):e}case"docType":return[L([Rt(n,t)," ",a(!1,n.value.replace(/^html\b/i,"html"),/\s+/g," ")]),Ct(n,t)];case"comment":return[Ft(n,t),U(t.originalText.slice(bt(n),_t(n))),xt(n,t)];case"attribute":{if(null===n.value)return n.rawName;let e=Me(n.value),t=O(e,'"');return[n.rawName,"=",t,U('"'===t?a(!1,e,'"',"""):a(!1,e,"'","'")),t]}default:throw new j(n,"HTML")}},insertPragma:function(e){return"\x3c!-- @format --\x3e\n\n"+e},massageAstNode:J,embed:$t,getVisitorKeys:Kt},wr=_r,kr=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],Cr={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},Tr="HTML",xr={bracketSameLine:Cr.bracketSameLine,htmlWhitespaceSensitivity:{category:Tr,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:Cr.singleAttributePerLine,vueIndentScriptAndStyle:{category:Tr,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Er={};t(Er,{angular:()=>ai,html:()=>ii,lwc:()=>oi,vue:()=>si}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(yr||(yr={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(br||(br={}));var Lr,qr,Ar,Nr,Dr="custom-elements",Ir="no-errors-schema";function Br(e){if(":"!=e[0])return[null,e];let t=e.indexOf(":",1);if(-1===t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function Pr(e){return"ng-container"===Br(e)[1]}function Mr(e){return"ng-content"===Br(e)[1]}function Hr(e){return null===e?null:Br(e)[0]}function Rr(e,t){return e?`:${e}:${t}`:t}function Fr(){return Nr||(Nr={},Ur(Lr.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Ur(Lr.STYLE,["*|style"]),Ur(Lr.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),Ur(Lr.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),Nr}function Ur(e,t){for(let r of t)Nr[r.toLowerCase()]=e}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Lr||(Lr={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(qr||(qr={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(Ar||(Ar={}));var Vr=class{},Or=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],Wr=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),$r=Array.from(Wr).reduce(((e,[t,r])=>(e.set(t,r),e)),new Map),zr=class extends Vr{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,Or.forEach((e=>{let t=new Map,r=new Set,[n,i]=e.split("|"),a=i.split(","),[s,o]=n.split("^");s.split(",").forEach((e=>{this._schema.set(e.toLowerCase(),t),this._eventSchema.set(e.toLowerCase(),r)}));let l=o&&this._schema.get(o.toLowerCase());if(l){for(let[e,r]of l)t.set(e,r);for(let e of this._eventSchema.get(o.toLowerCase()))r.add(e)}a.forEach((e=>{if(e.length>0)switch(e[0]){case"*":r.add(e.substring(1));break;case"!":t.set(e.substring(1),"boolean");break;case"#":t.set(e.substring(1),"number");break;case"%":t.set(e.substring(1),"object");break;default:t.set(e,"string")}}))}))}hasProperty(e,t,r){if(r.some((e=>e.name===Ir)))return!0;if(e.indexOf("-")>-1){if(Pr(e)||Mr(e))return!1;if(r.some((e=>e.name===Dr)))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return!!(t.some((e=>e.name===Ir))||e.indexOf("-")>-1&&(Pr(e)||Mr(e)||t.some((e=>e.name===Dr))))||this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Fr()[e+"|"+t];return n||(n=Fr()["*|"+t],n||Lr.NONE)}getMappedPropName(e){return Wr.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map((e=>$r.get(e)??e))}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return function(e){return e.replace(ur,((...e)=>e[1].toUpperCase()))}(e)}normalizeAnimationStyleValue(e,t,r){let n="",i=r.toString().trim(),a=null;if(function(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(e)&&0!==r&&"0"!==r)if("number"==typeof r)n="px";else{let e=r.match(/^[+-]?[\d\.]+([a-z]*)$/);e&&0==e[1].length&&(a=`Please provide a CSS unit value for ${t}:${r}`)}return{error:a,value:i+n}}};var jr,Gr,Kr=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=Ar.PARSABLE_DATA,closedByParent:n=!1,isVoid:i=!1,ignoreFirstLf:a=!1,preventNamespaceInheritance:s=!1,canSelfClose:o=!1}={}){this.closedByChildren={},this.closedByParent=!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=a,this.preventNamespaceInheritance=s,this.canSelfClose=o??i}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return"object"==typeof this.contentType?(void 0===e?void 0:this.contentType[e])??this.contentType.default:this.contentType}};function Xr(e){return Gr||(jr=new Kr({canSelfClose:!0}),Gr=Object.assign(Object.create(null),{base:new Kr({isVoid:!0}),meta:new Kr({isVoid:!0}),area:new Kr({isVoid:!0}),embed:new Kr({isVoid:!0}),link:new Kr({isVoid:!0}),img:new Kr({isVoid:!0}),input:new Kr({isVoid:!0}),param:new Kr({isVoid:!0}),hr:new Kr({isVoid:!0}),br:new Kr({isVoid:!0}),source:new Kr({isVoid:!0}),track:new Kr({isVoid:!0}),wbr:new Kr({isVoid:!0}),p:new Kr({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 Kr({closedByChildren:["tbody","tfoot"]}),tbody:new Kr({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new Kr({closedByChildren:["tbody"],closedByParent:!0}),tr:new Kr({closedByChildren:["tr"],closedByParent:!0}),td:new Kr({closedByChildren:["td","th"],closedByParent:!0}),th:new Kr({closedByChildren:["td","th"],closedByParent:!0}),col:new Kr({isVoid:!0}),svg:new Kr({implicitNamespacePrefix:"svg"}),foreignObject:new Kr({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new Kr({implicitNamespacePrefix:"math"}),li:new Kr({closedByChildren:["li"],closedByParent:!0}),dt:new Kr({closedByChildren:["dt","dd"]}),dd:new Kr({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new Kr({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new Kr({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new Kr({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new Kr({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new Kr({closedByChildren:["optgroup"],closedByParent:!0}),option:new Kr({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new Kr({ignoreFirstLf:!0}),listing:new Kr({ignoreFirstLf:!0}),style:new Kr({contentType:Ar.RAW_TEXT}),script:new Kr({contentType:Ar.RAW_TEXT}),title:new Kr({contentType:{default:Ar.ESCAPABLE_RAW_TEXT,svg:Ar.PARSABLE_DATA}}),textarea:new Kr({contentType:Ar.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),(new zr).allKnownElementNames().forEach((e=>{!Gr[e]&&null===Hr(e)&&(Gr[e]=new Kr({canSelfClose:!1}))}))),Gr[e]??jr}var Yr=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},Jr=class extends Yr{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},Qr=class extends Yr{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},Zr=class extends Yr{constructor(e,t,r,n,i,a){super(n,a),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=i}visit(e,t){return e.visitExpansion(this,t)}},en=class{constructor(e,t,r,n,i){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=i,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},tn=class extends Yr{constructor(e,t,r,n,i,a,s){super(r,s),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=i,this.valueTokens=a,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},rn=class extends Yr{constructor(e,t,r,n,i,a=null,s=null,o){super(n,o),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=i,this.endSourceSpan=a,this.nameSpan=s,this.type="element"}visit(e,t){return e.visitElement(this,t)}},nn=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},an=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},sn=class{constructor(e,t,r,n,i,a=null){this.name=e,this.parameters=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=i,this.endSourceSpan=a,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},on=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}};function ln(e,t,r=null){let n=[],i=e.visit?t=>e.visit(t,r)||t.visit(e,r):t=>t.visit(e,r);return t.forEach((e=>{let t=i(e);t&&n.push(t)})),n}var cn=class{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){}visitBlock(e,t){this.visitChildren(t,(t=>{t(e.parameters),t(e.children)}))}visitBlockParameter(e,t){}visitChildren(e,t){let r=[],n=this;return t((function(t){t&&r.push(ln(n,t,e))})),Array.prototype.concat.apply([],r)}},un={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",af:"",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"",ic:"",InvisibleTimes:"",it:"",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",ZeroWidthSpace:"",NewLine:"\n",Nfr:"𝔑",NoBreak:"",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:" ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"",zwnj:""};un.ngsp="";var pn=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];var hn=new class e{static fromArray(t){return t?(function(e,t){if(null!=t&&(!Array.isArray(t)||2!=t.length))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(null!=t){let e=t[0],r=t[1];pn.forEach((t=>{if(t.test(e)||t.test(r))throw new Error(`['${e}', '${r}'] contains unusable interpolation symbol.`)}))}}("interpolation",t),new e(t[0],t[1])):hn}constructor(e,t){this.start=e,this.end=t}}("{{","}}"),dn=class extends fr{constructor(e,t,r){super(r,e),this.tokenType=t}},mn=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}};var gn,fn=/\r\n?/g;function vn(e){return`Unexpected character "${0===e?"EOF":String.fromCharCode(e)}"`}function Sn(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}!function(e){e.HEX="hexadecimal",e.DEC="decimal"}(gn||(gn={}));var yn=class{constructor(e){this.error=e}},bn=class{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.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||hn,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map((e=>e.codePointAt(0)||0)),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new An(e,n):new qn(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0;try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(fn,"\n")}tokenize(){for(;0!==this._cursor.peek();){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):!this._tokenizeBlocks||this._inInterpolation||this._isInExpansionCase()||this._isInExpansionForm()||!this._attemptCharCode(125)?this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,(()=>this._isTextEnd()),(()=>this._isTagStart())):this._consumeBlockEnd(e)}catch(e){this.handleError(e)}}this._beginToken(30),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn((t=>ir(t)?!e:!En(t)||(e=!0,!1))),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(40===this._cursor.peek()){if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(_n),!this._attemptCharCode(41))return void(t.type=29);this._attemptCharCodeUntilFn(_n)}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Ln);41!==this._cursor.peek()&&0!==this._cursor.peek();){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;59!==this._cursor.peek()&&0!==this._cursor.peek()||null!==t;){let e=this._cursor.peek();if(92===e)this._cursor.advance();else if(e===t)t=null;else if(null===t&&cr(e))t=e;else if(40===e&&null===t)r++;else if(41===e&&null===t){if(0===r)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Ln)}}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(function(e){return 125!==e}(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(125===this._cursor.peek()){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(null===this._currentTokenStart)throw new dn("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(null===this._currentTokenType)throw new dn("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');let r=new dn(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new yn(r)}handleError(e){if(e instanceof Nn&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof yn))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!function(e,t){return xn(e)===xn(t)}(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(vn(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._cursor=r,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))return!1;return!0}_requireStr(e){let t=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(vn(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(vn(this._cursor.peek()),this._cursor.getSpan(t))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,t){let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(r)<t)throw this._createError(vn(this._cursor.peek()),this._cursor.getSpan(r))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_readChar(){let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_consumeEntity(e){this._beginToken(9);let t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let e=this._attemptCharCode(120)||this._attemptCharCode(88),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(Cn),59!=this._cursor.peek()){this._cursor.advance();let r=e?gn.HEX:gn.DEC;throw this._createError(function(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}(r,this._cursor.getChars(t)),this._cursor.getSpan())}let n=this._cursor.getChars(r);this._cursor.advance();try{let r=parseInt(n,e?16:10);this._endToken([String.fromCharCode(r),this._cursor.getChars(t)])}catch{throw this._createError(Sn(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(Tn),59!=this._cursor.peek())this._beginToken(e,t),this._cursor=r,this._endToken(["&"]);else{let e=this._cursor.getChars(r);this._cursor.advance();let n=un[e];if(!n)throw this._createError(Sn(e),this._cursor.getSpan(t));this._endToken([n,`&${e};`])}}}_consumeRawText(e,t){this._beginToken(e?6:7);let r=[];for(;;){let n=this._cursor.clone(),i=t();if(this._cursor=n,i)break;e&&38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(r.join(""))]),r.length=0,this._consumeEntity(6),this._beginToken(6)):r.push(this._readChar())}this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("--\x3e"))),this._beginToken(11),this._requireStr("--\x3e"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,(()=>62===this._cursor.peek())),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("]]>"))),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,(()=>62===this._cursor.peek())),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e,t=this._cursor.clone(),r="";for(;58!==this._cursor.peek()&&!kn(this._cursor.peek());)this._cursor.advance();return 58===this._cursor.peek()?(r=this._cursor.getChars(t),this._cursor.advance(),e=this._cursor.clone()):e=t,this._requireCharCodeUntilFn(wn,""===r?0:1),[r,this._cursor.getChars(e)]}_consumeTagOpen(e){let t,r,n,i=[];try{if(!sr(this._cursor.peek()))throw this._createError(vn(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(_n);47!==this._cursor.peek()&&62!==this._cursor.peek()&&60!==this._cursor.peek()&&0!==this._cursor.peek();){let[e,t]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(_n),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(_n);let r=this._consumeAttributeValue();i.push({prefix:e,name:t,value:r})}else i.push({prefix:e,name:t});this._attemptCharCodeUntilFn(_n)}this._consumeTagOpenEnd()}catch(t){if(t instanceof yn)return void(n?n.type=4:(this._beginToken(5,e),this._endToken(["<"])));throw t}if(this._canSelfClose&&2===this.tokens[this.tokens.length-1].type)return;let a=this._getTagContentType(t,r,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(r,t),a===Ar.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):a===Ar.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,(()=>!!(this._attemptCharCode(60)&&this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(_n),this._attemptStrCaseInsensitive(e?`${e}:${t}`:t)))&&(this._attemptCharCodeUntilFn(_n),this._attemptCharCode(62)))),this._beginToken(3),this._requireCharCodeUntilFn((e=>62===e),3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(39===e||34===e)throw this._createError(vn(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(39===this._cursor.peek()||34===this._cursor.peek()){let t=this._cursor.peek();this._consumeQuote(t);let r=()=>this._cursor.peek()===t;e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=()=>wn(this._cursor.peek());e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(_n),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(_n),this._requireCharCode(62),this._endToken([]);else{let[e,t]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(_n),this._requireCharCode(62),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let r=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(r)}this._requireCharCode(44),this._attemptCharCodeUntilFn(_n),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(_n)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(_n),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(_n),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(_n),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let i=[];for(;!r();){let r=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(i.join(""))],r),i.length=0,this._consumeInterpolation(t,r,n),this._beginToken(e)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(i.join(""))]),i.length=0,this._consumeEntity(e),this._beginToken(e)):i.push(this._readChar())}this._inInterpolation=!1;let a=this._processCarriageReturns(i.join(""));return this._endToken([a]),a}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let i=this._cursor.clone(),a=null,s=!1;for(;0!==this._cursor.peek()&&(null===r||!r());){let e=this._cursor.clone();if(this._isTagStart())return this._cursor=e,n.push(this._getProcessedChars(i,e)),void this._endToken(n);if(null===a){if(this._attemptStr(this._interpolationConfig.end))return n.push(this._getProcessedChars(i,e)),n.push(this._interpolationConfig.end),void this._endToken(n);this._attemptStr("//")&&(s=!0)}let t=this._cursor.peek();this._cursor.advance(),92===t?this._cursor.advance():t===a?a=null:!s&&null===a&&cr(t)&&(a=t)}n.push(this._getProcessedChars(i,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||0===this._cursor.peek()||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||125===this._cursor.peek()&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||125===this._cursor.peek()))}_isTagStart(){if(60===this._cursor.peek()){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||47===t||33===t)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&64===this._cursor.peek()){let e=this._cursor.clone();if(e.advance(),En(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&22===this._expansionCaseStack[this._expansionCaseStack.length-1]}_isInExpansionForm(){return this._expansionCaseStack.length>0&&20===this._expansionCaseStack[this._expansionCaseStack.length-1]}isExpansionFormStart(){if(123!==this._cursor.peek())return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=Rr(e,t);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Rr(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function _n(e){return!ir(e)||0===e}function wn(e){return ir(e)||62===e||60===e||47===e||39===e||34===e||61===e||0===e}function kn(e){return(e<97||122<e)&&(e<65||90<e)&&(e<48||e>57)}function Cn(e){return 59===e||0===e||!function(e){return e>=97&&e<=102||e>=65&&e<=70||ar(e)}(e)}function Tn(e){return 59===e||0===e||!sr(e)}function xn(e){return e>=97&&e<=122?e-97+65:e}function En(e){return sr(e)||ar(e)||95===e}function Ln(e){return 59!==e&&_n(e)}var qn=class e{constructor(t,r){if(t instanceof e){this.file=t.file,this.input=t.input,this.end=t.end;let e=t.state;this.state={peek:e.peek,offset:e.offset,line:e.line,column:e.column}}else{if(!r)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=t,this.input=t.content,this.end=r.endPos,this.state={peek:-1,offset:r.startPos,line:r.startLine,column:r.startCol}}}clone(){return new e(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){let r=e=e||this;if(t)for(;this.diff(e)>0&&-1!==t.indexOf(e.peek());)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),i=this.locationFromCursor(this),a=r!==e?this.locationFromCursor(r):n;return new gr(n,i,a)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Nn('Unexpected character "EOF"',this);let t=this.charAt(e.offset);10===t?(e.line++,e.column=0):or(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new dr(e.file,e.state.offset,e.state.line,e.state.column)}},An=class e extends qn{constructor(t,r){t instanceof e?(super(t),this.internalState={...t.internalState}):(super(t,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new e(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offset<this.internalState.offset;)r+=String.fromCodePoint(t.peek()),t.advance();return r}processEscapeSequence(){let e=()=>this.internalState.peek;if(92===e())if(this.internalState={...this.state},this.advanceState(this.internalState),110===e())this.state.peek=10;else if(114===e())this.state.peek=13;else if(118===e())this.state.peek=11;else if(116===e())this.state.peek=9;else if(98===e())this.state.peek=8;else if(102===e())this.state.peek=12;else if(117===e())if(this.advanceState(this.internalState),123===e()){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;125!==e();)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let e=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,4)}else if(120===e()){this.advanceState(this.internalState);let e=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(e,2)}else if(lr(e())){let t="",r=0,n=this.clone();for(;lr(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else or(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new Nn("Invalid hexadecimal escape sequence",e);return n}},Nn=class{constructor(e,t){this.msg=e,this.cursor=t}},Dn=class e extends fr{static create(t,r,n){return new e(t,r,n)}constructor(e,t,r){super(t,r),this.elementName=e}},In=class{constructor(e,t){this.rootNodes=e,this.errors=t}},Bn=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,i){let a=e=>(t,...r)=>e(t.toLowerCase(),...r),s=n?this.getTagDefinition:a(this.getTagDefinition),o=e=>s(e).getContentType(),l=n?i:a(i),c=function(e,t,r,n={}){let i=new bn(new mr(e,t),r,n);return i.tokenize(),new mn(function(e){let t,r=[];for(let n=0;n<e.length;n++){let i=e[n];t&&5===t.type&&5===i.type||t&&16===t.type&&16===i.type?(t.parts[0]+=i.parts[0],t.sourceSpan.end=i.sourceSpan.end):(t=i,r.push(t))}return r}(i.tokens),i.errors,i.nonNormalizedIcuExpressions)}(e,t,i?(e,t,r,n)=>{let i=l(e,t,r,n);return void 0!==i?i:o(e)}:o,r),u=r&&r.canSelfClose||!1,p=r&&r.allowHtmComponentClosingTags||!1,h=new Pn(c.tokens,s,u,p,n);return h.build(),new In(h.rootNodes,c.errors.concat(h.errors))}},Pn=class e{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._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;30!==this._peek.type;)0===this._peek.type||4===this._peek.type?this._consumeStartTag(this._advance()):3===this._peek.type?(this._closeVoidElement(),this._consumeEndTag(this._advance())):12===this._peek.type?(this._closeVoidElement(),this._consumeCdata(this._advance())):10===this._peek.type?(this._closeVoidElement(),this._consumeComment(this._advance())):5===this._peek.type||7===this._peek.type||6===this._peek.type?(this._closeVoidElement(),this._consumeText(this._advance())):20===this._peek.type?this._consumeExpansion(this._advance()):25===this._peek.type?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):27===this._peek.type?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):29===this._peek.type?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):18===this._peek.type?this._consumeDocType(this._advance()):this._advance();for(let e of this._containerStack)e instanceof sn&&this.errors.push(Dn.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let 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){let t=this._advance(),r=this._getText(t),n=this._advanceIf(13);this._addToParent(new Qr(r,new gr(e.sourceSpan.start,(n||t).sourceSpan.end),[t]))}_consumeComment(e){let t=this._advanceIf(7),r=this._advanceIf(11),n=null!=t?t.parts[0].trim():null,i=new gr(e.sourceSpan.start,(r||t||e).sourceSpan.end);this._addToParent(new nn(n,i))}_consumeDocType(e){let t=this._advanceIf(7),r=this._advanceIf(19),n=null!=t?t.parts[0].trim():null,i=new gr(e.sourceSpan.start,(r||t||e).sourceSpan.end);this._addToParent(new an(n,i))}_consumeExpansion(e){let t=this._advance(),r=this._advance(),n=[];for(;21===this._peek.type;){let e=this._parseExpansionCase();if(!e)return;n.push(e)}if(24!==this._peek.type)return void this.errors.push(Dn.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));let i=new gr(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new Zr(t.parts[0],r.parts[0],n,i,t.sourceSpan)),this._advance()}_parseExpansionCase(){let t=this._advance();if(22!==this._peek.type)return this.errors.push(Dn.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let r=this._advance(),n=this._collectExpansionExpTokens(r);if(!n)return null;let i=this._advance();n.push({type:30,parts:[],sourceSpan:i.sourceSpan});let a=new e(n,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(a.build(),a.errors.length>0)return this.errors=this.errors.concat(a.errors),null;let s=new gr(t.sourceSpan.start,i.sourceSpan.end,t.sourceSpan.fullStart),o=new gr(r.sourceSpan.start,i.sourceSpan.end,r.sourceSpan.fullStart);return new en(t.parts[0],a.rootNodes,s,t.sourceSpan,o)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((20===this._peek.type||22===this._peek.type)&&r.push(this._peek.type),23===this._peek.type){if(!Mn(r,22))return this.errors.push(Dn.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(r.pop(),0===r.length)return t}if(24===this._peek.type){if(!Mn(r,20))return this.errors.push(Dn.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.pop()}if(30===this._peek.type)return this.errors.push(Dn.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&"\n"==t[0]){let e=this._getClosestParentElement();null!=e&&0==e.children.length&&this.getTagDefinition(e.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&"\n"===n[0]){let r=this._getContainer();null!=r&&0===r.children.length&&this.getTagDefinition(r.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;8===this._peek.type||5===this._peek.type||9===this._peek.type;)e=this._advance(),t.push(e),8===e.type?n+=e.parts.join("").replace(/&([^;]+);/g,Hn):9===e.type?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let i=e.sourceSpan;this._addToParent(new Jr(n,new gr(r.start,i.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof rn&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;14===this._peek.type;)n.push(this._consumeAttr(this._advance()));let i=this._getElementFullName(t,r,this._getClosestParentElement()),a=!1;if(2===this._peek.type){this._advance(),a=!0;let t=this.getTagDefinition(i);this.canSelfClose||t.canSelfClose||null!==Hr(i)||t.isVoid||this.errors.push(Dn.create(i,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else 1===this._peek.type&&(this._advance(),a=!1);let s=this._peek.sourceSpan.fullStart,o=new gr(e.sourceSpan.start,s,e.sourceSpan.fullStart),l=new gr(e.sourceSpan.start,s,e.sourceSpan.fullStart),c=new gr(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),u=new rn(i,n,[],o,l,void 0,c),p=this._getContainer();this._pushContainer(u,p instanceof rn&&this.getTagDefinition(p.name).isClosedByChild(u.name)),a?this._popContainer(i,rn,o):4===e.type&&(this._popContainer(i,rn,null),this.errors.push(Dn.create(i,o,`Opening tag "${i}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(Dn.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,rn,e.sourceSpan)){let r=`Unexpected closing tag "${t}". 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(Dn.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let i=this._containerStack.length-1;i>=0;i--){let a=this._containerStack[i];if(Hr(a.name)?a.name===e:(null==e||a.name.toLowerCase()===e.toLowerCase())&&a instanceof t)return a.endSourceSpan=r,a.sourceSpan.end=null!==r?r.end:a.sourceSpan.end,this._containerStack.splice(i,this._containerStack.length-i),!n;(a instanceof sn||a instanceof rn&&!this.getTagDefinition(a.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t,r=Rr(e.parts[0],e.parts[1]),n=e.sourceSpan.end;15===this._peek.type&&(t=this._advance());let i,a,s="",o=[];if(16===this._peek.type)for(i=this._peek.sourceSpan,a=this._peek.sourceSpan.end;16===this._peek.type||17===this._peek.type||9===this._peek.type;){let e=this._advance();o.push(e),17===e.type?s+=e.parts.join("").replace(/&([^;]+);/g,Hn):9===e.type?s+=e.parts[0]:s+=e.parts.join(""),a=n=e.sourceSpan.end}15===this._peek.type&&(a=n=this._advance().sourceSpan.end);let l=i&&a&&new gr((null==t?void 0:t.sourceSpan.start)??i.start,a,(null==t?void 0:t.sourceSpan.fullStart)??i.fullStart);return new tn(r,s,new gr(e.sourceSpan.start,n,e.sourceSpan.fullStart),e.sourceSpan,l,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;28===this._peek.type;){let e=this._advance();t.push(new on(e.parts[0],e.sourceSpan))}26===this._peek.type&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new gr(e.sourceSpan.start,r,e.sourceSpan.fullStart),i=new gr(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new sn(e.parts[0],t,[],n,i);this._pushContainer(a,!1)}_consumeBlockClose(e){this._popContainer(null,sn,e.sourceSpan)||this.errors.push(Dn.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;28===this._peek.type;){let e=this._advance();t.push(new on(e.parts[0],e.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new gr(e.sourceSpan.start,r,e.sourceSpan.fullStart),i=new gr(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new sn(e.parts[0],t,[],n,i);this._pushContainer(a,!1),this._popContainer(null,sn,null),this.errors.push(Dn.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof rn)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();null===t?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(""===e&&(""===(e=this.getTagDefinition(t).implicitNamespacePrefix||"")&&null!=r)){let t=Br(r.name)[1];this.getTagDefinition(t).preventNamespaceInheritance||(e=Hr(r.name))}return Rr(e,t)}};function Mn(e,t){return e.length>0&&e[e.length-1]===t}function Hn(e,t){return void 0!==un[t]?un[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}var Rn=class extends Bn{constructor(){super(Xr)}parse(e,t,r,n=!1,i){return super.parse(e,t,r,n,i)}},Fn=null,Un=()=>(Fn||(Fn=new Rn),Fn);function Vn(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:i=!1,getTagContentType:a,tokenizeAngularBlocks:s=!1}=t;return Un().parse(e,"angular-html-parser",{tokenizeExpansionForms:s,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:s},i,a)}var On=function(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)},Wn=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");var $n=function(e){let t=e.match(Wn);if(!t)return{content:e};let{startDelimiter:r,language:n,value:i="",endDelimiter:s}=t.groups,o=n.trim()||"yaml";if("+++"===r&&(o="toml"),"yaml"!==o&&r!==s)return{content:e};let[l]=t;return{frontMatter:{type:"front-matter",lang:o,value:i,startDelimiter:r,endDelimiter:s,raw:l.replace(/\n$/,"")},content:a(!1,l,/[^\n]/g," ")+e.slice(l.length)}},zn={attrs:!0,children:!0,cases:!0,expression:!0},jn=new Set(["parent"]),Gn=class e{constructor(e={}){for(let t of new Set([...jn,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in zn&&(t=t.map((e=>this.createChild(e)))),!jn.has(e))return void(this[e]=t);Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in zn){let i=this[n];if(i){let a=Kn(i,(e=>e.map(t)));r!==i&&(r||(r=new e({parent:this.parent})),r.setProperty(n,a))}}if(r)for(let e in this)e in zn||(r[e]=this[e]);return t(r||this)}walk(e){for(let t in zn){let r=this[t];if(r)for(let t=0;t<r.length;t++)r[t].walk(e)}e(this)}createChild(t){let r=t instanceof e?t.clone():new e(t);return r.setProperty("parent",this),r}insertChildBefore(e,t){this.children.splice(this.children.indexOf(e),0,this.createChild(t))}removeChild(e){this.children.splice(this.children.indexOf(e),1)}replaceChild(e,t){this.children[this.children.indexOf(e)]=this.createChild(t)}clone(){return new e(this)}get firstChild(){var e;return null==(e=this.children)?void 0:e[0]}get lastChild(){var e;return null==(e=this.children)?void 0:e[this.children.length-1]}get prev(){var e,t;return null==(t=null==(e=this.parent)?void 0:e.children)?void 0:t[this.parent.children.indexOf(this)-1]}get next(){var e,t;return null==(t=null==(e=this.parent)?void 0:e.children)?void 0:t[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((e=>[e.fullName,e.value])))}};function Kn(e,t){let r=e.map(t);return r.some(((t,r)=>t!==e[r]))?r:e}var Xn=[{regex:/^(\[if([^\]]*)]>)(.*?)<!\s*\[endif]$/s,parse:function(e,t,r){let[,n,i,s]=r,o=4+n.length,l=e.sourceSpan.start.moveBy(o),c=l.moveBy(s.length),[u,p]=(()=>{try{return[!0,t(s,l).children]}catch{return[!1,[{type:"text",value:s,sourceSpan:new gr(l,c)}]]}})();return{type:"ieConditionalComment",complete:u,children:p,condition:a(!1,i.trim(),/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new gr(e.sourceSpan.start,l),endSourceSpan:new gr(c,e.sourceSpan.end)}}},{regex:/^\[if([^\]]*)]><!$/,parse:function(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:a(!1,n.trim(),/\s+/g," "),sourceSpan:e.sourceSpan}}},{regex:/^<!\s*\[endif]$/,parse:function(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}}];var Yn=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),Jn=new Set(["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","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);function Qn(e,t,r){let{name:n,canSelfClose:i=!0,normalizeTagName:a=!1,normalizeAttributeName:s=!1,allowHtmComponentClosingTags:o=!1,isTagNameCaseSensitive:l=!1,shouldParseAsRawText:c}=t,{rootNodes:u,errors:p}=Vn(e,{canSelfClose:i,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:l,getTagContentType:c?(...e)=>c(...e)?Ar.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:"angular"===n||void 0});if("vue"===n){if(u.some((e=>"docType"===e.type&&"html"===e.value||"element"===e.type&&"html"===e.name.toLowerCase())))return Qn(e,ni,r);let t,n=()=>t??(t=Vn(e,{canSelfClose:i,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:l})),a=e=>n().rootNodes.find((({startSourceSpan:t})=>t&&t.start.offset===e.startSourceSpan.start.offset))??e;for(let[e,t]of u.entries()){let{endSourceSpan:i,startSourceSpan:s}=t;if(null===i)p=n().errors,u[e]=a(t);else if(Zn(t,r)){let r=n().errors.find((e=>e.span.start.offset>s.start.offset&&e.span.start.offset<i.end.offset));r&&ei(r),u[e]=a(t)}}}p.length>0&&ei(p[0]);let h=e=>{let t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan.toString(),n=null!==t&&r.startsWith(`${t}:`),i=n?r.slice(t.length+1):r;e.name=i,e.namespace=t,e.hasExplicitNamespace=n},d=(e,t)=>{let r=e.toLowerCase();return t(r)?r:e};return ln(new class extends cn{visitExpansionCase(e,t){"angular"===n&&this.visitChildren(t,(t=>{t(e.expression)}))}visit(e){(e=>{switch(e.type){case"element":h(e);for(let t of e.attrs)h(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case"comment":e.value=e.sourceSpan.toString().slice(4,-3);break;case"text":e.value=e.sourceSpan.toString()}})(e),(e=>{if("element"===e.type){let t=Xr(l?e.name:e.name.toLowerCase());!e.namespace||e.namespace===t.implicitNamespacePrefix||ue(e)?e.tagDefinition=t:e.tagDefinition=Xr("")}})(e),(e=>{if("element"===e.type&&(a&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||ue(e))&&(e.name=d(e.name,(e=>Jn.has(e)))),s))for(let t of e.attrs)t.namespace||(t.name=d(t.name,(t=>Yn.has(e.name)&&(Yn.get("*").has(t)||Yn.get(e.name).has(t)))))})(e),(e=>{e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new gr(e.sourceSpan.start,e.endSourceSpan.end))})(e)}},u),u}function Zn(e,t){var r;if("element"!==e.type||"template"!==e.name)return!1;let n=null==(r=e.attrs.find((e=>"lang"===e.name)))?void 0:r.value;return!n||"html"===ae(t,{language:n})}function ei(e){let{msg:t,span:{start:r,end:n}}=e;throw On(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function ti(e,t,r={},n=!0){let{frontMatter:i,content:s}=n?$n(e):{frontMatter:null,content:e},o=new mr(e,r.filepath),l=new dr(o,0,0,0),c=l.moveBy(e.length),u={type:"root",sourceSpan:new gr(l,c),children:Qn(s,t,r)};if(i){let e=new dr(o,0,0,0),t=e.moveBy(i.raw.length);i.sourceSpan=new gr(e,t),u.children.unshift(i)}let p=new Gn(u),h=(n,i)=>{let{offset:s}=i,o=ti(a(!1,e.slice(0,s),/[^\n\r]/g," ")+n,t,r,!1);o.sourceSpan=new gr(i,H(!1,o.children,-1).sourceSpan.end);let l=o.children[0];return l.length===s?o.children.shift():(l.sourceSpan=new gr(l.sourceSpan.start.moveBy(s),l.sourceSpan.end),l.value=l.value.slice(s)),o};return p.walk((e=>{if("comment"===e.type){let t=function(e,t){if(e.value)for(let{regex:r,parse:n}of Xn){let i=e.value.match(r);if(i)return n(e,t,i)}return null}(e,h);t&&e.parent.replaceChild(e,t)}(function(e){if("block"===e.type){if(e.name=a(!1,e.name.toLowerCase(),/\s+/g," ").trim(),e.type="angularControlFlowBlock",!yt(e.parameters))return void delete e.parameters;for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new gr(e.parameters[0].sourceSpan.start,H(!1,e.parameters,-1).sourceSpan.end)}}})(e),function(e){("plural"===e.type||"select"===e.type)&&(e.clause=e.type,e.type="angularIcuExpression"),"expansionCase"===e.type&&(e.type="angularIcuCase")}(e)})),p}function ri(e){return{parse:(t,r)=>ti(t,e,r),hasPragma:Xt,astFormat:"html",locStart:bt,locEnd:_t}}var ni={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},ii=ri(ni),ai=ri({name:"angular"}),si=ri({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText:(e,t,r,n)=>"html"!==e.toLowerCase()&&!r&&("template"!==e||n.some((({name:e,value:t})=>"lang"===e&&"html"!==t&&""!==t&&void 0!==t)))}),oi=ri({name:"lwc",canSelfClose:!1}),li={html:wr},ci=i;exports.default=ci,exports.languages=kr,exports.options=xr,exports.parsers=Er,exports.printers=li;
|