@squirrel-cloud/ui-vue 0.2.40 → 0.2.42
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/form/form.d.ts +0 -2
- package/dist/props/input/input.d.ts +4 -0
- package/dist/squirrel-cloud-ui-vue.js +1024 -1024
- package/dist/squirrel-cloud-ui-vue.umd.cjs +22 -22
- package/dist/typings/Form.d.ts +1 -1
- package/dist/typings/PopoverTrigger.d.ts +1 -1
- package/dist/typings/TriggerType.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { createElementBlock as S, openBlock as
|
|
2
|
-
const
|
|
1
|
+
import { createElementBlock as S, openBlock as D, createElementVNode as A, createStaticVNode as At, defineComponent as R, computed as E, createBlock as L, unref as w, normalizeClass as O, withCtx as uu, createCommentVNode as V, createTextVNode as I0, resolveDynamicComponent as bu, toDisplayString as su, h as Me, ref as $, normalizeStyle as au, onMounted as de, onBeforeUnmount as je, Transition as pe, withDirectives as Du, renderSlot as j, vShow as Wu, inject as Tu, createVNode as Gu, provide as He, toRef as _u, useSlots as $0, mergeModels as eu, useModel as mu, toRaw as ue, Fragment as Nu, renderList as Ve, mergeProps as c0, shallowRef as Mu, vModelDynamic as Ft, render as i0, watch as re, getCurrentScope as St, onScopeDispose as zt, shallowReadonly as Fu, Teleport as qt, withModifiers as Bt, vModelText as Tt } from "vue";
|
|
2
|
+
const U = (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
|
+
}, Mt = {}, Lt = {
|
|
8
8
|
class: "sq-icon",
|
|
9
9
|
"data-icon": "arrow-left"
|
|
10
10
|
};
|
|
11
|
-
function
|
|
12
|
-
return
|
|
11
|
+
function Rt(u, e) {
|
|
12
|
+
return D(), S("span", Lt, e[0] || (e[0] = [
|
|
13
13
|
A("svg", {
|
|
14
14
|
viewBox: "0 0 48 48",
|
|
15
15
|
version: "1.1",
|
|
@@ -20,12 +20,12 @@ function Lt(u, e) {
|
|
|
20
20
|
], -1)
|
|
21
21
|
]));
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const It = /* @__PURE__ */ U(Mt, [["render", Rt]]), $t = {}, Ot = {
|
|
24
24
|
class: "sq-icon",
|
|
25
25
|
"data-icon": "arrow-right"
|
|
26
26
|
};
|
|
27
|
-
function
|
|
28
|
-
return
|
|
27
|
+
function Pt(u, e) {
|
|
28
|
+
return D(), S("span", Ot, e[0] || (e[0] = [
|
|
29
29
|
A("svg", {
|
|
30
30
|
viewBox: "0 0 48 48",
|
|
31
31
|
version: "1.1",
|
|
@@ -36,12 +36,12 @@ function Ot(u, e) {
|
|
|
36
36
|
], -1)
|
|
37
37
|
]));
|
|
38
38
|
}
|
|
39
|
-
const
|
|
39
|
+
const Nt = /* @__PURE__ */ U($t, [["render", Pt]]), jt = {}, Ht = {
|
|
40
40
|
class: "sq-icon",
|
|
41
41
|
"data-icon": "caret-up"
|
|
42
42
|
};
|
|
43
|
-
function
|
|
44
|
-
return
|
|
43
|
+
function Vt(u, e) {
|
|
44
|
+
return D(), S("span", Ht, e[0] || (e[0] = [
|
|
45
45
|
A("svg", {
|
|
46
46
|
viewBox: "0 0 48 48",
|
|
47
47
|
version: "1.1",
|
|
@@ -51,12 +51,12 @@ function Ht(u, e) {
|
|
|
51
51
|
], -1)
|
|
52
52
|
]));
|
|
53
53
|
}
|
|
54
|
-
const
|
|
54
|
+
const Ut = /* @__PURE__ */ U(jt, [["render", Vt]]), Zt = {}, Wt = {
|
|
55
55
|
class: "sq-icon",
|
|
56
56
|
"data-icon": "check-circle"
|
|
57
57
|
};
|
|
58
|
-
function
|
|
59
|
-
return
|
|
58
|
+
function Gt(u, e) {
|
|
59
|
+
return D(), S("span", Wt, e[0] || (e[0] = [
|
|
60
60
|
A("svg", {
|
|
61
61
|
viewBox: "0 0 48 48",
|
|
62
62
|
version: "1.1",
|
|
@@ -72,12 +72,12 @@ function Wt(u, e) {
|
|
|
72
72
|
], -1)
|
|
73
73
|
]));
|
|
74
74
|
}
|
|
75
|
-
const
|
|
75
|
+
const Jt = /* @__PURE__ */ U(Zt, [["render", Gt]]), Xt = {}, Qt = {
|
|
76
76
|
class: "sq-icon",
|
|
77
77
|
"data-icon": "check-filled"
|
|
78
78
|
};
|
|
79
|
-
function
|
|
80
|
-
return
|
|
79
|
+
function Yt(u, e) {
|
|
80
|
+
return D(), S("span", Qt, e[0] || (e[0] = [
|
|
81
81
|
A("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 O0 = /* @__PURE__ */ U(Xt, [["render", Yt]]), Kt = {}, un = {
|
|
93
93
|
class: "sq-icon",
|
|
94
94
|
"data-icon": "close"
|
|
95
95
|
};
|
|
96
|
-
function
|
|
97
|
-
return
|
|
96
|
+
function en(u, e) {
|
|
97
|
+
return D(), S("span", un, e[0] || (e[0] = [
|
|
98
98
|
A("svg", {
|
|
99
99
|
viewBox: "0 0 48 48",
|
|
100
100
|
version: "1.1",
|
|
@@ -107,12 +107,12 @@ function un(u, e) {
|
|
|
107
107
|
], -1)
|
|
108
108
|
]));
|
|
109
109
|
}
|
|
110
|
-
const
|
|
110
|
+
const tn = /* @__PURE__ */ U(Kt, [["render", en]]), nn = {}, rn = {
|
|
111
111
|
class: "sq-icon",
|
|
112
112
|
"data-icon": "close-circle"
|
|
113
113
|
};
|
|
114
|
-
function
|
|
115
|
-
return
|
|
114
|
+
function on(u, e) {
|
|
115
|
+
return D(), S("span", rn, e[0] || (e[0] = [
|
|
116
116
|
A("svg", {
|
|
117
117
|
viewBox: "0 0 48 48",
|
|
118
118
|
version: "1.1",
|
|
@@ -130,12 +130,12 @@ function rn(u, e) {
|
|
|
130
130
|
], -1)
|
|
131
131
|
]));
|
|
132
132
|
}
|
|
133
|
-
const
|
|
133
|
+
const cn = /* @__PURE__ */ U(nn, [["render", on]]), sn = {}, an = {
|
|
134
134
|
class: "sq-icon",
|
|
135
135
|
"data-icon": "close-filled"
|
|
136
136
|
};
|
|
137
|
-
function
|
|
138
|
-
return
|
|
137
|
+
function ln(u, e) {
|
|
138
|
+
return D(), S("span", an, e[0] || (e[0] = [
|
|
139
139
|
A("svg", {
|
|
140
140
|
viewBox: "0 0 48 48",
|
|
141
141
|
version: "1.1",
|
|
@@ -148,12 +148,12 @@ function an(u, e) {
|
|
|
148
148
|
], -1)
|
|
149
149
|
]));
|
|
150
150
|
}
|
|
151
|
-
const
|
|
151
|
+
const P0 = /* @__PURE__ */ U(sn, [["render", ln]]), fn = {}, dn = {
|
|
152
152
|
class: "sq-icon",
|
|
153
153
|
"data-icon": "ellipsis"
|
|
154
154
|
};
|
|
155
|
-
function
|
|
156
|
-
return
|
|
155
|
+
function pn(u, e) {
|
|
156
|
+
return D(), S("span", dn, e[0] || (e[0] = [
|
|
157
157
|
A("svg", {
|
|
158
158
|
viewBox: "0 0 48 48",
|
|
159
159
|
version: "1.1",
|
|
@@ -165,12 +165,12 @@ function dn(u, e) {
|
|
|
165
165
|
], -1)
|
|
166
166
|
]));
|
|
167
167
|
}
|
|
168
|
-
const
|
|
168
|
+
const hn = /* @__PURE__ */ U(fn, [["render", pn]]), bn = {}, mn = {
|
|
169
169
|
class: "sq-icon",
|
|
170
170
|
"data-icon": "hide"
|
|
171
171
|
};
|
|
172
|
-
function
|
|
173
|
-
return
|
|
172
|
+
function xn(u, e) {
|
|
173
|
+
return D(), S("span", mn, e[0] || (e[0] = [
|
|
174
174
|
A("svg", {
|
|
175
175
|
viewBox: "0 0 48 48",
|
|
176
176
|
version: "1.1",
|
|
@@ -188,12 +188,12 @@ function mn(u, e) {
|
|
|
188
188
|
], -1)
|
|
189
189
|
]));
|
|
190
190
|
}
|
|
191
|
-
const
|
|
191
|
+
const gn = /* @__PURE__ */ U(bn, [["render", xn]]), _n = {}, kn = {
|
|
192
192
|
class: "sq-icon",
|
|
193
193
|
"data-icon": "info-filled"
|
|
194
194
|
};
|
|
195
|
-
function
|
|
196
|
-
return
|
|
195
|
+
function yn(u, e) {
|
|
196
|
+
return D(), S("span", kn, e[0] || (e[0] = [
|
|
197
197
|
A("svg", {
|
|
198
198
|
viewBox: "0 0 48 48",
|
|
199
199
|
version: "1.1",
|
|
@@ -209,12 +209,12 @@ function kn(u, e) {
|
|
|
209
209
|
], -1)
|
|
210
210
|
]));
|
|
211
211
|
}
|
|
212
|
-
const
|
|
212
|
+
const N0 = /* @__PURE__ */ U(_n, [["render", yn]]), vn = {}, Cn = {
|
|
213
213
|
class: "sq-icon",
|
|
214
214
|
"data-icon": "jump-to"
|
|
215
215
|
};
|
|
216
|
-
function
|
|
217
|
-
return
|
|
216
|
+
function wn(u, e) {
|
|
217
|
+
return D(), S("span", Cn, e[0] || (e[0] = [
|
|
218
218
|
A("svg", {
|
|
219
219
|
viewBox: "0 0 48 48",
|
|
220
220
|
version: "1.1",
|
|
@@ -225,12 +225,12 @@ function Cn(u, e) {
|
|
|
225
225
|
], -1)
|
|
226
226
|
]));
|
|
227
227
|
}
|
|
228
|
-
const
|
|
228
|
+
const Dn = /* @__PURE__ */ U(vn, [["render", wn]]), En = {}, An = {
|
|
229
229
|
class: "sq-icon is-loading",
|
|
230
230
|
"data-icon": "loading"
|
|
231
231
|
};
|
|
232
|
-
function
|
|
233
|
-
return
|
|
232
|
+
function Fn(u, e) {
|
|
233
|
+
return D(), S("span", An, e[0] || (e[0] = [
|
|
234
234
|
A("svg", {
|
|
235
235
|
viewBox: "0 0 48 48",
|
|
236
236
|
version: "1.1",
|
|
@@ -244,12 +244,12 @@ function An(u, e) {
|
|
|
244
244
|
], -1)
|
|
245
245
|
]));
|
|
246
246
|
}
|
|
247
|
-
const
|
|
247
|
+
const j0 = /* @__PURE__ */ U(En, [["render", Fn]]), Sn = {}, zn = {
|
|
248
248
|
class: "sq-icon",
|
|
249
249
|
"data-icon": "view"
|
|
250
250
|
};
|
|
251
251
|
function qn(u, e) {
|
|
252
|
-
return
|
|
252
|
+
return D(), S("span", zn, e[0] || (e[0] = [
|
|
253
253
|
A("svg", {
|
|
254
254
|
viewBox: "0 0 48 48",
|
|
255
255
|
version: "1.1",
|
|
@@ -263,25 +263,25 @@ function qn(u, e) {
|
|
|
263
263
|
], -1)
|
|
264
264
|
]));
|
|
265
265
|
}
|
|
266
|
-
const Bn = /* @__PURE__ */
|
|
266
|
+
const Bn = /* @__PURE__ */ U(Sn, [["render", qn]]), Tn = {}, Mn = {
|
|
267
267
|
class: "sq-icon",
|
|
268
268
|
"data-icon": "warning-circle"
|
|
269
269
|
};
|
|
270
270
|
function Ln(u, e) {
|
|
271
|
-
return
|
|
272
|
-
|
|
271
|
+
return D(), S("span", Mn, e[0] || (e[0] = [
|
|
272
|
+
At(`<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 Rn = /* @__PURE__ */
|
|
279
|
+
const Rn = /* @__PURE__ */ U(Tn, [["render", Ln]]), In = {}, $n = {
|
|
280
280
|
class: "sq-icon",
|
|
281
281
|
"data-icon": "warning-filled"
|
|
282
282
|
};
|
|
283
283
|
function On(u, e) {
|
|
284
|
-
return
|
|
284
|
+
return D(), S("span", $n, e[0] || (e[0] = [
|
|
285
285
|
A("svg", {
|
|
286
286
|
viewBox: "0 0 48 48",
|
|
287
287
|
version: "1.1",
|
|
@@ -293,7 +293,7 @@ function On(u, e) {
|
|
|
293
293
|
], -1)
|
|
294
294
|
]));
|
|
295
295
|
}
|
|
296
|
-
const
|
|
296
|
+
const H0 = /* @__PURE__ */ U(In, [["render", On]]), ks = /* @__PURE__ */ R({
|
|
297
297
|
name: "sq-alert",
|
|
298
298
|
__name: "alert",
|
|
299
299
|
props: {
|
|
@@ -303,44 +303,44 @@ const N0 = /* @__PURE__ */ V(In, [["render", On]]), ks = /* @__PURE__ */ R({
|
|
|
303
303
|
text: {}
|
|
304
304
|
},
|
|
305
305
|
setup(u) {
|
|
306
|
-
const e = u, t =
|
|
306
|
+
const e = u, t = E(() => {
|
|
307
307
|
const r = [];
|
|
308
308
|
return e.type && r.push(`is-${e.type}`), r;
|
|
309
|
-
}), n =
|
|
309
|
+
}), n = E(() => {
|
|
310
310
|
if (e.icon) return e.icon;
|
|
311
311
|
if (!e.showIcon) return;
|
|
312
312
|
switch (e.type) {
|
|
313
313
|
case "primary":
|
|
314
314
|
case "info":
|
|
315
|
-
return
|
|
315
|
+
return N0;
|
|
316
316
|
case "success":
|
|
317
|
-
return
|
|
317
|
+
return O0;
|
|
318
318
|
case "warn":
|
|
319
|
-
return
|
|
319
|
+
return H0;
|
|
320
320
|
case "error":
|
|
321
|
-
return
|
|
321
|
+
return P0;
|
|
322
322
|
default:
|
|
323
323
|
return;
|
|
324
324
|
}
|
|
325
325
|
});
|
|
326
|
-
return (r, o) => (
|
|
327
|
-
class:
|
|
326
|
+
return (r, o) => (D(), L(w(Ku), {
|
|
327
|
+
class: O(["sq-alert", t.value])
|
|
328
328
|
}, {
|
|
329
|
-
default:
|
|
330
|
-
n.value ? (
|
|
331
|
-
|
|
329
|
+
default: uu(() => [
|
|
330
|
+
n.value ? (D(), L(bu(n.value), { key: 0 })) : V("", !0),
|
|
331
|
+
I0(" " + su(e.text), 1)
|
|
332
332
|
]),
|
|
333
333
|
_: 1
|
|
334
334
|
}, 8, ["class"]));
|
|
335
335
|
}
|
|
336
336
|
});
|
|
337
|
-
let
|
|
337
|
+
let s0 = 0;
|
|
338
338
|
const Pn = () => ({
|
|
339
339
|
/**
|
|
340
340
|
* 获取下一个ID
|
|
341
341
|
* @returns 下一个ID
|
|
342
342
|
*/
|
|
343
|
-
nextId: () => (
|
|
343
|
+
nextId: () => (s0++, s0)
|
|
344
344
|
});
|
|
345
345
|
function Nn() {
|
|
346
346
|
function u(e = [0.3, 0.8], t = [0.1, 0.3], n = [0, 360]) {
|
|
@@ -358,10 +358,10 @@ function Nn() {
|
|
|
358
358
|
getRandomColor: u
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ue() {
|
|
362
362
|
function u(...e) {
|
|
363
363
|
for (const t of e) {
|
|
364
|
-
const n =
|
|
364
|
+
const n = w(t);
|
|
365
365
|
if (n != null) return n;
|
|
366
366
|
}
|
|
367
367
|
}
|
|
@@ -389,18 +389,18 @@ function jn() {
|
|
|
389
389
|
getRandomNum: u
|
|
390
390
|
};
|
|
391
391
|
}
|
|
392
|
-
let
|
|
393
|
-
const
|
|
392
|
+
let a0 = 2e3;
|
|
393
|
+
const V0 = () => ({
|
|
394
394
|
/**
|
|
395
395
|
* 获取下一个层级
|
|
396
396
|
* @returns 下一个层级
|
|
397
397
|
*/
|
|
398
|
-
nextZIndex: () => (
|
|
398
|
+
nextZIndex: () => (a0++, a0)
|
|
399
399
|
});
|
|
400
|
-
function
|
|
400
|
+
function K(u, e, t) {
|
|
401
401
|
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;
|
|
402
402
|
}
|
|
403
|
-
|
|
403
|
+
K.prototype.attrIndex = function(e) {
|
|
404
404
|
if (!this.attrs)
|
|
405
405
|
return -1;
|
|
406
406
|
const t = this.attrs;
|
|
@@ -409,19 +409,19 @@ Y.prototype.attrIndex = function(e) {
|
|
|
409
409
|
return n;
|
|
410
410
|
return -1;
|
|
411
411
|
};
|
|
412
|
-
|
|
412
|
+
K.prototype.attrPush = function(e) {
|
|
413
413
|
this.attrs ? this.attrs.push(e) : this.attrs = [e];
|
|
414
414
|
};
|
|
415
|
-
|
|
415
|
+
K.prototype.attrSet = function(e, t) {
|
|
416
416
|
const n = this.attrIndex(e), r = [e, t];
|
|
417
417
|
n < 0 ? this.attrPush(r) : this.attrs[n] = r;
|
|
418
418
|
};
|
|
419
|
-
|
|
419
|
+
K.prototype.attrGet = function(e) {
|
|
420
420
|
const t = this.attrIndex(e);
|
|
421
421
|
let n = null;
|
|
422
422
|
return t >= 0 && (n = this.attrs[t][1]), n;
|
|
423
423
|
};
|
|
424
|
-
|
|
424
|
+
K.prototype.attrJoin = function(e, t) {
|
|
425
425
|
const n = this.attrIndex(e);
|
|
426
426
|
n < 0 ? this.attrPush([e, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
|
|
427
427
|
};
|
|
@@ -444,7 +444,7 @@ function Hn(u) {
|
|
|
444
444
|
["disabled", ""]
|
|
445
445
|
];
|
|
446
446
|
l && f.push(["checked", ""]);
|
|
447
|
-
const h = new
|
|
447
|
+
const h = new K("input", "input", 0);
|
|
448
448
|
h.attrs = f, (r = c.children) == null || r.unshift(h);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
@@ -452,12 +452,12 @@ function Hn(u) {
|
|
|
452
452
|
}
|
|
453
453
|
});
|
|
454
454
|
}
|
|
455
|
-
const
|
|
455
|
+
const l0 = {};
|
|
456
456
|
function Vn(u) {
|
|
457
|
-
let e =
|
|
457
|
+
let e = l0[u];
|
|
458
458
|
if (e)
|
|
459
459
|
return e;
|
|
460
|
-
e =
|
|
460
|
+
e = l0[u] = [];
|
|
461
461
|
for (let t = 0; t < 128; t++) {
|
|
462
462
|
const n = String.fromCharCode(t);
|
|
463
463
|
e.push(n);
|
|
@@ -468,8 +468,8 @@ function Vn(u) {
|
|
|
468
468
|
}
|
|
469
469
|
return e;
|
|
470
470
|
}
|
|
471
|
-
function
|
|
472
|
-
typeof e != "string" && (e =
|
|
471
|
+
function Lu(u, e) {
|
|
472
|
+
typeof e != "string" && (e = Lu.defaultChars);
|
|
473
473
|
const t = Vn(e);
|
|
474
474
|
return u.replace(/(%[a-f0-9]{2})+/gi, function(n) {
|
|
475
475
|
let r = "";
|
|
@@ -508,14 +508,14 @@ function Ru(u, e) {
|
|
|
508
508
|
return r;
|
|
509
509
|
});
|
|
510
510
|
}
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
const
|
|
511
|
+
Lu.defaultChars = ";/?:@&=+$,#";
|
|
512
|
+
Lu.componentChars = "";
|
|
513
|
+
const f0 = {};
|
|
514
514
|
function Un(u) {
|
|
515
|
-
let e =
|
|
515
|
+
let e = f0[u];
|
|
516
516
|
if (e)
|
|
517
517
|
return e;
|
|
518
|
-
e =
|
|
518
|
+
e = f0[u] = [];
|
|
519
519
|
for (let t = 0; t < 128; t++) {
|
|
520
520
|
const n = String.fromCharCode(t);
|
|
521
521
|
/^[0-9a-z]$/i.test(n) ? e.push(n) : e.push("%" + ("0" + t.toString(16).toUpperCase()).slice(-2));
|
|
@@ -524,8 +524,8 @@ function Un(u) {
|
|
|
524
524
|
e[u.charCodeAt(t)] = u[t];
|
|
525
525
|
return e;
|
|
526
526
|
}
|
|
527
|
-
function
|
|
528
|
-
typeof e != "string" && (t = e, e =
|
|
527
|
+
function Ju(u, e, t) {
|
|
528
|
+
typeof e != "string" && (t = e, e = Ju.defaultChars), typeof t > "u" && (t = !0);
|
|
529
529
|
const n = Un(e);
|
|
530
530
|
let r = "";
|
|
531
531
|
for (let o = 0, i = u.length; o < i; o++) {
|
|
@@ -553,9 +553,9 @@ function Qu(u, e, t) {
|
|
|
553
553
|
}
|
|
554
554
|
return r;
|
|
555
555
|
}
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
function
|
|
556
|
+
Ju.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
557
|
+
Ju.componentChars = "-_.!~*'()";
|
|
558
|
+
function Ze(u) {
|
|
559
559
|
let e = "";
|
|
560
560
|
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;
|
|
561
561
|
}
|
|
@@ -563,10 +563,10 @@ function oe() {
|
|
|
563
563
|
this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
|
|
564
564
|
}
|
|
565
565
|
const Zn = /^([a-z0-9.+-]+:)/i, Wn = /:[0-9]*$/, Gn = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Jn = ["<", ">", '"', "`", " ", "\r", `
|
|
566
|
-
`, " "], Xn = ["{", "}", "|", "\\", "^", "`"].concat(Jn), Qn = ["'"].concat(Xn),
|
|
566
|
+
`, " "], Xn = ["{", "}", "|", "\\", "^", "`"].concat(Jn), Qn = ["'"].concat(Xn), d0 = ["%", "/", "?", ";", "#"].concat(Qn), p0 = ["/", "?", "#"], Yn = 255, h0 = /^[+a-z0-9A-Z_-]{0,63}$/, Kn = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, b0 = {
|
|
567
567
|
javascript: !0,
|
|
568
568
|
"javascript:": !0
|
|
569
|
-
},
|
|
569
|
+
}, m0 = {
|
|
570
570
|
http: !0,
|
|
571
571
|
https: !0,
|
|
572
572
|
ftp: !0,
|
|
@@ -578,7 +578,7 @@ const Zn = /^([a-z0-9.+-]+:)/i, Wn = /:[0-9]*$/, Gn = /^(\/\/?(?!\/)[^\?\s]*)(\?
|
|
|
578
578
|
"gopher:": !0,
|
|
579
579
|
"file:": !0
|
|
580
580
|
};
|
|
581
|
-
function
|
|
581
|
+
function We(u, e) {
|
|
582
582
|
if (u && u instanceof oe) return u;
|
|
583
583
|
const t = new oe();
|
|
584
584
|
return t.parse(u, e), t;
|
|
@@ -591,29 +591,29 @@ oe.prototype.parse = function(u, e) {
|
|
|
591
591
|
return this.pathname = a[1], a[2] && (this.search = a[2]), this;
|
|
592
592
|
}
|
|
593
593
|
let i = Zn.exec(o);
|
|
594
|
-
if (i && (i = i[0], t = i.toLowerCase(), this.protocol = i, o = o.substr(i.length)), (e || i || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(i &&
|
|
594
|
+
if (i && (i = i[0], t = i.toLowerCase(), this.protocol = i, o = o.substr(i.length)), (e || i || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(i && b0[i]) && (o = o.substr(2), this.slashes = !0)), !b0[i] && (r || i && !m0[i])) {
|
|
595
595
|
let a = -1;
|
|
596
|
-
for (let d = 0; d <
|
|
597
|
-
n = o.indexOf(
|
|
596
|
+
for (let d = 0; d < p0.length; d++)
|
|
597
|
+
n = o.indexOf(p0[d]), n !== -1 && (a === -1 || n < a) && (a = n);
|
|
598
598
|
let l, f;
|
|
599
599
|
a === -1 ? f = o.lastIndexOf("@") : f = o.lastIndexOf("@", a), f !== -1 && (l = o.slice(0, f), o = o.slice(f + 1), this.auth = l), a = -1;
|
|
600
|
-
for (let d = 0; d <
|
|
601
|
-
n = o.indexOf(
|
|
600
|
+
for (let d = 0; d < d0.length; d++)
|
|
601
|
+
n = o.indexOf(d0[d]), n !== -1 && (a === -1 || n < a) && (a = n);
|
|
602
602
|
a === -1 && (a = o.length), o[a - 1] === ":" && a--;
|
|
603
603
|
const h = o.slice(0, a);
|
|
604
604
|
o = o.slice(a), this.parseHost(h), this.hostname = this.hostname || "";
|
|
605
605
|
const p = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]";
|
|
606
606
|
if (!p) {
|
|
607
607
|
const d = this.hostname.split(/\./);
|
|
608
|
-
for (let x = 0,
|
|
609
|
-
const
|
|
610
|
-
if (
|
|
608
|
+
for (let x = 0, _ = d.length; x < _; x++) {
|
|
609
|
+
const k = d[x];
|
|
610
|
+
if (k && !k.match(h0)) {
|
|
611
611
|
let g = "";
|
|
612
|
-
for (let y = 0,
|
|
613
|
-
|
|
614
|
-
if (!g.match(
|
|
615
|
-
const y = d.slice(0, x),
|
|
616
|
-
|
|
612
|
+
for (let y = 0, v = k.length; y < v; y++)
|
|
613
|
+
k.charCodeAt(y) > 127 ? g += "x" : g += k[y];
|
|
614
|
+
if (!g.match(h0)) {
|
|
615
|
+
const y = d.slice(0, x), v = d.slice(x + 1), b = k.match(Kn);
|
|
616
|
+
b && (y.push(b[1]), v.unshift(b[2])), v.length && (o = v.join(".") + o), this.hostname = y.join(".");
|
|
617
617
|
break;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
@@ -624,7 +624,7 @@ oe.prototype.parse = function(u, e) {
|
|
|
624
624
|
const c = o.indexOf("#");
|
|
625
625
|
c !== -1 && (this.hash = o.substr(c), o = o.slice(0, c));
|
|
626
626
|
const s = o.indexOf("?");
|
|
627
|
-
return s !== -1 && (this.search = o.substr(s), o = o.slice(0, s)), o && (this.pathname = o),
|
|
627
|
+
return s !== -1 && (this.search = o.substr(s), o = o.slice(0, s)), o && (this.pathname = o), m0[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
|
|
628
628
|
};
|
|
629
629
|
oe.prototype.parseHost = function(u) {
|
|
630
630
|
let e = Wn.exec(u);
|
|
@@ -632,18 +632,18 @@ oe.prototype.parseHost = function(u) {
|
|
|
632
632
|
};
|
|
633
633
|
const ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
634
634
|
__proto__: null,
|
|
635
|
-
decode:
|
|
636
|
-
encode:
|
|
637
|
-
format:
|
|
638
|
-
parse:
|
|
639
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
635
|
+
decode: Lu,
|
|
636
|
+
encode: Ju,
|
|
637
|
+
format: Ze,
|
|
638
|
+
parse: We
|
|
639
|
+
}, Symbol.toStringTag, { value: "Module" })), U0 = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Z0 = /[\0-\x1F\x7F-\x9F]/, er = /[\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]/, Ge = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/, W0 = /[\$\+<->\^`\|~\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]/, G0 = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
640
640
|
__proto__: null,
|
|
641
|
-
Any:
|
|
642
|
-
Cc:
|
|
641
|
+
Any: U0,
|
|
642
|
+
Cc: Z0,
|
|
643
643
|
Cf: er,
|
|
644
|
-
P:
|
|
645
|
-
S:
|
|
646
|
-
Z:
|
|
644
|
+
P: Ge,
|
|
645
|
+
S: W0,
|
|
646
|
+
Z: G0
|
|
647
647
|
}, Symbol.toStringTag, { value: "Module" })), nr = new Uint16Array(
|
|
648
648
|
// prettier-ignore
|
|
649
649
|
'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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))
|
|
@@ -651,7 +651,7 @@ const ur = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
651
651
|
// prettier-ignore
|
|
652
652
|
"Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((u) => u.charCodeAt(0))
|
|
653
653
|
);
|
|
654
|
-
var
|
|
654
|
+
var De;
|
|
655
655
|
const or = /* @__PURE__ */ new Map([
|
|
656
656
|
[0, 65533],
|
|
657
657
|
// C1 Unicode control character reference replacements
|
|
@@ -684,7 +684,7 @@ const or = /* @__PURE__ */ new Map([
|
|
|
684
684
|
[159, 376]
|
|
685
685
|
]), cr = (
|
|
686
686
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
|
|
687
|
-
(
|
|
687
|
+
(De = String.fromCodePoint) !== null && De !== void 0 ? De : function(u) {
|
|
688
688
|
let e = "";
|
|
689
689
|
return u > 65535 && (u -= 65536, e += String.fromCharCode(u >>> 10 & 1023 | 55296), u = 56320 | u & 1023), e += String.fromCharCode(u), e;
|
|
690
690
|
}
|
|
@@ -702,33 +702,33 @@ var ku;
|
|
|
702
702
|
(function(u) {
|
|
703
703
|
u[u.VALUE_LENGTH = 49152] = "VALUE_LENGTH", u[u.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", u[u.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
704
704
|
})(ku || (ku = {}));
|
|
705
|
-
function
|
|
705
|
+
function Le(u) {
|
|
706
706
|
return u >= N.ZERO && u <= N.NINE;
|
|
707
707
|
}
|
|
708
708
|
function ar(u) {
|
|
709
709
|
return u >= N.UPPER_A && u <= N.UPPER_F || u >= N.LOWER_A && u <= N.LOWER_F;
|
|
710
710
|
}
|
|
711
711
|
function lr(u) {
|
|
712
|
-
return u >= N.UPPER_A && u <= N.UPPER_Z || u >= N.LOWER_A && u <= N.LOWER_Z ||
|
|
712
|
+
return u >= N.UPPER_A && u <= N.UPPER_Z || u >= N.LOWER_A && u <= N.LOWER_Z || Le(u);
|
|
713
713
|
}
|
|
714
714
|
function fr(u) {
|
|
715
715
|
return u === N.EQUALS || lr(u);
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var P;
|
|
718
718
|
(function(u) {
|
|
719
719
|
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";
|
|
720
|
-
})(
|
|
720
|
+
})(P || (P = {}));
|
|
721
721
|
var gu;
|
|
722
722
|
(function(u) {
|
|
723
723
|
u[u.Legacy = 0] = "Legacy", u[u.Strict = 1] = "Strict", u[u.Attribute = 2] = "Attribute";
|
|
724
724
|
})(gu || (gu = {}));
|
|
725
725
|
class dr {
|
|
726
726
|
constructor(e, t, n) {
|
|
727
|
-
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state =
|
|
727
|
+
this.decodeTree = e, this.emitCodePoint = t, this.errors = n, this.state = P.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = gu.Strict;
|
|
728
728
|
}
|
|
729
729
|
/** Resets the instance to make it reusable. */
|
|
730
730
|
startEntity(e) {
|
|
731
|
-
this.decodeMode = e, this.state =
|
|
731
|
+
this.decodeMode = e, this.state = P.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
732
732
|
}
|
|
733
733
|
/**
|
|
734
734
|
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
@@ -743,15 +743,15 @@ class dr {
|
|
|
743
743
|
*/
|
|
744
744
|
write(e, t) {
|
|
745
745
|
switch (this.state) {
|
|
746
|
-
case
|
|
747
|
-
return e.charCodeAt(t) === N.NUM ? (this.state =
|
|
748
|
-
case
|
|
746
|
+
case P.EntityStart:
|
|
747
|
+
return e.charCodeAt(t) === N.NUM ? (this.state = P.NumericStart, this.consumed += 1, this.stateNumericStart(e, t + 1)) : (this.state = P.NamedEntity, this.stateNamedEntity(e, t));
|
|
748
|
+
case P.NumericStart:
|
|
749
749
|
return this.stateNumericStart(e, t);
|
|
750
|
-
case
|
|
750
|
+
case P.NumericDecimal:
|
|
751
751
|
return this.stateNumericDecimal(e, t);
|
|
752
|
-
case
|
|
752
|
+
case P.NumericHex:
|
|
753
753
|
return this.stateNumericHex(e, t);
|
|
754
|
-
case
|
|
754
|
+
case P.NamedEntity:
|
|
755
755
|
return this.stateNamedEntity(e, t);
|
|
756
756
|
}
|
|
757
757
|
}
|
|
@@ -765,7 +765,7 @@ class dr {
|
|
|
765
765
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
766
766
|
*/
|
|
767
767
|
stateNumericStart(e, t) {
|
|
768
|
-
return t >= e.length ? -1 : (e.charCodeAt(t) | sr) === N.LOWER_X ? (this.state =
|
|
768
|
+
return t >= e.length ? -1 : (e.charCodeAt(t) | sr) === N.LOWER_X ? (this.state = P.NumericHex, this.consumed += 1, this.stateNumericHex(e, t + 1)) : (this.state = P.NumericDecimal, this.stateNumericDecimal(e, t));
|
|
769
769
|
}
|
|
770
770
|
addToNumericResult(e, t, n, r) {
|
|
771
771
|
if (t !== n) {
|
|
@@ -786,7 +786,7 @@ class dr {
|
|
|
786
786
|
const n = t;
|
|
787
787
|
for (; t < e.length; ) {
|
|
788
788
|
const r = e.charCodeAt(t);
|
|
789
|
-
if (
|
|
789
|
+
if (Le(r) || ar(r))
|
|
790
790
|
t += 1;
|
|
791
791
|
else
|
|
792
792
|
return this.addToNumericResult(e, n, t, 16), this.emitNumericEntity(r, 3);
|
|
@@ -806,7 +806,7 @@ class dr {
|
|
|
806
806
|
const n = t;
|
|
807
807
|
for (; t < e.length; ) {
|
|
808
808
|
const r = e.charCodeAt(t);
|
|
809
|
-
if (
|
|
809
|
+
if (Le(r))
|
|
810
810
|
t += 1;
|
|
811
811
|
else
|
|
812
812
|
return this.addToNumericResult(e, n, t, 10), this.emitNumericEntity(r, 2);
|
|
@@ -896,21 +896,21 @@ class dr {
|
|
|
896
896
|
end() {
|
|
897
897
|
var e;
|
|
898
898
|
switch (this.state) {
|
|
899
|
-
case
|
|
899
|
+
case P.NamedEntity:
|
|
900
900
|
return this.result !== 0 && (this.decodeMode !== gu.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
901
901
|
// Otherwise, emit a numeric entity if we have one.
|
|
902
|
-
case
|
|
902
|
+
case P.NumericDecimal:
|
|
903
903
|
return this.emitNumericEntity(0, 2);
|
|
904
|
-
case
|
|
904
|
+
case P.NumericHex:
|
|
905
905
|
return this.emitNumericEntity(0, 3);
|
|
906
|
-
case
|
|
906
|
+
case P.NumericStart:
|
|
907
907
|
return (e = this.errors) === null || e === void 0 || e.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
908
|
-
case
|
|
908
|
+
case P.EntityStart:
|
|
909
909
|
return 0;
|
|
910
910
|
}
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
|
-
function
|
|
913
|
+
function J0(u) {
|
|
914
914
|
let e = "";
|
|
915
915
|
const t = new dr(u, (n) => e += cr(n));
|
|
916
916
|
return function(r, o) {
|
|
@@ -952,15 +952,15 @@ function pr(u, e, t, n) {
|
|
|
952
952
|
}
|
|
953
953
|
return -1;
|
|
954
954
|
}
|
|
955
|
-
const hr =
|
|
956
|
-
|
|
957
|
-
function
|
|
955
|
+
const hr = J0(nr);
|
|
956
|
+
J0(rr);
|
|
957
|
+
function X0(u, e = gu.Legacy) {
|
|
958
958
|
return hr(u, e);
|
|
959
959
|
}
|
|
960
960
|
function br(u) {
|
|
961
961
|
return Object.prototype.toString.call(u);
|
|
962
962
|
}
|
|
963
|
-
function
|
|
963
|
+
function Je(u) {
|
|
964
964
|
return br(u) === "[object String]";
|
|
965
965
|
}
|
|
966
966
|
const mr = Object.prototype.hasOwnProperty;
|
|
@@ -978,10 +978,10 @@ function he(u) {
|
|
|
978
978
|
}
|
|
979
979
|
}), u;
|
|
980
980
|
}
|
|
981
|
-
function
|
|
981
|
+
function Q0(u, e, t) {
|
|
982
982
|
return [].concat(u.slice(0, e), t, u.slice(e + 1));
|
|
983
983
|
}
|
|
984
|
-
function
|
|
984
|
+
function Xe(u) {
|
|
985
985
|
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);
|
|
986
986
|
}
|
|
987
987
|
function ce(u) {
|
|
@@ -992,19 +992,19 @@ function ce(u) {
|
|
|
992
992
|
}
|
|
993
993
|
return String.fromCharCode(u);
|
|
994
994
|
}
|
|
995
|
-
const
|
|
995
|
+
const Y0 = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, gr = /&([a-z#][a-z0-9]{1,31});/gi, _r = new RegExp(Y0.source + "|" + gr.source, "gi"), kr = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
996
996
|
function yr(u, e) {
|
|
997
997
|
if (e.charCodeAt(0) === 35 && kr.test(e)) {
|
|
998
998
|
const n = e[1].toLowerCase() === "x" ? parseInt(e.slice(2), 16) : parseInt(e.slice(1), 10);
|
|
999
|
-
return
|
|
999
|
+
return Xe(n) ? ce(n) : u;
|
|
1000
1000
|
}
|
|
1001
|
-
const t =
|
|
1001
|
+
const t = X0(u);
|
|
1002
1002
|
return t !== u ? t : u;
|
|
1003
1003
|
}
|
|
1004
1004
|
function vr(u) {
|
|
1005
|
-
return u.indexOf("\\") < 0 ? u : u.replace(
|
|
1005
|
+
return u.indexOf("\\") < 0 ? u : u.replace(Y0, "$1");
|
|
1006
1006
|
}
|
|
1007
|
-
function
|
|
1007
|
+
function Ru(u) {
|
|
1008
1008
|
return u.indexOf("\\") < 0 && u.indexOf("&") < 0 ? u : u.replace(_r, function(e, t, n) {
|
|
1009
1009
|
return t || yr(e, n);
|
|
1010
1010
|
});
|
|
@@ -1033,7 +1033,7 @@ function T(u) {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
return !1;
|
|
1035
1035
|
}
|
|
1036
|
-
function
|
|
1036
|
+
function ju(u) {
|
|
1037
1037
|
if (u >= 8192 && u <= 8202)
|
|
1038
1038
|
return !0;
|
|
1039
1039
|
switch (u) {
|
|
@@ -1057,10 +1057,10 @@ function Zu(u) {
|
|
|
1057
1057
|
}
|
|
1058
1058
|
return !1;
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1061
|
-
return
|
|
1060
|
+
function Hu(u) {
|
|
1061
|
+
return Ge.test(u) || W0.test(u);
|
|
1062
1062
|
}
|
|
1063
|
-
function
|
|
1063
|
+
function Vu(u) {
|
|
1064
1064
|
switch (u) {
|
|
1065
1065
|
case 33:
|
|
1066
1066
|
case 34:
|
|
@@ -1104,21 +1104,21 @@ function be(u) {
|
|
|
1104
1104
|
}
|
|
1105
1105
|
const Sr = { mdurl: ur, ucmicro: tr }, zr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1106
1106
|
__proto__: null,
|
|
1107
|
-
arrayReplaceAt:
|
|
1107
|
+
arrayReplaceAt: Q0,
|
|
1108
1108
|
assign: he,
|
|
1109
1109
|
escapeHtml: yu,
|
|
1110
1110
|
escapeRE: Fr,
|
|
1111
1111
|
fromCodePoint: ce,
|
|
1112
1112
|
has: xr,
|
|
1113
|
-
isMdAsciiPunct:
|
|
1114
|
-
isPunctChar:
|
|
1113
|
+
isMdAsciiPunct: Vu,
|
|
1114
|
+
isPunctChar: Hu,
|
|
1115
1115
|
isSpace: T,
|
|
1116
|
-
isString:
|
|
1117
|
-
isValidEntityCode:
|
|
1118
|
-
isWhiteSpace:
|
|
1116
|
+
isString: Je,
|
|
1117
|
+
isValidEntityCode: Xe,
|
|
1118
|
+
isWhiteSpace: ju,
|
|
1119
1119
|
lib: Sr,
|
|
1120
1120
|
normalizeReference: be,
|
|
1121
|
-
unescapeAll:
|
|
1121
|
+
unescapeAll: Ru,
|
|
1122
1122
|
unescapeMd: vr
|
|
1123
1123
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1124
1124
|
function qr(u, e, t) {
|
|
@@ -1151,7 +1151,7 @@ function Br(u, e, t) {
|
|
|
1151
1151
|
if (n = u.charCodeAt(r), n === 10 || n === 60)
|
|
1152
1152
|
return o;
|
|
1153
1153
|
if (n === 62)
|
|
1154
|
-
return o.pos = r + 1, o.str =
|
|
1154
|
+
return o.pos = r + 1, o.str = Ru(u.slice(e + 1, r)), o.ok = !0, o;
|
|
1155
1155
|
if (n === 92 && r + 1 < t) {
|
|
1156
1156
|
r += 2;
|
|
1157
1157
|
continue;
|
|
@@ -1177,7 +1177,7 @@ function Br(u, e, t) {
|
|
|
1177
1177
|
}
|
|
1178
1178
|
r++;
|
|
1179
1179
|
}
|
|
1180
|
-
return e === r || i !== 0 || (o.str =
|
|
1180
|
+
return e === r || i !== 0 || (o.str = Ru(u.slice(e, r)), o.pos = r, o.ok = !0), o;
|
|
1181
1181
|
}
|
|
1182
1182
|
function Tr(u, e, t, n) {
|
|
1183
1183
|
let r, o = e;
|
|
@@ -1205,12 +1205,12 @@ function Tr(u, e, t, n) {
|
|
|
1205
1205
|
}
|
|
1206
1206
|
for (; o < t; ) {
|
|
1207
1207
|
if (r = u.charCodeAt(o), r === i.marker)
|
|
1208
|
-
return i.pos = o + 1, i.str +=
|
|
1208
|
+
return i.pos = o + 1, i.str += Ru(u.slice(e, o)), i.ok = !0, i;
|
|
1209
1209
|
if (r === 40 && i.marker === 41)
|
|
1210
1210
|
return i;
|
|
1211
1211
|
r === 92 && o + 1 < t && o++, o++;
|
|
1212
1212
|
}
|
|
1213
|
-
return i.can_continue = !0, i.str +=
|
|
1213
|
+
return i.can_continue = !0, i.str += Ru(u.slice(e, o)), i;
|
|
1214
1214
|
}
|
|
1215
1215
|
const Mr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1216
1216
|
__proto__: null,
|
|
@@ -1228,7 +1228,7 @@ fu.code_block = function(u, e, t, n, r) {
|
|
|
1228
1228
|
`;
|
|
1229
1229
|
};
|
|
1230
1230
|
fu.fence = function(u, e, t, n, r) {
|
|
1231
|
-
const o = u[e], i = o.info ?
|
|
1231
|
+
const o = u[e], i = o.info ? Ru(o.info).trim() : "";
|
|
1232
1232
|
let c = "", s = "";
|
|
1233
1233
|
if (i) {
|
|
1234
1234
|
const l = i.split(/(\s+)/g);
|
|
@@ -1274,10 +1274,10 @@ fu.html_block = function(u, e) {
|
|
|
1274
1274
|
fu.html_inline = function(u, e) {
|
|
1275
1275
|
return u[e].content;
|
|
1276
1276
|
};
|
|
1277
|
-
function
|
|
1277
|
+
function Ou() {
|
|
1278
1278
|
this.rules = he({}, fu);
|
|
1279
1279
|
}
|
|
1280
|
-
|
|
1280
|
+
Ou.prototype.renderAttrs = function(e) {
|
|
1281
1281
|
let t, n, r;
|
|
1282
1282
|
if (!e.attrs)
|
|
1283
1283
|
return "";
|
|
@@ -1285,7 +1285,7 @@ Nu.prototype.renderAttrs = function(e) {
|
|
|
1285
1285
|
r += " " + yu(e.attrs[t][0]) + '="' + yu(e.attrs[t][1]) + '"';
|
|
1286
1286
|
return r;
|
|
1287
1287
|
};
|
|
1288
|
-
|
|
1288
|
+
Ou.prototype.renderToken = function(e, t, n) {
|
|
1289
1289
|
const r = e[t];
|
|
1290
1290
|
let o = "";
|
|
1291
1291
|
if (r.hidden)
|
|
@@ -1300,7 +1300,7 @@ Nu.prototype.renderToken = function(e, t, n) {
|
|
|
1300
1300
|
return o += i ? `>
|
|
1301
1301
|
` : ">", o;
|
|
1302
1302
|
};
|
|
1303
|
-
|
|
1303
|
+
Ou.prototype.renderInline = function(u, e, t) {
|
|
1304
1304
|
let n = "";
|
|
1305
1305
|
const r = this.rules;
|
|
1306
1306
|
for (let o = 0, i = u.length; o < i; o++) {
|
|
@@ -1309,7 +1309,7 @@ Nu.prototype.renderInline = function(u, e, t) {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
return n;
|
|
1311
1311
|
};
|
|
1312
|
-
|
|
1312
|
+
Ou.prototype.renderInlineAsText = function(u, e, t) {
|
|
1313
1313
|
let n = "";
|
|
1314
1314
|
for (let r = 0, o = u.length; r < o; r++)
|
|
1315
1315
|
switch (u[r].type) {
|
|
@@ -1331,7 +1331,7 @@ Nu.prototype.renderInlineAsText = function(u, e, t) {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
return n;
|
|
1333
1333
|
};
|
|
1334
|
-
|
|
1334
|
+
Ou.prototype.render = function(u, e, t) {
|
|
1335
1335
|
let n = "";
|
|
1336
1336
|
const r = this.rules;
|
|
1337
1337
|
for (let o = 0, i = u.length; o < i; o++) {
|
|
@@ -1432,10 +1432,10 @@ Z.prototype.disable = function(u, e) {
|
|
|
1432
1432
|
Z.prototype.getRules = function(u) {
|
|
1433
1433
|
return this.__cache__ === null && this.__compile__(), this.__cache__[u] || [];
|
|
1434
1434
|
};
|
|
1435
|
-
function
|
|
1435
|
+
function K0(u, e, t) {
|
|
1436
1436
|
this.src = u, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = e;
|
|
1437
1437
|
}
|
|
1438
|
-
|
|
1438
|
+
K0.prototype.Token = K;
|
|
1439
1439
|
const Lr = /\r\n?|\n/g, Rr = /\0/g;
|
|
1440
1440
|
function Ir(u) {
|
|
1441
1441
|
let e;
|
|
@@ -1483,30 +1483,30 @@ function jr(u) {
|
|
|
1483
1483
|
const d = a[p].url, x = u.md.normalizeLink(d);
|
|
1484
1484
|
if (!u.md.validateLink(x))
|
|
1485
1485
|
continue;
|
|
1486
|
-
let
|
|
1487
|
-
a[p].schema ? a[p].schema === "mailto:" && !/^mailto:/i.test(
|
|
1488
|
-
const
|
|
1489
|
-
if (
|
|
1490
|
-
const
|
|
1491
|
-
|
|
1486
|
+
let _ = a[p].text;
|
|
1487
|
+
a[p].schema ? a[p].schema === "mailto:" && !/^mailto:/i.test(_) ? _ = u.md.normalizeLinkText("mailto:" + _).replace(/^mailto:/, "") : _ = u.md.normalizeLinkText(_) : _ = u.md.normalizeLinkText("http://" + _).replace(/^http:\/\//, "");
|
|
1488
|
+
const k = a[p].index;
|
|
1489
|
+
if (k > h) {
|
|
1490
|
+
const b = new u.Token("text", "", 0);
|
|
1491
|
+
b.content = s.slice(h, k), b.level = f, l.push(b);
|
|
1492
1492
|
}
|
|
1493
1493
|
const g = new u.Token("link_open", "a", 1);
|
|
1494
1494
|
g.attrs = [["href", x]], g.level = f++, g.markup = "linkify", g.info = "auto", l.push(g);
|
|
1495
1495
|
const y = new u.Token("text", "", 0);
|
|
1496
|
-
y.content =
|
|
1497
|
-
const
|
|
1498
|
-
|
|
1496
|
+
y.content = _, y.level = f, l.push(y);
|
|
1497
|
+
const v = new u.Token("link_close", "a", -1);
|
|
1498
|
+
v.level = --f, v.markup = "linkify", v.info = "auto", l.push(v), h = a[p].lastIndex;
|
|
1499
1499
|
}
|
|
1500
1500
|
if (h < s.length) {
|
|
1501
1501
|
const p = new u.Token("text", "", 0);
|
|
1502
1502
|
p.content = s.slice(h), p.level = f, l.push(p);
|
|
1503
1503
|
}
|
|
1504
|
-
e[t].children = r =
|
|
1504
|
+
e[t].children = r = Q0(r, i, l);
|
|
1505
1505
|
}
|
|
1506
1506
|
}
|
|
1507
1507
|
}
|
|
1508
1508
|
}
|
|
1509
|
-
const
|
|
1509
|
+
const ut = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Hr = /\((c|tm|r)\)/i, Vr = /\((c|tm|r)\)/ig, Ur = {
|
|
1510
1510
|
c: "©",
|
|
1511
1511
|
r: "®",
|
|
1512
1512
|
tm: "™"
|
|
@@ -1525,17 +1525,17 @@ function Gr(u) {
|
|
|
1525
1525
|
let e = 0;
|
|
1526
1526
|
for (let t = u.length - 1; t >= 0; t--) {
|
|
1527
1527
|
const n = u[t];
|
|
1528
|
-
n.type === "text" && !e &&
|
|
1528
|
+
n.type === "text" && !e && ut.test(n.content) && (n.content = n.content.replace(/\+-/g, "±").replace(/\.{2,}/g, "…").replace(/([?!])…/g, "$1..").replace(/([?!]){4,}/g, "$1$1$1").replace(/,{2,}/g, ",").replace(/(^|[^-])---(?=[^-]|$)/mg, "$1—").replace(/(^|\s)--(?=\s|$)/mg, "$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, "$1–")), n.type === "link_open" && n.info === "auto" && e--, n.type === "link_close" && n.info === "auto" && e++;
|
|
1529
1529
|
}
|
|
1530
1530
|
}
|
|
1531
1531
|
function Jr(u) {
|
|
1532
1532
|
let e;
|
|
1533
1533
|
if (u.md.options.typographer)
|
|
1534
1534
|
for (e = u.tokens.length - 1; e >= 0; e--)
|
|
1535
|
-
u.tokens[e].type === "inline" && (Hr.test(u.tokens[e].content) && Wr(u.tokens[e].children),
|
|
1535
|
+
u.tokens[e].type === "inline" && (Hr.test(u.tokens[e].content) && Wr(u.tokens[e].children), ut.test(u.tokens[e].content) && Gr(u.tokens[e].children));
|
|
1536
1536
|
}
|
|
1537
|
-
const Xr = /['"]/,
|
|
1538
|
-
function
|
|
1537
|
+
const Xr = /['"]/, x0 = /['"]/g, g0 = "’";
|
|
1538
|
+
function ee(u, e, t) {
|
|
1539
1539
|
return u.slice(0, e) + t + u.slice(e + 1);
|
|
1540
1540
|
}
|
|
1541
1541
|
function Qr(u, e) {
|
|
@@ -1550,8 +1550,8 @@ function Qr(u, e) {
|
|
|
1550
1550
|
let c = o.content, s = 0, a = c.length;
|
|
1551
1551
|
u:
|
|
1552
1552
|
for (; s < a; ) {
|
|
1553
|
-
|
|
1554
|
-
const l =
|
|
1553
|
+
x0.lastIndex = s;
|
|
1554
|
+
const l = x0.exec(c);
|
|
1555
1555
|
if (!l)
|
|
1556
1556
|
break;
|
|
1557
1557
|
let f = !0, h = !0;
|
|
@@ -1575,24 +1575,24 @@ function Qr(u, e) {
|
|
|
1575
1575
|
x = u[t].content.charCodeAt(0);
|
|
1576
1576
|
break;
|
|
1577
1577
|
}
|
|
1578
|
-
const
|
|
1579
|
-
if (y ? f = !1 :
|
|
1580
|
-
p && (o.content =
|
|
1578
|
+
const _ = Vu(d) || Hu(String.fromCharCode(d)), k = Vu(x) || Hu(String.fromCharCode(x)), g = ju(d), y = ju(x);
|
|
1579
|
+
if (y ? f = !1 : k && (g || _ || (f = !1)), g ? h = !1 : _ && (y || k || (h = !1)), x === 34 && l[0] === '"' && d >= 48 && d <= 57 && (h = f = !1), f && h && (f = _, h = k), !f && !h) {
|
|
1580
|
+
p && (o.content = ee(o.content, l.index, g0));
|
|
1581
1581
|
continue;
|
|
1582
1582
|
}
|
|
1583
1583
|
if (h)
|
|
1584
1584
|
for (t = n.length - 1; t >= 0; t--) {
|
|
1585
|
-
let
|
|
1585
|
+
let v = n[t];
|
|
1586
1586
|
if (n[t].level < i)
|
|
1587
1587
|
break;
|
|
1588
|
-
if (
|
|
1589
|
-
|
|
1590
|
-
let
|
|
1591
|
-
p ? (
|
|
1592
|
-
u[
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
), s +=
|
|
1588
|
+
if (v.single === p && n[t].level === i) {
|
|
1589
|
+
v = n[t];
|
|
1590
|
+
let b, C;
|
|
1591
|
+
p ? (b = e.md.options.quotes[2], C = e.md.options.quotes[3]) : (b = e.md.options.quotes[0], C = e.md.options.quotes[1]), o.content = ee(o.content, l.index, C), u[v.token].content = ee(
|
|
1592
|
+
u[v.token].content,
|
|
1593
|
+
v.pos,
|
|
1594
|
+
b
|
|
1595
|
+
), s += C.length - 1, v.token === r && (s += b.length - 1), c = o.content, a = c.length, n.length = t;
|
|
1596
1596
|
continue u;
|
|
1597
1597
|
}
|
|
1598
1598
|
}
|
|
@@ -1601,7 +1601,7 @@ function Qr(u, e) {
|
|
|
1601
1601
|
pos: l.index,
|
|
1602
1602
|
single: p,
|
|
1603
1603
|
level: i
|
|
1604
|
-
}) : h && p && (o.content =
|
|
1604
|
+
}) : h && p && (o.content = ee(o.content, l.index, g0));
|
|
1605
1605
|
}
|
|
1606
1606
|
}
|
|
1607
1607
|
}
|
|
@@ -1623,7 +1623,7 @@ function Kr(u) {
|
|
|
1623
1623
|
e !== t && (i.length = t);
|
|
1624
1624
|
}
|
|
1625
1625
|
}
|
|
1626
|
-
const
|
|
1626
|
+
const Ee = [
|
|
1627
1627
|
["normalize", Ir],
|
|
1628
1628
|
["block", $r],
|
|
1629
1629
|
["inline", Or],
|
|
@@ -1634,17 +1634,17 @@ const De = [
|
|
|
1634
1634
|
// and joins them with the rest of the text
|
|
1635
1635
|
["text_join", Kr]
|
|
1636
1636
|
];
|
|
1637
|
-
function
|
|
1637
|
+
function Qe() {
|
|
1638
1638
|
this.ruler = new Z();
|
|
1639
|
-
for (let u = 0; u <
|
|
1640
|
-
this.ruler.push(
|
|
1639
|
+
for (let u = 0; u < Ee.length; u++)
|
|
1640
|
+
this.ruler.push(Ee[u][0], Ee[u][1]);
|
|
1641
1641
|
}
|
|
1642
|
-
|
|
1642
|
+
Qe.prototype.process = function(u) {
|
|
1643
1643
|
const e = this.ruler.getRules("");
|
|
1644
1644
|
for (let t = 0, n = e.length; t < n; t++)
|
|
1645
1645
|
e[t](u);
|
|
1646
1646
|
};
|
|
1647
|
-
|
|
1647
|
+
Qe.prototype.State = K0;
|
|
1648
1648
|
function du(u, e, t, n) {
|
|
1649
1649
|
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;
|
|
1650
1650
|
const r = this.src;
|
|
@@ -1661,7 +1661,7 @@ function du(u, e, t, n) {
|
|
|
1661
1661
|
this.bMarks.push(r.length), this.eMarks.push(r.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
|
|
1662
1662
|
}
|
|
1663
1663
|
du.prototype.push = function(u, e, t) {
|
|
1664
|
-
const n = new
|
|
1664
|
+
const n = new K(u, e, t);
|
|
1665
1665
|
return n.block = !0, t < 0 && this.level--, n.level = this.level, t > 0 && this.level++, this.tokens.push(n), n;
|
|
1666
1666
|
};
|
|
1667
1667
|
du.prototype.isEmpty = function(e) {
|
|
@@ -1723,13 +1723,13 @@ du.prototype.getLines = function(e, t, n, r) {
|
|
|
1723
1723
|
}
|
|
1724
1724
|
return o.join("");
|
|
1725
1725
|
};
|
|
1726
|
-
du.prototype.Token =
|
|
1726
|
+
du.prototype.Token = K;
|
|
1727
1727
|
const uo = 65536;
|
|
1728
|
-
function
|
|
1728
|
+
function Ae(u, e) {
|
|
1729
1729
|
const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
|
|
1730
1730
|
return u.src.slice(t, n);
|
|
1731
1731
|
}
|
|
1732
|
-
function
|
|
1732
|
+
function _0(u) {
|
|
1733
1733
|
const e = [], t = u.length;
|
|
1734
1734
|
let n = 0, r = u.charCodeAt(n), o = !1, i = 0, c = "";
|
|
1735
1735
|
for (; n < t; )
|
|
@@ -1752,27 +1752,27 @@ function eo(u, e, t, n) {
|
|
|
1752
1752
|
if (c !== 124 && c !== 45 && c !== 58 && !T(c) || i === 45 && T(c))
|
|
1753
1753
|
return !1;
|
|
1754
1754
|
for (; o < u.eMarks[r]; ) {
|
|
1755
|
-
const
|
|
1756
|
-
if (
|
|
1755
|
+
const v = u.src.charCodeAt(o);
|
|
1756
|
+
if (v !== 124 && v !== 45 && v !== 58 && !T(v))
|
|
1757
1757
|
return !1;
|
|
1758
1758
|
o++;
|
|
1759
1759
|
}
|
|
1760
|
-
let s =
|
|
1760
|
+
let s = Ae(u, e + 1), a = s.split("|");
|
|
1761
1761
|
const l = [];
|
|
1762
|
-
for (let
|
|
1763
|
-
const
|
|
1764
|
-
if (!
|
|
1765
|
-
if (
|
|
1762
|
+
for (let v = 0; v < a.length; v++) {
|
|
1763
|
+
const b = a[v].trim();
|
|
1764
|
+
if (!b) {
|
|
1765
|
+
if (v === 0 || v === a.length - 1)
|
|
1766
1766
|
continue;
|
|
1767
1767
|
return !1;
|
|
1768
1768
|
}
|
|
1769
|
-
if (!/^:?-+:?$/.test(
|
|
1769
|
+
if (!/^:?-+:?$/.test(b))
|
|
1770
1770
|
return !1;
|
|
1771
|
-
|
|
1771
|
+
b.charCodeAt(b.length - 1) === 58 ? l.push(b.charCodeAt(0) === 58 ? "center" : "right") : b.charCodeAt(0) === 58 ? l.push("left") : l.push("");
|
|
1772
1772
|
}
|
|
1773
|
-
if (s =
|
|
1773
|
+
if (s = Ae(u, e).trim(), s.indexOf("|") === -1 || u.sCount[e] - u.blkIndent >= 4)
|
|
1774
1774
|
return !1;
|
|
1775
|
-
a =
|
|
1775
|
+
a = _0(s), a.length && a[0] === "" && a.shift(), a.length && a[a.length - 1] === "" && a.pop();
|
|
1776
1776
|
const f = a.length;
|
|
1777
1777
|
if (f === 0 || f !== l.length)
|
|
1778
1778
|
return !1;
|
|
@@ -1782,38 +1782,38 @@ function eo(u, e, t, n) {
|
|
|
1782
1782
|
u.parentType = "table";
|
|
1783
1783
|
const p = u.md.block.ruler.getRules("blockquote"), d = u.push("table_open", "table", 1), x = [e, 0];
|
|
1784
1784
|
d.map = x;
|
|
1785
|
-
const
|
|
1785
|
+
const _ = u.push("thead_open", "thead", 1);
|
|
1786
|
+
_.map = [e, e + 1];
|
|
1787
|
+
const k = u.push("tr_open", "tr", 1);
|
|
1786
1788
|
k.map = [e, e + 1];
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
const
|
|
1791
|
-
|
|
1792
|
-
const m = u.push("inline", "", 0);
|
|
1793
|
-
m.content = a[b].trim(), m.children = [], u.push("th_close", "th", -1);
|
|
1789
|
+
for (let v = 0; v < a.length; v++) {
|
|
1790
|
+
const b = u.push("th_open", "th", 1);
|
|
1791
|
+
l[v] && (b.attrs = [["style", "text-align:" + l[v]]]);
|
|
1792
|
+
const C = u.push("inline", "", 0);
|
|
1793
|
+
C.content = a[v].trim(), C.children = [], u.push("th_close", "th", -1);
|
|
1794
1794
|
}
|
|
1795
1795
|
u.push("tr_close", "tr", -1), u.push("thead_close", "thead", -1);
|
|
1796
1796
|
let g, y = 0;
|
|
1797
1797
|
for (r = e + 2; r < t && !(u.sCount[r] < u.blkIndent); r++) {
|
|
1798
|
-
let
|
|
1799
|
-
for (let
|
|
1800
|
-
if (p[
|
|
1801
|
-
|
|
1798
|
+
let v = !1;
|
|
1799
|
+
for (let C = 0, m = p.length; C < m; C++)
|
|
1800
|
+
if (p[C](u, r, t, !0)) {
|
|
1801
|
+
v = !0;
|
|
1802
1802
|
break;
|
|
1803
1803
|
}
|
|
1804
|
-
if (
|
|
1804
|
+
if (v || (s = Ae(u, r).trim(), !s) || u.sCount[r] - u.blkIndent >= 4 || (a = _0(s), a.length && a[0] === "" && a.shift(), a.length && a[a.length - 1] === "" && a.pop(), y += f - a.length, y > uo))
|
|
1805
1805
|
break;
|
|
1806
1806
|
if (r === e + 2) {
|
|
1807
|
-
const
|
|
1808
|
-
|
|
1807
|
+
const C = u.push("tbody_open", "tbody", 1);
|
|
1808
|
+
C.map = g = [e + 2, 0];
|
|
1809
1809
|
}
|
|
1810
|
-
const
|
|
1811
|
-
|
|
1812
|
-
for (let
|
|
1813
|
-
const
|
|
1814
|
-
l[
|
|
1815
|
-
const
|
|
1816
|
-
|
|
1810
|
+
const b = u.push("tr_open", "tr", 1);
|
|
1811
|
+
b.map = [r, r + 1];
|
|
1812
|
+
for (let C = 0; C < f; C++) {
|
|
1813
|
+
const m = u.push("td_open", "td", 1);
|
|
1814
|
+
l[C] && (m.attrs = [["style", "text-align:" + l[C]]]);
|
|
1815
|
+
const z = u.push("inline", "", 0);
|
|
1816
|
+
z.content = a[C] ? a[C].trim() : "", z.children = [], u.push("td_close", "td", -1);
|
|
1817
1817
|
}
|
|
1818
1818
|
u.push("tr_close", "tr", -1);
|
|
1819
1819
|
}
|
|
@@ -1881,29 +1881,29 @@ function ro(u, e, t, n) {
|
|
|
1881
1881
|
if (r = u.bMarks[d] + u.tShift[d], o = u.eMarks[d], r >= o)
|
|
1882
1882
|
break;
|
|
1883
1883
|
if (u.src.charCodeAt(r++) === 62 && !y) {
|
|
1884
|
-
let
|
|
1885
|
-
u.src.charCodeAt(r) === 32 ? (r++,
|
|
1886
|
-
let
|
|
1884
|
+
let b = u.sCount[d] + 1, C, m;
|
|
1885
|
+
u.src.charCodeAt(r) === 32 ? (r++, b++, m = !1, C = !0) : u.src.charCodeAt(r) === 9 ? (C = !0, (u.bsCount[d] + b) % 4 === 3 ? (r++, b++, m = !1) : m = !0) : C = !1;
|
|
1886
|
+
let z = b;
|
|
1887
1887
|
for (c.push(u.bMarks[d]), u.bMarks[d] = r; r < o; ) {
|
|
1888
|
-
const
|
|
1889
|
-
if (T(
|
|
1890
|
-
|
|
1888
|
+
const F = u.src.charCodeAt(r);
|
|
1889
|
+
if (T(F))
|
|
1890
|
+
F === 9 ? z += 4 - (z + u.bsCount[d] + (m ? 1 : 0)) % 4 : z++;
|
|
1891
1891
|
else
|
|
1892
1892
|
break;
|
|
1893
1893
|
r++;
|
|
1894
1894
|
}
|
|
1895
|
-
p = r >= o, s.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (
|
|
1895
|
+
p = r >= o, s.push(u.bsCount[d]), u.bsCount[d] = u.sCount[d] + 1 + (C ? 1 : 0), a.push(u.sCount[d]), u.sCount[d] = z - b, l.push(u.tShift[d]), u.tShift[d] = r - u.bMarks[d];
|
|
1896
1896
|
continue;
|
|
1897
1897
|
}
|
|
1898
1898
|
if (p)
|
|
1899
1899
|
break;
|
|
1900
|
-
let
|
|
1901
|
-
for (let
|
|
1902
|
-
if (f[
|
|
1903
|
-
|
|
1900
|
+
let v = !1;
|
|
1901
|
+
for (let b = 0, C = f.length; b < C; b++)
|
|
1902
|
+
if (f[b](u, d, t, !0)) {
|
|
1903
|
+
v = !0;
|
|
1904
1904
|
break;
|
|
1905
1905
|
}
|
|
1906
|
-
if (
|
|
1906
|
+
if (v) {
|
|
1907
1907
|
u.lineMax = d, u.blkIndent !== 0 && (c.push(u.bMarks[d]), s.push(u.bsCount[d]), l.push(u.tShift[d]), a.push(u.sCount[d]), u.sCount[d] -= u.blkIndent);
|
|
1908
1908
|
break;
|
|
1909
1909
|
}
|
|
@@ -1911,12 +1911,12 @@ function ro(u, e, t, n) {
|
|
|
1911
1911
|
}
|
|
1912
1912
|
const x = u.blkIndent;
|
|
1913
1913
|
u.blkIndent = 0;
|
|
1914
|
-
const
|
|
1915
|
-
|
|
1916
|
-
const
|
|
1917
|
-
|
|
1914
|
+
const _ = u.push("blockquote_open", "blockquote", 1);
|
|
1915
|
+
_.markup = ">";
|
|
1916
|
+
const k = [e, 0];
|
|
1917
|
+
_.map = k, u.md.block.tokenize(u, e, d);
|
|
1918
1918
|
const g = u.push("blockquote_close", "blockquote", -1);
|
|
1919
|
-
g.markup = ">", u.lineMax = i, u.parentType = h,
|
|
1919
|
+
g.markup = ">", u.lineMax = i, u.parentType = h, k[1] = u.line;
|
|
1920
1920
|
for (let y = 0; y < l.length; y++)
|
|
1921
1921
|
u.bMarks[y + e] = c[y], u.tShift[y + e] = l[y], u.sCount[y + e] = a[y], u.bsCount[y + e] = s[y];
|
|
1922
1922
|
return u.blkIndent = x, !0;
|
|
@@ -1944,7 +1944,7 @@ function oo(u, e, t, n) {
|
|
|
1944
1944
|
const s = u.push("hr", "hr", 0);
|
|
1945
1945
|
return s.map = [e, u.line], s.markup = Array(c + 1).join(String.fromCharCode(i)), !0;
|
|
1946
1946
|
}
|
|
1947
|
-
function
|
|
1947
|
+
function k0(u, e) {
|
|
1948
1948
|
const t = u.eMarks[e];
|
|
1949
1949
|
let n = u.bMarks[e] + u.tShift[e];
|
|
1950
1950
|
const r = u.src.charCodeAt(n++);
|
|
@@ -1957,7 +1957,7 @@ function _0(u, e) {
|
|
|
1957
1957
|
}
|
|
1958
1958
|
return n;
|
|
1959
1959
|
}
|
|
1960
|
-
function
|
|
1960
|
+
function y0(u, e) {
|
|
1961
1961
|
const t = u.bMarks[e] + u.tShift[e], n = u.eMarks[e];
|
|
1962
1962
|
let r = t;
|
|
1963
1963
|
if (r + 1 >= n)
|
|
@@ -1991,9 +1991,9 @@ function io(u, e, t, n) {
|
|
|
1991
1991
|
let l = !1;
|
|
1992
1992
|
n && u.parentType === "paragraph" && u.sCount[s] >= u.blkIndent && (l = !0);
|
|
1993
1993
|
let f, h, p;
|
|
1994
|
-
if ((p =
|
|
1994
|
+
if ((p = y0(u, s)) >= 0) {
|
|
1995
1995
|
if (f = !0, i = u.bMarks[s] + u.tShift[s], h = Number(u.src.slice(i, p - 1)), l && h !== 1) return !1;
|
|
1996
|
-
} else if ((p =
|
|
1996
|
+
} else if ((p = k0(u, s)) >= 0)
|
|
1997
1997
|
f = !1;
|
|
1998
1998
|
else
|
|
1999
1999
|
return !1;
|
|
@@ -2003,52 +2003,52 @@ function io(u, e, t, n) {
|
|
|
2003
2003
|
return !0;
|
|
2004
2004
|
const d = u.src.charCodeAt(p - 1), x = u.tokens.length;
|
|
2005
2005
|
f ? (c = u.push("ordered_list_open", "ol", 1), h !== 1 && (c.attrs = [["start", h]])) : c = u.push("bullet_list_open", "ul", 1);
|
|
2006
|
-
const
|
|
2007
|
-
c.map =
|
|
2008
|
-
let
|
|
2006
|
+
const _ = [s, 0];
|
|
2007
|
+
c.map = _, c.markup = String.fromCharCode(d);
|
|
2008
|
+
let k = !1;
|
|
2009
2009
|
const g = u.md.block.ruler.getRules("list"), y = u.parentType;
|
|
2010
2010
|
for (u.parentType = "list"; s < t; ) {
|
|
2011
2011
|
o = p, r = u.eMarks[s];
|
|
2012
|
-
const
|
|
2013
|
-
let
|
|
2012
|
+
const v = u.sCount[s] + p - (u.bMarks[s] + u.tShift[s]);
|
|
2013
|
+
let b = v;
|
|
2014
2014
|
for (; o < r; ) {
|
|
2015
|
-
const
|
|
2016
|
-
if (
|
|
2017
|
-
|
|
2018
|
-
else if (
|
|
2019
|
-
|
|
2015
|
+
const G = u.src.charCodeAt(o);
|
|
2016
|
+
if (G === 9)
|
|
2017
|
+
b += 4 - (b + u.bsCount[s]) % 4;
|
|
2018
|
+
else if (G === 32)
|
|
2019
|
+
b++;
|
|
2020
2020
|
else
|
|
2021
2021
|
break;
|
|
2022
2022
|
o++;
|
|
2023
2023
|
}
|
|
2024
|
-
const
|
|
2025
|
-
let
|
|
2026
|
-
|
|
2027
|
-
const
|
|
2024
|
+
const C = o;
|
|
2025
|
+
let m;
|
|
2026
|
+
C >= r ? m = 1 : m = b - v, m > 4 && (m = 1);
|
|
2027
|
+
const z = v + m;
|
|
2028
2028
|
c = u.push("list_item_open", "li", 1), c.markup = String.fromCharCode(d);
|
|
2029
|
-
const
|
|
2030
|
-
c.map =
|
|
2031
|
-
const
|
|
2032
|
-
if (u.listIndent = u.blkIndent, u.blkIndent =
|
|
2029
|
+
const F = [s, 0];
|
|
2030
|
+
c.map = F, f && (c.info = u.src.slice(i, p - 1));
|
|
2031
|
+
const q = u.tight, M = u.tShift[s], W = u.sCount[s], ru = u.listIndent;
|
|
2032
|
+
if (u.listIndent = u.blkIndent, u.blkIndent = z, u.tight = !0, u.tShift[s] = C - u.bMarks[s], u.sCount[s] = b, C >= r && u.isEmpty(s + 1) ? u.line = Math.min(u.line + 2, t) : u.md.block.tokenize(u, s, t, !0), (!u.tight || k) && (a = !1), k = u.line - s > 1 && u.isEmpty(u.line - 1), u.blkIndent = u.listIndent, u.listIndent = ru, u.tShift[s] = M, u.sCount[s] = W, u.tight = q, c = u.push("list_item_close", "li", -1), c.markup = String.fromCharCode(d), s = u.line, F[1] = s, s >= t || u.sCount[s] < u.blkIndent || u.sCount[s] - u.blkIndent >= 4)
|
|
2033
2033
|
break;
|
|
2034
|
-
let
|
|
2035
|
-
for (let
|
|
2036
|
-
if (g[
|
|
2037
|
-
|
|
2034
|
+
let Q = !1;
|
|
2035
|
+
for (let G = 0, hu = g.length; G < hu; G++)
|
|
2036
|
+
if (g[G](u, s, t, !0)) {
|
|
2037
|
+
Q = !0;
|
|
2038
2038
|
break;
|
|
2039
2039
|
}
|
|
2040
|
-
if (
|
|
2040
|
+
if (Q)
|
|
2041
2041
|
break;
|
|
2042
2042
|
if (f) {
|
|
2043
|
-
if (p =
|
|
2043
|
+
if (p = y0(u, s), p < 0)
|
|
2044
2044
|
break;
|
|
2045
2045
|
i = u.bMarks[s] + u.tShift[s];
|
|
2046
|
-
} else if (p =
|
|
2046
|
+
} else if (p = k0(u, s), p < 0)
|
|
2047
2047
|
break;
|
|
2048
2048
|
if (d !== u.src.charCodeAt(p - 1))
|
|
2049
2049
|
break;
|
|
2050
2050
|
}
|
|
2051
|
-
return f ? c = u.push("ordered_list_close", "ol", -1) : c = u.push("bullet_list_close", "ul", -1), c.markup = String.fromCharCode(d),
|
|
2051
|
+
return f ? c = u.push("ordered_list_close", "ol", -1) : c = u.push("bullet_list_close", "ul", -1), c.markup = String.fromCharCode(d), _[1] = s, u.line = s, u.parentType = y, a && co(u, x), !0;
|
|
2052
2052
|
}
|
|
2053
2053
|
function so(u, e, t, n) {
|
|
2054
2054
|
let r = u.bMarks[e] + u.tShift[e], o = u.eMarks[e], i = e + 1;
|
|
@@ -2058,21 +2058,21 @@ function so(u, e, t, n) {
|
|
|
2058
2058
|
const y = u.lineMax;
|
|
2059
2059
|
if (g >= y || u.isEmpty(g))
|
|
2060
2060
|
return null;
|
|
2061
|
-
let
|
|
2062
|
-
if (u.sCount[g] - u.blkIndent > 3 && (
|
|
2063
|
-
const
|
|
2061
|
+
let v = !1;
|
|
2062
|
+
if (u.sCount[g] - u.blkIndent > 3 && (v = !0), u.sCount[g] < 0 && (v = !0), !v) {
|
|
2063
|
+
const m = u.md.block.ruler.getRules("reference"), z = u.parentType;
|
|
2064
2064
|
u.parentType = "reference";
|
|
2065
|
-
let
|
|
2066
|
-
for (let
|
|
2067
|
-
if (
|
|
2068
|
-
|
|
2065
|
+
let F = !1;
|
|
2066
|
+
for (let q = 0, M = m.length; q < M; q++)
|
|
2067
|
+
if (m[q](u, g, y, !0)) {
|
|
2068
|
+
F = !0;
|
|
2069
2069
|
break;
|
|
2070
2070
|
}
|
|
2071
|
-
if (u.parentType =
|
|
2071
|
+
if (u.parentType = z, F)
|
|
2072
2072
|
return null;
|
|
2073
2073
|
}
|
|
2074
|
-
const
|
|
2075
|
-
return u.src.slice(
|
|
2074
|
+
const b = u.bMarks[g] + u.tShift[g], C = u.eMarks[g];
|
|
2075
|
+
return u.src.slice(b, C + 1);
|
|
2076
2076
|
}
|
|
2077
2077
|
let s = u.src.slice(r, o + 1);
|
|
2078
2078
|
o = s.length;
|
|
@@ -2122,15 +2122,15 @@ function so(u, e, t, n) {
|
|
|
2122
2122
|
if (g === null) break;
|
|
2123
2123
|
s += g, r = o, o = s.length, i++, x = u.md.helpers.parseLinkTitle(s, r, o, x);
|
|
2124
2124
|
}
|
|
2125
|
-
let
|
|
2126
|
-
for (r < o && d !== r && x.ok ? (
|
|
2125
|
+
let _;
|
|
2126
|
+
for (r < o && d !== r && x.ok ? (_ = x.str, r = x.pos) : (_ = "", r = h, i = p); r < o; ) {
|
|
2127
2127
|
const g = s.charCodeAt(r);
|
|
2128
2128
|
if (!T(g))
|
|
2129
2129
|
break;
|
|
2130
2130
|
r++;
|
|
2131
2131
|
}
|
|
2132
|
-
if (r < o && s.charCodeAt(r) !== 10 &&
|
|
2133
|
-
for (
|
|
2132
|
+
if (r < o && s.charCodeAt(r) !== 10 && _)
|
|
2133
|
+
for (_ = "", r = h, i = p; r < o; ) {
|
|
2134
2134
|
const g = s.charCodeAt(r);
|
|
2135
2135
|
if (!T(g))
|
|
2136
2136
|
break;
|
|
@@ -2138,8 +2138,8 @@ function so(u, e, t, n) {
|
|
|
2138
2138
|
}
|
|
2139
2139
|
if (r < o && s.charCodeAt(r) !== 10)
|
|
2140
2140
|
return !1;
|
|
2141
|
-
const
|
|
2142
|
-
return
|
|
2141
|
+
const k = be(s.slice(1, a));
|
|
2142
|
+
return k ? (n || (typeof u.env.references > "u" && (u.env.references = {}), typeof u.env.references[k] > "u" && (u.env.references[k] = { title: _, href: f }), u.line = i), !0) : !1;
|
|
2143
2143
|
}
|
|
2144
2144
|
const ao = [
|
|
2145
2145
|
"address",
|
|
@@ -2204,7 +2204,7 @@ const ao = [
|
|
|
2204
2204
|
"tr",
|
|
2205
2205
|
"track",
|
|
2206
2206
|
"ul"
|
|
2207
|
-
], lo = "[a-zA-Z_:][a-zA-Z0-9:._-]*", fo = "[^\"'=<>`\\x00-\\x20]+", po = "'[^']*'", ho = '"[^"]*"', bo = "(?:" + fo + "|" + po + "|" + ho + ")", mo = "(?:\\s+" + lo + "(?:\\s*=\\s*" + bo + ")?)",
|
|
2207
|
+
], lo = "[a-zA-Z_:][a-zA-Z0-9:._-]*", fo = "[^\"'=<>`\\x00-\\x20]+", po = "'[^']*'", ho = '"[^"]*"', bo = "(?:" + fo + "|" + po + "|" + ho + ")", mo = "(?:\\s+" + lo + "(?:\\s*=\\s*" + bo + ")?)", et = "<[A-Za-z][A-Za-z0-9\\-]*" + mo + "*\\s*\\/?>", tt = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", xo = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", go = "<[?][\\s\\S]*?[?]>", _o = "<![A-Za-z][^>]*>", ko = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", yo = new RegExp("^(?:" + et + "|" + tt + "|" + xo + "|" + go + "|" + _o + "|" + ko + ")"), vo = new RegExp("^(?:" + et + "|" + tt + ")"), Su = [
|
|
2208
2208
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
2209
2209
|
[/^<!--/, /-->/, !0],
|
|
2210
2210
|
[/^<\?/, /\?>/, !0],
|
|
@@ -2218,16 +2218,16 @@ function Co(u, e, t, n) {
|
|
|
2218
2218
|
if (u.sCount[e] - u.blkIndent >= 4 || !u.md.options.html || u.src.charCodeAt(r) !== 60)
|
|
2219
2219
|
return !1;
|
|
2220
2220
|
let i = u.src.slice(r, o), c = 0;
|
|
2221
|
-
for (; c <
|
|
2221
|
+
for (; c < Su.length && !Su[c][0].test(i); c++)
|
|
2222
2222
|
;
|
|
2223
|
-
if (c ===
|
|
2223
|
+
if (c === Su.length)
|
|
2224
2224
|
return !1;
|
|
2225
2225
|
if (n)
|
|
2226
|
-
return
|
|
2226
|
+
return Su[c][2];
|
|
2227
2227
|
let s = e + 1;
|
|
2228
|
-
if (!
|
|
2228
|
+
if (!Su[c][1].test(i)) {
|
|
2229
2229
|
for (; s < t && !(u.sCount[s] < u.blkIndent); s++)
|
|
2230
|
-
if (r = u.bMarks[s] + u.tShift[s], o = u.eMarks[s], i = u.src.slice(r, o),
|
|
2230
|
+
if (r = u.bMarks[s] + u.tShift[s], o = u.eMarks[s], i = u.src.slice(r, o), Su[c][1].test(i)) {
|
|
2231
2231
|
i.length !== 0 && s++;
|
|
2232
2232
|
break;
|
|
2233
2233
|
}
|
|
@@ -2322,7 +2322,7 @@ function Eo(u, e, t) {
|
|
|
2322
2322
|
const s = u.push("inline", "", 0);
|
|
2323
2323
|
return s.content = i, s.map = [e, u.line], s.children = [], u.push("paragraph_close", "p", -1), u.parentType = r, !0;
|
|
2324
2324
|
}
|
|
2325
|
-
const
|
|
2325
|
+
const te = [
|
|
2326
2326
|
// First 2 params - rule name & source. Secondary array - list of rules,
|
|
2327
2327
|
// which can be terminated by this one.
|
|
2328
2328
|
["table", eo, ["paragraph", "reference"]],
|
|
@@ -2339,8 +2339,8 @@ const ne = [
|
|
|
2339
2339
|
];
|
|
2340
2340
|
function me() {
|
|
2341
2341
|
this.ruler = new Z();
|
|
2342
|
-
for (let u = 0; u <
|
|
2343
|
-
this.ruler.push(
|
|
2342
|
+
for (let u = 0; u < te.length; u++)
|
|
2343
|
+
this.ruler.push(te[u][0], te[u][1], { alt: (te[u][2] || []).slice() });
|
|
2344
2344
|
}
|
|
2345
2345
|
me.prototype.tokenize = function(u, e, t) {
|
|
2346
2346
|
const n = this.ruler.getRules(""), r = n.length, o = u.md.options.maxNesting;
|
|
@@ -2369,28 +2369,28 @@ me.prototype.parse = function(u, e, t, n) {
|
|
|
2369
2369
|
this.tokenize(r, r.line, r.lineMax);
|
|
2370
2370
|
};
|
|
2371
2371
|
me.prototype.State = du;
|
|
2372
|
-
function
|
|
2372
|
+
function Xu(u, e, t, n) {
|
|
2373
2373
|
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;
|
|
2374
2374
|
}
|
|
2375
|
-
|
|
2376
|
-
const u = new
|
|
2375
|
+
Xu.prototype.pushPending = function() {
|
|
2376
|
+
const u = new K("text", "", 0);
|
|
2377
2377
|
return u.content = this.pending, u.level = this.pendingLevel, this.tokens.push(u), this.pending = "", u;
|
|
2378
2378
|
};
|
|
2379
|
-
|
|
2379
|
+
Xu.prototype.push = function(u, e, t) {
|
|
2380
2380
|
this.pending && this.pushPending();
|
|
2381
|
-
const n = new
|
|
2381
|
+
const n = new K(u, e, t);
|
|
2382
2382
|
let r = null;
|
|
2383
2383
|
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;
|
|
2384
2384
|
};
|
|
2385
|
-
|
|
2385
|
+
Xu.prototype.scanDelims = function(u, e) {
|
|
2386
2386
|
const t = this.posMax, n = this.src.charCodeAt(u), r = u > 0 ? this.src.charCodeAt(u - 1) : 32;
|
|
2387
2387
|
let o = u;
|
|
2388
2388
|
for (; o < t && this.src.charCodeAt(o) === n; )
|
|
2389
2389
|
o++;
|
|
2390
|
-
const i = o - u, c = o < t ? this.src.charCodeAt(o) : 32, s =
|
|
2390
|
+
const i = o - u, c = o < t ? this.src.charCodeAt(o) : 32, s = Vu(r) || Hu(String.fromCharCode(r)), a = Vu(c) || Hu(String.fromCharCode(c)), l = ju(r), f = ju(c), h = !f && (!a || l || s), p = !l && (!s || f || a);
|
|
2391
2391
|
return { can_open: h && (e || !p || s), can_close: p && (e || !h || a), length: i };
|
|
2392
2392
|
};
|
|
2393
|
-
|
|
2393
|
+
Xu.prototype.Token = K;
|
|
2394
2394
|
function Ao(u) {
|
|
2395
2395
|
switch (u) {
|
|
2396
2396
|
case 10:
|
|
@@ -2471,11 +2471,11 @@ function qo(u, e) {
|
|
|
2471
2471
|
t++;
|
|
2472
2472
|
return u.pos = t, !0;
|
|
2473
2473
|
}
|
|
2474
|
-
const
|
|
2474
|
+
const Ye = [];
|
|
2475
2475
|
for (let u = 0; u < 256; u++)
|
|
2476
|
-
|
|
2476
|
+
Ye.push(0);
|
|
2477
2477
|
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(u) {
|
|
2478
|
-
|
|
2478
|
+
Ye[u.charCodeAt(0)] = 1;
|
|
2479
2479
|
});
|
|
2480
2480
|
function Bo(u, e) {
|
|
2481
2481
|
let t = u.pos;
|
|
@@ -2495,7 +2495,7 @@ function Bo(u, e) {
|
|
|
2495
2495
|
const i = "\\" + o;
|
|
2496
2496
|
if (!e) {
|
|
2497
2497
|
const c = u.push("text_special", "", 0);
|
|
2498
|
-
r < 256 &&
|
|
2498
|
+
r < 256 && Ye[r] !== 0 ? c.content = o : c.content = i, c.markup = i, c.info = "escape";
|
|
2499
2499
|
}
|
|
2500
2500
|
return u.pos = t + 1, !0;
|
|
2501
2501
|
}
|
|
@@ -2550,7 +2550,7 @@ function Mo(u, e) {
|
|
|
2550
2550
|
});
|
|
2551
2551
|
return u.pos += r.length, !0;
|
|
2552
2552
|
}
|
|
2553
|
-
function
|
|
2553
|
+
function v0(u, e) {
|
|
2554
2554
|
let t;
|
|
2555
2555
|
const n = [], r = e.length;
|
|
2556
2556
|
for (let o = 0; o < r; o++) {
|
|
@@ -2570,11 +2570,11 @@ function y0(u, e) {
|
|
|
2570
2570
|
}
|
|
2571
2571
|
function Lo(u) {
|
|
2572
2572
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2573
|
-
|
|
2573
|
+
v0(u, u.delimiters);
|
|
2574
2574
|
for (let n = 0; n < t; n++)
|
|
2575
|
-
e[n] && e[n].delimiters &&
|
|
2575
|
+
e[n] && e[n].delimiters && v0(u, e[n].delimiters);
|
|
2576
2576
|
}
|
|
2577
|
-
const
|
|
2577
|
+
const nt = {
|
|
2578
2578
|
tokenize: Mo,
|
|
2579
2579
|
postProcess: Lo
|
|
2580
2580
|
};
|
|
@@ -2608,7 +2608,7 @@ function Ro(u, e) {
|
|
|
2608
2608
|
}
|
|
2609
2609
|
return u.pos += r.length, !0;
|
|
2610
2610
|
}
|
|
2611
|
-
function
|
|
2611
|
+
function C0(u, e) {
|
|
2612
2612
|
const t = e.length;
|
|
2613
2613
|
for (let n = t - 1; n >= 0; n--) {
|
|
2614
2614
|
const r = e[n];
|
|
@@ -2624,11 +2624,11 @@ function v0(u, e) {
|
|
|
2624
2624
|
}
|
|
2625
2625
|
function Io(u) {
|
|
2626
2626
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2627
|
-
|
|
2627
|
+
C0(u, u.delimiters);
|
|
2628
2628
|
for (let n = 0; n < t; n++)
|
|
2629
|
-
e[n] && e[n].delimiters &&
|
|
2629
|
+
e[n] && e[n].delimiters && C0(u, e[n].delimiters);
|
|
2630
2630
|
}
|
|
2631
|
-
const
|
|
2631
|
+
const rt = {
|
|
2632
2632
|
tokenize: Ro,
|
|
2633
2633
|
postProcess: Io
|
|
2634
2634
|
};
|
|
@@ -2663,8 +2663,8 @@ function $o(u, e) {
|
|
|
2663
2663
|
}
|
|
2664
2664
|
if (!e) {
|
|
2665
2665
|
u.pos = h, u.posMax = p;
|
|
2666
|
-
const x = u.push("link_open", "a", 1),
|
|
2667
|
-
x.attrs =
|
|
2666
|
+
const x = u.push("link_open", "a", 1), _ = [["href", i]];
|
|
2667
|
+
x.attrs = _, c && _.push(["title", c]), u.linkLevel++, u.md.inline.tokenize(u), u.linkLevel--, u.push("link_close", "a", -1);
|
|
2668
2668
|
}
|
|
2669
2669
|
return u.pos = d, u.posMax = f, !0;
|
|
2670
2670
|
}
|
|
@@ -2707,8 +2707,8 @@ function Oo(u, e) {
|
|
|
2707
2707
|
u.env,
|
|
2708
2708
|
x
|
|
2709
2709
|
);
|
|
2710
|
-
const
|
|
2711
|
-
|
|
2710
|
+
const _ = u.push("image", "img", 0), k = [["src", l], ["alt", ""]];
|
|
2711
|
+
_.attrs = k, _.children = x, _.content = n, s && k.push(["title", s]);
|
|
2712
2712
|
}
|
|
2713
2713
|
return u.pos = o, u.posMax = h, !0;
|
|
2714
2714
|
}
|
|
@@ -2792,14 +2792,14 @@ function Jo(u, e) {
|
|
|
2792
2792
|
if (o) {
|
|
2793
2793
|
if (!e) {
|
|
2794
2794
|
const i = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), c = u.push("text_special", "", 0);
|
|
2795
|
-
c.content =
|
|
2795
|
+
c.content = Xe(i) ? ce(i) : ce(65533), c.markup = o[0], c.info = "entity";
|
|
2796
2796
|
}
|
|
2797
2797
|
return u.pos += o[0].length, !0;
|
|
2798
2798
|
}
|
|
2799
2799
|
} else {
|
|
2800
2800
|
const o = u.src.slice(t).match(Go);
|
|
2801
2801
|
if (o) {
|
|
2802
|
-
const i =
|
|
2802
|
+
const i = X0(o[0]);
|
|
2803
2803
|
if (i !== o[0]) {
|
|
2804
2804
|
if (!e) {
|
|
2805
2805
|
const c = u.push("text_special", "", 0);
|
|
@@ -2811,7 +2811,7 @@ function Jo(u, e) {
|
|
|
2811
2811
|
}
|
|
2812
2812
|
return !1;
|
|
2813
2813
|
}
|
|
2814
|
-
function
|
|
2814
|
+
function w0(u) {
|
|
2815
2815
|
const e = {}, t = u.length;
|
|
2816
2816
|
if (!t) return;
|
|
2817
2817
|
let n = 0, r = -2;
|
|
@@ -2838,9 +2838,9 @@ function C0(u) {
|
|
|
2838
2838
|
}
|
|
2839
2839
|
function Xo(u) {
|
|
2840
2840
|
const e = u.tokens_meta, t = u.tokens_meta.length;
|
|
2841
|
-
|
|
2841
|
+
w0(u.delimiters);
|
|
2842
2842
|
for (let n = 0; n < t; n++)
|
|
2843
|
-
e[n] && e[n].delimiters &&
|
|
2843
|
+
e[n] && e[n].delimiters && w0(e[n].delimiters);
|
|
2844
2844
|
}
|
|
2845
2845
|
function Qo(u) {
|
|
2846
2846
|
let e, t, n = 0;
|
|
@@ -2849,36 +2849,36 @@ function Qo(u) {
|
|
|
2849
2849
|
r[e].nesting < 0 && n--, r[e].level = n, r[e].nesting > 0 && n++, r[e].type === "text" && e + 1 < o && r[e + 1].type === "text" ? r[e + 1].content = r[e].content + r[e + 1].content : (e !== t && (r[t] = r[e]), t++);
|
|
2850
2850
|
e !== t && (r.length = t);
|
|
2851
2851
|
}
|
|
2852
|
-
const
|
|
2852
|
+
const Fe = [
|
|
2853
2853
|
["text", Fo],
|
|
2854
2854
|
["linkify", zo],
|
|
2855
2855
|
["newline", qo],
|
|
2856
2856
|
["escape", Bo],
|
|
2857
2857
|
["backticks", To],
|
|
2858
|
-
["strikethrough",
|
|
2859
|
-
["emphasis",
|
|
2858
|
+
["strikethrough", nt.tokenize],
|
|
2859
|
+
["emphasis", rt.tokenize],
|
|
2860
2860
|
["link", $o],
|
|
2861
2861
|
["image", Oo],
|
|
2862
2862
|
["autolink", jo],
|
|
2863
2863
|
["html_inline", Zo],
|
|
2864
2864
|
["entity", Jo]
|
|
2865
|
-
],
|
|
2865
|
+
], Se = [
|
|
2866
2866
|
["balance_pairs", Xo],
|
|
2867
|
-
["strikethrough",
|
|
2868
|
-
["emphasis",
|
|
2867
|
+
["strikethrough", nt.postProcess],
|
|
2868
|
+
["emphasis", rt.postProcess],
|
|
2869
2869
|
// rules for pairs separate '**' into its own text tokens, which may be left unused,
|
|
2870
2870
|
// rule below merges unused segments back with the rest of the text
|
|
2871
2871
|
["fragments_join", Qo]
|
|
2872
2872
|
];
|
|
2873
|
-
function
|
|
2873
|
+
function Qu() {
|
|
2874
2874
|
this.ruler = new Z();
|
|
2875
|
-
for (let u = 0; u < Ae.length; u++)
|
|
2876
|
-
this.ruler.push(Ae[u][0], Ae[u][1]);
|
|
2877
|
-
this.ruler2 = new Z();
|
|
2878
2875
|
for (let u = 0; u < Fe.length; u++)
|
|
2879
|
-
this.
|
|
2876
|
+
this.ruler.push(Fe[u][0], Fe[u][1]);
|
|
2877
|
+
this.ruler2 = new Z();
|
|
2878
|
+
for (let u = 0; u < Se.length; u++)
|
|
2879
|
+
this.ruler2.push(Se[u][0], Se[u][1]);
|
|
2880
2880
|
}
|
|
2881
|
-
|
|
2881
|
+
Qu.prototype.skipToken = function(u) {
|
|
2882
2882
|
const e = u.pos, t = this.ruler.getRules(""), n = t.length, r = u.md.options.maxNesting, o = u.cache;
|
|
2883
2883
|
if (typeof o[e] < "u") {
|
|
2884
2884
|
u.pos = o[e];
|
|
@@ -2896,7 +2896,7 @@ Ku.prototype.skipToken = function(u) {
|
|
|
2896
2896
|
u.pos = u.posMax;
|
|
2897
2897
|
i || u.pos++, o[e] = u.pos;
|
|
2898
2898
|
};
|
|
2899
|
-
|
|
2899
|
+
Qu.prototype.tokenize = function(u) {
|
|
2900
2900
|
const e = this.ruler.getRules(""), t = e.length, n = u.posMax, r = u.md.options.maxNesting;
|
|
2901
2901
|
for (; u.pos < n; ) {
|
|
2902
2902
|
const o = u.pos;
|
|
@@ -2918,17 +2918,17 @@ Ku.prototype.tokenize = function(u) {
|
|
|
2918
2918
|
}
|
|
2919
2919
|
u.pending && u.pushPending();
|
|
2920
2920
|
};
|
|
2921
|
-
|
|
2921
|
+
Qu.prototype.parse = function(u, e, t, n) {
|
|
2922
2922
|
const r = new this.State(u, e, t, n);
|
|
2923
2923
|
this.tokenize(r);
|
|
2924
2924
|
const o = this.ruler2.getRules(""), i = o.length;
|
|
2925
2925
|
for (let c = 0; c < i; c++)
|
|
2926
2926
|
o[c](r);
|
|
2927
2927
|
};
|
|
2928
|
-
|
|
2928
|
+
Qu.prototype.State = Xu;
|
|
2929
2929
|
function Yo(u) {
|
|
2930
2930
|
const e = {};
|
|
2931
|
-
u = u || {}, e.src_Any =
|
|
2931
|
+
u = u || {}, e.src_Any = U0.source, e.src_Cc = Z0.source, e.src_Z = G0.source, e.src_P = Ge.source, e.src_ZPCc = [e.src_Z, e.src_P, e.src_Cc].join("|"), e.src_ZCc = [e.src_Z, e.src_Cc].join("|");
|
|
2932
2932
|
const t = "[><|]";
|
|
2933
2933
|
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
|
|
2934
2934
|
",(?!" + 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)
|
|
@@ -2938,7 +2938,7 @@ function Yo(u) {
|
|
|
2938
2938
|
// but can start with > (markdown blockquote)
|
|
2939
2939
|
"(^|(?![.:/\\-_@])(?:[$+<=>^`||]|" + e.src_ZPCc + "))((?![$+<=>^`||])" + e.tpl_host_port_no_ip_fuzzy_strict + e.src_path + ")", e;
|
|
2940
2940
|
}
|
|
2941
|
-
function
|
|
2941
|
+
function Re(u) {
|
|
2942
2942
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
2943
2943
|
t && Object.keys(t).forEach(function(n) {
|
|
2944
2944
|
u[n] = t[n];
|
|
@@ -2957,20 +2957,20 @@ function uc(u) {
|
|
|
2957
2957
|
function ec(u) {
|
|
2958
2958
|
return xe(u) === "[object RegExp]";
|
|
2959
2959
|
}
|
|
2960
|
-
function
|
|
2960
|
+
function D0(u) {
|
|
2961
2961
|
return xe(u) === "[object Function]";
|
|
2962
2962
|
}
|
|
2963
2963
|
function tc(u) {
|
|
2964
2964
|
return u.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
2965
2965
|
}
|
|
2966
|
-
const
|
|
2966
|
+
const ot = {
|
|
2967
2967
|
fuzzyLink: !0,
|
|
2968
2968
|
fuzzyEmail: !0,
|
|
2969
2969
|
fuzzyIP: !1
|
|
2970
2970
|
};
|
|
2971
2971
|
function nc(u) {
|
|
2972
2972
|
return Object.keys(u || {}).reduce(function(e, t) {
|
|
2973
|
-
return e ||
|
|
2973
|
+
return e || ot.hasOwnProperty(t);
|
|
2974
2974
|
}, !1);
|
|
2975
2975
|
}
|
|
2976
2976
|
const rc = {
|
|
@@ -3015,7 +3015,7 @@ function sc(u) {
|
|
|
3015
3015
|
return u.test(n) ? n.match(u)[0].length : 0;
|
|
3016
3016
|
};
|
|
3017
3017
|
}
|
|
3018
|
-
function
|
|
3018
|
+
function E0() {
|
|
3019
3019
|
return function(u, e) {
|
|
3020
3020
|
e.normalize(u);
|
|
3021
3021
|
};
|
|
@@ -3038,7 +3038,7 @@ function ie(u) {
|
|
|
3038
3038
|
return;
|
|
3039
3039
|
const a = { validate: null, link: null };
|
|
3040
3040
|
if (u.__compiled__[c] = a, uc(s)) {
|
|
3041
|
-
ec(s.validate) ? a.validate = sc(s.validate) :
|
|
3041
|
+
ec(s.validate) ? a.validate = sc(s.validate) : D0(s.validate) ? a.validate = s.validate : o(c, s), D0(s.normalize) ? a.normalize = s.normalize : s.normalize ? o(c, s) : a.normalize = E0();
|
|
3042
3042
|
return;
|
|
3043
3043
|
}
|
|
3044
3044
|
if (Ko(s)) {
|
|
@@ -3048,7 +3048,7 @@ function ie(u) {
|
|
|
3048
3048
|
o(c, s);
|
|
3049
3049
|
}), r.forEach(function(c) {
|
|
3050
3050
|
u.__compiled__[u.__schemas__[c]] && (u.__compiled__[c].validate = u.__compiled__[u.__schemas__[c]].validate, u.__compiled__[c].normalize = u.__compiled__[u.__schemas__[c]].normalize);
|
|
3051
|
-
}), u.__compiled__[""] = { validate: null, normalize:
|
|
3051
|
+
}), u.__compiled__[""] = { validate: null, normalize: E0() };
|
|
3052
3052
|
const i = Object.keys(u.__compiled__).filter(function(c) {
|
|
3053
3053
|
return c.length > 0 && u.__compiled__[c];
|
|
3054
3054
|
}).map(tc).join("|");
|
|
@@ -3061,22 +3061,22 @@ function ac(u, e) {
|
|
|
3061
3061
|
const t = u.__index__, n = u.__last_index__, r = u.__text_cache__.slice(t, n);
|
|
3062
3062
|
this.schema = u.__schema__.toLowerCase(), this.index = t + e, this.lastIndex = n + e, this.raw = r, this.text = r, this.url = r;
|
|
3063
3063
|
}
|
|
3064
|
-
function
|
|
3064
|
+
function Ie(u, e) {
|
|
3065
3065
|
const t = new ac(u, e);
|
|
3066
3066
|
return u.__compiled__[t.schema].normalize(t, u), t;
|
|
3067
3067
|
}
|
|
3068
|
-
function
|
|
3069
|
-
if (!(this instanceof
|
|
3070
|
-
return new
|
|
3071
|
-
e || nc(u) && (e = u, u = {}), this.__opts__ =
|
|
3068
|
+
function X(u, e) {
|
|
3069
|
+
if (!(this instanceof X))
|
|
3070
|
+
return new X(u, e);
|
|
3071
|
+
e || nc(u) && (e = u, u = {}), this.__opts__ = Re({}, ot, e), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = Re({}, rc, u), this.__compiled__ = {}, this.__tlds__ = cc, this.__tlds_replaced__ = !1, this.re = {}, ie(this);
|
|
3072
3072
|
}
|
|
3073
|
-
|
|
3073
|
+
X.prototype.add = function(e, t) {
|
|
3074
3074
|
return this.__schemas__[e] = t, ie(this), this;
|
|
3075
3075
|
};
|
|
3076
|
-
|
|
3077
|
-
return this.__opts__ =
|
|
3076
|
+
X.prototype.set = function(e) {
|
|
3077
|
+
return this.__opts__ = Re(this.__opts__, e), this;
|
|
3078
3078
|
};
|
|
3079
|
-
|
|
3079
|
+
X.prototype.test = function(e) {
|
|
3080
3080
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length)
|
|
3081
3081
|
return !1;
|
|
3082
3082
|
let t, n, r, o, i, c, s, a, l;
|
|
@@ -3089,43 +3089,43 @@ J.prototype.test = function(e) {
|
|
|
3089
3089
|
}
|
|
3090
3090
|
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, c = r.index + r[0].length, (this.__index__ < 0 || i < this.__index__ || i === this.__index__ && c > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = i, this.__last_index__ = c))), this.__index__ >= 0;
|
|
3091
3091
|
};
|
|
3092
|
-
|
|
3092
|
+
X.prototype.pretest = function(e) {
|
|
3093
3093
|
return this.re.pretest.test(e);
|
|
3094
3094
|
};
|
|
3095
|
-
|
|
3095
|
+
X.prototype.testSchemaAt = function(e, t, n) {
|
|
3096
3096
|
return this.__compiled__[t.toLowerCase()] ? this.__compiled__[t.toLowerCase()].validate(e, n, this) : 0;
|
|
3097
3097
|
};
|
|
3098
|
-
|
|
3098
|
+
X.prototype.match = function(e) {
|
|
3099
3099
|
const t = [];
|
|
3100
3100
|
let n = 0;
|
|
3101
|
-
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(
|
|
3101
|
+
this.__index__ >= 0 && this.__text_cache__ === e && (t.push(Ie(this, n)), n = this.__last_index__);
|
|
3102
3102
|
let r = n ? e.slice(n) : e;
|
|
3103
3103
|
for (; this.test(r); )
|
|
3104
|
-
t.push(
|
|
3104
|
+
t.push(Ie(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
|
|
3105
3105
|
return t.length ? t : null;
|
|
3106
3106
|
};
|
|
3107
|
-
|
|
3107
|
+
X.prototype.matchAtStart = function(e) {
|
|
3108
3108
|
if (this.__text_cache__ = e, this.__index__ = -1, !e.length) return null;
|
|
3109
3109
|
const t = this.re.schema_at_start.exec(e);
|
|
3110
3110
|
if (!t) return null;
|
|
3111
3111
|
const n = this.testSchemaAt(e, t[2], t[0].length);
|
|
3112
|
-
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n,
|
|
3112
|
+
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, Ie(this, 0)) : null;
|
|
3113
3113
|
};
|
|
3114
|
-
|
|
3114
|
+
X.prototype.tlds = function(e, t) {
|
|
3115
3115
|
return e = Array.isArray(e) ? e : [e], t ? (this.__tlds__ = this.__tlds__.concat(e).sort().filter(function(n, r, o) {
|
|
3116
3116
|
return n !== o[r - 1];
|
|
3117
3117
|
}).reverse(), ie(this), this) : (this.__tlds__ = e.slice(), this.__tlds_replaced__ = !0, ie(this), this);
|
|
3118
3118
|
};
|
|
3119
|
-
|
|
3119
|
+
X.prototype.normalize = function(e) {
|
|
3120
3120
|
e.schema || (e.url = "http://" + e.url), e.schema === "mailto:" && !/^mailto:/i.test(e.url) && (e.url = "mailto:" + e.url);
|
|
3121
3121
|
};
|
|
3122
|
-
|
|
3122
|
+
X.prototype.onCompile = function() {
|
|
3123
3123
|
};
|
|
3124
|
-
const
|
|
3124
|
+
const zu = 2147483647, ou = 36, Ke = 1, Uu = 26, lc = 38, fc = 700, ct = 72, it = 128, st = "-", dc = /^xn--/, pc = /[^\0-\x7F]/, hc = /[\x2E\u3002\uFF0E\uFF61]/g, bc = {
|
|
3125
3125
|
overflow: "Overflow: input needs wider integers to process",
|
|
3126
3126
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
3127
3127
|
"invalid-input": "Invalid input"
|
|
3128
|
-
},
|
|
3128
|
+
}, ze = ou - Ke, cu = Math.floor, qe = String.fromCharCode;
|
|
3129
3129
|
function xu(u) {
|
|
3130
3130
|
throw new RangeError(bc[u]);
|
|
3131
3131
|
}
|
|
@@ -3136,14 +3136,14 @@ function mc(u, e) {
|
|
|
3136
3136
|
t[n] = e(u[n]);
|
|
3137
3137
|
return t;
|
|
3138
3138
|
}
|
|
3139
|
-
function
|
|
3139
|
+
function at(u, e) {
|
|
3140
3140
|
const t = u.split("@");
|
|
3141
3141
|
let n = "";
|
|
3142
3142
|
t.length > 1 && (n = t[0] + "@", u = t[1]), u = u.replace(hc, ".");
|
|
3143
3143
|
const r = u.split("."), o = mc(r, e).join(".");
|
|
3144
3144
|
return n + o;
|
|
3145
3145
|
}
|
|
3146
|
-
function
|
|
3146
|
+
function lt(u) {
|
|
3147
3147
|
const e = [];
|
|
3148
3148
|
let t = 0;
|
|
3149
3149
|
const n = u.length;
|
|
@@ -3159,16 +3159,16 @@ function st(u) {
|
|
|
3159
3159
|
}
|
|
3160
3160
|
const xc = (u) => String.fromCodePoint(...u), gc = function(u) {
|
|
3161
3161
|
return u >= 48 && u < 58 ? 26 + (u - 48) : u >= 65 && u < 91 ? u - 65 : u >= 97 && u < 123 ? u - 97 : ou;
|
|
3162
|
-
},
|
|
3162
|
+
}, A0 = function(u, e) {
|
|
3163
3163
|
return u + 22 + 75 * (u < 26) - ((e != 0) << 5);
|
|
3164
|
-
},
|
|
3164
|
+
}, ft = function(u, e, t) {
|
|
3165
3165
|
let n = 0;
|
|
3166
|
-
for (u = t ? cu(u / fc) : u >> 1, u += cu(u / e); u >
|
|
3167
|
-
u = cu(u /
|
|
3168
|
-
return cu(n + (
|
|
3169
|
-
},
|
|
3166
|
+
for (u = t ? cu(u / fc) : u >> 1, u += cu(u / e); u > ze * Uu >> 1; n += ou)
|
|
3167
|
+
u = cu(u / ze);
|
|
3168
|
+
return cu(n + (ze + 1) * u / (u + lc));
|
|
3169
|
+
}, dt = function(u) {
|
|
3170
3170
|
const e = [], t = u.length;
|
|
3171
|
-
let n = 0, r =
|
|
3171
|
+
let n = 0, r = it, o = ct, i = u.lastIndexOf(st);
|
|
3172
3172
|
i < 0 && (i = 0);
|
|
3173
3173
|
for (let c = 0; c < i; ++c)
|
|
3174
3174
|
u.charCodeAt(c) >= 128 && xu("not-basic"), e.push(u.charCodeAt(c));
|
|
@@ -3177,58 +3177,58 @@ const xc = (u) => String.fromCodePoint(...u), gc = function(u) {
|
|
|
3177
3177
|
for (let l = 1, f = ou; ; f += ou) {
|
|
3178
3178
|
c >= t && xu("invalid-input");
|
|
3179
3179
|
const h = gc(u.charCodeAt(c++));
|
|
3180
|
-
h >= ou && xu("invalid-input"), h > cu((
|
|
3181
|
-
const p = f <= o ?
|
|
3180
|
+
h >= ou && xu("invalid-input"), h > cu((zu - n) / l) && xu("overflow"), n += h * l;
|
|
3181
|
+
const p = f <= o ? Ke : f >= o + Uu ? Uu : f - o;
|
|
3182
3182
|
if (h < p)
|
|
3183
3183
|
break;
|
|
3184
3184
|
const d = ou - p;
|
|
3185
|
-
l > cu(
|
|
3185
|
+
l > cu(zu / d) && xu("overflow"), l *= d;
|
|
3186
3186
|
}
|
|
3187
3187
|
const a = e.length + 1;
|
|
3188
|
-
o =
|
|
3188
|
+
o = ft(n - s, a, s == 0), cu(n / a) > zu - r && xu("overflow"), r += cu(n / a), n %= a, e.splice(n++, 0, r);
|
|
3189
3189
|
}
|
|
3190
3190
|
return String.fromCodePoint(...e);
|
|
3191
|
-
},
|
|
3191
|
+
}, pt = function(u) {
|
|
3192
3192
|
const e = [];
|
|
3193
|
-
u =
|
|
3193
|
+
u = lt(u);
|
|
3194
3194
|
const t = u.length;
|
|
3195
|
-
let n =
|
|
3195
|
+
let n = it, r = 0, o = ct;
|
|
3196
3196
|
for (const s of u)
|
|
3197
|
-
s < 128 && e.push(
|
|
3197
|
+
s < 128 && e.push(qe(s));
|
|
3198
3198
|
const i = e.length;
|
|
3199
3199
|
let c = i;
|
|
3200
|
-
for (i && e.push(
|
|
3201
|
-
let s =
|
|
3200
|
+
for (i && e.push(st); c < t; ) {
|
|
3201
|
+
let s = zu;
|
|
3202
3202
|
for (const l of u)
|
|
3203
3203
|
l >= n && l < s && (s = l);
|
|
3204
3204
|
const a = c + 1;
|
|
3205
|
-
s - n > cu((
|
|
3205
|
+
s - n > cu((zu - r) / a) && xu("overflow"), r += (s - n) * a, n = s;
|
|
3206
3206
|
for (const l of u)
|
|
3207
|
-
if (l < n && ++r >
|
|
3207
|
+
if (l < n && ++r > zu && xu("overflow"), l === n) {
|
|
3208
3208
|
let f = r;
|
|
3209
3209
|
for (let h = ou; ; h += ou) {
|
|
3210
|
-
const p = h <= o ?
|
|
3210
|
+
const p = h <= o ? Ke : h >= o + Uu ? Uu : h - o;
|
|
3211
3211
|
if (f < p)
|
|
3212
3212
|
break;
|
|
3213
3213
|
const d = f - p, x = ou - p;
|
|
3214
3214
|
e.push(
|
|
3215
|
-
|
|
3215
|
+
qe(A0(p + d % x, 0))
|
|
3216
3216
|
), f = cu(d / x);
|
|
3217
3217
|
}
|
|
3218
|
-
e.push(
|
|
3218
|
+
e.push(qe(A0(f, 0))), o = ft(r, a, c === i), r = 0, ++c;
|
|
3219
3219
|
}
|
|
3220
3220
|
++r, ++n;
|
|
3221
3221
|
}
|
|
3222
3222
|
return e.join("");
|
|
3223
3223
|
}, _c = function(u) {
|
|
3224
|
-
return
|
|
3225
|
-
return dc.test(e) ?
|
|
3224
|
+
return at(u, function(e) {
|
|
3225
|
+
return dc.test(e) ? dt(e.slice(4).toLowerCase()) : e;
|
|
3226
3226
|
});
|
|
3227
3227
|
}, kc = function(u) {
|
|
3228
|
-
return
|
|
3229
|
-
return pc.test(e) ? "xn--" +
|
|
3228
|
+
return at(u, function(e) {
|
|
3229
|
+
return pc.test(e) ? "xn--" + pt(e) : e;
|
|
3230
3230
|
});
|
|
3231
|
-
},
|
|
3231
|
+
}, ht = {
|
|
3232
3232
|
/**
|
|
3233
3233
|
* A string representing the current Punycode.js version number.
|
|
3234
3234
|
* @memberOf punycode
|
|
@@ -3243,11 +3243,11 @@ const xc = (u) => String.fromCodePoint(...u), gc = function(u) {
|
|
|
3243
3243
|
* @type Object
|
|
3244
3244
|
*/
|
|
3245
3245
|
ucs2: {
|
|
3246
|
-
decode:
|
|
3246
|
+
decode: lt,
|
|
3247
3247
|
encode: xc
|
|
3248
3248
|
},
|
|
3249
|
-
decode:
|
|
3250
|
-
encode:
|
|
3249
|
+
decode: dt,
|
|
3250
|
+
encode: pt,
|
|
3251
3251
|
toASCII: kc,
|
|
3252
3252
|
toUnicode: _c
|
|
3253
3253
|
}, yc = {
|
|
@@ -3424,36 +3424,36 @@ function Ac(u) {
|
|
|
3424
3424
|
const e = u.trim().toLowerCase();
|
|
3425
3425
|
return Dc.test(e) ? Ec.test(e) : !0;
|
|
3426
3426
|
}
|
|
3427
|
-
const
|
|
3427
|
+
const bt = ["http:", "https:", "mailto:"];
|
|
3428
3428
|
function Fc(u) {
|
|
3429
|
-
const e =
|
|
3430
|
-
if (e.hostname && (!e.protocol ||
|
|
3429
|
+
const e = We(u, !0);
|
|
3430
|
+
if (e.hostname && (!e.protocol || bt.indexOf(e.protocol) >= 0))
|
|
3431
3431
|
try {
|
|
3432
|
-
e.hostname =
|
|
3432
|
+
e.hostname = ht.toASCII(e.hostname);
|
|
3433
3433
|
} catch {
|
|
3434
3434
|
}
|
|
3435
|
-
return
|
|
3435
|
+
return Ju(Ze(e));
|
|
3436
3436
|
}
|
|
3437
3437
|
function Sc(u) {
|
|
3438
|
-
const e =
|
|
3439
|
-
if (e.hostname && (!e.protocol ||
|
|
3438
|
+
const e = We(u, !0);
|
|
3439
|
+
if (e.hostname && (!e.protocol || bt.indexOf(e.protocol) >= 0))
|
|
3440
3440
|
try {
|
|
3441
|
-
e.hostname =
|
|
3441
|
+
e.hostname = ht.toUnicode(e.hostname);
|
|
3442
3442
|
} catch {
|
|
3443
3443
|
}
|
|
3444
|
-
return
|
|
3444
|
+
return Lu(Ze(e), Lu.defaultChars + "%");
|
|
3445
3445
|
}
|
|
3446
|
-
function
|
|
3447
|
-
if (!(this instanceof
|
|
3448
|
-
return new
|
|
3449
|
-
e ||
|
|
3446
|
+
function Y(u, e) {
|
|
3447
|
+
if (!(this instanceof Y))
|
|
3448
|
+
return new Y(u, e);
|
|
3449
|
+
e || Je(u) || (e = u || {}, u = "default"), this.inline = new Qu(), this.block = new me(), this.core = new Qe(), this.renderer = new Ou(), this.linkify = new X(), this.validateLink = Ac, this.normalizeLink = Fc, this.normalizeLinkText = Sc, this.utils = zr, this.helpers = he({}, Mr), this.options = {}, this.configure(u), e && this.set(e);
|
|
3450
3450
|
}
|
|
3451
|
-
|
|
3451
|
+
Y.prototype.set = function(u) {
|
|
3452
3452
|
return he(this.options, u), this;
|
|
3453
3453
|
};
|
|
3454
|
-
|
|
3454
|
+
Y.prototype.configure = function(u) {
|
|
3455
3455
|
const e = this;
|
|
3456
|
-
if (
|
|
3456
|
+
if (Je(u)) {
|
|
3457
3457
|
const t = u;
|
|
3458
3458
|
if (u = wc[t], !u)
|
|
3459
3459
|
throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
|
|
@@ -3464,7 +3464,7 @@ Q.prototype.configure = function(u) {
|
|
|
3464
3464
|
u.components[t].rules && e[t].ruler.enableOnly(u.components[t].rules), u.components[t].rules2 && e[t].ruler2.enableOnly(u.components[t].rules2);
|
|
3465
3465
|
}), this;
|
|
3466
3466
|
};
|
|
3467
|
-
|
|
3467
|
+
Y.prototype.enable = function(u, e) {
|
|
3468
3468
|
let t = [];
|
|
3469
3469
|
Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
|
|
3470
3470
|
t = t.concat(this[r].ruler.enable(u, !0));
|
|
@@ -3476,7 +3476,7 @@ Q.prototype.enable = function(u, e) {
|
|
|
3476
3476
|
throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + n);
|
|
3477
3477
|
return this;
|
|
3478
3478
|
};
|
|
3479
|
-
|
|
3479
|
+
Y.prototype.disable = function(u, e) {
|
|
3480
3480
|
let t = [];
|
|
3481
3481
|
Array.isArray(u) || (u = [u]), ["core", "block", "inline"].forEach(function(r) {
|
|
3482
3482
|
t = t.concat(this[r].ruler.disable(u, !0));
|
|
@@ -3488,29 +3488,29 @@ Q.prototype.disable = function(u, e) {
|
|
|
3488
3488
|
throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + n);
|
|
3489
3489
|
return this;
|
|
3490
3490
|
};
|
|
3491
|
-
|
|
3491
|
+
Y.prototype.use = function(u) {
|
|
3492
3492
|
const e = [this].concat(Array.prototype.slice.call(arguments, 1));
|
|
3493
3493
|
return u.apply(u, e), this;
|
|
3494
3494
|
};
|
|
3495
|
-
|
|
3495
|
+
Y.prototype.parse = function(u, e) {
|
|
3496
3496
|
if (typeof u != "string")
|
|
3497
3497
|
throw new Error("Input data should be a String");
|
|
3498
3498
|
const t = new this.core.State(u, this, e);
|
|
3499
3499
|
return this.core.process(t), t.tokens;
|
|
3500
3500
|
};
|
|
3501
|
-
|
|
3501
|
+
Y.prototype.render = function(u, e) {
|
|
3502
3502
|
return e = e || {}, this.renderer.render(this.parse(u, e), this.options, e);
|
|
3503
3503
|
};
|
|
3504
|
-
|
|
3504
|
+
Y.prototype.parseInline = function(u, e) {
|
|
3505
3505
|
const t = new this.core.State(u, this, e);
|
|
3506
3506
|
return t.inlineMode = !0, this.core.process(t), t.tokens;
|
|
3507
3507
|
};
|
|
3508
|
-
|
|
3508
|
+
Y.prototype.renderInline = function(u, e) {
|
|
3509
3509
|
return e = e || {}, this.renderer.render(this.parseInline(u, e), this.options, e);
|
|
3510
3510
|
};
|
|
3511
3511
|
function zc() {
|
|
3512
3512
|
function u(r, o) {
|
|
3513
|
-
const i = new
|
|
3513
|
+
const i = new Y({
|
|
3514
3514
|
html: !0,
|
|
3515
3515
|
typographer: !0
|
|
3516
3516
|
});
|
|
@@ -3518,17 +3518,17 @@ function zc() {
|
|
|
3518
3518
|
}
|
|
3519
3519
|
function e(r) {
|
|
3520
3520
|
const o = n(r) ?? [];
|
|
3521
|
-
return
|
|
3521
|
+
return Me("article", { class: "sq-article" }, t(o));
|
|
3522
3522
|
}
|
|
3523
3523
|
function t(r) {
|
|
3524
3524
|
if (r)
|
|
3525
|
-
return r.map((o) => typeof o == "string" ? o :
|
|
3525
|
+
return r.map((o) => typeof o == "string" ? o : Me(o.tag, o.attrs, t(o.children)));
|
|
3526
3526
|
}
|
|
3527
3527
|
function n(r) {
|
|
3528
3528
|
const o = [], i = { children: [] };
|
|
3529
3529
|
let c = i;
|
|
3530
3530
|
return r.forEach((s) => {
|
|
3531
|
-
var x,
|
|
3531
|
+
var x, _, k, g, y, v, b, C, m, z, F;
|
|
3532
3532
|
const { type: a, children: l, content: f, attrs: h, tag: p, hidden: d } = s;
|
|
3533
3533
|
switch (a) {
|
|
3534
3534
|
case "heading_open":
|
|
@@ -3548,24 +3548,24 @@ function zc() {
|
|
|
3548
3548
|
case "s_open":
|
|
3549
3549
|
case "link_open": {
|
|
3550
3550
|
if (d) break;
|
|
3551
|
-
const
|
|
3551
|
+
const q = {
|
|
3552
3552
|
tag: p,
|
|
3553
3553
|
children: [],
|
|
3554
3554
|
attrs: h ? Object.fromEntries(h) : {}
|
|
3555
3555
|
};
|
|
3556
3556
|
if (a === "link_open") {
|
|
3557
|
-
const
|
|
3558
|
-
|
|
3557
|
+
const M = s.attrGet("href") ?? "", W = document.location.origin;
|
|
3558
|
+
M != null && M.startsWith("http") && !M.includes(W) && (q.attrs.target = "_blank", q.attrs.rel = "noopener noreferrer", q.attrs.dataOuter = "", (x = q.children) == null || x.push({ tag: Dn }));
|
|
3559
3559
|
}
|
|
3560
3560
|
if (a === "table_open") {
|
|
3561
|
-
const
|
|
3561
|
+
const M = {
|
|
3562
3562
|
tag: "div",
|
|
3563
3563
|
children: [],
|
|
3564
3564
|
attrs: { class: "sq-article-table" }
|
|
3565
3565
|
};
|
|
3566
|
-
(
|
|
3566
|
+
(_ = c.children) == null || _.push(M), o.push(c), c = M;
|
|
3567
3567
|
}
|
|
3568
|
-
(
|
|
3568
|
+
(k = c.children) == null || k.push(q), o.push(c), c = q;
|
|
3569
3569
|
break;
|
|
3570
3570
|
}
|
|
3571
3571
|
case "heading_close":
|
|
@@ -3598,18 +3598,18 @@ function zc() {
|
|
|
3598
3598
|
}
|
|
3599
3599
|
case "inline": {
|
|
3600
3600
|
if (l) {
|
|
3601
|
-
const
|
|
3602
|
-
(y = c.children) == null || y.push(...
|
|
3601
|
+
const q = n(l);
|
|
3602
|
+
(y = c.children) == null || y.push(...q ?? []);
|
|
3603
3603
|
} else
|
|
3604
|
-
(
|
|
3604
|
+
(v = c.children) == null || v.push(f);
|
|
3605
3605
|
break;
|
|
3606
3606
|
}
|
|
3607
3607
|
case "text": {
|
|
3608
|
-
(
|
|
3608
|
+
(b = c.children) == null || b.push(f);
|
|
3609
3609
|
break;
|
|
3610
3610
|
}
|
|
3611
3611
|
case "image": {
|
|
3612
|
-
(
|
|
3612
|
+
(C = c.children) == null || C.push({
|
|
3613
3613
|
tag: p,
|
|
3614
3614
|
children: [],
|
|
3615
3615
|
attrs: h ? Object.fromEntries(h) : {}
|
|
@@ -3617,11 +3617,11 @@ function zc() {
|
|
|
3617
3617
|
break;
|
|
3618
3618
|
}
|
|
3619
3619
|
case "hr": {
|
|
3620
|
-
(
|
|
3620
|
+
(m = c.children) == null || m.push({ tag: p });
|
|
3621
3621
|
break;
|
|
3622
3622
|
}
|
|
3623
3623
|
case "input": {
|
|
3624
|
-
(
|
|
3624
|
+
(z = c.children) == null || z.push({
|
|
3625
3625
|
tag: p,
|
|
3626
3626
|
children: [],
|
|
3627
3627
|
attrs: h ? Object.fromEntries(h) : {}
|
|
@@ -3632,13 +3632,13 @@ function zc() {
|
|
|
3632
3632
|
if (f.startsWith("</"))
|
|
3633
3633
|
c = o.pop();
|
|
3634
3634
|
else {
|
|
3635
|
-
const
|
|
3636
|
-
tag:
|
|
3635
|
+
const q = f.replace("<", "").replace(">", ""), M = {
|
|
3636
|
+
tag: q,
|
|
3637
3637
|
children: []
|
|
3638
3638
|
};
|
|
3639
|
-
|
|
3639
|
+
q === "blur" && (M.tag = "span", M.attrs = {
|
|
3640
3640
|
"data-blur": ""
|
|
3641
|
-
}), (
|
|
3641
|
+
}), (F = c.children) == null || F.push(M), o.push(c), c = M;
|
|
3642
3642
|
}
|
|
3643
3643
|
break;
|
|
3644
3644
|
}
|
|
@@ -3696,7 +3696,7 @@ const { md2tokens: Bc, tokens2vueh: Tc } = zc(), ys = R({
|
|
|
3696
3696
|
setup(u) {
|
|
3697
3697
|
return () => {
|
|
3698
3698
|
if (!u.md)
|
|
3699
|
-
return
|
|
3699
|
+
return Me("article", {
|
|
3700
3700
|
class: "sq-article",
|
|
3701
3701
|
innerHTML: u.text
|
|
3702
3702
|
});
|
|
@@ -3715,29 +3715,29 @@ const { md2tokens: Bc, tokens2vueh: Tc } = zc(), ys = R({
|
|
|
3715
3715
|
size: { default: "md" }
|
|
3716
3716
|
},
|
|
3717
3717
|
setup(u) {
|
|
3718
|
-
const e = u, t =
|
|
3718
|
+
const e = u, t = $(!0), n = E(() => {
|
|
3719
3719
|
const c = [];
|
|
3720
3720
|
return e.size !== "md" && c.push(`sq-avatar--${e.size}`), e.round && c.push("is-round"), c;
|
|
3721
|
-
}), r =
|
|
3721
|
+
}), r = E(() => {
|
|
3722
3722
|
if (!e.randomColor) return;
|
|
3723
3723
|
const { getRandomColor: c } = Nn();
|
|
3724
3724
|
return {
|
|
3725
3725
|
"--avatar-bg-color": c()
|
|
3726
3726
|
};
|
|
3727
|
-
}), o =
|
|
3727
|
+
}), o = E(() => e.alt.charAt(0).toUpperCase());
|
|
3728
3728
|
function i() {
|
|
3729
3729
|
t.value = !1;
|
|
3730
3730
|
}
|
|
3731
|
-
return (c, s) => (
|
|
3732
|
-
class:
|
|
3731
|
+
return (c, s) => (D(), S("div", {
|
|
3732
|
+
class: O(["sq-avatar", n.value]),
|
|
3733
3733
|
style: au(r.value)
|
|
3734
3734
|
}, [
|
|
3735
|
-
e.img && t.value ? (
|
|
3735
|
+
e.img && t.value ? (D(), S("img", {
|
|
3736
3736
|
key: 0,
|
|
3737
3737
|
src: e.img,
|
|
3738
3738
|
alt: e.alt,
|
|
3739
3739
|
onError: i
|
|
3740
|
-
}, null, 40, Mc)) : (
|
|
3740
|
+
}, null, 40, Mc)) : (D(), S("span", {
|
|
3741
3741
|
key: 1,
|
|
3742
3742
|
textContent: su(o.value)
|
|
3743
3743
|
}, null, 8, Lc))
|
|
@@ -3748,20 +3748,20 @@ const { md2tokens: Bc, tokens2vueh: Tc } = zc(), ys = R({
|
|
|
3748
3748
|
__name: "backtop",
|
|
3749
3749
|
props: {
|
|
3750
3750
|
progress: { type: Boolean, default: !0 },
|
|
3751
|
-
icon: { default:
|
|
3751
|
+
icon: { default: Ut },
|
|
3752
3752
|
transition: { default: "sq-rotate-in-left" },
|
|
3753
3753
|
visibilityHeight: { default: 100 },
|
|
3754
3754
|
target: { default: "#app" },
|
|
3755
3755
|
progressProps: {}
|
|
3756
3756
|
},
|
|
3757
3757
|
setup(u) {
|
|
3758
|
-
const { throttle: e } = qc(), t = e(s), n = new ResizeObserver(a), r = u, o =
|
|
3758
|
+
const { throttle: e } = qc(), t = e(s), n = new ResizeObserver(a), r = u, o = $(100), i = $(0), c = E(() => i.value > r.visibilityHeight);
|
|
3759
3759
|
de(() => {
|
|
3760
3760
|
var h;
|
|
3761
3761
|
a(), t(), window.addEventListener("scroll", t);
|
|
3762
3762
|
const f = document.querySelector(r.target) ?? document.body;
|
|
3763
3763
|
n.observe(f), (h = window.visualViewport) == null || h.addEventListener("resize", a);
|
|
3764
|
-
}),
|
|
3764
|
+
}), je(() => {
|
|
3765
3765
|
var f;
|
|
3766
3766
|
window.removeEventListener("scroll", t), n.disconnect(), (f = window.visualViewport) == null || f.removeEventListener("resize", a);
|
|
3767
3767
|
});
|
|
@@ -3775,18 +3775,18 @@ const { md2tokens: Bc, tokens2vueh: Tc } = zc(), ys = R({
|
|
|
3775
3775
|
function l() {
|
|
3776
3776
|
window.scrollTo({ top: 0, behavior: "smooth" });
|
|
3777
3777
|
}
|
|
3778
|
-
return (f, h) => (
|
|
3778
|
+
return (f, h) => (D(), L(pe, {
|
|
3779
3779
|
name: r.transition
|
|
3780
3780
|
}, {
|
|
3781
|
-
default:
|
|
3781
|
+
default: uu(() => {
|
|
3782
3782
|
var p, d, x;
|
|
3783
3783
|
return [
|
|
3784
|
-
|
|
3784
|
+
Du(A("div", Rc, [
|
|
3785
3785
|
A("div", {
|
|
3786
3786
|
class: "sq-backtop-wrap",
|
|
3787
3787
|
onClick: l
|
|
3788
3788
|
}, [
|
|
3789
|
-
r.progress ? (
|
|
3789
|
+
r.progress ? (D(), L(w(fs), {
|
|
3790
3790
|
key: 0,
|
|
3791
3791
|
theme: "circle",
|
|
3792
3792
|
label: !1,
|
|
@@ -3795,13 +3795,13 @@ const { md2tokens: Bc, tokens2vueh: Tc } = zc(), ys = R({
|
|
|
3795
3795
|
type: (p = r.progressProps) == null ? void 0 : p.type,
|
|
3796
3796
|
stroke: (d = r.progressProps) == null ? void 0 : d.stroke,
|
|
3797
3797
|
color: (x = r.progressProps) == null ? void 0 : x.color
|
|
3798
|
-
}, null, 8, ["value", "max", "type", "stroke", "color"])) :
|
|
3798
|
+
}, null, 8, ["value", "max", "type", "stroke", "color"])) : V("", !0),
|
|
3799
3799
|
j(f.$slots, "default", {}, () => [
|
|
3800
|
-
(
|
|
3800
|
+
(D(), L(bu(r.icon)))
|
|
3801
3801
|
])
|
|
3802
3802
|
])
|
|
3803
3803
|
], 512), [
|
|
3804
|
-
[
|
|
3804
|
+
[Wu, c.value]
|
|
3805
3805
|
])
|
|
3806
3806
|
];
|
|
3807
3807
|
}),
|
|
@@ -3810,38 +3810,38 @@ const { md2tokens: Bc, tokens2vueh: Tc } = zc(), ys = R({
|
|
|
3810
3810
|
}
|
|
3811
3811
|
});
|
|
3812
3812
|
function Ic(u) {
|
|
3813
|
-
const { getOption: e } =
|
|
3814
|
-
() =>
|
|
3815
|
-
), o =
|
|
3813
|
+
const { getOption: e } = Ue(), t = Tu(ge, void 0), n = Tu(mt, void 0), r = E(
|
|
3814
|
+
() => w(n) ? void 0 : u.text
|
|
3815
|
+
), o = E(
|
|
3816
3816
|
() => {
|
|
3817
3817
|
var a, l;
|
|
3818
3818
|
return e(
|
|
3819
|
-
(a =
|
|
3819
|
+
(a = w(n)) == null ? void 0 : a.size,
|
|
3820
3820
|
u.size,
|
|
3821
|
-
(l =
|
|
3821
|
+
(l = w(t)) == null ? void 0 : l.size,
|
|
3822
3822
|
"md"
|
|
3823
3823
|
);
|
|
3824
3824
|
}
|
|
3825
|
-
), i =
|
|
3825
|
+
), i = E(
|
|
3826
3826
|
() => {
|
|
3827
3827
|
var a;
|
|
3828
|
-
return e((a =
|
|
3828
|
+
return e((a = w(n)) == null ? void 0 : a.type, u.type);
|
|
3829
3829
|
}
|
|
3830
|
-
), c =
|
|
3830
|
+
), c = E(
|
|
3831
3831
|
() => {
|
|
3832
3832
|
var a, l;
|
|
3833
3833
|
return e(
|
|
3834
|
-
(a =
|
|
3834
|
+
(a = w(n)) == null ? void 0 : a.round,
|
|
3835
3835
|
u.round,
|
|
3836
|
-
(l =
|
|
3836
|
+
(l = w(t)) == null ? void 0 : l.round
|
|
3837
3837
|
);
|
|
3838
3838
|
}
|
|
3839
|
-
), s =
|
|
3839
|
+
), s = E(
|
|
3840
3840
|
() => {
|
|
3841
3841
|
var a, l;
|
|
3842
3842
|
return e(
|
|
3843
|
-
(a =
|
|
3844
|
-
(l =
|
|
3843
|
+
(a = w(t)) == null ? void 0 : a.disabled,
|
|
3844
|
+
(l = w(n)) == null ? void 0 : l.disabled,
|
|
3845
3845
|
u.disabled
|
|
3846
3846
|
);
|
|
3847
3847
|
}
|
|
@@ -3849,49 +3849,49 @@ function Ic(u) {
|
|
|
3849
3849
|
return { btnTextType: r, btnSize: o, btnType: i, btnRound: c, btnDisabled: s };
|
|
3850
3850
|
}
|
|
3851
3851
|
function $c(u) {
|
|
3852
|
-
const { getOption: e } =
|
|
3852
|
+
const { getOption: e } = Ue(), t = Tu(ge, void 0), n = Tu(u0, void 0), r = E(
|
|
3853
3853
|
() => {
|
|
3854
3854
|
var s;
|
|
3855
|
-
return e(u.size, (s =
|
|
3855
|
+
return e(u.size, (s = w(t)) == null ? void 0 : s.size, "md");
|
|
3856
3856
|
}
|
|
3857
|
-
), o =
|
|
3857
|
+
), o = E(
|
|
3858
3858
|
() => {
|
|
3859
3859
|
var s;
|
|
3860
|
-
return e(u.round, (s =
|
|
3860
|
+
return e(u.round, (s = w(t)) == null ? void 0 : s.round);
|
|
3861
3861
|
}
|
|
3862
|
-
), i =
|
|
3862
|
+
), i = E(
|
|
3863
3863
|
() => {
|
|
3864
3864
|
var s;
|
|
3865
|
-
return e((s =
|
|
3865
|
+
return e((s = w(t)) == null ? void 0 : s.disabled, u.disabled);
|
|
3866
3866
|
}
|
|
3867
|
-
), c =
|
|
3867
|
+
), c = E(
|
|
3868
3868
|
() => {
|
|
3869
3869
|
var s;
|
|
3870
|
-
return e((s =
|
|
3870
|
+
return e((s = w(t)) == null ? void 0 : s.readonly, u.readonly);
|
|
3871
3871
|
}
|
|
3872
3872
|
);
|
|
3873
3873
|
return { inputSize: r, inputRound: o, inputDisabled: i, inputReadonly: c, id: n };
|
|
3874
3874
|
}
|
|
3875
3875
|
function Oc(u) {
|
|
3876
|
-
const { getOption: e } =
|
|
3876
|
+
const { getOption: e } = Ue(), t = Tu(ge, void 0), n = Tu(u0, void 0), r = E(
|
|
3877
3877
|
() => {
|
|
3878
3878
|
var s;
|
|
3879
|
-
return e(u.size, (s =
|
|
3879
|
+
return e(u.size, (s = w(t)) == null ? void 0 : s.size, "md");
|
|
3880
3880
|
}
|
|
3881
|
-
), o =
|
|
3881
|
+
), o = E(
|
|
3882
3882
|
() => {
|
|
3883
3883
|
var s;
|
|
3884
|
-
return e(u.round, (s =
|
|
3884
|
+
return e(u.round, (s = w(t)) == null ? void 0 : s.round);
|
|
3885
3885
|
}
|
|
3886
|
-
), i =
|
|
3886
|
+
), i = E(
|
|
3887
3887
|
() => {
|
|
3888
3888
|
var s;
|
|
3889
|
-
return e((s =
|
|
3889
|
+
return e((s = w(t)) == null ? void 0 : s.disabled, u.disabled);
|
|
3890
3890
|
}
|
|
3891
|
-
), c =
|
|
3891
|
+
), c = E(
|
|
3892
3892
|
() => {
|
|
3893
3893
|
var s;
|
|
3894
|
-
return e((s =
|
|
3894
|
+
return e((s = w(t)) == null ? void 0 : s.readonly, u.readonly);
|
|
3895
3895
|
}
|
|
3896
3896
|
);
|
|
3897
3897
|
return { textareaSize: r, textareaRound: o, textareaDisabled: i, textareaReadonly: c, id: n };
|
|
@@ -3913,22 +3913,22 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
3913
3913
|
},
|
|
3914
3914
|
emits: ["click"],
|
|
3915
3915
|
setup(u, { emit: e }) {
|
|
3916
|
-
const t = e, n = u, { btnTextType: r, btnSize: o, btnType: i, btnRound: c, btnDisabled: s } = Ic(n), a =
|
|
3917
|
-
const h = [], p =
|
|
3918
|
-
return p !== "md" && h.push(`sq-button--${p}`), d && h.push(`is-${d}`), x && h.push("is-round"),
|
|
3919
|
-
}), l =
|
|
3920
|
-
return (h, p) => (
|
|
3921
|
-
class:
|
|
3916
|
+
const t = e, n = u, { btnTextType: r, btnSize: o, btnType: i, btnRound: c, btnDisabled: s } = Ic(n), a = E(() => {
|
|
3917
|
+
const h = [], p = w(o), d = w(i), x = w(c), _ = w(r);
|
|
3918
|
+
return p !== "md" && h.push(`sq-button--${p}`), d && h.push(`is-${d}`), x && h.push("is-round"), _ && h.push("is-text"), _ && n.bg && h.push("has-bg"), h;
|
|
3919
|
+
}), l = E(() => n.loading ? j0 : n.icon), f = E(() => n.loading || w(s));
|
|
3920
|
+
return (h, p) => (D(), S("button", {
|
|
3921
|
+
class: O(["sq-button", a.value]),
|
|
3922
3922
|
disabled: f.value,
|
|
3923
3923
|
form: n.form,
|
|
3924
3924
|
type: n.nativeType,
|
|
3925
3925
|
onClick: p[0] || (p[0] = (d) => t("click", d))
|
|
3926
3926
|
}, [
|
|
3927
|
-
|
|
3928
|
-
size:
|
|
3927
|
+
Gu(w(Ku), {
|
|
3928
|
+
size: w(o) === "lg" ? "md" : w(o)
|
|
3929
3929
|
}, {
|
|
3930
|
-
default:
|
|
3931
|
-
l.value ? (
|
|
3930
|
+
default: uu(() => [
|
|
3931
|
+
l.value ? (D(), L(bu(l.value), { key: 0 })) : V("", !0),
|
|
3932
3932
|
j(h.$slots, "default")
|
|
3933
3933
|
]),
|
|
3934
3934
|
_: 3
|
|
@@ -3946,19 +3946,19 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
3946
3946
|
},
|
|
3947
3947
|
setup(u) {
|
|
3948
3948
|
const e = u;
|
|
3949
|
-
return
|
|
3950
|
-
|
|
3951
|
-
|
|
3949
|
+
return He(
|
|
3950
|
+
mt,
|
|
3951
|
+
$({
|
|
3952
3952
|
size: _u(e, "size"),
|
|
3953
3953
|
type: _u(e, "type"),
|
|
3954
3954
|
round: _u(e, "round"),
|
|
3955
3955
|
disabled: _u(e, "disabled")
|
|
3956
3956
|
})
|
|
3957
|
-
), (t, n) => (
|
|
3957
|
+
), (t, n) => (D(), S("div", Nc, [
|
|
3958
3958
|
j(t.$slots, "default")
|
|
3959
3959
|
]));
|
|
3960
3960
|
}
|
|
3961
|
-
}),
|
|
3961
|
+
}), mt = Symbol("button-group-context-keys"), jc = { class: "sq-card" }, Hc = {
|
|
3962
3962
|
key: 0,
|
|
3963
3963
|
class: "sq-card-header"
|
|
3964
3964
|
}, Vc = ["textContent"], Uc = {
|
|
@@ -3972,19 +3972,19 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
3972
3972
|
decorative: { type: Boolean, default: !1 }
|
|
3973
3973
|
},
|
|
3974
3974
|
setup(u) {
|
|
3975
|
-
const e =
|
|
3976
|
-
return (n, r) => (
|
|
3977
|
-
t.title ||
|
|
3975
|
+
const e = $0(), t = u;
|
|
3976
|
+
return (n, r) => (D(), S("section", jc, [
|
|
3977
|
+
t.title || w(e).title ? (D(), S("div", Hc, [
|
|
3978
3978
|
A("h2", {
|
|
3979
|
-
class:
|
|
3979
|
+
class: O({ "has-decorative": t.decorative }),
|
|
3980
3980
|
textContent: su(t.title)
|
|
3981
3981
|
}, null, 10, Vc),
|
|
3982
3982
|
j(n.$slots, "title")
|
|
3983
|
-
])) :
|
|
3983
|
+
])) : V("", !0),
|
|
3984
3984
|
j(n.$slots, "default"),
|
|
3985
|
-
|
|
3985
|
+
w(e).footer ? (D(), S("div", Uc, [
|
|
3986
3986
|
j(n.$slots, "footer")
|
|
3987
|
-
])) :
|
|
3987
|
+
])) : V("", !0)
|
|
3988
3988
|
]));
|
|
3989
3989
|
}
|
|
3990
3990
|
}), Zc = ["textContent", "for"], Wc = { class: "sq-form-item-content" }, Gc = ["textContent"], Jc = /* @__PURE__ */ R({
|
|
@@ -3999,34 +3999,34 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
3999
3999
|
errorMsg: {}
|
|
4000
4000
|
},
|
|
4001
4001
|
setup(u) {
|
|
4002
|
-
const { nextId: e } = Pn(), t = u, n =
|
|
4003
|
-
|
|
4004
|
-
const r =
|
|
4002
|
+
const { nextId: e } = Pn(), t = u, n = $(`sq-id-${e()}`);
|
|
4003
|
+
He(u0, n);
|
|
4004
|
+
const r = E(() => {
|
|
4005
4005
|
const o = [];
|
|
4006
4006
|
return t.isRequired && o.push("is-required"), o;
|
|
4007
4007
|
});
|
|
4008
|
-
return (o, i) => (
|
|
4008
|
+
return (o, i) => (D(), S("div", {
|
|
4009
4009
|
class: "sq-form-item",
|
|
4010
4010
|
style: au({ "--form-label-width": t.labelWidth })
|
|
4011
4011
|
}, [
|
|
4012
|
-
t.label || t.showLabel ? (
|
|
4012
|
+
t.label || t.showLabel ? (D(), S("label", {
|
|
4013
4013
|
key: 0,
|
|
4014
|
-
class:
|
|
4014
|
+
class: O(["sq-form-item-label", r.value]),
|
|
4015
4015
|
textContent: su(t.label),
|
|
4016
4016
|
for: t.type !== "custom" ? n.value : void 0
|
|
4017
|
-
}, null, 10, Zc)) :
|
|
4017
|
+
}, null, 10, Zc)) : V("", !0),
|
|
4018
4018
|
A("div", Wc, [
|
|
4019
4019
|
j(o.$slots, "default"),
|
|
4020
|
-
|
|
4020
|
+
Gu(pe, {
|
|
4021
4021
|
appear: "",
|
|
4022
4022
|
name: "sq-fade"
|
|
4023
4023
|
}, {
|
|
4024
|
-
default:
|
|
4025
|
-
|
|
4024
|
+
default: uu(() => [
|
|
4025
|
+
Du(A("span", {
|
|
4026
4026
|
class: "sq-form-item-check",
|
|
4027
4027
|
textContent: su(t.errorMsg)
|
|
4028
4028
|
}, null, 8, Gc), [
|
|
4029
|
-
[
|
|
4029
|
+
[Wu, t.errorMsg]
|
|
4030
4030
|
])
|
|
4031
4031
|
]),
|
|
4032
4032
|
_: 1
|
|
@@ -4037,7 +4037,7 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4037
4037
|
}), Es = /* @__PURE__ */ R({
|
|
4038
4038
|
name: "sq-form",
|
|
4039
4039
|
__name: "form",
|
|
4040
|
-
props: /* @__PURE__ */
|
|
4040
|
+
props: /* @__PURE__ */ eu({
|
|
4041
4041
|
round: { type: Boolean, default: void 0 },
|
|
4042
4042
|
showStatusIcon: { type: Boolean },
|
|
4043
4043
|
disabled: { type: Boolean, default: void 0 },
|
|
@@ -4054,126 +4054,126 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4054
4054
|
},
|
|
4055
4055
|
formDataModifiers: {}
|
|
4056
4056
|
}),
|
|
4057
|
-
emits: /* @__PURE__ */
|
|
4057
|
+
emits: /* @__PURE__ */ eu(["validate"], ["update:formData"]),
|
|
4058
4058
|
setup(u, { expose: e, emit: t }) {
|
|
4059
4059
|
let n = {};
|
|
4060
4060
|
const r = t, o = u;
|
|
4061
|
-
|
|
4061
|
+
He(
|
|
4062
4062
|
ge,
|
|
4063
|
-
|
|
4063
|
+
$({
|
|
4064
4064
|
size: _u(o, "size"),
|
|
4065
4065
|
round: _u(o, "round"),
|
|
4066
4066
|
disabled: _u(o, "disabled"),
|
|
4067
4067
|
readonly: _u(o, "readonly")
|
|
4068
4068
|
})
|
|
4069
4069
|
);
|
|
4070
|
-
const i = mu(u, "formData"), c =
|
|
4070
|
+
const i = mu(u, "formData"), c = $({}), s = $([]), a = $([]), l = E(() => {
|
|
4071
4071
|
const b = [];
|
|
4072
4072
|
return o.size !== "md" && b.push(`sq-form--${o.size}`), b;
|
|
4073
|
-
}),
|
|
4073
|
+
}), f = E(() => {
|
|
4074
4074
|
const b = o.step;
|
|
4075
|
-
return b === void 0 ? o.config : o.config.filter((
|
|
4075
|
+
return b === void 0 ? o.config : o.config.filter((C) => C.step === void 0 ? C : Array.isArray(C.step) ? C.step.includes(b) : C.step === b);
|
|
4076
4076
|
});
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
}), de(() => {
|
|
4080
|
-
n = structuredClone(ju(i.value));
|
|
4077
|
+
de(() => {
|
|
4078
|
+
n = structuredClone(ue(i.value));
|
|
4081
4079
|
});
|
|
4082
|
-
function
|
|
4083
|
-
var
|
|
4084
|
-
return !o.hideRequiredAsterisk && ((
|
|
4080
|
+
function h(b) {
|
|
4081
|
+
var C;
|
|
4082
|
+
return !o.hideRequiredAsterisk && ((C = b.rule) == null ? void 0 : C.required);
|
|
4085
4083
|
}
|
|
4086
|
-
async function
|
|
4084
|
+
async function p(b, C, m, z = !0) {
|
|
4087
4085
|
if (!m) return;
|
|
4088
|
-
s.value = s.value.filter((
|
|
4089
|
-
const F = m.trigger ?? "change",
|
|
4090
|
-
if (
|
|
4091
|
-
if (
|
|
4092
|
-
if (
|
|
4086
|
+
s.value = s.value.filter((ru) => ru !== b);
|
|
4087
|
+
const F = m.trigger ?? "change", q = Array.isArray(F) ? "array" : "string";
|
|
4088
|
+
if (C) {
|
|
4089
|
+
if (q === "array" && !F.includes(C)) return;
|
|
4090
|
+
if (q === "string" && F !== C) return;
|
|
4093
4091
|
}
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4092
|
+
a.value.push(b);
|
|
4093
|
+
const M = i.value[b];
|
|
4094
|
+
let W = !1;
|
|
4095
|
+
return m.validateFunc ? W = await x(b, M, m, C) : typeof M == "string" && (W = _(b, M, m)), z && r("validate", b, W, ue(s.value)), a.value = a.value.filter((ru) => ru !== b), W;
|
|
4097
4096
|
}
|
|
4098
|
-
function
|
|
4097
|
+
function d(b) {
|
|
4099
4098
|
return c.value[b] ? "error" : s.value.includes(b) ? "success" : void 0;
|
|
4100
4099
|
}
|
|
4101
|
-
async function
|
|
4102
|
-
const F = await m.validateFunc(
|
|
4103
|
-
return F === !0 ?
|
|
4100
|
+
async function x(b, C, m, z) {
|
|
4101
|
+
const F = await m.validateFunc(C, z);
|
|
4102
|
+
return F === !0 ? g(b) : F === !1 ? k(b, "字段验证失败") : F ? k(b, F) : g(b), F === !0 || typeof F == "string" && !F;
|
|
4104
4103
|
}
|
|
4105
|
-
function
|
|
4106
|
-
return m.required && !
|
|
4104
|
+
function _(b, C, m) {
|
|
4105
|
+
return m.required && !C ? (k(b, m.requiredText ?? "字段必填"), !1) : m.pattern && C && !m.pattern.test(C) ? (k(b, m.patternText ?? "字段验证失败"), !1) : (g(b), !0);
|
|
4107
4106
|
}
|
|
4108
|
-
function k(b,
|
|
4109
|
-
s.value = s.value.filter((m) => m !== b), c.value[b] =
|
|
4107
|
+
function k(b, C) {
|
|
4108
|
+
s.value = s.value.filter((m) => m !== b), c.value[b] = C;
|
|
4110
4109
|
}
|
|
4111
|
-
function
|
|
4110
|
+
function g(b) {
|
|
4112
4111
|
s.value.push(b), delete c.value[b];
|
|
4113
4112
|
}
|
|
4114
|
-
function
|
|
4115
|
-
i.value = structuredClone(n), c.value = {}, s.value = [], r("validate", "SQFORM", !1,
|
|
4113
|
+
function y() {
|
|
4114
|
+
i.value = structuredClone(n), c.value = {}, s.value = [], r("validate", "SQFORM", !1, ue(s.value));
|
|
4116
4115
|
}
|
|
4117
|
-
function
|
|
4118
|
-
const m = (b ? o.config :
|
|
4119
|
-
(
|
|
4120
|
-
).map((
|
|
4121
|
-
const F =
|
|
4122
|
-
return
|
|
4116
|
+
function v(b = !0) {
|
|
4117
|
+
const m = (b ? o.config : f.value).filter(
|
|
4118
|
+
(z) => z.type !== "custom" && z.rule && !s.value.includes(z.binding)
|
|
4119
|
+
).map((z) => {
|
|
4120
|
+
const F = z;
|
|
4121
|
+
return p(F.binding, void 0, F.rule, !1);
|
|
4123
4122
|
});
|
|
4124
|
-
return Promise.all(m).then((
|
|
4123
|
+
return Promise.all(m).then((z) => (r("validate", "SQFORM", !z.includes(!1), ue(s.value)), z));
|
|
4125
4124
|
}
|
|
4126
|
-
return e({ resetFields:
|
|
4127
|
-
class:
|
|
4125
|
+
return e({ resetFields: y, validate: v }), (b, C) => (D(), S("form", {
|
|
4126
|
+
class: O(["sq-form", l.value]),
|
|
4128
4127
|
style: au({ "--form-label-width": o.labelWidth })
|
|
4129
4128
|
}, [
|
|
4130
|
-
(
|
|
4131
|
-
class:
|
|
4129
|
+
(D(!0), S(Nu, null, Ve(f.value, (m, z) => (D(), L(Jc, {
|
|
4130
|
+
class: O(m.itemClass),
|
|
4132
4131
|
type: m.type,
|
|
4133
|
-
key:
|
|
4132
|
+
key: z,
|
|
4134
4133
|
"label-width": m.labelWidth,
|
|
4135
4134
|
label: m.label,
|
|
4136
4135
|
"show-label": m.showLabel,
|
|
4137
|
-
"is-required":
|
|
4136
|
+
"is-required": h(m),
|
|
4138
4137
|
"error-msg": o.showMessage ? c.value[m.binding] : ""
|
|
4139
4138
|
}, {
|
|
4140
|
-
default:
|
|
4141
|
-
m.type === "input" ? (
|
|
4139
|
+
default: uu(() => [
|
|
4140
|
+
m.type === "input" ? (D(), L(w(Kc), c0({
|
|
4142
4141
|
key: 0,
|
|
4143
4142
|
ref_for: !0
|
|
4144
4143
|
}, m.props, {
|
|
4145
4144
|
name: m.name,
|
|
4146
4145
|
"show-status-icon": o.showStatusIcon,
|
|
4147
|
-
status:
|
|
4146
|
+
status: d(m.binding),
|
|
4147
|
+
loading: a.value.includes(m.binding),
|
|
4148
4148
|
value: i.value[m.binding],
|
|
4149
4149
|
"onUpdate:value": (F) => i.value[m.binding] = F,
|
|
4150
|
-
onChange: (F) =>
|
|
4151
|
-
onInput: (F) =>
|
|
4152
|
-
onBlur: (F) =>
|
|
4153
|
-
}), null, 16, ["name", "show-status-icon", "status", "value", "onUpdate:value", "onChange", "onInput", "onBlur"])) : m.type === "textarea" ? (
|
|
4150
|
+
onChange: (F) => p(m.binding, "change", m.rule),
|
|
4151
|
+
onInput: (F) => p(m.binding, "input", m.rule),
|
|
4152
|
+
onBlur: (F) => p(m.binding, "blur", m.rule)
|
|
4153
|
+
}), null, 16, ["name", "show-status-icon", "status", "loading", "value", "onUpdate:value", "onChange", "onInput", "onBlur"])) : m.type === "textarea" ? (D(), L(w(ps), c0({
|
|
4154
4154
|
key: 1,
|
|
4155
4155
|
ref_for: !0
|
|
4156
4156
|
}, m.props, {
|
|
4157
4157
|
name: m.name,
|
|
4158
|
-
status:
|
|
4158
|
+
status: d(m.binding),
|
|
4159
4159
|
value: i.value[m.binding],
|
|
4160
4160
|
"onUpdate:value": (F) => i.value[m.binding] = F,
|
|
4161
|
-
onChange: (F) =>
|
|
4162
|
-
onInput: (F) =>
|
|
4163
|
-
onBlur: (F) =>
|
|
4161
|
+
onChange: (F) => p(m.binding, "change", m.rule),
|
|
4162
|
+
onInput: (F) => p(m.binding, "input", m.rule),
|
|
4163
|
+
onBlur: (F) => p(m.binding, "blur", m.rule)
|
|
4164
4164
|
}), null, 16, ["name", "status", "value", "onUpdate:value", "onChange", "onInput", "onBlur"])) : j(b.$slots, m.slot, { key: 2 })
|
|
4165
4165
|
]),
|
|
4166
4166
|
_: 2
|
|
4167
4167
|
}, 1032, ["class", "type", "label-width", "label", "show-label", "is-required", "error-msg"]))), 128))
|
|
4168
4168
|
], 6));
|
|
4169
4169
|
}
|
|
4170
|
-
}), ge = Symbol("form-context-keys"),
|
|
4170
|
+
}), ge = Symbol("form-context-keys"), u0 = Symbol("form-item-id-keys"), Xc = {
|
|
4171
4171
|
key: 0,
|
|
4172
4172
|
class: "sq-input-prefix"
|
|
4173
4173
|
}, Qc = ["id", "disabled", "readonly", "placeholder", "type", "maxlength", "minlength", "autocomplete", "name", "autofocus", "form", "inputmode"], Yc = { class: "sq-input-suffix" }, Kc = /* @__PURE__ */ R({
|
|
4174
4174
|
name: "sq-input",
|
|
4175
4175
|
__name: "input",
|
|
4176
|
-
props: /* @__PURE__ */
|
|
4176
|
+
props: /* @__PURE__ */ eu({
|
|
4177
4177
|
status: {},
|
|
4178
4178
|
round: { type: Boolean, default: void 0 },
|
|
4179
4179
|
showStatusIcon: { type: Boolean },
|
|
@@ -4188,6 +4188,7 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4188
4188
|
autocomplete: { default: "off" },
|
|
4189
4189
|
name: {},
|
|
4190
4190
|
form: {},
|
|
4191
|
+
loading: { type: Boolean },
|
|
4191
4192
|
inputmode: {},
|
|
4192
4193
|
autofocus: { type: Boolean },
|
|
4193
4194
|
type: { default: "text" },
|
|
@@ -4196,68 +4197,68 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4196
4197
|
value: { default: "" },
|
|
4197
4198
|
valueModifiers: {}
|
|
4198
4199
|
}),
|
|
4199
|
-
emits: /* @__PURE__ */
|
|
4200
|
+
emits: /* @__PURE__ */ eu(["focus", "blur", "input", "change"], ["update:value"]),
|
|
4200
4201
|
setup(u, { expose: e, emit: t }) {
|
|
4201
|
-
const n =
|
|
4202
|
-
const
|
|
4203
|
-
return
|
|
4204
|
-
}),
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
() => C(_) || C(b) || C(m)
|
|
4209
|
-
), F = D(() => {
|
|
4202
|
+
const n = $0(), r = t, o = u, { inputSize: i, inputRound: c, inputDisabled: s, inputReadonly: a, id: l } = $c(o), f = mu(u, "value"), h = $(!1), p = $(!1), d = Mu(null), x = E(() => {
|
|
4203
|
+
const B = [], I = w(i), H = w(c), we = w(F);
|
|
4204
|
+
return I !== "md" && B.push(`sq-input--${I}`), o.status && B.push(`is-${o.status}`), H && B.push("is-round"), we && B.push("is-disabled"), B;
|
|
4205
|
+
}), _ = E(() => w(p) ? gn : Bn), k = E(() => w(p) ? "text" : o.type), g = E(() => o.showStatusIcon && !o.loading), y = E(() => n.prefix || o.prefixIcon), v = E(() => w(h) && w(f).length), b = E(
|
|
4206
|
+
() => o.type === "password" && w(v)
|
|
4207
|
+
), C = E(() => o.clearable && w(v)), m = E(() => {
|
|
4208
|
+
if (o.loading) return j0;
|
|
4210
4209
|
if (o.showStatusIcon && o.status)
|
|
4211
4210
|
switch (o.status) {
|
|
4212
4211
|
case "success":
|
|
4213
|
-
return
|
|
4212
|
+
return Jt;
|
|
4214
4213
|
case "warn":
|
|
4215
4214
|
return Rn;
|
|
4216
4215
|
case "error":
|
|
4217
|
-
return
|
|
4216
|
+
return cn;
|
|
4218
4217
|
}
|
|
4219
4218
|
return o.suffixIcon;
|
|
4220
|
-
})
|
|
4221
|
-
|
|
4222
|
-
|
|
4219
|
+
}), z = E(
|
|
4220
|
+
() => w(b) || w(C) || w(m) || n.suffix
|
|
4221
|
+
), F = E(() => o.loading || w(s));
|
|
4222
|
+
function q(B) {
|
|
4223
|
+
r("focus", B), !w(a) && (h.value = !0);
|
|
4223
4224
|
}
|
|
4224
|
-
function
|
|
4225
|
-
r("blur",
|
|
4225
|
+
function M(B) {
|
|
4226
|
+
r("blur", B), !w(a) && (h.value = !1);
|
|
4226
4227
|
}
|
|
4227
|
-
function
|
|
4228
|
-
setTimeout(
|
|
4228
|
+
function W() {
|
|
4229
|
+
setTimeout(G);
|
|
4229
4230
|
}
|
|
4230
|
-
function
|
|
4231
|
+
function ru() {
|
|
4231
4232
|
f.value = "";
|
|
4232
4233
|
}
|
|
4233
|
-
function
|
|
4234
|
+
function Q() {
|
|
4234
4235
|
p.value = !p.value;
|
|
4235
4236
|
}
|
|
4236
|
-
function
|
|
4237
|
-
var
|
|
4238
|
-
(
|
|
4237
|
+
function G() {
|
|
4238
|
+
var B;
|
|
4239
|
+
(B = d.value) == null || B.focus();
|
|
4239
4240
|
}
|
|
4240
|
-
function
|
|
4241
|
-
var
|
|
4242
|
-
h.value = !1, (
|
|
4241
|
+
function hu() {
|
|
4242
|
+
var B;
|
|
4243
|
+
h.value = !1, (B = d.value) == null || B.blur();
|
|
4243
4244
|
}
|
|
4244
|
-
return e({ focus:
|
|
4245
|
-
class:
|
|
4246
|
-
onMousedown:
|
|
4245
|
+
return e({ focus: G, blur: hu }), (B, I) => (D(), S("div", {
|
|
4246
|
+
class: O(["sq-input", x.value]),
|
|
4247
|
+
onMousedown: W
|
|
4247
4248
|
}, [
|
|
4248
|
-
|
|
4249
|
-
j(
|
|
4250
|
-
(
|
|
4249
|
+
y.value ? (D(), S("span", Xc, [
|
|
4250
|
+
j(B.$slots, "prefix", {}, () => [
|
|
4251
|
+
(D(), L(bu(o.prefixIcon)))
|
|
4251
4252
|
])
|
|
4252
|
-
])) :
|
|
4253
|
-
|
|
4254
|
-
"onUpdate:modelValue":
|
|
4255
|
-
id:
|
|
4253
|
+
])) : V("", !0),
|
|
4254
|
+
Du(A("input", {
|
|
4255
|
+
"onUpdate:modelValue": I[0] || (I[0] = (H) => f.value = H),
|
|
4256
|
+
id: w(l),
|
|
4256
4257
|
class: "sq-input-inner",
|
|
4257
|
-
disabled:
|
|
4258
|
-
readonly:
|
|
4258
|
+
disabled: F.value,
|
|
4259
|
+
readonly: w(a),
|
|
4259
4260
|
placeholder: o.placeholder,
|
|
4260
|
-
type:
|
|
4261
|
+
type: k.value,
|
|
4261
4262
|
maxlength: o.maxlength,
|
|
4262
4263
|
minlength: o.minlength,
|
|
4263
4264
|
autocomplete: o.autocomplete,
|
|
@@ -4267,34 +4268,32 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4267
4268
|
inputmode: o.inputmode,
|
|
4268
4269
|
ref_key: "inputRef",
|
|
4269
4270
|
ref: d,
|
|
4270
|
-
onFocus:
|
|
4271
|
-
onBlur:
|
|
4272
|
-
onInput:
|
|
4273
|
-
onChange:
|
|
4271
|
+
onFocus: q,
|
|
4272
|
+
onBlur: M,
|
|
4273
|
+
onInput: I[1] || (I[1] = (H) => r("input", H)),
|
|
4274
|
+
onChange: I[2] || (I[2] = (H) => r("change", H))
|
|
4274
4275
|
}, null, 40, Qc), [
|
|
4275
|
-
[
|
|
4276
|
+
[Ft, f.value]
|
|
4276
4277
|
]),
|
|
4277
|
-
|
|
4278
|
-
|
|
4278
|
+
Du(A("span", Yc, [
|
|
4279
|
+
b.value ? (D(), L(bu(_.value), {
|
|
4280
|
+
key: 0,
|
|
4279
4281
|
class: "sq-input-suffix-pwd",
|
|
4280
|
-
onMousedown:
|
|
4281
|
-
}, null,
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
hu(Pu(C(en), {
|
|
4282
|
+
onMousedown: Q
|
|
4283
|
+
}, null, 32)) : V("", !0),
|
|
4284
|
+
C.value ? (D(), L(w(tn), {
|
|
4285
|
+
key: 1,
|
|
4285
4286
|
class: "sq-input-suffix-clear",
|
|
4286
|
-
onMousedown:
|
|
4287
|
-
}
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
j(q.$slots, "suffix", {}, () => [
|
|
4291
|
-
F.value ? (w(), L(bu(F.value), {
|
|
4287
|
+
onMousedown: ru
|
|
4288
|
+
})) : V("", !0),
|
|
4289
|
+
j(B.$slots, "suffix", {}, () => [
|
|
4290
|
+
m.value ? (D(), L(bu(m.value), {
|
|
4292
4291
|
key: 0,
|
|
4293
|
-
class:
|
|
4294
|
-
}, null, 8, ["class"])) :
|
|
4292
|
+
class: O({ "sq-input-suffix-status": g.value })
|
|
4293
|
+
}, null, 8, ["class"])) : V("", !0)
|
|
4295
4294
|
])
|
|
4296
4295
|
], 512), [
|
|
4297
|
-
[
|
|
4296
|
+
[Wu, z.value]
|
|
4298
4297
|
])
|
|
4299
4298
|
], 34));
|
|
4300
4299
|
}
|
|
@@ -4311,17 +4310,17 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4311
4310
|
id: {}
|
|
4312
4311
|
},
|
|
4313
4312
|
setup(u, { expose: e }) {
|
|
4314
|
-
const t = u, n =
|
|
4313
|
+
const t = u, n = $(!0), r = E(() => {
|
|
4315
4314
|
switch (t.type) {
|
|
4316
4315
|
case "primary":
|
|
4317
4316
|
case "info":
|
|
4318
|
-
return
|
|
4317
|
+
return N0;
|
|
4319
4318
|
case "success":
|
|
4320
|
-
return
|
|
4319
|
+
return O0;
|
|
4321
4320
|
case "warn":
|
|
4322
|
-
return
|
|
4321
|
+
return H0;
|
|
4323
4322
|
case "error":
|
|
4324
|
-
return
|
|
4323
|
+
return P0;
|
|
4325
4324
|
default:
|
|
4326
4325
|
return;
|
|
4327
4326
|
}
|
|
@@ -4332,24 +4331,24 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4332
4331
|
function o() {
|
|
4333
4332
|
n.value = !1;
|
|
4334
4333
|
}
|
|
4335
|
-
return e({ close: o }), (i, c) => (
|
|
4334
|
+
return e({ close: o }), (i, c) => (D(), L(pe, {
|
|
4336
4335
|
appear: "",
|
|
4337
4336
|
name: "sq-zoom-top",
|
|
4338
4337
|
onBeforeLeave: t.onClose,
|
|
4339
4338
|
onAfterLeave: t.onDestroy
|
|
4340
4339
|
}, {
|
|
4341
|
-
default:
|
|
4342
|
-
|
|
4343
|
-
class:
|
|
4340
|
+
default: uu(() => [
|
|
4341
|
+
Du(A("div", {
|
|
4342
|
+
class: O(["sq-message", `is-${t.type}`]),
|
|
4344
4343
|
id: t.id,
|
|
4345
4344
|
style: au({ top: `${t.offsetTop}px` })
|
|
4346
4345
|
}, [
|
|
4347
|
-
|
|
4348
|
-
default:
|
|
4349
|
-
t.type && r.value ? (
|
|
4346
|
+
Gu(w(Ku), { class: "sq-message-main" }, {
|
|
4347
|
+
default: uu(() => [
|
|
4348
|
+
t.type && r.value ? (D(), L(bu(r.value), {
|
|
4350
4349
|
key: 0,
|
|
4351
4350
|
class: "sq-message-icon"
|
|
4352
|
-
})) :
|
|
4351
|
+
})) : V("", !0),
|
|
4353
4352
|
A("div", {
|
|
4354
4353
|
class: "sq-message-content",
|
|
4355
4354
|
textContent: su(t.message)
|
|
@@ -4359,22 +4358,22 @@ const Pc = ["disabled", "form", "type"], se = /* @__PURE__ */ R({
|
|
|
4359
4358
|
}),
|
|
4360
4359
|
c[0] || (c[0] = A("div", { class: "sq-message-progress" }, null, -1))
|
|
4361
4360
|
], 14, ui), [
|
|
4362
|
-
[
|
|
4361
|
+
[Wu, n.value]
|
|
4363
4362
|
])
|
|
4364
4363
|
]),
|
|
4365
4364
|
_: 1
|
|
4366
4365
|
}, 8, ["onBeforeLeave", "onAfterLeave"]));
|
|
4367
4366
|
}
|
|
4368
|
-
}), { nextZIndex: ni } =
|
|
4367
|
+
}), { nextZIndex: ni } = V0(), Cu = [], ri = ["primary", "success", "info", "warn", "error"], oi = document.documentElement, ci = getComputedStyle(oi), Be = parseInt(ci.getPropertyValue("--sq-padding-md"));
|
|
4369
4368
|
let ii = 0;
|
|
4370
|
-
const
|
|
4369
|
+
const $e = (u = {}) => {
|
|
4371
4370
|
const e = `sq-message-${ii++}`;
|
|
4372
4371
|
let t = document.querySelector(".sq-message-wrap");
|
|
4373
4372
|
t || (t = document.createElement("div"), t.classList.add("sq-message-wrap"), document.body.appendChild(t)), t.style.zIndex = ni().toString();
|
|
4374
|
-
let n =
|
|
4373
|
+
let n = Be;
|
|
4375
4374
|
Cu.forEach((a) => {
|
|
4376
4375
|
var l;
|
|
4377
|
-
n += (((l = a.vm.el) == null ? void 0 : l.offsetHeight) || 0) +
|
|
4376
|
+
n += (((l = a.vm.el) == null ? void 0 : l.offsetHeight) || 0) + Be;
|
|
4378
4377
|
});
|
|
4379
4378
|
const r = {
|
|
4380
4379
|
type: "info",
|
|
@@ -4393,15 +4392,15 @@ const Ie = (u = {}) => {
|
|
|
4393
4392
|
for (let p = a; p < Cu.length; p++) {
|
|
4394
4393
|
const d = Cu[p];
|
|
4395
4394
|
let x = Number(parseInt(d.vm.el.style.top));
|
|
4396
|
-
x -= f, x -=
|
|
4395
|
+
x -= f, x -= Be, d.vm.component.props.offsetTop = x;
|
|
4397
4396
|
}
|
|
4398
4397
|
};
|
|
4399
4398
|
const c = r.onDestroy;
|
|
4400
4399
|
r.onDestroy = () => {
|
|
4401
|
-
c == null || c(),
|
|
4400
|
+
c == null || c(), i0(null, o);
|
|
4402
4401
|
};
|
|
4403
|
-
const s =
|
|
4404
|
-
return
|
|
4402
|
+
const s = Gu(ti, r);
|
|
4403
|
+
return i0(s, o), Cu.push({ vm: s }), t.appendChild(o.firstElementChild), {
|
|
4405
4404
|
close: () => {
|
|
4406
4405
|
var a, l;
|
|
4407
4406
|
(l = (a = s.component) == null ? void 0 : a.exposed) == null || l.close();
|
|
@@ -4409,14 +4408,14 @@ const Ie = (u = {}) => {
|
|
|
4409
4408
|
};
|
|
4410
4409
|
};
|
|
4411
4410
|
ri.forEach((u) => {
|
|
4412
|
-
|
|
4411
|
+
$e[u] = (e = {}) => (typeof e == "string" && (e = {
|
|
4413
4412
|
message: e
|
|
4414
|
-
}),
|
|
4413
|
+
}), $e({ ...e, type: u }));
|
|
4415
4414
|
});
|
|
4416
|
-
const As =
|
|
4415
|
+
const As = $e, si = /* @__PURE__ */ R({
|
|
4417
4416
|
name: "sq-pagination-prev",
|
|
4418
4417
|
__name: "pagination-prev",
|
|
4419
|
-
props: /* @__PURE__ */
|
|
4418
|
+
props: /* @__PURE__ */ eu({
|
|
4420
4419
|
disabled: { type: Boolean },
|
|
4421
4420
|
size: {}
|
|
4422
4421
|
}, {
|
|
@@ -4428,8 +4427,8 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4428
4427
|
const e = u, t = mu(u, "current"), n = (r) => {
|
|
4429
4428
|
t.value += r;
|
|
4430
4429
|
};
|
|
4431
|
-
return (r, o) => (
|
|
4432
|
-
icon:
|
|
4430
|
+
return (r, o) => (D(), L(w(se), {
|
|
4431
|
+
icon: w(It),
|
|
4433
4432
|
size: e.size,
|
|
4434
4433
|
disabled: t.value === 1 || e.disabled,
|
|
4435
4434
|
onClick: o[0] || (o[0] = (i) => n(-1))
|
|
@@ -4438,7 +4437,7 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4438
4437
|
}), ai = /* @__PURE__ */ R({
|
|
4439
4438
|
name: "sq-pagination-prev",
|
|
4440
4439
|
__name: "pagination-next",
|
|
4441
|
-
props: /* @__PURE__ */
|
|
4440
|
+
props: /* @__PURE__ */ eu({
|
|
4442
4441
|
disabled: { type: Boolean },
|
|
4443
4442
|
size: {}
|
|
4444
4443
|
}, {
|
|
@@ -4450,8 +4449,8 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4450
4449
|
const e = u, t = mu(u, "current"), n = (r) => {
|
|
4451
4450
|
t.value += r;
|
|
4452
4451
|
};
|
|
4453
|
-
return (r, o) => (
|
|
4454
|
-
icon:
|
|
4452
|
+
return (r, o) => (D(), L(w(se), {
|
|
4453
|
+
icon: w(Nt),
|
|
4455
4454
|
size: e.size,
|
|
4456
4455
|
disabled: t.value === 1 || e.disabled,
|
|
4457
4456
|
onClick: o[0] || (o[0] = (i) => n(1))
|
|
@@ -4459,7 +4458,7 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4459
4458
|
}
|
|
4460
4459
|
}), li = { class: "sq-pagination-pager" }, fi = /* @__PURE__ */ R({
|
|
4461
4460
|
__name: "pagination-pager",
|
|
4462
|
-
props: /* @__PURE__ */
|
|
4461
|
+
props: /* @__PURE__ */ eu({
|
|
4463
4462
|
disabled: { type: Boolean },
|
|
4464
4463
|
size: {},
|
|
4465
4464
|
list: {}
|
|
@@ -4472,22 +4471,22 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4472
4471
|
const e = u, t = mu(u, "current"), n = (r) => {
|
|
4473
4472
|
t.value = r;
|
|
4474
4473
|
};
|
|
4475
|
-
return (r, o) => (
|
|
4476
|
-
(
|
|
4477
|
-
i ? (
|
|
4474
|
+
return (r, o) => (D(), S("div", li, [
|
|
4475
|
+
(D(!0), S(Nu, null, Ve(e.list, (i) => (D(), S(Nu, { key: i }, [
|
|
4476
|
+
i ? (D(), L(w(se), {
|
|
4478
4477
|
key: 0,
|
|
4479
4478
|
type: t.value === i ? "primary" : void 0,
|
|
4480
4479
|
size: e.size,
|
|
4481
4480
|
disabled: e.disabled,
|
|
4482
4481
|
onClick: (c) => n(i)
|
|
4483
4482
|
}, {
|
|
4484
|
-
default:
|
|
4485
|
-
|
|
4483
|
+
default: uu(() => [
|
|
4484
|
+
I0(su(i), 1)
|
|
4486
4485
|
]),
|
|
4487
4486
|
_: 2
|
|
4488
|
-
}, 1032, ["type", "size", "disabled", "onClick"])) : (
|
|
4487
|
+
}, 1032, ["type", "size", "disabled", "onClick"])) : (D(), L(w(se), {
|
|
4489
4488
|
key: 1,
|
|
4490
|
-
icon:
|
|
4489
|
+
icon: w(hn),
|
|
4491
4490
|
size: e.size,
|
|
4492
4491
|
disabled: ""
|
|
4493
4492
|
}, null, 8, ["icon", "size"]))
|
|
@@ -4497,7 +4496,7 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4497
4496
|
}), di = { class: "sq-pagination" }, Fs = /* @__PURE__ */ R({
|
|
4498
4497
|
name: "sq-pagination",
|
|
4499
4498
|
__name: "pagination",
|
|
4500
|
-
props: /* @__PURE__ */
|
|
4499
|
+
props: /* @__PURE__ */ eu({
|
|
4501
4500
|
total: { default: 0 },
|
|
4502
4501
|
disabled: { type: Boolean, default: !1 },
|
|
4503
4502
|
size: {},
|
|
@@ -4511,14 +4510,14 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4511
4510
|
}),
|
|
4512
4511
|
emits: ["update:current", "update:pageSize"],
|
|
4513
4512
|
setup(u) {
|
|
4514
|
-
const e = u, t = mu(u, "current"), n = mu(u, "pageSize"), r =
|
|
4513
|
+
const e = u, t = mu(u, "current"), n = mu(u, "pageSize"), r = E(() => Math.ceil(e.total / n.value) || 1), o = E(() => {
|
|
4515
4514
|
const c = [], s = Math.floor(e.pagerCount / 2) - 1;
|
|
4516
4515
|
let a = t.value - s, l = t.value + s;
|
|
4517
4516
|
a < 2 && (a = 2, l = a + s * 2), l > r.value - 1 && (l = r.value - 1, a = l - s * 2);
|
|
4518
4517
|
for (let f = 1; f <= r.value; f++)
|
|
4519
4518
|
f === 1 || f === r.value || f >= a && f <= l ? c.push(f) : (f === a - 1 || f === l + 1) && c.push(0);
|
|
4520
4519
|
return c;
|
|
4521
|
-
}), i =
|
|
4520
|
+
}), i = E(() => {
|
|
4522
4521
|
const c = e.layout ?? ["prev", "pager", "next"], s = [];
|
|
4523
4522
|
for (const a of c)
|
|
4524
4523
|
switch (a) {
|
|
@@ -4534,8 +4533,8 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4534
4533
|
}
|
|
4535
4534
|
return s;
|
|
4536
4535
|
});
|
|
4537
|
-
return (c, s) => (
|
|
4538
|
-
(
|
|
4536
|
+
return (c, s) => (D(), S("div", di, [
|
|
4537
|
+
(D(!0), S(Nu, null, Ve(i.value, (a, l) => (D(), L(bu(a), {
|
|
4539
4538
|
key: l,
|
|
4540
4539
|
size: e.size,
|
|
4541
4540
|
disabled: e.disabled,
|
|
@@ -4545,7 +4544,7 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4545
4544
|
}, null, 40, ["size", "disabled", "list", "current"]))), 128))
|
|
4546
4545
|
]));
|
|
4547
4546
|
}
|
|
4548
|
-
}),
|
|
4547
|
+
}), Oe = Math.min, qu = Math.max, ae = Math.round, ne = Math.floor, iu = (u) => ({
|
|
4549
4548
|
x: u,
|
|
4550
4549
|
y: u
|
|
4551
4550
|
}), pi = {
|
|
@@ -4557,10 +4556,10 @@ const As = Ie, si = /* @__PURE__ */ R({
|
|
|
4557
4556
|
start: "end",
|
|
4558
4557
|
end: "start"
|
|
4559
4558
|
};
|
|
4560
|
-
function
|
|
4559
|
+
function e0(u, e) {
|
|
4561
4560
|
return typeof u == "function" ? u(e) : u;
|
|
4562
4561
|
}
|
|
4563
|
-
function
|
|
4562
|
+
function Iu(u) {
|
|
4564
4563
|
return u.split("-")[0];
|
|
4565
4564
|
}
|
|
4566
4565
|
function _e(u) {
|
|
@@ -4569,35 +4568,35 @@ function _e(u) {
|
|
|
4569
4568
|
function bi(u) {
|
|
4570
4569
|
return u === "x" ? "y" : "x";
|
|
4571
4570
|
}
|
|
4572
|
-
function
|
|
4571
|
+
function xt(u) {
|
|
4573
4572
|
return u === "y" ? "height" : "width";
|
|
4574
4573
|
}
|
|
4575
4574
|
const mi = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
4576
4575
|
function wu(u) {
|
|
4577
|
-
return mi.has(
|
|
4576
|
+
return mi.has(Iu(u)) ? "y" : "x";
|
|
4578
4577
|
}
|
|
4579
|
-
function
|
|
4578
|
+
function gt(u) {
|
|
4580
4579
|
return bi(wu(u));
|
|
4581
4580
|
}
|
|
4582
4581
|
function xi(u, e, t) {
|
|
4583
4582
|
t === void 0 && (t = !1);
|
|
4584
|
-
const n = _e(u), r =
|
|
4583
|
+
const n = _e(u), r = gt(u), o = xt(r);
|
|
4585
4584
|
let i = r === "x" ? n === (t ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4586
4585
|
return e.reference[o] > e.floating[o] && (i = le(i)), [i, le(i)];
|
|
4587
4586
|
}
|
|
4588
4587
|
function gi(u) {
|
|
4589
4588
|
const e = le(u);
|
|
4590
|
-
return [
|
|
4589
|
+
return [Pe(u), e, Pe(e)];
|
|
4591
4590
|
}
|
|
4592
|
-
function
|
|
4591
|
+
function Pe(u) {
|
|
4593
4592
|
return u.replace(/start|end/g, (e) => hi[e]);
|
|
4594
4593
|
}
|
|
4595
|
-
const
|
|
4594
|
+
const F0 = ["left", "right"], S0 = ["right", "left"], _i = ["top", "bottom"], ki = ["bottom", "top"];
|
|
4596
4595
|
function yi(u, e, t) {
|
|
4597
4596
|
switch (u) {
|
|
4598
4597
|
case "top":
|
|
4599
4598
|
case "bottom":
|
|
4600
|
-
return t ? e ?
|
|
4599
|
+
return t ? e ? S0 : F0 : e ? F0 : S0;
|
|
4601
4600
|
case "left":
|
|
4602
4601
|
case "right":
|
|
4603
4602
|
return e ? _i : ki;
|
|
@@ -4607,8 +4606,8 @@ function yi(u, e, t) {
|
|
|
4607
4606
|
}
|
|
4608
4607
|
function vi(u, e, t, n) {
|
|
4609
4608
|
const r = _e(u);
|
|
4610
|
-
let o = yi(
|
|
4611
|
-
return r && (o = o.map((i) => i + "-" + r), e && (o = o.concat(o.map(
|
|
4609
|
+
let o = yi(Iu(u), t === "start", n);
|
|
4610
|
+
return r && (o = o.map((i) => i + "-" + r), e && (o = o.concat(o.map(Pe)))), o;
|
|
4612
4611
|
}
|
|
4613
4612
|
function le(u) {
|
|
4614
4613
|
return u.replace(/left|right|bottom|top/g, (e) => pi[e]);
|
|
@@ -4648,12 +4647,12 @@ function fe(u) {
|
|
|
4648
4647
|
y: t
|
|
4649
4648
|
};
|
|
4650
4649
|
}
|
|
4651
|
-
function
|
|
4650
|
+
function z0(u, e, t) {
|
|
4652
4651
|
let {
|
|
4653
4652
|
reference: n,
|
|
4654
4653
|
floating: r
|
|
4655
4654
|
} = u;
|
|
4656
|
-
const o = wu(e), i =
|
|
4655
|
+
const o = wu(e), i = gt(e), c = xt(i), s = Iu(e), a = o === "y", l = n.x + n.width / 2 - r.width / 2, f = n.y + n.height / 2 - r.height / 2, h = n[c] / 2 - r[c] / 2;
|
|
4657
4656
|
let p;
|
|
4658
4657
|
switch (s) {
|
|
4659
4658
|
case "top":
|
|
@@ -4710,17 +4709,17 @@ const Di = async (u, e, t) => {
|
|
|
4710
4709
|
}), {
|
|
4711
4710
|
x: l,
|
|
4712
4711
|
y: f
|
|
4713
|
-
} =
|
|
4712
|
+
} = z0(a, n, s), h = n, p = {}, d = 0;
|
|
4714
4713
|
for (let x = 0; x < c.length; x++) {
|
|
4715
4714
|
const {
|
|
4716
|
-
name:
|
|
4717
|
-
fn:
|
|
4715
|
+
name: _,
|
|
4716
|
+
fn: k
|
|
4718
4717
|
} = c[x], {
|
|
4719
4718
|
x: g,
|
|
4720
4719
|
y,
|
|
4721
|
-
data:
|
|
4722
|
-
reset:
|
|
4723
|
-
} = await
|
|
4720
|
+
data: v,
|
|
4721
|
+
reset: b
|
|
4722
|
+
} = await k({
|
|
4724
4723
|
x: l,
|
|
4725
4724
|
y: f,
|
|
4726
4725
|
initialPlacement: n,
|
|
@@ -4736,18 +4735,18 @@ const Di = async (u, e, t) => {
|
|
|
4736
4735
|
});
|
|
4737
4736
|
l = g ?? l, f = y ?? f, p = {
|
|
4738
4737
|
...p,
|
|
4739
|
-
[
|
|
4740
|
-
...p[
|
|
4741
|
-
...
|
|
4738
|
+
[_]: {
|
|
4739
|
+
...p[_],
|
|
4740
|
+
...v
|
|
4742
4741
|
}
|
|
4743
|
-
},
|
|
4742
|
+
}, b && d <= 50 && (d++, typeof b == "object" && (b.placement && (h = b.placement), b.rects && (a = b.rects === !0 ? await i.getElementRects({
|
|
4744
4743
|
reference: u,
|
|
4745
4744
|
floating: e,
|
|
4746
4745
|
strategy: r
|
|
4747
|
-
}) :
|
|
4746
|
+
}) : b.rects), {
|
|
4748
4747
|
x: l,
|
|
4749
4748
|
y: f
|
|
4750
|
-
} =
|
|
4749
|
+
} = z0(a, h, s)), x = -1);
|
|
4751
4750
|
}
|
|
4752
4751
|
return {
|
|
4753
4752
|
x: l,
|
|
@@ -4773,8 +4772,8 @@ async function Ei(u, e) {
|
|
|
4773
4772
|
elementContext: f = "floating",
|
|
4774
4773
|
altBoundary: h = !1,
|
|
4775
4774
|
padding: p = 0
|
|
4776
|
-
} =
|
|
4777
|
-
element: (t = await (o.isElement == null ? void 0 : o.isElement(
|
|
4775
|
+
} = e0(e, u), d = wi(p), _ = c[h ? f === "floating" ? "reference" : "floating" : f], k = fe(await o.getClippingRect({
|
|
4776
|
+
element: (t = await (o.isElement == null ? void 0 : o.isElement(_))) == null || t ? _ : _.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(c.floating)),
|
|
4778
4777
|
boundary: a,
|
|
4779
4778
|
rootBoundary: l,
|
|
4780
4779
|
strategy: s
|
|
@@ -4783,23 +4782,23 @@ async function Ei(u, e) {
|
|
|
4783
4782
|
y: r,
|
|
4784
4783
|
width: i.floating.width,
|
|
4785
4784
|
height: i.floating.height
|
|
4786
|
-
} : i.reference, y = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c.floating)),
|
|
4785
|
+
} : i.reference, y = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c.floating)), v = await (o.isElement == null ? void 0 : o.isElement(y)) ? await (o.getScale == null ? void 0 : o.getScale(y)) || {
|
|
4787
4786
|
x: 1,
|
|
4788
4787
|
y: 1
|
|
4789
4788
|
} : {
|
|
4790
4789
|
x: 1,
|
|
4791
4790
|
y: 1
|
|
4792
|
-
},
|
|
4791
|
+
}, b = fe(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4793
4792
|
elements: c,
|
|
4794
4793
|
rect: g,
|
|
4795
4794
|
offsetParent: y,
|
|
4796
4795
|
strategy: s
|
|
4797
4796
|
}) : g);
|
|
4798
4797
|
return {
|
|
4799
|
-
top: (
|
|
4800
|
-
bottom: (
|
|
4801
|
-
left: (
|
|
4802
|
-
right: (
|
|
4798
|
+
top: (k.top - b.top + d.top) / v.y,
|
|
4799
|
+
bottom: (b.bottom - k.bottom + d.bottom) / v.y,
|
|
4800
|
+
left: (k.left - b.left + d.left) / v.x,
|
|
4801
|
+
right: (b.right - k.right + d.right) / v.x
|
|
4803
4802
|
};
|
|
4804
4803
|
}
|
|
4805
4804
|
const Ai = function(u) {
|
|
@@ -4822,61 +4821,61 @@ const Ai = function(u) {
|
|
|
4822
4821
|
fallbackStrategy: p = "bestFit",
|
|
4823
4822
|
fallbackAxisSideDirection: d = "none",
|
|
4824
4823
|
flipAlignment: x = !0,
|
|
4825
|
-
...
|
|
4826
|
-
} =
|
|
4824
|
+
..._
|
|
4825
|
+
} = e0(u, e);
|
|
4827
4826
|
if ((t = o.arrow) != null && t.alignmentOffset)
|
|
4828
4827
|
return {};
|
|
4829
|
-
const
|
|
4830
|
-
!h &&
|
|
4831
|
-
const
|
|
4832
|
-
let
|
|
4833
|
-
if (l &&
|
|
4834
|
-
const
|
|
4835
|
-
|
|
4828
|
+
const k = Iu(r), g = wu(c), y = Iu(c) === c, v = await (s.isRTL == null ? void 0 : s.isRTL(a.floating)), b = h || (y || !x ? [le(c)] : gi(c)), C = d !== "none";
|
|
4829
|
+
!h && C && b.push(...vi(c, x, d, v));
|
|
4830
|
+
const m = [c, ...b], z = await Ei(e, _), F = [];
|
|
4831
|
+
let q = ((n = o.flip) == null ? void 0 : n.overflows) || [];
|
|
4832
|
+
if (l && F.push(z[k]), f) {
|
|
4833
|
+
const Q = xi(r, i, v);
|
|
4834
|
+
F.push(z[Q[0]], z[Q[1]]);
|
|
4836
4835
|
}
|
|
4837
|
-
if (
|
|
4836
|
+
if (q = [...q, {
|
|
4838
4837
|
placement: r,
|
|
4839
|
-
overflows:
|
|
4840
|
-
}], !
|
|
4841
|
-
var
|
|
4842
|
-
const
|
|
4843
|
-
if (
|
|
4838
|
+
overflows: F
|
|
4839
|
+
}], !F.every((Q) => Q <= 0)) {
|
|
4840
|
+
var M, W;
|
|
4841
|
+
const Q = (((M = o.flip) == null ? void 0 : M.index) || 0) + 1, G = m[Q];
|
|
4842
|
+
if (G && (!(f === "alignment" ? g !== wu(G) : !1) || // We leave the current main axis only if every placement on that axis
|
|
4844
4843
|
// overflows the main axis.
|
|
4845
|
-
|
|
4844
|
+
q.every((I) => wu(I.placement) === g ? I.overflows[0] > 0 : !0)))
|
|
4846
4845
|
return {
|
|
4847
4846
|
data: {
|
|
4848
|
-
index:
|
|
4849
|
-
overflows:
|
|
4847
|
+
index: Q,
|
|
4848
|
+
overflows: q
|
|
4850
4849
|
},
|
|
4851
4850
|
reset: {
|
|
4852
|
-
placement:
|
|
4851
|
+
placement: G
|
|
4853
4852
|
}
|
|
4854
4853
|
};
|
|
4855
|
-
let
|
|
4856
|
-
if (!
|
|
4854
|
+
let hu = (W = q.filter((B) => B.overflows[0] <= 0).sort((B, I) => B.overflows[1] - I.overflows[1])[0]) == null ? void 0 : W.placement;
|
|
4855
|
+
if (!hu)
|
|
4857
4856
|
switch (p) {
|
|
4858
4857
|
case "bestFit": {
|
|
4859
|
-
var
|
|
4860
|
-
const
|
|
4861
|
-
if (
|
|
4862
|
-
const
|
|
4863
|
-
return
|
|
4858
|
+
var ru;
|
|
4859
|
+
const B = (ru = q.filter((I) => {
|
|
4860
|
+
if (C) {
|
|
4861
|
+
const H = wu(I.placement);
|
|
4862
|
+
return H === g || // Create a bias to the `y` side axis due to horizontal
|
|
4864
4863
|
// reading directions favoring greater width.
|
|
4865
|
-
|
|
4864
|
+
H === "y";
|
|
4866
4865
|
}
|
|
4867
4866
|
return !0;
|
|
4868
|
-
}).map((I) => [I.placement, I.overflows.filter((
|
|
4869
|
-
|
|
4867
|
+
}).map((I) => [I.placement, I.overflows.filter((H) => H > 0).reduce((H, we) => H + we, 0)]).sort((I, H) => I[1] - H[1])[0]) == null ? void 0 : ru[0];
|
|
4868
|
+
B && (hu = B);
|
|
4870
4869
|
break;
|
|
4871
4870
|
}
|
|
4872
4871
|
case "initialPlacement":
|
|
4873
|
-
|
|
4872
|
+
hu = c;
|
|
4874
4873
|
break;
|
|
4875
4874
|
}
|
|
4876
|
-
if (r !==
|
|
4875
|
+
if (r !== hu)
|
|
4877
4876
|
return {
|
|
4878
4877
|
reset: {
|
|
4879
|
-
placement:
|
|
4878
|
+
placement: hu
|
|
4880
4879
|
}
|
|
4881
4880
|
};
|
|
4882
4881
|
}
|
|
@@ -4889,7 +4888,7 @@ async function Si(u, e) {
|
|
|
4889
4888
|
placement: t,
|
|
4890
4889
|
platform: n,
|
|
4891
4890
|
elements: r
|
|
4892
|
-
} = u, o = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), i =
|
|
4891
|
+
} = u, o = await (n.isRTL == null ? void 0 : n.isRTL(r.floating)), i = Iu(t), c = _e(t), s = wu(t) === "y", a = Fi.has(i) ? -1 : 1, l = o && s ? -1 : 1, f = e0(e, u);
|
|
4893
4892
|
let {
|
|
4894
4893
|
mainAxis: h,
|
|
4895
4894
|
crossAxis: p,
|
|
@@ -4938,36 +4937,36 @@ function ke() {
|
|
|
4938
4937
|
return typeof window < "u";
|
|
4939
4938
|
}
|
|
4940
4939
|
function Au(u) {
|
|
4941
|
-
return
|
|
4940
|
+
return t0(u) ? (u.nodeName || "").toLowerCase() : "#document";
|
|
4942
4941
|
}
|
|
4943
|
-
function
|
|
4942
|
+
function J(u) {
|
|
4944
4943
|
var e;
|
|
4945
4944
|
return (u == null || (e = u.ownerDocument) == null ? void 0 : e.defaultView) || window;
|
|
4946
4945
|
}
|
|
4947
4946
|
function pu(u) {
|
|
4948
4947
|
var e;
|
|
4949
|
-
return (e = (
|
|
4948
|
+
return (e = (t0(u) ? u.ownerDocument : u.document) || window.document) == null ? void 0 : e.documentElement;
|
|
4950
4949
|
}
|
|
4951
|
-
function
|
|
4952
|
-
return ke() ? u instanceof Node || u instanceof
|
|
4950
|
+
function t0(u) {
|
|
4951
|
+
return ke() ? u instanceof Node || u instanceof J(u).Node : !1;
|
|
4953
4952
|
}
|
|
4954
|
-
function
|
|
4955
|
-
return ke() ? u instanceof Element || u instanceof
|
|
4953
|
+
function tu(u) {
|
|
4954
|
+
return ke() ? u instanceof Element || u instanceof J(u).Element : !1;
|
|
4956
4955
|
}
|
|
4957
4956
|
function lu(u) {
|
|
4958
|
-
return ke() ? u instanceof HTMLElement || u instanceof
|
|
4957
|
+
return ke() ? u instanceof HTMLElement || u instanceof J(u).HTMLElement : !1;
|
|
4959
4958
|
}
|
|
4960
|
-
function
|
|
4961
|
-
return !ke() || typeof ShadowRoot > "u" ? !1 : u instanceof ShadowRoot || u instanceof
|
|
4959
|
+
function q0(u) {
|
|
4960
|
+
return !ke() || typeof ShadowRoot > "u" ? !1 : u instanceof ShadowRoot || u instanceof J(u).ShadowRoot;
|
|
4962
4961
|
}
|
|
4963
4962
|
const qi = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
4964
|
-
function
|
|
4963
|
+
function Yu(u) {
|
|
4965
4964
|
const {
|
|
4966
4965
|
overflow: e,
|
|
4967
4966
|
overflowX: t,
|
|
4968
4967
|
overflowY: n,
|
|
4969
4968
|
display: r
|
|
4970
|
-
} =
|
|
4969
|
+
} = nu(u);
|
|
4971
4970
|
return /auto|scroll|overlay|hidden|clip/.test(e + n + t) && !qi.has(r);
|
|
4972
4971
|
}
|
|
4973
4972
|
const Bi = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
@@ -4985,14 +4984,14 @@ function ye(u) {
|
|
|
4985
4984
|
});
|
|
4986
4985
|
}
|
|
4987
4986
|
const Li = ["transform", "translate", "scale", "rotate", "perspective"], Ri = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Ii = ["paint", "layout", "strict", "content"];
|
|
4988
|
-
function
|
|
4989
|
-
const e =
|
|
4987
|
+
function n0(u) {
|
|
4988
|
+
const e = r0(), t = tu(u) ? nu(u) : u;
|
|
4990
4989
|
return Li.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) || Ri.some((n) => (t.willChange || "").includes(n)) || Ii.some((n) => (t.contain || "").includes(n));
|
|
4991
4990
|
}
|
|
4992
4991
|
function $i(u) {
|
|
4993
4992
|
let e = vu(u);
|
|
4994
|
-
for (; lu(e) &&
|
|
4995
|
-
if (
|
|
4993
|
+
for (; lu(e) && !$u(e); ) {
|
|
4994
|
+
if (n0(e))
|
|
4996
4995
|
return e;
|
|
4997
4996
|
if (ye(e))
|
|
4998
4997
|
return null;
|
|
@@ -5000,18 +4999,18 @@ function $i(u) {
|
|
|
5000
4999
|
}
|
|
5001
5000
|
return null;
|
|
5002
5001
|
}
|
|
5003
|
-
function
|
|
5002
|
+
function r0() {
|
|
5004
5003
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
5005
5004
|
}
|
|
5006
5005
|
const Oi = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
5007
|
-
function
|
|
5006
|
+
function $u(u) {
|
|
5008
5007
|
return Oi.has(Au(u));
|
|
5009
5008
|
}
|
|
5010
|
-
function
|
|
5011
|
-
return
|
|
5009
|
+
function nu(u) {
|
|
5010
|
+
return J(u).getComputedStyle(u);
|
|
5012
5011
|
}
|
|
5013
5012
|
function ve(u) {
|
|
5014
|
-
return
|
|
5013
|
+
return tu(u) ? {
|
|
5015
5014
|
scrollLeft: u.scrollLeft,
|
|
5016
5015
|
scrollTop: u.scrollTop
|
|
5017
5016
|
} : {
|
|
@@ -5026,30 +5025,30 @@ function vu(u) {
|
|
|
5026
5025
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
5027
5026
|
u.assignedSlot || // DOM Element detected.
|
|
5028
5027
|
u.parentNode || // ShadowRoot detected.
|
|
5029
|
-
|
|
5028
|
+
q0(u) && u.host || // Fallback.
|
|
5030
5029
|
pu(u)
|
|
5031
5030
|
);
|
|
5032
|
-
return
|
|
5031
|
+
return q0(e) ? e.host : e;
|
|
5033
5032
|
}
|
|
5034
|
-
function
|
|
5033
|
+
function _t(u) {
|
|
5035
5034
|
const e = vu(u);
|
|
5036
|
-
return
|
|
5035
|
+
return $u(e) ? u.ownerDocument ? u.ownerDocument.body : u.body : lu(e) && Yu(e) ? e : _t(e);
|
|
5037
5036
|
}
|
|
5038
|
-
function
|
|
5037
|
+
function Zu(u, e, t) {
|
|
5039
5038
|
var n;
|
|
5040
5039
|
e === void 0 && (e = []), t === void 0 && (t = !0);
|
|
5041
|
-
const r =
|
|
5040
|
+
const r = _t(u), o = r === ((n = u.ownerDocument) == null ? void 0 : n.body), i = J(r);
|
|
5042
5041
|
if (o) {
|
|
5043
|
-
const c =
|
|
5044
|
-
return e.concat(i, i.visualViewport || [],
|
|
5042
|
+
const c = Ne(i);
|
|
5043
|
+
return e.concat(i, i.visualViewport || [], Yu(r) ? r : [], c && t ? Zu(c) : []);
|
|
5045
5044
|
}
|
|
5046
|
-
return e.concat(r,
|
|
5045
|
+
return e.concat(r, Zu(r, [], t));
|
|
5047
5046
|
}
|
|
5048
|
-
function
|
|
5047
|
+
function Ne(u) {
|
|
5049
5048
|
return u.parent && Object.getPrototypeOf(u.parent) ? u.frameElement : null;
|
|
5050
5049
|
}
|
|
5051
|
-
function
|
|
5052
|
-
const e =
|
|
5050
|
+
function kt(u) {
|
|
5051
|
+
const e = nu(u);
|
|
5053
5052
|
let t = parseFloat(e.width) || 0, n = parseFloat(e.height) || 0;
|
|
5054
5053
|
const r = lu(u), o = r ? u.offsetWidth : t, i = r ? u.offsetHeight : n, c = ae(t) !== o || ae(n) !== i;
|
|
5055
5054
|
return c && (t = o, n = i), {
|
|
@@ -5058,18 +5057,18 @@ function gt(u) {
|
|
|
5058
5057
|
$: c
|
|
5059
5058
|
};
|
|
5060
5059
|
}
|
|
5061
|
-
function
|
|
5062
|
-
return
|
|
5060
|
+
function o0(u) {
|
|
5061
|
+
return tu(u) ? u : u.contextElement;
|
|
5063
5062
|
}
|
|
5064
|
-
function
|
|
5065
|
-
const e =
|
|
5063
|
+
function Bu(u) {
|
|
5064
|
+
const e = o0(u);
|
|
5066
5065
|
if (!lu(e))
|
|
5067
5066
|
return iu(1);
|
|
5068
5067
|
const t = e.getBoundingClientRect(), {
|
|
5069
5068
|
width: n,
|
|
5070
5069
|
height: r,
|
|
5071
5070
|
$: o
|
|
5072
|
-
} =
|
|
5071
|
+
} = kt(e);
|
|
5073
5072
|
let i = (o ? ae(t.width) : t.width) / n, c = (o ? ae(t.height) : t.height) / r;
|
|
5074
5073
|
return (!i || !Number.isFinite(i)) && (i = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
5075
5074
|
x: i,
|
|
@@ -5077,29 +5076,29 @@ function Tu(u) {
|
|
|
5077
5076
|
};
|
|
5078
5077
|
}
|
|
5079
5078
|
const Pi = /* @__PURE__ */ iu(0);
|
|
5080
|
-
function
|
|
5081
|
-
const e =
|
|
5082
|
-
return !
|
|
5079
|
+
function yt(u) {
|
|
5080
|
+
const e = J(u);
|
|
5081
|
+
return !r0() || !e.visualViewport ? Pi : {
|
|
5083
5082
|
x: e.visualViewport.offsetLeft,
|
|
5084
5083
|
y: e.visualViewport.offsetTop
|
|
5085
5084
|
};
|
|
5086
5085
|
}
|
|
5087
5086
|
function Ni(u, e, t) {
|
|
5088
|
-
return e === void 0 && (e = !1), !t || e && t !==
|
|
5087
|
+
return e === void 0 && (e = !1), !t || e && t !== J(u) ? !1 : e;
|
|
5089
5088
|
}
|
|
5090
5089
|
function Eu(u, e, t, n) {
|
|
5091
5090
|
e === void 0 && (e = !1), t === void 0 && (t = !1);
|
|
5092
|
-
const r = u.getBoundingClientRect(), o =
|
|
5091
|
+
const r = u.getBoundingClientRect(), o = o0(u);
|
|
5093
5092
|
let i = iu(1);
|
|
5094
|
-
e && (n ?
|
|
5095
|
-
const c = Ni(o, t, n) ?
|
|
5093
|
+
e && (n ? tu(n) && (i = Bu(n)) : i = Bu(u));
|
|
5094
|
+
const c = Ni(o, t, n) ? yt(o) : iu(0);
|
|
5096
5095
|
let s = (r.left + c.x) / i.x, a = (r.top + c.y) / i.y, l = r.width / i.x, f = r.height / i.y;
|
|
5097
5096
|
if (o) {
|
|
5098
|
-
const h =
|
|
5099
|
-
let d = h, x =
|
|
5097
|
+
const h = J(o), p = n && tu(n) ? J(n) : n;
|
|
5098
|
+
let d = h, x = Ne(d);
|
|
5100
5099
|
for (; x && n && p !== d; ) {
|
|
5101
|
-
const
|
|
5102
|
-
s *=
|
|
5100
|
+
const _ = Bu(x), k = x.getBoundingClientRect(), g = nu(x), y = k.left + (x.clientLeft + parseFloat(g.paddingLeft)) * _.x, v = k.top + (x.clientTop + parseFloat(g.paddingTop)) * _.y;
|
|
5101
|
+
s *= _.x, a *= _.y, l *= _.x, f *= _.y, s += y, a += v, d = J(x), x = Ne(d);
|
|
5103
5102
|
}
|
|
5104
5103
|
}
|
|
5105
5104
|
return fe({
|
|
@@ -5113,7 +5112,7 @@ function Ce(u, e) {
|
|
|
5113
5112
|
const t = ve(u).scrollLeft;
|
|
5114
5113
|
return e ? e.left + t : Eu(pu(u)).left + t;
|
|
5115
5114
|
}
|
|
5116
|
-
function
|
|
5115
|
+
function vt(u, e) {
|
|
5117
5116
|
const t = u.getBoundingClientRect(), n = t.left + e.scrollLeft - Ce(u, t), r = t.top + e.scrollTop;
|
|
5118
5117
|
return {
|
|
5119
5118
|
x: n,
|
|
@@ -5135,11 +5134,11 @@ function ji(u) {
|
|
|
5135
5134
|
scrollTop: 0
|
|
5136
5135
|
}, a = iu(1);
|
|
5137
5136
|
const l = iu(0), f = lu(n);
|
|
5138
|
-
if ((f || !f && !o) && ((Au(n) !== "body" ||
|
|
5137
|
+
if ((f || !f && !o) && ((Au(n) !== "body" || Yu(i)) && (s = ve(n)), lu(n))) {
|
|
5139
5138
|
const p = Eu(n);
|
|
5140
|
-
a =
|
|
5139
|
+
a = Bu(n), l.x = p.x + n.clientLeft, l.y = p.y + n.clientTop;
|
|
5141
5140
|
}
|
|
5142
|
-
const h = i && !f && !o ?
|
|
5141
|
+
const h = i && !f && !o ? vt(i, s) : iu(0);
|
|
5143
5142
|
return {
|
|
5144
5143
|
width: t.width * a.x,
|
|
5145
5144
|
height: t.height * a.y,
|
|
@@ -5151,30 +5150,30 @@ function Hi(u) {
|
|
|
5151
5150
|
return Array.from(u.getClientRects());
|
|
5152
5151
|
}
|
|
5153
5152
|
function Vi(u) {
|
|
5154
|
-
const e = pu(u), t = ve(u), n = u.ownerDocument.body, r =
|
|
5153
|
+
const e = pu(u), t = ve(u), n = u.ownerDocument.body, r = qu(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), o = qu(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight);
|
|
5155
5154
|
let i = -t.scrollLeft + Ce(u);
|
|
5156
5155
|
const c = -t.scrollTop;
|
|
5157
|
-
return
|
|
5156
|
+
return nu(n).direction === "rtl" && (i += qu(e.clientWidth, n.clientWidth) - r), {
|
|
5158
5157
|
width: r,
|
|
5159
5158
|
height: o,
|
|
5160
5159
|
x: i,
|
|
5161
5160
|
y: c
|
|
5162
5161
|
};
|
|
5163
5162
|
}
|
|
5164
|
-
const
|
|
5163
|
+
const B0 = 25;
|
|
5165
5164
|
function Ui(u, e) {
|
|
5166
|
-
const t =
|
|
5165
|
+
const t = J(u), n = pu(u), r = t.visualViewport;
|
|
5167
5166
|
let o = n.clientWidth, i = n.clientHeight, c = 0, s = 0;
|
|
5168
5167
|
if (r) {
|
|
5169
5168
|
o = r.width, i = r.height;
|
|
5170
|
-
const l =
|
|
5169
|
+
const l = r0();
|
|
5171
5170
|
(!l || l && e === "fixed") && (c = r.offsetLeft, s = r.offsetTop);
|
|
5172
5171
|
}
|
|
5173
5172
|
const a = Ce(n);
|
|
5174
5173
|
if (a <= 0) {
|
|
5175
5174
|
const l = n.ownerDocument, f = l.body, h = getComputedStyle(f), p = l.compatMode === "CSS1Compat" && parseFloat(h.marginLeft) + parseFloat(h.marginRight) || 0, d = Math.abs(n.clientWidth - f.clientWidth - p);
|
|
5176
|
-
d <=
|
|
5177
|
-
} else a <=
|
|
5175
|
+
d <= B0 && (o -= d);
|
|
5176
|
+
} else a <= B0 && (o += a);
|
|
5178
5177
|
return {
|
|
5179
5178
|
width: o,
|
|
5180
5179
|
height: i,
|
|
@@ -5184,7 +5183,7 @@ function Ui(u, e) {
|
|
|
5184
5183
|
}
|
|
5185
5184
|
const Zi = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
5186
5185
|
function Wi(u, e) {
|
|
5187
|
-
const t = Eu(u, !0, e === "fixed"), n = t.top + u.clientTop, r = t.left + u.clientLeft, o = lu(u) ?
|
|
5186
|
+
const t = Eu(u, !0, e === "fixed"), n = t.top + u.clientTop, r = t.left + u.clientLeft, o = lu(u) ? Bu(u) : iu(1), i = u.clientWidth * o.x, c = u.clientHeight * o.y, s = r * o.x, a = n * o.y;
|
|
5188
5187
|
return {
|
|
5189
5188
|
width: i,
|
|
5190
5189
|
height: c,
|
|
@@ -5192,16 +5191,16 @@ function Wi(u, e) {
|
|
|
5192
5191
|
y: a
|
|
5193
5192
|
};
|
|
5194
5193
|
}
|
|
5195
|
-
function
|
|
5194
|
+
function T0(u, e, t) {
|
|
5196
5195
|
let n;
|
|
5197
5196
|
if (e === "viewport")
|
|
5198
5197
|
n = Ui(u, t);
|
|
5199
5198
|
else if (e === "document")
|
|
5200
5199
|
n = Vi(pu(u));
|
|
5201
|
-
else if (
|
|
5200
|
+
else if (tu(e))
|
|
5202
5201
|
n = Wi(e, t);
|
|
5203
5202
|
else {
|
|
5204
|
-
const r =
|
|
5203
|
+
const r = yt(u);
|
|
5205
5204
|
n = {
|
|
5206
5205
|
x: e.x - r.x,
|
|
5207
5206
|
y: e.y - r.y,
|
|
@@ -5211,20 +5210,20 @@ function B0(u, e, t) {
|
|
|
5211
5210
|
}
|
|
5212
5211
|
return fe(n);
|
|
5213
5212
|
}
|
|
5214
|
-
function
|
|
5213
|
+
function Ct(u, e) {
|
|
5215
5214
|
const t = vu(u);
|
|
5216
|
-
return t === e || !
|
|
5215
|
+
return t === e || !tu(t) || $u(t) ? !1 : nu(t).position === "fixed" || Ct(t, e);
|
|
5217
5216
|
}
|
|
5218
5217
|
function Gi(u, e) {
|
|
5219
5218
|
const t = e.get(u);
|
|
5220
5219
|
if (t)
|
|
5221
5220
|
return t;
|
|
5222
|
-
let n =
|
|
5223
|
-
const o =
|
|
5221
|
+
let n = Zu(u, [], !1).filter((c) => tu(c) && Au(c) !== "body"), r = null;
|
|
5222
|
+
const o = nu(u).position === "fixed";
|
|
5224
5223
|
let i = o ? vu(u) : u;
|
|
5225
|
-
for (;
|
|
5226
|
-
const c =
|
|
5227
|
-
!s && c.position === "fixed" && (r = null), (o ? !s && !r : !s && c.position === "static" && !!r && Zi.has(r.position) ||
|
|
5224
|
+
for (; tu(i) && !$u(i); ) {
|
|
5225
|
+
const c = nu(i), s = n0(i);
|
|
5226
|
+
!s && c.position === "fixed" && (r = null), (o ? !s && !r : !s && c.position === "static" && !!r && Zi.has(r.position) || Yu(i) && !s && Ct(u, i)) ? n = n.filter((l) => l !== i) : r = c, i = vu(i);
|
|
5228
5227
|
}
|
|
5229
5228
|
return e.set(u, n), n;
|
|
5230
5229
|
}
|
|
@@ -5236,9 +5235,9 @@ function Ji(u) {
|
|
|
5236
5235
|
strategy: r
|
|
5237
5236
|
} = u;
|
|
5238
5237
|
const i = [...t === "clippingAncestors" ? ye(e) ? [] : Gi(e, this._c) : [].concat(t), n], c = i[0], s = i.reduce((a, l) => {
|
|
5239
|
-
const f =
|
|
5240
|
-
return a.top =
|
|
5241
|
-
},
|
|
5238
|
+
const f = T0(e, l, r);
|
|
5239
|
+
return a.top = qu(f.top, a.top), a.right = Oe(f.right, a.right), a.bottom = Oe(f.bottom, a.bottom), a.left = qu(f.left, a.left), a;
|
|
5240
|
+
}, T0(e, c, r));
|
|
5242
5241
|
return {
|
|
5243
5242
|
width: s.right - s.left,
|
|
5244
5243
|
height: s.bottom - s.top,
|
|
@@ -5250,7 +5249,7 @@ function Xi(u) {
|
|
|
5250
5249
|
const {
|
|
5251
5250
|
width: e,
|
|
5252
5251
|
height: t
|
|
5253
|
-
} =
|
|
5252
|
+
} = kt(u);
|
|
5254
5253
|
return {
|
|
5255
5254
|
width: e,
|
|
5256
5255
|
height: t
|
|
@@ -5267,12 +5266,12 @@ function Qi(u, e, t) {
|
|
|
5267
5266
|
s.x = Ce(r);
|
|
5268
5267
|
}
|
|
5269
5268
|
if (n || !n && !o)
|
|
5270
|
-
if ((Au(e) !== "body" ||
|
|
5269
|
+
if ((Au(e) !== "body" || Yu(r)) && (c = ve(e)), n) {
|
|
5271
5270
|
const p = Eu(e, !0, o, e);
|
|
5272
5271
|
s.x = p.x + e.clientLeft, s.y = p.y + e.clientTop;
|
|
5273
5272
|
} else r && a();
|
|
5274
5273
|
o && !n && r && a();
|
|
5275
|
-
const l = r && !n && !o ?
|
|
5274
|
+
const l = r && !n && !o ? vt(r, c) : iu(0), f = i.left + c.scrollLeft - s.x - l.x, h = i.top + c.scrollTop - s.y - l.y;
|
|
5276
5275
|
return {
|
|
5277
5276
|
x: f,
|
|
5278
5277
|
y: h,
|
|
@@ -5280,37 +5279,37 @@ function Qi(u, e, t) {
|
|
|
5280
5279
|
height: i.height
|
|
5281
5280
|
};
|
|
5282
5281
|
}
|
|
5283
|
-
function
|
|
5284
|
-
return
|
|
5282
|
+
function Te(u) {
|
|
5283
|
+
return nu(u).position === "static";
|
|
5285
5284
|
}
|
|
5286
|
-
function
|
|
5287
|
-
if (!lu(u) ||
|
|
5285
|
+
function M0(u, e) {
|
|
5286
|
+
if (!lu(u) || nu(u).position === "fixed")
|
|
5288
5287
|
return null;
|
|
5289
5288
|
if (e)
|
|
5290
5289
|
return e(u);
|
|
5291
5290
|
let t = u.offsetParent;
|
|
5292
5291
|
return pu(u) === t && (t = t.ownerDocument.body), t;
|
|
5293
5292
|
}
|
|
5294
|
-
function
|
|
5295
|
-
const t =
|
|
5293
|
+
function wt(u, e) {
|
|
5294
|
+
const t = J(u);
|
|
5296
5295
|
if (ye(u))
|
|
5297
5296
|
return t;
|
|
5298
5297
|
if (!lu(u)) {
|
|
5299
5298
|
let r = vu(u);
|
|
5300
|
-
for (; r &&
|
|
5301
|
-
if (
|
|
5299
|
+
for (; r && !$u(r); ) {
|
|
5300
|
+
if (tu(r) && !Te(r))
|
|
5302
5301
|
return r;
|
|
5303
5302
|
r = vu(r);
|
|
5304
5303
|
}
|
|
5305
5304
|
return t;
|
|
5306
5305
|
}
|
|
5307
|
-
let n =
|
|
5308
|
-
for (; n && Ti(n) &&
|
|
5309
|
-
n =
|
|
5310
|
-
return n &&
|
|
5306
|
+
let n = M0(u, e);
|
|
5307
|
+
for (; n && Ti(n) && Te(n); )
|
|
5308
|
+
n = M0(n, e);
|
|
5309
|
+
return n && $u(n) && Te(n) && !n0(n) ? t : n || $i(u) || t;
|
|
5311
5310
|
}
|
|
5312
5311
|
const Yi = async function(u) {
|
|
5313
|
-
const e = this.getOffsetParent ||
|
|
5312
|
+
const e = this.getOffsetParent || wt, t = this.getDimensions, n = await t(u.floating);
|
|
5314
5313
|
return {
|
|
5315
5314
|
reference: Qi(u.reference, await e(u.floating), u.strategy),
|
|
5316
5315
|
floating: {
|
|
@@ -5322,21 +5321,21 @@ const Yi = async function(u) {
|
|
|
5322
5321
|
};
|
|
5323
5322
|
};
|
|
5324
5323
|
function Ki(u) {
|
|
5325
|
-
return
|
|
5324
|
+
return nu(u).direction === "rtl";
|
|
5326
5325
|
}
|
|
5327
5326
|
const us = {
|
|
5328
5327
|
convertOffsetParentRelativeRectToViewportRelativeRect: ji,
|
|
5329
5328
|
getDocumentElement: pu,
|
|
5330
5329
|
getClippingRect: Ji,
|
|
5331
|
-
getOffsetParent:
|
|
5330
|
+
getOffsetParent: wt,
|
|
5332
5331
|
getElementRects: Yi,
|
|
5333
5332
|
getClientRects: Hi,
|
|
5334
5333
|
getDimensions: Xi,
|
|
5335
|
-
getScale:
|
|
5336
|
-
isElement:
|
|
5334
|
+
getScale: Bu,
|
|
5335
|
+
isElement: tu,
|
|
5337
5336
|
isRTL: Ki
|
|
5338
5337
|
};
|
|
5339
|
-
function
|
|
5338
|
+
function Dt(u, e) {
|
|
5340
5339
|
return u.x === e.x && u.y === e.y && u.width === e.width && u.height === e.height;
|
|
5341
5340
|
}
|
|
5342
5341
|
function es(u, e) {
|
|
@@ -5356,30 +5355,30 @@ function es(u, e) {
|
|
|
5356
5355
|
} = a;
|
|
5357
5356
|
if (c || e(), !h || !p)
|
|
5358
5357
|
return;
|
|
5359
|
-
const d =
|
|
5360
|
-
rootMargin: -d + "px " + -x + "px " + -
|
|
5361
|
-
threshold:
|
|
5358
|
+
const d = ne(f), x = ne(r.clientWidth - (l + h)), _ = ne(r.clientHeight - (f + p)), k = ne(l), y = {
|
|
5359
|
+
rootMargin: -d + "px " + -x + "px " + -_ + "px " + -k + "px",
|
|
5360
|
+
threshold: qu(0, Oe(1, s)) || 1
|
|
5362
5361
|
};
|
|
5363
|
-
let
|
|
5364
|
-
function
|
|
5365
|
-
const
|
|
5366
|
-
if (
|
|
5367
|
-
if (!
|
|
5362
|
+
let v = !0;
|
|
5363
|
+
function b(C) {
|
|
5364
|
+
const m = C[0].intersectionRatio;
|
|
5365
|
+
if (m !== s) {
|
|
5366
|
+
if (!v)
|
|
5368
5367
|
return i();
|
|
5369
|
-
|
|
5368
|
+
m ? i(!1, m) : n = setTimeout(() => {
|
|
5370
5369
|
i(!1, 1e-7);
|
|
5371
5370
|
}, 1e3);
|
|
5372
5371
|
}
|
|
5373
|
-
|
|
5372
|
+
m === 1 && !Dt(a, u.getBoundingClientRect()) && i(), v = !1;
|
|
5374
5373
|
}
|
|
5375
5374
|
try {
|
|
5376
|
-
t = new IntersectionObserver(
|
|
5375
|
+
t = new IntersectionObserver(b, {
|
|
5377
5376
|
...y,
|
|
5378
5377
|
// Handle <iframe>s
|
|
5379
5378
|
root: r.ownerDocument
|
|
5380
5379
|
});
|
|
5381
5380
|
} catch {
|
|
5382
|
-
t = new IntersectionObserver(
|
|
5381
|
+
t = new IntersectionObserver(b, y);
|
|
5383
5382
|
}
|
|
5384
5383
|
t.observe(u);
|
|
5385
5384
|
}
|
|
@@ -5393,32 +5392,32 @@ function ts(u, e, t, n) {
|
|
|
5393
5392
|
elementResize: i = typeof ResizeObserver == "function",
|
|
5394
5393
|
layoutShift: c = typeof IntersectionObserver == "function",
|
|
5395
5394
|
animationFrame: s = !1
|
|
5396
|
-
} = n, a =
|
|
5397
|
-
l.forEach((
|
|
5398
|
-
r &&
|
|
5395
|
+
} = n, a = o0(u), l = r || o ? [...a ? Zu(a) : [], ...Zu(e)] : [];
|
|
5396
|
+
l.forEach((k) => {
|
|
5397
|
+
r && k.addEventListener("scroll", t, {
|
|
5399
5398
|
passive: !0
|
|
5400
|
-
}), o &&
|
|
5399
|
+
}), o && k.addEventListener("resize", t);
|
|
5401
5400
|
});
|
|
5402
5401
|
const f = a && c ? es(a, t) : null;
|
|
5403
5402
|
let h = -1, p = null;
|
|
5404
|
-
i && (p = new ResizeObserver((
|
|
5405
|
-
let [g] =
|
|
5403
|
+
i && (p = new ResizeObserver((k) => {
|
|
5404
|
+
let [g] = k;
|
|
5406
5405
|
g && g.target === a && p && (p.unobserve(e), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
|
|
5407
5406
|
var y;
|
|
5408
5407
|
(y = p) == null || y.observe(e);
|
|
5409
5408
|
})), t();
|
|
5410
5409
|
}), a && !s && p.observe(a), p.observe(e));
|
|
5411
5410
|
let d, x = s ? Eu(u) : null;
|
|
5412
|
-
s &&
|
|
5413
|
-
function
|
|
5414
|
-
const
|
|
5415
|
-
x && !
|
|
5411
|
+
s && _();
|
|
5412
|
+
function _() {
|
|
5413
|
+
const k = Eu(u);
|
|
5414
|
+
x && !Dt(x, k) && t(), x = k, d = requestAnimationFrame(_);
|
|
5416
5415
|
}
|
|
5417
5416
|
return t(), () => {
|
|
5418
|
-
var
|
|
5417
|
+
var k;
|
|
5419
5418
|
l.forEach((g) => {
|
|
5420
5419
|
r && g.removeEventListener("scroll", t), o && g.removeEventListener("resize", t);
|
|
5421
|
-
}), f == null || f(), (
|
|
5420
|
+
}), f == null || f(), (k = p) == null || k.disconnect(), p = null, s && cancelAnimationFrame(d);
|
|
5422
5421
|
};
|
|
5423
5422
|
}
|
|
5424
5423
|
const ns = zi, rs = Ai, os = (u, e, t) => {
|
|
@@ -5437,76 +5436,76 @@ const ns = zi, rs = Ai, os = (u, e, t) => {
|
|
|
5437
5436
|
function cs(u) {
|
|
5438
5437
|
return u != null && typeof u == "object" && "$el" in u;
|
|
5439
5438
|
}
|
|
5440
|
-
function
|
|
5439
|
+
function L0(u) {
|
|
5441
5440
|
if (cs(u)) {
|
|
5442
5441
|
const e = u.$el;
|
|
5443
|
-
return
|
|
5442
|
+
return t0(e) && Au(e) === "#comment" ? null : e;
|
|
5444
5443
|
}
|
|
5445
5444
|
return u;
|
|
5446
5445
|
}
|
|
5447
|
-
function
|
|
5448
|
-
return typeof u == "function" ? u() :
|
|
5446
|
+
function Pu(u) {
|
|
5447
|
+
return typeof u == "function" ? u() : w(u);
|
|
5449
5448
|
}
|
|
5450
|
-
function
|
|
5449
|
+
function Et(u) {
|
|
5451
5450
|
return typeof window > "u" ? 1 : (u.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
5452
5451
|
}
|
|
5453
|
-
function
|
|
5454
|
-
const t =
|
|
5452
|
+
function R0(u, e) {
|
|
5453
|
+
const t = Et(u);
|
|
5455
5454
|
return Math.round(e * t) / t;
|
|
5456
5455
|
}
|
|
5457
5456
|
function is(u, e, t) {
|
|
5458
5457
|
t === void 0 && (t = {});
|
|
5459
|
-
const n = t.whileElementsMounted, r =
|
|
5460
|
-
var
|
|
5461
|
-
return (
|
|
5462
|
-
}), o =
|
|
5463
|
-
var
|
|
5464
|
-
return (
|
|
5465
|
-
}), c =
|
|
5466
|
-
var
|
|
5467
|
-
return (
|
|
5468
|
-
}), s =
|
|
5469
|
-
var
|
|
5470
|
-
return (
|
|
5471
|
-
}), a =
|
|
5472
|
-
const
|
|
5458
|
+
const n = t.whileElementsMounted, r = E(() => {
|
|
5459
|
+
var m;
|
|
5460
|
+
return (m = Pu(t.open)) != null ? m : !0;
|
|
5461
|
+
}), o = E(() => Pu(t.middleware)), i = E(() => {
|
|
5462
|
+
var m;
|
|
5463
|
+
return (m = Pu(t.placement)) != null ? m : "bottom";
|
|
5464
|
+
}), c = E(() => {
|
|
5465
|
+
var m;
|
|
5466
|
+
return (m = Pu(t.strategy)) != null ? m : "absolute";
|
|
5467
|
+
}), s = E(() => {
|
|
5468
|
+
var m;
|
|
5469
|
+
return (m = Pu(t.transform)) != null ? m : !0;
|
|
5470
|
+
}), a = E(() => L0(u.value)), l = E(() => L0(e.value)), f = $(0), h = $(0), p = $(c.value), d = $(i.value), x = Mu({}), _ = $(!1), k = E(() => {
|
|
5471
|
+
const m = {
|
|
5473
5472
|
position: p.value,
|
|
5474
5473
|
left: "0",
|
|
5475
5474
|
top: "0"
|
|
5476
5475
|
};
|
|
5477
5476
|
if (!l.value)
|
|
5478
|
-
return
|
|
5479
|
-
const
|
|
5477
|
+
return m;
|
|
5478
|
+
const z = R0(l.value, f.value), F = R0(l.value, h.value);
|
|
5480
5479
|
return s.value ? {
|
|
5481
|
-
...
|
|
5482
|
-
transform: "translate(" +
|
|
5483
|
-
...
|
|
5480
|
+
...m,
|
|
5481
|
+
transform: "translate(" + z + "px, " + F + "px)",
|
|
5482
|
+
...Et(l.value) >= 1.5 && {
|
|
5484
5483
|
willChange: "transform"
|
|
5485
5484
|
}
|
|
5486
5485
|
} : {
|
|
5487
5486
|
position: p.value,
|
|
5488
|
-
left:
|
|
5489
|
-
top:
|
|
5487
|
+
left: z + "px",
|
|
5488
|
+
top: F + "px"
|
|
5490
5489
|
};
|
|
5491
5490
|
});
|
|
5492
5491
|
let g;
|
|
5493
5492
|
function y() {
|
|
5494
5493
|
if (a.value == null || l.value == null)
|
|
5495
5494
|
return;
|
|
5496
|
-
const
|
|
5495
|
+
const m = r.value;
|
|
5497
5496
|
os(a.value, l.value, {
|
|
5498
5497
|
middleware: o.value,
|
|
5499
5498
|
placement: i.value,
|
|
5500
5499
|
strategy: c.value
|
|
5501
|
-
}).then((
|
|
5502
|
-
f.value =
|
|
5500
|
+
}).then((z) => {
|
|
5501
|
+
f.value = z.x, h.value = z.y, p.value = z.strategy, d.value = z.placement, x.value = z.middlewareData, _.value = m !== !1;
|
|
5503
5502
|
});
|
|
5504
5503
|
}
|
|
5505
|
-
function
|
|
5504
|
+
function v() {
|
|
5506
5505
|
typeof g == "function" && (g(), g = void 0);
|
|
5507
5506
|
}
|
|
5508
|
-
function
|
|
5509
|
-
if (
|
|
5507
|
+
function b() {
|
|
5508
|
+
if (v(), n === void 0) {
|
|
5510
5509
|
y();
|
|
5511
5510
|
return;
|
|
5512
5511
|
}
|
|
@@ -5515,30 +5514,30 @@ function is(u, e, t) {
|
|
|
5515
5514
|
return;
|
|
5516
5515
|
}
|
|
5517
5516
|
}
|
|
5518
|
-
function
|
|
5519
|
-
r.value || (
|
|
5517
|
+
function C() {
|
|
5518
|
+
r.value || (_.value = !1);
|
|
5520
5519
|
}
|
|
5521
|
-
return
|
|
5520
|
+
return re([o, i, c, r], y, {
|
|
5522
5521
|
flush: "sync"
|
|
5523
|
-
}),
|
|
5522
|
+
}), re([a, l], b, {
|
|
5524
5523
|
flush: "sync"
|
|
5525
|
-
}),
|
|
5524
|
+
}), re(r, C, {
|
|
5526
5525
|
flush: "sync"
|
|
5527
|
-
}),
|
|
5528
|
-
x:
|
|
5529
|
-
y:
|
|
5530
|
-
strategy:
|
|
5531
|
-
placement:
|
|
5532
|
-
middlewareData:
|
|
5533
|
-
isPositioned:
|
|
5534
|
-
floatingStyles:
|
|
5526
|
+
}), St() && zt(v), {
|
|
5527
|
+
x: Fu(f),
|
|
5528
|
+
y: Fu(h),
|
|
5529
|
+
strategy: Fu(p),
|
|
5530
|
+
placement: Fu(d),
|
|
5531
|
+
middlewareData: Fu(x),
|
|
5532
|
+
isPositioned: Fu(_),
|
|
5533
|
+
floatingStyles: k,
|
|
5535
5534
|
update: y
|
|
5536
5535
|
};
|
|
5537
5536
|
}
|
|
5538
5537
|
const Ss = /* @__PURE__ */ R({
|
|
5539
5538
|
name: "sq-popover",
|
|
5540
5539
|
__name: "popover",
|
|
5541
|
-
props: /* @__PURE__ */
|
|
5540
|
+
props: /* @__PURE__ */ eu({
|
|
5542
5541
|
placement: { default: "top" },
|
|
5543
5542
|
offset: { default: 10 },
|
|
5544
5543
|
teleported: { type: Boolean, default: !0 },
|
|
@@ -5554,17 +5553,17 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5554
5553
|
}),
|
|
5555
5554
|
emits: ["update:visible"],
|
|
5556
5555
|
setup(u) {
|
|
5557
|
-
const { nextZIndex: e } =
|
|
5556
|
+
const { nextZIndex: e } = V0();
|
|
5558
5557
|
let t;
|
|
5559
|
-
const n = u, r = mu(u, "visible"), o =
|
|
5558
|
+
const n = u, r = mu(u, "visible"), o = $(0), i = Mu(null), c = Mu(null), { floatingStyles: s } = is(i, c, {
|
|
5560
5559
|
placement: n.placement,
|
|
5561
5560
|
whileElementsMounted: ts,
|
|
5562
5561
|
transform: !1,
|
|
5563
5562
|
middleware: [ns(n.offset), rs()]
|
|
5564
5563
|
});
|
|
5565
|
-
|
|
5564
|
+
re(r, (x) => {
|
|
5566
5565
|
x && (o.value = e());
|
|
5567
|
-
}),
|
|
5566
|
+
}), je(() => {
|
|
5568
5567
|
d(), document.removeEventListener("click", p);
|
|
5569
5568
|
});
|
|
5570
5569
|
function a() {
|
|
@@ -5589,9 +5588,9 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5589
5588
|
function d() {
|
|
5590
5589
|
t && (clearTimeout(t), t = void 0);
|
|
5591
5590
|
}
|
|
5592
|
-
return (x,
|
|
5591
|
+
return (x, _) => (D(), S(Nu, null, [
|
|
5593
5592
|
A("span", {
|
|
5594
|
-
class:
|
|
5593
|
+
class: O(["sq-popover-trigger", x.$attrs.class]),
|
|
5595
5594
|
style: au(x.$attrs.style),
|
|
5596
5595
|
ref_key: "triggerRef",
|
|
5597
5596
|
ref: i,
|
|
@@ -5601,25 +5600,25 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5601
5600
|
}, [
|
|
5602
5601
|
j(x.$slots, "reference")
|
|
5603
5602
|
], 38),
|
|
5604
|
-
(
|
|
5603
|
+
(D(), L(qt, {
|
|
5605
5604
|
to: "body",
|
|
5606
5605
|
disabled: !n.teleported
|
|
5607
5606
|
}, [
|
|
5608
|
-
|
|
5607
|
+
Gu(pe, {
|
|
5609
5608
|
name: n.transition
|
|
5610
5609
|
}, {
|
|
5611
|
-
default:
|
|
5612
|
-
|
|
5613
|
-
class:
|
|
5614
|
-
style: au({ ...
|
|
5610
|
+
default: uu(() => [
|
|
5611
|
+
Du(A("div", {
|
|
5612
|
+
class: O(["sq-popover", x.popoverClass]),
|
|
5613
|
+
style: au({ ...w(s), zIndex: o.value }),
|
|
5615
5614
|
ref_key: "popverRef",
|
|
5616
5615
|
ref: c,
|
|
5617
|
-
onClick:
|
|
5616
|
+
onClick: _[0] || (_[0] = Bt(() => {
|
|
5618
5617
|
}, ["stop"]))
|
|
5619
5618
|
}, [
|
|
5620
5619
|
j(x.$slots, "default")
|
|
5621
5620
|
], 6), [
|
|
5622
|
-
[
|
|
5621
|
+
[Wu, r.value]
|
|
5623
5622
|
])
|
|
5624
5623
|
]),
|
|
5625
5624
|
_: 3
|
|
@@ -5649,13 +5648,13 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5649
5648
|
label: { type: Boolean, default: !0 }
|
|
5650
5649
|
},
|
|
5651
5650
|
setup(u) {
|
|
5652
|
-
const e = new ResizeObserver(a), t = u, n =
|
|
5651
|
+
const e = new ResizeObserver(a), t = u, n = $(100), r = Mu(null), o = E(() => {
|
|
5653
5652
|
const l = [];
|
|
5654
5653
|
return t.color || l.push(`is-${t.type}`), t.theme !== "line" && l.push(`is-${t.theme}`), l;
|
|
5655
|
-
}), i =
|
|
5654
|
+
}), i = E(() => {
|
|
5656
5655
|
const l = t.max - t.min;
|
|
5657
5656
|
return (t.value - t.min) * 100 / l;
|
|
5658
|
-
}), c =
|
|
5657
|
+
}), c = E(() => `${Math.round(i.value * 10) / 10} %`), s = E(() => {
|
|
5659
5658
|
const l = {};
|
|
5660
5659
|
if (l["--progress-stroke"] = `${t.stroke}px`, t.theme === "line")
|
|
5661
5660
|
l["--progress-value"] = `${i.value}%`;
|
|
@@ -5671,19 +5670,19 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5671
5670
|
});
|
|
5672
5671
|
de(() => {
|
|
5673
5672
|
e.observe(r.value);
|
|
5674
|
-
}),
|
|
5673
|
+
}), je(() => {
|
|
5675
5674
|
e.disconnect();
|
|
5676
5675
|
});
|
|
5677
5676
|
function a() {
|
|
5678
5677
|
n.value = r.value.getBoundingClientRect().width;
|
|
5679
5678
|
}
|
|
5680
|
-
return (l, f) => (
|
|
5681
|
-
class:
|
|
5679
|
+
return (l, f) => (D(), S("div", {
|
|
5680
|
+
class: O(["sq-progress", o.value]),
|
|
5682
5681
|
ref_key: "progressRef",
|
|
5683
5682
|
ref: r,
|
|
5684
5683
|
style: au(s.value)
|
|
5685
5684
|
}, [
|
|
5686
|
-
t.theme === "circle" ? (
|
|
5685
|
+
t.theme === "circle" ? (D(), S("svg", ss, [...f[0] || (f[0] = [
|
|
5687
5686
|
A("circle", {
|
|
5688
5687
|
class: "sq-progress-track",
|
|
5689
5688
|
cx: "50",
|
|
@@ -5694,14 +5693,14 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5694
5693
|
cx: "50",
|
|
5695
5694
|
cy: "50"
|
|
5696
5695
|
}, null, -1)
|
|
5697
|
-
])])) :
|
|
5698
|
-
t.theme === "circle" && t.label ? (
|
|
5696
|
+
])])) : V("", !0),
|
|
5697
|
+
t.theme === "circle" && t.label ? (D(), S("div", as, [
|
|
5699
5698
|
j(l.$slots, "default", { percentage: i.value }, () => [
|
|
5700
5699
|
A("span", {
|
|
5701
5700
|
textContent: su(c.value)
|
|
5702
5701
|
}, null, 8, ls)
|
|
5703
5702
|
])
|
|
5704
|
-
])) :
|
|
5703
|
+
])) : V("", !0)
|
|
5705
5704
|
], 6));
|
|
5706
5705
|
}
|
|
5707
5706
|
}), zs = /* @__PURE__ */ R({
|
|
@@ -5714,15 +5713,15 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5714
5713
|
size: { default: "md" }
|
|
5715
5714
|
},
|
|
5716
5715
|
setup(u) {
|
|
5717
|
-
const e = u, t =
|
|
5716
|
+
const e = u, t = E(() => {
|
|
5718
5717
|
const r = [];
|
|
5719
5718
|
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;
|
|
5720
|
-
}), n =
|
|
5721
|
-
return (r, o) => (
|
|
5722
|
-
class:
|
|
5719
|
+
}), n = E(() => e.size === "lg" ? "md" : "sm");
|
|
5720
|
+
return (r, o) => (D(), L(w(Ku), {
|
|
5721
|
+
class: O(["sq-tag", t.value]),
|
|
5723
5722
|
size: n.value
|
|
5724
5723
|
}, {
|
|
5725
|
-
default:
|
|
5724
|
+
default: uu(() => [
|
|
5726
5725
|
j(r.$slots, "default")
|
|
5727
5726
|
]),
|
|
5728
5727
|
_: 3
|
|
@@ -5740,22 +5739,22 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5740
5739
|
},
|
|
5741
5740
|
emits: ["change"],
|
|
5742
5741
|
setup(u, { emit: e }) {
|
|
5743
|
-
const t = e, n = u, r =
|
|
5742
|
+
const t = e, n = u, r = E(() => {
|
|
5744
5743
|
const i = [];
|
|
5745
5744
|
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;
|
|
5746
|
-
}), o =
|
|
5747
|
-
return (i, c) => (
|
|
5748
|
-
class:
|
|
5745
|
+
}), o = E(() => n.size === "lg" ? "md" : "sm");
|
|
5746
|
+
return (i, c) => (D(), L(w(Ku), {
|
|
5747
|
+
class: O(["sq-check-tag", r.value]),
|
|
5749
5748
|
size: o.value,
|
|
5750
5749
|
onClick: c[0] || (c[0] = (s) => t("change", !n.checked))
|
|
5751
5750
|
}, {
|
|
5752
|
-
default:
|
|
5751
|
+
default: uu(() => [
|
|
5753
5752
|
j(i.$slots, "default")
|
|
5754
5753
|
]),
|
|
5755
5754
|
_: 3
|
|
5756
5755
|
}, 8, ["class", "size"]));
|
|
5757
5756
|
}
|
|
5758
|
-
}),
|
|
5757
|
+
}), Ku = /* @__PURE__ */ R({
|
|
5759
5758
|
name: "sq-text",
|
|
5760
5759
|
__name: "text",
|
|
5761
5760
|
props: {
|
|
@@ -5764,14 +5763,14 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5764
5763
|
size: { default: "md" }
|
|
5765
5764
|
},
|
|
5766
5765
|
setup(u) {
|
|
5767
|
-
const e = u, t =
|
|
5766
|
+
const e = u, t = E(() => {
|
|
5768
5767
|
const r = [];
|
|
5769
5768
|
return e.size !== "md" && r.push(`sq-text--${e.size}`), e.ellipsis && r.push(e.rowNum > 1 ? "multi-line" : "single-line"), r;
|
|
5770
|
-
}), n =
|
|
5769
|
+
}), n = E(
|
|
5771
5770
|
() => e.ellipsis ? `--row-num: ${e.rowNum}` : ""
|
|
5772
5771
|
);
|
|
5773
|
-
return (r, o) => (
|
|
5774
|
-
class:
|
|
5772
|
+
return (r, o) => (D(), S("span", {
|
|
5773
|
+
class: O(["sq-text", t.value]),
|
|
5775
5774
|
style: au(n.value)
|
|
5776
5775
|
}, [
|
|
5777
5776
|
j(r.$slots, "default")
|
|
@@ -5780,7 +5779,7 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5780
5779
|
}), ds = ["id", "rows", "cols", "disabled", "readonly", "placeholder", "maxlength", "minlength", "autocomplete", "name", "autofocus", "form", "inputmode"], ps = /* @__PURE__ */ R({
|
|
5781
5780
|
name: "sq-textarea",
|
|
5782
5781
|
__name: "textarea",
|
|
5783
|
-
props: /* @__PURE__ */
|
|
5782
|
+
props: /* @__PURE__ */ eu({
|
|
5784
5783
|
resize: { default: "both" },
|
|
5785
5784
|
rows: { default: 2 },
|
|
5786
5785
|
cols: { default: 30 },
|
|
@@ -5794,6 +5793,7 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5794
5793
|
autocomplete: { default: "off" },
|
|
5795
5794
|
name: {},
|
|
5796
5795
|
form: {},
|
|
5796
|
+
loading: { type: Boolean },
|
|
5797
5797
|
inputmode: {},
|
|
5798
5798
|
autofocus: { type: Boolean },
|
|
5799
5799
|
type: {},
|
|
@@ -5802,32 +5802,32 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5802
5802
|
value: { default: "" },
|
|
5803
5803
|
valueModifiers: {}
|
|
5804
5804
|
}),
|
|
5805
|
-
emits: /* @__PURE__ */
|
|
5805
|
+
emits: /* @__PURE__ */ eu(["focus", "blur", "input", "change"], ["update:value"]),
|
|
5806
5806
|
setup(u, { expose: e, emit: t }) {
|
|
5807
|
-
const n = t, r = u, { textareaSize: o, textareaRound: i, textareaDisabled: c, textareaReadonly: s, id: a } = Oc(r), l = mu(u, "value"), f =
|
|
5808
|
-
const
|
|
5809
|
-
return
|
|
5810
|
-
}), p =
|
|
5807
|
+
const n = t, r = u, { textareaSize: o, textareaRound: i, textareaDisabled: c, textareaReadonly: s, id: a } = Oc(r), l = mu(u, "value"), f = Mu(null), h = E(() => {
|
|
5808
|
+
const _ = [], k = w(o), g = w(i), y = w(c);
|
|
5809
|
+
return k !== "md" && _.push(`sq-textarea--${k}`), r.status && _.push(`is-${r.status}`), g && _.push("is-round"), y && _.push("is-disabled"), _;
|
|
5810
|
+
}), p = E(() => w(c) || w(s) ? "none" : r.resize);
|
|
5811
5811
|
function d() {
|
|
5812
|
-
var
|
|
5813
|
-
(
|
|
5812
|
+
var _;
|
|
5813
|
+
(_ = f.value) == null || _.focus();
|
|
5814
5814
|
}
|
|
5815
5815
|
function x() {
|
|
5816
|
-
var
|
|
5817
|
-
(
|
|
5816
|
+
var _;
|
|
5817
|
+
(_ = f.value) == null || _.blur();
|
|
5818
5818
|
}
|
|
5819
|
-
return e({ focus: d, blur: x }), (
|
|
5820
|
-
class:
|
|
5819
|
+
return e({ focus: d, blur: x }), (_, k) => (D(), S("div", {
|
|
5820
|
+
class: O(["sq-textarea", h.value])
|
|
5821
5821
|
}, [
|
|
5822
|
-
|
|
5823
|
-
"onUpdate:modelValue":
|
|
5822
|
+
Du(A("textarea", {
|
|
5823
|
+
"onUpdate:modelValue": k[0] || (k[0] = (g) => l.value = g),
|
|
5824
5824
|
class: "sq-textarea-inner",
|
|
5825
|
-
id:
|
|
5825
|
+
id: w(a),
|
|
5826
5826
|
style: au({ resize: p.value }),
|
|
5827
5827
|
rows: r.rows,
|
|
5828
5828
|
cols: r.cols,
|
|
5829
|
-
disabled:
|
|
5830
|
-
readonly:
|
|
5829
|
+
disabled: w(c),
|
|
5830
|
+
readonly: w(s),
|
|
5831
5831
|
placeholder: r.placeholder,
|
|
5832
5832
|
maxlength: r.maxlength,
|
|
5833
5833
|
minlength: r.minlength,
|
|
@@ -5838,12 +5838,12 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5838
5838
|
inputmode: r.inputmode,
|
|
5839
5839
|
ref_key: "textareaRef",
|
|
5840
5840
|
ref: f,
|
|
5841
|
-
onFocus:
|
|
5842
|
-
onBlur:
|
|
5843
|
-
onInput:
|
|
5844
|
-
onChange:
|
|
5841
|
+
onFocus: k[1] || (k[1] = (g) => n("focus", g)),
|
|
5842
|
+
onBlur: k[2] || (k[2] = (g) => n("blur", g)),
|
|
5843
|
+
onInput: k[3] || (k[3] = (g) => n("input", g)),
|
|
5844
|
+
onChange: k[4] || (k[4] = (g) => n("change", g))
|
|
5845
5845
|
}, null, 44, ds), [
|
|
5846
|
-
[
|
|
5846
|
+
[Tt, l.value]
|
|
5847
5847
|
])
|
|
5848
5848
|
], 2));
|
|
5849
5849
|
}
|
|
@@ -5854,12 +5854,12 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5854
5854
|
align: { default: "left" }
|
|
5855
5855
|
},
|
|
5856
5856
|
setup(u) {
|
|
5857
|
-
const e = u, t =
|
|
5857
|
+
const e = u, t = E(() => {
|
|
5858
5858
|
const n = [];
|
|
5859
5859
|
return n.push(`align-${e.align}`), n;
|
|
5860
5860
|
});
|
|
5861
|
-
return (n, r) => (
|
|
5862
|
-
class:
|
|
5861
|
+
return (n, r) => (D(), S("div", {
|
|
5862
|
+
class: O(["sq-timeline", t.value])
|
|
5863
5863
|
}, [
|
|
5864
5864
|
j(n.$slots, "default")
|
|
5865
5865
|
], 2));
|
|
@@ -5877,31 +5877,31 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5877
5877
|
title: {}
|
|
5878
5878
|
},
|
|
5879
5879
|
setup(u) {
|
|
5880
|
-
const e = u, t =
|
|
5880
|
+
const e = u, t = E(() => {
|
|
5881
5881
|
const r = [];
|
|
5882
5882
|
return e.theme !== "card" && r.push(`is-${e.theme}`), e.type && r.push(`is-${e.type}`), e.hollow && r.push("is-hollow"), r;
|
|
5883
|
-
}), n =
|
|
5883
|
+
}), n = E(() => {
|
|
5884
5884
|
const r = {};
|
|
5885
5885
|
return e.color && (r["--timeline-dot-color"] = e.color), r;
|
|
5886
5886
|
});
|
|
5887
|
-
return (r, o) => (
|
|
5888
|
-
class:
|
|
5887
|
+
return (r, o) => (D(), S("div", {
|
|
5888
|
+
class: O(["sq-timeline-item", t.value]),
|
|
5889
5889
|
style: au(n.value)
|
|
5890
5890
|
}, [
|
|
5891
5891
|
A("span", hs, [
|
|
5892
|
-
e.icon ? (
|
|
5892
|
+
e.icon ? (D(), L(bu(e.icon), { key: 0 })) : V("", !0)
|
|
5893
5893
|
]),
|
|
5894
5894
|
A("div", bs, [
|
|
5895
|
-
e.title ? (
|
|
5895
|
+
e.title ? (D(), S("h2", {
|
|
5896
5896
|
key: 0,
|
|
5897
5897
|
class: "content-title",
|
|
5898
5898
|
textContent: su(e.title)
|
|
5899
|
-
}, null, 8, ms)) :
|
|
5900
|
-
e.timestamp ? (
|
|
5899
|
+
}, null, 8, ms)) : V("", !0),
|
|
5900
|
+
e.timestamp ? (D(), S("span", {
|
|
5901
5901
|
key: 1,
|
|
5902
5902
|
class: "content-time",
|
|
5903
5903
|
textContent: su(e.timestamp)
|
|
5904
|
-
}, null, 8, xs)) :
|
|
5904
|
+
}, null, 8, xs)) : V("", !0),
|
|
5905
5905
|
A("div", gs, [
|
|
5906
5906
|
j(r.$slots, "default")
|
|
5907
5907
|
])
|
|
@@ -5910,9 +5910,9 @@ const Ss = /* @__PURE__ */ R({
|
|
|
5910
5910
|
}
|
|
5911
5911
|
});
|
|
5912
5912
|
export {
|
|
5913
|
-
|
|
5913
|
+
mt as ButtonGroupContextKeys,
|
|
5914
5914
|
ge as FormContextKeys,
|
|
5915
|
-
|
|
5915
|
+
u0 as FormItemIdKeys,
|
|
5916
5916
|
ks as SqAlert,
|
|
5917
5917
|
ys as SqArticle,
|
|
5918
5918
|
vs as SqAvatar,
|
|
@@ -5928,7 +5928,7 @@ export {
|
|
|
5928
5928
|
Ss as SqPopover,
|
|
5929
5929
|
fs as SqProgress,
|
|
5930
5930
|
zs as SqTag,
|
|
5931
|
-
|
|
5931
|
+
Ku as SqText,
|
|
5932
5932
|
ps as SqTextarea,
|
|
5933
5933
|
Bs as SqTimeline,
|
|
5934
5934
|
Ts as SqTimelineItem
|