@jixo/cli 0.21.0 → 0.21.2

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