eddyter 1.3.61 → 1.3.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2638 @@
1
+ var hr = Object.defineProperty, dr = (e) => {
2
+ throw TypeError(e);
3
+ }, mn = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mr = (e, t) => {
4
+ for (var r in t) hr(e, r, { get: t[r], enumerable: !0 });
5
+ }, Et = (e, t, r) => mn(e, typeof t != "symbol" ? t + "" : t, r), gr = (e, t, r) => t.has(e) || dr("Cannot " + r), F = (e, t, r) => (gr(e, t, "read from private field"), r ? r.call(e) : t.get(e)), fr = (e, t, r) => t.has(e) ? dr("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), gn = (e, t, r, n) => (gr(e, t, "write to private field"), t.set(e, r), r), vr = {};
6
+ mr(vr, { languages: () => oi, options: () => ci, parsers: () => rn, printers: () => Su });
7
+ var fn = (e, t, r, n) => {
8
+ if (!(e && t == null)) return t.replaceAll ? t.replaceAll(r, n) : r.global ? t.replace(r, n) : t.split(r).join(n);
9
+ }, L = fn, Cr = "string", Sr = "array", yr = "cursor", at = "indent", st = "align", br = "trim", it = "group", ut = "fill", ot = "if-break", lt = "indent-if-break", _r = "line-suffix", wr = "line-suffix-boundary", Q = "line", Ar = "label", ct = "break-parent", kr = /* @__PURE__ */ new Set([yr, at, st, br, it, ut, ot, lt, _r, wr, Q, Ar, ct]), vn = (e, t, r) => {
10
+ if (!(e && t == null)) return Array.isArray(t) || typeof t == "string" ? t[r < 0 ? t.length + r : r] : t.at(r);
11
+ }, de = vn;
12
+ function Cn(e) {
13
+ if (typeof e == "string") return Cr;
14
+ if (Array.isArray(e)) return Sr;
15
+ if (!e) return;
16
+ let { type: t } = e;
17
+ if (kr.has(t)) return t;
18
+ }
19
+ var Er = Cn, Sn = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
20
+ function yn(e) {
21
+ let t = e === null ? "null" : typeof e;
22
+ if (t !== "string" && t !== "object") return `Unexpected doc '${t}',
23
+ Expected it to be 'string' or 'object'.`;
24
+ if (Er(e)) throw new Error("doc is valid.");
25
+ let r = Object.prototype.toString.call(e);
26
+ if (r !== "[object Object]") return `Unexpected doc '${r}'.`;
27
+ let n = Sn([...kr].map((a) => `'${a}'`));
28
+ return `Unexpected doc.type '${e.type}'.
29
+ Expected it to be ${n}.`;
30
+ }
31
+ var bn = class extends Error {
32
+ name = "InvalidDocError";
33
+ constructor(e) {
34
+ super(yn(e)), this.doc = e;
35
+ }
36
+ }, _n = bn;
37
+ function xr(e, t) {
38
+ if (typeof e == "string") return t(e);
39
+ let r = /* @__PURE__ */ new Map();
40
+ return n(e);
41
+ function n(s) {
42
+ if (r.has(s)) return r.get(s);
43
+ let i = a(s);
44
+ return r.set(s, i), i;
45
+ }
46
+ function a(s) {
47
+ switch (Er(s)) {
48
+ case Sr:
49
+ return t(s.map(n));
50
+ case ut:
51
+ return t({ ...s, parts: s.parts.map(n) });
52
+ case ot:
53
+ return t({ ...s, breakContents: n(s.breakContents), flatContents: n(s.flatContents) });
54
+ case it: {
55
+ let { expandedStates: i, contents: u } = s;
56
+ return i ? (i = i.map(n), u = i[0]) : u = n(u), t({ ...s, contents: u, expandedStates: i });
57
+ }
58
+ case st:
59
+ case at:
60
+ case lt:
61
+ case Ar:
62
+ case _r:
63
+ return t({ ...s, contents: n(s.contents) });
64
+ case Cr:
65
+ case yr:
66
+ case br:
67
+ case wr:
68
+ case Q:
69
+ case ct:
70
+ return t(s);
71
+ default:
72
+ throw new _n(s);
73
+ }
74
+ }
75
+ }
76
+ function P(e, t = Bn) {
77
+ return xr(e, (r) => typeof r == "string" ? Z(t, r.split(`
78
+ `)) : r);
79
+ }
80
+ var wn = () => {
81
+ }, An = wn;
82
+ function H(e) {
83
+ return { type: at, contents: e };
84
+ }
85
+ function Dr(e, t) {
86
+ return { type: st, contents: t, n: e };
87
+ }
88
+ function k(e, t = {}) {
89
+ return An(t.expandedStates), { type: it, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
90
+ }
91
+ function kn(e) {
92
+ return Dr(Number.NEGATIVE_INFINITY, e);
93
+ }
94
+ function En(e) {
95
+ return Dr({ type: "root" }, e);
96
+ }
97
+ function Tr(e) {
98
+ return { type: ut, parts: e };
99
+ }
100
+ function xe(e, t = "", r = {}) {
101
+ return { type: ot, breakContents: e, flatContents: t, groupId: r.groupId };
102
+ }
103
+ function xn(e, t) {
104
+ return { type: lt, contents: e, groupId: t.groupId, negate: t.negate };
105
+ }
106
+ var me = { type: ct }, Dn = { type: Q, hard: !0 }, Tn = { type: Q, hard: !0, literal: !0 }, _ = { type: Q }, D = { type: Q, soft: !0 }, S = [Dn, me], Bn = [Tn, me];
107
+ function Z(e, t) {
108
+ let r = [];
109
+ for (let n = 0; n < t.length; n++) n !== 0 && r.push(e), r.push(t[n]);
110
+ return r;
111
+ }
112
+ var ye = "'", xt = '"';
113
+ function Ln(e, t) {
114
+ let r = t === !0 || t === ye ? ye : xt, n = r === ye ? xt : ye, a = 0, s = 0;
115
+ for (let i of e) i === r ? a++ : i === n && s++;
116
+ return a > s ? n : r;
117
+ }
118
+ var Fn = Ln;
119
+ function qn(e) {
120
+ if (typeof e != "string") throw new TypeError("Expected a string");
121
+ return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
122
+ }
123
+ var N, Nn = class {
124
+ constructor(e) {
125
+ fr(this, N), gn(this, N, new Set(e));
126
+ }
127
+ getLeadingWhitespaceCount(e) {
128
+ let t = F(this, N), r = 0;
129
+ for (let n = 0; n < e.length && t.has(e.charAt(n)); n++) r++;
130
+ return r;
131
+ }
132
+ getTrailingWhitespaceCount(e) {
133
+ let t = F(this, N), r = 0;
134
+ for (let n = e.length - 1; n >= 0 && t.has(e.charAt(n)); n--) r++;
135
+ return r;
136
+ }
137
+ getLeadingWhitespace(e) {
138
+ let t = this.getLeadingWhitespaceCount(e);
139
+ return e.slice(0, t);
140
+ }
141
+ getTrailingWhitespace(e) {
142
+ let t = this.getTrailingWhitespaceCount(e);
143
+ return e.slice(e.length - t);
144
+ }
145
+ hasLeadingWhitespace(e) {
146
+ return F(this, N).has(e.charAt(0));
147
+ }
148
+ hasTrailingWhitespace(e) {
149
+ return F(this, N).has(de(!1, e, -1));
150
+ }
151
+ trimStart(e) {
152
+ let t = this.getLeadingWhitespaceCount(e);
153
+ return e.slice(t);
154
+ }
155
+ trimEnd(e) {
156
+ let t = this.getTrailingWhitespaceCount(e);
157
+ return e.slice(0, e.length - t);
158
+ }
159
+ trim(e) {
160
+ return this.trimEnd(this.trimStart(e));
161
+ }
162
+ split(e, t = !1) {
163
+ let r = `[${qn([...F(this, N)].join(""))}]+`, n = new RegExp(t ? `(${r})` : r, "u");
164
+ return e.split(n);
165
+ }
166
+ hasWhitespaceCharacter(e) {
167
+ let t = F(this, N);
168
+ return Array.prototype.some.call(e, (r) => t.has(r));
169
+ }
170
+ hasNonWhitespaceCharacter(e) {
171
+ let t = F(this, N);
172
+ return Array.prototype.some.call(e, (r) => !t.has(r));
173
+ }
174
+ isWhitespaceOnly(e) {
175
+ let t = F(this, N);
176
+ return Array.prototype.every.call(e, (r) => t.has(r));
177
+ }
178
+ };
179
+ N = /* @__PURE__ */ new WeakMap();
180
+ var In = Nn, Pn = [" ", `
181
+ `, "\f", "\r", " "], Mn = new In(Pn), R = Mn, Hn = class extends Error {
182
+ name = "UnexpectedNodeError";
183
+ constructor(e, t, r = "type") {
184
+ super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`), this.node = e;
185
+ }
186
+ }, Rn = Hn;
187
+ function Un(e) {
188
+ return e?.type === "front-matter";
189
+ }
190
+ var Ne = Un, Vn = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), On = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
191
+ function Br(e, t) {
192
+ var r;
193
+ if (e.type === "text" || e.type === "comment" || Ne(e) || e.type === "yaml" || e.type === "toml") return null;
194
+ if (e.type === "attribute" && delete t.value, e.type === "docType" && delete t.value, e.type === "angularControlFlowBlock" && (r = e.parameters) != null && r.children) for (let n of t.parameters.children) On.has(e.name) ? delete n.expression : n.expression = n.expression.trim();
195
+ e.type === "angularIcuExpression" && (t.switchValue = e.switchValue.trim()), e.type === "angularLetDeclarationInitializer" && delete t.value;
196
+ }
197
+ Br.ignoredProperties = Vn;
198
+ var Wn = Br;
199
+ async function $n(e, t) {
200
+ if (e.language === "yaml") {
201
+ let r = e.value.trim(), n = r ? await t(r, { parser: "yaml" }) : "";
202
+ return En([e.startDelimiter, e.explicitLanguage, S, n, n ? S : "", e.endDelimiter]);
203
+ }
204
+ }
205
+ var zn = $n;
206
+ function Ie(e, t = !0) {
207
+ return [H([D, e]), t ? D : ""];
208
+ }
209
+ function ee(e, t) {
210
+ let r = 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;
211
+ return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (t.parser === "__vue_expression" || t.parser === "__vue_ts_expression") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
212
+ }
213
+ async function M(e, t, r, n) {
214
+ r = { __isInHtmlAttribute: !0, __embeddedInHtml: !0, ...r };
215
+ let a = !0;
216
+ n && (r.__onHtmlBindingRoot = (i, u) => {
217
+ a = n(i, u);
218
+ });
219
+ let s = await t(e, r, t);
220
+ return a ? k(s) : Ie(s);
221
+ }
222
+ function jn(e, t, r, n) {
223
+ let { node: a } = r, s = n.originalText.slice(a.sourceSpan.start.offset, a.sourceSpan.end.offset);
224
+ return /^\s*$/u.test(s) ? "" : M(s, e, { parser: "__ng_directive", __isInHtmlAttribute: !1 }, ee);
225
+ }
226
+ var Gn = jn, Kn = (e, t) => {
227
+ if (!(e && t == null)) return t.toReversed || !Array.isArray(t) ? t.toReversed() : [...t].reverse();
228
+ }, Xn = Kn;
229
+ function Jn(e) {
230
+ return Array.isArray(e) && e.length > 0;
231
+ }
232
+ var pt = Jn, Dt, Tt, Bt, Lt, Ft, Yn = ((Dt = globalThis.Deno) == null ? void 0 : Dt.build.os) === "windows" || ((Bt = (Tt = globalThis.navigator) == null ? void 0 : Tt.platform) == null ? void 0 : Bt.startsWith("Win")) || ((Ft = (Lt = globalThis.process) == null ? void 0 : Lt.platform) == null ? void 0 : Ft.startsWith("win")) || !1;
233
+ function Lr(e) {
234
+ if (e = e instanceof URL ? e : new URL(e), e.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);
235
+ return e;
236
+ }
237
+ function Qn(e) {
238
+ return e = Lr(e), decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
239
+ }
240
+ function Zn(e) {
241
+ e = Lr(e);
242
+ let t = decodeURIComponent(e.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
243
+ return e.hostname !== "" && (t = `\\\\${e.hostname}${t}`), t;
244
+ }
245
+ function ea(e) {
246
+ return Yn ? Zn(e) : Qn(e);
247
+ }
248
+ var ta = ea, ra = (e) => String(e).split(/[/\\]/u).pop();
249
+ function qt(e, t) {
250
+ if (!t) return;
251
+ let r = ra(t).toLowerCase();
252
+ return e.find(({ filenames: n }) => n?.some((a) => a.toLowerCase() === r)) ?? e.find(({ extensions: n }) => n?.some((a) => r.endsWith(a)));
253
+ }
254
+ function na(e, t) {
255
+ if (t) return e.find(({ name: r }) => r.toLowerCase() === t) ?? e.find(({ aliases: r }) => r?.includes(t)) ?? e.find(({ extensions: r }) => r?.includes(`.${t}`));
256
+ }
257
+ function Nt(e, t) {
258
+ if (t) {
259
+ if (String(t).startsWith("file:")) try {
260
+ t = ta(t);
261
+ } catch {
262
+ return;
263
+ }
264
+ if (typeof t == "string") return e.find(({ isSupported: r }) => r?.({ filepath: t }));
265
+ }
266
+ }
267
+ function aa(e, t) {
268
+ let r = Xn(!1, e.plugins).flatMap((a) => a.languages ?? []), n = na(r, t.language) ?? qt(r, t.physicalFile) ?? qt(r, t.file) ?? Nt(r, t.physicalFile) ?? Nt(r, t.file) ?? (t.physicalFile, void 0);
269
+ return n?.parsers[0];
270
+ }
271
+ var Pe = aa, sa = "inline", It = { area: "none", base: "none", basefont: "none", datalist: "none", head: "none", link: "none", meta: "none", noembed: "none", noframes: "none", param: "block", rp: "none", script: "block", style: "none", template: "inline", title: "none", html: "block", body: "block", address: "block", blockquote: "block", center: "block", dialog: "block", div: "block", figure: "block", figcaption: "block", footer: "block", form: "block", header: "block", hr: "block", legend: "block", listing: "block", main: "block", p: "block", plaintext: "block", pre: "block", search: "block", xmp: "block", slot: "contents", ruby: "ruby", rt: "ruby-text", article: "block", aside: "block", h1: "block", h2: "block", h3: "block", h4: "block", h5: "block", h6: "block", hgroup: "block", nav: "block", section: "block", dir: "block", dd: "block", dl: "block", dt: "block", menu: "block", ol: "block", ul: "block", li: "list-item", table: "table", caption: "table-caption", colgroup: "table-column-group", col: "table-column", thead: "table-header-group", tbody: "table-row-group", tfoot: "table-footer-group", tr: "table-row", td: "table-cell", th: "table-cell", input: "inline-block", button: "inline-block", fieldset: "block", details: "block", summary: "block", marquee: "inline-block", 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" }, ia = "normal", Pt = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
272
+ function ua(e) {
273
+ return e.type === "element" && !e.hasExplicitNamespace && !["html", "svg"].includes(e.namespace);
274
+ }
275
+ var pe = ua, oa = (e) => L(!1, e, /^[\t\f\r ]*\n/gu, ""), Fr = (e) => oa(R.trimEnd(e)), la = (e) => {
276
+ let t = e, r = R.getLeadingWhitespace(t);
277
+ r && (t = t.slice(r.length));
278
+ let n = R.getTrailingWhitespace(t);
279
+ return n && (t = t.slice(0, -n.length)), { leadingWhitespace: r, trailingWhitespace: n, text: t };
280
+ };
281
+ function qr(e, t) {
282
+ return !!(e.type === "ieConditionalComment" && e.lastChild && !e.lastChild.isSelfClosing && !e.lastChild.endSourceSpan || e.type === "ieConditionalComment" && !e.complete || Y(e) && e.children.some((r) => r.type !== "text" && r.type !== "interpolation") || dt(e, t) && !U(e, t) && e.type !== "interpolation");
283
+ }
284
+ function Me(e) {
285
+ return e.type === "attribute" || !e.parent || !e.prev ? !1 : ca(e.prev);
286
+ }
287
+ function ca(e) {
288
+ return e.type === "comment" && e.value.trim() === "prettier-ignore";
289
+ }
290
+ function q(e) {
291
+ return e.type === "text" || e.type === "comment";
292
+ }
293
+ function U(e, t) {
294
+ return e.type === "element" && (e.fullName === "script" || e.fullName === "style" || e.fullName === "svg:style" || e.fullName === "svg:script" || e.fullName === "mj-style" && t.parser === "mjml" || pe(e) && (e.name === "script" || e.name === "style"));
295
+ }
296
+ function pa(e, t) {
297
+ return e.children && !U(e, t);
298
+ }
299
+ function ha(e, t) {
300
+ return U(e, t) || e.type === "interpolation" || Nr(e);
301
+ }
302
+ function Nr(e) {
303
+ return Vr(e).startsWith("pre");
304
+ }
305
+ function da(e, t) {
306
+ var r, n;
307
+ let a = s();
308
+ if (a && !e.prev && (n = (r = e.parent) == null ? void 0 : r.tagDefinition) != null && n.ignoreFirstLf) return e.type === "interpolation";
309
+ return a;
310
+ function s() {
311
+ return Ne(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 : Y(e.parent) ? !0 : !(!e.prev && (e.parent.type === "root" || Y(e) && e.parent || U(e.parent, t) || He(e.parent, t) || !_a(e.parent.cssDisplay)) || e.prev && !ka(e.prev.cssDisplay));
312
+ }
313
+ }
314
+ function ma(e, t) {
315
+ return Ne(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 : Y(e.parent) ? !0 : !(!e.next && (e.parent.type === "root" || Y(e) && e.parent || U(e.parent, t) || He(e.parent, t) || !wa(e.parent.cssDisplay)) || e.next && !Aa(e.next.cssDisplay));
316
+ }
317
+ function ga(e, t) {
318
+ return Ea(e.cssDisplay) && !U(e, t);
319
+ }
320
+ function be(e) {
321
+ return Ne(e) || e.next && e.sourceSpan.end && e.sourceSpan.end.line + 1 < e.next.sourceSpan.start.line;
322
+ }
323
+ function fa(e) {
324
+ return Ir(e) || e.type === "element" && e.children.length > 0 && (["body", "script", "style"].includes(e.name) || e.children.some((t) => Ca(t))) || e.firstChild && e.firstChild === e.lastChild && e.firstChild.type !== "text" && Mr(e.firstChild) && (!e.lastChild.isTrailingSpaceSensitive || Hr(e.lastChild));
325
+ }
326
+ function Ir(e) {
327
+ return e.type === "element" && e.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(e.name) || e.cssDisplay.startsWith("table") && e.cssDisplay !== "table-cell");
328
+ }
329
+ function We(e) {
330
+ return Rr(e) || e.prev && va(e.prev) || Pr(e);
331
+ }
332
+ function va(e) {
333
+ return Rr(e) || e.type === "element" && e.fullName === "br" || Pr(e);
334
+ }
335
+ function Pr(e) {
336
+ return Mr(e) && Hr(e);
337
+ }
338
+ function Mr(e) {
339
+ 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);
340
+ }
341
+ function Hr(e) {
342
+ 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);
343
+ }
344
+ function Rr(e) {
345
+ switch (e.type) {
346
+ case "ieConditionalComment":
347
+ case "comment":
348
+ case "directive":
349
+ return !0;
350
+ case "element":
351
+ return ["script", "select"].includes(e.name);
352
+ }
353
+ return !1;
354
+ }
355
+ function ht(e) {
356
+ return e.lastChild ? ht(e.lastChild) : e;
357
+ }
358
+ function Ca(e) {
359
+ var t;
360
+ return (t = e.children) == null ? void 0 : t.some((r) => r.type !== "text");
361
+ }
362
+ function Ur(e) {
363
+ if (e) switch (e) {
364
+ case "module":
365
+ case "text/javascript":
366
+ case "text/babel":
367
+ case "text/jsx":
368
+ case "application/javascript":
369
+ return "babel";
370
+ case "application/x-typescript":
371
+ return "typescript";
372
+ case "text/markdown":
373
+ return "markdown";
374
+ case "text/html":
375
+ return "html";
376
+ case "text/x-handlebars-template":
377
+ return "glimmer";
378
+ default:
379
+ if (e.endsWith("json") || e.endsWith("importmap") || e === "speculationrules") return "json";
380
+ }
381
+ }
382
+ function Sa(e, t) {
383
+ let { name: r, attrMap: n } = e;
384
+ if (r !== "script" || Object.prototype.hasOwnProperty.call(n, "src")) return;
385
+ let { type: a, lang: s } = e.attrMap;
386
+ return !s && !a ? "babel" : Pe(t, { language: s }) ?? Ur(a);
387
+ }
388
+ function ya(e, t) {
389
+ if (!dt(e, t)) return;
390
+ let { attrMap: r } = e;
391
+ if (Object.prototype.hasOwnProperty.call(r, "src")) return;
392
+ let { type: n, lang: a } = r;
393
+ return Pe(t, { language: a }) ?? Ur(n);
394
+ }
395
+ function ba(e, t) {
396
+ if (e.name === "style") {
397
+ let { lang: r } = e.attrMap;
398
+ return r ? Pe(t, { language: r }) : "css";
399
+ }
400
+ if (e.name === "mj-style" && t.parser === "mjml") return "css";
401
+ }
402
+ function Mt(e, t) {
403
+ return Sa(e, t) ?? ba(e, t) ?? ya(e, t);
404
+ }
405
+ function ge(e) {
406
+ return e === "block" || e === "list-item" || e.startsWith("table");
407
+ }
408
+ function _a(e) {
409
+ return !ge(e) && e !== "inline-block";
410
+ }
411
+ function wa(e) {
412
+ return !ge(e) && e !== "inline-block";
413
+ }
414
+ function Aa(e) {
415
+ return !ge(e);
416
+ }
417
+ function ka(e) {
418
+ return !ge(e);
419
+ }
420
+ function Ea(e) {
421
+ return !ge(e) && e !== "inline-block";
422
+ }
423
+ function Y(e) {
424
+ return Vr(e).startsWith("pre");
425
+ }
426
+ function xa(e, t) {
427
+ let r = e;
428
+ for (; r; ) {
429
+ if (t(r)) return !0;
430
+ r = r.parent;
431
+ }
432
+ return !1;
433
+ }
434
+ function Da(e, t) {
435
+ var r;
436
+ if (te(e, t)) return "block";
437
+ if (((r = e.prev) == null ? void 0 : r.type) === "comment") {
438
+ let a = e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);
439
+ if (a) return a[1];
440
+ }
441
+ let n = !1;
442
+ if (e.type === "element" && e.namespace === "svg") if (xa(e, (a) => a.fullName === "svg:foreignObject")) n = !0;
443
+ else return e.name === "svg" ? "inline-block" : "block";
444
+ switch (t.htmlWhitespaceSensitivity) {
445
+ case "strict":
446
+ return "inline";
447
+ case "ignore":
448
+ return "block";
449
+ default:
450
+ if (e.type === "element" && (!e.namespace || n || pe(e)) && Object.prototype.hasOwnProperty.call(It, e.name)) return It[e.name];
451
+ }
452
+ return sa;
453
+ }
454
+ function Vr(e) {
455
+ return e.type === "element" && (!e.namespace || pe(e)) && Object.prototype.hasOwnProperty.call(Pt, e.name) ? Pt[e.name] : ia;
456
+ }
457
+ function Ta(e) {
458
+ let t = Number.POSITIVE_INFINITY;
459
+ for (let r of e.split(`
460
+ `)) {
461
+ if (r.length === 0) continue;
462
+ let n = R.getLeadingWhitespaceCount(r);
463
+ if (n === 0) return 0;
464
+ r.length !== n && n < t && (t = n);
465
+ }
466
+ return t === Number.POSITIVE_INFINITY ? 0 : t;
467
+ }
468
+ function Or(e, t = Ta(e)) {
469
+ return t === 0 ? e : e.split(`
470
+ `).map((r) => r.slice(t)).join(`
471
+ `);
472
+ }
473
+ function Wr(e) {
474
+ return L(!1, L(!1, e, "&apos;", "'"), "&quot;", '"');
475
+ }
476
+ function O(e) {
477
+ return Wr(e.value);
478
+ }
479
+ var Ba = /* @__PURE__ */ new Set(["template", "style", "script"]);
480
+ function He(e, t) {
481
+ return te(e, t) && !Ba.has(e.fullName);
482
+ }
483
+ function te(e, t) {
484
+ return t.parser === "vue" && e.type === "element" && e.parent.type === "root" && e.fullName.toLowerCase() !== "html";
485
+ }
486
+ function dt(e, t) {
487
+ return te(e, t) && (He(e, t) || e.attrMap.lang && e.attrMap.lang !== "html");
488
+ }
489
+ function La(e) {
490
+ let t = e.fullName;
491
+ return t.charAt(0) === "#" || t === "slot-scope" || t === "v-slot" || t.startsWith("v-slot:");
492
+ }
493
+ function Fa(e, t) {
494
+ let r = e.parent;
495
+ if (!te(r, t)) return !1;
496
+ let n = r.fullName, a = e.fullName;
497
+ return n === "script" && a === "setup" || n === "style" && a === "vars";
498
+ }
499
+ function $r(e, t = e.value) {
500
+ return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? P(t) : P(Or(Fr(t)), S) : Z(_, R.split(t));
501
+ }
502
+ function zr(e, t) {
503
+ return te(e, t) && e.name === "script";
504
+ }
505
+ var jr = /\{\{(.+?)\}\}/su;
506
+ async function qa(e, t) {
507
+ let r = [];
508
+ for (let [n, a] of e.split(jr).entries()) if (n % 2 === 0) r.push(P(a));
509
+ else try {
510
+ r.push(k(["{{", H([_, await M(a, t, { parser: "__ng_interpolation", __isInHtmlInterpolation: !0 })]), _, "}}"]));
511
+ } catch {
512
+ r.push("{{", P(a), "}}");
513
+ }
514
+ return r;
515
+ }
516
+ function mt({ parser: e }) {
517
+ return (t, r, n) => M(O(n.node), t, { parser: e }, ee);
518
+ }
519
+ var Na = mt({ parser: "__ng_action" }), Ia = mt({ parser: "__ng_binding" }), Pa = mt({ parser: "__ng_directive" });
520
+ function Ma(e, t) {
521
+ if (t.parser !== "angular") return;
522
+ let { node: r } = e, n = r.fullName;
523
+ if (n.startsWith("(") && n.endsWith(")") || n.startsWith("on-")) return Na;
524
+ if (n.startsWith("[") && n.endsWith("]") || /^bind(?:on)?-/u.test(n) || /^ng-(?:if|show|hide|class|style)$/u.test(n)) return Ia;
525
+ if (n.startsWith("*")) return Pa;
526
+ let a = O(r);
527
+ if (/^i18n(?:-.+)?$/u.test(n)) return () => Ie(Tr($r(r, a.trim())), !a.includes("@@"));
528
+ if (jr.test(a)) return (s) => qa(a, s);
529
+ }
530
+ var Ha = Ma;
531
+ function Ra(e, t) {
532
+ let { node: r } = e, n = O(r);
533
+ if (r.fullName === "class" && !t.parentParser && !n.includes("{{")) return () => n.trim().split(/\s+/u).join(" ");
534
+ }
535
+ var Ua = Ra;
536
+ function Ht(e) {
537
+ return e === " " || e === `
538
+ ` || e === "\f" || e === "\r" || e === " ";
539
+ }
540
+ var Va = /^[ \t\n\r\u000c]+/, Oa = /^[, \t\n\r\u000c]+/, Wa = /^[^ \t\n\r\u000c]+/, $a = /[,]+$/, Rt = /^\d+$/, za = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
541
+ function ja(e) {
542
+ let t = e.length, r, n, a, s, i, u = 0, o;
543
+ function p(g) {
544
+ let C, w = g.exec(e.substring(u));
545
+ if (w) return [C] = w, u += C.length, C;
546
+ }
547
+ let l = [];
548
+ for (; ; ) {
549
+ if (p(Oa), u >= t) {
550
+ if (l.length === 0) throw new Error("Must contain one or more image candidate strings.");
551
+ return l;
552
+ }
553
+ o = u, r = p(Wa), n = [], r.slice(-1) === "," ? (r = r.replace($a, ""), d()) : v();
554
+ }
555
+ function v() {
556
+ for (p(Va), a = "", s = "in descriptor"; ; ) {
557
+ if (i = e.charAt(u), s === "in descriptor") if (Ht(i)) a && (n.push(a), a = "", s = "after descriptor");
558
+ else if (i === ",") {
559
+ u += 1, a && n.push(a), d();
560
+ return;
561
+ } else if (i === "(") a += i, s = "in parens";
562
+ else if (i === "") {
563
+ a && n.push(a), d();
564
+ return;
565
+ } else a += i;
566
+ else if (s === "in parens") if (i === ")") a += i, s = "in descriptor";
567
+ else if (i === "") {
568
+ n.push(a), d();
569
+ return;
570
+ } else a += i;
571
+ else if (s === "after descriptor" && !Ht(i)) if (i === "") {
572
+ d();
573
+ return;
574
+ } else s = "in descriptor", u -= 1;
575
+ u += 1;
576
+ }
577
+ }
578
+ function d() {
579
+ let g = !1, C, w, E, x, c = {}, f, A, y, T, G;
580
+ for (x = 0; x < n.length; x++) f = n[x], A = f[f.length - 1], y = f.substring(0, f.length - 1), T = parseInt(y, 10), G = parseFloat(y), Rt.test(y) && A === "w" ? ((C || w) && (g = !0), T === 0 ? g = !0 : C = T) : za.test(y) && A === "x" ? ((C || w || E) && (g = !0), G < 0 ? g = !0 : w = G) : Rt.test(y) && A === "h" ? ((E || w) && (g = !0), T === 0 ? g = !0 : E = T) : g = !0;
581
+ if (!g) c.source = { value: r, startOffset: o }, C && (c.width = { value: C }), w && (c.density = { value: w }), E && (c.height = { value: E }), l.push(c);
582
+ else throw new Error(`Invalid srcset descriptor found in "${e}" at "${f}".`);
583
+ }
584
+ }
585
+ var Ga = ja;
586
+ function Ka(e) {
587
+ if (e.node.fullName === "srcset" && (e.parent.fullName === "img" || e.parent.fullName === "source")) return () => Ja(O(e.node));
588
+ }
589
+ var Gr = { width: "w", height: "h", density: "x" }, Xa = Object.keys(Gr);
590
+ function Ja(e) {
591
+ let t = Ga(e), r = Xa.filter((l) => t.some((v) => Object.prototype.hasOwnProperty.call(v, l)));
592
+ if (r.length > 1) throw new Error("Mixed descriptor in srcset is not supported");
593
+ let [n] = r, a = Gr[n], s = t.map((l) => l.source.value), i = Math.max(...s.map((l) => l.length)), u = t.map((l) => l[n] ? String(l[n].value) : ""), o = u.map((l) => {
594
+ let v = l.indexOf(".");
595
+ return v === -1 ? l.length : v;
596
+ }), p = Math.max(...o);
597
+ return Ie(Z([",", _], s.map((l, v) => {
598
+ let d = [l], g = u[v];
599
+ if (g) {
600
+ let C = i - l.length + 1, w = p - o[v], E = " ".repeat(C + w);
601
+ d.push(xe(E, " "), g + a);
602
+ }
603
+ return d;
604
+ })));
605
+ }
606
+ var Ya = Ka;
607
+ function Qa(e, t) {
608
+ let { node: r } = e, n = O(e.node).trim();
609
+ if (r.fullName === "style" && !t.parentParser && !n.includes("{{")) return async (a) => Ie(await a(n, { parser: "css", __isHTMLStyleAttribute: !0 }));
610
+ }
611
+ var $e = /* @__PURE__ */ new WeakMap();
612
+ function Za(e, t) {
613
+ let { root: r } = e;
614
+ return $e.has(r) || $e.set(r, r.children.some((n) => zr(n, t) && ["ts", "typescript"].includes(n.attrMap.lang))), $e.get(r);
615
+ }
616
+ var gt = Za;
617
+ function es(e, t, r) {
618
+ let { node: n } = r, a = O(n);
619
+ return M(`type T<${a}> = any`, e, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: !0 }, ee);
620
+ }
621
+ function ts(e, t, { parseWithTs: r }) {
622
+ return M(`function _(${e}) {}`, t, { parser: r ? "babel-ts" : "babel", __isVueBindings: !0 });
623
+ }
624
+ async function rs(e, t, r, n) {
625
+ let a = O(r.node), { left: s, operator: i, right: u } = ns(a), o = gt(r, n);
626
+ return [k(await M(`function _(${s}) {}`, e, { parser: o ? "babel-ts" : "babel", __isVueForBindingLeft: !0 })), " ", i, " ", await M(u, e, { parser: o ? "__ts_expression" : "__js_expression" })];
627
+ }
628
+ function ns(e) {
629
+ let t = /(.*?)\s+(in|of)\s+(.*)/su, r = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n = /^\(|\)$/gu, a = e.match(t);
630
+ if (!a) return;
631
+ let s = {};
632
+ if (s.for = a[3].trim(), !s.for) return;
633
+ let i = L(!1, a[1].trim(), n, ""), u = i.match(r);
634
+ u ? (s.alias = i.replace(r, ""), s.iterator1 = u[1].trim(), u[2] && (s.iterator2 = u[2].trim())) : s.alias = i;
635
+ let o = [s.alias, s.iterator1, s.iterator2];
636
+ if (!o.some((p, l) => !p && (l === 0 || o.slice(l + 1).some(Boolean)))) return { left: o.filter(Boolean).join(","), operator: a[2], right: s.for };
637
+ }
638
+ function as(e, t) {
639
+ if (t.parser !== "vue") return;
640
+ let { node: r } = e, n = r.fullName;
641
+ if (n === "v-for") return rs;
642
+ if (n === "generic" && zr(r.parent, t)) return es;
643
+ let a = O(r), s = gt(e, t);
644
+ if (La(r) || Fa(r, t)) return (i) => ts(a, i, { parseWithTs: s });
645
+ if (n.startsWith("@") || n.startsWith("v-on:")) return (i) => ss(a, i, { parseWithTs: s });
646
+ if (n.startsWith(":") || n.startsWith(".") || n.startsWith("v-bind:")) return (i) => is(a, i, { parseWithTs: s });
647
+ if (n.startsWith("v-")) return (i) => Kr(a, i, { parseWithTs: s });
648
+ }
649
+ async function ss(e, t, { parseWithTs: r }) {
650
+ var n;
651
+ try {
652
+ return await Kr(e, t, { parseWithTs: r });
653
+ } catch (a) {
654
+ if (((n = a.cause) == null ? void 0 : n.code) !== "BABEL_PARSER_SYNTAX_ERROR") throw a;
655
+ }
656
+ return M(e, t, { parser: r ? "__vue_ts_event_binding" : "__vue_event_binding" }, ee);
657
+ }
658
+ function is(e, t, { parseWithTs: r }) {
659
+ return M(e, t, { parser: r ? "__vue_ts_expression" : "__vue_expression" }, ee);
660
+ }
661
+ function Kr(e, t, { parseWithTs: r }) {
662
+ return M(e, t, { parser: r ? "__ts_expression" : "__js_expression" }, ee);
663
+ }
664
+ var us = as;
665
+ function os(e, t) {
666
+ let { node: r } = e;
667
+ if (r.value) {
668
+ if (/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset, r.valueSpan.end.offset)) || t.parser === "lwc" && r.value.startsWith("{") && r.value.endsWith("}")) return [r.rawName, "=", r.value];
669
+ for (let n of [Ya, Qa, Ua, us, Ha]) {
670
+ let a = n(e, t);
671
+ if (a) return ls(a);
672
+ }
673
+ }
674
+ }
675
+ function ls(e) {
676
+ return async (t, r, n, a) => {
677
+ let s = await e(t, r, n, a);
678
+ if (s) return s = xr(s, (i) => typeof i == "string" ? L(!1, i, '"', "&quot;") : i), [n.node.rawName, '="', k(s), '"'];
679
+ };
680
+ }
681
+ var cs = os, ps = new Proxy(() => {
682
+ }, { get: () => ps });
683
+ function fe(e) {
684
+ return e.sourceSpan.start.offset;
685
+ }
686
+ function Re(e) {
687
+ return e.sourceSpan.end.offset;
688
+ }
689
+ function Je(e, t) {
690
+ return [e.isSelfClosing ? "" : hs(e, t), oe(e, t)];
691
+ }
692
+ function hs(e, t) {
693
+ return e.lastChild && he(e.lastChild) ? "" : [ds(e, t), ft(e, t)];
694
+ }
695
+ function oe(e, t) {
696
+ return (e.next ? z(e.next) : Ce(e.parent)) ? "" : [ve(e, t), $(e, t)];
697
+ }
698
+ function ds(e, t) {
699
+ return Ce(e) ? ve(e.lastChild, t) : "";
700
+ }
701
+ function $(e, t) {
702
+ return he(e) ? ft(e.parent, t) : Ue(e) ? vt(e.next, t) : "";
703
+ }
704
+ function ft(e, t) {
705
+ if (Xr(e, t)) return "";
706
+ switch (e.type) {
707
+ case "ieConditionalComment":
708
+ return "<!";
709
+ case "element":
710
+ if (e.hasHtmComponentClosingTag) return "<//";
711
+ default:
712
+ return `</${e.rawName}`;
713
+ }
714
+ }
715
+ function ve(e, t) {
716
+ if (Xr(e, t)) return "";
717
+ switch (e.type) {
718
+ case "ieConditionalComment":
719
+ case "ieConditionalEndComment":
720
+ return "[endif]-->";
721
+ case "ieConditionalStartComment":
722
+ return "]><!-->";
723
+ case "interpolation":
724
+ return "}}";
725
+ case "angularIcuExpression":
726
+ return "}";
727
+ case "element":
728
+ if (e.isSelfClosing) return "/>";
729
+ default:
730
+ return ">";
731
+ }
732
+ }
733
+ function Xr(e, t) {
734
+ return !e.isSelfClosing && !e.endSourceSpan && (Me(e) || qr(e.parent, t));
735
+ }
736
+ function z(e) {
737
+ return e.prev && e.prev.type !== "docType" && e.type !== "angularControlFlowBlock" && !q(e.prev) && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
738
+ }
739
+ function Ce(e) {
740
+ var t;
741
+ return ((t = e.lastChild) == null ? void 0 : t.isTrailingSpaceSensitive) && !e.lastChild.hasTrailingSpaces && !q(ht(e.lastChild)) && !Y(e);
742
+ }
743
+ function he(e) {
744
+ return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive && q(ht(e));
745
+ }
746
+ function Ue(e) {
747
+ return e.next && !q(e.next) && q(e) && e.isTrailingSpaceSensitive && !e.hasTrailingSpaces;
748
+ }
749
+ function ms(e) {
750
+ let t = e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);
751
+ return t ? t[1] ? t[1].split(/\s+/u) : !0 : !1;
752
+ }
753
+ function Ve(e) {
754
+ return !e.prev && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
755
+ }
756
+ function gs(e, t, r) {
757
+ var n;
758
+ let { node: a } = e;
759
+ if (!pt(a.attrs)) return a.isSelfClosing ? " " : "";
760
+ let s = ((n = a.prev) == null ? void 0 : n.type) === "comment" && ms(a.prev.value), i = typeof s == "boolean" ? () => s : Array.isArray(s) ? (v) => s.includes(v.rawName) : () => !1, u = e.map(({ node: v }) => i(v) ? P(t.originalText.slice(fe(v), Re(v))) : r(), "attrs"), o = a.type === "element" && a.fullName === "script" && a.attrs.length === 1 && a.attrs[0].fullName === "src" && a.children.length === 0, p = t.singleAttributePerLine && a.attrs.length > 1 && !te(a, t) ? S : _, l = [H([o ? " " : _, Z(p, u)])];
761
+ return a.firstChild && Ve(a.firstChild) || a.isSelfClosing && Ce(a.parent) || o ? l.push(a.isSelfClosing ? " " : "") : l.push(t.bracketSameLine ? a.isSelfClosing ? " " : "" : a.isSelfClosing ? _ : D), l;
762
+ }
763
+ function fs(e) {
764
+ return e.firstChild && Ve(e.firstChild) ? "" : Ct(e);
765
+ }
766
+ function Ye(e, t, r) {
767
+ let { node: n } = e;
768
+ return [le(n, t), gs(e, t, r), n.isSelfClosing ? "" : fs(n)];
769
+ }
770
+ function le(e, t) {
771
+ return e.prev && Ue(e.prev) ? "" : [j(e, t), vt(e, t)];
772
+ }
773
+ function j(e, t) {
774
+ return Ve(e) ? Ct(e.parent) : z(e) ? ve(e.prev, t) : "";
775
+ }
776
+ var Ut = "<!doctype";
777
+ function vt(e, t) {
778
+ switch (e.type) {
779
+ case "ieConditionalComment":
780
+ case "ieConditionalStartComment":
781
+ return `<!--[if ${e.condition}`;
782
+ case "ieConditionalEndComment":
783
+ return "<!--<!";
784
+ case "interpolation":
785
+ return "{{";
786
+ case "docType": {
787
+ if (e.value === "html") {
788
+ let { filepath: n } = t;
789
+ if (n && /\.html?$/u.test(n)) return Ut;
790
+ }
791
+ let r = fe(e);
792
+ return t.originalText.slice(r, r + Ut.length);
793
+ }
794
+ case "angularIcuExpression":
795
+ return "{";
796
+ case "element":
797
+ if (e.condition) return `<!--[if ${e.condition}]><!--><${e.rawName}`;
798
+ default:
799
+ return `<${e.rawName}`;
800
+ }
801
+ }
802
+ function Ct(e) {
803
+ switch (e.type) {
804
+ case "ieConditionalComment":
805
+ return "]>";
806
+ case "element":
807
+ if (e.condition) return "><!--<![endif]-->";
808
+ default:
809
+ return ">";
810
+ }
811
+ }
812
+ function vs(e, t) {
813
+ if (!e.endSourceSpan) return "";
814
+ let r = e.startSourceSpan.end.offset;
815
+ e.firstChild && Ve(e.firstChild) && (r -= Ct(e).length);
816
+ let n = e.endSourceSpan.start.offset;
817
+ return e.lastChild && he(e.lastChild) ? n += ft(e, t).length : Ce(e) && (n -= ve(e.lastChild, t).length), t.originalText.slice(r, n);
818
+ }
819
+ var Jr = vs, Cs = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
820
+ function Ss(e, t) {
821
+ let { node: r } = e;
822
+ switch (r.type) {
823
+ case "element":
824
+ if (U(r, t) || r.type === "interpolation") return;
825
+ if (!r.isSelfClosing && dt(r, t)) {
826
+ let n = Mt(r, t);
827
+ return n ? async (a, s) => {
828
+ let i = Jr(r, t), u = /^\s*$/u.test(i), o = "";
829
+ return u || (o = await a(Fr(i), { parser: n, __embeddedInHtml: !0 }), u = o === ""), [j(r, t), k(Ye(e, t, s)), u ? "" : S, o, u ? "" : S, Je(r, t), $(r, t)];
830
+ } : void 0;
831
+ }
832
+ break;
833
+ case "text":
834
+ if (U(r.parent, t)) {
835
+ let n = Mt(r.parent, t);
836
+ if (n) return async (a) => {
837
+ let s = n === "markdown" ? Or(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, i = { parser: n, __embeddedInHtml: !0 };
838
+ if (t.parser === "html" && n === "babel") {
839
+ let u = "script", { attrMap: o } = r.parent;
840
+ o && (o.type === "module" || (o.type === "text/babel" || o.type === "text/jsx") && o["data-type"] === "module") && (u = "module"), i.__babelSourceType = u;
841
+ }
842
+ return [me, j(r, t), await a(s, i), $(r, t)];
843
+ };
844
+ } else if (r.parent.type === "interpolation") return async (n) => {
845
+ let a = { __isInHtmlInterpolation: !0, __embeddedInHtml: !0 };
846
+ return t.parser === "angular" ? a.parser = "__ng_interpolation" : t.parser === "vue" ? a.parser = gt(e, t) ? "__vue_ts_expression" : "__vue_expression" : a.parser = "__js_expression", [H([_, await n(r.value, a)]), r.parent.next && z(r.parent.next) ? " " : _];
847
+ };
848
+ break;
849
+ case "attribute":
850
+ return cs(e, t);
851
+ case "front-matter":
852
+ return (n) => zn(r, n);
853
+ case "angularControlFlowBlockParameters":
854
+ return Cs.has(e.parent.name) ? Gn : void 0;
855
+ case "angularLetDeclarationInitializer":
856
+ return (n) => M(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: !1 });
857
+ }
858
+ }
859
+ var ys = Ss, ne = null;
860
+ function ce(e) {
861
+ if (ne !== null && typeof ne.property) {
862
+ let t = ne;
863
+ return ne = ce.prototype = null, t;
864
+ }
865
+ return ne = ce.prototype = e ?? /* @__PURE__ */ Object.create(null), new ce();
866
+ }
867
+ var bs = 10;
868
+ for (let e = 0; e <= bs; e++) ce();
869
+ function _s(e) {
870
+ return ce(e);
871
+ }
872
+ function ws(e, t = "type") {
873
+ _s(e);
874
+ function r(n) {
875
+ let a = n[t], s = e[a];
876
+ if (!Array.isArray(s)) throw Object.assign(new Error(`Missing visitor keys for '${a}'.`), { node: n });
877
+ return s;
878
+ }
879
+ return r;
880
+ }
881
+ var As = ws, ks = { "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"] }, Es = ks, xs = As(Es), Ds = xs, Ts = "format", Bs = /^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u, Ls = /^\s*<!--\s*@(?:format|prettier)\s*-->/u;
882
+ function Fs(e) {
883
+ return Ls.test(e);
884
+ }
885
+ function qs(e) {
886
+ return Bs.test(e);
887
+ }
888
+ function Ns(e) {
889
+ return `<!-- @${Ts} -->
890
+
891
+ ${e}`;
892
+ }
893
+ var Is = /* @__PURE__ */ new Map([["if", /* @__PURE__ */ new Set(["else if", "else"])], ["else if", /* @__PURE__ */ new Set(["else if", "else"])], ["for", /* @__PURE__ */ new Set(["empty"])], ["defer", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["placeholder", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["error", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])], ["loading", /* @__PURE__ */ new Set(["placeholder", "error", "loading"])]]);
894
+ function Yr(e) {
895
+ let t = Re(e);
896
+ return e.type === "element" && !e.endSourceSpan && pt(e.children) ? Math.max(t, Yr(de(!1, e.children, -1))) : t;
897
+ }
898
+ function ae(e, t, r) {
899
+ let n = e.node;
900
+ if (Me(n)) {
901
+ let a = Yr(n);
902
+ return [j(n, t), P(R.trimEnd(t.originalText.slice(fe(n) + (n.prev && Ue(n.prev) ? vt(n).length : 0), a - (n.next && z(n.next) ? ve(n, t).length : 0)))), $(n, t)];
903
+ }
904
+ return r();
905
+ }
906
+ function _e(e, t) {
907
+ return q(e) && q(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ? We(t) ? S : _ : "" : We(t) ? S : D : Ue(e) && (Me(t) || t.firstChild || t.isSelfClosing || t.type === "element" && t.attrs.length > 0) || e.type === "element" && e.isSelfClosing && z(t) ? "" : !t.isLeadingSpaceSensitive || We(t) || z(t) && e.lastChild && he(e.lastChild) && e.lastChild.lastChild && he(e.lastChild.lastChild) ? S : t.hasLeadingSpaces ? _ : D;
908
+ }
909
+ function St(e, t, r) {
910
+ let { node: n } = e;
911
+ if (Ir(n)) return [me, ...e.map((s) => {
912
+ let i = s.node, u = i.prev ? _e(i.prev, i) : "";
913
+ return [u ? [u, be(i.prev) ? S : ""] : "", ae(s, t, r)];
914
+ }, "children")];
915
+ let a = n.children.map(() => /* @__PURE__ */ Symbol(""));
916
+ return e.map((s, i) => {
917
+ let u = s.node;
918
+ if (q(u)) {
919
+ if (u.prev && q(u.prev)) {
920
+ let C = _e(u.prev, u);
921
+ if (C) return be(u.prev) ? [S, S, ae(s, t, r)] : [C, ae(s, t, r)];
922
+ }
923
+ return ae(s, t, r);
924
+ }
925
+ let o = [], p = [], l = [], v = [], d = u.prev ? _e(u.prev, u) : "", g = u.next ? _e(u, u.next) : "";
926
+ return d && (be(u.prev) ? o.push(S, S) : d === S ? o.push(S) : q(u.prev) ? p.push(d) : p.push(xe("", D, { groupId: a[i - 1] }))), g && (be(u) ? q(u.next) && v.push(S, S) : g === S ? q(u.next) && v.push(S) : l.push(g)), [...o, k([...p, k([ae(s, t, r), ...l], { id: a[i] })]), ...v];
927
+ }, "children");
928
+ }
929
+ function Ps(e, t, r) {
930
+ let { node: n } = e, a = [];
931
+ Ms(e) && a.push("} "), a.push("@", n.name), n.parameters && a.push(" (", k(r("parameters")), ")"), a.push(" {");
932
+ let s = Qr(n);
933
+ return n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = !0, n.lastChild.hasTrailingSpaces = !0, a.push(H([S, St(e, t, r)])), s && a.push(S, "}")) : s && a.push("}"), k(a, { shouldBreak: !0 });
934
+ }
935
+ function Qr(e) {
936
+ var t, r;
937
+ return !(((t = e.next) == null ? void 0 : t.type) === "angularControlFlowBlock" && (r = Is.get(e.name)) != null && r.has(e.next.name));
938
+ }
939
+ function Ms(e) {
940
+ let { previous: t } = e;
941
+ return t?.type === "angularControlFlowBlock" && !Me(t) && !Qr(t);
942
+ }
943
+ function Hs(e, t, r) {
944
+ return [H([D, Z([";", _], e.map(r, "children"))]), D];
945
+ }
946
+ function Rs(e, t, r) {
947
+ let { node: n } = e;
948
+ return [le(n, t), k([n.switchValue.trim(), ", ", n.clause, n.cases.length > 0 ? [",", H([_, Z(_, e.map(r, "cases"))])] : "", D]), oe(n, t)];
949
+ }
950
+ function Us(e, t, r) {
951
+ let { node: n } = e;
952
+ return [n.value, " {", k([H([D, e.map(({ node: a, isLast: s }) => {
953
+ let i = [r()];
954
+ return a.type === "text" && (a.hasLeadingSpaces && i.unshift(_), a.hasTrailingSpaces && !s && i.push(_)), i;
955
+ }, "expression")]), D]), "}"];
956
+ }
957
+ function Vs(e, t, r) {
958
+ let { node: n } = e;
959
+ if (qr(n, t)) return [j(n, t), k(Ye(e, t, r)), P(Jr(n, t)), ...Je(n, t), $(n, t)];
960
+ let a = n.children.length === 1 && (n.firstChild.type === "interpolation" || n.firstChild.type === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, s = /* @__PURE__ */ Symbol("element-attr-group-id"), i = (l) => k([k(Ye(e, t, r), { id: s }), l, Je(n, t)]), u = (l) => a ? xn(l, { groupId: s }) : (U(n, t) || He(n, t)) && n.parent.type === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? l : H(l), o = () => a ? xe(D, "", { groupId: s }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? _ : n.firstChild.type === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? kn(D) : D, p = () => (n.next ? z(n.next) : Ce(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : a ? xe(D, "", { groupId: s }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? _ : (n.lastChild.type === "comment" || n.lastChild.type === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : D;
961
+ return n.children.length === 0 ? i(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _ : "") : i([fa(n) ? me : "", u([o(), St(e, t, r)]), p()]);
962
+ }
963
+ function De(e) {
964
+ return e >= 9 && e <= 32 || e == 160;
965
+ }
966
+ function yt(e) {
967
+ return 48 <= e && e <= 57;
968
+ }
969
+ function Te(e) {
970
+ return e >= 97 && e <= 122 || e >= 65 && e <= 90;
971
+ }
972
+ function Os(e) {
973
+ return e >= 97 && e <= 102 || e >= 65 && e <= 70 || yt(e);
974
+ }
975
+ function bt(e) {
976
+ return e === 10 || e === 13;
977
+ }
978
+ function Vt(e) {
979
+ return 48 <= e && e <= 55;
980
+ }
981
+ function ze(e) {
982
+ return e === 39 || e === 34 || e === 96;
983
+ }
984
+ var Ws = /-+([a-z0-9])/g;
985
+ function $s(e) {
986
+ return e.replace(Ws, (...t) => t[1].toUpperCase());
987
+ }
988
+ var Qe = class Zr {
989
+ constructor(t, r, n, a) {
990
+ this.file = t, this.offset = r, this.line = n, this.col = a;
991
+ }
992
+ toString() {
993
+ return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url;
994
+ }
995
+ moveBy(t) {
996
+ let r = this.file.content, n = r.length, a = this.offset, s = this.line, i = this.col;
997
+ for (; a > 0 && t < 0; ) if (a--, t++, r.charCodeAt(a) == 10) {
998
+ s--;
999
+ let u = r.substring(0, a - 1).lastIndexOf(`
1000
+ `);
1001
+ i = u > 0 ? a - u : a;
1002
+ } else i--;
1003
+ for (; a < n && t > 0; ) {
1004
+ let u = r.charCodeAt(a);
1005
+ a++, t--, u == 10 ? (s++, i = 0) : i++;
1006
+ }
1007
+ return new Zr(this.file, a, s, i);
1008
+ }
1009
+ getContext(t, r) {
1010
+ let n = this.file.content, a = this.offset;
1011
+ if (a != null) {
1012
+ a > n.length - 1 && (a = n.length - 1);
1013
+ let s = a, i = 0, u = 0;
1014
+ for (; i < t && a > 0 && (a--, i++, !(n[a] == `
1015
+ ` && ++u == r)); ) ;
1016
+ for (i = 0, u = 0; i < t && s < n.length - 1 && (s++, i++, !(n[s] == `
1017
+ ` && ++u == r)); ) ;
1018
+ return { before: n.substring(a, this.offset), after: n.substring(this.offset, s + 1) };
1019
+ }
1020
+ return null;
1021
+ }
1022
+ }, en = class {
1023
+ constructor(e, t) {
1024
+ this.content = e, this.url = t;
1025
+ }
1026
+ }, m = class {
1027
+ constructor(e, t, r = e, n = null) {
1028
+ this.start = e, this.end = t, this.fullStart = r, this.details = n;
1029
+ }
1030
+ toString() {
1031
+ return this.start.file.content.substring(this.start.offset, this.end.offset);
1032
+ }
1033
+ }, Be;
1034
+ (function(e) {
1035
+ e[e.WARNING = 0] = "WARNING", e[e.ERROR = 1] = "ERROR";
1036
+ })(Be || (Be = {}));
1037
+ var tn = class {
1038
+ constructor(e, t, r = Be.ERROR, n) {
1039
+ this.span = e, this.msg = t, this.level = r, this.relatedError = n;
1040
+ }
1041
+ contextualMessage() {
1042
+ let e = this.span.start.getContext(100, 3);
1043
+ return e ? `${this.msg} ("${e.before}[${Be[this.level]} ->]${e.after}")` : this.msg;
1044
+ }
1045
+ toString() {
1046
+ let e = this.span.details ? `, ${this.span.details}` : "";
1047
+ return `${this.contextualMessage()}: ${this.span.start}${e}`;
1048
+ }
1049
+ }, zs = [Gs, Ks, Js, Qs, Zs, ri, ei, ti, ni, Ys];
1050
+ function js(e, t) {
1051
+ for (let r of zs) r(e, t);
1052
+ return e;
1053
+ }
1054
+ function Gs(e) {
1055
+ e.walk((t) => {
1056
+ if (t.type === "element" && t.tagDefinition.ignoreFirstLf && t.children.length > 0 && t.children[0].type === "text" && t.children[0].value[0] === `
1057
+ `) {
1058
+ let r = t.children[0];
1059
+ r.value.length === 1 ? t.removeChild(r) : r.value = r.value.slice(1);
1060
+ }
1061
+ });
1062
+ }
1063
+ function Ks(e) {
1064
+ let t = (r) => {
1065
+ var n, a;
1066
+ return r.type === "element" && ((n = r.prev) == null ? void 0 : n.type) === "ieConditionalStartComment" && r.prev.sourceSpan.end.offset === r.startSourceSpan.start.offset && ((a = r.firstChild) == null ? void 0 : a.type) === "ieConditionalEndComment" && r.firstChild.sourceSpan.start.offset === r.startSourceSpan.end.offset;
1067
+ };
1068
+ e.walk((r) => {
1069
+ if (r.children) for (let n = 0; n < r.children.length; n++) {
1070
+ let a = r.children[n];
1071
+ if (!t(a)) continue;
1072
+ let s = a.prev, i = a.firstChild;
1073
+ r.removeChild(s), n--;
1074
+ let u = new m(s.sourceSpan.start, i.sourceSpan.end), o = new m(u.start, a.sourceSpan.end);
1075
+ a.condition = s.condition, a.sourceSpan = o, a.startSourceSpan = u, a.removeChild(i);
1076
+ }
1077
+ });
1078
+ }
1079
+ function Xs(e, t, r) {
1080
+ e.walk((n) => {
1081
+ if (n.children) for (let a = 0; a < n.children.length; a++) {
1082
+ let s = n.children[a];
1083
+ if (s.type !== "text" && !t(s)) continue;
1084
+ s.type !== "text" && (s.type = "text", s.value = r(s));
1085
+ let i = s.prev;
1086
+ !i || i.type !== "text" || (i.value += s.value, i.sourceSpan = new m(i.sourceSpan.start, s.sourceSpan.end), n.removeChild(s), a--);
1087
+ }
1088
+ });
1089
+ }
1090
+ function Js(e) {
1091
+ return Xs(e, (t) => t.type === "cdata", (t) => `<![CDATA[${t.value}]]>`);
1092
+ }
1093
+ function Ys(e) {
1094
+ let t = (r) => {
1095
+ var n, a;
1096
+ return r.type === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.type === "text" && !R.hasWhitespaceCharacter(r.children[0].value) && !r.firstChild.hasLeadingSpaces && !r.firstChild.hasTrailingSpaces && r.isLeadingSpaceSensitive && !r.hasLeadingSpaces && r.isTrailingSpaceSensitive && !r.hasTrailingSpaces && ((n = r.prev) == null ? void 0 : n.type) === "text" && ((a = r.next) == null ? void 0 : a.type) === "text";
1097
+ };
1098
+ e.walk((r) => {
1099
+ if (r.children) for (let n = 0; n < r.children.length; n++) {
1100
+ let a = r.children[n];
1101
+ if (!t(a)) continue;
1102
+ let s = a.prev, i = a.next;
1103
+ s.value += `<${a.rawName}>` + a.firstChild.value + `</${a.rawName}>` + i.value, s.sourceSpan = new m(s.sourceSpan.start, i.sourceSpan.end), s.isTrailingSpaceSensitive = i.isTrailingSpaceSensitive, s.hasTrailingSpaces = i.hasTrailingSpaces, r.removeChild(a), n--, r.removeChild(i);
1104
+ }
1105
+ });
1106
+ }
1107
+ function Qs(e, t) {
1108
+ if (t.parser === "html") return;
1109
+ let r = /\{\{(.+?)\}\}/su;
1110
+ e.walk((n) => {
1111
+ if (pa(n, t)) for (let a of n.children) {
1112
+ if (a.type !== "text") continue;
1113
+ let s = a.sourceSpan.start, i = null, u = a.value.split(r);
1114
+ for (let o = 0; o < u.length; o++, s = i) {
1115
+ let p = u[o];
1116
+ if (o % 2 === 0) {
1117
+ i = s.moveBy(p.length), p.length > 0 && n.insertChildBefore(a, { type: "text", value: p, sourceSpan: new m(s, i) });
1118
+ continue;
1119
+ }
1120
+ i = s.moveBy(p.length + 4), n.insertChildBefore(a, { type: "interpolation", sourceSpan: new m(s, i), children: p.length === 0 ? [] : [{ type: "text", value: p, sourceSpan: new m(s.moveBy(2), i.moveBy(-2)) }] });
1121
+ }
1122
+ n.removeChild(a);
1123
+ }
1124
+ });
1125
+ }
1126
+ function Zs(e, t) {
1127
+ e.walk((r) => {
1128
+ let n = r.$children;
1129
+ if (!n) return;
1130
+ if (n.length === 0 || n.length === 1 && n[0].type === "text" && R.trim(n[0].value).length === 0) {
1131
+ r.hasDanglingSpaces = n.length > 0, r.$children = [];
1132
+ return;
1133
+ }
1134
+ let a = ha(r, t), s = Nr(r);
1135
+ if (!a) for (let i = 0; i < n.length; i++) {
1136
+ let u = n[i];
1137
+ if (u.type !== "text") continue;
1138
+ let { leadingWhitespace: o, text: p, trailingWhitespace: l } = la(u.value), v = u.prev, d = u.next;
1139
+ p ? (u.value = p, u.sourceSpan = new m(u.sourceSpan.start.moveBy(o.length), u.sourceSpan.end.moveBy(-l.length)), o && (v && (v.hasTrailingSpaces = !0), u.hasLeadingSpaces = !0), l && (u.hasTrailingSpaces = !0, d && (d.hasLeadingSpaces = !0))) : (r.removeChild(u), i--, (o || l) && (v && (v.hasTrailingSpaces = !0), d && (d.hasLeadingSpaces = !0)));
1140
+ }
1141
+ r.isWhitespaceSensitive = a, r.isIndentationSensitive = s;
1142
+ });
1143
+ }
1144
+ function ei(e) {
1145
+ e.walk((t) => {
1146
+ t.isSelfClosing = !t.children || t.type === "element" && (t.tagDefinition.isVoid || t.endSourceSpan && t.startSourceSpan.start === t.endSourceSpan.start && t.startSourceSpan.end === t.endSourceSpan.end);
1147
+ });
1148
+ }
1149
+ function ti(e, t) {
1150
+ e.walk((r) => {
1151
+ r.type === "element" && (r.hasHtmComponentClosingTag = r.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset, r.endSourceSpan.end.offset)));
1152
+ });
1153
+ }
1154
+ function ri(e, t) {
1155
+ e.walk((r) => {
1156
+ r.cssDisplay = Da(r, t);
1157
+ });
1158
+ }
1159
+ function ni(e, t) {
1160
+ e.walk((r) => {
1161
+ let { children: n } = r;
1162
+ if (n) {
1163
+ if (n.length === 0) {
1164
+ r.isDanglingSpaceSensitive = ga(r, t);
1165
+ return;
1166
+ }
1167
+ for (let a of n) a.isLeadingSpaceSensitive = da(a, t), a.isTrailingSpaceSensitive = ma(a, t);
1168
+ for (let a = 0; a < n.length; a++) {
1169
+ let s = n[a];
1170
+ s.isLeadingSpaceSensitive = (a === 0 || s.prev.isTrailingSpaceSensitive) && s.isLeadingSpaceSensitive, s.isTrailingSpaceSensitive = (a === n.length - 1 || s.next.isLeadingSpaceSensitive) && s.isTrailingSpaceSensitive;
1171
+ }
1172
+ }
1173
+ });
1174
+ }
1175
+ var ai = js;
1176
+ function si(e, t, r) {
1177
+ let { node: n } = e;
1178
+ switch (n.type) {
1179
+ case "front-matter":
1180
+ return P(n.raw);
1181
+ case "root":
1182
+ return t.__onHtmlRoot && t.__onHtmlRoot(n), [k(St(e, t, r)), S];
1183
+ case "element":
1184
+ case "ieConditionalComment":
1185
+ return Vs(e, t, r);
1186
+ case "angularControlFlowBlock":
1187
+ return Ps(e, t, r);
1188
+ case "angularControlFlowBlockParameters":
1189
+ return Hs(e, t, r);
1190
+ case "angularControlFlowBlockParameter":
1191
+ return R.trim(n.expression);
1192
+ case "angularLetDeclaration":
1193
+ return k(["@let ", k([n.id, " =", k(H([_, r("init")]))]), ";"]);
1194
+ case "angularLetDeclarationInitializer":
1195
+ return n.value;
1196
+ case "angularIcuExpression":
1197
+ return Rs(e, t, r);
1198
+ case "angularIcuCase":
1199
+ return Us(e, t, r);
1200
+ case "ieConditionalStartComment":
1201
+ case "ieConditionalEndComment":
1202
+ return [le(n), oe(n)];
1203
+ case "interpolation":
1204
+ return [le(n, t), ...e.map(r, "children"), oe(n, t)];
1205
+ case "text": {
1206
+ if (n.parent.type === "interpolation") {
1207
+ let u = /\n[^\S\n]*$/u, o = u.test(n.value), p = o ? n.value.replace(u, "") : n.value;
1208
+ return [P(p), o ? S : ""];
1209
+ }
1210
+ let a = j(n, t), s = $r(n), i = $(n, t);
1211
+ return s[0] = [a, s[0]], s.push([s.pop(), i]), Tr(s);
1212
+ }
1213
+ case "docType":
1214
+ return [k([le(n, t), " ", L(!1, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), oe(n, t)];
1215
+ case "comment":
1216
+ return [j(n, t), P(t.originalText.slice(fe(n), Re(n))), $(n, t)];
1217
+ case "attribute": {
1218
+ if (n.value === null) return n.rawName;
1219
+ let a = Wr(n.value), s = Fn(a, '"');
1220
+ return [n.rawName, "=", s, P(s === '"' ? L(!1, a, '"', "&quot;") : L(!1, a, "'", "&apos;")), s];
1221
+ }
1222
+ default:
1223
+ throw new Rn(n, "HTML");
1224
+ }
1225
+ }
1226
+ var ii = { preprocess: ai, print: si, insertPragma: Ns, massageAstNode: Wn, embed: ys, getVisitorKeys: Ds }, ui = ii, oi = [{ 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 }], Ot = { 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." } }, Wt = "HTML", li = { bracketSameLine: Ot.bracketSameLine, htmlWhitespaceSensitivity: { category: Wt, 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: Ot.singleAttributePerLine, vueIndentScriptAndStyle: { category: Wt, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, ci = li, rn = {};
1227
+ mr(rn, { angular: () => fu, html: () => du, lwc: () => Cu, mjml: () => gu, vue: () => vu });
1228
+ var $t;
1229
+ (function(e) {
1230
+ e[e.Emulated = 0] = "Emulated", e[e.None = 2] = "None", e[e.ShadowDom = 3] = "ShadowDom";
1231
+ })($t || ($t = {}));
1232
+ var zt;
1233
+ (function(e) {
1234
+ e[e.OnPush = 0] = "OnPush", e[e.Default = 1] = "Default";
1235
+ })(zt || (zt = {}));
1236
+ var jt;
1237
+ (function(e) {
1238
+ e[e.None = 0] = "None", e[e.SignalBased = 1] = "SignalBased", e[e.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
1239
+ })(jt || (jt = {}));
1240
+ var Gt = { name: "custom-elements" }, Kt = { name: "no-errors-schema" }, W;
1241
+ (function(e) {
1242
+ 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";
1243
+ })(W || (W = {}));
1244
+ var Xt;
1245
+ (function(e) {
1246
+ e[e.Error = 0] = "Error", e[e.Warning = 1] = "Warning", e[e.Ignore = 2] = "Ignore";
1247
+ })(Xt || (Xt = {}));
1248
+ var I;
1249
+ (function(e) {
1250
+ e[e.RAW_TEXT = 0] = "RAW_TEXT", e[e.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", e[e.PARSABLE_DATA = 2] = "PARSABLE_DATA";
1251
+ })(I || (I = {}));
1252
+ function Oe(e, t = !0) {
1253
+ if (e[0] != ":") return [null, e];
1254
+ let r = e.indexOf(":", 1);
1255
+ if (r === -1) {
1256
+ if (t) throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);
1257
+ return [null, e];
1258
+ }
1259
+ return [e.slice(1, r), e.slice(r + 1)];
1260
+ }
1261
+ function Jt(e) {
1262
+ return Oe(e)[1] === "ng-container";
1263
+ }
1264
+ function Yt(e) {
1265
+ return Oe(e)[1] === "ng-content";
1266
+ }
1267
+ function ke(e) {
1268
+ return e === null ? null : Oe(e)[0];
1269
+ }
1270
+ function Le(e, t) {
1271
+ return e ? `:${e}:${t}` : t;
1272
+ }
1273
+ var Ee;
1274
+ function Qt() {
1275
+ return Ee || (Ee = {}, we(W.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), we(W.STYLE, ["*|style"]), we(W.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"]), we(W.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"])), Ee;
1276
+ }
1277
+ function we(e, t) {
1278
+ for (let r of t) Ee[r.toLowerCase()] = e;
1279
+ }
1280
+ var pi = class {
1281
+ }, hi = "boolean", di = "number", mi = "string", gi = "object", fi = ["[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:|"], nn = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), vi = Array.from(nn).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()), Ci = class extends pi {
1282
+ constructor() {
1283
+ super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), fi.forEach((e) => {
1284
+ let t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), [n, a] = e.split("|"), s = a.split(","), [i, u] = n.split("^");
1285
+ i.split(",").forEach((p) => {
1286
+ this._schema.set(p.toLowerCase(), t), this._eventSchema.set(p.toLowerCase(), r);
1287
+ });
1288
+ let o = u && this._schema.get(u.toLowerCase());
1289
+ if (o) {
1290
+ for (let [p, l] of o) t.set(p, l);
1291
+ for (let p of this._eventSchema.get(u.toLowerCase())) r.add(p);
1292
+ }
1293
+ s.forEach((p) => {
1294
+ if (p.length > 0) switch (p[0]) {
1295
+ case "*":
1296
+ r.add(p.substring(1));
1297
+ break;
1298
+ case "!":
1299
+ t.set(p.substring(1), hi);
1300
+ break;
1301
+ case "#":
1302
+ t.set(p.substring(1), di);
1303
+ break;
1304
+ case "%":
1305
+ t.set(p.substring(1), gi);
1306
+ break;
1307
+ default:
1308
+ t.set(p, mi);
1309
+ }
1310
+ });
1311
+ });
1312
+ }
1313
+ hasProperty(e, t, r) {
1314
+ if (r.some((n) => n.name === Kt.name)) return !0;
1315
+ if (e.indexOf("-") > -1) {
1316
+ if (Jt(e) || Yt(e)) return !1;
1317
+ if (r.some((n) => n.name === Gt.name)) return !0;
1318
+ }
1319
+ return (this._schema.get(e.toLowerCase()) || this._schema.get("unknown")).has(t);
1320
+ }
1321
+ hasElement(e, t) {
1322
+ return t.some((r) => r.name === Kt.name) || e.indexOf("-") > -1 && (Jt(e) || Yt(e) || t.some((r) => r.name === Gt.name)) ? !0 : this._schema.has(e.toLowerCase());
1323
+ }
1324
+ securityContext(e, t, r) {
1325
+ r && (t = this.getMappedPropName(t)), e = e.toLowerCase(), t = t.toLowerCase();
1326
+ let n = Qt()[e + "|" + t];
1327
+ return n || (n = Qt()["*|" + t], n || W.NONE);
1328
+ }
1329
+ getMappedPropName(e) {
1330
+ return nn.get(e) ?? e;
1331
+ }
1332
+ getDefaultComponentElementName() {
1333
+ return "ng-component";
1334
+ }
1335
+ validateProperty(e) {
1336
+ return e.toLowerCase().startsWith("on") ? { error: !0, msg: `Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...
1337
+ If '${e}' is a directive input, make sure the directive is imported by the current module.` } : { error: !1 };
1338
+ }
1339
+ validateAttribute(e) {
1340
+ 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 };
1341
+ }
1342
+ allKnownElementNames() {
1343
+ return Array.from(this._schema.keys());
1344
+ }
1345
+ allKnownAttributesOfElement(e) {
1346
+ let t = this._schema.get(e.toLowerCase()) || this._schema.get("unknown");
1347
+ return Array.from(t.keys()).map((r) => vi.get(r) ?? r);
1348
+ }
1349
+ allKnownEventsOfElement(e) {
1350
+ return Array.from(this._eventSchema.get(e.toLowerCase()) ?? []);
1351
+ }
1352
+ normalizeAnimationStyleProperty(e) {
1353
+ return $s(e);
1354
+ }
1355
+ normalizeAnimationStyleValue(e, t, r) {
1356
+ let n = "", a = r.toString().trim(), s = null;
1357
+ if (Si(e) && r !== 0 && r !== "0") if (typeof r == "number") n = "px";
1358
+ else {
1359
+ let i = r.match(/^[+-]?[\d\.]+([a-z]*)$/);
1360
+ i && i[1].length == 0 && (s = `Please provide a CSS unit value for ${t}:${r}`);
1361
+ }
1362
+ return { error: s, value: a + n };
1363
+ }
1364
+ };
1365
+ function Si(e) {
1366
+ switch (e) {
1367
+ case "width":
1368
+ case "height":
1369
+ case "minWidth":
1370
+ case "minHeight":
1371
+ case "maxWidth":
1372
+ case "maxHeight":
1373
+ case "left":
1374
+ case "top":
1375
+ case "bottom":
1376
+ case "right":
1377
+ case "fontSize":
1378
+ case "outlineWidth":
1379
+ case "outlineOffset":
1380
+ case "paddingTop":
1381
+ case "paddingLeft":
1382
+ case "paddingBottom":
1383
+ case "paddingRight":
1384
+ case "marginTop":
1385
+ case "marginLeft":
1386
+ case "marginBottom":
1387
+ case "marginRight":
1388
+ case "borderRadius":
1389
+ case "borderWidth":
1390
+ case "borderTopWidth":
1391
+ case "borderLeftWidth":
1392
+ case "borderRightWidth":
1393
+ case "borderBottomWidth":
1394
+ case "textIndent":
1395
+ return !0;
1396
+ default:
1397
+ return !1;
1398
+ }
1399
+ }
1400
+ var h = class {
1401
+ constructor({ closedByChildren: e, implicitNamespacePrefix: t, contentType: r = I.PARSABLE_DATA, closedByParent: n = !1, isVoid: a = !1, ignoreFirstLf: s = !1, preventNamespaceInheritance: i = !1, canSelfClose: u = !1 } = {}) {
1402
+ this.closedByChildren = {}, this.closedByParent = !1, e && e.length > 0 && e.forEach((o) => this.closedByChildren[o] = !0), this.isVoid = a, this.closedByParent = n || a, this.implicitNamespacePrefix = t || null, this.contentType = r, this.ignoreFirstLf = s, this.preventNamespaceInheritance = i, this.canSelfClose = u ?? a;
1403
+ }
1404
+ isClosedByChild(e) {
1405
+ return this.isVoid || e.toLowerCase() in this.closedByChildren;
1406
+ }
1407
+ getContentType(e) {
1408
+ return typeof this.contentType == "object" ? (e === void 0 ? void 0 : this.contentType[e]) ?? this.contentType.default : this.contentType;
1409
+ }
1410
+ }, Zt, se;
1411
+ function Ze(e) {
1412
+ return se || (Zt = new h({ canSelfClose: !0 }), se = Object.assign(/* @__PURE__ */ Object.create(null), { base: new h({ isVoid: !0 }), meta: new h({ isVoid: !0 }), area: new h({ isVoid: !0 }), embed: new h({ isVoid: !0 }), link: new h({ isVoid: !0 }), img: new h({ isVoid: !0 }), input: new h({ isVoid: !0 }), param: new h({ isVoid: !0 }), hr: new h({ isVoid: !0 }), br: new h({ isVoid: !0 }), source: new h({ isVoid: !0 }), track: new h({ isVoid: !0 }), wbr: new h({ isVoid: !0 }), p: new h({ 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 h({ closedByChildren: ["tbody", "tfoot"] }), tbody: new h({ closedByChildren: ["tbody", "tfoot"], closedByParent: !0 }), tfoot: new h({ closedByChildren: ["tbody"], closedByParent: !0 }), tr: new h({ closedByChildren: ["tr"], closedByParent: !0 }), td: new h({ closedByChildren: ["td", "th"], closedByParent: !0 }), th: new h({ closedByChildren: ["td", "th"], closedByParent: !0 }), col: new h({ isVoid: !0 }), svg: new h({ implicitNamespacePrefix: "svg" }), foreignObject: new h({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: !0 }), math: new h({ implicitNamespacePrefix: "math" }), li: new h({ closedByChildren: ["li"], closedByParent: !0 }), dt: new h({ closedByChildren: ["dt", "dd"] }), dd: new h({ closedByChildren: ["dt", "dd"], closedByParent: !0 }), rb: new h({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rt: new h({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rtc: new h({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: !0 }), rp: new h({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), optgroup: new h({ closedByChildren: ["optgroup"], closedByParent: !0 }), option: new h({ closedByChildren: ["option", "optgroup"], closedByParent: !0 }), pre: new h({ ignoreFirstLf: !0 }), listing: new h({ ignoreFirstLf: !0 }), style: new h({ contentType: I.RAW_TEXT }), script: new h({ contentType: I.RAW_TEXT }), title: new h({ contentType: { default: I.ESCAPABLE_RAW_TEXT, svg: I.PARSABLE_DATA } }), textarea: new h({ contentType: I.ESCAPABLE_RAW_TEXT, ignoreFirstLf: !0 }) }), new Ci().allKnownElementNames().forEach((t) => {
1413
+ !se[t] && ke(t) === null && (se[t] = new h({ canSelfClose: !1 }));
1414
+ })), se[e] ?? Zt;
1415
+ }
1416
+ var re = class {
1417
+ constructor(e, t) {
1418
+ this.sourceSpan = e, this.i18n = t;
1419
+ }
1420
+ }, yi = class extends re {
1421
+ constructor(e, t, r, n) {
1422
+ super(t, n), this.value = e, this.tokens = r, this.type = "text";
1423
+ }
1424
+ visit(e, t) {
1425
+ return e.visitText(this, t);
1426
+ }
1427
+ }, bi = class extends re {
1428
+ constructor(e, t, r, n) {
1429
+ super(t, n), this.value = e, this.tokens = r, this.type = "cdata";
1430
+ }
1431
+ visit(e, t) {
1432
+ return e.visitCdata(this, t);
1433
+ }
1434
+ }, _i = class extends re {
1435
+ constructor(e, t, r, n, a, s) {
1436
+ super(n, s), this.switchValue = e, this.type = t, this.cases = r, this.switchValueSourceSpan = a;
1437
+ }
1438
+ visit(e, t) {
1439
+ return e.visitExpansion(this, t);
1440
+ }
1441
+ }, wi = class {
1442
+ constructor(e, t, r, n, a) {
1443
+ this.value = e, this.expression = t, this.sourceSpan = r, this.valueSourceSpan = n, this.expSourceSpan = a, this.type = "expansionCase";
1444
+ }
1445
+ visit(e, t) {
1446
+ return e.visitExpansionCase(this, t);
1447
+ }
1448
+ }, Ai = class extends re {
1449
+ constructor(e, t, r, n, a, s, i) {
1450
+ super(r, i), this.name = e, this.value = t, this.keySpan = n, this.valueSpan = a, this.valueTokens = s, this.type = "attribute";
1451
+ }
1452
+ visit(e, t) {
1453
+ return e.visitAttribute(this, t);
1454
+ }
1455
+ get nameSpan() {
1456
+ return this.keySpan;
1457
+ }
1458
+ }, V = class extends re {
1459
+ constructor(e, t, r, n, a, s = null, i = null, u) {
1460
+ super(n, u), this.name = e, this.attrs = t, this.children = r, this.startSourceSpan = a, this.endSourceSpan = s, this.nameSpan = i, this.type = "element";
1461
+ }
1462
+ visit(e, t) {
1463
+ return e.visitElement(this, t);
1464
+ }
1465
+ }, ki = class {
1466
+ constructor(e, t) {
1467
+ this.value = e, this.sourceSpan = t, this.type = "comment";
1468
+ }
1469
+ visit(e, t) {
1470
+ return e.visitComment(this, t);
1471
+ }
1472
+ }, Ei = class {
1473
+ constructor(e, t) {
1474
+ this.value = e, this.sourceSpan = t, this.type = "docType";
1475
+ }
1476
+ visit(e, t) {
1477
+ return e.visitDocType(this, t);
1478
+ }
1479
+ }, K = class extends re {
1480
+ constructor(e, t, r, n, a, s, i = null, u) {
1481
+ super(n, u), this.name = e, this.parameters = t, this.children = r, this.nameSpan = a, this.startSourceSpan = s, this.endSourceSpan = i, this.type = "block";
1482
+ }
1483
+ visit(e, t) {
1484
+ return e.visitBlock(this, t);
1485
+ }
1486
+ }, er = class {
1487
+ constructor(e, t) {
1488
+ this.expression = e, this.sourceSpan = t, this.type = "blockParameter", this.startSourceSpan = null, this.endSourceSpan = null;
1489
+ }
1490
+ visit(e, t) {
1491
+ return e.visitBlockParameter(this, t);
1492
+ }
1493
+ }, tr = class {
1494
+ constructor(e, t, r, n, a) {
1495
+ this.name = e, this.value = t, this.sourceSpan = r, this.nameSpan = n, this.valueSpan = a, this.type = "letDeclaration", this.startSourceSpan = null, this.endSourceSpan = null;
1496
+ }
1497
+ visit(e, t) {
1498
+ return e.visitLetDeclaration(this, t);
1499
+ }
1500
+ };
1501
+ function an(e, t, r = null) {
1502
+ let n = [], a = e.visit ? (s) => e.visit(s, r) || s.visit(e, r) : (s) => s.visit(e, r);
1503
+ return t.forEach((s) => {
1504
+ let i = a(s);
1505
+ i && n.push(i);
1506
+ }), n;
1507
+ }
1508
+ var xi = class {
1509
+ constructor() {
1510
+ }
1511
+ visitElement(e, t) {
1512
+ this.visitChildren(t, (r) => {
1513
+ r(e.attrs), r(e.children);
1514
+ });
1515
+ }
1516
+ visitAttribute(e, t) {
1517
+ }
1518
+ visitText(e, t) {
1519
+ }
1520
+ visitCdata(e, t) {
1521
+ }
1522
+ visitComment(e, t) {
1523
+ }
1524
+ visitDocType(e, t) {
1525
+ }
1526
+ visitExpansion(e, t) {
1527
+ return this.visitChildren(t, (r) => {
1528
+ r(e.cases);
1529
+ });
1530
+ }
1531
+ visitExpansionCase(e, t) {
1532
+ }
1533
+ visitBlock(e, t) {
1534
+ this.visitChildren(t, (r) => {
1535
+ r(e.parameters), r(e.children);
1536
+ });
1537
+ }
1538
+ visitBlockParameter(e, t) {
1539
+ }
1540
+ visitLetDeclaration(e, t) {
1541
+ }
1542
+ visitChildren(e, t) {
1543
+ let r = [], n = this;
1544
+ function a(s) {
1545
+ s && r.push(an(n, s, e));
1546
+ }
1547
+ return t(a), Array.prototype.concat.apply([], r);
1548
+ }
1549
+ }, Fe = { AElig: "Æ", AMP: "&", amp: "&", Aacute: "Á", Abreve: "Ă", Acirc: "Â", Acy: "А", Afr: "𝔄", Agrave: "À", Alpha: "Α", Amacr: "Ā", And: "⩓", Aogon: "Ą", Aopf: "𝔸", ApplyFunction: "⁡", af: "⁡", Aring: "Å", angst: "Å", Ascr: "𝒜", Assign: "≔", colone: "≔", coloneq: "≔", Atilde: "Ã", Auml: "Ä", Backslash: "∖", setminus: "∖", setmn: "∖", smallsetminus: "∖", ssetmn: "∖", Barv: "⫧", Barwed: "⌆", doublebarwedge: "⌆", Bcy: "Б", Because: "∵", becaus: "∵", because: "∵", Bernoullis: "ℬ", Bscr: "ℬ", bernou: "ℬ", Beta: "Β", Bfr: "𝔅", Bopf: "𝔹", Breve: "˘", breve: "˘", Bumpeq: "≎", HumpDownHump: "≎", bump: "≎", CHcy: "Ч", COPY: "©", copy: "©", Cacute: "Ć", Cap: "⋒", CapitalDifferentialD: "ⅅ", DD: "ⅅ", Cayleys: "ℭ", Cfr: "ℭ", Ccaron: "Č", Ccedil: "Ç", Ccirc: "Ĉ", Cconint: "∰", Cdot: "Ċ", Cedilla: "¸", cedil: "¸", CenterDot: "·", centerdot: "·", middot: "·", Chi: "Χ", CircleDot: "⊙", odot: "⊙", CircleMinus: "⊖", ominus: "⊖", CirclePlus: "⊕", oplus: "⊕", CircleTimes: "⊗", otimes: "⊗", ClockwiseContourIntegral: "∲", cwconint: "∲", CloseCurlyDoubleQuote: "”", rdquo: "”", rdquor: "”", CloseCurlyQuote: "’", rsquo: "’", rsquor: "’", Colon: "∷", Proportion: "∷", Colone: "⩴", Congruent: "≡", equiv: "≡", Conint: "∯", DoubleContourIntegral: "∯", ContourIntegral: "∮", conint: "∮", oint: "∮", Copf: "ℂ", complexes: "ℂ", Coproduct: "∐", coprod: "∐", CounterClockwiseContourIntegral: "∳", awconint: "∳", Cross: "⨯", Cscr: "𝒞", Cup: "⋓", CupCap: "≍", asympeq: "≍", DDotrahd: "⤑", DJcy: "Ђ", DScy: "Ѕ", DZcy: "Џ", Dagger: "‡", ddagger: "‡", Darr: "↡", Dashv: "⫤", DoubleLeftTee: "⫤", Dcaron: "Ď", Dcy: "Д", Del: "∇", nabla: "∇", Delta: "Δ", Dfr: "𝔇", DiacriticalAcute: "´", acute: "´", DiacriticalDot: "˙", dot: "˙", DiacriticalDoubleAcute: "˝", dblac: "˝", DiacriticalGrave: "`", grave: "`", DiacriticalTilde: "˜", tilde: "˜", Diamond: "⋄", diam: "⋄", diamond: "⋄", DifferentialD: "ⅆ", dd: "ⅆ", Dopf: "𝔻", Dot: "¨", DoubleDot: "¨", die: "¨", uml: "¨", DotDot: "⃜", DotEqual: "≐", doteq: "≐", esdot: "≐", DoubleDownArrow: "⇓", Downarrow: "⇓", dArr: "⇓", DoubleLeftArrow: "⇐", Leftarrow: "⇐", lArr: "⇐", DoubleLeftRightArrow: "⇔", Leftrightarrow: "⇔", hArr: "⇔", iff: "⇔", DoubleLongLeftArrow: "⟸", Longleftarrow: "⟸", xlArr: "⟸", DoubleLongLeftRightArrow: "⟺", Longleftrightarrow: "⟺", xhArr: "⟺", DoubleLongRightArrow: "⟹", Longrightarrow: "⟹", xrArr: "⟹", DoubleRightArrow: "⇒", Implies: "⇒", Rightarrow: "⇒", rArr: "⇒", DoubleRightTee: "⊨", vDash: "⊨", DoubleUpArrow: "⇑", Uparrow: "⇑", uArr: "⇑", DoubleUpDownArrow: "⇕", Updownarrow: "⇕", vArr: "⇕", DoubleVerticalBar: "∥", par: "∥", parallel: "∥", shortparallel: "∥", spar: "∥", DownArrow: "↓", ShortDownArrow: "↓", darr: "↓", downarrow: "↓", DownArrowBar: "⤓", DownArrowUpArrow: "⇵", duarr: "⇵", DownBreve: "̑", DownLeftRightVector: "⥐", DownLeftTeeVector: "⥞", DownLeftVector: "↽", leftharpoondown: "↽", lhard: "↽", DownLeftVectorBar: "⥖", DownRightTeeVector: "⥟", DownRightVector: "⇁", rhard: "⇁", rightharpoondown: "⇁", DownRightVectorBar: "⥗", DownTee: "⊤", top: "⊤", DownTeeArrow: "↧", mapstodown: "↧", Dscr: "𝒟", Dstrok: "Đ", ENG: "Ŋ", ETH: "Ð", Eacute: "É", Ecaron: "Ě", Ecirc: "Ê", Ecy: "Э", Edot: "Ė", Efr: "𝔈", Egrave: "È", Element: "∈", in: "∈", isin: "∈", isinv: "∈", Emacr: "Ē", EmptySmallSquare: "◻", EmptyVerySmallSquare: "▫", Eogon: "Ę", Eopf: "𝔼", Epsilon: "Ε", Equal: "⩵", EqualTilde: "≂", eqsim: "≂", esim: "≂", Equilibrium: "⇌", rightleftharpoons: "⇌", rlhar: "⇌", Escr: "ℰ", expectation: "ℰ", Esim: "⩳", Eta: "Η", Euml: "Ë", Exists: "∃", exist: "∃", ExponentialE: "ⅇ", ee: "ⅇ", exponentiale: "ⅇ", Fcy: "Ф", Ffr: "𝔉", FilledSmallSquare: "◼", FilledVerySmallSquare: "▪", blacksquare: "▪", squarf: "▪", squf: "▪", Fopf: "𝔽", ForAll: "∀", forall: "∀", Fouriertrf: "ℱ", Fscr: "ℱ", GJcy: "Ѓ", GT: ">", gt: ">", Gamma: "Γ", Gammad: "Ϝ", Gbreve: "Ğ", Gcedil: "Ģ", Gcirc: "Ĝ", Gcy: "Г", Gdot: "Ġ", Gfr: "𝔊", Gg: "⋙", ggg: "⋙", Gopf: "𝔾", GreaterEqual: "≥", ge: "≥", geq: "≥", GreaterEqualLess: "⋛", gel: "⋛", gtreqless: "⋛", GreaterFullEqual: "≧", gE: "≧", geqq: "≧", GreaterGreater: "⪢", GreaterLess: "≷", gl: "≷", gtrless: "≷", GreaterSlantEqual: "⩾", geqslant: "⩾", ges: "⩾", GreaterTilde: "≳", gsim: "≳", gtrsim: "≳", Gscr: "𝒢", Gt: "≫", NestedGreaterGreater: "≫", gg: "≫", HARDcy: "Ъ", Hacek: "ˇ", caron: "ˇ", Hat: "^", Hcirc: "Ĥ", Hfr: "ℌ", Poincareplane: "ℌ", HilbertSpace: "ℋ", Hscr: "ℋ", hamilt: "ℋ", Hopf: "ℍ", quaternions: "ℍ", HorizontalLine: "─", boxh: "─", Hstrok: "Ħ", HumpEqual: "≏", bumpe: "≏", bumpeq: "≏", IEcy: "Е", IJlig: "IJ", IOcy: "Ё", Iacute: "Í", Icirc: "Î", Icy: "И", Idot: "İ", Ifr: "ℑ", Im: "ℑ", image: "ℑ", imagpart: "ℑ", Igrave: "Ì", Imacr: "Ī", ImaginaryI: "ⅈ", ii: "ⅈ", Int: "∬", Integral: "∫", int: "∫", Intersection: "⋂", bigcap: "⋂", xcap: "⋂", InvisibleComma: "⁣", ic: "⁣", InvisibleTimes: "⁢", it: "⁢", Iogon: "Į", Iopf: "𝕀", Iota: "Ι", Iscr: "ℐ", imagline: "ℐ", Itilde: "Ĩ", Iukcy: "І", Iuml: "Ï", Jcirc: "Ĵ", Jcy: "Й", Jfr: "𝔍", Jopf: "𝕁", Jscr: "𝒥", Jsercy: "Ј", Jukcy: "Є", KHcy: "Х", KJcy: "Ќ", Kappa: "Κ", Kcedil: "Ķ", Kcy: "К", Kfr: "𝔎", Kopf: "𝕂", Kscr: "𝒦", LJcy: "Љ", LT: "<", lt: "<", Lacute: "Ĺ", Lambda: "Λ", Lang: "⟪", Laplacetrf: "ℒ", Lscr: "ℒ", lagran: "ℒ", Larr: "↞", twoheadleftarrow: "↞", Lcaron: "Ľ", Lcedil: "Ļ", Lcy: "Л", LeftAngleBracket: "⟨", lang: "⟨", langle: "⟨", LeftArrow: "←", ShortLeftArrow: "←", larr: "←", leftarrow: "←", slarr: "←", LeftArrowBar: "⇤", larrb: "⇤", LeftArrowRightArrow: "⇆", leftrightarrows: "⇆", lrarr: "⇆", LeftCeiling: "⌈", lceil: "⌈", LeftDoubleBracket: "⟦", lobrk: "⟦", LeftDownTeeVector: "⥡", LeftDownVector: "⇃", dharl: "⇃", downharpoonleft: "⇃", LeftDownVectorBar: "⥙", LeftFloor: "⌊", lfloor: "⌊", LeftRightArrow: "↔", harr: "↔", leftrightarrow: "↔", LeftRightVector: "⥎", LeftTee: "⊣", dashv: "⊣", LeftTeeArrow: "↤", mapstoleft: "↤", LeftTeeVector: "⥚", LeftTriangle: "⊲", vartriangleleft: "⊲", vltri: "⊲", LeftTriangleBar: "⧏", LeftTriangleEqual: "⊴", ltrie: "⊴", trianglelefteq: "⊴", LeftUpDownVector: "⥑", LeftUpTeeVector: "⥠", LeftUpVector: "↿", uharl: "↿", upharpoonleft: "↿", LeftUpVectorBar: "⥘", LeftVector: "↼", leftharpoonup: "↼", lharu: "↼", LeftVectorBar: "⥒", LessEqualGreater: "⋚", leg: "⋚", lesseqgtr: "⋚", LessFullEqual: "≦", lE: "≦", leqq: "≦", LessGreater: "≶", lessgtr: "≶", lg: "≶", LessLess: "⪡", LessSlantEqual: "⩽", leqslant: "⩽", les: "⩽", LessTilde: "≲", lesssim: "≲", lsim: "≲", Lfr: "𝔏", Ll: "⋘", Lleftarrow: "⇚", lAarr: "⇚", Lmidot: "Ŀ", LongLeftArrow: "⟵", longleftarrow: "⟵", xlarr: "⟵", LongLeftRightArrow: "⟷", longleftrightarrow: "⟷", xharr: "⟷", LongRightArrow: "⟶", longrightarrow: "⟶", xrarr: "⟶", Lopf: "𝕃", LowerLeftArrow: "↙", swarr: "↙", swarrow: "↙", LowerRightArrow: "↘", searr: "↘", searrow: "↘", Lsh: "↰", lsh: "↰", Lstrok: "Ł", Lt: "≪", NestedLessLess: "≪", ll: "≪", Map: "⤅", Mcy: "М", MediumSpace: " ", Mellintrf: "ℳ", Mscr: "ℳ", phmmat: "ℳ", Mfr: "𝔐", MinusPlus: "∓", mnplus: "∓", mp: "∓", Mopf: "𝕄", Mu: "Μ", NJcy: "Њ", Nacute: "Ń", Ncaron: "Ň", Ncedil: "Ņ", Ncy: "Н", NegativeMediumSpace: "​", NegativeThickSpace: "​", NegativeThinSpace: "​", NegativeVeryThinSpace: "​", ZeroWidthSpace: "​", NewLine: `
1550
+ `, 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: "ffi", fflig: "ff", ffllig: "ffl", ffr: "𝔣", filig: "fi", fjlig: "fj", flat: "♭", fllig: "fl", fltns: "▱", fnof: "ƒ", fopf: "𝕗", fork: "⋔", pitchfork: "⋔", forkv: "⫙", fpartint: "⨍", frac12: "½", half: "½", frac13: "⅓", frac14: "¼", frac15: "⅕", frac16: "⅙", frac18: "⅛", frac23: "⅔", frac25: "⅖", frac34: "¾", frac35: "⅗", frac38: "⅜", frac45: "⅘", frac56: "⅚", frac58: "⅝", frac78: "⅞", frasl: "⁄", frown: "⌢", sfrown: "⌢", fscr: "𝒻", gEl: "⪌", gtreqqless: "⪌", gacute: "ǵ", gamma: "γ", gap: "⪆", gtrapprox: "⪆", gbreve: "ğ", gcirc: "ĝ", gcy: "г", gdot: "ġ", gescc: "⪩", gesdot: "⪀", gesdoto: "⪂", gesdotol: "⪄", gesl: "⋛︀", gesles: "⪔", gfr: "𝔤", gimel: "ℷ", gjcy: "ѓ", glE: "⪒", gla: "⪥", glj: "⪤", gnE: "≩", gneqq: "≩", gnap: "⪊", gnapprox: "⪊", gne: "⪈", gneq: "⪈", gnsim: "⋧", gopf: "𝕘", gscr: "ℊ", gsime: "⪎", gsiml: "⪐", gtcc: "⪧", gtcir: "⩺", gtdot: "⋗", gtrdot: "⋗", gtlPar: "⦕", gtquest: "⩼", gtrarr: "⥸", gvertneqq: "≩︀", gvnE: "≩︀", hardcy: "ъ", harrcir: "⥈", harrw: "↭", leftrightsquigarrow: "↭", hbar: "ℏ", hslash: "ℏ", planck: "ℏ", plankv: "ℏ", hcirc: "ĥ", hearts: "♥", heartsuit: "♥", hellip: "…", mldr: "…", hercon: "⊹", hfr: "𝔥", hksearow: "⤥", searhk: "⤥", hkswarow: "⤦", swarhk: "⤦", hoarr: "⇿", homtht: "∻", hookleftarrow: "↩", larrhk: "↩", hookrightarrow: "↪", rarrhk: "↪", hopf: "𝕙", horbar: "―", hscr: "𝒽", hstrok: "ħ", hybull: "⁃", iacute: "í", icirc: "î", icy: "и", iecy: "е", iexcl: "¡", ifr: "𝔦", igrave: "ì", iiiint: "⨌", qint: "⨌", iiint: "∭", tint: "∭", iinfin: "⧜", iiota: "℩", ijlig: "ij", imacr: "ī", imath: "ı", inodot: "ı", imof: "⊷", imped: "Ƶ", incare: "℅", infin: "∞", infintie: "⧝", intcal: "⊺", intercal: "⊺", intlarhk: "⨗", intprod: "⨼", iprod: "⨼", iocy: "ё", iogon: "į", iopf: "𝕚", iota: "ι", iquest: "¿", iscr: "𝒾", isinE: "⋹", isindot: "⋵", isins: "⋴", isinsv: "⋳", itilde: "ĩ", iukcy: "і", iuml: "ï", jcirc: "ĵ", jcy: "й", jfr: "𝔧", jmath: "ȷ", jopf: "𝕛", jscr: "𝒿", jsercy: "ј", jukcy: "є", kappa: "κ", kappav: "ϰ", varkappa: "ϰ", kcedil: "ķ", kcy: "к", kfr: "𝔨", kgreen: "ĸ", khcy: "х", kjcy: "ќ", kopf: "𝕜", kscr: "𝓀", lAtail: "⤛", lBarr: "⤎", lEg: "⪋", lesseqqgtr: "⪋", lHar: "⥢", lacute: "ĺ", laemptyv: "⦴", lambda: "λ", langd: "⦑", lap: "⪅", lessapprox: "⪅", laquo: "«", larrbfs: "⤟", larrfs: "⤝", larrlp: "↫", looparrowleft: "↫", larrpl: "⤹", larrsim: "⥳", larrtl: "↢", leftarrowtail: "↢", lat: "⪫", latail: "⤙", late: "⪭", lates: "⪭︀", lbarr: "⤌", lbbrk: "❲", lbrace: "{", lcub: "{", lbrack: "[", lsqb: "[", lbrke: "⦋", lbrksld: "⦏", lbrkslu: "⦍", lcaron: "ľ", lcedil: "ļ", lcy: "л", ldca: "⤶", ldrdhar: "⥧", ldrushar: "⥋", ldsh: "↲", le: "≤", leq: "≤", leftleftarrows: "⇇", llarr: "⇇", leftthreetimes: "⋋", lthree: "⋋", lescc: "⪨", lesdot: "⩿", lesdoto: "⪁", lesdotor: "⪃", lesg: "⋚︀", lesges: "⪓", lessdot: "⋖", ltdot: "⋖", lfisht: "⥼", lfr: "𝔩", lgE: "⪑", lharul: "⥪", lhblk: "▄", ljcy: "љ", llhard: "⥫", lltri: "◺", lmidot: "ŀ", lmoust: "⎰", lmoustache: "⎰", lnE: "≨", lneqq: "≨", lnap: "⪉", lnapprox: "⪉", lne: "⪇", lneq: "⪇", lnsim: "⋦", loang: "⟬", loarr: "⇽", longmapsto: "⟼", xmap: "⟼", looparrowright: "↬", rarrlp: "↬", lopar: "⦅", lopf: "𝕝", loplus: "⨭", lotimes: "⨴", lowast: "∗", loz: "◊", lozenge: "◊", lpar: "(", lparlt: "⦓", lrhard: "⥭", lrm: "‎", lrtri: "⊿", lsaquo: "‹", lscr: "𝓁", lsime: "⪍", lsimg: "⪏", lsquor: "‚", sbquo: "‚", lstrok: "ł", ltcc: "⪦", ltcir: "⩹", ltimes: "⋉", ltlarr: "⥶", ltquest: "⩻", ltrPar: "⦖", ltri: "◃", triangleleft: "◃", lurdshar: "⥊", luruhar: "⥦", lvertneqq: "≨︀", lvnE: "≨︀", mDDot: "∺", macr: "¯", strns: "¯", male: "♂", malt: "✠", maltese: "✠", marker: "▮", mcomma: "⨩", mcy: "м", mdash: "—", mfr: "𝔪", mho: "℧", micro: "µ", midcir: "⫰", minus: "−", minusdu: "⨪", mlcp: "⫛", models: "⊧", mopf: "𝕞", mscr: "𝓂", mu: "μ", multimap: "⊸", mumap: "⊸", nGg: "⋙̸", nGt: "≫⃒", nLeftarrow: "⇍", nlArr: "⇍", nLeftrightarrow: "⇎", nhArr: "⇎", nLl: "⋘̸", nLt: "≪⃒", nRightarrow: "⇏", nrArr: "⇏", nVDash: "⊯", nVdash: "⊮", nacute: "ń", nang: "∠⃒", napE: "⩰̸", napid: "≋̸", napos: "ʼn", natur: "♮", natural: "♮", ncap: "⩃", ncaron: "ň", ncedil: "ņ", ncongdot: "⩭̸", ncup: "⩂", ncy: "н", ndash: "–", neArr: "⇗", nearhk: "⤤", nedot: "≐̸", nesear: "⤨", toea: "⤨", nfr: "𝔫", nharr: "↮", nleftrightarrow: "↮", nhpar: "⫲", nis: "⋼", nisd: "⋺", njcy: "њ", nlE: "≦̸", nleqq: "≦̸", nlarr: "↚", nleftarrow: "↚", nldr: "‥", nopf: "𝕟", not: "¬", notinE: "⋹̸", notindot: "⋵̸", notinvb: "⋷", notinvc: "⋶", notnivb: "⋾", notnivc: "⋽", nparsl: "⫽⃥", npart: "∂̸", npolint: "⨔", nrarr: "↛", nrightarrow: "↛", nrarrc: "⤳̸", nrarrw: "↝̸", nscr: "𝓃", nsub: "⊄", nsubE: "⫅̸", nsubseteqq: "⫅̸", nsup: "⊅", nsupE: "⫆̸", nsupseteqq: "⫆̸", ntilde: "ñ", nu: "ν", num: "#", numero: "№", numsp: " ", nvDash: "⊭", nvHarr: "⤄", nvap: "≍⃒", nvdash: "⊬", nvge: "≥⃒", nvgt: ">⃒", nvinfin: "⧞", nvlArr: "⤂", nvle: "≤⃒", nvlt: "<⃒", nvltrie: "⊴⃒", nvrArr: "⤃", nvrtrie: "⊵⃒", nvsim: "∼⃒", nwArr: "⇖", nwarhk: "⤣", nwnear: "⤧", oacute: "ó", ocirc: "ô", ocy: "о", odblac: "ő", odiv: "⨸", odsold: "⦼", oelig: "œ", ofcir: "⦿", ofr: "𝔬", ogon: "˛", ograve: "ò", ogt: "⧁", ohbar: "⦵", olcir: "⦾", olcross: "⦻", olt: "⧀", omacr: "ō", omega: "ω", omicron: "ο", omid: "⦶", oopf: "𝕠", opar: "⦷", operp: "⦹", or: "∨", vee: "∨", ord: "⩝", order: "ℴ", orderof: "ℴ", oscr: "ℴ", ordf: "ª", ordm: "º", origof: "⊶", oror: "⩖", orslope: "⩗", orv: "⩛", oslash: "ø", osol: "⊘", otilde: "õ", otimesas: "⨶", ouml: "ö", ovbar: "⌽", para: "¶", parsim: "⫳", parsl: "⫽", pcy: "п", percnt: "%", period: ".", permil: "‰", pertenk: "‱", pfr: "𝔭", phi: "φ", phiv: "ϕ", straightphi: "ϕ", varphi: "ϕ", phone: "☎", pi: "π", piv: "ϖ", varpi: "ϖ", planckh: "ℎ", plus: "+", plusacir: "⨣", pluscir: "⨢", plusdu: "⨥", pluse: "⩲", plussim: "⨦", plustwo: "⨧", pointint: "⨕", popf: "𝕡", pound: "£", prE: "⪳", prap: "⪷", precapprox: "⪷", precnapprox: "⪹", prnap: "⪹", precneqq: "⪵", prnE: "⪵", precnsim: "⋨", prnsim: "⋨", prime: "′", profalar: "⌮", profline: "⌒", profsurf: "⌓", prurel: "⊰", pscr: "𝓅", psi: "ψ", puncsp: " ", qfr: "𝔮", qopf: "𝕢", qprime: "⁗", qscr: "𝓆", quatint: "⨖", quest: "?", rAtail: "⤜", rHar: "⥤", race: "∽̱", racute: "ŕ", raemptyv: "⦳", rangd: "⦒", range: "⦥", raquo: "»", rarrap: "⥵", rarrbfs: "⤠", rarrc: "⤳", rarrfs: "⤞", rarrpl: "⥅", rarrsim: "⥴", rarrtl: "↣", rightarrowtail: "↣", rarrw: "↝", rightsquigarrow: "↝", ratail: "⤚", ratio: "∶", rbbrk: "❳", rbrace: "}", rcub: "}", rbrack: "]", rsqb: "]", rbrke: "⦌", rbrksld: "⦎", rbrkslu: "⦐", rcaron: "ř", rcedil: "ŗ", rcy: "р", rdca: "⤷", rdldhar: "⥩", rdsh: "↳", rect: "▭", rfisht: "⥽", rfr: "𝔯", rharul: "⥬", rho: "ρ", rhov: "ϱ", varrho: "ϱ", rightrightarrows: "⇉", rrarr: "⇉", rightthreetimes: "⋌", rthree: "⋌", ring: "˚", rlm: "‏", rmoust: "⎱", rmoustache: "⎱", rnmid: "⫮", roang: "⟭", roarr: "⇾", ropar: "⦆", ropf: "𝕣", roplus: "⨮", rotimes: "⨵", rpar: ")", rpargt: "⦔", rppolint: "⨒", rsaquo: "›", rscr: "𝓇", rtimes: "⋊", rtri: "▹", triangleright: "▹", rtriltri: "⧎", ruluhar: "⥨", rx: "℞", sacute: "ś", scE: "⪴", scap: "⪸", succapprox: "⪸", scaron: "š", scedil: "ş", scirc: "ŝ", scnE: "⪶", succneqq: "⪶", scnap: "⪺", succnapprox: "⪺", scnsim: "⋩", succnsim: "⋩", scpolint: "⨓", scy: "с", sdot: "⋅", sdote: "⩦", seArr: "⇘", sect: "§", semi: ";", seswar: "⤩", tosa: "⤩", sext: "✶", sfr: "𝔰", sharp: "♯", shchcy: "щ", shcy: "ш", shy: "­", sigma: "σ", sigmaf: "ς", sigmav: "ς", varsigma: "ς", simdot: "⩪", simg: "⪞", simgE: "⪠", siml: "⪝", simlE: "⪟", simne: "≆", simplus: "⨤", simrarr: "⥲", smashp: "⨳", smeparsl: "⧤", smile: "⌣", ssmile: "⌣", smt: "⪪", smte: "⪬", smtes: "⪬︀", softcy: "ь", sol: "/", solb: "⧄", solbar: "⌿", sopf: "𝕤", spades: "♠", spadesuit: "♠", sqcaps: "⊓︀", sqcups: "⊔︀", sscr: "𝓈", star: "☆", sub: "⊂", subset: "⊂", subE: "⫅", subseteqq: "⫅", subdot: "⪽", subedot: "⫃", submult: "⫁", subnE: "⫋", subsetneqq: "⫋", subne: "⊊", subsetneq: "⊊", subplus: "⪿", subrarr: "⥹", subsim: "⫇", subsub: "⫕", subsup: "⫓", sung: "♪", sup1: "¹", sup2: "²", sup3: "³", supE: "⫆", supseteqq: "⫆", supdot: "⪾", supdsub: "⫘", supedot: "⫄", suphsol: "⟉", suphsub: "⫗", suplarr: "⥻", supmult: "⫂", supnE: "⫌", supsetneqq: "⫌", supne: "⊋", supsetneq: "⊋", supplus: "⫀", supsim: "⫈", supsub: "⫔", supsup: "⫖", swArr: "⇙", swnwar: "⤪", szlig: "ß", target: "⌖", tau: "τ", tcaron: "ť", tcedil: "ţ", tcy: "т", telrec: "⌕", tfr: "𝔱", theta: "θ", thetasym: "ϑ", thetav: "ϑ", vartheta: "ϑ", thorn: "þ", times: "×", timesbar: "⨱", timesd: "⨰", topbot: "⌶", topcir: "⫱", topf: "𝕥", topfork: "⫚", tprime: "‴", triangle: "▵", utri: "▵", triangleq: "≜", trie: "≜", tridot: "◬", triminus: "⨺", triplus: "⨹", trisb: "⧍", tritime: "⨻", trpezium: "⏢", tscr: "𝓉", tscy: "ц", tshcy: "ћ", tstrok: "ŧ", uHar: "⥣", uacute: "ú", ubrcy: "ў", ubreve: "ŭ", ucirc: "û", ucy: "у", udblac: "ű", ufisht: "⥾", ufr: "𝔲", ugrave: "ù", uhblk: "▀", ulcorn: "⌜", ulcorner: "⌜", ulcrop: "⌏", ultri: "◸", umacr: "ū", uogon: "ų", uopf: "𝕦", upsi: "υ", upsilon: "υ", upuparrows: "⇈", uuarr: "⇈", urcorn: "⌝", urcorner: "⌝", urcrop: "⌎", uring: "ů", urtri: "◹", uscr: "𝓊", utdot: "⋰", utilde: "ũ", uuml: "ü", uwangle: "⦧", vBar: "⫨", vBarv: "⫩", vangrt: "⦜", varsubsetneq: "⊊︀", vsubne: "⊊︀", varsubsetneqq: "⫋︀", vsubnE: "⫋︀", varsupsetneq: "⊋︀", vsupne: "⊋︀", varsupsetneqq: "⫌︀", vsupnE: "⫌︀", vcy: "в", veebar: "⊻", veeeq: "≚", vellip: "⋮", vfr: "𝔳", vopf: "𝕧", vscr: "𝓋", vzigzag: "⦚", wcirc: "ŵ", wedbar: "⩟", wedgeq: "≙", weierp: "℘", wp: "℘", wfr: "𝔴", wopf: "𝕨", wscr: "𝓌", xfr: "𝔵", xi: "ξ", xnis: "⋻", xopf: "𝕩", xscr: "𝓍", yacute: "ý", yacy: "я", ycirc: "ŷ", ycy: "ы", yen: "¥", yfr: "𝔶", yicy: "ї", yopf: "𝕪", yscr: "𝓎", yucy: "ю", yuml: "ÿ", zacute: "ź", zcaron: "ž", zcy: "з", zdot: "ż", zeta: "ζ", zfr: "𝔷", zhcy: "ж", zigrarr: "⇝", zopf: "𝕫", zscr: "𝓏", zwj: "‍", zwnj: "‌" }, Di = "";
1551
+ Fe.ngsp = Di;
1552
+ var Ti = [/@/, /^\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\/\//];
1553
+ function Bi(e, t) {
1554
+ if (t != null && !(Array.isArray(t) && t.length == 2)) throw new Error(`Expected '${e}' to be an array, [start, end].`);
1555
+ if (t != null) {
1556
+ let r = t[0], n = t[1];
1557
+ Ti.forEach((a) => {
1558
+ if (a.test(r) || a.test(n)) throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`);
1559
+ });
1560
+ }
1561
+ }
1562
+ var Li = class sn {
1563
+ static fromArray(t) {
1564
+ return t ? (Bi("interpolation", t), new sn(t[0], t[1])) : un;
1565
+ }
1566
+ constructor(t, r) {
1567
+ this.start = t, this.end = r;
1568
+ }
1569
+ }, un = new Li("{{", "}}"), je = class extends tn {
1570
+ constructor(e, t, r) {
1571
+ super(r, e), this.tokenType = t;
1572
+ }
1573
+ }, Fi = class {
1574
+ constructor(e, t, r) {
1575
+ this.tokens = e, this.errors = t, this.nonNormalizedIcuExpressions = r;
1576
+ }
1577
+ };
1578
+ function qi(e, t, r, n = {}) {
1579
+ let a = new Pi(new en(e, t), r, n);
1580
+ return a.tokenize(), new Fi(Oi(a.tokens), a.errors, a.nonNormalizedIcuExpressions);
1581
+ }
1582
+ var Ni = /\r\n?/g;
1583
+ function X(e) {
1584
+ return `Unexpected character "${e === 0 ? "EOF" : String.fromCharCode(e)}"`;
1585
+ }
1586
+ function rr(e) {
1587
+ return `Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
1588
+ }
1589
+ function Ii(e, t) {
1590
+ return `Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`;
1591
+ }
1592
+ var qe;
1593
+ (function(e) {
1594
+ e.HEX = "hexadecimal", e.DEC = "decimal";
1595
+ })(qe || (qe = {}));
1596
+ var Ge = class {
1597
+ constructor(e) {
1598
+ this.error = e;
1599
+ }
1600
+ }, Pi = class {
1601
+ constructor(e, t, r) {
1602
+ this._getTagContentType = t, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._inInterpolation = !1, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = r.tokenizeExpansionForms || !1, this._interpolationConfig = r.interpolationConfig || un, this._leadingTriviaCodePoints = r.leadingTriviaChars && r.leadingTriviaChars.map((a) => a.codePointAt(0) || 0), this._canSelfClose = r.canSelfClose || !1, this._allowHtmComponentClosingTags = r.allowHtmComponentClosingTags || !1;
1603
+ let n = r.range || { endPos: e.content.length, startPos: 0, startLine: 0, startCol: 0 };
1604
+ this._cursor = r.escapedString ? new Wi(e, n) : new on(e, n), this._preserveLineEndings = r.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs = r.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = r.tokenizeBlocks ?? !0, this._tokenizeLet = r.tokenizeLet ?? !0;
1605
+ try {
1606
+ this._cursor.init();
1607
+ } catch (a) {
1608
+ this.handleError(a);
1609
+ }
1610
+ }
1611
+ _processCarriageReturns(e) {
1612
+ return this._preserveLineEndings ? e : e.replace(Ni, `
1613
+ `);
1614
+ }
1615
+ tokenize() {
1616
+ for (; this._cursor.peek() !== 0; ) {
1617
+ let e = this._cursor.clone();
1618
+ try {
1619
+ 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);
1620
+ else if (this._attemptCharCode(47)) this._consumeTagClose(e);
1621
+ else {
1622
+ let t = this._cursor.clone();
1623
+ this._attemptCharCode(63) ? (this._cursor = t, this._consumeBogusComment(e)) : this._consumeTagOpen(e);
1624
+ }
1625
+ 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());
1626
+ } catch (t) {
1627
+ this.handleError(t);
1628
+ }
1629
+ }
1630
+ this._beginToken(34), this._endToken([]);
1631
+ }
1632
+ _getBlockName() {
1633
+ let e = !1, t = this._cursor.clone();
1634
+ return this._attemptCharCodeUntilFn((r) => De(r) ? !e : sr(r) ? (e = !0, !1) : !0), this._cursor.getChars(t).trim();
1635
+ }
1636
+ _consumeBlockStart(e) {
1637
+ this._beginToken(25, e);
1638
+ let t = this._endToken([this._getBlockName()]);
1639
+ if (this._cursor.peek() === 40) if (this._cursor.advance(), this._consumeBlockParameters(), this._attemptCharCodeUntilFn(b), this._attemptCharCode(41)) this._attemptCharCodeUntilFn(b);
1640
+ else {
1641
+ t.type = 29;
1642
+ return;
1643
+ }
1644
+ this._attemptCharCode(123) ? (this._beginToken(26), this._endToken([])) : t.type = 29;
1645
+ }
1646
+ _consumeBlockEnd(e) {
1647
+ this._beginToken(27, e), this._endToken([]);
1648
+ }
1649
+ _consumeBlockParameters() {
1650
+ for (this._attemptCharCodeUntilFn(ir); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
1651
+ this._beginToken(28);
1652
+ let e = this._cursor.clone(), t = null, r = 0;
1653
+ for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || t !== null; ) {
1654
+ let n = this._cursor.peek();
1655
+ if (n === 92) this._cursor.advance();
1656
+ else if (n === t) t = null;
1657
+ else if (t === null && ze(n)) t = n;
1658
+ else if (n === 40 && t === null) r++;
1659
+ else if (n === 41 && t === null) {
1660
+ if (r === 0) break;
1661
+ r > 0 && r--;
1662
+ }
1663
+ this._cursor.advance();
1664
+ }
1665
+ this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(ir);
1666
+ }
1667
+ }
1668
+ _consumeLetDeclaration(e) {
1669
+ if (this._beginToken(30, e), De(this._cursor.peek())) this._attemptCharCodeUntilFn(b);
1670
+ else {
1671
+ let r = this._endToken([this._cursor.getChars(e)]);
1672
+ r.type = 33;
1673
+ return;
1674
+ }
1675
+ let t = this._endToken([this._getLetDeclarationName()]);
1676
+ if (this._attemptCharCodeUntilFn(b), !this._attemptCharCode(61)) {
1677
+ t.type = 33;
1678
+ return;
1679
+ }
1680
+ this._attemptCharCodeUntilFn((r) => b(r) && !bt(r)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(32), this._endToken([]), this._cursor.advance()) : (t.type = 33, t.sourceSpan = this._cursor.getSpan(e));
1681
+ }
1682
+ _getLetDeclarationName() {
1683
+ let e = this._cursor.clone(), t = !1;
1684
+ return this._attemptCharCodeUntilFn((r) => Te(r) || r === 36 || r === 95 || t && yt(r) ? (t = !0, !1) : !0), this._cursor.getChars(e).trim();
1685
+ }
1686
+ _consumeLetDeclarationValue() {
1687
+ let e = this._cursor.clone();
1688
+ for (this._beginToken(31, e); this._cursor.peek() !== 0; ) {
1689
+ let t = this._cursor.peek();
1690
+ if (t === 59) break;
1691
+ ze(t) && (this._cursor.advance(), this._attemptCharCodeUntilFn((r) => r === 92 ? (this._cursor.advance(), !1) : r === t)), this._cursor.advance();
1692
+ }
1693
+ this._endToken([this._cursor.getChars(e)]);
1694
+ }
1695
+ _tokenizeExpansionForm() {
1696
+ if (this.isExpansionFormStart()) return this._consumeExpansionFormStart(), !0;
1697
+ if (Ui(this._cursor.peek()) && this._isInExpansionForm()) return this._consumeExpansionCaseStart(), !0;
1698
+ if (this._cursor.peek() === 125) {
1699
+ if (this._isInExpansionCase()) return this._consumeExpansionCaseEnd(), !0;
1700
+ if (this._isInExpansionForm()) return this._consumeExpansionFormEnd(), !0;
1701
+ }
1702
+ return !1;
1703
+ }
1704
+ _beginToken(e, t = this._cursor.clone()) {
1705
+ this._currentTokenStart = t, this._currentTokenType = e;
1706
+ }
1707
+ _endToken(e, t) {
1708
+ if (this._currentTokenStart === null) throw new je("Programming error - attempted to end a token when there was no start to the token", this._currentTokenType, this._cursor.getSpan(t));
1709
+ if (this._currentTokenType === null) throw new je("Programming error - attempted to end a token which has no token type", null, this._cursor.getSpan(this._currentTokenStart));
1710
+ let r = { type: this._currentTokenType, parts: e, sourceSpan: (t ?? this._cursor).getSpan(this._currentTokenStart, this._leadingTriviaCodePoints) };
1711
+ return this.tokens.push(r), this._currentTokenStart = null, this._currentTokenType = null, r;
1712
+ }
1713
+ _createError(e, t) {
1714
+ this._isInExpansionForm() && (e += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);
1715
+ let r = new je(e, this._currentTokenType, t);
1716
+ return this._currentTokenStart = null, this._currentTokenType = null, new Ge(r);
1717
+ }
1718
+ handleError(e) {
1719
+ if (e instanceof _t && (e = this._createError(e.msg, this._cursor.getSpan(e.cursor))), e instanceof Ge) this.errors.push(e.error);
1720
+ else throw e;
1721
+ }
1722
+ _attemptCharCode(e) {
1723
+ return this._cursor.peek() === e ? (this._cursor.advance(), !0) : !1;
1724
+ }
1725
+ _attemptCharCodeCaseInsensitive(e) {
1726
+ return Vi(this._cursor.peek(), e) ? (this._cursor.advance(), !0) : !1;
1727
+ }
1728
+ _requireCharCode(e) {
1729
+ let t = this._cursor.clone();
1730
+ if (!this._attemptCharCode(e)) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(t));
1731
+ }
1732
+ _attemptStr(e) {
1733
+ let t = e.length;
1734
+ if (this._cursor.charsLeft() < t) return !1;
1735
+ let r = this._cursor.clone();
1736
+ for (let n = 0; n < t; n++) if (!this._attemptCharCode(e.charCodeAt(n))) return this._cursor = r, !1;
1737
+ return !0;
1738
+ }
1739
+ _attemptStrCaseInsensitive(e) {
1740
+ for (let t = 0; t < e.length; t++) if (!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t))) return !1;
1741
+ return !0;
1742
+ }
1743
+ _requireStr(e) {
1744
+ let t = this._cursor.clone();
1745
+ if (!this._attemptStr(e)) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(t));
1746
+ }
1747
+ _requireStrCaseInsensitive(e) {
1748
+ let t = this._cursor.clone();
1749
+ if (!this._attemptStrCaseInsensitive(e)) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(t));
1750
+ }
1751
+ _attemptCharCodeUntilFn(e) {
1752
+ for (; !e(this._cursor.peek()); ) this._cursor.advance();
1753
+ }
1754
+ _requireCharCodeUntilFn(e, t) {
1755
+ let r = this._cursor.clone();
1756
+ if (this._attemptCharCodeUntilFn(e), this._cursor.diff(r) < t) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(r));
1757
+ }
1758
+ _attemptUntilChar(e) {
1759
+ for (; this._cursor.peek() !== e; ) this._cursor.advance();
1760
+ }
1761
+ _readChar() {
1762
+ let e = String.fromCodePoint(this._cursor.peek());
1763
+ return this._cursor.advance(), e;
1764
+ }
1765
+ _consumeEntity(e) {
1766
+ this._beginToken(9);
1767
+ let t = this._cursor.clone();
1768
+ if (this._cursor.advance(), this._attemptCharCode(35)) {
1769
+ let r = this._attemptCharCode(120) || this._attemptCharCode(88), n = this._cursor.clone();
1770
+ if (this._attemptCharCodeUntilFn(Hi), this._cursor.peek() != 59) {
1771
+ this._cursor.advance();
1772
+ let s = r ? qe.HEX : qe.DEC;
1773
+ throw this._createError(Ii(s, this._cursor.getChars(t)), this._cursor.getSpan());
1774
+ }
1775
+ let a = this._cursor.getChars(n);
1776
+ this._cursor.advance();
1777
+ try {
1778
+ let s = parseInt(a, r ? 16 : 10);
1779
+ this._endToken([String.fromCharCode(s), this._cursor.getChars(t)]);
1780
+ } catch {
1781
+ throw this._createError(rr(this._cursor.getChars(t)), this._cursor.getSpan());
1782
+ }
1783
+ } else {
1784
+ let r = this._cursor.clone();
1785
+ if (this._attemptCharCodeUntilFn(Ri), this._cursor.peek() != 59) this._beginToken(e, t), this._cursor = r, this._endToken(["&"]);
1786
+ else {
1787
+ let n = this._cursor.getChars(r);
1788
+ this._cursor.advance();
1789
+ let a = Fe[n];
1790
+ if (!a) throw this._createError(rr(n), this._cursor.getSpan(t));
1791
+ this._endToken([a, `&${n};`]);
1792
+ }
1793
+ }
1794
+ }
1795
+ _consumeRawText(e, t) {
1796
+ this._beginToken(e ? 6 : 7);
1797
+ let r = [];
1798
+ for (; ; ) {
1799
+ let n = this._cursor.clone(), a = t();
1800
+ if (this._cursor = n, a) break;
1801
+ e && this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(r.join(""))]), r.length = 0, this._consumeEntity(6), this._beginToken(6)) : r.push(this._readChar());
1802
+ }
1803
+ this._endToken([this._processCarriageReturns(r.join(""))]);
1804
+ }
1805
+ _consumeComment(e) {
1806
+ this._beginToken(10, e), this._endToken([]), this._consumeRawText(!1, () => this._attemptStr("-->")), this._beginToken(11), this._requireStr("-->"), this._endToken([]);
1807
+ }
1808
+ _consumeBogusComment(e) {
1809
+ this._beginToken(10, e), this._endToken([]), this._consumeRawText(!1, () => this._cursor.peek() === 62), this._beginToken(11), this._cursor.advance(), this._endToken([]);
1810
+ }
1811
+ _consumeCdata(e) {
1812
+ this._beginToken(12, e), this._endToken([]), this._consumeRawText(!1, () => this._attemptStr("]]>")), this._beginToken(13), this._requireStr("]]>"), this._endToken([]);
1813
+ }
1814
+ _consumeDocType(e) {
1815
+ this._beginToken(18, e), this._endToken([]), this._consumeRawText(!1, () => this._cursor.peek() === 62), this._beginToken(19), this._cursor.advance(), this._endToken([]);
1816
+ }
1817
+ _consumePrefixAndName() {
1818
+ let e = this._cursor.clone(), t = "";
1819
+ for (; this._cursor.peek() !== 58 && !Mi(this._cursor.peek()); ) this._cursor.advance();
1820
+ let r;
1821
+ this._cursor.peek() === 58 ? (t = this._cursor.getChars(e), this._cursor.advance(), r = this._cursor.clone()) : r = e, this._requireCharCodeUntilFn(nr, t === "" ? 0 : 1);
1822
+ let n = this._cursor.getChars(r);
1823
+ return [t, n];
1824
+ }
1825
+ _consumeTagOpen(e) {
1826
+ let t, r, n, a = [];
1827
+ try {
1828
+ if (!Te(this._cursor.peek())) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(e));
1829
+ for (n = this._consumeTagOpenStart(e), r = n.parts[0], t = n.parts[1], this._attemptCharCodeUntilFn(b); this._cursor.peek() !== 47 && this._cursor.peek() !== 62 && this._cursor.peek() !== 60 && this._cursor.peek() !== 0; ) {
1830
+ let [i, u] = this._consumeAttributeName();
1831
+ if (this._attemptCharCodeUntilFn(b), this._attemptCharCode(61)) {
1832
+ this._attemptCharCodeUntilFn(b);
1833
+ let o = this._consumeAttributeValue();
1834
+ a.push({ prefix: i, name: u, value: o });
1835
+ } else a.push({ prefix: i, name: u });
1836
+ this._attemptCharCodeUntilFn(b);
1837
+ }
1838
+ this._consumeTagOpenEnd();
1839
+ } catch (i) {
1840
+ if (i instanceof Ge) {
1841
+ n ? n.type = 4 : (this._beginToken(5, e), this._endToken(["<"]));
1842
+ return;
1843
+ }
1844
+ throw i;
1845
+ }
1846
+ if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === 2) return;
1847
+ let s = this._getTagContentType(t, r, this._fullNameStack.length > 0, a);
1848
+ this._handleFullNameStackForTagOpen(r, t), s === I.RAW_TEXT ? this._consumeRawTextWithTagClose(r, t, !1) : s === I.ESCAPABLE_RAW_TEXT && this._consumeRawTextWithTagClose(r, t, !0);
1849
+ }
1850
+ _consumeRawTextWithTagClose(e, t, r) {
1851
+ this._consumeRawText(r, () => !this._attemptCharCode(60) || !this._attemptCharCode(47) || (this._attemptCharCodeUntilFn(b), !this._attemptStrCaseInsensitive(e ? `${e}:${t}` : t)) ? !1 : (this._attemptCharCodeUntilFn(b), this._attemptCharCode(62))), this._beginToken(3), this._requireCharCodeUntilFn((n) => n === 62, 3), this._cursor.advance(), this._endToken([e, t]), this._handleFullNameStackForTagClose(e, t);
1852
+ }
1853
+ _consumeTagOpenStart(e) {
1854
+ this._beginToken(0, e);
1855
+ let t = this._consumePrefixAndName();
1856
+ return this._endToken(t);
1857
+ }
1858
+ _consumeAttributeName() {
1859
+ let e = this._cursor.peek();
1860
+ if (e === 39 || e === 34) throw this._createError(X(e), this._cursor.getSpan());
1861
+ this._beginToken(14);
1862
+ let t = this._consumePrefixAndName();
1863
+ return this._endToken(t), t;
1864
+ }
1865
+ _consumeAttributeValue() {
1866
+ let e;
1867
+ if (this._cursor.peek() === 39 || this._cursor.peek() === 34) {
1868
+ let t = this._cursor.peek();
1869
+ this._consumeQuote(t);
1870
+ let r = () => this._cursor.peek() === t;
1871
+ e = this._consumeWithInterpolation(16, 17, r, r), this._consumeQuote(t);
1872
+ } else {
1873
+ let t = () => nr(this._cursor.peek());
1874
+ e = this._consumeWithInterpolation(16, 17, t, t);
1875
+ }
1876
+ return e;
1877
+ }
1878
+ _consumeQuote(e) {
1879
+ this._beginToken(15), this._requireCharCode(e), this._endToken([String.fromCodePoint(e)]);
1880
+ }
1881
+ _consumeTagOpenEnd() {
1882
+ let e = this._attemptCharCode(47) ? 2 : 1;
1883
+ this._beginToken(e), this._requireCharCode(62), this._endToken([]);
1884
+ }
1885
+ _consumeTagClose(e) {
1886
+ if (this._beginToken(3, e), this._attemptCharCodeUntilFn(b), this._allowHtmComponentClosingTags && this._attemptCharCode(47)) this._attemptCharCodeUntilFn(b), this._requireCharCode(62), this._endToken([]);
1887
+ else {
1888
+ let [t, r] = this._consumePrefixAndName();
1889
+ this._attemptCharCodeUntilFn(b), this._requireCharCode(62), this._endToken([t, r]), this._handleFullNameStackForTagClose(t, r);
1890
+ }
1891
+ }
1892
+ _consumeExpansionFormStart() {
1893
+ this._beginToken(20), this._requireCharCode(123), this._endToken([]), this._expansionCaseStack.push(20), this._beginToken(7);
1894
+ let e = this._readUntil(44), t = this._processCarriageReturns(e);
1895
+ if (this._i18nNormalizeLineEndingsInICUs) this._endToken([t]);
1896
+ else {
1897
+ let n = this._endToken([e]);
1898
+ t !== e && this.nonNormalizedIcuExpressions.push(n);
1899
+ }
1900
+ this._requireCharCode(44), this._attemptCharCodeUntilFn(b), this._beginToken(7);
1901
+ let r = this._readUntil(44);
1902
+ this._endToken([r]), this._requireCharCode(44), this._attemptCharCodeUntilFn(b);
1903
+ }
1904
+ _consumeExpansionCaseStart() {
1905
+ this._beginToken(21);
1906
+ let e = this._readUntil(123).trim();
1907
+ this._endToken([e]), this._attemptCharCodeUntilFn(b), this._beginToken(22), this._requireCharCode(123), this._endToken([]), this._attemptCharCodeUntilFn(b), this._expansionCaseStack.push(22);
1908
+ }
1909
+ _consumeExpansionCaseEnd() {
1910
+ this._beginToken(23), this._requireCharCode(125), this._endToken([]), this._attemptCharCodeUntilFn(b), this._expansionCaseStack.pop();
1911
+ }
1912
+ _consumeExpansionFormEnd() {
1913
+ this._beginToken(24), this._requireCharCode(125), this._endToken([]), this._expansionCaseStack.pop();
1914
+ }
1915
+ _consumeWithInterpolation(e, t, r, n) {
1916
+ this._beginToken(e);
1917
+ let a = [];
1918
+ for (; !r(); ) {
1919
+ let i = this._cursor.clone();
1920
+ this._interpolationConfig && this._attemptStr(this._interpolationConfig.start) ? (this._endToken([this._processCarriageReturns(a.join(""))], i), a.length = 0, this._consumeInterpolation(t, i, n), this._beginToken(e)) : this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(a.join(""))]), a.length = 0, this._consumeEntity(e), this._beginToken(e)) : a.push(this._readChar());
1921
+ }
1922
+ this._inInterpolation = !1;
1923
+ let s = this._processCarriageReturns(a.join(""));
1924
+ return this._endToken([s]), s;
1925
+ }
1926
+ _consumeInterpolation(e, t, r) {
1927
+ let n = [];
1928
+ this._beginToken(e, t), n.push(this._interpolationConfig.start);
1929
+ let a = this._cursor.clone(), s = null, i = !1;
1930
+ for (; this._cursor.peek() !== 0 && (r === null || !r()); ) {
1931
+ let u = this._cursor.clone();
1932
+ if (this._isTagStart()) {
1933
+ this._cursor = u, n.push(this._getProcessedChars(a, u)), this._endToken(n);
1934
+ return;
1935
+ }
1936
+ if (s === null) if (this._attemptStr(this._interpolationConfig.end)) {
1937
+ n.push(this._getProcessedChars(a, u)), n.push(this._interpolationConfig.end), this._endToken(n);
1938
+ return;
1939
+ } else this._attemptStr("//") && (i = !0);
1940
+ let o = this._cursor.peek();
1941
+ this._cursor.advance(), o === 92 ? this._cursor.advance() : o === s ? s = null : !i && s === null && ze(o) && (s = o);
1942
+ }
1943
+ n.push(this._getProcessedChars(a, this._cursor)), this._endToken(n);
1944
+ }
1945
+ _getProcessedChars(e, t) {
1946
+ return this._processCarriageReturns(t.getChars(e));
1947
+ }
1948
+ _isTextEnd() {
1949
+ 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));
1950
+ }
1951
+ _isTagStart() {
1952
+ if (this._cursor.peek() === 60) {
1953
+ let e = this._cursor.clone();
1954
+ e.advance();
1955
+ let t = e.peek();
1956
+ if (97 <= t && t <= 122 || 65 <= t && t <= 90 || t === 47 || t === 33) return !0;
1957
+ }
1958
+ return !1;
1959
+ }
1960
+ _isBlockStart() {
1961
+ if (this._tokenizeBlocks && this._cursor.peek() === 64) {
1962
+ let e = this._cursor.clone();
1963
+ if (e.advance(), sr(e.peek())) return !0;
1964
+ }
1965
+ return !1;
1966
+ }
1967
+ _readUntil(e) {
1968
+ let t = this._cursor.clone();
1969
+ return this._attemptUntilChar(e), this._cursor.getChars(t);
1970
+ }
1971
+ _isInExpansion() {
1972
+ return this._isInExpansionCase() || this._isInExpansionForm();
1973
+ }
1974
+ _isInExpansionCase() {
1975
+ return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === 22;
1976
+ }
1977
+ _isInExpansionForm() {
1978
+ return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === 20;
1979
+ }
1980
+ isExpansionFormStart() {
1981
+ if (this._cursor.peek() !== 123) return !1;
1982
+ if (this._interpolationConfig) {
1983
+ let e = this._cursor.clone(), t = this._attemptStr(this._interpolationConfig.start);
1984
+ return this._cursor = e, !t;
1985
+ }
1986
+ return !0;
1987
+ }
1988
+ _handleFullNameStackForTagOpen(e, t) {
1989
+ let r = Le(e, t);
1990
+ (this._fullNameStack.length === 0 || this._fullNameStack[this._fullNameStack.length - 1] === r) && this._fullNameStack.push(r);
1991
+ }
1992
+ _handleFullNameStackForTagClose(e, t) {
1993
+ let r = Le(e, t);
1994
+ this._fullNameStack.length !== 0 && this._fullNameStack[this._fullNameStack.length - 1] === r && this._fullNameStack.pop();
1995
+ }
1996
+ };
1997
+ function b(e) {
1998
+ return !De(e) || e === 0;
1999
+ }
2000
+ function nr(e) {
2001
+ return De(e) || e === 62 || e === 60 || e === 47 || e === 39 || e === 34 || e === 61 || e === 0;
2002
+ }
2003
+ function Mi(e) {
2004
+ return (e < 97 || 122 < e) && (e < 65 || 90 < e) && (e < 48 || e > 57);
2005
+ }
2006
+ function Hi(e) {
2007
+ return e === 59 || e === 0 || !Os(e);
2008
+ }
2009
+ function Ri(e) {
2010
+ return e === 59 || e === 0 || !Te(e);
2011
+ }
2012
+ function Ui(e) {
2013
+ return e !== 125;
2014
+ }
2015
+ function Vi(e, t) {
2016
+ return ar(e) === ar(t);
2017
+ }
2018
+ function ar(e) {
2019
+ return e >= 97 && e <= 122 ? e - 97 + 65 : e;
2020
+ }
2021
+ function sr(e) {
2022
+ return Te(e) || yt(e) || e === 95;
2023
+ }
2024
+ function ir(e) {
2025
+ return e !== 59 && b(e);
2026
+ }
2027
+ function Oi(e) {
2028
+ let t = [], r;
2029
+ for (let n = 0; n < e.length; n++) {
2030
+ let a = e[n];
2031
+ r && r.type === 5 && a.type === 5 || r && r.type === 16 && a.type === 16 ? (r.parts[0] += a.parts[0], r.sourceSpan.end = a.sourceSpan.end) : (r = a, t.push(r));
2032
+ }
2033
+ return t;
2034
+ }
2035
+ var on = class et {
2036
+ constructor(t, r) {
2037
+ if (t instanceof et) {
2038
+ this.file = t.file, this.input = t.input, this.end = t.end;
2039
+ let n = t.state;
2040
+ this.state = { peek: n.peek, offset: n.offset, line: n.line, column: n.column };
2041
+ } else {
2042
+ if (!r) throw new Error("Programming error: the range argument must be provided with a file argument.");
2043
+ this.file = t, this.input = t.content, this.end = r.endPos, this.state = { peek: -1, offset: r.startPos, line: r.startLine, column: r.startCol };
2044
+ }
2045
+ }
2046
+ clone() {
2047
+ return new et(this);
2048
+ }
2049
+ peek() {
2050
+ return this.state.peek;
2051
+ }
2052
+ charsLeft() {
2053
+ return this.end - this.state.offset;
2054
+ }
2055
+ diff(t) {
2056
+ return this.state.offset - t.state.offset;
2057
+ }
2058
+ advance() {
2059
+ this.advanceState(this.state);
2060
+ }
2061
+ init() {
2062
+ this.updatePeek(this.state);
2063
+ }
2064
+ getSpan(t, r) {
2065
+ t = t || this;
2066
+ let n = t;
2067
+ if (r) for (; this.diff(t) > 0 && r.indexOf(t.peek()) !== -1; ) n === t && (t = t.clone()), t.advance();
2068
+ let a = this.locationFromCursor(t), s = this.locationFromCursor(this), i = n !== t ? this.locationFromCursor(n) : a;
2069
+ return new m(a, s, i);
2070
+ }
2071
+ getChars(t) {
2072
+ return this.input.substring(t.state.offset, this.state.offset);
2073
+ }
2074
+ charAt(t) {
2075
+ return this.input.charCodeAt(t);
2076
+ }
2077
+ advanceState(t) {
2078
+ if (t.offset >= this.end) throw this.state = t, new _t('Unexpected character "EOF"', this);
2079
+ let r = this.charAt(t.offset);
2080
+ r === 10 ? (t.line++, t.column = 0) : bt(r) || t.column++, t.offset++, this.updatePeek(t);
2081
+ }
2082
+ updatePeek(t) {
2083
+ t.peek = t.offset >= this.end ? 0 : this.charAt(t.offset);
2084
+ }
2085
+ locationFromCursor(t) {
2086
+ return new Qe(t.file, t.state.offset, t.state.line, t.state.column);
2087
+ }
2088
+ }, Wi = class tt extends on {
2089
+ constructor(t, r) {
2090
+ t instanceof tt ? (super(t), this.internalState = { ...t.internalState }) : (super(t, r), this.internalState = this.state);
2091
+ }
2092
+ advance() {
2093
+ this.state = this.internalState, super.advance(), this.processEscapeSequence();
2094
+ }
2095
+ init() {
2096
+ super.init(), this.processEscapeSequence();
2097
+ }
2098
+ clone() {
2099
+ return new tt(this);
2100
+ }
2101
+ getChars(t) {
2102
+ let r = t.clone(), n = "";
2103
+ for (; r.internalState.offset < this.internalState.offset; ) n += String.fromCodePoint(r.peek()), r.advance();
2104
+ return n;
2105
+ }
2106
+ processEscapeSequence() {
2107
+ let t = () => this.internalState.peek;
2108
+ if (t() === 92) if (this.internalState = { ...this.state }, this.advanceState(this.internalState), t() === 110) this.state.peek = 10;
2109
+ else if (t() === 114) this.state.peek = 13;
2110
+ else if (t() === 118) this.state.peek = 11;
2111
+ else if (t() === 116) this.state.peek = 9;
2112
+ else if (t() === 98) this.state.peek = 8;
2113
+ else if (t() === 102) this.state.peek = 12;
2114
+ else if (t() === 117) if (this.advanceState(this.internalState), t() === 123) {
2115
+ this.advanceState(this.internalState);
2116
+ let r = this.clone(), n = 0;
2117
+ for (; t() !== 125; ) this.advanceState(this.internalState), n++;
2118
+ this.state.peek = this.decodeHexDigits(r, n);
2119
+ } else {
2120
+ let r = this.clone();
2121
+ this.advanceState(this.internalState), this.advanceState(this.internalState), this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 4);
2122
+ }
2123
+ else if (t() === 120) {
2124
+ this.advanceState(this.internalState);
2125
+ let r = this.clone();
2126
+ this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 2);
2127
+ } else if (Vt(t())) {
2128
+ let r = "", n = 0, a = this.clone();
2129
+ for (; Vt(t()) && n < 3; ) a = this.clone(), r += String.fromCodePoint(t()), this.advanceState(this.internalState), n++;
2130
+ this.state.peek = parseInt(r, 8), this.internalState = a.internalState;
2131
+ } else bt(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek;
2132
+ }
2133
+ decodeHexDigits(t, r) {
2134
+ let n = this.input.slice(t.internalState.offset, t.internalState.offset + r), a = parseInt(n, 16);
2135
+ if (isNaN(a)) throw t.state = t.internalState, new _t("Invalid hexadecimal escape sequence", t);
2136
+ return a;
2137
+ }
2138
+ }, _t = class {
2139
+ constructor(e, t) {
2140
+ this.msg = e, this.cursor = t;
2141
+ }
2142
+ }, B = class ln extends tn {
2143
+ static create(t, r, n) {
2144
+ return new ln(t, r, n);
2145
+ }
2146
+ constructor(t, r, n) {
2147
+ super(r, n), this.elementName = t;
2148
+ }
2149
+ }, $i = class {
2150
+ constructor(e, t) {
2151
+ this.rootNodes = e, this.errors = t;
2152
+ }
2153
+ }, zi = class {
2154
+ constructor(e) {
2155
+ this.getTagDefinition = e;
2156
+ }
2157
+ parse(e, t, r, n = !1, a) {
2158
+ let s = (g) => (C, ...w) => g(C.toLowerCase(), ...w), i = n ? this.getTagDefinition : s(this.getTagDefinition), u = (g) => i(g).getContentType(), o = n ? a : s(a), p = qi(e, t, a ? (g, C, w, E) => {
2159
+ let x = o(g, C, w, E);
2160
+ return x !== void 0 ? x : u(g);
2161
+ } : u, r), l = r && r.canSelfClose || !1, v = r && r.allowHtmComponentClosingTags || !1, d = new ji(p.tokens, i, l, v, n);
2162
+ return d.build(), new $i(d.rootNodes, p.errors.concat(d.errors));
2163
+ }
2164
+ }, ji = class cn {
2165
+ constructor(t, r, n, a, s) {
2166
+ this.tokens = t, this.getTagDefinition = r, this.canSelfClose = n, this.allowHtmComponentClosingTags = a, this.isTagNameCaseSensitive = s, this._index = -1, this._containerStack = [], this.rootNodes = [], this.errors = [], this._advance();
2167
+ }
2168
+ build() {
2169
+ 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();
2170
+ for (let t of this._containerStack) t instanceof K && this.errors.push(B.create(t.name, t.sourceSpan, `Unclosed block "${t.name}"`));
2171
+ }
2172
+ _advance() {
2173
+ let t = this._peek;
2174
+ return this._index < this.tokens.length - 1 && this._index++, this._peek = this.tokens[this._index], t;
2175
+ }
2176
+ _advanceIf(t) {
2177
+ return this._peek.type === t ? this._advance() : null;
2178
+ }
2179
+ _consumeCdata(t) {
2180
+ let r = this._advance(), n = this._getText(r), a = this._advanceIf(13);
2181
+ this._addToParent(new bi(n, new m(t.sourceSpan.start, (a || r).sourceSpan.end), [r]));
2182
+ }
2183
+ _consumeComment(t) {
2184
+ let r = this._advanceIf(7), n = this._advanceIf(11), a = r != null ? r.parts[0].trim() : null, s = n == null ? t.sourceSpan : new m(t.sourceSpan.start, n.sourceSpan.end, t.sourceSpan.fullStart);
2185
+ this._addToParent(new ki(a, s));
2186
+ }
2187
+ _consumeDocType(t) {
2188
+ let r = this._advanceIf(7), n = this._advanceIf(19), a = r != null ? r.parts[0].trim() : null, s = new m(t.sourceSpan.start, (n || r || t).sourceSpan.end);
2189
+ this._addToParent(new Ei(a, s));
2190
+ }
2191
+ _consumeExpansion(t) {
2192
+ let r = this._advance(), n = this._advance(), a = [];
2193
+ for (; this._peek.type === 21; ) {
2194
+ let i = this._parseExpansionCase();
2195
+ if (!i) return;
2196
+ a.push(i);
2197
+ }
2198
+ if (this._peek.type !== 24) {
2199
+ this.errors.push(B.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '}'."));
2200
+ return;
2201
+ }
2202
+ let s = new m(t.sourceSpan.start, this._peek.sourceSpan.end, t.sourceSpan.fullStart);
2203
+ this._addToParent(new _i(r.parts[0], n.parts[0], a, s, r.sourceSpan)), this._advance();
2204
+ }
2205
+ _parseExpansionCase() {
2206
+ let t = this._advance();
2207
+ if (this._peek.type !== 22) return this.errors.push(B.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '{'.")), null;
2208
+ let r = this._advance(), n = this._collectExpansionExpTokens(r);
2209
+ if (!n) return null;
2210
+ let a = this._advance();
2211
+ n.push({ type: 34, parts: [], sourceSpan: a.sourceSpan });
2212
+ let s = new cn(n, this.getTagDefinition, this.canSelfClose, this.allowHtmComponentClosingTags, this.isTagNameCaseSensitive);
2213
+ if (s.build(), s.errors.length > 0) return this.errors = this.errors.concat(s.errors), null;
2214
+ let i = new m(t.sourceSpan.start, a.sourceSpan.end, t.sourceSpan.fullStart), u = new m(r.sourceSpan.start, a.sourceSpan.end, r.sourceSpan.fullStart);
2215
+ return new wi(t.parts[0], s.rootNodes, i, t.sourceSpan, u);
2216
+ }
2217
+ _collectExpansionExpTokens(t) {
2218
+ let r = [], n = [22];
2219
+ for (; ; ) {
2220
+ if ((this._peek.type === 20 || this._peek.type === 22) && n.push(this._peek.type), this._peek.type === 23) if (ur(n, 22)) {
2221
+ if (n.pop(), n.length === 0) return r;
2222
+ } else return this.errors.push(B.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2223
+ if (this._peek.type === 24) if (ur(n, 20)) n.pop();
2224
+ else return this.errors.push(B.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2225
+ if (this._peek.type === 34) return this.errors.push(B.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2226
+ r.push(this._advance());
2227
+ }
2228
+ }
2229
+ _getText(t) {
2230
+ let r = t.parts[0];
2231
+ if (r.length > 0 && r[0] == `
2232
+ `) {
2233
+ let n = this._getClosestParentElement();
2234
+ n != null && n.children.length == 0 && this.getTagDefinition(n.name).ignoreFirstLf && (r = r.substring(1));
2235
+ }
2236
+ return r;
2237
+ }
2238
+ _consumeText(t) {
2239
+ let r = [t], n = t.sourceSpan, a = t.parts[0];
2240
+ if (a.length > 0 && a[0] === `
2241
+ `) {
2242
+ let s = this._getContainer();
2243
+ s != null && s.children.length === 0 && this.getTagDefinition(s.name).ignoreFirstLf && (a = a.substring(1), r[0] = { type: t.type, sourceSpan: t.sourceSpan, parts: [a] });
2244
+ }
2245
+ for (; this._peek.type === 8 || this._peek.type === 5 || this._peek.type === 9; ) t = this._advance(), r.push(t), t.type === 8 ? a += t.parts.join("").replace(/&([^;]+);/g, or) : t.type === 9 ? a += t.parts[0] : a += t.parts.join("");
2246
+ if (a.length > 0) {
2247
+ let s = t.sourceSpan;
2248
+ this._addToParent(new yi(a, new m(n.start, s.end, n.fullStart, n.details), r));
2249
+ }
2250
+ }
2251
+ _closeVoidElement() {
2252
+ let t = this._getContainer();
2253
+ t instanceof V && this.getTagDefinition(t.name).isVoid && this._containerStack.pop();
2254
+ }
2255
+ _consumeStartTag(t) {
2256
+ let [r, n] = t.parts, a = [];
2257
+ for (; this._peek.type === 14; ) a.push(this._consumeAttr(this._advance()));
2258
+ let s = this._getElementFullName(r, n, this._getClosestParentElement()), i = !1;
2259
+ if (this._peek.type === 2) {
2260
+ this._advance(), i = !0;
2261
+ let g = this.getTagDefinition(s);
2262
+ this.canSelfClose || g.canSelfClose || ke(s) !== null || g.isVoid || this.errors.push(B.create(s, t.sourceSpan, `Only void, custom and foreign elements can be self closed "${t.parts[1]}"`));
2263
+ } else this._peek.type === 1 && (this._advance(), i = !1);
2264
+ let u = this._peek.sourceSpan.fullStart, o = new m(t.sourceSpan.start, u, t.sourceSpan.fullStart), p = new m(t.sourceSpan.start, u, t.sourceSpan.fullStart), l = new m(t.sourceSpan.start.moveBy(1), t.sourceSpan.end), v = new V(s, a, [], o, p, void 0, l), d = this._getContainer();
2265
+ this._pushContainer(v, d instanceof V && this.getTagDefinition(d.name).isClosedByChild(v.name)), i ? this._popContainer(s, V, o) : t.type === 4 && (this._popContainer(s, V, null), this.errors.push(B.create(s, o, `Opening tag "${s}" not terminated.`)));
2266
+ }
2267
+ _pushContainer(t, r) {
2268
+ r && this._containerStack.pop(), this._addToParent(t), this._containerStack.push(t);
2269
+ }
2270
+ _consumeEndTag(t) {
2271
+ let r = this.allowHtmComponentClosingTags && t.parts.length === 0 ? null : this._getElementFullName(t.parts[0], t.parts[1], this._getClosestParentElement());
2272
+ if (r && this.getTagDefinition(r).isVoid) this.errors.push(B.create(r, t.sourceSpan, `Void elements do not have end tags "${t.parts[1]}"`));
2273
+ else if (!this._popContainer(r, V, t.sourceSpan)) {
2274
+ let n = `Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;
2275
+ this.errors.push(B.create(r, t.sourceSpan, n));
2276
+ }
2277
+ }
2278
+ _popContainer(t, r, n) {
2279
+ let a = !1;
2280
+ for (let s = this._containerStack.length - 1; s >= 0; s--) {
2281
+ let i = this._containerStack[s];
2282
+ if (ke(i.name) ? i.name === t : (t == null || i.name.toLowerCase() === t.toLowerCase()) && i instanceof r) return i.endSourceSpan = n, i.sourceSpan.end = n !== null ? n.end : i.sourceSpan.end, this._containerStack.splice(s, this._containerStack.length - s), !a;
2283
+ (i instanceof K || i instanceof V && !this.getTagDefinition(i.name).closedByParent) && (a = !0);
2284
+ }
2285
+ return !1;
2286
+ }
2287
+ _consumeAttr(t) {
2288
+ let r = Le(t.parts[0], t.parts[1]), n = t.sourceSpan.end, a;
2289
+ this._peek.type === 15 && (a = this._advance());
2290
+ let s = "", i = [], u, o;
2291
+ if (this._peek.type === 16) for (u = this._peek.sourceSpan, o = this._peek.sourceSpan.end; this._peek.type === 16 || this._peek.type === 17 || this._peek.type === 9; ) {
2292
+ let l = this._advance();
2293
+ i.push(l), l.type === 17 ? s += l.parts.join("").replace(/&([^;]+);/g, or) : l.type === 9 ? s += l.parts[0] : s += l.parts.join(""), o = n = l.sourceSpan.end;
2294
+ }
2295
+ this._peek.type === 15 && (o = n = this._advance().sourceSpan.end);
2296
+ let p = u && o && new m(a?.sourceSpan.start ?? u.start, o, a?.sourceSpan.fullStart ?? u.fullStart);
2297
+ return new Ai(r, s, new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), t.sourceSpan, p, i.length > 0 ? i : void 0, void 0);
2298
+ }
2299
+ _consumeBlockOpen(t) {
2300
+ let r = [];
2301
+ for (; this._peek.type === 28; ) {
2302
+ let u = this._advance();
2303
+ r.push(new er(u.parts[0], u.sourceSpan));
2304
+ }
2305
+ this._peek.type === 26 && this._advance();
2306
+ let n = this._peek.sourceSpan.fullStart, a = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new K(t.parts[0], r, [], a, t.sourceSpan, s);
2307
+ this._pushContainer(i, !1);
2308
+ }
2309
+ _consumeBlockClose(t) {
2310
+ this._popContainer(null, K, t.sourceSpan) || this.errors.push(B.create(null, t.sourceSpan, 'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "&#125;" HTML entity instead.'));
2311
+ }
2312
+ _consumeIncompleteBlock(t) {
2313
+ let r = [];
2314
+ for (; this._peek.type === 28; ) {
2315
+ let u = this._advance();
2316
+ r.push(new er(u.parts[0], u.sourceSpan));
2317
+ }
2318
+ let n = this._peek.sourceSpan.fullStart, a = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new K(t.parts[0], r, [], a, t.sourceSpan, s);
2319
+ this._pushContainer(i, !1), this._popContainer(null, K, null), this.errors.push(B.create(t.parts[0], a, `Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "&#64;" HTML entity instead.`));
2320
+ }
2321
+ _consumeLet(t) {
2322
+ let r = t.parts[0], n, a;
2323
+ if (this._peek.type !== 31) {
2324
+ this.errors.push(B.create(t.parts[0], t.sourceSpan, `Invalid @let declaration "${r}". Declaration must have a value.`));
2325
+ return;
2326
+ } else n = this._advance();
2327
+ if (this._peek.type !== 32) {
2328
+ this.errors.push(B.create(t.parts[0], t.sourceSpan, `Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));
2329
+ return;
2330
+ } else a = this._advance();
2331
+ let s = a.sourceSpan.fullStart, i = new m(t.sourceSpan.start, s, t.sourceSpan.fullStart), u = t.sourceSpan.toString().lastIndexOf(r), o = t.sourceSpan.start.moveBy(u), p = new m(o, t.sourceSpan.end), l = new tr(r, n.parts[0], i, p, n.sourceSpan);
2332
+ this._addToParent(l);
2333
+ }
2334
+ _consumeIncompleteLet(t) {
2335
+ let r = t.parts[0] ?? "", n = r ? ` "${r}"` : "";
2336
+ if (r.length > 0) {
2337
+ let a = t.sourceSpan.toString().lastIndexOf(r), s = t.sourceSpan.start.moveBy(a), i = new m(s, t.sourceSpan.end), u = new m(t.sourceSpan.start, t.sourceSpan.start.moveBy(0)), o = new tr(r, "", t.sourceSpan, i, u);
2338
+ this._addToParent(o);
2339
+ }
2340
+ this.errors.push(B.create(t.parts[0], t.sourceSpan, `Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``));
2341
+ }
2342
+ _getContainer() {
2343
+ return this._containerStack.length > 0 ? this._containerStack[this._containerStack.length - 1] : null;
2344
+ }
2345
+ _getClosestParentElement() {
2346
+ for (let t = this._containerStack.length - 1; t > -1; t--) if (this._containerStack[t] instanceof V) return this._containerStack[t];
2347
+ return null;
2348
+ }
2349
+ _addToParent(t) {
2350
+ let r = this._getContainer();
2351
+ r === null ? this.rootNodes.push(t) : r.children.push(t);
2352
+ }
2353
+ _getElementFullName(t, r, n) {
2354
+ if (t === "" && (t = this.getTagDefinition(r).implicitNamespacePrefix || "", t === "" && n != null)) {
2355
+ let a = Oe(n.name)[1];
2356
+ this.getTagDefinition(a).preventNamespaceInheritance || (t = ke(n.name));
2357
+ }
2358
+ return Le(t, r);
2359
+ }
2360
+ };
2361
+ function ur(e, t) {
2362
+ return e.length > 0 && e[e.length - 1] === t;
2363
+ }
2364
+ function or(e, t) {
2365
+ return Fe[t] !== void 0 ? Fe[t] || e : /^#x[a-f0-9]+$/i.test(t) ? String.fromCodePoint(parseInt(t.slice(2), 16)) : /^#\d+$/.test(t) ? String.fromCodePoint(parseInt(t.slice(1), 10)) : e;
2366
+ }
2367
+ var Gi = class extends zi {
2368
+ constructor() {
2369
+ super(Ze);
2370
+ }
2371
+ parse(e, t, r, n = !1, a) {
2372
+ return super.parse(e, t, r, n, a);
2373
+ }
2374
+ }, Ke = null, Ki = () => (Ke || (Ke = new Gi()), Ke);
2375
+ function lr(e, t = {}) {
2376
+ let { canSelfClose: r = !1, allowHtmComponentClosingTags: n = !1, isTagNameCaseSensitive: a = !1, getTagContentType: s, tokenizeAngularBlocks: i = !1, tokenizeAngularLetDeclaration: u = !1 } = t;
2377
+ return Ki().parse(e, "angular-html-parser", { tokenizeExpansionForms: i, interpolationConfig: void 0, canSelfClose: r, allowHtmComponentClosingTags: n, tokenizeBlocks: i, tokenizeLet: u }, a, s);
2378
+ }
2379
+ function Xi(e, t) {
2380
+ let r = new SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
2381
+ return Object.assign(r, t);
2382
+ }
2383
+ var Ji = Xi, ie = 3;
2384
+ function Yi(e) {
2385
+ let t = e.slice(0, ie);
2386
+ if (t !== "---" && t !== "+++") return;
2387
+ let r = e.indexOf(`
2388
+ `, ie);
2389
+ if (r === -1) return;
2390
+ let n = e.slice(ie, r).trim(), a = e.indexOf(`
2391
+ ${t}`, r), s = n;
2392
+ if (s || (s = t === "+++" ? "toml" : "yaml"), a === -1 && t === "---" && s === "yaml" && (a = e.indexOf(`
2393
+ ...`, r)), a === -1) return;
2394
+ let i = a + 1 + ie, u = e.charAt(i + 1);
2395
+ if (!/\s?/u.test(u)) return;
2396
+ let o = e.slice(0, i);
2397
+ return { type: "front-matter", language: s, explicitLanguage: n, value: e.slice(r + 1, a), startDelimiter: t, endDelimiter: o.slice(-ie), raw: o };
2398
+ }
2399
+ function Qi(e) {
2400
+ let t = Yi(e);
2401
+ if (!t) return { content: e };
2402
+ let { raw: r } = t;
2403
+ return { frontMatter: t, content: L(!1, r, /[^\n]/gu, " ") + e.slice(r.length) };
2404
+ }
2405
+ var Zi = Qi, Ae = { attrs: !0, children: !0, cases: !0, expression: !0 }, cr = /* @__PURE__ */ new Set(["parent"]), J, rt, nt, eu = class ue {
2406
+ constructor(t = {}) {
2407
+ fr(this, J), Et(this, "type"), Et(this, "parent");
2408
+ for (let r of /* @__PURE__ */ new Set([...cr, ...Object.keys(t)])) this.setProperty(r, t[r]);
2409
+ }
2410
+ setProperty(t, r) {
2411
+ if (this[t] !== r) {
2412
+ if (t in Ae && (r = r.map((n) => this.createChild(n))), !cr.has(t)) {
2413
+ this[t] = r;
2414
+ return;
2415
+ }
2416
+ Object.defineProperty(this, t, { value: r, enumerable: !1, configurable: !0 });
2417
+ }
2418
+ }
2419
+ map(t) {
2420
+ let r;
2421
+ for (let n in Ae) {
2422
+ let a = this[n];
2423
+ if (a) {
2424
+ let s = ru(a, (i) => i.map(t));
2425
+ r !== a && (r || (r = new ue({ parent: this.parent })), r.setProperty(n, s));
2426
+ }
2427
+ }
2428
+ if (r) for (let n in this) n in Ae || (r[n] = this[n]);
2429
+ return t(r || this);
2430
+ }
2431
+ walk(t) {
2432
+ for (let r in Ae) {
2433
+ let n = this[r];
2434
+ if (n) for (let a = 0; a < n.length; a++) n[a].walk(t);
2435
+ }
2436
+ t(this);
2437
+ }
2438
+ createChild(t) {
2439
+ let r = t instanceof ue ? t.clone() : new ue(t);
2440
+ return r.setProperty("parent", this), r;
2441
+ }
2442
+ insertChildBefore(t, r) {
2443
+ let n = this.$children;
2444
+ n.splice(n.indexOf(t), 0, this.createChild(r));
2445
+ }
2446
+ removeChild(t) {
2447
+ let r = this.$children;
2448
+ r.splice(r.indexOf(t), 1);
2449
+ }
2450
+ replaceChild(t, r) {
2451
+ let n = this.$children;
2452
+ n[n.indexOf(t)] = this.createChild(r);
2453
+ }
2454
+ clone() {
2455
+ return new ue(this);
2456
+ }
2457
+ get $children() {
2458
+ return this[F(this, J, rt)];
2459
+ }
2460
+ set $children(t) {
2461
+ this[F(this, J, rt)] = t;
2462
+ }
2463
+ get firstChild() {
2464
+ var t;
2465
+ return (t = this.$children) == null ? void 0 : t[0];
2466
+ }
2467
+ get lastChild() {
2468
+ return de(!0, this.$children, -1);
2469
+ }
2470
+ get prev() {
2471
+ let t = F(this, J, nt);
2472
+ return t[t.indexOf(this) - 1];
2473
+ }
2474
+ get next() {
2475
+ let t = F(this, J, nt);
2476
+ return t[t.indexOf(this) + 1];
2477
+ }
2478
+ get rawName() {
2479
+ return this.hasExplicitNamespace ? this.fullName : this.name;
2480
+ }
2481
+ get fullName() {
2482
+ return this.namespace ? this.namespace + ":" + this.name : this.name;
2483
+ }
2484
+ get attrMap() {
2485
+ return Object.fromEntries(this.attrs.map((t) => [t.fullName, t.value]));
2486
+ }
2487
+ };
2488
+ J = /* @__PURE__ */ new WeakSet(), rt = function() {
2489
+ return this.type === "angularIcuCase" ? "expression" : this.type === "angularIcuExpression" ? "cases" : "children";
2490
+ }, nt = function() {
2491
+ var e;
2492
+ return ((e = this.parent) == null ? void 0 : e.$children) ?? [];
2493
+ };
2494
+ var tu = eu;
2495
+ function ru(e, t) {
2496
+ let r = e.map(t);
2497
+ return r.some((n, a) => n !== e[a]) ? r : e;
2498
+ }
2499
+ var nu = [{ regex: /^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su, parse: su }, { regex: /^\[if([^\]]*)\]><!$/u, parse: iu }, { regex: /^<!\s*\[endif\]$/u, parse: uu }];
2500
+ function au(e, t) {
2501
+ if (e.value) for (let { regex: r, parse: n } of nu) {
2502
+ let a = e.value.match(r);
2503
+ if (a) return n(e, t, a);
2504
+ }
2505
+ return null;
2506
+ }
2507
+ function su(e, t, r) {
2508
+ let [, n, a, s] = r, i = 4 + n.length, u = e.sourceSpan.start.moveBy(i), o = u.moveBy(s.length), [p, l] = (() => {
2509
+ try {
2510
+ return [!0, t(s, u).children];
2511
+ } catch {
2512
+ return [!1, [{ type: "text", value: s, sourceSpan: new m(u, o) }]];
2513
+ }
2514
+ })();
2515
+ return { type: "ieConditionalComment", complete: p, children: l, condition: L(!1, a.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan, startSourceSpan: new m(e.sourceSpan.start, u), endSourceSpan: new m(o, e.sourceSpan.end) };
2516
+ }
2517
+ function iu(e, t, r) {
2518
+ let [, n] = r;
2519
+ return { type: "ieConditionalStartComment", condition: L(!1, n.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan };
2520
+ }
2521
+ function uu(e) {
2522
+ return { type: "ieConditionalEndComment", sourceSpan: e.sourceSpan };
2523
+ }
2524
+ var Xe = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ 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", /* @__PURE__ */ new Set(["charset", "coords", "download", "href", "hreflang", "name", "ping", "referrerpolicy", "rel", "rev", "shape", "target", "type"])], ["applet", /* @__PURE__ */ new Set(["align", "alt", "archive", "code", "codebase", "height", "hspace", "name", "object", "vspace", "width"])], ["area", /* @__PURE__ */ new Set(["alt", "coords", "download", "href", "hreflang", "nohref", "ping", "referrerpolicy", "rel", "shape", "target", "type"])], ["audio", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "loop", "muted", "preload", "src"])], ["base", /* @__PURE__ */ new Set(["href", "target"])], ["basefont", /* @__PURE__ */ new Set(["color", "face", "size"])], ["blockquote", /* @__PURE__ */ new Set(["cite"])], ["body", /* @__PURE__ */ new Set(["alink", "background", "bgcolor", "link", "text", "vlink"])], ["br", /* @__PURE__ */ new Set(["clear"])], ["button", /* @__PURE__ */ new Set(["disabled", "form", "formaction", "formenctype", "formmethod", "formnovalidate", "formtarget", "name", "popovertarget", "popovertargetaction", "type", "value"])], ["canvas", /* @__PURE__ */ new Set(["height", "width"])], ["caption", /* @__PURE__ */ new Set(["align"])], ["col", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["colgroup", /* @__PURE__ */ new Set(["align", "char", "charoff", "span", "valign", "width"])], ["data", /* @__PURE__ */ new Set(["value"])], ["del", /* @__PURE__ */ new Set(["cite", "datetime"])], ["details", /* @__PURE__ */ new Set(["name", "open"])], ["dialog", /* @__PURE__ */ new Set(["open"])], ["dir", /* @__PURE__ */ new Set(["compact"])], ["div", /* @__PURE__ */ new Set(["align"])], ["dl", /* @__PURE__ */ new Set(["compact"])], ["embed", /* @__PURE__ */ new Set(["height", "src", "type", "width"])], ["fieldset", /* @__PURE__ */ new Set(["disabled", "form", "name"])], ["font", /* @__PURE__ */ new Set(["color", "face", "size"])], ["form", /* @__PURE__ */ new Set(["accept", "accept-charset", "action", "autocomplete", "enctype", "method", "name", "novalidate", "target"])], ["frame", /* @__PURE__ */ new Set(["frameborder", "longdesc", "marginheight", "marginwidth", "name", "noresize", "scrolling", "src"])], ["frameset", /* @__PURE__ */ new Set(["cols", "rows"])], ["h1", /* @__PURE__ */ new Set(["align"])], ["h2", /* @__PURE__ */ new Set(["align"])], ["h3", /* @__PURE__ */ new Set(["align"])], ["h4", /* @__PURE__ */ new Set(["align"])], ["h5", /* @__PURE__ */ new Set(["align"])], ["h6", /* @__PURE__ */ new Set(["align"])], ["head", /* @__PURE__ */ new Set(["profile"])], ["hr", /* @__PURE__ */ new Set(["align", "noshade", "size", "width"])], ["html", /* @__PURE__ */ new Set(["manifest", "version"])], ["iframe", /* @__PURE__ */ new Set(["align", "allow", "allowfullscreen", "allowpaymentrequest", "allowusermedia", "frameborder", "height", "loading", "longdesc", "marginheight", "marginwidth", "name", "referrerpolicy", "sandbox", "scrolling", "src", "srcdoc", "width"])], ["img", /* @__PURE__ */ new Set(["align", "alt", "border", "crossorigin", "decoding", "fetchpriority", "height", "hspace", "ismap", "loading", "longdesc", "name", "referrerpolicy", "sizes", "src", "srcset", "usemap", "vspace", "width"])], ["input", /* @__PURE__ */ 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", /* @__PURE__ */ new Set(["cite", "datetime"])], ["isindex", /* @__PURE__ */ new Set(["prompt"])], ["label", /* @__PURE__ */ new Set(["for", "form"])], ["legend", /* @__PURE__ */ new Set(["align"])], ["li", /* @__PURE__ */ new Set(["type", "value"])], ["link", /* @__PURE__ */ new Set(["as", "blocking", "charset", "color", "crossorigin", "disabled", "fetchpriority", "href", "hreflang", "imagesizes", "imagesrcset", "integrity", "media", "referrerpolicy", "rel", "rev", "sizes", "target", "type"])], ["map", /* @__PURE__ */ new Set(["name"])], ["menu", /* @__PURE__ */ new Set(["compact"])], ["meta", /* @__PURE__ */ new Set(["charset", "content", "http-equiv", "media", "name", "scheme"])], ["meter", /* @__PURE__ */ new Set(["high", "low", "max", "min", "optimum", "value"])], ["object", /* @__PURE__ */ new Set(["align", "archive", "border", "classid", "codebase", "codetype", "data", "declare", "form", "height", "hspace", "name", "standby", "type", "typemustmatch", "usemap", "vspace", "width"])], ["ol", /* @__PURE__ */ new Set(["compact", "reversed", "start", "type"])], ["optgroup", /* @__PURE__ */ new Set(["disabled", "label"])], ["option", /* @__PURE__ */ new Set(["disabled", "label", "selected", "value"])], ["output", /* @__PURE__ */ new Set(["for", "form", "name"])], ["p", /* @__PURE__ */ new Set(["align"])], ["param", /* @__PURE__ */ new Set(["name", "type", "value", "valuetype"])], ["pre", /* @__PURE__ */ new Set(["width"])], ["progress", /* @__PURE__ */ new Set(["max", "value"])], ["q", /* @__PURE__ */ new Set(["cite"])], ["script", /* @__PURE__ */ new Set(["async", "blocking", "charset", "crossorigin", "defer", "fetchpriority", "integrity", "language", "nomodule", "referrerpolicy", "src", "type"])], ["select", /* @__PURE__ */ new Set(["autocomplete", "disabled", "form", "multiple", "name", "required", "size"])], ["slot", /* @__PURE__ */ new Set(["name"])], ["source", /* @__PURE__ */ new Set(["height", "media", "sizes", "src", "srcset", "type", "width"])], ["style", /* @__PURE__ */ new Set(["blocking", "media", "type"])], ["table", /* @__PURE__ */ new Set(["align", "bgcolor", "border", "cellpadding", "cellspacing", "frame", "rules", "summary", "width"])], ["tbody", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["td", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["template", /* @__PURE__ */ new Set(["shadowrootclonable", "shadowrootdelegatesfocus", "shadowrootmode"])], ["textarea", /* @__PURE__ */ new Set(["autocomplete", "cols", "dirname", "disabled", "form", "maxlength", "minlength", "name", "placeholder", "readonly", "required", "rows", "wrap"])], ["tfoot", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["th", /* @__PURE__ */ new Set(["abbr", "align", "axis", "bgcolor", "char", "charoff", "colspan", "headers", "height", "nowrap", "rowspan", "scope", "valign", "width"])], ["thead", /* @__PURE__ */ new Set(["align", "char", "charoff", "valign"])], ["time", /* @__PURE__ */ new Set(["datetime"])], ["tr", /* @__PURE__ */ new Set(["align", "bgcolor", "char", "charoff", "valign"])], ["track", /* @__PURE__ */ new Set(["default", "kind", "label", "src", "srclang"])], ["ul", /* @__PURE__ */ new Set(["compact", "type"])], ["video", /* @__PURE__ */ new Set(["autoplay", "controls", "crossorigin", "height", "loop", "muted", "playsinline", "poster", "preload", "src", "width"])]]), ou = /* @__PURE__ */ 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"]);
2525
+ function lu(e) {
2526
+ if (e.type === "block") {
2527
+ if (e.name = L(!1, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.type = "angularControlFlowBlock", !pt(e.parameters)) {
2528
+ delete e.parameters;
2529
+ return;
2530
+ }
2531
+ for (let t of e.parameters) t.type = "angularControlFlowBlockParameter";
2532
+ e.parameters = { type: "angularControlFlowBlockParameters", children: e.parameters, sourceSpan: new m(e.parameters[0].sourceSpan.start, de(!1, e.parameters, -1).sourceSpan.end) };
2533
+ }
2534
+ }
2535
+ function cu(e) {
2536
+ e.type === "letDeclaration" && (e.type = "angularLetDeclaration", e.id = e.name, e.init = { type: "angularLetDeclarationInitializer", sourceSpan: new m(e.valueSpan.start, e.valueSpan.end), value: e.value }, delete e.name, delete e.value);
2537
+ }
2538
+ function pu(e) {
2539
+ (e.type === "plural" || e.type === "select") && (e.clause = e.type, e.type = "angularIcuExpression"), e.type === "expansionCase" && (e.type = "angularIcuCase");
2540
+ }
2541
+ function pn(e, t, r) {
2542
+ let { name: n, canSelfClose: a = !0, normalizeTagName: s = !1, normalizeAttributeName: i = !1, allowHtmComponentClosingTags: u = !1, isTagNameCaseSensitive: o = !1, shouldParseAsRawText: p } = t, { rootNodes: l, errors: v } = lr(e, { canSelfClose: a, allowHtmComponentClosingTags: u, isTagNameCaseSensitive: o, getTagContentType: p ? (...c) => p(...c) ? I.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: n === "angular" ? !0 : void 0, tokenizeAngularLetDeclaration: n === "angular" ? !0 : void 0 });
2543
+ if (n === "vue") {
2544
+ if (l.some((y) => y.type === "docType" && y.value === "html" || y.type === "element" && y.name.toLowerCase() === "html")) return pn(e, wt, r);
2545
+ let c, f = () => c ?? (c = lr(e, { canSelfClose: a, allowHtmComponentClosingTags: u, isTagNameCaseSensitive: o })), A = (y) => f().rootNodes.find(({ startSourceSpan: T }) => T && T.start.offset === y.startSourceSpan.start.offset) ?? y;
2546
+ for (let [y, T] of l.entries()) {
2547
+ let { endSourceSpan: G, startSourceSpan: dn } = T;
2548
+ if (G === null) v = f().errors, l[y] = A(T);
2549
+ else if (hu(T, r)) {
2550
+ let At = f().errors.find((kt) => kt.span.start.offset > dn.start.offset && kt.span.start.offset < G.end.offset);
2551
+ At && pr(At), l[y] = A(T);
2552
+ }
2553
+ }
2554
+ }
2555
+ v.length > 0 && pr(v[0]);
2556
+ let d = (c) => {
2557
+ let f = c.name.startsWith(":") ? c.name.slice(1).split(":")[0] : null, A = c.nameSpan.toString(), y = f !== null && A.startsWith(`${f}:`), T = y ? A.slice(f.length + 1) : A;
2558
+ c.name = T, c.namespace = f, c.hasExplicitNamespace = y;
2559
+ }, g = (c) => {
2560
+ switch (c.type) {
2561
+ case "element":
2562
+ d(c);
2563
+ for (let f of c.attrs) d(f), f.valueSpan ? (f.value = f.valueSpan.toString(), /["']/u.test(f.value[0]) && (f.value = f.value.slice(1, -1))) : f.value = null;
2564
+ break;
2565
+ case "comment":
2566
+ c.value = c.sourceSpan.toString().slice(4, -3);
2567
+ break;
2568
+ case "text":
2569
+ c.value = c.sourceSpan.toString();
2570
+ break;
2571
+ }
2572
+ }, C = (c, f) => {
2573
+ let A = c.toLowerCase();
2574
+ return f(A) ? A : c;
2575
+ }, w = (c) => {
2576
+ if (c.type === "element" && (s && (!c.namespace || c.namespace === c.tagDefinition.implicitNamespacePrefix || pe(c)) && (c.name = C(c.name, (f) => ou.has(f))), i)) for (let f of c.attrs) f.namespace || (f.name = C(f.name, (A) => Xe.has(c.name) && (Xe.get("*").has(A) || Xe.get(c.name).has(A))));
2577
+ }, E = (c) => {
2578
+ c.sourceSpan && c.endSourceSpan && (c.sourceSpan = new m(c.sourceSpan.start, c.endSourceSpan.end));
2579
+ }, x = (c) => {
2580
+ if (c.type === "element") {
2581
+ let f = Ze(o ? c.name : c.name.toLowerCase());
2582
+ !c.namespace || c.namespace === f.implicitNamespacePrefix || pe(c) ? c.tagDefinition = f : c.tagDefinition = Ze("");
2583
+ }
2584
+ };
2585
+ return an(new class extends xi {
2586
+ visitExpansionCase(c, f) {
2587
+ n === "angular" && this.visitChildren(f, (A) => {
2588
+ A(c.expression);
2589
+ });
2590
+ }
2591
+ visit(c) {
2592
+ g(c), x(c), w(c), E(c);
2593
+ }
2594
+ }(), l), l;
2595
+ }
2596
+ function hu(e, t) {
2597
+ var r;
2598
+ if (e.type !== "element" || e.name !== "template") return !1;
2599
+ let n = (r = e.attrs.find((a) => a.name === "lang")) == null ? void 0 : r.value;
2600
+ return !n || Pe(t, { language: n }) === "html";
2601
+ }
2602
+ function pr(e) {
2603
+ let { msg: t, span: { start: r, end: n } } = e;
2604
+ throw Ji(t, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: e });
2605
+ }
2606
+ function hn(e, t, r = {}, n = !0) {
2607
+ let { frontMatter: a, content: s } = n ? Zi(e) : { frontMatter: null, content: e }, i = new en(e, r.filepath), u = new Qe(i, 0, 0, 0), o = u.moveBy(e.length), p = { type: "root", sourceSpan: new m(u, o), children: pn(s, t, r) };
2608
+ if (a) {
2609
+ let d = new Qe(i, 0, 0, 0), g = d.moveBy(a.raw.length);
2610
+ a.sourceSpan = new m(d, g), p.children.unshift(a);
2611
+ }
2612
+ let l = new tu(p), v = (d, g) => {
2613
+ let { offset: C } = g, w = L(!1, e.slice(0, C), /[^\n\r]/gu, " "), E = hn(w + d, t, r, !1);
2614
+ E.sourceSpan = new m(g, de(!1, E.children, -1).sourceSpan.end);
2615
+ let x = E.children[0];
2616
+ return x.length === C ? E.children.shift() : (x.sourceSpan = new m(x.sourceSpan.start.moveBy(C), x.sourceSpan.end), x.value = x.value.slice(C)), E;
2617
+ };
2618
+ return l.walk((d) => {
2619
+ if (d.type === "comment") {
2620
+ let g = au(d, v);
2621
+ g && d.parent.replaceChild(d, g);
2622
+ }
2623
+ lu(d), cu(d), pu(d);
2624
+ }), l;
2625
+ }
2626
+ function Se(e) {
2627
+ return { parse: (t, r) => hn(t, e, r), hasPragma: Fs, hasIgnorePragma: qs, astFormat: "html", locStart: fe, locEnd: Re };
2628
+ }
2629
+ var wt = { name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 }, du = Se(wt), mu = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]), gu = Se({ ...wt, name: "mjml", shouldParseAsRawText: (e) => mu.has(e) }), fu = Se({ name: "angular" }), vu = Se({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(e, t, r, n) {
2630
+ return e.toLowerCase() !== "html" && !r && (e !== "template" || n.some(({ name: a, value: s }) => a === "lang" && s !== "html" && s !== "" && s !== void 0));
2631
+ } }), Cu = Se({ name: "lwc", canSelfClose: !1 }), Su = { html: ui }, yu = vr;
2632
+ export {
2633
+ yu as default,
2634
+ oi as languages,
2635
+ ci as options,
2636
+ rn as parsers,
2637
+ Su as printers
2638
+ };