@opentiny/tiny-robot 0.3.0-alpha.32 → 0.3.0-alpha.33
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.
- package/dist/bubble/index.js +777 -760
- package/dist/prompts/index.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/bubble/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { defineComponent as yu, ref as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { t as
|
|
7
|
-
import { IconArrowUp as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { u as
|
|
10
|
-
class
|
|
11
|
-
}
|
|
12
|
-
const
|
|
1
|
+
var pn = Object.defineProperty;
|
|
2
|
+
var bn = (u, e, t) => e in u ? pn(u, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : u[e] = t;
|
|
3
|
+
var Ou = (u, e, t) => bn(u, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
+
import { defineComponent as yu, ref as s0, createElementBlock as H, openBlock as S, createElementVNode as Z, createVNode as Dt, toDisplayString as Cu, unref as l0, normalizeClass as Au, withDirectives as mn, vShow as _n, computed as X, useCssModule as xn, createCommentVNode as Bu, createBlock as eu, resolveDynamicComponent as _u, createTextVNode as gn, inject as W0, normalizeProps as Ce, mergeProps as Ku, h as Z0, useSlots as kn, useAttrs as En, normalizeStyle as An, renderSlot as Qu, Fragment as De, renderList as Ee, watch as Cn, nextTick as Dn, createSlots as V0, withCtx as Y0, guardReactiveProps as yn, provide as X0 } from "vue";
|
|
5
|
+
import { _ as Fn } from "../loading.js";
|
|
6
|
+
import { t as Tn } from "../utils.js";
|
|
7
|
+
import { IconArrowUp as Sn, IconPlugin as J0, IconArrowDown as wn, IconLoading as vn, IconError as Rn, IconCancelled as In } from "@opentiny/tiny-robot-svgs";
|
|
8
|
+
import { _ as ce } from "../_plugin-vue_export-helper.js";
|
|
9
|
+
import { u as Mn } from "../index3.js";
|
|
10
|
+
class f0 {
|
|
11
|
+
}
|
|
12
|
+
const Ln = { class: "tr-bubble__step-text" }, On = { class: "tr-bubble__step-text-title" }, Nn = { class: "tr-bubble__step-text-content-wrapper" }, Bn = /* @__PURE__ */ yu({
|
|
13
13
|
__name: "collapsible-text",
|
|
14
14
|
props: {
|
|
15
15
|
title: {},
|
|
@@ -17,35 +17,35 @@ const Mn = { class: "tr-bubble__step-text" }, Ln = { class: "tr-bubble__step-tex
|
|
|
17
17
|
defaultOpen: { type: Boolean }
|
|
18
18
|
},
|
|
19
19
|
setup(u) {
|
|
20
|
-
const e = u, t =
|
|
21
|
-
return (n, r) => (S(), H("div",
|
|
22
|
-
Z("div",
|
|
20
|
+
const e = u, t = s0(e.defaultOpen ?? !1);
|
|
21
|
+
return (n, r) => (S(), H("div", Ln, [
|
|
22
|
+
Z("div", On, [
|
|
23
23
|
Z("span", null, Cu(e.title), 1),
|
|
24
|
-
|
|
24
|
+
Dt(l0(Sn), {
|
|
25
25
|
class: Au(["expand-icon", { "rotate-180": !t.value }]),
|
|
26
26
|
onClick: r[0] || (r[0] = (o) => t.value = !t.value)
|
|
27
27
|
}, null, 8, ["class"])
|
|
28
28
|
]),
|
|
29
|
-
Z("div",
|
|
30
|
-
|
|
31
|
-
[
|
|
29
|
+
Z("div", Nn, [
|
|
30
|
+
mn(Z("div", { class: "tr-bubble__step-text-content" }, Cu(e.content), 513), [
|
|
31
|
+
[_n, t.value]
|
|
32
32
|
])
|
|
33
33
|
])
|
|
34
34
|
]));
|
|
35
35
|
}
|
|
36
|
-
}),
|
|
36
|
+
}), Pn = /* @__PURE__ */ ce(Bn, [["__scopeId", "data-v-c614ffd3"]]), zn = Pn, qn = { class: "tr-bubble__text" }, Un = /* @__PURE__ */ yu({
|
|
37
37
|
__name: "text",
|
|
38
38
|
props: {
|
|
39
39
|
content: {}
|
|
40
40
|
},
|
|
41
41
|
setup(u) {
|
|
42
42
|
const e = u;
|
|
43
|
-
return (t, n) => (S(), H("span",
|
|
43
|
+
return (t, n) => (S(), H("span", qn, Cu(e.content), 1));
|
|
44
44
|
}
|
|
45
|
-
}),
|
|
45
|
+
}), Hn = /* @__PURE__ */ ce(Un, [["__scopeId", "data-v-ddb66b72"]]), d0 = Hn, $n = { class: "tr-bubble__step-tool" }, jn = { class: "tr-bubble__step-tool-header" }, Gn = { class: "tr-bubble__step-tool-left" }, Wn = { class: "tr-bubble__step-tool-title" }, Zn = { class: "tr-bubble__step-tool-name" }, Vn = { class: "tr-bubble__step-tool-expand" }, Yn = {
|
|
46
46
|
key: 0,
|
|
47
47
|
class: "tr-bubble__step-tool-params"
|
|
48
|
-
},
|
|
48
|
+
}, Xn = ["innerHTML"], Jn = /* @__PURE__ */ yu({
|
|
49
49
|
__name: "tool",
|
|
50
50
|
props: {
|
|
51
51
|
name: {},
|
|
@@ -55,12 +55,12 @@ const Mn = { class: "tr-bubble__step-text" }, Ln = { class: "tr-bubble__step-tex
|
|
|
55
55
|
defaultOpen: { type: Boolean }
|
|
56
56
|
},
|
|
57
57
|
setup(u) {
|
|
58
|
-
const e = u, t =
|
|
59
|
-
["running", { text: "正在调用", icon:
|
|
60
|
-
["success", { text: "已调用", icon:
|
|
61
|
-
["failed", { text: "调用失败", icon:
|
|
62
|
-
["cancelled", { text: "已取消", icon:
|
|
63
|
-
]), r = X(() => n.get(e.status) || { text: "", icon:
|
|
58
|
+
const e = u, t = s0(e.defaultOpen ?? !1), n = /* @__PURE__ */ new Map([
|
|
59
|
+
["running", { text: "正在调用", icon: vn }],
|
|
60
|
+
["success", { text: "已调用", icon: J0 }],
|
|
61
|
+
["failed", { text: "调用失败", icon: Rn }],
|
|
62
|
+
["cancelled", { text: "已取消", icon: In }]
|
|
63
|
+
]), r = X(() => n.get(e.status) || { text: "", icon: J0 }), o = xn(), i = (c) => {
|
|
64
64
|
if (!c)
|
|
65
65
|
return "";
|
|
66
66
|
let a = "";
|
|
@@ -78,73 +78,73 @@ const Mn = { class: "tr-bubble__step-text" }, Ln = { class: "tr-bubble__step-tex
|
|
|
78
78
|
}
|
|
79
79
|
), a;
|
|
80
80
|
};
|
|
81
|
-
return (c, a) => (S(), H("div",
|
|
82
|
-
Z("div",
|
|
83
|
-
Z("div",
|
|
81
|
+
return (c, a) => (S(), H("div", $n, [
|
|
82
|
+
Z("div", jn, [
|
|
83
|
+
Z("div", Gn, [
|
|
84
84
|
(S(), eu(_u(r.value.icon), {
|
|
85
85
|
class: Au(["tr-bubble__step-tool-icon", `icon-${e.status}`])
|
|
86
86
|
}, null, 8, ["class"])),
|
|
87
|
-
Z("span",
|
|
88
|
-
|
|
89
|
-
Z("span",
|
|
87
|
+
Z("span", Wn, [
|
|
88
|
+
gn(Cu(r.value.text) + " ", 1),
|
|
89
|
+
Z("span", Zn, Cu(e.name), 1)
|
|
90
90
|
])
|
|
91
91
|
]),
|
|
92
|
-
Z("div",
|
|
93
|
-
|
|
92
|
+
Z("div", Vn, [
|
|
93
|
+
Dt(l0(wn), {
|
|
94
94
|
class: Au(["expand-icon", { "-rotate-90": !t.value }]),
|
|
95
95
|
onClick: a[0] || (a[0] = (s) => t.value = !t.value)
|
|
96
96
|
}, null, 8, ["class"])
|
|
97
97
|
])
|
|
98
98
|
]),
|
|
99
|
-
t.value ? (S(), H("div",
|
|
99
|
+
t.value ? (S(), H("div", Yn, [
|
|
100
100
|
a[1] || (a[1] = Z("hr", { class: "tr-bubble__step-tool-hr" }, null, -1)),
|
|
101
101
|
Z("div", {
|
|
102
102
|
class: "tr-bubble__step-tool-params-content",
|
|
103
103
|
innerHTML: i(e.content)
|
|
104
|
-
}, null, 8,
|
|
105
|
-
])) :
|
|
104
|
+
}, null, 8, Xn)
|
|
105
|
+
])) : Bu("", !0)
|
|
106
106
|
]));
|
|
107
107
|
}
|
|
108
|
-
}),
|
|
109
|
-
key:
|
|
110
|
-
number:
|
|
111
|
-
string:
|
|
112
|
-
boolean:
|
|
108
|
+
}), Qn = "_key_1b448_2", Kn = "_number_1b448_6", ur = "_string_1b448_10", er = "_boolean_1b448_14", tr = {
|
|
109
|
+
key: Qn,
|
|
110
|
+
number: Kn,
|
|
111
|
+
string: ur,
|
|
112
|
+
boolean: er,
|
|
113
113
|
null: "_null_1b448_18"
|
|
114
|
-
},
|
|
115
|
-
$style:
|
|
116
|
-
},
|
|
117
|
-
["text",
|
|
118
|
-
["tool",
|
|
119
|
-
["collapsible-text",
|
|
120
|
-
]),
|
|
114
|
+
}, nr = {
|
|
115
|
+
$style: tr
|
|
116
|
+
}, rr = /* @__PURE__ */ ce(Jn, [["__cssModules", nr], ["__scopeId", "data-v-1c37a4c4"]]), or = rr, yt = /* @__PURE__ */ new Map([
|
|
117
|
+
["text", d0],
|
|
118
|
+
["tool", or],
|
|
119
|
+
["collapsible-text", zn]
|
|
120
|
+
]), Ft = Symbol("bubbleContentRendererMap"), Tt = Symbol("bubbleContentFallbackRenderer"), cr = /* @__PURE__ */ yu({
|
|
121
121
|
__name: "ContentItem",
|
|
122
122
|
props: {
|
|
123
123
|
item: {}
|
|
124
124
|
},
|
|
125
125
|
setup(u) {
|
|
126
|
-
const e =
|
|
126
|
+
const e = W0(Ft, yt), t = W0(Tt, d0), n = u, r = (i) => {
|
|
127
127
|
const c = e.get(i) || t;
|
|
128
|
-
return typeof c == "function" ? { isComponent: !1, vNodeOrComponent: c(n.item) } : c instanceof
|
|
128
|
+
return typeof c == "function" ? { isComponent: !1, vNodeOrComponent: c(n.item) } : c instanceof f0 ? { isComponent: !1, vNodeOrComponent: c.render(n.item) } : { isComponent: !0, vNodeOrComponent: c };
|
|
129
129
|
}, o = X(() => r(n.item.type));
|
|
130
|
-
return (i, c) => o.value.isComponent ? (S(), eu(_u(o.value.vNodeOrComponent),
|
|
130
|
+
return (i, c) => o.value.isComponent ? (S(), eu(_u(o.value.vNodeOrComponent), Ce(Ku({ key: 0 }, n.item)), null, 16)) : (S(), eu(_u(o.value.vNodeOrComponent), { key: 1 }));
|
|
131
131
|
}
|
|
132
132
|
});
|
|
133
|
-
/*! @license DOMPurify 3.
|
|
133
|
+
/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */
|
|
134
134
|
const {
|
|
135
|
-
entries:
|
|
136
|
-
setPrototypeOf:
|
|
137
|
-
isFrozen:
|
|
138
|
-
getPrototypeOf:
|
|
139
|
-
getOwnPropertyDescriptor:
|
|
135
|
+
entries: St,
|
|
136
|
+
setPrototypeOf: Q0,
|
|
137
|
+
isFrozen: ir,
|
|
138
|
+
getPrototypeOf: ar,
|
|
139
|
+
getOwnPropertyDescriptor: sr
|
|
140
140
|
} = Object;
|
|
141
141
|
let {
|
|
142
142
|
freeze: j,
|
|
143
143
|
seal: Q,
|
|
144
|
-
create:
|
|
144
|
+
create: n0
|
|
145
145
|
} = Object, {
|
|
146
|
-
apply:
|
|
147
|
-
construct:
|
|
146
|
+
apply: r0,
|
|
147
|
+
construct: o0
|
|
148
148
|
} = typeof Reflect < "u" && Reflect;
|
|
149
149
|
j || (j = function(e) {
|
|
150
150
|
return e;
|
|
@@ -152,103 +152,103 @@ j || (j = function(e) {
|
|
|
152
152
|
Q || (Q = function(e) {
|
|
153
153
|
return e;
|
|
154
154
|
});
|
|
155
|
-
|
|
155
|
+
r0 || (r0 = function(e, t) {
|
|
156
156
|
for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), o = 2; o < n; o++)
|
|
157
157
|
r[o - 2] = arguments[o];
|
|
158
158
|
return e.apply(t, r);
|
|
159
159
|
});
|
|
160
|
-
|
|
160
|
+
o0 || (o0 = function(e) {
|
|
161
161
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
|
|
162
162
|
n[r - 1] = arguments[r];
|
|
163
163
|
return new e(...n);
|
|
164
164
|
});
|
|
165
|
-
const
|
|
165
|
+
const _e = G(Array.prototype.forEach), lr = G(Array.prototype.lastIndexOf), K0 = G(Array.prototype.pop), Zu = G(Array.prototype.push), fr = G(Array.prototype.splice), Ae = G(String.prototype.toLowerCase), je = G(String.prototype.toString), Ge = G(String.prototype.match), Vu = G(String.prototype.replace), dr = G(String.prototype.indexOf), hr = G(String.prototype.trim), uu = G(Object.prototype.hasOwnProperty), $ = G(RegExp.prototype.test), Yu = pr(TypeError);
|
|
166
166
|
function G(u) {
|
|
167
167
|
return function(e) {
|
|
168
168
|
e instanceof RegExp && (e.lastIndex = 0);
|
|
169
169
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
|
|
170
170
|
n[r - 1] = arguments[r];
|
|
171
|
-
return
|
|
171
|
+
return r0(u, e, n);
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function pr(u) {
|
|
175
175
|
return function() {
|
|
176
176
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
177
177
|
t[n] = arguments[n];
|
|
178
|
-
return
|
|
178
|
+
return o0(u, t);
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
181
|
function F(u, e) {
|
|
182
|
-
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
183
|
-
|
|
182
|
+
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Ae;
|
|
183
|
+
Q0 && Q0(u, null);
|
|
184
184
|
let n = e.length;
|
|
185
185
|
for (; n--; ) {
|
|
186
186
|
let r = e[n];
|
|
187
187
|
if (typeof r == "string") {
|
|
188
188
|
const o = t(r);
|
|
189
|
-
o !== r && (
|
|
189
|
+
o !== r && (ir(e) || (e[n] = o), r = o);
|
|
190
190
|
}
|
|
191
191
|
u[r] = !0;
|
|
192
192
|
}
|
|
193
193
|
return u;
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function br(u) {
|
|
196
196
|
for (let e = 0; e < u.length; e++)
|
|
197
197
|
uu(u, e) || (u[e] = null);
|
|
198
198
|
return u;
|
|
199
199
|
}
|
|
200
200
|
function du(u) {
|
|
201
|
-
const e =
|
|
202
|
-
for (const [t, n] of
|
|
203
|
-
uu(u, t) && (Array.isArray(n) ? e[t] =
|
|
201
|
+
const e = n0(null);
|
|
202
|
+
for (const [t, n] of St(u))
|
|
203
|
+
uu(u, t) && (Array.isArray(n) ? e[t] = br(n) : n && typeof n == "object" && n.constructor === Object ? e[t] = du(n) : e[t] = n);
|
|
204
204
|
return e;
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Xu(u, e) {
|
|
207
207
|
for (; u !== null; ) {
|
|
208
|
-
const n =
|
|
208
|
+
const n = sr(u, e);
|
|
209
209
|
if (n) {
|
|
210
210
|
if (n.get)
|
|
211
211
|
return G(n.get);
|
|
212
212
|
if (typeof n.value == "function")
|
|
213
213
|
return G(n.value);
|
|
214
214
|
}
|
|
215
|
-
u =
|
|
215
|
+
u = ar(u);
|
|
216
216
|
}
|
|
217
217
|
function t() {
|
|
218
218
|
return null;
|
|
219
219
|
}
|
|
220
220
|
return t;
|
|
221
221
|
}
|
|
222
|
-
const
|
|
222
|
+
const ut = j(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "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 = j(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Ze = j(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), mr = j(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Ve = j(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), _r = j(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), et = j(["#text"]), tt = j(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "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", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Ye = j(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "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"]), nt = j(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), xe = j(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), xr = Q(/\{\{[\w\W]*|[\w\W]*\}\}/gm), gr = Q(/<%[\w\W]*|[\w\W]*%>/gm), kr = Q(/\$\{[\w\W]*/gm), Er = Q(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ar = Q(/^aria-[\-\w]+$/), wt = Q(
|
|
223
223
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
224
224
|
// eslint-disable-line no-useless-escape
|
|
225
|
-
),
|
|
225
|
+
), Cr = Q(/^(?:\w+script|data):/i), Dr = Q(
|
|
226
226
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
227
227
|
// eslint-disable-line no-control-regex
|
|
228
|
-
),
|
|
229
|
-
var
|
|
228
|
+
), vt = Q(/^html$/i), yr = Q(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
229
|
+
var rt = /* @__PURE__ */ Object.freeze({
|
|
230
230
|
__proto__: null,
|
|
231
|
-
ARIA_ATTR:
|
|
232
|
-
ATTR_WHITESPACE:
|
|
233
|
-
CUSTOM_ELEMENT:
|
|
234
|
-
DATA_ATTR:
|
|
235
|
-
DOCTYPE_NAME:
|
|
236
|
-
ERB_EXPR:
|
|
237
|
-
IS_ALLOWED_URI:
|
|
238
|
-
IS_SCRIPT_OR_DATA:
|
|
239
|
-
MUSTACHE_EXPR:
|
|
240
|
-
TMPLIT_EXPR:
|
|
231
|
+
ARIA_ATTR: Ar,
|
|
232
|
+
ATTR_WHITESPACE: Dr,
|
|
233
|
+
CUSTOM_ELEMENT: yr,
|
|
234
|
+
DATA_ATTR: Er,
|
|
235
|
+
DOCTYPE_NAME: vt,
|
|
236
|
+
ERB_EXPR: gr,
|
|
237
|
+
IS_ALLOWED_URI: wt,
|
|
238
|
+
IS_SCRIPT_OR_DATA: Cr,
|
|
239
|
+
MUSTACHE_EXPR: xr,
|
|
240
|
+
TMPLIT_EXPR: kr
|
|
241
241
|
});
|
|
242
|
-
const
|
|
242
|
+
const Ju = {
|
|
243
243
|
element: 1,
|
|
244
244
|
text: 3,
|
|
245
245
|
// Deprecated
|
|
246
246
|
progressingInstruction: 7,
|
|
247
247
|
comment: 8,
|
|
248
248
|
document: 9
|
|
249
|
-
},
|
|
249
|
+
}, Fr = function() {
|
|
250
250
|
return typeof window > "u" ? null : window;
|
|
251
|
-
},
|
|
251
|
+
}, Tr = function(e, t) {
|
|
252
252
|
if (typeof e != "object" || typeof e.createPolicy != "function")
|
|
253
253
|
return null;
|
|
254
254
|
let n = null;
|
|
@@ -267,7 +267,7 @@ const Xu = {
|
|
|
267
267
|
} catch {
|
|
268
268
|
return console.warn("TrustedTypes policy " + o + " could not be created."), null;
|
|
269
269
|
}
|
|
270
|
-
},
|
|
270
|
+
}, ot = function() {
|
|
271
271
|
return {
|
|
272
272
|
afterSanitizeAttributes: [],
|
|
273
273
|
afterSanitizeElements: [],
|
|
@@ -280,10 +280,10 @@ const Xu = {
|
|
|
280
280
|
uponSanitizeShadowNode: []
|
|
281
281
|
};
|
|
282
282
|
};
|
|
283
|
-
function
|
|
284
|
-
let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
285
|
-
const e = (g) =>
|
|
286
|
-
if (e.version = "3.
|
|
283
|
+
function Rt() {
|
|
284
|
+
let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Fr();
|
|
285
|
+
const e = (g) => Rt(g);
|
|
286
|
+
if (e.version = "3.3.0", e.removed = [], !u || !u.document || u.document.nodeType !== Ju.document || !u.Element)
|
|
287
287
|
return e.isSupported = !1, e;
|
|
288
288
|
let {
|
|
289
289
|
document: t
|
|
@@ -298,7 +298,7 @@ function vt() {
|
|
|
298
298
|
HTMLFormElement: d,
|
|
299
299
|
DOMParser: m,
|
|
300
300
|
trustedTypes: p
|
|
301
|
-
} = u, h = a.prototype, C =
|
|
301
|
+
} = u, h = a.prototype, C = Xu(h, "cloneNode"), D = Xu(h, "remove"), T = Xu(h, "nextSibling"), E = Xu(h, "childNodes"), k = Xu(h, "parentNode");
|
|
302
302
|
if (typeof i == "function") {
|
|
303
303
|
const g = t.createElement("template");
|
|
304
304
|
g.content && g.content.ownerDocument && (t = g.content.ownerDocument);
|
|
@@ -312,25 +312,25 @@ function vt() {
|
|
|
312
312
|
} = t, {
|
|
313
313
|
importNode: gu
|
|
314
314
|
} = n;
|
|
315
|
-
let L =
|
|
316
|
-
e.isSupported = typeof
|
|
315
|
+
let L = ot();
|
|
316
|
+
e.isSupported = typeof St == "function" && typeof k == "function" && y && y.createHTMLDocument !== void 0;
|
|
317
317
|
const {
|
|
318
|
-
MUSTACHE_EXPR:
|
|
319
|
-
ERB_EXPR:
|
|
318
|
+
MUSTACHE_EXPR: Hu,
|
|
319
|
+
ERB_EXPR: $u,
|
|
320
320
|
TMPLIT_EXPR: Fu,
|
|
321
321
|
DATA_ATTR: hu,
|
|
322
|
-
ARIA_ATTR:
|
|
323
|
-
IS_SCRIPT_OR_DATA:
|
|
324
|
-
ATTR_WHITESPACE:
|
|
325
|
-
CUSTOM_ELEMENT:
|
|
326
|
-
} =
|
|
322
|
+
ARIA_ATTR: Ie,
|
|
323
|
+
IS_SCRIPT_OR_DATA: nn,
|
|
324
|
+
ATTR_WHITESPACE: E0,
|
|
325
|
+
CUSTOM_ELEMENT: rn
|
|
326
|
+
} = rt;
|
|
327
327
|
let {
|
|
328
|
-
IS_ALLOWED_URI:
|
|
329
|
-
} =
|
|
330
|
-
const
|
|
328
|
+
IS_ALLOWED_URI: A0
|
|
329
|
+
} = rt, O = null;
|
|
330
|
+
const C0 = F({}, [...ut, ...We, ...Ze, ...Ve, ...et]);
|
|
331
331
|
let z = null;
|
|
332
|
-
const
|
|
333
|
-
let R = Object.seal(
|
|
332
|
+
const D0 = F({}, [...tt, ...Ye, ...nt, ...xe]);
|
|
333
|
+
let R = Object.seal(n0(null, {
|
|
334
334
|
tagNameCheck: {
|
|
335
335
|
writable: !0,
|
|
336
336
|
configurable: !1,
|
|
@@ -349,47 +349,62 @@ function vt() {
|
|
|
349
349
|
enumerable: !0,
|
|
350
350
|
value: !1
|
|
351
351
|
}
|
|
352
|
-
})),
|
|
353
|
-
const
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
352
|
+
})), ju = null, Me = null;
|
|
353
|
+
const Tu = Object.seal(n0(null, {
|
|
354
|
+
tagCheck: {
|
|
355
|
+
writable: !0,
|
|
356
|
+
configurable: !1,
|
|
357
|
+
enumerable: !0,
|
|
358
|
+
value: null
|
|
359
|
+
},
|
|
360
|
+
attributeCheck: {
|
|
361
|
+
writable: !0,
|
|
362
|
+
configurable: !1,
|
|
363
|
+
enumerable: !0,
|
|
364
|
+
value: null
|
|
365
|
+
}
|
|
366
|
+
}));
|
|
367
|
+
let y0 = !0, Le = !0, F0 = !1, T0 = !0, Su = !1, le = !0, ku = !1, Oe = !1, Ne = !1, wu = !1, fe = !1, de = !1, S0 = !0, w0 = !1;
|
|
368
|
+
const on = "user-content-";
|
|
369
|
+
let Be = !0, Gu = !1, vu = {}, Ru = null;
|
|
370
|
+
const v0 = 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"]);
|
|
371
|
+
let R0 = null;
|
|
372
|
+
const I0 = F({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
373
|
+
let Pe = null;
|
|
374
|
+
const M0 = F({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), he = "http://www.w3.org/1998/Math/MathML", pe = "http://www.w3.org/2000/svg", su = "http://www.w3.org/1999/xhtml";
|
|
375
|
+
let Iu = su, ze = !1, qe = null;
|
|
376
|
+
const cn = F({}, [he, pe, su], je);
|
|
377
|
+
let be = F({}, ["mi", "mo", "mn", "ms", "mtext"]), me = F({}, ["annotation-xml"]);
|
|
378
|
+
const an = F({}, ["title", "style", "font", "a", "script"]);
|
|
379
|
+
let Wu = null;
|
|
380
|
+
const sn = ["application/xhtml+xml", "text/html"], ln = "text/html";
|
|
381
|
+
let N = null, Mu = null;
|
|
382
|
+
const fn = t.createElement("form"), L0 = function(l) {
|
|
368
383
|
return l instanceof RegExp || l instanceof Function;
|
|
369
|
-
},
|
|
384
|
+
}, Ue = function() {
|
|
370
385
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
371
|
-
if (!(
|
|
372
|
-
if ((!l || typeof l != "object") && (l = {}), l = du(l),
|
|
373
|
-
|
|
386
|
+
if (!(Mu && Mu === l)) {
|
|
387
|
+
if ((!l || typeof l != "object") && (l = {}), l = du(l), Wu = // eslint-disable-next-line unicorn/prefer-includes
|
|
388
|
+
sn.indexOf(l.PARSER_MEDIA_TYPE) === -1 ? ln : l.PARSER_MEDIA_TYPE, N = Wu === "application/xhtml+xml" ? je : Ae, O = uu(l, "ALLOWED_TAGS") ? F({}, l.ALLOWED_TAGS, N) : C0, z = uu(l, "ALLOWED_ATTR") ? F({}, l.ALLOWED_ATTR, N) : D0, qe = uu(l, "ALLOWED_NAMESPACES") ? F({}, l.ALLOWED_NAMESPACES, je) : cn, Pe = uu(l, "ADD_URI_SAFE_ATTR") ? F(du(M0), l.ADD_URI_SAFE_ATTR, N) : M0, R0 = uu(l, "ADD_DATA_URI_TAGS") ? F(du(I0), l.ADD_DATA_URI_TAGS, N) : I0, Ru = uu(l, "FORBID_CONTENTS") ? F({}, l.FORBID_CONTENTS, N) : v0, ju = uu(l, "FORBID_TAGS") ? F({}, l.FORBID_TAGS, N) : du({}), Me = uu(l, "FORBID_ATTR") ? F({}, l.FORBID_ATTR, N) : du({}), vu = uu(l, "USE_PROFILES") ? l.USE_PROFILES : !1, y0 = l.ALLOW_ARIA_ATTR !== !1, Le = l.ALLOW_DATA_ATTR !== !1, F0 = l.ALLOW_UNKNOWN_PROTOCOLS || !1, T0 = l.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Su = l.SAFE_FOR_TEMPLATES || !1, le = l.SAFE_FOR_XML !== !1, ku = l.WHOLE_DOCUMENT || !1, wu = l.RETURN_DOM || !1, fe = l.RETURN_DOM_FRAGMENT || !1, de = l.RETURN_TRUSTED_TYPE || !1, Ne = l.FORCE_BODY || !1, S0 = l.SANITIZE_DOM !== !1, w0 = l.SANITIZE_NAMED_PROPS || !1, Be = l.KEEP_CONTENT !== !1, Gu = l.IN_PLACE || !1, A0 = l.ALLOWED_URI_REGEXP || wt, Iu = l.NAMESPACE || su, be = l.MATHML_TEXT_INTEGRATION_POINTS || be, me = l.HTML_INTEGRATION_POINTS || me, R = l.CUSTOM_ELEMENT_HANDLING || {}, l.CUSTOM_ELEMENT_HANDLING && L0(l.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (R.tagNameCheck = l.CUSTOM_ELEMENT_HANDLING.tagNameCheck), l.CUSTOM_ELEMENT_HANDLING && L0(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), Su && (Le = !1), fe && (wu = !0), vu && (O = F({}, et), z = [], vu.html === !0 && (F(O, ut), F(z, tt)), vu.svg === !0 && (F(O, We), F(z, Ye), F(z, xe)), vu.svgFilters === !0 && (F(O, Ze), F(z, Ye), F(z, xe)), vu.mathMl === !0 && (F(O, Ve), F(z, nt), F(z, xe))), l.ADD_TAGS && (typeof l.ADD_TAGS == "function" ? Tu.tagCheck = l.ADD_TAGS : (O === C0 && (O = du(O)), F(O, l.ADD_TAGS, N))), l.ADD_ATTR && (typeof l.ADD_ATTR == "function" ? Tu.attributeCheck = l.ADD_ATTR : (z === D0 && (z = du(z)), F(z, l.ADD_ATTR, N))), l.ADD_URI_SAFE_ATTR && F(Pe, l.ADD_URI_SAFE_ATTR, N), l.FORBID_CONTENTS && (Ru === v0 && (Ru = du(Ru)), F(Ru, l.FORBID_CONTENTS, N)), Be && (O["#text"] = !0), ku && F(O, ["html", "head", "body"]), O.table && (F(O, ["tbody"]), delete ju.tbody), l.TRUSTED_TYPES_POLICY) {
|
|
374
389
|
if (typeof l.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
375
|
-
throw
|
|
390
|
+
throw Yu('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
376
391
|
if (typeof l.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
377
|
-
throw
|
|
392
|
+
throw Yu('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
378
393
|
_ = l.TRUSTED_TYPES_POLICY, A = _.createHTML("");
|
|
379
394
|
} else
|
|
380
|
-
_ === void 0 && (_ =
|
|
381
|
-
j && j(l),
|
|
395
|
+
_ === void 0 && (_ = Tr(p, r)), _ !== null && typeof A == "string" && (A = _.createHTML(""));
|
|
396
|
+
j && j(l), Mu = l;
|
|
382
397
|
}
|
|
383
|
-
},
|
|
398
|
+
}, O0 = F({}, [...We, ...Ze, ...mr]), N0 = F({}, [...Ve, ..._r]), dn = function(l) {
|
|
384
399
|
let b = k(l);
|
|
385
400
|
(!b || !b.tagName) && (b = {
|
|
386
|
-
namespaceURI:
|
|
401
|
+
namespaceURI: Iu,
|
|
387
402
|
tagName: "template"
|
|
388
403
|
});
|
|
389
|
-
const x =
|
|
390
|
-
return
|
|
404
|
+
const x = Ae(l.tagName), v = Ae(b.tagName);
|
|
405
|
+
return qe[l.namespaceURI] ? l.namespaceURI === pe ? b.namespaceURI === su ? x === "svg" : b.namespaceURI === he ? x === "svg" && (v === "annotation-xml" || be[v]) : !!O0[x] : l.namespaceURI === he ? b.namespaceURI === su ? x === "math" : b.namespaceURI === pe ? x === "math" && me[v] : !!N0[x] : l.namespaceURI === su ? b.namespaceURI === pe && !me[v] || b.namespaceURI === he && !be[v] ? !1 : !N0[x] && (an[x] || !O0[x]) : !!(Wu === "application/xhtml+xml" && qe[l.namespaceURI]) : !1;
|
|
391
406
|
}, ru = function(l) {
|
|
392
|
-
|
|
407
|
+
Zu(e.removed, {
|
|
393
408
|
element: l
|
|
394
409
|
});
|
|
395
410
|
try {
|
|
@@ -399,18 +414,18 @@ function vt() {
|
|
|
399
414
|
}
|
|
400
415
|
}, Eu = function(l, b) {
|
|
401
416
|
try {
|
|
402
|
-
|
|
417
|
+
Zu(e.removed, {
|
|
403
418
|
attribute: b.getAttributeNode(l),
|
|
404
419
|
from: b
|
|
405
420
|
});
|
|
406
421
|
} catch {
|
|
407
|
-
|
|
422
|
+
Zu(e.removed, {
|
|
408
423
|
attribute: null,
|
|
409
424
|
from: b
|
|
410
425
|
});
|
|
411
426
|
}
|
|
412
427
|
if (b.removeAttribute(l), l === "is")
|
|
413
|
-
if (
|
|
428
|
+
if (wu || fe)
|
|
414
429
|
try {
|
|
415
430
|
ru(b);
|
|
416
431
|
} catch {
|
|
@@ -420,31 +435,31 @@ function vt() {
|
|
|
420
435
|
b.setAttribute(l, "");
|
|
421
436
|
} catch {
|
|
422
437
|
}
|
|
423
|
-
},
|
|
438
|
+
}, B0 = function(l) {
|
|
424
439
|
let b = null, x = null;
|
|
425
|
-
if (
|
|
440
|
+
if (Ne)
|
|
426
441
|
l = "<remove></remove>" + l;
|
|
427
442
|
else {
|
|
428
|
-
const I =
|
|
443
|
+
const I = Ge(l, /^[\r\n\t ]+/);
|
|
429
444
|
x = I && I[0];
|
|
430
445
|
}
|
|
431
|
-
|
|
446
|
+
Wu === "application/xhtml+xml" && Iu === su && (l = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + l + "</body></html>");
|
|
432
447
|
const v = _ ? _.createHTML(l) : l;
|
|
433
|
-
if (
|
|
448
|
+
if (Iu === su)
|
|
434
449
|
try {
|
|
435
|
-
b = new m().parseFromString(v,
|
|
450
|
+
b = new m().parseFromString(v, Wu);
|
|
436
451
|
} catch {
|
|
437
452
|
}
|
|
438
453
|
if (!b || !b.documentElement) {
|
|
439
|
-
b = y.createDocument(
|
|
454
|
+
b = y.createDocument(Iu, "template", null);
|
|
440
455
|
try {
|
|
441
|
-
b.documentElement.innerHTML =
|
|
456
|
+
b.documentElement.innerHTML = ze ? A : v;
|
|
442
457
|
} catch {
|
|
443
458
|
}
|
|
444
459
|
}
|
|
445
460
|
const U = b.body || b.documentElement;
|
|
446
|
-
return l && x && U.insertBefore(t.createTextNode(x), U.childNodes[0] || null),
|
|
447
|
-
},
|
|
461
|
+
return l && x && U.insertBefore(t.createTextNode(x), U.childNodes[0] || null), Iu === su ? nu.call(b, ku ? "html" : "body")[0] : ku ? b.documentElement : U;
|
|
462
|
+
}, P0 = function(l) {
|
|
448
463
|
return M.call(
|
|
449
464
|
l.ownerDocument || l,
|
|
450
465
|
l,
|
|
@@ -452,30 +467,30 @@ function vt() {
|
|
|
452
467
|
s.SHOW_ELEMENT | s.SHOW_COMMENT | s.SHOW_TEXT | s.SHOW_PROCESSING_INSTRUCTION | s.SHOW_CDATA_SECTION,
|
|
453
468
|
null
|
|
454
469
|
);
|
|
455
|
-
},
|
|
470
|
+
}, He = function(l) {
|
|
456
471
|
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");
|
|
457
|
-
},
|
|
472
|
+
}, z0 = function(l) {
|
|
458
473
|
return typeof c == "function" && l instanceof c;
|
|
459
474
|
};
|
|
460
475
|
function lu(g, l, b) {
|
|
461
|
-
|
|
462
|
-
x.call(e, l, b,
|
|
476
|
+
_e(g, (x) => {
|
|
477
|
+
x.call(e, l, b, Mu);
|
|
463
478
|
});
|
|
464
479
|
}
|
|
465
|
-
const
|
|
480
|
+
const q0 = function(l) {
|
|
466
481
|
let b = null;
|
|
467
|
-
if (lu(L.beforeSanitizeElements, l, null),
|
|
482
|
+
if (lu(L.beforeSanitizeElements, l, null), He(l))
|
|
468
483
|
return ru(l), !0;
|
|
469
484
|
const x = N(l.nodeName);
|
|
470
485
|
if (lu(L.uponSanitizeElement, l, {
|
|
471
486
|
tagName: x,
|
|
472
487
|
allowedTags: O
|
|
473
|
-
}),
|
|
488
|
+
}), le && l.hasChildNodes() && !z0(l.firstElementChild) && $(/<[/\w!]/g, l.innerHTML) && $(/<[/\w!]/g, l.textContent) || l.nodeType === Ju.progressingInstruction || le && l.nodeType === Ju.comment && $(/<[/\w]/g, l.data))
|
|
474
489
|
return ru(l), !0;
|
|
475
|
-
if (!O[x] ||
|
|
476
|
-
if (
|
|
490
|
+
if (!(Tu.tagCheck instanceof Function && Tu.tagCheck(x)) && (!O[x] || ju[x])) {
|
|
491
|
+
if (!ju[x] && H0(x) && (R.tagNameCheck instanceof RegExp && $(R.tagNameCheck, x) || R.tagNameCheck instanceof Function && R.tagNameCheck(x)))
|
|
477
492
|
return !1;
|
|
478
|
-
if (
|
|
493
|
+
if (Be && !Ru[x]) {
|
|
479
494
|
const v = k(l) || l.parentNode, U = E(l) || l.childNodes;
|
|
480
495
|
if (U && v) {
|
|
481
496
|
const I = U.length;
|
|
@@ -487,31 +502,33 @@ function vt() {
|
|
|
487
502
|
}
|
|
488
503
|
return ru(l), !0;
|
|
489
504
|
}
|
|
490
|
-
return l instanceof a && !
|
|
491
|
-
b =
|
|
492
|
-
}), l.textContent !== b && (
|
|
505
|
+
return l instanceof a && !dn(l) || (x === "noscript" || x === "noembed" || x === "noframes") && $(/<\/no(script|embed|frames)/i, l.innerHTML) ? (ru(l), !0) : (Su && l.nodeType === Ju.text && (b = l.textContent, _e([Hu, $u, Fu], (v) => {
|
|
506
|
+
b = Vu(b, v, " ");
|
|
507
|
+
}), l.textContent !== b && (Zu(e.removed, {
|
|
493
508
|
element: l.cloneNode()
|
|
494
509
|
}), l.textContent = b)), lu(L.afterSanitizeElements, l, null), !1);
|
|
495
|
-
},
|
|
496
|
-
if (
|
|
510
|
+
}, U0 = function(l, b, x) {
|
|
511
|
+
if (S0 && (b === "id" || b === "name") && (x in t || x in fn))
|
|
497
512
|
return !1;
|
|
498
|
-
if (!(
|
|
499
|
-
if (!(
|
|
500
|
-
if (!
|
|
501
|
-
if (
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
if (
|
|
511
|
-
if (
|
|
512
|
-
if (!(
|
|
513
|
-
if (x)
|
|
514
|
-
|
|
513
|
+
if (!(Le && !Me[b] && $(hu, b))) {
|
|
514
|
+
if (!(y0 && $(Ie, b))) {
|
|
515
|
+
if (!(Tu.attributeCheck instanceof Function && Tu.attributeCheck(b, l))) {
|
|
516
|
+
if (!z[b] || Me[b]) {
|
|
517
|
+
if (
|
|
518
|
+
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
519
|
+
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
520
|
+
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
521
|
+
!(H0(l) && (R.tagNameCheck instanceof RegExp && $(R.tagNameCheck, l) || R.tagNameCheck instanceof Function && R.tagNameCheck(l)) && (R.attributeNameCheck instanceof RegExp && $(R.attributeNameCheck, b) || R.attributeNameCheck instanceof Function && R.attributeNameCheck(b, l)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
522
|
+
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
523
|
+
b === "is" && R.allowCustomizedBuiltInElements && (R.tagNameCheck instanceof RegExp && $(R.tagNameCheck, x) || R.tagNameCheck instanceof Function && R.tagNameCheck(x)))
|
|
524
|
+
) return !1;
|
|
525
|
+
} else if (!Pe[b]) {
|
|
526
|
+
if (!$(A0, Vu(x, E0, ""))) {
|
|
527
|
+
if (!((b === "src" || b === "xlink:href" || b === "href") && l !== "script" && dr(x, "data:") === 0 && R0[l])) {
|
|
528
|
+
if (!(F0 && !$(nn, Vu(x, E0, "")))) {
|
|
529
|
+
if (x)
|
|
530
|
+
return !1;
|
|
531
|
+
}
|
|
515
532
|
}
|
|
516
533
|
}
|
|
517
534
|
}
|
|
@@ -519,14 +536,14 @@ function vt() {
|
|
|
519
536
|
}
|
|
520
537
|
}
|
|
521
538
|
return !0;
|
|
522
|
-
},
|
|
523
|
-
return l !== "annotation-xml" &&
|
|
524
|
-
},
|
|
539
|
+
}, H0 = function(l) {
|
|
540
|
+
return l !== "annotation-xml" && Ge(l, rn);
|
|
541
|
+
}, $0 = function(l) {
|
|
525
542
|
lu(L.beforeSanitizeAttributes, l, null);
|
|
526
543
|
const {
|
|
527
544
|
attributes: b
|
|
528
545
|
} = l;
|
|
529
|
-
if (!b ||
|
|
546
|
+
if (!b || He(l))
|
|
530
547
|
return;
|
|
531
548
|
const x = {
|
|
532
549
|
attrName: "",
|
|
@@ -541,13 +558,13 @@ function vt() {
|
|
|
541
558
|
name: I,
|
|
542
559
|
namespaceURI: W,
|
|
543
560
|
value: fu
|
|
544
|
-
} = U,
|
|
545
|
-
let q = I === "value" ?
|
|
546
|
-
if (x.attrName =
|
|
561
|
+
} = U, Lu = N(I), $e = fu;
|
|
562
|
+
let q = I === "value" ? $e : hr($e);
|
|
563
|
+
if (x.attrName = Lu, x.attrValue = q, x.keepAttr = !0, x.forceKeepAttr = void 0, lu(L.uponSanitizeAttribute, l, x), q = x.attrValue, w0 && (Lu === "id" || Lu === "name") && (Eu(I, l), q = on + q), le && $(/((--!?|])>)|<\/(style|title|textarea)/i, q)) {
|
|
547
564
|
Eu(I, l);
|
|
548
565
|
continue;
|
|
549
566
|
}
|
|
550
|
-
if (
|
|
567
|
+
if (Lu === "attributename" && Ge(q, "href")) {
|
|
551
568
|
Eu(I, l);
|
|
552
569
|
continue;
|
|
553
570
|
}
|
|
@@ -557,20 +574,20 @@ function vt() {
|
|
|
557
574
|
Eu(I, l);
|
|
558
575
|
continue;
|
|
559
576
|
}
|
|
560
|
-
if (!
|
|
577
|
+
if (!T0 && $(/\/>/i, q)) {
|
|
561
578
|
Eu(I, l);
|
|
562
579
|
continue;
|
|
563
580
|
}
|
|
564
|
-
|
|
565
|
-
q =
|
|
581
|
+
Su && _e([Hu, $u, Fu], (G0) => {
|
|
582
|
+
q = Vu(q, G0, " ");
|
|
566
583
|
});
|
|
567
|
-
const
|
|
568
|
-
if (!
|
|
584
|
+
const j0 = N(l.nodeName);
|
|
585
|
+
if (!U0(j0, Lu, q)) {
|
|
569
586
|
Eu(I, l);
|
|
570
587
|
continue;
|
|
571
588
|
}
|
|
572
589
|
if (_ && typeof p == "object" && typeof p.getAttributeType == "function" && !W)
|
|
573
|
-
switch (p.getAttributeType(
|
|
590
|
+
switch (p.getAttributeType(j0, Lu)) {
|
|
574
591
|
case "TrustedHTML": {
|
|
575
592
|
q = _.createHTML(q);
|
|
576
593
|
break;
|
|
@@ -580,54 +597,54 @@ function vt() {
|
|
|
580
597
|
break;
|
|
581
598
|
}
|
|
582
599
|
}
|
|
583
|
-
if (q !==
|
|
600
|
+
if (q !== $e)
|
|
584
601
|
try {
|
|
585
|
-
W ? l.setAttributeNS(W, I, q) : l.setAttribute(I, q),
|
|
602
|
+
W ? l.setAttributeNS(W, I, q) : l.setAttribute(I, q), He(l) ? ru(l) : K0(e.removed);
|
|
586
603
|
} catch {
|
|
587
604
|
Eu(I, l);
|
|
588
605
|
}
|
|
589
606
|
}
|
|
590
607
|
lu(L.afterSanitizeAttributes, l, null);
|
|
591
|
-
},
|
|
608
|
+
}, hn = function g(l) {
|
|
592
609
|
let b = null;
|
|
593
|
-
const x =
|
|
610
|
+
const x = P0(l);
|
|
594
611
|
for (lu(L.beforeSanitizeShadowDOM, l, null); b = x.nextNode(); )
|
|
595
|
-
lu(L.uponSanitizeShadowNode, b, null),
|
|
612
|
+
lu(L.uponSanitizeShadowNode, b, null), q0(b), $0(b), b.content instanceof o && g(b.content);
|
|
596
613
|
lu(L.afterSanitizeShadowDOM, l, null);
|
|
597
614
|
};
|
|
598
615
|
return e.sanitize = function(g) {
|
|
599
616
|
let l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, b = null, x = null, v = null, U = null;
|
|
600
|
-
if (
|
|
617
|
+
if (ze = !g, ze && (g = "<!-->"), typeof g != "string" && !z0(g))
|
|
601
618
|
if (typeof g.toString == "function") {
|
|
602
619
|
if (g = g.toString(), typeof g != "string")
|
|
603
|
-
throw
|
|
620
|
+
throw Yu("dirty is not a string, aborting");
|
|
604
621
|
} else
|
|
605
|
-
throw
|
|
622
|
+
throw Yu("toString is not a function");
|
|
606
623
|
if (!e.isSupported)
|
|
607
624
|
return g;
|
|
608
|
-
if (
|
|
625
|
+
if (Oe || Ue(l), e.removed = [], typeof g == "string" && (Gu = !1), Gu) {
|
|
609
626
|
if (g.nodeName) {
|
|
610
627
|
const fu = N(g.nodeName);
|
|
611
|
-
if (!O[fu] ||
|
|
612
|
-
throw
|
|
628
|
+
if (!O[fu] || ju[fu])
|
|
629
|
+
throw Yu("root node is forbidden and cannot be sanitized in-place");
|
|
613
630
|
}
|
|
614
631
|
} else if (g instanceof c)
|
|
615
|
-
b =
|
|
632
|
+
b = B0("<!---->"), x = b.ownerDocument.importNode(g, !0), x.nodeType === Ju.element && x.nodeName === "BODY" || x.nodeName === "HTML" ? b = x : b.appendChild(x);
|
|
616
633
|
else {
|
|
617
|
-
if (!
|
|
634
|
+
if (!wu && !Su && !ku && // eslint-disable-next-line unicorn/prefer-includes
|
|
618
635
|
g.indexOf("<") === -1)
|
|
619
|
-
return _ &&
|
|
620
|
-
if (b =
|
|
621
|
-
return
|
|
636
|
+
return _ && de ? _.createHTML(g) : g;
|
|
637
|
+
if (b = B0(g), !b)
|
|
638
|
+
return wu ? null : de ? A : "";
|
|
622
639
|
}
|
|
623
|
-
b &&
|
|
624
|
-
const I =
|
|
640
|
+
b && Ne && ru(b.firstChild);
|
|
641
|
+
const I = P0(Gu ? g : b);
|
|
625
642
|
for (; v = I.nextNode(); )
|
|
626
|
-
|
|
627
|
-
if (
|
|
643
|
+
q0(v), $0(v), v.content instanceof o && hn(v.content);
|
|
644
|
+
if (Gu)
|
|
628
645
|
return g;
|
|
629
|
-
if (
|
|
630
|
-
if (
|
|
646
|
+
if (wu) {
|
|
647
|
+
if (fe)
|
|
631
648
|
for (U = Y.call(b.ownerDocument); b.firstChild; )
|
|
632
649
|
U.appendChild(b.firstChild);
|
|
633
650
|
else
|
|
@@ -635,40 +652,40 @@ function vt() {
|
|
|
635
652
|
return (z.shadowroot || z.shadowrootmode) && (U = gu.call(n, U, !0)), U;
|
|
636
653
|
}
|
|
637
654
|
let W = ku ? b.outerHTML : b.innerHTML;
|
|
638
|
-
return ku && O["!doctype"] && b.ownerDocument && b.ownerDocument.doctype && b.ownerDocument.doctype.name && $(
|
|
639
|
-
` + W),
|
|
640
|
-
W =
|
|
641
|
-
}), _ &&
|
|
655
|
+
return ku && O["!doctype"] && b.ownerDocument && b.ownerDocument.doctype && b.ownerDocument.doctype.name && $(vt, b.ownerDocument.doctype.name) && (W = "<!DOCTYPE " + b.ownerDocument.doctype.name + `>
|
|
656
|
+
` + W), Su && _e([Hu, $u, Fu], (fu) => {
|
|
657
|
+
W = Vu(W, fu, " ");
|
|
658
|
+
}), _ && de ? _.createHTML(W) : W;
|
|
642
659
|
}, e.setConfig = function() {
|
|
643
660
|
let g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
644
|
-
|
|
661
|
+
Ue(g), Oe = !0;
|
|
645
662
|
}, e.clearConfig = function() {
|
|
646
|
-
|
|
663
|
+
Mu = null, Oe = !1;
|
|
647
664
|
}, e.isValidAttribute = function(g, l, b) {
|
|
648
|
-
|
|
665
|
+
Mu || Ue({});
|
|
649
666
|
const x = N(g), v = N(l);
|
|
650
|
-
return
|
|
667
|
+
return U0(x, v, b);
|
|
651
668
|
}, e.addHook = function(g, l) {
|
|
652
|
-
typeof l == "function" &&
|
|
669
|
+
typeof l == "function" && Zu(L[g], l);
|
|
653
670
|
}, e.removeHook = function(g, l) {
|
|
654
671
|
if (l !== void 0) {
|
|
655
|
-
const b =
|
|
656
|
-
return b === -1 ? void 0 :
|
|
672
|
+
const b = lr(L[g], l);
|
|
673
|
+
return b === -1 ? void 0 : fr(L[g], b, 1)[0];
|
|
657
674
|
}
|
|
658
|
-
return
|
|
675
|
+
return K0(L[g]);
|
|
659
676
|
}, e.removeHooks = function(g) {
|
|
660
677
|
L[g] = [];
|
|
661
678
|
}, e.removeAllHooks = function() {
|
|
662
|
-
L =
|
|
679
|
+
L = ot();
|
|
663
680
|
}, e;
|
|
664
681
|
}
|
|
665
|
-
var
|
|
666
|
-
const
|
|
667
|
-
function
|
|
668
|
-
let e =
|
|
682
|
+
var Sr = Rt();
|
|
683
|
+
const ct = {};
|
|
684
|
+
function wr(u) {
|
|
685
|
+
let e = ct[u];
|
|
669
686
|
if (e)
|
|
670
687
|
return e;
|
|
671
|
-
e =
|
|
688
|
+
e = ct[u] = [];
|
|
672
689
|
for (let t = 0; t < 128; t++) {
|
|
673
690
|
const n = String.fromCharCode(t);
|
|
674
691
|
e.push(n);
|
|
@@ -679,9 +696,9 @@ function Sr(u) {
|
|
|
679
696
|
}
|
|
680
697
|
return e;
|
|
681
698
|
}
|
|
682
|
-
function
|
|
683
|
-
typeof e != "string" && (e =
|
|
684
|
-
const t =
|
|
699
|
+
function zu(u, e) {
|
|
700
|
+
typeof e != "string" && (e = zu.defaultChars);
|
|
701
|
+
const t = wr(e);
|
|
685
702
|
return u.replace(/(%[a-f0-9]{2})+/gi, function(n) {
|
|
686
703
|
let r = "";
|
|
687
704
|
for (let o = 0, i = n.length; o < i; o += 3) {
|
|
@@ -719,14 +736,14 @@ function Pu(u, e) {
|
|
|
719
736
|
return r;
|
|
720
737
|
});
|
|
721
738
|
}
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
const
|
|
725
|
-
function
|
|
726
|
-
let e =
|
|
739
|
+
zu.defaultChars = ";/?:@&=+$,#";
|
|
740
|
+
zu.componentChars = "";
|
|
741
|
+
const it = {};
|
|
742
|
+
function vr(u) {
|
|
743
|
+
let e = it[u];
|
|
727
744
|
if (e)
|
|
728
745
|
return e;
|
|
729
|
-
e =
|
|
746
|
+
e = it[u] = [];
|
|
730
747
|
for (let t = 0; t < 128; t++) {
|
|
731
748
|
const n = String.fromCharCode(t);
|
|
732
749
|
/^[0-9a-z]$/i.test(n) ? e.push(n) : e.push("%" + ("0" + t.toString(16).toUpperCase()).slice(-2));
|
|
@@ -735,9 +752,9 @@ function wr(u) {
|
|
|
735
752
|
e[u.charCodeAt(t)] = u[t];
|
|
736
753
|
return e;
|
|
737
754
|
}
|
|
738
|
-
function
|
|
739
|
-
typeof e != "string" && (t = e, e =
|
|
740
|
-
const n =
|
|
755
|
+
function ie(u, e, t) {
|
|
756
|
+
typeof e != "string" && (t = e, e = ie.defaultChars), typeof t > "u" && (t = !0);
|
|
757
|
+
const n = vr(e);
|
|
741
758
|
let r = "";
|
|
742
759
|
for (let o = 0, i = u.length; o < i; o++) {
|
|
743
760
|
const c = u.charCodeAt(o);
|
|
@@ -764,20 +781,20 @@ function ce(u, e, t) {
|
|
|
764
781
|
}
|
|
765
782
|
return r;
|
|
766
783
|
}
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
function
|
|
784
|
+
ie.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
785
|
+
ie.componentChars = "-_.!~*'()";
|
|
786
|
+
function h0(u) {
|
|
770
787
|
let e = "";
|
|
771
788
|
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;
|
|
772
789
|
}
|
|
773
|
-
function
|
|
790
|
+
function ye() {
|
|
774
791
|
this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
|
|
775
792
|
}
|
|
776
|
-
const
|
|
777
|
-
`, " "],
|
|
793
|
+
const Rr = /^([a-z0-9.+-]+:)/i, Ir = /:[0-9]*$/, Mr = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Lr = ["<", ">", '"', "`", " ", "\r", `
|
|
794
|
+
`, " "], Or = ["{", "}", "|", "\\", "^", "`"].concat(Lr), Nr = ["'"].concat(Or), at = ["%", "/", "?", ";", "#"].concat(Nr), st = ["/", "?", "#"], Br = 255, lt = /^[+a-z0-9A-Z_-]{0,63}$/, Pr = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, ft = {
|
|
778
795
|
javascript: !0,
|
|
779
796
|
"javascript:": !0
|
|
780
|
-
},
|
|
797
|
+
}, dt = {
|
|
781
798
|
http: !0,
|
|
782
799
|
https: !0,
|
|
783
800
|
ftp: !0,
|
|
@@ -789,27 +806,27 @@ const vr = /^([a-z0-9.+-]+:)/i, Rr = /:[0-9]*$/, Ir = /^(\/\/?(?!\/)[^\?\s]*)(\?
|
|
|
789
806
|
"gopher:": !0,
|
|
790
807
|
"file:": !0
|
|
791
808
|
};
|
|
792
|
-
function
|
|
793
|
-
if (u && u instanceof
|
|
794
|
-
const t = new
|
|
809
|
+
function p0(u, e) {
|
|
810
|
+
if (u && u instanceof ye) return u;
|
|
811
|
+
const t = new ye();
|
|
795
812
|
return t.parse(u, e), t;
|
|
796
813
|
}
|
|
797
|
-
|
|
814
|
+
ye.prototype.parse = function(u, e) {
|
|
798
815
|
let t, n, r, o = u;
|
|
799
816
|
if (o = o.trim(), !e && u.split("#").length === 1) {
|
|
800
|
-
const s =
|
|
817
|
+
const s = Mr.exec(o);
|
|
801
818
|
if (s)
|
|
802
819
|
return this.pathname = s[1], s[2] && (this.search = s[2]), this;
|
|
803
820
|
}
|
|
804
|
-
let i =
|
|
805
|
-
if (i && (i = i[0], t = i.toLowerCase(), this.protocol = i, o = o.substr(i.length)), (e || i || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(i &&
|
|
821
|
+
let i = Rr.exec(o);
|
|
822
|
+
if (i && (i = i[0], t = i.toLowerCase(), this.protocol = i, o = o.substr(i.length)), (e || i || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(i && ft[i]) && (o = o.substr(2), this.slashes = !0)), !ft[i] && (r || i && !dt[i])) {
|
|
806
823
|
let s = -1;
|
|
807
|
-
for (let h = 0; h <
|
|
808
|
-
n = o.indexOf(
|
|
824
|
+
for (let h = 0; h < st.length; h++)
|
|
825
|
+
n = o.indexOf(st[h]), n !== -1 && (s === -1 || n < s) && (s = n);
|
|
809
826
|
let f, d;
|
|
810
827
|
s === -1 ? d = o.lastIndexOf("@") : d = o.lastIndexOf("@", s), d !== -1 && (f = o.slice(0, d), o = o.slice(d + 1), this.auth = f), s = -1;
|
|
811
|
-
for (let h = 0; h <
|
|
812
|
-
n = o.indexOf(
|
|
828
|
+
for (let h = 0; h < at.length; h++)
|
|
829
|
+
n = o.indexOf(at[h]), n !== -1 && (s === -1 || n < s) && (s = n);
|
|
813
830
|
s === -1 && (s = o.length), o[s - 1] === ":" && s--;
|
|
814
831
|
const m = o.slice(0, s);
|
|
815
832
|
o = o.slice(s), this.parseHost(m), this.hostname = this.hostname || "";
|
|
@@ -818,52 +835,52 @@ De.prototype.parse = function(u, e) {
|
|
|
818
835
|
const h = this.hostname.split(/\./);
|
|
819
836
|
for (let C = 0, D = h.length; C < D; C++) {
|
|
820
837
|
const T = h[C];
|
|
821
|
-
if (T && !T.match(
|
|
838
|
+
if (T && !T.match(lt)) {
|
|
822
839
|
let E = "";
|
|
823
840
|
for (let k = 0, _ = T.length; k < _; k++)
|
|
824
841
|
T.charCodeAt(k) > 127 ? E += "x" : E += T[k];
|
|
825
|
-
if (!E.match(
|
|
826
|
-
const k = h.slice(0, C), _ = h.slice(C + 1), A = T.match(
|
|
842
|
+
if (!E.match(lt)) {
|
|
843
|
+
const k = h.slice(0, C), _ = h.slice(C + 1), A = T.match(Pr);
|
|
827
844
|
A && (k.push(A[1]), _.unshift(A[2])), _.length && (o = _.join(".") + o), this.hostname = k.join(".");
|
|
828
845
|
break;
|
|
829
846
|
}
|
|
830
847
|
}
|
|
831
848
|
}
|
|
832
849
|
}
|
|
833
|
-
this.hostname.length >
|
|
850
|
+
this.hostname.length > Br && (this.hostname = ""), p && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
|
|
834
851
|
}
|
|
835
852
|
const c = o.indexOf("#");
|
|
836
853
|
c !== -1 && (this.hash = o.substr(c), o = o.slice(0, c));
|
|
837
854
|
const a = o.indexOf("?");
|
|
838
|
-
return a !== -1 && (this.search = o.substr(a), o = o.slice(0, a)), o && (this.pathname = o),
|
|
855
|
+
return a !== -1 && (this.search = o.substr(a), o = o.slice(0, a)), o && (this.pathname = o), dt[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
|
|
839
856
|
};
|
|
840
|
-
|
|
841
|
-
let e =
|
|
857
|
+
ye.prototype.parseHost = function(u) {
|
|
858
|
+
let e = Ir.exec(u);
|
|
842
859
|
e && (e = e[0], e !== ":" && (this.port = e.substr(1)), u = u.substr(0, u.length - e.length)), u && (this.hostname = u);
|
|
843
860
|
};
|
|
844
|
-
const
|
|
861
|
+
const zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
845
862
|
__proto__: null,
|
|
846
|
-
decode:
|
|
847
|
-
encode:
|
|
848
|
-
format:
|
|
849
|
-
parse:
|
|
850
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
863
|
+
decode: zu,
|
|
864
|
+
encode: ie,
|
|
865
|
+
format: h0,
|
|
866
|
+
parse: p0
|
|
867
|
+
}, Symbol.toStringTag, { value: "Module" })), It = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Mt = /[\0-\x1F\x7F-\x9F]/, qr = /[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/, b0 = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/, Lt = /[\$\+<->\^`\|~\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]/, Ot = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
851
868
|
__proto__: null,
|
|
852
|
-
Any:
|
|
853
|
-
Cc:
|
|
854
|
-
Cf:
|
|
855
|
-
P:
|
|
856
|
-
S:
|
|
857
|
-
Z:
|
|
858
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
869
|
+
Any: It,
|
|
870
|
+
Cc: Mt,
|
|
871
|
+
Cf: qr,
|
|
872
|
+
P: b0,
|
|
873
|
+
S: Lt,
|
|
874
|
+
Z: Ot
|
|
875
|
+
}, Symbol.toStringTag, { value: "Module" })), Hr = new Uint16Array(
|
|
859
876
|
// prettier-ignore
|
|
860
877
|
'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ǣጓ\0y;䐎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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ↄⅪ←ٖ↛ǰ↉\0proø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;䅓Ācrir;榿;쀀𝔬ͯ\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\0m;櫳;櫽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))
|
|
861
|
-
),
|
|
878
|
+
), $r = new Uint16Array(
|
|
862
879
|
// prettier-ignore
|
|
863
880
|
"Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
|
|
864
881
|
);
|
|
865
|
-
var
|
|
866
|
-
const
|
|
882
|
+
var Xe;
|
|
883
|
+
const jr = /* @__PURE__ */ new Map([
|
|
867
884
|
[0, 65533],
|
|
868
885
|
// C1 Unicode control character reference replacements
|
|
869
886
|
[128, 8364],
|
|
@@ -893,37 +910,37 @@ const $r = /* @__PURE__ */ new Map([
|
|
|
893
910
|
[156, 339],
|
|
894
911
|
[158, 382],
|
|
895
912
|
[159, 376]
|
|
896
|
-
]),
|
|
913
|
+
]), Gr = (
|
|
897
914
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
|
|
898
|
-
(
|
|
915
|
+
(Xe = String.fromCodePoint) !== null && Xe !== void 0 ? Xe : function(u) {
|
|
899
916
|
let e = "";
|
|
900
917
|
return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
|
|
901
918
|
}
|
|
902
919
|
);
|
|
903
|
-
function
|
|
920
|
+
function Wr(u) {
|
|
904
921
|
var e;
|
|
905
|
-
return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e =
|
|
922
|
+
return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = jr.get(u)) !== null && e !== void 0 ? e : u;
|
|
906
923
|
}
|
|
907
924
|
var P;
|
|
908
925
|
(function(u) {
|
|
909
926
|
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";
|
|
910
927
|
})(P || (P = {}));
|
|
911
|
-
const
|
|
928
|
+
const Zr = 32;
|
|
912
929
|
var mu;
|
|
913
930
|
(function(u) {
|
|
914
931
|
u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
915
932
|
})(mu || (mu = {}));
|
|
916
|
-
function
|
|
933
|
+
function c0(u) {
|
|
917
934
|
return u >= P.ZERO && u <= P.NINE;
|
|
918
935
|
}
|
|
919
|
-
function Zr(u) {
|
|
920
|
-
return u >= P.UPPER_A && u <= P.UPPER_F || u >= P.LOWER_A && u <= P.LOWER_F;
|
|
921
|
-
}
|
|
922
936
|
function Vr(u) {
|
|
923
|
-
return u >= P.UPPER_A && u <= P.
|
|
937
|
+
return u >= P.UPPER_A && u <= P.UPPER_F || u >= P.LOWER_A && u <= P.LOWER_F;
|
|
924
938
|
}
|
|
925
939
|
function Yr(u) {
|
|
926
|
-
return u
|
|
940
|
+
return u >= P.UPPER_A && u <= P.UPPER_Z || u >= P.LOWER_A && u <= P.LOWER_Z || c0(u);
|
|
941
|
+
}
|
|
942
|
+
function Xr(u) {
|
|
943
|
+
return u === P.EQUALS || Yr(u);
|
|
927
944
|
}
|
|
928
945
|
var B;
|
|
929
946
|
(function(u) {
|
|
@@ -933,7 +950,7 @@ var bu;
|
|
|
933
950
|
(function(u) {
|
|
934
951
|
u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
|
|
935
952
|
})(bu || (bu = {}));
|
|
936
|
-
class
|
|
953
|
+
class Jr {
|
|
937
954
|
constructor(e, t, n) {
|
|
938
955
|
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = B.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = bu.Strict;
|
|
939
956
|
}
|
|
@@ -976,7 +993,7 @@ class Xr {
|
|
|
976
993
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
977
994
|
*/
|
|
978
995
|
stateNumericStart(e, t) {
|
|
979
|
-
return t >= e.length ? -1 : (e.charCodeAt(t) |
|
|
996
|
+
return t >= e.length ? -1 : (e.charCodeAt(t) | Zr) === P.LOWER_X ? (this.state = B.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = B.NumericDecimal, this.stateNumericDecimal(e, t));
|
|
980
997
|
}
|
|
981
998
|
addToNumericResult(e, t, n, r) {
|
|
982
999
|
if (t !== n) {
|
|
@@ -997,7 +1014,7 @@ class Xr {
|
|
|
997
1014
|
const n = t;
|
|
998
1015
|
for (; t < e.length; ) {
|
|
999
1016
|
const r = e.charCodeAt(t);
|
|
1000
|
-
if (
|
|
1017
|
+
if (c0(r) || Vr(r))
|
|
1001
1018
|
t += 1;
|
|
1002
1019
|
else
|
|
1003
1020
|
return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
|
|
@@ -1017,7 +1034,7 @@ class Xr {
|
|
|
1017
1034
|
const n = t;
|
|
1018
1035
|
for (; t < e.length; ) {
|
|
1019
1036
|
const r = e.charCodeAt(t);
|
|
1020
|
-
if (
|
|
1037
|
+
if (c0(r))
|
|
1021
1038
|
t += 1;
|
|
1022
1039
|
else
|
|
1023
1040
|
return this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(r, 2);
|
|
@@ -1045,7 +1062,7 @@ class Xr {
|
|
|
1045
1062
|
this.consumed += 1;
|
|
1046
1063
|
else if (this.decodeMode === bu.Strict)
|
|
1047
1064
|
return 0;
|
|
1048
|
-
return this.emitCodePoint(
|
|
1065
|
+
return this.emitCodePoint(Wr(this.result), this.consumed), this.errors && (e !== P.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
1049
1066
|
}
|
|
1050
1067
|
/**
|
|
1051
1068
|
* Parses a named entity.
|
|
@@ -1061,11 +1078,11 @@ class Xr {
|
|
|
1061
1078
|
let r = n[this.treeIndex], o = (r & mu.VALUE_LENGTH) >> 14;
|
|
1062
1079
|
for (; t < e.length; t++, this.excess++) {
|
|
1063
1080
|
const i = e.charCodeAt(t);
|
|
1064
|
-
if (this.treeIndex =
|
|
1081
|
+
if (this.treeIndex = Qr(n, r, this.treeIndex + Math.max(1, o), i), this.treeIndex < 0)
|
|
1065
1082
|
return this.result === 0 || // If we are parsing an attribute
|
|
1066
1083
|
this.decodeMode === bu.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
1067
1084
|
(o === 0 || // And there should be no invalid characters.
|
|
1068
|
-
|
|
1085
|
+
Xr(i)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
1069
1086
|
if (r = n[this.treeIndex], o = (r & mu.VALUE_LENGTH) >> 14, o !== 0) {
|
|
1070
1087
|
if (i === P.SEMI)
|
|
1071
1088
|
return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
|
|
@@ -1120,9 +1137,9 @@ class Xr {
|
|
|
1120
1137
|
}
|
|
1121
1138
|
}
|
|
1122
1139
|
}
|
|
1123
|
-
function
|
|
1140
|
+
function Nt(u) {
|
|
1124
1141
|
let e = "";
|
|
1125
|
-
const t = new
|
|
1142
|
+
const t = new Jr(u, (n) => e += Gr(n));
|
|
1126
1143
|
return function(r, o) {
|
|
1127
1144
|
let i = 0, c = 0;
|
|
1128
1145
|
for (; (c = r.indexOf("&", c)) >= 0; ) {
|
|
@@ -1142,7 +1159,7 @@ function Ot(u) {
|
|
|
1142
1159
|
return e = "", a;
|
|
1143
1160
|
};
|
|
1144
1161
|
}
|
|
1145
|
-
function
|
|
1162
|
+
function Qr(u, e, t, n) {
|
|
1146
1163
|
const r = (e & mu.BRANCH_LENGTH) >> 7, o = e & mu.JUMP_TABLE;
|
|
1147
1164
|
if (r === 0)
|
|
1148
1165
|
return o !== 0 && n === o ? t : -1;
|
|
@@ -1162,22 +1179,22 @@ function Jr(u, e, t, n) {
|
|
|
1162
1179
|
}
|
|
1163
1180
|
return -1;
|
|
1164
1181
|
}
|
|
1165
|
-
const
|
|
1166
|
-
|
|
1167
|
-
function
|
|
1168
|
-
return
|
|
1182
|
+
const Kr = Nt(Hr);
|
|
1183
|
+
Nt($r);
|
|
1184
|
+
function Bt(u, e = bu.Legacy) {
|
|
1185
|
+
return Kr(u, e);
|
|
1169
1186
|
}
|
|
1170
|
-
function
|
|
1187
|
+
function uo(u) {
|
|
1171
1188
|
return Object.prototype.toString.call(u);
|
|
1172
1189
|
}
|
|
1173
|
-
function
|
|
1174
|
-
return
|
|
1190
|
+
function m0(u) {
|
|
1191
|
+
return uo(u) === "[object String]";
|
|
1175
1192
|
}
|
|
1176
|
-
const
|
|
1177
|
-
function
|
|
1178
|
-
return
|
|
1193
|
+
const eo = Object.prototype.hasOwnProperty;
|
|
1194
|
+
function to(u, e) {
|
|
1195
|
+
return eo.call(u, e);
|
|
1179
1196
|
}
|
|
1180
|
-
function
|
|
1197
|
+
function Se(u) {
|
|
1181
1198
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
1182
1199
|
if (t) {
|
|
1183
1200
|
if (typeof t != "object")
|
|
@@ -1188,13 +1205,13 @@ function Te(u) {
|
|
|
1188
1205
|
}
|
|
1189
1206
|
}), u;
|
|
1190
1207
|
}
|
|
1191
|
-
function
|
|
1208
|
+
function Pt(u, e, t) {
|
|
1192
1209
|
return [].concat(u.slice(0, e), t, u.slice(e + 1));
|
|
1193
1210
|
}
|
|
1194
|
-
function
|
|
1211
|
+
function _0(u) {
|
|
1195
1212
|
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);
|
|
1196
1213
|
}
|
|
1197
|
-
function
|
|
1214
|
+
function Fe(u) {
|
|
1198
1215
|
if (u > 65535) {
|
|
1199
1216
|
u -= 65536;
|
|
1200
1217
|
const e = 55296 + (u >> 10), t = 56320 + (u & 1023);
|
|
@@ -1202,38 +1219,38 @@ function ye(u) {
|
|
|
1202
1219
|
}
|
|
1203
1220
|
return String.fromCharCode(u);
|
|
1204
1221
|
}
|
|
1205
|
-
const
|
|
1206
|
-
function
|
|
1207
|
-
if (e.charCodeAt(0) === 35 &&
|
|
1222
|
+
const zt = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, no = /&([a-z#][a-z0-9]{1,31});/gi, ro = new RegExp(zt.source + "|" + no.source, "gi"), oo = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
1223
|
+
function co(u, e) {
|
|
1224
|
+
if (e.charCodeAt(0) === 35 && oo.test(e)) {
|
|
1208
1225
|
const n = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
|
|
1209
|
-
return
|
|
1226
|
+
return _0(n) ? Fe(n) : u;
|
|
1210
1227
|
}
|
|
1211
|
-
const t =
|
|
1228
|
+
const t = Bt(u);
|
|
1212
1229
|
return t !== u ? t : u;
|
|
1213
1230
|
}
|
|
1214
|
-
function
|
|
1215
|
-
return u.indexOf("\\") < 0 ? u : u.replace(
|
|
1231
|
+
function io(u) {
|
|
1232
|
+
return u.indexOf("\\") < 0 ? u : u.replace(zt, "$1");
|
|
1216
1233
|
}
|
|
1217
|
-
function
|
|
1218
|
-
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(
|
|
1219
|
-
return t ||
|
|
1234
|
+
function qu(u) {
|
|
1235
|
+
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(ro, function(e, t, n) {
|
|
1236
|
+
return t || co(e, n);
|
|
1220
1237
|
});
|
|
1221
1238
|
}
|
|
1222
|
-
const
|
|
1239
|
+
const ao = /[&<>"]/, so = /[&<>"]/g, lo = {
|
|
1223
1240
|
"&": "&",
|
|
1224
1241
|
"<": "<",
|
|
1225
1242
|
">": ">",
|
|
1226
1243
|
'"': """
|
|
1227
1244
|
};
|
|
1228
|
-
function
|
|
1229
|
-
return
|
|
1245
|
+
function fo(u) {
|
|
1246
|
+
return lo[u];
|
|
1230
1247
|
}
|
|
1231
1248
|
function xu(u) {
|
|
1232
|
-
return
|
|
1249
|
+
return ao.test(u) ? u.replace(so, fo) : u;
|
|
1233
1250
|
}
|
|
1234
|
-
const
|
|
1235
|
-
function
|
|
1236
|
-
return u.replace(
|
|
1251
|
+
const ho = /[.?*+^$[\]\\(){}|-]/g;
|
|
1252
|
+
function po(u) {
|
|
1253
|
+
return u.replace(ho, "\\$&");
|
|
1237
1254
|
}
|
|
1238
1255
|
function w(u) {
|
|
1239
1256
|
switch (u) {
|
|
@@ -1243,7 +1260,7 @@ function w(u) {
|
|
|
1243
1260
|
}
|
|
1244
1261
|
return !1;
|
|
1245
1262
|
}
|
|
1246
|
-
function
|
|
1263
|
+
function ue(u) {
|
|
1247
1264
|
if (u >= 8192 && u <= 8202)
|
|
1248
1265
|
return !0;
|
|
1249
1266
|
switch (u) {
|
|
@@ -1262,10 +1279,10 @@ function Ku(u) {
|
|
|
1262
1279
|
}
|
|
1263
1280
|
return !1;
|
|
1264
1281
|
}
|
|
1265
|
-
function ue(u) {
|
|
1266
|
-
return h0.test(u) || Mt.test(u);
|
|
1267
|
-
}
|
|
1268
1282
|
function ee(u) {
|
|
1283
|
+
return b0.test(u) || Lt.test(u);
|
|
1284
|
+
}
|
|
1285
|
+
function te(u) {
|
|
1269
1286
|
switch (u) {
|
|
1270
1287
|
case 33:
|
|
1271
1288
|
case 34:
|
|
@@ -1304,29 +1321,29 @@ function ee(u) {
|
|
|
1304
1321
|
return !1;
|
|
1305
1322
|
}
|
|
1306
1323
|
}
|
|
1307
|
-
function
|
|
1324
|
+
function we(u) {
|
|
1308
1325
|
return u = u.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (u = u.replace(/ẞ/g, "ß")), u.toLowerCase().toUpperCase();
|
|
1309
1326
|
}
|
|
1310
|
-
const
|
|
1327
|
+
const bo = { mdurl: zr, ucmicro: Ur }, mo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1311
1328
|
__proto__: null,
|
|
1312
|
-
arrayReplaceAt:
|
|
1313
|
-
assign:
|
|
1329
|
+
arrayReplaceAt: Pt,
|
|
1330
|
+
assign: Se,
|
|
1314
1331
|
escapeHtml: xu,
|
|
1315
|
-
escapeRE:
|
|
1316
|
-
fromCodePoint:
|
|
1317
|
-
has:
|
|
1318
|
-
isMdAsciiPunct:
|
|
1319
|
-
isPunctChar:
|
|
1332
|
+
escapeRE: po,
|
|
1333
|
+
fromCodePoint: Fe,
|
|
1334
|
+
has: to,
|
|
1335
|
+
isMdAsciiPunct: te,
|
|
1336
|
+
isPunctChar: ee,
|
|
1320
1337
|
isSpace: w,
|
|
1321
|
-
isString:
|
|
1322
|
-
isValidEntityCode:
|
|
1323
|
-
isWhiteSpace:
|
|
1324
|
-
lib:
|
|
1325
|
-
normalizeReference:
|
|
1326
|
-
unescapeAll:
|
|
1327
|
-
unescapeMd:
|
|
1338
|
+
isString: m0,
|
|
1339
|
+
isValidEntityCode: _0,
|
|
1340
|
+
isWhiteSpace: ue,
|
|
1341
|
+
lib: bo,
|
|
1342
|
+
normalizeReference: we,
|
|
1343
|
+
unescapeAll: qu,
|
|
1344
|
+
unescapeMd: io
|
|
1328
1345
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1329
|
-
function
|
|
1346
|
+
function _o(u, e, t) {
|
|
1330
1347
|
let n, r, o, i;
|
|
1331
1348
|
const c = u.posMax, a = u.pos;
|
|
1332
1349
|
for (u.pos = e + 1, n = 1; u.pos < c; ) {
|
|
@@ -1344,7 +1361,7 @@ function mo(u, e, t) {
|
|
|
1344
1361
|
let s = -1;
|
|
1345
1362
|
return r && (s = u.pos), u.pos = a, s;
|
|
1346
1363
|
}
|
|
1347
|
-
function
|
|
1364
|
+
function xo(u, e, t) {
|
|
1348
1365
|
let n, r = e;
|
|
1349
1366
|
const o = {
|
|
1350
1367
|
ok: !1,
|
|
@@ -1356,7 +1373,7 @@ function _o(u, e, t) {
|
|
|
1356
1373
|
if (n = u.charCodeAt(r), n === 10 || n === 60)
|
|
1357
1374
|
return o;
|
|
1358
1375
|
if (n === 62)
|
|
1359
|
-
return o.pos = r + 1, o.str =
|
|
1376
|
+
return o.pos = r + 1, o.str = qu(u.slice(e + 1, r)), o.ok = !0, o;
|
|
1360
1377
|
if (n === 92 && r + 1 < t) {
|
|
1361
1378
|
r += 2;
|
|
1362
1379
|
continue;
|
|
@@ -1382,9 +1399,9 @@ function _o(u, e, t) {
|
|
|
1382
1399
|
}
|
|
1383
1400
|
r++;
|
|
1384
1401
|
}
|
|
1385
|
-
return e === r || i !== 0 || (o.str =
|
|
1402
|
+
return e === r || i !== 0 || (o.str = qu(u.slice(e, r)), o.pos = r, o.ok = !0), o;
|
|
1386
1403
|
}
|
|
1387
|
-
function
|
|
1404
|
+
function go(u, e, t, n) {
|
|
1388
1405
|
let r, o = e;
|
|
1389
1406
|
const i = {
|
|
1390
1407
|
// if `true`, this is a valid link title
|
|
@@ -1410,18 +1427,18 @@ function xo(u, e, t, n) {
|
|
|
1410
1427
|
}
|
|
1411
1428
|
for (; o < t; ) {
|
|
1412
1429
|
if (r = u.charCodeAt(o), r === i.marker)
|
|
1413
|
-
return i.pos = o + 1, i.str +=
|
|
1430
|
+
return i.pos = o + 1, i.str += qu(u.slice(e, o)), i.ok = !0, i;
|
|
1414
1431
|
if (r === 40 && i.marker === 41)
|
|
1415
1432
|
return i;
|
|
1416
1433
|
r === 92 && o + 1 < t && o++, o++;
|
|
1417
1434
|
}
|
|
1418
|
-
return i.can_continue = !0, i.str +=
|
|
1435
|
+
return i.can_continue = !0, i.str += qu(u.slice(e, o)), i;
|
|
1419
1436
|
}
|
|
1420
|
-
const
|
|
1437
|
+
const ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1421
1438
|
__proto__: null,
|
|
1422
|
-
parseLinkDestination:
|
|
1423
|
-
parseLinkLabel:
|
|
1424
|
-
parseLinkTitle:
|
|
1439
|
+
parseLinkDestination: xo,
|
|
1440
|
+
parseLinkLabel: _o,
|
|
1441
|
+
parseLinkTitle: go
|
|
1425
1442
|
}, Symbol.toStringTag, { value: "Module" })), iu = {};
|
|
1426
1443
|
iu.code_inline = function(u, e, t, n, r) {
|
|
1427
1444
|
const o = u[e];
|
|
@@ -1433,7 +1450,7 @@ iu.code_block = function(u, e, t, n, r) {
|
|
|
1433
1450
|
`;
|
|
1434
1451
|
};
|
|
1435
1452
|
iu.fence = function(u, e, t, n, r) {
|
|
1436
|
-
const o = u[e], i = o.info ?
|
|
1453
|
+
const o = u[e], i = o.info ? qu(o.info).trim() : "";
|
|
1437
1454
|
let c = "", a = "";
|
|
1438
1455
|
if (i) {
|
|
1439
1456
|
const f = i.split(/(\s+)/g);
|
|
@@ -1479,10 +1496,10 @@ iu.html_block = function(u, e) {
|
|
|
1479
1496
|
iu.html_inline = function(u, e) {
|
|
1480
1497
|
return u[e].content;
|
|
1481
1498
|
};
|
|
1482
|
-
function
|
|
1483
|
-
this.rules =
|
|
1499
|
+
function Uu() {
|
|
1500
|
+
this.rules = Se({}, iu);
|
|
1484
1501
|
}
|
|
1485
|
-
|
|
1502
|
+
Uu.prototype.renderAttrs = function(e) {
|
|
1486
1503
|
let t, n, r;
|
|
1487
1504
|
if (!e.attrs)
|
|
1488
1505
|
return "";
|
|
@@ -1490,7 +1507,7 @@ qu.prototype.renderAttrs = function(e) {
|
|
|
1490
1507
|
r += " " + xu(e.attrs[t][0]) + '="' + xu(e.attrs[t][1]) + '"';
|
|
1491
1508
|
return r;
|
|
1492
1509
|
};
|
|
1493
|
-
|
|
1510
|
+
Uu.prototype.renderToken = function(e, t, n) {
|
|
1494
1511
|
const r = e[t];
|
|
1495
1512
|
let o = "";
|
|
1496
1513
|
if (r.hidden)
|
|
@@ -1505,7 +1522,7 @@ qu.prototype.renderToken = function(e, t, n) {
|
|
|
1505
1522
|
return o += i ? `>
|
|
1506
1523
|
` : ">", o;
|
|
1507
1524
|
};
|
|
1508
|
-
|
|
1525
|
+
Uu.prototype.renderInline = function(u, e, t) {
|
|
1509
1526
|
let n = "";
|
|
1510
1527
|
const r = this.rules;
|
|
1511
1528
|
for (let o = 0, i = u.length; o < i; o++) {
|
|
@@ -1514,7 +1531,7 @@ qu.prototype.renderInline = function(u, e, t) {
|
|
|
1514
1531
|
}
|
|
1515
1532
|
return n;
|
|
1516
1533
|
};
|
|
1517
|
-
|
|
1534
|
+
Uu.prototype.renderInlineAsText = function(u, e, t) {
|
|
1518
1535
|
let n = "";
|
|
1519
1536
|
for (let r = 0, o = u.length; r < o; r++)
|
|
1520
1537
|
switch (u[r].type) {
|
|
@@ -1536,7 +1553,7 @@ qu.prototype.renderInlineAsText = function(u, e, t) {
|
|
|
1536
1553
|
}
|
|
1537
1554
|
return n;
|
|
1538
1555
|
};
|
|
1539
|
-
|
|
1556
|
+
Uu.prototype.render = function(u, e, t) {
|
|
1540
1557
|
let n = "";
|
|
1541
1558
|
const r = this.rules;
|
|
1542
1559
|
for (let o = 0, i = u.length; o < i; o++) {
|
|
@@ -1665,34 +1682,34 @@ tu.prototype.attrJoin = function(e, t) {
|
|
|
1665
1682
|
const n = this.attrIndex(e);
|
|
1666
1683
|
n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
|
|
1667
1684
|
};
|
|
1668
|
-
function
|
|
1685
|
+
function qt(u, e, t) {
|
|
1669
1686
|
this.src = u, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = e;
|
|
1670
1687
|
}
|
|
1671
|
-
|
|
1672
|
-
const
|
|
1673
|
-
function
|
|
1688
|
+
qt.prototype.Token = tu;
|
|
1689
|
+
const Eo = /\r\n?|\n/g, Ao = /\0/g;
|
|
1690
|
+
function Co(u) {
|
|
1674
1691
|
let e;
|
|
1675
|
-
e = u.src.replace(
|
|
1676
|
-
`), e = e.replace(
|
|
1692
|
+
e = u.src.replace(Eo, `
|
|
1693
|
+
`), e = e.replace(Ao, "�"), u.src = e;
|
|
1677
1694
|
}
|
|
1678
|
-
function
|
|
1695
|
+
function Do(u) {
|
|
1679
1696
|
let e;
|
|
1680
1697
|
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);
|
|
1681
1698
|
}
|
|
1682
|
-
function
|
|
1699
|
+
function yo(u) {
|
|
1683
1700
|
const e = u.tokens;
|
|
1684
1701
|
for (let t = 0, n = e.length; t < n; t++) {
|
|
1685
1702
|
const r = e[t];
|
|
1686
1703
|
r.type === "inline" && u.md.inline.parse(r.content, u.md, u.env, r.children);
|
|
1687
1704
|
}
|
|
1688
1705
|
}
|
|
1689
|
-
function
|
|
1706
|
+
function Fo(u) {
|
|
1690
1707
|
return /^<a[>\s]/i.test(u);
|
|
1691
1708
|
}
|
|
1692
|
-
function
|
|
1709
|
+
function To(u) {
|
|
1693
1710
|
return /^<\/a\s*>/i.test(u);
|
|
1694
1711
|
}
|
|
1695
|
-
function
|
|
1712
|
+
function So(u) {
|
|
1696
1713
|
const e = u.tokens;
|
|
1697
1714
|
if (u.md.options.linkify)
|
|
1698
1715
|
for (let t = 0, n = e.length; t < n; t++) {
|
|
@@ -1706,7 +1723,7 @@ function To(u) {
|
|
|
1706
1723
|
i--;
|
|
1707
1724
|
continue;
|
|
1708
1725
|
}
|
|
1709
|
-
if (c.type === "html_inline" && (
|
|
1726
|
+
if (c.type === "html_inline" && (Fo(c.content) && o > 0 && o--, To(c.content) && o++), !(o > 0) && c.type === "text" && u.md.linkify.test(c.content)) {
|
|
1710
1727
|
const a = c.content;
|
|
1711
1728
|
let s = u.md.linkify.match(a);
|
|
1712
1729
|
const f = [];
|
|
@@ -1734,44 +1751,44 @@ function To(u) {
|
|
|
1734
1751
|
const p = new u.Token("text", "", 0);
|
|
1735
1752
|
p.content = a.slice(m), p.level = d, f.push(p);
|
|
1736
1753
|
}
|
|
1737
|
-
e[t].children = r =
|
|
1754
|
+
e[t].children = r = Pt(r, i, f);
|
|
1738
1755
|
}
|
|
1739
1756
|
}
|
|
1740
1757
|
}
|
|
1741
1758
|
}
|
|
1742
|
-
const
|
|
1759
|
+
const Ut = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, wo = /\((c|tm|r)\)/i, vo = /\((c|tm|r)\)/ig, Ro = {
|
|
1743
1760
|
c: "©",
|
|
1744
1761
|
r: "®",
|
|
1745
1762
|
tm: "™"
|
|
1746
1763
|
};
|
|
1747
|
-
function
|
|
1748
|
-
return
|
|
1764
|
+
function Io(u, e) {
|
|
1765
|
+
return Ro[e.toLowerCase()];
|
|
1749
1766
|
}
|
|
1750
|
-
function
|
|
1767
|
+
function Mo(u) {
|
|
1751
1768
|
let e = 0;
|
|
1752
1769
|
for (let t = u.length - 1; t >= 0; t--) {
|
|
1753
1770
|
const n = u[t];
|
|
1754
|
-
n.type === "text" && !e && (n.content = n.content.replace(
|
|
1771
|
+
n.type === "text" && !e && (n.content = n.content.replace(vo, Io)), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
|
|
1755
1772
|
}
|
|
1756
1773
|
}
|
|
1757
|
-
function
|
|
1774
|
+
function Lo(u) {
|
|
1758
1775
|
let e = 0;
|
|
1759
1776
|
for (let t = u.length - 1; t >= 0; t--) {
|
|
1760
1777
|
const n = u[t];
|
|
1761
|
-
n.type === "text" && !e &&
|
|
1778
|
+
n.type === "text" && !e && Ut.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++;
|
|
1762
1779
|
}
|
|
1763
1780
|
}
|
|
1764
|
-
function
|
|
1781
|
+
function Oo(u) {
|
|
1765
1782
|
let e;
|
|
1766
1783
|
if (u.md.options.typographer)
|
|
1767
1784
|
for (e = u.tokens.length - 1; e >= 0; e--)
|
|
1768
|
-
u.tokens[e].type === "inline" && (
|
|
1785
|
+
u.tokens[e].type === "inline" && (wo.test(u.tokens[e].content) && Mo(u.tokens[e].children), Ut.test(u.tokens[e].content) && Lo(u.tokens[e].children));
|
|
1769
1786
|
}
|
|
1770
|
-
const
|
|
1771
|
-
function
|
|
1787
|
+
const No = /['"]/, ht = /['"]/g, pt = "’";
|
|
1788
|
+
function ge(u, e, t) {
|
|
1772
1789
|
return u.slice(0, e) + t + u.slice(e + 1);
|
|
1773
1790
|
}
|
|
1774
|
-
function
|
|
1791
|
+
function Bo(u, e) {
|
|
1775
1792
|
let t;
|
|
1776
1793
|
const n = [];
|
|
1777
1794
|
for (let r = 0; r < u.length; r++) {
|
|
@@ -1783,8 +1800,8 @@ function No(u, e) {
|
|
|
1783
1800
|
let c = o.content, a = 0, s = c.length;
|
|
1784
1801
|
u:
|
|
1785
1802
|
for (; a < s; ) {
|
|
1786
|
-
|
|
1787
|
-
const f =
|
|
1803
|
+
ht.lastIndex = a;
|
|
1804
|
+
const f = ht.exec(c);
|
|
1788
1805
|
if (!f)
|
|
1789
1806
|
break;
|
|
1790
1807
|
let d = !0, m = !0;
|
|
@@ -1808,9 +1825,9 @@ function No(u, e) {
|
|
|
1808
1825
|
C = u[t].content.charCodeAt(0);
|
|
1809
1826
|
break;
|
|
1810
1827
|
}
|
|
1811
|
-
const D =
|
|
1828
|
+
const D = te(h) || ee(String.fromCharCode(h)), T = te(C) || ee(String.fromCharCode(C)), E = ue(h), k = ue(C);
|
|
1812
1829
|
if (k ? d = !1 : T && (E || D || (d = !1)), E ? m = !1 : D && (k || T || (m = !1)), C === 34 && f[0] === '"' && h >= 48 && h <= 57 && (m = d = !1), d && m && (d = D, m = T), !d && !m) {
|
|
1813
|
-
p && (o.content =
|
|
1830
|
+
p && (o.content = ge(o.content, f.index, pt));
|
|
1814
1831
|
continue;
|
|
1815
1832
|
}
|
|
1816
1833
|
if (m)
|
|
@@ -1821,7 +1838,7 @@ function No(u, e) {
|
|
|
1821
1838
|
if (_.single === p && n[t].level === i) {
|
|
1822
1839
|
_ = n[t];
|
|
1823
1840
|
let A, y;
|
|
1824
|
-
p ? (A = e.md.options.quotes[2], y = e.md.options.quotes[3]) : (A = e.md.options.quotes[0], y = e.md.options.quotes[1]), o.content =
|
|
1841
|
+
p ? (A = e.md.options.quotes[2], y = e.md.options.quotes[3]) : (A = e.md.options.quotes[0], y = e.md.options.quotes[1]), o.content = ge(o.content, f.index, y), u[_.token].content = ge(
|
|
1825
1842
|
u[_.token].content,
|
|
1826
1843
|
_.pos,
|
|
1827
1844
|
A
|
|
@@ -1834,16 +1851,16 @@ function No(u, e) {
|
|
|
1834
1851
|
pos: f.index,
|
|
1835
1852
|
single: p,
|
|
1836
1853
|
level: i
|
|
1837
|
-
}) : m && p && (o.content =
|
|
1854
|
+
}) : m && p && (o.content = ge(o.content, f.index, pt));
|
|
1838
1855
|
}
|
|
1839
1856
|
}
|
|
1840
1857
|
}
|
|
1841
|
-
function
|
|
1858
|
+
function Po(u) {
|
|
1842
1859
|
if (u.md.options.typographer)
|
|
1843
1860
|
for (let e = u.tokens.length - 1; e >= 0; e--)
|
|
1844
|
-
u.tokens[e].type !== "inline" || !
|
|
1861
|
+
u.tokens[e].type !== "inline" || !No.test(u.tokens[e].content) || Bo(u.tokens[e].children, u);
|
|
1845
1862
|
}
|
|
1846
|
-
function
|
|
1863
|
+
function zo(u) {
|
|
1847
1864
|
let e, t;
|
|
1848
1865
|
const n = u.tokens, r = n.length;
|
|
1849
1866
|
for (let o = 0; o < r; o++) {
|
|
@@ -1856,28 +1873,28 @@ function Po(u) {
|
|
|
1856
1873
|
e !== t && (i.length = t);
|
|
1857
1874
|
}
|
|
1858
1875
|
}
|
|
1859
|
-
const
|
|
1860
|
-
["normalize",
|
|
1861
|
-
["block",
|
|
1862
|
-
["inline",
|
|
1863
|
-
["linkify",
|
|
1864
|
-
["replacements",
|
|
1865
|
-
["smartquotes",
|
|
1876
|
+
const Je = [
|
|
1877
|
+
["normalize", Co],
|
|
1878
|
+
["block", Do],
|
|
1879
|
+
["inline", yo],
|
|
1880
|
+
["linkify", So],
|
|
1881
|
+
["replacements", Oo],
|
|
1882
|
+
["smartquotes", Po],
|
|
1866
1883
|
// `text_join` finds `text_special` tokens (for escape sequences)
|
|
1867
1884
|
// and joins them with the rest of the text
|
|
1868
|
-
["text_join",
|
|
1885
|
+
["text_join", zo]
|
|
1869
1886
|
];
|
|
1870
|
-
function
|
|
1887
|
+
function x0() {
|
|
1871
1888
|
this.ruler = new V();
|
|
1872
|
-
for (let u = 0; u <
|
|
1873
|
-
this.ruler.push(
|
|
1889
|
+
for (let u = 0; u < Je.length; u++)
|
|
1890
|
+
this.ruler.push(Je[u][0], Je[u][1]);
|
|
1874
1891
|
}
|
|
1875
|
-
|
|
1892
|
+
x0.prototype.process = function(u) {
|
|
1876
1893
|
const e = this.ruler.getRules("");
|
|
1877
1894
|
for (let t = 0, n = e.length; t < n; t++)
|
|
1878
1895
|
e[t](u);
|
|
1879
1896
|
};
|
|
1880
|
-
|
|
1897
|
+
x0.prototype.State = qt;
|
|
1881
1898
|
function au(u, e, t, n) {
|
|
1882
1899
|
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;
|
|
1883
1900
|
const r = this.src;
|
|
@@ -1957,19 +1974,19 @@ au.prototype.getLines = function(e, t, n, r) {
|
|
|
1957
1974
|
return o.join("");
|
|
1958
1975
|
};
|
|
1959
1976
|
au.prototype.Token = tu;
|
|
1960
|
-
const
|
|
1961
|
-
function
|
|
1977
|
+
const qo = 65536;
|
|
1978
|
+
function Qe(u, e) {
|
|
1962
1979
|
const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
|
|
1963
1980
|
return u.src.slice(t, n);
|
|
1964
1981
|
}
|
|
1965
|
-
function
|
|
1982
|
+
function bt(u) {
|
|
1966
1983
|
const e = [], t = u.length;
|
|
1967
1984
|
let n = 0, r = u.charCodeAt(n), o = !1, i = 0, c = "";
|
|
1968
1985
|
for (; n < t; )
|
|
1969
1986
|
r === 124 && (o ? (c += u.substring(i, n - 1), i = n) : (e.push(c + u.substring(i, n)), c = "", i = n + 1)), o = r === 92, n++, r = u.charCodeAt(n);
|
|
1970
1987
|
return e.push(c + u.substring(i)), e;
|
|
1971
1988
|
}
|
|
1972
|
-
function
|
|
1989
|
+
function Uo(u, e, t, n) {
|
|
1973
1990
|
if (e + 2 > t)
|
|
1974
1991
|
return !1;
|
|
1975
1992
|
let r = e + 1;
|
|
@@ -1990,7 +2007,7 @@ function qo(u, e, t, n) {
|
|
|
1990
2007
|
return !1;
|
|
1991
2008
|
o++;
|
|
1992
2009
|
}
|
|
1993
|
-
let a =
|
|
2010
|
+
let a = Qe(u, e + 1), s = a.split("|");
|
|
1994
2011
|
const f = [];
|
|
1995
2012
|
for (let _ = 0; _ < s.length; _++) {
|
|
1996
2013
|
const A = s[_].trim();
|
|
@@ -2003,9 +2020,9 @@ function qo(u, e, t, n) {
|
|
|
2003
2020
|
return !1;
|
|
2004
2021
|
A.charCodeAt(A.length - 1) === 58 ? f.push(A.charCodeAt(0) === 58 ? "center" : "right") : A.charCodeAt(0) === 58 ? f.push("left") : f.push("");
|
|
2005
2022
|
}
|
|
2006
|
-
if (a =
|
|
2023
|
+
if (a = Qe(u, e).trim(), a.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
|
|
2007
2024
|
return !1;
|
|
2008
|
-
s =
|
|
2025
|
+
s = bt(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop();
|
|
2009
2026
|
const d = s.length;
|
|
2010
2027
|
if (d === 0 || d !== f.length)
|
|
2011
2028
|
return !1;
|
|
@@ -2034,7 +2051,7 @@ function qo(u, e, t, n) {
|
|
|
2034
2051
|
_ = !0;
|
|
2035
2052
|
break;
|
|
2036
2053
|
}
|
|
2037
|
-
if (_ || (a =
|
|
2054
|
+
if (_ || (a = Qe(u, r).trim(), !a) || u.sCount[r] - u.blkIndent >= 4 || (s = bt(a), s.length && s[0] === "" && s.shift(), s.length && s[s.length - 1] === "" && s.pop(), k += d - s.length, k > qo))
|
|
2038
2055
|
break;
|
|
2039
2056
|
if (r === e + 2) {
|
|
2040
2057
|
const y = u.push("tbody_open", "tbody", 1);
|
|
@@ -2052,7 +2069,7 @@ function qo(u, e, t, n) {
|
|
|
2052
2069
|
}
|
|
2053
2070
|
return E && (u.push("tbody_close", "tbody", -1), E[1] = r), u.push("table_close", "table", -1), C[1] = r, u.parentType = m, u.line = r, !0;
|
|
2054
2071
|
}
|
|
2055
|
-
function
|
|
2072
|
+
function Ho(u, e, t) {
|
|
2056
2073
|
if (u.sCount[e] - u.blkIndent < 4)
|
|
2057
2074
|
return !1;
|
|
2058
2075
|
let n = e + 1, r = n;
|
|
@@ -2072,7 +2089,7 @@ function Uo(u, e, t) {
|
|
|
2072
2089
|
return o.content = u.getLines(e, r, 4 + u.blkIndent, !1) + `
|
|
2073
2090
|
`, o.map = [e, u.line], !0;
|
|
2074
2091
|
}
|
|
2075
|
-
function
|
|
2092
|
+
function $o(u, e, t, n) {
|
|
2076
2093
|
let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
|
|
2077
2094
|
if (u.sCount[e] - u.blkIndent >= 4 || r + 3 > o)
|
|
2078
2095
|
return !1;
|
|
@@ -2099,7 +2116,7 @@ function Ho(u, e, t, n) {
|
|
|
2099
2116
|
const p = u.push("fence", "code", 0);
|
|
2100
2117
|
return p.info = f, p.content = u.getLines(e + 1, d, a, !0), p.markup = s, p.map = [e, u.line], !0;
|
|
2101
2118
|
}
|
|
2102
|
-
function
|
|
2119
|
+
function jo(u, e, t, n) {
|
|
2103
2120
|
let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
|
|
2104
2121
|
const i = u.lineMax;
|
|
2105
2122
|
if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 62)
|
|
@@ -2154,7 +2171,7 @@ function $o(u, e, t, n) {
|
|
|
2154
2171
|
u.bMarks[k + e] = c[k], u.tShift[k + e] = f[k], u.sCount[k + e] = s[k], u.bsCount[k + e] = a[k];
|
|
2155
2172
|
return u.blkIndent = C, !0;
|
|
2156
2173
|
}
|
|
2157
|
-
function
|
|
2174
|
+
function Go(u, e, t, n) {
|
|
2158
2175
|
const r = u.eMarks[e];
|
|
2159
2176
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
2160
2177
|
return !1;
|
|
@@ -2177,7 +2194,7 @@ function jo(u, e, t, n) {
|
|
|
2177
2194
|
const a = u.push("hr", "hr", 0);
|
|
2178
2195
|
return a.map = [e, u.line], a.markup = Array(c + 1).join(String.fromCharCode(i)), !0;
|
|
2179
2196
|
}
|
|
2180
|
-
function
|
|
2197
|
+
function mt(u, e) {
|
|
2181
2198
|
const t = u.eMarks[e];
|
|
2182
2199
|
let n = u.bMarks[e] + u.tShift[e];
|
|
2183
2200
|
const r = u.src.charCodeAt(n++);
|
|
@@ -2190,7 +2207,7 @@ function pt(u, e) {
|
|
|
2190
2207
|
}
|
|
2191
2208
|
return n;
|
|
2192
2209
|
}
|
|
2193
|
-
function
|
|
2210
|
+
function _t(u, e) {
|
|
2194
2211
|
const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
|
|
2195
2212
|
let r = t;
|
|
2196
2213
|
if (r + 1 >= n)
|
|
@@ -2212,21 +2229,21 @@ function bt(u, e) {
|
|
|
2212
2229
|
}
|
|
2213
2230
|
return r < n && (o = u.src.charCodeAt(r), !w(o)) ? -1 : r;
|
|
2214
2231
|
}
|
|
2215
|
-
function
|
|
2232
|
+
function Wo(u, e) {
|
|
2216
2233
|
const t = u.level + 2;
|
|
2217
2234
|
for (let n = e + 2, r = u.tokens.length - 2; n < r; n++)
|
|
2218
2235
|
u.tokens[n].level === t && u.tokens[n].type === "paragraph_open" && (u.tokens[n + 2].hidden = !0, u.tokens[n].hidden = !0, n += 2);
|
|
2219
2236
|
}
|
|
2220
|
-
function
|
|
2237
|
+
function Zo(u, e, t, n) {
|
|
2221
2238
|
let r, o, i, c, a = e, s = !0;
|
|
2222
2239
|
if (u.sCount[a] - u.blkIndent >= 4 || u.listIndent >= 0 && u.sCount[a] - u.listIndent >= 4 && u.sCount[a] < u.blkIndent)
|
|
2223
2240
|
return !1;
|
|
2224
2241
|
let f = !1;
|
|
2225
2242
|
n && u.parentType === "paragraph" && u.sCount[a] >= u.blkIndent && (f = !0);
|
|
2226
2243
|
let d, m, p;
|
|
2227
|
-
if ((p =
|
|
2244
|
+
if ((p = _t(u, a)) >= 0) {
|
|
2228
2245
|
if (d = !0, i = u.bMarks[a] + u.tShift[a], m = Number(u.src.slice(i, p - 1)), f && m !== 1) return !1;
|
|
2229
|
-
} else if ((p =
|
|
2246
|
+
} else if ((p = mt(u, a)) >= 0)
|
|
2230
2247
|
d = !1;
|
|
2231
2248
|
else
|
|
2232
2249
|
return !1;
|
|
@@ -2261,11 +2278,11 @@ function Wo(u, e, t, n) {
|
|
|
2261
2278
|
c = u.push("list_item_open", "li", 1), c.markup = String.fromCharCode(h);
|
|
2262
2279
|
const nu = [a, 0];
|
|
2263
2280
|
c.map = nu, d && (c.info = u.src.slice(i, p - 1));
|
|
2264
|
-
const gu = u.tight, L = u.tShift[a],
|
|
2265
|
-
if (u.listIndent = u.blkIndent, u.blkIndent = Y, u.tight = !0, u.tShift[a] = y - u.bMarks[a], u.sCount[a] = A, y >= r && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, a, t, !0), (!u.tight || T) && (s = !1), T = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent =
|
|
2281
|
+
const gu = u.tight, L = u.tShift[a], Hu = u.sCount[a], $u = u.listIndent;
|
|
2282
|
+
if (u.listIndent = u.blkIndent, u.blkIndent = Y, u.tight = !0, u.tShift[a] = y - u.bMarks[a], u.sCount[a] = A, y >= r && u.isEmpty(a + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, a, t, !0), (!u.tight || T) && (s = !1), T = u.line - a > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = $u, u.tShift[a] = L, u.sCount[a] = Hu, u.tight = gu, c = u.push("list_item_close", "li", -1), c.markup = String.fromCharCode(h), a = u.line, nu[1] = a, a >= t || u.sCount[a] < u.blkIndent || u.sCount[a] - u.blkIndent >= 4)
|
|
2266
2283
|
break;
|
|
2267
2284
|
let Fu = !1;
|
|
2268
|
-
for (let hu = 0,
|
|
2285
|
+
for (let hu = 0, Ie = E.length; hu < Ie; hu++)
|
|
2269
2286
|
if (E[hu](u, a, t, !0)) {
|
|
2270
2287
|
Fu = !0;
|
|
2271
2288
|
break;
|
|
@@ -2273,17 +2290,17 @@ function Wo(u, e, t, n) {
|
|
|
2273
2290
|
if (Fu)
|
|
2274
2291
|
break;
|
|
2275
2292
|
if (d) {
|
|
2276
|
-
if (p =
|
|
2293
|
+
if (p = _t(u, a), p < 0)
|
|
2277
2294
|
break;
|
|
2278
2295
|
i = u.bMarks[a] + u.tShift[a];
|
|
2279
|
-
} else if (p =
|
|
2296
|
+
} else if (p = mt(u, a), p < 0)
|
|
2280
2297
|
break;
|
|
2281
2298
|
if (h !== u.src.charCodeAt(p - 1))
|
|
2282
2299
|
break;
|
|
2283
2300
|
}
|
|
2284
|
-
return d ? c = u.push("ordered_list_close", "ol", -1) : c = u.push("bullet_list_close", "ul", -1), c.markup = String.fromCharCode(h), D[1] = a, u.line = a, u.parentType = k, s &&
|
|
2301
|
+
return d ? c = u.push("ordered_list_close", "ol", -1) : c = u.push("bullet_list_close", "ul", -1), c.markup = String.fromCharCode(h), D[1] = a, u.line = a, u.parentType = k, s && Wo(u, C), !0;
|
|
2285
2302
|
}
|
|
2286
|
-
function
|
|
2303
|
+
function Vo(u, e, t, n) {
|
|
2287
2304
|
let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e], i = e + 1;
|
|
2288
2305
|
if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 91)
|
|
2289
2306
|
return !1;
|
|
@@ -2371,10 +2388,10 @@ function Zo(u, e, t, n) {
|
|
|
2371
2388
|
}
|
|
2372
2389
|
if (r < o && a.charCodeAt(r) !== 10)
|
|
2373
2390
|
return !1;
|
|
2374
|
-
const T =
|
|
2391
|
+
const T = we(a.slice(1, s));
|
|
2375
2392
|
return T ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[T] > "u" && (u.env.references[T] = { title: D, href: d }), u.line = i), !0) : !1;
|
|
2376
2393
|
}
|
|
2377
|
-
const
|
|
2394
|
+
const Yo = [
|
|
2378
2395
|
"address",
|
|
2379
2396
|
"article",
|
|
2380
2397
|
"aside",
|
|
@@ -2437,30 +2454,30 @@ const Vo = [
|
|
|
2437
2454
|
"tr",
|
|
2438
2455
|
"track",
|
|
2439
2456
|
"ul"
|
|
2440
|
-
],
|
|
2457
|
+
], Xo = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Jo = "[^\"'=<>`\\x00-\\x20]+", Qo = "'[^']*'", Ko = '"[^"]*"', uc = "(?:" + Jo + "|" + Qo + "|" + Ko + ")", ec = "(?:\\s+" + Xo + "(?:\\s*=\\s*" + uc + ")?)", Ht = "<[A-Za-z][A-Za-z0-9\\-]*" + ec + "*\\s*\\/?>", $t = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", tc = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", nc = "<[?][\\s\\S]*?[?]>", rc = "<![A-Za-z][^>]*>", oc = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", cc = new RegExp("^(?:" + Ht + "|" + $t + "|" + tc + "|" + nc + "|" + rc + "|" + oc + ")"), ic = new RegExp("^(?:" + Ht + "|" + $t + ")"), Nu = [
|
|
2441
2458
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
2442
2459
|
[/^<!--/, /-->/, !0],
|
|
2443
2460
|
[/^<\?/, /\?>/, !0],
|
|
2444
2461
|
[/^<![A-Z]/, />/, !0],
|
|
2445
2462
|
[/^<!\[CDATA\[/, /\]\]>/, !0],
|
|
2446
|
-
[new RegExp("^</?(" +
|
|
2447
|
-
[new RegExp(
|
|
2463
|
+
[new RegExp("^</?(" + Yo.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
|
|
2464
|
+
[new RegExp(ic.source + "\\s*$"), /^$/, !1]
|
|
2448
2465
|
];
|
|
2449
|
-
function
|
|
2466
|
+
function ac(u, e, t, n) {
|
|
2450
2467
|
let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
|
|
2451
2468
|
if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(r) !== 60)
|
|
2452
2469
|
return !1;
|
|
2453
2470
|
let i = u.src.slice(r, o), c = 0;
|
|
2454
|
-
for (; c <
|
|
2471
|
+
for (; c < Nu.length && !Nu[c][0].test(i); c++)
|
|
2455
2472
|
;
|
|
2456
|
-
if (c ===
|
|
2473
|
+
if (c === Nu.length)
|
|
2457
2474
|
return !1;
|
|
2458
2475
|
if (n)
|
|
2459
|
-
return
|
|
2476
|
+
return Nu[c][2];
|
|
2460
2477
|
let a = e + 1;
|
|
2461
|
-
if (!
|
|
2478
|
+
if (!Nu[c][1].test(i)) {
|
|
2462
2479
|
for (; a < t && !(u.sCount[a] < u.blkIndent); a++)
|
|
2463
|
-
if (r = u.bMarks[a] + u.tShift[a], o = u.eMarks[a], i = u.src.slice(r, o),
|
|
2480
|
+
if (r = u.bMarks[a] + u.tShift[a], o = u.eMarks[a], i = u.src.slice(r, o), Nu[c][1].test(i)) {
|
|
2464
2481
|
i.length !== 0 && a++;
|
|
2465
2482
|
break;
|
|
2466
2483
|
}
|
|
@@ -2469,7 +2486,7 @@ function ic(u, e, t, n) {
|
|
|
2469
2486
|
const s = u.push("html_block", "", 0);
|
|
2470
2487
|
return s.map = [e, a], s.content = u.getLines(e, a, u.blkIndent, !0), !0;
|
|
2471
2488
|
}
|
|
2472
|
-
function
|
|
2489
|
+
function sc(u, e, t, n) {
|
|
2473
2490
|
let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e];
|
|
2474
2491
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
2475
2492
|
return !1;
|
|
@@ -2493,7 +2510,7 @@ function ac(u, e, t, n) {
|
|
|
2493
2510
|
const d = u.push("heading_close", "h" + String(c), -1);
|
|
2494
2511
|
return d.markup = "########".slice(0, c), !0;
|
|
2495
2512
|
}
|
|
2496
|
-
function
|
|
2513
|
+
function lc(u, e, t) {
|
|
2497
2514
|
const n = u.md.block.ruler.getRules("paragraph");
|
|
2498
2515
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
2499
2516
|
return !1;
|
|
@@ -2533,7 +2550,7 @@ function sc(u, e, t) {
|
|
|
2533
2550
|
const d = u.push("heading_close", "h" + String(o), -1);
|
|
2534
2551
|
return d.markup = String.fromCharCode(i), u.parentType = r, !0;
|
|
2535
2552
|
}
|
|
2536
|
-
function
|
|
2553
|
+
function fc(u, e, t) {
|
|
2537
2554
|
const n = u.md.block.ruler.getRules("paragraph"), r = u.parentType;
|
|
2538
2555
|
let o = e + 1;
|
|
2539
2556
|
for (u.parentType = "paragraph"; o < t && !u.isEmpty(o); o++) {
|
|
@@ -2555,27 +2572,27 @@ function lc(u, e, t) {
|
|
|
2555
2572
|
const a = u.push("inline", "", 0);
|
|
2556
2573
|
return a.content = i, a.map = [e, u.line], a.children = [], u.push("paragraph_close", "p", -1), u.parentType = r, !0;
|
|
2557
2574
|
}
|
|
2558
|
-
const
|
|
2575
|
+
const ke = [
|
|
2559
2576
|
// First 2 params - rule name & source. Secondary array - list of rules,
|
|
2560
2577
|
// which can be terminated by this one.
|
|
2561
|
-
["table",
|
|
2562
|
-
["code",
|
|
2563
|
-
["fence",
|
|
2564
|
-
["blockquote",
|
|
2565
|
-
["hr",
|
|
2566
|
-
["list",
|
|
2567
|
-
["reference",
|
|
2568
|
-
["html_block",
|
|
2569
|
-
["heading",
|
|
2570
|
-
["lheading",
|
|
2571
|
-
["paragraph",
|
|
2578
|
+
["table", Uo, ["paragraph", "reference"]],
|
|
2579
|
+
["code", Ho],
|
|
2580
|
+
["fence", $o, ["paragraph", "reference", "blockquote", "list"]],
|
|
2581
|
+
["blockquote", jo, ["paragraph", "reference", "blockquote", "list"]],
|
|
2582
|
+
["hr", Go, ["paragraph", "reference", "blockquote", "list"]],
|
|
2583
|
+
["list", Zo, ["paragraph", "reference", "blockquote"]],
|
|
2584
|
+
["reference", Vo],
|
|
2585
|
+
["html_block", ac, ["paragraph", "reference", "blockquote"]],
|
|
2586
|
+
["heading", sc, ["paragraph", "reference", "blockquote"]],
|
|
2587
|
+
["lheading", lc],
|
|
2588
|
+
["paragraph", fc]
|
|
2572
2589
|
];
|
|
2573
|
-
function
|
|
2590
|
+
function ve() {
|
|
2574
2591
|
this.ruler = new V();
|
|
2575
|
-
for (let u = 0; u <
|
|
2576
|
-
this.ruler.push(
|
|
2592
|
+
for (let u = 0; u < ke.length; u++)
|
|
2593
|
+
this.ruler.push(ke[u][0], ke[u][1], { alt: (ke[u][2] || []).slice() });
|
|
2577
2594
|
}
|
|
2578
|
-
|
|
2595
|
+
ve.prototype.tokenize = function(u, e, t) {
|
|
2579
2596
|
const n = this.ruler.getRules(""), r = n.length, o = u.md.options.maxNesting;
|
|
2580
2597
|
let i = e, c = !1;
|
|
2581
2598
|
for (; i < t && (u.line = i = u.skipEmptyLines(i), !(i >= t || u.sCount[i] < u.blkIndent)); ) {
|
|
@@ -2595,36 +2612,36 @@ we.prototype.tokenize = function(u, e, t) {
|
|
|
2595
2612
|
u.tight = !c, u.isEmpty(u.line - 1) && (c = !0), i = u.line, i < t && u.isEmpty(i) && (c = !0, i++, u.line = i);
|
|
2596
2613
|
}
|
|
2597
2614
|
};
|
|
2598
|
-
|
|
2615
|
+
ve.prototype.parse = function(u, e, t, n) {
|
|
2599
2616
|
if (!u)
|
|
2600
2617
|
return;
|
|
2601
2618
|
const r = new this.State(u, e, t, n);
|
|
2602
2619
|
this.tokenize(r, r.line, r.lineMax);
|
|
2603
2620
|
};
|
|
2604
|
-
|
|
2605
|
-
function
|
|
2621
|
+
ve.prototype.State = au;
|
|
2622
|
+
function ae(u, e, t, n) {
|
|
2606
2623
|
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;
|
|
2607
2624
|
}
|
|
2608
|
-
|
|
2625
|
+
ae.prototype.pushPending = function() {
|
|
2609
2626
|
const u = new tu("text", "", 0);
|
|
2610
2627
|
return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
|
|
2611
2628
|
};
|
|
2612
|
-
|
|
2629
|
+
ae.prototype.push = function(u, e, t) {
|
|
2613
2630
|
this.pending && this.pushPending();
|
|
2614
2631
|
const n = new tu(u, e, t);
|
|
2615
2632
|
let r = null;
|
|
2616
2633
|
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;
|
|
2617
2634
|
};
|
|
2618
|
-
|
|
2635
|
+
ae.prototype.scanDelims = function(u, e) {
|
|
2619
2636
|
const t = this.posMax, n = this.src.charCodeAt(u), r = u > 0 ? this.src.charCodeAt(u - 1) : 32;
|
|
2620
2637
|
let o = u;
|
|
2621
2638
|
for (; o < t && this.src.charCodeAt(o) === n; )
|
|
2622
2639
|
o++;
|
|
2623
|
-
const i = o - u, c = o < t ? this.src.charCodeAt(o) : 32, a =
|
|
2640
|
+
const i = o - u, c = o < t ? this.src.charCodeAt(o) : 32, a = te(r) || ee(String.fromCharCode(r)), s = te(c) || ee(String.fromCharCode(c)), f = ue(r), d = ue(c), m = !d && (!s || f || a), p = !f && (!a || d || s);
|
|
2624
2641
|
return { can_open: m && (e || !p || a), can_close: p && (e || !m || s), length: i };
|
|
2625
2642
|
};
|
|
2626
|
-
|
|
2627
|
-
function
|
|
2643
|
+
ae.prototype.Token = tu;
|
|
2644
|
+
function dc(u) {
|
|
2628
2645
|
switch (u) {
|
|
2629
2646
|
case 10:
|
|
2630
2647
|
case 33:
|
|
@@ -2654,18 +2671,18 @@ function fc(u) {
|
|
|
2654
2671
|
return !1;
|
|
2655
2672
|
}
|
|
2656
2673
|
}
|
|
2657
|
-
function
|
|
2674
|
+
function hc(u, e) {
|
|
2658
2675
|
let t = u.pos;
|
|
2659
|
-
for (; t < u.posMax && !
|
|
2676
|
+
for (; t < u.posMax && !dc(u.src.charCodeAt(t)); )
|
|
2660
2677
|
t++;
|
|
2661
2678
|
return t === u.pos ? !1 : (e || (u.pending += u.src.slice(u.pos, t)), u.pos = t, !0);
|
|
2662
2679
|
}
|
|
2663
|
-
const
|
|
2664
|
-
function
|
|
2680
|
+
const pc = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
|
|
2681
|
+
function bc(u, e) {
|
|
2665
2682
|
if (!u.md.options.linkify || u.linkLevel > 0) return !1;
|
|
2666
2683
|
const t = u.pos, n = u.posMax;
|
|
2667
2684
|
if (t + 3 > n || u.src.charCodeAt(t) !== 58 || u.src.charCodeAt(t + 1) !== 47 || u.src.charCodeAt(t + 2) !== 47) return !1;
|
|
2668
|
-
const r = u.pending.match(
|
|
2685
|
+
const r = u.pending.match(pc);
|
|
2669
2686
|
if (!r) return !1;
|
|
2670
2687
|
const o = r[1], i = u.md.linkify.matchAtStart(u.src.slice(t - o.length));
|
|
2671
2688
|
if (!i) return !1;
|
|
@@ -2685,7 +2702,7 @@ function pc(u, e) {
|
|
|
2685
2702
|
}
|
|
2686
2703
|
return u.pos += c.length - o.length, !0;
|
|
2687
2704
|
}
|
|
2688
|
-
function
|
|
2705
|
+
function mc(u, e) {
|
|
2689
2706
|
let t = u.pos;
|
|
2690
2707
|
if (u.src.charCodeAt(t) !== 10)
|
|
2691
2708
|
return !1;
|
|
@@ -2704,13 +2721,13 @@ function bc(u, e) {
|
|
|
2704
2721
|
t++;
|
|
2705
2722
|
return u.pos = t, !0;
|
|
2706
2723
|
}
|
|
2707
|
-
const
|
|
2724
|
+
const g0 = [];
|
|
2708
2725
|
for (let u = 0; u < 256; u++)
|
|
2709
|
-
|
|
2726
|
+
g0.push(0);
|
|
2710
2727
|
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
|
|
2711
|
-
|
|
2728
|
+
g0[u.charCodeAt(0)] = 1;
|
|
2712
2729
|
});
|
|
2713
|
-
function
|
|
2730
|
+
function _c(u, e) {
|
|
2714
2731
|
let t = u.pos;
|
|
2715
2732
|
const n = u.posMax;
|
|
2716
2733
|
if (u.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
|
|
@@ -2728,11 +2745,11 @@ function mc(u, e) {
|
|
|
2728
2745
|
const i = "\\" + o;
|
|
2729
2746
|
if (!e) {
|
|
2730
2747
|
const c = u.push("text_special", "", 0);
|
|
2731
|
-
r < 256 &&
|
|
2748
|
+
r < 256 && g0[r] !== 0 ? c.content = o : c.content = i, c.markup = i, c.info = "escape";
|
|
2732
2749
|
}
|
|
2733
2750
|
return u.pos = t + 1, !0;
|
|
2734
2751
|
}
|
|
2735
|
-
function
|
|
2752
|
+
function xc(u, e) {
|
|
2736
2753
|
let t = u.pos;
|
|
2737
2754
|
if (u.src.charCodeAt(t) !== 96)
|
|
2738
2755
|
return !1;
|
|
@@ -2760,7 +2777,7 @@ function _c(u, e) {
|
|
|
2760
2777
|
}
|
|
2761
2778
|
return u.backticksScanned = !0, e || (u.pending += i), u.pos += c, !0;
|
|
2762
2779
|
}
|
|
2763
|
-
function
|
|
2780
|
+
function gc(u, e) {
|
|
2764
2781
|
const t = u.pos, n = u.src.charCodeAt(t);
|
|
2765
2782
|
if (e || n !== 126)
|
|
2766
2783
|
return !1;
|
|
@@ -2783,7 +2800,7 @@ function xc(u, e) {
|
|
|
2783
2800
|
});
|
|
2784
2801
|
return u.pos += r.length, !0;
|
|
2785
2802
|
}
|
|
2786
|
-
function
|
|
2803
|
+
function xt(u, e) {
|
|
2787
2804
|
let t;
|
|
2788
2805
|
const n = [], r = e.length;
|
|
2789
2806
|
for (let o = 0; o < r; o++) {
|
|
@@ -2801,17 +2818,17 @@ function mt(u, e) {
|
|
|
2801
2818
|
i--, o !== i && (t = u.tokens[i], u.tokens[i] = u.tokens[o], u.tokens[o] = t);
|
|
2802
2819
|
}
|
|
2803
2820
|
}
|
|
2804
|
-
function
|
|
2821
|
+
function kc(u) {
|
|
2805
2822
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2806
|
-
|
|
2823
|
+
xt(u, u.delimiters);
|
|
2807
2824
|
for (let n = 0; n < t; n++)
|
|
2808
|
-
e[n] && e[n].delimiters &&
|
|
2825
|
+
e[n] && e[n].delimiters && xt(u, e[n].delimiters);
|
|
2809
2826
|
}
|
|
2810
|
-
const
|
|
2811
|
-
tokenize:
|
|
2812
|
-
postProcess:
|
|
2827
|
+
const jt = {
|
|
2828
|
+
tokenize: gc,
|
|
2829
|
+
postProcess: kc
|
|
2813
2830
|
};
|
|
2814
|
-
function
|
|
2831
|
+
function Ec(u, e) {
|
|
2815
2832
|
const t = u.pos, n = u.src.charCodeAt(t);
|
|
2816
2833
|
if (e || n !== 95 && n !== 42)
|
|
2817
2834
|
return !1;
|
|
@@ -2841,7 +2858,7 @@ function kc(u, e) {
|
|
|
2841
2858
|
}
|
|
2842
2859
|
return u.pos += r.length, !0;
|
|
2843
2860
|
}
|
|
2844
|
-
function
|
|
2861
|
+
function gt(u, e) {
|
|
2845
2862
|
const t = e.length;
|
|
2846
2863
|
for (let n = t - 1; n >= 0; n--) {
|
|
2847
2864
|
const r = e[n];
|
|
@@ -2855,17 +2872,17 @@ function _t(u, e) {
|
|
|
2855
2872
|
s.type = i ? "strong_close" : "em_close", s.tag = i ? "strong" : "em", s.nesting = -1, s.markup = i ? c + c : c, s.content = "", i && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
|
|
2856
2873
|
}
|
|
2857
2874
|
}
|
|
2858
|
-
function
|
|
2875
|
+
function Ac(u) {
|
|
2859
2876
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2860
|
-
|
|
2877
|
+
gt(u, u.delimiters);
|
|
2861
2878
|
for (let n = 0; n < t; n++)
|
|
2862
|
-
e[n] && e[n].delimiters &&
|
|
2879
|
+
e[n] && e[n].delimiters && gt(u, e[n].delimiters);
|
|
2863
2880
|
}
|
|
2864
|
-
const
|
|
2865
|
-
tokenize:
|
|
2866
|
-
postProcess:
|
|
2881
|
+
const Gt = {
|
|
2882
|
+
tokenize: Ec,
|
|
2883
|
+
postProcess: Ac
|
|
2867
2884
|
};
|
|
2868
|
-
function
|
|
2885
|
+
function Cc(u, e) {
|
|
2869
2886
|
let t, n, r, o, i = "", c = "", a = u.pos, s = !0;
|
|
2870
2887
|
if (u.src.charCodeAt(u.pos) !== 91)
|
|
2871
2888
|
return !1;
|
|
@@ -2890,7 +2907,7 @@ function Ac(u, e) {
|
|
|
2890
2907
|
if (s) {
|
|
2891
2908
|
if (typeof u.env.references > "u")
|
|
2892
2909
|
return !1;
|
|
2893
|
-
if (h < d && u.src.charCodeAt(h) === 91 ? (a = h + 1, h = u.md.helpers.parseLinkLabel(u, h), h >= 0 ? n = u.src.slice(a, h++) : h = p + 1) : h = p + 1, n || (n = u.src.slice(m, p)), o = u.env.references[
|
|
2910
|
+
if (h < d && u.src.charCodeAt(h) === 91 ? (a = h + 1, h = u.md.helpers.parseLinkLabel(u, h), h >= 0 ? n = u.src.slice(a, h++) : h = p + 1) : h = p + 1, n || (n = u.src.slice(m, p)), o = u.env.references[we(n)], !o)
|
|
2894
2911
|
return u.pos = f, !1;
|
|
2895
2912
|
i = o.href, c = o.title;
|
|
2896
2913
|
}
|
|
@@ -2901,7 +2918,7 @@ function Ac(u, e) {
|
|
|
2901
2918
|
}
|
|
2902
2919
|
return u.pos = h, u.posMax = d, !0;
|
|
2903
2920
|
}
|
|
2904
|
-
function
|
|
2921
|
+
function Dc(u, e) {
|
|
2905
2922
|
let t, n, r, o, i, c, a, s, f = "";
|
|
2906
2923
|
const d = u.pos, m = u.posMax;
|
|
2907
2924
|
if (u.src.charCodeAt(u.pos) !== 33 || u.src.charCodeAt(u.pos + 1) !== 91)
|
|
@@ -2927,7 +2944,7 @@ function Cc(u, e) {
|
|
|
2927
2944
|
} else {
|
|
2928
2945
|
if (typeof u.env.references > "u")
|
|
2929
2946
|
return !1;
|
|
2930
|
-
if (o < m && u.src.charCodeAt(o) === 91 ? (s = o + 1, o = u.md.helpers.parseLinkLabel(u, o), o >= 0 ? r = u.src.slice(s, o++) : o = h + 1) : o = h + 1, r || (r = u.src.slice(p, h)), i = u.env.references[
|
|
2947
|
+
if (o < m && u.src.charCodeAt(o) === 91 ? (s = o + 1, o = u.md.helpers.parseLinkLabel(u, o), o >= 0 ? r = u.src.slice(s, o++) : o = h + 1) : o = h + 1, r || (r = u.src.slice(p, h)), i = u.env.references[we(r)], !i)
|
|
2931
2948
|
return u.pos = d, !1;
|
|
2932
2949
|
f = i.href, a = i.title;
|
|
2933
2950
|
}
|
|
@@ -2945,8 +2962,8 @@ function Cc(u, e) {
|
|
|
2945
2962
|
}
|
|
2946
2963
|
return u.pos = o, u.posMax = m, !0;
|
|
2947
2964
|
}
|
|
2948
|
-
const
|
|
2949
|
-
function
|
|
2965
|
+
const yc = /^([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])?)*)$/, Fc = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
|
|
2966
|
+
function Tc(u, e) {
|
|
2950
2967
|
let t = u.pos;
|
|
2951
2968
|
if (u.src.charCodeAt(t) !== 60)
|
|
2952
2969
|
return !1;
|
|
@@ -2958,7 +2975,7 @@ function Fc(u, e) {
|
|
|
2958
2975
|
if (i === 62) break;
|
|
2959
2976
|
}
|
|
2960
2977
|
const o = u.src.slice(n + 1, t);
|
|
2961
|
-
if (
|
|
2978
|
+
if (Fc.test(o)) {
|
|
2962
2979
|
const i = u.md.normalizeLink(o);
|
|
2963
2980
|
if (!u.md.validateLink(i))
|
|
2964
2981
|
return !1;
|
|
@@ -2972,7 +2989,7 @@ function Fc(u, e) {
|
|
|
2972
2989
|
}
|
|
2973
2990
|
return u.pos += o.length + 2, !0;
|
|
2974
2991
|
}
|
|
2975
|
-
if (
|
|
2992
|
+
if (yc.test(o)) {
|
|
2976
2993
|
const i = u.md.normalizeLink("mailto:" + o);
|
|
2977
2994
|
if (!u.md.validateLink(i))
|
|
2978
2995
|
return !1;
|
|
@@ -2988,51 +3005,51 @@ function Fc(u, e) {
|
|
|
2988
3005
|
}
|
|
2989
3006
|
return !1;
|
|
2990
3007
|
}
|
|
2991
|
-
function
|
|
3008
|
+
function Sc(u) {
|
|
2992
3009
|
return /^<a[>\s]/i.test(u);
|
|
2993
3010
|
}
|
|
2994
|
-
function
|
|
3011
|
+
function wc(u) {
|
|
2995
3012
|
return /^<\/a\s*>/i.test(u);
|
|
2996
3013
|
}
|
|
2997
|
-
function
|
|
3014
|
+
function vc(u) {
|
|
2998
3015
|
const e = u | 32;
|
|
2999
3016
|
return e >= 97 && e <= 122;
|
|
3000
3017
|
}
|
|
3001
|
-
function
|
|
3018
|
+
function Rc(u, e) {
|
|
3002
3019
|
if (!u.md.options.html)
|
|
3003
3020
|
return !1;
|
|
3004
3021
|
const t = u.posMax, n = u.pos;
|
|
3005
3022
|
if (u.src.charCodeAt(n) !== 60 || n + 2 >= t)
|
|
3006
3023
|
return !1;
|
|
3007
3024
|
const r = u.src.charCodeAt(n + 1);
|
|
3008
|
-
if (r !== 33 && r !== 63 && r !== 47 && !
|
|
3025
|
+
if (r !== 33 && r !== 63 && r !== 47 && !vc(r))
|
|
3009
3026
|
return !1;
|
|
3010
|
-
const o = u.src.slice(n).match(
|
|
3027
|
+
const o = u.src.slice(n).match(cc);
|
|
3011
3028
|
if (!o)
|
|
3012
3029
|
return !1;
|
|
3013
3030
|
if (!e) {
|
|
3014
3031
|
const i = u.push("html_inline", "", 0);
|
|
3015
|
-
i.content = o[0],
|
|
3032
|
+
i.content = o[0], Sc(i.content) && u.linkLevel++, wc(i.content) && u.linkLevel--;
|
|
3016
3033
|
}
|
|
3017
3034
|
return u.pos += o[0].length, !0;
|
|
3018
3035
|
}
|
|
3019
|
-
const
|
|
3020
|
-
function
|
|
3036
|
+
const Ic = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, Mc = /^&([a-z][a-z0-9]{1,31});/i;
|
|
3037
|
+
function Lc(u, e) {
|
|
3021
3038
|
const t = u.pos, n = u.posMax;
|
|
3022
3039
|
if (u.src.charCodeAt(t) !== 38 || t + 1 >= n) return !1;
|
|
3023
3040
|
if (u.src.charCodeAt(t + 1) === 35) {
|
|
3024
|
-
const o = u.src.slice(t).match(
|
|
3041
|
+
const o = u.src.slice(t).match(Ic);
|
|
3025
3042
|
if (o) {
|
|
3026
3043
|
if (!e) {
|
|
3027
3044
|
const i = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), c = u.push("text_special", "", 0);
|
|
3028
|
-
c.content =
|
|
3045
|
+
c.content = _0(i) ? Fe(i) : Fe(65533), c.markup = o[0], c.info = "entity";
|
|
3029
3046
|
}
|
|
3030
3047
|
return u.pos += o[0].length, !0;
|
|
3031
3048
|
}
|
|
3032
3049
|
} else {
|
|
3033
|
-
const o = u.src.slice(t).match(
|
|
3050
|
+
const o = u.src.slice(t).match(Mc);
|
|
3034
3051
|
if (o) {
|
|
3035
|
-
const i =
|
|
3052
|
+
const i = Bt(o[0]);
|
|
3036
3053
|
if (i !== o[0]) {
|
|
3037
3054
|
if (!e) {
|
|
3038
3055
|
const c = u.push("text_special", "", 0);
|
|
@@ -3044,7 +3061,7 @@ function Mc(u, e) {
|
|
|
3044
3061
|
}
|
|
3045
3062
|
return !1;
|
|
3046
3063
|
}
|
|
3047
|
-
function
|
|
3064
|
+
function kt(u) {
|
|
3048
3065
|
const e = {}, t = u.length;
|
|
3049
3066
|
if (!t) return;
|
|
3050
3067
|
let n = 0, r = -2;
|
|
@@ -3069,49 +3086,49 @@ function xt(u) {
|
|
|
3069
3086
|
f !== -1 && (e[c.marker][(c.open ? 3 : 0) + (c.length || 0) % 3] = f);
|
|
3070
3087
|
}
|
|
3071
3088
|
}
|
|
3072
|
-
function
|
|
3089
|
+
function Oc(u) {
|
|
3073
3090
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
3074
|
-
|
|
3091
|
+
kt(u.delimiters);
|
|
3075
3092
|
for (let n = 0; n < t; n++)
|
|
3076
|
-
e[n] && e[n].delimiters &&
|
|
3093
|
+
e[n] && e[n].delimiters && kt(e[n].delimiters);
|
|
3077
3094
|
}
|
|
3078
|
-
function
|
|
3095
|
+
function Nc(u) {
|
|
3079
3096
|
let e, t, n = 0;
|
|
3080
3097
|
const r = u.tokens, o = u.tokens.length;
|
|
3081
3098
|
for (e = t = 0; e < o; e++)
|
|
3082
3099
|
r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < o && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
|
|
3083
3100
|
e !== t && (r.length = t);
|
|
3084
3101
|
}
|
|
3085
|
-
const
|
|
3086
|
-
["text",
|
|
3087
|
-
["linkify",
|
|
3088
|
-
["newline",
|
|
3089
|
-
["escape",
|
|
3090
|
-
["backticks",
|
|
3091
|
-
["strikethrough",
|
|
3092
|
-
["emphasis",
|
|
3093
|
-
["link",
|
|
3094
|
-
["image",
|
|
3095
|
-
["autolink",
|
|
3096
|
-
["html_inline",
|
|
3097
|
-
["entity",
|
|
3098
|
-
],
|
|
3099
|
-
["balance_pairs",
|
|
3100
|
-
["strikethrough",
|
|
3101
|
-
["emphasis",
|
|
3102
|
+
const Ke = [
|
|
3103
|
+
["text", hc],
|
|
3104
|
+
["linkify", bc],
|
|
3105
|
+
["newline", mc],
|
|
3106
|
+
["escape", _c],
|
|
3107
|
+
["backticks", xc],
|
|
3108
|
+
["strikethrough", jt.tokenize],
|
|
3109
|
+
["emphasis", Gt.tokenize],
|
|
3110
|
+
["link", Cc],
|
|
3111
|
+
["image", Dc],
|
|
3112
|
+
["autolink", Tc],
|
|
3113
|
+
["html_inline", Rc],
|
|
3114
|
+
["entity", Lc]
|
|
3115
|
+
], u0 = [
|
|
3116
|
+
["balance_pairs", Oc],
|
|
3117
|
+
["strikethrough", jt.postProcess],
|
|
3118
|
+
["emphasis", Gt.postProcess],
|
|
3102
3119
|
// rules for pairs separate '**' into its own text tokens, which may be left unused,
|
|
3103
3120
|
// rule below merges unused segments back with the rest of the text
|
|
3104
|
-
["fragments_join",
|
|
3121
|
+
["fragments_join", Nc]
|
|
3105
3122
|
];
|
|
3106
|
-
function
|
|
3123
|
+
function se() {
|
|
3107
3124
|
this.ruler = new V();
|
|
3108
|
-
for (let u = 0; u < Qe.length; u++)
|
|
3109
|
-
this.ruler.push(Qe[u][0], Qe[u][1]);
|
|
3110
|
-
this.ruler2 = new V();
|
|
3111
3125
|
for (let u = 0; u < Ke.length; u++)
|
|
3112
|
-
this.
|
|
3126
|
+
this.ruler.push(Ke[u][0], Ke[u][1]);
|
|
3127
|
+
this.ruler2 = new V();
|
|
3128
|
+
for (let u = 0; u < u0.length; u++)
|
|
3129
|
+
this.ruler2.push(u0[u][0], u0[u][1]);
|
|
3113
3130
|
}
|
|
3114
|
-
|
|
3131
|
+
se.prototype.skipToken = function(u) {
|
|
3115
3132
|
const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, o = u.cache;
|
|
3116
3133
|
if (typeof o[e] < "u") {
|
|
3117
3134
|
u.pos = o[e];
|
|
@@ -3129,7 +3146,7 @@ ae.prototype.skipToken = function(u) {
|
|
|
3129
3146
|
u.pos = u.posMax;
|
|
3130
3147
|
i || u.pos++, o[e] = u.pos;
|
|
3131
3148
|
};
|
|
3132
|
-
|
|
3149
|
+
se.prototype.tokenize = function(u) {
|
|
3133
3150
|
const e = this.ruler.getRules(""), t = e.length, n = u.posMax, r = u.md.options.maxNesting;
|
|
3134
3151
|
for (; u.pos < n; ) {
|
|
3135
3152
|
const o = u.pos;
|
|
@@ -3151,17 +3168,17 @@ ae.prototype.tokenize = function(u) {
|
|
|
3151
3168
|
}
|
|
3152
3169
|
u.pending && u.pushPending();
|
|
3153
3170
|
};
|
|
3154
|
-
|
|
3171
|
+
se.prototype.parse = function(u, e, t, n) {
|
|
3155
3172
|
const r = new this.State(u, e, t, n);
|
|
3156
3173
|
this.tokenize(r);
|
|
3157
3174
|
const o = this.ruler2.getRules(""), i = o.length;
|
|
3158
3175
|
for (let c = 0; c < i; c++)
|
|
3159
3176
|
o[c](r);
|
|
3160
3177
|
};
|
|
3161
|
-
|
|
3162
|
-
function
|
|
3178
|
+
se.prototype.State = ae;
|
|
3179
|
+
function Bc(u) {
|
|
3163
3180
|
const e = {};
|
|
3164
|
-
u = u || {}, e.src_Any =
|
|
3181
|
+
u = u || {}, e.src_Any = It.source, e.src_Cc = Mt.source, e.src_Z = Ot.source, e.src_P = b0.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
|
|
3165
3182
|
const t = "[><|]";
|
|
3166
3183
|
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
|
|
3167
3184
|
",(?!" + 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)
|
|
@@ -3171,42 +3188,42 @@ function Nc(u) {
|
|
|
3171
3188
|
// but can start with > (markdown blockquote)
|
|
3172
3189
|
"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + e.src_ZPCc + "))((?![$+<=>^`||])" + e.tpl_host_port_no_ip_fuzzy_strict + e.src_path + ")", e;
|
|
3173
3190
|
}
|
|
3174
|
-
function
|
|
3191
|
+
function i0(u) {
|
|
3175
3192
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
3176
3193
|
t && Object.keys(t).forEach(function(n) {
|
|
3177
3194
|
u[n] = t[n];
|
|
3178
3195
|
});
|
|
3179
3196
|
}), u;
|
|
3180
3197
|
}
|
|
3181
|
-
function
|
|
3198
|
+
function Re(u) {
|
|
3182
3199
|
return Object.prototype.toString.call(u);
|
|
3183
3200
|
}
|
|
3184
|
-
function Bc(u) {
|
|
3185
|
-
return ve(u) === "[object String]";
|
|
3186
|
-
}
|
|
3187
3201
|
function Pc(u) {
|
|
3188
|
-
return
|
|
3202
|
+
return Re(u) === "[object String]";
|
|
3189
3203
|
}
|
|
3190
3204
|
function zc(u) {
|
|
3191
|
-
return
|
|
3192
|
-
}
|
|
3193
|
-
function gt(u) {
|
|
3194
|
-
return ve(u) === "[object Function]";
|
|
3205
|
+
return Re(u) === "[object Object]";
|
|
3195
3206
|
}
|
|
3196
3207
|
function qc(u) {
|
|
3208
|
+
return Re(u) === "[object RegExp]";
|
|
3209
|
+
}
|
|
3210
|
+
function Et(u) {
|
|
3211
|
+
return Re(u) === "[object Function]";
|
|
3212
|
+
}
|
|
3213
|
+
function Uc(u) {
|
|
3197
3214
|
return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
3198
3215
|
}
|
|
3199
|
-
const
|
|
3216
|
+
const Wt = {
|
|
3200
3217
|
fuzzyLink: !0,
|
|
3201
3218
|
fuzzyEmail: !0,
|
|
3202
3219
|
fuzzyIP: !1
|
|
3203
3220
|
};
|
|
3204
|
-
function
|
|
3221
|
+
function Hc(u) {
|
|
3205
3222
|
return Object.keys(u || {}).reduce(function(e, t) {
|
|
3206
|
-
return e ||
|
|
3223
|
+
return e || Wt.hasOwnProperty(t);
|
|
3207
3224
|
}, !1);
|
|
3208
3225
|
}
|
|
3209
|
-
const
|
|
3226
|
+
const $c = {
|
|
3210
3227
|
"http:": {
|
|
3211
3228
|
validate: function(u, e, t) {
|
|
3212
3229
|
const n = u.slice(e);
|
|
@@ -3238,24 +3255,24 @@ const Hc = {
|
|
|
3238
3255
|
)), t.re.mailto.test(n) ? n.match(t.re.mailto)[0].length : 0;
|
|
3239
3256
|
}
|
|
3240
3257
|
}
|
|
3241
|
-
},
|
|
3242
|
-
function
|
|
3258
|
+
}, jc = "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]", Gc = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
|
|
3259
|
+
function Wc(u) {
|
|
3243
3260
|
u.__index__ = -1, u.__text_cache__ = "";
|
|
3244
3261
|
}
|
|
3245
|
-
function
|
|
3262
|
+
function Zc(u) {
|
|
3246
3263
|
return function(e, t) {
|
|
3247
3264
|
const n = e.slice(t);
|
|
3248
3265
|
return u.test(n) ? n.match(u)[0].length : 0;
|
|
3249
3266
|
};
|
|
3250
3267
|
}
|
|
3251
|
-
function
|
|
3268
|
+
function At() {
|
|
3252
3269
|
return function(u, e) {
|
|
3253
3270
|
e.normalize(u);
|
|
3254
3271
|
};
|
|
3255
3272
|
}
|
|
3256
|
-
function
|
|
3257
|
-
const e = u.re =
|
|
3258
|
-
u.onCompile(), u.__tlds_replaced__ || t.push(
|
|
3273
|
+
function Te(u) {
|
|
3274
|
+
const e = u.re = Bc(u.__opts__), t = u.__tlds__.slice();
|
|
3275
|
+
u.onCompile(), u.__tlds_replaced__ || t.push(jc), t.push(e.src_xn), e.src_tlds = t.join("|");
|
|
3259
3276
|
function n(c) {
|
|
3260
3277
|
return c.replace("%TLDS%", e.src_tlds);
|
|
3261
3278
|
}
|
|
@@ -3270,44 +3287,44 @@ function Fe(u) {
|
|
|
3270
3287
|
if (a === null)
|
|
3271
3288
|
return;
|
|
3272
3289
|
const s = { validate: null, link: null };
|
|
3273
|
-
if (u.__compiled__[c] = s,
|
|
3274
|
-
|
|
3290
|
+
if (u.__compiled__[c] = s, zc(a)) {
|
|
3291
|
+
qc(a.validate) ? s.validate = Zc(a.validate) : Et(a.validate) ? s.validate = a.validate : o(c, a), Et(a.normalize) ? s.normalize = a.normalize : a.normalize ? o(c, a) : s.normalize = At();
|
|
3275
3292
|
return;
|
|
3276
3293
|
}
|
|
3277
|
-
if (
|
|
3294
|
+
if (Pc(a)) {
|
|
3278
3295
|
r.push(c);
|
|
3279
3296
|
return;
|
|
3280
3297
|
}
|
|
3281
3298
|
o(c, a);
|
|
3282
3299
|
}), r.forEach(function(c) {
|
|
3283
3300
|
u.__compiled__[u.__schemas__[c]] && (u.__compiled__[c].validate = u.__compiled__[u.__schemas__[c]].validate, u.__compiled__[c].normalize = u.__compiled__[u.__schemas__[c]].normalize);
|
|
3284
|
-
}), u.__compiled__[""] = { validate: null, normalize:
|
|
3301
|
+
}), u.__compiled__[""] = { validate: null, normalize: At() };
|
|
3285
3302
|
const i = Object.keys(u.__compiled__).filter(function(c) {
|
|
3286
3303
|
return c.length > 0 && u.__compiled__[c];
|
|
3287
|
-
}).map(
|
|
3304
|
+
}).map(Uc).join("|");
|
|
3288
3305
|
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(
|
|
3289
3306
|
"(" + u.re.schema_test.source + ")|(" + u.re.host_fuzzy_test.source + ")|@",
|
|
3290
3307
|
"i"
|
|
3291
|
-
),
|
|
3308
|
+
), Wc(u);
|
|
3292
3309
|
}
|
|
3293
|
-
function
|
|
3310
|
+
function Vc(u, e) {
|
|
3294
3311
|
const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
|
|
3295
3312
|
this.schema = u.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = n + e, this.raw = r, this.text = r, this.url = r;
|
|
3296
3313
|
}
|
|
3297
|
-
function
|
|
3298
|
-
const t = new
|
|
3314
|
+
function a0(u, e) {
|
|
3315
|
+
const t = new Vc(u, e);
|
|
3299
3316
|
return u.__compiled__[t.schema].normalize(t, u), t;
|
|
3300
3317
|
}
|
|
3301
3318
|
function J(u, e) {
|
|
3302
3319
|
if (!(this instanceof J))
|
|
3303
3320
|
return new J(u, e);
|
|
3304
|
-
e ||
|
|
3321
|
+
e || Hc(u) && (e = u, u = {}), this.__opts__ = i0({}, Wt, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = i0({}, $c, u), this.__compiled__ = {}, this.__tlds__ = Gc, this.__tlds_replaced__ = !1, this.re = {}, Te(this);
|
|
3305
3322
|
}
|
|
3306
3323
|
J.prototype.add = function(e, t) {
|
|
3307
|
-
return this.__schemas__[e] = t,
|
|
3324
|
+
return this.__schemas__[e] = t, Te(this), this;
|
|
3308
3325
|
};
|
|
3309
3326
|
J.prototype.set = function(e) {
|
|
3310
|
-
return this.__opts__ =
|
|
3327
|
+
return this.__opts__ = i0(this.__opts__, e), this;
|
|
3311
3328
|
};
|
|
3312
3329
|
J.prototype.test = function(e) {
|
|
3313
3330
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
|
|
@@ -3331,10 +3348,10 @@ J.prototype.testSchemaAt = function(e, t, n) {
|
|
|
3331
3348
|
J.prototype.match = function(e) {
|
|
3332
3349
|
const t = [];
|
|
3333
3350
|
let n = 0;
|
|
3334
|
-
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(
|
|
3351
|
+
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(a0(this, n)), n = this.__last_index__);
|
|
3335
3352
|
let r = n ? e.slice(n) : e;
|
|
3336
3353
|
for (; this.test(r); )
|
|
3337
|
-
t.push(
|
|
3354
|
+
t.push(a0(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
|
|
3338
3355
|
return t.length ? t : null;
|
|
3339
3356
|
};
|
|
3340
3357
|
J.prototype.matchAtStart = function(e) {
|
|
@@ -3342,41 +3359,41 @@ J.prototype.matchAtStart = function(e) {
|
|
|
3342
3359
|
const t = this.re.schema_at_start.exec(e);
|
|
3343
3360
|
if (!t) return null;
|
|
3344
3361
|
const n = this.testSchemaAt(e, t[2], t[0].length);
|
|
3345
|
-
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n,
|
|
3362
|
+
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;
|
|
3346
3363
|
};
|
|
3347
3364
|
J.prototype.tlds = function(e, t) {
|
|
3348
3365
|
return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, o) {
|
|
3349
3366
|
return n !== o[r - 1];
|
|
3350
|
-
}).reverse(),
|
|
3367
|
+
}).reverse(), Te(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, Te(this), this);
|
|
3351
3368
|
};
|
|
3352
3369
|
J.prototype.normalize = function(e) {
|
|
3353
3370
|
e.schema || (e.url = "http://" + e.url), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = "mailto:" + e.url);
|
|
3354
3371
|
};
|
|
3355
3372
|
J.prototype.onCompile = function() {
|
|
3356
3373
|
};
|
|
3357
|
-
const
|
|
3374
|
+
const Pu = 2147483647, ou = 36, k0 = 1, ne = 26, Yc = 38, Xc = 700, Zt = 72, Vt = 128, Yt = "-", Jc = /^xn--/, Qc = /[^\0-\x7F]/, Kc = /[\x2E\u3002\uFF0E\uFF61]/g, ui = {
|
|
3358
3375
|
overflow: "Overflow: input needs wider integers to process",
|
|
3359
3376
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
3360
3377
|
"invalid-input": "Invalid input"
|
|
3361
|
-
},
|
|
3378
|
+
}, e0 = ou - k0, cu = Math.floor, t0 = String.fromCharCode;
|
|
3362
3379
|
function pu(u) {
|
|
3363
|
-
throw new RangeError(
|
|
3380
|
+
throw new RangeError(ui[u]);
|
|
3364
3381
|
}
|
|
3365
|
-
function
|
|
3382
|
+
function ei(u, e) {
|
|
3366
3383
|
const t = [];
|
|
3367
3384
|
let n = u.length;
|
|
3368
3385
|
for (; n--; )
|
|
3369
3386
|
t[n] = e(u[n]);
|
|
3370
3387
|
return t;
|
|
3371
3388
|
}
|
|
3372
|
-
function
|
|
3389
|
+
function Xt(u, e) {
|
|
3373
3390
|
const t = u.split("@");
|
|
3374
3391
|
let n = "";
|
|
3375
|
-
t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(
|
|
3376
|
-
const r = u.split("."), o =
|
|
3392
|
+
t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(Kc, ".");
|
|
3393
|
+
const r = u.split("."), o = ei(r, e).join(".");
|
|
3377
3394
|
return n + o;
|
|
3378
3395
|
}
|
|
3379
|
-
function
|
|
3396
|
+
function Jt(u) {
|
|
3380
3397
|
const e = [];
|
|
3381
3398
|
let t = 0;
|
|
3382
3399
|
const n = u.length;
|
|
@@ -3390,18 +3407,18 @@ function Xt(u) {
|
|
|
3390
3407
|
}
|
|
3391
3408
|
return e;
|
|
3392
3409
|
}
|
|
3393
|
-
const
|
|
3410
|
+
const ti = (u) => String.fromCodePoint(...u), ni = function(u) {
|
|
3394
3411
|
return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : ou;
|
|
3395
|
-
},
|
|
3412
|
+
}, Ct = function(u, e) {
|
|
3396
3413
|
return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
|
|
3397
|
-
},
|
|
3414
|
+
}, Qt = function(u, e, t) {
|
|
3398
3415
|
let n = 0;
|
|
3399
|
-
for (u = t ? cu(u /
|
|
3400
|
-
u = cu(u /
|
|
3401
|
-
return cu(n + (
|
|
3402
|
-
},
|
|
3416
|
+
for (u = t ? cu(u / Xc) : u >> 1, u += cu(u / e); u > e0 * ne >> 1; n += ou)
|
|
3417
|
+
u = cu(u / e0);
|
|
3418
|
+
return cu(n + (e0 + 1) * u / (u + Yc));
|
|
3419
|
+
}, Kt = function(u) {
|
|
3403
3420
|
const e = [], t = u.length;
|
|
3404
|
-
let n = 0, r =
|
|
3421
|
+
let n = 0, r = Vt, o = Zt, i = u.lastIndexOf(Yt);
|
|
3405
3422
|
i < 0 && (i = 0);
|
|
3406
3423
|
for (let c = 0; c < i; ++c)
|
|
3407
3424
|
u.charCodeAt(c) >= 128 && pu("not-basic"), e.push(u.charCodeAt(c));
|
|
@@ -3409,59 +3426,59 @@ const ei = (u) => String.fromCodePoint(...u), ti = function(u) {
|
|
|
3409
3426
|
const a = n;
|
|
3410
3427
|
for (let f = 1, d = ou; ; d += ou) {
|
|
3411
3428
|
c >= t && pu("invalid-input");
|
|
3412
|
-
const m =
|
|
3413
|
-
m >= ou && pu("invalid-input"), m > cu((
|
|
3414
|
-
const p = d <= o ?
|
|
3429
|
+
const m = ni(u.charCodeAt(c++));
|
|
3430
|
+
m >= ou && pu("invalid-input"), m > cu((Pu - n) / f) && pu("overflow"), n += m * f;
|
|
3431
|
+
const p = d <= o ? k0 : d >= o + ne ? ne : d - o;
|
|
3415
3432
|
if (m < p)
|
|
3416
3433
|
break;
|
|
3417
3434
|
const h = ou - p;
|
|
3418
|
-
f > cu(
|
|
3435
|
+
f > cu(Pu / h) && pu("overflow"), f *= h;
|
|
3419
3436
|
}
|
|
3420
3437
|
const s = e.length + 1;
|
|
3421
|
-
o =
|
|
3438
|
+
o = Qt(n - a, s, a == 0), cu(n / s) > Pu - r && pu("overflow"), r += cu(n / s), n %= s, e.splice(n++, 0, r);
|
|
3422
3439
|
}
|
|
3423
3440
|
return String.fromCodePoint(...e);
|
|
3424
|
-
},
|
|
3441
|
+
}, un = function(u) {
|
|
3425
3442
|
const e = [];
|
|
3426
|
-
u =
|
|
3443
|
+
u = Jt(u);
|
|
3427
3444
|
const t = u.length;
|
|
3428
|
-
let n =
|
|
3445
|
+
let n = Vt, r = 0, o = Zt;
|
|
3429
3446
|
for (const a of u)
|
|
3430
|
-
a < 128 && e.push(
|
|
3447
|
+
a < 128 && e.push(t0(a));
|
|
3431
3448
|
const i = e.length;
|
|
3432
3449
|
let c = i;
|
|
3433
|
-
for (i && e.push(
|
|
3434
|
-
let a =
|
|
3450
|
+
for (i && e.push(Yt); c < t; ) {
|
|
3451
|
+
let a = Pu;
|
|
3435
3452
|
for (const f of u)
|
|
3436
3453
|
f >= n && f < a && (a = f);
|
|
3437
3454
|
const s = c + 1;
|
|
3438
|
-
a - n > cu((
|
|
3455
|
+
a - n > cu((Pu - r) / s) && pu("overflow"), r += (a - n) * s, n = a;
|
|
3439
3456
|
for (const f of u)
|
|
3440
|
-
if (f < n && ++r >
|
|
3457
|
+
if (f < n && ++r > Pu && pu("overflow"), f === n) {
|
|
3441
3458
|
let d = r;
|
|
3442
3459
|
for (let m = ou; ; m += ou) {
|
|
3443
|
-
const p = m <= o ?
|
|
3460
|
+
const p = m <= o ? k0 : m >= o + ne ? ne : m - o;
|
|
3444
3461
|
if (d < p)
|
|
3445
3462
|
break;
|
|
3446
3463
|
const h = d - p, C = ou - p;
|
|
3447
3464
|
e.push(
|
|
3448
|
-
|
|
3465
|
+
t0(Ct(p + h % C, 0))
|
|
3449
3466
|
), d = cu(h / C);
|
|
3450
3467
|
}
|
|
3451
|
-
e.push(
|
|
3468
|
+
e.push(t0(Ct(d, 0))), o = Qt(r, s, c === i), r = 0, ++c;
|
|
3452
3469
|
}
|
|
3453
3470
|
++r, ++n;
|
|
3454
3471
|
}
|
|
3455
3472
|
return e.join("");
|
|
3456
|
-
}, ni = function(u) {
|
|
3457
|
-
return Yt(u, function(e) {
|
|
3458
|
-
return Xc.test(e) ? Qt(e.slice(4).toLowerCase()) : e;
|
|
3459
|
-
});
|
|
3460
3473
|
}, ri = function(u) {
|
|
3461
|
-
return
|
|
3462
|
-
return Jc.test(e) ?
|
|
3474
|
+
return Xt(u, function(e) {
|
|
3475
|
+
return Jc.test(e) ? Kt(e.slice(4).toLowerCase()) : e;
|
|
3476
|
+
});
|
|
3477
|
+
}, oi = function(u) {
|
|
3478
|
+
return Xt(u, function(e) {
|
|
3479
|
+
return Qc.test(e) ? "xn--" + un(e) : e;
|
|
3463
3480
|
});
|
|
3464
|
-
},
|
|
3481
|
+
}, en = {
|
|
3465
3482
|
/**
|
|
3466
3483
|
* A string representing the current Punycode.js version number.
|
|
3467
3484
|
* @memberOf punycode
|
|
@@ -3476,14 +3493,14 @@ const ei = (u) => String.fromCodePoint(...u), ti = function(u) {
|
|
|
3476
3493
|
* @type Object
|
|
3477
3494
|
*/
|
|
3478
3495
|
ucs2: {
|
|
3479
|
-
decode:
|
|
3480
|
-
encode:
|
|
3496
|
+
decode: Jt,
|
|
3497
|
+
encode: ti
|
|
3481
3498
|
},
|
|
3482
|
-
decode:
|
|
3483
|
-
encode:
|
|
3484
|
-
toASCII:
|
|
3485
|
-
toUnicode:
|
|
3486
|
-
},
|
|
3499
|
+
decode: Kt,
|
|
3500
|
+
encode: un,
|
|
3501
|
+
toASCII: oi,
|
|
3502
|
+
toUnicode: ri
|
|
3503
|
+
}, ci = {
|
|
3487
3504
|
options: {
|
|
3488
3505
|
// Enable HTML tags in source
|
|
3489
3506
|
html: !1,
|
|
@@ -3519,7 +3536,7 @@ const ei = (u) => String.fromCodePoint(...u), ti = function(u) {
|
|
|
3519
3536
|
block: {},
|
|
3520
3537
|
inline: {}
|
|
3521
3538
|
}
|
|
3522
|
-
},
|
|
3539
|
+
}, ii = {
|
|
3523
3540
|
options: {
|
|
3524
3541
|
// Enable HTML tags in source
|
|
3525
3542
|
html: !1,
|
|
@@ -3574,7 +3591,7 @@ const ei = (u) => String.fromCodePoint(...u), ti = function(u) {
|
|
|
3574
3591
|
]
|
|
3575
3592
|
}
|
|
3576
3593
|
}
|
|
3577
|
-
},
|
|
3594
|
+
}, ai = {
|
|
3578
3595
|
options: {
|
|
3579
3596
|
// Enable HTML tags in source
|
|
3580
3597
|
html: !0,
|
|
@@ -3648,47 +3665,47 @@ const ei = (u) => String.fromCodePoint(...u), ti = function(u) {
|
|
|
3648
3665
|
]
|
|
3649
3666
|
}
|
|
3650
3667
|
}
|
|
3651
|
-
},
|
|
3652
|
-
default:
|
|
3653
|
-
zero:
|
|
3654
|
-
commonmark:
|
|
3655
|
-
},
|
|
3656
|
-
function
|
|
3668
|
+
}, si = {
|
|
3669
|
+
default: ci,
|
|
3670
|
+
zero: ii,
|
|
3671
|
+
commonmark: ai
|
|
3672
|
+
}, li = /^(vbscript|javascript|file|data):/, fi = /^data:image\/(gif|png|jpeg|webp);/;
|
|
3673
|
+
function di(u) {
|
|
3657
3674
|
const e = u.trim().toLowerCase();
|
|
3658
|
-
return
|
|
3675
|
+
return li.test(e) ? fi.test(e) : !0;
|
|
3659
3676
|
}
|
|
3660
|
-
const
|
|
3661
|
-
function
|
|
3662
|
-
const e =
|
|
3663
|
-
if (e.hostname && (!e.protocol ||
|
|
3677
|
+
const tn = ["http:", "https:", "mailto:"];
|
|
3678
|
+
function hi(u) {
|
|
3679
|
+
const e = p0(u, !0);
|
|
3680
|
+
if (e.hostname && (!e.protocol || tn.indexOf(e.protocol) >= 0))
|
|
3664
3681
|
try {
|
|
3665
|
-
e.hostname =
|
|
3682
|
+
e.hostname = en.toASCII(e.hostname);
|
|
3666
3683
|
} catch {
|
|
3667
3684
|
}
|
|
3668
|
-
return
|
|
3685
|
+
return ie(h0(e));
|
|
3669
3686
|
}
|
|
3670
|
-
function
|
|
3671
|
-
const e =
|
|
3672
|
-
if (e.hostname && (!e.protocol ||
|
|
3687
|
+
function pi(u) {
|
|
3688
|
+
const e = p0(u, !0);
|
|
3689
|
+
if (e.hostname && (!e.protocol || tn.indexOf(e.protocol) >= 0))
|
|
3673
3690
|
try {
|
|
3674
|
-
e.hostname =
|
|
3691
|
+
e.hostname = en.toUnicode(e.hostname);
|
|
3675
3692
|
} catch {
|
|
3676
3693
|
}
|
|
3677
|
-
return
|
|
3694
|
+
return zu(h0(e), zu.defaultChars + "%");
|
|
3678
3695
|
}
|
|
3679
3696
|
function K(u, e) {
|
|
3680
3697
|
if (!(this instanceof K))
|
|
3681
3698
|
return new K(u, e);
|
|
3682
|
-
e ||
|
|
3699
|
+
e || m0(u) || (e = u || {}, u = "default"), this.inline = new se(), this.block = new ve(), this.core = new x0(), this.renderer = new Uu(), this.linkify = new J(), this.validateLink = di, this.normalizeLink = hi, this.normalizeLinkText = pi, this.utils = mo, this.helpers = Se({}, ko), this.options = {}, this.configure(u), e && this.set(e);
|
|
3683
3700
|
}
|
|
3684
3701
|
K.prototype.set = function(u) {
|
|
3685
|
-
return
|
|
3702
|
+
return Se(this.options, u), this;
|
|
3686
3703
|
};
|
|
3687
3704
|
K.prototype.configure = function(u) {
|
|
3688
3705
|
const e = this;
|
|
3689
|
-
if (
|
|
3706
|
+
if (m0(u)) {
|
|
3690
3707
|
const t = u;
|
|
3691
|
-
if (u =
|
|
3708
|
+
if (u = si[t], !u)
|
|
3692
3709
|
throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
|
|
3693
3710
|
}
|
|
3694
3711
|
if (!u)
|
|
@@ -3741,14 +3758,14 @@ K.prototype.parseInline = function(u, e) {
|
|
|
3741
3758
|
K.prototype.renderInline = function(u, e) {
|
|
3742
3759
|
return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
|
|
3743
3760
|
};
|
|
3744
|
-
class
|
|
3761
|
+
class Mi extends f0 {
|
|
3745
3762
|
constructor(t = {}) {
|
|
3746
3763
|
super();
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3764
|
+
Ou(this, "mdConfig");
|
|
3765
|
+
Ou(this, "dompurifyConfig");
|
|
3766
|
+
Ou(this, "sanitizeDisabled");
|
|
3767
|
+
Ou(this, "defaultAttrs");
|
|
3768
|
+
Ou(this, "md");
|
|
3752
3769
|
this.mdConfig = t.mdConfig || {}, this.dompurifyConfig = t.dompurifyConfig || {}, this.sanitizeDisabled = t.sanitizeDisabled ?? !1, this.defaultAttrs = t.defaultAttrs || {}, this.md = K(this.mdConfig);
|
|
3753
3770
|
}
|
|
3754
3771
|
render(t) {
|
|
@@ -3760,30 +3777,30 @@ class Ii extends s0 {
|
|
|
3760
3777
|
console.error("Error rendering markdown:", c), o = n ?? "";
|
|
3761
3778
|
}
|
|
3762
3779
|
if (this.sanitizeDisabled)
|
|
3763
|
-
return console.warn("HTML sanitization is disabled, potential XSS risk"),
|
|
3764
|
-
const i =
|
|
3765
|
-
return
|
|
3780
|
+
return console.warn("HTML sanitization is disabled, potential XSS risk"), Z0("div", { ...this.defaultAttrs, ...r, innerHTML: o });
|
|
3781
|
+
const i = Sr.sanitize(o, this.dompurifyConfig);
|
|
3782
|
+
return Z0("div", { ...this.defaultAttrs, ...r, innerHTML: i });
|
|
3766
3783
|
}
|
|
3767
3784
|
}
|
|
3768
|
-
const
|
|
3785
|
+
const bi = {
|
|
3769
3786
|
key: 0,
|
|
3770
3787
|
class: /* @__PURE__ */ Au(["tr-bubble__avatar"])
|
|
3771
|
-
},
|
|
3788
|
+
}, mi = {
|
|
3772
3789
|
key: 2,
|
|
3773
3790
|
class: "tr-bubble__content-wrapper"
|
|
3774
|
-
},
|
|
3791
|
+
}, _i = {
|
|
3775
3792
|
key: 0,
|
|
3776
3793
|
class: "tr-bubble__content-items"
|
|
3777
|
-
},
|
|
3794
|
+
}, xi = {
|
|
3778
3795
|
key: 1,
|
|
3779
3796
|
class: "tr-bubble__body-text"
|
|
3780
|
-
},
|
|
3797
|
+
}, gi = {
|
|
3781
3798
|
key: 2,
|
|
3782
3799
|
class: "tr-bubble__aborted"
|
|
3783
|
-
},
|
|
3800
|
+
}, ki = {
|
|
3784
3801
|
key: 3,
|
|
3785
3802
|
class: "tr-bubble__footer"
|
|
3786
|
-
},
|
|
3803
|
+
}, Ei = /* @__PURE__ */ yu({
|
|
3787
3804
|
__name: "Bubble",
|
|
3788
3805
|
props: {
|
|
3789
3806
|
content: { default: "" },
|
|
@@ -3800,16 +3817,16 @@ const pi = {
|
|
|
3800
3817
|
maxWidth: {}
|
|
3801
3818
|
},
|
|
3802
3819
|
setup(u) {
|
|
3803
|
-
const e = u, t =
|
|
3820
|
+
const e = u, t = kn(), n = X(() => {
|
|
3804
3821
|
const d = e.contentRenderer;
|
|
3805
|
-
return d ? typeof d == "function" ? { isComponent: !1, vNodeOrComponent: d(e) } : d instanceof
|
|
3806
|
-
}), r =
|
|
3822
|
+
return d ? typeof d == "function" ? { isComponent: !1, vNodeOrComponent: d(e) } : d instanceof f0 ? { isComponent: !1, vNodeOrComponent: d.render(e) } : { isComponent: !0, vNodeOrComponent: d } : null;
|
|
3823
|
+
}), r = En(), o = X(() => {
|
|
3807
3824
|
if (!e.customContentField)
|
|
3808
3825
|
return null;
|
|
3809
3826
|
const d = r[e.customContentField];
|
|
3810
3827
|
return typeof d == "string" || Array.isArray(d) && d.length > 0 ? d : null;
|
|
3811
3828
|
}), i = X(() => o.value || e.content), c = X(() => Array.isArray(i.value) ? "" : i.value), a = X(() => Array.isArray(i.value) ? i.value : []), s = X(() => e.placement === "start"), f = X(() => e.maxWidth ? {
|
|
3812
|
-
"--max-width":
|
|
3829
|
+
"--max-width": Tn(e.maxWidth)
|
|
3813
3830
|
} : {});
|
|
3814
3831
|
return (d, m) => (S(), H("div", {
|
|
3815
3832
|
class: Au([
|
|
@@ -3819,12 +3836,12 @@ const pi = {
|
|
|
3819
3836
|
"placement-end": !s.value
|
|
3820
3837
|
}
|
|
3821
3838
|
]),
|
|
3822
|
-
style:
|
|
3839
|
+
style: An(f.value)
|
|
3823
3840
|
}, [
|
|
3824
|
-
e.avatar ? (S(), H("div",
|
|
3841
|
+
e.avatar ? (S(), H("div", bi, [
|
|
3825
3842
|
(S(), eu(_u(e.avatar)))
|
|
3826
|
-
])) :
|
|
3827
|
-
e.loading ?
|
|
3843
|
+
])) : Bu("", !0),
|
|
3844
|
+
e.loading ? Qu(d.$slots, "loading", {
|
|
3828
3845
|
key: 1,
|
|
3829
3846
|
bubbleProps: e
|
|
3830
3847
|
}, () => [
|
|
@@ -3832,38 +3849,38 @@ const pi = {
|
|
|
3832
3849
|
class: Au(["tr-bubble__content", { "border-corner": e.shape === "corner" }])
|
|
3833
3850
|
}, [...m[0] || (m[0] = [
|
|
3834
3851
|
Z("img", {
|
|
3835
|
-
src:
|
|
3852
|
+
src: Fn,
|
|
3836
3853
|
alt: "loading",
|
|
3837
3854
|
class: "tr-bubble__loading"
|
|
3838
3855
|
}, null, -1)
|
|
3839
3856
|
])], 2)
|
|
3840
|
-
], !0) : (S(), H("div",
|
|
3857
|
+
], !0) : (S(), H("div", mi, [
|
|
3841
3858
|
Z("div", {
|
|
3842
3859
|
class: Au(["tr-bubble__content", { "border-corner": e.shape === "corner" }])
|
|
3843
3860
|
}, [
|
|
3844
|
-
a.value.length ? (S(), H("div",
|
|
3845
|
-
(S(!0), H(
|
|
3861
|
+
a.value.length ? (S(), H("div", _i, [
|
|
3862
|
+
(S(!0), H(De, null, Ee(a.value, (p, h) => (S(), eu(l0(cr), {
|
|
3846
3863
|
key: h,
|
|
3847
3864
|
item: p
|
|
3848
3865
|
}, null, 8, ["item"]))), 128))
|
|
3849
|
-
])) :
|
|
3866
|
+
])) : Qu(d.$slots, "default", {
|
|
3850
3867
|
key: 1,
|
|
3851
3868
|
bubbleProps: e
|
|
3852
3869
|
}, () => [
|
|
3853
|
-
n.value ? (S(), H(
|
|
3854
|
-
n.value.isComponent ? (S(), eu(_u(n.value.vNodeOrComponent),
|
|
3855
|
-
], 64)) : (S(), H("span",
|
|
3870
|
+
n.value ? (S(), H(De, { key: 0 }, [
|
|
3871
|
+
n.value.isComponent ? (S(), eu(_u(n.value.vNodeOrComponent), Ce(Ku({ key: 0 }, e)), null, 16)) : (S(), eu(_u(n.value.vNodeOrComponent), { key: 1 }))
|
|
3872
|
+
], 64)) : (S(), H("span", xi, Cu(c.value), 1))
|
|
3856
3873
|
], !0),
|
|
3857
|
-
e.aborted ? (S(), H("span",
|
|
3858
|
-
t.footer ? (S(), H("div",
|
|
3859
|
-
|
|
3860
|
-
])) :
|
|
3874
|
+
e.aborted ? (S(), H("span", gi, Cu(e.abortedText), 1)) : Bu("", !0),
|
|
3875
|
+
t.footer ? (S(), H("div", ki, [
|
|
3876
|
+
Qu(d.$slots, "footer", { bubbleProps: e }, void 0, !0)
|
|
3877
|
+
])) : Bu("", !0)
|
|
3861
3878
|
], 2),
|
|
3862
|
-
|
|
3879
|
+
Qu(d.$slots, "trailer", { bubbleProps: e }, void 0, !0)
|
|
3863
3880
|
]))
|
|
3864
3881
|
], 6));
|
|
3865
3882
|
}
|
|
3866
|
-
}), Du = /* @__PURE__ */
|
|
3883
|
+
}), Du = /* @__PURE__ */ ce(Ei, [["__scopeId", "data-v-cd2deda0"]]), Ai = /* @__PURE__ */ yu({
|
|
3867
3884
|
__name: "BubbleList",
|
|
3868
3885
|
props: {
|
|
3869
3886
|
items: {},
|
|
@@ -3873,7 +3890,7 @@ const pi = {
|
|
|
3873
3890
|
autoScroll: { type: Boolean }
|
|
3874
3891
|
},
|
|
3875
3892
|
setup(u) {
|
|
3876
|
-
const e = u, t =
|
|
3893
|
+
const e = u, t = s0(null), { y: n } = Mn(t, {
|
|
3877
3894
|
behavior: "smooth",
|
|
3878
3895
|
throttle: 100
|
|
3879
3896
|
}), r = X(() => e.items.at(-1)), o = X(() => {
|
|
@@ -3895,13 +3912,13 @@ const pi = {
|
|
|
3895
3912
|
}
|
|
3896
3913
|
return 0;
|
|
3897
3914
|
});
|
|
3898
|
-
|
|
3915
|
+
Cn(
|
|
3899
3916
|
() => {
|
|
3900
3917
|
var a;
|
|
3901
3918
|
return [e.autoScroll, e.items.length, (a = r.value) == null ? void 0 : a.content, o.value];
|
|
3902
3919
|
},
|
|
3903
3920
|
([a]) => {
|
|
3904
|
-
|
|
3921
|
+
Dn(() => {
|
|
3905
3922
|
!a || !t.value || (n.value = t.value.scrollHeight);
|
|
3906
3923
|
});
|
|
3907
3924
|
},
|
|
@@ -3929,67 +3946,67 @@ const pi = {
|
|
|
3929
3946
|
ref_key: "scrollContainerRef",
|
|
3930
3947
|
ref: t
|
|
3931
3948
|
}, [
|
|
3932
|
-
(S(!0), H(
|
|
3949
|
+
(S(!0), H(De, null, Ee(i.value, (f, d) => (S(), H(De, {
|
|
3933
3950
|
key: f.id || d
|
|
3934
3951
|
}, [
|
|
3935
|
-
f.hidden ?
|
|
3952
|
+
f.hidden ? Bu("", !0) : (S(), eu(Du, Ku({
|
|
3936
3953
|
key: 0,
|
|
3937
3954
|
ref_for: !0
|
|
3938
|
-
}, f.props),
|
|
3939
|
-
|
|
3955
|
+
}, f.props), V0({ _: 2 }, [
|
|
3956
|
+
Ee(f.slots, (m, p) => ({
|
|
3940
3957
|
name: p,
|
|
3941
|
-
fn:
|
|
3942
|
-
(S(), eu(_u(m),
|
|
3958
|
+
fn: Y0((h) => [
|
|
3959
|
+
(S(), eu(_u(m), Ku({ ref_for: !0 }, { ...h, index: f.index }), null, 16))
|
|
3943
3960
|
])
|
|
3944
3961
|
}))
|
|
3945
3962
|
]), 1040))
|
|
3946
3963
|
], 64))), 128)),
|
|
3947
|
-
c.value ? (S(), eu(Du,
|
|
3948
|
-
|
|
3964
|
+
c.value ? (S(), eu(Du, Ce(Ku({ key: 0 }, c.value.props)), V0({ _: 2 }, [
|
|
3965
|
+
Ee(c.value.slots, (f, d) => ({
|
|
3949
3966
|
name: d,
|
|
3950
|
-
fn:
|
|
3951
|
-
(S(), eu(_u(f),
|
|
3967
|
+
fn: Y0((m) => [
|
|
3968
|
+
(S(), eu(_u(f), Ce(yn(m)), null, 16))
|
|
3952
3969
|
])
|
|
3953
3970
|
}))
|
|
3954
|
-
]), 1040)) :
|
|
3971
|
+
]), 1040)) : Bu("", !0)
|
|
3955
3972
|
], 512));
|
|
3956
3973
|
}
|
|
3957
|
-
}),
|
|
3974
|
+
}), re = /* @__PURE__ */ ce(Ai, [["__scopeId", "data-v-4cbc6c09"]]), oe = /* @__PURE__ */ yu({
|
|
3958
3975
|
__name: "BubbleProvider",
|
|
3959
3976
|
props: {
|
|
3960
3977
|
contentRenderers: { default: () => ({}) }
|
|
3961
3978
|
},
|
|
3962
3979
|
setup(u) {
|
|
3963
3980
|
const e = u, t = /* @__PURE__ */ new Map();
|
|
3964
|
-
for (const [n, r] of
|
|
3981
|
+
for (const [n, r] of yt.entries())
|
|
3965
3982
|
t.set(n, r);
|
|
3966
3983
|
for (const [n, r] of Object.entries(e.contentRenderers))
|
|
3967
3984
|
t.set(n, r);
|
|
3968
|
-
return
|
|
3985
|
+
return X0(Ft, t), X0(Tt, d0), (n, r) => Qu(n.$slots, "default");
|
|
3969
3986
|
}
|
|
3970
3987
|
});
|
|
3971
3988
|
Du.name = "TrBubble";
|
|
3972
|
-
const Ai = function(u) {
|
|
3973
|
-
u.component(Du.name, Du);
|
|
3974
|
-
};
|
|
3975
|
-
Du.install = Ai;
|
|
3976
|
-
const Mi = Du;
|
|
3977
|
-
ne.name = "TrBubbleList";
|
|
3978
3989
|
const Ci = function(u) {
|
|
3979
|
-
u.component(
|
|
3990
|
+
u.component(Du.name, Du);
|
|
3980
3991
|
};
|
|
3981
|
-
|
|
3982
|
-
const Li =
|
|
3983
|
-
re.name = "
|
|
3992
|
+
Du.install = Ci;
|
|
3993
|
+
const Li = Du;
|
|
3994
|
+
re.name = "TrBubbleList";
|
|
3984
3995
|
const Di = function(u) {
|
|
3985
3996
|
u.component(re.name, re);
|
|
3986
3997
|
};
|
|
3987
3998
|
re.install = Di;
|
|
3988
3999
|
const Oi = re;
|
|
4000
|
+
oe.name = "TrBubbleProvider";
|
|
4001
|
+
const yi = function(u) {
|
|
4002
|
+
u.component(oe.name, oe);
|
|
4003
|
+
};
|
|
4004
|
+
oe.install = yi;
|
|
4005
|
+
const Ni = oe;
|
|
3989
4006
|
export {
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
4007
|
+
Li as Bubble,
|
|
4008
|
+
f0 as BubbleContentClassRenderer,
|
|
4009
|
+
Oi as BubbleList,
|
|
4010
|
+
Mi as BubbleMarkdownContentRenderer,
|
|
4011
|
+
Ni as BubbleProvider
|
|
3995
4012
|
};
|