@mdn/fred 1.9.3 → 1.9.5

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/out/service-worker.js +1 -1
  3. package/out/static/client/2834.2c9c22d03d75f8ab.js +45 -0
  4. package/out/static/client/2834.2c9c22d03d75f8ab.js.map +1 -0
  5. package/out/static/{legacy/4517.95875be9427e7b94.js → client/4517.53978068ee0ae880.js} +16 -16
  6. package/out/static/client/4517.53978068ee0ae880.js.map +1 -0
  7. package/out/static/client/{6375.b0bd61178415174d.js → 6375.f9f7d97ec05ad164.js} +15 -15
  8. package/out/static/client/6375.f9f7d97ec05ad164.js.map +1 -0
  9. package/out/static/client/{8048.3651e7173c6584bb.js → 8048.e9d5e843c9dcfccd.js} +4 -4
  10. package/out/static/client/8048.e9d5e843c9dcfccd.js.map +1 -0
  11. package/out/static/client/8233.81b8c2d171f5ea9f.js +2 -0
  12. package/out/static/client/8233.81b8c2d171f5ea9f.js.map +1 -0
  13. package/out/static/client/8292.90ff3342023b305e.js +30 -0
  14. package/out/static/client/8292.90ff3342023b305e.js.map +1 -0
  15. package/out/static/client/{index.9423e811e5de44e8.js → index.e302be3ef680f1b1.js} +3 -3
  16. package/out/static/client/{index.9423e811e5de44e8.js.map → index.e302be3ef680f1b1.js.map} +1 -1
  17. package/out/static/client/{runtime.d39abe0dd7746993.js → runtime.73dd6e3613d59073.js} +2 -2
  18. package/out/static/client/{runtime.d39abe0dd7746993.js.map → runtime.73dd6e3613d59073.js.map} +1 -1
  19. package/out/static/client/stats.json +136 -136
  20. package/out/static/client/styles-global.54041ed20d3f6e4b.css +2 -0
  21. package/out/static/client/{styles-global.e813b635d036a38b.css.map → styles-global.54041ed20d3f6e4b.css.map} +1 -1
  22. package/out/static/client/{styles-global.c51774a31e1c38ca.js → styles-global.cacaa9e085d65d2c.js} +1 -1
  23. package/out/static/client/watify_bg.dc8862fe10114050.wasm +0 -0
  24. package/out/static/legacy/2834.2c9c22d03d75f8ab.js +45 -0
  25. package/out/static/legacy/2834.2c9c22d03d75f8ab.js.map +1 -0
  26. package/out/static/{client/4517.95875be9427e7b94.js → legacy/4517.53978068ee0ae880.js} +16 -16
  27. package/out/static/legacy/4517.53978068ee0ae880.js.map +1 -0
  28. package/out/static/legacy/{6375.b0bd61178415174d.js → 6375.f9f7d97ec05ad164.js} +15 -15
  29. package/out/static/legacy/6375.f9f7d97ec05ad164.js.map +1 -0
  30. package/out/static/legacy/{8048.3651e7173c6584bb.js → 8048.e9d5e843c9dcfccd.js} +4 -4
  31. package/out/static/legacy/8048.e9d5e843c9dcfccd.js.map +1 -0
  32. package/out/static/legacy/8233.81b8c2d171f5ea9f.js +2 -0
  33. package/out/static/legacy/8233.81b8c2d171f5ea9f.js.map +1 -0
  34. package/out/static/legacy/8292.90ff3342023b305e.js +30 -0
  35. package/out/static/legacy/8292.90ff3342023b305e.js.map +1 -0
  36. package/out/static/legacy/asset-manifest.json +10 -10
  37. package/out/static/legacy/{index.96c76753bf722bda.html → index.108f98a7f3009f85.html} +1 -1
  38. package/out/static/legacy/stats.json +10 -10
  39. package/out/static/legacy/watify_bg.dc8862fe10114050.wasm +0 -0
  40. package/out/static/legacy/{yari.6350b803c5a2a346.js → yari.7fb22296106e2d45.js} +3 -3
  41. package/out/static/legacy/{yari.6350b803c5a2a346.js.map → yari.7fb22296106e2d45.js.map} +1 -1
  42. package/out/static/ssr/2834.js +30 -30
  43. package/out/static/ssr/2834.js.map +1 -1
  44. package/out/static/ssr/4517.js +15 -15
  45. package/out/static/ssr/4517.js.map +1 -1
  46. package/out/static/ssr/6375.js +14 -14
  47. package/out/static/ssr/6375.js.map +1 -1
  48. package/out/static/ssr/8048.js +3 -3
  49. package/out/static/ssr/8048.js.map +1 -1
  50. package/out/static/ssr/8233.js +1 -1
  51. package/out/static/ssr/8233.js.map +1 -1
  52. package/out/static/ssr/8292.js +22 -26
  53. package/out/static/ssr/8292.js.map +1 -1
  54. package/out/static/ssr/index.js +1 -1
  55. package/out/static/ssr/watify_bg.dc8862fe10114050.wasm +0 -0
  56. package/package.json +8 -8
  57. package/out/static/client/2834.4e14b395142c31f8.js +0 -45
  58. package/out/static/client/2834.4e14b395142c31f8.js.map +0 -1
  59. package/out/static/client/4517.95875be9427e7b94.js.map +0 -1
  60. package/out/static/client/6375.b0bd61178415174d.js.map +0 -1
  61. package/out/static/client/8048.3651e7173c6584bb.js.map +0 -1
  62. package/out/static/client/8233.db590d88c5a08a40.js +0 -2
  63. package/out/static/client/8233.db590d88c5a08a40.js.map +0 -1
  64. package/out/static/client/8292.2a97b25783ac6289.js +0 -34
  65. package/out/static/client/8292.2a97b25783ac6289.js.map +0 -1
  66. package/out/static/client/styles-global.e813b635d036a38b.css +0 -2
  67. package/out/static/client/watify_bg.91e8b66f42839b99.wasm +0 -0
  68. package/out/static/legacy/2834.4e14b395142c31f8.js +0 -45
  69. package/out/static/legacy/2834.4e14b395142c31f8.js.map +0 -1
  70. package/out/static/legacy/4517.95875be9427e7b94.js.map +0 -1
  71. package/out/static/legacy/6375.b0bd61178415174d.js.map +0 -1
  72. package/out/static/legacy/8048.3651e7173c6584bb.js.map +0 -1
  73. package/out/static/legacy/8233.db590d88c5a08a40.js +0 -2
  74. package/out/static/legacy/8233.db590d88c5a08a40.js.map +0 -1
  75. package/out/static/legacy/8292.2a97b25783ac6289.js +0 -34
  76. package/out/static/legacy/8292.2a97b25783ac6289.js.map +0 -1
  77. package/out/static/legacy/watify_bg.91e8b66f42839b99.wasm +0 -0
  78. package/out/static/ssr/watify_bg.91e8b66f42839b99.wasm +0 -0
  79. /package/out/static/client/{index.9423e811e5de44e8.js.LICENSE.txt → index.e302be3ef680f1b1.js.LICENSE.txt} +0 -0
  80. /package/out/static/legacy/{yari.6350b803c5a2a346.js.LICENSE.txt → yari.7fb22296106e2d45.js.LICENSE.txt} +0 -0
