eddyter 1.3.60 → 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.
Files changed (37) hide show
  1. package/dist/api/ai/index.d.ts +12 -12
  2. package/dist/assets/index.css +1 -0
  3. package/dist/{babel-44680aef.js → babel-B9hn44Wo.js} +2107 -2683
  4. package/dist/components/FileUpload/InsertFileDialog.d.ts +0 -1
  5. package/dist/components/LinkPreviewHover/index.d.ts +0 -1
  6. package/dist/components/ScopedEditor.d.ts +0 -1
  7. package/dist/components/ui/dropdown-menu.d.ts +3 -3
  8. package/dist/components/ui/skeleton.d.ts +0 -1
  9. package/dist/context/ToolbarContext.d.ts +6 -2
  10. package/dist/{estree-a7dc9ac5.js → estree-CocPn_Md.js} +1830 -2226
  11. package/dist/hooks/useModal.d.ts +0 -1
  12. package/dist/{html-f2fcab26.js → html-CxCicOef.js} +979 -1223
  13. package/dist/html2pdf.bundle-DNyY_rJA.js +32961 -0
  14. package/dist/html2pdf.bundle.min-GfQzEXnM.js +20244 -0
  15. package/dist/{index-98d915c4.js → index-BoOSmKss.js} +347 -378
  16. package/dist/{index-e3302f38.js → index-CIBuU2Zv.js} +14448 -15269
  17. package/dist/{index-8889e1ba.js → index-YHNm3bIK.js} +8 -39
  18. package/dist/index.js +13 -47
  19. package/dist/{markdown-48d2f5f1.js → markdown-BUjgWFLu.js} +1466 -1908
  20. package/dist/plugins/AutocompletePlugin.d.ts +0 -1
  21. package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRulePlugin.d.ts +0 -1
  22. package/dist/plugins/HtmlSyncPlugin.d.ts +0 -1
  23. package/dist/plugins/LinkPreviewPlugin/index.d.ts +0 -1
  24. package/dist/plugins/PasteOptionsPlugin/index.d.ts +0 -1
  25. package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasPlugin.d.ts +0 -1
  26. package/dist/plugins/SlashCommandPlugin/index.d.ts +0 -1
  27. package/dist/plugins/UsageTrackingPlugin.d.ts +0 -1
  28. package/dist/plugins/VoiceTranscriptPlugin.d.ts +1 -1
  29. package/dist/postcss-CGIcwj_g.js +4717 -0
  30. package/dist/{standalone-2029bc8b.js → standalone-C0qguT38.js} +988 -1244
  31. package/dist/typescript-BM7wk6k-.js +12922 -0
  32. package/package.json +6 -6
  33. package/dist/assets/style.css +0 -1
  34. package/dist/html2pdf.bundle-519d30c0.js +0 -34001
  35. package/dist/html2pdf.bundle.min-8451fd59.js +0 -21964
  36. package/dist/postcss-9ac167c3.js +0 -5172
  37. package/dist/typescript-bd1bb88f.js +0 -13632
