@opentiny/tiny-robot 0.3.0-alpha.3 → 0.3.0-alpha.5

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,865 +1,13 @@
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 Ct, vShow as At, computed as Ou, useCssModule as mn, createCommentVNode as Nu, createTextVNode as xn, inject as j0, useAttrs as gn, createBlock as ru, resolveDynamicComponent as Au, mergeProps as Pu, useCssVars as kn, useSlots as En, renderSlot as Ae, Fragment as te, renderList as ue, normalizeProps as n0, watch as Cn, createSlots as G0, withCtx as W0, guardReactiveProps as An, h as Z0, provide as V0 } from "vue";
5
- import { _ as Dn } from "../loading.js";
6
- import { t as yn } from "../utils.js";
7
- import { l as Dt, M as Fn, n as Tn, z 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 {
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({
13
- __name: "collapsible-text",
14
- props: {
15
- title: {},
16
- content: {}
17
- },
18
- 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 }]),
25
- onClick: r[0] || (r[0] = (c) => t.value = !t.value)
26
- }, null, 8, ["class"])
27
- ]),
28
- I("div", Mn, [
29
- Ct(I("div", { class: "tr-bubble__step-text-content" }, xu(e.content), 513), [
30
- [At, !t.value]
31
- ])
32
- ])
33
- ]));
34
- }
35
- }), Ln = /* @__PURE__ */ Uu(In, [["__scopeId", "data-v-08a61852"]]), On = Ln, Nn = { class: "tr-bubble__text" }, Pn = /* @__PURE__ */ ku({
36
- __name: "text",
37
- props: {
38
- content: {}
39
- },
40
- setup(u) {
41
- const e = u;
42
- return (t, n) => (T(), M("span", Nn, xu(e.content), 1));
43
- }
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
- key: 0,
46
- class: "tr-bubble__step-tool-params"
47
- }, Wn = ["innerHTML"], Zn = /* @__PURE__ */ ku({
48
- __name: "tool",
49
- props: {
50
- name: {},
51
- status: {},
52
- params: {},
53
- formatPretty: { type: Boolean }
54
- },
55
- setup(u) {
56
- const e = u, t = Se(!1), n = Ou(() => e.status === "running" ? "正在调用" : e.status === "success" ? "已调用" : e.status === "failed" ? "调用失败" : "已取消"), r = mn(), c = (i) => {
57
- if (!i)
58
- return "";
59
- let o = "";
60
- const a = e.formatPretty ? 2 : 0;
61
- try {
62
- typeof i == "string" ? o = JSON.stringify(JSON.parse(i), null, a) : o = JSON.stringify(i, null, a);
63
- } catch (s) {
64
- console.warn(s);
65
- }
66
- return o = o.replace(
67
- /("(\\u[a-zA-Z0-9]{4}|\\[^u]|[^\\"])*"(\s*:)?|\b(true|false|null)\b|-?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)/g,
68
- (s) => {
69
- 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>`;
71
- }
72
- ), o;
73
- };
74
- return (i, o) => (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
- ])
82
- ]),
83
- I("div", jn, [
84
- ee(uu(Tn), {
85
- class: mu(["expand-icon", { "-rotate-90": t.value }]),
86
- onClick: o[0] || (o[0] = (a) => t.value = !t.value)
87
- }, null, 8, ["class"])
88
- ])
89
- ]),
90
- t.value ? Nu("", !0) : (T(), M("div", Gn, [
91
- o[1] || (o[1] = I("hr", { class: "tr-bubble__step-tool-hr" }, null, -1)),
92
- I("div", {
93
- class: "tr-bubble__step-tool-params-content",
94
- innerHTML: c(e.params)
95
- }, null, 8, Wn)
96
- ]))
97
- ]));
98
- }
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(), c = (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: o, defaultProps: a } = c(n.type);
122
- return (s, f) => uu(i) ? (T(), ru(Au(uu(o)), Pu({ key: 0 }, { ...uu(a), ...n, ...uu(r) }, {
123
- "data-type": n.type
124
- }), null, 16, ["data-type"])) : (T(), ru(Au(uu(o)), {
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" }, cr = {
133
- key: 0,
134
- class: "tr-bubble__content-messages"
135
- }, or = {
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",
146
- 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%" }
159
- },
160
- 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), c = Ou(() => e.placement === "start");
168
- return (i, o) => {
169
- var a;
170
- return T(), M("div", {
171
- class: mu([
172
- "tr-bubble",
173
- {
174
- "placement-start": c.value,
175
- "placement-end": !c.value
176
- }
177
- ])
178
- }, [
179
- e.avatar ? (T(), M("div", nr, [
180
- (T(), ru(Au(e.avatar)))
181
- ])) : Nu("", !0),
182
- I("div", rr, [
183
- e.loading ? Ae(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
- }, o[0] || (o[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", cr, [
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
- ])) : Ae(i.$slots, "default", {
203
- key: 1,
204
- bubbleProps: e
205
- }, () => [
206
- n.value ? (T(), M(te, { key: 0 }, [
207
- n.value.isComponent ? (T(), ru(Au(n.value.vNodeOrComponent), n0(Pu({ key: 0 }, { ...n.value.defaultProps, ...e })), null, 16)) : (T(), ru(Au(n.value.vNodeOrComponent), { key: 1 }))
208
- ], 64)) : (T(), M("span", or, xu(r.value), 1))
209
- ], !0),
210
- e.aborted ? (T(), M("span", ir, "(用户停止)")) : Nu("", !0),
211
- t.footer ? (T(), M("div", ar, [
212
- Ae(i.$slots, "footer", { bubbleProps: e }, void 0, !0)
213
- ])) : Nu("", !0)
214
- ], 2))
215
- ])
216
- ], 2);
217
- };
218
- }
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
- Cn([() => 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 c = (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
- }, o = 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
- }, c(f)), G0({ _: 2 }, [
265
- ue(i(f), (_, h) => ({
266
- name: h,
267
- fn: W0((p) => [
268
- (T(), ru(Au(_), Pu({ ref_for: !0 }, p), null, 16))
269
- ])
270
- }))
271
- ]), 1040))
272
- ], 64))), 128)),
273
- o.value ? (T(), ru(Du, n0(Pu({ key: 0 }, o.value.props)), G0({ _: 2 }, [
274
- ue(o.value.slots, (f, d) => ({
275
- name: d,
276
- fn: W0((_) => [
277
- (T(), ru(Au(f), n0(An(_)), null, 16))
278
- ])
279
- }))
280
- ]), 1040)) : Nu("", !0)
281
- ], 512));
282
- }
283
- }), ne = /* @__PURE__ */ Uu(lr, [["__scopeId", "data-v-24c3a7d6"]]), fr = { class: "tr-chain-item__header" }, dr = { class: "tr-chain-item__icon" }, pr = { class: "tr-chain-item__title" }, hr = { class: "tr-chain-item__body" }, br = ["innerHTML"], _r = /* @__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 = (c) => {
293
- t.value[c] = !t.value[c];
294
- }, r = (c) => e.contentRenderer ? e.contentRenderer(c) : c;
295
- return (c, i) => (T(), M("div", {
296
- class: "tr-chain-list",
297
- key: e.items.length
298
- }, [
299
- (T(!0), M(te, null, ue(e.items, (o, a) => (T(), M("div", {
300
- class: "tr-chain-item",
301
- key: o.content
302
- }, [
303
- I("div", fr, [
304
- I("div", dr, [
305
- ee(uu(Sn))
306
- ]),
307
- I("div", pr, xu(o.title), 1),
308
- ee(uu(Dt), {
309
- class: mu(["expand-icon", { "rotate-180": t.value[a] }]),
310
- onClick: (s) => n(a)
311
- }, null, 8, ["class", "onClick"])
312
- ]),
313
- Ct(I("div", hr, [
314
- i[0] || (i[0] = I("div", { class: "tr-chain-item__chain-line-wrapper" }, [
315
- I("div", { class: "tr-chain-item__chain-line" })
316
- ], -1)),
317
- e.html ? (T(), M("div", {
318
- key: 1,
319
- class: mu(["tr-chain-item__content", e.contentClass]),
320
- innerHTML: r(o.content)
321
- }, null, 10, br)) : (T(), M("div", {
322
- key: 0,
323
- class: mu(["tr-chain-item__content", e.contentClass])
324
- }, xu(r(o.content)), 3))
325
- ], 512), [
326
- [At, !t.value[a]]
327
- ])
328
- ]))), 128))
329
- ]));
330
- }
331
- }), mr = /* @__PURE__ */ Uu(_r, [["__scopeId", "data-v-145547c7"]]), Ni = mr;
332
- /*! @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 */
333
- const {
334
- entries: St,
335
- setPrototypeOf: Y0,
336
- isFrozen: xr,
337
- getPrototypeOf: gr,
338
- getOwnPropertyDescriptor: kr
339
- } = Object;
340
- let {
341
- freeze: G,
342
- seal: J,
343
- create: wt
344
- } = Object, {
345
- apply: r0,
346
- construct: c0
347
- } = typeof Reflect < "u" && Reflect;
348
- G || (G = function(e) {
349
- return e;
350
- });
351
- J || (J = function(e) {
352
- return e;
353
- });
354
- r0 || (r0 = function(e, t, n) {
355
- return e.apply(t, n);
356
- });
357
- c0 || (c0 = function(e, t) {
358
- return new e(...t);
359
- });
360
- const ge = W(Array.prototype.forEach), Er = 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), Ar = W(String.prototype.indexOf), Dr = W(String.prototype.trim), K = W(Object.prototype.hasOwnProperty), j = W(RegExp.prototype.test), Ju = yr(TypeError);
361
- function W(u) {
362
- return function(e) {
363
- e instanceof RegExp && (e.lastIndex = 0);
364
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
365
- n[r - 1] = arguments[r];
366
- return r0(u, e, n);
367
- };
368
- }
369
- function yr(u) {
370
- return function() {
371
- for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
372
- t[n] = arguments[n];
373
- return c0(u, t);
374
- };
375
- }
376
- function F(u, e) {
377
- let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : De;
378
- Y0 && Y0(u, null);
379
- let n = e.length;
380
- for (; n--; ) {
381
- let r = e[n];
382
- if (typeof r == "string") {
383
- const c = t(r);
384
- c !== r && (xr(e) || (e[n] = c), r = c);
385
- }
386
- u[r] = !0;
387
- }
388
- return u;
389
- }
390
- function Fr(u) {
391
- for (let e = 0; e < u.length; e++)
392
- K(u, e) || (u[e] = null);
393
- return u;
394
- }
395
- function du(u) {
396
- const e = wt(null);
397
- for (const [t, n] of St(u))
398
- K(u, t) && (Array.isArray(n) ? e[t] = Fr(n) : n && typeof n == "object" && n.constructor === Object ? e[t] = du(n) : e[t] = n);
399
- return e;
400
- }
401
- function Qu(u, e) {
402
- for (; u !== null; ) {
403
- const n = kr(u, e);
404
- if (n) {
405
- if (n.get)
406
- return W(n.get);
407
- if (typeof n.value == "function")
408
- return W(n.value);
409
- }
410
- u = gr(u);
411
- }
412
- function t() {
413
- return null;
414
- }
415
- return t;
416
- }
417
- 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"]), Tr = 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"]), Sr = 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"]), wr = J(/\{\{[\w\W]*|[\w\W]*\}\}/gm), vr = J(/<%[\w\W]*|[\w\W]*%>/gm), Rr = J(/\$\{[\w\W]*/gm), Mr = J(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ir = J(/^aria-[\-\w]+$/), vt = J(
418
- /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
419
- // eslint-disable-line no-useless-escape
420
- ), Lr = J(/^(?:\w+script|data):/i), Or = J(
421
- /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
422
- // eslint-disable-line no-control-regex
423
- ), Rt = J(/^html$/i), Nr = J(/^[a-z][.\w]*(-[.\w]+)+$/i);
424
- var tt = /* @__PURE__ */ Object.freeze({
425
- __proto__: null,
426
- ARIA_ATTR: Ir,
427
- ATTR_WHITESPACE: Or,
428
- CUSTOM_ELEMENT: Nr,
429
- DATA_ATTR: Mr,
430
- DOCTYPE_NAME: Rt,
431
- ERB_EXPR: vr,
432
- IS_ALLOWED_URI: vt,
433
- IS_SCRIPT_OR_DATA: Lr,
434
- MUSTACHE_EXPR: wr,
435
- TMPLIT_EXPR: Rr
436
- });
437
- const Ku = {
438
- element: 1,
439
- text: 3,
440
- // Deprecated
441
- progressingInstruction: 7,
442
- comment: 8,
443
- document: 9
444
- }, Pr = function() {
445
- return typeof window > "u" ? null : window;
446
- }, Br = function(e, t) {
447
- if (typeof e != "object" || typeof e.createPolicy != "function")
448
- return null;
449
- let n = null;
450
- const r = "data-tt-policy-suffix";
451
- t && t.hasAttribute(r) && (n = t.getAttribute(r));
452
- const c = "dompurify" + (n ? "#" + n : "");
453
- try {
454
- return e.createPolicy(c, {
455
- createHTML(i) {
456
- return i;
457
- },
458
- createScriptURL(i) {
459
- return i;
460
- }
461
- });
462
- } catch {
463
- return console.warn("TrustedTypes policy " + c + " could not be created."), null;
464
- }
465
- }, nt = function() {
466
- return {
467
- afterSanitizeAttributes: [],
468
- afterSanitizeElements: [],
469
- afterSanitizeShadowDOM: [],
470
- beforeSanitizeAttributes: [],
471
- beforeSanitizeElements: [],
472
- beforeSanitizeShadowDOM: [],
473
- uponSanitizeAttribute: [],
474
- uponSanitizeElement: [],
475
- uponSanitizeShadowNode: []
476
- };
477
- };
478
- function Mt() {
479
- let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Pr();
480
- const e = (g) => Mt(g);
481
- if (e.version = "3.2.6", e.removed = [], !u || !u.document || u.document.nodeType !== Ku.document || !u.Element)
482
- return e.isSupported = !1, e;
483
- let {
484
- document: t
485
- } = u;
486
- const n = t, r = n.currentScript, {
487
- DocumentFragment: c,
488
- HTMLTemplateElement: i,
489
- Node: o,
490
- Element: a,
491
- NodeFilter: s,
492
- NamedNodeMap: f = u.NamedNodeMap || u.MozNamedAttrMap,
493
- HTMLFormElement: d,
494
- DOMParser: _,
495
- trustedTypes: h
496
- } = u, p = a.prototype, A = Qu(p, "cloneNode"), D = Qu(p, "remove"), S = Qu(p, "nextSibling"), E = Qu(p, "childNodes"), k = Qu(p, "parentNode");
497
- if (typeof i == "function") {
498
- const g = t.createElement("template");
499
- g.content && g.content.ownerDocument && (t = g.content.ownerDocument);
500
- }
501
- let m, C = "";
502
- const {
503
- implementation: y,
504
- createNodeIterator: L,
505
- createDocumentFragment: Y,
506
- getElementsByTagName: tu
507
- } = t, {
508
- importNode: Eu
509
- } = n;
510
- let O = nt();
511
- e.isSupported = typeof St == "function" && typeof k == "function" && y && y.createHTMLDocument !== void 0;
512
- const {
513
- MUSTACHE_EXPR: $u,
514
- ERB_EXPR: ju,
515
- TMPLIT_EXPR: yu,
516
- DATA_ATTR: pu,
517
- ARIA_ATTR: Ie,
518
- IS_SCRIPT_OR_DATA: rn,
519
- ATTR_WHITESPACE: g0,
520
- CUSTOM_ELEMENT: cn
521
- } = tt;
522
- let {
523
- IS_ALLOWED_URI: k0
524
- } = tt, P = null;
525
- const E0 = F({}, [...Q0, ...We, ...Ze, ...Ve, ...K0]);
526
- let U = null;
527
- const C0 = F({}, [...ut, ...Ye, ...et, ...ke]);
528
- let R = Object.seal(wt(null, {
529
- tagNameCheck: {
530
- writable: !0,
531
- configurable: !1,
532
- enumerable: !0,
533
- value: null
534
- },
535
- attributeNameCheck: {
536
- writable: !0,
537
- configurable: !1,
538
- enumerable: !0,
539
- value: null
540
- },
541
- allowCustomizedBuiltInElements: {
542
- writable: !0,
543
- configurable: !1,
544
- enumerable: !0,
545
- value: !1
546
- }
547
- })), Gu = null, Le = null, A0 = !0, Oe = !0, D0 = !1, y0 = !0, Fu = !1, de = !0, Cu = !1, Ne = !1, Pe = !1, Tu = !1, pe = !1, he = !1, F0 = !0, T0 = !1;
548
- const on = "user-content-";
549
- let Be = !0, Wu = !1, Su = {}, wu = null;
550
- 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"]);
551
- let w0 = null;
552
- const v0 = F({}, ["audio", "video", "img", "source", "image", "track"]);
553
- let ze = null;
554
- 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";
555
- let vu = su, qe = !1, Ue = null;
556
- const an = F({}, [be, _e, su], Ge);
557
- let me = F({}, ["mi", "mo", "mn", "ms", "mtext"]), xe = F({}, ["annotation-xml"]);
558
- const sn = F({}, ["title", "style", "font", "a", "script"]);
559
- let Zu = null;
560
- const ln = ["application/xhtml+xml", "text/html"], fn = "text/html";
561
- let B = null, Ru = null;
562
- const dn = t.createElement("form"), M0 = function(l) {
563
- return l instanceof RegExp || l instanceof Function;
564
- }, He = function() {
565
- let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
566
- if (!(Ru && Ru === l)) {
567
- if ((!l || typeof l != "object") && (l = {}), l = du(l), Zu = // eslint-disable-next-line unicorn/prefer-includes
568
- 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) : C0, 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, A0 = 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, Cu = 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 === C0 && (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), Cu && F(P, ["html", "head", "body"]), P.table && (F(P, ["tbody"]), delete Gu.tbody), l.TRUSTED_TYPES_POLICY) {
569
- if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
570
- throw Ju('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
571
- if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
572
- throw Ju('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
573
- m = l.TRUSTED_TYPES_POLICY, C = m.createHTML("");
574
- } else
575
- m === void 0 && (m = Br(h, r)), m !== null && typeof C == "string" && (C = m.createHTML(""));
576
- G && G(l), Ru = l;
577
- }
578
- }, I0 = F({}, [...We, ...Ze, ...Tr]), L0 = F({}, [...Ve, ...Sr]), pn = function(l) {
579
- let b = k(l);
580
- (!b || !b.tagName) && (b = {
581
- namespaceURI: vu,
582
- tagName: "template"
583
- });
584
- const x = De(l.tagName), v = De(b.tagName);
585
- 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;
586
- }, nu = function(l) {
587
- Yu(e.removed, {
588
- element: l
589
- });
590
- try {
591
- k(l).removeChild(l);
592
- } catch {
593
- D(l);
594
- }
595
- }, Mu = function(l, b) {
596
- try {
597
- Yu(e.removed, {
598
- attribute: b.getAttributeNode(l),
599
- from: b
600
- });
601
- } catch {
602
- Yu(e.removed, {
603
- attribute: null,
604
- from: b
605
- });
606
- }
607
- if (b.removeAttribute(l), l === "is")
608
- if (Tu || pe)
609
- try {
610
- nu(b);
611
- } catch {
612
- }
613
- else
614
- try {
615
- b.setAttribute(l, "");
616
- } catch {
617
- }
618
- }, O0 = function(l) {
619
- let b = null, x = null;
620
- if (Pe)
621
- l = "<remove></remove>" + l;
622
- else {
623
- const N = J0(l, /^[\r\n\t ]+/);
624
- x = N && N[0];
625
- }
626
- Zu === "application/xhtml+xml" && vu === su && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
627
- const v = m ? m.createHTML(l) : l;
628
- if (vu === su)
629
- try {
630
- b = new _().parseFromString(v, Zu);
631
- } catch {
632
- }
633
- if (!b || !b.documentElement) {
634
- b = y.createDocument(vu, "template", null);
635
- try {
636
- b.documentElement.innerHTML = qe ? C : v;
637
- } catch {
638
- }
639
- }
640
- const H = b.body || b.documentElement;
641
- return l && x && H.insertBefore(t.createTextNode(x), H.childNodes[0] || null), vu === su ? tu.call(b, Cu ? "html" : "body")[0] : Cu ? b.documentElement : H;
642
- }, N0 = function(l) {
643
- return L.call(
644
- l.ownerDocument || l,
645
- l,
646
- // eslint-disable-next-line no-bitwise
647
- s.SHOW_ELEMENT | s.SHOW_COMMENT | s.SHOW_TEXT | s.SHOW_PROCESSING_INSTRUCTION | s.SHOW_CDATA_SECTION,
648
- null
649
- );
650
- }, $e = function(l) {
651
- 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");
652
- }, P0 = function(l) {
653
- return typeof o == "function" && l instanceof o;
654
- };
655
- function lu(g, l, b) {
656
- ge(g, (x) => {
657
- x.call(e, l, b, Ru);
658
- });
659
- }
660
- const B0 = function(l) {
661
- let b = null;
662
- if (lu(O.beforeSanitizeElements, l, null), $e(l))
663
- return nu(l), !0;
664
- const x = B(l.nodeName);
665
- if (lu(O.uponSanitizeElement, l, {
666
- tagName: x,
667
- allowedTags: P
668
- }), 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))
669
- return nu(l), !0;
670
- if (!P[x] || Gu[x]) {
671
- if (!Gu[x] && q0(x) && (R.tagNameCheck instanceof RegExp && j(R.tagNameCheck, x) || R.tagNameCheck instanceof Function && R.tagNameCheck(x)))
672
- return !1;
673
- if (Be && !wu[x]) {
674
- const v = k(l) || l.parentNode, H = E(l) || l.childNodes;
675
- if (H && v) {
676
- const N = H.length;
677
- for (let Z = N - 1; Z >= 0; --Z) {
678
- const fu = A(H[Z], !0);
679
- fu.__removalCount = (l.__removalCount || 0) + 1, v.insertBefore(fu, S(l));
680
- }
681
- }
682
- }
683
- return nu(l), !0;
684
- }
685
- 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) => {
686
- b = Xu(b, v, " ");
687
- }), l.textContent !== b && (Yu(e.removed, {
688
- element: l.cloneNode()
689
- }), l.textContent = b)), lu(O.afterSanitizeElements, l, null), !1);
690
- }, z0 = function(l, b, x) {
691
- if (F0 && (b === "id" || b === "name") && (x in t || x in dn))
692
- return !1;
693
- if (!(Oe && !Le[b] && j(pu, b))) {
694
- if (!(A0 && j(Ie, b))) {
695
- if (!U[b] || Le[b]) {
696
- if (
697
- // First condition does a very basic check if a) it's basically a valid custom element tagname AND
698
- // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
699
- // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
700
- !(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
701
- // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
702
- b === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && j(R.tagNameCheck, x) || R.tagNameCheck instanceof Function && R.tagNameCheck(x)))
703
- ) return !1;
704
- } else if (!ze[b]) {
705
- if (!j(k0, Xu(x, g0, ""))) {
706
- if (!((b === "src" || b === "xlink:href" || b === "href") && l !== "script" && Ar(x, "data:") === 0 && w0[l])) {
707
- if (!(D0 && !j(rn, Xu(x, g0, "")))) {
708
- if (x)
709
- return !1;
710
- }
711
- }
712
- }
713
- }
714
- }
715
- }
716
- return !0;
717
- }, q0 = function(l) {
718
- return l !== "annotation-xml" && J0(l, cn);
719
- }, U0 = function(l) {
720
- lu(O.beforeSanitizeAttributes, l, null);
721
- const {
722
- attributes: b
723
- } = l;
724
- if (!b || $e(l))
725
- return;
726
- const x = {
727
- attrName: "",
728
- attrValue: "",
729
- keepAttr: !0,
730
- allowedAttributes: U,
731
- forceKeepAttr: void 0
732
- };
733
- let v = b.length;
734
- for (; v--; ) {
735
- const H = b[v], {
736
- name: N,
737
- namespaceURI: Z,
738
- value: fu
739
- } = H, Vu = B(N), je = fu;
740
- let $ = N === "value" ? je : Dr(je);
741
- 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), $ = on + $), de && j(/((--!?|])>)|<\/(style|title)/i, $)) {
742
- Mu(N, l);
743
- continue;
744
- }
745
- if (x.forceKeepAttr)
746
- continue;
747
- if (!x.keepAttr) {
748
- Mu(N, l);
749
- continue;
750
- }
751
- if (!y0 && j(/\/>/i, $)) {
752
- Mu(N, l);
753
- continue;
754
- }
755
- Fu && ge([$u, ju, yu], ($0) => {
756
- $ = Xu($, $0, " ");
757
- });
758
- const H0 = B(l.nodeName);
759
- if (!z0(H0, Vu, $)) {
760
- Mu(N, l);
761
- continue;
762
- }
763
- if (m && typeof h == "object" && typeof h.getAttributeType == "function" && !Z)
764
- switch (h.getAttributeType(H0, Vu)) {
765
- case "TrustedHTML": {
766
- $ = m.createHTML($);
767
- break;
768
- }
769
- case "TrustedScriptURL": {
770
- $ = m.createScriptURL($);
771
- break;
772
- }
773
- }
774
- if ($ !== je)
775
- try {
776
- Z ? l.setAttributeNS(Z, N, $) : l.setAttribute(N, $), $e(l) ? nu(l) : X0(e.removed);
777
- } catch {
778
- Mu(N, l);
779
- }
780
- }
781
- lu(O.afterSanitizeAttributes, l, null);
782
- }, hn = function g(l) {
783
- let b = null;
784
- const x = N0(l);
785
- for (lu(O.beforeSanitizeShadowDOM, l, null); b = x.nextNode(); )
786
- lu(O.uponSanitizeShadowNode, b, null), B0(b), U0(b), b.content instanceof c && g(b.content);
787
- lu(O.afterSanitizeShadowDOM, l, null);
788
- };
789
- return e.sanitize = function(g) {
790
- let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, b = null, x = null, v = null, H = null;
791
- if (qe = !g, qe && (g = "<!-->"), typeof g != "string" && !P0(g))
792
- if (typeof g.toString == "function") {
793
- if (g = g.toString(), typeof g != "string")
794
- throw Ju("dirty is not a string, aborting");
795
- } else
796
- throw Ju("toString is not a function");
797
- if (!e.isSupported)
798
- return g;
799
- if (Ne || He(l), e.removed = [], typeof g == "string" && (Wu = !1), Wu) {
800
- if (g.nodeName) {
801
- const fu = B(g.nodeName);
802
- if (!P[fu] || Gu[fu])
803
- throw Ju("root node is forbidden and cannot be sanitized in-place");
804
- }
805
- } else if (g instanceof o)
806
- b = O0("<!---->"), x = b.ownerDocument.importNode(g, !0), x.nodeType === Ku.element && x.nodeName === "BODY" || x.nodeName === "HTML" ? b = x : b.appendChild(x);
807
- else {
808
- if (!Tu && !Fu && !Cu && // eslint-disable-next-line unicorn/prefer-includes
809
- g.indexOf("<") === -1)
810
- return m && he ? m.createHTML(g) : g;
811
- if (b = O0(g), !b)
812
- return Tu ? null : he ? C : "";
813
- }
814
- b && Pe && nu(b.firstChild);
815
- const N = N0(Wu ? g : b);
816
- for (; v = N.nextNode(); )
817
- B0(v), U0(v), v.content instanceof c && hn(v.content);
818
- if (Wu)
819
- return g;
820
- if (Tu) {
821
- if (pe)
822
- for (H = Y.call(b.ownerDocument); b.firstChild; )
823
- H.appendChild(b.firstChild);
824
- else
825
- H = b;
826
- return (U.shadowroot || U.shadowrootmode) && (H = Eu.call(n, H, !0)), H;
827
- }
828
- let Z = Cu ? b.outerHTML : b.innerHTML;
829
- return Cu && P["!doctype"] && b.ownerDocument && b.ownerDocument.doctype && b.ownerDocument.doctype.name && j(Rt, b.ownerDocument.doctype.name) && (Z = "<!DOCTYPE " + b.ownerDocument.doctype.name + `>
830
- ` + Z), Fu && ge([$u, ju, yu], (fu) => {
831
- Z = Xu(Z, fu, " ");
832
- }), m && he ? m.createHTML(Z) : Z;
833
- }, e.setConfig = function() {
834
- let g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
835
- He(g), Ne = !0;
836
- }, e.clearConfig = function() {
837
- Ru = null, Ne = !1;
838
- }, e.isValidAttribute = function(g, l, b) {
839
- Ru || He({});
840
- const x = B(g), v = B(l);
841
- return z0(x, v, b);
842
- }, e.addHook = function(g, l) {
843
- typeof l == "function" && Yu(O[g], l);
844
- }, e.removeHook = function(g, l) {
845
- if (l !== void 0) {
846
- const b = Er(O[g], l);
847
- return b === -1 ? void 0 : Cr(O[g], b, 1)[0];
848
- }
849
- return X0(O[g]);
850
- }, e.removeHooks = function(g) {
851
- O[g] = [];
852
- }, e.removeAllHooks = function() {
853
- O = nt();
854
- }, e;
855
- }
856
- var zr = Mt();
857
- const rt = {};
858
- function qr(u) {
859
- let e = rt[u];
1
+ import { defineComponent as c0, useCssVars as L0, unref as P0, useSlots as O0, computed as au, createElementBlock as L, openBlock as S, normalizeClass as i0, createCommentVNode as _u, createElementVNode as Z, createBlock as yu, resolveDynamicComponent as o0, renderSlot as mu, toDisplayString as N0, ref as $0, watch as j0, Fragment as U0, renderList as Ou, mergeProps as Nu, createSlots as Z0, withCtx as H0 } from "vue";
2
+ import { t as V0 } from "../utils.js";
3
+ import { _ as a0 } from "../_plugin-vue_export-helper.js";
4
+ import { u as G0 } from "../index2.js";
5
+ const $u = {};
6
+ function W0(u) {
7
+ let e = $u[u];
860
8
  if (e)
861
9
  return e;
862
- e = rt[u] = [];
10
+ e = $u[u] = [];
863
11
  for (let t = 0; t < 128; t++) {
864
12
  const n = String.fromCharCode(t);
865
13
  e.push(n);
@@ -870,37 +18,37 @@ function qr(u) {
870
18
  }
871
19
  return e;
872
20
  }
873
- function zu(u, e) {
874
- typeof e != "string" && (e = zu.defaultChars);
875
- const t = qr(e);
21
+ function G(u, e) {
22
+ typeof e != "string" && (e = G.defaultChars);
23
+ const t = W0(e);
876
24
  return u.replace(/(%[a-f0-9]{2})+/gi, function(n) {
877
25
  let r = "";
878
- for (let c = 0, i = n.length; c < i; c += 3) {
879
- const o = parseInt(n.slice(c + 1, c + 3), 16);
880
- if (o < 128) {
881
- r += t[o];
26
+ for (let c = 0, o = n.length; c < o; c += 3) {
27
+ const i = parseInt(n.slice(c + 1, c + 3), 16);
28
+ if (i < 128) {
29
+ r += t[i];
882
30
  continue;
883
31
  }
884
- if ((o & 224) === 192 && c + 3 < i) {
32
+ if ((i & 224) === 192 && c + 3 < o) {
885
33
  const a = parseInt(n.slice(c + 4, c + 6), 16);
886
34
  if ((a & 192) === 128) {
887
- const s = o << 6 & 1984 | a & 63;
35
+ const s = i << 6 & 1984 | a & 63;
888
36
  s < 128 ? r += "��" : r += String.fromCharCode(s), c += 3;
889
37
  continue;
890
38
  }
891
39
  }
892
- if ((o & 240) === 224 && c + 6 < i) {
40
+ if ((i & 240) === 224 && c + 6 < o) {
893
41
  const a = parseInt(n.slice(c + 4, c + 6), 16), s = parseInt(n.slice(c + 7, c + 9), 16);
894
42
  if ((a & 192) === 128 && (s & 192) === 128) {
895
- const f = o << 12 & 61440 | a << 6 & 4032 | s & 63;
43
+ const f = i << 12 & 61440 | a << 6 & 4032 | s & 63;
896
44
  f < 2048 || f >= 55296 && f <= 57343 ? r += "���" : r += String.fromCharCode(f), c += 6;
897
45
  continue;
898
46
  }
899
47
  }
900
- if ((o & 248) === 240 && c + 9 < i) {
48
+ if ((i & 248) === 240 && c + 9 < o) {
901
49
  const a = parseInt(n.slice(c + 4, c + 6), 16), s = parseInt(n.slice(c + 7, c + 9), 16), f = parseInt(n.slice(c + 10, c + 12), 16);
902
50
  if ((a & 192) === 128 && (s & 192) === 128 && (f & 192) === 128) {
903
- let d = o << 18 & 1835008 | a << 12 & 258048 | s << 6 & 4032 | f & 63;
51
+ let d = i << 18 & 1835008 | a << 12 & 258048 | s << 6 & 4032 | f & 63;
904
52
  d < 65536 || d > 1114111 ? r += "����" : (d -= 65536, r += String.fromCharCode(55296 + (d >> 10), 56320 + (d & 1023))), c += 9;
905
53
  continue;
906
54
  }
@@ -910,14 +58,14 @@ function zu(u, e) {
910
58
  return r;
911
59
  });
912
60
  }
913
- zu.defaultChars = ";/?:@&=+$,#";
914
- zu.componentChars = "";
915
- const ct = {};
916
- function Ur(u) {
917
- let e = ct[u];
61
+ G.defaultChars = ";/?:@&=+$,#";
62
+ G.componentChars = "";
63
+ const ju = {};
64
+ function J0(u) {
65
+ let e = ju[u];
918
66
  if (e)
919
67
  return e;
920
- e = ct[u] = [];
68
+ e = ju[u] = [];
921
69
  for (let t = 0; t < 128; t++) {
922
70
  const n = String.fromCharCode(t);
923
71
  /^[0-9a-z]$/i.test(n) ? e.push(n) : e.push("%" + ("0" + t.toString(16).toUpperCase()).slice(-2));
@@ -926,22 +74,22 @@ function Ur(u) {
926
74
  e[u.charCodeAt(t)] = u[t];
927
75
  return e;
928
76
  }
929
- function se(u, e, t) {
930
- typeof e != "string" && (t = e, e = se.defaultChars), typeof t > "u" && (t = !0);
931
- const n = Ur(e);
77
+ function ru(u, e, t) {
78
+ typeof e != "string" && (t = e, e = ru.defaultChars), typeof t > "u" && (t = !0);
79
+ const n = J0(e);
932
80
  let r = "";
933
- for (let c = 0, i = u.length; c < i; c++) {
934
- const o = u.charCodeAt(c);
935
- if (t && o === 37 && c + 2 < i && /^[0-9a-f]{2}$/i.test(u.slice(c + 1, c + 3))) {
81
+ for (let c = 0, o = u.length; c < o; c++) {
82
+ const i = u.charCodeAt(c);
83
+ if (t && i === 37 && c + 2 < o && /^[0-9a-f]{2}$/i.test(u.slice(c + 1, c + 3))) {
936
84
  r += u.slice(c, c + 3), c += 2;
937
85
  continue;
938
86
  }
939
- if (o < 128) {
940
- r += n[o];
87
+ if (i < 128) {
88
+ r += n[i];
941
89
  continue;
942
90
  }
943
- if (o >= 55296 && o <= 57343) {
944
- if (o >= 55296 && o <= 56319 && c + 1 < i) {
91
+ if (i >= 55296 && i <= 57343) {
92
+ if (i >= 55296 && i <= 56319 && c + 1 < o) {
945
93
  const a = u.charCodeAt(c + 1);
946
94
  if (a >= 56320 && a <= 57343) {
947
95
  r += encodeURIComponent(u[c] + u[c + 1]), c++;
@@ -955,20 +103,20 @@ function se(u, e, t) {
955
103
  }
956
104
  return r;
957
105
  }
958
- se.defaultChars = ";/?:@&=+$,-_.!~*'()#";
959
- se.componentChars = "-_.!~*'()";
960
- function f0(u) {
106
+ ru.defaultChars = ";/?:@&=+$,-_.!~*'()#";
107
+ ru.componentChars = "-_.!~*'()";
108
+ function Bu(u) {
961
109
  let e = "";
962
110
  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;
963
111
  }
964
- function ye() {
112
+ function su() {
965
113
  this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
966
114
  }
967
- const Hr = /^([a-z0-9.+-]+:)/i, $r = /:[0-9]*$/, jr = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Gr = ["<", ">", '"', "`", " ", "\r", `
968
- `, " "], Wr = ["{", "}", "|", "\\", "^", "`"].concat(Gr), Zr = ["'"].concat(Wr), ot = ["%", "/", "?", ";", "#"].concat(Zr), it = ["/", "?", "#"], Vr = 255, at = /^[+a-z0-9A-Z_-]{0,63}$/, Yr = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, st = {
115
+ const Q0 = /^([a-z0-9.+-]+:)/i, X0 = /:[0-9]*$/, Y0 = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, K0 = ["<", ">", '"', "`", " ", "\r", `
116
+ `, " "], ue = ["{", "}", "|", "\\", "^", "`"].concat(K0), ee = ["'"].concat(ue), Uu = ["%", "/", "?", ";", "#"].concat(ee), Zu = ["/", "?", "#"], te = 255, Hu = /^[+a-z0-9A-Z_-]{0,63}$/, re = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, Vu = {
969
117
  javascript: !0,
970
118
  "javascript:": !0
971
- }, lt = {
119
+ }, Gu = {
972
120
  http: !0,
973
121
  https: !0,
974
122
  ftp: !0,
@@ -980,81 +128,81 @@ const Hr = /^([a-z0-9.+-]+:)/i, $r = /:[0-9]*$/, jr = /^(\/\/?(?!\/)[^\?\s]*)(\?
980
128
  "gopher:": !0,
981
129
  "file:": !0
982
130
  };
983
- function d0(u, e) {
984
- if (u && u instanceof ye) return u;
985
- const t = new ye();
131
+ function Tu(u, e) {
132
+ if (u && u instanceof su) return u;
133
+ const t = new su();
986
134
  return t.parse(u, e), t;
987
135
  }
988
- ye.prototype.parse = function(u, e) {
136
+ su.prototype.parse = function(u, e) {
989
137
  let t, n, r, c = u;
990
138
  if (c = c.trim(), !e && u.split("#").length === 1) {
991
- const s = jr.exec(c);
139
+ const s = Y0.exec(c);
992
140
  if (s)
993
141
  return this.pathname = s[1], s[2] && (this.search = s[2]), this;
994
142
  }
995
- let i = Hr.exec(c);
996
- if (i && (i = i[0], t = i.toLowerCase(), this.protocol = i, c = c.substr(i.length)), (e || i || c.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = c.substr(0, 2) === "//", r && !(i && st[i]) && (c = c.substr(2), this.slashes = !0)), !st[i] && (r || i && !lt[i])) {
143
+ let o = Q0.exec(c);
144
+ if (o && (o = o[0], t = o.toLowerCase(), this.protocol = o, c = c.substr(o.length)), (e || o || c.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = c.substr(0, 2) === "//", r && !(o && Vu[o]) && (c = c.substr(2), this.slashes = !0)), !Vu[o] && (r || o && !Gu[o])) {
997
145
  let s = -1;
998
- for (let p = 0; p < it.length; p++)
999
- n = c.indexOf(it[p]), n !== -1 && (s === -1 || n < s) && (s = n);
146
+ for (let l = 0; l < Zu.length; l++)
147
+ n = c.indexOf(Zu[l]), n !== -1 && (s === -1 || n < s) && (s = n);
1000
148
  let f, d;
1001
149
  s === -1 ? d = c.lastIndexOf("@") : d = c.lastIndexOf("@", s), d !== -1 && (f = c.slice(0, d), c = c.slice(d + 1), this.auth = f), s = -1;
1002
- for (let p = 0; p < ot.length; p++)
1003
- n = c.indexOf(ot[p]), n !== -1 && (s === -1 || n < s) && (s = n);
150
+ for (let l = 0; l < Uu.length; l++)
151
+ n = c.indexOf(Uu[l]), n !== -1 && (s === -1 || n < s) && (s = n);
1004
152
  s === -1 && (s = c.length), c[s - 1] === ":" && s--;
1005
- const _ = c.slice(0, s);
1006
- c = c.slice(s), this.parseHost(_), this.hostname = this.hostname || "";
1007
- const h = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
1008
- if (!h) {
1009
- const p = this.hostname.split(/\./);
1010
- for (let A = 0, D = p.length; A < D; A++) {
1011
- const S = p[A];
1012
- if (S && !S.match(at)) {
1013
- let E = "";
1014
- for (let k = 0, m = S.length; k < m; k++)
1015
- S.charCodeAt(k) > 127 ? E += "x" : E += S[k];
1016
- if (!E.match(at)) {
1017
- const k = p.slice(0, A), m = p.slice(A + 1), C = S.match(Yr);
1018
- C && (k.push(C[1]), m.unshift(C[2])), m.length && (c = m.join(".") + c), this.hostname = k.join(".");
153
+ const h = c.slice(0, s);
154
+ c = c.slice(s), this.parseHost(h), this.hostname = this.hostname || "";
155
+ const b = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
156
+ if (!b) {
157
+ const l = this.hostname.split(/\./);
158
+ for (let k = 0, g = l.length; k < g; k++) {
159
+ const C = l[k];
160
+ if (C && !C.match(Hu)) {
161
+ let p = "";
162
+ for (let _ = 0, x = C.length; _ < x; _++)
163
+ C.charCodeAt(_) > 127 ? p += "x" : p += C[_];
164
+ if (!p.match(Hu)) {
165
+ const _ = l.slice(0, k), x = l.slice(k + 1), m = C.match(re);
166
+ m && (_.push(m[1]), x.unshift(m[2])), x.length && (c = x.join(".") + c), this.hostname = _.join(".");
1019
167
  break;
1020
168
  }
1021
169
  }
1022
170
  }
1023
171
  }
1024
- this.hostname.length > Vr && (this.hostname = ""), h && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
172
+ this.hostname.length > te && (this.hostname = ""), b && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
1025
173
  }
1026
- const o = c.indexOf("#");
1027
- o !== -1 && (this.hash = c.substr(o), c = c.slice(0, o));
174
+ const i = c.indexOf("#");
175
+ i !== -1 && (this.hash = c.substr(i), c = c.slice(0, i));
1028
176
  const a = c.indexOf("?");
1029
- return a !== -1 && (this.search = c.substr(a), c = c.slice(0, a)), c && (this.pathname = c), lt[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
177
+ return a !== -1 && (this.search = c.substr(a), c = c.slice(0, a)), c && (this.pathname = c), Gu[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
1030
178
  };
1031
- ye.prototype.parseHost = function(u) {
1032
- let e = $r.exec(u);
179
+ su.prototype.parseHost = function(u) {
180
+ let e = X0.exec(u);
1033
181
  e && (e = e[0], e !== ":" && (this.port = e.substr(1)), u = u.substr(0, u.length - e.length)), u && (this.hostname = u);
1034
182
  };
1035
- const Xr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
183
+ const ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1036
184
  __proto__: null,
1037
- decode: zu,
1038
- encode: se,
1039
- format: f0,
1040
- parse: d0
1041
- }, 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]/, Jr = /[\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]/, Qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
185
+ decode: G,
186
+ encode: ru,
187
+ format: Bu,
188
+ parse: Tu
189
+ }, Symbol.toStringTag, { value: "Module" })), s0 = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, f0 = /[\0-\x1F\x7F-\x9F]/, ce = /[\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]/, zu = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/, l0 = /[\$\+<->\^`\|~\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]/, d0 = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1042
190
  __proto__: null,
1043
- Any: It,
1044
- Cc: Lt,
1045
- Cf: Jr,
1046
- P: p0,
1047
- S: Ot,
1048
- Z: Nt
1049
- }, Symbol.toStringTag, { value: "Module" })), Kr = new Uint16Array(
191
+ Any: s0,
192
+ Cc: f0,
193
+ Cf: ce,
194
+ P: zu,
195
+ S: l0,
196
+ Z: d0
197
+ }, Symbol.toStringTag, { value: "Module" })), oe = new Uint16Array(
1050
198
  // prettier-ignore
1051
199
  'ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\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))
1052
- ), uc = new Uint16Array(
200
+ ), ae = new Uint16Array(
1053
201
  // prettier-ignore
1054
202
  "Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
1055
203
  );
1056
- var Xe;
1057
- const ec = /* @__PURE__ */ new Map([
204
+ var ku;
205
+ const se = /* @__PURE__ */ new Map([
1058
206
  [0, 65533],
1059
207
  // C1 Unicode control character reference replacements
1060
208
  [128, 8364],
@@ -1084,53 +232,53 @@ const ec = /* @__PURE__ */ new Map([
1084
232
  [156, 339],
1085
233
  [158, 382],
1086
234
  [159, 376]
1087
- ]), tc = (
235
+ ]), fe = (
1088
236
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
1089
- (Xe = String.fromCodePoint) !== null && Xe !== void 0 ? Xe : function(u) {
237
+ (ku = String.fromCodePoint) !== null && ku !== void 0 ? ku : function(u) {
1090
238
  let e = "";
1091
239
  return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
1092
240
  }
1093
241
  );
1094
- function nc(u) {
242
+ function le(u) {
1095
243
  var e;
1096
- return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = ec.get(u)) !== null && e !== void 0 ? e : u;
244
+ return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = se.get(u)) !== null && e !== void 0 ? e : u;
1097
245
  }
1098
- var q;
246
+ var A;
1099
247
  (function(u) {
1100
248
  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";
1101
- })(q || (q = {}));
1102
- const rc = 32;
1103
- var _u;
249
+ })(A || (A = {}));
250
+ const de = 32;
251
+ var $;
1104
252
  (function(u) {
1105
253
  u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
1106
- })(_u || (_u = {}));
1107
- function o0(u) {
1108
- return u >= q.ZERO && u <= q.NINE;
254
+ })($ || ($ = {}));
255
+ function wu(u) {
256
+ return u >= A.ZERO && u <= A.NINE;
1109
257
  }
1110
- function cc(u) {
1111
- return u >= q.UPPER_A && u <= q.UPPER_F || u >= q.LOWER_A && u <= q.LOWER_F;
258
+ function be(u) {
259
+ return u >= A.UPPER_A && u <= A.UPPER_F || u >= A.LOWER_A && u <= A.LOWER_F;
1112
260
  }
1113
- function oc(u) {
1114
- return u >= q.UPPER_A && u <= q.UPPER_Z || u >= q.LOWER_A && u <= q.LOWER_Z || o0(u);
261
+ function he(u) {
262
+ return u >= A.UPPER_A && u <= A.UPPER_Z || u >= A.LOWER_A && u <= A.LOWER_Z || wu(u);
1115
263
  }
1116
- function ic(u) {
1117
- return u === q.EQUALS || oc(u);
264
+ function pe(u) {
265
+ return u === A.EQUALS || he(u);
1118
266
  }
1119
- var z;
267
+ var F;
1120
268
  (function(u) {
1121
269
  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";
1122
- })(z || (z = {}));
1123
- var bu;
270
+ })(F || (F = {}));
271
+ var N;
1124
272
  (function(u) {
1125
273
  u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
1126
- })(bu || (bu = {}));
1127
- class ac {
274
+ })(N || (N = {}));
275
+ class xe {
1128
276
  constructor(e, t, n) {
1129
- 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;
277
+ this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = F.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = N.Strict;
1130
278
  }
1131
279
  /** Resets the instance to make it reusable. */
1132
280
  startEntity(e) {
1133
- this.decodeMode = e, this.state = z.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
281
+ this.decodeMode = e, this.state = F.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
1134
282
  }
1135
283
  /**
1136
284
  * Write an entity to the decoder. This can be called multiple times with partial entities.
@@ -1145,15 +293,15 @@ class ac {
1145
293
  */
1146
294
  write(e, t) {
1147
295
  switch (this.state) {
1148
- case z.EntityStart:
1149
- 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));
1150
- case z.NumericStart:
296
+ case F.EntityStart:
297
+ return e.charCodeAt(t) === A.NUM ? (this.state = F.NumericStart, this.consumed += 1, this.stateNumericStart(e, t + 1)) : (this.state = F.NamedEntity, this.stateNamedEntity(e, t));
298
+ case F.NumericStart:
1151
299
  return this.stateNumericStart(e, t);
1152
- case z.NumericDecimal:
300
+ case F.NumericDecimal:
1153
301
  return this.stateNumericDecimal(e, t);
1154
- case z.NumericHex:
302
+ case F.NumericHex:
1155
303
  return this.stateNumericHex(e, t);
1156
- case z.NamedEntity:
304
+ case F.NamedEntity:
1157
305
  return this.stateNamedEntity(e, t);
1158
306
  }
1159
307
  }
@@ -1167,7 +315,7 @@ class ac {
1167
315
  * @returns The number of characters that were consumed, or -1 if the entity is incomplete.
1168
316
  */
1169
317
  stateNumericStart(e, t) {
1170
- return t >= e.length ? -1 : (e.charCodeAt(t) | rc) === q.LOWER_X ? (this.state = z.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = z.NumericDecimal, this.stateNumericDecimal(e, t));
318
+ return t >= e.length ? -1 : (e.charCodeAt(t) | de) === A.LOWER_X ? (this.state = F.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = F.NumericDecimal, this.stateNumericDecimal(e, t));
1171
319
  }
1172
320
  addToNumericResult(e, t, n, r) {
1173
321
  if (t !== n) {
@@ -1188,7 +336,7 @@ class ac {
1188
336
  const n = t;
1189
337
  for (; t < e.length; ) {
1190
338
  const r = e.charCodeAt(t);
1191
- if (o0(r) || cc(r))
339
+ if (wu(r) || be(r))
1192
340
  t += 1;
1193
341
  else
1194
342
  return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
@@ -1208,7 +356,7 @@ class ac {
1208
356
  const n = t;
1209
357
  for (; t < e.length; ) {
1210
358
  const r = e.charCodeAt(t);
1211
- if (o0(r))
359
+ if (wu(r))
1212
360
  t += 1;
1213
361
  else
1214
362
  return this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(r, 2);
@@ -1232,11 +380,11 @@ class ac {
1232
380
  var n;
1233
381
  if (this.consumed <= t)
1234
382
  return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
1235
- if (e === q.SEMI)
383
+ if (e === A.SEMI)
1236
384
  this.consumed += 1;
1237
- else if (this.decodeMode === bu.Strict)
385
+ else if (this.decodeMode === N.Strict)
1238
386
  return 0;
1239
- return this.emitCodePoint(nc(this.result), this.consumed), this.errors && (e !== q.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
387
+ return this.emitCodePoint(le(this.result), this.consumed), this.errors && (e !== A.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
1240
388
  }
1241
389
  /**
1242
390
  * Parses a named entity.
@@ -1249,18 +397,18 @@ class ac {
1249
397
  */
1250
398
  stateNamedEntity(e, t) {
1251
399
  const { decodeTree: n } = this;
1252
- let r = n[this.treeIndex], c = (r & _u.VALUE_LENGTH) >> 14;
400
+ let r = n[this.treeIndex], c = (r & $.VALUE_LENGTH) >> 14;
1253
401
  for (; t < e.length; t++, this.excess++) {
1254
- const i = e.charCodeAt(t);
1255
- if (this.treeIndex = sc(n, r, this.treeIndex + Math.max(1, c), i), this.treeIndex < 0)
402
+ const o = e.charCodeAt(t);
403
+ if (this.treeIndex = _e(n, r, this.treeIndex + Math.max(1, c), o), this.treeIndex < 0)
1256
404
  return this.result === 0 || // If we are parsing an attribute
1257
- this.decodeMode === bu.Attribute && // We shouldn't have consumed any characters after the entity,
405
+ this.decodeMode === N.Attribute && // We shouldn't have consumed any characters after the entity,
1258
406
  (c === 0 || // And there should be no invalid characters.
1259
- ic(i)) ? 0 : this.emitNotTerminatedNamedEntity();
1260
- if (r = n[this.treeIndex], c = (r & _u.VALUE_LENGTH) >> 14, c !== 0) {
1261
- if (i === q.SEMI)
407
+ pe(o)) ? 0 : this.emitNotTerminatedNamedEntity();
408
+ if (r = n[this.treeIndex], c = (r & $.VALUE_LENGTH) >> 14, c !== 0) {
409
+ if (o === A.SEMI)
1262
410
  return this.emitNamedEntityData(this.treeIndex, c, this.consumed + this.excess);
1263
- this.decodeMode !== bu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
411
+ this.decodeMode !== N.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
1264
412
  }
1265
413
  }
1266
414
  return -1;
@@ -1272,7 +420,7 @@ class ac {
1272
420
  */
1273
421
  emitNotTerminatedNamedEntity() {
1274
422
  var e;
1275
- const { result: t, decodeTree: n } = this, r = (n[t] & _u.VALUE_LENGTH) >> 14;
423
+ const { result: t, decodeTree: n } = this, r = (n[t] & $.VALUE_LENGTH) >> 14;
1276
424
  return this.emitNamedEntityData(t, r, this.consumed), (e = this.errors) === null || e === void 0 || e.missingSemicolonAfterCharacterReference(), this.consumed;
1277
425
  }
1278
426
  /**
@@ -1286,7 +434,7 @@ class ac {
1286
434
  */
1287
435
  emitNamedEntityData(e, t, n) {
1288
436
  const { decodeTree: r } = this;
1289
- return this.emitCodePoint(t === 1 ? r[e] & ~_u.VALUE_LENGTH : r[e + 1], n), t === 3 && this.emitCodePoint(r[e + 2], n), n;
437
+ return this.emitCodePoint(t === 1 ? r[e] & ~$.VALUE_LENGTH : r[e + 1], n), t === 3 && this.emitCodePoint(r[e + 2], n), n;
1290
438
  }
1291
439
  /**
1292
440
  * Signal to the parser that the end of the input was reached.
@@ -1298,77 +446,77 @@ class ac {
1298
446
  end() {
1299
447
  var e;
1300
448
  switch (this.state) {
1301
- case z.NamedEntity:
1302
- return this.result !== 0 && (this.decodeMode !== bu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
1303
- case z.NumericDecimal:
449
+ case F.NamedEntity:
450
+ return this.result !== 0 && (this.decodeMode !== N.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
451
+ case F.NumericDecimal:
1304
452
  return this.emitNumericEntity(0, 2);
1305
- case z.NumericHex:
453
+ case F.NumericHex:
1306
454
  return this.emitNumericEntity(0, 3);
1307
- case z.NumericStart:
455
+ case F.NumericStart:
1308
456
  return (e = this.errors) === null || e === void 0 || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
1309
- case z.EntityStart:
457
+ case F.EntityStart:
1310
458
  return 0;
1311
459
  }
1312
460
  }
1313
461
  }
1314
- function Pt(u) {
462
+ function b0(u) {
1315
463
  let e = "";
1316
- const t = new ac(u, (n) => e += tc(n));
464
+ const t = new xe(u, (n) => e += fe(n));
1317
465
  return function(r, c) {
1318
- let i = 0, o = 0;
1319
- for (; (o = r.indexOf("&", o)) >= 0; ) {
1320
- e += r.slice(i, o), t.startEntity(c);
466
+ let o = 0, i = 0;
467
+ for (; (i = r.indexOf("&", i)) >= 0; ) {
468
+ e += r.slice(o, i), t.startEntity(c);
1321
469
  const s = t.write(
1322
470
  r,
1323
471
  // Skip the "&"
1324
- o + 1
472
+ i + 1
1325
473
  );
1326
474
  if (s < 0) {
1327
- i = o + t.end();
475
+ o = i + t.end();
1328
476
  break;
1329
477
  }
1330
- i = o + s, o = s === 0 ? i + 1 : i;
478
+ o = i + s, i = s === 0 ? o + 1 : o;
1331
479
  }
1332
- const a = e + r.slice(i);
480
+ const a = e + r.slice(o);
1333
481
  return e = "", a;
1334
482
  };
1335
483
  }
1336
- function sc(u, e, t, n) {
1337
- const r = (e & _u.BRANCH_LENGTH) >> 7, c = e & _u.JUMP_TABLE;
484
+ function _e(u, e, t, n) {
485
+ const r = (e & $.BRANCH_LENGTH) >> 7, c = e & $.JUMP_TABLE;
1338
486
  if (r === 0)
1339
487
  return c !== 0 && n === c ? t : -1;
1340
488
  if (c) {
1341
489
  const a = n - c;
1342
490
  return a < 0 || a >= r ? -1 : u[t + a] - 1;
1343
491
  }
1344
- let i = t, o = i + r - 1;
1345
- for (; i <= o; ) {
1346
- const a = i + o >>> 1, s = u[a];
492
+ let o = t, i = o + r - 1;
493
+ for (; o <= i; ) {
494
+ const a = o + i >>> 1, s = u[a];
1347
495
  if (s < n)
1348
- i = a + 1;
496
+ o = a + 1;
1349
497
  else if (s > n)
1350
- o = a - 1;
498
+ i = a - 1;
1351
499
  else
1352
500
  return u[a + r];
1353
501
  }
1354
502
  return -1;
1355
503
  }
1356
- const lc = Pt(Kr);
1357
- Pt(uc);
1358
- function Bt(u, e = bu.Legacy) {
1359
- return lc(u, e);
504
+ const me = b0(oe);
505
+ b0(ae);
506
+ function h0(u, e = N.Legacy) {
507
+ return me(u, e);
1360
508
  }
1361
- function fc(u) {
509
+ function ke(u) {
1362
510
  return Object.prototype.toString.call(u);
1363
511
  }
1364
- function h0(u) {
1365
- return fc(u) === "[object String]";
512
+ function Iu(u) {
513
+ return ke(u) === "[object String]";
1366
514
  }
1367
- const dc = Object.prototype.hasOwnProperty;
1368
- function pc(u, e) {
1369
- return dc.call(u, e);
515
+ const ge = Object.prototype.hasOwnProperty;
516
+ function De(u, e) {
517
+ return ge.call(u, e);
1370
518
  }
1371
- function we(u) {
519
+ function du(u) {
1372
520
  return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
1373
521
  if (t) {
1374
522
  if (typeof t != "object")
@@ -1379,13 +527,13 @@ function we(u) {
1379
527
  }
1380
528
  }), u;
1381
529
  }
1382
- function zt(u, e, t) {
530
+ function p0(u, e, t) {
1383
531
  return [].concat(u.slice(0, e), t, u.slice(e + 1));
1384
532
  }
1385
- function b0(u) {
533
+ function Mu(u) {
1386
534
  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);
1387
535
  }
1388
- function Fe(u) {
536
+ function fu(u) {
1389
537
  if (u > 65535) {
1390
538
  u -= 65536;
1391
539
  const e = 55296 + (u >> 10), t = 56320 + (u & 1023);
@@ -1393,40 +541,40 @@ function Fe(u) {
1393
541
  }
1394
542
  return String.fromCharCode(u);
1395
543
  }
1396
- const qt = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, hc = /&([a-z#][a-z0-9]{1,31});/gi, bc = new RegExp(qt.source + "|" + hc.source, "gi"), _c = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
1397
- function mc(u, e) {
1398
- if (e.charCodeAt(0) === 35 && _c.test(e)) {
544
+ const x0 = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, Ce = /&([a-z#][a-z0-9]{1,31});/gi, Ee = new RegExp(x0.source + "|" + Ce.source, "gi"), Fe = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
545
+ function Ae(u, e) {
546
+ if (e.charCodeAt(0) === 35 && Fe.test(e)) {
1399
547
  const n = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
1400
- return b0(n) ? Fe(n) : u;
548
+ return Mu(n) ? fu(n) : u;
1401
549
  }
1402
- const t = Bt(u);
550
+ const t = h0(u);
1403
551
  return t !== u ? t : u;
1404
552
  }
1405
- function xc(u) {
1406
- return u.indexOf("\\") < 0 ? u : u.replace(qt, "$1");
553
+ function ye(u) {
554
+ return u.indexOf("\\") < 0 ? u : u.replace(x0, "$1");
1407
555
  }
1408
- function qu(u) {
1409
- return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(bc, function(e, t, n) {
1410
- return t || mc(e, n);
556
+ function W(u) {
557
+ return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(Ee, function(e, t, n) {
558
+ return t || Ae(e, n);
1411
559
  });
1412
560
  }
1413
- const gc = /[&<>"]/, kc = /[&<>"]/g, Ec = {
561
+ const we = /[&<>"]/, ve = /[&<>"]/g, Se = {
1414
562
  "&": "&amp;",
1415
563
  "<": "&lt;",
1416
564
  ">": "&gt;",
1417
565
  '"': "&quot;"
1418
566
  };
1419
- function Cc(u) {
1420
- return Ec[u];
567
+ function Be(u) {
568
+ return Se[u];
1421
569
  }
1422
- function gu(u) {
1423
- return gc.test(u) ? u.replace(kc, Cc) : u;
570
+ function j(u) {
571
+ return we.test(u) ? u.replace(ve, Be) : u;
1424
572
  }
1425
- const Ac = /[.?*+^$[\]\\(){}|-]/g;
1426
- function Dc(u) {
1427
- return u.replace(Ac, "\\$&");
573
+ const Te = /[.?*+^$[\]\\(){}|-]/g;
574
+ function ze(u) {
575
+ return u.replace(Te, "\\$&");
1428
576
  }
1429
- function w(u) {
577
+ function E(u) {
1430
578
  switch (u) {
1431
579
  case 9:
1432
580
  case 32:
@@ -1434,7 +582,7 @@ function w(u) {
1434
582
  }
1435
583
  return !1;
1436
584
  }
1437
- function re(u) {
585
+ function Y(u) {
1438
586
  if (u >= 8192 && u <= 8202)
1439
587
  return !0;
1440
588
  switch (u) {
@@ -1453,10 +601,10 @@ function re(u) {
1453
601
  }
1454
602
  return !1;
1455
603
  }
1456
- function ce(u) {
1457
- return p0.test(u) || Ot.test(u);
604
+ function K(u) {
605
+ return zu.test(u) || l0.test(u);
1458
606
  }
1459
- function oe(u) {
607
+ function uu(u) {
1460
608
  switch (u) {
1461
609
  case 33:
1462
610
  case 34:
@@ -1495,38 +643,38 @@ function oe(u) {
1495
643
  return !1;
1496
644
  }
1497
645
  }
1498
- function ve(u) {
646
+ function bu(u) {
1499
647
  return u = u.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (u = u.replace(/ẞ/g, "ß")), u.toLowerCase().toUpperCase();
1500
648
  }
1501
- const yc = { mdurl: Xr, ucmicro: Qr }, Fc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
649
+ const Ie = { mdurl: ne, ucmicro: ie }, Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1502
650
  __proto__: null,
1503
- arrayReplaceAt: zt,
1504
- assign: we,
1505
- escapeHtml: gu,
1506
- escapeRE: Dc,
1507
- fromCodePoint: Fe,
1508
- has: pc,
1509
- isMdAsciiPunct: oe,
1510
- isPunctChar: ce,
1511
- isSpace: w,
1512
- isString: h0,
1513
- isValidEntityCode: b0,
1514
- isWhiteSpace: re,
1515
- lib: yc,
1516
- normalizeReference: ve,
1517
- unescapeAll: qu,
1518
- unescapeMd: xc
651
+ arrayReplaceAt: p0,
652
+ assign: du,
653
+ escapeHtml: j,
654
+ escapeRE: ze,
655
+ fromCodePoint: fu,
656
+ has: De,
657
+ isMdAsciiPunct: uu,
658
+ isPunctChar: K,
659
+ isSpace: E,
660
+ isString: Iu,
661
+ isValidEntityCode: Mu,
662
+ isWhiteSpace: Y,
663
+ lib: Ie,
664
+ normalizeReference: bu,
665
+ unescapeAll: W,
666
+ unescapeMd: ye
1519
667
  }, Symbol.toStringTag, { value: "Module" }));
1520
- function Tc(u, e, t) {
1521
- let n, r, c, i;
1522
- const o = u.posMax, a = u.pos;
1523
- for (u.pos = e + 1, n = 1; u.pos < o; ) {
668
+ function qe(u, e, t) {
669
+ let n, r, c, o;
670
+ const i = u.posMax, a = u.pos;
671
+ for (u.pos = e + 1, n = 1; u.pos < i; ) {
1524
672
  if (c = u.src.charCodeAt(u.pos), c === 93 && (n--, n === 0)) {
1525
673
  r = !0;
1526
674
  break;
1527
675
  }
1528
- if (i = u.pos, u.md.inline.skipToken(u), c === 91) {
1529
- if (i === u.pos - 1)
676
+ if (o = u.pos, u.md.inline.skipToken(u), c === 91) {
677
+ if (o === u.pos - 1)
1530
678
  n++;
1531
679
  else if (t)
1532
680
  return u.pos = a, -1;
@@ -1535,7 +683,7 @@ function Tc(u, e, t) {
1535
683
  let s = -1;
1536
684
  return r && (s = u.pos), u.pos = a, s;
1537
685
  }
1538
- function Sc(u, e, t) {
686
+ function Re(u, e, t) {
1539
687
  let n, r = e;
1540
688
  const c = {
1541
689
  ok: !1,
@@ -1547,7 +695,7 @@ function Sc(u, e, t) {
1547
695
  if (n = u.charCodeAt(r), n === 10 || n === 60)
1548
696
  return c;
1549
697
  if (n === 62)
1550
- return c.pos = r + 1, c.str = qu(u.slice(e + 1, r)), c.ok = !0, c;
698
+ return c.pos = r + 1, c.str = W(u.slice(e + 1, r)), c.ok = !0, c;
1551
699
  if (n === 92 && r + 1 < t) {
1552
700
  r += 2;
1553
701
  continue;
@@ -1556,7 +704,7 @@ function Sc(u, e, t) {
1556
704
  }
1557
705
  return c;
1558
706
  }
1559
- let i = 0;
707
+ let o = 0;
1560
708
  for (; r < t && (n = u.charCodeAt(r), !(n === 32 || n < 32 || n === 127)); ) {
1561
709
  if (n === 92 && r + 1 < t) {
1562
710
  if (u.charCodeAt(r + 1) === 32)
@@ -1564,20 +712,20 @@ function Sc(u, e, t) {
1564
712
  r += 2;
1565
713
  continue;
1566
714
  }
1567
- if (n === 40 && (i++, i > 32))
715
+ if (n === 40 && (o++, o > 32))
1568
716
  return c;
1569
717
  if (n === 41) {
1570
- if (i === 0)
718
+ if (o === 0)
1571
719
  break;
1572
- i--;
720
+ o--;
1573
721
  }
1574
722
  r++;
1575
723
  }
1576
- return e === r || i !== 0 || (c.str = qu(u.slice(e, r)), c.pos = r, c.ok = !0), c;
724
+ return e === r || o !== 0 || (c.str = W(u.slice(e, r)), c.pos = r, c.ok = !0), c;
1577
725
  }
1578
- function wc(u, e, t, n) {
726
+ function Le(u, e, t, n) {
1579
727
  let r, c = e;
1580
- const i = {
728
+ const o = {
1581
729
  // if `true`, this is a valid link title
1582
730
  ok: !1,
1583
731
  // if `true`, this link can be continued on the next line
@@ -1590,122 +738,122 @@ function wc(u, e, t, n) {
1590
738
  marker: 0
1591
739
  };
1592
740
  if (n)
1593
- i.str = n.str, i.marker = n.marker;
741
+ o.str = n.str, o.marker = n.marker;
1594
742
  else {
1595
743
  if (c >= t)
1596
- return i;
1597
- let o = u.charCodeAt(c);
1598
- if (o !== 34 && o !== 39 && o !== 40)
1599
- return i;
1600
- e++, c++, o === 40 && (o = 41), i.marker = o;
744
+ return o;
745
+ let i = u.charCodeAt(c);
746
+ if (i !== 34 && i !== 39 && i !== 40)
747
+ return o;
748
+ e++, c++, i === 40 && (i = 41), o.marker = i;
1601
749
  }
1602
750
  for (; c < t; ) {
1603
- if (r = u.charCodeAt(c), r === i.marker)
1604
- return i.pos = c + 1, i.str += qu(u.slice(e, c)), i.ok = !0, i;
1605
- if (r === 40 && i.marker === 41)
1606
- return i;
751
+ if (r = u.charCodeAt(c), r === o.marker)
752
+ return o.pos = c + 1, o.str += W(u.slice(e, c)), o.ok = !0, o;
753
+ if (r === 40 && o.marker === 41)
754
+ return o;
1607
755
  r === 92 && c + 1 < t && c++, c++;
1608
756
  }
1609
- return i.can_continue = !0, i.str += qu(u.slice(e, c)), i;
757
+ return o.can_continue = !0, o.str += W(u.slice(e, c)), o;
1610
758
  }
1611
- const vc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
759
+ const Pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1612
760
  __proto__: null,
1613
- parseLinkDestination: Sc,
1614
- parseLinkLabel: Tc,
1615
- parseLinkTitle: wc
1616
- }, Symbol.toStringTag, { value: "Module" })), iu = {};
1617
- iu.code_inline = function(u, e, t, n, r) {
761
+ parseLinkDestination: Re,
762
+ parseLinkLabel: qe,
763
+ parseLinkTitle: Le
764
+ }, Symbol.toStringTag, { value: "Module" })), q = {};
765
+ q.code_inline = function(u, e, t, n, r) {
1618
766
  const c = u[e];
1619
- return "<code" + r.renderAttrs(c) + ">" + gu(c.content) + "</code>";
767
+ return "<code" + r.renderAttrs(c) + ">" + j(c.content) + "</code>";
1620
768
  };
1621
- iu.code_block = function(u, e, t, n, r) {
769
+ q.code_block = function(u, e, t, n, r) {
1622
770
  const c = u[e];
1623
- return "<pre" + r.renderAttrs(c) + "><code>" + gu(u[e].content) + `</code></pre>
771
+ return "<pre" + r.renderAttrs(c) + "><code>" + j(u[e].content) + `</code></pre>
1624
772
  `;
1625
773
  };
1626
- iu.fence = function(u, e, t, n, r) {
1627
- const c = u[e], i = c.info ? qu(c.info).trim() : "";
1628
- let o = "", a = "";
1629
- if (i) {
1630
- const f = i.split(/(\s+)/g);
1631
- o = f[0], a = f.slice(2).join("");
774
+ q.fence = function(u, e, t, n, r) {
775
+ const c = u[e], o = c.info ? W(c.info).trim() : "";
776
+ let i = "", a = "";
777
+ if (o) {
778
+ const f = o.split(/(\s+)/g);
779
+ i = f[0], a = f.slice(2).join("");
1632
780
  }
1633
781
  let s;
1634
- if (t.highlight ? s = t.highlight(c.content, o, a) || gu(c.content) : s = gu(c.content), s.indexOf("<pre") === 0)
782
+ if (t.highlight ? s = t.highlight(c.content, i, a) || j(c.content) : s = j(c.content), s.indexOf("<pre") === 0)
1635
783
  return s + `
1636
784
  `;
1637
- if (i) {
785
+ if (o) {
1638
786
  const f = c.attrIndex("class"), d = c.attrs ? c.attrs.slice() : [];
1639
- f < 0 ? d.push(["class", t.langPrefix + o]) : (d[f] = d[f].slice(), d[f][1] += " " + t.langPrefix + o);
1640
- const _ = {
787
+ f < 0 ? d.push(["class", t.langPrefix + i]) : (d[f] = d[f].slice(), d[f][1] += " " + t.langPrefix + i);
788
+ const h = {
1641
789
  attrs: d
1642
790
  };
1643
- return `<pre><code${r.renderAttrs(_)}>${s}</code></pre>
791
+ return `<pre><code${r.renderAttrs(h)}>${s}</code></pre>
1644
792
  `;
1645
793
  }
1646
794
  return `<pre><code${r.renderAttrs(c)}>${s}</code></pre>
1647
795
  `;
1648
796
  };
1649
- iu.image = function(u, e, t, n, r) {
797
+ q.image = function(u, e, t, n, r) {
1650
798
  const c = u[e];
1651
799
  return c.attrs[c.attrIndex("alt")][1] = r.renderInlineAsText(c.children, t, n), r.renderToken(u, e, t);
1652
800
  };
1653
- iu.hardbreak = function(u, e, t) {
801
+ q.hardbreak = function(u, e, t) {
1654
802
  return t.xhtmlOut ? `<br />
1655
803
  ` : `<br>
1656
804
  `;
1657
805
  };
1658
- iu.softbreak = function(u, e, t) {
806
+ q.softbreak = function(u, e, t) {
1659
807
  return t.breaks ? t.xhtmlOut ? `<br />
1660
808
  ` : `<br>
1661
809
  ` : `
1662
810
  `;
1663
811
  };
1664
- iu.text = function(u, e) {
1665
- return gu(u[e].content);
812
+ q.text = function(u, e) {
813
+ return j(u[e].content);
1666
814
  };
1667
- iu.html_block = function(u, e) {
815
+ q.html_block = function(u, e) {
1668
816
  return u[e].content;
1669
817
  };
1670
- iu.html_inline = function(u, e) {
818
+ q.html_inline = function(u, e) {
1671
819
  return u[e].content;
1672
820
  };
1673
- function Hu() {
1674
- this.rules = we({}, iu);
821
+ function Q() {
822
+ this.rules = du({}, q);
1675
823
  }
1676
- Hu.prototype.renderAttrs = function(e) {
824
+ Q.prototype.renderAttrs = function(e) {
1677
825
  let t, n, r;
1678
826
  if (!e.attrs)
1679
827
  return "";
1680
828
  for (r = "", t = 0, n = e.attrs.length; t < n; t++)
1681
- r += " " + gu(e.attrs[t][0]) + '="' + gu(e.attrs[t][1]) + '"';
829
+ r += " " + j(e.attrs[t][0]) + '="' + j(e.attrs[t][1]) + '"';
1682
830
  return r;
1683
831
  };
1684
- Hu.prototype.renderToken = function(e, t, n) {
832
+ Q.prototype.renderToken = function(e, t, n) {
1685
833
  const r = e[t];
1686
834
  let c = "";
1687
835
  if (r.hidden)
1688
836
  return "";
1689
837
  r.block && r.nesting !== -1 && t && e[t - 1].hidden && (c += `
1690
838
  `), c += (r.nesting === -1 ? "</" : "<") + r.tag, c += this.renderAttrs(r), r.nesting === 0 && n.xhtmlOut && (c += " /");
1691
- let i = !1;
1692
- if (r.block && (i = !0, r.nesting === 1 && t + 1 < e.length)) {
1693
- const o = e[t + 1];
1694
- (o.type === "inline" || o.hidden || o.nesting === -1 && o.tag === r.tag) && (i = !1);
839
+ let o = !1;
840
+ if (r.block && (o = !0, r.nesting === 1 && t + 1 < e.length)) {
841
+ const i = e[t + 1];
842
+ (i.type === "inline" || i.hidden || i.nesting === -1 && i.tag === r.tag) && (o = !1);
1695
843
  }
1696
- return c += i ? `>
844
+ return c += o ? `>
1697
845
  ` : ">", c;
1698
846
  };
1699
- Hu.prototype.renderInline = function(u, e, t) {
847
+ Q.prototype.renderInline = function(u, e, t) {
1700
848
  let n = "";
1701
849
  const r = this.rules;
1702
- for (let c = 0, i = u.length; c < i; c++) {
1703
- const o = u[c].type;
1704
- typeof r[o] < "u" ? n += r[o](u, c, e, t, this) : n += this.renderToken(u, c, e);
850
+ for (let c = 0, o = u.length; c < o; c++) {
851
+ const i = u[c].type;
852
+ typeof r[i] < "u" ? n += r[i](u, c, e, t, this) : n += this.renderToken(u, c, e);
1705
853
  }
1706
854
  return n;
1707
855
  };
1708
- Hu.prototype.renderInlineAsText = function(u, e, t) {
856
+ Q.prototype.renderInlineAsText = function(u, e, t) {
1709
857
  let n = "";
1710
858
  for (let r = 0, c = u.length; r < c; r++)
1711
859
  switch (u[r].type) {
@@ -1727,25 +875,25 @@ Hu.prototype.renderInlineAsText = function(u, e, t) {
1727
875
  }
1728
876
  return n;
1729
877
  };
1730
- Hu.prototype.render = function(u, e, t) {
878
+ Q.prototype.render = function(u, e, t) {
1731
879
  let n = "";
1732
880
  const r = this.rules;
1733
- for (let c = 0, i = u.length; c < i; c++) {
1734
- const o = u[c].type;
1735
- o === "inline" ? n += this.renderInline(u[c].children, e, t) : typeof r[o] < "u" ? n += r[o](u, c, e, t, this) : n += this.renderToken(u, c, e, t);
881
+ for (let c = 0, o = u.length; c < o; c++) {
882
+ const i = u[c].type;
883
+ i === "inline" ? n += this.renderInline(u[c].children, e, t) : typeof r[i] < "u" ? n += r[i](u, c, e, t, this) : n += this.renderToken(u, c, e, t);
1736
884
  }
1737
885
  return n;
1738
886
  };
1739
- function V() {
887
+ function w() {
1740
888
  this.__rules__ = [], this.__cache__ = null;
1741
889
  }
1742
- V.prototype.__find__ = function(u) {
890
+ w.prototype.__find__ = function(u) {
1743
891
  for (let e = 0; e < this.__rules__.length; e++)
1744
892
  if (this.__rules__[e].name === u)
1745
893
  return e;
1746
894
  return -1;
1747
895
  };
1748
- V.prototype.__compile__ = function() {
896
+ w.prototype.__compile__ = function() {
1749
897
  const u = this, e = [""];
1750
898
  u.__rules__.forEach(function(t) {
1751
899
  t.enabled && t.alt.forEach(function(n) {
@@ -1757,13 +905,13 @@ V.prototype.__compile__ = function() {
1757
905
  });
1758
906
  });
1759
907
  };
1760
- V.prototype.at = function(u, e, t) {
908
+ w.prototype.at = function(u, e, t) {
1761
909
  const n = this.__find__(u), r = t || {};
1762
910
  if (n === -1)
1763
911
  throw new Error("Parser rule not found: " + u);
1764
912
  this.__rules__[n].fn = e, this.__rules__[n].alt = r.alt || [], this.__cache__ = null;
1765
913
  };
1766
- V.prototype.before = function(u, e, t, n) {
914
+ w.prototype.before = function(u, e, t, n) {
1767
915
  const r = this.__find__(u), c = n || {};
1768
916
  if (r === -1)
1769
917
  throw new Error("Parser rule not found: " + u);
@@ -1774,7 +922,7 @@ V.prototype.before = function(u, e, t, n) {
1774
922
  alt: c.alt || []
1775
923
  }), this.__cache__ = null;
1776
924
  };
1777
- V.prototype.after = function(u, e, t, n) {
925
+ w.prototype.after = function(u, e, t, n) {
1778
926
  const r = this.__find__(u), c = n || {};
1779
927
  if (r === -1)
1780
928
  throw new Error("Parser rule not found: " + u);
@@ -1785,7 +933,7 @@ V.prototype.after = function(u, e, t, n) {
1785
933
  alt: c.alt || []
1786
934
  }), this.__cache__ = null;
1787
935
  };
1788
- V.prototype.push = function(u, e, t) {
936
+ w.prototype.push = function(u, e, t) {
1789
937
  const n = t || {};
1790
938
  this.__rules__.push({
1791
939
  name: u,
@@ -1794,7 +942,7 @@ V.prototype.push = function(u, e, t) {
1794
942
  alt: n.alt || []
1795
943
  }), this.__cache__ = null;
1796
944
  };
1797
- V.prototype.enable = function(u, e) {
945
+ w.prototype.enable = function(u, e) {
1798
946
  Array.isArray(u) || (u = [u]);
1799
947
  const t = [];
1800
948
  return u.forEach(function(n) {
@@ -1807,12 +955,12 @@ V.prototype.enable = function(u, e) {
1807
955
  this.__rules__[r].enabled = !0, t.push(n);
1808
956
  }, this), this.__cache__ = null, t;
1809
957
  };
1810
- V.prototype.enableOnly = function(u, e) {
958
+ w.prototype.enableOnly = function(u, e) {
1811
959
  Array.isArray(u) || (u = [u]), this.__rules__.forEach(function(t) {
1812
960
  t.enabled = !1;
1813
961
  }), this.enable(u, e);
1814
962
  };
1815
- V.prototype.disable = function(u, e) {
963
+ w.prototype.disable = function(u, e) {
1816
964
  Array.isArray(u) || (u = [u]);
1817
965
  const t = [];
1818
966
  return u.forEach(function(n) {
@@ -1825,13 +973,13 @@ V.prototype.disable = function(u, e) {
1825
973
  this.__rules__[r].enabled = !1, t.push(n);
1826
974
  }, this), this.__cache__ = null, t;
1827
975
  };
1828
- V.prototype.getRules = function(u) {
976
+ w.prototype.getRules = function(u) {
1829
977
  return this.__cache__ === null && this.__compile__(), this.__cache__[u] || [];
1830
978
  };
1831
- function eu(u, e, t) {
979
+ function z(u, e, t) {
1832
980
  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;
1833
981
  }
1834
- eu.prototype.attrIndex = function(e) {
982
+ z.prototype.attrIndex = function(e) {
1835
983
  if (!this.attrs)
1836
984
  return -1;
1837
985
  const t = this.attrs;
@@ -1840,284 +988,284 @@ eu.prototype.attrIndex = function(e) {
1840
988
  return n;
1841
989
  return -1;
1842
990
  };
1843
- eu.prototype.attrPush = function(e) {
991
+ z.prototype.attrPush = function(e) {
1844
992
  this.attrs ? this.attrs.push(e) : this.attrs = [e];
1845
993
  };
1846
- eu.prototype.attrSet = function(e, t) {
994
+ z.prototype.attrSet = function(e, t) {
1847
995
  const n = this.attrIndex(e), r = [e, t];
1848
996
  n < 0 ? this.attrPush(r) : this.attrs[n] = r;
1849
997
  };
1850
- eu.prototype.attrGet = function(e) {
998
+ z.prototype.attrGet = function(e) {
1851
999
  const t = this.attrIndex(e);
1852
1000
  let n = null;
1853
1001
  return t >= 0 && (n = this.attrs[t][1]), n;
1854
1002
  };
1855
- eu.prototype.attrJoin = function(e, t) {
1003
+ z.prototype.attrJoin = function(e, t) {
1856
1004
  const n = this.attrIndex(e);
1857
1005
  n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
1858
1006
  };
1859
- function Ut(u, e, t) {
1007
+ function _0(u, e, t) {
1860
1008
  this.src = u, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = e;
1861
1009
  }
1862
- Ut.prototype.Token = eu;
1863
- const Rc = /\r\n?|\n/g, Mc = /\0/g;
1864
- function Ic(u) {
1010
+ _0.prototype.Token = z;
1011
+ const Oe = /\r\n?|\n/g, Ne = /\0/g;
1012
+ function $e(u) {
1865
1013
  let e;
1866
- e = u.src.replace(Rc, `
1867
- `), e = e.replace(Mc, "�"), u.src = e;
1014
+ e = u.src.replace(Oe, `
1015
+ `), e = e.replace(Ne, "�"), u.src = e;
1868
1016
  }
1869
- function Lc(u) {
1017
+ function je(u) {
1870
1018
  let e;
1871
1019
  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);
1872
1020
  }
1873
- function Oc(u) {
1021
+ function Ue(u) {
1874
1022
  const e = u.tokens;
1875
1023
  for (let t = 0, n = e.length; t < n; t++) {
1876
1024
  const r = e[t];
1877
1025
  r.type === "inline" && u.md.inline.parse(r.content, u.md, u.env, r.children);
1878
1026
  }
1879
1027
  }
1880
- function Nc(u) {
1028
+ function Ze(u) {
1881
1029
  return /^<a[>\s]/i.test(u);
1882
1030
  }
1883
- function Pc(u) {
1031
+ function He(u) {
1884
1032
  return /^<\/a\s*>/i.test(u);
1885
1033
  }
1886
- function Bc(u) {
1034
+ function Ve(u) {
1887
1035
  const e = u.tokens;
1888
1036
  if (u.md.options.linkify)
1889
1037
  for (let t = 0, n = e.length; t < n; t++) {
1890
1038
  if (e[t].type !== "inline" || !u.md.linkify.pretest(e[t].content))
1891
1039
  continue;
1892
1040
  let r = e[t].children, c = 0;
1893
- for (let i = r.length - 1; i >= 0; i--) {
1894
- const o = r[i];
1895
- if (o.type === "link_close") {
1896
- for (i--; r[i].level !== o.level && r[i].type !== "link_open"; )
1897
- i--;
1041
+ for (let o = r.length - 1; o >= 0; o--) {
1042
+ const i = r[o];
1043
+ if (i.type === "link_close") {
1044
+ for (o--; r[o].level !== i.level && r[o].type !== "link_open"; )
1045
+ o--;
1898
1046
  continue;
1899
1047
  }
1900
- if (o.type === "html_inline" && (Nc(o.content) && c > 0 && c--, Pc(o.content) && c++), !(c > 0) && o.type === "text" && u.md.linkify.test(o.content)) {
1901
- const a = o.content;
1048
+ if (i.type === "html_inline" && (Ze(i.content) && c > 0 && c--, He(i.content) && c++), !(c > 0) && i.type === "text" && u.md.linkify.test(i.content)) {
1049
+ const a = i.content;
1902
1050
  let s = u.md.linkify.match(a);
1903
1051
  const f = [];
1904
- let d = o.level, _ = 0;
1905
- s.length > 0 && s[0].index === 0 && i > 0 && r[i - 1].type === "text_special" && (s = s.slice(1));
1906
- for (let h = 0; h < s.length; h++) {
1907
- const p = s[h].url, A = u.md.normalizeLink(p);
1908
- if (!u.md.validateLink(A))
1052
+ let d = i.level, h = 0;
1053
+ s.length > 0 && s[0].index === 0 && o > 0 && r[o - 1].type === "text_special" && (s = s.slice(1));
1054
+ for (let b = 0; b < s.length; b++) {
1055
+ const l = s[b].url, k = u.md.normalizeLink(l);
1056
+ if (!u.md.validateLink(k))
1909
1057
  continue;
1910
- let D = s[h].text;
1911
- 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:\/\//, "");
1912
- const S = s[h].index;
1913
- if (S > _) {
1914
- const C = new u.Token("text", "", 0);
1915
- C.content = a.slice(_, S), C.level = d, f.push(C);
1058
+ let g = s[b].text;
1059
+ s[b].schema ? s[b].schema === "mailto:" && !/^mailto:/i.test(g) ? g = u.md.normalizeLinkText("mailto:" + g).replace(/^mailto:/, "") : g = u.md.normalizeLinkText(g) : g = u.md.normalizeLinkText("http://" + g).replace(/^http:\/\//, "");
1060
+ const C = s[b].index;
1061
+ if (C > h) {
1062
+ const m = new u.Token("text", "", 0);
1063
+ m.content = a.slice(h, C), m.level = d, f.push(m);
1916
1064
  }
1917
- const E = new u.Token("link_open", "a", 1);
1918
- E.attrs = [["href", A]], E.level = d++, E.markup = "linkify", E.info = "auto", f.push(E);
1919
- const k = new u.Token("text", "", 0);
1920
- k.content = D, k.level = d, f.push(k);
1921
- const m = new u.Token("link_close", "a", -1);
1922
- m.level = --d, m.markup = "linkify", m.info = "auto", f.push(m), _ = s[h].lastIndex;
1065
+ const p = new u.Token("link_open", "a", 1);
1066
+ p.attrs = [["href", k]], p.level = d++, p.markup = "linkify", p.info = "auto", f.push(p);
1067
+ const _ = new u.Token("text", "", 0);
1068
+ _.content = g, _.level = d, f.push(_);
1069
+ const x = new u.Token("link_close", "a", -1);
1070
+ x.level = --d, x.markup = "linkify", x.info = "auto", f.push(x), h = s[b].lastIndex;
1923
1071
  }
1924
- if (_ < a.length) {
1925
- const h = new u.Token("text", "", 0);
1926
- h.content = a.slice(_), h.level = d, f.push(h);
1072
+ if (h < a.length) {
1073
+ const b = new u.Token("text", "", 0);
1074
+ b.content = a.slice(h), b.level = d, f.push(b);
1927
1075
  }
1928
- e[t].children = r = zt(r, i, f);
1076
+ e[t].children = r = p0(r, o, f);
1929
1077
  }
1930
1078
  }
1931
1079
  }
1932
1080
  }
1933
- const Ht = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, zc = /\((c|tm|r)\)/i, qc = /\((c|tm|r)\)/ig, Uc = {
1081
+ const m0 = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Ge = /\((c|tm|r)\)/i, We = /\((c|tm|r)\)/ig, Je = {
1934
1082
  c: "©",
1935
1083
  r: "®",
1936
1084
  tm: "™"
1937
1085
  };
1938
- function Hc(u, e) {
1939
- return Uc[e.toLowerCase()];
1086
+ function Qe(u, e) {
1087
+ return Je[e.toLowerCase()];
1940
1088
  }
1941
- function $c(u) {
1089
+ function Xe(u) {
1942
1090
  let e = 0;
1943
1091
  for (let t = u.length - 1; t >= 0; t--) {
1944
1092
  const n = u[t];
1945
- n.type === "text" && !e && (n.content = n.content.replace(qc, Hc)), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
1093
+ n.type === "text" && !e && (n.content = n.content.replace(We, Qe)), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
1946
1094
  }
1947
1095
  }
1948
- function jc(u) {
1096
+ function Ye(u) {
1949
1097
  let e = 0;
1950
1098
  for (let t = u.length - 1; t >= 0; t--) {
1951
1099
  const n = u[t];
1952
- 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++;
1100
+ n.type === "text" && !e && m0.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++;
1953
1101
  }
1954
1102
  }
1955
- function Gc(u) {
1103
+ function Ke(u) {
1956
1104
  let e;
1957
1105
  if (u.md.options.typographer)
1958
1106
  for (e = u.tokens.length - 1; e >= 0; e--)
1959
- u.tokens[e].type === "inline" && (zc.test(u.tokens[e].content) && $c(u.tokens[e].children), Ht.test(u.tokens[e].content) && jc(u.tokens[e].children));
1107
+ u.tokens[e].type === "inline" && (Ge.test(u.tokens[e].content) && Xe(u.tokens[e].children), m0.test(u.tokens[e].content) && Ye(u.tokens[e].children));
1960
1108
  }
1961
- const Wc = /['"]/, ft = /['"]/g, dt = "’";
1962
- function Ee(u, e, t) {
1109
+ const ut = /['"]/, Wu = /['"]/g, Ju = "’";
1110
+ function iu(u, e, t) {
1963
1111
  return u.slice(0, e) + t + u.slice(e + 1);
1964
1112
  }
1965
- function Zc(u, e) {
1113
+ function et(u, e) {
1966
1114
  let t;
1967
1115
  const n = [];
1968
1116
  for (let r = 0; r < u.length; r++) {
1969
- const c = u[r], i = u[r].level;
1970
- for (t = n.length - 1; t >= 0 && !(n[t].level <= i); t--)
1117
+ const c = u[r], o = u[r].level;
1118
+ for (t = n.length - 1; t >= 0 && !(n[t].level <= o); t--)
1971
1119
  ;
1972
1120
  if (n.length = t + 1, c.type !== "text")
1973
1121
  continue;
1974
- let o = c.content, a = 0, s = o.length;
1122
+ let i = c.content, a = 0, s = i.length;
1975
1123
  u:
1976
1124
  for (; a < s; ) {
1977
- ft.lastIndex = a;
1978
- const f = ft.exec(o);
1125
+ Wu.lastIndex = a;
1126
+ const f = Wu.exec(i);
1979
1127
  if (!f)
1980
1128
  break;
1981
- let d = !0, _ = !0;
1129
+ let d = !0, h = !0;
1982
1130
  a = f.index + 1;
1983
- const h = f[0] === "'";
1984
- let p = 32;
1131
+ const b = f[0] === "'";
1132
+ let l = 32;
1985
1133
  if (f.index - 1 >= 0)
1986
- p = o.charCodeAt(f.index - 1);
1134
+ l = i.charCodeAt(f.index - 1);
1987
1135
  else
1988
1136
  for (t = r - 1; t >= 0 && !(u[t].type === "softbreak" || u[t].type === "hardbreak"); t--)
1989
1137
  if (u[t].content) {
1990
- p = u[t].content.charCodeAt(u[t].content.length - 1);
1138
+ l = u[t].content.charCodeAt(u[t].content.length - 1);
1991
1139
  break;
1992
1140
  }
1993
- let A = 32;
1141
+ let k = 32;
1994
1142
  if (a < s)
1995
- A = o.charCodeAt(a);
1143
+ k = i.charCodeAt(a);
1996
1144
  else
1997
1145
  for (t = r + 1; t < u.length && !(u[t].type === "softbreak" || u[t].type === "hardbreak"); t++)
1998
1146
  if (u[t].content) {
1999
- A = u[t].content.charCodeAt(0);
1147
+ k = u[t].content.charCodeAt(0);
2000
1148
  break;
2001
1149
  }
2002
- const D = oe(p) || ce(String.fromCharCode(p)), S = oe(A) || ce(String.fromCharCode(A)), E = re(p), k = re(A);
2003
- if (k ? d = !1 : S && (E || D || (d = !1)), E ? _ = !1 : D && (k || S || (_ = !1)), A === 34 && f[0] === '"' && p >= 48 && p <= 57 && (_ = d = !1), d && _ && (d = D, _ = S), !d && !_) {
2004
- h && (c.content = Ee(c.content, f.index, dt));
1150
+ const g = uu(l) || K(String.fromCharCode(l)), C = uu(k) || K(String.fromCharCode(k)), p = Y(l), _ = Y(k);
1151
+ if (_ ? d = !1 : C && (p || g || (d = !1)), p ? h = !1 : g && (_ || C || (h = !1)), k === 34 && f[0] === '"' && l >= 48 && l <= 57 && (h = d = !1), d && h && (d = g, h = C), !d && !h) {
1152
+ b && (c.content = iu(c.content, f.index, Ju));
2005
1153
  continue;
2006
1154
  }
2007
- if (_)
1155
+ if (h)
2008
1156
  for (t = n.length - 1; t >= 0; t--) {
2009
- let m = n[t];
2010
- if (n[t].level < i)
1157
+ let x = n[t];
1158
+ if (n[t].level < o)
2011
1159
  break;
2012
- if (m.single === h && n[t].level === i) {
2013
- m = n[t];
2014
- let C, y;
2015
- h ? (C = e.md.options.quotes[2], y = e.md.options.quotes[3]) : (C = e.md.options.quotes[0], y = e.md.options.quotes[1]), c.content = Ee(c.content, f.index, y), u[m.token].content = Ee(
2016
- u[m.token].content,
2017
- m.pos,
2018
- C
2019
- ), a += y.length - 1, m.token === r && (a += C.length - 1), o = c.content, s = o.length, n.length = t;
1160
+ if (x.single === b && n[t].level === o) {
1161
+ x = n[t];
1162
+ let m, D;
1163
+ b ? (m = e.md.options.quotes[2], D = e.md.options.quotes[3]) : (m = e.md.options.quotes[0], D = e.md.options.quotes[1]), c.content = iu(c.content, f.index, D), u[x.token].content = iu(
1164
+ u[x.token].content,
1165
+ x.pos,
1166
+ m
1167
+ ), a += D.length - 1, x.token === r && (a += m.length - 1), i = c.content, s = i.length, n.length = t;
2020
1168
  continue u;
2021
1169
  }
2022
1170
  }
2023
1171
  d ? n.push({
2024
1172
  token: r,
2025
1173
  pos: f.index,
2026
- single: h,
2027
- level: i
2028
- }) : _ && h && (c.content = Ee(c.content, f.index, dt));
1174
+ single: b,
1175
+ level: o
1176
+ }) : h && b && (c.content = iu(c.content, f.index, Ju));
2029
1177
  }
2030
1178
  }
2031
1179
  }
2032
- function Vc(u) {
1180
+ function tt(u) {
2033
1181
  if (u.md.options.typographer)
2034
1182
  for (let e = u.tokens.length - 1; e >= 0; e--)
2035
- u.tokens[e].type !== "inline" || !Wc.test(u.tokens[e].content) || Zc(u.tokens[e].children, u);
1183
+ u.tokens[e].type !== "inline" || !ut.test(u.tokens[e].content) || et(u.tokens[e].children, u);
2036
1184
  }
2037
- function Yc(u) {
1185
+ function rt(u) {
2038
1186
  let e, t;
2039
1187
  const n = u.tokens, r = n.length;
2040
1188
  for (let c = 0; c < r; c++) {
2041
1189
  if (n[c].type !== "inline") continue;
2042
- const i = n[c].children, o = i.length;
2043
- for (e = 0; e < o; e++)
2044
- i[e].type === "text_special" && (i[e].type = "text");
2045
- for (e = t = 0; e < o; e++)
2046
- i[e].type === "text" && e + 1 < o && i[e + 1].type === "text" ? i[e + 1].content = i[e].content + i[e + 1].content : (e !== t && (i[t] = i[e]), t++);
2047
- e !== t && (i.length = t);
2048
- }
2049
- }
2050
- const Je = [
2051
- ["normalize", Ic],
2052
- ["block", Lc],
2053
- ["inline", Oc],
2054
- ["linkify", Bc],
2055
- ["replacements", Gc],
2056
- ["smartquotes", Vc],
1190
+ const o = n[c].children, i = o.length;
1191
+ for (e = 0; e < i; e++)
1192
+ o[e].type === "text_special" && (o[e].type = "text");
1193
+ for (e = t = 0; e < i; e++)
1194
+ o[e].type === "text" && e + 1 < i && o[e + 1].type === "text" ? o[e + 1].content = o[e].content + o[e + 1].content : (e !== t && (o[t] = o[e]), t++);
1195
+ e !== t && (o.length = t);
1196
+ }
1197
+ }
1198
+ const gu = [
1199
+ ["normalize", $e],
1200
+ ["block", je],
1201
+ ["inline", Ue],
1202
+ ["linkify", Ve],
1203
+ ["replacements", Ke],
1204
+ ["smartquotes", tt],
2057
1205
  // `text_join` finds `text_special` tokens (for escape sequences)
2058
1206
  // and joins them with the rest of the text
2059
- ["text_join", Yc]
1207
+ ["text_join", rt]
2060
1208
  ];
2061
- function _0() {
2062
- this.ruler = new V();
2063
- for (let u = 0; u < Je.length; u++)
2064
- this.ruler.push(Je[u][0], Je[u][1]);
1209
+ function qu() {
1210
+ this.ruler = new w();
1211
+ for (let u = 0; u < gu.length; u++)
1212
+ this.ruler.push(gu[u][0], gu[u][1]);
2065
1213
  }
2066
- _0.prototype.process = function(u) {
1214
+ qu.prototype.process = function(u) {
2067
1215
  const e = this.ruler.getRules("");
2068
1216
  for (let t = 0, n = e.length; t < n; t++)
2069
1217
  e[t](u);
2070
1218
  };
2071
- _0.prototype.State = Ut;
2072
- function au(u, e, t, n) {
1219
+ qu.prototype.State = _0;
1220
+ function R(u, e, t, n) {
2073
1221
  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;
2074
1222
  const r = this.src;
2075
- for (let c = 0, i = 0, o = 0, a = 0, s = r.length, f = !1; i < s; i++) {
2076
- const d = r.charCodeAt(i);
1223
+ for (let c = 0, o = 0, i = 0, a = 0, s = r.length, f = !1; o < s; o++) {
1224
+ const d = r.charCodeAt(o);
2077
1225
  if (!f)
2078
- if (w(d)) {
2079
- o++, d === 9 ? a += 4 - a % 4 : a++;
1226
+ if (E(d)) {
1227
+ i++, d === 9 ? a += 4 - a % 4 : a++;
2080
1228
  continue;
2081
1229
  } else
2082
1230
  f = !0;
2083
- (d === 10 || i === s - 1) && (d !== 10 && i++, this.bMarks.push(c), this.eMarks.push(i), this.tShift.push(o), this.sCount.push(a), this.bsCount.push(0), f = !1, o = 0, a = 0, c = i + 1);
1231
+ (d === 10 || o === s - 1) && (d !== 10 && o++, this.bMarks.push(c), this.eMarks.push(o), this.tShift.push(i), this.sCount.push(a), this.bsCount.push(0), f = !1, i = 0, a = 0, c = o + 1);
2084
1232
  }
2085
1233
  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;
2086
1234
  }
2087
- au.prototype.push = function(u, e, t) {
2088
- const n = new eu(u, e, t);
1235
+ R.prototype.push = function(u, e, t) {
1236
+ const n = new z(u, e, t);
2089
1237
  return n.block = !0, t < 0 && this.level--, n.level = this.level, t > 0 && this.level++, this.tokens.push(n), n;
2090
1238
  };
2091
- au.prototype.isEmpty = function(e) {
1239
+ R.prototype.isEmpty = function(e) {
2092
1240
  return this.bMarks[e] + this.tShift[e] >= this.eMarks[e];
2093
1241
  };
2094
- au.prototype.skipEmptyLines = function(e) {
1242
+ R.prototype.skipEmptyLines = function(e) {
2095
1243
  for (let t = this.lineMax; e < t && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]); e++)
2096
1244
  ;
2097
1245
  return e;
2098
1246
  };
2099
- au.prototype.skipSpaces = function(e) {
1247
+ R.prototype.skipSpaces = function(e) {
2100
1248
  for (let t = this.src.length; e < t; e++) {
2101
1249
  const n = this.src.charCodeAt(e);
2102
- if (!w(n))
1250
+ if (!E(n))
2103
1251
  break;
2104
1252
  }
2105
1253
  return e;
2106
1254
  };
2107
- au.prototype.skipSpacesBack = function(e, t) {
1255
+ R.prototype.skipSpacesBack = function(e, t) {
2108
1256
  if (e <= t)
2109
1257
  return e;
2110
1258
  for (; e > t; )
2111
- if (!w(this.src.charCodeAt(--e)))
1259
+ if (!E(this.src.charCodeAt(--e)))
2112
1260
  return e + 1;
2113
1261
  return e;
2114
1262
  };
2115
- au.prototype.skipChars = function(e, t) {
1263
+ R.prototype.skipChars = function(e, t) {
2116
1264
  for (let n = this.src.length; e < n && this.src.charCodeAt(e) === t; e++)
2117
1265
  ;
2118
1266
  return e;
2119
1267
  };
2120
- au.prototype.skipCharsBack = function(e, t, n) {
1268
+ R.prototype.skipCharsBack = function(e, t, n) {
2121
1269
  if (e <= n)
2122
1270
  return e;
2123
1271
  for (; e > n; )
@@ -2125,42 +1273,42 @@ au.prototype.skipCharsBack = function(e, t, n) {
2125
1273
  return e + 1;
2126
1274
  return e;
2127
1275
  };
2128
- au.prototype.getLines = function(e, t, n, r) {
1276
+ R.prototype.getLines = function(e, t, n, r) {
2129
1277
  if (e >= t)
2130
1278
  return "";
2131
1279
  const c = new Array(t - e);
2132
- for (let i = 0, o = e; o < t; o++, i++) {
1280
+ for (let o = 0, i = e; i < t; i++, o++) {
2133
1281
  let a = 0;
2134
- const s = this.bMarks[o];
1282
+ const s = this.bMarks[i];
2135
1283
  let f = s, d;
2136
- for (o + 1 < t || r ? d = this.eMarks[o] + 1 : d = this.eMarks[o]; f < d && a < n; ) {
2137
- const _ = this.src.charCodeAt(f);
2138
- if (w(_))
2139
- _ === 9 ? a += 4 - (a + this.bsCount[o]) % 4 : a++;
2140
- else if (f - s < this.tShift[o])
1284
+ for (i + 1 < t || r ? d = this.eMarks[i] + 1 : d = this.eMarks[i]; f < d && a < n; ) {
1285
+ const h = this.src.charCodeAt(f);
1286
+ if (E(h))
1287
+ h === 9 ? a += 4 - (a + this.bsCount[i]) % 4 : a++;
1288
+ else if (f - s < this.tShift[i])
2141
1289
  a++;
2142
1290
  else
2143
1291
  break;
2144
1292
  f++;
2145
1293
  }
2146
- a > n ? c[i] = new Array(a - n + 1).join(" ") + this.src.slice(f, d) : c[i] = this.src.slice(f, d);
1294
+ a > n ? c[o] = new Array(a - n + 1).join(" ") + this.src.slice(f, d) : c[o] = this.src.slice(f, d);
2147
1295
  }
2148
1296
  return c.join("");
2149
1297
  };
2150
- au.prototype.Token = eu;
2151
- const Xc = 65536;
2152
- function Qe(u, e) {
1298
+ R.prototype.Token = z;
1299
+ const nt = 65536;
1300
+ function Du(u, e) {
2153
1301
  const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
2154
1302
  return u.src.slice(t, n);
2155
1303
  }
2156
- function pt(u) {
1304
+ function Qu(u) {
2157
1305
  const e = [], t = u.length;
2158
- let n = 0, r = u.charCodeAt(n), c = !1, i = 0, o = "";
1306
+ let n = 0, r = u.charCodeAt(n), c = !1, o = 0, i = "";
2159
1307
  for (; n < t; )
2160
- r === 124 && (c ? (o += u.substring(i, n - 1), i = n) : (e.push(o + u.substring(i, n)), o = "", i = n + 1)), c = r === 92, n++, r = u.charCodeAt(n);
2161
- return e.push(o + u.substring(i)), e;
1308
+ r === 124 && (c ? (i += u.substring(o, n - 1), o = n) : (e.push(i + u.substring(o, n)), i = "", o = n + 1)), c = r === 92, n++, r = u.charCodeAt(n);
1309
+ return e.push(i + u.substring(o)), e;
2162
1310
  }
2163
- function Jc(u, e, t, n) {
1311
+ function ct(u, e, t, n) {
2164
1312
  if (e + 2 > t)
2165
1313
  return !1;
2166
1314
  let r = e + 1;
@@ -2169,81 +1317,81 @@ function Jc(u, e, t, n) {
2169
1317
  let c = u.bMarks[r] + u.tShift[r];
2170
1318
  if (c >= u.eMarks[r])
2171
1319
  return !1;
2172
- const i = u.src.charCodeAt(c++);
2173
- if (i !== 124 && i !== 45 && i !== 58 || c >= u.eMarks[r])
2174
- return !1;
2175
1320
  const o = u.src.charCodeAt(c++);
2176
- if (o !== 124 && o !== 45 && o !== 58 && !w(o) || i === 45 && w(o))
1321
+ if (o !== 124 && o !== 45 && o !== 58 || c >= u.eMarks[r])
1322
+ return !1;
1323
+ const i = u.src.charCodeAt(c++);
1324
+ if (i !== 124 && i !== 45 && i !== 58 && !E(i) || o === 45 && E(i))
2177
1325
  return !1;
2178
1326
  for (; c < u.eMarks[r]; ) {
2179
- const m = u.src.charCodeAt(c);
2180
- if (m !== 124 && m !== 45 && m !== 58 && !w(m))
1327
+ const x = u.src.charCodeAt(c);
1328
+ if (x !== 124 && x !== 45 && x !== 58 && !E(x))
2181
1329
  return !1;
2182
1330
  c++;
2183
1331
  }
2184
- let a = Qe(u, e + 1), s = a.split("|");
1332
+ let a = Du(u, e + 1), s = a.split("|");
2185
1333
  const f = [];
2186
- for (let m = 0; m < s.length; m++) {
2187
- const C = s[m].trim();
2188
- if (!C) {
2189
- if (m === 0 || m === s.length - 1)
1334
+ for (let x = 0; x < s.length; x++) {
1335
+ const m = s[x].trim();
1336
+ if (!m) {
1337
+ if (x === 0 || x === s.length - 1)
2190
1338
  continue;
2191
1339
  return !1;
2192
1340
  }
2193
- if (!/^:?-+:?$/.test(C))
1341
+ if (!/^:?-+:?$/.test(m))
2194
1342
  return !1;
2195
- C.charCodeAt(C.length - 1) === 58 ? f.push(C.charCodeAt(0) === 58 ? "center" : "right") : C.charCodeAt(0) === 58 ? f.push("left") : f.push("");
1343
+ m.charCodeAt(m.length - 1) === 58 ? f.push(m.charCodeAt(0) === 58 ? "center" : "right") : m.charCodeAt(0) === 58 ? f.push("left") : f.push("");
2196
1344
  }
2197
- if (a = Qe(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
1345
+ if (a = Du(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
2198
1346
  return !1;
2199
- s = pt(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop();
1347
+ s = Qu(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop();
2200
1348
  const d = s.length;
2201
1349
  if (d === 0 || d !== f.length)
2202
1350
  return !1;
2203
1351
  if (n)
2204
1352
  return !0;
2205
- const _ = u.parentType;
1353
+ const h = u.parentType;
2206
1354
  u.parentType = "table";
2207
- const h = u.md.block.ruler.getRules("blockquote"), p = u.push("table_open", "table", 1), A = [e, 0];
2208
- p.map = A;
2209
- const D = u.push("thead_open", "thead", 1);
2210
- D.map = [e, e + 1];
2211
- const S = u.push("tr_open", "tr", 1);
2212
- S.map = [e, e + 1];
2213
- for (let m = 0; m < s.length; m++) {
2214
- const C = u.push("th_open", "th", 1);
2215
- f[m] && (C.attrs = [["style", "text-align:" + f[m]]]);
2216
- const y = u.push("inline", "", 0);
2217
- y.content = s[m].trim(), y.children = [], u.push("th_close", "th", -1);
1355
+ const b = u.md.block.ruler.getRules("blockquote"), l = u.push("table_open", "table", 1), k = [e, 0];
1356
+ l.map = k;
1357
+ const g = u.push("thead_open", "thead", 1);
1358
+ g.map = [e, e + 1];
1359
+ const C = u.push("tr_open", "tr", 1);
1360
+ C.map = [e, e + 1];
1361
+ for (let x = 0; x < s.length; x++) {
1362
+ const m = u.push("th_open", "th", 1);
1363
+ f[x] && (m.attrs = [["style", "text-align:" + f[x]]]);
1364
+ const D = u.push("inline", "", 0);
1365
+ D.content = s[x].trim(), D.children = [], u.push("th_close", "th", -1);
2218
1366
  }
2219
1367
  u.push("tr_close", "tr", -1), u.push("thead_close", "thead", -1);
2220
- let E, k = 0;
1368
+ let p, _ = 0;
2221
1369
  for (r = e + 2; r < t && !(u.sCount[r] < u.blkIndent); r++) {
2222
- let m = !1;
2223
- for (let y = 0, L = h.length; y < L; y++)
2224
- if (h[y](u, r, t, !0)) {
2225
- m = !0;
1370
+ let x = !1;
1371
+ for (let D = 0, y = b.length; D < y; D++)
1372
+ if (b[D](u, r, t, !0)) {
1373
+ x = !0;
2226
1374
  break;
2227
1375
  }
2228
- 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 > Xc))
1376
+ if (x || (a = Du(u, r).trim(), !a) || u.sCount[r] - u.blkIndent >= 4 || (s = Qu(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), _ += d - s.length, _ > nt))
2229
1377
  break;
2230
1378
  if (r === e + 2) {
2231
- const y = u.push("tbody_open", "tbody", 1);
2232
- y.map = E = [e + 2, 0];
1379
+ const D = u.push("tbody_open", "tbody", 1);
1380
+ D.map = p = [e + 2, 0];
2233
1381
  }
2234
- const C = u.push("tr_open", "tr", 1);
2235
- C.map = [r, r + 1];
2236
- for (let y = 0; y < d; y++) {
2237
- const L = u.push("td_open", "td", 1);
2238
- f[y] && (L.attrs = [["style", "text-align:" + f[y]]]);
2239
- const Y = u.push("inline", "", 0);
2240
- Y.content = s[y] ? s[y].trim() : "", Y.children = [], u.push("td_close", "td", -1);
1382
+ const m = u.push("tr_open", "tr", 1);
1383
+ m.map = [r, r + 1];
1384
+ for (let D = 0; D < d; D++) {
1385
+ const y = u.push("td_open", "td", 1);
1386
+ f[D] && (y.attrs = [["style", "text-align:" + f[D]]]);
1387
+ const T = u.push("inline", "", 0);
1388
+ T.content = s[D] ? s[D].trim() : "", T.children = [], u.push("td_close", "td", -1);
2241
1389
  }
2242
1390
  u.push("tr_close", "tr", -1);
2243
1391
  }
2244
- return E && (u.push("tbody_close", "tbody", -1), E[1] = r), u.push("table_close", "table", -1), A[1] = r, u.parentType = _, u.line = r, !0;
1392
+ return p && (u.push("tbody_close", "tbody", -1), p[1] = r), u.push("table_close", "table", -1), k[1] = r, u.parentType = h, u.line = r, !0;
2245
1393
  }
2246
- function Qc(u, e, t) {
1394
+ function it(u, e, t) {
2247
1395
  if (u.sCount[e] - u.blkIndent < 4)
2248
1396
  return !1;
2249
1397
  let n = e + 1, r = n;
@@ -2263,112 +1411,112 @@ function Qc(u, e, t) {
2263
1411
  return c.content = u.getLines(e, r, 4 + u.blkIndent, !1) + `
2264
1412
  `, c.map = [e, u.line], !0;
2265
1413
  }
2266
- function Kc(u, e, t, n) {
1414
+ function ot(u, e, t, n) {
2267
1415
  let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
2268
1416
  if (u.sCount[e] - u.blkIndent >= 4 || r + 3 > c)
2269
1417
  return !1;
2270
- const i = u.src.charCodeAt(r);
2271
- if (i !== 126 && i !== 96)
1418
+ const o = u.src.charCodeAt(r);
1419
+ if (o !== 126 && o !== 96)
2272
1420
  return !1;
2273
- let o = r;
2274
- r = u.skipChars(r, i);
2275
- let a = r - o;
1421
+ let i = r;
1422
+ r = u.skipChars(r, o);
1423
+ let a = r - i;
2276
1424
  if (a < 3)
2277
1425
  return !1;
2278
- const s = u.src.slice(o, r), f = u.src.slice(r, c);
2279
- if (i === 96 && f.indexOf(String.fromCharCode(i)) >= 0)
1426
+ const s = u.src.slice(i, r), f = u.src.slice(r, c);
1427
+ if (o === 96 && f.indexOf(String.fromCharCode(o)) >= 0)
2280
1428
  return !1;
2281
1429
  if (n)
2282
1430
  return !0;
2283
- let d = e, _ = !1;
2284
- for (; d++, !(d >= t || (r = o = u.bMarks[d] + u.tShift[d], c = u.eMarks[d], r < c && u.sCount[d] < u.blkIndent)); )
2285
- if (u.src.charCodeAt(r) === i && !(u.sCount[d] - u.blkIndent >= 4) && (r = u.skipChars(r, i), !(r - o < a) && (r = u.skipSpaces(r), !(r < c)))) {
2286
- _ = !0;
1431
+ let d = e, h = !1;
1432
+ for (; d++, !(d >= t || (r = i = u.bMarks[d] + u.tShift[d], c = u.eMarks[d], r < c && u.sCount[d] < u.blkIndent)); )
1433
+ if (u.src.charCodeAt(r) === o && !(u.sCount[d] - u.blkIndent >= 4) && (r = u.skipChars(r, o), !(r - i < a) && (r = u.skipSpaces(r), !(r < c)))) {
1434
+ h = !0;
2287
1435
  break;
2288
1436
  }
2289
- a = u.sCount[e], u.line = d + (_ ? 1 : 0);
2290
- const h = u.push("fence", "code", 0);
2291
- return h.info = f, h.content = u.getLines(e + 1, d, a, !0), h.markup = s, h.map = [e, u.line], !0;
1437
+ a = u.sCount[e], u.line = d + (h ? 1 : 0);
1438
+ const b = u.push("fence", "code", 0);
1439
+ return b.info = f, b.content = u.getLines(e + 1, d, a, !0), b.markup = s, b.map = [e, u.line], !0;
2292
1440
  }
2293
- function uo(u, e, t, n) {
1441
+ function at(u, e, t, n) {
2294
1442
  let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
2295
- const i = u.lineMax;
1443
+ const o = u.lineMax;
2296
1444
  if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 62)
2297
1445
  return !1;
2298
1446
  if (n)
2299
1447
  return !0;
2300
- const o = [], a = [], s = [], f = [], d = u.md.block.ruler.getRules("blockquote"), _ = u.parentType;
1448
+ const i = [], a = [], s = [], f = [], d = u.md.block.ruler.getRules("blockquote"), h = u.parentType;
2301
1449
  u.parentType = "blockquote";
2302
- let h = !1, p;
2303
- for (p = e; p < t; p++) {
2304
- const k = u.sCount[p] < u.blkIndent;
2305
- if (r = u.bMarks[p] + u.tShift[p], c = u.eMarks[p], r >= c)
1450
+ let b = !1, l;
1451
+ for (l = e; l < t; l++) {
1452
+ const _ = u.sCount[l] < u.blkIndent;
1453
+ if (r = u.bMarks[l] + u.tShift[l], c = u.eMarks[l], r >= c)
2306
1454
  break;
2307
- if (u.src.charCodeAt(r++) === 62 && !k) {
2308
- let C = u.sCount[p] + 1, y, L;
2309
- u.src.charCodeAt(r) === 32 ? (r++, C++, L = !1, y = !0) : u.src.charCodeAt(r) === 9 ? (y = !0, (u.bsCount[p] + C) % 4 === 3 ? (r++, C++, L = !1) : L = !0) : y = !1;
2310
- let Y = C;
2311
- for (o.push(u.bMarks[p]), u.bMarks[p] = r; r < c; ) {
2312
- const tu = u.src.charCodeAt(r);
2313
- if (w(tu))
2314
- tu === 9 ? Y += 4 - (Y + u.bsCount[p] + (L ? 1 : 0)) % 4 : Y++;
1455
+ if (u.src.charCodeAt(r++) === 62 && !_) {
1456
+ let m = u.sCount[l] + 1, D, y;
1457
+ u.src.charCodeAt(r) === 32 ? (r++, m++, y = !1, D = !0) : u.src.charCodeAt(r) === 9 ? (D = !0, (u.bsCount[l] + m) % 4 === 3 ? (r++, m++, y = !1) : y = !0) : D = !1;
1458
+ let T = m;
1459
+ for (i.push(u.bMarks[l]), u.bMarks[l] = r; r < c; ) {
1460
+ const P = u.src.charCodeAt(r);
1461
+ if (E(P))
1462
+ P === 9 ? T += 4 - (T + u.bsCount[l] + (y ? 1 : 0)) % 4 : T++;
2315
1463
  else
2316
1464
  break;
2317
1465
  r++;
2318
1466
  }
2319
- h = r >= c, a.push(u.bsCount[p]), u.bsCount[p] = u.sCount[p] + 1 + (y ? 1 : 0), s.push(u.sCount[p]), u.sCount[p] = Y - C, f.push(u.tShift[p]), u.tShift[p] = r - u.bMarks[p];
1467
+ b = r >= c, a.push(u.bsCount[l]), u.bsCount[l] = u.sCount[l] + 1 + (D ? 1 : 0), s.push(u.sCount[l]), u.sCount[l] = T - m, f.push(u.tShift[l]), u.tShift[l] = r - u.bMarks[l];
2320
1468
  continue;
2321
1469
  }
2322
- if (h)
1470
+ if (b)
2323
1471
  break;
2324
- let m = !1;
2325
- for (let C = 0, y = d.length; C < y; C++)
2326
- if (d[C](u, p, t, !0)) {
2327
- m = !0;
1472
+ let x = !1;
1473
+ for (let m = 0, D = d.length; m < D; m++)
1474
+ if (d[m](u, l, t, !0)) {
1475
+ x = !0;
2328
1476
  break;
2329
1477
  }
2330
- if (m) {
2331
- u.lineMax = p, u.blkIndent !== 0 && (o.push(u.bMarks[p]), a.push(u.bsCount[p]), f.push(u.tShift[p]), s.push(u.sCount[p]), u.sCount[p] -= u.blkIndent);
1478
+ if (x) {
1479
+ u.lineMax = l, u.blkIndent !== 0 && (i.push(u.bMarks[l]), a.push(u.bsCount[l]), f.push(u.tShift[l]), s.push(u.sCount[l]), u.sCount[l] -= u.blkIndent);
2332
1480
  break;
2333
1481
  }
2334
- o.push(u.bMarks[p]), a.push(u.bsCount[p]), f.push(u.tShift[p]), s.push(u.sCount[p]), u.sCount[p] = -1;
1482
+ i.push(u.bMarks[l]), a.push(u.bsCount[l]), f.push(u.tShift[l]), s.push(u.sCount[l]), u.sCount[l] = -1;
2335
1483
  }
2336
- const A = u.blkIndent;
1484
+ const k = u.blkIndent;
2337
1485
  u.blkIndent = 0;
2338
- const D = u.push("blockquote_open", "blockquote", 1);
2339
- D.markup = ">";
2340
- const S = [e, 0];
2341
- D.map = S, u.md.block.tokenize(u, e, p);
2342
- const E = u.push("blockquote_close", "blockquote", -1);
2343
- E.markup = ">", u.lineMax = i, u.parentType = _, S[1] = u.line;
2344
- for (let k = 0; k < f.length; k++)
2345
- u.bMarks[k + e] = o[k], u.tShift[k + e] = f[k], u.sCount[k + e] = s[k], u.bsCount[k + e] = a[k];
2346
- return u.blkIndent = A, !0;
2347
- }
2348
- function eo(u, e, t, n) {
1486
+ const g = u.push("blockquote_open", "blockquote", 1);
1487
+ g.markup = ">";
1488
+ const C = [e, 0];
1489
+ g.map = C, u.md.block.tokenize(u, e, l);
1490
+ const p = u.push("blockquote_close", "blockquote", -1);
1491
+ p.markup = ">", u.lineMax = o, u.parentType = h, C[1] = u.line;
1492
+ for (let _ = 0; _ < f.length; _++)
1493
+ u.bMarks[_ + e] = i[_], u.tShift[_ + e] = f[_], u.sCount[_ + e] = s[_], u.bsCount[_ + e] = a[_];
1494
+ return u.blkIndent = k, !0;
1495
+ }
1496
+ function st(u, e, t, n) {
2349
1497
  const r = u.eMarks[e];
2350
1498
  if (u.sCount[e] - u.blkIndent >= 4)
2351
1499
  return !1;
2352
1500
  let c = u.bMarks[e] + u.tShift[e];
2353
- const i = u.src.charCodeAt(c++);
2354
- if (i !== 42 && i !== 45 && i !== 95)
1501
+ const o = u.src.charCodeAt(c++);
1502
+ if (o !== 42 && o !== 45 && o !== 95)
2355
1503
  return !1;
2356
- let o = 1;
1504
+ let i = 1;
2357
1505
  for (; c < r; ) {
2358
1506
  const s = u.src.charCodeAt(c++);
2359
- if (s !== i && !w(s))
1507
+ if (s !== o && !E(s))
2360
1508
  return !1;
2361
- s === i && o++;
1509
+ s === o && i++;
2362
1510
  }
2363
- if (o < 3)
1511
+ if (i < 3)
2364
1512
  return !1;
2365
1513
  if (n)
2366
1514
  return !0;
2367
1515
  u.line = e + 1;
2368
1516
  const a = u.push("hr", "hr", 0);
2369
- return a.map = [e, u.line], a.markup = Array(o + 1).join(String.fromCharCode(i)), !0;
1517
+ return a.map = [e, u.line], a.markup = Array(i + 1).join(String.fromCharCode(o)), !0;
2370
1518
  }
2371
- function ht(u, e) {
1519
+ function Xu(u, e) {
2372
1520
  const t = u.eMarks[e];
2373
1521
  let n = u.bMarks[e] + u.tShift[e];
2374
1522
  const r = u.src.charCodeAt(n++);
@@ -2376,12 +1524,12 @@ function ht(u, e) {
2376
1524
  return -1;
2377
1525
  if (n < t) {
2378
1526
  const c = u.src.charCodeAt(n);
2379
- if (!w(c))
1527
+ if (!E(c))
2380
1528
  return -1;
2381
1529
  }
2382
1530
  return n;
2383
1531
  }
2384
- function bt(u, e) {
1532
+ function Yu(u, e) {
2385
1533
  const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
2386
1534
  let r = t;
2387
1535
  if (r + 1 >= n)
@@ -2401,129 +1549,129 @@ function bt(u, e) {
2401
1549
  break;
2402
1550
  return -1;
2403
1551
  }
2404
- return r < n && (c = u.src.charCodeAt(r), !w(c)) ? -1 : r;
1552
+ return r < n && (c = u.src.charCodeAt(r), !E(c)) ? -1 : r;
2405
1553
  }
2406
- function to(u, e) {
1554
+ function ft(u, e) {
2407
1555
  const t = u.level + 2;
2408
1556
  for (let n = e + 2, r = u.tokens.length - 2; n < r; n++)
2409
1557
  u.tokens[n].level === t && u.tokens[n].type === "paragraph_open" && (u.tokens[n + 2].hidden = !0, u.tokens[n].hidden = !0, n += 2);
2410
1558
  }
2411
- function no(u, e, t, n) {
2412
- let r, c, i, o, a = e, s = !0;
1559
+ function lt(u, e, t, n) {
1560
+ let r, c, o, i, a = e, s = !0;
2413
1561
  if (u.sCount[a] - u.blkIndent >= 4 || u.listIndent >= 0 && u.sCount[a] - u.listIndent >= 4 && u.sCount[a] < u.blkIndent)
2414
1562
  return !1;
2415
1563
  let f = !1;
2416
1564
  n && u.parentType === "paragraph" && u.sCount[a] >= u.blkIndent && (f = !0);
2417
- let d, _, h;
2418
- if ((h = bt(u, a)) >= 0) {
2419
- if (d = !0, i = u.bMarks[a] + u.tShift[a], _ = Number(u.src.slice(i, h - 1)), f && _ !== 1) return !1;
2420
- } else if ((h = ht(u, a)) >= 0)
1565
+ let d, h, b;
1566
+ if ((b = Yu(u, a)) >= 0) {
1567
+ if (d = !0, o = u.bMarks[a] + u.tShift[a], h = Number(u.src.slice(o, b - 1)), f && h !== 1) return !1;
1568
+ } else if ((b = Xu(u, a)) >= 0)
2421
1569
  d = !1;
2422
1570
  else
2423
1571
  return !1;
2424
- if (f && u.skipSpaces(h) >= u.eMarks[a])
1572
+ if (f && u.skipSpaces(b) >= u.eMarks[a])
2425
1573
  return !1;
2426
1574
  if (n)
2427
1575
  return !0;
2428
- const p = u.src.charCodeAt(h - 1), A = u.tokens.length;
2429
- d ? (o = u.push("ordered_list_open", "ol", 1), _ !== 1 && (o.attrs = [["start", _]])) : o = u.push("bullet_list_open", "ul", 1);
2430
- const D = [a, 0];
2431
- o.map = D, o.markup = String.fromCharCode(p);
2432
- let S = !1;
2433
- const E = u.md.block.ruler.getRules("list"), k = u.parentType;
1576
+ const l = u.src.charCodeAt(b - 1), k = u.tokens.length;
1577
+ d ? (i = u.push("ordered_list_open", "ol", 1), h !== 1 && (i.attrs = [["start", h]])) : i = u.push("bullet_list_open", "ul", 1);
1578
+ const g = [a, 0];
1579
+ i.map = g, i.markup = String.fromCharCode(l);
1580
+ let C = !1;
1581
+ const p = u.md.block.ruler.getRules("list"), _ = u.parentType;
2434
1582
  for (u.parentType = "list"; a < t; ) {
2435
- c = h, r = u.eMarks[a];
2436
- const m = u.sCount[a] + h - (u.bMarks[a] + u.tShift[a]);
2437
- let C = m;
1583
+ c = b, r = u.eMarks[a];
1584
+ const x = u.sCount[a] + b - (u.bMarks[a] + u.tShift[a]);
1585
+ let m = x;
2438
1586
  for (; c < r; ) {
2439
- const pu = u.src.charCodeAt(c);
2440
- if (pu === 9)
2441
- C += 4 - (C + u.bsCount[a]) % 4;
2442
- else if (pu === 32)
2443
- C++;
1587
+ const U = u.src.charCodeAt(c);
1588
+ if (U === 9)
1589
+ m += 4 - (m + u.bsCount[a]) % 4;
1590
+ else if (U === 32)
1591
+ m++;
2444
1592
  else
2445
1593
  break;
2446
1594
  c++;
2447
1595
  }
2448
- const y = c;
2449
- let L;
2450
- y >= r ? L = 1 : L = C - m, L > 4 && (L = 1);
2451
- const Y = m + L;
2452
- o = u.push("list_item_open", "li", 1), o.markup = String.fromCharCode(p);
2453
- const tu = [a, 0];
2454
- o.map = tu, d && (o.info = u.src.slice(i, h - 1));
2455
- const Eu = u.tight, O = u.tShift[a], $u = u.sCount[a], ju = u.listIndent;
2456
- if (u.listIndent = u.blkIndent, u.blkIndent = Y, u.tight = !0, u.tShift[a] = y - u.bMarks[a], u.sCount[a] = C, 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, o = u.push("list_item_close", "li", -1), o.markup = String.fromCharCode(p), a = u.line, tu[1] = a, a >= t || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
1596
+ const D = c;
1597
+ let y;
1598
+ D >= r ? y = 1 : y = m - x, y > 4 && (y = 1);
1599
+ const T = x + y;
1600
+ i = u.push("list_item_open", "li", 1), i.markup = String.fromCharCode(l);
1601
+ const P = [a, 0];
1602
+ i.map = P, d && (i.info = u.src.slice(o, b - 1));
1603
+ const X = u.tight, xu = u.tShift[a], M0 = u.sCount[a], q0 = u.listIndent;
1604
+ if (u.listIndent = u.blkIndent, u.blkIndent = T, u.tight = !0, u.tShift[a] = D - u.bMarks[a], u.sCount[a] = m, D >= r && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, a, t, !0), (!u.tight || C) && (s = !1), C = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = q0, u.tShift[a] = xu, u.sCount[a] = M0, u.tight = X, i = u.push("list_item_close", "li", -1), i.markup = String.fromCharCode(l), a = u.line, P[1] = a, a >= t || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
2457
1605
  break;
2458
- let yu = !1;
2459
- for (let pu = 0, Ie = E.length; pu < Ie; pu++)
2460
- if (E[pu](u, a, t, !0)) {
2461
- yu = !0;
1606
+ let Pu = !1;
1607
+ for (let U = 0, R0 = p.length; U < R0; U++)
1608
+ if (p[U](u, a, t, !0)) {
1609
+ Pu = !0;
2462
1610
  break;
2463
1611
  }
2464
- if (yu)
1612
+ if (Pu)
2465
1613
  break;
2466
1614
  if (d) {
2467
- if (h = bt(u, a), h < 0)
1615
+ if (b = Yu(u, a), b < 0)
2468
1616
  break;
2469
- i = u.bMarks[a] + u.tShift[a];
2470
- } else if (h = ht(u, a), h < 0)
1617
+ o = u.bMarks[a] + u.tShift[a];
1618
+ } else if (b = Xu(u, a), b < 0)
2471
1619
  break;
2472
- if (p !== u.src.charCodeAt(h - 1))
1620
+ if (l !== u.src.charCodeAt(b - 1))
2473
1621
  break;
2474
1622
  }
2475
- return d ? o = u.push("ordered_list_close", "ol", -1) : o = u.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(p), D[1] = a, u.line = a, u.parentType = k, s && to(u, A), !0;
1623
+ return d ? i = u.push("ordered_list_close", "ol", -1) : i = u.push("bullet_list_close", "ul", -1), i.markup = String.fromCharCode(l), g[1] = a, u.line = a, u.parentType = _, s && ft(u, k), !0;
2476
1624
  }
2477
- function ro(u, e, t, n) {
2478
- let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e], i = e + 1;
1625
+ function dt(u, e, t, n) {
1626
+ let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e], o = e + 1;
2479
1627
  if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 91)
2480
1628
  return !1;
2481
- function o(E) {
2482
- const k = u.lineMax;
2483
- if (E >= k || u.isEmpty(E))
1629
+ function i(p) {
1630
+ const _ = u.lineMax;
1631
+ if (p >= _ || u.isEmpty(p))
2484
1632
  return null;
2485
- let m = !1;
2486
- if (u.sCount[E] - u.blkIndent > 3 && (m = !0), u.sCount[E] < 0 && (m = !0), !m) {
2487
- const L = u.md.block.ruler.getRules("reference"), Y = u.parentType;
1633
+ let x = !1;
1634
+ if (u.sCount[p] - u.blkIndent > 3 && (x = !0), u.sCount[p] < 0 && (x = !0), !x) {
1635
+ const y = u.md.block.ruler.getRules("reference"), T = u.parentType;
2488
1636
  u.parentType = "reference";
2489
- let tu = !1;
2490
- for (let Eu = 0, O = L.length; Eu < O; Eu++)
2491
- if (L[Eu](u, E, k, !0)) {
2492
- tu = !0;
1637
+ let P = !1;
1638
+ for (let X = 0, xu = y.length; X < xu; X++)
1639
+ if (y[X](u, p, _, !0)) {
1640
+ P = !0;
2493
1641
  break;
2494
1642
  }
2495
- if (u.parentType = Y, tu)
1643
+ if (u.parentType = T, P)
2496
1644
  return null;
2497
1645
  }
2498
- const C = u.bMarks[E] + u.tShift[E], y = u.eMarks[E];
2499
- return u.src.slice(C, y + 1);
1646
+ const m = u.bMarks[p] + u.tShift[p], D = u.eMarks[p];
1647
+ return u.src.slice(m, D + 1);
2500
1648
  }
2501
1649
  let a = u.src.slice(r, c + 1);
2502
1650
  c = a.length;
2503
1651
  let s = -1;
2504
1652
  for (r = 1; r < c; r++) {
2505
- const E = a.charCodeAt(r);
2506
- if (E === 91)
1653
+ const p = a.charCodeAt(r);
1654
+ if (p === 91)
2507
1655
  return !1;
2508
- if (E === 93) {
1656
+ if (p === 93) {
2509
1657
  s = r;
2510
1658
  break;
2511
- } else if (E === 10) {
2512
- const k = o(i);
2513
- k !== null && (a += k, c = a.length, i++);
2514
- } else if (E === 92 && (r++, r < c && a.charCodeAt(r) === 10)) {
2515
- const k = o(i);
2516
- k !== null && (a += k, c = a.length, i++);
1659
+ } else if (p === 10) {
1660
+ const _ = i(o);
1661
+ _ !== null && (a += _, c = a.length, o++);
1662
+ } else if (p === 92 && (r++, r < c && a.charCodeAt(r) === 10)) {
1663
+ const _ = i(o);
1664
+ _ !== null && (a += _, c = a.length, o++);
2517
1665
  }
2518
1666
  }
2519
1667
  if (s < 0 || a.charCodeAt(s + 1) !== 58)
2520
1668
  return !1;
2521
1669
  for (r = s + 2; r < c; r++) {
2522
- const E = a.charCodeAt(r);
2523
- if (E === 10) {
2524
- const k = o(i);
2525
- k !== null && (a += k, c = a.length, i++);
2526
- } else if (!w(E)) break;
1670
+ const p = a.charCodeAt(r);
1671
+ if (p === 10) {
1672
+ const _ = i(o);
1673
+ _ !== null && (a += _, c = a.length, o++);
1674
+ } else if (!E(p)) break;
2527
1675
  }
2528
1676
  const f = u.md.helpers.parseLinkDestination(a, r, c);
2529
1677
  if (!f.ok)
@@ -2532,40 +1680,40 @@ function ro(u, e, t, n) {
2532
1680
  if (!u.md.validateLink(d))
2533
1681
  return !1;
2534
1682
  r = f.pos;
2535
- const _ = r, h = i, p = r;
1683
+ const h = r, b = o, l = r;
2536
1684
  for (; r < c; r++) {
2537
- const E = a.charCodeAt(r);
2538
- if (E === 10) {
2539
- const k = o(i);
2540
- k !== null && (a += k, c = a.length, i++);
2541
- } else if (!w(E)) break;
2542
- }
2543
- let A = u.md.helpers.parseLinkTitle(a, r, c);
2544
- for (; A.can_continue; ) {
2545
- const E = o(i);
2546
- if (E === null) break;
2547
- a += E, r = c, c = a.length, i++, A = u.md.helpers.parseLinkTitle(a, r, c, A);
2548
- }
2549
- let D;
2550
- for (r < c && p !== r && A.ok ? (D = A.str, r = A.pos) : (D = "", r = _, i = h); r < c; ) {
2551
- const E = a.charCodeAt(r);
2552
- if (!w(E))
1685
+ const p = a.charCodeAt(r);
1686
+ if (p === 10) {
1687
+ const _ = i(o);
1688
+ _ !== null && (a += _, c = a.length, o++);
1689
+ } else if (!E(p)) break;
1690
+ }
1691
+ let k = u.md.helpers.parseLinkTitle(a, r, c);
1692
+ for (; k.can_continue; ) {
1693
+ const p = i(o);
1694
+ if (p === null) break;
1695
+ a += p, r = c, c = a.length, o++, k = u.md.helpers.parseLinkTitle(a, r, c, k);
1696
+ }
1697
+ let g;
1698
+ for (r < c && l !== r && k.ok ? (g = k.str, r = k.pos) : (g = "", r = h, o = b); r < c; ) {
1699
+ const p = a.charCodeAt(r);
1700
+ if (!E(p))
2553
1701
  break;
2554
1702
  r++;
2555
1703
  }
2556
- if (r < c && a.charCodeAt(r) !== 10 && D)
2557
- for (D = "", r = _, i = h; r < c; ) {
2558
- const E = a.charCodeAt(r);
2559
- if (!w(E))
1704
+ if (r < c && a.charCodeAt(r) !== 10 && g)
1705
+ for (g = "", r = h, o = b; r < c; ) {
1706
+ const p = a.charCodeAt(r);
1707
+ if (!E(p))
2560
1708
  break;
2561
1709
  r++;
2562
1710
  }
2563
1711
  if (r < c && a.charCodeAt(r) !== 10)
2564
1712
  return !1;
2565
- const S = ve(a.slice(1, s));
2566
- 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;
1713
+ const C = bu(a.slice(1, s));
1714
+ return C ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[C] > "u" && (u.env.references[C] = { title: g, href: d }), u.line = o), !0) : !1;
2567
1715
  }
2568
- const co = [
1716
+ const bt = [
2569
1717
  "address",
2570
1718
  "article",
2571
1719
  "aside",
@@ -2628,31 +1776,31 @@ const co = [
2628
1776
  "tr",
2629
1777
  "track",
2630
1778
  "ul"
2631
- ], oo = "[a-zA-Z_:][a-zA-Z0-9:._-]*", io = "[^\"'=<>`\\x00-\\x20]+", ao = "'[^']*'", so = '"[^"]*"', lo = "(?:" + io + "|" + ao + "|" + so + ")", fo = "(?:\\s+" + oo + "(?:\\s*=\\s*" + lo + ")?)", $t = "<[A-Za-z][A-Za-z0-9\\-]*" + fo + "*\\s*\\/?>", jt = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", po = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", ho = "<[?][\\s\\S]*?[?]>", bo = "<![A-Za-z][^>]*>", _o = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", mo = new RegExp("^(?:" + $t + "|" + jt + "|" + po + "|" + ho + "|" + bo + "|" + _o + ")"), xo = new RegExp("^(?:" + $t + "|" + jt + ")"), Lu = [
1779
+ ], ht = "[a-zA-Z_:][a-zA-Z0-9:._-]*", pt = "[^\"'=<>`\\x00-\\x20]+", xt = "'[^']*'", _t = '"[^"]*"', mt = "(?:" + pt + "|" + xt + "|" + _t + ")", kt = "(?:\\s+" + ht + "(?:\\s*=\\s*" + mt + ")?)", k0 = "<[A-Za-z][A-Za-z0-9\\-]*" + kt + "*\\s*\\/?>", g0 = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", gt = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", Dt = "<[?][\\s\\S]*?[?]>", Ct = "<![A-Za-z][^>]*>", Et = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", Ft = new RegExp("^(?:" + k0 + "|" + g0 + "|" + gt + "|" + Dt + "|" + Ct + "|" + Et + ")"), At = new RegExp("^(?:" + k0 + "|" + g0 + ")"), H = [
2632
1780
  [/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
2633
1781
  [/^<!--/, /-->/, !0],
2634
1782
  [/^<\?/, /\?>/, !0],
2635
1783
  [/^<![A-Z]/, />/, !0],
2636
1784
  [/^<!\[CDATA\[/, /\]\]>/, !0],
2637
- [new RegExp("^</?(" + co.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
2638
- [new RegExp(xo.source + "\\s*$"), /^$/, !1]
1785
+ [new RegExp("^</?(" + bt.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
1786
+ [new RegExp(At.source + "\\s*$"), /^$/, !1]
2639
1787
  ];
2640
- function go(u, e, t, n) {
1788
+ function yt(u, e, t, n) {
2641
1789
  let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
2642
1790
  if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(r) !== 60)
2643
1791
  return !1;
2644
- let i = u.src.slice(r, c), o = 0;
2645
- for (; o < Lu.length && !Lu[o][0].test(i); o++)
1792
+ let o = u.src.slice(r, c), i = 0;
1793
+ for (; i < H.length && !H[i][0].test(o); i++)
2646
1794
  ;
2647
- if (o === Lu.length)
1795
+ if (i === H.length)
2648
1796
  return !1;
2649
1797
  if (n)
2650
- return Lu[o][2];
1798
+ return H[i][2];
2651
1799
  let a = e + 1;
2652
- if (!Lu[o][1].test(i)) {
1800
+ if (!H[i][1].test(o)) {
2653
1801
  for (; a < t && !(u.sCount[a] < u.blkIndent); a++)
2654
- if (r = u.bMarks[a] + u.tShift[a], c = u.eMarks[a], i = u.src.slice(r, c), Lu[o][1].test(i)) {
2655
- i.length !== 0 && a++;
1802
+ if (r = u.bMarks[a] + u.tShift[a], c = u.eMarks[a], o = u.src.slice(r, c), H[i][1].test(o)) {
1803
+ o.length !== 0 && a++;
2656
1804
  break;
2657
1805
  }
2658
1806
  }
@@ -2660,71 +1808,71 @@ function go(u, e, t, n) {
2660
1808
  const s = u.push("html_block", "", 0);
2661
1809
  return s.map = [e, a], s.content = u.getLines(e, a, u.blkIndent, !0), !0;
2662
1810
  }
2663
- function ko(u, e, t, n) {
1811
+ function wt(u, e, t, n) {
2664
1812
  let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
2665
1813
  if (u.sCount[e] - u.blkIndent >= 4)
2666
1814
  return !1;
2667
- let i = u.src.charCodeAt(r);
2668
- if (i !== 35 || r >= c)
1815
+ let o = u.src.charCodeAt(r);
1816
+ if (o !== 35 || r >= c)
2669
1817
  return !1;
2670
- let o = 1;
2671
- for (i = u.src.charCodeAt(++r); i === 35 && r < c && o <= 6; )
2672
- o++, i = u.src.charCodeAt(++r);
2673
- if (o > 6 || r < c && !w(i))
1818
+ let i = 1;
1819
+ for (o = u.src.charCodeAt(++r); o === 35 && r < c && i <= 6; )
1820
+ i++, o = u.src.charCodeAt(++r);
1821
+ if (i > 6 || r < c && !E(o))
2674
1822
  return !1;
2675
1823
  if (n)
2676
1824
  return !0;
2677
1825
  c = u.skipSpacesBack(c, r);
2678
1826
  const a = u.skipCharsBack(c, 35, r);
2679
- a > r && w(u.src.charCodeAt(a - 1)) && (c = a), u.line = e + 1;
2680
- const s = u.push("heading_open", "h" + String(o), 1);
2681
- s.markup = "########".slice(0, o), s.map = [e, u.line];
1827
+ a > r && E(u.src.charCodeAt(a - 1)) && (c = a), u.line = e + 1;
1828
+ const s = u.push("heading_open", "h" + String(i), 1);
1829
+ s.markup = "########".slice(0, i), s.map = [e, u.line];
2682
1830
  const f = u.push("inline", "", 0);
2683
1831
  f.content = u.src.slice(r, c).trim(), f.map = [e, u.line], f.children = [];
2684
- const d = u.push("heading_close", "h" + String(o), -1);
2685
- return d.markup = "########".slice(0, o), !0;
1832
+ const d = u.push("heading_close", "h" + String(i), -1);
1833
+ return d.markup = "########".slice(0, i), !0;
2686
1834
  }
2687
- function Eo(u, e, t) {
1835
+ function vt(u, e, t) {
2688
1836
  const n = u.md.block.ruler.getRules("paragraph");
2689
1837
  if (u.sCount[e] - u.blkIndent >= 4)
2690
1838
  return !1;
2691
1839
  const r = u.parentType;
2692
1840
  u.parentType = "paragraph";
2693
- let c = 0, i, o = e + 1;
2694
- for (; o < t && !u.isEmpty(o); o++) {
2695
- if (u.sCount[o] - u.blkIndent > 3)
1841
+ let c = 0, o, i = e + 1;
1842
+ for (; i < t && !u.isEmpty(i); i++) {
1843
+ if (u.sCount[i] - u.blkIndent > 3)
2696
1844
  continue;
2697
- if (u.sCount[o] >= u.blkIndent) {
2698
- let h = u.bMarks[o] + u.tShift[o];
2699
- const p = u.eMarks[o];
2700
- if (h < p && (i = u.src.charCodeAt(h), (i === 45 || i === 61) && (h = u.skipChars(h, i), h = u.skipSpaces(h), h >= p))) {
2701
- c = i === 61 ? 1 : 2;
1845
+ if (u.sCount[i] >= u.blkIndent) {
1846
+ let b = u.bMarks[i] + u.tShift[i];
1847
+ const l = u.eMarks[i];
1848
+ if (b < l && (o = u.src.charCodeAt(b), (o === 45 || o === 61) && (b = u.skipChars(b, o), b = u.skipSpaces(b), b >= l))) {
1849
+ c = o === 61 ? 1 : 2;
2702
1850
  break;
2703
1851
  }
2704
1852
  }
2705
- if (u.sCount[o] < 0)
1853
+ if (u.sCount[i] < 0)
2706
1854
  continue;
2707
- let _ = !1;
2708
- for (let h = 0, p = n.length; h < p; h++)
2709
- if (n[h](u, o, t, !0)) {
2710
- _ = !0;
1855
+ let h = !1;
1856
+ for (let b = 0, l = n.length; b < l; b++)
1857
+ if (n[b](u, i, t, !0)) {
1858
+ h = !0;
2711
1859
  break;
2712
1860
  }
2713
- if (_)
1861
+ if (h)
2714
1862
  break;
2715
1863
  }
2716
1864
  if (!c)
2717
1865
  return !1;
2718
- const a = u.getLines(e, o, u.blkIndent, !1).trim();
2719
- u.line = o + 1;
1866
+ const a = u.getLines(e, i, u.blkIndent, !1).trim();
1867
+ u.line = i + 1;
2720
1868
  const s = u.push("heading_open", "h" + String(c), 1);
2721
- s.markup = String.fromCharCode(i), s.map = [e, u.line];
1869
+ s.markup = String.fromCharCode(o), s.map = [e, u.line];
2722
1870
  const f = u.push("inline", "", 0);
2723
1871
  f.content = a, f.map = [e, u.line - 1], f.children = [];
2724
1872
  const d = u.push("heading_close", "h" + String(c), -1);
2725
- return d.markup = String.fromCharCode(i), u.parentType = r, !0;
1873
+ return d.markup = String.fromCharCode(o), u.parentType = r, !0;
2726
1874
  }
2727
- function Co(u, e, t) {
1875
+ function St(u, e, t) {
2728
1876
  const n = u.md.block.ruler.getRules("paragraph"), r = u.parentType;
2729
1877
  let c = e + 1;
2730
1878
  for (u.parentType = "paragraph"; c < t && !u.isEmpty(c); c++) {
@@ -2739,37 +1887,37 @@ function Co(u, e, t) {
2739
1887
  if (s)
2740
1888
  break;
2741
1889
  }
2742
- const i = u.getLines(e, c, u.blkIndent, !1).trim();
1890
+ const o = u.getLines(e, c, u.blkIndent, !1).trim();
2743
1891
  u.line = c;
2744
- const o = u.push("paragraph_open", "p", 1);
2745
- o.map = [e, u.line];
1892
+ const i = u.push("paragraph_open", "p", 1);
1893
+ i.map = [e, u.line];
2746
1894
  const a = u.push("inline", "", 0);
2747
- return a.content = i, a.map = [e, u.line], a.children = [], u.push("paragraph_close", "p", -1), u.parentType = r, !0;
1895
+ return a.content = o, a.map = [e, u.line], a.children = [], u.push("paragraph_close", "p", -1), u.parentType = r, !0;
2748
1896
  }
2749
- const Ce = [
1897
+ const ou = [
2750
1898
  // First 2 params - rule name & source. Secondary array - list of rules,
2751
1899
  // which can be terminated by this one.
2752
- ["table", Jc, ["paragraph", "reference"]],
2753
- ["code", Qc],
2754
- ["fence", Kc, ["paragraph", "reference", "blockquote", "list"]],
2755
- ["blockquote", uo, ["paragraph", "reference", "blockquote", "list"]],
2756
- ["hr", eo, ["paragraph", "reference", "blockquote", "list"]],
2757
- ["list", no, ["paragraph", "reference", "blockquote"]],
2758
- ["reference", ro],
2759
- ["html_block", go, ["paragraph", "reference", "blockquote"]],
2760
- ["heading", ko, ["paragraph", "reference", "blockquote"]],
2761
- ["lheading", Eo],
2762
- ["paragraph", Co]
1900
+ ["table", ct, ["paragraph", "reference"]],
1901
+ ["code", it],
1902
+ ["fence", ot, ["paragraph", "reference", "blockquote", "list"]],
1903
+ ["blockquote", at, ["paragraph", "reference", "blockquote", "list"]],
1904
+ ["hr", st, ["paragraph", "reference", "blockquote", "list"]],
1905
+ ["list", lt, ["paragraph", "reference", "blockquote"]],
1906
+ ["reference", dt],
1907
+ ["html_block", yt, ["paragraph", "reference", "blockquote"]],
1908
+ ["heading", wt, ["paragraph", "reference", "blockquote"]],
1909
+ ["lheading", vt],
1910
+ ["paragraph", St]
2763
1911
  ];
2764
- function Re() {
2765
- this.ruler = new V();
2766
- for (let u = 0; u < Ce.length; u++)
2767
- this.ruler.push(Ce[u][0], Ce[u][1], { alt: (Ce[u][2] || []).slice() });
1912
+ function hu() {
1913
+ this.ruler = new w();
1914
+ for (let u = 0; u < ou.length; u++)
1915
+ this.ruler.push(ou[u][0], ou[u][1], { alt: (ou[u][2] || []).slice() });
2768
1916
  }
2769
- Re.prototype.tokenize = function(u, e, t) {
1917
+ hu.prototype.tokenize = function(u, e, t) {
2770
1918
  const n = this.ruler.getRules(""), r = n.length, c = u.md.options.maxNesting;
2771
- let i = e, o = !1;
2772
- for (; i < t && (u.line = i = u.skipEmptyLines(i), !(i >= t || u.sCount[i] < u.blkIndent)); ) {
1919
+ let o = e, i = !1;
1920
+ for (; o < t && (u.line = o = u.skipEmptyLines(o), !(o >= t || u.sCount[o] < u.blkIndent)); ) {
2773
1921
  if (u.level >= c) {
2774
1922
  u.line = t;
2775
1923
  break;
@@ -2777,45 +1925,45 @@ Re.prototype.tokenize = function(u, e, t) {
2777
1925
  const a = u.line;
2778
1926
  let s = !1;
2779
1927
  for (let f = 0; f < r; f++)
2780
- if (s = n[f](u, i, t, !1), s) {
1928
+ if (s = n[f](u, o, t, !1), s) {
2781
1929
  if (a >= u.line)
2782
1930
  throw new Error("block rule didn't increment state.line");
2783
1931
  break;
2784
1932
  }
2785
1933
  if (!s) throw new Error("none of the block rules matched");
2786
- u.tight = !o, u.isEmpty(u.line - 1) && (o = !0), i = u.line, i < t && u.isEmpty(i) && (o = !0, i++, u.line = i);
1934
+ u.tight = !i, u.isEmpty(u.line - 1) && (i = !0), o = u.line, o < t && u.isEmpty(o) && (i = !0, o++, u.line = o);
2787
1935
  }
2788
1936
  };
2789
- Re.prototype.parse = function(u, e, t, n) {
1937
+ hu.prototype.parse = function(u, e, t, n) {
2790
1938
  if (!u)
2791
1939
  return;
2792
1940
  const r = new this.State(u, e, t, n);
2793
1941
  this.tokenize(r, r.line, r.lineMax);
2794
1942
  };
2795
- Re.prototype.State = au;
2796
- function le(u, e, t, n) {
1943
+ hu.prototype.State = R;
1944
+ function nu(u, e, t, n) {
2797
1945
  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;
2798
1946
  }
2799
- le.prototype.pushPending = function() {
2800
- const u = new eu("text", "", 0);
1947
+ nu.prototype.pushPending = function() {
1948
+ const u = new z("text", "", 0);
2801
1949
  return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
2802
1950
  };
2803
- le.prototype.push = function(u, e, t) {
1951
+ nu.prototype.push = function(u, e, t) {
2804
1952
  this.pending && this.pushPending();
2805
- const n = new eu(u, e, t);
1953
+ const n = new z(u, e, t);
2806
1954
  let r = null;
2807
1955
  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;
2808
1956
  };
2809
- le.prototype.scanDelims = function(u, e) {
1957
+ nu.prototype.scanDelims = function(u, e) {
2810
1958
  const t = this.posMax, n = this.src.charCodeAt(u), r = u > 0 ? this.src.charCodeAt(u - 1) : 32;
2811
1959
  let c = u;
2812
1960
  for (; c < t && this.src.charCodeAt(c) === n; )
2813
1961
  c++;
2814
- const i = c - u, o = c < t ? this.src.charCodeAt(c) : 32, a = oe(r) || ce(String.fromCharCode(r)), s = oe(o) || ce(String.fromCharCode(o)), f = re(r), d = re(o), _ = !d && (!s || f || a), h = !f && (!a || d || s);
2815
- return { can_open: _ && (e || !h || a), can_close: h && (e || !_ || s), length: i };
1962
+ const o = c - u, i = c < t ? this.src.charCodeAt(c) : 32, a = uu(r) || K(String.fromCharCode(r)), s = uu(i) || K(String.fromCharCode(i)), f = Y(r), d = Y(i), h = !d && (!s || f || a), b = !f && (!a || d || s);
1963
+ return { can_open: h && (e || !b || a), can_close: b && (e || !h || s), length: o };
2816
1964
  };
2817
- le.prototype.Token = eu;
2818
- function Ao(u) {
1965
+ nu.prototype.Token = z;
1966
+ function Bt(u) {
2819
1967
  switch (u) {
2820
1968
  case 10:
2821
1969
  case 33:
@@ -2845,38 +1993,38 @@ function Ao(u) {
2845
1993
  return !1;
2846
1994
  }
2847
1995
  }
2848
- function Do(u, e) {
1996
+ function Tt(u, e) {
2849
1997
  let t = u.pos;
2850
- for (; t < u.posMax && !Ao(u.src.charCodeAt(t)); )
1998
+ for (; t < u.posMax && !Bt(u.src.charCodeAt(t)); )
2851
1999
  t++;
2852
2000
  return t === u.pos ? !1 : (e || (u.pending += u.src.slice(u.pos, t)), u.pos = t, !0);
2853
2001
  }
2854
- const yo = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
2855
- function Fo(u, e) {
2002
+ const zt = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
2003
+ function It(u, e) {
2856
2004
  if (!u.md.options.linkify || u.linkLevel > 0) return !1;
2857
2005
  const t = u.pos, n = u.posMax;
2858
2006
  if (t + 3 > n || u.src.charCodeAt(t) !== 58 || u.src.charCodeAt(t + 1) !== 47 || u.src.charCodeAt(t + 2) !== 47) return !1;
2859
- const r = u.pending.match(yo);
2007
+ const r = u.pending.match(zt);
2860
2008
  if (!r) return !1;
2861
- const c = r[1], i = u.md.linkify.matchAtStart(u.src.slice(t - c.length));
2862
- if (!i) return !1;
2863
- let o = i.url;
2864
- if (o.length <= c.length) return !1;
2865
- o = o.replace(/\*+$/, "");
2866
- const a = u.md.normalizeLink(o);
2009
+ const c = r[1], o = u.md.linkify.matchAtStart(u.src.slice(t - c.length));
2010
+ if (!o) return !1;
2011
+ let i = o.url;
2012
+ if (i.length <= c.length) return !1;
2013
+ i = i.replace(/\*+$/, "");
2014
+ const a = u.md.normalizeLink(i);
2867
2015
  if (!u.md.validateLink(a)) return !1;
2868
2016
  if (!e) {
2869
2017
  u.pending = u.pending.slice(0, -c.length);
2870
2018
  const s = u.push("link_open", "a", 1);
2871
2019
  s.attrs = [["href", a]], s.markup = "linkify", s.info = "auto";
2872
2020
  const f = u.push("text", "", 0);
2873
- f.content = u.md.normalizeLinkText(o);
2021
+ f.content = u.md.normalizeLinkText(i);
2874
2022
  const d = u.push("link_close", "a", -1);
2875
2023
  d.markup = "linkify", d.info = "auto";
2876
2024
  }
2877
- return u.pos += o.length - c.length, !0;
2025
+ return u.pos += i.length - c.length, !0;
2878
2026
  }
2879
- function To(u, e) {
2027
+ function Mt(u, e) {
2880
2028
  let t = u.pos;
2881
2029
  if (u.src.charCodeAt(t) !== 10)
2882
2030
  return !1;
@@ -2891,39 +2039,39 @@ function To(u, e) {
2891
2039
  u.pending = u.pending.slice(0, -1), u.push("softbreak", "br", 0);
2892
2040
  else
2893
2041
  u.push("softbreak", "br", 0);
2894
- for (t++; t < r && w(u.src.charCodeAt(t)); )
2042
+ for (t++; t < r && E(u.src.charCodeAt(t)); )
2895
2043
  t++;
2896
2044
  return u.pos = t, !0;
2897
2045
  }
2898
- const m0 = [];
2046
+ const Ru = [];
2899
2047
  for (let u = 0; u < 256; u++)
2900
- m0.push(0);
2048
+ Ru.push(0);
2901
2049
  "\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
2902
- m0[u.charCodeAt(0)] = 1;
2050
+ Ru[u.charCodeAt(0)] = 1;
2903
2051
  });
2904
- function So(u, e) {
2052
+ function qt(u, e) {
2905
2053
  let t = u.pos;
2906
2054
  const n = u.posMax;
2907
2055
  if (u.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
2908
2056
  let r = u.src.charCodeAt(t);
2909
2057
  if (r === 10) {
2910
- for (e || u.push("hardbreak", "br", 0), t++; t < n && (r = u.src.charCodeAt(t), !!w(r)); )
2058
+ for (e || u.push("hardbreak", "br", 0), t++; t < n && (r = u.src.charCodeAt(t), !!E(r)); )
2911
2059
  t++;
2912
2060
  return u.pos = t, !0;
2913
2061
  }
2914
2062
  let c = u.src[t];
2915
2063
  if (r >= 55296 && r <= 56319 && t + 1 < n) {
2916
- const o = u.src.charCodeAt(t + 1);
2917
- o >= 56320 && o <= 57343 && (c += u.src[t + 1], t++);
2064
+ const i = u.src.charCodeAt(t + 1);
2065
+ i >= 56320 && i <= 57343 && (c += u.src[t + 1], t++);
2918
2066
  }
2919
- const i = "\\" + c;
2067
+ const o = "\\" + c;
2920
2068
  if (!e) {
2921
- const o = u.push("text_special", "", 0);
2922
- r < 256 && m0[r] !== 0 ? o.content = c : o.content = i, o.markup = i, o.info = "escape";
2069
+ const i = u.push("text_special", "", 0);
2070
+ r < 256 && Ru[r] !== 0 ? i.content = c : i.content = o, i.markup = o, i.info = "escape";
2923
2071
  }
2924
2072
  return u.pos = t + 1, !0;
2925
2073
  }
2926
- function wo(u, e) {
2074
+ function Rt(u, e) {
2927
2075
  let t = u.pos;
2928
2076
  if (u.src.charCodeAt(t) !== 96)
2929
2077
  return !1;
@@ -2932,38 +2080,38 @@ function wo(u, e) {
2932
2080
  const c = u.posMax;
2933
2081
  for (; t < c && u.src.charCodeAt(t) === 96; )
2934
2082
  t++;
2935
- const i = u.src.slice(r, t), o = i.length;
2936
- if (u.backticksScanned && (u.backticks[o] || 0) <= r)
2937
- return e || (u.pending += i), u.pos += o, !0;
2083
+ const o = u.src.slice(r, t), i = o.length;
2084
+ if (u.backticksScanned && (u.backticks[i] || 0) <= r)
2085
+ return e || (u.pending += o), u.pos += i, !0;
2938
2086
  let a = t, s;
2939
2087
  for (; (s = u.src.indexOf("`", a)) !== -1; ) {
2940
2088
  for (a = s + 1; a < c && u.src.charCodeAt(a) === 96; )
2941
2089
  a++;
2942
2090
  const f = a - s;
2943
- if (f === o) {
2091
+ if (f === i) {
2944
2092
  if (!e) {
2945
2093
  const d = u.push("code_inline", "code", 0);
2946
- d.markup = i, d.content = u.src.slice(t, s).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
2094
+ d.markup = o, d.content = u.src.slice(t, s).replace(/\n/g, " ").replace(/^ (.+) $/, "$1");
2947
2095
  }
2948
2096
  return u.pos = a, !0;
2949
2097
  }
2950
2098
  u.backticks[f] = s;
2951
2099
  }
2952
- return u.backticksScanned = !0, e || (u.pending += i), u.pos += o, !0;
2100
+ return u.backticksScanned = !0, e || (u.pending += o), u.pos += i, !0;
2953
2101
  }
2954
- function vo(u, e) {
2102
+ function Lt(u, e) {
2955
2103
  const t = u.pos, n = u.src.charCodeAt(t);
2956
2104
  if (e || n !== 126)
2957
2105
  return !1;
2958
2106
  const r = u.scanDelims(u.pos, !0);
2959
2107
  let c = r.length;
2960
- const i = String.fromCharCode(n);
2108
+ const o = String.fromCharCode(n);
2961
2109
  if (c < 2)
2962
2110
  return !1;
2963
- let o;
2964
- c % 2 && (o = u.push("text", "", 0), o.content = i, c--);
2111
+ let i;
2112
+ c % 2 && (i = u.push("text", "", 0), i.content = o, c--);
2965
2113
  for (let a = 0; a < c; a += 2)
2966
- o = u.push("text", "", 0), o.content = i + i, u.delimiters.push({
2114
+ i = u.push("text", "", 0), i.content = o + o, u.delimiters.push({
2967
2115
  marker: n,
2968
2116
  length: 0,
2969
2117
  // disable "rule of 3" length checks meant for emphasis
@@ -2974,42 +2122,42 @@ function vo(u, e) {
2974
2122
  });
2975
2123
  return u.pos += r.length, !0;
2976
2124
  }
2977
- function _t(u, e) {
2125
+ function Ku(u, e) {
2978
2126
  let t;
2979
2127
  const n = [], r = e.length;
2980
2128
  for (let c = 0; c < r; c++) {
2981
- const i = e[c];
2982
- if (i.marker !== 126 || i.end === -1)
2129
+ const o = e[c];
2130
+ if (o.marker !== 126 || o.end === -1)
2983
2131
  continue;
2984
- const o = e[i.end];
2985
- t = u.tokens[i.token], t.type = "s_open", t.tag = "s", t.nesting = 1, t.markup = "~~", t.content = "", t = u.tokens[o.token], t.type = "s_close", t.tag = "s", t.nesting = -1, t.markup = "~~", t.content = "", u.tokens[o.token - 1].type === "text" && u.tokens[o.token - 1].content === "~" && n.push(o.token - 1);
2132
+ const i = e[o.end];
2133
+ t = u.tokens[o.token], t.type = "s_open", t.tag = "s", t.nesting = 1, t.markup = "~~", t.content = "", t = u.tokens[i.token], t.type = "s_close", t.tag = "s", t.nesting = -1, t.markup = "~~", t.content = "", u.tokens[i.token - 1].type === "text" && u.tokens[i.token - 1].content === "~" && n.push(i.token - 1);
2986
2134
  }
2987
2135
  for (; n.length; ) {
2988
2136
  const c = n.pop();
2989
- let i = c + 1;
2990
- for (; i < u.tokens.length && u.tokens[i].type === "s_close"; )
2991
- i++;
2992
- i--, c !== i && (t = u.tokens[i], u.tokens[i] = u.tokens[c], u.tokens[c] = t);
2137
+ let o = c + 1;
2138
+ for (; o < u.tokens.length && u.tokens[o].type === "s_close"; )
2139
+ o++;
2140
+ o--, c !== o && (t = u.tokens[o], u.tokens[o] = u.tokens[c], u.tokens[c] = t);
2993
2141
  }
2994
2142
  }
2995
- function Ro(u) {
2143
+ function Pt(u) {
2996
2144
  const e = u.tokens_meta, t = u.tokens_meta.length;
2997
- _t(u, u.delimiters);
2145
+ Ku(u, u.delimiters);
2998
2146
  for (let n = 0; n < t; n++)
2999
- e[n] && e[n].delimiters && _t(u, e[n].delimiters);
2147
+ e[n] && e[n].delimiters && Ku(u, e[n].delimiters);
3000
2148
  }
3001
- const Gt = {
3002
- tokenize: vo,
3003
- postProcess: Ro
2149
+ const D0 = {
2150
+ tokenize: Lt,
2151
+ postProcess: Pt
3004
2152
  };
3005
- function Mo(u, e) {
2153
+ function Ot(u, e) {
3006
2154
  const t = u.pos, n = u.src.charCodeAt(t);
3007
2155
  if (e || n !== 95 && n !== 42)
3008
2156
  return !1;
3009
2157
  const r = u.scanDelims(u.pos, n === 42);
3010
2158
  for (let c = 0; c < r.length; c++) {
3011
- const i = u.push("text", "", 0);
3012
- i.content = String.fromCharCode(n), u.delimiters.push({
2159
+ const o = u.push("text", "", 0);
2160
+ o.content = String.fromCharCode(n), u.delimiters.push({
3013
2161
  // Char code of the starting marker (number).
3014
2162
  //
3015
2163
  marker: n,
@@ -3032,130 +2180,130 @@ function Mo(u, e) {
3032
2180
  }
3033
2181
  return u.pos += r.length, !0;
3034
2182
  }
3035
- function mt(u, e) {
2183
+ function u0(u, e) {
3036
2184
  const t = e.length;
3037
2185
  for (let n = t - 1; n >= 0; n--) {
3038
2186
  const r = e[n];
3039
2187
  if (r.marker !== 95 && r.marker !== 42 || r.end === -1)
3040
2188
  continue;
3041
- const c = e[r.end], i = n > 0 && e[n - 1].end === r.end + 1 && // check that first two markers match and adjacent
2189
+ const c = e[r.end], o = n > 0 && e[n - 1].end === r.end + 1 && // check that first two markers match and adjacent
3042
2190
  e[n - 1].marker === r.marker && e[n - 1].token === r.token - 1 && // check that last two markers are adjacent (we can safely assume they match)
3043
- e[r.end + 1].token === c.token + 1, o = String.fromCharCode(r.marker), a = u.tokens[r.token];
3044
- a.type = i ? "strong_open" : "em_open", a.tag = i ? "strong" : "em", a.nesting = 1, a.markup = i ? o + o : o, a.content = "";
2191
+ e[r.end + 1].token === c.token + 1, i = String.fromCharCode(r.marker), a = u.tokens[r.token];
2192
+ a.type = o ? "strong_open" : "em_open", a.tag = o ? "strong" : "em", a.nesting = 1, a.markup = o ? i + i : i, a.content = "";
3045
2193
  const s = u.tokens[c.token];
3046
- s.type = i ? "strong_close" : "em_close", s.tag = i ? "strong" : "em", s.nesting = -1, s.markup = i ? o + o : o, s.content = "", i && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
2194
+ s.type = o ? "strong_close" : "em_close", s.tag = o ? "strong" : "em", s.nesting = -1, s.markup = o ? i + i : i, s.content = "", o && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
3047
2195
  }
3048
2196
  }
3049
- function Io(u) {
2197
+ function Nt(u) {
3050
2198
  const e = u.tokens_meta, t = u.tokens_meta.length;
3051
- mt(u, u.delimiters);
2199
+ u0(u, u.delimiters);
3052
2200
  for (let n = 0; n < t; n++)
3053
- e[n] && e[n].delimiters && mt(u, e[n].delimiters);
2201
+ e[n] && e[n].delimiters && u0(u, e[n].delimiters);
3054
2202
  }
3055
- const Wt = {
3056
- tokenize: Mo,
3057
- postProcess: Io
2203
+ const C0 = {
2204
+ tokenize: Ot,
2205
+ postProcess: Nt
3058
2206
  };
3059
- function Lo(u, e) {
3060
- let t, n, r, c, i = "", o = "", a = u.pos, s = !0;
2207
+ function $t(u, e) {
2208
+ let t, n, r, c, o = "", i = "", a = u.pos, s = !0;
3061
2209
  if (u.src.charCodeAt(u.pos) !== 91)
3062
2210
  return !1;
3063
- const f = u.pos, d = u.posMax, _ = u.pos + 1, h = u.md.helpers.parseLinkLabel(u, u.pos, !0);
3064
- if (h < 0)
2211
+ const f = u.pos, d = u.posMax, h = u.pos + 1, b = u.md.helpers.parseLinkLabel(u, u.pos, !0);
2212
+ if (b < 0)
3065
2213
  return !1;
3066
- let p = h + 1;
3067
- if (p < d && u.src.charCodeAt(p) === 40) {
3068
- for (s = !1, p++; p < d && (t = u.src.charCodeAt(p), !(!w(t) && t !== 10)); p++)
2214
+ let l = b + 1;
2215
+ if (l < d && u.src.charCodeAt(l) === 40) {
2216
+ for (s = !1, l++; l < d && (t = u.src.charCodeAt(l), !(!E(t) && t !== 10)); l++)
3069
2217
  ;
3070
- if (p >= d)
2218
+ if (l >= d)
3071
2219
  return !1;
3072
- if (a = p, r = u.md.helpers.parseLinkDestination(u.src, p, u.posMax), r.ok) {
3073
- 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++)
2220
+ if (a = l, r = u.md.helpers.parseLinkDestination(u.src, l, u.posMax), r.ok) {
2221
+ for (o = u.md.normalizeLink(r.str), u.md.validateLink(o) ? l = r.pos : o = "", a = l; l < d && (t = u.src.charCodeAt(l), !(!E(t) && t !== 10)); l++)
3074
2222
  ;
3075
- if (r = u.md.helpers.parseLinkTitle(u.src, p, u.posMax), p < d && a !== p && r.ok)
3076
- for (o = r.str, p = r.pos; p < d && (t = u.src.charCodeAt(p), !(!w(t) && t !== 10)); p++)
2223
+ if (r = u.md.helpers.parseLinkTitle(u.src, l, u.posMax), l < d && a !== l && r.ok)
2224
+ for (i = r.str, l = r.pos; l < d && (t = u.src.charCodeAt(l), !(!E(t) && t !== 10)); l++)
3077
2225
  ;
3078
2226
  }
3079
- (p >= d || u.src.charCodeAt(p) !== 41) && (s = !0), p++;
2227
+ (l >= d || u.src.charCodeAt(l) !== 41) && (s = !0), l++;
3080
2228
  }
3081
2229
  if (s) {
3082
2230
  if (typeof u.env.references > "u")
3083
2231
  return !1;
3084
- 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)), c = u.env.references[ve(n)], !c)
2232
+ if (l < d && u.src.charCodeAt(l) === 91 ? (a = l + 1, l = u.md.helpers.parseLinkLabel(u, l), l >= 0 ? n = u.src.slice(a, l++) : l = b + 1) : l = b + 1, n || (n = u.src.slice(h, b)), c = u.env.references[bu(n)], !c)
3085
2233
  return u.pos = f, !1;
3086
- i = c.href, o = c.title;
2234
+ o = c.href, i = c.title;
3087
2235
  }
3088
2236
  if (!e) {
3089
- u.pos = _, u.posMax = h;
3090
- const A = u.push("link_open", "a", 1), D = [["href", i]];
3091
- A.attrs = D, o && D.push(["title", o]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
2237
+ u.pos = h, u.posMax = b;
2238
+ const k = u.push("link_open", "a", 1), g = [["href", o]];
2239
+ k.attrs = g, i && g.push(["title", i]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
3092
2240
  }
3093
- return u.pos = p, u.posMax = d, !0;
2241
+ return u.pos = l, u.posMax = d, !0;
3094
2242
  }
3095
- function Oo(u, e) {
3096
- let t, n, r, c, i, o, a, s, f = "";
3097
- const d = u.pos, _ = u.posMax;
2243
+ function jt(u, e) {
2244
+ let t, n, r, c, o, i, a, s, f = "";
2245
+ const d = u.pos, h = u.posMax;
3098
2246
  if (u.src.charCodeAt(u.pos) !== 33 || u.src.charCodeAt(u.pos + 1) !== 91)
3099
2247
  return !1;
3100
- const h = u.pos + 2, p = u.md.helpers.parseLinkLabel(u, u.pos + 1, !1);
3101
- if (p < 0)
2248
+ const b = u.pos + 2, l = u.md.helpers.parseLinkLabel(u, u.pos + 1, !1);
2249
+ if (l < 0)
3102
2250
  return !1;
3103
- if (c = p + 1, c < _ && u.src.charCodeAt(c) === 40) {
3104
- for (c++; c < _ && (t = u.src.charCodeAt(c), !(!w(t) && t !== 10)); c++)
2251
+ if (c = l + 1, c < h && u.src.charCodeAt(c) === 40) {
2252
+ for (c++; c < h && (t = u.src.charCodeAt(c), !(!E(t) && t !== 10)); c++)
3105
2253
  ;
3106
- if (c >= _)
2254
+ if (c >= h)
3107
2255
  return !1;
3108
- for (s = c, o = u.md.helpers.parseLinkDestination(u.src, c, u.posMax), o.ok && (f = u.md.normalizeLink(o.str), u.md.validateLink(f) ? c = o.pos : f = ""), s = c; c < _ && (t = u.src.charCodeAt(c), !(!w(t) && t !== 10)); c++)
2256
+ for (s = c, i = u.md.helpers.parseLinkDestination(u.src, c, u.posMax), i.ok && (f = u.md.normalizeLink(i.str), u.md.validateLink(f) ? c = i.pos : f = ""), s = c; c < h && (t = u.src.charCodeAt(c), !(!E(t) && t !== 10)); c++)
3109
2257
  ;
3110
- if (o = u.md.helpers.parseLinkTitle(u.src, c, u.posMax), c < _ && s !== c && o.ok)
3111
- for (a = o.str, c = o.pos; c < _ && (t = u.src.charCodeAt(c), !(!w(t) && t !== 10)); c++)
2258
+ if (i = u.md.helpers.parseLinkTitle(u.src, c, u.posMax), c < h && s !== c && i.ok)
2259
+ for (a = i.str, c = i.pos; c < h && (t = u.src.charCodeAt(c), !(!E(t) && t !== 10)); c++)
3112
2260
  ;
3113
2261
  else
3114
2262
  a = "";
3115
- if (c >= _ || u.src.charCodeAt(c) !== 41)
2263
+ if (c >= h || u.src.charCodeAt(c) !== 41)
3116
2264
  return u.pos = d, !1;
3117
2265
  c++;
3118
2266
  } else {
3119
2267
  if (typeof u.env.references > "u")
3120
2268
  return !1;
3121
- if (c < _ && u.src.charCodeAt(c) === 91 ? (s = c + 1, c = u.md.helpers.parseLinkLabel(u, c), c >= 0 ? r = u.src.slice(s, c++) : c = p + 1) : c = p + 1, r || (r = u.src.slice(h, p)), i = u.env.references[ve(r)], !i)
2269
+ if (c < h && u.src.charCodeAt(c) === 91 ? (s = c + 1, c = u.md.helpers.parseLinkLabel(u, c), c >= 0 ? r = u.src.slice(s, c++) : c = l + 1) : c = l + 1, r || (r = u.src.slice(b, l)), o = u.env.references[bu(r)], !o)
3122
2270
  return u.pos = d, !1;
3123
- f = i.href, a = i.title;
2271
+ f = o.href, a = o.title;
3124
2272
  }
3125
2273
  if (!e) {
3126
- n = u.src.slice(h, p);
3127
- const A = [];
2274
+ n = u.src.slice(b, l);
2275
+ const k = [];
3128
2276
  u.md.inline.parse(
3129
2277
  n,
3130
2278
  u.md,
3131
2279
  u.env,
3132
- A
2280
+ k
3133
2281
  );
3134
- const D = u.push("image", "img", 0), S = [["src", f], ["alt", ""]];
3135
- D.attrs = S, D.children = A, D.content = n, a && S.push(["title", a]);
2282
+ const g = u.push("image", "img", 0), C = [["src", f], ["alt", ""]];
2283
+ g.attrs = C, g.children = k, g.content = n, a && C.push(["title", a]);
3136
2284
  }
3137
- return u.pos = c, u.posMax = _, !0;
2285
+ return u.pos = c, u.posMax = h, !0;
3138
2286
  }
3139
- const No = /^([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])?)*)$/, Po = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
3140
- function Bo(u, e) {
2287
+ const Ut = /^([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])?)*)$/, Zt = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
2288
+ function Ht(u, e) {
3141
2289
  let t = u.pos;
3142
2290
  if (u.src.charCodeAt(t) !== 60)
3143
2291
  return !1;
3144
2292
  const n = u.pos, r = u.posMax;
3145
2293
  for (; ; ) {
3146
2294
  if (++t >= r) return !1;
3147
- const i = u.src.charCodeAt(t);
3148
- if (i === 60) return !1;
3149
- if (i === 62) break;
2295
+ const o = u.src.charCodeAt(t);
2296
+ if (o === 60) return !1;
2297
+ if (o === 62) break;
3150
2298
  }
3151
2299
  const c = u.src.slice(n + 1, t);
3152
- if (Po.test(c)) {
3153
- const i = u.md.normalizeLink(c);
3154
- if (!u.md.validateLink(i))
2300
+ if (Zt.test(c)) {
2301
+ const o = u.md.normalizeLink(c);
2302
+ if (!u.md.validateLink(o))
3155
2303
  return !1;
3156
2304
  if (!e) {
3157
- const o = u.push("link_open", "a", 1);
3158
- o.attrs = [["href", i]], o.markup = "autolink", o.info = "auto";
2305
+ const i = u.push("link_open", "a", 1);
2306
+ i.attrs = [["href", o]], i.markup = "autolink", i.info = "auto";
3159
2307
  const a = u.push("text", "", 0);
3160
2308
  a.content = u.md.normalizeLinkText(c);
3161
2309
  const s = u.push("link_close", "a", -1);
@@ -3163,13 +2311,13 @@ function Bo(u, e) {
3163
2311
  }
3164
2312
  return u.pos += c.length + 2, !0;
3165
2313
  }
3166
- if (No.test(c)) {
3167
- const i = u.md.normalizeLink("mailto:" + c);
3168
- if (!u.md.validateLink(i))
2314
+ if (Ut.test(c)) {
2315
+ const o = u.md.normalizeLink("mailto:" + c);
2316
+ if (!u.md.validateLink(o))
3169
2317
  return !1;
3170
2318
  if (!e) {
3171
- const o = u.push("link_open", "a", 1);
3172
- o.attrs = [["href", i]], o.markup = "autolink", o.info = "auto";
2319
+ const i = u.push("link_open", "a", 1);
2320
+ i.attrs = [["href", o]], i.markup = "autolink", i.info = "auto";
3173
2321
  const a = u.push("text", "", 0);
3174
2322
  a.content = u.md.normalizeLinkText(c);
3175
2323
  const s = u.push("link_close", "a", -1);
@@ -3179,55 +2327,55 @@ function Bo(u, e) {
3179
2327
  }
3180
2328
  return !1;
3181
2329
  }
3182
- function zo(u) {
2330
+ function Vt(u) {
3183
2331
  return /^<a[>\s]/i.test(u);
3184
2332
  }
3185
- function qo(u) {
2333
+ function Gt(u) {
3186
2334
  return /^<\/a\s*>/i.test(u);
3187
2335
  }
3188
- function Uo(u) {
2336
+ function Wt(u) {
3189
2337
  const e = u | 32;
3190
2338
  return e >= 97 && e <= 122;
3191
2339
  }
3192
- function Ho(u, e) {
2340
+ function Jt(u, e) {
3193
2341
  if (!u.md.options.html)
3194
2342
  return !1;
3195
2343
  const t = u.posMax, n = u.pos;
3196
2344
  if (u.src.charCodeAt(n) !== 60 || n + 2 >= t)
3197
2345
  return !1;
3198
2346
  const r = u.src.charCodeAt(n + 1);
3199
- if (r !== 33 && r !== 63 && r !== 47 && !Uo(r))
2347
+ if (r !== 33 && r !== 63 && r !== 47 && !Wt(r))
3200
2348
  return !1;
3201
- const c = u.src.slice(n).match(mo);
2349
+ const c = u.src.slice(n).match(Ft);
3202
2350
  if (!c)
3203
2351
  return !1;
3204
2352
  if (!e) {
3205
- const i = u.push("html_inline", "", 0);
3206
- i.content = c[0], zo(i.content) && u.linkLevel++, qo(i.content) && u.linkLevel--;
2353
+ const o = u.push("html_inline", "", 0);
2354
+ o.content = c[0], Vt(o.content) && u.linkLevel++, Gt(o.content) && u.linkLevel--;
3207
2355
  }
3208
2356
  return u.pos += c[0].length, !0;
3209
2357
  }
3210
- const $o = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, jo = /^&([a-z][a-z0-9]{1,31});/i;
3211
- function Go(u, e) {
2358
+ const Qt = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, Xt = /^&([a-z][a-z0-9]{1,31});/i;
2359
+ function Yt(u, e) {
3212
2360
  const t = u.pos, n = u.posMax;
3213
2361
  if (u.src.charCodeAt(t) !== 38 || t + 1 >= n) return !1;
3214
2362
  if (u.src.charCodeAt(t + 1) === 35) {
3215
- const c = u.src.slice(t).match($o);
2363
+ const c = u.src.slice(t).match(Qt);
3216
2364
  if (c) {
3217
2365
  if (!e) {
3218
- const i = c[1][0].toLowerCase() === "x" ? parseInt(c[1].slice(1), 16) : parseInt(c[1], 10), o = u.push("text_special", "", 0);
3219
- o.content = b0(i) ? Fe(i) : Fe(65533), o.markup = c[0], o.info = "entity";
2366
+ const o = c[1][0].toLowerCase() === "x" ? parseInt(c[1].slice(1), 16) : parseInt(c[1], 10), i = u.push("text_special", "", 0);
2367
+ i.content = Mu(o) ? fu(o) : fu(65533), i.markup = c[0], i.info = "entity";
3220
2368
  }
3221
2369
  return u.pos += c[0].length, !0;
3222
2370
  }
3223
2371
  } else {
3224
- const c = u.src.slice(t).match(jo);
2372
+ const c = u.src.slice(t).match(Xt);
3225
2373
  if (c) {
3226
- const i = Bt(c[0]);
3227
- if (i !== c[0]) {
2374
+ const o = h0(c[0]);
2375
+ if (o !== c[0]) {
3228
2376
  if (!e) {
3229
- const o = u.push("text_special", "", 0);
3230
- o.content = i, o.markup = c[0], o.info = "entity";
2377
+ const i = u.push("text_special", "", 0);
2378
+ i.content = o, i.markup = c[0], i.info = "entity";
3231
2379
  }
3232
2380
  return u.pos += c[0].length, !0;
3233
2381
  }
@@ -3235,105 +2383,105 @@ function Go(u, e) {
3235
2383
  }
3236
2384
  return !1;
3237
2385
  }
3238
- function xt(u) {
2386
+ function e0(u) {
3239
2387
  const e = {}, t = u.length;
3240
2388
  if (!t) return;
3241
2389
  let n = 0, r = -2;
3242
2390
  const c = [];
3243
- for (let i = 0; i < t; i++) {
3244
- const o = u[i];
3245
- if (c.push(0), (u[n].marker !== o.marker || r !== o.token - 1) && (n = i), r = o.token, o.length = o.length || 0, !o.close) continue;
3246
- e.hasOwnProperty(o.marker) || (e[o.marker] = [-1, -1, -1, -1, -1, -1]);
3247
- const a = e[o.marker][(o.open ? 3 : 0) + o.length % 3];
2391
+ for (let o = 0; o < t; o++) {
2392
+ const i = u[o];
2393
+ if (c.push(0), (u[n].marker !== i.marker || r !== i.token - 1) && (n = o), r = i.token, i.length = i.length || 0, !i.close) continue;
2394
+ e.hasOwnProperty(i.marker) || (e[i.marker] = [-1, -1, -1, -1, -1, -1]);
2395
+ const a = e[i.marker][(i.open ? 3 : 0) + i.length % 3];
3248
2396
  let s = n - c[n] - 1, f = s;
3249
2397
  for (; s > a; s -= c[s] + 1) {
3250
2398
  const d = u[s];
3251
- if (d.marker === o.marker && d.open && d.end < 0) {
3252
- let _ = !1;
3253
- if ((d.close || o.open) && (d.length + o.length) % 3 === 0 && (d.length % 3 !== 0 || o.length % 3 !== 0) && (_ = !0), !_) {
3254
- const h = s > 0 && !u[s - 1].open ? c[s - 1] + 1 : 0;
3255
- c[i] = i - s + h, c[s] = h, o.open = !1, d.end = i, d.close = !1, f = -1, r = -2;
2399
+ if (d.marker === i.marker && d.open && d.end < 0) {
2400
+ let h = !1;
2401
+ if ((d.close || i.open) && (d.length + i.length) % 3 === 0 && (d.length % 3 !== 0 || i.length % 3 !== 0) && (h = !0), !h) {
2402
+ const b = s > 0 && !u[s - 1].open ? c[s - 1] + 1 : 0;
2403
+ c[o] = o - s + b, c[s] = b, i.open = !1, d.end = o, d.close = !1, f = -1, r = -2;
3256
2404
  break;
3257
2405
  }
3258
2406
  }
3259
2407
  }
3260
- f !== -1 && (e[o.marker][(o.open ? 3 : 0) + (o.length || 0) % 3] = f);
2408
+ f !== -1 && (e[i.marker][(i.open ? 3 : 0) + (i.length || 0) % 3] = f);
3261
2409
  }
3262
2410
  }
3263
- function Wo(u) {
2411
+ function Kt(u) {
3264
2412
  const e = u.tokens_meta, t = u.tokens_meta.length;
3265
- xt(u.delimiters);
2413
+ e0(u.delimiters);
3266
2414
  for (let n = 0; n < t; n++)
3267
- e[n] && e[n].delimiters && xt(e[n].delimiters);
2415
+ e[n] && e[n].delimiters && e0(e[n].delimiters);
3268
2416
  }
3269
- function Zo(u) {
2417
+ function ur(u) {
3270
2418
  let e, t, n = 0;
3271
2419
  const r = u.tokens, c = u.tokens.length;
3272
2420
  for (e = t = 0; e < c; e++)
3273
2421
  r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < c && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
3274
2422
  e !== t && (r.length = t);
3275
2423
  }
3276
- const Ke = [
3277
- ["text", Do],
3278
- ["linkify", Fo],
3279
- ["newline", To],
3280
- ["escape", So],
3281
- ["backticks", wo],
3282
- ["strikethrough", Gt.tokenize],
3283
- ["emphasis", Wt.tokenize],
3284
- ["link", Lo],
3285
- ["image", Oo],
3286
- ["autolink", Bo],
3287
- ["html_inline", Ho],
3288
- ["entity", Go]
3289
- ], u0 = [
3290
- ["balance_pairs", Wo],
3291
- ["strikethrough", Gt.postProcess],
3292
- ["emphasis", Wt.postProcess],
2424
+ const Cu = [
2425
+ ["text", Tt],
2426
+ ["linkify", It],
2427
+ ["newline", Mt],
2428
+ ["escape", qt],
2429
+ ["backticks", Rt],
2430
+ ["strikethrough", D0.tokenize],
2431
+ ["emphasis", C0.tokenize],
2432
+ ["link", $t],
2433
+ ["image", jt],
2434
+ ["autolink", Ht],
2435
+ ["html_inline", Jt],
2436
+ ["entity", Yt]
2437
+ ], Eu = [
2438
+ ["balance_pairs", Kt],
2439
+ ["strikethrough", D0.postProcess],
2440
+ ["emphasis", C0.postProcess],
3293
2441
  // rules for pairs separate '**' into its own text tokens, which may be left unused,
3294
2442
  // rule below merges unused segments back with the rest of the text
3295
- ["fragments_join", Zo]
2443
+ ["fragments_join", ur]
3296
2444
  ];
3297
- function fe() {
3298
- this.ruler = new V();
3299
- for (let u = 0; u < Ke.length; u++)
3300
- this.ruler.push(Ke[u][0], Ke[u][1]);
3301
- this.ruler2 = new V();
3302
- for (let u = 0; u < u0.length; u++)
3303
- this.ruler2.push(u0[u][0], u0[u][1]);
3304
- }
3305
- fe.prototype.skipToken = function(u) {
2445
+ function cu() {
2446
+ this.ruler = new w();
2447
+ for (let u = 0; u < Cu.length; u++)
2448
+ this.ruler.push(Cu[u][0], Cu[u][1]);
2449
+ this.ruler2 = new w();
2450
+ for (let u = 0; u < Eu.length; u++)
2451
+ this.ruler2.push(Eu[u][0], Eu[u][1]);
2452
+ }
2453
+ cu.prototype.skipToken = function(u) {
3306
2454
  const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, c = u.cache;
3307
2455
  if (typeof c[e] < "u") {
3308
2456
  u.pos = c[e];
3309
2457
  return;
3310
2458
  }
3311
- let i = !1;
2459
+ let o = !1;
3312
2460
  if (u.level < r) {
3313
- for (let o = 0; o < n; o++)
3314
- if (u.level++, i = t[o](u, !0), u.level--, i) {
2461
+ for (let i = 0; i < n; i++)
2462
+ if (u.level++, o = t[i](u, !0), u.level--, o) {
3315
2463
  if (e >= u.pos)
3316
2464
  throw new Error("inline rule didn't increment state.pos");
3317
2465
  break;
3318
2466
  }
3319
2467
  } else
3320
2468
  u.pos = u.posMax;
3321
- i || u.pos++, c[e] = u.pos;
2469
+ o || u.pos++, c[e] = u.pos;
3322
2470
  };
3323
- fe.prototype.tokenize = function(u) {
2471
+ cu.prototype.tokenize = function(u) {
3324
2472
  const e = this.ruler.getRules(""), t = e.length, n = u.posMax, r = u.md.options.maxNesting;
3325
2473
  for (; u.pos < n; ) {
3326
2474
  const c = u.pos;
3327
- let i = !1;
2475
+ let o = !1;
3328
2476
  if (u.level < r) {
3329
- for (let o = 0; o < t; o++)
3330
- if (i = e[o](u, !1), i) {
2477
+ for (let i = 0; i < t; i++)
2478
+ if (o = e[i](u, !1), o) {
3331
2479
  if (c >= u.pos)
3332
2480
  throw new Error("inline rule didn't increment state.pos");
3333
2481
  break;
3334
2482
  }
3335
2483
  }
3336
- if (i) {
2484
+ if (o) {
3337
2485
  if (u.pos >= n)
3338
2486
  break;
3339
2487
  continue;
@@ -3342,17 +2490,17 @@ fe.prototype.tokenize = function(u) {
3342
2490
  }
3343
2491
  u.pending && u.pushPending();
3344
2492
  };
3345
- fe.prototype.parse = function(u, e, t, n) {
2493
+ cu.prototype.parse = function(u, e, t, n) {
3346
2494
  const r = new this.State(u, e, t, n);
3347
2495
  this.tokenize(r);
3348
- const c = this.ruler2.getRules(""), i = c.length;
3349
- for (let o = 0; o < i; o++)
3350
- c[o](r);
2496
+ const c = this.ruler2.getRules(""), o = c.length;
2497
+ for (let i = 0; i < o; i++)
2498
+ c[i](r);
3351
2499
  };
3352
- fe.prototype.State = le;
3353
- function Vo(u) {
2500
+ cu.prototype.State = nu;
2501
+ function er(u) {
3354
2502
  const e = {};
3355
- 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("|");
2503
+ u = u || {}, e.src_Any = s0.source, e.src_Cc = f0.source, e.src_Z = d0.source, e.src_P = zu.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
3356
2504
  const t = "[><|]";
3357
2505
  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
3358
2506
  ",(?!" + 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)
@@ -3362,42 +2510,42 @@ function Vo(u) {
3362
2510
  // but can start with > (markdown blockquote)
3363
2511
  "(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + e.src_ZPCc + "))((?![$+<=>^`||])" + e.tpl_host_port_no_ip_fuzzy_strict + e.src_path + ")", e;
3364
2512
  }
3365
- function i0(u) {
2513
+ function vu(u) {
3366
2514
  return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
3367
2515
  t && Object.keys(t).forEach(function(n) {
3368
2516
  u[n] = t[n];
3369
2517
  });
3370
2518
  }), u;
3371
2519
  }
3372
- function Me(u) {
2520
+ function pu(u) {
3373
2521
  return Object.prototype.toString.call(u);
3374
2522
  }
3375
- function Yo(u) {
3376
- return Me(u) === "[object String]";
2523
+ function tr(u) {
2524
+ return pu(u) === "[object String]";
3377
2525
  }
3378
- function Xo(u) {
3379
- return Me(u) === "[object Object]";
2526
+ function rr(u) {
2527
+ return pu(u) === "[object Object]";
3380
2528
  }
3381
- function Jo(u) {
3382
- return Me(u) === "[object RegExp]";
2529
+ function nr(u) {
2530
+ return pu(u) === "[object RegExp]";
3383
2531
  }
3384
- function gt(u) {
3385
- return Me(u) === "[object Function]";
2532
+ function t0(u) {
2533
+ return pu(u) === "[object Function]";
3386
2534
  }
3387
- function Qo(u) {
2535
+ function cr(u) {
3388
2536
  return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
3389
2537
  }
3390
- const Zt = {
2538
+ const E0 = {
3391
2539
  fuzzyLink: !0,
3392
2540
  fuzzyEmail: !0,
3393
2541
  fuzzyIP: !1
3394
2542
  };
3395
- function Ko(u) {
2543
+ function ir(u) {
3396
2544
  return Object.keys(u || {}).reduce(function(e, t) {
3397
- return e || Zt.hasOwnProperty(t);
2545
+ return e || E0.hasOwnProperty(t);
3398
2546
  }, !1);
3399
2547
  }
3400
- const ui = {
2548
+ const or = {
3401
2549
  "http:": {
3402
2550
  validate: function(u, e, t) {
3403
2551
  const n = u.slice(e);
@@ -3429,81 +2577,81 @@ const ui = {
3429
2577
  )), t.re.mailto.test(n) ? n.match(t.re.mailto)[0].length : 0;
3430
2578
  }
3431
2579
  }
3432
- }, ei = "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]", ti = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
3433
- function ni(u) {
2580
+ }, ar = "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]", sr = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
2581
+ function fr(u) {
3434
2582
  u.__index__ = -1, u.__text_cache__ = "";
3435
2583
  }
3436
- function ri(u) {
2584
+ function lr(u) {
3437
2585
  return function(e, t) {
3438
2586
  const n = e.slice(t);
3439
2587
  return u.test(n) ? n.match(u)[0].length : 0;
3440
2588
  };
3441
2589
  }
3442
- function kt() {
2590
+ function r0() {
3443
2591
  return function(u, e) {
3444
2592
  e.normalize(u);
3445
2593
  };
3446
2594
  }
3447
- function Te(u) {
3448
- const e = u.re = Vo(u.__opts__), t = u.__tlds__.slice();
3449
- u.onCompile(), u.__tlds_replaced__ || t.push(ei), t.push(e.src_xn), e.src_tlds = t.join("|");
3450
- function n(o) {
3451
- return o.replace("%TLDS%", e.src_tlds);
2595
+ function lu(u) {
2596
+ const e = u.re = er(u.__opts__), t = u.__tlds__.slice();
2597
+ u.onCompile(), u.__tlds_replaced__ || t.push(ar), t.push(e.src_xn), e.src_tlds = t.join("|");
2598
+ function n(i) {
2599
+ return i.replace("%TLDS%", e.src_tlds);
3452
2600
  }
3453
2601
  e.email_fuzzy = RegExp(n(e.tpl_email_fuzzy), "i"), e.link_fuzzy = RegExp(n(e.tpl_link_fuzzy), "i"), e.link_no_ip_fuzzy = RegExp(n(e.tpl_link_no_ip_fuzzy), "i"), e.host_fuzzy_test = RegExp(n(e.tpl_host_fuzzy_test), "i");
3454
2602
  const r = [];
3455
2603
  u.__compiled__ = {};
3456
- function c(o, a) {
3457
- throw new Error('(LinkifyIt) Invalid schema "' + o + '": ' + a);
2604
+ function c(i, a) {
2605
+ throw new Error('(LinkifyIt) Invalid schema "' + i + '": ' + a);
3458
2606
  }
3459
- Object.keys(u.__schemas__).forEach(function(o) {
3460
- const a = u.__schemas__[o];
2607
+ Object.keys(u.__schemas__).forEach(function(i) {
2608
+ const a = u.__schemas__[i];
3461
2609
  if (a === null)
3462
2610
  return;
3463
2611
  const s = { validate: null, link: null };
3464
- if (u.__compiled__[o] = s, Xo(a)) {
3465
- Jo(a.validate) ? s.validate = ri(a.validate) : gt(a.validate) ? s.validate = a.validate : c(o, a), gt(a.normalize) ? s.normalize = a.normalize : a.normalize ? c(o, a) : s.normalize = kt();
2612
+ if (u.__compiled__[i] = s, rr(a)) {
2613
+ nr(a.validate) ? s.validate = lr(a.validate) : t0(a.validate) ? s.validate = a.validate : c(i, a), t0(a.normalize) ? s.normalize = a.normalize : a.normalize ? c(i, a) : s.normalize = r0();
3466
2614
  return;
3467
2615
  }
3468
- if (Yo(a)) {
3469
- r.push(o);
2616
+ if (tr(a)) {
2617
+ r.push(i);
3470
2618
  return;
3471
2619
  }
3472
- c(o, a);
3473
- }), r.forEach(function(o) {
3474
- u.__compiled__[u.__schemas__[o]] && (u.__compiled__[o].validate = u.__compiled__[u.__schemas__[o]].validate, u.__compiled__[o].normalize = u.__compiled__[u.__schemas__[o]].normalize);
3475
- }), u.__compiled__[""] = { validate: null, normalize: kt() };
3476
- const i = Object.keys(u.__compiled__).filter(function(o) {
3477
- return o.length > 0 && u.__compiled__[o];
3478
- }).map(Qo).join("|");
3479
- 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(
2620
+ c(i, a);
2621
+ }), r.forEach(function(i) {
2622
+ u.__compiled__[u.__schemas__[i]] && (u.__compiled__[i].validate = u.__compiled__[u.__schemas__[i]].validate, u.__compiled__[i].normalize = u.__compiled__[u.__schemas__[i]].normalize);
2623
+ }), u.__compiled__[""] = { validate: null, normalize: r0() };
2624
+ const o = Object.keys(u.__compiled__).filter(function(i) {
2625
+ return i.length > 0 && u.__compiled__[i];
2626
+ }).map(cr).join("|");
2627
+ u.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + o + ")", "i"), u.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + o + ")", "ig"), u.re.schema_at_start = RegExp("^" + u.re.schema_search.source, "i"), u.re.pretest = RegExp(
3480
2628
  "(" + u.re.schema_test.source + ")|(" + u.re.host_fuzzy_test.source + ")|@",
3481
2629
  "i"
3482
- ), ni(u);
2630
+ ), fr(u);
3483
2631
  }
3484
- function ci(u, e) {
2632
+ function dr(u, e) {
3485
2633
  const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
3486
2634
  this.schema = u.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = n + e, this.raw = r, this.text = r, this.url = r;
3487
2635
  }
3488
- function a0(u, e) {
3489
- const t = new ci(u, e);
2636
+ function Su(u, e) {
2637
+ const t = new dr(u, e);
3490
2638
  return u.__compiled__[t.schema].normalize(t, u), t;
3491
2639
  }
3492
- function X(u, e) {
3493
- if (!(this instanceof X))
3494
- return new X(u, e);
3495
- e || Ko(u) && (e = u, u = {}), this.__opts__ = i0({}, Zt, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = i0({}, ui, u), this.__compiled__ = {}, this.__tlds__ = ti, this.__tlds_replaced__ = !1, this.re = {}, Te(this);
2640
+ function v(u, e) {
2641
+ if (!(this instanceof v))
2642
+ return new v(u, e);
2643
+ e || ir(u) && (e = u, u = {}), this.__opts__ = vu({}, E0, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = vu({}, or, u), this.__compiled__ = {}, this.__tlds__ = sr, this.__tlds_replaced__ = !1, this.re = {}, lu(this);
3496
2644
  }
3497
- X.prototype.add = function(e, t) {
3498
- return this.__schemas__[e] = t, Te(this), this;
2645
+ v.prototype.add = function(e, t) {
2646
+ return this.__schemas__[e] = t, lu(this), this;
3499
2647
  };
3500
- X.prototype.set = function(e) {
3501
- return this.__opts__ = i0(this.__opts__, e), this;
2648
+ v.prototype.set = function(e) {
2649
+ return this.__opts__ = vu(this.__opts__, e), this;
3502
2650
  };
3503
- X.prototype.test = function(e) {
2651
+ v.prototype.test = function(e) {
3504
2652
  if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
3505
2653
  return !1;
3506
- let t, n, r, c, i, o, a, s, f;
2654
+ let t, n, r, c, o, i, a, s, f;
3507
2655
  if (this.re.schema_test.test(e)) {
3508
2656
  for (a = this.re.schema_search, a.lastIndex = 0; (t = a.exec(e)) !== null; )
3509
2657
  if (c = this.testSchemaAt(e, t[2], a.lastIndex), c) {
@@ -3511,63 +2659,63 @@ X.prototype.test = function(e) {
3511
2659
  break;
3512
2660
  }
3513
2661
  }
3514
- 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, o = r.index + r[0].length, (this.__index__ < 0 || i < this.__index__ || i === this.__index__ && o > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = i, this.__last_index__ = o))), this.__index__ >= 0;
2662
+ 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 && (o = n.index + n[1].length, (this.__index__ < 0 || o < this.__index__) && (this.__schema__ = "", this.__index__ = o, 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 && (o = r.index + r[1].length, i = r.index + r[0].length, (this.__index__ < 0 || o < this.__index__ || o === this.__index__ && i > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = o, this.__last_index__ = i))), this.__index__ >= 0;
3515
2663
  };
3516
- X.prototype.pretest = function(e) {
2664
+ v.prototype.pretest = function(e) {
3517
2665
  return this.re.pretest.test(e);
3518
2666
  };
3519
- X.prototype.testSchemaAt = function(e, t, n) {
2667
+ v.prototype.testSchemaAt = function(e, t, n) {
3520
2668
  return this.__compiled__[t.toLowerCase()] ? this.__compiled__[t.toLowerCase()].validate(e, n, this) : 0;
3521
2669
  };
3522
- X.prototype.match = function(e) {
2670
+ v.prototype.match = function(e) {
3523
2671
  const t = [];
3524
2672
  let n = 0;
3525
- this.__index__ >= 0 && this.__text_cache__ === e && (t.push(a0(this, n)), n = this.__last_index__);
2673
+ this.__index__ >= 0 && this.__text_cache__ === e && (t.push(Su(this, n)), n = this.__last_index__);
3526
2674
  let r = n ? e.slice(n) : e;
3527
2675
  for (; this.test(r); )
3528
- t.push(a0(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
2676
+ t.push(Su(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
3529
2677
  return t.length ? t : null;
3530
2678
  };
3531
- X.prototype.matchAtStart = function(e) {
2679
+ v.prototype.matchAtStart = function(e) {
3532
2680
  if (this.__text_cache__ = e, this.__index__ = -1, !e.length) return null;
3533
2681
  const t = this.re.schema_at_start.exec(e);
3534
2682
  if (!t) return null;
3535
2683
  const n = this.testSchemaAt(e, t[2], t[0].length);
3536
- 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;
2684
+ return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, Su(this, 0)) : null;
3537
2685
  };
3538
- X.prototype.tlds = function(e, t) {
2686
+ v.prototype.tlds = function(e, t) {
3539
2687
  return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, c) {
3540
2688
  return n !== c[r - 1];
3541
- }).reverse(), Te(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, Te(this), this);
2689
+ }).reverse(), lu(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, lu(this), this);
3542
2690
  };
3543
- X.prototype.normalize = function(e) {
2691
+ v.prototype.normalize = function(e) {
3544
2692
  e.schema || (e.url = "http://" + e.url), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = "mailto:" + e.url);
3545
2693
  };
3546
- X.prototype.onCompile = function() {
2694
+ v.prototype.onCompile = function() {
3547
2695
  };
3548
- const Bu = 2147483647, cu = 36, x0 = 1, ie = 26, oi = 38, ii = 700, Vt = 72, Yt = 128, Xt = "-", ai = /^xn--/, si = /[^\0-\x7F]/, li = /[\x2E\u3002\uFF0E\uFF61]/g, fi = {
2696
+ const V = 2147483647, I = 36, Lu = 1, eu = 26, br = 38, hr = 700, F0 = 72, A0 = 128, y0 = "-", pr = /^xn--/, xr = /[^\0-\x7F]/, _r = /[\x2E\u3002\uFF0E\uFF61]/g, mr = {
3549
2697
  overflow: "Overflow: input needs wider integers to process",
3550
2698
  "not-basic": "Illegal input >= 0x80 (not a basic code point)",
3551
2699
  "invalid-input": "Invalid input"
3552
- }, e0 = cu - x0, ou = Math.floor, t0 = String.fromCharCode;
3553
- function hu(u) {
3554
- throw new RangeError(fi[u]);
2700
+ }, Fu = I - Lu, M = Math.floor, Au = String.fromCharCode;
2701
+ function O(u) {
2702
+ throw new RangeError(mr[u]);
3555
2703
  }
3556
- function di(u, e) {
2704
+ function kr(u, e) {
3557
2705
  const t = [];
3558
2706
  let n = u.length;
3559
2707
  for (; n--; )
3560
2708
  t[n] = e(u[n]);
3561
2709
  return t;
3562
2710
  }
3563
- function Jt(u, e) {
2711
+ function w0(u, e) {
3564
2712
  const t = u.split("@");
3565
2713
  let n = "";
3566
- t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(li, ".");
3567
- const r = u.split("."), c = di(r, e).join(".");
2714
+ t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(_r, ".");
2715
+ const r = u.split("."), c = kr(r, e).join(".");
3568
2716
  return n + c;
3569
2717
  }
3570
- function Qt(u) {
2718
+ function v0(u) {
3571
2719
  const e = [];
3572
2720
  let t = 0;
3573
2721
  const n = u.length;
@@ -3581,78 +2729,78 @@ function Qt(u) {
3581
2729
  }
3582
2730
  return e;
3583
2731
  }
3584
- const pi = (u) => String.fromCodePoint(...u), hi = function(u) {
3585
- return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : cu;
3586
- }, Et = function(u, e) {
2732
+ const gr = (u) => String.fromCodePoint(...u), Dr = function(u) {
2733
+ return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : I;
2734
+ }, n0 = function(u, e) {
3587
2735
  return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
3588
- }, Kt = function(u, e, t) {
2736
+ }, S0 = function(u, e, t) {
3589
2737
  let n = 0;
3590
- for (u = t ? ou(u / ii) : u >> 1, u += ou(u / e); u > e0 * ie >> 1; n += cu)
3591
- u = ou(u / e0);
3592
- return ou(n + (e0 + 1) * u / (u + oi));
3593
- }, un = function(u) {
2738
+ for (u = t ? M(u / hr) : u >> 1, u += M(u / e); u > Fu * eu >> 1; n += I)
2739
+ u = M(u / Fu);
2740
+ return M(n + (Fu + 1) * u / (u + br));
2741
+ }, B0 = function(u) {
3594
2742
  const e = [], t = u.length;
3595
- let n = 0, r = Yt, c = Vt, i = u.lastIndexOf(Xt);
3596
- i < 0 && (i = 0);
3597
- for (let o = 0; o < i; ++o)
3598
- u.charCodeAt(o) >= 128 && hu("not-basic"), e.push(u.charCodeAt(o));
3599
- for (let o = i > 0 ? i + 1 : 0; o < t; ) {
2743
+ let n = 0, r = A0, c = F0, o = u.lastIndexOf(y0);
2744
+ o < 0 && (o = 0);
2745
+ for (let i = 0; i < o; ++i)
2746
+ u.charCodeAt(i) >= 128 && O("not-basic"), e.push(u.charCodeAt(i));
2747
+ for (let i = o > 0 ? o + 1 : 0; i < t; ) {
3600
2748
  const a = n;
3601
- for (let f = 1, d = cu; ; d += cu) {
3602
- o >= t && hu("invalid-input");
3603
- const _ = hi(u.charCodeAt(o++));
3604
- _ >= cu && hu("invalid-input"), _ > ou((Bu - n) / f) && hu("overflow"), n += _ * f;
3605
- const h = d <= c ? x0 : d >= c + ie ? ie : d - c;
3606
- if (_ < h)
2749
+ for (let f = 1, d = I; ; d += I) {
2750
+ i >= t && O("invalid-input");
2751
+ const h = Dr(u.charCodeAt(i++));
2752
+ h >= I && O("invalid-input"), h > M((V - n) / f) && O("overflow"), n += h * f;
2753
+ const b = d <= c ? Lu : d >= c + eu ? eu : d - c;
2754
+ if (h < b)
3607
2755
  break;
3608
- const p = cu - h;
3609
- f > ou(Bu / p) && hu("overflow"), f *= p;
2756
+ const l = I - b;
2757
+ f > M(V / l) && O("overflow"), f *= l;
3610
2758
  }
3611
2759
  const s = e.length + 1;
3612
- c = Kt(n - a, s, a == 0), ou(n / s) > Bu - r && hu("overflow"), r += ou(n / s), n %= s, e.splice(n++, 0, r);
2760
+ c = S0(n - a, s, a == 0), M(n / s) > V - r && O("overflow"), r += M(n / s), n %= s, e.splice(n++, 0, r);
3613
2761
  }
3614
2762
  return String.fromCodePoint(...e);
3615
- }, en = function(u) {
2763
+ }, T0 = function(u) {
3616
2764
  const e = [];
3617
- u = Qt(u);
2765
+ u = v0(u);
3618
2766
  const t = u.length;
3619
- let n = Yt, r = 0, c = Vt;
2767
+ let n = A0, r = 0, c = F0;
3620
2768
  for (const a of u)
3621
- a < 128 && e.push(t0(a));
3622
- const i = e.length;
3623
- let o = i;
3624
- for (i && e.push(Xt); o < t; ) {
3625
- let a = Bu;
2769
+ a < 128 && e.push(Au(a));
2770
+ const o = e.length;
2771
+ let i = o;
2772
+ for (o && e.push(y0); i < t; ) {
2773
+ let a = V;
3626
2774
  for (const f of u)
3627
2775
  f >= n && f < a && (a = f);
3628
- const s = o + 1;
3629
- a - n > ou((Bu - r) / s) && hu("overflow"), r += (a - n) * s, n = a;
2776
+ const s = i + 1;
2777
+ a - n > M((V - r) / s) && O("overflow"), r += (a - n) * s, n = a;
3630
2778
  for (const f of u)
3631
- if (f < n && ++r > Bu && hu("overflow"), f === n) {
2779
+ if (f < n && ++r > V && O("overflow"), f === n) {
3632
2780
  let d = r;
3633
- for (let _ = cu; ; _ += cu) {
3634
- const h = _ <= c ? x0 : _ >= c + ie ? ie : _ - c;
3635
- if (d < h)
2781
+ for (let h = I; ; h += I) {
2782
+ const b = h <= c ? Lu : h >= c + eu ? eu : h - c;
2783
+ if (d < b)
3636
2784
  break;
3637
- const p = d - h, A = cu - h;
2785
+ const l = d - b, k = I - b;
3638
2786
  e.push(
3639
- t0(Et(h + p % A, 0))
3640
- ), d = ou(p / A);
2787
+ Au(n0(b + l % k, 0))
2788
+ ), d = M(l / k);
3641
2789
  }
3642
- e.push(t0(Et(d, 0))), c = Kt(r, s, o === i), r = 0, ++o;
2790
+ e.push(Au(n0(d, 0))), c = S0(r, s, i === o), r = 0, ++i;
3643
2791
  }
3644
2792
  ++r, ++n;
3645
2793
  }
3646
2794
  return e.join("");
3647
- }, bi = function(u) {
3648
- return Jt(u, function(e) {
3649
- return ai.test(e) ? un(e.slice(4).toLowerCase()) : e;
2795
+ }, Cr = function(u) {
2796
+ return w0(u, function(e) {
2797
+ return pr.test(e) ? B0(e.slice(4).toLowerCase()) : e;
3650
2798
  });
3651
- }, _i = function(u) {
3652
- return Jt(u, function(e) {
3653
- return si.test(e) ? "xn--" + en(e) : e;
2799
+ }, Er = function(u) {
2800
+ return w0(u, function(e) {
2801
+ return xr.test(e) ? "xn--" + T0(e) : e;
3654
2802
  });
3655
- }, tn = {
2803
+ }, z0 = {
3656
2804
  /**
3657
2805
  * A string representing the current Punycode.js version number.
3658
2806
  * @memberOf punycode
@@ -3667,14 +2815,14 @@ const pi = (u) => String.fromCodePoint(...u), hi = function(u) {
3667
2815
  * @type Object
3668
2816
  */
3669
2817
  ucs2: {
3670
- decode: Qt,
3671
- encode: pi
2818
+ decode: v0,
2819
+ encode: gr
3672
2820
  },
3673
- decode: un,
3674
- encode: en,
3675
- toASCII: _i,
3676
- toUnicode: bi
3677
- }, mi = {
2821
+ decode: B0,
2822
+ encode: T0,
2823
+ toASCII: Er,
2824
+ toUnicode: Cr
2825
+ }, Fr = {
3678
2826
  options: {
3679
2827
  // Enable HTML tags in source
3680
2828
  html: !1,
@@ -3710,7 +2858,7 @@ const pi = (u) => String.fromCodePoint(...u), hi = function(u) {
3710
2858
  block: {},
3711
2859
  inline: {}
3712
2860
  }
3713
- }, xi = {
2861
+ }, Ar = {
3714
2862
  options: {
3715
2863
  // Enable HTML tags in source
3716
2864
  html: !1,
@@ -3765,7 +2913,7 @@ const pi = (u) => String.fromCodePoint(...u), hi = function(u) {
3765
2913
  ]
3766
2914
  }
3767
2915
  }
3768
- }, gi = {
2916
+ }, yr = {
3769
2917
  options: {
3770
2918
  // Enable HTML tags in source
3771
2919
  html: !0,
@@ -3839,47 +2987,47 @@ const pi = (u) => String.fromCodePoint(...u), hi = function(u) {
3839
2987
  ]
3840
2988
  }
3841
2989
  }
3842
- }, ki = {
3843
- default: mi,
3844
- zero: xi,
3845
- commonmark: gi
3846
- }, Ei = /^(vbscript|javascript|file|data):/, Ci = /^data:image\/(gif|png|jpeg|webp);/;
3847
- function Ai(u) {
2990
+ }, wr = {
2991
+ default: Fr,
2992
+ zero: Ar,
2993
+ commonmark: yr
2994
+ }, vr = /^(vbscript|javascript|file|data):/, Sr = /^data:image\/(gif|png|jpeg|webp);/;
2995
+ function Br(u) {
3848
2996
  const e = u.trim().toLowerCase();
3849
- return Ei.test(e) ? Ci.test(e) : !0;
2997
+ return vr.test(e) ? Sr.test(e) : !0;
3850
2998
  }
3851
- const nn = ["http:", "https:", "mailto:"];
3852
- function Di(u) {
3853
- const e = d0(u, !0);
3854
- if (e.hostname && (!e.protocol || nn.indexOf(e.protocol) >= 0))
2999
+ const I0 = ["http:", "https:", "mailto:"];
3000
+ function Tr(u) {
3001
+ const e = Tu(u, !0);
3002
+ if (e.hostname && (!e.protocol || I0.indexOf(e.protocol) >= 0))
3855
3003
  try {
3856
- e.hostname = tn.toASCII(e.hostname);
3004
+ e.hostname = z0.toASCII(e.hostname);
3857
3005
  } catch {
3858
3006
  }
3859
- return se(f0(e));
3007
+ return ru(Bu(e));
3860
3008
  }
3861
- function yi(u) {
3862
- const e = d0(u, !0);
3863
- if (e.hostname && (!e.protocol || nn.indexOf(e.protocol) >= 0))
3009
+ function zr(u) {
3010
+ const e = Tu(u, !0);
3011
+ if (e.hostname && (!e.protocol || I0.indexOf(e.protocol) >= 0))
3864
3012
  try {
3865
- e.hostname = tn.toUnicode(e.hostname);
3013
+ e.hostname = z0.toUnicode(e.hostname);
3866
3014
  } catch {
3867
3015
  }
3868
- return zu(f0(e), zu.defaultChars + "%");
3016
+ return G(Bu(e), G.defaultChars + "%");
3869
3017
  }
3870
- function Q(u, e) {
3871
- if (!(this instanceof Q))
3872
- return new Q(u, e);
3873
- 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 = Ai, this.normalizeLink = Di, this.normalizeLinkText = yi, this.utils = Fc, this.helpers = we({}, vc), this.options = {}, this.configure(u), e && this.set(e);
3018
+ function B(u, e) {
3019
+ if (!(this instanceof B))
3020
+ return new B(u, e);
3021
+ e || Iu(u) || (e = u || {}, u = "default"), this.inline = new cu(), this.block = new hu(), this.core = new qu(), this.renderer = new Q(), this.linkify = new v(), this.validateLink = Br, this.normalizeLink = Tr, this.normalizeLinkText = zr, this.utils = Me, this.helpers = du({}, Pe), this.options = {}, this.configure(u), e && this.set(e);
3874
3022
  }
3875
- Q.prototype.set = function(u) {
3876
- return we(this.options, u), this;
3023
+ B.prototype.set = function(u) {
3024
+ return du(this.options, u), this;
3877
3025
  };
3878
- Q.prototype.configure = function(u) {
3026
+ B.prototype.configure = function(u) {
3879
3027
  const e = this;
3880
- if (h0(u)) {
3028
+ if (Iu(u)) {
3881
3029
  const t = u;
3882
- if (u = ki[t], !u)
3030
+ if (u = wr[t], !u)
3883
3031
  throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
3884
3032
  }
3885
3033
  if (!u)
@@ -3888,7 +3036,7 @@ Q.prototype.configure = function(u) {
3888
3036
  u.components[t].rules && e[t].ruler.enableOnly(u.components[t].rules), u.components[t].rules2 && e[t].ruler2.enableOnly(u.components[t].rules2);
3889
3037
  }), this;
3890
3038
  };
3891
- Q.prototype.enable = function(u, e) {
3039
+ B.prototype.enable = function(u, e) {
3892
3040
  let t = [];
3893
3041
  Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
3894
3042
  t = t.concat(this[r].ruler.enable(u, !0));
@@ -3900,7 +3048,7 @@ Q.prototype.enable = function(u, e) {
3900
3048
  throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + n);
3901
3049
  return this;
3902
3050
  };
3903
- Q.prototype.disable = function(u, e) {
3051
+ B.prototype.disable = function(u, e) {
3904
3052
  let t = [];
3905
3053
  Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
3906
3054
  t = t.concat(this[r].ruler.disable(u, !0));
@@ -3912,86 +3060,153 @@ Q.prototype.disable = function(u, e) {
3912
3060
  throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + n);
3913
3061
  return this;
3914
3062
  };
3915
- Q.prototype.use = function(u) {
3063
+ B.prototype.use = function(u) {
3916
3064
  const e = [this].concat(Array.prototype.slice.call(arguments, 1));
3917
3065
  return u.apply(u, e), this;
3918
3066
  };
3919
- Q.prototype.parse = function(u, e) {
3067
+ B.prototype.parse = function(u, e) {
3920
3068
  if (typeof u != "string")
3921
3069
  throw new Error("Input data should be a String");
3922
3070
  const t = new this.core.State(u, this, e);
3923
3071
  return this.core.process(t), t.tokens;
3924
3072
  };
3925
- Q.prototype.render = function(u, e) {
3073
+ B.prototype.render = function(u, e) {
3926
3074
  return e = e || {}, this.renderer.render(this.parse(u, e), this.options, e);
3927
3075
  };
3928
- Q.prototype.parseInline = function(u, e) {
3076
+ B.prototype.parseInline = function(u, e) {
3929
3077
  const t = new this.core.State(u, this, e);
3930
3078
  return t.inlineMode = !0, this.core.process(t), t.tokens;
3931
3079
  };
3932
- Q.prototype.renderInline = function(u, e) {
3080
+ B.prototype.renderInline = function(u, e) {
3933
3081
  return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
3934
3082
  };
3935
- class Pi extends s0 {
3936
- constructor({ mdConfig: t, dompurifyConfig: n, sanitizeDisabled: r, styleOptions: c } = {}) {
3937
- super();
3938
- Iu(this, "md");
3939
- Iu(this, "mdConfig");
3940
- Iu(this, "dompurifyConfig");
3941
- Iu(this, "sanitizeDisabled");
3942
- Iu(this, "styleOptions");
3943
- this.mdConfig = t || {}, this.dompurifyConfig = n || {}, this.md = Q(this.mdConfig), this.sanitizeDisabled = r ?? !1, this.styleOptions = c ?? {};
3944
- }
3945
- render(t) {
3946
- let n = "";
3947
- try {
3948
- n = this.md.render(t.content ?? "");
3949
- } catch (c) {
3950
- console.error("Error rendering markdown:", c), n = t.content ?? "";
3951
- }
3952
- if (this.sanitizeDisabled)
3953
- return console.warn("HTML sanitization is disabled, potential XSS risk"), Z0("div", { innerHTML: n, class: this.styleOptions.class, style: this.styleOptions.style });
3954
- const r = zr.sanitize(n, this.dompurifyConfig);
3955
- return Z0("div", { innerHTML: r, class: this.styleOptions.class, style: this.styleOptions.style });
3083
+ const Ir = {
3084
+ key: 0,
3085
+ class: "tr-bubble__avatar"
3086
+ }, Mr = { class: "tr-bubble__content-wrapper" }, qr = {
3087
+ key: 1,
3088
+ class: /* @__PURE__ */ i0(["tr-bubble__content"])
3089
+ }, Rr = { class: "tr-bubbule__body" }, Lr = ["innerHTML"], Pr = { key: 1 }, Or = {
3090
+ key: 2,
3091
+ class: "tr-bubbule__aborted"
3092
+ }, Nr = {
3093
+ key: 0,
3094
+ class: "tr-bubbule__footer"
3095
+ }, $r = /* @__PURE__ */ c0({
3096
+ __name: "Bubble",
3097
+ props: {
3098
+ content: { default: "" },
3099
+ id: {},
3100
+ placement: { default: "start" },
3101
+ avatar: {},
3102
+ role: {},
3103
+ type: { default: "text" },
3104
+ loading: { type: Boolean },
3105
+ aborted: { type: Boolean },
3106
+ mdConfig: {},
3107
+ maxWidth: { default: "80%" }
3108
+ },
3109
+ setup(u) {
3110
+ L0((o) => ({
3111
+ "2f6c8c8c": P0(V0)(e.maxWidth)
3112
+ }));
3113
+ const e = u, t = O0(), n = au(() => B(e.mdConfig || {})), r = au(() => e.type === "markdown" ? n.value.render(e.content) : e.content), c = au(() => e.placement === "start");
3114
+ return (o, i) => (S(), L("div", {
3115
+ class: i0([
3116
+ "tr-bubble",
3117
+ {
3118
+ "placement-start": c.value,
3119
+ "placement-end": !c.value
3120
+ }
3121
+ ])
3122
+ }, [
3123
+ e.avatar ? (S(), L("div", Ir, [
3124
+ (S(), yu(o0(e.avatar)))
3125
+ ])) : _u("", !0),
3126
+ Z("div", Mr, [
3127
+ e.loading ? mu(o.$slots, "loading", {
3128
+ key: 0,
3129
+ bubbleProps: e
3130
+ }, () => [
3131
+ i[0] || (i[0] = Z("div", { class: "tr-bubble__loading" }, [
3132
+ Z("span"),
3133
+ Z("span"),
3134
+ Z("span")
3135
+ ], -1))
3136
+ ], !0) : (S(), L("div", qr, [
3137
+ Z("div", Rr, [
3138
+ mu(o.$slots, "default", { bubbleProps: e }, () => [
3139
+ e.type === "markdown" ? (S(), L("span", {
3140
+ key: 0,
3141
+ innerHTML: r.value
3142
+ }, null, 8, Lr)) : (S(), L("span", Pr, N0(r.value), 1)),
3143
+ e.aborted ? (S(), L("span", Or, "(用户停止)")) : _u("", !0)
3144
+ ], !0)
3145
+ ]),
3146
+ t.footer ? (S(), L("div", Nr, [
3147
+ mu(o.$slots, "footer", { bubbleProps: e }, void 0, !0)
3148
+ ])) : _u("", !0)
3149
+ ]))
3150
+ ])
3151
+ ], 2));
3956
3152
  }
3957
- }
3958
- const ae = /* @__PURE__ */ ku({
3959
- __name: "BubbleProvider",
3153
+ }), J = /* @__PURE__ */ a0($r, [["__scopeId", "data-v-a0fefd10"]]), jr = /* @__PURE__ */ c0({
3154
+ __name: "BubbleList",
3960
3155
  props: {
3961
- messageRenderers: { default: () => ({}) }
3156
+ items: {},
3157
+ roles: {},
3158
+ autoScroll: { type: Boolean }
3962
3159
  },
3963
3160
  setup(u) {
3964
- const e = u, t = /* @__PURE__ */ new Map();
3965
- for (const [n, r] of yt.entries())
3966
- t.set(n, r);
3967
- for (const [n, r] of Object.entries(e.messageRenderers))
3968
- t.set(n, r);
3969
- return V0(Ft, t), V0(Tt, l0), (n, r) => Ae(n.$slots, "default");
3161
+ const e = u, t = $0(null), { y: n } = G0(t, {
3162
+ behavior: "smooth",
3163
+ throttle: 100
3164
+ }), r = au(() => e.items.at(-1));
3165
+ j0([() => e.items.length, () => {
3166
+ var i;
3167
+ return (i = r.value) == null ? void 0 : i.content;
3168
+ }], () => {
3169
+ !e.autoScroll || !t.value || (n.value = t.value.scrollHeight);
3170
+ });
3171
+ const c = (i) => {
3172
+ var b;
3173
+ const a = i.role ? ((b = e.roles) == null ? void 0 : b[i.role]) || {} : {}, { slots: s, ...f } = a, { slots: d, ...h } = i;
3174
+ return { ...f, ...h };
3175
+ }, o = (i) => {
3176
+ var s;
3177
+ return { ...(i.role ? ((s = e.roles) == null ? void 0 : s[i.role]) || {} : {}).slots, ...i.slots };
3178
+ };
3179
+ return (i, a) => (S(), L("div", {
3180
+ class: "tr-bubble-list",
3181
+ ref_key: "scrollContainerRef",
3182
+ ref: t
3183
+ }, [
3184
+ (S(!0), L(U0, null, Ou(e.items, (s, f) => (S(), yu(J, Nu({
3185
+ key: s.id || f
3186
+ }, { ref_for: !0 }, c(s)), Z0({ _: 2 }, [
3187
+ Ou(o(s), (d, h) => ({
3188
+ name: h,
3189
+ fn: H0((b) => [
3190
+ (S(), yu(o0(o(s)[h]), Nu({ ref_for: !0 }, b), null, 16))
3191
+ ])
3192
+ }))
3193
+ ]), 1040))), 128))
3194
+ ], 512));
3970
3195
  }
3971
- });
3972
- Du.name = "TrBubble";
3973
- const Fi = function(u) {
3974
- u.component(Du.name, Du);
3975
- };
3976
- Du.install = Fi;
3977
- const Bi = Du;
3978
- ne.name = "TrBubbleList";
3979
- const Ti = function(u) {
3980
- u.component(ne.name, ne);
3981
- };
3982
- ne.install = Ti;
3983
- const zi = ne;
3984
- ae.name = "TrBubbleProvider";
3985
- const Si = function(u) {
3986
- u.component(ae.name, ae);
3987
- };
3988
- ae.install = Si;
3989
- const qi = ae;
3196
+ }), tu = /* @__PURE__ */ a0(jr, [["__scopeId", "data-v-307d7ab0"]]);
3197
+ J.name = "TrBubble";
3198
+ const Ur = function(u) {
3199
+ u.component(J.name, J);
3200
+ };
3201
+ J.install = Ur;
3202
+ const Jr = J;
3203
+ tu.name = "TrBubbleList";
3204
+ const Zr = function(u) {
3205
+ u.component(tu.name, tu);
3206
+ };
3207
+ tu.install = Zr;
3208
+ const Qr = tu;
3990
3209
  export {
3991
- Bi as Bubble,
3992
- Ni as BubbleChainMessageRenderer,
3993
- zi as BubbleList,
3994
- Pi as BubbleMarkdownMessageRenderer,
3995
- s0 as BubbleMessageClassRenderer,
3996
- qi as BubbleProvider
3210
+ Jr as Bubble,
3211
+ Qr as BubbleList
3997
3212
  };