@squirrel-cloud/ui-vue 0.2.15 → 0.2.16
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/components/backtop/backtop.d.ts +23 -0
- package/dist/components/backtop/index.d.ts +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/progress/progress.d.ts +26 -2
- package/dist/props/backtop/backtop.d.ts +27 -0
- package/dist/props/backtop/index.d.ts +1 -0
- package/dist/props/button/index.d.ts +2 -2
- package/dist/props/card/index.d.ts +1 -1
- package/dist/props/index.d.ts +1 -0
- package/dist/props/input/index.d.ts +1 -1
- package/dist/props/popover/index.d.ts +1 -1
- package/dist/props/progress/index.d.ts +1 -1
- package/dist/props/progress/progress.d.ts +13 -1
- package/dist/props/tag/index.d.ts +2 -2
- package/dist/props/text/index.d.ts +1 -1
- package/dist/props/timeline/index.d.ts +2 -2
- package/dist/squirrel-cloud-ui-vue.js +1147 -1022
- package/dist/squirrel-cloud-ui-vue.umd.cjs +12 -12
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/typings/ProgressTheme.d.ts +4 -0
- package/typings/index.d.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
1
|
+
import { createElementBlock as v, openBlock as A, createElementVNode as S, h as Ee, defineComponent as I, useTemplateRef as b0, ref as tu, computed as E, onMounted as x0, onBeforeUnmount as Ae, normalizeStyle as wu, normalizeClass as H, createCommentVNode as j, renderSlot as z, toDisplayString as Vu, createBlock as J, Transition as m0, withCtx as qu, withDirectives as Fe, unref as iu, resolveDynamicComponent as vu, vShow as _0, inject as it, createVNode as g0, provide as st, toRef as oe, useSlots as k0, mergeModels as xe, useModel as y0, vModelText as at, shallowRef as me, watch as ie, getCurrentScope as lt, onScopeDispose as ft, shallowReadonly as xu, Fragment as dt, Teleport as ht, withModifiers as pt } from "vue";
|
|
2
2
|
function $(u, e, t) {
|
|
3
3
|
this.type = u, this.tag = e, this.attrs = null, this.map = null, this.nesting = t, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
|
|
4
4
|
}
|
|
@@ -27,7 +27,7 @@ $.prototype.attrJoin = function(e, t) {
|
|
|
27
27
|
const n = this.attrIndex(e);
|
|
28
28
|
n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
|
|
29
29
|
};
|
|
30
|
-
function
|
|
30
|
+
function bt(u) {
|
|
31
31
|
u.core.ruler.push("task-lists", (e) => {
|
|
32
32
|
var n, r;
|
|
33
33
|
const { tokens: t } = e;
|
|
@@ -54,12 +54,12 @@ function pt(u) {
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
|
-
const
|
|
58
|
-
function
|
|
59
|
-
let e =
|
|
57
|
+
const je = {};
|
|
58
|
+
function xt(u) {
|
|
59
|
+
let e = je[u];
|
|
60
60
|
if (e)
|
|
61
61
|
return e;
|
|
62
|
-
e =
|
|
62
|
+
e = je[u] = [];
|
|
63
63
|
for (let t = 0; t < 128; t++) {
|
|
64
64
|
const n = String.fromCharCode(t);
|
|
65
65
|
e.push(n);
|
|
@@ -72,7 +72,7 @@ function bt(u) {
|
|
|
72
72
|
}
|
|
73
73
|
function yu(u, e) {
|
|
74
74
|
typeof e != "string" && (e = yu.defaultChars);
|
|
75
|
-
const t =
|
|
75
|
+
const t = xt(e);
|
|
76
76
|
return u.replace(/(%[a-f0-9]{2})+/gi, function(n) {
|
|
77
77
|
let r = "";
|
|
78
78
|
for (let c = 0, o = n.length; c < o; c += 3) {
|
|
@@ -112,12 +112,12 @@ function yu(u, e) {
|
|
|
112
112
|
}
|
|
113
113
|
yu.defaultChars = ";/?:@&=+$,#";
|
|
114
114
|
yu.componentChars = "";
|
|
115
|
-
const
|
|
116
|
-
function
|
|
117
|
-
let e =
|
|
115
|
+
const He = {};
|
|
116
|
+
function mt(u) {
|
|
117
|
+
let e = He[u];
|
|
118
118
|
if (e)
|
|
119
119
|
return e;
|
|
120
|
-
e =
|
|
120
|
+
e = He[u] = [];
|
|
121
121
|
for (let t = 0; t < 128; t++) {
|
|
122
122
|
const n = String.fromCharCode(t);
|
|
123
123
|
/^[0-9a-z]$/i.test(n) ? e.push(n) : e.push("%" + ("0" + t.toString(16).toUpperCase()).slice(-2));
|
|
@@ -126,9 +126,9 @@ function xt(u) {
|
|
|
126
126
|
e[u.charCodeAt(t)] = u[t];
|
|
127
127
|
return e;
|
|
128
128
|
}
|
|
129
|
-
function
|
|
130
|
-
typeof e != "string" && (t = e, e =
|
|
131
|
-
const n =
|
|
129
|
+
function Lu(u, e, t) {
|
|
130
|
+
typeof e != "string" && (t = e, e = Lu.defaultChars), typeof t > "u" && (t = !0);
|
|
131
|
+
const n = mt(e);
|
|
132
132
|
let r = "";
|
|
133
133
|
for (let c = 0, o = u.length; c < o; c++) {
|
|
134
134
|
const i = u.charCodeAt(c);
|
|
@@ -155,20 +155,20 @@ function zu(u, e, t) {
|
|
|
155
155
|
}
|
|
156
156
|
return r;
|
|
157
157
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
function
|
|
158
|
+
Lu.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
159
|
+
Lu.componentChars = "-_.!~*'()";
|
|
160
|
+
function we(u) {
|
|
161
161
|
let e = "";
|
|
162
162
|
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;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Uu() {
|
|
165
165
|
this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
|
|
166
166
|
}
|
|
167
|
-
const
|
|
168
|
-
`, " "],
|
|
167
|
+
const _t = /^([a-z0-9.+-]+:)/i, gt = /:[0-9]*$/, kt = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, yt = ["<", ">", '"', "`", " ", "\r", `
|
|
168
|
+
`, " "], Ct = ["{", "}", "|", "\\", "^", "`"].concat(yt), Dt = ["'"].concat(Ct), Ve = ["%", "/", "?", ";", "#"].concat(Dt), Ue = ["/", "?", "#"], Et = 255, Ze = /^[+a-z0-9A-Z_-]{0,63}$/, At = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, We = {
|
|
169
169
|
javascript: !0,
|
|
170
170
|
"javascript:": !0
|
|
171
|
-
},
|
|
171
|
+
}, Ge = {
|
|
172
172
|
http: !0,
|
|
173
173
|
https: !0,
|
|
174
174
|
ftp: !0,
|
|
@@ -180,27 +180,27 @@ const mt = /^([a-z0-9.+-]+:)/i, _t = /:[0-9]*$/, gt = /^(\/\/?(?!\/)[^\?\s]*)(\?
|
|
|
180
180
|
"gopher:": !0,
|
|
181
181
|
"file:": !0
|
|
182
182
|
};
|
|
183
|
-
function
|
|
184
|
-
if (u && u instanceof
|
|
185
|
-
const t = new
|
|
183
|
+
function ve(u, e) {
|
|
184
|
+
if (u && u instanceof Uu) return u;
|
|
185
|
+
const t = new Uu();
|
|
186
186
|
return t.parse(u, e), t;
|
|
187
187
|
}
|
|
188
|
-
|
|
188
|
+
Uu.prototype.parse = function(u, e) {
|
|
189
189
|
let t, n, r, c = u;
|
|
190
190
|
if (c = c.trim(), !e && u.split("#").length === 1) {
|
|
191
|
-
const a =
|
|
191
|
+
const a = kt.exec(c);
|
|
192
192
|
if (a)
|
|
193
193
|
return this.pathname = a[1], a[2] && (this.search = a[2]), this;
|
|
194
194
|
}
|
|
195
|
-
let o =
|
|
196
|
-
if (o && (o = o[0], t = o.toLowerCase(), this.protocol = o, c = c.substr(o.length)), (e || o || c.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = c.substr(0, 2) === "//", r && !(o &&
|
|
195
|
+
let o = _t.exec(c);
|
|
196
|
+
if (o && (o = o[0], t = o.toLowerCase(), this.protocol = o, c = c.substr(o.length)), (e || o || c.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = c.substr(0, 2) === "//", r && !(o && We[o]) && (c = c.substr(2), this.slashes = !0)), !We[o] && (r || o && !Ge[o])) {
|
|
197
197
|
let a = -1;
|
|
198
|
-
for (let d = 0; d <
|
|
199
|
-
n = c.indexOf(
|
|
198
|
+
for (let d = 0; d < Ue.length; d++)
|
|
199
|
+
n = c.indexOf(Ue[d]), n !== -1 && (a === -1 || n < a) && (a = n);
|
|
200
200
|
let l, f;
|
|
201
201
|
a === -1 ? f = c.lastIndexOf("@") : f = c.lastIndexOf("@", a), f !== -1 && (l = c.slice(0, f), c = c.slice(f + 1), this.auth = l), a = -1;
|
|
202
|
-
for (let d = 0; d <
|
|
203
|
-
n = c.indexOf(
|
|
202
|
+
for (let d = 0; d < Ve.length; d++)
|
|
203
|
+
n = c.indexOf(Ve[d]), n !== -1 && (a === -1 || n < a) && (a = n);
|
|
204
204
|
a === -1 && (a = c.length), c[a - 1] === ":" && a--;
|
|
205
205
|
const p = c.slice(0, a);
|
|
206
206
|
c = c.slice(a), this.parseHost(p), this.hostname = this.hostname || "";
|
|
@@ -209,52 +209,52 @@ Hu.prototype.parse = function(u, e) {
|
|
|
209
209
|
const d = this.hostname.split(/\./);
|
|
210
210
|
for (let b = 0, m = d.length; b < m; b++) {
|
|
211
211
|
const y = d[b];
|
|
212
|
-
if (y && !y.match(
|
|
212
|
+
if (y && !y.match(Ze)) {
|
|
213
213
|
let x = "";
|
|
214
214
|
for (let _ = 0, g = y.length; _ < g; _++)
|
|
215
215
|
y.charCodeAt(_) > 127 ? x += "x" : x += y[_];
|
|
216
|
-
if (!x.match(
|
|
217
|
-
const _ = d.slice(0, b), g = d.slice(b + 1), k = y.match(
|
|
216
|
+
if (!x.match(Ze)) {
|
|
217
|
+
const _ = d.slice(0, b), g = d.slice(b + 1), k = y.match(At);
|
|
218
218
|
k && (_.push(k[1]), g.unshift(k[2])), g.length && (c = g.join(".") + c), this.hostname = _.join(".");
|
|
219
219
|
break;
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
|
-
this.hostname.length >
|
|
224
|
+
this.hostname.length > Et && (this.hostname = ""), h && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
|
|
225
225
|
}
|
|
226
226
|
const i = c.indexOf("#");
|
|
227
227
|
i !== -1 && (this.hash = c.substr(i), c = c.slice(0, i));
|
|
228
228
|
const s = c.indexOf("?");
|
|
229
|
-
return s !== -1 && (this.search = c.substr(s), c = c.slice(0, s)), c && (this.pathname = c),
|
|
229
|
+
return s !== -1 && (this.search = c.substr(s), c = c.slice(0, s)), c && (this.pathname = c), Ge[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
|
|
230
230
|
};
|
|
231
|
-
|
|
232
|
-
let e =
|
|
231
|
+
Uu.prototype.parseHost = function(u) {
|
|
232
|
+
let e = gt.exec(u);
|
|
233
233
|
e && (e = e[0], e !== ":" && (this.port = e.substr(1)), u = u.substr(0, u.length - e.length)), u && (this.hostname = u);
|
|
234
234
|
};
|
|
235
|
-
const
|
|
235
|
+
const Ft = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
236
236
|
__proto__: null,
|
|
237
237
|
decode: yu,
|
|
238
|
-
encode:
|
|
239
|
-
format:
|
|
240
|
-
parse:
|
|
241
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
238
|
+
encode: Lu,
|
|
239
|
+
format: we,
|
|
240
|
+
parse: ve
|
|
241
|
+
}, Symbol.toStringTag, { value: "Module" })), C0 = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, D0 = /[\0-\x1F\x7F-\x9F]/, wt = /[\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]/, Se = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/, E0 = /[\$\+<->\^`\|~\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]/, A0 = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, vt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
242
242
|
__proto__: null,
|
|
243
|
-
Any:
|
|
244
|
-
Cc:
|
|
245
|
-
Cf:
|
|
246
|
-
P:
|
|
247
|
-
S:
|
|
248
|
-
Z:
|
|
249
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
243
|
+
Any: C0,
|
|
244
|
+
Cc: D0,
|
|
245
|
+
Cf: wt,
|
|
246
|
+
P: Se,
|
|
247
|
+
S: E0,
|
|
248
|
+
Z: A0
|
|
249
|
+
}, Symbol.toStringTag, { value: "Module" })), St = new Uint16Array(
|
|
250
250
|
// prettier-ignore
|
|
251
251
|
'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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))
|
|
252
|
-
),
|
|
252
|
+
), Tt = new Uint16Array(
|
|
253
253
|
// prettier-ignore
|
|
254
254
|
"Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
|
|
255
255
|
);
|
|
256
|
-
var
|
|
257
|
-
const
|
|
256
|
+
var se;
|
|
257
|
+
const Bt = /* @__PURE__ */ new Map([
|
|
258
258
|
[0, 65533],
|
|
259
259
|
// C1 Unicode control character reference replacements
|
|
260
260
|
[128, 8364],
|
|
@@ -284,53 +284,53 @@ const Tt = /* @__PURE__ */ new Map([
|
|
|
284
284
|
[156, 339],
|
|
285
285
|
[158, 382],
|
|
286
286
|
[159, 376]
|
|
287
|
-
]),
|
|
287
|
+
]), Rt = (
|
|
288
288
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
|
|
289
|
-
(
|
|
289
|
+
(se = String.fromCodePoint) !== null && se !== void 0 ? se : function(u) {
|
|
290
290
|
let e = "";
|
|
291
291
|
return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
|
|
292
292
|
}
|
|
293
293
|
);
|
|
294
|
-
function
|
|
294
|
+
function zt(u) {
|
|
295
295
|
var e;
|
|
296
|
-
return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e =
|
|
296
|
+
return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = Bt.get(u)) !== null && e !== void 0 ? e : u;
|
|
297
297
|
}
|
|
298
|
-
var
|
|
298
|
+
var B;
|
|
299
299
|
(function(u) {
|
|
300
300
|
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";
|
|
301
|
-
})(
|
|
302
|
-
const
|
|
303
|
-
var
|
|
301
|
+
})(B || (B = {}));
|
|
302
|
+
const qt = 32;
|
|
303
|
+
var ou;
|
|
304
304
|
(function(u) {
|
|
305
305
|
u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
306
|
-
})(
|
|
306
|
+
})(ou || (ou = {}));
|
|
307
307
|
function _e(u) {
|
|
308
|
-
return u >=
|
|
308
|
+
return u >= B.ZERO && u <= B.NINE;
|
|
309
309
|
}
|
|
310
310
|
function Lt(u) {
|
|
311
|
-
return u >=
|
|
312
|
-
}
|
|
313
|
-
function qt(u) {
|
|
314
|
-
return u >= S.UPPER_A && u <= S.UPPER_Z || u >= S.LOWER_A && u <= S.LOWER_Z || _e(u);
|
|
311
|
+
return u >= B.UPPER_A && u <= B.UPPER_F || u >= B.LOWER_A && u <= B.LOWER_F;
|
|
315
312
|
}
|
|
316
313
|
function Mt(u) {
|
|
317
|
-
return u
|
|
314
|
+
return u >= B.UPPER_A && u <= B.UPPER_Z || u >= B.LOWER_A && u <= B.LOWER_Z || _e(u);
|
|
318
315
|
}
|
|
319
|
-
|
|
316
|
+
function It(u) {
|
|
317
|
+
return u === B.EQUALS || Mt(u);
|
|
318
|
+
}
|
|
319
|
+
var T;
|
|
320
320
|
(function(u) {
|
|
321
321
|
u[u.EntityStart = 0] = "EntityStart", u[u.NumericStart = 1] = "NumericStart", u[u.NumericDecimal = 2] = "NumericDecimal", u[u.NumericHex = 3] = "NumericHex", u[u.NamedEntity = 4] = "NamedEntity";
|
|
322
|
-
})(
|
|
323
|
-
var
|
|
322
|
+
})(T || (T = {}));
|
|
323
|
+
var cu;
|
|
324
324
|
(function(u) {
|
|
325
325
|
u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
|
|
326
|
-
})(
|
|
327
|
-
class
|
|
326
|
+
})(cu || (cu = {}));
|
|
327
|
+
class Ot {
|
|
328
328
|
constructor(e, t, n) {
|
|
329
|
-
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state =
|
|
329
|
+
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = T.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = cu.Strict;
|
|
330
330
|
}
|
|
331
331
|
/** Resets the instance to make it reusable. */
|
|
332
332
|
startEntity(e) {
|
|
333
|
-
this.decodeMode = e, this.state =
|
|
333
|
+
this.decodeMode = e, this.state = T.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
334
334
|
}
|
|
335
335
|
/**
|
|
336
336
|
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
@@ -345,15 +345,15 @@ class It {
|
|
|
345
345
|
*/
|
|
346
346
|
write(e, t) {
|
|
347
347
|
switch (this.state) {
|
|
348
|
-
case
|
|
349
|
-
return e.charCodeAt(t) ===
|
|
350
|
-
case
|
|
348
|
+
case T.EntityStart:
|
|
349
|
+
return e.charCodeAt(t) === B.NUM ? (this.state = T.NumericStart, this.consumed += 1, this.stateNumericStart(e, t + 1)) : (this.state = T.NamedEntity, this.stateNamedEntity(e, t));
|
|
350
|
+
case T.NumericStart:
|
|
351
351
|
return this.stateNumericStart(e, t);
|
|
352
|
-
case
|
|
352
|
+
case T.NumericDecimal:
|
|
353
353
|
return this.stateNumericDecimal(e, t);
|
|
354
|
-
case
|
|
354
|
+
case T.NumericHex:
|
|
355
355
|
return this.stateNumericHex(e, t);
|
|
356
|
-
case
|
|
356
|
+
case T.NamedEntity:
|
|
357
357
|
return this.stateNamedEntity(e, t);
|
|
358
358
|
}
|
|
359
359
|
}
|
|
@@ -367,7 +367,7 @@ class It {
|
|
|
367
367
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
368
368
|
*/
|
|
369
369
|
stateNumericStart(e, t) {
|
|
370
|
-
return t >= e.length ? -1 : (e.charCodeAt(t) |
|
|
370
|
+
return t >= e.length ? -1 : (e.charCodeAt(t) | qt) === B.LOWER_X ? (this.state = T.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = T.NumericDecimal, this.stateNumericDecimal(e, t));
|
|
371
371
|
}
|
|
372
372
|
addToNumericResult(e, t, n, r) {
|
|
373
373
|
if (t !== n) {
|
|
@@ -432,11 +432,11 @@ class It {
|
|
|
432
432
|
var n;
|
|
433
433
|
if (this.consumed <= t)
|
|
434
434
|
return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
435
|
-
if (e ===
|
|
435
|
+
if (e === B.SEMI)
|
|
436
436
|
this.consumed += 1;
|
|
437
|
-
else if (this.decodeMode ===
|
|
437
|
+
else if (this.decodeMode === cu.Strict)
|
|
438
438
|
return 0;
|
|
439
|
-
return this.emitCodePoint(
|
|
439
|
+
return this.emitCodePoint(zt(this.result), this.consumed), this.errors && (e !== B.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
440
440
|
}
|
|
441
441
|
/**
|
|
442
442
|
* Parses a named entity.
|
|
@@ -449,18 +449,18 @@ class It {
|
|
|
449
449
|
*/
|
|
450
450
|
stateNamedEntity(e, t) {
|
|
451
451
|
const { decodeTree: n } = this;
|
|
452
|
-
let r = n[this.treeIndex], c = (r &
|
|
452
|
+
let r = n[this.treeIndex], c = (r & ou.VALUE_LENGTH) >> 14;
|
|
453
453
|
for (; t < e.length; t++, this.excess++) {
|
|
454
454
|
const o = e.charCodeAt(t);
|
|
455
|
-
if (this.treeIndex =
|
|
455
|
+
if (this.treeIndex = Pt(n, r, this.treeIndex + Math.max(1, c), o), this.treeIndex < 0)
|
|
456
456
|
return this.result === 0 || // If we are parsing an attribute
|
|
457
|
-
this.decodeMode ===
|
|
457
|
+
this.decodeMode === cu.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
458
458
|
(c === 0 || // And there should be no invalid characters.
|
|
459
|
-
|
|
460
|
-
if (r = n[this.treeIndex], c = (r &
|
|
461
|
-
if (o ===
|
|
459
|
+
It(o)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
460
|
+
if (r = n[this.treeIndex], c = (r & ou.VALUE_LENGTH) >> 14, c !== 0) {
|
|
461
|
+
if (o === B.SEMI)
|
|
462
462
|
return this.emitNamedEntityData(this.treeIndex, c, this.consumed + this.excess);
|
|
463
|
-
this.decodeMode !==
|
|
463
|
+
this.decodeMode !== cu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
return -1;
|
|
@@ -472,7 +472,7 @@ class It {
|
|
|
472
472
|
*/
|
|
473
473
|
emitNotTerminatedNamedEntity() {
|
|
474
474
|
var e;
|
|
475
|
-
const { result: t, decodeTree: n } = this, r = (n[t] &
|
|
475
|
+
const { result: t, decodeTree: n } = this, r = (n[t] & ou.VALUE_LENGTH) >> 14;
|
|
476
476
|
return this.emitNamedEntityData(t, r, this.consumed), (e = this.errors) === null || e === void 0 || e.missingSemicolonAfterCharacterReference(), this.consumed;
|
|
477
477
|
}
|
|
478
478
|
/**
|
|
@@ -486,7 +486,7 @@ class It {
|
|
|
486
486
|
*/
|
|
487
487
|
emitNamedEntityData(e, t, n) {
|
|
488
488
|
const { decodeTree: r } = this;
|
|
489
|
-
return this.emitCodePoint(t === 1 ? r[e] & ~
|
|
489
|
+
return this.emitCodePoint(t === 1 ? r[e] & ~ou.VALUE_LENGTH : r[e + 1], n), t === 3 && this.emitCodePoint(r[e + 2], n), n;
|
|
490
490
|
}
|
|
491
491
|
/**
|
|
492
492
|
* Signal to the parser that the end of the input was reached.
|
|
@@ -498,23 +498,23 @@ class It {
|
|
|
498
498
|
end() {
|
|
499
499
|
var e;
|
|
500
500
|
switch (this.state) {
|
|
501
|
-
case
|
|
502
|
-
return this.result !== 0 && (this.decodeMode !==
|
|
501
|
+
case T.NamedEntity:
|
|
502
|
+
return this.result !== 0 && (this.decodeMode !== cu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
503
503
|
// Otherwise, emit a numeric entity if we have one.
|
|
504
|
-
case
|
|
504
|
+
case T.NumericDecimal:
|
|
505
505
|
return this.emitNumericEntity(0, 2);
|
|
506
|
-
case
|
|
506
|
+
case T.NumericHex:
|
|
507
507
|
return this.emitNumericEntity(0, 3);
|
|
508
|
-
case
|
|
508
|
+
case T.NumericStart:
|
|
509
509
|
return (e = this.errors) === null || e === void 0 || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
510
|
-
case
|
|
510
|
+
case T.EntityStart:
|
|
511
511
|
return 0;
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
|
-
function
|
|
515
|
+
function F0(u) {
|
|
516
516
|
let e = "";
|
|
517
|
-
const t = new
|
|
517
|
+
const t = new Ot(u, (n) => e += Rt(n));
|
|
518
518
|
return function(r, c) {
|
|
519
519
|
let o = 0, i = 0;
|
|
520
520
|
for (; (i = r.indexOf("&", i)) >= 0; ) {
|
|
@@ -534,8 +534,8 @@ function k0(u) {
|
|
|
534
534
|
return e = "", s;
|
|
535
535
|
};
|
|
536
536
|
}
|
|
537
|
-
function
|
|
538
|
-
const r = (e &
|
|
537
|
+
function Pt(u, e, t, n) {
|
|
538
|
+
const r = (e & ou.BRANCH_LENGTH) >> 7, c = e & ou.JUMP_TABLE;
|
|
539
539
|
if (r === 0)
|
|
540
540
|
return c !== 0 && n === c ? t : -1;
|
|
541
541
|
if (c) {
|
|
@@ -554,22 +554,22 @@ function Ot(u, e, t, n) {
|
|
|
554
554
|
}
|
|
555
555
|
return -1;
|
|
556
556
|
}
|
|
557
|
-
const
|
|
558
|
-
|
|
559
|
-
function
|
|
560
|
-
return
|
|
557
|
+
const $t = F0(St);
|
|
558
|
+
F0(Tt);
|
|
559
|
+
function w0(u, e = cu.Legacy) {
|
|
560
|
+
return $t(u, e);
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function Nt(u) {
|
|
563
563
|
return Object.prototype.toString.call(u);
|
|
564
564
|
}
|
|
565
|
-
function
|
|
566
|
-
return
|
|
565
|
+
function Te(u) {
|
|
566
|
+
return Nt(u) === "[object String]";
|
|
567
567
|
}
|
|
568
|
-
const
|
|
569
|
-
function
|
|
570
|
-
return
|
|
568
|
+
const jt = Object.prototype.hasOwnProperty;
|
|
569
|
+
function Ht(u, e) {
|
|
570
|
+
return jt.call(u, e);
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function Qu(u) {
|
|
573
573
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
574
574
|
if (t) {
|
|
575
575
|
if (typeof t != "object")
|
|
@@ -580,13 +580,13 @@ function Ju(u) {
|
|
|
580
580
|
}
|
|
581
581
|
}), u;
|
|
582
582
|
}
|
|
583
|
-
function
|
|
583
|
+
function v0(u, e, t) {
|
|
584
584
|
return [].concat(u.slice(0, e), t, u.slice(e + 1));
|
|
585
585
|
}
|
|
586
|
-
function
|
|
586
|
+
function Be(u) {
|
|
587
587
|
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);
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function Zu(u) {
|
|
590
590
|
if (u > 65535) {
|
|
591
591
|
u -= 65536;
|
|
592
592
|
const e = 55296 + (u >> 10), t = 56320 + (u & 1023);
|
|
@@ -594,40 +594,40 @@ function Vu(u) {
|
|
|
594
594
|
}
|
|
595
595
|
return String.fromCharCode(u);
|
|
596
596
|
}
|
|
597
|
-
const
|
|
598
|
-
function
|
|
599
|
-
if (e.charCodeAt(0) === 35 &&
|
|
597
|
+
const S0 = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, Vt = /&([a-z#][a-z0-9]{1,31});/gi, Ut = new RegExp(S0.source + "|" + Vt.source, "gi"), Zt = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
598
|
+
function Wt(u, e) {
|
|
599
|
+
if (e.charCodeAt(0) === 35 && Zt.test(e)) {
|
|
600
600
|
const n = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
|
|
601
|
-
return
|
|
601
|
+
return Be(n) ? Zu(n) : u;
|
|
602
602
|
}
|
|
603
|
-
const t =
|
|
603
|
+
const t = w0(u);
|
|
604
604
|
return t !== u ? t : u;
|
|
605
605
|
}
|
|
606
|
-
function
|
|
607
|
-
return u.indexOf("\\") < 0 ? u : u.replace(
|
|
606
|
+
function Gt(u) {
|
|
607
|
+
return u.indexOf("\\") < 0 ? u : u.replace(S0, "$1");
|
|
608
608
|
}
|
|
609
609
|
function Cu(u) {
|
|
610
|
-
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(
|
|
611
|
-
return t ||
|
|
610
|
+
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(Ut, function(e, t, n) {
|
|
611
|
+
return t || Wt(e, n);
|
|
612
612
|
});
|
|
613
613
|
}
|
|
614
|
-
const
|
|
614
|
+
const Xt = /[&<>"]/, Jt = /[&<>"]/g, Qt = {
|
|
615
615
|
"&": "&",
|
|
616
616
|
"<": "<",
|
|
617
617
|
">": ">",
|
|
618
618
|
'"': """
|
|
619
619
|
};
|
|
620
|
-
function
|
|
621
|
-
return
|
|
620
|
+
function Yt(u) {
|
|
621
|
+
return Qt[u];
|
|
622
622
|
}
|
|
623
|
-
function
|
|
624
|
-
return
|
|
623
|
+
function su(u) {
|
|
624
|
+
return Xt.test(u) ? u.replace(Jt, Yt) : u;
|
|
625
625
|
}
|
|
626
|
-
const
|
|
627
|
-
function
|
|
628
|
-
return u.replace(
|
|
626
|
+
const Kt = /[.?*+^$[\]\\(){}|-]/g;
|
|
627
|
+
function un(u) {
|
|
628
|
+
return u.replace(Kt, "\\$&");
|
|
629
629
|
}
|
|
630
|
-
function
|
|
630
|
+
function w(u) {
|
|
631
631
|
switch (u) {
|
|
632
632
|
case 9:
|
|
633
633
|
case 32:
|
|
@@ -635,7 +635,7 @@ function F(u) {
|
|
|
635
635
|
}
|
|
636
636
|
return !1;
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function Su(u) {
|
|
639
639
|
if (u >= 8192 && u <= 8202)
|
|
640
640
|
return !0;
|
|
641
641
|
switch (u) {
|
|
@@ -659,10 +659,10 @@ function vu(u) {
|
|
|
659
659
|
}
|
|
660
660
|
return !1;
|
|
661
661
|
}
|
|
662
|
-
function Su(u) {
|
|
663
|
-
return we.test(u) || _0.test(u);
|
|
664
|
-
}
|
|
665
662
|
function Tu(u) {
|
|
663
|
+
return Se.test(u) || E0.test(u);
|
|
664
|
+
}
|
|
665
|
+
function Bu(u) {
|
|
666
666
|
switch (u) {
|
|
667
667
|
case 33:
|
|
668
668
|
case 34:
|
|
@@ -701,29 +701,29 @@ function Tu(u) {
|
|
|
701
701
|
return !1;
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
|
-
function
|
|
704
|
+
function Yu(u) {
|
|
705
705
|
return u = u.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (u = u.replace(/ẞ/g, "ß")), u.toLowerCase().toUpperCase();
|
|
706
706
|
}
|
|
707
|
-
const
|
|
707
|
+
const en = { mdurl: Ft, ucmicro: vt }, tn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
708
708
|
__proto__: null,
|
|
709
|
-
arrayReplaceAt:
|
|
710
|
-
assign:
|
|
711
|
-
escapeHtml:
|
|
712
|
-
escapeRE:
|
|
713
|
-
fromCodePoint:
|
|
714
|
-
has:
|
|
715
|
-
isMdAsciiPunct:
|
|
716
|
-
isPunctChar:
|
|
717
|
-
isSpace:
|
|
718
|
-
isString:
|
|
719
|
-
isValidEntityCode:
|
|
720
|
-
isWhiteSpace:
|
|
721
|
-
lib:
|
|
722
|
-
normalizeReference:
|
|
709
|
+
arrayReplaceAt: v0,
|
|
710
|
+
assign: Qu,
|
|
711
|
+
escapeHtml: su,
|
|
712
|
+
escapeRE: un,
|
|
713
|
+
fromCodePoint: Zu,
|
|
714
|
+
has: Ht,
|
|
715
|
+
isMdAsciiPunct: Bu,
|
|
716
|
+
isPunctChar: Tu,
|
|
717
|
+
isSpace: w,
|
|
718
|
+
isString: Te,
|
|
719
|
+
isValidEntityCode: Be,
|
|
720
|
+
isWhiteSpace: Su,
|
|
721
|
+
lib: en,
|
|
722
|
+
normalizeReference: Yu,
|
|
723
723
|
unescapeAll: Cu,
|
|
724
|
-
unescapeMd:
|
|
724
|
+
unescapeMd: Gt
|
|
725
725
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
726
|
-
function
|
|
726
|
+
function nn(u, e, t) {
|
|
727
727
|
let n, r, c, o;
|
|
728
728
|
const i = u.posMax, s = u.pos;
|
|
729
729
|
for (u.pos = e + 1, n = 1; u.pos < i; ) {
|
|
@@ -741,7 +741,7 @@ function tn(u, e, t) {
|
|
|
741
741
|
let a = -1;
|
|
742
742
|
return r && (a = u.pos), u.pos = s, a;
|
|
743
743
|
}
|
|
744
|
-
function
|
|
744
|
+
function rn(u, e, t) {
|
|
745
745
|
let n, r = e;
|
|
746
746
|
const c = {
|
|
747
747
|
ok: !1,
|
|
@@ -781,7 +781,7 @@ function nn(u, e, t) {
|
|
|
781
781
|
}
|
|
782
782
|
return e === r || o !== 0 || (c.str = Cu(u.slice(e, r)), c.pos = r, c.ok = !0), c;
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function cn(u, e, t, n) {
|
|
785
785
|
let r, c = e;
|
|
786
786
|
const o = {
|
|
787
787
|
// if `true`, this is a valid link title
|
|
@@ -814,22 +814,22 @@ function rn(u, e, t, n) {
|
|
|
814
814
|
}
|
|
815
815
|
return o.can_continue = !0, o.str += Cu(u.slice(e, c)), o;
|
|
816
816
|
}
|
|
817
|
-
const
|
|
817
|
+
const on = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
818
818
|
__proto__: null,
|
|
819
|
-
parseLinkDestination:
|
|
820
|
-
parseLinkLabel:
|
|
821
|
-
parseLinkTitle:
|
|
822
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
823
|
-
|
|
819
|
+
parseLinkDestination: rn,
|
|
820
|
+
parseLinkLabel: nn,
|
|
821
|
+
parseLinkTitle: cn
|
|
822
|
+
}, Symbol.toStringTag, { value: "Module" })), K = {};
|
|
823
|
+
K.code_inline = function(u, e, t, n, r) {
|
|
824
824
|
const c = u[e];
|
|
825
|
-
return "<code" + r.renderAttrs(c) + ">" +
|
|
825
|
+
return "<code" + r.renderAttrs(c) + ">" + su(c.content) + "</code>";
|
|
826
826
|
};
|
|
827
|
-
|
|
827
|
+
K.code_block = function(u, e, t, n, r) {
|
|
828
828
|
const c = u[e];
|
|
829
|
-
return "<pre" + r.renderAttrs(c) + "><code>" +
|
|
829
|
+
return "<pre" + r.renderAttrs(c) + "><code>" + su(u[e].content) + `</code></pre>
|
|
830
830
|
`;
|
|
831
831
|
};
|
|
832
|
-
|
|
832
|
+
K.fence = function(u, e, t, n, r) {
|
|
833
833
|
const c = u[e], o = c.info ? Cu(c.info).trim() : "";
|
|
834
834
|
let i = "", s = "";
|
|
835
835
|
if (o) {
|
|
@@ -837,7 +837,7 @@ Q.fence = function(u, e, t, n, r) {
|
|
|
837
837
|
i = l[0], s = l.slice(2).join("");
|
|
838
838
|
}
|
|
839
839
|
let a;
|
|
840
|
-
if (t.highlight ? a = t.highlight(c.content, i, s) ||
|
|
840
|
+
if (t.highlight ? a = t.highlight(c.content, i, s) || su(c.content) : a = su(c.content), a.indexOf("<pre") === 0)
|
|
841
841
|
return a + `
|
|
842
842
|
`;
|
|
843
843
|
if (o) {
|
|
@@ -852,39 +852,39 @@ Q.fence = function(u, e, t, n, r) {
|
|
|
852
852
|
return `<pre><code${r.renderAttrs(c)}>${a}</code></pre>
|
|
853
853
|
`;
|
|
854
854
|
};
|
|
855
|
-
|
|
855
|
+
K.image = function(u, e, t, n, r) {
|
|
856
856
|
const c = u[e];
|
|
857
857
|
return c.attrs[c.attrIndex("alt")][1] = r.renderInlineAsText(c.children, t, n), r.renderToken(u, e, t);
|
|
858
858
|
};
|
|
859
|
-
|
|
859
|
+
K.hardbreak = function(u, e, t) {
|
|
860
860
|
return t.xhtmlOut ? `<br />
|
|
861
861
|
` : `<br>
|
|
862
862
|
`;
|
|
863
863
|
};
|
|
864
|
-
|
|
864
|
+
K.softbreak = function(u, e, t) {
|
|
865
865
|
return t.breaks ? t.xhtmlOut ? `<br />
|
|
866
866
|
` : `<br>
|
|
867
867
|
` : `
|
|
868
868
|
`;
|
|
869
869
|
};
|
|
870
|
-
|
|
871
|
-
return
|
|
870
|
+
K.text = function(u, e) {
|
|
871
|
+
return su(u[e].content);
|
|
872
872
|
};
|
|
873
|
-
|
|
873
|
+
K.html_block = function(u, e) {
|
|
874
874
|
return u[e].content;
|
|
875
875
|
};
|
|
876
|
-
|
|
876
|
+
K.html_inline = function(u, e) {
|
|
877
877
|
return u[e].content;
|
|
878
878
|
};
|
|
879
879
|
function Au() {
|
|
880
|
-
this.rules =
|
|
880
|
+
this.rules = Qu({}, K);
|
|
881
881
|
}
|
|
882
882
|
Au.prototype.renderAttrs = function(e) {
|
|
883
883
|
let t, n, r;
|
|
884
884
|
if (!e.attrs)
|
|
885
885
|
return "";
|
|
886
886
|
for (r = "", t = 0, n = e.attrs.length; t < n; t++)
|
|
887
|
-
r += " " +
|
|
887
|
+
r += " " + su(e.attrs[t][0]) + '="' + su(e.attrs[t][1]) + '"';
|
|
888
888
|
return r;
|
|
889
889
|
};
|
|
890
890
|
Au.prototype.renderToken = function(e, t, n) {
|
|
@@ -942,16 +942,16 @@ Au.prototype.render = function(u, e, t) {
|
|
|
942
942
|
}
|
|
943
943
|
return n;
|
|
944
944
|
};
|
|
945
|
-
function
|
|
945
|
+
function q() {
|
|
946
946
|
this.__rules__ = [], this.__cache__ = null;
|
|
947
947
|
}
|
|
948
|
-
|
|
948
|
+
q.prototype.__find__ = function(u) {
|
|
949
949
|
for (let e = 0; e < this.__rules__.length; e++)
|
|
950
950
|
if (this.__rules__[e].name === u)
|
|
951
951
|
return e;
|
|
952
952
|
return -1;
|
|
953
953
|
};
|
|
954
|
-
|
|
954
|
+
q.prototype.__compile__ = function() {
|
|
955
955
|
const u = this, e = [""];
|
|
956
956
|
u.__rules__.forEach(function(t) {
|
|
957
957
|
t.enabled && t.alt.forEach(function(n) {
|
|
@@ -963,13 +963,13 @@ z.prototype.__compile__ = function() {
|
|
|
963
963
|
});
|
|
964
964
|
});
|
|
965
965
|
};
|
|
966
|
-
|
|
966
|
+
q.prototype.at = function(u, e, t) {
|
|
967
967
|
const n = this.__find__(u), r = t || {};
|
|
968
968
|
if (n === -1)
|
|
969
969
|
throw new Error("Parser rule not found: " + u);
|
|
970
970
|
this.__rules__[n].fn = e, this.__rules__[n].alt = r.alt || [], this.__cache__ = null;
|
|
971
971
|
};
|
|
972
|
-
|
|
972
|
+
q.prototype.before = function(u, e, t, n) {
|
|
973
973
|
const r = this.__find__(u), c = n || {};
|
|
974
974
|
if (r === -1)
|
|
975
975
|
throw new Error("Parser rule not found: " + u);
|
|
@@ -980,7 +980,7 @@ z.prototype.before = function(u, e, t, n) {
|
|
|
980
980
|
alt: c.alt || []
|
|
981
981
|
}), this.__cache__ = null;
|
|
982
982
|
};
|
|
983
|
-
|
|
983
|
+
q.prototype.after = function(u, e, t, n) {
|
|
984
984
|
const r = this.__find__(u), c = n || {};
|
|
985
985
|
if (r === -1)
|
|
986
986
|
throw new Error("Parser rule not found: " + u);
|
|
@@ -991,7 +991,7 @@ z.prototype.after = function(u, e, t, n) {
|
|
|
991
991
|
alt: c.alt || []
|
|
992
992
|
}), this.__cache__ = null;
|
|
993
993
|
};
|
|
994
|
-
|
|
994
|
+
q.prototype.push = function(u, e, t) {
|
|
995
995
|
const n = t || {};
|
|
996
996
|
this.__rules__.push({
|
|
997
997
|
name: u,
|
|
@@ -1000,7 +1000,7 @@ z.prototype.push = function(u, e, t) {
|
|
|
1000
1000
|
alt: n.alt || []
|
|
1001
1001
|
}), this.__cache__ = null;
|
|
1002
1002
|
};
|
|
1003
|
-
|
|
1003
|
+
q.prototype.enable = function(u, e) {
|
|
1004
1004
|
Array.isArray(u) || (u = [u]);
|
|
1005
1005
|
const t = [];
|
|
1006
1006
|
return u.forEach(function(n) {
|
|
@@ -1013,12 +1013,12 @@ z.prototype.enable = function(u, e) {
|
|
|
1013
1013
|
this.__rules__[r].enabled = !0, t.push(n);
|
|
1014
1014
|
}, this), this.__cache__ = null, t;
|
|
1015
1015
|
};
|
|
1016
|
-
|
|
1016
|
+
q.prototype.enableOnly = function(u, e) {
|
|
1017
1017
|
Array.isArray(u) || (u = [u]), this.__rules__.forEach(function(t) {
|
|
1018
1018
|
t.enabled = !1;
|
|
1019
1019
|
}), this.enable(u, e);
|
|
1020
1020
|
};
|
|
1021
|
-
|
|
1021
|
+
q.prototype.disable = function(u, e) {
|
|
1022
1022
|
Array.isArray(u) || (u = [u]);
|
|
1023
1023
|
const t = [];
|
|
1024
1024
|
return u.forEach(function(n) {
|
|
@@ -1031,37 +1031,37 @@ z.prototype.disable = function(u, e) {
|
|
|
1031
1031
|
this.__rules__[r].enabled = !1, t.push(n);
|
|
1032
1032
|
}, this), this.__cache__ = null, t;
|
|
1033
1033
|
};
|
|
1034
|
-
|
|
1034
|
+
q.prototype.getRules = function(u) {
|
|
1035
1035
|
return this.__cache__ === null && this.__compile__(), this.__cache__[u] || [];
|
|
1036
1036
|
};
|
|
1037
|
-
function
|
|
1037
|
+
function T0(u, e, t) {
|
|
1038
1038
|
this.src = u, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = e;
|
|
1039
1039
|
}
|
|
1040
|
-
|
|
1041
|
-
const
|
|
1042
|
-
function
|
|
1040
|
+
T0.prototype.Token = $;
|
|
1041
|
+
const sn = /\r\n?|\n/g, an = /\0/g;
|
|
1042
|
+
function ln(u) {
|
|
1043
1043
|
let e;
|
|
1044
|
-
e = u.src.replace(
|
|
1045
|
-
`), e = e.replace(
|
|
1044
|
+
e = u.src.replace(sn, `
|
|
1045
|
+
`), e = e.replace(an, "�"), u.src = e;
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1047
|
+
function fn(u) {
|
|
1048
1048
|
let e;
|
|
1049
1049
|
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);
|
|
1050
1050
|
}
|
|
1051
|
-
function
|
|
1051
|
+
function dn(u) {
|
|
1052
1052
|
const e = u.tokens;
|
|
1053
1053
|
for (let t = 0, n = e.length; t < n; t++) {
|
|
1054
1054
|
const r = e[t];
|
|
1055
1055
|
r.type === "inline" && u.md.inline.parse(r.content, u.md, u.env, r.children);
|
|
1056
1056
|
}
|
|
1057
1057
|
}
|
|
1058
|
-
function
|
|
1058
|
+
function hn(u) {
|
|
1059
1059
|
return /^<a[>\s]/i.test(u);
|
|
1060
1060
|
}
|
|
1061
|
-
function
|
|
1061
|
+
function pn(u) {
|
|
1062
1062
|
return /^<\/a\s*>/i.test(u);
|
|
1063
1063
|
}
|
|
1064
|
-
function
|
|
1064
|
+
function bn(u) {
|
|
1065
1065
|
const e = u.tokens;
|
|
1066
1066
|
if (u.md.options.linkify)
|
|
1067
1067
|
for (let t = 0, n = e.length; t < n; t++) {
|
|
@@ -1075,7 +1075,7 @@ function pn(u) {
|
|
|
1075
1075
|
o--;
|
|
1076
1076
|
continue;
|
|
1077
1077
|
}
|
|
1078
|
-
if (i.type === "html_inline" && (
|
|
1078
|
+
if (i.type === "html_inline" && (hn(i.content) && c > 0 && c--, pn(i.content) && c++), !(c > 0) && i.type === "text" && u.md.linkify.test(i.content)) {
|
|
1079
1079
|
const s = i.content;
|
|
1080
1080
|
let a = u.md.linkify.match(s);
|
|
1081
1081
|
const l = [];
|
|
@@ -1103,44 +1103,44 @@ function pn(u) {
|
|
|
1103
1103
|
const h = new u.Token("text", "", 0);
|
|
1104
1104
|
h.content = s.slice(p), h.level = f, l.push(h);
|
|
1105
1105
|
}
|
|
1106
|
-
e[t].children = r =
|
|
1106
|
+
e[t].children = r = v0(r, o, l);
|
|
1107
1107
|
}
|
|
1108
1108
|
}
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
|
-
const
|
|
1111
|
+
const B0 = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, xn = /\((c|tm|r)\)/i, mn = /\((c|tm|r)\)/ig, _n = {
|
|
1112
1112
|
c: "©",
|
|
1113
1113
|
r: "®",
|
|
1114
1114
|
tm: "™"
|
|
1115
1115
|
};
|
|
1116
|
-
function
|
|
1117
|
-
return
|
|
1116
|
+
function gn(u, e) {
|
|
1117
|
+
return _n[e.toLowerCase()];
|
|
1118
1118
|
}
|
|
1119
|
-
function
|
|
1119
|
+
function kn(u) {
|
|
1120
1120
|
let e = 0;
|
|
1121
1121
|
for (let t = u.length - 1; t >= 0; t--) {
|
|
1122
1122
|
const n = u[t];
|
|
1123
|
-
n.type === "text" && !e && (n.content = n.content.replace(
|
|
1123
|
+
n.type === "text" && !e && (n.content = n.content.replace(mn, gn)), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
|
|
1124
1124
|
}
|
|
1125
1125
|
}
|
|
1126
|
-
function
|
|
1126
|
+
function yn(u) {
|
|
1127
1127
|
let e = 0;
|
|
1128
1128
|
for (let t = u.length - 1; t >= 0; t--) {
|
|
1129
1129
|
const n = u[t];
|
|
1130
|
-
n.type === "text" && !e &&
|
|
1130
|
+
n.type === "text" && !e && B0.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++;
|
|
1131
1131
|
}
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1133
|
+
function Cn(u) {
|
|
1134
1134
|
let e;
|
|
1135
1135
|
if (u.md.options.typographer)
|
|
1136
1136
|
for (e = u.tokens.length - 1; e >= 0; e--)
|
|
1137
|
-
u.tokens[e].type === "inline" && (
|
|
1137
|
+
u.tokens[e].type === "inline" && (xn.test(u.tokens[e].content) && kn(u.tokens[e].children), B0.test(u.tokens[e].content) && yn(u.tokens[e].children));
|
|
1138
1138
|
}
|
|
1139
|
-
const
|
|
1140
|
-
function
|
|
1139
|
+
const Dn = /['"]/, Xe = /['"]/g, Je = "’";
|
|
1140
|
+
function Nu(u, e, t) {
|
|
1141
1141
|
return u.slice(0, e) + t + u.slice(e + 1);
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1143
|
+
function En(u, e) {
|
|
1144
1144
|
let t;
|
|
1145
1145
|
const n = [];
|
|
1146
1146
|
for (let r = 0; r < u.length; r++) {
|
|
@@ -1152,8 +1152,8 @@ function Dn(u, e) {
|
|
|
1152
1152
|
let i = c.content, s = 0, a = i.length;
|
|
1153
1153
|
u:
|
|
1154
1154
|
for (; s < a; ) {
|
|
1155
|
-
|
|
1156
|
-
const l =
|
|
1155
|
+
Xe.lastIndex = s;
|
|
1156
|
+
const l = Xe.exec(i);
|
|
1157
1157
|
if (!l)
|
|
1158
1158
|
break;
|
|
1159
1159
|
let f = !0, p = !0;
|
|
@@ -1177,9 +1177,9 @@ function Dn(u, e) {
|
|
|
1177
1177
|
b = u[t].content.charCodeAt(0);
|
|
1178
1178
|
break;
|
|
1179
1179
|
}
|
|
1180
|
-
const m =
|
|
1180
|
+
const m = Bu(d) || Tu(String.fromCharCode(d)), y = Bu(b) || Tu(String.fromCharCode(b)), x = Su(d), _ = Su(b);
|
|
1181
1181
|
if (_ ? f = !1 : y && (x || m || (f = !1)), x ? p = !1 : m && (_ || y || (p = !1)), b === 34 && l[0] === '"' && d >= 48 && d <= 57 && (p = f = !1), f && p && (f = m, p = y), !f && !p) {
|
|
1182
|
-
h && (c.content =
|
|
1182
|
+
h && (c.content = Nu(c.content, l.index, Je));
|
|
1183
1183
|
continue;
|
|
1184
1184
|
}
|
|
1185
1185
|
if (p)
|
|
@@ -1190,7 +1190,7 @@ function Dn(u, e) {
|
|
|
1190
1190
|
if (g.single === h && n[t].level === o) {
|
|
1191
1191
|
g = n[t];
|
|
1192
1192
|
let k, D;
|
|
1193
|
-
h ? (k = e.md.options.quotes[2], D = e.md.options.quotes[3]) : (k = e.md.options.quotes[0], D = e.md.options.quotes[1]), c.content =
|
|
1193
|
+
h ? (k = e.md.options.quotes[2], D = e.md.options.quotes[3]) : (k = e.md.options.quotes[0], D = e.md.options.quotes[1]), c.content = Nu(c.content, l.index, D), u[g.token].content = Nu(
|
|
1194
1194
|
u[g.token].content,
|
|
1195
1195
|
g.pos,
|
|
1196
1196
|
k
|
|
@@ -1203,16 +1203,16 @@ function Dn(u, e) {
|
|
|
1203
1203
|
pos: l.index,
|
|
1204
1204
|
single: h,
|
|
1205
1205
|
level: o
|
|
1206
|
-
}) : p && h && (c.content =
|
|
1206
|
+
}) : p && h && (c.content = Nu(c.content, l.index, Je));
|
|
1207
1207
|
}
|
|
1208
1208
|
}
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1210
|
+
function An(u) {
|
|
1211
1211
|
if (u.md.options.typographer)
|
|
1212
1212
|
for (let e = u.tokens.length - 1; e >= 0; e--)
|
|
1213
|
-
u.tokens[e].type !== "inline" || !
|
|
1213
|
+
u.tokens[e].type !== "inline" || !Dn.test(u.tokens[e].content) || En(u.tokens[e].children, u);
|
|
1214
1214
|
}
|
|
1215
|
-
function
|
|
1215
|
+
function Fn(u) {
|
|
1216
1216
|
let e, t;
|
|
1217
1217
|
const n = u.tokens, r = n.length;
|
|
1218
1218
|
for (let c = 0; c < r; c++) {
|
|
@@ -1225,35 +1225,35 @@ function An(u) {
|
|
|
1225
1225
|
e !== t && (o.length = t);
|
|
1226
1226
|
}
|
|
1227
1227
|
}
|
|
1228
|
-
const
|
|
1229
|
-
["normalize",
|
|
1230
|
-
["block",
|
|
1231
|
-
["inline",
|
|
1232
|
-
["linkify",
|
|
1233
|
-
["replacements",
|
|
1234
|
-
["smartquotes",
|
|
1228
|
+
const ae = [
|
|
1229
|
+
["normalize", ln],
|
|
1230
|
+
["block", fn],
|
|
1231
|
+
["inline", dn],
|
|
1232
|
+
["linkify", bn],
|
|
1233
|
+
["replacements", Cn],
|
|
1234
|
+
["smartquotes", An],
|
|
1235
1235
|
// `text_join` finds `text_special` tokens (for escape sequences)
|
|
1236
1236
|
// and joins them with the rest of the text
|
|
1237
|
-
["text_join",
|
|
1237
|
+
["text_join", Fn]
|
|
1238
1238
|
];
|
|
1239
|
-
function
|
|
1240
|
-
this.ruler = new
|
|
1241
|
-
for (let u = 0; u <
|
|
1242
|
-
this.ruler.push(
|
|
1239
|
+
function Re() {
|
|
1240
|
+
this.ruler = new q();
|
|
1241
|
+
for (let u = 0; u < ae.length; u++)
|
|
1242
|
+
this.ruler.push(ae[u][0], ae[u][1]);
|
|
1243
1243
|
}
|
|
1244
|
-
|
|
1244
|
+
Re.prototype.process = function(u) {
|
|
1245
1245
|
const e = this.ruler.getRules("");
|
|
1246
1246
|
for (let t = 0, n = e.length; t < n; t++)
|
|
1247
1247
|
e[t](u);
|
|
1248
1248
|
};
|
|
1249
|
-
|
|
1250
|
-
function
|
|
1249
|
+
Re.prototype.State = T0;
|
|
1250
|
+
function uu(u, e, t, n) {
|
|
1251
1251
|
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;
|
|
1252
1252
|
const r = this.src;
|
|
1253
1253
|
for (let c = 0, o = 0, i = 0, s = 0, a = r.length, l = !1; o < a; o++) {
|
|
1254
1254
|
const f = r.charCodeAt(o);
|
|
1255
1255
|
if (!l)
|
|
1256
|
-
if (
|
|
1256
|
+
if (w(f)) {
|
|
1257
1257
|
i++, f === 9 ? s += 4 - s % 4 : s++;
|
|
1258
1258
|
continue;
|
|
1259
1259
|
} else
|
|
@@ -1262,40 +1262,40 @@ function Y(u, e, t, n) {
|
|
|
1262
1262
|
}
|
|
1263
1263
|
this.bMarks.push(r.length), this.eMarks.push(r.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
|
|
1264
1264
|
}
|
|
1265
|
-
|
|
1265
|
+
uu.prototype.push = function(u, e, t) {
|
|
1266
1266
|
const n = new $(u, e, t);
|
|
1267
1267
|
return n.block = !0, t < 0 && this.level--, n.level = this.level, t > 0 && this.level++, this.tokens.push(n), n;
|
|
1268
1268
|
};
|
|
1269
|
-
|
|
1269
|
+
uu.prototype.isEmpty = function(e) {
|
|
1270
1270
|
return this.bMarks[e] + this.tShift[e] >= this.eMarks[e];
|
|
1271
1271
|
};
|
|
1272
|
-
|
|
1272
|
+
uu.prototype.skipEmptyLines = function(e) {
|
|
1273
1273
|
for (let t = this.lineMax; e < t && !(this.bMarks[e] + this.tShift[e] < this.eMarks[e]); e++)
|
|
1274
1274
|
;
|
|
1275
1275
|
return e;
|
|
1276
1276
|
};
|
|
1277
|
-
|
|
1277
|
+
uu.prototype.skipSpaces = function(e) {
|
|
1278
1278
|
for (let t = this.src.length; e < t; e++) {
|
|
1279
1279
|
const n = this.src.charCodeAt(e);
|
|
1280
|
-
if (!
|
|
1280
|
+
if (!w(n))
|
|
1281
1281
|
break;
|
|
1282
1282
|
}
|
|
1283
1283
|
return e;
|
|
1284
1284
|
};
|
|
1285
|
-
|
|
1285
|
+
uu.prototype.skipSpacesBack = function(e, t) {
|
|
1286
1286
|
if (e <= t)
|
|
1287
1287
|
return e;
|
|
1288
1288
|
for (; e > t; )
|
|
1289
|
-
if (!
|
|
1289
|
+
if (!w(this.src.charCodeAt(--e)))
|
|
1290
1290
|
return e + 1;
|
|
1291
1291
|
return e;
|
|
1292
1292
|
};
|
|
1293
|
-
|
|
1293
|
+
uu.prototype.skipChars = function(e, t) {
|
|
1294
1294
|
for (let n = this.src.length; e < n && this.src.charCodeAt(e) === t; e++)
|
|
1295
1295
|
;
|
|
1296
1296
|
return e;
|
|
1297
1297
|
};
|
|
1298
|
-
|
|
1298
|
+
uu.prototype.skipCharsBack = function(e, t, n) {
|
|
1299
1299
|
if (e <= n)
|
|
1300
1300
|
return e;
|
|
1301
1301
|
for (; e > n; )
|
|
@@ -1303,7 +1303,7 @@ Y.prototype.skipCharsBack = function(e, t, n) {
|
|
|
1303
1303
|
return e + 1;
|
|
1304
1304
|
return e;
|
|
1305
1305
|
};
|
|
1306
|
-
|
|
1306
|
+
uu.prototype.getLines = function(e, t, n, r) {
|
|
1307
1307
|
if (e >= t)
|
|
1308
1308
|
return "";
|
|
1309
1309
|
const c = new Array(t - e);
|
|
@@ -1313,7 +1313,7 @@ Y.prototype.getLines = function(e, t, n, r) {
|
|
|
1313
1313
|
let l = a, f;
|
|
1314
1314
|
for (i + 1 < t || r ? f = this.eMarks[i] + 1 : f = this.eMarks[i]; l < f && s < n; ) {
|
|
1315
1315
|
const p = this.src.charCodeAt(l);
|
|
1316
|
-
if (
|
|
1316
|
+
if (w(p))
|
|
1317
1317
|
p === 9 ? s += 4 - (s + this.bsCount[i]) % 4 : s++;
|
|
1318
1318
|
else if (l - a < this.tShift[i])
|
|
1319
1319
|
s++;
|
|
@@ -1325,20 +1325,20 @@ Y.prototype.getLines = function(e, t, n, r) {
|
|
|
1325
1325
|
}
|
|
1326
1326
|
return c.join("");
|
|
1327
1327
|
};
|
|
1328
|
-
|
|
1329
|
-
const
|
|
1330
|
-
function
|
|
1328
|
+
uu.prototype.Token = $;
|
|
1329
|
+
const wn = 65536;
|
|
1330
|
+
function le(u, e) {
|
|
1331
1331
|
const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
|
|
1332
1332
|
return u.src.slice(t, n);
|
|
1333
1333
|
}
|
|
1334
|
-
function
|
|
1334
|
+
function Qe(u) {
|
|
1335
1335
|
const e = [], t = u.length;
|
|
1336
1336
|
let n = 0, r = u.charCodeAt(n), c = !1, o = 0, i = "";
|
|
1337
1337
|
for (; n < t; )
|
|
1338
1338
|
r === 124 && (c ? (i += u.substring(o, n - 1), o = n) : (e.push(i + u.substring(o, n)), i = "", o = n + 1)), c = r === 92, n++, r = u.charCodeAt(n);
|
|
1339
1339
|
return e.push(i + u.substring(o)), e;
|
|
1340
1340
|
}
|
|
1341
|
-
function
|
|
1341
|
+
function vn(u, e, t, n) {
|
|
1342
1342
|
if (e + 2 > t)
|
|
1343
1343
|
return !1;
|
|
1344
1344
|
let r = e + 1;
|
|
@@ -1351,15 +1351,15 @@ function wn(u, e, t, n) {
|
|
|
1351
1351
|
if (o !== 124 && o !== 45 && o !== 58 || c >= u.eMarks[r])
|
|
1352
1352
|
return !1;
|
|
1353
1353
|
const i = u.src.charCodeAt(c++);
|
|
1354
|
-
if (i !== 124 && i !== 45 && i !== 58 && !
|
|
1354
|
+
if (i !== 124 && i !== 45 && i !== 58 && !w(i) || o === 45 && w(i))
|
|
1355
1355
|
return !1;
|
|
1356
1356
|
for (; c < u.eMarks[r]; ) {
|
|
1357
1357
|
const g = u.src.charCodeAt(c);
|
|
1358
|
-
if (g !== 124 && g !== 45 && g !== 58 && !
|
|
1358
|
+
if (g !== 124 && g !== 45 && g !== 58 && !w(g))
|
|
1359
1359
|
return !1;
|
|
1360
1360
|
c++;
|
|
1361
1361
|
}
|
|
1362
|
-
let s =
|
|
1362
|
+
let s = le(u, e + 1), a = s.split("|");
|
|
1363
1363
|
const l = [];
|
|
1364
1364
|
for (let g = 0; g < a.length; g++) {
|
|
1365
1365
|
const k = a[g].trim();
|
|
@@ -1372,9 +1372,9 @@ function wn(u, e, t, n) {
|
|
|
1372
1372
|
return !1;
|
|
1373
1373
|
k.charCodeAt(k.length - 1) === 58 ? l.push(k.charCodeAt(0) === 58 ? "center" : "right") : k.charCodeAt(0) === 58 ? l.push("left") : l.push("");
|
|
1374
1374
|
}
|
|
1375
|
-
if (s =
|
|
1375
|
+
if (s = le(u, e).trim(), s.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
|
|
1376
1376
|
return !1;
|
|
1377
|
-
a =
|
|
1377
|
+
a = Qe(s), a.length && a[0] === "" && a.shift(), a.length && a[a.length - 1] === "" && a.pop();
|
|
1378
1378
|
const f = a.length;
|
|
1379
1379
|
if (f === 0 || f !== l.length)
|
|
1380
1380
|
return !1;
|
|
@@ -1403,7 +1403,7 @@ function wn(u, e, t, n) {
|
|
|
1403
1403
|
g = !0;
|
|
1404
1404
|
break;
|
|
1405
1405
|
}
|
|
1406
|
-
if (g || (s =
|
|
1406
|
+
if (g || (s = le(u, r).trim(), !s) || u.sCount[r] - u.blkIndent >= 4 || (a = Qe(s), a.length && a[0] === "" && a.shift(), a.length && a[a.length - 1] === "" && a.pop(), _ += f - a.length, _ > wn))
|
|
1407
1407
|
break;
|
|
1408
1408
|
if (r === e + 2) {
|
|
1409
1409
|
const D = u.push("tbody_open", "tbody", 1);
|
|
@@ -1414,14 +1414,14 @@ function wn(u, e, t, n) {
|
|
|
1414
1414
|
for (let D = 0; D < f; D++) {
|
|
1415
1415
|
const C = u.push("td_open", "td", 1);
|
|
1416
1416
|
l[D] && (C.attrs = [["style", "text-align:" + l[D]]]);
|
|
1417
|
-
const
|
|
1418
|
-
|
|
1417
|
+
const F = u.push("inline", "", 0);
|
|
1418
|
+
F.content = a[D] ? a[D].trim() : "", F.children = [], u.push("td_close", "td", -1);
|
|
1419
1419
|
}
|
|
1420
1420
|
u.push("tr_close", "tr", -1);
|
|
1421
1421
|
}
|
|
1422
1422
|
return x && (u.push("tbody_close", "tbody", -1), x[1] = r), u.push("table_close", "table", -1), b[1] = r, u.parentType = p, u.line = r, !0;
|
|
1423
1423
|
}
|
|
1424
|
-
function
|
|
1424
|
+
function Sn(u, e, t) {
|
|
1425
1425
|
if (u.sCount[e] - u.blkIndent < 4)
|
|
1426
1426
|
return !1;
|
|
1427
1427
|
let n = e + 1, r = n;
|
|
@@ -1441,7 +1441,7 @@ function vn(u, e, t) {
|
|
|
1441
1441
|
return c.content = u.getLines(e, r, 4 + u.blkIndent, !1) + `
|
|
1442
1442
|
`, c.map = [e, u.line], !0;
|
|
1443
1443
|
}
|
|
1444
|
-
function
|
|
1444
|
+
function Tn(u, e, t, n) {
|
|
1445
1445
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
|
|
1446
1446
|
if (u.sCount[e] - u.blkIndent >= 4 || r + 3 > c)
|
|
1447
1447
|
return !1;
|
|
@@ -1468,7 +1468,7 @@ function Sn(u, e, t, n) {
|
|
|
1468
1468
|
const h = u.push("fence", "code", 0);
|
|
1469
1469
|
return h.info = l, h.content = u.getLines(e + 1, f, s, !0), h.markup = a, h.map = [e, u.line], !0;
|
|
1470
1470
|
}
|
|
1471
|
-
function
|
|
1471
|
+
function Bn(u, e, t, n) {
|
|
1472
1472
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
|
|
1473
1473
|
const o = u.lineMax;
|
|
1474
1474
|
if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 62)
|
|
@@ -1485,16 +1485,16 @@ function Tn(u, e, t, n) {
|
|
|
1485
1485
|
if (u.src.charCodeAt(r++) === 62 && !_) {
|
|
1486
1486
|
let k = u.sCount[d] + 1, D, C;
|
|
1487
1487
|
u.src.charCodeAt(r) === 32 ? (r++, k++, C = !1, D = !0) : u.src.charCodeAt(r) === 9 ? (D = !0, (u.bsCount[d] + k) % 4 === 3 ? (r++, k++, C = !1) : C = !0) : D = !1;
|
|
1488
|
-
let
|
|
1488
|
+
let F = k;
|
|
1489
1489
|
for (i.push(u.bMarks[d]), u.bMarks[d] = r; r < c; ) {
|
|
1490
|
-
const
|
|
1491
|
-
if (
|
|
1492
|
-
|
|
1490
|
+
const R = u.src.charCodeAt(r);
|
|
1491
|
+
if (w(R))
|
|
1492
|
+
R === 9 ? F += 4 - (F + u.bsCount[d] + (C ? 1 : 0)) % 4 : F++;
|
|
1493
1493
|
else
|
|
1494
1494
|
break;
|
|
1495
1495
|
r++;
|
|
1496
1496
|
}
|
|
1497
|
-
h = r >= c, s.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (D ? 1 : 0), a.push(u.sCount[d]), u.sCount[d] =
|
|
1497
|
+
h = r >= c, s.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (D ? 1 : 0), a.push(u.sCount[d]), u.sCount[d] = F - k, l.push(u.tShift[d]), u.tShift[d] = r - u.bMarks[d];
|
|
1498
1498
|
continue;
|
|
1499
1499
|
}
|
|
1500
1500
|
if (h)
|
|
@@ -1523,7 +1523,7 @@ function Tn(u, e, t, n) {
|
|
|
1523
1523
|
u.bMarks[_ + e] = i[_], u.tShift[_ + e] = l[_], u.sCount[_ + e] = a[_], u.bsCount[_ + e] = s[_];
|
|
1524
1524
|
return u.blkIndent = b, !0;
|
|
1525
1525
|
}
|
|
1526
|
-
function
|
|
1526
|
+
function Rn(u, e, t, n) {
|
|
1527
1527
|
const r = u.eMarks[e];
|
|
1528
1528
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
1529
1529
|
return !1;
|
|
@@ -1534,7 +1534,7 @@ function Bn(u, e, t, n) {
|
|
|
1534
1534
|
let i = 1;
|
|
1535
1535
|
for (; c < r; ) {
|
|
1536
1536
|
const a = u.src.charCodeAt(c++);
|
|
1537
|
-
if (a !== o && !
|
|
1537
|
+
if (a !== o && !w(a))
|
|
1538
1538
|
return !1;
|
|
1539
1539
|
a === o && i++;
|
|
1540
1540
|
}
|
|
@@ -1546,7 +1546,7 @@ function Bn(u, e, t, n) {
|
|
|
1546
1546
|
const s = u.push("hr", "hr", 0);
|
|
1547
1547
|
return s.map = [e, u.line], s.markup = Array(i + 1).join(String.fromCharCode(o)), !0;
|
|
1548
1548
|
}
|
|
1549
|
-
function
|
|
1549
|
+
function Ye(u, e) {
|
|
1550
1550
|
const t = u.eMarks[e];
|
|
1551
1551
|
let n = u.bMarks[e] + u.tShift[e];
|
|
1552
1552
|
const r = u.src.charCodeAt(n++);
|
|
@@ -1554,12 +1554,12 @@ function Xe(u, e) {
|
|
|
1554
1554
|
return -1;
|
|
1555
1555
|
if (n < t) {
|
|
1556
1556
|
const c = u.src.charCodeAt(n);
|
|
1557
|
-
if (!
|
|
1557
|
+
if (!w(c))
|
|
1558
1558
|
return -1;
|
|
1559
1559
|
}
|
|
1560
1560
|
return n;
|
|
1561
1561
|
}
|
|
1562
|
-
function
|
|
1562
|
+
function Ke(u, e) {
|
|
1563
1563
|
const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
|
|
1564
1564
|
let r = t;
|
|
1565
1565
|
if (r + 1 >= n)
|
|
@@ -1579,23 +1579,23 @@ function Je(u, e) {
|
|
|
1579
1579
|
break;
|
|
1580
1580
|
return -1;
|
|
1581
1581
|
}
|
|
1582
|
-
return r < n && (c = u.src.charCodeAt(r), !
|
|
1582
|
+
return r < n && (c = u.src.charCodeAt(r), !w(c)) ? -1 : r;
|
|
1583
1583
|
}
|
|
1584
|
-
function
|
|
1584
|
+
function zn(u, e) {
|
|
1585
1585
|
const t = u.level + 2;
|
|
1586
1586
|
for (let n = e + 2, r = u.tokens.length - 2; n < r; n++)
|
|
1587
1587
|
u.tokens[n].level === t && u.tokens[n].type === "paragraph_open" && (u.tokens[n + 2].hidden = !0, u.tokens[n].hidden = !0, n += 2);
|
|
1588
1588
|
}
|
|
1589
|
-
function
|
|
1589
|
+
function qn(u, e, t, n) {
|
|
1590
1590
|
let r, c, o, i, s = e, a = !0;
|
|
1591
1591
|
if (u.sCount[s] - u.blkIndent >= 4 || u.listIndent >= 0 && u.sCount[s] - u.listIndent >= 4 && u.sCount[s] < u.blkIndent)
|
|
1592
1592
|
return !1;
|
|
1593
1593
|
let l = !1;
|
|
1594
1594
|
n && u.parentType === "paragraph" && u.sCount[s] >= u.blkIndent && (l = !0);
|
|
1595
1595
|
let f, p, h;
|
|
1596
|
-
if ((h =
|
|
1596
|
+
if ((h = Ke(u, s)) >= 0) {
|
|
1597
1597
|
if (f = !0, o = u.bMarks[s] + u.tShift[s], p = Number(u.src.slice(o, h - 1)), l && p !== 1) return !1;
|
|
1598
|
-
} else if ((h =
|
|
1598
|
+
} else if ((h = Ye(u, s)) >= 0)
|
|
1599
1599
|
f = !1;
|
|
1600
1600
|
else
|
|
1601
1601
|
return !1;
|
|
@@ -1614,10 +1614,10 @@ function zn(u, e, t, n) {
|
|
|
1614
1614
|
const g = u.sCount[s] + h - (u.bMarks[s] + u.tShift[s]);
|
|
1615
1615
|
let k = g;
|
|
1616
1616
|
for (; c < r; ) {
|
|
1617
|
-
const
|
|
1618
|
-
if (
|
|
1617
|
+
const W = u.src.charCodeAt(c);
|
|
1618
|
+
if (W === 9)
|
|
1619
1619
|
k += 4 - (k + u.bsCount[s]) % 4;
|
|
1620
|
-
else if (
|
|
1620
|
+
else if (W === 32)
|
|
1621
1621
|
k++;
|
|
1622
1622
|
else
|
|
1623
1623
|
break;
|
|
@@ -1626,31 +1626,31 @@ function zn(u, e, t, n) {
|
|
|
1626
1626
|
const D = c;
|
|
1627
1627
|
let C;
|
|
1628
1628
|
D >= r ? C = 1 : C = k - g, C > 4 && (C = 1);
|
|
1629
|
-
const
|
|
1629
|
+
const F = g + C;
|
|
1630
1630
|
i = u.push("list_item_open", "li", 1), i.markup = String.fromCharCode(d);
|
|
1631
|
-
const
|
|
1632
|
-
i.map =
|
|
1633
|
-
const
|
|
1634
|
-
if (u.listIndent = u.blkIndent, u.blkIndent =
|
|
1631
|
+
const R = [s, 0];
|
|
1632
|
+
i.map = R, f && (i.info = u.src.slice(o, h - 1));
|
|
1633
|
+
const O = u.tight, bu = u.tShift[s], Pu = u.sCount[s], $u = u.listIndent;
|
|
1634
|
+
if (u.listIndent = u.blkIndent, u.blkIndent = F, u.tight = !0, u.tShift[s] = D - u.bMarks[s], u.sCount[s] = k, D >= r && u.isEmpty(s + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, s, t, !0), (!u.tight || y) && (a = !1), y = u.line - s > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = $u, u.tShift[s] = bu, u.sCount[s] = Pu, u.tight = O, i = u.push("list_item_close", "li", -1), i.markup = String.fromCharCode(d), s = u.line, R[1] = s, s >= t || u.sCount[s] < u.blkIndent || u.sCount[s] - u.blkIndent >= 4)
|
|
1635
1635
|
break;
|
|
1636
|
-
let
|
|
1637
|
-
for (let
|
|
1638
|
-
if (x[
|
|
1639
|
-
|
|
1636
|
+
let Z = !1;
|
|
1637
|
+
for (let W = 0, lu = x.length; W < lu; W++)
|
|
1638
|
+
if (x[W](u, s, t, !0)) {
|
|
1639
|
+
Z = !0;
|
|
1640
1640
|
break;
|
|
1641
1641
|
}
|
|
1642
|
-
if (
|
|
1642
|
+
if (Z)
|
|
1643
1643
|
break;
|
|
1644
1644
|
if (f) {
|
|
1645
|
-
if (h =
|
|
1645
|
+
if (h = Ke(u, s), h < 0)
|
|
1646
1646
|
break;
|
|
1647
1647
|
o = u.bMarks[s] + u.tShift[s];
|
|
1648
|
-
} else if (h =
|
|
1648
|
+
} else if (h = Ye(u, s), h < 0)
|
|
1649
1649
|
break;
|
|
1650
1650
|
if (d !== u.src.charCodeAt(h - 1))
|
|
1651
1651
|
break;
|
|
1652
1652
|
}
|
|
1653
|
-
return f ? i = u.push("ordered_list_close", "ol", -1) : i = u.push("bullet_list_close", "ul", -1), i.markup = String.fromCharCode(d), m[1] = s, u.line = s, u.parentType = _, a &&
|
|
1653
|
+
return f ? i = u.push("ordered_list_close", "ol", -1) : i = u.push("bullet_list_close", "ul", -1), i.markup = String.fromCharCode(d), m[1] = s, u.line = s, u.parentType = _, a && zn(u, b), !0;
|
|
1654
1654
|
}
|
|
1655
1655
|
function Ln(u, e, t, n) {
|
|
1656
1656
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e], o = e + 1;
|
|
@@ -1662,15 +1662,15 @@ function Ln(u, e, t, n) {
|
|
|
1662
1662
|
return null;
|
|
1663
1663
|
let g = !1;
|
|
1664
1664
|
if (u.sCount[x] - u.blkIndent > 3 && (g = !0), u.sCount[x] < 0 && (g = !0), !g) {
|
|
1665
|
-
const C = u.md.block.ruler.getRules("reference"),
|
|
1665
|
+
const C = u.md.block.ruler.getRules("reference"), F = u.parentType;
|
|
1666
1666
|
u.parentType = "reference";
|
|
1667
|
-
let
|
|
1668
|
-
for (let
|
|
1669
|
-
if (C[
|
|
1670
|
-
|
|
1667
|
+
let R = !1;
|
|
1668
|
+
for (let O = 0, bu = C.length; O < bu; O++)
|
|
1669
|
+
if (C[O](u, x, _, !0)) {
|
|
1670
|
+
R = !0;
|
|
1671
1671
|
break;
|
|
1672
1672
|
}
|
|
1673
|
-
if (u.parentType =
|
|
1673
|
+
if (u.parentType = F, R)
|
|
1674
1674
|
return null;
|
|
1675
1675
|
}
|
|
1676
1676
|
const k = u.bMarks[x] + u.tShift[x], D = u.eMarks[x];
|
|
@@ -1701,7 +1701,7 @@ function Ln(u, e, t, n) {
|
|
|
1701
1701
|
if (x === 10) {
|
|
1702
1702
|
const _ = i(o);
|
|
1703
1703
|
_ !== null && (s += _, c = s.length, o++);
|
|
1704
|
-
} else if (!
|
|
1704
|
+
} else if (!w(x)) break;
|
|
1705
1705
|
}
|
|
1706
1706
|
const l = u.md.helpers.parseLinkDestination(s, r, c);
|
|
1707
1707
|
if (!l.ok)
|
|
@@ -1716,7 +1716,7 @@ function Ln(u, e, t, n) {
|
|
|
1716
1716
|
if (x === 10) {
|
|
1717
1717
|
const _ = i(o);
|
|
1718
1718
|
_ !== null && (s += _, c = s.length, o++);
|
|
1719
|
-
} else if (!
|
|
1719
|
+
} else if (!w(x)) break;
|
|
1720
1720
|
}
|
|
1721
1721
|
let b = u.md.helpers.parseLinkTitle(s, r, c);
|
|
1722
1722
|
for (; b.can_continue; ) {
|
|
@@ -1727,23 +1727,23 @@ function Ln(u, e, t, n) {
|
|
|
1727
1727
|
let m;
|
|
1728
1728
|
for (r < c && d !== r && b.ok ? (m = b.str, r = b.pos) : (m = "", r = p, o = h); r < c; ) {
|
|
1729
1729
|
const x = s.charCodeAt(r);
|
|
1730
|
-
if (!
|
|
1730
|
+
if (!w(x))
|
|
1731
1731
|
break;
|
|
1732
1732
|
r++;
|
|
1733
1733
|
}
|
|
1734
1734
|
if (r < c && s.charCodeAt(r) !== 10 && m)
|
|
1735
1735
|
for (m = "", r = p, o = h; r < c; ) {
|
|
1736
1736
|
const x = s.charCodeAt(r);
|
|
1737
|
-
if (!
|
|
1737
|
+
if (!w(x))
|
|
1738
1738
|
break;
|
|
1739
1739
|
r++;
|
|
1740
1740
|
}
|
|
1741
1741
|
if (r < c && s.charCodeAt(r) !== 10)
|
|
1742
1742
|
return !1;
|
|
1743
|
-
const y =
|
|
1743
|
+
const y = Yu(s.slice(1, a));
|
|
1744
1744
|
return y ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[y] > "u" && (u.env.references[y] = { title: m, href: f }), u.line = o), !0) : !1;
|
|
1745
1745
|
}
|
|
1746
|
-
const
|
|
1746
|
+
const Mn = [
|
|
1747
1747
|
"address",
|
|
1748
1748
|
"article",
|
|
1749
1749
|
"aside",
|
|
@@ -1806,30 +1806,30 @@ const qn = [
|
|
|
1806
1806
|
"tr",
|
|
1807
1807
|
"track",
|
|
1808
1808
|
"ul"
|
|
1809
|
-
],
|
|
1809
|
+
], In = "[a-zA-Z_:][a-zA-Z0-9:._-]*", On = "[^\"'=<>`\\x00-\\x20]+", Pn = "'[^']*'", $n = '"[^"]*"', Nn = "(?:" + On + "|" + Pn + "|" + $n + ")", jn = "(?:\\s+" + In + "(?:\\s*=\\s*" + Nn + ")?)", R0 = "<[A-Za-z][A-Za-z0-9\\-]*" + jn + "*\\s*\\/?>", z0 = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", Hn = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", Vn = "<[?][\\s\\S]*?[?]>", Un = "<![A-Za-z][^>]*>", Zn = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", Wn = new RegExp("^(?:" + R0 + "|" + z0 + "|" + Hn + "|" + Vn + "|" + Un + "|" + Zn + ")"), Gn = new RegExp("^(?:" + R0 + "|" + z0 + ")"), mu = [
|
|
1810
1810
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
1811
1811
|
[/^<!--/, /-->/, !0],
|
|
1812
1812
|
[/^<\?/, /\?>/, !0],
|
|
1813
1813
|
[/^<![A-Z]/, />/, !0],
|
|
1814
1814
|
[/^<!\[CDATA\[/, /\]\]>/, !0],
|
|
1815
|
-
[new RegExp("^</?(" +
|
|
1816
|
-
[new RegExp(
|
|
1815
|
+
[new RegExp("^</?(" + Mn.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
|
|
1816
|
+
[new RegExp(Gn.source + "\\s*$"), /^$/, !1]
|
|
1817
1817
|
];
|
|
1818
|
-
function
|
|
1818
|
+
function Xn(u, e, t, n) {
|
|
1819
1819
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
|
|
1820
1820
|
if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(r) !== 60)
|
|
1821
1821
|
return !1;
|
|
1822
1822
|
let o = u.src.slice(r, c), i = 0;
|
|
1823
|
-
for (; i <
|
|
1823
|
+
for (; i < mu.length && !mu[i][0].test(o); i++)
|
|
1824
1824
|
;
|
|
1825
|
-
if (i ===
|
|
1825
|
+
if (i === mu.length)
|
|
1826
1826
|
return !1;
|
|
1827
1827
|
if (n)
|
|
1828
|
-
return
|
|
1828
|
+
return mu[i][2];
|
|
1829
1829
|
let s = e + 1;
|
|
1830
|
-
if (!
|
|
1830
|
+
if (!mu[i][1].test(o)) {
|
|
1831
1831
|
for (; s < t && !(u.sCount[s] < u.blkIndent); s++)
|
|
1832
|
-
if (r = u.bMarks[s] + u.tShift[s], c = u.eMarks[s], o = u.src.slice(r, c),
|
|
1832
|
+
if (r = u.bMarks[s] + u.tShift[s], c = u.eMarks[s], o = u.src.slice(r, c), mu[i][1].test(o)) {
|
|
1833
1833
|
o.length !== 0 && s++;
|
|
1834
1834
|
break;
|
|
1835
1835
|
}
|
|
@@ -1838,7 +1838,7 @@ function Gn(u, e, t, n) {
|
|
|
1838
1838
|
const a = u.push("html_block", "", 0);
|
|
1839
1839
|
return a.map = [e, s], a.content = u.getLines(e, s, u.blkIndent, !0), !0;
|
|
1840
1840
|
}
|
|
1841
|
-
function
|
|
1841
|
+
function Jn(u, e, t, n) {
|
|
1842
1842
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
|
|
1843
1843
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
1844
1844
|
return !1;
|
|
@@ -1848,13 +1848,13 @@ function Xn(u, e, t, n) {
|
|
|
1848
1848
|
let i = 1;
|
|
1849
1849
|
for (o = u.src.charCodeAt(++r); o === 35 && r < c && i <= 6; )
|
|
1850
1850
|
i++, o = u.src.charCodeAt(++r);
|
|
1851
|
-
if (i > 6 || r < c && !
|
|
1851
|
+
if (i > 6 || r < c && !w(o))
|
|
1852
1852
|
return !1;
|
|
1853
1853
|
if (n)
|
|
1854
1854
|
return !0;
|
|
1855
1855
|
c = u.skipSpacesBack(c, r);
|
|
1856
1856
|
const s = u.skipCharsBack(c, 35, r);
|
|
1857
|
-
s > r &&
|
|
1857
|
+
s > r && w(u.src.charCodeAt(s - 1)) && (c = s), u.line = e + 1;
|
|
1858
1858
|
const a = u.push("heading_open", "h" + String(i), 1);
|
|
1859
1859
|
a.markup = "########".slice(0, i), a.map = [e, u.line];
|
|
1860
1860
|
const l = u.push("inline", "", 0);
|
|
@@ -1862,7 +1862,7 @@ function Xn(u, e, t, n) {
|
|
|
1862
1862
|
const f = u.push("heading_close", "h" + String(i), -1);
|
|
1863
1863
|
return f.markup = "########".slice(0, i), !0;
|
|
1864
1864
|
}
|
|
1865
|
-
function
|
|
1865
|
+
function Qn(u, e, t) {
|
|
1866
1866
|
const n = u.md.block.ruler.getRules("paragraph");
|
|
1867
1867
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
1868
1868
|
return !1;
|
|
@@ -1902,7 +1902,7 @@ function Jn(u, e, t) {
|
|
|
1902
1902
|
const f = u.push("heading_close", "h" + String(c), -1);
|
|
1903
1903
|
return f.markup = String.fromCharCode(o), u.parentType = r, !0;
|
|
1904
1904
|
}
|
|
1905
|
-
function
|
|
1905
|
+
function Yn(u, e, t) {
|
|
1906
1906
|
const n = u.md.block.ruler.getRules("paragraph"), r = u.parentType;
|
|
1907
1907
|
let c = e + 1;
|
|
1908
1908
|
for (u.parentType = "paragraph"; c < t && !u.isEmpty(c); c++) {
|
|
@@ -1924,27 +1924,27 @@ function Qn(u, e, t) {
|
|
|
1924
1924
|
const s = u.push("inline", "", 0);
|
|
1925
1925
|
return s.content = o, s.map = [e, u.line], s.children = [], u.push("paragraph_close", "p", -1), u.parentType = r, !0;
|
|
1926
1926
|
}
|
|
1927
|
-
const
|
|
1927
|
+
const ju = [
|
|
1928
1928
|
// First 2 params - rule name & source. Secondary array - list of rules,
|
|
1929
1929
|
// which can be terminated by this one.
|
|
1930
|
-
["table",
|
|
1931
|
-
["code",
|
|
1932
|
-
["fence",
|
|
1933
|
-
["blockquote",
|
|
1934
|
-
["hr",
|
|
1935
|
-
["list",
|
|
1930
|
+
["table", vn, ["paragraph", "reference"]],
|
|
1931
|
+
["code", Sn],
|
|
1932
|
+
["fence", Tn, ["paragraph", "reference", "blockquote", "list"]],
|
|
1933
|
+
["blockquote", Bn, ["paragraph", "reference", "blockquote", "list"]],
|
|
1934
|
+
["hr", Rn, ["paragraph", "reference", "blockquote", "list"]],
|
|
1935
|
+
["list", qn, ["paragraph", "reference", "blockquote"]],
|
|
1936
1936
|
["reference", Ln],
|
|
1937
|
-
["html_block",
|
|
1938
|
-
["heading",
|
|
1939
|
-
["lheading",
|
|
1940
|
-
["paragraph",
|
|
1937
|
+
["html_block", Xn, ["paragraph", "reference", "blockquote"]],
|
|
1938
|
+
["heading", Jn, ["paragraph", "reference", "blockquote"]],
|
|
1939
|
+
["lheading", Qn],
|
|
1940
|
+
["paragraph", Yn]
|
|
1941
1941
|
];
|
|
1942
|
-
function
|
|
1943
|
-
this.ruler = new
|
|
1944
|
-
for (let u = 0; u <
|
|
1945
|
-
this.ruler.push(
|
|
1942
|
+
function Ku() {
|
|
1943
|
+
this.ruler = new q();
|
|
1944
|
+
for (let u = 0; u < ju.length; u++)
|
|
1945
|
+
this.ruler.push(ju[u][0], ju[u][1], { alt: (ju[u][2] || []).slice() });
|
|
1946
1946
|
}
|
|
1947
|
-
|
|
1947
|
+
Ku.prototype.tokenize = function(u, e, t) {
|
|
1948
1948
|
const n = this.ruler.getRules(""), r = n.length, c = u.md.options.maxNesting;
|
|
1949
1949
|
let o = e, i = !1;
|
|
1950
1950
|
for (; o < t && (u.line = o = u.skipEmptyLines(o), !(o >= t || u.sCount[o] < u.blkIndent)); ) {
|
|
@@ -1964,36 +1964,36 @@ Yu.prototype.tokenize = function(u, e, t) {
|
|
|
1964
1964
|
u.tight = !i, u.isEmpty(u.line - 1) && (i = !0), o = u.line, o < t && u.isEmpty(o) && (i = !0, o++, u.line = o);
|
|
1965
1965
|
}
|
|
1966
1966
|
};
|
|
1967
|
-
|
|
1967
|
+
Ku.prototype.parse = function(u, e, t, n) {
|
|
1968
1968
|
if (!u)
|
|
1969
1969
|
return;
|
|
1970
1970
|
const r = new this.State(u, e, t, n);
|
|
1971
1971
|
this.tokenize(r, r.line, r.lineMax);
|
|
1972
1972
|
};
|
|
1973
|
-
|
|
1974
|
-
function
|
|
1973
|
+
Ku.prototype.State = uu;
|
|
1974
|
+
function Mu(u, e, t, n) {
|
|
1975
1975
|
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;
|
|
1976
1976
|
}
|
|
1977
|
-
|
|
1977
|
+
Mu.prototype.pushPending = function() {
|
|
1978
1978
|
const u = new $("text", "", 0);
|
|
1979
1979
|
return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
|
|
1980
1980
|
};
|
|
1981
|
-
|
|
1981
|
+
Mu.prototype.push = function(u, e, t) {
|
|
1982
1982
|
this.pending && this.pushPending();
|
|
1983
1983
|
const n = new $(u, e, t);
|
|
1984
1984
|
let r = null;
|
|
1985
1985
|
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;
|
|
1986
1986
|
};
|
|
1987
|
-
|
|
1987
|
+
Mu.prototype.scanDelims = function(u, e) {
|
|
1988
1988
|
const t = this.posMax, n = this.src.charCodeAt(u), r = u > 0 ? this.src.charCodeAt(u - 1) : 32;
|
|
1989
1989
|
let c = u;
|
|
1990
1990
|
for (; c < t && this.src.charCodeAt(c) === n; )
|
|
1991
1991
|
c++;
|
|
1992
|
-
const o = c - u, i = c < t ? this.src.charCodeAt(c) : 32, s =
|
|
1992
|
+
const o = c - u, i = c < t ? this.src.charCodeAt(c) : 32, s = Bu(r) || Tu(String.fromCharCode(r)), a = Bu(i) || Tu(String.fromCharCode(i)), l = Su(r), f = Su(i), p = !f && (!a || l || s), h = !l && (!s || f || a);
|
|
1993
1993
|
return { can_open: p && (e || !h || s), can_close: h && (e || !p || a), length: o };
|
|
1994
1994
|
};
|
|
1995
|
-
|
|
1996
|
-
function
|
|
1995
|
+
Mu.prototype.Token = $;
|
|
1996
|
+
function Kn(u) {
|
|
1997
1997
|
switch (u) {
|
|
1998
1998
|
case 10:
|
|
1999
1999
|
case 33:
|
|
@@ -2023,18 +2023,18 @@ function Yn(u) {
|
|
|
2023
2023
|
return !1;
|
|
2024
2024
|
}
|
|
2025
2025
|
}
|
|
2026
|
-
function
|
|
2026
|
+
function ur(u, e) {
|
|
2027
2027
|
let t = u.pos;
|
|
2028
|
-
for (; t < u.posMax && !
|
|
2028
|
+
for (; t < u.posMax && !Kn(u.src.charCodeAt(t)); )
|
|
2029
2029
|
t++;
|
|
2030
2030
|
return t === u.pos ? !1 : (e || (u.pending += u.src.slice(u.pos, t)), u.pos = t, !0);
|
|
2031
2031
|
}
|
|
2032
|
-
const
|
|
2033
|
-
function
|
|
2032
|
+
const er = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
|
|
2033
|
+
function tr(u, e) {
|
|
2034
2034
|
if (!u.md.options.linkify || u.linkLevel > 0) return !1;
|
|
2035
2035
|
const t = u.pos, n = u.posMax;
|
|
2036
2036
|
if (t + 3 > n || u.src.charCodeAt(t) !== 58 || u.src.charCodeAt(t + 1) !== 47 || u.src.charCodeAt(t + 2) !== 47) return !1;
|
|
2037
|
-
const r = u.pending.match(
|
|
2037
|
+
const r = u.pending.match(er);
|
|
2038
2038
|
if (!r) return !1;
|
|
2039
2039
|
const c = r[1], o = u.md.linkify.matchAtStart(u.src.slice(t - c.length));
|
|
2040
2040
|
if (!o) return !1;
|
|
@@ -2054,7 +2054,7 @@ function er(u, e) {
|
|
|
2054
2054
|
}
|
|
2055
2055
|
return u.pos += i.length - c.length, !0;
|
|
2056
2056
|
}
|
|
2057
|
-
function
|
|
2057
|
+
function nr(u, e) {
|
|
2058
2058
|
let t = u.pos;
|
|
2059
2059
|
if (u.src.charCodeAt(t) !== 10)
|
|
2060
2060
|
return !1;
|
|
@@ -2069,23 +2069,23 @@ function tr(u, e) {
|
|
|
2069
2069
|
u.pending = u.pending.slice(0, -1), u.push("softbreak", "br", 0);
|
|
2070
2070
|
else
|
|
2071
2071
|
u.push("softbreak", "br", 0);
|
|
2072
|
-
for (t++; t < r &&
|
|
2072
|
+
for (t++; t < r && w(u.src.charCodeAt(t)); )
|
|
2073
2073
|
t++;
|
|
2074
2074
|
return u.pos = t, !0;
|
|
2075
2075
|
}
|
|
2076
|
-
const
|
|
2076
|
+
const ze = [];
|
|
2077
2077
|
for (let u = 0; u < 256; u++)
|
|
2078
|
-
|
|
2078
|
+
ze.push(0);
|
|
2079
2079
|
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
|
|
2080
|
-
|
|
2080
|
+
ze[u.charCodeAt(0)] = 1;
|
|
2081
2081
|
});
|
|
2082
|
-
function
|
|
2082
|
+
function rr(u, e) {
|
|
2083
2083
|
let t = u.pos;
|
|
2084
2084
|
const n = u.posMax;
|
|
2085
2085
|
if (u.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
|
|
2086
2086
|
let r = u.src.charCodeAt(t);
|
|
2087
2087
|
if (r === 10) {
|
|
2088
|
-
for (e || u.push("hardbreak", "br", 0), t++; t < n && (r = u.src.charCodeAt(t), !!
|
|
2088
|
+
for (e || u.push("hardbreak", "br", 0), t++; t < n && (r = u.src.charCodeAt(t), !!w(r)); )
|
|
2089
2089
|
t++;
|
|
2090
2090
|
return u.pos = t, !0;
|
|
2091
2091
|
}
|
|
@@ -2097,11 +2097,11 @@ function nr(u, e) {
|
|
|
2097
2097
|
const o = "\\" + c;
|
|
2098
2098
|
if (!e) {
|
|
2099
2099
|
const i = u.push("text_special", "", 0);
|
|
2100
|
-
r < 256 &&
|
|
2100
|
+
r < 256 && ze[r] !== 0 ? i.content = c : i.content = o, i.markup = o, i.info = "escape";
|
|
2101
2101
|
}
|
|
2102
2102
|
return u.pos = t + 1, !0;
|
|
2103
2103
|
}
|
|
2104
|
-
function
|
|
2104
|
+
function cr(u, e) {
|
|
2105
2105
|
let t = u.pos;
|
|
2106
2106
|
if (u.src.charCodeAt(t) !== 96)
|
|
2107
2107
|
return !1;
|
|
@@ -2129,7 +2129,7 @@ function rr(u, e) {
|
|
|
2129
2129
|
}
|
|
2130
2130
|
return u.backticksScanned = !0, e || (u.pending += o), u.pos += i, !0;
|
|
2131
2131
|
}
|
|
2132
|
-
function
|
|
2132
|
+
function or(u, e) {
|
|
2133
2133
|
const t = u.pos, n = u.src.charCodeAt(t);
|
|
2134
2134
|
if (e || n !== 126)
|
|
2135
2135
|
return !1;
|
|
@@ -2152,7 +2152,7 @@ function cr(u, e) {
|
|
|
2152
2152
|
});
|
|
2153
2153
|
return u.pos += r.length, !0;
|
|
2154
2154
|
}
|
|
2155
|
-
function
|
|
2155
|
+
function u0(u, e) {
|
|
2156
2156
|
let t;
|
|
2157
2157
|
const n = [], r = e.length;
|
|
2158
2158
|
for (let c = 0; c < r; c++) {
|
|
@@ -2170,17 +2170,17 @@ function Qe(u, e) {
|
|
|
2170
2170
|
o--, c !== o && (t = u.tokens[o], u.tokens[o] = u.tokens[c], u.tokens[c] = t);
|
|
2171
2171
|
}
|
|
2172
2172
|
}
|
|
2173
|
-
function
|
|
2173
|
+
function ir(u) {
|
|
2174
2174
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2175
|
-
|
|
2175
|
+
u0(u, u.delimiters);
|
|
2176
2176
|
for (let n = 0; n < t; n++)
|
|
2177
|
-
e[n] && e[n].delimiters &&
|
|
2177
|
+
e[n] && e[n].delimiters && u0(u, e[n].delimiters);
|
|
2178
2178
|
}
|
|
2179
|
-
const
|
|
2180
|
-
tokenize:
|
|
2181
|
-
postProcess:
|
|
2179
|
+
const q0 = {
|
|
2180
|
+
tokenize: or,
|
|
2181
|
+
postProcess: ir
|
|
2182
2182
|
};
|
|
2183
|
-
function
|
|
2183
|
+
function sr(u, e) {
|
|
2184
2184
|
const t = u.pos, n = u.src.charCodeAt(t);
|
|
2185
2185
|
if (e || n !== 95 && n !== 42)
|
|
2186
2186
|
return !1;
|
|
@@ -2210,7 +2210,7 @@ function ir(u, e) {
|
|
|
2210
2210
|
}
|
|
2211
2211
|
return u.pos += r.length, !0;
|
|
2212
2212
|
}
|
|
2213
|
-
function
|
|
2213
|
+
function e0(u, e) {
|
|
2214
2214
|
const t = e.length;
|
|
2215
2215
|
for (let n = t - 1; n >= 0; n--) {
|
|
2216
2216
|
const r = e[n];
|
|
@@ -2224,17 +2224,17 @@ function Ye(u, e) {
|
|
|
2224
2224
|
a.type = o ? "strong_close" : "em_close", a.tag = o ? "strong" : "em", a.nesting = -1, a.markup = o ? i + i : i, a.content = "", o && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
|
|
2225
2225
|
}
|
|
2226
2226
|
}
|
|
2227
|
-
function
|
|
2227
|
+
function ar(u) {
|
|
2228
2228
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2229
|
-
|
|
2229
|
+
e0(u, u.delimiters);
|
|
2230
2230
|
for (let n = 0; n < t; n++)
|
|
2231
|
-
e[n] && e[n].delimiters &&
|
|
2231
|
+
e[n] && e[n].delimiters && e0(u, e[n].delimiters);
|
|
2232
2232
|
}
|
|
2233
|
-
const
|
|
2234
|
-
tokenize:
|
|
2235
|
-
postProcess:
|
|
2233
|
+
const L0 = {
|
|
2234
|
+
tokenize: sr,
|
|
2235
|
+
postProcess: ar
|
|
2236
2236
|
};
|
|
2237
|
-
function
|
|
2237
|
+
function lr(u, e) {
|
|
2238
2238
|
let t, n, r, c, o = "", i = "", s = u.pos, a = !0;
|
|
2239
2239
|
if (u.src.charCodeAt(u.pos) !== 91)
|
|
2240
2240
|
return !1;
|
|
@@ -2243,15 +2243,15 @@ function ar(u, e) {
|
|
|
2243
2243
|
return !1;
|
|
2244
2244
|
let d = h + 1;
|
|
2245
2245
|
if (d < f && u.src.charCodeAt(d) === 40) {
|
|
2246
|
-
for (a = !1, d++; d < f && (t = u.src.charCodeAt(d), !(!
|
|
2246
|
+
for (a = !1, d++; d < f && (t = u.src.charCodeAt(d), !(!w(t) && t !== 10)); d++)
|
|
2247
2247
|
;
|
|
2248
2248
|
if (d >= f)
|
|
2249
2249
|
return !1;
|
|
2250
2250
|
if (s = d, r = u.md.helpers.parseLinkDestination(u.src, d, u.posMax), r.ok) {
|
|
2251
|
-
for (o = u.md.normalizeLink(r.str), u.md.validateLink(o) ? d = r.pos : o = "", s = d; d < f && (t = u.src.charCodeAt(d), !(!
|
|
2251
|
+
for (o = u.md.normalizeLink(r.str), u.md.validateLink(o) ? d = r.pos : o = "", s = d; d < f && (t = u.src.charCodeAt(d), !(!w(t) && t !== 10)); d++)
|
|
2252
2252
|
;
|
|
2253
2253
|
if (r = u.md.helpers.parseLinkTitle(u.src, d, u.posMax), d < f && s !== d && r.ok)
|
|
2254
|
-
for (i = r.str, d = r.pos; d < f && (t = u.src.charCodeAt(d), !(!
|
|
2254
|
+
for (i = r.str, d = r.pos; d < f && (t = u.src.charCodeAt(d), !(!w(t) && t !== 10)); d++)
|
|
2255
2255
|
;
|
|
2256
2256
|
}
|
|
2257
2257
|
(d >= f || u.src.charCodeAt(d) !== 41) && (a = !0), d++;
|
|
@@ -2259,7 +2259,7 @@ function ar(u, e) {
|
|
|
2259
2259
|
if (a) {
|
|
2260
2260
|
if (typeof u.env.references > "u")
|
|
2261
2261
|
return !1;
|
|
2262
|
-
if (d < f && u.src.charCodeAt(d) === 91 ? (s = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? n = u.src.slice(s, d++) : d = h + 1) : d = h + 1, n || (n = u.src.slice(p, h)), c = u.env.references[
|
|
2262
|
+
if (d < f && u.src.charCodeAt(d) === 91 ? (s = d + 1, d = u.md.helpers.parseLinkLabel(u, d), d >= 0 ? n = u.src.slice(s, d++) : d = h + 1) : d = h + 1, n || (n = u.src.slice(p, h)), c = u.env.references[Yu(n)], !c)
|
|
2263
2263
|
return u.pos = l, !1;
|
|
2264
2264
|
o = c.href, i = c.title;
|
|
2265
2265
|
}
|
|
@@ -2270,7 +2270,7 @@ function ar(u, e) {
|
|
|
2270
2270
|
}
|
|
2271
2271
|
return u.pos = d, u.posMax = f, !0;
|
|
2272
2272
|
}
|
|
2273
|
-
function
|
|
2273
|
+
function fr(u, e) {
|
|
2274
2274
|
let t, n, r, c, o, i, s, a, l = "";
|
|
2275
2275
|
const f = u.pos, p = u.posMax;
|
|
2276
2276
|
if (u.src.charCodeAt(u.pos) !== 33 || u.src.charCodeAt(u.pos + 1) !== 91)
|
|
@@ -2279,14 +2279,14 @@ function lr(u, e) {
|
|
|
2279
2279
|
if (d < 0)
|
|
2280
2280
|
return !1;
|
|
2281
2281
|
if (c = d + 1, c < p && u.src.charCodeAt(c) === 40) {
|
|
2282
|
-
for (c++; c < p && (t = u.src.charCodeAt(c), !(!
|
|
2282
|
+
for (c++; c < p && (t = u.src.charCodeAt(c), !(!w(t) && t !== 10)); c++)
|
|
2283
2283
|
;
|
|
2284
2284
|
if (c >= p)
|
|
2285
2285
|
return !1;
|
|
2286
|
-
for (a = c, i = u.md.helpers.parseLinkDestination(u.src, c, u.posMax), i.ok && (l = u.md.normalizeLink(i.str), u.md.validateLink(l) ? c = i.pos : l = ""), a = c; c < p && (t = u.src.charCodeAt(c), !(!
|
|
2286
|
+
for (a = c, i = u.md.helpers.parseLinkDestination(u.src, c, u.posMax), i.ok && (l = u.md.normalizeLink(i.str), u.md.validateLink(l) ? c = i.pos : l = ""), a = c; c < p && (t = u.src.charCodeAt(c), !(!w(t) && t !== 10)); c++)
|
|
2287
2287
|
;
|
|
2288
2288
|
if (i = u.md.helpers.parseLinkTitle(u.src, c, u.posMax), c < p && a !== c && i.ok)
|
|
2289
|
-
for (s = i.str, c = i.pos; c < p && (t = u.src.charCodeAt(c), !(!
|
|
2289
|
+
for (s = i.str, c = i.pos; c < p && (t = u.src.charCodeAt(c), !(!w(t) && t !== 10)); c++)
|
|
2290
2290
|
;
|
|
2291
2291
|
else
|
|
2292
2292
|
s = "";
|
|
@@ -2296,7 +2296,7 @@ function lr(u, e) {
|
|
|
2296
2296
|
} else {
|
|
2297
2297
|
if (typeof u.env.references > "u")
|
|
2298
2298
|
return !1;
|
|
2299
|
-
if (c < p && u.src.charCodeAt(c) === 91 ? (a = c + 1, c = u.md.helpers.parseLinkLabel(u, c), c >= 0 ? r = u.src.slice(a, c++) : c = d + 1) : c = d + 1, r || (r = u.src.slice(h, d)), o = u.env.references[
|
|
2299
|
+
if (c < p && u.src.charCodeAt(c) === 91 ? (a = c + 1, c = u.md.helpers.parseLinkLabel(u, c), c >= 0 ? r = u.src.slice(a, c++) : c = d + 1) : c = d + 1, r || (r = u.src.slice(h, d)), o = u.env.references[Yu(r)], !o)
|
|
2300
2300
|
return u.pos = f, !1;
|
|
2301
2301
|
l = o.href, s = o.title;
|
|
2302
2302
|
}
|
|
@@ -2314,8 +2314,8 @@ function lr(u, e) {
|
|
|
2314
2314
|
}
|
|
2315
2315
|
return u.pos = c, u.posMax = p, !0;
|
|
2316
2316
|
}
|
|
2317
|
-
const
|
|
2318
|
-
function
|
|
2317
|
+
const dr = /^([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])?)*)$/, hr = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
|
|
2318
|
+
function pr(u, e) {
|
|
2319
2319
|
let t = u.pos;
|
|
2320
2320
|
if (u.src.charCodeAt(t) !== 60)
|
|
2321
2321
|
return !1;
|
|
@@ -2327,7 +2327,7 @@ function hr(u, e) {
|
|
|
2327
2327
|
if (o === 62) break;
|
|
2328
2328
|
}
|
|
2329
2329
|
const c = u.src.slice(n + 1, t);
|
|
2330
|
-
if (
|
|
2330
|
+
if (hr.test(c)) {
|
|
2331
2331
|
const o = u.md.normalizeLink(c);
|
|
2332
2332
|
if (!u.md.validateLink(o))
|
|
2333
2333
|
return !1;
|
|
@@ -2341,7 +2341,7 @@ function hr(u, e) {
|
|
|
2341
2341
|
}
|
|
2342
2342
|
return u.pos += c.length + 2, !0;
|
|
2343
2343
|
}
|
|
2344
|
-
if (
|
|
2344
|
+
if (dr.test(c)) {
|
|
2345
2345
|
const o = u.md.normalizeLink("mailto:" + c);
|
|
2346
2346
|
if (!u.md.validateLink(o))
|
|
2347
2347
|
return !1;
|
|
@@ -2357,51 +2357,51 @@ function hr(u, e) {
|
|
|
2357
2357
|
}
|
|
2358
2358
|
return !1;
|
|
2359
2359
|
}
|
|
2360
|
-
function
|
|
2360
|
+
function br(u) {
|
|
2361
2361
|
return /^<a[>\s]/i.test(u);
|
|
2362
2362
|
}
|
|
2363
|
-
function
|
|
2363
|
+
function xr(u) {
|
|
2364
2364
|
return /^<\/a\s*>/i.test(u);
|
|
2365
2365
|
}
|
|
2366
|
-
function
|
|
2366
|
+
function mr(u) {
|
|
2367
2367
|
const e = u | 32;
|
|
2368
2368
|
return e >= 97 && e <= 122;
|
|
2369
2369
|
}
|
|
2370
|
-
function
|
|
2370
|
+
function _r(u, e) {
|
|
2371
2371
|
if (!u.md.options.html)
|
|
2372
2372
|
return !1;
|
|
2373
2373
|
const t = u.posMax, n = u.pos;
|
|
2374
2374
|
if (u.src.charCodeAt(n) !== 60 || n + 2 >= t)
|
|
2375
2375
|
return !1;
|
|
2376
2376
|
const r = u.src.charCodeAt(n + 1);
|
|
2377
|
-
if (r !== 33 && r !== 63 && r !== 47 && !
|
|
2377
|
+
if (r !== 33 && r !== 63 && r !== 47 && !mr(r))
|
|
2378
2378
|
return !1;
|
|
2379
|
-
const c = u.src.slice(n).match(
|
|
2379
|
+
const c = u.src.slice(n).match(Wn);
|
|
2380
2380
|
if (!c)
|
|
2381
2381
|
return !1;
|
|
2382
2382
|
if (!e) {
|
|
2383
2383
|
const o = u.push("html_inline", "", 0);
|
|
2384
|
-
o.content = c[0],
|
|
2384
|
+
o.content = c[0], br(o.content) && u.linkLevel++, xr(o.content) && u.linkLevel--;
|
|
2385
2385
|
}
|
|
2386
2386
|
return u.pos += c[0].length, !0;
|
|
2387
2387
|
}
|
|
2388
|
-
const
|
|
2389
|
-
function
|
|
2388
|
+
const gr = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, kr = /^&([a-z][a-z0-9]{1,31});/i;
|
|
2389
|
+
function yr(u, e) {
|
|
2390
2390
|
const t = u.pos, n = u.posMax;
|
|
2391
2391
|
if (u.src.charCodeAt(t) !== 38 || t + 1 >= n) return !1;
|
|
2392
2392
|
if (u.src.charCodeAt(t + 1) === 35) {
|
|
2393
|
-
const c = u.src.slice(t).match(
|
|
2393
|
+
const c = u.src.slice(t).match(gr);
|
|
2394
2394
|
if (c) {
|
|
2395
2395
|
if (!e) {
|
|
2396
2396
|
const o = c[1][0].toLowerCase() === "x" ? parseInt(c[1].slice(1), 16) : parseInt(c[1], 10), i = u.push("text_special", "", 0);
|
|
2397
|
-
i.content =
|
|
2397
|
+
i.content = Be(o) ? Zu(o) : Zu(65533), i.markup = c[0], i.info = "entity";
|
|
2398
2398
|
}
|
|
2399
2399
|
return u.pos += c[0].length, !0;
|
|
2400
2400
|
}
|
|
2401
2401
|
} else {
|
|
2402
|
-
const c = u.src.slice(t).match(
|
|
2402
|
+
const c = u.src.slice(t).match(kr);
|
|
2403
2403
|
if (c) {
|
|
2404
|
-
const o =
|
|
2404
|
+
const o = w0(c[0]);
|
|
2405
2405
|
if (o !== c[0]) {
|
|
2406
2406
|
if (!e) {
|
|
2407
2407
|
const i = u.push("text_special", "", 0);
|
|
@@ -2413,7 +2413,7 @@ function kr(u, e) {
|
|
|
2413
2413
|
}
|
|
2414
2414
|
return !1;
|
|
2415
2415
|
}
|
|
2416
|
-
function
|
|
2416
|
+
function t0(u) {
|
|
2417
2417
|
const e = {}, t = u.length;
|
|
2418
2418
|
if (!t) return;
|
|
2419
2419
|
let n = 0, r = -2;
|
|
@@ -2438,49 +2438,49 @@ function Ke(u) {
|
|
|
2438
2438
|
l !== -1 && (e[i.marker][(i.open ? 3 : 0) + (i.length || 0) % 3] = l);
|
|
2439
2439
|
}
|
|
2440
2440
|
}
|
|
2441
|
-
function
|
|
2441
|
+
function Cr(u) {
|
|
2442
2442
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2443
|
-
|
|
2443
|
+
t0(u.delimiters);
|
|
2444
2444
|
for (let n = 0; n < t; n++)
|
|
2445
|
-
e[n] && e[n].delimiters &&
|
|
2445
|
+
e[n] && e[n].delimiters && t0(e[n].delimiters);
|
|
2446
2446
|
}
|
|
2447
|
-
function
|
|
2447
|
+
function Dr(u) {
|
|
2448
2448
|
let e, t, n = 0;
|
|
2449
2449
|
const r = u.tokens, c = u.tokens.length;
|
|
2450
2450
|
for (e = t = 0; e < c; e++)
|
|
2451
2451
|
r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < c && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
|
|
2452
2452
|
e !== t && (r.length = t);
|
|
2453
2453
|
}
|
|
2454
|
-
const
|
|
2455
|
-
["text",
|
|
2456
|
-
["linkify",
|
|
2457
|
-
["newline",
|
|
2458
|
-
["escape",
|
|
2459
|
-
["backticks",
|
|
2460
|
-
["strikethrough",
|
|
2461
|
-
["emphasis",
|
|
2462
|
-
["link",
|
|
2463
|
-
["image",
|
|
2464
|
-
["autolink",
|
|
2465
|
-
["html_inline",
|
|
2466
|
-
["entity",
|
|
2467
|
-
],
|
|
2468
|
-
["balance_pairs",
|
|
2469
|
-
["strikethrough",
|
|
2470
|
-
["emphasis",
|
|
2454
|
+
const fe = [
|
|
2455
|
+
["text", ur],
|
|
2456
|
+
["linkify", tr],
|
|
2457
|
+
["newline", nr],
|
|
2458
|
+
["escape", rr],
|
|
2459
|
+
["backticks", cr],
|
|
2460
|
+
["strikethrough", q0.tokenize],
|
|
2461
|
+
["emphasis", L0.tokenize],
|
|
2462
|
+
["link", lr],
|
|
2463
|
+
["image", fr],
|
|
2464
|
+
["autolink", pr],
|
|
2465
|
+
["html_inline", _r],
|
|
2466
|
+
["entity", yr]
|
|
2467
|
+
], de = [
|
|
2468
|
+
["balance_pairs", Cr],
|
|
2469
|
+
["strikethrough", q0.postProcess],
|
|
2470
|
+
["emphasis", L0.postProcess],
|
|
2471
2471
|
// rules for pairs separate '**' into its own text tokens, which may be left unused,
|
|
2472
2472
|
// rule below merges unused segments back with the rest of the text
|
|
2473
|
-
["fragments_join",
|
|
2473
|
+
["fragments_join", Dr]
|
|
2474
2474
|
];
|
|
2475
|
-
function
|
|
2476
|
-
this.ruler = new
|
|
2477
|
-
for (let u = 0; u < le.length; u++)
|
|
2478
|
-
this.ruler.push(le[u][0], le[u][1]);
|
|
2479
|
-
this.ruler2 = new z();
|
|
2475
|
+
function Iu() {
|
|
2476
|
+
this.ruler = new q();
|
|
2480
2477
|
for (let u = 0; u < fe.length; u++)
|
|
2481
|
-
this.
|
|
2478
|
+
this.ruler.push(fe[u][0], fe[u][1]);
|
|
2479
|
+
this.ruler2 = new q();
|
|
2480
|
+
for (let u = 0; u < de.length; u++)
|
|
2481
|
+
this.ruler2.push(de[u][0], de[u][1]);
|
|
2482
2482
|
}
|
|
2483
|
-
|
|
2483
|
+
Iu.prototype.skipToken = function(u) {
|
|
2484
2484
|
const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, c = u.cache;
|
|
2485
2485
|
if (typeof c[e] < "u") {
|
|
2486
2486
|
u.pos = c[e];
|
|
@@ -2498,7 +2498,7 @@ qu.prototype.skipToken = function(u) {
|
|
|
2498
2498
|
u.pos = u.posMax;
|
|
2499
2499
|
o || u.pos++, c[e] = u.pos;
|
|
2500
2500
|
};
|
|
2501
|
-
|
|
2501
|
+
Iu.prototype.tokenize = function(u) {
|
|
2502
2502
|
const e = this.ruler.getRules(""), t = e.length, n = u.posMax, r = u.md.options.maxNesting;
|
|
2503
2503
|
for (; u.pos < n; ) {
|
|
2504
2504
|
const c = u.pos;
|
|
@@ -2520,17 +2520,17 @@ qu.prototype.tokenize = function(u) {
|
|
|
2520
2520
|
}
|
|
2521
2521
|
u.pending && u.pushPending();
|
|
2522
2522
|
};
|
|
2523
|
-
|
|
2523
|
+
Iu.prototype.parse = function(u, e, t, n) {
|
|
2524
2524
|
const r = new this.State(u, e, t, n);
|
|
2525
2525
|
this.tokenize(r);
|
|
2526
2526
|
const c = this.ruler2.getRules(""), o = c.length;
|
|
2527
2527
|
for (let i = 0; i < o; i++)
|
|
2528
2528
|
c[i](r);
|
|
2529
2529
|
};
|
|
2530
|
-
|
|
2531
|
-
function
|
|
2530
|
+
Iu.prototype.State = Mu;
|
|
2531
|
+
function Er(u) {
|
|
2532
2532
|
const e = {};
|
|
2533
|
-
u = u || {}, e.src_Any =
|
|
2533
|
+
u = u || {}, e.src_Any = C0.source, e.src_Cc = D0.source, e.src_Z = A0.source, e.src_P = Se.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
|
|
2534
2534
|
const t = "[><|]";
|
|
2535
2535
|
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
|
|
2536
2536
|
",(?!" + 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)
|
|
@@ -2547,35 +2547,35 @@ function ge(u) {
|
|
|
2547
2547
|
});
|
|
2548
2548
|
}), u;
|
|
2549
2549
|
}
|
|
2550
|
-
function
|
|
2550
|
+
function ue(u) {
|
|
2551
2551
|
return Object.prototype.toString.call(u);
|
|
2552
2552
|
}
|
|
2553
|
-
function Er(u) {
|
|
2554
|
-
return Ku(u) === "[object String]";
|
|
2555
|
-
}
|
|
2556
2553
|
function Ar(u) {
|
|
2557
|
-
return
|
|
2554
|
+
return ue(u) === "[object String]";
|
|
2558
2555
|
}
|
|
2559
2556
|
function Fr(u) {
|
|
2560
|
-
return
|
|
2561
|
-
}
|
|
2562
|
-
function u0(u) {
|
|
2563
|
-
return Ku(u) === "[object Function]";
|
|
2557
|
+
return ue(u) === "[object Object]";
|
|
2564
2558
|
}
|
|
2565
2559
|
function wr(u) {
|
|
2560
|
+
return ue(u) === "[object RegExp]";
|
|
2561
|
+
}
|
|
2562
|
+
function n0(u) {
|
|
2563
|
+
return ue(u) === "[object Function]";
|
|
2564
|
+
}
|
|
2565
|
+
function vr(u) {
|
|
2566
2566
|
return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
2567
2567
|
}
|
|
2568
|
-
const
|
|
2568
|
+
const M0 = {
|
|
2569
2569
|
fuzzyLink: !0,
|
|
2570
2570
|
fuzzyEmail: !0,
|
|
2571
2571
|
fuzzyIP: !1
|
|
2572
2572
|
};
|
|
2573
|
-
function
|
|
2573
|
+
function Sr(u) {
|
|
2574
2574
|
return Object.keys(u || {}).reduce(function(e, t) {
|
|
2575
|
-
return e ||
|
|
2575
|
+
return e || M0.hasOwnProperty(t);
|
|
2576
2576
|
}, !1);
|
|
2577
2577
|
}
|
|
2578
|
-
const
|
|
2578
|
+
const Tr = {
|
|
2579
2579
|
"http:": {
|
|
2580
2580
|
validate: function(u, e, t) {
|
|
2581
2581
|
const n = u.slice(e);
|
|
@@ -2607,24 +2607,24 @@ const Sr = {
|
|
|
2607
2607
|
)), t.re.mailto.test(n) ? n.match(t.re.mailto)[0].length : 0;
|
|
2608
2608
|
}
|
|
2609
2609
|
}
|
|
2610
|
-
},
|
|
2611
|
-
function
|
|
2610
|
+
}, Br = "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]", Rr = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
|
|
2611
|
+
function zr(u) {
|
|
2612
2612
|
u.__index__ = -1, u.__text_cache__ = "";
|
|
2613
2613
|
}
|
|
2614
|
-
function
|
|
2614
|
+
function qr(u) {
|
|
2615
2615
|
return function(e, t) {
|
|
2616
2616
|
const n = e.slice(t);
|
|
2617
2617
|
return u.test(n) ? n.match(u)[0].length : 0;
|
|
2618
2618
|
};
|
|
2619
2619
|
}
|
|
2620
|
-
function
|
|
2620
|
+
function r0() {
|
|
2621
2621
|
return function(u, e) {
|
|
2622
2622
|
e.normalize(u);
|
|
2623
2623
|
};
|
|
2624
2624
|
}
|
|
2625
|
-
function
|
|
2626
|
-
const e = u.re =
|
|
2627
|
-
u.onCompile(), u.__tlds_replaced__ || t.push(
|
|
2625
|
+
function Wu(u) {
|
|
2626
|
+
const e = u.re = Er(u.__opts__), t = u.__tlds__.slice();
|
|
2627
|
+
u.onCompile(), u.__tlds_replaced__ || t.push(Br), t.push(e.src_xn), e.src_tlds = t.join("|");
|
|
2628
2628
|
function n(i) {
|
|
2629
2629
|
return i.replace("%TLDS%", e.src_tlds);
|
|
2630
2630
|
}
|
|
@@ -2639,25 +2639,25 @@ function Uu(u) {
|
|
|
2639
2639
|
if (s === null)
|
|
2640
2640
|
return;
|
|
2641
2641
|
const a = { validate: null, link: null };
|
|
2642
|
-
if (u.__compiled__[i] = a,
|
|
2643
|
-
|
|
2642
|
+
if (u.__compiled__[i] = a, Fr(s)) {
|
|
2643
|
+
wr(s.validate) ? a.validate = qr(s.validate) : n0(s.validate) ? a.validate = s.validate : c(i, s), n0(s.normalize) ? a.normalize = s.normalize : s.normalize ? c(i, s) : a.normalize = r0();
|
|
2644
2644
|
return;
|
|
2645
2645
|
}
|
|
2646
|
-
if (
|
|
2646
|
+
if (Ar(s)) {
|
|
2647
2647
|
r.push(i);
|
|
2648
2648
|
return;
|
|
2649
2649
|
}
|
|
2650
2650
|
c(i, s);
|
|
2651
2651
|
}), r.forEach(function(i) {
|
|
2652
2652
|
u.__compiled__[u.__schemas__[i]] && (u.__compiled__[i].validate = u.__compiled__[u.__schemas__[i]].validate, u.__compiled__[i].normalize = u.__compiled__[u.__schemas__[i]].normalize);
|
|
2653
|
-
}), u.__compiled__[""] = { validate: null, normalize:
|
|
2653
|
+
}), u.__compiled__[""] = { validate: null, normalize: r0() };
|
|
2654
2654
|
const o = Object.keys(u.__compiled__).filter(function(i) {
|
|
2655
2655
|
return i.length > 0 && u.__compiled__[i];
|
|
2656
|
-
}).map(
|
|
2656
|
+
}).map(vr).join("|");
|
|
2657
2657
|
u.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + o + ")", "i"), u.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + o + ")", "ig"), u.re.schema_at_start = RegExp("^" + u.re.schema_search.source, "i"), u.re.pretest = RegExp(
|
|
2658
2658
|
"(" + u.re.schema_test.source + ")|(" + u.re.host_fuzzy_test.source + ")|@",
|
|
2659
2659
|
"i"
|
|
2660
|
-
),
|
|
2660
|
+
), zr(u);
|
|
2661
2661
|
}
|
|
2662
2662
|
function Lr(u, e) {
|
|
2663
2663
|
const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
|
|
@@ -2667,18 +2667,18 @@ function ke(u, e) {
|
|
|
2667
2667
|
const t = new Lr(u, e);
|
|
2668
2668
|
return u.__compiled__[t.schema].normalize(t, u), t;
|
|
2669
2669
|
}
|
|
2670
|
-
function
|
|
2671
|
-
if (!(this instanceof
|
|
2672
|
-
return new
|
|
2673
|
-
e ||
|
|
2670
|
+
function M(u, e) {
|
|
2671
|
+
if (!(this instanceof M))
|
|
2672
|
+
return new M(u, e);
|
|
2673
|
+
e || Sr(u) && (e = u, u = {}), this.__opts__ = ge({}, M0, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = ge({}, Tr, u), this.__compiled__ = {}, this.__tlds__ = Rr, this.__tlds_replaced__ = !1, this.re = {}, Wu(this);
|
|
2674
2674
|
}
|
|
2675
|
-
|
|
2676
|
-
return this.__schemas__[e] = t,
|
|
2675
|
+
M.prototype.add = function(e, t) {
|
|
2676
|
+
return this.__schemas__[e] = t, Wu(this), this;
|
|
2677
2677
|
};
|
|
2678
|
-
|
|
2678
|
+
M.prototype.set = function(e) {
|
|
2679
2679
|
return this.__opts__ = ge(this.__opts__, e), this;
|
|
2680
2680
|
};
|
|
2681
|
-
|
|
2681
|
+
M.prototype.test = function(e) {
|
|
2682
2682
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
|
|
2683
2683
|
return !1;
|
|
2684
2684
|
let t, n, r, c, o, i, s, a, l;
|
|
@@ -2691,13 +2691,13 @@ q.prototype.test = function(e) {
|
|
|
2691
2691
|
}
|
|
2692
2692
|
return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (a = e.search(this.re.host_fuzzy_test), a >= 0 && (this.__index__ < 0 || a < this.__index__) && (n = e.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (o = n.index + n[1].length, (this.__index__ < 0 || o < this.__index__) && (this.__schema__ = "", this.__index__ = o, this.__last_index__ = n.index + n[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (l = e.indexOf("@"), l >= 0 && (r = e.match(this.re.email_fuzzy)) !== null && (o = r.index + r[1].length, i = r.index + r[0].length, (this.__index__ < 0 || o < this.__index__ || o === this.__index__ && i > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = o, this.__last_index__ = i))), this.__index__ >= 0;
|
|
2693
2693
|
};
|
|
2694
|
-
|
|
2694
|
+
M.prototype.pretest = function(e) {
|
|
2695
2695
|
return this.re.pretest.test(e);
|
|
2696
2696
|
};
|
|
2697
|
-
|
|
2697
|
+
M.prototype.testSchemaAt = function(e, t, n) {
|
|
2698
2698
|
return this.__compiled__[t.toLowerCase()] ? this.__compiled__[t.toLowerCase()].validate(e, n, this) : 0;
|
|
2699
2699
|
};
|
|
2700
|
-
|
|
2700
|
+
M.prototype.match = function(e) {
|
|
2701
2701
|
const t = [];
|
|
2702
2702
|
let n = 0;
|
|
2703
2703
|
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(ke(this, n)), n = this.__last_index__);
|
|
@@ -2706,46 +2706,46 @@ q.prototype.match = function(e) {
|
|
|
2706
2706
|
t.push(ke(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
|
|
2707
2707
|
return t.length ? t : null;
|
|
2708
2708
|
};
|
|
2709
|
-
|
|
2709
|
+
M.prototype.matchAtStart = function(e) {
|
|
2710
2710
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length) return null;
|
|
2711
2711
|
const t = this.re.schema_at_start.exec(e);
|
|
2712
2712
|
if (!t) return null;
|
|
2713
2713
|
const n = this.testSchemaAt(e, t[2], t[0].length);
|
|
2714
2714
|
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, ke(this, 0)) : null;
|
|
2715
2715
|
};
|
|
2716
|
-
|
|
2716
|
+
M.prototype.tlds = function(e, t) {
|
|
2717
2717
|
return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, c) {
|
|
2718
2718
|
return n !== c[r - 1];
|
|
2719
|
-
}).reverse(),
|
|
2719
|
+
}).reverse(), Wu(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, Wu(this), this);
|
|
2720
2720
|
};
|
|
2721
|
-
|
|
2721
|
+
M.prototype.normalize = function(e) {
|
|
2722
2722
|
e.schema || (e.url = "http://" + e.url), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = "mailto:" + e.url);
|
|
2723
2723
|
};
|
|
2724
|
-
|
|
2724
|
+
M.prototype.onCompile = function() {
|
|
2725
2725
|
};
|
|
2726
|
-
const _u = 2147483647,
|
|
2726
|
+
const _u = 2147483647, G = 36, qe = 1, Ru = 26, Mr = 38, Ir = 700, I0 = 72, O0 = 128, P0 = "-", Or = /^xn--/, Pr = /[^\0-\x7F]/, $r = /[\x2E\u3002\uFF0E\uFF61]/g, Nr = {
|
|
2727
2727
|
overflow: "Overflow: input needs wider integers to process",
|
|
2728
2728
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
2729
2729
|
"invalid-input": "Invalid input"
|
|
2730
|
-
},
|
|
2731
|
-
function
|
|
2732
|
-
throw new RangeError(
|
|
2730
|
+
}, he = G - qe, X = Math.floor, pe = String.fromCharCode;
|
|
2731
|
+
function ru(u) {
|
|
2732
|
+
throw new RangeError(Nr[u]);
|
|
2733
2733
|
}
|
|
2734
|
-
function
|
|
2734
|
+
function jr(u, e) {
|
|
2735
2735
|
const t = [];
|
|
2736
2736
|
let n = u.length;
|
|
2737
2737
|
for (; n--; )
|
|
2738
2738
|
t[n] = e(u[n]);
|
|
2739
2739
|
return t;
|
|
2740
2740
|
}
|
|
2741
|
-
function
|
|
2741
|
+
function $0(u, e) {
|
|
2742
2742
|
const t = u.split("@");
|
|
2743
2743
|
let n = "";
|
|
2744
|
-
t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(
|
|
2745
|
-
const r = u.split("."), c =
|
|
2744
|
+
t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace($r, ".");
|
|
2745
|
+
const r = u.split("."), c = jr(r, e).join(".");
|
|
2746
2746
|
return n + c;
|
|
2747
2747
|
}
|
|
2748
|
-
function
|
|
2748
|
+
function N0(u) {
|
|
2749
2749
|
const e = [];
|
|
2750
2750
|
let t = 0;
|
|
2751
2751
|
const n = u.length;
|
|
@@ -2759,78 +2759,78 @@ function q0(u) {
|
|
|
2759
2759
|
}
|
|
2760
2760
|
return e;
|
|
2761
2761
|
}
|
|
2762
|
-
const
|
|
2763
|
-
return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 :
|
|
2764
|
-
},
|
|
2762
|
+
const Hr = (u) => String.fromCodePoint(...u), Vr = function(u) {
|
|
2763
|
+
return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : G;
|
|
2764
|
+
}, c0 = function(u, e) {
|
|
2765
2765
|
return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
|
|
2766
|
-
},
|
|
2766
|
+
}, j0 = function(u, e, t) {
|
|
2767
2767
|
let n = 0;
|
|
2768
|
-
for (u = t ?
|
|
2769
|
-
u =
|
|
2770
|
-
return
|
|
2771
|
-
},
|
|
2768
|
+
for (u = t ? X(u / Ir) : u >> 1, u += X(u / e); u > he * Ru >> 1; n += G)
|
|
2769
|
+
u = X(u / he);
|
|
2770
|
+
return X(n + (he + 1) * u / (u + Mr));
|
|
2771
|
+
}, H0 = function(u) {
|
|
2772
2772
|
const e = [], t = u.length;
|
|
2773
|
-
let n = 0, r =
|
|
2773
|
+
let n = 0, r = O0, c = I0, o = u.lastIndexOf(P0);
|
|
2774
2774
|
o < 0 && (o = 0);
|
|
2775
2775
|
for (let i = 0; i < o; ++i)
|
|
2776
|
-
u.charCodeAt(i) >= 128 &&
|
|
2776
|
+
u.charCodeAt(i) >= 128 && ru("not-basic"), e.push(u.charCodeAt(i));
|
|
2777
2777
|
for (let i = o > 0 ? o + 1 : 0; i < t; ) {
|
|
2778
2778
|
const s = n;
|
|
2779
|
-
for (let l = 1, f =
|
|
2780
|
-
i >= t &&
|
|
2781
|
-
const p =
|
|
2782
|
-
p >=
|
|
2783
|
-
const h = f <= c ?
|
|
2779
|
+
for (let l = 1, f = G; ; f += G) {
|
|
2780
|
+
i >= t && ru("invalid-input");
|
|
2781
|
+
const p = Vr(u.charCodeAt(i++));
|
|
2782
|
+
p >= G && ru("invalid-input"), p > X((_u - n) / l) && ru("overflow"), n += p * l;
|
|
2783
|
+
const h = f <= c ? qe : f >= c + Ru ? Ru : f - c;
|
|
2784
2784
|
if (p < h)
|
|
2785
2785
|
break;
|
|
2786
|
-
const d =
|
|
2787
|
-
l >
|
|
2786
|
+
const d = G - h;
|
|
2787
|
+
l > X(_u / d) && ru("overflow"), l *= d;
|
|
2788
2788
|
}
|
|
2789
2789
|
const a = e.length + 1;
|
|
2790
|
-
c =
|
|
2790
|
+
c = j0(n - s, a, s == 0), X(n / a) > _u - r && ru("overflow"), r += X(n / a), n %= a, e.splice(n++, 0, r);
|
|
2791
2791
|
}
|
|
2792
2792
|
return String.fromCodePoint(...e);
|
|
2793
|
-
},
|
|
2793
|
+
}, V0 = function(u) {
|
|
2794
2794
|
const e = [];
|
|
2795
|
-
u =
|
|
2795
|
+
u = N0(u);
|
|
2796
2796
|
const t = u.length;
|
|
2797
|
-
let n =
|
|
2797
|
+
let n = O0, r = 0, c = I0;
|
|
2798
2798
|
for (const s of u)
|
|
2799
|
-
s < 128 && e.push(
|
|
2799
|
+
s < 128 && e.push(pe(s));
|
|
2800
2800
|
const o = e.length;
|
|
2801
2801
|
let i = o;
|
|
2802
|
-
for (o && e.push(
|
|
2802
|
+
for (o && e.push(P0); i < t; ) {
|
|
2803
2803
|
let s = _u;
|
|
2804
2804
|
for (const l of u)
|
|
2805
2805
|
l >= n && l < s && (s = l);
|
|
2806
2806
|
const a = i + 1;
|
|
2807
|
-
s - n >
|
|
2807
|
+
s - n > X((_u - r) / a) && ru("overflow"), r += (s - n) * a, n = s;
|
|
2808
2808
|
for (const l of u)
|
|
2809
|
-
if (l < n && ++r > _u &&
|
|
2809
|
+
if (l < n && ++r > _u && ru("overflow"), l === n) {
|
|
2810
2810
|
let f = r;
|
|
2811
|
-
for (let p =
|
|
2812
|
-
const h = p <= c ?
|
|
2811
|
+
for (let p = G; ; p += G) {
|
|
2812
|
+
const h = p <= c ? qe : p >= c + Ru ? Ru : p - c;
|
|
2813
2813
|
if (f < h)
|
|
2814
2814
|
break;
|
|
2815
|
-
const d = f - h, b =
|
|
2815
|
+
const d = f - h, b = G - h;
|
|
2816
2816
|
e.push(
|
|
2817
|
-
|
|
2818
|
-
), f =
|
|
2817
|
+
pe(c0(h + d % b, 0))
|
|
2818
|
+
), f = X(d / b);
|
|
2819
2819
|
}
|
|
2820
|
-
e.push(
|
|
2820
|
+
e.push(pe(c0(f, 0))), c = j0(r, a, i === o), r = 0, ++i;
|
|
2821
2821
|
}
|
|
2822
2822
|
++r, ++n;
|
|
2823
2823
|
}
|
|
2824
2824
|
return e.join("");
|
|
2825
|
-
}, Vr = function(u) {
|
|
2826
|
-
return L0(u, function(e) {
|
|
2827
|
-
return Ir.test(e) ? I0(e.slice(4).toLowerCase()) : e;
|
|
2828
|
-
});
|
|
2829
2825
|
}, Ur = function(u) {
|
|
2830
|
-
return
|
|
2831
|
-
return Or.test(e) ?
|
|
2826
|
+
return $0(u, function(e) {
|
|
2827
|
+
return Or.test(e) ? H0(e.slice(4).toLowerCase()) : e;
|
|
2828
|
+
});
|
|
2829
|
+
}, Zr = function(u) {
|
|
2830
|
+
return $0(u, function(e) {
|
|
2831
|
+
return Pr.test(e) ? "xn--" + V0(e) : e;
|
|
2832
2832
|
});
|
|
2833
|
-
},
|
|
2833
|
+
}, U0 = {
|
|
2834
2834
|
/**
|
|
2835
2835
|
* A string representing the current Punycode.js version number.
|
|
2836
2836
|
* @memberOf punycode
|
|
@@ -2845,14 +2845,14 @@ const jr = (u) => String.fromCodePoint(...u), Hr = function(u) {
|
|
|
2845
2845
|
* @type Object
|
|
2846
2846
|
*/
|
|
2847
2847
|
ucs2: {
|
|
2848
|
-
decode:
|
|
2849
|
-
encode:
|
|
2848
|
+
decode: N0,
|
|
2849
|
+
encode: Hr
|
|
2850
2850
|
},
|
|
2851
|
-
decode:
|
|
2852
|
-
encode:
|
|
2853
|
-
toASCII:
|
|
2854
|
-
toUnicode:
|
|
2855
|
-
},
|
|
2851
|
+
decode: H0,
|
|
2852
|
+
encode: V0,
|
|
2853
|
+
toASCII: Zr,
|
|
2854
|
+
toUnicode: Ur
|
|
2855
|
+
}, Wr = {
|
|
2856
2856
|
options: {
|
|
2857
2857
|
// Enable HTML tags in source
|
|
2858
2858
|
html: !1,
|
|
@@ -2888,7 +2888,7 @@ const jr = (u) => String.fromCodePoint(...u), Hr = function(u) {
|
|
|
2888
2888
|
block: {},
|
|
2889
2889
|
inline: {}
|
|
2890
2890
|
}
|
|
2891
|
-
},
|
|
2891
|
+
}, Gr = {
|
|
2892
2892
|
options: {
|
|
2893
2893
|
// Enable HTML tags in source
|
|
2894
2894
|
html: !1,
|
|
@@ -2943,7 +2943,7 @@ const jr = (u) => String.fromCodePoint(...u), Hr = function(u) {
|
|
|
2943
2943
|
]
|
|
2944
2944
|
}
|
|
2945
2945
|
}
|
|
2946
|
-
},
|
|
2946
|
+
}, Xr = {
|
|
2947
2947
|
options: {
|
|
2948
2948
|
// Enable HTML tags in source
|
|
2949
2949
|
html: !0,
|
|
@@ -3017,47 +3017,47 @@ const jr = (u) => String.fromCodePoint(...u), Hr = function(u) {
|
|
|
3017
3017
|
]
|
|
3018
3018
|
}
|
|
3019
3019
|
}
|
|
3020
|
-
},
|
|
3021
|
-
default:
|
|
3022
|
-
zero:
|
|
3023
|
-
commonmark:
|
|
3024
|
-
},
|
|
3025
|
-
function
|
|
3020
|
+
}, Jr = {
|
|
3021
|
+
default: Wr,
|
|
3022
|
+
zero: Gr,
|
|
3023
|
+
commonmark: Xr
|
|
3024
|
+
}, Qr = /^(vbscript|javascript|file|data):/, Yr = /^data:image\/(gif|png|jpeg|webp);/;
|
|
3025
|
+
function Kr(u) {
|
|
3026
3026
|
const e = u.trim().toLowerCase();
|
|
3027
|
-
return
|
|
3027
|
+
return Qr.test(e) ? Yr.test(e) : !0;
|
|
3028
3028
|
}
|
|
3029
|
-
const
|
|
3030
|
-
function
|
|
3031
|
-
const e =
|
|
3032
|
-
if (e.hostname && (!e.protocol ||
|
|
3029
|
+
const Z0 = ["http:", "https:", "mailto:"];
|
|
3030
|
+
function uc(u) {
|
|
3031
|
+
const e = ve(u, !0);
|
|
3032
|
+
if (e.hostname && (!e.protocol || Z0.indexOf(e.protocol) >= 0))
|
|
3033
3033
|
try {
|
|
3034
|
-
e.hostname =
|
|
3034
|
+
e.hostname = U0.toASCII(e.hostname);
|
|
3035
3035
|
} catch {
|
|
3036
3036
|
}
|
|
3037
|
-
return
|
|
3037
|
+
return Lu(we(e));
|
|
3038
3038
|
}
|
|
3039
|
-
function
|
|
3040
|
-
const e =
|
|
3041
|
-
if (e.hostname && (!e.protocol ||
|
|
3039
|
+
function ec(u) {
|
|
3040
|
+
const e = ve(u, !0);
|
|
3041
|
+
if (e.hostname && (!e.protocol || Z0.indexOf(e.protocol) >= 0))
|
|
3042
3042
|
try {
|
|
3043
|
-
e.hostname =
|
|
3043
|
+
e.hostname = U0.toUnicode(e.hostname);
|
|
3044
3044
|
} catch {
|
|
3045
3045
|
}
|
|
3046
|
-
return yu(
|
|
3046
|
+
return yu(we(e), yu.defaultChars + "%");
|
|
3047
3047
|
}
|
|
3048
|
-
function
|
|
3049
|
-
if (!(this instanceof
|
|
3050
|
-
return new
|
|
3051
|
-
e ||
|
|
3048
|
+
function P(u, e) {
|
|
3049
|
+
if (!(this instanceof P))
|
|
3050
|
+
return new P(u, e);
|
|
3051
|
+
e || Te(u) || (e = u || {}, u = "default"), this.inline = new Iu(), this.block = new Ku(), this.core = new Re(), this.renderer = new Au(), this.linkify = new M(), this.validateLink = Kr, this.normalizeLink = uc, this.normalizeLinkText = ec, this.utils = tn, this.helpers = Qu({}, on), this.options = {}, this.configure(u), e && this.set(e);
|
|
3052
3052
|
}
|
|
3053
|
-
|
|
3054
|
-
return
|
|
3053
|
+
P.prototype.set = function(u) {
|
|
3054
|
+
return Qu(this.options, u), this;
|
|
3055
3055
|
};
|
|
3056
|
-
|
|
3056
|
+
P.prototype.configure = function(u) {
|
|
3057
3057
|
const e = this;
|
|
3058
|
-
if (
|
|
3058
|
+
if (Te(u)) {
|
|
3059
3059
|
const t = u;
|
|
3060
|
-
if (u =
|
|
3060
|
+
if (u = Jr[t], !u)
|
|
3061
3061
|
throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
|
|
3062
3062
|
}
|
|
3063
3063
|
if (!u)
|
|
@@ -3066,7 +3066,7 @@ O.prototype.configure = function(u) {
|
|
|
3066
3066
|
u.components[t].rules && e[t].ruler.enableOnly(u.components[t].rules), u.components[t].rules2 && e[t].ruler2.enableOnly(u.components[t].rules2);
|
|
3067
3067
|
}), this;
|
|
3068
3068
|
};
|
|
3069
|
-
|
|
3069
|
+
P.prototype.enable = function(u, e) {
|
|
3070
3070
|
let t = [];
|
|
3071
3071
|
Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
|
|
3072
3072
|
t = t.concat(this[r].ruler.enable(u, !0));
|
|
@@ -3078,7 +3078,7 @@ O.prototype.enable = function(u, e) {
|
|
|
3078
3078
|
throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + n);
|
|
3079
3079
|
return this;
|
|
3080
3080
|
};
|
|
3081
|
-
|
|
3081
|
+
P.prototype.disable = function(u, e) {
|
|
3082
3082
|
let t = [];
|
|
3083
3083
|
Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
|
|
3084
3084
|
t = t.concat(this[r].ruler.disable(u, !0));
|
|
@@ -3090,66 +3090,81 @@ O.prototype.disable = function(u, e) {
|
|
|
3090
3090
|
throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + n);
|
|
3091
3091
|
return this;
|
|
3092
3092
|
};
|
|
3093
|
-
|
|
3093
|
+
P.prototype.use = function(u) {
|
|
3094
3094
|
const e = [this].concat(Array.prototype.slice.call(arguments, 1));
|
|
3095
3095
|
return u.apply(u, e), this;
|
|
3096
3096
|
};
|
|
3097
|
-
|
|
3097
|
+
P.prototype.parse = function(u, e) {
|
|
3098
3098
|
if (typeof u != "string")
|
|
3099
3099
|
throw new Error("Input data should be a String");
|
|
3100
3100
|
const t = new this.core.State(u, this, e);
|
|
3101
3101
|
return this.core.process(t), t.tokens;
|
|
3102
3102
|
};
|
|
3103
|
-
|
|
3103
|
+
P.prototype.render = function(u, e) {
|
|
3104
3104
|
return e = e || {}, this.renderer.render(this.parse(u, e), this.options, e);
|
|
3105
3105
|
};
|
|
3106
|
-
|
|
3106
|
+
P.prototype.parseInline = function(u, e) {
|
|
3107
3107
|
const t = new this.core.State(u, this, e);
|
|
3108
3108
|
return t.inlineMode = !0, this.core.process(t), t.tokens;
|
|
3109
3109
|
};
|
|
3110
|
-
|
|
3110
|
+
P.prototype.renderInline = function(u, e) {
|
|
3111
3111
|
return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
|
|
3112
3112
|
};
|
|
3113
|
-
function
|
|
3114
|
-
const t = new
|
|
3113
|
+
function tc(u, e) {
|
|
3114
|
+
const t = new P({
|
|
3115
3115
|
html: !0,
|
|
3116
3116
|
typographer: !0
|
|
3117
3117
|
});
|
|
3118
|
-
return t.use(
|
|
3118
|
+
return t.use(bt), e && e.forEach((n) => t.use(n)), t.parse(u, "");
|
|
3119
3119
|
}
|
|
3120
|
-
const
|
|
3120
|
+
const Le = (u, e) => {
|
|
3121
3121
|
const t = u.__vccOpts || u;
|
|
3122
3122
|
for (const [n, r] of e)
|
|
3123
3123
|
t[n] = r;
|
|
3124
3124
|
return t;
|
|
3125
|
-
},
|
|
3125
|
+
}, nc = {}, rc = {
|
|
3126
|
+
class: "sq-icon",
|
|
3127
|
+
"data-icon": "caret-up"
|
|
3128
|
+
};
|
|
3129
|
+
function cc(u, e) {
|
|
3130
|
+
return A(), v("span", rc, e[0] || (e[0] = [
|
|
3131
|
+
S("svg", {
|
|
3132
|
+
viewBox: "0 0 48 48",
|
|
3133
|
+
version: "1.1",
|
|
3134
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3135
|
+
}, [
|
|
3136
|
+
S("path", { d: "M34.29,28.09l-9.59-9.59c-.2-.2-.45-.29-.71-.29s-.51.1-.71.29l-9.59,9.59c-.63.63-.18,1.71.71,1.71h19.17c.22,0,.42-.07.57-.18.47-.33.6-1.06.13-1.53Z" })
|
|
3137
|
+
], -1)
|
|
3138
|
+
]));
|
|
3139
|
+
}
|
|
3140
|
+
const oc = /* @__PURE__ */ Le(nc, [["render", cc]]), ic = {}, sc = {
|
|
3126
3141
|
class: "sq-icon",
|
|
3127
3142
|
"data-icon": "jump-to"
|
|
3128
3143
|
};
|
|
3129
|
-
function
|
|
3130
|
-
return
|
|
3131
|
-
|
|
3144
|
+
function ac(u, e) {
|
|
3145
|
+
return A(), v("span", sc, e[0] || (e[0] = [
|
|
3146
|
+
S("svg", {
|
|
3132
3147
|
viewBox: "0 0 48 48",
|
|
3133
3148
|
version: "1.1",
|
|
3134
3149
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3135
3150
|
}, [
|
|
3136
|
-
|
|
3137
|
-
|
|
3151
|
+
S("path", { d: "M42,22c-1.1,0-2,.9-2,2v14c0,1.1-.9,2-2,2H10c-1.1,0-2-.9-2-2V10c0-1.1.9-2,2-2h14c1.1,0,2-.9,2-2s-.9-2-2-2h-14c-3.31,0-6,2.69-6,6v28c0,3.31,2.69,6,6,6h28c3.31,0,6-2.69,6-6v-14c0-1.1-.9-2-2-2Z" }),
|
|
3152
|
+
S("path", { d: "M43.96,5.61c-.01-.06-.03-.11-.05-.17-.02-.07-.04-.14-.06-.2-.03-.07-.07-.13-.1-.19-.03-.05-.05-.1-.08-.15-.15-.22-.34-.41-.55-.55-.05-.03-.1-.05-.15-.08-.06-.04-.13-.07-.2-.1-.07-.03-.13-.04-.2-.06-.06-.02-.11-.04-.17-.05-.13-.03-.26-.04-.39-.04h-10c-1.1,0-2,.9-2,2s.9,2,2,2h5.17l-14.59,14.59c-.78.78-.78,2.05,0,2.83.39.39.9.59,1.41.59s1.02-.2,1.41-.59l14.59-14.59v5.17c0,1.1.9,2,2,2s2-.9,2-2V6c0-.13-.01-.26-.04-.39Z" })
|
|
3138
3153
|
], -1)
|
|
3139
3154
|
]));
|
|
3140
3155
|
}
|
|
3141
|
-
const
|
|
3156
|
+
const lc = /* @__PURE__ */ Le(ic, [["render", ac]]), fc = {}, dc = {
|
|
3142
3157
|
class: "sq-icon is-loading",
|
|
3143
3158
|
"data-icon": "loading"
|
|
3144
3159
|
};
|
|
3145
|
-
function
|
|
3146
|
-
return
|
|
3147
|
-
|
|
3160
|
+
function hc(u, e) {
|
|
3161
|
+
return A(), v("span", dc, e[0] || (e[0] = [
|
|
3162
|
+
S("svg", {
|
|
3148
3163
|
viewBox: "0 0 48 48",
|
|
3149
3164
|
version: "1.1",
|
|
3150
3165
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3151
3166
|
}, [
|
|
3152
|
-
|
|
3167
|
+
S("circle", {
|
|
3153
3168
|
cx: "24",
|
|
3154
3169
|
cy: "24",
|
|
3155
3170
|
r: "20"
|
|
@@ -3157,16 +3172,16 @@ function sc(u, e) {
|
|
|
3157
3172
|
], -1)
|
|
3158
3173
|
]));
|
|
3159
3174
|
}
|
|
3160
|
-
const
|
|
3161
|
-
function
|
|
3162
|
-
const e =
|
|
3163
|
-
return Ee("article", { class: "sq-article" },
|
|
3175
|
+
const pc = /* @__PURE__ */ Le(fc, [["render", hc]]);
|
|
3176
|
+
function bc(u) {
|
|
3177
|
+
const e = G0(u) ?? [];
|
|
3178
|
+
return Ee("article", { class: "sq-article" }, W0(e));
|
|
3164
3179
|
}
|
|
3165
|
-
function
|
|
3180
|
+
function W0(u) {
|
|
3166
3181
|
if (u)
|
|
3167
|
-
return u.map((e) => typeof e == "string" ? e : Ee(e.tag, e.attrs,
|
|
3182
|
+
return u.map((e) => typeof e == "string" ? e : Ee(e.tag, e.attrs, W0(e.children)));
|
|
3168
3183
|
}
|
|
3169
|
-
function
|
|
3184
|
+
function G0(u) {
|
|
3170
3185
|
const e = [], t = { children: [] };
|
|
3171
3186
|
let n = t;
|
|
3172
3187
|
return u.forEach((r) => {
|
|
@@ -3196,8 +3211,8 @@ function H0(u) {
|
|
|
3196
3211
|
attrs: s ? Object.fromEntries(s) : {}
|
|
3197
3212
|
};
|
|
3198
3213
|
if (c === "link_open") {
|
|
3199
|
-
const C = r.attrGet("href") ?? "",
|
|
3200
|
-
C != null && C.startsWith("http") && !C.includes(
|
|
3214
|
+
const C = r.attrGet("href") ?? "", F = document.location.origin;
|
|
3215
|
+
C != null && C.startsWith("http") && !C.includes(F) && (D.attrs.target = "_blank", D.attrs.rel = "noopener noreferrer", D.attrs.dataOuter = "", (f = D.children) == null || f.push({ tag: lc }));
|
|
3201
3216
|
}
|
|
3202
3217
|
if (c === "table_open") {
|
|
3203
3218
|
const C = {
|
|
@@ -3240,7 +3255,7 @@ function H0(u) {
|
|
|
3240
3255
|
}
|
|
3241
3256
|
case "inline": {
|
|
3242
3257
|
if (o) {
|
|
3243
|
-
const D =
|
|
3258
|
+
const D = G0(o);
|
|
3244
3259
|
(b = n.children) == null || b.push(...D ?? []);
|
|
3245
3260
|
} else
|
|
3246
3261
|
(m = n.children) == null || m.push(i);
|
|
@@ -3287,7 +3302,7 @@ function H0(u) {
|
|
|
3287
3302
|
}
|
|
3288
3303
|
}), t.children;
|
|
3289
3304
|
}
|
|
3290
|
-
const
|
|
3305
|
+
const Ro = I({
|
|
3291
3306
|
props: {
|
|
3292
3307
|
text: {
|
|
3293
3308
|
type: String,
|
|
@@ -3308,11 +3323,146 @@ const Co = P({
|
|
|
3308
3323
|
class: "sq-article",
|
|
3309
3324
|
innerHTML: u.text
|
|
3310
3325
|
});
|
|
3311
|
-
const e =
|
|
3312
|
-
return
|
|
3326
|
+
const e = tc(u.text, u.plugins);
|
|
3327
|
+
return bc(e);
|
|
3313
3328
|
};
|
|
3314
3329
|
}
|
|
3315
|
-
}),
|
|
3330
|
+
}), xc = {
|
|
3331
|
+
key: 0,
|
|
3332
|
+
viewBox: "0 0 100 100",
|
|
3333
|
+
version: "1.1",
|
|
3334
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3335
|
+
}, mc = {
|
|
3336
|
+
key: 1,
|
|
3337
|
+
class: "sq-progress-label"
|
|
3338
|
+
}, _c = ["textContent"], gc = /* @__PURE__ */ I({
|
|
3339
|
+
__name: "progress",
|
|
3340
|
+
props: {
|
|
3341
|
+
value: {},
|
|
3342
|
+
min: { default: 0 },
|
|
3343
|
+
max: { default: 100 },
|
|
3344
|
+
stroke: { default: 4 },
|
|
3345
|
+
color: {},
|
|
3346
|
+
type: { default: "primary" },
|
|
3347
|
+
theme: { default: "line" },
|
|
3348
|
+
label: { type: Boolean, default: !0 }
|
|
3349
|
+
},
|
|
3350
|
+
setup(u) {
|
|
3351
|
+
const e = new ResizeObserver(a), t = u, n = b0("progressRef"), r = tu(100), c = E(() => {
|
|
3352
|
+
const l = [];
|
|
3353
|
+
return t.color || l.push(`is-${t.type}`), t.theme !== "line" && l.push(`is-${t.theme}`), l;
|
|
3354
|
+
}), o = E(() => {
|
|
3355
|
+
const l = t.max - t.min;
|
|
3356
|
+
return (t.value - t.min) * 100 / l;
|
|
3357
|
+
}), i = E(() => `${Math.round(o.value * 10) / 10} %`), s = E(() => {
|
|
3358
|
+
const l = {};
|
|
3359
|
+
if (l["--progress-stroke"] = `${t.stroke}px`, t.theme === "line")
|
|
3360
|
+
l["--progress-value"] = `${o.value}%`;
|
|
3361
|
+
else if (n.value) {
|
|
3362
|
+
const f = 100 / r.value * t.stroke, p = (100 - f) / 2, h = Math.PI * p * 2, d = o.value / 100;
|
|
3363
|
+
l["--progress-circle-r"] = `${p}px`, l["--progress-circle-l"] = `${h}px`, l["--progress-circle-stroke"] = `${f}px`, l["--progress-value"] = `${h * d}`, o.value === 0 && (l["--progress-circle-opaciry"] = "0");
|
|
3364
|
+
}
|
|
3365
|
+
if (t.color) {
|
|
3366
|
+
const p = typeof t.color == "string" ? t.color : t.color(o.value);
|
|
3367
|
+
l["--progress-color"] = p;
|
|
3368
|
+
}
|
|
3369
|
+
return l;
|
|
3370
|
+
});
|
|
3371
|
+
x0(() => {
|
|
3372
|
+
e.observe(n.value);
|
|
3373
|
+
}), Ae(() => {
|
|
3374
|
+
e.disconnect();
|
|
3375
|
+
});
|
|
3376
|
+
function a() {
|
|
3377
|
+
r.value = n.value.getBoundingClientRect().width;
|
|
3378
|
+
}
|
|
3379
|
+
return (l, f) => (A(), v("div", {
|
|
3380
|
+
class: H(["sq-progress", c.value]),
|
|
3381
|
+
ref_key: "progressRef",
|
|
3382
|
+
ref: n,
|
|
3383
|
+
style: wu(s.value)
|
|
3384
|
+
}, [
|
|
3385
|
+
t.theme === "circle" ? (A(), v("svg", xc, [...f[0] || (f[0] = [
|
|
3386
|
+
S("circle", {
|
|
3387
|
+
class: "sq-progress-track",
|
|
3388
|
+
cx: "50",
|
|
3389
|
+
cy: "50"
|
|
3390
|
+
}, null, -1),
|
|
3391
|
+
S("circle", {
|
|
3392
|
+
class: "sq-progress-path",
|
|
3393
|
+
cx: "50",
|
|
3394
|
+
cy: "50"
|
|
3395
|
+
}, null, -1)
|
|
3396
|
+
])])) : j("", !0),
|
|
3397
|
+
t.theme === "circle" && t.label ? (A(), v("div", mc, [
|
|
3398
|
+
z(l.$slots, "default", { percentage: o.value }, () => [
|
|
3399
|
+
S("span", {
|
|
3400
|
+
textContent: Vu(i.value)
|
|
3401
|
+
}, null, 8, _c)
|
|
3402
|
+
])
|
|
3403
|
+
])) : j("", !0)
|
|
3404
|
+
], 6));
|
|
3405
|
+
}
|
|
3406
|
+
}), kc = { class: "sq-backtop" }, zo = /* @__PURE__ */ I({
|
|
3407
|
+
__name: "backtop",
|
|
3408
|
+
props: {
|
|
3409
|
+
progress: { type: Boolean, default: !0 },
|
|
3410
|
+
icon: { default: oc },
|
|
3411
|
+
transition: { default: "sq-rotate-in-left" },
|
|
3412
|
+
visibilityHeight: { default: 100 },
|
|
3413
|
+
progressProps: {}
|
|
3414
|
+
},
|
|
3415
|
+
setup(u) {
|
|
3416
|
+
const e = new ResizeObserver(i), t = u, n = tu(100), r = tu(0), c = E(() => (console.log(r.value, t), r.value > t.visibilityHeight));
|
|
3417
|
+
x0(() => {
|
|
3418
|
+
i(), r.value = window.scrollY, window.addEventListener("scroll", o), e.observe(document.body);
|
|
3419
|
+
}), Ae(() => {
|
|
3420
|
+
window.removeEventListener("scroll", o), e.disconnect;
|
|
3421
|
+
});
|
|
3422
|
+
function o() {
|
|
3423
|
+
r.value = window.scrollY;
|
|
3424
|
+
}
|
|
3425
|
+
function i() {
|
|
3426
|
+
const a = document.body.scrollHeight, l = window.innerHeight;
|
|
3427
|
+
n.value = a - l;
|
|
3428
|
+
}
|
|
3429
|
+
function s() {
|
|
3430
|
+
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
3431
|
+
}
|
|
3432
|
+
return (a, l) => (A(), J(m0, {
|
|
3433
|
+
name: t.transition
|
|
3434
|
+
}, {
|
|
3435
|
+
default: qu(() => {
|
|
3436
|
+
var f, p, h;
|
|
3437
|
+
return [
|
|
3438
|
+
Fe(S("div", kc, [
|
|
3439
|
+
S("div", {
|
|
3440
|
+
class: "sq-backtop-wrap",
|
|
3441
|
+
onClick: s
|
|
3442
|
+
}, [
|
|
3443
|
+
t.progress ? (A(), J(iu(gc), {
|
|
3444
|
+
key: 0,
|
|
3445
|
+
theme: "circle",
|
|
3446
|
+
label: !1,
|
|
3447
|
+
value: r.value,
|
|
3448
|
+
max: n.value,
|
|
3449
|
+
type: (f = t.progressProps) == null ? void 0 : f.type,
|
|
3450
|
+
stroke: (p = t.progressProps) == null ? void 0 : p.stroke,
|
|
3451
|
+
color: (h = t.progressProps) == null ? void 0 : h.color
|
|
3452
|
+
}, null, 8, ["value", "max", "type", "stroke", "color"])) : j("", !0),
|
|
3453
|
+
z(a.$slots, "default", {}, () => [
|
|
3454
|
+
(A(), J(vu(t.icon)))
|
|
3455
|
+
])
|
|
3456
|
+
])
|
|
3457
|
+
], 512), [
|
|
3458
|
+
[_0, c.value]
|
|
3459
|
+
])
|
|
3460
|
+
];
|
|
3461
|
+
}),
|
|
3462
|
+
_: 3
|
|
3463
|
+
}, 8, ["name"]));
|
|
3464
|
+
}
|
|
3465
|
+
}), X0 = Symbol("button-group-context-keys"), yc = ["disabled"], qo = /* @__PURE__ */ I({
|
|
3316
3466
|
__name: "button",
|
|
3317
3467
|
props: {
|
|
3318
3468
|
type: {},
|
|
@@ -3324,10 +3474,10 @@ const Co = P({
|
|
|
3324
3474
|
size: { default: "md" }
|
|
3325
3475
|
},
|
|
3326
3476
|
setup(u) {
|
|
3327
|
-
const e =
|
|
3477
|
+
const e = it(X0, void 0), t = u, n = E(() => {
|
|
3328
3478
|
const a = [], l = o.value, f = i.value, p = s.value;
|
|
3329
3479
|
return l !== "md" && a.push(`sq-button--${l}`), f && a.push(`is-${f}`), p && a.push("is-round"), !(e != null && e.value) && t.text && a.push("is-text"), a;
|
|
3330
|
-
}), r = E(() => t.loading ?
|
|
3480
|
+
}), r = E(() => t.loading ? pc : t.icon), c = E(() => t.loading || t.disabled), o = E(() => {
|
|
3331
3481
|
var a;
|
|
3332
3482
|
return ((a = e == null ? void 0 : e.value) == null ? void 0 : a.size) ?? t.size;
|
|
3333
3483
|
}), i = E(() => {
|
|
@@ -3337,22 +3487,22 @@ const Co = P({
|
|
|
3337
3487
|
var a;
|
|
3338
3488
|
return ((a = e == null ? void 0 : e.value) == null ? void 0 : a.round) ?? t.round;
|
|
3339
3489
|
});
|
|
3340
|
-
return (a, l) => (
|
|
3341
|
-
class:
|
|
3490
|
+
return (a, l) => (A(), v("button", {
|
|
3491
|
+
class: H(["sq-button", n.value]),
|
|
3342
3492
|
disabled: c.value
|
|
3343
3493
|
}, [
|
|
3344
|
-
|
|
3494
|
+
g0(iu(Ne), {
|
|
3345
3495
|
size: t.size
|
|
3346
3496
|
}, {
|
|
3347
|
-
default:
|
|
3348
|
-
r.value ? (
|
|
3349
|
-
|
|
3497
|
+
default: qu(() => [
|
|
3498
|
+
r.value ? (A(), J(vu(r.value), { key: 0 })) : j("", !0),
|
|
3499
|
+
z(a.$slots, "default")
|
|
3350
3500
|
]),
|
|
3351
3501
|
_: 3
|
|
3352
3502
|
}, 8, ["size"])
|
|
3353
|
-
], 10,
|
|
3503
|
+
], 10, yc));
|
|
3354
3504
|
}
|
|
3355
|
-
}),
|
|
3505
|
+
}), Cc = { class: "sq-button-group" }, Lo = /* @__PURE__ */ I({
|
|
3356
3506
|
__name: "button-group",
|
|
3357
3507
|
props: {
|
|
3358
3508
|
size: { default: "md" },
|
|
@@ -3361,52 +3511,52 @@ const Co = P({
|
|
|
3361
3511
|
},
|
|
3362
3512
|
setup(u) {
|
|
3363
3513
|
const e = u;
|
|
3364
|
-
return
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
size:
|
|
3368
|
-
type:
|
|
3369
|
-
round:
|
|
3514
|
+
return st(
|
|
3515
|
+
X0,
|
|
3516
|
+
tu({
|
|
3517
|
+
size: oe(e, "size"),
|
|
3518
|
+
type: oe(e, "type"),
|
|
3519
|
+
round: oe(e, "round")
|
|
3370
3520
|
})
|
|
3371
|
-
), (t, n) => (
|
|
3372
|
-
|
|
3521
|
+
), (t, n) => (A(), v("div", Cc, [
|
|
3522
|
+
z(t.$slots, "default")
|
|
3373
3523
|
]));
|
|
3374
3524
|
}
|
|
3375
|
-
}),
|
|
3525
|
+
}), Dc = { class: "sq-card" }, Ec = {
|
|
3376
3526
|
key: 0,
|
|
3377
3527
|
class: "sq-card-header"
|
|
3378
|
-
},
|
|
3528
|
+
}, Ac = ["textContent"], Fc = {
|
|
3379
3529
|
key: 1,
|
|
3380
3530
|
class: "sq-card-footer"
|
|
3381
|
-
},
|
|
3531
|
+
}, Mo = /* @__PURE__ */ I({
|
|
3382
3532
|
__name: "card",
|
|
3383
3533
|
props: {
|
|
3384
3534
|
title: {},
|
|
3385
3535
|
decorative: { type: Boolean, default: !1 }
|
|
3386
3536
|
},
|
|
3387
3537
|
setup(u) {
|
|
3388
|
-
const e =
|
|
3389
|
-
return (n, r) => (
|
|
3390
|
-
t.title ||
|
|
3391
|
-
|
|
3392
|
-
class:
|
|
3393
|
-
textContent:
|
|
3394
|
-
}, null, 10,
|
|
3395
|
-
|
|
3396
|
-
])) :
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
])) :
|
|
3538
|
+
const e = k0(), t = u;
|
|
3539
|
+
return (n, r) => (A(), v("section", Dc, [
|
|
3540
|
+
t.title || iu(e).title ? (A(), v("div", Ec, [
|
|
3541
|
+
S("h2", {
|
|
3542
|
+
class: H({ "has-decorative": t.decorative }),
|
|
3543
|
+
textContent: Vu(t.title)
|
|
3544
|
+
}, null, 10, Ac),
|
|
3545
|
+
z(n.$slots, "title")
|
|
3546
|
+
])) : j("", !0),
|
|
3547
|
+
z(n.$slots, "default"),
|
|
3548
|
+
iu(e).footer ? (A(), v("div", Fc, [
|
|
3549
|
+
z(n.$slots, "footer")
|
|
3550
|
+
])) : j("", !0)
|
|
3401
3551
|
]));
|
|
3402
3552
|
}
|
|
3403
|
-
}),
|
|
3553
|
+
}), wc = {
|
|
3404
3554
|
key: 0,
|
|
3405
3555
|
class: "sq-input-prefix"
|
|
3406
|
-
},
|
|
3556
|
+
}, vc = ["disabled", "readonly"], Sc = {
|
|
3407
3557
|
key: 1,
|
|
3408
3558
|
class: "sq-input-suffix"
|
|
3409
|
-
},
|
|
3559
|
+
}, Io = /* @__PURE__ */ I({
|
|
3410
3560
|
__name: "input",
|
|
3411
3561
|
props: /* @__PURE__ */ xe({
|
|
3412
3562
|
status: {},
|
|
@@ -3423,7 +3573,7 @@ const Co = P({
|
|
|
3423
3573
|
}),
|
|
3424
3574
|
emits: /* @__PURE__ */ xe(["focus", "blur", "input", "change"], ["update:value"]),
|
|
3425
3575
|
setup(u, { expose: e, emit: t }) {
|
|
3426
|
-
const n =
|
|
3576
|
+
const n = k0(), r = t, c = u, o = y0(u, "value"), i = b0("inputRef"), s = E(() => {
|
|
3427
3577
|
const d = [];
|
|
3428
3578
|
return c.size !== "md" && d.push(`sq-input--${c.size}`), c.status && d.push(`is-${c.status}`), c.round && d.push("is-round"), c.disabled && d.push("is-disabled"), d;
|
|
3429
3579
|
}), a = E(() => n.prefix || c.prefixIcon), l = E(() => {
|
|
@@ -3438,15 +3588,15 @@ const Co = P({
|
|
|
3438
3588
|
var d;
|
|
3439
3589
|
(d = i.value) == null || d.blur();
|
|
3440
3590
|
}
|
|
3441
|
-
return e({ focus: p, blur: h }), (d, b) => (
|
|
3442
|
-
class:
|
|
3591
|
+
return e({ focus: p, blur: h }), (d, b) => (A(), v("div", {
|
|
3592
|
+
class: H(["sq-input", s.value])
|
|
3443
3593
|
}, [
|
|
3444
|
-
a.value ? (
|
|
3445
|
-
|
|
3446
|
-
(
|
|
3594
|
+
a.value ? (A(), v("span", wc, [
|
|
3595
|
+
z(d.$slots, "prefix", {}, () => [
|
|
3596
|
+
(A(), J(vu(c.prefixIcon)))
|
|
3447
3597
|
])
|
|
3448
|
-
])) :
|
|
3449
|
-
|
|
3598
|
+
])) : j("", !0),
|
|
3599
|
+
Fe(S("input", {
|
|
3450
3600
|
"onUpdate:modelValue": b[0] || (b[0] = (m) => o.value = m),
|
|
3451
3601
|
class: "sq-input-inner",
|
|
3452
3602
|
disabled: c.disabled,
|
|
@@ -3457,85 +3607,85 @@ const Co = P({
|
|
|
3457
3607
|
onBlur: b[2] || (b[2] = (m) => r("blur", m)),
|
|
3458
3608
|
onInput: b[3] || (b[3] = (m) => r("input", m)),
|
|
3459
3609
|
onChange: b[4] || (b[4] = (m) => r("change", m))
|
|
3460
|
-
}, null, 40,
|
|
3461
|
-
[
|
|
3610
|
+
}, null, 40, vc), [
|
|
3611
|
+
[at, o.value]
|
|
3462
3612
|
]),
|
|
3463
|
-
l.value ? (
|
|
3464
|
-
|
|
3465
|
-
(
|
|
3613
|
+
l.value ? (A(), v("span", Sc, [
|
|
3614
|
+
z(d.$slots, "suffix", {}, () => [
|
|
3615
|
+
(A(), J(vu(f.value)))
|
|
3466
3616
|
])
|
|
3467
|
-
])) :
|
|
3617
|
+
])) : j("", !0)
|
|
3468
3618
|
], 2));
|
|
3469
3619
|
}
|
|
3470
|
-
}), ye = Math.min, gu = Math.max,
|
|
3620
|
+
}), ye = Math.min, gu = Math.max, Gu = Math.round, Hu = Math.floor, Q = (u) => ({
|
|
3471
3621
|
x: u,
|
|
3472
3622
|
y: u
|
|
3473
|
-
}),
|
|
3623
|
+
}), Tc = {
|
|
3474
3624
|
left: "right",
|
|
3475
3625
|
right: "left",
|
|
3476
3626
|
bottom: "top",
|
|
3477
3627
|
top: "bottom"
|
|
3478
|
-
},
|
|
3628
|
+
}, Bc = {
|
|
3479
3629
|
start: "end",
|
|
3480
3630
|
end: "start"
|
|
3481
3631
|
};
|
|
3482
|
-
function
|
|
3632
|
+
function Me(u, e) {
|
|
3483
3633
|
return typeof u == "function" ? u(e) : u;
|
|
3484
3634
|
}
|
|
3485
3635
|
function Du(u) {
|
|
3486
3636
|
return u.split("-")[0];
|
|
3487
3637
|
}
|
|
3488
|
-
function
|
|
3638
|
+
function ee(u) {
|
|
3489
3639
|
return u.split("-")[1];
|
|
3490
3640
|
}
|
|
3491
|
-
function
|
|
3641
|
+
function Rc(u) {
|
|
3492
3642
|
return u === "x" ? "y" : "x";
|
|
3493
3643
|
}
|
|
3494
|
-
function
|
|
3644
|
+
function J0(u) {
|
|
3495
3645
|
return u === "y" ? "height" : "width";
|
|
3496
3646
|
}
|
|
3497
|
-
const
|
|
3498
|
-
function
|
|
3499
|
-
return
|
|
3647
|
+
const zc = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
3648
|
+
function du(u) {
|
|
3649
|
+
return zc.has(Du(u)) ? "y" : "x";
|
|
3500
3650
|
}
|
|
3501
|
-
function
|
|
3502
|
-
return
|
|
3651
|
+
function Q0(u) {
|
|
3652
|
+
return Rc(du(u));
|
|
3503
3653
|
}
|
|
3504
|
-
function
|
|
3654
|
+
function qc(u, e, t) {
|
|
3505
3655
|
t === void 0 && (t = !1);
|
|
3506
|
-
const n =
|
|
3656
|
+
const n = ee(u), r = Q0(u), c = J0(r);
|
|
3507
3657
|
let o = r === "x" ? n === (t ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
3508
|
-
return e.reference[c] > e.floating[c] && (o =
|
|
3658
|
+
return e.reference[c] > e.floating[c] && (o = Xu(o)), [o, Xu(o)];
|
|
3509
3659
|
}
|
|
3510
|
-
function
|
|
3511
|
-
const e =
|
|
3660
|
+
function Lc(u) {
|
|
3661
|
+
const e = Xu(u);
|
|
3512
3662
|
return [Ce(u), e, Ce(e)];
|
|
3513
3663
|
}
|
|
3514
3664
|
function Ce(u) {
|
|
3515
|
-
return u.replace(/start|end/g, (e) =>
|
|
3665
|
+
return u.replace(/start|end/g, (e) => Bc[e]);
|
|
3516
3666
|
}
|
|
3517
|
-
const
|
|
3518
|
-
function
|
|
3667
|
+
const o0 = ["left", "right"], i0 = ["right", "left"], Mc = ["top", "bottom"], Ic = ["bottom", "top"];
|
|
3668
|
+
function Oc(u, e, t) {
|
|
3519
3669
|
switch (u) {
|
|
3520
3670
|
case "top":
|
|
3521
3671
|
case "bottom":
|
|
3522
|
-
return t ? e ?
|
|
3672
|
+
return t ? e ? i0 : o0 : e ? o0 : i0;
|
|
3523
3673
|
case "left":
|
|
3524
3674
|
case "right":
|
|
3525
|
-
return e ?
|
|
3675
|
+
return e ? Mc : Ic;
|
|
3526
3676
|
default:
|
|
3527
3677
|
return [];
|
|
3528
3678
|
}
|
|
3529
3679
|
}
|
|
3530
|
-
function
|
|
3531
|
-
const r =
|
|
3532
|
-
let c =
|
|
3680
|
+
function Pc(u, e, t, n) {
|
|
3681
|
+
const r = ee(u);
|
|
3682
|
+
let c = Oc(Du(u), t === "start", n);
|
|
3533
3683
|
return r && (c = c.map((o) => o + "-" + r), e && (c = c.concat(c.map(Ce)))), c;
|
|
3534
3684
|
}
|
|
3535
|
-
function
|
|
3536
|
-
return u.replace(/left|right|bottom|top/g, (e) =>
|
|
3685
|
+
function Xu(u) {
|
|
3686
|
+
return u.replace(/left|right|bottom|top/g, (e) => Tc[e]);
|
|
3537
3687
|
}
|
|
3538
|
-
function
|
|
3688
|
+
function $c(u) {
|
|
3539
3689
|
return {
|
|
3540
3690
|
top: 0,
|
|
3541
3691
|
right: 0,
|
|
@@ -3544,15 +3694,15 @@ function Tc(u) {
|
|
|
3544
3694
|
...u
|
|
3545
3695
|
};
|
|
3546
3696
|
}
|
|
3547
|
-
function
|
|
3548
|
-
return typeof u != "number" ?
|
|
3697
|
+
function Nc(u) {
|
|
3698
|
+
return typeof u != "number" ? $c(u) : {
|
|
3549
3699
|
top: u,
|
|
3550
3700
|
right: u,
|
|
3551
3701
|
bottom: u,
|
|
3552
3702
|
left: u
|
|
3553
3703
|
};
|
|
3554
3704
|
}
|
|
3555
|
-
function
|
|
3705
|
+
function Ju(u) {
|
|
3556
3706
|
const {
|
|
3557
3707
|
x: e,
|
|
3558
3708
|
y: t,
|
|
@@ -3570,12 +3720,12 @@ function Gu(u) {
|
|
|
3570
3720
|
y: t
|
|
3571
3721
|
};
|
|
3572
3722
|
}
|
|
3573
|
-
function
|
|
3723
|
+
function s0(u, e, t) {
|
|
3574
3724
|
let {
|
|
3575
3725
|
reference: n,
|
|
3576
3726
|
floating: r
|
|
3577
3727
|
} = u;
|
|
3578
|
-
const c =
|
|
3728
|
+
const c = du(e), o = Q0(e), i = J0(o), s = Du(e), a = c === "y", l = n.x + n.width / 2 - r.width / 2, f = n.y + n.height / 2 - r.height / 2, p = n[i] / 2 - r[i] / 2;
|
|
3579
3729
|
let h;
|
|
3580
3730
|
switch (s) {
|
|
3581
3731
|
case "top":
|
|
@@ -3608,7 +3758,7 @@ function c0(u, e, t) {
|
|
|
3608
3758
|
y: n.y
|
|
3609
3759
|
};
|
|
3610
3760
|
}
|
|
3611
|
-
switch (
|
|
3761
|
+
switch (ee(e)) {
|
|
3612
3762
|
case "start":
|
|
3613
3763
|
h[o] -= p * (t && a ? -1 : 1);
|
|
3614
3764
|
break;
|
|
@@ -3618,7 +3768,7 @@ function c0(u, e, t) {
|
|
|
3618
3768
|
}
|
|
3619
3769
|
return h;
|
|
3620
3770
|
}
|
|
3621
|
-
const
|
|
3771
|
+
const jc = async (u, e, t) => {
|
|
3622
3772
|
const {
|
|
3623
3773
|
placement: n = "bottom",
|
|
3624
3774
|
strategy: r = "absolute",
|
|
@@ -3632,7 +3782,7 @@ const Rc = async (u, e, t) => {
|
|
|
3632
3782
|
}), {
|
|
3633
3783
|
x: l,
|
|
3634
3784
|
y: f
|
|
3635
|
-
} =
|
|
3785
|
+
} = s0(a, n, s), p = n, h = {}, d = 0;
|
|
3636
3786
|
for (let b = 0; b < i.length; b++) {
|
|
3637
3787
|
const {
|
|
3638
3788
|
name: m,
|
|
@@ -3669,7 +3819,7 @@ const Rc = async (u, e, t) => {
|
|
|
3669
3819
|
}) : k.rects), {
|
|
3670
3820
|
x: l,
|
|
3671
3821
|
y: f
|
|
3672
|
-
} =
|
|
3822
|
+
} = s0(a, p, s)), b = -1);
|
|
3673
3823
|
}
|
|
3674
3824
|
return {
|
|
3675
3825
|
x: l,
|
|
@@ -3679,7 +3829,7 @@ const Rc = async (u, e, t) => {
|
|
|
3679
3829
|
middlewareData: h
|
|
3680
3830
|
};
|
|
3681
3831
|
};
|
|
3682
|
-
async function
|
|
3832
|
+
async function Hc(u, e) {
|
|
3683
3833
|
var t;
|
|
3684
3834
|
e === void 0 && (e = {});
|
|
3685
3835
|
const {
|
|
@@ -3695,7 +3845,7 @@ async function zc(u, e) {
|
|
|
3695
3845
|
elementContext: f = "floating",
|
|
3696
3846
|
altBoundary: p = !1,
|
|
3697
3847
|
padding: h = 0
|
|
3698
|
-
} =
|
|
3848
|
+
} = Me(e, u), d = Nc(h), m = i[p ? f === "floating" ? "reference" : "floating" : f], y = Ju(await c.getClippingRect({
|
|
3699
3849
|
element: (t = await (c.isElement == null ? void 0 : c.isElement(m))) == null || t ? m : m.contextElement || await (c.getDocumentElement == null ? void 0 : c.getDocumentElement(i.floating)),
|
|
3700
3850
|
boundary: a,
|
|
3701
3851
|
rootBoundary: l,
|
|
@@ -3711,7 +3861,7 @@ async function zc(u, e) {
|
|
|
3711
3861
|
} : {
|
|
3712
3862
|
x: 1,
|
|
3713
3863
|
y: 1
|
|
3714
|
-
}, k =
|
|
3864
|
+
}, k = Ju(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
3715
3865
|
elements: i,
|
|
3716
3866
|
rect: x,
|
|
3717
3867
|
offsetParent: _,
|
|
@@ -3724,7 +3874,7 @@ async function zc(u, e) {
|
|
|
3724
3874
|
right: (k.right - y.right + d.right) / g.x
|
|
3725
3875
|
};
|
|
3726
3876
|
}
|
|
3727
|
-
const
|
|
3877
|
+
const Vc = function(u) {
|
|
3728
3878
|
return u === void 0 && (u = {}), {
|
|
3729
3879
|
name: "flip",
|
|
3730
3880
|
options: u,
|
|
@@ -3745,73 +3895,73 @@ const Lc = function(u) {
|
|
|
3745
3895
|
fallbackAxisSideDirection: d = "none",
|
|
3746
3896
|
flipAlignment: b = !0,
|
|
3747
3897
|
...m
|
|
3748
|
-
} =
|
|
3898
|
+
} = Me(u, e);
|
|
3749
3899
|
if ((t = c.arrow) != null && t.alignmentOffset)
|
|
3750
3900
|
return {};
|
|
3751
|
-
const y = Du(r), x =
|
|
3752
|
-
!p && D && k.push(...
|
|
3753
|
-
const C = [i, ...k],
|
|
3754
|
-
let
|
|
3755
|
-
if (l &&
|
|
3756
|
-
const
|
|
3757
|
-
|
|
3901
|
+
const y = Du(r), x = du(i), _ = Du(i) === i, g = await (s.isRTL == null ? void 0 : s.isRTL(a.floating)), k = p || (_ || !b ? [Xu(i)] : Lc(i)), D = d !== "none";
|
|
3902
|
+
!p && D && k.push(...Pc(i, b, d, g));
|
|
3903
|
+
const C = [i, ...k], F = await Hc(e, m), R = [];
|
|
3904
|
+
let O = ((n = c.flip) == null ? void 0 : n.overflows) || [];
|
|
3905
|
+
if (l && R.push(F[y]), f) {
|
|
3906
|
+
const Z = qc(r, o, g);
|
|
3907
|
+
R.push(F[Z[0]], F[Z[1]]);
|
|
3758
3908
|
}
|
|
3759
|
-
if (
|
|
3909
|
+
if (O = [...O, {
|
|
3760
3910
|
placement: r,
|
|
3761
|
-
overflows:
|
|
3762
|
-
}], !
|
|
3763
|
-
var
|
|
3764
|
-
const
|
|
3765
|
-
if (
|
|
3911
|
+
overflows: R
|
|
3912
|
+
}], !R.every((Z) => Z <= 0)) {
|
|
3913
|
+
var bu, Pu;
|
|
3914
|
+
const Z = (((bu = c.flip) == null ? void 0 : bu.index) || 0) + 1, W = C[Z];
|
|
3915
|
+
if (W && (!(f === "alignment" ? x !== du(W) : !1) || // We leave the current main axis only if every placement on that axis
|
|
3766
3916
|
// overflows the main axis.
|
|
3767
|
-
|
|
3917
|
+
O.every((N) => du(N.placement) === x ? N.overflows[0] > 0 : !0)))
|
|
3768
3918
|
return {
|
|
3769
3919
|
data: {
|
|
3770
|
-
index:
|
|
3771
|
-
overflows:
|
|
3920
|
+
index: Z,
|
|
3921
|
+
overflows: O
|
|
3772
3922
|
},
|
|
3773
3923
|
reset: {
|
|
3774
|
-
placement:
|
|
3924
|
+
placement: W
|
|
3775
3925
|
}
|
|
3776
3926
|
};
|
|
3777
|
-
let
|
|
3778
|
-
if (!
|
|
3927
|
+
let lu = (Pu = O.filter((fu) => fu.overflows[0] <= 0).sort((fu, N) => fu.overflows[1] - N.overflows[1])[0]) == null ? void 0 : Pu.placement;
|
|
3928
|
+
if (!lu)
|
|
3779
3929
|
switch (h) {
|
|
3780
3930
|
case "bestFit": {
|
|
3781
|
-
var
|
|
3782
|
-
const
|
|
3931
|
+
var $u;
|
|
3932
|
+
const fu = ($u = O.filter((N) => {
|
|
3783
3933
|
if (D) {
|
|
3784
|
-
const
|
|
3785
|
-
return
|
|
3934
|
+
const nu = du(N.placement);
|
|
3935
|
+
return nu === x || // Create a bias to the `y` side axis due to horizontal
|
|
3786
3936
|
// reading directions favoring greater width.
|
|
3787
|
-
|
|
3937
|
+
nu === "y";
|
|
3788
3938
|
}
|
|
3789
3939
|
return !0;
|
|
3790
|
-
}).map((N) => [N.placement, N.overflows.filter((
|
|
3791
|
-
|
|
3940
|
+
}).map((N) => [N.placement, N.overflows.filter((nu) => nu > 0).reduce((nu, ot) => nu + ot, 0)]).sort((N, nu) => N[1] - nu[1])[0]) == null ? void 0 : $u[0];
|
|
3941
|
+
fu && (lu = fu);
|
|
3792
3942
|
break;
|
|
3793
3943
|
}
|
|
3794
3944
|
case "initialPlacement":
|
|
3795
|
-
|
|
3945
|
+
lu = i;
|
|
3796
3946
|
break;
|
|
3797
3947
|
}
|
|
3798
|
-
if (r !==
|
|
3948
|
+
if (r !== lu)
|
|
3799
3949
|
return {
|
|
3800
3950
|
reset: {
|
|
3801
|
-
placement:
|
|
3951
|
+
placement: lu
|
|
3802
3952
|
}
|
|
3803
3953
|
};
|
|
3804
3954
|
}
|
|
3805
3955
|
return {};
|
|
3806
3956
|
}
|
|
3807
3957
|
};
|
|
3808
|
-
},
|
|
3809
|
-
async function
|
|
3958
|
+
}, Uc = /* @__PURE__ */ new Set(["left", "top"]);
|
|
3959
|
+
async function Zc(u, e) {
|
|
3810
3960
|
const {
|
|
3811
3961
|
placement: t,
|
|
3812
3962
|
platform: n,
|
|
3813
3963
|
elements: r
|
|
3814
|
-
} = u, c = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), o = Du(t), i =
|
|
3964
|
+
} = u, c = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), o = Du(t), i = ee(t), s = du(t) === "y", a = Uc.has(o) ? -1 : 1, l = c && s ? -1 : 1, f = Me(e, u);
|
|
3815
3965
|
let {
|
|
3816
3966
|
mainAxis: p,
|
|
3817
3967
|
crossAxis: h,
|
|
@@ -3833,7 +3983,7 @@ async function Mc(u, e) {
|
|
|
3833
3983
|
y: h * l
|
|
3834
3984
|
};
|
|
3835
3985
|
}
|
|
3836
|
-
const
|
|
3986
|
+
const Wc = function(u) {
|
|
3837
3987
|
return u === void 0 && (u = 0), {
|
|
3838
3988
|
name: "offset",
|
|
3839
3989
|
options: u,
|
|
@@ -3844,7 +3994,7 @@ const Ic = function(u) {
|
|
|
3844
3994
|
y: c,
|
|
3845
3995
|
placement: o,
|
|
3846
3996
|
middlewareData: i
|
|
3847
|
-
} = e, s = await
|
|
3997
|
+
} = e, s = await Zc(e, u);
|
|
3848
3998
|
return o === ((t = i.offset) == null ? void 0 : t.placement) && (n = i.arrow) != null && n.alignmentOffset ? {} : {
|
|
3849
3999
|
x: r + s.x,
|
|
3850
4000
|
y: c + s.y,
|
|
@@ -3856,49 +4006,49 @@ const Ic = function(u) {
|
|
|
3856
4006
|
}
|
|
3857
4007
|
};
|
|
3858
4008
|
};
|
|
3859
|
-
function
|
|
4009
|
+
function te() {
|
|
3860
4010
|
return typeof window < "u";
|
|
3861
4011
|
}
|
|
3862
|
-
function
|
|
3863
|
-
return
|
|
4012
|
+
function pu(u) {
|
|
4013
|
+
return Ie(u) ? (u.nodeName || "").toLowerCase() : "#document";
|
|
3864
4014
|
}
|
|
3865
4015
|
function L(u) {
|
|
3866
4016
|
var e;
|
|
3867
4017
|
return (u == null || (e = u.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
3868
4018
|
}
|
|
3869
|
-
function
|
|
4019
|
+
function eu(u) {
|
|
3870
4020
|
var e;
|
|
3871
|
-
return (e = (
|
|
4021
|
+
return (e = (Ie(u) ? u.ownerDocument : u.document) || window.document) == null ? void 0 : e.documentElement;
|
|
3872
4022
|
}
|
|
3873
|
-
function
|
|
3874
|
-
return
|
|
4023
|
+
function Ie(u) {
|
|
4024
|
+
return te() ? u instanceof Node || u instanceof L(u).Node : !1;
|
|
3875
4025
|
}
|
|
3876
|
-
function
|
|
3877
|
-
return
|
|
4026
|
+
function V(u) {
|
|
4027
|
+
return te() ? u instanceof Element || u instanceof L(u).Element : !1;
|
|
3878
4028
|
}
|
|
3879
|
-
function
|
|
3880
|
-
return
|
|
4029
|
+
function Y(u) {
|
|
4030
|
+
return te() ? u instanceof HTMLElement || u instanceof L(u).HTMLElement : !1;
|
|
3881
4031
|
}
|
|
3882
|
-
function
|
|
3883
|
-
return !
|
|
4032
|
+
function a0(u) {
|
|
4033
|
+
return !te() || typeof ShadowRoot > "u" ? !1 : u instanceof ShadowRoot || u instanceof L(u).ShadowRoot;
|
|
3884
4034
|
}
|
|
3885
|
-
const
|
|
3886
|
-
function
|
|
4035
|
+
const Gc = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
4036
|
+
function Ou(u) {
|
|
3887
4037
|
const {
|
|
3888
4038
|
overflow: e,
|
|
3889
4039
|
overflowX: t,
|
|
3890
4040
|
overflowY: n,
|
|
3891
4041
|
display: r
|
|
3892
|
-
} =
|
|
3893
|
-
return /auto|scroll|overlay|hidden|clip/.test(e + n + t) && !
|
|
4042
|
+
} = U(u);
|
|
4043
|
+
return /auto|scroll|overlay|hidden|clip/.test(e + n + t) && !Gc.has(r);
|
|
3894
4044
|
}
|
|
3895
|
-
const
|
|
3896
|
-
function
|
|
3897
|
-
return
|
|
4045
|
+
const Xc = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
4046
|
+
function Jc(u) {
|
|
4047
|
+
return Xc.has(pu(u));
|
|
3898
4048
|
}
|
|
3899
|
-
const
|
|
3900
|
-
function
|
|
3901
|
-
return
|
|
4049
|
+
const Qc = [":popover-open", ":modal"];
|
|
4050
|
+
function ne(u) {
|
|
4051
|
+
return Qc.some((e) => {
|
|
3902
4052
|
try {
|
|
3903
4053
|
return u.matches(e);
|
|
3904
4054
|
} catch {
|
|
@@ -3906,34 +4056,34 @@ function te(u) {
|
|
|
3906
4056
|
}
|
|
3907
4057
|
});
|
|
3908
4058
|
}
|
|
3909
|
-
const
|
|
3910
|
-
function
|
|
3911
|
-
const e =
|
|
3912
|
-
return
|
|
4059
|
+
const Yc = ["transform", "translate", "scale", "rotate", "perspective"], Kc = ["transform", "translate", "scale", "rotate", "perspective", "filter"], uo = ["paint", "layout", "strict", "content"];
|
|
4060
|
+
function Oe(u) {
|
|
4061
|
+
const e = Pe(), t = V(u) ? U(u) : u;
|
|
4062
|
+
return Yc.some((n) => t[n] ? t[n] !== "none" : !1) || (t.containerType ? t.containerType !== "normal" : !1) || !e && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !e && (t.filter ? t.filter !== "none" : !1) || Kc.some((n) => (t.willChange || "").includes(n)) || uo.some((n) => (t.contain || "").includes(n));
|
|
3913
4063
|
}
|
|
3914
|
-
function
|
|
3915
|
-
let e =
|
|
3916
|
-
for (;
|
|
3917
|
-
if (
|
|
4064
|
+
function eo(u) {
|
|
4065
|
+
let e = au(u);
|
|
4066
|
+
for (; Y(e) && !Eu(e); ) {
|
|
4067
|
+
if (Oe(e))
|
|
3918
4068
|
return e;
|
|
3919
|
-
if (
|
|
4069
|
+
if (ne(e))
|
|
3920
4070
|
return null;
|
|
3921
|
-
e =
|
|
4071
|
+
e = au(e);
|
|
3922
4072
|
}
|
|
3923
4073
|
return null;
|
|
3924
4074
|
}
|
|
3925
|
-
function
|
|
4075
|
+
function Pe() {
|
|
3926
4076
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
3927
4077
|
}
|
|
3928
|
-
const
|
|
4078
|
+
const to = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
3929
4079
|
function Eu(u) {
|
|
3930
|
-
return
|
|
4080
|
+
return to.has(pu(u));
|
|
3931
4081
|
}
|
|
3932
|
-
function
|
|
4082
|
+
function U(u) {
|
|
3933
4083
|
return L(u).getComputedStyle(u);
|
|
3934
4084
|
}
|
|
3935
|
-
function
|
|
3936
|
-
return
|
|
4085
|
+
function re(u) {
|
|
4086
|
+
return V(u) ? {
|
|
3937
4087
|
scrollLeft: u.scrollLeft,
|
|
3938
4088
|
scrollTop: u.scrollTop
|
|
3939
4089
|
} : {
|
|
@@ -3941,127 +4091,127 @@ function ne(u) {
|
|
|
3941
4091
|
scrollTop: u.scrollY
|
|
3942
4092
|
};
|
|
3943
4093
|
}
|
|
3944
|
-
function
|
|
3945
|
-
if (
|
|
4094
|
+
function au(u) {
|
|
4095
|
+
if (pu(u) === "html")
|
|
3946
4096
|
return u;
|
|
3947
4097
|
const e = (
|
|
3948
4098
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
3949
4099
|
u.assignedSlot || // DOM Element detected.
|
|
3950
4100
|
u.parentNode || // ShadowRoot detected.
|
|
3951
|
-
|
|
3952
|
-
|
|
4101
|
+
a0(u) && u.host || // Fallback.
|
|
4102
|
+
eu(u)
|
|
3953
4103
|
);
|
|
3954
|
-
return
|
|
4104
|
+
return a0(e) ? e.host : e;
|
|
3955
4105
|
}
|
|
3956
|
-
function
|
|
3957
|
-
const e =
|
|
3958
|
-
return Eu(e) ? u.ownerDocument ? u.ownerDocument.body : u.body :
|
|
4106
|
+
function Y0(u) {
|
|
4107
|
+
const e = au(u);
|
|
4108
|
+
return Eu(e) ? u.ownerDocument ? u.ownerDocument.body : u.body : Y(e) && Ou(e) ? e : Y0(e);
|
|
3959
4109
|
}
|
|
3960
|
-
function
|
|
4110
|
+
function zu(u, e, t) {
|
|
3961
4111
|
var n;
|
|
3962
4112
|
e === void 0 && (e = []), t === void 0 && (t = !0);
|
|
3963
|
-
const r =
|
|
4113
|
+
const r = Y0(u), c = r === ((n = u.ownerDocument) == null ? void 0 : n.body), o = L(r);
|
|
3964
4114
|
if (c) {
|
|
3965
4115
|
const i = De(o);
|
|
3966
|
-
return e.concat(o, o.visualViewport || [],
|
|
4116
|
+
return e.concat(o, o.visualViewport || [], Ou(r) ? r : [], i && t ? zu(i) : []);
|
|
3967
4117
|
}
|
|
3968
|
-
return e.concat(r,
|
|
4118
|
+
return e.concat(r, zu(r, [], t));
|
|
3969
4119
|
}
|
|
3970
4120
|
function De(u) {
|
|
3971
4121
|
return u.parent && Object.getPrototypeOf(u.parent) ? u.frameElement : null;
|
|
3972
4122
|
}
|
|
3973
|
-
function
|
|
3974
|
-
const e =
|
|
4123
|
+
function K0(u) {
|
|
4124
|
+
const e = U(u);
|
|
3975
4125
|
let t = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
3976
|
-
const r =
|
|
4126
|
+
const r = Y(u), c = r ? u.offsetWidth : t, o = r ? u.offsetHeight : n, i = Gu(t) !== c || Gu(n) !== o;
|
|
3977
4127
|
return i && (t = c, n = o), {
|
|
3978
4128
|
width: t,
|
|
3979
4129
|
height: n,
|
|
3980
4130
|
$: i
|
|
3981
4131
|
};
|
|
3982
4132
|
}
|
|
3983
|
-
function
|
|
3984
|
-
return
|
|
4133
|
+
function $e(u) {
|
|
4134
|
+
return V(u) ? u : u.contextElement;
|
|
3985
4135
|
}
|
|
3986
4136
|
function ku(u) {
|
|
3987
|
-
const e =
|
|
3988
|
-
if (!
|
|
3989
|
-
return
|
|
4137
|
+
const e = $e(u);
|
|
4138
|
+
if (!Y(e))
|
|
4139
|
+
return Q(1);
|
|
3990
4140
|
const t = e.getBoundingClientRect(), {
|
|
3991
4141
|
width: n,
|
|
3992
4142
|
height: r,
|
|
3993
4143
|
$: c
|
|
3994
|
-
} =
|
|
3995
|
-
let o = (c ?
|
|
4144
|
+
} = K0(e);
|
|
4145
|
+
let o = (c ? Gu(t.width) : t.width) / n, i = (c ? Gu(t.height) : t.height) / r;
|
|
3996
4146
|
return (!o || !Number.isFinite(o)) && (o = 1), (!i || !Number.isFinite(i)) && (i = 1), {
|
|
3997
4147
|
x: o,
|
|
3998
4148
|
y: i
|
|
3999
4149
|
};
|
|
4000
4150
|
}
|
|
4001
|
-
const
|
|
4002
|
-
function
|
|
4151
|
+
const no = /* @__PURE__ */ Q(0);
|
|
4152
|
+
function ut(u) {
|
|
4003
4153
|
const e = L(u);
|
|
4004
|
-
return !
|
|
4154
|
+
return !Pe() || !e.visualViewport ? no : {
|
|
4005
4155
|
x: e.visualViewport.offsetLeft,
|
|
4006
4156
|
y: e.visualViewport.offsetTop
|
|
4007
4157
|
};
|
|
4008
4158
|
}
|
|
4009
|
-
function
|
|
4159
|
+
function ro(u, e, t) {
|
|
4010
4160
|
return e === void 0 && (e = !1), !t || e && t !== L(u) ? !1 : e;
|
|
4011
4161
|
}
|
|
4012
|
-
function
|
|
4162
|
+
function hu(u, e, t, n) {
|
|
4013
4163
|
e === void 0 && (e = !1), t === void 0 && (t = !1);
|
|
4014
|
-
const r = u.getBoundingClientRect(), c =
|
|
4015
|
-
let o =
|
|
4016
|
-
e && (n ?
|
|
4017
|
-
const i =
|
|
4164
|
+
const r = u.getBoundingClientRect(), c = $e(u);
|
|
4165
|
+
let o = Q(1);
|
|
4166
|
+
e && (n ? V(n) && (o = ku(n)) : o = ku(u));
|
|
4167
|
+
const i = ro(c, t, n) ? ut(c) : Q(0);
|
|
4018
4168
|
let s = (r.left + i.x) / o.x, a = (r.top + i.y) / o.y, l = r.width / o.x, f = r.height / o.y;
|
|
4019
4169
|
if (c) {
|
|
4020
|
-
const p = L(c), h = n &&
|
|
4170
|
+
const p = L(c), h = n && V(n) ? L(n) : n;
|
|
4021
4171
|
let d = p, b = De(d);
|
|
4022
4172
|
for (; b && n && h !== d; ) {
|
|
4023
|
-
const m = ku(b), y = b.getBoundingClientRect(), x =
|
|
4173
|
+
const m = ku(b), y = b.getBoundingClientRect(), x = U(b), _ = y.left + (b.clientLeft + parseFloat(x.paddingLeft)) * m.x, g = y.top + (b.clientTop + parseFloat(x.paddingTop)) * m.y;
|
|
4024
4174
|
s *= m.x, a *= m.y, l *= m.x, f *= m.y, s += _, a += g, d = L(b), b = De(d);
|
|
4025
4175
|
}
|
|
4026
4176
|
}
|
|
4027
|
-
return
|
|
4177
|
+
return Ju({
|
|
4028
4178
|
width: l,
|
|
4029
4179
|
height: f,
|
|
4030
4180
|
x: s,
|
|
4031
4181
|
y: a
|
|
4032
4182
|
});
|
|
4033
4183
|
}
|
|
4034
|
-
function
|
|
4035
|
-
const t =
|
|
4036
|
-
return e ? e.left + t :
|
|
4184
|
+
function ce(u, e) {
|
|
4185
|
+
const t = re(u).scrollLeft;
|
|
4186
|
+
return e ? e.left + t : hu(eu(u)).left + t;
|
|
4037
4187
|
}
|
|
4038
|
-
function
|
|
4039
|
-
const t = u.getBoundingClientRect(), n = t.left + e.scrollLeft -
|
|
4188
|
+
function et(u, e) {
|
|
4189
|
+
const t = u.getBoundingClientRect(), n = t.left + e.scrollLeft - ce(u, t), r = t.top + e.scrollTop;
|
|
4040
4190
|
return {
|
|
4041
4191
|
x: n,
|
|
4042
4192
|
y: r
|
|
4043
4193
|
};
|
|
4044
4194
|
}
|
|
4045
|
-
function
|
|
4195
|
+
function co(u) {
|
|
4046
4196
|
let {
|
|
4047
4197
|
elements: e,
|
|
4048
4198
|
rect: t,
|
|
4049
4199
|
offsetParent: n,
|
|
4050
4200
|
strategy: r
|
|
4051
4201
|
} = u;
|
|
4052
|
-
const c = r === "fixed", o =
|
|
4202
|
+
const c = r === "fixed", o = eu(n), i = e ? ne(e.floating) : !1;
|
|
4053
4203
|
if (n === o || i && c)
|
|
4054
4204
|
return t;
|
|
4055
4205
|
let s = {
|
|
4056
4206
|
scrollLeft: 0,
|
|
4057
4207
|
scrollTop: 0
|
|
4058
|
-
}, a =
|
|
4059
|
-
const l =
|
|
4060
|
-
if ((f || !f && !c) && ((
|
|
4061
|
-
const h =
|
|
4208
|
+
}, a = Q(1);
|
|
4209
|
+
const l = Q(0), f = Y(n);
|
|
4210
|
+
if ((f || !f && !c) && ((pu(n) !== "body" || Ou(o)) && (s = re(n)), Y(n))) {
|
|
4211
|
+
const h = hu(n);
|
|
4062
4212
|
a = ku(n), l.x = h.x + n.clientLeft, l.y = h.y + n.clientTop;
|
|
4063
4213
|
}
|
|
4064
|
-
const p = o && !f && !c ?
|
|
4214
|
+
const p = o && !f && !c ? et(o, s) : Q(0);
|
|
4065
4215
|
return {
|
|
4066
4216
|
width: t.width * a.x,
|
|
4067
4217
|
height: t.height * a.y,
|
|
@@ -4069,34 +4219,34 @@ function Xc(u) {
|
|
|
4069
4219
|
y: t.y * a.y - s.scrollTop * a.y + l.y + p.y
|
|
4070
4220
|
};
|
|
4071
4221
|
}
|
|
4072
|
-
function
|
|
4222
|
+
function oo(u) {
|
|
4073
4223
|
return Array.from(u.getClientRects());
|
|
4074
4224
|
}
|
|
4075
|
-
function
|
|
4076
|
-
const e =
|
|
4077
|
-
let o = -t.scrollLeft +
|
|
4225
|
+
function io(u) {
|
|
4226
|
+
const e = eu(u), t = re(u), n = u.ownerDocument.body, r = gu(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), c = gu(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
4227
|
+
let o = -t.scrollLeft + ce(u);
|
|
4078
4228
|
const i = -t.scrollTop;
|
|
4079
|
-
return
|
|
4229
|
+
return U(n).direction === "rtl" && (o += gu(e.clientWidth, n.clientWidth) - r), {
|
|
4080
4230
|
width: r,
|
|
4081
4231
|
height: c,
|
|
4082
4232
|
x: o,
|
|
4083
4233
|
y: i
|
|
4084
4234
|
};
|
|
4085
4235
|
}
|
|
4086
|
-
const
|
|
4087
|
-
function
|
|
4088
|
-
const t = L(u), n =
|
|
4236
|
+
const l0 = 25;
|
|
4237
|
+
function so(u, e) {
|
|
4238
|
+
const t = L(u), n = eu(u), r = t.visualViewport;
|
|
4089
4239
|
let c = n.clientWidth, o = n.clientHeight, i = 0, s = 0;
|
|
4090
4240
|
if (r) {
|
|
4091
4241
|
c = r.width, o = r.height;
|
|
4092
|
-
const l =
|
|
4242
|
+
const l = Pe();
|
|
4093
4243
|
(!l || l && e === "fixed") && (i = r.offsetLeft, s = r.offsetTop);
|
|
4094
4244
|
}
|
|
4095
|
-
const a =
|
|
4245
|
+
const a = ce(n);
|
|
4096
4246
|
if (a <= 0) {
|
|
4097
4247
|
const l = n.ownerDocument, f = l.body, p = getComputedStyle(f), h = l.compatMode === "CSS1Compat" && parseFloat(p.marginLeft) + parseFloat(p.marginRight) || 0, d = Math.abs(n.clientWidth - f.clientWidth - h);
|
|
4098
|
-
d <=
|
|
4099
|
-
} else a <=
|
|
4248
|
+
d <= l0 && (c -= d);
|
|
4249
|
+
} else a <= l0 && (c += a);
|
|
4100
4250
|
return {
|
|
4101
4251
|
width: c,
|
|
4102
4252
|
height: o,
|
|
@@ -4104,9 +4254,9 @@ function Yc(u, e) {
|
|
|
4104
4254
|
y: s
|
|
4105
4255
|
};
|
|
4106
4256
|
}
|
|
4107
|
-
const
|
|
4108
|
-
function
|
|
4109
|
-
const t =
|
|
4257
|
+
const ao = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
4258
|
+
function lo(u, e) {
|
|
4259
|
+
const t = hu(u, !0, e === "fixed"), n = t.top + u.clientTop, r = t.left + u.clientLeft, c = Y(u) ? ku(u) : Q(1), o = u.clientWidth * c.x, i = u.clientHeight * c.y, s = r * c.x, a = n * c.y;
|
|
4110
4260
|
return {
|
|
4111
4261
|
width: o,
|
|
4112
4262
|
height: i,
|
|
@@ -4114,16 +4264,16 @@ function uo(u, e) {
|
|
|
4114
4264
|
y: a
|
|
4115
4265
|
};
|
|
4116
4266
|
}
|
|
4117
|
-
function
|
|
4267
|
+
function f0(u, e, t) {
|
|
4118
4268
|
let n;
|
|
4119
4269
|
if (e === "viewport")
|
|
4120
|
-
n =
|
|
4270
|
+
n = so(u, t);
|
|
4121
4271
|
else if (e === "document")
|
|
4122
|
-
n =
|
|
4123
|
-
else if (
|
|
4124
|
-
n =
|
|
4272
|
+
n = io(eu(u));
|
|
4273
|
+
else if (V(e))
|
|
4274
|
+
n = lo(e, t);
|
|
4125
4275
|
else {
|
|
4126
|
-
const r =
|
|
4276
|
+
const r = ut(u);
|
|
4127
4277
|
n = {
|
|
4128
4278
|
x: e.x - r.x,
|
|
4129
4279
|
y: e.y - r.y,
|
|
@@ -4131,36 +4281,36 @@ function s0(u, e, t) {
|
|
|
4131
4281
|
height: e.height
|
|
4132
4282
|
};
|
|
4133
4283
|
}
|
|
4134
|
-
return
|
|
4284
|
+
return Ju(n);
|
|
4135
4285
|
}
|
|
4136
|
-
function
|
|
4137
|
-
const t =
|
|
4138
|
-
return t === e || !
|
|
4286
|
+
function tt(u, e) {
|
|
4287
|
+
const t = au(u);
|
|
4288
|
+
return t === e || !V(t) || Eu(t) ? !1 : U(t).position === "fixed" || tt(t, e);
|
|
4139
4289
|
}
|
|
4140
|
-
function
|
|
4290
|
+
function fo(u, e) {
|
|
4141
4291
|
const t = e.get(u);
|
|
4142
4292
|
if (t)
|
|
4143
4293
|
return t;
|
|
4144
|
-
let n =
|
|
4145
|
-
const c =
|
|
4146
|
-
let o = c ?
|
|
4147
|
-
for (;
|
|
4148
|
-
const i =
|
|
4149
|
-
!s && i.position === "fixed" && (r = null), (c ? !s && !r : !s && i.position === "static" && !!r &&
|
|
4294
|
+
let n = zu(u, [], !1).filter((i) => V(i) && pu(i) !== "body"), r = null;
|
|
4295
|
+
const c = U(u).position === "fixed";
|
|
4296
|
+
let o = c ? au(u) : u;
|
|
4297
|
+
for (; V(o) && !Eu(o); ) {
|
|
4298
|
+
const i = U(o), s = Oe(o);
|
|
4299
|
+
!s && i.position === "fixed" && (r = null), (c ? !s && !r : !s && i.position === "static" && !!r && ao.has(r.position) || Ou(o) && !s && tt(u, o)) ? n = n.filter((l) => l !== o) : r = i, o = au(o);
|
|
4150
4300
|
}
|
|
4151
4301
|
return e.set(u, n), n;
|
|
4152
4302
|
}
|
|
4153
|
-
function
|
|
4303
|
+
function ho(u) {
|
|
4154
4304
|
let {
|
|
4155
4305
|
element: e,
|
|
4156
4306
|
boundary: t,
|
|
4157
4307
|
rootBoundary: n,
|
|
4158
4308
|
strategy: r
|
|
4159
4309
|
} = u;
|
|
4160
|
-
const o = [...t === "clippingAncestors" ?
|
|
4161
|
-
const f =
|
|
4310
|
+
const o = [...t === "clippingAncestors" ? ne(e) ? [] : fo(e, this._c) : [].concat(t), n], i = o[0], s = o.reduce((a, l) => {
|
|
4311
|
+
const f = f0(e, l, r);
|
|
4162
4312
|
return a.top = gu(f.top, a.top), a.right = ye(f.right, a.right), a.bottom = ye(f.bottom, a.bottom), a.left = gu(f.left, a.left), a;
|
|
4163
|
-
},
|
|
4313
|
+
}, f0(e, i, r));
|
|
4164
4314
|
return {
|
|
4165
4315
|
width: s.right - s.left,
|
|
4166
4316
|
height: s.bottom - s.top,
|
|
@@ -4168,33 +4318,33 @@ function to(u) {
|
|
|
4168
4318
|
y: s.top
|
|
4169
4319
|
};
|
|
4170
4320
|
}
|
|
4171
|
-
function
|
|
4321
|
+
function po(u) {
|
|
4172
4322
|
const {
|
|
4173
4323
|
width: e,
|
|
4174
4324
|
height: t
|
|
4175
|
-
} =
|
|
4325
|
+
} = K0(u);
|
|
4176
4326
|
return {
|
|
4177
4327
|
width: e,
|
|
4178
4328
|
height: t
|
|
4179
4329
|
};
|
|
4180
4330
|
}
|
|
4181
|
-
function
|
|
4182
|
-
const n =
|
|
4331
|
+
function bo(u, e, t) {
|
|
4332
|
+
const n = Y(e), r = eu(e), c = t === "fixed", o = hu(u, !0, c, e);
|
|
4183
4333
|
let i = {
|
|
4184
4334
|
scrollLeft: 0,
|
|
4185
4335
|
scrollTop: 0
|
|
4186
4336
|
};
|
|
4187
|
-
const s =
|
|
4337
|
+
const s = Q(0);
|
|
4188
4338
|
function a() {
|
|
4189
|
-
s.x =
|
|
4339
|
+
s.x = ce(r);
|
|
4190
4340
|
}
|
|
4191
4341
|
if (n || !n && !c)
|
|
4192
|
-
if ((
|
|
4193
|
-
const h =
|
|
4342
|
+
if ((pu(e) !== "body" || Ou(r)) && (i = re(e)), n) {
|
|
4343
|
+
const h = hu(e, !0, c, e);
|
|
4194
4344
|
s.x = h.x + e.clientLeft, s.y = h.y + e.clientTop;
|
|
4195
4345
|
} else r && a();
|
|
4196
4346
|
c && !n && r && a();
|
|
4197
|
-
const l = r && !n && !c ?
|
|
4347
|
+
const l = r && !n && !c ? et(r, i) : Q(0), f = o.left + i.scrollLeft - s.x - l.x, p = o.top + i.scrollTop - s.y - l.y;
|
|
4198
4348
|
return {
|
|
4199
4349
|
x: f,
|
|
4200
4350
|
y: p,
|
|
@@ -4202,39 +4352,39 @@ function ro(u, e, t) {
|
|
|
4202
4352
|
height: o.height
|
|
4203
4353
|
};
|
|
4204
4354
|
}
|
|
4205
|
-
function
|
|
4206
|
-
return
|
|
4355
|
+
function be(u) {
|
|
4356
|
+
return U(u).position === "static";
|
|
4207
4357
|
}
|
|
4208
|
-
function
|
|
4209
|
-
if (!
|
|
4358
|
+
function d0(u, e) {
|
|
4359
|
+
if (!Y(u) || U(u).position === "fixed")
|
|
4210
4360
|
return null;
|
|
4211
4361
|
if (e)
|
|
4212
4362
|
return e(u);
|
|
4213
4363
|
let t = u.offsetParent;
|
|
4214
|
-
return
|
|
4364
|
+
return eu(u) === t && (t = t.ownerDocument.body), t;
|
|
4215
4365
|
}
|
|
4216
|
-
function
|
|
4366
|
+
function nt(u, e) {
|
|
4217
4367
|
const t = L(u);
|
|
4218
|
-
if (
|
|
4368
|
+
if (ne(u))
|
|
4219
4369
|
return t;
|
|
4220
|
-
if (!
|
|
4221
|
-
let r =
|
|
4370
|
+
if (!Y(u)) {
|
|
4371
|
+
let r = au(u);
|
|
4222
4372
|
for (; r && !Eu(r); ) {
|
|
4223
|
-
if (
|
|
4373
|
+
if (V(r) && !be(r))
|
|
4224
4374
|
return r;
|
|
4225
|
-
r =
|
|
4375
|
+
r = au(r);
|
|
4226
4376
|
}
|
|
4227
4377
|
return t;
|
|
4228
4378
|
}
|
|
4229
|
-
let n =
|
|
4230
|
-
for (; n &&
|
|
4231
|
-
n =
|
|
4232
|
-
return n && Eu(n) &&
|
|
4379
|
+
let n = d0(u, e);
|
|
4380
|
+
for (; n && Jc(n) && be(n); )
|
|
4381
|
+
n = d0(n, e);
|
|
4382
|
+
return n && Eu(n) && be(n) && !Oe(n) ? t : n || eo(u) || t;
|
|
4233
4383
|
}
|
|
4234
|
-
const
|
|
4235
|
-
const e = this.getOffsetParent ||
|
|
4384
|
+
const xo = async function(u) {
|
|
4385
|
+
const e = this.getOffsetParent || nt, t = this.getDimensions, n = await t(u.floating);
|
|
4236
4386
|
return {
|
|
4237
|
-
reference:
|
|
4387
|
+
reference: bo(u.reference, await e(u.floating), u.strategy),
|
|
4238
4388
|
floating: {
|
|
4239
4389
|
x: 0,
|
|
4240
4390
|
y: 0,
|
|
@@ -4243,27 +4393,27 @@ const co = async function(u) {
|
|
|
4243
4393
|
}
|
|
4244
4394
|
};
|
|
4245
4395
|
};
|
|
4246
|
-
function
|
|
4247
|
-
return
|
|
4248
|
-
}
|
|
4249
|
-
const
|
|
4250
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
4251
|
-
getDocumentElement:
|
|
4252
|
-
getClippingRect:
|
|
4253
|
-
getOffsetParent:
|
|
4254
|
-
getElementRects:
|
|
4255
|
-
getClientRects:
|
|
4256
|
-
getDimensions:
|
|
4396
|
+
function mo(u) {
|
|
4397
|
+
return U(u).direction === "rtl";
|
|
4398
|
+
}
|
|
4399
|
+
const _o = {
|
|
4400
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: co,
|
|
4401
|
+
getDocumentElement: eu,
|
|
4402
|
+
getClippingRect: ho,
|
|
4403
|
+
getOffsetParent: nt,
|
|
4404
|
+
getElementRects: xo,
|
|
4405
|
+
getClientRects: oo,
|
|
4406
|
+
getDimensions: po,
|
|
4257
4407
|
getScale: ku,
|
|
4258
|
-
isElement:
|
|
4259
|
-
isRTL:
|
|
4408
|
+
isElement: V,
|
|
4409
|
+
isRTL: mo
|
|
4260
4410
|
};
|
|
4261
|
-
function
|
|
4411
|
+
function rt(u, e) {
|
|
4262
4412
|
return u.x === e.x && u.y === e.y && u.width === e.width && u.height === e.height;
|
|
4263
4413
|
}
|
|
4264
|
-
function
|
|
4414
|
+
function go(u, e) {
|
|
4265
4415
|
let t = null, n;
|
|
4266
|
-
const r =
|
|
4416
|
+
const r = eu(u);
|
|
4267
4417
|
function c() {
|
|
4268
4418
|
var i;
|
|
4269
4419
|
clearTimeout(n), (i = t) == null || i.disconnect(), t = null;
|
|
@@ -4278,7 +4428,7 @@ function so(u, e) {
|
|
|
4278
4428
|
} = a;
|
|
4279
4429
|
if (i || e(), !p || !h)
|
|
4280
4430
|
return;
|
|
4281
|
-
const d =
|
|
4431
|
+
const d = Hu(f), b = Hu(r.clientWidth - (l + p)), m = Hu(r.clientHeight - (f + h)), y = Hu(l), _ = {
|
|
4282
4432
|
rootMargin: -d + "px " + -b + "px " + -m + "px " + -y + "px",
|
|
4283
4433
|
threshold: gu(0, ye(1, s)) || 1
|
|
4284
4434
|
};
|
|
@@ -4292,7 +4442,7 @@ function so(u, e) {
|
|
|
4292
4442
|
o(!1, 1e-7);
|
|
4293
4443
|
}, 1e3);
|
|
4294
4444
|
}
|
|
4295
|
-
C === 1 && !
|
|
4445
|
+
C === 1 && !rt(a, u.getBoundingClientRect()) && o(), g = !1;
|
|
4296
4446
|
}
|
|
4297
4447
|
try {
|
|
4298
4448
|
t = new IntersectionObserver(k, {
|
|
@@ -4307,7 +4457,7 @@ function so(u, e) {
|
|
|
4307
4457
|
}
|
|
4308
4458
|
return o(!0), c;
|
|
4309
4459
|
}
|
|
4310
|
-
function
|
|
4460
|
+
function ko(u, e, t, n) {
|
|
4311
4461
|
n === void 0 && (n = {});
|
|
4312
4462
|
const {
|
|
4313
4463
|
ancestorScroll: r = !0,
|
|
@@ -4315,13 +4465,13 @@ function ao(u, e, t, n) {
|
|
|
4315
4465
|
elementResize: o = typeof ResizeObserver == "function",
|
|
4316
4466
|
layoutShift: i = typeof IntersectionObserver == "function",
|
|
4317
4467
|
animationFrame: s = !1
|
|
4318
|
-
} = n, a =
|
|
4468
|
+
} = n, a = $e(u), l = r || c ? [...a ? zu(a) : [], ...zu(e)] : [];
|
|
4319
4469
|
l.forEach((y) => {
|
|
4320
4470
|
r && y.addEventListener("scroll", t, {
|
|
4321
4471
|
passive: !0
|
|
4322
4472
|
}), c && y.addEventListener("resize", t);
|
|
4323
4473
|
});
|
|
4324
|
-
const f = a && i ?
|
|
4474
|
+
const f = a && i ? go(a, t) : null;
|
|
4325
4475
|
let p = -1, h = null;
|
|
4326
4476
|
o && (h = new ResizeObserver((y) => {
|
|
4327
4477
|
let [x] = y;
|
|
@@ -4330,11 +4480,11 @@ function ao(u, e, t, n) {
|
|
|
4330
4480
|
(_ = h) == null || _.observe(e);
|
|
4331
4481
|
})), t();
|
|
4332
4482
|
}), a && !s && h.observe(a), h.observe(e));
|
|
4333
|
-
let d, b = s ?
|
|
4483
|
+
let d, b = s ? hu(u) : null;
|
|
4334
4484
|
s && m();
|
|
4335
4485
|
function m() {
|
|
4336
|
-
const y =
|
|
4337
|
-
b && !
|
|
4486
|
+
const y = hu(u);
|
|
4487
|
+
b && !rt(b, y) && t(), b = y, d = requestAnimationFrame(m);
|
|
4338
4488
|
}
|
|
4339
4489
|
return t(), () => {
|
|
4340
4490
|
var y;
|
|
@@ -4343,40 +4493,40 @@ function ao(u, e, t, n) {
|
|
|
4343
4493
|
}), f == null || f(), (y = h) == null || y.disconnect(), h = null, s && cancelAnimationFrame(d);
|
|
4344
4494
|
};
|
|
4345
4495
|
}
|
|
4346
|
-
const
|
|
4496
|
+
const yo = Wc, Co = Vc, Do = (u, e, t) => {
|
|
4347
4497
|
const n = /* @__PURE__ */ new Map(), r = {
|
|
4348
|
-
platform:
|
|
4498
|
+
platform: _o,
|
|
4349
4499
|
...t
|
|
4350
4500
|
}, c = {
|
|
4351
4501
|
...r.platform,
|
|
4352
4502
|
_c: n
|
|
4353
4503
|
};
|
|
4354
|
-
return
|
|
4504
|
+
return jc(u, e, {
|
|
4355
4505
|
...r,
|
|
4356
4506
|
platform: c
|
|
4357
4507
|
});
|
|
4358
4508
|
};
|
|
4359
|
-
function
|
|
4509
|
+
function Eo(u) {
|
|
4360
4510
|
return u != null && typeof u == "object" && "$el" in u;
|
|
4361
4511
|
}
|
|
4362
|
-
function
|
|
4363
|
-
if (
|
|
4512
|
+
function h0(u) {
|
|
4513
|
+
if (Eo(u)) {
|
|
4364
4514
|
const e = u.$el;
|
|
4365
|
-
return
|
|
4515
|
+
return Ie(e) && pu(e) === "#comment" ? null : e;
|
|
4366
4516
|
}
|
|
4367
4517
|
return u;
|
|
4368
4518
|
}
|
|
4369
4519
|
function Fu(u) {
|
|
4370
|
-
return typeof u == "function" ? u() :
|
|
4520
|
+
return typeof u == "function" ? u() : iu(u);
|
|
4371
4521
|
}
|
|
4372
|
-
function
|
|
4522
|
+
function ct(u) {
|
|
4373
4523
|
return typeof window > "u" ? 1 : (u.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
4374
4524
|
}
|
|
4375
|
-
function
|
|
4376
|
-
const t =
|
|
4525
|
+
function p0(u, e) {
|
|
4526
|
+
const t = ct(u);
|
|
4377
4527
|
return Math.round(e * t) / t;
|
|
4378
4528
|
}
|
|
4379
|
-
function
|
|
4529
|
+
function Ao(u, e, t) {
|
|
4380
4530
|
t === void 0 && (t = {});
|
|
4381
4531
|
const n = t.whileElementsMounted, r = E(() => {
|
|
4382
4532
|
var C;
|
|
@@ -4390,7 +4540,7 @@ function bo(u, e, t) {
|
|
|
4390
4540
|
}), s = E(() => {
|
|
4391
4541
|
var C;
|
|
4392
4542
|
return (C = Fu(t.transform)) != null ? C : !0;
|
|
4393
|
-
}), a = E(() =>
|
|
4543
|
+
}), a = E(() => h0(u.value)), l = E(() => h0(e.value)), f = tu(0), p = tu(0), h = tu(i.value), d = tu(o.value), b = me({}), m = tu(!1), y = E(() => {
|
|
4394
4544
|
const C = {
|
|
4395
4545
|
position: h.value,
|
|
4396
4546
|
left: "0",
|
|
@@ -4398,17 +4548,17 @@ function bo(u, e, t) {
|
|
|
4398
4548
|
};
|
|
4399
4549
|
if (!l.value)
|
|
4400
4550
|
return C;
|
|
4401
|
-
const
|
|
4551
|
+
const F = p0(l.value, f.value), R = p0(l.value, p.value);
|
|
4402
4552
|
return s.value ? {
|
|
4403
4553
|
...C,
|
|
4404
|
-
transform: "translate(" +
|
|
4405
|
-
...
|
|
4554
|
+
transform: "translate(" + F + "px, " + R + "px)",
|
|
4555
|
+
...ct(l.value) >= 1.5 && {
|
|
4406
4556
|
willChange: "transform"
|
|
4407
4557
|
}
|
|
4408
4558
|
} : {
|
|
4409
4559
|
position: h.value,
|
|
4410
|
-
left:
|
|
4411
|
-
top:
|
|
4560
|
+
left: F + "px",
|
|
4561
|
+
top: R + "px"
|
|
4412
4562
|
};
|
|
4413
4563
|
});
|
|
4414
4564
|
let x;
|
|
@@ -4416,12 +4566,12 @@ function bo(u, e, t) {
|
|
|
4416
4566
|
if (a.value == null || l.value == null)
|
|
4417
4567
|
return;
|
|
4418
4568
|
const C = r.value;
|
|
4419
|
-
|
|
4569
|
+
Do(a.value, l.value, {
|
|
4420
4570
|
middleware: c.value,
|
|
4421
4571
|
placement: o.value,
|
|
4422
4572
|
strategy: i.value
|
|
4423
|
-
}).then((
|
|
4424
|
-
f.value =
|
|
4573
|
+
}).then((F) => {
|
|
4574
|
+
f.value = F.x, p.value = F.y, h.value = F.strategy, d.value = F.placement, b.value = F.middlewareData, m.value = C !== !1;
|
|
4425
4575
|
});
|
|
4426
4576
|
}
|
|
4427
4577
|
function g() {
|
|
@@ -4440,24 +4590,24 @@ function bo(u, e, t) {
|
|
|
4440
4590
|
function D() {
|
|
4441
4591
|
r.value || (m.value = !1);
|
|
4442
4592
|
}
|
|
4443
|
-
return
|
|
4593
|
+
return ie([c, o, i, r], _, {
|
|
4444
4594
|
flush: "sync"
|
|
4445
|
-
}),
|
|
4595
|
+
}), ie([a, l], k, {
|
|
4446
4596
|
flush: "sync"
|
|
4447
|
-
}),
|
|
4597
|
+
}), ie(r, D, {
|
|
4448
4598
|
flush: "sync"
|
|
4449
|
-
}),
|
|
4450
|
-
x:
|
|
4451
|
-
y:
|
|
4452
|
-
strategy:
|
|
4453
|
-
placement:
|
|
4454
|
-
middlewareData:
|
|
4455
|
-
isPositioned:
|
|
4599
|
+
}), lt() && ft(g), {
|
|
4600
|
+
x: xu(f),
|
|
4601
|
+
y: xu(p),
|
|
4602
|
+
strategy: xu(h),
|
|
4603
|
+
placement: xu(d),
|
|
4604
|
+
middlewareData: xu(b),
|
|
4605
|
+
isPositioned: xu(m),
|
|
4456
4606
|
floatingStyles: y,
|
|
4457
4607
|
update: _
|
|
4458
4608
|
};
|
|
4459
4609
|
}
|
|
4460
|
-
const
|
|
4610
|
+
const Oo = /* @__PURE__ */ I({
|
|
4461
4611
|
__name: "popover",
|
|
4462
4612
|
props: /* @__PURE__ */ xe({
|
|
4463
4613
|
placement: { default: "top" },
|
|
@@ -4476,13 +4626,13 @@ const wo = /* @__PURE__ */ P({
|
|
|
4476
4626
|
emits: ["update:visible"],
|
|
4477
4627
|
setup(u) {
|
|
4478
4628
|
let e;
|
|
4479
|
-
const t = u, n = me(null), r = me(null), c =
|
|
4629
|
+
const t = u, n = me(null), r = me(null), c = y0(u, "visible"), { floatingStyles: o } = Ao(n, r, {
|
|
4480
4630
|
placement: t.placement,
|
|
4481
|
-
whileElementsMounted:
|
|
4631
|
+
whileElementsMounted: ko,
|
|
4482
4632
|
transform: !1,
|
|
4483
|
-
middleware: [
|
|
4633
|
+
middleware: [yo(t.offset), Co()]
|
|
4484
4634
|
});
|
|
4485
|
-
|
|
4635
|
+
Ae(() => {
|
|
4486
4636
|
p(), document.removeEventListener("click", f);
|
|
4487
4637
|
});
|
|
4488
4638
|
function i() {
|
|
@@ -4507,9 +4657,9 @@ const wo = /* @__PURE__ */ P({
|
|
|
4507
4657
|
function p() {
|
|
4508
4658
|
e && (clearTimeout(e), e = void 0);
|
|
4509
4659
|
}
|
|
4510
|
-
return (h, d) => (
|
|
4511
|
-
|
|
4512
|
-
class:
|
|
4660
|
+
return (h, d) => (A(), v(dt, null, [
|
|
4661
|
+
S("span", {
|
|
4662
|
+
class: H(["sq-popover-trigger", h.$attrs.class]),
|
|
4513
4663
|
style: wu(h.$attrs.style),
|
|
4514
4664
|
ref_key: "triggerRef",
|
|
4515
4665
|
ref: n,
|
|
@@ -4517,27 +4667,27 @@ const wo = /* @__PURE__ */ P({
|
|
|
4517
4667
|
onMouseleave: s,
|
|
4518
4668
|
onClick: a
|
|
4519
4669
|
}, [
|
|
4520
|
-
|
|
4670
|
+
z(h.$slots, "reference")
|
|
4521
4671
|
], 38),
|
|
4522
|
-
(
|
|
4672
|
+
(A(), J(ht, {
|
|
4523
4673
|
to: "body",
|
|
4524
4674
|
disabled: !t.teleported
|
|
4525
4675
|
}, [
|
|
4526
|
-
|
|
4676
|
+
g0(m0, {
|
|
4527
4677
|
name: t.transition
|
|
4528
4678
|
}, {
|
|
4529
|
-
default:
|
|
4530
|
-
|
|
4531
|
-
class:
|
|
4679
|
+
default: qu(() => [
|
|
4680
|
+
Fe(S("div", {
|
|
4681
|
+
class: H(["sq-popover", h.popoverClass]),
|
|
4532
4682
|
ref_key: "popverRef",
|
|
4533
4683
|
ref: r,
|
|
4534
|
-
style: wu(
|
|
4535
|
-
onClick: d[0] || (d[0] =
|
|
4684
|
+
style: wu(iu(o)),
|
|
4685
|
+
onClick: d[0] || (d[0] = pt(() => {
|
|
4536
4686
|
}, ["stop"]))
|
|
4537
4687
|
}, [
|
|
4538
|
-
|
|
4688
|
+
z(h.$slots, "default")
|
|
4539
4689
|
], 6), [
|
|
4540
|
-
[
|
|
4690
|
+
[_0, c.value]
|
|
4541
4691
|
])
|
|
4542
4692
|
]),
|
|
4543
4693
|
_: 3
|
|
@@ -4545,33 +4695,7 @@ const wo = /* @__PURE__ */ P({
|
|
|
4545
4695
|
], 8, ["disabled"]))
|
|
4546
4696
|
], 64));
|
|
4547
4697
|
}
|
|
4548
|
-
}),
|
|
4549
|
-
__name: "progress",
|
|
4550
|
-
props: {
|
|
4551
|
-
value: {},
|
|
4552
|
-
min: { default: 0 },
|
|
4553
|
-
max: { default: 100 },
|
|
4554
|
-
color: {},
|
|
4555
|
-
type: { default: "primary" }
|
|
4556
|
-
},
|
|
4557
|
-
setup(u) {
|
|
4558
|
-
const e = u, t = E(() => e.color ? [] : [`is-${e.type}`]), n = E(() => {
|
|
4559
|
-
const c = e.max - e.min;
|
|
4560
|
-
return (e.value - e.min) * 100 / c;
|
|
4561
|
-
}), r = E(() => {
|
|
4562
|
-
const c = {};
|
|
4563
|
-
if (c["--progress-value"] = `${n.value}%`, e.color) {
|
|
4564
|
-
const i = typeof e.color == "string" ? e.color : e.color(n.value);
|
|
4565
|
-
c["--progress-color"] = i;
|
|
4566
|
-
}
|
|
4567
|
-
return c;
|
|
4568
|
-
});
|
|
4569
|
-
return (c, o) => (w(), T("div", {
|
|
4570
|
-
class: j(["sq-progress", t.value]),
|
|
4571
|
-
style: wu(r.value)
|
|
4572
|
-
}, null, 6));
|
|
4573
|
-
}
|
|
4574
|
-
}), So = /* @__PURE__ */ P({
|
|
4698
|
+
}), Po = /* @__PURE__ */ I({
|
|
4575
4699
|
__name: "tag",
|
|
4576
4700
|
props: {
|
|
4577
4701
|
type: {},
|
|
@@ -4584,17 +4708,17 @@ const wo = /* @__PURE__ */ P({
|
|
|
4584
4708
|
const r = [];
|
|
4585
4709
|
return e.size !== "md" && r.push(`sq-tag--${e.size}`), e.theme !== "plain" && e.type && r.push(`is-${e.theme}`), e.type && r.push(`is-${e.type}`), e.round && r.push("is-round"), r;
|
|
4586
4710
|
}), n = E(() => e.size === "lg" ? "md" : "sm");
|
|
4587
|
-
return (r, c) => (
|
|
4588
|
-
class:
|
|
4711
|
+
return (r, c) => (A(), J(iu(Ne), {
|
|
4712
|
+
class: H(["sq-tag", t.value]),
|
|
4589
4713
|
size: n.value
|
|
4590
4714
|
}, {
|
|
4591
|
-
default:
|
|
4592
|
-
|
|
4715
|
+
default: qu(() => [
|
|
4716
|
+
z(r.$slots, "default")
|
|
4593
4717
|
]),
|
|
4594
4718
|
_: 3
|
|
4595
4719
|
}, 8, ["class", "size"]));
|
|
4596
4720
|
}
|
|
4597
|
-
}),
|
|
4721
|
+
}), $o = /* @__PURE__ */ I({
|
|
4598
4722
|
__name: "check-tag",
|
|
4599
4723
|
props: {
|
|
4600
4724
|
checked: { type: Boolean, default: !1 },
|
|
@@ -4609,18 +4733,18 @@ const wo = /* @__PURE__ */ P({
|
|
|
4609
4733
|
const o = [];
|
|
4610
4734
|
return n.size !== "md" && o.push(`sq-tag--${n.size}`), n.theme !== "plain" && o.push(`is-${n.theme}`), n.type && o.push(`is-${n.type}`), n.round && o.push("is-round"), n.checked && o.push("is-checked"), o;
|
|
4611
4735
|
}), c = E(() => n.size === "lg" ? "md" : "sm");
|
|
4612
|
-
return (o, i) => (
|
|
4613
|
-
class:
|
|
4736
|
+
return (o, i) => (A(), J(iu(Ne), {
|
|
4737
|
+
class: H(["sq-check-tag", r.value]),
|
|
4614
4738
|
size: c.value,
|
|
4615
4739
|
onClick: i[0] || (i[0] = (s) => t("change", !n.checked))
|
|
4616
4740
|
}, {
|
|
4617
|
-
default:
|
|
4618
|
-
|
|
4741
|
+
default: qu(() => [
|
|
4742
|
+
z(o.$slots, "default")
|
|
4619
4743
|
]),
|
|
4620
4744
|
_: 3
|
|
4621
4745
|
}, 8, ["class", "size"]));
|
|
4622
4746
|
}
|
|
4623
|
-
}),
|
|
4747
|
+
}), Ne = /* @__PURE__ */ I({
|
|
4624
4748
|
__name: "text",
|
|
4625
4749
|
props: {
|
|
4626
4750
|
rowNum: { default: 1 },
|
|
@@ -4634,14 +4758,14 @@ const wo = /* @__PURE__ */ P({
|
|
|
4634
4758
|
}), n = E(
|
|
4635
4759
|
() => e.ellipsis ? `--row-num: ${e.rowNum}` : ""
|
|
4636
4760
|
);
|
|
4637
|
-
return (r, c) => (
|
|
4638
|
-
class:
|
|
4761
|
+
return (r, c) => (A(), v("span", {
|
|
4762
|
+
class: H(["sq-text", t.value]),
|
|
4639
4763
|
style: wu(n.value)
|
|
4640
4764
|
}, [
|
|
4641
|
-
|
|
4765
|
+
z(r.$slots, "default")
|
|
4642
4766
|
], 6));
|
|
4643
4767
|
}
|
|
4644
|
-
}),
|
|
4768
|
+
}), No = /* @__PURE__ */ I({
|
|
4645
4769
|
__name: "timeline",
|
|
4646
4770
|
props: {
|
|
4647
4771
|
align: { default: "left" }
|
|
@@ -4651,13 +4775,13 @@ const wo = /* @__PURE__ */ P({
|
|
|
4651
4775
|
const n = [];
|
|
4652
4776
|
return n.push(`align-${e.align}`), n;
|
|
4653
4777
|
});
|
|
4654
|
-
return (n, r) => (
|
|
4655
|
-
class:
|
|
4778
|
+
return (n, r) => (A(), v("div", {
|
|
4779
|
+
class: H(["sq-timeline", t.value])
|
|
4656
4780
|
}, [
|
|
4657
|
-
|
|
4781
|
+
z(n.$slots, "default")
|
|
4658
4782
|
], 2));
|
|
4659
4783
|
}
|
|
4660
|
-
}),
|
|
4784
|
+
}), Fo = { class: "sq-timeline-dot" }, wo = { class: "sq-timeline-content" }, vo = ["textContent"], So = ["textContent"], To = { class: "content-info" }, jo = /* @__PURE__ */ I({
|
|
4661
4785
|
__name: "timeline-item",
|
|
4662
4786
|
props: {
|
|
4663
4787
|
color: {},
|
|
@@ -4676,42 +4800,43 @@ const wo = /* @__PURE__ */ P({
|
|
|
4676
4800
|
const r = {};
|
|
4677
4801
|
return e.color && (r["--timeline-dot-color"] = e.color), r;
|
|
4678
4802
|
});
|
|
4679
|
-
return (r, c) => (
|
|
4680
|
-
class:
|
|
4803
|
+
return (r, c) => (A(), v("div", {
|
|
4804
|
+
class: H(["sq-timeline-item", t.value]),
|
|
4681
4805
|
style: wu(n.value)
|
|
4682
4806
|
}, [
|
|
4683
|
-
|
|
4684
|
-
e.icon ? (
|
|
4807
|
+
S("span", Fo, [
|
|
4808
|
+
e.icon ? (A(), J(vu(e.icon), { key: 0 })) : j("", !0)
|
|
4685
4809
|
]),
|
|
4686
|
-
|
|
4687
|
-
e.title ? (
|
|
4810
|
+
S("div", wo, [
|
|
4811
|
+
e.title ? (A(), v("h2", {
|
|
4688
4812
|
key: 0,
|
|
4689
4813
|
class: "content-title",
|
|
4690
|
-
textContent:
|
|
4691
|
-
}, null, 8,
|
|
4692
|
-
e.timestamp ? (
|
|
4814
|
+
textContent: Vu(e.title)
|
|
4815
|
+
}, null, 8, vo)) : j("", !0),
|
|
4816
|
+
e.timestamp ? (A(), v("span", {
|
|
4693
4817
|
key: 1,
|
|
4694
4818
|
class: "content-time",
|
|
4695
|
-
textContent:
|
|
4696
|
-
}, null, 8,
|
|
4697
|
-
|
|
4698
|
-
|
|
4819
|
+
textContent: Vu(e.timestamp)
|
|
4820
|
+
}, null, 8, So)) : j("", !0),
|
|
4821
|
+
S("div", To, [
|
|
4822
|
+
z(r.$slots, "default")
|
|
4699
4823
|
])
|
|
4700
4824
|
])
|
|
4701
4825
|
], 6));
|
|
4702
4826
|
}
|
|
4703
4827
|
});
|
|
4704
4828
|
export {
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4829
|
+
Ro as SqArticle,
|
|
4830
|
+
zo as SqBacktop,
|
|
4831
|
+
qo as SqButton,
|
|
4832
|
+
Lo as SqButtonGroup,
|
|
4833
|
+
Mo as SqCard,
|
|
4834
|
+
$o as SqCheckTag,
|
|
4835
|
+
Io as SqInput,
|
|
4836
|
+
Oo as SqPopover,
|
|
4837
|
+
gc as SqProgress,
|
|
4838
|
+
Po as SqTag,
|
|
4839
|
+
Ne as SqText,
|
|
4840
|
+
No as SqTimeline,
|
|
4841
|
+
jo as SqTimelineItem
|
|
4717
4842
|
};
|