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