@@ -1,25 +1,25 @@
1
- export const __rspack_esm_id="6375";export const __rspack_esm_ids=["6375"];export const __webpack_modules__={29082(e,t,r){let n,a;r.r(t),r.d(t,{default:()=>p,languages:()=>r1,options:()=>r4,parsers:()=>r3,printers:()=>nb});var i,s=Object.defineProperty,o=e=>{throw TypeError(e)},l=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})},c=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?s(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},u=(e,t,r)=>(t.has(e)||o("Cannot read from private field"),r?r.call(e):t.get(e)),p={};l(p,{languages:()=>r1,options:()=>r4,parsers:()=>r3,printers:()=>nb});var h=(e,t)=>(r,n,...a)=>1|r&&null==n?void 0:(t.call(n)??n[e]).apply(n,a),d=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},m=h("replaceAll",function(){if("string"==typeof this)return d});function g(e){return this[e<0?this.length+e:e]}var f=h("at",function(){if(Array.isArray(this)||"string"==typeof this)return g}),_=()=>{},v="string",S="array",T="cursor",k="indent",E="align",C="trim",b="group",w="fill",y="if-break",x="indent-if-break",N="line-suffix",L="line-suffix-boundary",A="line",O="label",P="break-parent",D=new Set([T,k,E,C,b,w,y,x,N,L,A,O,P]),I=function(e){if("string"==typeof e)return v;if(Array.isArray(e))return S;if(!e)return;let{type:t}=e;if(D.has(t))return t},R=class extends Error{name="InvalidDocError";constructor(e){super(function(e){let t,r=null===e?"null":typeof e;if("string"!==r&&"object"!==r)return`Unexpected doc '${r}',
2
- Expected it to be 'string' or 'object'.`;if(I(e))throw Error("doc is valid.");let n=Object.prototype.toString.call(e);if("[object Object]"!==n)return`Unexpected doc '${n}'.`;let a=(t=[...D].map(e=>`'${e}'`),new Intl.ListFormat("en-US",{type:"disjunction"}).format(t));return`Unexpected doc.type '${e.type}'.
3
- Expected it to be ${a}.`}(e)),this.doc=e}};function M(e,t){if("string"==typeof e)return t(e);let r=new Map;return function e(n){if(r.has(n))return r.get(n);let a=function(r){switch(I(r)){case S:return t(r.map(e));case w:return t({...r,parts:r.parts.map(e)});case y:return t({...r,breakContents:e(r.breakContents),flatContents:e(r.flatContents)});case b:{let{expandedStates:n,contents:a}=r;return a=n?(n=n.map(e))[0]:e(a),t({...r,contents:a,expandedStates:n})}case E:case k:case x:case O:case N:return t({...r,contents:e(r.contents)});case v:case T:case C:case L:case A:case P:return t(r);default:throw new R(r)}}(n);return r.set(n,a),a}(e)}function q(e,t=X){return M(e,e=>"string"==typeof e?W(t,e.split(`
4
- `)):e)}function B(e){return _(e),{type:k,contents:e}}var H={type:P};function U(e){return _(e),{type:w,parts:e}}function V(e,t={}){return _(e),_(t.expandedStates,!0),{type:b,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function F(e,t="",r={}){return _(e),""!==t&&_(t),{type:y,breakContents:e,flatContents:t,groupId:r.groupId}}function W(e,t){_(e),_(t);let r=[];for(let n=0;n<t.length;n++)0!==n&&r.push(e),r.push(t[n]);return r}var z={type:A},$={type:A,soft:!0},j=[{type:A,hard:!0},H],X=[{type:A,hard:!0,literal:!0},H],G=function(e,t){let r=!0===t||"'"===t?"'":'"',n="'"===r?'"':"'",a=0,i=0;for(let t of e)t===r?a++:t===n&&i++;return a>i?n:r},K=new class{#e;constructor(e){this.#e=new Set(e)}getLeadingWhitespaceCount(e){let t=this.#e,r=0;for(let n=0;n<e.length&&t.has(e.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(e){let t=this.#e,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 this.#e.has(e.charAt(0))}hasTrailingWhitespace(e){return this.#e.has(f(0,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 TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}([...this.#e].join(""))}]+`,n=RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,e=>t.has(e))}hasNonWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,e=>!t.has(e))}isWhitespaceOnly(e){let t=this.#e;return Array.prototype.every.call(e,e=>t.has(e))}#t(e){let t=1/0;for(let r of e.split(`
1
+ export const __rspack_esm_id="6375";export const __rspack_esm_ids=["6375"];export const __webpack_modules__={29082(e,t,r){let n,a;r.r(t),r.d(t,{default:()=>p,languages:()=>r9,options:()=>r7,parsers:()=>ne,printers:()=>nL});var i,s=Object.defineProperty,o=e=>{throw TypeError(e)},l=(e,t)=>{for(var r in t)s(e,r,{get:t[r],enumerable:!0})},c=(e,t,r)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?s(e,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[n]=r},u=(e,t,r)=>(t.has(e)||o("Cannot read from private field"),r?r.call(e):t.get(e)),p={};l(p,{languages:()=>r9,options:()=>r7,parsers:()=>ne,printers:()=>nL});var h=(e,t)=>(r,n,...a)=>1|r&&null==n?void 0:(t.call(n)??n[e]).apply(n,a),d=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},m=h("replaceAll",function(){if("string"==typeof this)return d});function g(e){return this[e<0?this.length+e:e]}var f=h("at",function(){if(Array.isArray(this)||"string"==typeof this)return g}),_=()=>{},v="string",S="array",T="cursor",k="indent",E="align",C="trim",b="group",w="fill",y="if-break",x="indent-if-break",N="line-suffix",L="line-suffix-boundary",A="line",O="label",P="break-parent",D=new Set([T,k,E,C,b,w,y,x,N,L,A,O,P]),R=function(e){if("string"==typeof e)return v;if(Array.isArray(e))return S;if(!e)return;let{type:t}=e;if(D.has(t))return t},I=class extends Error{name="InvalidDocError";constructor(e){super(function(e){let t,r=null===e?"null":typeof e;if("string"!==r&&"object"!==r)return`Unexpected doc '${r}',
2
+ Expected it to be 'string' or 'object'.`;if(R(e))throw Error("doc is valid.");let n=Object.prototype.toString.call(e);if("[object Object]"!==n)return`Unexpected doc '${n}'.`;let a=(t=[...D].map(e=>`'${e}'`),new Intl.ListFormat("en-US",{type:"disjunction"}).format(t));return`Unexpected doc.type '${e.type}'.
3
+ Expected it to be ${a}.`}(e)),this.doc=e}};function M(e,t){if("string"==typeof e)return t(e);let r=new Map;return function e(n){if(r.has(n))return r.get(n);let a=function(r){switch(R(r)){case S:return t(r.map(e));case w:return t({...r,parts:r.parts.map(e)});case y:return t({...r,breakContents:e(r.breakContents),flatContents:e(r.flatContents)});case b:{let{expandedStates:n,contents:a}=r;return a=n?(n=n.map(e))[0]:e(a),t({...r,contents:a,expandedStates:n})}case E:case k:case x:case O:case N:return t({...r,contents:e(r.contents)});case v:case T:case C:case L:case A:case P:return t(r);default:throw new I(r)}}(n);return r.set(n,a),a}(e)}function q(e,t=X){return M(e,e=>"string"==typeof e?W(t,e.split(`
4
+ `)):e)}function B(e){return _(e),{type:k,contents:e}}var H={type:P};function F(e){return _(e),{type:w,parts:e}}function V(e,t={}){return _(e),_(t.expandedStates,!0),{type:b,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function U(e,t="",r={}){return _(e),""!==t&&_(t),{type:y,breakContents:e,flatContents:t,groupId:r.groupId}}function W(e,t){_(e),_(t);let r=[];for(let n=0;n<t.length;n++)0!==n&&r.push(e),r.push(t[n]);return r}var z={type:A},$={type:A,soft:!0},j=[{type:A,hard:!0},H],X=[{type:A,hard:!0,literal:!0},H],G=Object.freeze({character:"'",codePoint:39}),K=Object.freeze({character:'"',codePoint:34}),Y=Object.freeze({preferred:G,alternate:K}),J=Object.freeze({preferred:K,alternate:G}),Q=function(e,t){let{preferred:r,alternate:n}=!0===t||"'"===t?Y:J,{length:a}=e,i=0,s=0;for(let t=0;t<a;t++){let a=e.charCodeAt(t);a===r.codePoint?i++:a===n.codePoint&&s++}return(i>s?n:r).character},Z=new class{#e;constructor(e){this.#e=new Set(e)}getLeadingWhitespaceCount(e){let t=this.#e,r=0;for(let n=0;n<e.length&&t.has(e.charAt(n));n++)r++;return r}getTrailingWhitespaceCount(e){let t=this.#e,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 this.#e.has(e.charAt(0))}hasTrailingWhitespace(e){return this.#e.has(f(0,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 TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}([...this.#e].join(""))}]+`,n=RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,e=>t.has(e))}hasNonWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,e=>!t.has(e))}isWhitespaceOnly(e){let t=this.#e;return Array.prototype.every.call(e,e=>t.has(e))}#t(e){let t=1/0;for(let r of e.split(`
5
5
  `)){if(0===r.length)continue;let e=this.getLeadingWhitespaceCount(r);if(0===e)return 0;r.length!==e&&e<t&&(t=e)}return t===1/0?0:t}dedentString(e){let t=this.#t(e);return 0===t?e:e.split(`
6
6
  `).map(e=>e.slice(t)).join(`
7
7
  `)}}([" ",`
8
- `,"\f","\r"," "]),Y=class extends Error{name="UnexpectedNodeError";constructor(e,t,r="type"){super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},J=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Q=new Set(["if","else if","for","switch","case"]);function Z(e,t,r){if("text"===e.kind||"comment"===e.kind)return null;if("yaml"===e.kind&&delete t.value,"attribute"===e.kind){let{fullName:n,value:a}=e;"style"===n||"class"===n||"srcset"===n&&("img"===r.fullName||"source"===r.fullName)||"allow"===n&&"iframe"===r.fullName||n.startsWith("on")||n.startsWith("@")||n.startsWith(":")||n.startsWith(".")||n.startsWith("#")||n.startsWith("v-")||"vars"===n&&"style"===r.fullName||("setup"===n||"generic"===n)&&"script"===r.fullName||"slot-scope"===n||n.startsWith("(")||n.startsWith("[")||n.startsWith("*")||n.startsWith("bind")||n.startsWith("i18n")||n.startsWith("on-")||n.startsWith("ng-")||a?.includes("{{")?delete t.value:a&&(t.value=m(0,a,/'|&quot;|&apos;/gu,'"'))}if("docType"===e.kind&&(t.value=m(0,e.value.toLowerCase(),/\s+/gu," ")),"angularControlFlowBlock"===e.kind&&e.parameters?.children)for(let r of t.parameters.children)Q.has(e.name)?delete r.expression:r.expression=r.expression.trim();"angularIcuExpression"===e.kind&&(t.switchValue=e.switchValue.trim()),"angularLetDeclarationInitializer"===e.kind&&delete t.value,"element"===e.kind&&e.isVoid&&!e.isSelfClosing&&(t.isSelfClosing=!0)}function ee(e,t=!0){return[B([$,e]),t?$:""]}function et(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 er(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(e,t)=>{a=n(e,t)});let i=await t(e,r,t);return a?V(i):ee(i)}Z.ignoredProperties=J;var en=function(e,t,r,n){let{node:a}=r,i=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(i)?"":er(i,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},et)},ea=Array.prototype.toReversed??function(){return[...this].reverse()},ei=h("toReversed",function(){if(Array.isArray(this))return ea}),es=(n=globalThis,"string"==typeof(a=n.Deno?.build?.os)?"windows"===a:n.navigator?.platform?.startsWith("Win")??n.process?.platform?.startsWith("win")??!1);function eo(e){if("file:"!==(e=e instanceof URL?e:new URL(e)).protocol)throw TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}var el=function(e){return Array.isArray(e)&&e.length>0};function ec(e,t){if(!t)return;let r=String(t).split(/[/\\]/u).pop().toLowerCase();return e.find(({filenames:e})=>e?.some(e=>e.toLowerCase()===r))??e.find(({extensions:e})=>e?.some(e=>r.endsWith(e)))}var eu=void 0;function ep(e,t){if(t){if(String(t).startsWith("file:"))try{var r,n;let e;r=t,t=es?(e=decodeURIComponent((n=eo(n=r)).pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\"),""!==n.hostname&&(e=`\\\\${n.hostname}${e}`),e):decodeURIComponent(eo(r).pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}catch{return}if("string"==typeof t)return e.find(({isSupported:e})=>e?.({filepath:t}))}}var eh=function(e,t){let r=ei(0,e.plugins).flatMap(e=>e.languages??[]);return(function(e,t){if(t)return e.find(({name:e})=>e.toLowerCase()===t)??e.find(({aliases:e})=>e?.includes(t))??e.find(({extensions:e})=>e?.includes(`.${t}`))}(r,t.language)??ec(r,t.physicalFile)??ec(r,t.file)??ep(r,t.physicalFile)??ep(r,t.file)??eu?.(r,t.physicalFile))?.parsers[0]},ed=Symbol.for("PRETTIER_IS_FRONT_MATTER"),em=function(e){return!!e?.[ed]},eg=function(e){let t=function(e){let t=e.slice(0,3);if("---"!==t&&"+++"!==t)return;let r=e.indexOf(`
8
+ `,"\f","\r"," "]),ee=class extends Error{name="UnexpectedNodeError";constructor(e,t,r="type"){super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},et=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),er=new Set(["if","else if","for","switch","case"]);function en(e,t,r){if("text"===e.kind||"comment"===e.kind)return null;if("yaml"===e.kind&&delete t.value,"attribute"===e.kind){let{fullName:n,value:a}=e;"style"===n||"class"===n||"srcset"===n&&("img"===r.fullName||"source"===r.fullName)||"allow"===n&&"iframe"===r.fullName||n.startsWith("on")||n.startsWith("@")||n.startsWith(":")||n.startsWith(".")||n.startsWith("#")||n.startsWith("v-")||"vars"===n&&"style"===r.fullName||("setup"===n||"generic"===n)&&"script"===r.fullName||"slot-scope"===n||n.startsWith("(")||n.startsWith("[")||n.startsWith("*")||n.startsWith("bind")||n.startsWith("i18n")||n.startsWith("on-")||n.startsWith("ng-")||a?.includes("{{")?delete t.value:a&&(t.value=m(0,a,/'|&quot;|&apos;/gu,'"'))}if("docType"===e.kind&&(t.value=m(0,e.value.toLowerCase(),/\s+/gu," ")),"angularControlFlowBlock"===e.kind&&e.parameters?.children)for(let r of t.parameters.children)er.has(e.name)?delete r.expression:r.expression=r.expression.trim();"angularIcuExpression"===e.kind&&(t.switchValue=e.switchValue.trim()),"angularLetDeclarationInitializer"===e.kind&&delete t.value,"element"===e.kind&&e.isVoid&&!e.isSelfClosing&&(t.isSelfClosing=!0)}function ea(e,t=!0){return[B([$,e]),t?$:""]}function ei(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 es(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(e,t)=>{a=n(e,t)});let i=await t(e,r,t);return a?V(i):ea(i)}en.ignoredProperties=et;var eo=function(e,t,r,n){let{node:a}=r,i=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(i)?"":es(i,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},ei)},el=Array.prototype.toReversed??function(){return[...this].reverse()},ec=h("toReversed",function(){if(Array.isArray(this))return el}),eu=(n=globalThis,"string"==typeof(a=n.Deno?.build?.os)?"windows"===a:n.navigator?.platform?.startsWith("Win")??n.process?.platform?.startsWith("win")??!1);function ep(e){if("file:"!==(e=e instanceof URL?e:new URL(e)).protocol)throw TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}var eh=function(e){return Array.isArray(e)&&e.length>0};function ed(e,t){if(!t)return;let r=String(t).split(/[/\\]/u).pop().toLowerCase();return e.find(({filenames:e})=>e?.some(e=>e.toLowerCase()===r))??e.find(({extensions:e})=>e?.some(e=>r.endsWith(e)))}var em=void 0;function eg(e,t){if(t){if(String(t).startsWith("file:"))try{var r,n;let e;r=t,t=eu?(e=decodeURIComponent((n=ep(n=r)).pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\"),""!==n.hostname&&(e=`\\\\${n.hostname}${e}`),e):decodeURIComponent(ep(r).pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}catch{return}if("string"==typeof t)return e.find(({isSupported:e})=>e?.({filepath:t}))}}var ef=function(e,t){let r=ec(0,e.plugins).flatMap(e=>e.languages??[]);return(function(e,t){if(t)return e.find(({name:e})=>e.toLowerCase()===t)??e.find(({aliases:e})=>e?.includes(t))??e.find(({extensions:e})=>e?.includes(`.${t}`))}(r,t.language)??ed(r,t.physicalFile)??ed(r,t.file)??eg(r,t.physicalFile)??eg(r,t.file)??em?.(r,t.physicalFile))?.parsers[0]},e_=Symbol.for("PRETTIER_IS_FRONT_MATTER"),ev=function(e){return!!e?.[e_]},eS=function(e){let t=function(e){let t=e.slice(0,3);if("---"!==t&&"+++"!==t)return;let r=e.indexOf(`
9
9
  `,3);if(-1===r)return;let n=e.slice(3,r).trim(),a=e.indexOf(`
10
10
  ${t}`,r),i=n;if(i||(i="+++"===t?"toml":"yaml"),-1===a&&"---"===t&&"yaml"===i&&(a=e.indexOf(`
11
11
  ...`,r)),-1===a)return;let s=a+1+3,o=e.charAt(s+1);if(!/\s?/u.test(o))return;let l=e.slice(0,s),c;return{language:i,explicitLanguage:n||null,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:l.slice(-3),raw:l,start:{line:1,column:0,index:0},end:{index:l.length,get line(){return c??(c=l.split(`
12
12
  `)),c.length},get column(){return c??(c=l.split(`
13
- `)),f(0,c,-1).length}},[ed]:!0}}(e);return t?{frontMatter:t,get content(){let{raw:r}=t;return m(0,r,/[^\n]/gu," ")+e.slice(r.length)}}:{content:e}},ef={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",details:"block",summary:"block",marquee:"inline-block",select:"inline-block",source:"block",track:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",option:"block",optgroup:"block"},e_={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},ev=function(e){return"element"===e.kind&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)},eS=e=>m(0,K.trimEnd(e),/^[\t\f\r ]*\n/gu,""),eT=e=>{let t=e,r=K.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=K.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}};function ek(e,t){return!!("ieConditionalComment"===e.kind&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.kind&&!e.complete||eM(e)&&e.children.some(e=>"text"!==e.kind&&"interpolation"!==e.kind)||eW(e,t)&&!eb(e,t)&&"interpolation"!==e.kind)}function eE(e){var t;return"attribute"!==e.kind&&!!e.parent&&!!e.prev&&"comment"===(t=e.prev).kind&&"prettier-ignore"===t.value.trim()}function eC(e){return"text"===e.kind||"comment"===e.kind}function eb(e,t){return"element"===e.kind&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||"svg:script"===e.fullName||"mj-style"===e.fullName&&"mjml"===t.parser||ev(e)&&("script"===e.name||"style"===e.name))}function ew(e){return eq(e).startsWith("pre")}function ey(e){return em(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function ex(e){return"element"===e.kind&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function eN(e){var t,r;return eO(e)||e.prev&&(eO(t=e.prev)||"element"===t.kind&&"br"===t.fullName||function(e){return eL(e)&&eA(e)}(t))||eL(r=e)&&eA(r)}function eL(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.kind||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function eA(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.kind||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function eO(e){switch(e.kind){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function eP(e){return e.lastChild?eP(e.lastChild):e}function eD(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"text/jsx":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 eI(e,t){return function(e,t){let{name:r,attrMap:n}=e;if("script"!==r||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:i}=e.attrMap;return i||a?eh(t,{language:i})??eD(a):"babel"}(e,t)??function(e,t){if("style"===e.name){let{lang:r}=e.attrMap;return r?eh(t,{language:r}):"css"}if("mj-style"===e.name&&"mjml"===t.parser)return"css"}(e,t)??function(e,t){if(!eW(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return eh(t,{language:a})??eD(n)}(e,t)}function eR(e){return"block"===e||"list-item"===e||e.startsWith("table")}function eM(e){return eq(e).startsWith("pre")}function eq(e){return"element"===e.kind&&(!e.namespace||ev(e))&&Object.prototype.hasOwnProperty.call(e_,e.name)?e_[e.name]:"normal"}function eB(e){return m(0,m(0,e,"&apos;","'"),"&quot;",'"')}function eH(e){return eB(e.value)}var eU=new Set(["template","style","script"]);function eV(e,t){return eF(e,t)&&!eU.has(e.fullName)}function eF(e,t){return"vue"===t.parser&&"element"===e.kind&&"root"===e.parent.kind&&"html"!==e.fullName.toLowerCase()}function eW(e,t){return eF(e,t)&&(eV(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}function ez(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?q(t):q(K.dedentString(eS(t)),j):W(z,K.split(t))}function e$(e,t){return eF(e,t)&&"script"===e.name}var ej=/\{\{(.+?)\}\}/su;async function eX(e,t,r){let n=eH(r.node),a=[];for(let[t,r]of n.split(ej).entries())if(t%2==0)a.push(q(r));else try{a.push(V(["{{",B([z,await er(r,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),z,"}}"]))}catch{a.push("{{",q(r),"}}")}return a}var eG=e=>(t,r,n)=>er(eH(n.node),t,{parser:e},et),eK=[{test(e){let t=e.node.fullName;return t.startsWith("(")&&t.endsWith(")")||t.startsWith("on-")},print:eG("__ng_action")},{test(e){let t=e.node.fullName;return t.startsWith("[")&&t.endsWith("]")||/^bind(?:on)?-/u.test(t)||/^ng-(?:if|show|hide|class|style)$/u.test(t)},print:eG("__ng_binding")},{test:e=>e.node.fullName.startsWith("*"),print:eG("__ng_directive")},{test:e=>/^i18n(?:-.+)?$/u.test(e.node.fullName),print:function(e,t,{node:r}){let n=eH(r);return ee(U(ez(r,n.trim())),!n.includes("@@"))}},{test:({node:{value:e}})=>ej.test(e),print:eX}].map(({test:e,print:t})=>({test:(t,r)=>"angular"===r.parser&&e(t),print:t})),eY=new Set(["onabort","onafterprint","onauxclick","onbeforeinput","onbeforematch","onbeforeprint","onbeforetoggle","onbeforeunload","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncommand","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpagereveal","onpageshow","onpageswap","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onrejectionhandled","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"]),eJ=function(e){let t=[];for(let r of e.split(";")){if(!(r=K.trim(r)))continue;let[e,...n]=K.split(r);t.push({name:e,value:n})}return t};function eQ(e){return" "===e||e===`
14
- `||"\f"===e||"\r"===e||" "===e}var eZ=/^[ \t\n\r\u000c]+/,e0=/^[, \t\n\r\u000c]+/,e1=/^[^ \t\n\r\u000c]+/,e2=/[,]+$/,e4=/^\d+$/,e3=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,e6=function(e){let t=e.length,r,n,a,i,s,o=0,l;function c(t){let r,n=t.exec(e.substring(o));if(n)return[r]=n,o+=r.length,r}let u=[];for(;;){if(c(e0),o>=t){if(0===u.length)throw Error("Must contain one or more image candidate strings.");return u}l=o,r=c(e1),n=[],","===r.slice(-1)?(r=r.replace(e2,""),p()):function(){for(c(eZ),a="",i="in descriptor";;){if(s=e.charAt(o),"in descriptor"===i)if(eQ(s))a&&(n.push(a),a="",i="after descriptor");else if(","===s){o+=1,a&&n.push(a),p();return}else if("("===s)a+=s,i="in parens";else if(""===s){a&&n.push(a),p();return}else a+=s;else if("in parens"===i)if(")"===s)a+=s,i="in descriptor";else if(""===s){n.push(a),p();return}else a+=s;else if("after descriptor"===i&&!eQ(s))if(""===s)return void p();else i="in descriptor",o-=1;o+=1}}()}function p(){let t=!1,a,i,s,o,c={},p,h,d,m,g;for(o=0;o<n.length;o++)h=(p=n[o])[p.length-1],m=parseInt(d=p.substring(0,p.length-1),10),g=parseFloat(d),e4.test(d)&&"w"===h?((a||i)&&(t=!0),0===m?t=!0:a=m):e3.test(d)&&"x"===h?((a||i||s)&&(t=!0),g<0?t=!0:i=g):e4.test(d)&&"h"===h?((s||i)&&(t=!0),0===m?t=!0:s=m):t=!0;if(t)throw Error(`Invalid srcset descriptor found in "${e}" at "${p}".`);c.source={value:r,startOffset:l},a&&(c.width={value:a}),i&&(c.density={value:i}),s&&(c.height={value:s}),u.push(c)}},e5={width:"w",height:"h",density:"x"},e9=Object.keys(e5),e8=async(e,t,r)=>ee(await e(eH(r.node),{parser:"css",__isHTMLStyleAttribute:!0})),e7=new WeakMap,te=function(e,t){let{root:r}=e;return e7.has(r)||e7.set(r,r.children.some(e=>e$(e,t)&&["ts","typescript"].includes(e.attrMap.lang))),e7.get(r)};function tt(e,t,r,n){return er(eH(r.node),e,{parser:te(r,n)?"__ts_expression":"__js_expression"},et)}var tr=[{test:e=>"srcset"===e.node.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName),print:function(e,t,r){let n=e6(eH(r.node)),a=e9.filter(e=>n.some(t=>Object.prototype.hasOwnProperty.call(t,e)));if(a.length>1)throw Error("Mixed descriptor in srcset is not supported");let[i]=a,s=e5[i],o=n.map(e=>e.source.value),l=Math.max(...o.map(e=>e.length)),c=n.map(e=>e[i]?String(e[i].value):""),u=c.map(e=>{let t=e.indexOf(".");return -1===t?e.length:t}),p=Math.max(...u);return ee(W([",",z],o.map((e,t)=>{let r=[e],n=c[t];if(n){let a=l-e.length+1,i=p-u[t],o=" ".repeat(a+i);r.push(F(o," "),n+s)}return r})))}},{test:({node:e},t)=>"style"===e.fullName&&!t.parentParser&&!e.value.includes("{{"),print:e8},{test:({node:e},t)=>eY.has(e.fullName)&&!t.parentParser&&!e.value.includes("{{"),print:(e,t,r)=>er(eH(r.node),e,{parser:"babel",__isHtmlInlineEventHandler:!0},()=>!1)},{test:({node:e},t)=>!t.parentParser&&"class"===e.fullName&&!e.value.includes("{{"),print:(e,t,r)=>eH(r.node).trim().split(/\s+/u).join(" ")},{test:({node:e},t)=>"allow"===e.fullName&&!t.parentParser&&"iframe"===e.parent.fullName&&!e.value.includes("{{"),print:function(e,t,r){let{node:n}=r,a=eJ(eH(n));return 0===a.length?[""]:ee(a.map(({name:e,value:t},r)=>[[e,...t].join(" "),r===a.length-1?F(";"):[";",z]]))}},...[{test:e=>"v-for"===e.node.fullName,print:async function e(e,t,r,n){let{left:a,operator:i,right:s}=function(e){let t=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,r=e.match(/(.*?)\s+(in|of)\s+(.*)/su);if(!r)return;let n={for:r[3].trim()};if(!n.for)return;let a=m(0,r[1].trim(),/^\(|\)$/gu,""),i=a.match(t);i?(n.alias=a.replace(t,""),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=a;let s=[n.alias,n.iterator1,n.iterator2];if(!s.some((e,t)=>!e&&(0===t||s.slice(t+1).some(Boolean))))return{left:s.filter(Boolean).join(","),operator:r[2],right:n.for}}(eH(r.node)),o=te(r,n);return[V(await er(`function _(${a}) {}`,e,{parser:o?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await er(s,e,{parser:o?"__ts_expression":"__js_expression"})]}},{test:(e,t)=>"generic"===e.node.fullName&&e$(e.parent,t),print:function(e,t,r){let n=eH(r.node);return er(`type T<${n}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},et)}},{test:({node:e},t)=>{let r;return"#"===(r=e.fullName).charAt(0)||"slot-scope"===r||"v-slot"===r||r.startsWith("v-slot:")||function(e,t){let r=e.parent;if(!eF(r,t))return!1;let n=r.fullName,a=e.fullName;return"script"===n&&"setup"===a||"style"===n&&"vars"===a}(e,t)},print:function(e,t,r,n){let a=eH(r.node);return er(`function _(${a}) {}`,e,{parser:te(r,n)?"babel-ts":"babel",__isVueBindings:!0})}},{test(e){let t=e.node.fullName;return t.startsWith("@")||t.startsWith("v-on:")},print:async function e(e,t,r,n){try{return await tt(e,t,r,n)}catch(e){if(e.cause?.code!=="BABEL_PARSER_SYNTAX_ERROR")throw e}return er(eH(r.node),e,{parser:te(r,n)?"__vue_ts_event_binding":"__vue_event_binding"},et)}},{test(e){let t=e.node.fullName;return t.startsWith(":")||t.startsWith(".")||t.startsWith("v-bind:")},print:function(e,t,r,n){return er(eH(r.node),e,{parser:te(r,n)?"__vue_ts_expression":"__vue_expression"},et)}},{test:e=>e.node.fullName.startsWith("v-"),print:tt}].map(({test:e,print:t})=>({test:(t,r)=>"vue"===r.parser&&e(t,r),print:t})),...eK].map(({test:e,print:t})=>{var r;return{test:e,print:(r=t,async(e,t,n,a)=>{let i=await r(e,t,n,a);if(i)return i=M(i,e=>"string"==typeof e?m(0,e,'"',"&quot;"):e),[n.node.rawName,'="',V(i),'"']})}}),tn=function(e,t){let{node:r}=e,{value:n}=r;if(!n)return;let{valueSpan:a}=r;return a.end.offset-a.start.offset!==n.length+2&&(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(n)||"lwc"===t.parser&&n.startsWith("{")&&n.endsWith("}"))?[r.rawName,"=",n]:tr.find(({test:r})=>r(e,t))?.print},ta=e=>e.sourceSpan.start.offset,ti=e=>e.sourceSpan.end.offset;function ts(e,t){var r,n,a,i;return[e.isSelfClosing?"":(r=e,n=t,r.lastChild&&tm(r.lastChild)?"":[(a=r,i=n,td(a)?tu(a.lastChild,i):""),tc(r,n)]),to(e,t)]}function to(e,t){return(e.next?th(e.next):td(e.parent))?"":[tu(e,t),tl(e,t)]}function tl(e,t){return tm(e)?tc(e.parent,t):tg(e)?tk(e.next,t):""}function tc(e,t){if(tp(e,t))return"";switch(e.kind){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function tu(e,t){if(tp(e,t))return"";switch(e.kind){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 tp(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(eE(e)||ek(e.parent,t))}function th(e){return e.prev&&"docType"!==e.prev.kind&&"angularControlFlowBlock"!==e.kind&&!eC(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function td(e){return e.lastChild?.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!eC(eP(e.lastChild))&&!eM(e)}function tm(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&eC(eP(e))}function tg(e){return e.next&&!eC(e.next)&&eC(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function tf(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function t_(e,t,r){var n;let{node:a}=e;return[tv(a,t),function(e,t,r){let n,{node:a}=e;if(!el(a.attrs))return a.isSelfClosing?" ":"";let i=a.prev?.kind==="comment"&&!!(n=a.prev.value.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su))&&(!n[1]||n[1].split(/\s+/u)),s="boolean"==typeof i?()=>i:Array.isArray(i)?e=>i.includes(e.rawName):()=>!1,o=e.map(({node:e})=>s(e)?q(t.originalText.slice(ta(e),ti(e))):r(),"attrs"),l="element"===a.kind&&"script"===a.fullName&&1===a.attrs.length&&"src"===a.attrs[0].fullName&&0===a.children.length,c=t.singleAttributePerLine&&a.attrs.length>1&&!eF(a,t)?j:z,u=[B([l?" ":z,W(c,o)])];return a.firstChild&&tf(a.firstChild)||a.isSelfClosing&&td(a.parent)||l?u.push(a.isSelfClosing?" ":""):u.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?z:$),u}(e,t,r),a.isSelfClosing||(n=a).firstChild&&tf(n.firstChild)?"":tE(n)]}function tv(e,t){return e.prev&&tg(e.prev)?"":[tS(e,t),tk(e,t)]}function tS(e,t){return tf(e)?tE(e.parent):th(e)?tu(e.prev,t):""}var tT="<!doctype";function tk(e,t){switch(e.kind){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":{if("html"===e.value){let{filepath:e}=t;if(e&&/\.html?$/u.test(e))return tT}let r=ta(e);return t.originalText.slice(r,r+tT.length)}case"angularIcuExpression":return"{";case"element":if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function tE(e){switch(e.kind){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}var tC=function(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&tf(e.firstChild)&&(r-=tE(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&tm(e.lastChild)?n+=tc(e,t).length:td(e)&&(n-=tu(e.lastChild,t).length),t.originalText.slice(r,n)},tb=new Set(["if","else if","for","switch","case"]),tw=null;function ty(e){if(null!==tw&&(tw.property,1)){let e=tw;return tw=ty.prototype=null,e}return tw=ty.prototype=e??Object.create(null),new ty}for(let e=0;e<=10;e++)ty();var tx=function(e,t="type"){return ty(e),function(r){let n=r[t],a=e[n];if(!Array.isArray(a))throw Object.assign(Error(`Missing visitor keys for '${n}'.`),{node:r});return a}}({root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},"kind"),tN=/^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u,tL=/^\s*<!--\s*@(?:format|prettier)\s*-->/u,tA=e=>tL.test(e),tO=e=>tN.test(e),tP=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 tD(e,t,r){let n=e.node;if(eE(n)){let e=function e(t){let r=ti(t);return"element"===t.kind&&!t.endSourceSpan&&el(t.children)?Math.max(r,e(f(0,t.children,-1))):r}(n);return[tS(n,t),q(K.trimEnd(t.originalText.slice(ta(n)+(n.prev&&tg(n.prev)?tk(n).length:0),e-(n.next&&th(n.next)?tu(n,t).length:0)))),tl(n,t)]}return r()}function tI(e,t){return eC(e)&&eC(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?eN(t)?j:z:"":eN(t)?j:$:tg(e)&&(eE(t)||t.firstChild||t.isSelfClosing||"element"===t.kind&&t.attrs.length>0)||"element"===e.kind&&e.isSelfClosing&&th(t)?"":!t.isLeadingSpaceSensitive||eN(t)||th(t)&&e.lastChild&&tm(e.lastChild)&&e.lastChild.lastChild&&tm(e.lastChild.lastChild)?j:t.hasLeadingSpaces?z:$}function tR(e,t,r){let{node:n}=e;if(ex(n))return[H,...e.map(()=>{let n=e.node,a=n.prev?tI(n.prev,n):"";return[a?[a,ey(n.prev)?j:""]:"",tD(e,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map(({node:n,index:i})=>{if(eC(n)){if(n.prev&&eC(n.prev)){let a=tI(n.prev,n);if(a)return ey(n.prev)?[j,j,tD(e,t,r)]:[a,tD(e,t,r)]}return tD(e,t,r)}let s=[],o=[],l=[],c=[],u=n.prev?tI(n.prev,n):"",p=n.next?tI(n,n.next):"";return u&&(ey(n.prev)?s.push(j,j):u===j?s.push(j):eC(n.prev)?o.push(u):o.push(F("",$,{groupId:a[i-1]}))),p&&(ey(n)?eC(n.next)&&c.push(j,j):p===j?eC(n.next)&&c.push(j):l.push(p)),[...s,V([...o,V([tD(e,t,r),...l],{id:a[i]})]),...c]},"children")}function tM(e){return!(e.next?.kind==="angularControlFlowBlock"&&tP.get(e.name)?.has(e.next.name))}var tq=((tK={})[tK.RAW_TEXT=0]="RAW_TEXT",tK[tK.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",tK[tK.PARSABLE_DATA=2]="PARSABLE_DATA",tK);function tB(e,t=!0){if(":"!=e[0])return[null,e];let r=e.indexOf(":",1);if(-1===r){if(t)throw Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,r),e.slice(r+1)]}function tH(e){return"ng-container"===tB(e)[1]}function tU(e){return"ng-content"===tB(e)[1]}function tV(e){return null===e?null:tB(e)[0]}function tF(e,t){return e?`:${e}:${t}`:t}var tW="custom-elements",tz="no-errors-schema",t$=((tY={})[tY.NONE=0]="NONE",tY[tY.HTML=1]="HTML",tY[tY.STYLE=2]="STYLE",tY[tY.SCRIPT=3]="SCRIPT",tY[tY.URL=4]="URL",tY[tY.RESOURCE_URL=5]="RESOURCE_URL",tY),tj=/-+([a-z0-9])/g;function tX(){return tJ||(tJ={},tG(t$.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),tG(t$.STYLE,["*|style"]),tG(t$.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"]),tG(t$.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"])),tJ}function tG(e,t){for(let r of t)tJ[r.toLowerCase()]=e}var tK,tY,tJ,tQ,tZ,t0=class{},t1=["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%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,!inert,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,search,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","selectedcontent^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","search^[HTMLELement]|","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:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*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,*scrollend,*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",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],t2=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex","aria-activedescendant":"ariaActiveDescendantElement","aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colindextext":"ariaColIndexText","aria-colspan":"ariaColSpan","aria-controls":"ariaControlsElements","aria-current":"ariaCurrent","aria-describedby":"ariaDescribedByElements","aria-description":"ariaDescription","aria-details":"ariaDetailsElements","aria-disabled":"ariaDisabled","aria-errormessage":"ariaErrorMessageElements","aria-expanded":"ariaExpanded","aria-flowto":"ariaFlowToElements","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-labelledby":"ariaLabelledByElements","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-owns":"ariaOwnsElements","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowindextext":"ariaRowIndexText","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText"})),t4=Array.from(t2).reduce((e,[t,r])=>(e.set(t,r),e),new Map),t3=class extends t0{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,t1.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),i=a.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)}i.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===tz))return!0;if(e.indexOf("-")>-1){if(tH(e)||tU(e))return!1;if(r.some(e=>e.name===tW))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return!!(t.some(e=>e.name===tz)||e.indexOf("-")>-1&&(tH(e)||tU(e)||t.some(e=>e.name===tW)))||this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=tX()[e+"|"+t];return n||(n=tX()["*|"+t])||t$.NONE}getMappedPropName(e){return t2.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)})=...
15
- If '${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){return Array.from((this._schema.get(e.toLowerCase())||this._schema.get("unknown")).keys()).map(e=>t4.get(e)??e)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return e.replace(tj,(...e)=>e[1].toUpperCase())}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),i=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&&(i=`Please provide a CSS unit value for ${t}:${r}`)}return{error:i,value:a+n}}},t6=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=tq.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:i=!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=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=i,this.preventNamespaceInheritance=s,this.canSelfClose=o??a}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 t5(e){return tZ||(tQ=new t6({canSelfClose:!0}),tZ=Object.assign(Object.create(null),{base:new t6({isVoid:!0}),meta:new t6({isVoid:!0}),area:new t6({isVoid:!0}),embed:new t6({isVoid:!0}),link:new t6({isVoid:!0}),img:new t6({isVoid:!0}),input:new t6({isVoid:!0}),param:new t6({isVoid:!0}),hr:new t6({isVoid:!0}),br:new t6({isVoid:!0}),source:new t6({isVoid:!0}),track:new t6({isVoid:!0}),wbr:new t6({isVoid:!0}),p:new t6({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 t6({closedByChildren:["tbody","tfoot"]}),tbody:new t6({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new t6({closedByChildren:["tbody"],closedByParent:!0}),tr:new t6({closedByChildren:["tr"],closedByParent:!0}),td:new t6({closedByChildren:["td","th"],closedByParent:!0}),th:new t6({closedByChildren:["td","th"],closedByParent:!0}),col:new t6({isVoid:!0}),svg:new t6({implicitNamespacePrefix:"svg"}),foreignObject:new t6({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new t6({implicitNamespacePrefix:"math"}),li:new t6({closedByChildren:["li"],closedByParent:!0}),dt:new t6({closedByChildren:["dt","dd"]}),dd:new t6({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new t6({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new t6({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new t6({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new t6({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new t6({closedByChildren:["optgroup"],closedByParent:!0}),option:new t6({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new t6({ignoreFirstLf:!0}),listing:new t6({ignoreFirstLf:!0}),style:new t6({contentType:tq.RAW_TEXT}),script:new t6({contentType:tq.RAW_TEXT}),title:new t6({contentType:{default:tq.ESCAPABLE_RAW_TEXT,svg:tq.PARSABLE_DATA}}),textarea:new t6({contentType:tq.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new t3().allKnownElementNames().forEach(e=>{tZ[e]||null!==tV(e)||(tZ[e]=new t6({canSelfClose:!1}))})),tZ[e]??tQ}function t9(e){return e>=9&&e<=32||160==e}function t8(e){return 48<=e&&e<=57}function t7(e){return e>=97&&e<=122||e>=65&&e<=90}function re(e){return 10===e||13===e}function rt(e){return 48<=e&&e<=55}function rr(e){return 39===e||34===e||96===e}var rn=class Ii{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(e){let t=this.file.content,r=t.length,n=this.offset,a=this.line,i=this.col;for(;n>0&&e<0;)if(n--,e++,10==t.charCodeAt(n)){a--;let e=t.substring(0,n-1).lastIndexOf("\n");i=e>0?n-e:n}else i--;for(;n<r&&e>0;){let r=t.charCodeAt(n);n++,e--,10==r?(a++,i=0):i++}return new Ii(this.file,n,a,i)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let a=n,i=0,s=0;for(;i<e&&n>0&&(n--,i++,r[n]!=`
13
+ `)),f(0,c,-1).length}},[e_]:!0}}(e);return t?{frontMatter:t,get content(){let{raw:r}=t;return m(0,r,/[^\n]/gu," ")+e.slice(r.length)}}:{content:e}},eT={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",details:"block",summary:"block",marquee:"inline-block",select:"inline-block",source:"block",track:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",option:"block",optgroup:"block"},ek={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},eE=function(e){return"element"===e.kind&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)},eC=e=>m(0,Z.trimEnd(e),/^[\t\f\r ]*\n/gu,""),eb=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 ew(e,t){return!!("ieConditionalComment"===e.kind&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||"ieConditionalComment"===e.kind&&!e.complete||eF(e)&&e.children.some(e=>"text"!==e.kind&&"interpolation"!==e.kind)||eX(e,t)&&!eN(e,t)&&"interpolation"!==e.kind)}function ey(e){var t;return"attribute"!==e.kind&&!!e.parent&&!!e.prev&&"comment"===(t=e.prev).kind&&"prettier-ignore"===t.value.trim()}function ex(e){return"text"===e.kind||"comment"===e.kind}function eN(e,t){return"element"===e.kind&&("script"===e.fullName||"style"===e.fullName||"svg:style"===e.fullName||"svg:script"===e.fullName||"mj-style"===e.fullName&&"mjml"===t.parser||eE(e)&&("script"===e.name||"style"===e.name))}function eL(e){return eV(e).startsWith("pre")}function eA(e){return ev(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function eO(e){return"element"===e.kind&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&"table-cell"!==e.cssDisplay)}function eP(e){var t,r;return eI(e)||e.prev&&(eI(t=e.prev)||"element"===t.kind&&"br"===t.fullName||function(e){return eD(e)&&eR(e)}(t))||eD(r=e)&&eR(r)}function eD(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:"root"===e.parent.kind||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function eR(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:"root"===e.parent.kind||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function eI(e){switch(e.kind){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function eM(e){return e.lastChild?eM(e.lastChild):e}function eq(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"text/jsx":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 eB(e,t){return function(e,t){let{name:r,attrMap:n}=e;if("script"!==r||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:i}=e.attrMap;return i||a?ef(t,{language:i})??eq(a):"babel"}(e,t)??function(e,t){if("style"===e.name){let{lang:r}=e.attrMap;return r?ef(t,{language:r}):"css"}if("mj-style"===e.name&&"mjml"===t.parser)return"css"}(e,t)??function(e,t){if(!eX(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return ef(t,{language:a})??eq(n)}(e,t)}function eH(e){return"block"===e||"list-item"===e||e.startsWith("table")}function eF(e){return eV(e).startsWith("pre")}function eV(e){return"element"===e.kind&&(!e.namespace||eE(e))&&Object.prototype.hasOwnProperty.call(ek,e.name)?ek[e.name]:"normal"}function eU(e){return m(0,m(0,e,"&apos;","'"),"&quot;",'"')}function eW(e){return eU(e.value)}var ez=new Set(["template","style","script"]);function e$(e,t){return ej(e,t)&&!ez.has(e.fullName)}function ej(e,t){return"vue"===t.parser&&"element"===e.kind&&"root"===e.parent.kind&&"html"!==e.fullName.toLowerCase()}function eX(e,t){return ej(e,t)&&(e$(e,t)||e.attrMap.lang&&"html"!==e.attrMap.lang)}function eG(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?q(t):q(Z.dedentString(eC(t)),j):W(z,Z.split(t))}function eK(e,t){return ej(e,t)&&"script"===e.name}function eY(e,t){if(function(e){let{valueSpan:t,value:r}=e;return t.end.offset-t.start.offset===r.length+2}(e))return!1;let{value:r}=e;return/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(r)||"lwc"===t.parser&&r.startsWith("{")&&r.endsWith("}")}var eJ=/\{\{(.+?)\}\}/su;async function eQ(e,t,r){let n=eW(r.node),a=[];for(let[t,r]of n.split(eJ).entries())if(t%2==0)a.push(q(r));else try{a.push(V(["{{",B([z,await es(r,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),z,"}}"]))}catch{a.push("{{",q(r),"}}")}return a}var eZ=e=>(t,r,n)=>es(eW(n.node),t,{parser:e},ei),e0=[{test(e){let t=e.node.fullName;return t.startsWith("(")&&t.endsWith(")")||t.startsWith("on-")},print:eZ("__ng_action")},{test(e){let t=e.node.fullName;return t.startsWith("[")&&t.endsWith("]")||/^bind(?:on)?-/u.test(t)||/^ng-(?:if|show|hide|class|style)$/u.test(t)},print:eZ("__ng_binding")},{test:e=>e.node.fullName.startsWith("*"),print:eZ("__ng_directive")},{test:e=>/^i18n(?:-.+)?$/u.test(e.node.fullName),print:function(e,t,{node:r}){let n=eW(r);return ea(F(eG(r,n.trim())),!n.includes("@@"))}},{test:({node:{value:e}})=>eJ.test(e),print:eQ}].map(({test:e,print:t})=>({test:(t,r)=>"angular"===r.parser&&e(t),print:t})),e1=new Set(["onabort","onafterprint","onauxclick","onbeforeinput","onbeforematch","onbeforeprint","onbeforetoggle","onbeforeunload","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncommand","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpagereveal","onpageshow","onpageswap","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onrejectionhandled","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"]),e2=function(e){let t=[];for(let r of e.split(";")){if(!(r=Z.trim(r)))continue;let[e,...n]=Z.split(r);t.push({name:e,value:n})}return t};function e3(e){return" "===e||e===`
14
+ `||"\f"===e||"\r"===e||" "===e}var e4=/^[ \t\n\r\u000c]+/,e6=/^[, \t\n\r\u000c]+/,e5=/^[^ \t\n\r\u000c]+/,e9=/[,]+$/,e8=/^\d+$/,e7=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,te=function(e){let t=e.length,r,n,a,i,s,o=0,l;function c(t){let r,n=t.exec(e.substring(o));if(n)return[r]=n,o+=r.length,r}let u=[];for(;;){if(c(e6),o>=t){if(0===u.length)throw Error("Must contain one or more image candidate strings.");return u}l=o,r=c(e5),n=[],","===r.slice(-1)?(r=r.replace(e9,""),p()):function(){for(c(e4),a="",i="in descriptor";;){if(s=e.charAt(o),"in descriptor"===i)if(e3(s))a&&(n.push(a),a="",i="after descriptor");else if(","===s){o+=1,a&&n.push(a),p();return}else if("("===s)a+=s,i="in parens";else if(""===s){a&&n.push(a),p();return}else a+=s;else if("in parens"===i)if(")"===s)a+=s,i="in descriptor";else if(""===s){n.push(a),p();return}else a+=s;else if("after descriptor"===i&&!e3(s))if(""===s)return void p();else i="in descriptor",o-=1;o+=1}}()}function p(){let t=!1,a,i,s,o,c={},p,h,d,m,g;for(o=0;o<n.length;o++)h=(p=n[o])[p.length-1],m=parseInt(d=p.substring(0,p.length-1),10),g=parseFloat(d),e8.test(d)&&"w"===h?((a||i)&&(t=!0),0===m?t=!0:a=m):e7.test(d)&&"x"===h?((a||i||s)&&(t=!0),g<0?t=!0:i=g):e8.test(d)&&"h"===h?((s||i)&&(t=!0),0===m?t=!0:s=m):t=!0;if(t)throw Error(`Invalid srcset descriptor found in "${e}" at "${p}".`);c.source={value:r,startOffset:l},a&&(c.width={value:a}),i&&(c.density={value:i}),s&&(c.height={value:s}),u.push(c)}},tt={width:"w",height:"h",density:"x"},tr=Object.keys(tt),tn=async(e,t,r)=>ea(await e(eW(r.node),{parser:"css",__isHTMLStyleAttribute:!0})),ta=new WeakMap,ti=function(e,t){let{root:r}=e;return ta.has(r)||ta.set(r,r.children.some(e=>eK(e,t)&&["ts","typescript"].includes(e.attrMap.lang))),ta.get(r)};function ts(e,t,r,n){return es(eW(r.node),e,{parser:ti(r,n)?"__ts_expression":"__js_expression"},ei)}var to=[{test:e=>"srcset"===e.node.fullName&&("img"===e.parent.fullName||"source"===e.parent.fullName),print:function(e,t,r){let n=te(eW(r.node)),a=tr.filter(e=>n.some(t=>Object.prototype.hasOwnProperty.call(t,e)));if(a.length>1)throw Error("Mixed descriptor in srcset is not supported");let[i]=a,s=tt[i],o=n.map(e=>e.source.value),l=Math.max(...o.map(e=>e.length)),c=n.map(e=>e[i]?String(e[i].value):""),u=c.map(e=>{let t=e.indexOf(".");return -1===t?e.length:t}),p=Math.max(...u);return ea(W([",",z],o.map((e,t)=>{let r=[e],n=c[t];if(n){let a=l-e.length+1,i=p-u[t],o=" ".repeat(a+i);r.push(U(o," "),n+s)}return r})))}},{test:({node:e},t)=>"style"===e.fullName&&!t.parentParser&&!e.value.includes("{{"),print:tn},{test:({node:e},t)=>e1.has(e.fullName)&&!t.parentParser&&!e.value.includes("{{"),print:(e,t,r)=>es(eW(r.node),e,{parser:"babel",__isHtmlInlineEventHandler:!0},()=>!1)},{test:({node:e},t)=>!t.parentParser&&"class"===e.fullName&&!e.value.includes("{{"),print:(e,t,r)=>eW(r.node).trim().split(/\s+/u).join(" ")},{test:({node:e},t)=>"allow"===e.fullName&&!t.parentParser&&"iframe"===e.parent.fullName&&!e.value.includes("{{"),print:function(e,t,r){let{node:n}=r,a=e2(eW(n));return 0===a.length?[""]:ea(a.map(({name:e,value:t},r)=>[[e,...t].join(" "),r===a.length-1?U(";"):[";",z]]))}},...[{test:e=>"v-for"===e.node.fullName,print:async function e(e,t,r,n){let{left:a,operator:i,right:s}=function(e){let t=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,r=e.match(/(.*?)\s+(in|of)\s+(.*)/su);if(!r)return;let n={for:r[3].trim()};if(!n.for)return;let a=m(0,r[1].trim(),/^\(|\)$/gu,""),i=a.match(t);i?(n.alias=a.replace(t,""),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=a;let s=[n.alias,n.iterator1,n.iterator2];if(!s.some((e,t)=>!e&&(0===t||s.slice(t+1).some(Boolean))))return{left:s.filter(Boolean).join(","),operator:r[2],right:n.for}}(eW(r.node)),o=ti(r,n);return[V(await es(`function _(${a}) {}`,e,{parser:o?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await es(s,e,{parser:o?"__ts_expression":"__js_expression"})]}},{test:(e,t)=>"generic"===e.node.fullName&&eK(e.parent,t),print:function(e,t,r){let n=eW(r.node);return es(`type T<${n}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},ei)}},{test:({node:e},t)=>{let r;return"#"===(r=e.fullName).charAt(0)||"slot-scope"===r||"v-slot"===r||r.startsWith("v-slot:")||function(e,t){let r=e.parent;if(!ej(r,t))return!1;let n=r.fullName,a=e.fullName;return"script"===n&&"setup"===a||"style"===n&&"vars"===a}(e,t)},print:function(e,t,r,n){let a=eW(r.node);return es(`function _(${a}) {}`,e,{parser:ti(r,n)?"babel-ts":"babel",__isVueBindings:!0})}},{test(e){let t=e.node.fullName;return t.startsWith("@")||t.startsWith("v-on:")},print:async function e(e,t,r,n){try{return await ts(e,t,r,n)}catch(e){if(e.cause?.code!=="BABEL_PARSER_SYNTAX_ERROR")throw e}return es(eW(r.node),e,{parser:ti(r,n)?"__vue_ts_event_binding":"__vue_event_binding"},ei)}},{test(e){let t=e.node.fullName;return t.startsWith(":")||t.startsWith(".")||t.startsWith("v-bind:")},print:function(e,t,r,n){return es(eW(r.node),e,{parser:ti(r,n)?"__vue_ts_expression":"__vue_expression"},ei)}},{test:e=>e.node.fullName.startsWith("v-"),print:ts}].map(({test:e,print:t})=>({test:(t,r)=>"vue"===r.parser&&e(t,r),print:t})),...e0].map(({test:e,print:t})=>{var r;return{test:e,print:(r=t,async(e,t,n,a)=>{let i=await r(e,t,n,a);if(i)return i=M(i,e=>"string"==typeof e?m(0,e,'"',"&quot;"):e),[n.node.rawName,'="',V(i),'"']})}}),tl=function(e,t){let{node:r}=e,{value:n}=r;if(n)return eY(r,t)?[r.rawName,"=",n]:to.find(({test:r})=>r(e,t))?.print},tc=e=>e.sourceSpan.start.offset,tu=e=>e.sourceSpan.end.offset;function tp(e,t){var r,n,a,i;return[e.isSelfClosing?"":(r=e,n=t,r.lastChild&&tS(r.lastChild)?"":[(a=r,i=n,tv(a)?tg(a.lastChild,i):""),tm(r,n)]),th(e,t)]}function th(e,t){return(e.next?t_(e.next):tv(e.parent))?"":[tg(e,t),td(e,t)]}function td(e,t){return tS(e)?tm(e.parent,t):tT(e)?ty(e.next,t):""}function tm(e,t){if(tf(e,t))return"";switch(e.kind){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function tg(e,t){if(tf(e,t))return"";switch(e.kind){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 tf(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(ey(e)||ew(e.parent,t))}function t_(e){return e.prev&&"docType"!==e.prev.kind&&"angularControlFlowBlock"!==e.kind&&!ex(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function tv(e){return e.lastChild?.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!ex(eM(e.lastChild))&&!eF(e)}function tS(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&ex(eM(e))}function tT(e){return e.next&&!ex(e.next)&&ex(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function tk(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function tE(e,t,r){var n;let{node:a}=e;return[tC(a,t),function(e,t,r){let n,{node:a}=e;if(!eh(a.attrs))return a.isSelfClosing?" ":"";let i=a.prev?.kind==="comment"&&!!(n=a.prev.value.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su))&&(!n[1]||n[1].split(/\s+/u)),s="boolean"==typeof i?()=>i:Array.isArray(i)?e=>i.includes(e.rawName):()=>!1,o=e.map(({node:e})=>s(e)?q(t.originalText.slice(tc(e),tu(e))):r(),"attrs"),l="element"===a.kind&&"script"===a.fullName&&1===a.attrs.length&&"src"===a.attrs[0].fullName&&0===a.children.length,c=t.singleAttributePerLine&&a.attrs.length>1&&!ej(a,t)?j:z,u=[B([l?" ":z,W(c,o)])];return a.firstChild&&tk(a.firstChild)||a.isSelfClosing&&tv(a.parent)||l?u.push(a.isSelfClosing?" ":""):u.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?z:$),u}(e,t,r),a.isSelfClosing||(n=a).firstChild&&tk(n.firstChild)?"":tx(n)]}function tC(e,t){return e.prev&&tT(e.prev)?"":[tb(e,t),ty(e,t)]}function tb(e,t){return tk(e)?tx(e.parent):t_(e)?tg(e.prev,t):""}var tw="<!doctype";function ty(e,t){switch(e.kind){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${e.condition}`;case"ieConditionalEndComment":return"\x3c!--<!";case"interpolation":return"{{";case"docType":{if("html"===e.value){let{filepath:e}=t;if(e&&/\.html?$/u.test(e))return tw}let r=tc(e);return t.originalText.slice(r,r+tw.length)}case"angularIcuExpression":return"{";case"element":if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function tx(e){switch(e.kind){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">\x3c!--<![endif]--\x3e";default:return">"}}var tN=function(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&tk(e.firstChild)&&(r-=tx(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&tS(e.lastChild)?n+=tm(e,t).length:tv(e)&&(n-=tg(e.lastChild,t).length),t.originalText.slice(r,n)},tL=new Set(["if","else if","for","switch","case"]),tA=null;function tO(e){if(null!==tA&&(tA.property,1)){let e=tA;return tA=tO.prototype=null,e}return tA=tO.prototype=e??Object.create(null),new tO}for(let e=0;e<=10;e++)tO();var tP=[["children"],[]],tD=function(e,t="type"){return tO(e),function(r){let n=r[t],a=e[n];if(!Array.isArray(a))throw Object.assign(Error(`Missing visitor keys for '${n}'.`),{node:r});return a}}({root:tP[0],element:["attrs","children"],ieConditionalComment:tP[0],ieConditionalStartComment:tP[1],ieConditionalEndComment:tP[1],interpolation:tP[0],text:tP[0],docType:tP[1],comment:tP[1],attribute:tP[1],cdata:tP[1],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:tP[0],angularControlFlowBlockParameter:tP[1],angularLetDeclaration:["init"],angularLetDeclarationInitializer:tP[1],angularIcuExpression:["cases"],angularIcuCase:["expression"]},"kind"),tR=/^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u,tI=/^\s*<!--\s*@(?:format|prettier)\s*-->/u,tM=e=>tI.test(e),tq=e=>tR.test(e),tB=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 tH(e,t,r){let n=e.node;if(ey(n)){let e=function e(t){let r=tu(t);return"element"===t.kind&&!t.endSourceSpan&&eh(t.children)?Math.max(r,e(f(0,t.children,-1))):r}(n);return[tb(n,t),q(Z.trimEnd(t.originalText.slice(tc(n)+(n.prev&&tT(n.prev)?ty(n).length:0),e-(n.next&&t_(n.next)?tg(n,t).length:0)))),td(n,t)]}return r()}function tF(e,t){return ex(e)&&ex(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?eP(t)?j:z:"":eP(t)?j:$:tT(e)&&(ey(t)||t.firstChild||t.isSelfClosing||"element"===t.kind&&t.attrs.length>0)||"element"===e.kind&&e.isSelfClosing&&t_(t)?"":!t.isLeadingSpaceSensitive||eP(t)||t_(t)&&e.lastChild&&tS(e.lastChild)&&e.lastChild.lastChild&&tS(e.lastChild.lastChild)?j:t.hasLeadingSpaces?z:$}function tV(e,t,r){let{node:n}=e;if(eO(n))return[H,...e.map(()=>{let n=e.node,a=n.prev?tF(n.prev,n):"";return[a?[a,eA(n.prev)?j:""]:"",tH(e,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map(({node:n,index:i})=>{if(ex(n)){if(n.prev&&ex(n.prev)){let a=tF(n.prev,n);if(a)return eA(n.prev)?[j,j,tH(e,t,r)]:[a,tH(e,t,r)]}return tH(e,t,r)}let s=[],o=[],l=[],c=[],u=n.prev?tF(n.prev,n):"",p=n.next?tF(n,n.next):"";return u&&(eA(n.prev)?s.push(j,j):u===j?s.push(j):ex(n.prev)?o.push(u):o.push(U("",$,{groupId:a[i-1]}))),p&&(eA(n)?ex(n.next)&&c.push(j,j):p===j?ex(n.next)&&c.push(j):l.push(p)),[...s,V([...o,V([tH(e,t,r),...l],{id:a[i]})]),...c]},"children")}function tU(e){return!(e.next?.kind==="angularControlFlowBlock"&&tB.get(e.name)?.has(e.next.name))}var tW=((t1={})[t1.RAW_TEXT=0]="RAW_TEXT",t1[t1.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t1[t1.PARSABLE_DATA=2]="PARSABLE_DATA",t1);function tz(e,t=!0){if(":"!=e[0])return[null,e];let r=e.indexOf(":",1);if(-1===r){if(t)throw Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,r),e.slice(r+1)]}function t$(e){return"ng-container"===tz(e)[1]}function tj(e){return"ng-content"===tz(e)[1]}function tX(e){return null===e?null:tz(e)[0]}function tG(e,t){return e?`:${e}:${t}`:t}var tK="custom-elements",tY="no-errors-schema",tJ=((t2={})[t2.NONE=0]="NONE",t2[t2.HTML=1]="HTML",t2[t2.STYLE=2]="STYLE",t2[t2.SCRIPT=3]="SCRIPT",t2[t2.URL=4]="URL",t2[t2.RESOURCE_URL=5]="RESOURCE_URL",t2),tQ=/-+([a-z0-9])/g;function tZ(){return t3||(t3={},t0(tJ.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),t0(tJ.STYLE,["*|style"]),t0(tJ.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"]),t0(tJ.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"])),t3}function t0(e,t){for(let r of t)t3[r.toLowerCase()]=e}var t1,t2,t3,t4,t6,t5=class{},t9=["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%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,!inert,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,search,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","selectedcontent^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","search^[HTMLELement]|","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:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*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,*scrollend,*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",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],t8=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex","aria-activedescendant":"ariaActiveDescendantElement","aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colindextext":"ariaColIndexText","aria-colspan":"ariaColSpan","aria-controls":"ariaControlsElements","aria-current":"ariaCurrent","aria-describedby":"ariaDescribedByElements","aria-description":"ariaDescription","aria-details":"ariaDetailsElements","aria-disabled":"ariaDisabled","aria-errormessage":"ariaErrorMessageElements","aria-expanded":"ariaExpanded","aria-flowto":"ariaFlowToElements","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-labelledby":"ariaLabelledByElements","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-owns":"ariaOwnsElements","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowindextext":"ariaRowIndexText","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText"})),t7=Array.from(t8).reduce((e,[t,r])=>(e.set(t,r),e),new Map),re=class extends t5{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,t9.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),i=a.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)}i.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===tY))return!0;if(e.indexOf("-")>-1){if(t$(e)||tj(e))return!1;if(r.some(e=>e.name===tK))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return!!(t.some(e=>e.name===tY)||e.indexOf("-")>-1&&(t$(e)||tj(e)||t.some(e=>e.name===tK)))||this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=tZ()[e+"|"+t];return n||(n=tZ()["*|"+t])||tJ.NONE}getMappedPropName(e){return t8.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)})=...
15
+ If '${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){return Array.from((this._schema.get(e.toLowerCase())||this._schema.get("unknown")).keys()).map(e=>t7.get(e)??e)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return e.replace(tQ,(...e)=>e[1].toUpperCase())}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),i=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&&(i=`Please provide a CSS unit value for ${t}:${r}`)}return{error:i,value:a+n}}},rt=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=tW.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:i=!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=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=i,this.preventNamespaceInheritance=s,this.canSelfClose=o??a}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 rr(e){return t6||(t4=new rt({canSelfClose:!0}),t6=Object.assign(Object.create(null),{base:new rt({isVoid:!0}),meta:new rt({isVoid:!0}),area:new rt({isVoid:!0}),embed:new rt({isVoid:!0}),link:new rt({isVoid:!0}),img:new rt({isVoid:!0}),input:new rt({isVoid:!0}),param:new rt({isVoid:!0}),hr:new rt({isVoid:!0}),br:new rt({isVoid:!0}),source:new rt({isVoid:!0}),track:new rt({isVoid:!0}),wbr:new rt({isVoid:!0}),p:new rt({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 rt({closedByChildren:["tbody","tfoot"]}),tbody:new rt({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new rt({closedByChildren:["tbody"],closedByParent:!0}),tr:new rt({closedByChildren:["tr"],closedByParent:!0}),td:new rt({closedByChildren:["td","th"],closedByParent:!0}),th:new rt({closedByChildren:["td","th"],closedByParent:!0}),col:new rt({isVoid:!0}),svg:new rt({implicitNamespacePrefix:"svg"}),foreignObject:new rt({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new rt({implicitNamespacePrefix:"math"}),li:new rt({closedByChildren:["li"],closedByParent:!0}),dt:new rt({closedByChildren:["dt","dd"]}),dd:new rt({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new rt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new rt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new rt({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new rt({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new rt({closedByChildren:["optgroup"],closedByParent:!0}),option:new rt({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new rt({ignoreFirstLf:!0}),listing:new rt({ignoreFirstLf:!0}),style:new rt({contentType:tW.RAW_TEXT}),script:new rt({contentType:tW.RAW_TEXT}),title:new rt({contentType:{default:tW.ESCAPABLE_RAW_TEXT,svg:tW.PARSABLE_DATA}}),textarea:new rt({contentType:tW.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new re().allKnownElementNames().forEach(e=>{t6[e]||null!==tX(e)||(t6[e]=new rt({canSelfClose:!1}))})),t6[e]??t4}function rn(e){return e>=9&&e<=32||160==e}function ra(e){return 48<=e&&e<=57}function ri(e){return e>=97&&e<=122||e>=65&&e<=90}function rs(e){return 10===e||13===e}function ro(e){return 48<=e&&e<=55}function rl(e){return 39===e||34===e||96===e}var rc=class qi{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(e){let t=this.file.content,r=t.length,n=this.offset,a=this.line,i=this.col;for(;n>0&&e<0;)if(n--,e++,10==t.charCodeAt(n)){a--;let e=t.substring(0,n-1).lastIndexOf("\n");i=e>0?n-e:n}else i--;for(;n<r&&e>0;){let r=t.charCodeAt(n);n++,e--,10==r?(a++,i=0):i++}return new qi(this.file,n,a,i)}getContext(e,t){let r=this.file.content,n=this.offset;if(null!=n){n>r.length-1&&(n=r.length-1);let a=n,i=0,s=0;for(;i<e&&n>0&&(n--,i++,r[n]!=`
16
16
  `||++s!=t););for(i=0,s=0;i<e&&a<r.length-1&&(a++,i++,r[a]!=`
17
- `||++s!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,a+1)}}return null}},ra=class{constructor(e,t){this.content=e,this.url=t}},ri=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)}},rs=((r9={})[r9.WARNING=0]="WARNING",r9[r9.ERROR=1]="ERROR",r9),ro=class extends Error{constructor(e,t,r=rs.ERROR,n){super(t),this.span=e,this.msg=t,this.level=r,this.relatedError=n,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${rs[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},rl=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},rc=class extends rl{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.kind="text"}visit(e,t){return e.visitText(this,t)}},ru=class extends rl{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.kind="cdata"}visit(e,t){return e.visitCdata(this,t)}},rp=class extends rl{constructor(e,t,r,n,a,i){super(n,i),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a,this.kind="expansion"}visit(e,t){return e.visitExpansion(this,t)}},rh=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.kind="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},rd=class extends rl{constructor(e,t,r,n,a,i,s){super(r,s),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=i,this.kind="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},rm=class extends rl{constructor(e,t,r,n,a,i,s,o=null,l=null,c,u){super(i,u),this.name=e,this.attrs=t,this.directives=r,this.children=n,this.isSelfClosing=a,this.startSourceSpan=s,this.endSourceSpan=o,this.nameSpan=l,this.isVoid=c,this.kind="element"}visit(e,t){return e.visitElement(this,t)}},rg=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.kind="comment"}visit(e,t){return e.visitComment(this,t)}},rf=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.kind="docType"}visit(e,t){return e.visitDocType(this,t)}},r_=class extends rl{constructor(e,t,r,n,a,i,s=null,o){super(n,o),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=i,this.endSourceSpan=s,this.kind="block"}visit(e,t){return e.visitBlock(this,t)}},rv=class extends rl{constructor(e,t,r,n,a,i,s,o,l,c=null,u){super(o,u),this.componentName=e,this.tagName=t,this.fullName=r,this.attrs=n,this.directives=a,this.children=i,this.isSelfClosing=s,this.startSourceSpan=l,this.endSourceSpan=c,this.kind="component"}visit(e,t){return e.visitComponent(this,t)}},rS=class{constructor(e,t,r,n,a=null){this.name=e,this.attrs=t,this.sourceSpan=r,this.startSourceSpan=n,this.endSourceSpan=a,this.kind="directive"}visit(e,t){return e.visitDirective(this,t)}},rT=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.kind="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},rk=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.kind="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}};function rE(e,t,r=null){let n=[],a=e.visit?t=>e.visit(t,r)||t.visit(e,r):t=>t.visit(e,r);return t.forEach(e=>{let t=a(e);t&&n.push(t)}),n}var rC=class{constructor(){}visitElement(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.directives),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){}visitLetDeclaration(e,t){}visitComponent(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.children)})}visitDirective(e,t){this.visitChildren(t,t=>{t(e.attrs)})}visitChildren(e,t){let r=[],n=this;return t(function(t){t&&r.push(rE(n,t,e))}),Array.prototype.concat.apply([],r)}},rb={AElig:"\xc6",AMP:"&",amp:"&",Aacute:"\xc1",Abreve:"Ă",Acirc:"\xc2",Acy:"А",Afr:"\uD835\uDD04",Agrave:"\xc0",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"\uD835\uDD38",ApplyFunction:"⁡",af:"⁡",Aring:"\xc5",angst:"\xc5",Ascr:"\uD835\uDC9C",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"\xc3",Auml:"\xc4",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"\uD835\uDD05",Bopf:"\uD835\uDD39",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"\xa9",copy:"\xa9",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"\xc7",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"\xb8",cedil:"\xb8",CenterDot:"\xb7",centerdot:"\xb7",middot:"\xb7",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:"\uD835\uDC9E",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"\uD835\uDD07",DiacriticalAcute:"\xb4",acute:"\xb4",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"\uD835\uDD3B",Dot:"\xa8",DoubleDot:"\xa8",die:"\xa8",uml:"\xa8",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:"\uD835\uDC9F",Dstrok:"Đ",ENG:"Ŋ",ETH:"\xd0",Eacute:"\xc9",Ecaron:"Ě",Ecirc:"\xca",Ecy:"Э",Edot:"Ė",Efr:"\uD835\uDD08",Egrave:"\xc8",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"\uD835\uDD3C",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"\xcb",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"\uD835\uDD09",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"\uD835\uDD3D",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"\uD835\uDD0A",Gg:"⋙",ggg:"⋙",Gopf:"\uD835\uDD3E",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"\uD835\uDCA2",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:"\xcd",Icirc:"\xce",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"\xcc",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"\uD835\uDD40",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"\xcf",Jcirc:"Ĵ",Jcy:"Й",Jfr:"\uD835\uDD0D",Jopf:"\uD835\uDD41",Jscr:"\uD835\uDCA5",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"\uD835\uDD0E",Kopf:"\uD835\uDD42",Kscr:"\uD835\uDCA6",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:"\uD835\uDD0F",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"\uD835\uDD43",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"\uD835\uDD10",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"\uD835\uDD44",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:`
18
- `,Nfr:"\uD835\uDD11",NoBreak:"⁠",NonBreakingSpace:"\xa0",nbsp:"\xa0",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:"\uD835\uDCA9",Ntilde:"\xd1",Nu:"Ν",OElig:"Œ",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"О",Odblac:"Ő",Ofr:"\uD835\uDD12",Ograve:"\xd2",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"\uD835\uDD46",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"\uD835\uDCAA",Oslash:"\xd8",Otilde:"\xd5",Otimes:"⨷",Ouml:"\xd6",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"\uD835\uDD13",Phi:"Φ",Pi:"Π",PlusMinus:"\xb1",plusmn:"\xb1",pm:"\xb1",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"\uD835\uDCAB",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"\uD835\uDD14",Qopf:"ℚ",rationals:"ℚ",Qscr:"\uD835\uDCAC",RBarr:"⤐",drbkarow:"⤐",REG:"\xae",circledR:"\xae",reg:"\xae",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:"\uD835\uDD16",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"\uD835\uDD4A",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"\uD835\uDCAE",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:"\xde",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"\uD835\uDD17",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"\uD835\uDD4B",TripleDot:"⃛",tdot:"⃛",Tscr:"\uD835\uDCAF",Tstrok:"Ŧ",Uacute:"\xda",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"\xdb",Ucy:"У",Udblac:"Ű",Ufr:"\uD835\uDD18",Ugrave:"\xd9",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"\uD835\uDD4C",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:"\uD835\uDCB0",Utilde:"Ũ",Uuml:"\xdc",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"\uD835\uDD19",Vopf:"\uD835\uDD4D",Vscr:"\uD835\uDCB1",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"\uD835\uDD1A",Wopf:"\uD835\uDD4E",Wscr:"\uD835\uDCB2",Xfr:"\uD835\uDD1B",Xi:"Ξ",Xopf:"\uD835\uDD4F",Xscr:"\uD835\uDCB3",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"\xdd",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"\uD835\uDD1C",Yopf:"\uD835\uDD50",Yscr:"\uD835\uDCB4",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"\uD835\uDCB5",aacute:"\xe1",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"\xe2",acy:"а",aelig:"\xe6",afr:"\uD835\uDD1E",agrave:"\xe0",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:"\uD835\uDD52",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"\xe5",ascr:"\uD835\uDCB6",ast:"*",midast:"*",atilde:"\xe3",auml:"\xe4",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:"\uD835\uDD1F",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:"\uD835\uDD53",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:"\xa6",bscr:"\uD835\uDCB7",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"\xe7",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"\xa2",cfr:"\uD835\uDD20",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:"\uD835\uDD54",copysr:"℗",crarr:"↵",cross:"✗",cscr:"\uD835\uDCB8",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:"\xa4",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"\xb0",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"\xe9",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"\xea",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"\uD835\uDD22",eg:"⪚",egrave:"\xe8",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"\xf0",euml:"\xeb",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"\xbd",half:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"\uD835\uDCBB",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"\uD835\uDD58",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:"\uD835\uDD25",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"\uD835\uDD59",horbar:"―",hscr:"\uD835\uDCBD",hstrok:"ħ",hybull:"⁃",iacute:"\xed",icirc:"\xee",icy:"и",iecy:"е",iexcl:"\xa1",ifr:"\uD835\uDD26",igrave:"\xec",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"\uD835\uDD5A",iota:"ι",iquest:"\xbf",iscr:"\uD835\uDCBE",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"\xef",jcirc:"ĵ",jcy:"й",jfr:"\uD835\uDD27",jmath:"ȷ",jopf:"\uD835\uDD5B",jscr:"\uD835\uDCBF",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"\uD835\uDD28",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"\uD835\uDD5C",kscr:"\uD835\uDCC0",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"\xab",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:"\uD835\uDD29",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"\xaf",strns:"\xaf",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"\uD835\uDD2A",mho:"℧",micro:"\xb5",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"\uD835\uDD5E",mscr:"\uD835\uDCC2",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:"\uD835\uDD2B",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"\uD835\uDD5F",not:"\xac",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"\uD835\uDCC3",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"\xf1",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"\xf3",ocirc:"\xf4",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"\uD835\uDD2C",ogon:"˛",ograve:"\xf2",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"\uD835\uDD60",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"\xf8",osol:"⊘",otilde:"\xf5",otimesas:"⨶",ouml:"\xf6",ovbar:"⌽",para:"\xb6",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"\uD835\uDD2D",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"\uD835\uDD61",pound:"\xa3",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"\uD835\uDCC5",psi:"ψ",puncsp:" ",qfr:"\uD835\uDD2E",qopf:"\uD835\uDD62",qprime:"⁗",qscr:"\uD835\uDCC6",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"\xbb",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:"\uD835\uDD2F",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"\uD835\uDCC7",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:"\xa7",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"\uD835\uDD30",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"\xad",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"\uD835\uDCC8",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"\xdf",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"\uD835\uDD31",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"\xfe",times:"\xd7",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"\xfa",ubrcy:"ў",ubreve:"ŭ",ucirc:"\xfb",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"\uD835\uDD32",ugrave:"\xf9",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"\uD835\uDD66",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"\uD835\uDCCA",utdot:"⋰",utilde:"ũ",uuml:"\xfc",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"\uD835\uDD33",vopf:"\uD835\uDD67",vscr:"\uD835\uDCCB",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"\uD835\uDD34",wopf:"\uD835\uDD68",wscr:"\uD835\uDCCC",xfr:"\uD835\uDD35",xi:"ξ",xnis:"⋻",xopf:"\uD835\uDD69",xscr:"\uD835\uDCCD",yacute:"\xfd",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"\xa5",yfr:"\uD835\uDD36",yicy:"ї",yopf:"\uD835\uDD6A",yscr:"\uD835\uDCCE",yucy:"ю",yuml:"\xff",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"\uD835\uDD37",zhcy:"ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"};rb.ngsp="";var rw=((r8={})[r8.TAG_OPEN_START=0]="TAG_OPEN_START",r8[r8.TAG_OPEN_END=1]="TAG_OPEN_END",r8[r8.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",r8[r8.TAG_CLOSE=3]="TAG_CLOSE",r8[r8.INCOMPLETE_TAG_OPEN=4]="INCOMPLETE_TAG_OPEN",r8[r8.TEXT=5]="TEXT",r8[r8.ESCAPABLE_RAW_TEXT=6]="ESCAPABLE_RAW_TEXT",r8[r8.RAW_TEXT=7]="RAW_TEXT",r8[r8.INTERPOLATION=8]="INTERPOLATION",r8[r8.ENCODED_ENTITY=9]="ENCODED_ENTITY",r8[r8.COMMENT_START=10]="COMMENT_START",r8[r8.COMMENT_END=11]="COMMENT_END",r8[r8.CDATA_START=12]="CDATA_START",r8[r8.CDATA_END=13]="CDATA_END",r8[r8.ATTR_NAME=14]="ATTR_NAME",r8[r8.ATTR_QUOTE=15]="ATTR_QUOTE",r8[r8.ATTR_VALUE_TEXT=16]="ATTR_VALUE_TEXT",r8[r8.ATTR_VALUE_INTERPOLATION=17]="ATTR_VALUE_INTERPOLATION",r8[r8.DOC_TYPE_START=18]="DOC_TYPE_START",r8[r8.DOC_TYPE_END=19]="DOC_TYPE_END",r8[r8.EXPANSION_FORM_START=20]="EXPANSION_FORM_START",r8[r8.EXPANSION_CASE_VALUE=21]="EXPANSION_CASE_VALUE",r8[r8.EXPANSION_CASE_EXP_START=22]="EXPANSION_CASE_EXP_START",r8[r8.EXPANSION_CASE_EXP_END=23]="EXPANSION_CASE_EXP_END",r8[r8.EXPANSION_FORM_END=24]="EXPANSION_FORM_END",r8[r8.BLOCK_OPEN_START=25]="BLOCK_OPEN_START",r8[r8.BLOCK_OPEN_END=26]="BLOCK_OPEN_END",r8[r8.BLOCK_CLOSE=27]="BLOCK_CLOSE",r8[r8.BLOCK_PARAMETER=28]="BLOCK_PARAMETER",r8[r8.INCOMPLETE_BLOCK_OPEN=29]="INCOMPLETE_BLOCK_OPEN",r8[r8.LET_START=30]="LET_START",r8[r8.LET_VALUE=31]="LET_VALUE",r8[r8.LET_END=32]="LET_END",r8[r8.INCOMPLETE_LET=33]="INCOMPLETE_LET",r8[r8.COMPONENT_OPEN_START=34]="COMPONENT_OPEN_START",r8[r8.COMPONENT_OPEN_END=35]="COMPONENT_OPEN_END",r8[r8.COMPONENT_OPEN_END_VOID=36]="COMPONENT_OPEN_END_VOID",r8[r8.COMPONENT_CLOSE=37]="COMPONENT_CLOSE",r8[r8.INCOMPLETE_COMPONENT_OPEN=38]="INCOMPLETE_COMPONENT_OPEN",r8[r8.DIRECTIVE_NAME=39]="DIRECTIVE_NAME",r8[r8.DIRECTIVE_OPEN=40]="DIRECTIVE_OPEN",r8[r8.DIRECTIVE_CLOSE=41]="DIRECTIVE_CLOSE",r8[r8.EOF=42]="EOF",r8),ry=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},rx=/\r\n?/g;function rN(e){return`Unexpected character "${0===e?"EOF":String.fromCharCode(e)}"`}function rL(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var rA=((r7=rA||{}).HEX="hexadecimal",r7.DEC="decimal",r7),rO=["@if","@else","@for","@switch","@case","@default","@empty","@defer","@placeholder","@loading","@error"],rP=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._openDirectiveCount=0,this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,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 rW(e,n):new rF(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0,this._selectorlessEnabled=r.selectorlessEnabled??!1;try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(rx,`
19
- `)}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._tokenizeLet&&64===this._cursor.peek()&&!this._inInterpolation&&this._isLetStart()?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._isBlockStart()?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(rw.TEXT,rw.INTERPOLATION,()=>this._isTextEnd(),()=>this._isTagStart())}catch(e){this.handleError(e)}}this._beginToken(rw.EOF),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(t=>{var r;return t9(t)?!e:!(t7(r=t)||t8(r)||95===r)||(e=!0,!1)}),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._requireCharCode(64),this._beginToken(rw.BLOCK_OPEN_START,e);let t=this._endToken([this._getBlockName()]);if(40===this._cursor.peek())if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(rD),this._attemptCharCode(41))this._attemptCharCodeUntilFn(rD);else{t.type=rw.INCOMPLETE_BLOCK_OPEN;return}this._attemptCharCode(123)?(this._beginToken(rw.BLOCK_OPEN_END),this._endToken([])):t.type=rw.INCOMPLETE_BLOCK_OPEN}_consumeBlockEnd(e){this._beginToken(rw.BLOCK_CLOSE,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(rB);41!==this._cursor.peek()&&0!==this._cursor.peek();){this._beginToken(rw.BLOCK_PARAMETER);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&&rr(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(rB)}}_consumeLetDeclaration(e){if(this._requireStr("@let"),this._beginToken(rw.LET_START,e),t9(this._cursor.peek()))this._attemptCharCodeUntilFn(rD);else{this._endToken([this._cursor.getChars(e)]).type=rw.INCOMPLETE_LET;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(rD),!this._attemptCharCode(61)){t.type=rw.INCOMPLETE_LET;return}this._attemptCharCodeUntilFn(e=>rD(e)&&!re(e)),this._consumeLetDeclarationValue(),59===this._cursor.peek()?(this._beginToken(rw.LET_END),this._endToken([]),this._cursor.advance()):(t.type=rw.INCOMPLETE_LET,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(e=>!(t7(e)||36===e||95===e||t&&t8(e))||(t=!0,!1)),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(rw.LET_VALUE,e);0!==this._cursor.peek();){let e=this._cursor.peek();if(59===e)break;rr(e)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(t=>92===t?(this._cursor.advance(),!1):t===e)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(125!==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 ro(this._cursor.getSpan(t),"Programming error - attempted to end a token when there was no start to the token");if(null===this._currentTokenType)throw new ro(this._cursor.getSpan(this._currentTokenStart),"Programming error - attempted to end a token which has no token type");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 ro(t,e);return this._currentTokenStart=null,this._currentTokenType=null,r}handleError(e){if(e instanceof rz&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof ro)this.errors.push(e);else throw e}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){var t,r;return t=this._cursor.peek(),r=e,rq(t)===rq(r)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(rN(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(rN(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(rN(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(rN(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}_peekStr(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(r.peek()!==e.charCodeAt(n))return!1;r.advance()}return!0}_isBlockStart(){return 64===this._cursor.peek()&&rO.some(e=>this._peekStr(e))}_isLetStart(){return 64===this._cursor.peek()&&this._peekStr("@let")}_consumeEntity(e){this._beginToken(rw.ENCODED_ENTITY);let t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let e=this._attemptCharCode(120)||this._attemptCharCode(88),n=this._cursor.clone();if(this._attemptCharCodeUntilFn(rR),59!=this._cursor.peek()){var r;this._cursor.advance();let n=e?rA.HEX:rA.DEC;throw this._createError((r=this._cursor.getChars(t),`Unable to parse entity "${r}" - ${n} character reference entities must end with ";"`),this._cursor.getSpan())}let a=this._cursor.getChars(n);this._cursor.advance();try{let r=parseInt(a,e?16:10);this._endToken([String.fromCodePoint(r),this._cursor.getChars(t)])}catch{throw this._createError(rL(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(rM),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=rb.hasOwnProperty(e)&&rb[e];if(!n)throw this._createError(rL(e),this._cursor.getSpan(t));this._endToken([n,`&${e};`])}}}_consumeRawText(e,t){this._beginToken(e?rw.ESCAPABLE_RAW_TEXT:rw.RAW_TEXT);let r=[];for(;;){let n=this._cursor.clone(),a=t();if(this._cursor=n,a)break;e&&38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(r.join(""))]),r.length=0,this._consumeEntity(rw.ESCAPABLE_RAW_TEXT),this._beginToken(rw.ESCAPABLE_RAW_TEXT)):r.push(this._readChar())}this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(rw.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("--\x3e")),this._beginToken(rw.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeBogusComment(e){this._beginToken(rw.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>62===this._cursor.peek()),this._beginToken(rw.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(rw.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(rw.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(rw.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,()=>62===this._cursor.peek()),this._beginToken(rw.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(e){var t;let r,n=this._cursor.clone(),a="";for(;58!==this._cursor.peek()&&!(((t=this._cursor.peek())<97||122<t)&&(t<65||90<t)&&(t<48||t>57));)this._cursor.advance();return 58===this._cursor.peek()?(a=this._cursor.getChars(n),this._cursor.advance(),r=this._cursor.clone()):r=n,this._requireCharCodeUntilFn(e,+(""!==a)),[a,this._cursor.getChars(r)]}_consumeTagOpen(e){let t,r,n,a,i=[];try{if(this._selectorlessEnabled&&rH(this._cursor.peek()))a=this._consumeComponentOpenStart(e),[n,r,t]=a.parts,r&&(n+=`:${r}`),t&&(n+=`:${t}`),this._attemptCharCodeUntilFn(rD);else{if(!t7(this._cursor.peek()))throw this._createError(rN(this._cursor.peek()),this._cursor.getSpan(e));r=(a=this._consumeTagOpenStart(e)).parts[0],t=n=a.parts[1],this._attemptCharCodeUntilFn(rD)}for(;!rV(this._cursor.peek());)if(this._selectorlessEnabled&&64===this._cursor.peek()){let e=this._cursor.clone(),t=e.clone();t.advance(),rH(t.peek())&&this._consumeDirective(e,t)}else{let e=this._consumeAttribute();i.push(e)}a.type===rw.COMPONENT_OPEN_START?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(t){if(t instanceof ro)return void(a?a.type=a.type===rw.COMPONENT_OPEN_START?rw.INCOMPLETE_COMPONENT_OPEN:rw.INCOMPLETE_TAG_OPEN:(this._beginToken(rw.TEXT,e),this._endToken(["<"])));throw t}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===rw.TAG_OPEN_END_VOID)return;let s=this._getTagContentType(t,r,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(r,t),s===tq.RAW_TEXT?this._consumeRawTextWithTagClose(r,a,n,!1):s===tq.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,a,n,!0)}_consumeRawTextWithTagClose(e,t,r,n){this._consumeRawText(n,()=>!!this._attemptCharCode(60)&&!!this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(rD),!!this._attemptStrCaseInsensitive(e&&t.type!==rw.COMPONENT_OPEN_START?`${e}:${r}`:r))&&(this._attemptCharCodeUntilFn(rD),this._attemptCharCode(62))),this._beginToken(t.type===rw.COMPONENT_OPEN_START?rw.COMPONENT_CLOSE:rw.TAG_CLOSE),this._requireCharCodeUntilFn(e=>62===e,3),this._cursor.advance(),this._endToken(t.parts),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(rw.TAG_OPEN_START,e);let t=this._consumePrefixAndName(rI);return this._endToken(t)}_consumeComponentOpenStart(e){this._beginToken(rw.COMPONENT_OPEN_START,e);let t=this._consumeComponentName();return this._endToken(t)}_consumeComponentName(){let e=this._cursor.clone();for(;rU(this._cursor.peek());)this._cursor.advance();let t=this._cursor.getChars(e),r="",n="";return 58===this._cursor.peek()&&(this._cursor.advance(),[r,n]=this._consumePrefixAndName(rI)),[t,r,n]}_consumeAttribute(){let[e,t]=this._consumeAttributeName(),r;return this._attemptCharCodeUntilFn(rD),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(rD),r=this._consumeAttributeValue()),this._attemptCharCodeUntilFn(rD),{prefix:e,name:t,value:r}}_consumeAttributeName(){let e,t=this._cursor.peek();if(39===t||34===t)throw this._createError(rN(t),this._cursor.getSpan());if(this._beginToken(rw.ATTR_NAME),this._openDirectiveCount>0){let t=0;e=e=>{if(this._openDirectiveCount>0){if(40===e)t++;else if(41===e){if(0===t)return!0;t--}}return rI(e)}}else if(91===t){let t=0;e=e=>(91===e?t++:93===e&&t--,t<=0?rI(e):re(e))}else e=rI;let r=this._consumePrefixAndName(e);return this._endToken(r),r}_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(rw.ATTR_VALUE_TEXT,rw.ATTR_VALUE_INTERPOLATION,r,r),this._consumeQuote(t)}else{let t=()=>rI(this._cursor.peek());e=this._consumeWithInterpolation(rw.ATTR_VALUE_TEXT,rw.ATTR_VALUE_INTERPOLATION,t,t)}return e}_consumeQuote(e){this._beginToken(rw.ATTR_QUOTE),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?rw.TAG_OPEN_END_VOID:rw.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeComponentOpenEnd(){let e=this._attemptCharCode(47)?rw.COMPONENT_OPEN_END_VOID:rw.COMPONENT_OPEN_END;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._selectorlessEnabled){let t=e.clone();for(;62!==t.peek()&&!rH(t.peek());)t.advance();if(rH(t.peek())){this._beginToken(rw.COMPONENT_CLOSE,e);let t=this._consumeComponentName();this._attemptCharCodeUntilFn(rD),this._requireCharCode(62),this._endToken(t);return}}if(this._beginToken(rw.TAG_CLOSE,e),this._attemptCharCodeUntilFn(rD),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(rD),this._requireCharCode(62),this._endToken([]);else{let[e,t]=this._consumePrefixAndName(rI);this._attemptCharCodeUntilFn(rD),this._requireCharCode(62),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_consumeExpansionFormStart(){this._beginToken(rw.EXPANSION_FORM_START),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(rw.EXPANSION_FORM_START),this._beginToken(rw.RAW_TEXT);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(rD),this._beginToken(rw.RAW_TEXT);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(rD)}_consumeExpansionCaseStart(){this._beginToken(rw.EXPANSION_CASE_VALUE);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(rD),this._beginToken(rw.EXPANSION_CASE_EXP_START),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(rD),this._expansionCaseStack.push(rw.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(rw.EXPANSION_CASE_EXP_END),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(rD),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(rw.EXPANSION_FORM_END),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let r=this._cursor.clone();this._attemptStr("{{")?(this._endToken([this._processCarriageReturns(a.join(""))],r),a.length=0,this._consumeInterpolation(t,r,n),this._beginToken(e)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let i=this._processCarriageReturns(a.join(""));return this._endToken([i]),i}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push("{{");let a=this._cursor.clone(),i=null,s=!1;for(;0!==this._cursor.peek()&&(null===r||!r());){let e=this._cursor.clone();if(this._isTagStart()){this._cursor=e,n.push(this._getProcessedChars(a,e)),this._endToken(n);return}if(null===i)if(this._attemptStr("}}")){n.push(this._getProcessedChars(a,e)),n.push("}}"),this._endToken(n);return}else this._attemptStr("//")&&(s=!0);let t=this._cursor.peek();this._cursor.advance(),92===t?this._cursor.advance():t===i?i=null:!s&&null===i&&rr(t)&&(i=t)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();rU(this._cursor.peek());)this._cursor.advance();this._beginToken(rw.DIRECTIVE_NAME,e);let r=this._cursor.getChars(t);if(this._endToken([r]),this._attemptCharCodeUntilFn(rD),40===this._cursor.peek()){for(this._openDirectiveCount++,this._beginToken(rw.DIRECTIVE_OPEN),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(rD);!rV(this._cursor.peek())&&41!==this._cursor.peek();)this._consumeAttribute();if(this._attemptCharCodeUntilFn(rD),this._openDirectiveCount--,41!==this._cursor.peek()){if(62===this._cursor.peek()||47===this._cursor.peek())return;throw this._createError(rN(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(rw.DIRECTIVE_CLOSE),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(rD)}}_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()||this._isLetStart()||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}_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&&this._expansionCaseStack[this._expansionCaseStack.length-1]===rw.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===rw.EXPANSION_FORM_START}isExpansionFormStart(){if(123!==this._cursor.peek())return!1;let e=this._cursor.clone(),t=this._attemptStr("{{");return this._cursor=e,!t}_handleFullNameStackForTagOpen(e,t){let r=tF(e,t);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=tF(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function rD(e){return!t9(e)||0===e}function rI(e){return t9(e)||62===e||60===e||47===e||39===e||34===e||61===e||0===e}function rR(e){return 59===e||0===e||!(e>=97&&e<=102||e>=65&&e<=70||t8(e))}function rM(e){return 59===e||0===e||!t7(e)}function rq(e){return e>=97&&e<=122?e-97+65:e}function rB(e){return 59!==e&&rD(e)}function rH(e){return 95===e||e>=65&&e<=90}function rU(e){return t7(e)||t8(e)||95===e}function rV(e){return 47===e||62===e||60===e||0===e}var rF=class Ir{constructor(e,t){if(e instanceof Ir){this.file=e.file,this.input=e.input,this.end=e.end;let t=e.state;this.state={peek:t.peek,offset:t.offset,line:t.line,column:t.column}}else{if(!t)throw Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Ir(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);return new ri(n,this.locationFromCursor(this),r!==e?this.locationFromCursor(r):n)}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 rz('Unexpected character "EOF"',this);let t=this.charAt(e.offset);10===t?(e.line++,e.column=0):re(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 rn(e.file,e.state.offset,e.state.line,e.state.column)}},rW=class Mr extends rF{constructor(e,t){e instanceof Mr?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Mr(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(rt(e())){let t="",r=0,n=this.clone();for(;rt(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 re(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=parseInt(this.input.slice(e.internalState.offset,e.internalState.offset+t),16);if(isNaN(r))throw e.state=e.internalState,new rz("Invalid hexadecimal escape sequence",e);return r}},rz=class extends Error{constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}},r$=class ns extends ro{static create(e,t,r){return new ns(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},rj=class{constructor(e,t){this.rootNodes=e,this.errors=t}},rX=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let i=e=>(t,...r)=>e(t.toLowerCase(),...r),s=n?this.getTagDefinition:i(this.getTagDefinition),o=e=>s(e).getContentType(),l=n?a:i(a),c=function(e,t,r,n={}){let a=new rP(new ra(e,t),r,n);return a.tokenize(),new ry(function(e){let t=[],r;for(let n=0;n<e.length;n++){let a=e[n];r&&r.type===rw.TEXT&&a.type===rw.TEXT||r&&r.type===rw.ATTR_VALUE_TEXT&&a.type===rw.ATTR_VALUE_TEXT?(r.parts[0]+=a.parts[0],r.sourceSpan.end=a.sourceSpan.end):(r=a,t.push(r))}return t}(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}(e,t,a?(e,t,r,n)=>{let a=l(e,t,r,n);return void 0!==a?a:o(e)}:o,r),u=r&&r.canSelfClose||!1,p=r&&r.allowHtmComponentClosingTags||!1,h=new rG(c.tokens,s,u,p,n);return h.build(),new rj(h.rootNodes,[...c.errors,...h.errors])}},rG=class ss{constructor(e,t,r,n,a){this.tokens=e,this.tagDefinitionResolver=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==rw.EOF;)this._peek.type===rw.TAG_OPEN_START||this._peek.type===rw.INCOMPLETE_TAG_OPEN?this._consumeElementStartTag(this._advance()):this._peek.type===rw.TAG_CLOSE?(this._closeVoidElement(),this._consumeElementEndTag(this._advance())):this._peek.type===rw.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===rw.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===rw.TEXT||this._peek.type===rw.RAW_TEXT||this._peek.type===rw.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===rw.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===rw.BLOCK_OPEN_START?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===rw.BLOCK_CLOSE?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===rw.INCOMPLETE_BLOCK_OPEN?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===rw.LET_START?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===rw.DOC_TYPE_START?this._consumeDocType(this._advance()):this._peek.type===rw.INCOMPLETE_LET?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._peek.type===rw.COMPONENT_OPEN_START||this._peek.type===rw.INCOMPLETE_COMPONENT_OPEN?this._consumeComponentStartTag(this._advance()):this._peek.type===rw.COMPONENT_CLOSE?this._consumeComponentEndTag(this._advance()):this._advance();for(let e of this._containerStack)e instanceof r_&&this.errors.push(r$.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(rw.CDATA_END);this._addToParent(new ru(r,new ri(e.sourceSpan.start,(n||t).sourceSpan.end),[t]))}_consumeComment(e){let t=this._advanceIf(rw.RAW_TEXT),r=this._advanceIf(rw.COMMENT_END),n=null!=t?t.parts[0].trim():null,a=null==r?e.sourceSpan:new ri(e.sourceSpan.start,r.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new rg(n,a))}_consumeDocType(e){let t=this._advanceIf(rw.RAW_TEXT),r=this._advanceIf(rw.DOC_TYPE_END),n=null!=t?t.parts[0].trim():null,a=new ri(e.sourceSpan.start,(r||t||e).sourceSpan.end);this._addToParent(new rf(n,a))}_consumeExpansion(e){let t=this._advance(),r=this._advance(),n=[];for(;this._peek.type===rw.EXPANSION_CASE_VALUE;){let e=this._parseExpansionCase();if(!e)return;n.push(e)}if(this._peek.type!==rw.EXPANSION_FORM_END)return void this.errors.push(r$.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));let a=new ri(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new rp(t.parts[0],r.parts[0],n,a,t.sourceSpan)),this._advance()}_parseExpansionCase(){let e=this._advance();if(this._peek.type!==rw.EXPANSION_CASE_EXP_START)return this.errors.push(r$.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let t=this._advance(),r=this._collectExpansionExpTokens(t);if(!r)return null;let n=this._advance();r.push({type:rw.EOF,parts:[],sourceSpan:n.sourceSpan});let a=new ss(r,this.tagDefinitionResolver,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(a.build(),a.errors.length>0)return this.errors=this.errors.concat(a.errors),null;let i=new ri(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),s=new ri(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new rh(e.parts[0],a.rootNodes,i,e.sourceSpan,s)}_collectExpansionExpTokens(e){let t=[],r=[rw.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===rw.EXPANSION_FORM_START||this._peek.type===rw.EXPANSION_CASE_EXP_START)&&r.push(this._peek.type),this._peek.type===rw.EXPANSION_CASE_EXP_END){if(!rK(r,rw.EXPANSION_CASE_EXP_START))return this.errors.push(r$.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;else if(r.pop(),0===r.length)return t}if(this._peek.type===rw.EXPANSION_FORM_END)if(!rK(r,rw.EXPANSION_FORM_START))return this.errors.push(r$.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;else r.pop();if(this._peek.type===rw.EOF)return this.errors.push(r$.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==`
17
+ `||++s!=t););return{before:r.substring(n,this.offset),after:r.substring(this.offset,a+1)}}return null}},ru=class{constructor(e,t){this.content=e,this.url=t}},rp=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)}},rh=((nn={})[nn.WARNING=0]="WARNING",nn[nn.ERROR=1]="ERROR",nn),rd=class extends Error{constructor(e,t,r=rh.ERROR,n){super(t),this.span=e,this.msg=t,this.level=r,this.relatedError=n,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${rh[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},rm=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},rg=class extends rm{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.kind="text"}visit(e,t){return e.visitText(this,t)}},rf=class extends rm{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.kind="cdata"}visit(e,t){return e.visitCdata(this,t)}},r_=class extends rm{constructor(e,t,r,n,a,i){super(n,i),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a,this.kind="expansion"}visit(e,t){return e.visitExpansion(this,t)}},rv=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.kind="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},rS=class extends rm{constructor(e,t,r,n,a,i,s){super(r,s),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=i,this.kind="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},rT=class extends rm{constructor(e,t,r,n,a,i,s,o=null,l=null,c,u){super(i,u),this.name=e,this.attrs=t,this.directives=r,this.children=n,this.isSelfClosing=a,this.startSourceSpan=s,this.endSourceSpan=o,this.nameSpan=l,this.isVoid=c,this.kind="element"}visit(e,t){return e.visitElement(this,t)}},rk=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.kind="comment"}visit(e,t){return e.visitComment(this,t)}},rE=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.kind="docType"}visit(e,t){return e.visitDocType(this,t)}},rC=class extends rm{constructor(e,t,r,n,a,i,s=null,o){super(n,o),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=i,this.endSourceSpan=s,this.kind="block"}visit(e,t){return e.visitBlock(this,t)}},rb=class extends rm{constructor(e,t,r,n,a,i,s,o,l,c=null,u){super(o,u),this.componentName=e,this.tagName=t,this.fullName=r,this.attrs=n,this.directives=a,this.children=i,this.isSelfClosing=s,this.startSourceSpan=l,this.endSourceSpan=c,this.kind="component"}visit(e,t){return e.visitComponent(this,t)}},rw=class{constructor(e,t,r,n,a=null){this.name=e,this.attrs=t,this.sourceSpan=r,this.startSourceSpan=n,this.endSourceSpan=a,this.kind="directive"}visit(e,t){return e.visitDirective(this,t)}},ry=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.kind="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},rx=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.kind="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}};function rN(e,t,r=null){let n=[],a=e.visit?t=>e.visit(t,r)||t.visit(e,r):t=>t.visit(e,r);return t.forEach(e=>{let t=a(e);t&&n.push(t)}),n}var rL=class{constructor(){}visitElement(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.directives),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){}visitLetDeclaration(e,t){}visitComponent(e,t){this.visitChildren(t,t=>{t(e.attrs),t(e.children)})}visitDirective(e,t){this.visitChildren(t,t=>{t(e.attrs)})}visitChildren(e,t){let r=[],n=this;return t(function(t){t&&r.push(rN(n,t,e))}),Array.prototype.concat.apply([],r)}},rA={AElig:"\xc6",AMP:"&",amp:"&",Aacute:"\xc1",Abreve:"Ă",Acirc:"\xc2",Acy:"А",Afr:"\uD835\uDD04",Agrave:"\xc0",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"\uD835\uDD38",ApplyFunction:"⁡",af:"⁡",Aring:"\xc5",angst:"\xc5",Ascr:"\uD835\uDC9C",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"\xc3",Auml:"\xc4",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"\uD835\uDD05",Bopf:"\uD835\uDD39",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"\xa9",copy:"\xa9",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"\xc7",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"\xb8",cedil:"\xb8",CenterDot:"\xb7",centerdot:"\xb7",middot:"\xb7",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:"\uD835\uDC9E",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"\uD835\uDD07",DiacriticalAcute:"\xb4",acute:"\xb4",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"\uD835\uDD3B",Dot:"\xa8",DoubleDot:"\xa8",die:"\xa8",uml:"\xa8",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:"\uD835\uDC9F",Dstrok:"Đ",ENG:"Ŋ",ETH:"\xd0",Eacute:"\xc9",Ecaron:"Ě",Ecirc:"\xca",Ecy:"Э",Edot:"Ė",Efr:"\uD835\uDD08",Egrave:"\xc8",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"\uD835\uDD3C",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"\xcb",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"\uD835\uDD09",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"\uD835\uDD3D",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"\uD835\uDD0A",Gg:"⋙",ggg:"⋙",Gopf:"\uD835\uDD3E",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"\uD835\uDCA2",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:"\xcd",Icirc:"\xce",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"\xcc",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"\uD835\uDD40",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"\xcf",Jcirc:"Ĵ",Jcy:"Й",Jfr:"\uD835\uDD0D",Jopf:"\uD835\uDD41",Jscr:"\uD835\uDCA5",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"\uD835\uDD0E",Kopf:"\uD835\uDD42",Kscr:"\uD835\uDCA6",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:"\uD835\uDD0F",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"\uD835\uDD43",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"\uD835\uDD10",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"\uD835\uDD44",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:`
18
+ `,Nfr:"\uD835\uDD11",NoBreak:"⁠",NonBreakingSpace:"\xa0",nbsp:"\xa0",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:"\uD835\uDCA9",Ntilde:"\xd1",Nu:"Ν",OElig:"Œ",Oacute:"\xd3",Ocirc:"\xd4",Ocy:"О",Odblac:"Ő",Ofr:"\uD835\uDD12",Ograve:"\xd2",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"\uD835\uDD46",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"\uD835\uDCAA",Oslash:"\xd8",Otilde:"\xd5",Otimes:"⨷",Ouml:"\xd6",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"\uD835\uDD13",Phi:"Φ",Pi:"Π",PlusMinus:"\xb1",plusmn:"\xb1",pm:"\xb1",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"\uD835\uDCAB",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"\uD835\uDD14",Qopf:"ℚ",rationals:"ℚ",Qscr:"\uD835\uDCAC",RBarr:"⤐",drbkarow:"⤐",REG:"\xae",circledR:"\xae",reg:"\xae",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:"\uD835\uDD16",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"\uD835\uDD4A",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"\uD835\uDCAE",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:"\xde",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"\uD835\uDD17",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"\uD835\uDD4B",TripleDot:"⃛",tdot:"⃛",Tscr:"\uD835\uDCAF",Tstrok:"Ŧ",Uacute:"\xda",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"\xdb",Ucy:"У",Udblac:"Ű",Ufr:"\uD835\uDD18",Ugrave:"\xd9",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"\uD835\uDD4C",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:"\uD835\uDCB0",Utilde:"Ũ",Uuml:"\xdc",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"\uD835\uDD19",Vopf:"\uD835\uDD4D",Vscr:"\uD835\uDCB1",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"\uD835\uDD1A",Wopf:"\uD835\uDD4E",Wscr:"\uD835\uDCB2",Xfr:"\uD835\uDD1B",Xi:"Ξ",Xopf:"\uD835\uDD4F",Xscr:"\uD835\uDCB3",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"\xdd",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"\uD835\uDD1C",Yopf:"\uD835\uDD50",Yscr:"\uD835\uDCB4",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"\uD835\uDCB5",aacute:"\xe1",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"\xe2",acy:"а",aelig:"\xe6",afr:"\uD835\uDD1E",agrave:"\xe0",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:"\uD835\uDD52",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"\xe5",ascr:"\uD835\uDCB6",ast:"*",midast:"*",atilde:"\xe3",auml:"\xe4",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:"\uD835\uDD1F",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:"\uD835\uDD53",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:"\xa6",bscr:"\uD835\uDCB7",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"\xe7",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"\xa2",cfr:"\uD835\uDD20",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:"\uD835\uDD54",copysr:"℗",crarr:"↵",cross:"✗",cscr:"\uD835\uDCB8",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:"\xa4",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"\xb0",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"\xe9",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"\xea",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"\uD835\uDD22",eg:"⪚",egrave:"\xe8",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"\uD835\uDD56",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"\xf0",euml:"\xeb",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"\xbd",half:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"\uD835\uDCBB",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"\uD835\uDD58",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:"\uD835\uDD25",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"\uD835\uDD59",horbar:"―",hscr:"\uD835\uDCBD",hstrok:"ħ",hybull:"⁃",iacute:"\xed",icirc:"\xee",icy:"и",iecy:"е",iexcl:"\xa1",ifr:"\uD835\uDD26",igrave:"\xec",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"\uD835\uDD5A",iota:"ι",iquest:"\xbf",iscr:"\uD835\uDCBE",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"\xef",jcirc:"ĵ",jcy:"й",jfr:"\uD835\uDD27",jmath:"ȷ",jopf:"\uD835\uDD5B",jscr:"\uD835\uDCBF",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"\uD835\uDD28",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"\uD835\uDD5C",kscr:"\uD835\uDCC0",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"\xab",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:"\uD835\uDD29",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"\xaf",strns:"\xaf",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"\uD835\uDD2A",mho:"℧",micro:"\xb5",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"\uD835\uDD5E",mscr:"\uD835\uDCC2",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:"\uD835\uDD2B",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"\uD835\uDD5F",not:"\xac",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"\uD835\uDCC3",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"\xf1",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"\xf3",ocirc:"\xf4",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"\uD835\uDD2C",ogon:"˛",ograve:"\xf2",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"\uD835\uDD60",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"\xf8",osol:"⊘",otilde:"\xf5",otimesas:"⨶",ouml:"\xf6",ovbar:"⌽",para:"\xb6",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"\uD835\uDD2D",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"\uD835\uDD61",pound:"\xa3",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"\uD835\uDCC5",psi:"ψ",puncsp:" ",qfr:"\uD835\uDD2E",qopf:"\uD835\uDD62",qprime:"⁗",qscr:"\uD835\uDCC6",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"\xbb",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:"\uD835\uDD2F",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"\uD835\uDCC7",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:"\xa7",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"\uD835\uDD30",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"\xad",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"\uD835\uDCC8",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"\xdf",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"\uD835\uDD31",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"\xfe",times:"\xd7",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"\xfa",ubrcy:"ў",ubreve:"ŭ",ucirc:"\xfb",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"\uD835\uDD32",ugrave:"\xf9",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"\uD835\uDD66",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"\uD835\uDCCA",utdot:"⋰",utilde:"ũ",uuml:"\xfc",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"\uD835\uDD33",vopf:"\uD835\uDD67",vscr:"\uD835\uDCCB",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"\uD835\uDD34",wopf:"\uD835\uDD68",wscr:"\uD835\uDCCC",xfr:"\uD835\uDD35",xi:"ξ",xnis:"⋻",xopf:"\uD835\uDD69",xscr:"\uD835\uDCCD",yacute:"\xfd",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"\xa5",yfr:"\uD835\uDD36",yicy:"ї",yopf:"\uD835\uDD6A",yscr:"\uD835\uDCCE",yucy:"ю",yuml:"\xff",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"\uD835\uDD37",zhcy:"ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",zscr:"\uD835\uDCCF",zwj:"‍",zwnj:"‌"};rA.ngsp="";var rO=((na={})[na.TAG_OPEN_START=0]="TAG_OPEN_START",na[na.TAG_OPEN_END=1]="TAG_OPEN_END",na[na.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",na[na.TAG_CLOSE=3]="TAG_CLOSE",na[na.INCOMPLETE_TAG_OPEN=4]="INCOMPLETE_TAG_OPEN",na[na.TEXT=5]="TEXT",na[na.ESCAPABLE_RAW_TEXT=6]="ESCAPABLE_RAW_TEXT",na[na.RAW_TEXT=7]="RAW_TEXT",na[na.INTERPOLATION=8]="INTERPOLATION",na[na.ENCODED_ENTITY=9]="ENCODED_ENTITY",na[na.COMMENT_START=10]="COMMENT_START",na[na.COMMENT_END=11]="COMMENT_END",na[na.CDATA_START=12]="CDATA_START",na[na.CDATA_END=13]="CDATA_END",na[na.ATTR_NAME=14]="ATTR_NAME",na[na.ATTR_QUOTE=15]="ATTR_QUOTE",na[na.ATTR_VALUE_TEXT=16]="ATTR_VALUE_TEXT",na[na.ATTR_VALUE_INTERPOLATION=17]="ATTR_VALUE_INTERPOLATION",na[na.DOC_TYPE_START=18]="DOC_TYPE_START",na[na.DOC_TYPE_END=19]="DOC_TYPE_END",na[na.EXPANSION_FORM_START=20]="EXPANSION_FORM_START",na[na.EXPANSION_CASE_VALUE=21]="EXPANSION_CASE_VALUE",na[na.EXPANSION_CASE_EXP_START=22]="EXPANSION_CASE_EXP_START",na[na.EXPANSION_CASE_EXP_END=23]="EXPANSION_CASE_EXP_END",na[na.EXPANSION_FORM_END=24]="EXPANSION_FORM_END",na[na.BLOCK_OPEN_START=25]="BLOCK_OPEN_START",na[na.BLOCK_OPEN_END=26]="BLOCK_OPEN_END",na[na.BLOCK_CLOSE=27]="BLOCK_CLOSE",na[na.BLOCK_PARAMETER=28]="BLOCK_PARAMETER",na[na.INCOMPLETE_BLOCK_OPEN=29]="INCOMPLETE_BLOCK_OPEN",na[na.LET_START=30]="LET_START",na[na.LET_VALUE=31]="LET_VALUE",na[na.LET_END=32]="LET_END",na[na.INCOMPLETE_LET=33]="INCOMPLETE_LET",na[na.COMPONENT_OPEN_START=34]="COMPONENT_OPEN_START",na[na.COMPONENT_OPEN_END=35]="COMPONENT_OPEN_END",na[na.COMPONENT_OPEN_END_VOID=36]="COMPONENT_OPEN_END_VOID",na[na.COMPONENT_CLOSE=37]="COMPONENT_CLOSE",na[na.INCOMPLETE_COMPONENT_OPEN=38]="INCOMPLETE_COMPONENT_OPEN",na[na.DIRECTIVE_NAME=39]="DIRECTIVE_NAME",na[na.DIRECTIVE_OPEN=40]="DIRECTIVE_OPEN",na[na.DIRECTIVE_CLOSE=41]="DIRECTIVE_CLOSE",na[na.EOF=42]="EOF",na),rP=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},rD=/\r\n?/g;function rR(e){return`Unexpected character "${0===e?"EOF":String.fromCharCode(e)}"`}function rI(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}var rM=((ni=rM||{}).HEX="hexadecimal",ni.DEC="decimal",ni),rq=["@if","@else","@for","@switch","@case","@default","@empty","@defer","@placeholder","@loading","@error"],rB=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._openDirectiveCount=0,this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,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 rK(e,n):new rG(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0,this._selectorlessEnabled=r.selectorlessEnabled??!1;try{this._cursor.init()}catch(e){this.handleError(e)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(rD,`
19
+ `)}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._tokenizeLet&&64===this._cursor.peek()&&!this._inInterpolation&&this._isLetStart()?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._isBlockStart()?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(rO.TEXT,rO.INTERPOLATION,()=>this._isTextEnd(),()=>this._isTagStart())}catch(e){this.handleError(e)}}this._beginToken(rO.EOF),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(t=>{var r;return rn(t)?!e:!(ri(r=t)||ra(r)||95===r)||(e=!0,!1)}),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._requireCharCode(64),this._beginToken(rO.BLOCK_OPEN_START,e);let t=this._endToken([this._getBlockName()]);if(40===this._cursor.peek())if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(rH),this._attemptCharCode(41))this._attemptCharCodeUntilFn(rH);else{t.type=rO.INCOMPLETE_BLOCK_OPEN;return}this._attemptCharCode(123)?(this._beginToken(rO.BLOCK_OPEN_END),this._endToken([])):t.type=rO.INCOMPLETE_BLOCK_OPEN}_consumeBlockEnd(e){this._beginToken(rO.BLOCK_CLOSE,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(rz);41!==this._cursor.peek()&&0!==this._cursor.peek();){this._beginToken(rO.BLOCK_PARAMETER);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&&rl(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(rz)}}_consumeLetDeclaration(e){if(this._requireStr("@let"),this._beginToken(rO.LET_START,e),rn(this._cursor.peek()))this._attemptCharCodeUntilFn(rH);else{this._endToken([this._cursor.getChars(e)]).type=rO.INCOMPLETE_LET;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(rH),!this._attemptCharCode(61)){t.type=rO.INCOMPLETE_LET;return}this._attemptCharCodeUntilFn(e=>rH(e)&&!rs(e)),this._consumeLetDeclarationValue(),59===this._cursor.peek()?(this._beginToken(rO.LET_END),this._endToken([]),this._cursor.advance()):(t.type=rO.INCOMPLETE_LET,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(e=>!(ri(e)||36===e||95===e||t&&ra(e))||(t=!0,!1)),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(rO.LET_VALUE,e);0!==this._cursor.peek();){let e=this._cursor.peek();if(59===e)break;rl(e)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(t=>92===t?(this._cursor.advance(),!1):t===e)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(125!==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 rd(this._cursor.getSpan(t),"Programming error - attempted to end a token when there was no start to the token");if(null===this._currentTokenType)throw new rd(this._cursor.getSpan(this._currentTokenStart),"Programming error - attempted to end a token which has no token type");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 rd(t,e);return this._currentTokenStart=null,this._currentTokenType=null,r}handleError(e){if(e instanceof rY&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof rd)this.errors.push(e);else throw e}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){var t,r;return t=this._cursor.peek(),r=e,rW(t)===rW(r)&&(this._cursor.advance(),!0)}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(rR(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(rR(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(rR(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(rR(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}_peekStr(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(r.peek()!==e.charCodeAt(n))return!1;r.advance()}return!0}_isBlockStart(){return 64===this._cursor.peek()&&rq.some(e=>this._peekStr(e))}_isLetStart(){return 64===this._cursor.peek()&&this._peekStr("@let")}_consumeEntity(e){this._beginToken(rO.ENCODED_ENTITY);let t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let e=this._attemptCharCode(120)||this._attemptCharCode(88),n=this._cursor.clone();if(this._attemptCharCodeUntilFn(rV),59!=this._cursor.peek()){var r;this._cursor.advance();let n=e?rM.HEX:rM.DEC;throw this._createError((r=this._cursor.getChars(t),`Unable to parse entity "${r}" - ${n} character reference entities must end with ";"`),this._cursor.getSpan())}let a=this._cursor.getChars(n);this._cursor.advance();try{let r=parseInt(a,e?16:10);this._endToken([String.fromCodePoint(r),this._cursor.getChars(t)])}catch{throw this._createError(rI(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let r=this._cursor.clone();if(this._attemptCharCodeUntilFn(rU),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=rA.hasOwnProperty(e)&&rA[e];if(!n)throw this._createError(rI(e),this._cursor.getSpan(t));this._endToken([n,`&${e};`])}}}_consumeRawText(e,t){this._beginToken(e?rO.ESCAPABLE_RAW_TEXT:rO.RAW_TEXT);let r=[];for(;;){let n=this._cursor.clone(),a=t();if(this._cursor=n,a)break;e&&38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(r.join(""))]),r.length=0,this._consumeEntity(rO.ESCAPABLE_RAW_TEXT),this._beginToken(rO.ESCAPABLE_RAW_TEXT)):r.push(this._readChar())}this._endToken([this._processCarriageReturns(r.join(""))])}_consumeComment(e){this._beginToken(rO.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("--\x3e")),this._beginToken(rO.COMMENT_END),this._requireStr("--\x3e"),this._endToken([])}_consumeBogusComment(e){this._beginToken(rO.COMMENT_START,e),this._endToken([]),this._consumeRawText(!1,()=>62===this._cursor.peek()),this._beginToken(rO.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(rO.CDATA_START,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(rO.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(rO.DOC_TYPE_START,e),this._endToken([]),this._consumeRawText(!1,()=>62===this._cursor.peek()),this._beginToken(rO.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(e){var t;let r,n=this._cursor.clone(),a="";for(;58!==this._cursor.peek()&&!(((t=this._cursor.peek())<97||122<t)&&(t<65||90<t)&&(t<48||t>57));)this._cursor.advance();return 58===this._cursor.peek()?(a=this._cursor.getChars(n),this._cursor.advance(),r=this._cursor.clone()):r=n,this._requireCharCodeUntilFn(e,+(""!==a)),[a,this._cursor.getChars(r)]}_consumeTagOpen(e){let t,r,n,a,i=[];try{if(this._selectorlessEnabled&&r$(this._cursor.peek()))a=this._consumeComponentOpenStart(e),[n,r,t]=a.parts,r&&(n+=`:${r}`),t&&(n+=`:${t}`),this._attemptCharCodeUntilFn(rH);else{if(!ri(this._cursor.peek()))throw this._createError(rR(this._cursor.peek()),this._cursor.getSpan(e));r=(a=this._consumeTagOpenStart(e)).parts[0],t=n=a.parts[1],this._attemptCharCodeUntilFn(rH)}for(;!rX(this._cursor.peek());)if(this._selectorlessEnabled&&64===this._cursor.peek()){let e=this._cursor.clone(),t=e.clone();t.advance(),r$(t.peek())&&this._consumeDirective(e,t)}else{let e=this._consumeAttribute();i.push(e)}a.type===rO.COMPONENT_OPEN_START?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(t){if(t instanceof rd)return void(a?a.type=a.type===rO.COMPONENT_OPEN_START?rO.INCOMPLETE_COMPONENT_OPEN:rO.INCOMPLETE_TAG_OPEN:(this._beginToken(rO.TEXT,e),this._endToken(["<"])));throw t}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===rO.TAG_OPEN_END_VOID)return;let s=this._getTagContentType(t,r,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(r,t),s===tW.RAW_TEXT?this._consumeRawTextWithTagClose(r,a,n,!1):s===tW.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,a,n,!0)}_consumeRawTextWithTagClose(e,t,r,n){this._consumeRawText(n,()=>!!this._attemptCharCode(60)&&!!this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(rH),!!this._attemptStrCaseInsensitive(e&&t.type!==rO.COMPONENT_OPEN_START?`${e}:${r}`:r))&&(this._attemptCharCodeUntilFn(rH),this._attemptCharCode(62))),this._beginToken(t.type===rO.COMPONENT_OPEN_START?rO.COMPONENT_CLOSE:rO.TAG_CLOSE),this._requireCharCodeUntilFn(e=>62===e,3),this._cursor.advance(),this._endToken(t.parts),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(rO.TAG_OPEN_START,e);let t=this._consumePrefixAndName(rF);return this._endToken(t)}_consumeComponentOpenStart(e){this._beginToken(rO.COMPONENT_OPEN_START,e);let t=this._consumeComponentName();return this._endToken(t)}_consumeComponentName(){let e=this._cursor.clone();for(;rj(this._cursor.peek());)this._cursor.advance();let t=this._cursor.getChars(e),r="",n="";return 58===this._cursor.peek()&&(this._cursor.advance(),[r,n]=this._consumePrefixAndName(rF)),[t,r,n]}_consumeAttribute(){let[e,t]=this._consumeAttributeName(),r;return this._attemptCharCodeUntilFn(rH),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(rH),r=this._consumeAttributeValue()),this._attemptCharCodeUntilFn(rH),{prefix:e,name:t,value:r}}_consumeAttributeName(){let e,t=this._cursor.peek();if(39===t||34===t)throw this._createError(rR(t),this._cursor.getSpan());if(this._beginToken(rO.ATTR_NAME),this._openDirectiveCount>0){let t=0;e=e=>{if(this._openDirectiveCount>0){if(40===e)t++;else if(41===e){if(0===t)return!0;t--}}return rF(e)}}else if(91===t){let t=0;e=e=>(91===e?t++:93===e&&t--,t<=0?rF(e):rs(e))}else e=rF;let r=this._consumePrefixAndName(e);return this._endToken(r),r}_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(rO.ATTR_VALUE_TEXT,rO.ATTR_VALUE_INTERPOLATION,r,r),this._consumeQuote(t)}else{let t=()=>rF(this._cursor.peek());e=this._consumeWithInterpolation(rO.ATTR_VALUE_TEXT,rO.ATTR_VALUE_INTERPOLATION,t,t)}return e}_consumeQuote(e){this._beginToken(rO.ATTR_QUOTE),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?rO.TAG_OPEN_END_VOID:rO.TAG_OPEN_END;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeComponentOpenEnd(){let e=this._attemptCharCode(47)?rO.COMPONENT_OPEN_END_VOID:rO.COMPONENT_OPEN_END;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._selectorlessEnabled){let t=e.clone();for(;62!==t.peek()&&!r$(t.peek());)t.advance();if(r$(t.peek())){this._beginToken(rO.COMPONENT_CLOSE,e);let t=this._consumeComponentName();this._attemptCharCodeUntilFn(rH),this._requireCharCode(62),this._endToken(t);return}}if(this._beginToken(rO.TAG_CLOSE,e),this._attemptCharCodeUntilFn(rH),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(rH),this._requireCharCode(62),this._endToken([]);else{let[e,t]=this._consumePrefixAndName(rF);this._attemptCharCodeUntilFn(rH),this._requireCharCode(62),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}}_consumeExpansionFormStart(){this._beginToken(rO.EXPANSION_FORM_START),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(rO.EXPANSION_FORM_START),this._beginToken(rO.RAW_TEXT);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(rH),this._beginToken(rO.RAW_TEXT);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(rH)}_consumeExpansionCaseStart(){this._beginToken(rO.EXPANSION_CASE_VALUE);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(rH),this._beginToken(rO.EXPANSION_CASE_EXP_START),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(rH),this._expansionCaseStack.push(rO.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(rO.EXPANSION_CASE_EXP_END),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(rH),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(rO.EXPANSION_FORM_END),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let r=this._cursor.clone();this._attemptStr("{{")?(this._endToken([this._processCarriageReturns(a.join(""))],r),a.length=0,this._consumeInterpolation(t,r,n),this._beginToken(e)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let i=this._processCarriageReturns(a.join(""));return this._endToken([i]),i}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push("{{");let a=this._cursor.clone(),i=null,s=!1;for(;0!==this._cursor.peek()&&(null===r||!r());){let e=this._cursor.clone();if(this._isTagStart()){this._cursor=e,n.push(this._getProcessedChars(a,e)),this._endToken(n);return}if(null===i)if(this._attemptStr("}}")){n.push(this._getProcessedChars(a,e)),n.push("}}"),this._endToken(n);return}else this._attemptStr("//")&&(s=!0);let t=this._cursor.peek();this._cursor.advance(),92===t?this._cursor.advance():t===i?i=null:!s&&null===i&&rl(t)&&(i=t)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();rj(this._cursor.peek());)this._cursor.advance();this._beginToken(rO.DIRECTIVE_NAME,e);let r=this._cursor.getChars(t);if(this._endToken([r]),this._attemptCharCodeUntilFn(rH),40===this._cursor.peek()){for(this._openDirectiveCount++,this._beginToken(rO.DIRECTIVE_OPEN),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(rH);!rX(this._cursor.peek())&&41!==this._cursor.peek();)this._consumeAttribute();if(this._attemptCharCodeUntilFn(rH),this._openDirectiveCount--,41!==this._cursor.peek()){if(62===this._cursor.peek()||47===this._cursor.peek())return;throw this._createError(rR(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(rO.DIRECTIVE_CLOSE),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(rH)}}_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()||this._isLetStart()||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}_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&&this._expansionCaseStack[this._expansionCaseStack.length-1]===rO.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===rO.EXPANSION_FORM_START}isExpansionFormStart(){if(123!==this._cursor.peek())return!1;let e=this._cursor.clone(),t=this._attemptStr("{{");return this._cursor=e,!t}_handleFullNameStackForTagOpen(e,t){let r=tG(e,t);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=tG(e,t);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function rH(e){return!rn(e)||0===e}function rF(e){return rn(e)||62===e||60===e||47===e||39===e||34===e||61===e||0===e}function rV(e){return 59===e||0===e||!(e>=97&&e<=102||e>=65&&e<=70||ra(e))}function rU(e){return 59===e||0===e||!ri(e)}function rW(e){return e>=97&&e<=122?e-97+65:e}function rz(e){return 59!==e&&rH(e)}function r$(e){return 95===e||e>=65&&e<=90}function rj(e){return ri(e)||ra(e)||95===e}function rX(e){return 47===e||62===e||60===e||0===e}var rG=class Br{constructor(e,t){if(e instanceof Br){this.file=e.file,this.input=e.input,this.end=e.end;let t=e.state;this.state={peek:t.peek,offset:t.offset,line:t.line,column:t.column}}else{if(!t)throw Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Br(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);return new rp(n,this.locationFromCursor(this),r!==e?this.locationFromCursor(r):n)}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 rY('Unexpected character "EOF"',this);let t=this.charAt(e.offset);10===t?(e.line++,e.column=0):rs(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 rc(e.file,e.state.offset,e.state.line,e.state.column)}},rK=class Fr extends rG{constructor(e,t){e instanceof Fr?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Fr(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(ro(e())){let t="",r=0,n=this.clone();for(;ro(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 rs(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=parseInt(this.input.slice(e.internalState.offset,e.internalState.offset+t),16);if(isNaN(r))throw e.state=e.internalState,new rY("Invalid hexadecimal escape sequence",e);return r}},rY=class extends Error{constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}},rJ=class os extends rd{static create(e,t,r){return new os(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},rQ=class{constructor(e,t){this.rootNodes=e,this.errors=t}},rZ=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let i=e=>(t,...r)=>e(t.toLowerCase(),...r),s=n?this.getTagDefinition:i(this.getTagDefinition),o=e=>s(e).getContentType(),l=n?a:i(a),c=function(e,t,r,n={}){let a=new rB(new ru(e,t),r,n);return a.tokenize(),new rP(function(e){let t=[],r;for(let n=0;n<e.length;n++){let a=e[n];r&&r.type===rO.TEXT&&a.type===rO.TEXT||r&&r.type===rO.ATTR_VALUE_TEXT&&a.type===rO.ATTR_VALUE_TEXT?(r.parts[0]+=a.parts[0],r.sourceSpan.end=a.sourceSpan.end):(r=a,t.push(r))}return t}(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}(e,t,a?(e,t,r,n)=>{let a=l(e,t,r,n);return void 0!==a?a:o(e)}:o,r),u=r&&r.canSelfClose||!1,p=r&&r.allowHtmComponentClosingTags||!1,h=new r0(c.tokens,s,u,p,n);return h.build(),new rQ(h.rootNodes,[...c.errors,...h.errors])}},r0=class cs{constructor(e,t,r,n,a){this.tokens=e,this.tagDefinitionResolver=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==rO.EOF;)this._peek.type===rO.TAG_OPEN_START||this._peek.type===rO.INCOMPLETE_TAG_OPEN?this._consumeElementStartTag(this._advance()):this._peek.type===rO.TAG_CLOSE?(this._closeVoidElement(),this._consumeElementEndTag(this._advance())):this._peek.type===rO.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===rO.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===rO.TEXT||this._peek.type===rO.RAW_TEXT||this._peek.type===rO.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===rO.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===rO.BLOCK_OPEN_START?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===rO.BLOCK_CLOSE?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===rO.INCOMPLETE_BLOCK_OPEN?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===rO.LET_START?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===rO.DOC_TYPE_START?this._consumeDocType(this._advance()):this._peek.type===rO.INCOMPLETE_LET?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._peek.type===rO.COMPONENT_OPEN_START||this._peek.type===rO.INCOMPLETE_COMPONENT_OPEN?this._consumeComponentStartTag(this._advance()):this._peek.type===rO.COMPONENT_CLOSE?this._consumeComponentEndTag(this._advance()):this._advance();for(let e of this._containerStack)e instanceof rC&&this.errors.push(rJ.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(rO.CDATA_END);this._addToParent(new rf(r,new rp(e.sourceSpan.start,(n||t).sourceSpan.end),[t]))}_consumeComment(e){let t=this._advanceIf(rO.RAW_TEXT),r=this._advanceIf(rO.COMMENT_END),n=null!=t?t.parts[0].trim():null,a=null==r?e.sourceSpan:new rp(e.sourceSpan.start,r.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new rk(n,a))}_consumeDocType(e){let t=this._advanceIf(rO.RAW_TEXT),r=this._advanceIf(rO.DOC_TYPE_END),n=null!=t?t.parts[0].trim():null,a=new rp(e.sourceSpan.start,(r||t||e).sourceSpan.end);this._addToParent(new rE(n,a))}_consumeExpansion(e){let t=this._advance(),r=this._advance(),n=[];for(;this._peek.type===rO.EXPANSION_CASE_VALUE;){let e=this._parseExpansionCase();if(!e)return;n.push(e)}if(this._peek.type!==rO.EXPANSION_FORM_END)return void this.errors.push(rJ.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));let a=new rp(e.sourceSpan.start,this._peek.sourceSpan.end,e.sourceSpan.fullStart);this._addToParent(new r_(t.parts[0],r.parts[0],n,a,t.sourceSpan)),this._advance()}_parseExpansionCase(){let e=this._advance();if(this._peek.type!==rO.EXPANSION_CASE_EXP_START)return this.errors.push(rJ.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let t=this._advance(),r=this._collectExpansionExpTokens(t);if(!r)return null;let n=this._advance();r.push({type:rO.EOF,parts:[],sourceSpan:n.sourceSpan});let a=new cs(r,this.tagDefinitionResolver,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(a.build(),a.errors.length>0)return this.errors=this.errors.concat(a.errors),null;let i=new rp(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),s=new rp(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new rv(e.parts[0],a.rootNodes,i,e.sourceSpan,s)}_collectExpansionExpTokens(e){let t=[],r=[rO.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===rO.EXPANSION_FORM_START||this._peek.type===rO.EXPANSION_CASE_EXP_START)&&r.push(this._peek.type),this._peek.type===rO.EXPANSION_CASE_EXP_END){if(!r1(r,rO.EXPANSION_CASE_EXP_START))return this.errors.push(rJ.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;else if(r.pop(),0===r.length)return t}if(this._peek.type===rO.EXPANSION_FORM_END)if(!r1(r,rO.EXPANSION_FORM_START))return this.errors.push(rJ.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;else r.pop();if(this._peek.type===rO.EOF)return this.errors.push(rJ.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==`
20
20
  `){var r;let e=this._getClosestElementLikeParent();null!=e&&0==e.children.length&&null!=(r=this._getTagDefinition(e))&&r.ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===`
21
- `){var a;let r=this._getContainer();null!=r&&0===r.children.length&&null!=(a=this._getTagDefinition(r))&&a.ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===rw.INTERPOLATION||this._peek.type===rw.TEXT||this._peek.type===rw.ENCODED_ENTITY;)e=this._advance(),t.push(e),e.type===rw.INTERPOLATION?n+=e.parts.join("").replace(/&([^;]+);/g,rY):e.type===rw.ENCODED_ENTITY?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new rc(n,new ri(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){var e;let t=this._getContainer();null!==t&&null!=(e=this._getTagDefinition(t))&&e.isVoid&&this._containerStack.pop()}_consumeElementStartTag(e){var t;let r=[],n=[];this._consumeAttributesAndDirectives(r,n);let a=this._getElementFullName(e,this._getClosestElementLikeParent()),i=this._getTagDefinition(a),s=!1;if(this._peek.type===rw.TAG_OPEN_END_VOID){this._advance(),s=!0;let t=this._getTagDefinition(a);this.canSelfClose||t?.canSelfClose||null!==tV(a)||t?.isVoid||this.errors.push(r$.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===rw.TAG_OPEN_END&&(this._advance(),s=!1);let o=this._peek.sourceSpan.fullStart,l=new ri(e.sourceSpan.start,o,e.sourceSpan.fullStart),c=new rm(a,r,n,[],s,l,new ri(e.sourceSpan.start,o,e.sourceSpan.fullStart),void 0,new ri(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),i?.isVoid??!1),u=this._getContainer(),p=null!==u&&!!(null!=(t=this._getTagDefinition(u))&&t.isClosedByChild(c.name));this._pushContainer(c,p),s?this._popContainer(a,rm,l):e.type===rw.INCOMPLETE_TAG_OPEN&&(this._popContainer(a,rm,null),this.errors.push(r$.create(a,l,`Opening tag "${a}" not terminated.`)))}_consumeComponentStartTag(e){var t;let r=e.parts[0],n=[],a=[];this._consumeAttributesAndDirectives(n,a);let i=this._getClosestElementLikeParent(),s=this._getComponentTagName(e,i),o=this._getComponentFullName(e,i),l=this._peek.type===rw.COMPONENT_OPEN_END_VOID;this._advance();let c=this._peek.sourceSpan.fullStart,u=new ri(e.sourceSpan.start,c,e.sourceSpan.fullStart),p=new rv(r,s,o,n,a,[],l,u,new ri(e.sourceSpan.start,c,e.sourceSpan.fullStart),void 0),h=this._getContainer(),d=null!==h&&null!==p.tagName&&!!(null!=(t=this._getTagDefinition(h))&&t.isClosedByChild(p.tagName));this._pushContainer(p,d),l?this._popContainer(o,rv,u):e.type===rw.INCOMPLETE_COMPONENT_OPEN&&(this._popContainer(o,rv,null),this.errors.push(r$.create(o,u,`Opening tag "${o}" not terminated.`)))}_consumeAttributesAndDirectives(e,t){for(;this._peek.type===rw.ATTR_NAME||this._peek.type===rw.DIRECTIVE_NAME;)this._peek.type===rw.DIRECTIVE_NAME?t.push(this._consumeDirective(this._peek)):e.push(this._consumeAttr(this._advance()))}_consumeComponentEndTag(e){let t=this._getComponentFullName(e,this._getClosestElementLikeParent());if(!this._popContainer(t,rv,e.sourceSpan)){let r=this._containerStack[this._containerStack.length-1],n;n=r instanceof rv&&r.componentName===e.parts[0]?`, did you mean "${r.fullName}"?`:". It may happen when the tag has already been closed by another tag.";let a=`Unexpected closing tag "${t}"${n}`;this.errors.push(r$.create(t,e.sourceSpan,a))}}_getTagDefinition(e){return"string"==typeof e?this.tagDefinitionResolver(e):e instanceof rm?this.tagDefinitionResolver(e.name):e instanceof rv&&null!==e.tagName?this.tagDefinitionResolver(e.tagName):null}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeElementEndTag(e){var t;let r=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e,this._getClosestElementLikeParent());if(r&&null!=(t=this._getTagDefinition(r))&&t.isVoid)this.errors.push(r$.create(r,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(r,rm,e.sourceSpan)){let t=`Unexpected closing tag "${r}". 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(r$.create(r,e.sourceSpan,t))}}_popContainer(e,t,r){let n=!1;for(let i=this._containerStack.length-1;i>=0;i--){var a;let s=this._containerStack[i],o=s instanceof rv?s.fullName:s.name;if(tV(o)?o===e:(o===e||null===e)&&s instanceof t)return s.endSourceSpan=r,s.sourceSpan.end=null!==r?r.end:s.sourceSpan.end,this._containerStack.splice(i,this._containerStack.length-i),!n;(s instanceof r_||!(null!=(a=this._getTagDefinition(s))&&a.closedByParent))&&(n=!0)}return!1}_consumeAttr(e){let t=tF(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===rw.ATTR_QUOTE&&(n=this._advance());let a="",i=[],s,o;if(this._peek.type===rw.ATTR_VALUE_TEXT)for(s=this._peek.sourceSpan,o=this._peek.sourceSpan.end;this._peek.type===rw.ATTR_VALUE_TEXT||this._peek.type===rw.ATTR_VALUE_INTERPOLATION||this._peek.type===rw.ENCODED_ENTITY;){let e=this._advance();i.push(e),e.type===rw.ATTR_VALUE_INTERPOLATION?a+=e.parts.join("").replace(/&([^;]+);/g,rY):e.type===rw.ENCODED_ENTITY?a+=e.parts[0]:a+=e.parts.join(""),o=r=e.sourceSpan.end}this._peek.type===rw.ATTR_QUOTE&&(o=r=this._advance().sourceSpan.end);let l=s&&o&&new ri(n?.sourceSpan.start??s.start,o,n?.sourceSpan.fullStart??s.fullStart);return new rd(t,a,new ri(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,l,i.length>0?i:void 0,void 0)}_consumeDirective(e){let t=[],r=e.sourceSpan.end,n=null;if(this._advance(),this._peek.type===rw.DIRECTIVE_OPEN){for(r=this._peek.sourceSpan.end,this._advance();this._peek.type===rw.ATTR_NAME;)t.push(this._consumeAttr(this._advance()));this._peek.type===rw.DIRECTIVE_CLOSE?(n=this._peek.sourceSpan,this._advance()):this.errors.push(r$.create(null,e.sourceSpan,"Unterminated directive definition"))}let a=new ri(e.sourceSpan.start,r,e.sourceSpan.fullStart),i=new ri(a.start,null===n?e.sourceSpan.end:n.end,a.fullStart);return new rS(e.parts[0],t,i,a,n)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===rw.BLOCK_PARAMETER;){let e=this._advance();t.push(new rT(e.parts[0],e.sourceSpan))}this._peek.type===rw.BLOCK_OPEN_END&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new ri(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new ri(e.sourceSpan.start,r,e.sourceSpan.fullStart),i=new r_(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(i,!1)}_consumeBlockClose(e){this._popContainer(null,r_,e.sourceSpan)||this.errors.push(r$.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 "&#125;" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===rw.BLOCK_PARAMETER;){let e=this._advance();t.push(new rT(e.parts[0],e.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new ri(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new ri(e.sourceSpan.start,r,e.sourceSpan.fullStart),i=new r_(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(i,!1),this._popContainer(null,r_,null),this.errors.push(r$.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r;if(this._peek.type!==rw.LET_VALUE)return void this.errors.push(r$.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));if(r=this._advance(),this._peek.type!==rw.LET_END)return void this.errors.push(r$.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));let n=this._advance().sourceSpan.fullStart,a=new ri(e.sourceSpan.start,n,e.sourceSpan.fullStart),i=e.sourceSpan.toString().lastIndexOf(t),s=new ri(e.sourceSpan.start.moveBy(i),e.sourceSpan.end),o=new rk(t,r.parts[0],a,s,r.sourceSpan);this._addToParent(o)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let r=e.sourceSpan.toString().lastIndexOf(t),n=new ri(e.sourceSpan.start.moveBy(r),e.sourceSpan.end),a=new ri(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),i=new rk(t,"",e.sourceSpan,n,a);this._addToParent(i)}this.errors.push(r$.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestElementLikeParent(){for(let e=this._containerStack.length-1;e>-1;e--){let t=this._containerStack[e];if(t instanceof rm||t instanceof rv)return t}return null}_addToParent(e){let t=this._getContainer();null===t?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t){return tF(this._getPrefix(e,t),e.parts[1])}_getComponentFullName(e,t){let r=e.parts[0],n=this._getComponentTagName(e,t);return null===n?r:n.startsWith(":")?r+n:`${r}:${n}`}_getComponentTagName(e,t){let r=this._getPrefix(e,t),n=e.parts[2];return r||n?!r&&n?n:tF(r,n||"ng-component"):null}_getPrefix(e,t){var r;let n,a;if(e.type===rw.COMPONENT_OPEN_START||e.type===rw.INCOMPLETE_COMPONENT_OPEN||e.type===rw.COMPONENT_CLOSE?(n=e.parts[1],a=e.parts[2]):(n=e.parts[0],a=e.parts[1]),!(n=n||(null==(r=this._getTagDefinition(a))?void 0:r.implicitNamespacePrefix)||"")&&t){let e=t instanceof rm?t.name:t.tagName;if(null!==e){let t=tB(e)[1],r=this._getTagDefinition(t);null===r||r.preventNamespaceInheritance||(n=tV(e))}}return n}};function rK(e,t){return e.length>0&&e[e.length-1]===t}function rY(e,t){return void 0!==rb[t]?rb[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 rJ=class extends rX{constructor(){super(t5)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},rQ=null;function rZ(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:i,tokenizeAngularBlocks:s=!1,tokenizeAngularLetDeclaration:o=!1,enableAngularSelectorlessSyntax:l=!1}=t;return(rQ||(rQ=new rJ),rQ).parse(e,"angular-html-parser",{tokenizeExpansionForms:s,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:s,tokenizeLet:o,selectorlessEnabled:l},a,i)}var r0=[function(e){e.walk(e=>{if("element"===e.kind&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].kind&&e.children[0].value[0]===`
22
- `){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}})},function(e){let t=e=>"element"===e.kind&&e.prev?.kind==="ieConditionalStartComment"&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild?.kind==="ieConditionalEndComment"&&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 a=n.prev,i=n.firstChild;e.removeChild(a),r--;let s=new ri(a.sourceSpan.start,i.sourceSpan.end),o=new ri(s.start,n.sourceSpan.end);n.condition=a.condition,n.sourceSpan=o,n.startSourceSpan=s,n.removeChild(i)}})},function(e){var t,r;return t=e=>"cdata"===e.kind,r=e=>`<![CDATA[${e.value}]]>`,void e.walk(e=>{if(e.children)for(let n=0;n<e.children.length;n++){let a=e.children[n];if("text"!==a.kind&&!t(a))continue;"text"!==a.kind&&(a.kind="text",a.value=r(a));let i=a.prev;!i||"text"!==i.kind||(i.value+=a.value,i.sourceSpan=new ri(i.sourceSpan.start,a.sourceSpan.end),e.removeChild(a),n--)}})},function(e,t){if("html"===t.parser)return;let r=/\{\{(.+?)\}\}/su;e.walk(e=>{if(e.children&&!eb(e,t))for(let t of e.children){if("text"!==t.kind)continue;let n=t.sourceSpan.start,a=null,i=t.value.split(r);for(let r=0;r<i.length;r++,n=a){let s=i[r];if(r%2==0){a=n.moveBy(s.length),s.length>0&&e.insertChildBefore(t,{kind:"text",value:s,sourceSpan:new ri(n,a)});continue}a=n.moveBy(s.length+4),e.insertChildBefore(t,{kind:"interpolation",sourceSpan:new ri(n,a),children:0===s.length?[]:[{kind:"text",value:s,sourceSpan:new ri(n.moveBy(2),a.moveBy(-2))}]})}e.removeChild(t)}})},function(e,t){e.walk(e=>{let r=e.$children;if(!r)return;if(0===r.length||1===r.length&&"text"===r[0].kind&&0===K.trim(r[0].value).length){e.hasDanglingSpaces=r.length>0,e.$children=[];return}let n=eb(e,t)||"interpolation"===e.kind||ew(e),a=ew(e);if(!n)for(let t=0;t<r.length;t++){let n=r[t];if("text"!==n.kind)continue;let{leadingWhitespace:a,text:i,trailingWhitespace:s}=eT(n.value),o=n.prev,l=n.next;i?(n.value=i,n.sourceSpan=new ri(n.sourceSpan.start.moveBy(a.length),n.sourceSpan.end.moveBy(-s.length)),a&&(o&&(o.hasTrailingSpaces=!0),n.hasLeadingSpaces=!0),s&&(n.hasTrailingSpaces=!0,l&&(l.hasLeadingSpaces=!0))):(e.removeChild(n),t--,(a||s)&&(o&&(o.hasTrailingSpaces=!0),l&&(l.hasLeadingSpaces=!0)))}e.isWhitespaceSensitive=n,e.isIndentationSensitive=a})},function(e,t){e.walk(e=>{e.cssDisplay=function(e,t){if(eF(e,t))return"block";if(e.prev?.kind==="comment"){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(t)return t[1]}let r=!1;if("element"===e.kind&&"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";else r=!0;switch(t.htmlWhitespaceSensitivity){case"strict":break;case"ignore":return"block";default:if("element"===e.kind&&(!e.namespace||r||ev(e))&&Object.prototype.hasOwnProperty.call(ef,e.name))return ef[e.name]}return"inline"}(e,t)})},function(e){e.walk(e=>{e.isSelfClosing=!e.children||"element"===e.kind&&(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.kind&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))})},function(e,t){e.walk(e=>{let{children:r}=e;if(r){var n,a;if(0===r.length){e.isDanglingSpaceSensitive=!eR(n=e.cssDisplay)&&"inline-block"!==n&&!eb(e,t);return}for(let e of r){e.isLeadingSpaceSensitive=function(e,t){let r=function(){var r;return!em(e)&&"angularControlFlowBlock"!==e.kind&&(("text"===e.kind||"interpolation"===e.kind)&&!!e.prev&&("text"===e.prev.kind||"interpolation"===e.prev.kind)||!!e.parent&&"none"!==e.parent.cssDisplay&&(!!eM(e.parent)||!(!e.prev&&("root"===e.parent.kind||eM(e)&&e.parent||eb(e.parent,t)||eV(e.parent,t)||!(!eR(r=e.parent.cssDisplay)&&"inline-block"!==r))||e.prev&&eR(e.prev.cssDisplay))))}();return r&&!e.prev&&e.parent?.tagDefinition?.ignoreFirstLf?"interpolation"===e.kind:r}(e,t),e.isTrailingSpaceSensitive=!em(e)&&"angularControlFlowBlock"!==e.kind&&(("text"===e.kind||"interpolation"===e.kind)&&!!e.next&&("text"===e.next.kind||"interpolation"===e.next.kind)||!!e.parent&&"none"!==e.parent.cssDisplay&&(!!eM(e.parent)||!(!e.next&&("root"===e.parent.kind||eM(e)&&e.parent||eb(e.parent,t)||eV(e.parent,t)||!(!eR(a=e.parent.cssDisplay)&&"inline-block"!==a))||e.next&&eR(e.next.cssDisplay))))}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=>"element"===e.kind&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.kind&&!K.hasWhitespaceCharacter(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev?.kind==="text"&&e.next?.kind==="text";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 a=n.prev,i=n.next;a.value+=`<${n.rawName}>`+n.firstChild.value+`</${n.rawName}>`+i.value,a.sourceSpan=new ri(a.sourceSpan.start,i.sourceSpan.end),a.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,a.hasTrailingSpaces=i.hasTrailingSpaces,e.removeChild(n),r--,e.removeChild(i)}})}],r1=[{name:"Angular",type:"markup",aceMode:"html",extensions:[".component.html"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["angular"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"HTML",type:"markup",aceMode:"html",extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["html"],vscodeLanguageIds:["html"],linguistLanguageId:146},{name:"Lightning Web Components",type:"markup",aceMode:"html",extensions:[],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"MJML",type:"markup",aceMode:"html",extensions:[".mjml"],tmScope:"text.mjml.basic",aliases:["MJML","mjml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["mjml"],filenames:[],vscodeLanguageIds:["mjml"],linguistLanguageId:146},{name:"Vue",type:"markup",aceMode:"vue",extensions:[".vue"],tmScope:"source.vue",codemirrorMode:"vue",codemirrorMimeType:"text/x-vue",parsers:["vue"],vscodeLanguageIds:["vue"],linguistLanguageId:391}],r2="HTML",r4={bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},htmlWhitespaceSensitivity:{category:r2,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:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."},vueIndentScriptAndStyle:{category:r2,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},r3={};l(r3,{angular:()=>nk,html:()=>nv,lwc:()=>nC,mjml:()=>nT,vue:()=>nE});var r6={canSelfClose:!0,normalizeTagName:!1,normalizeAttributeName:!1,allowHtmComponentClosingTags:!1,isTagNameCaseSensitive:!1,shouldParseFrontMatter:!0};function r5(e){let{canSelfClose:t,allowHtmComponentClosingTags:r,isTagNameCaseSensitive:n,shouldParseAsRawText:a,tokenizeAngularBlocks:i,tokenizeAngularLetDeclaration:s}=e;return{canSelfClose:t,allowHtmComponentClosingTags:r,isTagNameCaseSensitive:n,getTagContentType:a?(...e)=>a(...e)?tq.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:i,tokenizeAngularLetDeclaration:s}}var r9,r8,r7,ne,nt,nr,nn=new Map([["*",new Set(["accesskey","autocapitalize","autocorrect","autofocus","class","contenteditable","dir","draggable","enterkeyhint","exportparts","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["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(["command","commandfor","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(["closedby","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","alpha","alt","autocomplete","checked","colorspace","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(["shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootmode","shadowrootserializable"])],["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"])]]),na=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","em","embed","fencedframe","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","selectedcontent","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"]),ni={attrs:!0,children:!0,cases:!0,expression:!0},no=new Set(["parent"]),nl=class Ue{constructor(e={}){let t;for(let r of((t=ne).has(this)?o("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(this):t.set(this,void 0),c(this,"kind"),c(this,"parent"),new Set([...no,...Object.keys(e)])))this.setProperty(r,e[r]);if(em(e))for(let t of Object.getOwnPropertySymbols(e))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in ni&&(t=t.map(e=>this.createChild(e))),!no.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in ni){let n=this[r];if(n){let a=function(e,t){let r=e.map(t);return r.some((t,r)=>t!==e[r])?r:e}(n,t=>t.map(e));t!==n&&(t||(t=new Ue({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let e in this)e in ni||(t[e]=this[e]);return e(t||this)}walk(e){for(let t in ni){let r=this[t];if(r)for(let t=0;t<r.length;t++)r[t].walk(e)}e(this)}createChild(e){let t=e instanceof Ue?e.clone():new Ue(e);return t.setProperty("parent",this),t}insertChildBefore(e,t){let r=this.$children;r.splice(r.indexOf(e),0,this.createChild(t))}removeChild(e){let t=this.$children;t.splice(t.indexOf(e),1)}replaceChild(e,t){let r=this.$children;r[r.indexOf(e)]=this.createChild(t)}clone(){return new Ue(this)}get $children(){return this[u(this,ne,nt)]}set $children(e){this[u(this,ne,nt)]=e}get firstChild(){return this.$children?.[0]}get lastChild(){return f(1,this.$children,-1)}get prev(){let e=u(this,ne,nr);return e[e.indexOf(this)-1]}get next(){let e=u(this,ne,nr);return e[e.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]))}};ne=new WeakSet,nt=function(){return"angularIcuCase"===this.kind?"expression":"angularIcuExpression"===this.kind?"cases":"children"},nr=function(){return this.parent?.$children??[]};var nc=[{regex:/^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/su,parse:function(e,t,r){let{openingTagSuffix:n,condition:a,data:i}=t.groups,s=4+n.length,o=e.sourceSpan.start.moveBy(s),l=o.moveBy(i.length),[c,u]=(()=>{try{return[!0,r(i,o).children]}catch{return[!1,[{kind:"text",value:i,sourceSpan:new ri(o,l)}]]}})();return{kind:"ieConditionalComment",complete:c,children:u,condition:m(0,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new ri(e.sourceSpan.start,o),endSourceSpan:new ri(l,e.sourceSpan.end)}}},{regex:/^\[if(?<condition>[^\]]*)\]><!$/u,parse:function(e,t){let{condition:r}=t.groups;return{kind:"ieConditionalStartComment",condition:m(0,r.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}},{regex:/^<!\s*\[endif\]$/u,parse:function(e){return{kind:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}}],nu=class extends rC{visitExpansionCase(e,t){"angular"===t.parseOptions.name&&this.visitChildren(t,t=>{t(e.expression)})}visit(e,{parseOptions:t}){var r;(function(e){switch(e.kind){case"element":for(let t of(nh(e),e.attrs))nh(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/u.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),function(e,t){if("element"===e.kind){let r=t5(t.isTagNameCaseSensitive?e.name:e.name.toLowerCase());!e.namespace||e.namespace===r.implicitNamespacePrefix||ev(e)?e.tagDefinition=r:e.tagDefinition=t5("")}}(e,t),function(e,t){if("element"===e.kind&&(t.normalizeTagName&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||ev(e))&&(e.name=np(e.name,e=>na.has(e))),t.normalizeAttributeName))for(let t of e.attrs)t.namespace||(t.name=np(t.name,t=>nn.has(e.name)&&(nn.get("*").has(t)||nn.get(e.name).has(t))))}(e,t),(r=e).sourceSpan&&r.endSourceSpan&&(r.sourceSpan=new ri(r.sourceSpan.start,r.endSourceSpan.end))}};function np(e,t){let r=e.toLowerCase();return t(r)?r:e}function nh(e){let t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan.toString(),n=null!==t&&r.startsWith(`${t}:`);e.name=n?r.slice(t.length+1):r,e.namespace=t,e.hasExplicitNamespace=n}function nd(e,t){let{rootNodes:r,errors:n}=rZ(e,r5(t));return n.length>0&&ng(n[0]),{parseOptions:t,rootNodes:r}}function nm(e,t){let r=r5(t),{rootNodes:n,errors:a}=rZ(e,r);if(n.some(e=>"docType"===e.kind&&"html"===e.value||"element"===e.kind&&"html"===e.name.toLowerCase()))return nd(e,nf);let i,s=()=>i??(i=rZ(e,{...r,getTagContentType:void 0})),o=e=>{let{offset:t}=e.startSourceSpan.start;return s().rootNodes.find(e=>"element"===e.kind&&e.startSourceSpan.start.offset===t)??e};for(let[e,t]of n.entries())if("element"===t.kind){if(t.isVoid)a=s().errors,n[e]=o(t);else if(function(e){if("element"!==e.kind||"template"!==e.name)return!1;let t=e.attrs.find(e=>"lang"===e.name)?.value;return!t||"html"===t}(t)){let{endSourceSpan:r,startSourceSpan:a}=t,i=s().errors.find(e=>e.span.start.offset>a.start.offset&&e.span.start.offset<r.end.offset);i&&ng(i),n[e]=o(t)}}return a.length>0&&ng(a[0]),{parseOptions:t,rootNodes:n}}function ng(e){var t;let{msg:r,span:{start:n,end:a}}=e;throw Object.assign(SyntaxError(r+" ("+(t={loc:{start:{line:n.line+1,column:n.col+1},end:{line:a.line+1,column:a.col+1}},cause:e}).loc.start.line+":"+t.loc.start.column+")"),t)}var nf=(i={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},{...r6,...i});function n_(e){let t={...r6,...e},r="vue"===t.name?nm:nd;return{parse:(e,n)=>(function e(t,r,n,a={}){var i,s;let o,{frontMatter:l,content:c}=n.shouldParseFrontMatter?eg(t):{content:t},u=new ra(t,a.filepath),p=new rn(u,0,0,0),h=p.moveBy(t.length),{parseOptions:d,rootNodes:g}=r(c,n),_={kind:"root",sourceSpan:new ri(p,h),children:g},v;if(l){let[e,t]=[l.start,l.end].map(e=>new rn(u,e.index,e.line-1,e.column));v={...l,kind:"frontMatter",sourceSpan:new ri(e,t)}}return i=v,s=(n,i)=>(function(t,r,n,a,i,s){let{offset:o}=a,l=e(m(0,r.slice(0,o),/[^\n]/gu," ")+n,t,{...i,shouldParseFrontMatter:!1},s);l.sourceSpan=new ri(a,f(0,l.children,-1).sourceSpan.end);let c=l.children[0];return c.length===o?l.children.shift():(c.sourceSpan=new ri(c.sourceSpan.start.moveBy(o),c.sourceSpan.end),c.value=c.value.slice(o)),l})(r,t,n,i,d,a),rE(new nu,_.children,{parseOptions:d}),i&&_.children.unshift(i),(o=new nl(_)).walk(e=>{var t,r;if("comment"===e.kind){let t=function(e,t){if(e.value)for(let{regex:r,parse:n}of nc){let a=e.value.match(r);if(a)return n(e,a,t)}return null}(e,s);t&&e.parent.replaceChild(e,t)}(function(e){if("block"===e.kind){if(e.name=m(0,e.name.toLowerCase(),/\s+/gu," ").trim(),e.kind="angularControlFlowBlock",!el(e.parameters))return delete e.parameters;for(let t of e.parameters)t.kind="angularControlFlowBlockParameter";e.parameters={kind:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new ri(e.parameters[0].sourceSpan.start,f(0,e.parameters,-1).sourceSpan.end)}}})(e),"letDeclaration"===(t=e).kind&&(t.kind="angularLetDeclaration",t.id=t.name,t.init={kind:"angularLetDeclarationInitializer",sourceSpan:new ri(t.valueSpan.start,t.valueSpan.end),value:t.value},delete t.name,delete t.value),"expansion"===(r=e).kind&&(r.kind="angularIcuExpression"),"expansionCase"===r.kind&&(r.kind="angularIcuCase")}),o})(e,r,t,n),hasPragma:tA,hasIgnorePragma:tO,astFormat:"html",locStart:ta,locEnd:ti}}var nv=n_(nf),nS=new Set(["mj-style","mj-raw"]),nT=n_({...nf,name:"mjml",shouldParseAsRawText:e=>nS.has(e)}),nk=n_({name:"angular",tokenizeAngularBlocks:!0,tokenizeAngularLetDeclaration:!0}),nE=n_({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))}),nC=n_({name:"lwc",canSelfClose:!1}),nb={html:{features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:function(e,t){for(let r of r0)r(e,t);return e},print:function(e,t,r){let{node:n}=e;switch(n.kind){case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[V(tR(e,t,r)),j];case"element":case"ieConditionalComment":return function(e,t,r){var n,a,i;let s,{node:o}=e;if(ek(o,t))return[tS(o,t),V(t_(e,t,r)),q(tC(o,t)),...ts(o,t),tl(o,t)];let l=1===o.children.length&&("interpolation"===o.firstChild.kind||"angularIcuExpression"===o.firstChild.kind)&&o.firstChild.isLeadingSpaceSensitive&&!o.firstChild.hasLeadingSpaces&&o.lastChild.isTrailingSpaceSensitive&&!o.lastChild.hasTrailingSpaces,c=Symbol("element-attr-group-id");return s=0===o.children.length?o.hasDanglingSpaces&&o.isDanglingSpaceSensitive?z:"":[ex(o)||"element"===o.kind&&o.children.length>0&&(["body","script","style"].includes(o.name)||o.children.some(e=>{var t;return t=e,t.children?.some(e=>"text"!==e.kind)}))||o.firstChild&&o.firstChild===o.lastChild&&"text"!==o.firstChild.kind&&eL(o.firstChild)&&(!o.lastChild.isTrailingSpaceSensitive||eA(o.lastChild))?H:"",(a=[l?F($,"",{groupId:c}):o.firstChild.hasLeadingSpaces&&o.firstChild.isLeadingSpaceSensitive?z:"text"===o.firstChild.kind&&o.isWhitespaceSensitive&&o.isIndentationSensitive?(_(n=-1/0),_($),{type:E,contents:$,n:n}):$,tR(e,t,r)],l?(i={groupId:c},_(a),{type:x,contents:a,groupId:i.groupId,negate:i.negate}):(eb(o,t)||eV(o,t))&&"root"===o.parent.kind&&"vue"===t.parser&&!t.vueIndentScriptAndStyle?a:B(a)),(o.next?th(o.next):td(o.parent))?o.lastChild.hasTrailingSpaces&&o.lastChild.isTrailingSpaceSensitive?" ":"":l?F($,"",{groupId:c}):o.lastChild.hasTrailingSpaces&&o.lastChild.isTrailingSpaceSensitive?z:("comment"===o.lastChild.kind||"text"===o.lastChild.kind&&o.isWhitespaceSensitive&&o.isIndentationSensitive)&&RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(o.lastChild.value)?"":$],V([V(t_(e,t,r),{id:c}),s,ts(o,t)])}(e,t,r);case"angularControlFlowBlock":return function(e,t,r){let{node:n}=e,a=[];(function(e){let{previous:t}=e;return t?.kind==="angularControlFlowBlock"&&!eE(t)&&!tM(t)})(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",V(r("parameters")),")"),a.push(" {");let i=tM(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(B([j,tR(e,t,r)])),i&&a.push(j,"}")):i&&a.push("}"),V(a,{shouldBreak:!0})}(e,t,r);case"angularControlFlowBlockParameters":return[B([$,W([";",z],e.map(r,"children"))]),$];case"angularControlFlowBlockParameter":return K.trim(n.expression);case"angularLetDeclaration":return V(["@let ",V([n.id," =",V(B([z,r("init")]))]),";"]);case"angularLetDeclarationInitializer":return n.value;case"angularIcuExpression":return function(e,t,r){let{node:n}=e;return[tv(n,t),V([n.switchValue.trim(),", ",n.type,n.cases.length>0?[",",B([z,W(z,e.map(r,"cases"))])]:"",$]),to(n,t)]}(e,t,r);case"angularIcuCase":return function(e,t,r){let{node:n}=e;return[n.value," {",V([B([$,e.map(({node:e,isLast:t})=>{let n=[r()];return"text"===e.kind&&(e.hasLeadingSpaces&&n.unshift(z),e.hasTrailingSpaces&&!t&&n.push(z)),n},"expression")]),$]),"}"]}(e,0,r);case"ieConditionalStartComment":case"ieConditionalEndComment":return[tv(n),to(n)];case"interpolation":return[tv(n,t),...e.map(r,"children"),to(n,t)];case"text":{if("interpolation"===n.parent.kind){let e=/\n[^\S\n]*$/u,t=e.test(n.value);return[q(t?n.value.replace(e,""):n.value),t?j:""]}let e=tS(n,t),r=ez(n),a=tl(n,t);return r[0]=[e,r[0]],r.push([r.pop(),a]),U(r)}case"docType":return[V([tv(n,t)," ",m(0,n.value.replace(/^html\b/iu,"html"),/\s+/gu," ")]),to(n,t)];case"comment":return[tS(n,t),q(t.originalText.slice(ta(n),ti(n))),tl(n,t)];case"attribute":{if(null===n.value)return n.rawName;let e=eB(n.value),t=G(e,'"');return[n.rawName,"=",t,q('"'===t?m(0,e,'"',"&quot;"):m(0,e,"'","&apos;")),t]}default:throw new Y(n,"HTML")}},insertPragma:e=>`<!-- @format -->
21
+ `){var a;let r=this._getContainer();null!=r&&0===r.children.length&&null!=(a=this._getTagDefinition(r))&&a.ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===rO.INTERPOLATION||this._peek.type===rO.TEXT||this._peek.type===rO.ENCODED_ENTITY;)e=this._advance(),t.push(e),e.type===rO.INTERPOLATION?n+=e.parts.join("").replace(/&([^;]+);/g,r2):e.type===rO.ENCODED_ENTITY?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new rg(n,new rp(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){var e;let t=this._getContainer();null!==t&&null!=(e=this._getTagDefinition(t))&&e.isVoid&&this._containerStack.pop()}_consumeElementStartTag(e){var t;let r=[],n=[];this._consumeAttributesAndDirectives(r,n);let a=this._getElementFullName(e,this._getClosestElementLikeParent()),i=this._getTagDefinition(a),s=!1;if(this._peek.type===rO.TAG_OPEN_END_VOID){this._advance(),s=!0;let t=this._getTagDefinition(a);this.canSelfClose||t?.canSelfClose||null!==tX(a)||t?.isVoid||this.errors.push(rJ.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===rO.TAG_OPEN_END&&(this._advance(),s=!1);let o=this._peek.sourceSpan.fullStart,l=new rp(e.sourceSpan.start,o,e.sourceSpan.fullStart),c=new rT(a,r,n,[],s,l,new rp(e.sourceSpan.start,o,e.sourceSpan.fullStart),void 0,new rp(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),i?.isVoid??!1),u=this._getContainer(),p=null!==u&&!!(null!=(t=this._getTagDefinition(u))&&t.isClosedByChild(c.name));this._pushContainer(c,p),s?this._popContainer(a,rT,l):e.type===rO.INCOMPLETE_TAG_OPEN&&(this._popContainer(a,rT,null),this.errors.push(rJ.create(a,l,`Opening tag "${a}" not terminated.`)))}_consumeComponentStartTag(e){var t;let r=e.parts[0],n=[],a=[];this._consumeAttributesAndDirectives(n,a);let i=this._getClosestElementLikeParent(),s=this._getComponentTagName(e,i),o=this._getComponentFullName(e,i),l=this._peek.type===rO.COMPONENT_OPEN_END_VOID;this._advance();let c=this._peek.sourceSpan.fullStart,u=new rp(e.sourceSpan.start,c,e.sourceSpan.fullStart),p=new rb(r,s,o,n,a,[],l,u,new rp(e.sourceSpan.start,c,e.sourceSpan.fullStart),void 0),h=this._getContainer(),d=null!==h&&null!==p.tagName&&!!(null!=(t=this._getTagDefinition(h))&&t.isClosedByChild(p.tagName));this._pushContainer(p,d),l?this._popContainer(o,rb,u):e.type===rO.INCOMPLETE_COMPONENT_OPEN&&(this._popContainer(o,rb,null),this.errors.push(rJ.create(o,u,`Opening tag "${o}" not terminated.`)))}_consumeAttributesAndDirectives(e,t){for(;this._peek.type===rO.ATTR_NAME||this._peek.type===rO.DIRECTIVE_NAME;)this._peek.type===rO.DIRECTIVE_NAME?t.push(this._consumeDirective(this._peek)):e.push(this._consumeAttr(this._advance()))}_consumeComponentEndTag(e){let t=this._getComponentFullName(e,this._getClosestElementLikeParent());if(!this._popContainer(t,rb,e.sourceSpan)){let r=this._containerStack[this._containerStack.length-1],n;n=r instanceof rb&&r.componentName===e.parts[0]?`, did you mean "${r.fullName}"?`:". It may happen when the tag has already been closed by another tag.";let a=`Unexpected closing tag "${t}"${n}`;this.errors.push(rJ.create(t,e.sourceSpan,a))}}_getTagDefinition(e){return"string"==typeof e?this.tagDefinitionResolver(e):e instanceof rT?this.tagDefinitionResolver(e.name):e instanceof rb&&null!==e.tagName?this.tagDefinitionResolver(e.tagName):null}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeElementEndTag(e){var t;let r=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e,this._getClosestElementLikeParent());if(r&&null!=(t=this._getTagDefinition(r))&&t.isVoid)this.errors.push(rJ.create(r,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(r,rT,e.sourceSpan)){let t=`Unexpected closing tag "${r}". 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(rJ.create(r,e.sourceSpan,t))}}_popContainer(e,t,r){let n=!1;for(let i=this._containerStack.length-1;i>=0;i--){var a;let s=this._containerStack[i],o=s instanceof rb?s.fullName:s.name;if(tX(o)?o===e:(o===e||null===e)&&s instanceof t)return s.endSourceSpan=r,s.sourceSpan.end=null!==r?r.end:s.sourceSpan.end,this._containerStack.splice(i,this._containerStack.length-i),!n;(s instanceof rC||!(null!=(a=this._getTagDefinition(s))&&a.closedByParent))&&(n=!0)}return!1}_consumeAttr(e){let t=tG(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===rO.ATTR_QUOTE&&(n=this._advance());let a="",i=[],s,o;if(this._peek.type===rO.ATTR_VALUE_TEXT)for(s=this._peek.sourceSpan,o=this._peek.sourceSpan.end;this._peek.type===rO.ATTR_VALUE_TEXT||this._peek.type===rO.ATTR_VALUE_INTERPOLATION||this._peek.type===rO.ENCODED_ENTITY;){let e=this._advance();i.push(e),e.type===rO.ATTR_VALUE_INTERPOLATION?a+=e.parts.join("").replace(/&([^;]+);/g,r2):e.type===rO.ENCODED_ENTITY?a+=e.parts[0]:a+=e.parts.join(""),o=r=e.sourceSpan.end}this._peek.type===rO.ATTR_QUOTE&&(o=r=this._advance().sourceSpan.end);let l=s&&o&&new rp(n?.sourceSpan.start??s.start,o,n?.sourceSpan.fullStart??s.fullStart);return new rS(t,a,new rp(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,l,i.length>0?i:void 0,void 0)}_consumeDirective(e){let t=[],r=e.sourceSpan.end,n=null;if(this._advance(),this._peek.type===rO.DIRECTIVE_OPEN){for(r=this._peek.sourceSpan.end,this._advance();this._peek.type===rO.ATTR_NAME;)t.push(this._consumeAttr(this._advance()));this._peek.type===rO.DIRECTIVE_CLOSE?(n=this._peek.sourceSpan,this._advance()):this.errors.push(rJ.create(null,e.sourceSpan,"Unterminated directive definition"))}let a=new rp(e.sourceSpan.start,r,e.sourceSpan.fullStart),i=new rp(a.start,null===n?e.sourceSpan.end:n.end,a.fullStart);return new rw(e.parts[0],t,i,a,n)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===rO.BLOCK_PARAMETER;){let e=this._advance();t.push(new ry(e.parts[0],e.sourceSpan))}this._peek.type===rO.BLOCK_OPEN_END&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new rp(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new rp(e.sourceSpan.start,r,e.sourceSpan.fullStart),i=new rC(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(i,!1)}_consumeBlockClose(e){this._popContainer(null,rC,e.sourceSpan)||this.errors.push(rJ.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 "&#125;" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===rO.BLOCK_PARAMETER;){let e=this._advance();t.push(new ry(e.parts[0],e.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new rp(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new rp(e.sourceSpan.start,r,e.sourceSpan.fullStart),i=new rC(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(i,!1),this._popContainer(null,rC,null),this.errors.push(rJ.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r;if(this._peek.type!==rO.LET_VALUE)return void this.errors.push(rJ.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));if(r=this._advance(),this._peek.type!==rO.LET_END)return void this.errors.push(rJ.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));let n=this._advance().sourceSpan.fullStart,a=new rp(e.sourceSpan.start,n,e.sourceSpan.fullStart),i=e.sourceSpan.toString().lastIndexOf(t),s=new rp(e.sourceSpan.start.moveBy(i),e.sourceSpan.end),o=new rx(t,r.parts[0],a,s,r.sourceSpan);this._addToParent(o)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let r=e.sourceSpan.toString().lastIndexOf(t),n=new rp(e.sourceSpan.start.moveBy(r),e.sourceSpan.end),a=new rp(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),i=new rx(t,"",e.sourceSpan,n,a);this._addToParent(i)}this.errors.push(rJ.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestElementLikeParent(){for(let e=this._containerStack.length-1;e>-1;e--){let t=this._containerStack[e];if(t instanceof rT||t instanceof rb)return t}return null}_addToParent(e){let t=this._getContainer();null===t?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t){return tG(this._getPrefix(e,t),e.parts[1])}_getComponentFullName(e,t){let r=e.parts[0],n=this._getComponentTagName(e,t);return null===n?r:n.startsWith(":")?r+n:`${r}:${n}`}_getComponentTagName(e,t){let r=this._getPrefix(e,t),n=e.parts[2];return r||n?!r&&n?n:tG(r,n||"ng-component"):null}_getPrefix(e,t){var r;let n,a;if(e.type===rO.COMPONENT_OPEN_START||e.type===rO.INCOMPLETE_COMPONENT_OPEN||e.type===rO.COMPONENT_CLOSE?(n=e.parts[1],a=e.parts[2]):(n=e.parts[0],a=e.parts[1]),!(n=n||(null==(r=this._getTagDefinition(a))?void 0:r.implicitNamespacePrefix)||"")&&t){let e=t instanceof rT?t.name:t.tagName;if(null!==e){let t=tz(e)[1],r=this._getTagDefinition(t);null===r||r.preventNamespaceInheritance||(n=tX(e))}}return n}};function r1(e,t){return e.length>0&&e[e.length-1]===t}function r2(e,t){return void 0!==rA[t]?rA[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 r3=class extends rZ{constructor(){super(rr)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},r4=null;function r6(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:i,tokenizeAngularBlocks:s=!1,tokenizeAngularLetDeclaration:o=!1,enableAngularSelectorlessSyntax:l=!1}=t;return(r4||(r4=new r3),r4).parse(e,"angular-html-parser",{tokenizeExpansionForms:s,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:s,tokenizeLet:o,selectorlessEnabled:l},a,i)}var r5=[function(e){e.walk(e=>{if("element"===e.kind&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].kind&&e.children[0].value[0]===`
22
+ `){let t=e.children[0];1===t.value.length?e.removeChild(t):t.value=t.value.slice(1)}})},function(e){let t=e=>"element"===e.kind&&e.prev?.kind==="ieConditionalStartComment"&&e.prev.sourceSpan.end.offset===e.startSourceSpan.start.offset&&e.firstChild?.kind==="ieConditionalEndComment"&&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 a=n.prev,i=n.firstChild;e.removeChild(a),r--;let s=new rp(a.sourceSpan.start,i.sourceSpan.end),o=new rp(s.start,n.sourceSpan.end);n.condition=a.condition,n.sourceSpan=o,n.startSourceSpan=s,n.removeChild(i)}})},function(e){var t,r;return t=e=>"cdata"===e.kind,r=e=>`<![CDATA[${e.value}]]>`,void e.walk(e=>{if(e.children)for(let n=0;n<e.children.length;n++){let a=e.children[n];if("text"!==a.kind&&!t(a))continue;"text"!==a.kind&&(a.kind="text",a.value=r(a));let i=a.prev;!i||"text"!==i.kind||(i.value+=a.value,i.sourceSpan=new rp(i.sourceSpan.start,a.sourceSpan.end),e.removeChild(a),n--)}})},function(e,t){if("html"===t.parser)return;let r=/\{\{(.+?)\}\}/su;e.walk(e=>{if(e.children&&!eN(e,t))for(let t of e.children){if("text"!==t.kind)continue;let n=t.sourceSpan.start,a=null,i=t.value.split(r);for(let r=0;r<i.length;r++,n=a){let s=i[r];if(r%2==0){a=n.moveBy(s.length),s.length>0&&e.insertChildBefore(t,{kind:"text",value:s,sourceSpan:new rp(n,a)});continue}a=n.moveBy(s.length+4),e.insertChildBefore(t,{kind:"interpolation",sourceSpan:new rp(n,a),children:0===s.length?[]:[{kind:"text",value:s,sourceSpan:new rp(n.moveBy(2),a.moveBy(-2))}]})}e.removeChild(t)}})},function(e,t){e.walk(e=>{let r=e.$children;if(!r)return;if(0===r.length||1===r.length&&"text"===r[0].kind&&0===Z.trim(r[0].value).length){e.hasDanglingSpaces=r.length>0,e.$children=[];return}let n=eN(e,t)||"interpolation"===e.kind||eL(e),a=eL(e);if(!n)for(let t=0;t<r.length;t++){let n=r[t];if("text"!==n.kind)continue;let{leadingWhitespace:a,text:i,trailingWhitespace:s}=eb(n.value),o=n.prev,l=n.next;i?(n.value=i,n.sourceSpan=new rp(n.sourceSpan.start.moveBy(a.length),n.sourceSpan.end.moveBy(-s.length)),a&&(o&&(o.hasTrailingSpaces=!0),n.hasLeadingSpaces=!0),s&&(n.hasTrailingSpaces=!0,l&&(l.hasLeadingSpaces=!0))):(e.removeChild(n),t--,(a||s)&&(o&&(o.hasTrailingSpaces=!0),l&&(l.hasLeadingSpaces=!0)))}e.isWhitespaceSensitive=n,e.isIndentationSensitive=a})},function(e,t){e.walk(e=>{e.cssDisplay=function(e,t){if(ej(e,t))return"block";if(e.prev?.kind==="comment"){let t=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(t)return t[1]}let r=!1;if("element"===e.kind&&"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";else r=!0;switch(t.htmlWhitespaceSensitivity){case"strict":break;case"ignore":return"block";default:if("element"===e.kind&&(!e.namespace||r||eE(e))&&Object.prototype.hasOwnProperty.call(eT,e.name))return eT[e.name]}return"inline"}(e,t)})},function(e){e.walk(e=>{e.isSelfClosing=!e.children||"element"===e.kind&&(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.kind&&(e.hasHtmComponentClosingTag=e.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(e.endSourceSpan.start.offset,e.endSourceSpan.end.offset)))})},function(e,t){e.walk(e=>{let{children:r}=e;if(r){var n,a;if(0===r.length){e.isDanglingSpaceSensitive=!eH(n=e.cssDisplay)&&"inline-block"!==n&&!eN(e,t);return}for(let e of r){e.isLeadingSpaceSensitive=function(e,t){let r=function(){var r;return!ev(e)&&"angularControlFlowBlock"!==e.kind&&(("text"===e.kind||"interpolation"===e.kind)&&!!e.prev&&("text"===e.prev.kind||"interpolation"===e.prev.kind)||!!e.parent&&"none"!==e.parent.cssDisplay&&(!!eF(e.parent)||!(!e.prev&&("root"===e.parent.kind||eF(e)&&e.parent||eN(e.parent,t)||e$(e.parent,t)||!(!eH(r=e.parent.cssDisplay)&&"inline-block"!==r))||e.prev&&eH(e.prev.cssDisplay))))}();return r&&!e.prev&&e.parent?.tagDefinition?.ignoreFirstLf?"interpolation"===e.kind:r}(e,t),e.isTrailingSpaceSensitive=!ev(e)&&"angularControlFlowBlock"!==e.kind&&(("text"===e.kind||"interpolation"===e.kind)&&!!e.next&&("text"===e.next.kind||"interpolation"===e.next.kind)||!!e.parent&&"none"!==e.parent.cssDisplay&&(!!eF(e.parent)||!(!e.next&&("root"===e.parent.kind||eF(e)&&e.parent||eN(e.parent,t)||e$(e.parent,t)||!(!eH(a=e.parent.cssDisplay)&&"inline-block"!==a))||e.next&&eH(e.next.cssDisplay))))}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=>"element"===e.kind&&0===e.attrs.length&&1===e.children.length&&"text"===e.firstChild.kind&&!Z.hasWhitespaceCharacter(e.children[0].value)&&!e.firstChild.hasLeadingSpaces&&!e.firstChild.hasTrailingSpaces&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces&&e.prev?.kind==="text"&&e.next?.kind==="text";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 a=n.prev,i=n.next;a.value+=`<${n.rawName}>`+n.firstChild.value+`</${n.rawName}>`+i.value,a.sourceSpan=new rp(a.sourceSpan.start,i.sourceSpan.end),a.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,a.hasTrailingSpaces=i.hasTrailingSpaces,e.removeChild(n),r--,e.removeChild(i)}})}],r9=[{name:"Angular",type:"markup",aceMode:"html",extensions:[".component.html"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["angular"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"HTML",type:"markup",aceMode:"html",extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["html"],vscodeLanguageIds:["html"],linguistLanguageId:146},{name:"Lightning Web Components",type:"markup",aceMode:"html",extensions:[],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"MJML",type:"markup",aceMode:"html",extensions:[".mjml"],tmScope:"text.mjml.basic",aliases:["MJML","mjml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["mjml"],filenames:[],vscodeLanguageIds:["mjml"],linguistLanguageId:146},{name:"Vue",type:"markup",aceMode:"vue",extensions:[".vue"],tmScope:"source.vue",codemirrorMode:"vue",codemirrorMimeType:"text/x-vue",parsers:["vue"],vscodeLanguageIds:["vue"],linguistLanguageId:391}],r8="HTML",r7={bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},htmlWhitespaceSensitivity:{category:r8,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:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."},vueIndentScriptAndStyle:{category:r8,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},ne={};l(ne,{angular:()=>ny,html:()=>nC,lwc:()=>nN,mjml:()=>nw,vue:()=>nx});var nt={canSelfClose:!0,normalizeTagName:!1,normalizeAttributeName:!1,allowHtmComponentClosingTags:!1,isTagNameCaseSensitive:!1,shouldParseFrontMatter:!0};function nr(e){let{canSelfClose:t,allowHtmComponentClosingTags:r,isTagNameCaseSensitive:n,shouldParseAsRawText:a,tokenizeAngularBlocks:i,tokenizeAngularLetDeclaration:s}=e;return{canSelfClose:t,allowHtmComponentClosingTags:r,isTagNameCaseSensitive:n,getTagContentType:a?(...e)=>a(...e)?tW.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:i,tokenizeAngularLetDeclaration:s}}var nn,na,ni,ns,no,nl,nc=new Map([["*",new Set(["accesskey","autocapitalize","autocorrect","autofocus","class","contenteditable","dir","draggable","enterkeyhint","exportparts","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"])],["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(["command","commandfor","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(["closedby","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","alpha","alt","autocomplete","checked","colorspace","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(["shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootmode","shadowrootserializable"])],["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"])]]),nu=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","em","embed","fencedframe","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","selectedcontent","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"]),np={attrs:!0,children:!0,cases:!0,expression:!0},nh=new Set(["parent"]),nd=class We{constructor(e={}){let t;for(let r of((t=ns).has(this)?o("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(this):t.set(this,void 0),c(this,"kind"),c(this,"parent"),new Set([...nh,...Object.keys(e)])))this.setProperty(r,e[r]);if(ev(e))for(let t of Object.getOwnPropertySymbols(e))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in np&&(t=t.map(e=>this.createChild(e))),!nh.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in np){let n=this[r];if(n){let a=function(e,t){let r=e.map(t);return r.some((t,r)=>t!==e[r])?r:e}(n,t=>t.map(e));t!==n&&(t||(t=new We({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let e in this)e in np||(t[e]=this[e]);return e(t||this)}walk(e){for(let t in np){let r=this[t];if(r)for(let t=0;t<r.length;t++)r[t].walk(e)}e(this)}createChild(e){let t=e instanceof We?e.clone():new We(e);return t.setProperty("parent",this),t}insertChildBefore(e,t){let r=this.$children;r.splice(r.indexOf(e),0,this.createChild(t))}removeChild(e){let t=this.$children;t.splice(t.indexOf(e),1)}replaceChild(e,t){let r=this.$children;r[r.indexOf(e)]=this.createChild(t)}clone(){return new We(this)}get $children(){return this[u(this,ns,no)]}set $children(e){this[u(this,ns,no)]=e}get firstChild(){return this.$children?.[0]}get lastChild(){return f(1,this.$children,-1)}get prev(){let e=u(this,ns,nl);return e[e.indexOf(this)-1]}get next(){let e=u(this,ns,nl);return e[e.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]))}};ns=new WeakSet,no=function(){return"angularIcuCase"===this.kind?"expression":"angularIcuExpression"===this.kind?"cases":"children"},nl=function(){return this.parent?.$children??[]};var nm=[{regex:/^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/su,parse:function(e,t,r){let{openingTagSuffix:n,condition:a,data:i}=t.groups,s=4+n.length,o=e.sourceSpan.start.moveBy(s),l=o.moveBy(i.length),[c,u]=(()=>{try{return[!0,r(i,o).children]}catch{return[!1,[{kind:"text",value:i,sourceSpan:new rp(o,l)}]]}})();return{kind:"ieConditionalComment",complete:c,children:u,condition:m(0,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new rp(e.sourceSpan.start,o),endSourceSpan:new rp(l,e.sourceSpan.end)}}},{regex:/^\[if(?<condition>[^\]]*)\]><!$/u,parse:function(e,t){let{condition:r}=t.groups;return{kind:"ieConditionalStartComment",condition:m(0,r.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}},{regex:/^<!\s*\[endif\]$/u,parse:function(e){return{kind:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}}],ng=class extends rL{visitExpansionCase(e,t){"angular"===t.parseOptions.name&&this.visitChildren(t,t=>{t(e.expression)})}visit(e,{parseOptions:t}){var r;(function(e){switch(e.kind){case"element":for(let t of(n_(e),e.attrs))n_(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/u.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),function(e,t){if("element"===e.kind){let r=rr(t.isTagNameCaseSensitive?e.name:e.name.toLowerCase());!e.namespace||e.namespace===r.implicitNamespacePrefix||eE(e)?e.tagDefinition=r:e.tagDefinition=rr("")}}(e,t),function(e,t){if("element"===e.kind&&(t.normalizeTagName&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||eE(e))&&(e.name=nf(e.name,e=>nu.has(e))),t.normalizeAttributeName))for(let t of e.attrs)t.namespace||(t.name=nf(t.name,t=>nc.has(e.name)&&(nc.get("*").has(t)||nc.get(e.name).has(t))))}(e,t),(r=e).sourceSpan&&r.endSourceSpan&&(r.sourceSpan=new rp(r.sourceSpan.start,r.endSourceSpan.end))}};function nf(e,t){let r=e.toLowerCase();return t(r)?r:e}function n_(e){let t=e.name.startsWith(":")?e.name.slice(1).split(":")[0]:null,r=e.nameSpan.toString(),n=null!==t&&r.startsWith(`${t}:`);e.name=n?r.slice(t.length+1):r,e.namespace=t,e.hasExplicitNamespace=n}function nv(e,t){let{rootNodes:r,errors:n}=r6(e,nr(t));return n.length>0&&nT(n[0]),{parseOptions:t,rootNodes:r}}function nS(e,t){let r=nr(t),{rootNodes:n,errors:a}=r6(e,r);if(n.some(e=>"docType"===e.kind&&"html"===e.value||"element"===e.kind&&"html"===e.name.toLowerCase()))return nv(e,nk);let i,s=()=>i??(i=r6(e,{...r,getTagContentType:void 0})),o=e=>{let{offset:t}=e.startSourceSpan.start;return s().rootNodes.find(e=>"element"===e.kind&&e.startSourceSpan.start.offset===t)??e};for(let[e,t]of n.entries())if("element"===t.kind){if(t.isVoid)a=s().errors,n[e]=o(t);else if(function(e){if("element"!==e.kind||"template"!==e.name)return!1;let t=e.attrs.find(e=>"lang"===e.name)?.value;return!t||"html"===t}(t)){let{endSourceSpan:r,startSourceSpan:a}=t,i=s().errors.find(e=>e.span.start.offset>a.start.offset&&e.span.start.offset<r.end.offset);i&&nT(i),n[e]=o(t)}}return a.length>0&&nT(a[0]),{parseOptions:t,rootNodes:n}}function nT(e){var t;let{msg:r,span:{start:n,end:a}}=e;throw Object.assign(SyntaxError(r+" ("+(t={loc:{start:{line:n.line+1,column:n.col+1},end:{line:a.line+1,column:a.col+1}},cause:e}).loc.start.line+":"+t.loc.start.column+")"),t)}var nk=(i={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},{...nt,...i});function nE(e){let t={...nt,...e},r="vue"===t.name?nS:nv;return{parse:(e,n)=>(function e(t,r,n,a={}){var i,s;let o,{frontMatter:l,content:c}=n.shouldParseFrontMatter?eS(t):{content:t},u=new ru(t,a.filepath),p=new rc(u,0,0,0),h=p.moveBy(t.length),{parseOptions:d,rootNodes:g}=r(c,n),_={kind:"root",sourceSpan:new rp(p,h),children:g},v;if(l){let[e,t]=[l.start,l.end].map(e=>new rc(u,e.index,e.line-1,e.column));v={...l,kind:"frontMatter",sourceSpan:new rp(e,t)}}return i=v,s=(n,i)=>(function(t,r,n,a,i,s){let{offset:o}=a,l=e(m(0,r.slice(0,o),/[^\n]/gu," ")+n,t,{...i,shouldParseFrontMatter:!1},s);l.sourceSpan=new rp(a,f(0,l.children,-1).sourceSpan.end);let c=l.children[0];return c.length===o?l.children.shift():(c.sourceSpan=new rp(c.sourceSpan.start.moveBy(o),c.sourceSpan.end),c.value=c.value.slice(o)),l})(r,t,n,i,d,a),rN(new ng,_.children,{parseOptions:d}),i&&_.children.unshift(i),(o=new nd(_)).walk(e=>{var t,r;if("comment"===e.kind){let t=function(e,t){if(e.value)for(let{regex:r,parse:n}of nm){let a=e.value.match(r);if(a)return n(e,a,t)}return null}(e,s);t&&e.parent.replaceChild(e,t)}(function(e){if("block"===e.kind){if(e.name=m(0,e.name.toLowerCase(),/\s+/gu," ").trim(),e.kind="angularControlFlowBlock",!eh(e.parameters))return delete e.parameters;for(let t of e.parameters)t.kind="angularControlFlowBlockParameter";e.parameters={kind:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new rp(e.parameters[0].sourceSpan.start,f(0,e.parameters,-1).sourceSpan.end)}}})(e),"letDeclaration"===(t=e).kind&&(t.kind="angularLetDeclaration",t.id=t.name,t.init={kind:"angularLetDeclarationInitializer",sourceSpan:new rp(t.valueSpan.start,t.valueSpan.end),value:t.value},delete t.name,delete t.value),"expansion"===(r=e).kind&&(r.kind="angularIcuExpression"),"expansionCase"===r.kind&&(r.kind="angularIcuCase")}),o})(e,r,t,n),hasPragma:tM,hasIgnorePragma:tq,astFormat:"html",locStart:tc,locEnd:tu}}var nC=nE(nk),nb=new Set(["mj-style","mj-raw"]),nw=nE({...nk,name:"mjml",shouldParseAsRawText:e=>nb.has(e)}),ny=nE({name:"angular",tokenizeAngularBlocks:!0,tokenizeAngularLetDeclaration:!0}),nx=nE({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))}),nN=nE({name:"lwc",canSelfClose:!1}),nL={html:{features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:function(e,t){for(let r of r5)r(e,t);return e},print:function(e,t,r){let{node:n}=e;switch(n.kind){case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[V(tV(e,t,r)),j];case"element":case"ieConditionalComment":return function(e,t,r){var n,a,i;let s,{node:o}=e;if(ew(o,t))return[tb(o,t),V(tE(e,t,r)),q(tN(o,t)),...tp(o,t),td(o,t)];let l=1===o.children.length&&("interpolation"===o.firstChild.kind||"angularIcuExpression"===o.firstChild.kind)&&o.firstChild.isLeadingSpaceSensitive&&!o.firstChild.hasLeadingSpaces&&o.lastChild.isTrailingSpaceSensitive&&!o.lastChild.hasTrailingSpaces,c=Symbol("element-attr-group-id");return s=0===o.children.length?o.hasDanglingSpaces&&o.isDanglingSpaceSensitive?z:"":[eO(o)||"element"===o.kind&&o.children.length>0&&(["body","script","style"].includes(o.name)||o.children.some(e=>{var t;return t=e,t.children?.some(e=>"text"!==e.kind)}))||o.firstChild&&o.firstChild===o.lastChild&&"text"!==o.firstChild.kind&&eD(o.firstChild)&&(!o.lastChild.isTrailingSpaceSensitive||eR(o.lastChild))?H:"",(a=[l?U($,"",{groupId:c}):o.firstChild.hasLeadingSpaces&&o.firstChild.isLeadingSpaceSensitive?z:"text"===o.firstChild.kind&&o.isWhitespaceSensitive&&o.isIndentationSensitive?(_(n=-1/0),_($),{type:E,contents:$,n:n}):$,tV(e,t,r)],l?(i={groupId:c},_(a),{type:x,contents:a,groupId:i.groupId,negate:i.negate}):(eN(o,t)||e$(o,t))&&"root"===o.parent.kind&&"vue"===t.parser&&!t.vueIndentScriptAndStyle?a:B(a)),(o.next?t_(o.next):tv(o.parent))?o.lastChild.hasTrailingSpaces&&o.lastChild.isTrailingSpaceSensitive?" ":"":l?U($,"",{groupId:c}):o.lastChild.hasTrailingSpaces&&o.lastChild.isTrailingSpaceSensitive?z:("comment"===o.lastChild.kind||"text"===o.lastChild.kind&&o.isWhitespaceSensitive&&o.isIndentationSensitive)&&RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(o.lastChild.value)?"":$],V([V(tE(e,t,r),{id:c}),s,tp(o,t)])}(e,t,r);case"angularControlFlowBlock":return function(e,t,r){let{node:n}=e,a=[];(function(e){let{previous:t}=e;return t?.kind==="angularControlFlowBlock"&&!ey(t)&&!tU(t)})(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",V(r("parameters")),")"),a.push(" {");let i=tU(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(B([j,tV(e,t,r)])),i&&a.push(j,"}")):i&&a.push("}"),V(a,{shouldBreak:!0})}(e,t,r);case"angularControlFlowBlockParameters":return[B([$,W([";",z],e.map(r,"children"))]),$];case"angularControlFlowBlockParameter":return Z.trim(n.expression);case"angularLetDeclaration":return V(["@let ",V([n.id," =",V(B([z,r("init")]))]),";"]);case"angularLetDeclarationInitializer":return n.value;case"angularIcuExpression":return function(e,t,r){let{node:n}=e;return[tC(n,t),V([n.switchValue.trim(),", ",n.type,n.cases.length>0?[",",B([z,W(z,e.map(r,"cases"))])]:"",$]),th(n,t)]}(e,t,r);case"angularIcuCase":return function(e,t,r){let{node:n}=e;return[n.value," {",V([B([$,e.map(({node:e,isLast:t})=>{let n=[r()];return"text"===e.kind&&(e.hasLeadingSpaces&&n.unshift(z),e.hasTrailingSpaces&&!t&&n.push(z)),n},"expression")]),$]),"}"]}(e,0,r);case"ieConditionalStartComment":case"ieConditionalEndComment":return[tC(n),th(n)];case"interpolation":return[tC(n,t),...e.map(r,"children"),th(n,t)];case"text":{if("interpolation"===n.parent.kind){let e=/\n[^\S\n]*$/u,t=e.test(n.value);return[q(t?n.value.replace(e,""):n.value),t?j:""]}let e=tb(n,t),r=eG(n),a=td(n,t);return r[0]=[e,r[0]],r.push([r.pop(),a]),F(r)}case"docType":return[V([tC(n,t)," ",m(0,n.value.replace(/^html\b/iu,"html"),/\s+/gu," ")]),th(n,t)];case"comment":return[tb(n,t),q(t.originalText.slice(tc(n),tu(n))),td(n,t)];case"attribute":{if(null===n.value)return n.rawName;let e=eU(n.value),r=eY(n,t)?"":Q(e,'"');return[n.rawName,"=",r,q('"'===r?m(0,e,'"',"&quot;"):m(0,e,"'","&apos;")),r]}default:throw new ee(n,"HTML")}},insertPragma:e=>`<!-- @format -->
23
23
 
24
- ${e}`,massageAstNode:Z,embed:function(e,t){let{node:r}=e;switch(r.kind){case"element":if(eb(r,t)||"interpolation"===r.kind)return;if(!r.isSelfClosing&&eW(r,t)){let n=eI(r,t);return n?async(a,i)=>{let s=tC(r,t),o=/^\s*$/u.test(s),l="";return o||(o=""===(l=await a(eS(s),{parser:n,__embeddedInHtml:!0}))),[tS(r,t),V(t_(e,t,i)),o?"":j,l,o?"":j,ts(r,t),tl(r,t)]}:void 0}break;case"text":if(eb(r.parent,t)){let e=eI(r.parent,t);if(e)return async n=>{let a="markdown"===e?K.dedentString(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,i={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||"text/jsx"===t.type)&&"module"===t["data-type"])&&(e="module"),i.__babelSourceType=e}return[H,tS(r,t),await n(a,i),tl(r,t)]}}else if("interpolation"===r.parent.kind)return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===t.parser?a.parser="__ng_interpolation":"vue"===t.parser?a.parser=te(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[B([z,await n(r.value,a)]),r.parent.next&&th(r.parent.next)?" ":z]};break;case"attribute":return tn(e,t);case"angularControlFlowBlockParameters":return tb.has(e.parent.name)?en:void 0;case"angularLetDeclarationInitializer":return e=>er(r.value,e,{parser:"__ng_binding",__isInHtmlAttribute:!1})}},getVisitorKeys:tx}}}};
24
+ ${e}`,massageAstNode:en,embed:function(e,t){let{node:r}=e;switch(r.kind){case"element":if(eN(r,t)||"interpolation"===r.kind)return;if(!r.isSelfClosing&&eX(r,t)){let n=eB(r,t);return n?async(a,i)=>{let s=tN(r,t),o=/^\s*$/u.test(s),l="";return o||(o=""===(l=await a(eC(s),{parser:n,__embeddedInHtml:!0}))),[tb(r,t),V(tE(e,t,i)),o?"":j,l,o?"":j,tp(r,t),td(r,t)]}:void 0}break;case"text":if(eN(r.parent,t)){let e=eB(r.parent,t);if(e)return async n=>{let a="markdown"===e?Z.dedentString(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,i={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||"text/jsx"===t.type)&&"module"===t["data-type"])&&(e="module"),i.__babelSourceType=e}return[H,tb(r,t),await n(a,i),td(r,t)]}}else if("interpolation"===r.parent.kind)return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===t.parser?a.parser="__ng_interpolation":"vue"===t.parser?a.parser=ti(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[B([z,await n(r.value,a)]),r.parent.next&&t_(r.parent.next)?" ":z]};break;case"attribute":return tl(e,t);case"angularControlFlowBlockParameters":return tL.has(e.parent.name)?eo:void 0;case"angularLetDeclarationInitializer":return e=>es(r.value,e,{parser:"__ng_binding",__isInHtmlAttribute:!1})}},getVisitorKeys:tD}}}};
25
25
  //# sourceMappingURL=6375.js.map