@@ -1,158 +1,137 @@
1
- var gn = Object.defineProperty;
2
- var fn = (e, t, r) => t in e ? gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var We = (e, t, r) => (fn(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- var dr = Object.defineProperty, mr = (e) => {
1
+ var hr = Object.defineProperty, dr = (e) => {
5
2
  throw TypeError(e);
6
- }, vn = (e, t, r) => t in e ? dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gr = (e, t) => {
7
- for (var r in t)
8
- dr(e, r, { get: t[r], enumerable: !0 });
9
- }, xt = (e, t, r) => vn(e, typeof t != "symbol" ? t + "" : t, r), fr = (e, t, r) => t.has(e) || mr("Cannot " + r), F = (e, t, r) => (fr(e, t, "read from private field"), r ? r.call(e) : t.get(e)), vr = (e, t, r) => t.has(e) ? mr("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Cn = (e, t, r, n) => (fr(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), Cr = {};
10
- gr(Cr, { languages: () => ps, options: () => ds, parsers: () => nn, printers: () => _u });
11
- var yn = (e, t, r, n) => {
12
- if (!(e && t == null))
13
- return t.replaceAll ? t.replaceAll(r, n) : r.global ? t.replace(r, n) : t.split(r).join(n);
14
- }, L = yn, yr = "string", Sr = "array", br = "cursor", it = "indent", st = "align", _r = "trim", ut = "group", ot = "fill", lt = "if-break", ct = "indent-if-break", wr = "line-suffix", Ar = "line-suffix-boundary", Q = "line", kr = "label", pt = "break-parent", Er = /* @__PURE__ */ new Set([br, it, st, _r, ut, ot, lt, ct, wr, Ar, Q, kr, pt]), Sn = (e, t, r) => {
15
- if (!(e && t == null))
16
- return Array.isArray(t) || typeof t == "string" ? t[r < 0 ? t.length + r : r] : t.at(r);
17
- }, de = Sn;
18
- function bn(e) {
19
- if (typeof e == "string")
20
- return yr;
21
- if (Array.isArray(e))
22
- return Sr;
23
- if (!e)
24
- return;
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;
25
16
  let { type: t } = e;
26
- if (Er.has(t))
27
- return t;
17
+ if (kr.has(t)) return t;
28
18
  }
29
- var xr = bn, _n = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
30
- function wn(e) {
19
+ var Er = Cn, Sn = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
20
+ function yn(e) {
31
21
  let t = e === null ? "null" : typeof e;
32
- if (t !== "string" && t !== "object")
33
- return `Unexpected doc '${t}',
22
+ if (t !== "string" && t !== "object") return `Unexpected doc '${t}',
34
23
  Expected it to be 'string' or 'object'.`;
35
- if (xr(e))
36
- throw new Error("doc is valid.");
24
+ if (Er(e)) throw new Error("doc is valid.");
37
25
  let r = Object.prototype.toString.call(e);
38
- if (r !== "[object Object]")
39
- return `Unexpected doc '${r}'.`;
40
- let n = _n([...Er].map((a) => `'${a}'`));
26
+ if (r !== "[object Object]") return `Unexpected doc '${r}'.`;
27
+ let n = Sn([...kr].map((a) => `'${a}'`));
41
28
  return `Unexpected doc.type '${e.type}'.
42
29
  Expected it to be ${n}.`;
43
30
  }
44
- var An = class extends Error {
45
- constructor(t) {
46
- super(wn(t));
47
- We(this, "name", "InvalidDocError");
48
- this.doc = t;
31
+ var bn = class extends Error {
32
+ name = "InvalidDocError";
33
+ constructor(e) {
34
+ super(yn(e)), this.doc = e;
49
35
  }
50
- }, kn = An;
51
- function Dr(e, t) {
52
- if (typeof e == "string")
53
- return t(e);
36
+ }, _n = bn;
37
+ function xr(e, t) {
38
+ if (typeof e == "string") return t(e);
54
39
  let r = /* @__PURE__ */ new Map();
55
40
  return n(e);
56
- function n(i) {
57
- if (r.has(i))
58
- return r.get(i);
59
- let s = a(i);
60
- return r.set(i, s), s;
61
- }
62
- function a(i) {
63
- switch (xr(i)) {
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)) {
64
48
  case Sr:
65
- return t(i.map(n));
49
+ return t(s.map(n));
50
+ case ut:
51
+ return t({ ...s, parts: s.parts.map(n) });
66
52
  case ot:
67
- return t({ ...i, parts: i.parts.map(n) });
68
- case lt:
69
- return t({ ...i, breakContents: n(i.breakContents), flatContents: n(i.flatContents) });
70
- case ut: {
71
- let { expandedStates: s, contents: u } = i;
72
- return s ? (s = s.map(n), u = s[0]) : u = n(u), t({ ...i, contents: u, expandedStates: s });
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 });
73
57
  }
74
58
  case st:
75
- case it:
76
- case ct:
77
- case kr:
78
- case wr:
79
- return t({ ...i, contents: n(i.contents) });
59
+ case at:
60
+ case lt:
61
+ case Ar:
62
+ case _r:
63
+ return t({ ...s, contents: n(s.contents) });
64
+ case Cr:
80
65
  case yr:
81
66
  case br:
82
- case _r:
83
- case Ar:
67
+ case wr:
84
68
  case Q:
85
- case pt:
86
- return t(i);
69
+ case ct:
70
+ return t(s);
87
71
  default:
88
- throw new kn(i);
72
+ throw new _n(s);
89
73
  }
90
74
  }
91
75
  }
92
- function P(e, t = qn) {
93
- return Dr(e, (r) => typeof r == "string" ? Z(t, r.split(`
76
+ function P(e, t = Bn) {
77
+ return xr(e, (r) => typeof r == "string" ? Z(t, r.split(`
94
78
  `)) : r);
95
79
  }
96
- var En = () => {
97
- }, xn = En;
80
+ var wn = () => {
81
+ }, An = wn;
98
82
  function H(e) {
99
- return { type: it, contents: e };
83
+ return { type: at, contents: e };
100
84
  }
101
- function Tr(e, t) {
85
+ function Dr(e, t) {
102
86
  return { type: st, contents: t, n: e };
103
87
  }
104
88
  function k(e, t = {}) {
105
- return xn(t.expandedStates), { type: ut, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
89
+ return An(t.expandedStates), { type: it, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
106
90
  }
107
- function Dn(e) {
108
- return Tr(Number.NEGATIVE_INFINITY, e);
91
+ function kn(e) {
92
+ return Dr(Number.NEGATIVE_INFINITY, e);
109
93
  }
110
- function Tn(e) {
111
- return Tr({ type: "root" }, e);
94
+ function En(e) {
95
+ return Dr({ type: "root" }, e);
112
96
  }
113
- function Br(e) {
114
- return { type: ot, parts: e };
97
+ function Tr(e) {
98
+ return { type: ut, parts: e };
115
99
  }
116
100
  function xe(e, t = "", r = {}) {
117
- return { type: lt, breakContents: e, flatContents: t, groupId: r.groupId };
101
+ return { type: ot, breakContents: e, flatContents: t, groupId: r.groupId };
118
102
  }
119
- function Bn(e, t) {
120
- return { type: ct, contents: e, groupId: t.groupId, negate: t.negate };
103
+ function xn(e, t) {
104
+ return { type: lt, contents: e, groupId: t.groupId, negate: t.negate };
121
105
  }
122
- var me = { type: pt }, Ln = { type: Q, hard: !0 }, Fn = { type: Q, hard: !0, literal: !0 }, _ = { type: Q }, D = { type: Q, soft: !0 }, y = [Ln, me], qn = [Fn, me];
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];
123
107
  function Z(e, t) {
124
108
  let r = [];
125
- for (let n = 0; n < t.length; n++)
126
- n !== 0 && r.push(e), r.push(t[n]);
109
+ for (let n = 0; n < t.length; n++) n !== 0 && r.push(e), r.push(t[n]);
127
110
  return r;
128
111
  }
129
- var Se = "'", Dt = '"';
130
- function Nn(e, t) {
131
- let r = t === !0 || t === Se ? Se : Dt, n = r === Se ? Dt : Se, a = 0, i = 0;
132
- for (let s of e)
133
- s === r ? a++ : s === n && i++;
134
- return a > i ? n : r;
135
- }
136
- var In = Nn;
137
- function Pn(e) {
138
- if (typeof e != "string")
139
- throw new TypeError("Expected a string");
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");
140
121
  return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
141
122
  }
142
- var N, Mn = class {
123
+ var N, Nn = class {
143
124
  constructor(e) {
144
- vr(this, N), Cn(this, N, new Set(e));
125
+ fr(this, N), gn(this, N, new Set(e));
145
126
  }
146
127
  getLeadingWhitespaceCount(e) {
147
128
  let t = F(this, N), r = 0;
148
- for (let n = 0; n < e.length && t.has(e.charAt(n)); n++)
149
- r++;
129
+ for (let n = 0; n < e.length && t.has(e.charAt(n)); n++) r++;
150
130
  return r;
151
131
  }
152
132
  getTrailingWhitespaceCount(e) {
153
133
  let t = F(this, N), r = 0;
154
- for (let n = e.length - 1; n >= 0 && t.has(e.charAt(n)); n--)
155
- r++;
134
+ for (let n = e.length - 1; n >= 0 && t.has(e.charAt(n)); n--) r++;
156
135
  return r;
157
136
  }
158
137
  getLeadingWhitespace(e) {
@@ -181,7 +160,7 @@ var N, Mn = class {
181
160
  return this.trimEnd(this.trimStart(e));
182
161
  }
183
162
  split(e, t = !1) {
184
- let r = `[${Pn([...F(this, N)].join(""))}]+`, n = new RegExp(t ? `(${r})` : r, "u");
163
+ let r = `[${qn([...F(this, N)].join(""))}]+`, n = new RegExp(t ? `(${r})` : r, "u");
185
164
  return e.split(n);
186
165
  }
187
166
  hasWhitespaceCharacter(e) {
@@ -198,36 +177,32 @@ var N, Mn = class {
198
177
  }
199
178
  };
200
179
  N = /* @__PURE__ */ new WeakMap();
201
- var Hn = Mn, Rn = [" ", `
202
- `, "\f", "\r", " "], Un = new Hn(Rn), R = Un, Vn = class extends Error {
203
- constructor(t, r, n = "type") {
204
- super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);
205
- We(this, "name", "UnexpectedNodeError");
206
- this.node = t;
207
- }
208
- }, On = Vn;
209
- function Wn(e) {
210
- return (e == null ? void 0 : e.type) === "front-matter";
211
- }
212
- var Ne = Wn, $n = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), zn = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
213
- function Lr(e, t) {
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) {
214
192
  var r;
215
- if (e.type === "text" || e.type === "comment" || Ne(e) || e.type === "yaml" || e.type === "toml")
216
- return null;
217
- if (e.type === "attribute" && delete t.value, e.type === "docType" && delete t.value, e.type === "angularControlFlowBlock" && (r = e.parameters) != null && r.children)
218
- for (let n of t.parameters.children)
219
- zn.has(e.name) ? delete n.expression : n.expression = n.expression.trim();
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();
220
195
  e.type === "angularIcuExpression" && (t.switchValue = e.switchValue.trim()), e.type === "angularLetDeclarationInitializer" && delete t.value;
221
196
  }
222
- Lr.ignoredProperties = $n;
223
- var jn = Lr;
224
- async function Gn(e, t) {
197
+ Br.ignoredProperties = Vn;
198
+ var Wn = Br;
199
+ async function $n(e, t) {
225
200
  if (e.language === "yaml") {
226
201
  let r = e.value.trim(), n = r ? await t(r, { parser: "yaml" }) : "";
227
- return Tn([e.startDelimiter, e.explicitLanguage, y, n, n ? y : "", e.endDelimiter]);
202
+ return En([e.startDelimiter, e.explicitLanguage, S, n, n ? S : "", e.endDelimiter]);
228
203
  }
229
204
  }
230
- var Kn = Gn;
205
+ var zn = $n;
231
206
  function Ie(e, t = !0) {
232
207
  return [H([D, e]), t ? D : ""];
233
208
  }
@@ -238,84 +213,78 @@ function ee(e, t) {
238
213
  async function M(e, t, r, n) {
239
214
  r = { __isInHtmlAttribute: !0, __embeddedInHtml: !0, ...r };
240
215
  let a = !0;
241
- n && (r.__onHtmlBindingRoot = (s, u) => {
242
- a = n(s, u);
216
+ n && (r.__onHtmlBindingRoot = (i, u) => {
217
+ a = n(i, u);
243
218
  });
244
- let i = await t(e, r, t);
245
- return a ? k(i) : Ie(i);
219
+ let s = await t(e, r, t);
220
+ return a ? k(s) : Ie(s);
246
221
  }
247
- function Xn(e, t, r, n) {
248
- let { node: a } = r, i = n.originalText.slice(a.sourceSpan.start.offset, a.sourceSpan.end.offset);
249
- return /^\s*$/u.test(i) ? "" : M(i, e, { parser: "__ng_directive", __isInHtmlAttribute: !1 }, ee);
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);
250
225
  }
251
- var Jn = Xn, Yn = (e, t) => {
252
- if (!(e && t == null))
253
- return t.toReversed || !Array.isArray(t) ? t.toReversed() : [...t].reverse();
254
- }, Qn = Yn;
255
- function Zn(e) {
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) {
256
230
  return Array.isArray(e) && e.length > 0;
257
231
  }
258
- var ht = Zn, Tt, Bt, Lt, Ft, qt, ea = ((Tt = globalThis.Deno) == null ? void 0 : Tt.build.os) === "windows" || ((Lt = (Bt = globalThis.navigator) == null ? void 0 : Bt.platform) == null ? void 0 : Lt.startsWith("Win")) || ((qt = (Ft = globalThis.process) == null ? void 0 : Ft.platform) == null ? void 0 : qt.startsWith("win")) || !1;
259
- function Fr(e) {
260
- if (e = e instanceof URL ? e : new URL(e), e.protocol !== "file:")
261
- throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);
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}"`);
262
235
  return e;
263
236
  }
264
- function ta(e) {
265
- return e = Fr(e), decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
237
+ function Qn(e) {
238
+ return e = Lr(e), decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
266
239
  }
267
- function ra(e) {
268
- e = Fr(e);
240
+ function Zn(e) {
241
+ e = Lr(e);
269
242
  let t = decodeURIComponent(e.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
270
243
  return e.hostname !== "" && (t = `\\\\${e.hostname}${t}`), t;
271
244
  }
272
- function na(e) {
273
- return ea ? ra(e) : ta(e);
245
+ function ea(e) {
246
+ return Yn ? Zn(e) : Qn(e);
274
247
  }
275
- var aa = na, ia = (e) => String(e).split(/[/\\]/u).pop();
276
- function Nt(e, t) {
277
- if (!t)
278
- return;
279
- let r = ia(t).toLowerCase();
280
- return e.find(({ filenames: n }) => n == null ? void 0 : n.some((a) => a.toLowerCase() === r)) ?? e.find(({ extensions: n }) => n == null ? void 0 : n.some((a) => r.endsWith(a)));
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)));
281
253
  }
282
- function sa(e, t) {
283
- if (t)
284
- return e.find(({ name: r }) => r.toLowerCase() === t) ?? e.find(({ aliases: r }) => r == null ? void 0 : r.includes(t)) ?? e.find(({ extensions: r }) => r == null ? void 0 : r.includes(`.${t}`));
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}`));
285
256
  }
286
- function It(e, t) {
257
+ function Nt(e, t) {
287
258
  if (t) {
288
- if (String(t).startsWith("file:"))
289
- try {
290
- t = aa(t);
291
- } catch {
292
- return;
293
- }
294
- if (typeof t == "string")
295
- return e.find(({ isSupported: r }) => r == null ? void 0 : r({ filepath: 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 }));
296
265
  }
297
266
  }
298
- function ua(e, t) {
299
- let r = Qn(!1, e.plugins).flatMap((a) => a.languages ?? []), n = sa(r, t.language) ?? Nt(r, t.physicalFile) ?? Nt(r, t.file) ?? It(r, t.physicalFile) ?? It(r, t.file) ?? (t.physicalFile, void 0);
300
- return n == null ? void 0 : n.parsers[0];
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];
301
270
  }
302
- var Pe = ua, oa = "inline", Pt = { 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" }, la = "normal", Mt = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
303
- function ca(e) {
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) {
304
273
  return e.type === "element" && !e.hasExplicitNamespace && !["html", "svg"].includes(e.namespace);
305
274
  }
306
- var pe = ca, pa = (e) => L(!1, e, /^[\t\f\r ]*\n/gu, ""), qr = (e) => pa(R.trimEnd(e)), ha = (e) => {
275
+ var pe = ua, oa = (e) => L(!1, e, /^[\t\f\r ]*\n/gu, ""), Fr = (e) => oa(R.trimEnd(e)), la = (e) => {
307
276
  let t = e, r = R.getLeadingWhitespace(t);
308
277
  r && (t = t.slice(r.length));
309
278
  let n = R.getTrailingWhitespace(t);
310
279
  return n && (t = t.slice(0, -n.length)), { leadingWhitespace: r, trailingWhitespace: n, text: t };
311
280
  };
312
- function Nr(e, t) {
313
- 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") || mt(e, t) && !U(e, t) && e.type !== "interpolation");
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");
314
283
  }
315
284
  function Me(e) {
316
- return e.type === "attribute" || !e.parent || !e.prev ? !1 : da(e.prev);
285
+ return e.type === "attribute" || !e.parent || !e.prev ? !1 : ca(e.prev);
317
286
  }
318
- function da(e) {
287
+ function ca(e) {
319
288
  return e.type === "comment" && e.value.trim() === "prettier-ignore";
320
289
  }
321
290
  function q(e) {
@@ -324,56 +293,55 @@ function q(e) {
324
293
  function U(e, t) {
325
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"));
326
295
  }
327
- function ma(e, t) {
296
+ function pa(e, t) {
328
297
  return e.children && !U(e, t);
329
298
  }
330
- function ga(e, t) {
331
- return U(e, t) || e.type === "interpolation" || Ir(e);
299
+ function ha(e, t) {
300
+ return U(e, t) || e.type === "interpolation" || Nr(e);
332
301
  }
333
- function Ir(e) {
334
- return Or(e).startsWith("pre");
302
+ function Nr(e) {
303
+ return Vr(e).startsWith("pre");
335
304
  }
336
- function fa(e, t) {
305
+ function da(e, t) {
337
306
  var r, n;
338
- let a = i();
339
- if (a && !e.prev && (n = (r = e.parent) == null ? void 0 : r.tagDefinition) != null && n.ignoreFirstLf)
340
- return e.type === "interpolation";
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";
341
309
  return a;
342
- function i() {
343
- 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) || !ka(e.parent.cssDisplay)) || e.prev && !Da(e.prev.cssDisplay));
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));
344
312
  }
345
313
  }
346
- function va(e, t) {
347
- 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) || !Ea(e.parent.cssDisplay)) || e.next && !xa(e.next.cssDisplay));
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));
348
316
  }
349
- function Ca(e, t) {
350
- return Ta(e.cssDisplay) && !U(e, t);
317
+ function ga(e, t) {
318
+ return Ea(e.cssDisplay) && !U(e, t);
351
319
  }
352
320
  function be(e) {
353
321
  return Ne(e) || e.next && e.sourceSpan.end && e.sourceSpan.end.line + 1 < e.next.sourceSpan.start.line;
354
322
  }
355
- function ya(e) {
356
- return Pr(e) || e.type === "element" && e.children.length > 0 && (["body", "script", "style"].includes(e.name) || e.children.some((t) => ba(t))) || e.firstChild && e.firstChild === e.lastChild && e.firstChild.type !== "text" && Hr(e.firstChild) && (!e.lastChild.isTrailingSpaceSensitive || Rr(e.lastChild));
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));
357
325
  }
358
- function Pr(e) {
326
+ function Ir(e) {
359
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");
360
328
  }
361
- function $e(e) {
362
- return Ur(e) || e.prev && Sa(e.prev) || Mr(e);
329
+ function We(e) {
330
+ return Rr(e) || e.prev && va(e.prev) || Pr(e);
363
331
  }
364
- function Sa(e) {
365
- return Ur(e) || e.type === "element" && e.fullName === "br" || Mr(e);
332
+ function va(e) {
333
+ return Rr(e) || e.type === "element" && e.fullName === "br" || Pr(e);
366
334
  }
367
- function Mr(e) {
368
- return Hr(e) && Rr(e);
335
+ function Pr(e) {
336
+ return Mr(e) && Hr(e);
369
337
  }
370
- function Hr(e) {
338
+ function Mr(e) {
371
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);
372
340
  }
373
- function Rr(e) {
341
+ function Hr(e) {
374
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);
375
343
  }
376
- function Ur(e) {
344
+ function Rr(e) {
377
345
  switch (e.type) {
378
346
  case "ieConditionalComment":
379
347
  case "comment":
@@ -384,428 +352,368 @@ function Ur(e) {
384
352
  }
385
353
  return !1;
386
354
  }
387
- function dt(e) {
388
- return e.lastChild ? dt(e.lastChild) : e;
355
+ function ht(e) {
356
+ return e.lastChild ? ht(e.lastChild) : e;
389
357
  }
390
- function ba(e) {
358
+ function Ca(e) {
391
359
  var t;
392
360
  return (t = e.children) == null ? void 0 : t.some((r) => r.type !== "text");
393
361
  }
394
- function Vr(e) {
395
- if (e)
396
- switch (e) {
397
- case "module":
398
- case "text/javascript":
399
- case "text/babel":
400
- case "text/jsx":
401
- case "application/javascript":
402
- return "babel";
403
- case "application/x-typescript":
404
- return "typescript";
405
- case "text/markdown":
406
- return "markdown";
407
- case "text/html":
408
- return "html";
409
- case "text/x-handlebars-template":
410
- return "glimmer";
411
- default:
412
- if (e.endsWith("json") || e.endsWith("importmap") || e === "speculationrules")
413
- return "json";
414
- }
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
+ }
415
381
  }
416
- function _a(e, t) {
382
+ function Sa(e, t) {
417
383
  let { name: r, attrMap: n } = e;
418
- if (r !== "script" || Object.prototype.hasOwnProperty.call(n, "src"))
419
- return;
420
- let { type: a, lang: i } = e.attrMap;
421
- return !i && !a ? "babel" : Pe(t, { language: i }) ?? Vr(a);
422
- }
423
- function wa(e, t) {
424
- if (!mt(e, t))
425
- return;
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;
426
390
  let { attrMap: r } = e;
427
- if (Object.prototype.hasOwnProperty.call(r, "src"))
428
- return;
391
+ if (Object.prototype.hasOwnProperty.call(r, "src")) return;
429
392
  let { type: n, lang: a } = r;
430
- return Pe(t, { language: a }) ?? Vr(n);
393
+ return Pe(t, { language: a }) ?? Ur(n);
431
394
  }
432
- function Aa(e, t) {
395
+ function ba(e, t) {
433
396
  if (e.name === "style") {
434
397
  let { lang: r } = e.attrMap;
435
398
  return r ? Pe(t, { language: r }) : "css";
436
399
  }
437
- if (e.name === "mj-style" && t.parser === "mjml")
438
- return "css";
400
+ if (e.name === "mj-style" && t.parser === "mjml") return "css";
439
401
  }
440
- function Ht(e, t) {
441
- return _a(e, t) ?? Aa(e, t) ?? wa(e, t);
402
+ function Mt(e, t) {
403
+ return Sa(e, t) ?? ba(e, t) ?? ya(e, t);
442
404
  }
443
405
  function ge(e) {
444
406
  return e === "block" || e === "list-item" || e.startsWith("table");
445
407
  }
446
- function ka(e) {
408
+ function _a(e) {
447
409
  return !ge(e) && e !== "inline-block";
448
410
  }
449
- function Ea(e) {
411
+ function wa(e) {
450
412
  return !ge(e) && e !== "inline-block";
451
413
  }
452
- function xa(e) {
414
+ function Aa(e) {
453
415
  return !ge(e);
454
416
  }
455
- function Da(e) {
417
+ function ka(e) {
456
418
  return !ge(e);
457
419
  }
458
- function Ta(e) {
420
+ function Ea(e) {
459
421
  return !ge(e) && e !== "inline-block";
460
422
  }
461
423
  function Y(e) {
462
- return Or(e).startsWith("pre");
424
+ return Vr(e).startsWith("pre");
463
425
  }
464
- function Ba(e, t) {
426
+ function xa(e, t) {
465
427
  let r = e;
466
428
  for (; r; ) {
467
- if (t(r))
468
- return !0;
429
+ if (t(r)) return !0;
469
430
  r = r.parent;
470
431
  }
471
432
  return !1;
472
433
  }
473
- function La(e, t) {
434
+ function Da(e, t) {
474
435
  var r;
475
- if (te(e, t))
476
- return "block";
436
+ if (te(e, t)) return "block";
477
437
  if (((r = e.prev) == null ? void 0 : r.type) === "comment") {
478
438
  let a = e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);
479
- if (a)
480
- return a[1];
439
+ if (a) return a[1];
481
440
  }
482
441
  let n = !1;
483
- if (e.type === "element" && e.namespace === "svg")
484
- if (Ba(e, (a) => a.fullName === "svg:foreignObject"))
485
- n = !0;
486
- else
487
- return e.name === "svg" ? "inline-block" : "block";
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";
488
444
  switch (t.htmlWhitespaceSensitivity) {
489
445
  case "strict":
490
446
  return "inline";
491
447
  case "ignore":
492
448
  return "block";
493
449
  default:
494
- if (e.type === "element" && (!e.namespace || n || pe(e)) && Object.prototype.hasOwnProperty.call(Pt, e.name))
495
- return Pt[e.name];
450
+ if (e.type === "element" && (!e.namespace || n || pe(e)) && Object.prototype.hasOwnProperty.call(It, e.name)) return It[e.name];
496
451
  }
497
- return oa;
452
+ return sa;
498
453
  }
499
- function Or(e) {
500
- return e.type === "element" && (!e.namespace || pe(e)) && Object.prototype.hasOwnProperty.call(Mt, e.name) ? Mt[e.name] : la;
454
+ function Vr(e) {
455
+ return e.type === "element" && (!e.namespace || pe(e)) && Object.prototype.hasOwnProperty.call(Pt, e.name) ? Pt[e.name] : ia;
501
456
  }
502
- function Fa(e) {
457
+ function Ta(e) {
503
458
  let t = Number.POSITIVE_INFINITY;
504
459
  for (let r of e.split(`
505
460
  `)) {
506
- if (r.length === 0)
507
- continue;
461
+ if (r.length === 0) continue;
508
462
  let n = R.getLeadingWhitespaceCount(r);
509
- if (n === 0)
510
- return 0;
463
+ if (n === 0) return 0;
511
464
  r.length !== n && n < t && (t = n);
512
465
  }
513
466
  return t === Number.POSITIVE_INFINITY ? 0 : t;
514
467
  }
515
- function Wr(e, t = Fa(e)) {
468
+ function Or(e, t = Ta(e)) {
516
469
  return t === 0 ? e : e.split(`
517
470
  `).map((r) => r.slice(t)).join(`
518
471
  `);
519
472
  }
520
- function $r(e) {
473
+ function Wr(e) {
521
474
  return L(!1, L(!1, e, "&apos;", "'"), "&quot;", '"');
522
475
  }
523
476
  function O(e) {
524
- return $r(e.value);
477
+ return Wr(e.value);
525
478
  }
526
- var qa = /* @__PURE__ */ new Set(["template", "style", "script"]);
479
+ var Ba = /* @__PURE__ */ new Set(["template", "style", "script"]);
527
480
  function He(e, t) {
528
- return te(e, t) && !qa.has(e.fullName);
481
+ return te(e, t) && !Ba.has(e.fullName);
529
482
  }
530
483
  function te(e, t) {
531
484
  return t.parser === "vue" && e.type === "element" && e.parent.type === "root" && e.fullName.toLowerCase() !== "html";
532
485
  }
533
- function mt(e, t) {
486
+ function dt(e, t) {
534
487
  return te(e, t) && (He(e, t) || e.attrMap.lang && e.attrMap.lang !== "html");
535
488
  }
536
- function Na(e) {
489
+ function La(e) {
537
490
  let t = e.fullName;
538
491
  return t.charAt(0) === "#" || t === "slot-scope" || t === "v-slot" || t.startsWith("v-slot:");
539
492
  }
540
- function Ia(e, t) {
493
+ function Fa(e, t) {
541
494
  let r = e.parent;
542
- if (!te(r, t))
543
- return !1;
495
+ if (!te(r, t)) return !1;
544
496
  let n = r.fullName, a = e.fullName;
545
497
  return n === "script" && a === "setup" || n === "style" && a === "vars";
546
498
  }
547
- function zr(e, t = e.value) {
548
- return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? P(t) : P(Wr(qr(t)), y) : Z(_, R.split(t));
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));
549
501
  }
550
- function jr(e, t) {
502
+ function zr(e, t) {
551
503
  return te(e, t) && e.name === "script";
552
504
  }
553
- var Gr = /\{\{(.+?)\}\}/su;
554
- async function Pa(e, t) {
505
+ var jr = /\{\{(.+?)\}\}/su;
506
+ async function qa(e, t) {
555
507
  let r = [];
556
- for (let [n, a] of e.split(Gr).entries())
557
- if (n % 2 === 0)
558
- r.push(P(a));
559
- else
560
- try {
561
- r.push(k(["{{", H([_, await M(a, t, { parser: "__ng_interpolation", __isInHtmlInterpolation: !0 })]), _, "}}"]));
562
- } catch {
563
- r.push("{{", P(a), "}}");
564
- }
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
+ }
565
514
  return r;
566
515
  }
567
- function gt({ parser: e }) {
516
+ function mt({ parser: e }) {
568
517
  return (t, r, n) => M(O(n.node), t, { parser: e }, ee);
569
518
  }
570
- var Ma = gt({ parser: "__ng_action" }), Ha = gt({ parser: "__ng_binding" }), Ra = gt({ parser: "__ng_directive" });
571
- function Ua(e, t) {
572
- if (t.parser !== "angular")
573
- return;
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;
574
522
  let { node: r } = e, n = r.fullName;
575
- if (n.startsWith("(") && n.endsWith(")") || n.startsWith("on-"))
576
- return Ma;
577
- if (n.startsWith("[") && n.endsWith("]") || /^bind(?:on)?-/u.test(n) || /^ng-(?:if|show|hide|class|style)$/u.test(n))
578
- return Ha;
579
- if (n.startsWith("*"))
580
- return Ra;
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;
581
526
  let a = O(r);
582
- if (/^i18n(?:-.+)?$/u.test(n))
583
- return () => Ie(Br(zr(r, a.trim())), !a.includes("@@"));
584
- if (Gr.test(a))
585
- return (i) => Pa(a, i);
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);
586
529
  }
587
- var Va = Ua;
588
- function Oa(e, t) {
530
+ var Ha = Ma;
531
+ function Ra(e, t) {
589
532
  let { node: r } = e, n = O(r);
590
- if (r.fullName === "class" && !t.parentParser && !n.includes("{{"))
591
- return () => n.trim().split(/\s+/u).join(" ");
533
+ if (r.fullName === "class" && !t.parentParser && !n.includes("{{")) return () => n.trim().split(/\s+/u).join(" ");
592
534
  }
593
- var Wa = Oa;
594
- function Rt(e) {
535
+ var Ua = Ra;
536
+ function Ht(e) {
595
537
  return e === " " || e === `
596
538
  ` || e === "\f" || e === "\r" || e === " ";
597
539
  }
598
- var $a = /^[ \t\n\r\u000c]+/, za = /^[, \t\n\r\u000c]+/, ja = /^[^ \t\n\r\u000c]+/, Ga = /[,]+$/, Ut = /^\d+$/, Ka = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
599
- function Xa(e) {
600
- let t = e.length, r, n, a, i, s, u = 0, o;
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;
601
543
  function p(g) {
602
544
  let C, w = g.exec(e.substring(u));
603
- if (w)
604
- return [C] = w, u += C.length, C;
545
+ if (w) return [C] = w, u += C.length, C;
605
546
  }
606
547
  let l = [];
607
548
  for (; ; ) {
608
- if (p(za), u >= t) {
609
- if (l.length === 0)
610
- throw new Error("Must contain one or more image candidate strings.");
549
+ if (p(Oa), u >= t) {
550
+ if (l.length === 0) throw new Error("Must contain one or more image candidate strings.");
611
551
  return l;
612
552
  }
613
- o = u, r = p(ja), n = [], r.slice(-1) === "," ? (r = r.replace(Ga, ""), d()) : v();
553
+ o = u, r = p(Wa), n = [], r.slice(-1) === "," ? (r = r.replace($a, ""), d()) : v();
614
554
  }
615
555
  function v() {
616
- for (p($a), a = "", i = "in descriptor"; ; ) {
617
- if (s = e.charAt(u), i === "in descriptor")
618
- if (Rt(s))
619
- a && (n.push(a), a = "", i = "after descriptor");
620
- else if (s === ",") {
621
- u += 1, a && n.push(a), d();
622
- return;
623
- } else if (s === "(")
624
- a += s, i = "in parens";
625
- else if (s === "") {
626
- a && n.push(a), d();
627
- return;
628
- } else
629
- a += s;
630
- else if (i === "in parens")
631
- if (s === ")")
632
- a += s, i = "in descriptor";
633
- else if (s === "") {
634
- n.push(a), d();
635
- return;
636
- } else
637
- a += s;
638
- else if (i === "after descriptor" && !Rt(s))
639
- if (s === "") {
640
- d();
641
- return;
642
- } else
643
- i = "in descriptor", u -= 1;
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;
644
575
  u += 1;
645
576
  }
646
577
  }
647
578
  function d() {
648
- let g = !1, C, w, E, x, c = {}, f, A, S, T, G;
649
- for (x = 0; x < n.length; x++)
650
- f = n[x], A = f[f.length - 1], S = f.substring(0, f.length - 1), T = parseInt(S, 10), G = parseFloat(S), Ut.test(S) && A === "w" ? ((C || w) && (g = !0), T === 0 ? g = !0 : C = T) : Ka.test(S) && A === "x" ? ((C || w || E) && (g = !0), G < 0 ? g = !0 : w = G) : Ut.test(S) && A === "h" ? ((E || w) && (g = !0), T === 0 ? g = !0 : E = T) : g = !0;
651
- if (!g)
652
- c.source = { value: r, startOffset: o }, C && (c.width = { value: C }), w && (c.density = { value: w }), E && (c.height = { value: E }), l.push(c);
653
- else
654
- throw new Error(`Invalid srcset descriptor found in "${e}" at "${f}".`);
655
- }
656
- }
657
- var Ja = Xa;
658
- function Ya(e) {
659
- if (e.node.fullName === "srcset" && (e.parent.fullName === "img" || e.parent.fullName === "source"))
660
- return () => Za(O(e.node));
661
- }
662
- var Kr = { width: "w", height: "h", density: "x" }, Qa = Object.keys(Kr);
663
- function Za(e) {
664
- let t = Ja(e), r = Qa.filter((l) => t.some((v) => Object.prototype.hasOwnProperty.call(v, l)));
665
- if (r.length > 1)
666
- throw new Error("Mixed descriptor in srcset is not supported");
667
- let [n] = r, a = Kr[n], i = t.map((l) => l.source.value), s = Math.max(...i.map((l) => l.length)), u = t.map((l) => l[n] ? String(l[n].value) : ""), o = u.map((l) => {
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) => {
668
594
  let v = l.indexOf(".");
669
595
  return v === -1 ? l.length : v;
670
596
  }), p = Math.max(...o);
671
- return Ie(Z([",", _], i.map((l, v) => {
597
+ return Ie(Z([",", _], s.map((l, v) => {
672
598
  let d = [l], g = u[v];
673
599
  if (g) {
674
- let C = s - l.length + 1, w = p - o[v], E = " ".repeat(C + w);
600
+ let C = i - l.length + 1, w = p - o[v], E = " ".repeat(C + w);
675
601
  d.push(xe(E, " "), g + a);
676
602
  }
677
603
  return d;
678
604
  })));
679
605
  }
680
- var ei = Ya;
681
- function ti(e, t) {
606
+ var Ya = Ka;
607
+ function Qa(e, t) {
682
608
  let { node: r } = e, n = O(e.node).trim();
683
- if (r.fullName === "style" && !t.parentParser && !n.includes("{{"))
684
- return async (a) => Ie(await a(n, { parser: "css", __isHTMLStyleAttribute: !0 }));
609
+ if (r.fullName === "style" && !t.parentParser && !n.includes("{{")) return async (a) => Ie(await a(n, { parser: "css", __isHTMLStyleAttribute: !0 }));
685
610
  }
686
- var ze = /* @__PURE__ */ new WeakMap();
687
- function ri(e, t) {
611
+ var $e = /* @__PURE__ */ new WeakMap();
612
+ function Za(e, t) {
688
613
  let { root: r } = e;
689
- return ze.has(r) || ze.set(r, r.children.some((n) => jr(n, t) && ["ts", "typescript"].includes(n.attrMap.lang))), ze.get(r);
614
+ return $e.has(r) || $e.set(r, r.children.some((n) => zr(n, t) && ["ts", "typescript"].includes(n.attrMap.lang))), $e.get(r);
690
615
  }
691
- var ft = ri;
692
- function ni(e, t, r) {
616
+ var gt = Za;
617
+ function es(e, t, r) {
693
618
  let { node: n } = r, a = O(n);
694
619
  return M(`type T<${a}> = any`, e, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: !0 }, ee);
695
620
  }
696
- function ai(e, t, { parseWithTs: r }) {
621
+ function ts(e, t, { parseWithTs: r }) {
697
622
  return M(`function _(${e}) {}`, t, { parser: r ? "babel-ts" : "babel", __isVueBindings: !0 });
698
623
  }
699
- async function ii(e, t, r, n) {
700
- let a = O(r.node), { left: i, operator: s, right: u } = si(a), o = ft(r, n);
701
- return [k(await M(`function _(${i}) {}`, e, { parser: o ? "babel-ts" : "babel", __isVueForBindingLeft: !0 })), " ", s, " ", await M(u, e, { parser: o ? "__ts_expression" : "__js_expression" })];
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" })];
702
627
  }
703
- function si(e) {
628
+ function ns(e) {
704
629
  let t = /(.*?)\s+(in|of)\s+(.*)/su, r = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n = /^\(|\)$/gu, a = e.match(t);
705
- if (!a)
706
- return;
707
- let i = {};
708
- if (i.for = a[3].trim(), !i.for)
709
- return;
710
- let s = L(!1, a[1].trim(), n, ""), u = s.match(r);
711
- u ? (i.alias = s.replace(r, ""), i.iterator1 = u[1].trim(), u[2] && (i.iterator2 = u[2].trim())) : i.alias = s;
712
- let o = [i.alias, i.iterator1, i.iterator2];
713
- if (!o.some((p, l) => !p && (l === 0 || o.slice(l + 1).some(Boolean))))
714
- return { left: o.filter(Boolean).join(","), operator: a[2], right: i.for };
715
- }
716
- function ui(e, t) {
717
- if (t.parser !== "vue")
718
- return;
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;
719
640
  let { node: r } = e, n = r.fullName;
720
- if (n === "v-for")
721
- return ii;
722
- if (n === "generic" && jr(r.parent, t))
723
- return ni;
724
- let a = O(r), i = ft(e, t);
725
- if (Na(r) || Ia(r, t))
726
- return (s) => ai(a, s, { parseWithTs: i });
727
- if (n.startsWith("@") || n.startsWith("v-on:"))
728
- return (s) => oi(a, s, { parseWithTs: i });
729
- if (n.startsWith(":") || n.startsWith(".") || n.startsWith("v-bind:"))
730
- return (s) => li(a, s, { parseWithTs: i });
731
- if (n.startsWith("v-"))
732
- return (s) => Xr(a, s, { parseWithTs: i });
733
- }
734
- async function oi(e, t, { parseWithTs: r }) {
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 }) {
735
650
  var n;
736
651
  try {
737
- return await Xr(e, t, { parseWithTs: r });
652
+ return await Kr(e, t, { parseWithTs: r });
738
653
  } catch (a) {
739
- if (((n = a.cause) == null ? void 0 : n.code) !== "BABEL_PARSER_SYNTAX_ERROR")
740
- throw a;
654
+ if (((n = a.cause) == null ? void 0 : n.code) !== "BABEL_PARSER_SYNTAX_ERROR") throw a;
741
655
  }
742
656
  return M(e, t, { parser: r ? "__vue_ts_event_binding" : "__vue_event_binding" }, ee);
743
657
  }
744
- function li(e, t, { parseWithTs: r }) {
658
+ function is(e, t, { parseWithTs: r }) {
745
659
  return M(e, t, { parser: r ? "__vue_ts_expression" : "__vue_expression" }, ee);
746
660
  }
747
- function Xr(e, t, { parseWithTs: r }) {
661
+ function Kr(e, t, { parseWithTs: r }) {
748
662
  return M(e, t, { parser: r ? "__ts_expression" : "__js_expression" }, ee);
749
663
  }
750
- var ci = ui;
751
- function pi(e, t) {
664
+ var us = as;
665
+ function os(e, t) {
752
666
  let { node: r } = e;
753
667
  if (r.value) {
754
- 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("}"))
755
- return [r.rawName, "=", r.value];
756
- for (let n of [ei, ti, Wa, ci, Va]) {
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]) {
757
670
  let a = n(e, t);
758
- if (a)
759
- return hi(a);
671
+ if (a) return ls(a);
760
672
  }
761
673
  }
762
674
  }
763
- function hi(e) {
675
+ function ls(e) {
764
676
  return async (t, r, n, a) => {
765
- let i = await e(t, r, n, a);
766
- if (i)
767
- return i = Dr(i, (s) => typeof s == "string" ? L(!1, s, '"', "&quot;") : s), [n.node.rawName, '="', k(i), '"'];
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), '"'];
768
679
  };
769
680
  }
770
- var di = pi, mi = new Proxy(() => {
771
- }, { get: () => mi });
681
+ var cs = os, ps = new Proxy(() => {
682
+ }, { get: () => ps });
772
683
  function fe(e) {
773
684
  return e.sourceSpan.start.offset;
774
685
  }
775
686
  function Re(e) {
776
687
  return e.sourceSpan.end.offset;
777
688
  }
778
- function Ye(e, t) {
779
- return [e.isSelfClosing ? "" : gi(e, t), oe(e, t)];
689
+ function Je(e, t) {
690
+ return [e.isSelfClosing ? "" : hs(e, t), oe(e, t)];
780
691
  }
781
- function gi(e, t) {
782
- return e.lastChild && he(e.lastChild) ? "" : [fi(e, t), vt(e, t)];
692
+ function hs(e, t) {
693
+ return e.lastChild && he(e.lastChild) ? "" : [ds(e, t), ft(e, t)];
783
694
  }
784
695
  function oe(e, t) {
785
696
  return (e.next ? z(e.next) : Ce(e.parent)) ? "" : [ve(e, t), $(e, t)];
786
697
  }
787
- function fi(e, t) {
698
+ function ds(e, t) {
788
699
  return Ce(e) ? ve(e.lastChild, t) : "";
789
700
  }
790
701
  function $(e, t) {
791
- return he(e) ? vt(e.parent, t) : Ue(e) ? Ct(e.next, t) : "";
702
+ return he(e) ? ft(e.parent, t) : Ue(e) ? vt(e.next, t) : "";
792
703
  }
793
- function vt(e, t) {
794
- if (Jr(e, t))
795
- return "";
704
+ function ft(e, t) {
705
+ if (Xr(e, t)) return "";
796
706
  switch (e.type) {
797
707
  case "ieConditionalComment":
798
708
  return "<!";
799
709
  case "element":
800
- if (e.hasHtmComponentClosingTag)
801
- return "<//";
710
+ if (e.hasHtmComponentClosingTag) return "<//";
802
711
  default:
803
712
  return `</${e.rawName}`;
804
713
  }
805
714
  }
806
715
  function ve(e, t) {
807
- if (Jr(e, t))
808
- return "";
716
+ if (Xr(e, t)) return "";
809
717
  switch (e.type) {
810
718
  case "ieConditionalComment":
811
719
  case "ieConditionalEndComment":
@@ -817,58 +725,56 @@ function ve(e, t) {
817
725
  case "angularIcuExpression":
818
726
  return "}";
819
727
  case "element":
820
- if (e.isSelfClosing)
821
- return "/>";
728
+ if (e.isSelfClosing) return "/>";
822
729
  default:
823
730
  return ">";
824
731
  }
825
732
  }
826
- function Jr(e, t) {
827
- return !e.isSelfClosing && !e.endSourceSpan && (Me(e) || Nr(e.parent, t));
733
+ function Xr(e, t) {
734
+ return !e.isSelfClosing && !e.endSourceSpan && (Me(e) || qr(e.parent, t));
828
735
  }
829
736
  function z(e) {
830
737
  return e.prev && e.prev.type !== "docType" && e.type !== "angularControlFlowBlock" && !q(e.prev) && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
831
738
  }
832
739
  function Ce(e) {
833
740
  var t;
834
- return ((t = e.lastChild) == null ? void 0 : t.isTrailingSpaceSensitive) && !e.lastChild.hasTrailingSpaces && !q(dt(e.lastChild)) && !Y(e);
741
+ return ((t = e.lastChild) == null ? void 0 : t.isTrailingSpaceSensitive) && !e.lastChild.hasTrailingSpaces && !q(ht(e.lastChild)) && !Y(e);
835
742
  }
836
743
  function he(e) {
837
- return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive && q(dt(e));
744
+ return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive && q(ht(e));
838
745
  }
839
746
  function Ue(e) {
840
747
  return e.next && !q(e.next) && q(e) && e.isTrailingSpaceSensitive && !e.hasTrailingSpaces;
841
748
  }
842
- function vi(e) {
749
+ function ms(e) {
843
750
  let t = e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);
844
751
  return t ? t[1] ? t[1].split(/\s+/u) : !0 : !1;
845
752
  }
846
753
  function Ve(e) {
847
754
  return !e.prev && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
848
755
  }
849
- function Ci(e, t, r) {
756
+ function gs(e, t, r) {
850
757
  var n;
851
758
  let { node: a } = e;
852
- if (!ht(a.attrs))
853
- return a.isSelfClosing ? " " : "";
854
- let i = ((n = a.prev) == null ? void 0 : n.type) === "comment" && vi(a.prev.value), s = typeof i == "boolean" ? () => i : Array.isArray(i) ? (v) => i.includes(v.rawName) : () => !1, u = e.map(({ node: v }) => s(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) ? y : _, l = [H([o ? " " : _, Z(p, u)])];
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)])];
855
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;
856
762
  }
857
- function yi(e) {
858
- return e.firstChild && Ve(e.firstChild) ? "" : yt(e);
763
+ function fs(e) {
764
+ return e.firstChild && Ve(e.firstChild) ? "" : Ct(e);
859
765
  }
860
- function Qe(e, t, r) {
766
+ function Ye(e, t, r) {
861
767
  let { node: n } = e;
862
- return [le(n, t), Ci(e, t, r), n.isSelfClosing ? "" : yi(n)];
768
+ return [le(n, t), gs(e, t, r), n.isSelfClosing ? "" : fs(n)];
863
769
  }
864
770
  function le(e, t) {
865
- return e.prev && Ue(e.prev) ? "" : [j(e, t), Ct(e, t)];
771
+ return e.prev && Ue(e.prev) ? "" : [j(e, t), vt(e, t)];
866
772
  }
867
773
  function j(e, t) {
868
- return Ve(e) ? yt(e.parent) : z(e) ? ve(e.prev, t) : "";
774
+ return Ve(e) ? Ct(e.parent) : z(e) ? ve(e.prev, t) : "";
869
775
  }
870
- var Vt = "<!doctype";
871
- function Ct(e, t) {
776
+ var Ut = "<!doctype";
777
+ function vt(e, t) {
872
778
  switch (e.type) {
873
779
  case "ieConditionalComment":
874
780
  case "ieConditionalStartComment":
@@ -880,84 +786,77 @@ function Ct(e, t) {
880
786
  case "docType": {
881
787
  if (e.value === "html") {
882
788
  let { filepath: n } = t;
883
- if (n && /\.html?$/u.test(n))
884
- return Vt;
789
+ if (n && /\.html?$/u.test(n)) return Ut;
885
790
  }
886
791
  let r = fe(e);
887
- return t.originalText.slice(r, r + Vt.length);
792
+ return t.originalText.slice(r, r + Ut.length);
888
793
  }
889
794
  case "angularIcuExpression":
890
795
  return "{";
891
796
  case "element":
892
- if (e.condition)
893
- return `<!--[if ${e.condition}]><!--><${e.rawName}`;
797
+ if (e.condition) return `<!--[if ${e.condition}]><!--><${e.rawName}`;
894
798
  default:
895
799
  return `<${e.rawName}`;
896
800
  }
897
801
  }
898
- function yt(e) {
802
+ function Ct(e) {
899
803
  switch (e.type) {
900
804
  case "ieConditionalComment":
901
805
  return "]>";
902
806
  case "element":
903
- if (e.condition)
904
- return "><!--<![endif]-->";
807
+ if (e.condition) return "><!--<![endif]-->";
905
808
  default:
906
809
  return ">";
907
810
  }
908
811
  }
909
- function Si(e, t) {
910
- if (!e.endSourceSpan)
911
- return "";
812
+ function vs(e, t) {
813
+ if (!e.endSourceSpan) return "";
912
814
  let r = e.startSourceSpan.end.offset;
913
- e.firstChild && Ve(e.firstChild) && (r -= yt(e).length);
815
+ e.firstChild && Ve(e.firstChild) && (r -= Ct(e).length);
914
816
  let n = e.endSourceSpan.start.offset;
915
- return e.lastChild && he(e.lastChild) ? n += vt(e, t).length : Ce(e) && (n -= ve(e.lastChild, t).length), t.originalText.slice(r, n);
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);
916
818
  }
917
- var Yr = Si, bi = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
918
- function _i(e, t) {
819
+ var Jr = vs, Cs = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
820
+ function Ss(e, t) {
919
821
  let { node: r } = e;
920
822
  switch (r.type) {
921
823
  case "element":
922
- if (U(r, t) || r.type === "interpolation")
923
- return;
924
- if (!r.isSelfClosing && mt(r, t)) {
925
- let n = Ht(r, t);
926
- return n ? async (a, i) => {
927
- let s = Yr(r, t), u = /^\s*$/u.test(s), o = "";
928
- return u || (o = await a(qr(s), { parser: n, __embeddedInHtml: !0 }), u = o === ""), [j(r, t), k(Qe(e, t, i)), u ? "" : y, o, u ? "" : y, Ye(r, t), $(r, t)];
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)];
929
830
  } : void 0;
930
831
  }
931
832
  break;
932
833
  case "text":
933
834
  if (U(r.parent, t)) {
934
- let n = Ht(r.parent, t);
935
- if (n)
936
- return async (a) => {
937
- let i = n === "markdown" ? Wr(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, s = { parser: n, __embeddedInHtml: !0 };
938
- if (t.parser === "html" && n === "babel") {
939
- let u = "script", { attrMap: o } = r.parent;
940
- o && (o.type === "module" || (o.type === "text/babel" || o.type === "text/jsx") && o["data-type"] === "module") && (u = "module"), s.__babelSourceType = u;
941
- }
942
- return [me, j(r, t), await a(i, s), $(r, t)];
943
- };
944
- } else if (r.parent.type === "interpolation")
945
- return async (n) => {
946
- let a = { __isInHtmlInterpolation: !0, __embeddedInHtml: !0 };
947
- return t.parser === "angular" ? a.parser = "__ng_interpolation" : t.parser === "vue" ? a.parser = ft(e, t) ? "__vue_ts_expression" : "__vue_expression" : a.parser = "__js_expression", [H([_, await n(r.value, a)]), r.parent.next && z(r.parent.next) ? " " : _];
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)];
948
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
+ };
949
848
  break;
950
849
  case "attribute":
951
- return di(e, t);
850
+ return cs(e, t);
952
851
  case "front-matter":
953
- return (n) => Kn(r, n);
852
+ return (n) => zn(r, n);
954
853
  case "angularControlFlowBlockParameters":
955
- return bi.has(e.parent.name) ? Jn : void 0;
854
+ return Cs.has(e.parent.name) ? Gn : void 0;
956
855
  case "angularLetDeclarationInitializer":
957
856
  return (n) => M(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: !1 });
958
857
  }
959
858
  }
960
- var wi = _i, ne = null;
859
+ var ys = Ss, ne = null;
961
860
  function ce(e) {
962
861
  if (ne !== null && typeof ne.property) {
963
862
  let t = ne;
@@ -965,133 +864,128 @@ function ce(e) {
965
864
  }
966
865
  return ne = ce.prototype = e ?? /* @__PURE__ */ Object.create(null), new ce();
967
866
  }
968
- var Ai = 10;
969
- for (let e = 0; e <= Ai; e++)
970
- ce();
971
- function ki(e) {
867
+ var bs = 10;
868
+ for (let e = 0; e <= bs; e++) ce();
869
+ function _s(e) {
972
870
  return ce(e);
973
871
  }
974
- function Ei(e, t = "type") {
975
- ki(e);
872
+ function ws(e, t = "type") {
873
+ _s(e);
976
874
  function r(n) {
977
- let a = n[t], i = e[a];
978
- if (!Array.isArray(i))
979
- throw Object.assign(new Error(`Missing visitor keys for '${a}'.`), { node: n });
980
- return i;
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;
981
878
  }
982
879
  return r;
983
880
  }
984
- var xi = Ei, Di = { "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"] }, Ti = Di, Bi = xi(Ti), Li = Bi, Fi = "format", qi = /^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u, Ni = /^\s*<!--\s*@(?:format|prettier)\s*-->/u;
985
- function Ii(e) {
986
- return Ni.test(e);
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);
987
884
  }
988
- function Pi(e) {
989
- return qi.test(e);
885
+ function qs(e) {
886
+ return Bs.test(e);
990
887
  }
991
- function Mi(e) {
992
- return `<!-- @${Fi} -->
888
+ function Ns(e) {
889
+ return `<!-- @${Ts} -->
993
890
 
994
891
  ${e}`;
995
892
  }
996
- var Hi = /* @__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"])]]);
997
- function Qr(e) {
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) {
998
895
  let t = Re(e);
999
- return e.type === "element" && !e.endSourceSpan && ht(e.children) ? Math.max(t, Qr(de(!1, e.children, -1))) : t;
896
+ return e.type === "element" && !e.endSourceSpan && pt(e.children) ? Math.max(t, Yr(de(!1, e.children, -1))) : t;
1000
897
  }
1001
898
  function ae(e, t, r) {
1002
899
  let n = e.node;
1003
900
  if (Me(n)) {
1004
- let a = Qr(n);
1005
- return [j(n, t), P(R.trimEnd(t.originalText.slice(fe(n) + (n.prev && Ue(n.prev) ? Ct(n).length : 0), a - (n.next && z(n.next) ? ve(n, t).length : 0)))), $(n, t)];
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)];
1006
903
  }
1007
904
  return r();
1008
905
  }
1009
906
  function _e(e, t) {
1010
- return q(e) && q(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ? $e(t) ? y : _ : "" : $e(t) ? y : 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 || $e(t) || z(t) && e.lastChild && he(e.lastChild) && e.lastChild.lastChild && he(e.lastChild.lastChild) ? y : t.hasLeadingSpaces ? _ : D;
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;
1011
908
  }
1012
909
  function St(e, t, r) {
1013
910
  let { node: n } = e;
1014
- if (Pr(n))
1015
- return [me, ...e.map((i) => {
1016
- let s = i.node, u = s.prev ? _e(s.prev, s) : "";
1017
- return [u ? [u, be(s.prev) ? y : ""] : "", ae(i, t, r)];
1018
- }, "children")];
1019
- let a = n.children.map(() => Symbol(""));
1020
- return e.map((i, s) => {
1021
- let u = i.node;
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;
1022
918
  if (q(u)) {
1023
919
  if (u.prev && q(u.prev)) {
1024
920
  let C = _e(u.prev, u);
1025
- if (C)
1026
- return be(u.prev) ? [y, y, ae(i, t, r)] : [C, ae(i, t, r)];
921
+ if (C) return be(u.prev) ? [S, S, ae(s, t, r)] : [C, ae(s, t, r)];
1027
922
  }
1028
- return ae(i, t, r);
923
+ return ae(s, t, r);
1029
924
  }
1030
925
  let o = [], p = [], l = [], v = [], d = u.prev ? _e(u.prev, u) : "", g = u.next ? _e(u, u.next) : "";
1031
- return d && (be(u.prev) ? o.push(y, y) : d === y ? o.push(y) : q(u.prev) ? p.push(d) : p.push(xe("", D, { groupId: a[s - 1] }))), g && (be(u) ? q(u.next) && v.push(y, y) : g === y ? q(u.next) && v.push(y) : l.push(g)), [...o, k([...p, k([ae(i, t, r), ...l], { id: a[s] })]), ...v];
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];
1032
927
  }, "children");
1033
928
  }
1034
- function Ri(e, t, r) {
929
+ function Ps(e, t, r) {
1035
930
  let { node: n } = e, a = [];
1036
- Ui(e) && a.push("} "), a.push("@", n.name), n.parameters && a.push(" (", k(r("parameters")), ")"), a.push(" {");
1037
- let i = Zr(n);
1038
- return n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = !0, n.lastChild.hasTrailingSpaces = !0, a.push(H([y, St(e, t, r)])), i && a.push(y, "}")) : i && a.push("}"), k(a, { shouldBreak: !0 });
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 });
1039
934
  }
1040
- function Zr(e) {
935
+ function Qr(e) {
1041
936
  var t, r;
1042
- return !(((t = e.next) == null ? void 0 : t.type) === "angularControlFlowBlock" && (r = Hi.get(e.name)) != null && r.has(e.next.name));
937
+ return !(((t = e.next) == null ? void 0 : t.type) === "angularControlFlowBlock" && (r = Is.get(e.name)) != null && r.has(e.next.name));
1043
938
  }
1044
- function Ui(e) {
939
+ function Ms(e) {
1045
940
  let { previous: t } = e;
1046
- return (t == null ? void 0 : t.type) === "angularControlFlowBlock" && !Me(t) && !Zr(t);
941
+ return t?.type === "angularControlFlowBlock" && !Me(t) && !Qr(t);
1047
942
  }
1048
- function Vi(e, t, r) {
943
+ function Hs(e, t, r) {
1049
944
  return [H([D, Z([";", _], e.map(r, "children"))]), D];
1050
945
  }
1051
- function Oi(e, t, r) {
946
+ function Rs(e, t, r) {
1052
947
  let { node: n } = e;
1053
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)];
1054
949
  }
1055
- function Wi(e, t, r) {
950
+ function Us(e, t, r) {
1056
951
  let { node: n } = e;
1057
- return [n.value, " {", k([H([D, e.map(({ node: a, isLast: i }) => {
1058
- let s = [r()];
1059
- return a.type === "text" && (a.hasLeadingSpaces && s.unshift(_), a.hasTrailingSpaces && !i && s.push(_)), s;
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;
1060
955
  }, "expression")]), D]), "}"];
1061
956
  }
1062
- function $i(e, t, r) {
957
+ function Vs(e, t, r) {
1063
958
  let { node: n } = e;
1064
- if (Nr(n, t))
1065
- return [j(n, t), k(Qe(e, t, r)), P(Yr(n, t)), ...Ye(n, t), $(n, t)];
1066
- 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, i = Symbol("element-attr-group-id"), s = (l) => k([k(Qe(e, t, r), { id: i }), l, Ye(n, t)]), u = (l) => a ? Bn(l, { groupId: i }) : (U(n, t) || He(n, t)) && n.parent.type === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? l : H(l), o = () => a ? xe(D, "", { groupId: i }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? _ : n.firstChild.type === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? Dn(D) : D, p = () => (n.next ? z(n.next) : Ce(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : a ? xe(D, "", { groupId: i }) : 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;
1067
- return n.children.length === 0 ? s(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? _ : "") : s([ya(n) ? me : "", u([o(), St(e, t, r)]), p()]);
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()]);
1068
962
  }
1069
963
  function De(e) {
1070
964
  return e >= 9 && e <= 32 || e == 160;
1071
965
  }
1072
- function bt(e) {
966
+ function yt(e) {
1073
967
  return 48 <= e && e <= 57;
1074
968
  }
1075
969
  function Te(e) {
1076
970
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
1077
971
  }
1078
- function zi(e) {
1079
- return e >= 97 && e <= 102 || e >= 65 && e <= 70 || bt(e);
972
+ function Os(e) {
973
+ return e >= 97 && e <= 102 || e >= 65 && e <= 70 || yt(e);
1080
974
  }
1081
- function _t(e) {
975
+ function bt(e) {
1082
976
  return e === 10 || e === 13;
1083
977
  }
1084
- function Ot(e) {
978
+ function Vt(e) {
1085
979
  return 48 <= e && e <= 55;
1086
980
  }
1087
- function je(e) {
981
+ function ze(e) {
1088
982
  return e === 39 || e === 34 || e === 96;
1089
983
  }
1090
- var ji = /-+([a-z0-9])/g;
1091
- function Gi(e) {
1092
- return e.replace(ji, (...t) => t[1].toUpperCase());
984
+ var Ws = /-+([a-z0-9])/g;
985
+ function $s(e) {
986
+ return e.replace(Ws, (...t) => t[1].toUpperCase());
1093
987
  }
1094
- var Ze = class en {
988
+ var Qe = class Zr {
1095
989
  constructor(t, r, n, a) {
1096
990
  this.file = t, this.offset = r, this.line = n, this.col = a;
1097
991
  }
@@ -1099,36 +993,33 @@ var Ze = class en {
1099
993
  return this.offset != null ? `${this.file.url}@${this.line}:${this.col}` : this.file.url;
1100
994
  }
1101
995
  moveBy(t) {
1102
- let r = this.file.content, n = r.length, a = this.offset, i = this.line, s = this.col;
1103
- for (; a > 0 && t < 0; )
1104
- if (a--, t++, r.charCodeAt(a) == 10) {
1105
- i--;
1106
- let u = r.substring(0, a - 1).lastIndexOf(String.fromCharCode(10));
1107
- s = u > 0 ? a - u : a;
1108
- } else
1109
- s--;
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--;
1110
1003
  for (; a < n && t > 0; ) {
1111
1004
  let u = r.charCodeAt(a);
1112
- a++, t--, u == 10 ? (i++, s = 0) : s++;
1005
+ a++, t--, u == 10 ? (s++, i = 0) : i++;
1113
1006
  }
1114
- return new en(this.file, a, i, s);
1007
+ return new Zr(this.file, a, s, i);
1115
1008
  }
1116
1009
  getContext(t, r) {
1117
1010
  let n = this.file.content, a = this.offset;
1118
1011
  if (a != null) {
1119
1012
  a > n.length - 1 && (a = n.length - 1);
1120
- let i = a, s = 0, u = 0;
1121
- for (; s < t && a > 0 && (a--, s++, !(n[a] == `
1122
- ` && ++u == r)); )
1123
- ;
1124
- for (s = 0, u = 0; s < t && i < n.length - 1 && (i++, s++, !(n[i] == `
1125
- ` && ++u == r)); )
1126
- ;
1127
- return { before: n.substring(a, this.offset), after: n.substring(this.offset, i + 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) };
1128
1019
  }
1129
1020
  return null;
1130
1021
  }
1131
- }, tn = class {
1022
+ }, en = class {
1132
1023
  constructor(e, t) {
1133
1024
  this.content = e, this.url = t;
1134
1025
  }
@@ -1143,7 +1034,7 @@ var Ze = class en {
1143
1034
  (function(e) {
1144
1035
  e[e.WARNING = 0] = "WARNING", e[e.ERROR = 1] = "ERROR";
1145
1036
  })(Be || (Be = {}));
1146
- var rn = class {
1037
+ var tn = class {
1147
1038
  constructor(e, t, r = Be.ERROR, n) {
1148
1039
  this.span = e, this.msg = t, this.level = r, this.relatedError = n;
1149
1040
  }
@@ -1155,13 +1046,12 @@ var rn = class {
1155
1046
  let e = this.span.details ? `, ${this.span.details}` : "";
1156
1047
  return `${this.contextualMessage()}: ${this.span.start}${e}`;
1157
1048
  }
1158
- }, Ki = [Ji, Yi, Zi, ts, rs, is, ns, as, ss, es];
1159
- function Xi(e, t) {
1160
- for (let r of Ki)
1161
- r(e, t);
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);
1162
1052
  return e;
1163
1053
  }
1164
- function Ji(e) {
1054
+ function Gs(e) {
1165
1055
  e.walk((t) => {
1166
1056
  if (t.type === "element" && t.tagDefinition.ignoreFirstLf && t.children.length > 0 && t.children[0].type === "text" && t.children[0].value[0] === `
1167
1057
  `) {
@@ -1170,146 +1060,133 @@ function Ji(e) {
1170
1060
  }
1171
1061
  });
1172
1062
  }
1173
- function Yi(e) {
1063
+ function Ks(e) {
1174
1064
  let t = (r) => {
1175
1065
  var n, a;
1176
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;
1177
1067
  };
1178
1068
  e.walk((r) => {
1179
- if (r.children)
1180
- for (let n = 0; n < r.children.length; n++) {
1181
- let a = r.children[n];
1182
- if (!t(a))
1183
- continue;
1184
- let i = a.prev, s = a.firstChild;
1185
- r.removeChild(i), n--;
1186
- let u = new m(i.sourceSpan.start, s.sourceSpan.end), o = new m(u.start, a.sourceSpan.end);
1187
- a.condition = i.condition, a.sourceSpan = o, a.startSourceSpan = u, a.removeChild(s);
1188
- }
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
+ }
1189
1077
  });
1190
1078
  }
1191
- function Qi(e, t, r) {
1079
+ function Xs(e, t, r) {
1192
1080
  e.walk((n) => {
1193
- if (n.children)
1194
- for (let a = 0; a < n.children.length; a++) {
1195
- let i = n.children[a];
1196
- if (i.type !== "text" && !t(i))
1197
- continue;
1198
- i.type !== "text" && (i.type = "text", i.value = r(i));
1199
- let s = i.prev;
1200
- !s || s.type !== "text" || (s.value += i.value, s.sourceSpan = new m(s.sourceSpan.start, i.sourceSpan.end), n.removeChild(i), a--);
1201
- }
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
+ }
1202
1088
  });
1203
1089
  }
1204
- function Zi(e) {
1205
- return Qi(e, (t) => t.type === "cdata", (t) => `<![CDATA[${t.value}]]>`);
1090
+ function Js(e) {
1091
+ return Xs(e, (t) => t.type === "cdata", (t) => `<![CDATA[${t.value}]]>`);
1206
1092
  }
1207
- function es(e) {
1093
+ function Ys(e) {
1208
1094
  let t = (r) => {
1209
1095
  var n, a;
1210
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";
1211
1097
  };
1212
1098
  e.walk((r) => {
1213
- if (r.children)
1214
- for (let n = 0; n < r.children.length; n++) {
1215
- let a = r.children[n];
1216
- if (!t(a))
1217
- continue;
1218
- let i = a.prev, s = a.next;
1219
- i.value += `<${a.rawName}>` + a.firstChild.value + `</${a.rawName}>` + s.value, i.sourceSpan = new m(i.sourceSpan.start, s.sourceSpan.end), i.isTrailingSpaceSensitive = s.isTrailingSpaceSensitive, i.hasTrailingSpaces = s.hasTrailingSpaces, r.removeChild(a), n--, r.removeChild(s);
1220
- }
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
+ }
1221
1105
  });
1222
1106
  }
1223
- function ts(e, t) {
1224
- if (t.parser === "html")
1225
- return;
1107
+ function Qs(e, t) {
1108
+ if (t.parser === "html") return;
1226
1109
  let r = /\{\{(.+?)\}\}/su;
1227
1110
  e.walk((n) => {
1228
- if (ma(n, t))
1229
- for (let a of n.children) {
1230
- if (a.type !== "text")
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) });
1231
1118
  continue;
1232
- let i = a.sourceSpan.start, s = null, u = a.value.split(r);
1233
- for (let o = 0; o < u.length; o++, i = s) {
1234
- let p = u[o];
1235
- if (o % 2 === 0) {
1236
- s = i.moveBy(p.length), p.length > 0 && n.insertChildBefore(a, { type: "text", value: p, sourceSpan: new m(i, s) });
1237
- continue;
1238
- }
1239
- s = i.moveBy(p.length + 4), n.insertChildBefore(a, { type: "interpolation", sourceSpan: new m(i, s), children: p.length === 0 ? [] : [{ type: "text", value: p, sourceSpan: new m(i.moveBy(2), s.moveBy(-2)) }] });
1240
1119
  }
1241
- n.removeChild(a);
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)) }] });
1242
1121
  }
1122
+ n.removeChild(a);
1123
+ }
1243
1124
  });
1244
1125
  }
1245
- function rs(e, t) {
1126
+ function Zs(e, t) {
1246
1127
  e.walk((r) => {
1247
1128
  let n = r.$children;
1248
- if (!n)
1249
- return;
1129
+ if (!n) return;
1250
1130
  if (n.length === 0 || n.length === 1 && n[0].type === "text" && R.trim(n[0].value).length === 0) {
1251
1131
  r.hasDanglingSpaces = n.length > 0, r.$children = [];
1252
1132
  return;
1253
1133
  }
1254
- let a = ga(r, t), i = Ir(r);
1255
- if (!a)
1256
- for (let s = 0; s < n.length; s++) {
1257
- let u = n[s];
1258
- if (u.type !== "text")
1259
- continue;
1260
- let { leadingWhitespace: o, text: p, trailingWhitespace: l } = ha(u.value), v = u.prev, d = u.next;
1261
- 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), s--, (o || l) && (v && (v.hasTrailingSpaces = !0), d && (d.hasLeadingSpaces = !0)));
1262
- }
1263
- r.isWhitespaceSensitive = a, r.isIndentationSensitive = i;
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;
1264
1142
  });
1265
1143
  }
1266
- function ns(e) {
1144
+ function ei(e) {
1267
1145
  e.walk((t) => {
1268
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);
1269
1147
  });
1270
1148
  }
1271
- function as(e, t) {
1149
+ function ti(e, t) {
1272
1150
  e.walk((r) => {
1273
1151
  r.type === "element" && (r.hasHtmComponentClosingTag = r.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset, r.endSourceSpan.end.offset)));
1274
1152
  });
1275
1153
  }
1276
- function is(e, t) {
1154
+ function ri(e, t) {
1277
1155
  e.walk((r) => {
1278
- r.cssDisplay = La(r, t);
1156
+ r.cssDisplay = Da(r, t);
1279
1157
  });
1280
1158
  }
1281
- function ss(e, t) {
1159
+ function ni(e, t) {
1282
1160
  e.walk((r) => {
1283
1161
  let { children: n } = r;
1284
1162
  if (n) {
1285
1163
  if (n.length === 0) {
1286
- r.isDanglingSpaceSensitive = Ca(r, t);
1164
+ r.isDanglingSpaceSensitive = ga(r, t);
1287
1165
  return;
1288
1166
  }
1289
- for (let a of n)
1290
- a.isLeadingSpaceSensitive = fa(a, t), a.isTrailingSpaceSensitive = va(a, t);
1167
+ for (let a of n) a.isLeadingSpaceSensitive = da(a, t), a.isTrailingSpaceSensitive = ma(a, t);
1291
1168
  for (let a = 0; a < n.length; a++) {
1292
- let i = n[a];
1293
- i.isLeadingSpaceSensitive = (a === 0 || i.prev.isTrailingSpaceSensitive) && i.isLeadingSpaceSensitive, i.isTrailingSpaceSensitive = (a === n.length - 1 || i.next.isLeadingSpaceSensitive) && i.isTrailingSpaceSensitive;
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;
1294
1171
  }
1295
1172
  }
1296
1173
  });
1297
1174
  }
1298
- var us = Xi;
1299
- function os(e, t, r) {
1175
+ var ai = js;
1176
+ function si(e, t, r) {
1300
1177
  let { node: n } = e;
1301
1178
  switch (n.type) {
1302
1179
  case "front-matter":
1303
1180
  return P(n.raw);
1304
1181
  case "root":
1305
- return t.__onHtmlRoot && t.__onHtmlRoot(n), [k(St(e, t, r)), y];
1182
+ return t.__onHtmlRoot && t.__onHtmlRoot(n), [k(St(e, t, r)), S];
1306
1183
  case "element":
1307
1184
  case "ieConditionalComment":
1308
- return $i(e, t, r);
1185
+ return Vs(e, t, r);
1309
1186
  case "angularControlFlowBlock":
1310
- return Ri(e, t, r);
1187
+ return Ps(e, t, r);
1311
1188
  case "angularControlFlowBlockParameters":
1312
- return Vi(e, t, r);
1189
+ return Hs(e, t, r);
1313
1190
  case "angularControlFlowBlockParameter":
1314
1191
  return R.trim(n.expression);
1315
1192
  case "angularLetDeclaration":
@@ -1317,9 +1194,9 @@ function os(e, t, r) {
1317
1194
  case "angularLetDeclarationInitializer":
1318
1195
  return n.value;
1319
1196
  case "angularIcuExpression":
1320
- return Oi(e, t, r);
1197
+ return Rs(e, t, r);
1321
1198
  case "angularIcuCase":
1322
- return Wi(e, t, r);
1199
+ return Us(e, t, r);
1323
1200
  case "ieConditionalStartComment":
1324
1201
  case "ieConditionalEndComment":
1325
1202
  return [le(n), oe(n)];
@@ -1328,67 +1205,63 @@ function os(e, t, r) {
1328
1205
  case "text": {
1329
1206
  if (n.parent.type === "interpolation") {
1330
1207
  let u = /\n[^\S\n]*$/u, o = u.test(n.value), p = o ? n.value.replace(u, "") : n.value;
1331
- return [P(p), o ? y : ""];
1208
+ return [P(p), o ? S : ""];
1332
1209
  }
1333
- let a = j(n, t), i = zr(n), s = $(n, t);
1334
- return i[0] = [a, i[0]], i.push([i.pop(), s]), Br(i);
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);
1335
1212
  }
1336
1213
  case "docType":
1337
1214
  return [k([le(n, t), " ", L(!1, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), oe(n, t)];
1338
1215
  case "comment":
1339
1216
  return [j(n, t), P(t.originalText.slice(fe(n), Re(n))), $(n, t)];
1340
1217
  case "attribute": {
1341
- if (n.value === null)
1342
- return n.rawName;
1343
- let a = $r(n.value), i = In(a, '"');
1344
- return [n.rawName, "=", i, P(i === '"' ? L(!1, a, '"', "&quot;") : L(!1, a, "'", "&apos;")), i];
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];
1345
1221
  }
1346
- case "cdata":
1347
1222
  default:
1348
- throw new On(n, "HTML");
1223
+ throw new Rn(n, "HTML");
1349
1224
  }
1350
1225
  }
1351
- var ls = { preprocess: us, print: os, insertPragma: Mi, massageAstNode: jn, embed: wi, getVisitorKeys: Li }, cs = ls, ps = [{ 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 }], Wt = { bracketSpacing: { category: "Common", type: "boolean", default: !0, description: "Print spaces between brackets.", oppositeDescription: "Do not print spaces between brackets." }, objectWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap object literals.", choices: [{ value: "preserve", description: "Keep as multi-line, if there is a newline between the opening brace and first property." }, { value: "collapse", description: "Fit to a single line when possible." }] }, singleQuote: { category: "Common", type: "boolean", default: !1, description: "Use single quotes instead of double quotes." }, proseWrap: { category: "Common", type: "choice", default: "preserve", description: "How to wrap prose.", choices: [{ value: "always", description: "Wrap prose if it exceeds the print width." }, { value: "never", description: "Do not wrap prose." }, { value: "preserve", description: "Wrap prose as-is." }] }, bracketSameLine: { category: "Common", type: "boolean", default: !1, description: "Put > of opening tags on the last line instead of on a new line." }, singleAttributePerLine: { category: "Common", type: "boolean", default: !1, description: "Enforce single attribute per line in HTML, Vue and JSX." } }, $t = "HTML", hs = { bracketSameLine: Wt.bracketSameLine, htmlWhitespaceSensitivity: { category: $t, 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: Wt.singleAttributePerLine, vueIndentScriptAndStyle: { category: $t, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, ds = hs, nn = {};
1352
- gr(nn, { angular: () => yu, html: () => fu, lwc: () => bu, mjml: () => Cu, vue: () => Su });
1353
- var zt;
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;
1354
1229
  (function(e) {
1355
1230
  e[e.Emulated = 0] = "Emulated", e[e.None = 2] = "None", e[e.ShadowDom = 3] = "ShadowDom";
1356
- })(zt || (zt = {}));
1357
- var jt;
1231
+ })($t || ($t = {}));
1232
+ var zt;
1358
1233
  (function(e) {
1359
1234
  e[e.OnPush = 0] = "OnPush", e[e.Default = 1] = "Default";
1360
- })(jt || (jt = {}));
1361
- var Gt;
1235
+ })(zt || (zt = {}));
1236
+ var jt;
1362
1237
  (function(e) {
1363
1238
  e[e.None = 0] = "None", e[e.SignalBased = 1] = "SignalBased", e[e.HasDecoratorInputTransform = 2] = "HasDecoratorInputTransform";
1364
- })(Gt || (Gt = {}));
1365
- var Kt = { name: "custom-elements" }, Xt = { name: "no-errors-schema" }, W;
1239
+ })(jt || (jt = {}));
1240
+ var Gt = { name: "custom-elements" }, Kt = { name: "no-errors-schema" }, W;
1366
1241
  (function(e) {
1367
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";
1368
1243
  })(W || (W = {}));
1369
- var Jt;
1244
+ var Xt;
1370
1245
  (function(e) {
1371
1246
  e[e.Error = 0] = "Error", e[e.Warning = 1] = "Warning", e[e.Ignore = 2] = "Ignore";
1372
- })(Jt || (Jt = {}));
1247
+ })(Xt || (Xt = {}));
1373
1248
  var I;
1374
1249
  (function(e) {
1375
1250
  e[e.RAW_TEXT = 0] = "RAW_TEXT", e[e.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", e[e.PARSABLE_DATA = 2] = "PARSABLE_DATA";
1376
1251
  })(I || (I = {}));
1377
1252
  function Oe(e, t = !0) {
1378
- if (e[0] != ":")
1379
- return [null, e];
1253
+ if (e[0] != ":") return [null, e];
1380
1254
  let r = e.indexOf(":", 1);
1381
1255
  if (r === -1) {
1382
- if (t)
1383
- throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);
1256
+ if (t) throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);
1384
1257
  return [null, e];
1385
1258
  }
1386
1259
  return [e.slice(1, r), e.slice(r + 1)];
1387
1260
  }
1388
- function Yt(e) {
1261
+ function Jt(e) {
1389
1262
  return Oe(e)[1] === "ng-container";
1390
1263
  }
1391
- function Qt(e) {
1264
+ function Yt(e) {
1392
1265
  return Oe(e)[1] === "ng-content";
1393
1266
  }
1394
1267
  function ke(e) {
@@ -1398,70 +1271,63 @@ function Le(e, t) {
1398
1271
  return e ? `:${e}:${t}` : t;
1399
1272
  }
1400
1273
  var Ee;
1401
- function Zt() {
1274
+ function Qt() {
1402
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;
1403
1276
  }
1404
1277
  function we(e, t) {
1405
- for (let r of t)
1406
- Ee[r.toLowerCase()] = e;
1278
+ for (let r of t) Ee[r.toLowerCase()] = e;
1407
1279
  }
1408
- var ms = class {
1409
- }, gs = "boolean", fs = "number", vs = "string", Cs = "object", ys = ["[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:|"], an = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex" })), Ss = Array.from(an).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()), bs = class extends ms {
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 {
1410
1282
  constructor() {
1411
- super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), ys.forEach((e) => {
1412
- let t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), [n, a] = e.split("|"), i = a.split(","), [s, u] = n.split("^");
1413
- s.split(",").forEach((p) => {
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) => {
1414
1286
  this._schema.set(p.toLowerCase(), t), this._eventSchema.set(p.toLowerCase(), r);
1415
1287
  });
1416
1288
  let o = u && this._schema.get(u.toLowerCase());
1417
1289
  if (o) {
1418
- for (let [p, l] of o)
1419
- t.set(p, l);
1420
- for (let p of this._eventSchema.get(u.toLowerCase()))
1421
- r.add(p);
1290
+ for (let [p, l] of o) t.set(p, l);
1291
+ for (let p of this._eventSchema.get(u.toLowerCase())) r.add(p);
1422
1292
  }
1423
- i.forEach((p) => {
1424
- if (p.length > 0)
1425
- switch (p[0]) {
1426
- case "*":
1427
- r.add(p.substring(1));
1428
- break;
1429
- case "!":
1430
- t.set(p.substring(1), gs);
1431
- break;
1432
- case "#":
1433
- t.set(p.substring(1), fs);
1434
- break;
1435
- case "%":
1436
- t.set(p.substring(1), Cs);
1437
- break;
1438
- default:
1439
- t.set(p, vs);
1440
- }
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
+ }
1441
1310
  });
1442
1311
  });
1443
1312
  }
1444
1313
  hasProperty(e, t, r) {
1445
- if (r.some((n) => n.name === Xt.name))
1446
- return !0;
1314
+ if (r.some((n) => n.name === Kt.name)) return !0;
1447
1315
  if (e.indexOf("-") > -1) {
1448
- if (Yt(e) || Qt(e))
1449
- return !1;
1450
- if (r.some((n) => n.name === Kt.name))
1451
- return !0;
1316
+ if (Jt(e) || Yt(e)) return !1;
1317
+ if (r.some((n) => n.name === Gt.name)) return !0;
1452
1318
  }
1453
1319
  return (this._schema.get(e.toLowerCase()) || this._schema.get("unknown")).has(t);
1454
1320
  }
1455
1321
  hasElement(e, t) {
1456
- return t.some((r) => r.name === Xt.name) || e.indexOf("-") > -1 && (Yt(e) || Qt(e) || t.some((r) => r.name === Kt.name)) ? !0 : this._schema.has(e.toLowerCase());
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());
1457
1323
  }
1458
1324
  securityContext(e, t, r) {
1459
1325
  r && (t = this.getMappedPropName(t)), e = e.toLowerCase(), t = t.toLowerCase();
1460
- let n = Zt()[e + "|" + t];
1461
- return n || (n = Zt()["*|" + t], n || W.NONE);
1326
+ let n = Qt()[e + "|" + t];
1327
+ return n || (n = Qt()["*|" + t], n || W.NONE);
1462
1328
  }
1463
1329
  getMappedPropName(e) {
1464
- return an.get(e) ?? e;
1330
+ return nn.get(e) ?? e;
1465
1331
  }
1466
1332
  getDefaultComponentElementName() {
1467
1333
  return "ng-component";
@@ -1478,27 +1344,25 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
1478
1344
  }
1479
1345
  allKnownAttributesOfElement(e) {
1480
1346
  let t = this._schema.get(e.toLowerCase()) || this._schema.get("unknown");
1481
- return Array.from(t.keys()).map((r) => Ss.get(r) ?? r);
1347
+ return Array.from(t.keys()).map((r) => vi.get(r) ?? r);
1482
1348
  }
1483
1349
  allKnownEventsOfElement(e) {
1484
1350
  return Array.from(this._eventSchema.get(e.toLowerCase()) ?? []);
1485
1351
  }
1486
1352
  normalizeAnimationStyleProperty(e) {
1487
- return Gi(e);
1353
+ return $s(e);
1488
1354
  }
1489
1355
  normalizeAnimationStyleValue(e, t, r) {
1490
- let n = "", a = r.toString().trim(), i = null;
1491
- if (_s(e) && r !== 0 && r !== "0")
1492
- if (typeof r == "number")
1493
- n = "px";
1494
- else {
1495
- let s = r.match(/^[+-]?[\d\.]+([a-z]*)$/);
1496
- s && s[1].length == 0 && (i = `Please provide a CSS unit value for ${t}:${r}`);
1497
- }
1498
- return { error: i, value: a + n };
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 };
1499
1363
  }
1500
1364
  };
1501
- function _s(e) {
1365
+ function Si(e) {
1502
1366
  switch (e) {
1503
1367
  case "width":
1504
1368
  case "height":
@@ -1534,8 +1398,8 @@ function _s(e) {
1534
1398
  }
1535
1399
  }
1536
1400
  var h = class {
1537
- constructor({ closedByChildren: e, implicitNamespacePrefix: t, contentType: r = I.PARSABLE_DATA, closedByParent: n = !1, isVoid: a = !1, ignoreFirstLf: i = !1, preventNamespaceInheritance: s = !1, canSelfClose: u = !1 } = {}) {
1538
- 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 = i, this.preventNamespaceInheritance = s, this.canSelfClose = u ?? a;
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;
1539
1403
  }
1540
1404
  isClosedByChild(e) {
1541
1405
  return this.isVoid || e.toLowerCase() in this.closedByChildren;
@@ -1543,47 +1407,47 @@ var h = class {
1543
1407
  getContentType(e) {
1544
1408
  return typeof this.contentType == "object" ? (e === void 0 ? void 0 : this.contentType[e]) ?? this.contentType.default : this.contentType;
1545
1409
  }
1546
- }, er, ie;
1547
- function et(e) {
1548
- return ie || (er = new h({ canSelfClose: !0 }), ie = 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 bs().allKnownElementNames().forEach((t) => {
1549
- !ie[t] && ke(t) === null && (ie[t] = new h({ canSelfClose: !1 }));
1550
- })), ie[e] ?? er;
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;
1551
1415
  }
1552
1416
  var re = class {
1553
1417
  constructor(e, t) {
1554
1418
  this.sourceSpan = e, this.i18n = t;
1555
1419
  }
1556
- }, ws = class extends re {
1420
+ }, yi = class extends re {
1557
1421
  constructor(e, t, r, n) {
1558
1422
  super(t, n), this.value = e, this.tokens = r, this.type = "text";
1559
1423
  }
1560
1424
  visit(e, t) {
1561
1425
  return e.visitText(this, t);
1562
1426
  }
1563
- }, As = class extends re {
1427
+ }, bi = class extends re {
1564
1428
  constructor(e, t, r, n) {
1565
1429
  super(t, n), this.value = e, this.tokens = r, this.type = "cdata";
1566
1430
  }
1567
1431
  visit(e, t) {
1568
1432
  return e.visitCdata(this, t);
1569
1433
  }
1570
- }, ks = class extends re {
1571
- constructor(e, t, r, n, a, i) {
1572
- super(n, i), this.switchValue = e, this.type = t, this.cases = r, this.switchValueSourceSpan = a;
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;
1573
1437
  }
1574
1438
  visit(e, t) {
1575
1439
  return e.visitExpansion(this, t);
1576
1440
  }
1577
- }, Es = class {
1441
+ }, wi = class {
1578
1442
  constructor(e, t, r, n, a) {
1579
1443
  this.value = e, this.expression = t, this.sourceSpan = r, this.valueSourceSpan = n, this.expSourceSpan = a, this.type = "expansionCase";
1580
1444
  }
1581
1445
  visit(e, t) {
1582
1446
  return e.visitExpansionCase(this, t);
1583
1447
  }
1584
- }, xs = class extends re {
1585
- constructor(e, t, r, n, a, i, s) {
1586
- super(r, s), this.name = e, this.value = t, this.keySpan = n, this.valueSpan = a, this.valueTokens = i, this.type = "attribute";
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";
1587
1451
  }
1588
1452
  visit(e, t) {
1589
1453
  return e.visitAttribute(this, t);
@@ -1592,20 +1456,20 @@ var re = class {
1592
1456
  return this.keySpan;
1593
1457
  }
1594
1458
  }, V = class extends re {
1595
- constructor(e, t, r, n, a, i = null, s = null, u) {
1596
- super(n, u), this.name = e, this.attrs = t, this.children = r, this.startSourceSpan = a, this.endSourceSpan = i, this.nameSpan = s, this.type = "element";
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";
1597
1461
  }
1598
1462
  visit(e, t) {
1599
1463
  return e.visitElement(this, t);
1600
1464
  }
1601
- }, Ds = class {
1465
+ }, ki = class {
1602
1466
  constructor(e, t) {
1603
1467
  this.value = e, this.sourceSpan = t, this.type = "comment";
1604
1468
  }
1605
1469
  visit(e, t) {
1606
1470
  return e.visitComment(this, t);
1607
1471
  }
1608
- }, Ts = class {
1472
+ }, Ei = class {
1609
1473
  constructor(e, t) {
1610
1474
  this.value = e, this.sourceSpan = t, this.type = "docType";
1611
1475
  }
@@ -1613,20 +1477,20 @@ var re = class {
1613
1477
  return e.visitDocType(this, t);
1614
1478
  }
1615
1479
  }, K = class extends re {
1616
- constructor(e, t, r, n, a, i, s = null, u) {
1617
- super(n, u), this.name = e, this.parameters = t, this.children = r, this.nameSpan = a, this.startSourceSpan = i, this.endSourceSpan = s, this.type = "block";
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";
1618
1482
  }
1619
1483
  visit(e, t) {
1620
1484
  return e.visitBlock(this, t);
1621
1485
  }
1622
- }, tr = class {
1486
+ }, er = class {
1623
1487
  constructor(e, t) {
1624
1488
  this.expression = e, this.sourceSpan = t, this.type = "blockParameter", this.startSourceSpan = null, this.endSourceSpan = null;
1625
1489
  }
1626
1490
  visit(e, t) {
1627
1491
  return e.visitBlockParameter(this, t);
1628
1492
  }
1629
- }, rr = class {
1493
+ }, tr = class {
1630
1494
  constructor(e, t, r, n, a) {
1631
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;
1632
1496
  }
@@ -1634,14 +1498,14 @@ var re = class {
1634
1498
  return e.visitLetDeclaration(this, t);
1635
1499
  }
1636
1500
  };
1637
- function sn(e, t, r = null) {
1638
- let n = [], a = e.visit ? (i) => e.visit(i, r) || i.visit(e, r) : (i) => i.visit(e, r);
1639
- return t.forEach((i) => {
1640
- let s = a(i);
1641
- s && n.push(s);
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);
1642
1506
  }), n;
1643
1507
  }
1644
- var Bs = class {
1508
+ var xi = class {
1645
1509
  constructor() {
1646
1510
  }
1647
1511
  visitElement(e, t) {
@@ -1677,69 +1541,67 @@ var Bs = class {
1677
1541
  }
1678
1542
  visitChildren(e, t) {
1679
1543
  let r = [], n = this;
1680
- function a(i) {
1681
- i && r.push(sn(n, i, e));
1544
+ function a(s) {
1545
+ s && r.push(an(n, s, e));
1682
1546
  }
1683
1547
  return t(a), Array.prototype.concat.apply([], r);
1684
1548
  }
1685
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: `
1686
- `, 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: "‌" }, Ls = "";
1687
- Fe.ngsp = Ls;
1688
- var Fs = [/@/, /^\s*$/, /[<>]/, /^[{}]$/, /&(#|[a-z])/i, /^\/\//];
1689
- function qs(e, t) {
1690
- if (t != null && !(Array.isArray(t) && t.length == 2))
1691
- throw new Error(`Expected '${e}' to be an array, [start, end].`);
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].`);
1692
1555
  if (t != null) {
1693
1556
  let r = t[0], n = t[1];
1694
- Fs.forEach((a) => {
1695
- if (a.test(r) || a.test(n))
1696
- throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`);
1557
+ Ti.forEach((a) => {
1558
+ if (a.test(r) || a.test(n)) throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`);
1697
1559
  });
1698
1560
  }
1699
1561
  }
1700
- var Ns = class un {
1562
+ var Li = class sn {
1701
1563
  static fromArray(t) {
1702
- return t ? (qs("interpolation", t), new un(t[0], t[1])) : on;
1564
+ return t ? (Bi("interpolation", t), new sn(t[0], t[1])) : un;
1703
1565
  }
1704
1566
  constructor(t, r) {
1705
1567
  this.start = t, this.end = r;
1706
1568
  }
1707
- }, on = new Ns("{{", "}}"), Ge = class extends rn {
1569
+ }, un = new Li("{{", "}}"), je = class extends tn {
1708
1570
  constructor(e, t, r) {
1709
1571
  super(r, e), this.tokenType = t;
1710
1572
  }
1711
- }, Is = class {
1573
+ }, Fi = class {
1712
1574
  constructor(e, t, r) {
1713
1575
  this.tokens = e, this.errors = t, this.nonNormalizedIcuExpressions = r;
1714
1576
  }
1715
1577
  };
1716
- function Ps(e, t, r, n = {}) {
1717
- let a = new Rs(new tn(e, t), r, n);
1718
- return a.tokenize(), new Is(zs(a.tokens), a.errors, a.nonNormalizedIcuExpressions);
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);
1719
1581
  }
1720
- var Ms = /\r\n?/g;
1582
+ var Ni = /\r\n?/g;
1721
1583
  function X(e) {
1722
1584
  return `Unexpected character "${e === 0 ? "EOF" : String.fromCharCode(e)}"`;
1723
1585
  }
1724
- function nr(e) {
1586
+ function rr(e) {
1725
1587
  return `Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
1726
1588
  }
1727
- function Hs(e, t) {
1589
+ function Ii(e, t) {
1728
1590
  return `Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`;
1729
1591
  }
1730
1592
  var qe;
1731
1593
  (function(e) {
1732
1594
  e.HEX = "hexadecimal", e.DEC = "decimal";
1733
1595
  })(qe || (qe = {}));
1734
- var Ke = class {
1596
+ var Ge = class {
1735
1597
  constructor(e) {
1736
1598
  this.error = e;
1737
1599
  }
1738
- }, Rs = class {
1600
+ }, Pi = class {
1739
1601
  constructor(e, t, r) {
1740
- 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 || on, this._leadingTriviaCodePoints = r.leadingTriviaChars && r.leadingTriviaChars.map((a) => a.codePointAt(0) || 0), this._canSelfClose = r.canSelfClose || !1, this._allowHtmComponentClosingTags = r.allowHtmComponentClosingTags || !1;
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;
1741
1603
  let n = r.range || { endPos: e.content.length, startPos: 0, startLine: 0, startCol: 0 };
1742
- this._cursor = r.escapedString ? new js(e, n) : new ln(e, n), this._preserveLineEndings = r.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs = r.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = r.tokenizeBlocks ?? !0, this._tokenizeLet = r.tokenizeLet ?? !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;
1743
1605
  try {
1744
1606
  this._cursor.init();
1745
1607
  } catch (a) {
@@ -1747,24 +1609,20 @@ var Ke = class {
1747
1609
  }
1748
1610
  }
1749
1611
  _processCarriageReturns(e) {
1750
- return this._preserveLineEndings ? e : e.replace(Ms, `
1612
+ return this._preserveLineEndings ? e : e.replace(Ni, `
1751
1613
  `);
1752
1614
  }
1753
1615
  tokenize() {
1754
1616
  for (; this._cursor.peek() !== 0; ) {
1755
1617
  let e = this._cursor.clone();
1756
1618
  try {
1757
- if (this._attemptCharCode(60))
1758
- if (this._attemptCharCode(33))
1759
- this._attemptStr("[CDATA[") ? this._consumeCdata(e) : this._attemptStr("--") ? this._consumeComment(e) : this._attemptStrCaseInsensitive("doctype") ? this._consumeDocType(e) : this._consumeBogusComment(e);
1760
- else if (this._attemptCharCode(47))
1761
- this._consumeTagClose(e);
1762
- else {
1763
- let t = this._cursor.clone();
1764
- this._attemptCharCode(63) ? (this._cursor = t, this._consumeBogusComment(e)) : this._consumeTagOpen(e);
1765
- }
1766
- else
1767
- 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());
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());
1768
1626
  } catch (t) {
1769
1627
  this.handleError(t);
1770
1628
  }
@@ -1778,45 +1636,37 @@ var Ke = class {
1778
1636
  _consumeBlockStart(e) {
1779
1637
  this._beginToken(25, e);
1780
1638
  let t = this._endToken([this._getBlockName()]);
1781
- if (this._cursor.peek() === 40)
1782
- if (this._cursor.advance(), this._consumeBlockParameters(), this._attemptCharCodeUntilFn(b), this._attemptCharCode(41))
1783
- this._attemptCharCodeUntilFn(b);
1784
- else {
1785
- t.type = 29;
1786
- return;
1787
- }
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
+ }
1788
1644
  this._attemptCharCode(123) ? (this._beginToken(26), this._endToken([])) : t.type = 29;
1789
1645
  }
1790
1646
  _consumeBlockEnd(e) {
1791
1647
  this._beginToken(27, e), this._endToken([]);
1792
1648
  }
1793
1649
  _consumeBlockParameters() {
1794
- for (this._attemptCharCodeUntilFn(ur); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
1650
+ for (this._attemptCharCodeUntilFn(ir); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
1795
1651
  this._beginToken(28);
1796
1652
  let e = this._cursor.clone(), t = null, r = 0;
1797
1653
  for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || t !== null; ) {
1798
1654
  let n = this._cursor.peek();
1799
- if (n === 92)
1800
- this._cursor.advance();
1801
- else if (n === t)
1802
- t = null;
1803
- else if (t === null && je(n))
1804
- t = n;
1805
- else if (n === 40 && t === null)
1806
- r++;
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++;
1807
1659
  else if (n === 41 && t === null) {
1808
- if (r === 0)
1809
- break;
1660
+ if (r === 0) break;
1810
1661
  r > 0 && r--;
1811
1662
  }
1812
1663
  this._cursor.advance();
1813
1664
  }
1814
- this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(ur);
1665
+ this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(ir);
1815
1666
  }
1816
1667
  }
1817
1668
  _consumeLetDeclaration(e) {
1818
- if (this._beginToken(30, e), De(this._cursor.peek()))
1819
- this._attemptCharCodeUntilFn(b);
1669
+ if (this._beginToken(30, e), De(this._cursor.peek())) this._attemptCharCodeUntilFn(b);
1820
1670
  else {
1821
1671
  let r = this._endToken([this._cursor.getChars(e)]);
1822
1672
  r.type = 33;
@@ -1827,32 +1677,27 @@ var Ke = class {
1827
1677
  t.type = 33;
1828
1678
  return;
1829
1679
  }
1830
- this._attemptCharCodeUntilFn((r) => b(r) && !_t(r)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(32), this._endToken([]), this._cursor.advance()) : (t.type = 33, t.sourceSpan = this._cursor.getSpan(e));
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));
1831
1681
  }
1832
1682
  _getLetDeclarationName() {
1833
1683
  let e = this._cursor.clone(), t = !1;
1834
- return this._attemptCharCodeUntilFn((r) => Te(r) || r === 36 || r === 95 || t && bt(r) ? (t = !0, !1) : !0), this._cursor.getChars(e).trim();
1684
+ return this._attemptCharCodeUntilFn((r) => Te(r) || r === 36 || r === 95 || t && yt(r) ? (t = !0, !1) : !0), this._cursor.getChars(e).trim();
1835
1685
  }
1836
1686
  _consumeLetDeclarationValue() {
1837
1687
  let e = this._cursor.clone();
1838
1688
  for (this._beginToken(31, e); this._cursor.peek() !== 0; ) {
1839
1689
  let t = this._cursor.peek();
1840
- if (t === 59)
1841
- break;
1842
- je(t) && (this._cursor.advance(), this._attemptCharCodeUntilFn((r) => r === 92 ? (this._cursor.advance(), !1) : r === t)), this._cursor.advance();
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();
1843
1692
  }
1844
1693
  this._endToken([this._cursor.getChars(e)]);
1845
1694
  }
1846
1695
  _tokenizeExpansionForm() {
1847
- if (this.isExpansionFormStart())
1848
- return this._consumeExpansionFormStart(), !0;
1849
- if (Ws(this._cursor.peek()) && this._isInExpansionForm())
1850
- return this._consumeExpansionCaseStart(), !0;
1696
+ if (this.isExpansionFormStart()) return this._consumeExpansionFormStart(), !0;
1697
+ if (Ui(this._cursor.peek()) && this._isInExpansionForm()) return this._consumeExpansionCaseStart(), !0;
1851
1698
  if (this._cursor.peek() === 125) {
1852
- if (this._isInExpansionCase())
1853
- return this._consumeExpansionCaseEnd(), !0;
1854
- if (this._isInExpansionForm())
1855
- return this._consumeExpansionFormEnd(), !0;
1699
+ if (this._isInExpansionCase()) return this._consumeExpansionCaseEnd(), !0;
1700
+ if (this._isInExpansionForm()) return this._consumeExpansionFormEnd(), !0;
1856
1701
  }
1857
1702
  return !1;
1858
1703
  }
@@ -1860,73 +1705,58 @@ var Ke = class {
1860
1705
  this._currentTokenStart = t, this._currentTokenType = e;
1861
1706
  }
1862
1707
  _endToken(e, t) {
1863
- if (this._currentTokenStart === null)
1864
- throw new Ge("Programming error - attempted to end a token when there was no start to the token", this._currentTokenType, this._cursor.getSpan(t));
1865
- if (this._currentTokenType === null)
1866
- throw new Ge("Programming error - attempted to end a token which has no token type", null, this._cursor.getSpan(this._currentTokenStart));
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));
1867
1710
  let r = { type: this._currentTokenType, parts: e, sourceSpan: (t ?? this._cursor).getSpan(this._currentTokenStart, this._leadingTriviaCodePoints) };
1868
1711
  return this.tokens.push(r), this._currentTokenStart = null, this._currentTokenType = null, r;
1869
1712
  }
1870
1713
  _createError(e, t) {
1871
1714
  this._isInExpansionForm() && (e += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);
1872
- let r = new Ge(e, this._currentTokenType, t);
1873
- return this._currentTokenStart = null, this._currentTokenType = null, new Ke(r);
1715
+ let r = new je(e, this._currentTokenType, t);
1716
+ return this._currentTokenStart = null, this._currentTokenType = null, new Ge(r);
1874
1717
  }
1875
1718
  handleError(e) {
1876
- if (e instanceof wt && (e = this._createError(e.msg, this._cursor.getSpan(e.cursor))), e instanceof Ke)
1877
- this.errors.push(e.error);
1878
- else
1879
- throw 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;
1880
1721
  }
1881
1722
  _attemptCharCode(e) {
1882
1723
  return this._cursor.peek() === e ? (this._cursor.advance(), !0) : !1;
1883
1724
  }
1884
1725
  _attemptCharCodeCaseInsensitive(e) {
1885
- return $s(this._cursor.peek(), e) ? (this._cursor.advance(), !0) : !1;
1726
+ return Vi(this._cursor.peek(), e) ? (this._cursor.advance(), !0) : !1;
1886
1727
  }
1887
1728
  _requireCharCode(e) {
1888
1729
  let t = this._cursor.clone();
1889
- if (!this._attemptCharCode(e))
1890
- throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(t));
1730
+ if (!this._attemptCharCode(e)) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(t));
1891
1731
  }
1892
1732
  _attemptStr(e) {
1893
1733
  let t = e.length;
1894
- if (this._cursor.charsLeft() < t)
1895
- return !1;
1734
+ if (this._cursor.charsLeft() < t) return !1;
1896
1735
  let r = this._cursor.clone();
1897
- for (let n = 0; n < t; n++)
1898
- if (!this._attemptCharCode(e.charCodeAt(n)))
1899
- return this._cursor = r, !1;
1736
+ for (let n = 0; n < t; n++) if (!this._attemptCharCode(e.charCodeAt(n))) return this._cursor = r, !1;
1900
1737
  return !0;
1901
1738
  }
1902
1739
  _attemptStrCaseInsensitive(e) {
1903
- for (let t = 0; t < e.length; t++)
1904
- if (!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))
1905
- return !1;
1740
+ for (let t = 0; t < e.length; t++) if (!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t))) return !1;
1906
1741
  return !0;
1907
1742
  }
1908
1743
  _requireStr(e) {
1909
1744
  let t = this._cursor.clone();
1910
- if (!this._attemptStr(e))
1911
- throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(t));
1745
+ if (!this._attemptStr(e)) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(t));
1912
1746
  }
1913
1747
  _requireStrCaseInsensitive(e) {
1914
1748
  let t = this._cursor.clone();
1915
- if (!this._attemptStrCaseInsensitive(e))
1916
- throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(t));
1749
+ if (!this._attemptStrCaseInsensitive(e)) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(t));
1917
1750
  }
1918
1751
  _attemptCharCodeUntilFn(e) {
1919
- for (; !e(this._cursor.peek()); )
1920
- this._cursor.advance();
1752
+ for (; !e(this._cursor.peek()); ) this._cursor.advance();
1921
1753
  }
1922
1754
  _requireCharCodeUntilFn(e, t) {
1923
1755
  let r = this._cursor.clone();
1924
- if (this._attemptCharCodeUntilFn(e), this._cursor.diff(r) < t)
1925
- throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(r));
1756
+ if (this._attemptCharCodeUntilFn(e), this._cursor.diff(r) < t) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(r));
1926
1757
  }
1927
1758
  _attemptUntilChar(e) {
1928
- for (; this._cursor.peek() !== e; )
1929
- this._cursor.advance();
1759
+ for (; this._cursor.peek() !== e; ) this._cursor.advance();
1930
1760
  }
1931
1761
  _readChar() {
1932
1762
  let e = String.fromCodePoint(this._cursor.peek());
@@ -1937,29 +1767,27 @@ var Ke = class {
1937
1767
  let t = this._cursor.clone();
1938
1768
  if (this._cursor.advance(), this._attemptCharCode(35)) {
1939
1769
  let r = this._attemptCharCode(120) || this._attemptCharCode(88), n = this._cursor.clone();
1940
- if (this._attemptCharCodeUntilFn(Vs), this._cursor.peek() != 59) {
1770
+ if (this._attemptCharCodeUntilFn(Hi), this._cursor.peek() != 59) {
1941
1771
  this._cursor.advance();
1942
- let i = r ? qe.HEX : qe.DEC;
1943
- throw this._createError(Hs(i, this._cursor.getChars(t)), this._cursor.getSpan());
1772
+ let s = r ? qe.HEX : qe.DEC;
1773
+ throw this._createError(Ii(s, this._cursor.getChars(t)), this._cursor.getSpan());
1944
1774
  }
1945
1775
  let a = this._cursor.getChars(n);
1946
1776
  this._cursor.advance();
1947
1777
  try {
1948
- let i = parseInt(a, r ? 16 : 10);
1949
- this._endToken([String.fromCharCode(i), this._cursor.getChars(t)]);
1778
+ let s = parseInt(a, r ? 16 : 10);
1779
+ this._endToken([String.fromCharCode(s), this._cursor.getChars(t)]);
1950
1780
  } catch {
1951
- throw this._createError(nr(this._cursor.getChars(t)), this._cursor.getSpan());
1781
+ throw this._createError(rr(this._cursor.getChars(t)), this._cursor.getSpan());
1952
1782
  }
1953
1783
  } else {
1954
1784
  let r = this._cursor.clone();
1955
- if (this._attemptCharCodeUntilFn(Os), this._cursor.peek() != 59)
1956
- this._beginToken(e, t), this._cursor = r, this._endToken(["&"]);
1785
+ if (this._attemptCharCodeUntilFn(Ri), this._cursor.peek() != 59) this._beginToken(e, t), this._cursor = r, this._endToken(["&"]);
1957
1786
  else {
1958
1787
  let n = this._cursor.getChars(r);
1959
1788
  this._cursor.advance();
1960
1789
  let a = Fe[n];
1961
- if (!a)
1962
- throw this._createError(nr(n), this._cursor.getSpan(t));
1790
+ if (!a) throw this._createError(rr(n), this._cursor.getSpan(t));
1963
1791
  this._endToken([a, `&${n};`]);
1964
1792
  }
1965
1793
  }
@@ -1969,8 +1797,7 @@ var Ke = class {
1969
1797
  let r = [];
1970
1798
  for (; ; ) {
1971
1799
  let n = this._cursor.clone(), a = t();
1972
- if (this._cursor = n, a)
1973
- break;
1800
+ if (this._cursor = n, a) break;
1974
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());
1975
1802
  }
1976
1803
  this._endToken([this._processCarriageReturns(r.join(""))]);
@@ -1989,40 +1816,36 @@ var Ke = class {
1989
1816
  }
1990
1817
  _consumePrefixAndName() {
1991
1818
  let e = this._cursor.clone(), t = "";
1992
- for (; this._cursor.peek() !== 58 && !Us(this._cursor.peek()); )
1993
- this._cursor.advance();
1819
+ for (; this._cursor.peek() !== 58 && !Mi(this._cursor.peek()); ) this._cursor.advance();
1994
1820
  let r;
1995
- this._cursor.peek() === 58 ? (t = this._cursor.getChars(e), this._cursor.advance(), r = this._cursor.clone()) : r = e, this._requireCharCodeUntilFn(ar, t === "" ? 0 : 1);
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);
1996
1822
  let n = this._cursor.getChars(r);
1997
1823
  return [t, n];
1998
1824
  }
1999
1825
  _consumeTagOpen(e) {
2000
1826
  let t, r, n, a = [];
2001
1827
  try {
2002
- if (!Te(this._cursor.peek()))
2003
- throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(e));
1828
+ if (!Te(this._cursor.peek())) throw this._createError(X(this._cursor.peek()), this._cursor.getSpan(e));
2004
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; ) {
2005
- let [s, u] = this._consumeAttributeName();
1830
+ let [i, u] = this._consumeAttributeName();
2006
1831
  if (this._attemptCharCodeUntilFn(b), this._attemptCharCode(61)) {
2007
1832
  this._attemptCharCodeUntilFn(b);
2008
1833
  let o = this._consumeAttributeValue();
2009
- a.push({ prefix: s, name: u, value: o });
2010
- } else
2011
- a.push({ prefix: s, name: u });
1834
+ a.push({ prefix: i, name: u, value: o });
1835
+ } else a.push({ prefix: i, name: u });
2012
1836
  this._attemptCharCodeUntilFn(b);
2013
1837
  }
2014
1838
  this._consumeTagOpenEnd();
2015
- } catch (s) {
2016
- if (s instanceof Ke) {
1839
+ } catch (i) {
1840
+ if (i instanceof Ge) {
2017
1841
  n ? n.type = 4 : (this._beginToken(5, e), this._endToken(["<"]));
2018
1842
  return;
2019
1843
  }
2020
- throw s;
1844
+ throw i;
2021
1845
  }
2022
- if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === 2)
2023
- return;
2024
- let i = this._getTagContentType(t, r, this._fullNameStack.length > 0, a);
2025
- this._handleFullNameStackForTagOpen(r, t), i === I.RAW_TEXT ? this._consumeRawTextWithTagClose(r, t, !1) : i === I.ESCAPABLE_RAW_TEXT && this._consumeRawTextWithTagClose(r, t, !0);
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);
2026
1849
  }
2027
1850
  _consumeRawTextWithTagClose(e, t, r) {
2028
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);
@@ -2034,8 +1857,7 @@ var Ke = class {
2034
1857
  }
2035
1858
  _consumeAttributeName() {
2036
1859
  let e = this._cursor.peek();
2037
- if (e === 39 || e === 34)
2038
- throw this._createError(X(e), this._cursor.getSpan());
1860
+ if (e === 39 || e === 34) throw this._createError(X(e), this._cursor.getSpan());
2039
1861
  this._beginToken(14);
2040
1862
  let t = this._consumePrefixAndName();
2041
1863
  return this._endToken(t), t;
@@ -2048,7 +1870,7 @@ var Ke = class {
2048
1870
  let r = () => this._cursor.peek() === t;
2049
1871
  e = this._consumeWithInterpolation(16, 17, r, r), this._consumeQuote(t);
2050
1872
  } else {
2051
- let t = () => ar(this._cursor.peek());
1873
+ let t = () => nr(this._cursor.peek());
2052
1874
  e = this._consumeWithInterpolation(16, 17, t, t);
2053
1875
  }
2054
1876
  return e;
@@ -2061,8 +1883,7 @@ var Ke = class {
2061
1883
  this._beginToken(e), this._requireCharCode(62), this._endToken([]);
2062
1884
  }
2063
1885
  _consumeTagClose(e) {
2064
- if (this._beginToken(3, e), this._attemptCharCodeUntilFn(b), this._allowHtmComponentClosingTags && this._attemptCharCode(47))
2065
- this._attemptCharCodeUntilFn(b), this._requireCharCode(62), this._endToken([]);
1886
+ if (this._beginToken(3, e), this._attemptCharCodeUntilFn(b), this._allowHtmComponentClosingTags && this._attemptCharCode(47)) this._attemptCharCodeUntilFn(b), this._requireCharCode(62), this._endToken([]);
2066
1887
  else {
2067
1888
  let [t, r] = this._consumePrefixAndName();
2068
1889
  this._attemptCharCodeUntilFn(b), this._requireCharCode(62), this._endToken([t, r]), this._handleFullNameStackForTagClose(t, r);
@@ -2071,8 +1892,7 @@ var Ke = class {
2071
1892
  _consumeExpansionFormStart() {
2072
1893
  this._beginToken(20), this._requireCharCode(123), this._endToken([]), this._expansionCaseStack.push(20), this._beginToken(7);
2073
1894
  let e = this._readUntil(44), t = this._processCarriageReturns(e);
2074
- if (this._i18nNormalizeLineEndingsInICUs)
2075
- this._endToken([t]);
1895
+ if (this._i18nNormalizeLineEndingsInICUs) this._endToken([t]);
2076
1896
  else {
2077
1897
  let n = this._endToken([e]);
2078
1898
  t !== e && this.nonNormalizedIcuExpressions.push(n);
@@ -2096,31 +1916,29 @@ var Ke = class {
2096
1916
  this._beginToken(e);
2097
1917
  let a = [];
2098
1918
  for (; !r(); ) {
2099
- let s = this._cursor.clone();
2100
- this._interpolationConfig && this._attemptStr(this._interpolationConfig.start) ? (this._endToken([this._processCarriageReturns(a.join(""))], s), a.length = 0, this._consumeInterpolation(t, s, 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());
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());
2101
1921
  }
2102
1922
  this._inInterpolation = !1;
2103
- let i = this._processCarriageReturns(a.join(""));
2104
- return this._endToken([i]), i;
1923
+ let s = this._processCarriageReturns(a.join(""));
1924
+ return this._endToken([s]), s;
2105
1925
  }
2106
1926
  _consumeInterpolation(e, t, r) {
2107
1927
  let n = [];
2108
1928
  this._beginToken(e, t), n.push(this._interpolationConfig.start);
2109
- let a = this._cursor.clone(), i = null, s = !1;
1929
+ let a = this._cursor.clone(), s = null, i = !1;
2110
1930
  for (; this._cursor.peek() !== 0 && (r === null || !r()); ) {
2111
1931
  let u = this._cursor.clone();
2112
1932
  if (this._isTagStart()) {
2113
1933
  this._cursor = u, n.push(this._getProcessedChars(a, u)), this._endToken(n);
2114
1934
  return;
2115
1935
  }
2116
- if (i === null)
2117
- if (this._attemptStr(this._interpolationConfig.end)) {
2118
- n.push(this._getProcessedChars(a, u)), n.push(this._interpolationConfig.end), this._endToken(n);
2119
- return;
2120
- } else
2121
- this._attemptStr("//") && (s = !0);
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);
2122
1940
  let o = this._cursor.peek();
2123
- this._cursor.advance(), o === 92 ? this._cursor.advance() : o === i ? i = null : !s && i === null && je(o) && (i = o);
1941
+ this._cursor.advance(), o === 92 ? this._cursor.advance() : o === s ? s = null : !i && s === null && ze(o) && (s = o);
2124
1942
  }
2125
1943
  n.push(this._getProcessedChars(a, this._cursor)), this._endToken(n);
2126
1944
  }
@@ -2135,16 +1953,14 @@ var Ke = class {
2135
1953
  let e = this._cursor.clone();
2136
1954
  e.advance();
2137
1955
  let t = e.peek();
2138
- if (97 <= t && t <= 122 || 65 <= t && t <= 90 || t === 47 || t === 33)
2139
- return !0;
1956
+ if (97 <= t && t <= 122 || 65 <= t && t <= 90 || t === 47 || t === 33) return !0;
2140
1957
  }
2141
1958
  return !1;
2142
1959
  }
2143
1960
  _isBlockStart() {
2144
1961
  if (this._tokenizeBlocks && this._cursor.peek() === 64) {
2145
1962
  let e = this._cursor.clone();
2146
- if (e.advance(), sr(e.peek()))
2147
- return !0;
1963
+ if (e.advance(), sr(e.peek())) return !0;
2148
1964
  }
2149
1965
  return !1;
2150
1966
  }
@@ -2162,8 +1978,7 @@ var Ke = class {
2162
1978
  return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === 20;
2163
1979
  }
2164
1980
  isExpansionFormStart() {
2165
- if (this._cursor.peek() !== 123)
2166
- return !1;
1981
+ if (this._cursor.peek() !== 123) return !1;
2167
1982
  if (this._interpolationConfig) {
2168
1983
  let e = this._cursor.clone(), t = this._attemptStr(this._interpolationConfig.start);
2169
1984
  return this._cursor = e, !t;
@@ -2182,34 +1997,34 @@ var Ke = class {
2182
1997
  function b(e) {
2183
1998
  return !De(e) || e === 0;
2184
1999
  }
2185
- function ar(e) {
2000
+ function nr(e) {
2186
2001
  return De(e) || e === 62 || e === 60 || e === 47 || e === 39 || e === 34 || e === 61 || e === 0;
2187
2002
  }
2188
- function Us(e) {
2003
+ function Mi(e) {
2189
2004
  return (e < 97 || 122 < e) && (e < 65 || 90 < e) && (e < 48 || e > 57);
2190
2005
  }
2191
- function Vs(e) {
2192
- return e === 59 || e === 0 || !zi(e);
2006
+ function Hi(e) {
2007
+ return e === 59 || e === 0 || !Os(e);
2193
2008
  }
2194
- function Os(e) {
2009
+ function Ri(e) {
2195
2010
  return e === 59 || e === 0 || !Te(e);
2196
2011
  }
2197
- function Ws(e) {
2012
+ function Ui(e) {
2198
2013
  return e !== 125;
2199
2014
  }
2200
- function $s(e, t) {
2201
- return ir(e) === ir(t);
2015
+ function Vi(e, t) {
2016
+ return ar(e) === ar(t);
2202
2017
  }
2203
- function ir(e) {
2018
+ function ar(e) {
2204
2019
  return e >= 97 && e <= 122 ? e - 97 + 65 : e;
2205
2020
  }
2206
2021
  function sr(e) {
2207
- return Te(e) || bt(e) || e === 95;
2022
+ return Te(e) || yt(e) || e === 95;
2208
2023
  }
2209
- function ur(e) {
2024
+ function ir(e) {
2210
2025
  return e !== 59 && b(e);
2211
2026
  }
2212
- function zs(e) {
2027
+ function Oi(e) {
2213
2028
  let t = [], r;
2214
2029
  for (let n = 0; n < e.length; n++) {
2215
2030
  let a = e[n];
@@ -2217,20 +2032,19 @@ function zs(e) {
2217
2032
  }
2218
2033
  return t;
2219
2034
  }
2220
- var ln = class tt {
2035
+ var on = class et {
2221
2036
  constructor(t, r) {
2222
- if (t instanceof tt) {
2037
+ if (t instanceof et) {
2223
2038
  this.file = t.file, this.input = t.input, this.end = t.end;
2224
2039
  let n = t.state;
2225
2040
  this.state = { peek: n.peek, offset: n.offset, line: n.line, column: n.column };
2226
2041
  } else {
2227
- if (!r)
2228
- throw new Error("Programming error: the range argument must be provided with a file argument.");
2042
+ if (!r) throw new Error("Programming error: the range argument must be provided with a file argument.");
2229
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 };
2230
2044
  }
2231
2045
  }
2232
2046
  clone() {
2233
- return new tt(this);
2047
+ return new et(this);
2234
2048
  }
2235
2049
  peek() {
2236
2050
  return this.state.peek;
@@ -2250,11 +2064,9 @@ var ln = class tt {
2250
2064
  getSpan(t, r) {
2251
2065
  t = t || this;
2252
2066
  let n = t;
2253
- if (r)
2254
- for (; this.diff(t) > 0 && r.indexOf(t.peek()) !== -1; )
2255
- n === t && (t = t.clone()), t.advance();
2256
- let a = this.locationFromCursor(t), i = this.locationFromCursor(this), s = n !== t ? this.locationFromCursor(n) : a;
2257
- return new m(a, i, s);
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);
2258
2070
  }
2259
2071
  getChars(t) {
2260
2072
  return this.input.substring(t.state.offset, this.state.offset);
@@ -2263,20 +2075,19 @@ var ln = class tt {
2263
2075
  return this.input.charCodeAt(t);
2264
2076
  }
2265
2077
  advanceState(t) {
2266
- if (t.offset >= this.end)
2267
- throw this.state = t, new wt('Unexpected character "EOF"', this);
2078
+ if (t.offset >= this.end) throw this.state = t, new _t('Unexpected character "EOF"', this);
2268
2079
  let r = this.charAt(t.offset);
2269
- r === 10 ? (t.line++, t.column = 0) : _t(r) || t.column++, t.offset++, this.updatePeek(t);
2080
+ r === 10 ? (t.line++, t.column = 0) : bt(r) || t.column++, t.offset++, this.updatePeek(t);
2270
2081
  }
2271
2082
  updatePeek(t) {
2272
2083
  t.peek = t.offset >= this.end ? 0 : this.charAt(t.offset);
2273
2084
  }
2274
2085
  locationFromCursor(t) {
2275
- return new Ze(t.file, t.state.offset, t.state.line, t.state.column);
2086
+ return new Qe(t.file, t.state.offset, t.state.line, t.state.column);
2276
2087
  }
2277
- }, js = class rt extends ln {
2088
+ }, Wi = class tt extends on {
2278
2089
  constructor(t, r) {
2279
- t instanceof rt ? (super(t), this.internalState = { ...t.internalState }) : (super(t, r), this.internalState = this.state);
2090
+ t instanceof tt ? (super(t), this.internalState = { ...t.internalState }) : (super(t, r), this.internalState = this.state);
2280
2091
  }
2281
2092
  advance() {
2282
2093
  this.state = this.internalState, super.advance(), this.processEscapeSequence();
@@ -2285,93 +2096,78 @@ var ln = class tt {
2285
2096
  super.init(), this.processEscapeSequence();
2286
2097
  }
2287
2098
  clone() {
2288
- return new rt(this);
2099
+ return new tt(this);
2289
2100
  }
2290
2101
  getChars(t) {
2291
2102
  let r = t.clone(), n = "";
2292
- for (; r.internalState.offset < this.internalState.offset; )
2293
- n += String.fromCodePoint(r.peek()), r.advance();
2103
+ for (; r.internalState.offset < this.internalState.offset; ) n += String.fromCodePoint(r.peek()), r.advance();
2294
2104
  return n;
2295
2105
  }
2296
2106
  processEscapeSequence() {
2297
2107
  let t = () => this.internalState.peek;
2298
- if (t() === 92)
2299
- if (this.internalState = { ...this.state }, this.advanceState(this.internalState), t() === 110)
2300
- this.state.peek = 10;
2301
- else if (t() === 114)
2302
- this.state.peek = 13;
2303
- else if (t() === 118)
2304
- this.state.peek = 11;
2305
- else if (t() === 116)
2306
- this.state.peek = 9;
2307
- else if (t() === 98)
2308
- this.state.peek = 8;
2309
- else if (t() === 102)
2310
- this.state.peek = 12;
2311
- else if (t() === 117)
2312
- if (this.advanceState(this.internalState), t() === 123) {
2313
- this.advanceState(this.internalState);
2314
- let r = this.clone(), n = 0;
2315
- for (; t() !== 125; )
2316
- this.advanceState(this.internalState), n++;
2317
- this.state.peek = this.decodeHexDigits(r, n);
2318
- } else {
2319
- let r = this.clone();
2320
- this.advanceState(this.internalState), this.advanceState(this.internalState), this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 4);
2321
- }
2322
- else if (t() === 120) {
2323
- this.advanceState(this.internalState);
2324
- let r = this.clone();
2325
- this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 2);
2326
- } else if (Ot(t())) {
2327
- let r = "", n = 0, a = this.clone();
2328
- for (; Ot(t()) && n < 3; )
2329
- a = this.clone(), r += String.fromCodePoint(t()), this.advanceState(this.internalState), n++;
2330
- this.state.peek = parseInt(r, 8), this.internalState = a.internalState;
2331
- } else
2332
- _t(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = 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;
2333
2132
  }
2334
2133
  decodeHexDigits(t, r) {
2335
2134
  let n = this.input.slice(t.internalState.offset, t.internalState.offset + r), a = parseInt(n, 16);
2336
- if (isNaN(a))
2337
- throw t.state = t.internalState, new wt("Invalid hexadecimal escape sequence", t);
2135
+ if (isNaN(a)) throw t.state = t.internalState, new _t("Invalid hexadecimal escape sequence", t);
2338
2136
  return a;
2339
2137
  }
2340
- }, wt = class {
2138
+ }, _t = class {
2341
2139
  constructor(e, t) {
2342
2140
  this.msg = e, this.cursor = t;
2343
2141
  }
2344
- }, B = class cn extends rn {
2142
+ }, B = class ln extends tn {
2345
2143
  static create(t, r, n) {
2346
- return new cn(t, r, n);
2144
+ return new ln(t, r, n);
2347
2145
  }
2348
2146
  constructor(t, r, n) {
2349
2147
  super(r, n), this.elementName = t;
2350
2148
  }
2351
- }, Gs = class {
2149
+ }, $i = class {
2352
2150
  constructor(e, t) {
2353
2151
  this.rootNodes = e, this.errors = t;
2354
2152
  }
2355
- }, Ks = class {
2153
+ }, zi = class {
2356
2154
  constructor(e) {
2357
2155
  this.getTagDefinition = e;
2358
2156
  }
2359
2157
  parse(e, t, r, n = !1, a) {
2360
- let i = (g) => (C, ...w) => g(C.toLowerCase(), ...w), s = n ? this.getTagDefinition : i(this.getTagDefinition), u = (g) => s(g).getContentType(), o = n ? a : i(a), p = Ps(e, t, a ? (g, C, w, E) => {
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) => {
2361
2159
  let x = o(g, C, w, E);
2362
2160
  return x !== void 0 ? x : u(g);
2363
- } : u, r), l = r && r.canSelfClose || !1, v = r && r.allowHtmComponentClosingTags || !1, d = new Xs(p.tokens, s, l, v, n);
2364
- return d.build(), new Gs(d.rootNodes, p.errors.concat(d.errors));
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));
2365
2163
  }
2366
- }, Xs = class pn {
2367
- constructor(t, r, n, a, i) {
2368
- this.tokens = t, this.getTagDefinition = r, this.canSelfClose = n, this.allowHtmComponentClosingTags = a, this.isTagNameCaseSensitive = i, this._index = -1, this._containerStack = [], this.rootNodes = [], this.errors = [], this._advance();
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();
2369
2167
  }
2370
2168
  build() {
2371
- for (; this._peek.type !== 34; )
2372
- 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();
2373
- for (let t of this._containerStack)
2374
- t instanceof K && this.errors.push(B.create(t.name, t.sourceSpan, `Unclosed block "${t.name}"`));
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}"`));
2375
2171
  }
2376
2172
  _advance() {
2377
2173
  let t = this._peek;
@@ -2382,62 +2178,51 @@ var ln = class tt {
2382
2178
  }
2383
2179
  _consumeCdata(t) {
2384
2180
  let r = this._advance(), n = this._getText(r), a = this._advanceIf(13);
2385
- this._addToParent(new As(n, new m(t.sourceSpan.start, (a || r).sourceSpan.end), [r]));
2181
+ this._addToParent(new bi(n, new m(t.sourceSpan.start, (a || r).sourceSpan.end), [r]));
2386
2182
  }
2387
2183
  _consumeComment(t) {
2388
- let r = this._advanceIf(7), n = this._advanceIf(11), a = r != null ? r.parts[0].trim() : null, i = n == null ? t.sourceSpan : new m(t.sourceSpan.start, n.sourceSpan.end, t.sourceSpan.fullStart);
2389
- this._addToParent(new Ds(a, i));
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));
2390
2186
  }
2391
2187
  _consumeDocType(t) {
2392
- let r = this._advanceIf(7), n = this._advanceIf(19), a = r != null ? r.parts[0].trim() : null, i = new m(t.sourceSpan.start, (n || r || t).sourceSpan.end);
2393
- this._addToParent(new Ts(a, i));
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));
2394
2190
  }
2395
2191
  _consumeExpansion(t) {
2396
2192
  let r = this._advance(), n = this._advance(), a = [];
2397
2193
  for (; this._peek.type === 21; ) {
2398
- let s = this._parseExpansionCase();
2399
- if (!s)
2400
- return;
2401
- a.push(s);
2194
+ let i = this._parseExpansionCase();
2195
+ if (!i) return;
2196
+ a.push(i);
2402
2197
  }
2403
2198
  if (this._peek.type !== 24) {
2404
2199
  this.errors.push(B.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '}'."));
2405
2200
  return;
2406
2201
  }
2407
- let i = new m(t.sourceSpan.start, this._peek.sourceSpan.end, t.sourceSpan.fullStart);
2408
- this._addToParent(new ks(r.parts[0], n.parts[0], a, i, r.sourceSpan)), this._advance();
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();
2409
2204
  }
2410
2205
  _parseExpansionCase() {
2411
2206
  let t = this._advance();
2412
- if (this._peek.type !== 22)
2413
- return this.errors.push(B.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '{'.")), null;
2207
+ if (this._peek.type !== 22) return this.errors.push(B.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '{'.")), null;
2414
2208
  let r = this._advance(), n = this._collectExpansionExpTokens(r);
2415
- if (!n)
2416
- return null;
2209
+ if (!n) return null;
2417
2210
  let a = this._advance();
2418
2211
  n.push({ type: 34, parts: [], sourceSpan: a.sourceSpan });
2419
- let i = new pn(n, this.getTagDefinition, this.canSelfClose, this.allowHtmComponentClosingTags, this.isTagNameCaseSensitive);
2420
- if (i.build(), i.errors.length > 0)
2421
- return this.errors = this.errors.concat(i.errors), null;
2422
- let s = new m(t.sourceSpan.start, a.sourceSpan.end, t.sourceSpan.fullStart), u = new m(r.sourceSpan.start, a.sourceSpan.end, r.sourceSpan.fullStart);
2423
- return new Es(t.parts[0], i.rootNodes, s, t.sourceSpan, u);
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);
2424
2216
  }
2425
2217
  _collectExpansionExpTokens(t) {
2426
2218
  let r = [], n = [22];
2427
2219
  for (; ; ) {
2428
- if ((this._peek.type === 20 || this._peek.type === 22) && n.push(this._peek.type), this._peek.type === 23)
2429
- if (or(n, 22)) {
2430
- if (n.pop(), n.length === 0)
2431
- return r;
2432
- } else
2433
- return this.errors.push(B.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2434
- if (this._peek.type === 24)
2435
- if (or(n, 20))
2436
- n.pop();
2437
- else
2438
- return this.errors.push(B.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2439
- if (this._peek.type === 34)
2440
- return this.errors.push(B.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
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;
2441
2226
  r.push(this._advance());
2442
2227
  }
2443
2228
  }
@@ -2454,14 +2239,13 @@ var ln = class tt {
2454
2239
  let r = [t], n = t.sourceSpan, a = t.parts[0];
2455
2240
  if (a.length > 0 && a[0] === `
2456
2241
  `) {
2457
- let i = this._getContainer();
2458
- i != null && i.children.length === 0 && this.getTagDefinition(i.name).ignoreFirstLf && (a = a.substring(1), r[0] = { type: t.type, sourceSpan: t.sourceSpan, parts: [a] });
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] });
2459
2244
  }
2460
- for (; this._peek.type === 8 || this._peek.type === 5 || this._peek.type === 9; )
2461
- t = this._advance(), r.push(t), t.type === 8 ? a += t.parts.join("").replace(/&([^;]+);/g, lr) : t.type === 9 ? a += t.parts[0] : a += t.parts.join("");
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("");
2462
2246
  if (a.length > 0) {
2463
- let i = t.sourceSpan;
2464
- this._addToParent(new ws(a, new m(n.start, i.end, n.fullStart, n.details), r));
2247
+ let s = t.sourceSpan;
2248
+ this._addToParent(new yi(a, new m(n.start, s.end, n.fullStart, n.details), r));
2465
2249
  }
2466
2250
  }
2467
2251
  _closeVoidElement() {
@@ -2470,25 +2254,22 @@ var ln = class tt {
2470
2254
  }
2471
2255
  _consumeStartTag(t) {
2472
2256
  let [r, n] = t.parts, a = [];
2473
- for (; this._peek.type === 14; )
2474
- a.push(this._consumeAttr(this._advance()));
2475
- let i = this._getElementFullName(r, n, this._getClosestParentElement()), s = !1;
2257
+ for (; this._peek.type === 14; ) a.push(this._consumeAttr(this._advance()));
2258
+ let s = this._getElementFullName(r, n, this._getClosestParentElement()), i = !1;
2476
2259
  if (this._peek.type === 2) {
2477
- this._advance(), s = !0;
2478
- let g = this.getTagDefinition(i);
2479
- this.canSelfClose || g.canSelfClose || ke(i) !== null || g.isVoid || this.errors.push(B.create(i, t.sourceSpan, `Only void, custom and foreign elements can be self closed "${t.parts[1]}"`));
2480
- } else
2481
- this._peek.type === 1 && (this._advance(), s = !1);
2482
- 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(i, a, [], o, p, void 0, l), d = this._getContainer();
2483
- this._pushContainer(v, d instanceof V && this.getTagDefinition(d.name).isClosedByChild(v.name)), s ? this._popContainer(i, V, o) : t.type === 4 && (this._popContainer(i, V, null), this.errors.push(B.create(i, o, `Opening tag "${i}" not terminated.`)));
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.`)));
2484
2266
  }
2485
2267
  _pushContainer(t, r) {
2486
2268
  r && this._containerStack.pop(), this._addToParent(t), this._containerStack.push(t);
2487
2269
  }
2488
2270
  _consumeEndTag(t) {
2489
2271
  let r = this.allowHtmComponentClosingTags && t.parts.length === 0 ? null : this._getElementFullName(t.parts[0], t.parts[1], this._getClosestParentElement());
2490
- if (r && this.getTagDefinition(r).isVoid)
2491
- this.errors.push(B.create(r, t.sourceSpan, `Void elements do not have end tags "${t.parts[1]}"`));
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]}"`));
2492
2273
  else if (!this._popContainer(r, V, t.sourceSpan)) {
2493
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`;
2494
2275
  this.errors.push(B.create(r, t.sourceSpan, n));
@@ -2496,36 +2277,34 @@ var ln = class tt {
2496
2277
  }
2497
2278
  _popContainer(t, r, n) {
2498
2279
  let a = !1;
2499
- for (let i = this._containerStack.length - 1; i >= 0; i--) {
2500
- let s = this._containerStack[i];
2501
- if (ke(s.name) ? s.name === t : (t == null || s.name.toLowerCase() === t.toLowerCase()) && s instanceof r)
2502
- return s.endSourceSpan = n, s.sourceSpan.end = n !== null ? n.end : s.sourceSpan.end, this._containerStack.splice(i, this._containerStack.length - i), !a;
2503
- (s instanceof K || s instanceof V && !this.getTagDefinition(s.name).closedByParent) && (a = !0);
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);
2504
2284
  }
2505
2285
  return !1;
2506
2286
  }
2507
2287
  _consumeAttr(t) {
2508
2288
  let r = Le(t.parts[0], t.parts[1]), n = t.sourceSpan.end, a;
2509
2289
  this._peek.type === 15 && (a = this._advance());
2510
- let i = "", s = [], u, o;
2511
- if (this._peek.type === 16)
2512
- for (u = this._peek.sourceSpan, o = this._peek.sourceSpan.end; this._peek.type === 16 || this._peek.type === 17 || this._peek.type === 9; ) {
2513
- let l = this._advance();
2514
- s.push(l), l.type === 17 ? i += l.parts.join("").replace(/&([^;]+);/g, lr) : l.type === 9 ? i += l.parts[0] : i += l.parts.join(""), o = n = l.sourceSpan.end;
2515
- }
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
+ }
2516
2295
  this._peek.type === 15 && (o = n = this._advance().sourceSpan.end);
2517
- let p = u && o && new m((a == null ? void 0 : a.sourceSpan.start) ?? u.start, o, (a == null ? void 0 : a.sourceSpan.fullStart) ?? u.fullStart);
2518
- return new xs(r, i, new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), t.sourceSpan, p, s.length > 0 ? s : void 0, void 0);
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);
2519
2298
  }
2520
2299
  _consumeBlockOpen(t) {
2521
2300
  let r = [];
2522
2301
  for (; this._peek.type === 28; ) {
2523
2302
  let u = this._advance();
2524
- r.push(new tr(u.parts[0], u.sourceSpan));
2303
+ r.push(new er(u.parts[0], u.sourceSpan));
2525
2304
  }
2526
2305
  this._peek.type === 26 && this._advance();
2527
- let n = this._peek.sourceSpan.fullStart, a = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new K(t.parts[0], r, [], a, t.sourceSpan, i);
2528
- this._pushContainer(s, !1);
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);
2529
2308
  }
2530
2309
  _consumeBlockClose(t) {
2531
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.'));
@@ -2534,30 +2313,28 @@ var ln = class tt {
2534
2313
  let r = [];
2535
2314
  for (; this._peek.type === 28; ) {
2536
2315
  let u = this._advance();
2537
- r.push(new tr(u.parts[0], u.sourceSpan));
2316
+ r.push(new er(u.parts[0], u.sourceSpan));
2538
2317
  }
2539
- let n = this._peek.sourceSpan.fullStart, a = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new m(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new K(t.parts[0], r, [], a, t.sourceSpan, i);
2540
- this._pushContainer(s, !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.`));
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.`));
2541
2320
  }
2542
2321
  _consumeLet(t) {
2543
2322
  let r = t.parts[0], n, a;
2544
2323
  if (this._peek.type !== 31) {
2545
2324
  this.errors.push(B.create(t.parts[0], t.sourceSpan, `Invalid @let declaration "${r}". Declaration must have a value.`));
2546
2325
  return;
2547
- } else
2548
- n = this._advance();
2326
+ } else n = this._advance();
2549
2327
  if (this._peek.type !== 32) {
2550
2328
  this.errors.push(B.create(t.parts[0], t.sourceSpan, `Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));
2551
2329
  return;
2552
- } else
2553
- a = this._advance();
2554
- let i = a.sourceSpan.fullStart, s = new m(t.sourceSpan.start, i, t.sourceSpan.fullStart), u = t.sourceSpan.toString().lastIndexOf(r), o = t.sourceSpan.start.moveBy(u), p = new m(o, t.sourceSpan.end), l = new rr(r, n.parts[0], s, p, n.sourceSpan);
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);
2555
2332
  this._addToParent(l);
2556
2333
  }
2557
2334
  _consumeIncompleteLet(t) {
2558
2335
  let r = t.parts[0] ?? "", n = r ? ` "${r}"` : "";
2559
2336
  if (r.length > 0) {
2560
- let a = t.sourceSpan.toString().lastIndexOf(r), i = t.sourceSpan.start.moveBy(a), s = new m(i, t.sourceSpan.end), u = new m(t.sourceSpan.start, t.sourceSpan.start.moveBy(0)), o = new rr(r, "", t.sourceSpan, s, u);
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);
2561
2338
  this._addToParent(o);
2562
2339
  }
2563
2340
  this.errors.push(B.create(t.parts[0], t.sourceSpan, `Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``));
@@ -2566,9 +2343,7 @@ var ln = class tt {
2566
2343
  return this._containerStack.length > 0 ? this._containerStack[this._containerStack.length - 1] : null;
2567
2344
  }
2568
2345
  _getClosestParentElement() {
2569
- for (let t = this._containerStack.length - 1; t > -1; t--)
2570
- if (this._containerStack[t] instanceof V)
2571
- return this._containerStack[t];
2346
+ for (let t = this._containerStack.length - 1; t > -1; t--) if (this._containerStack[t] instanceof V) return this._containerStack[t];
2572
2347
  return null;
2573
2348
  }
2574
2349
  _addToParent(t) {
@@ -2583,64 +2358,58 @@ var ln = class tt {
2583
2358
  return Le(t, r);
2584
2359
  }
2585
2360
  };
2586
- function or(e, t) {
2361
+ function ur(e, t) {
2587
2362
  return e.length > 0 && e[e.length - 1] === t;
2588
2363
  }
2589
- function lr(e, t) {
2364
+ function or(e, t) {
2590
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;
2591
2366
  }
2592
- var Js = class extends Ks {
2367
+ var Gi = class extends zi {
2593
2368
  constructor() {
2594
- super(et);
2369
+ super(Ze);
2595
2370
  }
2596
2371
  parse(e, t, r, n = !1, a) {
2597
2372
  return super.parse(e, t, r, n, a);
2598
2373
  }
2599
- }, Xe = null, Ys = () => (Xe || (Xe = new Js()), Xe);
2600
- function cr(e, t = {}) {
2601
- let { canSelfClose: r = !1, allowHtmComponentClosingTags: n = !1, isTagNameCaseSensitive: a = !1, getTagContentType: i, tokenizeAngularBlocks: s = !1, tokenizeAngularLetDeclaration: u = !1 } = t;
2602
- return Ys().parse(e, "angular-html-parser", { tokenizeExpansionForms: s, interpolationConfig: void 0, canSelfClose: r, allowHtmComponentClosingTags: n, tokenizeBlocks: s, tokenizeLet: u }, a, i);
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);
2603
2378
  }
2604
- function Qs(e, t) {
2379
+ function Xi(e, t) {
2605
2380
  let r = new SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
2606
2381
  return Object.assign(r, t);
2607
2382
  }
2608
- var Zs = Qs, se = 3;
2609
- function eu(e) {
2610
- let t = e.slice(0, se);
2611
- if (t !== "---" && t !== "+++")
2612
- return;
2383
+ var Ji = Xi, ie = 3;
2384
+ function Yi(e) {
2385
+ let t = e.slice(0, ie);
2386
+ if (t !== "---" && t !== "+++") return;
2613
2387
  let r = e.indexOf(`
2614
- `, se);
2615
- if (r === -1)
2616
- return;
2617
- let n = e.slice(se, r).trim(), a = e.indexOf(`
2618
- ${t}`, r), i = n;
2619
- if (i || (i = t === "+++" ? "toml" : "yaml"), a === -1 && t === "---" && i === "yaml" && (a = e.indexOf(`
2620
- ...`, r)), a === -1)
2621
- return;
2622
- let s = a + 1 + se, u = e.charAt(s + 1);
2623
- if (!/\s?/u.test(u))
2624
- return;
2625
- let o = e.slice(0, s);
2626
- return { type: "front-matter", language: i, explicitLanguage: n, value: e.slice(r + 1, a), startDelimiter: t, endDelimiter: o.slice(-se), raw: o };
2627
- }
2628
- function tu(e) {
2629
- let t = eu(e);
2630
- if (!t)
2631
- return { content: e };
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 };
2632
2402
  let { raw: r } = t;
2633
2403
  return { frontMatter: t, content: L(!1, r, /[^\n]/gu, " ") + e.slice(r.length) };
2634
2404
  }
2635
- var ru = tu, Ae = { attrs: !0, children: !0, cases: !0, expression: !0 }, pr = /* @__PURE__ */ new Set(["parent"]), J, nt, at, nu = class ue {
2405
+ var Zi = Qi, Ae = { attrs: !0, children: !0, cases: !0, expression: !0 }, cr = /* @__PURE__ */ new Set(["parent"]), J, rt, nt, eu = class ue {
2636
2406
  constructor(t = {}) {
2637
- vr(this, J), xt(this, "type"), xt(this, "parent");
2638
- for (let r of /* @__PURE__ */ new Set([...pr, ...Object.keys(t)]))
2639
- this.setProperty(r, t[r]);
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]);
2640
2409
  }
2641
2410
  setProperty(t, r) {
2642
2411
  if (this[t] !== r) {
2643
- if (t in Ae && (r = r.map((n) => this.createChild(n))), !pr.has(t)) {
2412
+ if (t in Ae && (r = r.map((n) => this.createChild(n))), !cr.has(t)) {
2644
2413
  this[t] = r;
2645
2414
  return;
2646
2415
  }
@@ -2652,21 +2421,17 @@ var ru = tu, Ae = { attrs: !0, children: !0, cases: !0, expression: !0 }, pr = /
2652
2421
  for (let n in Ae) {
2653
2422
  let a = this[n];
2654
2423
  if (a) {
2655
- let i = iu(a, (s) => s.map(t));
2656
- r !== a && (r || (r = new ue({ parent: this.parent })), r.setProperty(n, i));
2424
+ let s = ru(a, (i) => i.map(t));
2425
+ r !== a && (r || (r = new ue({ parent: this.parent })), r.setProperty(n, s));
2657
2426
  }
2658
2427
  }
2659
- if (r)
2660
- for (let n in this)
2661
- n in Ae || (r[n] = this[n]);
2428
+ if (r) for (let n in this) n in Ae || (r[n] = this[n]);
2662
2429
  return t(r || this);
2663
2430
  }
2664
2431
  walk(t) {
2665
2432
  for (let r in Ae) {
2666
2433
  let n = this[r];
2667
- if (n)
2668
- for (let a = 0; a < n.length; a++)
2669
- n[a].walk(t);
2434
+ if (n) for (let a = 0; a < n.length; a++) n[a].walk(t);
2670
2435
  }
2671
2436
  t(this);
2672
2437
  }
@@ -2690,10 +2455,10 @@ var ru = tu, Ae = { attrs: !0, children: !0, cases: !0, expression: !0 }, pr = /
2690
2455
  return new ue(this);
2691
2456
  }
2692
2457
  get $children() {
2693
- return this[F(this, J, nt)];
2458
+ return this[F(this, J, rt)];
2694
2459
  }
2695
2460
  set $children(t) {
2696
- this[F(this, J, nt)] = t;
2461
+ this[F(this, J, rt)] = t;
2697
2462
  }
2698
2463
  get firstChild() {
2699
2464
  var t;
@@ -2703,11 +2468,11 @@ var ru = tu, Ae = { attrs: !0, children: !0, cases: !0, expression: !0 }, pr = /
2703
2468
  return de(!0, this.$children, -1);
2704
2469
  }
2705
2470
  get prev() {
2706
- let t = F(this, J, at);
2471
+ let t = F(this, J, nt);
2707
2472
  return t[t.indexOf(this) - 1];
2708
2473
  }
2709
2474
  get next() {
2710
- let t = F(this, J, at);
2475
+ let t = F(this, J, nt);
2711
2476
  return t[t.indexOf(this) + 1];
2712
2477
  }
2713
2478
  get rawName() {
@@ -2720,88 +2485,82 @@ var ru = tu, Ae = { attrs: !0, children: !0, cases: !0, expression: !0 }, pr = /
2720
2485
  return Object.fromEntries(this.attrs.map((t) => [t.fullName, t.value]));
2721
2486
  }
2722
2487
  };
2723
- J = /* @__PURE__ */ new WeakSet(), nt = function() {
2488
+ J = /* @__PURE__ */ new WeakSet(), rt = function() {
2724
2489
  return this.type === "angularIcuCase" ? "expression" : this.type === "angularIcuExpression" ? "cases" : "children";
2725
- }, at = function() {
2490
+ }, nt = function() {
2726
2491
  var e;
2727
2492
  return ((e = this.parent) == null ? void 0 : e.$children) ?? [];
2728
2493
  };
2729
- var au = nu;
2730
- function iu(e, t) {
2494
+ var tu = eu;
2495
+ function ru(e, t) {
2731
2496
  let r = e.map(t);
2732
2497
  return r.some((n, a) => n !== e[a]) ? r : e;
2733
2498
  }
2734
- var su = [{ regex: /^(\[if([^\]]*)\]>)(.*?)<!\s*\[endif\]$/su, parse: ou }, { regex: /^\[if([^\]]*)\]><!$/u, parse: lu }, { regex: /^<!\s*\[endif\]$/u, parse: cu }];
2735
- function uu(e, t) {
2736
- if (e.value)
2737
- for (let { regex: r, parse: n } of su) {
2738
- let a = e.value.match(r);
2739
- if (a)
2740
- return n(e, t, a);
2741
- }
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
+ }
2742
2505
  return null;
2743
2506
  }
2744
- function ou(e, t, r) {
2745
- let [, n, a, i] = r, s = 4 + n.length, u = e.sourceSpan.start.moveBy(s), o = u.moveBy(i.length), [p, l] = (() => {
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] = (() => {
2746
2509
  try {
2747
- return [!0, t(i, u).children];
2510
+ return [!0, t(s, u).children];
2748
2511
  } catch {
2749
- return [!1, [{ type: "text", value: i, sourceSpan: new m(u, o) }]];
2512
+ return [!1, [{ type: "text", value: s, sourceSpan: new m(u, o) }]];
2750
2513
  }
2751
2514
  })();
2752
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) };
2753
2516
  }
2754
- function lu(e, t, r) {
2517
+ function iu(e, t, r) {
2755
2518
  let [, n] = r;
2756
2519
  return { type: "ieConditionalStartComment", condition: L(!1, n.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan };
2757
2520
  }
2758
- function cu(e) {
2521
+ function uu(e) {
2759
2522
  return { type: "ieConditionalEndComment", sourceSpan: e.sourceSpan };
2760
2523
  }
2761
- var Je = /* @__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"])]]), pu = /* @__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"]);
2762
- function hu(e) {
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) {
2763
2526
  if (e.type === "block") {
2764
- if (e.name = L(!1, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.type = "angularControlFlowBlock", !ht(e.parameters)) {
2527
+ if (e.name = L(!1, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.type = "angularControlFlowBlock", !pt(e.parameters)) {
2765
2528
  delete e.parameters;
2766
2529
  return;
2767
2530
  }
2768
- for (let t of e.parameters)
2769
- t.type = "angularControlFlowBlockParameter";
2531
+ for (let t of e.parameters) t.type = "angularControlFlowBlockParameter";
2770
2532
  e.parameters = { type: "angularControlFlowBlockParameters", children: e.parameters, sourceSpan: new m(e.parameters[0].sourceSpan.start, de(!1, e.parameters, -1).sourceSpan.end) };
2771
2533
  }
2772
2534
  }
2773
- function du(e) {
2535
+ function cu(e) {
2774
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);
2775
2537
  }
2776
- function mu(e) {
2538
+ function pu(e) {
2777
2539
  (e.type === "plural" || e.type === "select") && (e.clause = e.type, e.type = "angularIcuExpression"), e.type === "expansionCase" && (e.type = "angularIcuCase");
2778
2540
  }
2779
- function hn(e, t, r) {
2780
- let { name: n, canSelfClose: a = !0, normalizeTagName: i = !1, normalizeAttributeName: s = !1, allowHtmComponentClosingTags: u = !1, isTagNameCaseSensitive: o = !1, shouldParseAsRawText: p } = t, { rootNodes: l, errors: v } = cr(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 });
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 });
2781
2543
  if (n === "vue") {
2782
- if (l.some((S) => S.type === "docType" && S.value === "html" || S.type === "element" && S.name.toLowerCase() === "html"))
2783
- return hn(e, At, r);
2784
- let c, f = () => c ?? (c = cr(e, { canSelfClose: a, allowHtmComponentClosingTags: u, isTagNameCaseSensitive: o })), A = (S) => f().rootNodes.find(({ startSourceSpan: T }) => T && T.start.offset === S.startSourceSpan.start.offset) ?? S;
2785
- for (let [S, T] of l.entries()) {
2786
- let { endSourceSpan: G, startSourceSpan: mn } = T;
2787
- if (G === null)
2788
- v = f().errors, l[S] = A(T);
2789
- else if (gu(T, r)) {
2790
- let kt = f().errors.find((Et) => Et.span.start.offset > mn.start.offset && Et.span.start.offset < G.end.offset);
2791
- kt && hr(kt), l[S] = A(T);
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);
2792
2552
  }
2793
2553
  }
2794
2554
  }
2795
- v.length > 0 && hr(v[0]);
2555
+ v.length > 0 && pr(v[0]);
2796
2556
  let d = (c) => {
2797
- let f = c.name.startsWith(":") ? c.name.slice(1).split(":")[0] : null, A = c.nameSpan.toString(), S = f !== null && A.startsWith(`${f}:`), T = S ? A.slice(f.length + 1) : A;
2798
- c.name = T, c.namespace = f, c.hasExplicitNamespace = S;
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;
2799
2559
  }, g = (c) => {
2800
2560
  switch (c.type) {
2801
2561
  case "element":
2802
2562
  d(c);
2803
- for (let f of c.attrs)
2804
- d(f), f.valueSpan ? (f.value = f.valueSpan.toString(), /["']/u.test(f.value[0]) && (f.value = f.value.slice(1, -1))) : f.value = null;
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;
2805
2564
  break;
2806
2565
  case "comment":
2807
2566
  c.value = c.sourceSpan.toString().slice(4, -3);
@@ -2814,18 +2573,16 @@ function hn(e, t, r) {
2814
2573
  let A = c.toLowerCase();
2815
2574
  return f(A) ? A : c;
2816
2575
  }, w = (c) => {
2817
- if (c.type === "element" && (i && (!c.namespace || c.namespace === c.tagDefinition.implicitNamespacePrefix || pe(c)) && (c.name = C(c.name, (f) => pu.has(f))), s))
2818
- for (let f of c.attrs)
2819
- f.namespace || (f.name = C(f.name, (A) => Je.has(c.name) && (Je.get("*").has(A) || Je.get(c.name).has(A))));
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))));
2820
2577
  }, E = (c) => {
2821
2578
  c.sourceSpan && c.endSourceSpan && (c.sourceSpan = new m(c.sourceSpan.start, c.endSourceSpan.end));
2822
2579
  }, x = (c) => {
2823
2580
  if (c.type === "element") {
2824
- let f = et(o ? c.name : c.name.toLowerCase());
2825
- !c.namespace || c.namespace === f.implicitNamespacePrefix || pe(c) ? c.tagDefinition = f : c.tagDefinition = et("");
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("");
2826
2583
  }
2827
2584
  };
2828
- return sn(new class extends Bs {
2585
+ return an(new class extends xi {
2829
2586
  visitExpansionCase(c, f) {
2830
2587
  n === "angular" && this.visitChildren(f, (A) => {
2831
2588
  A(c.expression);
@@ -2836,47 +2593,46 @@ function hn(e, t, r) {
2836
2593
  }
2837
2594
  }(), l), l;
2838
2595
  }
2839
- function gu(e, t) {
2596
+ function hu(e, t) {
2840
2597
  var r;
2841
- if (e.type !== "element" || e.name !== "template")
2842
- return !1;
2598
+ if (e.type !== "element" || e.name !== "template") return !1;
2843
2599
  let n = (r = e.attrs.find((a) => a.name === "lang")) == null ? void 0 : r.value;
2844
2600
  return !n || Pe(t, { language: n }) === "html";
2845
2601
  }
2846
- function hr(e) {
2602
+ function pr(e) {
2847
2603
  let { msg: t, span: { start: r, end: n } } = e;
2848
- throw Zs(t, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: 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 });
2849
2605
  }
2850
- function dn(e, t, r = {}, n = !0) {
2851
- let { frontMatter: a, content: i } = n ? ru(e) : { frontMatter: null, content: e }, s = new tn(e, r.filepath), u = new Ze(s, 0, 0, 0), o = u.moveBy(e.length), p = { type: "root", sourceSpan: new m(u, o), children: hn(i, t, r) };
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) };
2852
2608
  if (a) {
2853
- let d = new Ze(s, 0, 0, 0), g = d.moveBy(a.raw.length);
2609
+ let d = new Qe(i, 0, 0, 0), g = d.moveBy(a.raw.length);
2854
2610
  a.sourceSpan = new m(d, g), p.children.unshift(a);
2855
2611
  }
2856
- let l = new au(p), v = (d, g) => {
2857
- let { offset: C } = g, w = L(!1, e.slice(0, C), /[^\n\r]/gu, " "), E = dn(w + d, t, r, !1);
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);
2858
2614
  E.sourceSpan = new m(g, de(!1, E.children, -1).sourceSpan.end);
2859
2615
  let x = E.children[0];
2860
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;
2861
2617
  };
2862
2618
  return l.walk((d) => {
2863
2619
  if (d.type === "comment") {
2864
- let g = uu(d, v);
2620
+ let g = au(d, v);
2865
2621
  g && d.parent.replaceChild(d, g);
2866
2622
  }
2867
- hu(d), du(d), mu(d);
2623
+ lu(d), cu(d), pu(d);
2868
2624
  }), l;
2869
2625
  }
2870
- function ye(e) {
2871
- return { parse: (t, r) => dn(t, e, r), hasPragma: Ii, hasIgnorePragma: Pi, astFormat: "html", locStart: fe, locEnd: Re };
2626
+ function Se(e) {
2627
+ return { parse: (t, r) => hn(t, e, r), hasPragma: Fs, hasIgnorePragma: qs, astFormat: "html", locStart: fe, locEnd: Re };
2872
2628
  }
2873
- var At = { name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 }, fu = ye(At), vu = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]), Cu = ye({ ...At, name: "mjml", shouldParseAsRawText: (e) => vu.has(e) }), yu = ye({ name: "angular" }), Su = ye({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(e, t, r, n) {
2874
- return e.toLowerCase() !== "html" && !r && (e !== "template" || n.some(({ name: a, value: i }) => a === "lang" && i !== "html" && i !== "" && i !== void 0));
2875
- } }), bu = ye({ name: "lwc", canSelfClose: !1 }), _u = { html: cs }, Au = Cr;
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;
2876
2632
  export {
2877
- Au as default,
2878
- ps as languages,
2879
- ds as options,
2880
- nn as parsers,
2881
- _u as printers
2633
+ yu as default,
2634
+ oi as languages,
2635
+ ci as options,
2636
+ rn as parsers,
2637
+ Su as printers
2882
2638
  };