@govbr-ds/playground 5.2.0 → 5.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Playground.d.ts.map +1 -1
- package/dist/browser/chunks/babel-PXSNAHUX.js +16 -0
- package/dist/browser/chunks/chunk-6DHFEWGX.js +1 -0
- package/dist/browser/chunks/{chunk-JM73XHPL.js → chunk-7G6EEGZ4.js} +1 -1
- package/dist/{react/chunks/dist-AKMJXMTZ.js → browser/chunks/dist-H5E3DUQZ.js} +1 -1
- package/dist/browser/chunks/{dist-VIVGCYF5.js → dist-HT72W6BH.js} +1 -1
- package/dist/browser/chunks/{dist-KS4J6S7U.js → dist-MALZEIQI.js} +1 -1
- package/dist/browser/chunks/{esm-BWS4JPZG.js → esm-3ZNLC56K.js} +1 -1
- package/dist/browser/chunks/{esm-R75BP3LA.js → esm-6SLZNXJD.js} +1 -1
- package/dist/browser/chunks/estree-EALESNBX.js +44 -0
- package/dist/browser/chunks/html-C5MOHUJO.js +25 -0
- package/dist/browser/chunks/postcss-RXMLIASD.js +62 -0
- package/dist/browser/chunks/standalone-G7AM3SII.js +29 -0
- package/dist/browser/index.d.ts.map +1 -1
- package/dist/browser/index.js +21 -21
- package/dist/library/profile.d.ts +1 -1
- package/dist/react/chunks/babel-PXSNAHUX.js +16 -0
- package/dist/react/chunks/chunk-6DHFEWGX.js +1 -0
- package/dist/{browser/chunks/dist-AKMJXMTZ.js → react/chunks/dist-H5E3DUQZ.js} +1 -1
- package/dist/react/chunks/{dist-VIVGCYF5.js → dist-HT72W6BH.js} +1 -1
- package/dist/react/chunks/{dist-KS4J6S7U.js → dist-MALZEIQI.js} +1 -1
- package/dist/react/chunks/{esm-R75BP3LA.js → esm-6SLZNXJD.js} +1 -1
- package/dist/react/chunks/{esm-WLDNKOOE.js → esm-YAO6K4CU.js} +1 -1
- package/dist/react/chunks/estree-EALESNBX.js +44 -0
- package/dist/react/chunks/html-C5MOHUJO.js +25 -0
- package/dist/react/chunks/postcss-RXMLIASD.js +62 -0
- package/dist/react/chunks/standalone-G7AM3SII.js +29 -0
- package/dist/react/index.js +18 -18
- package/dist/styles.css +77 -37
- package/dist/utils/previewLocale.d.ts +6 -6
- package/dist/utils/previewLocale.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/browser/chunks/babel-TRTEHJWP.js +0 -16
- package/dist/browser/chunks/chunk-Y6SLVHK3.js +0 -1
- package/dist/browser/chunks/estree-UYKKTIFA.js +0 -44
- package/dist/browser/chunks/html-TM3VAO62.js +0 -25
- package/dist/browser/chunks/postcss-JAVHFEUM.js +0 -62
- package/dist/browser/chunks/standalone-IDMVEPER.js +0 -29
- package/dist/react/chunks/babel-TRTEHJWP.js +0 -16
- package/dist/react/chunks/chunk-Y6SLVHK3.js +0 -1
- package/dist/react/chunks/estree-UYKKTIFA.js +0 -44
- package/dist/react/chunks/html-TM3VAO62.js +0 -25
- package/dist/react/chunks/postcss-JAVHFEUM.js +0 -62
- package/dist/react/chunks/standalone-IDMVEPER.js +0 -29
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import"./chunk-6DHFEWGX.js";var un=Object.defineProperty,ln=e=>{throw TypeError(e)},ur=(e,t,n)=>t in e?un(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cn=(e,t)=>{for(var n in t)un(e,n,{get:t[n],enumerable:!0})},Lt=(e,t,n)=>ur(e,typeof t!="symbol"?t+"":t,n),lr=(e,t,n)=>t.has(e)||ln("Cannot "+n),Ne=(e,t,n)=>(lr(e,t,"read from private field"),n?n.call(e):t.get(e)),cr=(e,t,n)=>t.has(e)?ln("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),pr={};cn(pr,{languages:()=>Eo,options:()=>yo,parsers:()=>rr,printers:()=>au});var dt=(e,t)=>(n,r,...a)=>n|1&&r==null?void 0:(t.call(r)??r[e]).apply(r,a),hr=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},dr=dt("replaceAll",function(){if(typeof this=="string")return hr}),A=dr;function mr(e){return this[e<0?this.length+e:e]}var gr=dt("at",function(){if(Array.isArray(this)||typeof this=="string")return mr}),te=gr,fr=()=>{},Ue=fr,pn="string",hn="array",dn="cursor",mt="indent",gt="align",mn="trim",ft="group",vt="fill",Ct="if-break",_t="indent-if-break",gn="line-suffix",fn="line-suffix-boundary",ne="line",vn="label",St="break-parent",Cn=new Set([dn,mt,gt,mn,ft,vt,Ct,_t,gn,fn,ne,vn,St]);function kt(e,t,n){if(!e.has(t)){let r=n(t);e.set(t,r)}return e.get(t)}function vr(e){if(typeof e=="string")return pn;if(Array.isArray(e))return hn;if(!e)return;let{type:t}=e;if(Cn.has(t))return t}var _n=vr,Cr=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function _r(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(_n(e))throw new Error("doc is valid.");let n=Object.prototype.toString.call(e);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=Cr([...Cn].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'.
|
|
3
|
+
Expected it to be ${r}.`}var Sr=class extends Error{name="InvalidDocError";constructor(e){super(_r(e)),this.doc=e}},kr=Sr;function Sn(e,t){if(typeof e=="string")return t(e);let n=new Map;return r(e);function r(i){return kt(n,i,a)}function a(i){switch(_n(i)){case hn:return t(i.map(r));case vt:return t({...i,parts:i.parts.map(r)});case Ct:return t({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case ft:{let{expandedStates:s,contents:o}=i;return s?(s=s.map(r),o=s[0]):o=r(o),t({...i,contents:o,expandedStates:s})}case gt:case mt:case _t:case vn:case gn:return t({...i,contents:r(i.contents)});case pn:case dn:case mn:case fn:case ne:case St:return t(i);default:throw new kr(i)}}}function D(e,t=Dr){return Sn(e,n=>typeof n=="string"?G(t,n.split(`
|
|
4
|
+
`)):n)}var z=Ue,kn=Ue,br=Ue,wr=Ue;function L(e){return z(e),{type:mt,contents:e}}function Er(e,t){return wr(e),z(t),{type:gt,contents:t,n:e}}function Ar(e){return Er(Number.NEGATIVE_INFINITY,e)}var re={type:St};function bn(e){return br(e),{type:vt,parts:e}}function b(e,t={}){return z(e),kn(t.expandedStates,!0),{type:ft,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function ke(e,t="",n={}){return z(e),t!==""&&z(t),{type:Ct,breakContents:e,flatContents:t,groupId:n.groupId}}function yr(e,t){return z(e),{type:_t,contents:e,groupId:t.groupId,negate:t.negate}}function G(e,t){z(e),kn(t);let n=[];for(let r=0;r<t.length;r++)r!==0&&n.push(e),n.push(t[r]);return n}var S={type:ne},w={type:ne,soft:!0},Tr={type:ne,hard:!0},_=[Tr,re],xr={type:ne,hard:!0,literal:!0},Dr=[xr,re];function Br(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Lr=class{#e;constructor(e){this.#e=new Set(e)}getLeadingWhitespaceCount(e){let t=this.#e,n=0;for(let r=0;r<e.length&&t.has(e.charAt(r));r++)n++;return n}getTrailingWhitespaceCount(e){let t=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 this.#e.has(e.charAt(0))}hasTrailingWhitespace(e){return this.#e.has(te(0,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let n=`[${Br([...this.#e].join(""))}]+`,r=new RegExp(t?`(${n})`:n);return e.split(r)}hasWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,n=>t.has(n))}hasNonWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,n=>!t.has(n))}isWhitespaceOnly(e){let t=this.#e;return Array.prototype.every.call(e,n=>t.has(n))}#t(e){let t=Number.POSITIVE_INFINITY;for(let n of e.split(`
|
|
5
|
+
`)){if(n.length===0)continue;let r=this.getLeadingWhitespaceCount(n);if(r===0)return 0;n.length!==r&&r<t&&(t=r)}return t===Number.POSITIVE_INFINITY?0:t}dedentString(e){let t=this.#t(e);return t===0?e:e.split(`
|
|
6
|
+
`).map(n=>n.slice(t)).join(`
|
|
7
|
+
`)}},Nr=Lr,Fr=[" ",`
|
|
8
|
+
`,"\f","\r"," "],Ir=new Nr(Fr),T=Ir,qr=class extends Error{name="UnexpectedNodeError";constructor(e,t,n="type"){super(`Unexpected ${t} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},Pr=qr;function Ee(e,t=!0){return[L([w,e]),t?w:""]}function ae(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"||t.parser==="__ng_binding"||t.parser==="__ng_directive")&&(n.type==="TemplateLiteral"||n.type==="StringLiteral"))}async function B(e,t,n,r){n={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...n};let a=!0;r&&(n.__onHtmlBindingRoot=(s,o)=>{a=r(s,o)});let i=await t(e,n,t);return a?b(i):Ee(i)}function Mr(e,t,n,r){let{node:a}=n,i=r.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/.test(i)?"":B(i,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},ae)}var Or=Mr,Rr=Object.hasOwn??Function.prototype.call.bind(Object.prototype.hasOwnProperty),O=Rr,Hr=Array.prototype.toReversed??function(){return[...this].reverse()},Ur=dt("toReversed",function(){if(Array.isArray(this))return Hr}),Vr=Ur;function zr(){let e=globalThis,t=e.process?.platform;if(typeof t=="string")return t.startsWith("win");let n=e.Deno?.build?.os;return typeof n=="string"?n==="windows":e.navigator?.platform?.startsWith("Win")??!1}var Wr=zr();function wn(e){if(e=e instanceof URL?e:new URL(e),e.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}function $r(e){return e=wn(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function jr(e){e=wn(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 Gr(e){return Wr?jr(e):$r(e)}var Xr=e=>String(e).split(/[/\\]/).pop(),Kr=e=>String(e).startsWith("file:");function Yr(e){return Array.isArray(e)&&e.length>0}var Ve=Yr;function Nt(e,t){if(!t)return;let n=Xr(t).toLowerCase();return e.find(({filenames:r})=>r?.some(a=>a.toLowerCase()===n))??e.find(({extensions:r})=>r?.some(a=>n.endsWith(a)))}function Jr(e,t){if(t)return e.find(({name:n})=>n.toLowerCase()===t)??e.find(({aliases:n})=>n?.includes(t))??e.find(({extensions:n})=>n?.includes(`.${t}`))}var Qr=void 0;function Ft(e,t){if(t){if(Kr(t))try{t=Gr(t)}catch{return}if(typeof t=="string")return e.find(({isSupported:n})=>n?.({filepath:t}))}}function Zr(e,t){let n=Vr(0,e.plugins).flatMap(r=>r.languages??[]);return(Jr(n,t.language)??Nt(n,t.physicalFile)??Nt(n,t.file)??Ft(n,t.physicalFile)??Ft(n,t.file)??Qr?.(n,t.physicalFile))?.parsers[0]}var bt=Zr,En=Symbol.for("PRETTIER_IS_FRONT_MATTER");function ea(e){return!!e?.[En]}var ze=ea;function ta(e){return A(0,e,/[^\n]/g," ")}var An=ta,le=3;function na(e){let t=e.slice(0,le);if(t!=="---"&&t!=="+++")return;let n=e.indexOf(`
|
|
9
|
+
`,le);if(n===-1)return;let r=e.slice(le,n).trim(),a=e.indexOf(`
|
|
10
|
+
${t}`,n),i=r;if(i||(i=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&i==="yaml"&&(a=e.indexOf(`
|
|
11
|
+
...`,n)),a===-1)return;let s=a+1+le,o=e.charAt(s+1);if(!/\s?/.test(o))return;let u=e.slice(0,s),l;return{language:i,explicitLanguage:r||null,value:e.slice(n+1,a),startDelimiter:t,endDelimiter:u.slice(-le),raw:u,start:{line:1,column:0,index:0},end:{index:u.length,get line(){return l??(l=u.split(`
|
|
12
|
+
`)),l.length},get column(){return l??(l=u.split(`
|
|
13
|
+
`)),te(0,l,-1).length}},[En]:!0}}function ra(e){let t=na(e);return t?{frontMatter:t,get content(){let{raw:n}=t;return An(n)+e.slice(n.length)}}:{content:e}}var aa=ra,ia="inline",It={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",option:"block",optgroup:"block",select:"inline-block",source:"block",track:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block"},sa="normal",qt={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function oa(e){return e.kind==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}var Ae=oa,ua=e=>e?.kind==="element"&&O(e.attrMap,"ngNonBindable"),la=new WeakMap,yn=e=>!!e&&kt(la,e,t=>ua(t)||yn(t.parent)),ca=(e,t)=>t.parser==="angular"&&yn(e),pa=e=>A(0,e,/^[\t\f\r ]*\n/g,""),Tn=e=>pa(T.trimEnd(e)),ha=e=>{let t=e,n=T.getLeadingWhitespace(t);n&&(t=t.slice(n.length));let r=T.getTrailingWhitespace(t);return r&&(t=t.slice(0,-r.length)),{leadingWhitespace:n,trailingWhitespace:r,text:t}};function xn(e,t){return!!(e.kind==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.kind==="ieConditionalComment"&&!e.complete||W(e)&&e.children.some(n=>n.kind!=="text"&&n.kind!=="interpolation")||Et(e,t)&&!q(e,t)&&e.kind!=="interpolation")}function We(e){return e.kind==="attribute"||!e.parent||!e.prev?!1:da(e.prev)}function da(e){return e.kind==="comment"&&e.value.trim()==="prettier-ignore"}function x(e){return e.kind==="text"||e.kind==="comment"||e.kind==="cdata"}function q(e,t){return e.kind==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||e.fullName==="mj-style"&&t.parser==="mjml"||Ae(e)&&(e.name==="script"||e.name==="style"))}function ma(e,t){return!(!e.children||q(e,t)||ca(e,t))}function ga(e,t){return q(e,t)||e.kind==="interpolation"||Dn(e)}function Dn(e){return Pn(e).startsWith("pre")}function fa(e,t){let n=r();if(n&&!e.prev&&e.parent?.tagDefinition?.ignoreFirstLf)return e.kind==="interpolation";return n;function r(){return ze(e)||e.kind==="angularControlFlowBlock"?!1:(e.kind==="text"||e.kind==="interpolation")&&e.prev&&(e.prev.kind==="text"||e.prev.kind==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:W(e.parent)?!0:!(!e.prev&&(e.parent.kind==="root"||W(e)&&e.parent||q(e.parent,t)||$e(e.parent,t)||!Aa(e.parent.cssDisplay))||e.prev&&!xa(e.prev.cssDisplay))}}function va(e,t){return ze(e)||e.kind==="angularControlFlowBlock"?!1:(e.kind==="text"||e.kind==="interpolation")&&e.next&&(e.next.kind==="text"||e.next.kind==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:W(e.parent)?!0:!(!e.next&&(e.parent.kind==="root"||W(e)&&e.parent||q(e.parent,t)||$e(e.parent,t)||!ya(e.parent.cssDisplay))||e.next&&!Ta(e.next.cssDisplay))}function Ca(e,t){return Da(e.cssDisplay)&&!q(e,t)}function Fe(e){return ze(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function _a(e){return Bn(e)||e.kind==="element"&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(t=>ka(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.kind!=="text"&&Nn(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Fn(e.lastChild))}function Bn(e){return e.kind==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function Ye(e){return In(e)||e.prev&&Sa(e.prev)||Ln(e)}function Sa(e){return In(e)||e.kind==="element"&&e.fullName==="br"||Ln(e)}function Ln(e){return Nn(e)&&Fn(e)}function Nn(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:e.parent.kind==="root"||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function Fn(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:e.parent.kind==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function In(e){switch(e.kind){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function wt(e){return e.lastChild?wt(e.lastChild):e}function ka(e){return e.children?.some(t=>t.kind!=="text")}function qn(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 ba(e,t){let{name:n,attrMap:r}=e;if(n!=="script"||O(r,"src"))return;let{type:a,lang:i}=e.attrMap;return!i&&!a?"babel":bt(t,{language:i})??qn(a)}function wa(e,t){if(!Et(e,t))return;let{attrMap:n}=e;if(O(n,"src"))return;let{type:r,lang:a}=n;return bt(t,{language:a})??qn(r)}function Ea(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 Pt(e,t){return ba(e,t)??Ea(e,t)??wa(e,t)}function ye(e){return e==="block"||e==="list-item"||e.startsWith("table")}function Aa(e){return!ye(e)&&e!=="inline-block"}function ya(e){return!ye(e)&&e!=="inline-block"}function Ta(e){return!ye(e)}function xa(e){return!ye(e)}function Da(e){return!ye(e)&&e!=="inline-block"}function W(e){return Pn(e).startsWith("pre")}function Ba(e,t){let n=e;for(;n;){if(t(n))return!0;n=n.parent}return!1}function La(e,t){if(ie(e,t))return"block";if(e.prev?.kind==="comment"){let r=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(r)return r[1]}let n=!1;if(e.kind==="element"&&e.namespace==="svg")if(Ba(e,r=>r.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:if(e.kind==="element"&&(!e.namespace||n||Ae(e))&&O(It,e.name))return It[e.name]}return ia}function Pn(e){return e.kind==="element"&&(!e.namespace||Ae(e))&&O(qt,e.name)?qt[e.name]:sa}function Mn(e){return A(0,A(0,e,"'","'"),""",'"')}function y(e){return Mn(e.value)}var Na=new Set(["template","style","script"]);function $e(e,t){return ie(e,t)&&!Na.has(e.fullName)}function ie(e,t){return t.parser==="vue"&&e.kind==="element"&&e.parent.kind==="root"&&e.fullName.toLowerCase()!=="html"}function Et(e,t){return ie(e,t)&&($e(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function Fa(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function Ia(e,t){let n=e.parent;if(!ie(n,t))return!1;let r=n.fullName,a=e.fullName;return r==="script"&&a==="setup"||r==="style"&&a==="vars"}function On(e,t){return ie(e,t)&&e.name==="script"}function qa(e){let{valueSpan:t,value:n}=e;return t.end.offset-t.start.offset===n.length+2}function Rn(e,t){if(qa(e))return!1;let{value:n}=e;return/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(n)||t.parser==="lwc"&&n.startsWith("{")&&n.endsWith("}")}var Hn=/\{\{(.+?)\}\}/s,Pa=({node:{value:e}})=>Hn.test(e);async function Ma(e,t,n){let r=y(n.node),a=[];for(let[i,s]of r.split(Hn).entries())if(i%2===0)a.push(D(s));else try{a.push(b(["{{",L([S,await B(s,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),S,"}}"]))}catch{a.push("{{",D(s),"}}")}return a}var Je=e=>(t,n,r)=>B(y(r.node),t,{parser:e},ae),Oa=[{test(e){let t=e.node.fullName;return t.startsWith("(")&&t.endsWith(")")||t.startsWith("on-")},print:Je("__ng_action")},{test(e){let t=e.node.fullName;return t.startsWith("[")&&t.endsWith("]")||/^bind(?:on)?-/.test(t)||/^ng-(?:if|show|hide|class|style|model-options)$/.test(t)},print:Je("__ng_binding")},{test:e=>e.node.fullName.startsWith("*"),print:Je("__ng_directive")},{test:e=>/^i18n(?:-.+)?$/.test(e.node.fullName),print:Ra},{test:Pa,print:Ma}].map(({test:e,print:t})=>({test:(n,r)=>r.parser==="angular"&&e(n),print:t}));function Ra(e,t,{node:n}){let r=y(n),a=bn(G(S,T.split(r.trim())));return Ee(a,!r.includes("@@"))}var Ha=Oa,Ua=({node:e},t)=>!t.parentParser&&e.fullName==="class"&&!e.value.includes("{{"),Va=(e,t,n)=>A(0,y(n.node).trim(),/\s+/g," "),za=["onabort","onafterprint","onauxclick","onbeforeinput","onbeforematch","onbeforeprint","onbeforetoggle","onbeforeunload","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncommand","oncontextlost","oncontextmenu","oncontextrestored","oncopy","oncuechange","oncut","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","onformdata","onhashchange","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onlanguagechange","onload","onloadeddata","onloadedmetadata","onloadstart","onmessage","onmessageerror","onmousedown","onmouseenter","onmouseleave","onmousemove","onmouseout","onmouseover","onmouseup","onoffline","ononline","onpagehide","onpagereveal","onpageshow","onpageswap","onpaste","onpause","onplay","onplaying","onpopstate","onprogress","onratechange","onrejectionhandled","onreset","onresize","onscroll","onscrollend","onsecuritypolicyviolation","onseeked","onseeking","onselect","onslotchange","onstalled","onstorage","onsubmit","onsuspend","ontimeupdate","ontoggle","onunhandledrejection","onunload","onvolumechange","onwaiting","onwheel"],Wa=new Set(za),$a=({node:e},t)=>Wa.has(e.fullName)&&!t.parentParser&&!e.value.includes("{{"),ja=(e,t,n)=>B(y(n.node),e,{parser:"babel",__isHtmlInlineEventHandler:!0},()=>!1);function Ga(e){let t=[];for(let n of e.split(";")){if(n=T.trim(n),!n)continue;let[r,...a]=T.split(n);t.push({name:r,value:a})}return t}var Xa=Ga,Ka=({node:e},t)=>e.fullName==="allow"&&!t.parentParser&&e.parent.fullName==="iframe"&&!e.value.includes("{{");function Ya(e,t,n){let{node:r}=n,a=Xa(y(r));return a.length===0?[""]:Ee(a.map(({name:i,value:s},o)=>[[i,...s].join(" "),o===a.length-1?ke(";"):[";",S]]))}function Mt(e){return e===" "||e===`
|
|
14
|
+
`||e==="\f"||e==="\r"||e===" "}var Ja=/^[ \t\n\r\u000c]+/,Qa=/^[, \t\n\r\u000c]+/,Za=/^[^ \t\n\r\u000c]+/,ei=/[,]+$/,Ot=/^\d+$/,ti=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function ni(e){let t=e.length,n,r,a,i,s,o=0,u;function l(p){let d,v=p.exec(e.substring(o));if(v)return[d]=v,o+=d.length,d}let c=[];for(;;){if(l(Qa),o>=t){if(c.length===0)throw new Error("Must contain one or more image candidate strings.");return c}u=o,n=l(Za),r=[],n.slice(-1)===","?(n=n.replace(ei,""),g()):f()}function f(){for(l(Ja),a="",i="in descriptor";;){if(s=e.charAt(o),i==="in descriptor")if(Mt(s))a&&(r.push(a),a="",i="after descriptor");else if(s===","){o+=1,a&&r.push(a),g();return}else if(s==="(")a+=s,i="in parens";else if(s===""){a&&r.push(a),g();return}else a+=s;else if(i==="in parens")if(s===")")a+=s,i="in descriptor";else if(s===""){r.push(a),g();return}else a+=s;else if(i==="after descriptor"&&!Mt(s))if(s===""){g();return}else i="in descriptor",o-=1;o+=1}}function g(){let p=!1,d,v,E,N,R={},P,Le,K,ue,Ke;for(N=0;N<r.length;N++)P=r[N],Le=P[P.length-1],K=P.substring(0,P.length-1),ue=parseInt(K,10),Ke=parseFloat(K),Ot.test(K)&&Le==="w"?((d||v)&&(p=!0),ue===0?p=!0:d=ue):ti.test(K)&&Le==="x"?((d||v||E)&&(p=!0),Ke<0?p=!0:v=Ke):Ot.test(K)&&Le==="h"?((E||v)&&(p=!0),ue===0?p=!0:E=ue):p=!0;if(!p)R.source={value:n,startOffset:u},d&&(R.width={value:d}),v&&(R.density={value:v}),E&&(R.height={value:E}),c.push(R);else throw new Error(`Invalid srcset descriptor found in "${e}" at "${P}".`)}}var ri=ni,ai=e=>e.node.fullName==="srcset"&&(e.parent.fullName==="img"||e.parent.fullName==="source"),Un={width:"w",height:"h",density:"x"},ii=Object.keys(Un);function si(e,t,n){let r=y(n.node),a=ri(r),i=ii.filter(p=>a.some(d=>O(d,p)));if(i.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[s]=i,o=Un[s],u=a.map(p=>p.source.value),l=Math.max(...u.map(p=>p.length)),c=a.map(p=>p[s]?String(p[s].value):""),f=c.map(p=>{let d=p.indexOf(".");return d===-1?p.length:d}),g=Math.max(...f);return Ee(G([",",S],u.map((p,d)=>{let v=[p],E=c[d];if(E){let N=l-p.length+1,R=g-f[d],P=" ".repeat(N+R);v.push(ke(P," "),E+o)}return v})))}var oi=({node:e},t)=>e.fullName==="style"&&!t.parentParser&&!e.value.includes("{{"),ui=async(e,t,n)=>Ee(await e(y(n.node),{parser:"css",__isHTMLStyleAttribute:!0})),li=new WeakMap;function ci(e,t){return kt(li,e.root,n=>n.children.some(r=>On(r,t)&&["ts","typescript"].includes(r.attrMap.lang)))}var se=ci;function pi(e,t,n){let r=y(n.node);return B(`type T<${r}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},ae)}function hi(e,t,n,r){let a=y(n.node),i=se(n,r)?"babel-ts":"babel";return B(`function _(${a}) {}`,e,{parser:i,__isVueBindings:!0})}async function di(e,t,n,r){let a=y(n.node),{left:i,operator:s,right:o}=mi(a),u=se(n,r);return[b(await B(`function _(${i}) {}`,e,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",s," ",await B(o,e,{parser:u?"__ts_expression":"__js_expression"})]}function mi(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,n=e.match(t);if(!n)return;let r={for:n[3].trim()};if(!r.for)return;let a=/,([^,\]}]*)(?:,([^,\]}]*))?$/,i=/^\(|\)$/g,s=A(0,n[1].trim(),i,""),o=s.match(a);o?(r.alias=s.replace(a,""),r.iterator1=o[1].trim(),o[2]&&(r.iterator2=o[2].trim())):r.alias=s;let u=[r.alias,r.iterator1,r.iterator2];if(!u.some((l,c)=>!l&&(c===0||u.slice(c+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:n[2],right:r.for}}var gi=[{test:e=>e.node.fullName==="v-for",print:di},{test:(e,t)=>e.node.fullName==="generic"&&On(e.parent,t),print:pi},{test:({node:e},t)=>Fa(e)||Ia(e,t),print:hi},{test(e){let t=e.node.fullName;return t.startsWith("@")||t.startsWith("v-on:")},print:fi},{test(e){let t=e.node.fullName;return t.startsWith(":")||t.startsWith(".")||t.startsWith("v-bind:")},print:vi},{test:e=>e.node.fullName.startsWith("v-"),print:Vn}].map(({test:e,print:t})=>({test:(n,r)=>r.parser==="vue"&&e(n,r),print:t}));async function fi(e,t,n,r){try{return await Vn(e,t,n,r)}catch(s){if(s.cause?.code!=="BABEL_PARSER_SYNTAX_ERROR")throw s}let a=y(n.node),i=se(n,r)?"__vue_ts_event_binding":"__vue_event_binding";return B(a,e,{parser:i},ae)}function vi(e,t,n,r){let a=y(n.node),i=se(n,r)?"__vue_ts_expression":"__vue_expression";return B(a,e,{parser:i},ae)}function Vn(e,t,n,r){let a=y(n.node),i=se(n,r)?"__ts_expression":"__js_expression";return B(a,e,{parser:i},ae)}var Ci=gi,_i=[{test:ai,print:si},{test:oi,print:ui},{test:$a,print:ja},{test:Ua,print:Va},{test:Ka,print:Ya},...Ci,...Ha].map(({test:e,print:t})=>({test:e,print:ki(t)}));function Si(e,t){let{node:n}=e,{value:r}=n;if(r)return Rn(n,t)?[n.rawName,"=",r]:_i.find(({test:a})=>a(e,t))?.print}function ki(e){return async(t,n,r,a)=>{let i=await e(t,n,r,a);if(i)return i=Sn(i,s=>typeof s=="string"?A(0,s,'"',"""):s),[r.node.rawName,'="',b(i),'"']}}var bi=Si,Z=e=>e.sourceSpan.start.offset,je=e=>e.sourceSpan.end.offset;function tt(e,t){return[e.isSelfClosing?"":wi(e,t),fe(e,t)]}function wi(e,t){return e.lastChild&&ee(e.lastChild)?"":[Ei(e,t),At(e,t)]}function fe(e,t){return(e.next?I(e.next):xe(e.parent))?"":[Te(e,t),$(e,t)]}function Ei(e,t){return xe(e)?Te(e.lastChild,t):""}function $(e,t){return ee(e)?At(e.parent,t):Ge(e)?yt(e.next,t):""}function At(e,t){if(zn(e,t))return"";switch(e.kind){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function Te(e,t){if(zn(e,t))return"";switch(e.kind){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function zn(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(We(e)||xn(e.parent,t))}function I(e){return e.prev&&e.prev.kind!=="docType"&&e.kind!=="angularControlFlowBlock"&&!x(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function xe(e){return e.lastChild?.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!x(wt(e.lastChild))&&!W(e)}function ee(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&x(wt(e))}function Ge(e){return e.next&&!x(e.next)&&x(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Ai(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function Xe(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function yi(e,t,n){let{node:r}=e,{attrs:a=[],startTagComments:i=[]}=r;if(a.length===0&&i.length===0)return r.isSelfClosing?" ":"";let s=r.prev?.kind==="comment"&&Ai(r.prev.value),o=typeof s=="boolean"?()=>s:Array.isArray(s)?d=>s.includes(d.rawName):()=>!1,u=["attrs","startTagComments"].filter(d=>Ve(r[d])),l=u.flatMap(d=>e.map(({node:v})=>({loc:Z(v),printed:v.kind==="attribute"&&o(v)?D(t.originalText.slice(Z(v),je(v))):n()}),d));u.length>1&&l.sort((d,v)=>d.loc-v.loc);let c=r.kind==="element"&&r.fullName==="script"&&a.length===1&&a[0].fullName==="src"&&r.children.length===0&&i.length===0,f=i.some(d=>d.type==="single"),g=f||t.singleAttributePerLine&&a.length>1&&!ie(r,t)?_:S,p=[L([c?" ":f?_:S,G(g,l.map(({printed:d})=>d))])];return r.firstChild&&Xe(r.firstChild)||r.isSelfClosing&&xe(r.parent)||c?p.push(r.isSelfClosing?" ":""):p.push(t.bracketSameLine?r.isSelfClosing?" ":"":r.isSelfClosing?S:w),p}function Ti(e){return e.firstChild&&Xe(e.firstChild)?"":Tt(e)}function nt(e,t,n){let{node:r}=e;return[ve(r,t),yi(e,t,n),r.isSelfClosing?"":Ti(r)]}function ve(e,t){return e.prev&&Ge(e.prev)?"":[j(e,t),yt(e,t)]}function j(e,t){return Xe(e)?Tt(e.parent):I(e)?Te(e.prev,t):""}var Rt="<!doctype";function yt(e,t){switch(e.kind){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${e.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":{if(e.value==="html"){let{filepath:r}=t;if(r&&/\.html?$/.test(r))return Rt}let n=Z(e);return t.originalText.slice(n,n+Rt.length)}case"angularIcuExpression":return"{";case"element":if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function Tt(e){switch(e.kind){case"ieConditionalComment":return"]>";case"element":if(e.condition)return"><!--<![endif]-->";default:return">"}}function xi(e,t){if(!e.endSourceSpan)return"";let n=e.startSourceSpan.end.offset;e.firstChild&&Xe(e.firstChild)&&(n-=Tt(e).length);let r=e.endSourceSpan.start.offset;return e.lastChild&&ee(e.lastChild)?r+=At(e,t).length:xe(e)&&(r-=Te(e.lastChild,t).length),t.originalText.slice(n,r)}var Wn=xi,Di=new Set(["if","else if","for","switch","case"]);function Bi(e,t){let{node:n}=e;switch(n.kind){case"element":if(q(n,t)||n.kind==="interpolation")return;if(!n.isSelfClosing&&Et(n,t)){let r=Pt(n,t);return r?async(a,i)=>{let s=Wn(n,t),o=/^\s*$/.test(s),u="";return o||(u=await a(Tn(s),{parser:r,__embeddedInHtml:!0}),o=u===""),[j(n,t),b(nt(e,t,i)),o?"":_,u,o?"":_,tt(n,t),$(n,t)]}:void 0}break;case"text":if(q(n.parent,t)){let r=Pt(n.parent,t);if(r)return async a=>{let i=r==="markdown"?T.dedentString(n.value.replace(/^[^\S\n]*\n/,"")):n.value,s={parser:r,__embeddedInHtml:!0};if(t.parser==="html"&&r==="babel"){let o="script",{attrMap:u}=n.parent;u&&(u.type==="module"||(u.type==="text/babel"||u.type==="text/jsx")&&u["data-type"]==="module")&&(o="module"),s.__babelSourceType=o}return[re,j(n,t),await a(i,s),$(n,t)]}}else if(n.parent.kind==="interpolation")return async r=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?a.parser="__ng_interpolation":t.parser==="vue"?a.parser=se(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[L([S,await r(n.value,a)]),n.parent.next&&I(n.parent.next)?" ":S]};break;case"attribute":return bi(e,t);case"angularControlFlowBlockParameters":return Di.has(e.parent.name)?Or:void 0;case"angularLetDeclarationInitializer":return r=>B(n.value,r,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}var Li=Bi,ce=null;function Ce(e){if(ce!==null&&typeof ce.property){let t=ce;return ce=Ce.prototype=null,t}return ce=Ce.prototype=e??Object.create(null),new Ce}var Ni=10;for(let e=0;e<=Ni;e++)Ce();function Fi(e){return Ce(e)}function Ii(e,t="type"){Fi(e);function n(r){let a=r[t],i=e[a];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:r});return i}return n}var qi=Ii,pe=[["children"]],Pi={root:pe[0],element:["attrs","startTagComments","children"],ieConditionalComment:pe[0],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:pe[0],text:pe[0],docType:[],comment:[],attribute:[],startTagComment:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:pe[0],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},Mi=qi(Pi,"kind"),Oi=Mi,Ri=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Hi=new Set(["if","else if","for","switch","case"]);function $n(e,t,n){if(e.kind==="text"||e.kind==="comment")return null;if(e.kind==="yaml"&&delete t.value,e.kind==="attribute"){let{fullName:r,value:a}=e;r==="style"||r==="class"||r==="srcset"&&(n.fullName==="img"||n.fullName==="source")||r==="allow"&&n.fullName==="iframe"||r.startsWith("on")||r.startsWith("@")||r.startsWith(":")||r.startsWith(".")||r.startsWith("#")||r.startsWith("v-")||r==="vars"&&n.fullName==="style"||(r==="setup"||r==="generic")&&n.fullName==="script"||r==="slot-scope"||r.startsWith("(")||r.startsWith("[")||r.startsWith("*")||r.startsWith("bind")||r.startsWith("i18n")||r.startsWith("on-")||r.startsWith("ng-")||a?.includes("{{")?delete t.value:a&&(t.value=A(0,a,/'|"|'/g,'"'))}if(e.kind==="docType"&&(t.value=A(0,e.value.toLowerCase(),/\s+/g," ")),e.kind==="angularControlFlowBlock"&&e.parameters?.children)for(let r of t.parameters.children)Hi.has(e.name)?delete r.expression:r.expression=r.expression.trim();e.kind==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.kind==="angularLetDeclarationInitializer"&&delete t.value,e.kind==="element"&&e.isVoid&&!e.isSelfClosing&&(t.isSelfClosing=!0)}$n.ignoredProperties=Ri;var Ui="format",Vi=/^\s*<!--\s*@(?:noformat|noprettier)\s*-->/,zi=/^\s*<!--\s*@(?:format|prettier)\s*-->/,Wi=e=>zi.test(e),$i=e=>Vi.test(e),ji=e=>`<!-- @${Ui} -->
|
|
15
|
+
|
|
16
|
+
${e}`,Gi=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"])],["boundary",new Set(["error"])]]);function jn(e){let t=je(e);return e.kind==="element"&&!e.endSourceSpan&&Ve(e.children)?Math.max(t,jn(te(0,e.children,-1))):t}function he(e,t,n){let r=e.node;if(We(r)){let a=jn(r);return[j(r,t),D(T.trimEnd(t.originalText.slice(Z(r)+(r.prev&&Ge(r.prev)?yt(r).length:0),a-(r.next&&I(r.next)?Te(r,t).length:0)))),$(r,t)]}return n()}function Ie(e,t){return x(e)&&x(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Ye(t)?_:S:"":Ye(t)?_:w:I(t)&&e.kind==="element"&&e.children.length===1&&e.firstChild.kind==="interpolation"&&e.hasLeadingSpaces||Ge(e)&&(We(t)||t.firstChild||t.isSelfClosing||t.kind==="element"&&t.attrs.length>0)||e.kind==="element"&&e.isSelfClosing&&I(t)?"":t.kind==="comment"&&t.isLeadingSpaceSensitive&&!t.hasLeadingSpaces?w:!t.isLeadingSpaceSensitive||Ye(t)||I(t)&&e.lastChild&&ee(e.lastChild)&&e.lastChild.lastChild&&ee(e.lastChild.lastChild)?_:t.hasLeadingSpaces?S:w}function xt(e,t,n){let{node:r}=e;if(Bn(r))return[re,...e.map(()=>{let i=e.node,s=i.prev?Ie(i.prev,i):"";return[s?[s,Fe(i.prev)?_:""]:"",he(e,t,n)]},"children")];let a=r.children.map(()=>Symbol(""));return e.map(({node:i,index:s})=>{if(x(i)){if(i.prev&&x(i.prev)){let p=Ie(i.prev,i);if(p)return Fe(i.prev)?[_,_,he(e,t,n)]:[p,he(e,t,n)]}return he(e,t,n)}let o=[],u=[],l=[],c=[],f=i.prev?Ie(i.prev,i):"",g=i.next?Ie(i,i.next):"";return f&&(Fe(i.prev)?o.push(_,_):f===_?o.push(_):x(i.prev)?u.push(f):u.push(ke("",w,{groupId:a[s-1]}))),g&&(Fe(i)?x(i.next)&&c.push(_,_):g===_?x(i.next)&&c.push(_):l.push(g)),[...o,b([...u,b([he(e,t,n),...l],{id:a[s]})]),...c]},"children")}function Xi(e,t,n){let{node:r}=e,a=[];Qi(e)&&a.push("} "),a.push("@",r.name);let i=Yi(r);if(r.parameters&&(i||a.push(" "),a.push("(",b(n("parameters")),")")),i)return a.push(";"),a;if(!Ji(r)){a.push(" {");let s=Gn(r);r.children.length>0?(r.firstChild.hasLeadingSpaces=!0,r.lastChild.hasTrailingSpaces=!0,a.push(L([_,xt(e,t,n)])),s&&a.push(_,"}")):s&&a.push("}")}return b(a,{shouldBreak:!0})}function Gn(e){return!(e.next?.kind==="angularControlFlowBlock"&&Gi.get(e.name)?.has(e.next.name))}var Ki=e=>e?.kind==="angularControlFlowBlock"&&(e.name==="case"||e.name==="default"),Yi=e=>e?.kind==="angularControlFlowBlock"&&e.name==="default never";function Ji(e){return Ki(e)&&e.endSourceSpan&&e.endSourceSpan.start.offset===e.endSourceSpan.end.offset}function Qi(e){let{previous:t}=e;return t?.kind==="angularControlFlowBlock"&&!We(t)&&!Gn(t)}function Zi(e,t,n){return[L([w,G([";",S],e.map(n,"children"))]),w]}function es(e,t,n){let{node:r}=e;return[ve(r,t),b([r.switchValue.trim(),", ",r.type,r.cases.length>0?[",",L([S,G(S,e.map(n,"cases"))])]:"",w]),fe(r,t)]}function ts(e,t,n){let{node:r}=e;return[r.value," {",b([L([w,e.map(({node:a,isLast:i})=>{let s=[n()];return a.kind==="text"&&(a.hasLeadingSpaces&&s.unshift(S),a.hasTrailingSpaces&&!i&&s.push(S)),s},"expression")]),w]),"}"]}var Xn=Object.freeze({character:"'",codePoint:39}),Kn=Object.freeze({character:'"',codePoint:34}),ns=Object.freeze({preferred:Xn,alternate:Kn}),rs=Object.freeze({preferred:Kn,alternate:Xn});function as(e,t){let{preferred:n,alternate:r}=t===!0||t==="'"?ns:rs,{length:a}=e,i=0,s=0;for(let o=0;o<a;o++){let u=e.charCodeAt(o);u===n.codePoint?i++:u===r.codePoint&&s++}return(i>s?r:n).character}function is(e,t){let{node:n}=e,{value:r}=n;if(Rn(n,t))return r;r=Mn(r);let a=as(r,'"');return r=a==='"'?A(0,r,'"',"""):A(0,r,"'","'"),[a,D(r),a]}function ss(e,t){let{node:n}=e,r=[n.rawName];return n.value!==null&&r.push("=",is(e,t)),r}function os(e,t,n){let{node:r}=e;if(xn(r,t))return[b(nt(e,t,n)),D(Wn(r,t)),...tt(r,t)];let a=r.children.length===1&&(r.firstChild.kind==="interpolation"||r.firstChild.kind==="angularIcuExpression")&&r.firstChild.isLeadingSpaceSensitive&&!r.firstChild.hasLeadingSpaces&&r.lastChild.isTrailingSpaceSensitive&&!r.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),s=c=>b([b(nt(e,t,n),{id:i}),c,tt(r,t)]);if(r.children.length===0)return s(r.hasDanglingSpaces&&r.isDanglingSpaceSensitive?S:"");let o=c=>a?yr(c,{groupId:i}):(q(r,t)||$e(r,t))&&r.parent.kind==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?c:L(c),u=()=>a?ke(w,"",{groupId:i}):r.firstChild.hasLeadingSpaces&&r.firstChild.isLeadingSpaceSensitive?S:r.firstChild.kind==="text"&&r.isWhitespaceSensitive&&r.isIndentationSensitive?Ar(w):w,l=()=>(r.next?I(r.next):xe(r.parent))?r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?" ":"":W(r)&&ee(r.lastChild)?"":a?ke(w,"",{groupId:i}):r.lastChild.hasTrailingSpaces&&r.lastChild.isTrailingSpaceSensitive?S:(r.lastChild.kind==="comment"||r.lastChild.kind==="text"&&r.isWhitespaceSensitive&&r.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(r.lastChild.value)?"":w;return s([_a(r)?re:"",o([u(),xt(e,t,n)]),l()])}function us(e){let{node:{value:t,type:n}}=e;return n==="single"?`//${t.trimEnd()}`:["/*",D(t),"*/"]}function ls(e){let{value:t}=e;return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?D(t):D(T.dedentString(Tn(t)),_):G(S,T.split(t))}function cs(e,t){let{node:n}=e;if(n.parent.kind==="interpolation"){let{value:s}=n,o=/\n[^\S\n]*$/,u=o.test(s);u&&(s=s.replace(o,""));let l=[D(s)];return u&&(n.parent.next&&I(n.parent.next)?l.push(re):l.push(_)),l}let r=ls(n),a=j(n,t),i=$(n,t);return a&&(r[0]=[a,r[0]]),i&&r.push([r.pop(),i]),bn(r)}var ps=(function(e){return e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA",e})({});function oe(e,t=!0){if(e[0]!=":")return[null,e];let n=e.indexOf(":",1);if(n===-1){if(t)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,n),e.slice(n+1)]}function Ht(e){return oe(e)[1]==="ng-container"}function Ut(e){return oe(e)[1]==="ng-content"}function Oe(e){return e===null?null:oe(e)[0]}function _e(e,t){return e?`:${e}:${t}`:t}var Re,hs="math",rt=()=>Object.create(null);function ds(){return Re||(Re=rt(),M(1,void 0,[["iframe",["srcdoc"]],["*",["innerHTML","outerHTML"]]]),M(2,void 0,[["*",["style"]]]),M(4,void 0,[["*",["formAction"]],["area",["href"]],["a",["href","xlink:href"]],["form",["action"]],["img",["src"]],["video",["src"]]]),M(4,hs,[["*",["href","xlink:href"]]]),M(5,void 0,[["base",["href"]],["embed",["src"]],["frame",["src"]],["iframe",["src"]],["link",["href"]],["object",["codebase","data"]]]),M(4,"svg",[["a",["href","xlink:href"]]]),M(6,"svg",[["animate",["attributeName","values","to","from"]],["set",["to","attributeName"]],["animateMotion",["attributeName"]],["animateTransform",["attributeName"]]]),M(6,void 0,[["unknown",["attributeName","values","to","from","sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]],["iframe",["sandbox","allow","allowFullscreen","referrerPolicy","csp","fetchPriority","credentialless"]]]),Re)}function M(e,t,n){let r=t??"";for(let[i,s]of n){let o=i.toLowerCase();for(let u of s){var a;let l=u.toLowerCase(),c=(a=Re)[l]??(a[l]=rt()),f=c[r]??(c[r]=rt());f[o]=e}}}function ms(e,t,n){let r=ds()[t.toLowerCase()];if(!r)return 0;let a=e.toLowerCase(),i;if(n){let s=r[n];s&&(i=s[a]??s["*"])}if(i===void 0){let s=r[""];s&&(i=s[a]??s["*"])}if(i===void 0&&(!n||n==="")){let s=r.svg;s&&(i=s[a])}return i??0}var Vt={name:"custom-elements"},zt={name:"no-errors-schema"},gs=/-+([a-z0-9])/g;function fs(e){return e.replace(gs,(...t)=>t[1].toUpperCase())}var vs=class{},Cs="boolean",_s="number",Ss="string",ks="object";function qe(e){let t=e.toLowerCase(),[n,r]=oe(t,!1);return n==="svg"||n==="math"?`:${n}:${r}`:r}var bs=["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","geolocation^[HTMLElement]|accuracymode,!autolocate,*location,*promptaction,*promptdismiss,*validationstatuschange,!watch","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,!credentialless,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","selectedcontent^[HTMLElement]|","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","search^[HTMLELement]|","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],Yn=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex","aria-activedescendant":"ariaActiveDescendantElement","aria-atomic":"ariaAtomic","aria-autocomplete":"ariaAutoComplete","aria-busy":"ariaBusy","aria-checked":"ariaChecked","aria-colcount":"ariaColCount","aria-colindex":"ariaColIndex","aria-colindextext":"ariaColIndexText","aria-colspan":"ariaColSpan","aria-controls":"ariaControlsElements","aria-current":"ariaCurrent","aria-describedby":"ariaDescribedByElements","aria-description":"ariaDescription","aria-details":"ariaDetailsElements","aria-disabled":"ariaDisabled","aria-errormessage":"ariaErrorMessageElements","aria-expanded":"ariaExpanded","aria-flowto":"ariaFlowToElements","aria-haspopup":"ariaHasPopup","aria-hidden":"ariaHidden","aria-invalid":"ariaInvalid","aria-keyshortcuts":"ariaKeyShortcuts","aria-label":"ariaLabel","aria-labelledby":"ariaLabelledByElements","aria-level":"ariaLevel","aria-live":"ariaLive","aria-modal":"ariaModal","aria-multiline":"ariaMultiLine","aria-multiselectable":"ariaMultiSelectable","aria-orientation":"ariaOrientation","aria-owns":"ariaOwnsElements","aria-placeholder":"ariaPlaceholder","aria-posinset":"ariaPosInSet","aria-pressed":"ariaPressed","aria-readonly":"ariaReadOnly","aria-required":"ariaRequired","aria-roledescription":"ariaRoleDescription","aria-rowcount":"ariaRowCount","aria-rowindex":"ariaRowIndex","aria-rowindextext":"ariaRowIndexText","aria-rowspan":"ariaRowSpan","aria-selected":"ariaSelected","aria-setsize":"ariaSetSize","aria-sort":"ariaSort","aria-valuemax":"ariaValueMax","aria-valuemin":"ariaValueMin","aria-valuenow":"ariaValueNow","aria-valuetext":"ariaValueText"})),ws=Array.from(Yn).reduce((e,[t,n])=>(e.set(t,n),e),new Map),Es=class extends vs{_schema=new Map;_eventSchema=new Map;constructor(){super(),bs.forEach(e=>{let t=new Map,n=new Set,[r,a]=e.split("|"),i=a.split(","),[s,o]=r.split("^");s.split(",").forEach(l=>{this._schema.set(l.toLowerCase(),t),this._eventSchema.set(l.toLowerCase(),n)});let u=o&&this._schema.get(o.toLowerCase());if(u){for(let[l,c]of u)t.set(l,c);for(let l of this._eventSchema.get(o.toLowerCase()))n.add(l)}i.forEach(l=>{if(l.length>0)switch(l[0]){case"*":n.add(l.substring(1));break;case"!":t.set(l.substring(1),Cs);break;case"#":t.set(l.substring(1),_s);break;case"%":t.set(l.substring(1),ks);break;default:t.set(l,Ss)}})})}hasProperty(e,t,n){if(n.some(a=>a.name===zt.name))return!0;let r=qe(e);if(r.includes("-")){if(Ht(r)||Ut(r))return!1;if(n.some(a=>a.name===Vt.name))return!0}return(this._schema.get(r)||this._schema.get("unknown")).has(t)}hasElement(e,t){if(t.some(r=>r.name===zt.name))return!0;let n=qe(e);return n.includes("-")&&(Ht(n)||Ut(n)||t.some(r=>r.name===Vt.name))?!0:this._schema.has(n)}securityContext(e,t,n){n&&(t=this.getMappedPropName(t));let[r,a]=oe(e,!1);return ms(a,t,r)}getMappedPropName(e){return Yn.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)})=...
|
|
17
|
+
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=qe(e),n=this._schema.get(t)||this._schema.get("unknown");return Array.from(n.keys()).map(r=>ws.get(r)??r)}allKnownEventsOfElement(e){let t=qe(e);return Array.from(this._eventSchema.get(t)??[])}normalizeAnimationStyleProperty(e){return fs(e)}normalizeAnimationStyleValue(e,t,n){let r="",a=n.toString().trim(),i=null;if(As(e)&&n!==0&&n!=="0")if(typeof n=="number")r="px";else{let s=n.match(/^[+-]?[\d\.]+([a-z]*)$/);s&&s[1].length==0&&(i=`Please provide a CSS unit value for ${t}:${n}`)}return{error:i,value:a+r}}};function As(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 m=class{closedByChildren={};contentType;closedByParent=!1;implicitNamespacePrefix;isVoid;ignoreFirstLf;canSelfClose;preventNamespaceInheritance;constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:n=2,closedByParent:r=!1,isVoid:a=!1,ignoreFirstLf:i=!1,preventNamespaceInheritance:s=!1,canSelfClose:o=!1}={}){e&&e.length>0&&e.forEach(u=>this.closedByChildren[u]=!0),this.isVoid=a,this.closedByParent=r||a,this.implicitNamespacePrefix=t||null,this.contentType=n,this.ignoreFirstLf=i,this.preventNamespaceInheritance=s,this.canSelfClose=o??a}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}},Wt,de;function at(e){return de||(Wt=new m({canSelfClose:!0}),de=Object.assign(Object.create(null),{base:new m({isVoid:!0}),meta:new m({isVoid:!0}),area:new m({isVoid:!0}),embed:new m({isVoid:!0}),link:new m({isVoid:!0}),img:new m({isVoid:!0}),input:new m({isVoid:!0}),param:new m({isVoid:!0}),hr:new m({isVoid:!0}),br:new m({isVoid:!0}),source:new m({isVoid:!0}),track:new m({isVoid:!0}),wbr:new m({isVoid:!0}),p:new m({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new m({closedByChildren:["tbody","tfoot"]}),tbody:new m({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new m({closedByChildren:["tbody"],closedByParent:!0}),tr:new m({closedByChildren:["tr"],closedByParent:!0}),td:new m({closedByChildren:["td","th"],closedByParent:!0}),th:new m({closedByChildren:["td","th"],closedByParent:!0}),col:new m({isVoid:!0}),svg:new m({implicitNamespacePrefix:"svg"}),foreignObject:new m({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new m({implicitNamespacePrefix:"math"}),li:new m({closedByChildren:["li"],closedByParent:!0}),dt:new m({closedByChildren:["dt","dd"]}),dd:new m({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new m({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new m({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new m({closedByChildren:["optgroup"],closedByParent:!0}),option:new m({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new m({ignoreFirstLf:!0}),listing:new m({ignoreFirstLf:!0}),style:new m({contentType:0}),script:new m({contentType:0}),title:new m({contentType:{default:1,svg:2}}),textarea:new m({contentType:1,ignoreFirstLf:!0})}),new Es().allKnownElementNames().forEach(t=>{!de[t]&&Oe(t)===null&&(de[t]=new m({canSelfClose:!1}))})),de[e]??Wt}var it=class Jn{file;offset;line;col;constructor(t,n,r,a){this.file=t,this.offset=n,this.line=r,this.col=a}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let n=this.file.content,r=n.length,a=this.offset,i=this.line,s=this.col;for(;a>0&&t<0;)if(a--,t++,n.charCodeAt(a)==10){i--;let o=n.substring(0,a-1).lastIndexOf(`
|
|
18
|
+
`);s=o>0?a-o:a}else s--;for(;a<r&&t>0;){let o=n.charCodeAt(a);a++,t--,o==10?(i++,s=0):s++}return new Jn(this.file,a,i,s)}getContext(t,n){let r=this.file.content,a=this.offset;if(a!=null){a>r.length-1&&(a=r.length-1);let i=a,s=0,o=0;for(;s<t&&a>0&&(a--,s++,!(r[a]==`
|
|
19
|
+
`&&++o==n)););for(s=0,o=0;s<t&&i<r.length-1&&(i++,s++,!(r[i]==`
|
|
20
|
+
`&&++o==n)););return{before:r.substring(a,this.offset),after:r.substring(this.offset,i+1)}}return null}},Qn=class{content;url;constructor(e,t){this.content=e,this.url=t}},h=class{start;end;fullStart;details;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)}},ys=(function(e){return e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR",e})({}),J=class extends Error{span;msg;level;relatedError;constructor(e,t,n=1,r){super(t),this.span=e,this.msg=t,this.level=n,this.relatedError=r,Object.setPrototypeOf(this,new.target.prototype)}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${ys[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},X=class{sourceSpan;i18n;constructor(e,t){this.sourceSpan=e,this.i18n=t}},Ts=class extends X{value;tokens;constructor(e,t,n,r){super(t,r),this.value=e,this.tokens=n}visit(e,t){return e.visitText(this,t)}kind="text"},xs=class extends X{value;tokens;constructor(e,t,n,r){super(t,r),this.value=e,this.tokens=n}visit(e,t){return e.visitCdata(this,t)}kind="cdata"},Ds=class extends X{switchValue;type;cases;switchValueSourceSpan;constructor(e,t,n,r,a,i){super(r,i),this.switchValue=e,this.type=t,this.cases=n,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}kind="expansion"},Bs=class{value;expression;sourceSpan;valueSourceSpan;expSourceSpan;constructor(e,t,n,r,a){this.value=e,this.expression=t,this.sourceSpan=n,this.valueSourceSpan=r,this.expSourceSpan=a}visit(e,t){return e.visitExpansionCase(this,t)}kind="expansionCase"},Ls=class extends X{name;value;keySpan;valueSpan;valueTokens;constructor(e,t,n,r,a,i,s){super(n,s),this.name=e,this.value=t,this.keySpan=r,this.valueSpan=a,this.valueTokens=i}visit(e,t){return e.visitAttribute(this,t)}kind="attribute";get nameSpan(){return this.keySpan}},Ns=class{value;type;sourceSpan;constructor(e,t,n){this.value=e,this.type=t,this.sourceSpan=n}visit(e,t){return e.visitStartTagComment?e.visitStartTagComment(this,t):void 0}kind="startTagComment"},H=class extends X{name;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;nameSpan;isVoid;comments;constructor(e,t,n,r,a,i,s,o=null,u=null,l,c,f=[]){super(i,c),this.name=e,this.attrs=t,this.directives=n,this.children=r,this.isSelfClosing=a,this.startSourceSpan=s,this.endSourceSpan=o,this.nameSpan=u,this.isVoid=l,this.comments=f}visit(e,t){return e.visitElement(this,t)}kind="element"},Fs=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitComment(this,t)}kind="comment"},Is=class{value;sourceSpan;constructor(e,t){this.value=e,this.sourceSpan=t}visit(e,t){return e.visitDocType(this,t)}kind="docType"},Y=class extends X{name;parameters;children;nameSpan;startSourceSpan;endSourceSpan;constructor(e,t,n,r,a,i,s=null,o){super(r,o),this.name=e,this.parameters=t,this.children=n,this.nameSpan=a,this.startSourceSpan=i,this.endSourceSpan=s}visit(e,t){return e.visitBlock(this,t)}kind="block"},F=class extends X{componentName;tagName;fullName;attrs;directives;children;isSelfClosing;startSourceSpan;endSourceSpan;comments;constructor(e,t,n,r,a,i,s,o,u,l=null,c,f=[]){super(o,c),this.componentName=e,this.tagName=t,this.fullName=n,this.attrs=r,this.directives=a,this.children=i,this.isSelfClosing=s,this.startSourceSpan=u,this.endSourceSpan=l,this.comments=f}visit(e,t){return e.visitComponent(this,t)}kind="component"},qs=class{name;attrs;sourceSpan;startSourceSpan;endSourceSpan;constructor(e,t,n,r,a=null){this.name=e,this.attrs=t,this.sourceSpan=n,this.startSourceSpan=r,this.endSourceSpan=a}visit(e,t){return e.visitDirective(this,t)}kind="directive"},$t=class{expression;sourceSpan;constructor(e,t){this.expression=e,this.sourceSpan=t}visit(e,t){return e.visitBlockParameter(this,t)}kind="blockParameter";startSourceSpan=null;endSourceSpan=null},jt=class{name;value;sourceSpan;nameSpan;valueSpan;constructor(e,t,n,r,a){this.name=e,this.value=t,this.sourceSpan=n,this.nameSpan=r,this.valueSpan=a}visit(e,t){return e.visitLetDeclaration(this,t)}kind="letDeclaration";startSourceSpan=null;endSourceSpan=null};function Zn(e,t,n=null){let r=[],a=e.visit?i=>e.visit(i,n)||i.visit(e,n):i=>i.visit(e,n);return t.forEach(i=>{let s=a(i);s&&r.push(s)}),r}var Ps=class{constructor(){}visitElement(e,t){this.visitChildren(t,n=>{n(e.attrs),n(e.directives),n(e.comments),n(e.children)})}visitAttribute(e,t){}visitStartTagComment(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,n=>{n(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,n=>{n(e.parameters),n(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitComponent(e,t){this.visitChildren(t,n=>{n(e.attrs),n(e.comments),n(e.children)})}visitDirective(e,t){this.visitChildren(t,n=>{n(e.attrs)})}visitChildren(e,t){let n=[],r=this;function a(i){i&&n.push(Zn(r,i,e))}return t(a),Array.prototype.concat.apply([],n)}},Ms=(function(e){return e[e.TAG_OPEN_START=0]="TAG_OPEN_START",e[e.TAG_OPEN_END=1]="TAG_OPEN_END",e[e.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",e[e.TAG_CLOSE=3]="TAG_CLOSE",e[e.INCOMPLETE_TAG_OPEN=4]="INCOMPLETE_TAG_OPEN",e[e.TEXT=5]="TEXT",e[e.ESCAPABLE_RAW_TEXT=6]="ESCAPABLE_RAW_TEXT",e[e.RAW_TEXT=7]="RAW_TEXT",e[e.INTERPOLATION=8]="INTERPOLATION",e[e.ENCODED_ENTITY=9]="ENCODED_ENTITY",e[e.COMMENT_START=10]="COMMENT_START",e[e.COMMENT_END=11]="COMMENT_END",e[e.IN_ELEMENT_COMMENT=12]="IN_ELEMENT_COMMENT",e[e.CDATA_START=13]="CDATA_START",e[e.CDATA_END=14]="CDATA_END",e[e.ATTR_NAME=15]="ATTR_NAME",e[e.ATTR_QUOTE=16]="ATTR_QUOTE",e[e.ATTR_VALUE_TEXT=17]="ATTR_VALUE_TEXT",e[e.ATTR_VALUE_INTERPOLATION=18]="ATTR_VALUE_INTERPOLATION",e[e.DOC_TYPE_START=19]="DOC_TYPE_START",e[e.DOC_TYPE_END=20]="DOC_TYPE_END",e[e.EXPANSION_FORM_START=21]="EXPANSION_FORM_START",e[e.EXPANSION_CASE_VALUE=22]="EXPANSION_CASE_VALUE",e[e.EXPANSION_CASE_EXP_START=23]="EXPANSION_CASE_EXP_START",e[e.EXPANSION_CASE_EXP_END=24]="EXPANSION_CASE_EXP_END",e[e.EXPANSION_FORM_END=25]="EXPANSION_FORM_END",e[e.BLOCK_OPEN_START=26]="BLOCK_OPEN_START",e[e.BLOCK_OPEN_END=27]="BLOCK_OPEN_END",e[e.BLOCK_CLOSE=28]="BLOCK_CLOSE",e[e.BLOCK_PARAMETER=29]="BLOCK_PARAMETER",e[e.INCOMPLETE_BLOCK_OPEN=30]="INCOMPLETE_BLOCK_OPEN",e[e.LET_START=31]="LET_START",e[e.LET_VALUE=32]="LET_VALUE",e[e.LET_END=33]="LET_END",e[e.INCOMPLETE_LET=34]="INCOMPLETE_LET",e[e.COMPONENT_OPEN_START=35]="COMPONENT_OPEN_START",e[e.COMPONENT_OPEN_END=36]="COMPONENT_OPEN_END",e[e.COMPONENT_OPEN_END_VOID=37]="COMPONENT_OPEN_END_VOID",e[e.COMPONENT_CLOSE=38]="COMPONENT_CLOSE",e[e.INCOMPLETE_COMPONENT_OPEN=39]="INCOMPLETE_COMPONENT_OPEN",e[e.DIRECTIVE_NAME=40]="DIRECTIVE_NAME",e[e.DIRECTIVE_OPEN=41]="DIRECTIVE_OPEN",e[e.DIRECTIVE_CLOSE=42]="DIRECTIVE_CLOSE",e[e.PROCESSING_INSTRUCTION=43]="PROCESSING_INSTRUCTION",e[e.EOF=44]="EOF",e})({});function He(e){return e>=9&&e<=32||e==160}function De(e){return 48<=e&&e<=57}function be(e){return e>=97&&e<=122||e>=65&&e<=90}function Os(e){return e>=97&&e<=102||e>=65&&e<=70||De(e)}function Se(e){return e===10||e===13}function Gt(e){return 48<=e&&e<=55}function Qe(e){return e===39||e===34||e===96}var we={AElig:"\xC6",AMP:"&",amp:"&",Aacute:"\xC1",Abreve:"\u0102",Acirc:"\xC2",Acy:"\u0410",Afr:"\u{1D504}",Agrave:"\xC0",Alpha:"\u0391",Amacr:"\u0100",And:"\u2A53",Aogon:"\u0104",Aopf:"\u{1D538}",ApplyFunction:"\u2061",af:"\u2061",Aring:"\xC5",angst:"\xC5",Ascr:"\u{1D49C}",Assign:"\u2254",colone:"\u2254",coloneq:"\u2254",Atilde:"\xC3",Auml:"\xC4",Backslash:"\u2216",setminus:"\u2216",setmn:"\u2216",smallsetminus:"\u2216",ssetmn:"\u2216",Barv:"\u2AE7",Barwed:"\u2306",doublebarwedge:"\u2306",Bcy:"\u0411",Because:"\u2235",becaus:"\u2235",because:"\u2235",Bernoullis:"\u212C",Bscr:"\u212C",bernou:"\u212C",Beta:"\u0392",Bfr:"\u{1D505}",Bopf:"\u{1D539}",Breve:"\u02D8",breve:"\u02D8",Bumpeq:"\u224E",HumpDownHump:"\u224E",bump:"\u224E",CHcy:"\u0427",COPY:"\xA9",copy:"\xA9",Cacute:"\u0106",Cap:"\u22D2",CapitalDifferentialD:"\u2145",DD:"\u2145",Cayleys:"\u212D",Cfr:"\u212D",Ccaron:"\u010C",Ccedil:"\xC7",Ccirc:"\u0108",Cconint:"\u2230",Cdot:"\u010A",Cedilla:"\xB8",cedil:"\xB8",CenterDot:"\xB7",centerdot:"\xB7",middot:"\xB7",Chi:"\u03A7",CircleDot:"\u2299",odot:"\u2299",CircleMinus:"\u2296",ominus:"\u2296",CirclePlus:"\u2295",oplus:"\u2295",CircleTimes:"\u2297",otimes:"\u2297",ClockwiseContourIntegral:"\u2232",cwconint:"\u2232",CloseCurlyDoubleQuote:"\u201D",rdquo:"\u201D",rdquor:"\u201D",CloseCurlyQuote:"\u2019",rsquo:"\u2019",rsquor:"\u2019",Colon:"\u2237",Proportion:"\u2237",Colone:"\u2A74",Congruent:"\u2261",equiv:"\u2261",Conint:"\u222F",DoubleContourIntegral:"\u222F",ContourIntegral:"\u222E",conint:"\u222E",oint:"\u222E",Copf:"\u2102",complexes:"\u2102",Coproduct:"\u2210",coprod:"\u2210",CounterClockwiseContourIntegral:"\u2233",awconint:"\u2233",Cross:"\u2A2F",Cscr:"\u{1D49E}",Cup:"\u22D3",CupCap:"\u224D",asympeq:"\u224D",DDotrahd:"\u2911",DJcy:"\u0402",DScy:"\u0405",DZcy:"\u040F",Dagger:"\u2021",ddagger:"\u2021",Darr:"\u21A1",Dashv:"\u2AE4",DoubleLeftTee:"\u2AE4",Dcaron:"\u010E",Dcy:"\u0414",Del:"\u2207",nabla:"\u2207",Delta:"\u0394",Dfr:"\u{1D507}",DiacriticalAcute:"\xB4",acute:"\xB4",DiacriticalDot:"\u02D9",dot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",dblac:"\u02DD",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"\u02DC",tilde:"\u02DC",Diamond:"\u22C4",diam:"\u22C4",diamond:"\u22C4",DifferentialD:"\u2146",dd:"\u2146",Dopf:"\u{1D53B}",Dot:"\xA8",DoubleDot:"\xA8",die:"\xA8",uml:"\xA8",DotDot:"\u20DC",DotEqual:"\u2250",doteq:"\u2250",esdot:"\u2250",DoubleDownArrow:"\u21D3",Downarrow:"\u21D3",dArr:"\u21D3",DoubleLeftArrow:"\u21D0",Leftarrow:"\u21D0",lArr:"\u21D0",DoubleLeftRightArrow:"\u21D4",Leftrightarrow:"\u21D4",hArr:"\u21D4",iff:"\u21D4",DoubleLongLeftArrow:"\u27F8",Longleftarrow:"\u27F8",xlArr:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",Longleftrightarrow:"\u27FA",xhArr:"\u27FA",DoubleLongRightArrow:"\u27F9",Longrightarrow:"\u27F9",xrArr:"\u27F9",DoubleRightArrow:"\u21D2",Implies:"\u21D2",Rightarrow:"\u21D2",rArr:"\u21D2",DoubleRightTee:"\u22A8",vDash:"\u22A8",DoubleUpArrow:"\u21D1",Uparrow:"\u21D1",uArr:"\u21D1",DoubleUpDownArrow:"\u21D5",Updownarrow:"\u21D5",vArr:"\u21D5",DoubleVerticalBar:"\u2225",par:"\u2225",parallel:"\u2225",shortparallel:"\u2225",spar:"\u2225",DownArrow:"\u2193",ShortDownArrow:"\u2193",darr:"\u2193",downarrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21F5",duarr:"\u21F5",DownBreve:"\u0311",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVector:"\u21BD",leftharpoondown:"\u21BD",lhard:"\u21BD",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295F",DownRightVector:"\u21C1",rhard:"\u21C1",rightharpoondown:"\u21C1",DownRightVectorBar:"\u2957",DownTee:"\u22A4",top:"\u22A4",DownTeeArrow:"\u21A7",mapstodown:"\u21A7",Dscr:"\u{1D49F}",Dstrok:"\u0110",ENG:"\u014A",ETH:"\xD0",Eacute:"\xC9",Ecaron:"\u011A",Ecirc:"\xCA",Ecy:"\u042D",Edot:"\u0116",Efr:"\u{1D508}",Egrave:"\xC8",Element:"\u2208",in:"\u2208",isin:"\u2208",isinv:"\u2208",Emacr:"\u0112",EmptySmallSquare:"\u25FB",EmptyVerySmallSquare:"\u25AB",Eogon:"\u0118",Eopf:"\u{1D53C}",Epsilon:"\u0395",Equal:"\u2A75",EqualTilde:"\u2242",eqsim:"\u2242",esim:"\u2242",Equilibrium:"\u21CC",rightleftharpoons:"\u21CC",rlhar:"\u21CC",Escr:"\u2130",expectation:"\u2130",Esim:"\u2A73",Eta:"\u0397",Euml:"\xCB",Exists:"\u2203",exist:"\u2203",ExponentialE:"\u2147",ee:"\u2147",exponentiale:"\u2147",Fcy:"\u0424",Ffr:"\u{1D509}",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",blacksquare:"\u25AA",squarf:"\u25AA",squf:"\u25AA",Fopf:"\u{1D53D}",ForAll:"\u2200",forall:"\u2200",Fouriertrf:"\u2131",Fscr:"\u2131",GJcy:"\u0403",GT:">",gt:">",Gamma:"\u0393",Gammad:"\u03DC",Gbreve:"\u011E",Gcedil:"\u0122",Gcirc:"\u011C",Gcy:"\u0413",Gdot:"\u0120",Gfr:"\u{1D50A}",Gg:"\u22D9",ggg:"\u22D9",Gopf:"\u{1D53E}",GreaterEqual:"\u2265",ge:"\u2265",geq:"\u2265",GreaterEqualLess:"\u22DB",gel:"\u22DB",gtreqless:"\u22DB",GreaterFullEqual:"\u2267",gE:"\u2267",geqq:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",gl:"\u2277",gtrless:"\u2277",GreaterSlantEqual:"\u2A7E",geqslant:"\u2A7E",ges:"\u2A7E",GreaterTilde:"\u2273",gsim:"\u2273",gtrsim:"\u2273",Gscr:"\u{1D4A2}",Gt:"\u226B",NestedGreaterGreater:"\u226B",gg:"\u226B",HARDcy:"\u042A",Hacek:"\u02C7",caron:"\u02C7",Hat:"^",Hcirc:"\u0124",Hfr:"\u210C",Poincareplane:"\u210C",HilbertSpace:"\u210B",Hscr:"\u210B",hamilt:"\u210B",Hopf:"\u210D",quaternions:"\u210D",HorizontalLine:"\u2500",boxh:"\u2500",Hstrok:"\u0126",HumpEqual:"\u224F",bumpe:"\u224F",bumpeq:"\u224F",IEcy:"\u0415",IJlig:"\u0132",IOcy:"\u0401",Iacute:"\xCD",Icirc:"\xCE",Icy:"\u0418",Idot:"\u0130",Ifr:"\u2111",Im:"\u2111",image:"\u2111",imagpart:"\u2111",Igrave:"\xCC",Imacr:"\u012A",ImaginaryI:"\u2148",ii:"\u2148",Int:"\u222C",Integral:"\u222B",int:"\u222B",Intersection:"\u22C2",bigcap:"\u22C2",xcap:"\u22C2",InvisibleComma:"\u2063",ic:"\u2063",InvisibleTimes:"\u2062",it:"\u2062",Iogon:"\u012E",Iopf:"\u{1D540}",Iota:"\u0399",Iscr:"\u2110",imagline:"\u2110",Itilde:"\u0128",Iukcy:"\u0406",Iuml:"\xCF",Jcirc:"\u0134",Jcy:"\u0419",Jfr:"\u{1D50D}",Jopf:"\u{1D541}",Jscr:"\u{1D4A5}",Jsercy:"\u0408",Jukcy:"\u0404",KHcy:"\u0425",KJcy:"\u040C",Kappa:"\u039A",Kcedil:"\u0136",Kcy:"\u041A",Kfr:"\u{1D50E}",Kopf:"\u{1D542}",Kscr:"\u{1D4A6}",LJcy:"\u0409",LT:"<",lt:"<",Lacute:"\u0139",Lambda:"\u039B",Lang:"\u27EA",Laplacetrf:"\u2112",Lscr:"\u2112",lagran:"\u2112",Larr:"\u219E",twoheadleftarrow:"\u219E",Lcaron:"\u013D",Lcedil:"\u013B",Lcy:"\u041B",LeftAngleBracket:"\u27E8",lang:"\u27E8",langle:"\u27E8",LeftArrow:"\u2190",ShortLeftArrow:"\u2190",larr:"\u2190",leftarrow:"\u2190",slarr:"\u2190",LeftArrowBar:"\u21E4",larrb:"\u21E4",LeftArrowRightArrow:"\u21C6",leftrightarrows:"\u21C6",lrarr:"\u21C6",LeftCeiling:"\u2308",lceil:"\u2308",LeftDoubleBracket:"\u27E6",lobrk:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21C3",dharl:"\u21C3",downharpoonleft:"\u21C3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230A",lfloor:"\u230A",LeftRightArrow:"\u2194",harr:"\u2194",leftrightarrow:"\u2194",LeftRightVector:"\u294E",LeftTee:"\u22A3",dashv:"\u22A3",LeftTeeArrow:"\u21A4",mapstoleft:"\u21A4",LeftTeeVector:"\u295A",LeftTriangle:"\u22B2",vartriangleleft:"\u22B2",vltri:"\u22B2",LeftTriangleBar:"\u29CF",LeftTriangleEqual:"\u22B4",ltrie:"\u22B4",trianglelefteq:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21BF",uharl:"\u21BF",upharpoonleft:"\u21BF",LeftUpVectorBar:"\u2958",LeftVector:"\u21BC",leftharpoonup:"\u21BC",lharu:"\u21BC",LeftVectorBar:"\u2952",LessEqualGreater:"\u22DA",leg:"\u22DA",lesseqgtr:"\u22DA",LessFullEqual:"\u2266",lE:"\u2266",leqq:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",lg:"\u2276",LessLess:"\u2AA1",LessSlantEqual:"\u2A7D",leqslant:"\u2A7D",les:"\u2A7D",LessTilde:"\u2272",lesssim:"\u2272",lsim:"\u2272",Lfr:"\u{1D50F}",Ll:"\u22D8",Lleftarrow:"\u21DA",lAarr:"\u21DA",Lmidot:"\u013F",LongLeftArrow:"\u27F5",longleftarrow:"\u27F5",xlarr:"\u27F5",LongLeftRightArrow:"\u27F7",longleftrightarrow:"\u27F7",xharr:"\u27F7",LongRightArrow:"\u27F6",longrightarrow:"\u27F6",xrarr:"\u27F6",Lopf:"\u{1D543}",LowerLeftArrow:"\u2199",swarr:"\u2199",swarrow:"\u2199",LowerRightArrow:"\u2198",searr:"\u2198",searrow:"\u2198",Lsh:"\u21B0",lsh:"\u21B0",Lstrok:"\u0141",Lt:"\u226A",NestedLessLess:"\u226A",ll:"\u226A",Map:"\u2905",Mcy:"\u041C",MediumSpace:"\u205F",Mellintrf:"\u2133",Mscr:"\u2133",phmmat:"\u2133",Mfr:"\u{1D510}",MinusPlus:"\u2213",mnplus:"\u2213",mp:"\u2213",Mopf:"\u{1D544}",Mu:"\u039C",NJcy:"\u040A",Nacute:"\u0143",Ncaron:"\u0147",Ncedil:"\u0145",Ncy:"\u041D",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",ZeroWidthSpace:"\u200B",NewLine:`
|
|
21
|
+
`,Nfr:"\u{1D511}",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nbsp:"\xA0",Nopf:"\u2115",naturals:"\u2115",Not:"\u2AEC",NotCongruent:"\u2262",nequiv:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",npar:"\u2226",nparallel:"\u2226",nshortparallel:"\u2226",nspar:"\u2226",NotElement:"\u2209",notin:"\u2209",notinva:"\u2209",NotEqual:"\u2260",ne:"\u2260",NotEqualTilde:"\u2242\u0338",nesim:"\u2242\u0338",NotExists:"\u2204",nexist:"\u2204",nexists:"\u2204",NotGreater:"\u226F",ngt:"\u226F",ngtr:"\u226F",NotGreaterEqual:"\u2271",nge:"\u2271",ngeq:"\u2271",NotGreaterFullEqual:"\u2267\u0338",ngE:"\u2267\u0338",ngeqq:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",nGtv:"\u226B\u0338",NotGreaterLess:"\u2279",ntgl:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",NotGreaterTilde:"\u2275",ngsim:"\u2275",NotHumpDownHump:"\u224E\u0338",nbump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",nbumpe:"\u224F\u0338",NotLeftTriangle:"\u22EA",nltri:"\u22EA",ntriangleleft:"\u22EA",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangleEqual:"\u22EC",nltrie:"\u22EC",ntrianglelefteq:"\u22EC",NotLess:"\u226E",nless:"\u226E",nlt:"\u226E",NotLessEqual:"\u2270",nle:"\u2270",nleq:"\u2270",NotLessGreater:"\u2278",ntlg:"\u2278",NotLessLess:"\u226A\u0338",nLtv:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",NotLessTilde:"\u2274",nlsim:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",NotPrecedes:"\u2280",npr:"\u2280",nprec:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",npre:"\u2AAF\u0338",npreceq:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",nprcue:"\u22E0",NotReverseElement:"\u220C",notni:"\u220C",notniva:"\u220C",NotRightTriangle:"\u22EB",nrtri:"\u22EB",ntriangleright:"\u22EB",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangleEqual:"\u22ED",nrtrie:"\u22ED",ntrianglerighteq:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",nsqsube:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",nsqsupe:"\u22E3",NotSubset:"\u2282\u20D2",nsubset:"\u2282\u20D2",vnsub:"\u2282\u20D2",NotSubsetEqual:"\u2288",nsube:"\u2288",nsubseteq:"\u2288",NotSucceeds:"\u2281",nsc:"\u2281",nsucc:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",nsce:"\u2AB0\u0338",nsucceq:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",nsccue:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",nsupset:"\u2283\u20D2",vnsup:"\u2283\u20D2",NotSupersetEqual:"\u2289",nsupe:"\u2289",nsupseteq:"\u2289",NotTilde:"\u2241",nsim:"\u2241",NotTildeEqual:"\u2244",nsime:"\u2244",nsimeq:"\u2244",NotTildeFullEqual:"\u2247",ncong:"\u2247",NotTildeTilde:"\u2249",nap:"\u2249",napprox:"\u2249",NotVerticalBar:"\u2224",nmid:"\u2224",nshortmid:"\u2224",nsmid:"\u2224",Nscr:"\u{1D4A9}",Ntilde:"\xD1",Nu:"\u039D",OElig:"\u0152",Oacute:"\xD3",Ocirc:"\xD4",Ocy:"\u041E",Odblac:"\u0150",Ofr:"\u{1D512}",Ograve:"\xD2",Omacr:"\u014C",Omega:"\u03A9",ohm:"\u03A9",Omicron:"\u039F",Oopf:"\u{1D546}",OpenCurlyDoubleQuote:"\u201C",ldquo:"\u201C",OpenCurlyQuote:"\u2018",lsquo:"\u2018",Or:"\u2A54",Oscr:"\u{1D4AA}",Oslash:"\xD8",Otilde:"\xD5",Otimes:"\u2A37",Ouml:"\xD6",OverBar:"\u203E",oline:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",tbrk:"\u23B4",OverParenthesis:"\u23DC",PartialD:"\u2202",part:"\u2202",Pcy:"\u041F",Pfr:"\u{1D513}",Phi:"\u03A6",Pi:"\u03A0",PlusMinus:"\xB1",plusmn:"\xB1",pm:"\xB1",Popf:"\u2119",primes:"\u2119",Pr:"\u2ABB",Precedes:"\u227A",pr:"\u227A",prec:"\u227A",PrecedesEqual:"\u2AAF",pre:"\u2AAF",preceq:"\u2AAF",PrecedesSlantEqual:"\u227C",prcue:"\u227C",preccurlyeq:"\u227C",PrecedesTilde:"\u227E",precsim:"\u227E",prsim:"\u227E",Prime:"\u2033",Product:"\u220F",prod:"\u220F",Proportional:"\u221D",prop:"\u221D",propto:"\u221D",varpropto:"\u221D",vprop:"\u221D",Pscr:"\u{1D4AB}",Psi:"\u03A8",QUOT:'"',quot:'"',Qfr:"\u{1D514}",Qopf:"\u211A",rationals:"\u211A",Qscr:"\u{1D4AC}",RBarr:"\u2910",drbkarow:"\u2910",REG:"\xAE",circledR:"\xAE",reg:"\xAE",Racute:"\u0154",Rang:"\u27EB",Rarr:"\u21A0",twoheadrightarrow:"\u21A0",Rarrtl:"\u2916",Rcaron:"\u0158",Rcedil:"\u0156",Rcy:"\u0420",Re:"\u211C",Rfr:"\u211C",real:"\u211C",realpart:"\u211C",ReverseElement:"\u220B",SuchThat:"\u220B",ni:"\u220B",niv:"\u220B",ReverseEquilibrium:"\u21CB",leftrightharpoons:"\u21CB",lrhar:"\u21CB",ReverseUpEquilibrium:"\u296F",duhar:"\u296F",Rho:"\u03A1",RightAngleBracket:"\u27E9",rang:"\u27E9",rangle:"\u27E9",RightArrow:"\u2192",ShortRightArrow:"\u2192",rarr:"\u2192",rightarrow:"\u2192",srarr:"\u2192",RightArrowBar:"\u21E5",rarrb:"\u21E5",RightArrowLeftArrow:"\u21C4",rightleftarrows:"\u21C4",rlarr:"\u21C4",RightCeiling:"\u2309",rceil:"\u2309",RightDoubleBracket:"\u27E7",robrk:"\u27E7",RightDownTeeVector:"\u295D",RightDownVector:"\u21C2",dharr:"\u21C2",downharpoonright:"\u21C2",RightDownVectorBar:"\u2955",RightFloor:"\u230B",rfloor:"\u230B",RightTee:"\u22A2",vdash:"\u22A2",RightTeeArrow:"\u21A6",map:"\u21A6",mapsto:"\u21A6",RightTeeVector:"\u295B",RightTriangle:"\u22B3",vartriangleright:"\u22B3",vrtri:"\u22B3",RightTriangleBar:"\u29D0",RightTriangleEqual:"\u22B5",rtrie:"\u22B5",trianglerighteq:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVector:"\u21BE",uharr:"\u21BE",upharpoonright:"\u21BE",RightUpVectorBar:"\u2954",RightVector:"\u21C0",rharu:"\u21C0",rightharpoonup:"\u21C0",RightVectorBar:"\u2953",Ropf:"\u211D",reals:"\u211D",RoundImplies:"\u2970",Rrightarrow:"\u21DB",rAarr:"\u21DB",Rscr:"\u211B",realine:"\u211B",Rsh:"\u21B1",rsh:"\u21B1",RuleDelayed:"\u29F4",SHCHcy:"\u0429",SHcy:"\u0428",SOFTcy:"\u042C",Sacute:"\u015A",Sc:"\u2ABC",Scaron:"\u0160",Scedil:"\u015E",Scirc:"\u015C",Scy:"\u0421",Sfr:"\u{1D516}",ShortUpArrow:"\u2191",UpArrow:"\u2191",uarr:"\u2191",uparrow:"\u2191",Sigma:"\u03A3",SmallCircle:"\u2218",compfn:"\u2218",Sopf:"\u{1D54A}",Sqrt:"\u221A",radic:"\u221A",Square:"\u25A1",squ:"\u25A1",square:"\u25A1",SquareIntersection:"\u2293",sqcap:"\u2293",SquareSubset:"\u228F",sqsub:"\u228F",sqsubset:"\u228F",SquareSubsetEqual:"\u2291",sqsube:"\u2291",sqsubseteq:"\u2291",SquareSuperset:"\u2290",sqsup:"\u2290",sqsupset:"\u2290",SquareSupersetEqual:"\u2292",sqsupe:"\u2292",sqsupseteq:"\u2292",SquareUnion:"\u2294",sqcup:"\u2294",Sscr:"\u{1D4AE}",Star:"\u22C6",sstarf:"\u22C6",Sub:"\u22D0",Subset:"\u22D0",SubsetEqual:"\u2286",sube:"\u2286",subseteq:"\u2286",Succeeds:"\u227B",sc:"\u227B",succ:"\u227B",SucceedsEqual:"\u2AB0",sce:"\u2AB0",succeq:"\u2AB0",SucceedsSlantEqual:"\u227D",sccue:"\u227D",succcurlyeq:"\u227D",SucceedsTilde:"\u227F",scsim:"\u227F",succsim:"\u227F",Sum:"\u2211",sum:"\u2211",Sup:"\u22D1",Supset:"\u22D1",Superset:"\u2283",sup:"\u2283",supset:"\u2283",SupersetEqual:"\u2287",supe:"\u2287",supseteq:"\u2287",THORN:"\xDE",TRADE:"\u2122",trade:"\u2122",TSHcy:"\u040B",TScy:"\u0426",Tab:" ",Tau:"\u03A4",Tcaron:"\u0164",Tcedil:"\u0162",Tcy:"\u0422",Tfr:"\u{1D517}",Therefore:"\u2234",there4:"\u2234",therefore:"\u2234",Theta:"\u0398",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",Tilde:"\u223C",sim:"\u223C",thicksim:"\u223C",thksim:"\u223C",TildeEqual:"\u2243",sime:"\u2243",simeq:"\u2243",TildeFullEqual:"\u2245",cong:"\u2245",TildeTilde:"\u2248",ap:"\u2248",approx:"\u2248",asymp:"\u2248",thickapprox:"\u2248",thkap:"\u2248",Topf:"\u{1D54B}",TripleDot:"\u20DB",tdot:"\u20DB",Tscr:"\u{1D4AF}",Tstrok:"\u0166",Uacute:"\xDA",Uarr:"\u219F",Uarrocir:"\u2949",Ubrcy:"\u040E",Ubreve:"\u016C",Ucirc:"\xDB",Ucy:"\u0423",Udblac:"\u0170",Ufr:"\u{1D518}",Ugrave:"\xD9",Umacr:"\u016A",UnderBar:"_",lowbar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",bbrk:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",bigcup:"\u22C3",xcup:"\u22C3",UnionPlus:"\u228E",uplus:"\u228E",Uogon:"\u0172",Uopf:"\u{1D54C}",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21C5",udarr:"\u21C5",UpDownArrow:"\u2195",updownarrow:"\u2195",varr:"\u2195",UpEquilibrium:"\u296E",udhar:"\u296E",UpTee:"\u22A5",bot:"\u22A5",bottom:"\u22A5",perp:"\u22A5",UpTeeArrow:"\u21A5",mapstoup:"\u21A5",UpperLeftArrow:"\u2196",nwarr:"\u2196",nwarrow:"\u2196",UpperRightArrow:"\u2197",nearr:"\u2197",nearrow:"\u2197",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",Uring:"\u016E",Uscr:"\u{1D4B0}",Utilde:"\u0168",Uuml:"\xDC",VDash:"\u22AB",Vbar:"\u2AEB",Vcy:"\u0412",Vdash:"\u22A9",Vdashl:"\u2AE6",Vee:"\u22C1",bigvee:"\u22C1",xvee:"\u22C1",Verbar:"\u2016",Vert:"\u2016",VerticalBar:"\u2223",mid:"\u2223",shortmid:"\u2223",smid:"\u2223",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",wr:"\u2240",wreath:"\u2240",VeryThinSpace:"\u200A",hairsp:"\u200A",Vfr:"\u{1D519}",Vopf:"\u{1D54D}",Vscr:"\u{1D4B1}",Vvdash:"\u22AA",Wcirc:"\u0174",Wedge:"\u22C0",bigwedge:"\u22C0",xwedge:"\u22C0",Wfr:"\u{1D51A}",Wopf:"\u{1D54E}",Wscr:"\u{1D4B2}",Xfr:"\u{1D51B}",Xi:"\u039E",Xopf:"\u{1D54F}",Xscr:"\u{1D4B3}",YAcy:"\u042F",YIcy:"\u0407",YUcy:"\u042E",Yacute:"\xDD",Ycirc:"\u0176",Ycy:"\u042B",Yfr:"\u{1D51C}",Yopf:"\u{1D550}",Yscr:"\u{1D4B4}",Yuml:"\u0178",ZHcy:"\u0416",Zacute:"\u0179",Zcaron:"\u017D",Zcy:"\u0417",Zdot:"\u017B",Zeta:"\u0396",Zfr:"\u2128",zeetrf:"\u2128",Zopf:"\u2124",integers:"\u2124",Zscr:"\u{1D4B5}",aacute:"\xE1",abreve:"\u0103",ac:"\u223E",mstpos:"\u223E",acE:"\u223E\u0333",acd:"\u223F",acirc:"\xE2",acy:"\u0430",aelig:"\xE6",afr:"\u{1D51E}",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03B1",amacr:"\u0101",amalg:"\u2A3F",and:"\u2227",wedge:"\u2227",andand:"\u2A55",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",angle:"\u2220",ange:"\u29A4",angmsd:"\u2221",measuredangle:"\u2221",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angzarr:"\u237C",aogon:"\u0105",aopf:"\u{1D552}",apE:"\u2A70",apacir:"\u2A6F",ape:"\u224A",approxeq:"\u224A",apid:"\u224B",apos:"'",aring:"\xE5",ascr:"\u{1D4B6}",ast:"*",midast:"*",atilde:"\xE3",auml:"\xE4",awint:"\u2A11",bNot:"\u2AED",backcong:"\u224C",bcong:"\u224C",backepsilon:"\u03F6",bepsi:"\u03F6",backprime:"\u2035",bprime:"\u2035",backsim:"\u223D",bsim:"\u223D",backsimeq:"\u22CD",bsime:"\u22CD",barvee:"\u22BD",barwed:"\u2305",barwedge:"\u2305",bbrktbrk:"\u23B6",bcy:"\u0431",bdquo:"\u201E",ldquor:"\u201E",bemptyv:"\u29B0",beta:"\u03B2",beth:"\u2136",between:"\u226C",twixt:"\u226C",bfr:"\u{1D51F}",bigcirc:"\u25EF",xcirc:"\u25EF",bigodot:"\u2A00",xodot:"\u2A00",bigoplus:"\u2A01",xoplus:"\u2A01",bigotimes:"\u2A02",xotime:"\u2A02",bigsqcup:"\u2A06",xsqcup:"\u2A06",bigstar:"\u2605",starf:"\u2605",bigtriangledown:"\u25BD",xdtri:"\u25BD",bigtriangleup:"\u25B3",xutri:"\u25B3",biguplus:"\u2A04",xuplus:"\u2A04",bkarow:"\u290D",rbarr:"\u290D",blacklozenge:"\u29EB",lozf:"\u29EB",blacktriangle:"\u25B4",utrif:"\u25B4",blacktriangledown:"\u25BE",dtrif:"\u25BE",blacktriangleleft:"\u25C2",ltrif:"\u25C2",blacktriangleright:"\u25B8",rtrif:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bnot:"\u2310",bopf:"\u{1D553}",bowtie:"\u22C8",boxDL:"\u2557",boxDR:"\u2554",boxDl:"\u2556",boxDr:"\u2553",boxH:"\u2550",boxHD:"\u2566",boxHU:"\u2569",boxHd:"\u2564",boxHu:"\u2567",boxUL:"\u255D",boxUR:"\u255A",boxUl:"\u255C",boxUr:"\u2559",boxV:"\u2551",boxVH:"\u256C",boxVL:"\u2563",boxVR:"\u2560",boxVh:"\u256B",boxVl:"\u2562",boxVr:"\u255F",boxbox:"\u29C9",boxdL:"\u2555",boxdR:"\u2552",boxdl:"\u2510",boxdr:"\u250C",boxhD:"\u2565",boxhU:"\u2568",boxhd:"\u252C",boxhu:"\u2534",boxminus:"\u229F",minusb:"\u229F",boxplus:"\u229E",plusb:"\u229E",boxtimes:"\u22A0",timesb:"\u22A0",boxuL:"\u255B",boxuR:"\u2558",boxul:"\u2518",boxur:"\u2514",boxv:"\u2502",boxvH:"\u256A",boxvL:"\u2561",boxvR:"\u255E",boxvh:"\u253C",boxvl:"\u2524",boxvr:"\u251C",brvbar:"\xA6",bscr:"\u{1D4B7}",bsemi:"\u204F",bsol:"\\",bsolb:"\u29C5",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bumpE:"\u2AAE",cacute:"\u0107",cap:"\u2229",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",capcup:"\u2A47",capdot:"\u2A40",caps:"\u2229\uFE00",caret:"\u2041",ccaps:"\u2A4D",ccaron:"\u010D",ccedil:"\xE7",ccirc:"\u0109",ccups:"\u2A4C",ccupssm:"\u2A50",cdot:"\u010B",cemptyv:"\u29B2",cent:"\xA2",cfr:"\u{1D520}",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",chi:"\u03C7",cir:"\u25CB",cirE:"\u29C3",circ:"\u02C6",circeq:"\u2257",cire:"\u2257",circlearrowleft:"\u21BA",olarr:"\u21BA",circlearrowright:"\u21BB",orarr:"\u21BB",circledS:"\u24C8",oS:"\u24C8",circledast:"\u229B",oast:"\u229B",circledcirc:"\u229A",ocir:"\u229A",circleddash:"\u229D",odash:"\u229D",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",clubs:"\u2663",clubsuit:"\u2663",colon:":",comma:",",commat:"@",comp:"\u2201",complement:"\u2201",congdot:"\u2A6D",copf:"\u{1D554}",copysr:"\u2117",crarr:"\u21B5",cross:"\u2717",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",curlyeqprec:"\u22DE",cuesc:"\u22DF",curlyeqsucc:"\u22DF",cularr:"\u21B6",curvearrowleft:"\u21B6",cularrp:"\u293D",cup:"\u222A",cupbrcap:"\u2A48",cupcap:"\u2A46",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curvearrowright:"\u21B7",curarrm:"\u293C",curlyvee:"\u22CE",cuvee:"\u22CE",curlywedge:"\u22CF",cuwed:"\u22CF",curren:"\xA4",cwint:"\u2231",cylcty:"\u232D",dHar:"\u2965",dagger:"\u2020",daleth:"\u2138",dash:"\u2010",hyphen:"\u2010",dbkarow:"\u290F",rBarr:"\u290F",dcaron:"\u010F",dcy:"\u0434",ddarr:"\u21CA",downdownarrows:"\u21CA",ddotseq:"\u2A77",eDDot:"\u2A77",deg:"\xB0",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",dfr:"\u{1D521}",diamondsuit:"\u2666",diams:"\u2666",digamma:"\u03DD",gammad:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",djcy:"\u0452",dlcorn:"\u231E",llcorner:"\u231E",dlcrop:"\u230D",dollar:"$",dopf:"\u{1D555}",doteqdot:"\u2251",eDot:"\u2251",dotminus:"\u2238",minusd:"\u2238",dotplus:"\u2214",plusdo:"\u2214",dotsquare:"\u22A1",sdotb:"\u22A1",drcorn:"\u231F",lrcorner:"\u231F",drcrop:"\u230C",dscr:"\u{1D4B9}",dscy:"\u0455",dsol:"\u29F6",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",triangledown:"\u25BF",dwangle:"\u29A6",dzcy:"\u045F",dzigrarr:"\u27FF",eacute:"\xE9",easter:"\u2A6E",ecaron:"\u011B",ecir:"\u2256",eqcirc:"\u2256",ecirc:"\xEA",ecolon:"\u2255",eqcolon:"\u2255",ecy:"\u044D",edot:"\u0117",efDot:"\u2252",fallingdotseq:"\u2252",efr:"\u{1D522}",eg:"\u2A9A",egrave:"\xE8",egs:"\u2A96",eqslantgtr:"\u2A96",egsdot:"\u2A98",el:"\u2A99",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",eqslantless:"\u2A95",elsdot:"\u2A97",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",emptyv:"\u2205",varnothing:"\u2205",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",eng:"\u014B",ensp:"\u2002",eogon:"\u0119",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",epsilon:"\u03B5",epsiv:"\u03F5",straightepsilon:"\u03F5",varepsilon:"\u03F5",equals:"=",equest:"\u225F",questeq:"\u225F",equivDD:"\u2A78",eqvparsl:"\u29E5",erDot:"\u2253",risingdotseq:"\u2253",erarr:"\u2971",escr:"\u212F",eta:"\u03B7",eth:"\xF0",euml:"\xEB",euro:"\u20AC",excl:"!",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",ffr:"\u{1D523}",filig:"\uFB01",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",fopf:"\u{1D557}",fork:"\u22D4",pitchfork:"\u22D4",forkv:"\u2AD9",fpartint:"\u2A0D",frac12:"\xBD",half:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",sfrown:"\u2322",fscr:"\u{1D4BB}",gEl:"\u2A8C",gtreqqless:"\u2A8C",gacute:"\u01F5",gamma:"\u03B3",gap:"\u2A86",gtrapprox:"\u2A86",gbreve:"\u011F",gcirc:"\u011D",gcy:"\u0433",gdot:"\u0121",gescc:"\u2AA9",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",gfr:"\u{1D524}",gimel:"\u2137",gjcy:"\u0453",glE:"\u2A92",gla:"\u2AA5",glj:"\u2AA4",gnE:"\u2269",gneqq:"\u2269",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gneq:"\u2A88",gnsim:"\u22E7",gopf:"\u{1D558}",gscr:"\u210A",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gtdot:"\u22D7",gtrdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrarr:"\u2978",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",hardcy:"\u044A",harrcir:"\u2948",harrw:"\u21AD",leftrightsquigarrow:"\u21AD",hbar:"\u210F",hslash:"\u210F",planck:"\u210F",plankv:"\u210F",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",mldr:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",hksearow:"\u2925",searhk:"\u2925",hkswarow:"\u2926",swarhk:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",larrhk:"\u21A9",hookrightarrow:"\u21AA",rarrhk:"\u21AA",hopf:"\u{1D559}",horbar:"\u2015",hscr:"\u{1D4BD}",hstrok:"\u0127",hybull:"\u2043",iacute:"\xED",icirc:"\xEE",icy:"\u0438",iecy:"\u0435",iexcl:"\xA1",ifr:"\u{1D526}",igrave:"\xEC",iiiint:"\u2A0C",qint:"\u2A0C",iiint:"\u222D",tint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",ijlig:"\u0133",imacr:"\u012B",imath:"\u0131",inodot:"\u0131",imof:"\u22B7",imped:"\u01B5",incare:"\u2105",infin:"\u221E",infintie:"\u29DD",intcal:"\u22BA",intercal:"\u22BA",intlarhk:"\u2A17",intprod:"\u2A3C",iprod:"\u2A3C",iocy:"\u0451",iogon:"\u012F",iopf:"\u{1D55A}",iota:"\u03B9",iquest:"\xBF",iscr:"\u{1D4BE}",isinE:"\u22F9",isindot:"\u22F5",isins:"\u22F4",isinsv:"\u22F3",itilde:"\u0129",iukcy:"\u0456",iuml:"\xEF",jcirc:"\u0135",jcy:"\u0439",jfr:"\u{1D527}",jmath:"\u0237",jopf:"\u{1D55B}",jscr:"\u{1D4BF}",jsercy:"\u0458",jukcy:"\u0454",kappa:"\u03BA",kappav:"\u03F0",varkappa:"\u03F0",kcedil:"\u0137",kcy:"\u043A",kfr:"\u{1D528}",kgreen:"\u0138",khcy:"\u0445",kjcy:"\u045C",kopf:"\u{1D55C}",kscr:"\u{1D4C0}",lAtail:"\u291B",lBarr:"\u290E",lEg:"\u2A8B",lesseqqgtr:"\u2A8B",lHar:"\u2962",lacute:"\u013A",laemptyv:"\u29B4",lambda:"\u03BB",langd:"\u2991",lap:"\u2A85",lessapprox:"\u2A85",laquo:"\xAB",larrbfs:"\u291F",larrfs:"\u291D",larrlp:"\u21AB",looparrowleft:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",leftarrowtail:"\u21A2",lat:"\u2AAB",latail:"\u2919",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lbbrk:"\u2772",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",lcaron:"\u013E",lcedil:"\u013C",lcy:"\u043B",ldca:"\u2936",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",leq:"\u2264",leftleftarrows:"\u21C7",llarr:"\u21C7",leftthreetimes:"\u22CB",lthree:"\u22CB",lescc:"\u2AA8",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessdot:"\u22D6",ltdot:"\u22D6",lfisht:"\u297C",lfr:"\u{1D529}",lgE:"\u2A91",lharul:"\u296A",lhblk:"\u2584",ljcy:"\u0459",llhard:"\u296B",lltri:"\u25FA",lmidot:"\u0140",lmoust:"\u23B0",lmoustache:"\u23B0",lnE:"\u2268",lneqq:"\u2268",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lneq:"\u2A87",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",longmapsto:"\u27FC",xmap:"\u27FC",looparrowright:"\u21AC",rarrlp:"\u21AC",lopar:"\u2985",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",loz:"\u25CA",lozenge:"\u25CA",lpar:"(",lparlt:"\u2993",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",lsime:"\u2A8D",lsimg:"\u2A8F",lsquor:"\u201A",sbquo:"\u201A",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltrPar:"\u2996",ltri:"\u25C3",triangleleft:"\u25C3",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",mDDot:"\u223A",macr:"\xAF",strns:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",marker:"\u25AE",mcomma:"\u2A29",mcy:"\u043C",mdash:"\u2014",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midcir:"\u2AF0",minus:"\u2212",minusdu:"\u2A2A",mlcp:"\u2ADB",models:"\u22A7",mopf:"\u{1D55E}",mscr:"\u{1D4C2}",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nGg:"\u22D9\u0338",nGt:"\u226B\u20D2",nLeftarrow:"\u21CD",nlArr:"\u21CD",nLeftrightarrow:"\u21CE",nhArr:"\u21CE",nLl:"\u22D8\u0338",nLt:"\u226A\u20D2",nRightarrow:"\u21CF",nrArr:"\u21CF",nVDash:"\u22AF",nVdash:"\u22AE",nacute:"\u0144",nang:"\u2220\u20D2",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",natur:"\u266E",natural:"\u266E",ncap:"\u2A43",ncaron:"\u0148",ncedil:"\u0146",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",ncy:"\u043D",ndash:"\u2013",neArr:"\u21D7",nearhk:"\u2924",nedot:"\u2250\u0338",nesear:"\u2928",toea:"\u2928",nfr:"\u{1D52B}",nharr:"\u21AE",nleftrightarrow:"\u21AE",nhpar:"\u2AF2",nis:"\u22FC",nisd:"\u22FA",njcy:"\u045A",nlE:"\u2266\u0338",nleqq:"\u2266\u0338",nlarr:"\u219A",nleftarrow:"\u219A",nldr:"\u2025",nopf:"\u{1D55F}",not:"\xAC",notinE:"\u22F9\u0338",notindot:"\u22F5\u0338",notinvb:"\u22F7",notinvc:"\u22F6",notnivb:"\u22FE",notnivc:"\u22FD",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",nrarr:"\u219B",nrightarrow:"\u219B",nrarrc:"\u2933\u0338",nrarrw:"\u219D\u0338",nscr:"\u{1D4C3}",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsubseteqq:"\u2AC5\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupseteqq:"\u2AC6\u0338",ntilde:"\xF1",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvDash:"\u22AD",nvHarr:"\u2904",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwArr:"\u21D6",nwarhk:"\u2923",nwnear:"\u2927",oacute:"\xF3",ocirc:"\xF4",ocy:"\u043E",odblac:"\u0151",odiv:"\u2A38",odsold:"\u29BC",oelig:"\u0153",ofcir:"\u29BF",ofr:"\u{1D52C}",ogon:"\u02DB",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",olcir:"\u29BE",olcross:"\u29BB",olt:"\u29C0",omacr:"\u014D",omega:"\u03C9",omicron:"\u03BF",omid:"\u29B6",oopf:"\u{1D560}",opar:"\u29B7",operp:"\u29B9",or:"\u2228",vee:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",oscr:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oslash:"\xF8",osol:"\u2298",otilde:"\xF5",otimesas:"\u2A36",ouml:"\xF6",ovbar:"\u233D",para:"\xB6",parsim:"\u2AF3",parsl:"\u2AFD",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",pertenk:"\u2031",pfr:"\u{1D52D}",phi:"\u03C6",phiv:"\u03D5",straightphi:"\u03D5",varphi:"\u03D5",phone:"\u260E",pi:"\u03C0",piv:"\u03D6",varpi:"\u03D6",planckh:"\u210E",plus:"+",plusacir:"\u2A23",pluscir:"\u2A22",plusdu:"\u2A25",pluse:"\u2A72",plussim:"\u2A26",plustwo:"\u2A27",pointint:"\u2A15",popf:"\u{1D561}",pound:"\xA3",prE:"\u2AB3",prap:"\u2AB7",precapprox:"\u2AB7",precnapprox:"\u2AB9",prnap:"\u2AB9",precneqq:"\u2AB5",prnE:"\u2AB5",precnsim:"\u22E8",prnsim:"\u22E8",prime:"\u2032",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prurel:"\u22B0",pscr:"\u{1D4C5}",psi:"\u03C8",puncsp:"\u2008",qfr:"\u{1D52E}",qopf:"\u{1D562}",qprime:"\u2057",qscr:"\u{1D4C6}",quatint:"\u2A16",quest:"?",rAtail:"\u291C",rHar:"\u2964",race:"\u223D\u0331",racute:"\u0155",raemptyv:"\u29B3",rangd:"\u2992",range:"\u29A5",raquo:"\xBB",rarrap:"\u2975",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291E",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21A3",rightarrowtail:"\u21A3",rarrw:"\u219D",rightsquigarrow:"\u219D",ratail:"\u291A",ratio:"\u2236",rbbrk:"\u2773",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",rcaron:"\u0159",rcedil:"\u0157",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdsh:"\u21B3",rect:"\u25AD",rfisht:"\u297D",rfr:"\u{1D52F}",rharul:"\u296C",rho:"\u03C1",rhov:"\u03F1",varrho:"\u03F1",rightrightarrows:"\u21C9",rrarr:"\u21C9",rightthreetimes:"\u22CC",rthree:"\u22CC",ring:"\u02DA",rlm:"\u200F",rmoust:"\u23B1",rmoustache:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",ropar:"\u2986",ropf:"\u{1D563}",roplus:"\u2A2E",rotimes:"\u2A35",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rsaquo:"\u203A",rscr:"\u{1D4C7}",rtimes:"\u22CA",rtri:"\u25B9",triangleright:"\u25B9",rtriltri:"\u29CE",ruluhar:"\u2968",rx:"\u211E",sacute:"\u015B",scE:"\u2AB4",scap:"\u2AB8",succapprox:"\u2AB8",scaron:"\u0161",scedil:"\u015F",scirc:"\u015D",scnE:"\u2AB6",succneqq:"\u2AB6",scnap:"\u2ABA",succnapprox:"\u2ABA",scnsim:"\u22E9",succnsim:"\u22E9",scpolint:"\u2A13",scy:"\u0441",sdot:"\u22C5",sdote:"\u2A66",seArr:"\u21D8",sect:"\xA7",semi:";",seswar:"\u2929",tosa:"\u2929",sext:"\u2736",sfr:"\u{1D530}",sharp:"\u266F",shchcy:"\u0449",shcy:"\u0448",shy:"\xAD",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",varsigma:"\u03C2",simdot:"\u2A6A",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",smashp:"\u2A33",smeparsl:"\u29E4",smile:"\u2323",ssmile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",softcy:"\u044C",sol:"/",solb:"\u29C4",solbar:"\u233F",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",sqcaps:"\u2293\uFE00",sqcups:"\u2294\uFE00",sscr:"\u{1D4C8}",star:"\u2606",sub:"\u2282",subset:"\u2282",subE:"\u2AC5",subseteqq:"\u2AC5",subdot:"\u2ABD",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subsetneqq:"\u2ACB",subne:"\u228A",subsetneq:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supE:"\u2AC6",supseteqq:"\u2AC6",supdot:"\u2ABE",supdsub:"\u2AD8",supedot:"\u2AC4",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supsetneqq:"\u2ACC",supne:"\u228B",supsetneq:"\u228B",supplus:"\u2AC0",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swArr:"\u21D9",swnwar:"\u292A",szlig:"\xDF",target:"\u2316",tau:"\u03C4",tcaron:"\u0165",tcedil:"\u0163",tcy:"\u0442",telrec:"\u2315",tfr:"\u{1D531}",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",vartheta:"\u03D1",thorn:"\xFE",times:"\xD7",timesbar:"\u2A31",timesd:"\u2A30",topbot:"\u2336",topcir:"\u2AF1",topf:"\u{1D565}",topfork:"\u2ADA",tprime:"\u2034",triangle:"\u25B5",utri:"\u25B5",triangleq:"\u225C",trie:"\u225C",tridot:"\u25EC",triminus:"\u2A3A",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",tscr:"\u{1D4C9}",tscy:"\u0446",tshcy:"\u045B",tstrok:"\u0167",uHar:"\u2963",uacute:"\xFA",ubrcy:"\u045E",ubreve:"\u016D",ucirc:"\xFB",ucy:"\u0443",udblac:"\u0171",ufisht:"\u297E",ufr:"\u{1D532}",ugrave:"\xF9",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",umacr:"\u016B",uogon:"\u0173",uopf:"\u{1D566}",upsi:"\u03C5",upsilon:"\u03C5",upuparrows:"\u21C8",uuarr:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",uring:"\u016F",urtri:"\u25F9",uscr:"\u{1D4CA}",utdot:"\u22F0",utilde:"\u0169",uuml:"\xFC",uwangle:"\u29A7",vBar:"\u2AE8",vBarv:"\u2AE9",vangrt:"\u299C",varsubsetneq:"\u228A\uFE00",vsubne:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",vsubnE:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",vsupne:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vsupnE:"\u2ACC\uFE00",vcy:"\u0432",veebar:"\u22BB",veeeq:"\u225A",vellip:"\u22EE",vfr:"\u{1D533}",vopf:"\u{1D567}",vscr:"\u{1D4CB}",vzigzag:"\u299A",wcirc:"\u0175",wedbar:"\u2A5F",wedgeq:"\u2259",weierp:"\u2118",wp:"\u2118",wfr:"\u{1D534}",wopf:"\u{1D568}",wscr:"\u{1D4CC}",xfr:"\u{1D535}",xi:"\u03BE",xnis:"\u22FB",xopf:"\u{1D569}",xscr:"\u{1D4CD}",yacute:"\xFD",yacy:"\u044F",ycirc:"\u0177",ycy:"\u044B",yen:"\xA5",yfr:"\u{1D536}",yicy:"\u0457",yopf:"\u{1D56A}",yscr:"\u{1D4CE}",yucy:"\u044E",yuml:"\xFF",zacute:"\u017A",zcaron:"\u017E",zcy:"\u0437",zdot:"\u017C",zeta:"\u03B6",zfr:"\u{1D537}",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"};we.ngsp="\uE500";var Rs=class{tokens;errors;nonNormalizedIcuExpressions;constructor(e,t,n){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=n}};function Hs(e,t,n,r={}){let a=new js(new Qn(e,t),n,r);return a.tokenize(),new Rs(Zs(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}var Us=/\r\n?/g;function U(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Xt(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`}function Vs(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}var zs=["@if","@else","@for","@switch","@case","@default","@empty","@defer","@placeholder","@loading","@boundary","@error","@content"],me={start:"{{",end:"}}"},Ws=/^default[^\S\r\n]+never/,$s=/^else[^\S\r\n]+if/,js=class{_getTagContentType;_cursor;_tokenizeIcu;_leadingTriviaCodePoints;_canSelfClose;_allowHtmComponentClosingTags;_allowStartTagComments;_currentTokenStart=null;_currentTokenType=null;_expansionCaseStack=[];_openDirectiveCount=0;_inInterpolation=!1;_preserveLineEndings;_i18nNormalizeLineEndingsInICUs;_fullNameStack=[];_tokenizeBlocks;_tokenizeLet;_selectorlessEnabled;tokens=[];errors=[];nonNormalizedIcuExpressions=[];constructor(e,t,n){this._getTagContentType=t,this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=n.canSelfClose||!1,this._allowHtmComponentClosingTags=n.allowHtmComponentClosingTags||!1,this._allowStartTagComments=n.allowStartTagComments??!0;let r=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new eo(e,r):new er(e,r),this._preserveLineEndings=n.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=n.tokenizeBlocks??!0,this._tokenizeLet=n.tokenizeLet??!0,this._selectorlessEnabled=n.selectorlessEnabled??!1;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(Us,`
|
|
22
|
+
`)}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._isLetStart()?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._isBlockStart()?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(44),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();this._attemptCharCodeUntilFn(r=>He(r)?!e:Qs(r)?(e=!0,!1):!0);let n=this._cursor.getChars(t).trim();return $s.test(n)?n="else if":Ws.test(n)&&(n="default never"),n}_consumeBlockStart(e){this._requireCharCode(64),this._beginToken(26,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(C),this._attemptCharCode(41))this._attemptCharCodeUntilFn(C);else{t.type=30;return}if(t.parts[0]==="default never"&&this._attemptCharCode(59)){this._beginToken(27),this._endToken([]),this._beginToken(28),this._endToken([]);return}this._attemptCharCode(123)?(this._beginToken(27),this._endToken([])):this._isBlockStart()&&(t.parts[0]==="case"||t.parts[0]==="default")?(this._beginToken(27),this._endToken([]),this._beginToken(28),this._endToken([])):t.type=30}_consumeBlockEnd(e){this._beginToken(28,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Yt);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(29);let e=this._cursor.clone(),t=null,n=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let r=this._cursor.peek();if(r===92)this._cursor.advance();else if(r===t)t=null;else if(t===null&&Qe(r))t=r;else if(r===40&&t===null)n++;else if(r===41&&t===null){if(n===0)break;n>0&&n--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Yt)}}_consumeLetDeclaration(e){if(this._requireStr("@let"),this._beginToken(31,e),He(this._cursor.peek()))this._attemptCharCodeUntilFn(C);else{let n=this._endToken([this._cursor.getChars(e)]);n.type=34;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(C),!this._attemptCharCode(61)){t.type=34;return}this._attemptCharCodeUntilFn(n=>C(n)&&!Se(n)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(33),this._cursor.advance(),this._endToken([])):(t.type=34,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(n=>be(n)||n===36||n===95||t&&De(n)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();this._beginToken(32,e),this._attemptUntilIgnoreQuotes(t=>t===59),this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Ys(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 J(this._cursor.getSpan(t),"Programming error - attempted to end a token when there was no start to the token");if(this._currentTokenType===null)throw new J(this._cursor.getSpan(this._currentTokenStart),"Programming error - attempted to end a token which has no token type");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 J(t,e);return this._currentTokenStart=null,this._currentTokenType=null,n}handleError(e){if(e instanceof Dt&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof J)this.errors.push(e);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return Js(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(U(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(U(this._cursor.peek()),this._cursor.getSpan(t))}_requireStrCaseInsensitive(e){let t=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(U(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(U(this._cursor.peek()),this._cursor.getSpan(n))}_attemptUntilChar(e){for(;this._cursor.peek()!==e;)this._cursor.advance()}_attemptUntilIgnoreQuotes(e){for(;this._cursor.peek()!==0;){let t=this._cursor.peek();if(e(t))break;Qe(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(n=>n===92?(this._cursor.advance(),!1):n===t)),this._cursor.advance()}}_readChar(){let e=String.fromCodePoint(this._cursor.peek());return this._cursor.advance(),e}_peekStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let n=this._cursor.clone();for(let r=0;r<t;r++){if(n.peek()!==e.charCodeAt(r))return!1;n.advance()}return!0}_isBlockStart(){return this._cursor.peek()===64&&zs.some(e=>this._peekStr(e))}_isLetStart(){return this._cursor.peek()===64&&this._peekStr("@let")}_consumeEntity(e){this._beginToken(9);let t=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let n=this._attemptCharCode(120)||this._attemptCharCode(88),r=this._cursor.clone();if(this._attemptCharCodeUntilFn(Xs),this._cursor.peek()!=59){this._cursor.advance();let i=n?"hexadecimal":"decimal";throw this._createError(Vs(i,this._cursor.getChars(t)),this._cursor.getSpan())}let a=this._cursor.getChars(r);this._cursor.advance();try{let i=parseInt(a,n?16:10);this._endToken([String.fromCodePoint(i),this._cursor.getChars(t)])}catch{throw this._createError(Xt(this._cursor.getChars(t)),this._cursor.getSpan())}}else{let n=this._cursor.clone();if(this._attemptCharCodeUntilFn(Ks),this._cursor.peek()!=59)this._beginToken(e,t),this._cursor=n,this._endToken(["&"]);else{let r=this._cursor.getChars(n);this._cursor.advance();let a=O(we,r)&&we[r];if(!a)throw this._createError(Xt(r),this._cursor.getSpan(t));this._endToken([a,`&${r};`])}}}_consumeRawText(e,t){this._beginToken(e?6:7);let n=[];for(;;){let r=this._cursor.clone(),a=t();if(this._cursor=r,a)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(13,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(14),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(19,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(20),this._cursor.advance(),this._endToken([])}_consumeProcessingInstruction(e){this._beginToken(43,e);let t=this._cursor.clone();this._attemptUntilIgnoreQuotes(a=>a===63||a===62);let n=this._cursor.peek(),r=this._cursor.getChars(t);this._cursor.advance(),n===63&&this._requireCharCode(62),this._endToken([r])}_consumePrefixAndName(e){let t=this._cursor.clone(),n="";for(;this._cursor.peek()!==58&&!Gs(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(n=this._cursor.getChars(t),this._cursor.advance(),r=this._cursor.clone()):r=t,this._requireCharCodeUntilFn(e,n===""?0:1);let a=this._cursor.getChars(r);return[n,a]}_consumeSingleLineComment(e){let t=this._cursor.clone();this._attemptCharCodeUntilFn(a=>Se(a)||a===0);let n=this._cursor.clone(),r=n.getChars(t);this._beginToken(12,e),this._endToken([r,"single"],n),this._attemptCharCodeUntilFn(C)}_consumeMultiLineComment(e){let t=this._cursor.clone();this._attemptCharCodeUntilFn(i=>{if(i===0)return!0;if(i===42){let s=this._cursor.clone();return s.advance(),s.peek()===47}return!1});let n=this._cursor.clone(),r=n.getChars(t),a=n;this._attemptStr("*/")&&(a=this._cursor.clone(),this._attemptCharCodeUntilFn(C)),this._beginToken(12,e),this._endToken([r,"multi"],a)}_consumeTagOpen(e){let t,n,r,a,i=[];try{if(this._selectorlessEnabled&&Pe(this._cursor.peek()))a=this._consumeComponentOpenStart(e),[r,n,t]=a.parts,n&&(r+=`:${n}`),t&&(r+=`:${t}`),this._attemptCharCodeUntilFn(C);else{if(!be(this._cursor.peek()))throw this._createError(U(this._cursor.peek()),this._cursor.getSpan(e));a=this._consumeTagOpenStart(e),n=a.parts[0],t=r=a.parts[1],this._attemptCharCodeUntilFn(C)}for(;;){if(this._allowStartTagComments){let o=this._cursor.clone();if(this._attemptStr("//")){this._consumeSingleLineComment(o);continue}if(this._attemptStr("/*")){this._consumeMultiLineComment(o);continue}}if(Qt(this._cursor.peek()))break;if(this._selectorlessEnabled&&this._cursor.peek()===64){let o=this._cursor.clone(),u=o.clone();u.advance(),Pe(u.peek())&&this._consumeDirective(o,u)}else{let o=this._consumeAttribute();i.push(o)}}a.type===35?this._consumeComponentOpenEnd():this._consumeTagOpenEnd()}catch(o){if(o instanceof J){a?a.type=a.type===35?39:4:(this._beginToken(5,e),this._endToken(["<"]));return}throw o}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let s=this._getTagContentType(t,n,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(n,t),s===0?this._consumeRawTextWithTagClose(n,a,r,!1):s===1&&this._consumeRawTextWithTagClose(n,a,r,!0)}_consumeRawTextWithTagClose(e,t,n,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(C),!this._attemptStrCaseInsensitive(e&&t.type!==35?`${e}:${n}`:n))?!1:(this._attemptCharCodeUntilFn(C),this._attemptCharCode(62))),this._beginToken(t.type===35?38:3),this._requireCharCodeUntilFn(a=>a===62,3),this._cursor.advance(),this._endToken(t.parts),this._handleFullNameStackForTagClose(e,n)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName(V);return this._endToken(t)}_consumeComponentOpenStart(e){this._beginToken(35,e);let t=this._consumeComponentName();return this._endToken(t)}_consumeComponentName(){let e=this._cursor.clone();for(;Jt(this._cursor.peek());)this._cursor.advance();let t=this._cursor.getChars(e),n="",r="";return this._cursor.peek()===58&&(this._cursor.advance(),[n,r]=this._consumePrefixAndName(V)),[t,n,r]}_consumeAttribute(){let[e,t]=this._consumeAttributeName(),n;return this._attemptCharCodeUntilFn(C),this._attemptCharCode(61)&&(this._attemptCharCodeUntilFn(C),n=this._consumeAttributeValue()),this._attemptCharCodeUntilFn(C),{prefix:e,name:t,value:n}}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(U(e),this._cursor.getSpan());this._beginToken(15);let t;if(this._openDirectiveCount>0){let r=0;t=a=>{if(this._openDirectiveCount>0){if(a===40)r++;else if(a===41){if(r===0)return!0;r--}}return V(a)}}else if(e===91){let r=0;t=a=>(a===91?r++:a===93&&r--,r<=0?V(a):Se(a))}else t=V;let n=this._consumePrefixAndName(t);return this._endToken(n),n}_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(17,18,n,n),this._consumeQuote(t)}else{let t=()=>V(this._cursor.peek());e=this._consumeWithInterpolation(17,18,t,t)}return e}_consumeQuote(e){this._beginToken(16),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeComponentOpenEnd(){let e=this._attemptCharCode(47)?37:36;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._selectorlessEnabled){let t=e.clone();for(;t.peek()!==62&&!Pe(t.peek());)t.advance();if(Pe(t.peek())){this._beginToken(38,e);let n=this._consumeComponentName();this._attemptCharCodeUntilFn(C),this._requireCharCode(62),this._endToken(n);return}}if(this._beginToken(3,e),this._attemptCharCodeUntilFn(C),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(C),this._requireCharCode(62),this._endToken([]);else{let[t,n]=this._consumePrefixAndName(V);this._attemptCharCodeUntilFn(C),this._requireCharCode(62),this._endToken([t,n]),this._handleFullNameStackForTagClose(t,n)}}_consumeExpansionFormStart(){this._beginToken(21),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(21),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let r=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(r)}this._requireCharCode(44),this._attemptCharCodeUntilFn(C),this._beginToken(7);let n=this._readUntil(44);this._endToken([n]),this._requireCharCode(44),this._attemptCharCodeUntilFn(C)}_consumeExpansionCaseStart(){this._beginToken(22);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(C),this._beginToken(23),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(C),this._expansionCaseStack.push(23)}_consumeExpansionCaseEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(C),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(25),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,n,r){this._beginToken(e);let a=[];for(;!n();){let s=this._cursor.clone();this._attemptStr(me.start)?(this._endToken([this._processCarriageReturns(a.join(""))],s),a.length=0,this._consumeInterpolation(t,s,r),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let i=this._processCarriageReturns(a.join(""));return this._endToken([i]),i}_consumeInterpolation(e,t,n){let r=[];this._beginToken(e,t),r.push(me.start);let a=this._cursor.clone(),i=null,s=!1;for(;this._cursor.peek()!==0&&(n===null||!n());){let o=this._cursor.clone();if(this._isTagStart()){this._cursor=o,r.push(this._getProcessedChars(a,o)),this._endToken(r);return}if(i===null)if(this._attemptStr(me.end)){r.push(this._getProcessedChars(a,o)),r.push(me.end),this._endToken(r);return}else this._attemptStr("//")&&(s=!0);let u=this._cursor.peek();this._cursor.advance(),u===92?this._cursor.advance():u===i?i=null:!s&&i===null&&Qe(u)&&(i=u)}r.push(this._getProcessedChars(a,this._cursor)),this._endToken(r)}_consumeDirective(e,t){for(this._requireCharCode(64),this._cursor.advance();Jt(this._cursor.peek());)this._cursor.advance();this._beginToken(40,e);let n=this._cursor.getChars(t);if(this._endToken([n]),this._attemptCharCodeUntilFn(C),this._cursor.peek()===40){for(this._openDirectiveCount++,this._beginToken(41),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(C);!Qt(this._cursor.peek())&&this._cursor.peek()!==41;)this._consumeAttribute();if(this._attemptCharCodeUntilFn(C),this._openDirectiveCount--,this._cursor.peek()!==41){if(this._cursor.peek()===62||this._cursor.peek()===47)return;throw this._createError(U(this._cursor.peek()),this._cursor.getSpan(e))}this._beginToken(42),this._cursor.advance(),this._endToken([]),this._attemptCharCodeUntilFn(C)}}_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._isLetStart()||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||t===63)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]===23}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===21}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;let e=this._cursor.clone(),t=this._attemptStr(me.start);return this._cursor=e,!t}_handleFullNameStackForTagOpen(e,t){let n=_e(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===n)&&this._fullNameStack.push(n)}_handleFullNameStackForTagClose(e,t){let n=_e(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===n&&this._fullNameStack.pop()}};function C(e){return!He(e)||e===0}function V(e){return He(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function Gs(e){return(e<97||122<e)&&(e<65||90<e)&&(e<48||e>57)}function Xs(e){return e===59||e===0||!Os(e)}function Ks(e){return e===59||e===0||!(be(e)||De(e))}function Ys(e){return e!==125}function Js(e,t){return Kt(e)===Kt(t)}function Kt(e){return e>=97&&e<=122?e-97+65:e}function Qs(e){return be(e)||De(e)||e===95}function Yt(e){return e!==59&&C(e)}function Pe(e){return e===95||e>=65&&e<=90}function Jt(e){return be(e)||De(e)||e===95}function Qt(e){return e===47||e===62||e===60||e===0}function Zs(e){let t=[],n;for(let r=0;r<e.length;r++){let a=e[r];n&&n.type===5&&a.type===5||n&&n.type===17&&a.type===17?(n.parts[0]+=a.parts[0],n.sourceSpan.end=a.sourceSpan.end):(n=a,t.push(n))}return t}var er=class st{state;file;input;end;constructor(t,n){if(t instanceof st){this.file=t.file,this.input=t.input,this.end=t.end;let r=t.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!n)throw new 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 st(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(t){return this.state.offset-t.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(t,n){t=t||this;let r=t;if(n)for(;this.diff(t)>0&&n.indexOf(t.peek())!==-1;)r===t&&(t=t.clone()),t.advance();let a=this.locationFromCursor(t),i=this.locationFromCursor(this),s=r!==t?this.locationFromCursor(r):a;return new h(a,i,s)}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new Dt('Unexpected character "EOF"',this);let n=this.charAt(t.offset);n===10?(t.line++,t.column=0):Se(n)||t.column++,t.offset++,this.updatePeek(t)}updatePeek(t){t.peek=t.offset>=this.end?0:this.charAt(t.offset)}locationFromCursor(t){return new it(t.file,t.state.offset,t.state.line,t.state.column)}},eo=class ot extends er{internalState;constructor(t,n){t instanceof ot?(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 ot(this)}getChars(t){let n=t.clone(),r="";for(;n.internalState.offset<this.internalState.offset;)r+=String.fromCodePoint(n.peek()),n.advance();return r}processEscapeSequence(){let t=()=>this.internalState.peek;if(t()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),t()===110)this.state.peek=10;else if(t()===114)this.state.peek=13;else if(t()===118)this.state.peek=11;else if(t()===116)this.state.peek=9;else if(t()===98)this.state.peek=8;else if(t()===102)this.state.peek=12;else if(t()===117)if(this.advanceState(this.internalState),t()===123){this.advanceState(this.internalState);let n=this.clone(),r=0;for(;t()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(n,r)}else{let n=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(n,4)}else if(t()===120){this.advanceState(this.internalState);let n=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(n,2)}else if(Gt(t())){let n="",r=0,a=this.clone();for(;Gt(t())&&r<3;)a=this.clone(),n+=String.fromCodePoint(t()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(n,8),this.internalState=a.internalState}else Se(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(t,n){let r=this.input.slice(t.internalState.offset,t.internalState.offset+n),a=parseInt(r,16);if(isNaN(a))throw t.state=t.internalState,new Dt("Invalid hexadecimal escape sequence",t);return a}},Dt=class extends Error{msg;cursor;constructor(e,t){super(e),this.msg=e,this.cursor=t,Object.setPrototypeOf(this,new.target.prototype)}},k=class tr extends J{elementName;static create(t,n,r){return new tr(t,n,r)}constructor(t,n,r){super(n,r),this.elementName=t}},to=class{rootNodes;errors;constructor(e,t){this.rootNodes=e,this.errors=t}},no=class{getTagDefinition;constructor(e){this.getTagDefinition=e}parse(e,t,n,r=!1,a){let i=p=>(d,...v)=>p(d.toLowerCase(),...v),s=r?this.getTagDefinition:i(this.getTagDefinition),o=p=>s(p).getContentType(),u=r?a:i(a),l=Hs(e,t,a?(p,d,v,E)=>{let N=u(p,d,v,E);return N!==void 0?N:o(p)}:o,n),c=n&&n.canSelfClose||!1,f=n&&n.allowHtmComponentClosingTags||!1,g=new ro(l.tokens,s,c,f,r);return g.build(),new to(g.rootNodes,[...l.errors,...g.errors])}},ro=class nr{tokens;tagDefinitionResolver;canSelfClose;allowHtmComponentClosingTags;isTagNameCaseSensitive;_index=-1;_peek;_containerStack=[];rootNodes=[];errors=[];constructor(t,n,r,a,i){this.tokens=t,this.tagDefinitionResolver=n,this.canSelfClose=r,this.allowHtmComponentClosingTags=a,this.isTagNameCaseSensitive=i,this._advance()}build(){for(;this._peek.type!==44;)this._peek.type===0||this._peek.type===4?this._consumeElementStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeElementEndTag(this._advance())):this._peek.type===13?(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===21?this._consumeExpansion(this._advance()):this._peek.type===26?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===28?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===31?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===19?this._consumeDocType(this._advance()):this._peek.type===34?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._peek.type===35||this._peek.type===39?this._consumeComponentStartTag(this._advance()):this._peek.type===38?this._consumeComponentEndTag(this._advance()):this._advance();for(let t of this._containerStack)t instanceof Y&&this.errors.push(k.create(t.name,t.sourceSpan,`Unclosed block "${t.name}"`))}_advance(){let t=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],t}_advanceIf(t){return this._peek.type===t?this._advance():null}_consumeCdata(t){let n=this._advance(),r=this._getText(n),a=this._advanceIf(14);this._addToParent(new xs(r,new h(t.sourceSpan.start,(a||n).sourceSpan.end),[n]))}_consumeComment(t){let n=this._advanceIf(7),r=this._advanceIf(11),a=n!=null?n.parts[0].trim():null,i=r==null?t.sourceSpan:new h(t.sourceSpan.start,r.sourceSpan.end,t.sourceSpan.fullStart);this._addToParent(new Fs(a,i))}_consumeDocType(t){let n=this._advanceIf(7),r=this._advanceIf(20),a=n!=null?n.parts[0].trim():null,i=new h(t.sourceSpan.start,(r||n||t).sourceSpan.end);this._addToParent(new Is(a,i))}_consumeExpansion(t){let n=this._advance(),r=this._advance(),a=[];for(;this._peek.type===22;){let s=this._parseExpansionCase();if(!s)return;a.push(s)}if(this._peek.type!==25){this.errors.push(k.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let i=new h(t.sourceSpan.start,this._peek.sourceSpan.end,t.sourceSpan.fullStart);this._addToParent(new Ds(n.parts[0],r.parts[0],a,i,n.sourceSpan)),this._advance()}_parseExpansionCase(){let t=this._advance();if(this._peek.type!==23)return this.errors.push(k.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let n=this._advance(),r=this._collectExpansionExpTokens(n);if(!r)return null;let a=this._advance();r.push({type:44,parts:[],sourceSpan:a.sourceSpan});let i=new nr(r,this.tagDefinitionResolver,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(i.build(),i.errors.length>0)return this.errors=this.errors.concat(i.errors),null;let s=new h(t.sourceSpan.start,a.sourceSpan.end,t.sourceSpan.fullStart),o=new h(n.sourceSpan.start,a.sourceSpan.end,n.sourceSpan.fullStart);return new Bs(t.parts[0],i.rootNodes,s,t.sourceSpan,o)}_collectExpansionExpTokens(t){let n=[],r=[23];for(;;){if((this._peek.type===21||this._peek.type===23)&&r.push(this._peek.type),this._peek.type===24)if(Zt(r,23)){if(r.pop(),r.length===0)return n}else return this.errors.push(k.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===25)if(Zt(r,21))r.pop();else return this.errors.push(k.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===44)return this.errors.push(k.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.push(this._advance())}}_getText(t){let n=t.parts[0];if(n.length>0&&n[0]==`
|
|
23
|
+
`){var r;let a=this._getClosestElementLikeParent();a!=null&&a.children.length==0&&!((r=this._getTagDefinition(a))===null||r===void 0)&&r.ignoreFirstLf&&(n=n.substring(1))}return n}_consumeText(t){let n=[t],r=t.sourceSpan,a=t.parts[0];if(a.length>0&&a[0]===`
|
|
24
|
+
`){var i;let s=this._getContainer();s!=null&&s.children.length===0&&!((i=this._getTagDefinition(s))===null||i===void 0)&&i.ignoreFirstLf&&(a=a.substring(1),n[0]={type:t.type,sourceSpan:t.sourceSpan,parts:[a]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)t=this._advance(),n.push(t),t.type===8?a+=t.parts.join("").replace(/&([^;]+);/g,en):t.type===9?a+=t.parts[0]:a+=t.parts.join("");if(a.length>0){let s=t.sourceSpan;this._addToParent(new Ts(a,new h(r.start,s.end,r.fullStart,r.details),n))}}_closeVoidElement(){var t;let n=this._getContainer();n!==null&&!((t=this._getTagDefinition(n))===null||t===void 0)&&t.isVoid&&this._containerStack.pop()}_consumeElementStartTag(t){var n;let r=[],a=[],i=[];this._consumeAttributesAndDirectives(r,a,i);let s=this._getElementFullName(t,this._getClosestElementLikeParent()),o=this._getTagDefinition(s),u=!1;if(this._peek.type===2){this._advance(),u=!0;let E=this._getTagDefinition(s);this.canSelfClose||E?.canSelfClose||Oe(s)!==null||E?.isVoid||this.errors.push(k.create(s,t.sourceSpan,`Only void, custom and foreign elements can be self closed "${t.parts[1]}"`))}else this._peek.type===1&&(this._advance(),u=!1);let l=this._peek.sourceSpan.fullStart,c=new h(t.sourceSpan.start,l,t.sourceSpan.fullStart),f=new h(t.sourceSpan.start,l,t.sourceSpan.fullStart),g=new h(t.sourceSpan.start.moveBy(1),t.sourceSpan.end),p=new H(s,r,a,[],u,c,f,void 0,g,o?.isVoid??!1,void 0,i),d=this._getContainer(),v=d!==null&&!!(!((n=this._getTagDefinition(d))===null||n===void 0)&&n.isClosedByChild(p.name));this._pushContainer(p,v),u?this._popContainer(s,H,c):t.type===4&&(this._popContainer(s,H,null),this.errors.push(k.create(s,c,`Opening tag "${s}" not terminated.`)))}_consumeComponentStartTag(t){var n;let r=t.parts[0],a=[],i=[],s=[];this._consumeAttributesAndDirectives(a,i,s);let o=this._getClosestElementLikeParent(),u=this._getComponentTagName(t,o),l=this._getComponentFullName(t,o),c=this._peek.type===37;this._advance();let f=this._peek.sourceSpan.fullStart,g=new h(t.sourceSpan.start,f,t.sourceSpan.fullStart),p=new h(t.sourceSpan.start,f,t.sourceSpan.fullStart),d=new F(r,u,l,a,i,[],c,g,p,void 0,void 0,s),v=this._getContainer(),E=v!==null&&d.tagName!==null&&!!(!((n=this._getTagDefinition(v))===null||n===void 0)&&n.isClosedByChild(d.tagName));this._pushContainer(d,E),c?this._popContainer(l,F,g):t.type===39&&(this._popContainer(l,F,null),this.errors.push(k.create(l,g,`Opening tag "${l}" not terminated.`)))}_consumeAttributesAndDirectives(t,n,r){for(;this._peek.type===15||this._peek.type===40||this._peek.type===12;)if(this._peek.type===40)n.push(this._consumeDirective(this._peek));else if(this._peek.type===15)t.push(this._consumeAttr(this._advance()));else{let a=this._advance();r.push(new Ns(a.parts[0],a.parts[1],a.sourceSpan))}}_consumeComponentEndTag(t){let n=this._getComponentFullName(t,this._getClosestElementLikeParent());if(!this._popContainer(n,F,t.sourceSpan)){let r=this._containerStack[this._containerStack.length-1],a;r instanceof F&&r.componentName===t.parts[0]?a=`, did you mean "${r.fullName}"?`:a=". It may happen when the tag has already been closed by another tag.";let i=`Unexpected closing tag "${n}"${a}`;this.errors.push(k.create(n,t.sourceSpan,i))}}_getTagDefinition(t){return typeof t=="string"?this.tagDefinitionResolver(t):t instanceof H?this.tagDefinitionResolver(t.name):t instanceof F&&t.tagName!==null?this.tagDefinitionResolver(t.tagName):null}_pushContainer(t,n){n&&this._containerStack.pop(),this._addToParent(t),this._containerStack.push(t)}_consumeElementEndTag(t){var n;let r=this.allowHtmComponentClosingTags&&t.parts.length===0?null:this._getElementFullName(t,this._getClosestElementLikeParent());if(r&&!((n=this._getTagDefinition(r))===null||n===void 0)&&n.isVoid)this.errors.push(k.create(r,t.sourceSpan,`Void elements do not have end tags "${t.parts[1]}"`));else if(!this._popContainer(r,H,t.sourceSpan)){let a=`Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(k.create(r,t.sourceSpan,a))}}_popContainer(t,n,r){let a=!1;for(let s=this._containerStack.length-1;s>=0;s--){var i;let o=this._containerStack[s],u=o instanceof F?o.fullName:o.name;if(Oe(u)?u===t:(u===t||t===null)&&o instanceof n)return o.endSourceSpan=r,o.sourceSpan.end=r!==null?r.end:o.sourceSpan.end,this._containerStack.splice(s,this._containerStack.length-s),!a;(o instanceof Y||!(!((i=this._getTagDefinition(o))===null||i===void 0)&&i.closedByParent))&&(a=!0)}return!1}_consumeAttr(t){let n=_e(t.parts[0],t.parts[1]),r=t.sourceSpan.end,a;this._peek.type===16&&(a=this._advance());let i="",s=[],o,u;if(this._peek.type===17)for(o=this._peek.sourceSpan,u=this._peek.sourceSpan.end;this._peek.type===17||this._peek.type===18||this._peek.type===9;){let c=this._advance();s.push(c),c.type===18?i+=c.parts.join("").replace(/&([^;]+);/g,en):c.type===9?i+=c.parts[0]:i+=c.parts.join(""),u=r=c.sourceSpan.end}this._peek.type===16&&(u=r=this._advance().sourceSpan.end);let l=o&&u&&new h(a?.sourceSpan.start??o.start,u,a?.sourceSpan.fullStart??o.fullStart);return new Ls(n,i,new h(t.sourceSpan.start,r,t.sourceSpan.fullStart),t.sourceSpan,l,s.length>0?s:void 0,void 0)}_consumeDirective(t){let n=[],r=t.sourceSpan.end,a=null;if(this._advance(),this._peek.type===41){for(r=this._peek.sourceSpan.end,this._advance();this._peek.type===15;)n.push(this._consumeAttr(this._advance()));this._peek.type===42?(a=this._peek.sourceSpan,this._advance()):this.errors.push(k.create(null,t.sourceSpan,"Unterminated directive definition"))}let i=new h(t.sourceSpan.start,r,t.sourceSpan.fullStart),s=new h(i.start,a===null?t.sourceSpan.end:a.end,i.fullStart);return new qs(t.parts[0],n,s,i,a)}_consumeBlockOpen(t){let n=[];for(;this._peek.type===29;){let o=this._advance();n.push(new $t(o.parts[0],o.sourceSpan))}this._peek.type===27&&this._advance();let r=this._peek.sourceSpan.fullStart,a=new h(t.sourceSpan.start,r,t.sourceSpan.fullStart),i=new h(t.sourceSpan.start,r,t.sourceSpan.fullStart),s=new Y(t.parts[0],n,[],a,t.sourceSpan,i);this._pushContainer(s,!1)}_consumeBlockClose(t){let n=this._containerStack.length,r=this._containerStack[n-1];if(!this._popContainer(null,Y,t.sourceSpan)){if(this._containerStack.length<n){let a=r instanceof F?r.fullName:r.name;this.errors.push(k.create(null,t.sourceSpan,`Unexpected closing block. The block may have been closed earlier. Did you forget to close the <${a}> element? If you meant to write the \`}\` character, you should use the "}" HTML entity instead.`));return}this.errors.push(k.create(null,t.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the `}` character, you should use the "}" HTML entity instead.'))}}_consumeIncompleteBlock(t){let n=[];for(;this._peek.type===29;){let o=this._advance();n.push(new $t(o.parts[0],o.sourceSpan))}let r=this._peek.sourceSpan.fullStart,a=new h(t.sourceSpan.start,r,t.sourceSpan.fullStart),i=new h(t.sourceSpan.start,r,t.sourceSpan.fullStart),s=new Y(t.parts[0],n,[],a,t.sourceSpan,i);this._pushContainer(s,!1),this._popContainer(null,Y,null),this.errors.push(k.create(t.parts[0],a,`Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(t){let n=t.parts[0],r,a;if(this._peek.type!==32){this.errors.push(k.create(t.parts[0],t.sourceSpan,`Invalid @let declaration "${n}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==33){this.errors.push(k.create(t.parts[0],t.sourceSpan,`Unterminated @let declaration "${n}". Declaration must be terminated with a semicolon.`));return}else a=this._advance();let i=a.sourceSpan.end,s=new h(t.sourceSpan.start,i,t.sourceSpan.fullStart),o=t.sourceSpan.toString().lastIndexOf(n),u=t.sourceSpan.start.moveBy(o),l=new h(u,t.sourceSpan.end),c=new jt(n,r.parts[0],s,l,r.sourceSpan);this._addToParent(c)}_consumeIncompleteLet(t){let n=t.parts[0]??"",r=n?` "${n}"`:"";if(n.length>0){let a=t.sourceSpan.toString().lastIndexOf(n),i=t.sourceSpan.start.moveBy(a),s=new h(i,t.sourceSpan.end),o=new h(t.sourceSpan.start,t.sourceSpan.start.moveBy(0)),u=new jt(n,"",t.sourceSpan,s,o);this._addToParent(u)}this.errors.push(k.create(t.parts[0],t.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let <name> = <value>;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestElementLikeParent(){for(let t=this._containerStack.length-1;t>-1;t--){let n=this._containerStack[t];if(n instanceof H||n instanceof F)return n}return null}_addToParent(t){let n=this._getContainer();n===null?this.rootNodes.push(t):n.children.push(t)}_getElementFullName(t,n){let r=this._getPrefix(t,n);return _e(r,t.parts[1])}_getComponentFullName(t,n){let r=t.parts[0],a=this._getComponentTagName(t,n);return a===null?r:a.startsWith(":")?r+a:`${r}:${a}`}_getComponentTagName(t,n){let r=this._getPrefix(t,n),a=t.parts[2];return!r&&!a?null:!r&&a?a:_e(r,a||"ng-component")}_getPrefix(t,n){var r;let a,i;if(t.type===35||t.type===39||t.type===38?(a=t.parts[1],i=t.parts[2]):(a=t.parts[0],i=t.parts[1]),a=a||((r=this._getTagDefinition(i))===null||r===void 0?void 0:r.implicitNamespacePrefix)||"",!a&&n){let s=n instanceof H?n.name:n.tagName;if(s!==null){let o=oe(s)[1],u=this._getTagDefinition(o);u!==null&&!u.preventNamespaceInheritance&&(a=Oe(s))}}return a}};function Zt(e,t){return e.length>0&&e[e.length-1]===t}function en(e,t){return we[t]!==void 0?we[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}var ao=class extends no{constructor(){super(at)}parse(e,t,n,r=!1,a){return super.parse(e,t,n,r,a)}},Ze;function ut(e,t={}){let{canSelfClose:n=!1,allowHtmComponentClosingTags:r=!1,allowStartTagComments:a=!1,isTagNameCaseSensitive:i=!1,getTagContentType:s,tokenizeAngularBlocks:o=!1,tokenizeAngularLetDeclaration:u=!1,enableAngularSelectorlessSyntax:l=!1}=t;return Ze??(Ze=new ao),Ze.parse(e,"angular-html-parser",{tokenizeExpansionForms:o,canSelfClose:n,allowHtmComponentClosingTags:r,allowStartTagComments:a,tokenizeBlocks:o,tokenizeLet:u,selectorlessEnabled:l},i,s)}var io=[lo,oo,uo,co,ho,go,Co,fo,vo,_o,po];function so(e,t){for(let n of io)n(e,t);return e}function oo(e){e.walk(t=>{if(t.kind==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].kind==="text"&&t.children[0].value[0]===`
|
|
25
|
+
`){let n=t.children[0];n.value.length===1?t.removeChild(n):(n.value=n.value.slice(1),n.sourceSpan=new h(n.sourceSpan.start.moveBy(1),n.sourceSpan.end))}})}function uo(e){let t=n=>n.kind==="element"&&n.prev?.kind==="ieConditionalStartComment"&&n.prev.sourceSpan.end.offset===n.startSourceSpan.start.offset&&n.firstChild?.kind==="ieConditionalEndComment"&&n.firstChild.sourceSpan.start.offset===n.startSourceSpan.end.offset;e.walk(n=>{if(n.children)for(let r=0;r<n.children.length;r++){let a=n.children[r];if(!t(a))continue;let i=a.prev,s=a.firstChild;n.removeChild(i),r--;let o=new h(i.sourceSpan.start,s.sourceSpan.end),u=new h(o.start,a.sourceSpan.end);a.condition=i.condition,a.sourceSpan=u,a.startSourceSpan=o,a.removeChild(s)}})}function lo(e,t){t.parser!=="angular"||!t.originalText.includes("ngNonBindable")||e.walk(n=>{n.kind==="element"&&O(n.attrMap,"ngNonBindable")&<(n,t)})}function lt(e,t){let{children:n}=e;if(n)for(let r=0;r<n.length;r++){let a=n[r];if(a.kind==="angularControlFlowBlock"){lt(a,t);let i=[],{start:s}=a.sourceSpan;for(let o of a.children){if(s.offset<o.sourceSpan.start.offset){let u=new h(s,o.sourceSpan.start);i.push(et(u,t))}i.push(o),s=o.sourceSpan.end}if(s.offset<a.sourceSpan.end.offset){let o=new h(s,a.sourceSpan.end);i.push(et(o,t))}for(let o of i)e.insertChildBefore(a,o);e.removeChild(a),r+=i.length-1;continue}if(a.kind==="angularLetDeclaration"){e.replaceChild(a,et(a.sourceSpan,t));continue}lt(a,t)}}function et(e,t){return{kind:"text",value:t.originalText.slice(e.start.offset,e.end.offset),sourceSpan:e}}function co(e){e.walk(t=>{if(t.children)for(let n=0;n<t.children.length;n++){let r=t.children[n],a=r.prev;r.kind!=="text"||a?.kind!=="text"||(a.value+=r.value,a.sourceSpan=new h(a.sourceSpan.start,r.sourceSpan.end),t.removeChild(r),n--)}})}function po(e){let t=n=>n.kind==="element"&&n.attrs.length===0&&!Ve(n.startTagComments)&&n.children.length===1&&n.firstChild.kind==="text"&&!T.hasWhitespaceCharacter(n.children[0].value)&&!n.firstChild.hasLeadingSpaces&&!n.firstChild.hasTrailingSpaces&&n.isLeadingSpaceSensitive&&!n.hasLeadingSpaces&&n.isTrailingSpaceSensitive&&!n.hasTrailingSpaces&&n.prev?.kind==="text"&&n.next?.kind==="text";e.walk(n=>{if(n.children)for(let r=0;r<n.children.length;r++){let a=n.children[r];if(!t(a))continue;let i=a.prev,s=a.next;i.value+=`<${a.rawName}>`+a.firstChild.value+`</${a.rawName}>`+s.value,i.sourceSpan=new h(i.sourceSpan.start,s.sourceSpan.end),i.isTrailingSpaceSensitive=s.isTrailingSpaceSensitive,i.hasTrailingSpaces=s.hasTrailingSpaces,n.removeChild(a),r--,n.removeChild(s)}})}function ho(e,t){t.parser!=="html"&&e.walk(n=>{if(ma(n,t))for(let r of n.children){if(r.kind!=="text")continue;let a=r.sourceSpan.start,i,s=mo(r);for(let o=0;o<s.length;o++,a=i){let u=s[o];if(o%2===0){i=a.moveBy(u.length),u.length>0&&n.insertChildBefore(r,{kind:"text",value:u,sourceSpan:new h(a,i)});continue}i=a.moveBy(u.length+4),n.insertChildBefore(r,{kind:"interpolation",sourceSpan:new h(a,i),children:u.length===0?[]:[{kind:"text",value:u,sourceSpan:new h(a.moveBy(2),i.moveBy(-2))}]})}n.removeChild(r)}})}function mo(e){let t=e.tokens?.filter(i=>i.type===Ms.INTERPOLATION&&i.parts.length===3);if(!t?.some(i=>i.parts[1].includes("}}")))return e.value.split(/\{\{(.+?)\}\}/s);let n=[],{content:r}=e.sourceSpan.start.file,a=e.sourceSpan.start.offset;for(let{parts:i,sourceSpan:s}of t)n.push(r.slice(a,s.start.offset),r.slice(s.start.offset+i[0].length,s.end.offset-i[2].length)),a=s.end.offset;return n.push(r.slice(a,e.sourceSpan.end.offset)),n}function go(e,t){e.walk(n=>{let r=n.$children;if(!r)return;if(r.length===0||r.length===1&&r[0].kind==="text"&&T.trim(r[0].value).length===0){n.hasDanglingSpaces=r.length>0,n.$children=[];return}let a=ga(n,t),i=Dn(n);if(!a)for(let s=0;s<r.length;s++){let o=r[s];if(o.kind!=="text")continue;let{leadingWhitespace:u,text:l,trailingWhitespace:c}=ha(o.value),f=o.prev,g=o.next;l?(o.value=l,o.sourceSpan=new h(o.sourceSpan.start.moveBy(u.length),o.sourceSpan.end.moveBy(-c.length)),u&&(f&&(f.hasTrailingSpaces=!0),o.hasLeadingSpaces=!0),c&&(o.hasTrailingSpaces=!0,g&&(g.hasLeadingSpaces=!0))):(n.removeChild(o),s--,(u||c)&&(f&&(f.hasTrailingSpaces=!0),g&&(g.hasLeadingSpaces=!0)))}n.isWhitespaceSensitive=a,n.isIndentationSensitive=i})}function fo(e){e.walk(t=>{t.isSelfClosing=!t.children||t.kind==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function vo(e,t){e.walk(n=>{n.kind==="element"&&(n.hasHtmComponentClosingTag=n.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(n.endSourceSpan.start.offset,n.endSourceSpan.end.offset)))})}function Co(e,t){e.walk(n=>{n.cssDisplay=La(n,t)})}function _o(e,t){e.walk(n=>{let{children:r}=n;if(r){if(r.length===0){n.isDanglingSpaceSensitive=Ca(n,t);return}for(let a of r)a.isLeadingSpaceSensitive=fa(a,t),a.isTrailingSpaceSensitive=va(a,t);for(let a=0;a<r.length;a++){let i=r[a];i.isLeadingSpaceSensitive=(a===0||i.prev.isTrailingSpaceSensitive)&&i.isLeadingSpaceSensitive,i.isTrailingSpaceSensitive=(a===r.length-1||i.next.isLeadingSpaceSensitive)&&i.isTrailingSpaceSensitive}}})}var So=so;function ko(e,t,n){let{node:r}=e;switch(r.kind){case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(r),[b(xt(e,t,n)),_];case"element":case"ieConditionalComment":return os(e,t,n);case"angularControlFlowBlock":return Xi(e,t,n);case"angularControlFlowBlockParameters":return Zi(e,t,n);case"angularControlFlowBlockParameter":return T.trim(r.expression);case"angularLetDeclaration":return b(["@let ",b([r.id," =",b(L([S,n("init")]))]),";"]);case"angularLetDeclarationInitializer":return r.value;case"angularIcuExpression":return es(e,t,n);case"angularIcuCase":return ts(e,t,n);case"ieConditionalStartComment":case"ieConditionalEndComment":return[ve(r),fe(r)];case"interpolation":return[ve(r,t),...e.map(n,"children"),fe(r,t)];case"text":return cs(e,t);case"docType":return[b([ve(r,t)," ",A(0,r.value.replace(/^html\b/i,"html"),/\s+/g," ")]),fe(r,t)];case"comment":return[j(r,t),D(t.originalText.slice(Z(r),je(r))),$(r,t)];case"cdata":return[j(r,t),"<![CDATA[",D(r.value),"]]>",$(r,t)];case"attribute":return ss(e,t);case"startTagComment":return us(e);default:throw new Pr(r,"HTML")}}var bo={features:{experimental_frontMatterSupport:{massageAstNode:!0,embed:!0,print:!0}},preprocess:So,print:ko,insertPragma:ji,massageAstNode:$n,embed:Li,getVisitorKeys:Oi},wo=bo,Eo=[{name:"Angular",type:"markup",aceMode:"html",extensions:[".component.html"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["angular"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"HTML",type:"markup",aceMode:"html",extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],tmScope:"text.html.basic",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["html"],vscodeLanguageIds:["html"],linguistLanguageId:146},{name:"Lightning Web Components",type:"markup",aceMode:"html",extensions:[],tmScope:"text.html.basic",aliases:["LWC","lwc"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"MJML",type:"markup",aceMode:"html",extensions:[".mjml"],tmScope:"text.mjml.basic",aliases:["MJML","mjml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["mjml"],filenames:[],vscodeLanguageIds:["mjml"],linguistLanguageId:146},{name:"Vue",type:"markup",aceMode:"vue",extensions:[".vue"],tmScope:"text.html.vue",codemirrorMode:"vue",codemirrorMimeType:"text/x-vue",parsers:["vue"],vscodeLanguageIds:["vue"],linguistLanguageId:391}],tn={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."}},nn="HTML",Ao={bracketSameLine:tn.bracketSameLine,htmlWhitespaceSensitivity:{category:nn,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:tn.singleAttributePerLine,vueIndentScriptAndStyle:{category:nn,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},yo=Ao,rr={};cn(rr,{angular:()=>tu,html:()=>Qo,lwc:()=>ru,mjml:()=>eu,vue:()=>nu});function To(e,t){let n=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(n,t)}var xo=To,Do={canSelfClose:!0,normalizeTagName:!1,normalizeAttributeName:!1,allowHtmComponentClosingTags:!1,allowStartTagComments:!1,isTagNameCaseSensitive:!1,shouldParseFrontMatter:!0};function ar(e){return{...Do,...e}}function ir(e){let{canSelfClose:t,allowHtmComponentClosingTags:n,allowStartTagComments:r,isTagNameCaseSensitive:a,shouldParseAsRawText:i,tokenizeAngularBlocks:s,tokenizeAngularLetDeclaration:o}=e;return{canSelfClose:t,allowHtmComponentClosingTags:n,allowStartTagComments:r,isTagNameCaseSensitive:a,getTagContentType:i?(...u)=>i(...u)?ps.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:s,tokenizeAngularLetDeclaration:o}}var Bo=new Map([["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","loading","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","bottommargin","leftmargin","link","rightmargin","text","topmargin","vlink"])],["br",new Set(["clear"])],["button",new Set(["command","commandfor","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","bgcolor","char","charoff","span","valign","width"])],["colgroup",new Set(["align","bgcolor","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["closedby","open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","rel","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","color","noshade","size","width"])],["html",new Set(["manifest","version","xmlns"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","controls","crossorigin","decoding","elementtiming","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alpha","alt","autocomplete","checked","colorspace","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["action","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","wrap"])],["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","bgcolor","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["for","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootmode","shadowrootserializable","shadowrootslotassignment"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","bgcolor","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","bgcolor","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","loading","loop","muted","playsinline","poster","preload","src","width"])]]),Lo=new Set(["accesskey","autocapitalize","autocorrect","autofocus","class","contenteditable","dir","draggable","enterkeyhint","exportparts","headingoffset","headingreset","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","part","popover","slot","spellcheck","style","tabindex","title","translate","writingsuggestions"]),rn=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","em","embed","fencedframe","fieldset","figcaption","figure","font","footer","form","frame","frameset","geolocation","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","selectedcontent","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),Me={attrs:!0,children:!0,cases:!0,expression:!0},an=new Set(["parent"]),Q,ct,pt,No=class ge{constructor(t={}){cr(this,Q),Lt(this,"kind"),Lt(this,"parent");for(let n of new Set([...an,...Object.keys(t)]))this.setProperty(n,t[n]);if(ze(t))for(let n of Object.getOwnPropertySymbols(t))this.setProperty(n,t[n])}setProperty(t,n){if(this[t]!==n){if(t in Me&&(n=n.map(r=>this.createChild(r))),!an.has(t)){this[t]=n;return}Object.defineProperty(this,t,{value:n,enumerable:!1,configurable:!0})}}map(t){let n;for(let r in Me){let a=this[r];if(a){let i=Io(a,s=>s.map(t));n!==a&&(n??(n=new ge({parent:this.parent})),n.setProperty(r,i))}}if(n)for(let r in this)r in Me||(n[r]=this[r]);return t(n||this)}walk(t){for(let n in Me){let r=this[n];if(r)for(let a=0;a<r.length;a++)r[a].walk(t)}t(this)}createChild(t){let n=t instanceof ge?t.clone():new ge(t);return n.setProperty("parent",this),n}insertChildBefore(t,n){let r=this.$children;r.splice(r.indexOf(t),0,this.createChild(n))}removeChild(t){let n=this.$children;n.splice(n.indexOf(t),1)}replaceChild(t,n){let r=this.$children;r[r.indexOf(t)]=this.createChild(n)}clone(){return new ge(this)}get $children(){return this[Ne(this,Q,ct)]}set $children(t){this[Ne(this,Q,ct)]=t}get firstChild(){return this.$children?.[0]}get lastChild(){return te(1,this.$children,-1)}get prev(){let t=Ne(this,Q,pt);return t[t.indexOf(this)-1]}get next(){let t=Ne(this,Q,pt);return t[t.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(t=>[t.fullName,t.value]))}};Q=new WeakSet,ct=function(){return this.kind==="angularIcuCase"?"expression":this.kind==="angularIcuExpression"?"cases":"children"},pt=function(){return this.parent?.$children??[]};var Fo=No;function Io(e,t){let n=e.map(t);return n.some((r,a)=>r!==e[a])?n:e}var qo=[{regex:/^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/s,parse:Mo},{regex:/^\[if(?<condition>[^\]]*)\]><!$/,parse:Oo},{regex:/^<!\s*\[endif\]$/,parse:Ro}];function Po(e,t){if(e.value)for(let{regex:n,parse:r}of qo){let a=e.value.match(n);if(a)return r(e,a,t)}return null}function Mo(e,t,n){let{openingTagSuffix:r,condition:a,data:i}=t.groups,s=4+r.length,o=e.sourceSpan.start.moveBy(s),u=o.moveBy(i.length),[l,c]=(()=>{try{return[!0,n(i,o).children]}catch{return[!1,[{kind:"text",value:i,sourceSpan:new h(o,u)}]]}})();return{kind:"ieConditionalComment",complete:l,children:c,condition:A(0,a.trim(),/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new h(e.sourceSpan.start,o),endSourceSpan:new h(u,e.sourceSpan.end)}}function Oo(e,t){let{condition:n}=t.groups;return{kind:"ieConditionalStartComment",condition:A(0,n.trim(),/\s+/g," "),sourceSpan:e.sourceSpan}}function Ro(e){return{kind:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}var Ho=class extends Ps{visitExpansionCase(e,t){t.parseOptions.name==="angular"&&this.visitChildren(t,n=>{n(e.expression)})}visit(e,{parseOptions:t}){$o(e),jo(e,t),Xo(e,t),Go(e)}};function Uo(e,t,n,r){let a=n.name==="angular";Zn(new Ho,e.children,{parseOptions:n}),t&&e.children.unshift(t);let i=new Fo(e);return i.walk(s=>{if(s.kind==="comment"){let o=Po(s,r);o&&s.parent.replaceChild(s,o)}else a&&s.kind==="element"&&s.comments&&(s.startTagComments=s.comments,delete s.comments);a&&(Vo(s),zo(s),Wo(s))}),i}function Vo(e){if(e.kind==="block"){if(e.name=A(0,e.name.toLowerCase(),/\s+/g," ").trim(),e.kind="angularControlFlowBlock",!Ve(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.kind="angularControlFlowBlockParameter";e.parameters={kind:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new h(e.parameters[0].sourceSpan.start,te(0,e.parameters,-1).sourceSpan.end)}}}function zo(e){e.kind==="letDeclaration"&&(e.kind="angularLetDeclaration",e.id=e.name,e.init={kind:"angularLetDeclarationInitializer",sourceSpan:new h(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function Wo(e){e.kind==="expansion"&&(e.kind="angularIcuExpression"),e.kind==="expansionCase"&&(e.kind="angularIcuCase")}function sn(e,t){let n=e.toLowerCase();return t(n)?n:e}function on(e){let t=e.name.startsWith(":")?e.name.slice(1).split(":",1)[0]:null,n=e.nameSpan.toString(),r=t!==null&&n.startsWith(`${t}:`),a=r?n.slice(t.length+1):n;e.name=a,e.namespace=t,e.hasExplicitNamespace=r}function $o(e){switch(e.kind){case"element":on(e);for(let t of e.attrs)on(t),t.valueSpan?(t.value=t.valueSpan.toString(),/["']/.test(t.value[0])&&(t.value=t.value.slice(1,-1))):t.value=null;break;case"comment":e.value=e.sourceSpan.toString().slice(4,-3);break;case"text":e.value=e.sourceSpan.toString();break}}function jo(e,t){if(e.kind==="element"){let n=at(t.isTagNameCaseSensitive?e.name:e.name.toLowerCase());!e.namespace||e.namespace===n.implicitNamespacePrefix||Ae(e)?e.tagDefinition=n:e.tagDefinition=at("")}}function Go(e){e.sourceSpan&&e.endSourceSpan&&(e.sourceSpan=new h(e.sourceSpan.start,e.endSourceSpan.end))}function Xo(e,t){if(e.kind==="element"&&(t.normalizeTagName&&(!e.namespace||e.namespace===e.tagDefinition.implicitNamespacePrefix||Ae(e))&&(e.name=sn(e.name,n=>rn.has(n))),t.normalizeAttributeName))for(let n of e.attrs)n.namespace||(n.name=sn(n.name,r=>rn.has(e.name)&&(Lo.has(r)||Bo.get(e.name)?.has(r))))}function sr(e,t){let{rootNodes:n,errors:r}=ut(e,ir(t));return r.length>0&&ht(r[0]),{parseOptions:t,rootNodes:n}}function Ko(e,t){let n=ir(t),{rootNodes:r,errors:a}=ut(e,n);if(r.some(u=>u.kind==="docType"&&u.value==="html"||u.kind==="element"&&u.name.toLowerCase()==="html"))return sr(e,Bt);let i,s=()=>i??(i=ut(e,{...n,getTagContentType:void 0})),o=u=>{let{offset:l}=u.startSourceSpan.start;return s().rootNodes.find(c=>c.kind==="element"&&c.startSourceSpan.start.offset===l)??u};for(let[u,l]of r.entries())if(l.kind==="element"){if(l.isVoid)a=s().errors,r[u]=o(l);else if(Yo(l)){let{endSourceSpan:c,startSourceSpan:f}=l,g=s().errors.find(p=>p.span.start.offset>f.start.offset&&p.span.start.offset<c.end.offset);g&&ht(g),r[u]=o(l)}}return a.length>0&&ht(a[0]),{parseOptions:t,rootNodes:r}}function Yo(e){if(e.kind!=="element"||e.name!=="template")return!1;let t=e.attrs.find(n=>n.name==="lang")?.value;return!t||t==="html"}function ht(e){let{msg:t,span:{start:n,end:r}}=e;throw xo(t,{loc:{start:{line:n.line+1,column:n.col+1},end:{line:r.line+1,column:r.col+1}},cause:e})}function Jo(e,t,n,r,a,i){let{offset:s}=r,o=An(t.slice(0,s))+n,u=or(o,e,{...a,shouldParseFrontMatter:!1},i);u.sourceSpan=new h(r,te(0,u.children,-1).sourceSpan.end);let l=u.children[0];return l.length===s?u.children.shift():(l.sourceSpan=new h(l.sourceSpan.start.moveBy(s),l.sourceSpan.end),l.value=l.value.slice(s)),u}function or(e,t,n,r={}){let{frontMatter:a,content:i}=n.shouldParseFrontMatter?aa(e):{content:e},s=new Qn(e,r.filepath),o=new it(s,0,0,0),u=o.moveBy(e.length),{parseOptions:l,rootNodes:c}=t(i,n),f={kind:"root",sourceSpan:new h(o,u),children:c},g;if(a){let[p,d]=[a.start,a.end].map(v=>new it(s,v.index,v.line-1,v.column));g={...a,kind:"frontMatter",sourceSpan:new h(p,d)}}return Uo(f,g,l,(p,d)=>Jo(t,e,p,d,l,r))}var Bt=ar({name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0});function Be(e){let t=ar(e),n=t.name==="vue"?Ko:sr;return{parse:(r,a)=>or(r,n,t,a),hasPragma:Wi,hasIgnorePragma:$i,astFormat:"html",locStart:Z,locEnd:je}}var Qo=Be(Bt),Zo=new Set(["mj-style","mj-raw"]),eu=Be({...Bt,name:"mjml",shouldParseAsRawText:e=>Zo.has(e)}),tu=Be({name:"angular",tokenizeAngularBlocks:!0,tokenizeAngularLetDeclaration:!0,allowStartTagComments:!0}),nu=Be({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(e,t,n,r){return e.toLowerCase()!=="html"&&!n&&(e!=="template"||r.some(({name:a,value:i})=>a==="lang"&&i!=="html"&&i!==""&&i!==void 0))}}),ru=Be({name:"lwc",canSelfClose:!1}),au={html:wo};export{pr as default,Eo as languages,yo as options,rr as parsers,au as printers};
|