import{o as vc}from"./vc-shell-vendor-boolbase32435.js";function Cc(t,n){for(var i=0;i<n.length;i++){const o=n[i];if(typeof o!="string"&&!Array.isArray(o)){for(const u in o)if(u!=="default"&&!(u in t)){const c=Object.getOwnPropertyDescriptor(o,u);c&&Object.defineProperty(t,u,c.get?c:{enumerable:!0,get:()=>o[u]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var yc=Object.create,nn=Object.defineProperty,bc=Object.getOwnPropertyDescriptor,Fc=Object.getOwnPropertyNames,Sc=Object.getPrototypeOf,wc=Object.prototype.hasOwnProperty,Ei=t=>{throw TypeError(t)},Ec=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),an=(t,n)=>{for(var i in n)nn(t,i,{get:n[i],enumerable:!0})},_c=(t,n,i,o)=>{if(n&&typeof n=="object"||typeof n=="function")for(let u of Fc(n))!wc.call(t,u)&&u!==i&&nn(t,u,{get:()=>n[u],enumerable:!(o=bc(n,u))||o.enumerable});return t},kc=(t,n,i)=>(i=t!=null?yc(Sc(t)):{},_c(nn(i,"default",{value:t,enumerable:!0}),t)),xc=(t,n,i)=>n.has(t)||Ei("Cannot "+i),Tc=(t,n,i)=>n.has(t)?Ei("Cannot add the same private member more than once"):n instanceof WeakSet?n.add(t):n.set(t,i),Ft=(t,n,i)=>(xc(t,n,"access private method"),i),Ac=Ec(t=>{Object.defineProperty(t,"__esModule",{value:!0});function n(){return new Proxy({},{get:()=>c=>c})}var i=/\r\n|[\n\r\u2028\u2029]/;function o(c,h,d){let f=Object.assign({column:0,line:-1},c.start),D=Object.assign({},f,c.end),{linesAbove:v=2,linesBelow:F=3}=d||{},g=f.line,y=f.column,b=D.line,k=D.column,E=Math.max(g-(v+1),0),T=Math.min(h.length,b+F);g===-1&&(E=0),b===-1&&(T=h.length);let A=b-g,P={};if(A)for(let R=0;R<=A;R++){let M=R+g;if(!y)P[M]=!0;else if(R===0){let $=h[M-1].length;P[M]=[y,$-y+1]}else if(R===A)P[M]=[0,k];else{let $=h[M-R].length;P[M]=[0,$]}}else y===k?y?P[g]=[y,0]:P[g]=!0:P[g]=[y,k-y];return{start:E,end:T,markerLines:P}}function u(c,h,d={}){let f=n(),D=c.split(i),{start:v,end:F,markerLines:g}=o(h,D,d),y=h.start&&typeof h.start.column=="number",b=String(F).length,k=c.split(i,F).slice(v,F).map((E,T)=>{let A=v+1+T,P=` ${` ${A}`.slice(-b)} |`,R=g[A],M=!g[A+1];if(R){let $="";if(Array.isArray(R)){let ie=E.slice(0,Math.max(R[0]-1,0)).replace(/[^\t]/g," "),Ne=R[1]||1;$=[`
 `,f.gutter(P.replace(/\d/g," "))," ",ie,f.marker("^").repeat(Ne)].join(""),M&&d.message&&($+=" "+f.message(d.message))}return[f.marker(">"),f.gutter(P),E.length>0?` ${E}`:"",$].join("")}else return` ${f.gutter(P)}${E.length>0?` ${E}`:""}`}).join(`
`);return d.message&&!y&&(k=`${" ".repeat(b+1)}${d.message}
${k}`),k}t.codeFrameColumns=u}),Bc={};an(Bc,{__debug:()=>$d,check:()=>jd,doc:()=>us,format:()=>ps,formatWithCursor:()=>cs,getSupportInfo:()=>Hd,util:()=>ls,version:()=>fd});var Lc=(t,n,i,o)=>{if(!(t&&n==null))return n.replaceAll?n.replaceAll(i,o):i.global?n.replace(i,o):n.split(i).join(o)},sr=Lc,Nc=class{diff(t,n,i={}){let o;typeof i=="function"?(o=i,i={}):"callback"in i&&(o=i.callback);let u=this.castInput(t,i),c=this.castInput(n,i),h=this.removeEmpty(this.tokenize(u,i)),d=this.removeEmpty(this.tokenize(c,i));return this.diffWithOptionsObj(h,d,i,o)}diffWithOptionsObj(t,n,i,o){var u;let c=T=>{if(T=this.postProcess(T,i),o){setTimeout(function(){o(T)},0);return}else return T},h=n.length,d=t.length,f=1,D=h+d;i.maxEditLength!=null&&(D=Math.min(D,i.maxEditLength));let v=(u=i.timeout)!==null&&u!==void 0?u:1/0,F=Date.now()+v,g=[{oldPos:-1,lastComponent:void 0}],y=this.extractCommon(g[0],n,t,0,i);if(g[0].oldPos+1>=d&&y+1>=h)return c(this.buildValues(g[0].lastComponent,n,t));let b=-1/0,k=1/0,E=()=>{for(let T=Math.max(b,-f);T<=Math.min(k,f);T+=2){let A,P=g[T-1],R=g[T+1];P&&(g[T-1]=void 0);let M=!1;if(R){let ie=R.oldPos-T;M=R&&0<=ie&&ie<h}let $=P&&P.oldPos+1<d;if(!M&&!$){g[T]=void 0;continue}if(!$||M&&P.oldPos<R.oldPos?A=this.addToPath(R,!0,!1,0,i):A=this.addToPath(P,!1,!0,1,i),y=this.extractCommon(A,n,t,T,i),A.oldPos+1>=d&&y+1>=h)return c(this.buildValues(A.lastComponent,n,t))||!0;g[T]=A,A.oldPos+1>=d&&(k=Math.min(k,T-1)),y+1>=h&&(b=Math.max(b,T+1))}f++};if(o)(function T(){setTimeout(function(){if(f>D||Date.now()>F)return o(void 0);E()||T()},0)})();else for(;f<=D&&Date.now()<=F;){let T=E();if(T)return T}}addToPath(t,n,i,o,u){let c=t.lastComponent;return c&&!u.oneChangePerToken&&c.added===n&&c.removed===i?{oldPos:t.oldPos+o,lastComponent:{count:c.count+1,added:n,removed:i,previousComponent:c.previousComponent}}:{oldPos:t.oldPos+o,lastComponent:{count:1,added:n,removed:i,previousComponent:c}}}extractCommon(t,n,i,o,u){let c=n.length,h=i.length,d=t.oldPos,f=d-o,D=0;for(;f+1<c&&d+1<h&&this.equals(i[d+1],n[f+1],u);)f++,d++,D++,u.oneChangePerToken&&(t.lastComponent={count:1,previousComponent:t.lastComponent,added:!1,removed:!1});return D&&!u.oneChangePerToken&&(t.lastComponent={count:D,previousComponent:t.lastComponent,added:!1,removed:!1}),t.oldPos=d,f}equals(t,n,i){return i.comparator?i.comparator(t,n):t===n||!!i.ignoreCase&&t.toLowerCase()===n.toLowerCase()}removeEmpty(t){let n=[];for(let i=0;i<t.length;i++)t[i]&&n.push(t[i]);return n}castInput(t,n){return t}tokenize(t,n){return Array.from(t)}join(t){return t.join("")}postProcess(t,n){return t}get useLongestToken(){return!1}buildValues(t,n,i){let o=[],u;for(;t;)o.push(t),u=t.previousComponent,delete t.previousComponent,t=u;o.reverse();let c=o.length,h=0,d=0,f=0;for(;h<c;h++){let D=o[h];if(D.removed)D.value=this.join(i.slice(f,f+D.count)),f+=D.count;else{if(!D.added&&this.useLongestToken){let v=n.slice(d,d+D.count);v=v.map(function(F,g){let y=i[f+g];return y.length>F.length?y:F}),D.value=this.join(v)}else D.value=this.join(n.slice(d,d+D.count));d+=D.count,D.added||(f+=D.count)}}return o}},Ic=class extends Nc{tokenize(t){return t.slice()}join(t){return t}removeEmpty(t){return t}},qc=new Ic;function Pc(t,n,i){return qc.diff(t,n,i)}function Oc(t){let n=t.indexOf("\r");return n!==-1?t.charAt(n+1)===`
`?"crlf":"cr":"lf"}function sn(t){switch(t){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}function _i(t,n){let i;switch(n){case`
`:i=/\n/gu;break;case"\r":i=/\r/gu;break;case`\r
`:i=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(n)}.`)}let o=t.match(i);return o?o.length:0}function Mc(t){return sr(!1,t,/\r\n?/gu,`
`)}var We="string",ye="array",Be="cursor",be="indent",Fe="align",Se="trim",ne="group",me="fill",ae="if-break",we="indent-if-break",Ee="line-suffix",_e="line-suffix-boundary",X="line",De="label",oe="break-parent",ki=new Set([Be,be,Fe,Se,ne,me,ae,we,Ee,_e,X,De,oe]),Rc=(t,n,i)=>{if(!(t&&n==null))return Array.isArray(n)||typeof n=="string"?n[i<0?n.length+i:i]:n.at(i)},K=Rc;function jc(t){let n=t.length;for(;n>0&&(t[n-1]==="\r"||t[n-1]===`
`);)n--;return n<t.length?t.slice(0,n):t}function Hc(t){if(typeof t=="string")return We;if(Array.isArray(t))return ye;if(!t)return;let{type:n}=t;if(ki.has(n))return n}var ze=Hc,$c=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function Uc(t){let n=t===null?"null":typeof t;if(n!=="string"&&n!=="object")return`Unexpected doc '${n}', 
Expected it to be 'string' or 'object'.`;if(ze(t))throw new Error("doc is valid.");let i=Object.prototype.toString.call(t);if(i!=="[object Object]")return`Unexpected doc '${i}'.`;let o=$c([...ki].map(u=>`'${u}'`));return`Unexpected doc.type '${t.type}'.
Expected it to be ${o}.`}var Vc=class extends Error{name="InvalidDocError";constructor(t){super(Uc(t)),this.doc=t}},it=Vc,Ga={};function Wc(t,n,i,o){let u=[t];for(;u.length>0;){let c=u.pop();if(c===Ga){i(u.pop());continue}i&&u.push(c,Ga);let h=ze(c);if(!h)throw new it(c);if(n?.(c)!==!1)switch(h){case ye:case me:{let d=h===ye?c:c.parts;for(let f=d.length,D=f-1;D>=0;--D)u.push(d[D]);break}case ae:u.push(c.flatContents,c.breakContents);break;case ne:if(o&&c.expandedStates)for(let d=c.expandedStates.length,f=d-1;f>=0;--f)u.push(c.expandedStates[f]);else u.push(c.contents);break;case Fe:case be:case we:case De:case Ee:u.push(c.contents);break;case We:case Be:case Se:case _e:case X:case oe:break;default:throw new it(c)}}}var on=Wc;function or(t,n){if(typeof t=="string")return n(t);let i=new Map;return o(t);function o(c){if(i.has(c))return i.get(c);let h=u(c);return i.set(c,h),h}function u(c){switch(ze(c)){case ye:return n(c.map(o));case me:return n({...c,parts:c.parts.map(o)});case ae:return n({...c,breakContents:o(c.breakContents),flatContents:o(c.flatContents)});case ne:{let{expandedStates:h,contents:d}=c;return h?(h=h.map(o),d=h[0]):d=o(d),n({...c,contents:d,expandedStates:h})}case Fe:case be:case we:case De:case Ee:return n({...c,contents:o(c.contents)});case We:case Be:case Se:case _e:case X:case oe:return n(c);default:throw new it(c)}}}function un(t,n,i){let o=i,u=!1;function c(h){if(u)return!1;let d=n(h);d!==void 0&&(u=!0,o=d)}return on(t,c),o}function zc(t){if(t.type===ne&&t.break||t.type===X&&t.hard||t.type===oe)return!0}function Gc(t){return un(t,zc,!1)}function Ja(t){if(t.length>0){let n=K(!1,t,-1);!n.expandedStates&&!n.break&&(n.break="propagated")}return null}function Jc(t){let n=new Set,i=[];function o(c){if(c.type===oe&&Ja(i),c.type===ne){if(i.push(c),n.has(c))return!1;n.add(c)}}function u(c){c.type===ne&&i.pop().break&&Ja(i)}on(t,o,u,!0)}function Kc(t){return t.type===X&&!t.hard?t.soft?"":" ":t.type===ae?t.flatContents:t}function Yc(t){return or(t,Kc)}function Ka(t){for(t=[...t];t.length>=2&&K(!1,t,-2).type===X&&K(!1,t,-1).type===oe;)t.length-=2;if(t.length>0){let n=wt(K(!1,t,-1));t[t.length-1]=n}return t}function wt(t){switch(ze(t)){case be:case we:case ne:case Ee:case De:{let n=wt(t.contents);return{...t,contents:n}}case ae:return{...t,breakContents:wt(t.breakContents),flatContents:wt(t.flatContents)};case me:return{...t,parts:Ka(t.parts)};case ye:return Ka(t);case We:return jc(t);case Fe:case Be:case Se:case _e:case X:case oe:break;default:throw new it(t)}return t}function xi(t){return wt(Qc(t))}function Xc(t){switch(ze(t)){case me:if(t.parts.every(n=>n===""))return"";break;case ne:if(!t.contents&&!t.id&&!t.break&&!t.expandedStates)return"";if(t.contents.type===ne&&t.contents.id===t.id&&t.contents.break===t.break&&t.contents.expandedStates===t.expandedStates)return t.contents;break;case Fe:case be:case we:case Ee:if(!t.contents)return"";break;case ae:if(!t.flatContents&&!t.breakContents)return"";break;case ye:{let n=[];for(let i of t){if(!i)continue;let[o,...u]=Array.isArray(i)?i:[i];typeof o=="string"&&typeof K(!1,n,-1)=="string"?n[n.length-1]+=o:n.push(o),n.push(...u)}return n.length===0?"":n.length===1?n[0]:n}case We:case Be:case Se:case _e:case X:case De:case oe:break;default:throw new it(t)}return t}function Qc(t){return or(t,n=>Xc(n))}function Zc(t,n=Li){return or(t,i=>typeof i=="string"?Ni(n,i.split(`
`)):i)}function ep(t){if(t.type===X)return!0}function tp(t){return un(t,ep,!1)}function tr(t,n){return t.type===De?{...t,contents:n(t.contents)}:n(t)}function ir(t){return{type:be,contents:t}}function st(t,n){return{type:Fe,contents:n,n:t}}function Ti(t,n={}){return{type:ne,id:n.id,contents:t,break:!!n.shouldBreak,expandedStates:n.expandedStates}}function rp(t){return st(Number.NEGATIVE_INFINITY,t)}function np(t){return st({type:"root"},t)}function ap(t){return st(-1,t)}function ip(t,n){return Ti(t[0],{...n,expandedStates:t})}function sp(t){return{type:me,parts:t}}function op(t,n="",i={}){return{type:ae,breakContents:t,flatContents:n,groupId:i.groupId}}function up(t,n){return{type:we,contents:t,groupId:n.groupId,negate:n.negate}}function Gr(t){return{type:Ee,contents:t}}var lp={type:_e},ur={type:oe},cp={type:Se},ln={type:X,hard:!0},Ai={type:X,hard:!0,literal:!0},Bi={type:X},pp={type:X,soft:!0},Ue=[ln,ur],Li=[Ai,ur],$e={type:Be};function Ni(t,n){let i=[];for(let o=0;o<n.length;o++)o!==0&&i.push(t),i.push(n[o]);return i}function Ii(t,n,i){let o=t;if(n>0){for(let u=0;u<Math.floor(n/i);++u)o=ir(o);o=st(n%i,o),o=st(Number.NEGATIVE_INFINITY,o)}return o}function hp(t,n){return t?{type:De,label:t,contents:n}:n}function Ce(t){var n;if(!t)return"";if(Array.isArray(t)){let i=[];for(let o of t)if(Array.isArray(o))i.push(...Ce(o));else{let u=Ce(o);u!==""&&i.push(u)}return i}return t.type===ae?{...t,breakContents:Ce(t.breakContents),flatContents:Ce(t.flatContents)}:t.type===ne?{...t,contents:Ce(t.contents),expandedStates:(n=t.expandedStates)==null?void 0:n.map(Ce)}:t.type===me?{type:"fill",parts:t.parts.map(Ce)}:t.contents?{...t,contents:Ce(t.contents)}:t}function dp(t){let n=Object.create(null),i=new Set;return o(Ce(t));function o(c,h,d){var f,D;if(typeof c=="string")return JSON.stringify(c);if(Array.isArray(c)){let v=c.map(o).filter(Boolean);return v.length===1?v[0]:`[${v.join(", ")}]`}if(c.type===X){let v=((f=d?.[h+1])==null?void 0:f.type)===oe;return c.literal?v?"literalline":"literallineWithoutBreakParent":c.hard?v?"hardline":"hardlineWithoutBreakParent":c.soft?"softline":"line"}if(c.type===oe)return((D=d?.[h-1])==null?void 0:D.type)===X&&d[h-1].hard?void 0:"breakParent";if(c.type===Se)return"trim";if(c.type===be)return"indent("+o(c.contents)+")";if(c.type===Fe)return c.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+o(c.contents)+")":c.n<0?"dedent("+o(c.contents)+")":c.n.type==="root"?"markAsRoot("+o(c.contents)+")":"align("+JSON.stringify(c.n)+", "+o(c.contents)+")";if(c.type===ae)return"ifBreak("+o(c.breakContents)+(c.flatContents?", "+o(c.flatContents):"")+(c.groupId?(c.flatContents?"":', ""')+`, { groupId: ${u(c.groupId)} }`:"")+")";if(c.type===we){let v=[];c.negate&&v.push("negate: true"),c.groupId&&v.push(`groupId: ${u(c.groupId)}`);let F=v.length>0?`, { ${v.join(", ")} }`:"";return`indentIfBreak(${o(c.contents)}${F})`}if(c.type===ne){let v=[];c.break&&c.break!=="propagated"&&v.push("shouldBreak: true"),c.id&&v.push(`id: ${u(c.id)}`);let F=v.length>0?`, { ${v.join(", ")} }`:"";return c.expandedStates?`conditionalGroup([${c.expandedStates.map(g=>o(g)).join(",")}]${F})`:`group(${o(c.contents)}${F})`}if(c.type===me)return`fill([${c.parts.map(v=>o(v)).join(", ")}])`;if(c.type===Ee)return"lineSuffix("+o(c.contents)+")";if(c.type===_e)return"lineSuffixBoundary";if(c.type===De)return`label(${JSON.stringify(c.label)}, ${o(c.contents)})`;if(c.type===Be)return"cursor";throw new Error("Unknown doc type "+c.type)}function u(c){if(typeof c!="symbol")return JSON.stringify(String(c));if(c in n)return n[c];let h=c.description||"symbol";for(let d=0;;d++){let f=h+(d>0?` #${d}`:"");if(!i.has(f))return i.add(f),n[c]=`Symbol.for(${JSON.stringify(f)})`}}}var fp=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function mp(t){return t===12288||t>=65281&&t<=65376||t>=65504&&t<=65510}function Dp(t){return t>=4352&&t<=4447||t===8986||t===8987||t===9001||t===9002||t>=9193&&t<=9196||t===9200||t===9203||t===9725||t===9726||t===9748||t===9749||t>=9776&&t<=9783||t>=9800&&t<=9811||t===9855||t>=9866&&t<=9871||t===9875||t===9889||t===9898||t===9899||t===9917||t===9918||t===9924||t===9925||t===9934||t===9940||t===9962||t===9970||t===9971||t===9973||t===9978||t===9981||t===9989||t===9994||t===9995||t===10024||t===10060||t===10062||t>=10067&&t<=10069||t===10071||t>=10133&&t<=10135||t===10160||t===10175||t===11035||t===11036||t===11088||t===11093||t>=11904&&t<=11929||t>=11931&&t<=12019||t>=12032&&t<=12245||t>=12272&&t<=12287||t>=12289&&t<=12350||t>=12353&&t<=12438||t>=12441&&t<=12543||t>=12549&&t<=12591||t>=12593&&t<=12686||t>=12688&&t<=12773||t>=12783&&t<=12830||t>=12832&&t<=12871||t>=12880&&t<=42124||t>=42128&&t<=42182||t>=43360&&t<=43388||t>=44032&&t<=55203||t>=63744&&t<=64255||t>=65040&&t<=65049||t>=65072&&t<=65106||t>=65108&&t<=65126||t>=65128&&t<=65131||t>=94176&&t<=94180||t===94192||t===94193||t>=94208&&t<=100343||t>=100352&&t<=101589||t>=101631&&t<=101640||t>=110576&&t<=110579||t>=110581&&t<=110587||t===110589||t===110590||t>=110592&&t<=110882||t===110898||t>=110928&&t<=110930||t===110933||t>=110948&&t<=110951||t>=110960&&t<=111355||t>=119552&&t<=119638||t>=119648&&t<=119670||t===126980||t===127183||t===127374||t>=127377&&t<=127386||t>=127488&&t<=127490||t>=127504&&t<=127547||t>=127552&&t<=127560||t===127568||t===127569||t>=127584&&t<=127589||t>=127744&&t<=127776||t>=127789&&t<=127797||t>=127799&&t<=127868||t>=127870&&t<=127891||t>=127904&&t<=127946||t>=127951&&t<=127955||t>=127968&&t<=127984||t===127988||t>=127992&&t<=128062||t===128064||t>=128066&&t<=128252||t>=128255&&t<=128317||t>=128331&&t<=128334||t>=128336&&t<=128359||t===128378||t===128405||t===128406||t===128420||t>=128507&&t<=128591||t>=128640&&t<=128709||t===128716||t>=128720&&t<=128722||t>=128725&&t<=128727||t>=128732&&t<=128735||t===128747||t===128748||t>=128756&&t<=128764||t>=128992&&t<=129003||t===129008||t>=129292&&t<=129338||t>=129340&&t<=129349||t>=129351&&t<=129535||t>=129648&&t<=129660||t>=129664&&t<=129673||t>=129679&&t<=129734||t>=129742&&t<=129756||t>=129759&&t<=129769||t>=129776&&t<=129784||t>=131072&&t<=196605||t>=196608&&t<=262141}var gp=t=>!(mp(t)||Dp(t)),vp=/[^\x20-\x7F]/u;function Cp(t){if(!t)return 0;if(!vp.test(t))return t.length;t=t.replace(fp(),"  ");let n=0;for(let i of t){let o=i.codePointAt(0);o<=31||o>=127&&o<=159||o>=768&&o<=879||(n+=gp(o)?1:2)}return n}var cn=Cp,re=Symbol("MODE_BREAK"),de=Symbol("MODE_FLAT"),nt=Symbol("cursor"),Jr=Symbol("DOC_FILL_PRINTED_LENGTH");function qi(){return{value:"",length:0,queue:[]}}function yp(t,n){return Kr(t,{type:"indent"},n)}function bp(t,n,i){return n===Number.NEGATIVE_INFINITY?t.root||qi():n<0?Kr(t,{type:"dedent"},i):n?n.type==="root"?{...t,root:t}:Kr(t,{type:typeof n=="string"?"stringAlign":"numberAlign",n},i):t}function Kr(t,n,i){let o=n.type==="dedent"?t.queue.slice(0,-1):[...t.queue,n],u="",c=0,h=0,d=0;for(let b of o)switch(b.type){case"indent":v(),i.useTabs?f(1):D(i.tabWidth);break;case"stringAlign":v(),u+=b.n,c+=b.n.length;break;case"numberAlign":h+=1,d+=b.n;break;default:throw new Error(`Unexpected type '${b.type}'`)}return g(),{...t,value:u,length:c,queue:o};function f(b){u+="	".repeat(b),c+=i.tabWidth*b}function D(b){u+=" ".repeat(b),c+=b}function v(){i.useTabs?F():g()}function F(){h>0&&f(h),y()}function g(){d>0&&D(d),y()}function y(){h=0,d=0}}function Yr(t){let n=0,i=0,o=t.length;e:for(;o--;){let u=t[o];if(u===nt){i++;continue}for(let c=u.length-1;c>=0;c--){let h=u[c];if(h===" "||h==="	")n++;else{t[o]=u.slice(0,c+1);break e}}}if(n>0||i>0)for(t.length=o+1;i-- >0;)t.push(nt);return n}function Zt(t,n,i,o,u,c){if(i===Number.POSITIVE_INFINITY)return!0;let h=n.length,d=[t],f=[];for(;i>=0;){if(d.length===0){if(h===0)return!0;d.push(n[--h]);continue}let{mode:D,doc:v}=d.pop(),F=ze(v);switch(F){case We:f.push(v),i-=cn(v);break;case ye:case me:{let g=F===ye?v:v.parts,y=v[Jr]??0;for(let b=g.length-1;b>=y;b--)d.push({mode:D,doc:g[b]});break}case be:case Fe:case we:case De:d.push({mode:D,doc:v.contents});break;case Se:i+=Yr(f);break;case ne:{if(c&&v.break)return!1;let g=v.break?re:D,y=v.expandedStates&&g===re?K(!1,v.expandedStates,-1):v.contents;d.push({mode:g,doc:y});break}case ae:{let g=(v.groupId?u[v.groupId]||de:D)===re?v.breakContents:v.flatContents;g&&d.push({mode:D,doc:g});break}case X:if(D===re||v.hard)return!0;v.soft||(f.push(" "),i--);break;case Ee:o=!0;break;case _e:if(o)return!1;break}}return!1}function lr(t,n){let i={},o=n.printWidth,u=sn(n.endOfLine),c=0,h=[{ind:qi(),mode:re,doc:t}],d=[],f=!1,D=[],v=0;for(Jc(t);h.length>0;){let{ind:g,mode:y,doc:b}=h.pop();switch(ze(b)){case We:{let k=u!==`
`?sr(!1,b,`
`,u):b;d.push(k),h.length>0&&(c+=cn(k));break}case ye:for(let k=b.length-1;k>=0;k--)h.push({ind:g,mode:y,doc:b[k]});break;case Be:if(v>=2)throw new Error("There are too many 'cursor' in doc.");d.push(nt),v++;break;case be:h.push({ind:yp(g,n),mode:y,doc:b.contents});break;case Fe:h.push({ind:bp(g,b.n,n),mode:y,doc:b.contents});break;case Se:c-=Yr(d);break;case ne:switch(y){case de:if(!f){h.push({ind:g,mode:b.break?re:de,doc:b.contents});break}case re:{f=!1;let k={ind:g,mode:de,doc:b.contents},E=o-c,T=D.length>0;if(!b.break&&Zt(k,h,E,T,i))h.push(k);else if(b.expandedStates){let A=K(!1,b.expandedStates,-1);if(b.break){h.push({ind:g,mode:re,doc:A});break}else for(let P=1;P<b.expandedStates.length+1;P++)if(P>=b.expandedStates.length){h.push({ind:g,mode:re,doc:A});break}else{let R=b.expandedStates[P],M={ind:g,mode:de,doc:R};if(Zt(M,h,E,T,i)){h.push(M);break}}}else h.push({ind:g,mode:re,doc:b.contents});break}}b.id&&(i[b.id]=K(!1,h,-1).mode);break;case me:{let k=o-c,E=b[Jr]??0,{parts:T}=b,A=T.length-E;if(A===0)break;let P=T[E+0],R=T[E+1],M={ind:g,mode:de,doc:P},$={ind:g,mode:re,doc:P},ie=Zt(M,[],k,D.length>0,i,!0);if(A===1){ie?h.push(M):h.push($);break}let Ne={ind:g,mode:de,doc:R},Ie={ind:g,mode:re,doc:R};if(A===2){ie?h.push(Ne,M):h.push(Ie,$);break}let ut=T[E+2],qe={ind:g,mode:y,doc:{...b,[Jr]:E+2}};Zt({ind:g,mode:de,doc:[P,R,ut]},[],k,D.length>0,i,!0)?h.push(qe,Ne,M):ie?h.push(qe,Ie,M):h.push(qe,Ie,$);break}case ae:case we:{let k=b.groupId?i[b.groupId]:y;if(k===re){let E=b.type===ae?b.breakContents:b.negate?b.contents:ir(b.contents);E&&h.push({ind:g,mode:y,doc:E})}if(k===de){let E=b.type===ae?b.flatContents:b.negate?ir(b.contents):b.contents;E&&h.push({ind:g,mode:y,doc:E})}break}case Ee:D.push({ind:g,mode:y,doc:b.contents});break;case _e:D.length>0&&h.push({ind:g,mode:y,doc:ln});break;case X:switch(y){case de:if(b.hard)f=!0;else{b.soft||(d.push(" "),c+=1);break}case re:if(D.length>0){h.push({ind:g,mode:y,doc:b},...D.reverse()),D.length=0;break}b.literal?g.root?(d.push(u,g.root.value),c=g.root.length):(d.push(u),c=0):(c-=Yr(d),d.push(u+g.value),c=g.length);break}break;case De:h.push({ind:g,mode:y,doc:b.contents});break;case oe:break;default:throw new it(b)}h.length===0&&D.length>0&&(h.push(...D.reverse()),D.length=0)}let F=d.indexOf(nt);if(F!==-1){let g=d.indexOf(nt,F+1);if(g===-1)return{formatted:d.filter(E=>E!==nt).join("")};let y=d.slice(0,F).join(""),b=d.slice(F+1,g).join(""),k=d.slice(g+1).join("");return{formatted:y+b+k,cursorNodeStart:y.length,cursorNodeText:b}}return{formatted:d.join("")}}function Fp(t,n,i=0){let o=0;for(let u=i;u<t.length;++u)t[u]==="	"?o=o+n-o%n:o++;return o}var pn=Fp,je,Xr,rr,Sp=class{constructor(t){Tc(this,je),this.stack=[t]}get key(){let{stack:t,siblings:n}=this;return K(!1,t,n===null?-2:-4)??null}get index(){return this.siblings===null?null:K(!1,this.stack,-2)}get node(){return K(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:t}=this,n=K(!1,t,-3);return Array.isArray(n)?n:null}get next(){let{siblings:t}=this;return t===null?null:t[this.index+1]}get previous(){let{siblings:t}=this;return t===null?null:t[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:t,index:n}=this;return t!==null&&n===t.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...Ft(this,je,rr).call(this)]}getName(){let{stack:t}=this,{length:n}=t;return n>1?K(!1,t,-2):null}getValue(){return K(!1,this.stack,-1)}getNode(t=0){let n=Ft(this,je,Xr).call(this,t);return n===-1?null:this.stack[n]}getParentNode(t=0){return this.getNode(t+1)}call(t,...n){let{stack:i}=this,{length:o}=i,u=K(!1,i,-1);for(let c of n)u=u[c],i.push(c,u);try{return t(this)}finally{i.length=o}}callParent(t,n=0){let i=Ft(this,je,Xr).call(this,n+1),o=this.stack.splice(i+1);try{return t(this)}finally{this.stack.push(...o)}}each(t,...n){let{stack:i}=this,{length:o}=i,u=K(!1,i,-1);for(let c of n)u=u[c],i.push(c,u);try{for(let c=0;c<u.length;++c)i.push(c,u[c]),t(this,c,u),i.length-=2}finally{i.length=o}}map(t,...n){let i=[];return this.each((o,u,c)=>{i[u]=t(o,u,c)},...n),i}match(...t){let n=this.stack.length-1,i=null,o=this.stack[n--];for(let u of t){if(o===void 0)return!1;let c=null;if(typeof i=="number"&&(c=i,i=this.stack[n--],o=this.stack[n--]),u&&!u(o,i,c))return!1;i=this.stack[n--],o=this.stack[n--]}return!0}findAncestor(t){for(let n of Ft(this,je,rr).call(this))if(t(n))return n}hasAncestor(t){for(let n of Ft(this,je,rr).call(this))if(t(n))return!0;return!1}};je=new WeakSet,Xr=function(t){let{stack:n}=this;for(let i=n.length-1;i>=0;i-=2)if(!Array.isArray(n[i])&&--t<0)return i;return-1},rr=function*(){let{stack:t}=this;for(let n=t.length-3;n>=0;n-=2){let i=t[n];Array.isArray(i)||(yield i)}};var wp=Sp,Pi=new Proxy(()=>{},{get:()=>Pi}),Qr=Pi;function Ep(t){return t!==null&&typeof t=="object"}var _p=Ep;function*cr(t,n){let{getVisitorKeys:i,filter:o=()=>!0}=n,u=c=>_p(c)&&o(c);for(let c of i(t)){let h=t[c];if(Array.isArray(h))for(let d of h)u(d)&&(yield d);else u(h)&&(yield h)}}function*kp(t,n){let i=[t];for(let o=0;o<i.length;o++){let u=i[o];for(let c of cr(u,n))yield c,i.push(c)}}function xp(t,n){return cr(t,n).next().done}function kt(t){return(n,i,o)=>{let u=!!(o!=null&&o.backwards);if(i===!1)return!1;let{length:c}=n,h=i;for(;h>=0&&h<c;){let d=n.charAt(h);if(t instanceof RegExp){if(!t.test(d))return h}else if(!t.includes(d))return h;u?h--:h++}return h===-1||h===c?h:!1}}var Tp=kt(/\s/u),Ae=kt(" 	"),Oi=kt(",; 	"),Mi=kt(/[^\n\r]/u);function Ap(t,n,i){let o=!!(i!=null&&i.backwards);if(n===!1)return!1;let u=t.charAt(n);if(o){if(t.charAt(n-1)==="\r"&&u===`
`)return n-2;if(u===`
`||u==="\r"||u==="\u2028"||u==="\u2029")return n-1}else{if(u==="\r"&&t.charAt(n+1)===`
`)return n+2;if(u===`
`||u==="\r"||u==="\u2028"||u==="\u2029")return n+1}return n}var Ve=Ap;function Bp(t,n,i={}){let o=Ae(t,i.backwards?n-1:n,i),u=Ve(t,o,i);return o!==u}var Te=Bp;function Lp(t){return Array.isArray(t)&&t.length>0}var Np=Lp,Ri=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Ip=t=>Object.keys(t).filter(n=>!Ri.has(n));function qp(t){return t?n=>t(n,Ri):Ip}var pr=qp;function Pp(t){let n=t.type||t.kind||"(unknown type)",i=String(t.name||t.id&&(typeof t.id=="object"?t.id.name:t.id)||t.key&&(typeof t.key=="object"?t.key.name:t.key)||t.value&&(typeof t.value=="object"?"":String(t.value))||t.operator||"");return i.length>20&&(i=i.slice(0,19)+"…"),n+(i?" "+i:"")}function hn(t,n){(t.comments??(t.comments=[])).push(n),n.printed=!1,n.nodeDescription=Pp(t)}function Et(t,n){n.leading=!0,n.trailing=!1,hn(t,n)}function nr(t,n,i){n.leading=!1,n.trailing=!1,i&&(n.marker=i),hn(t,n)}function _t(t,n){n.leading=!1,n.trailing=!0,hn(t,n)}var Hr=new WeakMap;function dn(t,n){if(Hr.has(t))return Hr.get(t);let{printer:{getCommentChildNodes:i,canAttachComment:o,getVisitorKeys:u},locStart:c,locEnd:h}=n;if(!o)return[];let d=(i?.(t,n)??[...cr(t,{getVisitorKeys:pr(u)})]).flatMap(f=>o(f)?[f]:dn(f,n));return d.sort((f,D)=>c(f)-c(D)||h(f)-h(D)),Hr.set(t,d),d}function ji(t,n,i,o){let{locStart:u,locEnd:c}=i,h=u(n),d=c(n),f=dn(t,i),D,v,F=0,g=f.length;for(;F<g;){let y=F+g>>1,b=f[y],k=u(b),E=c(b);if(k<=h&&d<=E)return ji(b,n,i,b);if(E<=h){D=b,F=y+1;continue}if(d<=k){v=b,g=y;continue}throw new Error("Comment location overlaps with node location")}if(o?.type==="TemplateLiteral"){let{quasis:y}=o,b=Ur(y,n,i);D&&Ur(y,D,i)!==b&&(D=null),v&&Ur(y,v,i)!==b&&(v=null)}return{enclosingNode:o,precedingNode:D,followingNode:v}}var $r=()=>!1;function Op(t,n){let{comments:i}=t;if(delete t.comments,!Np(i)||!n.printer.canAttachComment)return;let o=[],{printer:{experimentalFeatures:{avoidAstMutation:u=!1}={},handleComments:c={}},originalText:h}=n,{ownLine:d=$r,endOfLine:f=$r,remaining:D=$r}=c,v=i.map((F,g)=>({...ji(t,F,n),comment:F,text:h,options:n,ast:t,isLastComment:i.length-1===g}));for(let[F,g]of v.entries()){let{comment:y,precedingNode:b,enclosingNode:k,followingNode:E,text:T,options:A,ast:P,isLastComment:R}=g,M;if(u?M=[g]:(y.enclosingNode=k,y.precedingNode=b,y.followingNode=E,M=[y,T,A,P,R]),Mp(T,A,v,F))y.placement="ownLine",d(...M)||(E?Et(E,y):b?_t(b,y):nr(k||P,y));else if(Rp(T,A,v,F))y.placement="endOfLine",f(...M)||(b?_t(b,y):E?Et(E,y):nr(k||P,y));else if(y.placement="remaining",!D(...M))if(b&&E){let $=o.length;$>0&&o[$-1].followingNode!==E&&Ya(o,A),o.push(g)}else b?_t(b,y):E?Et(E,y):nr(k||P,y)}if(Ya(o,n),!u)for(let F of i)delete F.precedingNode,delete F.enclosingNode,delete F.followingNode}var Hi=t=>!/[\S\n\u2028\u2029]/u.test(t);function Mp(t,n,i,o){let{comment:u,precedingNode:c}=i[o],{locStart:h,locEnd:d}=n,f=h(u);if(c)for(let D=o-1;D>=0;D--){let{comment:v,precedingNode:F}=i[D];if(F!==c||!Hi(t.slice(d(v),f)))break;f=h(v)}return Te(t,f,{backwards:!0})}function Rp(t,n,i,o){let{comment:u,followingNode:c}=i[o],{locStart:h,locEnd:d}=n,f=d(u);if(c)for(let D=o+1;D<i.length;D++){let{comment:v,followingNode:F}=i[D];if(F!==c||!Hi(t.slice(f,h(v))))break;f=d(v)}return Te(t,f)}function Ya(t,n){var i,o;let u=t.length;if(u===0)return;let{precedingNode:c,followingNode:h}=t[0],d=n.locStart(h),f;for(f=u;f>0;--f){let{comment:D,precedingNode:v,followingNode:F}=t[f-1];Qr.strictEqual(v,c),Qr.strictEqual(F,h);let g=n.originalText.slice(n.locEnd(D),d);if(((o=(i=n.printer).isGap)==null?void 0:o.call(i,g,n))??/^[\s(]*$/u.test(g))d=n.locStart(D);else break}for(let[D,{comment:v}]of t.entries())D<f?_t(c,v):Et(h,v);for(let D of[c,h])D.comments&&D.comments.length>1&&D.comments.sort((v,F)=>n.locStart(v)-n.locStart(F));t.length=0}function Ur(t,n,i){let o=i.locStart(n)-1;for(let u=1;u<t.length;++u)if(o<i.locStart(t[u]))return u-1;return 0}function jp(t,n){let i=n-1;i=Ae(t,i,{backwards:!0}),i=Ve(t,i,{backwards:!0}),i=Ae(t,i,{backwards:!0});let o=Ve(t,i,{backwards:!0});return i!==o}var fn=jp;function $i(t,n){let i=t.node;return i.printed=!0,n.printer.printComment(t,n)}function Hp(t,n){var i;let o=t.node,u=[$i(t,n)],{printer:c,originalText:h,locStart:d,locEnd:f}=n;if((i=c.isBlockComment)!=null&&i.call(c,o)){let v=Te(h,f(o))?Te(h,d(o),{backwards:!0})?Ue:Bi:" ";u.push(v)}else u.push(Ue);let D=Ve(h,Ae(h,f(o)));return D!==!1&&Te(h,D)&&u.push(Ue),u}function $p(t,n,i){var o;let u=t.node,c=$i(t,n),{printer:h,originalText:d,locStart:f}=n,D=(o=h.isBlockComment)==null?void 0:o.call(h,u);if(i!=null&&i.hasLineSuffix&&!(i!=null&&i.isBlock)||Te(d,f(u),{backwards:!0})){let v=fn(d,f(u));return{doc:Gr([Ue,v?Ue:"",c]),isBlock:D,hasLineSuffix:!0}}return!D||i!=null&&i.hasLineSuffix?{doc:[Gr([" ",c]),ur],isBlock:D,hasLineSuffix:!0}:{doc:[" ",c],isBlock:D,hasLineSuffix:!1}}function Up(t,n){let i=t.node;if(!i)return{};let o=n[Symbol.for("printedComments")];if((i.comments||[]).filter(d=>!o.has(d)).length===0)return{leading:"",trailing:""};let u=[],c=[],h;return t.each(()=>{let d=t.node;if(o!=null&&o.has(d))return;let{leading:f,trailing:D}=d;f?u.push(Hp(t,n)):D&&(h=$p(t,n,h),c.push(h.doc))},"comments"),{leading:u,trailing:c}}function Vp(t,n,i){let{leading:o,trailing:u}=Up(t,i);return!o&&!u?n:tr(n,c=>[o,c,u])}function Wp(t){let{[Symbol.for("comments")]:n,[Symbol.for("printedComments")]:i}=t;for(let o of n){if(!o.printed&&!i.has(o))throw new Error('Comment "'+o.value.trim()+'" was not printed. Please report this error!');delete o.printed}}var Ui=class extends Error{name="ConfigError"},Xa=class extends Error{name="UndefinedParserError"},zp={checkIgnorePragma:{category:"Special",type:"boolean",default:!1,description:"Check whether the file's first docblock comment contains '@noprettier' or '@noformat' to determine if it should be formatted.",cliCategory:"Other"},cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing
(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:t=>typeof t=="string"||typeof t=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"},{value:"mjml",description:"MJML"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:t=>typeof t=="string"||typeof t=="object",cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset.
The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:"Require either '@prettier' or '@format' to be present in the file's first docblock comment in order for it to be formatted.",cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function Vi({plugins:t=[],showDeprecated:n=!1}={}){let i=t.flatMap(u=>u.languages??[]),o=[];for(let u of Jp(Object.assign({},...t.map(({options:c})=>c),zp)))!n&&u.deprecated||(Array.isArray(u.choices)&&(n||(u.choices=u.choices.filter(c=>!c.deprecated)),u.name==="parser"&&(u.choices=[...u.choices,...Gp(u.choices,i,t)])),u.pluginDefaults=Object.fromEntries(t.filter(c=>{var h;return((h=c.defaultOptions)==null?void 0:h[u.name])!==void 0}).map(c=>[c.name,c.defaultOptions[u.name]])),o.push(u));return{languages:i,options:o}}function*Gp(t,n,i){let o=new Set(t.map(u=>u.value));for(let u of n)if(u.parsers){for(let c of u.parsers)if(!o.has(c)){o.add(c);let h=i.find(f=>f.parsers&&Object.prototype.hasOwnProperty.call(f.parsers,c)),d=u.name;h!=null&&h.name&&(d+=` (plugin: ${h.name})`),yield{value:c,description:d}}}}function Jp(t){let n=[];for(let[i,o]of Object.entries(t)){let u={name:i,...o};Array.isArray(u.default)&&(u.default=K(!1,u.default,-1).value),n.push(u)}return n}var Kp=(t,n)=>{if(!(t&&n==null))return n.toReversed||!Array.isArray(n)?n.toReversed():[...n].reverse()},Yp=Kp,Qa,Za,ei,ti,ri,Xp=((Qa=globalThis.Deno)==null?void 0:Qa.build.os)==="windows"||((ei=(Za=globalThis.navigator)==null?void 0:Za.platform)==null?void 0:ei.startsWith("Win"))||((ri=(ti=globalThis.process)==null?void 0:ti.platform)==null?void 0:ri.startsWith("win"))||!1;function Wi(t){if(t=t instanceof URL?t:new URL(t),t.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${t.protocol}"`);return t}function Qp(t){return t=Wi(t),decodeURIComponent(t.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function Zp(t){t=Wi(t);let n=decodeURIComponent(t.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return t.hostname!==""&&(n=`\\\\${t.hostname}${n}`),n}function eh(t){return Xp?Zp(t):Qp(t)}var th=eh,rh=t=>String(t).split(/[/\\]/u).pop();function ni(t,n){if(!n)return;let i=rh(n).toLowerCase();return t.find(({filenames:o})=>o?.some(u=>u.toLowerCase()===i))??t.find(({extensions:o})=>o?.some(u=>i.endsWith(u)))}function nh(t,n){if(n)return t.find(({name:i})=>i.toLowerCase()===n)??t.find(({aliases:i})=>i?.includes(n))??t.find(({extensions:i})=>i?.includes(`.${n}`))}function ai(t,n){if(n){if(String(n).startsWith("file:"))try{n=th(n)}catch{return}if(typeof n=="string")return t.find(({isSupported:i})=>i?.({filepath:n}))}}function ah(t,n){let i=Yp(!1,t.plugins).flatMap(u=>u.languages??[]);return(nh(i,n.language)??ni(i,n.physicalFile)??ni(i,n.file)??ai(i,n.physicalFile)??ai(i,n.file)??void 0)?.parsers[0]}var ih=ah,at={key:t=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?t:JSON.stringify(t),value(t){if(t===null||typeof t!="object")return JSON.stringify(t);if(Array.isArray(t))return`[${t.map(i=>at.value(i)).join(", ")}]`;let n=Object.keys(t);return n.length===0?"{}":`{ ${n.map(i=>`${at.key(i)}: ${at.value(t[i])}`).join(", ")} }`},pair:({key:t,value:n})=>at.value({[t]:n})},zi=new Proxy(String,{get:()=>zi}),fe=zi,sh=(t,n,{descriptor:i})=>{let o=[`${fe.yellow(typeof t=="string"?i.key(t):i.pair(t))} is deprecated`];return n&&o.push(`we now treat it as ${fe.blue(typeof n=="string"?i.key(n):i.pair(n))}`),o.join("; ")+"."},Gi=Symbol.for("vnopts.VALUE_NOT_EXIST"),ar=Symbol.for("vnopts.VALUE_UNCHANGED"),ii=" ".repeat(2),oh=(t,n,i)=>{let{text:o,list:u}=i.normalizeExpectedResult(i.schemas[t].expected(i)),c=[];return o&&c.push(si(t,n,o,i.descriptor)),u&&c.push([si(t,n,u.title,i.descriptor)].concat(u.values.map(h=>Ji(h,i.loggerPrintWidth))).join(`
`)),Ki(c,i.loggerPrintWidth)};function si(t,n,i,o){return[`Invalid ${fe.red(o.key(t))} value.`,`Expected ${fe.blue(i)},`,`but received ${n===Gi?fe.gray("nothing"):fe.red(o.value(n))}.`].join(" ")}function Ji({text:t,list:n},i){let o=[];return t&&o.push(`- ${fe.blue(t)}`),n&&o.push([`- ${fe.blue(n.title)}:`].concat(n.values.map(u=>Ji(u,i-ii.length).replace(/^|\n/g,`$&${ii}`))).join(`
`)),Ki(o,i)}function Ki(t,n){if(t.length===1)return t[0];let[i,o]=t,[u,c]=t.map(h=>h.split(`
`,1)[0].length);return u>n&&u>c?o:i}var Vr=[],oi=[];function uh(t,n){if(t===n)return 0;let i=t;t.length>n.length&&(t=n,n=i);let o=t.length,u=n.length;for(;o>0&&t.charCodeAt(~-o)===n.charCodeAt(~-u);)o--,u--;let c=0;for(;c<o&&t.charCodeAt(c)===n.charCodeAt(c);)c++;if(o-=c,u-=c,o===0)return u;let h,d,f,D,v=0,F=0;for(;v<o;)oi[v]=t.charCodeAt(c+v),Vr[v]=++v;for(;F<u;)for(h=n.charCodeAt(c+F),f=F++,d=F,v=0;v<o;v++)D=h===oi[v]?f:f+1,f=Vr[v],d=Vr[v]=f>d?D>d?d+1:D:D>f?f+1:D;return d}var Yi=(t,n,{descriptor:i,logger:o,schemas:u})=>{let c=[`Ignored unknown option ${fe.yellow(i.pair({key:t,value:n}))}.`],h=Object.keys(u).sort().find(d=>uh(t,d)<3);h&&c.push(`Did you mean ${fe.blue(i.key(h))}?`),o.warn(c.join(" "))},lh=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function ch(t,n){let i=new t(n),o=Object.create(i);for(let u of lh)u in n&&(o[u]=ph(n[u],i,Le.prototype[u].length));return o}var Le=class{static create(t){return ch(this,t)}constructor(t){this.name=t.name}default(t){}expected(t){return"nothing"}validate(t,n){return!1}deprecated(t,n){return!1}forward(t,n){}redirect(t,n){}overlap(t,n,i){return t}preprocess(t,n){return t}postprocess(t,n){return ar}};function ph(t,n,i){return typeof t=="function"?(...o)=>t(...o.slice(0,i-1),n,...o.slice(i-1)):()=>t}var hh=class extends Le{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,n){return n.schemas[this._sourceName].validate(t,n)}redirect(t,n){return this._sourceName}},dh=class extends Le{expected(){return"anything"}validate(){return!0}},fh=class extends Le{constructor({valueSchema:t,name:n=t.name,...i}){super({...i,name:n}),this._valueSchema=t}expected(t){let{text:n,list:i}=t.normalizeExpectedResult(this._valueSchema.expected(t));return{text:n&&`an array of ${n}`,list:i&&{title:"an array of the following values",values:[{list:i}]}}}validate(t,n){if(!Array.isArray(t))return!1;let i=[];for(let o of t){let u=n.normalizeValidateResult(this._valueSchema.validate(o,n),o);u!==!0&&i.push(u.value)}return i.length===0?!0:{value:i}}deprecated(t,n){let i=[];for(let o of t){let u=n.normalizeDeprecatedResult(this._valueSchema.deprecated(o,n),o);u!==!1&&i.push(...u.map(({value:c})=>({value:[c]})))}return i}forward(t,n){let i=[];for(let o of t){let u=n.normalizeForwardResult(this._valueSchema.forward(o,n),o);i.push(...u.map(ui))}return i}redirect(t,n){let i=[],o=[];for(let u of t){let c=n.normalizeRedirectResult(this._valueSchema.redirect(u,n),u);"remain"in c&&i.push(c.remain),o.push(...c.redirect.map(ui))}return i.length===0?{redirect:o}:{redirect:o,remain:i}}overlap(t,n){return t.concat(n)}};function ui({from:t,to:n}){return{from:[t],to:n}}var mh=class extends Le{expected(){return"true or false"}validate(t){return typeof t=="boolean"}};function Dh(t,n){let i=Object.create(null);for(let o of t){let u=o[n];if(i[u])throw new Error(`Duplicate ${n} ${JSON.stringify(u)}`);i[u]=o}return i}function gh(t,n){let i=new Map;for(let o of t){let u=o[n];if(i.has(u))throw new Error(`Duplicate ${n} ${JSON.stringify(u)}`);i.set(u,o)}return i}function vh(){let t=Object.create(null);return n=>{let i=JSON.stringify(n);return t[i]?!0:(t[i]=!0,!1)}}function Ch(t,n){let i=[],o=[];for(let u of t)n(u)?i.push(u):o.push(u);return[i,o]}function yh(t){return t===Math.floor(t)}function bh(t,n){if(t===n)return 0;let i=typeof t,o=typeof n,u=["undefined","object","boolean","number","string"];return i!==o?u.indexOf(i)-u.indexOf(o):i!=="string"?Number(t)-Number(n):t.localeCompare(n)}function Fh(t){return(...n)=>{let i=t(...n);return typeof i=="string"?new Error(i):i}}function li(t){return t===void 0?{}:t}function Xi(t){if(typeof t=="string")return{text:t};let{text:n,list:i}=t;return Sh((n||i)!==void 0,"Unexpected `expected` result, there should be at least one field."),i?{text:n,list:{title:i.title,values:i.values.map(Xi)}}:{text:n}}function ci(t,n){return t===!0?!0:t===!1?{value:n}:t}function pi(t,n,i=!1){return t===!1?!1:t===!0?i?!0:[{value:n}]:"value"in t?[t]:t.length===0?!1:t}function hi(t,n){return typeof t=="string"||"key"in t?{from:n,to:t}:"from"in t?{from:t.from,to:t.to}:{from:n,to:t.to}}function Zr(t,n){return t===void 0?[]:Array.isArray(t)?t.map(i=>hi(i,n)):[hi(t,n)]}function di(t,n){let i=Zr(typeof t=="object"&&"redirect"in t?t.redirect:t,n);return i.length===0?{remain:n,redirect:i}:typeof t=="object"&&"remain"in t?{remain:t.remain,redirect:i}:{redirect:i}}function Sh(t,n){if(!t)throw new Error(n)}var wh=class extends Le{constructor(t){super(t),this._choices=gh(t.choices.map(n=>n&&typeof n=="object"?n:{value:n}),"value")}expected({descriptor:t}){let n=Array.from(this._choices.keys()).map(u=>this._choices.get(u)).filter(({hidden:u})=>!u).map(u=>u.value).sort(bh).map(t.value),i=n.slice(0,-2),o=n.slice(-2);return{text:i.concat(o.join(" or ")).join(", "),list:{title:"one of the following values",values:n}}}validate(t){return this._choices.has(t)}deprecated(t){let n=this._choices.get(t);return n&&n.deprecated?{value:t}:!1}forward(t){let n=this._choices.get(t);return n?n.forward:void 0}redirect(t){let n=this._choices.get(t);return n?n.redirect:void 0}},Eh=class extends Le{expected(){return"a number"}validate(t,n){return typeof t=="number"}},_h=class extends Eh{expected(){return"an integer"}validate(t,n){return n.normalizeValidateResult(super.validate(t,n),t)===!0&&yh(t)}},fi=class extends Le{expected(){return"a string"}validate(t){return typeof t=="string"}},kh=at,xh=Yi,Th=oh,Ah=sh,Bh=class{constructor(t,n){let{logger:i=console,loggerPrintWidth:o=80,descriptor:u=kh,unknown:c=xh,invalid:h=Th,deprecated:d=Ah,missing:f=()=>!1,required:D=()=>!1,preprocess:v=g=>g,postprocess:F=()=>ar}=n||{};this._utils={descriptor:u,logger:i||{warn:()=>{}},loggerPrintWidth:o,schemas:Dh(t,"name"),normalizeDefaultResult:li,normalizeExpectedResult:Xi,normalizeDeprecatedResult:pi,normalizeForwardResult:Zr,normalizeRedirectResult:di,normalizeValidateResult:ci},this._unknownHandler=c,this._invalidHandler=Fh(h),this._deprecatedHandler=d,this._identifyMissing=(g,y)=>!(g in y)||f(g,y),this._identifyRequired=D,this._preprocess=v,this._postprocess=F,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=vh()}normalize(t){let n={},i=[this._preprocess(t,this._utils)],o=()=>{for(;i.length!==0;){let u=i.shift(),c=this._applyNormalization(u,n);i.push(...c)}};o();for(let u of Object.keys(this._utils.schemas)){let c=this._utils.schemas[u];if(!(u in n)){let h=li(c.default(this._utils));"value"in h&&i.push({[u]:h.value})}}o();for(let u of Object.keys(this._utils.schemas)){if(!(u in n))continue;let c=this._utils.schemas[u],h=n[u],d=c.postprocess(h,this._utils);d!==ar&&(this._applyValidation(d,u,c),n[u]=d)}return this._applyPostprocess(n),this._applyRequiredCheck(n),n}_applyNormalization(t,n){let i=[],{knownKeys:o,unknownKeys:u}=this._partitionOptionKeys(t);for(let c of o){let h=this._utils.schemas[c],d=h.preprocess(t[c],this._utils);this._applyValidation(d,c,h);let f=({from:F,to:g})=>{i.push(typeof g=="string"?{[g]:F}:{[g.key]:g.value})},D=({value:F,redirectTo:g})=>{let y=pi(h.deprecated(F,this._utils),d,!0);if(y!==!1)if(y===!0)this._hasDeprecationWarned(c)||this._utils.logger.warn(this._deprecatedHandler(c,g,this._utils));else for(let{value:b}of y){let k={key:c,value:b};if(!this._hasDeprecationWarned(k)){let E=typeof g=="string"?{key:g,value:b}:g;this._utils.logger.warn(this._deprecatedHandler(k,E,this._utils))}}};Zr(h.forward(d,this._utils),d).forEach(f);let v=di(h.redirect(d,this._utils),d);if(v.redirect.forEach(f),"remain"in v){let F=v.remain;n[c]=c in n?h.overlap(n[c],F,this._utils):F,D({value:F})}for(let{from:F,to:g}of v.redirect)D({value:F,redirectTo:g})}for(let c of u){let h=t[c];this._applyUnknownHandler(c,h,n,(d,f)=>{i.push({[d]:f})})}return i}_applyRequiredCheck(t){for(let n of Object.keys(this._utils.schemas))if(this._identifyMissing(n,t)&&this._identifyRequired(n))throw this._invalidHandler(n,Gi,this._utils)}_partitionOptionKeys(t){let[n,i]=Ch(Object.keys(t).filter(o=>!this._identifyMissing(o,t)),o=>o in this._utils.schemas);return{knownKeys:n,unknownKeys:i}}_applyValidation(t,n,i){let o=ci(i.validate(t,this._utils),t);if(o!==!0)throw this._invalidHandler(n,o.value,this._utils)}_applyUnknownHandler(t,n,i,o){let u=this._unknownHandler(t,n,this._utils);if(u)for(let c of Object.keys(u)){if(this._identifyMissing(c,u))continue;let h=u[c];c in this._utils.schemas?o(c,h):i[c]=h}}_applyPostprocess(t){let n=this._postprocess(t,this._utils);if(n!==ar){if(n.delete)for(let i of n.delete)delete t[i];if(n.override){let{knownKeys:i,unknownKeys:o}=this._partitionOptionKeys(n.override);for(let u of i){let c=n.override[u];this._applyValidation(c,u,this._utils.schemas[u]),t[u]=c}for(let u of o){let c=n.override[u];this._applyUnknownHandler(u,c,t,(h,d)=>{let f=this._utils.schemas[h];this._applyValidation(d,h,f),t[h]=d})}}}}},Wr;function Lh(t,n,{logger:i=!1,isCLI:o=!1,passThrough:u=!1,FlagSchema:c,descriptor:h}={}){if(o){if(!c)throw new Error("'FlagSchema' option is required.");if(!h)throw new Error("'descriptor' option is required.")}else h=at;let d=u?Array.isArray(u)?(g,y)=>u.includes(g)?{[g]:y}:void 0:(g,y)=>({[g]:y}):(g,y,b)=>{let{_:k,...E}=b.schemas;return Yi(g,y,{...b,schemas:E})},f=Nh(n,{isCLI:o,FlagSchema:c}),D=new Bh(f,{logger:i,unknown:d,descriptor:h}),v=i!==!1;v&&Wr&&(D._hasDeprecationWarned=Wr);let F=D.normalize(t);return v&&(Wr=D._hasDeprecationWarned),F}function Nh(t,{isCLI:n,FlagSchema:i}){let o=[];n&&o.push(dh.create({name:"_"}));for(let u of t)o.push(Ih(u,{isCLI:n,optionInfos:t,FlagSchema:i})),u.alias&&n&&o.push(hh.create({name:u.alias,sourceName:u.name}));return o}function Ih(t,{isCLI:n,optionInfos:i,FlagSchema:o}){let{name:u}=t,c={name:u},h,d={};switch(t.type){case"int":h=_h,n&&(c.preprocess=Number);break;case"string":h=fi;break;case"choice":h=wh,c.choices=t.choices.map(f=>f!=null&&f.redirect?{...f,redirect:{to:{key:t.name,value:f.redirect}}}:f);break;case"boolean":h=mh;break;case"flag":h=o,c.flags=i.flatMap(f=>[f.alias,f.description&&f.name,f.oppositeDescription&&`no-${f.name}`].filter(Boolean));break;case"path":h=fi;break;default:throw new Error(`Unexpected type ${t.type}`)}if(t.exception?c.validate=(f,D,v)=>t.exception(f)||D.validate(f,v):c.validate=(f,D,v)=>f===void 0||D.validate(f,v),t.redirect&&(d.redirect=f=>f?{to:typeof t.redirect=="string"?t.redirect:{key:t.redirect.option,value:t.redirect.value}}:void 0),t.deprecated&&(d.deprecated=!0),n&&!t.array){let f=c.preprocess||(D=>D);c.preprocess=(D,v,F)=>v.preprocess(f(Array.isArray(D)?K(!1,D,-1):D),F)}return t.array?fh.create({...n?{preprocess:f=>Array.isArray(f)?f:[f]}:{},...d,valueSchema:h.create(c)}):h.create({...c,...d})}var qh=Lh,Ph=(t,n,i)=>{if(!(t&&n==null)){if(n.findLast)return n.findLast(i);for(let o=n.length-1;o>=0;o--){let u=n[o];if(i(u,o,n))return u}}},Qi=Ph;function Zi(t,n){if(!n)throw new Error("parserName is required.");let i=Qi(!1,t,u=>u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,n));if(i)return i;let o=`Couldn't resolve parser "${n}".`;throw o+=" Plugins must be explicitly added to the standalone bundle.",new Ui(o)}function Oh(t,n){if(!n)throw new Error("astFormat is required.");let i=Qi(!1,t,u=>u.printers&&Object.prototype.hasOwnProperty.call(u.printers,n));if(i)return i;let o=`Couldn't find plugin for AST format "${n}".`;throw o+=" Plugins must be explicitly added to the standalone bundle.",new Ui(o)}function mn({plugins:t,parser:n}){let i=Zi(t,n);return es(i,n)}function es(t,n){let i=t.parsers[n];return typeof i=="function"?i():i}function Mh(t,n){let i=t.printers[n];return typeof i=="function"?i():i}var mi={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function Rh(t,n={}){var i;let o={...t};if(!o.parser)if(o.filepath){if(o.parser=ih(o,{physicalFile:o.filepath}),!o.parser)throw new Xa(`No parser could be inferred for file "${o.filepath}".`)}else throw new Xa("No parser and no file path given, couldn't infer a parser.");let u=Vi({plugins:t.plugins,showDeprecated:!0}).options,c={...mi,...Object.fromEntries(u.filter(g=>g.default!==void 0).map(g=>[g.name,g.default]))},h=Zi(o.plugins,o.parser),d=await es(h,o.parser);o.astFormat=d.astFormat,o.locEnd=d.locEnd,o.locStart=d.locStart;let f=(i=h.printers)!=null&&i[d.astFormat]?h:Oh(o.plugins,d.astFormat),D=await Mh(f,d.astFormat);o.printer=D;let v=f.defaultOptions?Object.fromEntries(Object.entries(f.defaultOptions).filter(([,g])=>g!==void 0)):{},F={...c,...v};for(let[g,y]of Object.entries(F))(o[g]===null||o[g]===void 0)&&(o[g]=y);return o.parser==="json"&&(o.trailingComma="none"),qh(o,u,{passThrough:Object.keys(mi),...n})}var ot=Rh,jh=kc(Ac());async function Hh(t,n){let i=await mn(n),o=i.preprocess?i.preprocess(t,n):t;n.originalText=o;let u;try{u=await i.parse(o,n,n)}catch(c){$h(c,t)}return{text:o,ast:u}}function $h(t,n){let{loc:i}=t;if(i){let o=(0,jh.codeFrameColumns)(n,i,{highlightCode:!0});throw t.message+=`
`+o,t.codeFrame=o,t}throw t}var xt=Hh;async function Uh(t,n,i,o,u){let{embeddedLanguageFormatting:c,printer:{embed:h,hasPrettierIgnore:d=()=>!1,getVisitorKeys:f}}=i;if(!h||c!=="auto")return;if(h.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/plugins#optional-embed");let D=pr(h.getVisitorKeys??f),v=[];y();let F=t.stack;for(let{print:b,node:k,pathStack:E}of v)try{t.stack=E;let T=await b(g,n,t,i);T&&u.set(k,T)}catch(T){if(globalThis.PRETTIER_DEBUG)throw T}t.stack=F;function g(b,k){return Vh(b,k,i,o)}function y(){let{node:b}=t;if(b===null||typeof b!="object"||d(t))return;for(let E of D(b))Array.isArray(b[E])?t.each(y,E):t.call(y,E);let k=h(t,i);if(k){if(typeof k=="function"){v.push({print:k,node:b,pathStack:[...t.stack]});return}u.set(b,k)}}}async function Vh(t,n,i,o){let u=await ot({...i,...n,parentParser:i.parser,originalText:t,cursorOffset:void 0,rangeStart:void 0,rangeEnd:void 0},{passThrough:!0}),{ast:c}=await xt(t,u),h=await o(c,u);return xi(h)}function Wh(t,n){let{originalText:i,[Symbol.for("comments")]:o,locStart:u,locEnd:c,[Symbol.for("printedComments")]:h}=n,{node:d}=t,f=u(d),D=c(d);for(let v of o)u(v)>=f&&c(v)<=D&&h.add(v);return i.slice(f,D)}var zh=Wh;async function hr(t,n){({ast:t}=await ts(t,n));let i=new Map,o=new wp(t),u=new Map;await Uh(o,h,n,hr,u);let c=await Di(o,n,h,void 0,u);if(Wp(n),n.cursorOffset>=0){if(n.nodeAfterCursor&&!n.nodeBeforeCursor)return[$e,c];if(n.nodeBeforeCursor&&!n.nodeAfterCursor)return[c,$e]}return c;function h(f,D){return f===void 0||f===o?d(D):Array.isArray(f)?o.call(()=>d(D),...f):o.call(()=>d(D),f)}function d(f){let D=o.node;if(D==null)return"";let v=D&&typeof D=="object"&&f===void 0;if(v&&i.has(D))return i.get(D);let F=Di(o,n,h,f,u);return v&&i.set(D,F),F}}function Di(t,n,i,o,u){var c;let{node:h}=t,{printer:d}=n,f;switch((c=d.hasPrettierIgnore)!=null&&c.call(d,t)?f=zh(t,n):u.has(h)?f=u.get(h):f=d.print(t,n,i,o),h){case n.cursorNode:f=tr(f,D=>[$e,D,$e]);break;case n.nodeBeforeCursor:f=tr(f,D=>[D,$e]);break;case n.nodeAfterCursor:f=tr(f,D=>[$e,D]);break}return d.printComment&&(!d.willPrintOwnComments||!d.willPrintOwnComments(t,n))&&(f=Vp(t,f,n)),f}async function ts(t,n){let i=t.comments??[];n[Symbol.for("comments")]=i,n[Symbol.for("printedComments")]=new Set,Op(t,n);let{printer:{preprocess:o}}=n;return t=o?await o(t,n):t,{ast:t,comments:i}}function Gh(t,n){let{cursorOffset:i,locStart:o,locEnd:u}=n,c=pr(n.printer.getVisitorKeys),h=y=>o(y)<=i&&u(y)>=i,d=t,f=[t];for(let y of kp(t,{getVisitorKeys:c,filter:h}))f.push(y),d=y;if(xp(d,{getVisitorKeys:c}))return{cursorNode:d};let D,v,F=-1,g=Number.POSITIVE_INFINITY;for(;f.length>0&&(D===void 0||v===void 0);){d=f.pop();let y=D!==void 0,b=v!==void 0;for(let k of cr(d,{getVisitorKeys:c})){if(!y){let E=u(k);E<=i&&E>F&&(D=k,F=E)}if(!b){let E=o(k);E>=i&&E<g&&(v=k,g=E)}}}return{nodeBeforeCursor:D,nodeAfterCursor:v}}var rs=Gh;function Jh(t,n){let{printer:{massageAstNode:i,getVisitorKeys:o}}=n;if(!i)return t;let u=pr(o),c=i.ignoredProperties??new Set;return h(t);function h(d,f){if(!(d!==null&&typeof d=="object"))return d;if(Array.isArray(d))return d.map(g=>h(g,f)).filter(Boolean);let D={},v=new Set(u(d));for(let g in d)!Object.prototype.hasOwnProperty.call(d,g)||c.has(g)||(v.has(g)?D[g]=h(d[g],d):D[g]=d[g]);let F=i(d,D,f);if(F!==null)return F??D}}var Kh=Jh,Yh=(t,n,i)=>{if(!(t&&n==null)){if(n.findLastIndex)return n.findLastIndex(i);for(let o=n.length-1;o>=0;o--){let u=n[o];if(i(u,o,n))return o}return-1}},Xh=Yh,Qh=({parser:t})=>t==="json"||t==="json5"||t==="jsonc"||t==="json-stringify";function Zh(t,n){let i=[t.node,...t.parentNodes],o=new Set([n.node,...n.parentNodes]);return i.find(u=>ns.has(u.type)&&o.has(u))}function gi(t){let n=Xh(!1,t,i=>i.type!=="Program"&&i.type!=="File");return n===-1?t:t.slice(0,n+1)}function ed(t,n,{locStart:i,locEnd:o}){let u=t.node,c=n.node;if(u===c)return{startNode:u,endNode:c};let h=i(t.node);for(let f of gi(n.parentNodes))if(i(f)>=h)c=f;else break;let d=o(n.node);for(let f of gi(t.parentNodes)){if(o(f)<=d)u=f;else break;if(u===c)break}return{startNode:u,endNode:c}}function en(t,n,i,o,u=[],c){let{locStart:h,locEnd:d}=i,f=h(t),D=d(t);if(!(n>D||n<f||c==="rangeEnd"&&n===f||c==="rangeStart"&&n===D)){for(let v of dn(t,i)){let F=en(v,n,i,o,[t,...u],c);if(F)return F}if(!o||o(t,u[0]))return{node:t,parentNodes:u}}}function td(t,n){return n!=="DeclareExportDeclaration"&&t!=="TypeParameterDeclaration"&&(t==="Directive"||t==="TypeAlias"||t==="TSExportAssignment"||t.startsWith("Declare")||t.startsWith("TSDeclare")||t.endsWith("Statement")||t.endsWith("Declaration"))}var ns=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),rd=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function vi(t,n,i){if(!n)return!1;switch(t.parser){case"flow":case"hermes":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"oxc":case"oxc-ts":case"__babel_estree":return td(n.type,i?.type);case"json":case"json5":case"jsonc":case"json-stringify":return ns.has(n.type);case"graphql":return rd.has(n.kind);case"vue":return n.tag!=="root"}return!1}function nd(t,n,i){let{rangeStart:o,rangeEnd:u,locStart:c,locEnd:h}=n;Qr.ok(u>o);let d=t.slice(o,u).search(/\S/u),f=d===-1;if(!f)for(o+=d;u>o&&!/\S/u.test(t[u-1]);--u);let D=en(i,o,n,(y,b)=>vi(n,y,b),[],"rangeStart"),v=f?D:en(i,u,n,y=>vi(n,y),[],"rangeEnd");if(!D||!v)return{rangeStart:0,rangeEnd:0};let F,g;if(Qh(n)){let y=Zh(D,v);F=y,g=y}else({startNode:F,endNode:g}=ed(D,v,n));return{rangeStart:Math.min(c(F),c(g)),rangeEnd:Math.max(h(F),h(g))}}var as="\uFEFF",Ci=Symbol("cursor");async function is(t,n,i=0){if(!t||t.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:o,text:u}=await xt(t,n);n.cursorOffset>=0&&(n={...n,...rs(o,n)});let c=await hr(o,n);i>0&&(c=Ii([Ue,c],i,n.tabWidth));let h=lr(c,n);if(i>0){let f=h.formatted.trim();h.cursorNodeStart!==void 0&&(h.cursorNodeStart-=h.formatted.indexOf(f),h.cursorNodeStart<0&&(h.cursorNodeStart=0,h.cursorNodeText=h.cursorNodeText.trimStart()),h.cursorNodeStart+h.cursorNodeText.length>f.length&&(h.cursorNodeText=h.cursorNodeText.trimEnd())),h.formatted=f+sn(n.endOfLine)}let d=n[Symbol.for("comments")];if(n.cursorOffset>=0){let f,D,v,F;if((n.cursorNode||n.nodeBeforeCursor||n.nodeAfterCursor)&&h.cursorNodeText)if(v=h.cursorNodeStart,F=h.cursorNodeText,n.cursorNode)f=n.locStart(n.cursorNode),D=u.slice(f,n.locEnd(n.cursorNode));else{if(!n.nodeBeforeCursor&&!n.nodeAfterCursor)throw new Error("Cursor location must contain at least one of cursorNode, nodeBeforeCursor, nodeAfterCursor");f=n.nodeBeforeCursor?n.locEnd(n.nodeBeforeCursor):0;let T=n.nodeAfterCursor?n.locStart(n.nodeAfterCursor):u.length;D=u.slice(f,T)}else f=0,D=u,v=0,F=h.formatted;let g=n.cursorOffset-f;if(D===F)return{formatted:h.formatted,cursorOffset:v+g,comments:d};let y=D.split("");y.splice(g,0,Ci);let b=F.split(""),k=Pc(y,b),E=v;for(let T of k)if(T.removed){if(T.value.includes(Ci))break}else E+=T.count;return{formatted:h.formatted,cursorOffset:E,comments:d}}return{formatted:h.formatted,cursorOffset:-1,comments:d}}async function ad(t,n){let{ast:i,text:o}=await xt(t,n),{rangeStart:u,rangeEnd:c}=nd(o,n,i),h=o.slice(u,c),d=Math.min(u,o.lastIndexOf(`
`,u)+1),f=o.slice(d,u).match(/^\s*/u)[0],D=pn(f,n.tabWidth),v=await is(h,{...n,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:n.cursorOffset>u&&n.cursorOffset<=c?n.cursorOffset-u:-1,endOfLine:"lf"},D),F=v.formatted.trimEnd(),{cursorOffset:g}=n;g>c?g+=F.length-h.length:v.cursorOffset>=0&&(g=v.cursorOffset+u);let y=o.slice(0,u)+F+o.slice(c);if(n.endOfLine!=="lf"){let b=sn(n.endOfLine);g>=0&&b===`\r
`&&(g+=_i(y.slice(0,g),`
`)),y=sr(!1,y,`
`,b)}return{formatted:y,cursorOffset:g,comments:v.comments}}function zr(t,n,i){return typeof n!="number"||Number.isNaN(n)||n<0||n>t.length?i:n}function yi(t,n){let{cursorOffset:i,rangeStart:o,rangeEnd:u}=n;return i=zr(t,i,-1),o=zr(t,o,0),u=zr(t,u,t.length),{...n,cursorOffset:i,rangeStart:o,rangeEnd:u}}function ss(t,n){let{cursorOffset:i,rangeStart:o,rangeEnd:u,endOfLine:c}=yi(t,n),h=t.charAt(0)===as;if(h&&(t=t.slice(1),i--,o--,u--),c==="auto"&&(c=Oc(t)),t.includes("\r")){let d=f=>_i(t.slice(0,Math.max(f,0)),`\r
`);i-=d(i),o-=d(o),u-=d(u),t=Mc(t)}return{hasBOM:h,text:t,options:yi(t,{...n,cursorOffset:i,rangeStart:o,rangeEnd:u,endOfLine:c})}}async function bi(t,n){let i=await mn(n);return!i.hasPragma||i.hasPragma(t)}async function id(t,n){var i;let o=await mn(n);return(i=o.hasIgnorePragma)==null?void 0:i.call(o,t)}async function os(t,n){let{hasBOM:i,text:o,options:u}=ss(t,await ot(n));if(u.rangeStart>=u.rangeEnd&&o!==""||u.requirePragma&&!await bi(o,u)||u.checkIgnorePragma&&await id(o,u))return{formatted:t,cursorOffset:n.cursorOffset,comments:[]};let c;return u.rangeStart>0||u.rangeEnd<o.length?c=await ad(o,u):(!u.requirePragma&&u.insertPragma&&u.printer.insertPragma&&!await bi(o,u)&&(o=u.printer.insertPragma(o)),c=await is(o,u)),i&&(c.formatted=as+c.formatted,c.cursorOffset>=0&&c.cursorOffset++),c}async function sd(t,n,i){let{text:o,options:u}=ss(t,await ot(n)),c=await xt(o,u);return i&&(i.preprocessForPrint&&(c.ast=await ts(c.ast,u)),i.massage&&(c.ast=Kh(c.ast,u))),c}async function od(t,n){n=await ot(n);let i=await hr(t,n);return lr(i,n)}async function ud(t,n){let i=dp(t),{formatted:o}=await os(i,{...n,parser:"__js_expression"});return o}async function ld(t,n){n=await ot(n);let{ast:i}=await xt(t,n);return n.cursorOffset>=0&&(n={...n,...rs(i,n)}),hr(i,n)}async function cd(t,n){return lr(t,await ot(n))}var us={};an(us,{builders:()=>pd,printer:()=>hd,utils:()=>dd});var pd={join:Ni,line:Bi,softline:pp,hardline:Ue,literalline:Li,group:Ti,conditionalGroup:ip,fill:sp,lineSuffix:Gr,lineSuffixBoundary:lp,cursor:$e,breakParent:ur,ifBreak:op,trim:cp,indent:ir,indentIfBreak:up,align:st,addAlignmentToDoc:Ii,markAsRoot:np,dedentToRoot:rp,dedent:ap,hardlineWithoutBreakParent:ln,literallineWithoutBreakParent:Ai,label:hp,concat:t=>t},hd={printDocToString:lr},dd={willBreak:Gc,traverseDoc:on,findInDoc:un,mapDoc:or,removeLines:Yc,stripTrailingHardline:xi,replaceEndOfLine:Zc,canBreak:tp},fd="3.6.2",ls={};an(ls,{addDanglingComment:()=>nr,addLeadingComment:()=>Et,addTrailingComment:()=>_t,getAlignmentSize:()=>pn,getIndentSize:()=>yd,getMaxContinuousCount:()=>Sd,getNextNonSpaceNonCommentCharacter:()=>Ed,getNextNonSpaceNonCommentCharacterIndex:()=>qd,getPreferredQuote:()=>kd,getStringWidth:()=>cn,hasNewline:()=>Te,hasNewlineInRange:()=>Td,hasSpaces:()=>Bd,isNextLineEmpty:()=>Rd,isNextLineEmptyAfterIndex:()=>Cn,isPreviousLineEmpty:()=>Od,makeString:()=>Nd,skip:()=>kt,skipEverythingButNewLine:()=>Mi,skipInlineComment:()=>Dn,skipNewline:()=>Ve,skipSpaces:()=>Ae,skipToLineEnd:()=>Oi,skipTrailingComment:()=>gn,skipWhitespace:()=>Tp});function md(t,n){if(n===!1)return!1;if(t.charAt(n)==="/"&&t.charAt(n+1)==="*"){for(let i=n+2;i<t.length;++i)if(t.charAt(i)==="*"&&t.charAt(i+1)==="/")return i+2}return n}var Dn=md;function Dd(t,n){return n===!1?!1:t.charAt(n)==="/"&&t.charAt(n+1)==="/"?Mi(t,n):n}var gn=Dd;function gd(t,n){let i=null,o=n;for(;o!==i;)i=o,o=Ae(t,o),o=Dn(t,o),o=gn(t,o),o=Ve(t,o);return o}var vn=gd;function vd(t,n){let i=null,o=n;for(;o!==i;)i=o,o=Oi(t,o),o=Dn(t,o),o=Ae(t,o);return o=gn(t,o),o=Ve(t,o),o!==!1&&Te(t,o)}var Cn=vd;function Cd(t,n){let i=t.lastIndexOf(`
`);return i===-1?0:pn(t.slice(i+1).match(/^[\t ]*/u)[0],n)}var yd=Cd;function bd(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Fd(t,n){let i=t.match(new RegExp(`(${bd(n)})+`,"gu"));return i===null?0:i.reduce((o,u)=>Math.max(o,u.length/n.length),0)}var Sd=Fd;function wd(t,n){let i=vn(t,n);return i===!1?"":t.charAt(i)}var Ed=wd,er="'",Fi='"';function _d(t,n){let i=n===!0||n===er?er:Fi,o=i===er?Fi:er,u=0,c=0;for(let h of t)h===i?u++:h===o&&c++;return u>c?o:i}var kd=_d;function xd(t,n,i){for(let o=n;o<i;++o)if(t.charAt(o)===`
`)return!0;return!1}var Td=xd;function Ad(t,n,i={}){return Ae(t,i.backwards?n-1:n,i)!==n}var Bd=Ad;function Ld(t,n,i){let o=n==='"'?"'":'"',u=sr(!1,t,/\\(.)|(["'])/gsu,(c,h,d)=>h===o?h:d===n?"\\"+d:d||(i&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(h)?h:"\\"+h));return n+u+n}var Nd=Ld;function Id(t,n,i){return vn(t,i(n))}function qd(t,n){return arguments.length===2||typeof n=="number"?vn(t,n):Id(...arguments)}function Pd(t,n,i){return fn(t,i(n))}function Od(t,n){return arguments.length===2||typeof n=="number"?fn(t,n):Pd(...arguments)}function Md(t,n,i){return Cn(t,i(n))}function Rd(t,n){return arguments.length===2||typeof n=="number"?Cn(t,n):Md(...arguments)}function He(t,n=1){return async(...i)=>{let o=i[n]??{},u=o.plugins??[];return i[n]={...o,plugins:Array.isArray(u)?u:Object.values(u)},t(...i)}}var cs=He(os);async function ps(t,n){let{formatted:i}=await cs(t,{...n,cursorOffset:-1});return i}async function jd(t,n){return await ps(t,n)===t}var Hd=He(Vi,0),$d={parse:He(sd),formatAST:He(od),formatDoc:He(ud),printToDoc:He(ld),printDocToString:He(cd)},Si={exports:{}},wi;function Ud(){return wi||(wi=1,function(t,n){(function(i){function o(){var u=i();return u.default||u}t.exports=o()})(function(){var i=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,c=Object.prototype.hasOwnProperty,h=e=>{throw TypeError(e)},d=(e,r,a)=>r in e?i(e,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[r]=a,f=(e,r)=>{for(var a in r)i(e,a,{get:r[a],enumerable:!0})},D=(e,r,a,s)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of u(r))!c.call(e,l)&&l!==a&&i(e,l,{get:()=>r[l],enumerable:!(s=o(r,l))||s.enumerable});return e},v=e=>D(i({},"__esModule",{value:!0}),e),F=(e,r,a)=>d(e,typeof r!="symbol"?r+"":r,a),g=(e,r,a)=>r.has(e)||h("Cannot "+a),y=(e,r,a)=>(g(e,r,"read from private field"),a?a.call(e):r.get(e)),b=(e,r,a)=>r.has(e)?h("Cannot add the same private member more than once"):r instanceof WeakSet?r.add(e):r.set(e,a),k=(e,r,a,s)=>(g(e,r,"write to private field"),r.set(e,a),a),E={};f(E,{languages:()=>il,options:()=>ol,parsers:()=>Da,printers:()=>Dc});var T=(e,r,a,s)=>{if(!(e&&r==null))return r.replaceAll?r.replaceAll(a,s):a.global?r.replace(a,s):r.split(a).join(s)},A=T,P="string",R="array",M="cursor",$="indent",ie="align",Ne="trim",Ie="group",ut="fill",qe="if-break",dr="indent-if-break",yn="line-suffix",bn="line-suffix-boundary",Ge="line",Fn="label",fr="break-parent",Sn=new Set([M,$,ie,Ne,Ie,ut,qe,dr,yn,bn,Ge,Fn,fr]),gs=(e,r,a)=>{if(!(e&&r==null))return Array.isArray(r)||typeof r=="string"?r[a<0?r.length+a:a]:r.at(a)},lt=gs;function vs(e){if(typeof e=="string")return P;if(Array.isArray(e))return R;if(!e)return;let{type:r}=e;if(Sn.has(r))return r}var wn=vs,Cs=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function ys(e){let r=e===null?"null":typeof e;if(r!=="string"&&r!=="object")return`Unexpected doc '${r}', 
Expected it to be 'string' or 'object'.`;if(wn(e))throw new Error("doc is valid.");let a=Object.prototype.toString.call(e);if(a!=="[object Object]")return`Unexpected doc '${a}'.`;let s=Cs([...Sn].map(l=>`'${l}'`));return`Unexpected doc.type '${e.type}'.
Expected it to be ${s}.`}var bs=class extends Error{name="InvalidDocError";constructor(e){super(ys(e)),this.doc=e}},Fs=bs;function En(e,r){if(typeof e=="string")return r(e);let a=new Map;return s(e);function s(p){if(a.has(p))return a.get(p);let m=l(p);return a.set(p,m),m}function l(p){switch(wn(p)){case R:return r(p.map(s));case ut:return r({...p,parts:p.parts.map(s)});case qe:return r({...p,breakContents:s(p.breakContents),flatContents:s(p.flatContents)});case Ie:{let{expandedStates:m,contents:C}=p;return m?(m=m.map(s),C=m[0]):C=s(C),r({...p,contents:C,expandedStates:m})}case ie:case $:case dr:case Fn:case yn:return r({...p,contents:s(p.contents)});case P:case M:case Ne:case bn:case Ge:case fr:return r(p);default:throw new Fs(p)}}}function ue(e,r=xs){return En(e,a=>typeof a=="string"?Je(r,a.split(`
`)):a)}function he(e){return{type:$,contents:e}}function _n(e,r){return{type:ie,contents:r,n:e}}function z(e,r={}){return{type:Ie,id:r.id,contents:e,break:!!r.shouldBreak,expandedStates:r.expandedStates}}function Ss(e){return _n(Number.NEGATIVE_INFINITY,e)}function ws(e){return _n({type:"root"},e)}function kn(e){return{type:ut,parts:e}}function Tt(e,r="",a={}){return{type:qe,breakContents:e,flatContents:r,groupId:a.groupId}}function Es(e,r){return{type:dr,contents:e,groupId:r.groupId,negate:r.negate}}var ct={type:fr},_s={type:Ge,hard:!0},ks={type:Ge,hard:!0,literal:!0},U={type:Ge},Q={type:Ge,soft:!0},H=[_s,ct],xs=[ks,ct];function Je(e,r){let a=[];for(let s=0;s<r.length;s++)s!==0&&a.push(e),a.push(r[s]);return a}var At="'",xn='"';function Ts(e,r){let a=r===!0||r===At?At:xn,s=a===At?xn:At,l=0,p=0;for(let m of e)m===a?l++:m===s&&p++;return l>p?s:a}var As=Ts;function Bs(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var le,Ls=class{constructor(e){b(this,le),k(this,le,new Set(e))}getLeadingWhitespaceCount(e){let r=y(this,le),a=0;for(let s=0;s<e.length&&r.has(e.charAt(s));s++)a++;return a}getTrailingWhitespaceCount(e){let r=y(this,le),a=0;for(let s=e.length-1;s>=0&&r.has(e.charAt(s));s--)a++;return a}getLeadingWhitespace(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(0,r)}getTrailingWhitespace(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(e.length-r)}hasLeadingWhitespace(e){return y(this,le).has(e.charAt(0))}hasTrailingWhitespace(e){return y(this,le).has(lt(!1,e,-1))}trimStart(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(r)}trimEnd(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-r)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,r=!1){let a=`[${Bs([...y(this,le)].join(""))}]+`,s=new RegExp(r?`(${a})`:a,"u");return e.split(s)}hasWhitespaceCharacter(e){let r=y(this,le);return Array.prototype.some.call(e,a=>r.has(a))}hasNonWhitespaceCharacter(e){let r=y(this,le);return Array.prototype.some.call(e,a=>!r.has(a))}isWhitespaceOnly(e){let r=y(this,le);return Array.prototype.every.call(e,a=>r.has(a))}};le=new WeakMap;var Ns=Ls,Is=["	",`
`,"\f","\r"," "],qs=new Ns(Is),ge=qs,Ps=class extends Error{name="UnexpectedNodeError";constructor(e,r,a="type"){super(`Unexpected ${r} node ${a}: ${JSON.stringify(e[a])}.`),this.node=e}},Os=Ps;function Ms(e){return e?.type==="front-matter"}var Bt=Ms,Rs=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),js=new Set(["if","else if","for","switch","case"]);function Tn(e,r){var a;if(e.type==="text"||e.type==="comment"||Bt(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete r.value,e.type==="docType"&&delete r.value,e.type==="angularControlFlowBlock"&&(a=e.parameters)!=null&&a.children)for(let s of r.parameters.children)js.has(e.name)?delete s.expression:s.expression=s.expression.trim();e.type==="angularIcuExpression"&&(r.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete r.value}Tn.ignoredProperties=Rs;var Hs=Tn;async function $s(e,r){if(e.language==="yaml"){let a=e.value.trim(),s=a?await r(a,{parser:"yaml"}):"";return ws([e.startDelimiter,e.explicitLanguage,H,s,s?H:"",e.endDelimiter])}}var Us=$s;function Lt(e,r=!0){return[he([Q,e]),r?Q:""]}function Ke(e,r){let a=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return a&&(a.type==="ObjectExpression"||a.type==="ArrayExpression"||(r.parser==="__vue_expression"||r.parser==="__vue_ts_expression")&&(a.type==="TemplateLiteral"||a.type==="StringLiteral"))}async function ce(e,r,a,s){a={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...a};let l=!0;s&&(a.__onHtmlBindingRoot=(m,C)=>{l=s(m,C)});let p=await r(e,a,r);return l?z(p):Lt(p)}function Vs(e,r,a,s){let{node:l}=a,p=s.originalText.slice(l.sourceSpan.start.offset,l.sourceSpan.end.offset);return/^\s*$/u.test(p)?"":ce(p,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},Ke)}var Ws=Vs,zs=(e,r)=>{if(!(e&&r==null))return r.toReversed||!Array.isArray(r)?r.toReversed():[...r].reverse()},Gs=zs;function Js(e){return Array.isArray(e)&&e.length>0}var mr=Js,An,Bn,Ln,Nn,In,Ks=((An=globalThis.Deno)==null?void 0:An.build.os)==="windows"||((Ln=(Bn=globalThis.navigator)==null?void 0:Bn.platform)==null?void 0:Ln.startsWith("Win"))||((In=(Nn=globalThis.process)==null?void 0:Nn.platform)==null?void 0:In.startsWith("win"))||!1;function qn(e){if(e=e instanceof URL?e:new URL(e),e.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}function Ys(e){return e=qn(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function Xs(e){e=qn(e);let r=decodeURIComponent(e.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return e.hostname!==""&&(r=`\\\\${e.hostname}${r}`),r}function Qs(e){return Ks?Xs(e):Ys(e)}var Zs=Qs,eo=e=>String(e).split(/[/\\]/u).pop();function Pn(e,r){if(!r)return;let a=eo(r).toLowerCase();return e.find(({filenames:s})=>s?.some(l=>l.toLowerCase()===a))??e.find(({extensions:s})=>s?.some(l=>a.endsWith(l)))}function to(e,r){if(r)return e.find(({name:a})=>a.toLowerCase()===r)??e.find(({aliases:a})=>a?.includes(r))??e.find(({extensions:a})=>a?.includes(`.${r}`))}function On(e,r){if(r){if(String(r).startsWith("file:"))try{r=Zs(r)}catch{return}if(typeof r=="string")return e.find(({isSupported:a})=>a?.({filepath:r}))}}function ro(e,r){let a=Gs(!1,e.plugins).flatMap(l=>l.languages??[]);return(to(a,r.language)??Pn(a,r.physicalFile)??Pn(a,r.file)??On(a,r.physicalFile)??On(a,r.file)??void 0)?.parsers[0]}var Nt=ro,no="inline",Mn={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"},ao="normal",Rn={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function io(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}var pt=io,so=e=>A(!1,e,/^[\t\f\r ]*\n/gu,""),jn=e=>so(ge.trimEnd(e)),oo=e=>{let r=e,a=ge.getLeadingWhitespace(r);a&&(r=r.slice(a.length));let s=ge.getTrailingWhitespace(r);return s&&(r=r.slice(0,-s.length)),{leadingWhitespace:a,trailingWhitespace:s,text:r}};function Hn(e,r){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||Ye(e)&&e.children.some(a=>a.type!=="text"&&a.type!=="interpolation")||vr(e,r)&&!ve(e,r)&&e.type!=="interpolation")}function It(e){return e.type==="attribute"||!e.parent||!e.prev?!1:uo(e.prev)}function uo(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function se(e){return e.type==="text"||e.type==="comment"}function ve(e,r){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||e.fullName==="mj-style"&&r.parser==="mjml"||pt(e)&&(e.name==="script"||e.name==="style"))}function lo(e,r){return e.children&&!ve(e,r)}function co(e,r){return ve(e,r)||e.type==="interpolation"||$n(e)}function $n(e){return Yn(e).startsWith("pre")}function po(e,r){var a,s;let l=p();if(l&&!e.prev&&(s=(a=e.parent)==null?void 0:a.tagDefinition)!=null&&s.ignoreFirstLf)return e.type==="interpolation";return l;function p(){return Bt(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Ye(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||Ye(e)&&e.parent||ve(e.parent,r)||Pt(e.parent,r)||!bo(e.parent.cssDisplay))||e.prev&&!wo(e.prev.cssDisplay))}}function ho(e,r){return Bt(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Ye(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||Ye(e)&&e.parent||ve(e.parent,r)||Pt(e.parent,r)||!Fo(e.parent.cssDisplay))||e.next&&!So(e.next.cssDisplay))}function fo(e,r){return Eo(e.cssDisplay)&&!ve(e,r)}function qt(e){return Bt(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function mo(e){return Un(e)||e.type==="element"&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(r=>go(r)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Wn(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||zn(e.lastChild))}function Un(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function Dr(e){return Gn(e)||e.prev&&Do(e.prev)||Vn(e)}function Do(e){return Gn(e)||e.type==="element"&&e.fullName==="br"||Vn(e)}function Vn(e){return Wn(e)&&zn(e)}function Wn(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:e.parent.type==="root"||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function zn(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Gn(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function gr(e){return e.lastChild?gr(e.lastChild):e}function go(e){var r;return(r=e.children)==null?void 0:r.some(a=>a.type!=="text")}function Jn(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"text/jsx":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function vo(e,r){let{name:a,attrMap:s}=e;if(a!=="script"||Object.prototype.hasOwnProperty.call(s,"src"))return;let{type:l,lang:p}=e.attrMap;return!p&&!l?"babel":Nt(r,{language:p})??Jn(l)}function Co(e,r){if(!vr(e,r))return;let{attrMap:a}=e;if(Object.prototype.hasOwnProperty.call(a,"src"))return;let{type:s,lang:l}=a;return Nt(r,{language:l})??Jn(s)}function yo(e,r){if(e.name==="style"){let{lang:a}=e.attrMap;return a?Nt(r,{language:a}):"css"}if(e.name==="mj-style"&&r.parser==="mjml")return"css"}function Kn(e,r){return vo(e,r)??yo(e,r)??Co(e,r)}function ht(e){return e==="block"||e==="list-item"||e.startsWith("table")}function bo(e){return!ht(e)&&e!=="inline-block"}function Fo(e){return!ht(e)&&e!=="inline-block"}function So(e){return!ht(e)}function wo(e){return!ht(e)}function Eo(e){return!ht(e)&&e!=="inline-block"}function Ye(e){return Yn(e).startsWith("pre")}function _o(e,r){let a=e;for(;a;){if(r(a))return!0;a=a.parent}return!1}function ko(e,r){var a;if(Xe(e,r))return"block";if(((a=e.prev)==null?void 0:a.type)==="comment"){let l=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(l)return l[1]}let s=!1;if(e.type==="element"&&e.namespace==="svg")if(_o(e,l=>l.fullName==="svg:foreignObject"))s=!0;else return e.name==="svg"?"inline-block":"block";switch(r.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:if(e.type==="element"&&(!e.namespace||s||pt(e))&&Object.prototype.hasOwnProperty.call(Mn,e.name))return Mn[e.name]}return no}function Yn(e){return e.type==="element"&&(!e.namespace||pt(e))&&Object.prototype.hasOwnProperty.call(Rn,e.name)?Rn[e.name]:ao}function xo(e){let r=Number.POSITIVE_INFINITY;for(let a of e.split(`
`)){if(a.length===0)continue;let s=ge.getLeadingWhitespaceCount(a);if(s===0)return 0;a.length!==s&&s<r&&(r=s)}return r===Number.POSITIVE_INFINITY?0:r}function Xn(e,r=xo(e)){return r===0?e:e.split(`
`).map(a=>a.slice(r)).join(`
`)}function Qn(e){return A(!1,A(!1,e,"&apos;","'"),"&quot;",'"')}function ke(e){return Qn(e.value)}var To=new Set(["template","style","script"]);function Pt(e,r){return Xe(e,r)&&!To.has(e.fullName)}function Xe(e,r){return r.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function vr(e,r){return Xe(e,r)&&(Pt(e,r)||e.attrMap.lang&&e.attrMap.lang!=="html")}function Ao(e){let r=e.fullName;return r.charAt(0)==="#"||r==="slot-scope"||r==="v-slot"||r.startsWith("v-slot:")}function Bo(e,r){let a=e.parent;if(!Xe(a,r))return!1;let s=a.fullName,l=e.fullName;return s==="script"&&l==="setup"||s==="style"&&l==="vars"}function Zn(e,r=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?ue(r):ue(Xn(jn(r)),H):Je(U,ge.split(r))}function ea(e,r){return Xe(e,r)&&e.name==="script"}var ta=/\{\{(.+?)\}\}/su;async function Lo(e,r){let a=[];for(let[s,l]of e.split(ta).entries())if(s%2===0)a.push(ue(l));else try{a.push(z(["{{",he([U,await ce(l,r,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),U,"}}"]))}catch{a.push("{{",ue(l),"}}")}return a}function Cr({parser:e}){return(r,a,s)=>ce(ke(s.node),r,{parser:e},Ke)}var No=Cr({parser:"__ng_action"}),Io=Cr({parser:"__ng_binding"}),qo=Cr({parser:"__ng_directive"});function Po(e,r){if(r.parser!=="angular")return;let{node:a}=e,s=a.fullName;if(s.startsWith("(")&&s.endsWith(")")||s.startsWith("on-"))return No;if(s.startsWith("[")&&s.endsWith("]")||/^bind(?:on)?-/u.test(s)||/^ng-(?:if|show|hide|class|style)$/u.test(s))return Io;if(s.startsWith("*"))return qo;let l=ke(a);if(/^i18n(?:-.+)?$/u.test(s))return()=>Lt(kn(Zn(a,l.trim())),!l.includes("@@"));if(ta.test(l))return p=>Lo(l,p)}var Oo=Po;function Mo(e,r){let{node:a}=e,s=ke(a);if(a.fullName==="class"&&!r.parentParser&&!s.includes("{{"))return()=>s.trim().split(/\s+/u).join(" ")}var Ro=Mo;function ra(e){return e==="	"||e===`
`||e==="\f"||e==="\r"||e===" "}var jo=/^[ \t\n\r\u000c]+/,Ho=/^[, \t\n\r\u000c]+/,$o=/^[^ \t\n\r\u000c]+/,Uo=/[,]+$/,na=/^\d+$/,Vo=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function Wo(e){let r=e.length,a,s,l,p,m,C=0,S;function x(I){let j,G=I.exec(e.substring(C));if(G)return[j]=G,C+=j.length,j}let w=[];for(;;){if(x(Ho),C>=r){if(w.length===0)throw new Error("Must contain one or more image candidate strings.");return w}S=C,a=x($o),s=[],a.slice(-1)===","?(a=a.replace(Uo,""),L()):O()}function O(){for(x(jo),l="",p="in descriptor";;){if(m=e.charAt(C),p==="in descriptor")if(ra(m))l&&(s.push(l),l="",p="after descriptor");else if(m===","){C+=1,l&&s.push(l),L();return}else if(m==="(")l+=m,p="in parens";else if(m===""){l&&s.push(l),L();return}else l+=m;else if(p==="in parens")if(m===")")l+=m,p="in descriptor";else if(m===""){s.push(l),L();return}else l+=m;else if(p==="after descriptor"&&!ra(m))if(m===""){L();return}else p="in descriptor",C-=1;C+=1}}function L(){let I=!1,j,G,Y,Z,_={},q,J,W,te,rt;for(Z=0;Z<s.length;Z++)q=s[Z],J=q[q.length-1],W=q.substring(0,q.length-1),te=parseInt(W,10),rt=parseFloat(W),na.test(W)&&J==="w"?((j||G)&&(I=!0),te===0?I=!0:j=te):Vo.test(W)&&J==="x"?((j||G||Y)&&(I=!0),rt<0?I=!0:G=rt):na.test(W)&&J==="h"?((Y||G)&&(I=!0),te===0?I=!0:Y=te):I=!0;if(!I)_.source={value:a,startOffset:S},j&&(_.width={value:j}),G&&(_.density={value:G}),Y&&(_.height={value:Y}),w.push(_);else throw new Error(`Invalid srcset descriptor found in "${e}" at "${q}".`)}}var zo=Wo;function Go(e){if(e.node.fullName==="srcset"&&(e.parent.fullName==="img"||e.parent.fullName==="source"))return()=>Ko(ke(e.node))}var aa={width:"w",height:"h",density:"x"},Jo=Object.keys(aa);function Ko(e){let r=zo(e),a=Jo.filter(w=>r.some(O=>Object.prototype.hasOwnProperty.call(O,w)));if(a.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[s]=a,l=aa[s],p=r.map(w=>w.source.value),m=Math.max(...p.map(w=>w.length)),C=r.map(w=>w[s]?String(w[s].value):""),S=C.map(w=>{let O=w.indexOf(".");return O===-1?w.length:O}),x=Math.max(...S);return Lt(Je([",",U],p.map((w,O)=>{let L=[w],I=C[O];if(I){let j=m-w.length+1,G=x-S[O],Y=" ".repeat(j+G);L.push(Tt(Y," "),I+l)}return L})))}var Yo=Go;function Xo(e,r){let{node:a}=e,s=ke(e.node).trim();if(a.fullName==="style"&&!r.parentParser&&!s.includes("{{"))return async l=>Lt(await l(s,{parser:"css",__isHTMLStyleAttribute:!0}))}var yr=new WeakMap;function Qo(e,r){let{root:a}=e;return yr.has(a)||yr.set(a,a.children.some(s=>ea(s,r)&&["ts","typescript"].includes(s.attrMap.lang))),yr.get(a)}var br=Qo;function Zo(e,r,a){let{node:s}=a,l=ke(s);return ce(`type T<${l}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},Ke)}function eu(e,r,{parseWithTs:a}){return ce(`function _(${e}) {}`,r,{parser:a?"babel-ts":"babel",__isVueBindings:!0})}async function tu(e,r,a,s){let l=ke(a.node),{left:p,operator:m,right:C}=ru(l),S=br(a,s);return[z(await ce(`function _(${p}) {}`,e,{parser:S?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",m," ",await ce(C,e,{parser:S?"__ts_expression":"__js_expression"})]}function ru(e){let r=/(.*?)\s+(in|of)\s+(.*)/su,a=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,s=/^\(|\)$/gu,l=e.match(r);if(!l)return;let p={};if(p.for=l[3].trim(),!p.for)return;let m=A(!1,l[1].trim(),s,""),C=m.match(a);C?(p.alias=m.replace(a,""),p.iterator1=C[1].trim(),C[2]&&(p.iterator2=C[2].trim())):p.alias=m;let S=[p.alias,p.iterator1,p.iterator2];if(!S.some((x,w)=>!x&&(w===0||S.slice(w+1).some(Boolean))))return{left:S.filter(Boolean).join(","),operator:l[2],right:p.for}}function nu(e,r){if(r.parser!=="vue")return;let{node:a}=e,s=a.fullName;if(s==="v-for")return tu;if(s==="generic"&&ea(a.parent,r))return Zo;let l=ke(a),p=br(e,r);if(Ao(a)||Bo(a,r))return m=>eu(l,m,{parseWithTs:p});if(s.startsWith("@")||s.startsWith("v-on:"))return m=>au(l,m,{parseWithTs:p});if(s.startsWith(":")||s.startsWith(".")||s.startsWith("v-bind:"))return m=>iu(l,m,{parseWithTs:p});if(s.startsWith("v-"))return m=>ia(l,m,{parseWithTs:p})}async function au(e,r,{parseWithTs:a}){var s;try{return await ia(e,r,{parseWithTs:a})}catch(l){if(((s=l.cause)==null?void 0:s.code)!=="BABEL_PARSER_SYNTAX_ERROR")throw l}return ce(e,r,{parser:a?"__vue_ts_event_binding":"__vue_event_binding"},Ke)}function iu(e,r,{parseWithTs:a}){return ce(e,r,{parser:a?"__vue_ts_expression":"__vue_expression"},Ke)}function ia(e,r,{parseWithTs:a}){return ce(e,r,{parser:a?"__ts_expression":"__js_expression"},Ke)}var su=nu;function ou(e,r){let{node:a}=e;if(a.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(r.originalText.slice(a.valueSpan.start.offset,a.valueSpan.end.offset))||r.parser==="lwc"&&a.value.startsWith("{")&&a.value.endsWith("}"))return[a.rawName,"=",a.value];for(let s of[Yo,Xo,Ro,su,Oo]){let l=s(e,r);if(l)return uu(l)}}}function uu(e){return async(r,a,s,l)=>{let p=await e(r,a,s,l);if(p)return p=En(p,m=>typeof m=="string"?A(!1,m,'"',"&quot;"):m),[s.node.rawName,'="',z(p),'"']}}var lu=ou,cu=new Proxy(()=>{},{get:()=>cu});function dt(e){return e.sourceSpan.start.offset}function Ot(e){return e.sourceSpan.end.offset}function Fr(e,r){return[e.isSelfClosing?"":pu(e,r),ft(e,r)]}function pu(e,r){return e.lastChild&&gt(e.lastChild)?"":[hu(e,r),Sr(e,r)]}function ft(e,r){return(e.next?Oe(e.next):Dt(e.parent))?"":[mt(e,r),Pe(e,r)]}function hu(e,r){return Dt(e)?mt(e.lastChild,r):""}function Pe(e,r){return gt(e)?Sr(e.parent,r):Mt(e)?Er(e.next,r):""}function Sr(e,r){if(sa(e,r))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function mt(e,r){if(sa(e,r))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function sa(e,r){return!e.isSelfClosing&&!e.endSourceSpan&&(It(e)||Hn(e.parent,r))}function Oe(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!se(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Dt(e){var r;return((r=e.lastChild)==null?void 0:r.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!se(gr(e.lastChild))&&!Ye(e)}function gt(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&se(gr(e))}function Mt(e){return e.next&&!se(e.next)&&se(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function du(e){let r=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return r?r[1]?r[1].split(/\s+/u):!0:!1}function Rt(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function fu(e,r,a){var s;let{node:l}=e;if(!mr(l.attrs))return l.isSelfClosing?" ":"";let p=((s=l.prev)==null?void 0:s.type)==="comment"&&du(l.prev.value),m=typeof p=="boolean"?()=>p:Array.isArray(p)?O=>p.includes(O.rawName):()=>!1,C=e.map(({node:O})=>m(O)?ue(r.originalText.slice(dt(O),Ot(O))):a(),"attrs"),S=l.type==="element"&&l.fullName==="script"&&l.attrs.length===1&&l.attrs[0].fullName==="src"&&l.children.length===0,x=r.singleAttributePerLine&&l.attrs.length>1&&!Xe(l,r)?H:U,w=[he([S?" ":U,Je(x,C)])];return l.firstChild&&Rt(l.firstChild)||l.isSelfClosing&&Dt(l.parent)||S?w.push(l.isSelfClosing?" ":""):w.push(r.bracketSameLine?l.isSelfClosing?" ":"":l.isSelfClosing?U:Q),w}function mu(e){return e.firstChild&&Rt(e.firstChild)?"":_r(e)}function wr(e,r,a){let{node:s}=e;return[vt(s,r),fu(e,r,a),s.isSelfClosing?"":mu(s)]}function vt(e,r){return e.prev&&Mt(e.prev)?"":[Me(e,r),Er(e,r)]}function Me(e,r){return Rt(e)?_r(e.parent):Oe(e)?mt(e.prev,r):""}var oa="<!doctype";function Er(e,r){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${e.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":{if(e.value==="html"){let{filepath:s}=r;if(s&&/\.html?$/u.test(s))return oa}let a=dt(e);return r.originalText.slice(a,a+oa.length)}case"angularIcuExpression":return"{";case"element":if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function _r(e){switch(e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return"><!--<![endif]-->";default:return">"}}function Du(e,r){if(!e.endSourceSpan)return"";let a=e.startSourceSpan.end.offset;e.firstChild&&Rt(e.firstChild)&&(a-=_r(e).length);let s=e.endSourceSpan.start.offset;return e.lastChild&&gt(e.lastChild)?s+=Sr(e,r).length:Dt(e)&&(s-=mt(e.lastChild,r).length),r.originalText.slice(a,s)}var ua=Du,gu=new Set(["if","else if","for","switch","case"]);function vu(e,r){let{node:a}=e;switch(a.type){case"element":if(ve(a,r)||a.type==="interpolation")return;if(!a.isSelfClosing&&vr(a,r)){let s=Kn(a,r);return s?async(l,p)=>{let m=ua(a,r),C=/^\s*$/u.test(m),S="";return C||(S=await l(jn(m),{parser:s,__embeddedInHtml:!0}),C=S===""),[Me(a,r),z(wr(e,r,p)),C?"":H,S,C?"":H,Fr(a,r),Pe(a,r)]}:void 0}break;case"text":if(ve(a.parent,r)){let s=Kn(a.parent,r);if(s)return async l=>{let p=s==="markdown"?Xn(a.value.replace(/^[^\S\n]*\n/u,"")):a.value,m={parser:s,__embeddedInHtml:!0};if(r.parser==="html"&&s==="babel"){let C="script",{attrMap:S}=a.parent;S&&(S.type==="module"||(S.type==="text/babel"||S.type==="text/jsx")&&S["data-type"]==="module")&&(C="module"),m.__babelSourceType=C}return[ct,Me(a,r),await l(p,m),Pe(a,r)]}}else if(a.parent.type==="interpolation")return async s=>{let l={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return r.parser==="angular"?l.parser="__ng_interpolation":r.parser==="vue"?l.parser=br(e,r)?"__vue_ts_expression":"__vue_expression":l.parser="__js_expression",[he([U,await s(a.value,l)]),a.parent.next&&Oe(a.parent.next)?" ":U]};break;case"attribute":return lu(e,r);case"front-matter":return s=>Us(a,s);case"angularControlFlowBlockParameters":return gu.has(e.parent.name)?Ws:void 0;case"angularLetDeclarationInitializer":return s=>ce(a.value,s,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}var Cu=vu;function yu(e,r="type"){function a(s){let l=s[r],p=e[l];if(!Array.isArray(p))throw Object.assign(new Error(`Missing visitor keys for '${l}'.`),{node:s});return p}return a}var bu=yu,Fu={"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"]},Su=Fu,wu=bu(Su),Eu=wu,_u="format",ku=/^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u,xu=/^\s*<!--\s*@(?:format|prettier)\s*-->/u;function Tu(e){return xu.test(e)}function Au(e){return ku.test(e)}function Bu(e){return`<!-- @${_u} -->

${e}`}var Lu=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 la(e){let r=Ot(e);return e.type==="element"&&!e.endSourceSpan&&mr(e.children)?Math.max(r,la(lt(!1,e.children,-1))):r}function Ct(e,r,a){let s=e.node;if(It(s)){let l=la(s);return[Me(s,r),ue(ge.trimEnd(r.originalText.slice(dt(s)+(s.prev&&Mt(s.prev)?Er(s).length:0),l-(s.next&&Oe(s.next)?mt(s,r).length:0)))),Pe(s,r)]}return a()}function jt(e,r){return se(e)&&se(r)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Dr(r)?H:U:"":Dr(r)?H:Q:Mt(e)&&(It(r)||r.firstChild||r.isSelfClosing||r.type==="element"&&r.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&Oe(r)?"":!r.isLeadingSpaceSensitive||Dr(r)||Oe(r)&&e.lastChild&&gt(e.lastChild)&&e.lastChild.lastChild&&gt(e.lastChild.lastChild)?H:r.hasLeadingSpaces?U:Q}function kr(e,r,a){let{node:s}=e;if(Un(s))return[ct,...e.map(p=>{let m=p.node,C=m.prev?jt(m.prev,m):"";return[C?[C,qt(m.prev)?H:""]:"",Ct(p,r,a)]},"children")];let l=s.children.map(()=>Symbol(""));return e.map((p,m)=>{let C=p.node;if(se(C)){if(C.prev&&se(C.prev)){let j=jt(C.prev,C);if(j)return qt(C.prev)?[H,H,Ct(p,r,a)]:[j,Ct(p,r,a)]}return Ct(p,r,a)}let S=[],x=[],w=[],O=[],L=C.prev?jt(C.prev,C):"",I=C.next?jt(C,C.next):"";return L&&(qt(C.prev)?S.push(H,H):L===H?S.push(H):se(C.prev)?x.push(L):x.push(Tt("",Q,{groupId:l[m-1]}))),I&&(qt(C)?se(C.next)&&O.push(H,H):I===H?se(C.next)&&O.push(H):w.push(I)),[...S,z([...x,z([Ct(p,r,a),...w],{id:l[m]})]),...O]},"children")}function Nu(e,r,a){let{node:s}=e,l=[];Iu(e)&&l.push("} "),l.push("@",s.name),s.parameters&&l.push(" (",z(a("parameters")),")"),l.push(" {");let p=ca(s);return s.children.length>0?(s.firstChild.hasLeadingSpaces=!0,s.lastChild.hasTrailingSpaces=!0,l.push(he([H,kr(e,r,a)])),p&&l.push(H,"}")):p&&l.push("}"),z(l,{shouldBreak:!0})}function ca(e){var r,a;return!(((r=e.next)==null?void 0:r.type)==="angularControlFlowBlock"&&(a=Lu.get(e.name))!=null&&a.has(e.next.name))}function Iu(e){let{previous:r}=e;return r?.type==="angularControlFlowBlock"&&!It(r)&&!ca(r)}function qu(e,r,a){return[he([Q,Je([";",U],e.map(a,"children"))]),Q]}function Pu(e,r,a){let{node:s}=e;return[vt(s,r),z([s.switchValue.trim(),", ",s.clause,s.cases.length>0?[",",he([U,Je(U,e.map(a,"cases"))])]:"",Q]),ft(s,r)]}function Ou(e,r,a){let{node:s}=e;return[s.value," {",z([he([Q,e.map(({node:l,isLast:p})=>{let m=[a()];return l.type==="text"&&(l.hasLeadingSpaces&&m.unshift(U),l.hasTrailingSpaces&&!p&&m.push(U)),m},"expression")]),Q]),"}"]}function Mu(e,r,a){let{node:s}=e;if(Hn(s,r))return[Me(s,r),z(wr(e,r,a)),ue(ua(s,r)),...Fr(s,r),Pe(s,r)];let l=s.children.length===1&&(s.firstChild.type==="interpolation"||s.firstChild.type==="angularIcuExpression")&&s.firstChild.isLeadingSpaceSensitive&&!s.firstChild.hasLeadingSpaces&&s.lastChild.isTrailingSpaceSensitive&&!s.lastChild.hasTrailingSpaces,p=Symbol("element-attr-group-id"),m=w=>z([z(wr(e,r,a),{id:p}),w,Fr(s,r)]),C=w=>l?Es(w,{groupId:p}):(ve(s,r)||Pt(s,r))&&s.parent.type==="root"&&r.parser==="vue"&&!r.vueIndentScriptAndStyle?w:he(w),S=()=>l?Tt(Q,"",{groupId:p}):s.firstChild.hasLeadingSpaces&&s.firstChild.isLeadingSpaceSensitive?U:s.firstChild.type==="text"&&s.isWhitespaceSensitive&&s.isIndentationSensitive?Ss(Q):Q,x=()=>(s.next?Oe(s.next):Dt(s.parent))?s.lastChild.hasTrailingSpaces&&s.lastChild.isTrailingSpaceSensitive?" ":"":l?Tt(Q,"",{groupId:p}):s.lastChild.hasTrailingSpaces&&s.lastChild.isTrailingSpaceSensitive?U:(s.lastChild.type==="comment"||s.lastChild.type==="text"&&s.isWhitespaceSensitive&&s.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${r.tabWidth*(e.ancestors.length-1)}}$`,"u").test(s.lastChild.value)?"":Q;return s.children.length===0?m(s.hasDanglingSpaces&&s.isDanglingSpaceSensitive?U:""):m([mo(s)?ct:"",C([S(),kr(e,r,a)]),x()])}function Ht(e){return e>=9&&e<=32||e==160}function xr(e){return 48<=e&&e<=57}function $t(e){return e>=97&&e<=122||e>=65&&e<=90}function Ru(e){return e>=97&&e<=102||e>=65&&e<=70||xr(e)}function Tr(e){return e===10||e===13}function pa(e){return 48<=e&&e<=55}function Ar(e){return e===39||e===34||e===96}var ju=/-+([a-z0-9])/g;function Hu(e){return e.replace(ju,(...r)=>r[1].toUpperCase())}var Br=class hs{constructor(r,a,s,l){this.file=r,this.offset=a,this.line=s,this.col=l}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(r){let a=this.file.content,s=a.length,l=this.offset,p=this.line,m=this.col;for(;l>0&&r<0;)if(l--,r++,a.charCodeAt(l)==10){p--;let C=a.substring(0,l-1).lastIndexOf(`
`);m=C>0?l-C:l}else m--;for(;l<s&&r>0;){let C=a.charCodeAt(l);l++,r--,C==10?(p++,m=0):m++}return new hs(this.file,l,p,m)}getContext(r,a){let s=this.file.content,l=this.offset;if(l!=null){l>s.length-1&&(l=s.length-1);let p=l,m=0,C=0;for(;m<r&&l>0&&(l--,m++,!(s[l]==`
`&&++C==a)););for(m=0,C=0;m<r&&p<s.length-1&&(p++,m++,!(s[p]==`
`&&++C==a)););return{before:s.substring(l,this.offset),after:s.substring(this.offset,p+1)}}return null}},ha=class{constructor(e,r){this.content=e,this.url=r}},N=class{constructor(e,r,a=e,s=null){this.start=e,this.end=r,this.fullStart=a,this.details=s}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},Ut;(function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"})(Ut||(Ut={}));var da=class{constructor(e,r,a=Ut.ERROR,s){this.span=e,this.msg=r,this.level=a,this.relatedError=s}contextualMessage(){let e=this.span.start.getContext(100,3);return e?`${this.msg} ("${e.before}[${Ut[this.level]} ->]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},$u=[Vu,Wu,Gu,Ku,Yu,Zu,Xu,Qu,el,Ju];function Uu(e,r){for(let a of $u)a(e,r);return e}function Vu(e){e.walk(r=>{if(r.type==="element"&&r.tagDefinition.ignoreFirstLf&&r.children.length>0&&r.children[0].type==="text"&&r.children[0].value[0]===`
`){let a=r.children[0];a.value.length===1?r.removeChild(a):a.value=a.value.slice(1)}})}function Wu(e){let r=a=>{var s,l;return a.type==="element"&&((s=a.prev)==null?void 0:s.type)==="ieConditionalStartComment"&&a.prev.sourceSpan.end.offset===a.startSourceSpan.start.offset&&((l=a.firstChild)==null?void 0:l.type)==="ieConditionalEndComment"&&a.firstChild.sourceSpan.start.offset===a.startSourceSpan.end.offset};e.walk(a=>{if(a.children)for(let s=0;s<a.children.length;s++){let l=a.children[s];if(!r(l))continue;let p=l.prev,m=l.firstChild;a.removeChild(p),s--;let C=new N(p.sourceSpan.start,m.sourceSpan.end),S=new N(C.start,l.sourceSpan.end);l.condition=p.condition,l.sourceSpan=S,l.startSourceSpan=C,l.removeChild(m)}})}function zu(e,r,a){e.walk(s=>{if(s.children)for(let l=0;l<s.children.length;l++){let p=s.children[l];if(p.type!=="text"&&!r(p))continue;p.type!=="text"&&(p.type="text",p.value=a(p));let m=p.prev;!m||m.type!=="text"||(m.value+=p.value,m.sourceSpan=new N(m.sourceSpan.start,p.sourceSpan.end),s.removeChild(p),l--)}})}function Gu(e){return zu(e,r=>r.type==="cdata",r=>`<![CDATA[${r.value}]]>`)}function Ju(e){let r=a=>{var s,l;return a.type==="element"&&a.attrs.length===0&&a.children.length===1&&a.firstChild.type==="text"&&!ge.hasWhitespaceCharacter(a.children[0].value)&&!a.firstChild.hasLeadingSpaces&&!a.firstChild.hasTrailingSpaces&&a.isLeadingSpaceSensitive&&!a.hasLeadingSpaces&&a.isTrailingSpaceSensitive&&!a.hasTrailingSpaces&&((s=a.prev)==null?void 0:s.type)==="text"&&((l=a.next)==null?void 0:l.type)==="text"};e.walk(a=>{if(a.children)for(let s=0;s<a.children.length;s++){let l=a.children[s];if(!r(l))continue;let p=l.prev,m=l.next;p.value+=`<${l.rawName}>`+l.firstChild.value+`</${l.rawName}>`+m.value,p.sourceSpan=new N(p.sourceSpan.start,m.sourceSpan.end),p.isTrailingSpaceSensitive=m.isTrailingSpaceSensitive,p.hasTrailingSpaces=m.hasTrailingSpaces,a.removeChild(l),s--,a.removeChild(m)}})}function Ku(e,r){if(r.parser==="html")return;let a=/\{\{(.+?)\}\}/su;e.walk(s=>{if(lo(s,r))for(let l of s.children){if(l.type!=="text")continue;let p=l.sourceSpan.start,m=null,C=l.value.split(a);for(let S=0;S<C.length;S++,p=m){let x=C[S];if(S%2===0){m=p.moveBy(x.length),x.length>0&&s.insertChildBefore(l,{type:"text",value:x,sourceSpan:new N(p,m)});continue}m=p.moveBy(x.length+4),s.insertChildBefore(l,{type:"interpolation",sourceSpan:new N(p,m),children:x.length===0?[]:[{type:"text",value:x,sourceSpan:new N(p.moveBy(2),m.moveBy(-2))}]})}s.removeChild(l)}})}function Yu(e,r){e.walk(a=>{let s=a.$children;if(!s)return;if(s.length===0||s.length===1&&s[0].type==="text"&&ge.trim(s[0].value).length===0){a.hasDanglingSpaces=s.length>0,a.$children=[];return}let l=co(a,r),p=$n(a);if(!l)for(let m=0;m<s.length;m++){let C=s[m];if(C.type!=="text")continue;let{leadingWhitespace:S,text:x,trailingWhitespace:w}=oo(C.value),O=C.prev,L=C.next;x?(C.value=x,C.sourceSpan=new N(C.sourceSpan.start.moveBy(S.length),C.sourceSpan.end.moveBy(-w.length)),S&&(O&&(O.hasTrailingSpaces=!0),C.hasLeadingSpaces=!0),w&&(C.hasTrailingSpaces=!0,L&&(L.hasLeadingSpaces=!0))):(a.removeChild(C),m--,(S||w)&&(O&&(O.hasTrailingSpaces=!0),L&&(L.hasLeadingSpaces=!0)))}a.isWhitespaceSensitive=l,a.isIndentationSensitive=p})}function Xu(e){e.walk(r=>{r.isSelfClosing=!r.children||r.type==="element"&&(r.tagDefinition.isVoid||r.endSourceSpan&&r.startSourceSpan.start===r.endSourceSpan.start&&r.startSourceSpan.end===r.endSourceSpan.end)})}function Qu(e,r){e.walk(a=>{a.type==="element"&&(a.hasHtmComponentClosingTag=a.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(r.originalText.slice(a.endSourceSpan.start.offset,a.endSourceSpan.end.offset)))})}function Zu(e,r){e.walk(a=>{a.cssDisplay=ko(a,r)})}function el(e,r){e.walk(a=>{let{children:s}=a;if(s){if(s.length===0){a.isDanglingSpaceSensitive=fo(a,r);return}for(let l of s)l.isLeadingSpaceSensitive=po(l,r),l.isTrailingSpaceSensitive=ho(l,r);for(let l=0;l<s.length;l++){let p=s[l];p.isLeadingSpaceSensitive=(l===0||p.prev.isTrailingSpaceSensitive)&&p.isLeadingSpaceSensitive,p.isTrailingSpaceSensitive=(l===s.length-1||p.next.isLeadingSpaceSensitive)&&p.isTrailingSpaceSensitive}}})}var tl=Uu;function rl(e,r,a){let{node:s}=e;switch(s.type){case"front-matter":return ue(s.raw);case"root":return r.__onHtmlRoot&&r.__onHtmlRoot(s),[z(kr(e,r,a)),H];case"element":case"ieConditionalComment":return Mu(e,r,a);case"angularControlFlowBlock":return Nu(e,r,a);case"angularControlFlowBlockParameters":return qu(e,r,a);case"angularControlFlowBlockParameter":return ge.trim(s.expression);case"angularLetDeclaration":return z(["@let ",z([s.id," =",z(he([U,a("init")]))]),";"]);case"angularLetDeclarationInitializer":return s.value;case"angularIcuExpression":return Pu(e,r,a);case"angularIcuCase":return Ou(e,r,a);case"ieConditionalStartComment":case"ieConditionalEndComment":return[vt(s),ft(s)];case"interpolation":return[vt(s,r),...e.map(a,"children"),ft(s,r)];case"text":{if(s.parent.type==="interpolation"){let C=/\n[^\S\n]*$/u,S=C.test(s.value),x=S?s.value.replace(C,""):s.value;return[ue(x),S?H:""]}let l=Me(s,r),p=Zn(s),m=Pe(s,r);return p[0]=[l,p[0]],p.push([p.pop(),m]),kn(p)}case"docType":return[z([vt(s,r)," ",A(!1,s.value.replace(/^html\b/iu,"html"),/\s+/gu," ")]),ft(s,r)];case"comment":return[Me(s,r),ue(r.originalText.slice(dt(s),Ot(s))),Pe(s,r)];case"attribute":{if(s.value===null)return s.rawName;let l=Qn(s.value),p=As(l,'"');return[s.rawName,"=",p,ue(p==='"'?A(!1,l,'"',"&quot;"):A(!1,l,"'","&apos;")),p]}case"cdata":default:throw new Os(s,"HTML")}}var nl={preprocess:tl,print:rl,insertPragma:Bu,massageAstNode:Hs,embed:Cu,getVisitorKeys:Eu},al=nl,il=[{name:"Angular",type:"markup",extensions:[".component.html"],tmScope:"text.html.basic",aceMode:"html",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["angular"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"HTML",type:"markup",extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],tmScope:"text.html.basic",aceMode:"html",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["html"],vscodeLanguageIds:["html"],linguistLanguageId:146},{name:"Lightning Web Components",type:"markup",extensions:[],tmScope:"text.html.basic",aceMode:"html",aliases:["xhtml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[],linguistLanguageId:146},{name:"MJML",type:"markup",extensions:[".mjml"],tmScope:"text.mjml.basic",aceMode:"html",aliases:["MJML","mjml"],codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",parsers:["mjml"],filenames:[],vscodeLanguageIds:["mjml"],linguistLanguageId:146},{name:"Vue",type:"markup",extensions:[".vue"],tmScope:"source.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"],linguistLanguageId:391}],fa={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."}},ma="HTML",sl={bracketSameLine:fa.bracketSameLine,htmlWhitespaceSensitivity:{category:ma,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:fa.singleAttributePerLine,vueIndentScriptAndStyle:{category:ma,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},ol=sl,Da={};f(Da,{angular:()=>dc,html:()=>cc,lwc:()=>mc,mjml:()=>hc,vue:()=>fc});var ga;(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"})(ga||(ga={}));var va;(function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"})(va||(va={}));var Ca;(function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"})(Ca||(Ca={}));var ya={name:"custom-elements"},ba={name:"no-errors-schema"},Re;(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"})(Re||(Re={}));var Fa;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"})(Fa||(Fa={}));var pe;(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"})(pe||(pe={}));function Vt(e,r=!0){if(e[0]!=":")return[null,e];let a=e.indexOf(":",1);if(a===-1){if(r)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[null,e]}return[e.slice(1,a),e.slice(a+1)]}function Sa(e){return Vt(e)[1]==="ng-container"}function wa(e){return Vt(e)[1]==="ng-content"}function Wt(e){return e===null?null:Vt(e)[0]}function zt(e,r){return e?`:${e}:${r}`:r}var Gt;function Ea(){return Gt||(Gt={},Jt(Re.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Jt(Re.STYLE,["*|style"]),Jt(Re.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"]),Jt(Re.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"])),Gt}function Jt(e,r){for(let a of r)Gt[a.toLowerCase()]=e}var ul=class{},ll="boolean",cl="number",pl="string",hl="object",dl=["[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:|"],_a=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),fl=Array.from(_a).reduce((e,[r,a])=>(e.set(r,a),e),new Map),ml=class extends ul{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,dl.forEach(e=>{let r=new Map,a=new Set,[s,l]=e.split("|"),p=l.split(","),[m,C]=s.split("^");m.split(",").forEach(x=>{this._schema.set(x.toLowerCase(),r),this._eventSchema.set(x.toLowerCase(),a)});let S=C&&this._schema.get(C.toLowerCase());if(S){for(let[x,w]of S)r.set(x,w);for(let x of this._eventSchema.get(C.toLowerCase()))a.add(x)}p.forEach(x=>{if(x.length>0)switch(x[0]){case"*":a.add(x.substring(1));break;case"!":r.set(x.substring(1),ll);break;case"#":r.set(x.substring(1),cl);break;case"%":r.set(x.substring(1),hl);break;default:r.set(x,pl)}})})}hasProperty(e,r,a){if(a.some(s=>s.name===ba.name))return!0;if(e.indexOf("-")>-1){if(Sa(e)||wa(e))return!1;if(a.some(s=>s.name===ya.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(r)}hasElement(e,r){return r.some(a=>a.name===ba.name)||e.indexOf("-")>-1&&(Sa(e)||wa(e)||r.some(a=>a.name===ya.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,r,a){a&&(r=this.getMappedPropName(r)),e=e.toLowerCase(),r=r.toLowerCase();let s=Ea()[e+"|"+r];return s||(s=Ea()["*|"+r],s||Re.NONE)}getMappedPropName(e){return _a.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)})=...
If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let r=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(r.keys()).map(a=>fl.get(a)??a)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Hu(e)}normalizeAnimationStyleValue(e,r,a){let s="",l=a.toString().trim(),p=null;if(Dl(e)&&a!==0&&a!=="0")if(typeof a=="number")s="px";else{let m=a.match(/^[+-]?[\d\.]+([a-z]*)$/);m&&m[1].length==0&&(p=`Please provide a CSS unit value for ${r}:${a}`)}return{error:p,value:l+s}}};function Dl(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var B=class{constructor({closedByChildren:e,implicitNamespacePrefix:r,contentType:a=pe.PARSABLE_DATA,closedByParent:s=!1,isVoid:l=!1,ignoreFirstLf:p=!1,preventNamespaceInheritance:m=!1,canSelfClose:C=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(S=>this.closedByChildren[S]=!0),this.isVoid=l,this.closedByParent=s||l,this.implicitNamespacePrefix=r||null,this.contentType=a,this.ignoreFirstLf=p,this.preventNamespaceInheritance=m,this.canSelfClose=C??l}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},ka,yt;function Lr(e){return yt||(ka=new B({canSelfClose:!0}),yt=Object.assign(Object.create(null),{base:new B({isVoid:!0}),meta:new B({isVoid:!0}),area:new B({isVoid:!0}),embed:new B({isVoid:!0}),link:new B({isVoid:!0}),img:new B({isVoid:!0}),input:new B({isVoid:!0}),param:new B({isVoid:!0}),hr:new B({isVoid:!0}),br:new B({isVoid:!0}),source:new B({isVoid:!0}),track:new B({isVoid:!0}),wbr:new B({isVoid:!0}),p:new B({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 B({closedByChildren:["tbody","tfoot"]}),tbody:new B({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new B({closedByChildren:["tbody"],closedByParent:!0}),tr:new B({closedByChildren:["tr"],closedByParent:!0}),td:new B({closedByChildren:["td","th"],closedByParent:!0}),th:new B({closedByChildren:["td","th"],closedByParent:!0}),col:new B({isVoid:!0}),svg:new B({implicitNamespacePrefix:"svg"}),foreignObject:new B({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new B({implicitNamespacePrefix:"math"}),li:new B({closedByChildren:["li"],closedByParent:!0}),dt:new B({closedByChildren:["dt","dd"]}),dd:new B({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new B({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new B({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new B({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new B({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new B({closedByChildren:["optgroup"],closedByParent:!0}),option:new B({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new B({ignoreFirstLf:!0}),listing:new B({ignoreFirstLf:!0}),style:new B({contentType:pe.RAW_TEXT}),script:new B({contentType:pe.RAW_TEXT}),title:new B({contentType:{default:pe.ESCAPABLE_RAW_TEXT,svg:pe.PARSABLE_DATA}}),textarea:new B({contentType:pe.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new ml().allKnownElementNames().forEach(r=>{!yt[r]&&Wt(r)===null&&(yt[r]=new B({canSelfClose:!1}))})),yt[e]??ka}var Qe=class{constructor(e,r){this.sourceSpan=e,this.i18n=r}},gl=class extends Qe{constructor(e,r,a,s){super(r,s),this.value=e,this.tokens=a,this.type="text"}visit(e,r){return e.visitText(this,r)}},vl=class extends Qe{constructor(e,r,a,s){super(r,s),this.value=e,this.tokens=a,this.type="cdata"}visit(e,r){return e.visitCdata(this,r)}},Cl=class extends Qe{constructor(e,r,a,s,l,p){super(s,p),this.switchValue=e,this.type=r,this.cases=a,this.switchValueSourceSpan=l}visit(e,r){return e.visitExpansion(this,r)}},yl=class{constructor(e,r,a,s,l){this.value=e,this.expression=r,this.sourceSpan=a,this.valueSourceSpan=s,this.expSourceSpan=l,this.type="expansionCase"}visit(e,r){return e.visitExpansionCase(this,r)}},bl=class extends Qe{constructor(e,r,a,s,l,p,m){super(a,m),this.name=e,this.value=r,this.keySpan=s,this.valueSpan=l,this.valueTokens=p,this.type="attribute"}visit(e,r){return e.visitAttribute(this,r)}get nameSpan(){return this.keySpan}},xe=class extends Qe{constructor(e,r,a,s,l,p=null,m=null,C){super(s,C),this.name=e,this.attrs=r,this.children=a,this.startSourceSpan=l,this.endSourceSpan=p,this.nameSpan=m,this.type="element"}visit(e,r){return e.visitElement(this,r)}},Fl=class{constructor(e,r){this.value=e,this.sourceSpan=r,this.type="comment"}visit(e,r){return e.visitComment(this,r)}},Sl=class{constructor(e,r){this.value=e,this.sourceSpan=r,this.type="docType"}visit(e,r){return e.visitDocType(this,r)}},Ze=class extends Qe{constructor(e,r,a,s,l,p,m=null,C){super(s,C),this.name=e,this.parameters=r,this.children=a,this.nameSpan=l,this.startSourceSpan=p,this.endSourceSpan=m,this.type="block"}visit(e,r){return e.visitBlock(this,r)}},xa=class{constructor(e,r){this.expression=e,this.sourceSpan=r,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,r){return e.visitBlockParameter(this,r)}},Ta=class{constructor(e,r,a,s,l){this.name=e,this.value=r,this.sourceSpan=a,this.nameSpan=s,this.valueSpan=l,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,r){return e.visitLetDeclaration(this,r)}};function Aa(e,r,a=null){let s=[],l=e.visit?p=>e.visit(p,a)||p.visit(e,a):p=>p.visit(e,a);return r.forEach(p=>{let m=l(p);m&&s.push(m)}),s}var wl=class{constructor(){}visitElement(e,r){this.visitChildren(r,a=>{a(e.attrs),a(e.children)})}visitAttribute(e,r){}visitText(e,r){}visitCdata(e,r){}visitComment(e,r){}visitDocType(e,r){}visitExpansion(e,r){return this.visitChildren(r,a=>{a(e.cases)})}visitExpansionCase(e,r){}visitBlock(e,r){this.visitChildren(r,a=>{a(e.parameters),a(e.children)})}visitBlockParameter(e,r){}visitLetDeclaration(e,r){}visitChildren(e,r){let a=[],s=this;function l(p){p&&a.push(Aa(s,p,e))}return r(l),Array.prototype.concat.apply([],a)}},Kt={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:"Ĳ",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:`
`,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:"	",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:"ﬃ",fflig:"ﬀ",ffllig:"ﬄ",ffr:"𝔣",filig:"ﬁ",fjlig:"fj",flat:"♭",fllig:"ﬂ",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:"ĳ",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:"ŉ",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:"‌"},El="";Kt.ngsp=El;var _l=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function kl(e,r){if(r!=null&&!(Array.isArray(r)&&r.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(r!=null){let a=r[0],s=r[1];_l.forEach(l=>{if(l.test(a)||l.test(s))throw new Error(`['${a}', '${s}'] contains unusable interpolation symbol.`)})}}var xl=class ds{static fromArray(r){return r?(kl("interpolation",r),new ds(r[0],r[1])):Ba}constructor(r,a){this.start=r,this.end=a}},Ba=new xl("{{","}}"),Nr=class extends da{constructor(e,r,a){super(a,e),this.tokenType=r}},Tl=class{constructor(e,r,a){this.tokens=e,this.errors=r,this.nonNormalizedIcuExpressions=a}};function Al(e,r,a,s={}){let l=new Nl(new ha(e,r),a,s);return l.tokenize(),new Tl(Rl(l.tokens),l.errors,l.nonNormalizedIcuExpressions)}var Bl=/\r\n?/g;function et(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function La(e){return`Unknown entity "${e}" - use the "&#<decimal>;" or  "&#x<hex>;" syntax`}function Ll(e,r){return`Unable to parse entity "${r}" - ${e} character reference entities must end with ";"`}var Yt;(function(e){e.HEX="hexadecimal",e.DEC="decimal"})(Yt||(Yt={}));var Ir=class{constructor(e){this.error=e}},Nl=class{constructor(e,r,a){this._getTagContentType=r,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=a.tokenizeExpansionForms||!1,this._interpolationConfig=a.interpolationConfig||Ba,this._leadingTriviaCodePoints=a.leadingTriviaChars&&a.leadingTriviaChars.map(l=>l.codePointAt(0)||0),this._canSelfClose=a.canSelfClose||!1,this._allowHtmComponentClosingTags=a.allowHtmComponentClosingTags||!1;let s=a.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=a.escapedString?new jl(e,s):new Oa(e,s),this._preserveLineEndings=a.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=a.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=a.tokenizeBlocks??!0,this._tokenizeLet=a.tokenizeLet??!0;try{this._cursor.init()}catch(l){this.handleError(l)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(Bl,`
`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let r=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=r,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(r){this.handleError(r)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,r=this._cursor.clone();return this._attemptCharCodeUntilFn(a=>Ht(a)?!e:qa(a)?(e=!0,!1):!0),this._cursor.getChars(r).trim()}_consumeBlockStart(e){this._beginToken(25,e);let r=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(V),this._attemptCharCode(41))this._attemptCharCodeUntilFn(V);else{r.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):r.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Pa);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),r=null,a=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||r!==null;){let s=this._cursor.peek();if(s===92)this._cursor.advance();else if(s===r)r=null;else if(r===null&&Ar(s))r=s;else if(s===40&&r===null)a++;else if(s===41&&r===null){if(a===0)break;a>0&&a--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Pa)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),Ht(this._cursor.peek()))this._attemptCharCodeUntilFn(V);else{let a=this._endToken([this._cursor.getChars(e)]);a.type=33;return}let r=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(V),!this._attemptCharCode(61)){r.type=33;return}this._attemptCharCodeUntilFn(a=>V(a)&&!Tr(a)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(r.type=33,r.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),r=!1;return this._attemptCharCodeUntilFn(a=>$t(a)||a===36||a===95||r&&xr(a)?(r=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let r=this._cursor.peek();if(r===59)break;Ar(r)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(a=>a===92?(this._cursor.advance(),!1):a===r)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Ol(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,r=this._cursor.clone()){this._currentTokenStart=r,this._currentTokenType=e}_endToken(e,r){if(this._currentTokenStart===null)throw new Nr("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(r));if(this._currentTokenType===null)throw new Nr("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let a={type:this._currentTokenType,parts:e,sourceSpan:(r??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(a),this._currentTokenStart=null,this._currentTokenType=null,a}_createError(e,r){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let a=new Nr(e,this._currentTokenType,r);return this._currentTokenStart=null,this._currentTokenType=null,new Ir(a)}handleError(e){if(e instanceof qr&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof Ir)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return Ml(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let r=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(et(this._cursor.peek()),this._cursor.getSpan(r))}_attemptStr(e){let r=e.length;if(this._cursor.charsLeft()<r)return!1;let a=this._cursor.clone();for(let s=0;s<r;s++)if(!this._attemptCharCode(e.charCodeAt(s)))return this._cursor=a,!1;return!0}_attemptStrCaseInsensitive(e){for(let r=0;r<e.length;r++)if(!this._attemptCharCodeCaseInsensitive(e.charCodeAt(r)))return!1;return!0}_requireStr(e){let r=this._cursor.clone();if(!this._attemptStr(e))throw this._createError(et(this._cursor.peek()),this._cursor.getSpan(r))}_requireStrCaseInsensitive(e){let r=this._cursor.clone();if(!this._attemptStrCaseInsensitive(e))throw this._createError(et(this._cursor.peek()),this._cursor.getSpan(r))}_attemptCharCodeUntilFn(e){for(;!e(this._cursor.peek());)this._cursor.advance()}_requireCharCodeUntilFn(e,r){let a=this._cursor.clone();if(this._attemptCharCodeUntilFn(e),this._cursor.diff(a)<r)throw this._createError(et(this._cursor.peek()),this._cursor.getSpan(a))}_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 r=this._cursor.clone();if(this._cursor.advance(),this._attemptCharCode(35)){let a=this._attemptCharCode(120)||this._attemptCharCode(88),s=this._cursor.clone();if(this._attemptCharCodeUntilFn(ql),this._cursor.peek()!=59){this._cursor.advance();let p=a?Yt.HEX:Yt.DEC;throw this._createError(Ll(p,this._cursor.getChars(r)),this._cursor.getSpan())}let l=this._cursor.getChars(s);this._cursor.advance();try{let p=parseInt(l,a?16:10);this._endToken([String.fromCharCode(p),this._cursor.getChars(r)])}catch{throw this._createError(La(this._cursor.getChars(r)),this._cursor.getSpan())}}else{let a=this._cursor.clone();if(this._attemptCharCodeUntilFn(Pl),this._cursor.peek()!=59)this._beginToken(e,r),this._cursor=a,this._endToken(["&"]);else{let s=this._cursor.getChars(a);this._cursor.advance();let l=Kt[s];if(!l)throw this._createError(La(s),this._cursor.getSpan(r));this._endToken([l,`&${s};`])}}}_consumeRawText(e,r){this._beginToken(e?6:7);let a=[];for(;;){let s=this._cursor.clone(),l=r();if(this._cursor=s,l)break;e&&this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(6),this._beginToken(6)):a.push(this._readChar())}this._endToken([this._processCarriageReturns(a.join(""))])}_consumeComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),r="";for(;this._cursor.peek()!==58&&!Il(this._cursor.peek());)this._cursor.advance();let a;this._cursor.peek()===58?(r=this._cursor.getChars(e),this._cursor.advance(),a=this._cursor.clone()):a=e,this._requireCharCodeUntilFn(Na,r===""?0:1);let s=this._cursor.getChars(a);return[r,s]}_consumeTagOpen(e){let r,a,s,l=[];try{if(!$t(this._cursor.peek()))throw this._createError(et(this._cursor.peek()),this._cursor.getSpan(e));for(s=this._consumeTagOpenStart(e),a=s.parts[0],r=s.parts[1],this._attemptCharCodeUntilFn(V);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[m,C]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(V),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(V);let S=this._consumeAttributeValue();l.push({prefix:m,name:C,value:S})}else l.push({prefix:m,name:C});this._attemptCharCodeUntilFn(V)}this._consumeTagOpenEnd()}catch(m){if(m instanceof Ir){s?s.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw m}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let p=this._getTagContentType(r,a,this._fullNameStack.length>0,l);this._handleFullNameStackForTagOpen(a,r),p===pe.RAW_TEXT?this._consumeRawTextWithTagClose(a,r,!1):p===pe.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(a,r,!0)}_consumeRawTextWithTagClose(e,r,a){this._consumeRawText(a,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(V),!this._attemptStrCaseInsensitive(e?`${e}:${r}`:r))?!1:(this._attemptCharCodeUntilFn(V),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(s=>s===62,3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(0,e);let r=this._consumePrefixAndName();return this._endToken(r)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(et(e),this._cursor.getSpan());this._beginToken(14);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let r=this._cursor.peek();this._consumeQuote(r);let a=()=>this._cursor.peek()===r;e=this._consumeWithInterpolation(16,17,a,a),this._consumeQuote(r)}else{let r=()=>Na(this._cursor.peek());e=this._consumeWithInterpolation(16,17,r,r)}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(V),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(V),this._requireCharCode(62),this._endToken([]);else{let[r,a]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(V),this._requireCharCode(62),this._endToken([r,a]),this._handleFullNameStackForTagClose(r,a)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),r=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([r]);else{let s=this._endToken([e]);r!==e&&this.nonNormalizedIcuExpressions.push(s)}this._requireCharCode(44),this._attemptCharCodeUntilFn(V),this._beginToken(7);let a=this._readUntil(44);this._endToken([a]),this._requireCharCode(44),this._attemptCharCodeUntilFn(V)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(V),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(V),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(V),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,r,a,s){this._beginToken(e);let l=[];for(;!a();){let m=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(l.join(""))],m),l.length=0,this._consumeInterpolation(r,m,s),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(l.join(""))]),l.length=0,this._consumeEntity(e),this._beginToken(e)):l.push(this._readChar())}this._inInterpolation=!1;let p=this._processCarriageReturns(l.join(""));return this._endToken([p]),p}_consumeInterpolation(e,r,a){let s=[];this._beginToken(e,r),s.push(this._interpolationConfig.start);let l=this._cursor.clone(),p=null,m=!1;for(;this._cursor.peek()!==0&&(a===null||!a());){let C=this._cursor.clone();if(this._isTagStart()){this._cursor=C,s.push(this._getProcessedChars(l,C)),this._endToken(s);return}if(p===null)if(this._attemptStr(this._interpolationConfig.end)){s.push(this._getProcessedChars(l,C)),s.push(this._interpolationConfig.end),this._endToken(s);return}else this._attemptStr("//")&&(m=!0);let S=this._cursor.peek();this._cursor.advance(),S===92?this._cursor.advance():S===p?p=null:!m&&p===null&&Ar(S)&&(p=S)}s.push(this._getProcessedChars(l,this._cursor)),this._endToken(s)}_getProcessedChars(e,r){return this._processCarriageReturns(r.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let r=e.peek();if(97<=r&&r<=122||65<=r&&r<=90||r===47||r===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),qa(e.peek()))return!0}return!1}_readUntil(e){let r=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(r)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),r=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!r}return!0}_handleFullNameStackForTagOpen(e,r){let a=zt(e,r);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===a)&&this._fullNameStack.push(a)}_handleFullNameStackForTagClose(e,r){let a=zt(e,r);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===a&&this._fullNameStack.pop()}};function V(e){return!Ht(e)||e===0}function Na(e){return Ht(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function Il(e){return(e<97||122<e)&&(e<65||90<e)&&(e<48||e>57)}function ql(e){return e===59||e===0||!Ru(e)}function Pl(e){return e===59||e===0||!$t(e)}function Ol(e){return e!==125}function Ml(e,r){return Ia(e)===Ia(r)}function Ia(e){return e>=97&&e<=122?e-97+65:e}function qa(e){return $t(e)||xr(e)||e===95}function Pa(e){return e!==59&&V(e)}function Rl(e){let r=[],a;for(let s=0;s<e.length;s++){let l=e[s];a&&a.type===5&&l.type===5||a&&a.type===16&&l.type===16?(a.parts[0]+=l.parts[0],a.sourceSpan.end=l.sourceSpan.end):(a=l,r.push(a))}return r}var Oa=class tn{constructor(r,a){if(r instanceof tn){this.file=r.file,this.input=r.input,this.end=r.end;let s=r.state;this.state={peek:s.peek,offset:s.offset,line:s.line,column:s.column}}else{if(!a)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=r,this.input=r.content,this.end=a.endPos,this.state={peek:-1,offset:a.startPos,line:a.startLine,column:a.startCol}}}clone(){return new tn(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(r){return this.state.offset-r.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(r,a){r=r||this;let s=r;if(a)for(;this.diff(r)>0&&a.indexOf(r.peek())!==-1;)s===r&&(r=r.clone()),r.advance();let l=this.locationFromCursor(r),p=this.locationFromCursor(this),m=s!==r?this.locationFromCursor(s):l;return new N(l,p,m)}getChars(r){return this.input.substring(r.state.offset,this.state.offset)}charAt(r){return this.input.charCodeAt(r)}advanceState(r){if(r.offset>=this.end)throw this.state=r,new qr('Unexpected character "EOF"',this);let a=this.charAt(r.offset);a===10?(r.line++,r.column=0):Tr(a)||r.column++,r.offset++,this.updatePeek(r)}updatePeek(r){r.peek=r.offset>=this.end?0:this.charAt(r.offset)}locationFromCursor(r){return new Br(r.file,r.state.offset,r.state.line,r.state.column)}},jl=class rn extends Oa{constructor(r,a){r instanceof rn?(super(r),this.internalState={...r.internalState}):(super(r,a),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new rn(this)}getChars(r){let a=r.clone(),s="";for(;a.internalState.offset<this.internalState.offset;)s+=String.fromCodePoint(a.peek()),a.advance();return s}processEscapeSequence(){let r=()=>this.internalState.peek;if(r()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),r()===110)this.state.peek=10;else if(r()===114)this.state.peek=13;else if(r()===118)this.state.peek=11;else if(r()===116)this.state.peek=9;else if(r()===98)this.state.peek=8;else if(r()===102)this.state.peek=12;else if(r()===117)if(this.advanceState(this.internalState),r()===123){this.advanceState(this.internalState);let a=this.clone(),s=0;for(;r()!==125;)this.advanceState(this.internalState),s++;this.state.peek=this.decodeHexDigits(a,s)}else{let a=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(a,4)}else if(r()===120){this.advanceState(this.internalState);let a=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(a,2)}else if(pa(r())){let a="",s=0,l=this.clone();for(;pa(r())&&s<3;)l=this.clone(),a+=String.fromCodePoint(r()),this.advanceState(this.internalState),s++;this.state.peek=parseInt(a,8),this.internalState=l.internalState}else Tr(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(r,a){let s=this.input.slice(r.internalState.offset,r.internalState.offset+a),l=parseInt(s,16);if(isNaN(l))throw r.state=r.internalState,new qr("Invalid hexadecimal escape sequence",r);return l}},qr=class{constructor(e,r){this.msg=e,this.cursor=r}},ee=class fs extends da{static create(r,a,s){return new fs(r,a,s)}constructor(r,a,s){super(a,s),this.elementName=r}},Hl=class{constructor(e,r){this.rootNodes=e,this.errors=r}},$l=class{constructor(e){this.getTagDefinition=e}parse(e,r,a,s=!1,l){let p=I=>(j,...G)=>I(j.toLowerCase(),...G),m=s?this.getTagDefinition:p(this.getTagDefinition),C=I=>m(I).getContentType(),S=s?l:p(l),x=Al(e,r,l?(I,j,G,Y)=>{let Z=S(I,j,G,Y);return Z!==void 0?Z:C(I)}:C,a),w=a&&a.canSelfClose||!1,O=a&&a.allowHtmComponentClosingTags||!1,L=new Ul(x.tokens,m,w,O,s);return L.build(),new Hl(L.rootNodes,x.errors.concat(L.errors))}},Ul=class ms{constructor(r,a,s,l,p){this.tokens=r,this.getTagDefinition=a,this.canSelfClose=s,this.allowHtmComponentClosingTags=l,this.isTagNameCaseSensitive=p,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let r of this._containerStack)r instanceof Ze&&this.errors.push(ee.create(r.name,r.sourceSpan,`Unclosed block "${r.name}"`))}_advance(){let r=this._peek;return this._index<this.tokens.length-1&&this._index++,this._peek=this.tokens[this._index],r}_advanceIf(r){return this._peek.type===r?this._advance():null}_consumeCdata(r){let a=this._advance(),s=this._getText(a),l=this._advanceIf(13);this._addToParent(new vl(s,new N(r.sourceSpan.start,(l||a).sourceSpan.end),[a]))}_consumeComment(r){let a=this._advanceIf(7),s=this._advanceIf(11),l=a!=null?a.parts[0].trim():null,p=s==null?r.sourceSpan:new N(r.sourceSpan.start,s.sourceSpan.end,r.sourceSpan.fullStart);this._addToParent(new Fl(l,p))}_consumeDocType(r){let a=this._advanceIf(7),s=this._advanceIf(19),l=a!=null?a.parts[0].trim():null,p=new N(r.sourceSpan.start,(s||a||r).sourceSpan.end);this._addToParent(new Sl(l,p))}_consumeExpansion(r){let a=this._advance(),s=this._advance(),l=[];for(;this._peek.type===21;){let m=this._parseExpansionCase();if(!m)return;l.push(m)}if(this._peek.type!==24){this.errors.push(ee.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '}'."));return}let p=new N(r.sourceSpan.start,this._peek.sourceSpan.end,r.sourceSpan.fullStart);this._addToParent(new Cl(a.parts[0],s.parts[0],l,p,a.sourceSpan)),this._advance()}_parseExpansionCase(){let r=this._advance();if(this._peek.type!==22)return this.errors.push(ee.create(null,this._peek.sourceSpan,"Invalid ICU message. Missing '{'.")),null;let a=this._advance(),s=this._collectExpansionExpTokens(a);if(!s)return null;let l=this._advance();s.push({type:34,parts:[],sourceSpan:l.sourceSpan});let p=new ms(s,this.getTagDefinition,this.canSelfClose,this.allowHtmComponentClosingTags,this.isTagNameCaseSensitive);if(p.build(),p.errors.length>0)return this.errors=this.errors.concat(p.errors),null;let m=new N(r.sourceSpan.start,l.sourceSpan.end,r.sourceSpan.fullStart),C=new N(a.sourceSpan.start,l.sourceSpan.end,a.sourceSpan.fullStart);return new yl(r.parts[0],p.rootNodes,m,r.sourceSpan,C)}_collectExpansionExpTokens(r){let a=[],s=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&s.push(this._peek.type),this._peek.type===23)if(Ma(s,22)){if(s.pop(),s.length===0)return a}else return this.errors.push(ee.create(null,r.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Ma(s,20))s.pop();else return this.errors.push(ee.create(null,r.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(ee.create(null,r.sourceSpan,"Invalid ICU message. Missing '}'.")),null;a.push(this._advance())}}_getText(r){let a=r.parts[0];if(a.length>0&&a[0]==`
`){let s=this._getClosestParentElement();s!=null&&s.children.length==0&&this.getTagDefinition(s.name).ignoreFirstLf&&(a=a.substring(1))}return a}_consumeText(r){let a=[r],s=r.sourceSpan,l=r.parts[0];if(l.length>0&&l[0]===`
`){let p=this._getContainer();p!=null&&p.children.length===0&&this.getTagDefinition(p.name).ignoreFirstLf&&(l=l.substring(1),a[0]={type:r.type,sourceSpan:r.sourceSpan,parts:[l]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)r=this._advance(),a.push(r),r.type===8?l+=r.parts.join("").replace(/&([^;]+);/g,Ra):r.type===9?l+=r.parts[0]:l+=r.parts.join("");if(l.length>0){let p=r.sourceSpan;this._addToParent(new gl(l,new N(s.start,p.end,s.fullStart,s.details),a))}}_closeVoidElement(){let r=this._getContainer();r instanceof xe&&this.getTagDefinition(r.name).isVoid&&this._containerStack.pop()}_consumeStartTag(r){let[a,s]=r.parts,l=[];for(;this._peek.type===14;)l.push(this._consumeAttr(this._advance()));let p=this._getElementFullName(a,s,this._getClosestParentElement()),m=!1;if(this._peek.type===2){this._advance(),m=!0;let I=this.getTagDefinition(p);this.canSelfClose||I.canSelfClose||Wt(p)!==null||I.isVoid||this.errors.push(ee.create(p,r.sourceSpan,`Only void, custom and foreign elements can be self closed "${r.parts[1]}"`))}else this._peek.type===1&&(this._advance(),m=!1);let C=this._peek.sourceSpan.fullStart,S=new N(r.sourceSpan.start,C,r.sourceSpan.fullStart),x=new N(r.sourceSpan.start,C,r.sourceSpan.fullStart),w=new N(r.sourceSpan.start.moveBy(1),r.sourceSpan.end),O=new xe(p,l,[],S,x,void 0,w),L=this._getContainer();this._pushContainer(O,L instanceof xe&&this.getTagDefinition(L.name).isClosedByChild(O.name)),m?this._popContainer(p,xe,S):r.type===4&&(this._popContainer(p,xe,null),this.errors.push(ee.create(p,S,`Opening tag "${p}" not terminated.`)))}_pushContainer(r,a){a&&this._containerStack.pop(),this._addToParent(r),this._containerStack.push(r)}_consumeEndTag(r){let a=this.allowHtmComponentClosingTags&&r.parts.length===0?null:this._getElementFullName(r.parts[0],r.parts[1],this._getClosestParentElement());if(a&&this.getTagDefinition(a).isVoid)this.errors.push(ee.create(a,r.sourceSpan,`Void elements do not have end tags "${r.parts[1]}"`));else if(!this._popContainer(a,xe,r.sourceSpan)){let s=`Unexpected closing tag "${a}". 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(ee.create(a,r.sourceSpan,s))}}_popContainer(r,a,s){let l=!1;for(let p=this._containerStack.length-1;p>=0;p--){let m=this._containerStack[p];if(Wt(m.name)?m.name===r:(r==null||m.name.toLowerCase()===r.toLowerCase())&&m instanceof a)return m.endSourceSpan=s,m.sourceSpan.end=s!==null?s.end:m.sourceSpan.end,this._containerStack.splice(p,this._containerStack.length-p),!l;(m instanceof Ze||m instanceof xe&&!this.getTagDefinition(m.name).closedByParent)&&(l=!0)}return!1}_consumeAttr(r){let a=zt(r.parts[0],r.parts[1]),s=r.sourceSpan.end,l;this._peek.type===15&&(l=this._advance());let p="",m=[],C,S;if(this._peek.type===16)for(C=this._peek.sourceSpan,S=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let w=this._advance();m.push(w),w.type===17?p+=w.parts.join("").replace(/&([^;]+);/g,Ra):w.type===9?p+=w.parts[0]:p+=w.parts.join(""),S=s=w.sourceSpan.end}this._peek.type===15&&(S=s=this._advance().sourceSpan.end);let x=C&&S&&new N(l?.sourceSpan.start??C.start,S,l?.sourceSpan.fullStart??C.fullStart);return new bl(a,p,new N(r.sourceSpan.start,s,r.sourceSpan.fullStart),r.sourceSpan,x,m.length>0?m:void 0,void 0)}_consumeBlockOpen(r){let a=[];for(;this._peek.type===28;){let C=this._advance();a.push(new xa(C.parts[0],C.sourceSpan))}this._peek.type===26&&this._advance();let s=this._peek.sourceSpan.fullStart,l=new N(r.sourceSpan.start,s,r.sourceSpan.fullStart),p=new N(r.sourceSpan.start,s,r.sourceSpan.fullStart),m=new Ze(r.parts[0],a,[],l,r.sourceSpan,p);this._pushContainer(m,!1)}_consumeBlockClose(r){this._popContainer(null,Ze,r.sourceSpan)||this.errors.push(ee.create(null,r.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "&#125;" HTML entity instead.'))}_consumeIncompleteBlock(r){let a=[];for(;this._peek.type===28;){let C=this._advance();a.push(new xa(C.parts[0],C.sourceSpan))}let s=this._peek.sourceSpan.fullStart,l=new N(r.sourceSpan.start,s,r.sourceSpan.fullStart),p=new N(r.sourceSpan.start,s,r.sourceSpan.fullStart),m=new Ze(r.parts[0],a,[],l,r.sourceSpan,p);this._pushContainer(m,!1),this._popContainer(null,Ze,null),this.errors.push(ee.create(r.parts[0],l,`Incomplete block "${r.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`))}_consumeLet(r){let a=r.parts[0],s,l;if(this._peek.type!==31){this.errors.push(ee.create(r.parts[0],r.sourceSpan,`Invalid @let declaration "${a}". Declaration must have a value.`));return}else s=this._advance();if(this._peek.type!==32){this.errors.push(ee.create(r.parts[0],r.sourceSpan,`Unterminated @let declaration "${a}". Declaration must be terminated with a semicolon.`));return}else l=this._advance();let p=l.sourceSpan.fullStart,m=new N(r.sourceSpan.start,p,r.sourceSpan.fullStart),C=r.sourceSpan.toString().lastIndexOf(a),S=r.sourceSpan.start.moveBy(C),x=new N(S,r.sourceSpan.end),w=new Ta(a,s.parts[0],m,x,s.sourceSpan);this._addToParent(w)}_consumeIncompleteLet(r){let a=r.parts[0]??"",s=a?` "${a}"`:"";if(a.length>0){let l=r.sourceSpan.toString().lastIndexOf(a),p=r.sourceSpan.start.moveBy(l),m=new N(p,r.sourceSpan.end),C=new N(r.sourceSpan.start,r.sourceSpan.start.moveBy(0)),S=new Ta(a,"",r.sourceSpan,m,C);this._addToParent(S)}this.errors.push(ee.create(r.parts[0],r.sourceSpan,`Incomplete @let declaration${s}. @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 r=this._containerStack.length-1;r>-1;r--)if(this._containerStack[r]instanceof xe)return this._containerStack[r];return null}_addToParent(r){let a=this._getContainer();a===null?this.rootNodes.push(r):a.children.push(r)}_getElementFullName(r,a,s){if(r===""&&(r=this.getTagDefinition(a).implicitNamespacePrefix||"",r===""&&s!=null)){let l=Vt(s.name)[1];this.getTagDefinition(l).preventNamespaceInheritance||(r=Wt(s.name))}return zt(r,a)}};function Ma(e,r){return e.length>0&&e[e.length-1]===r}function Ra(e,r){return Kt[r]!==void 0?Kt[r]||e:/^#x[a-f0-9]+$/i.test(r)?String.fromCodePoint(parseInt(r.slice(2),16)):/^#\d+$/.test(r)?String.fromCodePoint(parseInt(r.slice(1),10)):e}var Vl=class extends $l{constructor(){super(Lr)}parse(e,r,a,s=!1,l){return super.parse(e,r,a,s,l)}},Pr=null,Wl=()=>(Pr||(Pr=new Vl),Pr);function ja(e,r={}){let{canSelfClose:a=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:l=!1,getTagContentType:p,tokenizeAngularBlocks:m=!1,tokenizeAngularLetDeclaration:C=!1}=r;return Wl().parse(e,"angular-html-parser",{tokenizeExpansionForms:m,interpolationConfig:void 0,canSelfClose:a,allowHtmComponentClosingTags:s,tokenizeBlocks:m,tokenizeLet:C},l,p)}function zl(e,r){let a=new SyntaxError(e+" ("+r.loc.start.line+":"+r.loc.start.column+")");return Object.assign(a,r)}var Gl=zl,Xt=3;function Jl(e){let r=e.slice(0,Xt);if(r!=="---"&&r!=="+++")return;let a=e.indexOf(`
`,Xt);if(a===-1)return;let s=e.slice(Xt,a).trim(),l=e.indexOf(`
${r}`,a),p=s;if(p||(p=r==="+++"?"toml":"yaml"),l===-1&&r==="---"&&p==="yaml"&&(l=e.indexOf(`
...`,a)),l===-1)return;let m=l+1+Xt,C=e.charAt(m+1);if(!/\s?/u.test(C))return;let S=e.slice(0,m);return{type:"front-matter",language:p,explicitLanguage:s,value:e.slice(a+1,l),startDelimiter:r,endDelimiter:S.slice(-3),raw:S}}function Kl(e){let r=Jl(e);if(!r)return{content:e};let{raw:a}=r;return{frontMatter:r,content:A(!1,a,/[^\n]/gu," ")+e.slice(a.length)}}var Yl=Kl,Qt={attrs:!0,children:!0,cases:!0,expression:!0},Ha=new Set(["parent"]),tt,Or,Mr,Xl=class St{constructor(r={}){b(this,tt),F(this,"type"),F(this,"parent");for(let a of new Set([...Ha,...Object.keys(r)]))this.setProperty(a,r[a])}setProperty(r,a){if(this[r]!==a){if(r in Qt&&(a=a.map(s=>this.createChild(s))),!Ha.has(r)){this[r]=a;return}Object.defineProperty(this,r,{value:a,enumerable:!1,configurable:!0})}}map(r){let a;for(let s in Qt){let l=this[s];if(l){let p=Zl(l,m=>m.map(r));a!==l&&(a||(a=new St({parent:this.parent})),a.setProperty(s,p))}}if(a)for(let s in this)s in Qt||(a[s]=this[s]);return r(a||this)}walk(r){for(let a in Qt){let s=this[a];if(s)for(let l=0;l<s.length;l++)s[l].walk(r)}r(this)}createChild(r){let a=r instanceof St?r.clone():new St(r);return a.setProperty("parent",this),a}insertChildBefore(r,a){let s=this.$children;s.splice(s.indexOf(r),0,this.createChild(a))}removeChild(r){let a=this.$children;a.splice(a.indexOf(r),1)}replaceChild(r,a){let s=this.$children;s[s.indexOf(r)]=this.createChild(a)}clone(){return new St(this)}get $children(){return this[y(this,tt,Or)]}set $children(r){this[y(this,tt,Or)]=r}get firstChild(){var r;return(r=this.$children)==null?void 0:r[0]}get lastChild(){return lt(!0,this.$children,-1)}get prev(){let r=y(this,tt,Mr);return r[r.indexOf(this)-1]}get next(){let r=y(this,tt,Mr);return r[r.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(r=>[r.fullName,r.value]))}};tt=new WeakSet,Or=function(){return this.type==="angularIcuCase"?"expression":this.type==="angularIcuExpression"?"cases":"children"},Mr=function(){var e;return((e=this.parent)==null?void 0:e.$children)??[]};var Ql=Xl;function Zl(e,r){let a=e.map(r);return a.some((s,l)=>s!==e[l])?a:e}var ec=[{regex:/^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su,parse:rc},{regex:/^\[if([^\]]*)\]><!$/u,parse:nc},{regex:/^<!\s*\[endif\]$/u,parse:ac}];function tc(e,r){if(e.value)for(let{regex:a,parse:s}of ec){let l=e.value.match(a);if(l)return s(e,r,l)}return null}function rc(e,r,a){let[,s,l,p]=a,m=4+s.length,C=e.sourceSpan.start.moveBy(m),S=C.moveBy(p.length),[x,w]=(()=>{try{return[!0,r(p,C).children]}catch{return[!1,[{type:"text",value:p,sourceSpan:new N(C,S)}]]}})();return{type:"ieConditionalComment",complete:x,children:w,condition:A(!1,l.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new N(e.sourceSpan.start,C),endSourceSpan:new N(S,e.sourceSpan.end)}}function nc(e,r,a){let[,s]=a;return{type:"ieConditionalStartComment",condition:A(!1,s.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function ac(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}var Rr=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"])]]),ic=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]);function sc(e){if(e.type==="block"){if(e.name=A(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!mr(e.parameters)){delete e.parameters;return}for(let r of e.parameters)r.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new N(e.parameters[0].sourceSpan.start,lt(!1,e.parameters,-1).sourceSpan.end)}}}function oc(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new N(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function uc(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function $a(e,r,a){let{name:s,canSelfClose:l=!0,normalizeTagName:p=!1,normalizeAttributeName:m=!1,allowHtmComponentClosingTags:C=!1,isTagNameCaseSensitive:S=!1,shouldParseAsRawText:x}=r,{rootNodes:w,errors:O}=ja(e,{canSelfClose:l,allowHtmComponentClosingTags:C,isTagNameCaseSensitive:S,getTagContentType:x?(..._)=>x(..._)?pe.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:s==="angular"?!0:void 0,tokenizeAngularLetDeclaration:s==="angular"?!0:void 0});if(s==="vue"){if(w.some(W=>W.type==="docType"&&W.value==="html"||W.type==="element"&&W.name.toLowerCase()==="html"))return $a(e,jr,a);let _,q=()=>_??(_=ja(e,{canSelfClose:l,allowHtmComponentClosingTags:C,isTagNameCaseSensitive:S})),J=W=>q().rootNodes.find(({startSourceSpan:te})=>te&&te.start.offset===W.startSourceSpan.start.offset)??W;for(let[W,te]of w.entries()){let{endSourceSpan:rt,startSourceSpan:gc}=te;if(rt===null)O=q().errors,w[W]=J(te);else if(lc(te,a)){let Wa=q().errors.find(za=>za.span.start.offset>gc.start.offset&&za.span.start.offset<rt.end.offset);Wa&&Ua(Wa),w[W]=J(te)}}}O.length>0&&Ua(O[0]);let L=_=>{let q=_.name.startsWith(":")?_.name.slice(1).split(":")[0]:null,J=_.nameSpan.toString(),W=q!==null&&J.startsWith(`${q}:`),te=W?J.slice(q.length+1):J;_.name=te,_.namespace=q,_.hasExplicitNamespace=W},I=_=>{switch(_.type){case"element":L(_);for(let q of _.attrs)L(q),q.valueSpan?(q.value=q.valueSpan.toString(),/["']/u.test(q.value[0])&&(q.value=q.value.slice(1,-1))):q.value=null;break;case"comment":_.value=_.sourceSpan.toString().slice(4,-3);break;case"text":_.value=_.sourceSpan.toString();break}},j=(_,q)=>{let J=_.toLowerCase();return q(J)?J:_},G=_=>{if(_.type==="element"&&(p&&(!_.namespace||_.namespace===_.tagDefinition.implicitNamespacePrefix||pt(_))&&(_.name=j(_.name,q=>ic.has(q))),m))for(let q of _.attrs)q.namespace||(q.name=j(q.name,J=>Rr.has(_.name)&&(Rr.get("*").has(J)||Rr.get(_.name).has(J))))},Y=_=>{_.sourceSpan&&_.endSourceSpan&&(_.sourceSpan=new N(_.sourceSpan.start,_.endSourceSpan.end))},Z=_=>{if(_.type==="element"){let q=Lr(S?_.name:_.name.toLowerCase());!_.namespace||_.namespace===q.implicitNamespacePrefix||pt(_)?_.tagDefinition=q:_.tagDefinition=Lr("")}};return Aa(new class extends wl{visitExpansionCase(_,q){s==="angular"&&this.visitChildren(q,J=>{J(_.expression)})}visit(_){I(_),Z(_),G(_),Y(_)}},w),w}function lc(e,r){var a;if(e.type!=="element"||e.name!=="template")return!1;let s=(a=e.attrs.find(l=>l.name==="lang"))==null?void 0:a.value;return!s||Nt(r,{language:s})==="html"}function Ua(e){let{msg:r,span:{start:a,end:s}}=e;throw Gl(r,{loc:{start:{line:a.line+1,column:a.col+1},end:{line:s.line+1,column:s.col+1}},cause:e})}function Va(e,r,a={},s=!0){let{frontMatter:l,content:p}=s?Yl(e):{frontMatter:null,content:e},m=new ha(e,a.filepath),C=new Br(m,0,0,0),S=C.moveBy(e.length),x={type:"root",sourceSpan:new N(C,S),children:$a(p,r,a)};if(l){let L=new Br(m,0,0,0),I=L.moveBy(l.raw.length);l.sourceSpan=new N(L,I),x.children.unshift(l)}let w=new Ql(x),O=(L,I)=>{let{offset:j}=I,G=A(!1,e.slice(0,j),/[^\n\r]/gu," "),Y=Va(G+L,r,a,!1);Y.sourceSpan=new N(I,lt(!1,Y.children,-1).sourceSpan.end);let Z=Y.children[0];return Z.length===j?Y.children.shift():(Z.sourceSpan=new N(Z.sourceSpan.start.moveBy(j),Z.sourceSpan.end),Z.value=Z.value.slice(j)),Y};return w.walk(L=>{if(L.type==="comment"){let I=tc(L,O);I&&L.parent.replaceChild(L,I)}sc(L),oc(L),uc(L)}),w}function bt(e){return{parse:(r,a)=>Va(r,e,a),hasPragma:Tu,hasIgnorePragma:Au,astFormat:"html",locStart:dt,locEnd:Ot}}var jr={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},cc=bt(jr),pc=new Set(["mj-style","mj-raw"]),hc=bt({...jr,name:"mjml",shouldParseAsRawText:e=>pc.has(e)}),dc=bt({name:"angular"}),fc=bt({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(e,r,a,s){return e.toLowerCase()!=="html"&&!a&&(e!=="template"||s.some(({name:l,value:p})=>l==="lang"&&p!=="html"&&p!==""&&p!==void 0))}}),mc=bt({name:"lwc",canSelfClose:!1}),Dc={html:al};return v(E)})}(Si)),Si.exports}var Ds=Ud();const Vd=vc(Ds),zd=Cc({__proto__:null,default:Vd},[Ds]);export{ps as p,zd as z};
