@oiij/naive-ui 0.0.54 → 0.0.55
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/preset-form/index.d.ts +5 -3
- package/dist/components.cjs +8 -8
- package/dist/components.js +989 -977
- package/dist/components.umd.cjs +9 -9
- package/package.json +3 -3
package/dist/components.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { inject as
|
|
2
|
-
import { NEl as un, NAvatar as
|
|
3
|
-
import { createEventHook as Ve, useClipboard as
|
|
4
|
-
function
|
|
1
|
+
import { inject as Tr, onBeforeMount as Mo, defineComponent as de, createBlock as Z, openBlock as U, Transition as Lo, mergeProps as te, unref as w, withCtx as M, renderSlot as I, ref as G, toValue as q, isRef as Vt, isReactive as No, watchEffect as De, watch as ze, computed as ne, nextTick as Pr, normalizeClass as Su, createElementVNode as Ue, normalizeStyle as Kt, createVNode as V, createCommentVNode as Ee, resolveDynamicComponent as ot, Teleport as $o, normalizeProps as X, guardReactiveProps as Q, createSlots as Rr, onMounted as Io, createElementBlock as Oe, createTextVNode as Mu, toDisplayString as eu, onScopeDispose as en, onUnmounted as Bo, reactive as Ze, toRefs as zo, useTemplateRef as ft, Fragment as wu, toRaw as xe, h as Je, renderList as Nn, withModifiers as Uo, mergeModels as qo, useModel as jo } from "vue";
|
|
2
|
+
import { NEl as un, NAvatar as Ho, NFlex as Cu, NSpin as Or, cM as $n, NConfigProvider as Go, NLoadingBarProvider as Vo, NDialogProvider as Wo, NModalProvider as Zo, NNotificationProvider as Yo, NMessageProvider as Xo, NGlobalStyle as Qo, useDialog as Jo, useLoadingBar as Ko, useMessage as ei, useModal as ui, useNotification as ti, NTooltip as tn, NButton as uu, NInputGroup as ni, NInput as nn, NDataTable as ri, NPagination as Mr, NTimePicker as oi, NSwitch as ii, NSlider as ai, NSelect as Lr, NRate as li, NRadioGroup as ci, NInputNumber as si, NDynamicTags as fi, NDatePicker as di, NDivider as Nr, NCheckboxGroup as pi, NColorPicker as hi, NCheckbox as bi, NRadio as mi, NForm as gi, NGrid as In, NGi as Bn, NFormItem as zn, NCollapseTransition as ki, NBadge as xi, NButtonGroup as _i, NModal as vi } from "naive-ui";
|
|
3
|
+
import { createEventHook as Ve, useClipboard as yi, useTimeoutFn as Ei, useDebounceFn as $r } from "@vueuse/core";
|
|
4
|
+
function Ai(e) {
|
|
5
5
|
let u = ".", t = "__", n = "--", r;
|
|
6
6
|
if (e) {
|
|
7
7
|
let p = e.blockPrefix;
|
|
@@ -78,17 +78,17 @@ function Ei(e) {
|
|
|
78
78
|
cNotM: ((...p) => r(c(p[0]), p[1], p[2]))
|
|
79
79
|
}), o;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function wi(e) {
|
|
82
82
|
let u = 0;
|
|
83
83
|
for (let t = 0; t < e.length; ++t)
|
|
84
84
|
e[t] === "&" && ++u;
|
|
85
85
|
return u;
|
|
86
86
|
}
|
|
87
|
-
const
|
|
88
|
-
function
|
|
87
|
+
const Ir = /\s*,(?![^(]*\))\s*/g, Ci = /\s+/g;
|
|
88
|
+
function Di(e, u) {
|
|
89
89
|
const t = [];
|
|
90
|
-
return u.split(
|
|
91
|
-
let r =
|
|
90
|
+
return u.split(Ir).forEach((n) => {
|
|
91
|
+
let r = wi(n);
|
|
92
92
|
if (r) {
|
|
93
93
|
if (r === 1) {
|
|
94
94
|
e.forEach((a) => {
|
|
@@ -119,22 +119,22 @@ function Ci(e, u) {
|
|
|
119
119
|
o.forEach((a) => t.push(a));
|
|
120
120
|
}), t;
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function Fi(e, u) {
|
|
123
123
|
const t = [];
|
|
124
|
-
return u.split(
|
|
124
|
+
return u.split(Ir).forEach((n) => {
|
|
125
125
|
e.forEach((r) => {
|
|
126
126
|
t.push((r && r + " ") + n);
|
|
127
127
|
});
|
|
128
128
|
}), t;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function Si(e) {
|
|
131
131
|
let u = [""];
|
|
132
132
|
return e.forEach((t) => {
|
|
133
133
|
t = t && t.trim(), // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions
|
|
134
|
-
t && (t.includes("&") ? u =
|
|
135
|
-
}), u.join(", ").replace(
|
|
134
|
+
t && (t.includes("&") ? u = Di(u, t) : u = Fi(u, t));
|
|
135
|
+
}), u.join(", ").replace(Ci, " ");
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Un(e) {
|
|
138
138
|
if (!e)
|
|
139
139
|
return;
|
|
140
140
|
const u = e.parentElement;
|
|
@@ -143,33 +143,33 @@ function zn(e) {
|
|
|
143
143
|
function rn(e, u) {
|
|
144
144
|
return (u ?? document.head).querySelector(`style[cssr-id="${e}"]`);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function Ti(e) {
|
|
147
147
|
const u = document.createElement("style");
|
|
148
148
|
return u.setAttribute("cssr-id", e), u;
|
|
149
149
|
}
|
|
150
150
|
function Gu(e) {
|
|
151
151
|
return e ? /^\s*@(s|m)/.test(e) : !1;
|
|
152
152
|
}
|
|
153
|
-
const
|
|
154
|
-
function
|
|
155
|
-
return e.replace(
|
|
153
|
+
const Pi = /[A-Z]/g;
|
|
154
|
+
function Br(e) {
|
|
155
|
+
return e.replace(Pi, (u) => "-" + u.toLowerCase());
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function Ri(e, u = " ") {
|
|
158
158
|
return typeof e == "object" && e !== null ? ` {
|
|
159
|
-
` + Object.entries(e).map((t) => u + ` ${
|
|
159
|
+
` + Object.entries(e).map((t) => u + ` ${Br(t[0])}: ${t[1]};`).join(`
|
|
160
160
|
`) + `
|
|
161
161
|
` + u + "}" : `: ${e};`;
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function Oi(e, u, t) {
|
|
164
164
|
return typeof e == "function" ? e({
|
|
165
165
|
context: u.context,
|
|
166
166
|
props: t
|
|
167
167
|
}) : e;
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function qn(e, u, t, n) {
|
|
170
170
|
if (!u)
|
|
171
171
|
return "";
|
|
172
|
-
const r =
|
|
172
|
+
const r = Oi(u, t, n);
|
|
173
173
|
if (!r)
|
|
174
174
|
return "";
|
|
175
175
|
if (typeof r == "string")
|
|
@@ -191,7 +191,7 @@ ${r}
|
|
|
191
191
|
`);
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
194
|
-
i =
|
|
194
|
+
i = Br(i), l != null && a.push(` ${i}${Ri(l)}`);
|
|
195
195
|
}), e && a.push("}"), a.join(`
|
|
196
196
|
`);
|
|
197
197
|
}
|
|
@@ -205,7 +205,7 @@ function Wt(e, u, t) {
|
|
|
205
205
|
} else n && t(n);
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function zr(e, u, t, n, r) {
|
|
209
209
|
const o = e.$;
|
|
210
210
|
let a = "";
|
|
211
211
|
if (!o || typeof o == "string")
|
|
@@ -225,25 +225,25 @@ function Br(e, u, t, n, r) {
|
|
|
225
225
|
});
|
|
226
226
|
Gu(c) ? a = c : u.push(c);
|
|
227
227
|
}
|
|
228
|
-
const i =
|
|
228
|
+
const i = Si(u), l = qn(i, e.props, n, r);
|
|
229
229
|
a ? t.push(`${a} {`) : l.length && t.push(l), e.children && Wt(e.children, {
|
|
230
230
|
context: n.context,
|
|
231
231
|
props: r
|
|
232
232
|
}, (c) => {
|
|
233
233
|
if (typeof c == "string") {
|
|
234
|
-
const s =
|
|
234
|
+
const s = qn(i, { raw: c }, n, r);
|
|
235
235
|
t.push(s);
|
|
236
236
|
} else
|
|
237
|
-
|
|
237
|
+
zr(c, u, t, n, r);
|
|
238
238
|
}), u.pop(), a && t.push("}"), o && o.after && o.after(n.context);
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Mi(e, u, t) {
|
|
241
241
|
const n = [];
|
|
242
|
-
return
|
|
242
|
+
return zr(e, [], n, u, t), n.join(`
|
|
243
243
|
|
|
244
244
|
`);
|
|
245
245
|
}
|
|
246
|
-
function
|
|
246
|
+
function Li(e) {
|
|
247
247
|
for (var u = 0, t, n = 0, r = e.length; r >= 4; ++n, r -= 4)
|
|
248
248
|
t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
|
|
249
249
|
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
|
|
@@ -263,21 +263,21 @@ function Mi(e) {
|
|
|
263
263
|
(u & 65535) * 1540483477 + ((u >>> 16) * 59797 << 16), ((u ^ u >>> 15) >>> 0).toString(36);
|
|
264
264
|
}
|
|
265
265
|
typeof window < "u" && (window.__cssrContext = {});
|
|
266
|
-
function
|
|
266
|
+
function Ni(e, u, t, n) {
|
|
267
267
|
const { els: r } = u;
|
|
268
268
|
if (t === void 0)
|
|
269
|
-
r.forEach(
|
|
269
|
+
r.forEach(Un), u.els = [];
|
|
270
270
|
else {
|
|
271
271
|
const o = rn(t, n);
|
|
272
|
-
o && r.includes(o) && (
|
|
272
|
+
o && r.includes(o) && (Un(o), u.els = r.filter((a) => a !== o));
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function jn(e, u) {
|
|
276
276
|
e.push(u);
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function $i(e, u, t, n, r, o, a, i, l) {
|
|
279
279
|
let c;
|
|
280
|
-
if (t === void 0 && (c = u.render(n), t =
|
|
280
|
+
if (t === void 0 && (c = u.render(n), t = Li(c)), l) {
|
|
281
281
|
l.adapter(t, c ?? u.render(n));
|
|
282
282
|
return;
|
|
283
283
|
}
|
|
@@ -285,26 +285,26 @@ function Ni(e, u, t, n, r, o, a, i, l) {
|
|
|
285
285
|
const s = rn(t, i);
|
|
286
286
|
if (s !== null && !o)
|
|
287
287
|
return s;
|
|
288
|
-
const d = s ??
|
|
288
|
+
const d = s ?? Ti(t);
|
|
289
289
|
if (c === void 0 && (c = u.render(n)), d.textContent = c, s !== null)
|
|
290
290
|
return s;
|
|
291
291
|
if (a) {
|
|
292
292
|
const _ = i.querySelector(`meta[name="${a}"]`);
|
|
293
293
|
if (_)
|
|
294
|
-
return i.insertBefore(d, _),
|
|
294
|
+
return i.insertBefore(d, _), jn(u.els, d), d;
|
|
295
295
|
}
|
|
296
|
-
return r ? i.insertBefore(d, i.querySelector("style, link")) : i.appendChild(d),
|
|
296
|
+
return r ? i.insertBefore(d, i.querySelector("style, link")) : i.appendChild(d), jn(u.els, d), d;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
299
|
-
return
|
|
298
|
+
function Ii(e) {
|
|
299
|
+
return Mi(this, this.instance, e);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Bi(e = {}) {
|
|
302
302
|
const { id: u, ssr: t, props: n, head: r = !1, force: o = !1, anchorMetaName: a, parent: i } = e;
|
|
303
|
-
return
|
|
303
|
+
return $i(this.instance, this, u, n, r, o, a, i, t);
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function zi(e = {}) {
|
|
306
306
|
const { id: u, parent: t } = e;
|
|
307
|
-
|
|
307
|
+
Ni(this.instance, this, u, t);
|
|
308
308
|
}
|
|
309
309
|
const Vu = function(e, u, t, n) {
|
|
310
310
|
return {
|
|
@@ -313,16 +313,16 @@ const Vu = function(e, u, t, n) {
|
|
|
313
313
|
props: t,
|
|
314
314
|
children: n,
|
|
315
315
|
els: [],
|
|
316
|
-
render:
|
|
317
|
-
mount:
|
|
318
|
-
unmount:
|
|
316
|
+
render: Ii,
|
|
317
|
+
mount: Bi,
|
|
318
|
+
unmount: zi
|
|
319
319
|
};
|
|
320
|
-
},
|
|
320
|
+
}, Ui = function(e, u, t, n) {
|
|
321
321
|
return Array.isArray(u) ? Vu(e, { $: null }, null, u) : Array.isArray(t) ? Vu(e, u, null, t) : Array.isArray(n) ? Vu(e, u, t, n) : Vu(e, u, t, null);
|
|
322
322
|
};
|
|
323
|
-
function
|
|
323
|
+
function qi(e = {}) {
|
|
324
324
|
const u = {
|
|
325
|
-
c: ((...t) =>
|
|
325
|
+
c: ((...t) => Ui(u, ...t)),
|
|
326
326
|
use: (t, ...n) => t.install(u, ...n),
|
|
327
327
|
find: rn,
|
|
328
328
|
context: {},
|
|
@@ -330,8 +330,8 @@ function Ui(e = {}) {
|
|
|
330
330
|
};
|
|
331
331
|
return u;
|
|
332
332
|
}
|
|
333
|
-
function
|
|
334
|
-
const { namespace: u = "n", blockPrefix: t = `.${u}-`, elementPrefix: n = "__", modifierPrefix: r = "--" } = e ?? {}, o =
|
|
333
|
+
function ji(e) {
|
|
334
|
+
const { namespace: u = "n", blockPrefix: t = `.${u}-`, elementPrefix: n = "__", modifierPrefix: r = "--" } = e ?? {}, o = qi(), a = Ai({
|
|
335
335
|
blockPrefix: t,
|
|
336
336
|
elementPrefix: n,
|
|
337
337
|
modifierPrefix: r
|
|
@@ -345,29 +345,29 @@ function qi(e) {
|
|
|
345
345
|
plugin: a
|
|
346
346
|
};
|
|
347
347
|
}
|
|
348
|
-
const
|
|
349
|
-
function
|
|
348
|
+
const Hi = "@css-render/vue3-ssr";
|
|
349
|
+
function Gi(e, u) {
|
|
350
350
|
return `<style cssr-id="${e}">
|
|
351
351
|
${u}
|
|
352
352
|
</style>`;
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function Vi(e, u, t) {
|
|
355
355
|
const { styles: n, ids: r } = t;
|
|
356
|
-
r.has(e) || n !== null && (r.add(e), n.push(
|
|
356
|
+
r.has(e) || n !== null && (r.add(e), n.push(Gi(e, u)));
|
|
357
357
|
}
|
|
358
|
-
const
|
|
359
|
-
function
|
|
360
|
-
if (
|
|
358
|
+
const Wi = typeof document < "u";
|
|
359
|
+
function Zi() {
|
|
360
|
+
if (Wi)
|
|
361
361
|
return;
|
|
362
|
-
const e =
|
|
362
|
+
const e = Tr(Hi, null);
|
|
363
363
|
if (e !== null)
|
|
364
364
|
return {
|
|
365
|
-
adapter: (u, t) =>
|
|
365
|
+
adapter: (u, t) => Vi(u, t, e),
|
|
366
366
|
context: e
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
369
|
function dt(e, u) {
|
|
370
|
-
const t =
|
|
370
|
+
const t = Zi();
|
|
371
371
|
function n() {
|
|
372
372
|
u.mount({
|
|
373
373
|
id: e,
|
|
@@ -375,12 +375,12 @@ function dt(e, u) {
|
|
|
375
375
|
ssr: t
|
|
376
376
|
});
|
|
377
377
|
}
|
|
378
|
-
t ? n() :
|
|
378
|
+
t ? n() : Mo(() => {
|
|
379
379
|
n();
|
|
380
380
|
});
|
|
381
381
|
}
|
|
382
|
-
const { cssr: pt, plugin: ht, namespace: Lu } =
|
|
383
|
-
function
|
|
382
|
+
const { cssr: pt, plugin: ht, namespace: Lu } = ji(), { c: Yi } = pt, { cB: Wu } = ht, Xi = `${Lu}-transition`;
|
|
383
|
+
function Qi({
|
|
384
384
|
name: e = "fade",
|
|
385
385
|
enterDuration: u = ".3s",
|
|
386
386
|
leaveDuration: t = ".3s",
|
|
@@ -402,19 +402,19 @@ function Xi({
|
|
|
402
402
|
})
|
|
403
403
|
];
|
|
404
404
|
}
|
|
405
|
-
function
|
|
406
|
-
return
|
|
407
|
-
|
|
405
|
+
function Ji() {
|
|
406
|
+
return Yi([
|
|
407
|
+
Qi()
|
|
408
408
|
]);
|
|
409
409
|
}
|
|
410
|
-
const
|
|
410
|
+
const Ur = /* @__PURE__ */ de({
|
|
411
411
|
__name: "BaseTransition",
|
|
412
412
|
props: {
|
|
413
413
|
name: { default: "fade" },
|
|
414
414
|
transitionProps: {}
|
|
415
415
|
},
|
|
416
416
|
setup(e) {
|
|
417
|
-
return dt(
|
|
417
|
+
return dt(Xi, Ji()), (u, t) => (U(), Z(Lo, te({
|
|
418
418
|
name: `${w(Lu)}-${u.name}`,
|
|
419
419
|
appear: "",
|
|
420
420
|
mode: "out-in"
|
|
@@ -428,21 +428,21 @@ const zr = /* @__PURE__ */ de({
|
|
|
428
428
|
});
|
|
429
429
|
/*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
|
|
430
430
|
const {
|
|
431
|
-
entries:
|
|
432
|
-
setPrototypeOf:
|
|
433
|
-
isFrozen:
|
|
434
|
-
getPrototypeOf:
|
|
435
|
-
getOwnPropertyDescriptor:
|
|
431
|
+
entries: qr,
|
|
432
|
+
setPrototypeOf: Hn,
|
|
433
|
+
isFrozen: Ki,
|
|
434
|
+
getPrototypeOf: ea,
|
|
435
|
+
getOwnPropertyDescriptor: ua
|
|
436
436
|
} = Object;
|
|
437
437
|
let {
|
|
438
|
-
freeze:
|
|
438
|
+
freeze: be,
|
|
439
439
|
seal: Ae,
|
|
440
|
-
create:
|
|
440
|
+
create: jr
|
|
441
441
|
} = Object, {
|
|
442
442
|
apply: Zt,
|
|
443
443
|
construct: Yt
|
|
444
444
|
} = typeof Reflect < "u" && Reflect;
|
|
445
|
-
|
|
445
|
+
be || (be = function(u) {
|
|
446
446
|
return u;
|
|
447
447
|
});
|
|
448
448
|
Ae || (Ae = function(u) {
|
|
@@ -454,8 +454,8 @@ Zt || (Zt = function(u, t, n) {
|
|
|
454
454
|
Yt || (Yt = function(u, t) {
|
|
455
455
|
return new u(...t);
|
|
456
456
|
});
|
|
457
|
-
const Zu =
|
|
458
|
-
function
|
|
457
|
+
const Zu = me(Array.prototype.forEach), ta = me(Array.prototype.lastIndexOf), Gn = me(Array.prototype.pop), xu = me(Array.prototype.push), na = me(Array.prototype.splice), ut = me(String.prototype.toLowerCase), Ft = me(String.prototype.toString), Vn = me(String.prototype.match), _u = me(String.prototype.replace), ra = me(String.prototype.indexOf), oa = me(String.prototype.trim), Ce = me(Object.prototype.hasOwnProperty), he = me(RegExp.prototype.test), vu = ia(TypeError);
|
|
458
|
+
function me(e) {
|
|
459
459
|
return function(u) {
|
|
460
460
|
u instanceof RegExp && (u.lastIndex = 0);
|
|
461
461
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
|
|
@@ -463,7 +463,7 @@ function be(e) {
|
|
|
463
463
|
return Zt(e, u, n);
|
|
464
464
|
};
|
|
465
465
|
}
|
|
466
|
-
function
|
|
466
|
+
function ia(e) {
|
|
467
467
|
return function() {
|
|
468
468
|
for (var u = arguments.length, t = new Array(u), n = 0; n < u; n++)
|
|
469
469
|
t[n] = arguments[n];
|
|
@@ -472,64 +472,64 @@ function oa(e) {
|
|
|
472
472
|
}
|
|
473
473
|
function H(e, u) {
|
|
474
474
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ut;
|
|
475
|
-
|
|
475
|
+
Hn && Hn(e, null);
|
|
476
476
|
let n = u.length;
|
|
477
477
|
for (; n--; ) {
|
|
478
478
|
let r = u[n];
|
|
479
479
|
if (typeof r == "string") {
|
|
480
480
|
const o = t(r);
|
|
481
|
-
o !== r && (
|
|
481
|
+
o !== r && (Ki(u) || (u[n] = o), r = o);
|
|
482
482
|
}
|
|
483
483
|
e[r] = !0;
|
|
484
484
|
}
|
|
485
485
|
return e;
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function aa(e) {
|
|
488
488
|
for (let u = 0; u < e.length; u++)
|
|
489
489
|
Ce(e, u) || (e[u] = null);
|
|
490
490
|
return e;
|
|
491
491
|
}
|
|
492
492
|
function Be(e) {
|
|
493
|
-
const u =
|
|
494
|
-
for (const [t, n] of
|
|
495
|
-
Ce(e, t) && (Array.isArray(n) ? u[t] =
|
|
493
|
+
const u = jr(null);
|
|
494
|
+
for (const [t, n] of qr(e))
|
|
495
|
+
Ce(e, t) && (Array.isArray(n) ? u[t] = aa(n) : n && typeof n == "object" && n.constructor === Object ? u[t] = Be(n) : u[t] = n);
|
|
496
496
|
return u;
|
|
497
497
|
}
|
|
498
498
|
function yu(e, u) {
|
|
499
499
|
for (; e !== null; ) {
|
|
500
|
-
const n =
|
|
500
|
+
const n = ua(e, u);
|
|
501
501
|
if (n) {
|
|
502
502
|
if (n.get)
|
|
503
|
-
return
|
|
503
|
+
return me(n.get);
|
|
504
504
|
if (typeof n.value == "function")
|
|
505
|
-
return
|
|
505
|
+
return me(n.value);
|
|
506
506
|
}
|
|
507
|
-
e =
|
|
507
|
+
e = ea(e);
|
|
508
508
|
}
|
|
509
509
|
function t() {
|
|
510
510
|
return null;
|
|
511
511
|
}
|
|
512
512
|
return t;
|
|
513
513
|
}
|
|
514
|
-
const
|
|
514
|
+
const Wn = be(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), St = be(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), Tt = be(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), la = be(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Pt = be(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), ca = be(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Zn = be(["#text"]), Yn = be(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), Rt = be(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Xn = be(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Yu = be(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), sa = Ae(/\{\{[\w\W]*|[\w\W]*\}\}/gm), fa = Ae(/<%[\w\W]*|[\w\W]*%>/gm), da = Ae(/\$\{[\w\W]*/gm), pa = Ae(/^data-[\-\w.\u00B7-\uFFFF]+$/), ha = Ae(/^aria-[\-\w]+$/), Hr = Ae(
|
|
515
515
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
516
516
|
// eslint-disable-line no-useless-escape
|
|
517
|
-
),
|
|
517
|
+
), ba = Ae(/^(?:\w+script|data):/i), ma = Ae(
|
|
518
518
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
519
519
|
// eslint-disable-line no-control-regex
|
|
520
|
-
),
|
|
521
|
-
var
|
|
520
|
+
), Gr = Ae(/^html$/i), ga = Ae(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
521
|
+
var Qn = /* @__PURE__ */ Object.freeze({
|
|
522
522
|
__proto__: null,
|
|
523
|
-
ARIA_ATTR:
|
|
524
|
-
ATTR_WHITESPACE:
|
|
525
|
-
CUSTOM_ELEMENT:
|
|
526
|
-
DATA_ATTR:
|
|
527
|
-
DOCTYPE_NAME:
|
|
528
|
-
ERB_EXPR:
|
|
529
|
-
IS_ALLOWED_URI:
|
|
530
|
-
IS_SCRIPT_OR_DATA:
|
|
531
|
-
MUSTACHE_EXPR:
|
|
532
|
-
TMPLIT_EXPR:
|
|
523
|
+
ARIA_ATTR: ha,
|
|
524
|
+
ATTR_WHITESPACE: ma,
|
|
525
|
+
CUSTOM_ELEMENT: ga,
|
|
526
|
+
DATA_ATTR: pa,
|
|
527
|
+
DOCTYPE_NAME: Gr,
|
|
528
|
+
ERB_EXPR: fa,
|
|
529
|
+
IS_ALLOWED_URI: Hr,
|
|
530
|
+
IS_SCRIPT_OR_DATA: ba,
|
|
531
|
+
MUSTACHE_EXPR: sa,
|
|
532
|
+
TMPLIT_EXPR: da
|
|
533
533
|
});
|
|
534
534
|
const Eu = {
|
|
535
535
|
element: 1,
|
|
@@ -538,9 +538,9 @@ const Eu = {
|
|
|
538
538
|
progressingInstruction: 7,
|
|
539
539
|
comment: 8,
|
|
540
540
|
document: 9
|
|
541
|
-
},
|
|
541
|
+
}, ka = function() {
|
|
542
542
|
return typeof window > "u" ? null : window;
|
|
543
|
-
},
|
|
543
|
+
}, xa = function(u, t) {
|
|
544
544
|
if (typeof u != "object" || typeof u.createPolicy != "function")
|
|
545
545
|
return null;
|
|
546
546
|
let n = null;
|
|
@@ -559,7 +559,7 @@ const Eu = {
|
|
|
559
559
|
} catch {
|
|
560
560
|
return console.warn("TrustedTypes policy " + o + " could not be created."), null;
|
|
561
561
|
}
|
|
562
|
-
},
|
|
562
|
+
}, Jn = function() {
|
|
563
563
|
return {
|
|
564
564
|
afterSanitizeAttributes: [],
|
|
565
565
|
afterSanitizeElements: [],
|
|
@@ -572,9 +572,9 @@ const Eu = {
|
|
|
572
572
|
uponSanitizeShadowNode: []
|
|
573
573
|
};
|
|
574
574
|
};
|
|
575
|
-
function
|
|
576
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
577
|
-
const u = (L) =>
|
|
575
|
+
function Vr() {
|
|
576
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ka();
|
|
577
|
+
const u = (L) => Vr(L);
|
|
578
578
|
if (u.version = "3.2.6", u.removed = [], !e || !e.document || e.document.nodeType !== Eu.document || !e.Element)
|
|
579
579
|
return u.isSupported = !1, u;
|
|
580
580
|
let {
|
|
@@ -604,25 +604,25 @@ function Gr() {
|
|
|
604
604
|
} = t, {
|
|
605
605
|
importNode: R
|
|
606
606
|
} = n;
|
|
607
|
-
let S =
|
|
608
|
-
u.isSupported = typeof
|
|
607
|
+
let S = Jn();
|
|
608
|
+
u.isSupported = typeof qr == "function" && typeof m == "function" && g && g.createHTMLDocument !== void 0;
|
|
609
609
|
const {
|
|
610
610
|
MUSTACHE_EXPR: $,
|
|
611
|
-
ERB_EXPR:
|
|
611
|
+
ERB_EXPR: Y,
|
|
612
612
|
TMPLIT_EXPR: K,
|
|
613
|
-
DATA_ATTR:
|
|
614
|
-
ARIA_ATTR:
|
|
615
|
-
IS_SCRIPT_OR_DATA:
|
|
616
|
-
ATTR_WHITESPACE:
|
|
613
|
+
DATA_ATTR: oe,
|
|
614
|
+
ARIA_ATTR: pe,
|
|
615
|
+
IS_SCRIPT_OR_DATA: re,
|
|
616
|
+
ATTR_WHITESPACE: W,
|
|
617
617
|
CUSTOM_ELEMENT: P
|
|
618
|
-
} =
|
|
618
|
+
} = Qn;
|
|
619
619
|
let {
|
|
620
|
-
IS_ALLOWED_URI:
|
|
621
|
-
} =
|
|
622
|
-
const T = H({}, [...
|
|
620
|
+
IS_ALLOWED_URI: ee
|
|
621
|
+
} = Qn, j = null;
|
|
622
|
+
const T = H({}, [...Wn, ...St, ...Tt, ...Pt, ...Zn]);
|
|
623
623
|
let B = null;
|
|
624
|
-
const N = H({}, [...
|
|
625
|
-
let z = Object.seal(
|
|
624
|
+
const N = H({}, [...Yn, ...Rt, ...Xn, ...Yu]);
|
|
625
|
+
let z = Object.seal(jr(null, {
|
|
626
626
|
tagNameCheck: {
|
|
627
627
|
writable: !0,
|
|
628
628
|
configurable: !1,
|
|
@@ -642,7 +642,7 @@ function Gr() {
|
|
|
642
642
|
value: !1
|
|
643
643
|
}
|
|
644
644
|
})), ye = null, Se = null, tu = !0, nu = !0, ru = !1, Xe = !0, qe = !1, je = !0, Qe = !1, xt = !1, _t = !1, ou = !1, Bu = !1, zu = !1, kn = !0, xn = !1;
|
|
645
|
-
const
|
|
645
|
+
const Co = "user-content-";
|
|
646
646
|
let vt = !0, mu = !1, iu = {}, au = null;
|
|
647
647
|
const _n = H({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
648
648
|
let vn = null;
|
|
@@ -650,36 +650,36 @@ function Gr() {
|
|
|
650
650
|
let yt = null;
|
|
651
651
|
const En = H({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Uu = "http://www.w3.org/1998/Math/MathML", qu = "http://www.w3.org/2000/svg", Ne = "http://www.w3.org/1999/xhtml";
|
|
652
652
|
let lu = Ne, Et = !1, At = null;
|
|
653
|
-
const
|
|
653
|
+
const Do = H({}, [Uu, qu, Ne], Ft);
|
|
654
654
|
let ju = H({}, ["mi", "mo", "mn", "ms", "mtext"]), Hu = H({}, ["annotation-xml"]);
|
|
655
|
-
const
|
|
655
|
+
const Fo = H({}, ["title", "style", "font", "a", "script"]);
|
|
656
656
|
let gu = null;
|
|
657
|
-
const
|
|
658
|
-
let
|
|
659
|
-
const
|
|
657
|
+
const So = ["application/xhtml+xml", "text/html"], To = "text/html";
|
|
658
|
+
let ae = null, cu = null;
|
|
659
|
+
const Po = t.createElement("form"), An = function(h) {
|
|
660
660
|
return h instanceof RegExp || h instanceof Function;
|
|
661
661
|
}, wt = function() {
|
|
662
662
|
let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
663
663
|
if (!(cu && cu === h)) {
|
|
664
664
|
if ((!h || typeof h != "object") && (h = {}), h = Be(h), gu = // eslint-disable-next-line unicorn/prefer-includes
|
|
665
|
-
|
|
665
|
+
So.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? To : h.PARSER_MEDIA_TYPE, ae = gu === "application/xhtml+xml" ? Ft : ut, j = Ce(h, "ALLOWED_TAGS") ? H({}, h.ALLOWED_TAGS, ae) : T, B = Ce(h, "ALLOWED_ATTR") ? H({}, h.ALLOWED_ATTR, ae) : N, At = Ce(h, "ALLOWED_NAMESPACES") ? H({}, h.ALLOWED_NAMESPACES, Ft) : Do, yt = Ce(h, "ADD_URI_SAFE_ATTR") ? H(Be(En), h.ADD_URI_SAFE_ATTR, ae) : En, vn = Ce(h, "ADD_DATA_URI_TAGS") ? H(Be(yn), h.ADD_DATA_URI_TAGS, ae) : yn, au = Ce(h, "FORBID_CONTENTS") ? H({}, h.FORBID_CONTENTS, ae) : _n, ye = Ce(h, "FORBID_TAGS") ? H({}, h.FORBID_TAGS, ae) : Be({}), Se = Ce(h, "FORBID_ATTR") ? H({}, h.FORBID_ATTR, ae) : Be({}), iu = Ce(h, "USE_PROFILES") ? h.USE_PROFILES : !1, tu = h.ALLOW_ARIA_ATTR !== !1, nu = h.ALLOW_DATA_ATTR !== !1, ru = h.ALLOW_UNKNOWN_PROTOCOLS || !1, Xe = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, qe = h.SAFE_FOR_TEMPLATES || !1, je = h.SAFE_FOR_XML !== !1, Qe = h.WHOLE_DOCUMENT || !1, ou = h.RETURN_DOM || !1, Bu = h.RETURN_DOM_FRAGMENT || !1, zu = h.RETURN_TRUSTED_TYPE || !1, _t = h.FORCE_BODY || !1, kn = h.SANITIZE_DOM !== !1, xn = h.SANITIZE_NAMED_PROPS || !1, vt = h.KEEP_CONTENT !== !1, mu = h.IN_PLACE || !1, ee = h.ALLOWED_URI_REGEXP || Hr, lu = h.NAMESPACE || Ne, ju = h.MATHML_TEXT_INTEGRATION_POINTS || ju, Hu = h.HTML_INTEGRATION_POINTS || Hu, z = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && An(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (z.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && An(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (z.attributeNameCheck = h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), h.CUSTOM_ELEMENT_HANDLING && typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (z.allowCustomizedBuiltInElements = h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), qe && (nu = !1), Bu && (ou = !0), iu && (j = H({}, Zn), B = [], iu.html === !0 && (H(j, Wn), H(B, Yn)), iu.svg === !0 && (H(j, St), H(B, Rt), H(B, Yu)), iu.svgFilters === !0 && (H(j, Tt), H(B, Rt), H(B, Yu)), iu.mathMl === !0 && (H(j, Pt), H(B, Xn), H(B, Yu))), h.ADD_TAGS && (j === T && (j = Be(j)), H(j, h.ADD_TAGS, ae)), h.ADD_ATTR && (B === N && (B = Be(B)), H(B, h.ADD_ATTR, ae)), h.ADD_URI_SAFE_ATTR && H(yt, h.ADD_URI_SAFE_ATTR, ae), h.FORBID_CONTENTS && (au === _n && (au = Be(au)), H(au, h.FORBID_CONTENTS, ae)), vt && (j["#text"] = !0), Qe && H(j, ["html", "head", "body"]), j.table && (H(j, ["tbody"]), delete ye.tbody), h.TRUSTED_TYPES_POLICY) {
|
|
666
666
|
if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
667
667
|
throw vu('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
668
668
|
if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
669
669
|
throw vu('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
670
670
|
k = h.TRUSTED_TYPES_POLICY, f = k.createHTML("");
|
|
671
671
|
} else
|
|
672
|
-
k === void 0 && (k =
|
|
673
|
-
|
|
672
|
+
k === void 0 && (k = xa(x, r)), k !== null && typeof f == "string" && (f = k.createHTML(""));
|
|
673
|
+
be && be(h), cu = h;
|
|
674
674
|
}
|
|
675
|
-
}, wn = H({}, [...St, ...Tt, ...
|
|
675
|
+
}, wn = H({}, [...St, ...Tt, ...la]), Cn = H({}, [...Pt, ...ca]), Ro = function(h) {
|
|
676
676
|
let D = m(h);
|
|
677
677
|
(!D || !D.tagName) && (D = {
|
|
678
678
|
namespaceURI: lu,
|
|
679
679
|
tagName: "template"
|
|
680
680
|
});
|
|
681
|
-
const O = ut(h.tagName),
|
|
682
|
-
return At[h.namespaceURI] ? h.namespaceURI === qu ? D.namespaceURI === Ne ? O === "svg" : D.namespaceURI === Uu ? O === "svg" && (
|
|
681
|
+
const O = ut(h.tagName), ue = ut(D.tagName);
|
|
682
|
+
return At[h.namespaceURI] ? h.namespaceURI === qu ? D.namespaceURI === Ne ? O === "svg" : D.namespaceURI === Uu ? O === "svg" && (ue === "annotation-xml" || ju[ue]) : !!wn[O] : h.namespaceURI === Uu ? D.namespaceURI === Ne ? O === "math" : D.namespaceURI === qu ? O === "math" && Hu[ue] : !!Cn[O] : h.namespaceURI === Ne ? D.namespaceURI === qu && !Hu[ue] || D.namespaceURI === Uu && !ju[ue] ? !1 : !Cn[O] && (Fo[O] || !wn[O]) : !!(gu === "application/xhtml+xml" && At[h.namespaceURI]) : !1;
|
|
683
683
|
}, Te = function(h) {
|
|
684
684
|
xu(u.removed, {
|
|
685
685
|
element: h
|
|
@@ -717,20 +717,20 @@ function Gr() {
|
|
|
717
717
|
if (_t)
|
|
718
718
|
h = "<remove></remove>" + h;
|
|
719
719
|
else {
|
|
720
|
-
const
|
|
721
|
-
O =
|
|
720
|
+
const ie = Vn(h, /^[\r\n\t ]+/);
|
|
721
|
+
O = ie && ie[0];
|
|
722
722
|
}
|
|
723
723
|
gu === "application/xhtml+xml" && lu === Ne && (h = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + h + "</body></html>");
|
|
724
|
-
const
|
|
724
|
+
const ue = k ? k.createHTML(h) : h;
|
|
725
725
|
if (lu === Ne)
|
|
726
726
|
try {
|
|
727
|
-
D = new _().parseFromString(
|
|
727
|
+
D = new _().parseFromString(ue, gu);
|
|
728
728
|
} catch {
|
|
729
729
|
}
|
|
730
730
|
if (!D || !D.documentElement) {
|
|
731
731
|
D = g.createDocument(lu, "template", null);
|
|
732
732
|
try {
|
|
733
|
-
D.documentElement.innerHTML = Et ? f :
|
|
733
|
+
D.documentElement.innerHTML = Et ? f : ue;
|
|
734
734
|
} catch {
|
|
735
735
|
}
|
|
736
736
|
}
|
|
@@ -758,50 +758,50 @@ function Gr() {
|
|
|
758
758
|
let D = null;
|
|
759
759
|
if ($e(S.beforeSanitizeElements, h, null), Ct(h))
|
|
760
760
|
return Te(h), !0;
|
|
761
|
-
const O =
|
|
761
|
+
const O = ae(h.nodeName);
|
|
762
762
|
if ($e(S.uponSanitizeElement, h, {
|
|
763
763
|
tagName: O,
|
|
764
764
|
allowedTags: j
|
|
765
|
-
}), je && h.hasChildNodes() && !Sn(h.firstElementChild) &&
|
|
765
|
+
}), je && h.hasChildNodes() && !Sn(h.firstElementChild) && he(/<[/\w!]/g, h.innerHTML) && he(/<[/\w!]/g, h.textContent) || h.nodeType === Eu.progressingInstruction || je && h.nodeType === Eu.comment && he(/<[/\w]/g, h.data))
|
|
766
766
|
return Te(h), !0;
|
|
767
767
|
if (!j[O] || ye[O]) {
|
|
768
|
-
if (!ye[O] && Rn(O) && (z.tagNameCheck instanceof RegExp &&
|
|
768
|
+
if (!ye[O] && Rn(O) && (z.tagNameCheck instanceof RegExp && he(z.tagNameCheck, O) || z.tagNameCheck instanceof Function && z.tagNameCheck(O)))
|
|
769
769
|
return !1;
|
|
770
770
|
if (vt && !au[O]) {
|
|
771
|
-
const
|
|
772
|
-
if (se &&
|
|
773
|
-
const
|
|
774
|
-
for (let
|
|
775
|
-
const Ie = y(se[
|
|
776
|
-
Ie.__removalCount = (h.__removalCount || 0) + 1,
|
|
771
|
+
const ue = m(h) || h.parentNode, se = b(h) || h.childNodes;
|
|
772
|
+
if (se && ue) {
|
|
773
|
+
const ie = se.length;
|
|
774
|
+
for (let ge = ie - 1; ge >= 0; --ge) {
|
|
775
|
+
const Ie = y(se[ge], !0);
|
|
776
|
+
Ie.__removalCount = (h.__removalCount || 0) + 1, ue.insertBefore(Ie, A(h));
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
780
|
return Te(h), !0;
|
|
781
781
|
}
|
|
782
|
-
return h instanceof l && !
|
|
783
|
-
D = _u(D,
|
|
782
|
+
return h instanceof l && !Ro(h) || (O === "noscript" || O === "noembed" || O === "noframes") && he(/<\/no(script|embed|frames)/i, h.innerHTML) ? (Te(h), !0) : (qe && h.nodeType === Eu.text && (D = h.textContent, Zu([$, Y, K], (ue) => {
|
|
783
|
+
D = _u(D, ue, " ");
|
|
784
784
|
}), h.textContent !== D && (xu(u.removed, {
|
|
785
785
|
element: h.cloneNode()
|
|
786
786
|
}), h.textContent = D)), $e(S.afterSanitizeElements, h, null), !1);
|
|
787
787
|
}, Pn = function(h, D, O) {
|
|
788
|
-
if (kn && (D === "id" || D === "name") && (O in t || O in
|
|
788
|
+
if (kn && (D === "id" || D === "name") && (O in t || O in Po))
|
|
789
789
|
return !1;
|
|
790
|
-
if (!(nu && !Se[D] &&
|
|
791
|
-
if (!(tu && pe
|
|
790
|
+
if (!(nu && !Se[D] && he(oe, D))) {
|
|
791
|
+
if (!(tu && he(pe, D))) {
|
|
792
792
|
if (!B[D] || Se[D]) {
|
|
793
793
|
if (
|
|
794
794
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
795
795
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
796
796
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
797
|
-
!(Rn(h) && (z.tagNameCheck instanceof RegExp &&
|
|
797
|
+
!(Rn(h) && (z.tagNameCheck instanceof RegExp && he(z.tagNameCheck, h) || z.tagNameCheck instanceof Function && z.tagNameCheck(h)) && (z.attributeNameCheck instanceof RegExp && he(z.attributeNameCheck, D) || z.attributeNameCheck instanceof Function && z.attributeNameCheck(D)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
798
798
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
799
|
-
D === "is" && z.allowCustomizedBuiltInElements && (z.tagNameCheck instanceof RegExp &&
|
|
799
|
+
D === "is" && z.allowCustomizedBuiltInElements && (z.tagNameCheck instanceof RegExp && he(z.tagNameCheck, O) || z.tagNameCheck instanceof Function && z.tagNameCheck(O)))
|
|
800
800
|
) return !1;
|
|
801
801
|
} else if (!yt[D]) {
|
|
802
|
-
if (!
|
|
803
|
-
if (!((D === "src" || D === "xlink:href" || D === "href") && h !== "script" &&
|
|
804
|
-
if (!(ru && !
|
|
802
|
+
if (!he(ee, _u(O, W, ""))) {
|
|
803
|
+
if (!((D === "src" || D === "xlink:href" || D === "href") && h !== "script" && ra(O, "data:") === 0 && vn[h])) {
|
|
804
|
+
if (!(ru && !he(re, _u(O, W, "")))) {
|
|
805
805
|
if (O)
|
|
806
806
|
return !1;
|
|
807
807
|
}
|
|
@@ -812,7 +812,7 @@ function Gr() {
|
|
|
812
812
|
}
|
|
813
813
|
return !0;
|
|
814
814
|
}, Rn = function(h) {
|
|
815
|
-
return h !== "annotation-xml" &&
|
|
815
|
+
return h !== "annotation-xml" && Vn(h, P);
|
|
816
816
|
}, On = function(h) {
|
|
817
817
|
$e(S.beforeSanitizeAttributes, h, null);
|
|
818
818
|
const {
|
|
@@ -827,37 +827,37 @@ function Gr() {
|
|
|
827
827
|
allowedAttributes: B,
|
|
828
828
|
forceKeepAttr: void 0
|
|
829
829
|
};
|
|
830
|
-
let
|
|
831
|
-
for (;
|
|
832
|
-
const se = D[
|
|
833
|
-
name:
|
|
834
|
-
namespaceURI:
|
|
830
|
+
let ue = D.length;
|
|
831
|
+
for (; ue--; ) {
|
|
832
|
+
const se = D[ue], {
|
|
833
|
+
name: ie,
|
|
834
|
+
namespaceURI: ge,
|
|
835
835
|
value: Ie
|
|
836
|
-
} = se, ku = ie
|
|
837
|
-
let fe =
|
|
838
|
-
if (O.attrName = ku, O.attrValue = fe, O.keepAttr = !0, O.forceKeepAttr = void 0, $e(S.uponSanitizeAttribute, h, O), fe = O.attrValue, xn && (ku === "id" || ku === "name") && (su(
|
|
839
|
-
su(
|
|
836
|
+
} = se, ku = ae(ie), Dt = Ie;
|
|
837
|
+
let fe = ie === "value" ? Dt : oa(Dt);
|
|
838
|
+
if (O.attrName = ku, O.attrValue = fe, O.keepAttr = !0, O.forceKeepAttr = void 0, $e(S.uponSanitizeAttribute, h, O), fe = O.attrValue, xn && (ku === "id" || ku === "name") && (su(ie, h), fe = Co + fe), je && he(/((--!?|])>)|<\/(style|title)/i, fe)) {
|
|
839
|
+
su(ie, h);
|
|
840
840
|
continue;
|
|
841
841
|
}
|
|
842
842
|
if (O.forceKeepAttr)
|
|
843
843
|
continue;
|
|
844
844
|
if (!O.keepAttr) {
|
|
845
|
-
su(
|
|
845
|
+
su(ie, h);
|
|
846
846
|
continue;
|
|
847
847
|
}
|
|
848
|
-
if (!Xe &&
|
|
849
|
-
su(
|
|
848
|
+
if (!Xe && he(/\/>/i, fe)) {
|
|
849
|
+
su(ie, h);
|
|
850
850
|
continue;
|
|
851
851
|
}
|
|
852
|
-
qe && Zu([$,
|
|
852
|
+
qe && Zu([$, Y, K], (Ln) => {
|
|
853
853
|
fe = _u(fe, Ln, " ");
|
|
854
854
|
});
|
|
855
|
-
const Mn =
|
|
855
|
+
const Mn = ae(h.nodeName);
|
|
856
856
|
if (!Pn(Mn, ku, fe)) {
|
|
857
|
-
su(
|
|
857
|
+
su(ie, h);
|
|
858
858
|
continue;
|
|
859
859
|
}
|
|
860
|
-
if (k && typeof x == "object" && typeof x.getAttributeType == "function" && !
|
|
860
|
+
if (k && typeof x == "object" && typeof x.getAttributeType == "function" && !ge)
|
|
861
861
|
switch (x.getAttributeType(Mn, ku)) {
|
|
862
862
|
case "TrustedHTML": {
|
|
863
863
|
fe = k.createHTML(fe);
|
|
@@ -870,13 +870,13 @@ function Gr() {
|
|
|
870
870
|
}
|
|
871
871
|
if (fe !== Dt)
|
|
872
872
|
try {
|
|
873
|
-
|
|
873
|
+
ge ? h.setAttributeNS(ge, ie, fe) : h.setAttribute(ie, fe), Ct(h) ? Te(h) : Gn(u.removed);
|
|
874
874
|
} catch {
|
|
875
|
-
su(
|
|
875
|
+
su(ie, h);
|
|
876
876
|
}
|
|
877
877
|
}
|
|
878
878
|
$e(S.afterSanitizeAttributes, h, null);
|
|
879
|
-
},
|
|
879
|
+
}, Oo = function L(h) {
|
|
880
880
|
let D = null;
|
|
881
881
|
const O = Fn(h);
|
|
882
882
|
for ($e(S.beforeSanitizeShadowDOM, h, null); D = O.nextNode(); )
|
|
@@ -884,7 +884,7 @@ function Gr() {
|
|
|
884
884
|
$e(S.afterSanitizeShadowDOM, h, null);
|
|
885
885
|
};
|
|
886
886
|
return u.sanitize = function(L) {
|
|
887
|
-
let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, D = null, O = null,
|
|
887
|
+
let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, D = null, O = null, ue = null, se = null;
|
|
888
888
|
if (Et = !L, Et && (L = "<!-->"), typeof L != "string" && !Sn(L))
|
|
889
889
|
if (typeof L.toString == "function") {
|
|
890
890
|
if (L = L.toString(), typeof L != "string")
|
|
@@ -895,7 +895,7 @@ function Gr() {
|
|
|
895
895
|
return L;
|
|
896
896
|
if (xt || wt(h), u.removed = [], typeof L == "string" && (mu = !1), mu) {
|
|
897
897
|
if (L.nodeName) {
|
|
898
|
-
const Ie =
|
|
898
|
+
const Ie = ae(L.nodeName);
|
|
899
899
|
if (!j[Ie] || ye[Ie])
|
|
900
900
|
throw vu("root node is forbidden and cannot be sanitized in-place");
|
|
901
901
|
}
|
|
@@ -909,9 +909,9 @@ function Gr() {
|
|
|
909
909
|
return ou ? null : zu ? f : "";
|
|
910
910
|
}
|
|
911
911
|
D && _t && Te(D.firstChild);
|
|
912
|
-
const
|
|
913
|
-
for (;
|
|
914
|
-
Tn(
|
|
912
|
+
const ie = Fn(mu ? L : D);
|
|
913
|
+
for (; ue = ie.nextNode(); )
|
|
914
|
+
Tn(ue), On(ue), ue.content instanceof o && Oo(ue.content);
|
|
915
915
|
if (mu)
|
|
916
916
|
return L;
|
|
917
917
|
if (ou) {
|
|
@@ -922,11 +922,11 @@ function Gr() {
|
|
|
922
922
|
se = D;
|
|
923
923
|
return (B.shadowroot || B.shadowrootmode) && (se = R.call(n, se, !0)), se;
|
|
924
924
|
}
|
|
925
|
-
let
|
|
926
|
-
return Qe && j["!doctype"] && D.ownerDocument && D.ownerDocument.doctype && D.ownerDocument.doctype.name &&
|
|
927
|
-
` +
|
|
928
|
-
|
|
929
|
-
}), k && zu ? k.createHTML(
|
|
925
|
+
let ge = Qe ? D.outerHTML : D.innerHTML;
|
|
926
|
+
return Qe && j["!doctype"] && D.ownerDocument && D.ownerDocument.doctype && D.ownerDocument.doctype.name && he(Gr, D.ownerDocument.doctype.name) && (ge = "<!DOCTYPE " + D.ownerDocument.doctype.name + `>
|
|
927
|
+
` + ge), qe && Zu([$, Y, K], (Ie) => {
|
|
928
|
+
ge = _u(ge, Ie, " ");
|
|
929
|
+
}), k && zu ? k.createHTML(ge) : ge;
|
|
930
930
|
}, u.setConfig = function() {
|
|
931
931
|
let L = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
932
932
|
wt(L), xt = !0;
|
|
@@ -934,29 +934,29 @@ function Gr() {
|
|
|
934
934
|
cu = null, xt = !1;
|
|
935
935
|
}, u.isValidAttribute = function(L, h, D) {
|
|
936
936
|
cu || wt({});
|
|
937
|
-
const O =
|
|
938
|
-
return Pn(O,
|
|
937
|
+
const O = ae(L), ue = ae(h);
|
|
938
|
+
return Pn(O, ue, D);
|
|
939
939
|
}, u.addHook = function(L, h) {
|
|
940
940
|
typeof h == "function" && xu(S[L], h);
|
|
941
941
|
}, u.removeHook = function(L, h) {
|
|
942
942
|
if (h !== void 0) {
|
|
943
|
-
const D =
|
|
944
|
-
return D === -1 ? void 0 :
|
|
943
|
+
const D = ta(S[L], h);
|
|
944
|
+
return D === -1 ? void 0 : na(S[L], D, 1)[0];
|
|
945
945
|
}
|
|
946
|
-
return
|
|
946
|
+
return Gn(S[L]);
|
|
947
947
|
}, u.removeHooks = function(L) {
|
|
948
948
|
S[L] = [];
|
|
949
949
|
}, u.removeAllHooks = function() {
|
|
950
|
-
S =
|
|
950
|
+
S = Jn();
|
|
951
951
|
}, u;
|
|
952
952
|
}
|
|
953
|
-
var
|
|
954
|
-
const
|
|
955
|
-
function
|
|
956
|
-
let u =
|
|
953
|
+
var _a = Vr();
|
|
954
|
+
const Kn = {};
|
|
955
|
+
function va(e) {
|
|
956
|
+
let u = Kn[e];
|
|
957
957
|
if (u)
|
|
958
958
|
return u;
|
|
959
|
-
u =
|
|
959
|
+
u = Kn[e] = [];
|
|
960
960
|
for (let t = 0; t < 128; t++) {
|
|
961
961
|
const n = String.fromCharCode(t);
|
|
962
962
|
u.push(n);
|
|
@@ -969,7 +969,7 @@ function _a(e) {
|
|
|
969
969
|
}
|
|
970
970
|
function pu(e, u) {
|
|
971
971
|
typeof u != "string" && (u = pu.defaultChars);
|
|
972
|
-
const t =
|
|
972
|
+
const t = va(u);
|
|
973
973
|
return e.replace(/(%[a-f0-9]{2})+/gi, function(n) {
|
|
974
974
|
let r = "";
|
|
975
975
|
for (let o = 0, a = n.length; o < a; o += 3) {
|
|
@@ -1009,12 +1009,12 @@ function pu(e, u) {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
pu.defaultChars = ";/?:@&=+$,#";
|
|
1011
1011
|
pu.componentChars = "";
|
|
1012
|
-
const
|
|
1013
|
-
function
|
|
1014
|
-
let u =
|
|
1012
|
+
const er = {};
|
|
1013
|
+
function ya(e) {
|
|
1014
|
+
let u = er[e];
|
|
1015
1015
|
if (u)
|
|
1016
1016
|
return u;
|
|
1017
|
-
u =
|
|
1017
|
+
u = er[e] = [];
|
|
1018
1018
|
for (let t = 0; t < 128; t++) {
|
|
1019
1019
|
const n = String.fromCharCode(t);
|
|
1020
1020
|
/^[0-9a-z]$/i.test(n) ? u.push(n) : u.push("%" + ("0" + t.toString(16).toUpperCase()).slice(-2));
|
|
@@ -1025,7 +1025,7 @@ function va(e) {
|
|
|
1025
1025
|
}
|
|
1026
1026
|
function Nu(e, u, t) {
|
|
1027
1027
|
typeof u != "string" && (t = u, u = Nu.defaultChars), typeof t > "u" && (t = !0);
|
|
1028
|
-
const n =
|
|
1028
|
+
const n = ya(u);
|
|
1029
1029
|
let r = "";
|
|
1030
1030
|
for (let o = 0, a = e.length; o < a; o++) {
|
|
1031
1031
|
const i = e.charCodeAt(o);
|
|
@@ -1061,11 +1061,11 @@ function on(e) {
|
|
|
1061
1061
|
function it() {
|
|
1062
1062
|
this.protocol = null, this.slashes = null, this.auth = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.pathname = null;
|
|
1063
1063
|
}
|
|
1064
|
-
const
|
|
1065
|
-
`, " "],
|
|
1064
|
+
const Ea = /^([a-z0-9.+-]+:)/i, Aa = /:[0-9]*$/, wa = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, Ca = ["<", ">", '"', "`", " ", "\r", `
|
|
1065
|
+
`, " "], Da = ["{", "}", "|", "\\", "^", "`"].concat(Ca), Fa = ["'"].concat(Da), ur = ["%", "/", "?", ";", "#"].concat(Fa), tr = ["/", "?", "#"], Sa = 255, nr = /^[+a-z0-9A-Z_-]{0,63}$/, Ta = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, rr = {
|
|
1066
1066
|
javascript: !0,
|
|
1067
1067
|
"javascript:": !0
|
|
1068
|
-
},
|
|
1068
|
+
}, or = {
|
|
1069
1069
|
http: !0,
|
|
1070
1070
|
https: !0,
|
|
1071
1071
|
ftp: !0,
|
|
@@ -1085,19 +1085,19 @@ function an(e, u) {
|
|
|
1085
1085
|
it.prototype.parse = function(e, u) {
|
|
1086
1086
|
let t, n, r, o = e;
|
|
1087
1087
|
if (o = o.trim(), !u && e.split("#").length === 1) {
|
|
1088
|
-
const c =
|
|
1088
|
+
const c = wa.exec(o);
|
|
1089
1089
|
if (c)
|
|
1090
1090
|
return this.pathname = c[1], c[2] && (this.search = c[2]), this;
|
|
1091
1091
|
}
|
|
1092
|
-
let a =
|
|
1093
|
-
if (a && (a = a[0], t = a.toLowerCase(), this.protocol = a, o = o.substr(a.length)), (u || a || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(a &&
|
|
1092
|
+
let a = Ea.exec(o);
|
|
1093
|
+
if (a && (a = a[0], t = a.toLowerCase(), this.protocol = a, o = o.substr(a.length)), (u || a || o.match(/^\/\/[^@\/]+@[^@\/]+/)) && (r = o.substr(0, 2) === "//", r && !(a && rr[a]) && (o = o.substr(2), this.slashes = !0)), !rr[a] && (r || a && !or[a])) {
|
|
1094
1094
|
let c = -1;
|
|
1095
|
-
for (let p = 0; p <
|
|
1096
|
-
n = o.indexOf(
|
|
1095
|
+
for (let p = 0; p < tr.length; p++)
|
|
1096
|
+
n = o.indexOf(tr[p]), n !== -1 && (c === -1 || n < c) && (c = n);
|
|
1097
1097
|
let s, d;
|
|
1098
1098
|
c === -1 ? d = o.lastIndexOf("@") : d = o.lastIndexOf("@", c), d !== -1 && (s = o.slice(0, d), o = o.slice(d + 1), this.auth = s), c = -1;
|
|
1099
|
-
for (let p = 0; p <
|
|
1100
|
-
n = o.indexOf(
|
|
1099
|
+
for (let p = 0; p < ur.length; p++)
|
|
1100
|
+
n = o.indexOf(ur[p]), n !== -1 && (c === -1 || n < c) && (c = n);
|
|
1101
1101
|
c === -1 && (c = o.length), o[c - 1] === ":" && c--;
|
|
1102
1102
|
const _ = o.slice(0, c);
|
|
1103
1103
|
o = o.slice(c), this.parseHost(_), this.hostname = this.hostname || "";
|
|
@@ -1106,52 +1106,52 @@ it.prototype.parse = function(e, u) {
|
|
|
1106
1106
|
const p = this.hostname.split(/\./);
|
|
1107
1107
|
for (let y = 0, v = p.length; y < v; y++) {
|
|
1108
1108
|
const A = p[y];
|
|
1109
|
-
if (A && !A.match(
|
|
1109
|
+
if (A && !A.match(nr)) {
|
|
1110
1110
|
let b = "";
|
|
1111
1111
|
for (let m = 0, k = A.length; m < k; m++)
|
|
1112
1112
|
A.charCodeAt(m) > 127 ? b += "x" : b += A[m];
|
|
1113
|
-
if (!b.match(
|
|
1114
|
-
const m = p.slice(0, y), k = p.slice(y + 1), f = A.match(
|
|
1113
|
+
if (!b.match(nr)) {
|
|
1114
|
+
const m = p.slice(0, y), k = p.slice(y + 1), f = A.match(Ta);
|
|
1115
1115
|
f && (m.push(f[1]), k.unshift(f[2])), k.length && (o = k.join(".") + o), this.hostname = m.join(".");
|
|
1116
1116
|
break;
|
|
1117
1117
|
}
|
|
1118
1118
|
}
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
|
-
this.hostname.length >
|
|
1121
|
+
this.hostname.length > Sa && (this.hostname = ""), x && (this.hostname = this.hostname.substr(1, this.hostname.length - 2));
|
|
1122
1122
|
}
|
|
1123
1123
|
const i = o.indexOf("#");
|
|
1124
1124
|
i !== -1 && (this.hash = o.substr(i), o = o.slice(0, i));
|
|
1125
1125
|
const l = o.indexOf("?");
|
|
1126
|
-
return l !== -1 && (this.search = o.substr(l), o = o.slice(0, l)), o && (this.pathname = o),
|
|
1126
|
+
return l !== -1 && (this.search = o.substr(l), o = o.slice(0, l)), o && (this.pathname = o), or[t] && this.hostname && !this.pathname && (this.pathname = ""), this;
|
|
1127
1127
|
};
|
|
1128
1128
|
it.prototype.parseHost = function(e) {
|
|
1129
|
-
let u =
|
|
1129
|
+
let u = Aa.exec(e);
|
|
1130
1130
|
u && (u = u[0], u !== ":" && (this.port = u.substr(1)), e = e.substr(0, e.length - u.length)), e && (this.hostname = e);
|
|
1131
1131
|
};
|
|
1132
|
-
const
|
|
1132
|
+
const Pa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1133
1133
|
__proto__: null,
|
|
1134
1134
|
decode: pu,
|
|
1135
1135
|
encode: Nu,
|
|
1136
1136
|
format: on,
|
|
1137
1137
|
parse: an
|
|
1138
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1138
|
+
}, Symbol.toStringTag, { value: "Module" })), Wr = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Zr = /[\0-\x1F\x7F-\x9F]/, Ra = /[\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]/, ln = /[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/, Yr = /[\$\+<->\^`\|~\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]/, Xr = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1139
1139
|
__proto__: null,
|
|
1140
|
-
Any:
|
|
1141
|
-
Cc:
|
|
1142
|
-
Cf:
|
|
1140
|
+
Any: Wr,
|
|
1141
|
+
Cc: Zr,
|
|
1142
|
+
Cf: Ra,
|
|
1143
1143
|
P: ln,
|
|
1144
|
-
S:
|
|
1145
|
-
Z:
|
|
1146
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1144
|
+
S: Yr,
|
|
1145
|
+
Z: Xr
|
|
1146
|
+
}, Symbol.toStringTag, { value: "Module" })), Ma = new Uint16Array(
|
|
1147
1147
|
// prettier-ignore
|
|
1148
1148
|
'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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((e) => e.charCodeAt(0))
|
|
1149
|
-
),
|
|
1149
|
+
), La = new Uint16Array(
|
|
1150
1150
|
// prettier-ignore
|
|
1151
1151
|
"Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e) => e.charCodeAt(0))
|
|
1152
1152
|
);
|
|
1153
1153
|
var Ot;
|
|
1154
|
-
const
|
|
1154
|
+
const Na = /* @__PURE__ */ new Map([
|
|
1155
1155
|
[0, 65533],
|
|
1156
1156
|
// C1 Unicode control character reference replacements
|
|
1157
1157
|
[128, 8364],
|
|
@@ -1181,53 +1181,53 @@ const La = /* @__PURE__ */ new Map([
|
|
|
1181
1181
|
[156, 339],
|
|
1182
1182
|
[158, 382],
|
|
1183
1183
|
[159, 376]
|
|
1184
|
-
]),
|
|
1184
|
+
]), $a = (
|
|
1185
1185
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition, node/no-unsupported-features/es-builtins
|
|
1186
1186
|
(Ot = String.fromCodePoint) !== null && Ot !== void 0 ? Ot : function(e) {
|
|
1187
1187
|
let u = "";
|
|
1188
1188
|
return e > 65535 && (e -= 65536, u += String.fromCharCode(e >>> 10 & 1023 | 55296), e = 56320 | e & 1023), u += String.fromCharCode(e), u;
|
|
1189
1189
|
}
|
|
1190
1190
|
);
|
|
1191
|
-
function
|
|
1191
|
+
function Ia(e) {
|
|
1192
1192
|
var u;
|
|
1193
|
-
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u =
|
|
1193
|
+
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u = Na.get(e)) !== null && u !== void 0 ? u : e;
|
|
1194
1194
|
}
|
|
1195
|
-
var
|
|
1195
|
+
var ce;
|
|
1196
1196
|
(function(e) {
|
|
1197
1197
|
e[e.NUM = 35] = "NUM", e[e.SEMI = 59] = "SEMI", e[e.EQUALS = 61] = "EQUALS", e[e.ZERO = 48] = "ZERO", e[e.NINE = 57] = "NINE", e[e.LOWER_A = 97] = "LOWER_A", e[e.LOWER_F = 102] = "LOWER_F", e[e.LOWER_X = 120] = "LOWER_X", e[e.LOWER_Z = 122] = "LOWER_Z", e[e.UPPER_A = 65] = "UPPER_A", e[e.UPPER_F = 70] = "UPPER_F", e[e.UPPER_Z = 90] = "UPPER_Z";
|
|
1198
|
-
})(
|
|
1199
|
-
const
|
|
1198
|
+
})(ce || (ce = {}));
|
|
1199
|
+
const Ba = 32;
|
|
1200
1200
|
var We;
|
|
1201
1201
|
(function(e) {
|
|
1202
1202
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
1203
1203
|
})(We || (We = {}));
|
|
1204
1204
|
function Xt(e) {
|
|
1205
|
-
return e >=
|
|
1206
|
-
}
|
|
1207
|
-
function Ba(e) {
|
|
1208
|
-
return e >= le.UPPER_A && e <= le.UPPER_F || e >= le.LOWER_A && e <= le.LOWER_F;
|
|
1205
|
+
return e >= ce.ZERO && e <= ce.NINE;
|
|
1209
1206
|
}
|
|
1210
1207
|
function za(e) {
|
|
1211
|
-
return e >=
|
|
1208
|
+
return e >= ce.UPPER_A && e <= ce.UPPER_F || e >= ce.LOWER_A && e <= ce.LOWER_F;
|
|
1212
1209
|
}
|
|
1213
1210
|
function Ua(e) {
|
|
1214
|
-
return e
|
|
1211
|
+
return e >= ce.UPPER_A && e <= ce.UPPER_Z || e >= ce.LOWER_A && e <= ce.LOWER_Z || Xt(e);
|
|
1212
|
+
}
|
|
1213
|
+
function qa(e) {
|
|
1214
|
+
return e === ce.EQUALS || Ua(e);
|
|
1215
1215
|
}
|
|
1216
|
-
var
|
|
1216
|
+
var le;
|
|
1217
1217
|
(function(e) {
|
|
1218
1218
|
e[e.EntityStart = 0] = "EntityStart", e[e.NumericStart = 1] = "NumericStart", e[e.NumericDecimal = 2] = "NumericDecimal", e[e.NumericHex = 3] = "NumericHex", e[e.NamedEntity = 4] = "NamedEntity";
|
|
1219
|
-
})(
|
|
1219
|
+
})(le || (le = {}));
|
|
1220
1220
|
var Ge;
|
|
1221
1221
|
(function(e) {
|
|
1222
1222
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
|
1223
1223
|
})(Ge || (Ge = {}));
|
|
1224
|
-
class
|
|
1224
|
+
class ja {
|
|
1225
1225
|
constructor(u, t, n) {
|
|
1226
|
-
this.decodeTree = u, this.emitCodePoint = t, this.errors = n, this.state =
|
|
1226
|
+
this.decodeTree = u, this.emitCodePoint = t, this.errors = n, this.state = le.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Ge.Strict;
|
|
1227
1227
|
}
|
|
1228
1228
|
/** Resets the instance to make it reusable. */
|
|
1229
1229
|
startEntity(u) {
|
|
1230
|
-
this.decodeMode = u, this.state =
|
|
1230
|
+
this.decodeMode = u, this.state = le.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
1231
1231
|
}
|
|
1232
1232
|
/**
|
|
1233
1233
|
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
@@ -1242,15 +1242,15 @@ class qa {
|
|
|
1242
1242
|
*/
|
|
1243
1243
|
write(u, t) {
|
|
1244
1244
|
switch (this.state) {
|
|
1245
|
-
case
|
|
1246
|
-
return u.charCodeAt(t) ===
|
|
1247
|
-
case
|
|
1245
|
+
case le.EntityStart:
|
|
1246
|
+
return u.charCodeAt(t) === ce.NUM ? (this.state = le.NumericStart, this.consumed += 1, this.stateNumericStart(u, t + 1)) : (this.state = le.NamedEntity, this.stateNamedEntity(u, t));
|
|
1247
|
+
case le.NumericStart:
|
|
1248
1248
|
return this.stateNumericStart(u, t);
|
|
1249
|
-
case
|
|
1249
|
+
case le.NumericDecimal:
|
|
1250
1250
|
return this.stateNumericDecimal(u, t);
|
|
1251
|
-
case
|
|
1251
|
+
case le.NumericHex:
|
|
1252
1252
|
return this.stateNumericHex(u, t);
|
|
1253
|
-
case
|
|
1253
|
+
case le.NamedEntity:
|
|
1254
1254
|
return this.stateNamedEntity(u, t);
|
|
1255
1255
|
}
|
|
1256
1256
|
}
|
|
@@ -1264,7 +1264,7 @@ class qa {
|
|
|
1264
1264
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
1265
1265
|
*/
|
|
1266
1266
|
stateNumericStart(u, t) {
|
|
1267
|
-
return t >= u.length ? -1 : (u.charCodeAt(t) |
|
|
1267
|
+
return t >= u.length ? -1 : (u.charCodeAt(t) | Ba) === ce.LOWER_X ? (this.state = le.NumericHex, this.consumed += 1, this.stateNumericHex(u, t + 1)) : (this.state = le.NumericDecimal, this.stateNumericDecimal(u, t));
|
|
1268
1268
|
}
|
|
1269
1269
|
addToNumericResult(u, t, n, r) {
|
|
1270
1270
|
if (t !== n) {
|
|
@@ -1285,7 +1285,7 @@ class qa {
|
|
|
1285
1285
|
const n = t;
|
|
1286
1286
|
for (; t < u.length; ) {
|
|
1287
1287
|
const r = u.charCodeAt(t);
|
|
1288
|
-
if (Xt(r) ||
|
|
1288
|
+
if (Xt(r) || za(r))
|
|
1289
1289
|
t += 1;
|
|
1290
1290
|
else
|
|
1291
1291
|
return this.addToNumericResult(u, n, t, 16), this.emitNumericEntity(r, 3);
|
|
@@ -1329,11 +1329,11 @@ class qa {
|
|
|
1329
1329
|
var n;
|
|
1330
1330
|
if (this.consumed <= t)
|
|
1331
1331
|
return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
1332
|
-
if (u ===
|
|
1332
|
+
if (u === ce.SEMI)
|
|
1333
1333
|
this.consumed += 1;
|
|
1334
1334
|
else if (this.decodeMode === Ge.Strict)
|
|
1335
1335
|
return 0;
|
|
1336
|
-
return this.emitCodePoint(
|
|
1336
|
+
return this.emitCodePoint(Ia(this.result), this.consumed), this.errors && (u !== ce.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
1337
1337
|
}
|
|
1338
1338
|
/**
|
|
1339
1339
|
* Parses a named entity.
|
|
@@ -1349,13 +1349,13 @@ class qa {
|
|
|
1349
1349
|
let r = n[this.treeIndex], o = (r & We.VALUE_LENGTH) >> 14;
|
|
1350
1350
|
for (; t < u.length; t++, this.excess++) {
|
|
1351
1351
|
const a = u.charCodeAt(t);
|
|
1352
|
-
if (this.treeIndex =
|
|
1352
|
+
if (this.treeIndex = Ha(n, r, this.treeIndex + Math.max(1, o), a), this.treeIndex < 0)
|
|
1353
1353
|
return this.result === 0 || // If we are parsing an attribute
|
|
1354
1354
|
this.decodeMode === Ge.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
1355
1355
|
(o === 0 || // And there should be no invalid characters.
|
|
1356
|
-
|
|
1356
|
+
qa(a)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
1357
1357
|
if (r = n[this.treeIndex], o = (r & We.VALUE_LENGTH) >> 14, o !== 0) {
|
|
1358
|
-
if (a ===
|
|
1358
|
+
if (a === ce.SEMI)
|
|
1359
1359
|
return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
|
|
1360
1360
|
this.decodeMode !== Ge.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
1361
1361
|
}
|
|
@@ -1395,23 +1395,23 @@ class qa {
|
|
|
1395
1395
|
end() {
|
|
1396
1396
|
var u;
|
|
1397
1397
|
switch (this.state) {
|
|
1398
|
-
case
|
|
1398
|
+
case le.NamedEntity:
|
|
1399
1399
|
return this.result !== 0 && (this.decodeMode !== Ge.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
1400
1400
|
// Otherwise, emit a numeric entity if we have one.
|
|
1401
|
-
case
|
|
1401
|
+
case le.NumericDecimal:
|
|
1402
1402
|
return this.emitNumericEntity(0, 2);
|
|
1403
|
-
case
|
|
1403
|
+
case le.NumericHex:
|
|
1404
1404
|
return this.emitNumericEntity(0, 3);
|
|
1405
|
-
case
|
|
1405
|
+
case le.NumericStart:
|
|
1406
1406
|
return (u = this.errors) === null || u === void 0 || u.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
1407
|
-
case
|
|
1407
|
+
case le.EntityStart:
|
|
1408
1408
|
return 0;
|
|
1409
1409
|
}
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function Qr(e) {
|
|
1413
1413
|
let u = "";
|
|
1414
|
-
const t = new
|
|
1414
|
+
const t = new ja(e, (n) => u += $a(n));
|
|
1415
1415
|
return function(r, o) {
|
|
1416
1416
|
let a = 0, i = 0;
|
|
1417
1417
|
for (; (i = r.indexOf("&", i)) >= 0; ) {
|
|
@@ -1431,7 +1431,7 @@ function Xr(e) {
|
|
|
1431
1431
|
return u = "", l;
|
|
1432
1432
|
};
|
|
1433
1433
|
}
|
|
1434
|
-
function
|
|
1434
|
+
function Ha(e, u, t, n) {
|
|
1435
1435
|
const r = (u & We.BRANCH_LENGTH) >> 7, o = u & We.JUMP_TABLE;
|
|
1436
1436
|
if (r === 0)
|
|
1437
1437
|
return o !== 0 && n === o ? t : -1;
|
|
@@ -1451,20 +1451,20 @@ function ja(e, u, t, n) {
|
|
|
1451
1451
|
}
|
|
1452
1452
|
return -1;
|
|
1453
1453
|
}
|
|
1454
|
-
const
|
|
1455
|
-
|
|
1456
|
-
function
|
|
1457
|
-
return
|
|
1454
|
+
const Ga = Qr(Ma);
|
|
1455
|
+
Qr(La);
|
|
1456
|
+
function Jr(e, u = Ge.Legacy) {
|
|
1457
|
+
return Ga(e, u);
|
|
1458
1458
|
}
|
|
1459
|
-
function
|
|
1459
|
+
function Va(e) {
|
|
1460
1460
|
return Object.prototype.toString.call(e);
|
|
1461
1461
|
}
|
|
1462
1462
|
function cn(e) {
|
|
1463
|
-
return
|
|
1463
|
+
return Va(e) === "[object String]";
|
|
1464
1464
|
}
|
|
1465
|
-
const
|
|
1466
|
-
function
|
|
1467
|
-
return
|
|
1465
|
+
const Wa = Object.prototype.hasOwnProperty;
|
|
1466
|
+
function Za(e, u) {
|
|
1467
|
+
return Wa.call(e, u);
|
|
1468
1468
|
}
|
|
1469
1469
|
function bt(e) {
|
|
1470
1470
|
return Array.prototype.slice.call(arguments, 1).forEach(function(t) {
|
|
@@ -1477,7 +1477,7 @@ function bt(e) {
|
|
|
1477
1477
|
}
|
|
1478
1478
|
}), e;
|
|
1479
1479
|
}
|
|
1480
|
-
function
|
|
1480
|
+
function Kr(e, u, t) {
|
|
1481
1481
|
return [].concat(e.slice(0, u), t, e.slice(u + 1));
|
|
1482
1482
|
}
|
|
1483
1483
|
function sn(e) {
|
|
@@ -1491,38 +1491,38 @@ function at(e) {
|
|
|
1491
1491
|
}
|
|
1492
1492
|
return String.fromCharCode(e);
|
|
1493
1493
|
}
|
|
1494
|
-
const
|
|
1495
|
-
function
|
|
1496
|
-
if (u.charCodeAt(0) === 35 &&
|
|
1494
|
+
const eo = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, Ya = /&([a-z#][a-z0-9]{1,31});/gi, Xa = new RegExp(eo.source + "|" + Ya.source, "gi"), Qa = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
1495
|
+
function Ja(e, u) {
|
|
1496
|
+
if (u.charCodeAt(0) === 35 && Qa.test(u)) {
|
|
1497
1497
|
const n = u[1].toLowerCase() === "x" ? parseInt(u.slice(2), 16) : parseInt(u.slice(1), 10);
|
|
1498
1498
|
return sn(n) ? at(n) : e;
|
|
1499
1499
|
}
|
|
1500
|
-
const t =
|
|
1500
|
+
const t = Jr(e);
|
|
1501
1501
|
return t !== e ? t : e;
|
|
1502
1502
|
}
|
|
1503
|
-
function
|
|
1504
|
-
return e.indexOf("\\") < 0 ? e : e.replace(
|
|
1503
|
+
function Ka(e) {
|
|
1504
|
+
return e.indexOf("\\") < 0 ? e : e.replace(eo, "$1");
|
|
1505
1505
|
}
|
|
1506
1506
|
function hu(e) {
|
|
1507
|
-
return e.indexOf("\\") < 0 && e.indexOf("&") < 0 ? e : e.replace(
|
|
1508
|
-
return t ||
|
|
1507
|
+
return e.indexOf("\\") < 0 && e.indexOf("&") < 0 ? e : e.replace(Xa, function(u, t, n) {
|
|
1508
|
+
return t || Ja(u, n);
|
|
1509
1509
|
});
|
|
1510
1510
|
}
|
|
1511
|
-
const
|
|
1511
|
+
const e0 = /[&<>"]/, u0 = /[&<>"]/g, t0 = {
|
|
1512
1512
|
"&": "&",
|
|
1513
1513
|
"<": "<",
|
|
1514
1514
|
">": ">",
|
|
1515
1515
|
'"': """
|
|
1516
1516
|
};
|
|
1517
|
-
function
|
|
1518
|
-
return
|
|
1517
|
+
function n0(e) {
|
|
1518
|
+
return t0[e];
|
|
1519
1519
|
}
|
|
1520
1520
|
function Ye(e) {
|
|
1521
|
-
return
|
|
1521
|
+
return e0.test(e) ? e.replace(u0, n0) : e;
|
|
1522
1522
|
}
|
|
1523
|
-
const
|
|
1524
|
-
function
|
|
1525
|
-
return e.replace(
|
|
1523
|
+
const r0 = /[.?*+^$[\]\\(){}|-]/g;
|
|
1524
|
+
function o0(e) {
|
|
1525
|
+
return e.replace(r0, "\\$&");
|
|
1526
1526
|
}
|
|
1527
1527
|
function J(e) {
|
|
1528
1528
|
switch (e) {
|
|
@@ -1557,7 +1557,7 @@ function Tu(e) {
|
|
|
1557
1557
|
return !1;
|
|
1558
1558
|
}
|
|
1559
1559
|
function Pu(e) {
|
|
1560
|
-
return ln.test(e) ||
|
|
1560
|
+
return ln.test(e) || Yr.test(e);
|
|
1561
1561
|
}
|
|
1562
1562
|
function Ru(e) {
|
|
1563
1563
|
switch (e) {
|
|
@@ -1601,26 +1601,26 @@ function Ru(e) {
|
|
|
1601
1601
|
function mt(e) {
|
|
1602
1602
|
return e = e.trim().replace(/\s+/g, " "), "ẞ".toLowerCase() === "Ṿ" && (e = e.replace(/ẞ/g, "ß")), e.toLowerCase().toUpperCase();
|
|
1603
1603
|
}
|
|
1604
|
-
const
|
|
1604
|
+
const i0 = { mdurl: Pa, ucmicro: Oa }, a0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1605
1605
|
__proto__: null,
|
|
1606
|
-
arrayReplaceAt:
|
|
1606
|
+
arrayReplaceAt: Kr,
|
|
1607
1607
|
assign: bt,
|
|
1608
1608
|
escapeHtml: Ye,
|
|
1609
|
-
escapeRE:
|
|
1609
|
+
escapeRE: o0,
|
|
1610
1610
|
fromCodePoint: at,
|
|
1611
|
-
has:
|
|
1611
|
+
has: Za,
|
|
1612
1612
|
isMdAsciiPunct: Ru,
|
|
1613
1613
|
isPunctChar: Pu,
|
|
1614
1614
|
isSpace: J,
|
|
1615
1615
|
isString: cn,
|
|
1616
1616
|
isValidEntityCode: sn,
|
|
1617
1617
|
isWhiteSpace: Tu,
|
|
1618
|
-
lib:
|
|
1618
|
+
lib: i0,
|
|
1619
1619
|
normalizeReference: mt,
|
|
1620
1620
|
unescapeAll: hu,
|
|
1621
|
-
unescapeMd:
|
|
1621
|
+
unescapeMd: Ka
|
|
1622
1622
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1623
|
-
function
|
|
1623
|
+
function l0(e, u, t) {
|
|
1624
1624
|
let n, r, o, a;
|
|
1625
1625
|
const i = e.posMax, l = e.pos;
|
|
1626
1626
|
for (e.pos = u + 1, n = 1; e.pos < i; ) {
|
|
@@ -1638,7 +1638,7 @@ function a0(e, u, t) {
|
|
|
1638
1638
|
let c = -1;
|
|
1639
1639
|
return r && (c = e.pos), e.pos = l, c;
|
|
1640
1640
|
}
|
|
1641
|
-
function
|
|
1641
|
+
function c0(e, u, t) {
|
|
1642
1642
|
let n, r = u;
|
|
1643
1643
|
const o = {
|
|
1644
1644
|
ok: !1,
|
|
@@ -1678,7 +1678,7 @@ function l0(e, u, t) {
|
|
|
1678
1678
|
}
|
|
1679
1679
|
return u === r || a !== 0 || (o.str = hu(e.slice(u, r)), o.pos = r, o.ok = !0), o;
|
|
1680
1680
|
}
|
|
1681
|
-
function
|
|
1681
|
+
function s0(e, u, t, n) {
|
|
1682
1682
|
let r, o = u;
|
|
1683
1683
|
const a = {
|
|
1684
1684
|
// if `true`, this is a valid link title
|
|
@@ -1711,11 +1711,11 @@ function c0(e, u, t, n) {
|
|
|
1711
1711
|
}
|
|
1712
1712
|
return a.can_continue = !0, a.str += hu(e.slice(u, o)), a;
|
|
1713
1713
|
}
|
|
1714
|
-
const
|
|
1714
|
+
const f0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1715
1715
|
__proto__: null,
|
|
1716
|
-
parseLinkDestination:
|
|
1717
|
-
parseLinkLabel:
|
|
1718
|
-
parseLinkTitle:
|
|
1716
|
+
parseLinkDestination: c0,
|
|
1717
|
+
parseLinkLabel: l0,
|
|
1718
|
+
parseLinkTitle: s0
|
|
1719
1719
|
}, Symbol.toStringTag, { value: "Module" })), Me = {};
|
|
1720
1720
|
Me.code_inline = function(e, u, t, n, r) {
|
|
1721
1721
|
const o = e[u];
|
|
@@ -1839,16 +1839,16 @@ bu.prototype.render = function(e, u, t) {
|
|
|
1839
1839
|
}
|
|
1840
1840
|
return n;
|
|
1841
1841
|
};
|
|
1842
|
-
function
|
|
1842
|
+
function _e() {
|
|
1843
1843
|
this.__rules__ = [], this.__cache__ = null;
|
|
1844
1844
|
}
|
|
1845
|
-
|
|
1845
|
+
_e.prototype.__find__ = function(e) {
|
|
1846
1846
|
for (let u = 0; u < this.__rules__.length; u++)
|
|
1847
1847
|
if (this.__rules__[u].name === e)
|
|
1848
1848
|
return u;
|
|
1849
1849
|
return -1;
|
|
1850
1850
|
};
|
|
1851
|
-
|
|
1851
|
+
_e.prototype.__compile__ = function() {
|
|
1852
1852
|
const e = this, u = [""];
|
|
1853
1853
|
e.__rules__.forEach(function(t) {
|
|
1854
1854
|
t.enabled && t.alt.forEach(function(n) {
|
|
@@ -1860,13 +1860,13 @@ xe.prototype.__compile__ = function() {
|
|
|
1860
1860
|
});
|
|
1861
1861
|
});
|
|
1862
1862
|
};
|
|
1863
|
-
|
|
1863
|
+
_e.prototype.at = function(e, u, t) {
|
|
1864
1864
|
const n = this.__find__(e), r = t || {};
|
|
1865
1865
|
if (n === -1)
|
|
1866
1866
|
throw new Error("Parser rule not found: " + e);
|
|
1867
1867
|
this.__rules__[n].fn = u, this.__rules__[n].alt = r.alt || [], this.__cache__ = null;
|
|
1868
1868
|
};
|
|
1869
|
-
|
|
1869
|
+
_e.prototype.before = function(e, u, t, n) {
|
|
1870
1870
|
const r = this.__find__(e), o = n || {};
|
|
1871
1871
|
if (r === -1)
|
|
1872
1872
|
throw new Error("Parser rule not found: " + e);
|
|
@@ -1877,7 +1877,7 @@ xe.prototype.before = function(e, u, t, n) {
|
|
|
1877
1877
|
alt: o.alt || []
|
|
1878
1878
|
}), this.__cache__ = null;
|
|
1879
1879
|
};
|
|
1880
|
-
|
|
1880
|
+
_e.prototype.after = function(e, u, t, n) {
|
|
1881
1881
|
const r = this.__find__(e), o = n || {};
|
|
1882
1882
|
if (r === -1)
|
|
1883
1883
|
throw new Error("Parser rule not found: " + e);
|
|
@@ -1888,7 +1888,7 @@ xe.prototype.after = function(e, u, t, n) {
|
|
|
1888
1888
|
alt: o.alt || []
|
|
1889
1889
|
}), this.__cache__ = null;
|
|
1890
1890
|
};
|
|
1891
|
-
|
|
1891
|
+
_e.prototype.push = function(e, u, t) {
|
|
1892
1892
|
const n = t || {};
|
|
1893
1893
|
this.__rules__.push({
|
|
1894
1894
|
name: e,
|
|
@@ -1897,7 +1897,7 @@ xe.prototype.push = function(e, u, t) {
|
|
|
1897
1897
|
alt: n.alt || []
|
|
1898
1898
|
}), this.__cache__ = null;
|
|
1899
1899
|
};
|
|
1900
|
-
|
|
1900
|
+
_e.prototype.enable = function(e, u) {
|
|
1901
1901
|
Array.isArray(e) || (e = [e]);
|
|
1902
1902
|
const t = [];
|
|
1903
1903
|
return e.forEach(function(n) {
|
|
@@ -1910,12 +1910,12 @@ xe.prototype.enable = function(e, u) {
|
|
|
1910
1910
|
this.__rules__[r].enabled = !0, t.push(n);
|
|
1911
1911
|
}, this), this.__cache__ = null, t;
|
|
1912
1912
|
};
|
|
1913
|
-
|
|
1913
|
+
_e.prototype.enableOnly = function(e, u) {
|
|
1914
1914
|
Array.isArray(e) || (e = [e]), this.__rules__.forEach(function(t) {
|
|
1915
1915
|
t.enabled = !1;
|
|
1916
1916
|
}), this.enable(e, u);
|
|
1917
1917
|
};
|
|
1918
|
-
|
|
1918
|
+
_e.prototype.disable = function(e, u) {
|
|
1919
1919
|
Array.isArray(e) || (e = [e]);
|
|
1920
1920
|
const t = [];
|
|
1921
1921
|
return e.forEach(function(n) {
|
|
@@ -1928,7 +1928,7 @@ xe.prototype.disable = function(e, u) {
|
|
|
1928
1928
|
this.__rules__[r].enabled = !1, t.push(n);
|
|
1929
1929
|
}, this), this.__cache__ = null, t;
|
|
1930
1930
|
};
|
|
1931
|
-
|
|
1931
|
+
_e.prototype.getRules = function(e) {
|
|
1932
1932
|
return this.__cache__ === null && this.__compile__(), this.__cache__[e] || [];
|
|
1933
1933
|
};
|
|
1934
1934
|
function Fe(e, u, t) {
|
|
@@ -1959,34 +1959,34 @@ Fe.prototype.attrJoin = function(u, t) {
|
|
|
1959
1959
|
const n = this.attrIndex(u);
|
|
1960
1960
|
n < 0 ? this.attrPush([u, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
|
|
1961
1961
|
};
|
|
1962
|
-
function
|
|
1962
|
+
function uo(e, u, t) {
|
|
1963
1963
|
this.src = e, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = u;
|
|
1964
1964
|
}
|
|
1965
|
-
|
|
1966
|
-
const
|
|
1967
|
-
function
|
|
1965
|
+
uo.prototype.Token = Fe;
|
|
1966
|
+
const d0 = /\r\n?|\n/g, p0 = /\0/g;
|
|
1967
|
+
function h0(e) {
|
|
1968
1968
|
let u;
|
|
1969
|
-
u = e.src.replace(
|
|
1970
|
-
`), u = u.replace(
|
|
1969
|
+
u = e.src.replace(d0, `
|
|
1970
|
+
`), u = u.replace(p0, "�"), e.src = u;
|
|
1971
1971
|
}
|
|
1972
|
-
function
|
|
1972
|
+
function b0(e) {
|
|
1973
1973
|
let u;
|
|
1974
1974
|
e.inlineMode ? (u = new e.Token("inline", "", 0), u.content = e.src, u.map = [0, 1], u.children = [], e.tokens.push(u)) : e.md.block.parse(e.src, e.md, e.env, e.tokens);
|
|
1975
1975
|
}
|
|
1976
|
-
function
|
|
1976
|
+
function m0(e) {
|
|
1977
1977
|
const u = e.tokens;
|
|
1978
1978
|
for (let t = 0, n = u.length; t < n; t++) {
|
|
1979
1979
|
const r = u[t];
|
|
1980
1980
|
r.type === "inline" && e.md.inline.parse(r.content, e.md, e.env, r.children);
|
|
1981
1981
|
}
|
|
1982
1982
|
}
|
|
1983
|
-
function
|
|
1983
|
+
function g0(e) {
|
|
1984
1984
|
return /^<a[>\s]/i.test(e);
|
|
1985
1985
|
}
|
|
1986
|
-
function
|
|
1986
|
+
function k0(e) {
|
|
1987
1987
|
return /^<\/a\s*>/i.test(e);
|
|
1988
1988
|
}
|
|
1989
|
-
function
|
|
1989
|
+
function x0(e) {
|
|
1990
1990
|
const u = e.tokens;
|
|
1991
1991
|
if (e.md.options.linkify)
|
|
1992
1992
|
for (let t = 0, n = u.length; t < n; t++) {
|
|
@@ -2000,7 +2000,7 @@ function k0(e) {
|
|
|
2000
2000
|
a--;
|
|
2001
2001
|
continue;
|
|
2002
2002
|
}
|
|
2003
|
-
if (i.type === "html_inline" && (
|
|
2003
|
+
if (i.type === "html_inline" && (g0(i.content) && o > 0 && o--, k0(i.content) && o++), !(o > 0) && i.type === "text" && e.md.linkify.test(i.content)) {
|
|
2004
2004
|
const l = i.content;
|
|
2005
2005
|
let c = e.md.linkify.match(l);
|
|
2006
2006
|
const s = [];
|
|
@@ -2028,44 +2028,44 @@ function k0(e) {
|
|
|
2028
2028
|
const x = new e.Token("text", "", 0);
|
|
2029
2029
|
x.content = l.slice(_), x.level = d, s.push(x);
|
|
2030
2030
|
}
|
|
2031
|
-
u[t].children = r =
|
|
2031
|
+
u[t].children = r = Kr(r, a, s);
|
|
2032
2032
|
}
|
|
2033
2033
|
}
|
|
2034
2034
|
}
|
|
2035
2035
|
}
|
|
2036
|
-
const
|
|
2036
|
+
const to = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, _0 = /\((c|tm|r)\)/i, v0 = /\((c|tm|r)\)/ig, y0 = {
|
|
2037
2037
|
c: "©",
|
|
2038
2038
|
r: "®",
|
|
2039
2039
|
tm: "™"
|
|
2040
2040
|
};
|
|
2041
|
-
function
|
|
2042
|
-
return
|
|
2041
|
+
function E0(e, u) {
|
|
2042
|
+
return y0[u.toLowerCase()];
|
|
2043
2043
|
}
|
|
2044
|
-
function
|
|
2044
|
+
function A0(e) {
|
|
2045
2045
|
let u = 0;
|
|
2046
2046
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
2047
2047
|
const n = e[t];
|
|
2048
|
-
n.type === "text" && !u && (n.content = n.content.replace(
|
|
2048
|
+
n.type === "text" && !u && (n.content = n.content.replace(v0, E0)), n.type === "link_open" && n.info === "auto" && u--, n.type === "link_close" && n.info === "auto" && u++;
|
|
2049
2049
|
}
|
|
2050
2050
|
}
|
|
2051
|
-
function
|
|
2051
|
+
function w0(e) {
|
|
2052
2052
|
let u = 0;
|
|
2053
2053
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
2054
2054
|
const n = e[t];
|
|
2055
|
-
n.type === "text" && !u &&
|
|
2055
|
+
n.type === "text" && !u && to.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" && u--, n.type === "link_close" && n.info === "auto" && u++;
|
|
2056
2056
|
}
|
|
2057
2057
|
}
|
|
2058
|
-
function
|
|
2058
|
+
function C0(e) {
|
|
2059
2059
|
let u;
|
|
2060
2060
|
if (e.md.options.typographer)
|
|
2061
2061
|
for (u = e.tokens.length - 1; u >= 0; u--)
|
|
2062
|
-
e.tokens[u].type === "inline" && (
|
|
2062
|
+
e.tokens[u].type === "inline" && (_0.test(e.tokens[u].content) && A0(e.tokens[u].children), to.test(e.tokens[u].content) && w0(e.tokens[u].children));
|
|
2063
2063
|
}
|
|
2064
|
-
const
|
|
2064
|
+
const D0 = /['"]/, ir = /['"]/g, ar = "’";
|
|
2065
2065
|
function Xu(e, u, t) {
|
|
2066
2066
|
return e.slice(0, u) + t + e.slice(u + 1);
|
|
2067
2067
|
}
|
|
2068
|
-
function
|
|
2068
|
+
function F0(e, u) {
|
|
2069
2069
|
let t;
|
|
2070
2070
|
const n = [];
|
|
2071
2071
|
for (let r = 0; r < e.length; r++) {
|
|
@@ -2077,8 +2077,8 @@ function D0(e, u) {
|
|
|
2077
2077
|
let i = o.content, l = 0, c = i.length;
|
|
2078
2078
|
e:
|
|
2079
2079
|
for (; l < c; ) {
|
|
2080
|
-
|
|
2081
|
-
const s =
|
|
2080
|
+
ir.lastIndex = l;
|
|
2081
|
+
const s = ir.exec(i);
|
|
2082
2082
|
if (!s)
|
|
2083
2083
|
break;
|
|
2084
2084
|
let d = !0, _ = !0;
|
|
@@ -2104,7 +2104,7 @@ function D0(e, u) {
|
|
|
2104
2104
|
}
|
|
2105
2105
|
const v = Ru(p) || Pu(String.fromCharCode(p)), A = Ru(y) || Pu(String.fromCharCode(y)), b = Tu(p), m = Tu(y);
|
|
2106
2106
|
if (m ? d = !1 : A && (b || v || (d = !1)), b ? _ = !1 : v && (m || A || (_ = !1)), y === 34 && s[0] === '"' && p >= 48 && p <= 57 && (_ = d = !1), d && _ && (d = v, _ = A), !d && !_) {
|
|
2107
|
-
x && (o.content = Xu(o.content, s.index,
|
|
2107
|
+
x && (o.content = Xu(o.content, s.index, ar));
|
|
2108
2108
|
continue;
|
|
2109
2109
|
}
|
|
2110
2110
|
if (_)
|
|
@@ -2128,16 +2128,16 @@ function D0(e, u) {
|
|
|
2128
2128
|
pos: s.index,
|
|
2129
2129
|
single: x,
|
|
2130
2130
|
level: a
|
|
2131
|
-
}) : _ && x && (o.content = Xu(o.content, s.index,
|
|
2131
|
+
}) : _ && x && (o.content = Xu(o.content, s.index, ar));
|
|
2132
2132
|
}
|
|
2133
2133
|
}
|
|
2134
2134
|
}
|
|
2135
|
-
function
|
|
2135
|
+
function S0(e) {
|
|
2136
2136
|
if (e.md.options.typographer)
|
|
2137
2137
|
for (let u = e.tokens.length - 1; u >= 0; u--)
|
|
2138
|
-
e.tokens[u].type !== "inline" || !
|
|
2138
|
+
e.tokens[u].type !== "inline" || !D0.test(e.tokens[u].content) || F0(e.tokens[u].children, e);
|
|
2139
2139
|
}
|
|
2140
|
-
function
|
|
2140
|
+
function T0(e) {
|
|
2141
2141
|
let u, t;
|
|
2142
2142
|
const n = e.tokens, r = n.length;
|
|
2143
2143
|
for (let o = 0; o < r; o++) {
|
|
@@ -2151,18 +2151,18 @@ function S0(e) {
|
|
|
2151
2151
|
}
|
|
2152
2152
|
}
|
|
2153
2153
|
const Mt = [
|
|
2154
|
-
["normalize",
|
|
2155
|
-
["block",
|
|
2156
|
-
["inline",
|
|
2157
|
-
["linkify",
|
|
2158
|
-
["replacements",
|
|
2159
|
-
["smartquotes",
|
|
2154
|
+
["normalize", h0],
|
|
2155
|
+
["block", b0],
|
|
2156
|
+
["inline", m0],
|
|
2157
|
+
["linkify", x0],
|
|
2158
|
+
["replacements", C0],
|
|
2159
|
+
["smartquotes", S0],
|
|
2160
2160
|
// `text_join` finds `text_special` tokens (for escape sequences)
|
|
2161
2161
|
// and joins them with the rest of the text
|
|
2162
|
-
["text_join",
|
|
2162
|
+
["text_join", T0]
|
|
2163
2163
|
];
|
|
2164
2164
|
function fn() {
|
|
2165
|
-
this.ruler = new
|
|
2165
|
+
this.ruler = new _e();
|
|
2166
2166
|
for (let e = 0; e < Mt.length; e++)
|
|
2167
2167
|
this.ruler.push(Mt[e][0], Mt[e][1]);
|
|
2168
2168
|
}
|
|
@@ -2171,7 +2171,7 @@ fn.prototype.process = function(e) {
|
|
|
2171
2171
|
for (let t = 0, n = u.length; t < n; t++)
|
|
2172
2172
|
u[t](e);
|
|
2173
2173
|
};
|
|
2174
|
-
fn.prototype.State =
|
|
2174
|
+
fn.prototype.State = uo;
|
|
2175
2175
|
function Le(e, u, t, n) {
|
|
2176
2176
|
this.src = e, this.md = u, 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;
|
|
2177
2177
|
const r = this.src;
|
|
@@ -2251,19 +2251,19 @@ Le.prototype.getLines = function(u, t, n, r) {
|
|
|
2251
2251
|
return o.join("");
|
|
2252
2252
|
};
|
|
2253
2253
|
Le.prototype.Token = Fe;
|
|
2254
|
-
const
|
|
2254
|
+
const P0 = 65536;
|
|
2255
2255
|
function Lt(e, u) {
|
|
2256
2256
|
const t = e.bMarks[u] + e.tShift[u], n = e.eMarks[u];
|
|
2257
2257
|
return e.src.slice(t, n);
|
|
2258
2258
|
}
|
|
2259
|
-
function
|
|
2259
|
+
function lr(e) {
|
|
2260
2260
|
const u = [], t = e.length;
|
|
2261
2261
|
let n = 0, r = e.charCodeAt(n), o = !1, a = 0, i = "";
|
|
2262
2262
|
for (; n < t; )
|
|
2263
2263
|
r === 124 && (o ? (i += e.substring(a, n - 1), a = n) : (u.push(i + e.substring(a, n)), i = "", a = n + 1)), o = r === 92, n++, r = e.charCodeAt(n);
|
|
2264
2264
|
return u.push(i + e.substring(a)), u;
|
|
2265
2265
|
}
|
|
2266
|
-
function
|
|
2266
|
+
function R0(e, u, t, n) {
|
|
2267
2267
|
if (u + 2 > t)
|
|
2268
2268
|
return !1;
|
|
2269
2269
|
let r = u + 1;
|
|
@@ -2299,7 +2299,7 @@ function P0(e, u, t, n) {
|
|
|
2299
2299
|
}
|
|
2300
2300
|
if (l = Lt(e, u).trim(), l.indexOf("|") === -1 || e.sCount[u] - e.blkIndent >= 4)
|
|
2301
2301
|
return !1;
|
|
2302
|
-
c =
|
|
2302
|
+
c = lr(l), c.length && c[0] === "" && c.shift(), c.length && c[c.length - 1] === "" && c.pop();
|
|
2303
2303
|
const d = c.length;
|
|
2304
2304
|
if (d === 0 || d !== s.length)
|
|
2305
2305
|
return !1;
|
|
@@ -2328,7 +2328,7 @@ function P0(e, u, t, n) {
|
|
|
2328
2328
|
k = !0;
|
|
2329
2329
|
break;
|
|
2330
2330
|
}
|
|
2331
|
-
if (k || (l = Lt(e, r).trim(), !l) || e.sCount[r] - e.blkIndent >= 4 || (c =
|
|
2331
|
+
if (k || (l = Lt(e, r).trim(), !l) || e.sCount[r] - e.blkIndent >= 4 || (c = lr(l), c.length && c[0] === "" && c.shift(), c.length && c[c.length - 1] === "" && c.pop(), m += d - c.length, m > P0))
|
|
2332
2332
|
break;
|
|
2333
2333
|
if (r === u + 2) {
|
|
2334
2334
|
const g = e.push("tbody_open", "tbody", 1);
|
|
@@ -2346,7 +2346,7 @@ function P0(e, u, t, n) {
|
|
|
2346
2346
|
}
|
|
2347
2347
|
return b && (e.push("tbody_close", "tbody", -1), b[1] = r), e.push("table_close", "table", -1), y[1] = r, e.parentType = _, e.line = r, !0;
|
|
2348
2348
|
}
|
|
2349
|
-
function
|
|
2349
|
+
function O0(e, u, t) {
|
|
2350
2350
|
if (e.sCount[u] - e.blkIndent < 4)
|
|
2351
2351
|
return !1;
|
|
2352
2352
|
let n = u + 1, r = n;
|
|
@@ -2366,7 +2366,7 @@ function R0(e, u, t) {
|
|
|
2366
2366
|
return o.content = e.getLines(u, r, 4 + e.blkIndent, !1) + `
|
|
2367
2367
|
`, o.map = [u, e.line], !0;
|
|
2368
2368
|
}
|
|
2369
|
-
function
|
|
2369
|
+
function M0(e, u, t, n) {
|
|
2370
2370
|
let r = e.bMarks[u] + e.tShift[u], o = e.eMarks[u];
|
|
2371
2371
|
if (e.sCount[u] - e.blkIndent >= 4 || r + 3 > o)
|
|
2372
2372
|
return !1;
|
|
@@ -2393,7 +2393,7 @@ function O0(e, u, t, n) {
|
|
|
2393
2393
|
const x = e.push("fence", "code", 0);
|
|
2394
2394
|
return x.info = s, x.content = e.getLines(u + 1, d, l, !0), x.markup = c, x.map = [u, e.line], !0;
|
|
2395
2395
|
}
|
|
2396
|
-
function
|
|
2396
|
+
function L0(e, u, t, n) {
|
|
2397
2397
|
let r = e.bMarks[u] + e.tShift[u], o = e.eMarks[u];
|
|
2398
2398
|
const a = e.lineMax;
|
|
2399
2399
|
if (e.sCount[u] - e.blkIndent >= 4 || e.src.charCodeAt(r) !== 62)
|
|
@@ -2448,7 +2448,7 @@ function M0(e, u, t, n) {
|
|
|
2448
2448
|
e.bMarks[m + u] = i[m], e.tShift[m + u] = s[m], e.sCount[m + u] = c[m], e.bsCount[m + u] = l[m];
|
|
2449
2449
|
return e.blkIndent = y, !0;
|
|
2450
2450
|
}
|
|
2451
|
-
function
|
|
2451
|
+
function N0(e, u, t, n) {
|
|
2452
2452
|
const r = e.eMarks[u];
|
|
2453
2453
|
if (e.sCount[u] - e.blkIndent >= 4)
|
|
2454
2454
|
return !1;
|
|
@@ -2471,7 +2471,7 @@ function L0(e, u, t, n) {
|
|
|
2471
2471
|
const l = e.push("hr", "hr", 0);
|
|
2472
2472
|
return l.map = [u, e.line], l.markup = Array(i + 1).join(String.fromCharCode(a)), !0;
|
|
2473
2473
|
}
|
|
2474
|
-
function
|
|
2474
|
+
function cr(e, u) {
|
|
2475
2475
|
const t = e.eMarks[u];
|
|
2476
2476
|
let n = e.bMarks[u] + e.tShift[u];
|
|
2477
2477
|
const r = e.src.charCodeAt(n++);
|
|
@@ -2484,7 +2484,7 @@ function lr(e, u) {
|
|
|
2484
2484
|
}
|
|
2485
2485
|
return n;
|
|
2486
2486
|
}
|
|
2487
|
-
function
|
|
2487
|
+
function sr(e, u) {
|
|
2488
2488
|
const t = e.bMarks[u] + e.tShift[u], n = e.eMarks[u];
|
|
2489
2489
|
let r = t;
|
|
2490
2490
|
if (r + 1 >= n)
|
|
@@ -2506,21 +2506,21 @@ function cr(e, u) {
|
|
|
2506
2506
|
}
|
|
2507
2507
|
return r < n && (o = e.src.charCodeAt(r), !J(o)) ? -1 : r;
|
|
2508
2508
|
}
|
|
2509
|
-
function
|
|
2509
|
+
function $0(e, u) {
|
|
2510
2510
|
const t = e.level + 2;
|
|
2511
2511
|
for (let n = u + 2, r = e.tokens.length - 2; n < r; n++)
|
|
2512
2512
|
e.tokens[n].level === t && e.tokens[n].type === "paragraph_open" && (e.tokens[n + 2].hidden = !0, e.tokens[n].hidden = !0, n += 2);
|
|
2513
2513
|
}
|
|
2514
|
-
function
|
|
2514
|
+
function I0(e, u, t, n) {
|
|
2515
2515
|
let r, o, a, i, l = u, c = !0;
|
|
2516
2516
|
if (e.sCount[l] - e.blkIndent >= 4 || e.listIndent >= 0 && e.sCount[l] - e.listIndent >= 4 && e.sCount[l] < e.blkIndent)
|
|
2517
2517
|
return !1;
|
|
2518
2518
|
let s = !1;
|
|
2519
2519
|
n && e.parentType === "paragraph" && e.sCount[l] >= e.blkIndent && (s = !0);
|
|
2520
2520
|
let d, _, x;
|
|
2521
|
-
if ((x =
|
|
2521
|
+
if ((x = sr(e, l)) >= 0) {
|
|
2522
2522
|
if (d = !0, a = e.bMarks[l] + e.tShift[l], _ = Number(e.src.slice(a, x - 1)), s && _ !== 1) return !1;
|
|
2523
|
-
} else if ((x =
|
|
2523
|
+
} else if ((x = cr(e, l)) >= 0)
|
|
2524
2524
|
d = !1;
|
|
2525
2525
|
else
|
|
2526
2526
|
return !1;
|
|
@@ -2539,10 +2539,10 @@ function $0(e, u, t, n) {
|
|
|
2539
2539
|
const k = e.sCount[l] + x - (e.bMarks[l] + e.tShift[l]);
|
|
2540
2540
|
let f = k;
|
|
2541
2541
|
for (; o < r; ) {
|
|
2542
|
-
const
|
|
2543
|
-
if (
|
|
2542
|
+
const oe = e.src.charCodeAt(o);
|
|
2543
|
+
if (oe === 9)
|
|
2544
2544
|
f += 4 - (f + e.bsCount[l]) % 4;
|
|
2545
|
-
else if (
|
|
2545
|
+
else if (oe === 32)
|
|
2546
2546
|
f++;
|
|
2547
2547
|
else
|
|
2548
2548
|
break;
|
|
@@ -2555,29 +2555,29 @@ function $0(e, u, t, n) {
|
|
|
2555
2555
|
i = e.push("list_item_open", "li", 1), i.markup = String.fromCharCode(p);
|
|
2556
2556
|
const C = [l, 0];
|
|
2557
2557
|
i.map = C, d && (i.info = e.src.slice(a, x - 1));
|
|
2558
|
-
const R = e.tight, S = e.tShift[l], $ = e.sCount[l],
|
|
2559
|
-
if (e.listIndent = e.blkIndent, e.blkIndent = F, e.tight = !0, e.tShift[l] = g - e.bMarks[l], e.sCount[l] = f, g >= r && e.isEmpty(l + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, l, t, !0), (!e.tight || A) && (c = !1), A = e.line - l > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent =
|
|
2558
|
+
const R = e.tight, S = e.tShift[l], $ = e.sCount[l], Y = e.listIndent;
|
|
2559
|
+
if (e.listIndent = e.blkIndent, e.blkIndent = F, e.tight = !0, e.tShift[l] = g - e.bMarks[l], e.sCount[l] = f, g >= r && e.isEmpty(l + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, l, t, !0), (!e.tight || A) && (c = !1), A = e.line - l > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = Y, e.tShift[l] = S, e.sCount[l] = $, e.tight = R, i = e.push("list_item_close", "li", -1), i.markup = String.fromCharCode(p), l = e.line, C[1] = l, l >= t || e.sCount[l] < e.blkIndent || e.sCount[l] - e.blkIndent >= 4)
|
|
2560
2560
|
break;
|
|
2561
2561
|
let K = !1;
|
|
2562
|
-
for (let
|
|
2563
|
-
if (b[
|
|
2562
|
+
for (let oe = 0, pe = b.length; oe < pe; oe++)
|
|
2563
|
+
if (b[oe](e, l, t, !0)) {
|
|
2564
2564
|
K = !0;
|
|
2565
2565
|
break;
|
|
2566
2566
|
}
|
|
2567
2567
|
if (K)
|
|
2568
2568
|
break;
|
|
2569
2569
|
if (d) {
|
|
2570
|
-
if (x =
|
|
2570
|
+
if (x = sr(e, l), x < 0)
|
|
2571
2571
|
break;
|
|
2572
2572
|
a = e.bMarks[l] + e.tShift[l];
|
|
2573
|
-
} else if (x =
|
|
2573
|
+
} else if (x = cr(e, l), x < 0)
|
|
2574
2574
|
break;
|
|
2575
2575
|
if (p !== e.src.charCodeAt(x - 1))
|
|
2576
2576
|
break;
|
|
2577
2577
|
}
|
|
2578
|
-
return d ? i = e.push("ordered_list_close", "ol", -1) : i = e.push("bullet_list_close", "ul", -1), i.markup = String.fromCharCode(p), v[1] = l, e.line = l, e.parentType = m, c &&
|
|
2578
|
+
return d ? i = e.push("ordered_list_close", "ol", -1) : i = e.push("bullet_list_close", "ul", -1), i.markup = String.fromCharCode(p), v[1] = l, e.line = l, e.parentType = m, c && $0(e, y), !0;
|
|
2579
2579
|
}
|
|
2580
|
-
function
|
|
2580
|
+
function B0(e, u, t, n) {
|
|
2581
2581
|
let r = e.bMarks[u] + e.tShift[u], o = e.eMarks[u], a = u + 1;
|
|
2582
2582
|
if (e.sCount[u] - e.blkIndent >= 4 || e.src.charCodeAt(r) !== 91)
|
|
2583
2583
|
return !1;
|
|
@@ -2668,7 +2668,7 @@ function I0(e, u, t, n) {
|
|
|
2668
2668
|
const A = mt(l.slice(1, c));
|
|
2669
2669
|
return A ? (n || (typeof e.env.references > "u" && (e.env.references = {}), typeof e.env.references[A] > "u" && (e.env.references[A] = { title: v, href: d }), e.line = a), !0) : !1;
|
|
2670
2670
|
}
|
|
2671
|
-
const
|
|
2671
|
+
const z0 = [
|
|
2672
2672
|
"address",
|
|
2673
2673
|
"article",
|
|
2674
2674
|
"aside",
|
|
@@ -2731,16 +2731,16 @@ const B0 = [
|
|
|
2731
2731
|
"tr",
|
|
2732
2732
|
"track",
|
|
2733
2733
|
"ul"
|
|
2734
|
-
],
|
|
2734
|
+
], U0 = "[a-zA-Z_:][a-zA-Z0-9:._-]*", q0 = "[^\"'=<>`\\x00-\\x20]+", j0 = "'[^']*'", H0 = '"[^"]*"', G0 = "(?:" + q0 + "|" + j0 + "|" + H0 + ")", V0 = "(?:\\s+" + U0 + "(?:\\s*=\\s*" + G0 + ")?)", no = "<[A-Za-z][A-Za-z0-9\\-]*" + V0 + "*\\s*\\/?>", ro = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", W0 = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", Z0 = "<[?][\\s\\S]*?[?]>", Y0 = "<![A-Za-z][^>]*>", X0 = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", Q0 = new RegExp("^(?:" + no + "|" + ro + "|" + W0 + "|" + Z0 + "|" + Y0 + "|" + X0 + ")"), J0 = new RegExp("^(?:" + no + "|" + ro + ")"), fu = [
|
|
2735
2735
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
2736
2736
|
[/^<!--/, /-->/, !0],
|
|
2737
2737
|
[/^<\?/, /\?>/, !0],
|
|
2738
2738
|
[/^<![A-Z]/, />/, !0],
|
|
2739
2739
|
[/^<!\[CDATA\[/, /\]\]>/, !0],
|
|
2740
|
-
[new RegExp("^</?(" +
|
|
2741
|
-
[new RegExp(
|
|
2740
|
+
[new RegExp("^</?(" + z0.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, !0],
|
|
2741
|
+
[new RegExp(J0.source + "\\s*$"), /^$/, !1]
|
|
2742
2742
|
];
|
|
2743
|
-
function
|
|
2743
|
+
function K0(e, u, t, n) {
|
|
2744
2744
|
let r = e.bMarks[u] + e.tShift[u], o = e.eMarks[u];
|
|
2745
2745
|
if (e.sCount[u] - e.blkIndent >= 4 || !e.md.options.html || e.src.charCodeAt(r) !== 60)
|
|
2746
2746
|
return !1;
|
|
@@ -2763,7 +2763,7 @@ function J0(e, u, t, n) {
|
|
|
2763
2763
|
const c = e.push("html_block", "", 0);
|
|
2764
2764
|
return c.map = [u, l], c.content = e.getLines(u, l, e.blkIndent, !0), !0;
|
|
2765
2765
|
}
|
|
2766
|
-
function
|
|
2766
|
+
function el(e, u, t, n) {
|
|
2767
2767
|
let r = e.bMarks[u] + e.tShift[u], o = e.eMarks[u];
|
|
2768
2768
|
if (e.sCount[u] - e.blkIndent >= 4)
|
|
2769
2769
|
return !1;
|
|
@@ -2787,7 +2787,7 @@ function K0(e, u, t, n) {
|
|
|
2787
2787
|
const d = e.push("heading_close", "h" + String(i), -1);
|
|
2788
2788
|
return d.markup = "########".slice(0, i), !0;
|
|
2789
2789
|
}
|
|
2790
|
-
function
|
|
2790
|
+
function ul(e, u, t) {
|
|
2791
2791
|
const n = e.md.block.ruler.getRules("paragraph");
|
|
2792
2792
|
if (e.sCount[u] - e.blkIndent >= 4)
|
|
2793
2793
|
return !1;
|
|
@@ -2827,7 +2827,7 @@ function el(e, u, t) {
|
|
|
2827
2827
|
const d = e.push("heading_close", "h" + String(o), -1);
|
|
2828
2828
|
return d.markup = String.fromCharCode(a), e.parentType = r, !0;
|
|
2829
2829
|
}
|
|
2830
|
-
function
|
|
2830
|
+
function tl(e, u, t) {
|
|
2831
2831
|
const n = e.md.block.ruler.getRules("paragraph"), r = e.parentType;
|
|
2832
2832
|
let o = u + 1;
|
|
2833
2833
|
for (e.parentType = "paragraph"; o < t && !e.isEmpty(o); o++) {
|
|
@@ -2852,20 +2852,20 @@ function ul(e, u, t) {
|
|
|
2852
2852
|
const Qu = [
|
|
2853
2853
|
// First 2 params - rule name & source. Secondary array - list of rules,
|
|
2854
2854
|
// which can be terminated by this one.
|
|
2855
|
-
["table",
|
|
2856
|
-
["code",
|
|
2857
|
-
["fence",
|
|
2858
|
-
["blockquote",
|
|
2859
|
-
["hr",
|
|
2860
|
-
["list",
|
|
2861
|
-
["reference",
|
|
2862
|
-
["html_block",
|
|
2863
|
-
["heading",
|
|
2864
|
-
["lheading",
|
|
2865
|
-
["paragraph",
|
|
2855
|
+
["table", R0, ["paragraph", "reference"]],
|
|
2856
|
+
["code", O0],
|
|
2857
|
+
["fence", M0, ["paragraph", "reference", "blockquote", "list"]],
|
|
2858
|
+
["blockquote", L0, ["paragraph", "reference", "blockquote", "list"]],
|
|
2859
|
+
["hr", N0, ["paragraph", "reference", "blockquote", "list"]],
|
|
2860
|
+
["list", I0, ["paragraph", "reference", "blockquote"]],
|
|
2861
|
+
["reference", B0],
|
|
2862
|
+
["html_block", K0, ["paragraph", "reference", "blockquote"]],
|
|
2863
|
+
["heading", el, ["paragraph", "reference", "blockquote"]],
|
|
2864
|
+
["lheading", ul],
|
|
2865
|
+
["paragraph", tl]
|
|
2866
2866
|
];
|
|
2867
2867
|
function gt() {
|
|
2868
|
-
this.ruler = new
|
|
2868
|
+
this.ruler = new _e();
|
|
2869
2869
|
for (let e = 0; e < Qu.length; e++)
|
|
2870
2870
|
this.ruler.push(Qu[e][0], Qu[e][1], { alt: (Qu[e][2] || []).slice() });
|
|
2871
2871
|
}
|
|
@@ -2918,7 +2918,7 @@ $u.prototype.scanDelims = function(e, u) {
|
|
|
2918
2918
|
return { can_open: _ && (u || !x || l), can_close: x && (u || !_ || c), length: a };
|
|
2919
2919
|
};
|
|
2920
2920
|
$u.prototype.Token = Fe;
|
|
2921
|
-
function
|
|
2921
|
+
function nl(e) {
|
|
2922
2922
|
switch (e) {
|
|
2923
2923
|
case 10:
|
|
2924
2924
|
case 33:
|
|
@@ -2948,18 +2948,18 @@ function tl(e) {
|
|
|
2948
2948
|
return !1;
|
|
2949
2949
|
}
|
|
2950
2950
|
}
|
|
2951
|
-
function
|
|
2951
|
+
function rl(e, u) {
|
|
2952
2952
|
let t = e.pos;
|
|
2953
|
-
for (; t < e.posMax && !
|
|
2953
|
+
for (; t < e.posMax && !nl(e.src.charCodeAt(t)); )
|
|
2954
2954
|
t++;
|
|
2955
2955
|
return t === e.pos ? !1 : (u || (e.pending += e.src.slice(e.pos, t)), e.pos = t, !0);
|
|
2956
2956
|
}
|
|
2957
|
-
const
|
|
2958
|
-
function
|
|
2957
|
+
const ol = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
|
|
2958
|
+
function il(e, u) {
|
|
2959
2959
|
if (!e.md.options.linkify || e.linkLevel > 0) return !1;
|
|
2960
2960
|
const t = e.pos, n = e.posMax;
|
|
2961
2961
|
if (t + 3 > n || e.src.charCodeAt(t) !== 58 || e.src.charCodeAt(t + 1) !== 47 || e.src.charCodeAt(t + 2) !== 47) return !1;
|
|
2962
|
-
const r = e.pending.match(
|
|
2962
|
+
const r = e.pending.match(ol);
|
|
2963
2963
|
if (!r) return !1;
|
|
2964
2964
|
const o = r[1], a = e.md.linkify.matchAtStart(e.src.slice(t - o.length));
|
|
2965
2965
|
if (!a) return !1;
|
|
@@ -2979,7 +2979,7 @@ function ol(e, u) {
|
|
|
2979
2979
|
}
|
|
2980
2980
|
return e.pos += i.length - o.length, !0;
|
|
2981
2981
|
}
|
|
2982
|
-
function
|
|
2982
|
+
function al(e, u) {
|
|
2983
2983
|
let t = e.pos;
|
|
2984
2984
|
if (e.src.charCodeAt(t) !== 10)
|
|
2985
2985
|
return !1;
|
|
@@ -3004,7 +3004,7 @@ for (let e = 0; e < 256; e++)
|
|
|
3004
3004
|
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e) {
|
|
3005
3005
|
dn[e.charCodeAt(0)] = 1;
|
|
3006
3006
|
});
|
|
3007
|
-
function
|
|
3007
|
+
function ll(e, u) {
|
|
3008
3008
|
let t = e.pos;
|
|
3009
3009
|
const n = e.posMax;
|
|
3010
3010
|
if (e.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
|
|
@@ -3026,7 +3026,7 @@ function al(e, u) {
|
|
|
3026
3026
|
}
|
|
3027
3027
|
return e.pos = t + 1, !0;
|
|
3028
3028
|
}
|
|
3029
|
-
function
|
|
3029
|
+
function cl(e, u) {
|
|
3030
3030
|
let t = e.pos;
|
|
3031
3031
|
if (e.src.charCodeAt(t) !== 96)
|
|
3032
3032
|
return !1;
|
|
@@ -3054,7 +3054,7 @@ function ll(e, u) {
|
|
|
3054
3054
|
}
|
|
3055
3055
|
return e.backticksScanned = !0, u || (e.pending += a), e.pos += i, !0;
|
|
3056
3056
|
}
|
|
3057
|
-
function
|
|
3057
|
+
function sl(e, u) {
|
|
3058
3058
|
const t = e.pos, n = e.src.charCodeAt(t);
|
|
3059
3059
|
if (u || n !== 126)
|
|
3060
3060
|
return !1;
|
|
@@ -3077,7 +3077,7 @@ function cl(e, u) {
|
|
|
3077
3077
|
});
|
|
3078
3078
|
return e.pos += r.length, !0;
|
|
3079
3079
|
}
|
|
3080
|
-
function
|
|
3080
|
+
function fr(e, u) {
|
|
3081
3081
|
let t;
|
|
3082
3082
|
const n = [], r = u.length;
|
|
3083
3083
|
for (let o = 0; o < r; o++) {
|
|
@@ -3095,17 +3095,17 @@ function sr(e, u) {
|
|
|
3095
3095
|
a--, o !== a && (t = e.tokens[a], e.tokens[a] = e.tokens[o], e.tokens[o] = t);
|
|
3096
3096
|
}
|
|
3097
3097
|
}
|
|
3098
|
-
function
|
|
3098
|
+
function fl(e) {
|
|
3099
3099
|
const u = e.tokens_meta, t = e.tokens_meta.length;
|
|
3100
|
-
|
|
3100
|
+
fr(e, e.delimiters);
|
|
3101
3101
|
for (let n = 0; n < t; n++)
|
|
3102
|
-
u[n] && u[n].delimiters &&
|
|
3102
|
+
u[n] && u[n].delimiters && fr(e, u[n].delimiters);
|
|
3103
3103
|
}
|
|
3104
|
-
const
|
|
3105
|
-
tokenize:
|
|
3106
|
-
postProcess:
|
|
3104
|
+
const oo = {
|
|
3105
|
+
tokenize: sl,
|
|
3106
|
+
postProcess: fl
|
|
3107
3107
|
};
|
|
3108
|
-
function
|
|
3108
|
+
function dl(e, u) {
|
|
3109
3109
|
const t = e.pos, n = e.src.charCodeAt(t);
|
|
3110
3110
|
if (u || n !== 95 && n !== 42)
|
|
3111
3111
|
return !1;
|
|
@@ -3135,7 +3135,7 @@ function fl(e, u) {
|
|
|
3135
3135
|
}
|
|
3136
3136
|
return e.pos += r.length, !0;
|
|
3137
3137
|
}
|
|
3138
|
-
function
|
|
3138
|
+
function dr(e, u) {
|
|
3139
3139
|
const t = u.length;
|
|
3140
3140
|
for (let n = t - 1; n >= 0; n--) {
|
|
3141
3141
|
const r = u[n];
|
|
@@ -3149,17 +3149,17 @@ function fr(e, u) {
|
|
|
3149
3149
|
c.type = a ? "strong_close" : "em_close", c.tag = a ? "strong" : "em", c.nesting = -1, c.markup = a ? i + i : i, c.content = "", a && (e.tokens[u[n - 1].token].content = "", e.tokens[u[r.end + 1].token].content = "", n--);
|
|
3150
3150
|
}
|
|
3151
3151
|
}
|
|
3152
|
-
function
|
|
3152
|
+
function pl(e) {
|
|
3153
3153
|
const u = e.tokens_meta, t = e.tokens_meta.length;
|
|
3154
|
-
|
|
3154
|
+
dr(e, e.delimiters);
|
|
3155
3155
|
for (let n = 0; n < t; n++)
|
|
3156
|
-
u[n] && u[n].delimiters &&
|
|
3156
|
+
u[n] && u[n].delimiters && dr(e, u[n].delimiters);
|
|
3157
3157
|
}
|
|
3158
|
-
const
|
|
3159
|
-
tokenize:
|
|
3160
|
-
postProcess:
|
|
3158
|
+
const io = {
|
|
3159
|
+
tokenize: dl,
|
|
3160
|
+
postProcess: pl
|
|
3161
3161
|
};
|
|
3162
|
-
function
|
|
3162
|
+
function hl(e, u) {
|
|
3163
3163
|
let t, n, r, o, a = "", i = "", l = e.pos, c = !0;
|
|
3164
3164
|
if (e.src.charCodeAt(e.pos) !== 91)
|
|
3165
3165
|
return !1;
|
|
@@ -3195,7 +3195,7 @@ function pl(e, u) {
|
|
|
3195
3195
|
}
|
|
3196
3196
|
return e.pos = p, e.posMax = d, !0;
|
|
3197
3197
|
}
|
|
3198
|
-
function
|
|
3198
|
+
function bl(e, u) {
|
|
3199
3199
|
let t, n, r, o, a, i, l, c, s = "";
|
|
3200
3200
|
const d = e.pos, _ = e.posMax;
|
|
3201
3201
|
if (e.src.charCodeAt(e.pos) !== 33 || e.src.charCodeAt(e.pos + 1) !== 91)
|
|
@@ -3239,8 +3239,8 @@ function hl(e, u) {
|
|
|
3239
3239
|
}
|
|
3240
3240
|
return e.pos = o, e.posMax = _, !0;
|
|
3241
3241
|
}
|
|
3242
|
-
const
|
|
3243
|
-
function
|
|
3242
|
+
const ml = /^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/, gl = /^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;
|
|
3243
|
+
function kl(e, u) {
|
|
3244
3244
|
let t = e.pos;
|
|
3245
3245
|
if (e.src.charCodeAt(t) !== 60)
|
|
3246
3246
|
return !1;
|
|
@@ -3252,7 +3252,7 @@ function gl(e, u) {
|
|
|
3252
3252
|
if (a === 62) break;
|
|
3253
3253
|
}
|
|
3254
3254
|
const o = e.src.slice(n + 1, t);
|
|
3255
|
-
if (
|
|
3255
|
+
if (gl.test(o)) {
|
|
3256
3256
|
const a = e.md.normalizeLink(o);
|
|
3257
3257
|
if (!e.md.validateLink(a))
|
|
3258
3258
|
return !1;
|
|
@@ -3266,7 +3266,7 @@ function gl(e, u) {
|
|
|
3266
3266
|
}
|
|
3267
3267
|
return e.pos += o.length + 2, !0;
|
|
3268
3268
|
}
|
|
3269
|
-
if (
|
|
3269
|
+
if (ml.test(o)) {
|
|
3270
3270
|
const a = e.md.normalizeLink("mailto:" + o);
|
|
3271
3271
|
if (!e.md.validateLink(a))
|
|
3272
3272
|
return !1;
|
|
@@ -3282,40 +3282,40 @@ function gl(e, u) {
|
|
|
3282
3282
|
}
|
|
3283
3283
|
return !1;
|
|
3284
3284
|
}
|
|
3285
|
-
function
|
|
3285
|
+
function xl(e) {
|
|
3286
3286
|
return /^<a[>\s]/i.test(e);
|
|
3287
3287
|
}
|
|
3288
|
-
function
|
|
3288
|
+
function _l(e) {
|
|
3289
3289
|
return /^<\/a\s*>/i.test(e);
|
|
3290
3290
|
}
|
|
3291
|
-
function
|
|
3291
|
+
function vl(e) {
|
|
3292
3292
|
const u = e | 32;
|
|
3293
3293
|
return u >= 97 && u <= 122;
|
|
3294
3294
|
}
|
|
3295
|
-
function
|
|
3295
|
+
function yl(e, u) {
|
|
3296
3296
|
if (!e.md.options.html)
|
|
3297
3297
|
return !1;
|
|
3298
3298
|
const t = e.posMax, n = e.pos;
|
|
3299
3299
|
if (e.src.charCodeAt(n) !== 60 || n + 2 >= t)
|
|
3300
3300
|
return !1;
|
|
3301
3301
|
const r = e.src.charCodeAt(n + 1);
|
|
3302
|
-
if (r !== 33 && r !== 63 && r !== 47 && !
|
|
3302
|
+
if (r !== 33 && r !== 63 && r !== 47 && !vl(r))
|
|
3303
3303
|
return !1;
|
|
3304
|
-
const o = e.src.slice(n).match(
|
|
3304
|
+
const o = e.src.slice(n).match(Q0);
|
|
3305
3305
|
if (!o)
|
|
3306
3306
|
return !1;
|
|
3307
3307
|
if (!u) {
|
|
3308
3308
|
const a = e.push("html_inline", "", 0);
|
|
3309
|
-
a.content = o[0],
|
|
3309
|
+
a.content = o[0], xl(a.content) && e.linkLevel++, _l(a.content) && e.linkLevel--;
|
|
3310
3310
|
}
|
|
3311
3311
|
return e.pos += o[0].length, !0;
|
|
3312
3312
|
}
|
|
3313
|
-
const
|
|
3314
|
-
function
|
|
3313
|
+
const El = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i, Al = /^&([a-z][a-z0-9]{1,31});/i;
|
|
3314
|
+
function wl(e, u) {
|
|
3315
3315
|
const t = e.pos, n = e.posMax;
|
|
3316
3316
|
if (e.src.charCodeAt(t) !== 38 || t + 1 >= n) return !1;
|
|
3317
3317
|
if (e.src.charCodeAt(t + 1) === 35) {
|
|
3318
|
-
const o = e.src.slice(t).match(
|
|
3318
|
+
const o = e.src.slice(t).match(El);
|
|
3319
3319
|
if (o) {
|
|
3320
3320
|
if (!u) {
|
|
3321
3321
|
const a = o[1][0].toLowerCase() === "x" ? parseInt(o[1].slice(1), 16) : parseInt(o[1], 10), i = e.push("text_special", "", 0);
|
|
@@ -3324,9 +3324,9 @@ function Al(e, u) {
|
|
|
3324
3324
|
return e.pos += o[0].length, !0;
|
|
3325
3325
|
}
|
|
3326
3326
|
} else {
|
|
3327
|
-
const o = e.src.slice(t).match(
|
|
3327
|
+
const o = e.src.slice(t).match(Al);
|
|
3328
3328
|
if (o) {
|
|
3329
|
-
const a =
|
|
3329
|
+
const a = Jr(o[0]);
|
|
3330
3330
|
if (a !== o[0]) {
|
|
3331
3331
|
if (!u) {
|
|
3332
3332
|
const i = e.push("text_special", "", 0);
|
|
@@ -3338,7 +3338,7 @@ function Al(e, u) {
|
|
|
3338
3338
|
}
|
|
3339
3339
|
return !1;
|
|
3340
3340
|
}
|
|
3341
|
-
function
|
|
3341
|
+
function pr(e) {
|
|
3342
3342
|
const u = {}, t = e.length;
|
|
3343
3343
|
if (!t) return;
|
|
3344
3344
|
let n = 0, r = -2;
|
|
@@ -3363,13 +3363,13 @@ function dr(e) {
|
|
|
3363
3363
|
s !== -1 && (u[i.marker][(i.open ? 3 : 0) + (i.length || 0) % 3] = s);
|
|
3364
3364
|
}
|
|
3365
3365
|
}
|
|
3366
|
-
function
|
|
3366
|
+
function Cl(e) {
|
|
3367
3367
|
const u = e.tokens_meta, t = e.tokens_meta.length;
|
|
3368
|
-
|
|
3368
|
+
pr(e.delimiters);
|
|
3369
3369
|
for (let n = 0; n < t; n++)
|
|
3370
|
-
u[n] && u[n].delimiters &&
|
|
3370
|
+
u[n] && u[n].delimiters && pr(u[n].delimiters);
|
|
3371
3371
|
}
|
|
3372
|
-
function
|
|
3372
|
+
function Dl(e) {
|
|
3373
3373
|
let u, t, n = 0;
|
|
3374
3374
|
const r = e.tokens, o = e.tokens.length;
|
|
3375
3375
|
for (u = t = 0; u < o; u++)
|
|
@@ -3377,31 +3377,31 @@ function Cl(e) {
|
|
|
3377
3377
|
u !== t && (r.length = t);
|
|
3378
3378
|
}
|
|
3379
3379
|
const Nt = [
|
|
3380
|
-
["text",
|
|
3381
|
-
["linkify",
|
|
3382
|
-
["newline",
|
|
3383
|
-
["escape",
|
|
3384
|
-
["backticks",
|
|
3385
|
-
["strikethrough",
|
|
3386
|
-
["emphasis",
|
|
3387
|
-
["link",
|
|
3388
|
-
["image",
|
|
3389
|
-
["autolink",
|
|
3390
|
-
["html_inline",
|
|
3391
|
-
["entity",
|
|
3380
|
+
["text", rl],
|
|
3381
|
+
["linkify", il],
|
|
3382
|
+
["newline", al],
|
|
3383
|
+
["escape", ll],
|
|
3384
|
+
["backticks", cl],
|
|
3385
|
+
["strikethrough", oo.tokenize],
|
|
3386
|
+
["emphasis", io.tokenize],
|
|
3387
|
+
["link", hl],
|
|
3388
|
+
["image", bl],
|
|
3389
|
+
["autolink", kl],
|
|
3390
|
+
["html_inline", yl],
|
|
3391
|
+
["entity", wl]
|
|
3392
3392
|
], $t = [
|
|
3393
|
-
["balance_pairs",
|
|
3394
|
-
["strikethrough",
|
|
3395
|
-
["emphasis",
|
|
3393
|
+
["balance_pairs", Cl],
|
|
3394
|
+
["strikethrough", oo.postProcess],
|
|
3395
|
+
["emphasis", io.postProcess],
|
|
3396
3396
|
// rules for pairs separate '**' into its own text tokens, which may be left unused,
|
|
3397
3397
|
// rule below merges unused segments back with the rest of the text
|
|
3398
|
-
["fragments_join",
|
|
3398
|
+
["fragments_join", Dl]
|
|
3399
3399
|
];
|
|
3400
3400
|
function Iu() {
|
|
3401
|
-
this.ruler = new
|
|
3401
|
+
this.ruler = new _e();
|
|
3402
3402
|
for (let e = 0; e < Nt.length; e++)
|
|
3403
3403
|
this.ruler.push(Nt[e][0], Nt[e][1]);
|
|
3404
|
-
this.ruler2 = new
|
|
3404
|
+
this.ruler2 = new _e();
|
|
3405
3405
|
for (let e = 0; e < $t.length; e++)
|
|
3406
3406
|
this.ruler2.push($t[e][0], $t[e][1]);
|
|
3407
3407
|
}
|
|
@@ -3453,9 +3453,9 @@ Iu.prototype.parse = function(e, u, t, n) {
|
|
|
3453
3453
|
o[i](r);
|
|
3454
3454
|
};
|
|
3455
3455
|
Iu.prototype.State = $u;
|
|
3456
|
-
function
|
|
3456
|
+
function Fl(e) {
|
|
3457
3457
|
const u = {};
|
|
3458
|
-
e = e || {}, u.src_Any =
|
|
3458
|
+
e = e || {}, u.src_Any = Wr.source, u.src_Cc = Zr.source, u.src_Z = Xr.source, u.src_P = ln.source, u.src_ZPCc = [u.src_Z, u.src_P, u.src_Cc].join("|"), u.src_ZCc = [u.src_Z, u.src_Cc].join("|");
|
|
3459
3459
|
const t = "[><|]";
|
|
3460
3460
|
return u.src_pseudo_letter = "(?:(?!" + t + "|" + u.src_ZPCc + ")" + u.src_Any + ")", u.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]?)", u.src_auth = "(?:(?:(?!" + u.src_ZCc + "|[@/\\[\\]()]).)+@)?", u.src_port = "(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?", u.src_host_terminator = "(?=$|" + t + "|" + u.src_ZPCc + ")(?!" + (e["---"] ? "-(?!--)|" : "-|") + "_|:\\d|\\.-|\\.(?!$|" + u.src_ZPCc + "))", u.src_path = "(?:[/?#](?:(?!" + u.src_ZCc + "|" + t + `|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!` + u.src_ZCc + "|\\]).)*\\]|\\((?:(?!" + u.src_ZCc + "|[)]).)*\\)|\\{(?:(?!" + u.src_ZCc + '|[}]).)*\\}|\\"(?:(?!' + u.src_ZCc + `|["]).)+\\"|\\'(?:(?!` + u.src_ZCc + "|[']).)+\\'|\\'(?=" + u.src_pseudo_letter + "|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!" + u.src_ZCc + "|[.]|$)|" + (e["---"] ? "\\-(?!--(?:[^-]|$))(?:-*)|" : "\\-+|") + // allow `,,,` in paths
|
|
3461
3461
|
",(?!" + u.src_ZCc + "|$)|;(?!" + u.src_ZCc + "|$)|\\!+(?!" + u.src_ZCc + "|[!]|$)|\\?(?!" + u.src_ZCc + "|[?]|$))+|\\/)?", u.src_email_name = '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*', u.src_xn = "xn--[a-z0-9\\-]{1,59}", u.src_domain_root = // Allow letters & digits (http://test1)
|
|
@@ -3475,32 +3475,32 @@ function Qt(e) {
|
|
|
3475
3475
|
function kt(e) {
|
|
3476
3476
|
return Object.prototype.toString.call(e);
|
|
3477
3477
|
}
|
|
3478
|
-
function
|
|
3478
|
+
function Sl(e) {
|
|
3479
3479
|
return kt(e) === "[object String]";
|
|
3480
3480
|
}
|
|
3481
|
-
function
|
|
3481
|
+
function Tl(e) {
|
|
3482
3482
|
return kt(e) === "[object Object]";
|
|
3483
3483
|
}
|
|
3484
|
-
function
|
|
3484
|
+
function Pl(e) {
|
|
3485
3485
|
return kt(e) === "[object RegExp]";
|
|
3486
3486
|
}
|
|
3487
|
-
function
|
|
3487
|
+
function hr(e) {
|
|
3488
3488
|
return kt(e) === "[object Function]";
|
|
3489
3489
|
}
|
|
3490
|
-
function
|
|
3490
|
+
function Rl(e) {
|
|
3491
3491
|
return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
3492
3492
|
}
|
|
3493
|
-
const
|
|
3493
|
+
const ao = {
|
|
3494
3494
|
fuzzyLink: !0,
|
|
3495
3495
|
fuzzyEmail: !0,
|
|
3496
3496
|
fuzzyIP: !1
|
|
3497
3497
|
};
|
|
3498
|
-
function
|
|
3498
|
+
function Ol(e) {
|
|
3499
3499
|
return Object.keys(e || {}).reduce(function(u, t) {
|
|
3500
|
-
return u ||
|
|
3500
|
+
return u || ao.hasOwnProperty(t);
|
|
3501
3501
|
}, !1);
|
|
3502
3502
|
}
|
|
3503
|
-
const
|
|
3503
|
+
const Ml = {
|
|
3504
3504
|
"http:": {
|
|
3505
3505
|
validate: function(e, u, t) {
|
|
3506
3506
|
const n = e.slice(u);
|
|
@@ -3532,24 +3532,24 @@ const Ol = {
|
|
|
3532
3532
|
)), t.re.mailto.test(n) ? n.match(t.re.mailto)[0].length : 0;
|
|
3533
3533
|
}
|
|
3534
3534
|
}
|
|
3535
|
-
},
|
|
3536
|
-
function
|
|
3535
|
+
}, Ll = "a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]", Nl = "biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");
|
|
3536
|
+
function $l(e) {
|
|
3537
3537
|
e.__index__ = -1, e.__text_cache__ = "";
|
|
3538
3538
|
}
|
|
3539
|
-
function
|
|
3539
|
+
function Il(e) {
|
|
3540
3540
|
return function(u, t) {
|
|
3541
3541
|
const n = u.slice(t);
|
|
3542
3542
|
return e.test(n) ? n.match(e)[0].length : 0;
|
|
3543
3543
|
};
|
|
3544
3544
|
}
|
|
3545
|
-
function
|
|
3545
|
+
function br() {
|
|
3546
3546
|
return function(e, u) {
|
|
3547
3547
|
u.normalize(e);
|
|
3548
3548
|
};
|
|
3549
3549
|
}
|
|
3550
3550
|
function lt(e) {
|
|
3551
|
-
const u = e.re =
|
|
3552
|
-
e.onCompile(), e.__tlds_replaced__ || t.push(
|
|
3551
|
+
const u = e.re = Fl(e.__opts__), t = e.__tlds__.slice();
|
|
3552
|
+
e.onCompile(), e.__tlds_replaced__ || t.push(Ll), t.push(u.src_xn), u.src_tlds = t.join("|");
|
|
3553
3553
|
function n(i) {
|
|
3554
3554
|
return i.replace("%TLDS%", u.src_tlds);
|
|
3555
3555
|
}
|
|
@@ -3564,38 +3564,38 @@ function lt(e) {
|
|
|
3564
3564
|
if (l === null)
|
|
3565
3565
|
return;
|
|
3566
3566
|
const c = { validate: null, link: null };
|
|
3567
|
-
if (e.__compiled__[i] = c,
|
|
3568
|
-
|
|
3567
|
+
if (e.__compiled__[i] = c, Tl(l)) {
|
|
3568
|
+
Pl(l.validate) ? c.validate = Il(l.validate) : hr(l.validate) ? c.validate = l.validate : o(i, l), hr(l.normalize) ? c.normalize = l.normalize : l.normalize ? o(i, l) : c.normalize = br();
|
|
3569
3569
|
return;
|
|
3570
3570
|
}
|
|
3571
|
-
if (
|
|
3571
|
+
if (Sl(l)) {
|
|
3572
3572
|
r.push(i);
|
|
3573
3573
|
return;
|
|
3574
3574
|
}
|
|
3575
3575
|
o(i, l);
|
|
3576
3576
|
}), r.forEach(function(i) {
|
|
3577
3577
|
e.__compiled__[e.__schemas__[i]] && (e.__compiled__[i].validate = e.__compiled__[e.__schemas__[i]].validate, e.__compiled__[i].normalize = e.__compiled__[e.__schemas__[i]].normalize);
|
|
3578
|
-
}), e.__compiled__[""] = { validate: null, normalize:
|
|
3578
|
+
}), e.__compiled__[""] = { validate: null, normalize: br() };
|
|
3579
3579
|
const a = Object.keys(e.__compiled__).filter(function(i) {
|
|
3580
3580
|
return i.length > 0 && e.__compiled__[i];
|
|
3581
|
-
}).map(
|
|
3581
|
+
}).map(Rl).join("|");
|
|
3582
3582
|
e.re.schema_test = RegExp("(^|(?!_)(?:[><|]|" + u.src_ZPCc + "))(" + a + ")", "i"), e.re.schema_search = RegExp("(^|(?!_)(?:[><|]|" + u.src_ZPCc + "))(" + a + ")", "ig"), e.re.schema_at_start = RegExp("^" + e.re.schema_search.source, "i"), e.re.pretest = RegExp(
|
|
3583
3583
|
"(" + e.re.schema_test.source + ")|(" + e.re.host_fuzzy_test.source + ")|@",
|
|
3584
3584
|
"i"
|
|
3585
|
-
),
|
|
3585
|
+
), $l(e);
|
|
3586
3586
|
}
|
|
3587
|
-
function
|
|
3587
|
+
function Bl(e, u) {
|
|
3588
3588
|
const t = e.__index__, n = e.__last_index__, r = e.__text_cache__.slice(t, n);
|
|
3589
3589
|
this.schema = e.__schema__.toLowerCase(), this.index = t + u, this.lastIndex = n + u, this.raw = r, this.text = r, this.url = r;
|
|
3590
3590
|
}
|
|
3591
3591
|
function Jt(e, u) {
|
|
3592
|
-
const t = new
|
|
3592
|
+
const t = new Bl(e, u);
|
|
3593
3593
|
return e.__compiled__[t.schema].normalize(t, e), t;
|
|
3594
3594
|
}
|
|
3595
3595
|
function ve(e, u) {
|
|
3596
3596
|
if (!(this instanceof ve))
|
|
3597
3597
|
return new ve(e, u);
|
|
3598
|
-
u ||
|
|
3598
|
+
u || Ol(e) && (u = e, e = {}), this.__opts__ = Qt({}, ao, u), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = Qt({}, Ml, e), this.__compiled__ = {}, this.__tlds__ = Nl, this.__tlds_replaced__ = !1, this.re = {}, lt(this);
|
|
3599
3599
|
}
|
|
3600
3600
|
ve.prototype.add = function(u, t) {
|
|
3601
3601
|
return this.__schemas__[u] = t, lt(this), this;
|
|
@@ -3648,29 +3648,29 @@ ve.prototype.normalize = function(u) {
|
|
|
3648
3648
|
};
|
|
3649
3649
|
ve.prototype.onCompile = function() {
|
|
3650
3650
|
};
|
|
3651
|
-
const du = 2147483647, Pe = 36, pn = 1, Ou = 26,
|
|
3651
|
+
const du = 2147483647, Pe = 36, pn = 1, Ou = 26, zl = 38, Ul = 700, lo = 72, co = 128, so = "-", ql = /^xn--/, jl = /[^\0-\x7F]/, Hl = /[\x2E\u3002\uFF0E\uFF61]/g, Gl = {
|
|
3652
3652
|
overflow: "Overflow: input needs wider integers to process",
|
|
3653
3653
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
3654
3654
|
"invalid-input": "Invalid input"
|
|
3655
3655
|
}, It = Pe - pn, Re = Math.floor, Bt = String.fromCharCode;
|
|
3656
3656
|
function He(e) {
|
|
3657
|
-
throw new RangeError(
|
|
3657
|
+
throw new RangeError(Gl[e]);
|
|
3658
3658
|
}
|
|
3659
|
-
function
|
|
3659
|
+
function Vl(e, u) {
|
|
3660
3660
|
const t = [];
|
|
3661
3661
|
let n = e.length;
|
|
3662
3662
|
for (; n--; )
|
|
3663
3663
|
t[n] = u(e[n]);
|
|
3664
3664
|
return t;
|
|
3665
3665
|
}
|
|
3666
|
-
function
|
|
3666
|
+
function fo(e, u) {
|
|
3667
3667
|
const t = e.split("@");
|
|
3668
3668
|
let n = "";
|
|
3669
|
-
t.length > 1 && (n = t[0] + "@", e = t[1]), e = e.replace(
|
|
3670
|
-
const r = e.split("."), o =
|
|
3669
|
+
t.length > 1 && (n = t[0] + "@", e = t[1]), e = e.replace(Hl, ".");
|
|
3670
|
+
const r = e.split("."), o = Vl(r, u).join(".");
|
|
3671
3671
|
return n + o;
|
|
3672
3672
|
}
|
|
3673
|
-
function
|
|
3673
|
+
function po(e) {
|
|
3674
3674
|
const u = [];
|
|
3675
3675
|
let t = 0;
|
|
3676
3676
|
const n = e.length;
|
|
@@ -3684,18 +3684,18 @@ function fo(e) {
|
|
|
3684
3684
|
}
|
|
3685
3685
|
return u;
|
|
3686
3686
|
}
|
|
3687
|
-
const
|
|
3687
|
+
const Wl = (e) => String.fromCodePoint(...e), Zl = function(e) {
|
|
3688
3688
|
return e >= 48 && e < 58 ? 26 + (e - 48) : e >= 65 && e < 91 ? e - 65 : e >= 97 && e < 123 ? e - 97 : Pe;
|
|
3689
|
-
},
|
|
3689
|
+
}, mr = function(e, u) {
|
|
3690
3690
|
return e + 22 + 75 * (e < 26) - ((u != 0) << 5);
|
|
3691
|
-
},
|
|
3691
|
+
}, ho = function(e, u, t) {
|
|
3692
3692
|
let n = 0;
|
|
3693
|
-
for (e = t ? Re(e /
|
|
3693
|
+
for (e = t ? Re(e / Ul) : e >> 1, e += Re(e / u); e > It * Ou >> 1; n += Pe)
|
|
3694
3694
|
e = Re(e / It);
|
|
3695
|
-
return Re(n + (It + 1) * e / (e +
|
|
3696
|
-
},
|
|
3695
|
+
return Re(n + (It + 1) * e / (e + zl));
|
|
3696
|
+
}, bo = function(e) {
|
|
3697
3697
|
const u = [], t = e.length;
|
|
3698
|
-
let n = 0, r =
|
|
3698
|
+
let n = 0, r = co, o = lo, a = e.lastIndexOf(so);
|
|
3699
3699
|
a < 0 && (a = 0);
|
|
3700
3700
|
for (let i = 0; i < a; ++i)
|
|
3701
3701
|
e.charCodeAt(i) >= 128 && He("not-basic"), u.push(e.charCodeAt(i));
|
|
@@ -3703,7 +3703,7 @@ const Vl = (e) => String.fromCodePoint(...e), Wl = function(e) {
|
|
|
3703
3703
|
const l = n;
|
|
3704
3704
|
for (let s = 1, d = Pe; ; d += Pe) {
|
|
3705
3705
|
i >= t && He("invalid-input");
|
|
3706
|
-
const _ =
|
|
3706
|
+
const _ = Zl(e.charCodeAt(i++));
|
|
3707
3707
|
_ >= Pe && He("invalid-input"), _ > Re((du - n) / s) && He("overflow"), n += _ * s;
|
|
3708
3708
|
const x = d <= o ? pn : d >= o + Ou ? Ou : d - o;
|
|
3709
3709
|
if (_ < x)
|
|
@@ -3712,19 +3712,19 @@ const Vl = (e) => String.fromCodePoint(...e), Wl = function(e) {
|
|
|
3712
3712
|
s > Re(du / p) && He("overflow"), s *= p;
|
|
3713
3713
|
}
|
|
3714
3714
|
const c = u.length + 1;
|
|
3715
|
-
o =
|
|
3715
|
+
o = ho(n - l, c, l == 0), Re(n / c) > du - r && He("overflow"), r += Re(n / c), n %= c, u.splice(n++, 0, r);
|
|
3716
3716
|
}
|
|
3717
3717
|
return String.fromCodePoint(...u);
|
|
3718
|
-
},
|
|
3718
|
+
}, mo = function(e) {
|
|
3719
3719
|
const u = [];
|
|
3720
|
-
e =
|
|
3720
|
+
e = po(e);
|
|
3721
3721
|
const t = e.length;
|
|
3722
|
-
let n =
|
|
3722
|
+
let n = co, r = 0, o = lo;
|
|
3723
3723
|
for (const l of e)
|
|
3724
3724
|
l < 128 && u.push(Bt(l));
|
|
3725
3725
|
const a = u.length;
|
|
3726
3726
|
let i = a;
|
|
3727
|
-
for (a && u.push(
|
|
3727
|
+
for (a && u.push(so); i < t; ) {
|
|
3728
3728
|
let l = du;
|
|
3729
3729
|
for (const s of e)
|
|
3730
3730
|
s >= n && s < l && (l = s);
|
|
@@ -3739,23 +3739,23 @@ const Vl = (e) => String.fromCodePoint(...e), Wl = function(e) {
|
|
|
3739
3739
|
break;
|
|
3740
3740
|
const p = d - x, y = Pe - x;
|
|
3741
3741
|
u.push(
|
|
3742
|
-
Bt(
|
|
3742
|
+
Bt(mr(x + p % y, 0))
|
|
3743
3743
|
), d = Re(p / y);
|
|
3744
3744
|
}
|
|
3745
|
-
u.push(Bt(
|
|
3745
|
+
u.push(Bt(mr(d, 0))), o = ho(r, c, i === a), r = 0, ++i;
|
|
3746
3746
|
}
|
|
3747
3747
|
++r, ++n;
|
|
3748
3748
|
}
|
|
3749
3749
|
return u.join("");
|
|
3750
|
-
}, Zl = function(e) {
|
|
3751
|
-
return so(e, function(u) {
|
|
3752
|
-
return Ul.test(u) ? ho(u.slice(4).toLowerCase()) : u;
|
|
3753
|
-
});
|
|
3754
3750
|
}, Yl = function(e) {
|
|
3755
|
-
return
|
|
3756
|
-
return ql.test(u) ?
|
|
3751
|
+
return fo(e, function(u) {
|
|
3752
|
+
return ql.test(u) ? bo(u.slice(4).toLowerCase()) : u;
|
|
3753
|
+
});
|
|
3754
|
+
}, Xl = function(e) {
|
|
3755
|
+
return fo(e, function(u) {
|
|
3756
|
+
return jl.test(u) ? "xn--" + mo(u) : u;
|
|
3757
3757
|
});
|
|
3758
|
-
},
|
|
3758
|
+
}, go = {
|
|
3759
3759
|
/**
|
|
3760
3760
|
* A string representing the current Punycode.js version number.
|
|
3761
3761
|
* @memberOf punycode
|
|
@@ -3770,14 +3770,14 @@ const Vl = (e) => String.fromCodePoint(...e), Wl = function(e) {
|
|
|
3770
3770
|
* @type Object
|
|
3771
3771
|
*/
|
|
3772
3772
|
ucs2: {
|
|
3773
|
-
decode:
|
|
3774
|
-
encode:
|
|
3773
|
+
decode: po,
|
|
3774
|
+
encode: Wl
|
|
3775
3775
|
},
|
|
3776
|
-
decode:
|
|
3777
|
-
encode:
|
|
3778
|
-
toASCII:
|
|
3779
|
-
toUnicode:
|
|
3780
|
-
},
|
|
3776
|
+
decode: bo,
|
|
3777
|
+
encode: mo,
|
|
3778
|
+
toASCII: Xl,
|
|
3779
|
+
toUnicode: Yl
|
|
3780
|
+
}, Ql = {
|
|
3781
3781
|
options: {
|
|
3782
3782
|
// Enable HTML tags in source
|
|
3783
3783
|
html: !1,
|
|
@@ -3813,7 +3813,7 @@ const Vl = (e) => String.fromCodePoint(...e), Wl = function(e) {
|
|
|
3813
3813
|
block: {},
|
|
3814
3814
|
inline: {}
|
|
3815
3815
|
}
|
|
3816
|
-
},
|
|
3816
|
+
}, Jl = {
|
|
3817
3817
|
options: {
|
|
3818
3818
|
// Enable HTML tags in source
|
|
3819
3819
|
html: !1,
|
|
@@ -3868,7 +3868,7 @@ const Vl = (e) => String.fromCodePoint(...e), Wl = function(e) {
|
|
|
3868
3868
|
]
|
|
3869
3869
|
}
|
|
3870
3870
|
}
|
|
3871
|
-
},
|
|
3871
|
+
}, Kl = {
|
|
3872
3872
|
options: {
|
|
3873
3873
|
// Enable HTML tags in source
|
|
3874
3874
|
html: !0,
|
|
@@ -3942,30 +3942,30 @@ const Vl = (e) => String.fromCodePoint(...e), Wl = function(e) {
|
|
|
3942
3942
|
]
|
|
3943
3943
|
}
|
|
3944
3944
|
}
|
|
3945
|
-
},
|
|
3946
|
-
default:
|
|
3947
|
-
zero:
|
|
3948
|
-
commonmark:
|
|
3949
|
-
},
|
|
3950
|
-
function
|
|
3945
|
+
}, ec = {
|
|
3946
|
+
default: Ql,
|
|
3947
|
+
zero: Jl,
|
|
3948
|
+
commonmark: Kl
|
|
3949
|
+
}, uc = /^(vbscript|javascript|file|data):/, tc = /^data:image\/(gif|png|jpeg|webp);/;
|
|
3950
|
+
function nc(e) {
|
|
3951
3951
|
const u = e.trim().toLowerCase();
|
|
3952
|
-
return
|
|
3952
|
+
return uc.test(u) ? tc.test(u) : !0;
|
|
3953
3953
|
}
|
|
3954
|
-
const
|
|
3955
|
-
function
|
|
3954
|
+
const ko = ["http:", "https:", "mailto:"];
|
|
3955
|
+
function rc(e) {
|
|
3956
3956
|
const u = an(e, !0);
|
|
3957
|
-
if (u.hostname && (!u.protocol ||
|
|
3957
|
+
if (u.hostname && (!u.protocol || ko.indexOf(u.protocol) >= 0))
|
|
3958
3958
|
try {
|
|
3959
|
-
u.hostname =
|
|
3959
|
+
u.hostname = go.toASCII(u.hostname);
|
|
3960
3960
|
} catch {
|
|
3961
3961
|
}
|
|
3962
3962
|
return Nu(on(u));
|
|
3963
3963
|
}
|
|
3964
|
-
function
|
|
3964
|
+
function oc(e) {
|
|
3965
3965
|
const u = an(e, !0);
|
|
3966
|
-
if (u.hostname && (!u.protocol ||
|
|
3966
|
+
if (u.hostname && (!u.protocol || ko.indexOf(u.protocol) >= 0))
|
|
3967
3967
|
try {
|
|
3968
|
-
u.hostname =
|
|
3968
|
+
u.hostname = go.toUnicode(u.hostname);
|
|
3969
3969
|
} catch {
|
|
3970
3970
|
}
|
|
3971
3971
|
return pu(on(u), pu.defaultChars + "%");
|
|
@@ -3973,7 +3973,7 @@ function rc(e) {
|
|
|
3973
3973
|
function we(e, u) {
|
|
3974
3974
|
if (!(this instanceof we))
|
|
3975
3975
|
return new we(e, u);
|
|
3976
|
-
u || cn(e) || (u = e || {}, e = "default"), this.inline = new Iu(), this.block = new gt(), this.core = new fn(), this.renderer = new bu(), this.linkify = new ve(), this.validateLink =
|
|
3976
|
+
u || cn(e) || (u = e || {}, e = "default"), this.inline = new Iu(), this.block = new gt(), this.core = new fn(), this.renderer = new bu(), this.linkify = new ve(), this.validateLink = nc, this.normalizeLink = rc, this.normalizeLinkText = oc, this.utils = a0, this.helpers = bt({}, f0), this.options = {}, this.configure(e), u && this.set(u);
|
|
3977
3977
|
}
|
|
3978
3978
|
we.prototype.set = function(e) {
|
|
3979
3979
|
return bt(this.options, e), this;
|
|
@@ -3982,7 +3982,7 @@ we.prototype.configure = function(e) {
|
|
|
3982
3982
|
const u = this;
|
|
3983
3983
|
if (cn(e)) {
|
|
3984
3984
|
const t = e;
|
|
3985
|
-
if (e =
|
|
3985
|
+
if (e = ec[t], !e)
|
|
3986
3986
|
throw new Error('Wrong `markdown-it` preset "' + t + '", check name');
|
|
3987
3987
|
}
|
|
3988
3988
|
if (!e)
|
|
@@ -4035,15 +4035,15 @@ we.prototype.parseInline = function(e, u) {
|
|
|
4035
4035
|
we.prototype.renderInline = function(e, u) {
|
|
4036
4036
|
return u = u || {}, this.renderer.render(this.parseInline(e, u), this.options, u);
|
|
4037
4037
|
};
|
|
4038
|
-
function
|
|
4039
|
-
const { manual: t = !1, domPurify: n = !0, ...r } = u ?? {}, o = G(Vt(e) ? q(e.value) :
|
|
4038
|
+
function ic(e, u) {
|
|
4039
|
+
const { manual: t = !1, domPurify: n = !0, ...r } = u ?? {}, o = G(Vt(e) ? q(e.value) : No(e) ? q(e) : e);
|
|
4040
4040
|
Vt(e) && De(() => {
|
|
4041
4041
|
o.value = q(e.value);
|
|
4042
4042
|
});
|
|
4043
4043
|
const a = G(""), i = G(), l = we({ ...r });
|
|
4044
4044
|
function c(s) {
|
|
4045
4045
|
const d = l.render(s);
|
|
4046
|
-
if (a.value = n ?
|
|
4046
|
+
if (a.value = n ? _a.sanitize(d) : d, i.value) i.value.innerHTML = a.value;
|
|
4047
4047
|
else {
|
|
4048
4048
|
const _ = ze(i, (x) => {
|
|
4049
4049
|
x && (x.innerHTML = a.value, _());
|
|
@@ -4061,8 +4061,8 @@ function oc(e, u) {
|
|
|
4061
4061
|
render: c
|
|
4062
4062
|
};
|
|
4063
4063
|
}
|
|
4064
|
-
function
|
|
4065
|
-
const { step: t = 1, interval: n = 50, enabled: r = !0 } = u ?? {}, o = G(0), a = G(!1), i = G(!1), l = G(!1), c =
|
|
4064
|
+
function ac(e, u) {
|
|
4065
|
+
const { step: t = 1, interval: n = 50, enabled: r = !0 } = u ?? {}, o = G(0), a = G(!1), i = G(!1), l = G(!1), c = ne(() => r ? e.value.slice(0, o.value) : e.value), s = ne(() => Number(Math.min(o.value / e.value.length * 100, 100).toFixed(2)));
|
|
4066
4066
|
let d = null;
|
|
4067
4067
|
const _ = Ve(), x = Ve(), p = Ve();
|
|
4068
4068
|
ze(e, (f, g) => {
|
|
@@ -4097,7 +4097,7 @@ function ic(e, u) {
|
|
|
4097
4097
|
d && clearTimeout(d), y();
|
|
4098
4098
|
}
|
|
4099
4099
|
function b() {
|
|
4100
|
-
d && clearTimeout(d), o.value = 0,
|
|
4100
|
+
d && clearTimeout(d), o.value = 0, Pr(() => {
|
|
4101
4101
|
y();
|
|
4102
4102
|
});
|
|
4103
4103
|
}
|
|
@@ -4125,13 +4125,13 @@ function ic(e, u) {
|
|
|
4125
4125
|
onUpdate: p.on
|
|
4126
4126
|
};
|
|
4127
4127
|
}
|
|
4128
|
-
var
|
|
4129
|
-
function
|
|
4128
|
+
var gr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
4129
|
+
function lc(e) {
|
|
4130
4130
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
4131
4131
|
}
|
|
4132
|
-
var zt = { exports: {} },
|
|
4133
|
-
function
|
|
4134
|
-
return
|
|
4132
|
+
var zt = { exports: {} }, kr;
|
|
4133
|
+
function cc() {
|
|
4134
|
+
return kr || (kr = 1, (function(e) {
|
|
4135
4135
|
var u = typeof window < "u" ? window : typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope ? self : {};
|
|
4136
4136
|
/**
|
|
4137
4137
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
@@ -4754,41 +4754,41 @@ function lc() {
|
|
|
4754
4754
|
for (var R = 0; R < C.length; ++R) {
|
|
4755
4755
|
if (E && E.cause == F + "," + R)
|
|
4756
4756
|
return;
|
|
4757
|
-
var S = C[R], $ = S.inside,
|
|
4757
|
+
var S = C[R], $ = S.inside, Y = !!S.lookbehind, K = !!S.greedy, oe = S.alias;
|
|
4758
4758
|
if (K && !S.pattern.global) {
|
|
4759
|
-
var
|
|
4760
|
-
S.pattern = RegExp(S.pattern.source,
|
|
4759
|
+
var pe = S.pattern.toString().match(/[imsuy]*$/)[0];
|
|
4760
|
+
S.pattern = RegExp(S.pattern.source, pe + "g");
|
|
4761
4761
|
}
|
|
4762
|
-
for (var
|
|
4763
|
-
var
|
|
4762
|
+
for (var re = S.pattern || S, W = f.next, P = g; W !== m.tail && !(E && P >= E.reach); P += W.value.length, W = W.next) {
|
|
4763
|
+
var ee = W.value;
|
|
4764
4764
|
if (m.length > b.length)
|
|
4765
4765
|
return;
|
|
4766
|
-
if (!(
|
|
4766
|
+
if (!(ee instanceof l)) {
|
|
4767
4767
|
var j = 1, T;
|
|
4768
4768
|
if (K) {
|
|
4769
|
-
if (T = c(
|
|
4769
|
+
if (T = c(re, P, b, Y), !T || T.index >= b.length)
|
|
4770
4770
|
break;
|
|
4771
4771
|
var ye = T.index, B = T.index + T[0].length, N = P;
|
|
4772
|
-
for (N +=
|
|
4773
|
-
|
|
4774
|
-
if (N -=
|
|
4772
|
+
for (N += W.value.length; ye >= N; )
|
|
4773
|
+
W = W.next, N += W.value.length;
|
|
4774
|
+
if (N -= W.value.length, P = N, W.value instanceof l)
|
|
4775
4775
|
continue;
|
|
4776
|
-
for (var z =
|
|
4776
|
+
for (var z = W; z !== m.tail && (N < B || typeof z.value == "string"); z = z.next)
|
|
4777
4777
|
j++, N += z.value.length;
|
|
4778
|
-
j--,
|
|
4779
|
-
} else if (T = c(
|
|
4778
|
+
j--, ee = b.slice(P, N), T.index -= P;
|
|
4779
|
+
} else if (T = c(re, 0, ee, Y), !T)
|
|
4780
4780
|
continue;
|
|
4781
|
-
var ye = T.index, Se = T[0], tu =
|
|
4781
|
+
var ye = T.index, Se = T[0], tu = ee.slice(0, ye), nu = ee.slice(ye + Se.length), ru = P + ee.length;
|
|
4782
4782
|
E && ru > E.reach && (E.reach = ru);
|
|
4783
|
-
var Xe =
|
|
4783
|
+
var Xe = W.prev;
|
|
4784
4784
|
tu && (Xe = _(m, Xe, tu), P += tu.length), x(m, Xe, j);
|
|
4785
|
-
var qe = new l(F, $ ? i.tokenize(Se, $) : Se,
|
|
4786
|
-
if (
|
|
4785
|
+
var qe = new l(F, $ ? i.tokenize(Se, $) : Se, oe, Se);
|
|
4786
|
+
if (W = _(m, Xe, qe), nu && _(m, W, nu), j > 1) {
|
|
4787
4787
|
var je = {
|
|
4788
4788
|
cause: F + "," + R,
|
|
4789
4789
|
reach: ru
|
|
4790
4790
|
};
|
|
4791
|
-
s(b, m, k,
|
|
4791
|
+
s(b, m, k, W.prev, P, je), E && je.reach > E.reach && (E.reach = je.reach);
|
|
4792
4792
|
}
|
|
4793
4793
|
}
|
|
4794
4794
|
}
|
|
@@ -4829,7 +4829,7 @@ function lc() {
|
|
|
4829
4829
|
}
|
|
4830
4830
|
return i;
|
|
4831
4831
|
})(u);
|
|
4832
|
-
e.exports && (e.exports = t), typeof
|
|
4832
|
+
e.exports && (e.exports = t), typeof gr < "u" && (gr.Prism = t), t.languages.markup = {
|
|
4833
4833
|
comment: {
|
|
4834
4834
|
pattern: /<!--(?:(?!<!--)[\s\S])*?-->/,
|
|
4835
4835
|
greedy: !0
|
|
@@ -5288,10 +5288,10 @@ function lc() {
|
|
|
5288
5288
|
})();
|
|
5289
5289
|
})(zt)), zt.exports;
|
|
5290
5290
|
}
|
|
5291
|
-
var
|
|
5292
|
-
const tt = /* @__PURE__ */
|
|
5291
|
+
var sc = cc();
|
|
5292
|
+
const tt = /* @__PURE__ */ lc(sc);
|
|
5293
5293
|
typeof document < "u" && tt.highlightAll();
|
|
5294
|
-
function
|
|
5294
|
+
function fc(e, u) {
|
|
5295
5295
|
try {
|
|
5296
5296
|
const t = tt.languages[u];
|
|
5297
5297
|
if (t) {
|
|
@@ -5303,14 +5303,14 @@ function sc(e, u) {
|
|
|
5303
5303
|
return e;
|
|
5304
5304
|
}
|
|
5305
5305
|
}
|
|
5306
|
-
const
|
|
5306
|
+
const dc = `
|
|
5307
5307
|
code[class*=language-],pre[class*=language-]{background:#282c34;color:#abb2bf;text-shadow:0 1px rgba(0,0,0,.3);font-family:"Fira Code","Fira Mono",Menlo,Consolas,"DejaVu Sans Mono",monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-] ::-moz-selection{background:#3e4451;color:inherit;text-shadow:none}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-] ::selection{background:#3e4451;color:inherit;text-shadow:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-]{padding:.2em .3em;border-radius:.3em;white-space:normal}@media print{code[class*=language-],pre[class*=language-]{text-shadow:none}}.token.comment,.token.prolog,.token.cdata{color:#5c6370}.token.doctype,.token.punctuation,.token.entity{color:#abb2bf}.token.attr-name,.token.class-name,.token.boolean,.token.constant,.token.number,.token.atrule{color:#d19a66}.token.keyword{color:#c678dd}.token.property,.token.tag,.token.symbol,.token.deleted,.token.important{color:#e06c75}.token.selector,.token.string,.token.char,.token.builtin,.token.inserted,.token.regex,.token.attr-value,.token.attr-value>.token.punctuation{color:#98c379}.token.variable,.token.operator,.token.function{color:#61afef}.token.url{color:#56b6c2}.token.attr-value>.token.punctuation.attr-equals,.token.special-attr>.token.attr-value>.token.value.css{color:#abb2bf}.language-css .token.selector{color:#e06c75}.language-css .token.property{color:#abb2bf}.language-css .token.function,.language-css .token.url>.token.function{color:#56b6c2}.language-css .token.url>.token.string.url{color:#98c379}.language-css .token.important,.language-css .token.atrule .token.rule{color:#c678dd}.language-javascript .token.operator{color:#c678dd}.language-javascript .token.template-string>.token.interpolation>.token.interpolation-punctuation.punctuation{color:#be5046}.language-json .token.operator{color:#abb2bf}.language-json .token.null.keyword{color:#d19a66}.language-markdown .token.url,.language-markdown .token.url>.token.operator,.language-markdown .token.url-reference.url>.token.string{color:#abb2bf}.language-markdown .token.url>.token.content{color:#61afef}.language-markdown .token.url>.token.url,.language-markdown .token.url-reference.url{color:#56b6c2}.language-markdown .token.blockquote.punctuation,.language-markdown .token.hr.punctuation{color:#5c6370;font-style:italic}.language-markdown .token.code-snippet{color:#98c379}.language-markdown .token.bold .token.content{color:#d19a66}.language-markdown .token.italic .token.content{color:#c678dd}.language-markdown .token.strike .token.content,.language-markdown .token.strike .token.punctuation,.language-markdown .token.list.punctuation,.language-markdown .token.title.important>.token.punctuation{color:#e06c75}.token.bold{font-weight:700}.token.comment,.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.8}.token.token.tab:not(:empty):before,.token.token.cr:before,.token.token.lf:before,.token.token.space:before{color:rgba(171,178,191,.15);text-shadow:none}div.code-toolbar>.toolbar.toolbar>.toolbar-item{margin-right:.4em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span{background:#3a3f4b;color:#828997;padding:.1em .4em;border-radius:.3em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:focus{background:#3e4451;color:#abb2bf}.line-highlight.line-highlight{background:rgba(153,187,255,.04)}.line-highlight.line-highlight:before,.line-highlight.line-highlight[data-end]:after{background:#3a3f4b;color:#abb2bf;padding:.1em .6em;border-radius:.3em;box-shadow:0 2px 0 0 rgba(0,0,0,.2)}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:rgba(153,187,255,.04)}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:rgba(171,178,191,.15)}.line-numbers .line-numbers-rows>span:before,.command-line .command-line-prompt>span:before{color:#636d83}.rainbow-braces .token.token.punctuation.brace-level-1,.rainbow-braces .token.token.punctuation.brace-level-5,.rainbow-braces .token.token.punctuation.brace-level-9{color:#e06c75}.rainbow-braces .token.token.punctuation.brace-level-2,.rainbow-braces .token.token.punctuation.brace-level-6,.rainbow-braces .token.token.punctuation.brace-level-10{color:#98c379}.rainbow-braces .token.token.punctuation.brace-level-3,.rainbow-braces .token.token.punctuation.brace-level-7,.rainbow-braces .token.token.punctuation.brace-level-11{color:#61afef}.rainbow-braces .token.token.punctuation.brace-level-4,.rainbow-braces .token.token.punctuation.brace-level-8,.rainbow-braces .token.token.punctuation.brace-level-12{color:#c678dd}pre.diff-highlight>code .token.token.deleted:not(.prefix),pre>code.diff-highlight .token.token.deleted:not(.prefix){background-color:rgba(255,82,102,.15)}pre.diff-highlight>code .token.token.deleted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) ::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) ::-moz-selection{background-color:rgba(251,86,105,.25)}pre.diff-highlight>code .token.token.deleted:not(.prefix)::selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) ::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) ::selection{background-color:rgba(251,86,105,.25)}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:rgba(26,255,91,.15)}pre.diff-highlight>code .token.token.inserted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) ::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) ::-moz-selection{background-color:rgba(56,224,98,.25)}pre.diff-highlight>code .token.token.inserted:not(.prefix)::selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) ::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) ::selection{background-color:rgba(56,224,98,.25)}.prism-previewer.prism-previewer:before,.prism-previewer-gradient.prism-previewer-gradient div{border-color:#262931}.prism-previewer-color.prism-previewer-color:before,.prism-previewer-gradient.prism-previewer-gradient div,.prism-previewer-easing.prism-previewer-easing:before{border-radius:.3em}.prism-previewer.prism-previewer:after{border-top-color:#262931}.prism-previewer-flipped.prism-previewer-flipped.after{border-bottom-color:#262931}.prism-previewer-angle.prism-previewer-angle:before,.prism-previewer-time.prism-previewer-time:before,.prism-previewer-easing.prism-previewer-easing{background:#31363f}.prism-previewer-angle.prism-previewer-angle circle,.prism-previewer-time.prism-previewer-time circle{stroke:#abb2bf;stroke-opacity:1}.prism-previewer-easing.prism-previewer-easing circle,.prism-previewer-easing.prism-previewer-easing path,.prism-previewer-easing.prism-previewer-easing line{stroke:#abb2bf}.prism-previewer-easing.prism-previewer-easing circle{fill:transparent}
|
|
5308
|
-
`,
|
|
5308
|
+
`, pc = `
|
|
5309
5309
|
code[class*=language-],pre[class*=language-]{background:#fafafa;color:#383a42;font-family:"Fira Code","Fira Mono",Menlo,Consolas,"DejaVu Sans Mono",monospace;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;line-height:1.5;-moz-tab-size:2;-o-tab-size:2;tab-size:2;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}code[class*=language-]::-moz-selection,code[class*=language-] ::-moz-selection,pre[class*=language-] ::-moz-selection{background:#e5e5e6;color:inherit}code[class*=language-]::selection,code[class*=language-] ::selection,pre[class*=language-] ::selection{background:#e5e5e6;color:inherit}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-]{padding:.2em .3em;border-radius:.3em;white-space:normal}.token.comment,.token.prolog,.token.cdata{color:#a0a1a7}.token.doctype,.token.punctuation,.token.entity{color:#383a42}.token.attr-name,.token.class-name,.token.boolean,.token.constant,.token.number,.token.atrule{color:#b76b01}.token.keyword{color:#a626a4}.token.property,.token.tag,.token.symbol,.token.deleted,.token.important{color:#e45649}.token.selector,.token.string,.token.char,.token.builtin,.token.inserted,.token.regex,.token.attr-value,.token.attr-value>.token.punctuation{color:#50a14f}.token.variable,.token.operator,.token.function{color:#4078f2}.token.url{color:#0184bc}.token.attr-value>.token.punctuation.attr-equals,.token.special-attr>.token.attr-value>.token.value.css{color:#383a42}.language-css .token.selector{color:#e45649}.language-css .token.property{color:#383a42}.language-css .token.function,.language-css .token.url>.token.function{color:#0184bc}.language-css .token.url>.token.string.url{color:#50a14f}.language-css .token.important,.language-css .token.atrule .token.rule{color:#a626a4}.language-javascript .token.operator{color:#a626a4}.language-javascript .token.template-string>.token.interpolation>.token.interpolation-punctuation.punctuation{color:#ca1243}.language-json .token.operator{color:#383a42}.language-json .token.null.keyword{color:#b76b01}.language-markdown .token.url,.language-markdown .token.url>.token.operator,.language-markdown .token.url-reference.url>.token.string{color:#383a42}.language-markdown .token.url>.token.content{color:#4078f2}.language-markdown .token.url>.token.url,.language-markdown .token.url-reference.url{color:#0184bc}.language-markdown .token.blockquote.punctuation,.language-markdown .token.hr.punctuation{color:#a0a1a7;font-style:italic}.language-markdown .token.code-snippet{color:#50a14f}.language-markdown .token.bold .token.content{color:#b76b01}.language-markdown .token.italic .token.content{color:#a626a4}.language-markdown .token.strike .token.content,.language-markdown .token.strike .token.punctuation,.language-markdown .token.list.punctuation,.language-markdown .token.title.important>.token.punctuation{color:#e45649}.token.bold{font-weight:700}.token.comment,.token.italic{font-style:italic}.token.entity{cursor:help}.token.namespace{opacity:.8}.token.token.tab:not(:empty):before,.token.token.cr:before,.token.token.lf:before,.token.token.space:before{color:rgba(56,58,66,.2)}div.code-toolbar>.toolbar.toolbar>.toolbar-item{margin-right:.4em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span{background:#e5e5e6;color:#696c77;padding:.1em .4em;border-radius:.3em}div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:hover,div.code-toolbar>.toolbar.toolbar>.toolbar-item>span:focus{background:#c6c7c7;color:#383a42}.line-highlight.line-highlight{background:rgba(56,58,66,.05)}.line-highlight.line-highlight:before,.line-highlight.line-highlight[data-end]:after{background:#e5e5e6;color:#383a42;padding:.1em .6em;border-radius:.3em;box-shadow:0 2px 0 0 rgba(0,0,0,.2)}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:rgba(56,58,66,.05)}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:rgba(56,58,66,.2)}.line-numbers .line-numbers-rows>span:before,.command-line .command-line-prompt>span:before{color:#9d9d9f}.rainbow-braces .token.token.punctuation.brace-level-1,.rainbow-braces .token.token.punctuation.brace-level-5,.rainbow-braces .token.token.punctuation.brace-level-9{color:#e45649}.rainbow-braces .token.token.punctuation.brace-level-2,.rainbow-braces .token.token.punctuation.brace-level-6,.rainbow-braces .token.token.punctuation.brace-level-10{color:#50a14f}.rainbow-braces .token.token.punctuation.brace-level-3,.rainbow-braces .token.token.punctuation.brace-level-7,.rainbow-braces .token.token.punctuation.brace-level-11{color:#4078f2}.rainbow-braces .token.token.punctuation.brace-level-4,.rainbow-braces .token.token.punctuation.brace-level-8,.rainbow-braces .token.token.punctuation.brace-level-12{color:#a626a4}pre.diff-highlight>code .token.token.deleted:not(.prefix),pre>code.diff-highlight .token.token.deleted:not(.prefix){background-color:rgba(255,82,102,.15)}pre.diff-highlight>code .token.token.deleted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) ::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) ::-moz-selection{background-color:rgba(251,86,105,.25)}pre.diff-highlight>code .token.token.deleted:not(.prefix)::selection,pre.diff-highlight>code .token.token.deleted:not(.prefix) ::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix)::selection,pre>code.diff-highlight .token.token.deleted:not(.prefix) ::selection{background-color:rgba(251,86,105,.25)}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:rgba(26,255,91,.15)}pre.diff-highlight>code .token.token.inserted:not(.prefix)::-moz-selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) ::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) ::-moz-selection{background-color:rgba(56,224,98,.25)}pre.diff-highlight>code .token.token.inserted:not(.prefix)::selection,pre.diff-highlight>code .token.token.inserted:not(.prefix) ::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix)::selection,pre>code.diff-highlight .token.token.inserted:not(.prefix) ::selection{background-color:rgba(56,224,98,.25)}.prism-previewer.prism-previewer:before,.prism-previewer-gradient.prism-previewer-gradient div{border-color:hsl(0,0,95%)}.prism-previewer-color.prism-previewer-color:before,.prism-previewer-gradient.prism-previewer-gradient div,.prism-previewer-easing.prism-previewer-easing:before{border-radius:.3em}.prism-previewer.prism-previewer:after{border-top-color:hsl(0,0,95%)}.prism-previewer-flipped.prism-previewer-flipped.after{border-bottom-color:hsl(0,0,95%)}.prism-previewer-angle.prism-previewer-angle:before,.prism-previewer-time.prism-previewer-time:before,.prism-previewer-easing.prism-previewer-easing{background:#fff}.prism-previewer-angle.prism-previewer-angle circle,.prism-previewer-time.prism-previewer-time circle{stroke:#383a42;stroke-opacity:1}.prism-previewer-easing.prism-previewer-easing circle,.prism-previewer-easing.prism-previewer-easing path,.prism-previewer-easing.prism-previewer-easing line{stroke:#383a42}.prism-previewer-easing.prism-previewer-easing circle{fill:transparent}
|
|
5310
|
-
`, { c: Ut, cB:
|
|
5311
|
-
function
|
|
5310
|
+
`, { c: Ut, cB: xr, cE: qt } = { ...pt, ...ht }, Ju = `${Lu}-type-writer`;
|
|
5311
|
+
function hc() {
|
|
5312
5312
|
return Ut([
|
|
5313
|
-
|
|
5313
|
+
xr("type-writer", {
|
|
5314
5314
|
overflowX: "auto"
|
|
5315
5315
|
}, [
|
|
5316
5316
|
qt("cursor::after", {
|
|
@@ -5318,7 +5318,7 @@ function pc() {
|
|
|
5318
5318
|
marginLeft: "2px",
|
|
5319
5319
|
display: "inline-block"
|
|
5320
5320
|
}),
|
|
5321
|
-
qt("markdown", `${
|
|
5321
|
+
qt("markdown", `${pc}`, [
|
|
5322
5322
|
Ut("pre", {
|
|
5323
5323
|
backgroundColor: "var(--tag-color)",
|
|
5324
5324
|
borderRadius: "var(--border-radius)"
|
|
@@ -5326,13 +5326,13 @@ function pc() {
|
|
|
5326
5326
|
])
|
|
5327
5327
|
]),
|
|
5328
5328
|
Ut(".dark", [
|
|
5329
|
-
|
|
5330
|
-
qt("markdown", `${
|
|
5329
|
+
xr("type-writer", [
|
|
5330
|
+
qt("markdown", `${dc}`)
|
|
5331
5331
|
])
|
|
5332
5332
|
])
|
|
5333
5333
|
]);
|
|
5334
5334
|
}
|
|
5335
|
-
const
|
|
5335
|
+
const bc = ["innerHTML"], mc = /* @__PURE__ */ de({
|
|
5336
5336
|
__name: "TypeWriter",
|
|
5337
5337
|
props: {
|
|
5338
5338
|
value: {},
|
|
@@ -5345,8 +5345,8 @@ const hc = ["innerHTML"], bc = /* @__PURE__ */ de({
|
|
|
5345
5345
|
emits: ["start", "update", "stop"],
|
|
5346
5346
|
setup(e, { emit: u }) {
|
|
5347
5347
|
const t = u;
|
|
5348
|
-
dt(Ju,
|
|
5349
|
-
const { typedValue: n, isTyping: r, onStat: o, onUpdate: a, onStop: i } =
|
|
5348
|
+
dt(Ju, hc());
|
|
5349
|
+
const { typedValue: n, isTyping: r, onStat: o, onUpdate: a, onStop: i } = ac(ne(() => e.value ?? ""), {
|
|
5350
5350
|
step: e.step,
|
|
5351
5351
|
interval: e.interval,
|
|
5352
5352
|
enabled: e.typing
|
|
@@ -5358,14 +5358,14 @@ const hc = ["innerHTML"], bc = /* @__PURE__ */ de({
|
|
|
5358
5358
|
}), i((s) => {
|
|
5359
5359
|
t("stop", s);
|
|
5360
5360
|
});
|
|
5361
|
-
const { html: l } =
|
|
5361
|
+
const { html: l } = ic(n, {
|
|
5362
5362
|
html: !0,
|
|
5363
5363
|
linkify: !0,
|
|
5364
5364
|
typographer: !0,
|
|
5365
5365
|
breaks: !0,
|
|
5366
|
-
highlight:
|
|
5367
|
-
}), c =
|
|
5368
|
-
return (s, d) => (U(),
|
|
5366
|
+
highlight: fc
|
|
5367
|
+
}), c = ne(() => e.markdown ? l.value : n.value);
|
|
5368
|
+
return (s, d) => (U(), Z(w(un), {
|
|
5369
5369
|
tag: "div",
|
|
5370
5370
|
class: Su([w(Ju)])
|
|
5371
5371
|
}, {
|
|
@@ -5374,23 +5374,23 @@ const hc = ["innerHTML"], bc = /* @__PURE__ */ de({
|
|
|
5374
5374
|
class: Su([w(r) && !s.markdown ? `${w(Ju)}__cursor` : void 0, s.markdown ? `${w(Ju)}__markdown` : void 0]),
|
|
5375
5375
|
style: Kt([s.markdown ? void 0 : { "--cursor-content": `'${s.suffix}'` }]),
|
|
5376
5376
|
innerHTML: c.value
|
|
5377
|
-
}, null, 14,
|
|
5377
|
+
}, null, 14, bc)
|
|
5378
5378
|
]),
|
|
5379
5379
|
_: 1
|
|
5380
5380
|
}, 8, ["class"]));
|
|
5381
5381
|
}
|
|
5382
|
-
}), { c:
|
|
5383
|
-
function
|
|
5384
|
-
return
|
|
5385
|
-
|
|
5382
|
+
}), { c: gc, cB: kc, cE: xc, cM: _c } = { ...pt, ...ht }, jt = `${Lu}-bubble`;
|
|
5383
|
+
function vc() {
|
|
5384
|
+
return gc([
|
|
5385
|
+
kc("bubble", {
|
|
5386
5386
|
display: "flex",
|
|
5387
5387
|
gap: "10px",
|
|
5388
5388
|
fontSize: "var(--n-font-size);"
|
|
5389
5389
|
}, [
|
|
5390
|
-
|
|
5390
|
+
_c("reverse", {
|
|
5391
5391
|
flexDirection: "row-reverse"
|
|
5392
5392
|
}),
|
|
5393
|
-
|
|
5393
|
+
xc("content", {
|
|
5394
5394
|
backgroundColor: "var(--tag-color)",
|
|
5395
5395
|
padding: "10px",
|
|
5396
5396
|
borderRadius: "var(--border-radius)",
|
|
@@ -5399,7 +5399,7 @@ function _c() {
|
|
|
5399
5399
|
])
|
|
5400
5400
|
]);
|
|
5401
5401
|
}
|
|
5402
|
-
const
|
|
5402
|
+
const Js = /* @__PURE__ */ de({
|
|
5403
5403
|
__name: "Bubble",
|
|
5404
5404
|
props: {
|
|
5405
5405
|
avatar: {},
|
|
@@ -5414,35 +5414,35 @@ const Qs = /* @__PURE__ */ de({
|
|
|
5414
5414
|
emits: ["typingComplete"],
|
|
5415
5415
|
setup(e, { emit: u }) {
|
|
5416
5416
|
const t = u;
|
|
5417
|
-
return dt("n-bubble",
|
|
5417
|
+
return dt("n-bubble", vc()), (n, r) => (U(), Z(w(un), {
|
|
5418
5418
|
tag: "div",
|
|
5419
5419
|
class: Su([w(jt), n.placement === "end" ? `${w(jt)}--reverse` : ""])
|
|
5420
5420
|
}, {
|
|
5421
5421
|
default: M(() => [
|
|
5422
5422
|
I(n.$slots, "avatar", {}, () => [
|
|
5423
|
-
n.avatar ? (U(),
|
|
5423
|
+
n.avatar ? (U(), Z(w(Ho), te({
|
|
5424
5424
|
key: 0,
|
|
5425
5425
|
round: ""
|
|
5426
5426
|
}, n.avatar.props), {
|
|
5427
5427
|
default: M(() => [
|
|
5428
|
-
(U(),
|
|
5428
|
+
(U(), Z(ot(n.avatar.icon)))
|
|
5429
5429
|
]),
|
|
5430
5430
|
_: 1
|
|
5431
5431
|
}, 16)) : Ee("", !0)
|
|
5432
5432
|
]),
|
|
5433
|
-
|
|
5433
|
+
V(w(Cu), { vertical: "" }, {
|
|
5434
5434
|
default: M(() => [
|
|
5435
5435
|
I(n.$slots, "header"),
|
|
5436
|
-
|
|
5436
|
+
V(w(Ur), null, {
|
|
5437
5437
|
default: M(() => [
|
|
5438
5438
|
n.loading ? I(n.$slots, "loading", { key: 0 }, () => [
|
|
5439
|
-
|
|
5439
|
+
V(w(Or), { style: { height: "44px" } })
|
|
5440
5440
|
]) : I(n.$slots, "default", { key: 1 }, () => [
|
|
5441
5441
|
Ue("div", {
|
|
5442
5442
|
class: Su([`${w(jt)}__content`, n.contentClass]),
|
|
5443
5443
|
style: Kt(n.contentStyle)
|
|
5444
5444
|
}, [
|
|
5445
|
-
|
|
5445
|
+
V(w(mc), {
|
|
5446
5446
|
typing: n.typing,
|
|
5447
5447
|
markdown: n.markdown,
|
|
5448
5448
|
value: n.content,
|
|
@@ -5461,10 +5461,10 @@ const Qs = /* @__PURE__ */ de({
|
|
|
5461
5461
|
_: 3
|
|
5462
5462
|
}, 8, ["class"]));
|
|
5463
5463
|
}
|
|
5464
|
-
}), { c:
|
|
5465
|
-
function
|
|
5466
|
-
return
|
|
5467
|
-
|
|
5464
|
+
}), { c: yc, cB: Ec } = { ...pt, ...ht }, Ku = `${Lu}-full-loading`;
|
|
5465
|
+
function Ac() {
|
|
5466
|
+
return yc([
|
|
5467
|
+
Ec("full-loading", {
|
|
5468
5468
|
position: "fixed",
|
|
5469
5469
|
inset: 0,
|
|
5470
5470
|
zIndex: 99,
|
|
@@ -5481,7 +5481,7 @@ function Ec() {
|
|
|
5481
5481
|
])
|
|
5482
5482
|
]);
|
|
5483
5483
|
}
|
|
5484
|
-
const
|
|
5484
|
+
const wc = /* @__PURE__ */ de({
|
|
5485
5485
|
__name: "FullLoading",
|
|
5486
5486
|
props: {
|
|
5487
5487
|
show: { type: Boolean },
|
|
@@ -5493,23 +5493,23 @@ const Ac = /* @__PURE__ */ de({
|
|
|
5493
5493
|
spinProps: {}
|
|
5494
5494
|
},
|
|
5495
5495
|
setup(e) {
|
|
5496
|
-
dt(Ku,
|
|
5496
|
+
dt(Ku, Ac());
|
|
5497
5497
|
const u = G("auto");
|
|
5498
5498
|
return De(() => {
|
|
5499
5499
|
if (e.disableScroll) {
|
|
5500
5500
|
const t = e.scrollSelector instanceof HTMLElement ? e.scrollSelector : document.querySelector(e.scrollSelector);
|
|
5501
5501
|
t && (e.show && (u.value = t.style.overflow), t.style.overflow = e.show ? "hidden" : u.value);
|
|
5502
5502
|
}
|
|
5503
|
-
}), (t, n) => (U(),
|
|
5503
|
+
}), (t, n) => (U(), Z(w(Ur), null, {
|
|
5504
5504
|
default: M(() => [
|
|
5505
|
-
(U(),
|
|
5506
|
-
t.show ? (U(),
|
|
5505
|
+
(U(), Z($o, { to: t.appendTo }, [
|
|
5506
|
+
t.show ? (U(), Z(w(un), {
|
|
5507
5507
|
key: 0,
|
|
5508
5508
|
class: Su([w(Ku), { [`${w(Ku)}--mask`]: t.mask }, { [`${w(Ku)}--blur`]: t.blur }]),
|
|
5509
5509
|
style: Kt(typeof t.mask == "object" ? t.mask : {})
|
|
5510
5510
|
}, {
|
|
5511
5511
|
default: M(() => [
|
|
5512
|
-
|
|
5512
|
+
V(w(Or), X(Q(t.spinProps)), Rr({ _: 2 }, [
|
|
5513
5513
|
t.$slots.description ? {
|
|
5514
5514
|
name: "description",
|
|
5515
5515
|
fn: M(() => [
|
|
@@ -5533,7 +5533,7 @@ const Ac = /* @__PURE__ */ de({
|
|
|
5533
5533
|
_: 3
|
|
5534
5534
|
}));
|
|
5535
5535
|
}
|
|
5536
|
-
}),
|
|
5536
|
+
}), Ks = /* @__PURE__ */ de({
|
|
5537
5537
|
__name: "ConfigProviders",
|
|
5538
5538
|
props: {
|
|
5539
5539
|
globalStyle: { type: Boolean, default: !1 },
|
|
@@ -5548,7 +5548,7 @@ const Ac = /* @__PURE__ */ de({
|
|
|
5548
5548
|
setup(e) {
|
|
5549
5549
|
const u = G(!1);
|
|
5550
5550
|
function t() {
|
|
5551
|
-
window.$dialog =
|
|
5551
|
+
window.$dialog = Jo(), window.$loadingBar = Ko(), window.$message = ei(), window.$modal = ui(), window.$notification = ti(), window.$loading = {
|
|
5552
5552
|
start: () => {
|
|
5553
5553
|
u.value = !0;
|
|
5554
5554
|
},
|
|
@@ -5559,7 +5559,7 @@ const Ac = /* @__PURE__ */ de({
|
|
|
5559
5559
|
}
|
|
5560
5560
|
const n = de({
|
|
5561
5561
|
setup() {
|
|
5562
|
-
|
|
5562
|
+
Io(() => {
|
|
5563
5563
|
t();
|
|
5564
5564
|
});
|
|
5565
5565
|
},
|
|
@@ -5567,20 +5567,20 @@ const Ac = /* @__PURE__ */ de({
|
|
|
5567
5567
|
return null;
|
|
5568
5568
|
}
|
|
5569
5569
|
});
|
|
5570
|
-
return (r, o) => (U(),
|
|
5570
|
+
return (r, o) => (U(), Z(w(Go), X(Q(r.configProviderProps)), {
|
|
5571
5571
|
default: M(() => [
|
|
5572
|
-
|
|
5572
|
+
V(w(Vo), X(Q(r.loadingBarProps)), {
|
|
5573
5573
|
default: M(() => [
|
|
5574
|
-
|
|
5574
|
+
V(w(Wo), X(Q(r.dialogProviderProps)), {
|
|
5575
5575
|
default: M(() => [
|
|
5576
|
-
|
|
5576
|
+
V(w(Zo), X(Q(r.modalProviderProps)), {
|
|
5577
5577
|
default: M(() => [
|
|
5578
|
-
|
|
5578
|
+
V(w(Yo), X(Q(r.notificationProviderProps)), {
|
|
5579
5579
|
default: M(() => [
|
|
5580
|
-
|
|
5580
|
+
V(w(Xo), X(Q(r.messageProviderProps)), {
|
|
5581
5581
|
default: M(() => [
|
|
5582
5582
|
I(r.$slots, "default"),
|
|
5583
|
-
|
|
5583
|
+
V(w(n))
|
|
5584
5584
|
]),
|
|
5585
5585
|
_: 3
|
|
5586
5586
|
}, 16)
|
|
@@ -5596,8 +5596,8 @@ const Ac = /* @__PURE__ */ de({
|
|
|
5596
5596
|
]),
|
|
5597
5597
|
_: 3
|
|
5598
5598
|
}, 16),
|
|
5599
|
-
r.globalStyle ? (U(),
|
|
5600
|
-
|
|
5599
|
+
r.globalStyle ? (U(), Z(w(Qo), { key: 0 })) : Ee("", !0),
|
|
5600
|
+
V(w(wc), te({ show: u.value }, r.fullLoadingProps), null, 16, ["show"])
|
|
5601
5601
|
]),
|
|
5602
5602
|
_: 3
|
|
5603
5603
|
}, 16));
|
|
@@ -5607,23 +5607,23 @@ const Ac = /* @__PURE__ */ de({
|
|
|
5607
5607
|
for (const [n, r] of u)
|
|
5608
5608
|
t[n] = r;
|
|
5609
5609
|
return t;
|
|
5610
|
-
}, wc = {
|
|
5611
|
-
name: "MageCopyFill"
|
|
5612
5610
|
}, Cc = {
|
|
5611
|
+
name: "MageCopyFill"
|
|
5612
|
+
}, Dc = {
|
|
5613
5613
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5614
5614
|
width: "1em",
|
|
5615
5615
|
height: "1em",
|
|
5616
5616
|
viewBox: "0 0 24 24"
|
|
5617
5617
|
};
|
|
5618
|
-
function
|
|
5619
|
-
return U(), Oe("svg",
|
|
5618
|
+
function Fc(e, u, t, n, r, o) {
|
|
5619
|
+
return U(), Oe("svg", Dc, u[0] || (u[0] = [
|
|
5620
5620
|
Ue("path", {
|
|
5621
5621
|
fill: "currentColor",
|
|
5622
5622
|
d: "M18.355 6.54h-1.94V4.69a2.69 2.69 0 0 0-1.646-2.484A2.7 2.7 0 0 0 13.745 2h-8.05a2.68 2.68 0 0 0-2.67 2.69v10.09a2.68 2.68 0 0 0 2.67 2.69h1.94v1.85a2.68 2.68 0 0 0 2.67 2.68h8a2.68 2.68 0 0 0 2.67-2.68V9.23a2.69 2.69 0 0 0-2.62-2.69M7.635 9.23v6.74h-1.94a1.18 1.18 0 0 1-1.17-1.19V4.69a1.18 1.18 0 0 1 1.17-1.19h8.05a1.18 1.18 0 0 1 1.17 1.19v1.85h-4.61a2.69 2.69 0 0 0-2.67 2.69"
|
|
5623
5623
|
}, null, -1)
|
|
5624
5624
|
]));
|
|
5625
5625
|
}
|
|
5626
|
-
const
|
|
5626
|
+
const Sc = /* @__PURE__ */ hn(Cc, [["render", Fc]]), ef = /* @__PURE__ */ de({
|
|
5627
5627
|
__name: "CopyButton",
|
|
5628
5628
|
props: {
|
|
5629
5629
|
value: {},
|
|
@@ -5633,7 +5633,7 @@ const Fc = /* @__PURE__ */ hn(wc, [["render", Dc]]), Ks = /* @__PURE__ */ de({
|
|
|
5633
5633
|
},
|
|
5634
5634
|
emits: ["copied"],
|
|
5635
5635
|
setup(e, { emit: u }) {
|
|
5636
|
-
const t = u, { copied: n, copy: r } =
|
|
5636
|
+
const t = u, { copied: n, copy: r } = yi({
|
|
5637
5637
|
source: e.value,
|
|
5638
5638
|
...e.config
|
|
5639
5639
|
});
|
|
@@ -5643,20 +5643,20 @@ const Fc = /* @__PURE__ */ hn(wc, [["render", Dc]]), Ks = /* @__PURE__ */ de({
|
|
|
5643
5643
|
function o(a) {
|
|
5644
5644
|
a.preventDefault(), r();
|
|
5645
5645
|
}
|
|
5646
|
-
return (a, i) => (U(),
|
|
5646
|
+
return (a, i) => (U(), Z(w(tn), X(Q(a.tooltipProps)), {
|
|
5647
5647
|
trigger: M(() => [
|
|
5648
5648
|
Ue("div", {
|
|
5649
5649
|
style: { cursor: "pointer" },
|
|
5650
5650
|
onClick: o
|
|
5651
5651
|
}, [
|
|
5652
5652
|
I(a.$slots, "default", {}, () => [
|
|
5653
|
-
|
|
5653
|
+
V(w(uu), te({
|
|
5654
5654
|
quaternary: "",
|
|
5655
5655
|
size: "tiny"
|
|
5656
5656
|
}, a.buttonProps), {
|
|
5657
5657
|
icon: M(() => [
|
|
5658
5658
|
I(a.$slots, "icon", {}, () => [
|
|
5659
|
-
|
|
5659
|
+
V(Sc)
|
|
5660
5660
|
])
|
|
5661
5661
|
]),
|
|
5662
5662
|
_: 3
|
|
@@ -5672,7 +5672,7 @@ const Fc = /* @__PURE__ */ hn(wc, [["render", Dc]]), Ks = /* @__PURE__ */ de({
|
|
|
5672
5672
|
_: 3
|
|
5673
5673
|
}, 16));
|
|
5674
5674
|
}
|
|
5675
|
-
}),
|
|
5675
|
+
}), xo = (e, { manual: u, ready: t = !0, refreshDeps: n = [], refreshDepsAction: r }) => {
|
|
5676
5676
|
const o = G(!1);
|
|
5677
5677
|
return De(() => {
|
|
5678
5678
|
!u && e.options.refreshDeps !== !0 && (o.value = w(t));
|
|
@@ -5697,10 +5697,10 @@ const Fc = /* @__PURE__ */ hn(wc, [["render", Dc]]), Ks = /* @__PURE__ */ de({
|
|
|
5697
5697
|
}
|
|
5698
5698
|
};
|
|
5699
5699
|
};
|
|
5700
|
-
|
|
5700
|
+
xo.onInit = ({ ready: e = !0, manual: u }) => ({
|
|
5701
5701
|
loading: !u && w(e)
|
|
5702
5702
|
});
|
|
5703
|
-
const nt = /* @__PURE__ */ new Map(),
|
|
5703
|
+
const nt = /* @__PURE__ */ new Map(), Tc = (e, u, t) => {
|
|
5704
5704
|
const n = nt.get(e);
|
|
5705
5705
|
n?.timer && clearTimeout(n.timer);
|
|
5706
5706
|
let r;
|
|
@@ -5710,19 +5710,19 @@ const nt = /* @__PURE__ */ new Map(), Sc = (e, u, t) => {
|
|
|
5710
5710
|
...t,
|
|
5711
5711
|
timer: r
|
|
5712
5712
|
});
|
|
5713
|
-
},
|
|
5713
|
+
}, Pc = (e) => nt.get(e), rt = /* @__PURE__ */ new Map(), Rc = (e) => rt.get(e), Oc = (e, u) => {
|
|
5714
5714
|
rt.set(e, u), u.then((t) => (rt.delete(e), t)).catch((t) => {
|
|
5715
5715
|
throw rt.delete(e), t;
|
|
5716
5716
|
});
|
|
5717
|
-
}, Ke = {},
|
|
5718
|
-
Ke[e] && (Ke[e].forEach((t) => t(u)),
|
|
5717
|
+
}, Ke = {}, Mc = [], Lc = (e, u) => {
|
|
5718
|
+
Ke[e] && (Ke[e].forEach((t) => t(u)), Mc.forEach((t) => t({
|
|
5719
5719
|
type: e,
|
|
5720
5720
|
data: u
|
|
5721
5721
|
})));
|
|
5722
5722
|
}, Ht = (e, u) => (Ke[e] || (Ke[e] = []), Ke[e].push(u), function() {
|
|
5723
5723
|
const n = Ke[e].indexOf(u);
|
|
5724
5724
|
Ke[e].splice(n, 1);
|
|
5725
|
-
}),
|
|
5725
|
+
}), Nc = (e, {
|
|
5726
5726
|
cacheKey: u,
|
|
5727
5727
|
cacheTime: t = 300 * 1e3,
|
|
5728
5728
|
staleTime: n = 0,
|
|
@@ -5730,8 +5730,8 @@ const nt = /* @__PURE__ */ new Map(), Sc = (e, u, t) => {
|
|
|
5730
5730
|
getCache: o
|
|
5731
5731
|
}) => {
|
|
5732
5732
|
const a = G(), i = G(), l = (s, d) => {
|
|
5733
|
-
r ? r(d) :
|
|
5734
|
-
}, c = (s, d = []) => o ? o(d) :
|
|
5733
|
+
r ? r(d) : Tc(s, t, d), Lc(s, d.data);
|
|
5734
|
+
}, c = (s, d = []) => o ? o(d) : Pc(s);
|
|
5735
5735
|
return De(() => {
|
|
5736
5736
|
if (!u)
|
|
5737
5737
|
return;
|
|
@@ -5755,8 +5755,8 @@ const nt = /* @__PURE__ */ new Map(), Sc = (e, u, t) => {
|
|
|
5755
5755
|
};
|
|
5756
5756
|
},
|
|
5757
5757
|
onRequest: (s, d) => {
|
|
5758
|
-
let _ =
|
|
5759
|
-
return _ && _ !== i.value ? { servicePromise: _ } : (_ = s(...d), i.value = _,
|
|
5758
|
+
let _ = Rc(u);
|
|
5759
|
+
return _ && _ !== i.value ? { servicePromise: _ } : (_ = s(...d), i.value = _, Oc(u, _), { servicePromise: _ });
|
|
5760
5760
|
},
|
|
5761
5761
|
onSuccess: (s, d) => {
|
|
5762
5762
|
var _;
|
|
@@ -5784,66 +5784,66 @@ function ct(e) {
|
|
|
5784
5784
|
var u = typeof e;
|
|
5785
5785
|
return e != null && (u == "object" || u == "function");
|
|
5786
5786
|
}
|
|
5787
|
-
var
|
|
5788
|
-
return
|
|
5789
|
-
},
|
|
5790
|
-
function
|
|
5791
|
-
for (var u = e.length; u-- &&
|
|
5787
|
+
var $c = typeof global == "object" && global && global.Object === Object && global, Ic = typeof self == "object" && self && self.Object === Object && self, _o = $c || Ic || Function("return this")(), Gt = function() {
|
|
5788
|
+
return _o.Date.now();
|
|
5789
|
+
}, Bc = /\s/;
|
|
5790
|
+
function zc(e) {
|
|
5791
|
+
for (var u = e.length; u-- && Bc.test(e.charAt(u)); )
|
|
5792
5792
|
;
|
|
5793
5793
|
return u;
|
|
5794
5794
|
}
|
|
5795
|
-
var
|
|
5796
|
-
function
|
|
5797
|
-
return e && e.slice(0,
|
|
5795
|
+
var Uc = /^\s+/;
|
|
5796
|
+
function qc(e) {
|
|
5797
|
+
return e && e.slice(0, zc(e) + 1).replace(Uc, "");
|
|
5798
5798
|
}
|
|
5799
|
-
var st =
|
|
5800
|
-
function
|
|
5801
|
-
var u =
|
|
5799
|
+
var st = _o.Symbol, vo = Object.prototype, jc = vo.hasOwnProperty, Hc = vo.toString, Au = st ? st.toStringTag : void 0;
|
|
5800
|
+
function Gc(e) {
|
|
5801
|
+
var u = jc.call(e, Au), t = e[Au];
|
|
5802
5802
|
try {
|
|
5803
5803
|
e[Au] = void 0;
|
|
5804
5804
|
var n = !0;
|
|
5805
5805
|
} catch {
|
|
5806
5806
|
}
|
|
5807
|
-
var r =
|
|
5807
|
+
var r = Hc.call(e);
|
|
5808
5808
|
return n && (u ? e[Au] = t : delete e[Au]), r;
|
|
5809
5809
|
}
|
|
5810
|
-
var
|
|
5811
|
-
function
|
|
5812
|
-
return
|
|
5813
|
-
}
|
|
5814
|
-
var Zc = "[object Null]", Yc = "[object Undefined]", xr = st ? st.toStringTag : void 0;
|
|
5815
|
-
function Xc(e) {
|
|
5816
|
-
return e == null ? e === void 0 ? Yc : Zc : xr && xr in Object(e) ? Hc(e) : Wc(e);
|
|
5810
|
+
var Vc = Object.prototype, Wc = Vc.toString;
|
|
5811
|
+
function Zc(e) {
|
|
5812
|
+
return Wc.call(e);
|
|
5817
5813
|
}
|
|
5814
|
+
var Yc = "[object Null]", Xc = "[object Undefined]", _r = st ? st.toStringTag : void 0;
|
|
5818
5815
|
function Qc(e) {
|
|
5816
|
+
return e == null ? e === void 0 ? Xc : Yc : _r && _r in Object(e) ? Gc(e) : Zc(e);
|
|
5817
|
+
}
|
|
5818
|
+
function Jc(e) {
|
|
5819
5819
|
return e != null && typeof e == "object";
|
|
5820
5820
|
}
|
|
5821
|
-
var
|
|
5822
|
-
function
|
|
5823
|
-
return typeof e == "symbol" ||
|
|
5821
|
+
var Kc = "[object Symbol]";
|
|
5822
|
+
function es(e) {
|
|
5823
|
+
return typeof e == "symbol" || Jc(e) && Qc(e) == Kc;
|
|
5824
5824
|
}
|
|
5825
|
-
var
|
|
5826
|
-
function
|
|
5825
|
+
var vr = NaN, us = /^[-+]0x[0-9a-f]+$/i, ts = /^0b[01]+$/i, ns = /^0o[0-7]+$/i, rs = parseInt;
|
|
5826
|
+
function yr(e) {
|
|
5827
5827
|
if (typeof e == "number")
|
|
5828
5828
|
return e;
|
|
5829
|
-
if (
|
|
5830
|
-
return
|
|
5829
|
+
if (es(e))
|
|
5830
|
+
return vr;
|
|
5831
5831
|
if (ct(e)) {
|
|
5832
5832
|
var u = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
5833
5833
|
e = ct(u) ? u + "" : u;
|
|
5834
5834
|
}
|
|
5835
5835
|
if (typeof e != "string")
|
|
5836
5836
|
return e === 0 ? e : +e;
|
|
5837
|
-
e =
|
|
5838
|
-
var t =
|
|
5839
|
-
return t ||
|
|
5837
|
+
e = qc(e);
|
|
5838
|
+
var t = ts.test(e);
|
|
5839
|
+
return t || ns.test(e) ? rs(e.slice(2), t ? 2 : 8) : us.test(e) ? vr : +e;
|
|
5840
5840
|
}
|
|
5841
|
-
var
|
|
5842
|
-
function
|
|
5841
|
+
var os = "Expected a function", is = Math.max, as = Math.min;
|
|
5842
|
+
function yo(e, u, t) {
|
|
5843
5843
|
var n, r, o, a, i, l, c = 0, s = !1, d = !1, _ = !0;
|
|
5844
5844
|
if (typeof e != "function")
|
|
5845
|
-
throw new TypeError(
|
|
5846
|
-
u =
|
|
5845
|
+
throw new TypeError(os);
|
|
5846
|
+
u = yr(u) || 0, ct(t) && (s = !!t.leading, d = "maxWait" in t, o = d ? is(yr(t.maxWait) || 0, u) : o, _ = "trailing" in t ? !!t.trailing : _);
|
|
5847
5847
|
function x(g) {
|
|
5848
5848
|
var E = n, F = r;
|
|
5849
5849
|
return n = r = void 0, c = g, a = e.apply(F, E), a;
|
|
@@ -5853,7 +5853,7 @@ function vo(e, u, t) {
|
|
|
5853
5853
|
}
|
|
5854
5854
|
function y(g) {
|
|
5855
5855
|
var E = g - l, F = g - c, C = u - E;
|
|
5856
|
-
return d ?
|
|
5856
|
+
return d ? as(C, o - F) : C;
|
|
5857
5857
|
}
|
|
5858
5858
|
function v(g) {
|
|
5859
5859
|
var E = g - l, F = g - c;
|
|
@@ -5886,15 +5886,15 @@ function vo(e, u, t) {
|
|
|
5886
5886
|
}
|
|
5887
5887
|
return f.cancel = m, f.flush = k, f;
|
|
5888
5888
|
}
|
|
5889
|
-
const
|
|
5890
|
-
const o = G(), a =
|
|
5889
|
+
const ls = (e, { debounceWait: u, debounceLeading: t, debounceTrailing: n, debounceMaxWait: r }) => {
|
|
5890
|
+
const o = G(), a = ne(() => {
|
|
5891
5891
|
const i = {}, l = w(t), c = w(n), s = w(r);
|
|
5892
5892
|
return l !== void 0 && (i.leading = l), c !== void 0 && (i.trailing = c), s !== void 0 && (i.maxWait = s), i;
|
|
5893
5893
|
});
|
|
5894
5894
|
return De((i) => {
|
|
5895
5895
|
if (w(u)) {
|
|
5896
5896
|
const l = e.runAsync.bind(e);
|
|
5897
|
-
o.value =
|
|
5897
|
+
o.value = yo(
|
|
5898
5898
|
(c) => {
|
|
5899
5899
|
c();
|
|
5900
5900
|
},
|
|
@@ -5918,10 +5918,10 @@ const as = (e, { debounceWait: u, debounceLeading: t, debounceTrailing: n, debou
|
|
|
5918
5918
|
}
|
|
5919
5919
|
} : {};
|
|
5920
5920
|
};
|
|
5921
|
-
var
|
|
5922
|
-
class
|
|
5921
|
+
var cs = Object.defineProperty, ss = (e, u, t) => u in e ? cs(e, u, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[u] = t, Er = (e, u, t) => (ss(e, typeof u != "symbol" ? u + "" : u, t), t);
|
|
5922
|
+
class fs {
|
|
5923
5923
|
constructor() {
|
|
5924
|
-
|
|
5924
|
+
Er(this, "table", {}), Er(this, "hashTable", {});
|
|
5925
5925
|
}
|
|
5926
5926
|
insert(u) {
|
|
5927
5927
|
const t = Symbol(u);
|
|
@@ -5931,19 +5931,19 @@ class ss {
|
|
|
5931
5931
|
return this.hashTable[u];
|
|
5932
5932
|
}
|
|
5933
5933
|
}
|
|
5934
|
-
new
|
|
5935
|
-
function
|
|
5934
|
+
new fs();
|
|
5935
|
+
function ds(e) {
|
|
5936
5936
|
const t = e.toString().match(/^function\s+([^\s(]+)/);
|
|
5937
5937
|
return t ? t[1] : "";
|
|
5938
5938
|
}
|
|
5939
|
-
function
|
|
5939
|
+
function ps(e) {
|
|
5940
5940
|
const u = e.toString(), t = /([a-zA-Z$_][a-zA-Z0-9$_]*)\s*\(/, n = u.match(t);
|
|
5941
5941
|
return n ? n[1].trim() : "";
|
|
5942
5942
|
}
|
|
5943
|
-
var
|
|
5944
|
-
class
|
|
5943
|
+
var hs = Object.defineProperty, bs = (e, u, t) => u in e ? hs(e, u, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[u] = t, Ar = (e, u, t) => (bs(e, typeof u != "symbol" ? u + "" : u, t), t);
|
|
5944
|
+
class ms {
|
|
5945
5945
|
constructor() {
|
|
5946
|
-
|
|
5946
|
+
Ar(this, "requestInstances", /* @__PURE__ */ new Map()), Ar(this, "listeners", []);
|
|
5947
5947
|
}
|
|
5948
5948
|
emit(u) {
|
|
5949
5949
|
this.listeners.forEach((t) => t(u));
|
|
@@ -5977,30 +5977,30 @@ class bs {
|
|
|
5977
5977
|
return this.requestInstances;
|
|
5978
5978
|
}
|
|
5979
5979
|
}
|
|
5980
|
-
const
|
|
5980
|
+
const ke = new ms(), gs = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
5981
5981
|
const r = () => {
|
|
5982
|
-
if (t && !
|
|
5983
|
-
const a = e.serviceRef.value.toString().includes("function") ?
|
|
5984
|
-
|
|
5982
|
+
if (t && !ke.has(t)) {
|
|
5983
|
+
const a = e.serviceRef.value.toString().includes("function") ? ds(e.serviceRef.value.toString()) : ps(e.serviceRef.value.toString());
|
|
5984
|
+
ke.insert(t, {
|
|
5985
5985
|
instance: e,
|
|
5986
5986
|
requestName: a,
|
|
5987
5987
|
time: Date.now()
|
|
5988
5988
|
});
|
|
5989
5989
|
}
|
|
5990
|
-
}, o =
|
|
5990
|
+
}, o = ne(
|
|
5991
5991
|
() => Object.fromEntries(
|
|
5992
5992
|
Object.entries({ ready: u, ...n }).map(([a, i]) => [a, w(i)])
|
|
5993
5993
|
)
|
|
5994
5994
|
);
|
|
5995
5995
|
return De(() => {
|
|
5996
|
-
t &&
|
|
5996
|
+
t && ke.has(t) && ke.emit({
|
|
5997
5997
|
...e,
|
|
5998
5998
|
options: { ...e.options, ...o.value }
|
|
5999
5999
|
});
|
|
6000
6000
|
}), {
|
|
6001
6001
|
name: "devtoolsPlugin",
|
|
6002
6002
|
onBefore: (a) => {
|
|
6003
|
-
r(), t &&
|
|
6003
|
+
r(), t && ke.has(t) && ke.emit({
|
|
6004
6004
|
...e.state,
|
|
6005
6005
|
key: t,
|
|
6006
6006
|
params: a,
|
|
@@ -6010,7 +6010,7 @@ const ge = new bs(), ms = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
6010
6010
|
});
|
|
6011
6011
|
},
|
|
6012
6012
|
onSuccess(a, i) {
|
|
6013
|
-
r(), t &&
|
|
6013
|
+
r(), t && ke.has(t) && ke.emit({
|
|
6014
6014
|
...e.state,
|
|
6015
6015
|
key: t,
|
|
6016
6016
|
data: a,
|
|
@@ -6021,7 +6021,7 @@ const ge = new bs(), ms = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
6021
6021
|
});
|
|
6022
6022
|
},
|
|
6023
6023
|
onCancel() {
|
|
6024
|
-
r(), t &&
|
|
6024
|
+
r(), t && ke.has(t) && ke.emit({
|
|
6025
6025
|
...e.state,
|
|
6026
6026
|
key: t,
|
|
6027
6027
|
loading: !1,
|
|
@@ -6030,7 +6030,7 @@ const ge = new bs(), ms = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
6030
6030
|
});
|
|
6031
6031
|
},
|
|
6032
6032
|
onError(a, i) {
|
|
6033
|
-
r(), t &&
|
|
6033
|
+
r(), t && ke.has(t) && ke.emit({
|
|
6034
6034
|
...e.state,
|
|
6035
6035
|
key: t,
|
|
6036
6036
|
params: i,
|
|
@@ -6041,7 +6041,7 @@ const ge = new bs(), ms = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
6041
6041
|
});
|
|
6042
6042
|
},
|
|
6043
6043
|
onMutate(a) {
|
|
6044
|
-
r(), t &&
|
|
6044
|
+
r(), t && ke.has(t) && ke.emit({
|
|
6045
6045
|
...e.state,
|
|
6046
6046
|
key: t,
|
|
6047
6047
|
data: a,
|
|
@@ -6051,7 +6051,7 @@ const ge = new bs(), ms = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
6051
6051
|
});
|
|
6052
6052
|
}
|
|
6053
6053
|
};
|
|
6054
|
-
},
|
|
6054
|
+
}, ks = (e, { loadingDelay: u }) => {
|
|
6055
6055
|
const t = G(), n = () => {
|
|
6056
6056
|
t.value && (clearTimeout(w(t.value)), t.value = void 0);
|
|
6057
6057
|
};
|
|
@@ -6076,12 +6076,12 @@ const ge = new bs(), ms = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
6076
6076
|
function bn() {
|
|
6077
6077
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
6078
6078
|
}
|
|
6079
|
-
const
|
|
6079
|
+
const xs = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
6080
6080
|
function mn() {
|
|
6081
6081
|
return bn() ? document.visibilityState !== "hidden" : !0;
|
|
6082
6082
|
}
|
|
6083
6083
|
const Du = [];
|
|
6084
|
-
function
|
|
6084
|
+
function _s(e) {
|
|
6085
6085
|
return Du.push(e), function() {
|
|
6086
6086
|
const t = Du.indexOf(e);
|
|
6087
6087
|
Du.splice(t, 1);
|
|
@@ -6097,7 +6097,7 @@ if (bn()) {
|
|
|
6097
6097
|
};
|
|
6098
6098
|
window.addEventListener("visibilitychange", e, !1);
|
|
6099
6099
|
}
|
|
6100
|
-
const
|
|
6100
|
+
const vs = (e, { pollingInterval: u, pollingWhenHidden: t = !0, pollingErrorRetryCount: n = -1 }) => {
|
|
6101
6101
|
let r;
|
|
6102
6102
|
const o = G(), a = G(0), i = () => {
|
|
6103
6103
|
var l;
|
|
@@ -6118,7 +6118,7 @@ const _s = (e, { pollingInterval: u, pollingWhenHidden: t = !0, pollingErrorRetr
|
|
|
6118
6118
|
},
|
|
6119
6119
|
onFinally: () => {
|
|
6120
6120
|
n === -1 || n !== -1 && a.value <= n ? r = setTimeout(() => {
|
|
6121
|
-
!t && !mn() ? o.value =
|
|
6121
|
+
!t && !mn() ? o.value = _s(() => {
|
|
6122
6122
|
e.refresh();
|
|
6123
6123
|
}) : e.refresh();
|
|
6124
6124
|
}, w(u)) : a.value = 0;
|
|
@@ -6128,7 +6128,7 @@ const _s = (e, { pollingInterval: u, pollingWhenHidden: t = !0, pollingErrorRetr
|
|
|
6128
6128
|
}
|
|
6129
6129
|
} : {};
|
|
6130
6130
|
};
|
|
6131
|
-
function
|
|
6131
|
+
function ys(e, u) {
|
|
6132
6132
|
let t = !1;
|
|
6133
6133
|
return (...n) => {
|
|
6134
6134
|
t || (t = !0, e(...n), setTimeout(() => {
|
|
@@ -6136,19 +6136,19 @@ function vs(e, u) {
|
|
|
6136
6136
|
}, u));
|
|
6137
6137
|
};
|
|
6138
6138
|
}
|
|
6139
|
-
function
|
|
6139
|
+
function Es() {
|
|
6140
6140
|
return bn() && typeof navigator.onLine < "u" ? navigator.onLine : !0;
|
|
6141
6141
|
}
|
|
6142
6142
|
const Fu = [];
|
|
6143
|
-
function
|
|
6143
|
+
function As(e) {
|
|
6144
6144
|
return Fu.push(e), function() {
|
|
6145
6145
|
const t = Fu.indexOf(e);
|
|
6146
6146
|
t > -1 && Fu.splice(t, 1);
|
|
6147
6147
|
};
|
|
6148
6148
|
}
|
|
6149
|
-
if (
|
|
6149
|
+
if (xs) {
|
|
6150
6150
|
const e = () => {
|
|
6151
|
-
if (!(!mn() || !
|
|
6151
|
+
if (!(!mn() || !Es()))
|
|
6152
6152
|
for (let u = 0; u < Fu.length; u++) {
|
|
6153
6153
|
const t = Fu[u];
|
|
6154
6154
|
t();
|
|
@@ -6156,18 +6156,18 @@ if (ks) {
|
|
|
6156
6156
|
};
|
|
6157
6157
|
window.addEventListener("visibilitychange", e, !1), window.addEventListener("focus", e, !1);
|
|
6158
6158
|
}
|
|
6159
|
-
const
|
|
6159
|
+
const ws = (e, { refreshOnWindowFocus: u, focusTimespan: t = 5e3 }) => {
|
|
6160
6160
|
const n = G(), r = () => {
|
|
6161
6161
|
var o;
|
|
6162
6162
|
(o = n.value) == null || o.call(n);
|
|
6163
6163
|
};
|
|
6164
6164
|
return De((o) => {
|
|
6165
6165
|
if (w(u)) {
|
|
6166
|
-
const a =
|
|
6166
|
+
const a = ys(
|
|
6167
6167
|
e.refresh.bind(e),
|
|
6168
6168
|
w(t)
|
|
6169
6169
|
);
|
|
6170
|
-
n.value =
|
|
6170
|
+
n.value = As(() => {
|
|
6171
6171
|
a();
|
|
6172
6172
|
});
|
|
6173
6173
|
}
|
|
@@ -6179,7 +6179,7 @@ const As = (e, { refreshOnWindowFocus: u, focusTimespan: t = 5e3 }) => {
|
|
|
6179
6179
|
}), {
|
|
6180
6180
|
name: "refreshOnWindowFocusPlugin"
|
|
6181
6181
|
};
|
|
6182
|
-
},
|
|
6182
|
+
}, Cs = (e, { retryInterval: u, retryCount: t }) => {
|
|
6183
6183
|
const n = G(), r = G(0), o = G(!1);
|
|
6184
6184
|
return t ? {
|
|
6185
6185
|
name: "retryPlugin",
|
|
@@ -6203,26 +6203,26 @@ const As = (e, { refreshOnWindowFocus: u, focusTimespan: t = 5e3 }) => {
|
|
|
6203
6203
|
}
|
|
6204
6204
|
} : {};
|
|
6205
6205
|
};
|
|
6206
|
-
var
|
|
6207
|
-
function
|
|
6206
|
+
var Ds = "Expected a function";
|
|
6207
|
+
function Fs(e, u, t) {
|
|
6208
6208
|
var n = !0, r = !0;
|
|
6209
6209
|
if (typeof e != "function")
|
|
6210
|
-
throw new TypeError(
|
|
6211
|
-
return ct(t) && (n = "leading" in t ? !!t.leading : n, r = "trailing" in t ? !!t.trailing : r),
|
|
6210
|
+
throw new TypeError(Ds);
|
|
6211
|
+
return ct(t) && (n = "leading" in t ? !!t.leading : n, r = "trailing" in t ? !!t.trailing : r), yo(e, u, {
|
|
6212
6212
|
leading: n,
|
|
6213
6213
|
maxWait: u,
|
|
6214
6214
|
trailing: r
|
|
6215
6215
|
});
|
|
6216
6216
|
}
|
|
6217
|
-
const
|
|
6217
|
+
const Ss = (e, { throttleWait: u, throttleLeading: t, throttleTrailing: n }) => {
|
|
6218
6218
|
let r = null;
|
|
6219
|
-
const o =
|
|
6219
|
+
const o = ne(() => {
|
|
6220
6220
|
const c = {};
|
|
6221
6221
|
return w(t) !== void 0 && (c.leading = w(t)), w(n) !== void 0 && (c.trailing = w(n)), c;
|
|
6222
|
-
}), a = e.runAsync.bind(e), i = G(), l =
|
|
6222
|
+
}), a = e.runAsync.bind(e), i = G(), l = ne(() => w(u));
|
|
6223
6223
|
return ze([l, o], (c) => {
|
|
6224
6224
|
r && (r.cancel(), e.runAsync = a);
|
|
6225
|
-
const [s, d] = c, _ =
|
|
6225
|
+
const [s, d] = c, _ = Fs(
|
|
6226
6226
|
(x) => {
|
|
6227
6227
|
x();
|
|
6228
6228
|
},
|
|
@@ -6237,7 +6237,7 @@ const Fs = (e, { throttleWait: u, throttleLeading: t, throttleTrailing: n }) =>
|
|
|
6237
6237
|
});
|
|
6238
6238
|
}, {
|
|
6239
6239
|
immediate: !0
|
|
6240
|
-
}), w(u) ? (
|
|
6240
|
+
}), w(u) ? (Bo(() => {
|
|
6241
6241
|
var c;
|
|
6242
6242
|
(c = i.value) == null || c.cancel();
|
|
6243
6243
|
}), {
|
|
@@ -6247,9 +6247,9 @@ const Fs = (e, { throttleWait: u, throttleLeading: t, throttleTrailing: n }) =>
|
|
|
6247
6247
|
(c = i.value) == null || c.cancel();
|
|
6248
6248
|
}
|
|
6249
6249
|
}) : {};
|
|
6250
|
-
},
|
|
6251
|
-
var
|
|
6252
|
-
class
|
|
6250
|
+
}, wr = (e) => typeof e == "function", Ts = (e) => typeof e == "boolean";
|
|
6251
|
+
var Ps = Object.defineProperty, Rs = (e, u, t) => u in e ? Ps(e, u, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[u] = t, et = (e, u, t) => (Rs(e, typeof u != "symbol" ? u + "" : u, t), t);
|
|
6252
|
+
class Os {
|
|
6253
6253
|
constructor(u, t, n, r = {}) {
|
|
6254
6254
|
et(this, "pluginImpls"), et(this, "count", 0), et(this, "state", {
|
|
6255
6255
|
loading: !1,
|
|
@@ -6337,7 +6337,7 @@ class Rs {
|
|
|
6337
6337
|
throw this.setState({
|
|
6338
6338
|
error: A,
|
|
6339
6339
|
loading: !1
|
|
6340
|
-
}), (i = (a = this.options).onError) == null || i.call(a, A, u), this.runPluginHandler("onError", A, u), (
|
|
6340
|
+
}), (i = (a = this.options).onError) == null || i.call(a, A, u), this.runPluginHandler("onError", A, u), (wr((l = this.options) == null ? void 0 : l.rollbackOnError) && ((c = this.options) != null && c.rollbackOnError(u)) || Ts((s = this.options) == null ? void 0 : s.rollbackOnError) && this.options.rollbackOnError) && this.setState({
|
|
6341
6341
|
data: this.previousValidData
|
|
6342
6342
|
}), (_ = (d = this.options).onFinally) == null || _.call(d, u, void 0, A), (this.options.concurrent || x === this.count) && this.runPluginHandler("onFinally", u, void 0, A), A;
|
|
6343
6343
|
}
|
|
@@ -6359,21 +6359,21 @@ class Rs {
|
|
|
6359
6359
|
return this.runAsync(...this.state.params || []);
|
|
6360
6360
|
}
|
|
6361
6361
|
mutate(u) {
|
|
6362
|
-
const t =
|
|
6362
|
+
const t = wr(u) ? u(this.state.data) : u;
|
|
6363
6363
|
this.runPluginHandler("onMutate", t), this.setState({
|
|
6364
6364
|
data: t
|
|
6365
6365
|
});
|
|
6366
6366
|
}
|
|
6367
6367
|
}
|
|
6368
|
-
const
|
|
6368
|
+
const Ms = Symbol(
|
|
6369
6369
|
"USEREQUEST_GLOBAL_OPTIONS_PROVIDE_KEY"
|
|
6370
6370
|
);
|
|
6371
|
-
function
|
|
6371
|
+
function Ls(e) {
|
|
6372
6372
|
return Object.keys(e).filter((t) => ["data", "loading", "params", "error"].includes(t)).length === 4;
|
|
6373
6373
|
}
|
|
6374
|
-
function
|
|
6375
|
-
const n =
|
|
6376
|
-
|
|
6374
|
+
function Ns(e, u = {}, t = []) {
|
|
6375
|
+
const n = Tr(
|
|
6376
|
+
Ms,
|
|
6377
6377
|
{}
|
|
6378
6378
|
), { initialData: r = void 0, manual: o = !1, ready: a = !0, ...i } = {
|
|
6379
6379
|
...n ?? {},
|
|
@@ -6389,18 +6389,18 @@ function Ls(e, u = {}, t = []) {
|
|
|
6389
6389
|
params: void 0,
|
|
6390
6390
|
error: void 0
|
|
6391
6391
|
}), d = (y, v) => {
|
|
6392
|
-
v ? s[v] = y :
|
|
6392
|
+
v ? s[v] = y : Ls(y) && (s.data = y.data, s.loading = y.loading, s.error = y.error, s.params = y.params);
|
|
6393
6393
|
}, _ = t.map((y) => {
|
|
6394
6394
|
var v;
|
|
6395
6395
|
return (v = y?.onInit) == null ? void 0 : v.call(y, l);
|
|
6396
|
-
}).filter(Boolean), x = new
|
|
6396
|
+
}).filter(Boolean), x = new Os(
|
|
6397
6397
|
c,
|
|
6398
6398
|
l,
|
|
6399
6399
|
d,
|
|
6400
6400
|
Object.assign({}, ..._, s)
|
|
6401
6401
|
);
|
|
6402
6402
|
x.options = l, x.pluginImpls = t.map((y) => y(x, l));
|
|
6403
|
-
const p =
|
|
6403
|
+
const p = ne(() => Vt(a) ? a.value : a);
|
|
6404
6404
|
if (De(() => {
|
|
6405
6405
|
if (!o) {
|
|
6406
6406
|
const y = x.state.params || u.defaultParams || [];
|
|
@@ -6413,7 +6413,7 @@ function Ls(e, u = {}, t = []) {
|
|
|
6413
6413
|
return en(() => {
|
|
6414
6414
|
x.cancel();
|
|
6415
6415
|
}), {
|
|
6416
|
-
...
|
|
6416
|
+
...zo(s),
|
|
6417
6417
|
cancel: x.cancel.bind(x),
|
|
6418
6418
|
refresh: x.refresh.bind(x),
|
|
6419
6419
|
refreshAsync: x.refreshAsync.bind(x),
|
|
@@ -6422,27 +6422,27 @@ function Ls(e, u = {}, t = []) {
|
|
|
6422
6422
|
mutate: x.mutate.bind(x)
|
|
6423
6423
|
};
|
|
6424
6424
|
}
|
|
6425
|
-
const
|
|
6425
|
+
const $s = (e, u) => function(n, r = {}, o = []) {
|
|
6426
6426
|
let a = e;
|
|
6427
6427
|
const i = u || [];
|
|
6428
6428
|
for (let l = i.length; l--; )
|
|
6429
6429
|
a = i[l](a);
|
|
6430
6430
|
return a(n, r, o);
|
|
6431
6431
|
};
|
|
6432
|
-
function
|
|
6432
|
+
function Is(e, u, t) {
|
|
6433
6433
|
var n;
|
|
6434
6434
|
const r = (n = [
|
|
6435
|
-
process.env.NODE_ENV === "development" ?
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6435
|
+
process.env.NODE_ENV === "development" ? gs : null,
|
|
6436
|
+
ls,
|
|
6437
|
+
ks,
|
|
6438
|
+
vs,
|
|
6439
|
+
ws,
|
|
6440
|
+
Ss,
|
|
6441
|
+
xo,
|
|
6442
|
+
Nc,
|
|
6443
|
+
Cs
|
|
6444
6444
|
]) == null ? void 0 : n.filter(Boolean);
|
|
6445
|
-
return Ns
|
|
6445
|
+
return $s(Ns, u?.use)(
|
|
6446
6446
|
e,
|
|
6447
6447
|
u,
|
|
6448
6448
|
[...t || [], ...r]
|
|
@@ -6453,7 +6453,7 @@ function gn(e, u) {
|
|
|
6453
6453
|
page: t?.[i.page] ?? 1,
|
|
6454
6454
|
pageSize: t?.[i.pageSize] ?? 10,
|
|
6455
6455
|
itemCount: 0
|
|
6456
|
-
}), c = Ve(), s = Ve(), d = Ve(), _ = Ve(), { loading: x, data: p, error: y, params: v, run: A, runAsync: b, refresh: m, refreshAsync: k, cancel: f, mutate: g } =
|
|
6456
|
+
}), c = Ve(), s = Ve(), d = Ve(), _ = Ve(), { loading: x, data: p, error: y, params: v, run: A, runAsync: b, refresh: m, refreshAsync: k, cancel: f, mutate: g } = Is(e, {
|
|
6457
6457
|
defaultParams: [
|
|
6458
6458
|
{
|
|
6459
6459
|
[i.page]: l.value.page,
|
|
@@ -6468,25 +6468,25 @@ function gn(e, u) {
|
|
|
6468
6468
|
},
|
|
6469
6469
|
onSuccess: (S, $) => {
|
|
6470
6470
|
if (o?.onSuccess?.(S, $), s.trigger(S, $), i.page in $?.[0]) {
|
|
6471
|
-
const
|
|
6472
|
-
Number.isNaN(
|
|
6471
|
+
const Y = Number($?.[0][i.page]);
|
|
6472
|
+
Number.isNaN(Y) || (l.value.page = Y);
|
|
6473
6473
|
}
|
|
6474
6474
|
if (i.pageSize in $?.[0]) {
|
|
6475
|
-
const
|
|
6476
|
-
Number.isNaN(
|
|
6475
|
+
const Y = Number($?.[0][i.pageSize]);
|
|
6476
|
+
Number.isNaN(Y) || (l.value.pageSize = Y);
|
|
6477
6477
|
}
|
|
6478
6478
|
if (i.count in S) {
|
|
6479
|
-
const
|
|
6480
|
-
Number.isNaN(
|
|
6479
|
+
const Y = Number(S[i.count]);
|
|
6480
|
+
Number.isNaN(Y) || (l.value.itemCount = Y);
|
|
6481
6481
|
}
|
|
6482
6482
|
},
|
|
6483
6483
|
onError: (S, $) => {
|
|
6484
6484
|
o?.onError?.(S, $), d.trigger(S, $);
|
|
6485
6485
|
},
|
|
6486
|
-
onFinally: (S, $,
|
|
6487
|
-
o?.onFinally?.(S, $,
|
|
6486
|
+
onFinally: (S, $, Y) => {
|
|
6487
|
+
o?.onFinally?.(S, $, Y), _.trigger(S, $, Y);
|
|
6488
6488
|
}
|
|
6489
|
-
}, a), E =
|
|
6489
|
+
}, a), E = ne(() => p.value?.[i.list] ?? []);
|
|
6490
6490
|
function F(S) {
|
|
6491
6491
|
Object.assign(v.value?.[0], S);
|
|
6492
6492
|
}
|
|
@@ -6518,16 +6518,16 @@ function gn(e, u) {
|
|
|
6518
6518
|
onFinally: _.on
|
|
6519
6519
|
};
|
|
6520
6520
|
}
|
|
6521
|
-
const
|
|
6521
|
+
const Bs = {
|
|
6522
6522
|
name: "MageSearch"
|
|
6523
|
-
},
|
|
6523
|
+
}, zs = {
|
|
6524
6524
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6525
6525
|
width: "1em",
|
|
6526
6526
|
height: "1em",
|
|
6527
6527
|
viewBox: "0 0 24 24"
|
|
6528
6528
|
};
|
|
6529
|
-
function
|
|
6530
|
-
return U(), Oe("svg",
|
|
6529
|
+
function Us(e, u, t, n, r, o) {
|
|
6530
|
+
return U(), Oe("svg", zs, u[0] || (u[0] = [
|
|
6531
6531
|
Ue("path", {
|
|
6532
6532
|
fill: "none",
|
|
6533
6533
|
stroke: "currentColor",
|
|
@@ -6538,7 +6538,7 @@ function zs(e, u, t, n, r, o) {
|
|
|
6538
6538
|
}, null, -1)
|
|
6539
6539
|
]));
|
|
6540
6540
|
}
|
|
6541
|
-
const
|
|
6541
|
+
const Cr = /* @__PURE__ */ hn(Bs, [["render", Us]]), Eo = /* @__PURE__ */ de({
|
|
6542
6542
|
__name: "SearchInput",
|
|
6543
6543
|
props: {
|
|
6544
6544
|
value: {},
|
|
@@ -6552,12 +6552,12 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6552
6552
|
},
|
|
6553
6553
|
emits: ["update:value"],
|
|
6554
6554
|
setup(e, { emit: u }) {
|
|
6555
|
-
const t = u, n = ft("input-ref"), r = G(e.value ?? null), o =
|
|
6555
|
+
const t = u, n = ft("input-ref"), r = G(e.value ?? null), o = ne(() => typeof e.searchButton == "boolean" ? "text" : e.searchButton), { start: a } = Ei(() => {
|
|
6556
6556
|
}, typeof e.autoTrigger == "number" ? e.autoTrigger : 500);
|
|
6557
6557
|
De(() => {
|
|
6558
6558
|
r.value = e.value ?? null;
|
|
6559
6559
|
});
|
|
6560
|
-
const i =
|
|
6560
|
+
const i = $r(() => {
|
|
6561
6561
|
t("update:value", r.value);
|
|
6562
6562
|
}, typeof e.autoTrigger == "number" ? e.autoTrigger : 500);
|
|
6563
6563
|
ze(r, () => {
|
|
@@ -6571,9 +6571,9 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6571
6571
|
}
|
|
6572
6572
|
return De(() => {
|
|
6573
6573
|
!e.loading && r.value && n.value?.focus();
|
|
6574
|
-
}), (s, d) => (U(),
|
|
6574
|
+
}), (s, d) => (U(), Z(w(ni), null, {
|
|
6575
6575
|
default: M(() => [
|
|
6576
|
-
|
|
6576
|
+
V(w(nn), te({
|
|
6577
6577
|
ref: "input-ref",
|
|
6578
6578
|
value: r.value,
|
|
6579
6579
|
"onUpdate:value": d[0] || (d[0] = (_) => r.value = _),
|
|
@@ -6583,7 +6583,7 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6583
6583
|
prefix: M(() => [
|
|
6584
6584
|
I(s.$slots, "prefix", {}, () => [
|
|
6585
6585
|
I(s.$slots, "prefix-icon", {}, () => [
|
|
6586
|
-
|
|
6586
|
+
V(Cr, { style: { width: "18px", height: "18px" } })
|
|
6587
6587
|
])
|
|
6588
6588
|
])
|
|
6589
6589
|
]),
|
|
@@ -6593,11 +6593,11 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6593
6593
|
value: s.value,
|
|
6594
6594
|
loading: s.loading
|
|
6595
6595
|
}, () => [
|
|
6596
|
-
o.value ? (U(),
|
|
6596
|
+
o.value ? (U(), Z(w(uu), te({
|
|
6597
6597
|
key: 0,
|
|
6598
6598
|
type: s.type,
|
|
6599
6599
|
loading: s.loading
|
|
6600
|
-
}, s.buttonProps, { onClick: l }),
|
|
6600
|
+
}, s.buttonProps, { onClick: l }), Rr({
|
|
6601
6601
|
default: M(() => [
|
|
6602
6602
|
o.value === "text" ? (U(), Oe(wu, { key: 0 }, [
|
|
6603
6603
|
Mu(" 搜索 ")
|
|
@@ -6609,7 +6609,7 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6609
6609
|
name: "icon",
|
|
6610
6610
|
fn: M(() => [
|
|
6611
6611
|
I(s.$slots, "button-icon", {}, () => [
|
|
6612
|
-
|
|
6612
|
+
V(Cr)
|
|
6613
6613
|
])
|
|
6614
6614
|
]),
|
|
6615
6615
|
key: "0"
|
|
@@ -6620,10 +6620,10 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6620
6620
|
_: 3
|
|
6621
6621
|
}));
|
|
6622
6622
|
}
|
|
6623
|
-
}),
|
|
6623
|
+
}), qs = { style: { height: "100%", display: "flex", alignItems: "center" } }, js = {
|
|
6624
6624
|
key: 0,
|
|
6625
6625
|
style: { fontSize: "16px" }
|
|
6626
|
-
},
|
|
6626
|
+
}, uf = /* @__PURE__ */ de({
|
|
6627
6627
|
__name: "DataTablePlus",
|
|
6628
6628
|
props: {
|
|
6629
6629
|
api: { type: Function },
|
|
@@ -6650,7 +6650,7 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6650
6650
|
pageSlot: 5,
|
|
6651
6651
|
prefix: (T) => `共${T.itemCount}条数据`,
|
|
6652
6652
|
...e.pagination && typeof e.pagination == "boolean" ? {} : e.pagination
|
|
6653
|
-
}), c = G(), s = G(), d = [], { loading: _, data: x, error: p, params: y, list: v, pagination: A, run: b, runAsync: m, refresh: k, refreshAsync: f, cancel: g, mutate: E, setParams: F, runParams: C, runParamsAsync: R, onBefore: S, onSuccess: $, onError:
|
|
6653
|
+
}), c = G(), s = G(), d = [], { loading: _, data: x, error: p, params: y, list: v, pagination: A, run: b, runAsync: m, refresh: k, refreshAsync: f, cancel: g, mutate: E, setParams: F, runParams: C, runParamsAsync: R, onBefore: S, onSuccess: $, onError: Y, onFinally: K } = gn(e.api, {
|
|
6654
6654
|
defaultParams: {
|
|
6655
6655
|
[a.search]: null,
|
|
6656
6656
|
...e.defaultParams
|
|
@@ -6663,14 +6663,14 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6663
6663
|
S((T) => {
|
|
6664
6664
|
n("before", T);
|
|
6665
6665
|
}), $((T, B) => {
|
|
6666
|
-
n("success", T, B),
|
|
6667
|
-
}),
|
|
6666
|
+
n("success", T, B), pe(T);
|
|
6667
|
+
}), Y((T, B) => {
|
|
6668
6668
|
n("error", T, B);
|
|
6669
6669
|
}), K((T, B, N) => {
|
|
6670
6670
|
n("finally", T, B, N);
|
|
6671
6671
|
});
|
|
6672
|
-
const
|
|
6673
|
-
function
|
|
6672
|
+
const oe = ne(() => e.columns?.reduce((T, B) => T + Number(B.width ?? 100), 0));
|
|
6673
|
+
function pe(T, B) {
|
|
6674
6674
|
if (T[a.list]?.forEach((N) => {
|
|
6675
6675
|
d.some((z) => z[a.rowKey] === N[a.rowKey]) || d.push(N);
|
|
6676
6676
|
}), r) {
|
|
@@ -6687,7 +6687,7 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6687
6687
|
}
|
|
6688
6688
|
}
|
|
6689
6689
|
}
|
|
6690
|
-
const
|
|
6690
|
+
const re = {
|
|
6691
6691
|
onUpdatePage: (T) => {
|
|
6692
6692
|
n("update:page", T), !_.value && C({
|
|
6693
6693
|
[a.page]: T
|
|
@@ -6722,19 +6722,19 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6722
6722
|
},
|
|
6723
6723
|
onUpdateCheckedRowKeys: (T, B, N) => {
|
|
6724
6724
|
const z = T.map((ye) => d.find((Se) => Se[a.rowKey] === ye));
|
|
6725
|
-
n("update:checkedRowKeys", T, z, { row:
|
|
6725
|
+
n("update:checkedRowKeys", T, z, { row: xe(N.row), action: N.action }, xe(v.value));
|
|
6726
6726
|
},
|
|
6727
6727
|
onUpdateExpandedRowKeys: (T) => {
|
|
6728
|
-
n("update:expandedRowKeys", T,
|
|
6728
|
+
n("update:expandedRowKeys", T, xe(v.value));
|
|
6729
6729
|
}
|
|
6730
6730
|
};
|
|
6731
|
-
function
|
|
6731
|
+
function W(T, B) {
|
|
6732
6732
|
return {
|
|
6733
6733
|
onClick: (N) => {
|
|
6734
|
-
n("clickRow",
|
|
6734
|
+
n("clickRow", xe(T), B, N, xe(v.value));
|
|
6735
6735
|
},
|
|
6736
6736
|
onContextmenu: (N) => {
|
|
6737
|
-
n("contextMenuRow",
|
|
6737
|
+
n("contextMenuRow", xe(T), B, N, xe(v.value));
|
|
6738
6738
|
}
|
|
6739
6739
|
};
|
|
6740
6740
|
}
|
|
@@ -6744,7 +6744,7 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6744
6744
|
[a.search]: T
|
|
6745
6745
|
});
|
|
6746
6746
|
}
|
|
6747
|
-
const
|
|
6747
|
+
const ee = {
|
|
6748
6748
|
loading: _,
|
|
6749
6749
|
data: x,
|
|
6750
6750
|
error: p,
|
|
@@ -6762,13 +6762,13 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6762
6762
|
runParamsAsync: R,
|
|
6763
6763
|
onBefore: S,
|
|
6764
6764
|
onSuccess: $,
|
|
6765
|
-
onError:
|
|
6765
|
+
onError: Y,
|
|
6766
6766
|
onFinally: K,
|
|
6767
6767
|
filters: c,
|
|
6768
6768
|
sorters: s,
|
|
6769
6769
|
dataTableRef: o
|
|
6770
|
-
}, j =
|
|
6771
|
-
...
|
|
6770
|
+
}, j = ne(() => ({
|
|
6771
|
+
...ee,
|
|
6772
6772
|
loading: q(_),
|
|
6773
6773
|
data: q(x),
|
|
6774
6774
|
error: q(p),
|
|
@@ -6779,20 +6779,20 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6779
6779
|
sorters: q(s),
|
|
6780
6780
|
dataTableRef: q(o)
|
|
6781
6781
|
}));
|
|
6782
|
-
return u(
|
|
6782
|
+
return u(ee), (T, B) => (U(), Z(w(Cu), {
|
|
6783
6783
|
style: { width: "100%", height: "100%" },
|
|
6784
6784
|
vertical: ""
|
|
6785
6785
|
}, {
|
|
6786
6786
|
default: M(() => [
|
|
6787
|
-
I(T.$slots, "header",
|
|
6788
|
-
|
|
6787
|
+
I(T.$slots, "header", X(Q(j.value)), () => [
|
|
6788
|
+
V(w(Cu), null, {
|
|
6789
6789
|
default: M(() => [
|
|
6790
6790
|
I(T.$slots, "title", {}, () => [
|
|
6791
|
-
Ue("div",
|
|
6792
|
-
T.title ? (U(), Oe("span",
|
|
6791
|
+
Ue("div", qs, [
|
|
6792
|
+
T.title ? (U(), Oe("span", js, eu(T.title), 1)) : Ee("", !0)
|
|
6793
6793
|
])
|
|
6794
6794
|
]),
|
|
6795
|
-
T.search ? (U(),
|
|
6795
|
+
T.search ? (U(), Z(w(Eo), te({
|
|
6796
6796
|
key: 0,
|
|
6797
6797
|
style: { marginLeft: "auto", width: "280px" },
|
|
6798
6798
|
value: w(y)[0][a.search],
|
|
@@ -6800,52 +6800,52 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6800
6800
|
}, i, {
|
|
6801
6801
|
"onUpdate:value": B[0] || (B[0] = (N) => P(N))
|
|
6802
6802
|
}), null, 16, ["value", "loading"])) : Ee("", !0),
|
|
6803
|
-
I(T.$slots, "header-extra",
|
|
6803
|
+
I(T.$slots, "header-extra", X(Q(j.value)))
|
|
6804
6804
|
]),
|
|
6805
6805
|
_: 3
|
|
6806
6806
|
})
|
|
6807
6807
|
]),
|
|
6808
|
-
I(T.$slots, "filter",
|
|
6809
|
-
|
|
6808
|
+
I(T.$slots, "filter", X(Q(j.value))),
|
|
6809
|
+
V(w(ri), te({
|
|
6810
6810
|
ref: "data-table-ref",
|
|
6811
6811
|
remote: "",
|
|
6812
6812
|
"flex-height": "",
|
|
6813
6813
|
"single-line": !1,
|
|
6814
|
-
"scroll-x":
|
|
6814
|
+
"scroll-x": oe.value,
|
|
6815
6815
|
style: { flex: 1 },
|
|
6816
6816
|
"row-key": (N) => N[a.rowKey],
|
|
6817
6817
|
"children-key": a.children,
|
|
6818
6818
|
loading: w(_),
|
|
6819
6819
|
columns: r,
|
|
6820
6820
|
data: w(v),
|
|
6821
|
-
"row-props":
|
|
6821
|
+
"row-props": W
|
|
6822
6822
|
}, T.dataTableProps, {
|
|
6823
|
-
"onUpdate:filters":
|
|
6824
|
-
"onUpdate:sorter":
|
|
6825
|
-
onLoad:
|
|
6826
|
-
onScroll:
|
|
6827
|
-
"onUpdate:checkedRowKeys":
|
|
6828
|
-
"onUpdate:expandedRowKeys":
|
|
6823
|
+
"onUpdate:filters": re.onUpdateFilters,
|
|
6824
|
+
"onUpdate:sorter": re.onUpdateSorter,
|
|
6825
|
+
onLoad: re.onLoad,
|
|
6826
|
+
onScroll: re.onScroll,
|
|
6827
|
+
"onUpdate:checkedRowKeys": re.onUpdateCheckedRowKeys,
|
|
6828
|
+
"onUpdate:expandedRowKeys": re.onUpdateExpandedRowKeys
|
|
6829
6829
|
}), {
|
|
6830
6830
|
empty: M(() => [
|
|
6831
|
-
I(T.$slots, "empty",
|
|
6831
|
+
I(T.$slots, "empty", X(Q(j.value)))
|
|
6832
6832
|
]),
|
|
6833
6833
|
loading: M(() => [
|
|
6834
|
-
I(T.$slots, "loading",
|
|
6834
|
+
I(T.$slots, "loading", X(Q(j.value)))
|
|
6835
6835
|
]),
|
|
6836
6836
|
_: 3
|
|
6837
6837
|
}, 16, ["scroll-x", "row-key", "children-key", "loading", "columns", "data", "onUpdate:filters", "onUpdate:sorter", "onLoad", "onScroll", "onUpdate:checkedRowKeys", "onUpdate:expandedRowKeys"]),
|
|
6838
|
-
I(T.$slots, "footer",
|
|
6839
|
-
|
|
6838
|
+
I(T.$slots, "footer", X(Q(j.value)), () => [
|
|
6839
|
+
V(w(Cu), null, {
|
|
6840
6840
|
default: M(() => [
|
|
6841
|
-
I(T.$slots, "footer-extra",
|
|
6842
|
-
w(A) ? (U(),
|
|
6841
|
+
I(T.$slots, "footer-extra", X(Q(j.value))),
|
|
6842
|
+
w(A) ? (U(), Z(w(Mr), te({
|
|
6843
6843
|
key: 0,
|
|
6844
6844
|
style: { marginLeft: "auto" },
|
|
6845
6845
|
disabled: w(_)
|
|
6846
6846
|
}, { ...l, ...w(A) }, {
|
|
6847
|
-
"onUpdate:page":
|
|
6848
|
-
"onUpdate:pageSize":
|
|
6847
|
+
"onUpdate:page": re.onUpdatePage,
|
|
6848
|
+
"onUpdate:pageSize": re.onUpdatePageSize
|
|
6849
6849
|
}), null, 16, ["disabled", "onUpdate:page", "onUpdate:pageSize"])) : Ee("", !0)
|
|
6850
6850
|
]),
|
|
6851
6851
|
_: 3
|
|
@@ -6856,30 +6856,30 @@ const wr = /* @__PURE__ */ hn(Is, [["render", zs]]), yo = /* @__PURE__ */ de({
|
|
|
6856
6856
|
}));
|
|
6857
6857
|
}
|
|
6858
6858
|
});
|
|
6859
|
-
function
|
|
6859
|
+
function Dr(e) {
|
|
6860
6860
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
6861
6861
|
}
|
|
6862
|
-
function
|
|
6862
|
+
function Ao(e, u) {
|
|
6863
6863
|
const { string: t = "", number: n = null, boolean: r = !1 } = u ?? {};
|
|
6864
6864
|
if (Array.isArray(e))
|
|
6865
6865
|
return e.length = 0, e;
|
|
6866
6866
|
if (typeof e == "object" && e !== null) {
|
|
6867
6867
|
for (const o in e)
|
|
6868
|
-
Object.prototype.hasOwnProperty.call(e, o) && (e[o] =
|
|
6868
|
+
Object.prototype.hasOwnProperty.call(e, o) && (e[o] = Ao(e[o], u));
|
|
6869
6869
|
return e;
|
|
6870
6870
|
}
|
|
6871
6871
|
return typeof e == "string" ? t : typeof e == "number" ? n : typeof e == "boolean" ? r : e;
|
|
6872
6872
|
}
|
|
6873
|
-
function
|
|
6873
|
+
function wo(e = {}, u = {}) {
|
|
6874
6874
|
for (const t in u)
|
|
6875
6875
|
if (Object.prototype.hasOwnProperty.call(u, t)) {
|
|
6876
6876
|
const n = u[t], r = e[t];
|
|
6877
|
-
|
|
6877
|
+
Dr(n) && Dr(r) ? wo(r, n) : e[t] = n;
|
|
6878
6878
|
}
|
|
6879
6879
|
return e;
|
|
6880
6880
|
}
|
|
6881
|
-
function
|
|
6882
|
-
const { rules: t, clearRules: n } = u ?? {}, r = structuredClone(
|
|
6881
|
+
function Hs(e, u) {
|
|
6882
|
+
const { rules: t, clearRules: n } = u ?? {}, r = structuredClone(xe(q(e))), o = G(q(e ?? {})), a = G(q(t) ?? {}), i = G(), l = {
|
|
6883
6883
|
ref: i,
|
|
6884
6884
|
model: Ze(o.value),
|
|
6885
6885
|
rules: Ze(a.value)
|
|
@@ -6891,19 +6891,19 @@ function js(e, u) {
|
|
|
6891
6891
|
return new Promise((v, A) => {
|
|
6892
6892
|
if (!i.value)
|
|
6893
6893
|
return A(new Error("useNaiveForm: formRef is not found."));
|
|
6894
|
-
i.value.validate().then((b) => (c.trigger(
|
|
6894
|
+
i.value.validate().then((b) => (c.trigger(xe(q(o))), v(b))).catch(A);
|
|
6895
6895
|
});
|
|
6896
6896
|
}
|
|
6897
6897
|
function _() {
|
|
6898
6898
|
i.value?.restoreValidation();
|
|
6899
6899
|
}
|
|
6900
6900
|
function x() {
|
|
6901
|
-
|
|
6901
|
+
Ao(o.value, n);
|
|
6902
6902
|
}
|
|
6903
6903
|
function p() {
|
|
6904
6904
|
x();
|
|
6905
6905
|
const v = structuredClone(r);
|
|
6906
|
-
|
|
6906
|
+
wo(o.value, v);
|
|
6907
6907
|
}
|
|
6908
6908
|
function y() {
|
|
6909
6909
|
_(), p();
|
|
@@ -6922,7 +6922,7 @@ function js(e, u) {
|
|
|
6922
6922
|
onValidated: c.on
|
|
6923
6923
|
};
|
|
6924
6924
|
}
|
|
6925
|
-
const
|
|
6925
|
+
const Fr = /* @__PURE__ */ de({
|
|
6926
6926
|
__name: "PresetInput",
|
|
6927
6927
|
props: {
|
|
6928
6928
|
value: {},
|
|
@@ -6932,20 +6932,20 @@ const Dr = /* @__PURE__ */ de({
|
|
|
6932
6932
|
setup(e, { emit: u }) {
|
|
6933
6933
|
const t = u, n = {
|
|
6934
6934
|
button: uu,
|
|
6935
|
-
"color-picker":
|
|
6936
|
-
checkbox:
|
|
6937
|
-
divider:
|
|
6938
|
-
"date-picker":
|
|
6939
|
-
"dynamic-tags":
|
|
6935
|
+
"color-picker": hi,
|
|
6936
|
+
checkbox: pi,
|
|
6937
|
+
divider: Nr,
|
|
6938
|
+
"date-picker": di,
|
|
6939
|
+
"dynamic-tags": fi,
|
|
6940
6940
|
input: nn,
|
|
6941
|
-
"input-number":
|
|
6942
|
-
search:
|
|
6943
|
-
radio:
|
|
6944
|
-
rate:
|
|
6945
|
-
select:
|
|
6946
|
-
slider:
|
|
6947
|
-
switch:
|
|
6948
|
-
"time-picker":
|
|
6941
|
+
"input-number": si,
|
|
6942
|
+
search: Eo,
|
|
6943
|
+
radio: ci,
|
|
6944
|
+
rate: li,
|
|
6945
|
+
select: Lr,
|
|
6946
|
+
slider: ai,
|
|
6947
|
+
switch: ii,
|
|
6948
|
+
"time-picker": oi
|
|
6949
6949
|
};
|
|
6950
6950
|
function r() {
|
|
6951
6951
|
const { type: o, props: a, slots: i } = e.options ?? {};
|
|
@@ -6967,7 +6967,7 @@ const Dr = /* @__PURE__ */ de({
|
|
|
6967
6967
|
},
|
|
6968
6968
|
...c
|
|
6969
6969
|
}, {
|
|
6970
|
-
default: () => l?.map((s) => Je(
|
|
6970
|
+
default: () => l?.map((s) => Je(bi, { ...s })),
|
|
6971
6971
|
...i
|
|
6972
6972
|
});
|
|
6973
6973
|
}
|
|
@@ -6988,7 +6988,7 @@ const Dr = /* @__PURE__ */ de({
|
|
|
6988
6988
|
},
|
|
6989
6989
|
...c
|
|
6990
6990
|
}, {
|
|
6991
|
-
default: () => l?.map((s) => Je(
|
|
6991
|
+
default: () => l?.map((s) => Je(mi, { ...s })),
|
|
6992
6992
|
...i
|
|
6993
6993
|
});
|
|
6994
6994
|
}
|
|
@@ -7003,10 +7003,10 @@ const Dr = /* @__PURE__ */ de({
|
|
|
7003
7003
|
...i
|
|
7004
7004
|
});
|
|
7005
7005
|
}
|
|
7006
|
-
return (o, a) => (U(),
|
|
7006
|
+
return (o, a) => (U(), Z(ot(r())));
|
|
7007
7007
|
}
|
|
7008
7008
|
});
|
|
7009
|
-
function
|
|
7009
|
+
function Sr(e) {
|
|
7010
7010
|
const { key: u, label: t, required: n, rule: r } = e ?? {};
|
|
7011
7011
|
let o;
|
|
7012
7012
|
return (typeof n == "function" ? n() : n) && (o = {
|
|
@@ -7015,7 +7015,7 @@ function Fr(e) {
|
|
|
7015
7015
|
trigger: ["input", "blur"]
|
|
7016
7016
|
}), r && (o ? Object.assign(o, r) : o = r), o;
|
|
7017
7017
|
}
|
|
7018
|
-
const
|
|
7018
|
+
const tf = /* @__PURE__ */ de({
|
|
7019
7019
|
__name: "PresetForm",
|
|
7020
7020
|
props: {
|
|
7021
7021
|
options: {},
|
|
@@ -7027,14 +7027,14 @@ const uf = /* @__PURE__ */ de({
|
|
|
7027
7027
|
},
|
|
7028
7028
|
emits: ["validated"],
|
|
7029
7029
|
setup(e, { expose: u, emit: t }) {
|
|
7030
|
-
const n = t, { formValue: r, formRules: o, formRef: a, formProps: i, setValue: l, validate: c, resetValidation: s, resetForm: d, reset: _, clear: x, onValidated: p } =
|
|
7030
|
+
const n = t, { formValue: r, formRules: o, formRef: a, formProps: i, setValue: l, validate: c, resetValidation: s, resetForm: d, reset: _, clear: x, onValidated: p } = Hs(e.values, {
|
|
7031
7031
|
rules: e.rules,
|
|
7032
7032
|
clearRules: e.clearRules
|
|
7033
7033
|
});
|
|
7034
7034
|
p((f) => {
|
|
7035
7035
|
n("validated", f);
|
|
7036
7036
|
});
|
|
7037
|
-
const y = G(!1), v =
|
|
7037
|
+
const y = G(!1), v = ne(() => e.options?.filter((f) => typeof f.hidden == "function" ? !f.hidden() : !f.hidden).filter((f) => typeof f.collapsed == "function" ? !f.collapsed() : !f.collapsed)), A = ne(() => e.options?.filter((f) => typeof f.hidden == "function" ? !f.hidden() : !f.hidden).filter((f) => typeof f.collapsed == "function" ? !f.collapsed() : f.collapsed));
|
|
7038
7038
|
function b(f, g) {
|
|
7039
7039
|
g && l({ [g]: f });
|
|
7040
7040
|
}
|
|
@@ -7050,48 +7050,54 @@ const uf = /* @__PURE__ */ de({
|
|
|
7050
7050
|
reset: _,
|
|
7051
7051
|
clear: x,
|
|
7052
7052
|
onValidated: p
|
|
7053
|
-
}, k =
|
|
7053
|
+
}, k = ne(() => ({
|
|
7054
7054
|
...m,
|
|
7055
7055
|
formRef: q(a),
|
|
7056
7056
|
formValue: q(r),
|
|
7057
7057
|
formRules: q(o),
|
|
7058
7058
|
formProps: q(i)
|
|
7059
7059
|
}));
|
|
7060
|
-
return u(m), (f, g) => (U(),
|
|
7060
|
+
return u(m), (f, g) => (U(), Z(w(gi), te({
|
|
7061
7061
|
ref_key: "formRef",
|
|
7062
7062
|
ref: a,
|
|
7063
7063
|
model: w(r),
|
|
7064
7064
|
rules: w(o)
|
|
7065
7065
|
}, f.formProps), {
|
|
7066
7066
|
default: M(() => [
|
|
7067
|
-
I(f.$slots, "header",
|
|
7068
|
-
I(f.$slots, "default",
|
|
7069
|
-
v.value && v.value.length > 0 ? (U(),
|
|
7067
|
+
I(f.$slots, "header", X(Q(k.value))),
|
|
7068
|
+
I(f.$slots, "default", X(Q(k.value)), () => [
|
|
7069
|
+
v.value && v.value.length > 0 ? (U(), Z(w(In), X(te({ key: 0 }, f.gridProps)), {
|
|
7070
7070
|
default: M(() => [
|
|
7071
|
-
(U(!0), Oe(wu, null, Nn(v.value, ({ key: E, label: F, required: C, span: R, rule: S, itemProps: $, render:
|
|
7072
|
-
key:
|
|
7073
|
-
|
|
7074
|
-
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7071
|
+
(U(!0), Oe(wu, null, Nn(v.value, ({ key: E, label: F, required: C, span: R, rule: S, itemProps: { offset: $, span: Y, suffix: K, ...oe } = {}, render: pe, ...re }, W) => (U(), Z(w(Bn), te({
|
|
7072
|
+
key: W,
|
|
7073
|
+
span: typeof R == "function" ? R() : R ?? Y
|
|
7074
|
+
}, { ref_for: !0 }, { offset: $, suffix: K }), {
|
|
7075
|
+
default: M(({ overflow: P }) => [
|
|
7076
|
+
V(w(zn), te({
|
|
7077
|
+
label: typeof F == "function" ? F() : F,
|
|
7078
|
+
path: typeof E == "string" ? E : void 0,
|
|
7079
|
+
rule: w(Sr)({ key: E, label: F, required: C, rule: S })
|
|
7080
|
+
}, { ref_for: !0 }, oe), {
|
|
7081
|
+
default: M(() => [
|
|
7082
|
+
pe ? (U(), Z(ot(pe({ ...m, overflow: P })), { key: 0 })) : (U(), Z(w(Fr), {
|
|
7083
|
+
key: 1,
|
|
7084
|
+
options: re,
|
|
7085
|
+
value: E ? w(r)[E] : void 0,
|
|
7086
|
+
"onUpdate:value": (ee) => b(ee, E)
|
|
7087
|
+
}, null, 8, ["options", "value", "onUpdate:value"]))
|
|
7088
|
+
]),
|
|
7089
|
+
_: 2
|
|
7090
|
+
}, 1040, ["label", "path", "rule"])
|
|
7085
7091
|
]),
|
|
7086
7092
|
_: 2
|
|
7087
|
-
}, 1040, ["
|
|
7093
|
+
}, 1040, ["span"]))), 128))
|
|
7088
7094
|
]),
|
|
7089
7095
|
_: 1
|
|
7090
7096
|
}, 16)) : Ee("", !0),
|
|
7091
7097
|
A.value && A.value.length > 0 ? (U(), Oe(wu, { key: 1 }, [
|
|
7092
|
-
|
|
7098
|
+
V(w(Nr), { style: { margin: "5px 0" } }, {
|
|
7093
7099
|
default: M(() => [
|
|
7094
|
-
|
|
7100
|
+
V(w(uu), {
|
|
7095
7101
|
size: "tiny",
|
|
7096
7102
|
onClick: g[0] || (g[0] = (E) => y.value = !y.value)
|
|
7097
7103
|
}, {
|
|
@@ -7103,27 +7109,33 @@ const uf = /* @__PURE__ */ de({
|
|
|
7103
7109
|
]),
|
|
7104
7110
|
_: 1
|
|
7105
7111
|
}),
|
|
7106
|
-
|
|
7112
|
+
V(w(ki), { show: y.value }, {
|
|
7107
7113
|
default: M(() => [
|
|
7108
|
-
|
|
7114
|
+
V(w(In), X(Q(f.gridProps)), {
|
|
7109
7115
|
default: M(() => [
|
|
7110
|
-
(U(!0), Oe(wu, null, Nn(A.value, ({ key: E, label: F, required: C, span: R, rule: S, itemProps: $, render:
|
|
7111
|
-
key:
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7116
|
+
(U(!0), Oe(wu, null, Nn(A.value, ({ key: E, label: F, required: C, span: R, rule: S, itemProps: { offset: $, span: Y, suffix: K, ...oe } = {}, render: pe, ...re }, W) => (U(), Z(w(Bn), te({
|
|
7117
|
+
key: W,
|
|
7118
|
+
span: typeof R == "function" ? R() : R ?? Y
|
|
7119
|
+
}, { ref_for: !0 }, { offset: $, suffix: K }), {
|
|
7120
|
+
default: M(({ overflow: P }) => [
|
|
7121
|
+
V(w(zn), te({
|
|
7122
|
+
label: typeof F == "function" ? F() : F,
|
|
7123
|
+
path: typeof E == "string" ? E : void 0,
|
|
7124
|
+
rule: w(Sr)({ key: E, label: F, required: C, rule: S })
|
|
7125
|
+
}, { ref_for: !0 }, oe), {
|
|
7126
|
+
default: M(() => [
|
|
7127
|
+
pe ? (U(), Z(ot(pe({ ...m, overflow: P })), { key: 0 })) : (U(), Z(w(Fr), {
|
|
7128
|
+
key: 1,
|
|
7129
|
+
options: re,
|
|
7130
|
+
value: E ? w(r)[E] : void 0,
|
|
7131
|
+
"onUpdate:value": (ee) => b(ee, E)
|
|
7132
|
+
}, null, 8, ["options", "value", "onUpdate:value"]))
|
|
7133
|
+
]),
|
|
7134
|
+
_: 2
|
|
7135
|
+
}, 1040, ["label", "path", "rule"])
|
|
7124
7136
|
]),
|
|
7125
7137
|
_: 2
|
|
7126
|
-
}, 1040, ["
|
|
7138
|
+
}, 1040, ["span"]))), 128))
|
|
7127
7139
|
]),
|
|
7128
7140
|
_: 1
|
|
7129
7141
|
}, 16)
|
|
@@ -7132,28 +7144,28 @@ const uf = /* @__PURE__ */ de({
|
|
|
7132
7144
|
}, 8, ["show"])
|
|
7133
7145
|
], 64)) : Ee("", !0)
|
|
7134
7146
|
]),
|
|
7135
|
-
I(f.$slots, "footer",
|
|
7147
|
+
I(f.$slots, "footer", X(Q(k.value)))
|
|
7136
7148
|
]),
|
|
7137
7149
|
_: 3
|
|
7138
7150
|
}, 16, ["model", "rules"]));
|
|
7139
7151
|
}
|
|
7140
|
-
}),
|
|
7152
|
+
}), Gs = {
|
|
7141
7153
|
name: "MageMultiplyCircleFill"
|
|
7142
|
-
},
|
|
7154
|
+
}, Vs = {
|
|
7143
7155
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7144
7156
|
width: "1em",
|
|
7145
7157
|
height: "1em",
|
|
7146
7158
|
viewBox: "0 0 24 24"
|
|
7147
7159
|
};
|
|
7148
|
-
function
|
|
7149
|
-
return U(), Oe("svg",
|
|
7160
|
+
function Ws(e, u, t, n, r, o) {
|
|
7161
|
+
return U(), Oe("svg", Vs, u[0] || (u[0] = [
|
|
7150
7162
|
Ue("path", {
|
|
7151
7163
|
fill: "currentColor",
|
|
7152
7164
|
d: "M12 1.75A10.25 10.25 0 1 0 22.25 12A10.26 10.26 0 0 0 12 1.75m4.67 13.5a1 1 0 0 1 0 1.42a1 1 0 0 1-1.42 0L12 13.42l-3.25 3.25a1 1 0 0 1-1.41-1.42L10.59 12L7.34 8.75a1 1 0 1 1 1.41-1.41L12 10.59l3.25-3.25a1 1 0 1 1 1.42 1.41L13.42 12z"
|
|
7153
7165
|
}, null, -1)
|
|
7154
7166
|
]));
|
|
7155
7167
|
}
|
|
7156
|
-
const
|
|
7168
|
+
const Zs = /* @__PURE__ */ hn(Gs, [["render", Ws]]), nf = /* @__PURE__ */ de({
|
|
7157
7169
|
__name: "PresetPicker",
|
|
7158
7170
|
props: {
|
|
7159
7171
|
value: {},
|
|
@@ -7188,7 +7200,7 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7188
7200
|
...e.columns ?? []
|
|
7189
7201
|
]), c = G(!1);
|
|
7190
7202
|
function s() {
|
|
7191
|
-
o.value = structuredClone(Array.isArray(e.value) ?
|
|
7203
|
+
o.value = structuredClone(Array.isArray(e.value) ? xe(e.value) : e.value ? [e.value] : []), c.value = !0;
|
|
7192
7204
|
}
|
|
7193
7205
|
function d(f) {
|
|
7194
7206
|
e.multiple ? o.value.includes(f?.[r.value]) ? (o.value = o.value.filter((g) => g !== f?.[r.value]), a.value = a.value.filter((g) => g?.[r.value] !== f?.[r.value])) : (o.value.push(f?.[r.value]), a.value.push(f)) : (o.value = [f?.[r.value]], a.value = [f]);
|
|
@@ -7213,10 +7225,10 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7213
7225
|
}
|
|
7214
7226
|
function p() {
|
|
7215
7227
|
if (n("positiveClick"), e.multiple) {
|
|
7216
|
-
const f =
|
|
7228
|
+
const f = xe(q(o)), g = f.map((E) => xe(q(a.value.find((F) => F?.[r.value] === E))));
|
|
7217
7229
|
n("update:value", f, g);
|
|
7218
7230
|
} else {
|
|
7219
|
-
const f = o.value[0] ?? null, g =
|
|
7231
|
+
const f = o.value[0] ?? null, g = xe(q(a.value.find((E) => E?.[r.value] === f)));
|
|
7220
7232
|
n("update:value", f, g);
|
|
7221
7233
|
}
|
|
7222
7234
|
c.value = !1;
|
|
@@ -7224,7 +7236,7 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7224
7236
|
function y() {
|
|
7225
7237
|
n("update:value", null, null);
|
|
7226
7238
|
}
|
|
7227
|
-
const v =
|
|
7239
|
+
const v = ne(() => {
|
|
7228
7240
|
if (Array.isArray(e.value) && e.value.length > 0)
|
|
7229
7241
|
return typeof e.fallbackLabel == "string" ? e.fallbackLabel : e.value.map((f) => {
|
|
7230
7242
|
const g = a.value.find((E) => E?.[r.value] === f);
|
|
@@ -7235,7 +7247,7 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7235
7247
|
return f && f?.[r.label] ? f[r.label] : typeof e.fallbackLabel == "function" ? e.fallbackLabel(e.value) : e.fallbackLabel ?? e.value;
|
|
7236
7248
|
}
|
|
7237
7249
|
return e.placeholder;
|
|
7238
|
-
}), A =
|
|
7250
|
+
}), A = ne(() => e.clearable && (Array.isArray(e.value) ? e.value.length > 0 : !!e.value)), b = ne(() => Array.isArray(e.value) ? e.value.length : void 0), m = {
|
|
7239
7251
|
showModalFlag: c,
|
|
7240
7252
|
checkedRowKeys: o,
|
|
7241
7253
|
checkedRows: a,
|
|
@@ -7250,23 +7262,23 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7250
7262
|
setCheckedRows: (f) => {
|
|
7251
7263
|
a.value = f;
|
|
7252
7264
|
}
|
|
7253
|
-
}, k =
|
|
7265
|
+
}, k = ne(() => ({
|
|
7254
7266
|
...m,
|
|
7255
7267
|
showModalFlag: q(c),
|
|
7256
7268
|
checkedRowKeys: q(o),
|
|
7257
7269
|
checkedRows: q(a),
|
|
7258
7270
|
columns: q(l)
|
|
7259
7271
|
}));
|
|
7260
|
-
return u(m), (f, g) => (U(),
|
|
7272
|
+
return u(m), (f, g) => (U(), Z(w(xi), te({ value: b.value }, f.badgeProps), {
|
|
7261
7273
|
default: M(() => [
|
|
7262
|
-
|
|
7274
|
+
V(w(_i), null, {
|
|
7263
7275
|
default: M(() => [
|
|
7264
|
-
|
|
7276
|
+
V(w(tn), {
|
|
7265
7277
|
disabled: !Array.isArray(f.value),
|
|
7266
7278
|
trigger: Array.isArray(f.value) ? "hover" : "manual"
|
|
7267
7279
|
}, {
|
|
7268
7280
|
trigger: M(() => [
|
|
7269
|
-
|
|
7281
|
+
V(w(uu), te({
|
|
7270
7282
|
type: f.type,
|
|
7271
7283
|
disabled: f.disabled
|
|
7272
7284
|
}, f.buttonProps, { onClick: s }), {
|
|
@@ -7287,22 +7299,22 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7287
7299
|
_: 3
|
|
7288
7300
|
}, 8, ["disabled", "trigger"]),
|
|
7289
7301
|
I(f.$slots, "clear-button", {}, () => [
|
|
7290
|
-
A.value ? (U(),
|
|
7302
|
+
A.value ? (U(), Z(w(uu), te({
|
|
7291
7303
|
key: 0,
|
|
7292
7304
|
circle: "",
|
|
7293
7305
|
type: f.type
|
|
7294
7306
|
}, f.clearButtonProps, {
|
|
7295
|
-
onClick:
|
|
7307
|
+
onClick: Uo(y, ["stop"])
|
|
7296
7308
|
}), {
|
|
7297
7309
|
icon: M(() => [
|
|
7298
7310
|
I(f.$slots, "clear-icon", {}, () => [
|
|
7299
|
-
|
|
7311
|
+
V(Zs)
|
|
7300
7312
|
])
|
|
7301
7313
|
]),
|
|
7302
7314
|
_: 3
|
|
7303
7315
|
}, 16, ["type"])) : Ee("", !0)
|
|
7304
7316
|
]),
|
|
7305
|
-
|
|
7317
|
+
V(w(vi), te({
|
|
7306
7318
|
show: c.value,
|
|
7307
7319
|
"onUpdate:show": g[0] || (g[0] = (E) => c.value = E),
|
|
7308
7320
|
style: { width: "auto" },
|
|
@@ -7333,7 +7345,7 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7333
7345
|
I(f.$slots, "modal-close")
|
|
7334
7346
|
]),
|
|
7335
7347
|
default: M(() => [
|
|
7336
|
-
I(f.$slots, "default",
|
|
7348
|
+
I(f.$slots, "default", X(Q(k.value)))
|
|
7337
7349
|
]),
|
|
7338
7350
|
_: 3
|
|
7339
7351
|
}, 16, ["show", "title"])
|
|
@@ -7344,7 +7356,7 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7344
7356
|
_: 3
|
|
7345
7357
|
}, 16, ["value"]));
|
|
7346
7358
|
}
|
|
7347
|
-
}),
|
|
7359
|
+
}), rf = /* @__PURE__ */ de({
|
|
7348
7360
|
__name: "PresetSelect",
|
|
7349
7361
|
props: {
|
|
7350
7362
|
api: { type: Function },
|
|
@@ -7379,20 +7391,20 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7379
7391
|
});
|
|
7380
7392
|
E((P) => {
|
|
7381
7393
|
n("before", P);
|
|
7382
|
-
}), F((P,
|
|
7383
|
-
n("success", P,
|
|
7394
|
+
}), F((P, ee) => {
|
|
7395
|
+
n("success", P, ee), P[o.list]?.forEach((j) => {
|
|
7384
7396
|
i.some((T) => T[o.rowKey] === j[o.rowKey]) || i.push(j);
|
|
7385
7397
|
});
|
|
7386
|
-
}), C((P,
|
|
7387
|
-
n("error", P,
|
|
7388
|
-
}), R((P,
|
|
7389
|
-
n("finally", P,
|
|
7398
|
+
}), C((P, ee) => {
|
|
7399
|
+
n("error", P, ee);
|
|
7400
|
+
}), R((P, ee, j) => {
|
|
7401
|
+
n("finally", P, ee, j);
|
|
7390
7402
|
});
|
|
7391
|
-
const S =
|
|
7403
|
+
const S = ne(() => typeof e.optionFormat == "function" ? _.value.map((P) => e.optionFormat(P)).filter((P) => !!P) : _.value.map((P) => ({
|
|
7392
7404
|
[o.label]: P[o.label],
|
|
7393
7405
|
[o.value]: P[o.value],
|
|
7394
7406
|
[o.children]: P[o.children]
|
|
7395
|
-
}))), $ = G(""),
|
|
7407
|
+
}))), $ = G(""), Y = $r(() => {
|
|
7396
7408
|
f({
|
|
7397
7409
|
[o.page]: 1,
|
|
7398
7410
|
[o.search]: $.value
|
|
@@ -7411,12 +7423,12 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7411
7423
|
onScroll: (P) => {
|
|
7412
7424
|
n("scroll", P);
|
|
7413
7425
|
},
|
|
7414
|
-
onUpdateValue: (P,
|
|
7426
|
+
onUpdateValue: (P, ee) => {
|
|
7415
7427
|
const j = Array.isArray(P) ? _.value.filter((T) => P.includes(T[o.value])) : _.value.find((T) => T[o.value] === P) ?? null;
|
|
7416
|
-
n("update:value", P,
|
|
7428
|
+
n("update:value", P, ee, xe(q(j)));
|
|
7417
7429
|
},
|
|
7418
7430
|
onSearch: (P) => {
|
|
7419
|
-
$.value = P, !l.value && (e.debounce ?
|
|
7431
|
+
$.value = P, !l.value && (e.debounce ? Y() : f({
|
|
7420
7432
|
[o.page]: 1,
|
|
7421
7433
|
[o.search]: $.value
|
|
7422
7434
|
}));
|
|
@@ -7429,7 +7441,7 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7429
7441
|
...e.defaultParams ?? {}
|
|
7430
7442
|
}));
|
|
7431
7443
|
}
|
|
7432
|
-
},
|
|
7444
|
+
}, oe = {
|
|
7433
7445
|
onUpdatePage: (P) => {
|
|
7434
7446
|
n("update:page", P), !l.value && f({
|
|
7435
7447
|
[o.page]: P
|
|
@@ -7441,13 +7453,13 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7441
7453
|
});
|
|
7442
7454
|
}
|
|
7443
7455
|
};
|
|
7444
|
-
function
|
|
7456
|
+
function pe(P) {
|
|
7445
7457
|
return typeof e.fallbackLabel == "function" ? e.fallbackLabel(P) : {
|
|
7446
7458
|
[o.label]: e.fallbackLabel ?? `${P}`,
|
|
7447
7459
|
[o.value]: P
|
|
7448
7460
|
};
|
|
7449
7461
|
}
|
|
7450
|
-
const
|
|
7462
|
+
const re = {
|
|
7451
7463
|
loading: l,
|
|
7452
7464
|
data: c,
|
|
7453
7465
|
error: s,
|
|
@@ -7468,8 +7480,8 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7468
7480
|
onError: C,
|
|
7469
7481
|
onFinally: R,
|
|
7470
7482
|
selectRef: r
|
|
7471
|
-
},
|
|
7472
|
-
...
|
|
7483
|
+
}, W = ne(() => ({
|
|
7484
|
+
...re,
|
|
7473
7485
|
loading: q(l),
|
|
7474
7486
|
data: q(c),
|
|
7475
7487
|
error: q(s),
|
|
@@ -7478,7 +7490,7 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7478
7490
|
pagination: q(x),
|
|
7479
7491
|
selectRef: q(r)
|
|
7480
7492
|
}));
|
|
7481
|
-
return u(
|
|
7493
|
+
return u(re), (P, ee) => (U(), Z(w(Lr), te({
|
|
7482
7494
|
ref: "select-ref",
|
|
7483
7495
|
remote: "",
|
|
7484
7496
|
filterable: "",
|
|
@@ -7490,7 +7502,7 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7490
7502
|
"value-field": o.value,
|
|
7491
7503
|
"children-field": o.children,
|
|
7492
7504
|
value: P.value,
|
|
7493
|
-
"fallback-option":
|
|
7505
|
+
"fallback-option": pe,
|
|
7494
7506
|
loading: w(l)
|
|
7495
7507
|
}, P.selectProps, {
|
|
7496
7508
|
onBlur: K.onBlur,
|
|
@@ -7503,21 +7515,21 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7503
7515
|
"onUpdate:value": K.onUpdateValue
|
|
7504
7516
|
}), {
|
|
7505
7517
|
header: M(() => [
|
|
7506
|
-
I(P.$slots, "header",
|
|
7518
|
+
I(P.$slots, "header", X(Q(W.value)))
|
|
7507
7519
|
]),
|
|
7508
7520
|
action: M(() => [
|
|
7509
|
-
I(P.$slots, "footer",
|
|
7510
|
-
|
|
7521
|
+
I(P.$slots, "footer", X(Q(W.value)), () => [
|
|
7522
|
+
V(w(Cu), null, {
|
|
7511
7523
|
default: M(() => [
|
|
7512
|
-
I(P.$slots, "footer-extra",
|
|
7513
|
-
w(x) ? (U(),
|
|
7524
|
+
I(P.$slots, "footer-extra", X(Q(W.value))),
|
|
7525
|
+
w(x) ? (U(), Z(w(Mr), te({
|
|
7514
7526
|
key: 0,
|
|
7515
7527
|
style: { marginLeft: "auto" },
|
|
7516
7528
|
simple: "",
|
|
7517
7529
|
disabled: w(l)
|
|
7518
7530
|
}, { ...a, ...w(x) }, {
|
|
7519
|
-
"onUpdate:page":
|
|
7520
|
-
"onUpdate:pageSize":
|
|
7531
|
+
"onUpdate:page": oe.onUpdatePage,
|
|
7532
|
+
"onUpdate:pageSize": oe.onUpdatePageSize
|
|
7521
7533
|
}), null, 16, ["disabled", "onUpdate:page", "onUpdate:pageSize"])) : Ee("", !0)
|
|
7522
7534
|
]),
|
|
7523
7535
|
_: 3
|
|
@@ -7525,15 +7537,15 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7525
7537
|
])
|
|
7526
7538
|
]),
|
|
7527
7539
|
empty: M(() => [
|
|
7528
|
-
I(P.$slots, "empty",
|
|
7540
|
+
I(P.$slots, "empty", X(Q(W.value)))
|
|
7529
7541
|
]),
|
|
7530
7542
|
arrow: M(() => [
|
|
7531
|
-
I(P.$slots, "arrow",
|
|
7543
|
+
I(P.$slots, "arrow", X(Q(W.value)))
|
|
7532
7544
|
]),
|
|
7533
7545
|
_: 3
|
|
7534
7546
|
}, 16, ["multiple", "disabled", "clearable", "options", "label-field", "value-field", "children-field", "value", "loading", "onBlur", "onClear", "onCreate", "onFocus", "onScroll", "onSearch", "onUpdate:show", "onUpdate:value"]));
|
|
7535
7547
|
}
|
|
7536
|
-
}),
|
|
7548
|
+
}), of = /* @__PURE__ */ de({
|
|
7537
7549
|
__name: "RemoteRequest",
|
|
7538
7550
|
props: {
|
|
7539
7551
|
api: { type: Function },
|
|
@@ -7581,7 +7593,7 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7581
7593
|
onSuccess: f,
|
|
7582
7594
|
onError: g,
|
|
7583
7595
|
onFinally: E
|
|
7584
|
-
}, C =
|
|
7596
|
+
}, C = ne(() => ({
|
|
7585
7597
|
...F,
|
|
7586
7598
|
loading: q(o),
|
|
7587
7599
|
data: q(a),
|
|
@@ -7590,11 +7602,11 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7590
7602
|
list: q(c),
|
|
7591
7603
|
pagination: q(s)
|
|
7592
7604
|
}));
|
|
7593
|
-
return u(F), (R, S) => I(R.$slots, "default",
|
|
7605
|
+
return u(F), (R, S) => I(R.$slots, "default", X(Q(C.value)));
|
|
7594
7606
|
}
|
|
7595
|
-
}),
|
|
7607
|
+
}), af = /* @__PURE__ */ de({
|
|
7596
7608
|
__name: "ToggleEditor",
|
|
7597
|
-
props: /* @__PURE__ */
|
|
7609
|
+
props: /* @__PURE__ */ qo({
|
|
7598
7610
|
inputProps: {}
|
|
7599
7611
|
}, {
|
|
7600
7612
|
value: {},
|
|
@@ -7602,9 +7614,9 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7602
7614
|
}),
|
|
7603
7615
|
emits: ["update:value"],
|
|
7604
7616
|
setup(e) {
|
|
7605
|
-
const u =
|
|
7617
|
+
const u = jo(e, "value"), t = G(!1), n = ft("inputRef"), r = G(u.value);
|
|
7606
7618
|
function o() {
|
|
7607
|
-
t.value = !0,
|
|
7619
|
+
t.value = !0, Pr(() => {
|
|
7608
7620
|
n.value?.focus();
|
|
7609
7621
|
});
|
|
7610
7622
|
}
|
|
@@ -7612,7 +7624,7 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7612
7624
|
t.value = !1, u.value = r.value;
|
|
7613
7625
|
}
|
|
7614
7626
|
return (i, l) => (U(), Oe("div", { onClick: o }, [
|
|
7615
|
-
t.value ? (U(),
|
|
7627
|
+
t.value ? (U(), Z(w(nn), te({
|
|
7616
7628
|
key: 0,
|
|
7617
7629
|
ref_key: "inputRef",
|
|
7618
7630
|
ref: n,
|
|
@@ -7626,7 +7638,7 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7626
7638
|
], 64))
|
|
7627
7639
|
]));
|
|
7628
7640
|
}
|
|
7629
|
-
}),
|
|
7641
|
+
}), lf = /* @__PURE__ */ de({
|
|
7630
7642
|
__name: "TooltipButton",
|
|
7631
7643
|
props: {
|
|
7632
7644
|
value: {},
|
|
@@ -7636,9 +7648,9 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7636
7648
|
emits: ["click"],
|
|
7637
7649
|
setup(e, { emit: u }) {
|
|
7638
7650
|
const t = u;
|
|
7639
|
-
return (n, r) => (U(),
|
|
7651
|
+
return (n, r) => (U(), Z(w(tn), X(Q(n.tooltipProps)), {
|
|
7640
7652
|
trigger: M(() => [
|
|
7641
|
-
|
|
7653
|
+
V(w(uu), te(n.buttonProps, {
|
|
7642
7654
|
onClick: r[0] || (r[0] = (o) => t("click", o))
|
|
7643
7655
|
}), {
|
|
7644
7656
|
icon: M(() => [
|
|
@@ -7660,19 +7672,19 @@ const Ws = /* @__PURE__ */ hn(Hs, [["render", Vs]]), tf = /* @__PURE__ */ de({
|
|
|
7660
7672
|
}
|
|
7661
7673
|
});
|
|
7662
7674
|
export {
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
|
|
7666
|
-
|
|
7667
|
-
|
|
7668
|
-
|
|
7669
|
-
|
|
7670
|
-
|
|
7671
|
-
|
|
7672
|
-
|
|
7673
|
-
|
|
7674
|
-
|
|
7675
|
-
|
|
7676
|
-
|
|
7677
|
-
|
|
7675
|
+
Js as NBubble,
|
|
7676
|
+
Ks as NConfigProviders,
|
|
7677
|
+
ef as NCopyButton,
|
|
7678
|
+
uf as NDataTablePlus,
|
|
7679
|
+
wc as NFullLoading,
|
|
7680
|
+
tf as NPresetForm,
|
|
7681
|
+
Fr as NPresetInput,
|
|
7682
|
+
nf as NPresetPicker,
|
|
7683
|
+
rf as NPresetSelect,
|
|
7684
|
+
of as NRemoteRequest,
|
|
7685
|
+
Eo as NSearchInput,
|
|
7686
|
+
af as NToggleEditor,
|
|
7687
|
+
lf as NTooltipButton,
|
|
7688
|
+
Ur as NTransition,
|
|
7689
|
+
mc as NTypeWriter
|
|
7678
7690
|
};
|