eddyter 1.3.59 → 1.3.61

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 (44) hide show
  1. package/dist/api/ai/aiAgentService.d.ts +44 -0
  2. package/dist/api/ai/index.d.ts +12 -12
  3. package/dist/assets/index.css +1 -0
  4. package/dist/babel-19rkKi7e.js +7157 -0
  5. package/dist/components/FileUpload/InsertFileDialog.d.ts +0 -1
  6. package/dist/components/LinkPreviewHover/index.d.ts +0 -1
  7. package/dist/components/ScopedEditor.d.ts +0 -1
  8. package/dist/components/TextEnhanceDialog/index.d.ts +1 -1
  9. package/dist/components/ui/dropdown-menu.d.ts +3 -3
  10. package/dist/components/ui/skeleton.d.ts +0 -1
  11. package/dist/context/ToolbarContext.d.ts +6 -2
  12. package/dist/editorConfig.d.ts +1 -0
  13. package/dist/estree-DmlwiAu4.js +4453 -0
  14. package/dist/hooks/useModal.d.ts +0 -1
  15. package/dist/{html-3f297a3a.js → html-DtcgJGeD.js} +1097 -1358
  16. package/dist/html2pdf.bundle-BP8K5ERw.js +32961 -0
  17. package/dist/html2pdf.bundle.min-BrDn1HSi.js +20244 -0
  18. package/dist/{index-25fd6b76.js → index-CFq39nnT.js} +17746 -18306
  19. package/dist/{index-940faa12.js → index-CnBHpreC.js} +347 -377
  20. package/dist/{index-1da728d1.js → index-DnHnFalw.js} +8 -38
  21. package/dist/index.js +13 -46
  22. package/dist/{markdown-08edd93b.js → markdown-C2JcxpgA.js} +1374 -1836
  23. package/dist/plugins/AIChatPlugin.d.ts +1 -2
  24. package/dist/plugins/AutocompletePlugin.d.ts +0 -1
  25. package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRulePlugin.d.ts +0 -1
  26. package/dist/plugins/HtmlSyncPlugin.d.ts +0 -1
  27. package/dist/plugins/LinkPreviewPlugin/index.d.ts +0 -1
  28. package/dist/plugins/PasteOptionsPlugin/index.d.ts +0 -1
  29. package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasPlugin.d.ts +0 -1
  30. package/dist/plugins/SlashCommandPlugin/index.d.ts +0 -1
  31. package/dist/plugins/UsageTrackingPlugin.d.ts +0 -1
  32. package/dist/plugins/VoiceTranscriptPlugin.d.ts +1 -1
  33. package/dist/postcss-Banlrd6S.js +4703 -0
  34. package/dist/{standalone-83d5947a.js → standalone-JqHlnZSs.js} +975 -1274
  35. package/dist/types.d.ts +2 -0
  36. package/dist/typescript-D_phonMq.js +12929 -0
  37. package/package.json +7 -5
  38. package/dist/assets/style.css +0 -1
  39. package/dist/babel-2d5b260f.js +0 -7770
  40. package/dist/estree-28f5912a.js +0 -4920
  41. package/dist/html2pdf.bundle-eacf777f.js +0 -34001
  42. package/dist/html2pdf.bundle.min-d9ce156b.js +0 -21964
  43. package/dist/postcss-0e22bc25.js +0 -5187
  44. package/dist/typescript-0559ee85.js +0 -13660
