@squirrel-cloud/ui-vue 0.2.27 → 0.2.29
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/index.d.ts +1 -0
- package/dist/components/message/index.d.ts +3 -0
- package/dist/components/message/message.d.ts +9 -0
- package/dist/props/index.d.ts +1 -0
- package/dist/props/message/index.d.ts +1 -0
- package/dist/props/message/message.d.ts +34 -0
- package/dist/squirrel-cloud-ui-vue.js +1212 -1096
- package/dist/squirrel-cloud-ui-vue.umd.cjs +24 -24
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/typings/Message.d.ts +65 -0
- package/typings/index.d.ts +1 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { createElementBlock as F, openBlock as v, createElementVNode as C, createStaticVNode as
|
|
2
|
-
const
|
|
1
|
+
import { createElementBlock as F, openBlock as v, createElementVNode as C, createStaticVNode as xt, defineComponent as I, computed as E, createBlock as R, unref as q, normalizeClass as $, withCtx as su, createCommentVNode as V, createTextVNode as A0, resolveDynamicComponent as hu, toDisplayString as pu, h as Ae, ref as N, normalizeStyle as Cu, shallowRef as Pu, onMounted as Re, onBeforeUnmount as Ie, renderSlot as P, Transition as Pe, withDirectives as ku, vShow as Fu, inject as _t, createVNode as vu, provide as gt, toRef as xe, useSlots as F0, mergeModels as ue, useModel as ee, vModelDynamic as kt, render as Ye, Fragment as Fe, renderList as yt, watch as Ku, getCurrentScope as Ct, onScopeDispose as vt, shallowReadonly as Eu, Teleport as Dt, withModifiers as wt } from "vue";
|
|
2
|
+
const O = (u, e) => {
|
|
3
3
|
const t = u.__vccOpts || u;
|
|
4
4
|
for (const [n, r] of e)
|
|
5
5
|
t[n] = r;
|
|
6
6
|
return t;
|
|
7
|
-
},
|
|
7
|
+
}, Et = {}, At = {
|
|
8
8
|
class: "sq-icon",
|
|
9
9
|
"data-icon": "arrow-left"
|
|
10
10
|
};
|
|
11
|
-
function
|
|
12
|
-
return v(), F("span",
|
|
11
|
+
function Ft(u, e) {
|
|
12
|
+
return v(), F("span", At, e[0] || (e[0] = [
|
|
13
13
|
C("svg", {
|
|
14
14
|
viewBox: "0 0 48 48",
|
|
15
15
|
version: "1.1",
|
|
@@ -20,12 +20,12 @@ function gt(u, e) {
|
|
|
20
20
|
], -1)
|
|
21
21
|
]));
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const St = /* @__PURE__ */ O(Et, [["render", Ft]]), Bt = {}, zt = {
|
|
24
24
|
class: "sq-icon",
|
|
25
25
|
"data-icon": "arrow-right"
|
|
26
26
|
};
|
|
27
|
-
function
|
|
28
|
-
return v(), F("span",
|
|
27
|
+
function Mt(u, e) {
|
|
28
|
+
return v(), F("span", zt, e[0] || (e[0] = [
|
|
29
29
|
C("svg", {
|
|
30
30
|
viewBox: "0 0 48 48",
|
|
31
31
|
version: "1.1",
|
|
@@ -36,12 +36,12 @@ function vt(u, e) {
|
|
|
36
36
|
], -1)
|
|
37
37
|
]));
|
|
38
38
|
}
|
|
39
|
-
const
|
|
39
|
+
const Tt = /* @__PURE__ */ O(Bt, [["render", Mt]]), qt = {}, Lt = {
|
|
40
40
|
class: "sq-icon",
|
|
41
41
|
"data-icon": "caret-up"
|
|
42
42
|
};
|
|
43
|
-
function
|
|
44
|
-
return v(), F("span",
|
|
43
|
+
function Rt(u, e) {
|
|
44
|
+
return v(), F("span", Lt, e[0] || (e[0] = [
|
|
45
45
|
C("svg", {
|
|
46
46
|
viewBox: "0 0 48 48",
|
|
47
47
|
version: "1.1",
|
|
@@ -51,12 +51,12 @@ function At(u, e) {
|
|
|
51
51
|
], -1)
|
|
52
52
|
]));
|
|
53
53
|
}
|
|
54
|
-
const
|
|
54
|
+
const It = /* @__PURE__ */ O(qt, [["render", Rt]]), Pt = {}, Ot = {
|
|
55
55
|
class: "sq-icon",
|
|
56
56
|
"data-icon": "check-circle"
|
|
57
57
|
};
|
|
58
|
-
function
|
|
59
|
-
return v(), F("span",
|
|
58
|
+
function $t(u, e) {
|
|
59
|
+
return v(), F("span", Ot, e[0] || (e[0] = [
|
|
60
60
|
C("svg", {
|
|
61
61
|
viewBox: "0 0 48 48",
|
|
62
62
|
version: "1.1",
|
|
@@ -72,12 +72,12 @@ function zt(u, e) {
|
|
|
72
72
|
], -1)
|
|
73
73
|
]));
|
|
74
74
|
}
|
|
75
|
-
const
|
|
75
|
+
const Nt = /* @__PURE__ */ O(Pt, [["render", $t]]), jt = {}, Ht = {
|
|
76
76
|
class: "sq-icon",
|
|
77
77
|
"data-icon": "check-filled"
|
|
78
78
|
};
|
|
79
|
-
function
|
|
80
|
-
return v(), F("span",
|
|
79
|
+
function Vt(u, e) {
|
|
80
|
+
return v(), F("span", Ht, e[0] || (e[0] = [
|
|
81
81
|
C("svg", {
|
|
82
82
|
viewBox: "0 0 48 48",
|
|
83
83
|
version: "1.1",
|
|
@@ -89,12 +89,12 @@ function qt(u, e) {
|
|
|
89
89
|
], -1)
|
|
90
90
|
]));
|
|
91
91
|
}
|
|
92
|
-
const
|
|
92
|
+
const S0 = /* @__PURE__ */ O(jt, [["render", Vt]]), Zt = {}, Ut = {
|
|
93
93
|
class: "sq-icon",
|
|
94
94
|
"data-icon": "close"
|
|
95
95
|
};
|
|
96
|
-
function
|
|
97
|
-
return v(), F("span",
|
|
96
|
+
function Wt(u, e) {
|
|
97
|
+
return v(), F("span", Ut, e[0] || (e[0] = [
|
|
98
98
|
C("svg", {
|
|
99
99
|
viewBox: "0 0 48 48",
|
|
100
100
|
version: "1.1",
|
|
@@ -107,12 +107,12 @@ function Ot(u, e) {
|
|
|
107
107
|
], -1)
|
|
108
108
|
]));
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const Gt = /* @__PURE__ */ O(Zt, [["render", Wt]]), Jt = {}, Xt = {
|
|
111
111
|
class: "sq-icon",
|
|
112
112
|
"data-icon": "close-circle"
|
|
113
113
|
};
|
|
114
|
-
function
|
|
115
|
-
return v(), F("span",
|
|
114
|
+
function Qt(u, e) {
|
|
115
|
+
return v(), F("span", Xt, e[0] || (e[0] = [
|
|
116
116
|
C("svg", {
|
|
117
117
|
viewBox: "0 0 48 48",
|
|
118
118
|
version: "1.1",
|
|
@@ -130,12 +130,12 @@ function Ht(u, e) {
|
|
|
130
130
|
], -1)
|
|
131
131
|
]));
|
|
132
132
|
}
|
|
133
|
-
const
|
|
133
|
+
const Yt = /* @__PURE__ */ O(Jt, [["render", Qt]]), Kt = {}, un = {
|
|
134
134
|
class: "sq-icon",
|
|
135
135
|
"data-icon": "close-filled"
|
|
136
136
|
};
|
|
137
|
-
function
|
|
138
|
-
return v(), F("span",
|
|
137
|
+
function en(u, e) {
|
|
138
|
+
return v(), F("span", un, e[0] || (e[0] = [
|
|
139
139
|
C("svg", {
|
|
140
140
|
viewBox: "0 0 48 48",
|
|
141
141
|
version: "1.1",
|
|
@@ -148,12 +148,12 @@ function Wt(u, e) {
|
|
|
148
148
|
], -1)
|
|
149
149
|
]));
|
|
150
150
|
}
|
|
151
|
-
const
|
|
151
|
+
const B0 = /* @__PURE__ */ O(Kt, [["render", en]]), tn = {}, nn = {
|
|
152
152
|
class: "sq-icon",
|
|
153
153
|
"data-icon": "ellipsis"
|
|
154
154
|
};
|
|
155
|
-
function
|
|
156
|
-
return v(), F("span",
|
|
155
|
+
function rn(u, e) {
|
|
156
|
+
return v(), F("span", nn, e[0] || (e[0] = [
|
|
157
157
|
C("svg", {
|
|
158
158
|
viewBox: "0 0 48 48",
|
|
159
159
|
version: "1.1",
|
|
@@ -165,12 +165,12 @@ function Qt(u, e) {
|
|
|
165
165
|
], -1)
|
|
166
166
|
]));
|
|
167
167
|
}
|
|
168
|
-
const
|
|
168
|
+
const cn = /* @__PURE__ */ O(tn, [["render", rn]]), on = {}, sn = {
|
|
169
169
|
class: "sq-icon",
|
|
170
170
|
"data-icon": "hide"
|
|
171
171
|
};
|
|
172
|
-
function
|
|
173
|
-
return v(), F("span",
|
|
172
|
+
function an(u, e) {
|
|
173
|
+
return v(), F("span", sn, e[0] || (e[0] = [
|
|
174
174
|
C("svg", {
|
|
175
175
|
viewBox: "0 0 48 48",
|
|
176
176
|
version: "1.1",
|
|
@@ -188,12 +188,12 @@ function en(u, e) {
|
|
|
188
188
|
], -1)
|
|
189
189
|
]));
|
|
190
190
|
}
|
|
191
|
-
const
|
|
191
|
+
const ln = /* @__PURE__ */ O(on, [["render", an]]), fn = {}, dn = {
|
|
192
192
|
class: "sq-icon",
|
|
193
193
|
"data-icon": "info-filled"
|
|
194
194
|
};
|
|
195
|
-
function
|
|
196
|
-
return v(), F("span",
|
|
195
|
+
function hn(u, e) {
|
|
196
|
+
return v(), F("span", dn, e[0] || (e[0] = [
|
|
197
197
|
C("svg", {
|
|
198
198
|
viewBox: "0 0 48 48",
|
|
199
199
|
version: "1.1",
|
|
@@ -209,12 +209,12 @@ function cn(u, e) {
|
|
|
209
209
|
], -1)
|
|
210
210
|
]));
|
|
211
211
|
}
|
|
212
|
-
const
|
|
212
|
+
const z0 = /* @__PURE__ */ O(fn, [["render", hn]]), pn = {}, bn = {
|
|
213
213
|
class: "sq-icon",
|
|
214
214
|
"data-icon": "jump-to"
|
|
215
215
|
};
|
|
216
|
-
function
|
|
217
|
-
return v(), F("span",
|
|
216
|
+
function mn(u, e) {
|
|
217
|
+
return v(), F("span", bn, e[0] || (e[0] = [
|
|
218
218
|
C("svg", {
|
|
219
219
|
viewBox: "0 0 48 48",
|
|
220
220
|
version: "1.1",
|
|
@@ -225,12 +225,12 @@ function ln(u, e) {
|
|
|
225
225
|
], -1)
|
|
226
226
|
]));
|
|
227
227
|
}
|
|
228
|
-
const
|
|
228
|
+
const xn = /* @__PURE__ */ O(pn, [["render", mn]]), _n = {}, gn = {
|
|
229
229
|
class: "sq-icon is-loading",
|
|
230
230
|
"data-icon": "loading"
|
|
231
231
|
};
|
|
232
|
-
function
|
|
233
|
-
return v(), F("span",
|
|
232
|
+
function kn(u, e) {
|
|
233
|
+
return v(), F("span", gn, e[0] || (e[0] = [
|
|
234
234
|
C("svg", {
|
|
235
235
|
viewBox: "0 0 48 48",
|
|
236
236
|
version: "1.1",
|
|
@@ -244,12 +244,12 @@ function pn(u, e) {
|
|
|
244
244
|
], -1)
|
|
245
245
|
]));
|
|
246
246
|
}
|
|
247
|
-
const
|
|
247
|
+
const yn = /* @__PURE__ */ O(_n, [["render", kn]]), Cn = {}, vn = {
|
|
248
248
|
class: "sq-icon",
|
|
249
249
|
"data-icon": "view"
|
|
250
250
|
};
|
|
251
|
-
function
|
|
252
|
-
return v(), F("span",
|
|
251
|
+
function Dn(u, e) {
|
|
252
|
+
return v(), F("span", vn, e[0] || (e[0] = [
|
|
253
253
|
C("svg", {
|
|
254
254
|
viewBox: "0 0 48 48",
|
|
255
255
|
version: "1.1",
|
|
@@ -263,25 +263,25 @@ function _n(u, e) {
|
|
|
263
263
|
], -1)
|
|
264
264
|
]));
|
|
265
265
|
}
|
|
266
|
-
const
|
|
266
|
+
const wn = /* @__PURE__ */ O(Cn, [["render", Dn]]), En = {}, An = {
|
|
267
267
|
class: "sq-icon",
|
|
268
268
|
"data-icon": "warning-circle"
|
|
269
269
|
};
|
|
270
|
-
function
|
|
271
|
-
return v(), F("span",
|
|
272
|
-
|
|
270
|
+
function Fn(u, e) {
|
|
271
|
+
return v(), F("span", An, e[0] || (e[0] = [
|
|
272
|
+
xt(`<svg viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M4.52,19.05c0.23,0.08,0.46,0.12,0.68,0.12c0.82,0,1.58-0.51,1.88-1.32c0.18-0.5,0.39-1,0.62-1.48
|
|
273
273
|
c0.47-1,0.04-2.19-0.96-2.66c-1-0.47-2.19-0.04-2.66,0.96c-0.28,0.59-0.53,1.2-0.75,1.82C2.94,17.52,3.48,18.67,4.52,19.05z"></path><path d="M24,2C18.12,2,12.6,4.29,8.44,8.44c-0.78,0.78-0.78,2.05,0,2.83c0.78,0.78,2.05,0.78,2.83,0C14.67,7.87,19.19,6,24,6
|
|
274
274
|
c9.92,0,18,8.07,18,18c0,9.92-8.08,18-18,18c-9.93,0-18-8.08-18-18c0-1.1-0.9-2-2-2s-2,0.9-2,2c0,12.13,9.87,22,22,22
|
|
275
275
|
s22-9.87,22-22S36.13,2,24,2z"></path><circle cx="24" cy="34.5" r="2.5"></circle><path d="M23.9,27.9h0.19c0.68,0,1.24-0.52,1.3-1.2l1.1-14.3c0.06-0.75-0.54-1.4-1.3-1.4H22.8c-0.76,0-1.35,0.64-1.3,1.4l1.1,14.3
|
|
276
276
|
C22.66,27.38,23.22,27.9,23.9,27.9z"></path></svg>`, 1)
|
|
277
277
|
]));
|
|
278
278
|
}
|
|
279
|
-
const
|
|
279
|
+
const Sn = /* @__PURE__ */ O(En, [["render", Fn]]), Bn = {}, zn = {
|
|
280
280
|
class: "sq-icon",
|
|
281
281
|
"data-icon": "warning-filled"
|
|
282
282
|
};
|
|
283
|
-
function
|
|
284
|
-
return v(), F("span",
|
|
283
|
+
function Mn(u, e) {
|
|
284
|
+
return v(), F("span", zn, e[0] || (e[0] = [
|
|
285
285
|
C("svg", {
|
|
286
286
|
viewBox: "0 0 48 48",
|
|
287
287
|
version: "1.1",
|
|
@@ -293,7 +293,7 @@ function En(u, e) {
|
|
|
293
293
|
], -1)
|
|
294
294
|
]));
|
|
295
295
|
}
|
|
296
|
-
const
|
|
296
|
+
const M0 = /* @__PURE__ */ O(Bn, [["render", Mn]]), Yi = /* @__PURE__ */ I({
|
|
297
297
|
__name: "alert",
|
|
298
298
|
props: {
|
|
299
299
|
type: { default: "info" },
|
|
@@ -311,29 +311,29 @@ const An = /* @__PURE__ */ P(Dn, [["render", En]]), $i = /* @__PURE__ */ I({
|
|
|
311
311
|
switch (e.type) {
|
|
312
312
|
case "primary":
|
|
313
313
|
case "info":
|
|
314
|
-
return
|
|
314
|
+
return z0;
|
|
315
315
|
case "success":
|
|
316
|
-
return
|
|
316
|
+
return S0;
|
|
317
317
|
case "warn":
|
|
318
|
-
return
|
|
318
|
+
return M0;
|
|
319
319
|
case "error":
|
|
320
|
-
return
|
|
320
|
+
return B0;
|
|
321
321
|
}
|
|
322
322
|
});
|
|
323
|
-
return (r, c) => (v(),
|
|
324
|
-
class:
|
|
323
|
+
return (r, c) => (v(), R(q(Gu), {
|
|
324
|
+
class: $(["sq-alert", t.value])
|
|
325
325
|
}, {
|
|
326
|
-
default:
|
|
327
|
-
n.value ? (v(),
|
|
328
|
-
|
|
326
|
+
default: su(() => [
|
|
327
|
+
n.value ? (v(), R(hu(n.value), { key: 0 })) : V("", !0),
|
|
328
|
+
A0(" " + pu(e.text), 1)
|
|
329
329
|
]),
|
|
330
330
|
_: 1
|
|
331
331
|
}, 8, ["class"]));
|
|
332
332
|
}
|
|
333
333
|
});
|
|
334
|
-
function
|
|
334
|
+
function Tn() {
|
|
335
335
|
function u(e = [0.3, 0.8], t = [0.1, 0.3], n = [0, 360]) {
|
|
336
|
-
const { getRandomNum: r } =
|
|
336
|
+
const { getRandomNum: r } = qn(), c = r(e, 4), i = r(t, 4), o = r(n, 4);
|
|
337
337
|
return `oklch(${c} ${i} ${o})`;
|
|
338
338
|
}
|
|
339
339
|
return {
|
|
@@ -347,7 +347,7 @@ function Fn() {
|
|
|
347
347
|
getRandomColor: u
|
|
348
348
|
};
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function qn() {
|
|
351
351
|
function u(e, t = 2) {
|
|
352
352
|
const n = Math.random(), r = Math.abs(e[1] - e[0]), c = Math.min(...e) + n * r;
|
|
353
353
|
return Number(c.toFixed(t));
|
|
@@ -362,13 +362,13 @@ function Sn() {
|
|
|
362
362
|
getRandomNum: u
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
|
-
let
|
|
366
|
-
const
|
|
365
|
+
let Ke = 2e3;
|
|
366
|
+
const T0 = () => ({
|
|
367
367
|
/**
|
|
368
368
|
* 获取下一个层级
|
|
369
369
|
* @returns 下一个层级
|
|
370
370
|
*/
|
|
371
|
-
nextZIndex: () => (
|
|
371
|
+
nextZIndex: () => (Ke++, Ke)
|
|
372
372
|
});
|
|
373
373
|
function G(u, e, t) {
|
|
374
374
|
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;
|
|
@@ -398,7 +398,7 @@ G.prototype.attrJoin = function(e, t) {
|
|
|
398
398
|
const n = this.attrIndex(e);
|
|
399
399
|
n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
|
|
400
400
|
};
|
|
401
|
-
function
|
|
401
|
+
function Ln(u) {
|
|
402
402
|
u.core.ruler.push("task-lists", (e) => {
|
|
403
403
|
var n, r;
|
|
404
404
|
const { tokens: t } = e;
|
|
@@ -425,12 +425,12 @@ function zn(u) {
|
|
|
425
425
|
}
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
|
-
const
|
|
429
|
-
function
|
|
430
|
-
let e =
|
|
428
|
+
const u0 = {};
|
|
429
|
+
function Rn(u) {
|
|
430
|
+
let e = u0[u];
|
|
431
431
|
if (e)
|
|
432
432
|
return e;
|
|
433
|
-
e =
|
|
433
|
+
e = u0[u] = [];
|
|
434
434
|
for (let t = 0; t < 128; t++) {
|
|
435
435
|
const n = String.fromCharCode(t);
|
|
436
436
|
e.push(n);
|
|
@@ -441,9 +441,9 @@ function Mn(u) {
|
|
|
441
441
|
}
|
|
442
442
|
return e;
|
|
443
443
|
}
|
|
444
|
-
function
|
|
445
|
-
typeof e != "string" && (e =
|
|
446
|
-
const t =
|
|
444
|
+
function Mu(u, e) {
|
|
445
|
+
typeof e != "string" && (e = Mu.defaultChars);
|
|
446
|
+
const t = Rn(e);
|
|
447
447
|
return u.replace(/(%[a-f0-9]{2})+/gi, function(n) {
|
|
448
448
|
let r = "";
|
|
449
449
|
for (let c = 0, i = n.length; c < i; c += 3) {
|
|
@@ -481,14 +481,14 @@ function Su(u, e) {
|
|
|
481
481
|
return r;
|
|
482
482
|
});
|
|
483
483
|
}
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
const
|
|
487
|
-
function
|
|
488
|
-
let e =
|
|
484
|
+
Mu.defaultChars = ";/?:@&=+$,#";
|
|
485
|
+
Mu.componentChars = "";
|
|
486
|
+
const e0 = {};
|
|
487
|
+
function In(u) {
|
|
488
|
+
let e = e0[u];
|
|
489
489
|
if (e)
|
|
490
490
|
return e;
|
|
491
|
-
e =
|
|
491
|
+
e = e0[u] = [];
|
|
492
492
|
for (let t = 0; t < 128; t++) {
|
|
493
493
|
const n = String.fromCharCode(t);
|
|
494
494
|
/^[0-9a-z]$/i.test(n) ? e.push(n) : e.push("%" + ("0" + t.toString(16).toUpperCase()).slice(-2));
|
|
@@ -497,9 +497,9 @@ function Tn(u) {
|
|
|
497
497
|
e[u.charCodeAt(t)] = u[t];
|
|
498
498
|
return e;
|
|
499
499
|
}
|
|
500
|
-
function
|
|
501
|
-
typeof e != "string" && (t = e, e =
|
|
502
|
-
const n =
|
|
500
|
+
function Vu(u, e, t) {
|
|
501
|
+
typeof e != "string" && (t = e, e = Vu.defaultChars), typeof t > "u" && (t = !0);
|
|
502
|
+
const n = In(e);
|
|
503
503
|
let r = "";
|
|
504
504
|
for (let c = 0, i = u.length; c < i; c++) {
|
|
505
505
|
const o = u.charCodeAt(c);
|
|
@@ -526,20 +526,20 @@ function Hu(u, e, t) {
|
|
|
526
526
|
}
|
|
527
527
|
return r;
|
|
528
528
|
}
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
function
|
|
529
|
+
Vu.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
530
|
+
Vu.componentChars = "-_.!~*'()";
|
|
531
|
+
function Oe(u) {
|
|
532
532
|
let e = "";
|
|
533
533
|
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;
|
|
534
534
|
}
|
|
535
|
-
function
|
|
535
|
+
function te() {
|
|
536
536
|
this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
|
|
537
537
|
}
|
|
538
|
-
const
|
|
539
|
-
`, " "],
|
|
538
|
+
const Pn = /^([a-z0-9.+-]+:)/i, On = /:[0-9]*$/, $n = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Nn = ["<", ">", '"', "`", " ", "\r", `
|
|
539
|
+
`, " "], jn = ["{", "}", "|", "\\", "^", "`"].concat(Nn), Hn = ["'"].concat(jn), t0 = ["%", "/", "?", ";", "#"].concat(Hn), n0 = ["/", "?", "#"], Vn = 255, r0 = /^[+a-z0-9A-Z_-]{0,63}$/, Zn = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, c0 = {
|
|
540
540
|
javascript: !0,
|
|
541
541
|
"javascript:": !0
|
|
542
|
-
},
|
|
542
|
+
}, o0 = {
|
|
543
543
|
http: !0,
|
|
544
544
|
https: !0,
|
|
545
545
|
ftp: !0,
|
|
@@ -551,27 +551,27 @@ const Ln = /^([a-z0-9.+-]+:)/i, qn = /:[0-9]*$/, Rn = /^(\/\/?(?!\/)[^\?\s]*)(\?
|
|
|
551
551
|
"gopher:": !0,
|
|
552
552
|
"file:": !0
|
|
553
553
|
};
|
|
554
|
-
function
|
|
555
|
-
if (u && u instanceof
|
|
556
|
-
const t = new
|
|
554
|
+
function $e(u, e) {
|
|
555
|
+
if (u && u instanceof te) return u;
|
|
556
|
+
const t = new te();
|
|
557
557
|
return t.parse(u, e), t;
|
|
558
558
|
}
|
|
559
|
-
|
|
559
|
+
te.prototype.parse = function(u, e) {
|
|
560
560
|
let t, n, r, c = u;
|
|
561
561
|
if (c = c.trim(), !e && u.split("#").length === 1) {
|
|
562
|
-
const a =
|
|
562
|
+
const a = $n.exec(c);
|
|
563
563
|
if (a)
|
|
564
564
|
return this.pathname = a[1], a[2] && (this.search = a[2]), this;
|
|
565
565
|
}
|
|
566
|
-
let i =
|
|
567
|
-
if (i && (i = i[0], t = i.toLowerCase(), this.protocol = i, c = c.substr(i.length)), (e || i || c.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = c.substr(0, 2) === "//", r && !(i &&
|
|
566
|
+
let i = Pn.exec(c);
|
|
567
|
+
if (i && (i = i[0], t = i.toLowerCase(), this.protocol = i, c = c.substr(i.length)), (e || i || c.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = c.substr(0, 2) === "//", r && !(i && c0[i]) && (c = c.substr(2), this.slashes = !0)), !c0[i] && (r || i && !o0[i])) {
|
|
568
568
|
let a = -1;
|
|
569
|
-
for (let d = 0; d <
|
|
570
|
-
n = c.indexOf(
|
|
569
|
+
for (let d = 0; d < n0.length; d++)
|
|
570
|
+
n = c.indexOf(n0[d]), n !== -1 && (a === -1 || n < a) && (a = n);
|
|
571
571
|
let l, f;
|
|
572
572
|
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;
|
|
573
|
-
for (let d = 0; d <
|
|
574
|
-
n = c.indexOf(
|
|
573
|
+
for (let d = 0; d < t0.length; d++)
|
|
574
|
+
n = c.indexOf(t0[d]), n !== -1 && (a === -1 || n < a) && (a = n);
|
|
575
575
|
a === -1 && (a = c.length), c[a - 1] === ":" && a--;
|
|
576
576
|
const p = c.slice(0, a);
|
|
577
577
|
c = c.slice(a), this.parseHost(p), this.hostname = this.hostname || "";
|
|
@@ -580,52 +580,52 @@ ue.prototype.parse = function(u, e) {
|
|
|
580
580
|
const d = this.hostname.split(/\./);
|
|
581
581
|
for (let b = 0, g = d.length; b < g; b++) {
|
|
582
582
|
const y = d[b];
|
|
583
|
-
if (y && !y.match(
|
|
584
|
-
let
|
|
585
|
-
for (let
|
|
586
|
-
y.charCodeAt(
|
|
587
|
-
if (!
|
|
588
|
-
const
|
|
589
|
-
k && (
|
|
583
|
+
if (y && !y.match(r0)) {
|
|
584
|
+
let m = "";
|
|
585
|
+
for (let x = 0, _ = y.length; x < _; x++)
|
|
586
|
+
y.charCodeAt(x) > 127 ? m += "x" : m += y[x];
|
|
587
|
+
if (!m.match(r0)) {
|
|
588
|
+
const x = d.slice(0, b), _ = d.slice(b + 1), k = y.match(Zn);
|
|
589
|
+
k && (x.push(k[1]), _.unshift(k[2])), _.length && (c = _.join(".") + c), this.hostname = x.join(".");
|
|
590
590
|
break;
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
this.hostname.length >
|
|
595
|
+
this.hostname.length > Vn && (this.hostname = ""), h && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
|
|
596
596
|
}
|
|
597
597
|
const o = c.indexOf("#");
|
|
598
598
|
o !== -1 && (this.hash = c.substr(o), c = c.slice(0, o));
|
|
599
599
|
const s = c.indexOf("?");
|
|
600
|
-
return s !== -1 && (this.search = c.substr(s), c = c.slice(0, s)), c && (this.pathname = c),
|
|
600
|
+
return s !== -1 && (this.search = c.substr(s), c = c.slice(0, s)), c && (this.pathname = c), o0[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
|
|
601
601
|
};
|
|
602
|
-
|
|
603
|
-
let e =
|
|
602
|
+
te.prototype.parseHost = function(u) {
|
|
603
|
+
let e = On.exec(u);
|
|
604
604
|
e && (e = e[0], e !== ":" && (this.port = e.substr(1)), u = u.substr(0, u.length - e.length)), u && (this.hostname = u);
|
|
605
605
|
};
|
|
606
|
-
const
|
|
606
|
+
const Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
607
607
|
__proto__: null,
|
|
608
|
-
decode:
|
|
609
|
-
encode:
|
|
610
|
-
format:
|
|
611
|
-
parse:
|
|
612
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
608
|
+
decode: Mu,
|
|
609
|
+
encode: Vu,
|
|
610
|
+
format: Oe,
|
|
611
|
+
parse: $e
|
|
612
|
+
}, Symbol.toStringTag, { value: "Module" })), q0 = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, L0 = /[\0-\x1F\x7F-\x9F]/, Wn = /[\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]/, Ne = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/, R0 = /[\$\+<->\^`\|~\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]/, I0 = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
613
613
|
__proto__: null,
|
|
614
|
-
Any:
|
|
615
|
-
Cc:
|
|
616
|
-
Cf:
|
|
617
|
-
P:
|
|
618
|
-
S:
|
|
619
|
-
Z:
|
|
620
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
614
|
+
Any: q0,
|
|
615
|
+
Cc: L0,
|
|
616
|
+
Cf: Wn,
|
|
617
|
+
P: Ne,
|
|
618
|
+
S: R0,
|
|
619
|
+
Z: I0
|
|
620
|
+
}, Symbol.toStringTag, { value: "Module" })), Jn = new Uint16Array(
|
|
621
621
|
// prettier-ignore
|
|
622
622
|
'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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))
|
|
623
|
-
),
|
|
623
|
+
), Xn = new Uint16Array(
|
|
624
624
|
// prettier-ignore
|
|
625
625
|
"Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
|
|
626
626
|
);
|
|
627
|
-
var
|
|
628
|
-
const
|
|
627
|
+
var _e;
|
|
628
|
+
const Qn = /* @__PURE__ */ new Map([
|
|
629
629
|
[0, 65533],
|
|
630
630
|
// C1 Unicode control character reference replacements
|
|
631
631
|
[128, 8364],
|
|
@@ -655,49 +655,49 @@ const Wn = /* @__PURE__ */ new Map([
|
|
|
655
655
|
[156, 339],
|
|
656
656
|
[158, 382],
|
|
657
657
|
[159, 376]
|
|
658
|
-
]),
|
|
658
|
+
]), Yn = (
|
|
659
659
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
|
|
660
|
-
(
|
|
660
|
+
(_e = String.fromCodePoint) !== null && _e !== void 0 ? _e : function(u) {
|
|
661
661
|
let e = "";
|
|
662
662
|
return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
|
|
663
663
|
}
|
|
664
664
|
);
|
|
665
|
-
function
|
|
665
|
+
function Kn(u) {
|
|
666
666
|
var e;
|
|
667
|
-
return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e =
|
|
667
|
+
return u >= 55296 && u <= 57343 || u > 1114111 ? 65533 : (e = Qn.get(u)) !== null && e !== void 0 ? e : u;
|
|
668
668
|
}
|
|
669
669
|
var L;
|
|
670
670
|
(function(u) {
|
|
671
671
|
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";
|
|
672
672
|
})(L || (L = {}));
|
|
673
|
-
const
|
|
674
|
-
var
|
|
673
|
+
const ur = 32;
|
|
674
|
+
var du;
|
|
675
675
|
(function(u) {
|
|
676
676
|
u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
677
|
-
})(
|
|
678
|
-
function
|
|
677
|
+
})(du || (du = {}));
|
|
678
|
+
function Se(u) {
|
|
679
679
|
return u >= L.ZERO && u <= L.NINE;
|
|
680
680
|
}
|
|
681
|
-
function
|
|
681
|
+
function er(u) {
|
|
682
682
|
return u >= L.UPPER_A && u <= L.UPPER_F || u >= L.LOWER_A && u <= L.LOWER_F;
|
|
683
683
|
}
|
|
684
|
-
function
|
|
685
|
-
return u >= L.UPPER_A && u <= L.UPPER_Z || u >= L.LOWER_A && u <= L.LOWER_Z ||
|
|
684
|
+
function tr(u) {
|
|
685
|
+
return u >= L.UPPER_A && u <= L.UPPER_Z || u >= L.LOWER_A && u <= L.LOWER_Z || Se(u);
|
|
686
686
|
}
|
|
687
|
-
function
|
|
688
|
-
return u === L.EQUALS ||
|
|
687
|
+
function nr(u) {
|
|
688
|
+
return u === L.EQUALS || tr(u);
|
|
689
689
|
}
|
|
690
690
|
var T;
|
|
691
691
|
(function(u) {
|
|
692
692
|
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";
|
|
693
693
|
})(T || (T = {}));
|
|
694
|
-
var
|
|
694
|
+
var fu;
|
|
695
695
|
(function(u) {
|
|
696
696
|
u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
|
|
697
|
-
})(
|
|
698
|
-
class
|
|
697
|
+
})(fu || (fu = {}));
|
|
698
|
+
class rr {
|
|
699
699
|
constructor(e, t, n) {
|
|
700
|
-
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 =
|
|
700
|
+
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 = fu.Strict;
|
|
701
701
|
}
|
|
702
702
|
/** Resets the instance to make it reusable. */
|
|
703
703
|
startEntity(e) {
|
|
@@ -738,7 +738,7 @@ class ur {
|
|
|
738
738
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
739
739
|
*/
|
|
740
740
|
stateNumericStart(e, t) {
|
|
741
|
-
return t >= e.length ? -1 : (e.charCodeAt(t) |
|
|
741
|
+
return t >= e.length ? -1 : (e.charCodeAt(t) | ur) === L.LOWER_X ? (this.state = T.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = T.NumericDecimal, this.stateNumericDecimal(e, t));
|
|
742
742
|
}
|
|
743
743
|
addToNumericResult(e, t, n, r) {
|
|
744
744
|
if (t !== n) {
|
|
@@ -759,7 +759,7 @@ class ur {
|
|
|
759
759
|
const n = t;
|
|
760
760
|
for (; t < e.length; ) {
|
|
761
761
|
const r = e.charCodeAt(t);
|
|
762
|
-
if (
|
|
762
|
+
if (Se(r) || er(r))
|
|
763
763
|
t += 1;
|
|
764
764
|
else
|
|
765
765
|
return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
|
|
@@ -779,7 +779,7 @@ class ur {
|
|
|
779
779
|
const n = t;
|
|
780
780
|
for (; t < e.length; ) {
|
|
781
781
|
const r = e.charCodeAt(t);
|
|
782
|
-
if (
|
|
782
|
+
if (Se(r))
|
|
783
783
|
t += 1;
|
|
784
784
|
else
|
|
785
785
|
return this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(r, 2);
|
|
@@ -805,9 +805,9 @@ class ur {
|
|
|
805
805
|
return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
806
806
|
if (e === L.SEMI)
|
|
807
807
|
this.consumed += 1;
|
|
808
|
-
else if (this.decodeMode ===
|
|
808
|
+
else if (this.decodeMode === fu.Strict)
|
|
809
809
|
return 0;
|
|
810
|
-
return this.emitCodePoint(
|
|
810
|
+
return this.emitCodePoint(Kn(this.result), this.consumed), this.errors && (e !== L.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
811
811
|
}
|
|
812
812
|
/**
|
|
813
813
|
* Parses a named entity.
|
|
@@ -820,18 +820,18 @@ class ur {
|
|
|
820
820
|
*/
|
|
821
821
|
stateNamedEntity(e, t) {
|
|
822
822
|
const { decodeTree: n } = this;
|
|
823
|
-
let r = n[this.treeIndex], c = (r &
|
|
823
|
+
let r = n[this.treeIndex], c = (r & du.VALUE_LENGTH) >> 14;
|
|
824
824
|
for (; t < e.length; t++, this.excess++) {
|
|
825
825
|
const i = e.charCodeAt(t);
|
|
826
|
-
if (this.treeIndex =
|
|
826
|
+
if (this.treeIndex = cr(n, r, this.treeIndex + Math.max(1, c), i), this.treeIndex < 0)
|
|
827
827
|
return this.result === 0 || // If we are parsing an attribute
|
|
828
|
-
this.decodeMode ===
|
|
828
|
+
this.decodeMode === fu.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
829
829
|
(c === 0 || // And there should be no invalid characters.
|
|
830
|
-
|
|
831
|
-
if (r = n[this.treeIndex], c = (r &
|
|
830
|
+
nr(i)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
831
|
+
if (r = n[this.treeIndex], c = (r & du.VALUE_LENGTH) >> 14, c !== 0) {
|
|
832
832
|
if (i === L.SEMI)
|
|
833
833
|
return this.emitNamedEntityData(this.treeIndex, c, this.consumed + this.excess);
|
|
834
|
-
this.decodeMode !==
|
|
834
|
+
this.decodeMode !== fu.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
835
835
|
}
|
|
836
836
|
}
|
|
837
837
|
return -1;
|
|
@@ -843,7 +843,7 @@ class ur {
|
|
|
843
843
|
*/
|
|
844
844
|
emitNotTerminatedNamedEntity() {
|
|
845
845
|
var e;
|
|
846
|
-
const { result: t, decodeTree: n } = this, r = (n[t] &
|
|
846
|
+
const { result: t, decodeTree: n } = this, r = (n[t] & du.VALUE_LENGTH) >> 14;
|
|
847
847
|
return this.emitNamedEntityData(t, r, this.consumed), (e = this.errors) === null || e === void 0 || e.missingSemicolonAfterCharacterReference(), this.consumed;
|
|
848
848
|
}
|
|
849
849
|
/**
|
|
@@ -857,7 +857,7 @@ class ur {
|
|
|
857
857
|
*/
|
|
858
858
|
emitNamedEntityData(e, t, n) {
|
|
859
859
|
const { decodeTree: r } = this;
|
|
860
|
-
return this.emitCodePoint(t === 1 ? r[e] & ~
|
|
860
|
+
return this.emitCodePoint(t === 1 ? r[e] & ~du.VALUE_LENGTH : r[e + 1], n), t === 3 && this.emitCodePoint(r[e + 2], n), n;
|
|
861
861
|
}
|
|
862
862
|
/**
|
|
863
863
|
* Signal to the parser that the end of the input was reached.
|
|
@@ -870,7 +870,7 @@ class ur {
|
|
|
870
870
|
var e;
|
|
871
871
|
switch (this.state) {
|
|
872
872
|
case T.NamedEntity:
|
|
873
|
-
return this.result !== 0 && (this.decodeMode !==
|
|
873
|
+
return this.result !== 0 && (this.decodeMode !== fu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
874
874
|
// Otherwise, emit a numeric entity if we have one.
|
|
875
875
|
case T.NumericDecimal:
|
|
876
876
|
return this.emitNumericEntity(0, 2);
|
|
@@ -883,9 +883,9 @@ class ur {
|
|
|
883
883
|
}
|
|
884
884
|
}
|
|
885
885
|
}
|
|
886
|
-
function
|
|
886
|
+
function P0(u) {
|
|
887
887
|
let e = "";
|
|
888
|
-
const t = new
|
|
888
|
+
const t = new rr(u, (n) => e += Yn(n));
|
|
889
889
|
return function(r, c) {
|
|
890
890
|
let i = 0, o = 0;
|
|
891
891
|
for (; (o = r.indexOf("&", o)) >= 0; ) {
|
|
@@ -905,8 +905,8 @@ function S0(u) {
|
|
|
905
905
|
return e = "", s;
|
|
906
906
|
};
|
|
907
907
|
}
|
|
908
|
-
function
|
|
909
|
-
const r = (e &
|
|
908
|
+
function cr(u, e, t, n) {
|
|
909
|
+
const r = (e & du.BRANCH_LENGTH) >> 7, c = e & du.JUMP_TABLE;
|
|
910
910
|
if (r === 0)
|
|
911
911
|
return c !== 0 && n === c ? t : -1;
|
|
912
912
|
if (c) {
|
|
@@ -925,22 +925,22 @@ function er(u, e, t, n) {
|
|
|
925
925
|
}
|
|
926
926
|
return -1;
|
|
927
927
|
}
|
|
928
|
-
const
|
|
929
|
-
|
|
930
|
-
function
|
|
931
|
-
return
|
|
928
|
+
const or = P0(Jn);
|
|
929
|
+
P0(Xn);
|
|
930
|
+
function O0(u, e = fu.Legacy) {
|
|
931
|
+
return or(u, e);
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function ir(u) {
|
|
934
934
|
return Object.prototype.toString.call(u);
|
|
935
935
|
}
|
|
936
|
-
function
|
|
937
|
-
return
|
|
936
|
+
function je(u) {
|
|
937
|
+
return ir(u) === "[object String]";
|
|
938
938
|
}
|
|
939
|
-
const
|
|
940
|
-
function
|
|
941
|
-
return
|
|
939
|
+
const sr = Object.prototype.hasOwnProperty;
|
|
940
|
+
function ar(u, e) {
|
|
941
|
+
return sr.call(u, e);
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function se(u) {
|
|
944
944
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
945
945
|
if (t) {
|
|
946
946
|
if (typeof t != "object")
|
|
@@ -951,13 +951,13 @@ function oe(u) {
|
|
|
951
951
|
}
|
|
952
952
|
}), u;
|
|
953
953
|
}
|
|
954
|
-
function
|
|
954
|
+
function $0(u, e, t) {
|
|
955
955
|
return [].concat(u.slice(0, e), t, u.slice(e + 1));
|
|
956
956
|
}
|
|
957
|
-
function
|
|
957
|
+
function He(u) {
|
|
958
958
|
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);
|
|
959
959
|
}
|
|
960
|
-
function
|
|
960
|
+
function ne(u) {
|
|
961
961
|
if (u > 65535) {
|
|
962
962
|
u -= 65536;
|
|
963
963
|
const e = 55296 + (u >> 10), t = 56320 + (u & 1023);
|
|
@@ -965,38 +965,38 @@ function ee(u) {
|
|
|
965
965
|
}
|
|
966
966
|
return String.fromCharCode(u);
|
|
967
967
|
}
|
|
968
|
-
const
|
|
969
|
-
function
|
|
970
|
-
if (e.charCodeAt(0) === 35 &&
|
|
968
|
+
const N0 = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, lr = /&([a-z#][a-z0-9]{1,31});/gi, fr = new RegExp(N0.source + "|" + lr.source, "gi"), dr = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
969
|
+
function hr(u, e) {
|
|
970
|
+
if (e.charCodeAt(0) === 35 && dr.test(e)) {
|
|
971
971
|
const n = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
|
|
972
|
-
return
|
|
972
|
+
return He(n) ? ne(n) : u;
|
|
973
973
|
}
|
|
974
|
-
const t =
|
|
974
|
+
const t = O0(u);
|
|
975
975
|
return t !== u ? t : u;
|
|
976
976
|
}
|
|
977
|
-
function
|
|
978
|
-
return u.indexOf("\\") < 0 ? u : u.replace(
|
|
977
|
+
function pr(u) {
|
|
978
|
+
return u.indexOf("\\") < 0 ? u : u.replace(N0, "$1");
|
|
979
979
|
}
|
|
980
|
-
function
|
|
981
|
-
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(
|
|
982
|
-
return t ||
|
|
980
|
+
function Tu(u) {
|
|
981
|
+
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(fr, function(e, t, n) {
|
|
982
|
+
return t || hr(e, n);
|
|
983
983
|
});
|
|
984
984
|
}
|
|
985
|
-
const
|
|
985
|
+
const br = /[&<>"]/, mr = /[&<>"]/g, xr = {
|
|
986
986
|
"&": "&",
|
|
987
987
|
"<": "<",
|
|
988
988
|
">": ">",
|
|
989
989
|
'"': """
|
|
990
990
|
};
|
|
991
|
-
function
|
|
992
|
-
return
|
|
991
|
+
function _r(u) {
|
|
992
|
+
return xr[u];
|
|
993
993
|
}
|
|
994
|
-
function
|
|
995
|
-
return
|
|
994
|
+
function bu(u) {
|
|
995
|
+
return br.test(u) ? u.replace(mr, _r) : u;
|
|
996
996
|
}
|
|
997
|
-
const
|
|
998
|
-
function
|
|
999
|
-
return u.replace(
|
|
997
|
+
const gr = /[.?*+^$[\]\\(){}|-]/g;
|
|
998
|
+
function kr(u) {
|
|
999
|
+
return u.replace(gr, "\\$&");
|
|
1000
1000
|
}
|
|
1001
1001
|
function z(u) {
|
|
1002
1002
|
switch (u) {
|
|
@@ -1006,7 +1006,7 @@ function z(u) {
|
|
|
1006
1006
|
}
|
|
1007
1007
|
return !1;
|
|
1008
1008
|
}
|
|
1009
|
-
function
|
|
1009
|
+
function Ou(u) {
|
|
1010
1010
|
if (u >= 8192 && u <= 8202)
|
|
1011
1011
|
return !0;
|
|
1012
1012
|
switch (u) {
|
|
@@ -1030,10 +1030,10 @@ function Pu(u) {
|
|
|
1030
1030
|
}
|
|
1031
1031
|
return !1;
|
|
1032
1032
|
}
|
|
1033
|
-
function Ou(u) {
|
|
1034
|
-
return Re.test(u) || A0.test(u);
|
|
1035
|
-
}
|
|
1036
1033
|
function $u(u) {
|
|
1034
|
+
return Ne.test(u) || R0.test(u);
|
|
1035
|
+
}
|
|
1036
|
+
function Nu(u) {
|
|
1037
1037
|
switch (u) {
|
|
1038
1038
|
case 33:
|
|
1039
1039
|
case 34:
|
|
@@ -1072,29 +1072,29 @@ function $u(u) {
|
|
|
1072
1072
|
return !1;
|
|
1073
1073
|
}
|
|
1074
1074
|
}
|
|
1075
|
-
function
|
|
1075
|
+
function ae(u) {
|
|
1076
1076
|
return u = u.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (u = u.replace(/ẞ/g, "ß")), u.toLowerCase().toUpperCase();
|
|
1077
1077
|
}
|
|
1078
|
-
const
|
|
1078
|
+
const yr = { mdurl: Un, ucmicro: Gn }, Cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1079
1079
|
__proto__: null,
|
|
1080
|
-
arrayReplaceAt:
|
|
1081
|
-
assign:
|
|
1082
|
-
escapeHtml:
|
|
1083
|
-
escapeRE:
|
|
1084
|
-
fromCodePoint:
|
|
1085
|
-
has:
|
|
1086
|
-
isMdAsciiPunct:
|
|
1087
|
-
isPunctChar:
|
|
1080
|
+
arrayReplaceAt: $0,
|
|
1081
|
+
assign: se,
|
|
1082
|
+
escapeHtml: bu,
|
|
1083
|
+
escapeRE: kr,
|
|
1084
|
+
fromCodePoint: ne,
|
|
1085
|
+
has: ar,
|
|
1086
|
+
isMdAsciiPunct: Nu,
|
|
1087
|
+
isPunctChar: $u,
|
|
1088
1088
|
isSpace: z,
|
|
1089
|
-
isString:
|
|
1090
|
-
isValidEntityCode:
|
|
1091
|
-
isWhiteSpace:
|
|
1092
|
-
lib:
|
|
1093
|
-
normalizeReference:
|
|
1094
|
-
unescapeAll:
|
|
1095
|
-
unescapeMd:
|
|
1089
|
+
isString: je,
|
|
1090
|
+
isValidEntityCode: He,
|
|
1091
|
+
isWhiteSpace: Ou,
|
|
1092
|
+
lib: yr,
|
|
1093
|
+
normalizeReference: ae,
|
|
1094
|
+
unescapeAll: Tu,
|
|
1095
|
+
unescapeMd: pr
|
|
1096
1096
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1097
|
-
function
|
|
1097
|
+
function vr(u, e, t) {
|
|
1098
1098
|
let n, r, c, i;
|
|
1099
1099
|
const o = u.posMax, s = u.pos;
|
|
1100
1100
|
for (u.pos = e + 1, n = 1; u.pos < o; ) {
|
|
@@ -1112,7 +1112,7 @@ function gr(u, e, t) {
|
|
|
1112
1112
|
let a = -1;
|
|
1113
1113
|
return r && (a = u.pos), u.pos = s, a;
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function Dr(u, e, t) {
|
|
1116
1116
|
let n, r = e;
|
|
1117
1117
|
const c = {
|
|
1118
1118
|
ok: !1,
|
|
@@ -1124,7 +1124,7 @@ function kr(u, e, t) {
|
|
|
1124
1124
|
if (n = u.charCodeAt(r), n === 10 || n === 60)
|
|
1125
1125
|
return c;
|
|
1126
1126
|
if (n === 62)
|
|
1127
|
-
return c.pos = r + 1, c.str =
|
|
1127
|
+
return c.pos = r + 1, c.str = Tu(u.slice(e + 1, r)), c.ok = !0, c;
|
|
1128
1128
|
if (n === 92 && r + 1 < t) {
|
|
1129
1129
|
r += 2;
|
|
1130
1130
|
continue;
|
|
@@ -1150,9 +1150,9 @@ function kr(u, e, t) {
|
|
|
1150
1150
|
}
|
|
1151
1151
|
r++;
|
|
1152
1152
|
}
|
|
1153
|
-
return e === r || i !== 0 || (c.str =
|
|
1153
|
+
return e === r || i !== 0 || (c.str = Tu(u.slice(e, r)), c.pos = r, c.ok = !0), c;
|
|
1154
1154
|
}
|
|
1155
|
-
function
|
|
1155
|
+
function wr(u, e, t, n) {
|
|
1156
1156
|
let r, c = e;
|
|
1157
1157
|
const i = {
|
|
1158
1158
|
// if `true`, this is a valid link title
|
|
@@ -1178,37 +1178,37 @@ function yr(u, e, t, n) {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
for (; c < t; ) {
|
|
1180
1180
|
if (r = u.charCodeAt(c), r === i.marker)
|
|
1181
|
-
return i.pos = c + 1, i.str +=
|
|
1181
|
+
return i.pos = c + 1, i.str += Tu(u.slice(e, c)), i.ok = !0, i;
|
|
1182
1182
|
if (r === 40 && i.marker === 41)
|
|
1183
1183
|
return i;
|
|
1184
1184
|
r === 92 && c + 1 < t && c++, c++;
|
|
1185
1185
|
}
|
|
1186
|
-
return i.can_continue = !0, i.str +=
|
|
1186
|
+
return i.can_continue = !0, i.str += Tu(u.slice(e, c)), i;
|
|
1187
1187
|
}
|
|
1188
|
-
const
|
|
1188
|
+
const Er = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1189
1189
|
__proto__: null,
|
|
1190
|
-
parseLinkDestination:
|
|
1191
|
-
parseLinkLabel:
|
|
1192
|
-
parseLinkTitle:
|
|
1190
|
+
parseLinkDestination: Dr,
|
|
1191
|
+
parseLinkLabel: vr,
|
|
1192
|
+
parseLinkTitle: wr
|
|
1193
1193
|
}, Symbol.toStringTag, { value: "Module" })), cu = {};
|
|
1194
1194
|
cu.code_inline = function(u, e, t, n, r) {
|
|
1195
1195
|
const c = u[e];
|
|
1196
|
-
return "<code" + r.renderAttrs(c) + ">" +
|
|
1196
|
+
return "<code" + r.renderAttrs(c) + ">" + bu(c.content) + "</code>";
|
|
1197
1197
|
};
|
|
1198
1198
|
cu.code_block = function(u, e, t, n, r) {
|
|
1199
1199
|
const c = u[e];
|
|
1200
|
-
return "<pre" + r.renderAttrs(c) + "><code>" +
|
|
1200
|
+
return "<pre" + r.renderAttrs(c) + "><code>" + bu(u[e].content) + `</code></pre>
|
|
1201
1201
|
`;
|
|
1202
1202
|
};
|
|
1203
1203
|
cu.fence = function(u, e, t, n, r) {
|
|
1204
|
-
const c = u[e], i = c.info ?
|
|
1204
|
+
const c = u[e], i = c.info ? Tu(c.info).trim() : "";
|
|
1205
1205
|
let o = "", s = "";
|
|
1206
1206
|
if (i) {
|
|
1207
1207
|
const l = i.split(/(\s+)/g);
|
|
1208
1208
|
o = l[0], s = l.slice(2).join("");
|
|
1209
1209
|
}
|
|
1210
1210
|
let a;
|
|
1211
|
-
if (t.highlight ? a = t.highlight(c.content, o, s) ||
|
|
1211
|
+
if (t.highlight ? a = t.highlight(c.content, o, s) || bu(c.content) : a = bu(c.content), a.indexOf("<pre") === 0)
|
|
1212
1212
|
return a + `
|
|
1213
1213
|
`;
|
|
1214
1214
|
if (i) {
|
|
@@ -1239,7 +1239,7 @@ cu.softbreak = function(u, e, t) {
|
|
|
1239
1239
|
`;
|
|
1240
1240
|
};
|
|
1241
1241
|
cu.text = function(u, e) {
|
|
1242
|
-
return
|
|
1242
|
+
return bu(u[e].content);
|
|
1243
1243
|
};
|
|
1244
1244
|
cu.html_block = function(u, e) {
|
|
1245
1245
|
return u[e].content;
|
|
@@ -1247,18 +1247,18 @@ cu.html_block = function(u, e) {
|
|
|
1247
1247
|
cu.html_inline = function(u, e) {
|
|
1248
1248
|
return u[e].content;
|
|
1249
1249
|
};
|
|
1250
|
-
function
|
|
1251
|
-
this.rules =
|
|
1250
|
+
function Ru() {
|
|
1251
|
+
this.rules = se({}, cu);
|
|
1252
1252
|
}
|
|
1253
|
-
|
|
1253
|
+
Ru.prototype.renderAttrs = function(e) {
|
|
1254
1254
|
let t, n, r;
|
|
1255
1255
|
if (!e.attrs)
|
|
1256
1256
|
return "";
|
|
1257
1257
|
for (r = "", t = 0, n = e.attrs.length; t < n; t++)
|
|
1258
|
-
r += " " +
|
|
1258
|
+
r += " " + bu(e.attrs[t][0]) + '="' + bu(e.attrs[t][1]) + '"';
|
|
1259
1259
|
return r;
|
|
1260
1260
|
};
|
|
1261
|
-
|
|
1261
|
+
Ru.prototype.renderToken = function(e, t, n) {
|
|
1262
1262
|
const r = e[t];
|
|
1263
1263
|
let c = "";
|
|
1264
1264
|
if (r.hidden)
|
|
@@ -1273,7 +1273,7 @@ Tu.prototype.renderToken = function(e, t, n) {
|
|
|
1273
1273
|
return c += i ? `>
|
|
1274
1274
|
` : ">", c;
|
|
1275
1275
|
};
|
|
1276
|
-
|
|
1276
|
+
Ru.prototype.renderInline = function(u, e, t) {
|
|
1277
1277
|
let n = "";
|
|
1278
1278
|
const r = this.rules;
|
|
1279
1279
|
for (let c = 0, i = u.length; c < i; c++) {
|
|
@@ -1282,7 +1282,7 @@ Tu.prototype.renderInline = function(u, e, t) {
|
|
|
1282
1282
|
}
|
|
1283
1283
|
return n;
|
|
1284
1284
|
};
|
|
1285
|
-
|
|
1285
|
+
Ru.prototype.renderInlineAsText = function(u, e, t) {
|
|
1286
1286
|
let n = "";
|
|
1287
1287
|
for (let r = 0, c = u.length; r < c; r++)
|
|
1288
1288
|
switch (u[r].type) {
|
|
@@ -1304,7 +1304,7 @@ Tu.prototype.renderInlineAsText = function(u, e, t) {
|
|
|
1304
1304
|
}
|
|
1305
1305
|
return n;
|
|
1306
1306
|
};
|
|
1307
|
-
|
|
1307
|
+
Ru.prototype.render = function(u, e, t) {
|
|
1308
1308
|
let n = "";
|
|
1309
1309
|
const r = this.rules;
|
|
1310
1310
|
for (let c = 0, i = u.length; c < i; c++) {
|
|
@@ -1313,16 +1313,16 @@ Tu.prototype.render = function(u, e, t) {
|
|
|
1313
1313
|
}
|
|
1314
1314
|
return n;
|
|
1315
1315
|
};
|
|
1316
|
-
function
|
|
1316
|
+
function j() {
|
|
1317
1317
|
this.__rules__ = [], this.__cache__ = null;
|
|
1318
1318
|
}
|
|
1319
|
-
|
|
1319
|
+
j.prototype.__find__ = function(u) {
|
|
1320
1320
|
for (let e = 0; e < this.__rules__.length; e++)
|
|
1321
1321
|
if (this.__rules__[e].name === u)
|
|
1322
1322
|
return e;
|
|
1323
1323
|
return -1;
|
|
1324
1324
|
};
|
|
1325
|
-
|
|
1325
|
+
j.prototype.__compile__ = function() {
|
|
1326
1326
|
const u = this, e = [""];
|
|
1327
1327
|
u.__rules__.forEach(function(t) {
|
|
1328
1328
|
t.enabled && t.alt.forEach(function(n) {
|
|
@@ -1334,13 +1334,13 @@ $.prototype.__compile__ = function() {
|
|
|
1334
1334
|
});
|
|
1335
1335
|
});
|
|
1336
1336
|
};
|
|
1337
|
-
|
|
1337
|
+
j.prototype.at = function(u, e, t) {
|
|
1338
1338
|
const n = this.__find__(u), r = t || {};
|
|
1339
1339
|
if (n === -1)
|
|
1340
1340
|
throw new Error("Parser rule not found: " + u);
|
|
1341
1341
|
this.__rules__[n].fn = e, this.__rules__[n].alt = r.alt || [], this.__cache__ = null;
|
|
1342
1342
|
};
|
|
1343
|
-
|
|
1343
|
+
j.prototype.before = function(u, e, t, n) {
|
|
1344
1344
|
const r = this.__find__(u), c = n || {};
|
|
1345
1345
|
if (r === -1)
|
|
1346
1346
|
throw new Error("Parser rule not found: " + u);
|
|
@@ -1351,7 +1351,7 @@ $.prototype.before = function(u, e, t, n) {
|
|
|
1351
1351
|
alt: c.alt || []
|
|
1352
1352
|
}), this.__cache__ = null;
|
|
1353
1353
|
};
|
|
1354
|
-
|
|
1354
|
+
j.prototype.after = function(u, e, t, n) {
|
|
1355
1355
|
const r = this.__find__(u), c = n || {};
|
|
1356
1356
|
if (r === -1)
|
|
1357
1357
|
throw new Error("Parser rule not found: " + u);
|
|
@@ -1362,7 +1362,7 @@ $.prototype.after = function(u, e, t, n) {
|
|
|
1362
1362
|
alt: c.alt || []
|
|
1363
1363
|
}), this.__cache__ = null;
|
|
1364
1364
|
};
|
|
1365
|
-
|
|
1365
|
+
j.prototype.push = function(u, e, t) {
|
|
1366
1366
|
const n = t || {};
|
|
1367
1367
|
this.__rules__.push({
|
|
1368
1368
|
name: u,
|
|
@@ -1371,7 +1371,7 @@ $.prototype.push = function(u, e, t) {
|
|
|
1371
1371
|
alt: n.alt || []
|
|
1372
1372
|
}), this.__cache__ = null;
|
|
1373
1373
|
};
|
|
1374
|
-
|
|
1374
|
+
j.prototype.enable = function(u, e) {
|
|
1375
1375
|
Array.isArray(u) || (u = [u]);
|
|
1376
1376
|
const t = [];
|
|
1377
1377
|
return u.forEach(function(n) {
|
|
@@ -1384,12 +1384,12 @@ $.prototype.enable = function(u, e) {
|
|
|
1384
1384
|
this.__rules__[r].enabled = !0, t.push(n);
|
|
1385
1385
|
}, this), this.__cache__ = null, t;
|
|
1386
1386
|
};
|
|
1387
|
-
|
|
1387
|
+
j.prototype.enableOnly = function(u, e) {
|
|
1388
1388
|
Array.isArray(u) || (u = [u]), this.__rules__.forEach(function(t) {
|
|
1389
1389
|
t.enabled = !1;
|
|
1390
1390
|
}), this.enable(u, e);
|
|
1391
1391
|
};
|
|
1392
|
-
|
|
1392
|
+
j.prototype.disable = function(u, e) {
|
|
1393
1393
|
Array.isArray(u) || (u = [u]);
|
|
1394
1394
|
const t = [];
|
|
1395
1395
|
return u.forEach(function(n) {
|
|
@@ -1402,37 +1402,37 @@ $.prototype.disable = function(u, e) {
|
|
|
1402
1402
|
this.__rules__[r].enabled = !1, t.push(n);
|
|
1403
1403
|
}, this), this.__cache__ = null, t;
|
|
1404
1404
|
};
|
|
1405
|
-
|
|
1405
|
+
j.prototype.getRules = function(u) {
|
|
1406
1406
|
return this.__cache__ === null && this.__compile__(), this.__cache__[u] || [];
|
|
1407
1407
|
};
|
|
1408
|
-
function
|
|
1408
|
+
function j0(u, e, t) {
|
|
1409
1409
|
this.src = u, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = e;
|
|
1410
1410
|
}
|
|
1411
|
-
|
|
1412
|
-
const
|
|
1413
|
-
function
|
|
1411
|
+
j0.prototype.Token = G;
|
|
1412
|
+
const Ar = /\r\n?|\n/g, Fr = /\0/g;
|
|
1413
|
+
function Sr(u) {
|
|
1414
1414
|
let e;
|
|
1415
|
-
e = u.src.replace(
|
|
1416
|
-
`), e = e.replace(
|
|
1415
|
+
e = u.src.replace(Ar, `
|
|
1416
|
+
`), e = e.replace(Fr, "�"), u.src = e;
|
|
1417
1417
|
}
|
|
1418
|
-
function
|
|
1418
|
+
function Br(u) {
|
|
1419
1419
|
let e;
|
|
1420
1420
|
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);
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function zr(u) {
|
|
1423
1423
|
const e = u.tokens;
|
|
1424
1424
|
for (let t = 0, n = e.length; t < n; t++) {
|
|
1425
1425
|
const r = e[t];
|
|
1426
1426
|
r.type === "inline" && u.md.inline.parse(r.content, u.md, u.env, r.children);
|
|
1427
1427
|
}
|
|
1428
1428
|
}
|
|
1429
|
-
function
|
|
1429
|
+
function Mr(u) {
|
|
1430
1430
|
return /^<a[>\s]/i.test(u);
|
|
1431
1431
|
}
|
|
1432
|
-
function
|
|
1432
|
+
function Tr(u) {
|
|
1433
1433
|
return /^<\/a\s*>/i.test(u);
|
|
1434
1434
|
}
|
|
1435
|
-
function
|
|
1435
|
+
function qr(u) {
|
|
1436
1436
|
const e = u.tokens;
|
|
1437
1437
|
if (u.md.options.linkify)
|
|
1438
1438
|
for (let t = 0, n = e.length; t < n; t++) {
|
|
@@ -1446,7 +1446,7 @@ function Br(u) {
|
|
|
1446
1446
|
i--;
|
|
1447
1447
|
continue;
|
|
1448
1448
|
}
|
|
1449
|
-
if (o.type === "html_inline" && (
|
|
1449
|
+
if (o.type === "html_inline" && (Mr(o.content) && c > 0 && c--, Tr(o.content) && c++), !(c > 0) && o.type === "text" && u.md.linkify.test(o.content)) {
|
|
1450
1450
|
const s = o.content;
|
|
1451
1451
|
let a = u.md.linkify.match(s);
|
|
1452
1452
|
const l = [];
|
|
@@ -1463,10 +1463,10 @@ function Br(u) {
|
|
|
1463
1463
|
const k = new u.Token("text", "", 0);
|
|
1464
1464
|
k.content = s.slice(p, y), k.level = f, l.push(k);
|
|
1465
1465
|
}
|
|
1466
|
-
const
|
|
1467
|
-
|
|
1468
|
-
const
|
|
1469
|
-
|
|
1466
|
+
const m = new u.Token("link_open", "a", 1);
|
|
1467
|
+
m.attrs = [["href", b]], m.level = f++, m.markup = "linkify", m.info = "auto", l.push(m);
|
|
1468
|
+
const x = new u.Token("text", "", 0);
|
|
1469
|
+
x.content = g, x.level = f, l.push(x);
|
|
1470
1470
|
const _ = new u.Token("link_close", "a", -1);
|
|
1471
1471
|
_.level = --f, _.markup = "linkify", _.info = "auto", l.push(_), p = a[h].lastIndex;
|
|
1472
1472
|
}
|
|
@@ -1474,44 +1474,44 @@ function Br(u) {
|
|
|
1474
1474
|
const h = new u.Token("text", "", 0);
|
|
1475
1475
|
h.content = s.slice(p), h.level = f, l.push(h);
|
|
1476
1476
|
}
|
|
1477
|
-
e[t].children = r =
|
|
1477
|
+
e[t].children = r = $0(r, i, l);
|
|
1478
1478
|
}
|
|
1479
1479
|
}
|
|
1480
1480
|
}
|
|
1481
1481
|
}
|
|
1482
|
-
const
|
|
1482
|
+
const H0 = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Lr = /\((c|tm|r)\)/i, Rr = /\((c|tm|r)\)/ig, Ir = {
|
|
1483
1483
|
c: "©",
|
|
1484
1484
|
r: "®",
|
|
1485
1485
|
tm: "™"
|
|
1486
1486
|
};
|
|
1487
|
-
function
|
|
1488
|
-
return
|
|
1487
|
+
function Pr(u, e) {
|
|
1488
|
+
return Ir[e.toLowerCase()];
|
|
1489
1489
|
}
|
|
1490
|
-
function
|
|
1490
|
+
function Or(u) {
|
|
1491
1491
|
let e = 0;
|
|
1492
1492
|
for (let t = u.length - 1; t >= 0; t--) {
|
|
1493
1493
|
const n = u[t];
|
|
1494
|
-
n.type === "text" && !e && (n.content = n.content.replace(
|
|
1494
|
+
n.type === "text" && !e && (n.content = n.content.replace(Rr, Pr)), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
|
-
function
|
|
1497
|
+
function $r(u) {
|
|
1498
1498
|
let e = 0;
|
|
1499
1499
|
for (let t = u.length - 1; t >= 0; t--) {
|
|
1500
1500
|
const n = u[t];
|
|
1501
|
-
n.type === "text" && !e &&
|
|
1501
|
+
n.type === "text" && !e && H0.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++;
|
|
1502
1502
|
}
|
|
1503
1503
|
}
|
|
1504
|
-
function
|
|
1504
|
+
function Nr(u) {
|
|
1505
1505
|
let e;
|
|
1506
1506
|
if (u.md.options.typographer)
|
|
1507
1507
|
for (e = u.tokens.length - 1; e >= 0; e--)
|
|
1508
|
-
u.tokens[e].type === "inline" && (
|
|
1508
|
+
u.tokens[e].type === "inline" && (Lr.test(u.tokens[e].content) && Or(u.tokens[e].children), H0.test(u.tokens[e].content) && $r(u.tokens[e].children));
|
|
1509
1509
|
}
|
|
1510
|
-
const
|
|
1511
|
-
function
|
|
1510
|
+
const jr = /['"]/, i0 = /['"]/g, s0 = "’";
|
|
1511
|
+
function Ju(u, e, t) {
|
|
1512
1512
|
return u.slice(0, e) + t + u.slice(e + 1);
|
|
1513
1513
|
}
|
|
1514
|
-
function
|
|
1514
|
+
function Hr(u, e) {
|
|
1515
1515
|
let t;
|
|
1516
1516
|
const n = [];
|
|
1517
1517
|
for (let r = 0; r < u.length; r++) {
|
|
@@ -1523,8 +1523,8 @@ function Or(u, e) {
|
|
|
1523
1523
|
let o = c.content, s = 0, a = o.length;
|
|
1524
1524
|
u:
|
|
1525
1525
|
for (; s < a; ) {
|
|
1526
|
-
|
|
1527
|
-
const l =
|
|
1526
|
+
i0.lastIndex = s;
|
|
1527
|
+
const l = i0.exec(o);
|
|
1528
1528
|
if (!l)
|
|
1529
1529
|
break;
|
|
1530
1530
|
let f = !0, p = !0;
|
|
@@ -1548,9 +1548,9 @@ function Or(u, e) {
|
|
|
1548
1548
|
b = u[t].content.charCodeAt(0);
|
|
1549
1549
|
break;
|
|
1550
1550
|
}
|
|
1551
|
-
const g =
|
|
1552
|
-
if (
|
|
1553
|
-
h && (c.content =
|
|
1551
|
+
const g = Nu(d) || $u(String.fromCharCode(d)), y = Nu(b) || $u(String.fromCharCode(b)), m = Ou(d), x = Ou(b);
|
|
1552
|
+
if (x ? f = !1 : y && (m || g || (f = !1)), m ? p = !1 : g && (x || y || (p = !1)), b === 34 && l[0] === '"' && d >= 48 && d <= 57 && (p = f = !1), f && p && (f = g, p = y), !f && !p) {
|
|
1553
|
+
h && (c.content = Ju(c.content, l.index, s0));
|
|
1554
1554
|
continue;
|
|
1555
1555
|
}
|
|
1556
1556
|
if (p)
|
|
@@ -1561,7 +1561,7 @@ function Or(u, e) {
|
|
|
1561
1561
|
if (_.single === h && n[t].level === i) {
|
|
1562
1562
|
_ = n[t];
|
|
1563
1563
|
let k, w;
|
|
1564
|
-
h ? (k = e.md.options.quotes[2], w = e.md.options.quotes[3]) : (k = e.md.options.quotes[0], w = e.md.options.quotes[1]), c.content =
|
|
1564
|
+
h ? (k = e.md.options.quotes[2], w = e.md.options.quotes[3]) : (k = e.md.options.quotes[0], w = e.md.options.quotes[1]), c.content = Ju(c.content, l.index, w), u[_.token].content = Ju(
|
|
1565
1565
|
u[_.token].content,
|
|
1566
1566
|
_.pos,
|
|
1567
1567
|
k
|
|
@@ -1574,16 +1574,16 @@ function Or(u, e) {
|
|
|
1574
1574
|
pos: l.index,
|
|
1575
1575
|
single: h,
|
|
1576
1576
|
level: i
|
|
1577
|
-
}) : p && h && (c.content =
|
|
1577
|
+
}) : p && h && (c.content = Ju(c.content, l.index, s0));
|
|
1578
1578
|
}
|
|
1579
1579
|
}
|
|
1580
1580
|
}
|
|
1581
|
-
function
|
|
1581
|
+
function Vr(u) {
|
|
1582
1582
|
if (u.md.options.typographer)
|
|
1583
1583
|
for (let e = u.tokens.length - 1; e >= 0; e--)
|
|
1584
|
-
u.tokens[e].type !== "inline" || !
|
|
1584
|
+
u.tokens[e].type !== "inline" || !jr.test(u.tokens[e].content) || Hr(u.tokens[e].children, u);
|
|
1585
1585
|
}
|
|
1586
|
-
function
|
|
1586
|
+
function Zr(u) {
|
|
1587
1587
|
let e, t;
|
|
1588
1588
|
const n = u.tokens, r = n.length;
|
|
1589
1589
|
for (let c = 0; c < r; c++) {
|
|
@@ -1596,28 +1596,28 @@ function Nr(u) {
|
|
|
1596
1596
|
e !== t && (i.length = t);
|
|
1597
1597
|
}
|
|
1598
1598
|
}
|
|
1599
|
-
const
|
|
1600
|
-
["normalize",
|
|
1601
|
-
["block",
|
|
1602
|
-
["inline",
|
|
1603
|
-
["linkify",
|
|
1604
|
-
["replacements",
|
|
1605
|
-
["smartquotes",
|
|
1599
|
+
const ge = [
|
|
1600
|
+
["normalize", Sr],
|
|
1601
|
+
["block", Br],
|
|
1602
|
+
["inline", zr],
|
|
1603
|
+
["linkify", qr],
|
|
1604
|
+
["replacements", Nr],
|
|
1605
|
+
["smartquotes", Vr],
|
|
1606
1606
|
// `text_join` finds `text_special` tokens (for escape sequences)
|
|
1607
1607
|
// and joins them with the rest of the text
|
|
1608
|
-
["text_join",
|
|
1608
|
+
["text_join", Zr]
|
|
1609
1609
|
];
|
|
1610
|
-
function
|
|
1611
|
-
this.ruler = new
|
|
1612
|
-
for (let u = 0; u <
|
|
1613
|
-
this.ruler.push(
|
|
1610
|
+
function Ve() {
|
|
1611
|
+
this.ruler = new j();
|
|
1612
|
+
for (let u = 0; u < ge.length; u++)
|
|
1613
|
+
this.ruler.push(ge[u][0], ge[u][1]);
|
|
1614
1614
|
}
|
|
1615
|
-
|
|
1615
|
+
Ve.prototype.process = function(u) {
|
|
1616
1616
|
const e = this.ruler.getRules("");
|
|
1617
1617
|
for (let t = 0, n = e.length; t < n; t++)
|
|
1618
1618
|
e[t](u);
|
|
1619
1619
|
};
|
|
1620
|
-
|
|
1620
|
+
Ve.prototype.State = j0;
|
|
1621
1621
|
function ou(u, e, t, n) {
|
|
1622
1622
|
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;
|
|
1623
1623
|
const r = this.src;
|
|
@@ -1697,19 +1697,19 @@ ou.prototype.getLines = function(e, t, n, r) {
|
|
|
1697
1697
|
return c.join("");
|
|
1698
1698
|
};
|
|
1699
1699
|
ou.prototype.Token = G;
|
|
1700
|
-
const
|
|
1701
|
-
function
|
|
1700
|
+
const Ur = 65536;
|
|
1701
|
+
function ke(u, e) {
|
|
1702
1702
|
const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
|
|
1703
1703
|
return u.src.slice(t, n);
|
|
1704
1704
|
}
|
|
1705
|
-
function
|
|
1705
|
+
function a0(u) {
|
|
1706
1706
|
const e = [], t = u.length;
|
|
1707
1707
|
let n = 0, r = u.charCodeAt(n), c = !1, i = 0, o = "";
|
|
1708
1708
|
for (; n < t; )
|
|
1709
1709
|
r === 124 && (c ? (o += u.substring(i, n - 1), i = n) : (e.push(o + u.substring(i, n)), o = "", i = n + 1)), c = r === 92, n++, r = u.charCodeAt(n);
|
|
1710
1710
|
return e.push(o + u.substring(i)), e;
|
|
1711
1711
|
}
|
|
1712
|
-
function
|
|
1712
|
+
function Wr(u, e, t, n) {
|
|
1713
1713
|
if (e + 2 > t)
|
|
1714
1714
|
return !1;
|
|
1715
1715
|
let r = e + 1;
|
|
@@ -1730,7 +1730,7 @@ function Hr(u, e, t, n) {
|
|
|
1730
1730
|
return !1;
|
|
1731
1731
|
c++;
|
|
1732
1732
|
}
|
|
1733
|
-
let s =
|
|
1733
|
+
let s = ke(u, e + 1), a = s.split("|");
|
|
1734
1734
|
const l = [];
|
|
1735
1735
|
for (let _ = 0; _ < a.length; _++) {
|
|
1736
1736
|
const k = a[_].trim();
|
|
@@ -1743,9 +1743,9 @@ function Hr(u, e, t, n) {
|
|
|
1743
1743
|
return !1;
|
|
1744
1744
|
k.charCodeAt(k.length - 1) === 58 ? l.push(k.charCodeAt(0) === 58 ? "center" : "right") : k.charCodeAt(0) === 58 ? l.push("left") : l.push("");
|
|
1745
1745
|
}
|
|
1746
|
-
if (s =
|
|
1746
|
+
if (s = ke(u, e).trim(), s.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
|
|
1747
1747
|
return !1;
|
|
1748
|
-
a =
|
|
1748
|
+
a = a0(s), a.length && a[0] === "" && a.shift(), a.length && a[a.length - 1] === "" && a.pop();
|
|
1749
1749
|
const f = a.length;
|
|
1750
1750
|
if (f === 0 || f !== l.length)
|
|
1751
1751
|
return !1;
|
|
@@ -1766,7 +1766,7 @@ function Hr(u, e, t, n) {
|
|
|
1766
1766
|
w.content = a[_].trim(), w.children = [], u.push("th_close", "th", -1);
|
|
1767
1767
|
}
|
|
1768
1768
|
u.push("tr_close", "tr", -1), u.push("thead_close", "thead", -1);
|
|
1769
|
-
let
|
|
1769
|
+
let m, x = 0;
|
|
1770
1770
|
for (r = e + 2; r < t && !(u.sCount[r] < u.blkIndent); r++) {
|
|
1771
1771
|
let _ = !1;
|
|
1772
1772
|
for (let w = 0, D = h.length; w < D; w++)
|
|
@@ -1774,11 +1774,11 @@ function Hr(u, e, t, n) {
|
|
|
1774
1774
|
_ = !0;
|
|
1775
1775
|
break;
|
|
1776
1776
|
}
|
|
1777
|
-
if (_ || (s =
|
|
1777
|
+
if (_ || (s = ke(u, r).trim(), !s) || u.sCount[r] - u.blkIndent >= 4 || (a = a0(s), a.length && a[0] === "" && a.shift(), a.length && a[a.length - 1] === "" && a.pop(), x += f - a.length, x > Ur))
|
|
1778
1778
|
break;
|
|
1779
1779
|
if (r === e + 2) {
|
|
1780
1780
|
const w = u.push("tbody_open", "tbody", 1);
|
|
1781
|
-
w.map =
|
|
1781
|
+
w.map = m = [e + 2, 0];
|
|
1782
1782
|
}
|
|
1783
1783
|
const k = u.push("tr_open", "tr", 1);
|
|
1784
1784
|
k.map = [r, r + 1];
|
|
@@ -1790,9 +1790,9 @@ function Hr(u, e, t, n) {
|
|
|
1790
1790
|
}
|
|
1791
1791
|
u.push("tr_close", "tr", -1);
|
|
1792
1792
|
}
|
|
1793
|
-
return
|
|
1793
|
+
return m && (u.push("tbody_close", "tbody", -1), m[1] = r), u.push("table_close", "table", -1), b[1] = r, u.parentType = p, u.line = r, !0;
|
|
1794
1794
|
}
|
|
1795
|
-
function
|
|
1795
|
+
function Gr(u, e, t) {
|
|
1796
1796
|
if (u.sCount[e] - u.blkIndent < 4)
|
|
1797
1797
|
return !1;
|
|
1798
1798
|
let n = e + 1, r = n;
|
|
@@ -1812,7 +1812,7 @@ function Vr(u, e, t) {
|
|
|
1812
1812
|
return c.content = u.getLines(e, r, 4 + u.blkIndent, !1) + `
|
|
1813
1813
|
`, c.map = [e, u.line], !0;
|
|
1814
1814
|
}
|
|
1815
|
-
function
|
|
1815
|
+
function Jr(u, e, t, n) {
|
|
1816
1816
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
|
|
1817
1817
|
if (u.sCount[e] - u.blkIndent >= 4 || r + 3 > c)
|
|
1818
1818
|
return !1;
|
|
@@ -1839,7 +1839,7 @@ function Zr(u, e, t, n) {
|
|
|
1839
1839
|
const h = u.push("fence", "code", 0);
|
|
1840
1840
|
return h.info = l, h.content = u.getLines(e + 1, f, s, !0), h.markup = a, h.map = [e, u.line], !0;
|
|
1841
1841
|
}
|
|
1842
|
-
function
|
|
1842
|
+
function Xr(u, e, t, n) {
|
|
1843
1843
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
|
|
1844
1844
|
const i = u.lineMax;
|
|
1845
1845
|
if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 62)
|
|
@@ -1850,10 +1850,10 @@ function Ur(u, e, t, n) {
|
|
|
1850
1850
|
u.parentType = "blockquote";
|
|
1851
1851
|
let h = !1, d;
|
|
1852
1852
|
for (d = e; d < t; d++) {
|
|
1853
|
-
const
|
|
1853
|
+
const x = u.sCount[d] < u.blkIndent;
|
|
1854
1854
|
if (r = u.bMarks[d] + u.tShift[d], c = u.eMarks[d], r >= c)
|
|
1855
1855
|
break;
|
|
1856
|
-
if (u.src.charCodeAt(r++) === 62 && !
|
|
1856
|
+
if (u.src.charCodeAt(r++) === 62 && !x) {
|
|
1857
1857
|
let k = u.sCount[d] + 1, w, D;
|
|
1858
1858
|
u.src.charCodeAt(r) === 32 ? (r++, k++, D = !1, w = !0) : u.src.charCodeAt(r) === 9 ? (w = !0, (u.bsCount[d] + k) % 4 === 3 ? (r++, k++, D = !1) : D = !0) : w = !1;
|
|
1859
1859
|
let S = k;
|
|
@@ -1888,13 +1888,13 @@ function Ur(u, e, t, n) {
|
|
|
1888
1888
|
g.markup = ">";
|
|
1889
1889
|
const y = [e, 0];
|
|
1890
1890
|
g.map = y, u.md.block.tokenize(u, e, d);
|
|
1891
|
-
const
|
|
1892
|
-
|
|
1893
|
-
for (let
|
|
1894
|
-
u.bMarks[
|
|
1891
|
+
const m = u.push("blockquote_close", "blockquote", -1);
|
|
1892
|
+
m.markup = ">", u.lineMax = i, u.parentType = p, y[1] = u.line;
|
|
1893
|
+
for (let x = 0; x < l.length; x++)
|
|
1894
|
+
u.bMarks[x + e] = o[x], u.tShift[x + e] = l[x], u.sCount[x + e] = a[x], u.bsCount[x + e] = s[x];
|
|
1895
1895
|
return u.blkIndent = b, !0;
|
|
1896
1896
|
}
|
|
1897
|
-
function
|
|
1897
|
+
function Qr(u, e, t, n) {
|
|
1898
1898
|
const r = u.eMarks[e];
|
|
1899
1899
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
1900
1900
|
return !1;
|
|
@@ -1917,7 +1917,7 @@ function Wr(u, e, t, n) {
|
|
|
1917
1917
|
const s = u.push("hr", "hr", 0);
|
|
1918
1918
|
return s.map = [e, u.line], s.markup = Array(o + 1).join(String.fromCharCode(i)), !0;
|
|
1919
1919
|
}
|
|
1920
|
-
function
|
|
1920
|
+
function l0(u, e) {
|
|
1921
1921
|
const t = u.eMarks[e];
|
|
1922
1922
|
let n = u.bMarks[e] + u.tShift[e];
|
|
1923
1923
|
const r = u.src.charCodeAt(n++);
|
|
@@ -1930,7 +1930,7 @@ function r0(u, e) {
|
|
|
1930
1930
|
}
|
|
1931
1931
|
return n;
|
|
1932
1932
|
}
|
|
1933
|
-
function
|
|
1933
|
+
function f0(u, e) {
|
|
1934
1934
|
const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
|
|
1935
1935
|
let r = t;
|
|
1936
1936
|
if (r + 1 >= n)
|
|
@@ -1952,21 +1952,21 @@ function c0(u, e) {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
return r < n && (c = u.src.charCodeAt(r), !z(c)) ? -1 : r;
|
|
1954
1954
|
}
|
|
1955
|
-
function
|
|
1955
|
+
function Yr(u, e) {
|
|
1956
1956
|
const t = u.level + 2;
|
|
1957
1957
|
for (let n = e + 2, r = u.tokens.length - 2; n < r; n++)
|
|
1958
1958
|
u.tokens[n].level === t && u.tokens[n].type === "paragraph_open" && (u.tokens[n + 2].hidden = !0, u.tokens[n].hidden = !0, n += 2);
|
|
1959
1959
|
}
|
|
1960
|
-
function
|
|
1960
|
+
function Kr(u, e, t, n) {
|
|
1961
1961
|
let r, c, i, o, s = e, a = !0;
|
|
1962
1962
|
if (u.sCount[s] - u.blkIndent >= 4 || u.listIndent >= 0 && u.sCount[s] - u.listIndent >= 4 && u.sCount[s] < u.blkIndent)
|
|
1963
1963
|
return !1;
|
|
1964
1964
|
let l = !1;
|
|
1965
1965
|
n && u.parentType === "paragraph" && u.sCount[s] >= u.blkIndent && (l = !0);
|
|
1966
1966
|
let f, p, h;
|
|
1967
|
-
if ((h =
|
|
1967
|
+
if ((h = f0(u, s)) >= 0) {
|
|
1968
1968
|
if (f = !0, i = u.bMarks[s] + u.tShift[s], p = Number(u.src.slice(i, h - 1)), l && p !== 1) return !1;
|
|
1969
|
-
} else if ((h =
|
|
1969
|
+
} else if ((h = l0(u, s)) >= 0)
|
|
1970
1970
|
f = !1;
|
|
1971
1971
|
else
|
|
1972
1972
|
return !1;
|
|
@@ -1979,7 +1979,7 @@ function Jr(u, e, t, n) {
|
|
|
1979
1979
|
const g = [s, 0];
|
|
1980
1980
|
o.map = g, o.markup = String.fromCharCode(d);
|
|
1981
1981
|
let y = !1;
|
|
1982
|
-
const
|
|
1982
|
+
const m = u.md.block.ruler.getRules("list"), x = u.parentType;
|
|
1983
1983
|
for (u.parentType = "list"; s < t; ) {
|
|
1984
1984
|
c = h, r = u.eMarks[s];
|
|
1985
1985
|
const _ = u.sCount[s] + h - (u.bMarks[s] + u.tShift[s]);
|
|
@@ -2001,78 +2001,78 @@ function Jr(u, e, t, n) {
|
|
|
2001
2001
|
o = u.push("list_item_open", "li", 1), o.markup = String.fromCharCode(d);
|
|
2002
2002
|
const M = [s, 0];
|
|
2003
2003
|
o.map = M, f && (o.info = u.src.slice(i, h - 1));
|
|
2004
|
-
const B = u.tight, A = u.tShift[s],
|
|
2005
|
-
if (u.listIndent = u.blkIndent, u.blkIndent = S, u.tight = !0, u.tShift[s] = w - u.bMarks[s], u.sCount[s] = k, w >= 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 = Y, u.tShift[s] = A, u.sCount[s] =
|
|
2004
|
+
const B = u.tight, A = u.tShift[s], H = u.sCount[s], Y = u.listIndent;
|
|
2005
|
+
if (u.listIndent = u.blkIndent, u.blkIndent = S, u.tight = !0, u.tShift[s] = w - u.bMarks[s], u.sCount[s] = k, w >= 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 = Y, u.tShift[s] = A, u.sCount[s] = H, u.tight = B, o = u.push("list_item_close", "li", -1), o.markup = String.fromCharCode(d), s = u.line, M[1] = s, s >= t || u.sCount[s] < u.blkIndent || u.sCount[s] - u.blkIndent >= 4)
|
|
2006
2006
|
break;
|
|
2007
2007
|
let K = !1;
|
|
2008
|
-
for (let uu = 0,
|
|
2009
|
-
if (
|
|
2008
|
+
for (let uu = 0, xu = m.length; uu < xu; uu++)
|
|
2009
|
+
if (m[uu](u, s, t, !0)) {
|
|
2010
2010
|
K = !0;
|
|
2011
2011
|
break;
|
|
2012
2012
|
}
|
|
2013
2013
|
if (K)
|
|
2014
2014
|
break;
|
|
2015
2015
|
if (f) {
|
|
2016
|
-
if (h =
|
|
2016
|
+
if (h = f0(u, s), h < 0)
|
|
2017
2017
|
break;
|
|
2018
2018
|
i = u.bMarks[s] + u.tShift[s];
|
|
2019
|
-
} else if (h =
|
|
2019
|
+
} else if (h = l0(u, s), h < 0)
|
|
2020
2020
|
break;
|
|
2021
2021
|
if (d !== u.src.charCodeAt(h - 1))
|
|
2022
2022
|
break;
|
|
2023
2023
|
}
|
|
2024
|
-
return f ? o = u.push("ordered_list_close", "ol", -1) : o = u.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(d), g[1] = s, u.line = s, u.parentType =
|
|
2024
|
+
return f ? o = u.push("ordered_list_close", "ol", -1) : o = u.push("bullet_list_close", "ul", -1), o.markup = String.fromCharCode(d), g[1] = s, u.line = s, u.parentType = x, a && Yr(u, b), !0;
|
|
2025
2025
|
}
|
|
2026
|
-
function
|
|
2026
|
+
function uc(u, e, t, n) {
|
|
2027
2027
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e], i = e + 1;
|
|
2028
2028
|
if (u.sCount[e] - u.blkIndent >= 4 || u.src.charCodeAt(r) !== 91)
|
|
2029
2029
|
return !1;
|
|
2030
|
-
function o(
|
|
2031
|
-
const
|
|
2032
|
-
if (
|
|
2030
|
+
function o(m) {
|
|
2031
|
+
const x = u.lineMax;
|
|
2032
|
+
if (m >= x || u.isEmpty(m))
|
|
2033
2033
|
return null;
|
|
2034
2034
|
let _ = !1;
|
|
2035
|
-
if (u.sCount[
|
|
2035
|
+
if (u.sCount[m] - u.blkIndent > 3 && (_ = !0), u.sCount[m] < 0 && (_ = !0), !_) {
|
|
2036
2036
|
const D = u.md.block.ruler.getRules("reference"), S = u.parentType;
|
|
2037
2037
|
u.parentType = "reference";
|
|
2038
2038
|
let M = !1;
|
|
2039
2039
|
for (let B = 0, A = D.length; B < A; B++)
|
|
2040
|
-
if (D[B](u,
|
|
2040
|
+
if (D[B](u, m, x, !0)) {
|
|
2041
2041
|
M = !0;
|
|
2042
2042
|
break;
|
|
2043
2043
|
}
|
|
2044
2044
|
if (u.parentType = S, M)
|
|
2045
2045
|
return null;
|
|
2046
2046
|
}
|
|
2047
|
-
const k = u.bMarks[
|
|
2047
|
+
const k = u.bMarks[m] + u.tShift[m], w = u.eMarks[m];
|
|
2048
2048
|
return u.src.slice(k, w + 1);
|
|
2049
2049
|
}
|
|
2050
2050
|
let s = u.src.slice(r, c + 1);
|
|
2051
2051
|
c = s.length;
|
|
2052
2052
|
let a = -1;
|
|
2053
2053
|
for (r = 1; r < c; r++) {
|
|
2054
|
-
const
|
|
2055
|
-
if (
|
|
2054
|
+
const m = s.charCodeAt(r);
|
|
2055
|
+
if (m === 91)
|
|
2056
2056
|
return !1;
|
|
2057
|
-
if (
|
|
2057
|
+
if (m === 93) {
|
|
2058
2058
|
a = r;
|
|
2059
2059
|
break;
|
|
2060
|
-
} else if (
|
|
2061
|
-
const
|
|
2062
|
-
|
|
2063
|
-
} else if (
|
|
2064
|
-
const
|
|
2065
|
-
|
|
2060
|
+
} else if (m === 10) {
|
|
2061
|
+
const x = o(i);
|
|
2062
|
+
x !== null && (s += x, c = s.length, i++);
|
|
2063
|
+
} else if (m === 92 && (r++, r < c && s.charCodeAt(r) === 10)) {
|
|
2064
|
+
const x = o(i);
|
|
2065
|
+
x !== null && (s += x, c = s.length, i++);
|
|
2066
2066
|
}
|
|
2067
2067
|
}
|
|
2068
2068
|
if (a < 0 || s.charCodeAt(a + 1) !== 58)
|
|
2069
2069
|
return !1;
|
|
2070
2070
|
for (r = a + 2; r < c; r++) {
|
|
2071
|
-
const
|
|
2072
|
-
if (
|
|
2073
|
-
const
|
|
2074
|
-
|
|
2075
|
-
} else if (!z(
|
|
2071
|
+
const m = s.charCodeAt(r);
|
|
2072
|
+
if (m === 10) {
|
|
2073
|
+
const x = o(i);
|
|
2074
|
+
x !== null && (s += x, c = s.length, i++);
|
|
2075
|
+
} else if (!z(m)) break;
|
|
2076
2076
|
}
|
|
2077
2077
|
const l = u.md.helpers.parseLinkDestination(s, r, c);
|
|
2078
2078
|
if (!l.ok)
|
|
@@ -2083,38 +2083,38 @@ function Xr(u, e, t, n) {
|
|
|
2083
2083
|
r = l.pos;
|
|
2084
2084
|
const p = r, h = i, d = r;
|
|
2085
2085
|
for (; r < c; r++) {
|
|
2086
|
-
const
|
|
2087
|
-
if (
|
|
2088
|
-
const
|
|
2089
|
-
|
|
2090
|
-
} else if (!z(
|
|
2086
|
+
const m = s.charCodeAt(r);
|
|
2087
|
+
if (m === 10) {
|
|
2088
|
+
const x = o(i);
|
|
2089
|
+
x !== null && (s += x, c = s.length, i++);
|
|
2090
|
+
} else if (!z(m)) break;
|
|
2091
2091
|
}
|
|
2092
2092
|
let b = u.md.helpers.parseLinkTitle(s, r, c);
|
|
2093
2093
|
for (; b.can_continue; ) {
|
|
2094
|
-
const
|
|
2095
|
-
if (
|
|
2096
|
-
s +=
|
|
2094
|
+
const m = o(i);
|
|
2095
|
+
if (m === null) break;
|
|
2096
|
+
s += m, r = c, c = s.length, i++, b = u.md.helpers.parseLinkTitle(s, r, c, b);
|
|
2097
2097
|
}
|
|
2098
2098
|
let g;
|
|
2099
2099
|
for (r < c && d !== r && b.ok ? (g = b.str, r = b.pos) : (g = "", r = p, i = h); r < c; ) {
|
|
2100
|
-
const
|
|
2101
|
-
if (!z(
|
|
2100
|
+
const m = s.charCodeAt(r);
|
|
2101
|
+
if (!z(m))
|
|
2102
2102
|
break;
|
|
2103
2103
|
r++;
|
|
2104
2104
|
}
|
|
2105
2105
|
if (r < c && s.charCodeAt(r) !== 10 && g)
|
|
2106
2106
|
for (g = "", r = p, i = h; r < c; ) {
|
|
2107
|
-
const
|
|
2108
|
-
if (!z(
|
|
2107
|
+
const m = s.charCodeAt(r);
|
|
2108
|
+
if (!z(m))
|
|
2109
2109
|
break;
|
|
2110
2110
|
r++;
|
|
2111
2111
|
}
|
|
2112
2112
|
if (r < c && s.charCodeAt(r) !== 10)
|
|
2113
2113
|
return !1;
|
|
2114
|
-
const y =
|
|
2114
|
+
const y = ae(s.slice(1, a));
|
|
2115
2115
|
return y ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[y] > "u" && (u.env.references[y] = { title: g, href: f }), u.line = i), !0) : !1;
|
|
2116
2116
|
}
|
|
2117
|
-
const
|
|
2117
|
+
const ec = [
|
|
2118
2118
|
"address",
|
|
2119
2119
|
"article",
|
|
2120
2120
|
"aside",
|
|
@@ -2177,30 +2177,30 @@ const Qr = [
|
|
|
2177
2177
|
"tr",
|
|
2178
2178
|
"track",
|
|
2179
2179
|
"ul"
|
|
2180
|
-
],
|
|
2180
|
+
], tc = "[a-zA-Z_:][a-zA-Z0-9:._-]*", nc = "[^\"'=<>`\\x00-\\x20]+", rc = "'[^']*'", cc = '"[^"]*"', oc = "(?:" + nc + "|" + rc + "|" + cc + ")", ic = "(?:\\s+" + tc + "(?:\\s*=\\s*" + oc + ")?)", V0 = "<[A-Za-z][A-Za-z0-9\\-]*" + ic + "*\\s*\\/?>", Z0 = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", sc = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", ac = "<[?][\\s\\S]*?[?]>", lc = "<![A-Za-z][^>]*>", fc = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", dc = new RegExp("^(?:" + V0 + "|" + Z0 + "|" + sc + "|" + ac + "|" + lc + "|" + fc + ")"), hc = new RegExp("^(?:" + V0 + "|" + Z0 + ")"), Au = [
|
|
2181
2181
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
2182
2182
|
[/^<!--/, /-->/, !0],
|
|
2183
2183
|
[/^<\?/, /\?>/, !0],
|
|
2184
2184
|
[/^<![A-Z]/, />/, !0],
|
|
2185
2185
|
[/^<!\[CDATA\[/, /\]\]>/, !0],
|
|
2186
|
-
[new RegExp("^</?(" +
|
|
2187
|
-
[new RegExp(
|
|
2186
|
+
[new RegExp("^</?(" + ec.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
|
|
2187
|
+
[new RegExp(hc.source + "\\s*$"), /^$/, !1]
|
|
2188
2188
|
];
|
|
2189
|
-
function
|
|
2189
|
+
function pc(u, e, t, n) {
|
|
2190
2190
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
|
|
2191
2191
|
if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(r) !== 60)
|
|
2192
2192
|
return !1;
|
|
2193
2193
|
let i = u.src.slice(r, c), o = 0;
|
|
2194
|
-
for (; o <
|
|
2194
|
+
for (; o < Au.length && !Au[o][0].test(i); o++)
|
|
2195
2195
|
;
|
|
2196
|
-
if (o ===
|
|
2196
|
+
if (o === Au.length)
|
|
2197
2197
|
return !1;
|
|
2198
2198
|
if (n)
|
|
2199
|
-
return
|
|
2199
|
+
return Au[o][2];
|
|
2200
2200
|
let s = e + 1;
|
|
2201
|
-
if (!
|
|
2201
|
+
if (!Au[o][1].test(i)) {
|
|
2202
2202
|
for (; s < t && !(u.sCount[s] < u.blkIndent); s++)
|
|
2203
|
-
if (r = u.bMarks[s] + u.tShift[s], c = u.eMarks[s], i = u.src.slice(r, c),
|
|
2203
|
+
if (r = u.bMarks[s] + u.tShift[s], c = u.eMarks[s], i = u.src.slice(r, c), Au[o][1].test(i)) {
|
|
2204
2204
|
i.length !== 0 && s++;
|
|
2205
2205
|
break;
|
|
2206
2206
|
}
|
|
@@ -2209,7 +2209,7 @@ function lc(u, e, t, n) {
|
|
|
2209
2209
|
const a = u.push("html_block", "", 0);
|
|
2210
2210
|
return a.map = [e, s], a.content = u.getLines(e, s, u.blkIndent, !0), !0;
|
|
2211
2211
|
}
|
|
2212
|
-
function
|
|
2212
|
+
function bc(u, e, t, n) {
|
|
2213
2213
|
let r = u.bMarks[e] + u.tShift[e], c = u.eMarks[e];
|
|
2214
2214
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
2215
2215
|
return !1;
|
|
@@ -2233,7 +2233,7 @@ function fc(u, e, t, n) {
|
|
|
2233
2233
|
const f = u.push("heading_close", "h" + String(o), -1);
|
|
2234
2234
|
return f.markup = "########".slice(0, o), !0;
|
|
2235
2235
|
}
|
|
2236
|
-
function
|
|
2236
|
+
function mc(u, e, t) {
|
|
2237
2237
|
const n = u.md.block.ruler.getRules("paragraph");
|
|
2238
2238
|
if (u.sCount[e] - u.blkIndent >= 4)
|
|
2239
2239
|
return !1;
|
|
@@ -2273,7 +2273,7 @@ function dc(u, e, t) {
|
|
|
2273
2273
|
const f = u.push("heading_close", "h" + String(c), -1);
|
|
2274
2274
|
return f.markup = String.fromCharCode(i), u.parentType = r, !0;
|
|
2275
2275
|
}
|
|
2276
|
-
function
|
|
2276
|
+
function xc(u, e, t) {
|
|
2277
2277
|
const n = u.md.block.ruler.getRules("paragraph"), r = u.parentType;
|
|
2278
2278
|
let c = e + 1;
|
|
2279
2279
|
for (u.parentType = "paragraph"; c < t && !u.isEmpty(c); c++) {
|
|
@@ -2295,27 +2295,27 @@ function hc(u, e, t) {
|
|
|
2295
2295
|
const s = u.push("inline", "", 0);
|
|
2296
2296
|
return s.content = i, s.map = [e, u.line], s.children = [], u.push("paragraph_close", "p", -1), u.parentType = r, !0;
|
|
2297
2297
|
}
|
|
2298
|
-
const
|
|
2298
|
+
const Xu = [
|
|
2299
2299
|
// First 2 params - rule name & source. Secondary array - list of rules,
|
|
2300
2300
|
// which can be terminated by this one.
|
|
2301
|
-
["table",
|
|
2302
|
-
["code",
|
|
2303
|
-
["fence",
|
|
2304
|
-
["blockquote",
|
|
2305
|
-
["hr",
|
|
2306
|
-
["list",
|
|
2307
|
-
["reference",
|
|
2308
|
-
["html_block",
|
|
2309
|
-
["heading",
|
|
2310
|
-
["lheading",
|
|
2311
|
-
["paragraph",
|
|
2301
|
+
["table", Wr, ["paragraph", "reference"]],
|
|
2302
|
+
["code", Gr],
|
|
2303
|
+
["fence", Jr, ["paragraph", "reference", "blockquote", "list"]],
|
|
2304
|
+
["blockquote", Xr, ["paragraph", "reference", "blockquote", "list"]],
|
|
2305
|
+
["hr", Qr, ["paragraph", "reference", "blockquote", "list"]],
|
|
2306
|
+
["list", Kr, ["paragraph", "reference", "blockquote"]],
|
|
2307
|
+
["reference", uc],
|
|
2308
|
+
["html_block", pc, ["paragraph", "reference", "blockquote"]],
|
|
2309
|
+
["heading", bc, ["paragraph", "reference", "blockquote"]],
|
|
2310
|
+
["lheading", mc],
|
|
2311
|
+
["paragraph", xc]
|
|
2312
2312
|
];
|
|
2313
|
-
function
|
|
2314
|
-
this.ruler = new
|
|
2315
|
-
for (let u = 0; u <
|
|
2316
|
-
this.ruler.push(
|
|
2313
|
+
function le() {
|
|
2314
|
+
this.ruler = new j();
|
|
2315
|
+
for (let u = 0; u < Xu.length; u++)
|
|
2316
|
+
this.ruler.push(Xu[u][0], Xu[u][1], { alt: (Xu[u][2] || []).slice() });
|
|
2317
2317
|
}
|
|
2318
|
-
|
|
2318
|
+
le.prototype.tokenize = function(u, e, t) {
|
|
2319
2319
|
const n = this.ruler.getRules(""), r = n.length, c = u.md.options.maxNesting;
|
|
2320
2320
|
let i = e, o = !1;
|
|
2321
2321
|
for (; i < t && (u.line = i = u.skipEmptyLines(i), !(i >= t || u.sCount[i] < u.blkIndent)); ) {
|
|
@@ -2335,36 +2335,36 @@ se.prototype.tokenize = function(u, e, t) {
|
|
|
2335
2335
|
u.tight = !o, u.isEmpty(u.line - 1) && (o = !0), i = u.line, i < t && u.isEmpty(i) && (o = !0, i++, u.line = i);
|
|
2336
2336
|
}
|
|
2337
2337
|
};
|
|
2338
|
-
|
|
2338
|
+
le.prototype.parse = function(u, e, t, n) {
|
|
2339
2339
|
if (!u)
|
|
2340
2340
|
return;
|
|
2341
2341
|
const r = new this.State(u, e, t, n);
|
|
2342
2342
|
this.tokenize(r, r.line, r.lineMax);
|
|
2343
2343
|
};
|
|
2344
|
-
|
|
2345
|
-
function
|
|
2344
|
+
le.prototype.State = ou;
|
|
2345
|
+
function Zu(u, e, t, n) {
|
|
2346
2346
|
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;
|
|
2347
2347
|
}
|
|
2348
|
-
|
|
2348
|
+
Zu.prototype.pushPending = function() {
|
|
2349
2349
|
const u = new G("text", "", 0);
|
|
2350
2350
|
return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
|
|
2351
2351
|
};
|
|
2352
|
-
|
|
2352
|
+
Zu.prototype.push = function(u, e, t) {
|
|
2353
2353
|
this.pending && this.pushPending();
|
|
2354
2354
|
const n = new G(u, e, t);
|
|
2355
2355
|
let r = null;
|
|
2356
2356
|
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;
|
|
2357
2357
|
};
|
|
2358
|
-
|
|
2358
|
+
Zu.prototype.scanDelims = function(u, e) {
|
|
2359
2359
|
const t = this.posMax, n = this.src.charCodeAt(u), r = u > 0 ? this.src.charCodeAt(u - 1) : 32;
|
|
2360
2360
|
let c = u;
|
|
2361
2361
|
for (; c < t && this.src.charCodeAt(c) === n; )
|
|
2362
2362
|
c++;
|
|
2363
|
-
const i = c - u, o = c < t ? this.src.charCodeAt(c) : 32, s =
|
|
2363
|
+
const i = c - u, o = c < t ? this.src.charCodeAt(c) : 32, s = Nu(r) || $u(String.fromCharCode(r)), a = Nu(o) || $u(String.fromCharCode(o)), l = Ou(r), f = Ou(o), p = !f && (!a || l || s), h = !l && (!s || f || a);
|
|
2364
2364
|
return { can_open: p && (e || !h || s), can_close: h && (e || !p || a), length: i };
|
|
2365
2365
|
};
|
|
2366
|
-
|
|
2367
|
-
function
|
|
2366
|
+
Zu.prototype.Token = G;
|
|
2367
|
+
function _c(u) {
|
|
2368
2368
|
switch (u) {
|
|
2369
2369
|
case 10:
|
|
2370
2370
|
case 33:
|
|
@@ -2394,18 +2394,18 @@ function pc(u) {
|
|
|
2394
2394
|
return !1;
|
|
2395
2395
|
}
|
|
2396
2396
|
}
|
|
2397
|
-
function
|
|
2397
|
+
function gc(u, e) {
|
|
2398
2398
|
let t = u.pos;
|
|
2399
|
-
for (; t < u.posMax && !
|
|
2399
|
+
for (; t < u.posMax && !_c(u.src.charCodeAt(t)); )
|
|
2400
2400
|
t++;
|
|
2401
2401
|
return t === u.pos ? !1 : (e || (u.pending += u.src.slice(u.pos, t)), u.pos = t, !0);
|
|
2402
2402
|
}
|
|
2403
|
-
const
|
|
2404
|
-
function
|
|
2403
|
+
const kc = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
|
|
2404
|
+
function yc(u, e) {
|
|
2405
2405
|
if (!u.md.options.linkify || u.linkLevel > 0) return !1;
|
|
2406
2406
|
const t = u.pos, n = u.posMax;
|
|
2407
2407
|
if (t + 3 > n || u.src.charCodeAt(t) !== 58 || u.src.charCodeAt(t + 1) !== 47 || u.src.charCodeAt(t + 2) !== 47) return !1;
|
|
2408
|
-
const r = u.pending.match(
|
|
2408
|
+
const r = u.pending.match(kc);
|
|
2409
2409
|
if (!r) return !1;
|
|
2410
2410
|
const c = r[1], i = u.md.linkify.matchAtStart(u.src.slice(t - c.length));
|
|
2411
2411
|
if (!i) return !1;
|
|
@@ -2425,7 +2425,7 @@ function mc(u, e) {
|
|
|
2425
2425
|
}
|
|
2426
2426
|
return u.pos += o.length - c.length, !0;
|
|
2427
2427
|
}
|
|
2428
|
-
function
|
|
2428
|
+
function Cc(u, e) {
|
|
2429
2429
|
let t = u.pos;
|
|
2430
2430
|
if (u.src.charCodeAt(t) !== 10)
|
|
2431
2431
|
return !1;
|
|
@@ -2444,13 +2444,13 @@ function _c(u, e) {
|
|
|
2444
2444
|
t++;
|
|
2445
2445
|
return u.pos = t, !0;
|
|
2446
2446
|
}
|
|
2447
|
-
const
|
|
2447
|
+
const Ze = [];
|
|
2448
2448
|
for (let u = 0; u < 256; u++)
|
|
2449
|
-
|
|
2449
|
+
Ze.push(0);
|
|
2450
2450
|
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
|
|
2451
|
-
|
|
2451
|
+
Ze[u.charCodeAt(0)] = 1;
|
|
2452
2452
|
});
|
|
2453
|
-
function
|
|
2453
|
+
function vc(u, e) {
|
|
2454
2454
|
let t = u.pos;
|
|
2455
2455
|
const n = u.posMax;
|
|
2456
2456
|
if (u.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
|
|
@@ -2468,11 +2468,11 @@ function gc(u, e) {
|
|
|
2468
2468
|
const i = "\\" + c;
|
|
2469
2469
|
if (!e) {
|
|
2470
2470
|
const o = u.push("text_special", "", 0);
|
|
2471
|
-
r < 256 &&
|
|
2471
|
+
r < 256 && Ze[r] !== 0 ? o.content = c : o.content = i, o.markup = i, o.info = "escape";
|
|
2472
2472
|
}
|
|
2473
2473
|
return u.pos = t + 1, !0;
|
|
2474
2474
|
}
|
|
2475
|
-
function
|
|
2475
|
+
function Dc(u, e) {
|
|
2476
2476
|
let t = u.pos;
|
|
2477
2477
|
if (u.src.charCodeAt(t) !== 96)
|
|
2478
2478
|
return !1;
|
|
@@ -2500,7 +2500,7 @@ function kc(u, e) {
|
|
|
2500
2500
|
}
|
|
2501
2501
|
return u.backticksScanned = !0, e || (u.pending += i), u.pos += o, !0;
|
|
2502
2502
|
}
|
|
2503
|
-
function
|
|
2503
|
+
function wc(u, e) {
|
|
2504
2504
|
const t = u.pos, n = u.src.charCodeAt(t);
|
|
2505
2505
|
if (e || n !== 126)
|
|
2506
2506
|
return !1;
|
|
@@ -2523,7 +2523,7 @@ function yc(u, e) {
|
|
|
2523
2523
|
});
|
|
2524
2524
|
return u.pos += r.length, !0;
|
|
2525
2525
|
}
|
|
2526
|
-
function
|
|
2526
|
+
function d0(u, e) {
|
|
2527
2527
|
let t;
|
|
2528
2528
|
const n = [], r = e.length;
|
|
2529
2529
|
for (let c = 0; c < r; c++) {
|
|
@@ -2541,17 +2541,17 @@ function o0(u, e) {
|
|
|
2541
2541
|
i--, c !== i && (t = u.tokens[i], u.tokens[i] = u.tokens[c], u.tokens[c] = t);
|
|
2542
2542
|
}
|
|
2543
2543
|
}
|
|
2544
|
-
function
|
|
2544
|
+
function Ec(u) {
|
|
2545
2545
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2546
|
-
|
|
2546
|
+
d0(u, u.delimiters);
|
|
2547
2547
|
for (let n = 0; n < t; n++)
|
|
2548
|
-
e[n] && e[n].delimiters &&
|
|
2548
|
+
e[n] && e[n].delimiters && d0(u, e[n].delimiters);
|
|
2549
2549
|
}
|
|
2550
|
-
const
|
|
2551
|
-
tokenize:
|
|
2552
|
-
postProcess:
|
|
2550
|
+
const U0 = {
|
|
2551
|
+
tokenize: wc,
|
|
2552
|
+
postProcess: Ec
|
|
2553
2553
|
};
|
|
2554
|
-
function
|
|
2554
|
+
function Ac(u, e) {
|
|
2555
2555
|
const t = u.pos, n = u.src.charCodeAt(t);
|
|
2556
2556
|
if (e || n !== 95 && n !== 42)
|
|
2557
2557
|
return !1;
|
|
@@ -2581,7 +2581,7 @@ function vc(u, e) {
|
|
|
2581
2581
|
}
|
|
2582
2582
|
return u.pos += r.length, !0;
|
|
2583
2583
|
}
|
|
2584
|
-
function
|
|
2584
|
+
function h0(u, e) {
|
|
2585
2585
|
const t = e.length;
|
|
2586
2586
|
for (let n = t - 1; n >= 0; n--) {
|
|
2587
2587
|
const r = e[n];
|
|
@@ -2595,17 +2595,17 @@ function i0(u, e) {
|
|
|
2595
2595
|
a.type = i ? "strong_close" : "em_close", a.tag = i ? "strong" : "em", a.nesting = -1, a.markup = i ? o + o : o, a.content = "", i && (u.tokens[e[n - 1].token].content = "", u.tokens[e[r.end + 1].token].content = "", n--);
|
|
2596
2596
|
}
|
|
2597
2597
|
}
|
|
2598
|
-
function
|
|
2598
|
+
function Fc(u) {
|
|
2599
2599
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2600
|
-
|
|
2600
|
+
h0(u, u.delimiters);
|
|
2601
2601
|
for (let n = 0; n < t; n++)
|
|
2602
|
-
e[n] && e[n].delimiters &&
|
|
2602
|
+
e[n] && e[n].delimiters && h0(u, e[n].delimiters);
|
|
2603
2603
|
}
|
|
2604
|
-
const
|
|
2605
|
-
tokenize:
|
|
2606
|
-
postProcess:
|
|
2604
|
+
const W0 = {
|
|
2605
|
+
tokenize: Ac,
|
|
2606
|
+
postProcess: Fc
|
|
2607
2607
|
};
|
|
2608
|
-
function
|
|
2608
|
+
function Sc(u, e) {
|
|
2609
2609
|
let t, n, r, c, i = "", o = "", s = u.pos, a = !0;
|
|
2610
2610
|
if (u.src.charCodeAt(u.pos) !== 91)
|
|
2611
2611
|
return !1;
|
|
@@ -2630,7 +2630,7 @@ function wc(u, e) {
|
|
|
2630
2630
|
if (a) {
|
|
2631
2631
|
if (typeof u.env.references > "u")
|
|
2632
2632
|
return !1;
|
|
2633
|
-
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[
|
|
2633
|
+
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[ae(n)], !c)
|
|
2634
2634
|
return u.pos = l, !1;
|
|
2635
2635
|
i = c.href, o = c.title;
|
|
2636
2636
|
}
|
|
@@ -2641,7 +2641,7 @@ function wc(u, e) {
|
|
|
2641
2641
|
}
|
|
2642
2642
|
return u.pos = d, u.posMax = f, !0;
|
|
2643
2643
|
}
|
|
2644
|
-
function
|
|
2644
|
+
function Bc(u, e) {
|
|
2645
2645
|
let t, n, r, c, i, o, s, a, l = "";
|
|
2646
2646
|
const f = u.pos, p = u.posMax;
|
|
2647
2647
|
if (u.src.charCodeAt(u.pos) !== 33 || u.src.charCodeAt(u.pos + 1) !== 91)
|
|
@@ -2667,7 +2667,7 @@ function Ec(u, e) {
|
|
|
2667
2667
|
} else {
|
|
2668
2668
|
if (typeof u.env.references > "u")
|
|
2669
2669
|
return !1;
|
|
2670
|
-
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)), i = u.env.references[
|
|
2670
|
+
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)), i = u.env.references[ae(r)], !i)
|
|
2671
2671
|
return u.pos = f, !1;
|
|
2672
2672
|
l = i.href, s = i.title;
|
|
2673
2673
|
}
|
|
@@ -2685,8 +2685,8 @@ function Ec(u, e) {
|
|
|
2685
2685
|
}
|
|
2686
2686
|
return u.pos = c, u.posMax = p, !0;
|
|
2687
2687
|
}
|
|
2688
|
-
const
|
|
2689
|
-
function
|
|
2688
|
+
const zc = /^([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])?)*)$/, Mc = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
|
|
2689
|
+
function Tc(u, e) {
|
|
2690
2690
|
let t = u.pos;
|
|
2691
2691
|
if (u.src.charCodeAt(t) !== 60)
|
|
2692
2692
|
return !1;
|
|
@@ -2698,7 +2698,7 @@ function Sc(u, e) {
|
|
|
2698
2698
|
if (i === 62) break;
|
|
2699
2699
|
}
|
|
2700
2700
|
const c = u.src.slice(n + 1, t);
|
|
2701
|
-
if (
|
|
2701
|
+
if (Mc.test(c)) {
|
|
2702
2702
|
const i = u.md.normalizeLink(c);
|
|
2703
2703
|
if (!u.md.validateLink(i))
|
|
2704
2704
|
return !1;
|
|
@@ -2712,7 +2712,7 @@ function Sc(u, e) {
|
|
|
2712
2712
|
}
|
|
2713
2713
|
return u.pos += c.length + 2, !0;
|
|
2714
2714
|
}
|
|
2715
|
-
if (
|
|
2715
|
+
if (zc.test(c)) {
|
|
2716
2716
|
const i = u.md.normalizeLink("mailto:" + c);
|
|
2717
2717
|
if (!u.md.validateLink(i))
|
|
2718
2718
|
return !1;
|
|
@@ -2728,51 +2728,51 @@ function Sc(u, e) {
|
|
|
2728
2728
|
}
|
|
2729
2729
|
return !1;
|
|
2730
2730
|
}
|
|
2731
|
-
function
|
|
2731
|
+
function qc(u) {
|
|
2732
2732
|
return /^<a[>\s]/i.test(u);
|
|
2733
2733
|
}
|
|
2734
|
-
function
|
|
2734
|
+
function Lc(u) {
|
|
2735
2735
|
return /^<\/a\s*>/i.test(u);
|
|
2736
2736
|
}
|
|
2737
|
-
function
|
|
2737
|
+
function Rc(u) {
|
|
2738
2738
|
const e = u | 32;
|
|
2739
2739
|
return e >= 97 && e <= 122;
|
|
2740
2740
|
}
|
|
2741
|
-
function
|
|
2741
|
+
function Ic(u, e) {
|
|
2742
2742
|
if (!u.md.options.html)
|
|
2743
2743
|
return !1;
|
|
2744
2744
|
const t = u.posMax, n = u.pos;
|
|
2745
2745
|
if (u.src.charCodeAt(n) !== 60 || n + 2 >= t)
|
|
2746
2746
|
return !1;
|
|
2747
2747
|
const r = u.src.charCodeAt(n + 1);
|
|
2748
|
-
if (r !== 33 && r !== 63 && r !== 47 && !
|
|
2748
|
+
if (r !== 33 && r !== 63 && r !== 47 && !Rc(r))
|
|
2749
2749
|
return !1;
|
|
2750
|
-
const c = u.src.slice(n).match(
|
|
2750
|
+
const c = u.src.slice(n).match(dc);
|
|
2751
2751
|
if (!c)
|
|
2752
2752
|
return !1;
|
|
2753
2753
|
if (!e) {
|
|
2754
2754
|
const i = u.push("html_inline", "", 0);
|
|
2755
|
-
i.content = c[0],
|
|
2755
|
+
i.content = c[0], qc(i.content) && u.linkLevel++, Lc(i.content) && u.linkLevel--;
|
|
2756
2756
|
}
|
|
2757
2757
|
return u.pos += c[0].length, !0;
|
|
2758
2758
|
}
|
|
2759
|
-
const
|
|
2760
|
-
function
|
|
2759
|
+
const Pc = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, Oc = /^&([a-z][a-z0-9]{1,31});/i;
|
|
2760
|
+
function $c(u, e) {
|
|
2761
2761
|
const t = u.pos, n = u.posMax;
|
|
2762
2762
|
if (u.src.charCodeAt(t) !== 38 || t + 1 >= n) return !1;
|
|
2763
2763
|
if (u.src.charCodeAt(t + 1) === 35) {
|
|
2764
|
-
const c = u.src.slice(t).match(
|
|
2764
|
+
const c = u.src.slice(t).match(Pc);
|
|
2765
2765
|
if (c) {
|
|
2766
2766
|
if (!e) {
|
|
2767
2767
|
const i = c[1][0].toLowerCase() === "x" ? parseInt(c[1].slice(1), 16) : parseInt(c[1], 10), o = u.push("text_special", "", 0);
|
|
2768
|
-
o.content =
|
|
2768
|
+
o.content = He(i) ? ne(i) : ne(65533), o.markup = c[0], o.info = "entity";
|
|
2769
2769
|
}
|
|
2770
2770
|
return u.pos += c[0].length, !0;
|
|
2771
2771
|
}
|
|
2772
2772
|
} else {
|
|
2773
|
-
const c = u.src.slice(t).match(
|
|
2773
|
+
const c = u.src.slice(t).match(Oc);
|
|
2774
2774
|
if (c) {
|
|
2775
|
-
const i =
|
|
2775
|
+
const i = O0(c[0]);
|
|
2776
2776
|
if (i !== c[0]) {
|
|
2777
2777
|
if (!e) {
|
|
2778
2778
|
const o = u.push("text_special", "", 0);
|
|
@@ -2784,7 +2784,7 @@ function Rc(u, e) {
|
|
|
2784
2784
|
}
|
|
2785
2785
|
return !1;
|
|
2786
2786
|
}
|
|
2787
|
-
function
|
|
2787
|
+
function p0(u) {
|
|
2788
2788
|
const e = {}, t = u.length;
|
|
2789
2789
|
if (!t) return;
|
|
2790
2790
|
let n = 0, r = -2;
|
|
@@ -2809,49 +2809,49 @@ function s0(u) {
|
|
|
2809
2809
|
l !== -1 && (e[o.marker][(o.open ? 3 : 0) + (o.length || 0) % 3] = l);
|
|
2810
2810
|
}
|
|
2811
2811
|
}
|
|
2812
|
-
function
|
|
2812
|
+
function Nc(u) {
|
|
2813
2813
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2814
|
-
|
|
2814
|
+
p0(u.delimiters);
|
|
2815
2815
|
for (let n = 0; n < t; n++)
|
|
2816
|
-
e[n] && e[n].delimiters &&
|
|
2816
|
+
e[n] && e[n].delimiters && p0(e[n].delimiters);
|
|
2817
2817
|
}
|
|
2818
|
-
function
|
|
2818
|
+
function jc(u) {
|
|
2819
2819
|
let e, t, n = 0;
|
|
2820
2820
|
const r = u.tokens, c = u.tokens.length;
|
|
2821
2821
|
for (e = t = 0; e < c; e++)
|
|
2822
2822
|
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++);
|
|
2823
2823
|
e !== t && (r.length = t);
|
|
2824
2824
|
}
|
|
2825
|
-
const
|
|
2826
|
-
["text",
|
|
2827
|
-
["linkify",
|
|
2828
|
-
["newline",
|
|
2829
|
-
["escape",
|
|
2830
|
-
["backticks",
|
|
2831
|
-
["strikethrough",
|
|
2832
|
-
["emphasis",
|
|
2833
|
-
["link",
|
|
2834
|
-
["image",
|
|
2835
|
-
["autolink",
|
|
2836
|
-
["html_inline",
|
|
2837
|
-
["entity",
|
|
2838
|
-
],
|
|
2839
|
-
["balance_pairs",
|
|
2840
|
-
["strikethrough",
|
|
2841
|
-
["emphasis",
|
|
2825
|
+
const ye = [
|
|
2826
|
+
["text", gc],
|
|
2827
|
+
["linkify", yc],
|
|
2828
|
+
["newline", Cc],
|
|
2829
|
+
["escape", vc],
|
|
2830
|
+
["backticks", Dc],
|
|
2831
|
+
["strikethrough", U0.tokenize],
|
|
2832
|
+
["emphasis", W0.tokenize],
|
|
2833
|
+
["link", Sc],
|
|
2834
|
+
["image", Bc],
|
|
2835
|
+
["autolink", Tc],
|
|
2836
|
+
["html_inline", Ic],
|
|
2837
|
+
["entity", $c]
|
|
2838
|
+
], Ce = [
|
|
2839
|
+
["balance_pairs", Nc],
|
|
2840
|
+
["strikethrough", U0.postProcess],
|
|
2841
|
+
["emphasis", W0.postProcess],
|
|
2842
2842
|
// rules for pairs separate '**' into its own text tokens, which may be left unused,
|
|
2843
2843
|
// rule below merges unused segments back with the rest of the text
|
|
2844
|
-
["fragments_join",
|
|
2844
|
+
["fragments_join", jc]
|
|
2845
2845
|
];
|
|
2846
|
-
function
|
|
2847
|
-
this.ruler = new
|
|
2848
|
-
for (let u = 0; u < ke.length; u++)
|
|
2849
|
-
this.ruler.push(ke[u][0], ke[u][1]);
|
|
2850
|
-
this.ruler2 = new $();
|
|
2846
|
+
function Uu() {
|
|
2847
|
+
this.ruler = new j();
|
|
2851
2848
|
for (let u = 0; u < ye.length; u++)
|
|
2852
|
-
this.
|
|
2849
|
+
this.ruler.push(ye[u][0], ye[u][1]);
|
|
2850
|
+
this.ruler2 = new j();
|
|
2851
|
+
for (let u = 0; u < Ce.length; u++)
|
|
2852
|
+
this.ruler2.push(Ce[u][0], Ce[u][1]);
|
|
2853
2853
|
}
|
|
2854
|
-
|
|
2854
|
+
Uu.prototype.skipToken = function(u) {
|
|
2855
2855
|
const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, c = u.cache;
|
|
2856
2856
|
if (typeof c[e] < "u") {
|
|
2857
2857
|
u.pos = c[e];
|
|
@@ -2869,7 +2869,7 @@ Zu.prototype.skipToken = function(u) {
|
|
|
2869
2869
|
u.pos = u.posMax;
|
|
2870
2870
|
i || u.pos++, c[e] = u.pos;
|
|
2871
2871
|
};
|
|
2872
|
-
|
|
2872
|
+
Uu.prototype.tokenize = function(u) {
|
|
2873
2873
|
const e = this.ruler.getRules(""), t = e.length, n = u.posMax, r = u.md.options.maxNesting;
|
|
2874
2874
|
for (; u.pos < n; ) {
|
|
2875
2875
|
const c = u.pos;
|
|
@@ -2891,17 +2891,17 @@ Zu.prototype.tokenize = function(u) {
|
|
|
2891
2891
|
}
|
|
2892
2892
|
u.pending && u.pushPending();
|
|
2893
2893
|
};
|
|
2894
|
-
|
|
2894
|
+
Uu.prototype.parse = function(u, e, t, n) {
|
|
2895
2895
|
const r = new this.State(u, e, t, n);
|
|
2896
2896
|
this.tokenize(r);
|
|
2897
2897
|
const c = this.ruler2.getRules(""), i = c.length;
|
|
2898
2898
|
for (let o = 0; o < i; o++)
|
|
2899
2899
|
c[o](r);
|
|
2900
2900
|
};
|
|
2901
|
-
|
|
2902
|
-
function
|
|
2901
|
+
Uu.prototype.State = Zu;
|
|
2902
|
+
function Hc(u) {
|
|
2903
2903
|
const e = {};
|
|
2904
|
-
u = u || {}, e.src_Any =
|
|
2904
|
+
u = u || {}, e.src_Any = q0.source, e.src_Cc = L0.source, e.src_Z = I0.source, e.src_P = Ne.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
|
|
2905
2905
|
const t = "[><|]";
|
|
2906
2906
|
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
|
|
2907
2907
|
",(?!" + 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)
|
|
@@ -2911,42 +2911,42 @@ function Oc(u) {
|
|
|
2911
2911
|
// but can start with > (markdown blockquote)
|
|
2912
2912
|
"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + e.src_ZPCc + "))((?![$+<=>^`||])" + e.tpl_host_port_no_ip_fuzzy_strict + e.src_path + ")", e;
|
|
2913
2913
|
}
|
|
2914
|
-
function
|
|
2914
|
+
function Be(u) {
|
|
2915
2915
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
2916
2916
|
t && Object.keys(t).forEach(function(n) {
|
|
2917
2917
|
u[n] = t[n];
|
|
2918
2918
|
});
|
|
2919
2919
|
}), u;
|
|
2920
2920
|
}
|
|
2921
|
-
function
|
|
2921
|
+
function fe(u) {
|
|
2922
2922
|
return Object.prototype.toString.call(u);
|
|
2923
2923
|
}
|
|
2924
|
-
function
|
|
2925
|
-
return
|
|
2924
|
+
function Vc(u) {
|
|
2925
|
+
return fe(u) === "[object String]";
|
|
2926
2926
|
}
|
|
2927
|
-
function
|
|
2928
|
-
return
|
|
2927
|
+
function Zc(u) {
|
|
2928
|
+
return fe(u) === "[object Object]";
|
|
2929
2929
|
}
|
|
2930
|
-
function
|
|
2931
|
-
return
|
|
2930
|
+
function Uc(u) {
|
|
2931
|
+
return fe(u) === "[object RegExp]";
|
|
2932
2932
|
}
|
|
2933
|
-
function
|
|
2934
|
-
return
|
|
2933
|
+
function b0(u) {
|
|
2934
|
+
return fe(u) === "[object Function]";
|
|
2935
2935
|
}
|
|
2936
|
-
function
|
|
2936
|
+
function Wc(u) {
|
|
2937
2937
|
return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
2938
2938
|
}
|
|
2939
|
-
const
|
|
2939
|
+
const G0 = {
|
|
2940
2940
|
fuzzyLink: !0,
|
|
2941
2941
|
fuzzyEmail: !0,
|
|
2942
2942
|
fuzzyIP: !1
|
|
2943
2943
|
};
|
|
2944
|
-
function
|
|
2944
|
+
function Gc(u) {
|
|
2945
2945
|
return Object.keys(u || {}).reduce(function(e, t) {
|
|
2946
|
-
return e ||
|
|
2946
|
+
return e || G0.hasOwnProperty(t);
|
|
2947
2947
|
}, !1);
|
|
2948
2948
|
}
|
|
2949
|
-
const
|
|
2949
|
+
const Jc = {
|
|
2950
2950
|
"http:": {
|
|
2951
2951
|
validate: function(u, e, t) {
|
|
2952
2952
|
const n = u.slice(e);
|
|
@@ -2978,24 +2978,24 @@ const Zc = {
|
|
|
2978
2978
|
)), t.re.mailto.test(n) ? n.match(t.re.mailto)[0].length : 0;
|
|
2979
2979
|
}
|
|
2980
2980
|
}
|
|
2981
|
-
},
|
|
2982
|
-
function
|
|
2981
|
+
}, Xc = "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]", Qc = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
|
|
2982
|
+
function Yc(u) {
|
|
2983
2983
|
u.__index__ = -1, u.__text_cache__ = "";
|
|
2984
2984
|
}
|
|
2985
|
-
function
|
|
2985
|
+
function Kc(u) {
|
|
2986
2986
|
return function(e, t) {
|
|
2987
2987
|
const n = e.slice(t);
|
|
2988
2988
|
return u.test(n) ? n.match(u)[0].length : 0;
|
|
2989
2989
|
};
|
|
2990
2990
|
}
|
|
2991
|
-
function
|
|
2991
|
+
function m0() {
|
|
2992
2992
|
return function(u, e) {
|
|
2993
2993
|
e.normalize(u);
|
|
2994
2994
|
};
|
|
2995
2995
|
}
|
|
2996
|
-
function
|
|
2997
|
-
const e = u.re =
|
|
2998
|
-
u.onCompile(), u.__tlds_replaced__ || t.push(
|
|
2996
|
+
function re(u) {
|
|
2997
|
+
const e = u.re = Hc(u.__opts__), t = u.__tlds__.slice();
|
|
2998
|
+
u.onCompile(), u.__tlds_replaced__ || t.push(Xc), t.push(e.src_xn), e.src_tlds = t.join("|");
|
|
2999
2999
|
function n(o) {
|
|
3000
3000
|
return o.replace("%TLDS%", e.src_tlds);
|
|
3001
3001
|
}
|
|
@@ -3010,46 +3010,46 @@ function te(u) {
|
|
|
3010
3010
|
if (s === null)
|
|
3011
3011
|
return;
|
|
3012
3012
|
const a = { validate: null, link: null };
|
|
3013
|
-
if (u.__compiled__[o] = a,
|
|
3014
|
-
|
|
3013
|
+
if (u.__compiled__[o] = a, Zc(s)) {
|
|
3014
|
+
Uc(s.validate) ? a.validate = Kc(s.validate) : b0(s.validate) ? a.validate = s.validate : c(o, s), b0(s.normalize) ? a.normalize = s.normalize : s.normalize ? c(o, s) : a.normalize = m0();
|
|
3015
3015
|
return;
|
|
3016
3016
|
}
|
|
3017
|
-
if (
|
|
3017
|
+
if (Vc(s)) {
|
|
3018
3018
|
r.push(o);
|
|
3019
3019
|
return;
|
|
3020
3020
|
}
|
|
3021
3021
|
c(o, s);
|
|
3022
3022
|
}), r.forEach(function(o) {
|
|
3023
3023
|
u.__compiled__[u.__schemas__[o]] && (u.__compiled__[o].validate = u.__compiled__[u.__schemas__[o]].validate, u.__compiled__[o].normalize = u.__compiled__[u.__schemas__[o]].normalize);
|
|
3024
|
-
}), u.__compiled__[""] = { validate: null, normalize:
|
|
3024
|
+
}), u.__compiled__[""] = { validate: null, normalize: m0() };
|
|
3025
3025
|
const i = Object.keys(u.__compiled__).filter(function(o) {
|
|
3026
3026
|
return o.length > 0 && u.__compiled__[o];
|
|
3027
|
-
}).map(
|
|
3027
|
+
}).map(Wc).join("|");
|
|
3028
3028
|
u.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + i + ")", "i"), u.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + e.src_ZPCc + "))(" + i + ")", "ig"), u.re.schema_at_start = RegExp("^" + u.re.schema_search.source, "i"), u.re.pretest = RegExp(
|
|
3029
3029
|
"(" + u.re.schema_test.source + ")|(" + u.re.host_fuzzy_test.source + ")|@",
|
|
3030
3030
|
"i"
|
|
3031
|
-
),
|
|
3031
|
+
), Yc(u);
|
|
3032
3032
|
}
|
|
3033
|
-
function
|
|
3033
|
+
function uo(u, e) {
|
|
3034
3034
|
const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
|
|
3035
3035
|
this.schema = u.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = n + e, this.raw = r, this.text = r, this.url = r;
|
|
3036
3036
|
}
|
|
3037
|
-
function
|
|
3038
|
-
const t = new
|
|
3037
|
+
function ze(u, e) {
|
|
3038
|
+
const t = new uo(u, e);
|
|
3039
3039
|
return u.__compiled__[t.schema].normalize(t, u), t;
|
|
3040
3040
|
}
|
|
3041
|
-
function
|
|
3042
|
-
if (!(this instanceof
|
|
3043
|
-
return new
|
|
3044
|
-
e ||
|
|
3041
|
+
function U(u, e) {
|
|
3042
|
+
if (!(this instanceof U))
|
|
3043
|
+
return new U(u, e);
|
|
3044
|
+
e || Gc(u) && (e = u, u = {}), this.__opts__ = Be({}, G0, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = Be({}, Jc, u), this.__compiled__ = {}, this.__tlds__ = Qc, this.__tlds_replaced__ = !1, this.re = {}, re(this);
|
|
3045
3045
|
}
|
|
3046
|
-
|
|
3047
|
-
return this.__schemas__[e] = t,
|
|
3046
|
+
U.prototype.add = function(e, t) {
|
|
3047
|
+
return this.__schemas__[e] = t, re(this), this;
|
|
3048
3048
|
};
|
|
3049
|
-
|
|
3050
|
-
return this.__opts__ =
|
|
3049
|
+
U.prototype.set = function(e) {
|
|
3050
|
+
return this.__opts__ = Be(this.__opts__, e), this;
|
|
3051
3051
|
};
|
|
3052
|
-
|
|
3052
|
+
U.prototype.test = function(e) {
|
|
3053
3053
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
|
|
3054
3054
|
return !1;
|
|
3055
3055
|
let t, n, r, c, i, o, s, a, l;
|
|
@@ -3062,61 +3062,61 @@ Z.prototype.test = function(e) {
|
|
|
3062
3062
|
}
|
|
3063
3063
|
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 && (i = n.index + n[1].length, (this.__index__ < 0 || i < this.__index__) && (this.__schema__ = "", this.__index__ = i, this.__last_index__ = n.index + n[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (l = e.indexOf("@"), l >= 0 && (r = e.match(this.re.email_fuzzy)) !== null && (i = r.index + r[1].length, o = r.index + r[0].length, (this.__index__ < 0 || i < this.__index__ || i === this.__index__ && o > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = i, this.__last_index__ = o))), this.__index__ >= 0;
|
|
3064
3064
|
};
|
|
3065
|
-
|
|
3065
|
+
U.prototype.pretest = function(e) {
|
|
3066
3066
|
return this.re.pretest.test(e);
|
|
3067
3067
|
};
|
|
3068
|
-
|
|
3068
|
+
U.prototype.testSchemaAt = function(e, t, n) {
|
|
3069
3069
|
return this.__compiled__[t.toLowerCase()] ? this.__compiled__[t.toLowerCase()].validate(e, n, this) : 0;
|
|
3070
3070
|
};
|
|
3071
|
-
|
|
3071
|
+
U.prototype.match = function(e) {
|
|
3072
3072
|
const t = [];
|
|
3073
3073
|
let n = 0;
|
|
3074
|
-
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(
|
|
3074
|
+
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(ze(this, n)), n = this.__last_index__);
|
|
3075
3075
|
let r = n ? e.slice(n) : e;
|
|
3076
3076
|
for (; this.test(r); )
|
|
3077
|
-
t.push(
|
|
3077
|
+
t.push(ze(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
|
|
3078
3078
|
return t.length ? t : null;
|
|
3079
3079
|
};
|
|
3080
|
-
|
|
3080
|
+
U.prototype.matchAtStart = function(e) {
|
|
3081
3081
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length) return null;
|
|
3082
3082
|
const t = this.re.schema_at_start.exec(e);
|
|
3083
3083
|
if (!t) return null;
|
|
3084
3084
|
const n = this.testSchemaAt(e, t[2], t[0].length);
|
|
3085
|
-
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n,
|
|
3085
|
+
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, ze(this, 0)) : null;
|
|
3086
3086
|
};
|
|
3087
|
-
|
|
3087
|
+
U.prototype.tlds = function(e, t) {
|
|
3088
3088
|
return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, c) {
|
|
3089
3089
|
return n !== c[r - 1];
|
|
3090
|
-
}).reverse(),
|
|
3090
|
+
}).reverse(), re(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, re(this), this);
|
|
3091
3091
|
};
|
|
3092
|
-
|
|
3092
|
+
U.prototype.normalize = function(e) {
|
|
3093
3093
|
e.schema || (e.url = "http://" + e.url), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = "mailto:" + e.url);
|
|
3094
3094
|
};
|
|
3095
|
-
|
|
3095
|
+
U.prototype.onCompile = function() {
|
|
3096
3096
|
};
|
|
3097
|
-
const
|
|
3097
|
+
const Su = 2147483647, eu = 36, Ue = 1, ju = 26, eo = 38, to = 700, J0 = 72, X0 = 128, Q0 = "-", no = /^xn--/, ro = /[^\0-\x7F]/, co = /[\x2E\u3002\uFF0E\uFF61]/g, oo = {
|
|
3098
3098
|
overflow: "Overflow: input needs wider integers to process",
|
|
3099
3099
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
3100
3100
|
"invalid-input": "Invalid input"
|
|
3101
|
-
},
|
|
3102
|
-
function
|
|
3103
|
-
throw new RangeError(
|
|
3101
|
+
}, ve = eu - Ue, tu = Math.floor, De = String.fromCharCode;
|
|
3102
|
+
function lu(u) {
|
|
3103
|
+
throw new RangeError(oo[u]);
|
|
3104
3104
|
}
|
|
3105
|
-
function
|
|
3105
|
+
function io(u, e) {
|
|
3106
3106
|
const t = [];
|
|
3107
3107
|
let n = u.length;
|
|
3108
3108
|
for (; n--; )
|
|
3109
3109
|
t[n] = e(u[n]);
|
|
3110
3110
|
return t;
|
|
3111
3111
|
}
|
|
3112
|
-
function
|
|
3112
|
+
function Y0(u, e) {
|
|
3113
3113
|
const t = u.split("@");
|
|
3114
3114
|
let n = "";
|
|
3115
|
-
t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(
|
|
3116
|
-
const r = u.split("."), c =
|
|
3115
|
+
t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(co, ".");
|
|
3116
|
+
const r = u.split("."), c = io(r, e).join(".");
|
|
3117
3117
|
return n + c;
|
|
3118
3118
|
}
|
|
3119
|
-
function
|
|
3119
|
+
function K0(u) {
|
|
3120
3120
|
const e = [];
|
|
3121
3121
|
let t = 0;
|
|
3122
3122
|
const n = u.length;
|
|
@@ -3130,78 +3130,78 @@ function V0(u) {
|
|
|
3130
3130
|
}
|
|
3131
3131
|
return e;
|
|
3132
3132
|
}
|
|
3133
|
-
const
|
|
3133
|
+
const so = (u) => String.fromCodePoint(...u), ao = function(u) {
|
|
3134
3134
|
return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : eu;
|
|
3135
|
-
},
|
|
3135
|
+
}, x0 = function(u, e) {
|
|
3136
3136
|
return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
|
|
3137
|
-
},
|
|
3137
|
+
}, ut = function(u, e, t) {
|
|
3138
3138
|
let n = 0;
|
|
3139
|
-
for (u = t ? tu(u /
|
|
3140
|
-
u = tu(u /
|
|
3141
|
-
return tu(n + (
|
|
3142
|
-
},
|
|
3139
|
+
for (u = t ? tu(u / to) : u >> 1, u += tu(u / e); u > ve * ju >> 1; n += eu)
|
|
3140
|
+
u = tu(u / ve);
|
|
3141
|
+
return tu(n + (ve + 1) * u / (u + eo));
|
|
3142
|
+
}, et = function(u) {
|
|
3143
3143
|
const e = [], t = u.length;
|
|
3144
|
-
let n = 0, r =
|
|
3144
|
+
let n = 0, r = X0, c = J0, i = u.lastIndexOf(Q0);
|
|
3145
3145
|
i < 0 && (i = 0);
|
|
3146
3146
|
for (let o = 0; o < i; ++o)
|
|
3147
|
-
u.charCodeAt(o) >= 128 &&
|
|
3147
|
+
u.charCodeAt(o) >= 128 && lu("not-basic"), e.push(u.charCodeAt(o));
|
|
3148
3148
|
for (let o = i > 0 ? i + 1 : 0; o < t; ) {
|
|
3149
3149
|
const s = n;
|
|
3150
3150
|
for (let l = 1, f = eu; ; f += eu) {
|
|
3151
|
-
o >= t &&
|
|
3152
|
-
const p =
|
|
3153
|
-
p >= eu &&
|
|
3154
|
-
const h = f <= c ?
|
|
3151
|
+
o >= t && lu("invalid-input");
|
|
3152
|
+
const p = ao(u.charCodeAt(o++));
|
|
3153
|
+
p >= eu && lu("invalid-input"), p > tu((Su - n) / l) && lu("overflow"), n += p * l;
|
|
3154
|
+
const h = f <= c ? Ue : f >= c + ju ? ju : f - c;
|
|
3155
3155
|
if (p < h)
|
|
3156
3156
|
break;
|
|
3157
3157
|
const d = eu - h;
|
|
3158
|
-
l > tu(
|
|
3158
|
+
l > tu(Su / d) && lu("overflow"), l *= d;
|
|
3159
3159
|
}
|
|
3160
3160
|
const a = e.length + 1;
|
|
3161
|
-
c =
|
|
3161
|
+
c = ut(n - s, a, s == 0), tu(n / a) > Su - r && lu("overflow"), r += tu(n / a), n %= a, e.splice(n++, 0, r);
|
|
3162
3162
|
}
|
|
3163
3163
|
return String.fromCodePoint(...e);
|
|
3164
|
-
},
|
|
3164
|
+
}, tt = function(u) {
|
|
3165
3165
|
const e = [];
|
|
3166
|
-
u =
|
|
3166
|
+
u = K0(u);
|
|
3167
3167
|
const t = u.length;
|
|
3168
|
-
let n =
|
|
3168
|
+
let n = X0, r = 0, c = J0;
|
|
3169
3169
|
for (const s of u)
|
|
3170
|
-
s < 128 && e.push(
|
|
3170
|
+
s < 128 && e.push(De(s));
|
|
3171
3171
|
const i = e.length;
|
|
3172
3172
|
let o = i;
|
|
3173
|
-
for (i && e.push(
|
|
3174
|
-
let s =
|
|
3173
|
+
for (i && e.push(Q0); o < t; ) {
|
|
3174
|
+
let s = Su;
|
|
3175
3175
|
for (const l of u)
|
|
3176
3176
|
l >= n && l < s && (s = l);
|
|
3177
3177
|
const a = o + 1;
|
|
3178
|
-
s - n > tu((
|
|
3178
|
+
s - n > tu((Su - r) / a) && lu("overflow"), r += (s - n) * a, n = s;
|
|
3179
3179
|
for (const l of u)
|
|
3180
|
-
if (l < n && ++r >
|
|
3180
|
+
if (l < n && ++r > Su && lu("overflow"), l === n) {
|
|
3181
3181
|
let f = r;
|
|
3182
3182
|
for (let p = eu; ; p += eu) {
|
|
3183
|
-
const h = p <= c ?
|
|
3183
|
+
const h = p <= c ? Ue : p >= c + ju ? ju : p - c;
|
|
3184
3184
|
if (f < h)
|
|
3185
3185
|
break;
|
|
3186
3186
|
const d = f - h, b = eu - h;
|
|
3187
3187
|
e.push(
|
|
3188
|
-
|
|
3188
|
+
De(x0(h + d % b, 0))
|
|
3189
3189
|
), f = tu(d / b);
|
|
3190
3190
|
}
|
|
3191
|
-
e.push(
|
|
3191
|
+
e.push(De(x0(f, 0))), c = ut(r, a, o === i), r = 0, ++o;
|
|
3192
3192
|
}
|
|
3193
3193
|
++r, ++n;
|
|
3194
3194
|
}
|
|
3195
3195
|
return e.join("");
|
|
3196
|
-
},
|
|
3197
|
-
return
|
|
3198
|
-
return
|
|
3196
|
+
}, lo = function(u) {
|
|
3197
|
+
return Y0(u, function(e) {
|
|
3198
|
+
return no.test(e) ? et(e.slice(4).toLowerCase()) : e;
|
|
3199
3199
|
});
|
|
3200
|
-
},
|
|
3201
|
-
return
|
|
3202
|
-
return
|
|
3200
|
+
}, fo = function(u) {
|
|
3201
|
+
return Y0(u, function(e) {
|
|
3202
|
+
return ro.test(e) ? "xn--" + tt(e) : e;
|
|
3203
3203
|
});
|
|
3204
|
-
},
|
|
3204
|
+
}, nt = {
|
|
3205
3205
|
/**
|
|
3206
3206
|
* A string representing the current Punycode.js version number.
|
|
3207
3207
|
* @memberOf punycode
|
|
@@ -3216,14 +3216,14 @@ const ro = (u) => String.fromCodePoint(...u), co = function(u) {
|
|
|
3216
3216
|
* @type Object
|
|
3217
3217
|
*/
|
|
3218
3218
|
ucs2: {
|
|
3219
|
-
decode:
|
|
3220
|
-
encode:
|
|
3219
|
+
decode: K0,
|
|
3220
|
+
encode: so
|
|
3221
3221
|
},
|
|
3222
|
-
decode:
|
|
3223
|
-
encode:
|
|
3224
|
-
toASCII:
|
|
3225
|
-
toUnicode:
|
|
3226
|
-
},
|
|
3222
|
+
decode: et,
|
|
3223
|
+
encode: tt,
|
|
3224
|
+
toASCII: fo,
|
|
3225
|
+
toUnicode: lo
|
|
3226
|
+
}, ho = {
|
|
3227
3227
|
options: {
|
|
3228
3228
|
// Enable HTML tags in source
|
|
3229
3229
|
html: !1,
|
|
@@ -3259,7 +3259,7 @@ const ro = (u) => String.fromCodePoint(...u), co = function(u) {
|
|
|
3259
3259
|
block: {},
|
|
3260
3260
|
inline: {}
|
|
3261
3261
|
}
|
|
3262
|
-
},
|
|
3262
|
+
}, po = {
|
|
3263
3263
|
options: {
|
|
3264
3264
|
// Enable HTML tags in source
|
|
3265
3265
|
html: !1,
|
|
@@ -3314,7 +3314,7 @@ const ro = (u) => String.fromCodePoint(...u), co = function(u) {
|
|
|
3314
3314
|
]
|
|
3315
3315
|
}
|
|
3316
3316
|
}
|
|
3317
|
-
},
|
|
3317
|
+
}, bo = {
|
|
3318
3318
|
options: {
|
|
3319
3319
|
// Enable HTML tags in source
|
|
3320
3320
|
html: !0,
|
|
@@ -3388,47 +3388,47 @@ const ro = (u) => String.fromCodePoint(...u), co = function(u) {
|
|
|
3388
3388
|
]
|
|
3389
3389
|
}
|
|
3390
3390
|
}
|
|
3391
|
-
},
|
|
3392
|
-
default:
|
|
3393
|
-
zero:
|
|
3394
|
-
commonmark:
|
|
3395
|
-
},
|
|
3396
|
-
function
|
|
3391
|
+
}, mo = {
|
|
3392
|
+
default: ho,
|
|
3393
|
+
zero: po,
|
|
3394
|
+
commonmark: bo
|
|
3395
|
+
}, xo = /^(vbscript|javascript|file|data):/, _o = /^data:image\/(gif|png|jpeg|webp);/;
|
|
3396
|
+
function go(u) {
|
|
3397
3397
|
const e = u.trim().toLowerCase();
|
|
3398
|
-
return
|
|
3398
|
+
return xo.test(e) ? _o.test(e) : !0;
|
|
3399
3399
|
}
|
|
3400
|
-
const
|
|
3401
|
-
function
|
|
3402
|
-
const e =
|
|
3403
|
-
if (e.hostname && (!e.protocol ||
|
|
3400
|
+
const rt = ["http:", "https:", "mailto:"];
|
|
3401
|
+
function ko(u) {
|
|
3402
|
+
const e = $e(u, !0);
|
|
3403
|
+
if (e.hostname && (!e.protocol || rt.indexOf(e.protocol) >= 0))
|
|
3404
3404
|
try {
|
|
3405
|
-
e.hostname =
|
|
3405
|
+
e.hostname = nt.toASCII(e.hostname);
|
|
3406
3406
|
} catch {
|
|
3407
3407
|
}
|
|
3408
|
-
return
|
|
3408
|
+
return Vu(Oe(e));
|
|
3409
3409
|
}
|
|
3410
|
-
function
|
|
3411
|
-
const e =
|
|
3412
|
-
if (e.hostname && (!e.protocol ||
|
|
3410
|
+
function yo(u) {
|
|
3411
|
+
const e = $e(u, !0);
|
|
3412
|
+
if (e.hostname && (!e.protocol || rt.indexOf(e.protocol) >= 0))
|
|
3413
3413
|
try {
|
|
3414
|
-
e.hostname =
|
|
3414
|
+
e.hostname = nt.toUnicode(e.hostname);
|
|
3415
3415
|
} catch {
|
|
3416
3416
|
}
|
|
3417
|
-
return
|
|
3417
|
+
return Mu(Oe(e), Mu.defaultChars + "%");
|
|
3418
3418
|
}
|
|
3419
3419
|
function W(u, e) {
|
|
3420
3420
|
if (!(this instanceof W))
|
|
3421
3421
|
return new W(u, e);
|
|
3422
|
-
e ||
|
|
3422
|
+
e || je(u) || (e = u || {}, u = "default"), this.inline = new Uu(), this.block = new le(), this.core = new Ve(), this.renderer = new Ru(), this.linkify = new U(), this.validateLink = go, this.normalizeLink = ko, this.normalizeLinkText = yo, this.utils = Cr, this.helpers = se({}, Er), this.options = {}, this.configure(u), e && this.set(e);
|
|
3423
3423
|
}
|
|
3424
3424
|
W.prototype.set = function(u) {
|
|
3425
|
-
return
|
|
3425
|
+
return se(this.options, u), this;
|
|
3426
3426
|
};
|
|
3427
3427
|
W.prototype.configure = function(u) {
|
|
3428
3428
|
const e = this;
|
|
3429
|
-
if (
|
|
3429
|
+
if (je(u)) {
|
|
3430
3430
|
const t = u;
|
|
3431
|
-
if (u =
|
|
3431
|
+
if (u = mo[t], !u)
|
|
3432
3432
|
throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
|
|
3433
3433
|
}
|
|
3434
3434
|
if (!u)
|
|
@@ -3481,27 +3481,27 @@ W.prototype.parseInline = function(u, e) {
|
|
|
3481
3481
|
W.prototype.renderInline = function(u, e) {
|
|
3482
3482
|
return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
|
|
3483
3483
|
};
|
|
3484
|
-
function
|
|
3484
|
+
function Co() {
|
|
3485
3485
|
function u(r, c) {
|
|
3486
3486
|
const i = new W({
|
|
3487
3487
|
html: !0,
|
|
3488
3488
|
typographer: !0
|
|
3489
3489
|
});
|
|
3490
|
-
return i.use(
|
|
3490
|
+
return i.use(Ln), c && c.forEach((o) => i.use(o)), i.parse(r, "");
|
|
3491
3491
|
}
|
|
3492
3492
|
function e(r) {
|
|
3493
3493
|
const c = n(r) ?? [];
|
|
3494
|
-
return
|
|
3494
|
+
return Ae("article", { class: "sq-article" }, t(c));
|
|
3495
3495
|
}
|
|
3496
3496
|
function t(r) {
|
|
3497
3497
|
if (r)
|
|
3498
|
-
return r.map((c) => typeof c == "string" ? c :
|
|
3498
|
+
return r.map((c) => typeof c == "string" ? c : Ae(c.tag, c.attrs, t(c.children)));
|
|
3499
3499
|
}
|
|
3500
3500
|
function n(r) {
|
|
3501
3501
|
const c = [], i = { children: [] };
|
|
3502
3502
|
let o = i;
|
|
3503
3503
|
return r.forEach((s) => {
|
|
3504
|
-
var b, g, y,
|
|
3504
|
+
var b, g, y, m, x, _, k, w, D, S, M;
|
|
3505
3505
|
const { type: a, children: l, content: f, attrs: p, tag: h, hidden: d } = s;
|
|
3506
3506
|
switch (a) {
|
|
3507
3507
|
case "heading_open":
|
|
@@ -3527,8 +3527,8 @@ function _o() {
|
|
|
3527
3527
|
attrs: p ? Object.fromEntries(p) : {}
|
|
3528
3528
|
};
|
|
3529
3529
|
if (a === "link_open") {
|
|
3530
|
-
const A = s.attrGet("href") ?? "",
|
|
3531
|
-
A != null && A.startsWith("http") && !A.includes(
|
|
3530
|
+
const A = s.attrGet("href") ?? "", H = document.location.origin;
|
|
3531
|
+
A != null && A.startsWith("http") && !A.includes(H) && (B.attrs.target = "_blank", B.attrs.rel = "noopener noreferrer", B.attrs.dataOuter = "", (b = B.children) == null || b.push({ tag: xn }));
|
|
3532
3532
|
}
|
|
3533
3533
|
if (a === "table_open") {
|
|
3534
3534
|
const A = {
|
|
@@ -3562,7 +3562,7 @@ function _o() {
|
|
|
3562
3562
|
break;
|
|
3563
3563
|
}
|
|
3564
3564
|
case "code_inline": {
|
|
3565
|
-
(
|
|
3565
|
+
(m = o.children) == null || m.push({
|
|
3566
3566
|
tag: "code",
|
|
3567
3567
|
children: [f],
|
|
3568
3568
|
attrs: p ? Object.fromEntries(p) : {}
|
|
@@ -3572,7 +3572,7 @@ function _o() {
|
|
|
3572
3572
|
case "inline": {
|
|
3573
3573
|
if (l) {
|
|
3574
3574
|
const B = n(l);
|
|
3575
|
-
(
|
|
3575
|
+
(x = o.children) == null || x.push(...B ?? []);
|
|
3576
3576
|
} else
|
|
3577
3577
|
(_ = o.children) == null || _.push(f);
|
|
3578
3578
|
break;
|
|
@@ -3633,7 +3633,7 @@ function _o() {
|
|
|
3633
3633
|
tokens2vueh: e
|
|
3634
3634
|
};
|
|
3635
3635
|
}
|
|
3636
|
-
const { md2tokens:
|
|
3636
|
+
const { md2tokens: vo, tokens2vueh: Do } = Co(), Ki = I({
|
|
3637
3637
|
props: {
|
|
3638
3638
|
text: {
|
|
3639
3639
|
type: String,
|
|
@@ -3650,15 +3650,15 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3650
3650
|
setup(u) {
|
|
3651
3651
|
return () => {
|
|
3652
3652
|
if (!u.md)
|
|
3653
|
-
return
|
|
3653
|
+
return Ae("article", {
|
|
3654
3654
|
class: "sq-article",
|
|
3655
3655
|
innerHTML: u.text
|
|
3656
3656
|
});
|
|
3657
|
-
const e =
|
|
3658
|
-
return
|
|
3657
|
+
const e = vo(u.text, u.plugins);
|
|
3658
|
+
return Do(e);
|
|
3659
3659
|
};
|
|
3660
3660
|
}
|
|
3661
|
-
}),
|
|
3661
|
+
}), wo = ["src", "alt"], Eo = ["textContent"], us = /* @__PURE__ */ I({
|
|
3662
3662
|
__name: "avatar",
|
|
3663
3663
|
props: {
|
|
3664
3664
|
img: {},
|
|
@@ -3668,12 +3668,12 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3668
3668
|
size: { default: "md" }
|
|
3669
3669
|
},
|
|
3670
3670
|
setup(u) {
|
|
3671
|
-
const e = u, t =
|
|
3671
|
+
const e = u, t = N(!0), n = E(() => {
|
|
3672
3672
|
const o = [];
|
|
3673
3673
|
return e.size !== "md" && o.push(`sq-avatar--${e.size}`), e.round && o.push("is-round"), o;
|
|
3674
3674
|
}), r = E(() => {
|
|
3675
3675
|
if (!e.randomColor) return;
|
|
3676
|
-
const { getRandomColor: o } =
|
|
3676
|
+
const { getRandomColor: o } = Tn();
|
|
3677
3677
|
return {
|
|
3678
3678
|
"--avatar-bg-color": o()
|
|
3679
3679
|
};
|
|
@@ -3682,29 +3682,29 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3682
3682
|
t.value = !1;
|
|
3683
3683
|
}
|
|
3684
3684
|
return (o, s) => (v(), F("div", {
|
|
3685
|
-
class:
|
|
3686
|
-
style:
|
|
3685
|
+
class: $(["sq-avatar", n.value]),
|
|
3686
|
+
style: Cu(r.value)
|
|
3687
3687
|
}, [
|
|
3688
3688
|
e.img && t.value ? (v(), F("img", {
|
|
3689
3689
|
key: 0,
|
|
3690
3690
|
src: e.img,
|
|
3691
3691
|
alt: e.alt,
|
|
3692
3692
|
onError: i
|
|
3693
|
-
}, null, 40,
|
|
3693
|
+
}, null, 40, wo)) : (v(), F("span", {
|
|
3694
3694
|
key: 1,
|
|
3695
|
-
textContent:
|
|
3696
|
-
}, null, 8,
|
|
3695
|
+
textContent: pu(c.value)
|
|
3696
|
+
}, null, 8, Eo))
|
|
3697
3697
|
], 6));
|
|
3698
3698
|
}
|
|
3699
|
-
}),
|
|
3699
|
+
}), Ao = {
|
|
3700
3700
|
key: 0,
|
|
3701
3701
|
viewBox: "0 0 100 100",
|
|
3702
3702
|
version: "1.1",
|
|
3703
3703
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3704
|
-
},
|
|
3704
|
+
}, Fo = {
|
|
3705
3705
|
key: 1,
|
|
3706
3706
|
class: "sq-progress-label"
|
|
3707
|
-
},
|
|
3707
|
+
}, So = ["textContent"], Bo = /* @__PURE__ */ I({
|
|
3708
3708
|
__name: "progress",
|
|
3709
3709
|
props: {
|
|
3710
3710
|
value: {},
|
|
@@ -3717,7 +3717,7 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3717
3717
|
label: { type: Boolean, default: !0 }
|
|
3718
3718
|
},
|
|
3719
3719
|
setup(u) {
|
|
3720
|
-
const e = new ResizeObserver(a), t = u, n =
|
|
3720
|
+
const e = new ResizeObserver(a), t = u, n = N(100), r = Pu(null), c = E(() => {
|
|
3721
3721
|
const l = [];
|
|
3722
3722
|
return t.color || l.push(`is-${t.type}`), t.theme !== "line" && l.push(`is-${t.theme}`), l;
|
|
3723
3723
|
}), i = E(() => {
|
|
@@ -3737,21 +3737,21 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3737
3737
|
}
|
|
3738
3738
|
return l;
|
|
3739
3739
|
});
|
|
3740
|
-
|
|
3740
|
+
Re(() => {
|
|
3741
3741
|
e.observe(r.value);
|
|
3742
|
-
}),
|
|
3742
|
+
}), Ie(() => {
|
|
3743
3743
|
e.disconnect();
|
|
3744
3744
|
});
|
|
3745
3745
|
function a() {
|
|
3746
3746
|
n.value = r.value.getBoundingClientRect().width;
|
|
3747
3747
|
}
|
|
3748
3748
|
return (l, f) => (v(), F("div", {
|
|
3749
|
-
class:
|
|
3749
|
+
class: $(["sq-progress", c.value]),
|
|
3750
3750
|
ref_key: "progressRef",
|
|
3751
3751
|
ref: r,
|
|
3752
|
-
style:
|
|
3752
|
+
style: Cu(s.value)
|
|
3753
3753
|
}, [
|
|
3754
|
-
t.theme === "circle" ? (v(), F("svg",
|
|
3754
|
+
t.theme === "circle" ? (v(), F("svg", Ao, [...f[0] || (f[0] = [
|
|
3755
3755
|
C("circle", {
|
|
3756
3756
|
class: "sq-progress-track",
|
|
3757
3757
|
cx: "50",
|
|
@@ -3762,33 +3762,33 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3762
3762
|
cx: "50",
|
|
3763
3763
|
cy: "50"
|
|
3764
3764
|
}, null, -1)
|
|
3765
|
-
])])) :
|
|
3766
|
-
t.theme === "circle" && t.label ? (v(), F("div",
|
|
3767
|
-
|
|
3765
|
+
])])) : V("", !0),
|
|
3766
|
+
t.theme === "circle" && t.label ? (v(), F("div", Fo, [
|
|
3767
|
+
P(l.$slots, "default", { percentage: i.value }, () => [
|
|
3768
3768
|
C("span", {
|
|
3769
|
-
textContent:
|
|
3770
|
-
}, null, 8,
|
|
3769
|
+
textContent: pu(o.value)
|
|
3770
|
+
}, null, 8, So)
|
|
3771
3771
|
])
|
|
3772
|
-
])) :
|
|
3772
|
+
])) : V("", !0)
|
|
3773
3773
|
], 6));
|
|
3774
3774
|
}
|
|
3775
|
-
}),
|
|
3775
|
+
}), zo = { class: "sq-backtop" }, es = /* @__PURE__ */ I({
|
|
3776
3776
|
__name: "backtop",
|
|
3777
3777
|
props: {
|
|
3778
3778
|
progress: { type: Boolean, default: !0 },
|
|
3779
|
-
icon: { default:
|
|
3779
|
+
icon: { default: It },
|
|
3780
3780
|
transition: { default: "sq-rotate-in-left" },
|
|
3781
3781
|
visibilityHeight: { default: 100 },
|
|
3782
3782
|
target: { default: "#app" },
|
|
3783
3783
|
progressProps: {}
|
|
3784
3784
|
},
|
|
3785
3785
|
setup(u) {
|
|
3786
|
-
const e = new ResizeObserver(o), t = u, n =
|
|
3787
|
-
|
|
3786
|
+
const e = new ResizeObserver(o), t = u, n = N(100), r = N(0), c = E(() => r.value > t.visibilityHeight);
|
|
3787
|
+
Re(() => {
|
|
3788
3788
|
o(), r.value = window.scrollY, window.addEventListener("scroll", i);
|
|
3789
3789
|
const a = document.querySelector(t.target) ?? document.body;
|
|
3790
3790
|
e.observe(a);
|
|
3791
|
-
}),
|
|
3791
|
+
}), Ie(() => {
|
|
3792
3792
|
window.removeEventListener("scroll", i), e.disconnect();
|
|
3793
3793
|
});
|
|
3794
3794
|
function i() {
|
|
@@ -3801,18 +3801,18 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3801
3801
|
function s() {
|
|
3802
3802
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
3803
3803
|
}
|
|
3804
|
-
return (a, l) => (v(),
|
|
3804
|
+
return (a, l) => (v(), R(Pe, {
|
|
3805
3805
|
name: t.transition
|
|
3806
3806
|
}, {
|
|
3807
|
-
default:
|
|
3807
|
+
default: su(() => {
|
|
3808
3808
|
var f, p, h;
|
|
3809
3809
|
return [
|
|
3810
|
-
|
|
3810
|
+
ku(C("div", zo, [
|
|
3811
3811
|
C("div", {
|
|
3812
3812
|
class: "sq-backtop-wrap",
|
|
3813
3813
|
onClick: s
|
|
3814
3814
|
}, [
|
|
3815
|
-
t.progress ? (v(),
|
|
3815
|
+
t.progress ? (v(), R(q(Bo), {
|
|
3816
3816
|
key: 0,
|
|
3817
3817
|
theme: "circle",
|
|
3818
3818
|
label: !1,
|
|
@@ -3821,20 +3821,20 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3821
3821
|
type: (f = t.progressProps) == null ? void 0 : f.type,
|
|
3822
3822
|
stroke: (p = t.progressProps) == null ? void 0 : p.stroke,
|
|
3823
3823
|
color: (h = t.progressProps) == null ? void 0 : h.color
|
|
3824
|
-
}, null, 8, ["value", "max", "type", "stroke", "color"])) :
|
|
3825
|
-
|
|
3826
|
-
(v(),
|
|
3824
|
+
}, null, 8, ["value", "max", "type", "stroke", "color"])) : V("", !0),
|
|
3825
|
+
P(a.$slots, "default", {}, () => [
|
|
3826
|
+
(v(), R(hu(t.icon)))
|
|
3827
3827
|
])
|
|
3828
3828
|
])
|
|
3829
3829
|
], 512), [
|
|
3830
|
-
[
|
|
3830
|
+
[Fu, c.value]
|
|
3831
3831
|
])
|
|
3832
3832
|
];
|
|
3833
3833
|
}),
|
|
3834
3834
|
_: 3
|
|
3835
3835
|
}, 8, ["name"]));
|
|
3836
3836
|
}
|
|
3837
|
-
}),
|
|
3837
|
+
}), ct = Symbol("button-group-context-keys"), Mo = ["disabled"], Qu = /* @__PURE__ */ I({
|
|
3838
3838
|
__name: "button",
|
|
3839
3839
|
props: {
|
|
3840
3840
|
type: {},
|
|
@@ -3847,10 +3847,10 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3847
3847
|
},
|
|
3848
3848
|
emits: ["click"],
|
|
3849
3849
|
setup(u, { emit: e }) {
|
|
3850
|
-
const t =
|
|
3850
|
+
const t = _t(ct, void 0), n = e, r = u, c = E(() => {
|
|
3851
3851
|
const f = [], p = s.value, h = a.value, d = l.value;
|
|
3852
3852
|
return p !== "md" && f.push(`sq-button--${p}`), h && f.push(`is-${h}`), d && f.push("is-round"), !(t != null && t.value) && r.text && f.push("is-text"), f;
|
|
3853
|
-
}), i = E(() => r.loading ?
|
|
3853
|
+
}), i = E(() => r.loading ? yn : r.icon), o = E(() => r.loading || r.disabled), s = E(() => {
|
|
3854
3854
|
var f;
|
|
3855
3855
|
return ((f = t == null ? void 0 : t.value) == null ? void 0 : f.size) ?? r.size;
|
|
3856
3856
|
}), a = E(() => {
|
|
@@ -3861,22 +3861,22 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3861
3861
|
return ((f = t == null ? void 0 : t.value) == null ? void 0 : f.round) ?? r.round;
|
|
3862
3862
|
});
|
|
3863
3863
|
return (f, p) => (v(), F("button", {
|
|
3864
|
-
class:
|
|
3864
|
+
class: $(["sq-button", c.value]),
|
|
3865
3865
|
disabled: o.value,
|
|
3866
3866
|
onClick: p[0] || (p[0] = (h) => n("click", h))
|
|
3867
3867
|
}, [
|
|
3868
|
-
|
|
3868
|
+
vu(q(Gu), {
|
|
3869
3869
|
size: r.size === "lg" ? "md" : r.size
|
|
3870
3870
|
}, {
|
|
3871
|
-
default:
|
|
3872
|
-
i.value ? (v(),
|
|
3873
|
-
|
|
3871
|
+
default: su(() => [
|
|
3872
|
+
i.value ? (v(), R(hu(i.value), { key: 0 })) : V("", !0),
|
|
3873
|
+
P(f.$slots, "default")
|
|
3874
3874
|
]),
|
|
3875
3875
|
_: 3
|
|
3876
3876
|
}, 8, ["size"])
|
|
3877
|
-
], 10,
|
|
3877
|
+
], 10, Mo));
|
|
3878
3878
|
}
|
|
3879
|
-
}),
|
|
3879
|
+
}), To = { class: "sq-button-group" }, ts = /* @__PURE__ */ I({
|
|
3880
3880
|
__name: "button-group",
|
|
3881
3881
|
props: {
|
|
3882
3882
|
size: { default: "md" },
|
|
@@ -3885,51 +3885,51 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3885
3885
|
},
|
|
3886
3886
|
setup(u) {
|
|
3887
3887
|
const e = u;
|
|
3888
|
-
return
|
|
3889
|
-
|
|
3890
|
-
|
|
3888
|
+
return gt(
|
|
3889
|
+
ct,
|
|
3890
|
+
N({
|
|
3891
3891
|
size: xe(e, "size"),
|
|
3892
3892
|
type: xe(e, "type"),
|
|
3893
3893
|
round: xe(e, "round")
|
|
3894
3894
|
})
|
|
3895
|
-
), (t, n) => (v(), F("div",
|
|
3896
|
-
|
|
3895
|
+
), (t, n) => (v(), F("div", To, [
|
|
3896
|
+
P(t.$slots, "default")
|
|
3897
3897
|
]));
|
|
3898
3898
|
}
|
|
3899
|
-
}),
|
|
3899
|
+
}), qo = { class: "sq-card" }, Lo = {
|
|
3900
3900
|
key: 0,
|
|
3901
3901
|
class: "sq-card-header"
|
|
3902
|
-
},
|
|
3902
|
+
}, Ro = ["textContent"], Io = {
|
|
3903
3903
|
key: 1,
|
|
3904
3904
|
class: "sq-card-footer"
|
|
3905
|
-
},
|
|
3905
|
+
}, ns = /* @__PURE__ */ I({
|
|
3906
3906
|
__name: "card",
|
|
3907
3907
|
props: {
|
|
3908
3908
|
title: {},
|
|
3909
3909
|
decorative: { type: Boolean, default: !1 }
|
|
3910
3910
|
},
|
|
3911
3911
|
setup(u) {
|
|
3912
|
-
const e =
|
|
3913
|
-
return (n, r) => (v(), F("section",
|
|
3914
|
-
t.title || q(e).title ? (v(), F("div",
|
|
3912
|
+
const e = F0(), t = u;
|
|
3913
|
+
return (n, r) => (v(), F("section", qo, [
|
|
3914
|
+
t.title || q(e).title ? (v(), F("div", Lo, [
|
|
3915
3915
|
C("h2", {
|
|
3916
|
-
class:
|
|
3917
|
-
textContent:
|
|
3918
|
-
}, null, 10,
|
|
3919
|
-
|
|
3920
|
-
])) :
|
|
3921
|
-
|
|
3922
|
-
q(e).footer ? (v(), F("div",
|
|
3923
|
-
|
|
3924
|
-
])) :
|
|
3916
|
+
class: $({ "has-decorative": t.decorative }),
|
|
3917
|
+
textContent: pu(t.title)
|
|
3918
|
+
}, null, 10, Ro),
|
|
3919
|
+
P(n.$slots, "title")
|
|
3920
|
+
])) : V("", !0),
|
|
3921
|
+
P(n.$slots, "default"),
|
|
3922
|
+
q(e).footer ? (v(), F("div", Io, [
|
|
3923
|
+
P(n.$slots, "footer")
|
|
3924
|
+
])) : V("", !0)
|
|
3925
3925
|
]));
|
|
3926
3926
|
}
|
|
3927
|
-
}),
|
|
3927
|
+
}), Po = {
|
|
3928
3928
|
key: 0,
|
|
3929
3929
|
class: "sq-input-prefix"
|
|
3930
|
-
},
|
|
3930
|
+
}, Oo = ["disabled", "readonly", "placeholder", "type"], $o = { class: "sq-input-suffix" }, rs = /* @__PURE__ */ I({
|
|
3931
3931
|
__name: "input",
|
|
3932
|
-
props: /* @__PURE__ */
|
|
3932
|
+
props: /* @__PURE__ */ ue({
|
|
3933
3933
|
status: {},
|
|
3934
3934
|
round: { type: Boolean },
|
|
3935
3935
|
showStatusIcon: { type: Boolean },
|
|
@@ -3945,25 +3945,25 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3945
3945
|
value: { default: "" },
|
|
3946
3946
|
valueModifiers: {}
|
|
3947
3947
|
}),
|
|
3948
|
-
emits: /* @__PURE__ */
|
|
3948
|
+
emits: /* @__PURE__ */ ue(["focus", "blur", "input", "change"], ["update:value"]),
|
|
3949
3949
|
setup(u, { expose: e, emit: t }) {
|
|
3950
|
-
const n =
|
|
3950
|
+
const n = F0(), r = t, c = u, i = ee(u, "value"), o = N(!1), s = N(!1), a = Pu(null), l = E(() => {
|
|
3951
3951
|
const A = [];
|
|
3952
3952
|
return c.size !== "md" && A.push(`sq-input--${c.size}`), c.status && A.push(`is-${c.status}`), c.round && A.push("is-round"), c.disabled && A.push("is-disabled"), A;
|
|
3953
|
-
}), f = E(() => s.value ?
|
|
3953
|
+
}), f = E(() => s.value ? ln : wn), p = E(() => s.value ? "text" : c.type), h = E(() => n.prefix || c.prefixIcon), d = E(() => o.value && i.value.length), b = E(() => d.value && c.clearable), g = E(() => d.value && c.type === "password"), y = E(() => {
|
|
3954
3954
|
const A = c.showStatusIcon && c.status;
|
|
3955
3955
|
return n.suffix || A || c.suffixIcon;
|
|
3956
|
-
}),
|
|
3956
|
+
}), m = E(
|
|
3957
3957
|
() => g.value || b.value || y.value
|
|
3958
|
-
),
|
|
3958
|
+
), x = E(() => {
|
|
3959
3959
|
if (c.showStatusIcon && c.status)
|
|
3960
3960
|
switch (c.status) {
|
|
3961
3961
|
case "success":
|
|
3962
|
-
return
|
|
3962
|
+
return Nt;
|
|
3963
3963
|
case "warn":
|
|
3964
|
-
return
|
|
3964
|
+
return Sn;
|
|
3965
3965
|
case "error":
|
|
3966
|
-
return
|
|
3966
|
+
return Yt;
|
|
3967
3967
|
}
|
|
3968
3968
|
return c.suffixIcon;
|
|
3969
3969
|
});
|
|
@@ -3990,17 +3990,17 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
3990
3990
|
function B() {
|
|
3991
3991
|
s.value = !s.value;
|
|
3992
3992
|
}
|
|
3993
|
-
return e({ focus: D, blur: S }), (A,
|
|
3994
|
-
class:
|
|
3993
|
+
return e({ focus: D, blur: S }), (A, H) => (v(), F("div", {
|
|
3994
|
+
class: $(["sq-input", l.value]),
|
|
3995
3995
|
onMousedown: w
|
|
3996
3996
|
}, [
|
|
3997
|
-
h.value ? (v(), F("span",
|
|
3998
|
-
|
|
3999
|
-
(v(),
|
|
3997
|
+
h.value ? (v(), F("span", Po, [
|
|
3998
|
+
P(A.$slots, "prefix", {}, () => [
|
|
3999
|
+
(v(), R(hu(c.prefixIcon)))
|
|
4000
4000
|
])
|
|
4001
|
-
])) :
|
|
4002
|
-
|
|
4003
|
-
"onUpdate:modelValue":
|
|
4001
|
+
])) : V("", !0),
|
|
4002
|
+
ku(C("input", {
|
|
4003
|
+
"onUpdate:modelValue": H[0] || (H[0] = (Y) => i.value = Y),
|
|
4004
4004
|
class: "sq-input-inner",
|
|
4005
4005
|
disabled: c.disabled,
|
|
4006
4006
|
readonly: c.readonly,
|
|
@@ -4010,35 +4010,150 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
4010
4010
|
ref: a,
|
|
4011
4011
|
onFocus: _,
|
|
4012
4012
|
onBlur: k,
|
|
4013
|
-
onInput:
|
|
4014
|
-
onChange:
|
|
4015
|
-
}, null, 40,
|
|
4016
|
-
[
|
|
4013
|
+
onInput: H[1] || (H[1] = (Y) => r("input", Y)),
|
|
4014
|
+
onChange: H[2] || (H[2] = (Y) => r("change", Y))
|
|
4015
|
+
}, null, 40, Oo), [
|
|
4016
|
+
[kt, i.value]
|
|
4017
4017
|
]),
|
|
4018
|
-
|
|
4019
|
-
|
|
4018
|
+
ku(C("span", $o, [
|
|
4019
|
+
ku((v(), R(hu(f.value), {
|
|
4020
4020
|
class: "sq-input-suffix-pwd",
|
|
4021
4021
|
onMousedown: B
|
|
4022
4022
|
}, null, 544)), [
|
|
4023
|
-
[
|
|
4023
|
+
[Fu, g.value]
|
|
4024
4024
|
]),
|
|
4025
|
-
|
|
4025
|
+
ku(vu(q(Gt), {
|
|
4026
4026
|
class: "sq-input-suffix-clear",
|
|
4027
4027
|
onMousedown: M
|
|
4028
4028
|
}, null, 512), [
|
|
4029
|
-
[
|
|
4029
|
+
[Fu, b.value]
|
|
4030
4030
|
]),
|
|
4031
|
-
|
|
4032
|
-
|
|
4031
|
+
P(A.$slots, "suffix", {}, () => [
|
|
4032
|
+
x.value ? (v(), R(hu(x.value), {
|
|
4033
|
+
key: 0,
|
|
4034
|
+
class: $({ "sq-input-suffix-status": c.showStatusIcon })
|
|
4035
|
+
}, null, 8, ["class"])) : V("", !0)
|
|
4033
4036
|
])
|
|
4034
4037
|
], 512), [
|
|
4035
|
-
[
|
|
4038
|
+
[Fu, m.value]
|
|
4036
4039
|
])
|
|
4037
4040
|
], 34));
|
|
4038
4041
|
}
|
|
4039
|
-
}),
|
|
4042
|
+
}), No = ["id"], jo = ["textContent"], Ho = /* @__PURE__ */ I({
|
|
4043
|
+
__name: "message",
|
|
4044
|
+
props: {
|
|
4045
|
+
message: {},
|
|
4046
|
+
type: { default: "info" },
|
|
4047
|
+
offsetTop: {},
|
|
4048
|
+
onDestroy: {},
|
|
4049
|
+
onClose: {},
|
|
4050
|
+
closeAfter: { default: 3e3 },
|
|
4051
|
+
id: {}
|
|
4052
|
+
},
|
|
4053
|
+
setup(u, { expose: e }) {
|
|
4054
|
+
const t = u, n = N(!0), r = E(() => {
|
|
4055
|
+
switch (t.type) {
|
|
4056
|
+
case "primary":
|
|
4057
|
+
case "info":
|
|
4058
|
+
return z0;
|
|
4059
|
+
case "success":
|
|
4060
|
+
return S0;
|
|
4061
|
+
case "warn":
|
|
4062
|
+
return M0;
|
|
4063
|
+
case "error":
|
|
4064
|
+
return B0;
|
|
4065
|
+
}
|
|
4066
|
+
});
|
|
4067
|
+
Re(() => {
|
|
4068
|
+
setTimeout(c, t.closeAfter);
|
|
4069
|
+
});
|
|
4070
|
+
function c() {
|
|
4071
|
+
n.value = !1;
|
|
4072
|
+
}
|
|
4073
|
+
return e({ close: c }), (i, o) => (v(), R(Pe, {
|
|
4074
|
+
appear: "",
|
|
4075
|
+
name: "sq-zoom-top",
|
|
4076
|
+
onBeforeLeave: t.onClose,
|
|
4077
|
+
onAfterLeave: t.onDestroy
|
|
4078
|
+
}, {
|
|
4079
|
+
default: su(() => [
|
|
4080
|
+
ku(C("div", {
|
|
4081
|
+
class: $(["sq-message", `is-${t.type}`]),
|
|
4082
|
+
id: t.id,
|
|
4083
|
+
style: Cu({ top: `${t.offsetTop}px` })
|
|
4084
|
+
}, [
|
|
4085
|
+
vu(q(Gu), { class: "sq-message-main" }, {
|
|
4086
|
+
default: su(() => [
|
|
4087
|
+
t.type && r.value ? (v(), R(hu(r.value), {
|
|
4088
|
+
key: 0,
|
|
4089
|
+
class: "sq-message-icon"
|
|
4090
|
+
})) : V("", !0),
|
|
4091
|
+
C("div", {
|
|
4092
|
+
class: "sq-message-content",
|
|
4093
|
+
textContent: pu(t.message)
|
|
4094
|
+
}, null, 8, jo)
|
|
4095
|
+
]),
|
|
4096
|
+
_: 1
|
|
4097
|
+
}),
|
|
4098
|
+
o[0] || (o[0] = C("div", { class: "sq-message-progress" }, null, -1))
|
|
4099
|
+
], 14, No), [
|
|
4100
|
+
[Fu, n.value]
|
|
4101
|
+
])
|
|
4102
|
+
]),
|
|
4103
|
+
_: 1
|
|
4104
|
+
}, 8, ["onBeforeLeave", "onAfterLeave"]));
|
|
4105
|
+
}
|
|
4106
|
+
}), { nextZIndex: Vo } = T0(), gu = [], Zo = ["primary", "success", "info", "warn", "error"], Uo = document.documentElement, Wo = getComputedStyle(Uo), we = parseInt(Wo.getPropertyValue("--sq-padding-md"));
|
|
4107
|
+
let Go = 1;
|
|
4108
|
+
const Me = (u = {}) => {
|
|
4109
|
+
const e = `sq-message-${Go++}`;
|
|
4110
|
+
let t = document.querySelector(".sq-message-wrap");
|
|
4111
|
+
t || (t = document.createElement("div"), t.classList.add("sq-message-wrap"), document.body.appendChild(t)), t.style.zIndex = Vo().toString();
|
|
4112
|
+
let n = we;
|
|
4113
|
+
gu.forEach((a) => {
|
|
4114
|
+
var l;
|
|
4115
|
+
n += (((l = a.vm.el) == null ? void 0 : l.offsetHeight) || 0) + we;
|
|
4116
|
+
});
|
|
4117
|
+
const r = {
|
|
4118
|
+
type: "info",
|
|
4119
|
+
// 用户配置
|
|
4120
|
+
...u,
|
|
4121
|
+
// 固有配置
|
|
4122
|
+
offsetTop: n,
|
|
4123
|
+
id: e
|
|
4124
|
+
}, c = document.createElement("div"), i = r.onClose;
|
|
4125
|
+
r.onClose = () => {
|
|
4126
|
+
i == null || i();
|
|
4127
|
+
const a = gu.findIndex(
|
|
4128
|
+
(h) => h.vm.component.props.id === s.component.props.id
|
|
4129
|
+
), f = gu.splice(a, 1)[0].vm.el.offsetHeight;
|
|
4130
|
+
if (!(gu.length < 1))
|
|
4131
|
+
for (let h = a; h < gu.length; h++) {
|
|
4132
|
+
const d = gu[h];
|
|
4133
|
+
let b = Number(parseInt(d.vm.el.style.top));
|
|
4134
|
+
b -= f, b -= we, d.vm.component.props.offsetTop = b;
|
|
4135
|
+
}
|
|
4136
|
+
};
|
|
4137
|
+
const o = r.onDestroy;
|
|
4138
|
+
r.onDestroy = () => {
|
|
4139
|
+
o == null || o(), Ye(null, c);
|
|
4140
|
+
};
|
|
4141
|
+
const s = vu(Ho, r);
|
|
4142
|
+
return Ye(s, c), gu.push({ vm: s }), t.appendChild(c.firstElementChild), {
|
|
4143
|
+
close: () => {
|
|
4144
|
+
var a, l;
|
|
4145
|
+
(l = (a = s.component) == null ? void 0 : a.exposed) == null || l.close();
|
|
4146
|
+
}
|
|
4147
|
+
};
|
|
4148
|
+
};
|
|
4149
|
+
Zo.forEach((u) => {
|
|
4150
|
+
Me[u] = (e = {}) => (typeof e == "string" && (e = {
|
|
4151
|
+
message: e
|
|
4152
|
+
}), Me({ ...e, type: u }));
|
|
4153
|
+
});
|
|
4154
|
+
const cs = Me, Jo = { class: "sq-pagination" }, Xo = { class: "sq-pagination-pager" }, os = /* @__PURE__ */ I({
|
|
4040
4155
|
__name: "pagination",
|
|
4041
|
-
props: /* @__PURE__ */
|
|
4156
|
+
props: /* @__PURE__ */ ue({
|
|
4042
4157
|
total: { default: 0 },
|
|
4043
4158
|
disabled: { type: Boolean, default: !1 },
|
|
4044
4159
|
pagerCount: { default: 5 }
|
|
@@ -4050,7 +4165,7 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
4050
4165
|
}),
|
|
4051
4166
|
emits: ["update:current", "update:page-size"],
|
|
4052
4167
|
setup(u) {
|
|
4053
|
-
const e = u, t =
|
|
4168
|
+
const e = u, t = ee(u, "current"), n = ee(u, "page-size"), r = E(() => Math.ceil(e.total / n.value) || 1), c = E(() => {
|
|
4054
4169
|
const s = [], a = Math.floor(e.pagerCount / 2) - 1;
|
|
4055
4170
|
let l = t.value - a, f = t.value + a;
|
|
4056
4171
|
l < 2 && (l = 2, f = l + a * 2), f > r.value - 1 && (f = r.value - 1, l = f - a * 2);
|
|
@@ -4062,107 +4177,107 @@ const { md2tokens: go, tokens2vueh: ko } = _o(), Ni = I({
|
|
|
4062
4177
|
}, o = (s) => {
|
|
4063
4178
|
t.value = s;
|
|
4064
4179
|
};
|
|
4065
|
-
return (s, a) => (v(), F("div",
|
|
4066
|
-
C("div",
|
|
4067
|
-
|
|
4068
|
-
icon: q(
|
|
4180
|
+
return (s, a) => (v(), F("div", Jo, [
|
|
4181
|
+
C("div", Xo, [
|
|
4182
|
+
vu(q(Qu), {
|
|
4183
|
+
icon: q(St),
|
|
4069
4184
|
disabled: t.value === 1 || e.disabled,
|
|
4070
4185
|
onClick: a[0] || (a[0] = (l) => i(-1))
|
|
4071
4186
|
}, null, 8, ["icon", "disabled"]),
|
|
4072
|
-
(v(!0), F(
|
|
4073
|
-
l ? (v(),
|
|
4187
|
+
(v(!0), F(Fe, null, yt(c.value, (l) => (v(), F(Fe, { key: l }, [
|
|
4188
|
+
l ? (v(), R(q(Qu), {
|
|
4074
4189
|
key: 0,
|
|
4075
4190
|
type: t.value === l ? "primary" : void 0,
|
|
4076
4191
|
disabled: e.disabled,
|
|
4077
4192
|
onClick: (f) => o(l)
|
|
4078
4193
|
}, {
|
|
4079
|
-
default:
|
|
4080
|
-
|
|
4194
|
+
default: su(() => [
|
|
4195
|
+
A0(pu(l), 1)
|
|
4081
4196
|
]),
|
|
4082
4197
|
_: 2
|
|
4083
|
-
}, 1032, ["type", "disabled", "onClick"])) : (v(),
|
|
4198
|
+
}, 1032, ["type", "disabled", "onClick"])) : (v(), R(q(Qu), {
|
|
4084
4199
|
key: 1,
|
|
4085
|
-
icon: q(
|
|
4200
|
+
icon: q(cn),
|
|
4086
4201
|
disabled: ""
|
|
4087
4202
|
}, null, 8, ["icon"]))
|
|
4088
4203
|
], 64))), 128)),
|
|
4089
|
-
|
|
4090
|
-
icon: q(
|
|
4204
|
+
vu(q(Qu), {
|
|
4205
|
+
icon: q(Tt),
|
|
4091
4206
|
disabled: t.value === r.value || e.disabled,
|
|
4092
4207
|
onClick: a[1] || (a[1] = (l) => i(1))
|
|
4093
4208
|
}, null, 8, ["icon", "disabled"])
|
|
4094
4209
|
])
|
|
4095
4210
|
]));
|
|
4096
4211
|
}
|
|
4097
|
-
}),
|
|
4212
|
+
}), Te = Math.min, Bu = Math.max, ce = Math.round, Yu = Math.floor, nu = (u) => ({
|
|
4098
4213
|
x: u,
|
|
4099
4214
|
y: u
|
|
4100
|
-
}),
|
|
4215
|
+
}), Qo = {
|
|
4101
4216
|
left: "right",
|
|
4102
4217
|
right: "left",
|
|
4103
4218
|
bottom: "top",
|
|
4104
4219
|
top: "bottom"
|
|
4105
|
-
},
|
|
4220
|
+
}, Yo = {
|
|
4106
4221
|
start: "end",
|
|
4107
4222
|
end: "start"
|
|
4108
4223
|
};
|
|
4109
|
-
function
|
|
4224
|
+
function We(u, e) {
|
|
4110
4225
|
return typeof u == "function" ? u(e) : u;
|
|
4111
4226
|
}
|
|
4112
|
-
function
|
|
4227
|
+
function qu(u) {
|
|
4113
4228
|
return u.split("-")[0];
|
|
4114
4229
|
}
|
|
4115
|
-
function
|
|
4230
|
+
function de(u) {
|
|
4116
4231
|
return u.split("-")[1];
|
|
4117
4232
|
}
|
|
4118
|
-
function
|
|
4233
|
+
function Ko(u) {
|
|
4119
4234
|
return u === "x" ? "y" : "x";
|
|
4120
4235
|
}
|
|
4121
|
-
function
|
|
4236
|
+
function ot(u) {
|
|
4122
4237
|
return u === "y" ? "height" : "width";
|
|
4123
4238
|
}
|
|
4124
|
-
const
|
|
4125
|
-
function
|
|
4126
|
-
return
|
|
4239
|
+
const ui = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
4240
|
+
function yu(u) {
|
|
4241
|
+
return ui.has(qu(u)) ? "y" : "x";
|
|
4127
4242
|
}
|
|
4128
|
-
function
|
|
4129
|
-
return
|
|
4243
|
+
function it(u) {
|
|
4244
|
+
return Ko(yu(u));
|
|
4130
4245
|
}
|
|
4131
|
-
function
|
|
4246
|
+
function ei(u, e, t) {
|
|
4132
4247
|
t === void 0 && (t = !1);
|
|
4133
|
-
const n =
|
|
4248
|
+
const n = de(u), r = it(u), c = ot(r);
|
|
4134
4249
|
let i = r === "x" ? n === (t ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4135
|
-
return e.reference[c] > e.floating[c] && (i =
|
|
4250
|
+
return e.reference[c] > e.floating[c] && (i = oe(i)), [i, oe(i)];
|
|
4136
4251
|
}
|
|
4137
|
-
function
|
|
4138
|
-
const e =
|
|
4139
|
-
return [
|
|
4252
|
+
function ti(u) {
|
|
4253
|
+
const e = oe(u);
|
|
4254
|
+
return [qe(u), e, qe(e)];
|
|
4140
4255
|
}
|
|
4141
|
-
function
|
|
4142
|
-
return u.replace(/start|end/g, (e) =>
|
|
4256
|
+
function qe(u) {
|
|
4257
|
+
return u.replace(/start|end/g, (e) => Yo[e]);
|
|
4143
4258
|
}
|
|
4144
|
-
const
|
|
4145
|
-
function
|
|
4259
|
+
const _0 = ["left", "right"], g0 = ["right", "left"], ni = ["top", "bottom"], ri = ["bottom", "top"];
|
|
4260
|
+
function ci(u, e, t) {
|
|
4146
4261
|
switch (u) {
|
|
4147
4262
|
case "top":
|
|
4148
4263
|
case "bottom":
|
|
4149
|
-
return t ? e ?
|
|
4264
|
+
return t ? e ? g0 : _0 : e ? _0 : g0;
|
|
4150
4265
|
case "left":
|
|
4151
4266
|
case "right":
|
|
4152
|
-
return e ?
|
|
4267
|
+
return e ? ni : ri;
|
|
4153
4268
|
default:
|
|
4154
4269
|
return [];
|
|
4155
4270
|
}
|
|
4156
4271
|
}
|
|
4157
|
-
function
|
|
4158
|
-
const r =
|
|
4159
|
-
let c =
|
|
4160
|
-
return r && (c = c.map((i) => i + "-" + r), e && (c = c.concat(c.map(
|
|
4272
|
+
function oi(u, e, t, n) {
|
|
4273
|
+
const r = de(u);
|
|
4274
|
+
let c = ci(qu(u), t === "start", n);
|
|
4275
|
+
return r && (c = c.map((i) => i + "-" + r), e && (c = c.concat(c.map(qe)))), c;
|
|
4161
4276
|
}
|
|
4162
|
-
function
|
|
4163
|
-
return u.replace(/left|right|bottom|top/g, (e) =>
|
|
4277
|
+
function oe(u) {
|
|
4278
|
+
return u.replace(/left|right|bottom|top/g, (e) => Qo[e]);
|
|
4164
4279
|
}
|
|
4165
|
-
function
|
|
4280
|
+
function ii(u) {
|
|
4166
4281
|
return {
|
|
4167
4282
|
top: 0,
|
|
4168
4283
|
right: 0,
|
|
@@ -4171,15 +4286,15 @@ function Jo(u) {
|
|
|
4171
4286
|
...u
|
|
4172
4287
|
};
|
|
4173
4288
|
}
|
|
4174
|
-
function
|
|
4175
|
-
return typeof u != "number" ?
|
|
4289
|
+
function si(u) {
|
|
4290
|
+
return typeof u != "number" ? ii(u) : {
|
|
4176
4291
|
top: u,
|
|
4177
4292
|
right: u,
|
|
4178
4293
|
bottom: u,
|
|
4179
4294
|
left: u
|
|
4180
4295
|
};
|
|
4181
4296
|
}
|
|
4182
|
-
function
|
|
4297
|
+
function ie(u) {
|
|
4183
4298
|
const {
|
|
4184
4299
|
x: e,
|
|
4185
4300
|
y: t,
|
|
@@ -4197,12 +4312,12 @@ function ce(u) {
|
|
|
4197
4312
|
y: t
|
|
4198
4313
|
};
|
|
4199
4314
|
}
|
|
4200
|
-
function
|
|
4315
|
+
function k0(u, e, t) {
|
|
4201
4316
|
let {
|
|
4202
4317
|
reference: n,
|
|
4203
4318
|
floating: r
|
|
4204
4319
|
} = u;
|
|
4205
|
-
const c =
|
|
4320
|
+
const c = yu(e), i = it(e), o = ot(i), s = qu(e), a = c === "y", l = n.x + n.width / 2 - r.width / 2, f = n.y + n.height / 2 - r.height / 2, p = n[o] / 2 - r[o] / 2;
|
|
4206
4321
|
let h;
|
|
4207
4322
|
switch (s) {
|
|
4208
4323
|
case "top":
|
|
@@ -4235,7 +4350,7 @@ function p0(u, e, t) {
|
|
|
4235
4350
|
y: n.y
|
|
4236
4351
|
};
|
|
4237
4352
|
}
|
|
4238
|
-
switch (
|
|
4353
|
+
switch (de(e)) {
|
|
4239
4354
|
case "start":
|
|
4240
4355
|
h[i] -= p * (t && a ? -1 : 1);
|
|
4241
4356
|
break;
|
|
@@ -4245,7 +4360,7 @@ function p0(u, e, t) {
|
|
|
4245
4360
|
}
|
|
4246
4361
|
return h;
|
|
4247
4362
|
}
|
|
4248
|
-
const
|
|
4363
|
+
const ai = async (u, e, t) => {
|
|
4249
4364
|
const {
|
|
4250
4365
|
placement: n = "bottom",
|
|
4251
4366
|
strategy: r = "absolute",
|
|
@@ -4259,14 +4374,14 @@ const Qo = async (u, e, t) => {
|
|
|
4259
4374
|
}), {
|
|
4260
4375
|
x: l,
|
|
4261
4376
|
y: f
|
|
4262
|
-
} =
|
|
4377
|
+
} = k0(a, n, s), p = n, h = {}, d = 0;
|
|
4263
4378
|
for (let b = 0; b < o.length; b++) {
|
|
4264
4379
|
const {
|
|
4265
4380
|
name: g,
|
|
4266
4381
|
fn: y
|
|
4267
4382
|
} = o[b], {
|
|
4268
|
-
x,
|
|
4269
|
-
y:
|
|
4383
|
+
x: m,
|
|
4384
|
+
y: x,
|
|
4270
4385
|
data: _,
|
|
4271
4386
|
reset: k
|
|
4272
4387
|
} = await y({
|
|
@@ -4283,7 +4398,7 @@ const Qo = async (u, e, t) => {
|
|
|
4283
4398
|
floating: e
|
|
4284
4399
|
}
|
|
4285
4400
|
});
|
|
4286
|
-
l =
|
|
4401
|
+
l = m ?? l, f = x ?? f, h = {
|
|
4287
4402
|
...h,
|
|
4288
4403
|
[g]: {
|
|
4289
4404
|
...h[g],
|
|
@@ -4296,7 +4411,7 @@ const Qo = async (u, e, t) => {
|
|
|
4296
4411
|
}) : k.rects), {
|
|
4297
4412
|
x: l,
|
|
4298
4413
|
y: f
|
|
4299
|
-
} =
|
|
4414
|
+
} = k0(a, p, s)), b = -1);
|
|
4300
4415
|
}
|
|
4301
4416
|
return {
|
|
4302
4417
|
x: l,
|
|
@@ -4306,7 +4421,7 @@ const Qo = async (u, e, t) => {
|
|
|
4306
4421
|
middlewareData: h
|
|
4307
4422
|
};
|
|
4308
4423
|
};
|
|
4309
|
-
async function
|
|
4424
|
+
async function li(u, e) {
|
|
4310
4425
|
var t;
|
|
4311
4426
|
e === void 0 && (e = {});
|
|
4312
4427
|
const {
|
|
@@ -4322,28 +4437,28 @@ async function Yo(u, e) {
|
|
|
4322
4437
|
elementContext: f = "floating",
|
|
4323
4438
|
altBoundary: p = !1,
|
|
4324
4439
|
padding: h = 0
|
|
4325
|
-
} =
|
|
4440
|
+
} = We(e, u), d = si(h), g = o[p ? f === "floating" ? "reference" : "floating" : f], y = ie(await c.getClippingRect({
|
|
4326
4441
|
element: (t = await (c.isElement == null ? void 0 : c.isElement(g))) == null || t ? g : g.contextElement || await (c.getDocumentElement == null ? void 0 : c.getDocumentElement(o.floating)),
|
|
4327
4442
|
boundary: a,
|
|
4328
4443
|
rootBoundary: l,
|
|
4329
4444
|
strategy: s
|
|
4330
|
-
})),
|
|
4445
|
+
})), m = f === "floating" ? {
|
|
4331
4446
|
x: n,
|
|
4332
4447
|
y: r,
|
|
4333
4448
|
width: i.floating.width,
|
|
4334
4449
|
height: i.floating.height
|
|
4335
|
-
} : i.reference,
|
|
4450
|
+
} : i.reference, x = await (c.getOffsetParent == null ? void 0 : c.getOffsetParent(o.floating)), _ = await (c.isElement == null ? void 0 : c.isElement(x)) ? await (c.getScale == null ? void 0 : c.getScale(x)) || {
|
|
4336
4451
|
x: 1,
|
|
4337
4452
|
y: 1
|
|
4338
4453
|
} : {
|
|
4339
4454
|
x: 1,
|
|
4340
4455
|
y: 1
|
|
4341
|
-
}, k =
|
|
4456
|
+
}, k = ie(c.convertOffsetParentRelativeRectToViewportRelativeRect ? await c.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4342
4457
|
elements: o,
|
|
4343
|
-
rect:
|
|
4344
|
-
offsetParent:
|
|
4458
|
+
rect: m,
|
|
4459
|
+
offsetParent: x,
|
|
4345
4460
|
strategy: s
|
|
4346
|
-
}) :
|
|
4461
|
+
}) : m);
|
|
4347
4462
|
return {
|
|
4348
4463
|
top: (y.top - k.top + d.top) / _.y,
|
|
4349
4464
|
bottom: (k.bottom - y.bottom + d.bottom) / _.y,
|
|
@@ -4351,7 +4466,7 @@ async function Yo(u, e) {
|
|
|
4351
4466
|
right: (k.right - y.right + d.right) / _.x
|
|
4352
4467
|
};
|
|
4353
4468
|
}
|
|
4354
|
-
const
|
|
4469
|
+
const fi = function(u) {
|
|
4355
4470
|
return u === void 0 && (u = {}), {
|
|
4356
4471
|
name: "flip",
|
|
4357
4472
|
options: u,
|
|
@@ -4372,26 +4487,26 @@ const Ko = function(u) {
|
|
|
4372
4487
|
fallbackAxisSideDirection: d = "none",
|
|
4373
4488
|
flipAlignment: b = !0,
|
|
4374
4489
|
...g
|
|
4375
|
-
} =
|
|
4490
|
+
} = We(u, e);
|
|
4376
4491
|
if ((t = c.arrow) != null && t.alignmentOffset)
|
|
4377
4492
|
return {};
|
|
4378
|
-
const y =
|
|
4379
|
-
!p && w && k.push(...
|
|
4380
|
-
const D = [o, ...k], S = await
|
|
4493
|
+
const y = qu(r), m = yu(o), x = qu(o) === o, _ = await (s.isRTL == null ? void 0 : s.isRTL(a.floating)), k = p || (x || !b ? [oe(o)] : ti(o)), w = d !== "none";
|
|
4494
|
+
!p && w && k.push(...oi(o, b, d, _));
|
|
4495
|
+
const D = [o, ...k], S = await li(e, g), M = [];
|
|
4381
4496
|
let B = ((n = c.flip) == null ? void 0 : n.overflows) || [];
|
|
4382
4497
|
if (l && M.push(S[y]), f) {
|
|
4383
|
-
const K =
|
|
4498
|
+
const K = ei(r, i, _);
|
|
4384
4499
|
M.push(S[K[0]], S[K[1]]);
|
|
4385
4500
|
}
|
|
4386
4501
|
if (B = [...B, {
|
|
4387
4502
|
placement: r,
|
|
4388
4503
|
overflows: M
|
|
4389
4504
|
}], !M.every((K) => K <= 0)) {
|
|
4390
|
-
var A,
|
|
4505
|
+
var A, H;
|
|
4391
4506
|
const K = (((A = c.flip) == null ? void 0 : A.index) || 0) + 1, uu = D[K];
|
|
4392
|
-
if (uu && (!(f === "alignment" ?
|
|
4507
|
+
if (uu && (!(f === "alignment" ? m !== yu(uu) : !1) || // We leave the current main axis only if every placement on that axis
|
|
4393
4508
|
// overflows the main axis.
|
|
4394
|
-
B.every((J) =>
|
|
4509
|
+
B.every((J) => yu(J.placement) === m ? J.overflows[0] > 0 : !0)))
|
|
4395
4510
|
return {
|
|
4396
4511
|
data: {
|
|
4397
4512
|
index: K,
|
|
@@ -4401,44 +4516,44 @@ const Ko = function(u) {
|
|
|
4401
4516
|
placement: uu
|
|
4402
4517
|
}
|
|
4403
4518
|
};
|
|
4404
|
-
let
|
|
4405
|
-
if (!
|
|
4519
|
+
let xu = (H = B.filter((_u) => _u.overflows[0] <= 0).sort((_u, J) => _u.overflows[1] - J.overflows[1])[0]) == null ? void 0 : H.placement;
|
|
4520
|
+
if (!xu)
|
|
4406
4521
|
switch (h) {
|
|
4407
4522
|
case "bestFit": {
|
|
4408
4523
|
var Y;
|
|
4409
|
-
const
|
|
4524
|
+
const _u = (Y = B.filter((J) => {
|
|
4410
4525
|
if (w) {
|
|
4411
|
-
const
|
|
4412
|
-
return
|
|
4526
|
+
const au = yu(J.placement);
|
|
4527
|
+
return au === m || // Create a bias to the `y` side axis due to horizontal
|
|
4413
4528
|
// reading directions favoring greater width.
|
|
4414
|
-
|
|
4529
|
+
au === "y";
|
|
4415
4530
|
}
|
|
4416
4531
|
return !0;
|
|
4417
|
-
}).map((J) => [J.placement, J.overflows.filter((
|
|
4418
|
-
|
|
4532
|
+
}).map((J) => [J.placement, J.overflows.filter((au) => au > 0).reduce((au, mt) => au + mt, 0)]).sort((J, au) => J[1] - au[1])[0]) == null ? void 0 : Y[0];
|
|
4533
|
+
_u && (xu = _u);
|
|
4419
4534
|
break;
|
|
4420
4535
|
}
|
|
4421
4536
|
case "initialPlacement":
|
|
4422
|
-
|
|
4537
|
+
xu = o;
|
|
4423
4538
|
break;
|
|
4424
4539
|
}
|
|
4425
|
-
if (r !==
|
|
4540
|
+
if (r !== xu)
|
|
4426
4541
|
return {
|
|
4427
4542
|
reset: {
|
|
4428
|
-
placement:
|
|
4543
|
+
placement: xu
|
|
4429
4544
|
}
|
|
4430
4545
|
};
|
|
4431
4546
|
}
|
|
4432
4547
|
return {};
|
|
4433
4548
|
}
|
|
4434
4549
|
};
|
|
4435
|
-
},
|
|
4436
|
-
async function
|
|
4550
|
+
}, di = /* @__PURE__ */ new Set(["left", "top"]);
|
|
4551
|
+
async function hi(u, e) {
|
|
4437
4552
|
const {
|
|
4438
4553
|
placement: t,
|
|
4439
4554
|
platform: n,
|
|
4440
4555
|
elements: r
|
|
4441
|
-
} = u, c = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), i =
|
|
4556
|
+
} = u, c = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), i = qu(t), o = de(t), s = yu(t) === "y", a = di.has(i) ? -1 : 1, l = c && s ? -1 : 1, f = We(e, u);
|
|
4442
4557
|
let {
|
|
4443
4558
|
mainAxis: p,
|
|
4444
4559
|
crossAxis: h,
|
|
@@ -4460,7 +4575,7 @@ async function ei(u, e) {
|
|
|
4460
4575
|
y: h * l
|
|
4461
4576
|
};
|
|
4462
4577
|
}
|
|
4463
|
-
const
|
|
4578
|
+
const pi = function(u) {
|
|
4464
4579
|
return u === void 0 && (u = 0), {
|
|
4465
4580
|
name: "offset",
|
|
4466
4581
|
options: u,
|
|
@@ -4471,7 +4586,7 @@ const ti = function(u) {
|
|
|
4471
4586
|
y: c,
|
|
4472
4587
|
placement: i,
|
|
4473
4588
|
middlewareData: o
|
|
4474
|
-
} = e, s = await
|
|
4589
|
+
} = e, s = await hi(e, u);
|
|
4475
4590
|
return i === ((t = o.offset) == null ? void 0 : t.placement) && (n = o.arrow) != null && n.alignmentOffset ? {} : {
|
|
4476
4591
|
x: r + s.x,
|
|
4477
4592
|
y: c + s.y,
|
|
@@ -4483,49 +4598,49 @@ const ti = function(u) {
|
|
|
4483
4598
|
}
|
|
4484
4599
|
};
|
|
4485
4600
|
};
|
|
4486
|
-
function
|
|
4601
|
+
function he() {
|
|
4487
4602
|
return typeof window < "u";
|
|
4488
4603
|
}
|
|
4489
|
-
function
|
|
4490
|
-
return
|
|
4604
|
+
function wu(u) {
|
|
4605
|
+
return Ge(u) ? (u.nodeName || "").toLowerCase() : "#document";
|
|
4491
4606
|
}
|
|
4492
|
-
function
|
|
4607
|
+
function Z(u) {
|
|
4493
4608
|
var e;
|
|
4494
4609
|
return (u == null || (e = u.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
4495
4610
|
}
|
|
4496
4611
|
function iu(u) {
|
|
4497
4612
|
var e;
|
|
4498
|
-
return (e = (
|
|
4613
|
+
return (e = (Ge(u) ? u.ownerDocument : u.document) || window.document) == null ? void 0 : e.documentElement;
|
|
4499
4614
|
}
|
|
4500
|
-
function
|
|
4501
|
-
return
|
|
4615
|
+
function Ge(u) {
|
|
4616
|
+
return he() ? u instanceof Node || u instanceof Z(u).Node : !1;
|
|
4502
4617
|
}
|
|
4503
4618
|
function X(u) {
|
|
4504
|
-
return
|
|
4619
|
+
return he() ? u instanceof Element || u instanceof Z(u).Element : !1;
|
|
4505
4620
|
}
|
|
4506
4621
|
function ru(u) {
|
|
4507
|
-
return
|
|
4622
|
+
return he() ? u instanceof HTMLElement || u instanceof Z(u).HTMLElement : !1;
|
|
4508
4623
|
}
|
|
4509
|
-
function
|
|
4510
|
-
return !
|
|
4624
|
+
function y0(u) {
|
|
4625
|
+
return !he() || typeof ShadowRoot > "u" ? !1 : u instanceof ShadowRoot || u instanceof Z(u).ShadowRoot;
|
|
4511
4626
|
}
|
|
4512
|
-
const
|
|
4513
|
-
function
|
|
4627
|
+
const bi = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
4628
|
+
function Wu(u) {
|
|
4514
4629
|
const {
|
|
4515
4630
|
overflow: e,
|
|
4516
4631
|
overflowX: t,
|
|
4517
4632
|
overflowY: n,
|
|
4518
4633
|
display: r
|
|
4519
4634
|
} = Q(u);
|
|
4520
|
-
return /auto|scroll|overlay|hidden|clip/.test(e + n + t) && !
|
|
4635
|
+
return /auto|scroll|overlay|hidden|clip/.test(e + n + t) && !bi.has(r);
|
|
4521
4636
|
}
|
|
4522
|
-
const
|
|
4523
|
-
function
|
|
4524
|
-
return
|
|
4637
|
+
const mi = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
4638
|
+
function xi(u) {
|
|
4639
|
+
return mi.has(wu(u));
|
|
4525
4640
|
}
|
|
4526
|
-
const
|
|
4527
|
-
function
|
|
4528
|
-
return
|
|
4641
|
+
const _i = [":popover-open", ":modal"];
|
|
4642
|
+
function pe(u) {
|
|
4643
|
+
return _i.some((e) => {
|
|
4529
4644
|
try {
|
|
4530
4645
|
return u.matches(e);
|
|
4531
4646
|
} catch {
|
|
@@ -4533,33 +4648,33 @@ function de(u) {
|
|
|
4533
4648
|
}
|
|
4534
4649
|
});
|
|
4535
4650
|
}
|
|
4536
|
-
const
|
|
4537
|
-
function
|
|
4538
|
-
const e =
|
|
4539
|
-
return
|
|
4651
|
+
const gi = ["transform", "translate", "scale", "rotate", "perspective"], ki = ["transform", "translate", "scale", "rotate", "perspective", "filter"], yi = ["paint", "layout", "strict", "content"];
|
|
4652
|
+
function Je(u) {
|
|
4653
|
+
const e = Xe(), t = X(u) ? Q(u) : u;
|
|
4654
|
+
return gi.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) || ki.some((n) => (t.willChange || "").includes(n)) || yi.some((n) => (t.contain || "").includes(n));
|
|
4540
4655
|
}
|
|
4541
|
-
function
|
|
4542
|
-
let e =
|
|
4543
|
-
for (; ru(e) && !
|
|
4544
|
-
if (
|
|
4656
|
+
function Ci(u) {
|
|
4657
|
+
let e = mu(u);
|
|
4658
|
+
for (; ru(e) && !Lu(e); ) {
|
|
4659
|
+
if (Je(e))
|
|
4545
4660
|
return e;
|
|
4546
|
-
if (
|
|
4661
|
+
if (pe(e))
|
|
4547
4662
|
return null;
|
|
4548
|
-
e =
|
|
4663
|
+
e = mu(e);
|
|
4549
4664
|
}
|
|
4550
4665
|
return null;
|
|
4551
4666
|
}
|
|
4552
|
-
function
|
|
4667
|
+
function Xe() {
|
|
4553
4668
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4554
4669
|
}
|
|
4555
|
-
const
|
|
4556
|
-
function
|
|
4557
|
-
return
|
|
4670
|
+
const vi = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
4671
|
+
function Lu(u) {
|
|
4672
|
+
return vi.has(wu(u));
|
|
4558
4673
|
}
|
|
4559
4674
|
function Q(u) {
|
|
4560
|
-
return
|
|
4675
|
+
return Z(u).getComputedStyle(u);
|
|
4561
4676
|
}
|
|
4562
|
-
function
|
|
4677
|
+
function be(u) {
|
|
4563
4678
|
return X(u) ? {
|
|
4564
4679
|
scrollLeft: u.scrollLeft,
|
|
4565
4680
|
scrollTop: u.scrollTop
|
|
@@ -4568,115 +4683,115 @@ function he(u) {
|
|
|
4568
4683
|
scrollTop: u.scrollY
|
|
4569
4684
|
};
|
|
4570
4685
|
}
|
|
4571
|
-
function
|
|
4572
|
-
if (
|
|
4686
|
+
function mu(u) {
|
|
4687
|
+
if (wu(u) === "html")
|
|
4573
4688
|
return u;
|
|
4574
4689
|
const e = (
|
|
4575
4690
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
4576
4691
|
u.assignedSlot || // DOM Element detected.
|
|
4577
4692
|
u.parentNode || // ShadowRoot detected.
|
|
4578
|
-
|
|
4693
|
+
y0(u) && u.host || // Fallback.
|
|
4579
4694
|
iu(u)
|
|
4580
4695
|
);
|
|
4581
|
-
return
|
|
4696
|
+
return y0(e) ? e.host : e;
|
|
4582
4697
|
}
|
|
4583
|
-
function
|
|
4584
|
-
const e =
|
|
4585
|
-
return
|
|
4698
|
+
function st(u) {
|
|
4699
|
+
const e = mu(u);
|
|
4700
|
+
return Lu(e) ? u.ownerDocument ? u.ownerDocument.body : u.body : ru(e) && Wu(e) ? e : st(e);
|
|
4586
4701
|
}
|
|
4587
|
-
function
|
|
4702
|
+
function Hu(u, e, t) {
|
|
4588
4703
|
var n;
|
|
4589
4704
|
e === void 0 && (e = []), t === void 0 && (t = !0);
|
|
4590
|
-
const r =
|
|
4705
|
+
const r = st(u), c = r === ((n = u.ownerDocument) == null ? void 0 : n.body), i = Z(r);
|
|
4591
4706
|
if (c) {
|
|
4592
|
-
const o =
|
|
4593
|
-
return e.concat(i, i.visualViewport || [],
|
|
4707
|
+
const o = Le(i);
|
|
4708
|
+
return e.concat(i, i.visualViewport || [], Wu(r) ? r : [], o && t ? Hu(o) : []);
|
|
4594
4709
|
}
|
|
4595
|
-
return e.concat(r,
|
|
4710
|
+
return e.concat(r, Hu(r, [], t));
|
|
4596
4711
|
}
|
|
4597
|
-
function
|
|
4712
|
+
function Le(u) {
|
|
4598
4713
|
return u.parent && Object.getPrototypeOf(u.parent) ? u.frameElement : null;
|
|
4599
4714
|
}
|
|
4600
|
-
function
|
|
4715
|
+
function at(u) {
|
|
4601
4716
|
const e = Q(u);
|
|
4602
4717
|
let t = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
4603
|
-
const r = ru(u), c = r ? u.offsetWidth : t, i = r ? u.offsetHeight : n, o =
|
|
4718
|
+
const r = ru(u), c = r ? u.offsetWidth : t, i = r ? u.offsetHeight : n, o = ce(t) !== c || ce(n) !== i;
|
|
4604
4719
|
return o && (t = c, n = i), {
|
|
4605
4720
|
width: t,
|
|
4606
4721
|
height: n,
|
|
4607
4722
|
$: o
|
|
4608
4723
|
};
|
|
4609
4724
|
}
|
|
4610
|
-
function
|
|
4725
|
+
function Qe(u) {
|
|
4611
4726
|
return X(u) ? u : u.contextElement;
|
|
4612
4727
|
}
|
|
4613
|
-
function
|
|
4614
|
-
const e =
|
|
4728
|
+
function zu(u) {
|
|
4729
|
+
const e = Qe(u);
|
|
4615
4730
|
if (!ru(e))
|
|
4616
4731
|
return nu(1);
|
|
4617
4732
|
const t = e.getBoundingClientRect(), {
|
|
4618
4733
|
width: n,
|
|
4619
4734
|
height: r,
|
|
4620
4735
|
$: c
|
|
4621
|
-
} =
|
|
4622
|
-
let i = (c ?
|
|
4736
|
+
} = at(e);
|
|
4737
|
+
let i = (c ? ce(t.width) : t.width) / n, o = (c ? ce(t.height) : t.height) / r;
|
|
4623
4738
|
return (!i || !Number.isFinite(i)) && (i = 1), (!o || !Number.isFinite(o)) && (o = 1), {
|
|
4624
4739
|
x: i,
|
|
4625
4740
|
y: o
|
|
4626
4741
|
};
|
|
4627
4742
|
}
|
|
4628
|
-
const
|
|
4629
|
-
function
|
|
4630
|
-
const e =
|
|
4631
|
-
return !
|
|
4743
|
+
const Di = /* @__PURE__ */ nu(0);
|
|
4744
|
+
function lt(u) {
|
|
4745
|
+
const e = Z(u);
|
|
4746
|
+
return !Xe() || !e.visualViewport ? Di : {
|
|
4632
4747
|
x: e.visualViewport.offsetLeft,
|
|
4633
4748
|
y: e.visualViewport.offsetTop
|
|
4634
4749
|
};
|
|
4635
4750
|
}
|
|
4636
|
-
function
|
|
4637
|
-
return e === void 0 && (e = !1), !t || e && t !==
|
|
4751
|
+
function wi(u, e, t) {
|
|
4752
|
+
return e === void 0 && (e = !1), !t || e && t !== Z(u) ? !1 : e;
|
|
4638
4753
|
}
|
|
4639
|
-
function
|
|
4754
|
+
function Du(u, e, t, n) {
|
|
4640
4755
|
e === void 0 && (e = !1), t === void 0 && (t = !1);
|
|
4641
|
-
const r = u.getBoundingClientRect(), c =
|
|
4756
|
+
const r = u.getBoundingClientRect(), c = Qe(u);
|
|
4642
4757
|
let i = nu(1);
|
|
4643
|
-
e && (n ? X(n) && (i =
|
|
4644
|
-
const o =
|
|
4758
|
+
e && (n ? X(n) && (i = zu(n)) : i = zu(u));
|
|
4759
|
+
const o = wi(c, t, n) ? lt(c) : nu(0);
|
|
4645
4760
|
let s = (r.left + o.x) / i.x, a = (r.top + o.y) / i.y, l = r.width / i.x, f = r.height / i.y;
|
|
4646
4761
|
if (c) {
|
|
4647
|
-
const p =
|
|
4648
|
-
let d = p, b =
|
|
4762
|
+
const p = Z(c), h = n && X(n) ? Z(n) : n;
|
|
4763
|
+
let d = p, b = Le(d);
|
|
4649
4764
|
for (; b && n && h !== d; ) {
|
|
4650
|
-
const g =
|
|
4651
|
-
s *= g.x, a *= g.y, l *= g.x, f *= g.y, s +=
|
|
4765
|
+
const g = zu(b), y = b.getBoundingClientRect(), m = Q(b), x = y.left + (b.clientLeft + parseFloat(m.paddingLeft)) * g.x, _ = y.top + (b.clientTop + parseFloat(m.paddingTop)) * g.y;
|
|
4766
|
+
s *= g.x, a *= g.y, l *= g.x, f *= g.y, s += x, a += _, d = Z(b), b = Le(d);
|
|
4652
4767
|
}
|
|
4653
4768
|
}
|
|
4654
|
-
return
|
|
4769
|
+
return ie({
|
|
4655
4770
|
width: l,
|
|
4656
4771
|
height: f,
|
|
4657
4772
|
x: s,
|
|
4658
4773
|
y: a
|
|
4659
4774
|
});
|
|
4660
4775
|
}
|
|
4661
|
-
function
|
|
4662
|
-
const t =
|
|
4663
|
-
return e ? e.left + t :
|
|
4776
|
+
function me(u, e) {
|
|
4777
|
+
const t = be(u).scrollLeft;
|
|
4778
|
+
return e ? e.left + t : Du(iu(u)).left + t;
|
|
4664
4779
|
}
|
|
4665
|
-
function
|
|
4666
|
-
const t = u.getBoundingClientRect(), n = t.left + e.scrollLeft -
|
|
4780
|
+
function ft(u, e) {
|
|
4781
|
+
const t = u.getBoundingClientRect(), n = t.left + e.scrollLeft - me(u, t), r = t.top + e.scrollTop;
|
|
4667
4782
|
return {
|
|
4668
4783
|
x: n,
|
|
4669
4784
|
y: r
|
|
4670
4785
|
};
|
|
4671
4786
|
}
|
|
4672
|
-
function
|
|
4787
|
+
function Ei(u) {
|
|
4673
4788
|
let {
|
|
4674
4789
|
elements: e,
|
|
4675
4790
|
rect: t,
|
|
4676
4791
|
offsetParent: n,
|
|
4677
4792
|
strategy: r
|
|
4678
4793
|
} = u;
|
|
4679
|
-
const c = r === "fixed", i = iu(n), o = e ?
|
|
4794
|
+
const c = r === "fixed", i = iu(n), o = e ? pe(e.floating) : !1;
|
|
4680
4795
|
if (n === i || o && c)
|
|
4681
4796
|
return t;
|
|
4682
4797
|
let s = {
|
|
@@ -4684,11 +4799,11 @@ function pi(u) {
|
|
|
4684
4799
|
scrollTop: 0
|
|
4685
4800
|
}, a = nu(1);
|
|
4686
4801
|
const l = nu(0), f = ru(n);
|
|
4687
|
-
if ((f || !f && !c) && ((
|
|
4688
|
-
const h =
|
|
4689
|
-
a =
|
|
4802
|
+
if ((f || !f && !c) && ((wu(n) !== "body" || Wu(i)) && (s = be(n)), ru(n))) {
|
|
4803
|
+
const h = Du(n);
|
|
4804
|
+
a = zu(n), l.x = h.x + n.clientLeft, l.y = h.y + n.clientTop;
|
|
4690
4805
|
}
|
|
4691
|
-
const p = i && !f && !c ?
|
|
4806
|
+
const p = i && !f && !c ? ft(i, s) : nu(0);
|
|
4692
4807
|
return {
|
|
4693
4808
|
width: t.width * a.x,
|
|
4694
4809
|
height: t.height * a.y,
|
|
@@ -4696,34 +4811,34 @@ function pi(u) {
|
|
|
4696
4811
|
y: t.y * a.y - s.scrollTop * a.y + l.y + p.y
|
|
4697
4812
|
};
|
|
4698
4813
|
}
|
|
4699
|
-
function
|
|
4814
|
+
function Ai(u) {
|
|
4700
4815
|
return Array.from(u.getClientRects());
|
|
4701
4816
|
}
|
|
4702
|
-
function
|
|
4703
|
-
const e = iu(u), t =
|
|
4704
|
-
let i = -t.scrollLeft +
|
|
4817
|
+
function Fi(u) {
|
|
4818
|
+
const e = iu(u), t = be(u), n = u.ownerDocument.body, r = Bu(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), c = Bu(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
4819
|
+
let i = -t.scrollLeft + me(u);
|
|
4705
4820
|
const o = -t.scrollTop;
|
|
4706
|
-
return Q(n).direction === "rtl" && (i +=
|
|
4821
|
+
return Q(n).direction === "rtl" && (i += Bu(e.clientWidth, n.clientWidth) - r), {
|
|
4707
4822
|
width: r,
|
|
4708
4823
|
height: c,
|
|
4709
4824
|
x: i,
|
|
4710
4825
|
y: o
|
|
4711
4826
|
};
|
|
4712
4827
|
}
|
|
4713
|
-
const
|
|
4714
|
-
function
|
|
4715
|
-
const t =
|
|
4828
|
+
const C0 = 25;
|
|
4829
|
+
function Si(u, e) {
|
|
4830
|
+
const t = Z(u), n = iu(u), r = t.visualViewport;
|
|
4716
4831
|
let c = n.clientWidth, i = n.clientHeight, o = 0, s = 0;
|
|
4717
4832
|
if (r) {
|
|
4718
4833
|
c = r.width, i = r.height;
|
|
4719
|
-
const l =
|
|
4834
|
+
const l = Xe();
|
|
4720
4835
|
(!l || l && e === "fixed") && (o = r.offsetLeft, s = r.offsetTop);
|
|
4721
4836
|
}
|
|
4722
|
-
const a =
|
|
4837
|
+
const a = me(n);
|
|
4723
4838
|
if (a <= 0) {
|
|
4724
4839
|
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);
|
|
4725
|
-
d <=
|
|
4726
|
-
} else a <=
|
|
4840
|
+
d <= C0 && (c -= d);
|
|
4841
|
+
} else a <= C0 && (c += a);
|
|
4727
4842
|
return {
|
|
4728
4843
|
width: c,
|
|
4729
4844
|
height: i,
|
|
@@ -4731,9 +4846,9 @@ function mi(u, e) {
|
|
|
4731
4846
|
y: s
|
|
4732
4847
|
};
|
|
4733
4848
|
}
|
|
4734
|
-
const
|
|
4735
|
-
function
|
|
4736
|
-
const t =
|
|
4849
|
+
const Bi = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
4850
|
+
function zi(u, e) {
|
|
4851
|
+
const t = Du(u, !0, e === "fixed"), n = t.top + u.clientTop, r = t.left + u.clientLeft, c = ru(u) ? zu(u) : nu(1), i = u.clientWidth * c.x, o = u.clientHeight * c.y, s = r * c.x, a = n * c.y;
|
|
4737
4852
|
return {
|
|
4738
4853
|
width: i,
|
|
4739
4854
|
height: o,
|
|
@@ -4741,16 +4856,16 @@ function gi(u, e) {
|
|
|
4741
4856
|
y: a
|
|
4742
4857
|
};
|
|
4743
4858
|
}
|
|
4744
|
-
function
|
|
4859
|
+
function v0(u, e, t) {
|
|
4745
4860
|
let n;
|
|
4746
4861
|
if (e === "viewport")
|
|
4747
|
-
n =
|
|
4862
|
+
n = Si(u, t);
|
|
4748
4863
|
else if (e === "document")
|
|
4749
|
-
n =
|
|
4864
|
+
n = Fi(iu(u));
|
|
4750
4865
|
else if (X(e))
|
|
4751
|
-
n =
|
|
4866
|
+
n = zi(e, t);
|
|
4752
4867
|
else {
|
|
4753
|
-
const r =
|
|
4868
|
+
const r = lt(u);
|
|
4754
4869
|
n = {
|
|
4755
4870
|
x: e.x - r.x,
|
|
4756
4871
|
y: e.y - r.y,
|
|
@@ -4758,36 +4873,36 @@ function m0(u, e, t) {
|
|
|
4758
4873
|
height: e.height
|
|
4759
4874
|
};
|
|
4760
4875
|
}
|
|
4761
|
-
return
|
|
4876
|
+
return ie(n);
|
|
4762
4877
|
}
|
|
4763
|
-
function
|
|
4764
|
-
const t =
|
|
4765
|
-
return t === e || !X(t) ||
|
|
4878
|
+
function dt(u, e) {
|
|
4879
|
+
const t = mu(u);
|
|
4880
|
+
return t === e || !X(t) || Lu(t) ? !1 : Q(t).position === "fixed" || dt(t, e);
|
|
4766
4881
|
}
|
|
4767
|
-
function
|
|
4882
|
+
function Mi(u, e) {
|
|
4768
4883
|
const t = e.get(u);
|
|
4769
4884
|
if (t)
|
|
4770
4885
|
return t;
|
|
4771
|
-
let n =
|
|
4886
|
+
let n = Hu(u, [], !1).filter((o) => X(o) && wu(o) !== "body"), r = null;
|
|
4772
4887
|
const c = Q(u).position === "fixed";
|
|
4773
|
-
let i = c ?
|
|
4774
|
-
for (; X(i) && !
|
|
4775
|
-
const o = Q(i), s =
|
|
4776
|
-
!s && o.position === "fixed" && (r = null), (c ? !s && !r : !s && o.position === "static" && !!r &&
|
|
4888
|
+
let i = c ? mu(u) : u;
|
|
4889
|
+
for (; X(i) && !Lu(i); ) {
|
|
4890
|
+
const o = Q(i), s = Je(i);
|
|
4891
|
+
!s && o.position === "fixed" && (r = null), (c ? !s && !r : !s && o.position === "static" && !!r && Bi.has(r.position) || Wu(i) && !s && dt(u, i)) ? n = n.filter((l) => l !== i) : r = o, i = mu(i);
|
|
4777
4892
|
}
|
|
4778
4893
|
return e.set(u, n), n;
|
|
4779
4894
|
}
|
|
4780
|
-
function
|
|
4895
|
+
function Ti(u) {
|
|
4781
4896
|
let {
|
|
4782
4897
|
element: e,
|
|
4783
4898
|
boundary: t,
|
|
4784
4899
|
rootBoundary: n,
|
|
4785
4900
|
strategy: r
|
|
4786
4901
|
} = u;
|
|
4787
|
-
const i = [...t === "clippingAncestors" ?
|
|
4788
|
-
const f =
|
|
4789
|
-
return a.top =
|
|
4790
|
-
},
|
|
4902
|
+
const i = [...t === "clippingAncestors" ? pe(e) ? [] : Mi(e, this._c) : [].concat(t), n], o = i[0], s = i.reduce((a, l) => {
|
|
4903
|
+
const f = v0(e, l, r);
|
|
4904
|
+
return a.top = Bu(f.top, a.top), a.right = Te(f.right, a.right), a.bottom = Te(f.bottom, a.bottom), a.left = Bu(f.left, a.left), a;
|
|
4905
|
+
}, v0(e, o, r));
|
|
4791
4906
|
return {
|
|
4792
4907
|
width: s.right - s.left,
|
|
4793
4908
|
height: s.bottom - s.top,
|
|
@@ -4795,33 +4910,33 @@ function yi(u) {
|
|
|
4795
4910
|
y: s.top
|
|
4796
4911
|
};
|
|
4797
4912
|
}
|
|
4798
|
-
function
|
|
4913
|
+
function qi(u) {
|
|
4799
4914
|
const {
|
|
4800
4915
|
width: e,
|
|
4801
4916
|
height: t
|
|
4802
|
-
} =
|
|
4917
|
+
} = at(u);
|
|
4803
4918
|
return {
|
|
4804
4919
|
width: e,
|
|
4805
4920
|
height: t
|
|
4806
4921
|
};
|
|
4807
4922
|
}
|
|
4808
|
-
function
|
|
4809
|
-
const n = ru(e), r = iu(e), c = t === "fixed", i =
|
|
4923
|
+
function Li(u, e, t) {
|
|
4924
|
+
const n = ru(e), r = iu(e), c = t === "fixed", i = Du(u, !0, c, e);
|
|
4810
4925
|
let o = {
|
|
4811
4926
|
scrollLeft: 0,
|
|
4812
4927
|
scrollTop: 0
|
|
4813
4928
|
};
|
|
4814
4929
|
const s = nu(0);
|
|
4815
4930
|
function a() {
|
|
4816
|
-
s.x =
|
|
4931
|
+
s.x = me(r);
|
|
4817
4932
|
}
|
|
4818
4933
|
if (n || !n && !c)
|
|
4819
|
-
if ((
|
|
4820
|
-
const h =
|
|
4934
|
+
if ((wu(e) !== "body" || Wu(r)) && (o = be(e)), n) {
|
|
4935
|
+
const h = Du(e, !0, c, e);
|
|
4821
4936
|
s.x = h.x + e.clientLeft, s.y = h.y + e.clientTop;
|
|
4822
4937
|
} else r && a();
|
|
4823
4938
|
c && !n && r && a();
|
|
4824
|
-
const l = r && !n && !c ?
|
|
4939
|
+
const l = r && !n && !c ? ft(r, o) : nu(0), f = i.left + o.scrollLeft - s.x - l.x, p = i.top + o.scrollTop - s.y - l.y;
|
|
4825
4940
|
return {
|
|
4826
4941
|
x: f,
|
|
4827
4942
|
y: p,
|
|
@@ -4829,10 +4944,10 @@ function vi(u, e, t) {
|
|
|
4829
4944
|
height: i.height
|
|
4830
4945
|
};
|
|
4831
4946
|
}
|
|
4832
|
-
function
|
|
4947
|
+
function Ee(u) {
|
|
4833
4948
|
return Q(u).position === "static";
|
|
4834
4949
|
}
|
|
4835
|
-
function
|
|
4950
|
+
function D0(u, e) {
|
|
4836
4951
|
if (!ru(u) || Q(u).position === "fixed")
|
|
4837
4952
|
return null;
|
|
4838
4953
|
if (e)
|
|
@@ -4840,28 +4955,28 @@ function _0(u, e) {
|
|
|
4840
4955
|
let t = u.offsetParent;
|
|
4841
4956
|
return iu(u) === t && (t = t.ownerDocument.body), t;
|
|
4842
4957
|
}
|
|
4843
|
-
function
|
|
4844
|
-
const t =
|
|
4845
|
-
if (
|
|
4958
|
+
function ht(u, e) {
|
|
4959
|
+
const t = Z(u);
|
|
4960
|
+
if (pe(u))
|
|
4846
4961
|
return t;
|
|
4847
4962
|
if (!ru(u)) {
|
|
4848
|
-
let r =
|
|
4849
|
-
for (; r && !
|
|
4850
|
-
if (X(r) && !
|
|
4963
|
+
let r = mu(u);
|
|
4964
|
+
for (; r && !Lu(r); ) {
|
|
4965
|
+
if (X(r) && !Ee(r))
|
|
4851
4966
|
return r;
|
|
4852
|
-
r =
|
|
4967
|
+
r = mu(r);
|
|
4853
4968
|
}
|
|
4854
4969
|
return t;
|
|
4855
4970
|
}
|
|
4856
|
-
let n =
|
|
4857
|
-
for (; n &&
|
|
4858
|
-
n =
|
|
4859
|
-
return n &&
|
|
4971
|
+
let n = D0(u, e);
|
|
4972
|
+
for (; n && xi(n) && Ee(n); )
|
|
4973
|
+
n = D0(n, e);
|
|
4974
|
+
return n && Lu(n) && Ee(n) && !Je(n) ? t : n || Ci(u) || t;
|
|
4860
4975
|
}
|
|
4861
|
-
const
|
|
4862
|
-
const e = this.getOffsetParent ||
|
|
4976
|
+
const Ri = async function(u) {
|
|
4977
|
+
const e = this.getOffsetParent || ht, t = this.getDimensions, n = await t(u.floating);
|
|
4863
4978
|
return {
|
|
4864
|
-
reference:
|
|
4979
|
+
reference: Li(u.reference, await e(u.floating), u.strategy),
|
|
4865
4980
|
floating: {
|
|
4866
4981
|
x: 0,
|
|
4867
4982
|
y: 0,
|
|
@@ -4870,25 +4985,25 @@ const Di = async function(u) {
|
|
|
4870
4985
|
}
|
|
4871
4986
|
};
|
|
4872
4987
|
};
|
|
4873
|
-
function
|
|
4988
|
+
function Ii(u) {
|
|
4874
4989
|
return Q(u).direction === "rtl";
|
|
4875
4990
|
}
|
|
4876
|
-
const
|
|
4877
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
4991
|
+
const Pi = {
|
|
4992
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Ei,
|
|
4878
4993
|
getDocumentElement: iu,
|
|
4879
|
-
getClippingRect:
|
|
4880
|
-
getOffsetParent:
|
|
4881
|
-
getElementRects:
|
|
4882
|
-
getClientRects:
|
|
4883
|
-
getDimensions:
|
|
4884
|
-
getScale:
|
|
4994
|
+
getClippingRect: Ti,
|
|
4995
|
+
getOffsetParent: ht,
|
|
4996
|
+
getElementRects: Ri,
|
|
4997
|
+
getClientRects: Ai,
|
|
4998
|
+
getDimensions: qi,
|
|
4999
|
+
getScale: zu,
|
|
4885
5000
|
isElement: X,
|
|
4886
|
-
isRTL:
|
|
5001
|
+
isRTL: Ii
|
|
4887
5002
|
};
|
|
4888
|
-
function
|
|
5003
|
+
function pt(u, e) {
|
|
4889
5004
|
return u.x === e.x && u.y === e.y && u.width === e.width && u.height === e.height;
|
|
4890
5005
|
}
|
|
4891
|
-
function
|
|
5006
|
+
function Oi(u, e) {
|
|
4892
5007
|
let t = null, n;
|
|
4893
5008
|
const r = iu(u);
|
|
4894
5009
|
function c() {
|
|
@@ -4905,9 +5020,9 @@ function Ai(u, e) {
|
|
|
4905
5020
|
} = a;
|
|
4906
5021
|
if (o || e(), !p || !h)
|
|
4907
5022
|
return;
|
|
4908
|
-
const d =
|
|
5023
|
+
const d = Yu(f), b = Yu(r.clientWidth - (l + p)), g = Yu(r.clientHeight - (f + h)), y = Yu(l), x = {
|
|
4909
5024
|
rootMargin: -d + "px " + -b + "px " + -g + "px " + -y + "px",
|
|
4910
|
-
threshold:
|
|
5025
|
+
threshold: Bu(0, Te(1, s)) || 1
|
|
4911
5026
|
};
|
|
4912
5027
|
let _ = !0;
|
|
4913
5028
|
function k(w) {
|
|
@@ -4919,22 +5034,22 @@ function Ai(u, e) {
|
|
|
4919
5034
|
i(!1, 1e-7);
|
|
4920
5035
|
}, 1e3);
|
|
4921
5036
|
}
|
|
4922
|
-
D === 1 && !
|
|
5037
|
+
D === 1 && !pt(a, u.getBoundingClientRect()) && i(), _ = !1;
|
|
4923
5038
|
}
|
|
4924
5039
|
try {
|
|
4925
5040
|
t = new IntersectionObserver(k, {
|
|
4926
|
-
...
|
|
5041
|
+
...x,
|
|
4927
5042
|
// Handle <iframe>s
|
|
4928
5043
|
root: r.ownerDocument
|
|
4929
5044
|
});
|
|
4930
5045
|
} catch {
|
|
4931
|
-
t = new IntersectionObserver(k,
|
|
5046
|
+
t = new IntersectionObserver(k, x);
|
|
4932
5047
|
}
|
|
4933
5048
|
t.observe(u);
|
|
4934
5049
|
}
|
|
4935
5050
|
return i(!0), c;
|
|
4936
5051
|
}
|
|
4937
|
-
function
|
|
5052
|
+
function $i(u, e, t, n) {
|
|
4938
5053
|
n === void 0 && (n = {});
|
|
4939
5054
|
const {
|
|
4940
5055
|
ancestorScroll: r = !0,
|
|
@@ -4942,82 +5057,82 @@ function Fi(u, e, t, n) {
|
|
|
4942
5057
|
elementResize: i = typeof ResizeObserver == "function",
|
|
4943
5058
|
layoutShift: o = typeof IntersectionObserver == "function",
|
|
4944
5059
|
animationFrame: s = !1
|
|
4945
|
-
} = n, a =
|
|
5060
|
+
} = n, a = Qe(u), l = r || c ? [...a ? Hu(a) : [], ...Hu(e)] : [];
|
|
4946
5061
|
l.forEach((y) => {
|
|
4947
5062
|
r && y.addEventListener("scroll", t, {
|
|
4948
5063
|
passive: !0
|
|
4949
5064
|
}), c && y.addEventListener("resize", t);
|
|
4950
5065
|
});
|
|
4951
|
-
const f = a && o ?
|
|
5066
|
+
const f = a && o ? Oi(a, t) : null;
|
|
4952
5067
|
let p = -1, h = null;
|
|
4953
5068
|
i && (h = new ResizeObserver((y) => {
|
|
4954
|
-
let [
|
|
4955
|
-
|
|
4956
|
-
var
|
|
4957
|
-
(
|
|
5069
|
+
let [m] = y;
|
|
5070
|
+
m && m.target === a && h && (h.unobserve(e), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
|
|
5071
|
+
var x;
|
|
5072
|
+
(x = h) == null || x.observe(e);
|
|
4958
5073
|
})), t();
|
|
4959
5074
|
}), a && !s && h.observe(a), h.observe(e));
|
|
4960
|
-
let d, b = s ?
|
|
5075
|
+
let d, b = s ? Du(u) : null;
|
|
4961
5076
|
s && g();
|
|
4962
5077
|
function g() {
|
|
4963
|
-
const y =
|
|
4964
|
-
b && !
|
|
5078
|
+
const y = Du(u);
|
|
5079
|
+
b && !pt(b, y) && t(), b = y, d = requestAnimationFrame(g);
|
|
4965
5080
|
}
|
|
4966
5081
|
return t(), () => {
|
|
4967
5082
|
var y;
|
|
4968
|
-
l.forEach((
|
|
4969
|
-
r &&
|
|
5083
|
+
l.forEach((m) => {
|
|
5084
|
+
r && m.removeEventListener("scroll", t), c && m.removeEventListener("resize", t);
|
|
4970
5085
|
}), f == null || f(), (y = h) == null || y.disconnect(), h = null, s && cancelAnimationFrame(d);
|
|
4971
5086
|
};
|
|
4972
5087
|
}
|
|
4973
|
-
const
|
|
5088
|
+
const Ni = pi, ji = fi, Hi = (u, e, t) => {
|
|
4974
5089
|
const n = /* @__PURE__ */ new Map(), r = {
|
|
4975
|
-
platform:
|
|
5090
|
+
platform: Pi,
|
|
4976
5091
|
...t
|
|
4977
5092
|
}, c = {
|
|
4978
5093
|
...r.platform,
|
|
4979
5094
|
_c: n
|
|
4980
5095
|
};
|
|
4981
|
-
return
|
|
5096
|
+
return ai(u, e, {
|
|
4982
5097
|
...r,
|
|
4983
5098
|
platform: c
|
|
4984
5099
|
});
|
|
4985
5100
|
};
|
|
4986
|
-
function
|
|
5101
|
+
function Vi(u) {
|
|
4987
5102
|
return u != null && typeof u == "object" && "$el" in u;
|
|
4988
5103
|
}
|
|
4989
|
-
function
|
|
4990
|
-
if (
|
|
5104
|
+
function w0(u) {
|
|
5105
|
+
if (Vi(u)) {
|
|
4991
5106
|
const e = u.$el;
|
|
4992
|
-
return
|
|
5107
|
+
return Ge(e) && wu(e) === "#comment" ? null : e;
|
|
4993
5108
|
}
|
|
4994
5109
|
return u;
|
|
4995
5110
|
}
|
|
4996
|
-
function
|
|
5111
|
+
function Iu(u) {
|
|
4997
5112
|
return typeof u == "function" ? u() : q(u);
|
|
4998
5113
|
}
|
|
4999
|
-
function
|
|
5114
|
+
function bt(u) {
|
|
5000
5115
|
return typeof window > "u" ? 1 : (u.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
5001
5116
|
}
|
|
5002
|
-
function
|
|
5003
|
-
const t =
|
|
5117
|
+
function E0(u, e) {
|
|
5118
|
+
const t = bt(u);
|
|
5004
5119
|
return Math.round(e * t) / t;
|
|
5005
5120
|
}
|
|
5006
|
-
function
|
|
5121
|
+
function Zi(u, e, t) {
|
|
5007
5122
|
t === void 0 && (t = {});
|
|
5008
5123
|
const n = t.whileElementsMounted, r = E(() => {
|
|
5009
5124
|
var D;
|
|
5010
|
-
return (D =
|
|
5011
|
-
}), c = E(() =>
|
|
5125
|
+
return (D = Iu(t.open)) != null ? D : !0;
|
|
5126
|
+
}), c = E(() => Iu(t.middleware)), i = E(() => {
|
|
5012
5127
|
var D;
|
|
5013
|
-
return (D =
|
|
5128
|
+
return (D = Iu(t.placement)) != null ? D : "bottom";
|
|
5014
5129
|
}), o = E(() => {
|
|
5015
5130
|
var D;
|
|
5016
|
-
return (D =
|
|
5131
|
+
return (D = Iu(t.strategy)) != null ? D : "absolute";
|
|
5017
5132
|
}), s = E(() => {
|
|
5018
5133
|
var D;
|
|
5019
|
-
return (D =
|
|
5020
|
-
}), a = E(() =>
|
|
5134
|
+
return (D = Iu(t.transform)) != null ? D : !0;
|
|
5135
|
+
}), a = E(() => w0(u.value)), l = E(() => w0(e.value)), f = N(0), p = N(0), h = N(o.value), d = N(i.value), b = Pu({}), g = N(!1), y = E(() => {
|
|
5021
5136
|
const D = {
|
|
5022
5137
|
position: h.value,
|
|
5023
5138
|
left: "0",
|
|
@@ -5025,11 +5140,11 @@ function Ti(u, e, t) {
|
|
|
5025
5140
|
};
|
|
5026
5141
|
if (!l.value)
|
|
5027
5142
|
return D;
|
|
5028
|
-
const S =
|
|
5143
|
+
const S = E0(l.value, f.value), M = E0(l.value, p.value);
|
|
5029
5144
|
return s.value ? {
|
|
5030
5145
|
...D,
|
|
5031
5146
|
transform: "translate(" + S + "px, " + M + "px)",
|
|
5032
|
-
...
|
|
5147
|
+
...bt(l.value) >= 1.5 && {
|
|
5033
5148
|
willChange: "transform"
|
|
5034
5149
|
}
|
|
5035
5150
|
} : {
|
|
@@ -5038,12 +5153,12 @@ function Ti(u, e, t) {
|
|
|
5038
5153
|
top: M + "px"
|
|
5039
5154
|
};
|
|
5040
5155
|
});
|
|
5041
|
-
let
|
|
5042
|
-
function
|
|
5156
|
+
let m;
|
|
5157
|
+
function x() {
|
|
5043
5158
|
if (a.value == null || l.value == null)
|
|
5044
5159
|
return;
|
|
5045
5160
|
const D = r.value;
|
|
5046
|
-
|
|
5161
|
+
Hi(a.value, l.value, {
|
|
5047
5162
|
middleware: c.value,
|
|
5048
5163
|
placement: i.value,
|
|
5049
5164
|
strategy: o.value
|
|
@@ -5052,41 +5167,41 @@ function Ti(u, e, t) {
|
|
|
5052
5167
|
});
|
|
5053
5168
|
}
|
|
5054
5169
|
function _() {
|
|
5055
|
-
typeof
|
|
5170
|
+
typeof m == "function" && (m(), m = void 0);
|
|
5056
5171
|
}
|
|
5057
5172
|
function k() {
|
|
5058
5173
|
if (_(), n === void 0) {
|
|
5059
|
-
|
|
5174
|
+
x();
|
|
5060
5175
|
return;
|
|
5061
5176
|
}
|
|
5062
5177
|
if (a.value != null && l.value != null) {
|
|
5063
|
-
|
|
5178
|
+
m = n(a.value, l.value, x);
|
|
5064
5179
|
return;
|
|
5065
5180
|
}
|
|
5066
5181
|
}
|
|
5067
5182
|
function w() {
|
|
5068
5183
|
r.value || (g.value = !1);
|
|
5069
5184
|
}
|
|
5070
|
-
return
|
|
5185
|
+
return Ku([c, i, o, r], x, {
|
|
5071
5186
|
flush: "sync"
|
|
5072
|
-
}),
|
|
5187
|
+
}), Ku([a, l], k, {
|
|
5073
5188
|
flush: "sync"
|
|
5074
|
-
}),
|
|
5189
|
+
}), Ku(r, w, {
|
|
5075
5190
|
flush: "sync"
|
|
5076
|
-
}),
|
|
5077
|
-
x:
|
|
5078
|
-
y:
|
|
5079
|
-
strategy:
|
|
5080
|
-
placement:
|
|
5081
|
-
middlewareData:
|
|
5082
|
-
isPositioned:
|
|
5191
|
+
}), Ct() && vt(_), {
|
|
5192
|
+
x: Eu(f),
|
|
5193
|
+
y: Eu(p),
|
|
5194
|
+
strategy: Eu(h),
|
|
5195
|
+
placement: Eu(d),
|
|
5196
|
+
middlewareData: Eu(b),
|
|
5197
|
+
isPositioned: Eu(g),
|
|
5083
5198
|
floatingStyles: y,
|
|
5084
|
-
update:
|
|
5199
|
+
update: x
|
|
5085
5200
|
};
|
|
5086
5201
|
}
|
|
5087
|
-
const
|
|
5202
|
+
const is = /* @__PURE__ */ I({
|
|
5088
5203
|
__name: "popover",
|
|
5089
|
-
props: /* @__PURE__ */
|
|
5204
|
+
props: /* @__PURE__ */ ue({
|
|
5090
5205
|
placement: { default: "top" },
|
|
5091
5206
|
offset: { default: 10 },
|
|
5092
5207
|
teleported: { type: Boolean, default: !0 },
|
|
@@ -5102,17 +5217,17 @@ const Gi = /* @__PURE__ */ I({
|
|
|
5102
5217
|
}),
|
|
5103
5218
|
emits: ["update:visible"],
|
|
5104
5219
|
setup(u) {
|
|
5105
|
-
const { nextZIndex: e } =
|
|
5220
|
+
const { nextZIndex: e } = T0();
|
|
5106
5221
|
let t;
|
|
5107
|
-
const n = u, r =
|
|
5222
|
+
const n = u, r = N(0), c = Pu(null), i = Pu(null), o = ee(u, "visible"), { floatingStyles: s } = Zi(c, i, {
|
|
5108
5223
|
placement: n.placement,
|
|
5109
|
-
whileElementsMounted:
|
|
5224
|
+
whileElementsMounted: $i,
|
|
5110
5225
|
transform: !1,
|
|
5111
|
-
middleware: [
|
|
5226
|
+
middleware: [Ni(n.offset), ji()]
|
|
5112
5227
|
});
|
|
5113
|
-
|
|
5228
|
+
Ku(o, (b) => {
|
|
5114
5229
|
b && (r.value = e());
|
|
5115
|
-
}),
|
|
5230
|
+
}), Ie(() => {
|
|
5116
5231
|
d(), document.removeEventListener("click", h);
|
|
5117
5232
|
});
|
|
5118
5233
|
function a() {
|
|
@@ -5137,37 +5252,37 @@ const Gi = /* @__PURE__ */ I({
|
|
|
5137
5252
|
function d() {
|
|
5138
5253
|
t && (clearTimeout(t), t = void 0);
|
|
5139
5254
|
}
|
|
5140
|
-
return (b, g) => (v(), F(
|
|
5255
|
+
return (b, g) => (v(), F(Fe, null, [
|
|
5141
5256
|
C("span", {
|
|
5142
|
-
class:
|
|
5143
|
-
style:
|
|
5257
|
+
class: $(["sq-popover-trigger", b.$attrs.class]),
|
|
5258
|
+
style: Cu(b.$attrs.style),
|
|
5144
5259
|
ref_key: "triggerRef",
|
|
5145
5260
|
ref: c,
|
|
5146
5261
|
onMouseenter: a,
|
|
5147
5262
|
onMouseleave: l,
|
|
5148
5263
|
onClick: f
|
|
5149
5264
|
}, [
|
|
5150
|
-
|
|
5265
|
+
P(b.$slots, "reference")
|
|
5151
5266
|
], 38),
|
|
5152
|
-
(v(),
|
|
5267
|
+
(v(), R(Dt, {
|
|
5153
5268
|
to: "body",
|
|
5154
5269
|
disabled: !n.teleported
|
|
5155
5270
|
}, [
|
|
5156
|
-
|
|
5271
|
+
vu(Pe, {
|
|
5157
5272
|
name: n.transition
|
|
5158
5273
|
}, {
|
|
5159
|
-
default:
|
|
5160
|
-
|
|
5161
|
-
class:
|
|
5162
|
-
style:
|
|
5274
|
+
default: su(() => [
|
|
5275
|
+
ku(C("div", {
|
|
5276
|
+
class: $(["sq-popover", b.popoverClass]),
|
|
5277
|
+
style: Cu({ ...q(s), zIndex: r.value }),
|
|
5163
5278
|
ref_key: "popverRef",
|
|
5164
5279
|
ref: i,
|
|
5165
|
-
onClick: g[0] || (g[0] =
|
|
5280
|
+
onClick: g[0] || (g[0] = wt(() => {
|
|
5166
5281
|
}, ["stop"]))
|
|
5167
5282
|
}, [
|
|
5168
|
-
|
|
5283
|
+
P(b.$slots, "default")
|
|
5169
5284
|
], 6), [
|
|
5170
|
-
[
|
|
5285
|
+
[Fu, o.value]
|
|
5171
5286
|
])
|
|
5172
5287
|
]),
|
|
5173
5288
|
_: 3
|
|
@@ -5175,7 +5290,7 @@ const Gi = /* @__PURE__ */ I({
|
|
|
5175
5290
|
], 8, ["disabled"]))
|
|
5176
5291
|
], 64));
|
|
5177
5292
|
}
|
|
5178
|
-
}),
|
|
5293
|
+
}), ss = /* @__PURE__ */ I({
|
|
5179
5294
|
__name: "tag",
|
|
5180
5295
|
props: {
|
|
5181
5296
|
type: {},
|
|
@@ -5188,17 +5303,17 @@ const Gi = /* @__PURE__ */ I({
|
|
|
5188
5303
|
const r = [];
|
|
5189
5304
|
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;
|
|
5190
5305
|
}), n = E(() => e.size === "lg" ? "md" : "sm");
|
|
5191
|
-
return (r, c) => (v(),
|
|
5192
|
-
class:
|
|
5306
|
+
return (r, c) => (v(), R(q(Gu), {
|
|
5307
|
+
class: $(["sq-tag", t.value]),
|
|
5193
5308
|
size: n.value
|
|
5194
5309
|
}, {
|
|
5195
|
-
default:
|
|
5196
|
-
|
|
5310
|
+
default: su(() => [
|
|
5311
|
+
P(r.$slots, "default")
|
|
5197
5312
|
]),
|
|
5198
5313
|
_: 3
|
|
5199
5314
|
}, 8, ["class", "size"]));
|
|
5200
5315
|
}
|
|
5201
|
-
}),
|
|
5316
|
+
}), as = /* @__PURE__ */ I({
|
|
5202
5317
|
__name: "check-tag",
|
|
5203
5318
|
props: {
|
|
5204
5319
|
checked: { type: Boolean, default: !1 },
|
|
@@ -5213,18 +5328,18 @@ const Gi = /* @__PURE__ */ I({
|
|
|
5213
5328
|
const i = [];
|
|
5214
5329
|
return n.size !== "md" && i.push(`sq-tag--${n.size}`), n.theme !== "plain" && i.push(`is-${n.theme}`), n.type && i.push(`is-${n.type}`), n.round && i.push("is-round"), n.checked && i.push("is-checked"), i;
|
|
5215
5330
|
}), c = E(() => n.size === "lg" ? "md" : "sm");
|
|
5216
|
-
return (i, o) => (v(),
|
|
5217
|
-
class:
|
|
5331
|
+
return (i, o) => (v(), R(q(Gu), {
|
|
5332
|
+
class: $(["sq-check-tag", r.value]),
|
|
5218
5333
|
size: c.value,
|
|
5219
5334
|
onClick: o[0] || (o[0] = (s) => t("change", !n.checked))
|
|
5220
5335
|
}, {
|
|
5221
|
-
default:
|
|
5222
|
-
|
|
5336
|
+
default: su(() => [
|
|
5337
|
+
P(i.$slots, "default")
|
|
5223
5338
|
]),
|
|
5224
5339
|
_: 3
|
|
5225
5340
|
}, 8, ["class", "size"]));
|
|
5226
5341
|
}
|
|
5227
|
-
}),
|
|
5342
|
+
}), Gu = /* @__PURE__ */ I({
|
|
5228
5343
|
__name: "text",
|
|
5229
5344
|
props: {
|
|
5230
5345
|
rowNum: { default: 1 },
|
|
@@ -5239,13 +5354,13 @@ const Gi = /* @__PURE__ */ I({
|
|
|
5239
5354
|
() => e.ellipsis ? `--row-num: ${e.rowNum}` : ""
|
|
5240
5355
|
);
|
|
5241
5356
|
return (r, c) => (v(), F("span", {
|
|
5242
|
-
class:
|
|
5243
|
-
style:
|
|
5357
|
+
class: $(["sq-text", t.value]),
|
|
5358
|
+
style: Cu(n.value)
|
|
5244
5359
|
}, [
|
|
5245
|
-
|
|
5360
|
+
P(r.$slots, "default")
|
|
5246
5361
|
], 6));
|
|
5247
5362
|
}
|
|
5248
|
-
}),
|
|
5363
|
+
}), ls = /* @__PURE__ */ I({
|
|
5249
5364
|
__name: "timeline",
|
|
5250
5365
|
props: {
|
|
5251
5366
|
align: { default: "left" }
|
|
@@ -5256,12 +5371,12 @@ const Gi = /* @__PURE__ */ I({
|
|
|
5256
5371
|
return n.push(`align-${e.align}`), n;
|
|
5257
5372
|
});
|
|
5258
5373
|
return (n, r) => (v(), F("div", {
|
|
5259
|
-
class:
|
|
5374
|
+
class: $(["sq-timeline", t.value])
|
|
5260
5375
|
}, [
|
|
5261
|
-
|
|
5376
|
+
P(n.$slots, "default")
|
|
5262
5377
|
], 2));
|
|
5263
5378
|
}
|
|
5264
|
-
}),
|
|
5379
|
+
}), Ui = { class: "sq-timeline-dot" }, Wi = { class: "sq-timeline-content" }, Gi = ["textContent"], Ji = ["textContent"], Xi = { class: "content-info" }, fs = /* @__PURE__ */ I({
|
|
5265
5380
|
__name: "timeline-item",
|
|
5266
5381
|
props: {
|
|
5267
5382
|
color: {},
|
|
@@ -5281,45 +5396,46 @@ const Gi = /* @__PURE__ */ I({
|
|
|
5281
5396
|
return e.color && (r["--timeline-dot-color"] = e.color), r;
|
|
5282
5397
|
});
|
|
5283
5398
|
return (r, c) => (v(), F("div", {
|
|
5284
|
-
class:
|
|
5285
|
-
style:
|
|
5399
|
+
class: $(["sq-timeline-item", t.value]),
|
|
5400
|
+
style: Cu(n.value)
|
|
5286
5401
|
}, [
|
|
5287
|
-
C("span",
|
|
5288
|
-
e.icon ? (v(),
|
|
5402
|
+
C("span", Ui, [
|
|
5403
|
+
e.icon ? (v(), R(hu(e.icon), { key: 0 })) : V("", !0)
|
|
5289
5404
|
]),
|
|
5290
|
-
C("div",
|
|
5405
|
+
C("div", Wi, [
|
|
5291
5406
|
e.title ? (v(), F("h2", {
|
|
5292
5407
|
key: 0,
|
|
5293
5408
|
class: "content-title",
|
|
5294
|
-
textContent:
|
|
5295
|
-
}, null, 8,
|
|
5409
|
+
textContent: pu(e.title)
|
|
5410
|
+
}, null, 8, Gi)) : V("", !0),
|
|
5296
5411
|
e.timestamp ? (v(), F("span", {
|
|
5297
5412
|
key: 1,
|
|
5298
5413
|
class: "content-time",
|
|
5299
|
-
textContent:
|
|
5300
|
-
}, null, 8,
|
|
5301
|
-
C("div",
|
|
5302
|
-
|
|
5414
|
+
textContent: pu(e.timestamp)
|
|
5415
|
+
}, null, 8, Ji)) : V("", !0),
|
|
5416
|
+
C("div", Xi, [
|
|
5417
|
+
P(r.$slots, "default")
|
|
5303
5418
|
])
|
|
5304
5419
|
])
|
|
5305
5420
|
], 6));
|
|
5306
5421
|
}
|
|
5307
5422
|
});
|
|
5308
5423
|
export {
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5424
|
+
Yi as SqAlert,
|
|
5425
|
+
Ki as SqArticle,
|
|
5426
|
+
us as SqAvatar,
|
|
5427
|
+
es as SqBacktop,
|
|
5428
|
+
Qu as SqButton,
|
|
5429
|
+
ts as SqButtonGroup,
|
|
5430
|
+
ns as SqCard,
|
|
5431
|
+
as as SqCheckTag,
|
|
5432
|
+
rs as SqInput,
|
|
5433
|
+
cs as SqMessage,
|
|
5434
|
+
os as SqPagination,
|
|
5435
|
+
is as SqPopover,
|
|
5436
|
+
Bo as SqProgress,
|
|
5437
|
+
ss as SqTag,
|
|
5438
|
+
Gu as SqText,
|
|
5439
|
+
ls as SqTimeline,
|
|
5440
|
+
fs as SqTimelineItem
|
|
5325
5441
|
};
|