@oiij/naive-ui 0.0.9 → 0.0.10
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/search-input/SearchInput.vue.d.ts +2 -2
- package/dist/components.cjs +8 -8
- package/dist/components.js +719 -709
- package/dist/components.umd.cjs +12 -12
- package/dist/composables/useNaiveForm.d.cts +4 -4
- package/dist/composables/useNaiveTheme.d.cts +2 -2
- package/package.json +5 -5
package/dist/components.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { inject as _r, onBeforeMount as
|
|
2
|
-
import { NEl as yr, NAvatar as
|
|
3
|
-
import { useClipboard as ni, createEventHook as Zu, useDebounceFn as
|
|
1
|
+
import { inject as _r, onBeforeMount as Ao, defineComponent as be, createBlock as G, openBlock as B, unref as S, normalizeClass as Ku, withCtx as I, renderSlot as q, createVNode as V, createCommentVNode as je, mergeProps as he, resolveDynamicComponent as yu, Transition as wo, createElementVNode as Fu, normalizeStyle as vr, onMounted as Co, normalizeProps as xe, guardReactiveProps as ke, createElementBlock as He, watch as Le, createTextVNode as it, toDisplayString as at, ref as H, watchEffect as Ne, onScopeDispose as Jt, computed as me, onUnmounted as Do, reactive as Eu, isRef as Bt, toRefs as Fo, useTemplateRef as ct, Fragment as et, renderList as Ut, toValue as ou, nextTick as Kt, h as Oe, toRaw as qt, toRef as So, createStaticVNode as To, mergeModels as Po, useModel as Ro, isReactive as Oo } from "vue";
|
|
2
|
+
import { NEl as yr, NAvatar as Mo, NFlex as ku, NSpin as Lo, NConfigProvider as No, NLoadingBarProvider as Io, NDialogProvider as zo, NModalProvider as $o, NNotificationProvider as Bo, NMessageProvider as Uo, NGlobalStyle as qo, useDialog as jo, useLoadingBar as Ho, useMessage as Go, useModal as Wo, useNotification as Vo, NTooltip as Er, NButton as Su, NGrid as jt, NGi as Ht, NDivider as Zo, NCollapseTransition as Yo, NDataTable as Xo, NPagination as Ar, NDropdown as Qo, NFormItem as wr, NForm as Jo, NTimePicker as Ko, NSwitch as ei, NSelect as Cr, NInput as en, NDatePicker as ui, NInputGroup as ti } from "naive-ui";
|
|
3
|
+
import { useClipboard as ni, createEventHook as Zu, useDebounceFn as Dr, useTimeoutFn as ri } from "@vueuse/core";
|
|
4
4
|
function oi(e) {
|
|
5
5
|
let u = ".", t = "__", n = "--", r;
|
|
6
6
|
if (e) {
|
|
@@ -84,10 +84,10 @@ function ii(e) {
|
|
|
84
84
|
e[t] === "&" && ++u;
|
|
85
85
|
return u;
|
|
86
86
|
}
|
|
87
|
-
const
|
|
87
|
+
const Fr = /\s*,(?![^(]*\))\s*/g, ai = /\s+/g;
|
|
88
88
|
function ci(e, u) {
|
|
89
89
|
const t = [];
|
|
90
|
-
return u.split(
|
|
90
|
+
return u.split(Fr).forEach((n) => {
|
|
91
91
|
let r = ii(n);
|
|
92
92
|
if (r) {
|
|
93
93
|
if (r === 1) {
|
|
@@ -121,7 +121,7 @@ function ci(e, u) {
|
|
|
121
121
|
}
|
|
122
122
|
function si(e, u) {
|
|
123
123
|
const t = [];
|
|
124
|
-
return u.split(
|
|
124
|
+
return u.split(Fr).forEach((n) => {
|
|
125
125
|
e.forEach((r) => {
|
|
126
126
|
t.push((r && r + " ") + n);
|
|
127
127
|
});
|
|
@@ -151,12 +151,12 @@ function $u(e) {
|
|
|
151
151
|
return e ? /^\s*@(s|m)/.test(e) : !1;
|
|
152
152
|
}
|
|
153
153
|
const di = /[A-Z]/g;
|
|
154
|
-
function
|
|
154
|
+
function Sr(e) {
|
|
155
155
|
return e.replace(di, (u) => "-" + u.toLowerCase());
|
|
156
156
|
}
|
|
157
157
|
function pi(e, u = " ") {
|
|
158
158
|
return typeof e == "object" && e !== null ? ` {
|
|
159
|
-
` + Object.entries(e).map((t) => u + ` ${
|
|
159
|
+
` + Object.entries(e).map((t) => u + ` ${Sr(t[0])}: ${t[1]};`).join(`
|
|
160
160
|
`) + `
|
|
161
161
|
` + u + "}" : `: ${e};`;
|
|
162
162
|
}
|
|
@@ -191,7 +191,7 @@ ${r}
|
|
|
191
191
|
`);
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
194
|
-
i =
|
|
194
|
+
i = Sr(i), c != null && a.push(` ${i}${pi(c)}`);
|
|
195
195
|
}), e && a.push("}"), a.join(`
|
|
196
196
|
`);
|
|
197
197
|
}
|
|
@@ -205,7 +205,7 @@ function Gt(e, u, t) {
|
|
|
205
205
|
} else n && t(n);
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function Tr(e, u, t, n, r) {
|
|
209
209
|
const o = e.$;
|
|
210
210
|
let a = "";
|
|
211
211
|
if (!o || typeof o == "string")
|
|
@@ -234,12 +234,12 @@ function Sr(e, u, t, n, r) {
|
|
|
234
234
|
const l = Ln(i, { raw: s }, n, r);
|
|
235
235
|
t.push(l);
|
|
236
236
|
} else
|
|
237
|
-
|
|
237
|
+
Tr(s, u, t, n, r);
|
|
238
238
|
}), u.pop(), a && t.push("}"), o && o.after && o.after(n.context);
|
|
239
239
|
}
|
|
240
240
|
function bi(e, u, t) {
|
|
241
241
|
const n = [];
|
|
242
|
-
return
|
|
242
|
+
return Tr(e, [], n, u, t), n.join(`
|
|
243
243
|
|
|
244
244
|
`);
|
|
245
245
|
}
|
|
@@ -366,7 +366,7 @@ function Si() {
|
|
|
366
366
|
context: e
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Pr(e, u) {
|
|
370
370
|
const t = Si();
|
|
371
371
|
function n() {
|
|
372
372
|
u.mount({
|
|
@@ -375,11 +375,11 @@ function Tr(e, u) {
|
|
|
375
375
|
ssr: t
|
|
376
376
|
});
|
|
377
377
|
}
|
|
378
|
-
t ? n() :
|
|
378
|
+
t ? n() : Ao(() => {
|
|
379
379
|
n();
|
|
380
380
|
});
|
|
381
381
|
}
|
|
382
|
-
const { cssr: tn, plugin:
|
|
382
|
+
const { cssr: tn, plugin: Rr, namespace: Or } = Ai();
|
|
383
383
|
var In = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
384
384
|
function Ti(e) {
|
|
385
385
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -502,8 +502,8 @@ function Pi() {
|
|
|
502
502
|
return m[x];
|
|
503
503
|
k = /** @type {Record<string, any>} */
|
|
504
504
|
{}, m[x] = k;
|
|
505
|
-
for (var
|
|
506
|
-
b.hasOwnProperty(
|
|
505
|
+
for (var A in b)
|
|
506
|
+
b.hasOwnProperty(A) && (k[A] = p(b[A], m));
|
|
507
507
|
return (
|
|
508
508
|
/** @type {any} */
|
|
509
509
|
k
|
|
@@ -732,28 +732,28 @@ function Pi() {
|
|
|
732
732
|
insertBefore: function(p, b, m, k) {
|
|
733
733
|
k = k || /** @type {any} */
|
|
734
734
|
i.languages;
|
|
735
|
-
var x = k[p],
|
|
735
|
+
var x = k[p], A = {};
|
|
736
736
|
for (var T in x)
|
|
737
737
|
if (x.hasOwnProperty(T)) {
|
|
738
738
|
if (T == b)
|
|
739
739
|
for (var D in m)
|
|
740
|
-
m.hasOwnProperty(D) && (
|
|
741
|
-
m.hasOwnProperty(T) || (
|
|
740
|
+
m.hasOwnProperty(D) && (A[D] = m[D]);
|
|
741
|
+
m.hasOwnProperty(T) || (A[T] = x[T]);
|
|
742
742
|
}
|
|
743
|
-
var
|
|
744
|
-
return k[p] =
|
|
745
|
-
|
|
746
|
-
}),
|
|
743
|
+
var z = k[p];
|
|
744
|
+
return k[p] = A, i.languages.DFS(i.languages, function(L, te) {
|
|
745
|
+
te === z && L != p && (this[L] = A);
|
|
746
|
+
}), A;
|
|
747
747
|
},
|
|
748
748
|
// Traverse a language definition with Depth First Search
|
|
749
749
|
DFS: function p(b, m, k, x) {
|
|
750
750
|
x = x || {};
|
|
751
|
-
var
|
|
751
|
+
var A = i.util.objId;
|
|
752
752
|
for (var T in b)
|
|
753
753
|
if (b.hasOwnProperty(T)) {
|
|
754
754
|
m.call(b, T, b[T], k || T);
|
|
755
|
-
var D = b[T],
|
|
756
|
-
|
|
755
|
+
var D = b[T], z = i.util.type(D);
|
|
756
|
+
z === "Object" && !x[A(D)] ? (x[A(D)] = !0, p(D, m, null, x)) : z === "Array" && !x[A(D)] && (x[A(D)] = !0, p(D, m, T, x));
|
|
757
757
|
}
|
|
758
758
|
}
|
|
759
759
|
},
|
|
@@ -795,8 +795,8 @@ function Pi() {
|
|
|
795
795
|
selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
|
|
796
796
|
};
|
|
797
797
|
i.hooks.run("before-highlightall", k), k.elements = Array.prototype.slice.apply(k.container.querySelectorAll(k.selector)), i.hooks.run("before-all-elements-highlight", k);
|
|
798
|
-
for (var x = 0,
|
|
799
|
-
i.highlightElement(
|
|
798
|
+
for (var x = 0, A; A = k.elements[x++]; )
|
|
799
|
+
i.highlightElement(A, b === !0, k.callback);
|
|
800
800
|
},
|
|
801
801
|
/**
|
|
802
802
|
* Highlights the code inside a single element.
|
|
@@ -829,36 +829,36 @@ function Pi() {
|
|
|
829
829
|
highlightElement: function(p, b, m) {
|
|
830
830
|
var k = i.util.getLanguage(p), x = i.languages[k];
|
|
831
831
|
i.util.setLanguage(p, k);
|
|
832
|
-
var
|
|
833
|
-
|
|
832
|
+
var A = p.parentElement;
|
|
833
|
+
A && A.nodeName.toLowerCase() === "pre" && i.util.setLanguage(A, k);
|
|
834
834
|
var T = p.textContent, D = {
|
|
835
835
|
element: p,
|
|
836
836
|
language: k,
|
|
837
837
|
grammar: x,
|
|
838
838
|
code: T
|
|
839
839
|
};
|
|
840
|
-
function
|
|
841
|
-
D.highlightedCode =
|
|
840
|
+
function z(te) {
|
|
841
|
+
D.highlightedCode = te, i.hooks.run("before-insert", D), D.element.innerHTML = D.highlightedCode, i.hooks.run("after-highlight", D), i.hooks.run("complete", D), m && m.call(D.element);
|
|
842
842
|
}
|
|
843
|
-
if (i.hooks.run("before-sanity-check", D),
|
|
843
|
+
if (i.hooks.run("before-sanity-check", D), A = D.element.parentElement, A && A.nodeName.toLowerCase() === "pre" && !A.hasAttribute("tabindex") && A.setAttribute("tabindex", "0"), !D.code) {
|
|
844
844
|
i.hooks.run("complete", D), m && m.call(D.element);
|
|
845
845
|
return;
|
|
846
846
|
}
|
|
847
847
|
if (i.hooks.run("before-highlight", D), !D.grammar) {
|
|
848
|
-
|
|
848
|
+
z(i.util.encode(D.code));
|
|
849
849
|
return;
|
|
850
850
|
}
|
|
851
851
|
if (b && n.Worker) {
|
|
852
852
|
var L = new Worker(i.filename);
|
|
853
|
-
L.onmessage = function(
|
|
854
|
-
|
|
853
|
+
L.onmessage = function(te) {
|
|
854
|
+
z(te.data);
|
|
855
855
|
}, L.postMessage(JSON.stringify({
|
|
856
856
|
language: D.language,
|
|
857
857
|
code: D.code,
|
|
858
858
|
immediateClose: !0
|
|
859
859
|
}));
|
|
860
860
|
} else
|
|
861
|
-
|
|
861
|
+
z(i.highlight(D.code, D.grammar, D.language));
|
|
862
862
|
},
|
|
863
863
|
/**
|
|
864
864
|
* Low-level function, only use if you know what you’re doing. It accepts a string of text as input
|
|
@@ -974,8 +974,8 @@ function Pi() {
|
|
|
974
974
|
return b;
|
|
975
975
|
if (Array.isArray(b)) {
|
|
976
976
|
var k = "";
|
|
977
|
-
return b.forEach(function(
|
|
978
|
-
k += p(
|
|
977
|
+
return b.forEach(function(z) {
|
|
978
|
+
k += p(z, m);
|
|
979
979
|
}), k;
|
|
980
980
|
}
|
|
981
981
|
var x = {
|
|
@@ -985,8 +985,8 @@ function Pi() {
|
|
|
985
985
|
classes: ["token", b.type],
|
|
986
986
|
attributes: {},
|
|
987
987
|
language: m
|
|
988
|
-
},
|
|
989
|
-
|
|
988
|
+
}, A = b.alias;
|
|
989
|
+
A && (Array.isArray(A) ? Array.prototype.push.apply(x.classes, A) : x.classes.push(A)), i.hooks.run("wrap", x);
|
|
990
990
|
var T = "";
|
|
991
991
|
for (var D in x.attributes)
|
|
992
992
|
T += " " + D + '="' + (x.attributes[D] || "").replace(/"/g, """) + '"';
|
|
@@ -996,54 +996,54 @@ function Pi() {
|
|
|
996
996
|
p.lastIndex = b;
|
|
997
997
|
var x = p.exec(m);
|
|
998
998
|
if (x && k && x[1]) {
|
|
999
|
-
var
|
|
1000
|
-
x.index +=
|
|
999
|
+
var A = x[1].length;
|
|
1000
|
+
x.index += A, x[0] = x[0].slice(A);
|
|
1001
1001
|
}
|
|
1002
1002
|
return x;
|
|
1003
1003
|
}
|
|
1004
|
-
function l(p, b, m, k, x,
|
|
1004
|
+
function l(p, b, m, k, x, A) {
|
|
1005
1005
|
for (var T in m)
|
|
1006
1006
|
if (!(!m.hasOwnProperty(T) || !m[T])) {
|
|
1007
1007
|
var D = m[T];
|
|
1008
1008
|
D = Array.isArray(D) ? D : [D];
|
|
1009
|
-
for (var
|
|
1010
|
-
if (
|
|
1009
|
+
for (var z = 0; z < D.length; ++z) {
|
|
1010
|
+
if (A && A.cause == T + "," + z)
|
|
1011
1011
|
return;
|
|
1012
|
-
var L = D[
|
|
1012
|
+
var L = D[z], te = L.inside, ye = !!L.lookbehind, F = !!L.greedy, U = L.alias;
|
|
1013
1013
|
if (F && !L.pattern.global) {
|
|
1014
|
-
var
|
|
1015
|
-
L.pattern = RegExp(L.pattern.source,
|
|
1014
|
+
var ce = L.pattern.toString().match(/[imsuy]*$/)[0];
|
|
1015
|
+
L.pattern = RegExp(L.pattern.source, ce + "g");
|
|
1016
1016
|
}
|
|
1017
|
-
for (var
|
|
1018
|
-
var M =
|
|
1017
|
+
for (var pe = L.pattern || L, Z = k.next, w = x; Z !== b.tail && !(A && w >= A.reach); w += Z.value.length, Z = Z.next) {
|
|
1018
|
+
var M = Z.value;
|
|
1019
1019
|
if (b.length > p.length)
|
|
1020
1020
|
return;
|
|
1021
1021
|
if (!(M instanceof c)) {
|
|
1022
|
-
var
|
|
1022
|
+
var P = 1, Q;
|
|
1023
1023
|
if (F) {
|
|
1024
|
-
if (
|
|
1024
|
+
if (Q = s(pe, w, p, ye), !Q || Q.index >= p.length)
|
|
1025
1025
|
break;
|
|
1026
|
-
var
|
|
1027
|
-
for (
|
|
1028
|
-
|
|
1029
|
-
if (
|
|
1026
|
+
var se = Q.index, N = Q.index + Q[0].length, Y = w;
|
|
1027
|
+
for (Y += Z.value.length; se >= Y; )
|
|
1028
|
+
Z = Z.next, Y += Z.value.length;
|
|
1029
|
+
if (Y -= Z.value.length, w = Y, Z.value instanceof c)
|
|
1030
1030
|
continue;
|
|
1031
|
-
for (var
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
} else if (
|
|
1031
|
+
for (var j = Z; j !== b.tail && (Y < N || typeof j.value == "string"); j = j.next)
|
|
1032
|
+
P++, Y += j.value.length;
|
|
1033
|
+
P--, M = p.slice(w, Y), Q.index -= w;
|
|
1034
|
+
} else if (Q = s(pe, 0, M, ye), !Q)
|
|
1035
1035
|
continue;
|
|
1036
|
-
var
|
|
1037
|
-
|
|
1038
|
-
var We =
|
|
1039
|
-
Ye && (We = _(b, We, Ye),
|
|
1040
|
-
var
|
|
1041
|
-
if (
|
|
1042
|
-
var
|
|
1043
|
-
cause: T + "," +
|
|
1036
|
+
var se = Q.index, Ie = Q[0], Ye = M.slice(0, se), Xe = M.slice(se + Ie.length), Qe = w + M.length;
|
|
1037
|
+
A && Qe > A.reach && (A.reach = Qe);
|
|
1038
|
+
var We = Z.prev;
|
|
1039
|
+
Ye && (We = _(b, We, Ye), w += Ye.length), g(b, We, P);
|
|
1040
|
+
var ze = new c(T, te ? i.tokenize(Ie, te) : Ie, U, Ie);
|
|
1041
|
+
if (Z = _(b, We, ze), Xe && _(b, Z, Xe), P > 1) {
|
|
1042
|
+
var $e = {
|
|
1043
|
+
cause: T + "," + z,
|
|
1044
1044
|
reach: Qe
|
|
1045
1045
|
};
|
|
1046
|
-
l(p, b, m,
|
|
1046
|
+
l(p, b, m, Z.prev, w, $e), A && $e.reach > A.reach && (A.reach = $e.reach);
|
|
1047
1047
|
}
|
|
1048
1048
|
}
|
|
1049
1049
|
}
|
|
@@ -1510,10 +1510,10 @@ function Pi() {
|
|
|
1510
1510
|
p,
|
|
1511
1511
|
function(x) {
|
|
1512
1512
|
E.setAttribute(i, s);
|
|
1513
|
-
var
|
|
1514
|
-
if (
|
|
1515
|
-
var T = x.split(/\r\n?|\n/g), D =
|
|
1516
|
-
D < 0 && (D += T.length), D = Math.max(0, Math.min(D - 1, T.length)),
|
|
1513
|
+
var A = g(E.getAttribute("data-range"));
|
|
1514
|
+
if (A) {
|
|
1515
|
+
var T = x.split(/\r\n?|\n/g), D = A[0], z = A[1] == null ? T.length : A[1];
|
|
1516
|
+
D < 0 && (D += T.length), D = Math.max(0, Math.min(D - 1, T.length)), z < 0 && (z += T.length), z = Math.max(0, Math.min(z, T.length)), x = T.slice(D, z).join(`
|
|
1517
1517
|
`), E.hasAttribute("data-start") || E.setAttribute("data-start", String(D + 1));
|
|
1518
1518
|
}
|
|
1519
1519
|
v.textContent = x, t.highlightElement(v);
|
|
@@ -1581,7 +1581,7 @@ function Mi({
|
|
|
1581
1581
|
})
|
|
1582
1582
|
];
|
|
1583
1583
|
}
|
|
1584
|
-
const { c: Li, cB: Ni, cE: Ii, cM: zi } = { ...tn, ...
|
|
1584
|
+
const { c: Li, cB: Ni, cE: Ii, cM: zi } = { ...tn, ...Rr }, Et = `${Or}-bubble`;
|
|
1585
1585
|
function $i() {
|
|
1586
1586
|
return Li([
|
|
1587
1587
|
Ni("bubble", {
|
|
@@ -1602,7 +1602,7 @@ function $i() {
|
|
|
1602
1602
|
])
|
|
1603
1603
|
]);
|
|
1604
1604
|
}
|
|
1605
|
-
const Al = /* @__PURE__ */
|
|
1605
|
+
const Al = /* @__PURE__ */ be({
|
|
1606
1606
|
__name: "Bubble",
|
|
1607
1607
|
props: {
|
|
1608
1608
|
avatar: {},
|
|
@@ -1617,38 +1617,38 @@ const Al = /* @__PURE__ */ he({
|
|
|
1617
1617
|
emits: ["typingComplete"],
|
|
1618
1618
|
setup(e, { emit: u }) {
|
|
1619
1619
|
const t = u;
|
|
1620
|
-
return
|
|
1620
|
+
return Pr("n-bubble", $i()), (n, r) => (B(), G(S(yr), {
|
|
1621
1621
|
tag: "div",
|
|
1622
1622
|
class: Ku([S(Et), n.placement === "end" ? `${S(Et)}--reverse` : ""])
|
|
1623
1623
|
}, {
|
|
1624
|
-
default:
|
|
1624
|
+
default: I(() => [
|
|
1625
1625
|
q(n.$slots, "avatar", {}, () => [
|
|
1626
|
-
n.avatar ? (B(),
|
|
1626
|
+
n.avatar ? (B(), G(S(Mo), he({
|
|
1627
1627
|
key: 0,
|
|
1628
1628
|
round: ""
|
|
1629
1629
|
}, n.avatar.props), {
|
|
1630
|
-
default:
|
|
1631
|
-
(B(),
|
|
1630
|
+
default: I(() => [
|
|
1631
|
+
(B(), G(yu(n.avatar.icon)))
|
|
1632
1632
|
]),
|
|
1633
1633
|
_: 1
|
|
1634
1634
|
}, 16)) : je("", !0)
|
|
1635
1635
|
]),
|
|
1636
|
-
|
|
1637
|
-
default:
|
|
1636
|
+
V(S(ku), { vertical: "" }, {
|
|
1637
|
+
default: I(() => [
|
|
1638
1638
|
q(n.$slots, "header"),
|
|
1639
|
-
|
|
1639
|
+
V(wo, {
|
|
1640
1640
|
mode: "out-in",
|
|
1641
1641
|
name: "fade"
|
|
1642
1642
|
}, {
|
|
1643
|
-
default:
|
|
1643
|
+
default: I(() => [
|
|
1644
1644
|
n.loading ? q(n.$slots, "loading", { key: 0 }, () => [
|
|
1645
|
-
|
|
1645
|
+
V(S(Lo), { style: { height: "44px" } })
|
|
1646
1646
|
]) : q(n.$slots, "default", { key: 1 }, () => [
|
|
1647
1647
|
Fu("div", {
|
|
1648
1648
|
class: Ku([`${S(Et)}__content`, n.contentClass]),
|
|
1649
1649
|
style: vr(n.contentStyle)
|
|
1650
1650
|
}, [
|
|
1651
|
-
|
|
1651
|
+
V(S(_l), {
|
|
1652
1652
|
typing: n.typing,
|
|
1653
1653
|
markdown: n.markdown,
|
|
1654
1654
|
value: n.content,
|
|
@@ -1667,7 +1667,7 @@ const Al = /* @__PURE__ */ he({
|
|
|
1667
1667
|
_: 3
|
|
1668
1668
|
}, 8, ["class"]));
|
|
1669
1669
|
}
|
|
1670
|
-
}), wl = /* @__PURE__ */
|
|
1670
|
+
}), wl = /* @__PURE__ */ be({
|
|
1671
1671
|
__name: "ConfigProviders",
|
|
1672
1672
|
props: {
|
|
1673
1673
|
globalStyle: { type: Boolean, default: !1 },
|
|
@@ -1680,11 +1680,11 @@ const Al = /* @__PURE__ */ he({
|
|
|
1680
1680
|
},
|
|
1681
1681
|
setup(e) {
|
|
1682
1682
|
function u() {
|
|
1683
|
-
window.$dialog =
|
|
1683
|
+
window.$dialog = jo(), window.$loadingBar = Ho(), window.$message = Go(), window.$modal = Wo(), window.$notification = Vo();
|
|
1684
1684
|
}
|
|
1685
|
-
const t =
|
|
1685
|
+
const t = be({
|
|
1686
1686
|
setup() {
|
|
1687
|
-
|
|
1687
|
+
Co(() => {
|
|
1688
1688
|
u();
|
|
1689
1689
|
});
|
|
1690
1690
|
},
|
|
@@ -1692,20 +1692,20 @@ const Al = /* @__PURE__ */ he({
|
|
|
1692
1692
|
return null;
|
|
1693
1693
|
}
|
|
1694
1694
|
});
|
|
1695
|
-
return (n, r) => (B(),
|
|
1696
|
-
default:
|
|
1697
|
-
|
|
1698
|
-
default:
|
|
1699
|
-
|
|
1700
|
-
default:
|
|
1701
|
-
|
|
1702
|
-
default:
|
|
1703
|
-
|
|
1704
|
-
default:
|
|
1705
|
-
|
|
1706
|
-
default:
|
|
1695
|
+
return (n, r) => (B(), G(S(No), xe(ke(n.configProviderProps)), {
|
|
1696
|
+
default: I(() => [
|
|
1697
|
+
V(S(Io), xe(ke(n.loadingBarProps)), {
|
|
1698
|
+
default: I(() => [
|
|
1699
|
+
V(S(zo), xe(ke(n.dialogProviderProps)), {
|
|
1700
|
+
default: I(() => [
|
|
1701
|
+
V(S($o), xe(ke(n.modalProviderProps)), {
|
|
1702
|
+
default: I(() => [
|
|
1703
|
+
V(S(Bo), xe(ke(n.notificationProviderProps)), {
|
|
1704
|
+
default: I(() => [
|
|
1705
|
+
V(S(Uo), xe(ke(n.messageProviderProps)), {
|
|
1706
|
+
default: I(() => [
|
|
1707
1707
|
q(n.$slots, "default"),
|
|
1708
|
-
|
|
1708
|
+
V(S(t))
|
|
1709
1709
|
]),
|
|
1710
1710
|
_: 3
|
|
1711
1711
|
}, 16)
|
|
@@ -1721,7 +1721,7 @@ const Al = /* @__PURE__ */ he({
|
|
|
1721
1721
|
]),
|
|
1722
1722
|
_: 3
|
|
1723
1723
|
}, 16),
|
|
1724
|
-
n.globalStyle ? (B(),
|
|
1724
|
+
n.globalStyle ? (B(), G(S(qo), { key: 0 })) : je("", !0)
|
|
1725
1725
|
]),
|
|
1726
1726
|
_: 3
|
|
1727
1727
|
}, 16));
|
|
@@ -1747,7 +1747,7 @@ function qi(e, u, t, n, r, o) {
|
|
|
1747
1747
|
}, null, -1)
|
|
1748
1748
|
]));
|
|
1749
1749
|
}
|
|
1750
|
-
const ji = /* @__PURE__ */ nn(Bi, [["render", qi]]), Cl = /* @__PURE__ */
|
|
1750
|
+
const ji = /* @__PURE__ */ nn(Bi, [["render", qi]]), Cl = /* @__PURE__ */ be({
|
|
1751
1751
|
__name: "CopyButton",
|
|
1752
1752
|
props: {
|
|
1753
1753
|
value: {},
|
|
@@ -1761,26 +1761,26 @@ const ji = /* @__PURE__ */ nn(Bi, [["render", qi]]), Cl = /* @__PURE__ */ he({
|
|
|
1761
1761
|
source: e.value,
|
|
1762
1762
|
...e.config
|
|
1763
1763
|
});
|
|
1764
|
-
|
|
1764
|
+
Le(n, () => {
|
|
1765
1765
|
n.value && t("copied", e.value);
|
|
1766
1766
|
});
|
|
1767
1767
|
function o(a) {
|
|
1768
1768
|
a.preventDefault(), r();
|
|
1769
1769
|
}
|
|
1770
|
-
return (a, i) => (B(),
|
|
1771
|
-
trigger:
|
|
1770
|
+
return (a, i) => (B(), G(S(Er), xe(ke(a.tooltipProps)), {
|
|
1771
|
+
trigger: I(() => [
|
|
1772
1772
|
Fu("div", {
|
|
1773
1773
|
style: { cursor: "pointer" },
|
|
1774
1774
|
onClick: o
|
|
1775
1775
|
}, [
|
|
1776
1776
|
q(a.$slots, "default", {}, () => [
|
|
1777
|
-
|
|
1777
|
+
V(S(Su), he({
|
|
1778
1778
|
quaternary: "",
|
|
1779
1779
|
size: "tiny"
|
|
1780
1780
|
}, a.buttonProps), {
|
|
1781
|
-
icon:
|
|
1781
|
+
icon: I(() => [
|
|
1782
1782
|
q(a.$slots, "icon", {}, () => [
|
|
1783
|
-
|
|
1783
|
+
V(ji)
|
|
1784
1784
|
])
|
|
1785
1785
|
]),
|
|
1786
1786
|
_: 3
|
|
@@ -1788,7 +1788,7 @@ const ji = /* @__PURE__ */ nn(Bi, [["render", qi]]), Cl = /* @__PURE__ */ he({
|
|
|
1788
1788
|
])
|
|
1789
1789
|
])
|
|
1790
1790
|
]),
|
|
1791
|
-
default:
|
|
1791
|
+
default: I(() => [
|
|
1792
1792
|
q(a.$slots, "tooltip", {}, () => [
|
|
1793
1793
|
it(at(S(n) ? "复制成功" : "复制"), 1)
|
|
1794
1794
|
])
|
|
@@ -1796,11 +1796,11 @@ const ji = /* @__PURE__ */ nn(Bi, [["render", qi]]), Cl = /* @__PURE__ */ he({
|
|
|
1796
1796
|
_: 3
|
|
1797
1797
|
}, 16));
|
|
1798
1798
|
}
|
|
1799
|
-
}),
|
|
1800
|
-
const o =
|
|
1801
|
-
return
|
|
1799
|
+
}), Mr = (e, { manual: u, ready: t = !0, refreshDeps: n = [], refreshDepsAction: r }) => {
|
|
1800
|
+
const o = H(!1);
|
|
1801
|
+
return Ne(() => {
|
|
1802
1802
|
!u && e.options.refreshDeps !== !0 && (o.value = S(t));
|
|
1803
|
-
}), n instanceof Array ?
|
|
1803
|
+
}), n instanceof Array ? Le(
|
|
1804
1804
|
[o, ...n],
|
|
1805
1805
|
([a]) => {
|
|
1806
1806
|
a && !u && a && (r ? r() : e.refresh());
|
|
@@ -1809,7 +1809,7 @@ const ji = /* @__PURE__ */ nn(Bi, [["render", qi]]), Cl = /* @__PURE__ */ he({
|
|
|
1809
1809
|
deep: !0,
|
|
1810
1810
|
immediate: !1
|
|
1811
1811
|
}
|
|
1812
|
-
) :
|
|
1812
|
+
) : Le(o, (a) => {
|
|
1813
1813
|
!u && a && (r ? r() : e.refresh());
|
|
1814
1814
|
}), {
|
|
1815
1815
|
name: "autoRunPlugin",
|
|
@@ -1821,7 +1821,7 @@ const ji = /* @__PURE__ */ nn(Bi, [["render", qi]]), Cl = /* @__PURE__ */ he({
|
|
|
1821
1821
|
}
|
|
1822
1822
|
};
|
|
1823
1823
|
};
|
|
1824
|
-
|
|
1824
|
+
Mr.onInit = ({ ready: e = !0, manual: u }) => ({
|
|
1825
1825
|
loading: !u && S(e)
|
|
1826
1826
|
});
|
|
1827
1827
|
const Xu = /* @__PURE__ */ new Map(), Hi = (e, u, t) => {
|
|
@@ -1853,10 +1853,10 @@ const Xu = /* @__PURE__ */ new Map(), Hi = (e, u, t) => {
|
|
|
1853
1853
|
setCache: r,
|
|
1854
1854
|
getCache: o
|
|
1855
1855
|
}) => {
|
|
1856
|
-
const a =
|
|
1856
|
+
const a = H(), i = H(), c = (l, f) => {
|
|
1857
1857
|
r ? r(f) : Hi(l, t, f), Yi(l, f.data);
|
|
1858
1858
|
}, s = (l, f = []) => o ? o(f) : Gi(l);
|
|
1859
|
-
return
|
|
1859
|
+
return Ne(() => {
|
|
1860
1860
|
if (!u)
|
|
1861
1861
|
return;
|
|
1862
1862
|
const l = s(u);
|
|
@@ -1908,8 +1908,8 @@ function ut(e) {
|
|
|
1908
1908
|
var u = typeof e;
|
|
1909
1909
|
return e != null && (u == "object" || u == "function");
|
|
1910
1910
|
}
|
|
1911
|
-
var Qi = typeof global == "object" && global && global.Object === Object && global, Ji = typeof self == "object" && self && self.Object === Object && self,
|
|
1912
|
-
return
|
|
1911
|
+
var Qi = typeof global == "object" && global && global.Object === Object && global, Ji = typeof self == "object" && self && self.Object === Object && self, Lr = Qi || Ji || Function("return this")(), wt = function() {
|
|
1912
|
+
return Lr.Date.now();
|
|
1913
1913
|
}, Ki = /\s/;
|
|
1914
1914
|
function e0(e) {
|
|
1915
1915
|
for (var u = e.length; u-- && Ki.test(e.charAt(u)); )
|
|
@@ -1920,7 +1920,7 @@ var u0 = /^\s+/;
|
|
|
1920
1920
|
function t0(e) {
|
|
1921
1921
|
return e && e.slice(0, e0(e) + 1).replace(u0, "");
|
|
1922
1922
|
}
|
|
1923
|
-
var tt =
|
|
1923
|
+
var tt = Lr.Symbol, Nr = Object.prototype, n0 = Nr.hasOwnProperty, r0 = Nr.toString, pu = tt ? tt.toStringTag : void 0;
|
|
1924
1924
|
function o0(e) {
|
|
1925
1925
|
var u = n0.call(e, pu), t = e[pu];
|
|
1926
1926
|
try {
|
|
@@ -1963,25 +1963,25 @@ function Un(e) {
|
|
|
1963
1963
|
return t || g0.test(e) ? x0(e.slice(2), t ? 2 : 8) : b0.test(e) ? Bn : +e;
|
|
1964
1964
|
}
|
|
1965
1965
|
var k0 = "Expected a function", _0 = Math.max, v0 = Math.min;
|
|
1966
|
-
function
|
|
1966
|
+
function Ir(e, u, t) {
|
|
1967
1967
|
var n, r, o, a, i, c, s = 0, l = !1, f = !1, _ = !0;
|
|
1968
1968
|
if (typeof e != "function")
|
|
1969
1969
|
throw new TypeError(k0);
|
|
1970
1970
|
u = Un(u) || 0, ut(t) && (l = !!t.leading, f = "maxWait" in t, o = f ? _0(Un(t.maxWait) || 0, u) : o, _ = "trailing" in t ? !!t.trailing : _);
|
|
1971
1971
|
function g(x) {
|
|
1972
|
-
var
|
|
1973
|
-
return n = r = void 0, s = x, a = e.apply(T,
|
|
1972
|
+
var A = n, T = r;
|
|
1973
|
+
return n = r = void 0, s = x, a = e.apply(T, A), a;
|
|
1974
1974
|
}
|
|
1975
1975
|
function d(x) {
|
|
1976
1976
|
return s = x, i = setTimeout(v, u), l ? g(x) : a;
|
|
1977
1977
|
}
|
|
1978
1978
|
function y(x) {
|
|
1979
|
-
var
|
|
1979
|
+
var A = x - c, T = x - s, D = u - A;
|
|
1980
1980
|
return f ? v0(D, o - T) : D;
|
|
1981
1981
|
}
|
|
1982
1982
|
function E(x) {
|
|
1983
|
-
var
|
|
1984
|
-
return c === void 0 ||
|
|
1983
|
+
var A = x - c, T = x - s;
|
|
1984
|
+
return c === void 0 || A >= u || A < 0 || f && T >= o;
|
|
1985
1985
|
}
|
|
1986
1986
|
function v() {
|
|
1987
1987
|
var x = wt();
|
|
@@ -1999,8 +1999,8 @@ function Nr(e, u, t) {
|
|
|
1999
1999
|
return i === void 0 ? a : p(wt());
|
|
2000
2000
|
}
|
|
2001
2001
|
function k() {
|
|
2002
|
-
var x = wt(),
|
|
2003
|
-
if (n = arguments, r = this, c = x,
|
|
2002
|
+
var x = wt(), A = E(x);
|
|
2003
|
+
if (n = arguments, r = this, c = x, A) {
|
|
2004
2004
|
if (i === void 0)
|
|
2005
2005
|
return d(c);
|
|
2006
2006
|
if (f)
|
|
@@ -2011,14 +2011,14 @@ function Nr(e, u, t) {
|
|
|
2011
2011
|
return k.cancel = b, k.flush = m, k;
|
|
2012
2012
|
}
|
|
2013
2013
|
const y0 = (e, { debounceWait: u, debounceLeading: t, debounceTrailing: n, debounceMaxWait: r }) => {
|
|
2014
|
-
const o =
|
|
2014
|
+
const o = H(), a = me(() => {
|
|
2015
2015
|
const i = {}, c = S(t), s = S(n), l = S(r);
|
|
2016
2016
|
return c !== void 0 && (i.leading = c), s !== void 0 && (i.trailing = s), l !== void 0 && (i.maxWait = l), i;
|
|
2017
2017
|
});
|
|
2018
|
-
return
|
|
2018
|
+
return Ne((i) => {
|
|
2019
2019
|
if (S(u)) {
|
|
2020
2020
|
const c = e.runAsync.bind(e);
|
|
2021
|
-
o.value =
|
|
2021
|
+
o.value = Ir(
|
|
2022
2022
|
(s) => {
|
|
2023
2023
|
s();
|
|
2024
2024
|
},
|
|
@@ -2101,30 +2101,30 @@ class T0 {
|
|
|
2101
2101
|
return this.requestInstances;
|
|
2102
2102
|
}
|
|
2103
2103
|
}
|
|
2104
|
-
const
|
|
2104
|
+
const fe = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
2105
2105
|
const r = () => {
|
|
2106
|
-
if (t && !
|
|
2106
|
+
if (t && !fe.has(t)) {
|
|
2107
2107
|
const a = e.serviceRef.value.toString().includes("function") ? C0(e.serviceRef.value.toString()) : D0(e.serviceRef.value.toString());
|
|
2108
|
-
|
|
2108
|
+
fe.insert(t, {
|
|
2109
2109
|
instance: e,
|
|
2110
2110
|
requestName: a,
|
|
2111
2111
|
time: Date.now()
|
|
2112
2112
|
});
|
|
2113
2113
|
}
|
|
2114
|
-
}, o =
|
|
2114
|
+
}, o = me(
|
|
2115
2115
|
() => Object.fromEntries(
|
|
2116
2116
|
Object.entries({ ready: u, ...n }).map(([a, i]) => [a, S(i)])
|
|
2117
2117
|
)
|
|
2118
2118
|
);
|
|
2119
|
-
return
|
|
2120
|
-
t &&
|
|
2119
|
+
return Ne(() => {
|
|
2120
|
+
t && fe.has(t) && fe.emit({
|
|
2121
2121
|
...e,
|
|
2122
2122
|
options: { ...e.options, ...o.value }
|
|
2123
2123
|
});
|
|
2124
2124
|
}), {
|
|
2125
2125
|
name: "devtoolsPlugin",
|
|
2126
2126
|
onBefore: (a) => {
|
|
2127
|
-
r(), t &&
|
|
2127
|
+
r(), t && fe.has(t) && fe.emit({
|
|
2128
2128
|
...e.state,
|
|
2129
2129
|
key: t,
|
|
2130
2130
|
params: a,
|
|
@@ -2134,7 +2134,7 @@ const le = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
2134
2134
|
});
|
|
2135
2135
|
},
|
|
2136
2136
|
onSuccess(a, i) {
|
|
2137
|
-
r(), t &&
|
|
2137
|
+
r(), t && fe.has(t) && fe.emit({
|
|
2138
2138
|
...e.state,
|
|
2139
2139
|
key: t,
|
|
2140
2140
|
data: a,
|
|
@@ -2145,7 +2145,7 @@ const le = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
2145
2145
|
});
|
|
2146
2146
|
},
|
|
2147
2147
|
onCancel() {
|
|
2148
|
-
r(), t &&
|
|
2148
|
+
r(), t && fe.has(t) && fe.emit({
|
|
2149
2149
|
...e.state,
|
|
2150
2150
|
key: t,
|
|
2151
2151
|
loading: !1,
|
|
@@ -2154,7 +2154,7 @@ const le = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
2154
2154
|
});
|
|
2155
2155
|
},
|
|
2156
2156
|
onError(a, i) {
|
|
2157
|
-
r(), t &&
|
|
2157
|
+
r(), t && fe.has(t) && fe.emit({
|
|
2158
2158
|
...e.state,
|
|
2159
2159
|
key: t,
|
|
2160
2160
|
params: i,
|
|
@@ -2165,7 +2165,7 @@ const le = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
2165
2165
|
});
|
|
2166
2166
|
},
|
|
2167
2167
|
onMutate(a) {
|
|
2168
|
-
r(), t &&
|
|
2168
|
+
r(), t && fe.has(t) && fe.emit({
|
|
2169
2169
|
...e.state,
|
|
2170
2170
|
key: t,
|
|
2171
2171
|
data: a,
|
|
@@ -2176,7 +2176,7 @@ const le = new T0(), P0 = (e, { ready: u = !0, debugKey: t, ...n }) => {
|
|
|
2176
2176
|
}
|
|
2177
2177
|
};
|
|
2178
2178
|
}, R0 = (e, { loadingDelay: u }) => {
|
|
2179
|
-
const t =
|
|
2179
|
+
const t = H(), n = () => {
|
|
2180
2180
|
t.value && (clearTimeout(S(t.value)), t.value = void 0);
|
|
2181
2181
|
};
|
|
2182
2182
|
return {
|
|
@@ -2223,11 +2223,11 @@ if (rn()) {
|
|
|
2223
2223
|
}
|
|
2224
2224
|
const L0 = (e, { pollingInterval: u, pollingWhenHidden: t = !0, pollingErrorRetryCount: n = -1 }) => {
|
|
2225
2225
|
let r;
|
|
2226
|
-
const o =
|
|
2226
|
+
const o = H(), a = H(0), i = () => {
|
|
2227
2227
|
var c;
|
|
2228
2228
|
r && clearTimeout(r), (c = o.value) == null || c.call(o);
|
|
2229
2229
|
};
|
|
2230
|
-
return
|
|
2230
|
+
return Ne(() => {
|
|
2231
2231
|
S(u) || i();
|
|
2232
2232
|
}), S(u) ? {
|
|
2233
2233
|
name: "pollingPlugin",
|
|
@@ -2281,11 +2281,11 @@ if (O0) {
|
|
|
2281
2281
|
window.addEventListener("visibilitychange", e, !1), window.addEventListener("focus", e, !1);
|
|
2282
2282
|
}
|
|
2283
2283
|
const $0 = (e, { refreshOnWindowFocus: u, focusTimespan: t = 5e3 }) => {
|
|
2284
|
-
const n =
|
|
2284
|
+
const n = H(), r = () => {
|
|
2285
2285
|
var o;
|
|
2286
2286
|
(o = n.value) == null || o.call(n);
|
|
2287
2287
|
};
|
|
2288
|
-
return
|
|
2288
|
+
return Ne((o) => {
|
|
2289
2289
|
if (S(u)) {
|
|
2290
2290
|
const a = N0(
|
|
2291
2291
|
e.refresh.bind(e),
|
|
@@ -2304,7 +2304,7 @@ const $0 = (e, { refreshOnWindowFocus: u, focusTimespan: t = 5e3 }) => {
|
|
|
2304
2304
|
name: "refreshOnWindowFocusPlugin"
|
|
2305
2305
|
};
|
|
2306
2306
|
}, B0 = (e, { retryInterval: u, retryCount: t }) => {
|
|
2307
|
-
const n =
|
|
2307
|
+
const n = H(), r = H(0), o = H(!1);
|
|
2308
2308
|
return t ? {
|
|
2309
2309
|
name: "retryPlugin",
|
|
2310
2310
|
onBefore: () => {
|
|
@@ -2332,7 +2332,7 @@ function q0(e, u, t) {
|
|
|
2332
2332
|
var n = !0, r = !0;
|
|
2333
2333
|
if (typeof e != "function")
|
|
2334
2334
|
throw new TypeError(U0);
|
|
2335
|
-
return ut(t) && (n = "leading" in t ? !!t.leading : n, r = "trailing" in t ? !!t.trailing : r),
|
|
2335
|
+
return ut(t) && (n = "leading" in t ? !!t.leading : n, r = "trailing" in t ? !!t.trailing : r), Ir(e, u, {
|
|
2336
2336
|
leading: n,
|
|
2337
2337
|
maxWait: u,
|
|
2338
2338
|
trailing: r
|
|
@@ -2340,11 +2340,11 @@ function q0(e, u, t) {
|
|
|
2340
2340
|
}
|
|
2341
2341
|
const j0 = (e, { throttleWait: u, throttleLeading: t, throttleTrailing: n }) => {
|
|
2342
2342
|
let r = null;
|
|
2343
|
-
const o =
|
|
2343
|
+
const o = me(() => {
|
|
2344
2344
|
const s = {};
|
|
2345
2345
|
return S(t) !== void 0 && (s.leading = S(t)), S(n) !== void 0 && (s.trailing = S(n)), s;
|
|
2346
|
-
}), a = e.runAsync.bind(e), i =
|
|
2347
|
-
return
|
|
2346
|
+
}), a = e.runAsync.bind(e), i = H(), c = me(() => S(u));
|
|
2347
|
+
return Le([c, o], (s) => {
|
|
2348
2348
|
r && (r.cancel(), e.runAsync = a);
|
|
2349
2349
|
const [l, f] = s, _ = q0(
|
|
2350
2350
|
(g) => {
|
|
@@ -2361,7 +2361,7 @@ const j0 = (e, { throttleWait: u, throttleLeading: t, throttleTrailing: n }) =>
|
|
|
2361
2361
|
});
|
|
2362
2362
|
}, {
|
|
2363
2363
|
immediate: !0
|
|
2364
|
-
}), S(u) ? (
|
|
2364
|
+
}), S(u) ? (Do(() => {
|
|
2365
2365
|
var s;
|
|
2366
2366
|
(s = i.value) == null || s.cancel();
|
|
2367
2367
|
}), {
|
|
@@ -2438,18 +2438,18 @@ class V0 {
|
|
|
2438
2438
|
try {
|
|
2439
2439
|
let { servicePromise: v } = this.runPluginHandler("onRequest", this.serviceRef.value, u);
|
|
2440
2440
|
const p = (m) => {
|
|
2441
|
-
var k, x,
|
|
2441
|
+
var k, x, A, T;
|
|
2442
2442
|
if (!this.options.concurrent && g !== this.count)
|
|
2443
2443
|
return new Promise(() => {
|
|
2444
2444
|
});
|
|
2445
|
-
const D = this.options.formatResult ? this.options.formatResult(m) : m,
|
|
2445
|
+
const D = this.options.formatResult ? this.options.formatResult(m) : m, z = {
|
|
2446
2446
|
data: m
|
|
2447
2447
|
};
|
|
2448
2448
|
return this.setState({
|
|
2449
2449
|
data: D,
|
|
2450
2450
|
error: void 0,
|
|
2451
2451
|
loading: !1
|
|
2452
|
-
}), (x = (k = this.options).onSuccess) == null || x.call(k, D, u), this.runPluginHandler("onSuccess", D, u,
|
|
2452
|
+
}), (x = (k = this.options).onSuccess) == null || x.call(k, D, u), this.runPluginHandler("onSuccess", D, u, z), this.previousValidData = D, (T = (A = this.options).onFinally) == null || T.call(A, u, D, void 0), (this.options.concurrent || g === this.count) && this.runPluginHandler("onFinally", u, D, void 0), D;
|
|
2453
2453
|
};
|
|
2454
2454
|
v || (v = this.serviceRef.value(...u));
|
|
2455
2455
|
const b = await v;
|
|
@@ -2507,7 +2507,7 @@ function X0(e, u = {}, t = []) {
|
|
|
2507
2507
|
ready: a,
|
|
2508
2508
|
initialData: r,
|
|
2509
2509
|
...i
|
|
2510
|
-
}, s =
|
|
2510
|
+
}, s = H(e), l = Eu({
|
|
2511
2511
|
data: r,
|
|
2512
2512
|
loading: !1,
|
|
2513
2513
|
params: void 0,
|
|
@@ -2524,8 +2524,8 @@ function X0(e, u = {}, t = []) {
|
|
|
2524
2524
|
Object.assign({}, ..._, l)
|
|
2525
2525
|
);
|
|
2526
2526
|
g.options = c, g.pluginImpls = t.map((y) => y(g, c));
|
|
2527
|
-
const d =
|
|
2528
|
-
if (
|
|
2527
|
+
const d = me(() => Bt(a) ? a.value : a);
|
|
2528
|
+
if (Ne(() => {
|
|
2529
2529
|
if (!o) {
|
|
2530
2530
|
const y = g.state.params || u.defaultParams || [];
|
|
2531
2531
|
d.value && g.options.refreshDeps === !0 && s.value && g.run(...y);
|
|
@@ -2537,7 +2537,7 @@ function X0(e, u = {}, t = []) {
|
|
|
2537
2537
|
return Jt(() => {
|
|
2538
2538
|
g.cancel();
|
|
2539
2539
|
}), {
|
|
2540
|
-
...
|
|
2540
|
+
...Fo(l),
|
|
2541
2541
|
cancel: g.cancel.bind(g),
|
|
2542
2542
|
refresh: g.refresh.bind(g),
|
|
2543
2543
|
refreshAsync: g.refreshAsync.bind(g),
|
|
@@ -2562,7 +2562,7 @@ function an(e, u, t) {
|
|
|
2562
2562
|
L0,
|
|
2563
2563
|
$0,
|
|
2564
2564
|
j0,
|
|
2565
|
-
|
|
2565
|
+
Mr,
|
|
2566
2566
|
Xi,
|
|
2567
2567
|
B0
|
|
2568
2568
|
]) == null ? void 0 : n.filter(Boolean);
|
|
@@ -2572,7 +2572,7 @@ function an(e, u, t) {
|
|
|
2572
2572
|
[...t || [], ...r]
|
|
2573
2573
|
);
|
|
2574
2574
|
}
|
|
2575
|
-
const Dl = /* @__PURE__ */
|
|
2575
|
+
const Dl = /* @__PURE__ */ be({
|
|
2576
2576
|
__name: "DataTablePlus",
|
|
2577
2577
|
props: {
|
|
2578
2578
|
api: { type: Function },
|
|
@@ -2596,9 +2596,9 @@ const Dl = /* @__PURE__ */ he({
|
|
|
2596
2596
|
showSizePicker: !0,
|
|
2597
2597
|
pageSizes: [10, 20, 30],
|
|
2598
2598
|
pageSlot: 5,
|
|
2599
|
-
prefix: (
|
|
2599
|
+
prefix: (w) => `共${w.itemCount}条数据`,
|
|
2600
2600
|
...e.pagination && typeof e.pagination == "boolean" ? {} : e.pagination
|
|
2601
|
-
}), c =
|
|
2601
|
+
}), c = H({
|
|
2602
2602
|
page: 1,
|
|
2603
2603
|
pageSize: 10,
|
|
2604
2604
|
itemCount: 0
|
|
@@ -2612,114 +2612,123 @@ const Dl = /* @__PURE__ */ he({
|
|
|
2612
2612
|
],
|
|
2613
2613
|
manual: e.manual,
|
|
2614
2614
|
...e.requestOptions,
|
|
2615
|
-
onBefore: (
|
|
2616
|
-
e.requestOptions?.onBefore?.(
|
|
2615
|
+
onBefore: (w) => {
|
|
2616
|
+
e.requestOptions?.onBefore?.(w), n("before", w);
|
|
2617
2617
|
},
|
|
2618
|
-
onSuccess: (
|
|
2619
|
-
e.requestOptions?.onSuccess?.(
|
|
2618
|
+
onSuccess: (w, M) => {
|
|
2619
|
+
e.requestOptions?.onSuccess?.(w, M), n("success", w, M), x(w, M);
|
|
2620
2620
|
},
|
|
2621
|
-
onError: (
|
|
2622
|
-
e.requestOptions?.onError?.(
|
|
2621
|
+
onError: (w, M) => {
|
|
2622
|
+
e.requestOptions?.onError?.(w, M), n("error", w, M);
|
|
2623
2623
|
},
|
|
2624
|
-
onFinally: (
|
|
2625
|
-
e.requestOptions?.onFinally?.(
|
|
2624
|
+
onFinally: (w, M, P) => {
|
|
2625
|
+
e.requestOptions?.onFinally?.(w, M, P), n("finally", w, M, P);
|
|
2626
2626
|
}
|
|
2627
|
-
}, e.requestPlugins), m =
|
|
2628
|
-
function x(
|
|
2629
|
-
c.value.page = a.page in
|
|
2630
|
-
const
|
|
2627
|
+
}, e.requestPlugins), m = me(() => f.value ? Array.isArray(f.value[a.list]) ? f.value[a.list] : (console.warn(`DataTablePlus: data[${a.list}] must be an array`), []) : []), k = me(() => e.columns?.reduce((w, M) => w + Number(M.width ?? 100), 0));
|
|
2628
|
+
function x(w, M) {
|
|
2629
|
+
c.value.page = a.page in M[0] ? Number(M[0][a.page]) : 1, c.value.pageSize = a.pageSize in M[0] ? Number(M[0][a.pageSize]) : 10, c.value.itemCount = a.count in w ? Number(w[a.count]) : 0;
|
|
2630
|
+
const P = M[0]?.[a.filter], Q = M[0]?.[a.sorter];
|
|
2631
2631
|
if (r) {
|
|
2632
|
-
for (const
|
|
2633
|
-
if ("key" in
|
|
2634
|
-
if (
|
|
2635
|
-
const
|
|
2636
|
-
"filter" in
|
|
2632
|
+
for (const N of r)
|
|
2633
|
+
if ("key" in N) {
|
|
2634
|
+
if (P && N.key in P) {
|
|
2635
|
+
const Y = P[N.key];
|
|
2636
|
+
"filter" in N && N.filter && (N.filterMultiple ? Array.isArray(Y) && (N.filterOptionValues = Y) : Array.isArray(Y) || (N.filterOptionValue = Y));
|
|
2637
2637
|
}
|
|
2638
|
-
if ("sorter" in
|
|
2639
|
-
const
|
|
2640
|
-
"sorter" in
|
|
2638
|
+
if ("sorter" in N && typeof N.sorter == "boolean" && (N.sortOrder = !1), Q && N.key in Q) {
|
|
2639
|
+
const Y = Q[N.key];
|
|
2640
|
+
"sorter" in N && N.sorter && (N.sortOrder = Y);
|
|
2641
2641
|
}
|
|
2642
2642
|
}
|
|
2643
2643
|
}
|
|
2644
2644
|
}
|
|
2645
|
-
function w
|
|
2645
|
+
function A(w) {
|
|
2646
2646
|
return d({
|
|
2647
2647
|
...g.value[0],
|
|
2648
|
-
...
|
|
2648
|
+
...w
|
|
2649
2649
|
});
|
|
2650
2650
|
}
|
|
2651
2651
|
const T = {
|
|
2652
|
-
onUpdatePage: (
|
|
2653
|
-
n("update:page",
|
|
2654
|
-
[a.page]:
|
|
2652
|
+
onUpdatePage: (w) => {
|
|
2653
|
+
n("update:page", w), !l.value && A({
|
|
2654
|
+
[a.page]: w
|
|
2655
2655
|
});
|
|
2656
2656
|
},
|
|
2657
|
-
onUpdatePageSize: (
|
|
2658
|
-
n("update:pageSize",
|
|
2659
|
-
[a.pageSize]:
|
|
2657
|
+
onUpdatePageSize: (w) => {
|
|
2658
|
+
n("update:pageSize", w), !l.value && A({
|
|
2659
|
+
[a.pageSize]: w
|
|
2660
2660
|
});
|
|
2661
2661
|
},
|
|
2662
|
-
onUpdateFilters: (
|
|
2663
|
-
n("update:filters",
|
|
2662
|
+
onUpdateFilters: (w, M) => {
|
|
2663
|
+
n("update:filters", w, M), A({
|
|
2664
2664
|
[a.page]: 1,
|
|
2665
|
-
[a.filter]:
|
|
2665
|
+
[a.filter]: w
|
|
2666
2666
|
});
|
|
2667
2667
|
},
|
|
2668
|
-
onUpdateSorter: (
|
|
2669
|
-
n("update:sorter",
|
|
2670
|
-
const
|
|
2671
|
-
if (Array.isArray(
|
|
2672
|
-
for (const
|
|
2673
|
-
|
|
2674
|
-
else
|
|
2675
|
-
|
|
2668
|
+
onUpdateSorter: (w) => {
|
|
2669
|
+
n("update:sorter", w);
|
|
2670
|
+
const M = {};
|
|
2671
|
+
if (Array.isArray(w))
|
|
2672
|
+
for (const P of w)
|
|
2673
|
+
M[P.columnKey] = P.order;
|
|
2674
|
+
else w && (M[w.columnKey] = w.order);
|
|
2675
|
+
A({
|
|
2676
2676
|
[a.page]: 1,
|
|
2677
|
-
[a.sorter]:
|
|
2677
|
+
[a.sorter]: M
|
|
2678
2678
|
});
|
|
2679
2679
|
},
|
|
2680
|
-
onLoad: (
|
|
2681
|
-
onScroll: (
|
|
2682
|
-
n("scroll",
|
|
2680
|
+
onLoad: (w) => n("load", w),
|
|
2681
|
+
onScroll: (w) => {
|
|
2682
|
+
n("scroll", w);
|
|
2683
2683
|
},
|
|
2684
|
-
onUpdateCheckedRowKeys: (...
|
|
2685
|
-
n("update:checkedRowKeys", ...
|
|
2684
|
+
onUpdateCheckedRowKeys: (...w) => {
|
|
2685
|
+
n("update:checkedRowKeys", ...w);
|
|
2686
2686
|
},
|
|
2687
|
-
onUpdateExpandedRowKeys: (...
|
|
2688
|
-
n("update:expandedRowKeys", ...
|
|
2687
|
+
onUpdateExpandedRowKeys: (...w) => {
|
|
2688
|
+
n("update:expandedRowKeys", ...w);
|
|
2689
2689
|
}
|
|
2690
|
-
}, D =
|
|
2690
|
+
}, D = H(!1), z = H(), L = H({
|
|
2691
2691
|
x: 0,
|
|
2692
2692
|
y: 0
|
|
2693
2693
|
});
|
|
2694
|
-
function
|
|
2694
|
+
function te(w, M) {
|
|
2695
2695
|
D.value = !1, n("contextMenuSelect", {
|
|
2696
|
-
key:
|
|
2697
|
-
option:
|
|
2698
|
-
row: ou(
|
|
2696
|
+
key: w,
|
|
2697
|
+
option: M,
|
|
2698
|
+
row: ou(z)
|
|
2699
2699
|
});
|
|
2700
2700
|
}
|
|
2701
|
-
function
|
|
2701
|
+
function ye(w, M) {
|
|
2702
2702
|
return {
|
|
2703
|
-
onClick: (
|
|
2704
|
-
n("clickRow", { row:
|
|
2703
|
+
onClick: (P) => {
|
|
2704
|
+
n("clickRow", { row: w, index: M, event: P });
|
|
2705
2705
|
},
|
|
2706
|
-
onContextmenu: (
|
|
2707
|
-
n("contextMenuRow", { row:
|
|
2706
|
+
onContextmenu: (P) => {
|
|
2707
|
+
n("contextMenuRow", { row: w, index: M, event: P }), e.contextMenuOptions && (P.preventDefault(), D.value = !1, z.value = w, Kt(() => {
|
|
2708
2708
|
D.value = !0, L.value = {
|
|
2709
|
-
x:
|
|
2710
|
-
y:
|
|
2709
|
+
x: P.x,
|
|
2710
|
+
y: P.y
|
|
2711
2711
|
};
|
|
2712
2712
|
}));
|
|
2713
2713
|
}
|
|
2714
2714
|
};
|
|
2715
2715
|
}
|
|
2716
|
-
const F =
|
|
2717
|
-
function U(
|
|
2718
|
-
|
|
2719
|
-
[
|
|
2716
|
+
const F = H(!1);
|
|
2717
|
+
function U(w, M) {
|
|
2718
|
+
M && A({
|
|
2719
|
+
[M]: w
|
|
2720
2720
|
});
|
|
2721
2721
|
}
|
|
2722
|
-
|
|
2722
|
+
function ce(w, M, P) {
|
|
2723
|
+
return M ? Oe(wr, {
|
|
2724
|
+
labelPlacement: "left",
|
|
2725
|
+
path: P,
|
|
2726
|
+
...typeof M == "string" ? {
|
|
2727
|
+
label: M
|
|
2728
|
+
} : typeof M == "boolean" ? {} : M
|
|
2729
|
+
}, [w]) : w;
|
|
2730
|
+
}
|
|
2731
|
+
const pe = {
|
|
2723
2732
|
loading: l,
|
|
2724
2733
|
data: f,
|
|
2725
2734
|
error: _,
|
|
@@ -2727,56 +2736,57 @@ const Dl = /* @__PURE__ */ he({
|
|
|
2727
2736
|
pagination: c,
|
|
2728
2737
|
rawList: m,
|
|
2729
2738
|
dataTableRef: o
|
|
2730
|
-
},
|
|
2739
|
+
}, Z = {
|
|
2731
2740
|
run: d,
|
|
2732
2741
|
runAsync: y,
|
|
2733
2742
|
refresh: E,
|
|
2734
2743
|
refreshAsync: v,
|
|
2735
2744
|
cancel: p,
|
|
2736
2745
|
mutate: b,
|
|
2737
|
-
setParam: (
|
|
2738
|
-
Object.assign(g.value[0],
|
|
2746
|
+
setParam: (w) => {
|
|
2747
|
+
Object.assign(g.value[0], w);
|
|
2739
2748
|
},
|
|
2740
|
-
runParam: (
|
|
2741
|
-
runParamAsync: async (
|
|
2749
|
+
runParam: (w) => d(Object.assign(g.value[0], w)),
|
|
2750
|
+
runParamAsync: async (w) => y(Object.assign(g.value[0], w))
|
|
2742
2751
|
};
|
|
2743
2752
|
return u({
|
|
2744
|
-
refs:
|
|
2745
|
-
actions:
|
|
2746
|
-
}), (
|
|
2747
|
-
default:
|
|
2748
|
-
q(
|
|
2749
|
-
refs:
|
|
2750
|
-
actions:
|
|
2753
|
+
refs: pe,
|
|
2754
|
+
actions: Z
|
|
2755
|
+
}), (w, M) => (B(), G(S(ku), { vertical: "" }, {
|
|
2756
|
+
default: I(() => [
|
|
2757
|
+
q(w.$slots, "filter", {
|
|
2758
|
+
refs: pe,
|
|
2759
|
+
actions: Z
|
|
2751
2760
|
}, () => [
|
|
2752
|
-
|
|
2753
|
-
default:
|
|
2754
|
-
|
|
2755
|
-
default:
|
|
2756
|
-
(B(!0), He(et, null, Ut(
|
|
2757
|
-
key:
|
|
2761
|
+
V(S(ku), { vertical: "" }, {
|
|
2762
|
+
default: I(() => [
|
|
2763
|
+
V(S(jt), xe(ke(w.filterGridProps)), {
|
|
2764
|
+
default: I(() => [
|
|
2765
|
+
(B(!0), He(et, null, Ut(w.filterOptions?.filter((P) => !P.collapsed), ({ key: P, gridItemProps: Q, render: N, ...Y }, j) => (B(), G(S(Ht), he({
|
|
2766
|
+
key: j,
|
|
2758
2767
|
span: 12
|
|
2759
|
-
}, { ref_for: !0 },
|
|
2760
|
-
default:
|
|
2761
|
-
|
|
2768
|
+
}, { ref_for: !0 }, Q), {
|
|
2769
|
+
default: I(() => [
|
|
2770
|
+
N ? (B(), G(yu(ce(N(pe, Z), Y.label, P)), { key: 0 })) : (B(), G(S(Wt), {
|
|
2762
2771
|
key: 1,
|
|
2763
|
-
options:
|
|
2764
|
-
value:
|
|
2765
|
-
|
|
2766
|
-
|
|
2772
|
+
options: Y,
|
|
2773
|
+
value: P ? S(g)[0][P] : void 0,
|
|
2774
|
+
path: P,
|
|
2775
|
+
"onUpdate:value": (se) => U(se, P)
|
|
2776
|
+
}, null, 8, ["options", "value", "path", "onUpdate:value"]))
|
|
2767
2777
|
]),
|
|
2768
2778
|
_: 2
|
|
2769
2779
|
}, 1040))), 128))
|
|
2770
2780
|
]),
|
|
2771
2781
|
_: 1
|
|
2772
2782
|
}, 16),
|
|
2773
|
-
|
|
2774
|
-
default:
|
|
2775
|
-
|
|
2783
|
+
w.filterOptions?.filter((P) => P.collapsed) && w.filterOptions?.filter((P) => P.collapsed)?.length > 0 ? (B(), G(S(Zo), { key: 0 }, {
|
|
2784
|
+
default: I(() => [
|
|
2785
|
+
V(S(Su), {
|
|
2776
2786
|
size: "tiny",
|
|
2777
|
-
onClick:
|
|
2787
|
+
onClick: M[0] || (M[0] = (P) => F.value = !F.value)
|
|
2778
2788
|
}, {
|
|
2779
|
-
default:
|
|
2789
|
+
default: I(() => [
|
|
2780
2790
|
it(at(F.value ? "折叠" : "展开"), 1)
|
|
2781
2791
|
]),
|
|
2782
2792
|
_: 1
|
|
@@ -2784,21 +2794,22 @@ const Dl = /* @__PURE__ */ he({
|
|
|
2784
2794
|
]),
|
|
2785
2795
|
_: 1
|
|
2786
2796
|
})) : je("", !0),
|
|
2787
|
-
|
|
2788
|
-
default:
|
|
2789
|
-
|
|
2790
|
-
default:
|
|
2791
|
-
(B(!0), He(et, null, Ut(
|
|
2792
|
-
key:
|
|
2797
|
+
V(S(Yo), { show: F.value }, {
|
|
2798
|
+
default: I(() => [
|
|
2799
|
+
V(S(jt), xe(ke(w.filterGridProps)), {
|
|
2800
|
+
default: I(() => [
|
|
2801
|
+
(B(!0), He(et, null, Ut(w.filterOptions?.filter((P) => P.collapsed), ({ key: P, gridItemProps: Q, render: N, ...Y }, j) => (B(), G(S(Ht), he({
|
|
2802
|
+
key: j,
|
|
2793
2803
|
span: 12
|
|
2794
|
-
}, { ref_for: !0 },
|
|
2795
|
-
default:
|
|
2796
|
-
|
|
2804
|
+
}, { ref_for: !0 }, Q), {
|
|
2805
|
+
default: I(() => [
|
|
2806
|
+
N ? (B(), G(yu(ce(N(pe, Z), Y.label, P)), { key: 0 })) : (B(), G(S(Wt), {
|
|
2797
2807
|
key: 1,
|
|
2798
|
-
options:
|
|
2799
|
-
value:
|
|
2800
|
-
|
|
2801
|
-
|
|
2808
|
+
options: Y,
|
|
2809
|
+
value: P ? S(g)[0][P] : void 0,
|
|
2810
|
+
path: P,
|
|
2811
|
+
"onUpdate:value": (se) => U(se, P)
|
|
2812
|
+
}, null, 8, ["options", "value", "path", "onUpdate:value"]))
|
|
2802
2813
|
]),
|
|
2803
2814
|
_: 2
|
|
2804
2815
|
}, 1040))), 128))
|
|
@@ -2812,20 +2823,20 @@ const Dl = /* @__PURE__ */ he({
|
|
|
2812
2823
|
_: 1
|
|
2813
2824
|
})
|
|
2814
2825
|
]),
|
|
2815
|
-
|
|
2826
|
+
V(S(Xo), he({
|
|
2816
2827
|
ref: "data-table-ref",
|
|
2817
2828
|
remote: "",
|
|
2818
2829
|
"flex-height": "",
|
|
2819
2830
|
"single-line": !1,
|
|
2820
2831
|
"scroll-x": k.value,
|
|
2821
|
-
style: { flex: 1, ...
|
|
2822
|
-
class:
|
|
2823
|
-
"row-key": (
|
|
2832
|
+
style: { flex: 1, ...w.customStyle },
|
|
2833
|
+
class: w.customClass,
|
|
2834
|
+
"row-key": (P) => P[a.rowKey],
|
|
2824
2835
|
loading: S(l),
|
|
2825
2836
|
columns: r,
|
|
2826
2837
|
data: m.value,
|
|
2827
|
-
"row-props":
|
|
2828
|
-
},
|
|
2838
|
+
"row-props": ye
|
|
2839
|
+
}, w.dataTableProps, {
|
|
2829
2840
|
"onUpdate:filters": T.onUpdateFilters,
|
|
2830
2841
|
"onUpdate:sorter": T.onUpdateSorter,
|
|
2831
2842
|
onLoad: T.onLoad,
|
|
@@ -2833,20 +2844,20 @@ const Dl = /* @__PURE__ */ he({
|
|
|
2833
2844
|
"onUpdate:checkedRowKeys": T.onUpdateCheckedRowKeys,
|
|
2834
2845
|
"onUpdate:expandedRowKeys": T.onUpdateExpandedRowKeys
|
|
2835
2846
|
}), {
|
|
2836
|
-
empty:
|
|
2837
|
-
q(
|
|
2847
|
+
empty: I(() => [
|
|
2848
|
+
q(w.$slots, "empty")
|
|
2838
2849
|
]),
|
|
2839
|
-
loading:
|
|
2840
|
-
q(
|
|
2850
|
+
loading: I(() => [
|
|
2851
|
+
q(w.$slots, "loading")
|
|
2841
2852
|
]),
|
|
2842
2853
|
_: 3
|
|
2843
2854
|
}, 16, ["scroll-x", "style", "class", "row-key", "loading", "columns", "data", "onUpdate:filters", "onUpdate:sorter", "onLoad", "onScroll", "onUpdate:checkedRowKeys", "onUpdate:expandedRowKeys"]),
|
|
2844
|
-
q(
|
|
2845
|
-
|
|
2846
|
-
default:
|
|
2847
|
-
q(
|
|
2848
|
-
q(
|
|
2849
|
-
|
|
2855
|
+
q(w.$slots, "actions", {}, () => [
|
|
2856
|
+
V(S(ku), null, {
|
|
2857
|
+
default: I(() => [
|
|
2858
|
+
q(w.$slots, "extra"),
|
|
2859
|
+
q(w.$slots, "pagination", {}, () => [
|
|
2860
|
+
w.pagination ? (B(), G(S(Ar), he({
|
|
2850
2861
|
key: 0,
|
|
2851
2862
|
style: { marginLeft: "auto" },
|
|
2852
2863
|
disabled: S(l)
|
|
@@ -2859,35 +2870,35 @@ const Dl = /* @__PURE__ */ he({
|
|
|
2859
2870
|
_: 3
|
|
2860
2871
|
})
|
|
2861
2872
|
]),
|
|
2862
|
-
|
|
2873
|
+
w.contextMenuOptions ? (B(), G(S(Qo), {
|
|
2863
2874
|
key: 0,
|
|
2864
2875
|
placement: "bottom-start",
|
|
2865
2876
|
trigger: "manual",
|
|
2866
2877
|
x: L.value.x,
|
|
2867
2878
|
y: L.value.y,
|
|
2868
2879
|
show: D.value,
|
|
2869
|
-
options:
|
|
2870
|
-
onClickoutside:
|
|
2871
|
-
onSelect:
|
|
2880
|
+
options: w.contextMenuOptions,
|
|
2881
|
+
onClickoutside: M[1] || (M[1] = (P) => D.value = !1),
|
|
2882
|
+
onSelect: te
|
|
2872
2883
|
}, null, 8, ["x", "y", "show", "options"])) : je("", !0)
|
|
2873
2884
|
]),
|
|
2874
2885
|
_: 3
|
|
2875
2886
|
}));
|
|
2876
2887
|
}
|
|
2877
2888
|
});
|
|
2878
|
-
function
|
|
2889
|
+
function zr(e, u) {
|
|
2879
2890
|
const { string: t = "", number: n = null, boolean: r = !1 } = u ?? {};
|
|
2880
2891
|
if (Array.isArray(e))
|
|
2881
2892
|
return e.length = 0, e;
|
|
2882
2893
|
if (typeof e == "object" && e !== null) {
|
|
2883
2894
|
for (const o in e)
|
|
2884
|
-
Object.prototype.hasOwnProperty.call(e, o) && (e[o] =
|
|
2895
|
+
Object.prototype.hasOwnProperty.call(e, o) && (e[o] = zr(e[o], u));
|
|
2885
2896
|
return e;
|
|
2886
2897
|
}
|
|
2887
2898
|
return typeof e == "string" ? t : typeof e == "number" ? n : typeof e == "boolean" ? r : e;
|
|
2888
2899
|
}
|
|
2889
2900
|
function J0(e, u) {
|
|
2890
|
-
const { rules: t, clearRules: n } = u ?? {}, r = Eu(e ? structuredClone(qt(e)) : {}), o = t, a =
|
|
2901
|
+
const { rules: t, clearRules: n } = u ?? {}, r = Eu(e ? structuredClone(qt(e)) : {}), o = t, a = H(), i = {
|
|
2891
2902
|
ref: a,
|
|
2892
2903
|
model: r,
|
|
2893
2904
|
rules: o
|
|
@@ -2899,7 +2910,7 @@ function J0(e, u) {
|
|
|
2899
2910
|
a.value?.restoreValidation();
|
|
2900
2911
|
}
|
|
2901
2912
|
function f() {
|
|
2902
|
-
|
|
2913
|
+
zr(r, n);
|
|
2903
2914
|
}
|
|
2904
2915
|
function _() {
|
|
2905
2916
|
f(), Object.assign(r, structuredClone(e));
|
|
@@ -2909,7 +2920,7 @@ function J0(e, u) {
|
|
|
2909
2920
|
}
|
|
2910
2921
|
return {
|
|
2911
2922
|
formRef: a,
|
|
2912
|
-
formValue:
|
|
2923
|
+
formValue: So(r),
|
|
2913
2924
|
formRules: o,
|
|
2914
2925
|
formProps: i,
|
|
2915
2926
|
validate: s,
|
|
@@ -2920,7 +2931,7 @@ function J0(e, u) {
|
|
|
2920
2931
|
onValidated: c.on
|
|
2921
2932
|
};
|
|
2922
2933
|
}
|
|
2923
|
-
const Fl = /* @__PURE__ */
|
|
2934
|
+
const Fl = /* @__PURE__ */ be({
|
|
2924
2935
|
__name: "PresetForm",
|
|
2925
2936
|
props: {
|
|
2926
2937
|
options: {},
|
|
@@ -2960,21 +2971,21 @@ const Fl = /* @__PURE__ */ he({
|
|
|
2960
2971
|
function E(v, p) {
|
|
2961
2972
|
p && y.setValue({ [p]: v });
|
|
2962
2973
|
}
|
|
2963
|
-
return (v, p) => (B(),
|
|
2964
|
-
default:
|
|
2974
|
+
return (v, p) => (B(), G(S(Jo), xe(ke({ ...S(r), ...e.formProps })), {
|
|
2975
|
+
default: I(() => [
|
|
2965
2976
|
q(v.$slots, "header"),
|
|
2966
2977
|
q(v.$slots, "default", {
|
|
2967
2978
|
refs: d,
|
|
2968
2979
|
actions: y
|
|
2969
2980
|
}, () => [
|
|
2970
|
-
|
|
2971
|
-
default:
|
|
2972
|
-
(B(!0), He(et, null, Ut(v.options, ({ key: b, gridItemProps: m, render: k, ...x },
|
|
2973
|
-
key:
|
|
2981
|
+
V(S(jt), xe(ke(v.gridProps)), {
|
|
2982
|
+
default: I(() => [
|
|
2983
|
+
(B(!0), He(et, null, Ut(v.options, ({ key: b, gridItemProps: m, render: k, ...x }, A) => (B(), G(S(Ht), he({
|
|
2984
|
+
key: A,
|
|
2974
2985
|
span: 12
|
|
2975
2986
|
}, { ref_for: !0 }, m), {
|
|
2976
|
-
default:
|
|
2977
|
-
k ? (B(),
|
|
2987
|
+
default: I(() => [
|
|
2988
|
+
k ? (B(), G(yu(k(d, y)), { key: 0 })) : (B(), G(S(Wt), {
|
|
2978
2989
|
key: 1,
|
|
2979
2990
|
options: x,
|
|
2980
2991
|
path: b,
|
|
@@ -2993,7 +3004,7 @@ const Fl = /* @__PURE__ */ he({
|
|
|
2993
3004
|
_: 3
|
|
2994
3005
|
}, 16));
|
|
2995
3006
|
}
|
|
2996
|
-
}), Wt = /* @__PURE__ */
|
|
3007
|
+
}), Wt = /* @__PURE__ */ be({
|
|
2997
3008
|
__name: "PresetInput",
|
|
2998
3009
|
props: {
|
|
2999
3010
|
value: {},
|
|
@@ -3008,7 +3019,7 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3008
3019
|
label: r
|
|
3009
3020
|
} : typeof r == "boolean" ? {} : r;
|
|
3010
3021
|
function c(s) {
|
|
3011
|
-
return r ?
|
|
3022
|
+
return r ? Oe(wr, {
|
|
3012
3023
|
labelPlacement: "left",
|
|
3013
3024
|
path: e.path,
|
|
3014
3025
|
...i
|
|
@@ -3018,7 +3029,7 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3018
3029
|
}
|
|
3019
3030
|
switch (o) {
|
|
3020
3031
|
case "date-picker":
|
|
3021
|
-
return c(
|
|
3032
|
+
return c(Oe(ui, {
|
|
3022
3033
|
value: e.value,
|
|
3023
3034
|
"onUpdate:value": (s) => {
|
|
3024
3035
|
t("update:value", s);
|
|
@@ -3026,7 +3037,7 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3026
3037
|
...a
|
|
3027
3038
|
}));
|
|
3028
3039
|
case "input":
|
|
3029
|
-
return c(
|
|
3040
|
+
return c(Oe(en, {
|
|
3030
3041
|
value: e.value,
|
|
3031
3042
|
"onUpdate:value": (s) => {
|
|
3032
3043
|
t("update:value", s);
|
|
@@ -3034,7 +3045,7 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3034
3045
|
...a
|
|
3035
3046
|
}));
|
|
3036
3047
|
case "search":
|
|
3037
|
-
return c(
|
|
3048
|
+
return c(Oe(ia, {
|
|
3038
3049
|
value: e.value,
|
|
3039
3050
|
"onUpdate:value": (s) => {
|
|
3040
3051
|
t("update:value", s);
|
|
@@ -3042,7 +3053,7 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3042
3053
|
...a
|
|
3043
3054
|
}));
|
|
3044
3055
|
case "select":
|
|
3045
|
-
return c(
|
|
3056
|
+
return c(Oe(Cr, {
|
|
3046
3057
|
value: e.value,
|
|
3047
3058
|
"onUpdate:value": (s) => {
|
|
3048
3059
|
t("update:value", s);
|
|
@@ -3050,7 +3061,7 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3050
3061
|
...a
|
|
3051
3062
|
}));
|
|
3052
3063
|
case "switch":
|
|
3053
|
-
return c(
|
|
3064
|
+
return c(Oe(ei, {
|
|
3054
3065
|
value: e.value,
|
|
3055
3066
|
"onUpdate:value": (s) => {
|
|
3056
3067
|
t("update:value", s);
|
|
@@ -3058,7 +3069,7 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3058
3069
|
...a
|
|
3059
3070
|
}));
|
|
3060
3071
|
case "time-picker":
|
|
3061
|
-
return c(
|
|
3072
|
+
return c(Oe(Ko, {
|
|
3062
3073
|
value: e.value,
|
|
3063
3074
|
"onUpdate:value": (s) => {
|
|
3064
3075
|
t("update:value", s);
|
|
@@ -3066,14 +3077,14 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3066
3077
|
...a
|
|
3067
3078
|
}));
|
|
3068
3079
|
case "button":
|
|
3069
|
-
return c(
|
|
3080
|
+
return c(Oe(Su, {
|
|
3070
3081
|
...a
|
|
3071
3082
|
}));
|
|
3072
3083
|
}
|
|
3073
3084
|
}
|
|
3074
|
-
return (r, o) => (B(),
|
|
3085
|
+
return (r, o) => (B(), G(yu(n())));
|
|
3075
3086
|
}
|
|
3076
|
-
}), Sl = /* @__PURE__ */
|
|
3087
|
+
}), Sl = /* @__PURE__ */ be({
|
|
3077
3088
|
__name: "PresetSelect",
|
|
3078
3089
|
props: {
|
|
3079
3090
|
api: { type: Function },
|
|
@@ -3099,7 +3110,7 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3099
3110
|
pageSlot: 5,
|
|
3100
3111
|
prefix: (F) => `共${F.itemCount}条数据`,
|
|
3101
3112
|
...e.pagination && typeof e.pagination == "boolean" ? {} : e.pagination
|
|
3102
|
-
}), i =
|
|
3113
|
+
}), i = H({
|
|
3103
3114
|
page: 1,
|
|
3104
3115
|
pageSize: 10,
|
|
3105
3116
|
itemCount: 0
|
|
@@ -3123,10 +3134,10 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3123
3134
|
onError: (F, U) => {
|
|
3124
3135
|
e.requestOptions?.onError?.(F, U), n("error", F, U);
|
|
3125
3136
|
},
|
|
3126
|
-
onFinally: (F, U,
|
|
3127
|
-
e.requestOptions?.onFinally?.(F, U,
|
|
3137
|
+
onFinally: (F, U, ce) => {
|
|
3138
|
+
e.requestOptions?.onFinally?.(F, U, ce), n("finally", F, U, ce);
|
|
3128
3139
|
}
|
|
3129
|
-
}, e.requestPlugins), b =
|
|
3140
|
+
}, e.requestPlugins), b = me(() => s.value ? Array.isArray(s.value[o.list]) ? s.value[o.list] : (console.warn(`DataTablePlus: data[${o.list}] must be an array`), []) : []), m = me(() => typeof e.optionFormat == "function" ? b.value.map((F) => e.optionFormat(F)).filter((F) => !!F) : b.value.map((F) => ({
|
|
3130
3141
|
[o.label]: F[o.label],
|
|
3131
3142
|
[o.value]: F[o.value],
|
|
3132
3143
|
[o.children]: F[o.children],
|
|
@@ -3141,10 +3152,10 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3141
3152
|
...F
|
|
3142
3153
|
});
|
|
3143
3154
|
}
|
|
3144
|
-
const
|
|
3155
|
+
const A = H(""), T = Dr(() => {
|
|
3145
3156
|
x({
|
|
3146
3157
|
[o.page]: 1,
|
|
3147
|
-
[o.search]:
|
|
3158
|
+
[o.search]: A.value
|
|
3148
3159
|
});
|
|
3149
3160
|
}, typeof e.debounce == "number" ? e.debounce : 500), D = {
|
|
3150
3161
|
onBlur: (F) => {
|
|
@@ -3161,19 +3172,19 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3161
3172
|
n("scroll", F);
|
|
3162
3173
|
},
|
|
3163
3174
|
onUpdateValue: (F, U) => {
|
|
3164
|
-
const
|
|
3165
|
-
n("update:value", F, U,
|
|
3175
|
+
const ce = Array.isArray(F) ? b.value.filter((pe) => F.includes(pe[o.rowKey])) : b.value.find((pe) => pe[o.rowKey] === F);
|
|
3176
|
+
n("update:value", F, U, ce ? qt(ou(ce)) : null);
|
|
3166
3177
|
},
|
|
3167
3178
|
onSearch: (F) => {
|
|
3168
|
-
|
|
3179
|
+
A.value = F, !f.value && (e.debounce ? T() : x({
|
|
3169
3180
|
[o.page]: 1,
|
|
3170
|
-
[o.search]:
|
|
3181
|
+
[o.search]: A.value
|
|
3171
3182
|
}));
|
|
3172
3183
|
},
|
|
3173
3184
|
onUpdateShow: (F) => {
|
|
3174
3185
|
F && (s.value || e.manual && g(c));
|
|
3175
3186
|
}
|
|
3176
|
-
},
|
|
3187
|
+
}, z = {
|
|
3177
3188
|
onUpdatePage: (F) => {
|
|
3178
3189
|
n("update:page", F), !f.value && x({
|
|
3179
3190
|
[o.page]: F
|
|
@@ -3214,7 +3225,7 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3214
3225
|
runParam: (F) => g(Object.assign(_.value[0], F)),
|
|
3215
3226
|
runParamAsync: async (F) => d(Object.assign(_.value[0], F))
|
|
3216
3227
|
}
|
|
3217
|
-
}), (F, U) => (B(),
|
|
3228
|
+
}), (F, U) => (B(), G(S(Cr), he({
|
|
3218
3229
|
ref: "select-ref",
|
|
3219
3230
|
remote: "",
|
|
3220
3231
|
filterable: "",
|
|
@@ -3237,23 +3248,23 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3237
3248
|
"onUpdate:show": D.onUpdateShow,
|
|
3238
3249
|
"onUpdate:value": D.onUpdateValue
|
|
3239
3250
|
}), {
|
|
3240
|
-
header:
|
|
3251
|
+
header: I(() => [
|
|
3241
3252
|
q(F.$slots, "header")
|
|
3242
3253
|
]),
|
|
3243
|
-
action:
|
|
3254
|
+
action: I(() => [
|
|
3244
3255
|
q(F.$slots, "action", {}, () => [
|
|
3245
|
-
|
|
3246
|
-
default:
|
|
3256
|
+
V(S(ku), null, {
|
|
3257
|
+
default: I(() => [
|
|
3247
3258
|
q(F.$slots, "extra"),
|
|
3248
3259
|
q(F.$slots, "pagination", {}, () => [
|
|
3249
|
-
F.pagination ? (B(),
|
|
3260
|
+
F.pagination ? (B(), G(S(Ar), he({
|
|
3250
3261
|
key: 0,
|
|
3251
3262
|
style: { "margin-left": "auto" },
|
|
3252
3263
|
simple: "",
|
|
3253
3264
|
disabled: S(f)
|
|
3254
3265
|
}, { ...a, ...i.value }, {
|
|
3255
|
-
"onUpdate:page":
|
|
3256
|
-
"onUpdate:pageSize":
|
|
3266
|
+
"onUpdate:page": z.onUpdatePage,
|
|
3267
|
+
"onUpdate:pageSize": z.onUpdatePageSize
|
|
3257
3268
|
}), null, 16, ["disabled", "onUpdate:page", "onUpdate:pageSize"])) : je("", !0)
|
|
3258
3269
|
])
|
|
3259
3270
|
]),
|
|
@@ -3261,16 +3272,16 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3261
3272
|
})
|
|
3262
3273
|
])
|
|
3263
3274
|
]),
|
|
3264
|
-
empty:
|
|
3275
|
+
empty: I(() => [
|
|
3265
3276
|
q(F.$slots, "empty")
|
|
3266
3277
|
]),
|
|
3267
|
-
arrow:
|
|
3278
|
+
arrow: I(() => [
|
|
3268
3279
|
q(F.$slots, "arrow")
|
|
3269
3280
|
]),
|
|
3270
3281
|
_: 3
|
|
3271
3282
|
}, 16, ["multiple", "disabled", "options", "label-field", "value-field", "children-field", "value", "loading", "onBlur", "onClear", "onCreate", "onFocus", "onScroll", "onSearch", "onUpdate:show", "onUpdate:value"]));
|
|
3272
3283
|
}
|
|
3273
|
-
}), Tl = /* @__PURE__ */
|
|
3284
|
+
}), Tl = /* @__PURE__ */ be({
|
|
3274
3285
|
__name: "RemoteRequest",
|
|
3275
3286
|
props: {
|
|
3276
3287
|
api: { type: Function },
|
|
@@ -3338,7 +3349,7 @@ const Fl = /* @__PURE__ */ he({
|
|
|
3338
3349
|
};
|
|
3339
3350
|
function ua(e, u, t, n, r, o) {
|
|
3340
3351
|
return B(), He("svg", ea, u[0] || (u[0] = [
|
|
3341
|
-
|
|
3352
|
+
To('<circle cx="18" cy="12" r="0" fill="#757575"><animate attributeName="r" begin=".67" calcMode="spline" dur="1.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"></animate></circle><circle cx="12" cy="12" r="0" fill="#757575"><animate attributeName="r" begin=".33" calcMode="spline" dur="1.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"></animate></circle><circle cx="6" cy="12" r="0" fill="#757575"><animate attributeName="r" begin="0" calcMode="spline" dur="1.5s" keySplines="0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8;0.2 0.2 0.4 0.8" repeatCount="indefinite" values="0;2;0;0"></animate></circle>', 3)
|
|
3342
3353
|
]));
|
|
3343
3354
|
}
|
|
3344
3355
|
const ta = /* @__PURE__ */ nn(K0, [["render", ua]]), na = {
|
|
@@ -3357,7 +3368,7 @@ function oa(e, u, t, n, r, o) {
|
|
|
3357
3368
|
}, null, -1)
|
|
3358
3369
|
]));
|
|
3359
3370
|
}
|
|
3360
|
-
const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */
|
|
3371
|
+
const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ be({
|
|
3361
3372
|
__name: "SearchInput",
|
|
3362
3373
|
props: {
|
|
3363
3374
|
value: { default: "" },
|
|
@@ -3370,15 +3381,15 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ he({
|
|
|
3370
3381
|
},
|
|
3371
3382
|
emits: ["update:value"],
|
|
3372
3383
|
setup(e, { emit: u }) {
|
|
3373
|
-
const t = u, n = ct("
|
|
3384
|
+
const t = u, n = ct("input-ref"), r = H(e.value), { isPending: o, start: a } = ri(() => {
|
|
3374
3385
|
}, typeof e.autoTrigger == "number" ? e.autoTrigger : 500);
|
|
3375
|
-
|
|
3386
|
+
Le(() => e.value, (l) => {
|
|
3376
3387
|
r.value = l;
|
|
3377
3388
|
});
|
|
3378
|
-
const i =
|
|
3389
|
+
const i = Dr(() => {
|
|
3379
3390
|
t("update:value", r.value);
|
|
3380
3391
|
}, typeof e.autoTrigger == "number" ? e.autoTrigger : 500);
|
|
3381
|
-
|
|
3392
|
+
Le(r, () => {
|
|
3382
3393
|
a(), e.autoTrigger && i();
|
|
3383
3394
|
});
|
|
3384
3395
|
function c() {
|
|
@@ -3387,39 +3398,38 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ he({
|
|
|
3387
3398
|
function s(l) {
|
|
3388
3399
|
l.key === "Enter" && c();
|
|
3389
3400
|
}
|
|
3390
|
-
return
|
|
3401
|
+
return Ne(() => {
|
|
3391
3402
|
!e.loading && r.value && n.value?.focus();
|
|
3392
|
-
}), (l, f) => (B(),
|
|
3393
|
-
default:
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
ref: n,
|
|
3403
|
+
}), (l, f) => (B(), G(S(ti), null, {
|
|
3404
|
+
default: I(() => [
|
|
3405
|
+
V(S(en), he({
|
|
3406
|
+
ref: "input-ref",
|
|
3397
3407
|
value: r.value,
|
|
3398
3408
|
"onUpdate:value": f[0] || (f[0] = (_) => r.value = _),
|
|
3399
3409
|
disabled: l.loading,
|
|
3400
3410
|
clearable: ""
|
|
3401
3411
|
}, l.inputProps, { onKeydown: s }), {
|
|
3402
|
-
prefix:
|
|
3412
|
+
prefix: I(() => [
|
|
3403
3413
|
q(l.$slots, "prefix", {}, () => [
|
|
3404
3414
|
q(l.$slots, "prefix-icon", {}, () => [
|
|
3405
|
-
|
|
3415
|
+
V(Gn)
|
|
3406
3416
|
])
|
|
3407
3417
|
])
|
|
3408
3418
|
]),
|
|
3409
|
-
suffix:
|
|
3410
|
-
S(o) ? (B(),
|
|
3419
|
+
suffix: I(() => [
|
|
3420
|
+
S(o) ? (B(), G(ta, { key: 0 })) : je("", !0)
|
|
3411
3421
|
]),
|
|
3412
3422
|
_: 3
|
|
3413
3423
|
}, 16, ["value", "disabled"]),
|
|
3414
3424
|
q(l.$slots, "button", {}, () => [
|
|
3415
|
-
l.searchButton ? (B(),
|
|
3425
|
+
l.searchButton ? (B(), G(S(Su), he({
|
|
3416
3426
|
key: 0,
|
|
3417
3427
|
type: l.type,
|
|
3418
3428
|
loading: l.loading
|
|
3419
3429
|
}, l.buttonProps, { onClick: c }), {
|
|
3420
|
-
icon:
|
|
3430
|
+
icon: I(() => [
|
|
3421
3431
|
q(l.$slots, "button-icon", {}, () => [
|
|
3422
|
-
|
|
3432
|
+
V(Gn)
|
|
3423
3433
|
])
|
|
3424
3434
|
]),
|
|
3425
3435
|
_: 3
|
|
@@ -3429,9 +3439,9 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ he({
|
|
|
3429
3439
|
_: 3
|
|
3430
3440
|
}));
|
|
3431
3441
|
}
|
|
3432
|
-
}), Pl = /* @__PURE__ */
|
|
3442
|
+
}), Pl = /* @__PURE__ */ be({
|
|
3433
3443
|
__name: "ToggleEditor",
|
|
3434
|
-
props: /* @__PURE__ */
|
|
3444
|
+
props: /* @__PURE__ */ Po({
|
|
3435
3445
|
inputProps: {}
|
|
3436
3446
|
}, {
|
|
3437
3447
|
value: {},
|
|
@@ -3439,7 +3449,7 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ he({
|
|
|
3439
3449
|
}),
|
|
3440
3450
|
emits: ["update:value"],
|
|
3441
3451
|
setup(e) {
|
|
3442
|
-
const u =
|
|
3452
|
+
const u = Ro(e, "value"), t = H(!1), n = ct("inputRef"), r = H(u.value);
|
|
3443
3453
|
function o() {
|
|
3444
3454
|
t.value = !0, Kt(() => {
|
|
3445
3455
|
n.value?.focus();
|
|
@@ -3449,7 +3459,7 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ he({
|
|
|
3449
3459
|
t.value = !1, u.value = r.value;
|
|
3450
3460
|
}
|
|
3451
3461
|
return (i, c) => (B(), He("div", { onClick: o }, [
|
|
3452
|
-
t.value ? (B(),
|
|
3462
|
+
t.value ? (B(), G(S(en), he({
|
|
3453
3463
|
key: 0,
|
|
3454
3464
|
ref_key: "inputRef",
|
|
3455
3465
|
ref: n,
|
|
@@ -3463,7 +3473,7 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ he({
|
|
|
3463
3473
|
], 64))
|
|
3464
3474
|
]));
|
|
3465
3475
|
}
|
|
3466
|
-
}), Rl = /* @__PURE__ */
|
|
3476
|
+
}), Rl = /* @__PURE__ */ be({
|
|
3467
3477
|
__name: "TooltipButton",
|
|
3468
3478
|
props: {
|
|
3469
3479
|
value: {},
|
|
@@ -3473,21 +3483,21 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ he({
|
|
|
3473
3483
|
emits: ["click"],
|
|
3474
3484
|
setup(e, { emit: u }) {
|
|
3475
3485
|
const t = u;
|
|
3476
|
-
return (n, r) => (B(),
|
|
3477
|
-
trigger:
|
|
3478
|
-
|
|
3486
|
+
return (n, r) => (B(), G(S(Er), xe(ke(n.tooltipProps)), {
|
|
3487
|
+
trigger: I(() => [
|
|
3488
|
+
V(S(Su), he(n.buttonProps, {
|
|
3479
3489
|
onClick: r[0] || (r[0] = (o) => t("click", o))
|
|
3480
3490
|
}), {
|
|
3481
|
-
icon:
|
|
3491
|
+
icon: I(() => [
|
|
3482
3492
|
q(n.$slots, "icon")
|
|
3483
3493
|
]),
|
|
3484
|
-
default:
|
|
3494
|
+
default: I(() => [
|
|
3485
3495
|
q(n.$slots, "default")
|
|
3486
3496
|
]),
|
|
3487
3497
|
_: 3
|
|
3488
3498
|
}, 16)
|
|
3489
3499
|
]),
|
|
3490
|
-
default:
|
|
3500
|
+
default: I(() => [
|
|
3491
3501
|
q(n.$slots, "tooltip", {}, () => [
|
|
3492
3502
|
it(at(n.value), 1)
|
|
3493
3503
|
])
|
|
@@ -3498,24 +3508,24 @@ const Gn = /* @__PURE__ */ nn(na, [["render", oa]]), ia = /* @__PURE__ */ he({
|
|
|
3498
3508
|
});
|
|
3499
3509
|
/*! @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 */
|
|
3500
3510
|
const {
|
|
3501
|
-
entries:
|
|
3511
|
+
entries: $r,
|
|
3502
3512
|
setPrototypeOf: Wn,
|
|
3503
3513
|
isFrozen: aa,
|
|
3504
3514
|
getPrototypeOf: ca,
|
|
3505
3515
|
getOwnPropertyDescriptor: sa
|
|
3506
3516
|
} = Object;
|
|
3507
3517
|
let {
|
|
3508
|
-
freeze:
|
|
3509
|
-
seal:
|
|
3510
|
-
create:
|
|
3518
|
+
freeze: ie,
|
|
3519
|
+
seal: _e,
|
|
3520
|
+
create: Br
|
|
3511
3521
|
} = Object, {
|
|
3512
3522
|
apply: Vt,
|
|
3513
3523
|
construct: Zt
|
|
3514
3524
|
} = typeof Reflect < "u" && Reflect;
|
|
3515
|
-
|
|
3525
|
+
ie || (ie = function(u) {
|
|
3516
3526
|
return u;
|
|
3517
3527
|
});
|
|
3518
|
-
|
|
3528
|
+
_e || (_e = function(u) {
|
|
3519
3529
|
return u;
|
|
3520
3530
|
});
|
|
3521
3531
|
Vt || (Vt = function(u, t, n) {
|
|
@@ -3524,8 +3534,8 @@ Vt || (Vt = function(u, t, n) {
|
|
|
3524
3534
|
Zt || (Zt = function(u, t) {
|
|
3525
3535
|
return new u(...t);
|
|
3526
3536
|
});
|
|
3527
|
-
const ju =
|
|
3528
|
-
function
|
|
3537
|
+
const ju = ae(Array.prototype.forEach), la = ae(Array.prototype.lastIndexOf), Vn = ae(Array.prototype.pop), hu = ae(Array.prototype.push), fa = ae(Array.prototype.splice), Ju = ae(String.prototype.toLowerCase), Ct = ae(String.prototype.toString), Zn = ae(String.prototype.match), bu = ae(String.prototype.replace), da = ae(String.prototype.indexOf), pa = ae(String.prototype.trim), Ee = ae(Object.prototype.hasOwnProperty), oe = ae(RegExp.prototype.test), mu = ha(TypeError);
|
|
3538
|
+
function ae(e) {
|
|
3529
3539
|
return function(u) {
|
|
3530
3540
|
u instanceof RegExp && (u.lastIndex = 0);
|
|
3531
3541
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
|
|
@@ -3556,13 +3566,13 @@ function $(e, u) {
|
|
|
3556
3566
|
}
|
|
3557
3567
|
function ba(e) {
|
|
3558
3568
|
for (let u = 0; u < e.length; u++)
|
|
3559
|
-
|
|
3569
|
+
Ee(e, u) || (e[u] = null);
|
|
3560
3570
|
return e;
|
|
3561
3571
|
}
|
|
3562
|
-
function
|
|
3563
|
-
const u =
|
|
3564
|
-
for (const [t, n] of
|
|
3565
|
-
|
|
3572
|
+
function Me(e) {
|
|
3573
|
+
const u = Br(null);
|
|
3574
|
+
for (const [t, n] of $r(e))
|
|
3575
|
+
Ee(e, t) && (Array.isArray(n) ? u[t] = ba(n) : n && typeof n == "object" && n.constructor === Object ? u[t] = Me(n) : u[t] = n);
|
|
3566
3576
|
return u;
|
|
3567
3577
|
}
|
|
3568
3578
|
function gu(e, u) {
|
|
@@ -3570,9 +3580,9 @@ function gu(e, u) {
|
|
|
3570
3580
|
const n = sa(e, u);
|
|
3571
3581
|
if (n) {
|
|
3572
3582
|
if (n.get)
|
|
3573
|
-
return
|
|
3583
|
+
return ae(n.get);
|
|
3574
3584
|
if (typeof n.value == "function")
|
|
3575
|
-
return
|
|
3585
|
+
return ae(n.value);
|
|
3576
3586
|
}
|
|
3577
3587
|
e = ca(e);
|
|
3578
3588
|
}
|
|
@@ -3581,22 +3591,22 @@ function gu(e, u) {
|
|
|
3581
3591
|
}
|
|
3582
3592
|
return t;
|
|
3583
3593
|
}
|
|
3584
|
-
const Yn =
|
|
3594
|
+
const Yn = ie(["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"]), Dt = ie(["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"]), Ft = ie(["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"]), ma = ie(["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"]), St = ie(["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"]), ga = ie(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Xn = ie(["#text"]), Qn = ie(["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"]), Tt = ie(["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"]), Jn = ie(["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"]), Hu = ie(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), xa = _e(/\{\{[\w\W]*|[\w\W]*\}\}/gm), ka = _e(/<%[\w\W]*|[\w\W]*%>/gm), _a = _e(/\$\{[\w\W]*/gm), va = _e(/^data-[\-\w.\u00B7-\uFFFF]+$/), ya = _e(/^aria-[\-\w]+$/), Ur = _e(
|
|
3585
3595
|
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
3586
3596
|
// eslint-disable-line no-useless-escape
|
|
3587
|
-
), Ea =
|
|
3597
|
+
), Ea = _e(/^(?:\w+script|data):/i), Aa = _e(
|
|
3588
3598
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
3589
3599
|
// eslint-disable-line no-control-regex
|
|
3590
|
-
),
|
|
3600
|
+
), qr = _e(/^html$/i), wa = _e(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
3591
3601
|
var Kn = /* @__PURE__ */ Object.freeze({
|
|
3592
3602
|
__proto__: null,
|
|
3593
3603
|
ARIA_ATTR: ya,
|
|
3594
3604
|
ATTR_WHITESPACE: Aa,
|
|
3595
3605
|
CUSTOM_ELEMENT: wa,
|
|
3596
3606
|
DATA_ATTR: va,
|
|
3597
|
-
DOCTYPE_NAME:
|
|
3607
|
+
DOCTYPE_NAME: qr,
|
|
3598
3608
|
ERB_EXPR: ka,
|
|
3599
|
-
IS_ALLOWED_URI:
|
|
3609
|
+
IS_ALLOWED_URI: Ur,
|
|
3600
3610
|
IS_SCRIPT_OR_DATA: Ea,
|
|
3601
3611
|
MUSTACHE_EXPR: xa,
|
|
3602
3612
|
TMPLIT_EXPR: _a
|
|
@@ -3642,9 +3652,9 @@ const xu = {
|
|
|
3642
3652
|
uponSanitizeShadowNode: []
|
|
3643
3653
|
};
|
|
3644
3654
|
};
|
|
3645
|
-
function
|
|
3655
|
+
function jr() {
|
|
3646
3656
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ca();
|
|
3647
|
-
const u = (
|
|
3657
|
+
const u = (O) => jr(O);
|
|
3648
3658
|
if (u.version = "3.2.6", u.removed = [], !e || !e.document || e.document.nodeType !== xu.document || !e.Element)
|
|
3649
3659
|
return u.isSupported = !1, u;
|
|
3650
3660
|
let {
|
|
@@ -3662,37 +3672,37 @@ function qr() {
|
|
|
3662
3672
|
trustedTypes: g
|
|
3663
3673
|
} = e, d = c.prototype, y = gu(d, "cloneNode"), E = gu(d, "remove"), v = gu(d, "nextSibling"), p = gu(d, "childNodes"), b = gu(d, "parentNode");
|
|
3664
3674
|
if (typeof a == "function") {
|
|
3665
|
-
const
|
|
3666
|
-
|
|
3675
|
+
const O = t.createElement("template");
|
|
3676
|
+
O.content && O.content.ownerDocument && (t = O.content.ownerDocument);
|
|
3667
3677
|
}
|
|
3668
3678
|
let m, k = "";
|
|
3669
3679
|
const {
|
|
3670
3680
|
implementation: x,
|
|
3671
|
-
createNodeIterator:
|
|
3681
|
+
createNodeIterator: A,
|
|
3672
3682
|
createDocumentFragment: T,
|
|
3673
3683
|
getElementsByTagName: D
|
|
3674
3684
|
} = t, {
|
|
3675
|
-
importNode:
|
|
3685
|
+
importNode: z
|
|
3676
3686
|
} = n;
|
|
3677
3687
|
let L = er();
|
|
3678
|
-
u.isSupported = typeof
|
|
3688
|
+
u.isSupported = typeof $r == "function" && typeof b == "function" && x && x.createHTMLDocument !== void 0;
|
|
3679
3689
|
const {
|
|
3680
|
-
MUSTACHE_EXPR:
|
|
3681
|
-
ERB_EXPR:
|
|
3690
|
+
MUSTACHE_EXPR: te,
|
|
3691
|
+
ERB_EXPR: ye,
|
|
3682
3692
|
TMPLIT_EXPR: F,
|
|
3683
3693
|
DATA_ATTR: U,
|
|
3684
|
-
ARIA_ATTR:
|
|
3685
|
-
IS_SCRIPT_OR_DATA:
|
|
3686
|
-
ATTR_WHITESPACE:
|
|
3687
|
-
CUSTOM_ELEMENT:
|
|
3694
|
+
ARIA_ATTR: ce,
|
|
3695
|
+
IS_SCRIPT_OR_DATA: pe,
|
|
3696
|
+
ATTR_WHITESPACE: Z,
|
|
3697
|
+
CUSTOM_ELEMENT: w
|
|
3688
3698
|
} = Kn;
|
|
3689
3699
|
let {
|
|
3690
3700
|
IS_ALLOWED_URI: M
|
|
3691
|
-
} = Kn,
|
|
3692
|
-
const
|
|
3693
|
-
let
|
|
3694
|
-
const
|
|
3695
|
-
let
|
|
3701
|
+
} = Kn, P = null;
|
|
3702
|
+
const Q = $({}, [...Yn, ...Dt, ...Ft, ...St, ...Xn]);
|
|
3703
|
+
let N = null;
|
|
3704
|
+
const Y = $({}, [...Qn, ...Tt, ...Jn, ...Hu]);
|
|
3705
|
+
let j = Object.seal(Br(null, {
|
|
3696
3706
|
tagNameCheck: {
|
|
3697
3707
|
writable: !0,
|
|
3698
3708
|
configurable: !1,
|
|
@@ -3711,8 +3721,8 @@ function qr() {
|
|
|
3711
3721
|
enumerable: !0,
|
|
3712
3722
|
value: !1
|
|
3713
3723
|
}
|
|
3714
|
-
})),
|
|
3715
|
-
const
|
|
3724
|
+
})), se = null, Ie = null, Ye = !0, Xe = !0, Qe = !1, We = !0, ze = !1, $e = !0, Ve = !1, pt = !1, ht = !1, Je = !1, Ou = !1, Mu = !1, mn = !0, gn = !1;
|
|
3725
|
+
const mo = "user-content-";
|
|
3716
3726
|
let bt = !0, lu = !1, Ke = {}, eu = null;
|
|
3717
3727
|
const xn = $({}, ["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"]);
|
|
3718
3728
|
let kn = null;
|
|
@@ -3720,19 +3730,19 @@ function qr() {
|
|
|
3720
3730
|
let mt = null;
|
|
3721
3731
|
const vn = $({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Lu = "http://www.w3.org/1998/Math/MathML", Nu = "http://www.w3.org/2000/svg", Te = "http://www.w3.org/1999/xhtml";
|
|
3722
3732
|
let uu = Te, gt = !1, xt = null;
|
|
3723
|
-
const
|
|
3733
|
+
const go = $({}, [Lu, Nu, Te], Ct);
|
|
3724
3734
|
let Iu = $({}, ["mi", "mo", "mn", "ms", "mtext"]), zu = $({}, ["annotation-xml"]);
|
|
3725
|
-
const
|
|
3735
|
+
const xo = $({}, ["title", "style", "font", "a", "script"]);
|
|
3726
3736
|
let fu = null;
|
|
3727
|
-
const
|
|
3728
|
-
let
|
|
3729
|
-
const
|
|
3737
|
+
const ko = ["application/xhtml+xml", "text/html"], _o = "text/html";
|
|
3738
|
+
let K = null, tu = null;
|
|
3739
|
+
const vo = t.createElement("form"), yn = function(h) {
|
|
3730
3740
|
return h instanceof RegExp || h instanceof Function;
|
|
3731
3741
|
}, kt = function() {
|
|
3732
3742
|
let h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3733
3743
|
if (!(tu && tu === h)) {
|
|
3734
|
-
if ((!h || typeof h != "object") && (h = {}), h =
|
|
3735
|
-
|
|
3744
|
+
if ((!h || typeof h != "object") && (h = {}), h = Me(h), fu = // eslint-disable-next-line unicorn/prefer-includes
|
|
3745
|
+
ko.indexOf(h.PARSER_MEDIA_TYPE) === -1 ? _o : h.PARSER_MEDIA_TYPE, K = fu === "application/xhtml+xml" ? Ct : Ju, P = Ee(h, "ALLOWED_TAGS") ? $({}, h.ALLOWED_TAGS, K) : Q, N = Ee(h, "ALLOWED_ATTR") ? $({}, h.ALLOWED_ATTR, K) : Y, xt = Ee(h, "ALLOWED_NAMESPACES") ? $({}, h.ALLOWED_NAMESPACES, Ct) : go, mt = Ee(h, "ADD_URI_SAFE_ATTR") ? $(Me(vn), h.ADD_URI_SAFE_ATTR, K) : vn, kn = Ee(h, "ADD_DATA_URI_TAGS") ? $(Me(_n), h.ADD_DATA_URI_TAGS, K) : _n, eu = Ee(h, "FORBID_CONTENTS") ? $({}, h.FORBID_CONTENTS, K) : xn, se = Ee(h, "FORBID_TAGS") ? $({}, h.FORBID_TAGS, K) : Me({}), Ie = Ee(h, "FORBID_ATTR") ? $({}, h.FORBID_ATTR, K) : Me({}), Ke = Ee(h, "USE_PROFILES") ? h.USE_PROFILES : !1, Ye = h.ALLOW_ARIA_ATTR !== !1, Xe = h.ALLOW_DATA_ATTR !== !1, Qe = h.ALLOW_UNKNOWN_PROTOCOLS || !1, We = h.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ze = h.SAFE_FOR_TEMPLATES || !1, $e = h.SAFE_FOR_XML !== !1, Ve = h.WHOLE_DOCUMENT || !1, Je = h.RETURN_DOM || !1, Ou = h.RETURN_DOM_FRAGMENT || !1, Mu = h.RETURN_TRUSTED_TYPE || !1, ht = h.FORCE_BODY || !1, mn = h.SANITIZE_DOM !== !1, gn = h.SANITIZE_NAMED_PROPS || !1, bt = h.KEEP_CONTENT !== !1, lu = h.IN_PLACE || !1, M = h.ALLOWED_URI_REGEXP || Ur, uu = h.NAMESPACE || Te, Iu = h.MATHML_TEXT_INTEGRATION_POINTS || Iu, zu = h.HTML_INTEGRATION_POINTS || zu, j = h.CUSTOM_ELEMENT_HANDLING || {}, h.CUSTOM_ELEMENT_HANDLING && yn(h.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (j.tagNameCheck = h.CUSTOM_ELEMENT_HANDLING.tagNameCheck), h.CUSTOM_ELEMENT_HANDLING && yn(h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (j.attributeNameCheck = h.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), h.CUSTOM_ELEMENT_HANDLING && typeof h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (j.allowCustomizedBuiltInElements = h.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ze && (Xe = !1), Ou && (Je = !0), Ke && (P = $({}, Xn), N = [], Ke.html === !0 && ($(P, Yn), $(N, Qn)), Ke.svg === !0 && ($(P, Dt), $(N, Tt), $(N, Hu)), Ke.svgFilters === !0 && ($(P, Ft), $(N, Tt), $(N, Hu)), Ke.mathMl === !0 && ($(P, St), $(N, Jn), $(N, Hu))), h.ADD_TAGS && (P === Q && (P = Me(P)), $(P, h.ADD_TAGS, K)), h.ADD_ATTR && (N === Y && (N = Me(N)), $(N, h.ADD_ATTR, K)), h.ADD_URI_SAFE_ATTR && $(mt, h.ADD_URI_SAFE_ATTR, K), h.FORBID_CONTENTS && (eu === xn && (eu = Me(eu)), $(eu, h.FORBID_CONTENTS, K)), bt && (P["#text"] = !0), Ve && $(P, ["html", "head", "body"]), P.table && ($(P, ["tbody"]), delete se.tbody), h.TRUSTED_TYPES_POLICY) {
|
|
3736
3746
|
if (typeof h.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
3737
3747
|
throw mu('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
3738
3748
|
if (typeof h.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -3740,16 +3750,16 @@ function qr() {
|
|
|
3740
3750
|
m = h.TRUSTED_TYPES_POLICY, k = m.createHTML("");
|
|
3741
3751
|
} else
|
|
3742
3752
|
m === void 0 && (m = Da(g, r)), m !== null && typeof k == "string" && (k = m.createHTML(""));
|
|
3743
|
-
|
|
3753
|
+
ie && ie(h), tu = h;
|
|
3744
3754
|
}
|
|
3745
|
-
}, En = $({}, [...Dt, ...Ft, ...ma]), An = $({}, [...St, ...ga]),
|
|
3755
|
+
}, En = $({}, [...Dt, ...Ft, ...ma]), An = $({}, [...St, ...ga]), yo = function(h) {
|
|
3746
3756
|
let C = b(h);
|
|
3747
3757
|
(!C || !C.tagName) && (C = {
|
|
3748
3758
|
namespaceURI: uu,
|
|
3749
3759
|
tagName: "template"
|
|
3750
3760
|
});
|
|
3751
|
-
const
|
|
3752
|
-
return xt[h.namespaceURI] ? h.namespaceURI === Nu ? C.namespaceURI === Te ?
|
|
3761
|
+
const R = Ju(h.tagName), X = Ju(C.tagName);
|
|
3762
|
+
return xt[h.namespaceURI] ? h.namespaceURI === Nu ? C.namespaceURI === Te ? R === "svg" : C.namespaceURI === Lu ? R === "svg" && (X === "annotation-xml" || Iu[X]) : !!En[R] : h.namespaceURI === Lu ? C.namespaceURI === Te ? R === "math" : C.namespaceURI === Nu ? R === "math" && zu[X] : !!An[R] : h.namespaceURI === Te ? C.namespaceURI === Nu && !zu[X] || C.namespaceURI === Lu && !Iu[X] ? !1 : !An[R] && (xo[R] || !En[R]) : !!(fu === "application/xhtml+xml" && xt[h.namespaceURI]) : !1;
|
|
3753
3763
|
}, we = function(h) {
|
|
3754
3764
|
hu(u.removed, {
|
|
3755
3765
|
element: h
|
|
@@ -3783,12 +3793,12 @@ function qr() {
|
|
|
3783
3793
|
} catch {
|
|
3784
3794
|
}
|
|
3785
3795
|
}, wn = function(h) {
|
|
3786
|
-
let C = null,
|
|
3796
|
+
let C = null, R = null;
|
|
3787
3797
|
if (ht)
|
|
3788
3798
|
h = "<remove></remove>" + h;
|
|
3789
3799
|
else {
|
|
3790
|
-
const
|
|
3791
|
-
|
|
3800
|
+
const J = Zn(h, /^[\r\n\t ]+/);
|
|
3801
|
+
R = J && J[0];
|
|
3792
3802
|
}
|
|
3793
3803
|
fu === "application/xhtml+xml" && uu === Te && (h = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + h + "</body></html>");
|
|
3794
3804
|
const X = m ? m.createHTML(h) : h;
|
|
@@ -3805,9 +3815,9 @@ function qr() {
|
|
|
3805
3815
|
}
|
|
3806
3816
|
}
|
|
3807
3817
|
const ne = C.body || C.documentElement;
|
|
3808
|
-
return h &&
|
|
3818
|
+
return h && R && ne.insertBefore(t.createTextNode(R), ne.childNodes[0] || null), uu === Te ? D.call(C, Ve ? "html" : "body")[0] : Ve ? C.documentElement : ne;
|
|
3809
3819
|
}, Cn = function(h) {
|
|
3810
|
-
return
|
|
3820
|
+
return A.call(
|
|
3811
3821
|
h.ownerDocument || h,
|
|
3812
3822
|
h,
|
|
3813
3823
|
// eslint-disable-next-line no-bitwise
|
|
@@ -3819,60 +3829,60 @@ function qr() {
|
|
|
3819
3829
|
}, Dn = function(h) {
|
|
3820
3830
|
return typeof i == "function" && h instanceof i;
|
|
3821
3831
|
};
|
|
3822
|
-
function Pe(
|
|
3823
|
-
ju(
|
|
3824
|
-
|
|
3832
|
+
function Pe(O, h, C) {
|
|
3833
|
+
ju(O, (R) => {
|
|
3834
|
+
R.call(u, h, C, tu);
|
|
3825
3835
|
});
|
|
3826
3836
|
}
|
|
3827
3837
|
const Fn = function(h) {
|
|
3828
3838
|
let C = null;
|
|
3829
3839
|
if (Pe(L.beforeSanitizeElements, h, null), _t(h))
|
|
3830
3840
|
return we(h), !0;
|
|
3831
|
-
const
|
|
3841
|
+
const R = K(h.nodeName);
|
|
3832
3842
|
if (Pe(L.uponSanitizeElement, h, {
|
|
3833
|
-
tagName:
|
|
3834
|
-
allowedTags:
|
|
3835
|
-
}),
|
|
3843
|
+
tagName: R,
|
|
3844
|
+
allowedTags: P
|
|
3845
|
+
}), $e && h.hasChildNodes() && !Dn(h.firstElementChild) && oe(/<[/\w!]/g, h.innerHTML) && oe(/<[/\w!]/g, h.textContent) || h.nodeType === xu.progressingInstruction || $e && h.nodeType === xu.comment && oe(/<[/\w]/g, h.data))
|
|
3836
3846
|
return we(h), !0;
|
|
3837
|
-
if (!
|
|
3838
|
-
if (!
|
|
3847
|
+
if (!P[R] || se[R]) {
|
|
3848
|
+
if (!se[R] && Tn(R) && (j.tagNameCheck instanceof RegExp && oe(j.tagNameCheck, R) || j.tagNameCheck instanceof Function && j.tagNameCheck(R)))
|
|
3839
3849
|
return !1;
|
|
3840
|
-
if (bt && !eu[
|
|
3850
|
+
if (bt && !eu[R]) {
|
|
3841
3851
|
const X = b(h) || h.parentNode, ne = p(h) || h.childNodes;
|
|
3842
3852
|
if (ne && X) {
|
|
3843
|
-
const
|
|
3844
|
-
for (let
|
|
3845
|
-
const Re = y(ne[
|
|
3853
|
+
const J = ne.length;
|
|
3854
|
+
for (let le = J - 1; le >= 0; --le) {
|
|
3855
|
+
const Re = y(ne[le], !0);
|
|
3846
3856
|
Re.__removalCount = (h.__removalCount || 0) + 1, X.insertBefore(Re, v(h));
|
|
3847
3857
|
}
|
|
3848
3858
|
}
|
|
3849
3859
|
}
|
|
3850
3860
|
return we(h), !0;
|
|
3851
3861
|
}
|
|
3852
|
-
return h instanceof c && !
|
|
3862
|
+
return h instanceof c && !yo(h) || (R === "noscript" || R === "noembed" || R === "noframes") && oe(/<\/no(script|embed|frames)/i, h.innerHTML) ? (we(h), !0) : (ze && h.nodeType === xu.text && (C = h.textContent, ju([te, ye, F], (X) => {
|
|
3853
3863
|
C = bu(C, X, " ");
|
|
3854
3864
|
}), h.textContent !== C && (hu(u.removed, {
|
|
3855
3865
|
element: h.cloneNode()
|
|
3856
3866
|
}), h.textContent = C)), Pe(L.afterSanitizeElements, h, null), !1);
|
|
3857
|
-
}, Sn = function(h, C,
|
|
3858
|
-
if (mn && (C === "id" || C === "name") && (
|
|
3867
|
+
}, Sn = function(h, C, R) {
|
|
3868
|
+
if (mn && (C === "id" || C === "name") && (R in t || R in vo))
|
|
3859
3869
|
return !1;
|
|
3860
|
-
if (!(Xe && !
|
|
3861
|
-
if (!(Ye &&
|
|
3862
|
-
if (!
|
|
3870
|
+
if (!(Xe && !Ie[C] && oe(U, C))) {
|
|
3871
|
+
if (!(Ye && oe(ce, C))) {
|
|
3872
|
+
if (!N[C] || Ie[C]) {
|
|
3863
3873
|
if (
|
|
3864
3874
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
3865
3875
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3866
3876
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
3867
|
-
!(Tn(h) && (
|
|
3877
|
+
!(Tn(h) && (j.tagNameCheck instanceof RegExp && oe(j.tagNameCheck, h) || j.tagNameCheck instanceof Function && j.tagNameCheck(h)) && (j.attributeNameCheck instanceof RegExp && oe(j.attributeNameCheck, C) || j.attributeNameCheck instanceof Function && j.attributeNameCheck(C)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
3868
3878
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3869
|
-
C === "is" &&
|
|
3879
|
+
C === "is" && j.allowCustomizedBuiltInElements && (j.tagNameCheck instanceof RegExp && oe(j.tagNameCheck, R) || j.tagNameCheck instanceof Function && j.tagNameCheck(R)))
|
|
3870
3880
|
) return !1;
|
|
3871
3881
|
} else if (!mt[C]) {
|
|
3872
|
-
if (!
|
|
3873
|
-
if (!((C === "src" || C === "xlink:href" || C === "href") && h !== "script" && da(
|
|
3874
|
-
if (!(Qe && !
|
|
3875
|
-
if (
|
|
3882
|
+
if (!oe(M, bu(R, Z, ""))) {
|
|
3883
|
+
if (!((C === "src" || C === "xlink:href" || C === "href") && h !== "script" && da(R, "data:") === 0 && kn[h])) {
|
|
3884
|
+
if (!(Qe && !oe(pe, bu(R, Z, "")))) {
|
|
3885
|
+
if (R)
|
|
3876
3886
|
return !1;
|
|
3877
3887
|
}
|
|
3878
3888
|
}
|
|
@@ -3882,7 +3892,7 @@ function qr() {
|
|
|
3882
3892
|
}
|
|
3883
3893
|
return !0;
|
|
3884
3894
|
}, Tn = function(h) {
|
|
3885
|
-
return h !== "annotation-xml" && Zn(h,
|
|
3895
|
+
return h !== "annotation-xml" && Zn(h, w);
|
|
3886
3896
|
}, Pn = function(h) {
|
|
3887
3897
|
Pe(L.beforeSanitizeAttributes, h, null);
|
|
3888
3898
|
const {
|
|
@@ -3890,44 +3900,44 @@ function qr() {
|
|
|
3890
3900
|
} = h;
|
|
3891
3901
|
if (!C || _t(h))
|
|
3892
3902
|
return;
|
|
3893
|
-
const
|
|
3903
|
+
const R = {
|
|
3894
3904
|
attrName: "",
|
|
3895
3905
|
attrValue: "",
|
|
3896
3906
|
keepAttr: !0,
|
|
3897
|
-
allowedAttributes:
|
|
3907
|
+
allowedAttributes: N,
|
|
3898
3908
|
forceKeepAttr: void 0
|
|
3899
3909
|
};
|
|
3900
3910
|
let X = C.length;
|
|
3901
3911
|
for (; X--; ) {
|
|
3902
3912
|
const ne = C[X], {
|
|
3903
|
-
name:
|
|
3904
|
-
namespaceURI:
|
|
3913
|
+
name: J,
|
|
3914
|
+
namespaceURI: le,
|
|
3905
3915
|
value: Re
|
|
3906
|
-
} = ne, du = J
|
|
3907
|
-
let re =
|
|
3908
|
-
if (
|
|
3909
|
-
nu(
|
|
3916
|
+
} = ne, du = K(J), vt = Re;
|
|
3917
|
+
let re = J === "value" ? vt : pa(vt);
|
|
3918
|
+
if (R.attrName = du, R.attrValue = re, R.keepAttr = !0, R.forceKeepAttr = void 0, Pe(L.uponSanitizeAttribute, h, R), re = R.attrValue, gn && (du === "id" || du === "name") && (nu(J, h), re = mo + re), $e && oe(/((--!?|])>)|<\/(style|title)/i, re)) {
|
|
3919
|
+
nu(J, h);
|
|
3910
3920
|
continue;
|
|
3911
3921
|
}
|
|
3912
|
-
if (
|
|
3922
|
+
if (R.forceKeepAttr)
|
|
3913
3923
|
continue;
|
|
3914
|
-
if (!
|
|
3915
|
-
nu(
|
|
3924
|
+
if (!R.keepAttr) {
|
|
3925
|
+
nu(J, h);
|
|
3916
3926
|
continue;
|
|
3917
3927
|
}
|
|
3918
|
-
if (!We &&
|
|
3919
|
-
nu(
|
|
3928
|
+
if (!We && oe(/\/>/i, re)) {
|
|
3929
|
+
nu(J, h);
|
|
3920
3930
|
continue;
|
|
3921
3931
|
}
|
|
3922
|
-
|
|
3932
|
+
ze && ju([te, ye, F], (On) => {
|
|
3923
3933
|
re = bu(re, On, " ");
|
|
3924
3934
|
});
|
|
3925
|
-
const Rn =
|
|
3935
|
+
const Rn = K(h.nodeName);
|
|
3926
3936
|
if (!Sn(Rn, du, re)) {
|
|
3927
|
-
nu(
|
|
3937
|
+
nu(J, h);
|
|
3928
3938
|
continue;
|
|
3929
3939
|
}
|
|
3930
|
-
if (m && typeof g == "object" && typeof g.getAttributeType == "function" && !
|
|
3940
|
+
if (m && typeof g == "object" && typeof g.getAttributeType == "function" && !le)
|
|
3931
3941
|
switch (g.getAttributeType(Rn, du)) {
|
|
3932
3942
|
case "TrustedHTML": {
|
|
3933
3943
|
re = m.createHTML(re);
|
|
@@ -3940,87 +3950,87 @@ function qr() {
|
|
|
3940
3950
|
}
|
|
3941
3951
|
if (re !== vt)
|
|
3942
3952
|
try {
|
|
3943
|
-
|
|
3953
|
+
le ? h.setAttributeNS(le, J, re) : h.setAttribute(J, re), _t(h) ? we(h) : Vn(u.removed);
|
|
3944
3954
|
} catch {
|
|
3945
|
-
nu(
|
|
3955
|
+
nu(J, h);
|
|
3946
3956
|
}
|
|
3947
3957
|
}
|
|
3948
3958
|
Pe(L.afterSanitizeAttributes, h, null);
|
|
3949
|
-
},
|
|
3959
|
+
}, Eo = function O(h) {
|
|
3950
3960
|
let C = null;
|
|
3951
|
-
const
|
|
3952
|
-
for (Pe(L.beforeSanitizeShadowDOM, h, null); C =
|
|
3953
|
-
Pe(L.uponSanitizeShadowNode, C, null), Fn(C), Pn(C), C.content instanceof o &&
|
|
3961
|
+
const R = Cn(h);
|
|
3962
|
+
for (Pe(L.beforeSanitizeShadowDOM, h, null); C = R.nextNode(); )
|
|
3963
|
+
Pe(L.uponSanitizeShadowNode, C, null), Fn(C), Pn(C), C.content instanceof o && O(C.content);
|
|
3954
3964
|
Pe(L.afterSanitizeShadowDOM, h, null);
|
|
3955
3965
|
};
|
|
3956
|
-
return u.sanitize = function(
|
|
3957
|
-
let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, C = null,
|
|
3958
|
-
if (gt = !
|
|
3959
|
-
if (typeof
|
|
3960
|
-
if (
|
|
3966
|
+
return u.sanitize = function(O) {
|
|
3967
|
+
let h = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, C = null, R = null, X = null, ne = null;
|
|
3968
|
+
if (gt = !O, gt && (O = "<!-->"), typeof O != "string" && !Dn(O))
|
|
3969
|
+
if (typeof O.toString == "function") {
|
|
3970
|
+
if (O = O.toString(), typeof O != "string")
|
|
3961
3971
|
throw mu("dirty is not a string, aborting");
|
|
3962
3972
|
} else
|
|
3963
3973
|
throw mu("toString is not a function");
|
|
3964
3974
|
if (!u.isSupported)
|
|
3965
|
-
return
|
|
3966
|
-
if (pt || kt(h), u.removed = [], typeof
|
|
3967
|
-
if (
|
|
3968
|
-
const Re =
|
|
3969
|
-
if (!
|
|
3975
|
+
return O;
|
|
3976
|
+
if (pt || kt(h), u.removed = [], typeof O == "string" && (lu = !1), lu) {
|
|
3977
|
+
if (O.nodeName) {
|
|
3978
|
+
const Re = K(O.nodeName);
|
|
3979
|
+
if (!P[Re] || se[Re])
|
|
3970
3980
|
throw mu("root node is forbidden and cannot be sanitized in-place");
|
|
3971
3981
|
}
|
|
3972
|
-
} else if (
|
|
3973
|
-
C = wn("<!---->"),
|
|
3982
|
+
} else if (O instanceof i)
|
|
3983
|
+
C = wn("<!---->"), R = C.ownerDocument.importNode(O, !0), R.nodeType === xu.element && R.nodeName === "BODY" || R.nodeName === "HTML" ? C = R : C.appendChild(R);
|
|
3974
3984
|
else {
|
|
3975
|
-
if (!Je && !
|
|
3976
|
-
|
|
3977
|
-
return m && Mu ? m.createHTML(
|
|
3978
|
-
if (C = wn(
|
|
3985
|
+
if (!Je && !ze && !Ve && // eslint-disable-next-line unicorn/prefer-includes
|
|
3986
|
+
O.indexOf("<") === -1)
|
|
3987
|
+
return m && Mu ? m.createHTML(O) : O;
|
|
3988
|
+
if (C = wn(O), !C)
|
|
3979
3989
|
return Je ? null : Mu ? k : "";
|
|
3980
3990
|
}
|
|
3981
3991
|
C && ht && we(C.firstChild);
|
|
3982
|
-
const
|
|
3983
|
-
for (; X =
|
|
3984
|
-
Fn(X), Pn(X), X.content instanceof o &&
|
|
3992
|
+
const J = Cn(lu ? O : C);
|
|
3993
|
+
for (; X = J.nextNode(); )
|
|
3994
|
+
Fn(X), Pn(X), X.content instanceof o && Eo(X.content);
|
|
3985
3995
|
if (lu)
|
|
3986
|
-
return
|
|
3996
|
+
return O;
|
|
3987
3997
|
if (Je) {
|
|
3988
3998
|
if (Ou)
|
|
3989
3999
|
for (ne = T.call(C.ownerDocument); C.firstChild; )
|
|
3990
4000
|
ne.appendChild(C.firstChild);
|
|
3991
4001
|
else
|
|
3992
4002
|
ne = C;
|
|
3993
|
-
return (
|
|
4003
|
+
return (N.shadowroot || N.shadowrootmode) && (ne = z.call(n, ne, !0)), ne;
|
|
3994
4004
|
}
|
|
3995
|
-
let
|
|
3996
|
-
return Ve &&
|
|
3997
|
-
` +
|
|
3998
|
-
|
|
3999
|
-
}), m && Mu ? m.createHTML(
|
|
4005
|
+
let le = Ve ? C.outerHTML : C.innerHTML;
|
|
4006
|
+
return Ve && P["!doctype"] && C.ownerDocument && C.ownerDocument.doctype && C.ownerDocument.doctype.name && oe(qr, C.ownerDocument.doctype.name) && (le = "<!DOCTYPE " + C.ownerDocument.doctype.name + `>
|
|
4007
|
+
` + le), ze && ju([te, ye, F], (Re) => {
|
|
4008
|
+
le = bu(le, Re, " ");
|
|
4009
|
+
}), m && Mu ? m.createHTML(le) : le;
|
|
4000
4010
|
}, u.setConfig = function() {
|
|
4001
|
-
let
|
|
4002
|
-
kt(
|
|
4011
|
+
let O = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
4012
|
+
kt(O), pt = !0;
|
|
4003
4013
|
}, u.clearConfig = function() {
|
|
4004
4014
|
tu = null, pt = !1;
|
|
4005
|
-
}, u.isValidAttribute = function(
|
|
4015
|
+
}, u.isValidAttribute = function(O, h, C) {
|
|
4006
4016
|
tu || kt({});
|
|
4007
|
-
const
|
|
4008
|
-
return Sn(
|
|
4009
|
-
}, u.addHook = function(
|
|
4010
|
-
typeof h == "function" && hu(L[
|
|
4011
|
-
}, u.removeHook = function(
|
|
4017
|
+
const R = K(O), X = K(h);
|
|
4018
|
+
return Sn(R, X, C);
|
|
4019
|
+
}, u.addHook = function(O, h) {
|
|
4020
|
+
typeof h == "function" && hu(L[O], h);
|
|
4021
|
+
}, u.removeHook = function(O, h) {
|
|
4012
4022
|
if (h !== void 0) {
|
|
4013
|
-
const C = la(L[
|
|
4014
|
-
return C === -1 ? void 0 : fa(L[
|
|
4023
|
+
const C = la(L[O], h);
|
|
4024
|
+
return C === -1 ? void 0 : fa(L[O], C, 1)[0];
|
|
4015
4025
|
}
|
|
4016
|
-
return Vn(L[
|
|
4017
|
-
}, u.removeHooks = function(
|
|
4018
|
-
L[
|
|
4026
|
+
return Vn(L[O]);
|
|
4027
|
+
}, u.removeHooks = function(O) {
|
|
4028
|
+
L[O] = [];
|
|
4019
4029
|
}, u.removeAllHooks = function() {
|
|
4020
4030
|
L = er();
|
|
4021
4031
|
}, u;
|
|
4022
4032
|
}
|
|
4023
|
-
var Fa =
|
|
4033
|
+
var Fa = jr();
|
|
4024
4034
|
const ur = {};
|
|
4025
4035
|
function Sa(e) {
|
|
4026
4036
|
let u = ur[e];
|
|
@@ -4205,14 +4215,14 @@ const $a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4205
4215
|
encode: Tu,
|
|
4206
4216
|
format: cn,
|
|
4207
4217
|
parse: sn
|
|
4208
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4218
|
+
}, Symbol.toStringTag, { value: "Module" })), Hr = /[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/, Gr = /[\0-\x1F\x7F-\x9F]/, Ba = /[\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]/, Wr = /[\$\+<->\^`\|~\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]/, Vr = /[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/, Ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4209
4219
|
__proto__: null,
|
|
4210
|
-
Any:
|
|
4211
|
-
Cc:
|
|
4220
|
+
Any: Hr,
|
|
4221
|
+
Cc: Gr,
|
|
4212
4222
|
Cf: Ba,
|
|
4213
4223
|
P: ln,
|
|
4214
|
-
S:
|
|
4215
|
-
Z:
|
|
4224
|
+
S: Wr,
|
|
4225
|
+
Z: Vr
|
|
4216
4226
|
}, Symbol.toStringTag, { value: "Module" })), qa = new Uint16Array(
|
|
4217
4227
|
// prettier-ignore
|
|
4218
4228
|
'ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\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))
|
|
@@ -4262,42 +4272,42 @@ function Wa(e) {
|
|
|
4262
4272
|
var u;
|
|
4263
4273
|
return e >= 55296 && e <= 57343 || e > 1114111 ? 65533 : (u = Ha.get(e)) !== null && u !== void 0 ? u : e;
|
|
4264
4274
|
}
|
|
4265
|
-
var
|
|
4275
|
+
var ue;
|
|
4266
4276
|
(function(e) {
|
|
4267
4277
|
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";
|
|
4268
|
-
})(
|
|
4278
|
+
})(ue || (ue = {}));
|
|
4269
4279
|
const Va = 32;
|
|
4270
4280
|
var qe;
|
|
4271
4281
|
(function(e) {
|
|
4272
4282
|
e[e.VALUE_LENGTH = 49152] = "VALUE_LENGTH", e[e.BRANCH_LENGTH = 16256] = "BRANCH_LENGTH", e[e.JUMP_TABLE = 127] = "JUMP_TABLE";
|
|
4273
4283
|
})(qe || (qe = {}));
|
|
4274
4284
|
function Yt(e) {
|
|
4275
|
-
return e >=
|
|
4285
|
+
return e >= ue.ZERO && e <= ue.NINE;
|
|
4276
4286
|
}
|
|
4277
4287
|
function Za(e) {
|
|
4278
|
-
return e >=
|
|
4288
|
+
return e >= ue.UPPER_A && e <= ue.UPPER_F || e >= ue.LOWER_A && e <= ue.LOWER_F;
|
|
4279
4289
|
}
|
|
4280
4290
|
function Ya(e) {
|
|
4281
|
-
return e >=
|
|
4291
|
+
return e >= ue.UPPER_A && e <= ue.UPPER_Z || e >= ue.LOWER_A && e <= ue.LOWER_Z || Yt(e);
|
|
4282
4292
|
}
|
|
4283
4293
|
function Xa(e) {
|
|
4284
|
-
return e ===
|
|
4294
|
+
return e === ue.EQUALS || Ya(e);
|
|
4285
4295
|
}
|
|
4286
|
-
var
|
|
4296
|
+
var ee;
|
|
4287
4297
|
(function(e) {
|
|
4288
4298
|
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";
|
|
4289
|
-
})(
|
|
4299
|
+
})(ee || (ee = {}));
|
|
4290
4300
|
var Ue;
|
|
4291
4301
|
(function(e) {
|
|
4292
4302
|
e[e.Legacy = 0] = "Legacy", e[e.Strict = 1] = "Strict", e[e.Attribute = 2] = "Attribute";
|
|
4293
4303
|
})(Ue || (Ue = {}));
|
|
4294
4304
|
class Qa {
|
|
4295
4305
|
constructor(u, t, n) {
|
|
4296
|
-
this.decodeTree = u, this.emitCodePoint = t, this.errors = n, this.state =
|
|
4306
|
+
this.decodeTree = u, this.emitCodePoint = t, this.errors = n, this.state = ee.EntityStart, this.consumed = 1, this.result = 0, this.treeIndex = 0, this.excess = 1, this.decodeMode = Ue.Strict;
|
|
4297
4307
|
}
|
|
4298
4308
|
/** Resets the instance to make it reusable. */
|
|
4299
4309
|
startEntity(u) {
|
|
4300
|
-
this.decodeMode = u, this.state =
|
|
4310
|
+
this.decodeMode = u, this.state = ee.EntityStart, this.result = 0, this.treeIndex = 0, this.excess = 1, this.consumed = 1;
|
|
4301
4311
|
}
|
|
4302
4312
|
/**
|
|
4303
4313
|
* Write an entity to the decoder. This can be called multiple times with partial entities.
|
|
@@ -4312,15 +4322,15 @@ class Qa {
|
|
|
4312
4322
|
*/
|
|
4313
4323
|
write(u, t) {
|
|
4314
4324
|
switch (this.state) {
|
|
4315
|
-
case
|
|
4316
|
-
return u.charCodeAt(t) ===
|
|
4317
|
-
case
|
|
4325
|
+
case ee.EntityStart:
|
|
4326
|
+
return u.charCodeAt(t) === ue.NUM ? (this.state = ee.NumericStart, this.consumed += 1, this.stateNumericStart(u, t + 1)) : (this.state = ee.NamedEntity, this.stateNamedEntity(u, t));
|
|
4327
|
+
case ee.NumericStart:
|
|
4318
4328
|
return this.stateNumericStart(u, t);
|
|
4319
|
-
case
|
|
4329
|
+
case ee.NumericDecimal:
|
|
4320
4330
|
return this.stateNumericDecimal(u, t);
|
|
4321
|
-
case
|
|
4331
|
+
case ee.NumericHex:
|
|
4322
4332
|
return this.stateNumericHex(u, t);
|
|
4323
|
-
case
|
|
4333
|
+
case ee.NamedEntity:
|
|
4324
4334
|
return this.stateNamedEntity(u, t);
|
|
4325
4335
|
}
|
|
4326
4336
|
}
|
|
@@ -4334,7 +4344,7 @@ class Qa {
|
|
|
4334
4344
|
* @returns The number of characters that were consumed, or -1 if the entity is incomplete.
|
|
4335
4345
|
*/
|
|
4336
4346
|
stateNumericStart(u, t) {
|
|
4337
|
-
return t >= u.length ? -1 : (u.charCodeAt(t) | Va) ===
|
|
4347
|
+
return t >= u.length ? -1 : (u.charCodeAt(t) | Va) === ue.LOWER_X ? (this.state = ee.NumericHex, this.consumed += 1, this.stateNumericHex(u, t + 1)) : (this.state = ee.NumericDecimal, this.stateNumericDecimal(u, t));
|
|
4338
4348
|
}
|
|
4339
4349
|
addToNumericResult(u, t, n, r) {
|
|
4340
4350
|
if (t !== n) {
|
|
@@ -4399,11 +4409,11 @@ class Qa {
|
|
|
4399
4409
|
var n;
|
|
4400
4410
|
if (this.consumed <= t)
|
|
4401
4411
|
return (n = this.errors) === null || n === void 0 || n.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
4402
|
-
if (u ===
|
|
4412
|
+
if (u === ue.SEMI)
|
|
4403
4413
|
this.consumed += 1;
|
|
4404
4414
|
else if (this.decodeMode === Ue.Strict)
|
|
4405
4415
|
return 0;
|
|
4406
|
-
return this.emitCodePoint(Wa(this.result), this.consumed), this.errors && (u !==
|
|
4416
|
+
return this.emitCodePoint(Wa(this.result), this.consumed), this.errors && (u !== ue.SEMI && this.errors.missingSemicolonAfterCharacterReference(), this.errors.validateNumericCharacterReference(this.result)), this.consumed;
|
|
4407
4417
|
}
|
|
4408
4418
|
/**
|
|
4409
4419
|
* Parses a named entity.
|
|
@@ -4425,7 +4435,7 @@ class Qa {
|
|
|
4425
4435
|
(o === 0 || // And there should be no invalid characters.
|
|
4426
4436
|
Xa(a)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
4427
4437
|
if (r = n[this.treeIndex], o = (r & qe.VALUE_LENGTH) >> 14, o !== 0) {
|
|
4428
|
-
if (a ===
|
|
4438
|
+
if (a === ue.SEMI)
|
|
4429
4439
|
return this.emitNamedEntityData(this.treeIndex, o, this.consumed + this.excess);
|
|
4430
4440
|
this.decodeMode !== Ue.Strict && (this.result = this.treeIndex, this.consumed += this.excess, this.excess = 0);
|
|
4431
4441
|
}
|
|
@@ -4465,21 +4475,21 @@ class Qa {
|
|
|
4465
4475
|
end() {
|
|
4466
4476
|
var u;
|
|
4467
4477
|
switch (this.state) {
|
|
4468
|
-
case
|
|
4478
|
+
case ee.NamedEntity:
|
|
4469
4479
|
return this.result !== 0 && (this.decodeMode !== Ue.Attribute || this.result === this.treeIndex) ? this.emitNotTerminatedNamedEntity() : 0;
|
|
4470
4480
|
// Otherwise, emit a numeric entity if we have one.
|
|
4471
|
-
case
|
|
4481
|
+
case ee.NumericDecimal:
|
|
4472
4482
|
return this.emitNumericEntity(0, 2);
|
|
4473
|
-
case
|
|
4483
|
+
case ee.NumericHex:
|
|
4474
4484
|
return this.emitNumericEntity(0, 3);
|
|
4475
|
-
case
|
|
4485
|
+
case ee.NumericStart:
|
|
4476
4486
|
return (u = this.errors) === null || u === void 0 || u.absenceOfDigitsInNumericCharacterReference(this.consumed), 0;
|
|
4477
|
-
case
|
|
4487
|
+
case ee.EntityStart:
|
|
4478
4488
|
return 0;
|
|
4479
4489
|
}
|
|
4480
4490
|
}
|
|
4481
4491
|
}
|
|
4482
|
-
function
|
|
4492
|
+
function Zr(e) {
|
|
4483
4493
|
let u = "";
|
|
4484
4494
|
const t = new Qa(e, (n) => u += Ga(n));
|
|
4485
4495
|
return function(r, o) {
|
|
@@ -4521,9 +4531,9 @@ function Ja(e, u, t, n) {
|
|
|
4521
4531
|
}
|
|
4522
4532
|
return -1;
|
|
4523
4533
|
}
|
|
4524
|
-
const Ka =
|
|
4525
|
-
|
|
4526
|
-
function
|
|
4534
|
+
const Ka = Zr(qa);
|
|
4535
|
+
Zr(ja);
|
|
4536
|
+
function Yr(e, u = Ue.Legacy) {
|
|
4527
4537
|
return Ka(e, u);
|
|
4528
4538
|
}
|
|
4529
4539
|
function ec(e) {
|
|
@@ -4547,7 +4557,7 @@ function st(e) {
|
|
|
4547
4557
|
}
|
|
4548
4558
|
}), e;
|
|
4549
4559
|
}
|
|
4550
|
-
function
|
|
4560
|
+
function Xr(e, u, t) {
|
|
4551
4561
|
return [].concat(e.slice(0, u), t, e.slice(u + 1));
|
|
4552
4562
|
}
|
|
4553
4563
|
function dn(e) {
|
|
@@ -4561,17 +4571,17 @@ function rt(e) {
|
|
|
4561
4571
|
}
|
|
4562
4572
|
return String.fromCharCode(e);
|
|
4563
4573
|
}
|
|
4564
|
-
const
|
|
4574
|
+
const Qr = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g, nc = /&([a-z#][a-z0-9]{1,31});/gi, rc = new RegExp(Qr.source + "|" + nc.source, "gi"), oc = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
4565
4575
|
function ic(e, u) {
|
|
4566
4576
|
if (u.charCodeAt(0) === 35 && oc.test(u)) {
|
|
4567
4577
|
const n = u[1].toLowerCase() === "x" ? parseInt(u.slice(2), 16) : parseInt(u.slice(1), 10);
|
|
4568
4578
|
return dn(n) ? rt(n) : e;
|
|
4569
4579
|
}
|
|
4570
|
-
const t =
|
|
4580
|
+
const t = Yr(e);
|
|
4571
4581
|
return t !== e ? t : e;
|
|
4572
4582
|
}
|
|
4573
4583
|
function ac(e) {
|
|
4574
|
-
return e.indexOf("\\") < 0 ? e : e.replace(
|
|
4584
|
+
return e.indexOf("\\") < 0 ? e : e.replace(Qr, "$1");
|
|
4575
4585
|
}
|
|
4576
4586
|
function cu(e) {
|
|
4577
4587
|
return e.indexOf("\\") < 0 && e.indexOf("&") < 0 ? e : e.replace(rc, function(u, t, n) {
|
|
@@ -4594,7 +4604,7 @@ const dc = /[.?*+^$[\]\\(){}|-]/g;
|
|
|
4594
4604
|
function pc(e) {
|
|
4595
4605
|
return e.replace(dc, "\\$&");
|
|
4596
4606
|
}
|
|
4597
|
-
function
|
|
4607
|
+
function W(e) {
|
|
4598
4608
|
switch (e) {
|
|
4599
4609
|
case 9:
|
|
4600
4610
|
case 32:
|
|
@@ -4627,7 +4637,7 @@ function Au(e) {
|
|
|
4627
4637
|
return !1;
|
|
4628
4638
|
}
|
|
4629
4639
|
function wu(e) {
|
|
4630
|
-
return ln.test(e) ||
|
|
4640
|
+
return ln.test(e) || Wr.test(e);
|
|
4631
4641
|
}
|
|
4632
4642
|
function Cu(e) {
|
|
4633
4643
|
switch (e) {
|
|
@@ -4673,7 +4683,7 @@ function lt(e) {
|
|
|
4673
4683
|
}
|
|
4674
4684
|
const hc = { mdurl: $a, ucmicro: Ua }, bc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4675
4685
|
__proto__: null,
|
|
4676
|
-
arrayReplaceAt:
|
|
4686
|
+
arrayReplaceAt: Xr,
|
|
4677
4687
|
assign: st,
|
|
4678
4688
|
escapeHtml: Ge,
|
|
4679
4689
|
escapeRE: pc,
|
|
@@ -4681,7 +4691,7 @@ const hc = { mdurl: $a, ucmicro: Ua }, bc = /* @__PURE__ */ Object.freeze(/* @__
|
|
|
4681
4691
|
has: tc,
|
|
4682
4692
|
isMdAsciiPunct: Cu,
|
|
4683
4693
|
isPunctChar: wu,
|
|
4684
|
-
isSpace:
|
|
4694
|
+
isSpace: W,
|
|
4685
4695
|
isString: fn,
|
|
4686
4696
|
isValidEntityCode: dn,
|
|
4687
4697
|
isWhiteSpace: Au,
|
|
@@ -4909,16 +4919,16 @@ su.prototype.render = function(e, u, t) {
|
|
|
4909
4919
|
}
|
|
4910
4920
|
return n;
|
|
4911
4921
|
};
|
|
4912
|
-
function
|
|
4922
|
+
function de() {
|
|
4913
4923
|
this.__rules__ = [], this.__cache__ = null;
|
|
4914
4924
|
}
|
|
4915
|
-
|
|
4925
|
+
de.prototype.__find__ = function(e) {
|
|
4916
4926
|
for (let u = 0; u < this.__rules__.length; u++)
|
|
4917
4927
|
if (this.__rules__[u].name === e)
|
|
4918
4928
|
return u;
|
|
4919
4929
|
return -1;
|
|
4920
4930
|
};
|
|
4921
|
-
|
|
4931
|
+
de.prototype.__compile__ = function() {
|
|
4922
4932
|
const e = this, u = [""];
|
|
4923
4933
|
e.__rules__.forEach(function(t) {
|
|
4924
4934
|
t.enabled && t.alt.forEach(function(n) {
|
|
@@ -4930,13 +4940,13 @@ fe.prototype.__compile__ = function() {
|
|
|
4930
4940
|
});
|
|
4931
4941
|
});
|
|
4932
4942
|
};
|
|
4933
|
-
|
|
4943
|
+
de.prototype.at = function(e, u, t) {
|
|
4934
4944
|
const n = this.__find__(e), r = t || {};
|
|
4935
4945
|
if (n === -1)
|
|
4936
4946
|
throw new Error("Parser rule not found: " + e);
|
|
4937
4947
|
this.__rules__[n].fn = u, this.__rules__[n].alt = r.alt || [], this.__cache__ = null;
|
|
4938
4948
|
};
|
|
4939
|
-
|
|
4949
|
+
de.prototype.before = function(e, u, t, n) {
|
|
4940
4950
|
const r = this.__find__(e), o = n || {};
|
|
4941
4951
|
if (r === -1)
|
|
4942
4952
|
throw new Error("Parser rule not found: " + e);
|
|
@@ -4947,7 +4957,7 @@ fe.prototype.before = function(e, u, t, n) {
|
|
|
4947
4957
|
alt: o.alt || []
|
|
4948
4958
|
}), this.__cache__ = null;
|
|
4949
4959
|
};
|
|
4950
|
-
|
|
4960
|
+
de.prototype.after = function(e, u, t, n) {
|
|
4951
4961
|
const r = this.__find__(e), o = n || {};
|
|
4952
4962
|
if (r === -1)
|
|
4953
4963
|
throw new Error("Parser rule not found: " + e);
|
|
@@ -4958,7 +4968,7 @@ fe.prototype.after = function(e, u, t, n) {
|
|
|
4958
4968
|
alt: o.alt || []
|
|
4959
4969
|
}), this.__cache__ = null;
|
|
4960
4970
|
};
|
|
4961
|
-
|
|
4971
|
+
de.prototype.push = function(e, u, t) {
|
|
4962
4972
|
const n = t || {};
|
|
4963
4973
|
this.__rules__.push({
|
|
4964
4974
|
name: e,
|
|
@@ -4967,7 +4977,7 @@ fe.prototype.push = function(e, u, t) {
|
|
|
4967
4977
|
alt: n.alt || []
|
|
4968
4978
|
}), this.__cache__ = null;
|
|
4969
4979
|
};
|
|
4970
|
-
|
|
4980
|
+
de.prototype.enable = function(e, u) {
|
|
4971
4981
|
Array.isArray(e) || (e = [e]);
|
|
4972
4982
|
const t = [];
|
|
4973
4983
|
return e.forEach(function(n) {
|
|
@@ -4980,12 +4990,12 @@ fe.prototype.enable = function(e, u) {
|
|
|
4980
4990
|
this.__rules__[r].enabled = !0, t.push(n);
|
|
4981
4991
|
}, this), this.__cache__ = null, t;
|
|
4982
4992
|
};
|
|
4983
|
-
|
|
4993
|
+
de.prototype.enableOnly = function(e, u) {
|
|
4984
4994
|
Array.isArray(e) || (e = [e]), this.__rules__.forEach(function(t) {
|
|
4985
4995
|
t.enabled = !1;
|
|
4986
4996
|
}), this.enable(e, u);
|
|
4987
4997
|
};
|
|
4988
|
-
|
|
4998
|
+
de.prototype.disable = function(e, u) {
|
|
4989
4999
|
Array.isArray(e) || (e = [e]);
|
|
4990
5000
|
const t = [];
|
|
4991
5001
|
return e.forEach(function(n) {
|
|
@@ -4998,13 +5008,13 @@ fe.prototype.disable = function(e, u) {
|
|
|
4998
5008
|
this.__rules__[r].enabled = !1, t.push(n);
|
|
4999
5009
|
}, this), this.__cache__ = null, t;
|
|
5000
5010
|
};
|
|
5001
|
-
|
|
5011
|
+
de.prototype.getRules = function(e) {
|
|
5002
5012
|
return this.__cache__ === null && this.__compile__(), this.__cache__[e] || [];
|
|
5003
5013
|
};
|
|
5004
|
-
function
|
|
5014
|
+
function Ae(e, u, t) {
|
|
5005
5015
|
this.type = e, this.tag = u, this.attrs = null, this.map = null, this.nesting = t, this.level = 0, this.children = null, this.content = "", this.markup = "", this.info = "", this.meta = null, this.block = !1, this.hidden = !1;
|
|
5006
5016
|
}
|
|
5007
|
-
|
|
5017
|
+
Ae.prototype.attrIndex = function(u) {
|
|
5008
5018
|
if (!this.attrs)
|
|
5009
5019
|
return -1;
|
|
5010
5020
|
const t = this.attrs;
|
|
@@ -5013,26 +5023,26 @@ Ee.prototype.attrIndex = function(u) {
|
|
|
5013
5023
|
return n;
|
|
5014
5024
|
return -1;
|
|
5015
5025
|
};
|
|
5016
|
-
|
|
5026
|
+
Ae.prototype.attrPush = function(u) {
|
|
5017
5027
|
this.attrs ? this.attrs.push(u) : this.attrs = [u];
|
|
5018
5028
|
};
|
|
5019
|
-
|
|
5029
|
+
Ae.prototype.attrSet = function(u, t) {
|
|
5020
5030
|
const n = this.attrIndex(u), r = [u, t];
|
|
5021
5031
|
n < 0 ? this.attrPush(r) : this.attrs[n] = r;
|
|
5022
5032
|
};
|
|
5023
|
-
|
|
5033
|
+
Ae.prototype.attrGet = function(u) {
|
|
5024
5034
|
const t = this.attrIndex(u);
|
|
5025
5035
|
let n = null;
|
|
5026
5036
|
return t >= 0 && (n = this.attrs[t][1]), n;
|
|
5027
5037
|
};
|
|
5028
|
-
|
|
5038
|
+
Ae.prototype.attrJoin = function(u, t) {
|
|
5029
5039
|
const n = this.attrIndex(u);
|
|
5030
5040
|
n < 0 ? this.attrPush([u, t]) : this.attrs[n][1] = this.attrs[n][1] + " " + t;
|
|
5031
5041
|
};
|
|
5032
|
-
function
|
|
5042
|
+
function Jr(e, u, t) {
|
|
5033
5043
|
this.src = e, this.env = t, this.tokens = [], this.inlineMode = !1, this.md = u;
|
|
5034
5044
|
}
|
|
5035
|
-
|
|
5045
|
+
Jr.prototype.Token = Ae;
|
|
5036
5046
|
const _c = /\r\n?|\n/g, vc = /\0/g;
|
|
5037
5047
|
function yc(e) {
|
|
5038
5048
|
let u;
|
|
@@ -5098,12 +5108,12 @@ function Dc(e) {
|
|
|
5098
5108
|
const g = new e.Token("text", "", 0);
|
|
5099
5109
|
g.content = c.slice(_), g.level = f, l.push(g);
|
|
5100
5110
|
}
|
|
5101
|
-
u[t].children = r =
|
|
5111
|
+
u[t].children = r = Xr(r, a, l);
|
|
5102
5112
|
}
|
|
5103
5113
|
}
|
|
5104
5114
|
}
|
|
5105
5115
|
}
|
|
5106
|
-
const
|
|
5116
|
+
const Kr = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/, Fc = /\((c|tm|r)\)/i, Sc = /\((c|tm|r)\)/ig, Tc = {
|
|
5107
5117
|
c: "©",
|
|
5108
5118
|
r: "®",
|
|
5109
5119
|
tm: "™"
|
|
@@ -5122,14 +5132,14 @@ function Oc(e) {
|
|
|
5122
5132
|
let u = 0;
|
|
5123
5133
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
5124
5134
|
const n = e[t];
|
|
5125
|
-
n.type === "text" && !u &&
|
|
5135
|
+
n.type === "text" && !u && Kr.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++;
|
|
5126
5136
|
}
|
|
5127
5137
|
}
|
|
5128
5138
|
function Mc(e) {
|
|
5129
5139
|
let u;
|
|
5130
5140
|
if (e.md.options.typographer)
|
|
5131
5141
|
for (u = e.tokens.length - 1; u >= 0; u--)
|
|
5132
|
-
e.tokens[u].type === "inline" && (Fc.test(e.tokens[u].content) && Rc(e.tokens[u].children),
|
|
5142
|
+
e.tokens[u].type === "inline" && (Fc.test(e.tokens[u].content) && Rc(e.tokens[u].children), Kr.test(e.tokens[u].content) && Oc(e.tokens[u].children));
|
|
5133
5143
|
}
|
|
5134
5144
|
const Lc = /['"]/, cr = /['"]/g, sr = "’";
|
|
5135
5145
|
function Gu(e, u, t) {
|
|
@@ -5232,7 +5242,7 @@ const Rt = [
|
|
|
5232
5242
|
["text_join", zc]
|
|
5233
5243
|
];
|
|
5234
5244
|
function pn() {
|
|
5235
|
-
this.ruler = new
|
|
5245
|
+
this.ruler = new de();
|
|
5236
5246
|
for (let e = 0; e < Rt.length; e++)
|
|
5237
5247
|
this.ruler.push(Rt[e][0], Rt[e][1]);
|
|
5238
5248
|
}
|
|
@@ -5241,14 +5251,14 @@ pn.prototype.process = function(e) {
|
|
|
5241
5251
|
for (let t = 0, n = u.length; t < n; t++)
|
|
5242
5252
|
u[t](e);
|
|
5243
5253
|
};
|
|
5244
|
-
pn.prototype.State =
|
|
5254
|
+
pn.prototype.State = Jr;
|
|
5245
5255
|
function Se(e, u, t, n) {
|
|
5246
5256
|
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;
|
|
5247
5257
|
const r = this.src;
|
|
5248
5258
|
for (let o = 0, a = 0, i = 0, c = 0, s = r.length, l = !1; a < s; a++) {
|
|
5249
5259
|
const f = r.charCodeAt(a);
|
|
5250
5260
|
if (!l)
|
|
5251
|
-
if (
|
|
5261
|
+
if (W(f)) {
|
|
5252
5262
|
i++, f === 9 ? c += 4 - c % 4 : c++;
|
|
5253
5263
|
continue;
|
|
5254
5264
|
} else
|
|
@@ -5258,7 +5268,7 @@ function Se(e, u, t, n) {
|
|
|
5258
5268
|
this.bMarks.push(r.length), this.eMarks.push(r.length), this.tShift.push(0), this.sCount.push(0), this.bsCount.push(0), this.lineMax = this.bMarks.length - 1;
|
|
5259
5269
|
}
|
|
5260
5270
|
Se.prototype.push = function(e, u, t) {
|
|
5261
|
-
const n = new
|
|
5271
|
+
const n = new Ae(e, u, t);
|
|
5262
5272
|
return n.block = !0, t < 0 && this.level--, n.level = this.level, t > 0 && this.level++, this.tokens.push(n), n;
|
|
5263
5273
|
};
|
|
5264
5274
|
Se.prototype.isEmpty = function(u) {
|
|
@@ -5272,7 +5282,7 @@ Se.prototype.skipEmptyLines = function(u) {
|
|
|
5272
5282
|
Se.prototype.skipSpaces = function(u) {
|
|
5273
5283
|
for (let t = this.src.length; u < t; u++) {
|
|
5274
5284
|
const n = this.src.charCodeAt(u);
|
|
5275
|
-
if (!
|
|
5285
|
+
if (!W(n))
|
|
5276
5286
|
break;
|
|
5277
5287
|
}
|
|
5278
5288
|
return u;
|
|
@@ -5281,7 +5291,7 @@ Se.prototype.skipSpacesBack = function(u, t) {
|
|
|
5281
5291
|
if (u <= t)
|
|
5282
5292
|
return u;
|
|
5283
5293
|
for (; u > t; )
|
|
5284
|
-
if (!
|
|
5294
|
+
if (!W(this.src.charCodeAt(--u)))
|
|
5285
5295
|
return u + 1;
|
|
5286
5296
|
return u;
|
|
5287
5297
|
};
|
|
@@ -5308,7 +5318,7 @@ Se.prototype.getLines = function(u, t, n, r) {
|
|
|
5308
5318
|
let l = s, f;
|
|
5309
5319
|
for (i + 1 < t || r ? f = this.eMarks[i] + 1 : f = this.eMarks[i]; l < f && c < n; ) {
|
|
5310
5320
|
const _ = this.src.charCodeAt(l);
|
|
5311
|
-
if (
|
|
5321
|
+
if (W(_))
|
|
5312
5322
|
_ === 9 ? c += 4 - (c + this.bsCount[i]) % 4 : c++;
|
|
5313
5323
|
else if (l - s < this.tShift[i])
|
|
5314
5324
|
c++;
|
|
@@ -5320,7 +5330,7 @@ Se.prototype.getLines = function(u, t, n, r) {
|
|
|
5320
5330
|
}
|
|
5321
5331
|
return o.join("");
|
|
5322
5332
|
};
|
|
5323
|
-
Se.prototype.Token =
|
|
5333
|
+
Se.prototype.Token = Ae;
|
|
5324
5334
|
const $c = 65536;
|
|
5325
5335
|
function Ot(e, u) {
|
|
5326
5336
|
const t = e.bMarks[u] + e.tShift[u], n = e.eMarks[u];
|
|
@@ -5346,11 +5356,11 @@ function Bc(e, u, t, n) {
|
|
|
5346
5356
|
if (a !== 124 && a !== 45 && a !== 58 || o >= e.eMarks[r])
|
|
5347
5357
|
return !1;
|
|
5348
5358
|
const i = e.src.charCodeAt(o++);
|
|
5349
|
-
if (i !== 124 && i !== 45 && i !== 58 && !
|
|
5359
|
+
if (i !== 124 && i !== 45 && i !== 58 && !W(i) || a === 45 && W(i))
|
|
5350
5360
|
return !1;
|
|
5351
5361
|
for (; o < e.eMarks[r]; ) {
|
|
5352
5362
|
const m = e.src.charCodeAt(o);
|
|
5353
|
-
if (m !== 124 && m !== 45 && m !== 58 && !
|
|
5363
|
+
if (m !== 124 && m !== 45 && m !== 58 && !W(m))
|
|
5354
5364
|
return !1;
|
|
5355
5365
|
o++;
|
|
5356
5366
|
}
|
|
@@ -5393,7 +5403,7 @@ function Bc(e, u, t, n) {
|
|
|
5393
5403
|
let p, b = 0;
|
|
5394
5404
|
for (r = u + 2; r < t && !(e.sCount[r] < e.blkIndent); r++) {
|
|
5395
5405
|
let m = !1;
|
|
5396
|
-
for (let x = 0,
|
|
5406
|
+
for (let x = 0, A = g.length; x < A; x++)
|
|
5397
5407
|
if (g[x](e, r, t, !0)) {
|
|
5398
5408
|
m = !0;
|
|
5399
5409
|
break;
|
|
@@ -5407,8 +5417,8 @@ function Bc(e, u, t, n) {
|
|
|
5407
5417
|
const k = e.push("tr_open", "tr", 1);
|
|
5408
5418
|
k.map = [r, r + 1];
|
|
5409
5419
|
for (let x = 0; x < f; x++) {
|
|
5410
|
-
const
|
|
5411
|
-
l[x] && (
|
|
5420
|
+
const A = e.push("td_open", "td", 1);
|
|
5421
|
+
l[x] && (A.attrs = [["style", "text-align:" + l[x]]]);
|
|
5412
5422
|
const T = e.push("inline", "", 0);
|
|
5413
5423
|
T.content = s[x] ? s[x].trim() : "", T.children = [], e.push("td_close", "td", -1);
|
|
5414
5424
|
}
|
|
@@ -5478,13 +5488,13 @@ function jc(e, u, t, n) {
|
|
|
5478
5488
|
if (r = e.bMarks[d] + e.tShift[d], o = e.eMarks[d], r >= o)
|
|
5479
5489
|
break;
|
|
5480
5490
|
if (e.src.charCodeAt(r++) === 62 && !b) {
|
|
5481
|
-
let k = e.sCount[d] + 1, x,
|
|
5482
|
-
e.src.charCodeAt(r) === 32 ? (r++, k++,
|
|
5491
|
+
let k = e.sCount[d] + 1, x, A;
|
|
5492
|
+
e.src.charCodeAt(r) === 32 ? (r++, k++, A = !1, x = !0) : e.src.charCodeAt(r) === 9 ? (x = !0, (e.bsCount[d] + k) % 4 === 3 ? (r++, k++, A = !1) : A = !0) : x = !1;
|
|
5483
5493
|
let T = k;
|
|
5484
5494
|
for (i.push(e.bMarks[d]), e.bMarks[d] = r; r < o; ) {
|
|
5485
5495
|
const D = e.src.charCodeAt(r);
|
|
5486
|
-
if (
|
|
5487
|
-
D === 9 ? T += 4 - (T + e.bsCount[d] + (
|
|
5496
|
+
if (W(D))
|
|
5497
|
+
D === 9 ? T += 4 - (T + e.bsCount[d] + (A ? 1 : 0)) % 4 : T++;
|
|
5488
5498
|
else
|
|
5489
5499
|
break;
|
|
5490
5500
|
r++;
|
|
@@ -5529,7 +5539,7 @@ function Hc(e, u, t, n) {
|
|
|
5529
5539
|
let i = 1;
|
|
5530
5540
|
for (; o < r; ) {
|
|
5531
5541
|
const s = e.src.charCodeAt(o++);
|
|
5532
|
-
if (s !== a && !
|
|
5542
|
+
if (s !== a && !W(s))
|
|
5533
5543
|
return !1;
|
|
5534
5544
|
s === a && i++;
|
|
5535
5545
|
}
|
|
@@ -5549,7 +5559,7 @@ function fr(e, u) {
|
|
|
5549
5559
|
return -1;
|
|
5550
5560
|
if (n < t) {
|
|
5551
5561
|
const o = e.src.charCodeAt(n);
|
|
5552
|
-
if (!
|
|
5562
|
+
if (!W(o))
|
|
5553
5563
|
return -1;
|
|
5554
5564
|
}
|
|
5555
5565
|
return n;
|
|
@@ -5574,7 +5584,7 @@ function dr(e, u) {
|
|
|
5574
5584
|
break;
|
|
5575
5585
|
return -1;
|
|
5576
5586
|
}
|
|
5577
|
-
return r < n && (o = e.src.charCodeAt(r), !
|
|
5587
|
+
return r < n && (o = e.src.charCodeAt(r), !W(o)) ? -1 : r;
|
|
5578
5588
|
}
|
|
5579
5589
|
function Gc(e, u) {
|
|
5580
5590
|
const t = e.level + 2;
|
|
@@ -5619,17 +5629,17 @@ function Wc(e, u, t, n) {
|
|
|
5619
5629
|
o++;
|
|
5620
5630
|
}
|
|
5621
5631
|
const x = o;
|
|
5622
|
-
let
|
|
5623
|
-
x >= r ?
|
|
5624
|
-
const T = m +
|
|
5632
|
+
let A;
|
|
5633
|
+
x >= r ? A = 1 : A = k - m, A > 4 && (A = 1);
|
|
5634
|
+
const T = m + A;
|
|
5625
5635
|
i = e.push("list_item_open", "li", 1), i.markup = String.fromCharCode(d);
|
|
5626
5636
|
const D = [c, 0];
|
|
5627
5637
|
i.map = D, f && (i.info = e.src.slice(a, g - 1));
|
|
5628
|
-
const
|
|
5629
|
-
if (e.listIndent = e.blkIndent, e.blkIndent = T, e.tight = !0, e.tShift[c] = x - e.bMarks[c], e.sCount[c] = k, x >= r && e.isEmpty(c + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, c, t, !0), (!e.tight || v) && (s = !1), v = e.line - c > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent =
|
|
5638
|
+
const z = e.tight, L = e.tShift[c], te = e.sCount[c], ye = e.listIndent;
|
|
5639
|
+
if (e.listIndent = e.blkIndent, e.blkIndent = T, e.tight = !0, e.tShift[c] = x - e.bMarks[c], e.sCount[c] = k, x >= r && e.isEmpty(c + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, c, t, !0), (!e.tight || v) && (s = !1), v = e.line - c > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = ye, e.tShift[c] = L, e.sCount[c] = te, e.tight = z, i = e.push("list_item_close", "li", -1), i.markup = String.fromCharCode(d), c = e.line, D[1] = c, c >= t || e.sCount[c] < e.blkIndent || e.sCount[c] - e.blkIndent >= 4)
|
|
5630
5640
|
break;
|
|
5631
5641
|
let F = !1;
|
|
5632
|
-
for (let U = 0,
|
|
5642
|
+
for (let U = 0, ce = p.length; U < ce; U++)
|
|
5633
5643
|
if (p[U](e, c, t, !0)) {
|
|
5634
5644
|
F = !0;
|
|
5635
5645
|
break;
|
|
@@ -5657,11 +5667,11 @@ function Vc(e, u, t, n) {
|
|
|
5657
5667
|
return null;
|
|
5658
5668
|
let m = !1;
|
|
5659
5669
|
if (e.sCount[p] - e.blkIndent > 3 && (m = !0), e.sCount[p] < 0 && (m = !0), !m) {
|
|
5660
|
-
const
|
|
5670
|
+
const A = e.md.block.ruler.getRules("reference"), T = e.parentType;
|
|
5661
5671
|
e.parentType = "reference";
|
|
5662
5672
|
let D = !1;
|
|
5663
|
-
for (let
|
|
5664
|
-
if (
|
|
5673
|
+
for (let z = 0, L = A.length; z < L; z++)
|
|
5674
|
+
if (A[z](e, p, b, !0)) {
|
|
5665
5675
|
D = !0;
|
|
5666
5676
|
break;
|
|
5667
5677
|
}
|
|
@@ -5696,7 +5706,7 @@ function Vc(e, u, t, n) {
|
|
|
5696
5706
|
if (p === 10) {
|
|
5697
5707
|
const b = i(a);
|
|
5698
5708
|
b !== null && (c += b, o = c.length, a++);
|
|
5699
|
-
} else if (!
|
|
5709
|
+
} else if (!W(p)) break;
|
|
5700
5710
|
}
|
|
5701
5711
|
const l = e.md.helpers.parseLinkDestination(c, r, o);
|
|
5702
5712
|
if (!l.ok)
|
|
@@ -5711,7 +5721,7 @@ function Vc(e, u, t, n) {
|
|
|
5711
5721
|
if (p === 10) {
|
|
5712
5722
|
const b = i(a);
|
|
5713
5723
|
b !== null && (c += b, o = c.length, a++);
|
|
5714
|
-
} else if (!
|
|
5724
|
+
} else if (!W(p)) break;
|
|
5715
5725
|
}
|
|
5716
5726
|
let y = e.md.helpers.parseLinkTitle(c, r, o);
|
|
5717
5727
|
for (; y.can_continue; ) {
|
|
@@ -5722,14 +5732,14 @@ function Vc(e, u, t, n) {
|
|
|
5722
5732
|
let E;
|
|
5723
5733
|
for (r < o && d !== r && y.ok ? (E = y.str, r = y.pos) : (E = "", r = _, a = g); r < o; ) {
|
|
5724
5734
|
const p = c.charCodeAt(r);
|
|
5725
|
-
if (!
|
|
5735
|
+
if (!W(p))
|
|
5726
5736
|
break;
|
|
5727
5737
|
r++;
|
|
5728
5738
|
}
|
|
5729
5739
|
if (r < o && c.charCodeAt(r) !== 10 && E)
|
|
5730
5740
|
for (E = "", r = _, a = g; r < o; ) {
|
|
5731
5741
|
const p = c.charCodeAt(r);
|
|
5732
|
-
if (!
|
|
5742
|
+
if (!W(p))
|
|
5733
5743
|
break;
|
|
5734
5744
|
r++;
|
|
5735
5745
|
}
|
|
@@ -5801,7 +5811,7 @@ const Zc = [
|
|
|
5801
5811
|
"tr",
|
|
5802
5812
|
"track",
|
|
5803
5813
|
"ul"
|
|
5804
|
-
], Yc = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Xc = "[^\"'=<>`\\x00-\\x20]+", Qc = "'[^']*'", Jc = '"[^"]*"', Kc = "(?:" + Xc + "|" + Qc + "|" + Jc + ")", es = "(?:\\s+" + Yc + "(?:\\s*=\\s*" + Kc + ")?)",
|
|
5814
|
+
], Yc = "[a-zA-Z_:][a-zA-Z0-9:._-]*", Xc = "[^\"'=<>`\\x00-\\x20]+", Qc = "'[^']*'", Jc = '"[^"]*"', Kc = "(?:" + Xc + "|" + Qc + "|" + Jc + ")", es = "(?:\\s+" + Yc + "(?:\\s*=\\s*" + Kc + ")?)", eo = "<[A-Za-z][A-Za-z0-9\\-]*" + es + "*\\s*\\/?>", uo = "<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>", us = "<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->", ts = "<[?][\\s\\S]*?[?]>", ns = "<![A-Za-z][^>]*>", rs = "<!\\[CDATA\\[[\\s\\S]*?\\]\\]>", os = new RegExp("^(?:" + eo + "|" + uo + "|" + us + "|" + ts + "|" + ns + "|" + rs + ")"), is = new RegExp("^(?:" + eo + "|" + uo + ")"), ru = [
|
|
5805
5815
|
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, !0],
|
|
5806
5816
|
[/^<!--/, /-->/, !0],
|
|
5807
5817
|
[/^<\?/, /\?>/, !0],
|
|
@@ -5843,13 +5853,13 @@ function cs(e, u, t, n) {
|
|
|
5843
5853
|
let i = 1;
|
|
5844
5854
|
for (a = e.src.charCodeAt(++r); a === 35 && r < o && i <= 6; )
|
|
5845
5855
|
i++, a = e.src.charCodeAt(++r);
|
|
5846
|
-
if (i > 6 || r < o && !
|
|
5856
|
+
if (i > 6 || r < o && !W(a))
|
|
5847
5857
|
return !1;
|
|
5848
5858
|
if (n)
|
|
5849
5859
|
return !0;
|
|
5850
5860
|
o = e.skipSpacesBack(o, r);
|
|
5851
5861
|
const c = e.skipCharsBack(o, 35, r);
|
|
5852
|
-
c > r &&
|
|
5862
|
+
c > r && W(e.src.charCodeAt(c - 1)) && (o = c), e.line = u + 1;
|
|
5853
5863
|
const s = e.push("heading_open", "h" + String(i), 1);
|
|
5854
5864
|
s.markup = "########".slice(0, i), s.map = [u, e.line];
|
|
5855
5865
|
const l = e.push("inline", "", 0);
|
|
@@ -5935,7 +5945,7 @@ const Wu = [
|
|
|
5935
5945
|
["paragraph", ls]
|
|
5936
5946
|
];
|
|
5937
5947
|
function ft() {
|
|
5938
|
-
this.ruler = new
|
|
5948
|
+
this.ruler = new de();
|
|
5939
5949
|
for (let e = 0; e < Wu.length; e++)
|
|
5940
5950
|
this.ruler.push(Wu[e][0], Wu[e][1], { alt: (Wu[e][2] || []).slice() });
|
|
5941
5951
|
}
|
|
@@ -5970,12 +5980,12 @@ function Pu(e, u, t, n) {
|
|
|
5970
5980
|
this.src = e, this.env = t, this.md = u, this.tokens = n, this.tokens_meta = Array(n.length), this.pos = 0, this.posMax = this.src.length, this.level = 0, this.pending = "", this.pendingLevel = 0, this.cache = {}, this.delimiters = [], this._prev_delimiters = [], this.backticks = {}, this.backticksScanned = !1, this.linkLevel = 0;
|
|
5971
5981
|
}
|
|
5972
5982
|
Pu.prototype.pushPending = function() {
|
|
5973
|
-
const e = new
|
|
5983
|
+
const e = new Ae("text", "", 0);
|
|
5974
5984
|
return e.content = this.pending, e.level = this.pendingLevel, this.tokens.push(e), this.pending = "", e;
|
|
5975
5985
|
};
|
|
5976
5986
|
Pu.prototype.push = function(e, u, t) {
|
|
5977
5987
|
this.pending && this.pushPending();
|
|
5978
|
-
const n = new
|
|
5988
|
+
const n = new Ae(e, u, t);
|
|
5979
5989
|
let r = null;
|
|
5980
5990
|
return t < 0 && (this.level--, this.delimiters = this._prev_delimiters.pop()), n.level = this.level, t > 0 && (this.level++, this._prev_delimiters.push(this.delimiters), this.delimiters = [], r = { delimiters: this.delimiters }), this.pendingLevel = this.level, this.tokens.push(n), this.tokens_meta.push(r), n;
|
|
5981
5991
|
};
|
|
@@ -5987,7 +5997,7 @@ Pu.prototype.scanDelims = function(e, u) {
|
|
|
5987
5997
|
const a = o - e, i = o < t ? this.src.charCodeAt(o) : 32, c = Cu(r) || wu(String.fromCharCode(r)), s = Cu(i) || wu(String.fromCharCode(i)), l = Au(r), f = Au(i), _ = !f && (!s || l || c), g = !l && (!c || f || s);
|
|
5988
5998
|
return { can_open: _ && (u || !g || c), can_close: g && (u || !_ || s), length: a };
|
|
5989
5999
|
};
|
|
5990
|
-
Pu.prototype.Token =
|
|
6000
|
+
Pu.prototype.Token = Ae;
|
|
5991
6001
|
function fs(e) {
|
|
5992
6002
|
switch (e) {
|
|
5993
6003
|
case 10:
|
|
@@ -6064,7 +6074,7 @@ function bs(e, u) {
|
|
|
6064
6074
|
e.pending = e.pending.slice(0, -1), e.push("softbreak", "br", 0);
|
|
6065
6075
|
else
|
|
6066
6076
|
e.push("softbreak", "br", 0);
|
|
6067
|
-
for (t++; t < r &&
|
|
6077
|
+
for (t++; t < r && W(e.src.charCodeAt(t)); )
|
|
6068
6078
|
t++;
|
|
6069
6079
|
return e.pos = t, !0;
|
|
6070
6080
|
}
|
|
@@ -6080,7 +6090,7 @@ function ms(e, u) {
|
|
|
6080
6090
|
if (e.src.charCodeAt(t) !== 92 || (t++, t >= n)) return !1;
|
|
6081
6091
|
let r = e.src.charCodeAt(t);
|
|
6082
6092
|
if (r === 10) {
|
|
6083
|
-
for (u || e.push("hardbreak", "br", 0), t++; t < n && (r = e.src.charCodeAt(t), !!
|
|
6093
|
+
for (u || e.push("hardbreak", "br", 0), t++; t < n && (r = e.src.charCodeAt(t), !!W(r)); )
|
|
6084
6094
|
t++;
|
|
6085
6095
|
return e.pos = t, !0;
|
|
6086
6096
|
}
|
|
@@ -6171,7 +6181,7 @@ function ks(e) {
|
|
|
6171
6181
|
for (let n = 0; n < t; n++)
|
|
6172
6182
|
u[n] && u[n].delimiters && pr(e, u[n].delimiters);
|
|
6173
6183
|
}
|
|
6174
|
-
const
|
|
6184
|
+
const to = {
|
|
6175
6185
|
tokenize: xs,
|
|
6176
6186
|
postProcess: ks
|
|
6177
6187
|
};
|
|
@@ -6225,7 +6235,7 @@ function vs(e) {
|
|
|
6225
6235
|
for (let n = 0; n < t; n++)
|
|
6226
6236
|
u[n] && u[n].delimiters && hr(e, u[n].delimiters);
|
|
6227
6237
|
}
|
|
6228
|
-
const
|
|
6238
|
+
const no = {
|
|
6229
6239
|
tokenize: _s,
|
|
6230
6240
|
postProcess: vs
|
|
6231
6241
|
};
|
|
@@ -6238,15 +6248,15 @@ function ys(e, u) {
|
|
|
6238
6248
|
return !1;
|
|
6239
6249
|
let d = g + 1;
|
|
6240
6250
|
if (d < f && e.src.charCodeAt(d) === 40) {
|
|
6241
|
-
for (s = !1, d++; d < f && (t = e.src.charCodeAt(d), !(!
|
|
6251
|
+
for (s = !1, d++; d < f && (t = e.src.charCodeAt(d), !(!W(t) && t !== 10)); d++)
|
|
6242
6252
|
;
|
|
6243
6253
|
if (d >= f)
|
|
6244
6254
|
return !1;
|
|
6245
6255
|
if (c = d, r = e.md.helpers.parseLinkDestination(e.src, d, e.posMax), r.ok) {
|
|
6246
|
-
for (a = e.md.normalizeLink(r.str), e.md.validateLink(a) ? d = r.pos : a = "", c = d; d < f && (t = e.src.charCodeAt(d), !(!
|
|
6256
|
+
for (a = e.md.normalizeLink(r.str), e.md.validateLink(a) ? d = r.pos : a = "", c = d; d < f && (t = e.src.charCodeAt(d), !(!W(t) && t !== 10)); d++)
|
|
6247
6257
|
;
|
|
6248
6258
|
if (r = e.md.helpers.parseLinkTitle(e.src, d, e.posMax), d < f && c !== d && r.ok)
|
|
6249
|
-
for (i = r.str, d = r.pos; d < f && (t = e.src.charCodeAt(d), !(!
|
|
6259
|
+
for (i = r.str, d = r.pos; d < f && (t = e.src.charCodeAt(d), !(!W(t) && t !== 10)); d++)
|
|
6250
6260
|
;
|
|
6251
6261
|
}
|
|
6252
6262
|
(d >= f || e.src.charCodeAt(d) !== 41) && (s = !0), d++;
|
|
@@ -6274,14 +6284,14 @@ function Es(e, u) {
|
|
|
6274
6284
|
if (d < 0)
|
|
6275
6285
|
return !1;
|
|
6276
6286
|
if (o = d + 1, o < _ && e.src.charCodeAt(o) === 40) {
|
|
6277
|
-
for (o++; o < _ && (t = e.src.charCodeAt(o), !(!
|
|
6287
|
+
for (o++; o < _ && (t = e.src.charCodeAt(o), !(!W(t) && t !== 10)); o++)
|
|
6278
6288
|
;
|
|
6279
6289
|
if (o >= _)
|
|
6280
6290
|
return !1;
|
|
6281
|
-
for (s = o, i = e.md.helpers.parseLinkDestination(e.src, o, e.posMax), i.ok && (l = e.md.normalizeLink(i.str), e.md.validateLink(l) ? o = i.pos : l = ""), s = o; o < _ && (t = e.src.charCodeAt(o), !(!
|
|
6291
|
+
for (s = o, i = e.md.helpers.parseLinkDestination(e.src, o, e.posMax), i.ok && (l = e.md.normalizeLink(i.str), e.md.validateLink(l) ? o = i.pos : l = ""), s = o; o < _ && (t = e.src.charCodeAt(o), !(!W(t) && t !== 10)); o++)
|
|
6282
6292
|
;
|
|
6283
6293
|
if (i = e.md.helpers.parseLinkTitle(e.src, o, e.posMax), o < _ && s !== o && i.ok)
|
|
6284
|
-
for (c = i.str, o = i.pos; o < _ && (t = e.src.charCodeAt(o), !(!
|
|
6294
|
+
for (c = i.str, o = i.pos; o < _ && (t = e.src.charCodeAt(o), !(!W(t) && t !== 10)); o++)
|
|
6285
6295
|
;
|
|
6286
6296
|
else
|
|
6287
6297
|
c = "";
|
|
@@ -6396,7 +6406,7 @@ function Os(e, u) {
|
|
|
6396
6406
|
} else {
|
|
6397
6407
|
const o = e.src.slice(t).match(Rs);
|
|
6398
6408
|
if (o) {
|
|
6399
|
-
const a =
|
|
6409
|
+
const a = Yr(o[0]);
|
|
6400
6410
|
if (a !== o[0]) {
|
|
6401
6411
|
if (!u) {
|
|
6402
6412
|
const i = e.push("text_special", "", 0);
|
|
@@ -6452,8 +6462,8 @@ const Mt = [
|
|
|
6452
6462
|
["newline", bs],
|
|
6453
6463
|
["escape", ms],
|
|
6454
6464
|
["backticks", gs],
|
|
6455
|
-
["strikethrough",
|
|
6456
|
-
["emphasis",
|
|
6465
|
+
["strikethrough", to.tokenize],
|
|
6466
|
+
["emphasis", no.tokenize],
|
|
6457
6467
|
["link", ys],
|
|
6458
6468
|
["image", Es],
|
|
6459
6469
|
["autolink", Cs],
|
|
@@ -6461,17 +6471,17 @@ const Mt = [
|
|
|
6461
6471
|
["entity", Os]
|
|
6462
6472
|
], Lt = [
|
|
6463
6473
|
["balance_pairs", Ms],
|
|
6464
|
-
["strikethrough",
|
|
6465
|
-
["emphasis",
|
|
6474
|
+
["strikethrough", to.postProcess],
|
|
6475
|
+
["emphasis", no.postProcess],
|
|
6466
6476
|
// rules for pairs separate '**' into its own text tokens, which may be left unused,
|
|
6467
6477
|
// rule below merges unused segments back with the rest of the text
|
|
6468
6478
|
["fragments_join", Ls]
|
|
6469
6479
|
];
|
|
6470
6480
|
function Ru() {
|
|
6471
|
-
this.ruler = new
|
|
6481
|
+
this.ruler = new de();
|
|
6472
6482
|
for (let e = 0; e < Mt.length; e++)
|
|
6473
6483
|
this.ruler.push(Mt[e][0], Mt[e][1]);
|
|
6474
|
-
this.ruler2 = new
|
|
6484
|
+
this.ruler2 = new de();
|
|
6475
6485
|
for (let e = 0; e < Lt.length; e++)
|
|
6476
6486
|
this.ruler2.push(Lt[e][0], Lt[e][1]);
|
|
6477
6487
|
}
|
|
@@ -6525,7 +6535,7 @@ Ru.prototype.parse = function(e, u, t, n) {
|
|
|
6525
6535
|
Ru.prototype.State = Pu;
|
|
6526
6536
|
function Ns(e) {
|
|
6527
6537
|
const u = {};
|
|
6528
|
-
e = e || {}, u.src_Any =
|
|
6538
|
+
e = e || {}, u.src_Any = Hr.source, u.src_Cc = Gr.source, u.src_Z = Vr.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("|");
|
|
6529
6539
|
const t = "[><|]";
|
|
6530
6540
|
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
|
|
6531
6541
|
",(?!" + 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)
|
|
@@ -6560,14 +6570,14 @@ function mr(e) {
|
|
|
6560
6570
|
function Bs(e) {
|
|
6561
6571
|
return e.replace(/[.?*+^$[\]\\(){}|-]/g, "\\$&");
|
|
6562
6572
|
}
|
|
6563
|
-
const
|
|
6573
|
+
const ro = {
|
|
6564
6574
|
fuzzyLink: !0,
|
|
6565
6575
|
fuzzyEmail: !0,
|
|
6566
6576
|
fuzzyIP: !1
|
|
6567
6577
|
};
|
|
6568
6578
|
function Us(e) {
|
|
6569
6579
|
return Object.keys(e || {}).reduce(function(u, t) {
|
|
6570
|
-
return u ||
|
|
6580
|
+
return u || ro.hasOwnProperty(t);
|
|
6571
6581
|
}, !1);
|
|
6572
6582
|
}
|
|
6573
6583
|
const qs = {
|
|
@@ -6662,18 +6672,18 @@ function Qt(e, u) {
|
|
|
6662
6672
|
const t = new Vs(e, u);
|
|
6663
6673
|
return e.__compiled__[t.schema].normalize(t, e), t;
|
|
6664
6674
|
}
|
|
6665
|
-
function
|
|
6666
|
-
if (!(this instanceof
|
|
6667
|
-
return new
|
|
6668
|
-
u || Us(e) && (u = e, e = {}), this.__opts__ = Xt({},
|
|
6675
|
+
function ge(e, u) {
|
|
6676
|
+
if (!(this instanceof ge))
|
|
6677
|
+
return new ge(e, u);
|
|
6678
|
+
u || Us(e) && (u = e, e = {}), this.__opts__ = Xt({}, ro, u), this.__index__ = -1, this.__last_index__ = -1, this.__schema__ = "", this.__text_cache__ = "", this.__schemas__ = Xt({}, qs, e), this.__compiled__ = {}, this.__tlds__ = Hs, this.__tlds_replaced__ = !1, this.re = {}, ot(this);
|
|
6669
6679
|
}
|
|
6670
|
-
|
|
6680
|
+
ge.prototype.add = function(u, t) {
|
|
6671
6681
|
return this.__schemas__[u] = t, ot(this), this;
|
|
6672
6682
|
};
|
|
6673
|
-
|
|
6683
|
+
ge.prototype.set = function(u) {
|
|
6674
6684
|
return this.__opts__ = Xt(this.__opts__, u), this;
|
|
6675
6685
|
};
|
|
6676
|
-
|
|
6686
|
+
ge.prototype.test = function(u) {
|
|
6677
6687
|
if (this.__text_cache__ = u, this.__index__ = -1, !u.length)
|
|
6678
6688
|
return !1;
|
|
6679
6689
|
let t, n, r, o, a, i, c, s, l;
|
|
@@ -6686,13 +6696,13 @@ me.prototype.test = function(u) {
|
|
|
6686
6696
|
}
|
|
6687
6697
|
return this.__opts__.fuzzyLink && this.__compiled__["http:"] && (s = u.search(this.re.host_fuzzy_test), s >= 0 && (this.__index__ < 0 || s < this.__index__) && (n = u.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null && (a = n.index + n[1].length, (this.__index__ < 0 || a < this.__index__) && (this.__schema__ = "", this.__index__ = a, this.__last_index__ = n.index + n[0].length))), this.__opts__.fuzzyEmail && this.__compiled__["mailto:"] && (l = u.indexOf("@"), l >= 0 && (r = u.match(this.re.email_fuzzy)) !== null && (a = r.index + r[1].length, i = r.index + r[0].length, (this.__index__ < 0 || a < this.__index__ || a === this.__index__ && i > this.__last_index__) && (this.__schema__ = "mailto:", this.__index__ = a, this.__last_index__ = i))), this.__index__ >= 0;
|
|
6688
6698
|
};
|
|
6689
|
-
|
|
6699
|
+
ge.prototype.pretest = function(u) {
|
|
6690
6700
|
return this.re.pretest.test(u);
|
|
6691
6701
|
};
|
|
6692
|
-
|
|
6702
|
+
ge.prototype.testSchemaAt = function(u, t, n) {
|
|
6693
6703
|
return this.__compiled__[t.toLowerCase()] ? this.__compiled__[t.toLowerCase()].validate(u, n, this) : 0;
|
|
6694
6704
|
};
|
|
6695
|
-
|
|
6705
|
+
ge.prototype.match = function(u) {
|
|
6696
6706
|
const t = [];
|
|
6697
6707
|
let n = 0;
|
|
6698
6708
|
this.__index__ >= 0 && this.__text_cache__ === u && (t.push(Qt(this, n)), n = this.__last_index__);
|
|
@@ -6701,24 +6711,24 @@ me.prototype.match = function(u) {
|
|
|
6701
6711
|
t.push(Qt(this, n)), r = r.slice(this.__last_index__), n += this.__last_index__;
|
|
6702
6712
|
return t.length ? t : null;
|
|
6703
6713
|
};
|
|
6704
|
-
|
|
6714
|
+
ge.prototype.matchAtStart = function(u) {
|
|
6705
6715
|
if (this.__text_cache__ = u, this.__index__ = -1, !u.length) return null;
|
|
6706
6716
|
const t = this.re.schema_at_start.exec(u);
|
|
6707
6717
|
if (!t) return null;
|
|
6708
6718
|
const n = this.testSchemaAt(u, t[2], t[0].length);
|
|
6709
6719
|
return n ? (this.__schema__ = t[2], this.__index__ = t.index + t[1].length, this.__last_index__ = t.index + t[0].length + n, Qt(this, 0)) : null;
|
|
6710
6720
|
};
|
|
6711
|
-
|
|
6721
|
+
ge.prototype.tlds = function(u, t) {
|
|
6712
6722
|
return u = Array.isArray(u) ? u : [u], t ? (this.__tlds__ = this.__tlds__.concat(u).sort().filter(function(n, r, o) {
|
|
6713
6723
|
return n !== o[r - 1];
|
|
6714
6724
|
}).reverse(), ot(this), this) : (this.__tlds__ = u.slice(), this.__tlds_replaced__ = !0, ot(this), this);
|
|
6715
6725
|
};
|
|
6716
|
-
|
|
6726
|
+
ge.prototype.normalize = function(u) {
|
|
6717
6727
|
u.schema || (u.url = "http://" + u.url), u.schema === "mailto:" && !/^mailto:/i.test(u.url) && (u.url = "mailto:" + u.url);
|
|
6718
6728
|
};
|
|
6719
|
-
|
|
6729
|
+
ge.prototype.onCompile = function() {
|
|
6720
6730
|
};
|
|
6721
|
-
const iu = 2147483647, Ce = 36, bn = 1, Du = 26, Zs = 38, Ys = 700,
|
|
6731
|
+
const iu = 2147483647, Ce = 36, bn = 1, Du = 26, Zs = 38, Ys = 700, oo = 72, io = 128, ao = "-", Xs = /^xn--/, Qs = /[^\0-\x7F]/, Js = /[\x2E\u3002\uFF0E\uFF61]/g, Ks = {
|
|
6722
6732
|
overflow: "Overflow: input needs wider integers to process",
|
|
6723
6733
|
"not-basic": "Illegal input >= 0x80 (not a basic code point)",
|
|
6724
6734
|
"invalid-input": "Invalid input"
|
|
@@ -6733,14 +6743,14 @@ function el(e, u) {
|
|
|
6733
6743
|
t[n] = u(e[n]);
|
|
6734
6744
|
return t;
|
|
6735
6745
|
}
|
|
6736
|
-
function
|
|
6746
|
+
function co(e, u) {
|
|
6737
6747
|
const t = e.split("@");
|
|
6738
6748
|
let n = "";
|
|
6739
6749
|
t.length > 1 && (n = t[0] + "@", e = t[1]), e = e.replace(Js, ".");
|
|
6740
6750
|
const r = e.split("."), o = el(r, u).join(".");
|
|
6741
6751
|
return n + o;
|
|
6742
6752
|
}
|
|
6743
|
-
function
|
|
6753
|
+
function so(e) {
|
|
6744
6754
|
const u = [];
|
|
6745
6755
|
let t = 0;
|
|
6746
6756
|
const n = e.length;
|
|
@@ -6758,14 +6768,14 @@ const ul = (e) => String.fromCodePoint(...e), tl = function(e) {
|
|
|
6758
6768
|
return e >= 48 && e < 58 ? 26 + (e - 48) : e >= 65 && e < 91 ? e - 65 : e >= 97 && e < 123 ? e - 97 : Ce;
|
|
6759
6769
|
}, xr = function(e, u) {
|
|
6760
6770
|
return e + 22 + 75 * (e < 26) - ((u != 0) << 5);
|
|
6761
|
-
},
|
|
6771
|
+
}, lo = function(e, u, t) {
|
|
6762
6772
|
let n = 0;
|
|
6763
6773
|
for (e = t ? De(e / Ys) : e >> 1, e += De(e / u); e > Nt * Du >> 1; n += Ce)
|
|
6764
6774
|
e = De(e / Nt);
|
|
6765
6775
|
return De(n + (Nt + 1) * e / (e + Zs));
|
|
6766
|
-
},
|
|
6776
|
+
}, fo = function(e) {
|
|
6767
6777
|
const u = [], t = e.length;
|
|
6768
|
-
let n = 0, r =
|
|
6778
|
+
let n = 0, r = io, o = oo, a = e.lastIndexOf(ao);
|
|
6769
6779
|
a < 0 && (a = 0);
|
|
6770
6780
|
for (let i = 0; i < a; ++i)
|
|
6771
6781
|
e.charCodeAt(i) >= 128 && Be("not-basic"), u.push(e.charCodeAt(i));
|
|
@@ -6782,19 +6792,19 @@ const ul = (e) => String.fromCodePoint(...e), tl = function(e) {
|
|
|
6782
6792
|
l > De(iu / d) && Be("overflow"), l *= d;
|
|
6783
6793
|
}
|
|
6784
6794
|
const s = u.length + 1;
|
|
6785
|
-
o =
|
|
6795
|
+
o = lo(n - c, s, c == 0), De(n / s) > iu - r && Be("overflow"), r += De(n / s), n %= s, u.splice(n++, 0, r);
|
|
6786
6796
|
}
|
|
6787
6797
|
return String.fromCodePoint(...u);
|
|
6788
|
-
},
|
|
6798
|
+
}, po = function(e) {
|
|
6789
6799
|
const u = [];
|
|
6790
|
-
e =
|
|
6800
|
+
e = so(e);
|
|
6791
6801
|
const t = e.length;
|
|
6792
|
-
let n =
|
|
6802
|
+
let n = io, r = 0, o = oo;
|
|
6793
6803
|
for (const c of e)
|
|
6794
6804
|
c < 128 && u.push(It(c));
|
|
6795
6805
|
const a = u.length;
|
|
6796
6806
|
let i = a;
|
|
6797
|
-
for (a && u.push(
|
|
6807
|
+
for (a && u.push(ao); i < t; ) {
|
|
6798
6808
|
let c = iu;
|
|
6799
6809
|
for (const l of e)
|
|
6800
6810
|
l >= n && l < c && (c = l);
|
|
@@ -6812,20 +6822,20 @@ const ul = (e) => String.fromCodePoint(...e), tl = function(e) {
|
|
|
6812
6822
|
It(xr(g + d % y, 0))
|
|
6813
6823
|
), f = De(d / y);
|
|
6814
6824
|
}
|
|
6815
|
-
u.push(It(xr(f, 0))), o =
|
|
6825
|
+
u.push(It(xr(f, 0))), o = lo(r, s, i === a), r = 0, ++i;
|
|
6816
6826
|
}
|
|
6817
6827
|
++r, ++n;
|
|
6818
6828
|
}
|
|
6819
6829
|
return u.join("");
|
|
6820
6830
|
}, nl = function(e) {
|
|
6821
|
-
return
|
|
6822
|
-
return Xs.test(u) ?
|
|
6831
|
+
return co(e, function(u) {
|
|
6832
|
+
return Xs.test(u) ? fo(u.slice(4).toLowerCase()) : u;
|
|
6823
6833
|
});
|
|
6824
6834
|
}, rl = function(e) {
|
|
6825
|
-
return
|
|
6826
|
-
return Qs.test(u) ? "xn--" +
|
|
6835
|
+
return co(e, function(u) {
|
|
6836
|
+
return Qs.test(u) ? "xn--" + po(u) : u;
|
|
6827
6837
|
});
|
|
6828
|
-
},
|
|
6838
|
+
}, ho = {
|
|
6829
6839
|
/**
|
|
6830
6840
|
* A string representing the current Punycode.js version number.
|
|
6831
6841
|
* @memberOf punycode
|
|
@@ -6840,11 +6850,11 @@ const ul = (e) => String.fromCodePoint(...e), tl = function(e) {
|
|
|
6840
6850
|
* @type Object
|
|
6841
6851
|
*/
|
|
6842
6852
|
ucs2: {
|
|
6843
|
-
decode:
|
|
6853
|
+
decode: so,
|
|
6844
6854
|
encode: ul
|
|
6845
6855
|
},
|
|
6846
|
-
decode:
|
|
6847
|
-
encode:
|
|
6856
|
+
decode: fo,
|
|
6857
|
+
encode: po,
|
|
6848
6858
|
toASCII: rl,
|
|
6849
6859
|
toUnicode: nl
|
|
6850
6860
|
}, ol = {
|
|
@@ -7021,34 +7031,34 @@ function fl(e) {
|
|
|
7021
7031
|
const u = e.trim().toLowerCase();
|
|
7022
7032
|
return sl.test(u) ? ll.test(u) : !0;
|
|
7023
7033
|
}
|
|
7024
|
-
const
|
|
7034
|
+
const bo = ["http:", "https:", "mailto:"];
|
|
7025
7035
|
function dl(e) {
|
|
7026
7036
|
const u = sn(e, !0);
|
|
7027
|
-
if (u.hostname && (!u.protocol ||
|
|
7037
|
+
if (u.hostname && (!u.protocol || bo.indexOf(u.protocol) >= 0))
|
|
7028
7038
|
try {
|
|
7029
|
-
u.hostname =
|
|
7039
|
+
u.hostname = ho.toASCII(u.hostname);
|
|
7030
7040
|
} catch {
|
|
7031
7041
|
}
|
|
7032
7042
|
return Tu(cn(u));
|
|
7033
7043
|
}
|
|
7034
7044
|
function pl(e) {
|
|
7035
7045
|
const u = sn(e, !0);
|
|
7036
|
-
if (u.hostname && (!u.protocol ||
|
|
7046
|
+
if (u.hostname && (!u.protocol || bo.indexOf(u.protocol) >= 0))
|
|
7037
7047
|
try {
|
|
7038
|
-
u.hostname =
|
|
7048
|
+
u.hostname = ho.toUnicode(u.hostname);
|
|
7039
7049
|
} catch {
|
|
7040
7050
|
}
|
|
7041
7051
|
return au(cn(u), au.defaultChars + "%");
|
|
7042
7052
|
}
|
|
7043
|
-
function
|
|
7044
|
-
if (!(this instanceof
|
|
7045
|
-
return new
|
|
7046
|
-
u || fn(e) || (u = e || {}, e = "default"), this.inline = new Ru(), this.block = new ft(), this.core = new pn(), this.renderer = new su(), this.linkify = new
|
|
7053
|
+
function ve(e, u) {
|
|
7054
|
+
if (!(this instanceof ve))
|
|
7055
|
+
return new ve(e, u);
|
|
7056
|
+
u || fn(e) || (u = e || {}, e = "default"), this.inline = new Ru(), this.block = new ft(), this.core = new pn(), this.renderer = new su(), this.linkify = new ge(), this.validateLink = fl, this.normalizeLink = dl, this.normalizeLinkText = pl, this.utils = bc, this.helpers = st({}, kc), this.options = {}, this.configure(e), u && this.set(u);
|
|
7047
7057
|
}
|
|
7048
|
-
|
|
7058
|
+
ve.prototype.set = function(e) {
|
|
7049
7059
|
return st(this.options, e), this;
|
|
7050
7060
|
};
|
|
7051
|
-
|
|
7061
|
+
ve.prototype.configure = function(e) {
|
|
7052
7062
|
const u = this;
|
|
7053
7063
|
if (fn(e)) {
|
|
7054
7064
|
const t = e;
|
|
@@ -7061,7 +7071,7 @@ _e.prototype.configure = function(e) {
|
|
|
7061
7071
|
e.components[t].rules && u[t].ruler.enableOnly(e.components[t].rules), e.components[t].rules2 && u[t].ruler2.enableOnly(e.components[t].rules2);
|
|
7062
7072
|
}), this;
|
|
7063
7073
|
};
|
|
7064
|
-
|
|
7074
|
+
ve.prototype.enable = function(e, u) {
|
|
7065
7075
|
let t = [];
|
|
7066
7076
|
Array.isArray(e) || (e = [e]), ["core", "block", "inline"].forEach(function(r) {
|
|
7067
7077
|
t = t.concat(this[r].ruler.enable(e, !0));
|
|
@@ -7073,7 +7083,7 @@ _e.prototype.enable = function(e, u) {
|
|
|
7073
7083
|
throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + n);
|
|
7074
7084
|
return this;
|
|
7075
7085
|
};
|
|
7076
|
-
|
|
7086
|
+
ve.prototype.disable = function(e, u) {
|
|
7077
7087
|
let t = [];
|
|
7078
7088
|
Array.isArray(e) || (e = [e]), ["core", "block", "inline"].forEach(function(r) {
|
|
7079
7089
|
t = t.concat(this[r].ruler.disable(e, !0));
|
|
@@ -7085,43 +7095,43 @@ _e.prototype.disable = function(e, u) {
|
|
|
7085
7095
|
throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + n);
|
|
7086
7096
|
return this;
|
|
7087
7097
|
};
|
|
7088
|
-
|
|
7098
|
+
ve.prototype.use = function(e) {
|
|
7089
7099
|
const u = [this].concat(Array.prototype.slice.call(arguments, 1));
|
|
7090
7100
|
return e.apply(e, u), this;
|
|
7091
7101
|
};
|
|
7092
|
-
|
|
7102
|
+
ve.prototype.parse = function(e, u) {
|
|
7093
7103
|
if (typeof e != "string")
|
|
7094
7104
|
throw new Error("Input data should be a String");
|
|
7095
7105
|
const t = new this.core.State(e, this, u);
|
|
7096
7106
|
return this.core.process(t), t.tokens;
|
|
7097
7107
|
};
|
|
7098
|
-
|
|
7108
|
+
ve.prototype.render = function(e, u) {
|
|
7099
7109
|
return u = u || {}, this.renderer.render(this.parse(e, u), this.options, u);
|
|
7100
7110
|
};
|
|
7101
|
-
|
|
7111
|
+
ve.prototype.parseInline = function(e, u) {
|
|
7102
7112
|
const t = new this.core.State(e, this, u);
|
|
7103
7113
|
return t.inlineMode = !0, this.core.process(t), t.tokens;
|
|
7104
7114
|
};
|
|
7105
|
-
|
|
7115
|
+
ve.prototype.renderInline = function(e, u) {
|
|
7106
7116
|
return u = u || {}, this.renderer.render(this.parseInline(e, u), this.options, u);
|
|
7107
7117
|
};
|
|
7108
7118
|
function hl(e, u) {
|
|
7109
|
-
const { manual: t = !1, domPurify: n = !0, ...r } = u ?? {}, o =
|
|
7110
|
-
Bt(e) &&
|
|
7119
|
+
const { manual: t = !1, domPurify: n = !0, ...r } = u ?? {}, o = H(Bt(e) ? ou(e.value) : Oo(e) ? ou(e) : e);
|
|
7120
|
+
Bt(e) && Ne(() => {
|
|
7111
7121
|
o.value = ou(e.value);
|
|
7112
7122
|
});
|
|
7113
|
-
const a =
|
|
7123
|
+
const a = H(""), i = H(), c = ve({ ...r });
|
|
7114
7124
|
function s(l) {
|
|
7115
7125
|
const f = c.render(l);
|
|
7116
7126
|
if (a.value = n ? Fa.sanitize(f) : f, i.value) i.value.innerHTML = a.value;
|
|
7117
7127
|
else {
|
|
7118
|
-
const _ =
|
|
7128
|
+
const _ = Le(i, (g) => {
|
|
7119
7129
|
g && (g.innerHTML = a.value, _());
|
|
7120
7130
|
});
|
|
7121
7131
|
}
|
|
7122
7132
|
return a.value;
|
|
7123
7133
|
}
|
|
7124
|
-
return t || (s(o.value ?? ""),
|
|
7134
|
+
return t || (s(o.value ?? ""), Le(o, (l) => {
|
|
7125
7135
|
s(l ?? "");
|
|
7126
7136
|
})), {
|
|
7127
7137
|
value: o,
|
|
@@ -7132,10 +7142,10 @@ function hl(e, u) {
|
|
|
7132
7142
|
};
|
|
7133
7143
|
}
|
|
7134
7144
|
function bl(e, u) {
|
|
7135
|
-
const { step: t = 1, interval: n = 50, enabled: r = !0 } = u ?? {}, o =
|
|
7145
|
+
const { step: t = 1, interval: n = 50, enabled: r = !0 } = u ?? {}, o = H(0), a = H(!1), i = H(!1), c = H(!1), s = me(() => r ? e.value.slice(0, o.value) : e.value), l = me(() => Number(Math.min(o.value / e.value.length * 100, 100).toFixed(2)));
|
|
7136
7146
|
let f = null;
|
|
7137
7147
|
const _ = Zu(), g = Zu(), d = Zu();
|
|
7138
|
-
|
|
7148
|
+
Le(e, (k, x) => {
|
|
7139
7149
|
if (!x) {
|
|
7140
7150
|
o.value = 0, y();
|
|
7141
7151
|
return;
|
|
@@ -7195,7 +7205,7 @@ function bl(e, u) {
|
|
|
7195
7205
|
onUpdate: d.on
|
|
7196
7206
|
};
|
|
7197
7207
|
}
|
|
7198
|
-
const ml = "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,.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:#abb2bf26;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:#99bbff0a}.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 #0003}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:#99bbff0a}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:#abb2bf26}.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:#ff526626}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:#fb566940}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:#fb566940}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:#1aff5b26}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:#38e06240}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:#38e06240}.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}", gl = "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,.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:#383a4233}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:#383a420d}.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 #0003}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:#383a420d}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:#383a4233}.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:#ff526626}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:#fb566940}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:#fb566940}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:#1aff5b26}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:#38e06240}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:#38e06240}.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}", { c: zt, cB: kr, cE: $t } = { ...tn, ...Pr }, Vu = `${Rr}-type-writer`;
|
|
7208
|
+
const ml = "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,.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:#abb2bf26;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:#99bbff0a}.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 #0003}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:#99bbff0a}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:#abb2bf26}.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:#ff526626}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:#fb566940}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:#fb566940}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:#1aff5b26}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:#38e06240}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:#38e06240}.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}", gl = "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,.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:#383a4233}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:#383a420d}.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 #0003}pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows>span:hover:before{background-color:#383a420d}.line-numbers.line-numbers .line-numbers-rows,.command-line .command-line-prompt{border-right-color:#383a4233}.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:#ff526626}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:#fb566940}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:#fb566940}pre.diff-highlight>code .token.token.inserted:not(.prefix),pre>code.diff-highlight .token.token.inserted:not(.prefix){background-color:#1aff5b26}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:#38e06240}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:#38e06240}.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}", { c: zt, cB: kr, cE: $t } = { ...tn, ...Rr }, Vu = `${Or}-type-writer`;
|
|
7199
7209
|
function xl() {
|
|
7200
7210
|
return zt([
|
|
7201
7211
|
kr("type-writer", {
|
|
@@ -7220,7 +7230,7 @@ function xl() {
|
|
|
7220
7230
|
])
|
|
7221
7231
|
]);
|
|
7222
7232
|
}
|
|
7223
|
-
const kl = ["innerHTML"], _l = /* @__PURE__ */
|
|
7233
|
+
const kl = ["innerHTML"], _l = /* @__PURE__ */ be({
|
|
7224
7234
|
__name: "TypeWriter",
|
|
7225
7235
|
props: {
|
|
7226
7236
|
value: {},
|
|
@@ -7233,8 +7243,8 @@ const kl = ["innerHTML"], _l = /* @__PURE__ */ he({
|
|
|
7233
7243
|
emits: ["start", "update", "stop"],
|
|
7234
7244
|
setup(e, { emit: u }) {
|
|
7235
7245
|
const t = u;
|
|
7236
|
-
|
|
7237
|
-
const { typedValue: n, isTyping: r, onStat: o, onUpdate: a, onStop: i } = bl(
|
|
7246
|
+
Pr(Vu, xl());
|
|
7247
|
+
const { typedValue: n, isTyping: r, onStat: o, onUpdate: a, onStop: i } = bl(me(() => e.value ?? ""), {
|
|
7238
7248
|
step: e.step,
|
|
7239
7249
|
interval: e.interval,
|
|
7240
7250
|
enabled: e.typing
|
|
@@ -7252,12 +7262,12 @@ const kl = ["innerHTML"], _l = /* @__PURE__ */ he({
|
|
|
7252
7262
|
typographer: !0,
|
|
7253
7263
|
breaks: !0,
|
|
7254
7264
|
highlight: Oi
|
|
7255
|
-
}), s =
|
|
7256
|
-
return (l, f) => (B(),
|
|
7265
|
+
}), s = me(() => e.markdown ? c.value : n.value);
|
|
7266
|
+
return (l, f) => (B(), G(S(yr), {
|
|
7257
7267
|
tag: "div",
|
|
7258
7268
|
class: Ku([S(Vu)])
|
|
7259
7269
|
}, {
|
|
7260
|
-
default:
|
|
7270
|
+
default: I(() => [
|
|
7261
7271
|
Fu("div", {
|
|
7262
7272
|
class: Ku([S(r) && !l.markdown ? `${S(Vu)}__cursor` : void 0, l.markdown ? `${S(Vu)}__markdown` : void 0]),
|
|
7263
7273
|
style: vr([l.markdown ? void 0 : { "--cursor-content": `'${l.suffix}'` }]),
|