@@ -1,174 +1,144 @@
1
- var fn = Object.defineProperty;
2
- var _n = (e, t, r) => t in e ? fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var Je = (e, t, r) => (_n(e, typeof t != "symbol" ? t + "" : t, r), r), Qe = (e, t, r) => {
4
- if (!t.has(e))
5
- throw TypeError("Cannot " + r);
6
- };
7
- var I = (e, t, r) => (Qe(e, t, "read from private field"), r ? r.call(e) : t.get(e)), Ze = (e, t, r) => {
8
- if (t.has(e))
9
- throw TypeError("Cannot add the same private member more than once");
10
- t instanceof WeakSet ? t.add(e) : t.set(e, r);
11
- }, It = (e, t, r, n) => (Qe(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r);
12
- var Rt = (e, t, r) => (Qe(e, t, "access private method"), r);
13
- var fr = Object.defineProperty, _r = (e) => {
1
+ var sr = Object.defineProperty, or = (e) => {
14
2
  throw TypeError(e);
15
- }, Cn = (e, t, r) => t in e ? fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Cr = (e, t) => {
16
- for (var r in t)
17
- fr(e, r, { get: t[r], enumerable: !0 });
18
- }, Mt = (e, t, r) => Cn(e, typeof t != "symbol" ? t + "" : t, r), vn = (e, t, r) => t.has(e) || _r("Cannot " + r), Be = (e, t, r) => (vn(e, t, "read from private field"), r ? r.call(e) : t.get(e)), En = (e, t, r) => t.has(e) ? _r("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), Sn = {};
19
- Cr(Sn, { languages: () => ho, options: () => go, parsers: () => pn, printers: () => jo });
20
- var Ct = (e, t) => (r, n, ...a) => r | 1 && n == null ? void 0 : (t.call(n) ?? n[e]).apply(n, a), An = String.prototype.replaceAll ?? function(e, t) {
3
+ }, an = (e, t, r) => t in e ? sr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ur = (e, t) => {
4
+ for (var r in t) sr(e, r, { get: t[r], enumerable: !0 });
5
+ }, xt = (e, t, r) => an(e, typeof t != "symbol" ? t + "" : t, r), sn = (e, t, r) => t.has(e) || or("Cannot " + r), Ne = (e, t, r) => (sn(e, t, "read from private field"), r ? r.call(e) : t.get(e)), on = (e, t, r) => t.has(e) ? or("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), un = {};
6
+ ur(un, { languages: () => ro, options: () => ao, parsers: () => Zr, printers: () => Io });
7
+ var pt = (e, t) => (r, n, ...a) => r | 1 && n == null ? void 0 : (t.call(n) ?? n[e]).apply(n, a), ln = String.prototype.replaceAll ?? function(e, t) {
21
8
  return e.global ? this.replace(e, t) : this.split(e).join(t);
22
- }, Tn = Ct("replaceAll", function() {
23
- if (typeof this == "string")
24
- return An;
25
- }), k = Tn;
26
- function bn(e) {
9
+ }, cn = pt("replaceAll", function() {
10
+ if (typeof this == "string") return ln;
11
+ }), b = cn;
12
+ function pn(e) {
27
13
  return this[e < 0 ? this.length + e : e];
28
14
  }
29
- var kn = Ct("at", function() {
30
- if (Array.isArray(this) || typeof this == "string")
31
- return bn;
32
- }), ee = kn, wn = () => {
33
- }, yn = wn, vr = "string", Er = "array", Sr = "cursor", vt = "indent", Et = "align", Ar = "trim", St = "group", At = "fill", Tt = "if-break", bt = "indent-if-break", Tr = "line-suffix", br = "line-suffix-boundary", te = "line", kr = "label", kt = "break-parent", wr = /* @__PURE__ */ new Set([Sr, vt, Et, Ar, St, At, Tt, bt, Tr, br, te, kr, kt]);
34
- function Dn(e) {
35
- if (typeof e == "string")
36
- return vr;
37
- if (Array.isArray(e))
38
- return Er;
39
- if (!e)
40
- return;
15
+ var hn = pt("at", function() {
16
+ if (Array.isArray(this) || typeof this == "string") return pn;
17
+ }), Z = hn, dn = () => {
18
+ }, mn = dn, lr = "string", cr = "array", pr = "cursor", ht = "indent", dt = "align", hr = "trim", mt = "group", gt = "fill", ft = "if-break", _t = "indent-if-break", dr = "line-suffix", mr = "line-suffix-boundary", ee = "line", gr = "label", Ct = "break-parent", fr = /* @__PURE__ */ new Set([pr, ht, dt, hr, mt, gt, ft, _t, dr, mr, ee, gr, Ct]);
19
+ function gn(e) {
20
+ if (typeof e == "string") return lr;
21
+ if (Array.isArray(e)) return cr;
22
+ if (!e) return;
41
23
  let { type: t } = e;
42
- if (wr.has(t))
43
- return t;
24
+ if (fr.has(t)) return t;
44
25
  }
45
- var yr = Dn, xn = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
46
- function Nn(e) {
26
+ var _r = gn, fn = (e) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(e);
27
+ function _n(e) {
47
28
  let t = e === null ? "null" : typeof e;
48
- if (t !== "string" && t !== "object")
49
- return `Unexpected doc '${t}',
29
+ if (t !== "string" && t !== "object") return `Unexpected doc '${t}',
50
30
  Expected it to be 'string' or 'object'.`;
51
- if (yr(e))
52
- throw new Error("doc is valid.");
31
+ if (_r(e)) throw new Error("doc is valid.");
53
32
  let r = Object.prototype.toString.call(e);
54
- if (r !== "[object Object]")
55
- return `Unexpected doc '${r}'.`;
56
- let n = xn([...wr].map((a) => `'${a}'`));
33
+ if (r !== "[object Object]") return `Unexpected doc '${r}'.`;
34
+ let n = fn([...fr].map((a) => `'${a}'`));
57
35
  return `Unexpected doc.type '${e.type}'.
58
36
  Expected it to be ${n}.`;
59
37
  }
60
- var Bn = class extends Error {
61
- constructor(t) {
62
- super(Nn(t));
63
- Je(this, "name", "InvalidDocError");
64
- this.doc = t;
38
+ var Cn = class extends Error {
39
+ name = "InvalidDocError";
40
+ constructor(e) {
41
+ super(_n(e)), this.doc = e;
65
42
  }
66
- }, Ln = Bn;
67
- function Dr(e, t) {
68
- if (typeof e == "string")
69
- return t(e);
43
+ }, En = Cn;
44
+ function Cr(e, t) {
45
+ if (typeof e == "string") return t(e);
70
46
  let r = /* @__PURE__ */ new Map();
71
47
  return n(e);
72
48
  function n(i) {
73
- if (r.has(i))
74
- return r.get(i);
49
+ if (r.has(i)) return r.get(i);
75
50
  let s = a(i);
76
51
  return r.set(i, s), s;
77
52
  }
78
53
  function a(i) {
79
- switch (yr(i)) {
80
- case Er:
54
+ switch (_r(i)) {
55
+ case cr:
81
56
  return t(i.map(n));
82
- case At:
57
+ case gt:
83
58
  return t({ ...i, parts: i.parts.map(n) });
84
- case Tt:
59
+ case ft:
85
60
  return t({ ...i, breakContents: n(i.breakContents), flatContents: n(i.flatContents) });
86
- case St: {
61
+ case mt: {
87
62
  let { expandedStates: s, contents: o } = i;
88
63
  return s ? (s = s.map(n), o = s[0]) : o = n(o), t({ ...i, contents: o, expandedStates: s });
89
64
  }
90
- case Et:
91
- case vt:
92
- case bt:
93
- case kr:
94
- case Tr:
65
+ case dt:
66
+ case ht:
67
+ case _t:
68
+ case gr:
69
+ case dr:
95
70
  return t({ ...i, contents: n(i.contents) });
96
- case vr:
97
- case Sr:
98
- case Ar:
99
- case br:
100
- case te:
101
- case kt:
71
+ case lr:
72
+ case pr:
73
+ case hr:
74
+ case mr:
75
+ case ee:
76
+ case Ct:
102
77
  return t(i);
103
78
  default:
104
- throw new Ln(i);
79
+ throw new En(i);
105
80
  }
106
81
  }
107
82
  }
108
- function O(e, t = qn) {
109
- return Dr(e, (r) => typeof r == "string" ? re(t, r.split(`
83
+ function L(e, t = wn) {
84
+ return Cr(e, (r) => typeof r == "string" ? te(t, r.split(`
110
85
  `)) : r);
111
86
  }
112
- var On = yn;
113
- function F(e) {
114
- return { type: vt, contents: e };
87
+ var vn = mn;
88
+ function O(e) {
89
+ return { type: ht, contents: e };
115
90
  }
116
- function Fn(e, t) {
117
- return { type: Et, contents: t, n: e };
91
+ function Sn(e, t) {
92
+ return { type: dt, contents: t, n: e };
118
93
  }
119
- function Pn(e) {
120
- return Fn(Number.NEGATIVE_INFINITY, e);
94
+ function An(e) {
95
+ return Sn(Number.NEGATIVE_INFINITY, e);
121
96
  }
122
- var Ae = { type: kt };
123
- function xr(e) {
124
- return { type: At, parts: e };
97
+ var Se = { type: Ct };
98
+ function Er(e) {
99
+ return { type: gt, parts: e };
125
100
  }
126
101
  function A(e, t = {}) {
127
- return On(t.expandedStates), { type: St, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
102
+ return vn(t.expandedStates), { type: mt, id: t.id, contents: e, break: !!t.shouldBreak, expandedStates: t.expandedStates };
128
103
  }
129
- function Ce(e, t = "", r = {}) {
130
- return { type: Tt, breakContents: e, flatContents: t, groupId: r.groupId };
104
+ function _e(e, t = "", r = {}) {
105
+ return { type: ft, breakContents: e, flatContents: t, groupId: r.groupId };
131
106
  }
132
- function In(e, t) {
133
- return { type: bt, contents: e, groupId: t.groupId, negate: t.negate };
107
+ function Tn(e, t) {
108
+ return { type: _t, contents: e, groupId: t.groupId, negate: t.negate };
134
109
  }
135
- function re(e, t) {
110
+ function te(e, t) {
136
111
  let r = [];
137
- for (let n = 0; n < t.length; n++)
138
- n !== 0 && r.push(e), r.push(t[n]);
112
+ for (let n = 0; n < t.length; n++) n !== 0 && r.push(e), r.push(t[n]);
139
113
  return r;
140
114
  }
141
- var S = { type: te }, b = { type: te, soft: !0 }, Rn = { type: te, hard: !0 }, E = [Rn, Ae], Mn = { type: te, hard: !0, literal: !0 }, qn = [Mn, Ae], Nr = Object.freeze({ character: "'", codePoint: 39 }), Br = Object.freeze({ character: '"', codePoint: 34 }), Hn = Object.freeze({ preferred: Nr, alternate: Br }), Vn = Object.freeze({ preferred: Br, alternate: Nr });
142
- function Un(e, t) {
143
- let { preferred: r, alternate: n } = t === !0 || t === "'" ? Hn : Vn, { length: a } = e, i = 0, s = 0;
115
+ var S = { type: ee }, k = { type: ee, soft: !0 }, kn = { type: ee, hard: !0 }, v = [kn, Se], bn = { type: ee, hard: !0, literal: !0 }, wn = [bn, Se], vr = Object.freeze({ character: "'", codePoint: 39 }), Sr = Object.freeze({ character: '"', codePoint: 34 }), yn = Object.freeze({ preferred: vr, alternate: Sr }), Dn = Object.freeze({ preferred: Sr, alternate: vr });
116
+ function xn(e, t) {
117
+ let { preferred: r, alternate: n } = t === !0 || t === "'" ? yn : Dn, { length: a } = e, i = 0, s = 0;
144
118
  for (let o = 0; o < a; o++) {
145
119
  let l = e.charCodeAt(o);
146
120
  l === r.codePoint ? i++ : l === n.codePoint && s++;
147
121
  }
148
122
  return (i > s ? n : r).character;
149
123
  }
150
- var Wn = Un;
151
- function zn(e) {
152
- if (typeof e != "string")
153
- throw new TypeError("Expected a string");
124
+ var Nn = xn;
125
+ function Bn(e) {
126
+ if (typeof e != "string") throw new TypeError("Expected a string");
154
127
  return e.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
155
128
  }
156
- var D, Ve, Lr, gr, $n = (gr = class {
129
+ var Ln = class {
130
+ #e;
157
131
  constructor(e) {
158
- Ze(this, Ve);
159
- Ze(this, D, void 0);
160
- It(this, D, new Set(e));
132
+ this.#e = new Set(e);
161
133
  }
162
134
  getLeadingWhitespaceCount(e) {
163
- let t = I(this, D), r = 0;
164
- for (let n = 0; n < e.length && t.has(e.charAt(n)); n++)
165
- r++;
135
+ let t = this.#e, r = 0;
136
+ for (let n = 0; n < e.length && t.has(e.charAt(n)); n++) r++;
166
137
  return r;
167
138
  }
168
139
  getTrailingWhitespaceCount(e) {
169
- let t = I(this, D), r = 0;
170
- for (let n = e.length - 1; n >= 0 && t.has(e.charAt(n)); n--)
171
- r++;
140
+ let t = this.#e, r = 0;
141
+ for (let n = e.length - 1; n >= 0 && t.has(e.charAt(n)); n--) r++;
172
142
  return r;
173
143
  }
174
144
  getLeadingWhitespace(e) {
@@ -180,10 +150,10 @@ var D, Ve, Lr, gr, $n = (gr = class {
180
150
  return e.slice(e.length - t);
181
151
  }
182
152
  hasLeadingWhitespace(e) {
183
- return I(this, D).has(e.charAt(0));
153
+ return this.#e.has(e.charAt(0));
184
154
  }
185
155
  hasTrailingWhitespace(e) {
186
- return I(this, D).has(ee(0, e, -1));
156
+ return this.#e.has(Z(0, e, -1));
187
157
  }
188
158
  trimStart(e) {
189
159
  let t = this.getLeadingWhitespaceCount(e);
@@ -197,255 +167,235 @@ var D, Ve, Lr, gr, $n = (gr = class {
197
167
  return this.trimEnd(this.trimStart(e));
198
168
  }
199
169
  split(e, t = !1) {
200
- let r = `[${zn([...I(this, D)].join(""))}]+`, n = new RegExp(t ? `(${r})` : r, "u");
170
+ let r = `[${Bn([...this.#e].join(""))}]+`, n = new RegExp(t ? `(${r})` : r, "u");
201
171
  return e.split(n);
202
172
  }
203
173
  hasWhitespaceCharacter(e) {
204
- let t = I(this, D);
174
+ let t = this.#e;
205
175
  return Array.prototype.some.call(e, (r) => t.has(r));
206
176
  }
207
177
  hasNonWhitespaceCharacter(e) {
208
- let t = I(this, D);
178
+ let t = this.#e;
209
179
  return Array.prototype.some.call(e, (r) => !t.has(r));
210
180
  }
211
181
  isWhitespaceOnly(e) {
212
- let t = I(this, D);
182
+ let t = this.#e;
213
183
  return Array.prototype.every.call(e, (r) => t.has(r));
214
184
  }
185
+ #t(e) {
186
+ let t = Number.POSITIVE_INFINITY;
187
+ for (let r of e.split(`
188
+ `)) {
189
+ if (r.length === 0) continue;
190
+ let n = this.getLeadingWhitespaceCount(r);
191
+ if (n === 0) return 0;
192
+ r.length !== n && n < t && (t = n);
193
+ }
194
+ return t === Number.POSITIVE_INFINITY ? 0 : t;
195
+ }
215
196
  dedentString(e) {
216
- let t = Rt(this, Ve, Lr).call(this, e);
197
+ let t = this.#t(e);
217
198
  return t === 0 ? e : e.split(`
218
199
  `).map((r) => r.slice(t)).join(`
219
200
  `);
220
201
  }
221
- }, D = new WeakMap(), Ve = new WeakSet(), Lr = function(e) {
222
- let t = Number.POSITIVE_INFINITY;
223
- for (let r of e.split(`
224
- `)) {
225
- if (r.length === 0)
226
- continue;
227
- let n = this.getLeadingWhitespaceCount(r);
228
- if (n === 0)
229
- return 0;
230
- r.length !== n && n < t && (t = n);
231
- }
232
- return t === Number.POSITIVE_INFINITY ? 0 : t;
233
- }, gr), jn = $n, Xn = [" ", `
234
- `, "\f", "\r", " "], Gn = new jn(Xn), N = Gn, Kn = class extends Error {
235
- constructor(t, r, n = "type") {
236
- super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);
237
- Je(this, "name", "UnexpectedNodeError");
238
- this.node = t;
239
- }
240
- }, Yn = Kn, Jn = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), Qn = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
241
- function Or(e, t, r) {
242
- var n;
243
- if (e.kind === "text" || e.kind === "comment")
244
- return null;
202
+ }, On = Ln, Fn = [" ", `
203
+ `, "\f", "\r", " "], Pn = new On(Fn), x = Pn, In = class extends Error {
204
+ name = "UnexpectedNodeError";
205
+ constructor(e, t, r = "type") {
206
+ super(`Unexpected ${t} node ${r}: ${JSON.stringify(e[r])}.`), this.node = e;
207
+ }
208
+ }, Rn = In, Mn = /* @__PURE__ */ new Set(["sourceSpan", "startSourceSpan", "endSourceSpan", "nameSpan", "valueSpan", "keySpan", "tagDefinition", "tokens", "valueTokens", "switchValueSourceSpan", "expSourceSpan", "valueSourceSpan"]), qn = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
209
+ function Ar(e, t, r) {
210
+ if (e.kind === "text" || e.kind === "comment") return null;
245
211
  if (e.kind === "yaml" && delete t.value, e.kind === "attribute") {
246
- let { fullName: a, value: i } = e;
247
- a === "style" || a === "class" || a === "srcset" && (r.fullName === "img" || r.fullName === "source") || a === "allow" && r.fullName === "iframe" || a.startsWith("on") || a.startsWith("@") || a.startsWith(":") || a.startsWith(".") || a.startsWith("#") || a.startsWith("v-") || a === "vars" && r.fullName === "style" || (a === "setup" || a === "generic") && r.fullName === "script" || a === "slot-scope" || a.startsWith("(") || a.startsWith("[") || a.startsWith("*") || a.startsWith("bind") || a.startsWith("i18n") || a.startsWith("on-") || a.startsWith("ng-") || i != null && i.includes("{{") ? delete t.value : i && (t.value = k(0, i, /'|&quot;|&apos;/gu, '"'));
212
+ let { fullName: n, value: a } = e;
213
+ n === "style" || n === "class" || n === "srcset" && (r.fullName === "img" || r.fullName === "source") || n === "allow" && r.fullName === "iframe" || n.startsWith("on") || n.startsWith("@") || n.startsWith(":") || n.startsWith(".") || n.startsWith("#") || n.startsWith("v-") || n === "vars" && r.fullName === "style" || (n === "setup" || n === "generic") && r.fullName === "script" || n === "slot-scope" || n.startsWith("(") || n.startsWith("[") || n.startsWith("*") || n.startsWith("bind") || n.startsWith("i18n") || n.startsWith("on-") || n.startsWith("ng-") || a?.includes("{{") ? delete t.value : a && (t.value = b(0, a, /'|&quot;|&apos;/gu, '"'));
248
214
  }
249
- if (e.kind === "docType" && (t.value = k(0, e.value.toLowerCase(), /\s+/gu, " ")), e.kind === "angularControlFlowBlock" && ((n = e.parameters) == null ? void 0 : n.children))
250
- for (let a of t.parameters.children)
251
- Qn.has(e.name) ? delete a.expression : a.expression = a.expression.trim();
215
+ if (e.kind === "docType" && (t.value = b(0, e.value.toLowerCase(), /\s+/gu, " ")), e.kind === "angularControlFlowBlock" && e.parameters?.children) for (let n of t.parameters.children) qn.has(e.name) ? delete n.expression : n.expression = n.expression.trim();
252
216
  e.kind === "angularIcuExpression" && (t.switchValue = e.switchValue.trim()), e.kind === "angularLetDeclarationInitializer" && delete t.value, e.kind === "element" && e.isVoid && !e.isSelfClosing && (t.isSelfClosing = !0);
253
217
  }
254
- Or.ignoredProperties = Jn;
255
- var Zn = Or;
256
- function Te(e, t = !0) {
257
- return [F([b, e]), t ? b : ""];
218
+ Ar.ignoredProperties = Mn;
219
+ var Hn = Ar;
220
+ function Ae(e, t = !0) {
221
+ return [O([k, e]), t ? k : ""];
258
222
  }
259
- function ne(e, t) {
223
+ function re(e, t) {
260
224
  let r = e.type === "NGRoot" ? e.node.type === "NGMicrosyntax" && e.node.body.length === 1 && e.node.body[0].type === "NGMicrosyntaxExpression" ? e.node.body[0].expression : e.node : e.type === "JsExpressionRoot" ? e.node : e;
261
- return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (t.parser === "__vue_expression" || t.parser === "__vue_ts_expression") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
225
+ return r && (r.type === "ObjectExpression" || r.type === "ArrayExpression" || (t.parser === "__vue_expression" || t.parser === "__vue_ts_expression" || t.parser === "__ng_binding" || t.parser === "__ng_directive") && (r.type === "TemplateLiteral" || r.type === "StringLiteral"));
262
226
  }
263
- async function B(e, t, r, n) {
227
+ async function N(e, t, r, n) {
264
228
  r = { __isInHtmlAttribute: !0, __embeddedInHtml: !0, ...r };
265
229
  let a = !0;
266
230
  n && (r.__onHtmlBindingRoot = (s, o) => {
267
231
  a = n(s, o);
268
232
  });
269
233
  let i = await t(e, r, t);
270
- return a ? A(i) : Te(i);
234
+ return a ? A(i) : Ae(i);
271
235
  }
272
- function ea(e, t, r, n) {
236
+ function Vn(e, t, r, n) {
273
237
  let { node: a } = r, i = n.originalText.slice(a.sourceSpan.start.offset, a.sourceSpan.end.offset);
274
- return /^\s*$/u.test(i) ? "" : B(i, e, { parser: "__ng_directive", __isInHtmlAttribute: !1 }, ne);
238
+ return /^\s*$/u.test(i) ? "" : N(i, e, { parser: "__ng_directive", __isInHtmlAttribute: !1 }, re);
275
239
  }
276
- var ta = ea, ra = Array.prototype.toReversed ?? function() {
240
+ var Un = Vn, Wn = Array.prototype.toReversed ?? function() {
277
241
  return [...this].reverse();
278
- }, na = Ct("toReversed", function() {
279
- if (Array.isArray(this))
280
- return ra;
281
- }), aa = na;
282
- function ia() {
283
- var r, n, a, i, s, o;
284
- let e = globalThis, t = (n = (r = e.Deno) == null ? void 0 : r.build) == null ? void 0 : n.os;
285
- return typeof t == "string" ? t === "windows" : ((i = (a = e.navigator) == null ? void 0 : a.platform) == null ? void 0 : i.startsWith("Win")) ?? ((o = (s = e.process) == null ? void 0 : s.platform) == null ? void 0 : o.startsWith("win")) ?? !1;
286
- }
287
- var sa = ia();
288
- function Fr(e) {
289
- if (e = e instanceof URL ? e : new URL(e), e.protocol !== "file:")
290
- throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);
242
+ }, zn = pt("toReversed", function() {
243
+ if (Array.isArray(this)) return Wn;
244
+ }), $n = zn;
245
+ function jn() {
246
+ let e = globalThis, t = e.Deno?.build?.os;
247
+ return typeof t == "string" ? t === "windows" : e.navigator?.platform?.startsWith("Win") ?? e.process?.platform?.startsWith("win") ?? !1;
248
+ }
249
+ var Xn = jn();
250
+ function Tr(e) {
251
+ if (e = e instanceof URL ? e : new URL(e), e.protocol !== "file:") throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);
291
252
  return e;
292
253
  }
293
- function oa(e) {
294
- return e = Fr(e), decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
254
+ function Gn(e) {
255
+ return e = Tr(e), decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g, "%25"));
295
256
  }
296
- function ua(e) {
297
- e = Fr(e);
257
+ function Kn(e) {
258
+ e = Tr(e);
298
259
  let t = decodeURIComponent(e.pathname.replace(/\//g, "\\").replace(/%(?![0-9A-Fa-f]{2})/g, "%25")).replace(/^\\*([A-Za-z]:)(\\|$)/, "$1\\");
299
260
  return e.hostname !== "" && (t = `\\\\${e.hostname}${t}`), t;
300
261
  }
301
- function la(e) {
302
- return sa ? ua(e) : oa(e);
262
+ function Yn(e) {
263
+ return Xn ? Kn(e) : Gn(e);
303
264
  }
304
- var ca = (e) => String(e).split(/[/\\]/u).pop(), pa = (e) => String(e).startsWith("file:");
305
- function ha(e) {
265
+ var Jn = (e) => String(e).split(/[/\\]/u).pop(), Qn = (e) => String(e).startsWith("file:");
266
+ function Zn(e) {
306
267
  return Array.isArray(e) && e.length > 0;
307
268
  }
308
- var wt = ha;
309
- function qt(e, t) {
310
- if (!t)
311
- return;
312
- let r = ca(t).toLowerCase();
313
- 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)));
269
+ var Et = Zn;
270
+ function Nt(e, t) {
271
+ if (!t) return;
272
+ let r = Jn(t).toLowerCase();
273
+ return e.find(({ filenames: n }) => n?.some((a) => a.toLowerCase() === r)) ?? e.find(({ extensions: n }) => n?.some((a) => r.endsWith(a)));
314
274
  }
315
- function da(e, t) {
316
- if (t)
317
- 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}`));
275
+ function ea(e, t) {
276
+ if (t) return e.find(({ name: r }) => r.toLowerCase() === t) ?? e.find(({ aliases: r }) => r?.includes(t)) ?? e.find(({ extensions: r }) => r?.includes(`.${t}`));
318
277
  }
319
- var et = void 0;
320
- function Ht(e, t) {
278
+ var ta = void 0;
279
+ function Bt(e, t) {
321
280
  if (t) {
322
- if (pa(t))
323
- try {
324
- t = la(t);
325
- } catch {
326
- return;
327
- }
328
- if (typeof t == "string")
329
- return e.find(({ isSupported: r }) => r == null ? void 0 : r({ filepath: t }));
281
+ if (Qn(t)) try {
282
+ t = Yn(t);
283
+ } catch {
284
+ return;
285
+ }
286
+ if (typeof t == "string") return e.find(({ isSupported: r }) => r?.({ filepath: t }));
330
287
  }
331
288
  }
332
- function ma(e, t) {
333
- var n;
334
- let r = aa(0, e.plugins).flatMap((a) => a.languages ?? []);
335
- return (n = da(r, t.language) ?? qt(r, t.physicalFile) ?? qt(r, t.file) ?? Ht(r, t.physicalFile) ?? Ht(r, t.file) ?? (et == null ? void 0 : et(r, t.physicalFile))) == null ? void 0 : n.parsers[0];
336
- }
337
- var yt = ma, Pr = Symbol.for("PRETTIER_IS_FRONT_MATTER");
338
- function ga(e) {
339
- return !!(e != null && e[Pr]);
340
- }
341
- var Ue = ga, oe = 3;
342
- function fa(e) {
343
- let t = e.slice(0, oe);
344
- if (t !== "---" && t !== "+++")
345
- return;
289
+ function ra(e, t) {
290
+ let r = $n(0, e.plugins).flatMap((n) => n.languages ?? []);
291
+ return (ea(r, t.language) ?? Nt(r, t.physicalFile) ?? Nt(r, t.file) ?? Bt(r, t.physicalFile) ?? Bt(r, t.file) ?? ta?.(r, t.physicalFile))?.parsers[0];
292
+ }
293
+ var vt = ra, kr = /* @__PURE__ */ Symbol.for("PRETTIER_IS_FRONT_MATTER");
294
+ function na(e) {
295
+ return !!e?.[kr];
296
+ }
297
+ var qe = na, se = 3;
298
+ function aa(e) {
299
+ let t = e.slice(0, se);
300
+ if (t !== "---" && t !== "+++") return;
346
301
  let r = e.indexOf(`
347
- `, oe);
348
- if (r === -1)
349
- return;
350
- let n = e.slice(oe, r).trim(), a = e.indexOf(`
302
+ `, se);
303
+ if (r === -1) return;
304
+ let n = e.slice(se, r).trim(), a = e.indexOf(`
351
305
  ${t}`, r), i = n;
352
306
  if (i || (i = t === "+++" ? "toml" : "yaml"), a === -1 && t === "---" && i === "yaml" && (a = e.indexOf(`
353
- ...`, r)), a === -1)
354
- return;
355
- let s = a + 1 + oe, o = e.charAt(s + 1);
356
- if (!/\s?/u.test(o))
357
- return;
307
+ ...`, r)), a === -1) return;
308
+ let s = a + 1 + se, o = e.charAt(s + 1);
309
+ if (!/\s?/u.test(o)) return;
358
310
  let l = e.slice(0, s), c;
359
- return { language: i, explicitLanguage: n || null, value: e.slice(r + 1, a), startDelimiter: t, endDelimiter: l.slice(-oe), raw: l, start: { line: 1, column: 0, index: 0 }, end: { index: l.length, get line() {
311
+ return { language: i, explicitLanguage: n || null, value: e.slice(r + 1, a), startDelimiter: t, endDelimiter: l.slice(-se), raw: l, start: { line: 1, column: 0, index: 0 }, end: { index: l.length, get line() {
360
312
  return c ?? (c = l.split(`
361
313
  `)), c.length;
362
314
  }, get column() {
363
315
  return c ?? (c = l.split(`
364
- `)), ee(0, c, -1).length;
365
- } }, [Pr]: !0 };
316
+ `)), Z(0, c, -1).length;
317
+ } }, [kr]: !0 };
366
318
  }
367
- function _a(e) {
368
- let t = fa(e);
319
+ function ia(e) {
320
+ let t = aa(e);
369
321
  return t ? { frontMatter: t, get content() {
370
322
  let { raw: r } = t;
371
- return k(0, r, /[^\n]/gu, " ") + e.slice(r.length);
323
+ return b(0, r, /[^\n]/gu, " ") + e.slice(r.length);
372
324
  } } : { content: e };
373
325
  }
374
- var Ca = _a, va = "inline", Vt = { 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", select: "inline-block", source: "block", track: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", option: "block", optgroup: "block" }, Ea = "normal", Ut = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
375
- function Sa(e) {
326
+ var sa = ia, oa = "inline", Lt = { 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", select: "inline-block", source: "block", track: "block", meter: "inline-block", progress: "inline-block", object: "inline-block", video: "inline-block", audio: "inline-block", option: "block", optgroup: "block" }, ua = "normal", Ot = { listing: "pre", plaintext: "pre", pre: "pre", xmp: "pre", nobr: "nowrap", table: "initial", textarea: "pre-wrap" };
327
+ function la(e) {
376
328
  return e.kind === "element" && !e.hasExplicitNamespace && !["html", "svg"].includes(e.namespace);
377
329
  }
378
- var be = Sa, Aa = (e) => k(0, e, /^[\t\f\r ]*\n/gu, ""), Ir = (e) => Aa(N.trimEnd(e)), Ta = (e) => {
379
- let t = e, r = N.getLeadingWhitespace(t);
330
+ var Te = la, ca = (e) => b(0, e, /^[\t\f\r ]*\n/gu, ""), br = (e) => ca(x.trimEnd(e)), pa = (e) => {
331
+ let t = e, r = x.getLeadingWhitespace(t);
380
332
  r && (t = t.slice(r.length));
381
- let n = N.getTrailingWhitespace(t);
333
+ let n = x.getTrailingWhitespace(t);
382
334
  return n && (t = t.slice(0, -n.length)), { leadingWhitespace: r, trailingWhitespace: n, text: t };
383
335
  };
384
- function Rr(e, t) {
385
- return !!(e.kind === "ieConditionalComment" && e.lastChild && !e.lastChild.isSelfClosing && !e.lastChild.endSourceSpan || e.kind === "ieConditionalComment" && !e.complete || Z(e) && e.children.some((r) => r.kind !== "text" && r.kind !== "interpolation") || xt(e, t) && !M(e, t) && e.kind !== "interpolation");
336
+ function wr(e, t) {
337
+ return !!(e.kind === "ieConditionalComment" && e.lastChild && !e.lastChild.isSelfClosing && !e.lastChild.endSourceSpan || e.kind === "ieConditionalComment" && !e.complete || Q(e) && e.children.some((r) => r.kind !== "text" && r.kind !== "interpolation") || At(e, t) && !I(e, t) && e.kind !== "interpolation");
386
338
  }
387
- function We(e) {
388
- return e.kind === "attribute" || !e.parent || !e.prev ? !1 : ba(e.prev);
339
+ function He(e) {
340
+ return e.kind === "attribute" || !e.parent || !e.prev ? !1 : ha(e.prev);
389
341
  }
390
- function ba(e) {
342
+ function ha(e) {
391
343
  return e.kind === "comment" && e.value.trim() === "prettier-ignore";
392
344
  }
393
- function x(e) {
345
+ function D(e) {
394
346
  return e.kind === "text" || e.kind === "comment";
395
347
  }
396
- function M(e, t) {
397
- return e.kind === "element" && (e.fullName === "script" || e.fullName === "style" || e.fullName === "svg:style" || e.fullName === "svg:script" || e.fullName === "mj-style" && t.parser === "mjml" || be(e) && (e.name === "script" || e.name === "style"));
348
+ function I(e, t) {
349
+ return e.kind === "element" && (e.fullName === "script" || e.fullName === "style" || e.fullName === "svg:style" || e.fullName === "svg:script" || e.fullName === "mj-style" && t.parser === "mjml" || Te(e) && (e.name === "script" || e.name === "style"));
398
350
  }
399
- function ka(e, t) {
400
- return e.children && !M(e, t);
351
+ function da(e, t) {
352
+ return e.children && !I(e, t);
401
353
  }
402
- function wa(e, t) {
403
- return M(e, t) || e.kind === "interpolation" || Mr(e);
354
+ function ma(e, t) {
355
+ return I(e, t) || e.kind === "interpolation" || yr(e);
404
356
  }
405
- function Mr(e) {
406
- return $r(e).startsWith("pre");
357
+ function yr(e) {
358
+ return Fr(e).startsWith("pre");
407
359
  }
408
- function ya(e, t) {
409
- var a, i;
360
+ function ga(e, t) {
410
361
  let r = n();
411
- if (r && !e.prev && ((i = (a = e.parent) == null ? void 0 : a.tagDefinition) != null && i.ignoreFirstLf))
412
- return e.kind === "interpolation";
362
+ if (r && !e.prev && e.parent?.tagDefinition?.ignoreFirstLf) return e.kind === "interpolation";
413
363
  return r;
414
364
  function n() {
415
- return Ue(e) || e.kind === "angularControlFlowBlock" ? !1 : (e.kind === "text" || e.kind === "interpolation") && e.prev && (e.prev.kind === "text" || e.prev.kind === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : Z(e.parent) ? !0 : !(!e.prev && (e.parent.kind === "root" || Z(e) && e.parent || M(e.parent, t) || ze(e.parent, t) || !Ia(e.parent.cssDisplay)) || e.prev && !qa(e.prev.cssDisplay));
365
+ return qe(e) || e.kind === "angularControlFlowBlock" ? !1 : (e.kind === "text" || e.kind === "interpolation") && e.prev && (e.prev.kind === "text" || e.prev.kind === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : Q(e.parent) ? !0 : !(!e.prev && (e.parent.kind === "root" || Q(e) && e.parent || I(e.parent, t) || Ve(e.parent, t) || !ka(e.parent.cssDisplay)) || e.prev && !ya(e.prev.cssDisplay));
416
366
  }
417
367
  }
418
- function Da(e, t) {
419
- return Ue(e) || e.kind === "angularControlFlowBlock" ? !1 : (e.kind === "text" || e.kind === "interpolation") && e.next && (e.next.kind === "text" || e.next.kind === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : Z(e.parent) ? !0 : !(!e.next && (e.parent.kind === "root" || Z(e) && e.parent || M(e.parent, t) || ze(e.parent, t) || !Ra(e.parent.cssDisplay)) || e.next && !Ma(e.next.cssDisplay));
368
+ function fa(e, t) {
369
+ return qe(e) || e.kind === "angularControlFlowBlock" ? !1 : (e.kind === "text" || e.kind === "interpolation") && e.next && (e.next.kind === "text" || e.next.kind === "interpolation") ? !0 : !e.parent || e.parent.cssDisplay === "none" ? !1 : Q(e.parent) ? !0 : !(!e.next && (e.parent.kind === "root" || Q(e) && e.parent || I(e.parent, t) || Ve(e.parent, t) || !ba(e.parent.cssDisplay)) || e.next && !wa(e.next.cssDisplay));
420
370
  }
421
- function xa(e, t) {
422
- return Ha(e.cssDisplay) && !M(e, t);
371
+ function _a(e, t) {
372
+ return Da(e.cssDisplay) && !I(e, t);
423
373
  }
424
- function Le(e) {
425
- return Ue(e) || e.next && e.sourceSpan.end && e.sourceSpan.end.line + 1 < e.next.sourceSpan.start.line;
374
+ function Be(e) {
375
+ return qe(e) || e.next && e.sourceSpan.end && e.sourceSpan.end.line + 1 < e.next.sourceSpan.start.line;
426
376
  }
427
- function Na(e) {
428
- return qr(e) || e.kind === "element" && e.children.length > 0 && (["body", "script", "style"].includes(e.name) || e.children.some((t) => La(t))) || e.firstChild && e.firstChild === e.lastChild && e.firstChild.kind !== "text" && Vr(e.firstChild) && (!e.lastChild.isTrailingSpaceSensitive || Ur(e.lastChild));
377
+ function Ca(e) {
378
+ return Dr(e) || e.kind === "element" && e.children.length > 0 && (["body", "script", "style"].includes(e.name) || e.children.some((t) => va(t))) || e.firstChild && e.firstChild === e.lastChild && e.firstChild.kind !== "text" && Nr(e.firstChild) && (!e.lastChild.isTrailingSpaceSensitive || Br(e.lastChild));
429
379
  }
430
- function qr(e) {
380
+ function Dr(e) {
431
381
  return e.kind === "element" && e.children.length > 0 && (["html", "head", "ul", "ol", "select"].includes(e.name) || e.cssDisplay.startsWith("table") && e.cssDisplay !== "table-cell");
432
382
  }
433
- function tt(e) {
434
- return Wr(e) || e.prev && Ba(e.prev) || Hr(e);
383
+ function Ge(e) {
384
+ return Lr(e) || e.prev && Ea(e.prev) || xr(e);
435
385
  }
436
- function Ba(e) {
437
- return Wr(e) || e.kind === "element" && e.fullName === "br" || Hr(e);
386
+ function Ea(e) {
387
+ return Lr(e) || e.kind === "element" && e.fullName === "br" || xr(e);
438
388
  }
439
- function Hr(e) {
440
- return Vr(e) && Ur(e);
389
+ function xr(e) {
390
+ return Nr(e) && Br(e);
441
391
  }
442
- function Vr(e) {
392
+ function Nr(e) {
443
393
  return e.hasLeadingSpaces && (e.prev ? e.prev.sourceSpan.end.line < e.sourceSpan.start.line : e.parent.kind === "root" || e.parent.startSourceSpan.end.line < e.sourceSpan.start.line);
444
394
  }
445
- function Ur(e) {
395
+ function Br(e) {
446
396
  return e.hasTrailingSpaces && (e.next ? e.next.sourceSpan.start.line > e.sourceSpan.end.line : e.parent.kind === "root" || e.parent.endSourceSpan && e.parent.endSourceSpan.start.line > e.sourceSpan.end.line);
447
397
  }
448
- function Wr(e) {
398
+ function Lr(e) {
449
399
  switch (e.kind) {
450
400
  case "ieConditionalComment":
451
401
  case "comment":
@@ -456,389 +406,342 @@ function Wr(e) {
456
406
  }
457
407
  return !1;
458
408
  }
459
- function Dt(e) {
460
- return e.lastChild ? Dt(e.lastChild) : e;
461
- }
462
- function La(e) {
463
- var t;
464
- return (t = e.children) == null ? void 0 : t.some((r) => r.kind !== "text");
465
- }
466
- function zr(e) {
467
- if (e)
468
- switch (e) {
469
- case "module":
470
- case "text/javascript":
471
- case "text/babel":
472
- case "text/jsx":
473
- case "application/javascript":
474
- return "babel";
475
- case "application/x-typescript":
476
- return "typescript";
477
- case "text/markdown":
478
- return "markdown";
479
- case "text/html":
480
- return "html";
481
- case "text/x-handlebars-template":
482
- return "glimmer";
483
- default:
484
- if (e.endsWith("json") || e.endsWith("importmap") || e === "speculationrules")
485
- return "json";
486
- }
409
+ function St(e) {
410
+ return e.lastChild ? St(e.lastChild) : e;
411
+ }
412
+ function va(e) {
413
+ return e.children?.some((t) => t.kind !== "text");
414
+ }
415
+ function Or(e) {
416
+ if (e) switch (e) {
417
+ case "module":
418
+ case "text/javascript":
419
+ case "text/babel":
420
+ case "text/jsx":
421
+ case "application/javascript":
422
+ return "babel";
423
+ case "application/x-typescript":
424
+ return "typescript";
425
+ case "text/markdown":
426
+ return "markdown";
427
+ case "text/html":
428
+ return "html";
429
+ case "text/x-handlebars-template":
430
+ return "glimmer";
431
+ default:
432
+ if (e.endsWith("json") || e.endsWith("importmap") || e === "speculationrules") return "json";
433
+ }
487
434
  }
488
- function Oa(e, t) {
435
+ function Sa(e, t) {
489
436
  let { name: r, attrMap: n } = e;
490
- if (r !== "script" || Object.prototype.hasOwnProperty.call(n, "src"))
491
- return;
437
+ if (r !== "script" || Object.prototype.hasOwnProperty.call(n, "src")) return;
492
438
  let { type: a, lang: i } = e.attrMap;
493
- return !i && !a ? "babel" : yt(t, { language: i }) ?? zr(a);
439
+ return !i && !a ? "babel" : vt(t, { language: i }) ?? Or(a);
494
440
  }
495
- function Fa(e, t) {
496
- if (!xt(e, t))
497
- return;
441
+ function Aa(e, t) {
442
+ if (!At(e, t)) return;
498
443
  let { attrMap: r } = e;
499
- if (Object.prototype.hasOwnProperty.call(r, "src"))
500
- return;
444
+ if (Object.prototype.hasOwnProperty.call(r, "src")) return;
501
445
  let { type: n, lang: a } = r;
502
- return yt(t, { language: a }) ?? zr(n);
446
+ return vt(t, { language: a }) ?? Or(n);
503
447
  }
504
- function Pa(e, t) {
448
+ function Ta(e, t) {
505
449
  if (e.name === "style") {
506
450
  let { lang: r } = e.attrMap;
507
- return r ? yt(t, { language: r }) : "css";
451
+ return r ? vt(t, { language: r }) : "css";
508
452
  }
509
- if (e.name === "mj-style" && t.parser === "mjml")
510
- return "css";
453
+ if (e.name === "mj-style" && t.parser === "mjml") return "css";
511
454
  }
512
- function Wt(e, t) {
513
- return Oa(e, t) ?? Pa(e, t) ?? Fa(e, t);
455
+ function Ft(e, t) {
456
+ return Sa(e, t) ?? Ta(e, t) ?? Aa(e, t);
514
457
  }
515
458
  function ke(e) {
516
459
  return e === "block" || e === "list-item" || e.startsWith("table");
517
460
  }
518
- function Ia(e) {
461
+ function ka(e) {
519
462
  return !ke(e) && e !== "inline-block";
520
463
  }
521
- function Ra(e) {
464
+ function ba(e) {
522
465
  return !ke(e) && e !== "inline-block";
523
466
  }
524
- function Ma(e) {
467
+ function wa(e) {
525
468
  return !ke(e);
526
469
  }
527
- function qa(e) {
470
+ function ya(e) {
528
471
  return !ke(e);
529
472
  }
530
- function Ha(e) {
473
+ function Da(e) {
531
474
  return !ke(e) && e !== "inline-block";
532
475
  }
533
- function Z(e) {
534
- return $r(e).startsWith("pre");
476
+ function Q(e) {
477
+ return Fr(e).startsWith("pre");
535
478
  }
536
- function Va(e, t) {
479
+ function xa(e, t) {
537
480
  let r = e;
538
481
  for (; r; ) {
539
- if (t(r))
540
- return !0;
482
+ if (t(r)) return !0;
541
483
  r = r.parent;
542
484
  }
543
485
  return !1;
544
486
  }
545
- function Ua(e, t) {
546
- var n;
547
- if (ae(e, t))
548
- return "block";
549
- if (((n = e.prev) == null ? void 0 : n.kind) === "comment") {
550
- let a = e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);
551
- if (a)
552
- return a[1];
487
+ function Na(e, t) {
488
+ if (ne(e, t)) return "block";
489
+ if (e.prev?.kind === "comment") {
490
+ let n = e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);
491
+ if (n) return n[1];
553
492
  }
554
493
  let r = !1;
555
- if (e.kind === "element" && e.namespace === "svg")
556
- if (Va(e, (a) => a.fullName === "svg:foreignObject"))
557
- r = !0;
558
- else
559
- return e.name === "svg" ? "inline-block" : "block";
494
+ if (e.kind === "element" && e.namespace === "svg") if (xa(e, (n) => n.fullName === "svg:foreignObject")) r = !0;
495
+ else return e.name === "svg" ? "inline-block" : "block";
560
496
  switch (t.htmlWhitespaceSensitivity) {
561
497
  case "strict":
562
498
  return "inline";
563
499
  case "ignore":
564
500
  return "block";
565
501
  default:
566
- if (e.kind === "element" && (!e.namespace || r || be(e)) && Object.prototype.hasOwnProperty.call(Vt, e.name))
567
- return Vt[e.name];
502
+ if (e.kind === "element" && (!e.namespace || r || Te(e)) && Object.prototype.hasOwnProperty.call(Lt, e.name)) return Lt[e.name];
568
503
  }
569
- return va;
504
+ return oa;
570
505
  }
571
- function $r(e) {
572
- return e.kind === "element" && (!e.namespace || be(e)) && Object.prototype.hasOwnProperty.call(Ut, e.name) ? Ut[e.name] : Ea;
506
+ function Fr(e) {
507
+ return e.kind === "element" && (!e.namespace || Te(e)) && Object.prototype.hasOwnProperty.call(Ot, e.name) ? Ot[e.name] : ua;
573
508
  }
574
- function jr(e) {
575
- return k(0, k(0, e, "&apos;", "'"), "&quot;", '"');
509
+ function Pr(e) {
510
+ return b(0, b(0, e, "&apos;", "'"), "&quot;", '"');
576
511
  }
577
512
  function w(e) {
578
- return jr(e.value);
513
+ return Pr(e.value);
579
514
  }
580
- var Wa = /* @__PURE__ */ new Set(["template", "style", "script"]);
581
- function ze(e, t) {
582
- return ae(e, t) && !Wa.has(e.fullName);
515
+ var Ba = /* @__PURE__ */ new Set(["template", "style", "script"]);
516
+ function Ve(e, t) {
517
+ return ne(e, t) && !Ba.has(e.fullName);
583
518
  }
584
- function ae(e, t) {
519
+ function ne(e, t) {
585
520
  return t.parser === "vue" && e.kind === "element" && e.parent.kind === "root" && e.fullName.toLowerCase() !== "html";
586
521
  }
587
- function xt(e, t) {
588
- return ae(e, t) && (ze(e, t) || e.attrMap.lang && e.attrMap.lang !== "html");
522
+ function At(e, t) {
523
+ return ne(e, t) && (Ve(e, t) || e.attrMap.lang && e.attrMap.lang !== "html");
589
524
  }
590
- function za(e) {
525
+ function La(e) {
591
526
  let t = e.fullName;
592
527
  return t.charAt(0) === "#" || t === "slot-scope" || t === "v-slot" || t.startsWith("v-slot:");
593
528
  }
594
- function $a(e, t) {
529
+ function Oa(e, t) {
595
530
  let r = e.parent;
596
- if (!ae(r, t))
597
- return !1;
531
+ if (!ne(r, t)) return !1;
598
532
  let n = r.fullName, a = e.fullName;
599
533
  return n === "script" && a === "setup" || n === "style" && a === "vars";
600
534
  }
601
- function Xr(e, t = e.value) {
602
- return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? O(t) : O(N.dedentString(Ir(t)), E) : re(S, N.split(t));
535
+ function Ir(e, t = e.value) {
536
+ return e.parent.isWhitespaceSensitive ? e.parent.isIndentationSensitive ? L(t) : L(x.dedentString(br(t)), v) : te(S, x.split(t));
603
537
  }
604
- function Gr(e, t) {
605
- return ae(e, t) && e.name === "script";
538
+ function Rr(e, t) {
539
+ return ne(e, t) && e.name === "script";
606
540
  }
607
- function ja(e) {
541
+ function Fa(e) {
608
542
  let { valueSpan: t, value: r } = e;
609
543
  return t.end.offset - t.start.offset === r.length + 2;
610
544
  }
611
- function Kr(e, t) {
612
- if (ja(e))
613
- return !1;
545
+ function Mr(e, t) {
546
+ if (Fa(e)) return !1;
614
547
  let { value: r } = e;
615
548
  return /^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(r) || t.parser === "lwc" && r.startsWith("{") && r.endsWith("}");
616
549
  }
617
- var Yr = /\{\{(.+?)\}\}/su, Xa = ({ node: { value: e } }) => Yr.test(e);
618
- async function Ga(e, t, r) {
550
+ var qr = /\{\{(.+?)\}\}/su, Pa = ({ node: { value: e } }) => qr.test(e);
551
+ async function Ia(e, t, r) {
619
552
  let n = w(r.node), a = [];
620
- for (let [i, s] of n.split(Yr).entries())
621
- if (i % 2 === 0)
622
- a.push(O(s));
623
- else
624
- try {
625
- a.push(A(["{{", F([S, await B(s, e, { parser: "__ng_interpolation", __isInHtmlInterpolation: !0 })]), S, "}}"]));
626
- } catch {
627
- a.push("{{", O(s), "}}");
628
- }
553
+ for (let [i, s] of n.split(qr).entries()) if (i % 2 === 0) a.push(L(s));
554
+ else try {
555
+ a.push(A(["{{", O([S, await N(s, e, { parser: "__ng_interpolation", __isInHtmlInterpolation: !0 })]), S, "}}"]));
556
+ } catch {
557
+ a.push("{{", L(s), "}}");
558
+ }
629
559
  return a;
630
560
  }
631
- var rt = (e) => (t, r, n) => B(w(n.node), t, { parser: e }, ne), Ka = [{ test(e) {
561
+ var Ke = (e) => (t, r, n) => N(w(n.node), t, { parser: e }, re), Ra = [{ test(e) {
632
562
  let t = e.node.fullName;
633
563
  return t.startsWith("(") && t.endsWith(")") || t.startsWith("on-");
634
- }, print: rt("__ng_action") }, { test(e) {
564
+ }, print: Ke("__ng_action") }, { test(e) {
635
565
  let t = e.node.fullName;
636
566
  return t.startsWith("[") && t.endsWith("]") || /^bind(?:on)?-/u.test(t) || /^ng-(?:if|show|hide|class|style)$/u.test(t);
637
- }, print: rt("__ng_binding") }, { test: (e) => e.node.fullName.startsWith("*"), print: rt("__ng_directive") }, { test: (e) => /^i18n(?:-.+)?$/u.test(e.node.fullName), print: Ya }, { test: Xa, print: Ga }].map(({ test: e, print: t }) => ({ test: (r, n) => n.parser === "angular" && e(r), print: t }));
638
- function Ya(e, t, { node: r }) {
567
+ }, print: Ke("__ng_binding") }, { test: (e) => e.node.fullName.startsWith("*"), print: Ke("__ng_directive") }, { test: (e) => /^i18n(?:-.+)?$/u.test(e.node.fullName), print: Ma }, { test: Pa, print: Ia }].map(({ test: e, print: t }) => ({ test: (r, n) => n.parser === "angular" && e(r), print: t }));
568
+ function Ma(e, t, { node: r }) {
639
569
  let n = w(r);
640
- return Te(xr(Xr(r, n.trim())), !n.includes("@@"));
570
+ return Ae(Er(Ir(r, n.trim())), !n.includes("@@"));
641
571
  }
642
- var Ja = Ka, Qa = ({ node: e }, t) => !t.parentParser && e.fullName === "class" && !e.value.includes("{{"), Za = (e, t, r) => w(r.node).trim().split(/\s+/u).join(" "), ei = ["onabort", "onafterprint", "onauxclick", "onbeforeinput", "onbeforematch", "onbeforeprint", "onbeforetoggle", "onbeforeunload", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncommand", "oncontextlost", "oncontextmenu", "oncontextrestored", "oncopy", "oncuechange", "oncut", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onformdata", "onhashchange", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onlanguagechange", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmessage", "onmessageerror", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onoffline", "ononline", "onpagehide", "onpagereveal", "onpageshow", "onpageswap", "onpaste", "onpause", "onplay", "onplaying", "onpopstate", "onprogress", "onratechange", "onrejectionhandled", "onreset", "onresize", "onscroll", "onscrollend", "onsecuritypolicyviolation", "onseeked", "onseeking", "onselect", "onslotchange", "onstalled", "onstorage", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onunhandledrejection", "onunload", "onvolumechange", "onwaiting", "onwheel"], ti = new Set(ei), ri = ({ node: e }, t) => ti.has(e.fullName) && !t.parentParser && !e.value.includes("{{"), ni = (e, t, r) => B(w(r.node), e, { parser: "babel", __isHtmlInlineEventHandler: !0 }, () => !1);
643
- function ai(e) {
572
+ var qa = Ra, Ha = ({ node: e }, t) => !t.parentParser && e.fullName === "class" && !e.value.includes("{{"), Va = (e, t, r) => w(r.node).trim().split(/\s+/u).join(" "), Ua = ["onabort", "onafterprint", "onauxclick", "onbeforeinput", "onbeforematch", "onbeforeprint", "onbeforetoggle", "onbeforeunload", "onblur", "oncancel", "oncanplay", "oncanplaythrough", "onchange", "onclick", "onclose", "oncommand", "oncontextlost", "oncontextmenu", "oncontextrestored", "oncopy", "oncuechange", "oncut", "ondblclick", "ondrag", "ondragend", "ondragenter", "ondragleave", "ondragover", "ondragstart", "ondrop", "ondurationchange", "onemptied", "onended", "onerror", "onfocus", "onformdata", "onhashchange", "oninput", "oninvalid", "onkeydown", "onkeypress", "onkeyup", "onlanguagechange", "onload", "onloadeddata", "onloadedmetadata", "onloadstart", "onmessage", "onmessageerror", "onmousedown", "onmouseenter", "onmouseleave", "onmousemove", "onmouseout", "onmouseover", "onmouseup", "onoffline", "ononline", "onpagehide", "onpagereveal", "onpageshow", "onpageswap", "onpaste", "onpause", "onplay", "onplaying", "onpopstate", "onprogress", "onratechange", "onrejectionhandled", "onreset", "onresize", "onscroll", "onscrollend", "onsecuritypolicyviolation", "onseeked", "onseeking", "onselect", "onslotchange", "onstalled", "onstorage", "onsubmit", "onsuspend", "ontimeupdate", "ontoggle", "onunhandledrejection", "onunload", "onvolumechange", "onwaiting", "onwheel"], Wa = new Set(Ua), za = ({ node: e }, t) => Wa.has(e.fullName) && !t.parentParser && !e.value.includes("{{"), $a = (e, t, r) => N(w(r.node), e, { parser: "babel", __isHtmlInlineEventHandler: !0 }, () => !1);
573
+ function ja(e) {
644
574
  let t = [];
645
575
  for (let r of e.split(";")) {
646
- if (r = N.trim(r), !r)
647
- continue;
648
- let [n, ...a] = N.split(r);
576
+ if (r = x.trim(r), !r) continue;
577
+ let [n, ...a] = x.split(r);
649
578
  t.push({ name: n, value: a });
650
579
  }
651
580
  return t;
652
581
  }
653
- var ii = ai, si = ({ node: e }, t) => e.fullName === "allow" && !t.parentParser && e.parent.fullName === "iframe" && !e.value.includes("{{");
654
- function oi(e, t, r) {
655
- let { node: n } = r, a = ii(w(n));
656
- return a.length === 0 ? [""] : Te(a.map(({ name: i, value: s }, o) => [[i, ...s].join(" "), o === a.length - 1 ? Ce(";") : [";", S]]));
582
+ var Xa = ja, Ga = ({ node: e }, t) => e.fullName === "allow" && !t.parentParser && e.parent.fullName === "iframe" && !e.value.includes("{{");
583
+ function Ka(e, t, r) {
584
+ let { node: n } = r, a = Xa(w(n));
585
+ return a.length === 0 ? [""] : Ae(a.map(({ name: i, value: s }, o) => [[i, ...s].join(" "), o === a.length - 1 ? _e(";") : [";", S]]));
657
586
  }
658
- function zt(e) {
587
+ function Pt(e) {
659
588
  return e === " " || e === `
660
589
  ` || e === "\f" || e === "\r" || e === " ";
661
590
  }
662
- var ui = /^[ \t\n\r\u000c]+/, li = /^[, \t\n\r\u000c]+/, ci = /^[^ \t\n\r\u000c]+/, pi = /[,]+$/, $t = /^\d+$/, hi = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
663
- function di(e) {
591
+ var Ya = /^[ \t\n\r\u000c]+/, Ja = /^[, \t\n\r\u000c]+/, Qa = /^[^ \t\n\r\u000c]+/, Za = /[,]+$/, It = /^\d+$/, ei = /^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;
592
+ function ti(e) {
664
593
  let t = e.length, r, n, a, i, s, o = 0, l;
665
594
  function c(h) {
666
- let _, C = h.exec(e.substring(o));
667
- if (C)
668
- return [_] = C, o += _.length, _;
595
+ let f, E = h.exec(e.substring(o));
596
+ if (E) return [f] = E, o += f.length, f;
669
597
  }
670
598
  let p = [];
671
599
  for (; ; ) {
672
- if (c(li), o >= t) {
673
- if (p.length === 0)
674
- throw new Error("Must contain one or more image candidate strings.");
600
+ if (c(Ja), o >= t) {
601
+ if (p.length === 0) throw new Error("Must contain one or more image candidate strings.");
675
602
  return p;
676
603
  }
677
- l = o, r = c(ci), n = [], r.slice(-1) === "," ? (r = r.replace(pi, ""), f()) : g();
604
+ l = o, r = c(Qa), n = [], r.slice(-1) === "," ? (r = r.replace(Za, ""), g()) : C();
678
605
  }
679
- function g() {
680
- for (c(ui), a = "", i = "in descriptor"; ; ) {
681
- if (s = e.charAt(o), i === "in descriptor")
682
- if (zt(s))
683
- a && (n.push(a), a = "", i = "after descriptor");
684
- else if (s === ",") {
685
- o += 1, a && n.push(a), f();
686
- return;
687
- } else if (s === "(")
688
- a += s, i = "in parens";
689
- else if (s === "") {
690
- a && n.push(a), f();
691
- return;
692
- } else
693
- a += s;
694
- else if (i === "in parens")
695
- if (s === ")")
696
- a += s, i = "in descriptor";
697
- else if (s === "") {
698
- n.push(a), f();
699
- return;
700
- } else
701
- a += s;
702
- else if (i === "after descriptor" && !zt(s))
703
- if (s === "") {
704
- f();
705
- return;
706
- } else
707
- i = "in descriptor", o -= 1;
606
+ function C() {
607
+ for (c(Ya), a = "", i = "in descriptor"; ; ) {
608
+ if (s = e.charAt(o), i === "in descriptor") if (Pt(s)) a && (n.push(a), a = "", i = "after descriptor");
609
+ else if (s === ",") {
610
+ o += 1, a && n.push(a), g();
611
+ return;
612
+ } else if (s === "(") a += s, i = "in parens";
613
+ else if (s === "") {
614
+ a && n.push(a), g();
615
+ return;
616
+ } else a += s;
617
+ else if (i === "in parens") if (s === ")") a += s, i = "in descriptor";
618
+ else if (s === "") {
619
+ n.push(a), g();
620
+ return;
621
+ } else a += s;
622
+ else if (i === "after descriptor" && !Pt(s)) if (s === "") {
623
+ g();
624
+ return;
625
+ } else i = "in descriptor", o -= 1;
708
626
  o += 1;
709
627
  }
710
628
  }
711
- function f() {
712
- let h = !1, _, C, L, P, V = {}, q, Ne, K, se, Ye;
713
- for (P = 0; P < n.length; P++)
714
- q = n[P], Ne = q[q.length - 1], K = q.substring(0, q.length - 1), se = parseInt(K, 10), Ye = parseFloat(K), $t.test(K) && Ne === "w" ? ((_ || C) && (h = !0), se === 0 ? h = !0 : _ = se) : hi.test(K) && Ne === "x" ? ((_ || C || L) && (h = !0), Ye < 0 ? h = !0 : C = Ye) : $t.test(K) && Ne === "h" ? ((L || C) && (h = !0), se === 0 ? h = !0 : L = se) : h = !0;
715
- if (!h)
716
- V.source = { value: r, startOffset: l }, _ && (V.width = { value: _ }), C && (V.density = { value: C }), L && (V.height = { value: L }), p.push(V);
717
- else
718
- throw new Error(`Invalid srcset descriptor found in "${e}" at "${q}".`);
719
- }
720
- }
721
- var mi = di, gi = (e) => e.node.fullName === "srcset" && (e.parent.fullName === "img" || e.parent.fullName === "source"), Jr = { width: "w", height: "h", density: "x" }, fi = Object.keys(Jr);
722
- function _i(e, t, r) {
723
- let n = w(r.node), a = mi(n), i = fi.filter((h) => a.some((_) => Object.prototype.hasOwnProperty.call(_, h)));
724
- if (i.length > 1)
725
- throw new Error("Mixed descriptor in srcset is not supported");
726
- let [s] = i, o = Jr[s], l = a.map((h) => h.source.value), c = Math.max(...l.map((h) => h.length)), p = a.map((h) => h[s] ? String(h[s].value) : ""), g = p.map((h) => {
727
- let _ = h.indexOf(".");
728
- return _ === -1 ? h.length : _;
729
- }), f = Math.max(...g);
730
- return Te(re([",", S], l.map((h, _) => {
731
- let C = [h], L = p[_];
732
- if (L) {
733
- let P = c - h.length + 1, V = f - g[_], q = " ".repeat(P + V);
734
- C.push(Ce(q, " "), L + o);
735
- }
736
- return C;
629
+ function g() {
630
+ let h = !1, f, E, B, F, q = {}, R, xe, X, ie, Xe;
631
+ for (F = 0; F < n.length; F++) R = n[F], xe = R[R.length - 1], X = R.substring(0, R.length - 1), ie = parseInt(X, 10), Xe = parseFloat(X), It.test(X) && xe === "w" ? ((f || E) && (h = !0), ie === 0 ? h = !0 : f = ie) : ei.test(X) && xe === "x" ? ((f || E || B) && (h = !0), Xe < 0 ? h = !0 : E = Xe) : It.test(X) && xe === "h" ? ((B || E) && (h = !0), ie === 0 ? h = !0 : B = ie) : h = !0;
632
+ if (!h) q.source = { value: r, startOffset: l }, f && (q.width = { value: f }), E && (q.density = { value: E }), B && (q.height = { value: B }), p.push(q);
633
+ else throw new Error(`Invalid srcset descriptor found in "${e}" at "${R}".`);
634
+ }
635
+ }
636
+ var ri = ti, ni = (e) => e.node.fullName === "srcset" && (e.parent.fullName === "img" || e.parent.fullName === "source"), Hr = { width: "w", height: "h", density: "x" }, ai = Object.keys(Hr);
637
+ function ii(e, t, r) {
638
+ let n = w(r.node), a = ri(n), i = ai.filter((h) => a.some((f) => Object.prototype.hasOwnProperty.call(f, h)));
639
+ if (i.length > 1) throw new Error("Mixed descriptor in srcset is not supported");
640
+ let [s] = i, o = Hr[s], l = a.map((h) => h.source.value), c = Math.max(...l.map((h) => h.length)), p = a.map((h) => h[s] ? String(h[s].value) : ""), C = p.map((h) => {
641
+ let f = h.indexOf(".");
642
+ return f === -1 ? h.length : f;
643
+ }), g = Math.max(...C);
644
+ return Ae(te([",", S], l.map((h, f) => {
645
+ let E = [h], B = p[f];
646
+ if (B) {
647
+ let F = c - h.length + 1, q = g - C[f], R = " ".repeat(F + q);
648
+ E.push(_e(R, " "), B + o);
649
+ }
650
+ return E;
737
651
  })));
738
652
  }
739
- var Ci = ({ node: e }, t) => e.fullName === "style" && !t.parentParser && !e.value.includes("{{"), vi = async (e, t, r) => Te(await e(w(r.node), { parser: "css", __isHTMLStyleAttribute: !0 })), nt = /* @__PURE__ */ new WeakMap();
740
- function Ei(e, t) {
653
+ var si = ({ node: e }, t) => e.fullName === "style" && !t.parentParser && !e.value.includes("{{"), oi = async (e, t, r) => Ae(await e(w(r.node), { parser: "css", __isHTMLStyleAttribute: !0 })), Ye = /* @__PURE__ */ new WeakMap();
654
+ function ui(e, t) {
741
655
  let { root: r } = e;
742
- return nt.has(r) || nt.set(r, r.children.some((n) => Gr(n, t) && ["ts", "typescript"].includes(n.attrMap.lang))), nt.get(r);
656
+ return Ye.has(r) || Ye.set(r, r.children.some((n) => Rr(n, t) && ["ts", "typescript"].includes(n.attrMap.lang))), Ye.get(r);
743
657
  }
744
- var ie = Ei;
745
- function Si(e, t, r) {
658
+ var ae = ui;
659
+ function li(e, t, r) {
746
660
  let n = w(r.node);
747
- return B(`type T<${n}> = any`, e, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: !0 }, ne);
661
+ return N(`type T<${n}> = any`, e, { parser: "babel-ts", __isEmbeddedTypescriptGenericParameters: !0 }, re);
748
662
  }
749
- function Ai(e, t, r, n) {
750
- let a = w(r.node), i = ie(r, n) ? "babel-ts" : "babel";
751
- return B(`function _(${a}) {}`, e, { parser: i, __isVueBindings: !0 });
663
+ function ci(e, t, r, n) {
664
+ let a = w(r.node), i = ae(r, n) ? "babel-ts" : "babel";
665
+ return N(`function _(${a}) {}`, e, { parser: i, __isVueBindings: !0 });
752
666
  }
753
- async function Ti(e, t, r, n) {
754
- let a = w(r.node), { left: i, operator: s, right: o } = bi(a), l = ie(r, n);
755
- return [A(await B(`function _(${i}) {}`, e, { parser: l ? "babel-ts" : "babel", __isVueForBindingLeft: !0 })), " ", s, " ", await B(o, e, { parser: l ? "__ts_expression" : "__js_expression" })];
667
+ async function pi(e, t, r, n) {
668
+ let a = w(r.node), { left: i, operator: s, right: o } = hi(a), l = ae(r, n);
669
+ return [A(await N(`function _(${i}) {}`, e, { parser: l ? "babel-ts" : "babel", __isVueForBindingLeft: !0 })), " ", s, " ", await N(o, e, { parser: l ? "__ts_expression" : "__js_expression" })];
756
670
  }
757
- function bi(e) {
671
+ function hi(e) {
758
672
  let t = /(.*?)\s+(in|of)\s+(.*)/su, r = /,([^,\]}]*)(?:,([^,\]}]*))?$/u, n = /^\(|\)$/gu, a = e.match(t);
759
- if (!a)
760
- return;
673
+ if (!a) return;
761
674
  let i = { for: a[3].trim() };
762
- if (!i.for)
763
- return;
764
- let s = k(0, a[1].trim(), n, ""), o = s.match(r);
675
+ if (!i.for) return;
676
+ let s = b(0, a[1].trim(), n, ""), o = s.match(r);
765
677
  o ? (i.alias = s.replace(r, ""), i.iterator1 = o[1].trim(), o[2] && (i.iterator2 = o[2].trim())) : i.alias = s;
766
678
  let l = [i.alias, i.iterator1, i.iterator2];
767
- if (!l.some((c, p) => !c && (p === 0 || l.slice(p + 1).some(Boolean))))
768
- return { left: l.filter(Boolean).join(","), operator: a[2], right: i.for };
679
+ if (!l.some((c, p) => !c && (p === 0 || l.slice(p + 1).some(Boolean)))) return { left: l.filter(Boolean).join(","), operator: a[2], right: i.for };
769
680
  }
770
- var ki = [{ test: (e) => e.node.fullName === "v-for", print: Ti }, { test: (e, t) => e.node.fullName === "generic" && Gr(e.parent, t), print: Si }, { test: ({ node: e }, t) => za(e) || $a(e, t), print: Ai }, { test(e) {
681
+ var di = [{ test: (e) => e.node.fullName === "v-for", print: pi }, { test: (e, t) => e.node.fullName === "generic" && Rr(e.parent, t), print: li }, { test: ({ node: e }, t) => La(e) || Oa(e, t), print: ci }, { test(e) {
771
682
  let t = e.node.fullName;
772
683
  return t.startsWith("@") || t.startsWith("v-on:");
773
- }, print: wi }, { test(e) {
684
+ }, print: mi }, { test(e) {
774
685
  let t = e.node.fullName;
775
686
  return t.startsWith(":") || t.startsWith(".") || t.startsWith("v-bind:");
776
- }, print: yi }, { test: (e) => e.node.fullName.startsWith("v-"), print: Qr }].map(({ test: e, print: t }) => ({ test: (r, n) => n.parser === "vue" && e(r, n), print: t }));
777
- async function wi(e, t, r, n) {
778
- var s;
687
+ }, print: gi }, { test: (e) => e.node.fullName.startsWith("v-"), print: Vr }].map(({ test: e, print: t }) => ({ test: (r, n) => n.parser === "vue" && e(r, n), print: t }));
688
+ async function mi(e, t, r, n) {
779
689
  try {
780
- return await Qr(e, t, r, n);
781
- } catch (o) {
782
- if (((s = o.cause) == null ? void 0 : s.code) !== "BABEL_PARSER_SYNTAX_ERROR")
783
- throw o;
690
+ return await Vr(e, t, r, n);
691
+ } catch (s) {
692
+ if (s.cause?.code !== "BABEL_PARSER_SYNTAX_ERROR") throw s;
784
693
  }
785
- let a = w(r.node), i = ie(r, n) ? "__vue_ts_event_binding" : "__vue_event_binding";
786
- return B(a, e, { parser: i }, ne);
694
+ let a = w(r.node), i = ae(r, n) ? "__vue_ts_event_binding" : "__vue_event_binding";
695
+ return N(a, e, { parser: i }, re);
787
696
  }
788
- function yi(e, t, r, n) {
789
- let a = w(r.node), i = ie(r, n) ? "__vue_ts_expression" : "__vue_expression";
790
- return B(a, e, { parser: i }, ne);
697
+ function gi(e, t, r, n) {
698
+ let a = w(r.node), i = ae(r, n) ? "__vue_ts_expression" : "__vue_expression";
699
+ return N(a, e, { parser: i }, re);
791
700
  }
792
- function Qr(e, t, r, n) {
793
- let a = w(r.node), i = ie(r, n) ? "__ts_expression" : "__js_expression";
794
- return B(a, e, { parser: i }, ne);
701
+ function Vr(e, t, r, n) {
702
+ let a = w(r.node), i = ae(r, n) ? "__ts_expression" : "__js_expression";
703
+ return N(a, e, { parser: i }, re);
795
704
  }
796
- var Di = ki, xi = [{ test: gi, print: _i }, { test: Ci, print: vi }, { test: ri, print: ni }, { test: Qa, print: Za }, { test: si, print: oi }, ...Di, ...Ja].map(({ test: e, print: t }) => ({ test: e, print: Bi(t) }));
797
- function Ni(e, t) {
798
- var a;
705
+ var fi = di, _i = [{ test: ni, print: ii }, { test: si, print: oi }, { test: za, print: $a }, { test: Ha, print: Va }, { test: Ga, print: Ka }, ...fi, ...qa].map(({ test: e, print: t }) => ({ test: e, print: Ei(t) }));
706
+ function Ci(e, t) {
799
707
  let { node: r } = e, { value: n } = r;
800
- if (n)
801
- return Kr(r, t) ? [r.rawName, "=", n] : (a = xi.find(({ test: i }) => i(e, t))) == null ? void 0 : a.print;
708
+ if (n) return Mr(r, t) ? [r.rawName, "=", n] : _i.find(({ test: a }) => a(e, t))?.print;
802
709
  }
803
- function Bi(e) {
710
+ function Ei(e) {
804
711
  return async (t, r, n, a) => {
805
712
  let i = await e(t, r, n, a);
806
- if (i)
807
- return i = Dr(i, (s) => typeof s == "string" ? k(0, s, '"', "&quot;") : s), [n.node.rawName, '="', A(i), '"'];
713
+ if (i) return i = Cr(i, (s) => typeof s == "string" ? b(0, s, '"', "&quot;") : s), [n.node.rawName, '="', A(i), '"'];
808
714
  };
809
715
  }
810
- var Li = Ni, we = (e) => e.sourceSpan.start.offset, $e = (e) => e.sourceSpan.end.offset;
811
- function ot(e, t) {
812
- return [e.isSelfClosing ? "" : Oi(e, t), me(e, t)];
716
+ var vi = Ci, be = (e) => e.sourceSpan.start.offset, Ue = (e) => e.sourceSpan.end.offset;
717
+ function et(e, t) {
718
+ return [e.isSelfClosing ? "" : Si(e, t), de(e, t)];
813
719
  }
814
- function Oi(e, t) {
815
- return e.lastChild && ve(e.lastChild) ? "" : [Fi(e, t), Nt(e, t)];
720
+ function Si(e, t) {
721
+ return e.lastChild && Ce(e.lastChild) ? "" : [Ai(e, t), Tt(e, t)];
816
722
  }
817
- function me(e, t) {
818
- return (e.next ? j(e.next) : De(e.parent)) ? "" : [ye(e, t), $(e, t)];
723
+ function de(e, t) {
724
+ return (e.next ? z(e.next) : ye(e.parent)) ? "" : [we(e, t), W(e, t)];
819
725
  }
820
- function Fi(e, t) {
821
- return De(e) ? ye(e.lastChild, t) : "";
726
+ function Ai(e, t) {
727
+ return ye(e) ? we(e.lastChild, t) : "";
822
728
  }
823
- function $(e, t) {
824
- return ve(e) ? Nt(e.parent, t) : je(e) ? Bt(e.next, t) : "";
729
+ function W(e, t) {
730
+ return Ce(e) ? Tt(e.parent, t) : We(e) ? kt(e.next, t) : "";
825
731
  }
826
- function Nt(e, t) {
827
- if (Zr(e, t))
828
- return "";
732
+ function Tt(e, t) {
733
+ if (Ur(e, t)) return "";
829
734
  switch (e.kind) {
830
735
  case "ieConditionalComment":
831
736
  return "<!";
832
737
  case "element":
833
- if (e.hasHtmComponentClosingTag)
834
- return "<//";
738
+ if (e.hasHtmComponentClosingTag) return "<//";
835
739
  default:
836
740
  return `</${e.rawName}`;
837
741
  }
838
742
  }
839
- function ye(e, t) {
840
- if (Zr(e, t))
841
- return "";
743
+ function we(e, t) {
744
+ if (Ur(e, t)) return "";
842
745
  switch (e.kind) {
843
746
  case "ieConditionalComment":
844
747
  case "ieConditionalEndComment":
@@ -850,58 +753,54 @@ function ye(e, t) {
850
753
  case "angularIcuExpression":
851
754
  return "}";
852
755
  case "element":
853
- if (e.isSelfClosing)
854
- return "/>";
756
+ if (e.isSelfClosing) return "/>";
855
757
  default:
856
758
  return ">";
857
759
  }
858
760
  }
859
- function Zr(e, t) {
860
- return !e.isSelfClosing && !e.endSourceSpan && (We(e) || Rr(e.parent, t));
761
+ function Ur(e, t) {
762
+ return !e.isSelfClosing && !e.endSourceSpan && (He(e) || wr(e.parent, t));
861
763
  }
862
- function j(e) {
863
- return e.prev && e.prev.kind !== "docType" && e.kind !== "angularControlFlowBlock" && !x(e.prev) && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
764
+ function z(e) {
765
+ return e.prev && e.prev.kind !== "docType" && e.kind !== "angularControlFlowBlock" && !D(e.prev) && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
864
766
  }
865
- function De(e) {
866
- var t;
867
- return ((t = e.lastChild) == null ? void 0 : t.isTrailingSpaceSensitive) && !e.lastChild.hasTrailingSpaces && !x(Dt(e.lastChild)) && !Z(e);
767
+ function ye(e) {
768
+ return e.lastChild?.isTrailingSpaceSensitive && !e.lastChild.hasTrailingSpaces && !D(St(e.lastChild)) && !Q(e);
868
769
  }
869
- function ve(e) {
870
- return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive && x(Dt(e));
770
+ function Ce(e) {
771
+ return !e.next && !e.hasTrailingSpaces && e.isTrailingSpaceSensitive && D(St(e));
871
772
  }
872
- function je(e) {
873
- return e.next && !x(e.next) && x(e) && e.isTrailingSpaceSensitive && !e.hasTrailingSpaces;
773
+ function We(e) {
774
+ return e.next && !D(e.next) && D(e) && e.isTrailingSpaceSensitive && !e.hasTrailingSpaces;
874
775
  }
875
- function Pi(e) {
776
+ function Ti(e) {
876
777
  let t = e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);
877
778
  return t ? t[1] ? t[1].split(/\s+/u) : !0 : !1;
878
779
  }
879
- function Xe(e) {
780
+ function ze(e) {
880
781
  return !e.prev && e.isLeadingSpaceSensitive && !e.hasLeadingSpaces;
881
782
  }
882
- function Ii(e, t, r) {
883
- var p;
783
+ function ki(e, t, r) {
884
784
  let { node: n } = e;
885
- if (!wt(n.attrs))
886
- return n.isSelfClosing ? " " : "";
887
- let a = ((p = n.prev) == null ? void 0 : p.kind) === "comment" && Pi(n.prev.value), i = typeof a == "boolean" ? () => a : Array.isArray(a) ? (g) => a.includes(g.rawName) : () => !1, s = e.map(({ node: g }) => i(g) ? O(t.originalText.slice(we(g), $e(g))) : r(), "attrs"), o = n.kind === "element" && n.fullName === "script" && n.attrs.length === 1 && n.attrs[0].fullName === "src" && n.children.length === 0, l = t.singleAttributePerLine && n.attrs.length > 1 && !ae(n, t) ? E : S, c = [F([o ? " " : S, re(l, s)])];
888
- return n.firstChild && Xe(n.firstChild) || n.isSelfClosing && De(n.parent) || o ? c.push(n.isSelfClosing ? " " : "") : c.push(t.bracketSameLine ? n.isSelfClosing ? " " : "" : n.isSelfClosing ? S : b), c;
785
+ if (!Et(n.attrs)) return n.isSelfClosing ? " " : "";
786
+ let a = n.prev?.kind === "comment" && Ti(n.prev.value), i = typeof a == "boolean" ? () => a : Array.isArray(a) ? (p) => a.includes(p.rawName) : () => !1, s = e.map(({ node: p }) => i(p) ? L(t.originalText.slice(be(p), Ue(p))) : r(), "attrs"), o = n.kind === "element" && n.fullName === "script" && n.attrs.length === 1 && n.attrs[0].fullName === "src" && n.children.length === 0, l = t.singleAttributePerLine && n.attrs.length > 1 && !ne(n, t) ? v : S, c = [O([o ? " " : S, te(l, s)])];
787
+ return n.firstChild && ze(n.firstChild) || n.isSelfClosing && ye(n.parent) || o ? c.push(n.isSelfClosing ? " " : "") : c.push(t.bracketSameLine ? n.isSelfClosing ? " " : "" : n.isSelfClosing ? S : k), c;
889
788
  }
890
- function Ri(e) {
891
- return e.firstChild && Xe(e.firstChild) ? "" : Lt(e);
789
+ function bi(e) {
790
+ return e.firstChild && ze(e.firstChild) ? "" : bt(e);
892
791
  }
893
- function ut(e, t, r) {
792
+ function tt(e, t, r) {
894
793
  let { node: n } = e;
895
- return [ge(n, t), Ii(e, t, r), n.isSelfClosing ? "" : Ri(n)];
794
+ return [me(n, t), ki(e, t, r), n.isSelfClosing ? "" : bi(n)];
896
795
  }
897
- function ge(e, t) {
898
- return e.prev && je(e.prev) ? "" : [X(e, t), Bt(e, t)];
796
+ function me(e, t) {
797
+ return e.prev && We(e.prev) ? "" : [$(e, t), kt(e, t)];
899
798
  }
900
- function X(e, t) {
901
- return Xe(e) ? Lt(e.parent) : j(e) ? ye(e.prev, t) : "";
799
+ function $(e, t) {
800
+ return ze(e) ? bt(e.parent) : z(e) ? we(e.prev, t) : "";
902
801
  }
903
- var jt = "<!doctype";
904
- function Bt(e, t) {
802
+ var Rt = "<!doctype";
803
+ function kt(e, t) {
905
804
  switch (e.kind) {
906
805
  case "ieConditionalComment":
907
806
  case "ieConditionalStartComment":
@@ -913,276 +812,261 @@ function Bt(e, t) {
913
812
  case "docType": {
914
813
  if (e.value === "html") {
915
814
  let { filepath: n } = t;
916
- if (n && /\.html?$/u.test(n))
917
- return jt;
815
+ if (n && /\.html?$/u.test(n)) return Rt;
918
816
  }
919
- let r = we(e);
920
- return t.originalText.slice(r, r + jt.length);
817
+ let r = be(e);
818
+ return t.originalText.slice(r, r + Rt.length);
921
819
  }
922
820
  case "angularIcuExpression":
923
821
  return "{";
924
822
  case "element":
925
- if (e.condition)
926
- return `<!--[if ${e.condition}]><!--><${e.rawName}`;
823
+ if (e.condition) return `<!--[if ${e.condition}]><!--><${e.rawName}`;
927
824
  default:
928
825
  return `<${e.rawName}`;
929
826
  }
930
827
  }
931
- function Lt(e) {
828
+ function bt(e) {
932
829
  switch (e.kind) {
933
830
  case "ieConditionalComment":
934
831
  return "]>";
935
832
  case "element":
936
- if (e.condition)
937
- return "><!--<![endif]-->";
833
+ if (e.condition) return "><!--<![endif]-->";
938
834
  default:
939
835
  return ">";
940
836
  }
941
837
  }
942
- function Mi(e, t) {
943
- if (!e.endSourceSpan)
944
- return "";
838
+ function wi(e, t) {
839
+ if (!e.endSourceSpan) return "";
945
840
  let r = e.startSourceSpan.end.offset;
946
- e.firstChild && Xe(e.firstChild) && (r -= Lt(e).length);
841
+ e.firstChild && ze(e.firstChild) && (r -= bt(e).length);
947
842
  let n = e.endSourceSpan.start.offset;
948
- return e.lastChild && ve(e.lastChild) ? n += Nt(e, t).length : De(e) && (n -= ye(e.lastChild, t).length), t.originalText.slice(r, n);
843
+ return e.lastChild && Ce(e.lastChild) ? n += Tt(e, t).length : ye(e) && (n -= we(e.lastChild, t).length), t.originalText.slice(r, n);
949
844
  }
950
- var en = Mi, qi = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
951
- function Hi(e, t) {
845
+ var Wr = wi, yi = /* @__PURE__ */ new Set(["if", "else if", "for", "switch", "case"]);
846
+ function Di(e, t) {
952
847
  let { node: r } = e;
953
848
  switch (r.kind) {
954
849
  case "element":
955
- if (M(r, t) || r.kind === "interpolation")
956
- return;
957
- if (!r.isSelfClosing && xt(r, t)) {
958
- let n = Wt(r, t);
850
+ if (I(r, t) || r.kind === "interpolation") return;
851
+ if (!r.isSelfClosing && At(r, t)) {
852
+ let n = Ft(r, t);
959
853
  return n ? async (a, i) => {
960
- let s = en(r, t), o = /^\s*$/u.test(s), l = "";
961
- return o || (l = await a(Ir(s), { parser: n, __embeddedInHtml: !0 }), o = l === ""), [X(r, t), A(ut(e, t, i)), o ? "" : E, l, o ? "" : E, ot(r, t), $(r, t)];
854
+ let s = Wr(r, t), o = /^\s*$/u.test(s), l = "";
855
+ return o || (l = await a(br(s), { parser: n, __embeddedInHtml: !0 }), o = l === ""), [$(r, t), A(tt(e, t, i)), o ? "" : v, l, o ? "" : v, et(r, t), W(r, t)];
962
856
  } : void 0;
963
857
  }
964
858
  break;
965
859
  case "text":
966
- if (M(r.parent, t)) {
967
- let n = Wt(r.parent, t);
968
- if (n)
969
- return async (a) => {
970
- let i = n === "markdown" ? N.dedentString(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, s = { parser: n, __embeddedInHtml: !0 };
971
- if (t.parser === "html" && n === "babel") {
972
- let o = "script", { attrMap: l } = r.parent;
973
- l && (l.type === "module" || (l.type === "text/babel" || l.type === "text/jsx") && l["data-type"] === "module") && (o = "module"), s.__babelSourceType = o;
974
- }
975
- return [Ae, X(r, t), await a(i, s), $(r, t)];
976
- };
977
- } else if (r.parent.kind === "interpolation")
978
- return async (n) => {
979
- let a = { __isInHtmlInterpolation: !0, __embeddedInHtml: !0 };
980
- return t.parser === "angular" ? a.parser = "__ng_interpolation" : t.parser === "vue" ? a.parser = ie(e, t) ? "__vue_ts_expression" : "__vue_expression" : a.parser = "__js_expression", [F([S, await n(r.value, a)]), r.parent.next && j(r.parent.next) ? " " : S];
860
+ if (I(r.parent, t)) {
861
+ let n = Ft(r.parent, t);
862
+ if (n) return async (a) => {
863
+ let i = n === "markdown" ? x.dedentString(r.value.replace(/^[^\S\n]*\n/u, "")) : r.value, s = { parser: n, __embeddedInHtml: !0 };
864
+ if (t.parser === "html" && n === "babel") {
865
+ let o = "script", { attrMap: l } = r.parent;
866
+ l && (l.type === "module" || (l.type === "text/babel" || l.type === "text/jsx") && l["data-type"] === "module") && (o = "module"), s.__babelSourceType = o;
867
+ }
868
+ return [Se, $(r, t), await a(i, s), W(r, t)];
981
869
  };
870
+ } else if (r.parent.kind === "interpolation") return async (n) => {
871
+ let a = { __isInHtmlInterpolation: !0, __embeddedInHtml: !0 };
872
+ return t.parser === "angular" ? a.parser = "__ng_interpolation" : t.parser === "vue" ? a.parser = ae(e, t) ? "__vue_ts_expression" : "__vue_expression" : a.parser = "__js_expression", [O([S, await n(r.value, a)]), r.parent.next && z(r.parent.next) ? " " : S];
873
+ };
982
874
  break;
983
875
  case "attribute":
984
- return Li(e, t);
876
+ return vi(e, t);
985
877
  case "angularControlFlowBlockParameters":
986
- return qi.has(e.parent.name) ? ta : void 0;
878
+ return yi.has(e.parent.name) ? Un : void 0;
987
879
  case "angularLetDeclarationInitializer":
988
- return (n) => B(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: !1 });
880
+ return (n) => N(r.value, n, { parser: "__ng_binding", __isInHtmlAttribute: !1 });
989
881
  }
990
882
  }
991
- var Vi = Hi, ue = null;
992
- function fe(e) {
993
- if (ue !== null && typeof ue.property) {
994
- let t = ue;
995
- return ue = fe.prototype = null, t;
883
+ var xi = Di, oe = null;
884
+ function ge(e) {
885
+ if (oe !== null && typeof oe.property) {
886
+ let t = oe;
887
+ return oe = ge.prototype = null, t;
996
888
  }
997
- return ue = fe.prototype = e ?? /* @__PURE__ */ Object.create(null), new fe();
889
+ return oe = ge.prototype = e ?? /* @__PURE__ */ Object.create(null), new ge();
998
890
  }
999
- var Ui = 10;
1000
- for (let e = 0; e <= Ui; e++)
1001
- fe();
1002
- function Wi(e) {
1003
- return fe(e);
891
+ var Ni = 10;
892
+ for (let e = 0; e <= Ni; e++) ge();
893
+ function Bi(e) {
894
+ return ge(e);
1004
895
  }
1005
- function zi(e, t = "type") {
1006
- Wi(e);
896
+ function Li(e, t = "type") {
897
+ Bi(e);
1007
898
  function r(n) {
1008
899
  let a = n[t], i = e[a];
1009
- if (!Array.isArray(i))
1010
- throw Object.assign(new Error(`Missing visitor keys for '${a}'.`), { node: n });
900
+ if (!Array.isArray(i)) throw Object.assign(new Error(`Missing visitor keys for '${a}'.`), { node: n });
1011
901
  return i;
1012
902
  }
1013
903
  return r;
1014
904
  }
1015
- var $i = zi, y = [["children"], []], ji = { root: y[0], element: ["attrs", "children"], ieConditionalComment: y[0], ieConditionalStartComment: y[1], ieConditionalEndComment: y[1], interpolation: y[0], text: y[0], docType: y[1], comment: y[1], attribute: y[1], cdata: y[1], angularControlFlowBlock: ["children", "parameters"], angularControlFlowBlockParameters: y[0], angularControlFlowBlockParameter: y[1], angularLetDeclaration: ["init"], angularLetDeclarationInitializer: y[1], angularIcuExpression: ["cases"], angularIcuCase: ["expression"] }, Xi = $i(ji, "kind"), Gi = Xi, Ki = "format", Yi = /^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u, Ji = /^\s*<!--\s*@(?:format|prettier)\s*-->/u, Qi = (e) => Ji.test(e), Zi = (e) => Yi.test(e), es = (e) => `<!-- @${Ki} -->
905
+ var Oi = Li, y = [["children"], []], Fi = { root: y[0], element: ["attrs", "children"], ieConditionalComment: y[0], ieConditionalStartComment: y[1], ieConditionalEndComment: y[1], interpolation: y[0], text: y[0], docType: y[1], comment: y[1], attribute: y[1], cdata: y[1], angularControlFlowBlock: ["children", "parameters"], angularControlFlowBlockParameters: y[0], angularControlFlowBlockParameter: y[1], angularLetDeclaration: ["init"], angularLetDeclarationInitializer: y[1], angularIcuExpression: ["cases"], angularIcuCase: ["expression"] }, Pi = Oi(Fi, "kind"), Ii = Pi, Ri = "format", Mi = /^\s*<!--\s*@(?:noformat|noprettier)\s*-->/u, qi = /^\s*<!--\s*@(?:format|prettier)\s*-->/u, Hi = (e) => qi.test(e), Vi = (e) => Mi.test(e), Ui = (e) => `<!-- @${Ri} -->
1016
906
 
1017
- ${e}`, ts = /* @__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"])]]);
1018
- function tn(e) {
1019
- let t = $e(e);
1020
- return e.kind === "element" && !e.endSourceSpan && wt(e.children) ? Math.max(t, tn(ee(0, e.children, -1))) : t;
907
+ ${e}`, Wi = /* @__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"])]]);
908
+ function zr(e) {
909
+ let t = Ue(e);
910
+ return e.kind === "element" && !e.endSourceSpan && Et(e.children) ? Math.max(t, zr(Z(0, e.children, -1))) : t;
1021
911
  }
1022
- function le(e, t, r) {
912
+ function ue(e, t, r) {
1023
913
  let n = e.node;
1024
- if (We(n)) {
1025
- let a = tn(n);
1026
- return [X(n, t), O(N.trimEnd(t.originalText.slice(we(n) + (n.prev && je(n.prev) ? Bt(n).length : 0), a - (n.next && j(n.next) ? ye(n, t).length : 0)))), $(n, t)];
914
+ if (He(n)) {
915
+ let a = zr(n);
916
+ return [$(n, t), L(x.trimEnd(t.originalText.slice(be(n) + (n.prev && We(n.prev) ? kt(n).length : 0), a - (n.next && z(n.next) ? we(n, t).length : 0)))), W(n, t)];
1027
917
  }
1028
918
  return r();
1029
919
  }
1030
- function Oe(e, t) {
1031
- return x(e) && x(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ? tt(t) ? E : S : "" : tt(t) ? E : b : je(e) && (We(t) || t.firstChild || t.isSelfClosing || t.kind === "element" && t.attrs.length > 0) || e.kind === "element" && e.isSelfClosing && j(t) ? "" : !t.isLeadingSpaceSensitive || tt(t) || j(t) && e.lastChild && ve(e.lastChild) && e.lastChild.lastChild && ve(e.lastChild.lastChild) ? E : t.hasLeadingSpaces ? S : b;
920
+ function Le(e, t) {
921
+ return D(e) && D(t) ? e.isTrailingSpaceSensitive ? e.hasTrailingSpaces ? Ge(t) ? v : S : "" : Ge(t) ? v : k : We(e) && (He(t) || t.firstChild || t.isSelfClosing || t.kind === "element" && t.attrs.length > 0) || e.kind === "element" && e.isSelfClosing && z(t) ? "" : !t.isLeadingSpaceSensitive || Ge(t) || z(t) && e.lastChild && Ce(e.lastChild) && e.lastChild.lastChild && Ce(e.lastChild.lastChild) ? v : t.hasLeadingSpaces ? S : k;
1032
922
  }
1033
- function Ot(e, t, r) {
923
+ function wt(e, t, r) {
1034
924
  let { node: n } = e;
1035
- if (qr(n))
1036
- return [Ae, ...e.map(() => {
1037
- let i = e.node, s = i.prev ? Oe(i.prev, i) : "";
1038
- return [s ? [s, Le(i.prev) ? E : ""] : "", le(e, t, r)];
1039
- }, "children")];
1040
- let a = n.children.map(() => Symbol(""));
925
+ if (Dr(n)) return [Se, ...e.map(() => {
926
+ let i = e.node, s = i.prev ? Le(i.prev, i) : "";
927
+ return [s ? [s, Be(i.prev) ? v : ""] : "", ue(e, t, r)];
928
+ }, "children")];
929
+ let a = n.children.map(() => /* @__PURE__ */ Symbol(""));
1041
930
  return e.map(({ node: i, index: s }) => {
1042
- if (x(i)) {
1043
- if (i.prev && x(i.prev)) {
1044
- let h = Oe(i.prev, i);
1045
- if (h)
1046
- return Le(i.prev) ? [E, E, le(e, t, r)] : [h, le(e, t, r)];
931
+ if (D(i)) {
932
+ if (i.prev && D(i.prev)) {
933
+ let h = Le(i.prev, i);
934
+ if (h) return Be(i.prev) ? [v, v, ue(e, t, r)] : [h, ue(e, t, r)];
1047
935
  }
1048
- return le(e, t, r);
936
+ return ue(e, t, r);
1049
937
  }
1050
- let o = [], l = [], c = [], p = [], g = i.prev ? Oe(i.prev, i) : "", f = i.next ? Oe(i, i.next) : "";
1051
- return g && (Le(i.prev) ? o.push(E, E) : g === E ? o.push(E) : x(i.prev) ? l.push(g) : l.push(Ce("", b, { groupId: a[s - 1] }))), f && (Le(i) ? x(i.next) && p.push(E, E) : f === E ? x(i.next) && p.push(E) : c.push(f)), [...o, A([...l, A([le(e, t, r), ...c], { id: a[s] })]), ...p];
938
+ let o = [], l = [], c = [], p = [], C = i.prev ? Le(i.prev, i) : "", g = i.next ? Le(i, i.next) : "";
939
+ return C && (Be(i.prev) ? o.push(v, v) : C === v ? o.push(v) : D(i.prev) ? l.push(C) : l.push(_e("", k, { groupId: a[s - 1] }))), g && (Be(i) ? D(i.next) && p.push(v, v) : g === v ? D(i.next) && p.push(v) : c.push(g)), [...o, A([...l, A([ue(e, t, r), ...c], { id: a[s] })]), ...p];
1052
940
  }, "children");
1053
941
  }
1054
- function rs(e, t, r) {
942
+ function zi(e, t, r) {
1055
943
  let { node: n } = e, a = [];
1056
- ns(e) && a.push("} "), a.push("@", n.name), n.parameters && a.push(" (", A(r("parameters")), ")"), a.push(" {");
1057
- let i = rn(n);
1058
- return n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = !0, n.lastChild.hasTrailingSpaces = !0, a.push(F([E, Ot(e, t, r)])), i && a.push(E, "}")) : i && a.push("}"), A(a, { shouldBreak: !0 });
944
+ if (Xi(e) && a.push("} "), a.push("@", n.name), n.parameters && a.push(" (", A(r("parameters")), ")"), !ji(n)) {
945
+ a.push(" {");
946
+ let i = $r(n);
947
+ n.children.length > 0 ? (n.firstChild.hasLeadingSpaces = !0, n.lastChild.hasTrailingSpaces = !0, a.push(O([v, wt(e, t, r)])), i && a.push(v, "}")) : i && a.push("}");
948
+ }
949
+ return A(a, { shouldBreak: !0 });
950
+ }
951
+ function $r(e) {
952
+ return !(e.next?.kind === "angularControlFlowBlock" && Wi.get(e.name)?.has(e.next.name));
1059
953
  }
1060
- function rn(e) {
1061
- var t, r;
1062
- return !(((t = e.next) == null ? void 0 : t.kind) === "angularControlFlowBlock" && ((r = ts.get(e.name)) != null && r.has(e.next.name)));
954
+ var $i = (e) => e?.kind === "angularControlFlowBlock" && (e.name === "case" || e.name === "default");
955
+ function ji(e) {
956
+ return $i(e) && e.endSourceSpan && e.endSourceSpan.start.offset === e.endSourceSpan.end.offset;
1063
957
  }
1064
- function ns(e) {
958
+ function Xi(e) {
1065
959
  let { previous: t } = e;
1066
- return (t == null ? void 0 : t.kind) === "angularControlFlowBlock" && !We(t) && !rn(t);
960
+ return t?.kind === "angularControlFlowBlock" && !He(t) && !$r(t);
1067
961
  }
1068
- function as(e, t, r) {
1069
- return [F([b, re([";", S], e.map(r, "children"))]), b];
962
+ function Gi(e, t, r) {
963
+ return [O([k, te([";", S], e.map(r, "children"))]), k];
1070
964
  }
1071
- function is(e, t, r) {
965
+ function Ki(e, t, r) {
1072
966
  let { node: n } = e;
1073
- return [ge(n, t), A([n.switchValue.trim(), ", ", n.type, n.cases.length > 0 ? [",", F([S, re(S, e.map(r, "cases"))])] : "", b]), me(n, t)];
967
+ return [me(n, t), A([n.switchValue.trim(), ", ", n.type, n.cases.length > 0 ? [",", O([S, te(S, e.map(r, "cases"))])] : "", k]), de(n, t)];
1074
968
  }
1075
- function ss(e, t, r) {
969
+ function Yi(e, t, r) {
1076
970
  let { node: n } = e;
1077
- return [n.value, " {", A([F([b, e.map(({ node: a, isLast: i }) => {
971
+ return [n.value, " {", A([O([k, e.map(({ node: a, isLast: i }) => {
1078
972
  let s = [r()];
1079
973
  return a.kind === "text" && (a.hasLeadingSpaces && s.unshift(S), a.hasTrailingSpaces && !i && s.push(S)), s;
1080
- }, "expression")]), b]), "}"];
974
+ }, "expression")]), k]), "}"];
1081
975
  }
1082
- function os(e, t, r) {
976
+ function Ji(e, t, r) {
1083
977
  let { node: n } = e;
1084
- if (Rr(n, t))
1085
- return [X(n, t), A(ut(e, t, r)), O(en(n, t)), ...ot(n, t), $(n, t)];
1086
- let a = n.children.length === 1 && (n.firstChild.kind === "interpolation" || n.firstChild.kind === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, i = Symbol("element-attr-group-id"), s = (p) => A([A(ut(e, t, r), { id: i }), p, ot(n, t)]), o = (p) => a ? In(p, { groupId: i }) : (M(n, t) || ze(n, t)) && n.parent.kind === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? p : F(p), l = () => a ? Ce(b, "", { groupId: i }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? S : n.firstChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? Pn(b) : b, c = () => (n.next ? j(n.next) : De(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : a ? Ce(b, "", { groupId: i }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? S : (n.lastChild.kind === "comment" || n.lastChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : b;
1087
- return n.children.length === 0 ? s(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? S : "") : s([Na(n) ? Ae : "", o([l(), Ot(e, t, r)]), c()]);
978
+ if (wr(n, t)) return [$(n, t), A(tt(e, t, r)), L(Wr(n, t)), ...et(n, t), W(n, t)];
979
+ let a = n.children.length === 1 && (n.firstChild.kind === "interpolation" || n.firstChild.kind === "angularIcuExpression") && n.firstChild.isLeadingSpaceSensitive && !n.firstChild.hasLeadingSpaces && n.lastChild.isTrailingSpaceSensitive && !n.lastChild.hasTrailingSpaces, i = /* @__PURE__ */ Symbol("element-attr-group-id"), s = (p) => A([A(tt(e, t, r), { id: i }), p, et(n, t)]), o = (p) => a ? Tn(p, { groupId: i }) : (I(n, t) || Ve(n, t)) && n.parent.kind === "root" && t.parser === "vue" && !t.vueIndentScriptAndStyle ? p : O(p), l = () => a ? _e(k, "", { groupId: i }) : n.firstChild.hasLeadingSpaces && n.firstChild.isLeadingSpaceSensitive ? S : n.firstChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive ? An(k) : k, c = () => (n.next ? z(n.next) : ye(n.parent)) ? n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? " " : "" : a ? _e(k, "", { groupId: i }) : n.lastChild.hasTrailingSpaces && n.lastChild.isTrailingSpaceSensitive ? S : (n.lastChild.kind === "comment" || n.lastChild.kind === "text" && n.isWhitespaceSensitive && n.isIndentationSensitive) && new RegExp(`\\n[\\t ]{${t.tabWidth * (e.ancestors.length - 1)}}$`, "u").test(n.lastChild.value) ? "" : k;
980
+ return n.children.length === 0 ? s(n.hasDanglingSpaces && n.isDanglingSpaceSensitive ? S : "") : s([Ca(n) ? Se : "", o([l(), wt(e, t, r)]), c()]);
1088
981
  }
1089
- var R = function(e) {
982
+ var P = (function(e) {
1090
983
  return e[e.RAW_TEXT = 0] = "RAW_TEXT", e[e.ESCAPABLE_RAW_TEXT = 1] = "ESCAPABLE_RAW_TEXT", e[e.PARSABLE_DATA = 2] = "PARSABLE_DATA", e;
1091
- }({});
1092
- function Ge(e, t = !0) {
1093
- if (e[0] != ":")
1094
- return [null, e];
984
+ })({});
985
+ function $e(e, t = !0) {
986
+ if (e[0] != ":") return [null, e];
1095
987
  let r = e.indexOf(":", 1);
1096
988
  if (r === -1) {
1097
- if (t)
1098
- throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);
989
+ if (t) throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);
1099
990
  return [null, e];
1100
991
  }
1101
992
  return [e.slice(1, r), e.slice(r + 1)];
1102
993
  }
1103
- function Xt(e) {
1104
- return Ge(e)[1] === "ng-container";
994
+ function Mt(e) {
995
+ return $e(e)[1] === "ng-container";
1105
996
  }
1106
- function Gt(e) {
1107
- return Ge(e)[1] === "ng-content";
997
+ function qt(e) {
998
+ return $e(e)[1] === "ng-content";
1108
999
  }
1109
- function Re(e) {
1110
- return e === null ? null : Ge(e)[0];
1000
+ function Pe(e) {
1001
+ return e === null ? null : $e(e)[0];
1111
1002
  }
1112
- function _e(e, t) {
1003
+ function fe(e, t) {
1113
1004
  return e ? `:${e}:${t}` : t;
1114
1005
  }
1115
- var Kt = { name: "custom-elements" }, Yt = { name: "no-errors-schema" }, he = function(e) {
1116
- return 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", e;
1117
- }({}), us = /-+([a-z0-9])/g;
1118
- function ls(e) {
1119
- return e.replace(us, (...t) => t[1].toUpperCase());
1006
+ var Ht = { name: "custom-elements" }, Vt = { name: "no-errors-schema" }, K = (function(e) {
1007
+ return 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", e[e.ATTRIBUTE_NO_BINDING = 6] = "ATTRIBUTE_NO_BINDING", e;
1008
+ })({}), Qi = /-+([a-z0-9])/g;
1009
+ function Zi(e) {
1010
+ return e.replace(Qi, (...t) => t[1].toUpperCase());
1120
1011
  }
1121
- var Me;
1122
- function Jt() {
1123
- return Me || (Me = {}, Fe(he.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), Fe(he.STYLE, ["*|style"]), Fe(he.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"]), Fe(he.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"])), Me;
1012
+ var Ie;
1013
+ function Ut() {
1014
+ return Ie || (Ie = {}, le(K.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]), le(K.STYLE, ["*|style"]), le(K.URL, ["*|formAction", "area|href", "a|href", "a|xlink:href", "form|action", "annotation|href", "annotation|xlink:href", "annotation-xml|href", "annotation-xml|xlink:href", "maction|href", "maction|xlink:href", "malignmark|href", "malignmark|xlink:href", "math|href", "math|xlink:href", "mroot|href", "mroot|xlink:href", "msqrt|href", "msqrt|xlink:href", "merror|href", "merror|xlink:href", "mfrac|href", "mfrac|xlink:href", "mglyph|href", "mglyph|xlink:href", "msub|href", "msub|xlink:href", "msup|href", "msup|xlink:href", "msubsup|href", "msubsup|xlink:href", "mmultiscripts|href", "mmultiscripts|xlink:href", "mprescripts|href", "mprescripts|xlink:href", "mi|href", "mi|xlink:href", "mn|href", "mn|xlink:href", "mo|href", "mo|xlink:href", "mpadded|href", "mpadded|xlink:href", "mphantom|href", "mphantom|xlink:href", "mrow|href", "mrow|xlink:href", "ms|href", "ms|xlink:href", "mspace|href", "mspace|xlink:href", "mstyle|href", "mstyle|xlink:href", "mtable|href", "mtable|xlink:href", "mtd|href", "mtd|xlink:href", "mtr|href", "mtr|xlink:href", "mtext|href", "mtext|xlink:href", "mover|href", "mover|xlink:href", "munder|href", "munder|xlink:href", "munderover|href", "munderover|xlink:href", "semantics|href", "semantics|xlink:href", "none|href", "none|xlink:href", "img|src", "video|src"]), le(K.RESOURCE_URL, ["base|href", "embed|src", "frame|src", "iframe|src", "link|href", "object|codebase", "object|data", "script|src", "script|href", "script|xlink:href"]), le(K.ATTRIBUTE_NO_BINDING, ["animate|attributeName", "set|attributeName", "animateMotion|attributeName", "animateTransform|attributeName", "unknown|attributeName", "iframe|sandbox", "iframe|allow", "iframe|allowFullscreen", "iframe|referrerPolicy", "iframe|csp", "iframe|fetchPriority", "unknown|sandbox", "unknown|allow", "unknown|allowFullscreen", "unknown|referrerPolicy", "unknown|csp", "unknown|fetchPriority"])), Ie;
1124
1015
  }
1125
- function Fe(e, t) {
1126
- for (let r of t)
1127
- Me[r.toLowerCase()] = e;
1016
+ function le(e, t) {
1017
+ for (let r of t) Ie[r.toLowerCase()] = e;
1128
1018
  }
1129
- var cs = class {
1130
- }, ps = "boolean", hs = "number", ds = "string", ms = "object", gs = ["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "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", "selectedcontent^[HTMLElement]|", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "search^[HTMLELement]|", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], nn = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex", "aria-activedescendant": "ariaActiveDescendantElement", "aria-atomic": "ariaAtomic", "aria-autocomplete": "ariaAutoComplete", "aria-busy": "ariaBusy", "aria-checked": "ariaChecked", "aria-colcount": "ariaColCount", "aria-colindex": "ariaColIndex", "aria-colindextext": "ariaColIndexText", "aria-colspan": "ariaColSpan", "aria-controls": "ariaControlsElements", "aria-current": "ariaCurrent", "aria-describedby": "ariaDescribedByElements", "aria-description": "ariaDescription", "aria-details": "ariaDetailsElements", "aria-disabled": "ariaDisabled", "aria-errormessage": "ariaErrorMessageElements", "aria-expanded": "ariaExpanded", "aria-flowto": "ariaFlowToElements", "aria-haspopup": "ariaHasPopup", "aria-hidden": "ariaHidden", "aria-invalid": "ariaInvalid", "aria-keyshortcuts": "ariaKeyShortcuts", "aria-label": "ariaLabel", "aria-labelledby": "ariaLabelledByElements", "aria-level": "ariaLevel", "aria-live": "ariaLive", "aria-modal": "ariaModal", "aria-multiline": "ariaMultiLine", "aria-multiselectable": "ariaMultiSelectable", "aria-orientation": "ariaOrientation", "aria-owns": "ariaOwnsElements", "aria-placeholder": "ariaPlaceholder", "aria-posinset": "ariaPosInSet", "aria-pressed": "ariaPressed", "aria-readonly": "ariaReadOnly", "aria-required": "ariaRequired", "aria-roledescription": "ariaRoleDescription", "aria-rowcount": "ariaRowCount", "aria-rowindex": "ariaRowIndex", "aria-rowindextext": "ariaRowIndexText", "aria-rowspan": "ariaRowSpan", "aria-selected": "ariaSelected", "aria-setsize": "ariaSetSize", "aria-sort": "ariaSort", "aria-valuemax": "ariaValueMax", "aria-valuemin": "ariaValueMin", "aria-valuenow": "ariaValueNow", "aria-valuetext": "ariaValueText" })), fs = Array.from(nn).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()), _s = class extends cs {
1019
+ var es = class {
1020
+ }, ts = "boolean", rs = "number", ns = "string", as = "object", is = ["[Element]|textContent,%ariaActiveDescendantElement,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColIndexText,%ariaColSpan,%ariaControlsElements,%ariaCurrent,%ariaDescribedByElements,%ariaDescription,%ariaDetailsElements,%ariaDisabled,%ariaErrorMessageElements,%ariaExpanded,%ariaFlowToElements,%ariaHasPopup,%ariaHidden,%ariaInvalid,%ariaKeyShortcuts,%ariaLabel,%ariaLabelledByElements,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaOwnsElements,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowIndexText,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored", "[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,search,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy", "media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume", ":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":svg:graphics^:svg:|", ":svg:animation^:svg:|*begin,*end,*repeat", ":svg:geometry^:svg:|", ":svg:componentTransferFunction^:svg:|", ":svg:gradient^:svg:|", ":svg:textContent^:svg:graphics|", ":svg:textPositioning^:svg:textContent|", "a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username", "area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username", "audio^media|", "br^[HTMLElement]|clear", "base^[HTMLElement]|href,target", "body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink", "button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value", "canvas^[HTMLElement]|#height,#width", "content^[HTMLElement]|select", "dl^[HTMLElement]|!compact", "data^[HTMLElement]|value", "datalist^[HTMLElement]|", "details^[HTMLElement]|!open", "dialog^[HTMLElement]|!open,returnValue", "dir^[HTMLElement]|!compact", "div^[HTMLElement]|align", "embed^[HTMLElement]|align,height,name,src,type,width", "fieldset^[HTMLElement]|!disabled,name", "font^[HTMLElement]|color,face,size", "form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target", "frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src", "frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows", "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", "selectedcontent^[HTMLElement]|", "slot^[HTMLElement]|name", "source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width", "span^[HTMLElement]|", "style^[HTMLElement]|!disabled,media,type", "search^[HTMLELement]|", "caption^[HTMLElement]|align", "th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width", "col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width", "table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width", "tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign", "tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign", "template^[HTMLElement]|", "textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap", "time^[HTMLElement]|dateTime", "title^[HTMLElement]|text", "track^[HTMLElement]|!default,kind,label,src,srclang", "ul^[HTMLElement]|!compact,type", "unknown^[HTMLElement]|", "video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width", ":svg:a^:svg:graphics|", ":svg:animate^:svg:animation|", ":svg:animateMotion^:svg:animation|", ":svg:animateTransform^:svg:animation|", ":svg:circle^:svg:geometry|", ":svg:clipPath^:svg:graphics|", ":svg:defs^:svg:graphics|", ":svg:desc^:svg:|", ":svg:discard^:svg:|", ":svg:ellipse^:svg:geometry|", ":svg:feBlend^:svg:|", ":svg:feColorMatrix^:svg:|", ":svg:feComponentTransfer^:svg:|", ":svg:feComposite^:svg:|", ":svg:feConvolveMatrix^:svg:|", ":svg:feDiffuseLighting^:svg:|", ":svg:feDisplacementMap^:svg:|", ":svg:feDistantLight^:svg:|", ":svg:feDropShadow^:svg:|", ":svg:feFlood^:svg:|", ":svg:feFuncA^:svg:componentTransferFunction|", ":svg:feFuncB^:svg:componentTransferFunction|", ":svg:feFuncG^:svg:componentTransferFunction|", ":svg:feFuncR^:svg:componentTransferFunction|", ":svg:feGaussianBlur^:svg:|", ":svg:feImage^:svg:|", ":svg:feMerge^:svg:|", ":svg:feMergeNode^:svg:|", ":svg:feMorphology^:svg:|", ":svg:feOffset^:svg:|", ":svg:fePointLight^:svg:|", ":svg:feSpecularLighting^:svg:|", ":svg:feSpotLight^:svg:|", ":svg:feTile^:svg:|", ":svg:feTurbulence^:svg:|", ":svg:filter^:svg:|", ":svg:foreignObject^:svg:graphics|", ":svg:g^:svg:graphics|", ":svg:image^:svg:graphics|decoding", ":svg:line^:svg:geometry|", ":svg:linearGradient^:svg:gradient|", ":svg:mpath^:svg:|", ":svg:marker^:svg:|", ":svg:mask^:svg:|", ":svg:metadata^:svg:|", ":svg:path^:svg:geometry|", ":svg:pattern^:svg:|", ":svg:polygon^:svg:geometry|", ":svg:polyline^:svg:geometry|", ":svg:radialGradient^:svg:gradient|", ":svg:rect^:svg:geometry|", ":svg:svg^:svg:graphics|#currentScale,#zoomAndPan", ":svg:script^:svg:|type", ":svg:set^:svg:animation|", ":svg:stop^:svg:|", ":svg:style^:svg:|!disabled,media,title,type", ":svg:switch^:svg:graphics|", ":svg:symbol^:svg:|", ":svg:tspan^:svg:textPositioning|", ":svg:text^:svg:textPositioning|", ":svg:textPath^:svg:textContent|", ":svg:title^:svg:|", ":svg:use^:svg:graphics|", ":svg:view^:svg:|#zoomAndPan", "data^[HTMLElement]|value", "keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name", "menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default", "summary^[HTMLElement]|", "time^[HTMLElement]|dateTime", ":svg:cursor^:svg:|", ":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex", ":math:math^:math:|", ":math:maction^:math:|", ":math:menclose^:math:|", ":math:merror^:math:|", ":math:mfenced^:math:|", ":math:mfrac^:math:|", ":math:mi^:math:|", ":math:mmultiscripts^:math:|", ":math:mn^:math:|", ":math:mo^:math:|", ":math:mover^:math:|", ":math:mpadded^:math:|", ":math:mphantom^:math:|", ":math:mroot^:math:|", ":math:mrow^:math:|", ":math:ms^:math:|", ":math:mspace^:math:|", ":math:msqrt^:math:|", ":math:mstyle^:math:|", ":math:msub^:math:|", ":math:msubsup^:math:|", ":math:msup^:math:|", ":math:mtable^:math:|", ":math:mtd^:math:|", ":math:mtext^:math:|", ":math:mtr^:math:|", ":math:munder^:math:|", ":math:munderover^:math:|", ":math:semantics^:math:|"], jr = new Map(Object.entries({ class: "className", for: "htmlFor", formaction: "formAction", innerHtml: "innerHTML", readonly: "readOnly", tabindex: "tabIndex", "aria-activedescendant": "ariaActiveDescendantElement", "aria-atomic": "ariaAtomic", "aria-autocomplete": "ariaAutoComplete", "aria-busy": "ariaBusy", "aria-checked": "ariaChecked", "aria-colcount": "ariaColCount", "aria-colindex": "ariaColIndex", "aria-colindextext": "ariaColIndexText", "aria-colspan": "ariaColSpan", "aria-controls": "ariaControlsElements", "aria-current": "ariaCurrent", "aria-describedby": "ariaDescribedByElements", "aria-description": "ariaDescription", "aria-details": "ariaDetailsElements", "aria-disabled": "ariaDisabled", "aria-errormessage": "ariaErrorMessageElements", "aria-expanded": "ariaExpanded", "aria-flowto": "ariaFlowToElements", "aria-haspopup": "ariaHasPopup", "aria-hidden": "ariaHidden", "aria-invalid": "ariaInvalid", "aria-keyshortcuts": "ariaKeyShortcuts", "aria-label": "ariaLabel", "aria-labelledby": "ariaLabelledByElements", "aria-level": "ariaLevel", "aria-live": "ariaLive", "aria-modal": "ariaModal", "aria-multiline": "ariaMultiLine", "aria-multiselectable": "ariaMultiSelectable", "aria-orientation": "ariaOrientation", "aria-owns": "ariaOwnsElements", "aria-placeholder": "ariaPlaceholder", "aria-posinset": "ariaPosInSet", "aria-pressed": "ariaPressed", "aria-readonly": "ariaReadOnly", "aria-required": "ariaRequired", "aria-roledescription": "ariaRoleDescription", "aria-rowcount": "ariaRowCount", "aria-rowindex": "ariaRowIndex", "aria-rowindextext": "ariaRowIndexText", "aria-rowspan": "ariaRowSpan", "aria-selected": "ariaSelected", "aria-setsize": "ariaSetSize", "aria-sort": "ariaSort", "aria-valuemax": "ariaValueMax", "aria-valuemin": "ariaValueMin", "aria-valuenow": "ariaValueNow", "aria-valuetext": "ariaValueText" })), ss = Array.from(jr).reduce((e, [t, r]) => (e.set(t, r), e), /* @__PURE__ */ new Map()), os = class extends es {
1131
1021
  constructor() {
1132
- super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), gs.forEach((e) => {
1022
+ super(), this._schema = /* @__PURE__ */ new Map(), this._eventSchema = /* @__PURE__ */ new Map(), is.forEach((e) => {
1133
1023
  let t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), [n, a] = e.split("|"), i = a.split(","), [s, o] = n.split("^");
1134
1024
  s.split(",").forEach((c) => {
1135
1025
  this._schema.set(c.toLowerCase(), t), this._eventSchema.set(c.toLowerCase(), r);
1136
1026
  });
1137
1027
  let l = o && this._schema.get(o.toLowerCase());
1138
1028
  if (l) {
1139
- for (let [c, p] of l)
1140
- t.set(c, p);
1141
- for (let c of this._eventSchema.get(o.toLowerCase()))
1142
- r.add(c);
1029
+ for (let [c, p] of l) t.set(c, p);
1030
+ for (let c of this._eventSchema.get(o.toLowerCase())) r.add(c);
1143
1031
  }
1144
1032
  i.forEach((c) => {
1145
- if (c.length > 0)
1146
- switch (c[0]) {
1147
- case "*":
1148
- r.add(c.substring(1));
1149
- break;
1150
- case "!":
1151
- t.set(c.substring(1), ps);
1152
- break;
1153
- case "#":
1154
- t.set(c.substring(1), hs);
1155
- break;
1156
- case "%":
1157
- t.set(c.substring(1), ms);
1158
- break;
1159
- default:
1160
- t.set(c, ds);
1161
- }
1033
+ if (c.length > 0) switch (c[0]) {
1034
+ case "*":
1035
+ r.add(c.substring(1));
1036
+ break;
1037
+ case "!":
1038
+ t.set(c.substring(1), ts);
1039
+ break;
1040
+ case "#":
1041
+ t.set(c.substring(1), rs);
1042
+ break;
1043
+ case "%":
1044
+ t.set(c.substring(1), as);
1045
+ break;
1046
+ default:
1047
+ t.set(c, ns);
1048
+ }
1162
1049
  });
1163
1050
  });
1164
1051
  }
1165
1052
  hasProperty(e, t, r) {
1166
- if (r.some((n) => n.name === Yt.name))
1167
- return !0;
1053
+ if (r.some((n) => n.name === Vt.name)) return !0;
1168
1054
  if (e.indexOf("-") > -1) {
1169
- if (Xt(e) || Gt(e))
1170
- return !1;
1171
- if (r.some((n) => n.name === Kt.name))
1172
- return !0;
1055
+ if (Mt(e) || qt(e)) return !1;
1056
+ if (r.some((n) => n.name === Ht.name)) return !0;
1173
1057
  }
1174
1058
  return (this._schema.get(e.toLowerCase()) || this._schema.get("unknown")).has(t);
1175
1059
  }
1176
1060
  hasElement(e, t) {
1177
- return t.some((r) => r.name === Yt.name) || e.indexOf("-") > -1 && (Xt(e) || Gt(e) || t.some((r) => r.name === Kt.name)) ? !0 : this._schema.has(e.toLowerCase());
1061
+ return t.some((r) => r.name === Vt.name) || e.indexOf("-") > -1 && (Mt(e) || qt(e) || t.some((r) => r.name === Ht.name)) ? !0 : this._schema.has(e.toLowerCase());
1178
1062
  }
1179
1063
  securityContext(e, t, r) {
1180
1064
  r && (t = this.getMappedPropName(t)), e = e.toLowerCase(), t = t.toLowerCase();
1181
- let n = Jt()[e + "|" + t];
1182
- return n || (n = Jt()["*|" + t], n || he.NONE);
1065
+ let n = Ut()[e + "|" + t];
1066
+ return n || (n = Ut()["*|" + t], n || K.NONE);
1183
1067
  }
1184
1068
  getMappedPropName(e) {
1185
- return nn.get(e) ?? e;
1069
+ return jr.get(e) ?? e;
1186
1070
  }
1187
1071
  getDefaultComponentElementName() {
1188
1072
  return "ng-component";
@@ -1199,27 +1083,25 @@ If '${e}' is a directive input, make sure the directive is imported by the curre
1199
1083
  }
1200
1084
  allKnownAttributesOfElement(e) {
1201
1085
  let t = this._schema.get(e.toLowerCase()) || this._schema.get("unknown");
1202
- return Array.from(t.keys()).map((r) => fs.get(r) ?? r);
1086
+ return Array.from(t.keys()).map((r) => ss.get(r) ?? r);
1203
1087
  }
1204
1088
  allKnownEventsOfElement(e) {
1205
1089
  return Array.from(this._eventSchema.get(e.toLowerCase()) ?? []);
1206
1090
  }
1207
1091
  normalizeAnimationStyleProperty(e) {
1208
- return ls(e);
1092
+ return Zi(e);
1209
1093
  }
1210
1094
  normalizeAnimationStyleValue(e, t, r) {
1211
1095
  let n = "", a = r.toString().trim(), i = null;
1212
- if (Cs(e) && r !== 0 && r !== "0")
1213
- if (typeof r == "number")
1214
- n = "px";
1215
- else {
1216
- let s = r.match(/^[+-]?[\d\.]+([a-z]*)$/);
1217
- s && s[1].length == 0 && (i = `Please provide a CSS unit value for ${t}:${r}`);
1218
- }
1096
+ if (us(e) && r !== 0 && r !== "0") if (typeof r == "number") n = "px";
1097
+ else {
1098
+ let s = r.match(/^[+-]?[\d\.]+([a-z]*)$/);
1099
+ s && s[1].length == 0 && (i = `Please provide a CSS unit value for ${t}:${r}`);
1100
+ }
1219
1101
  return { error: i, value: a + n };
1220
1102
  }
1221
1103
  };
1222
- function Cs(e) {
1104
+ function us(e) {
1223
1105
  switch (e) {
1224
1106
  case "width":
1225
1107
  case "height":
@@ -1255,7 +1137,7 @@ function Cs(e) {
1255
1137
  }
1256
1138
  }
1257
1139
  var m = class {
1258
- constructor({ closedByChildren: e, implicitNamespacePrefix: t, contentType: r = R.PARSABLE_DATA, closedByParent: n = !1, isVoid: a = !1, ignoreFirstLf: i = !1, preventNamespaceInheritance: s = !1, canSelfClose: o = !1 } = {}) {
1140
+ constructor({ closedByChildren: e, implicitNamespacePrefix: t, contentType: r = P.PARSABLE_DATA, closedByParent: n = !1, isVoid: a = !1, ignoreFirstLf: i = !1, preventNamespaceInheritance: s = !1, canSelfClose: o = !1 } = {}) {
1259
1141
  this.closedByChildren = {}, this.closedByParent = !1, e && e.length > 0 && e.forEach((l) => this.closedByChildren[l] = !0), this.isVoid = a, this.closedByParent = n || a, this.implicitNamespacePrefix = t || null, this.contentType = r, this.ignoreFirstLf = i, this.preventNamespaceInheritance = s, this.canSelfClose = o ?? a;
1260
1142
  }
1261
1143
  isClosedByChild(e) {
@@ -1264,34 +1146,34 @@ var m = class {
1264
1146
  getContentType(e) {
1265
1147
  return typeof this.contentType == "object" ? (e === void 0 ? void 0 : this.contentType[e]) ?? this.contentType.default : this.contentType;
1266
1148
  }
1267
- }, Qt, ce;
1268
- function lt(e) {
1269
- return ce || (Qt = new m({ canSelfClose: !0 }), ce = Object.assign(/* @__PURE__ */ Object.create(null), { base: new m({ isVoid: !0 }), meta: new m({ isVoid: !0 }), area: new m({ isVoid: !0 }), embed: new m({ isVoid: !0 }), link: new m({ isVoid: !0 }), img: new m({ isVoid: !0 }), input: new m({ isVoid: !0 }), param: new m({ isVoid: !0 }), hr: new m({ isVoid: !0 }), br: new m({ isVoid: !0 }), source: new m({ isVoid: !0 }), track: new m({ isVoid: !0 }), wbr: new m({ isVoid: !0 }), p: new m({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], closedByParent: !0 }), thead: new m({ closedByChildren: ["tbody", "tfoot"] }), tbody: new m({ closedByChildren: ["tbody", "tfoot"], closedByParent: !0 }), tfoot: new m({ closedByChildren: ["tbody"], closedByParent: !0 }), tr: new m({ closedByChildren: ["tr"], closedByParent: !0 }), td: new m({ closedByChildren: ["td", "th"], closedByParent: !0 }), th: new m({ closedByChildren: ["td", "th"], closedByParent: !0 }), col: new m({ isVoid: !0 }), svg: new m({ implicitNamespacePrefix: "svg" }), foreignObject: new m({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: !0 }), math: new m({ implicitNamespacePrefix: "math" }), li: new m({ closedByChildren: ["li"], closedByParent: !0 }), dt: new m({ closedByChildren: ["dt", "dd"] }), dd: new m({ closedByChildren: ["dt", "dd"], closedByParent: !0 }), rb: new m({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rt: new m({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rtc: new m({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: !0 }), rp: new m({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), optgroup: new m({ closedByChildren: ["optgroup"], closedByParent: !0 }), option: new m({ closedByChildren: ["option", "optgroup"], closedByParent: !0 }), pre: new m({ ignoreFirstLf: !0 }), listing: new m({ ignoreFirstLf: !0 }), style: new m({ contentType: R.RAW_TEXT }), script: new m({ contentType: R.RAW_TEXT }), title: new m({ contentType: { default: R.ESCAPABLE_RAW_TEXT, svg: R.PARSABLE_DATA } }), textarea: new m({ contentType: R.ESCAPABLE_RAW_TEXT, ignoreFirstLf: !0 }) }), new _s().allKnownElementNames().forEach((t) => {
1270
- !ce[t] && Re(t) === null && (ce[t] = new m({ canSelfClose: !1 }));
1271
- })), ce[e] ?? Qt;
1149
+ }, Wt, ce;
1150
+ function rt(e) {
1151
+ return ce || (Wt = new m({ canSelfClose: !0 }), ce = Object.assign(/* @__PURE__ */ Object.create(null), { base: new m({ isVoid: !0 }), meta: new m({ isVoid: !0 }), area: new m({ isVoid: !0 }), embed: new m({ isVoid: !0 }), link: new m({ isVoid: !0 }), img: new m({ isVoid: !0 }), input: new m({ isVoid: !0 }), param: new m({ isVoid: !0 }), hr: new m({ isVoid: !0 }), br: new m({ isVoid: !0 }), source: new m({ isVoid: !0 }), track: new m({ isVoid: !0 }), wbr: new m({ isVoid: !0 }), p: new m({ closedByChildren: ["address", "article", "aside", "blockquote", "div", "dl", "fieldset", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hgroup", "hr", "main", "nav", "ol", "p", "pre", "section", "table", "ul"], closedByParent: !0 }), thead: new m({ closedByChildren: ["tbody", "tfoot"] }), tbody: new m({ closedByChildren: ["tbody", "tfoot"], closedByParent: !0 }), tfoot: new m({ closedByChildren: ["tbody"], closedByParent: !0 }), tr: new m({ closedByChildren: ["tr"], closedByParent: !0 }), td: new m({ closedByChildren: ["td", "th"], closedByParent: !0 }), th: new m({ closedByChildren: ["td", "th"], closedByParent: !0 }), col: new m({ isVoid: !0 }), svg: new m({ implicitNamespacePrefix: "svg" }), foreignObject: new m({ implicitNamespacePrefix: "svg", preventNamespaceInheritance: !0 }), math: new m({ implicitNamespacePrefix: "math" }), li: new m({ closedByChildren: ["li"], closedByParent: !0 }), dt: new m({ closedByChildren: ["dt", "dd"] }), dd: new m({ closedByChildren: ["dt", "dd"], closedByParent: !0 }), rb: new m({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rt: new m({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), rtc: new m({ closedByChildren: ["rb", "rtc", "rp"], closedByParent: !0 }), rp: new m({ closedByChildren: ["rb", "rt", "rtc", "rp"], closedByParent: !0 }), optgroup: new m({ closedByChildren: ["optgroup"], closedByParent: !0 }), option: new m({ closedByChildren: ["option", "optgroup"], closedByParent: !0 }), pre: new m({ ignoreFirstLf: !0 }), listing: new m({ ignoreFirstLf: !0 }), style: new m({ contentType: P.RAW_TEXT }), script: new m({ contentType: P.RAW_TEXT }), title: new m({ contentType: { default: P.ESCAPABLE_RAW_TEXT, svg: P.PARSABLE_DATA } }), textarea: new m({ contentType: P.ESCAPABLE_RAW_TEXT, ignoreFirstLf: !0 }) }), new os().allKnownElementNames().forEach((t) => {
1152
+ !ce[t] && Pe(t) === null && (ce[t] = new m({ canSelfClose: !1 }));
1153
+ })), ce[e] ?? Wt;
1272
1154
  }
1273
- function qe(e) {
1155
+ function Re(e) {
1274
1156
  return e >= 9 && e <= 32 || e == 160;
1275
1157
  }
1276
- function Ke(e) {
1158
+ function je(e) {
1277
1159
  return 48 <= e && e <= 57;
1278
1160
  }
1279
1161
  function Ee(e) {
1280
1162
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
1281
1163
  }
1282
- function vs(e) {
1283
- return e >= 97 && e <= 102 || e >= 65 && e <= 70 || Ke(e);
1164
+ function ls(e) {
1165
+ return e >= 97 && e <= 102 || e >= 65 && e <= 70 || je(e);
1284
1166
  }
1285
- function He(e) {
1167
+ function Me(e) {
1286
1168
  return e === 10 || e === 13;
1287
1169
  }
1288
- function Zt(e) {
1170
+ function zt(e) {
1289
1171
  return 48 <= e && e <= 55;
1290
1172
  }
1291
- function at(e) {
1173
+ function Je(e) {
1292
1174
  return e === 39 || e === 34 || e === 96;
1293
1175
  }
1294
- var ct = class an {
1176
+ var nt = class Xr {
1295
1177
  constructor(t, r, n, a) {
1296
1178
  this.file = t, this.offset = r, this.line = n, this.col = a;
1297
1179
  }
@@ -1300,18 +1182,17 @@ var ct = class an {
1300
1182
  }
1301
1183
  moveBy(t) {
1302
1184
  let r = this.file.content, n = r.length, a = this.offset, i = this.line, s = this.col;
1303
- for (; a > 0 && t < 0; )
1304
- if (a--, t++, r.charCodeAt(a) == 10) {
1305
- i--;
1306
- let o = r.substring(0, a - 1).lastIndexOf(String.fromCharCode(10));
1307
- s = o > 0 ? a - o : a;
1308
- } else
1309
- s--;
1185
+ for (; a > 0 && t < 0; ) if (a--, t++, r.charCodeAt(a) == 10) {
1186
+ i--;
1187
+ let o = r.substring(0, a - 1).lastIndexOf(`
1188
+ `);
1189
+ s = o > 0 ? a - o : a;
1190
+ } else s--;
1310
1191
  for (; a < n && t > 0; ) {
1311
1192
  let o = r.charCodeAt(a);
1312
1193
  a++, t--, o == 10 ? (i++, s = 0) : s++;
1313
1194
  }
1314
- return new an(this.file, a, i, s);
1195
+ return new Xr(this.file, a, i, s);
1315
1196
  }
1316
1197
  getContext(t, r) {
1317
1198
  let n = this.file.content, a = this.offset;
@@ -1319,16 +1200,14 @@ var ct = class an {
1319
1200
  a > n.length - 1 && (a = n.length - 1);
1320
1201
  let i = a, s = 0, o = 0;
1321
1202
  for (; s < t && a > 0 && (a--, s++, !(n[a] == `
1322
- ` && ++o == r)); )
1323
- ;
1203
+ ` && ++o == r)); ) ;
1324
1204
  for (s = 0, o = 0; s < t && i < n.length - 1 && (i++, s++, !(n[i] == `
1325
- ` && ++o == r)); )
1326
- ;
1205
+ ` && ++o == r)); ) ;
1327
1206
  return { before: n.substring(a, this.offset), after: n.substring(this.offset, i + 1) };
1328
1207
  }
1329
1208
  return null;
1330
1209
  }
1331
- }, sn = class {
1210
+ }, Gr = class {
1332
1211
  constructor(e, t) {
1333
1212
  this.content = e, this.url = t;
1334
1213
  }
@@ -1339,53 +1218,53 @@ var ct = class an {
1339
1218
  toString() {
1340
1219
  return this.start.file.content.substring(this.start.offset, this.end.offset);
1341
1220
  }
1342
- }, er = function(e) {
1221
+ }, $t = (function(e) {
1343
1222
  return e[e.WARNING = 0] = "WARNING", e[e.ERROR = 1] = "ERROR", e;
1344
- }({}), J = class extends Error {
1345
- constructor(e, t, r = er.ERROR, n) {
1223
+ })({}), Y = class extends Error {
1224
+ constructor(e, t, r = $t.ERROR, n) {
1346
1225
  super(t), this.span = e, this.msg = t, this.level = r, this.relatedError = n, Object.setPrototypeOf(this, new.target.prototype);
1347
1226
  }
1348
1227
  contextualMessage() {
1349
1228
  let e = this.span.start.getContext(100, 3);
1350
- return e ? `${this.msg} ("${e.before}[${er[this.level]} ->]${e.after}")` : this.msg;
1229
+ return e ? `${this.msg} ("${e.before}[${$t[this.level]} ->]${e.after}")` : this.msg;
1351
1230
  }
1352
1231
  toString() {
1353
1232
  let e = this.span.details ? `, ${this.span.details}` : "";
1354
1233
  return `${this.contextualMessage()}: ${this.span.start}${e}`;
1355
1234
  }
1356
- }, G = class {
1235
+ }, j = class {
1357
1236
  constructor(e, t) {
1358
1237
  this.sourceSpan = e, this.i18n = t;
1359
1238
  }
1360
- }, Es = class extends G {
1239
+ }, cs = class extends j {
1361
1240
  constructor(e, t, r, n) {
1362
1241
  super(t, n), this.value = e, this.tokens = r, this.kind = "text";
1363
1242
  }
1364
1243
  visit(e, t) {
1365
1244
  return e.visitText(this, t);
1366
1245
  }
1367
- }, Ss = class extends G {
1246
+ }, ps = class extends j {
1368
1247
  constructor(e, t, r, n) {
1369
1248
  super(t, n), this.value = e, this.tokens = r, this.kind = "cdata";
1370
1249
  }
1371
1250
  visit(e, t) {
1372
1251
  return e.visitCdata(this, t);
1373
1252
  }
1374
- }, As = class extends G {
1253
+ }, hs = class extends j {
1375
1254
  constructor(e, t, r, n, a, i) {
1376
1255
  super(n, i), this.switchValue = e, this.type = t, this.cases = r, this.switchValueSourceSpan = a, this.kind = "expansion";
1377
1256
  }
1378
1257
  visit(e, t) {
1379
1258
  return e.visitExpansion(this, t);
1380
1259
  }
1381
- }, Ts = class {
1260
+ }, ds = class {
1382
1261
  constructor(e, t, r, n, a) {
1383
1262
  this.value = e, this.expression = t, this.sourceSpan = r, this.valueSourceSpan = n, this.expSourceSpan = a, this.kind = "expansionCase";
1384
1263
  }
1385
1264
  visit(e, t) {
1386
1265
  return e.visitExpansionCase(this, t);
1387
1266
  }
1388
- }, bs = class extends G {
1267
+ }, ms = class extends j {
1389
1268
  constructor(e, t, r, n, a, i, s) {
1390
1269
  super(r, s), this.name = e, this.value = t, this.keySpan = n, this.valueSpan = a, this.valueTokens = i, this.kind = "attribute";
1391
1270
  }
@@ -1395,56 +1274,56 @@ var ct = class an {
1395
1274
  get nameSpan() {
1396
1275
  return this.keySpan;
1397
1276
  }
1398
- }, U = class extends G {
1277
+ }, H = class extends j {
1399
1278
  constructor(e, t, r, n, a, i, s, o = null, l = null, c, p) {
1400
1279
  super(i, p), this.name = e, this.attrs = t, this.directives = r, this.children = n, this.isSelfClosing = a, this.startSourceSpan = s, this.endSourceSpan = o, this.nameSpan = l, this.isVoid = c, this.kind = "element";
1401
1280
  }
1402
1281
  visit(e, t) {
1403
1282
  return e.visitElement(this, t);
1404
1283
  }
1405
- }, ks = class {
1284
+ }, gs = class {
1406
1285
  constructor(e, t) {
1407
1286
  this.value = e, this.sourceSpan = t, this.kind = "comment";
1408
1287
  }
1409
1288
  visit(e, t) {
1410
1289
  return e.visitComment(this, t);
1411
1290
  }
1412
- }, ws = class {
1291
+ }, fs = class {
1413
1292
  constructor(e, t) {
1414
1293
  this.value = e, this.sourceSpan = t, this.kind = "docType";
1415
1294
  }
1416
1295
  visit(e, t) {
1417
1296
  return e.visitDocType(this, t);
1418
1297
  }
1419
- }, Y = class extends G {
1298
+ }, G = class extends j {
1420
1299
  constructor(e, t, r, n, a, i, s = null, o) {
1421
1300
  super(n, o), this.name = e, this.parameters = t, this.children = r, this.nameSpan = a, this.startSourceSpan = i, this.endSourceSpan = s, this.kind = "block";
1422
1301
  }
1423
1302
  visit(e, t) {
1424
1303
  return e.visitBlock(this, t);
1425
1304
  }
1426
- }, H = class extends G {
1305
+ }, M = class extends j {
1427
1306
  constructor(e, t, r, n, a, i, s, o, l, c = null, p) {
1428
1307
  super(o, p), this.componentName = e, this.tagName = t, this.fullName = r, this.attrs = n, this.directives = a, this.children = i, this.isSelfClosing = s, this.startSourceSpan = l, this.endSourceSpan = c, this.kind = "component";
1429
1308
  }
1430
1309
  visit(e, t) {
1431
1310
  return e.visitComponent(this, t);
1432
1311
  }
1433
- }, ys = class {
1312
+ }, _s = class {
1434
1313
  constructor(e, t, r, n, a = null) {
1435
1314
  this.name = e, this.attrs = t, this.sourceSpan = r, this.startSourceSpan = n, this.endSourceSpan = a, this.kind = "directive";
1436
1315
  }
1437
1316
  visit(e, t) {
1438
1317
  return e.visitDirective(this, t);
1439
1318
  }
1440
- }, tr = class {
1319
+ }, jt = class {
1441
1320
  constructor(e, t) {
1442
1321
  this.expression = e, this.sourceSpan = t, this.kind = "blockParameter", this.startSourceSpan = null, this.endSourceSpan = null;
1443
1322
  }
1444
1323
  visit(e, t) {
1445
1324
  return e.visitBlockParameter(this, t);
1446
1325
  }
1447
- }, rr = class {
1326
+ }, Xt = class {
1448
1327
  constructor(e, t, r, n, a) {
1449
1328
  this.name = e, this.value = t, this.sourceSpan = r, this.nameSpan = n, this.valueSpan = a, this.kind = "letDeclaration", this.startSourceSpan = null, this.endSourceSpan = null;
1450
1329
  }
@@ -1452,14 +1331,14 @@ var ct = class an {
1452
1331
  return e.visitLetDeclaration(this, t);
1453
1332
  }
1454
1333
  };
1455
- function on(e, t, r = null) {
1334
+ function Kr(e, t, r = null) {
1456
1335
  let n = [], a = e.visit ? (i) => e.visit(i, r) || i.visit(e, r) : (i) => i.visit(e, r);
1457
1336
  return t.forEach((i) => {
1458
1337
  let s = a(i);
1459
1338
  s && n.push(s);
1460
1339
  }), n;
1461
1340
  }
1462
- var Ds = class {
1341
+ var Cs = class {
1463
1342
  constructor() {
1464
1343
  }
1465
1344
  visitElement(e, t) {
@@ -1506,41 +1385,41 @@ var Ds = class {
1506
1385
  visitChildren(e, t) {
1507
1386
  let r = [], n = this;
1508
1387
  function a(i) {
1509
- i && r.push(on(n, i, e));
1388
+ i && r.push(Kr(n, i, e));
1510
1389
  }
1511
1390
  return t(a), Array.prototype.concat.apply([], r);
1512
1391
  }
1513
- }, Se = { 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: `
1514
- `, 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: "‌" }, xs = "";
1515
- Se.ngsp = xs;
1516
- var u = function(e) {
1392
+ }, ve = { 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: `
1393
+ `, 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: "‌" }, Es = "";
1394
+ ve.ngsp = Es;
1395
+ var u = (function(e) {
1517
1396
  return e[e.TAG_OPEN_START = 0] = "TAG_OPEN_START", e[e.TAG_OPEN_END = 1] = "TAG_OPEN_END", e[e.TAG_OPEN_END_VOID = 2] = "TAG_OPEN_END_VOID", e[e.TAG_CLOSE = 3] = "TAG_CLOSE", e[e.INCOMPLETE_TAG_OPEN = 4] = "INCOMPLETE_TAG_OPEN", e[e.TEXT = 5] = "TEXT", e[e.ESCAPABLE_RAW_TEXT = 6] = "ESCAPABLE_RAW_TEXT", e[e.RAW_TEXT = 7] = "RAW_TEXT", e[e.INTERPOLATION = 8] = "INTERPOLATION", e[e.ENCODED_ENTITY = 9] = "ENCODED_ENTITY", e[e.COMMENT_START = 10] = "COMMENT_START", e[e.COMMENT_END = 11] = "COMMENT_END", e[e.CDATA_START = 12] = "CDATA_START", e[e.CDATA_END = 13] = "CDATA_END", e[e.ATTR_NAME = 14] = "ATTR_NAME", e[e.ATTR_QUOTE = 15] = "ATTR_QUOTE", e[e.ATTR_VALUE_TEXT = 16] = "ATTR_VALUE_TEXT", e[e.ATTR_VALUE_INTERPOLATION = 17] = "ATTR_VALUE_INTERPOLATION", e[e.DOC_TYPE_START = 18] = "DOC_TYPE_START", e[e.DOC_TYPE_END = 19] = "DOC_TYPE_END", e[e.EXPANSION_FORM_START = 20] = "EXPANSION_FORM_START", e[e.EXPANSION_CASE_VALUE = 21] = "EXPANSION_CASE_VALUE", e[e.EXPANSION_CASE_EXP_START = 22] = "EXPANSION_CASE_EXP_START", e[e.EXPANSION_CASE_EXP_END = 23] = "EXPANSION_CASE_EXP_END", e[e.EXPANSION_FORM_END = 24] = "EXPANSION_FORM_END", e[e.BLOCK_OPEN_START = 25] = "BLOCK_OPEN_START", e[e.BLOCK_OPEN_END = 26] = "BLOCK_OPEN_END", e[e.BLOCK_CLOSE = 27] = "BLOCK_CLOSE", e[e.BLOCK_PARAMETER = 28] = "BLOCK_PARAMETER", e[e.INCOMPLETE_BLOCK_OPEN = 29] = "INCOMPLETE_BLOCK_OPEN", e[e.LET_START = 30] = "LET_START", e[e.LET_VALUE = 31] = "LET_VALUE", e[e.LET_END = 32] = "LET_END", e[e.INCOMPLETE_LET = 33] = "INCOMPLETE_LET", e[e.COMPONENT_OPEN_START = 34] = "COMPONENT_OPEN_START", e[e.COMPONENT_OPEN_END = 35] = "COMPONENT_OPEN_END", e[e.COMPONENT_OPEN_END_VOID = 36] = "COMPONENT_OPEN_END_VOID", e[e.COMPONENT_CLOSE = 37] = "COMPONENT_CLOSE", e[e.INCOMPLETE_COMPONENT_OPEN = 38] = "INCOMPLETE_COMPONENT_OPEN", e[e.DIRECTIVE_NAME = 39] = "DIRECTIVE_NAME", e[e.DIRECTIVE_OPEN = 40] = "DIRECTIVE_OPEN", e[e.DIRECTIVE_CLOSE = 41] = "DIRECTIVE_CLOSE", e[e.EOF = 42] = "EOF", e;
1518
- }({}), Ns = class {
1397
+ })({}), vs = class {
1519
1398
  constructor(e, t, r) {
1520
1399
  this.tokens = e, this.errors = t, this.nonNormalizedIcuExpressions = r;
1521
1400
  }
1522
1401
  };
1523
- function Bs(e, t, r, n = {}) {
1524
- let a = new Ps(new sn(e, t), r, n);
1525
- return a.tokenize(), new Ns(Us(a.tokens), a.errors, a.nonNormalizedIcuExpressions);
1402
+ function Ss(e, t, r, n = {}) {
1403
+ let a = new bs(new Gr(e, t), r, n);
1404
+ return a.tokenize(), new vs(Ls(a.tokens), a.errors, a.nonNormalizedIcuExpressions);
1526
1405
  }
1527
- var Ls = /\r\n?/g;
1528
- function W(e) {
1406
+ var As = /\r\n?/g;
1407
+ function V(e) {
1529
1408
  return `Unexpected character "${e === 0 ? "EOF" : String.fromCharCode(e)}"`;
1530
1409
  }
1531
- function nr(e) {
1410
+ function Gt(e) {
1532
1411
  return `Unknown entity "${e}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
1533
1412
  }
1534
- function Os(e, t) {
1413
+ function Ts(e, t) {
1535
1414
  return `Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`;
1536
1415
  }
1537
- var pt = function(e) {
1416
+ var at = (function(e) {
1538
1417
  return e.HEX = "hexadecimal", e.DEC = "decimal", e;
1539
- }(pt || {}), Fs = ["@if", "@else", "@for", "@switch", "@case", "@default", "@empty", "@defer", "@placeholder", "@loading", "@error"], pe = { start: "{{", end: "}}" }, Ps = class {
1418
+ })(at || {}), ks = ["@if", "@else", "@for", "@switch", "@case", "@default", "@empty", "@defer", "@placeholder", "@loading", "@error"], pe = { start: "{{", end: "}}" }, bs = class {
1540
1419
  constructor(e, t, r) {
1541
1420
  this._getTagContentType = t, this._currentTokenStart = null, this._currentTokenType = null, this._expansionCaseStack = [], this._openDirectiveCount = 0, this._inInterpolation = !1, this._fullNameStack = [], this.tokens = [], this.errors = [], this.nonNormalizedIcuExpressions = [], this._tokenizeIcu = r.tokenizeExpansionForms || !1, this._leadingTriviaCodePoints = r.leadingTriviaChars && r.leadingTriviaChars.map((a) => a.codePointAt(0) || 0), this._canSelfClose = r.canSelfClose || !1, this._allowHtmComponentClosingTags = r.allowHtmComponentClosingTags || !1;
1542
1421
  let n = r.range || { endPos: e.content.length, startPos: 0, startLine: 0, startCol: 0 };
1543
- this._cursor = r.escapedString ? new Ws(e, n) : new un(e, n), this._preserveLineEndings = r.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs = r.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = r.tokenizeBlocks ?? !0, this._tokenizeLet = r.tokenizeLet ?? !0, this._selectorlessEnabled = r.selectorlessEnabled ?? !1;
1422
+ this._cursor = r.escapedString ? new Os(e, n) : new Yr(e, n), this._preserveLineEndings = r.preserveLineEndings || !1, this._i18nNormalizeLineEndingsInICUs = r.i18nNormalizeLineEndingsInICUs || !1, this._tokenizeBlocks = r.tokenizeBlocks ?? !0, this._tokenizeLet = r.tokenizeLet ?? !0, this._selectorlessEnabled = r.selectorlessEnabled ?? !1;
1544
1423
  try {
1545
1424
  this._cursor.init();
1546
1425
  } catch (a) {
@@ -1548,24 +1427,20 @@ var pt = function(e) {
1548
1427
  }
1549
1428
  }
1550
1429
  _processCarriageReturns(e) {
1551
- return this._preserveLineEndings ? e : e.replace(Ls, `
1430
+ return this._preserveLineEndings ? e : e.replace(As, `
1552
1431
  `);
1553
1432
  }
1554
1433
  tokenize() {
1555
1434
  for (; this._cursor.peek() !== 0; ) {
1556
1435
  let e = this._cursor.clone();
1557
1436
  try {
1558
- if (this._attemptCharCode(60))
1559
- if (this._attemptCharCode(33))
1560
- this._attemptStr("[CDATA[") ? this._consumeCdata(e) : this._attemptStr("--") ? this._consumeComment(e) : this._attemptStrCaseInsensitive("doctype") ? this._consumeDocType(e) : this._consumeBogusComment(e);
1561
- else if (this._attemptCharCode(47))
1562
- this._consumeTagClose(e);
1563
- else {
1564
- let t = this._cursor.clone();
1565
- this._attemptCharCode(63) ? (this._cursor = t, this._consumeBogusComment(e)) : this._consumeTagOpen(e);
1566
- }
1567
- else
1568
- this._tokenizeLet && this._cursor.peek() === 64 && !this._inInterpolation && this._isLetStart() ? this._consumeLetDeclaration(e) : this._tokenizeBlocks && this._isBlockStart() ? this._consumeBlockStart(e) : this._tokenizeBlocks && !this._inInterpolation && !this._isInExpansionCase() && !this._isInExpansionForm() && this._attemptCharCode(125) ? this._consumeBlockEnd(e) : this._tokenizeIcu && this._tokenizeExpansionForm() || this._consumeWithInterpolation(u.TEXT, u.INTERPOLATION, () => this._isTextEnd(), () => this._isTagStart());
1437
+ 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);
1438
+ else if (this._attemptCharCode(47)) this._consumeTagClose(e);
1439
+ else {
1440
+ let t = this._cursor.clone();
1441
+ this._attemptCharCode(63) ? (this._cursor = t, this._consumeBogusComment(e)) : this._consumeTagOpen(e);
1442
+ }
1443
+ else this._tokenizeLet && this._cursor.peek() === 64 && !this._inInterpolation && this._isLetStart() ? this._consumeLetDeclaration(e) : this._tokenizeBlocks && this._isBlockStart() ? this._consumeBlockStart(e) : this._tokenizeBlocks && !this._inInterpolation && !this._isInExpansionCase() && !this._isInExpansionForm() && this._attemptCharCode(125) ? this._consumeBlockEnd(e) : this._tokenizeIcu && this._tokenizeExpansionForm() || this._consumeWithInterpolation(u.TEXT, u.INTERPOLATION, () => this._isTextEnd(), () => this._isTagStart());
1569
1444
  } catch (t) {
1570
1445
  this.handleError(t);
1571
1446
  }
@@ -1574,86 +1449,73 @@ var pt = function(e) {
1574
1449
  }
1575
1450
  _getBlockName() {
1576
1451
  let e = !1, t = this._cursor.clone();
1577
- return this._attemptCharCodeUntilFn((r) => qe(r) ? !e : Vs(r) ? (e = !0, !1) : !0), this._cursor.getChars(t).trim();
1452
+ return this._attemptCharCodeUntilFn((r) => Re(r) ? !e : Bs(r) ? (e = !0, !1) : !0), this._cursor.getChars(t).trim();
1578
1453
  }
1579
1454
  _consumeBlockStart(e) {
1580
1455
  this._requireCharCode(64), this._beginToken(u.BLOCK_OPEN_START, e);
1581
1456
  let t = this._endToken([this._getBlockName()]);
1582
- if (this._cursor.peek() === 40)
1583
- if (this._cursor.advance(), this._consumeBlockParameters(), this._attemptCharCodeUntilFn(v), this._attemptCharCode(41))
1584
- this._attemptCharCodeUntilFn(v);
1585
- else {
1586
- t.type = u.INCOMPLETE_BLOCK_OPEN;
1587
- return;
1588
- }
1589
- this._attemptCharCode(123) ? (this._beginToken(u.BLOCK_OPEN_END), this._endToken([])) : t.type = u.INCOMPLETE_BLOCK_OPEN;
1457
+ if (this._cursor.peek() === 40) if (this._cursor.advance(), this._consumeBlockParameters(), this._attemptCharCodeUntilFn(_), this._attemptCharCode(41)) this._attemptCharCodeUntilFn(_);
1458
+ else {
1459
+ t.type = u.INCOMPLETE_BLOCK_OPEN;
1460
+ return;
1461
+ }
1462
+ this._attemptCharCode(123) ? (this._beginToken(u.BLOCK_OPEN_END), this._endToken([])) : this._isBlockStart() && (t.parts[0] === "case" || t.parts[0] === "default") ? (this._beginToken(u.BLOCK_OPEN_END), this._endToken([]), this._beginToken(u.BLOCK_CLOSE), this._endToken([])) : t.type = u.INCOMPLETE_BLOCK_OPEN;
1590
1463
  }
1591
1464
  _consumeBlockEnd(e) {
1592
1465
  this._beginToken(u.BLOCK_CLOSE, e), this._endToken([]);
1593
1466
  }
1594
1467
  _consumeBlockParameters() {
1595
- for (this._attemptCharCodeUntilFn(ir); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
1468
+ for (this._attemptCharCodeUntilFn(Yt); this._cursor.peek() !== 41 && this._cursor.peek() !== 0; ) {
1596
1469
  this._beginToken(u.BLOCK_PARAMETER);
1597
1470
  let e = this._cursor.clone(), t = null, r = 0;
1598
1471
  for (; this._cursor.peek() !== 59 && this._cursor.peek() !== 0 || t !== null; ) {
1599
1472
  let n = this._cursor.peek();
1600
- if (n === 92)
1601
- this._cursor.advance();
1602
- else if (n === t)
1603
- t = null;
1604
- else if (t === null && at(n))
1605
- t = n;
1606
- else if (n === 40 && t === null)
1607
- r++;
1473
+ if (n === 92) this._cursor.advance();
1474
+ else if (n === t) t = null;
1475
+ else if (t === null && Je(n)) t = n;
1476
+ else if (n === 40 && t === null) r++;
1608
1477
  else if (n === 41 && t === null) {
1609
- if (r === 0)
1610
- break;
1478
+ if (r === 0) break;
1611
1479
  r > 0 && r--;
1612
1480
  }
1613
1481
  this._cursor.advance();
1614
1482
  }
1615
- this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(ir);
1483
+ this._endToken([this._cursor.getChars(e)]), this._attemptCharCodeUntilFn(Yt);
1616
1484
  }
1617
1485
  }
1618
1486
  _consumeLetDeclaration(e) {
1619
- if (this._requireStr("@let"), this._beginToken(u.LET_START, e), qe(this._cursor.peek()))
1620
- this._attemptCharCodeUntilFn(v);
1487
+ if (this._requireStr("@let"), this._beginToken(u.LET_START, e), Re(this._cursor.peek())) this._attemptCharCodeUntilFn(_);
1621
1488
  else {
1622
1489
  let r = this._endToken([this._cursor.getChars(e)]);
1623
1490
  r.type = u.INCOMPLETE_LET;
1624
1491
  return;
1625
1492
  }
1626
1493
  let t = this._endToken([this._getLetDeclarationName()]);
1627
- if (this._attemptCharCodeUntilFn(v), !this._attemptCharCode(61)) {
1494
+ if (this._attemptCharCodeUntilFn(_), !this._attemptCharCode(61)) {
1628
1495
  t.type = u.INCOMPLETE_LET;
1629
1496
  return;
1630
1497
  }
1631
- this._attemptCharCodeUntilFn((r) => v(r) && !He(r)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(u.LET_END), this._endToken([]), this._cursor.advance()) : (t.type = u.INCOMPLETE_LET, t.sourceSpan = this._cursor.getSpan(e));
1498
+ this._attemptCharCodeUntilFn((r) => _(r) && !Me(r)), this._consumeLetDeclarationValue(), this._cursor.peek() === 59 ? (this._beginToken(u.LET_END), this._endToken([]), this._cursor.advance()) : (t.type = u.INCOMPLETE_LET, t.sourceSpan = this._cursor.getSpan(e));
1632
1499
  }
1633
1500
  _getLetDeclarationName() {
1634
1501
  let e = this._cursor.clone(), t = !1;
1635
- return this._attemptCharCodeUntilFn((r) => Ee(r) || r === 36 || r === 95 || t && Ke(r) ? (t = !0, !1) : !0), this._cursor.getChars(e).trim();
1502
+ return this._attemptCharCodeUntilFn((r) => Ee(r) || r === 36 || r === 95 || t && je(r) ? (t = !0, !1) : !0), this._cursor.getChars(e).trim();
1636
1503
  }
1637
1504
  _consumeLetDeclarationValue() {
1638
1505
  let e = this._cursor.clone();
1639
1506
  for (this._beginToken(u.LET_VALUE, e); this._cursor.peek() !== 0; ) {
1640
1507
  let t = this._cursor.peek();
1641
- if (t === 59)
1642
- break;
1643
- at(t) && (this._cursor.advance(), this._attemptCharCodeUntilFn((r) => r === 92 ? (this._cursor.advance(), !1) : r === t)), this._cursor.advance();
1508
+ if (t === 59) break;
1509
+ Je(t) && (this._cursor.advance(), this._attemptCharCodeUntilFn((r) => r === 92 ? (this._cursor.advance(), !1) : r === t)), this._cursor.advance();
1644
1510
  }
1645
1511
  this._endToken([this._cursor.getChars(e)]);
1646
1512
  }
1647
1513
  _tokenizeExpansionForm() {
1648
- if (this.isExpansionFormStart())
1649
- return this._consumeExpansionFormStart(), !0;
1650
- if (qs(this._cursor.peek()) && this._isInExpansionForm())
1651
- return this._consumeExpansionCaseStart(), !0;
1514
+ if (this.isExpansionFormStart()) return this._consumeExpansionFormStart(), !0;
1515
+ if (xs(this._cursor.peek()) && this._isInExpansionForm()) return this._consumeExpansionCaseStart(), !0;
1652
1516
  if (this._cursor.peek() === 125) {
1653
- if (this._isInExpansionCase())
1654
- return this._consumeExpansionCaseEnd(), !0;
1655
- if (this._isInExpansionForm())
1656
- return this._consumeExpansionFormEnd(), !0;
1517
+ if (this._isInExpansionCase()) return this._consumeExpansionCaseEnd(), !0;
1518
+ if (this._isInExpansionForm()) return this._consumeExpansionFormEnd(), !0;
1657
1519
  }
1658
1520
  return !1;
1659
1521
  }
@@ -1661,73 +1523,58 @@ var pt = function(e) {
1661
1523
  this._currentTokenStart = t, this._currentTokenType = e;
1662
1524
  }
1663
1525
  _endToken(e, t) {
1664
- if (this._currentTokenStart === null)
1665
- throw new J(this._cursor.getSpan(t), "Programming error - attempted to end a token when there was no start to the token");
1666
- if (this._currentTokenType === null)
1667
- throw new J(this._cursor.getSpan(this._currentTokenStart), "Programming error - attempted to end a token which has no token type");
1526
+ if (this._currentTokenStart === null) throw new Y(this._cursor.getSpan(t), "Programming error - attempted to end a token when there was no start to the token");
1527
+ if (this._currentTokenType === null) throw new Y(this._cursor.getSpan(this._currentTokenStart), "Programming error - attempted to end a token which has no token type");
1668
1528
  let r = { type: this._currentTokenType, parts: e, sourceSpan: (t ?? this._cursor).getSpan(this._currentTokenStart, this._leadingTriviaCodePoints) };
1669
1529
  return this.tokens.push(r), this._currentTokenStart = null, this._currentTokenType = null, r;
1670
1530
  }
1671
1531
  _createError(e, t) {
1672
1532
  this._isInExpansionForm() && (e += ` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);
1673
- let r = new J(t, e);
1533
+ let r = new Y(t, e);
1674
1534
  return this._currentTokenStart = null, this._currentTokenType = null, r;
1675
1535
  }
1676
1536
  handleError(e) {
1677
- if (e instanceof Ft && (e = this._createError(e.msg, this._cursor.getSpan(e.cursor))), e instanceof J)
1678
- this.errors.push(e);
1679
- else
1680
- throw e;
1537
+ if (e instanceof yt && (e = this._createError(e.msg, this._cursor.getSpan(e.cursor))), e instanceof Y) this.errors.push(e);
1538
+ else throw e;
1681
1539
  }
1682
1540
  _attemptCharCode(e) {
1683
1541
  return this._cursor.peek() === e ? (this._cursor.advance(), !0) : !1;
1684
1542
  }
1685
1543
  _attemptCharCodeCaseInsensitive(e) {
1686
- return Hs(this._cursor.peek(), e) ? (this._cursor.advance(), !0) : !1;
1544
+ return Ns(this._cursor.peek(), e) ? (this._cursor.advance(), !0) : !1;
1687
1545
  }
1688
1546
  _requireCharCode(e) {
1689
1547
  let t = this._cursor.clone();
1690
- if (!this._attemptCharCode(e))
1691
- throw this._createError(W(this._cursor.peek()), this._cursor.getSpan(t));
1548
+ if (!this._attemptCharCode(e)) throw this._createError(V(this._cursor.peek()), this._cursor.getSpan(t));
1692
1549
  }
1693
1550
  _attemptStr(e) {
1694
1551
  let t = e.length;
1695
- if (this._cursor.charsLeft() < t)
1696
- return !1;
1552
+ if (this._cursor.charsLeft() < t) return !1;
1697
1553
  let r = this._cursor.clone();
1698
- for (let n = 0; n < t; n++)
1699
- if (!this._attemptCharCode(e.charCodeAt(n)))
1700
- return this._cursor = r, !1;
1554
+ for (let n = 0; n < t; n++) if (!this._attemptCharCode(e.charCodeAt(n))) return this._cursor = r, !1;
1701
1555
  return !0;
1702
1556
  }
1703
1557
  _attemptStrCaseInsensitive(e) {
1704
- for (let t = 0; t < e.length; t++)
1705
- if (!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t)))
1706
- return !1;
1558
+ for (let t = 0; t < e.length; t++) if (!this._attemptCharCodeCaseInsensitive(e.charCodeAt(t))) return !1;
1707
1559
  return !0;
1708
1560
  }
1709
1561
  _requireStr(e) {
1710
1562
  let t = this._cursor.clone();
1711
- if (!this._attemptStr(e))
1712
- throw this._createError(W(this._cursor.peek()), this._cursor.getSpan(t));
1563
+ if (!this._attemptStr(e)) throw this._createError(V(this._cursor.peek()), this._cursor.getSpan(t));
1713
1564
  }
1714
1565
  _requireStrCaseInsensitive(e) {
1715
1566
  let t = this._cursor.clone();
1716
- if (!this._attemptStrCaseInsensitive(e))
1717
- throw this._createError(W(this._cursor.peek()), this._cursor.getSpan(t));
1567
+ if (!this._attemptStrCaseInsensitive(e)) throw this._createError(V(this._cursor.peek()), this._cursor.getSpan(t));
1718
1568
  }
1719
1569
  _attemptCharCodeUntilFn(e) {
1720
- for (; !e(this._cursor.peek()); )
1721
- this._cursor.advance();
1570
+ for (; !e(this._cursor.peek()); ) this._cursor.advance();
1722
1571
  }
1723
1572
  _requireCharCodeUntilFn(e, t) {
1724
1573
  let r = this._cursor.clone();
1725
- if (this._attemptCharCodeUntilFn(e), this._cursor.diff(r) < t)
1726
- throw this._createError(W(this._cursor.peek()), this._cursor.getSpan(r));
1574
+ if (this._attemptCharCodeUntilFn(e), this._cursor.diff(r) < t) throw this._createError(V(this._cursor.peek()), this._cursor.getSpan(r));
1727
1575
  }
1728
1576
  _attemptUntilChar(e) {
1729
- for (; this._cursor.peek() !== e; )
1730
- this._cursor.advance();
1577
+ for (; this._cursor.peek() !== e; ) this._cursor.advance();
1731
1578
  }
1732
1579
  _readChar() {
1733
1580
  let e = String.fromCodePoint(this._cursor.peek());
@@ -1735,18 +1582,16 @@ var pt = function(e) {
1735
1582
  }
1736
1583
  _peekStr(e) {
1737
1584
  let t = e.length;
1738
- if (this._cursor.charsLeft() < t)
1739
- return !1;
1585
+ if (this._cursor.charsLeft() < t) return !1;
1740
1586
  let r = this._cursor.clone();
1741
1587
  for (let n = 0; n < t; n++) {
1742
- if (r.peek() !== e.charCodeAt(n))
1743
- return !1;
1588
+ if (r.peek() !== e.charCodeAt(n)) return !1;
1744
1589
  r.advance();
1745
1590
  }
1746
1591
  return !0;
1747
1592
  }
1748
1593
  _isBlockStart() {
1749
- return this._cursor.peek() === 64 && Fs.some((e) => this._peekStr(e));
1594
+ return this._cursor.peek() === 64 && ks.some((e) => this._peekStr(e));
1750
1595
  }
1751
1596
  _isLetStart() {
1752
1597
  return this._cursor.peek() === 64 && this._peekStr("@let");
@@ -1756,10 +1601,10 @@ var pt = function(e) {
1756
1601
  let t = this._cursor.clone();
1757
1602
  if (this._cursor.advance(), this._attemptCharCode(35)) {
1758
1603
  let r = this._attemptCharCode(120) || this._attemptCharCode(88), n = this._cursor.clone();
1759
- if (this._attemptCharCodeUntilFn(Rs), this._cursor.peek() != 59) {
1604
+ if (this._attemptCharCodeUntilFn(ys), this._cursor.peek() != 59) {
1760
1605
  this._cursor.advance();
1761
- let i = r ? pt.HEX : pt.DEC;
1762
- throw this._createError(Os(i, this._cursor.getChars(t)), this._cursor.getSpan());
1606
+ let i = r ? at.HEX : at.DEC;
1607
+ throw this._createError(Ts(i, this._cursor.getChars(t)), this._cursor.getSpan());
1763
1608
  }
1764
1609
  let a = this._cursor.getChars(n);
1765
1610
  this._cursor.advance();
@@ -1767,18 +1612,16 @@ var pt = function(e) {
1767
1612
  let i = parseInt(a, r ? 16 : 10);
1768
1613
  this._endToken([String.fromCodePoint(i), this._cursor.getChars(t)]);
1769
1614
  } catch {
1770
- throw this._createError(nr(this._cursor.getChars(t)), this._cursor.getSpan());
1615
+ throw this._createError(Gt(this._cursor.getChars(t)), this._cursor.getSpan());
1771
1616
  }
1772
1617
  } else {
1773
1618
  let r = this._cursor.clone();
1774
- if (this._attemptCharCodeUntilFn(Ms), this._cursor.peek() != 59)
1775
- this._beginToken(e, t), this._cursor = r, this._endToken(["&"]);
1619
+ if (this._attemptCharCodeUntilFn(Ds), this._cursor.peek() != 59) this._beginToken(e, t), this._cursor = r, this._endToken(["&"]);
1776
1620
  else {
1777
1621
  let n = this._cursor.getChars(r);
1778
1622
  this._cursor.advance();
1779
- let a = Se.hasOwnProperty(n) && Se[n];
1780
- if (!a)
1781
- throw this._createError(nr(n), this._cursor.getSpan(t));
1623
+ let a = ve.hasOwnProperty(n) && ve[n];
1624
+ if (!a) throw this._createError(Gt(n), this._cursor.getSpan(t));
1782
1625
  this._endToken([a, `&${n};`]);
1783
1626
  }
1784
1627
  }
@@ -1788,8 +1631,7 @@ var pt = function(e) {
1788
1631
  let r = [];
1789
1632
  for (; ; ) {
1790
1633
  let n = this._cursor.clone(), a = t();
1791
- if (this._cursor = n, a)
1792
- break;
1634
+ if (this._cursor = n, a) break;
1793
1635
  e && this._cursor.peek() === 38 ? (this._endToken([this._processCarriageReturns(r.join(""))]), r.length = 0, this._consumeEntity(u.ESCAPABLE_RAW_TEXT), this._beginToken(u.ESCAPABLE_RAW_TEXT)) : r.push(this._readChar());
1794
1636
  }
1795
1637
  this._endToken([this._processCarriageReturns(r.join(""))]);
@@ -1808,8 +1650,7 @@ var pt = function(e) {
1808
1650
  }
1809
1651
  _consumePrefixAndName(e) {
1810
1652
  let t = this._cursor.clone(), r = "";
1811
- for (; this._cursor.peek() !== 58 && !Is(this._cursor.peek()); )
1812
- this._cursor.advance();
1653
+ for (; this._cursor.peek() !== 58 && !ws(this._cursor.peek()); ) this._cursor.advance();
1813
1654
  let n;
1814
1655
  this._cursor.peek() === 58 ? (r = this._cursor.getChars(t), this._cursor.advance(), n = this._cursor.clone()) : n = t, this._requireCharCodeUntilFn(e, r === "" ? 0 : 1);
1815
1656
  let a = this._cursor.getChars(n);
@@ -1818,40 +1659,36 @@ var pt = function(e) {
1818
1659
  _consumeTagOpen(e) {
1819
1660
  let t, r, n, a, i = [];
1820
1661
  try {
1821
- if (this._selectorlessEnabled && Pe(this._cursor.peek()))
1822
- a = this._consumeComponentOpenStart(e), [n, r, t] = a.parts, r && (n += `:${r}`), t && (n += `:${t}`), this._attemptCharCodeUntilFn(v);
1662
+ if (this._selectorlessEnabled && Oe(this._cursor.peek())) a = this._consumeComponentOpenStart(e), [n, r, t] = a.parts, r && (n += `:${r}`), t && (n += `:${t}`), this._attemptCharCodeUntilFn(_);
1823
1663
  else {
1824
- if (!Ee(this._cursor.peek()))
1825
- throw this._createError(W(this._cursor.peek()), this._cursor.getSpan(e));
1826
- a = this._consumeTagOpenStart(e), r = a.parts[0], t = n = a.parts[1], this._attemptCharCodeUntilFn(v);
1664
+ if (!Ee(this._cursor.peek())) throw this._createError(V(this._cursor.peek()), this._cursor.getSpan(e));
1665
+ a = this._consumeTagOpenStart(e), r = a.parts[0], t = n = a.parts[1], this._attemptCharCodeUntilFn(_);
1666
+ }
1667
+ for (; !Qt(this._cursor.peek()); ) if (this._selectorlessEnabled && this._cursor.peek() === 64) {
1668
+ let o = this._cursor.clone(), l = o.clone();
1669
+ l.advance(), Oe(l.peek()) && this._consumeDirective(o, l);
1670
+ } else {
1671
+ let o = this._consumeAttribute();
1672
+ i.push(o);
1827
1673
  }
1828
- for (; !or(this._cursor.peek()); )
1829
- if (this._selectorlessEnabled && this._cursor.peek() === 64) {
1830
- let o = this._cursor.clone(), l = o.clone();
1831
- l.advance(), Pe(l.peek()) && this._consumeDirective(o, l);
1832
- } else {
1833
- let o = this._consumeAttribute();
1834
- i.push(o);
1835
- }
1836
1674
  a.type === u.COMPONENT_OPEN_START ? this._consumeComponentOpenEnd() : this._consumeTagOpenEnd();
1837
1675
  } catch (o) {
1838
- if (o instanceof J) {
1676
+ if (o instanceof Y) {
1839
1677
  a ? a.type = a.type === u.COMPONENT_OPEN_START ? u.INCOMPLETE_COMPONENT_OPEN : u.INCOMPLETE_TAG_OPEN : (this._beginToken(u.TEXT, e), this._endToken(["<"]));
1840
1678
  return;
1841
1679
  }
1842
1680
  throw o;
1843
1681
  }
1844
- if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === u.TAG_OPEN_END_VOID)
1845
- return;
1682
+ if (this._canSelfClose && this.tokens[this.tokens.length - 1].type === u.TAG_OPEN_END_VOID) return;
1846
1683
  let s = this._getTagContentType(t, r, this._fullNameStack.length > 0, i);
1847
- this._handleFullNameStackForTagOpen(r, t), s === R.RAW_TEXT ? this._consumeRawTextWithTagClose(r, a, n, !1) : s === R.ESCAPABLE_RAW_TEXT && this._consumeRawTextWithTagClose(r, a, n, !0);
1684
+ this._handleFullNameStackForTagOpen(r, t), s === P.RAW_TEXT ? this._consumeRawTextWithTagClose(r, a, n, !1) : s === P.ESCAPABLE_RAW_TEXT && this._consumeRawTextWithTagClose(r, a, n, !0);
1848
1685
  }
1849
1686
  _consumeRawTextWithTagClose(e, t, r, n) {
1850
- this._consumeRawText(n, () => !this._attemptCharCode(60) || !this._attemptCharCode(47) || (this._attemptCharCodeUntilFn(v), !this._attemptStrCaseInsensitive(e && t.type !== u.COMPONENT_OPEN_START ? `${e}:${r}` : r)) ? !1 : (this._attemptCharCodeUntilFn(v), this._attemptCharCode(62))), this._beginToken(t.type === u.COMPONENT_OPEN_START ? u.COMPONENT_CLOSE : u.TAG_CLOSE), this._requireCharCodeUntilFn((a) => a === 62, 3), this._cursor.advance(), this._endToken(t.parts), this._handleFullNameStackForTagClose(e, r);
1687
+ this._consumeRawText(n, () => !this._attemptCharCode(60) || !this._attemptCharCode(47) || (this._attemptCharCodeUntilFn(_), !this._attemptStrCaseInsensitive(e && t.type !== u.COMPONENT_OPEN_START ? `${e}:${r}` : r)) ? !1 : (this._attemptCharCodeUntilFn(_), this._attemptCharCode(62))), this._beginToken(t.type === u.COMPONENT_OPEN_START ? u.COMPONENT_CLOSE : u.TAG_CLOSE), this._requireCharCodeUntilFn((a) => a === 62, 3), this._cursor.advance(), this._endToken(t.parts), this._handleFullNameStackForTagClose(e, r);
1851
1688
  }
1852
1689
  _consumeTagOpenStart(e) {
1853
1690
  this._beginToken(u.TAG_OPEN_START, e);
1854
- let t = this._consumePrefixAndName(z);
1691
+ let t = this._consumePrefixAndName(U);
1855
1692
  return this._endToken(t);
1856
1693
  }
1857
1694
  _consumeComponentOpenStart(e) {
@@ -1861,40 +1698,35 @@ var pt = function(e) {
1861
1698
  }
1862
1699
  _consumeComponentName() {
1863
1700
  let e = this._cursor.clone();
1864
- for (; sr(this._cursor.peek()); )
1865
- this._cursor.advance();
1701
+ for (; Jt(this._cursor.peek()); ) this._cursor.advance();
1866
1702
  let t = this._cursor.getChars(e), r = "", n = "";
1867
- return this._cursor.peek() === 58 && (this._cursor.advance(), [r, n] = this._consumePrefixAndName(z)), [t, r, n];
1703
+ return this._cursor.peek() === 58 && (this._cursor.advance(), [r, n] = this._consumePrefixAndName(U)), [t, r, n];
1868
1704
  }
1869
1705
  _consumeAttribute() {
1870
1706
  let [e, t] = this._consumeAttributeName(), r;
1871
- return this._attemptCharCodeUntilFn(v), this._attemptCharCode(61) && (this._attemptCharCodeUntilFn(v), r = this._consumeAttributeValue()), this._attemptCharCodeUntilFn(v), { prefix: e, name: t, value: r };
1707
+ return this._attemptCharCodeUntilFn(_), this._attemptCharCode(61) && (this._attemptCharCodeUntilFn(_), r = this._consumeAttributeValue()), this._attemptCharCodeUntilFn(_), { prefix: e, name: t, value: r };
1872
1708
  }
1873
1709
  _consumeAttributeName() {
1874
1710
  let e = this._cursor.peek();
1875
- if (e === 39 || e === 34)
1876
- throw this._createError(W(e), this._cursor.getSpan());
1711
+ if (e === 39 || e === 34) throw this._createError(V(e), this._cursor.getSpan());
1877
1712
  this._beginToken(u.ATTR_NAME);
1878
1713
  let t;
1879
1714
  if (this._openDirectiveCount > 0) {
1880
1715
  let n = 0;
1881
1716
  t = (a) => {
1882
1717
  if (this._openDirectiveCount > 0) {
1883
- if (a === 40)
1884
- n++;
1718
+ if (a === 40) n++;
1885
1719
  else if (a === 41) {
1886
- if (n === 0)
1887
- return !0;
1720
+ if (n === 0) return !0;
1888
1721
  n--;
1889
1722
  }
1890
1723
  }
1891
- return z(a);
1724
+ return U(a);
1892
1725
  };
1893
1726
  } else if (e === 91) {
1894
1727
  let n = 0;
1895
- t = (a) => (a === 91 ? n++ : a === 93 && n--, n <= 0 ? z(a) : He(a));
1896
- } else
1897
- t = z;
1728
+ t = (a) => (a === 91 ? n++ : a === 93 && n--, n <= 0 ? U(a) : Me(a));
1729
+ } else t = U;
1898
1730
  let r = this._consumePrefixAndName(t);
1899
1731
  return this._endToken(r), r;
1900
1732
  }
@@ -1906,7 +1738,7 @@ var pt = function(e) {
1906
1738
  let r = () => this._cursor.peek() === t;
1907
1739
  e = this._consumeWithInterpolation(u.ATTR_VALUE_TEXT, u.ATTR_VALUE_INTERPOLATION, r, r), this._consumeQuote(t);
1908
1740
  } else {
1909
- let t = () => z(this._cursor.peek());
1741
+ let t = () => U(this._cursor.peek());
1910
1742
  e = this._consumeWithInterpolation(u.ATTR_VALUE_TEXT, u.ATTR_VALUE_INTERPOLATION, t, t);
1911
1743
  }
1912
1744
  return e;
@@ -1925,42 +1757,39 @@ var pt = function(e) {
1925
1757
  _consumeTagClose(e) {
1926
1758
  if (this._selectorlessEnabled) {
1927
1759
  let t = e.clone();
1928
- for (; t.peek() !== 62 && !Pe(t.peek()); )
1929
- t.advance();
1930
- if (Pe(t.peek())) {
1760
+ for (; t.peek() !== 62 && !Oe(t.peek()); ) t.advance();
1761
+ if (Oe(t.peek())) {
1931
1762
  this._beginToken(u.COMPONENT_CLOSE, e);
1932
1763
  let r = this._consumeComponentName();
1933
- this._attemptCharCodeUntilFn(v), this._requireCharCode(62), this._endToken(r);
1764
+ this._attemptCharCodeUntilFn(_), this._requireCharCode(62), this._endToken(r);
1934
1765
  return;
1935
1766
  }
1936
1767
  }
1937
- if (this._beginToken(u.TAG_CLOSE, e), this._attemptCharCodeUntilFn(v), this._allowHtmComponentClosingTags && this._attemptCharCode(47))
1938
- this._attemptCharCodeUntilFn(v), this._requireCharCode(62), this._endToken([]);
1768
+ if (this._beginToken(u.TAG_CLOSE, e), this._attemptCharCodeUntilFn(_), this._allowHtmComponentClosingTags && this._attemptCharCode(47)) this._attemptCharCodeUntilFn(_), this._requireCharCode(62), this._endToken([]);
1939
1769
  else {
1940
- let [t, r] = this._consumePrefixAndName(z);
1941
- this._attemptCharCodeUntilFn(v), this._requireCharCode(62), this._endToken([t, r]), this._handleFullNameStackForTagClose(t, r);
1770
+ let [t, r] = this._consumePrefixAndName(U);
1771
+ this._attemptCharCodeUntilFn(_), this._requireCharCode(62), this._endToken([t, r]), this._handleFullNameStackForTagClose(t, r);
1942
1772
  }
1943
1773
  }
1944
1774
  _consumeExpansionFormStart() {
1945
1775
  this._beginToken(u.EXPANSION_FORM_START), this._requireCharCode(123), this._endToken([]), this._expansionCaseStack.push(u.EXPANSION_FORM_START), this._beginToken(u.RAW_TEXT);
1946
1776
  let e = this._readUntil(44), t = this._processCarriageReturns(e);
1947
- if (this._i18nNormalizeLineEndingsInICUs)
1948
- this._endToken([t]);
1777
+ if (this._i18nNormalizeLineEndingsInICUs) this._endToken([t]);
1949
1778
  else {
1950
1779
  let n = this._endToken([e]);
1951
1780
  t !== e && this.nonNormalizedIcuExpressions.push(n);
1952
1781
  }
1953
- this._requireCharCode(44), this._attemptCharCodeUntilFn(v), this._beginToken(u.RAW_TEXT);
1782
+ this._requireCharCode(44), this._attemptCharCodeUntilFn(_), this._beginToken(u.RAW_TEXT);
1954
1783
  let r = this._readUntil(44);
1955
- this._endToken([r]), this._requireCharCode(44), this._attemptCharCodeUntilFn(v);
1784
+ this._endToken([r]), this._requireCharCode(44), this._attemptCharCodeUntilFn(_);
1956
1785
  }
1957
1786
  _consumeExpansionCaseStart() {
1958
1787
  this._beginToken(u.EXPANSION_CASE_VALUE);
1959
1788
  let e = this._readUntil(123).trim();
1960
- this._endToken([e]), this._attemptCharCodeUntilFn(v), this._beginToken(u.EXPANSION_CASE_EXP_START), this._requireCharCode(123), this._endToken([]), this._attemptCharCodeUntilFn(v), this._expansionCaseStack.push(u.EXPANSION_CASE_EXP_START);
1789
+ this._endToken([e]), this._attemptCharCodeUntilFn(_), this._beginToken(u.EXPANSION_CASE_EXP_START), this._requireCharCode(123), this._endToken([]), this._attemptCharCodeUntilFn(_), this._expansionCaseStack.push(u.EXPANSION_CASE_EXP_START);
1961
1790
  }
1962
1791
  _consumeExpansionCaseEnd() {
1963
- this._beginToken(u.EXPANSION_CASE_EXP_END), this._requireCharCode(125), this._endToken([]), this._attemptCharCodeUntilFn(v), this._expansionCaseStack.pop();
1792
+ this._beginToken(u.EXPANSION_CASE_EXP_END), this._requireCharCode(125), this._endToken([]), this._attemptCharCodeUntilFn(_), this._expansionCaseStack.pop();
1964
1793
  }
1965
1794
  _consumeExpansionFormEnd() {
1966
1795
  this._beginToken(u.EXPANSION_FORM_END), this._requireCharCode(125), this._endToken([]), this._expansionCaseStack.pop();
@@ -1986,31 +1815,26 @@ var pt = function(e) {
1986
1815
  this._cursor = o, n.push(this._getProcessedChars(a, o)), this._endToken(n);
1987
1816
  return;
1988
1817
  }
1989
- if (i === null)
1990
- if (this._attemptStr(pe.end)) {
1991
- n.push(this._getProcessedChars(a, o)), n.push(pe.end), this._endToken(n);
1992
- return;
1993
- } else
1994
- this._attemptStr("//") && (s = !0);
1818
+ if (i === null) if (this._attemptStr(pe.end)) {
1819
+ n.push(this._getProcessedChars(a, o)), n.push(pe.end), this._endToken(n);
1820
+ return;
1821
+ } else this._attemptStr("//") && (s = !0);
1995
1822
  let l = this._cursor.peek();
1996
- this._cursor.advance(), l === 92 ? this._cursor.advance() : l === i ? i = null : !s && i === null && at(l) && (i = l);
1823
+ this._cursor.advance(), l === 92 ? this._cursor.advance() : l === i ? i = null : !s && i === null && Je(l) && (i = l);
1997
1824
  }
1998
1825
  n.push(this._getProcessedChars(a, this._cursor)), this._endToken(n);
1999
1826
  }
2000
1827
  _consumeDirective(e, t) {
2001
- for (this._requireCharCode(64), this._cursor.advance(); sr(this._cursor.peek()); )
2002
- this._cursor.advance();
1828
+ for (this._requireCharCode(64), this._cursor.advance(); Jt(this._cursor.peek()); ) this._cursor.advance();
2003
1829
  this._beginToken(u.DIRECTIVE_NAME, e);
2004
1830
  let r = this._cursor.getChars(t);
2005
- if (this._endToken([r]), this._attemptCharCodeUntilFn(v), this._cursor.peek() === 40) {
2006
- for (this._openDirectiveCount++, this._beginToken(u.DIRECTIVE_OPEN), this._cursor.advance(), this._endToken([]), this._attemptCharCodeUntilFn(v); !or(this._cursor.peek()) && this._cursor.peek() !== 41; )
2007
- this._consumeAttribute();
2008
- if (this._attemptCharCodeUntilFn(v), this._openDirectiveCount--, this._cursor.peek() !== 41) {
2009
- if (this._cursor.peek() === 62 || this._cursor.peek() === 47)
2010
- return;
2011
- throw this._createError(W(this._cursor.peek()), this._cursor.getSpan(e));
1831
+ if (this._endToken([r]), this._attemptCharCodeUntilFn(_), this._cursor.peek() === 40) {
1832
+ for (this._openDirectiveCount++, this._beginToken(u.DIRECTIVE_OPEN), this._cursor.advance(), this._endToken([]), this._attemptCharCodeUntilFn(_); !Qt(this._cursor.peek()) && this._cursor.peek() !== 41; ) this._consumeAttribute();
1833
+ if (this._attemptCharCodeUntilFn(_), this._openDirectiveCount--, this._cursor.peek() !== 41) {
1834
+ if (this._cursor.peek() === 62 || this._cursor.peek() === 47) return;
1835
+ throw this._createError(V(this._cursor.peek()), this._cursor.getSpan(e));
2012
1836
  }
2013
- this._beginToken(u.DIRECTIVE_CLOSE), this._cursor.advance(), this._endToken([]), this._attemptCharCodeUntilFn(v);
1837
+ this._beginToken(u.DIRECTIVE_CLOSE), this._cursor.advance(), this._endToken([]), this._attemptCharCodeUntilFn(_);
2014
1838
  }
2015
1839
  }
2016
1840
  _getProcessedChars(e, t) {
@@ -2024,8 +1848,7 @@ var pt = function(e) {
2024
1848
  let e = this._cursor.clone();
2025
1849
  e.advance();
2026
1850
  let t = e.peek();
2027
- if (97 <= t && t <= 122 || 65 <= t && t <= 90 || t === 47 || t === 33)
2028
- return !0;
1851
+ if (97 <= t && t <= 122 || 65 <= t && t <= 90 || t === 47 || t === 33) return !0;
2029
1852
  }
2030
1853
  return !1;
2031
1854
  }
@@ -2043,60 +1866,59 @@ var pt = function(e) {
2043
1866
  return this._expansionCaseStack.length > 0 && this._expansionCaseStack[this._expansionCaseStack.length - 1] === u.EXPANSION_FORM_START;
2044
1867
  }
2045
1868
  isExpansionFormStart() {
2046
- if (this._cursor.peek() !== 123)
2047
- return !1;
1869
+ if (this._cursor.peek() !== 123) return !1;
2048
1870
  let e = this._cursor.clone(), t = this._attemptStr(pe.start);
2049
1871
  return this._cursor = e, !t;
2050
1872
  }
2051
1873
  _handleFullNameStackForTagOpen(e, t) {
2052
- let r = _e(e, t);
1874
+ let r = fe(e, t);
2053
1875
  (this._fullNameStack.length === 0 || this._fullNameStack[this._fullNameStack.length - 1] === r) && this._fullNameStack.push(r);
2054
1876
  }
2055
1877
  _handleFullNameStackForTagClose(e, t) {
2056
- let r = _e(e, t);
1878
+ let r = fe(e, t);
2057
1879
  this._fullNameStack.length !== 0 && this._fullNameStack[this._fullNameStack.length - 1] === r && this._fullNameStack.pop();
2058
1880
  }
2059
1881
  };
2060
- function v(e) {
2061
- return !qe(e) || e === 0;
1882
+ function _(e) {
1883
+ return !Re(e) || e === 0;
2062
1884
  }
2063
- function z(e) {
2064
- return qe(e) || e === 62 || e === 60 || e === 47 || e === 39 || e === 34 || e === 61 || e === 0;
1885
+ function U(e) {
1886
+ return Re(e) || e === 62 || e === 60 || e === 47 || e === 39 || e === 34 || e === 61 || e === 0;
2065
1887
  }
2066
- function Is(e) {
1888
+ function ws(e) {
2067
1889
  return (e < 97 || 122 < e) && (e < 65 || 90 < e) && (e < 48 || e > 57);
2068
1890
  }
2069
- function Rs(e) {
2070
- return e === 59 || e === 0 || !vs(e);
1891
+ function ys(e) {
1892
+ return e === 59 || e === 0 || !ls(e);
2071
1893
  }
2072
- function Ms(e) {
1894
+ function Ds(e) {
2073
1895
  return e === 59 || e === 0 || !Ee(e);
2074
1896
  }
2075
- function qs(e) {
1897
+ function xs(e) {
2076
1898
  return e !== 125;
2077
1899
  }
2078
- function Hs(e, t) {
2079
- return ar(e) === ar(t);
1900
+ function Ns(e, t) {
1901
+ return Kt(e) === Kt(t);
2080
1902
  }
2081
- function ar(e) {
1903
+ function Kt(e) {
2082
1904
  return e >= 97 && e <= 122 ? e - 97 + 65 : e;
2083
1905
  }
2084
- function Vs(e) {
2085
- return Ee(e) || Ke(e) || e === 95;
1906
+ function Bs(e) {
1907
+ return Ee(e) || je(e) || e === 95;
2086
1908
  }
2087
- function ir(e) {
2088
- return e !== 59 && v(e);
1909
+ function Yt(e) {
1910
+ return e !== 59 && _(e);
2089
1911
  }
2090
- function Pe(e) {
1912
+ function Oe(e) {
2091
1913
  return e === 95 || e >= 65 && e <= 90;
2092
1914
  }
2093
- function sr(e) {
2094
- return Ee(e) || Ke(e) || e === 95;
1915
+ function Jt(e) {
1916
+ return Ee(e) || je(e) || e === 95;
2095
1917
  }
2096
- function or(e) {
1918
+ function Qt(e) {
2097
1919
  return e === 47 || e === 62 || e === 60 || e === 0;
2098
1920
  }
2099
- function Us(e) {
1921
+ function Ls(e) {
2100
1922
  let t = [], r;
2101
1923
  for (let n = 0; n < e.length; n++) {
2102
1924
  let a = e[n];
@@ -2104,20 +1926,19 @@ function Us(e) {
2104
1926
  }
2105
1927
  return t;
2106
1928
  }
2107
- var un = class ht {
1929
+ var Yr = class it {
2108
1930
  constructor(t, r) {
2109
- if (t instanceof ht) {
1931
+ if (t instanceof it) {
2110
1932
  this.file = t.file, this.input = t.input, this.end = t.end;
2111
1933
  let n = t.state;
2112
1934
  this.state = { peek: n.peek, offset: n.offset, line: n.line, column: n.column };
2113
1935
  } else {
2114
- if (!r)
2115
- throw new Error("Programming error: the range argument must be provided with a file argument.");
1936
+ if (!r) throw new Error("Programming error: the range argument must be provided with a file argument.");
2116
1937
  this.file = t, this.input = t.content, this.end = r.endPos, this.state = { peek: -1, offset: r.startPos, line: r.startLine, column: r.startCol };
2117
1938
  }
2118
1939
  }
2119
1940
  clone() {
2120
- return new ht(this);
1941
+ return new it(this);
2121
1942
  }
2122
1943
  peek() {
2123
1944
  return this.state.peek;
@@ -2137,9 +1958,7 @@ var un = class ht {
2137
1958
  getSpan(t, r) {
2138
1959
  t = t || this;
2139
1960
  let n = t;
2140
- if (r)
2141
- for (; this.diff(t) > 0 && r.indexOf(t.peek()) !== -1; )
2142
- n === t && (t = t.clone()), t.advance();
1961
+ if (r) for (; this.diff(t) > 0 && r.indexOf(t.peek()) !== -1; ) n === t && (t = t.clone()), t.advance();
2143
1962
  let a = this.locationFromCursor(t);
2144
1963
  return new d(a, this.locationFromCursor(this), n !== t ? this.locationFromCursor(n) : a);
2145
1964
  }
@@ -2150,20 +1969,19 @@ var un = class ht {
2150
1969
  return this.input.charCodeAt(t);
2151
1970
  }
2152
1971
  advanceState(t) {
2153
- if (t.offset >= this.end)
2154
- throw this.state = t, new Ft('Unexpected character "EOF"', this);
1972
+ if (t.offset >= this.end) throw this.state = t, new yt('Unexpected character "EOF"', this);
2155
1973
  let r = this.charAt(t.offset);
2156
- r === 10 ? (t.line++, t.column = 0) : He(r) || t.column++, t.offset++, this.updatePeek(t);
1974
+ r === 10 ? (t.line++, t.column = 0) : Me(r) || t.column++, t.offset++, this.updatePeek(t);
2157
1975
  }
2158
1976
  updatePeek(t) {
2159
1977
  t.peek = t.offset >= this.end ? 0 : this.charAt(t.offset);
2160
1978
  }
2161
1979
  locationFromCursor(t) {
2162
- return new ct(t.file, t.state.offset, t.state.line, t.state.column);
1980
+ return new nt(t.file, t.state.offset, t.state.line, t.state.column);
2163
1981
  }
2164
- }, Ws = class dt extends un {
1982
+ }, Os = class st extends Yr {
2165
1983
  constructor(t, r) {
2166
- t instanceof dt ? (super(t), this.internalState = { ...t.internalState }) : (super(t, r), this.internalState = this.state);
1984
+ t instanceof st ? (super(t), this.internalState = { ...t.internalState }) : (super(t, r), this.internalState = this.state);
2167
1985
  }
2168
1986
  advance() {
2169
1987
  this.state = this.internalState, super.advance(), this.processEscapeSequence();
@@ -2172,93 +1990,78 @@ var un = class ht {
2172
1990
  super.init(), this.processEscapeSequence();
2173
1991
  }
2174
1992
  clone() {
2175
- return new dt(this);
1993
+ return new st(this);
2176
1994
  }
2177
1995
  getChars(t) {
2178
1996
  let r = t.clone(), n = "";
2179
- for (; r.internalState.offset < this.internalState.offset; )
2180
- n += String.fromCodePoint(r.peek()), r.advance();
1997
+ for (; r.internalState.offset < this.internalState.offset; ) n += String.fromCodePoint(r.peek()), r.advance();
2181
1998
  return n;
2182
1999
  }
2183
2000
  processEscapeSequence() {
2184
2001
  let t = () => this.internalState.peek;
2185
- if (t() === 92)
2186
- if (this.internalState = { ...this.state }, this.advanceState(this.internalState), t() === 110)
2187
- this.state.peek = 10;
2188
- else if (t() === 114)
2189
- this.state.peek = 13;
2190
- else if (t() === 118)
2191
- this.state.peek = 11;
2192
- else if (t() === 116)
2193
- this.state.peek = 9;
2194
- else if (t() === 98)
2195
- this.state.peek = 8;
2196
- else if (t() === 102)
2197
- this.state.peek = 12;
2198
- else if (t() === 117)
2199
- if (this.advanceState(this.internalState), t() === 123) {
2200
- this.advanceState(this.internalState);
2201
- let r = this.clone(), n = 0;
2202
- for (; t() !== 125; )
2203
- this.advanceState(this.internalState), n++;
2204
- this.state.peek = this.decodeHexDigits(r, n);
2205
- } else {
2206
- let r = this.clone();
2207
- this.advanceState(this.internalState), this.advanceState(this.internalState), this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 4);
2208
- }
2209
- else if (t() === 120) {
2210
- this.advanceState(this.internalState);
2211
- let r = this.clone();
2212
- this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 2);
2213
- } else if (Zt(t())) {
2214
- let r = "", n = 0, a = this.clone();
2215
- for (; Zt(t()) && n < 3; )
2216
- a = this.clone(), r += String.fromCodePoint(t()), this.advanceState(this.internalState), n++;
2217
- this.state.peek = parseInt(r, 8), this.internalState = a.internalState;
2218
- } else
2219
- He(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek;
2002
+ if (t() === 92) if (this.internalState = { ...this.state }, this.advanceState(this.internalState), t() === 110) this.state.peek = 10;
2003
+ else if (t() === 114) this.state.peek = 13;
2004
+ else if (t() === 118) this.state.peek = 11;
2005
+ else if (t() === 116) this.state.peek = 9;
2006
+ else if (t() === 98) this.state.peek = 8;
2007
+ else if (t() === 102) this.state.peek = 12;
2008
+ else if (t() === 117) if (this.advanceState(this.internalState), t() === 123) {
2009
+ this.advanceState(this.internalState);
2010
+ let r = this.clone(), n = 0;
2011
+ for (; t() !== 125; ) this.advanceState(this.internalState), n++;
2012
+ this.state.peek = this.decodeHexDigits(r, n);
2013
+ } else {
2014
+ let r = this.clone();
2015
+ this.advanceState(this.internalState), this.advanceState(this.internalState), this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 4);
2016
+ }
2017
+ else if (t() === 120) {
2018
+ this.advanceState(this.internalState);
2019
+ let r = this.clone();
2020
+ this.advanceState(this.internalState), this.state.peek = this.decodeHexDigits(r, 2);
2021
+ } else if (zt(t())) {
2022
+ let r = "", n = 0, a = this.clone();
2023
+ for (; zt(t()) && n < 3; ) a = this.clone(), r += String.fromCodePoint(t()), this.advanceState(this.internalState), n++;
2024
+ this.state.peek = parseInt(r, 8), this.internalState = a.internalState;
2025
+ } else Me(this.internalState.peek) ? (this.advanceState(this.internalState), this.state = this.internalState) : this.state.peek = this.internalState.peek;
2220
2026
  }
2221
2027
  decodeHexDigits(t, r) {
2222
2028
  let n = this.input.slice(t.internalState.offset, t.internalState.offset + r), a = parseInt(n, 16);
2223
- if (isNaN(a))
2224
- throw t.state = t.internalState, new Ft("Invalid hexadecimal escape sequence", t);
2029
+ if (isNaN(a)) throw t.state = t.internalState, new yt("Invalid hexadecimal escape sequence", t);
2225
2030
  return a;
2226
2031
  }
2227
- }, Ft = class extends Error {
2032
+ }, yt = class extends Error {
2228
2033
  constructor(e, t) {
2229
2034
  super(e), this.msg = e, this.cursor = t, Object.setPrototypeOf(this, new.target.prototype);
2230
2035
  }
2231
- }, T = class ln extends J {
2036
+ }, T = class Jr extends Y {
2232
2037
  static create(t, r, n) {
2233
- return new ln(t, r, n);
2038
+ return new Jr(t, r, n);
2234
2039
  }
2235
2040
  constructor(t, r, n) {
2236
2041
  super(r, n), this.elementName = t;
2237
2042
  }
2238
- }, zs = class {
2043
+ }, Fs = class {
2239
2044
  constructor(e, t) {
2240
2045
  this.rootNodes = e, this.errors = t;
2241
2046
  }
2242
- }, $s = class {
2047
+ }, Ps = class {
2243
2048
  constructor(e) {
2244
2049
  this.getTagDefinition = e;
2245
2050
  }
2246
2051
  parse(e, t, r, n = !1, a) {
2247
- let i = (h) => (_, ...C) => h(_.toLowerCase(), ...C), s = n ? this.getTagDefinition : i(this.getTagDefinition), o = (h) => s(h).getContentType(), l = n ? a : i(a), c = Bs(e, t, a ? (h, _, C, L) => {
2248
- let P = l(h, _, C, L);
2249
- return P !== void 0 ? P : o(h);
2250
- } : o, r), p = r && r.canSelfClose || !1, g = r && r.allowHtmComponentClosingTags || !1, f = new js(c.tokens, s, p, g, n);
2251
- return f.build(), new zs(f.rootNodes, [...c.errors, ...f.errors]);
2052
+ let i = (h) => (f, ...E) => h(f.toLowerCase(), ...E), s = n ? this.getTagDefinition : i(this.getTagDefinition), o = (h) => s(h).getContentType(), l = n ? a : i(a), c = Ss(e, t, a ? (h, f, E, B) => {
2053
+ let F = l(h, f, E, B);
2054
+ return F !== void 0 ? F : o(h);
2055
+ } : o, r), p = r && r.canSelfClose || !1, C = r && r.allowHtmComponentClosingTags || !1, g = new Is(c.tokens, s, p, C, n);
2056
+ return g.build(), new Fs(g.rootNodes, [...c.errors, ...g.errors]);
2252
2057
  }
2253
- }, js = class cn {
2058
+ }, Is = class Qr {
2254
2059
  constructor(t, r, n, a, i) {
2255
2060
  this.tokens = t, this.tagDefinitionResolver = r, this.canSelfClose = n, this.allowHtmComponentClosingTags = a, this.isTagNameCaseSensitive = i, this._index = -1, this._containerStack = [], this.rootNodes = [], this.errors = [], this._advance();
2256
2061
  }
2257
2062
  build() {
2258
- for (; this._peek.type !== u.EOF; )
2259
- this._peek.type === u.TAG_OPEN_START || this._peek.type === u.INCOMPLETE_TAG_OPEN ? this._consumeElementStartTag(this._advance()) : this._peek.type === u.TAG_CLOSE ? (this._closeVoidElement(), this._consumeElementEndTag(this._advance())) : this._peek.type === u.CDATA_START ? (this._closeVoidElement(), this._consumeCdata(this._advance())) : this._peek.type === u.COMMENT_START ? (this._closeVoidElement(), this._consumeComment(this._advance())) : this._peek.type === u.TEXT || this._peek.type === u.RAW_TEXT || this._peek.type === u.ESCAPABLE_RAW_TEXT ? (this._closeVoidElement(), this._consumeText(this._advance())) : this._peek.type === u.EXPANSION_FORM_START ? this._consumeExpansion(this._advance()) : this._peek.type === u.BLOCK_OPEN_START ? (this._closeVoidElement(), this._consumeBlockOpen(this._advance())) : this._peek.type === u.BLOCK_CLOSE ? (this._closeVoidElement(), this._consumeBlockClose(this._advance())) : this._peek.type === u.INCOMPLETE_BLOCK_OPEN ? (this._closeVoidElement(), this._consumeIncompleteBlock(this._advance())) : this._peek.type === u.LET_START ? (this._closeVoidElement(), this._consumeLet(this._advance())) : this._peek.type === u.DOC_TYPE_START ? this._consumeDocType(this._advance()) : this._peek.type === u.INCOMPLETE_LET ? (this._closeVoidElement(), this._consumeIncompleteLet(this._advance())) : this._peek.type === u.COMPONENT_OPEN_START || this._peek.type === u.INCOMPLETE_COMPONENT_OPEN ? this._consumeComponentStartTag(this._advance()) : this._peek.type === u.COMPONENT_CLOSE ? this._consumeComponentEndTag(this._advance()) : this._advance();
2260
- for (let t of this._containerStack)
2261
- t instanceof Y && this.errors.push(T.create(t.name, t.sourceSpan, `Unclosed block "${t.name}"`));
2063
+ for (; this._peek.type !== u.EOF; ) this._peek.type === u.TAG_OPEN_START || this._peek.type === u.INCOMPLETE_TAG_OPEN ? this._consumeElementStartTag(this._advance()) : this._peek.type === u.TAG_CLOSE ? (this._closeVoidElement(), this._consumeElementEndTag(this._advance())) : this._peek.type === u.CDATA_START ? (this._closeVoidElement(), this._consumeCdata(this._advance())) : this._peek.type === u.COMMENT_START ? (this._closeVoidElement(), this._consumeComment(this._advance())) : this._peek.type === u.TEXT || this._peek.type === u.RAW_TEXT || this._peek.type === u.ESCAPABLE_RAW_TEXT ? (this._closeVoidElement(), this._consumeText(this._advance())) : this._peek.type === u.EXPANSION_FORM_START ? this._consumeExpansion(this._advance()) : this._peek.type === u.BLOCK_OPEN_START ? (this._closeVoidElement(), this._consumeBlockOpen(this._advance())) : this._peek.type === u.BLOCK_CLOSE ? (this._closeVoidElement(), this._consumeBlockClose(this._advance())) : this._peek.type === u.INCOMPLETE_BLOCK_OPEN ? (this._closeVoidElement(), this._consumeIncompleteBlock(this._advance())) : this._peek.type === u.LET_START ? (this._closeVoidElement(), this._consumeLet(this._advance())) : this._peek.type === u.DOC_TYPE_START ? this._consumeDocType(this._advance()) : this._peek.type === u.INCOMPLETE_LET ? (this._closeVoidElement(), this._consumeIncompleteLet(this._advance())) : this._peek.type === u.COMPONENT_OPEN_START || this._peek.type === u.INCOMPLETE_COMPONENT_OPEN ? this._consumeComponentStartTag(this._advance()) : this._peek.type === u.COMPONENT_CLOSE ? this._consumeComponentEndTag(this._advance()) : this._advance();
2064
+ for (let t of this._containerStack) t instanceof G && this.errors.push(T.create(t.name, t.sourceSpan, `Unclosed block "${t.name}"`));
2262
2065
  }
2263
2066
  _advance() {
2264
2067
  let t = this._peek;
@@ -2269,22 +2072,21 @@ var un = class ht {
2269
2072
  }
2270
2073
  _consumeCdata(t) {
2271
2074
  let r = this._advance(), n = this._getText(r), a = this._advanceIf(u.CDATA_END);
2272
- this._addToParent(new Ss(n, new d(t.sourceSpan.start, (a || r).sourceSpan.end), [r]));
2075
+ this._addToParent(new ps(n, new d(t.sourceSpan.start, (a || r).sourceSpan.end), [r]));
2273
2076
  }
2274
2077
  _consumeComment(t) {
2275
2078
  let r = this._advanceIf(u.RAW_TEXT), n = this._advanceIf(u.COMMENT_END), a = r != null ? r.parts[0].trim() : null, i = n == null ? t.sourceSpan : new d(t.sourceSpan.start, n.sourceSpan.end, t.sourceSpan.fullStart);
2276
- this._addToParent(new ks(a, i));
2079
+ this._addToParent(new gs(a, i));
2277
2080
  }
2278
2081
  _consumeDocType(t) {
2279
2082
  let r = this._advanceIf(u.RAW_TEXT), n = this._advanceIf(u.DOC_TYPE_END), a = r != null ? r.parts[0].trim() : null, i = new d(t.sourceSpan.start, (n || r || t).sourceSpan.end);
2280
- this._addToParent(new ws(a, i));
2083
+ this._addToParent(new fs(a, i));
2281
2084
  }
2282
2085
  _consumeExpansion(t) {
2283
2086
  let r = this._advance(), n = this._advance(), a = [];
2284
2087
  for (; this._peek.type === u.EXPANSION_CASE_VALUE; ) {
2285
2088
  let s = this._parseExpansionCase();
2286
- if (!s)
2287
- return;
2089
+ if (!s) return;
2288
2090
  a.push(s);
2289
2091
  }
2290
2092
  if (this._peek.type !== u.EXPANSION_FORM_END) {
@@ -2292,39 +2094,29 @@ var un = class ht {
2292
2094
  return;
2293
2095
  }
2294
2096
  let i = new d(t.sourceSpan.start, this._peek.sourceSpan.end, t.sourceSpan.fullStart);
2295
- this._addToParent(new As(r.parts[0], n.parts[0], a, i, r.sourceSpan)), this._advance();
2097
+ this._addToParent(new hs(r.parts[0], n.parts[0], a, i, r.sourceSpan)), this._advance();
2296
2098
  }
2297
2099
  _parseExpansionCase() {
2298
2100
  let t = this._advance();
2299
- if (this._peek.type !== u.EXPANSION_CASE_EXP_START)
2300
- return this.errors.push(T.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '{'.")), null;
2101
+ if (this._peek.type !== u.EXPANSION_CASE_EXP_START) return this.errors.push(T.create(null, this._peek.sourceSpan, "Invalid ICU message. Missing '{'.")), null;
2301
2102
  let r = this._advance(), n = this._collectExpansionExpTokens(r);
2302
- if (!n)
2303
- return null;
2103
+ if (!n) return null;
2304
2104
  let a = this._advance();
2305
2105
  n.push({ type: u.EOF, parts: [], sourceSpan: a.sourceSpan });
2306
- let i = new cn(n, this.tagDefinitionResolver, this.canSelfClose, this.allowHtmComponentClosingTags, this.isTagNameCaseSensitive);
2307
- if (i.build(), i.errors.length > 0)
2308
- return this.errors = this.errors.concat(i.errors), null;
2106
+ let i = new Qr(n, this.tagDefinitionResolver, this.canSelfClose, this.allowHtmComponentClosingTags, this.isTagNameCaseSensitive);
2107
+ if (i.build(), i.errors.length > 0) return this.errors = this.errors.concat(i.errors), null;
2309
2108
  let s = new d(t.sourceSpan.start, a.sourceSpan.end, t.sourceSpan.fullStart), o = new d(r.sourceSpan.start, a.sourceSpan.end, r.sourceSpan.fullStart);
2310
- return new Ts(t.parts[0], i.rootNodes, s, t.sourceSpan, o);
2109
+ return new ds(t.parts[0], i.rootNodes, s, t.sourceSpan, o);
2311
2110
  }
2312
2111
  _collectExpansionExpTokens(t) {
2313
2112
  let r = [], n = [u.EXPANSION_CASE_EXP_START];
2314
2113
  for (; ; ) {
2315
- if ((this._peek.type === u.EXPANSION_FORM_START || this._peek.type === u.EXPANSION_CASE_EXP_START) && n.push(this._peek.type), this._peek.type === u.EXPANSION_CASE_EXP_END)
2316
- if (ur(n, u.EXPANSION_CASE_EXP_START)) {
2317
- if (n.pop(), n.length === 0)
2318
- return r;
2319
- } else
2320
- return this.errors.push(T.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2321
- if (this._peek.type === u.EXPANSION_FORM_END)
2322
- if (ur(n, u.EXPANSION_FORM_START))
2323
- n.pop();
2324
- else
2325
- return this.errors.push(T.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2326
- if (this._peek.type === u.EOF)
2327
- return this.errors.push(T.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2114
+ if ((this._peek.type === u.EXPANSION_FORM_START || this._peek.type === u.EXPANSION_CASE_EXP_START) && n.push(this._peek.type), this._peek.type === u.EXPANSION_CASE_EXP_END) if (Zt(n, u.EXPANSION_CASE_EXP_START)) {
2115
+ if (n.pop(), n.length === 0) return r;
2116
+ } else return this.errors.push(T.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2117
+ if (this._peek.type === u.EXPANSION_FORM_END) if (Zt(n, u.EXPANSION_FORM_START)) n.pop();
2118
+ else return this.errors.push(T.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2119
+ if (this._peek.type === u.EOF) return this.errors.push(T.create(null, t.sourceSpan, "Invalid ICU message. Missing '}'.")), null;
2328
2120
  r.push(this._advance());
2329
2121
  }
2330
2122
  }
@@ -2346,11 +2138,10 @@ var un = class ht {
2346
2138
  let s = this._getContainer();
2347
2139
  s != null && s.children.length === 0 && !((i = this._getTagDefinition(s)) === null || i === void 0) && i.ignoreFirstLf && (a = a.substring(1), r[0] = { type: t.type, sourceSpan: t.sourceSpan, parts: [a] });
2348
2140
  }
2349
- for (; this._peek.type === u.INTERPOLATION || this._peek.type === u.TEXT || this._peek.type === u.ENCODED_ENTITY; )
2350
- t = this._advance(), r.push(t), t.type === u.INTERPOLATION ? a += t.parts.join("").replace(/&([^;]+);/g, lr) : t.type === u.ENCODED_ENTITY ? a += t.parts[0] : a += t.parts.join("");
2141
+ for (; this._peek.type === u.INTERPOLATION || this._peek.type === u.TEXT || this._peek.type === u.ENCODED_ENTITY; ) t = this._advance(), r.push(t), t.type === u.INTERPOLATION ? a += t.parts.join("").replace(/&([^;]+);/g, er) : t.type === u.ENCODED_ENTITY ? a += t.parts[0] : a += t.parts.join("");
2351
2142
  if (a.length > 0) {
2352
2143
  let s = t.sourceSpan;
2353
- this._addToParent(new Es(a, new d(n.start, s.end, n.fullStart, n.details), r));
2144
+ this._addToParent(new cs(a, new d(n.start, s.end, n.fullStart, n.details), r));
2354
2145
  }
2355
2146
  }
2356
2147
  _closeVoidElement() {
@@ -2365,12 +2156,11 @@ var un = class ht {
2365
2156
  let i = this._getElementFullName(t, this._getClosestElementLikeParent()), s = this._getTagDefinition(i), o = !1;
2366
2157
  if (this._peek.type === u.TAG_OPEN_END_VOID) {
2367
2158
  this._advance(), o = !0;
2368
- let C = this._getTagDefinition(i);
2369
- this.canSelfClose || C != null && C.canSelfClose || Re(i) !== null || C != null && C.isVoid || this.errors.push(T.create(i, t.sourceSpan, `Only void, custom and foreign elements can be self closed "${t.parts[1]}"`));
2370
- } else
2371
- this._peek.type === u.TAG_OPEN_END && (this._advance(), o = !1);
2372
- let l = this._peek.sourceSpan.fullStart, c = new d(t.sourceSpan.start, l, t.sourceSpan.fullStart), p = new d(t.sourceSpan.start, l, t.sourceSpan.fullStart), g = new d(t.sourceSpan.start.moveBy(1), t.sourceSpan.end), f = new U(i, n, a, [], o, c, p, void 0, g, (s == null ? void 0 : s.isVoid) ?? !1), h = this._getContainer(), _ = h !== null && !!(!((r = this._getTagDefinition(h)) === null || r === void 0) && r.isClosedByChild(f.name));
2373
- this._pushContainer(f, _), o ? this._popContainer(i, U, c) : t.type === u.INCOMPLETE_TAG_OPEN && (this._popContainer(i, U, null), this.errors.push(T.create(i, c, `Opening tag "${i}" not terminated.`)));
2159
+ let E = this._getTagDefinition(i);
2160
+ this.canSelfClose || E?.canSelfClose || Pe(i) !== null || E?.isVoid || this.errors.push(T.create(i, t.sourceSpan, `Only void, custom and foreign elements can be self closed "${t.parts[1]}"`));
2161
+ } else this._peek.type === u.TAG_OPEN_END && (this._advance(), o = !1);
2162
+ let l = this._peek.sourceSpan.fullStart, c = new d(t.sourceSpan.start, l, t.sourceSpan.fullStart), p = new d(t.sourceSpan.start, l, t.sourceSpan.fullStart), C = new d(t.sourceSpan.start.moveBy(1), t.sourceSpan.end), g = new H(i, n, a, [], o, c, p, void 0, C, s?.isVoid ?? !1), h = this._getContainer(), f = h !== null && !!(!((r = this._getTagDefinition(h)) === null || r === void 0) && r.isClosedByChild(g.name));
2163
+ this._pushContainer(g, f), o ? this._popContainer(i, H, c) : t.type === u.INCOMPLETE_TAG_OPEN && (this._popContainer(i, H, null), this.errors.push(T.create(i, c, `Opening tag "${i}" not terminated.`)));
2374
2164
  }
2375
2165
  _consumeComponentStartTag(t) {
2376
2166
  var r;
@@ -2378,24 +2168,23 @@ var un = class ht {
2378
2168
  this._consumeAttributesAndDirectives(a, i);
2379
2169
  let s = this._getClosestElementLikeParent(), o = this._getComponentTagName(t, s), l = this._getComponentFullName(t, s), c = this._peek.type === u.COMPONENT_OPEN_END_VOID;
2380
2170
  this._advance();
2381
- let p = this._peek.sourceSpan.fullStart, g = new d(t.sourceSpan.start, p, t.sourceSpan.fullStart), f = new d(t.sourceSpan.start, p, t.sourceSpan.fullStart), h = new H(n, o, l, a, i, [], c, g, f, void 0), _ = this._getContainer(), C = _ !== null && h.tagName !== null && !!(!((r = this._getTagDefinition(_)) === null || r === void 0) && r.isClosedByChild(h.tagName));
2382
- this._pushContainer(h, C), c ? this._popContainer(l, H, g) : t.type === u.INCOMPLETE_COMPONENT_OPEN && (this._popContainer(l, H, null), this.errors.push(T.create(l, g, `Opening tag "${l}" not terminated.`)));
2171
+ let p = this._peek.sourceSpan.fullStart, C = new d(t.sourceSpan.start, p, t.sourceSpan.fullStart), g = new d(t.sourceSpan.start, p, t.sourceSpan.fullStart), h = new M(n, o, l, a, i, [], c, C, g, void 0), f = this._getContainer(), E = f !== null && h.tagName !== null && !!(!((r = this._getTagDefinition(f)) === null || r === void 0) && r.isClosedByChild(h.tagName));
2172
+ this._pushContainer(h, E), c ? this._popContainer(l, M, C) : t.type === u.INCOMPLETE_COMPONENT_OPEN && (this._popContainer(l, M, null), this.errors.push(T.create(l, C, `Opening tag "${l}" not terminated.`)));
2383
2173
  }
2384
2174
  _consumeAttributesAndDirectives(t, r) {
2385
- for (; this._peek.type === u.ATTR_NAME || this._peek.type === u.DIRECTIVE_NAME; )
2386
- this._peek.type === u.DIRECTIVE_NAME ? r.push(this._consumeDirective(this._peek)) : t.push(this._consumeAttr(this._advance()));
2175
+ for (; this._peek.type === u.ATTR_NAME || this._peek.type === u.DIRECTIVE_NAME; ) this._peek.type === u.DIRECTIVE_NAME ? r.push(this._consumeDirective(this._peek)) : t.push(this._consumeAttr(this._advance()));
2387
2176
  }
2388
2177
  _consumeComponentEndTag(t) {
2389
2178
  let r = this._getComponentFullName(t, this._getClosestElementLikeParent());
2390
- if (!this._popContainer(r, H, t.sourceSpan)) {
2179
+ if (!this._popContainer(r, M, t.sourceSpan)) {
2391
2180
  let n = this._containerStack[this._containerStack.length - 1], a;
2392
- n instanceof H && n.componentName === t.parts[0] ? a = `, did you mean "${n.fullName}"?` : a = ". It may happen when the tag has already been closed by another tag.";
2181
+ n instanceof M && n.componentName === t.parts[0] ? a = `, did you mean "${n.fullName}"?` : a = ". It may happen when the tag has already been closed by another tag.";
2393
2182
  let i = `Unexpected closing tag "${r}"${a}`;
2394
2183
  this.errors.push(T.create(r, t.sourceSpan, i));
2395
2184
  }
2396
2185
  }
2397
2186
  _getTagDefinition(t) {
2398
- return typeof t == "string" ? this.tagDefinitionResolver(t) : t instanceof U ? this.tagDefinitionResolver(t.name) : t instanceof H && t.tagName !== null ? this.tagDefinitionResolver(t.tagName) : null;
2187
+ return typeof t == "string" ? this.tagDefinitionResolver(t) : t instanceof H ? this.tagDefinitionResolver(t.name) : t instanceof M && t.tagName !== null ? this.tagDefinitionResolver(t.tagName) : null;
2399
2188
  }
2400
2189
  _pushContainer(t, r) {
2401
2190
  r && this._containerStack.pop(), this._addToParent(t), this._containerStack.push(t);
@@ -2403,9 +2192,8 @@ var un = class ht {
2403
2192
  _consumeElementEndTag(t) {
2404
2193
  var r;
2405
2194
  let n = this.allowHtmComponentClosingTags && t.parts.length === 0 ? null : this._getElementFullName(t, this._getClosestElementLikeParent());
2406
- if (n && !((r = this._getTagDefinition(n)) === null || r === void 0) && r.isVoid)
2407
- this.errors.push(T.create(n, t.sourceSpan, `Void elements do not have end tags "${t.parts[1]}"`));
2408
- else if (!this._popContainer(n, U, t.sourceSpan)) {
2195
+ if (n && !((r = this._getTagDefinition(n)) === null || r === void 0) && r.isVoid) this.errors.push(T.create(n, t.sourceSpan, `Void elements do not have end tags "${t.parts[1]}"`));
2196
+ else if (!this._popContainer(n, H, t.sourceSpan)) {
2409
2197
  let a = `Unexpected closing tag "${n}". 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`;
2410
2198
  this.errors.push(T.create(n, t.sourceSpan, a));
2411
2199
  }
@@ -2414,77 +2202,72 @@ var un = class ht {
2414
2202
  let a = !1;
2415
2203
  for (let s = this._containerStack.length - 1; s >= 0; s--) {
2416
2204
  var i;
2417
- let o = this._containerStack[s], l = o instanceof H ? o.fullName : o.name;
2418
- if (Re(l) ? l === t : (l === t || t === null) && o instanceof r)
2419
- return o.endSourceSpan = n, o.sourceSpan.end = n !== null ? n.end : o.sourceSpan.end, this._containerStack.splice(s, this._containerStack.length - s), !a;
2420
- (o instanceof Y || !(!((i = this._getTagDefinition(o)) === null || i === void 0) && i.closedByParent)) && (a = !0);
2205
+ let o = this._containerStack[s], l = o instanceof M ? o.fullName : o.name;
2206
+ if (Pe(l) ? l === t : (l === t || t === null) && o instanceof r) return o.endSourceSpan = n, o.sourceSpan.end = n !== null ? n.end : o.sourceSpan.end, this._containerStack.splice(s, this._containerStack.length - s), !a;
2207
+ (o instanceof G || !(!((i = this._getTagDefinition(o)) === null || i === void 0) && i.closedByParent)) && (a = !0);
2421
2208
  }
2422
2209
  return !1;
2423
2210
  }
2424
2211
  _consumeAttr(t) {
2425
- let r = _e(t.parts[0], t.parts[1]), n = t.sourceSpan.end, a;
2212
+ let r = fe(t.parts[0], t.parts[1]), n = t.sourceSpan.end, a;
2426
2213
  this._peek.type === u.ATTR_QUOTE && (a = this._advance());
2427
2214
  let i = "", s = [], o, l;
2428
- if (this._peek.type === u.ATTR_VALUE_TEXT)
2429
- for (o = this._peek.sourceSpan, l = this._peek.sourceSpan.end; this._peek.type === u.ATTR_VALUE_TEXT || this._peek.type === u.ATTR_VALUE_INTERPOLATION || this._peek.type === u.ENCODED_ENTITY; ) {
2430
- let p = this._advance();
2431
- s.push(p), p.type === u.ATTR_VALUE_INTERPOLATION ? i += p.parts.join("").replace(/&([^;]+);/g, lr) : p.type === u.ENCODED_ENTITY ? i += p.parts[0] : i += p.parts.join(""), l = n = p.sourceSpan.end;
2432
- }
2215
+ if (this._peek.type === u.ATTR_VALUE_TEXT) for (o = this._peek.sourceSpan, l = this._peek.sourceSpan.end; this._peek.type === u.ATTR_VALUE_TEXT || this._peek.type === u.ATTR_VALUE_INTERPOLATION || this._peek.type === u.ENCODED_ENTITY; ) {
2216
+ let p = this._advance();
2217
+ s.push(p), p.type === u.ATTR_VALUE_INTERPOLATION ? i += p.parts.join("").replace(/&([^;]+);/g, er) : p.type === u.ENCODED_ENTITY ? i += p.parts[0] : i += p.parts.join(""), l = n = p.sourceSpan.end;
2218
+ }
2433
2219
  this._peek.type === u.ATTR_QUOTE && (l = n = this._advance().sourceSpan.end);
2434
- let c = o && l && new d((a == null ? void 0 : a.sourceSpan.start) ?? o.start, l, (a == null ? void 0 : a.sourceSpan.fullStart) ?? o.fullStart);
2435
- return new bs(r, i, new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), t.sourceSpan, c, s.length > 0 ? s : void 0, void 0);
2220
+ let c = o && l && new d(a?.sourceSpan.start ?? o.start, l, a?.sourceSpan.fullStart ?? o.fullStart);
2221
+ return new ms(r, i, new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), t.sourceSpan, c, s.length > 0 ? s : void 0, void 0);
2436
2222
  }
2437
2223
  _consumeDirective(t) {
2438
2224
  let r = [], n = t.sourceSpan.end, a = null;
2439
2225
  if (this._advance(), this._peek.type === u.DIRECTIVE_OPEN) {
2440
- for (n = this._peek.sourceSpan.end, this._advance(); this._peek.type === u.ATTR_NAME; )
2441
- r.push(this._consumeAttr(this._advance()));
2226
+ for (n = this._peek.sourceSpan.end, this._advance(); this._peek.type === u.ATTR_NAME; ) r.push(this._consumeAttr(this._advance()));
2442
2227
  this._peek.type === u.DIRECTIVE_CLOSE ? (a = this._peek.sourceSpan, this._advance()) : this.errors.push(T.create(null, t.sourceSpan, "Unterminated directive definition"));
2443
2228
  }
2444
2229
  let i = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new d(i.start, a === null ? t.sourceSpan.end : a.end, i.fullStart);
2445
- return new ys(t.parts[0], r, s, i, a);
2230
+ return new _s(t.parts[0], r, s, i, a);
2446
2231
  }
2447
2232
  _consumeBlockOpen(t) {
2448
2233
  let r = [];
2449
2234
  for (; this._peek.type === u.BLOCK_PARAMETER; ) {
2450
2235
  let o = this._advance();
2451
- r.push(new tr(o.parts[0], o.sourceSpan));
2236
+ r.push(new jt(o.parts[0], o.sourceSpan));
2452
2237
  }
2453
2238
  this._peek.type === u.BLOCK_OPEN_END && this._advance();
2454
- let n = this._peek.sourceSpan.fullStart, a = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new Y(t.parts[0], r, [], a, t.sourceSpan, i);
2239
+ let n = this._peek.sourceSpan.fullStart, a = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new G(t.parts[0], r, [], a, t.sourceSpan, i);
2455
2240
  this._pushContainer(s, !1);
2456
2241
  }
2457
2242
  _consumeBlockClose(t) {
2458
- this._popContainer(null, Y, t.sourceSpan) || this.errors.push(T.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.'));
2243
+ this._popContainer(null, G, t.sourceSpan) || this.errors.push(T.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.'));
2459
2244
  }
2460
2245
  _consumeIncompleteBlock(t) {
2461
2246
  let r = [];
2462
2247
  for (; this._peek.type === u.BLOCK_PARAMETER; ) {
2463
2248
  let o = this._advance();
2464
- r.push(new tr(o.parts[0], o.sourceSpan));
2249
+ r.push(new jt(o.parts[0], o.sourceSpan));
2465
2250
  }
2466
- let n = this._peek.sourceSpan.fullStart, a = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new Y(t.parts[0], r, [], a, t.sourceSpan, i);
2467
- this._pushContainer(s, !1), this._popContainer(null, Y, null), this.errors.push(T.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.`));
2251
+ let n = this._peek.sourceSpan.fullStart, a = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), i = new d(t.sourceSpan.start, n, t.sourceSpan.fullStart), s = new G(t.parts[0], r, [], a, t.sourceSpan, i);
2252
+ this._pushContainer(s, !1), this._popContainer(null, G, null), this.errors.push(T.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.`));
2468
2253
  }
2469
2254
  _consumeLet(t) {
2470
2255
  let r = t.parts[0], n, a;
2471
2256
  if (this._peek.type !== u.LET_VALUE) {
2472
2257
  this.errors.push(T.create(t.parts[0], t.sourceSpan, `Invalid @let declaration "${r}". Declaration must have a value.`));
2473
2258
  return;
2474
- } else
2475
- n = this._advance();
2259
+ } else n = this._advance();
2476
2260
  if (this._peek.type !== u.LET_END) {
2477
2261
  this.errors.push(T.create(t.parts[0], t.sourceSpan, `Unterminated @let declaration "${r}". Declaration must be terminated with a semicolon.`));
2478
2262
  return;
2479
- } else
2480
- a = this._advance();
2481
- let i = a.sourceSpan.fullStart, s = new d(t.sourceSpan.start, i, t.sourceSpan.fullStart), o = t.sourceSpan.toString().lastIndexOf(r), l = new d(t.sourceSpan.start.moveBy(o), t.sourceSpan.end), c = new rr(r, n.parts[0], s, l, n.sourceSpan);
2263
+ } else a = this._advance();
2264
+ let i = a.sourceSpan.fullStart, s = new d(t.sourceSpan.start, i, t.sourceSpan.fullStart), o = t.sourceSpan.toString().lastIndexOf(r), l = new d(t.sourceSpan.start.moveBy(o), t.sourceSpan.end), c = new Xt(r, n.parts[0], s, l, n.sourceSpan);
2482
2265
  this._addToParent(c);
2483
2266
  }
2484
2267
  _consumeIncompleteLet(t) {
2485
2268
  let r = t.parts[0] ?? "", n = r ? ` "${r}"` : "";
2486
2269
  if (r.length > 0) {
2487
- let a = t.sourceSpan.toString().lastIndexOf(r), i = new d(t.sourceSpan.start.moveBy(a), t.sourceSpan.end), s = new d(t.sourceSpan.start, t.sourceSpan.start.moveBy(0)), o = new rr(r, "", t.sourceSpan, i, s);
2270
+ let a = t.sourceSpan.toString().lastIndexOf(r), i = new d(t.sourceSpan.start.moveBy(a), t.sourceSpan.end), s = new d(t.sourceSpan.start, t.sourceSpan.start.moveBy(0)), o = new Xt(r, "", t.sourceSpan, i, s);
2488
2271
  this._addToParent(o);
2489
2272
  }
2490
2273
  this.errors.push(T.create(t.parts[0], t.sourceSpan, `Incomplete @let declaration${n}. @let declarations must be written as \`@let <name> = <value>;\``));
@@ -2495,8 +2278,7 @@ var un = class ht {
2495
2278
  _getClosestElementLikeParent() {
2496
2279
  for (let t = this._containerStack.length - 1; t > -1; t--) {
2497
2280
  let r = this._containerStack[t];
2498
- if (r instanceof U || r instanceof H)
2499
- return r;
2281
+ if (r instanceof H || r instanceof M) return r;
2500
2282
  }
2501
2283
  return null;
2502
2284
  }
@@ -2505,7 +2287,7 @@ var un = class ht {
2505
2287
  r === null ? this.rootNodes.push(t) : r.children.push(t);
2506
2288
  }
2507
2289
  _getElementFullName(t, r) {
2508
- return _e(this._getPrefix(t, r), t.parts[1]);
2290
+ return fe(this._getPrefix(t, r), t.parts[1]);
2509
2291
  }
2510
2292
  _getComponentFullName(t, r) {
2511
2293
  let n = t.parts[0], a = this._getComponentTagName(t, r);
@@ -2513,46 +2295,45 @@ var un = class ht {
2513
2295
  }
2514
2296
  _getComponentTagName(t, r) {
2515
2297
  let n = this._getPrefix(t, r), a = t.parts[2];
2516
- return !n && !a ? null : !n && a ? a : _e(n, a || "ng-component");
2298
+ return !n && !a ? null : !n && a ? a : fe(n, a || "ng-component");
2517
2299
  }
2518
2300
  _getPrefix(t, r) {
2519
2301
  var n;
2520
2302
  let a, i;
2521
2303
  if (t.type === u.COMPONENT_OPEN_START || t.type === u.INCOMPLETE_COMPONENT_OPEN || t.type === u.COMPONENT_CLOSE ? (a = t.parts[1], i = t.parts[2]) : (a = t.parts[0], i = t.parts[1]), a = a || ((n = this._getTagDefinition(i)) === null || n === void 0 ? void 0 : n.implicitNamespacePrefix) || "", !a && r) {
2522
- let s = r instanceof U ? r.name : r.tagName;
2304
+ let s = r instanceof H ? r.name : r.tagName;
2523
2305
  if (s !== null) {
2524
- let o = Ge(s)[1], l = this._getTagDefinition(o);
2525
- l !== null && !l.preventNamespaceInheritance && (a = Re(s));
2306
+ let o = $e(s)[1], l = this._getTagDefinition(o);
2307
+ l !== null && !l.preventNamespaceInheritance && (a = Pe(s));
2526
2308
  }
2527
2309
  }
2528
2310
  return a;
2529
2311
  }
2530
2312
  };
2531
- function ur(e, t) {
2313
+ function Zt(e, t) {
2532
2314
  return e.length > 0 && e[e.length - 1] === t;
2533
2315
  }
2534
- function lr(e, t) {
2535
- return Se[t] !== void 0 ? Se[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;
2316
+ function er(e, t) {
2317
+ return ve[t] !== void 0 ? ve[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;
2536
2318
  }
2537
- var Xs = class extends $s {
2319
+ var Rs = class extends Ps {
2538
2320
  constructor() {
2539
- super(lt);
2321
+ super(rt);
2540
2322
  }
2541
2323
  parse(e, t, r, n = !1, a) {
2542
2324
  return super.parse(e, t, r, n, a);
2543
2325
  }
2544
- }, it = null, Gs = () => (it || (it = new Xs()), it);
2545
- function mt(e, t = {}) {
2326
+ }, Qe = null, Ms = () => (Qe || (Qe = new Rs()), Qe);
2327
+ function ot(e, t = {}) {
2546
2328
  let { canSelfClose: r = !1, allowHtmComponentClosingTags: n = !1, isTagNameCaseSensitive: a = !1, getTagContentType: i, tokenizeAngularBlocks: s = !1, tokenizeAngularLetDeclaration: o = !1, enableAngularSelectorlessSyntax: l = !1 } = t;
2547
- return Gs().parse(e, "angular-html-parser", { tokenizeExpansionForms: s, canSelfClose: r, allowHtmComponentClosingTags: n, tokenizeBlocks: s, tokenizeLet: o, selectorlessEnabled: l }, a, i);
2329
+ return Ms().parse(e, "angular-html-parser", { tokenizeExpansionForms: s, canSelfClose: r, allowHtmComponentClosingTags: n, tokenizeBlocks: s, tokenizeLet: o, selectorlessEnabled: l }, a, i);
2548
2330
  }
2549
- var Ks = [Js, Qs, eo, ro, no, so, ao, io, oo, to];
2550
- function Ys(e, t) {
2551
- for (let r of Ks)
2552
- r(e, t);
2331
+ var qs = [Vs, Us, zs, js, Xs, Ys, Gs, Ks, Js, $s];
2332
+ function Hs(e, t) {
2333
+ for (let r of qs) r(e, t);
2553
2334
  return e;
2554
2335
  }
2555
- function Js(e) {
2336
+ function Vs(e) {
2556
2337
  e.walk((t) => {
2557
2338
  if (t.kind === "element" && t.tagDefinition.ignoreFirstLf && t.children.length > 0 && t.children[0].kind === "text" && t.children[0].value[0] === `
2558
2339
  `) {
@@ -2561,124 +2342,105 @@ function Js(e) {
2561
2342
  }
2562
2343
  });
2563
2344
  }
2564
- function Qs(e) {
2565
- let t = (r) => {
2566
- var n, a;
2567
- return r.kind === "element" && ((n = r.prev) == null ? void 0 : n.kind) === "ieConditionalStartComment" && r.prev.sourceSpan.end.offset === r.startSourceSpan.start.offset && ((a = r.firstChild) == null ? void 0 : a.kind) === "ieConditionalEndComment" && r.firstChild.sourceSpan.start.offset === r.startSourceSpan.end.offset;
2568
- };
2345
+ function Us(e) {
2346
+ let t = (r) => r.kind === "element" && r.prev?.kind === "ieConditionalStartComment" && r.prev.sourceSpan.end.offset === r.startSourceSpan.start.offset && r.firstChild?.kind === "ieConditionalEndComment" && r.firstChild.sourceSpan.start.offset === r.startSourceSpan.end.offset;
2569
2347
  e.walk((r) => {
2570
- if (r.children)
2571
- for (let n = 0; n < r.children.length; n++) {
2572
- let a = r.children[n];
2573
- if (!t(a))
2574
- continue;
2575
- let i = a.prev, s = a.firstChild;
2576
- r.removeChild(i), n--;
2577
- let o = new d(i.sourceSpan.start, s.sourceSpan.end), l = new d(o.start, a.sourceSpan.end);
2578
- a.condition = i.condition, a.sourceSpan = l, a.startSourceSpan = o, a.removeChild(s);
2579
- }
2348
+ if (r.children) for (let n = 0; n < r.children.length; n++) {
2349
+ let a = r.children[n];
2350
+ if (!t(a)) continue;
2351
+ let i = a.prev, s = a.firstChild;
2352
+ r.removeChild(i), n--;
2353
+ let o = new d(i.sourceSpan.start, s.sourceSpan.end), l = new d(o.start, a.sourceSpan.end);
2354
+ a.condition = i.condition, a.sourceSpan = l, a.startSourceSpan = o, a.removeChild(s);
2355
+ }
2580
2356
  });
2581
2357
  }
2582
- function Zs(e, t, r) {
2358
+ function Ws(e, t, r) {
2583
2359
  e.walk((n) => {
2584
- if (n.children)
2585
- for (let a = 0; a < n.children.length; a++) {
2586
- let i = n.children[a];
2587
- if (i.kind !== "text" && !t(i))
2588
- continue;
2589
- i.kind !== "text" && (i.kind = "text", i.value = r(i));
2590
- let s = i.prev;
2591
- !s || s.kind !== "text" || (s.value += i.value, s.sourceSpan = new d(s.sourceSpan.start, i.sourceSpan.end), n.removeChild(i), a--);
2592
- }
2360
+ if (n.children) for (let a = 0; a < n.children.length; a++) {
2361
+ let i = n.children[a];
2362
+ if (i.kind !== "text" && !t(i)) continue;
2363
+ i.kind !== "text" && (i.kind = "text", i.value = r(i));
2364
+ let s = i.prev;
2365
+ !s || s.kind !== "text" || (s.value += i.value, s.sourceSpan = new d(s.sourceSpan.start, i.sourceSpan.end), n.removeChild(i), a--);
2366
+ }
2593
2367
  });
2594
2368
  }
2595
- function eo(e) {
2596
- return Zs(e, (t) => t.kind === "cdata", (t) => `<![CDATA[${t.value}]]>`);
2369
+ function zs(e) {
2370
+ return Ws(e, (t) => t.kind === "cdata", (t) => `<![CDATA[${t.value}]]>`);
2597
2371
  }
2598
- function to(e) {
2599
- let t = (r) => {
2600
- var n, a;
2601
- return r.kind === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.kind === "text" && !N.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.kind) === "text" && ((a = r.next) == null ? void 0 : a.kind) === "text";
2602
- };
2372
+ function $s(e) {
2373
+ let t = (r) => r.kind === "element" && r.attrs.length === 0 && r.children.length === 1 && r.firstChild.kind === "text" && !x.hasWhitespaceCharacter(r.children[0].value) && !r.firstChild.hasLeadingSpaces && !r.firstChild.hasTrailingSpaces && r.isLeadingSpaceSensitive && !r.hasLeadingSpaces && r.isTrailingSpaceSensitive && !r.hasTrailingSpaces && r.prev?.kind === "text" && r.next?.kind === "text";
2603
2374
  e.walk((r) => {
2604
- if (r.children)
2605
- for (let n = 0; n < r.children.length; n++) {
2606
- let a = r.children[n];
2607
- if (!t(a))
2608
- continue;
2609
- let i = a.prev, s = a.next;
2610
- i.value += `<${a.rawName}>` + a.firstChild.value + `</${a.rawName}>` + s.value, i.sourceSpan = new d(i.sourceSpan.start, s.sourceSpan.end), i.isTrailingSpaceSensitive = s.isTrailingSpaceSensitive, i.hasTrailingSpaces = s.hasTrailingSpaces, r.removeChild(a), n--, r.removeChild(s);
2611
- }
2375
+ if (r.children) for (let n = 0; n < r.children.length; n++) {
2376
+ let a = r.children[n];
2377
+ if (!t(a)) continue;
2378
+ let i = a.prev, s = a.next;
2379
+ i.value += `<${a.rawName}>` + a.firstChild.value + `</${a.rawName}>` + s.value, i.sourceSpan = new d(i.sourceSpan.start, s.sourceSpan.end), i.isTrailingSpaceSensitive = s.isTrailingSpaceSensitive, i.hasTrailingSpaces = s.hasTrailingSpaces, r.removeChild(a), n--, r.removeChild(s);
2380
+ }
2612
2381
  });
2613
2382
  }
2614
- function ro(e, t) {
2615
- if (t.parser === "html")
2616
- return;
2383
+ function js(e, t) {
2384
+ if (t.parser === "html") return;
2617
2385
  let r = /\{\{(.+?)\}\}/su;
2618
2386
  e.walk((n) => {
2619
- if (ka(n, t))
2620
- for (let a of n.children) {
2621
- if (a.kind !== "text")
2387
+ if (da(n, t)) for (let a of n.children) {
2388
+ if (a.kind !== "text") continue;
2389
+ let i = a.sourceSpan.start, s = null, o = a.value.split(r);
2390
+ for (let l = 0; l < o.length; l++, i = s) {
2391
+ let c = o[l];
2392
+ if (l % 2 === 0) {
2393
+ s = i.moveBy(c.length), c.length > 0 && n.insertChildBefore(a, { kind: "text", value: c, sourceSpan: new d(i, s) });
2622
2394
  continue;
2623
- let i = a.sourceSpan.start, s = null, o = a.value.split(r);
2624
- for (let l = 0; l < o.length; l++, i = s) {
2625
- let c = o[l];
2626
- if (l % 2 === 0) {
2627
- s = i.moveBy(c.length), c.length > 0 && n.insertChildBefore(a, { kind: "text", value: c, sourceSpan: new d(i, s) });
2628
- continue;
2629
- }
2630
- s = i.moveBy(c.length + 4), n.insertChildBefore(a, { kind: "interpolation", sourceSpan: new d(i, s), children: c.length === 0 ? [] : [{ kind: "text", value: c, sourceSpan: new d(i.moveBy(2), s.moveBy(-2)) }] });
2631
2395
  }
2632
- n.removeChild(a);
2396
+ s = i.moveBy(c.length + 4), n.insertChildBefore(a, { kind: "interpolation", sourceSpan: new d(i, s), children: c.length === 0 ? [] : [{ kind: "text", value: c, sourceSpan: new d(i.moveBy(2), s.moveBy(-2)) }] });
2633
2397
  }
2398
+ n.removeChild(a);
2399
+ }
2634
2400
  });
2635
2401
  }
2636
- function no(e, t) {
2402
+ function Xs(e, t) {
2637
2403
  e.walk((r) => {
2638
2404
  let n = r.$children;
2639
- if (!n)
2640
- return;
2641
- if (n.length === 0 || n.length === 1 && n[0].kind === "text" && N.trim(n[0].value).length === 0) {
2405
+ if (!n) return;
2406
+ if (n.length === 0 || n.length === 1 && n[0].kind === "text" && x.trim(n[0].value).length === 0) {
2642
2407
  r.hasDanglingSpaces = n.length > 0, r.$children = [];
2643
2408
  return;
2644
2409
  }
2645
- let a = wa(r, t), i = Mr(r);
2646
- if (!a)
2647
- for (let s = 0; s < n.length; s++) {
2648
- let o = n[s];
2649
- if (o.kind !== "text")
2650
- continue;
2651
- let { leadingWhitespace: l, text: c, trailingWhitespace: p } = Ta(o.value), g = o.prev, f = o.next;
2652
- c ? (o.value = c, o.sourceSpan = new d(o.sourceSpan.start.moveBy(l.length), o.sourceSpan.end.moveBy(-p.length)), l && (g && (g.hasTrailingSpaces = !0), o.hasLeadingSpaces = !0), p && (o.hasTrailingSpaces = !0, f && (f.hasLeadingSpaces = !0))) : (r.removeChild(o), s--, (l || p) && (g && (g.hasTrailingSpaces = !0), f && (f.hasLeadingSpaces = !0)));
2653
- }
2410
+ let a = ma(r, t), i = yr(r);
2411
+ if (!a) for (let s = 0; s < n.length; s++) {
2412
+ let o = n[s];
2413
+ if (o.kind !== "text") continue;
2414
+ let { leadingWhitespace: l, text: c, trailingWhitespace: p } = pa(o.value), C = o.prev, g = o.next;
2415
+ c ? (o.value = c, o.sourceSpan = new d(o.sourceSpan.start.moveBy(l.length), o.sourceSpan.end.moveBy(-p.length)), l && (C && (C.hasTrailingSpaces = !0), o.hasLeadingSpaces = !0), p && (o.hasTrailingSpaces = !0, g && (g.hasLeadingSpaces = !0))) : (r.removeChild(o), s--, (l || p) && (C && (C.hasTrailingSpaces = !0), g && (g.hasLeadingSpaces = !0)));
2416
+ }
2654
2417
  r.isWhitespaceSensitive = a, r.isIndentationSensitive = i;
2655
2418
  });
2656
2419
  }
2657
- function ao(e) {
2420
+ function Gs(e) {
2658
2421
  e.walk((t) => {
2659
2422
  t.isSelfClosing = !t.children || t.kind === "element" && (t.tagDefinition.isVoid || t.endSourceSpan && t.startSourceSpan.start === t.endSourceSpan.start && t.startSourceSpan.end === t.endSourceSpan.end);
2660
2423
  });
2661
2424
  }
2662
- function io(e, t) {
2425
+ function Ks(e, t) {
2663
2426
  e.walk((r) => {
2664
2427
  r.kind === "element" && (r.hasHtmComponentClosingTag = r.endSourceSpan && /^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset, r.endSourceSpan.end.offset)));
2665
2428
  });
2666
2429
  }
2667
- function so(e, t) {
2430
+ function Ys(e, t) {
2668
2431
  e.walk((r) => {
2669
- r.cssDisplay = Ua(r, t);
2432
+ r.cssDisplay = Na(r, t);
2670
2433
  });
2671
2434
  }
2672
- function oo(e, t) {
2435
+ function Js(e, t) {
2673
2436
  e.walk((r) => {
2674
2437
  let { children: n } = r;
2675
2438
  if (n) {
2676
2439
  if (n.length === 0) {
2677
- r.isDanglingSpaceSensitive = xa(r, t);
2440
+ r.isDanglingSpaceSensitive = _a(r, t);
2678
2441
  return;
2679
2442
  }
2680
- for (let a of n)
2681
- a.isLeadingSpaceSensitive = ya(a, t), a.isTrailingSpaceSensitive = Da(a, t);
2443
+ for (let a of n) a.isLeadingSpaceSensitive = ga(a, t), a.isTrailingSpaceSensitive = fa(a, t);
2682
2444
  for (let a = 0; a < n.length; a++) {
2683
2445
  let i = n[a];
2684
2446
  i.isLeadingSpaceSensitive = (a === 0 || i.prev.isTrailingSpaceSensitive) && i.isLeadingSpaceSensitive, i.isTrailingSpaceSensitive = (a === n.length - 1 || i.next.isLeadingSpaceSensitive) && i.isTrailingSpaceSensitive;
@@ -2686,84 +2448,78 @@ function oo(e, t) {
2686
2448
  }
2687
2449
  });
2688
2450
  }
2689
- var uo = Ys;
2690
- function lo(e, t, r) {
2451
+ var Qs = Hs;
2452
+ function Zs(e, t, r) {
2691
2453
  let { node: n } = e;
2692
2454
  switch (n.kind) {
2693
2455
  case "root":
2694
- return t.__onHtmlRoot && t.__onHtmlRoot(n), [A(Ot(e, t, r)), E];
2456
+ return t.__onHtmlRoot && t.__onHtmlRoot(n), [A(wt(e, t, r)), v];
2695
2457
  case "element":
2696
2458
  case "ieConditionalComment":
2697
- return os(e, t, r);
2459
+ return Ji(e, t, r);
2698
2460
  case "angularControlFlowBlock":
2699
- return rs(e, t, r);
2461
+ return zi(e, t, r);
2700
2462
  case "angularControlFlowBlockParameters":
2701
- return as(e, t, r);
2463
+ return Gi(e, t, r);
2702
2464
  case "angularControlFlowBlockParameter":
2703
- return N.trim(n.expression);
2465
+ return x.trim(n.expression);
2704
2466
  case "angularLetDeclaration":
2705
- return A(["@let ", A([n.id, " =", A(F([S, r("init")]))]), ";"]);
2467
+ return A(["@let ", A([n.id, " =", A(O([S, r("init")]))]), ";"]);
2706
2468
  case "angularLetDeclarationInitializer":
2707
2469
  return n.value;
2708
2470
  case "angularIcuExpression":
2709
- return is(e, t, r);
2471
+ return Ki(e, t, r);
2710
2472
  case "angularIcuCase":
2711
- return ss(e, t, r);
2473
+ return Yi(e, t, r);
2712
2474
  case "ieConditionalStartComment":
2713
2475
  case "ieConditionalEndComment":
2714
- return [ge(n), me(n)];
2476
+ return [me(n), de(n)];
2715
2477
  case "interpolation":
2716
- return [ge(n, t), ...e.map(r, "children"), me(n, t)];
2478
+ return [me(n, t), ...e.map(r, "children"), de(n, t)];
2717
2479
  case "text": {
2718
2480
  if (n.parent.kind === "interpolation") {
2719
2481
  let o = /\n[^\S\n]*$/u, l = o.test(n.value), c = l ? n.value.replace(o, "") : n.value;
2720
- return [O(c), l ? E : ""];
2482
+ return [L(c), l ? v : ""];
2721
2483
  }
2722
- let a = X(n, t), i = Xr(n), s = $(n, t);
2723
- return i[0] = [a, i[0]], i.push([i.pop(), s]), xr(i);
2484
+ let a = $(n, t), i = Ir(n), s = W(n, t);
2485
+ return i[0] = [a, i[0]], i.push([i.pop(), s]), Er(i);
2724
2486
  }
2725
2487
  case "docType":
2726
- return [A([ge(n, t), " ", k(0, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), me(n, t)];
2488
+ return [A([me(n, t), " ", b(0, n.value.replace(/^html\b/iu, "html"), /\s+/gu, " ")]), de(n, t)];
2727
2489
  case "comment":
2728
- return [X(n, t), O(t.originalText.slice(we(n), $e(n))), $(n, t)];
2490
+ return [$(n, t), L(t.originalText.slice(be(n), Ue(n))), W(n, t)];
2729
2491
  case "attribute": {
2730
- if (n.value === null)
2731
- return n.rawName;
2732
- let a = jr(n.value), i = Kr(n, t) ? "" : Wn(a, '"');
2733
- return [n.rawName, "=", i, O(i === '"' ? k(0, a, '"', "&quot;") : k(0, a, "'", "&apos;")), i];
2492
+ if (n.value === null) return n.rawName;
2493
+ let a = Pr(n.value), i = Mr(n, t) ? "" : Nn(a, '"');
2494
+ return [n.rawName, "=", i, L(i === '"' ? b(0, a, '"', "&quot;") : b(0, a, "'", "&apos;")), i];
2734
2495
  }
2735
- case "frontMatter":
2736
- case "cdata":
2737
2496
  default:
2738
- throw new Yn(n, "HTML");
2497
+ throw new Rn(n, "HTML");
2739
2498
  }
2740
2499
  }
2741
- var co = { features: { experimental_frontMatterSupport: { massageAstNode: !0, embed: !0, print: !0 } }, preprocess: uo, print: lo, insertPragma: es, massageAstNode: Zn, embed: Vi, getVisitorKeys: Gi }, po = co, ho = [{ name: "Angular", type: "markup", aceMode: "html", extensions: [".component.html"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "HTML", type: "markup", aceMode: "html", extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["html"], vscodeLanguageIds: ["html"], linguistLanguageId: 146 }, { name: "Lightning Web Components", type: "markup", aceMode: "html", extensions: [], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "MJML", type: "markup", aceMode: "html", extensions: [".mjml"], tmScope: "text.mjml.basic", aliases: ["MJML", "mjml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["mjml"], filenames: [], vscodeLanguageIds: ["mjml"], linguistLanguageId: 146 }, { name: "Vue", type: "markup", aceMode: "vue", extensions: [".vue"], tmScope: "source.vue", codemirrorMode: "vue", codemirrorMimeType: "text/x-vue", parsers: ["vue"], vscodeLanguageIds: ["vue"], linguistLanguageId: 391 }], cr = { 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." } }, pr = "HTML", mo = { bracketSameLine: cr.bracketSameLine, htmlWhitespaceSensitivity: { category: pr, 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: cr.singleAttributePerLine, vueIndentScriptAndStyle: { category: pr, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, go = mo, pn = {};
2742
- Cr(pn, { angular: () => Wo, html: () => Ho, lwc: () => $o, mjml: () => Uo, vue: () => zo });
2743
- function fo(e, t) {
2500
+ var eo = { features: { experimental_frontMatterSupport: { massageAstNode: !0, embed: !0, print: !0 } }, preprocess: Qs, print: Zs, insertPragma: Ui, massageAstNode: Hn, embed: xi, getVisitorKeys: Ii }, to = eo, ro = [{ name: "Angular", type: "markup", aceMode: "html", extensions: [".component.html"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["angular"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "HTML", type: "markup", aceMode: "html", extensions: [".html", ".hta", ".htm", ".html.hl", ".inc", ".xht", ".xhtml"], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["html"], vscodeLanguageIds: ["html"], linguistLanguageId: 146 }, { name: "Lightning Web Components", type: "markup", aceMode: "html", extensions: [], tmScope: "text.html.basic", aliases: ["xhtml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["lwc"], vscodeLanguageIds: ["html"], filenames: [], linguistLanguageId: 146 }, { name: "MJML", type: "markup", aceMode: "html", extensions: [".mjml"], tmScope: "text.mjml.basic", aliases: ["MJML", "mjml"], codemirrorMode: "htmlmixed", codemirrorMimeType: "text/html", parsers: ["mjml"], filenames: [], vscodeLanguageIds: ["mjml"], linguistLanguageId: 146 }, { name: "Vue", type: "markup", aceMode: "vue", extensions: [".vue"], tmScope: "source.vue", codemirrorMode: "vue", codemirrorMimeType: "text/x-vue", parsers: ["vue"], vscodeLanguageIds: ["vue"], linguistLanguageId: 391 }], tr = { 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." } }, rr = "HTML", no = { bracketSameLine: tr.bracketSameLine, htmlWhitespaceSensitivity: { category: rr, 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: tr.singleAttributePerLine, vueIndentScriptAndStyle: { category: rr, type: "boolean", default: !1, description: "Indent script and style tags in Vue files." } }, ao = no, Zr = {};
2501
+ ur(Zr, { angular: () => Oo, html: () => No, lwc: () => Po, mjml: () => Lo, vue: () => Fo });
2502
+ function io(e, t) {
2744
2503
  let r = new SyntaxError(e + " (" + t.loc.start.line + ":" + t.loc.start.column + ")");
2745
2504
  return Object.assign(r, t);
2746
2505
  }
2747
- var _o = fo, Co = { canSelfClose: !0, normalizeTagName: !1, normalizeAttributeName: !1, allowHtmComponentClosingTags: !1, isTagNameCaseSensitive: !1, shouldParseFrontMatter: !0 };
2748
- function hn(e) {
2749
- return { ...Co, ...e };
2506
+ var so = io, oo = { canSelfClose: !0, normalizeTagName: !1, normalizeAttributeName: !1, allowHtmComponentClosingTags: !1, isTagNameCaseSensitive: !1, shouldParseFrontMatter: !0 };
2507
+ function en(e) {
2508
+ return { ...oo, ...e };
2750
2509
  }
2751
- function dn(e) {
2510
+ function tn(e) {
2752
2511
  let { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, shouldParseAsRawText: a, tokenizeAngularBlocks: i, tokenizeAngularLetDeclaration: s } = e;
2753
- return { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, getTagContentType: a ? (...o) => a(...o) ? R.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: i, tokenizeAngularLetDeclaration: s };
2512
+ return { canSelfClose: t, allowHtmComponentClosingTags: r, isTagNameCaseSensitive: n, getTagContentType: a ? (...o) => a(...o) ? P.RAW_TEXT : void 0 : void 0, tokenizeAngularBlocks: i, tokenizeAngularLetDeclaration: s };
2754
2513
  }
2755
- var st = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autocorrect", "autofocus", "class", "contenteditable", "dir", "draggable", "enterkeyhint", "exportparts", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "nonce", "part", "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(["command", "commandfor", "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(["closedby", "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", "alpha", "alt", "autocomplete", "checked", "colorspace", "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", "shadowrootcustomelementregistry", "shadowrootdelegatesfocus", "shadowrootmode", "shadowrootserializable"])], ["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"])]]), vo = /* @__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", "fencedframe", "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", "selectedcontent", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp"]), Ie = { attrs: !0, children: !0, cases: !0, expression: !0 }, hr = /* @__PURE__ */ new Set(["parent"]), Q, gt, ft, Eo = class de {
2514
+ var Ze = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "autocapitalize", "autocorrect", "autofocus", "class", "contenteditable", "dir", "draggable", "enterkeyhint", "exportparts", "hidden", "id", "inert", "inputmode", "is", "itemid", "itemprop", "itemref", "itemscope", "itemtype", "lang", "nonce", "part", "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(["command", "commandfor", "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(["closedby", "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", "alpha", "alt", "autocomplete", "checked", "colorspace", "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", "shadowrootcustomelementregistry", "shadowrootdelegatesfocus", "shadowrootmode", "shadowrootserializable"])], ["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"])]]), uo = /* @__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", "fencedframe", "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", "selectedcontent", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "svg", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "tt", "u", "ul", "var", "video", "wbr", "xmp"]), Fe = { attrs: !0, children: !0, cases: !0, expression: !0 }, nr = /* @__PURE__ */ new Set(["parent"]), J, ut, lt, lo = class he {
2756
2515
  constructor(t = {}) {
2757
- En(this, Q), Mt(this, "kind"), Mt(this, "parent");
2758
- for (let r of /* @__PURE__ */ new Set([...hr, ...Object.keys(t)]))
2759
- this.setProperty(r, t[r]);
2760
- if (Ue(t))
2761
- for (let r of Object.getOwnPropertySymbols(t))
2762
- this.setProperty(r, t[r]);
2516
+ on(this, J), xt(this, "kind"), xt(this, "parent");
2517
+ for (let r of /* @__PURE__ */ new Set([...nr, ...Object.keys(t)])) this.setProperty(r, t[r]);
2518
+ if (qe(t)) for (let r of Object.getOwnPropertySymbols(t)) this.setProperty(r, t[r]);
2763
2519
  }
2764
2520
  setProperty(t, r) {
2765
2521
  if (this[t] !== r) {
2766
- if (t in Ie && (r = r.map((n) => this.createChild(n))), !hr.has(t)) {
2522
+ if (t in Fe && (r = r.map((n) => this.createChild(n))), !nr.has(t)) {
2767
2523
  this[t] = r;
2768
2524
  return;
2769
2525
  }
@@ -2772,29 +2528,25 @@ var st = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "a
2772
2528
  }
2773
2529
  map(t) {
2774
2530
  let r;
2775
- for (let n in Ie) {
2531
+ for (let n in Fe) {
2776
2532
  let a = this[n];
2777
2533
  if (a) {
2778
- let i = Ao(a, (s) => s.map(t));
2779
- r !== a && (r || (r = new de({ parent: this.parent })), r.setProperty(n, i));
2534
+ let i = po(a, (s) => s.map(t));
2535
+ r !== a && (r || (r = new he({ parent: this.parent })), r.setProperty(n, i));
2780
2536
  }
2781
2537
  }
2782
- if (r)
2783
- for (let n in this)
2784
- n in Ie || (r[n] = this[n]);
2538
+ if (r) for (let n in this) n in Fe || (r[n] = this[n]);
2785
2539
  return t(r || this);
2786
2540
  }
2787
2541
  walk(t) {
2788
- for (let r in Ie) {
2542
+ for (let r in Fe) {
2789
2543
  let n = this[r];
2790
- if (n)
2791
- for (let a = 0; a < n.length; a++)
2792
- n[a].walk(t);
2544
+ if (n) for (let a = 0; a < n.length; a++) n[a].walk(t);
2793
2545
  }
2794
2546
  t(this);
2795
2547
  }
2796
2548
  createChild(t) {
2797
- let r = t instanceof de ? t.clone() : new de(t);
2549
+ let r = t instanceof he ? t.clone() : new he(t);
2798
2550
  return r.setProperty("parent", this), r;
2799
2551
  }
2800
2552
  insertChildBefore(t, r) {
@@ -2810,27 +2562,26 @@ var st = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "a
2810
2562
  n[n.indexOf(t)] = this.createChild(r);
2811
2563
  }
2812
2564
  clone() {
2813
- return new de(this);
2565
+ return new he(this);
2814
2566
  }
2815
2567
  get $children() {
2816
- return this[Be(this, Q, gt)];
2568
+ return this[Ne(this, J, ut)];
2817
2569
  }
2818
2570
  set $children(t) {
2819
- this[Be(this, Q, gt)] = t;
2571
+ this[Ne(this, J, ut)] = t;
2820
2572
  }
2821
2573
  get firstChild() {
2822
- var t;
2823
- return (t = this.$children) == null ? void 0 : t[0];
2574
+ return this.$children?.[0];
2824
2575
  }
2825
2576
  get lastChild() {
2826
- return ee(1, this.$children, -1);
2577
+ return Z(1, this.$children, -1);
2827
2578
  }
2828
2579
  get prev() {
2829
- let t = Be(this, Q, ft);
2580
+ let t = Ne(this, J, lt);
2830
2581
  return t[t.indexOf(this) - 1];
2831
2582
  }
2832
2583
  get next() {
2833
- let t = Be(this, Q, ft);
2584
+ let t = Ne(this, J, lt);
2834
2585
  return t[t.indexOf(this) + 1];
2835
2586
  }
2836
2587
  get rawName() {
@@ -2843,28 +2594,25 @@ var st = /* @__PURE__ */ new Map([["*", /* @__PURE__ */ new Set(["accesskey", "a
2843
2594
  return Object.fromEntries(this.attrs.map((t) => [t.fullName, t.value]));
2844
2595
  }
2845
2596
  };
2846
- Q = /* @__PURE__ */ new WeakSet(), gt = function() {
2597
+ J = /* @__PURE__ */ new WeakSet(), ut = function() {
2847
2598
  return this.kind === "angularIcuCase" ? "expression" : this.kind === "angularIcuExpression" ? "cases" : "children";
2848
- }, ft = function() {
2849
- var e;
2850
- return ((e = this.parent) == null ? void 0 : e.$children) ?? [];
2599
+ }, lt = function() {
2600
+ return this.parent?.$children ?? [];
2851
2601
  };
2852
- var So = Eo;
2853
- function Ao(e, t) {
2602
+ var co = lo;
2603
+ function po(e, t) {
2854
2604
  let r = e.map(t);
2855
2605
  return r.some((n, a) => n !== e[a]) ? r : e;
2856
2606
  }
2857
- var To = [{ regex: /^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/su, parse: ko }, { regex: /^\[if(?<condition>[^\]]*)\]><!$/u, parse: wo }, { regex: /^<!\s*\[endif\]$/u, parse: yo }];
2858
- function bo(e, t) {
2859
- if (e.value)
2860
- for (let { regex: r, parse: n } of To) {
2861
- let a = e.value.match(r);
2862
- if (a)
2863
- return n(e, a, t);
2864
- }
2607
+ var ho = [{ regex: /^(?<openingTagSuffix>\[if(?<condition>[^\]]*)\]>)(?<data>.*?)<!\s*\[endif\]$/su, parse: go }, { regex: /^\[if(?<condition>[^\]]*)\]><!$/u, parse: fo }, { regex: /^<!\s*\[endif\]$/u, parse: _o }];
2608
+ function mo(e, t) {
2609
+ if (e.value) for (let { regex: r, parse: n } of ho) {
2610
+ let a = e.value.match(r);
2611
+ if (a) return n(e, a, t);
2612
+ }
2865
2613
  return null;
2866
2614
  }
2867
- function ko(e, t, r) {
2615
+ function go(e, t, r) {
2868
2616
  let { openingTagSuffix: n, condition: a, data: i } = t.groups, s = 4 + n.length, o = e.sourceSpan.start.moveBy(s), l = o.moveBy(i.length), [c, p] = (() => {
2869
2617
  try {
2870
2618
  return [!0, r(i, o).children];
@@ -2872,67 +2620,65 @@ function ko(e, t, r) {
2872
2620
  return [!1, [{ kind: "text", value: i, sourceSpan: new d(o, l) }]];
2873
2621
  }
2874
2622
  })();
2875
- return { kind: "ieConditionalComment", complete: c, children: p, condition: k(0, a.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan, startSourceSpan: new d(e.sourceSpan.start, o), endSourceSpan: new d(l, e.sourceSpan.end) };
2623
+ return { kind: "ieConditionalComment", complete: c, children: p, condition: b(0, a.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan, startSourceSpan: new d(e.sourceSpan.start, o), endSourceSpan: new d(l, e.sourceSpan.end) };
2876
2624
  }
2877
- function wo(e, t) {
2625
+ function fo(e, t) {
2878
2626
  let { condition: r } = t.groups;
2879
- return { kind: "ieConditionalStartComment", condition: k(0, r.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan };
2627
+ return { kind: "ieConditionalStartComment", condition: b(0, r.trim(), /\s+/gu, " "), sourceSpan: e.sourceSpan };
2880
2628
  }
2881
- function yo(e) {
2629
+ function _o(e) {
2882
2630
  return { kind: "ieConditionalEndComment", sourceSpan: e.sourceSpan };
2883
2631
  }
2884
- var Do = class extends Ds {
2632
+ var Co = class extends Cs {
2885
2633
  visitExpansionCase(e, t) {
2886
2634
  t.parseOptions.name === "angular" && this.visitChildren(t, (r) => {
2887
2635
  r(e.expression);
2888
2636
  });
2889
2637
  }
2890
2638
  visit(e, { parseOptions: t }) {
2891
- Oo(e), Fo(e, t), Io(e, t), Po(e);
2639
+ To(e), ko(e, t), wo(e, t), bo(e);
2892
2640
  }
2893
2641
  };
2894
- function xo(e, t, r, n) {
2895
- on(new Do(), e.children, { parseOptions: r }), t && e.children.unshift(t);
2896
- let a = new So(e);
2642
+ function Eo(e, t, r, n) {
2643
+ Kr(new Co(), e.children, { parseOptions: r }), t && e.children.unshift(t);
2644
+ let a = new co(e);
2897
2645
  return a.walk((i) => {
2898
2646
  if (i.kind === "comment") {
2899
- let s = bo(i, n);
2647
+ let s = mo(i, n);
2900
2648
  s && i.parent.replaceChild(i, s);
2901
2649
  }
2902
- No(i), Bo(i), Lo(i);
2650
+ vo(i), So(i), Ao(i);
2903
2651
  }), a;
2904
2652
  }
2905
- function No(e) {
2653
+ function vo(e) {
2906
2654
  if (e.kind === "block") {
2907
- if (e.name = k(0, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.kind = "angularControlFlowBlock", !wt(e.parameters)) {
2655
+ if (e.name = b(0, e.name.toLowerCase(), /\s+/gu, " ").trim(), e.kind = "angularControlFlowBlock", !Et(e.parameters)) {
2908
2656
  delete e.parameters;
2909
2657
  return;
2910
2658
  }
2911
- for (let t of e.parameters)
2912
- t.kind = "angularControlFlowBlockParameter";
2913
- e.parameters = { kind: "angularControlFlowBlockParameters", children: e.parameters, sourceSpan: new d(e.parameters[0].sourceSpan.start, ee(0, e.parameters, -1).sourceSpan.end) };
2659
+ for (let t of e.parameters) t.kind = "angularControlFlowBlockParameter";
2660
+ e.parameters = { kind: "angularControlFlowBlockParameters", children: e.parameters, sourceSpan: new d(e.parameters[0].sourceSpan.start, Z(0, e.parameters, -1).sourceSpan.end) };
2914
2661
  }
2915
2662
  }
2916
- function Bo(e) {
2663
+ function So(e) {
2917
2664
  e.kind === "letDeclaration" && (e.kind = "angularLetDeclaration", e.id = e.name, e.init = { kind: "angularLetDeclarationInitializer", sourceSpan: new d(e.valueSpan.start, e.valueSpan.end), value: e.value }, delete e.name, delete e.value);
2918
2665
  }
2919
- function Lo(e) {
2666
+ function Ao(e) {
2920
2667
  e.kind === "expansion" && (e.kind = "angularIcuExpression"), e.kind === "expansionCase" && (e.kind = "angularIcuCase");
2921
2668
  }
2922
- function dr(e, t) {
2669
+ function ar(e, t) {
2923
2670
  let r = e.toLowerCase();
2924
2671
  return t(r) ? r : e;
2925
2672
  }
2926
- function mr(e) {
2673
+ function ir(e) {
2927
2674
  let t = e.name.startsWith(":") ? e.name.slice(1).split(":")[0] : null, r = e.nameSpan.toString(), n = t !== null && r.startsWith(`${t}:`), a = n ? r.slice(t.length + 1) : r;
2928
2675
  e.name = a, e.namespace = t, e.hasExplicitNamespace = n;
2929
2676
  }
2930
- function Oo(e) {
2677
+ function To(e) {
2931
2678
  switch (e.kind) {
2932
2679
  case "element":
2933
- mr(e);
2934
- for (let t of e.attrs)
2935
- mr(t), t.valueSpan ? (t.value = t.valueSpan.toString(), /["']/u.test(t.value[0]) && (t.value = t.value.slice(1, -1))) : t.value = null;
2680
+ ir(e);
2681
+ for (let t of e.attrs) ir(t), t.valueSpan ? (t.value = t.valueSpan.toString(), /["']/u.test(t.value[0]) && (t.value = t.value.slice(1, -1))) : t.value = null;
2936
2682
  break;
2937
2683
  case "comment":
2938
2684
  e.value = e.sourceSpan.toString().slice(4, -3);
@@ -2942,80 +2688,73 @@ function Oo(e) {
2942
2688
  break;
2943
2689
  }
2944
2690
  }
2945
- function Fo(e, t) {
2691
+ function ko(e, t) {
2946
2692
  if (e.kind === "element") {
2947
- let r = lt(t.isTagNameCaseSensitive ? e.name : e.name.toLowerCase());
2948
- !e.namespace || e.namespace === r.implicitNamespacePrefix || be(e) ? e.tagDefinition = r : e.tagDefinition = lt("");
2693
+ let r = rt(t.isTagNameCaseSensitive ? e.name : e.name.toLowerCase());
2694
+ !e.namespace || e.namespace === r.implicitNamespacePrefix || Te(e) ? e.tagDefinition = r : e.tagDefinition = rt("");
2949
2695
  }
2950
2696
  }
2951
- function Po(e) {
2697
+ function bo(e) {
2952
2698
  e.sourceSpan && e.endSourceSpan && (e.sourceSpan = new d(e.sourceSpan.start, e.endSourceSpan.end));
2953
2699
  }
2954
- function Io(e, t) {
2955
- if (e.kind === "element" && (t.normalizeTagName && (!e.namespace || e.namespace === e.tagDefinition.implicitNamespacePrefix || be(e)) && (e.name = dr(e.name, (r) => vo.has(r))), t.normalizeAttributeName))
2956
- for (let r of e.attrs)
2957
- r.namespace || (r.name = dr(r.name, (n) => st.has(e.name) && (st.get("*").has(n) || st.get(e.name).has(n))));
2700
+ function wo(e, t) {
2701
+ if (e.kind === "element" && (t.normalizeTagName && (!e.namespace || e.namespace === e.tagDefinition.implicitNamespacePrefix || Te(e)) && (e.name = ar(e.name, (r) => uo.has(r))), t.normalizeAttributeName)) for (let r of e.attrs) r.namespace || (r.name = ar(r.name, (n) => Ze.has(e.name) && (Ze.get("*").has(n) || Ze.get(e.name).has(n))));
2958
2702
  }
2959
- function mn(e, t) {
2960
- let { rootNodes: r, errors: n } = mt(e, dn(t));
2961
- return n.length > 0 && _t(n[0]), { parseOptions: t, rootNodes: r };
2703
+ function rn(e, t) {
2704
+ let { rootNodes: r, errors: n } = ot(e, tn(t));
2705
+ return n.length > 0 && ct(n[0]), { parseOptions: t, rootNodes: r };
2962
2706
  }
2963
- function Ro(e, t) {
2964
- let r = dn(t), { rootNodes: n, errors: a } = mt(e, r);
2965
- if (n.some((l) => l.kind === "docType" && l.value === "html" || l.kind === "element" && l.name.toLowerCase() === "html"))
2966
- return mn(e, Pt);
2967
- let i, s = () => i ?? (i = mt(e, { ...r, getTagContentType: void 0 })), o = (l) => {
2707
+ function yo(e, t) {
2708
+ let r = tn(t), { rootNodes: n, errors: a } = ot(e, r);
2709
+ if (n.some((l) => l.kind === "docType" && l.value === "html" || l.kind === "element" && l.name.toLowerCase() === "html")) return rn(e, Dt);
2710
+ let i, s = () => i ?? (i = ot(e, { ...r, getTagContentType: void 0 })), o = (l) => {
2968
2711
  let { offset: c } = l.startSourceSpan.start;
2969
2712
  return s().rootNodes.find((p) => p.kind === "element" && p.startSourceSpan.start.offset === c) ?? l;
2970
2713
  };
2971
- for (let [l, c] of n.entries())
2972
- if (c.kind === "element") {
2973
- if (c.isVoid)
2974
- a = s().errors, n[l] = o(c);
2975
- else if (Mo(c)) {
2976
- let { endSourceSpan: p, startSourceSpan: g } = c, f = s().errors.find((h) => h.span.start.offset > g.start.offset && h.span.start.offset < p.end.offset);
2977
- f && _t(f), n[l] = o(c);
2978
- }
2714
+ for (let [l, c] of n.entries()) if (c.kind === "element") {
2715
+ if (c.isVoid) a = s().errors, n[l] = o(c);
2716
+ else if (Do(c)) {
2717
+ let { endSourceSpan: p, startSourceSpan: C } = c, g = s().errors.find((h) => h.span.start.offset > C.start.offset && h.span.start.offset < p.end.offset);
2718
+ g && ct(g), n[l] = o(c);
2979
2719
  }
2980
- return a.length > 0 && _t(a[0]), { parseOptions: t, rootNodes: n };
2720
+ }
2721
+ return a.length > 0 && ct(a[0]), { parseOptions: t, rootNodes: n };
2981
2722
  }
2982
- function Mo(e) {
2983
- var r;
2984
- if (e.kind !== "element" || e.name !== "template")
2985
- return !1;
2986
- let t = (r = e.attrs.find((n) => n.name === "lang")) == null ? void 0 : r.value;
2723
+ function Do(e) {
2724
+ if (e.kind !== "element" || e.name !== "template") return !1;
2725
+ let t = e.attrs.find((r) => r.name === "lang")?.value;
2987
2726
  return !t || t === "html";
2988
2727
  }
2989
- function _t(e) {
2728
+ function ct(e) {
2990
2729
  let { msg: t, span: { start: r, end: n } } = e;
2991
- throw _o(t, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: e });
2730
+ throw so(t, { loc: { start: { line: r.line + 1, column: r.col + 1 }, end: { line: n.line + 1, column: n.col + 1 } }, cause: e });
2992
2731
  }
2993
- function qo(e, t, r, n, a, i) {
2994
- let { offset: s } = n, o = k(0, t.slice(0, s), /[^\n]/gu, " ") + r, l = gn(o, e, { ...a, shouldParseFrontMatter: !1 }, i);
2995
- l.sourceSpan = new d(n, ee(0, l.children, -1).sourceSpan.end);
2732
+ function xo(e, t, r, n, a, i) {
2733
+ let { offset: s } = n, o = b(0, t.slice(0, s), /[^\n]/gu, " ") + r, l = nn(o, e, { ...a, shouldParseFrontMatter: !1 }, i);
2734
+ l.sourceSpan = new d(n, Z(0, l.children, -1).sourceSpan.end);
2996
2735
  let c = l.children[0];
2997
2736
  return c.length === s ? l.children.shift() : (c.sourceSpan = new d(c.sourceSpan.start.moveBy(s), c.sourceSpan.end), c.value = c.value.slice(s)), l;
2998
2737
  }
2999
- function gn(e, t, r, n = {}) {
3000
- let { frontMatter: a, content: i } = r.shouldParseFrontMatter ? Ca(e) : { content: e }, s = new sn(e, n.filepath), o = new ct(s, 0, 0, 0), l = o.moveBy(e.length), { parseOptions: c, rootNodes: p } = t(i, r), g = { kind: "root", sourceSpan: new d(o, l), children: p }, f;
2738
+ function nn(e, t, r, n = {}) {
2739
+ let { frontMatter: a, content: i } = r.shouldParseFrontMatter ? sa(e) : { content: e }, s = new Gr(e, n.filepath), o = new nt(s, 0, 0, 0), l = o.moveBy(e.length), { parseOptions: c, rootNodes: p } = t(i, r), C = { kind: "root", sourceSpan: new d(o, l), children: p }, g;
3001
2740
  if (a) {
3002
- let [h, _] = [a.start, a.end].map((C) => new ct(s, C.index, C.line - 1, C.column));
3003
- f = { ...a, kind: "frontMatter", sourceSpan: new d(h, _) };
2741
+ let [h, f] = [a.start, a.end].map((E) => new nt(s, E.index, E.line - 1, E.column));
2742
+ g = { ...a, kind: "frontMatter", sourceSpan: new d(h, f) };
3004
2743
  }
3005
- return xo(g, f, c, (h, _) => qo(t, e, h, _, c, n));
2744
+ return Eo(C, g, c, (h, f) => xo(t, e, h, f, c, n));
3006
2745
  }
3007
- var Pt = hn({ name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 });
3008
- function xe(e) {
3009
- let t = hn(e), r = t.name === "vue" ? Ro : mn;
3010
- return { parse: (n, a) => gn(n, r, t, a), hasPragma: Qi, hasIgnorePragma: Zi, astFormat: "html", locStart: we, locEnd: $e };
2746
+ var Dt = en({ name: "html", normalizeTagName: !0, normalizeAttributeName: !0, allowHtmComponentClosingTags: !0 });
2747
+ function De(e) {
2748
+ let t = en(e), r = t.name === "vue" ? yo : rn;
2749
+ return { parse: (n, a) => nn(n, r, t, a), hasPragma: Hi, hasIgnorePragma: Vi, astFormat: "html", locStart: be, locEnd: Ue };
3011
2750
  }
3012
- var Ho = xe(Pt), Vo = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]), Uo = xe({ ...Pt, name: "mjml", shouldParseAsRawText: (e) => Vo.has(e) }), Wo = xe({ name: "angular", tokenizeAngularBlocks: !0, tokenizeAngularLetDeclaration: !0 }), zo = xe({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(e, t, r, n) {
2751
+ var No = De(Dt), Bo = /* @__PURE__ */ new Set(["mj-style", "mj-raw"]), Lo = De({ ...Dt, name: "mjml", shouldParseAsRawText: (e) => Bo.has(e) }), Oo = De({ name: "angular", tokenizeAngularBlocks: !0, tokenizeAngularLetDeclaration: !0 }), Fo = De({ name: "vue", isTagNameCaseSensitive: !0, shouldParseAsRawText(e, t, r, n) {
3013
2752
  return e.toLowerCase() !== "html" && !r && (e !== "template" || n.some(({ name: a, value: i }) => a === "lang" && i !== "html" && i !== "" && i !== void 0));
3014
- } }), $o = xe({ name: "lwc", canSelfClose: !1 }), jo = { html: po };
2753
+ } }), Po = De({ name: "lwc", canSelfClose: !1 }), Io = { html: to };
3015
2754
  export {
3016
- Sn as default,
3017
- ho as languages,
3018
- go as options,
3019
- pn as parsers,
3020
- jo as printers
2755
+ un as default,
2756
+ ro as languages,
2757
+ ao as options,
2758
+ Zr as parsers,
2759
+ Io as printers
3021
2760
  };