@opentiny/tiny-robot 0.3.0-alpha.2 → 0.3.0-alpha.20

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.
@@ -1,446 +1,250 @@
1
- var bn = Object.defineProperty;
2
- var _n = (u, e, t) => e in u ? bn(u, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : u[e] = t;
3
- var Iu = (u, e, t) => _n(u, typeof e != "symbol" ? e + "" : e, t);
4
- import { defineComponent as ku, ref as Se, createElementBlock as M, openBlock as T, createElementVNode as I, createVNode as ee, toDisplayString as xu, unref as uu, normalizeClass as mu, withDirectives as At, vShow as Ct, computed as Ou, useCssModule as mn, createCommentVNode as Nu, createTextVNode as xn, inject as j0, useAttrs as gn, createBlock as ru, resolveDynamicComponent as Cu, mergeProps as Pu, useCssVars as kn, useSlots as En, renderSlot as Ce, Fragment as te, renderList as ue, normalizeProps as n0, watch as An, createSlots as G0, withCtx as W0, guardReactiveProps as Cn, h as Z0, provide as V0 } from "vue";
1
+ var hn = Object.defineProperty;
2
+ var pn = (u, e, t) => e in u ? hn(u, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : u[e] = t;
3
+ var Mu = (u, e, t) => pn(u, typeof e != "symbol" ? e + "" : e, t);
4
+ import { defineComponent as Du, ref as c0, createElementBlock as $, openBlock as S, createElementVNode as Y, createVNode as At, toDisplayString as Au, unref as i0, normalizeClass as Eu, withDirectives as bn, vShow as _n, computed as J, useCssModule as mn, createCommentVNode as Xu, createBlock as eu, resolveDynamicComponent as mu, createTextVNode as xn, inject as $0, normalizeProps as Ae, mergeProps as Ju, h as j0, useSlots as gn, useAttrs as kn, normalizeStyle as En, renderSlot as ge, Fragment as u0, renderList as ke, watch as An, createSlots as G0, withCtx as W0, guardReactiveProps as Cn, provide as Z0 } from "vue";
5
5
  import { _ as Dn } from "../loading.js";
6
6
  import { t as yn } from "../utils.js";
7
- import { f as Dt, T as Fn, A as Tn, y as Sn } from "../tiny-robot-svgs.js";
8
- import { _ as Uu } from "../_plugin-vue_export-helper.js";
9
- import { u as wn } from "../index2.js";
10
- class s0 {
7
+ import { IconArrowUp as Fn, IconPlugin as V0, IconArrowDown as Tn, IconLoading as Sn, IconError as wn, IconCancelled as vn } from "@opentiny/tiny-robot-svgs";
8
+ import { _ as re } from "../_plugin-vue_export-helper.js";
9
+ import { u as Rn } from "../index2.js";
10
+ class a0 {
11
11
  }
12
- const vn = { class: "tr-bubble__step-text" }, Rn = { class: "tr-bubble__step-text-title" }, Mn = { class: "tr-bubble__step-text-content-wrapper" }, In = /* @__PURE__ */ ku({
12
+ const In = { class: "tr-bubble__step-text" }, Mn = { class: "tr-bubble__step-text-title" }, Ln = { class: "tr-bubble__step-text-content-wrapper" }, On = /* @__PURE__ */ Du({
13
13
  __name: "collapsible-text",
14
14
  props: {
15
15
  title: {},
16
- content: {}
16
+ content: {},
17
+ defaultOpen: { type: Boolean }
17
18
  },
18
19
  setup(u) {
19
- const e = u, t = Se(!1);
20
- return (n, r) => (T(), M("div", vn, [
21
- I("div", Rn, [
22
- I("span", null, xu(e.title), 1),
23
- ee(uu(Dt), {
24
- class: mu(["expand-icon", { "rotate-180": t.value }]),
20
+ const e = u, t = c0(e.defaultOpen ?? !1);
21
+ return (n, r) => (S(), $("div", In, [
22
+ Y("div", Mn, [
23
+ Y("span", null, Au(e.title), 1),
24
+ At(i0(Fn), {
25
+ class: Eu(["expand-icon", { "rotate-180": !t.value }]),
25
26
  onClick: r[0] || (r[0] = (o) => t.value = !t.value)
26
27
  }, null, 8, ["class"])
27
28
  ]),
28
- I("div", Mn, [
29
- At(I("div", { class: "tr-bubble__step-text-content" }, xu(e.content), 513), [
30
- [Ct, !t.value]
29
+ Y("div", Ln, [
30
+ bn(Y("div", { class: "tr-bubble__step-text-content" }, Au(e.content), 513), [
31
+ [_n, t.value]
31
32
  ])
32
33
  ])
33
34
  ]));
34
35
  }
35
- }), Ln = /* @__PURE__ */ Uu(In, [["__scopeId", "data-v-08a61852"]]), On = Ln, Nn = { class: "tr-bubble__text" }, Pn = /* @__PURE__ */ ku({
36
+ }), Nn = /* @__PURE__ */ re(On, [["__scopeId", "data-v-c614ffd3"]]), Bn = Nn, Pn = { class: "tr-bubble__text" }, zn = /* @__PURE__ */ Du({
36
37
  __name: "text",
37
38
  props: {
38
39
  content: {}
39
40
  },
40
41
  setup(u) {
41
42
  const e = u;
42
- return (t, n) => (T(), M("span", Nn, xu(e.content), 1));
43
+ return (t, n) => (S(), $("span", Pn, Au(e.content), 1));
43
44
  }
44
- }), Bn = /* @__PURE__ */ Uu(Pn, [["__scopeId", "data-v-44822584"]]), l0 = Bn, zn = { class: "tr-bubble__step-tool" }, qn = { class: "tr-bubble__step-tool-header" }, Un = { class: "tr-bubble__step-tool-left" }, Hn = { class: "tr-bubble__step-tool-title" }, $n = { class: "tr-bubble__step-tool-name" }, jn = { class: "tr-bubble__step-tool-expand" }, Gn = {
45
+ }), qn = /* @__PURE__ */ re(zn, [["__scopeId", "data-v-ddb66b72"]]), s0 = qn, Un = { class: "tr-bubble__step-tool" }, Hn = { class: "tr-bubble__step-tool-header" }, $n = { class: "tr-bubble__step-tool-left" }, jn = { class: "tr-bubble__step-tool-title" }, Gn = { class: "tr-bubble__step-tool-name" }, Wn = { class: "tr-bubble__step-tool-expand" }, Zn = {
45
46
  key: 0,
46
47
  class: "tr-bubble__step-tool-params"
47
- }, Wn = ["innerHTML"], Zn = /* @__PURE__ */ ku({
48
+ }, Vn = ["innerHTML"], Yn = /* @__PURE__ */ Du({
48
49
  __name: "tool",
49
50
  props: {
50
51
  name: {},
51
52
  status: {},
52
- params: {},
53
- formatPretty: { type: Boolean }
53
+ content: {},
54
+ formatPretty: { type: Boolean },
55
+ defaultOpen: { type: Boolean }
54
56
  },
55
57
  setup(u) {
56
- const e = u, t = Se(!1), n = Ou(() => e.status === "running" ? "正在调用" : e.status === "success" ? "已调用" : e.status === "failed" ? "调用失败" : "已取消"), r = mn(), o = (i) => {
57
- if (!i)
58
+ const e = u, t = c0(e.defaultOpen ?? !1), n = /* @__PURE__ */ new Map([
59
+ ["running", { text: "正在调用", icon: Sn }],
60
+ ["success", { text: "已调用", icon: V0 }],
61
+ ["failed", { text: "调用失败", icon: wn }],
62
+ ["cancelled", { text: "已取消", icon: vn }]
63
+ ]), r = J(() => n.get(e.status) || { text: "", icon: V0 }), o = mn(), i = (c) => {
64
+ if (!c)
58
65
  return "";
59
- let c = "";
60
- const a = e.formatPretty ? 2 : 0;
66
+ let a = "";
67
+ const s = e.formatPretty ? 2 : 0;
61
68
  try {
62
- typeof i == "string" ? c = JSON.stringify(JSON.parse(i), null, a) : c = JSON.stringify(i, null, a);
63
- } catch (s) {
64
- console.warn(s);
69
+ typeof c == "string" ? a = JSON.stringify(JSON.parse(c), null, s) : a = JSON.stringify(c, null, s);
70
+ } catch (d) {
71
+ console.warn(d);
65
72
  }
66
- return c = c.replace(
73
+ return a = a.replace(
67
74
  /("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)/g,
68
- (s) => {
75
+ (d) => {
69
76
  let f = "number";
70
- return /^"/.test(s) ? f = /:$/.test(s) ? "key" : "string" : /true|false/.test(s) ? f = "boolean" : /null/.test(s) && (f = "null"), `<span class="${r[f]}">${s}</span>`;
77
+ return /^"/.test(d) ? f = /:$/.test(d) ? "key" : "string" : /true|false/.test(d) ? f = "boolean" : /null/.test(d) && (f = "null"), `<span class="${o[f]}">${d}</span>`;
71
78
  }
72
- ), c;
79
+ ), a;
73
80
  };
74
- return (i, c) => (T(), M("div", zn, [
75
- I("div", qn, [
76
- I("div", Un, [
77
- ee(uu(Fn), { class: "tr-bubble__step-tool-icon" }),
78
- I("span", Hn, [
79
- xn(xu(n.value) + " ", 1),
80
- I("span", $n, xu(e.name), 1)
81
+ return (c, a) => (S(), $("div", Un, [
82
+ Y("div", Hn, [
83
+ Y("div", $n, [
84
+ (S(), eu(mu(r.value.icon), {
85
+ class: Eu(["tr-bubble__step-tool-icon", `icon-${e.status}`])
86
+ }, null, 8, ["class"])),
87
+ Y("span", jn, [
88
+ xn(Au(r.value.text) + " ", 1),
89
+ Y("span", Gn, Au(e.name), 1)
81
90
  ])
82
91
  ]),
83
- I("div", jn, [
84
- ee(uu(Tn), {
85
- class: mu(["expand-icon", { "-rotate-90": t.value }]),
86
- onClick: c[0] || (c[0] = (a) => t.value = !t.value)
92
+ Y("div", Wn, [
93
+ At(i0(Tn), {
94
+ class: Eu(["expand-icon", { "-rotate-90": !t.value }]),
95
+ onClick: a[0] || (a[0] = (s) => t.value = !t.value)
87
96
  }, null, 8, ["class"])
88
97
  ])
89
98
  ]),
90
- t.value ? Nu("", !0) : (T(), M("div", Gn, [
91
- c[1] || (c[1] = I("hr", { class: "tr-bubble__step-tool-hr" }, null, -1)),
92
- I("div", {
99
+ t.value ? (S(), $("div", Zn, [
100
+ a[1] || (a[1] = Y("hr", { class: "tr-bubble__step-tool-hr" }, null, -1)),
101
+ Y("div", {
93
102
  class: "tr-bubble__step-tool-params-content",
94
- innerHTML: o(e.params)
95
- }, null, 8, Wn)
96
- ]))
103
+ innerHTML: i(e.content)
104
+ }, null, 8, Vn)
105
+ ])) : Xu("", !0)
97
106
  ]));
98
107
  }
99
- }), Vn = "_number_jtifp_2", Yn = "_key_jtifp_6", Xn = "_string_jtifp_10", Jn = "_boolean_jtifp_14", Qn = {
100
- number: Vn,
101
- key: Yn,
102
- string: Xn,
103
- boolean: Jn,
104
- null: "_null_jtifp_18"
105
- }, Kn = {
106
- $style: Qn
107
- }, ur = /* @__PURE__ */ Uu(Zn, [["__cssModules", Kn], ["__scopeId", "data-v-95e13117"]]), er = ur, yt = /* @__PURE__ */ new Map([
108
- ["text", l0],
109
- ["tool", er],
110
- ["collapsible-text", On]
111
- ]), Ft = Symbol("bubbleMessageRendererMap"), Tt = Symbol("bubbleMessageFallbackRenderer"), tr = /* @__PURE__ */ ku({
112
- inheritAttrs: !1,
113
- __name: "Message",
114
- props: {
115
- type: {}
116
- },
117
- setup(u) {
118
- const e = j0(Ft, yt), t = j0(Tt, l0), n = u, r = gn(), o = (s) => {
119
- const f = { ...r, ...n }, d = e.get(s) || t;
120
- return typeof d == "function" ? { isComponent: !1, vNodeOrComponent: d(f) } : d instanceof s0 ? { isComponent: !1, vNodeOrComponent: d.render(f) } : typeof d == "object" && "component" in d ? { isComponent: !0, vNodeOrComponent: d.component, defaultProps: d.defaultProps } : { isComponent: !0, vNodeOrComponent: d };
121
- }, { isComponent: i, vNodeOrComponent: c, defaultProps: a } = o(n.type);
122
- return (s, f) => uu(i) ? (T(), ru(Cu(uu(c)), Pu({ key: 0 }, { ...uu(a), ...n, ...uu(r) }, {
123
- "data-type": n.type
124
- }), null, 16, ["data-type"])) : (T(), ru(Cu(uu(c)), {
125
- key: 1,
126
- "data-type": n.type
127
- }, null, 8, ["data-type"]));
128
- }
129
- }), nr = {
130
- key: 0,
131
- class: "tr-bubble__avatar"
132
- }, rr = { class: "tr-bubble__content-wrapper" }, or = {
133
- key: 0,
134
- class: "tr-bubble__content-messages"
135
- }, cr = {
136
- key: 1,
137
- class: "tr-bubble__body-text"
138
- }, ir = {
139
- key: 2,
140
- class: "tr-bubble__aborted"
141
- }, ar = {
142
- key: 3,
143
- class: "tr-bubble__footer"
144
- }, sr = /* @__PURE__ */ ku({
145
- __name: "Bubble",
108
+ }), Xn = "_number_h0nxx_2", Jn = "_key_h0nxx_6", Qn = "_string_h0nxx_10", Kn = "_boolean_h0nxx_14", ur = {
109
+ number: Xn,
110
+ key: Jn,
111
+ string: Qn,
112
+ boolean: Kn,
113
+ null: "_null_h0nxx_18"
114
+ }, er = {
115
+ $style: ur
116
+ }, tr = /* @__PURE__ */ re(Yn, [["__cssModules", er], ["__scopeId", "data-v-000c31fa"]]), nr = tr, Ct = /* @__PURE__ */ new Map([
117
+ ["text", s0],
118
+ ["tool", nr],
119
+ ["collapsible-text", Bn]
120
+ ]), Dt = Symbol("bubbleContentRendererMap"), yt = Symbol("bubbleContentFallbackRenderer"), rr = /* @__PURE__ */ Du({
121
+ __name: "ContentItem",
146
122
  props: {
147
- content: { default: "" },
148
- messages: {},
149
- id: {},
150
- role: {},
151
- loading: { type: Boolean },
152
- aborted: { type: Boolean },
153
- placement: { default: "start" },
154
- avatar: {},
155
- shape: { default: "corner" },
156
- contentRenderer: {},
157
- hidden: { type: Boolean },
158
- maxWidth: { default: "80%" }
123
+ item: {}
159
124
  },
160
125
  setup(u) {
161
- kn((i) => ({
162
- "555751ca": uu(yn)(e.maxWidth)
163
- }));
164
- const e = u, t = En(), n = Ou(() => {
165
- const i = e.contentRenderer;
166
- return i ? typeof i == "function" ? { isComponent: !1, vNodeOrComponent: i(e) } : i instanceof s0 ? { isComponent: !1, vNodeOrComponent: i.render(e) } : typeof i == "object" && "component" in i ? { isComponent: !0, vNodeOrComponent: i.component, defaultProps: i.defaultProps } : { isComponent: !0, vNodeOrComponent: i } : null;
167
- }), r = Ou(() => e.content), o = Ou(() => e.placement === "start");
168
- return (i, c) => {
169
- var a;
170
- return T(), M("div", {
171
- class: mu([
172
- "tr-bubble",
173
- {
174
- "placement-start": o.value,
175
- "placement-end": !o.value
176
- }
177
- ])
178
- }, [
179
- e.avatar ? (T(), M("div", nr, [
180
- (T(), ru(Cu(e.avatar)))
181
- ])) : Nu("", !0),
182
- I("div", rr, [
183
- e.loading ? Ce(i.$slots, "loading", {
184
- key: 0,
185
- bubbleProps: e
186
- }, () => [
187
- I("div", {
188
- class: mu(["tr-bubble__content", { "border-corner": e.shape === "corner" }])
189
- }, c[0] || (c[0] = [
190
- I("img", {
191
- src: Dn,
192
- alt: "loading",
193
- class: "tr-bubble__loading"
194
- }, null, -1)
195
- ]), 2)
196
- ], !0) : (T(), M("div", {
197
- key: 1,
198
- class: mu(["tr-bubble__content", { "border-corner": e.shape === "corner" }])
199
- }, [
200
- (a = e.messages) != null && a.length ? (T(), M("div", or, [
201
- (T(!0), M(te, null, ue(e.messages, (s, f) => (T(), ru(tr, Pu({ key: f }, { ref_for: !0 }, s), null, 16))), 128))
202
- ])) : Ce(i.$slots, "default", {
203
- key: 1,
204
- bubbleProps: e
205
- }, () => [
206
- n.value ? (T(), M(te, { key: 0 }, [
207
- n.value.isComponent ? (T(), ru(Cu(n.value.vNodeOrComponent), n0(Pu({ key: 0 }, { ...n.value.defaultProps, ...e })), null, 16)) : (T(), ru(Cu(n.value.vNodeOrComponent), { key: 1 }))
208
- ], 64)) : (T(), M("span", cr, xu(r.value), 1))
209
- ], !0),
210
- e.aborted ? (T(), M("span", ir, "(用户停止)")) : Nu("", !0),
211
- t.footer ? (T(), M("div", ar, [
212
- Ce(i.$slots, "footer", { bubbleProps: e }, void 0, !0)
213
- ])) : Nu("", !0)
214
- ], 2))
215
- ])
216
- ], 2);
217
- };
126
+ const e = $0(Dt, Ct), t = $0(yt, s0), n = u, r = (i) => {
127
+ const c = e.get(i) || t;
128
+ return typeof c == "function" ? { isComponent: !1, vNodeOrComponent: c(n.item) } : c instanceof a0 ? { isComponent: !1, vNodeOrComponent: c.render(n.item) } : { isComponent: !0, vNodeOrComponent: c };
129
+ }, o = J(() => r(n.item.type));
130
+ return (i, c) => o.value.isComponent ? (S(), eu(mu(o.value.vNodeOrComponent), Ae(Ju({ key: 0 }, n.item)), null, 16)) : (S(), eu(mu(o.value.vNodeOrComponent), { key: 1 }));
218
131
  }
219
- }), Du = /* @__PURE__ */ Uu(sr, [["__scopeId", "data-v-7e75e225"]]), lr = /* @__PURE__ */ ku({
220
- __name: "BubbleList",
221
- props: {
222
- items: {},
223
- roles: {},
224
- loading: { type: Boolean },
225
- loadingRole: {},
226
- autoScroll: { type: Boolean }
227
- },
228
- setup(u) {
229
- const e = u, t = Se(null), { y: n } = wn(t, {
230
- behavior: "smooth",
231
- throttle: 100
232
- }), r = Ou(() => e.items.at(-1));
233
- An([() => e.items.length, () => {
234
- var a;
235
- return (a = r.value) == null ? void 0 : a.content;
236
- }], () => {
237
- !e.autoScroll || !t.value || (n.value = t.value.scrollHeight);
238
- });
239
- const o = (a) => {
240
- var p;
241
- const s = a.role ? ((p = e.roles) == null ? void 0 : p[a.role]) || {} : {}, { slots: f, ...d } = s, { slots: _, ...h } = a;
242
- return { ...d, ...h };
243
- }, i = (a) => {
244
- var f;
245
- return { ...(a.role ? ((f = e.roles) == null ? void 0 : f[a.role]) || {} : {}).slots, ...a.slots };
246
- }, c = Ou(() => {
247
- var f;
248
- if (!(e.loading && e.loadingRole && ((f = e.roles) != null && f[e.loadingRole])))
249
- return null;
250
- const { slots: a, ...s } = e.roles[e.loadingRole];
251
- return { props: { ...s, loading: !0 }, slots: a };
252
- });
253
- return (a, s) => (T(), M("div", {
254
- class: "tr-bubble-list",
255
- ref_key: "scrollContainerRef",
256
- ref: t
257
- }, [
258
- (T(!0), M(te, null, ue(e.items, (f, d) => (T(), M(te, {
259
- key: f.id || d
260
- }, [
261
- f.hidden ? Nu("", !0) : (T(), ru(Du, Pu({
262
- key: 0,
263
- ref_for: !0
264
- }, o(f)), G0({ _: 2 }, [
265
- ue(i(f), (_, h) => ({
266
- name: h,
267
- fn: W0((p) => [
268
- (T(), ru(Cu(_), Pu({ ref_for: !0 }, p), null, 16))
269
- ])
270
- }))
271
- ]), 1040))
272
- ], 64))), 128)),
273
- c.value ? (T(), ru(Du, n0(Pu({ key: 0 }, c.value.props)), G0({ _: 2 }, [
274
- ue(c.value.slots, (f, d) => ({
275
- name: d,
276
- fn: W0((_) => [
277
- (T(), ru(Cu(f), n0(Cn(_)), null, 16))
278
- ])
279
- }))
280
- ]), 1040)) : Nu("", !0)
281
- ], 512));
282
- }
283
- }), ne = /* @__PURE__ */ Uu(lr, [["__scopeId", "data-v-24c3a7d6"]]), fr = { class: "tr-chain-list" }, dr = { class: "tr-chain-item__header" }, pr = { class: "tr-chain-item__icon" }, hr = { class: "tr-chain-item__title" }, br = { class: "tr-chain-item__body" }, _r = ["innerHTML"], mr = /* @__PURE__ */ ku({
284
- __name: "chain",
285
- props: {
286
- items: {},
287
- html: { type: Boolean, default: !0 },
288
- contentClass: {},
289
- contentRenderer: {}
290
- },
291
- setup(u) {
292
- const e = u, t = Se({}), n = (o) => {
293
- t.value[o] = !t.value[o];
294
- }, r = (o) => e.contentRenderer ? e.contentRenderer(o) : o;
295
- return (o, i) => (T(), M("div", fr, [
296
- (T(!0), M(te, null, ue(e.items, (c, a) => (T(), M("div", {
297
- class: "tr-chain-item",
298
- key: a
299
- }, [
300
- I("div", dr, [
301
- I("div", pr, [
302
- ee(uu(Sn))
303
- ]),
304
- I("div", hr, xu(c.title), 1),
305
- ee(uu(Dt), {
306
- class: mu(["expand-icon", { "rotate-180": t.value[a] }]),
307
- onClick: (s) => n(a)
308
- }, null, 8, ["class", "onClick"])
309
- ]),
310
- At(I("div", br, [
311
- i[0] || (i[0] = I("div", { class: "tr-chain-item__chain-line-wrapper" }, [
312
- I("div", { class: "tr-chain-item__chain-line" })
313
- ], -1)),
314
- e.html ? (T(), M("div", {
315
- key: 1,
316
- class: mu(["tr-chain-item__content", e.contentClass]),
317
- innerHTML: r(c.content)
318
- }, null, 10, _r)) : (T(), M("div", {
319
- key: 0,
320
- class: mu(["tr-chain-item__content", e.contentClass])
321
- }, xu(r(c.content)), 3))
322
- ], 512), [
323
- [Ct, !t.value[a]]
324
- ])
325
- ]))), 128))
326
- ]));
327
- }
328
- }), xr = /* @__PURE__ */ Uu(mr, [["__scopeId", "data-v-92295647"]]), Pi = xr;
132
+ });
329
133
  /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
330
134
  const {
331
- entries: St,
135
+ entries: Ft,
332
136
  setPrototypeOf: Y0,
333
- isFrozen: gr,
334
- getPrototypeOf: kr,
335
- getOwnPropertyDescriptor: Er
137
+ isFrozen: or,
138
+ getPrototypeOf: cr,
139
+ getOwnPropertyDescriptor: ir
336
140
  } = Object;
337
141
  let {
338
- freeze: G,
339
- seal: J,
340
- create: wt
142
+ freeze: j,
143
+ seal: Q,
144
+ create: Tt
341
145
  } = Object, {
342
- apply: r0,
343
- construct: o0
146
+ apply: e0,
147
+ construct: t0
344
148
  } = typeof Reflect < "u" && Reflect;
345
- G || (G = function(e) {
149
+ j || (j = function(e) {
346
150
  return e;
347
151
  });
348
- J || (J = function(e) {
152
+ Q || (Q = function(e) {
349
153
  return e;
350
154
  });
351
- r0 || (r0 = function(e, t, n) {
155
+ e0 || (e0 = function(e, t, n) {
352
156
  return e.apply(t, n);
353
157
  });
354
- o0 || (o0 = function(e, t) {
158
+ t0 || (t0 = function(e, t) {
355
159
  return new e(...t);
356
160
  });
357
- const ge = W(Array.prototype.forEach), Ar = W(Array.prototype.lastIndexOf), X0 = W(Array.prototype.pop), Yu = W(Array.prototype.push), Cr = W(Array.prototype.splice), De = W(String.prototype.toLowerCase), Ge = W(String.prototype.toString), J0 = W(String.prototype.match), Xu = W(String.prototype.replace), Dr = W(String.prototype.indexOf), yr = W(String.prototype.trim), K = W(Object.prototype.hasOwnProperty), j = W(RegExp.prototype.test), Ju = Fr(TypeError);
358
- function W(u) {
161
+ const be = G(Array.prototype.forEach), ar = G(Array.prototype.lastIndexOf), X0 = G(Array.prototype.pop), Gu = G(Array.prototype.push), sr = G(Array.prototype.splice), Ee = G(String.prototype.toLowerCase), He = G(String.prototype.toString), J0 = G(String.prototype.match), Wu = G(String.prototype.replace), lr = G(String.prototype.indexOf), fr = G(String.prototype.trim), uu = G(Object.prototype.hasOwnProperty), H = G(RegExp.prototype.test), Zu = dr(TypeError);
162
+ function G(u) {
359
163
  return function(e) {
360
164
  e instanceof RegExp && (e.lastIndex = 0);
361
165
  for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
362
166
  n[r - 1] = arguments[r];
363
- return r0(u, e, n);
167
+ return e0(u, e, n);
364
168
  };
365
169
  }
366
- function Fr(u) {
170
+ function dr(u) {
367
171
  return function() {
368
172
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
369
173
  t[n] = arguments[n];
370
- return o0(u, t);
174
+ return t0(u, t);
371
175
  };
372
176
  }
373
177
  function F(u, e) {
374
- let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : De;
178
+ let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ee;
375
179
  Y0 && Y0(u, null);
376
180
  let n = e.length;
377
181
  for (; n--; ) {
378
182
  let r = e[n];
379
183
  if (typeof r == "string") {
380
184
  const o = t(r);
381
- o !== r && (gr(e) || (e[n] = o), r = o);
185
+ o !== r && (or(e) || (e[n] = o), r = o);
382
186
  }
383
187
  u[r] = !0;
384
188
  }
385
189
  return u;
386
190
  }
387
- function Tr(u) {
191
+ function hr(u) {
388
192
  for (let e = 0; e < u.length; e++)
389
- K(u, e) || (u[e] = null);
193
+ uu(u, e) || (u[e] = null);
390
194
  return u;
391
195
  }
392
196
  function du(u) {
393
- const e = wt(null);
394
- for (const [t, n] of St(u))
395
- K(u, t) && (Array.isArray(n) ? e[t] = Tr(n) : n && typeof n == "object" && n.constructor === Object ? e[t] = du(n) : e[t] = n);
197
+ const e = Tt(null);
198
+ for (const [t, n] of Ft(u))
199
+ uu(u, t) && (Array.isArray(n) ? e[t] = hr(n) : n && typeof n == "object" && n.constructor === Object ? e[t] = du(n) : e[t] = n);
396
200
  return e;
397
201
  }
398
- function Qu(u, e) {
202
+ function Vu(u, e) {
399
203
  for (; u !== null; ) {
400
- const n = Er(u, e);
204
+ const n = ir(u, e);
401
205
  if (n) {
402
206
  if (n.get)
403
- return W(n.get);
207
+ return G(n.get);
404
208
  if (typeof n.value == "function")
405
- return W(n.value);
209
+ return G(n.value);
406
210
  }
407
- u = kr(u);
211
+ u = cr(u);
408
212
  }
409
213
  function t() {
410
214
  return null;
411
215
  }
412
216
  return t;
413
217
  }
414
- const Q0 = G(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), We = G(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ze = G(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), Sr = G(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Ve = G(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), wr = G(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), K0 = G(["#text"]), ut = G(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Ye = G(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), et = G(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), ke = G(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), vr = J(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Rr = J(/<%[\w\W]*|[\w\W]*%>/gm), Mr = J(/\$\{[\w\W]*/gm), Ir = J(/^data-[\-\w.\u00B7-\uFFFF]+$/), Lr = J(/^aria-[\-\w]+$/), vt = J(
218
+ const Q0 = j(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), $e = j(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), je = j(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), pr = j(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Ge = j(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), br = j(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), K0 = j(["#text"]), ut = j(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), We = j(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), et = j(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), _e = j(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), _r = Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm), mr = Q(/<%[\w\W]*|[\w\W]*%>/gm), xr = Q(/\$\{[\w\W]*/gm), gr = Q(/^data-[\-\w.\u00B7-\uFFFF]+$/), kr = Q(/^aria-[\-\w]+$/), St = Q(
415
219
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
416
220
  // eslint-disable-line no-useless-escape
417
- ), Or = J(/^(?:\w+script|data):/i), Nr = J(
221
+ ), Er = Q(/^(?:\w+script|data):/i), Ar = Q(
418
222
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
419
223
  // eslint-disable-line no-control-regex
420
- ), Rt = J(/^html$/i), Pr = J(/^[a-z][.\w]*(-[.\w]+)+$/i);
224
+ ), wt = Q(/^html$/i), Cr = Q(/^[a-z][.\w]*(-[.\w]+)+$/i);
421
225
  var tt = /* @__PURE__ */ Object.freeze({
422
226
  __proto__: null,
423
- ARIA_ATTR: Lr,
424
- ATTR_WHITESPACE: Nr,
425
- CUSTOM_ELEMENT: Pr,
426
- DATA_ATTR: Ir,
427
- DOCTYPE_NAME: Rt,
428
- ERB_EXPR: Rr,
429
- IS_ALLOWED_URI: vt,
430
- IS_SCRIPT_OR_DATA: Or,
431
- MUSTACHE_EXPR: vr,
432
- TMPLIT_EXPR: Mr
227
+ ARIA_ATTR: kr,
228
+ ATTR_WHITESPACE: Ar,
229
+ CUSTOM_ELEMENT: Cr,
230
+ DATA_ATTR: gr,
231
+ DOCTYPE_NAME: wt,
232
+ ERB_EXPR: mr,
233
+ IS_ALLOWED_URI: St,
234
+ IS_SCRIPT_OR_DATA: Er,
235
+ MUSTACHE_EXPR: _r,
236
+ TMPLIT_EXPR: xr
433
237
  });
434
- const Ku = {
238
+ const Yu = {
435
239
  element: 1,
436
240
  text: 3,
437
241
  // Deprecated
438
242
  progressingInstruction: 7,
439
243
  comment: 8,
440
244
  document: 9
441
- }, Br = function() {
245
+ }, Dr = function() {
442
246
  return typeof window > "u" ? null : window;
443
- }, zr = function(e, t) {
247
+ }, yr = function(e, t) {
444
248
  if (typeof e != "object" || typeof e.createPolicy != "function")
445
249
  return null;
446
250
  let n = null;
@@ -472,10 +276,10 @@ const Ku = {
472
276
  uponSanitizeShadowNode: []
473
277
  };
474
278
  };
475
- function Mt() {
476
- let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Br();
477
- const e = (g) => Mt(g);
478
- if (e.version = "3.2.6", e.removed = [], !u || !u.document || u.document.nodeType !== Ku.document || !u.Element)
279
+ function vt() {
280
+ let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Dr();
281
+ const e = (g) => vt(g);
282
+ if (e.version = "3.2.6", e.removed = [], !u || !u.document || u.document.nodeType !== Yu.document || !u.Element)
479
283
  return e.isSupported = !1, e;
480
284
  let {
481
285
  document: t
@@ -486,11 +290,11 @@ function Mt() {
486
290
  Node: c,
487
291
  Element: a,
488
292
  NodeFilter: s,
489
- NamedNodeMap: f = u.NamedNodeMap || u.MozNamedAttrMap,
490
- HTMLFormElement: d,
293
+ NamedNodeMap: d = u.NamedNodeMap || u.MozNamedAttrMap,
294
+ HTMLFormElement: f,
491
295
  DOMParser: _,
492
- trustedTypes: h
493
- } = u, p = a.prototype, C = Qu(p, "cloneNode"), D = Qu(p, "remove"), S = Qu(p, "nextSibling"), E = Qu(p, "childNodes"), k = Qu(p, "parentNode");
296
+ trustedTypes: p
297
+ } = u, h = a.prototype, C = Vu(h, "cloneNode"), D = Vu(h, "remove"), T = Vu(h, "nextSibling"), E = Vu(h, "childNodes"), k = Vu(h, "parentNode");
494
298
  if (typeof i == "function") {
495
299
  const g = t.createElement("template");
496
300
  g.content && g.content.ownerDocument && (t = g.content.ownerDocument);
@@ -498,31 +302,31 @@ function Mt() {
498
302
  let m, A = "";
499
303
  const {
500
304
  implementation: y,
501
- createNodeIterator: L,
502
- createDocumentFragment: Y,
503
- getElementsByTagName: tu
305
+ createNodeIterator: I,
306
+ createDocumentFragment: V,
307
+ getElementsByTagName: nu
504
308
  } = t, {
505
- importNode: Eu
309
+ importNode: gu
506
310
  } = n;
507
- let O = nt();
508
- e.isSupported = typeof St == "function" && typeof k == "function" && y && y.createHTMLDocument !== void 0;
311
+ let M = nt();
312
+ e.isSupported = typeof Ft == "function" && typeof k == "function" && y && y.createHTMLDocument !== void 0;
509
313
  const {
510
- MUSTACHE_EXPR: $u,
511
- ERB_EXPR: ju,
314
+ MUSTACHE_EXPR: zu,
315
+ ERB_EXPR: qu,
512
316
  TMPLIT_EXPR: yu,
513
- DATA_ATTR: pu,
514
- ARIA_ATTR: Ie,
515
- IS_SCRIPT_OR_DATA: rn,
516
- ATTR_WHITESPACE: g0,
517
- CUSTOM_ELEMENT: on
317
+ DATA_ATTR: hu,
318
+ ARIA_ATTR: ve,
319
+ IS_SCRIPT_OR_DATA: tn,
320
+ ATTR_WHITESPACE: x0,
321
+ CUSTOM_ELEMENT: nn
518
322
  } = tt;
519
323
  let {
520
- IS_ALLOWED_URI: k0
521
- } = tt, P = null;
522
- const E0 = F({}, [...Q0, ...We, ...Ze, ...Ve, ...K0]);
523
- let U = null;
524
- const A0 = F({}, [...ut, ...Ye, ...et, ...ke]);
525
- let R = Object.seal(wt(null, {
324
+ IS_ALLOWED_URI: g0
325
+ } = tt, O = null;
326
+ const k0 = F({}, [...Q0, ...$e, ...je, ...Ge, ...K0]);
327
+ let z = null;
328
+ const E0 = F({}, [...ut, ...We, ...et, ..._e]);
329
+ let R = Object.seal(Tt(null, {
526
330
  tagNameCheck: {
527
331
  writable: !0,
528
332
  configurable: !1,
@@ -541,47 +345,47 @@ function Mt() {
541
345
  enumerable: !0,
542
346
  value: !1
543
347
  }
544
- })), Gu = null, Le = null, C0 = !0, Oe = !0, D0 = !1, y0 = !0, Fu = !1, de = !0, Au = !1, Ne = !1, Pe = !1, Tu = !1, pe = !1, he = !1, F0 = !0, T0 = !1;
545
- const cn = "user-content-";
546
- let Be = !0, Wu = !1, Su = {}, wu = null;
547
- const S0 = F({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
548
- let w0 = null;
549
- const v0 = F({}, ["audio", "video", "img", "source", "image", "track"]);
550
- let ze = null;
551
- const R0 = F({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), be = "http://www.w3.org/1998/Math/MathML", _e = "http://www.w3.org/2000/svg", su = "http://www.w3.org/1999/xhtml";
552
- let vu = su, qe = !1, Ue = null;
553
- const an = F({}, [be, _e, su], Ge);
554
- let me = F({}, ["mi", "mo", "mn", "ms", "mtext"]), xe = F({}, ["annotation-xml"]);
555
- const sn = F({}, ["title", "style", "font", "a", "script"]);
556
- let Zu = null;
557
- const ln = ["application/xhtml+xml", "text/html"], fn = "text/html";
558
- let B = null, Ru = null;
559
- const dn = t.createElement("form"), M0 = function(l) {
348
+ })), Uu = null, Re = null, A0 = !0, Ie = !0, C0 = !1, D0 = !0, Fu = !1, ae = !0, ku = !1, Me = !1, Le = !1, Tu = !1, se = !1, le = !1, y0 = !0, F0 = !1;
349
+ const rn = "user-content-";
350
+ let Oe = !0, Hu = !1, Su = {}, wu = null;
351
+ const T0 = F({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
352
+ let S0 = null;
353
+ const w0 = F({}, ["audio", "video", "img", "source", "image", "track"]);
354
+ let Ne = null;
355
+ const v0 = F({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), fe = "http://www.w3.org/1998/Math/MathML", de = "http://www.w3.org/2000/svg", su = "http://www.w3.org/1999/xhtml";
356
+ let vu = su, Be = !1, Pe = null;
357
+ const on = F({}, [fe, de, su], He);
358
+ let he = F({}, ["mi", "mo", "mn", "ms", "mtext"]), pe = F({}, ["annotation-xml"]);
359
+ const cn = F({}, ["title", "style", "font", "a", "script"]);
360
+ let $u = null;
361
+ const an = ["application/xhtml+xml", "text/html"], sn = "text/html";
362
+ let N = null, Ru = null;
363
+ const ln = t.createElement("form"), R0 = function(l) {
560
364
  return l instanceof RegExp || l instanceof Function;
561
- }, He = function() {
365
+ }, ze = function() {
562
366
  let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
563
367
  if (!(Ru && Ru === l)) {
564
- if ((!l || typeof l != "object") && (l = {}), l = du(l), Zu = // eslint-disable-next-line unicorn/prefer-includes
565
- ln.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? fn : l.PARSER_MEDIA_TYPE, B = Zu === "application/xhtml+xml" ? Ge : De, P = K(l, "ALLOWED_TAGS") ? F({}, l.ALLOWED_TAGS, B) : E0, U = K(l, "ALLOWED_ATTR") ? F({}, l.ALLOWED_ATTR, B) : A0, Ue = K(l, "ALLOWED_NAMESPACES") ? F({}, l.ALLOWED_NAMESPACES, Ge) : an, ze = K(l, "ADD_URI_SAFE_ATTR") ? F(du(R0), l.ADD_URI_SAFE_ATTR, B) : R0, w0 = K(l, "ADD_DATA_URI_TAGS") ? F(du(v0), l.ADD_DATA_URI_TAGS, B) : v0, wu = K(l, "FORBID_CONTENTS") ? F({}, l.FORBID_CONTENTS, B) : S0, Gu = K(l, "FORBID_TAGS") ? F({}, l.FORBID_TAGS, B) : du({}), Le = K(l, "FORBID_ATTR") ? F({}, l.FORBID_ATTR, B) : du({}), Su = K(l, "USE_PROFILES") ? l.USE_PROFILES : !1, C0 = l.ALLOW_ARIA_ATTR !== !1, Oe = l.ALLOW_DATA_ATTR !== !1, D0 = l.ALLOW_UNKNOWN_PROTOCOLS || !1, y0 = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Fu = l.SAFE_FOR_TEMPLATES || !1, de = l.SAFE_FOR_XML !== !1, Au = l.WHOLE_DOCUMENT || !1, Tu = l.RETURN_DOM || !1, pe = l.RETURN_DOM_FRAGMENT || !1, he = l.RETURN_TRUSTED_TYPE || !1, Pe = l.FORCE_BODY || !1, F0 = l.SANITIZE_DOM !== !1, T0 = l.SANITIZE_NAMED_PROPS || !1, Be = l.KEEP_CONTENT !== !1, Wu = l.IN_PLACE || !1, k0 = l.ALLOWED_URI_REGEXP || vt, vu = l.NAMESPACE || su, me = l.MATHML_TEXT_INTEGRATION_POINTS || me, xe = l.HTML_INTEGRATION_POINTS || xe, R = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && M0(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (R.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && M0(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (R.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Fu && (Oe = !1), pe && (Tu = !0), Su && (P = F({}, K0), U = [], Su.html === !0 && (F(P, Q0), F(U, ut)), Su.svg === !0 && (F(P, We), F(U, Ye), F(U, ke)), Su.svgFilters === !0 && (F(P, Ze), F(U, Ye), F(U, ke)), Su.mathMl === !0 && (F(P, Ve), F(U, et), F(U, ke))), l.ADD_TAGS && (P === E0 && (P = du(P)), F(P, l.ADD_TAGS, B)), l.ADD_ATTR && (U === A0 && (U = du(U)), F(U, l.ADD_ATTR, B)), l.ADD_URI_SAFE_ATTR && F(ze, l.ADD_URI_SAFE_ATTR, B), l.FORBID_CONTENTS && (wu === S0 && (wu = du(wu)), F(wu, l.FORBID_CONTENTS, B)), Be && (P["#text"] = !0), Au && F(P, ["html", "head", "body"]), P.table && (F(P, ["tbody"]), delete Gu.tbody), l.TRUSTED_TYPES_POLICY) {
368
+ if ((!l || typeof l != "object") && (l = {}), l = du(l), $u = // eslint-disable-next-line unicorn/prefer-includes
369
+ an.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? sn : l.PARSER_MEDIA_TYPE, N = $u === "application/xhtml+xml" ? He : Ee, O = uu(l, "ALLOWED_TAGS") ? F({}, l.ALLOWED_TAGS, N) : k0, z = uu(l, "ALLOWED_ATTR") ? F({}, l.ALLOWED_ATTR, N) : E0, Pe = uu(l, "ALLOWED_NAMESPACES") ? F({}, l.ALLOWED_NAMESPACES, He) : on, Ne = uu(l, "ADD_URI_SAFE_ATTR") ? F(du(v0), l.ADD_URI_SAFE_ATTR, N) : v0, S0 = uu(l, "ADD_DATA_URI_TAGS") ? F(du(w0), l.ADD_DATA_URI_TAGS, N) : w0, wu = uu(l, "FORBID_CONTENTS") ? F({}, l.FORBID_CONTENTS, N) : T0, Uu = uu(l, "FORBID_TAGS") ? F({}, l.FORBID_TAGS, N) : du({}), Re = uu(l, "FORBID_ATTR") ? F({}, l.FORBID_ATTR, N) : du({}), Su = uu(l, "USE_PROFILES") ? l.USE_PROFILES : !1, A0 = l.ALLOW_ARIA_ATTR !== !1, Ie = l.ALLOW_DATA_ATTR !== !1, C0 = l.ALLOW_UNKNOWN_PROTOCOLS || !1, D0 = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Fu = l.SAFE_FOR_TEMPLATES || !1, ae = l.SAFE_FOR_XML !== !1, ku = l.WHOLE_DOCUMENT || !1, Tu = l.RETURN_DOM || !1, se = l.RETURN_DOM_FRAGMENT || !1, le = l.RETURN_TRUSTED_TYPE || !1, Le = l.FORCE_BODY || !1, y0 = l.SANITIZE_DOM !== !1, F0 = l.SANITIZE_NAMED_PROPS || !1, Oe = l.KEEP_CONTENT !== !1, Hu = l.IN_PLACE || !1, g0 = l.ALLOWED_URI_REGEXP || St, vu = l.NAMESPACE || su, he = l.MATHML_TEXT_INTEGRATION_POINTS || he, pe = l.HTML_INTEGRATION_POINTS || pe, R = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && R0(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (R.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && R0(l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (R.attributeNameCheck = l.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), l.CUSTOM_ELEMENT_HANDLING && typeof l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (R.allowCustomizedBuiltInElements = l.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), Fu && (Ie = !1), se && (Tu = !0), Su && (O = F({}, K0), z = [], Su.html === !0 && (F(O, Q0), F(z, ut)), Su.svg === !0 && (F(O, $e), F(z, We), F(z, _e)), Su.svgFilters === !0 && (F(O, je), F(z, We), F(z, _e)), Su.mathMl === !0 && (F(O, Ge), F(z, et), F(z, _e))), l.ADD_TAGS && (O === k0 && (O = du(O)), F(O, l.ADD_TAGS, N)), l.ADD_ATTR && (z === E0 && (z = du(z)), F(z, l.ADD_ATTR, N)), l.ADD_URI_SAFE_ATTR && F(Ne, l.ADD_URI_SAFE_ATTR, N), l.FORBID_CONTENTS && (wu === T0 && (wu = du(wu)), F(wu, l.FORBID_CONTENTS, N)), Oe && (O["#text"] = !0), ku && F(O, ["html", "head", "body"]), O.table && (F(O, ["tbody"]), delete Uu.tbody), l.TRUSTED_TYPES_POLICY) {
566
370
  if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
567
- throw Ju('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
371
+ throw Zu('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
568
372
  if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
569
- throw Ju('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
373
+ throw Zu('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
570
374
  m = l.TRUSTED_TYPES_POLICY, A = m.createHTML("");
571
375
  } else
572
- m === void 0 && (m = zr(h, r)), m !== null && typeof A == "string" && (A = m.createHTML(""));
573
- G && G(l), Ru = l;
376
+ m === void 0 && (m = yr(p, r)), m !== null && typeof A == "string" && (A = m.createHTML(""));
377
+ j && j(l), Ru = l;
574
378
  }
575
- }, I0 = F({}, [...We, ...Ze, ...Sr]), L0 = F({}, [...Ve, ...wr]), pn = function(l) {
379
+ }, I0 = F({}, [...$e, ...je, ...pr]), M0 = F({}, [...Ge, ...br]), fn = function(l) {
576
380
  let b = k(l);
577
381
  (!b || !b.tagName) && (b = {
578
382
  namespaceURI: vu,
579
383
  tagName: "template"
580
384
  });
581
- const x = De(l.tagName), v = De(b.tagName);
582
- return Ue[l.namespaceURI] ? l.namespaceURI === _e ? b.namespaceURI === su ? x === "svg" : b.namespaceURI === be ? x === "svg" && (v === "annotation-xml" || me[v]) : !!I0[x] : l.namespaceURI === be ? b.namespaceURI === su ? x === "math" : b.namespaceURI === _e ? x === "math" && xe[v] : !!L0[x] : l.namespaceURI === su ? b.namespaceURI === _e && !xe[v] || b.namespaceURI === be && !me[v] ? !1 : !L0[x] && (sn[x] || !I0[x]) : !!(Zu === "application/xhtml+xml" && Ue[l.namespaceURI]) : !1;
583
- }, nu = function(l) {
584
- Yu(e.removed, {
385
+ const x = Ee(l.tagName), v = Ee(b.tagName);
386
+ return Pe[l.namespaceURI] ? l.namespaceURI === de ? b.namespaceURI === su ? x === "svg" : b.namespaceURI === fe ? x === "svg" && (v === "annotation-xml" || he[v]) : !!I0[x] : l.namespaceURI === fe ? b.namespaceURI === su ? x === "math" : b.namespaceURI === de ? x === "math" && pe[v] : !!M0[x] : l.namespaceURI === su ? b.namespaceURI === de && !pe[v] || b.namespaceURI === fe && !he[v] ? !1 : !M0[x] && (cn[x] || !I0[x]) : !!($u === "application/xhtml+xml" && Pe[l.namespaceURI]) : !1;
387
+ }, ru = function(l) {
388
+ Gu(e.removed, {
585
389
  element: l
586
390
  });
587
391
  try {
@@ -589,22 +393,22 @@ function Mt() {
589
393
  } catch {
590
394
  D(l);
591
395
  }
592
- }, Mu = function(l, b) {
396
+ }, Iu = function(l, b) {
593
397
  try {
594
- Yu(e.removed, {
398
+ Gu(e.removed, {
595
399
  attribute: b.getAttributeNode(l),
596
400
  from: b
597
401
  });
598
402
  } catch {
599
- Yu(e.removed, {
403
+ Gu(e.removed, {
600
404
  attribute: null,
601
405
  from: b
602
406
  });
603
407
  }
604
408
  if (b.removeAttribute(l), l === "is")
605
- if (Tu || pe)
409
+ if (Tu || se)
606
410
  try {
607
- nu(b);
411
+ ru(b);
608
412
  } catch {
609
413
  }
610
414
  else
@@ -612,96 +416,96 @@ function Mt() {
612
416
  b.setAttribute(l, "");
613
417
  } catch {
614
418
  }
615
- }, O0 = function(l) {
419
+ }, L0 = function(l) {
616
420
  let b = null, x = null;
617
- if (Pe)
421
+ if (Le)
618
422
  l = "<remove></remove>" + l;
619
423
  else {
620
- const N = J0(l, /^[\r\n\t ]+/);
621
- x = N && N[0];
424
+ const L = J0(l, /^[\r\n\t ]+/);
425
+ x = L && L[0];
622
426
  }
623
- Zu === "application/xhtml+xml" && vu === su && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
427
+ $u === "application/xhtml+xml" && vu === su && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
624
428
  const v = m ? m.createHTML(l) : l;
625
429
  if (vu === su)
626
430
  try {
627
- b = new _().parseFromString(v, Zu);
431
+ b = new _().parseFromString(v, $u);
628
432
  } catch {
629
433
  }
630
434
  if (!b || !b.documentElement) {
631
435
  b = y.createDocument(vu, "template", null);
632
436
  try {
633
- b.documentElement.innerHTML = qe ? A : v;
437
+ b.documentElement.innerHTML = Be ? A : v;
634
438
  } catch {
635
439
  }
636
440
  }
637
- const H = b.body || b.documentElement;
638
- return l && x && H.insertBefore(t.createTextNode(x), H.childNodes[0] || null), vu === su ? tu.call(b, Au ? "html" : "body")[0] : Au ? b.documentElement : H;
639
- }, N0 = function(l) {
640
- return L.call(
441
+ const q = b.body || b.documentElement;
442
+ return l && x && q.insertBefore(t.createTextNode(x), q.childNodes[0] || null), vu === su ? nu.call(b, ku ? "html" : "body")[0] : ku ? b.documentElement : q;
443
+ }, O0 = function(l) {
444
+ return I.call(
641
445
  l.ownerDocument || l,
642
446
  l,
643
447
  // eslint-disable-next-line no-bitwise
644
448
  s.SHOW_ELEMENT | s.SHOW_COMMENT | s.SHOW_TEXT | s.SHOW_PROCESSING_INSTRUCTION | s.SHOW_CDATA_SECTION,
645
449
  null
646
450
  );
647
- }, $e = function(l) {
648
- return l instanceof d && (typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || !(l.attributes instanceof f) || typeof l.removeAttribute != "function" || typeof l.setAttribute != "function" || typeof l.namespaceURI != "string" || typeof l.insertBefore != "function" || typeof l.hasChildNodes != "function");
649
- }, P0 = function(l) {
451
+ }, qe = function(l) {
452
+ return l instanceof f && (typeof l.nodeName != "string" || typeof l.textContent != "string" || typeof l.removeChild != "function" || !(l.attributes instanceof d) || typeof l.removeAttribute != "function" || typeof l.setAttribute != "function" || typeof l.namespaceURI != "string" || typeof l.insertBefore != "function" || typeof l.hasChildNodes != "function");
453
+ }, N0 = function(l) {
650
454
  return typeof c == "function" && l instanceof c;
651
455
  };
652
456
  function lu(g, l, b) {
653
- ge(g, (x) => {
457
+ be(g, (x) => {
654
458
  x.call(e, l, b, Ru);
655
459
  });
656
460
  }
657
461
  const B0 = function(l) {
658
462
  let b = null;
659
- if (lu(O.beforeSanitizeElements, l, null), $e(l))
660
- return nu(l), !0;
661
- const x = B(l.nodeName);
662
- if (lu(O.uponSanitizeElement, l, {
463
+ if (lu(M.beforeSanitizeElements, l, null), qe(l))
464
+ return ru(l), !0;
465
+ const x = N(l.nodeName);
466
+ if (lu(M.uponSanitizeElement, l, {
663
467
  tagName: x,
664
- allowedTags: P
665
- }), de && l.hasChildNodes() && !P0(l.firstElementChild) && j(/<[/\w!]/g, l.innerHTML) && j(/<[/\w!]/g, l.textContent) || l.nodeType === Ku.progressingInstruction || de && l.nodeType === Ku.comment && j(/<[/\w]/g, l.data))
666
- return nu(l), !0;
667
- if (!P[x] || Gu[x]) {
668
- if (!Gu[x] && q0(x) && (R.tagNameCheck instanceof RegExp && j(R.tagNameCheck, x) || R.tagNameCheck instanceof Function && R.tagNameCheck(x)))
468
+ allowedTags: O
469
+ }), ae && l.hasChildNodes() && !N0(l.firstElementChild) && H(/<[/\w!]/g, l.innerHTML) && H(/<[/\w!]/g, l.textContent) || l.nodeType === Yu.progressingInstruction || ae && l.nodeType === Yu.comment && H(/<[/\w]/g, l.data))
470
+ return ru(l), !0;
471
+ if (!O[x] || Uu[x]) {
472
+ if (!Uu[x] && z0(x) && (R.tagNameCheck instanceof RegExp && H(R.tagNameCheck, x) || R.tagNameCheck instanceof Function && R.tagNameCheck(x)))
669
473
  return !1;
670
- if (Be && !wu[x]) {
671
- const v = k(l) || l.parentNode, H = E(l) || l.childNodes;
672
- if (H && v) {
673
- const N = H.length;
674
- for (let Z = N - 1; Z >= 0; --Z) {
675
- const fu = C(H[Z], !0);
676
- fu.__removalCount = (l.__removalCount || 0) + 1, v.insertBefore(fu, S(l));
474
+ if (Oe && !wu[x]) {
475
+ const v = k(l) || l.parentNode, q = E(l) || l.childNodes;
476
+ if (q && v) {
477
+ const L = q.length;
478
+ for (let W = L - 1; W >= 0; --W) {
479
+ const fu = C(q[W], !0);
480
+ fu.__removalCount = (l.__removalCount || 0) + 1, v.insertBefore(fu, T(l));
677
481
  }
678
482
  }
679
483
  }
680
- return nu(l), !0;
484
+ return ru(l), !0;
681
485
  }
682
- return l instanceof a && !pn(l) || (x === "noscript" || x === "noembed" || x === "noframes") && j(/<\/no(script|embed|frames)/i, l.innerHTML) ? (nu(l), !0) : (Fu && l.nodeType === Ku.text && (b = l.textContent, ge([$u, ju, yu], (v) => {
683
- b = Xu(b, v, " ");
684
- }), l.textContent !== b && (Yu(e.removed, {
486
+ return l instanceof a && !fn(l) || (x === "noscript" || x === "noembed" || x === "noframes") && H(/<\/no(script|embed|frames)/i, l.innerHTML) ? (ru(l), !0) : (Fu && l.nodeType === Yu.text && (b = l.textContent, be([zu, qu, yu], (v) => {
487
+ b = Wu(b, v, " ");
488
+ }), l.textContent !== b && (Gu(e.removed, {
685
489
  element: l.cloneNode()
686
- }), l.textContent = b)), lu(O.afterSanitizeElements, l, null), !1);
687
- }, z0 = function(l, b, x) {
688
- if (F0 && (b === "id" || b === "name") && (x in t || x in dn))
490
+ }), l.textContent = b)), lu(M.afterSanitizeElements, l, null), !1);
491
+ }, P0 = function(l, b, x) {
492
+ if (y0 && (b === "id" || b === "name") && (x in t || x in ln))
689
493
  return !1;
690
- if (!(Oe && !Le[b] && j(pu, b))) {
691
- if (!(C0 && j(Ie, b))) {
692
- if (!U[b] || Le[b]) {
494
+ if (!(Ie && !Re[b] && H(hu, b))) {
495
+ if (!(A0 && H(ve, b))) {
496
+ if (!z[b] || Re[b]) {
693
497
  if (
694
498
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
695
499
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
696
500
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
697
- !(q0(l) && (R.tagNameCheck instanceof RegExp && j(R.tagNameCheck, l) || R.tagNameCheck instanceof Function && R.tagNameCheck(l)) && (R.attributeNameCheck instanceof RegExp && j(R.attributeNameCheck, b) || R.attributeNameCheck instanceof Function && R.attributeNameCheck(b)) || // Alternative, second condition checks if it's an `is`-attribute, AND
501
+ !(z0(l) && (R.tagNameCheck instanceof RegExp && H(R.tagNameCheck, l) || R.tagNameCheck instanceof Function && R.tagNameCheck(l)) && (R.attributeNameCheck instanceof RegExp && H(R.attributeNameCheck, b) || R.attributeNameCheck instanceof Function && R.attributeNameCheck(b)) || // Alternative, second condition checks if it's an `is`-attribute, AND
698
502
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
699
- b === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && j(R.tagNameCheck, x) || R.tagNameCheck instanceof Function && R.tagNameCheck(x)))
503
+ b === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && H(R.tagNameCheck, x) || R.tagNameCheck instanceof Function && R.tagNameCheck(x)))
700
504
  ) return !1;
701
- } else if (!ze[b]) {
702
- if (!j(k0, Xu(x, g0, ""))) {
703
- if (!((b === "src" || b === "xlink:href" || b === "href") && l !== "script" && Dr(x, "data:") === 0 && w0[l])) {
704
- if (!(D0 && !j(rn, Xu(x, g0, "")))) {
505
+ } else if (!Ne[b]) {
506
+ if (!H(g0, Wu(x, x0, ""))) {
507
+ if (!((b === "src" || b === "xlink:href" || b === "href") && l !== "script" && lr(x, "data:") === 0 && S0[l])) {
508
+ if (!(C0 && !H(tn, Wu(x, x0, "")))) {
705
509
  if (x)
706
510
  return !1;
707
511
  }
@@ -711,148 +515,148 @@ function Mt() {
711
515
  }
712
516
  }
713
517
  return !0;
518
+ }, z0 = function(l) {
519
+ return l !== "annotation-xml" && J0(l, nn);
714
520
  }, q0 = function(l) {
715
- return l !== "annotation-xml" && J0(l, on);
716
- }, U0 = function(l) {
717
- lu(O.beforeSanitizeAttributes, l, null);
521
+ lu(M.beforeSanitizeAttributes, l, null);
718
522
  const {
719
523
  attributes: b
720
524
  } = l;
721
- if (!b || $e(l))
525
+ if (!b || qe(l))
722
526
  return;
723
527
  const x = {
724
528
  attrName: "",
725
529
  attrValue: "",
726
530
  keepAttr: !0,
727
- allowedAttributes: U,
531
+ allowedAttributes: z,
728
532
  forceKeepAttr: void 0
729
533
  };
730
534
  let v = b.length;
731
535
  for (; v--; ) {
732
- const H = b[v], {
733
- name: N,
734
- namespaceURI: Z,
536
+ const q = b[v], {
537
+ name: L,
538
+ namespaceURI: W,
735
539
  value: fu
736
- } = H, Vu = B(N), je = fu;
737
- let $ = N === "value" ? je : yr(je);
738
- if (x.attrName = Vu, x.attrValue = $, x.keepAttr = !0, x.forceKeepAttr = void 0, lu(O.uponSanitizeAttribute, l, x), $ = x.attrValue, T0 && (Vu === "id" || Vu === "name") && (Mu(N, l), $ = cn + $), de && j(/((--!?|])>)|<\/(style|title)/i, $)) {
739
- Mu(N, l);
540
+ } = q, ju = N(L), Ue = fu;
541
+ let U = L === "value" ? Ue : fr(Ue);
542
+ if (x.attrName = ju, x.attrValue = U, x.keepAttr = !0, x.forceKeepAttr = void 0, lu(M.uponSanitizeAttribute, l, x), U = x.attrValue, F0 && (ju === "id" || ju === "name") && (Iu(L, l), U = rn + U), ae && H(/((--!?|])>)|<\/(style|title)/i, U)) {
543
+ Iu(L, l);
740
544
  continue;
741
545
  }
742
546
  if (x.forceKeepAttr)
743
547
  continue;
744
548
  if (!x.keepAttr) {
745
- Mu(N, l);
549
+ Iu(L, l);
746
550
  continue;
747
551
  }
748
- if (!y0 && j(/\/>/i, $)) {
749
- Mu(N, l);
552
+ if (!D0 && H(/\/>/i, U)) {
553
+ Iu(L, l);
750
554
  continue;
751
555
  }
752
- Fu && ge([$u, ju, yu], ($0) => {
753
- $ = Xu($, $0, " ");
556
+ Fu && be([zu, qu, yu], (H0) => {
557
+ U = Wu(U, H0, " ");
754
558
  });
755
- const H0 = B(l.nodeName);
756
- if (!z0(H0, Vu, $)) {
757
- Mu(N, l);
559
+ const U0 = N(l.nodeName);
560
+ if (!P0(U0, ju, U)) {
561
+ Iu(L, l);
758
562
  continue;
759
563
  }
760
- if (m && typeof h == "object" && typeof h.getAttributeType == "function" && !Z)
761
- switch (h.getAttributeType(H0, Vu)) {
564
+ if (m && typeof p == "object" && typeof p.getAttributeType == "function" && !W)
565
+ switch (p.getAttributeType(U0, ju)) {
762
566
  case "TrustedHTML": {
763
- $ = m.createHTML($);
567
+ U = m.createHTML(U);
764
568
  break;
765
569
  }
766
570
  case "TrustedScriptURL": {
767
- $ = m.createScriptURL($);
571
+ U = m.createScriptURL(U);
768
572
  break;
769
573
  }
770
574
  }
771
- if ($ !== je)
575
+ if (U !== Ue)
772
576
  try {
773
- Z ? l.setAttributeNS(Z, N, $) : l.setAttribute(N, $), $e(l) ? nu(l) : X0(e.removed);
577
+ W ? l.setAttributeNS(W, L, U) : l.setAttribute(L, U), qe(l) ? ru(l) : X0(e.removed);
774
578
  } catch {
775
- Mu(N, l);
579
+ Iu(L, l);
776
580
  }
777
581
  }
778
- lu(O.afterSanitizeAttributes, l, null);
779
- }, hn = function g(l) {
582
+ lu(M.afterSanitizeAttributes, l, null);
583
+ }, dn = function g(l) {
780
584
  let b = null;
781
- const x = N0(l);
782
- for (lu(O.beforeSanitizeShadowDOM, l, null); b = x.nextNode(); )
783
- lu(O.uponSanitizeShadowNode, b, null), B0(b), U0(b), b.content instanceof o && g(b.content);
784
- lu(O.afterSanitizeShadowDOM, l, null);
585
+ const x = O0(l);
586
+ for (lu(M.beforeSanitizeShadowDOM, l, null); b = x.nextNode(); )
587
+ lu(M.uponSanitizeShadowNode, b, null), B0(b), q0(b), b.content instanceof o && g(b.content);
588
+ lu(M.afterSanitizeShadowDOM, l, null);
785
589
  };
786
590
  return e.sanitize = function(g) {
787
- let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, b = null, x = null, v = null, H = null;
788
- if (qe = !g, qe && (g = "<!-->"), typeof g != "string" && !P0(g))
591
+ let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, b = null, x = null, v = null, q = null;
592
+ if (Be = !g, Be && (g = "<!-->"), typeof g != "string" && !N0(g))
789
593
  if (typeof g.toString == "function") {
790
594
  if (g = g.toString(), typeof g != "string")
791
- throw Ju("dirty is not a string, aborting");
595
+ throw Zu("dirty is not a string, aborting");
792
596
  } else
793
- throw Ju("toString is not a function");
597
+ throw Zu("toString is not a function");
794
598
  if (!e.isSupported)
795
599
  return g;
796
- if (Ne || He(l), e.removed = [], typeof g == "string" && (Wu = !1), Wu) {
600
+ if (Me || ze(l), e.removed = [], typeof g == "string" && (Hu = !1), Hu) {
797
601
  if (g.nodeName) {
798
- const fu = B(g.nodeName);
799
- if (!P[fu] || Gu[fu])
800
- throw Ju("root node is forbidden and cannot be sanitized in-place");
602
+ const fu = N(g.nodeName);
603
+ if (!O[fu] || Uu[fu])
604
+ throw Zu("root node is forbidden and cannot be sanitized in-place");
801
605
  }
802
606
  } else if (g instanceof c)
803
- b = O0("<!---->"), x = b.ownerDocument.importNode(g, !0), x.nodeType === Ku.element && x.nodeName === "BODY" || x.nodeName === "HTML" ? b = x : b.appendChild(x);
607
+ b = L0("<!---->"), x = b.ownerDocument.importNode(g, !0), x.nodeType === Yu.element && x.nodeName === "BODY" || x.nodeName === "HTML" ? b = x : b.appendChild(x);
804
608
  else {
805
- if (!Tu && !Fu && !Au && // eslint-disable-next-line unicorn/prefer-includes
609
+ if (!Tu && !Fu && !ku && // eslint-disable-next-line unicorn/prefer-includes
806
610
  g.indexOf("<") === -1)
807
- return m && he ? m.createHTML(g) : g;
808
- if (b = O0(g), !b)
809
- return Tu ? null : he ? A : "";
810
- }
811
- b && Pe && nu(b.firstChild);
812
- const N = N0(Wu ? g : b);
813
- for (; v = N.nextNode(); )
814
- B0(v), U0(v), v.content instanceof o && hn(v.content);
815
- if (Wu)
611
+ return m && le ? m.createHTML(g) : g;
612
+ if (b = L0(g), !b)
613
+ return Tu ? null : le ? A : "";
614
+ }
615
+ b && Le && ru(b.firstChild);
616
+ const L = O0(Hu ? g : b);
617
+ for (; v = L.nextNode(); )
618
+ B0(v), q0(v), v.content instanceof o && dn(v.content);
619
+ if (Hu)
816
620
  return g;
817
621
  if (Tu) {
818
- if (pe)
819
- for (H = Y.call(b.ownerDocument); b.firstChild; )
820
- H.appendChild(b.firstChild);
622
+ if (se)
623
+ for (q = V.call(b.ownerDocument); b.firstChild; )
624
+ q.appendChild(b.firstChild);
821
625
  else
822
- H = b;
823
- return (U.shadowroot || U.shadowrootmode) && (H = Eu.call(n, H, !0)), H;
824
- }
825
- let Z = Au ? b.outerHTML : b.innerHTML;
826
- return Au && P["!doctype"] && b.ownerDocument && b.ownerDocument.doctype && b.ownerDocument.doctype.name && j(Rt, b.ownerDocument.doctype.name) && (Z = "<!DOCTYPE " + b.ownerDocument.doctype.name + `>
827
- ` + Z), Fu && ge([$u, ju, yu], (fu) => {
828
- Z = Xu(Z, fu, " ");
829
- }), m && he ? m.createHTML(Z) : Z;
626
+ q = b;
627
+ return (z.shadowroot || z.shadowrootmode) && (q = gu.call(n, q, !0)), q;
628
+ }
629
+ let W = ku ? b.outerHTML : b.innerHTML;
630
+ return ku && O["!doctype"] && b.ownerDocument && b.ownerDocument.doctype && b.ownerDocument.doctype.name && H(wt, b.ownerDocument.doctype.name) && (W = "<!DOCTYPE " + b.ownerDocument.doctype.name + `>
631
+ ` + W), Fu && be([zu, qu, yu], (fu) => {
632
+ W = Wu(W, fu, " ");
633
+ }), m && le ? m.createHTML(W) : W;
830
634
  }, e.setConfig = function() {
831
635
  let g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
832
- He(g), Ne = !0;
636
+ ze(g), Me = !0;
833
637
  }, e.clearConfig = function() {
834
- Ru = null, Ne = !1;
638
+ Ru = null, Me = !1;
835
639
  }, e.isValidAttribute = function(g, l, b) {
836
- Ru || He({});
837
- const x = B(g), v = B(l);
838
- return z0(x, v, b);
640
+ Ru || ze({});
641
+ const x = N(g), v = N(l);
642
+ return P0(x, v, b);
839
643
  }, e.addHook = function(g, l) {
840
- typeof l == "function" && Yu(O[g], l);
644
+ typeof l == "function" && Gu(M[g], l);
841
645
  }, e.removeHook = function(g, l) {
842
646
  if (l !== void 0) {
843
- const b = Ar(O[g], l);
844
- return b === -1 ? void 0 : Cr(O[g], b, 1)[0];
647
+ const b = ar(M[g], l);
648
+ return b === -1 ? void 0 : sr(M[g], b, 1)[0];
845
649
  }
846
- return X0(O[g]);
650
+ return X0(M[g]);
847
651
  }, e.removeHooks = function(g) {
848
- O[g] = [];
652
+ M[g] = [];
849
653
  }, e.removeAllHooks = function() {
850
- O = nt();
654
+ M = nt();
851
655
  }, e;
852
656
  }
853
- var qr = Mt();
657
+ var Fr = vt();
854
658
  const rt = {};
855
- function Ur(u) {
659
+ function Tr(u) {
856
660
  let e = rt[u];
857
661
  if (e)
858
662
  return e;
@@ -867,9 +671,9 @@ function Ur(u) {
867
671
  }
868
672
  return e;
869
673
  }
870
- function zu(u, e) {
871
- typeof e != "string" && (e = zu.defaultChars);
872
- const t = Ur(e);
674
+ function Nu(u, e) {
675
+ typeof e != "string" && (e = Nu.defaultChars);
676
+ const t = Tr(e);
873
677
  return u.replace(/(%[a-f0-9]{2})+/gi, function(n) {
874
678
  let r = "";
875
679
  for (let o = 0, i = n.length; o < i; o += 3) {
@@ -889,16 +693,16 @@ function zu(u, e) {
889
693
  if ((c & 240) === 224 && o + 6 < i) {
890
694
  const a = parseInt(n.slice(o + 4, o + 6), 16), s = parseInt(n.slice(o + 7, o + 9), 16);
891
695
  if ((a & 192) === 128 && (s & 192) === 128) {
892
- const f = c << 12 & 61440 | a << 6 & 4032 | s & 63;
893
- f < 2048 || f >= 55296 && f <= 57343 ? r += "���" : r += String.fromCharCode(f), o += 6;
696
+ const d = c << 12 & 61440 | a << 6 & 4032 | s & 63;
697
+ d < 2048 || d >= 55296 && d <= 57343 ? r += "���" : r += String.fromCharCode(d), o += 6;
894
698
  continue;
895
699
  }
896
700
  }
897
701
  if ((c & 248) === 240 && o + 9 < i) {
898
- const a = parseInt(n.slice(o + 4, o + 6), 16), s = parseInt(n.slice(o + 7, o + 9), 16), f = parseInt(n.slice(o + 10, o + 12), 16);
899
- if ((a & 192) === 128 && (s & 192) === 128 && (f & 192) === 128) {
900
- let d = c << 18 & 1835008 | a << 12 & 258048 | s << 6 & 4032 | f & 63;
901
- d < 65536 || d > 1114111 ? r += "����" : (d -= 65536, r += String.fromCharCode(55296 + (d >> 10), 56320 + (d & 1023))), o += 9;
702
+ const a = parseInt(n.slice(o + 4, o + 6), 16), s = parseInt(n.slice(o + 7, o + 9), 16), d = parseInt(n.slice(o + 10, o + 12), 16);
703
+ if ((a & 192) === 128 && (s & 192) === 128 && (d & 192) === 128) {
704
+ let f = c << 18 & 1835008 | a << 12 & 258048 | s << 6 & 4032 | d & 63;
705
+ f < 65536 || f > 1114111 ? r += "����" : (f -= 65536, r += String.fromCharCode(55296 + (f >> 10), 56320 + (f & 1023))), o += 9;
902
706
  continue;
903
707
  }
904
708
  }
@@ -907,10 +711,10 @@ function zu(u, e) {
907
711
  return r;
908
712
  });
909
713
  }
910
- zu.defaultChars = ";/?:@&=+$,#";
911
- zu.componentChars = "";
714
+ Nu.defaultChars = ";/?:@&=+$,#";
715
+ Nu.componentChars = "";
912
716
  const ot = {};
913
- function Hr(u) {
717
+ function Sr(u) {
914
718
  let e = ot[u];
915
719
  if (e)
916
720
  return e;
@@ -923,9 +727,9 @@ function Hr(u) {
923
727
  e[u.charCodeAt(t)] = u[t];
924
728
  return e;
925
729
  }
926
- function se(u, e, t) {
927
- typeof e != "string" && (t = e, e = se.defaultChars), typeof t > "u" && (t = !0);
928
- const n = Hr(e);
730
+ function oe(u, e, t) {
731
+ typeof e != "string" && (t = e, e = oe.defaultChars), typeof t > "u" && (t = !0);
732
+ const n = Sr(e);
929
733
  let r = "";
930
734
  for (let o = 0, i = u.length; o < i; o++) {
931
735
  const c = u.charCodeAt(o);
@@ -952,17 +756,17 @@ function se(u, e, t) {
952
756
  }
953
757
  return r;
954
758
  }
955
- se.defaultChars = ";/?:@&=+$,-_.!~*'()#";
956
- se.componentChars = "-_.!~*'()";
957
- function f0(u) {
759
+ oe.defaultChars = ";/?:@&=+$,-_.!~*'()#";
760
+ oe.componentChars = "-_.!~*'()";
761
+ function l0(u) {
958
762
  let e = "";
959
763
  return e += u.protocol || "", e += u.slashes ? "//" : "", e += u.auth ? u.auth + "@" : "", u.hostname && u.hostname.indexOf(":") !== -1 ? e += "[" + u.hostname + "]" : e += u.hostname || "", e += u.port ? ":" + u.port : "", e += u.pathname || "", e += u.search || "", e += u.hash || "", e;
960
764
  }
961
- function ye() {
765
+ function Ce() {
962
766
  this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
963
767
  }
964
- const $r = /^([a-z0-9.+-]+:)/i, jr = /:[0-9]*$/, Gr = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Wr = ["<", ">", '"', "`", " ", "\r", `
965
- `, " "], Zr = ["{", "}", "|", "\\", "^", "`"].concat(Wr), Vr = ["'"].concat(Zr), ct = ["%", "/", "?", ";", "#"].concat(Vr), it = ["/", "?", "#"], Yr = 255, at = /^[+a-z0-9A-Z_-]{0,63}$/, Xr = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, st = {
768
+ const wr = /^([a-z0-9.+-]+:)/i, vr = /:[0-9]*$/, Rr = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Ir = ["<", ">", '"', "`", " ", "\r", `
769
+ `, " "], Mr = ["{", "}", "|", "\\", "^", "`"].concat(Ir), Lr = ["'"].concat(Mr), ct = ["%", "/", "?", ";", "#"].concat(Lr), it = ["/", "?", "#"], Or = 255, at = /^[+a-z0-9A-Z_-]{0,63}$/, Nr = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, st = {
966
770
  javascript: !0,
967
771
  "javascript:": !0
968
772
  }, lt = {
@@ -977,81 +781,81 @@ const $r = /^([a-z0-9.+-]+:)/i, jr = /:[0-9]*$/, Gr = /^(\/\/?(?!\/)[^\?\s]*)(\?
977
781
  "gopher:": !0,
978
782
  "file:": !0
979
783
  };
980
- function d0(u, e) {
981
- if (u && u instanceof ye) return u;
982
- const t = new ye();
784
+ function f0(u, e) {
785
+ if (u && u instanceof Ce) return u;
786
+ const t = new Ce();
983
787
  return t.parse(u, e), t;
984
788
  }
985
- ye.prototype.parse = function(u, e) {
789
+ Ce.prototype.parse = function(u, e) {
986
790
  let t, n, r, o = u;
987
791
  if (o = o.trim(), !e && u.split("#").length === 1) {
988
- const s = Gr.exec(o);
792
+ const s = Rr.exec(o);
989
793
  if (s)
990
794
  return this.pathname = s[1], s[2] && (this.search = s[2]), this;
991
795
  }
992
- let i = $r.exec(o);
796
+ let i = wr.exec(o);
993
797
  if (i && (i = i[0], t = i.toLowerCase(), this.protocol = i, o = o.substr(i.length)), (e || i || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(i && st[i]) && (o = o.substr(2), this.slashes = !0)), !st[i] && (r || i && !lt[i])) {
994
798
  let s = -1;
995
- for (let p = 0; p < it.length; p++)
996
- n = o.indexOf(it[p]), n !== -1 && (s === -1 || n < s) && (s = n);
997
- let f, d;
998
- s === -1 ? d = o.lastIndexOf("@") : d = o.lastIndexOf("@", s), d !== -1 && (f = o.slice(0, d), o = o.slice(d + 1), this.auth = f), s = -1;
999
- for (let p = 0; p < ct.length; p++)
1000
- n = o.indexOf(ct[p]), n !== -1 && (s === -1 || n < s) && (s = n);
799
+ for (let h = 0; h < it.length; h++)
800
+ n = o.indexOf(it[h]), n !== -1 && (s === -1 || n < s) && (s = n);
801
+ let d, f;
802
+ s === -1 ? f = o.lastIndexOf("@") : f = o.lastIndexOf("@", s), f !== -1 && (d = o.slice(0, f), o = o.slice(f + 1), this.auth = d), s = -1;
803
+ for (let h = 0; h < ct.length; h++)
804
+ n = o.indexOf(ct[h]), n !== -1 && (s === -1 || n < s) && (s = n);
1001
805
  s === -1 && (s = o.length), o[s - 1] === ":" && s--;
1002
806
  const _ = o.slice(0, s);
1003
807
  o = o.slice(s), this.parseHost(_), this.hostname = this.hostname || "";
1004
- const h = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
1005
- if (!h) {
1006
- const p = this.hostname.split(/\./);
1007
- for (let C = 0, D = p.length; C < D; C++) {
1008
- const S = p[C];
1009
- if (S && !S.match(at)) {
808
+ const p = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
809
+ if (!p) {
810
+ const h = this.hostname.split(/\./);
811
+ for (let C = 0, D = h.length; C < D; C++) {
812
+ const T = h[C];
813
+ if (T && !T.match(at)) {
1010
814
  let E = "";
1011
- for (let k = 0, m = S.length; k < m; k++)
1012
- S.charCodeAt(k) > 127 ? E += "x" : E += S[k];
815
+ for (let k = 0, m = T.length; k < m; k++)
816
+ T.charCodeAt(k) > 127 ? E += "x" : E += T[k];
1013
817
  if (!E.match(at)) {
1014
- const k = p.slice(0, C), m = p.slice(C + 1), A = S.match(Xr);
818
+ const k = h.slice(0, C), m = h.slice(C + 1), A = T.match(Nr);
1015
819
  A && (k.push(A[1]), m.unshift(A[2])), m.length && (o = m.join(".") + o), this.hostname = k.join(".");
1016
820
  break;
1017
821
  }
1018
822
  }
1019
823
  }
1020
824
  }
1021
- this.hostname.length > Yr && (this.hostname = ""), h && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
825
+ this.hostname.length > Or && (this.hostname = ""), p && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
1022
826
  }
1023
827
  const c = o.indexOf("#");
1024
828
  c !== -1 && (this.hash = o.substr(c), o = o.slice(0, c));
1025
829
  const a = o.indexOf("?");
1026
830
  return a !== -1 && (this.search = o.substr(a), o = o.slice(0, a)), o && (this.pathname = o), lt[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
1027
831
  };
1028
- ye.prototype.parseHost = function(u) {
1029
- let e = jr.exec(u);
832
+ Ce.prototype.parseHost = function(u) {
833
+ let e = vr.exec(u);
1030
834
  e && (e = e[0], e !== ":" && (this.port = e.substr(1)), u = u.substr(0, u.length - e.length)), u && (this.hostname = u);
1031
835
  };
1032
- const Jr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
836
+ const Br = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1033
837
  __proto__: null,
1034
- decode: zu,
1035
- encode: se,
1036
- format: f0,
1037
- parse: d0
1038
- }, Symbol.toStringTag, { value: "Module" })), It = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Lt = /[\0-\x1F\x7F-\x9F]/, Qr = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, p0 = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, Ot = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, Nt = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Kr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
838
+ decode: Nu,
839
+ encode: oe,
840
+ format: l0,
841
+ parse: f0
842
+ }, Symbol.toStringTag, { value: "Module" })), Rt = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, It = /[\0-\x1F\x7F-\x9F]/, Pr = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, d0 = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/, Mt = /[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/, Lt = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1039
843
  __proto__: null,
1040
- Any: It,
1041
- Cc: Lt,
1042
- Cf: Qr,
1043
- P: p0,
1044
- S: Ot,
1045
- Z: Nt
1046
- }, Symbol.toStringTag, { value: "Module" })), uo = new Uint16Array(
844
+ Any: Rt,
845
+ Cc: It,
846
+ Cf: Pr,
847
+ P: d0,
848
+ S: Mt,
849
+ Z: Lt
850
+ }, Symbol.toStringTag, { value: "Module" })), qr = new Uint16Array(
1047
851
  // prettier-ignore
1048
852
  'ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((u) => u.charCodeAt(0))
1049
- ), eo = new Uint16Array(
853
+ ), Ur = new Uint16Array(
1050
854
  // prettier-ignore
1051
855
  "Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
1052
856
  );
1053
- var Xe;
1054
- const to = /* @__PURE__ */ new Map([
857
+ var Ze;
858
+ const Hr = /* @__PURE__ */ new Map([
1055
859
  [0, 65533],
1056
860
  // C1 Unicode control character reference replacements
1057
861
  [128, 8364],
@@ -1081,53 +885,53 @@ const to = /* @__PURE__ */ new Map([
1081
885
  [156, 339],
1082
886
  [158, 382],
1083
887
  [159, 376]
1084
- ]), no = (
888
+ ]), $r = (
1085
889
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
1086
- (Xe = String.fromCodePoint) !== null && Xe !== void 0 ? Xe : function(u) {
890
+ (Ze = String.fromCodePoint) !== null && Ze !== void 0 ? Ze : function(u) {
1087
891
  let e = "";
1088
892
  return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
1089
893
  }
1090
894
  );
1091
- function ro(u) {
895
+ function jr(u) {
1092
896
  var e;
1093
- return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = to.get(u)) !== null && e !== void 0 ? e : u;
897
+ return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = Hr.get(u)) !== null && e !== void 0 ? e : u;
1094
898
  }
1095
- var q;
899
+ var P;
1096
900
  (function(u) {
1097
901
  u[u.NUM = 35] = "NUM", u[u.SEMI = 59] = "SEMI", u[u.EQUALS = 61] = "EQUALS", u[u.ZERO = 48] = "ZERO", u[u.NINE = 57] = "NINE", u[u.LOWER_A = 97] = "LOWER_A", u[u.LOWER_F = 102] = "LOWER_F", u[u.LOWER_X = 120] = "LOWER_X", u[u.LOWER_Z = 122] = "LOWER_Z", u[u.UPPER_A = 65] = "UPPER_A", u[u.UPPER_F = 70] = "UPPER_F", u[u.UPPER_Z = 90] = "UPPER_Z";
1098
- })(q || (q = {}));
1099
- const oo = 32;
902
+ })(P || (P = {}));
903
+ const Gr = 32;
1100
904
  var _u;
1101
905
  (function(u) {
1102
906
  u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
1103
907
  })(_u || (_u = {}));
1104
- function c0(u) {
1105
- return u >= q.ZERO && u <= q.NINE;
908
+ function n0(u) {
909
+ return u >= P.ZERO && u <= P.NINE;
1106
910
  }
1107
- function co(u) {
1108
- return u >= q.UPPER_A && u <= q.UPPER_F || u >= q.LOWER_A && u <= q.LOWER_F;
911
+ function Wr(u) {
912
+ return u >= P.UPPER_A && u <= P.UPPER_F || u >= P.LOWER_A && u <= P.LOWER_F;
1109
913
  }
1110
- function io(u) {
1111
- return u >= q.UPPER_A && u <= q.UPPER_Z || u >= q.LOWER_A && u <= q.LOWER_Z || c0(u);
914
+ function Zr(u) {
915
+ return u >= P.UPPER_A && u <= P.UPPER_Z || u >= P.LOWER_A && u <= P.LOWER_Z || n0(u);
1112
916
  }
1113
- function ao(u) {
1114
- return u === q.EQUALS || io(u);
917
+ function Vr(u) {
918
+ return u === P.EQUALS || Zr(u);
1115
919
  }
1116
- var z;
920
+ var B;
1117
921
  (function(u) {
1118
922
  u[u.EntityStart = 0] = "EntityStart", u[u.NumericStart = 1] = "NumericStart", u[u.NumericDecimal = 2] = "NumericDecimal", u[u.NumericHex = 3] = "NumericHex", u[u.NamedEntity = 4] = "NamedEntity";
1119
- })(z || (z = {}));
923
+ })(B || (B = {}));
1120
924
  var bu;
1121
925
  (function(u) {
1122
926
  u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
1123
927
  })(bu || (bu = {}));
1124
- class so {
928
+ class Yr {
1125
929
  constructor(e, t, n) {
1126
- this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = z.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = bu.Strict;
930
+ this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = B.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = bu.Strict;
1127
931
  }
1128
932
  /** Resets the instance to make it reusable. */
1129
933
  startEntity(e) {
1130
- this.decodeMode = e, this.state = z.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
934
+ this.decodeMode = e, this.state = B.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
1131
935
  }
1132
936
  /**
1133
937
  * Write an entity to the decoder. This can be called multiple times with partial entities.
@@ -1142,15 +946,15 @@ class so {
1142
946
  */
1143
947
  write(e, t) {
1144
948
  switch (this.state) {
1145
- case z.EntityStart:
1146
- return e.charCodeAt(t) === q.NUM ? (this.state = z.NumericStart, this.consumed += 1, this.stateNumericStart(e, t + 1)) : (this.state = z.NamedEntity, this.stateNamedEntity(e, t));
1147
- case z.NumericStart:
949
+ case B.EntityStart:
950
+ return e.charCodeAt(t) === P.NUM ? (this.state = B.NumericStart, this.consumed += 1, this.stateNumericStart(e, t + 1)) : (this.state = B.NamedEntity, this.stateNamedEntity(e, t));
951
+ case B.NumericStart:
1148
952
  return this.stateNumericStart(e, t);
1149
- case z.NumericDecimal:
953
+ case B.NumericDecimal:
1150
954
  return this.stateNumericDecimal(e, t);
1151
- case z.NumericHex:
955
+ case B.NumericHex:
1152
956
  return this.stateNumericHex(e, t);
1153
- case z.NamedEntity:
957
+ case B.NamedEntity:
1154
958
  return this.stateNamedEntity(e, t);
1155
959
  }
1156
960
  }
@@ -1164,7 +968,7 @@ class so {
1164
968
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
1165
969
  */
1166
970
  stateNumericStart(e, t) {
1167
- return t >= e.length ? -1 : (e.charCodeAt(t) | oo) === q.LOWER_X ? (this.state = z.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = z.NumericDecimal, this.stateNumericDecimal(e, t));
971
+ return t >= e.length ? -1 : (e.charCodeAt(t) | Gr) === P.LOWER_X ? (this.state = B.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = B.NumericDecimal, this.stateNumericDecimal(e, t));
1168
972
  }
1169
973
  addToNumericResult(e, t, n, r) {
1170
974
  if (t !== n) {
@@ -1185,7 +989,7 @@ class so {
1185
989
  const n = t;
1186
990
  for (; t < e.length; ) {
1187
991
  const r = e.charCodeAt(t);
1188
- if (c0(r) || co(r))
992
+ if (n0(r) || Wr(r))
1189
993
  t += 1;
1190
994
  else
1191
995
  return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
@@ -1205,7 +1009,7 @@ class so {
1205
1009
  const n = t;
1206
1010
  for (; t < e.length; ) {
1207
1011
  const r = e.charCodeAt(t);
1208
- if (c0(r))
1012
+ if (n0(r))
1209
1013
  t += 1;
1210
1014
  else
1211
1015
  return this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(r, 2);
@@ -1229,11 +1033,11 @@ class so {
1229
1033
  var n;
1230
1034
  if (this.consumed <= t)
1231
1035
  return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
1232
- if (e === q.SEMI)
1036
+ if (e === P.SEMI)
1233
1037
  this.consumed += 1;
1234
1038
  else if (this.decodeMode === bu.Strict)
1235
1039
  return 0;
1236
- return this.emitCodePoint(ro(this.result), this.consumed), this.errors && (e !== q.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
1040
+ return this.emitCodePoint(jr(this.result), this.consumed), this.errors && (e !== P.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
1237
1041
  }
1238
1042
  /**
1239
1043
  * Parses a named entity.
@@ -1249,13 +1053,13 @@ class so {
1249
1053
  let r = n[this.treeIndex], o = (r & _u.VALUE_LENGTH) >> 14;
1250
1054
  for (; t < e.length; t++, this.excess++) {
1251
1055
  const i = e.charCodeAt(t);
1252
- if (this.treeIndex = lo(n, r, this.treeIndex + Math.max(1, o), i), this.treeIndex < 0)
1056
+ if (this.treeIndex = Xr(n, r, this.treeIndex + Math.max(1, o), i), this.treeIndex < 0)
1253
1057
  return this.result === 0 || // If we are parsing an attribute
1254
1058
  this.decodeMode === bu.Attribute && // We shouldn't have consumed any characters after the entity,
1255
1059
  (o === 0 || // And there should be no invalid characters.
1256
- ao(i)) ? 0 : this.emitNotTerminatedNamedEntity();
1060
+ Vr(i)) ? 0 : this.emitNotTerminatedNamedEntity();
1257
1061
  if (r = n[this.treeIndex], o = (r & _u.VALUE_LENGTH) >> 14, o !== 0) {
1258
- if (i === q.SEMI)
1062
+ if (i === P.SEMI)
1259
1063
  return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
1260
1064
  this.decodeMode !== bu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
1261
1065
  }
@@ -1295,22 +1099,22 @@ class so {
1295
1099
  end() {
1296
1100
  var e;
1297
1101
  switch (this.state) {
1298
- case z.NamedEntity:
1102
+ case B.NamedEntity:
1299
1103
  return this.result !== 0 && (this.decodeMode !== bu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
1300
- case z.NumericDecimal:
1104
+ case B.NumericDecimal:
1301
1105
  return this.emitNumericEntity(0, 2);
1302
- case z.NumericHex:
1106
+ case B.NumericHex:
1303
1107
  return this.emitNumericEntity(0, 3);
1304
- case z.NumericStart:
1108
+ case B.NumericStart:
1305
1109
  return (e = this.errors) === null || e === void 0 || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
1306
- case z.EntityStart:
1110
+ case B.EntityStart:
1307
1111
  return 0;
1308
1112
  }
1309
1113
  }
1310
1114
  }
1311
- function Pt(u) {
1115
+ function Ot(u) {
1312
1116
  let e = "";
1313
- const t = new so(u, (n) => e += no(n));
1117
+ const t = new Yr(u, (n) => e += $r(n));
1314
1118
  return function(r, o) {
1315
1119
  let i = 0, c = 0;
1316
1120
  for (; (c = r.indexOf("&", c)) >= 0; ) {
@@ -1330,7 +1134,7 @@ function Pt(u) {
1330
1134
  return e = "", a;
1331
1135
  };
1332
1136
  }
1333
- function lo(u, e, t, n) {
1137
+ function Xr(u, e, t, n) {
1334
1138
  const r = (e & _u.BRANCH_LENGTH) >> 7, o = e & _u.JUMP_TABLE;
1335
1139
  if (r === 0)
1336
1140
  return o !== 0 && n === o ? t : -1;
@@ -1350,22 +1154,22 @@ function lo(u, e, t, n) {
1350
1154
  }
1351
1155
  return -1;
1352
1156
  }
1353
- const fo = Pt(uo);
1354
- Pt(eo);
1355
- function Bt(u, e = bu.Legacy) {
1356
- return fo(u, e);
1157
+ const Jr = Ot(qr);
1158
+ Ot(Ur);
1159
+ function Nt(u, e = bu.Legacy) {
1160
+ return Jr(u, e);
1357
1161
  }
1358
- function po(u) {
1162
+ function Qr(u) {
1359
1163
  return Object.prototype.toString.call(u);
1360
1164
  }
1361
1165
  function h0(u) {
1362
- return po(u) === "[object String]";
1166
+ return Qr(u) === "[object String]";
1363
1167
  }
1364
- const ho = Object.prototype.hasOwnProperty;
1365
- function bo(u, e) {
1366
- return ho.call(u, e);
1168
+ const Kr = Object.prototype.hasOwnProperty;
1169
+ function uo(u, e) {
1170
+ return Kr.call(u, e);
1367
1171
  }
1368
- function we(u) {
1172
+ function Fe(u) {
1369
1173
  return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
1370
1174
  if (t) {
1371
1175
  if (typeof t != "object")
@@ -1376,13 +1180,13 @@ function we(u) {
1376
1180
  }
1377
1181
  }), u;
1378
1182
  }
1379
- function zt(u, e, t) {
1183
+ function Bt(u, e, t) {
1380
1184
  return [].concat(u.slice(0, e), t, u.slice(e + 1));
1381
1185
  }
1382
- function b0(u) {
1186
+ function p0(u) {
1383
1187
  return !(u >= 55296 && u <= 57343 || u >= 64976 && u <= 65007 || (u & 65535) === 65535 || (u & 65535) === 65534 || u >= 0 && u <= 8 || u === 11 || u >= 14 && u <= 31 || u >= 127 && u <= 159 || u > 1114111);
1384
1188
  }
1385
- function Fe(u) {
1189
+ function De(u) {
1386
1190
  if (u > 65535) {
1387
1191
  u -= 65536;
1388
1192
  const e = 55296 + (u >> 10), t = 56320 + (u & 1023);
@@ -1390,38 +1194,38 @@ function Fe(u) {
1390
1194
  }
1391
1195
  return String.fromCharCode(u);
1392
1196
  }
1393
- const qt = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, _o = /&([a-z#][a-z0-9]{1,31});/gi, mo = new RegExp(qt.source + "|" + _o.source, "gi"), xo = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
1394
- function go(u, e) {
1395
- if (e.charCodeAt(0) === 35 && xo.test(e)) {
1197
+ const Pt = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, eo = /&([a-z#][a-z0-9]{1,31});/gi, to = new RegExp(Pt.source + "|" + eo.source, "gi"), no = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
1198
+ function ro(u, e) {
1199
+ if (e.charCodeAt(0) === 35 && no.test(e)) {
1396
1200
  const n = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
1397
- return b0(n) ? Fe(n) : u;
1201
+ return p0(n) ? De(n) : u;
1398
1202
  }
1399
- const t = Bt(u);
1203
+ const t = Nt(u);
1400
1204
  return t !== u ? t : u;
1401
1205
  }
1402
- function ko(u) {
1403
- return u.indexOf("\\") < 0 ? u : u.replace(qt, "$1");
1206
+ function oo(u) {
1207
+ return u.indexOf("\\") < 0 ? u : u.replace(Pt, "$1");
1404
1208
  }
1405
- function qu(u) {
1406
- return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(mo, function(e, t, n) {
1407
- return t || go(e, n);
1209
+ function Bu(u) {
1210
+ return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(to, function(e, t, n) {
1211
+ return t || ro(e, n);
1408
1212
  });
1409
1213
  }
1410
- const Eo = /[&<>"]/, Ao = /[&<>"]/g, Co = {
1214
+ const co = /[&<>"]/, io = /[&<>"]/g, ao = {
1411
1215
  "&": "&amp;",
1412
1216
  "<": "&lt;",
1413
1217
  ">": "&gt;",
1414
1218
  '"': "&quot;"
1415
1219
  };
1416
- function Do(u) {
1417
- return Co[u];
1220
+ function so(u) {
1221
+ return ao[u];
1418
1222
  }
1419
- function gu(u) {
1420
- return Eo.test(u) ? u.replace(Ao, Do) : u;
1223
+ function xu(u) {
1224
+ return co.test(u) ? u.replace(io, so) : u;
1421
1225
  }
1422
- const yo = /[.?*+^$[\]\\(){}|-]/g;
1423
- function Fo(u) {
1424
- return u.replace(yo, "\\$&");
1226
+ const lo = /[.?*+^$[\]\\(){}|-]/g;
1227
+ function fo(u) {
1228
+ return u.replace(lo, "\\$&");
1425
1229
  }
1426
1230
  function w(u) {
1427
1231
  switch (u) {
@@ -1431,7 +1235,7 @@ function w(u) {
1431
1235
  }
1432
1236
  return !1;
1433
1237
  }
1434
- function re(u) {
1238
+ function Qu(u) {
1435
1239
  if (u >= 8192 && u <= 8202)
1436
1240
  return !0;
1437
1241
  switch (u) {
@@ -1450,10 +1254,10 @@ function re(u) {
1450
1254
  }
1451
1255
  return !1;
1452
1256
  }
1453
- function oe(u) {
1454
- return p0.test(u) || Ot.test(u);
1257
+ function Ku(u) {
1258
+ return d0.test(u) || Mt.test(u);
1455
1259
  }
1456
- function ce(u) {
1260
+ function ue(u) {
1457
1261
  switch (u) {
1458
1262
  case 33:
1459
1263
  case 34:
@@ -1492,29 +1296,29 @@ function ce(u) {
1492
1296
  return !1;
1493
1297
  }
1494
1298
  }
1495
- function ve(u) {
1299
+ function Te(u) {
1496
1300
  return u = u.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (u = u.replace(/ẞ/g, "ß")), u.toLowerCase().toUpperCase();
1497
1301
  }
1498
- const To = { mdurl: Jr, ucmicro: Kr }, So = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1302
+ const ho = { mdurl: Br, ucmicro: zr }, po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1499
1303
  __proto__: null,
1500
- arrayReplaceAt: zt,
1501
- assign: we,
1502
- escapeHtml: gu,
1503
- escapeRE: Fo,
1504
- fromCodePoint: Fe,
1505
- has: bo,
1506
- isMdAsciiPunct: ce,
1507
- isPunctChar: oe,
1304
+ arrayReplaceAt: Bt,
1305
+ assign: Fe,
1306
+ escapeHtml: xu,
1307
+ escapeRE: fo,
1308
+ fromCodePoint: De,
1309
+ has: uo,
1310
+ isMdAsciiPunct: ue,
1311
+ isPunctChar: Ku,
1508
1312
  isSpace: w,
1509
1313
  isString: h0,
1510
- isValidEntityCode: b0,
1511
- isWhiteSpace: re,
1512
- lib: To,
1513
- normalizeReference: ve,
1514
- unescapeAll: qu,
1515
- unescapeMd: ko
1314
+ isValidEntityCode: p0,
1315
+ isWhiteSpace: Qu,
1316
+ lib: ho,
1317
+ normalizeReference: Te,
1318
+ unescapeAll: Bu,
1319
+ unescapeMd: oo
1516
1320
  }, Symbol.toStringTag, { value: "Module" }));
1517
- function wo(u, e, t) {
1321
+ function bo(u, e, t) {
1518
1322
  let n, r, o, i;
1519
1323
  const c = u.posMax, a = u.pos;
1520
1324
  for (u.pos = e + 1, n = 1; u.pos < c; ) {
@@ -1532,7 +1336,7 @@ function wo(u, e, t) {
1532
1336
  let s = -1;
1533
1337
  return r && (s = u.pos), u.pos = a, s;
1534
1338
  }
1535
- function vo(u, e, t) {
1339
+ function _o(u, e, t) {
1536
1340
  let n, r = e;
1537
1341
  const o = {
1538
1342
  ok: !1,
@@ -1544,7 +1348,7 @@ function vo(u, e, t) {
1544
1348
  if (n = u.charCodeAt(r), n === 10 || n === 60)
1545
1349
  return o;
1546
1350
  if (n === 62)
1547
- return o.pos = r + 1, o.str = qu(u.slice(e + 1, r)), o.ok = !0, o;
1351
+ return o.pos = r + 1, o.str = Bu(u.slice(e + 1, r)), o.ok = !0, o;
1548
1352
  if (n === 92 && r + 1 < t) {
1549
1353
  r += 2;
1550
1354
  continue;
@@ -1570,9 +1374,9 @@ function vo(u, e, t) {
1570
1374
  }
1571
1375
  r++;
1572
1376
  }
1573
- return e === r || i !== 0 || (o.str = qu(u.slice(e, r)), o.pos = r, o.ok = !0), o;
1377
+ return e === r || i !== 0 || (o.str = Bu(u.slice(e, r)), o.pos = r, o.ok = !0), o;
1574
1378
  }
1575
- function Ro(u, e, t, n) {
1379
+ function mo(u, e, t, n) {
1576
1380
  let r, o = e;
1577
1381
  const i = {
1578
1382
  // if `true`, this is a valid link title
@@ -1598,44 +1402,44 @@ function Ro(u, e, t, n) {
1598
1402
  }
1599
1403
  for (; o < t; ) {
1600
1404
  if (r = u.charCodeAt(o), r === i.marker)
1601
- return i.pos = o + 1, i.str += qu(u.slice(e, o)), i.ok = !0, i;
1405
+ return i.pos = o + 1, i.str += Bu(u.slice(e, o)), i.ok = !0, i;
1602
1406
  if (r === 40 && i.marker === 41)
1603
1407
  return i;
1604
1408
  r === 92 && o + 1 < t && o++, o++;
1605
1409
  }
1606
- return i.can_continue = !0, i.str += qu(u.slice(e, o)), i;
1410
+ return i.can_continue = !0, i.str += Bu(u.slice(e, o)), i;
1607
1411
  }
1608
- const Mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1412
+ const xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1609
1413
  __proto__: null,
1610
- parseLinkDestination: vo,
1611
- parseLinkLabel: wo,
1612
- parseLinkTitle: Ro
1414
+ parseLinkDestination: _o,
1415
+ parseLinkLabel: bo,
1416
+ parseLinkTitle: mo
1613
1417
  }, Symbol.toStringTag, { value: "Module" })), iu = {};
1614
1418
  iu.code_inline = function(u, e, t, n, r) {
1615
1419
  const o = u[e];
1616
- return "<code" + r.renderAttrs(o) + ">" + gu(o.content) + "</code>";
1420
+ return "<code" + r.renderAttrs(o) + ">" + xu(o.content) + "</code>";
1617
1421
  };
1618
1422
  iu.code_block = function(u, e, t, n, r) {
1619
1423
  const o = u[e];
1620
- return "<pre" + r.renderAttrs(o) + "><code>" + gu(u[e].content) + `</code></pre>
1424
+ return "<pre" + r.renderAttrs(o) + "><code>" + xu(u[e].content) + `</code></pre>
1621
1425
  `;
1622
1426
  };
1623
1427
  iu.fence = function(u, e, t, n, r) {
1624
- const o = u[e], i = o.info ? qu(o.info).trim() : "";
1428
+ const o = u[e], i = o.info ? Bu(o.info).trim() : "";
1625
1429
  let c = "", a = "";
1626
1430
  if (i) {
1627
- const f = i.split(/(\s+)/g);
1628
- c = f[0], a = f.slice(2).join("");
1431
+ const d = i.split(/(\s+)/g);
1432
+ c = d[0], a = d.slice(2).join("");
1629
1433
  }
1630
1434
  let s;
1631
- if (t.highlight ? s = t.highlight(o.content, c, a) || gu(o.content) : s = gu(o.content), s.indexOf("<pre") === 0)
1435
+ if (t.highlight ? s = t.highlight(o.content, c, a) || xu(o.content) : s = xu(o.content), s.indexOf("<pre") === 0)
1632
1436
  return s + `
1633
1437
  `;
1634
1438
  if (i) {
1635
- const f = o.attrIndex("class"), d = o.attrs ? o.attrs.slice() : [];
1636
- f < 0 ? d.push(["class", t.langPrefix + c]) : (d[f] = d[f].slice(), d[f][1] += " " + t.langPrefix + c);
1439
+ const d = o.attrIndex("class"), f = o.attrs ? o.attrs.slice() : [];
1440
+ d < 0 ? f.push(["class", t.langPrefix + c]) : (f[d] = f[d].slice(), f[d][1] += " " + t.langPrefix + c);
1637
1441
  const _ = {
1638
- attrs: d
1442
+ attrs: f
1639
1443
  };
1640
1444
  return `<pre><code${r.renderAttrs(_)}>${s}</code></pre>
1641
1445
  `;
@@ -1659,7 +1463,7 @@ iu.softbreak = function(u, e, t) {
1659
1463
  `;
1660
1464
  };
1661
1465
  iu.text = function(u, e) {
1662
- return gu(u[e].content);
1466
+ return xu(u[e].content);
1663
1467
  };
1664
1468
  iu.html_block = function(u, e) {
1665
1469
  return u[e].content;
@@ -1667,18 +1471,18 @@ iu.html_block = function(u, e) {
1667
1471
  iu.html_inline = function(u, e) {
1668
1472
  return u[e].content;
1669
1473
  };
1670
- function Hu() {
1671
- this.rules = we({}, iu);
1474
+ function Pu() {
1475
+ this.rules = Fe({}, iu);
1672
1476
  }
1673
- Hu.prototype.renderAttrs = function(e) {
1477
+ Pu.prototype.renderAttrs = function(e) {
1674
1478
  let t, n, r;
1675
1479
  if (!e.attrs)
1676
1480
  return "";
1677
1481
  for (r = "", t = 0, n = e.attrs.length; t < n; t++)
1678
- r += " " + gu(e.attrs[t][0]) + '="' + gu(e.attrs[t][1]) + '"';
1482
+ r += " " + xu(e.attrs[t][0]) + '="' + xu(e.attrs[t][1]) + '"';
1679
1483
  return r;
1680
1484
  };
1681
- Hu.prototype.renderToken = function(e, t, n) {
1485
+ Pu.prototype.renderToken = function(e, t, n) {
1682
1486
  const r = e[t];
1683
1487
  let o = "";
1684
1488
  if (r.hidden)
@@ -1693,7 +1497,7 @@ Hu.prototype.renderToken = function(e, t, n) {
1693
1497
  return o += i ? `>
1694
1498
  ` : ">", o;
1695
1499
  };
1696
- Hu.prototype.renderInline = function(u, e, t) {
1500
+ Pu.prototype.renderInline = function(u, e, t) {
1697
1501
  let n = "";
1698
1502
  const r = this.rules;
1699
1503
  for (let o = 0, i = u.length; o < i; o++) {
@@ -1702,7 +1506,7 @@ Hu.prototype.renderInline = function(u, e, t) {
1702
1506
  }
1703
1507
  return n;
1704
1508
  };
1705
- Hu.prototype.renderInlineAsText = function(u, e, t) {
1509
+ Pu.prototype.renderInlineAsText = function(u, e, t) {
1706
1510
  let n = "";
1707
1511
  for (let r = 0, o = u.length; r < o; r++)
1708
1512
  switch (u[r].type) {
@@ -1724,7 +1528,7 @@ Hu.prototype.renderInlineAsText = function(u, e, t) {
1724
1528
  }
1725
1529
  return n;
1726
1530
  };
1727
- Hu.prototype.render = function(u, e, t) {
1531
+ Pu.prototype.render = function(u, e, t) {
1728
1532
  let n = "";
1729
1533
  const r = this.rules;
1730
1534
  for (let o = 0, i = u.length; o < i; o++) {
@@ -1733,16 +1537,16 @@ Hu.prototype.render = function(u, e, t) {
1733
1537
  }
1734
1538
  return n;
1735
1539
  };
1736
- function V() {
1540
+ function Z() {
1737
1541
  this.__rules__ = [], this.__cache__ = null;
1738
1542
  }
1739
- V.prototype.__find__ = function(u) {
1543
+ Z.prototype.__find__ = function(u) {
1740
1544
  for (let e = 0; e < this.__rules__.length; e++)
1741
1545
  if (this.__rules__[e].name === u)
1742
1546
  return e;
1743
1547
  return -1;
1744
1548
  };
1745
- V.prototype.__compile__ = function() {
1549
+ Z.prototype.__compile__ = function() {
1746
1550
  const u = this, e = [""];
1747
1551
  u.__rules__.forEach(function(t) {
1748
1552
  t.enabled && t.alt.forEach(function(n) {
@@ -1754,13 +1558,13 @@ V.prototype.__compile__ = function() {
1754
1558
  });
1755
1559
  });
1756
1560
  };
1757
- V.prototype.at = function(u, e, t) {
1561
+ Z.prototype.at = function(u, e, t) {
1758
1562
  const n = this.__find__(u), r = t || {};
1759
1563
  if (n === -1)
1760
1564
  throw new Error("Parser rule not found: " + u);
1761
1565
  this.__rules__[n].fn = e, this.__rules__[n].alt = r.alt || [], this.__cache__ = null;
1762
1566
  };
1763
- V.prototype.before = function(u, e, t, n) {
1567
+ Z.prototype.before = function(u, e, t, n) {
1764
1568
  const r = this.__find__(u), o = n || {};
1765
1569
  if (r === -1)
1766
1570
  throw new Error("Parser rule not found: " + u);
@@ -1771,7 +1575,7 @@ V.prototype.before = function(u, e, t, n) {
1771
1575
  alt: o.alt || []
1772
1576
  }), this.__cache__ = null;
1773
1577
  };
1774
- V.prototype.after = function(u, e, t, n) {
1578
+ Z.prototype.after = function(u, e, t, n) {
1775
1579
  const r = this.__find__(u), o = n || {};
1776
1580
  if (r === -1)
1777
1581
  throw new Error("Parser rule not found: " + u);
@@ -1782,7 +1586,7 @@ V.prototype.after = function(u, e, t, n) {
1782
1586
  alt: o.alt || []
1783
1587
  }), this.__cache__ = null;
1784
1588
  };
1785
- V.prototype.push = function(u, e, t) {
1589
+ Z.prototype.push = function(u, e, t) {
1786
1590
  const n = t || {};
1787
1591
  this.__rules__.push({
1788
1592
  name: u,
@@ -1791,7 +1595,7 @@ V.prototype.push = function(u, e, t) {
1791
1595
  alt: n.alt || []
1792
1596
  }), this.__cache__ = null;
1793
1597
  };
1794
- V.prototype.enable = function(u, e) {
1598
+ Z.prototype.enable = function(u, e) {
1795
1599
  Array.isArray(u) || (u = [u]);
1796
1600
  const t = [];
1797
1601
  return u.forEach(function(n) {
@@ -1804,12 +1608,12 @@ V.prototype.enable = function(u, e) {
1804
1608
  this.__rules__[r].enabled = !0, t.push(n);
1805
1609
  }, this), this.__cache__ = null, t;
1806
1610
  };
1807
- V.prototype.enableOnly = function(u, e) {
1611
+ Z.prototype.enableOnly = function(u, e) {
1808
1612
  Array.isArray(u) || (u = [u]), this.__rules__.forEach(function(t) {
1809
1613
  t.enabled = !1;
1810
1614
  }), this.enable(u, e);
1811
1615
  };
1812
- V.prototype.disable = function(u, e) {
1616
+ Z.prototype.disable = function(u, e) {
1813
1617
  Array.isArray(u) || (u = [u]);
1814
1618
  const t = [];
1815
1619
  return u.forEach(function(n) {
@@ -1822,13 +1626,13 @@ V.prototype.disable = function(u, e) {
1822
1626
  this.__rules__[r].enabled = !1, t.push(n);
1823
1627
  }, this), this.__cache__ = null, t;
1824
1628
  };
1825
- V.prototype.getRules = function(u) {
1629
+ Z.prototype.getRules = function(u) {
1826
1630
  return this.__cache__ === null && this.__compile__(), this.__cache__[u] || [];
1827
1631
  };
1828
- function eu(u, e, t) {
1632
+ function tu(u, e, t) {
1829
1633
  this.type = u, this.tag = e, this.attrs = null, this.map = null, this.nesting = t, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
1830
1634
  }
1831
- eu.prototype.attrIndex = function(e) {
1635
+ tu.prototype.attrIndex = function(e) {
1832
1636
  if (!this.attrs)
1833
1637
  return -1;
1834
1638
  const t = this.attrs;
@@ -1837,50 +1641,50 @@ eu.prototype.attrIndex = function(e) {
1837
1641
  return n;
1838
1642
  return -1;
1839
1643
  };
1840
- eu.prototype.attrPush = function(e) {
1644
+ tu.prototype.attrPush = function(e) {
1841
1645
  this.attrs ? this.attrs.push(e) : this.attrs = [e];
1842
1646
  };
1843
- eu.prototype.attrSet = function(e, t) {
1647
+ tu.prototype.attrSet = function(e, t) {
1844
1648
  const n = this.attrIndex(e), r = [e, t];
1845
1649
  n < 0 ? this.attrPush(r) : this.attrs[n] = r;
1846
1650
  };
1847
- eu.prototype.attrGet = function(e) {
1651
+ tu.prototype.attrGet = function(e) {
1848
1652
  const t = this.attrIndex(e);
1849
1653
  let n = null;
1850
1654
  return t >= 0 && (n = this.attrs[t][1]), n;
1851
1655
  };
1852
- eu.prototype.attrJoin = function(e, t) {
1656
+ tu.prototype.attrJoin = function(e, t) {
1853
1657
  const n = this.attrIndex(e);
1854
1658
  n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
1855
1659
  };
1856
- function Ut(u, e, t) {
1660
+ function zt(u, e, t) {
1857
1661
  this.src = u, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = e;
1858
1662
  }
1859
- Ut.prototype.Token = eu;
1860
- const Io = /\r\n?|\n/g, Lo = /\0/g;
1861
- function Oo(u) {
1663
+ zt.prototype.Token = tu;
1664
+ const go = /\r\n?|\n/g, ko = /\0/g;
1665
+ function Eo(u) {
1862
1666
  let e;
1863
- e = u.src.replace(Io, `
1864
- `), e = e.replace(Lo, "�"), u.src = e;
1667
+ e = u.src.replace(go, `
1668
+ `), e = e.replace(ko, "�"), u.src = e;
1865
1669
  }
1866
- function No(u) {
1670
+ function Ao(u) {
1867
1671
  let e;
1868
1672
  u.inlineMode ? (e = new u.Token("inline", "", 0), e.content = u.src, e.map = [0, 1], e.children = [], u.tokens.push(e)) : u.md.block.parse(u.src, u.md, u.env, u.tokens);
1869
1673
  }
1870
- function Po(u) {
1674
+ function Co(u) {
1871
1675
  const e = u.tokens;
1872
1676
  for (let t = 0, n = e.length; t < n; t++) {
1873
1677
  const r = e[t];
1874
1678
  r.type === "inline" && u.md.inline.parse(r.content, u.md, u.env, r.children);
1875
1679
  }
1876
1680
  }
1877
- function Bo(u) {
1681
+ function Do(u) {
1878
1682
  return /^<a[>\s]/i.test(u);
1879
1683
  }
1880
- function zo(u) {
1684
+ function yo(u) {
1881
1685
  return /^<\/a\s*>/i.test(u);
1882
1686
  }
1883
- function qo(u) {
1687
+ function Fo(u) {
1884
1688
  const e = u.tokens;
1885
1689
  if (u.md.options.linkify)
1886
1690
  for (let t = 0, n = e.length; t < n; t++) {
@@ -1894,72 +1698,72 @@ function qo(u) {
1894
1698
  i--;
1895
1699
  continue;
1896
1700
  }
1897
- if (c.type === "html_inline" && (Bo(c.content) && o > 0 && o--, zo(c.content) && o++), !(o > 0) && c.type === "text" && u.md.linkify.test(c.content)) {
1701
+ if (c.type === "html_inline" && (Do(c.content) && o > 0 && o--, yo(c.content) && o++), !(o > 0) && c.type === "text" && u.md.linkify.test(c.content)) {
1898
1702
  const a = c.content;
1899
1703
  let s = u.md.linkify.match(a);
1900
- const f = [];
1901
- let d = c.level, _ = 0;
1704
+ const d = [];
1705
+ let f = c.level, _ = 0;
1902
1706
  s.length > 0 && s[0].index === 0 && i > 0 && r[i - 1].type === "text_special" && (s = s.slice(1));
1903
- for (let h = 0; h < s.length; h++) {
1904
- const p = s[h].url, C = u.md.normalizeLink(p);
1707
+ for (let p = 0; p < s.length; p++) {
1708
+ const h = s[p].url, C = u.md.normalizeLink(h);
1905
1709
  if (!u.md.validateLink(C))
1906
1710
  continue;
1907
- let D = s[h].text;
1908
- s[h].schema ? s[h].schema === "mailto:" && !/^mailto:/i.test(D) ? D = u.md.normalizeLinkText("mailto:" + D).replace(/^mailto:/, "") : D = u.md.normalizeLinkText(D) : D = u.md.normalizeLinkText("http://" + D).replace(/^http:\/\//, "");
1909
- const S = s[h].index;
1910
- if (S > _) {
1711
+ let D = s[p].text;
1712
+ s[p].schema ? s[p].schema === "mailto:" && !/^mailto:/i.test(D) ? D = u.md.normalizeLinkText("mailto:" + D).replace(/^mailto:/, "") : D = u.md.normalizeLinkText(D) : D = u.md.normalizeLinkText("http://" + D).replace(/^http:\/\//, "");
1713
+ const T = s[p].index;
1714
+ if (T > _) {
1911
1715
  const A = new u.Token("text", "", 0);
1912
- A.content = a.slice(_, S), A.level = d, f.push(A);
1716
+ A.content = a.slice(_, T), A.level = f, d.push(A);
1913
1717
  }
1914
1718
  const E = new u.Token("link_open", "a", 1);
1915
- E.attrs = [["href", C]], E.level = d++, E.markup = "linkify", E.info = "auto", f.push(E);
1719
+ E.attrs = [["href", C]], E.level = f++, E.markup = "linkify", E.info = "auto", d.push(E);
1916
1720
  const k = new u.Token("text", "", 0);
1917
- k.content = D, k.level = d, f.push(k);
1721
+ k.content = D, k.level = f, d.push(k);
1918
1722
  const m = new u.Token("link_close", "a", -1);
1919
- m.level = --d, m.markup = "linkify", m.info = "auto", f.push(m), _ = s[h].lastIndex;
1723
+ m.level = --f, m.markup = "linkify", m.info = "auto", d.push(m), _ = s[p].lastIndex;
1920
1724
  }
1921
1725
  if (_ < a.length) {
1922
- const h = new u.Token("text", "", 0);
1923
- h.content = a.slice(_), h.level = d, f.push(h);
1726
+ const p = new u.Token("text", "", 0);
1727
+ p.content = a.slice(_), p.level = f, d.push(p);
1924
1728
  }
1925
- e[t].children = r = zt(r, i, f);
1729
+ e[t].children = r = Bt(r, i, d);
1926
1730
  }
1927
1731
  }
1928
1732
  }
1929
1733
  }
1930
- const Ht = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Uo = /\((c|tm|r)\)/i, Ho = /\((c|tm|r)\)/ig, $o = {
1734
+ const qt = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, To = /\((c|tm|r)\)/i, So = /\((c|tm|r)\)/ig, wo = {
1931
1735
  c: "©",
1932
1736
  r: "®",
1933
1737
  tm: "™"
1934
1738
  };
1935
- function jo(u, e) {
1936
- return $o[e.toLowerCase()];
1739
+ function vo(u, e) {
1740
+ return wo[e.toLowerCase()];
1937
1741
  }
1938
- function Go(u) {
1742
+ function Ro(u) {
1939
1743
  let e = 0;
1940
1744
  for (let t = u.length - 1; t >= 0; t--) {
1941
1745
  const n = u[t];
1942
- n.type === "text" && !e && (n.content = n.content.replace(Ho, jo)), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
1746
+ n.type === "text" && !e && (n.content = n.content.replace(So, vo)), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
1943
1747
  }
1944
1748
  }
1945
- function Wo(u) {
1749
+ function Io(u) {
1946
1750
  let e = 0;
1947
1751
  for (let t = u.length - 1; t >= 0; t--) {
1948
1752
  const n = u[t];
1949
- n.type === "text" && !e && Ht.test(n.content) && (n.content = n.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–")), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
1753
+ n.type === "text" && !e && qt.test(n.content) && (n.content = n.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–")), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
1950
1754
  }
1951
1755
  }
1952
- function Zo(u) {
1756
+ function Mo(u) {
1953
1757
  let e;
1954
1758
  if (u.md.options.typographer)
1955
1759
  for (e = u.tokens.length - 1; e >= 0; e--)
1956
- u.tokens[e].type === "inline" && (Uo.test(u.tokens[e].content) && Go(u.tokens[e].children), Ht.test(u.tokens[e].content) && Wo(u.tokens[e].children));
1760
+ u.tokens[e].type === "inline" && (To.test(u.tokens[e].content) && Ro(u.tokens[e].children), qt.test(u.tokens[e].content) && Io(u.tokens[e].children));
1957
1761
  }
1958
- const Vo = /['"]/, ft = /['"]/g, dt = "’";
1959
- function Ee(u, e, t) {
1762
+ const Lo = /['"]/, ft = /['"]/g, dt = "’";
1763
+ function me(u, e, t) {
1960
1764
  return u.slice(0, e) + t + u.slice(e + 1);
1961
1765
  }
1962
- function Yo(u, e) {
1766
+ function Oo(u, e) {
1963
1767
  let t;
1964
1768
  const n = [];
1965
1769
  for (let r = 0; r < u.length; r++) {
@@ -1972,19 +1776,19 @@ function Yo(u, e) {
1972
1776
  u:
1973
1777
  for (; a < s; ) {
1974
1778
  ft.lastIndex = a;
1975
- const f = ft.exec(c);
1976
- if (!f)
1779
+ const d = ft.exec(c);
1780
+ if (!d)
1977
1781
  break;
1978
- let d = !0, _ = !0;
1979
- a = f.index + 1;
1980
- const h = f[0] === "'";
1981
- let p = 32;
1982
- if (f.index - 1 >= 0)
1983
- p = c.charCodeAt(f.index - 1);
1782
+ let f = !0, _ = !0;
1783
+ a = d.index + 1;
1784
+ const p = d[0] === "'";
1785
+ let h = 32;
1786
+ if (d.index - 1 >= 0)
1787
+ h = c.charCodeAt(d.index - 1);
1984
1788
  else
1985
1789
  for (t = r - 1; t >= 0 && !(u[t].type === "softbreak" || u[t].type === "hardbreak"); t--)
1986
1790
  if (u[t].content) {
1987
- p = u[t].content.charCodeAt(u[t].content.length - 1);
1791
+ h = u[t].content.charCodeAt(u[t].content.length - 1);
1988
1792
  break;
1989
1793
  }
1990
1794
  let C = 32;
@@ -1996,9 +1800,9 @@ function Yo(u, e) {
1996
1800
  C = u[t].content.charCodeAt(0);
1997
1801
  break;
1998
1802
  }
1999
- const D = ce(p) || oe(String.fromCharCode(p)), S = ce(C) || oe(String.fromCharCode(C)), E = re(p), k = re(C);
2000
- if (k ? d = !1 : S && (E || D || (d = !1)), E ? _ = !1 : D && (k || S || (_ = !1)), C === 34 && f[0] === '"' && p >= 48 && p <= 57 && (_ = d = !1), d && _ && (d = D, _ = S), !d && !_) {
2001
- h && (o.content = Ee(o.content, f.index, dt));
1803
+ const D = ue(h) || Ku(String.fromCharCode(h)), T = ue(C) || Ku(String.fromCharCode(C)), E = Qu(h), k = Qu(C);
1804
+ if (k ? f = !1 : T && (E || D || (f = !1)), E ? _ = !1 : D && (k || T || (_ = !1)), C === 34 && d[0] === '"' && h >= 48 && h <= 57 && (_ = f = !1), f && _ && (f = D, _ = T), !f && !_) {
1805
+ p && (o.content = me(o.content, d.index, dt));
2002
1806
  continue;
2003
1807
  }
2004
1808
  if (_)
@@ -2006,10 +1810,10 @@ function Yo(u, e) {
2006
1810
  let m = n[t];
2007
1811
  if (n[t].level < i)
2008
1812
  break;
2009
- if (m.single === h && n[t].level === i) {
1813
+ if (m.single === p && n[t].level === i) {
2010
1814
  m = n[t];
2011
1815
  let A, y;
2012
- h ? (A = e.md.options.quotes[2], y = e.md.options.quotes[3]) : (A = e.md.options.quotes[0], y = e.md.options.quotes[1]), o.content = Ee(o.content, f.index, y), u[m.token].content = Ee(
1816
+ p ? (A = e.md.options.quotes[2], y = e.md.options.quotes[3]) : (A = e.md.options.quotes[0], y = e.md.options.quotes[1]), o.content = me(o.content, d.index, y), u[m.token].content = me(
2013
1817
  u[m.token].content,
2014
1818
  m.pos,
2015
1819
  A
@@ -2017,21 +1821,21 @@ function Yo(u, e) {
2017
1821
  continue u;
2018
1822
  }
2019
1823
  }
2020
- d ? n.push({
1824
+ f ? n.push({
2021
1825
  token: r,
2022
- pos: f.index,
2023
- single: h,
1826
+ pos: d.index,
1827
+ single: p,
2024
1828
  level: i
2025
- }) : _ && h && (o.content = Ee(o.content, f.index, dt));
1829
+ }) : _ && p && (o.content = me(o.content, d.index, dt));
2026
1830
  }
2027
1831
  }
2028
1832
  }
2029
- function Xo(u) {
1833
+ function No(u) {
2030
1834
  if (u.md.options.typographer)
2031
1835
  for (let e = u.tokens.length - 1; e >= 0; e--)
2032
- u.tokens[e].type !== "inline" || !Vo.test(u.tokens[e].content) || Yo(u.tokens[e].children, u);
1836
+ u.tokens[e].type !== "inline" || !Lo.test(u.tokens[e].content) || Oo(u.tokens[e].children, u);
2033
1837
  }
2034
- function Jo(u) {
1838
+ function Bo(u) {
2035
1839
  let e, t;
2036
1840
  const n = u.tokens, r = n.length;
2037
1841
  for (let o = 0; o < r; o++) {
@@ -2044,45 +1848,45 @@ function Jo(u) {
2044
1848
  e !== t && (i.length = t);
2045
1849
  }
2046
1850
  }
2047
- const Je = [
2048
- ["normalize", Oo],
2049
- ["block", No],
2050
- ["inline", Po],
2051
- ["linkify", qo],
2052
- ["replacements", Zo],
2053
- ["smartquotes", Xo],
1851
+ const Ve = [
1852
+ ["normalize", Eo],
1853
+ ["block", Ao],
1854
+ ["inline", Co],
1855
+ ["linkify", Fo],
1856
+ ["replacements", Mo],
1857
+ ["smartquotes", No],
2054
1858
  // `text_join` finds `text_special` tokens (for escape sequences)
2055
1859
  // and joins them with the rest of the text
2056
- ["text_join", Jo]
1860
+ ["text_join", Bo]
2057
1861
  ];
2058
- function _0() {
2059
- this.ruler = new V();
2060
- for (let u = 0; u < Je.length; u++)
2061
- this.ruler.push(Je[u][0], Je[u][1]);
1862
+ function b0() {
1863
+ this.ruler = new Z();
1864
+ for (let u = 0; u < Ve.length; u++)
1865
+ this.ruler.push(Ve[u][0], Ve[u][1]);
2062
1866
  }
2063
- _0.prototype.process = function(u) {
1867
+ b0.prototype.process = function(u) {
2064
1868
  const e = this.ruler.getRules("");
2065
1869
  for (let t = 0, n = e.length; t < n; t++)
2066
1870
  e[t](u);
2067
1871
  };
2068
- _0.prototype.State = Ut;
1872
+ b0.prototype.State = zt;
2069
1873
  function au(u, e, t, n) {
2070
1874
  this.src = u, this.md = e, this.env = t, this.tokens = n, this.bMarks = [], this.eMarks = [], this.tShift = [], this.sCount = [], this.bsCount = [], this.blkIndent = 0, this.line = 0, this.lineMax = 0, this.tight = !1, this.ddIndent = -1, this.listIndent = -1, this.parentType = "root", this.level = 0;
2071
1875
  const r = this.src;
2072
- for (let o = 0, i = 0, c = 0, a = 0, s = r.length, f = !1; i < s; i++) {
2073
- const d = r.charCodeAt(i);
2074
- if (!f)
2075
- if (w(d)) {
2076
- c++, d === 9 ? a += 4 - a % 4 : a++;
1876
+ for (let o = 0, i = 0, c = 0, a = 0, s = r.length, d = !1; i < s; i++) {
1877
+ const f = r.charCodeAt(i);
1878
+ if (!d)
1879
+ if (w(f)) {
1880
+ c++, f === 9 ? a += 4 - a % 4 : a++;
2077
1881
  continue;
2078
1882
  } else
2079
- f = !0;
2080
- (d === 10 || i === s - 1) && (d !== 10 && i++, this.bMarks.push(o), this.eMarks.push(i), this.tShift.push(c), this.sCount.push(a), this.bsCount.push(0), f = !1, c = 0, a = 0, o = i + 1);
1883
+ d = !0;
1884
+ (f === 10 || i === s - 1) && (f !== 10 && i++, this.bMarks.push(o), this.eMarks.push(i), this.tShift.push(c), this.sCount.push(a), this.bsCount.push(0), d = !1, c = 0, a = 0, o = i + 1);
2081
1885
  }
2082
1886
  this.bMarks.push(r.length), this.eMarks.push(r.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
2083
1887
  }
2084
1888
  au.prototype.push = function(u, e, t) {
2085
- const n = new eu(u, e, t);
1889
+ const n = new tu(u, e, t);
2086
1890
  return n.block = !0, t < 0 && this.level--, n.level = this.level, t > 0 && this.level++, this.tokens.push(n), n;
2087
1891
  };
2088
1892
  au.prototype.isEmpty = function(e) {
@@ -2129,35 +1933,35 @@ au.prototype.getLines = function(e, t, n, r) {
2129
1933
  for (let i = 0, c = e; c < t; c++, i++) {
2130
1934
  let a = 0;
2131
1935
  const s = this.bMarks[c];
2132
- let f = s, d;
2133
- for (c + 1 < t || r ? d = this.eMarks[c] + 1 : d = this.eMarks[c]; f < d && a < n; ) {
2134
- const _ = this.src.charCodeAt(f);
1936
+ let d = s, f;
1937
+ for (c + 1 < t || r ? f = this.eMarks[c] + 1 : f = this.eMarks[c]; d < f && a < n; ) {
1938
+ const _ = this.src.charCodeAt(d);
2135
1939
  if (w(_))
2136
1940
  _ === 9 ? a += 4 - (a + this.bsCount[c]) % 4 : a++;
2137
- else if (f - s < this.tShift[c])
1941
+ else if (d - s < this.tShift[c])
2138
1942
  a++;
2139
1943
  else
2140
1944
  break;
2141
- f++;
1945
+ d++;
2142
1946
  }
2143
- a > n ? o[i] = new Array(a - n + 1).join(" ") + this.src.slice(f, d) : o[i] = this.src.slice(f, d);
1947
+ a > n ? o[i] = new Array(a - n + 1).join(" ") + this.src.slice(d, f) : o[i] = this.src.slice(d, f);
2144
1948
  }
2145
1949
  return o.join("");
2146
1950
  };
2147
- au.prototype.Token = eu;
2148
- const Qo = 65536;
2149
- function Qe(u, e) {
1951
+ au.prototype.Token = tu;
1952
+ const Po = 65536;
1953
+ function Ye(u, e) {
2150
1954
  const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
2151
1955
  return u.src.slice(t, n);
2152
1956
  }
2153
- function pt(u) {
1957
+ function ht(u) {
2154
1958
  const e = [], t = u.length;
2155
1959
  let n = 0, r = u.charCodeAt(n), o = !1, i = 0, c = "";
2156
1960
  for (; n < t; )
2157
1961
  r === 124 && (o ? (c += u.substring(i, n - 1), i = n) : (e.push(c + u.substring(i, n)), c = "", i = n + 1)), o = r === 92, n++, r = u.charCodeAt(n);
2158
1962
  return e.push(c + u.substring(i)), e;
2159
1963
  }
2160
- function Ko(u, e, t, n) {
1964
+ function zo(u, e, t, n) {
2161
1965
  if (e + 2 > t)
2162
1966
  return !1;
2163
1967
  let r = e + 1;
@@ -2178,8 +1982,8 @@ function Ko(u, e, t, n) {
2178
1982
  return !1;
2179
1983
  o++;
2180
1984
  }
2181
- let a = Qe(u, e + 1), s = a.split("|");
2182
- const f = [];
1985
+ let a = Ye(u, e + 1), s = a.split("|");
1986
+ const d = [];
2183
1987
  for (let m = 0; m < s.length; m++) {
2184
1988
  const A = s[m].trim();
2185
1989
  if (!A) {
@@ -2189,27 +1993,27 @@ function Ko(u, e, t, n) {
2189
1993
  }
2190
1994
  if (!/^:?-+:?$/.test(A))
2191
1995
  return !1;
2192
- A.charCodeAt(A.length - 1) === 58 ? f.push(A.charCodeAt(0) === 58 ? "center" : "right") : A.charCodeAt(0) === 58 ? f.push("left") : f.push("");
1996
+ A.charCodeAt(A.length - 1) === 58 ? d.push(A.charCodeAt(0) === 58 ? "center" : "right") : A.charCodeAt(0) === 58 ? d.push("left") : d.push("");
2193
1997
  }
2194
- if (a = Qe(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
1998
+ if (a = Ye(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
2195
1999
  return !1;
2196
- s = pt(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop();
2197
- const d = s.length;
2198
- if (d === 0 || d !== f.length)
2000
+ s = ht(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop();
2001
+ const f = s.length;
2002
+ if (f === 0 || f !== d.length)
2199
2003
  return !1;
2200
2004
  if (n)
2201
2005
  return !0;
2202
2006
  const _ = u.parentType;
2203
2007
  u.parentType = "table";
2204
- const h = u.md.block.ruler.getRules("blockquote"), p = u.push("table_open", "table", 1), C = [e, 0];
2205
- p.map = C;
2008
+ const p = u.md.block.ruler.getRules("blockquote"), h = u.push("table_open", "table", 1), C = [e, 0];
2009
+ h.map = C;
2206
2010
  const D = u.push("thead_open", "thead", 1);
2207
2011
  D.map = [e, e + 1];
2208
- const S = u.push("tr_open", "tr", 1);
2209
- S.map = [e, e + 1];
2012
+ const T = u.push("tr_open", "tr", 1);
2013
+ T.map = [e, e + 1];
2210
2014
  for (let m = 0; m < s.length; m++) {
2211
2015
  const A = u.push("th_open", "th", 1);
2212
- f[m] && (A.attrs = [["style", "text-align:" + f[m]]]);
2016
+ d[m] && (A.attrs = [["style", "text-align:" + d[m]]]);
2213
2017
  const y = u.push("inline", "", 0);
2214
2018
  y.content = s[m].trim(), y.children = [], u.push("th_close", "th", -1);
2215
2019
  }
@@ -2217,12 +2021,12 @@ function Ko(u, e, t, n) {
2217
2021
  let E, k = 0;
2218
2022
  for (r = e + 2; r < t && !(u.sCount[r] < u.blkIndent); r++) {
2219
2023
  let m = !1;
2220
- for (let y = 0, L = h.length; y < L; y++)
2221
- if (h[y](u, r, t, !0)) {
2024
+ for (let y = 0, I = p.length; y < I; y++)
2025
+ if (p[y](u, r, t, !0)) {
2222
2026
  m = !0;
2223
2027
  break;
2224
2028
  }
2225
- if (m || (a = Qe(u, r).trim(), !a) || u.sCount[r] - u.blkIndent >= 4 || (s = pt(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), k += d - s.length, k > Qo))
2029
+ if (m || (a = Ye(u, r).trim(), !a) || u.sCount[r] - u.blkIndent >= 4 || (s = ht(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), k += f - s.length, k > Po))
2226
2030
  break;
2227
2031
  if (r === e + 2) {
2228
2032
  const y = u.push("tbody_open", "tbody", 1);
@@ -2230,17 +2034,17 @@ function Ko(u, e, t, n) {
2230
2034
  }
2231
2035
  const A = u.push("tr_open", "tr", 1);
2232
2036
  A.map = [r, r + 1];
2233
- for (let y = 0; y < d; y++) {
2234
- const L = u.push("td_open", "td", 1);
2235
- f[y] && (L.attrs = [["style", "text-align:" + f[y]]]);
2236
- const Y = u.push("inline", "", 0);
2237
- Y.content = s[y] ? s[y].trim() : "", Y.children = [], u.push("td_close", "td", -1);
2037
+ for (let y = 0; y < f; y++) {
2038
+ const I = u.push("td_open", "td", 1);
2039
+ d[y] && (I.attrs = [["style", "text-align:" + d[y]]]);
2040
+ const V = u.push("inline", "", 0);
2041
+ V.content = s[y] ? s[y].trim() : "", V.children = [], u.push("td_close", "td", -1);
2238
2042
  }
2239
2043
  u.push("tr_close", "tr", -1);
2240
2044
  }
2241
2045
  return E && (u.push("tbody_close", "tbody", -1), E[1] = r), u.push("table_close", "table", -1), C[1] = r, u.parentType = _, u.line = r, !0;
2242
2046
  }
2243
- function uc(u, e, t) {
2047
+ function qo(u, e, t) {
2244
2048
  if (u.sCount[e] - u.blkIndent < 4)
2245
2049
  return !1;
2246
2050
  let n = e + 1, r = n;
@@ -2260,7 +2064,7 @@ function uc(u, e, t) {
2260
2064
  return o.content = u.getLines(e, r, 4 + u.blkIndent, !1) + `
2261
2065
  `, o.map = [e, u.line], !0;
2262
2066
  }
2263
- function ec(u, e, t, n) {
2067
+ function Uo(u, e, t, n) {
2264
2068
  let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
2265
2069
  if (u.sCount[e] - u.blkIndent >= 4 || r + 3 > o)
2266
2070
  return !1;
@@ -2272,77 +2076,77 @@ function ec(u, e, t, n) {
2272
2076
  let a = r - c;
2273
2077
  if (a < 3)
2274
2078
  return !1;
2275
- const s = u.src.slice(c, r), f = u.src.slice(r, o);
2276
- if (i === 96 && f.indexOf(String.fromCharCode(i)) >= 0)
2079
+ const s = u.src.slice(c, r), d = u.src.slice(r, o);
2080
+ if (i === 96 && d.indexOf(String.fromCharCode(i)) >= 0)
2277
2081
  return !1;
2278
2082
  if (n)
2279
2083
  return !0;
2280
- let d = e, _ = !1;
2281
- for (; d++, !(d >= t || (r = c = u.bMarks[d] + u.tShift[d], o = u.eMarks[d], r < o && u.sCount[d] < u.blkIndent)); )
2282
- if (u.src.charCodeAt(r) === i && !(u.sCount[d] - u.blkIndent >= 4) && (r = u.skipChars(r, i), !(r - c < a) && (r = u.skipSpaces(r), !(r < o)))) {
2084
+ let f = e, _ = !1;
2085
+ for (; f++, !(f >= t || (r = c = u.bMarks[f] + u.tShift[f], o = u.eMarks[f], r < o && u.sCount[f] < u.blkIndent)); )
2086
+ if (u.src.charCodeAt(r) === i && !(u.sCount[f] - u.blkIndent >= 4) && (r = u.skipChars(r, i), !(r - c < a) && (r = u.skipSpaces(r), !(r < o)))) {
2283
2087
  _ = !0;
2284
2088
  break;
2285
2089
  }
2286
- a = u.sCount[e], u.line = d + (_ ? 1 : 0);
2287
- const h = u.push("fence", "code", 0);
2288
- return h.info = f, h.content = u.getLines(e + 1, d, a, !0), h.markup = s, h.map = [e, u.line], !0;
2090
+ a = u.sCount[e], u.line = f + (_ ? 1 : 0);
2091
+ const p = u.push("fence", "code", 0);
2092
+ return p.info = d, p.content = u.getLines(e + 1, f, a, !0), p.markup = s, p.map = [e, u.line], !0;
2289
2093
  }
2290
- function tc(u, e, t, n) {
2094
+ function Ho(u, e, t, n) {
2291
2095
  let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
2292
2096
  const i = u.lineMax;
2293
2097
  if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 62)
2294
2098
  return !1;
2295
2099
  if (n)
2296
2100
  return !0;
2297
- const c = [], a = [], s = [], f = [], d = u.md.block.ruler.getRules("blockquote"), _ = u.parentType;
2101
+ const c = [], a = [], s = [], d = [], f = u.md.block.ruler.getRules("blockquote"), _ = u.parentType;
2298
2102
  u.parentType = "blockquote";
2299
- let h = !1, p;
2300
- for (p = e; p < t; p++) {
2301
- const k = u.sCount[p] < u.blkIndent;
2302
- if (r = u.bMarks[p] + u.tShift[p], o = u.eMarks[p], r >= o)
2103
+ let p = !1, h;
2104
+ for (h = e; h < t; h++) {
2105
+ const k = u.sCount[h] < u.blkIndent;
2106
+ if (r = u.bMarks[h] + u.tShift[h], o = u.eMarks[h], r >= o)
2303
2107
  break;
2304
2108
  if (u.src.charCodeAt(r++) === 62 && !k) {
2305
- let A = u.sCount[p] + 1, y, L;
2306
- u.src.charCodeAt(r) === 32 ? (r++, A++, L = !1, y = !0) : u.src.charCodeAt(r) === 9 ? (y = !0, (u.bsCount[p] + A) % 4 === 3 ? (r++, A++, L = !1) : L = !0) : y = !1;
2307
- let Y = A;
2308
- for (c.push(u.bMarks[p]), u.bMarks[p] = r; r < o; ) {
2309
- const tu = u.src.charCodeAt(r);
2310
- if (w(tu))
2311
- tu === 9 ? Y += 4 - (Y + u.bsCount[p] + (L ? 1 : 0)) % 4 : Y++;
2109
+ let A = u.sCount[h] + 1, y, I;
2110
+ u.src.charCodeAt(r) === 32 ? (r++, A++, I = !1, y = !0) : u.src.charCodeAt(r) === 9 ? (y = !0, (u.bsCount[h] + A) % 4 === 3 ? (r++, A++, I = !1) : I = !0) : y = !1;
2111
+ let V = A;
2112
+ for (c.push(u.bMarks[h]), u.bMarks[h] = r; r < o; ) {
2113
+ const nu = u.src.charCodeAt(r);
2114
+ if (w(nu))
2115
+ nu === 9 ? V += 4 - (V + u.bsCount[h] + (I ? 1 : 0)) % 4 : V++;
2312
2116
  else
2313
2117
  break;
2314
2118
  r++;
2315
2119
  }
2316
- h = r >= o, a.push(u.bsCount[p]), u.bsCount[p] = u.sCount[p] + 1 + (y ? 1 : 0), s.push(u.sCount[p]), u.sCount[p] = Y - A, f.push(u.tShift[p]), u.tShift[p] = r - u.bMarks[p];
2120
+ p = r >= o, a.push(u.bsCount[h]), u.bsCount[h] = u.sCount[h] + 1 + (y ? 1 : 0), s.push(u.sCount[h]), u.sCount[h] = V - A, d.push(u.tShift[h]), u.tShift[h] = r - u.bMarks[h];
2317
2121
  continue;
2318
2122
  }
2319
- if (h)
2123
+ if (p)
2320
2124
  break;
2321
2125
  let m = !1;
2322
- for (let A = 0, y = d.length; A < y; A++)
2323
- if (d[A](u, p, t, !0)) {
2126
+ for (let A = 0, y = f.length; A < y; A++)
2127
+ if (f[A](u, h, t, !0)) {
2324
2128
  m = !0;
2325
2129
  break;
2326
2130
  }
2327
2131
  if (m) {
2328
- u.lineMax = p, u.blkIndent !== 0 && (c.push(u.bMarks[p]), a.push(u.bsCount[p]), f.push(u.tShift[p]), s.push(u.sCount[p]), u.sCount[p] -= u.blkIndent);
2132
+ u.lineMax = h, u.blkIndent !== 0 && (c.push(u.bMarks[h]), a.push(u.bsCount[h]), d.push(u.tShift[h]), s.push(u.sCount[h]), u.sCount[h] -= u.blkIndent);
2329
2133
  break;
2330
2134
  }
2331
- c.push(u.bMarks[p]), a.push(u.bsCount[p]), f.push(u.tShift[p]), s.push(u.sCount[p]), u.sCount[p] = -1;
2135
+ c.push(u.bMarks[h]), a.push(u.bsCount[h]), d.push(u.tShift[h]), s.push(u.sCount[h]), u.sCount[h] = -1;
2332
2136
  }
2333
2137
  const C = u.blkIndent;
2334
2138
  u.blkIndent = 0;
2335
2139
  const D = u.push("blockquote_open", "blockquote", 1);
2336
2140
  D.markup = ">";
2337
- const S = [e, 0];
2338
- D.map = S, u.md.block.tokenize(u, e, p);
2141
+ const T = [e, 0];
2142
+ D.map = T, u.md.block.tokenize(u, e, h);
2339
2143
  const E = u.push("blockquote_close", "blockquote", -1);
2340
- E.markup = ">", u.lineMax = i, u.parentType = _, S[1] = u.line;
2341
- for (let k = 0; k < f.length; k++)
2342
- u.bMarks[k + e] = c[k], u.tShift[k + e] = f[k], u.sCount[k + e] = s[k], u.bsCount[k + e] = a[k];
2144
+ E.markup = ">", u.lineMax = i, u.parentType = _, T[1] = u.line;
2145
+ for (let k = 0; k < d.length; k++)
2146
+ u.bMarks[k + e] = c[k], u.tShift[k + e] = d[k], u.sCount[k + e] = s[k], u.bsCount[k + e] = a[k];
2343
2147
  return u.blkIndent = C, !0;
2344
2148
  }
2345
- function nc(u, e, t, n) {
2149
+ function $o(u, e, t, n) {
2346
2150
  const r = u.eMarks[e];
2347
2151
  if (u.sCount[e] - u.blkIndent >= 4)
2348
2152
  return !1;
@@ -2365,7 +2169,7 @@ function nc(u, e, t, n) {
2365
2169
  const a = u.push("hr", "hr", 0);
2366
2170
  return a.map = [e, u.line], a.markup = Array(c + 1).join(String.fromCharCode(i)), !0;
2367
2171
  }
2368
- function ht(u, e) {
2172
+ function pt(u, e) {
2369
2173
  const t = u.eMarks[e];
2370
2174
  let n = u.bMarks[e] + u.tShift[e];
2371
2175
  const r = u.src.charCodeAt(n++);
@@ -2400,78 +2204,78 @@ function bt(u, e) {
2400
2204
  }
2401
2205
  return r < n && (o = u.src.charCodeAt(r), !w(o)) ? -1 : r;
2402
2206
  }
2403
- function rc(u, e) {
2207
+ function jo(u, e) {
2404
2208
  const t = u.level + 2;
2405
2209
  for (let n = e + 2, r = u.tokens.length - 2; n < r; n++)
2406
2210
  u.tokens[n].level === t && u.tokens[n].type === "paragraph_open" && (u.tokens[n + 2].hidden = !0, u.tokens[n].hidden = !0, n += 2);
2407
2211
  }
2408
- function oc(u, e, t, n) {
2212
+ function Go(u, e, t, n) {
2409
2213
  let r, o, i, c, a = e, s = !0;
2410
2214
  if (u.sCount[a] - u.blkIndent >= 4 || u.listIndent >= 0 && u.sCount[a] - u.listIndent >= 4 && u.sCount[a] < u.blkIndent)
2411
2215
  return !1;
2412
- let f = !1;
2413
- n && u.parentType === "paragraph" && u.sCount[a] >= u.blkIndent && (f = !0);
2414
- let d, _, h;
2415
- if ((h = bt(u, a)) >= 0) {
2416
- if (d = !0, i = u.bMarks[a] + u.tShift[a], _ = Number(u.src.slice(i, h - 1)), f && _ !== 1) return !1;
2417
- } else if ((h = ht(u, a)) >= 0)
2418
- d = !1;
2216
+ let d = !1;
2217
+ n && u.parentType === "paragraph" && u.sCount[a] >= u.blkIndent && (d = !0);
2218
+ let f, _, p;
2219
+ if ((p = bt(u, a)) >= 0) {
2220
+ if (f = !0, i = u.bMarks[a] + u.tShift[a], _ = Number(u.src.slice(i, p - 1)), d && _ !== 1) return !1;
2221
+ } else if ((p = pt(u, a)) >= 0)
2222
+ f = !1;
2419
2223
  else
2420
2224
  return !1;
2421
- if (f && u.skipSpaces(h) >= u.eMarks[a])
2225
+ if (d && u.skipSpaces(p) >= u.eMarks[a])
2422
2226
  return !1;
2423
2227
  if (n)
2424
2228
  return !0;
2425
- const p = u.src.charCodeAt(h - 1), C = u.tokens.length;
2426
- d ? (c = u.push("ordered_list_open", "ol", 1), _ !== 1 && (c.attrs = [["start", _]])) : c = u.push("bullet_list_open", "ul", 1);
2229
+ const h = u.src.charCodeAt(p - 1), C = u.tokens.length;
2230
+ f ? (c = u.push("ordered_list_open", "ol", 1), _ !== 1 && (c.attrs = [["start", _]])) : c = u.push("bullet_list_open", "ul", 1);
2427
2231
  const D = [a, 0];
2428
- c.map = D, c.markup = String.fromCharCode(p);
2429
- let S = !1;
2232
+ c.map = D, c.markup = String.fromCharCode(h);
2233
+ let T = !1;
2430
2234
  const E = u.md.block.ruler.getRules("list"), k = u.parentType;
2431
2235
  for (u.parentType = "list"; a < t; ) {
2432
- o = h, r = u.eMarks[a];
2433
- const m = u.sCount[a] + h - (u.bMarks[a] + u.tShift[a]);
2236
+ o = p, r = u.eMarks[a];
2237
+ const m = u.sCount[a] + p - (u.bMarks[a] + u.tShift[a]);
2434
2238
  let A = m;
2435
2239
  for (; o < r; ) {
2436
- const pu = u.src.charCodeAt(o);
2437
- if (pu === 9)
2240
+ const hu = u.src.charCodeAt(o);
2241
+ if (hu === 9)
2438
2242
  A += 4 - (A + u.bsCount[a]) % 4;
2439
- else if (pu === 32)
2243
+ else if (hu === 32)
2440
2244
  A++;
2441
2245
  else
2442
2246
  break;
2443
2247
  o++;
2444
2248
  }
2445
2249
  const y = o;
2446
- let L;
2447
- y >= r ? L = 1 : L = A - m, L > 4 && (L = 1);
2448
- const Y = m + L;
2449
- c = u.push("list_item_open", "li", 1), c.markup = String.fromCharCode(p);
2450
- const tu = [a, 0];
2451
- c.map = tu, d && (c.info = u.src.slice(i, h - 1));
2452
- const Eu = u.tight, O = u.tShift[a], $u = u.sCount[a], ju = u.listIndent;
2453
- if (u.listIndent = u.blkIndent, u.blkIndent = Y, u.tight = !0, u.tShift[a] = y - u.bMarks[a], u.sCount[a] = A, y >= r && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, a, t, !0), (!u.tight || S) && (s = !1), S = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = ju, u.tShift[a] = O, u.sCount[a] = $u, u.tight = Eu, c = u.push("list_item_close", "li", -1), c.markup = String.fromCharCode(p), a = u.line, tu[1] = a, a >= t || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
2250
+ let I;
2251
+ y >= r ? I = 1 : I = A - m, I > 4 && (I = 1);
2252
+ const V = m + I;
2253
+ c = u.push("list_item_open", "li", 1), c.markup = String.fromCharCode(h);
2254
+ const nu = [a, 0];
2255
+ c.map = nu, f && (c.info = u.src.slice(i, p - 1));
2256
+ const gu = u.tight, M = u.tShift[a], zu = u.sCount[a], qu = u.listIndent;
2257
+ if (u.listIndent = u.blkIndent, u.blkIndent = V, u.tight = !0, u.tShift[a] = y - u.bMarks[a], u.sCount[a] = A, y >= r && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, a, t, !0), (!u.tight || T) && (s = !1), T = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = qu, u.tShift[a] = M, u.sCount[a] = zu, u.tight = gu, c = u.push("list_item_close", "li", -1), c.markup = String.fromCharCode(h), a = u.line, nu[1] = a, a >= t || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
2454
2258
  break;
2455
2259
  let yu = !1;
2456
- for (let pu = 0, Ie = E.length; pu < Ie; pu++)
2457
- if (E[pu](u, a, t, !0)) {
2260
+ for (let hu = 0, ve = E.length; hu < ve; hu++)
2261
+ if (E[hu](u, a, t, !0)) {
2458
2262
  yu = !0;
2459
2263
  break;
2460
2264
  }
2461
2265
  if (yu)
2462
2266
  break;
2463
- if (d) {
2464
- if (h = bt(u, a), h < 0)
2267
+ if (f) {
2268
+ if (p = bt(u, a), p < 0)
2465
2269
  break;
2466
2270
  i = u.bMarks[a] + u.tShift[a];
2467
- } else if (h = ht(u, a), h < 0)
2271
+ } else if (p = pt(u, a), p < 0)
2468
2272
  break;
2469
- if (p !== u.src.charCodeAt(h - 1))
2273
+ if (h !== u.src.charCodeAt(p - 1))
2470
2274
  break;
2471
2275
  }
2472
- return d ? c = u.push("ordered_list_close", "ol", -1) : c = u.push("bullet_list_close", "ul", -1), c.markup = String.fromCharCode(p), D[1] = a, u.line = a, u.parentType = k, s && rc(u, C), !0;
2276
+ return f ? c = u.push("ordered_list_close", "ol", -1) : c = u.push("bullet_list_close", "ul", -1), c.markup = String.fromCharCode(h), D[1] = a, u.line = a, u.parentType = k, s && jo(u, C), !0;
2473
2277
  }
2474
- function cc(u, e, t, n) {
2278
+ function Wo(u, e, t, n) {
2475
2279
  let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e], i = e + 1;
2476
2280
  if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 91)
2477
2281
  return !1;
@@ -2481,15 +2285,15 @@ function cc(u, e, t, n) {
2481
2285
  return null;
2482
2286
  let m = !1;
2483
2287
  if (u.sCount[E] - u.blkIndent > 3 && (m = !0), u.sCount[E] < 0 && (m = !0), !m) {
2484
- const L = u.md.block.ruler.getRules("reference"), Y = u.parentType;
2288
+ const I = u.md.block.ruler.getRules("reference"), V = u.parentType;
2485
2289
  u.parentType = "reference";
2486
- let tu = !1;
2487
- for (let Eu = 0, O = L.length; Eu < O; Eu++)
2488
- if (L[Eu](u, E, k, !0)) {
2489
- tu = !0;
2290
+ let nu = !1;
2291
+ for (let gu = 0, M = I.length; gu < M; gu++)
2292
+ if (I[gu](u, E, k, !0)) {
2293
+ nu = !0;
2490
2294
  break;
2491
2295
  }
2492
- if (u.parentType = Y, tu)
2296
+ if (u.parentType = V, nu)
2493
2297
  return null;
2494
2298
  }
2495
2299
  const A = u.bMarks[E] + u.tShift[E], y = u.eMarks[E];
@@ -2522,14 +2326,14 @@ function cc(u, e, t, n) {
2522
2326
  k !== null && (a += k, o = a.length, i++);
2523
2327
  } else if (!w(E)) break;
2524
2328
  }
2525
- const f = u.md.helpers.parseLinkDestination(a, r, o);
2526
- if (!f.ok)
2329
+ const d = u.md.helpers.parseLinkDestination(a, r, o);
2330
+ if (!d.ok)
2527
2331
  return !1;
2528
- const d = u.md.normalizeLink(f.str);
2529
- if (!u.md.validateLink(d))
2332
+ const f = u.md.normalizeLink(d.str);
2333
+ if (!u.md.validateLink(f))
2530
2334
  return !1;
2531
- r = f.pos;
2532
- const _ = r, h = i, p = r;
2335
+ r = d.pos;
2336
+ const _ = r, p = i, h = r;
2533
2337
  for (; r < o; r++) {
2534
2338
  const E = a.charCodeAt(r);
2535
2339
  if (E === 10) {
@@ -2544,14 +2348,14 @@ function cc(u, e, t, n) {
2544
2348
  a += E, r = o, o = a.length, i++, C = u.md.helpers.parseLinkTitle(a, r, o, C);
2545
2349
  }
2546
2350
  let D;
2547
- for (r < o && p !== r && C.ok ? (D = C.str, r = C.pos) : (D = "", r = _, i = h); r < o; ) {
2351
+ for (r < o && h !== r && C.ok ? (D = C.str, r = C.pos) : (D = "", r = _, i = p); r < o; ) {
2548
2352
  const E = a.charCodeAt(r);
2549
2353
  if (!w(E))
2550
2354
  break;
2551
2355
  r++;
2552
2356
  }
2553
2357
  if (r < o && a.charCodeAt(r) !== 10 && D)
2554
- for (D = "", r = _, i = h; r < o; ) {
2358
+ for (D = "", r = _, i = p; r < o; ) {
2555
2359
  const E = a.charCodeAt(r);
2556
2360
  if (!w(E))
2557
2361
  break;
@@ -2559,10 +2363,10 @@ function cc(u, e, t, n) {
2559
2363
  }
2560
2364
  if (r < o && a.charCodeAt(r) !== 10)
2561
2365
  return !1;
2562
- const S = ve(a.slice(1, s));
2563
- return S ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[S] > "u" && (u.env.references[S] = { title: D, href: d }), u.line = i), !0) : !1;
2366
+ const T = Te(a.slice(1, s));
2367
+ return T ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[T] > "u" && (u.env.references[T] = { title: D, href: f }), u.line = i), !0) : !1;
2564
2368
  }
2565
- const ic = [
2369
+ const Zo = [
2566
2370
  "address",
2567
2371
  "article",
2568
2372
  "aside",
@@ -2625,16 +2429,16 @@ const ic = [
2625
2429
  "tr",
2626
2430
  "track",
2627
2431
  "ul"
2628
- ], ac = "[a-zA-Z_:][a-zA-Z0-9:._-]*", sc = "[^\"'=<>`\\x00-\\x20]+", lc = "'[^']*'", fc = '"[^"]*"', dc = "(?:" + sc + "|" + lc + "|" + fc + ")", pc = "(?:\\s+" + ac + "(?:\\s*=\\s*" + dc + ")?)", $t = "<[A-Za-z][A-Za-z0-9\\-]*" + pc + "*\\s*\\/?>", jt = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", hc = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", bc = "<[?][\\s\\S]*?[?]>", _c = "<![A-Za-z][^>]*>", mc = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", xc = new RegExp("^(?:" + $t + "|" + jt + "|" + hc + "|" + bc + "|" + _c + "|" + mc + ")"), gc = new RegExp("^(?:" + $t + "|" + jt + ")"), Lu = [
2432
+ ], Vo = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Yo = "[^\"'=<>`\\x00-\\x20]+", Xo = "'[^']*'", Jo = '"[^"]*"', Qo = "(?:" + Yo + "|" + Xo + "|" + Jo + ")", Ko = "(?:\\s+" + Vo + "(?:\\s*=\\s*" + Qo + ")?)", Ut = "<[A-Za-z][A-Za-z0-9\\-]*" + Ko + "*\\s*\\/?>", Ht = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", uc = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", ec = "<[?][\\s\\S]*?[?]>", tc = "<![A-Za-z][^>]*>", nc = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", rc = new RegExp("^(?:" + Ut + "|" + Ht + "|" + uc + "|" + ec + "|" + tc + "|" + nc + ")"), oc = new RegExp("^(?:" + Ut + "|" + Ht + ")"), Lu = [
2629
2433
  [/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
2630
2434
  [/^<!--/, /-->/, !0],
2631
2435
  [/^<\?/, /\?>/, !0],
2632
2436
  [/^<![A-Z]/, />/, !0],
2633
2437
  [/^<!\[CDATA\[/, /\]\]>/, !0],
2634
- [new RegExp("^</?(" + ic.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
2635
- [new RegExp(gc.source + "\\s*$"), /^$/, !1]
2438
+ [new RegExp("^</?(" + Zo.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
2439
+ [new RegExp(oc.source + "\\s*$"), /^$/, !1]
2636
2440
  ];
2637
- function kc(u, e, t, n) {
2441
+ function cc(u, e, t, n) {
2638
2442
  let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
2639
2443
  if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(r) !== 60)
2640
2444
  return !1;
@@ -2657,7 +2461,7 @@ function kc(u, e, t, n) {
2657
2461
  const s = u.push("html_block", "", 0);
2658
2462
  return s.map = [e, a], s.content = u.getLines(e, a, u.blkIndent, !0), !0;
2659
2463
  }
2660
- function Ec(u, e, t, n) {
2464
+ function ic(u, e, t, n) {
2661
2465
  let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
2662
2466
  if (u.sCount[e] - u.blkIndent >= 4)
2663
2467
  return !1;
@@ -2676,12 +2480,12 @@ function Ec(u, e, t, n) {
2676
2480
  a > r && w(u.src.charCodeAt(a - 1)) && (o = a), u.line = e + 1;
2677
2481
  const s = u.push("heading_open", "h" + String(c), 1);
2678
2482
  s.markup = "########".slice(0, c), s.map = [e, u.line];
2679
- const f = u.push("inline", "", 0);
2680
- f.content = u.src.slice(r, o).trim(), f.map = [e, u.line], f.children = [];
2681
- const d = u.push("heading_close", "h" + String(c), -1);
2682
- return d.markup = "########".slice(0, c), !0;
2483
+ const d = u.push("inline", "", 0);
2484
+ d.content = u.src.slice(r, o).trim(), d.map = [e, u.line], d.children = [];
2485
+ const f = u.push("heading_close", "h" + String(c), -1);
2486
+ return f.markup = "########".slice(0, c), !0;
2683
2487
  }
2684
- function Ac(u, e, t) {
2488
+ function ac(u, e, t) {
2685
2489
  const n = u.md.block.ruler.getRules("paragraph");
2686
2490
  if (u.sCount[e] - u.blkIndent >= 4)
2687
2491
  return !1;
@@ -2692,9 +2496,9 @@ function Ac(u, e, t) {
2692
2496
  if (u.sCount[c] - u.blkIndent > 3)
2693
2497
  continue;
2694
2498
  if (u.sCount[c] >= u.blkIndent) {
2695
- let h = u.bMarks[c] + u.tShift[c];
2696
- const p = u.eMarks[c];
2697
- if (h < p && (i = u.src.charCodeAt(h), (i === 45 || i === 61) && (h = u.skipChars(h, i), h = u.skipSpaces(h), h >= p))) {
2499
+ let p = u.bMarks[c] + u.tShift[c];
2500
+ const h = u.eMarks[c];
2501
+ if (p < h && (i = u.src.charCodeAt(p), (i === 45 || i === 61) && (p = u.skipChars(p, i), p = u.skipSpaces(p), p >= h))) {
2698
2502
  o = i === 61 ? 1 : 2;
2699
2503
  break;
2700
2504
  }
@@ -2702,8 +2506,8 @@ function Ac(u, e, t) {
2702
2506
  if (u.sCount[c] < 0)
2703
2507
  continue;
2704
2508
  let _ = !1;
2705
- for (let h = 0, p = n.length; h < p; h++)
2706
- if (n[h](u, c, t, !0)) {
2509
+ for (let p = 0, h = n.length; p < h; p++)
2510
+ if (n[p](u, c, t, !0)) {
2707
2511
  _ = !0;
2708
2512
  break;
2709
2513
  }
@@ -2716,20 +2520,20 @@ function Ac(u, e, t) {
2716
2520
  u.line = c + 1;
2717
2521
  const s = u.push("heading_open", "h" + String(o), 1);
2718
2522
  s.markup = String.fromCharCode(i), s.map = [e, u.line];
2719
- const f = u.push("inline", "", 0);
2720
- f.content = a, f.map = [e, u.line - 1], f.children = [];
2721
- const d = u.push("heading_close", "h" + String(o), -1);
2722
- return d.markup = String.fromCharCode(i), u.parentType = r, !0;
2523
+ const d = u.push("inline", "", 0);
2524
+ d.content = a, d.map = [e, u.line - 1], d.children = [];
2525
+ const f = u.push("heading_close", "h" + String(o), -1);
2526
+ return f.markup = String.fromCharCode(i), u.parentType = r, !0;
2723
2527
  }
2724
- function Cc(u, e, t) {
2528
+ function sc(u, e, t) {
2725
2529
  const n = u.md.block.ruler.getRules("paragraph"), r = u.parentType;
2726
2530
  let o = e + 1;
2727
2531
  for (u.parentType = "paragraph"; o < t && !u.isEmpty(o); o++) {
2728
2532
  if (u.sCount[o] - u.blkIndent > 3 || u.sCount[o] < 0)
2729
2533
  continue;
2730
2534
  let s = !1;
2731
- for (let f = 0, d = n.length; f < d; f++)
2732
- if (n[f](u, o, t, !0)) {
2535
+ for (let d = 0, f = n.length; d < f; d++)
2536
+ if (n[d](u, o, t, !0)) {
2733
2537
  s = !0;
2734
2538
  break;
2735
2539
  }
@@ -2743,27 +2547,27 @@ function Cc(u, e, t) {
2743
2547
  const a = u.push("inline", "", 0);
2744
2548
  return a.content = i, a.map = [e, u.line], a.children = [], u.push("paragraph_close", "p", -1), u.parentType = r, !0;
2745
2549
  }
2746
- const Ae = [
2550
+ const xe = [
2747
2551
  // First 2 params - rule name & source. Secondary array - list of rules,
2748
2552
  // which can be terminated by this one.
2749
- ["table", Ko, ["paragraph", "reference"]],
2750
- ["code", uc],
2751
- ["fence", ec, ["paragraph", "reference", "blockquote", "list"]],
2752
- ["blockquote", tc, ["paragraph", "reference", "blockquote", "list"]],
2753
- ["hr", nc, ["paragraph", "reference", "blockquote", "list"]],
2754
- ["list", oc, ["paragraph", "reference", "blockquote"]],
2755
- ["reference", cc],
2756
- ["html_block", kc, ["paragraph", "reference", "blockquote"]],
2757
- ["heading", Ec, ["paragraph", "reference", "blockquote"]],
2758
- ["lheading", Ac],
2759
- ["paragraph", Cc]
2553
+ ["table", zo, ["paragraph", "reference"]],
2554
+ ["code", qo],
2555
+ ["fence", Uo, ["paragraph", "reference", "blockquote", "list"]],
2556
+ ["blockquote", Ho, ["paragraph", "reference", "blockquote", "list"]],
2557
+ ["hr", $o, ["paragraph", "reference", "blockquote", "list"]],
2558
+ ["list", Go, ["paragraph", "reference", "blockquote"]],
2559
+ ["reference", Wo],
2560
+ ["html_block", cc, ["paragraph", "reference", "blockquote"]],
2561
+ ["heading", ic, ["paragraph", "reference", "blockquote"]],
2562
+ ["lheading", ac],
2563
+ ["paragraph", sc]
2760
2564
  ];
2761
- function Re() {
2762
- this.ruler = new V();
2763
- for (let u = 0; u < Ae.length; u++)
2764
- this.ruler.push(Ae[u][0], Ae[u][1], { alt: (Ae[u][2] || []).slice() });
2565
+ function Se() {
2566
+ this.ruler = new Z();
2567
+ for (let u = 0; u < xe.length; u++)
2568
+ this.ruler.push(xe[u][0], xe[u][1], { alt: (xe[u][2] || []).slice() });
2765
2569
  }
2766
- Re.prototype.tokenize = function(u, e, t) {
2570
+ Se.prototype.tokenize = function(u, e, t) {
2767
2571
  const n = this.ruler.getRules(""), r = n.length, o = u.md.options.maxNesting;
2768
2572
  let i = e, c = !1;
2769
2573
  for (; i < t && (u.line = i = u.skipEmptyLines(i), !(i >= t || u.sCount[i] < u.blkIndent)); ) {
@@ -2773,8 +2577,8 @@ Re.prototype.tokenize = function(u, e, t) {
2773
2577
  }
2774
2578
  const a = u.line;
2775
2579
  let s = !1;
2776
- for (let f = 0; f < r; f++)
2777
- if (s = n[f](u, i, t, !1), s) {
2580
+ for (let d = 0; d < r; d++)
2581
+ if (s = n[d](u, i, t, !1), s) {
2778
2582
  if (a >= u.line)
2779
2583
  throw new Error("block rule didn't increment state.line");
2780
2584
  break;
@@ -2783,36 +2587,36 @@ Re.prototype.tokenize = function(u, e, t) {
2783
2587
  u.tight = !c, u.isEmpty(u.line - 1) && (c = !0), i = u.line, i < t && u.isEmpty(i) && (c = !0, i++, u.line = i);
2784
2588
  }
2785
2589
  };
2786
- Re.prototype.parse = function(u, e, t, n) {
2590
+ Se.prototype.parse = function(u, e, t, n) {
2787
2591
  if (!u)
2788
2592
  return;
2789
2593
  const r = new this.State(u, e, t, n);
2790
2594
  this.tokenize(r, r.line, r.lineMax);
2791
2595
  };
2792
- Re.prototype.State = au;
2793
- function le(u, e, t, n) {
2596
+ Se.prototype.State = au;
2597
+ function ce(u, e, t, n) {
2794
2598
  this.src = u, this.env = t, this.md = e, this.tokens = n, this.tokens_meta = Array(n.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0;
2795
2599
  }
2796
- le.prototype.pushPending = function() {
2797
- const u = new eu("text", "", 0);
2600
+ ce.prototype.pushPending = function() {
2601
+ const u = new tu("text", "", 0);
2798
2602
  return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
2799
2603
  };
2800
- le.prototype.push = function(u, e, t) {
2604
+ ce.prototype.push = function(u, e, t) {
2801
2605
  this.pending && this.pushPending();
2802
- const n = new eu(u, e, t);
2606
+ const n = new tu(u, e, t);
2803
2607
  let r = null;
2804
2608
  return t < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), n.level = this.level, t > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], r = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(n), this.tokens_meta.push(r), n;
2805
2609
  };
2806
- le.prototype.scanDelims = function(u, e) {
2610
+ ce.prototype.scanDelims = function(u, e) {
2807
2611
  const t = this.posMax, n = this.src.charCodeAt(u), r = u > 0 ? this.src.charCodeAt(u - 1) : 32;
2808
2612
  let o = u;
2809
2613
  for (; o < t && this.src.charCodeAt(o) === n; )
2810
2614
  o++;
2811
- const i = o - u, c = o < t ? this.src.charCodeAt(o) : 32, a = ce(r) || oe(String.fromCharCode(r)), s = ce(c) || oe(String.fromCharCode(c)), f = re(r), d = re(c), _ = !d && (!s || f || a), h = !f && (!a || d || s);
2812
- return { can_open: _ && (e || !h || a), can_close: h && (e || !_ || s), length: i };
2615
+ const i = o - u, c = o < t ? this.src.charCodeAt(o) : 32, a = ue(r) || Ku(String.fromCharCode(r)), s = ue(c) || Ku(String.fromCharCode(c)), d = Qu(r), f = Qu(c), _ = !f && (!s || d || a), p = !d && (!a || f || s);
2616
+ return { can_open: _ && (e || !p || a), can_close: p && (e || !_ || s), length: i };
2813
2617
  };
2814
- le.prototype.Token = eu;
2815
- function Dc(u) {
2618
+ ce.prototype.Token = tu;
2619
+ function lc(u) {
2816
2620
  switch (u) {
2817
2621
  case 10:
2818
2622
  case 33:
@@ -2842,18 +2646,18 @@ function Dc(u) {
2842
2646
  return !1;
2843
2647
  }
2844
2648
  }
2845
- function yc(u, e) {
2649
+ function fc(u, e) {
2846
2650
  let t = u.pos;
2847
- for (; t < u.posMax && !Dc(u.src.charCodeAt(t)); )
2651
+ for (; t < u.posMax && !lc(u.src.charCodeAt(t)); )
2848
2652
  t++;
2849
2653
  return t === u.pos ? !1 : (e || (u.pending += u.src.slice(u.pos, t)), u.pos = t, !0);
2850
2654
  }
2851
- const Fc = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
2852
- function Tc(u, e) {
2655
+ const dc = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
2656
+ function hc(u, e) {
2853
2657
  if (!u.md.options.linkify || u.linkLevel > 0) return !1;
2854
2658
  const t = u.pos, n = u.posMax;
2855
2659
  if (t + 3 > n || u.src.charCodeAt(t) !== 58 || u.src.charCodeAt(t + 1) !== 47 || u.src.charCodeAt(t + 2) !== 47) return !1;
2856
- const r = u.pending.match(Fc);
2660
+ const r = u.pending.match(dc);
2857
2661
  if (!r) return !1;
2858
2662
  const o = r[1], i = u.md.linkify.matchAtStart(u.src.slice(t - o.length));
2859
2663
  if (!i) return !1;
@@ -2866,14 +2670,14 @@ function Tc(u, e) {
2866
2670
  u.pending = u.pending.slice(0, -o.length);
2867
2671
  const s = u.push("link_open", "a", 1);
2868
2672
  s.attrs = [["href", a]], s.markup = "linkify", s.info = "auto";
2869
- const f = u.push("text", "", 0);
2870
- f.content = u.md.normalizeLinkText(c);
2871
- const d = u.push("link_close", "a", -1);
2872
- d.markup = "linkify", d.info = "auto";
2673
+ const d = u.push("text", "", 0);
2674
+ d.content = u.md.normalizeLinkText(c);
2675
+ const f = u.push("link_close", "a", -1);
2676
+ f.markup = "linkify", f.info = "auto";
2873
2677
  }
2874
2678
  return u.pos += c.length - o.length, !0;
2875
2679
  }
2876
- function Sc(u, e) {
2680
+ function pc(u, e) {
2877
2681
  let t = u.pos;
2878
2682
  if (u.src.charCodeAt(t) !== 10)
2879
2683
  return !1;
@@ -2892,13 +2696,13 @@ function Sc(u, e) {
2892
2696
  t++;
2893
2697
  return u.pos = t, !0;
2894
2698
  }
2895
- const m0 = [];
2699
+ const _0 = [];
2896
2700
  for (let u = 0; u < 256; u++)
2897
- m0.push(0);
2701
+ _0.push(0);
2898
2702
  "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
2899
- m0[u.charCodeAt(0)] = 1;
2703
+ _0[u.charCodeAt(0)] = 1;
2900
2704
  });
2901
- function wc(u, e) {
2705
+ function bc(u, e) {
2902
2706
  let t = u.pos;
2903
2707
  const n = u.posMax;
2904
2708
  if (u.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
@@ -2916,11 +2720,11 @@ function wc(u, e) {
2916
2720
  const i = "\\" + o;
2917
2721
  if (!e) {
2918
2722
  const c = u.push("text_special", "", 0);
2919
- r < 256 && m0[r] !== 0 ? c.content = o : c.content = i, c.markup = i, c.info = "escape";
2723
+ r < 256 && _0[r] !== 0 ? c.content = o : c.content = i, c.markup = i, c.info = "escape";
2920
2724
  }
2921
2725
  return u.pos = t + 1, !0;
2922
2726
  }
2923
- function vc(u, e) {
2727
+ function _c(u, e) {
2924
2728
  let t = u.pos;
2925
2729
  if (u.src.charCodeAt(t) !== 96)
2926
2730
  return !1;
@@ -2936,19 +2740,19 @@ function vc(u, e) {
2936
2740
  for (; (s = u.src.indexOf("`", a)) !== -1; ) {
2937
2741
  for (a = s + 1; a < o && u.src.charCodeAt(a) === 96; )
2938
2742
  a++;
2939
- const f = a - s;
2940
- if (f === c) {
2743
+ const d = a - s;
2744
+ if (d === c) {
2941
2745
  if (!e) {
2942
- const d = u.push("code_inline", "code", 0);
2943
- d.markup = i, d.content = u.src.slice(t, s).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
2746
+ const f = u.push("code_inline", "code", 0);
2747
+ f.markup = i, f.content = u.src.slice(t, s).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
2944
2748
  }
2945
2749
  return u.pos = a, !0;
2946
2750
  }
2947
- u.backticks[f] = s;
2751
+ u.backticks[d] = s;
2948
2752
  }
2949
2753
  return u.backticksScanned = !0, e || (u.pending += i), u.pos += c, !0;
2950
2754
  }
2951
- function Rc(u, e) {
2755
+ function mc(u, e) {
2952
2756
  const t = u.pos, n = u.src.charCodeAt(t);
2953
2757
  if (e || n !== 126)
2954
2758
  return !1;
@@ -2989,17 +2793,17 @@ function _t(u, e) {
2989
2793
  i--, o !== i && (t = u.tokens[i], u.tokens[i] = u.tokens[o], u.tokens[o] = t);
2990
2794
  }
2991
2795
  }
2992
- function Mc(u) {
2796
+ function xc(u) {
2993
2797
  const e = u.tokens_meta, t = u.tokens_meta.length;
2994
2798
  _t(u, u.delimiters);
2995
2799
  for (let n = 0; n < t; n++)
2996
2800
  e[n] && e[n].delimiters && _t(u, e[n].delimiters);
2997
2801
  }
2998
- const Gt = {
2999
- tokenize: Rc,
3000
- postProcess: Mc
2802
+ const $t = {
2803
+ tokenize: mc,
2804
+ postProcess: xc
3001
2805
  };
3002
- function Ic(u, e) {
2806
+ function gc(u, e) {
3003
2807
  const t = u.pos, n = u.src.charCodeAt(t);
3004
2808
  if (e || n !== 95 && n !== 42)
3005
2809
  return !1;
@@ -3043,66 +2847,66 @@ function mt(u, e) {
3043
2847
  s.type = i ? "strong_close" : "em_close", s.tag = i ? "strong" : "em", s.nesting = -1, s.markup = i ? c + c : c, s.content = "", i && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
3044
2848
  }
3045
2849
  }
3046
- function Lc(u) {
2850
+ function kc(u) {
3047
2851
  const e = u.tokens_meta, t = u.tokens_meta.length;
3048
2852
  mt(u, u.delimiters);
3049
2853
  for (let n = 0; n < t; n++)
3050
2854
  e[n] && e[n].delimiters && mt(u, e[n].delimiters);
3051
2855
  }
3052
- const Wt = {
3053
- tokenize: Ic,
3054
- postProcess: Lc
2856
+ const jt = {
2857
+ tokenize: gc,
2858
+ postProcess: kc
3055
2859
  };
3056
- function Oc(u, e) {
2860
+ function Ec(u, e) {
3057
2861
  let t, n, r, o, i = "", c = "", a = u.pos, s = !0;
3058
2862
  if (u.src.charCodeAt(u.pos) !== 91)
3059
2863
  return !1;
3060
- const f = u.pos, d = u.posMax, _ = u.pos + 1, h = u.md.helpers.parseLinkLabel(u, u.pos, !0);
3061
- if (h < 0)
2864
+ const d = u.pos, f = u.posMax, _ = u.pos + 1, p = u.md.helpers.parseLinkLabel(u, u.pos, !0);
2865
+ if (p < 0)
3062
2866
  return !1;
3063
- let p = h + 1;
3064
- if (p < d && u.src.charCodeAt(p) === 40) {
3065
- for (s = !1, p++; p < d && (t = u.src.charCodeAt(p), !(!w(t) && t !== 10)); p++)
2867
+ let h = p + 1;
2868
+ if (h < f && u.src.charCodeAt(h) === 40) {
2869
+ for (s = !1, h++; h < f && (t = u.src.charCodeAt(h), !(!w(t) && t !== 10)); h++)
3066
2870
  ;
3067
- if (p >= d)
2871
+ if (h >= f)
3068
2872
  return !1;
3069
- if (a = p, r = u.md.helpers.parseLinkDestination(u.src, p, u.posMax), r.ok) {
3070
- for (i = u.md.normalizeLink(r.str), u.md.validateLink(i) ? p = r.pos : i = "", a = p; p < d && (t = u.src.charCodeAt(p), !(!w(t) && t !== 10)); p++)
2873
+ if (a = h, r = u.md.helpers.parseLinkDestination(u.src, h, u.posMax), r.ok) {
2874
+ for (i = u.md.normalizeLink(r.str), u.md.validateLink(i) ? h = r.pos : i = "", a = h; h < f && (t = u.src.charCodeAt(h), !(!w(t) && t !== 10)); h++)
3071
2875
  ;
3072
- if (r = u.md.helpers.parseLinkTitle(u.src, p, u.posMax), p < d && a !== p && r.ok)
3073
- for (c = r.str, p = r.pos; p < d && (t = u.src.charCodeAt(p), !(!w(t) && t !== 10)); p++)
2876
+ if (r = u.md.helpers.parseLinkTitle(u.src, h, u.posMax), h < f && a !== h && r.ok)
2877
+ for (c = r.str, h = r.pos; h < f && (t = u.src.charCodeAt(h), !(!w(t) && t !== 10)); h++)
3074
2878
  ;
3075
2879
  }
3076
- (p >= d || u.src.charCodeAt(p) !== 41) && (s = !0), p++;
2880
+ (h >= f || u.src.charCodeAt(h) !== 41) && (s = !0), h++;
3077
2881
  }
3078
2882
  if (s) {
3079
2883
  if (typeof u.env.references > "u")
3080
2884
  return !1;
3081
- if (p < d && u.src.charCodeAt(p) === 91 ? (a = p + 1, p = u.md.helpers.parseLinkLabel(u, p), p >= 0 ? n = u.src.slice(a, p++) : p = h + 1) : p = h + 1, n || (n = u.src.slice(_, h)), o = u.env.references[ve(n)], !o)
3082
- return u.pos = f, !1;
2885
+ if (h < f && u.src.charCodeAt(h) === 91 ? (a = h + 1, h = u.md.helpers.parseLinkLabel(u, h), h >= 0 ? n = u.src.slice(a, h++) : h = p + 1) : h = p + 1, n || (n = u.src.slice(_, p)), o = u.env.references[Te(n)], !o)
2886
+ return u.pos = d, !1;
3083
2887
  i = o.href, c = o.title;
3084
2888
  }
3085
2889
  if (!e) {
3086
- u.pos = _, u.posMax = h;
2890
+ u.pos = _, u.posMax = p;
3087
2891
  const C = u.push("link_open", "a", 1), D = [["href", i]];
3088
2892
  C.attrs = D, c && D.push(["title", c]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
3089
2893
  }
3090
- return u.pos = p, u.posMax = d, !0;
2894
+ return u.pos = h, u.posMax = f, !0;
3091
2895
  }
3092
- function Nc(u, e) {
3093
- let t, n, r, o, i, c, a, s, f = "";
3094
- const d = u.pos, _ = u.posMax;
2896
+ function Ac(u, e) {
2897
+ let t, n, r, o, i, c, a, s, d = "";
2898
+ const f = u.pos, _ = u.posMax;
3095
2899
  if (u.src.charCodeAt(u.pos) !== 33 || u.src.charCodeAt(u.pos + 1) !== 91)
3096
2900
  return !1;
3097
- const h = u.pos + 2, p = u.md.helpers.parseLinkLabel(u, u.pos + 1, !1);
3098
- if (p < 0)
2901
+ const p = u.pos + 2, h = u.md.helpers.parseLinkLabel(u, u.pos + 1, !1);
2902
+ if (h < 0)
3099
2903
  return !1;
3100
- if (o = p + 1, o < _ && u.src.charCodeAt(o) === 40) {
2904
+ if (o = h + 1, o < _ && u.src.charCodeAt(o) === 40) {
3101
2905
  for (o++; o < _ && (t = u.src.charCodeAt(o), !(!w(t) && t !== 10)); o++)
3102
2906
  ;
3103
2907
  if (o >= _)
3104
2908
  return !1;
3105
- for (s = o, c = u.md.helpers.parseLinkDestination(u.src, o, u.posMax), c.ok && (f = u.md.normalizeLink(c.str), u.md.validateLink(f) ? o = c.pos : f = ""), s = o; o < _ && (t = u.src.charCodeAt(o), !(!w(t) && t !== 10)); o++)
2909
+ for (s = o, c = u.md.helpers.parseLinkDestination(u.src, o, u.posMax), c.ok && (d = u.md.normalizeLink(c.str), u.md.validateLink(d) ? o = c.pos : d = ""), s = o; o < _ && (t = u.src.charCodeAt(o), !(!w(t) && t !== 10)); o++)
3106
2910
  ;
3107
2911
  if (c = u.md.helpers.parseLinkTitle(u.src, o, u.posMax), o < _ && s !== o && c.ok)
3108
2912
  for (a = c.str, o = c.pos; o < _ && (t = u.src.charCodeAt(o), !(!w(t) && t !== 10)); o++)
@@ -3110,17 +2914,17 @@ function Nc(u, e) {
3110
2914
  else
3111
2915
  a = "";
3112
2916
  if (o >= _ || u.src.charCodeAt(o) !== 41)
3113
- return u.pos = d, !1;
2917
+ return u.pos = f, !1;
3114
2918
  o++;
3115
2919
  } else {
3116
2920
  if (typeof u.env.references > "u")
3117
2921
  return !1;
3118
- if (o < _ && u.src.charCodeAt(o) === 91 ? (s = o + 1, o = u.md.helpers.parseLinkLabel(u, o), o >= 0 ? r = u.src.slice(s, o++) : o = p + 1) : o = p + 1, r || (r = u.src.slice(h, p)), i = u.env.references[ve(r)], !i)
3119
- return u.pos = d, !1;
3120
- f = i.href, a = i.title;
2922
+ if (o < _ && u.src.charCodeAt(o) === 91 ? (s = o + 1, o = u.md.helpers.parseLinkLabel(u, o), o >= 0 ? r = u.src.slice(s, o++) : o = h + 1) : o = h + 1, r || (r = u.src.slice(p, h)), i = u.env.references[Te(r)], !i)
2923
+ return u.pos = f, !1;
2924
+ d = i.href, a = i.title;
3121
2925
  }
3122
2926
  if (!e) {
3123
- n = u.src.slice(h, p);
2927
+ n = u.src.slice(p, h);
3124
2928
  const C = [];
3125
2929
  u.md.inline.parse(
3126
2930
  n,
@@ -3128,13 +2932,13 @@ function Nc(u, e) {
3128
2932
  u.env,
3129
2933
  C
3130
2934
  );
3131
- const D = u.push("image", "img", 0), S = [["src", f], ["alt", ""]];
3132
- D.attrs = S, D.children = C, D.content = n, a && S.push(["title", a]);
2935
+ const D = u.push("image", "img", 0), T = [["src", d], ["alt", ""]];
2936
+ D.attrs = T, D.children = C, D.content = n, a && T.push(["title", a]);
3133
2937
  }
3134
2938
  return u.pos = o, u.posMax = _, !0;
3135
2939
  }
3136
- const Pc = /^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/, Bc = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
3137
- function zc(u, e) {
2940
+ const Cc = /^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/, Dc = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
2941
+ function yc(u, e) {
3138
2942
  let t = u.pos;
3139
2943
  if (u.src.charCodeAt(t) !== 60)
3140
2944
  return !1;
@@ -3146,7 +2950,7 @@ function zc(u, e) {
3146
2950
  if (i === 62) break;
3147
2951
  }
3148
2952
  const o = u.src.slice(n + 1, t);
3149
- if (Bc.test(o)) {
2953
+ if (Dc.test(o)) {
3150
2954
  const i = u.md.normalizeLink(o);
3151
2955
  if (!u.md.validateLink(i))
3152
2956
  return !1;
@@ -3160,7 +2964,7 @@ function zc(u, e) {
3160
2964
  }
3161
2965
  return u.pos += o.length + 2, !0;
3162
2966
  }
3163
- if (Pc.test(o)) {
2967
+ if (Cc.test(o)) {
3164
2968
  const i = u.md.normalizeLink("mailto:" + o);
3165
2969
  if (!u.md.validateLink(i))
3166
2970
  return !1;
@@ -3176,51 +2980,51 @@ function zc(u, e) {
3176
2980
  }
3177
2981
  return !1;
3178
2982
  }
3179
- function qc(u) {
2983
+ function Fc(u) {
3180
2984
  return /^<a[>\s]/i.test(u);
3181
2985
  }
3182
- function Uc(u) {
2986
+ function Tc(u) {
3183
2987
  return /^<\/a\s*>/i.test(u);
3184
2988
  }
3185
- function Hc(u) {
2989
+ function Sc(u) {
3186
2990
  const e = u | 32;
3187
2991
  return e >= 97 && e <= 122;
3188
2992
  }
3189
- function $c(u, e) {
2993
+ function wc(u, e) {
3190
2994
  if (!u.md.options.html)
3191
2995
  return !1;
3192
2996
  const t = u.posMax, n = u.pos;
3193
2997
  if (u.src.charCodeAt(n) !== 60 || n + 2 >= t)
3194
2998
  return !1;
3195
2999
  const r = u.src.charCodeAt(n + 1);
3196
- if (r !== 33 && r !== 63 && r !== 47 && !Hc(r))
3000
+ if (r !== 33 && r !== 63 && r !== 47 && !Sc(r))
3197
3001
  return !1;
3198
- const o = u.src.slice(n).match(xc);
3002
+ const o = u.src.slice(n).match(rc);
3199
3003
  if (!o)
3200
3004
  return !1;
3201
3005
  if (!e) {
3202
3006
  const i = u.push("html_inline", "", 0);
3203
- i.content = o[0], qc(i.content) && u.linkLevel++, Uc(i.content) && u.linkLevel--;
3007
+ i.content = o[0], Fc(i.content) && u.linkLevel++, Tc(i.content) && u.linkLevel--;
3204
3008
  }
3205
3009
  return u.pos += o[0].length, !0;
3206
3010
  }
3207
- const jc = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, Gc = /^&([a-z][a-z0-9]{1,31});/i;
3208
- function Wc(u, e) {
3011
+ const vc = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, Rc = /^&([a-z][a-z0-9]{1,31});/i;
3012
+ function Ic(u, e) {
3209
3013
  const t = u.pos, n = u.posMax;
3210
3014
  if (u.src.charCodeAt(t) !== 38 || t + 1 >= n) return !1;
3211
3015
  if (u.src.charCodeAt(t + 1) === 35) {
3212
- const o = u.src.slice(t).match(jc);
3016
+ const o = u.src.slice(t).match(vc);
3213
3017
  if (o) {
3214
3018
  if (!e) {
3215
3019
  const i = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), c = u.push("text_special", "", 0);
3216
- c.content = b0(i) ? Fe(i) : Fe(65533), c.markup = o[0], c.info = "entity";
3020
+ c.content = p0(i) ? De(i) : De(65533), c.markup = o[0], c.info = "entity";
3217
3021
  }
3218
3022
  return u.pos += o[0].length, !0;
3219
3023
  }
3220
3024
  } else {
3221
- const o = u.src.slice(t).match(Gc);
3025
+ const o = u.src.slice(t).match(Rc);
3222
3026
  if (o) {
3223
- const i = Bt(o[0]);
3027
+ const i = Nt(o[0]);
3224
3028
  if (i !== o[0]) {
3225
3029
  if (!e) {
3226
3030
  const c = u.push("text_special", "", 0);
@@ -3242,64 +3046,64 @@ function xt(u) {
3242
3046
  if (o.push(0), (u[n].marker !== c.marker || r !== c.token - 1) && (n = i), r = c.token, c.length = c.length || 0, !c.close) continue;
3243
3047
  e.hasOwnProperty(c.marker) || (e[c.marker] = [-1, -1, -1, -1, -1, -1]);
3244
3048
  const a = e[c.marker][(c.open ? 3 : 0) + c.length % 3];
3245
- let s = n - o[n] - 1, f = s;
3049
+ let s = n - o[n] - 1, d = s;
3246
3050
  for (; s > a; s -= o[s] + 1) {
3247
- const d = u[s];
3248
- if (d.marker === c.marker && d.open && d.end < 0) {
3051
+ const f = u[s];
3052
+ if (f.marker === c.marker && f.open && f.end < 0) {
3249
3053
  let _ = !1;
3250
- if ((d.close || c.open) && (d.length + c.length) % 3 === 0 && (d.length % 3 !== 0 || c.length % 3 !== 0) && (_ = !0), !_) {
3251
- const h = s > 0 && !u[s - 1].open ? o[s - 1] + 1 : 0;
3252
- o[i] = i - s + h, o[s] = h, c.open = !1, d.end = i, d.close = !1, f = -1, r = -2;
3054
+ if ((f.close || c.open) && (f.length + c.length) % 3 === 0 && (f.length % 3 !== 0 || c.length % 3 !== 0) && (_ = !0), !_) {
3055
+ const p = s > 0 && !u[s - 1].open ? o[s - 1] + 1 : 0;
3056
+ o[i] = i - s + p, o[s] = p, c.open = !1, f.end = i, f.close = !1, d = -1, r = -2;
3253
3057
  break;
3254
3058
  }
3255
3059
  }
3256
3060
  }
3257
- f !== -1 && (e[c.marker][(c.open ? 3 : 0) + (c.length || 0) % 3] = f);
3061
+ d !== -1 && (e[c.marker][(c.open ? 3 : 0) + (c.length || 0) % 3] = d);
3258
3062
  }
3259
3063
  }
3260
- function Zc(u) {
3064
+ function Mc(u) {
3261
3065
  const e = u.tokens_meta, t = u.tokens_meta.length;
3262
3066
  xt(u.delimiters);
3263
3067
  for (let n = 0; n < t; n++)
3264
3068
  e[n] && e[n].delimiters && xt(e[n].delimiters);
3265
3069
  }
3266
- function Vc(u) {
3070
+ function Lc(u) {
3267
3071
  let e, t, n = 0;
3268
3072
  const r = u.tokens, o = u.tokens.length;
3269
3073
  for (e = t = 0; e < o; e++)
3270
3074
  r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < o && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
3271
3075
  e !== t && (r.length = t);
3272
3076
  }
3273
- const Ke = [
3274
- ["text", yc],
3275
- ["linkify", Tc],
3276
- ["newline", Sc],
3277
- ["escape", wc],
3278
- ["backticks", vc],
3279
- ["strikethrough", Gt.tokenize],
3280
- ["emphasis", Wt.tokenize],
3281
- ["link", Oc],
3282
- ["image", Nc],
3283
- ["autolink", zc],
3284
- ["html_inline", $c],
3285
- ["entity", Wc]
3286
- ], u0 = [
3287
- ["balance_pairs", Zc],
3288
- ["strikethrough", Gt.postProcess],
3289
- ["emphasis", Wt.postProcess],
3077
+ const Xe = [
3078
+ ["text", fc],
3079
+ ["linkify", hc],
3080
+ ["newline", pc],
3081
+ ["escape", bc],
3082
+ ["backticks", _c],
3083
+ ["strikethrough", $t.tokenize],
3084
+ ["emphasis", jt.tokenize],
3085
+ ["link", Ec],
3086
+ ["image", Ac],
3087
+ ["autolink", yc],
3088
+ ["html_inline", wc],
3089
+ ["entity", Ic]
3090
+ ], Je = [
3091
+ ["balance_pairs", Mc],
3092
+ ["strikethrough", $t.postProcess],
3093
+ ["emphasis", jt.postProcess],
3290
3094
  // rules for pairs separate '**' into its own text tokens, which may be left unused,
3291
3095
  // rule below merges unused segments back with the rest of the text
3292
- ["fragments_join", Vc]
3096
+ ["fragments_join", Lc]
3293
3097
  ];
3294
- function fe() {
3295
- this.ruler = new V();
3296
- for (let u = 0; u < Ke.length; u++)
3297
- this.ruler.push(Ke[u][0], Ke[u][1]);
3298
- this.ruler2 = new V();
3299
- for (let u = 0; u < u0.length; u++)
3300
- this.ruler2.push(u0[u][0], u0[u][1]);
3301
- }
3302
- fe.prototype.skipToken = function(u) {
3098
+ function ie() {
3099
+ this.ruler = new Z();
3100
+ for (let u = 0; u < Xe.length; u++)
3101
+ this.ruler.push(Xe[u][0], Xe[u][1]);
3102
+ this.ruler2 = new Z();
3103
+ for (let u = 0; u < Je.length; u++)
3104
+ this.ruler2.push(Je[u][0], Je[u][1]);
3105
+ }
3106
+ ie.prototype.skipToken = function(u) {
3303
3107
  const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, o = u.cache;
3304
3108
  if (typeof o[e] < "u") {
3305
3109
  u.pos = o[e];
@@ -3317,7 +3121,7 @@ fe.prototype.skipToken = function(u) {
3317
3121
  u.pos = u.posMax;
3318
3122
  i || u.pos++, o[e] = u.pos;
3319
3123
  };
3320
- fe.prototype.tokenize = function(u) {
3124
+ ie.prototype.tokenize = function(u) {
3321
3125
  const e = this.ruler.getRules(""), t = e.length, n = u.posMax, r = u.md.options.maxNesting;
3322
3126
  for (; u.pos < n; ) {
3323
3127
  const o = u.pos;
@@ -3339,17 +3143,17 @@ fe.prototype.tokenize = function(u) {
3339
3143
  }
3340
3144
  u.pending && u.pushPending();
3341
3145
  };
3342
- fe.prototype.parse = function(u, e, t, n) {
3146
+ ie.prototype.parse = function(u, e, t, n) {
3343
3147
  const r = new this.State(u, e, t, n);
3344
3148
  this.tokenize(r);
3345
3149
  const o = this.ruler2.getRules(""), i = o.length;
3346
3150
  for (let c = 0; c < i; c++)
3347
3151
  o[c](r);
3348
3152
  };
3349
- fe.prototype.State = le;
3350
- function Yc(u) {
3153
+ ie.prototype.State = ce;
3154
+ function Oc(u) {
3351
3155
  const e = {};
3352
- u = u || {}, e.src_Any = It.source, e.src_Cc = Lt.source, e.src_Z = Nt.source, e.src_P = p0.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
3156
+ u = u || {}, e.src_Any = Rt.source, e.src_Cc = It.source, e.src_Z = Lt.source, e.src_P = d0.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
3353
3157
  const t = "[><|]";
3354
3158
  return e.src_pseudo_letter = "(?:(?!" + t + "|" + e.src_ZPCc + ")" + e.src_Any + ")", e.src_ip4 = "(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)", e.src_auth = "(?:(?:(?!" + e.src_ZCc + "|[@/\\[\\]()]).)+@)?", e.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", e.src_host_terminator = "(?=$|" + t + "|" + e.src_ZPCc + ")(?!" + (u["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + e.src_ZPCc + "))", e.src_path = "(?:[/?#](?:(?!" + e.src_ZCc + "|" + t + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + e.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + e.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + e.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + e.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + e.src_ZCc + "|[']).)+\\'|\\'(?=" + e.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + e.src_ZCc + "|[.]|$)|" + (u["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
3355
3159
  ",(?!" + e.src_ZCc + "|$)|;(?!" + e.src_ZCc + "|$)|\\!+(?!" + e.src_ZCc + "|[!]|$)|\\?(?!" + e.src_ZCc + "|[?]|$))+|\\/)?", e.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', e.src_xn = "xn--[a-z0-9\\-]{1,59}", e.src_domain_root = // Allow letters & digits (http://test1)
@@ -3359,42 +3163,42 @@ function Yc(u) {
3359
3163
  // but can start with > (markdown blockquote)
3360
3164
  "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + e.src_ZPCc + "))((?![$+<=>^`||])" + e.tpl_host_port_no_ip_fuzzy_strict + e.src_path + ")", e;
3361
3165
  }
3362
- function i0(u) {
3166
+ function r0(u) {
3363
3167
  return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
3364
3168
  t && Object.keys(t).forEach(function(n) {
3365
3169
  u[n] = t[n];
3366
3170
  });
3367
3171
  }), u;
3368
3172
  }
3369
- function Me(u) {
3173
+ function we(u) {
3370
3174
  return Object.prototype.toString.call(u);
3371
3175
  }
3372
- function Xc(u) {
3373
- return Me(u) === "[object String]";
3176
+ function Nc(u) {
3177
+ return we(u) === "[object String]";
3374
3178
  }
3375
- function Jc(u) {
3376
- return Me(u) === "[object Object]";
3179
+ function Bc(u) {
3180
+ return we(u) === "[object Object]";
3377
3181
  }
3378
- function Qc(u) {
3379
- return Me(u) === "[object RegExp]";
3182
+ function Pc(u) {
3183
+ return we(u) === "[object RegExp]";
3380
3184
  }
3381
3185
  function gt(u) {
3382
- return Me(u) === "[object Function]";
3186
+ return we(u) === "[object Function]";
3383
3187
  }
3384
- function Kc(u) {
3188
+ function zc(u) {
3385
3189
  return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
3386
3190
  }
3387
- const Zt = {
3191
+ const Gt = {
3388
3192
  fuzzyLink: !0,
3389
3193
  fuzzyEmail: !0,
3390
3194
  fuzzyIP: !1
3391
3195
  };
3392
- function ui(u) {
3196
+ function qc(u) {
3393
3197
  return Object.keys(u || {}).reduce(function(e, t) {
3394
- return e || Zt.hasOwnProperty(t);
3198
+ return e || Gt.hasOwnProperty(t);
3395
3199
  }, !1);
3396
3200
  }
3397
- const ei = {
3201
+ const Uc = {
3398
3202
  "http:": {
3399
3203
  validate: function(u, e, t) {
3400
3204
  const n = u.slice(e);
@@ -3426,11 +3230,11 @@ const ei = {
3426
3230
  )), t.re.mailto.test(n) ? n.match(t.re.mailto)[0].length : 0;
3427
3231
  }
3428
3232
  }
3429
- }, ti = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", ni = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
3430
- function ri(u) {
3233
+ }, Hc = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", $c = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
3234
+ function jc(u) {
3431
3235
  u.__index__ = -1, u.__text_cache__ = "";
3432
3236
  }
3433
- function oi(u) {
3237
+ function Gc(u) {
3434
3238
  return function(e, t) {
3435
3239
  const n = e.slice(t);
3436
3240
  return u.test(n) ? n.match(u)[0].length : 0;
@@ -3441,9 +3245,9 @@ function kt() {
3441
3245
  e.normalize(u);
3442
3246
  };
3443
3247
  }
3444
- function Te(u) {
3445
- const e = u.re = Yc(u.__opts__), t = u.__tlds__.slice();
3446
- u.onCompile(), u.__tlds_replaced__ || t.push(ti), t.push(e.src_xn), e.src_tlds = t.join("|");
3248
+ function ye(u) {
3249
+ const e = u.re = Oc(u.__opts__), t = u.__tlds__.slice();
3250
+ u.onCompile(), u.__tlds_replaced__ || t.push(Hc), t.push(e.src_xn), e.src_tlds = t.join("|");
3447
3251
  function n(c) {
3448
3252
  return c.replace("%TLDS%", e.src_tlds);
3449
3253
  }
@@ -3458,11 +3262,11 @@ function Te(u) {
3458
3262
  if (a === null)
3459
3263
  return;
3460
3264
  const s = { validate: null, link: null };
3461
- if (u.__compiled__[c] = s, Jc(a)) {
3462
- Qc(a.validate) ? s.validate = oi(a.validate) : gt(a.validate) ? s.validate = a.validate : o(c, a), gt(a.normalize) ? s.normalize = a.normalize : a.normalize ? o(c, a) : s.normalize = kt();
3265
+ if (u.__compiled__[c] = s, Bc(a)) {
3266
+ Pc(a.validate) ? s.validate = Gc(a.validate) : gt(a.validate) ? s.validate = a.validate : o(c, a), gt(a.normalize) ? s.normalize = a.normalize : a.normalize ? o(c, a) : s.normalize = kt();
3463
3267
  return;
3464
3268
  }
3465
- if (Xc(a)) {
3269
+ if (Nc(a)) {
3466
3270
  r.push(c);
3467
3271
  return;
3468
3272
  }
@@ -3472,35 +3276,35 @@ function Te(u) {
3472
3276
  }), u.__compiled__[""] = { validate: null, normalize: kt() };
3473
3277
  const i = Object.keys(u.__compiled__).filter(function(c) {
3474
3278
  return c.length > 0 && u.__compiled__[c];
3475
- }).map(Kc).join("|");
3279
+ }).map(zc).join("|");
3476
3280
  u.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + i + ")", "i"), u.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + i + ")", "ig"), u.re.schema_at_start = RegExp("^" + u.re.schema_search.source, "i"), u.re.pretest = RegExp(
3477
3281
  "(" + u.re.schema_test.source + ")|(" + u.re.host_fuzzy_test.source + ")|@",
3478
3282
  "i"
3479
- ), ri(u);
3283
+ ), jc(u);
3480
3284
  }
3481
- function ci(u, e) {
3285
+ function Wc(u, e) {
3482
3286
  const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
3483
3287
  this.schema = u.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = n + e, this.raw = r, this.text = r, this.url = r;
3484
3288
  }
3485
- function a0(u, e) {
3486
- const t = new ci(u, e);
3289
+ function o0(u, e) {
3290
+ const t = new Wc(u, e);
3487
3291
  return u.__compiled__[t.schema].normalize(t, u), t;
3488
3292
  }
3489
3293
  function X(u, e) {
3490
3294
  if (!(this instanceof X))
3491
3295
  return new X(u, e);
3492
- e || ui(u) && (e = u, u = {}), this.__opts__ = i0({}, Zt, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = i0({}, ei, u), this.__compiled__ = {}, this.__tlds__ = ni, this.__tlds_replaced__ = !1, this.re = {}, Te(this);
3296
+ e || qc(u) && (e = u, u = {}), this.__opts__ = r0({}, Gt, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = r0({}, Uc, u), this.__compiled__ = {}, this.__tlds__ = $c, this.__tlds_replaced__ = !1, this.re = {}, ye(this);
3493
3297
  }
3494
3298
  X.prototype.add = function(e, t) {
3495
- return this.__schemas__[e] = t, Te(this), this;
3299
+ return this.__schemas__[e] = t, ye(this), this;
3496
3300
  };
3497
3301
  X.prototype.set = function(e) {
3498
- return this.__opts__ = i0(this.__opts__, e), this;
3302
+ return this.__opts__ = r0(this.__opts__, e), this;
3499
3303
  };
3500
3304
  X.prototype.test = function(e) {
3501
3305
  if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
3502
3306
  return !1;
3503
- let t, n, r, o, i, c, a, s, f;
3307
+ let t, n, r, o, i, c, a, s, d;
3504
3308
  if (this.re.schema_test.test(e)) {
3505
3309
  for (a = this.re.schema_search, a.lastIndex = 0; (t = a.exec(e)) !== null; )
3506
3310
  if (o = this.testSchemaAt(e, t[2], a.lastIndex), o) {
@@ -3508,7 +3312,7 @@ X.prototype.test = function(e) {
3508
3312
  break;
3509
3313
  }
3510
3314
  }
3511
- return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (s = e.search(this.re.host_fuzzy_test), s >= 0 && (this.__index__ < 0 || s < this.__index__) && (n = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (i = n.index + n[1].length, (this.__index__ < 0 || i < this.__index__) && (this.__schema__ = "", this.__index__ = i, this.__last_index__ = n.index + n[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (f = e.indexOf("@"), f >= 0 && (r = e.match(this.re.email_fuzzy)) !== null && (i = r.index + r[1].length, c = r.index + r[0].length, (this.__index__ < 0 || i < this.__index__ || i === this.__index__ && c > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = i, this.__last_index__ = c))), this.__index__ >= 0;
3315
+ return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (s = e.search(this.re.host_fuzzy_test), s >= 0 && (this.__index__ < 0 || s < this.__index__) && (n = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (i = n.index + n[1].length, (this.__index__ < 0 || i < this.__index__) && (this.__schema__ = "", this.__index__ = i, this.__last_index__ = n.index + n[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (d = e.indexOf("@"), d >= 0 && (r = e.match(this.re.email_fuzzy)) !== null && (i = r.index + r[1].length, c = r.index + r[0].length, (this.__index__ < 0 || i < this.__index__ || i === this.__index__ && c > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = i, this.__last_index__ = c))), this.__index__ >= 0;
3512
3316
  };
3513
3317
  X.prototype.pretest = function(e) {
3514
3318
  return this.re.pretest.test(e);
@@ -3519,10 +3323,10 @@ X.prototype.testSchemaAt = function(e, t, n) {
3519
3323
  X.prototype.match = function(e) {
3520
3324
  const t = [];
3521
3325
  let n = 0;
3522
- this.__index__ >= 0 && this.__text_cache__ === e && (t.push(a0(this, n)), n = this.__last_index__);
3326
+ this.__index__ >= 0 && this.__text_cache__ === e && (t.push(o0(this, n)), n = this.__last_index__);
3523
3327
  let r = n ? e.slice(n) : e;
3524
3328
  for (; this.test(r); )
3525
- t.push(a0(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
3329
+ t.push(o0(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
3526
3330
  return t.length ? t : null;
3527
3331
  };
3528
3332
  X.prototype.matchAtStart = function(e) {
@@ -3530,41 +3334,41 @@ X.prototype.matchAtStart = function(e) {
3530
3334
  const t = this.re.schema_at_start.exec(e);
3531
3335
  if (!t) return null;
3532
3336
  const n = this.testSchemaAt(e, t[2], t[0].length);
3533
- return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, a0(this, 0)) : null;
3337
+ return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, o0(this, 0)) : null;
3534
3338
  };
3535
3339
  X.prototype.tlds = function(e, t) {
3536
3340
  return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, o) {
3537
3341
  return n !== o[r - 1];
3538
- }).reverse(), Te(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, Te(this), this);
3342
+ }).reverse(), ye(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, ye(this), this);
3539
3343
  };
3540
3344
  X.prototype.normalize = function(e) {
3541
3345
  e.schema || (e.url = "http://" + e.url), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = "mailto:" + e.url);
3542
3346
  };
3543
3347
  X.prototype.onCompile = function() {
3544
3348
  };
3545
- const Bu = 2147483647, ou = 36, x0 = 1, ie = 26, ii = 38, ai = 700, Vt = 72, Yt = 128, Xt = "-", si = /^xn--/, li = /[^\0-\x7F]/, fi = /[\x2E\u3002\uFF0E\uFF61]/g, di = {
3349
+ const Ou = 2147483647, ou = 36, m0 = 1, ee = 26, Zc = 38, Vc = 700, Wt = 72, Zt = 128, Vt = "-", Yc = /^xn--/, Xc = /[^\0-\x7F]/, Jc = /[\x2E\u3002\uFF0E\uFF61]/g, Qc = {
3546
3350
  overflow: "Overflow: input needs wider integers to process",
3547
3351
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
3548
3352
  "invalid-input": "Invalid input"
3549
- }, e0 = ou - x0, cu = Math.floor, t0 = String.fromCharCode;
3550
- function hu(u) {
3551
- throw new RangeError(di[u]);
3353
+ }, Qe = ou - m0, cu = Math.floor, Ke = String.fromCharCode;
3354
+ function pu(u) {
3355
+ throw new RangeError(Qc[u]);
3552
3356
  }
3553
- function pi(u, e) {
3357
+ function Kc(u, e) {
3554
3358
  const t = [];
3555
3359
  let n = u.length;
3556
3360
  for (; n--; )
3557
3361
  t[n] = e(u[n]);
3558
3362
  return t;
3559
3363
  }
3560
- function Jt(u, e) {
3364
+ function Yt(u, e) {
3561
3365
  const t = u.split("@");
3562
3366
  let n = "";
3563
- t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(fi, ".");
3564
- const r = u.split("."), o = pi(r, e).join(".");
3367
+ t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(Jc, ".");
3368
+ const r = u.split("."), o = Kc(r, e).join(".");
3565
3369
  return n + o;
3566
3370
  }
3567
- function Qt(u) {
3371
+ function Xt(u) {
3568
3372
  const e = [];
3569
3373
  let t = 0;
3570
3374
  const n = u.length;
@@ -3578,78 +3382,78 @@ function Qt(u) {
3578
3382
  }
3579
3383
  return e;
3580
3384
  }
3581
- const hi = (u) => String.fromCodePoint(...u), bi = function(u) {
3385
+ const ui = (u) => String.fromCodePoint(...u), ei = function(u) {
3582
3386
  return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : ou;
3583
3387
  }, Et = function(u, e) {
3584
3388
  return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
3585
- }, Kt = function(u, e, t) {
3389
+ }, Jt = function(u, e, t) {
3586
3390
  let n = 0;
3587
- for (u = t ? cu(u / ai) : u >> 1, u += cu(u / e); u > e0 * ie >> 1; n += ou)
3588
- u = cu(u / e0);
3589
- return cu(n + (e0 + 1) * u / (u + ii));
3590
- }, un = function(u) {
3391
+ for (u = t ? cu(u / Vc) : u >> 1, u += cu(u / e); u > Qe * ee >> 1; n += ou)
3392
+ u = cu(u / Qe);
3393
+ return cu(n + (Qe + 1) * u / (u + Zc));
3394
+ }, Qt = function(u) {
3591
3395
  const e = [], t = u.length;
3592
- let n = 0, r = Yt, o = Vt, i = u.lastIndexOf(Xt);
3396
+ let n = 0, r = Zt, o = Wt, i = u.lastIndexOf(Vt);
3593
3397
  i < 0 && (i = 0);
3594
3398
  for (let c = 0; c < i; ++c)
3595
- u.charCodeAt(c) >= 128 && hu("not-basic"), e.push(u.charCodeAt(c));
3399
+ u.charCodeAt(c) >= 128 && pu("not-basic"), e.push(u.charCodeAt(c));
3596
3400
  for (let c = i > 0 ? i + 1 : 0; c < t; ) {
3597
3401
  const a = n;
3598
- for (let f = 1, d = ou; ; d += ou) {
3599
- c >= t && hu("invalid-input");
3600
- const _ = bi(u.charCodeAt(c++));
3601
- _ >= ou && hu("invalid-input"), _ > cu((Bu - n) / f) && hu("overflow"), n += _ * f;
3602
- const h = d <= o ? x0 : d >= o + ie ? ie : d - o;
3603
- if (_ < h)
3402
+ for (let d = 1, f = ou; ; f += ou) {
3403
+ c >= t && pu("invalid-input");
3404
+ const _ = ei(u.charCodeAt(c++));
3405
+ _ >= ou && pu("invalid-input"), _ > cu((Ou - n) / d) && pu("overflow"), n += _ * d;
3406
+ const p = f <= o ? m0 : f >= o + ee ? ee : f - o;
3407
+ if (_ < p)
3604
3408
  break;
3605
- const p = ou - h;
3606
- f > cu(Bu / p) && hu("overflow"), f *= p;
3409
+ const h = ou - p;
3410
+ d > cu(Ou / h) && pu("overflow"), d *= h;
3607
3411
  }
3608
3412
  const s = e.length + 1;
3609
- o = Kt(n - a, s, a == 0), cu(n / s) > Bu - r && hu("overflow"), r += cu(n / s), n %= s, e.splice(n++, 0, r);
3413
+ o = Jt(n - a, s, a == 0), cu(n / s) > Ou - r && pu("overflow"), r += cu(n / s), n %= s, e.splice(n++, 0, r);
3610
3414
  }
3611
3415
  return String.fromCodePoint(...e);
3612
- }, en = function(u) {
3416
+ }, Kt = function(u) {
3613
3417
  const e = [];
3614
- u = Qt(u);
3418
+ u = Xt(u);
3615
3419
  const t = u.length;
3616
- let n = Yt, r = 0, o = Vt;
3420
+ let n = Zt, r = 0, o = Wt;
3617
3421
  for (const a of u)
3618
- a < 128 && e.push(t0(a));
3422
+ a < 128 && e.push(Ke(a));
3619
3423
  const i = e.length;
3620
3424
  let c = i;
3621
- for (i && e.push(Xt); c < t; ) {
3622
- let a = Bu;
3623
- for (const f of u)
3624
- f >= n && f < a && (a = f);
3425
+ for (i && e.push(Vt); c < t; ) {
3426
+ let a = Ou;
3427
+ for (const d of u)
3428
+ d >= n && d < a && (a = d);
3625
3429
  const s = c + 1;
3626
- a - n > cu((Bu - r) / s) && hu("overflow"), r += (a - n) * s, n = a;
3627
- for (const f of u)
3628
- if (f < n && ++r > Bu && hu("overflow"), f === n) {
3629
- let d = r;
3430
+ a - n > cu((Ou - r) / s) && pu("overflow"), r += (a - n) * s, n = a;
3431
+ for (const d of u)
3432
+ if (d < n && ++r > Ou && pu("overflow"), d === n) {
3433
+ let f = r;
3630
3434
  for (let _ = ou; ; _ += ou) {
3631
- const h = _ <= o ? x0 : _ >= o + ie ? ie : _ - o;
3632
- if (d < h)
3435
+ const p = _ <= o ? m0 : _ >= o + ee ? ee : _ - o;
3436
+ if (f < p)
3633
3437
  break;
3634
- const p = d - h, C = ou - h;
3438
+ const h = f - p, C = ou - p;
3635
3439
  e.push(
3636
- t0(Et(h + p % C, 0))
3637
- ), d = cu(p / C);
3440
+ Ke(Et(p + h % C, 0))
3441
+ ), f = cu(h / C);
3638
3442
  }
3639
- e.push(t0(Et(d, 0))), o = Kt(r, s, c === i), r = 0, ++c;
3443
+ e.push(Ke(Et(f, 0))), o = Jt(r, s, c === i), r = 0, ++c;
3640
3444
  }
3641
3445
  ++r, ++n;
3642
3446
  }
3643
3447
  return e.join("");
3644
- }, _i = function(u) {
3645
- return Jt(u, function(e) {
3646
- return si.test(e) ? un(e.slice(4).toLowerCase()) : e;
3448
+ }, ti = function(u) {
3449
+ return Yt(u, function(e) {
3450
+ return Yc.test(e) ? Qt(e.slice(4).toLowerCase()) : e;
3647
3451
  });
3648
- }, mi = function(u) {
3649
- return Jt(u, function(e) {
3650
- return li.test(e) ? "xn--" + en(e) : e;
3452
+ }, ni = function(u) {
3453
+ return Yt(u, function(e) {
3454
+ return Xc.test(e) ? "xn--" + Kt(e) : e;
3651
3455
  });
3652
- }, tn = {
3456
+ }, un = {
3653
3457
  /**
3654
3458
  * A string representing the current Punycode.js version number.
3655
3459
  * @memberOf punycode
@@ -3664,14 +3468,14 @@ const hi = (u) => String.fromCodePoint(...u), bi = function(u) {
3664
3468
  * @type Object
3665
3469
  */
3666
3470
  ucs2: {
3667
- decode: Qt,
3668
- encode: hi
3471
+ decode: Xt,
3472
+ encode: ui
3669
3473
  },
3670
- decode: un,
3671
- encode: en,
3672
- toASCII: mi,
3673
- toUnicode: _i
3674
- }, xi = {
3474
+ decode: Qt,
3475
+ encode: Kt,
3476
+ toASCII: ni,
3477
+ toUnicode: ti
3478
+ }, ri = {
3675
3479
  options: {
3676
3480
  // Enable HTML tags in source
3677
3481
  html: !1,
@@ -3707,7 +3511,7 @@ const hi = (u) => String.fromCodePoint(...u), bi = function(u) {
3707
3511
  block: {},
3708
3512
  inline: {}
3709
3513
  }
3710
- }, gi = {
3514
+ }, oi = {
3711
3515
  options: {
3712
3516
  // Enable HTML tags in source
3713
3517
  html: !1,
@@ -3762,7 +3566,7 @@ const hi = (u) => String.fromCodePoint(...u), bi = function(u) {
3762
3566
  ]
3763
3567
  }
3764
3568
  }
3765
- }, ki = {
3569
+ }, ci = {
3766
3570
  options: {
3767
3571
  // Enable HTML tags in source
3768
3572
  html: !0,
@@ -3836,47 +3640,47 @@ const hi = (u) => String.fromCodePoint(...u), bi = function(u) {
3836
3640
  ]
3837
3641
  }
3838
3642
  }
3839
- }, Ei = {
3840
- default: xi,
3841
- zero: gi,
3842
- commonmark: ki
3843
- }, Ai = /^(vbscript|javascript|file|data):/, Ci = /^data:image\/(gif|png|jpeg|webp);/;
3844
- function Di(u) {
3643
+ }, ii = {
3644
+ default: ri,
3645
+ zero: oi,
3646
+ commonmark: ci
3647
+ }, ai = /^(vbscript|javascript|file|data):/, si = /^data:image\/(gif|png|jpeg|webp);/;
3648
+ function li(u) {
3845
3649
  const e = u.trim().toLowerCase();
3846
- return Ai.test(e) ? Ci.test(e) : !0;
3650
+ return ai.test(e) ? si.test(e) : !0;
3847
3651
  }
3848
- const nn = ["http:", "https:", "mailto:"];
3849
- function yi(u) {
3850
- const e = d0(u, !0);
3851
- if (e.hostname && (!e.protocol || nn.indexOf(e.protocol) >= 0))
3652
+ const en = ["http:", "https:", "mailto:"];
3653
+ function fi(u) {
3654
+ const e = f0(u, !0);
3655
+ if (e.hostname && (!e.protocol || en.indexOf(e.protocol) >= 0))
3852
3656
  try {
3853
- e.hostname = tn.toASCII(e.hostname);
3657
+ e.hostname = un.toASCII(e.hostname);
3854
3658
  } catch {
3855
3659
  }
3856
- return se(f0(e));
3660
+ return oe(l0(e));
3857
3661
  }
3858
- function Fi(u) {
3859
- const e = d0(u, !0);
3860
- if (e.hostname && (!e.protocol || nn.indexOf(e.protocol) >= 0))
3662
+ function di(u) {
3663
+ const e = f0(u, !0);
3664
+ if (e.hostname && (!e.protocol || en.indexOf(e.protocol) >= 0))
3861
3665
  try {
3862
- e.hostname = tn.toUnicode(e.hostname);
3666
+ e.hostname = un.toUnicode(e.hostname);
3863
3667
  } catch {
3864
3668
  }
3865
- return zu(f0(e), zu.defaultChars + "%");
3669
+ return Nu(l0(e), Nu.defaultChars + "%");
3866
3670
  }
3867
- function Q(u, e) {
3868
- if (!(this instanceof Q))
3869
- return new Q(u, e);
3870
- e || h0(u) || (e = u || {}, u = "default"), this.inline = new fe(), this.block = new Re(), this.core = new _0(), this.renderer = new Hu(), this.linkify = new X(), this.validateLink = Di, this.normalizeLink = yi, this.normalizeLinkText = Fi, this.utils = So, this.helpers = we({}, Mo), this.options = {}, this.configure(u), e && this.set(e);
3671
+ function K(u, e) {
3672
+ if (!(this instanceof K))
3673
+ return new K(u, e);
3674
+ e || h0(u) || (e = u || {}, u = "default"), this.inline = new ie(), this.block = new Se(), this.core = new b0(), this.renderer = new Pu(), this.linkify = new X(), this.validateLink = li, this.normalizeLink = fi, this.normalizeLinkText = di, this.utils = po, this.helpers = Fe({}, xo), this.options = {}, this.configure(u), e && this.set(e);
3871
3675
  }
3872
- Q.prototype.set = function(u) {
3873
- return we(this.options, u), this;
3676
+ K.prototype.set = function(u) {
3677
+ return Fe(this.options, u), this;
3874
3678
  };
3875
- Q.prototype.configure = function(u) {
3679
+ K.prototype.configure = function(u) {
3876
3680
  const e = this;
3877
3681
  if (h0(u)) {
3878
3682
  const t = u;
3879
- if (u = Ei[t], !u)
3683
+ if (u = ii[t], !u)
3880
3684
  throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
3881
3685
  }
3882
3686
  if (!u)
@@ -3885,7 +3689,7 @@ Q.prototype.configure = function(u) {
3885
3689
  u.components[t].rules && e[t].ruler.enableOnly(u.components[t].rules), u.components[t].rules2 && e[t].ruler2.enableOnly(u.components[t].rules2);
3886
3690
  }), this;
3887
3691
  };
3888
- Q.prototype.enable = function(u, e) {
3692
+ K.prototype.enable = function(u, e) {
3889
3693
  let t = [];
3890
3694
  Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
3891
3695
  t = t.concat(this[r].ruler.enable(u, !0));
@@ -3897,7 +3701,7 @@ Q.prototype.enable = function(u, e) {
3897
3701
  throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + n);
3898
3702
  return this;
3899
3703
  };
3900
- Q.prototype.disable = function(u, e) {
3704
+ K.prototype.disable = function(u, e) {
3901
3705
  let t = [];
3902
3706
  Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
3903
3707
  t = t.concat(this[r].ruler.disable(u, !0));
@@ -3909,86 +3713,246 @@ Q.prototype.disable = function(u, e) {
3909
3713
  throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + n);
3910
3714
  return this;
3911
3715
  };
3912
- Q.prototype.use = function(u) {
3716
+ K.prototype.use = function(u) {
3913
3717
  const e = [this].concat(Array.prototype.slice.call(arguments, 1));
3914
3718
  return u.apply(u, e), this;
3915
3719
  };
3916
- Q.prototype.parse = function(u, e) {
3720
+ K.prototype.parse = function(u, e) {
3917
3721
  if (typeof u != "string")
3918
3722
  throw new Error("Input data should be a String");
3919
3723
  const t = new this.core.State(u, this, e);
3920
3724
  return this.core.process(t), t.tokens;
3921
3725
  };
3922
- Q.prototype.render = function(u, e) {
3726
+ K.prototype.render = function(u, e) {
3923
3727
  return e = e || {}, this.renderer.render(this.parse(u, e), this.options, e);
3924
3728
  };
3925
- Q.prototype.parseInline = function(u, e) {
3729
+ K.prototype.parseInline = function(u, e) {
3926
3730
  const t = new this.core.State(u, this, e);
3927
3731
  return t.inlineMode = !0, this.core.process(t), t.tokens;
3928
3732
  };
3929
- Q.prototype.renderInline = function(u, e) {
3733
+ K.prototype.renderInline = function(u, e) {
3930
3734
  return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
3931
3735
  };
3932
- class Bi extends s0 {
3933
- constructor({ mdConfig: t, dompurifyConfig: n, sanitizeDisabled: r, styleOptions: o } = {}) {
3736
+ class vi extends a0 {
3737
+ constructor(t = {}) {
3934
3738
  super();
3935
- Iu(this, "md");
3936
- Iu(this, "mdConfig");
3937
- Iu(this, "dompurifyConfig");
3938
- Iu(this, "sanitizeDisabled");
3939
- Iu(this, "styleOptions");
3940
- this.mdConfig = t || {}, this.dompurifyConfig = n || {}, this.md = Q(this.mdConfig), this.sanitizeDisabled = r ?? !1, this.styleOptions = o ?? {};
3739
+ Mu(this, "mdConfig");
3740
+ Mu(this, "dompurifyConfig");
3741
+ Mu(this, "sanitizeDisabled");
3742
+ Mu(this, "defaultAttrs");
3743
+ Mu(this, "md");
3744
+ this.mdConfig = t.mdConfig || {}, this.dompurifyConfig = t.dompurifyConfig || {}, this.sanitizeDisabled = t.sanitizeDisabled ?? !1, this.defaultAttrs = t.defaultAttrs || {}, this.md = K(this.mdConfig);
3941
3745
  }
3942
3746
  render(t) {
3943
- let n = "";
3747
+ const { content: n, ...r } = t;
3748
+ let o = "";
3944
3749
  try {
3945
- n = this.md.render(t.content ?? "");
3946
- } catch (o) {
3947
- console.error("Error rendering markdown:", o), n = t.content ?? "";
3750
+ o = this.md.render(n ?? "");
3751
+ } catch (c) {
3752
+ console.error("Error rendering markdown:", c), o = n ?? "";
3948
3753
  }
3949
3754
  if (this.sanitizeDisabled)
3950
- return console.warn("HTML sanitization is disabled, potential XSS risk"), Z0("div", { innerHTML: n, class: this.styleOptions.class, style: this.styleOptions.style });
3951
- const r = qr.sanitize(n, this.dompurifyConfig);
3952
- return Z0("div", { innerHTML: r, class: this.styleOptions.class, style: this.styleOptions.style });
3755
+ return console.warn("HTML sanitization is disabled, potential XSS risk"), j0("div", { ...this.defaultAttrs, ...r, innerHTML: o });
3756
+ const i = Fr.sanitize(o, this.dompurifyConfig);
3757
+ return j0("div", { ...this.defaultAttrs, ...r, innerHTML: i });
3953
3758
  }
3954
3759
  }
3955
- const ae = /* @__PURE__ */ ku({
3760
+ const hi = {
3761
+ key: 0,
3762
+ class: /* @__PURE__ */ Eu(["tr-bubble__avatar"])
3763
+ }, pi = {
3764
+ key: 0,
3765
+ class: "tr-bubble__content-items"
3766
+ }, bi = {
3767
+ key: 1,
3768
+ class: "tr-bubble__body-text"
3769
+ }, _i = {
3770
+ key: 2,
3771
+ class: "tr-bubble__aborted"
3772
+ }, mi = {
3773
+ key: 3,
3774
+ class: "tr-bubble__footer"
3775
+ }, xi = /* @__PURE__ */ Du({
3776
+ __name: "Bubble",
3777
+ props: {
3778
+ content: { default: "" },
3779
+ id: {},
3780
+ role: {},
3781
+ loading: { type: Boolean },
3782
+ aborted: { type: Boolean },
3783
+ placement: { default: "start" },
3784
+ avatar: {},
3785
+ shape: { default: "corner" },
3786
+ contentRenderer: {},
3787
+ customContentField: {},
3788
+ abortedText: { default: "(用户停止)" },
3789
+ maxWidth: {}
3790
+ },
3791
+ setup(u) {
3792
+ const e = u, t = gn(), n = J(() => {
3793
+ const f = e.contentRenderer;
3794
+ return f ? typeof f == "function" ? { isComponent: !1, vNodeOrComponent: f(e) } : f instanceof a0 ? { isComponent: !1, vNodeOrComponent: f.render(e) } : { isComponent: !0, vNodeOrComponent: f } : null;
3795
+ }), r = kn(), o = J(() => {
3796
+ if (!e.customContentField)
3797
+ return null;
3798
+ const f = r[e.customContentField];
3799
+ return typeof f == "string" || Array.isArray(f) && f.length > 0 ? f : null;
3800
+ }), i = J(() => o.value || e.content), c = J(() => Array.isArray(i.value) ? "" : i.value), a = J(() => Array.isArray(i.value) ? i.value : []), s = J(() => e.placement === "start"), d = J(() => e.maxWidth ? {
3801
+ "--max-width": yn(e.maxWidth)
3802
+ } : {});
3803
+ return (f, _) => (S(), $("div", {
3804
+ class: Eu([
3805
+ "tr-bubble",
3806
+ {
3807
+ "placement-start": s.value,
3808
+ "placement-end": !s.value
3809
+ }
3810
+ ]),
3811
+ style: En(d.value)
3812
+ }, [
3813
+ e.avatar ? (S(), $("div", hi, [
3814
+ (S(), eu(mu(e.avatar)))
3815
+ ])) : Xu("", !0),
3816
+ e.loading ? ge(f.$slots, "loading", {
3817
+ key: 1,
3818
+ bubbleProps: e
3819
+ }, () => [
3820
+ Y("div", {
3821
+ class: Eu(["tr-bubble__content", { "border-corner": e.shape === "corner" }])
3822
+ }, [..._[0] || (_[0] = [
3823
+ Y("img", {
3824
+ src: Dn,
3825
+ alt: "loading",
3826
+ class: "tr-bubble__loading"
3827
+ }, null, -1)
3828
+ ])], 2)
3829
+ ], !0) : (S(), $("div", {
3830
+ key: 2,
3831
+ class: Eu(["tr-bubble__content", { "border-corner": e.shape === "corner" }])
3832
+ }, [
3833
+ a.value.length ? (S(), $("div", pi, [
3834
+ (S(!0), $(u0, null, ke(a.value, (p, h) => (S(), eu(i0(rr), {
3835
+ key: h,
3836
+ item: p
3837
+ }, null, 8, ["item"]))), 128))
3838
+ ])) : ge(f.$slots, "default", {
3839
+ key: 1,
3840
+ bubbleProps: e
3841
+ }, () => [
3842
+ n.value ? (S(), $(u0, { key: 0 }, [
3843
+ n.value.isComponent ? (S(), eu(mu(n.value.vNodeOrComponent), Ae(Ju({ key: 0 }, e)), null, 16)) : (S(), eu(mu(n.value.vNodeOrComponent), { key: 1 }))
3844
+ ], 64)) : (S(), $("span", bi, Au(c.value), 1))
3845
+ ], !0),
3846
+ e.aborted ? (S(), $("span", _i, Au(e.abortedText), 1)) : Xu("", !0),
3847
+ t.footer ? (S(), $("div", mi, [
3848
+ ge(f.$slots, "footer", { bubbleProps: e }, void 0, !0)
3849
+ ])) : Xu("", !0)
3850
+ ], 2))
3851
+ ], 6));
3852
+ }
3853
+ }), Cu = /* @__PURE__ */ re(xi, [["__scopeId", "data-v-4128f94e"]]), gi = /* @__PURE__ */ Du({
3854
+ __name: "BubbleList",
3855
+ props: {
3856
+ items: {},
3857
+ roles: {},
3858
+ loading: { type: Boolean },
3859
+ loadingRole: {},
3860
+ autoScroll: { type: Boolean }
3861
+ },
3862
+ setup(u) {
3863
+ const e = u, t = c0(null), { y: n } = Rn(t, {
3864
+ behavior: "smooth",
3865
+ throttle: 100
3866
+ }), r = J(() => e.items.at(-1));
3867
+ An(
3868
+ [() => e.items.length, () => {
3869
+ var c;
3870
+ return (c = r.value) == null ? void 0 : c.content;
3871
+ }],
3872
+ () => {
3873
+ !e.autoScroll || !t.value || (n.value = t.value.scrollHeight);
3874
+ },
3875
+ { deep: !0 }
3876
+ );
3877
+ const o = J(() => e.items.map((c) => {
3878
+ var h;
3879
+ const a = c.role ? ((h = e.roles) == null ? void 0 : h[c.role]) || {} : {};
3880
+ if (a.hidden)
3881
+ return null;
3882
+ const { slots: s, hidden: d, ...f } = a, { slots: _, ...p } = c;
3883
+ return {
3884
+ id: c.id,
3885
+ props: { ...f, ...p, "data-role": c.role },
3886
+ slots: { ...s, ..._ }
3887
+ };
3888
+ }).filter((c) => !!c)), i = J(() => {
3889
+ var s;
3890
+ if (!(e.loading && e.loadingRole && ((s = e.roles) != null && s[e.loadingRole])))
3891
+ return null;
3892
+ const { slots: c, ...a } = e.roles[e.loadingRole];
3893
+ return { props: { ...a, loading: !0 }, slots: c };
3894
+ });
3895
+ return (c, a) => (S(), $("div", {
3896
+ class: "tr-bubble-list",
3897
+ ref_key: "scrollContainerRef",
3898
+ ref: t
3899
+ }, [
3900
+ (S(!0), $(u0, null, ke(o.value, (s, d) => (S(), eu(Cu, Ju({
3901
+ key: s.id || d
3902
+ }, { ref_for: !0 }, s.props), G0({ _: 2 }, [
3903
+ ke(s.slots, (f, _) => ({
3904
+ name: _,
3905
+ fn: W0((p) => [
3906
+ (S(), eu(mu(f), Ju({ ref_for: !0 }, p), null, 16))
3907
+ ])
3908
+ }))
3909
+ ]), 1040))), 128)),
3910
+ i.value ? (S(), eu(Cu, Ae(Ju({ key: 0 }, i.value.props)), G0({ _: 2 }, [
3911
+ ke(i.value.slots, (s, d) => ({
3912
+ name: d,
3913
+ fn: W0((f) => [
3914
+ (S(), eu(mu(s), Ae(Cn(f)), null, 16))
3915
+ ])
3916
+ }))
3917
+ ]), 1040)) : Xu("", !0)
3918
+ ], 512));
3919
+ }
3920
+ }), te = /* @__PURE__ */ re(gi, [["__scopeId", "data-v-640b5a6f"]]), ne = /* @__PURE__ */ Du({
3956
3921
  __name: "BubbleProvider",
3957
3922
  props: {
3958
- messageRenderers: { default: () => ({}) }
3923
+ contentRenderers: { default: () => ({}) }
3959
3924
  },
3960
3925
  setup(u) {
3961
3926
  const e = u, t = /* @__PURE__ */ new Map();
3962
- for (const [n, r] of yt.entries())
3927
+ for (const [n, r] of Ct.entries())
3963
3928
  t.set(n, r);
3964
- for (const [n, r] of Object.entries(e.messageRenderers))
3929
+ for (const [n, r] of Object.entries(e.contentRenderers))
3965
3930
  t.set(n, r);
3966
- return V0(Ft, t), V0(Tt, l0), (n, r) => Ce(n.$slots, "default");
3931
+ return Z0(Dt, t), Z0(yt, s0), (n, r) => ge(n.$slots, "default");
3967
3932
  }
3968
3933
  });
3969
- Du.name = "TrBubble";
3970
- const Ti = function(u) {
3971
- u.component(Du.name, Du);
3972
- };
3973
- Du.install = Ti;
3974
- const zi = Du;
3975
- ne.name = "TrBubbleList";
3976
- const Si = function(u) {
3934
+ Cu.name = "TrBubble";
3935
+ const ki = function(u) {
3936
+ u.component(Cu.name, Cu);
3937
+ };
3938
+ Cu.install = ki;
3939
+ const Ri = Cu;
3940
+ te.name = "TrBubbleList";
3941
+ const Ei = function(u) {
3942
+ u.component(te.name, te);
3943
+ };
3944
+ te.install = Ei;
3945
+ const Ii = te;
3946
+ ne.name = "TrBubbleProvider";
3947
+ const Ai = function(u) {
3977
3948
  u.component(ne.name, ne);
3978
3949
  };
3979
- ne.install = Si;
3980
- const qi = ne;
3981
- ae.name = "TrBubbleProvider";
3982
- const wi = function(u) {
3983
- u.component(ae.name, ae);
3984
- };
3985
- ae.install = wi;
3986
- const Ui = ae;
3950
+ ne.install = Ai;
3951
+ const Mi = ne;
3987
3952
  export {
3988
- zi as Bubble,
3989
- Pi as BubbleChainMessageRenderer,
3990
- qi as BubbleList,
3991
- Bi as BubbleMarkdownMessageRenderer,
3992
- s0 as BubbleMessageClassRenderer,
3993
- Ui as BubbleProvider
3953
+ Ri as Bubble,
3954
+ a0 as BubbleContentClassRenderer,
3955
+ Ii as BubbleList,
3956
+ vi as BubbleMarkdownContentRenderer,
3957
+ Mi as BubbleProvider
3994
3958
  };