hlrender 0.0.98 → 0.0.100
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/{affix-widget-e087c9c9.js → affix-widget-b33a98e1.js} +16 -16
- package/{alert-widget-d5d84c9a.js → alert-widget-633eb0ac.js} +16 -16
- package/{anchor-widget-84b4693c.js → anchor-widget-75f6915b.js} +13 -13
- package/{auto-complete-widget-43ed38f7.js → auto-complete-widget-7fd2abb6.js} +16 -16
- package/{avatar-widget-db348eae.js → avatar-widget-7b877144.js} +16 -16
- package/{backtop-widget-49175c32.js → backtop-widget-a5e9c5f4.js} +16 -16
- package/{badge-widget-e641c47c.js → badge-widget-b772b789.js} +16 -16
- package/{baseImp-11aee409.js → baseImp-5b17336a.js} +1014 -1013
- package/{breadcrumb-widget-7738a9b9.js → breadcrumb-widget-93b99a87.js} +13 -13
- package/{button-widget-3bb3fc8d.js → button-widget-6fbe1189.js} +16 -16
- package/{cache-widget-42b6ab7f.js → cache-widget-d473f695.js} +15 -15
- package/{card-widget-57e0da70.js → card-widget-686ae47f.js} +14 -14
- package/{carousel-widget-c2302523.js → carousel-widget-aa95b97b.js} +14 -14
- package/{cascader-widget-af29488f.js → cascader-widget-30d30780.js} +15 -15
- package/{chart-widget-df4c0a89.js → chart-widget-64f48e75.js} +13 -13
- package/checkbox-widget-6bdebe55.js +115 -0
- package/{collapse-widget-4e73c14d.js → collapse-widget-ad17e7ce.js} +14 -14
- package/{color-picker-widget-24e1f6ff.js → color-picker-widget-5a96b3dc.js} +15 -15
- package/{cont-cell-widget-8239f1e9.js → cont-cell-widget-8c7a4c0a.js} +1 -1
- package/{cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-e4dde269.js → cont-cell-widget.vue_vue_type_script_setup_true_name_cont-cell-widget_lang-1056f03a.js} +5 -5
- package/{cont-widget-e52d62db.js → cont-widget-c619d2f1.js} +5 -5
- package/{content-wrapper-9e6d2ef7.js → content-wrapper-58a73528.js} +7 -7
- package/{content-wrapper.vue_vue_type_script_setup_true_lang-92286bc9.js → content-wrapper.vue_vue_type_script_setup_true_lang-920821e9.js} +3 -3
- package/{date-picker-range-widget-4051681c.js → date-picker-range-widget-22fa7950.js} +15 -15
- package/{date-picker-widget-5563dbe9.js → date-picker-widget-e85f08b7.js} +15 -15
- package/{default-slot-widget-4226a092.js → default-slot-widget-bf2a8e3e.js} +14 -14
- package/{default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-79f73dd0.js → default-slot-widget.vue_vue_type_script_setup_true_name_default-slot-widget_lang-b034cae8.js} +7 -7
- package/{descriptions-widget-57cca888.js → descriptions-widget-10cd8931.js} +14 -14
- package/{dialog-f7b39fe6.js → dialog-e9330a03.js} +2 -2
- package/{dialog-widget-2a48222e.js → dialog-widget-0bfe1c42.js} +15 -15
- package/{divider-widget-6a50743c.js → divider-widget-704c5af7.js} +16 -16
- package/{drag-wrapper-a576a069.js → drag-wrapper-7a0422c0.js} +6 -6
- package/{drawer-widget-e6e15355.js → drawer-widget-cd6ee68c.js} +15 -15
- package/{dropdown-widget-f28a6bd3.js → dropdown-widget-b6d7241f.js} +14 -14
- package/{empty-widget-042c303c.js → empty-widget-3eac14c1.js} +16 -16
- package/{enum-type-1e9fcc29.js → enum-type-eacaf465.js} +69 -64
- package/{enum-type-e543cd71.js → enum-type-f177c9cf.js} +117 -87
- package/{expression-9b2f51f2.js → expression-92cadbfb.js} +90 -87
- package/feedback-widget-f5d8be6f.js +26 -0
- package/{feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-d45fa484.js → feedback-widget.vue_vue_type_script_setup_true_name_feedback-widget_lang-9cd73071.js} +5 -5
- package/{fieldobj-a6acad3e.js → fieldobj-2df290fb.js} +1 -1
- package/file-upload-widget-b5e0f40b.js +161 -0
- package/{form-item-wrapper-b2ea9d66.js → form-item-wrapper-9660e359.js} +11 -11
- package/{form-widget-3cb869d9.js → form-widget-0d930376.js} +10 -10
- package/{grid-col-widget-7848bafb.js → grid-col-widget-718c65a0.js} +1 -1
- package/{grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-618e7f24.js → grid-col-widget.vue_vue_type_script_setup_true_name_grid-col-widget_lang-29b6dc07.js} +5 -5
- package/{grid-widget-2f3abe09.js → grid-widget-d68223a7.js} +5 -5
- package/{html-text-widget-0cc0b9ab.js → html-text-widget-1592c26e.js} +14 -14
- package/{iframe-widget-a3c8f7ca.js → iframe-widget-6d71caee.js} +13 -13
- package/{image-widget-4c40593d.js → image-widget-42d835be.js} +13 -13
- package/{index-ddf326b1.js → index-29f70ed6.js} +1 -1
- package/{index-b01cbb10.js → index-85279301.js} +1632 -1550
- package/{index-acaeeeea.js → index-90941780.js} +4 -4
- package/{input-number-widget-2751737d.js → input-number-widget-edef1d06.js} +15 -15
- package/{input-widget-343d0b27.js → input-widget-7c836745.js} +16 -16
- package/{label-wrapper-d3616d09.js → label-wrapper-05d8f075.js} +5 -5
- package/{label-wrapper.vue_vue_type_style_index_0_lang-6461ea68.js → label-wrapper.vue_vue_type_style_index_0_lang-2f174e7a.js} +3 -3
- package/{link-widget-51058ea6.js → link-widget-244e11d8.js} +16 -16
- package/{ltable-col-widget-32ac5617.js → ltable-col-widget-381b27dd.js} +1 -1
- package/{ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-95891bc1.js → ltable-col-widget.vue_vue_type_script_setup_true_name_ltable-col-widget_lang-0a2e778b.js} +10 -10
- package/{ltable-widget-778ecae8.js → ltable-widget-02607d52.js} +5 -5
- package/{menu-widget-1fb7cdcb.js → menu-widget-00ad97db.js} +14 -14
- package/{model-widget-e36d72b7.js → model-widget-1b5ab837.js} +13 -13
- package/{multirow-721f82a5.js → multirow-49846c15.js} +6 -6
- package/{multirow-widget-6b54a5e2.js → multirow-widget-3bc595fe.js} +15 -15
- package/package.json +2 -1
- package/{pagination-widget-8f20b346.js → pagination-widget-f9a682ec.js} +13 -13
- package/picture-upload-widget-174181e9.js +112 -0
- package/{progress-widget-eff1911d.js → progress-widget-2c225e00.js} +14 -14
- package/{propresult-0f846ed7.js → propresult-88efb2cd.js} +1 -1
- package/{radio-widget-e90ebc56.js → radio-widget-385e5174.js} +15 -15
- package/{range-widget-b27c8d11.js → range-widget-da5f9eaf.js} +16 -16
- package/{rate-widget-ecd5fe28.js → rate-widget-2e6f5fc3.js} +15 -15
- package/render.es.js +31 -31
- package/render.style.css +1 -1
- package/render.umd.js +492 -492
- package/{result-widget-b6ab1686.js → result-widget-945c532c.js} +14 -14
- package/{rich-editor-widget-d5448565.js → rich-editor-widget-ec8a05df.js} +15 -15
- package/{router-widget-26fcbb1a.js → router-widget-efab4060.js} +13 -13
- package/{select-widget-2730b098.js → select-widget-3738f19f.js} +135 -137
- package/{sfc-0afa1288.js → sfc-4c4de9b9.js} +30 -30
- package/{share-field-5849666b.js → share-field-1c102ba4.js} +108 -108
- package/share-file-6e1341fa.js +134 -0
- package/{slider-widget-086b096b.js → slider-widget-e234e4c0.js} +15 -15
- package/{slot-c4be1c4d.js → slot-0409dcec.js} +3 -3
- package/{static-text-widget-a5be6e6a.js → static-text-widget-4fc3f9d1.js} +14 -14
- package/{steps-widget-8959f2cd.js → steps-widget-a5d0a9db.js} +13 -13
- package/{subMenu-widget-234da814.js → subMenu-widget-d1ab3457.js} +8 -8
- package/{subMenu-widget.vue_vue_type_script_setup_true_lang-477ffcd8.js → subMenu-widget.vue_vue_type_script_setup_true_lang-6e807644.js} +3 -3
- package/{switch-widget-211b21f2.js → switch-widget-6b390c61.js} +15 -15
- package/{tab-pane-widget-7806a888.js → tab-pane-widget-a816ed21.js} +1 -1
- package/{tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-b5135197.js → tab-pane-widget.vue_vue_type_script_setup_true_name_tab-pane-widget_lang-2e941ff5.js} +5 -5
- package/table-col-widget-8ef729af.js +22 -0
- package/{table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-22b30cca.js → table-col-widget.vue_vue_type_script_setup_true_name_table-col-widget_lang-7e88b04b.js} +6 -6
- package/{table-widget-dd95e3bc.js → table-widget-4022c649.js} +15 -15
- package/{tabs-widget-f05b8870.js → tabs-widget-92b2154c.js} +8 -8
- package/{tag-widget-a2468330.js → tag-widget-a7584b6a.js} +16 -16
- package/{text-widget-d9e376ec.js → text-widget-e8c1aaf1.js} +16 -16
- package/{textarea-widget-3ed36587.js → textarea-widget-fdecb7c1.js} +15 -15
- package/{time-picker-range-widget-8afff46d.js → time-picker-range-widget-e0c7059d.js} +15 -15
- package/{time-picker-widget-ed7308d3.js → time-picker-widget-b1b72b21.js} +15 -15
- package/{time-select-widget-e072e2ac.js → time-select-widget-174a2167.js} +15 -15
- package/{tmpl-widget-3a15afdb.js → tmpl-widget-df8283ea.js} +14 -14
- package/{tree-select-widget-48feef75.js → tree-select-widget-b34f2ca4.js} +15 -15
- package/{tree-widget-b8701060.js → tree-widget-48104d6a.js} +13 -13
- package/{uuid-911c6ec4.js → uuid-472ff1db.js} +1 -1
- package/{widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-ac5a73c2.js → widget-wrapper.vue_vue_type_script_setup_true_name_form-item-wrapper_lang-8a7448a2.js} +7 -7
- package/{wrapper-widget-890c527c.js → wrapper-widget-917c4f6b.js} +6 -6
- package/checkbox-widget-add2ddb3.js +0 -90
- package/feedback-widget-3cc158e9.js +0 -26
- package/file-upload-widget-8c37293d.js +0 -98
- package/picture-upload-widget-de5d4081.js +0 -102
- package/share-file-9119f872.js +0 -119
- package/table-col-widget-54e98390.js +0 -22
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
var ea = Object.defineProperty;
|
|
2
2
|
var ra = (t, e, r) => e in t ? ea(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
3
|
var j = (t, e, r) => (ra(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
|
-
import { b as
|
|
5
|
-
import { u as ni, t as
|
|
6
|
-
import { O as Ba, C as Q, E as
|
|
4
|
+
import { b as J0, c as Cn, e as z0, t as K0, f as et, g as qr, h as $t, o as Wt, j as ti, d as Bt, B as Ae, l as Zt, k as Nr, s as na, a as g0, m as E0, n as sa, p as ia, u as oa, q as aa, r as ca, v as xa, w as fa, x as pt, y as Q0, z as ua, A as Lt, C as ei, D as la, E as ha, F as ri, G as da, H as pa } from "./enum-type-f177c9cf.js";
|
|
5
|
+
import { u as ni, t as _e, a as va, c as f0, g as ga } from "./uuid-472ff1db.js";
|
|
6
|
+
import { O as Ba, C as Q, E as ht, a as ya, b as en, V as i0, F as Jt, P as rn, c as Ea, d as nn, S as ma, D as si, e as ba } from "./enum-type-eacaf465.js";
|
|
7
7
|
import { u as sn, r as Aa, a as ii } from "./icon-e9532b43.js";
|
|
8
8
|
import * as Fa from "vue";
|
|
9
|
-
import { isRef as
|
|
10
|
-
import { c as
|
|
11
|
-
import { o as Ra } from "./dialog-
|
|
9
|
+
import { isRef as te, defineAsyncComponent as Ca, h as Gn, watch as Ve, computed as k0, ref as At, reactive as on, shallowRef as Da } from "vue";
|
|
10
|
+
import { c as Le, I as oi, e as wa, d as zt, g as at, f as dt, h as _a, u as Sa, j as Ta } from "./expression-92cadbfb.js";
|
|
11
|
+
import { o as Ra } from "./dialog-e9330a03.js";
|
|
12
12
|
import { c as s0, g as ka } from "./_commonjsHelpers-e7ea1525.js";
|
|
13
|
-
import { ElMessage as
|
|
14
|
-
const
|
|
13
|
+
import { ElMessage as Fe, ElMessageBox as ai, ElNotification as oe } from "element-plus";
|
|
14
|
+
const Je = "#";
|
|
15
15
|
function Oa() {
|
|
16
16
|
return {
|
|
17
17
|
variableExp: /#\{《const》:《([^》]+)》\}#/g,
|
|
18
18
|
variableWithNameExp: (n) => new RegExp("#{《const》:《" + n + "》}#.([0-9A-Za-z_]+)", "gi"),
|
|
19
|
-
buildVariable: (n) => `${
|
|
19
|
+
buildVariable: (n) => `${Je}{《const》:《${n}》}${Je}`
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
22
|
function Pa() {
|
|
23
23
|
return {
|
|
24
24
|
variableExp: /#\{《field》:《([^》]+)》\}#/g,
|
|
25
|
-
buildVariable: (r) => `${
|
|
25
|
+
buildVariable: (r) => `${Je}{《field》:《${r}》}${Je}`
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
function Ha() {
|
|
@@ -30,44 +30,44 @@ function Ha() {
|
|
|
30
30
|
return {
|
|
31
31
|
addTextPrefix: (i) => {
|
|
32
32
|
var o, a;
|
|
33
|
-
return ti(i) ? i :
|
|
33
|
+
return ti(i) ? i : J0(i) && !((o = String(i)) != null && o.startsWith(t)) && !((a = String(i)) != null && a.endsWith(t)) ? `${t}${e}${i}${e}${t}` : i;
|
|
34
34
|
},
|
|
35
35
|
removeTextPrefix: (i) => {
|
|
36
36
|
var o;
|
|
37
|
-
return
|
|
37
|
+
return J0(i) ? (o = i == null ? void 0 : i.replaceAll(`${t}${e}`, "")) == null ? void 0 : o.replace(`${e}${t}`, "") : i;
|
|
38
38
|
},
|
|
39
|
-
removeTextPrefixSimple: (i) =>
|
|
39
|
+
removeTextPrefixSimple: (i) => J0(i) ? i == null ? void 0 : i.replaceAll(`${e}`, "") : i
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
function Dn() {
|
|
43
|
-
const { addTextPrefix: t } = Ha(), { variableExp: e, buildVariable: r } = Pa(), n = (x, d) =>
|
|
43
|
+
const { addTextPrefix: t } = Ha(), { variableExp: e, buildVariable: r } = Pa(), n = (x, d) => J0(x) ? x == null ? void 0 : x.replace(e, function(h, v) {
|
|
44
44
|
return Cn(d) && (d != null && d[v]) ? d == null ? void 0 : d[v] : v;
|
|
45
|
-
}) : x, s = (x, d) =>
|
|
45
|
+
}) : x, s = (x, d) => J0(x) ? x == null ? void 0 : x.replace(e, function(h, v) {
|
|
46
46
|
var f = v, l = d[f];
|
|
47
|
-
return
|
|
48
|
-
}) : x, i = (x, d) =>
|
|
47
|
+
return z0(l) ? t(" ") : t(l);
|
|
48
|
+
}) : x, i = (x, d) => J0(x) ? x == null ? void 0 : x.replaceAll(e, function(h, v) {
|
|
49
49
|
var f = v, l = d[f];
|
|
50
|
-
return
|
|
51
|
-
}) : x, o = (x, d, h, v = e) =>
|
|
50
|
+
return !$t(f) && !$t(l) ? r(l) : h;
|
|
51
|
+
}) : x, o = (x, d, h, v = e) => J0(x) ? x == null ? void 0 : x.replaceAll(v, function(f, l) {
|
|
52
52
|
var E;
|
|
53
|
-
var y = l, A = (E =
|
|
54
|
-
return
|
|
53
|
+
var y = l, A = (E = Wt(d)) != null && E.includes(y) ? d == null ? void 0 : d[y] : null;
|
|
54
|
+
return $t(y) ? f : h ? h(y, A) : $t(A) ? null : A;
|
|
55
55
|
}) : x;
|
|
56
56
|
return {
|
|
57
57
|
transFormula: n,
|
|
58
58
|
calcFormula: s,
|
|
59
59
|
getFormulaFields: (x) => {
|
|
60
|
-
if (!x ||
|
|
60
|
+
if (!x || qr(x))
|
|
61
61
|
return [];
|
|
62
62
|
for (var d = null, h = []; (d = e.exec(x)) !== null; )
|
|
63
63
|
h.push(d == null ? void 0 : d[1]);
|
|
64
64
|
return h;
|
|
65
65
|
},
|
|
66
66
|
updateFomulaName: (x, d, h) => {
|
|
67
|
-
if (
|
|
67
|
+
if (z0(x))
|
|
68
68
|
return x;
|
|
69
|
-
let v =
|
|
70
|
-
return v != null && v.includes(d) ? (v = i(v, { [d]: h }),
|
|
69
|
+
let v = K0(x);
|
|
70
|
+
return v != null && v.includes(d) ? (v = i(v, { [d]: h }), et(v)) : x;
|
|
71
71
|
},
|
|
72
72
|
updateFomula: (x, d, h, v = e) => {
|
|
73
73
|
var f = o(x, d, h, v);
|
|
@@ -90,17 +90,17 @@ function qa(t, e) {
|
|
|
90
90
|
var r = Ia(t, e);
|
|
91
91
|
return Object.values(r);
|
|
92
92
|
}
|
|
93
|
-
class
|
|
93
|
+
class Ft {
|
|
94
94
|
constructor(e) {
|
|
95
95
|
j(this, "enable", !1);
|
|
96
|
-
e &&
|
|
96
|
+
e && Bt(this, e);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
class t1 extends
|
|
99
|
+
class t1 extends Ft {
|
|
100
100
|
constructor(r) {
|
|
101
101
|
super(r);
|
|
102
|
-
j(this, "type",
|
|
103
|
-
r &&
|
|
102
|
+
j(this, "type", Ae.any);
|
|
103
|
+
r && Bt(this, r);
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
class e1 {
|
|
@@ -108,7 +108,7 @@ class e1 {
|
|
|
108
108
|
j(this, "action", "");
|
|
109
109
|
j(this, "options", {});
|
|
110
110
|
j(this, "content", {});
|
|
111
|
-
e &&
|
|
111
|
+
e && Bt(this, e);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
114
|
class Xn {
|
|
@@ -126,7 +126,7 @@ const Na = (t) => t ? ci.test(t) : !1, La = (t) => {
|
|
|
126
126
|
try {
|
|
127
127
|
return new Function(e == null ? void 0 : e.params.join(","), e == null ? void 0 : e.body);
|
|
128
128
|
} catch (r) {
|
|
129
|
-
|
|
129
|
+
Zt.error("stringToFunc", r);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
}, za = (t) => {
|
|
@@ -138,7 +138,7 @@ const Na = (t) => t ? ci.test(t) : !1, La = (t) => {
|
|
|
138
138
|
let i = ((r = e.groups) == null ? void 0 : r.name) || "", o = ((n = e.groups) == null ? void 0 : n.param) || "", a = ((s = e.groups) == null ? void 0 : s.body) || "";
|
|
139
139
|
return { params: Ua(o), body: a };
|
|
140
140
|
} catch (i) {
|
|
141
|
-
|
|
141
|
+
Zt.error("getFuncSplit", i);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
}, Ua = (t) => {
|
|
@@ -152,7 +152,7 @@ const Na = (t) => t ? ci.test(t) : !1, La = (t) => {
|
|
|
152
152
|
(g = e == null ? void 0 : e.groups) != null && g.value;
|
|
153
153
|
let x = e == null ? void 0 : e[0];
|
|
154
154
|
i += x;
|
|
155
|
-
let d =
|
|
155
|
+
let d = Le(i, "{") == Le(i, "}") && Le(i, "(") == Le(i, ")");
|
|
156
156
|
n && (s = c), d && (i = i.replace(s + ":", ""), i.endsWith(",") ? i = i.substring(0, i.length - 1).trim() : i = i.trim(), o.push({ key: s, value: i }), i = "", s = ""), n = d;
|
|
157
157
|
}
|
|
158
158
|
return o;
|
|
@@ -162,7 +162,7 @@ const Na = (t) => t ? ci.test(t) : !1, La = (t) => {
|
|
|
162
162
|
var r = e ? Object.values(e) : [];
|
|
163
163
|
return t.call(t, ...r);
|
|
164
164
|
} catch (n) {
|
|
165
|
-
|
|
165
|
+
Zt.error("callFunc", n);
|
|
166
166
|
}
|
|
167
167
|
}, Ma = (t, e) => {
|
|
168
168
|
var r = [];
|
|
@@ -174,7 +174,7 @@ const Na = (t) => t ? ci.test(t) : !1, La = (t) => {
|
|
|
174
174
|
let r = La(t);
|
|
175
175
|
if (r)
|
|
176
176
|
return xi(r, e);
|
|
177
|
-
},
|
|
177
|
+
}, Dt = (t, e) => {
|
|
178
178
|
if (t)
|
|
179
179
|
return Na(t) ? ja(t, e) : Ma(t, e);
|
|
180
180
|
}, fi = (t) => {
|
|
@@ -184,11 +184,11 @@ const Na = (t) => t ? ci.test(t) : !1, La = (t) => {
|
|
|
184
184
|
}
|
|
185
185
|
}, Wa = (t, e) => {
|
|
186
186
|
let r = fi(t);
|
|
187
|
-
var n = e ?
|
|
187
|
+
var n = e ? Wt(e) : [];
|
|
188
188
|
return r = `function(${n.join(",")}){${r}}`, new Function("return " + r);
|
|
189
189
|
}, wn = (t, e) => {
|
|
190
190
|
var i;
|
|
191
|
-
var r = Wa(t, e), n = e ? (i = Object.entries(e)) == null ? void 0 : i.map(([o, a]) =>
|
|
191
|
+
var r = Wa(t, e), n = e ? (i = Object.entries(e)) == null ? void 0 : i.map(([o, a]) => te(a) ? a.value : a) : [];
|
|
192
192
|
try {
|
|
193
193
|
var s = r == null ? void 0 : r();
|
|
194
194
|
if (s != null) {
|
|
@@ -196,36 +196,36 @@ const Na = (t) => t ? ci.test(t) : !1, La = (t) => {
|
|
|
196
196
|
return s == null ? void 0 : s(...n);
|
|
197
197
|
s == null || s();
|
|
198
198
|
} else
|
|
199
|
-
|
|
199
|
+
Zt.info("evalExpression", "function is empty", { expression: t, data: e });
|
|
200
200
|
} catch (o) {
|
|
201
|
-
|
|
201
|
+
Zt.error("evalExpression", o, { expression: t, data: e });
|
|
202
202
|
return;
|
|
203
203
|
}
|
|
204
204
|
}, Za = (t, e) => {
|
|
205
205
|
const r = /\"\$\{([^\}]+)\}\"/g;
|
|
206
|
-
if (!(t == null || !
|
|
206
|
+
if (!(t == null || !J0(t))) {
|
|
207
207
|
var n = t == null ? void 0 : t.replace(r, function(s, i, o) {
|
|
208
208
|
var a = s, g = a.substring(1, a.length - 1), c = wn(g, e);
|
|
209
|
-
return
|
|
209
|
+
return z0(c) ? '""' : Nr(c) ? K0(c) : `"${c}"`;
|
|
210
210
|
});
|
|
211
211
|
return n;
|
|
212
212
|
}
|
|
213
213
|
}, Ka = (t, e) => {
|
|
214
214
|
const r = /\$\{([^\}]+)\}/g;
|
|
215
|
-
if (!(t == null || !
|
|
215
|
+
if (!(t == null || !J0(t))) {
|
|
216
216
|
var n = t == null ? void 0 : t.replace(r, function(s, i, o) {
|
|
217
217
|
var a = s, g = wn(a, e);
|
|
218
|
-
return
|
|
218
|
+
return z0(g) ? "" : g;
|
|
219
219
|
});
|
|
220
220
|
return n;
|
|
221
221
|
}
|
|
222
222
|
}, Ga = (t, e) => {
|
|
223
223
|
const r = /\$\{([^\}]+)\}/g;
|
|
224
|
-
if (!(t == null || !
|
|
224
|
+
if (!(t == null || !J0(t)))
|
|
225
225
|
return t == null ? void 0 : t.replace(r, function(n, s, i, o) {
|
|
226
226
|
return "${" + (e ? e(s) : s) + "}";
|
|
227
227
|
});
|
|
228
|
-
},
|
|
228
|
+
}, vt = (t, e) => {
|
|
229
229
|
var r = Za(t, e), n = Ka(r, e);
|
|
230
230
|
return n;
|
|
231
231
|
}, ui = (t, e, r) => {
|
|
@@ -252,7 +252,7 @@ function Ya() {
|
|
|
252
252
|
const e = document.cookie.split("; "), r = {};
|
|
253
253
|
return e.forEach((n) => {
|
|
254
254
|
const [s, i] = n.split("=");
|
|
255
|
-
|
|
255
|
+
qr(s) || (r[s] = i);
|
|
256
256
|
}), r;
|
|
257
257
|
}
|
|
258
258
|
const li = {
|
|
@@ -274,28 +274,28 @@ function hi(t, e) {
|
|
|
274
274
|
return t.apply(e, arguments);
|
|
275
275
|
};
|
|
276
276
|
}
|
|
277
|
-
const { toString: Va } = Object.prototype, { getPrototypeOf: _n } = Object,
|
|
277
|
+
const { toString: Va } = Object.prototype, { getPrototypeOf: _n } = Object, Lr = ((t) => (e) => {
|
|
278
278
|
const r = Va.call(e);
|
|
279
279
|
return t[r] || (t[r] = r.slice(8, -1).toLowerCase());
|
|
280
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
280
|
+
})(/* @__PURE__ */ Object.create(null)), yt = (t) => (t = t.toLowerCase(), (e) => Lr(e) === t), zr = (t) => (e) => typeof e === t, { isArray: ve } = Array, Se = zr("undefined");
|
|
281
281
|
function Ja(t) {
|
|
282
|
-
return t !== null && !
|
|
282
|
+
return t !== null && !Se(t) && t.constructor !== null && !Se(t.constructor) && tt(t.constructor.isBuffer) && t.constructor.isBuffer(t);
|
|
283
283
|
}
|
|
284
|
-
const di =
|
|
284
|
+
const di = yt("ArrayBuffer");
|
|
285
285
|
function tc(t) {
|
|
286
286
|
let e;
|
|
287
287
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? e = ArrayBuffer.isView(t) : e = t && t.buffer && di(t.buffer), e;
|
|
288
288
|
}
|
|
289
|
-
const ec =
|
|
290
|
-
if (
|
|
289
|
+
const ec = zr("string"), tt = zr("function"), pi = zr("number"), Ur = (t) => t !== null && typeof t == "object", rc = (t) => t === !0 || t === !1, We = (t) => {
|
|
290
|
+
if (Lr(t) !== "object")
|
|
291
291
|
return !1;
|
|
292
292
|
const e = _n(t);
|
|
293
293
|
return (e === null || e === Object.prototype || Object.getPrototypeOf(e) === null) && !(Symbol.toStringTag in t) && !(Symbol.iterator in t);
|
|
294
|
-
}, nc =
|
|
294
|
+
}, nc = yt("Date"), sc = yt("File"), ic = yt("Blob"), oc = yt("FileList"), ac = (t) => Ur(t) && tt(t.pipe), cc = (t) => {
|
|
295
295
|
let e;
|
|
296
|
-
return t && (typeof FormData == "function" && t instanceof FormData ||
|
|
297
|
-
}, xc =
|
|
298
|
-
function
|
|
296
|
+
return t && (typeof FormData == "function" && t instanceof FormData || tt(t.append) && ((e = Lr(t)) === "formdata" || e === "object" && tt(t.toString) && t.toString() === "[object FormData]"));
|
|
297
|
+
}, xc = yt("URLSearchParams"), fc = (t) => t.trim ? t.trim() : t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
298
|
+
function Re(t, e, { allOwnKeys: r = !1 } = {}) {
|
|
299
299
|
if (t === null || typeof t > "u")
|
|
300
300
|
return;
|
|
301
301
|
let n, s;
|
|
@@ -318,18 +318,18 @@ function vi(t, e) {
|
|
|
318
318
|
return s;
|
|
319
319
|
return null;
|
|
320
320
|
}
|
|
321
|
-
const gi = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Bi = (t) => !
|
|
321
|
+
const gi = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Bi = (t) => !Se(t) && t !== gi;
|
|
322
322
|
function pn() {
|
|
323
323
|
const { caseless: t } = Bi(this) && this || {}, e = {}, r = (n, s) => {
|
|
324
324
|
const i = t && vi(e, s) || s;
|
|
325
|
-
|
|
325
|
+
We(e[i]) && We(n) ? e[i] = pn(e[i], n) : We(n) ? e[i] = pn({}, n) : ve(n) ? e[i] = n.slice() : e[i] = n;
|
|
326
326
|
};
|
|
327
327
|
for (let n = 0, s = arguments.length; n < s; n++)
|
|
328
|
-
arguments[n] &&
|
|
328
|
+
arguments[n] && Re(arguments[n], r);
|
|
329
329
|
return e;
|
|
330
330
|
}
|
|
331
|
-
const uc = (t, e, r, { allOwnKeys: n } = {}) => (
|
|
332
|
-
r &&
|
|
331
|
+
const uc = (t, e, r, { allOwnKeys: n } = {}) => (Re(e, (s, i) => {
|
|
332
|
+
r && tt(s) ? t[i] = hi(s, r) : t[i] = s;
|
|
333
333
|
}, { allOwnKeys: n }), t), lc = (t) => (t.charCodeAt(0) === 65279 && (t = t.slice(1)), t), hc = (t, e, r, n) => {
|
|
334
334
|
t.prototype = Object.create(e.prototype, n), t.prototype.constructor = t, Object.defineProperty(t, "super", {
|
|
335
335
|
value: e.prototype
|
|
@@ -374,22 +374,22 @@ const uc = (t, e, r, { allOwnKeys: n } = {}) => (Te(e, (s, i) => {
|
|
|
374
374
|
for (; (r = t.exec(e)) !== null; )
|
|
375
375
|
n.push(r);
|
|
376
376
|
return n;
|
|
377
|
-
}, Ec =
|
|
377
|
+
}, Ec = yt("HTMLFormElement"), mc = (t) => t.toLowerCase().replace(
|
|
378
378
|
/[-_\s]([a-z\d])(\w*)/g,
|
|
379
379
|
function(r, n, s) {
|
|
380
380
|
return n.toUpperCase() + s;
|
|
381
381
|
}
|
|
382
|
-
), Qn = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), bc =
|
|
382
|
+
), Qn = (({ hasOwnProperty: t }) => (e, r) => t.call(e, r))(Object.prototype), bc = yt("RegExp"), yi = (t, e) => {
|
|
383
383
|
const r = Object.getOwnPropertyDescriptors(t), n = {};
|
|
384
|
-
|
|
384
|
+
Re(r, (s, i) => {
|
|
385
385
|
e(s, i, t) !== !1 && (n[i] = s);
|
|
386
386
|
}), Object.defineProperties(t, n);
|
|
387
387
|
}, Ac = (t) => {
|
|
388
388
|
yi(t, (e, r) => {
|
|
389
|
-
if (
|
|
389
|
+
if (tt(t) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
|
|
390
390
|
return !1;
|
|
391
391
|
const n = t[r];
|
|
392
|
-
if (
|
|
392
|
+
if (tt(n)) {
|
|
393
393
|
if (e.enumerable = !1, "writable" in e) {
|
|
394
394
|
e.writable = !1;
|
|
395
395
|
return;
|
|
@@ -419,26 +419,26 @@ const uc = (t, e, r, { allOwnKeys: n } = {}) => (Te(e, (s, i) => {
|
|
|
419
419
|
return r;
|
|
420
420
|
};
|
|
421
421
|
function _c(t) {
|
|
422
|
-
return !!(t &&
|
|
422
|
+
return !!(t && tt(t.append) && t[Symbol.toStringTag] === "FormData" && t[Symbol.iterator]);
|
|
423
423
|
}
|
|
424
424
|
const Sc = (t) => {
|
|
425
425
|
const e = new Array(10), r = (n, s) => {
|
|
426
|
-
if (
|
|
426
|
+
if (Ur(n)) {
|
|
427
427
|
if (e.indexOf(n) >= 0)
|
|
428
428
|
return;
|
|
429
429
|
if (!("toJSON" in n)) {
|
|
430
430
|
e[s] = n;
|
|
431
431
|
const i = ve(n) ? [] : {};
|
|
432
|
-
return
|
|
432
|
+
return Re(n, (o, a) => {
|
|
433
433
|
const g = r(o, s + 1);
|
|
434
|
-
!
|
|
434
|
+
!Se(g) && (i[a] = g);
|
|
435
435
|
}), e[s] = void 0, i;
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
438
|
return n;
|
|
439
439
|
};
|
|
440
440
|
return r(t, 0);
|
|
441
|
-
}, Tc =
|
|
441
|
+
}, Tc = yt("AsyncFunction"), Rc = (t) => t && (Ur(t) || tt(t)) && tt(t.then) && tt(t.catch), O = {
|
|
442
442
|
isArray: ve,
|
|
443
443
|
isArrayBuffer: di,
|
|
444
444
|
isBuffer: Ja,
|
|
@@ -447,27 +447,27 @@ const Sc = (t) => {
|
|
|
447
447
|
isString: ec,
|
|
448
448
|
isNumber: pi,
|
|
449
449
|
isBoolean: rc,
|
|
450
|
-
isObject:
|
|
451
|
-
isPlainObject:
|
|
452
|
-
isUndefined:
|
|
450
|
+
isObject: Ur,
|
|
451
|
+
isPlainObject: We,
|
|
452
|
+
isUndefined: Se,
|
|
453
453
|
isDate: nc,
|
|
454
454
|
isFile: sc,
|
|
455
455
|
isBlob: ic,
|
|
456
456
|
isRegExp: bc,
|
|
457
|
-
isFunction:
|
|
457
|
+
isFunction: tt,
|
|
458
458
|
isStream: ac,
|
|
459
459
|
isURLSearchParams: xc,
|
|
460
460
|
isTypedArray: gc,
|
|
461
461
|
isFileList: oc,
|
|
462
|
-
forEach:
|
|
462
|
+
forEach: Re,
|
|
463
463
|
merge: pn,
|
|
464
464
|
extend: uc,
|
|
465
465
|
trim: fc,
|
|
466
466
|
stripBOM: lc,
|
|
467
467
|
inherits: hc,
|
|
468
468
|
toFlatObject: dc,
|
|
469
|
-
kindOf:
|
|
470
|
-
kindOfTest:
|
|
469
|
+
kindOf: Lr,
|
|
470
|
+
kindOfTest: yt,
|
|
471
471
|
endsWith: pc,
|
|
472
472
|
toArray: vc,
|
|
473
473
|
forEachEntry: Bc,
|
|
@@ -560,7 +560,7 @@ function Oc(t) {
|
|
|
560
560
|
const Pc = O.toFlatObject(O, {}, null, function(e) {
|
|
561
561
|
return /^is[A-Z]/.test(e);
|
|
562
562
|
});
|
|
563
|
-
function
|
|
563
|
+
function $r(t, e, r) {
|
|
564
564
|
if (!O.isObject(t))
|
|
565
565
|
throw new TypeError("target must be an object");
|
|
566
566
|
e = e || new FormData(), r = O.toFlatObject(r, {
|
|
@@ -637,7 +637,7 @@ function Jn(t) {
|
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
639
|
function Sn(t, e) {
|
|
640
|
-
this._pairs = [], t &&
|
|
640
|
+
this._pairs = [], t && $r(t, this, e);
|
|
641
641
|
}
|
|
642
642
|
const Fi = Sn.prototype;
|
|
643
643
|
Fi.append = function(e, r) {
|
|
@@ -727,7 +727,7 @@ const ts = Ic, Di = {
|
|
|
727
727
|
let t;
|
|
728
728
|
return typeof navigator < "u" && ((t = navigator.product) === "ReactNative" || t === "NativeScript" || t === "NS") ? !1 : typeof window < "u" && typeof document < "u";
|
|
729
729
|
})(), Uc = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
730
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
730
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), gt = {
|
|
731
731
|
isBrowser: !0,
|
|
732
732
|
classes: {
|
|
733
733
|
URLSearchParams: qc,
|
|
@@ -739,9 +739,9 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
|
739
739
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
740
740
|
};
|
|
741
741
|
function $c(t, e) {
|
|
742
|
-
return
|
|
742
|
+
return $r(t, new gt.classes.URLSearchParams(), Object.assign({
|
|
743
743
|
visitor: function(r, n, s, i) {
|
|
744
|
-
return
|
|
744
|
+
return gt.isNode && O.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : i.defaultVisitor.apply(this, arguments);
|
|
745
745
|
}
|
|
746
746
|
}, e));
|
|
747
747
|
}
|
|
@@ -784,7 +784,7 @@ function Zc(t, e, r) {
|
|
|
784
784
|
}
|
|
785
785
|
return (r || JSON.stringify)(t);
|
|
786
786
|
}
|
|
787
|
-
const
|
|
787
|
+
const Mr = {
|
|
788
788
|
transitional: Di,
|
|
789
789
|
adapter: ["xhr", "http"],
|
|
790
790
|
transformRequest: [function(e, r) {
|
|
@@ -803,7 +803,7 @@ const $r = {
|
|
|
803
803
|
return $c(e, this.formSerializer).toString();
|
|
804
804
|
if ((a = O.isFileList(e)) || n.indexOf("multipart/form-data") > -1) {
|
|
805
805
|
const g = this.env && this.env.FormData;
|
|
806
|
-
return
|
|
806
|
+
return $r(
|
|
807
807
|
a ? { "files[]": e } : e,
|
|
808
808
|
g && new g(),
|
|
809
809
|
this.formSerializer
|
|
@@ -813,7 +813,7 @@ const $r = {
|
|
|
813
813
|
return i || s ? (r.setContentType("application/json", !1), Zc(e)) : e;
|
|
814
814
|
}],
|
|
815
815
|
transformResponse: [function(e) {
|
|
816
|
-
const r = this.transitional ||
|
|
816
|
+
const r = this.transitional || Mr.transitional, n = r && r.forcedJSONParsing, s = this.responseType === "json";
|
|
817
817
|
if (e && O.isString(e) && (n && !this.responseType || s)) {
|
|
818
818
|
const o = !(r && r.silentJSONParsing) && s;
|
|
819
819
|
try {
|
|
@@ -835,8 +835,8 @@ const $r = {
|
|
|
835
835
|
maxContentLength: -1,
|
|
836
836
|
maxBodyLength: -1,
|
|
837
837
|
env: {
|
|
838
|
-
FormData:
|
|
839
|
-
Blob:
|
|
838
|
+
FormData: gt.classes.FormData,
|
|
839
|
+
Blob: gt.classes.Blob
|
|
840
840
|
},
|
|
841
841
|
validateStatus: function(e) {
|
|
842
842
|
return e >= 200 && e < 300;
|
|
@@ -848,12 +848,12 @@ const $r = {
|
|
|
848
848
|
}
|
|
849
849
|
};
|
|
850
850
|
O.forEach(["delete", "get", "head"], function(e) {
|
|
851
|
-
|
|
851
|
+
Mr.headers[e] = {};
|
|
852
852
|
});
|
|
853
853
|
O.forEach(["post", "put", "patch"], function(e) {
|
|
854
|
-
|
|
854
|
+
Mr.headers[e] = O.merge(Wc);
|
|
855
855
|
});
|
|
856
|
-
const Tn =
|
|
856
|
+
const Tn = Mr, Kc = O.toObjectSet([
|
|
857
857
|
"age",
|
|
858
858
|
"authorization",
|
|
859
859
|
"content-length",
|
|
@@ -879,11 +879,11 @@ const Tn = $r, Kc = O.toObjectSet([
|
|
|
879
879
|
s = o.indexOf(":"), r = o.substring(0, s).trim().toLowerCase(), n = o.substring(s + 1).trim(), !(!r || e[r] && Kc[r]) && (r === "set-cookie" ? e[r] ? e[r].push(n) : e[r] = [n] : e[r] = e[r] ? e[r] + ", " + n : n);
|
|
880
880
|
}), e;
|
|
881
881
|
}, es = Symbol("internals");
|
|
882
|
-
function
|
|
882
|
+
function me(t) {
|
|
883
883
|
return t && String(t).trim().toLowerCase();
|
|
884
884
|
}
|
|
885
|
-
function
|
|
886
|
-
return t === !1 || t == null ? t : O.isArray(t) ? t.map(
|
|
885
|
+
function Ze(t) {
|
|
886
|
+
return t === !1 || t == null ? t : O.isArray(t) ? t.map(Ze) : String(t);
|
|
887
887
|
}
|
|
888
888
|
function Xc(t) {
|
|
889
889
|
const e = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
@@ -917,24 +917,24 @@ function Vc(t, e) {
|
|
|
917
917
|
});
|
|
918
918
|
});
|
|
919
919
|
}
|
|
920
|
-
class
|
|
920
|
+
class jr {
|
|
921
921
|
constructor(e) {
|
|
922
922
|
e && this.set(e);
|
|
923
923
|
}
|
|
924
924
|
set(e, r, n) {
|
|
925
925
|
const s = this;
|
|
926
926
|
function i(a, g, c) {
|
|
927
|
-
const x =
|
|
927
|
+
const x = me(g);
|
|
928
928
|
if (!x)
|
|
929
929
|
throw new Error("header name must be a non-empty string");
|
|
930
930
|
const d = O.findKey(s, x);
|
|
931
|
-
(!d || s[d] === void 0 || c === !0 || c === void 0 && s[d] !== !1) && (s[d || g] =
|
|
931
|
+
(!d || s[d] === void 0 || c === !0 || c === void 0 && s[d] !== !1) && (s[d || g] = Ze(a));
|
|
932
932
|
}
|
|
933
933
|
const o = (a, g) => O.forEach(a, (c, x) => i(c, x, g));
|
|
934
934
|
return O.isPlainObject(e) || e instanceof this.constructor ? o(e, r) : O.isString(e) && (e = e.trim()) && !Qc(e) ? o(Gc(e), r) : e != null && i(r, e, n), this;
|
|
935
935
|
}
|
|
936
936
|
get(e, r) {
|
|
937
|
-
if (e =
|
|
937
|
+
if (e = me(e), e) {
|
|
938
938
|
const n = O.findKey(this, e);
|
|
939
939
|
if (n) {
|
|
940
940
|
const s = this[n];
|
|
@@ -951,7 +951,7 @@ class Mr {
|
|
|
951
951
|
}
|
|
952
952
|
}
|
|
953
953
|
has(e, r) {
|
|
954
|
-
if (e =
|
|
954
|
+
if (e = me(e), e) {
|
|
955
955
|
const n = O.findKey(this, e);
|
|
956
956
|
return !!(n && this[n] !== void 0 && (!r || cn(this, this[n], n, r)));
|
|
957
957
|
}
|
|
@@ -961,7 +961,7 @@ class Mr {
|
|
|
961
961
|
const n = this;
|
|
962
962
|
let s = !1;
|
|
963
963
|
function i(o) {
|
|
964
|
-
if (o =
|
|
964
|
+
if (o = me(o), o) {
|
|
965
965
|
const a = O.findKey(n, o);
|
|
966
966
|
a && (!r || cn(n, n[a], a, r)) && (delete n[a], s = !0);
|
|
967
967
|
}
|
|
@@ -982,11 +982,11 @@ class Mr {
|
|
|
982
982
|
return O.forEach(this, (s, i) => {
|
|
983
983
|
const o = O.findKey(n, i);
|
|
984
984
|
if (o) {
|
|
985
|
-
r[o] =
|
|
985
|
+
r[o] = Ze(s), delete r[i];
|
|
986
986
|
return;
|
|
987
987
|
}
|
|
988
988
|
const a = e ? Yc(i) : String(i).trim();
|
|
989
|
-
a !== i && delete r[i], r[a] =
|
|
989
|
+
a !== i && delete r[i], r[a] = Ze(s), n[a] = !0;
|
|
990
990
|
}), this;
|
|
991
991
|
}
|
|
992
992
|
concat(...e) {
|
|
@@ -1020,18 +1020,18 @@ class Mr {
|
|
|
1020
1020
|
accessors: {}
|
|
1021
1021
|
}).accessors, s = this.prototype;
|
|
1022
1022
|
function i(o) {
|
|
1023
|
-
const a =
|
|
1023
|
+
const a = me(o);
|
|
1024
1024
|
n[a] || (Vc(s, o), n[a] = !0);
|
|
1025
1025
|
}
|
|
1026
1026
|
return O.isArray(e) ? e.forEach(i) : i(e), this;
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
1029
|
-
|
|
1030
|
-
O.freezeMethods(
|
|
1031
|
-
O.freezeMethods(
|
|
1032
|
-
const
|
|
1029
|
+
jr.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
1030
|
+
O.freezeMethods(jr.prototype);
|
|
1031
|
+
O.freezeMethods(jr);
|
|
1032
|
+
const Ct = jr;
|
|
1033
1033
|
function xn(t, e) {
|
|
1034
|
-
const r = this || Tn, n = e || r, s =
|
|
1034
|
+
const r = this || Tn, n = e || r, s = Ct.from(n.headers);
|
|
1035
1035
|
let i = n.data;
|
|
1036
1036
|
return O.forEach(t, function(a) {
|
|
1037
1037
|
i = a.call(r, i, s.normalize(), e ? e.status : void 0);
|
|
@@ -1040,10 +1040,10 @@ function xn(t, e) {
|
|
|
1040
1040
|
function _i(t) {
|
|
1041
1041
|
return !!(t && t.__CANCEL__);
|
|
1042
1042
|
}
|
|
1043
|
-
function
|
|
1043
|
+
function ke(t, e, r) {
|
|
1044
1044
|
x0.call(this, t ?? "canceled", x0.ERR_CANCELED, e, r), this.name = "CanceledError";
|
|
1045
1045
|
}
|
|
1046
|
-
O.inherits(
|
|
1046
|
+
O.inherits(ke, x0, {
|
|
1047
1047
|
__CANCEL__: !0
|
|
1048
1048
|
});
|
|
1049
1049
|
function Jc(t, e, r) {
|
|
@@ -1056,7 +1056,7 @@ function Jc(t, e, r) {
|
|
|
1056
1056
|
r
|
|
1057
1057
|
));
|
|
1058
1058
|
}
|
|
1059
|
-
const tx =
|
|
1059
|
+
const tx = gt.isStandardBrowserEnv ? function() {
|
|
1060
1060
|
return {
|
|
1061
1061
|
write: function(r, n, s, i, o, a) {
|
|
1062
1062
|
const g = [];
|
|
@@ -1090,7 +1090,7 @@ function rx(t, e) {
|
|
|
1090
1090
|
function Si(t, e) {
|
|
1091
1091
|
return t && !ex(e) ? rx(t, e) : e;
|
|
1092
1092
|
}
|
|
1093
|
-
const nx =
|
|
1093
|
+
const nx = gt.isStandardBrowserEnv ? function() {
|
|
1094
1094
|
const e = /(msie|trident)/i.test(navigator.userAgent), r = document.createElement("a");
|
|
1095
1095
|
let n;
|
|
1096
1096
|
function s(i) {
|
|
@@ -1156,12 +1156,12 @@ function rs(t, e) {
|
|
|
1156
1156
|
const ox = typeof XMLHttpRequest < "u", ax = ox && function(t) {
|
|
1157
1157
|
return new Promise(function(r, n) {
|
|
1158
1158
|
let s = t.data;
|
|
1159
|
-
const i =
|
|
1159
|
+
const i = Ct.from(t.headers).normalize(), o = t.responseType;
|
|
1160
1160
|
let a;
|
|
1161
1161
|
function g() {
|
|
1162
1162
|
t.cancelToken && t.cancelToken.unsubscribe(a), t.signal && t.signal.removeEventListener("abort", a);
|
|
1163
1163
|
}
|
|
1164
|
-
O.isFormData(s) && (
|
|
1164
|
+
O.isFormData(s) && (gt.isStandardBrowserEnv || gt.isStandardBrowserWebWorkerEnv ? i.setContentType(!1) : i.setContentType("multipart/form-data;", !1));
|
|
1165
1165
|
let c = new XMLHttpRequest();
|
|
1166
1166
|
if (t.auth) {
|
|
1167
1167
|
const v = t.auth.username || "", f = t.auth.password ? unescape(encodeURIComponent(t.auth.password)) : "";
|
|
@@ -1172,7 +1172,7 @@ const ox = typeof XMLHttpRequest < "u", ax = ox && function(t) {
|
|
|
1172
1172
|
function d() {
|
|
1173
1173
|
if (!c)
|
|
1174
1174
|
return;
|
|
1175
|
-
const v =
|
|
1175
|
+
const v = Ct.from(
|
|
1176
1176
|
"getAllResponseHeaders" in c && c.getAllResponseHeaders()
|
|
1177
1177
|
), l = {
|
|
1178
1178
|
data: !o || o === "text" || o === "json" ? c.responseText : c.response,
|
|
@@ -1203,27 +1203,27 @@ const ox = typeof XMLHttpRequest < "u", ax = ox && function(t) {
|
|
|
1203
1203
|
t,
|
|
1204
1204
|
c
|
|
1205
1205
|
)), c = null;
|
|
1206
|
-
},
|
|
1206
|
+
}, gt.isStandardBrowserEnv) {
|
|
1207
1207
|
const v = (t.withCredentials || nx(x)) && t.xsrfCookieName && tx.read(t.xsrfCookieName);
|
|
1208
1208
|
v && i.set(t.xsrfHeaderName, v);
|
|
1209
1209
|
}
|
|
1210
1210
|
s === void 0 && i.setContentType(null), "setRequestHeader" in c && O.forEach(i.toJSON(), function(f, l) {
|
|
1211
1211
|
c.setRequestHeader(l, f);
|
|
1212
1212
|
}), O.isUndefined(t.withCredentials) || (c.withCredentials = !!t.withCredentials), o && o !== "json" && (c.responseType = t.responseType), typeof t.onDownloadProgress == "function" && c.addEventListener("progress", rs(t.onDownloadProgress, !0)), typeof t.onUploadProgress == "function" && c.upload && c.upload.addEventListener("progress", rs(t.onUploadProgress)), (t.cancelToken || t.signal) && (a = (v) => {
|
|
1213
|
-
c && (n(!v || v.type ? new
|
|
1213
|
+
c && (n(!v || v.type ? new ke(null, t, c) : v), c.abort(), c = null);
|
|
1214
1214
|
}, t.cancelToken && t.cancelToken.subscribe(a), t.signal && (t.signal.aborted ? a() : t.signal.addEventListener("abort", a)));
|
|
1215
1215
|
const h = sx(x);
|
|
1216
|
-
if (h &&
|
|
1216
|
+
if (h && gt.protocols.indexOf(h) === -1) {
|
|
1217
1217
|
n(new x0("Unsupported protocol " + h + ":", x0.ERR_BAD_REQUEST, t));
|
|
1218
1218
|
return;
|
|
1219
1219
|
}
|
|
1220
1220
|
c.send(s || null);
|
|
1221
1221
|
});
|
|
1222
|
-
},
|
|
1222
|
+
}, Ke = {
|
|
1223
1223
|
http: kc,
|
|
1224
1224
|
xhr: ax
|
|
1225
1225
|
};
|
|
1226
|
-
O.forEach(
|
|
1226
|
+
O.forEach(Ke, (t, e) => {
|
|
1227
1227
|
if (t) {
|
|
1228
1228
|
try {
|
|
1229
1229
|
Object.defineProperty(t, "name", { value: e });
|
|
@@ -1237,27 +1237,27 @@ const cx = {
|
|
|
1237
1237
|
t = O.isArray(t) ? t : [t];
|
|
1238
1238
|
const { length: e } = t;
|
|
1239
1239
|
let r, n;
|
|
1240
|
-
for (let s = 0; s < e && (r = t[s], !(n = O.isString(r) ?
|
|
1240
|
+
for (let s = 0; s < e && (r = t[s], !(n = O.isString(r) ? Ke[r.toLowerCase()] : r)); s++)
|
|
1241
1241
|
;
|
|
1242
1242
|
if (!n)
|
|
1243
1243
|
throw n === !1 ? new x0(
|
|
1244
1244
|
`Adapter ${r} is not supported by the environment`,
|
|
1245
1245
|
"ERR_NOT_SUPPORT"
|
|
1246
1246
|
) : new Error(
|
|
1247
|
-
O.hasOwnProp(
|
|
1247
|
+
O.hasOwnProp(Ke, r) ? `Adapter '${r}' is not available in the build` : `Unknown adapter '${r}'`
|
|
1248
1248
|
);
|
|
1249
1249
|
if (!O.isFunction(n))
|
|
1250
1250
|
throw new TypeError("adapter is not a function");
|
|
1251
1251
|
return n;
|
|
1252
1252
|
},
|
|
1253
|
-
adapters:
|
|
1253
|
+
adapters: Ke
|
|
1254
1254
|
};
|
|
1255
1255
|
function fn(t) {
|
|
1256
1256
|
if (t.cancelToken && t.cancelToken.throwIfRequested(), t.signal && t.signal.aborted)
|
|
1257
|
-
throw new
|
|
1257
|
+
throw new ke(null, t);
|
|
1258
1258
|
}
|
|
1259
1259
|
function ns(t) {
|
|
1260
|
-
return fn(t), t.headers =
|
|
1260
|
+
return fn(t), t.headers = Ct.from(t.headers), t.data = xn.call(
|
|
1261
1261
|
t,
|
|
1262
1262
|
t.transformRequest
|
|
1263
1263
|
), ["post", "put", "patch"].indexOf(t.method) !== -1 && t.headers.setContentType("application/x-www-form-urlencoded", !1), cx.getAdapter(t.adapter || Tn.adapter)(t).then(function(n) {
|
|
@@ -1265,16 +1265,16 @@ function ns(t) {
|
|
|
1265
1265
|
t,
|
|
1266
1266
|
t.transformResponse,
|
|
1267
1267
|
n
|
|
1268
|
-
), n.headers =
|
|
1268
|
+
), n.headers = Ct.from(n.headers), n;
|
|
1269
1269
|
}, function(n) {
|
|
1270
1270
|
return _i(n) || (fn(t), n && n.response && (n.response.data = xn.call(
|
|
1271
1271
|
t,
|
|
1272
1272
|
t.transformResponse,
|
|
1273
1273
|
n.response
|
|
1274
|
-
), n.response.headers =
|
|
1274
|
+
), n.response.headers = Ct.from(n.response.headers))), Promise.reject(n);
|
|
1275
1275
|
});
|
|
1276
1276
|
}
|
|
1277
|
-
const ss = (t) => t instanceof
|
|
1277
|
+
const ss = (t) => t instanceof Ct ? t.toJSON() : t;
|
|
1278
1278
|
function le(t, e) {
|
|
1279
1279
|
e = e || {};
|
|
1280
1280
|
const r = {};
|
|
@@ -1385,8 +1385,8 @@ function xx(t, e, r) {
|
|
|
1385
1385
|
const gn = {
|
|
1386
1386
|
assertOptions: xx,
|
|
1387
1387
|
validators: Rn
|
|
1388
|
-
},
|
|
1389
|
-
class
|
|
1388
|
+
}, qt = gn.validators;
|
|
1389
|
+
class tr {
|
|
1390
1390
|
constructor(e) {
|
|
1391
1391
|
this.defaults = e, this.interceptors = {
|
|
1392
1392
|
request: new ts(),
|
|
@@ -1405,14 +1405,14 @@ class Je {
|
|
|
1405
1405
|
typeof e == "string" ? (r = r || {}, r.url = e) : r = e || {}, r = le(this.defaults, r);
|
|
1406
1406
|
const { transitional: n, paramsSerializer: s, headers: i } = r;
|
|
1407
1407
|
n !== void 0 && gn.assertOptions(n, {
|
|
1408
|
-
silentJSONParsing:
|
|
1409
|
-
forcedJSONParsing:
|
|
1410
|
-
clarifyTimeoutError:
|
|
1408
|
+
silentJSONParsing: qt.transitional(qt.boolean),
|
|
1409
|
+
forcedJSONParsing: qt.transitional(qt.boolean),
|
|
1410
|
+
clarifyTimeoutError: qt.transitional(qt.boolean)
|
|
1411
1411
|
}, !1), s != null && (O.isFunction(s) ? r.paramsSerializer = {
|
|
1412
1412
|
serialize: s
|
|
1413
1413
|
} : gn.assertOptions(s, {
|
|
1414
|
-
encode:
|
|
1415
|
-
serialize:
|
|
1414
|
+
encode: qt.function,
|
|
1415
|
+
serialize: qt.function
|
|
1416
1416
|
}, !0)), r.method = (r.method || this.defaults.method || "get").toLowerCase();
|
|
1417
1417
|
let o;
|
|
1418
1418
|
o = i && O.merge(
|
|
@@ -1423,7 +1423,7 @@ class Je {
|
|
|
1423
1423
|
(f) => {
|
|
1424
1424
|
delete i[f];
|
|
1425
1425
|
}
|
|
1426
|
-
), r.headers =
|
|
1426
|
+
), r.headers = Ct.concat(o, i);
|
|
1427
1427
|
const a = [];
|
|
1428
1428
|
let g = !0;
|
|
1429
1429
|
this.interceptors.request.forEach(function(l) {
|
|
@@ -1467,7 +1467,7 @@ class Je {
|
|
|
1467
1467
|
}
|
|
1468
1468
|
}
|
|
1469
1469
|
O.forEach(["delete", "get", "head", "options"], function(e) {
|
|
1470
|
-
|
|
1470
|
+
tr.prototype[e] = function(r, n) {
|
|
1471
1471
|
return this.request(le(n || {}, {
|
|
1472
1472
|
method: e,
|
|
1473
1473
|
url: r,
|
|
@@ -1488,9 +1488,9 @@ O.forEach(["post", "put", "patch"], function(e) {
|
|
|
1488
1488
|
}));
|
|
1489
1489
|
};
|
|
1490
1490
|
}
|
|
1491
|
-
|
|
1491
|
+
tr.prototype[e] = r(), tr.prototype[e + "Form"] = r(!0);
|
|
1492
1492
|
});
|
|
1493
|
-
const
|
|
1493
|
+
const Ge = tr;
|
|
1494
1494
|
class kn {
|
|
1495
1495
|
constructor(e) {
|
|
1496
1496
|
if (typeof e != "function")
|
|
@@ -1516,7 +1516,7 @@ class kn {
|
|
|
1516
1516
|
n.unsubscribe(i);
|
|
1517
1517
|
}, o;
|
|
1518
1518
|
}, e(function(i, o, a) {
|
|
1519
|
-
n.reason || (n.reason = new
|
|
1519
|
+
n.reason || (n.reason = new ke(i, o, a), r(n.reason));
|
|
1520
1520
|
});
|
|
1521
1521
|
}
|
|
1522
1522
|
/**
|
|
@@ -1638,18 +1638,18 @@ Object.entries(Bn).forEach(([t, e]) => {
|
|
|
1638
1638
|
});
|
|
1639
1639
|
const hx = Bn;
|
|
1640
1640
|
function Ri(t) {
|
|
1641
|
-
const e = new
|
|
1642
|
-
return O.extend(r,
|
|
1641
|
+
const e = new Ge(t), r = hi(Ge.prototype.request, e);
|
|
1642
|
+
return O.extend(r, Ge.prototype, e, { allOwnKeys: !0 }), O.extend(r, e, null, { allOwnKeys: !0 }), r.create = function(s) {
|
|
1643
1643
|
return Ri(le(t, s));
|
|
1644
1644
|
}, r;
|
|
1645
1645
|
}
|
|
1646
1646
|
const A0 = Ri(Tn);
|
|
1647
|
-
A0.Axios =
|
|
1648
|
-
A0.CanceledError =
|
|
1647
|
+
A0.Axios = Ge;
|
|
1648
|
+
A0.CanceledError = ke;
|
|
1649
1649
|
A0.CancelToken = fx;
|
|
1650
1650
|
A0.isCancel = _i;
|
|
1651
1651
|
A0.VERSION = Ti;
|
|
1652
|
-
A0.toFormData =
|
|
1652
|
+
A0.toFormData = $r;
|
|
1653
1653
|
A0.AxiosError = x0;
|
|
1654
1654
|
A0.Cancel = A0.CanceledError;
|
|
1655
1655
|
A0.all = function(e) {
|
|
@@ -1658,7 +1658,7 @@ A0.all = function(e) {
|
|
|
1658
1658
|
A0.spread = ux;
|
|
1659
1659
|
A0.isAxiosError = lx;
|
|
1660
1660
|
A0.mergeConfig = le;
|
|
1661
|
-
A0.AxiosHeaders =
|
|
1661
|
+
A0.AxiosHeaders = Ct;
|
|
1662
1662
|
A0.formToJSON = (t) => wi(O.isHTMLForm(t) ? new FormData(t) : t);
|
|
1663
1663
|
A0.HttpStatusCode = hx;
|
|
1664
1664
|
A0.default = A0;
|
|
@@ -1704,24 +1704,24 @@ const ki = A0, dx = (t) => {
|
|
|
1704
1704
|
}, gx = function(t) {
|
|
1705
1705
|
return Oi(window.location.href, t);
|
|
1706
1706
|
}, Oi = function(t, e) {
|
|
1707
|
-
const r =
|
|
1707
|
+
const r = Wr(t);
|
|
1708
1708
|
return r == null ? void 0 : r[e];
|
|
1709
1709
|
}, Bx = (t) => /^(?:%[0-9A-Fa-f]{2}|[A-Za-z0-9\-_.!~*'()]|%20)*$/.test(t), Pi = function() {
|
|
1710
|
-
return
|
|
1710
|
+
return Wr(window.location.href);
|
|
1711
1711
|
}, Hi = (t) => {
|
|
1712
1712
|
var e;
|
|
1713
|
-
return ((e = t == null ? void 0 : t.split("?")) == null ? void 0 : e
|
|
1714
|
-
},
|
|
1713
|
+
return ((e = t == null ? void 0 : t.split("?")) == null ? void 0 : e[0]) || t || "";
|
|
1714
|
+
}, Wr = (t) => {
|
|
1715
1715
|
var s;
|
|
1716
1716
|
const e = {};
|
|
1717
|
-
let r = (s = t == null ? void 0 : t.split("?")) == null ? void 0 : s
|
|
1717
|
+
let r = (s = t == null ? void 0 : t.split("?")) == null ? void 0 : s[1], n = r == null ? void 0 : r.split("&");
|
|
1718
1718
|
for (let i = 0; i < ((n == null ? void 0 : n.length) || 0); i++) {
|
|
1719
1719
|
let o = n == null ? void 0 : n[i].split("="), a = (o == null ? void 0 : o[0]) || "", g = (o == null ? void 0 : o[1]) || "";
|
|
1720
1720
|
Bx(g) ? e[a] = decodeURIComponent(g) : e[a] = g;
|
|
1721
1721
|
}
|
|
1722
1722
|
return e;
|
|
1723
1723
|
}, Ii = (t, e, r) => {
|
|
1724
|
-
e = Object.assign(
|
|
1724
|
+
e = Object.assign(Wr(t) || {}, e), t = Hi(t);
|
|
1725
1725
|
const n = Object.entries(e).map(([s, i]) => r === !1 ? `${s}=${i == null ? void 0 : i.toString()}` : `${encodeURIComponent(s)}=${encodeURIComponent(i == null ? void 0 : i.toString())}`).join("&");
|
|
1726
1726
|
return n ? `${t}?${n}` : t;
|
|
1727
1727
|
}, yx = (t) => Ii(t, Pi()), qi = (t) => {
|
|
@@ -1735,22 +1735,22 @@ const ki = A0, dx = (t) => {
|
|
|
1735
1735
|
}, mx = () => {
|
|
1736
1736
|
function t(g, c, x = "", d = !1) {
|
|
1737
1737
|
const h = (S) => {
|
|
1738
|
-
const [T,
|
|
1738
|
+
const [T, H = ""] = S.split("#", 2), [w, F = ""] = T.split("?", 2);
|
|
1739
1739
|
return {
|
|
1740
1740
|
path: w.replace(/^#/, "").replace(/\/+$/, ""),
|
|
1741
1741
|
// 规范化路径
|
|
1742
1742
|
searchParams: new URLSearchParams(F),
|
|
1743
|
-
hashFragment:
|
|
1743
|
+
hashFragment: H
|
|
1744
1744
|
};
|
|
1745
1745
|
}, v = h(g), f = h(c), l = d ? new URLSearchParams(v.searchParams) : new URLSearchParams();
|
|
1746
1746
|
f.searchParams.forEach((S, T) => {
|
|
1747
1747
|
l.set(T, S);
|
|
1748
1748
|
});
|
|
1749
1749
|
const y = (S, T) => {
|
|
1750
|
-
const
|
|
1750
|
+
const H = S.split("/").filter(Boolean), w = T.split("/").filter(Boolean);
|
|
1751
1751
|
for (const F of w)
|
|
1752
|
-
F !== "." && (F === ".." ?
|
|
1753
|
-
return `/${
|
|
1752
|
+
F !== "." && (F === ".." ? H.length > 0 && H.pop() : H.push(F));
|
|
1753
|
+
return `/${H.join("/")}`;
|
|
1754
1754
|
}, E = ((S, T) => T.startsWith("/") ? `/${T.replace(/^\/+/, "")}` : y(S, f.path))(v.path, f.path), B = l.toString(), C = `${`${E}${B ? `?${B}` : ""}`}${f.hashFragment ? `#${f.hashFragment}` : ""}`;
|
|
1755
1755
|
return (s() ? `/${x}#/${C}` : C).replace(/\/+/g, "/").replace(/^#\//, "#").replace(/%20/g, "+").replace(/[?#]/g, (S) => S);
|
|
1756
1756
|
}
|
|
@@ -1781,14 +1781,14 @@ const ki = A0, dx = (t) => {
|
|
|
1781
1781
|
getBaseUrl: Hi,
|
|
1782
1782
|
getQueryParam: Oi,
|
|
1783
1783
|
getLocationQueryParam: gx,
|
|
1784
|
-
getQueryParams:
|
|
1784
|
+
getQueryParams: Wr,
|
|
1785
1785
|
getLocationQueryParams: Pi,
|
|
1786
1786
|
buildUrlByLocalQuery: yx,
|
|
1787
1787
|
isUrl: qi,
|
|
1788
1788
|
refresh: Ex,
|
|
1789
1789
|
resolveByCurrentUrl: bx
|
|
1790
1790
|
};
|
|
1791
|
-
class
|
|
1791
|
+
class W0 {
|
|
1792
1792
|
/**
|
|
1793
1793
|
* 向上查找 window 或 iframe
|
|
1794
1794
|
* @param startWindow 起始窗口
|
|
@@ -1839,7 +1839,7 @@ class M0 {
|
|
|
1839
1839
|
window: s,
|
|
1840
1840
|
iframe: i
|
|
1841
1841
|
};
|
|
1842
|
-
const o =
|
|
1842
|
+
const o = W0.findDown(s, r);
|
|
1843
1843
|
if (o)
|
|
1844
1844
|
return o;
|
|
1845
1845
|
}
|
|
@@ -1855,21 +1855,21 @@ class M0 {
|
|
|
1855
1855
|
* @param direction 查找方向: 'up'|'down'|'both' (默认 'both')
|
|
1856
1856
|
*/
|
|
1857
1857
|
static find(e, r, n = "both") {
|
|
1858
|
-
const s =
|
|
1858
|
+
const s = W0.findByIframeId(r, e);
|
|
1859
1859
|
if (s)
|
|
1860
1860
|
return s;
|
|
1861
1861
|
if (n === "up" || n === "both") {
|
|
1862
|
-
const i =
|
|
1862
|
+
const i = W0.findUp(e, r);
|
|
1863
1863
|
if (i)
|
|
1864
1864
|
return i;
|
|
1865
1865
|
}
|
|
1866
1866
|
if (n === "down" || n === "both") {
|
|
1867
|
-
const i =
|
|
1867
|
+
const i = W0.findDown(e, r);
|
|
1868
1868
|
if (i)
|
|
1869
1869
|
return i;
|
|
1870
1870
|
}
|
|
1871
1871
|
if (n === "both") {
|
|
1872
|
-
const i =
|
|
1872
|
+
const i = W0.findDown(this.findTop(e), r);
|
|
1873
1873
|
if (i)
|
|
1874
1874
|
return i;
|
|
1875
1875
|
}
|
|
@@ -1899,11 +1899,11 @@ class M0 {
|
|
|
1899
1899
|
}
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
|
-
const
|
|
1903
|
-
const r =
|
|
1902
|
+
const Zr = (t, e) => t ? (t.postMessage(K0(e), "*"), !0) : !1, Ax = (t, e) => {
|
|
1903
|
+
const r = W0.find(window, t);
|
|
1904
1904
|
if (r)
|
|
1905
|
-
return
|
|
1906
|
-
}, Fx = (t, e) =>
|
|
1905
|
+
return Zr(r.window, e);
|
|
1906
|
+
}, Fx = (t, e) => Zr(t == null ? void 0 : t.contentWindow, e), Cx = (t) => Zr(window.parent, t), Dx = (t, e = !1) => {
|
|
1907
1907
|
const r = (n) => {
|
|
1908
1908
|
t == null || t(n), e && window.removeEventListener("message", r);
|
|
1909
1909
|
};
|
|
@@ -1911,7 +1911,7 @@ const Wr = (t, e) => t ? (t.postMessage(W0(e), "*"), !0) : !1, Ax = (t, e) => {
|
|
|
1911
1911
|
};
|
|
1912
1912
|
function Ni() {
|
|
1913
1913
|
return {
|
|
1914
|
-
send:
|
|
1914
|
+
send: Zr,
|
|
1915
1915
|
receive: Dx,
|
|
1916
1916
|
sendToIframe: Fx,
|
|
1917
1917
|
sendToIframeByName: Ax,
|
|
@@ -1937,22 +1937,22 @@ var he = {}, wx = {
|
|
|
1937
1937
|
}
|
|
1938
1938
|
function a(u, p, m, D, N, $) {
|
|
1939
1939
|
for (; --$ >= 0; ) {
|
|
1940
|
-
var
|
|
1941
|
-
N = Math.floor(
|
|
1940
|
+
var Z = p * this[u++] + m[D] + N;
|
|
1941
|
+
N = Math.floor(Z / 67108864), m[D++] = Z & 67108863;
|
|
1942
1942
|
}
|
|
1943
1943
|
return N;
|
|
1944
1944
|
}
|
|
1945
1945
|
function g(u, p, m, D, N, $) {
|
|
1946
|
-
for (var
|
|
1947
|
-
var v0 = this[u] & 32767,
|
|
1948
|
-
v0 =
|
|
1946
|
+
for (var Z = p & 32767, G = p >> 15; --$ >= 0; ) {
|
|
1947
|
+
var v0 = this[u] & 32767, _0 = this[u++] >> 15, X0 = G * v0 + _0 * Z;
|
|
1948
|
+
v0 = Z * v0 + ((X0 & 32767) << 15) + m[D] + (N & 1073741823), N = (v0 >>> 30) + (X0 >>> 15) + G * _0 + (N >>> 30), m[D++] = v0 & 1073741823;
|
|
1949
1949
|
}
|
|
1950
1950
|
return N;
|
|
1951
1951
|
}
|
|
1952
1952
|
function c(u, p, m, D, N, $) {
|
|
1953
|
-
for (var
|
|
1954
|
-
var v0 = this[u] & 16383,
|
|
1955
|
-
v0 =
|
|
1953
|
+
for (var Z = p & 16383, G = p >> 14; --$ >= 0; ) {
|
|
1954
|
+
var v0 = this[u] & 16383, _0 = this[u++] >> 14, X0 = G * v0 + _0 * Z;
|
|
1955
|
+
v0 = Z * v0 + ((X0 & 16383) << 14) + m[D] + N, N = (v0 >> 28) + (X0 >> 14) + G * _0, m[D++] = v0 & 268435455;
|
|
1956
1956
|
}
|
|
1957
1957
|
return N;
|
|
1958
1958
|
}
|
|
@@ -2006,12 +2006,12 @@ var he = {}, wx = {
|
|
|
2006
2006
|
}
|
|
2007
2007
|
this.t = 0, this.s = 0;
|
|
2008
2008
|
for (var D = u.length, N = !1, $ = 0; --D >= 0; ) {
|
|
2009
|
-
var
|
|
2010
|
-
if (
|
|
2009
|
+
var Z = m == 8 ? u[D] & 255 : A(u, D);
|
|
2010
|
+
if (Z < 0) {
|
|
2011
2011
|
u.charAt(D) == "-" && (N = !0);
|
|
2012
2012
|
continue;
|
|
2013
2013
|
}
|
|
2014
|
-
N = !1, $ == 0 ? this[this.t++] =
|
|
2014
|
+
N = !1, $ == 0 ? this[this.t++] = Z : $ + m > this.DB ? (this[this.t - 1] |= (Z & (1 << this.DB - $) - 1) << $, this[this.t++] = Z >> this.DB - $) : this[this.t - 1] |= Z << $, $ += m, $ >= this.DB && ($ -= this.DB);
|
|
2015
2015
|
}
|
|
2016
2016
|
m == 8 && u[0] & 128 && (this.s = -1, $ > 0 && (this[this.t - 1] |= (1 << this.DB - $) - 1 << $)), this.clamp(), N && i.ZERO.subTo(this, this);
|
|
2017
2017
|
}
|
|
@@ -2035,17 +2035,17 @@ var he = {}, wx = {
|
|
|
2035
2035
|
p = 2;
|
|
2036
2036
|
else
|
|
2037
2037
|
return this.toRadix(u);
|
|
2038
|
-
var m = (1 << p) - 1, D, N = !1, $ = "",
|
|
2039
|
-
if (
|
|
2040
|
-
for (G < this.DB && (D = this[
|
|
2041
|
-
G < p ? (D = (this[
|
|
2038
|
+
var m = (1 << p) - 1, D, N = !1, $ = "", Z = this.t, G = this.DB - Z * this.DB % p;
|
|
2039
|
+
if (Z-- > 0)
|
|
2040
|
+
for (G < this.DB && (D = this[Z] >> G) > 0 && (N = !0, $ = y(D)); Z >= 0; )
|
|
2041
|
+
G < p ? (D = (this[Z] & (1 << G) - 1) << p - G, D |= this[--Z] >> (G += this.DB - p)) : (D = this[Z] >> (G -= p) & m, G <= 0 && (G += this.DB, --Z)), D > 0 && (N = !0), N && ($ += y(D));
|
|
2042
2042
|
return N ? $ : "0";
|
|
2043
2043
|
}
|
|
2044
2044
|
function T() {
|
|
2045
2045
|
var u = o();
|
|
2046
2046
|
return i.ZERO.subTo(this, u), u;
|
|
2047
2047
|
}
|
|
2048
|
-
function
|
|
2048
|
+
function H() {
|
|
2049
2049
|
return this.s < 0 ? this.negate() : this;
|
|
2050
2050
|
}
|
|
2051
2051
|
function w(u) {
|
|
@@ -2081,12 +2081,12 @@ var he = {}, wx = {
|
|
|
2081
2081
|
p.t = Math.max(this.t - u, 0), p.s = this.s;
|
|
2082
2082
|
}
|
|
2083
2083
|
function J(u, p) {
|
|
2084
|
-
var m = u % this.DB, D = this.DB - m, N = (1 << D) - 1, $ = Math.floor(u / this.DB),
|
|
2084
|
+
var m = u % this.DB, D = this.DB - m, N = (1 << D) - 1, $ = Math.floor(u / this.DB), Z = this.s << m & this.DM, G;
|
|
2085
2085
|
for (G = this.t - 1; G >= 0; --G)
|
|
2086
|
-
p[G + $ + 1] = this[G] >> D |
|
|
2086
|
+
p[G + $ + 1] = this[G] >> D | Z, Z = (this[G] & N) << m;
|
|
2087
2087
|
for (G = $ - 1; G >= 0; --G)
|
|
2088
2088
|
p[G] = 0;
|
|
2089
|
-
p[$] =
|
|
2089
|
+
p[$] = Z, p.t = this.t + $ + 1, p.s = this.s, p.clamp();
|
|
2090
2090
|
}
|
|
2091
2091
|
function e0(u, p) {
|
|
2092
2092
|
p.s = this.s;
|
|
@@ -2097,8 +2097,8 @@ var he = {}, wx = {
|
|
|
2097
2097
|
}
|
|
2098
2098
|
var D = u % this.DB, N = this.DB - D, $ = (1 << D) - 1;
|
|
2099
2099
|
p[0] = this[m] >> D;
|
|
2100
|
-
for (var
|
|
2101
|
-
p[
|
|
2100
|
+
for (var Z = m + 1; Z < this.t; ++Z)
|
|
2101
|
+
p[Z - m - 1] |= (this[Z] & $) << N, p[Z - m] = this[Z] >> D;
|
|
2102
2102
|
D > 0 && (p[this.t - m - 1] |= (this.s & $) << N), p.t = this.t - m, p.clamp();
|
|
2103
2103
|
}
|
|
2104
2104
|
function u0(u, p) {
|
|
@@ -2141,28 +2141,28 @@ var he = {}, wx = {
|
|
|
2141
2141
|
return;
|
|
2142
2142
|
}
|
|
2143
2143
|
m == null && (m = o());
|
|
2144
|
-
var $ = o(),
|
|
2144
|
+
var $ = o(), Z = this.s, G = u.s, v0 = this.DB - F(D[D.t - 1]);
|
|
2145
2145
|
v0 > 0 ? (D.lShiftTo(v0, $), N.lShiftTo(v0, m)) : (D.copyTo($), N.copyTo(m));
|
|
2146
|
-
var
|
|
2147
|
-
if (
|
|
2148
|
-
var
|
|
2149
|
-
for ($.dlShiftTo(
|
|
2146
|
+
var _0 = $.t, X0 = $[_0 - 1];
|
|
2147
|
+
if (X0 != 0) {
|
|
2148
|
+
var j0 = X0 * (1 << this.F1) + (_0 > 1 ? $[_0 - 2] >> this.F2 : 0), bt = this.FV / j0, qe = (1 << this.F1) / j0, st = 1 << this.F2, it = m.t, Ne = it - _0, It = p ?? o();
|
|
2149
|
+
for ($.dlShiftTo(Ne, It), m.compareTo(It) >= 0 && (m[m.t++] = 1, m.subTo(It, m)), i.ONE.dlShiftTo(_0, It), It.subTo($, $); $.t < _0; )
|
|
2150
2150
|
$[$.t++] = 0;
|
|
2151
|
-
for (; --
|
|
2152
|
-
var tn = m[--
|
|
2153
|
-
if ((m[
|
|
2154
|
-
for ($.dlShiftTo(
|
|
2155
|
-
m.subTo(
|
|
2151
|
+
for (; --Ne >= 0; ) {
|
|
2152
|
+
var tn = m[--it] == X0 ? this.DM : Math.floor(m[it] * bt + (m[it - 1] + st) * qe);
|
|
2153
|
+
if ((m[it] += $.am(0, tn, m, Ne, 0, _0)) < tn)
|
|
2154
|
+
for ($.dlShiftTo(Ne, It), m.subTo(It, m); m[it] < --tn; )
|
|
2155
|
+
m.subTo(It, m);
|
|
2156
2156
|
}
|
|
2157
|
-
p != null && (m.drShiftTo(
|
|
2157
|
+
p != null && (m.drShiftTo(_0, p), Z != G && i.ZERO.subTo(p, p)), m.t = _0, m.clamp(), v0 > 0 && m.rShiftTo(v0, m), Z < 0 && i.ZERO.subTo(m, m);
|
|
2158
2158
|
}
|
|
2159
2159
|
}
|
|
2160
2160
|
}
|
|
2161
|
-
function
|
|
2161
|
+
function P(u) {
|
|
2162
2162
|
var p = o();
|
|
2163
2163
|
return this.abs().divRemTo(u, null, p), this.s < 0 && p.compareTo(i.ZERO) > 0 && u.subTo(p, p), p;
|
|
2164
2164
|
}
|
|
2165
|
-
function
|
|
2165
|
+
function I(u) {
|
|
2166
2166
|
this.m = u;
|
|
2167
2167
|
}
|
|
2168
2168
|
function M(u) {
|
|
@@ -2177,10 +2177,10 @@ var he = {}, wx = {
|
|
|
2177
2177
|
function h0(u, p, m) {
|
|
2178
2178
|
u.multiplyTo(p, m), this.reduce(m);
|
|
2179
2179
|
}
|
|
2180
|
-
function
|
|
2180
|
+
function m0(u, p) {
|
|
2181
2181
|
u.squareTo(p), this.reduce(p);
|
|
2182
2182
|
}
|
|
2183
|
-
|
|
2183
|
+
I.prototype.convert = M, I.prototype.revert = U, I.prototype.reduce = d0, I.prototype.mulTo = h0, I.prototype.sqrTo = m0;
|
|
2184
2184
|
function r0() {
|
|
2185
2185
|
if (this.t < 1)
|
|
2186
2186
|
return 0;
|
|
@@ -2190,18 +2190,18 @@ var he = {}, wx = {
|
|
|
2190
2190
|
var p = u & 3;
|
|
2191
2191
|
return p = p * (2 - (u & 15) * p) & 15, p = p * (2 - (u & 255) * p) & 255, p = p * (2 - ((u & 65535) * p & 65535)) & 65535, p = p * (2 - u * p % this.DV) % this.DV, p > 0 ? this.DV - p : -p;
|
|
2192
2192
|
}
|
|
2193
|
-
function
|
|
2193
|
+
function P0(u) {
|
|
2194
2194
|
this.m = u, this.mp = u.invDigit(), this.mpl = this.mp & 32767, this.mph = this.mp >> 15, this.um = (1 << u.DB - 15) - 1, this.mt2 = 2 * u.t;
|
|
2195
2195
|
}
|
|
2196
|
-
function
|
|
2196
|
+
function F0(u) {
|
|
2197
2197
|
var p = o();
|
|
2198
2198
|
return u.abs().dlShiftTo(this.m.t, p), p.divRemTo(this.m, null, p), u.s < 0 && p.compareTo(i.ZERO) > 0 && this.m.subTo(p, p), p;
|
|
2199
2199
|
}
|
|
2200
|
-
function
|
|
2200
|
+
function wt(u) {
|
|
2201
2201
|
var p = o();
|
|
2202
2202
|
return u.copyTo(p), this.reduce(p), p;
|
|
2203
2203
|
}
|
|
2204
|
-
function
|
|
2204
|
+
function Et(u) {
|
|
2205
2205
|
for (; u.t <= this.mt2; )
|
|
2206
2206
|
u[u.t++] = 0;
|
|
2207
2207
|
for (var p = 0; p < this.m.t; ++p) {
|
|
@@ -2211,17 +2211,17 @@ var he = {}, wx = {
|
|
|
2211
2211
|
}
|
|
2212
2212
|
u.clamp(), u.drShiftTo(this.m.t, u), u.compareTo(this.m) >= 0 && u.subTo(this.m, u);
|
|
2213
2213
|
}
|
|
2214
|
-
function
|
|
2214
|
+
function H0(u, p) {
|
|
2215
2215
|
u.squareTo(p), this.reduce(p);
|
|
2216
2216
|
}
|
|
2217
|
-
function
|
|
2217
|
+
function T0(u, p, m) {
|
|
2218
2218
|
u.multiplyTo(p, m), this.reduce(m);
|
|
2219
2219
|
}
|
|
2220
|
-
|
|
2221
|
-
function
|
|
2220
|
+
P0.prototype.convert = F0, P0.prototype.revert = wt, P0.prototype.reduce = Et, P0.prototype.mulTo = T0, P0.prototype.sqrTo = H0;
|
|
2221
|
+
function _t() {
|
|
2222
2222
|
return (this.t > 0 ? this[0] & 1 : this.s) == 0;
|
|
2223
2223
|
}
|
|
2224
|
-
function
|
|
2224
|
+
function mt(u, p) {
|
|
2225
2225
|
if (u > 4294967295 || u < 1)
|
|
2226
2226
|
return i.ONE;
|
|
2227
2227
|
var m = o(), D = o(), N = p.convert(this), $ = F(u) - 1;
|
|
@@ -2229,16 +2229,16 @@ var he = {}, wx = {
|
|
|
2229
2229
|
if (p.sqrTo(m, D), (u & 1 << $) > 0)
|
|
2230
2230
|
p.mulTo(D, N, m);
|
|
2231
2231
|
else {
|
|
2232
|
-
var
|
|
2233
|
-
m = D, D =
|
|
2232
|
+
var Z = m;
|
|
2233
|
+
m = D, D = Z;
|
|
2234
2234
|
}
|
|
2235
2235
|
return p.revert(m);
|
|
2236
2236
|
}
|
|
2237
|
-
function
|
|
2237
|
+
function St(u, p) {
|
|
2238
2238
|
var m;
|
|
2239
|
-
return u < 256 || p.isEven() ? m = new
|
|
2239
|
+
return u < 256 || p.isEven() ? m = new I(p) : m = new P0(p), this.exp(u, m);
|
|
2240
2240
|
}
|
|
2241
|
-
i.prototype.copyTo = E, i.prototype.fromInt = B, i.prototype.fromString = C, i.prototype.clamp = _, i.prototype.dlShiftTo = z, i.prototype.drShiftTo = Y, i.prototype.lShiftTo = J, i.prototype.rShiftTo = e0, i.prototype.subTo = u0, i.prototype.multiplyTo = V, i.prototype.squareTo = l0, i.prototype.divRemTo = a0, i.prototype.invDigit = r0, i.prototype.isEven =
|
|
2241
|
+
i.prototype.copyTo = E, i.prototype.fromInt = B, i.prototype.fromString = C, i.prototype.clamp = _, i.prototype.dlShiftTo = z, i.prototype.drShiftTo = Y, i.prototype.lShiftTo = J, i.prototype.rShiftTo = e0, i.prototype.subTo = u0, i.prototype.multiplyTo = V, i.prototype.squareTo = l0, i.prototype.divRemTo = a0, i.prototype.invDigit = r0, i.prototype.isEven = _t, i.prototype.exp = mt, i.prototype.toString = S, i.prototype.negate = T, i.prototype.abs = H, i.prototype.compareTo = w, i.prototype.bitLength = L, i.prototype.mod = P, i.prototype.modPowInt = St, i.ZERO = b(0), i.ONE = b(1);
|
|
2242
2242
|
function xt() {
|
|
2243
2243
|
var u = o();
|
|
2244
2244
|
return this.copyTo(u), u;
|
|
@@ -2257,51 +2257,51 @@ var he = {}, wx = {
|
|
|
2257
2257
|
}
|
|
2258
2258
|
return (this[1] & (1 << 32 - this.DB) - 1) << this.DB | this[0];
|
|
2259
2259
|
}
|
|
2260
|
-
function
|
|
2260
|
+
function ft() {
|
|
2261
2261
|
return this.t == 0 ? this.s : this[0] << 24 >> 24;
|
|
2262
2262
|
}
|
|
2263
|
-
function
|
|
2263
|
+
function $0() {
|
|
2264
2264
|
return this.t == 0 ? this.s : this[0] << 16 >> 16;
|
|
2265
2265
|
}
|
|
2266
|
-
function
|
|
2266
|
+
function I0(u) {
|
|
2267
2267
|
return Math.floor(Math.LN2 * this.DB / Math.log(u));
|
|
2268
2268
|
}
|
|
2269
|
-
function
|
|
2269
|
+
function R() {
|
|
2270
2270
|
return this.s < 0 ? -1 : this.t <= 0 || this.t == 1 && this[0] <= 0 ? 0 : 1;
|
|
2271
2271
|
}
|
|
2272
|
-
function
|
|
2272
|
+
function q(u) {
|
|
2273
2273
|
if (u == null && (u = 10), this.signum() == 0 || u < 2 || u > 36)
|
|
2274
2274
|
return "0";
|
|
2275
|
-
var p = this.chunkSize(u), m = Math.pow(u, p), D = b(m), N = o(), $ = o(),
|
|
2275
|
+
var p = this.chunkSize(u), m = Math.pow(u, p), D = b(m), N = o(), $ = o(), Z = "";
|
|
2276
2276
|
for (this.divRemTo(D, N, $); N.signum() > 0; )
|
|
2277
|
-
|
|
2278
|
-
return $.intValue().toString(u) +
|
|
2277
|
+
Z = (m + $.intValue()).toString(u).substr(1) + Z, N.divRemTo(D, N, $);
|
|
2278
|
+
return $.intValue().toString(u) + Z;
|
|
2279
2279
|
}
|
|
2280
|
-
function
|
|
2280
|
+
function k(u, p) {
|
|
2281
2281
|
this.fromInt(0), p == null && (p = 10);
|
|
2282
|
-
for (var m = this.chunkSize(p), D = Math.pow(p, m), N = !1, $ = 0,
|
|
2282
|
+
for (var m = this.chunkSize(p), D = Math.pow(p, m), N = !1, $ = 0, Z = 0, G = 0; G < u.length; ++G) {
|
|
2283
2283
|
var v0 = A(u, G);
|
|
2284
2284
|
if (v0 < 0) {
|
|
2285
2285
|
u.charAt(G) == "-" && this.signum() == 0 && (N = !0);
|
|
2286
2286
|
continue;
|
|
2287
2287
|
}
|
|
2288
|
-
|
|
2288
|
+
Z = p * Z + v0, ++$ >= m && (this.dMultiply(D), this.dAddOffset(Z, 0), $ = 0, Z = 0);
|
|
2289
2289
|
}
|
|
2290
|
-
$ > 0 && (this.dMultiply(Math.pow(p, $)), this.dAddOffset(
|
|
2290
|
+
$ > 0 && (this.dMultiply(Math.pow(p, $)), this.dAddOffset(Z, 0)), N && i.ZERO.subTo(this, this);
|
|
2291
2291
|
}
|
|
2292
|
-
function
|
|
2292
|
+
function W(u, p, m) {
|
|
2293
2293
|
if (typeof p == "number")
|
|
2294
2294
|
if (u < 2)
|
|
2295
2295
|
this.fromInt(1);
|
|
2296
2296
|
else
|
|
2297
|
-
for (this.fromNumber(u, m), this.testBit(u - 1) || this.bitwiseTo(i.ONE.shiftLeft(u - 1),
|
|
2297
|
+
for (this.fromNumber(u, m), this.testBit(u - 1) || this.bitwiseTo(i.ONE.shiftLeft(u - 1), D0, this), this.isEven() && this.dAddOffset(1, 0); !this.isProbablePrime(p); )
|
|
2298
2298
|
this.dAddOffset(2, 0), this.bitLength() > u && this.subTo(i.ONE.shiftLeft(u - 1), this);
|
|
2299
2299
|
else {
|
|
2300
2300
|
var D = new Array(), N = u & 7;
|
|
2301
2301
|
D.length = (u >> 3) + 1, p.nextBytes(D), N > 0 ? D[0] &= (1 << N) - 1 : D[0] = 0, this.fromString(D, 256);
|
|
2302
2302
|
}
|
|
2303
2303
|
}
|
|
2304
|
-
function
|
|
2304
|
+
function X() {
|
|
2305
2305
|
var u = this.t, p = new Array();
|
|
2306
2306
|
p[0] = this.s;
|
|
2307
2307
|
var m = this.DB - u * this.DB % 8, D, N = 0;
|
|
@@ -2310,16 +2310,16 @@ var he = {}, wx = {
|
|
|
2310
2310
|
m < 8 ? (D = (this[u] & (1 << m) - 1) << 8 - m, D |= this[--u] >> (m += this.DB - 8)) : (D = this[u] >> (m -= 8) & 255, m <= 0 && (m += this.DB, --u)), D & 128 && (D |= -256), N == 0 && (this.s & 128) != (D & 128) && ++N, (N > 0 || D != this.s) && (p[N++] = D);
|
|
2311
2311
|
return p;
|
|
2312
2312
|
}
|
|
2313
|
-
function
|
|
2313
|
+
function t0(u) {
|
|
2314
2314
|
return this.compareTo(u) == 0;
|
|
2315
2315
|
}
|
|
2316
|
-
function
|
|
2316
|
+
function p0(u) {
|
|
2317
2317
|
return this.compareTo(u) < 0 ? this : u;
|
|
2318
2318
|
}
|
|
2319
|
-
function
|
|
2319
|
+
function c0(u) {
|
|
2320
2320
|
return this.compareTo(u) > 0 ? this : u;
|
|
2321
2321
|
}
|
|
2322
|
-
function
|
|
2322
|
+
function B0(u, p, m) {
|
|
2323
2323
|
var D, N, $ = Math.min(u.t, this.t);
|
|
2324
2324
|
for (D = 0; D < $; ++D)
|
|
2325
2325
|
m[D] = p(this[D], u[D]);
|
|
@@ -2334,48 +2334,48 @@ var he = {}, wx = {
|
|
|
2334
2334
|
}
|
|
2335
2335
|
m.s = p(this.s, u.s), m.clamp();
|
|
2336
2336
|
}
|
|
2337
|
-
function
|
|
2337
|
+
function b0(u, p) {
|
|
2338
2338
|
return u & p;
|
|
2339
2339
|
}
|
|
2340
|
-
function
|
|
2340
|
+
function C0(u) {
|
|
2341
2341
|
var p = o();
|
|
2342
|
-
return this.bitwiseTo(u,
|
|
2342
|
+
return this.bitwiseTo(u, b0, p), p;
|
|
2343
2343
|
}
|
|
2344
|
-
function
|
|
2344
|
+
function D0(u, p) {
|
|
2345
2345
|
return u | p;
|
|
2346
2346
|
}
|
|
2347
|
-
function
|
|
2347
|
+
function q0(u) {
|
|
2348
2348
|
var p = o();
|
|
2349
|
-
return this.bitwiseTo(u,
|
|
2349
|
+
return this.bitwiseTo(u, D0, p), p;
|
|
2350
2350
|
}
|
|
2351
|
-
function
|
|
2351
|
+
function G0(u, p) {
|
|
2352
2352
|
return u ^ p;
|
|
2353
2353
|
}
|
|
2354
|
-
function
|
|
2354
|
+
function ut(u) {
|
|
2355
2355
|
var p = o();
|
|
2356
|
-
return this.bitwiseTo(u,
|
|
2356
|
+
return this.bitwiseTo(u, G0, p), p;
|
|
2357
2357
|
}
|
|
2358
|
-
function
|
|
2358
|
+
function rt(u, p) {
|
|
2359
2359
|
return u & ~p;
|
|
2360
2360
|
}
|
|
2361
|
-
function
|
|
2361
|
+
function Gt(u) {
|
|
2362
2362
|
var p = o();
|
|
2363
|
-
return this.bitwiseTo(u,
|
|
2363
|
+
return this.bitwiseTo(u, rt, p), p;
|
|
2364
2364
|
}
|
|
2365
|
-
function
|
|
2365
|
+
function Rt() {
|
|
2366
2366
|
for (var u = o(), p = 0; p < this.t; ++p)
|
|
2367
2367
|
u[p] = this.DM & ~this[p];
|
|
2368
2368
|
return u.t = this.t, u.s = ~this.s, u;
|
|
2369
2369
|
}
|
|
2370
|
-
function
|
|
2370
|
+
function kt(u) {
|
|
2371
2371
|
var p = o();
|
|
2372
2372
|
return u < 0 ? this.rShiftTo(-u, p) : this.lShiftTo(u, p), p;
|
|
2373
2373
|
}
|
|
2374
|
-
function
|
|
2374
|
+
function se(u) {
|
|
2375
2375
|
var p = o();
|
|
2376
2376
|
return u < 0 ? this.lShiftTo(-u, p) : this.rShiftTo(u, p), p;
|
|
2377
2377
|
}
|
|
2378
|
-
function
|
|
2378
|
+
function Be(u) {
|
|
2379
2379
|
if (u == 0)
|
|
2380
2380
|
return -1;
|
|
2381
2381
|
var p = 0;
|
|
@@ -2384,20 +2384,20 @@ var he = {}, wx = {
|
|
|
2384
2384
|
function Ot() {
|
|
2385
2385
|
for (var u = 0; u < this.t; ++u)
|
|
2386
2386
|
if (this[u] != 0)
|
|
2387
|
-
return u * this.DB +
|
|
2387
|
+
return u * this.DB + Be(this[u]);
|
|
2388
2388
|
return this.s < 0 ? this.t * this.DB : -1;
|
|
2389
2389
|
}
|
|
2390
|
-
function
|
|
2390
|
+
function Pt(u) {
|
|
2391
2391
|
for (var p = 0; u != 0; )
|
|
2392
2392
|
u &= u - 1, ++p;
|
|
2393
2393
|
return p;
|
|
2394
2394
|
}
|
|
2395
|
-
function
|
|
2395
|
+
function Xt() {
|
|
2396
2396
|
for (var u = 0, p = this.s & this.DM, m = 0; m < this.t; ++m)
|
|
2397
|
-
u +=
|
|
2397
|
+
u += Pt(this[m] ^ p);
|
|
2398
2398
|
return u;
|
|
2399
2399
|
}
|
|
2400
|
-
function
|
|
2400
|
+
function ye(u) {
|
|
2401
2401
|
var p = Math.floor(u / this.DB);
|
|
2402
2402
|
return p >= this.t ? this.s != 0 : (this[p] & 1 << u % this.DB) != 0;
|
|
2403
2403
|
}
|
|
@@ -2405,16 +2405,16 @@ var he = {}, wx = {
|
|
|
2405
2405
|
var m = i.ONE.shiftLeft(u);
|
|
2406
2406
|
return this.bitwiseTo(m, p, m), m;
|
|
2407
2407
|
}
|
|
2408
|
-
function
|
|
2409
|
-
return this.changeBit(u,
|
|
2408
|
+
function Qt(u) {
|
|
2409
|
+
return this.changeBit(u, D0);
|
|
2410
2410
|
}
|
|
2411
|
-
function
|
|
2412
|
-
return this.changeBit(u,
|
|
2411
|
+
function Ht(u) {
|
|
2412
|
+
return this.changeBit(u, rt);
|
|
2413
2413
|
}
|
|
2414
|
-
function
|
|
2415
|
-
return this.changeBit(u,
|
|
2414
|
+
function Pe(u) {
|
|
2415
|
+
return this.changeBit(u, G0);
|
|
2416
2416
|
}
|
|
2417
|
-
function
|
|
2417
|
+
function N0(u, p) {
|
|
2418
2418
|
for (var m = 0, D = 0, N = Math.min(u.t, this.t); m < N; )
|
|
2419
2419
|
D += this[m] + u[m], p[m++] = D & this.DM, D >>= this.DB;
|
|
2420
2420
|
if (u.t < this.t) {
|
|
@@ -2428,11 +2428,11 @@ var he = {}, wx = {
|
|
|
2428
2428
|
}
|
|
2429
2429
|
p.s = D < 0 ? -1 : 0, D > 0 ? p[m++] = D : D < -1 && (p[m++] = this.DV + D), p.t = m, p.clamp();
|
|
2430
2430
|
}
|
|
2431
|
-
function
|
|
2431
|
+
function lt(u) {
|
|
2432
2432
|
var p = o();
|
|
2433
2433
|
return this.addTo(u, p), p;
|
|
2434
2434
|
}
|
|
2435
|
-
function
|
|
2435
|
+
function He(u) {
|
|
2436
2436
|
var p = o();
|
|
2437
2437
|
return this.subTo(u, p), p;
|
|
2438
2438
|
}
|
|
@@ -2467,7 +2467,7 @@ var he = {}, wx = {
|
|
|
2467
2467
|
this[p] -= this.DV, ++p >= this.t && (this[this.t++] = 0), ++this[p];
|
|
2468
2468
|
}
|
|
2469
2469
|
}
|
|
2470
|
-
function
|
|
2470
|
+
function Ee() {
|
|
2471
2471
|
}
|
|
2472
2472
|
function Mn(u) {
|
|
2473
2473
|
return u;
|
|
@@ -2478,9 +2478,9 @@ var he = {}, wx = {
|
|
|
2478
2478
|
function Oo(u, p) {
|
|
2479
2479
|
u.squareTo(p);
|
|
2480
2480
|
}
|
|
2481
|
-
|
|
2481
|
+
Ee.prototype.convert = Mn, Ee.prototype.revert = Mn, Ee.prototype.mulTo = ko, Ee.prototype.sqrTo = Oo;
|
|
2482
2482
|
function Po(u) {
|
|
2483
|
-
return this.exp(u, new
|
|
2483
|
+
return this.exp(u, new Ee());
|
|
2484
2484
|
}
|
|
2485
2485
|
function Ho(u, p, m) {
|
|
2486
2486
|
var D = Math.min(this.t + u.t, p);
|
|
@@ -2502,7 +2502,7 @@ var he = {}, wx = {
|
|
|
2502
2502
|
m[this.t + D - p] = this.am(p - D, u[D], m, 0, 0, this.t + D - p);
|
|
2503
2503
|
m.clamp(), m.drShiftTo(1, m);
|
|
2504
2504
|
}
|
|
2505
|
-
function
|
|
2505
|
+
function Yt(u) {
|
|
2506
2506
|
this.r2 = o(), this.q3 = o(), i.ONE.dlShiftTo(2 * u.t, this.r2), this.mu = this.r2.divide(u), this.m = u;
|
|
2507
2507
|
}
|
|
2508
2508
|
function qo(u) {
|
|
@@ -2528,31 +2528,31 @@ var he = {}, wx = {
|
|
|
2528
2528
|
function Uo(u, p, m) {
|
|
2529
2529
|
u.multiplyTo(p, m), this.reduce(m);
|
|
2530
2530
|
}
|
|
2531
|
-
|
|
2531
|
+
Yt.prototype.convert = qo, Yt.prototype.revert = No, Yt.prototype.reduce = Lo, Yt.prototype.mulTo = Uo, Yt.prototype.sqrTo = zo;
|
|
2532
2532
|
function $o(u, p) {
|
|
2533
2533
|
var m = u.bitLength(), D, N = b(1), $;
|
|
2534
2534
|
if (m <= 0)
|
|
2535
2535
|
return N;
|
|
2536
|
-
m < 18 ? D = 1 : m < 48 ? D = 3 : m < 144 ? D = 4 : m < 768 ? D = 5 : D = 6, m < 8 ? $ = new
|
|
2537
|
-
var
|
|
2538
|
-
if (
|
|
2539
|
-
var
|
|
2540
|
-
for ($.sqrTo(
|
|
2541
|
-
|
|
2536
|
+
m < 18 ? D = 1 : m < 48 ? D = 3 : m < 144 ? D = 4 : m < 768 ? D = 5 : D = 6, m < 8 ? $ = new I(p) : p.isEven() ? $ = new Yt(p) : $ = new P0(p);
|
|
2537
|
+
var Z = new Array(), G = 3, v0 = D - 1, _0 = (1 << D) - 1;
|
|
2538
|
+
if (Z[1] = $.convert(this), D > 1) {
|
|
2539
|
+
var X0 = o();
|
|
2540
|
+
for ($.sqrTo(Z[1], X0); G <= _0; )
|
|
2541
|
+
Z[G] = o(), $.mulTo(X0, Z[G - 2], Z[G]), G += 2;
|
|
2542
2542
|
}
|
|
2543
|
-
var
|
|
2544
|
-
for (m = F(u[
|
|
2545
|
-
for (m >= v0 ?
|
|
2546
|
-
|
|
2547
|
-
if ((m -= G) < 0 && (m += this.DB,
|
|
2548
|
-
|
|
2543
|
+
var j0 = u.t - 1, bt, qe = !0, st = o(), it;
|
|
2544
|
+
for (m = F(u[j0]) - 1; j0 >= 0; ) {
|
|
2545
|
+
for (m >= v0 ? bt = u[j0] >> m - v0 & _0 : (bt = (u[j0] & (1 << m + 1) - 1) << v0 - m, j0 > 0 && (bt |= u[j0 - 1] >> this.DB + m - v0)), G = D; !(bt & 1); )
|
|
2546
|
+
bt >>= 1, --G;
|
|
2547
|
+
if ((m -= G) < 0 && (m += this.DB, --j0), qe)
|
|
2548
|
+
Z[bt].copyTo(N), qe = !1;
|
|
2549
2549
|
else {
|
|
2550
2550
|
for (; G > 1; )
|
|
2551
|
-
$.sqrTo(N,
|
|
2552
|
-
G > 0 ? $.sqrTo(N,
|
|
2551
|
+
$.sqrTo(N, st), $.sqrTo(st, N), G -= 2;
|
|
2552
|
+
G > 0 ? $.sqrTo(N, st) : (it = N, N = st, st = it), $.mulTo(st, Z[bt], N);
|
|
2553
2553
|
}
|
|
2554
|
-
for (;
|
|
2555
|
-
$.sqrTo(N,
|
|
2554
|
+
for (; j0 >= 0 && !(u[j0] & 1 << m); )
|
|
2555
|
+
$.sqrTo(N, st), it = N, N = st, st = it, --m < 0 && (m = this.DB - 1, --j0);
|
|
2556
2556
|
}
|
|
2557
2557
|
return $.revert(N);
|
|
2558
2558
|
}
|
|
@@ -2585,12 +2585,12 @@ var he = {}, wx = {
|
|
|
2585
2585
|
var p = u.isEven();
|
|
2586
2586
|
if (this.isEven() && p || u.signum() == 0)
|
|
2587
2587
|
return i.ZERO;
|
|
2588
|
-
for (var m = u.clone(), D = this.clone(), N = b(1), $ = b(0),
|
|
2588
|
+
for (var m = u.clone(), D = this.clone(), N = b(1), $ = b(0), Z = b(0), G = b(1); m.signum() != 0; ) {
|
|
2589
2589
|
for (; m.isEven(); )
|
|
2590
2590
|
m.rShiftTo(1, m), p ? ((!N.isEven() || !$.isEven()) && (N.addTo(this, N), $.subTo(u, $)), N.rShiftTo(1, N)) : $.isEven() || $.subTo(u, $), $.rShiftTo(1, $);
|
|
2591
2591
|
for (; D.isEven(); )
|
|
2592
|
-
D.rShiftTo(1, D), p ? ((!
|
|
2593
|
-
m.compareTo(D) >= 0 ? (m.subTo(D, m), p && N.subTo(
|
|
2592
|
+
D.rShiftTo(1, D), p ? ((!Z.isEven() || !G.isEven()) && (Z.addTo(this, Z), G.subTo(u, G)), Z.rShiftTo(1, Z)) : G.isEven() || G.subTo(u, G), G.rShiftTo(1, G);
|
|
2593
|
+
m.compareTo(D) >= 0 ? (m.subTo(D, m), p && N.subTo(Z, N), $.subTo(G, $)) : (D.subTo(m, D), p && Z.subTo(N, Z), G.subTo($, G));
|
|
2594
2594
|
}
|
|
2595
2595
|
if (D.compareTo(i.ONE) != 0)
|
|
2596
2596
|
return i.ZERO;
|
|
@@ -2602,22 +2602,22 @@ var he = {}, wx = {
|
|
|
2602
2602
|
return G;
|
|
2603
2603
|
return G.signum() < 0 ? G.add(u) : G;
|
|
2604
2604
|
}
|
|
2605
|
-
var
|
|
2605
|
+
var L0 = [2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, 101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691, 701, 709, 719, 727, 733, 739, 743, 751, 757, 761, 769, 773, 787, 797, 809, 811, 821, 823, 827, 829, 839, 853, 857, 859, 863, 877, 881, 883, 887, 907, 911, 919, 929, 937, 941, 947, 953, 967, 971, 977, 983, 991, 997], Zo = (1 << 26) / L0[L0.length - 1];
|
|
2606
2606
|
function Ko(u) {
|
|
2607
2607
|
var p, m = this.abs();
|
|
2608
|
-
if (m.t == 1 && m[0] <=
|
|
2609
|
-
for (p = 0; p <
|
|
2610
|
-
if (m[0] ==
|
|
2608
|
+
if (m.t == 1 && m[0] <= L0[L0.length - 1]) {
|
|
2609
|
+
for (p = 0; p < L0.length; ++p)
|
|
2610
|
+
if (m[0] == L0[p])
|
|
2611
2611
|
return !0;
|
|
2612
2612
|
return !1;
|
|
2613
2613
|
}
|
|
2614
2614
|
if (m.isEven())
|
|
2615
2615
|
return !1;
|
|
2616
|
-
for (p = 1; p <
|
|
2617
|
-
for (var D =
|
|
2618
|
-
D *=
|
|
2616
|
+
for (p = 1; p < L0.length; ) {
|
|
2617
|
+
for (var D = L0[p], N = p + 1; N < L0.length && D < Zo; )
|
|
2618
|
+
D *= L0[N++];
|
|
2619
2619
|
for (D = m.modInt(D); p < N; )
|
|
2620
|
-
if (D %
|
|
2620
|
+
if (D % L0[p++] == 0)
|
|
2621
2621
|
return !1;
|
|
2622
2622
|
}
|
|
2623
2623
|
return m.millerRabin(u);
|
|
@@ -2627,53 +2627,53 @@ var he = {}, wx = {
|
|
|
2627
2627
|
if (m <= 0)
|
|
2628
2628
|
return !1;
|
|
2629
2629
|
var D = p.shiftRight(m);
|
|
2630
|
-
u = u + 1 >> 1, u >
|
|
2630
|
+
u = u + 1 >> 1, u > L0.length && (u = L0.length);
|
|
2631
2631
|
for (var N = o(), $ = 0; $ < u; ++$) {
|
|
2632
|
-
N.fromInt(
|
|
2633
|
-
var
|
|
2634
|
-
if (
|
|
2635
|
-
for (var G = 1; G++ < m &&
|
|
2636
|
-
if (
|
|
2632
|
+
N.fromInt(L0[Math.floor(Math.random() * L0.length)]);
|
|
2633
|
+
var Z = N.modPow(D, this);
|
|
2634
|
+
if (Z.compareTo(i.ONE) != 0 && Z.compareTo(p) != 0) {
|
|
2635
|
+
for (var G = 1; G++ < m && Z.compareTo(p) != 0; )
|
|
2636
|
+
if (Z = Z.modPowInt(2, this), Z.compareTo(i.ONE) == 0)
|
|
2637
2637
|
return !1;
|
|
2638
|
-
if (
|
|
2638
|
+
if (Z.compareTo(p) != 0)
|
|
2639
2639
|
return !1;
|
|
2640
2640
|
}
|
|
2641
2641
|
}
|
|
2642
2642
|
return !0;
|
|
2643
2643
|
}
|
|
2644
|
-
i.prototype.chunkSize =
|
|
2645
|
-
var
|
|
2644
|
+
i.prototype.chunkSize = I0, i.prototype.toRadix = q, i.prototype.fromRadix = k, i.prototype.fromNumber = W, i.prototype.bitwiseTo = B0, i.prototype.changeBit = ie, i.prototype.addTo = N0, i.prototype.dMultiply = To, i.prototype.dAddOffset = Ro, i.prototype.multiplyLowerTo = Ho, i.prototype.multiplyUpperTo = Io, i.prototype.modInt = jo, i.prototype.millerRabin = Go, i.prototype.clone = xt, i.prototype.intValue = Tt, i.prototype.byteValue = ft, i.prototype.shortValue = $0, i.prototype.signum = R, i.prototype.toByteArray = X, i.prototype.equals = t0, i.prototype.min = p0, i.prototype.max = c0, i.prototype.and = C0, i.prototype.or = q0, i.prototype.xor = ut, i.prototype.andNot = Gt, i.prototype.not = Rt, i.prototype.shiftLeft = kt, i.prototype.shiftRight = se, i.prototype.getLowestSetBit = Ot, i.prototype.bitCount = Xt, i.prototype.testBit = ye, i.prototype.setBit = Qt, i.prototype.clearBit = Ht, i.prototype.flipBit = Pe, i.prototype.add = lt, i.prototype.subtract = He, i.prototype.multiply = Yr, i.prototype.divide = wo, i.prototype.remainder = _o, i.prototype.divideAndRemainder = So, i.prototype.modPow = $o, i.prototype.modInverse = Wo, i.prototype.pow = Po, i.prototype.gcd = Mo, i.prototype.isProbablePrime = Ko, i.prototype.square = Do, i.prototype.Barrett = Yt;
|
|
2645
|
+
var Ie, M0, w0;
|
|
2646
2646
|
function Xo(u) {
|
|
2647
|
-
|
|
2647
|
+
M0[w0++] ^= u & 255, M0[w0++] ^= u >> 8 & 255, M0[w0++] ^= u >> 16 & 255, M0[w0++] ^= u >> 24 & 255, w0 >= Jr && (w0 -= Jr);
|
|
2648
2648
|
}
|
|
2649
2649
|
function jn() {
|
|
2650
2650
|
Xo(new Date().getTime());
|
|
2651
2651
|
}
|
|
2652
|
-
if (
|
|
2653
|
-
|
|
2654
|
-
var
|
|
2652
|
+
if (M0 == null) {
|
|
2653
|
+
M0 = new Array(), w0 = 0;
|
|
2654
|
+
var nt;
|
|
2655
2655
|
if (typeof window < "u" && window.crypto) {
|
|
2656
2656
|
if (window.crypto.getRandomValues) {
|
|
2657
2657
|
var Wn = new Uint8Array(32);
|
|
2658
|
-
for (window.crypto.getRandomValues(Wn),
|
|
2659
|
-
|
|
2658
|
+
for (window.crypto.getRandomValues(Wn), nt = 0; nt < 32; ++nt)
|
|
2659
|
+
M0[w0++] = Wn[nt];
|
|
2660
2660
|
} else if (navigator.appName == "Netscape" && navigator.appVersion < "5") {
|
|
2661
2661
|
var Zn = window.crypto.random(32);
|
|
2662
|
-
for (
|
|
2663
|
-
|
|
2662
|
+
for (nt = 0; nt < Zn.length; ++nt)
|
|
2663
|
+
M0[w0++] = Zn.charCodeAt(nt) & 255;
|
|
2664
2664
|
}
|
|
2665
2665
|
}
|
|
2666
|
-
for (;
|
|
2667
|
-
|
|
2668
|
-
|
|
2666
|
+
for (; w0 < Jr; )
|
|
2667
|
+
nt = Math.floor(65536 * Math.random()), M0[w0++] = nt >>> 8, M0[w0++] = nt & 255;
|
|
2668
|
+
w0 = 0, jn();
|
|
2669
2669
|
}
|
|
2670
2670
|
function Qo() {
|
|
2671
|
-
if (
|
|
2672
|
-
for (jn(),
|
|
2673
|
-
|
|
2674
|
-
|
|
2671
|
+
if (Ie == null) {
|
|
2672
|
+
for (jn(), Ie = ta(), Ie.init(M0), w0 = 0; w0 < M0.length; ++w0)
|
|
2673
|
+
M0[w0] = 0;
|
|
2674
|
+
w0 = 0;
|
|
2675
2675
|
}
|
|
2676
|
-
return
|
|
2676
|
+
return Ie.next();
|
|
2677
2677
|
}
|
|
2678
2678
|
function Yo(u) {
|
|
2679
2679
|
var p;
|
|
@@ -2788,8 +2788,8 @@ var Tx = {
|
|
|
2788
2788
|
return { r: c, s: x };
|
|
2789
2789
|
}
|
|
2790
2790
|
};
|
|
2791
|
-
const { BigInteger:
|
|
2792
|
-
class
|
|
2791
|
+
const { BigInteger: U0 } = he, cs = new U0("2"), xs = new U0("3");
|
|
2792
|
+
class Ut {
|
|
2793
2793
|
constructor(e, r) {
|
|
2794
2794
|
this.x = r, this.q = e;
|
|
2795
2795
|
}
|
|
@@ -2809,42 +2809,42 @@ class Lt {
|
|
|
2809
2809
|
* 取反
|
|
2810
2810
|
*/
|
|
2811
2811
|
negate() {
|
|
2812
|
-
return new
|
|
2812
|
+
return new Ut(this.q, this.x.negate().mod(this.q));
|
|
2813
2813
|
}
|
|
2814
2814
|
/**
|
|
2815
2815
|
* 相加
|
|
2816
2816
|
*/
|
|
2817
2817
|
add(e) {
|
|
2818
|
-
return new
|
|
2818
|
+
return new Ut(this.q, this.x.add(e.toBigInteger()).mod(this.q));
|
|
2819
2819
|
}
|
|
2820
2820
|
/**
|
|
2821
2821
|
* 相减
|
|
2822
2822
|
*/
|
|
2823
2823
|
subtract(e) {
|
|
2824
|
-
return new
|
|
2824
|
+
return new Ut(this.q, this.x.subtract(e.toBigInteger()).mod(this.q));
|
|
2825
2825
|
}
|
|
2826
2826
|
/**
|
|
2827
2827
|
* 相乘
|
|
2828
2828
|
*/
|
|
2829
2829
|
multiply(e) {
|
|
2830
|
-
return new
|
|
2830
|
+
return new Ut(this.q, this.x.multiply(e.toBigInteger()).mod(this.q));
|
|
2831
2831
|
}
|
|
2832
2832
|
/**
|
|
2833
2833
|
* 相除
|
|
2834
2834
|
*/
|
|
2835
2835
|
divide(e) {
|
|
2836
|
-
return new
|
|
2836
|
+
return new Ut(this.q, this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q));
|
|
2837
2837
|
}
|
|
2838
2838
|
/**
|
|
2839
2839
|
* 平方
|
|
2840
2840
|
*/
|
|
2841
2841
|
square() {
|
|
2842
|
-
return new
|
|
2842
|
+
return new Ut(this.q, this.x.square().mod(this.q));
|
|
2843
2843
|
}
|
|
2844
2844
|
}
|
|
2845
|
-
class
|
|
2845
|
+
class jt {
|
|
2846
2846
|
constructor(e, r, n, s) {
|
|
2847
|
-
this.curve = e, this.x = r, this.y = n, this.z = s ??
|
|
2847
|
+
this.curve = e, this.x = r, this.y = n, this.z = s ?? U0.ONE, this.zinv = null;
|
|
2848
2848
|
}
|
|
2849
2849
|
getX() {
|
|
2850
2850
|
return this.zinv === null && (this.zinv = this.z.modInverse(this.curve.q)), this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q));
|
|
@@ -2856,19 +2856,19 @@ class $t {
|
|
|
2856
2856
|
* 判断相等
|
|
2857
2857
|
*/
|
|
2858
2858
|
equals(e) {
|
|
2859
|
-
return e === this ? !0 : this.isInfinity() ? e.isInfinity() : e.isInfinity() ? this.isInfinity() : e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(
|
|
2859
|
+
return e === this ? !0 : this.isInfinity() ? e.isInfinity() : e.isInfinity() ? this.isInfinity() : e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(U0.ZERO) ? e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q).equals(U0.ZERO) : !1;
|
|
2860
2860
|
}
|
|
2861
2861
|
/**
|
|
2862
2862
|
* 是否是无穷远点
|
|
2863
2863
|
*/
|
|
2864
2864
|
isInfinity() {
|
|
2865
|
-
return this.x === null && this.y === null ? !0 : this.z.equals(
|
|
2865
|
+
return this.x === null && this.y === null ? !0 : this.z.equals(U0.ZERO) && !this.y.toBigInteger().equals(U0.ZERO);
|
|
2866
2866
|
}
|
|
2867
2867
|
/**
|
|
2868
2868
|
* 取反,x 轴对称点
|
|
2869
2869
|
*/
|
|
2870
2870
|
negate() {
|
|
2871
|
-
return new
|
|
2871
|
+
return new jt(this.curve, this.x, this.y.negate(), this.z);
|
|
2872
2872
|
}
|
|
2873
2873
|
/**
|
|
2874
2874
|
* 相加
|
|
@@ -2896,10 +2896,10 @@ class $t {
|
|
|
2896
2896
|
if (e.isInfinity())
|
|
2897
2897
|
return this;
|
|
2898
2898
|
const r = this.x.toBigInteger(), n = this.y.toBigInteger(), s = this.z, i = e.x.toBigInteger(), o = e.y.toBigInteger(), a = e.z, g = this.curve.q, c = r.multiply(a).mod(g), x = i.multiply(s).mod(g), d = c.subtract(x), h = n.multiply(a).mod(g), v = o.multiply(s).mod(g), f = h.subtract(v);
|
|
2899
|
-
if (
|
|
2900
|
-
return
|
|
2899
|
+
if (U0.ZERO.equals(d))
|
|
2900
|
+
return U0.ZERO.equals(f) ? this.twice() : this.curve.infinity;
|
|
2901
2901
|
const l = c.add(x), y = s.multiply(a).mod(g), A = d.square().mod(g), E = d.multiply(A).mod(g), B = y.multiply(f.square()).subtract(l.multiply(A)).mod(g), b = d.multiply(B).mod(g), C = f.multiply(A.multiply(c).subtract(B)).subtract(h.multiply(E)).mod(g), _ = E.multiply(y).mod(g);
|
|
2902
|
-
return new
|
|
2902
|
+
return new jt(this.curve, this.curve.fromBigInteger(b), this.curve.fromBigInteger(C), _);
|
|
2903
2903
|
}
|
|
2904
2904
|
/**
|
|
2905
2905
|
* 自加
|
|
@@ -2922,7 +2922,7 @@ class $t {
|
|
|
2922
2922
|
if (!this.y.toBigInteger().signum())
|
|
2923
2923
|
return this.curve.infinity;
|
|
2924
2924
|
const e = this.x.toBigInteger(), r = this.y.toBigInteger(), n = this.z, s = this.curve.q, i = this.curve.a.toBigInteger(), o = e.square().multiply(xs).add(i.multiply(n.square())).mod(s), a = r.shiftLeft(1).multiply(n).mod(s), g = r.square().mod(s), c = g.multiply(e).multiply(n).mod(s), x = a.square().mod(s), d = o.square().subtract(c.shiftLeft(3)).mod(s), h = a.multiply(d).mod(s), v = o.multiply(c.shiftLeft(2).subtract(d)).subtract(x.shiftLeft(1).multiply(g)).mod(s), f = a.multiply(x).mod(s);
|
|
2925
|
-
return new
|
|
2925
|
+
return new jt(this.curve, this.curve.fromBigInteger(h), this.curve.fromBigInteger(v), f);
|
|
2926
2926
|
}
|
|
2927
2927
|
/**
|
|
2928
2928
|
* 倍点计算
|
|
@@ -2944,7 +2944,7 @@ class $t {
|
|
|
2944
2944
|
}
|
|
2945
2945
|
let Rx = class {
|
|
2946
2946
|
constructor(e, r, n) {
|
|
2947
|
-
this.q = e, this.a = this.fromBigInteger(r), this.b = this.fromBigInteger(n), this.infinity = new
|
|
2947
|
+
this.q = e, this.a = this.fromBigInteger(r), this.b = this.fromBigInteger(n), this.infinity = new jt(this, null, null);
|
|
2948
2948
|
}
|
|
2949
2949
|
/**
|
|
2950
2950
|
* 判断两个椭圆曲线是否相等
|
|
@@ -2956,7 +2956,7 @@ let Rx = class {
|
|
|
2956
2956
|
* 生成椭圆曲线域元素
|
|
2957
2957
|
*/
|
|
2958
2958
|
fromBigInteger(e) {
|
|
2959
|
-
return new
|
|
2959
|
+
return new Ut(this.q, e);
|
|
2960
2960
|
}
|
|
2961
2961
|
/**
|
|
2962
2962
|
* 解析 16 进制串为椭圆曲线点
|
|
@@ -2967,26 +2967,26 @@ let Rx = class {
|
|
|
2967
2967
|
return this.infinity;
|
|
2968
2968
|
case 2:
|
|
2969
2969
|
case 3:
|
|
2970
|
-
const r = this.fromBigInteger(new
|
|
2970
|
+
const r = this.fromBigInteger(new U0(e.substr(2), 16));
|
|
2971
2971
|
let n = this.fromBigInteger(r.multiply(r.square()).add(
|
|
2972
2972
|
r.multiply(this.a)
|
|
2973
2973
|
).add(this.b).toBigInteger().modPow(
|
|
2974
|
-
this.q.divide(new
|
|
2974
|
+
this.q.divide(new U0("4")).add(U0.ONE),
|
|
2975
2975
|
this.q
|
|
2976
2976
|
));
|
|
2977
|
-
return n.toBigInteger().mod(cs).equals(new
|
|
2977
|
+
return n.toBigInteger().mod(cs).equals(new U0(e.substr(0, 2), 16).subtract(cs)) || (n = n.negate()), new jt(this, r, n);
|
|
2978
2978
|
case 4:
|
|
2979
2979
|
case 6:
|
|
2980
2980
|
case 7:
|
|
2981
2981
|
const s = (e.length - 2) / 2, i = e.substr(2, s), o = e.substr(s + 2, s);
|
|
2982
|
-
return new
|
|
2982
|
+
return new jt(this, this.fromBigInteger(new U0(i, 16)), this.fromBigInteger(new U0(o, 16)));
|
|
2983
2983
|
default:
|
|
2984
2984
|
return null;
|
|
2985
2985
|
}
|
|
2986
2986
|
}
|
|
2987
2987
|
};
|
|
2988
2988
|
var kx = {
|
|
2989
|
-
ECPointFp:
|
|
2989
|
+
ECPointFp: jt,
|
|
2990
2990
|
ECCurveFp: Rx
|
|
2991
2991
|
};
|
|
2992
2992
|
const { BigInteger: ct, SecureRandom: Ox } = he, { ECCurveFp: Px } = kx, Hx = new Ox(), { curve: fe, G: Ix, n: fs } = Ui();
|
|
@@ -2998,7 +2998,7 @@ function Ui() {
|
|
|
2998
2998
|
return { curve: n, G: o, n: a };
|
|
2999
2999
|
}
|
|
3000
3000
|
function Nx(t, e, r) {
|
|
3001
|
-
const s = (t ? new ct(t, e, r) : new ct(fs.bitLength(), Hx)).mod(fs.subtract(ct.ONE)).add(ct.ONE), i =
|
|
3001
|
+
const s = (t ? new ct(t, e, r) : new ct(fs.bitLength(), Hx)).mod(fs.subtract(ct.ONE)).add(ct.ONE), i = De(s.toString(16), 64), o = Ix.multiply(s), a = De(o.getX().toBigInteger().toString(16), 64), g = De(o.getY().toBigInteger().toString(16), 64), c = "04" + a + g;
|
|
3002
3002
|
return { privateKey: i, publicKey: c };
|
|
3003
3003
|
}
|
|
3004
3004
|
function Lx(t) {
|
|
@@ -3020,7 +3020,7 @@ function zx(t) {
|
|
|
3020
3020
|
}
|
|
3021
3021
|
return n.join("");
|
|
3022
3022
|
}
|
|
3023
|
-
function
|
|
3023
|
+
function De(t, e) {
|
|
3024
3024
|
return t.length >= e ? t : new Array(e - t.length + 1).join("0") + t;
|
|
3025
3025
|
}
|
|
3026
3026
|
function Ux(t) {
|
|
@@ -3045,7 +3045,7 @@ function $x(t) {
|
|
|
3045
3045
|
function Mx(t) {
|
|
3046
3046
|
const e = [];
|
|
3047
3047
|
let r = t.length;
|
|
3048
|
-
r % 2 !== 0 && (t =
|
|
3048
|
+
r % 2 !== 0 && (t = De(t, r + 1)), r = t.length;
|
|
3049
3049
|
for (let n = 0; n < r; n += 2)
|
|
3050
3050
|
e.push(parseInt(t.substr(n, 2), 16));
|
|
3051
3051
|
return e;
|
|
@@ -3070,7 +3070,7 @@ var Zx = {
|
|
|
3070
3070
|
generateKeyPairHex: Nx,
|
|
3071
3071
|
compressPublicKeyHex: Lx,
|
|
3072
3072
|
utf8ToHex: zx,
|
|
3073
|
-
leftPad:
|
|
3073
|
+
leftPad: De,
|
|
3074
3074
|
arrayToHex: Ux,
|
|
3075
3075
|
arrayToUtf8: $x,
|
|
3076
3076
|
hexToArray: Mx,
|
|
@@ -3078,7 +3078,7 @@ var Zx = {
|
|
|
3078
3078
|
comparePublicKeyHex: Wx
|
|
3079
3079
|
};
|
|
3080
3080
|
const ot = new Uint32Array(68), ln = new Uint32Array(64);
|
|
3081
|
-
function
|
|
3081
|
+
function Y0(t, e) {
|
|
3082
3082
|
const r = e & 31;
|
|
3083
3083
|
return t << r | t >>> 32 - r;
|
|
3084
3084
|
}
|
|
@@ -3089,12 +3089,12 @@ function us(t, e) {
|
|
|
3089
3089
|
return r;
|
|
3090
3090
|
}
|
|
3091
3091
|
function Kx(t) {
|
|
3092
|
-
return t ^
|
|
3092
|
+
return t ^ Y0(t, 9) ^ Y0(t, 17);
|
|
3093
3093
|
}
|
|
3094
3094
|
function Gx(t) {
|
|
3095
|
-
return t ^
|
|
3095
|
+
return t ^ Y0(t, 15) ^ Y0(t, 23);
|
|
3096
3096
|
}
|
|
3097
|
-
function
|
|
3097
|
+
function Xe(t) {
|
|
3098
3098
|
let e = t.length * 8, r = e % 512;
|
|
3099
3099
|
r = r >= 448 ? 512 - r % 448 - 1 : 448 - r - 1;
|
|
3100
3100
|
const n = new Array((r - 7) / 8), s = new Array(8);
|
|
@@ -3116,13 +3116,13 @@ function Ge(t) {
|
|
|
3116
3116
|
for (let F = 0; F < 16; F++)
|
|
3117
3117
|
ot[F] = o.getUint32((d + F) * 4, !1);
|
|
3118
3118
|
for (let F = 16; F < 68; F++)
|
|
3119
|
-
ot[F] = Gx(ot[F - 16] ^ ot[F - 9] ^
|
|
3119
|
+
ot[F] = Gx(ot[F - 16] ^ ot[F - 9] ^ Y0(ot[F - 3], 15)) ^ Y0(ot[F - 13], 7) ^ ot[F - 6];
|
|
3120
3120
|
for (let F = 0; F < 64; F++)
|
|
3121
3121
|
ln[F] = ot[F] ^ ot[F + 4];
|
|
3122
3122
|
const h = 2043430169, v = 2055708042;
|
|
3123
|
-
let f = g[0], l = g[1], y = g[2], A = g[3], E = g[4], B = g[5], b = g[6], C = g[7], _, S, T,
|
|
3123
|
+
let f = g[0], l = g[1], y = g[2], A = g[3], E = g[4], B = g[5], b = g[6], C = g[7], _, S, T, H, w;
|
|
3124
3124
|
for (let F = 0; F < 64; F++)
|
|
3125
|
-
w = F >= 0 && F <= 15 ? h : v, _ =
|
|
3125
|
+
w = F >= 0 && F <= 15 ? h : v, _ = Y0(Y0(f, 12) + E + Y0(w, F), 7), S = _ ^ Y0(f, 12), T = (F >= 0 && F <= 15 ? f ^ l ^ y : f & l | f & y | l & y) + A + S + ln[F], H = (F >= 0 && F <= 15 ? E ^ B ^ b : E & B | ~E & b) + C + _ + ot[F], A = y, y = Y0(l, 9), l = f, f = T, C = b, b = Y0(B, 19), B = E, E = Kx(H);
|
|
3126
3126
|
g[0] ^= f, g[1] ^= l, g[2] ^= y, g[3] ^= A, g[4] ^= E, g[5] ^= B, g[6] ^= b, g[7] ^= C;
|
|
3127
3127
|
}
|
|
3128
3128
|
const c = [];
|
|
@@ -3132,23 +3132,23 @@ function Ge(t) {
|
|
|
3132
3132
|
}
|
|
3133
3133
|
return c;
|
|
3134
3134
|
}
|
|
3135
|
-
const
|
|
3136
|
-
for (let t = 0; t <
|
|
3135
|
+
const Te = 64, $i = new Uint8Array(Te), Mi = new Uint8Array(Te);
|
|
3136
|
+
for (let t = 0; t < Te; t++)
|
|
3137
3137
|
$i[t] = 54, Mi[t] = 92;
|
|
3138
3138
|
function Xx(t, e) {
|
|
3139
|
-
for (e.length >
|
|
3139
|
+
for (e.length > Te && (e = Xe(e)); e.length < Te; )
|
|
3140
3140
|
e.push(0);
|
|
3141
|
-
const r = us(e, $i), n = us(e, Mi), s =
|
|
3142
|
-
return
|
|
3141
|
+
const r = us(e, $i), n = us(e, Mi), s = Xe([...r, ...t]);
|
|
3142
|
+
return Xe([...n, ...s]);
|
|
3143
3143
|
}
|
|
3144
3144
|
var ji = {
|
|
3145
|
-
sm3:
|
|
3145
|
+
sm3: Xe,
|
|
3146
3146
|
hmac: Xx
|
|
3147
3147
|
};
|
|
3148
|
-
const { BigInteger:
|
|
3148
|
+
const { BigInteger: Z0 } = he, { encodeDer: Qx, decodeDer: Yx } = Tx, n0 = Zx, pe = ji.sm3, { G: ee, curve: Wi, n: ae } = n0.generateEcparam(), Zi = 0;
|
|
3149
3149
|
function Vx(t, e, r = 1) {
|
|
3150
3150
|
t = typeof t == "string" ? n0.hexToArray(n0.utf8ToHex(t)) : Array.prototype.slice.call(t), e = n0.getGlobalCurve().decodePointHex(e);
|
|
3151
|
-
const n = n0.generateKeyPairHex(), s = new
|
|
3151
|
+
const n = n0.generateKeyPairHex(), s = new Z0(n.privateKey, 16);
|
|
3152
3152
|
let i = n.publicKey;
|
|
3153
3153
|
i.length > 128 && (i = i.substr(i.length - 128));
|
|
3154
3154
|
const o = e.multiply(s), a = n0.hexToArray(n0.leftPad(o.getX().toBigInteger().toRadix(16), 64)), g = n0.hexToArray(n0.leftPad(o.getY().toBigInteger().toRadix(16), 64)), c = n0.arrayToHex(pe([].concat(a, t, g)));
|
|
@@ -3165,7 +3165,7 @@ function Vx(t, e, r = 1) {
|
|
|
3165
3165
|
function Jx(t, e, r = 1, {
|
|
3166
3166
|
output: n = "string"
|
|
3167
3167
|
} = {}) {
|
|
3168
|
-
e = new
|
|
3168
|
+
e = new Z0(e, 16);
|
|
3169
3169
|
let s = t.substr(128, 64), i = t.substr(128 + 64);
|
|
3170
3170
|
r === Zi && (s = t.substr(t.length - 64), i = t.substr(128, t.length - 128 - 64));
|
|
3171
3171
|
const o = n0.hexToArray(i), g = n0.getGlobalCurve().decodePointHex("04" + t.substr(0, 128)).multiply(e), c = n0.hexToArray(n0.leftPad(g.getX().toBigInteger().toRadix(16), 64)), x = n0.hexToArray(n0.leftPad(g.getY().toBigInteger().toRadix(16), 64));
|
|
@@ -3187,15 +3187,15 @@ function tf(t, e, {
|
|
|
3187
3187
|
} = {}) {
|
|
3188
3188
|
let a = typeof t == "string" ? n0.utf8ToHex(t) : n0.arrayToHex(t);
|
|
3189
3189
|
s && (i = i || Gi(e), a = Ki(a, i, o));
|
|
3190
|
-
const g = new
|
|
3190
|
+
const g = new Z0(e, 16), c = new Z0(a, 16);
|
|
3191
3191
|
let x = null, d = null, h = null;
|
|
3192
3192
|
do {
|
|
3193
3193
|
do {
|
|
3194
3194
|
let v;
|
|
3195
3195
|
r && r.length ? v = r.pop() : v = Xi(), x = v.k, d = c.add(v.x1).mod(ae);
|
|
3196
|
-
} while (d.equals(
|
|
3197
|
-
h = g.add(
|
|
3198
|
-
} while (h.equals(
|
|
3196
|
+
} while (d.equals(Z0.ZERO) || d.add(x).equals(ae));
|
|
3197
|
+
h = g.add(Z0.ONE).modInverse(ae).multiply(x.subtract(d.multiply(g))).mod(ae);
|
|
3198
|
+
} while (h.equals(Z0.ZERO));
|
|
3199
3199
|
return n ? Qx(d, h) : n0.leftPad(d.toString(16), 64) + n0.leftPad(h.toString(16), 64);
|
|
3200
3200
|
}
|
|
3201
3201
|
function ef(t, e, r, { der: n, hash: s, userId: i } = {}) {
|
|
@@ -3206,21 +3206,21 @@ function ef(t, e, r, { der: n, hash: s, userId: i } = {}) {
|
|
|
3206
3206
|
const f = Yx(e);
|
|
3207
3207
|
a = f.r, g = f.s;
|
|
3208
3208
|
} else
|
|
3209
|
-
a = new
|
|
3210
|
-
const c = Wi.decodePointHex(r), x = new
|
|
3211
|
-
if (d.equals(
|
|
3209
|
+
a = new Z0(e.substring(0, 64), 16), g = new Z0(e.substring(64), 16);
|
|
3210
|
+
const c = Wi.decodePointHex(r), x = new Z0(o, 16), d = a.add(g).mod(ae);
|
|
3211
|
+
if (d.equals(Z0.ZERO))
|
|
3212
3212
|
return !1;
|
|
3213
|
-
const h =
|
|
3213
|
+
const h = ee.multiply(g).add(c.multiply(d)), v = x.add(h.getX().toBigInteger()).mod(ae);
|
|
3214
3214
|
return a.equals(v);
|
|
3215
3215
|
}
|
|
3216
3216
|
function Ki(t, e, r = "1234567812345678") {
|
|
3217
3217
|
r = n0.utf8ToHex(r);
|
|
3218
|
-
const n = n0.leftPad(
|
|
3218
|
+
const n = n0.leftPad(ee.curve.a.toBigInteger().toRadix(16), 64), s = n0.leftPad(ee.curve.b.toBigInteger().toRadix(16), 64), i = n0.leftPad(ee.getX().toBigInteger().toRadix(16), 64), o = n0.leftPad(ee.getY().toBigInteger().toRadix(16), 64);
|
|
3219
3219
|
let a, g;
|
|
3220
3220
|
if (e.length === 128)
|
|
3221
3221
|
a = e.substr(0, 64), g = e.substr(64, 64);
|
|
3222
3222
|
else {
|
|
3223
|
-
const h =
|
|
3223
|
+
const h = ee.curve.decodePointHex(e);
|
|
3224
3224
|
a = n0.leftPad(h.getX().toBigInteger().toRadix(16), 64), g = n0.leftPad(h.getY().toBigInteger().toRadix(16), 64);
|
|
3225
3225
|
}
|
|
3226
3226
|
const c = n0.hexToArray(r + n + s + i + o + a + g), x = r.length * 4;
|
|
@@ -3229,12 +3229,12 @@ function Ki(t, e, r = "1234567812345678") {
|
|
|
3229
3229
|
return n0.arrayToHex(pe(d.concat(n0.hexToArray(t))));
|
|
3230
3230
|
}
|
|
3231
3231
|
function Gi(t) {
|
|
3232
|
-
const e =
|
|
3232
|
+
const e = ee.multiply(new Z0(t, 16)), r = n0.leftPad(e.getX().toBigInteger().toString(16), 64), n = n0.leftPad(e.getY().toBigInteger().toString(16), 64);
|
|
3233
3233
|
return "04" + r + n;
|
|
3234
3234
|
}
|
|
3235
3235
|
function Xi() {
|
|
3236
3236
|
const t = n0.generateKeyPairHex(), e = Wi.decodePointHex(t.publicKey);
|
|
3237
|
-
return t.k = new
|
|
3237
|
+
return t.k = new Z0(t.privateKey, 16), t.x1 = e.getX().toBigInteger(), t;
|
|
3238
3238
|
}
|
|
3239
3239
|
var rf = {
|
|
3240
3240
|
generateKeyPairHex: n0.generateKeyPairHex,
|
|
@@ -3291,7 +3291,7 @@ var xf = function(t, e) {
|
|
|
3291
3291
|
}
|
|
3292
3292
|
return ls(nf(t));
|
|
3293
3293
|
};
|
|
3294
|
-
const
|
|
3294
|
+
const Nt = 0, ff = 32, Vt = 16, ze = [
|
|
3295
3295
|
214,
|
|
3296
3296
|
144,
|
|
3297
3297
|
233,
|
|
@@ -3548,7 +3548,7 @@ const It = 0, ff = 32, Xt = 16, Le = [
|
|
|
3548
3548
|
203,
|
|
3549
3549
|
57,
|
|
3550
3550
|
72
|
|
3551
|
-
],
|
|
3551
|
+
], Ue = [
|
|
3552
3552
|
462357,
|
|
3553
3553
|
472066609,
|
|
3554
3554
|
943670861,
|
|
@@ -3618,13 +3618,13 @@ function ce(t, e) {
|
|
|
3618
3618
|
const r = e & 31;
|
|
3619
3619
|
return t << r | t >>> 32 - r;
|
|
3620
3620
|
}
|
|
3621
|
-
function
|
|
3622
|
-
return (
|
|
3621
|
+
function Mt(t) {
|
|
3622
|
+
return (ze[t >>> 24 & 255] & 255) << 24 | (ze[t >>> 16 & 255] & 255) << 16 | (ze[t >>> 8 & 255] & 255) << 8 | ze[t & 255] & 255;
|
|
3623
3623
|
}
|
|
3624
|
-
function
|
|
3624
|
+
function $e(t) {
|
|
3625
3625
|
return t ^ ce(t, 2) ^ ce(t, 10) ^ ce(t, 18) ^ ce(t, 24);
|
|
3626
3626
|
}
|
|
3627
|
-
function
|
|
3627
|
+
function Me(t) {
|
|
3628
3628
|
return t ^ ce(t, 13) ^ ce(t, 23);
|
|
3629
3629
|
}
|
|
3630
3630
|
function df(t, e, r) {
|
|
@@ -3632,7 +3632,7 @@ function df(t, e, r) {
|
|
|
3632
3632
|
for (let i = 0; i < 4; i++)
|
|
3633
3633
|
s[0] = t[4 * i] & 255, s[1] = t[4 * i + 1] & 255, s[2] = t[4 * i + 2] & 255, s[3] = t[4 * i + 3] & 255, n[i] = s[0] << 24 | s[1] << 16 | s[2] << 8 | s[3];
|
|
3634
3634
|
for (let i = 0, o; i < 32; i += 4)
|
|
3635
|
-
o = n[1] ^ n[2] ^ n[3] ^ r[i + 0], n[0] ^=
|
|
3635
|
+
o = n[1] ^ n[2] ^ n[3] ^ r[i + 0], n[0] ^= $e(Mt(o)), o = n[2] ^ n[3] ^ n[0] ^ r[i + 1], n[1] ^= $e(Mt(o)), o = n[3] ^ n[0] ^ n[1] ^ r[i + 2], n[2] ^= $e(Mt(o)), o = n[0] ^ n[1] ^ n[2] ^ r[i + 3], n[3] ^= $e(Mt(o));
|
|
3636
3636
|
for (let i = 0; i < 16; i += 4)
|
|
3637
3637
|
e[i] = n[3 - i / 4] >>> 24 & 255, e[i + 1] = n[3 - i / 4] >>> 16 & 255, e[i + 2] = n[3 - i / 4] >>> 8 & 255, e[i + 3] = n[3 - i / 4] & 255;
|
|
3638
3638
|
}
|
|
@@ -3642,8 +3642,8 @@ function pf(t, e, r) {
|
|
|
3642
3642
|
s[0] = t[0 + 4 * i] & 255, s[1] = t[1 + 4 * i] & 255, s[2] = t[2 + 4 * i] & 255, s[3] = t[3 + 4 * i] & 255, n[i] = s[0] << 24 | s[1] << 16 | s[2] << 8 | s[3];
|
|
3643
3643
|
n[0] ^= 2746333894, n[1] ^= 1453994832, n[2] ^= 1736282519, n[3] ^= 2993693404;
|
|
3644
3644
|
for (let i = 0, o; i < 32; i += 4)
|
|
3645
|
-
o = n[1] ^ n[2] ^ n[3] ^
|
|
3646
|
-
if (r ===
|
|
3645
|
+
o = n[1] ^ n[2] ^ n[3] ^ Ue[i + 0], e[i + 0] = n[0] ^= Me(Mt(o)), o = n[2] ^ n[3] ^ n[0] ^ Ue[i + 1], e[i + 1] = n[1] ^= Me(Mt(o)), o = n[3] ^ n[0] ^ n[1] ^ Ue[i + 2], e[i + 2] = n[2] ^= Me(Mt(o)), o = n[0] ^ n[1] ^ n[2] ^ Ue[i + 3], e[i + 3] = n[3] ^= Me(Mt(o));
|
|
3646
|
+
if (r === Nt)
|
|
3647
3647
|
for (let i = 0, o; i < 16; i++)
|
|
3648
3648
|
o = e[i], e[i] = e[31 - i], e[31 - i] = o;
|
|
3649
3649
|
}
|
|
@@ -3657,8 +3657,8 @@ function hs(t, e, r, {
|
|
|
3657
3657
|
throw new Error("iv is invalid");
|
|
3658
3658
|
if (typeof e == "string" && (e = hn(e)), e.length !== 128 / 8)
|
|
3659
3659
|
throw new Error("key is invalid");
|
|
3660
|
-
if (typeof t == "string" ? r !==
|
|
3661
|
-
const h =
|
|
3660
|
+
if (typeof t == "string" ? r !== Nt ? t = lf(t) : t = hn(t) : t = [...t], (n === "pkcs#5" || n === "pkcs#7") && r !== Nt) {
|
|
3661
|
+
const h = Vt - t.length % Vt;
|
|
3662
3662
|
for (let v = 0; v < h; v++)
|
|
3663
3663
|
t.push(h);
|
|
3664
3664
|
}
|
|
@@ -3666,24 +3666,24 @@ function hs(t, e, r, {
|
|
|
3666
3666
|
pf(e, a, r);
|
|
3667
3667
|
const g = [];
|
|
3668
3668
|
let c = i, x = t.length, d = 0;
|
|
3669
|
-
for (; x >=
|
|
3669
|
+
for (; x >= Vt; ) {
|
|
3670
3670
|
const h = t.slice(d, d + 16), v = new Array(16);
|
|
3671
3671
|
if (s === "cbc")
|
|
3672
|
-
for (let f = 0; f <
|
|
3673
|
-
r !==
|
|
3672
|
+
for (let f = 0; f < Vt; f++)
|
|
3673
|
+
r !== Nt && (h[f] ^= c[f]);
|
|
3674
3674
|
df(h, v, a);
|
|
3675
|
-
for (let f = 0; f <
|
|
3676
|
-
s === "cbc" && r ===
|
|
3677
|
-
s === "cbc" && (r !==
|
|
3675
|
+
for (let f = 0; f < Vt; f++)
|
|
3676
|
+
s === "cbc" && r === Nt && (v[f] ^= c[f]), g[d + f] = v[f];
|
|
3677
|
+
s === "cbc" && (r !== Nt ? c = v : c = h), x -= Vt, d += Vt;
|
|
3678
3678
|
}
|
|
3679
|
-
if ((n === "pkcs#5" || n === "pkcs#7") && r ===
|
|
3679
|
+
if ((n === "pkcs#5" || n === "pkcs#7") && r === Nt) {
|
|
3680
3680
|
const h = g.length, v = g[h - 1];
|
|
3681
3681
|
for (let f = 1; f <= v; f++)
|
|
3682
3682
|
if (g[h - f] !== v)
|
|
3683
3683
|
throw new Error("padding is invalid");
|
|
3684
3684
|
g.splice(h - v, v);
|
|
3685
3685
|
}
|
|
3686
|
-
return o !== "array" ? r !==
|
|
3686
|
+
return o !== "array" ? r !== Nt ? uf(g) : hf(g) : g;
|
|
3687
3687
|
}
|
|
3688
3688
|
var vf = {
|
|
3689
3689
|
encrypt(t, e, r) {
|
|
@@ -3692,7 +3692,7 @@ var vf = {
|
|
|
3692
3692
|
decrypt(t, e, r) {
|
|
3693
3693
|
return hs(t, e, 0, r);
|
|
3694
3694
|
}
|
|
3695
|
-
},
|
|
3695
|
+
}, Kr = {
|
|
3696
3696
|
sm2: rf,
|
|
3697
3697
|
sm3: xf,
|
|
3698
3698
|
sm4: vf
|
|
@@ -3700,7 +3700,7 @@ var vf = {
|
|
|
3700
3700
|
const Qi = "04";
|
|
3701
3701
|
function gf(t, e) {
|
|
3702
3702
|
try {
|
|
3703
|
-
return Qi +
|
|
3703
|
+
return Qi + Kr.sm2.doEncrypt(t, e, 1);
|
|
3704
3704
|
} catch {
|
|
3705
3705
|
return null;
|
|
3706
3706
|
}
|
|
@@ -3709,17 +3709,17 @@ function Bf(t, e) {
|
|
|
3709
3709
|
if (t == null)
|
|
3710
3710
|
return null;
|
|
3711
3711
|
try {
|
|
3712
|
-
return
|
|
3712
|
+
return Kr.sm2.doDecrypt(t == null ? void 0 : t.substring(Qi.length), e, 1);
|
|
3713
3713
|
} catch {
|
|
3714
3714
|
return null;
|
|
3715
3715
|
}
|
|
3716
3716
|
}
|
|
3717
|
-
const
|
|
3717
|
+
const Oe = {
|
|
3718
3718
|
encrypt: gf,
|
|
3719
3719
|
decrypt: Bf
|
|
3720
|
-
}, yf = "049967b032226da56be01b804ed59e6753e2731994f4c97bb25d39c0d3166af07b73e2651d09b98ae934a70303138e859545e8314e2eda20971e222a444ecd3547", Ef = "1e38a5c42fe3049bfbbcb2323a0cff3feb49e0b8156ac71eed525133603dbddb", Yi = (t) => (
|
|
3721
|
-
const r =
|
|
3722
|
-
r === 2 && (e =
|
|
3720
|
+
}, yf = "049967b032226da56be01b804ed59e6753e2731994f4c97bb25d39c0d3166af07b73e2651d09b98ae934a70303138e859545e8314e2eda20971e222a444ecd3547", Ef = "1e38a5c42fe3049bfbbcb2323a0cff3feb49e0b8156ac71eed525133603dbddb", Yi = (t) => (Nr(t) && (t = K0(t)), Oe.encrypt(t, yf)), Vi = (t) => Oe.decrypt(t, Ef), Ji = (t) => `__${t}__mode`, mf = (t, e) => {
|
|
3721
|
+
const r = Nr(e) ? 2 : 1;
|
|
3722
|
+
r === 2 && (e = K0(e));
|
|
3723
3723
|
const n = Yi(e);
|
|
3724
3724
|
return {
|
|
3725
3725
|
[t]: n,
|
|
@@ -3731,12 +3731,12 @@ const ke = {
|
|
|
3731
3731
|
if (!e)
|
|
3732
3732
|
return null;
|
|
3733
3733
|
const r = {};
|
|
3734
|
-
return
|
|
3734
|
+
return Wt(e).map((n) => {
|
|
3735
3735
|
let s = e[n];
|
|
3736
3736
|
const i = e[Ji(n)];
|
|
3737
|
-
return i != null && (s = Vi(s), i == 2 && (s =
|
|
3737
|
+
return i != null && (s = Vi(s), i == 2 && (s = et(s))), r[n] = s, s;
|
|
3738
3738
|
}), r;
|
|
3739
|
-
}, bf = () => to(window.location.href),
|
|
3739
|
+
}, bf = () => to(window.location.href), Gr = {
|
|
3740
3740
|
decryptFromLocation: bf,
|
|
3741
3741
|
decryptFromUrl: to,
|
|
3742
3742
|
encryptToUrl: mf,
|
|
@@ -3766,28 +3766,28 @@ function eo() {
|
|
|
3766
3766
|
}
|
|
3767
3767
|
const Af = {
|
|
3768
3768
|
info(t) {
|
|
3769
|
-
|
|
3769
|
+
Fe({
|
|
3770
3770
|
type: "info",
|
|
3771
3771
|
message: t,
|
|
3772
3772
|
dangerouslyUseHTMLString: !0
|
|
3773
3773
|
});
|
|
3774
3774
|
},
|
|
3775
3775
|
error(t) {
|
|
3776
|
-
|
|
3776
|
+
Fe({
|
|
3777
3777
|
type: "error",
|
|
3778
3778
|
message: t,
|
|
3779
3779
|
dangerouslyUseHTMLString: !0
|
|
3780
3780
|
});
|
|
3781
3781
|
},
|
|
3782
3782
|
success(t) {
|
|
3783
|
-
|
|
3783
|
+
Fe({
|
|
3784
3784
|
type: "success",
|
|
3785
3785
|
message: t,
|
|
3786
3786
|
dangerouslyUseHTMLString: !0
|
|
3787
3787
|
});
|
|
3788
3788
|
},
|
|
3789
3789
|
warning(t) {
|
|
3790
|
-
|
|
3790
|
+
Fe({
|
|
3791
3791
|
type: "warning",
|
|
3792
3792
|
message: t,
|
|
3793
3793
|
dangerouslyUseHTMLString: !0
|
|
@@ -3842,10 +3842,10 @@ const Af = {
|
|
|
3842
3842
|
dangerouslyUseHTMLString: !0
|
|
3843
3843
|
});
|
|
3844
3844
|
}
|
|
3845
|
-
},
|
|
3845
|
+
}, er = (t) => {
|
|
3846
3846
|
var s, i;
|
|
3847
3847
|
const e = ((s = t == null ? void 0 : t.exposed) == null ? void 0 : s.getRowScope()) || {}, r = ((i = t == null ? void 0 : t.exposed) == null ? void 0 : i.getFormData()) || {};
|
|
3848
|
-
var n =
|
|
3848
|
+
var n = Gr.decryptFromUrl(window.location.href);
|
|
3849
3849
|
return {
|
|
3850
3850
|
rowScope: e,
|
|
3851
3851
|
formData: r,
|
|
@@ -3854,7 +3854,7 @@ const Af = {
|
|
|
3854
3854
|
};
|
|
3855
3855
|
function Cf(t, e, r, n) {
|
|
3856
3856
|
var h, v;
|
|
3857
|
-
let s =
|
|
3857
|
+
let s = _e((h = t == null ? void 0 : t.content) == null ? void 0 : h.widgetId, !0), i = _e((v = t == null ? void 0 : t.content) == null ? void 0 : v.sourceId, !0);
|
|
3858
3858
|
if (!s || !i)
|
|
3859
3859
|
return null;
|
|
3860
3860
|
const o = () => new Promise((f, l) => {
|
|
@@ -3881,7 +3881,7 @@ function Cf(t, e, r, n) {
|
|
|
3881
3881
|
}).catch((B) => {
|
|
3882
3882
|
var C;
|
|
3883
3883
|
const b = Array.isArray(B == null ? void 0 : B.message) ? (C = Array.from(B == null ? void 0 : B.message)) == null ? void 0 : C.map((_) => `<p class="pLine">${_}</p>`).join("") : B == null ? void 0 : B.message;
|
|
3884
|
-
Ff.error(b ||
|
|
3884
|
+
Ff.error(b || K0(B));
|
|
3885
3885
|
});
|
|
3886
3886
|
}), a = (f) => {
|
|
3887
3887
|
var y;
|
|
@@ -3890,8 +3890,8 @@ function Cf(t, e, r, n) {
|
|
|
3890
3890
|
}, g = (f, l, y) => {
|
|
3891
3891
|
if (!f)
|
|
3892
3892
|
return y;
|
|
3893
|
-
const A =
|
|
3894
|
-
return
|
|
3893
|
+
const A = er(r);
|
|
3894
|
+
return Dt(f, {
|
|
3895
3895
|
formData: y || (A == null ? void 0 : A.formData) || {},
|
|
3896
3896
|
arg: {
|
|
3897
3897
|
urlQuery: A == null ? void 0 : A.urlQuerys,
|
|
@@ -3902,8 +3902,8 @@ function Cf(t, e, r, n) {
|
|
|
3902
3902
|
}, c = (f, l, y, A, E) => {
|
|
3903
3903
|
if (!f)
|
|
3904
3904
|
return A;
|
|
3905
|
-
const B =
|
|
3906
|
-
return
|
|
3905
|
+
const B = er(r);
|
|
3906
|
+
return Dt(f, {
|
|
3907
3907
|
widgetId: E,
|
|
3908
3908
|
respValue: A,
|
|
3909
3909
|
respData: y,
|
|
@@ -3920,21 +3920,21 @@ function Cf(t, e, r, n) {
|
|
|
3920
3920
|
var A = [];
|
|
3921
3921
|
let E = a(g((B = t == null ? void 0 : t.content) == null ? void 0 : B.beforeFetch, e, y));
|
|
3922
3922
|
i == null || i.forEach((b) => {
|
|
3923
|
-
var C = `${
|
|
3923
|
+
var C = `${E0.schema}.${b}`, _ = K.buildVariablePropValue(C, E);
|
|
3924
3924
|
const S = K.getValue(_, !1, !0, n);
|
|
3925
3925
|
A.push({ sourceId: b, params: E, resp: S });
|
|
3926
3926
|
}), f(A);
|
|
3927
3927
|
});
|
|
3928
3928
|
}), d = (f) => {
|
|
3929
3929
|
f == null || f.forEach((l) => {
|
|
3930
|
-
let y =
|
|
3930
|
+
let y = Ve(l == null ? void 0 : l.resp, (A) => {
|
|
3931
3931
|
y == null || y(), s == null || s.forEach((E) => {
|
|
3932
|
-
var C, _, S, T,
|
|
3932
|
+
var C, _, S, T, H, w;
|
|
3933
3933
|
var B = (C = r == null ? void 0 : r.exposed) == null ? void 0 : C.findRefById(E);
|
|
3934
3934
|
if (!B)
|
|
3935
3935
|
return;
|
|
3936
3936
|
const b = (_ = t == null ? void 0 : t.content) == null ? void 0 : _.afterFetch;
|
|
3937
|
-
b ? c(b, e, { ...l, resp: A }, A, E) : (T = (S = B == null ? void 0 : B.exposed) == null ? void 0 : S.setValue) == null || T.call(S, A, !1), (w = (
|
|
3937
|
+
b ? c(b, e, { ...l, resp: A }, A, E) : (T = (S = B == null ? void 0 : B.exposed) == null ? void 0 : S.setValue) == null || T.call(S, A, !1), (w = (H = B == null ? void 0 : B.exposed) == null ? void 0 : H.clearChangeRecord) == null || w.call(H);
|
|
3938
3938
|
});
|
|
3939
3939
|
});
|
|
3940
3940
|
});
|
|
@@ -3958,7 +3958,7 @@ function Df(t, e, r, n) {
|
|
|
3958
3958
|
}, i = (c, x) => {
|
|
3959
3959
|
var l, y;
|
|
3960
3960
|
const d = ((l = r == null ? void 0 : r.exposed) == null ? void 0 : l.getRowScope()) || {}, h = ((y = r == null ? void 0 : r.exposed) == null ? void 0 : y.getFormData()) || {};
|
|
3961
|
-
var v =
|
|
3961
|
+
var v = Gr.decryptFromUrl(window.location.href), f = Dt(c, {
|
|
3962
3962
|
data: {
|
|
3963
3963
|
urlQuery: v,
|
|
3964
3964
|
rowScope: d,
|
|
@@ -3983,7 +3983,7 @@ function Df(t, e, r, n) {
|
|
|
3983
3983
|
case en.parent:
|
|
3984
3984
|
return window.parent;
|
|
3985
3985
|
default:
|
|
3986
|
-
return (x = t == null ? void 0 : t.content) != null && x.windowTarget ? (h =
|
|
3986
|
+
return (x = t == null ? void 0 : t.content) != null && x.windowTarget ? (h = W0.find(window, (d = t == null ? void 0 : t.content) == null ? void 0 : d.windowTarget)) == null ? void 0 : h.window : window;
|
|
3987
3987
|
}
|
|
3988
3988
|
};
|
|
3989
3989
|
(() => {
|
|
@@ -3991,11 +3991,11 @@ function Df(t, e, r, n) {
|
|
|
3991
3991
|
const { openWindow: c } = eo(), x = a(), d = o();
|
|
3992
3992
|
if (((f = t == null ? void 0 : t.content) == null ? void 0 : f.windowModal) === ya.modal) {
|
|
3993
3993
|
var h = { self: window == null ? void 0 : window.name, caller: x == null ? void 0 : x.name };
|
|
3994
|
-
const y = (T,
|
|
3994
|
+
const y = (T, H, w) => {
|
|
3995
3995
|
var L;
|
|
3996
3996
|
const F = (L = t == null ? void 0 : t.content) == null ? void 0 : L.onReceive;
|
|
3997
|
-
F &&
|
|
3998
|
-
data: { msgId: T, eventMsg:
|
|
3997
|
+
F && Dt(F, {
|
|
3998
|
+
data: { msgId: T, eventMsg: H },
|
|
3999
3999
|
exp: e,
|
|
4000
4000
|
callback: w
|
|
4001
4001
|
});
|
|
@@ -4016,14 +4016,14 @@ function Df(t, e, r, n) {
|
|
|
4016
4016
|
}
|
|
4017
4017
|
function wf(t, e, r, n) {
|
|
4018
4018
|
var x;
|
|
4019
|
-
let s =
|
|
4019
|
+
let s = _e((x = t == null ? void 0 : t.content) == null ? void 0 : x.sourceId, !0);
|
|
4020
4020
|
if (!s)
|
|
4021
4021
|
return null;
|
|
4022
4022
|
const i = (d, h, v) => {
|
|
4023
4023
|
if (!d)
|
|
4024
4024
|
return v;
|
|
4025
|
-
const f =
|
|
4026
|
-
return
|
|
4025
|
+
const f = er(r);
|
|
4026
|
+
return Dt(d, {
|
|
4027
4027
|
formData: v || (f == null ? void 0 : f.formData) || {},
|
|
4028
4028
|
arg: {
|
|
4029
4029
|
urlQuery: f == null ? void 0 : f.urlQuerys,
|
|
@@ -4034,18 +4034,18 @@ function wf(t, e, r, n) {
|
|
|
4034
4034
|
}, o = () => {
|
|
4035
4035
|
var l, y, A;
|
|
4036
4036
|
var d = [];
|
|
4037
|
-
const h = (l = t == null ? void 0 : t.content) == null ? void 0 : l.params, v =
|
|
4037
|
+
const h = (l = t == null ? void 0 : t.content) == null ? void 0 : l.params, v = et(kl(h, n));
|
|
4038
4038
|
let f = (y = t == null ? void 0 : t.content) != null && y.beforeFetch ? i((A = t == null ? void 0 : t.content) == null ? void 0 : A.beforeFetch, e, v) : h;
|
|
4039
4039
|
return s == null || s.forEach((E) => {
|
|
4040
|
-
var B = `${
|
|
4040
|
+
var B = `${E0.schema}.${E}`, b = K.buildVariablePropValue(B, f);
|
|
4041
4041
|
const C = K.getValue(b, !1, !0, n);
|
|
4042
4042
|
d.push({ sourceId: E, params: f, resp: C });
|
|
4043
4043
|
}), d;
|
|
4044
4044
|
}, a = (d, h, v, f) => {
|
|
4045
4045
|
if (!d)
|
|
4046
4046
|
return f;
|
|
4047
|
-
const l =
|
|
4048
|
-
return
|
|
4047
|
+
const l = er(r);
|
|
4048
|
+
return Dt(d, {
|
|
4049
4049
|
respValue: f,
|
|
4050
4050
|
respData: v,
|
|
4051
4051
|
arg: {
|
|
@@ -4057,7 +4057,7 @@ function wf(t, e, r, n) {
|
|
|
4057
4057
|
});
|
|
4058
4058
|
}, g = (d) => {
|
|
4059
4059
|
d == null || d.forEach((h) => {
|
|
4060
|
-
let v =
|
|
4060
|
+
let v = Ve(h == null ? void 0 : h.resp, (f) => {
|
|
4061
4061
|
var l, y;
|
|
4062
4062
|
v == null || v(), (l = t == null ? void 0 : t.content) != null && l.afterFetch && a((y = t == null ? void 0 : t.content) == null ? void 0 : y.afterFetch, e, { ...h, resp: f }, f);
|
|
4063
4063
|
});
|
|
@@ -4069,11 +4069,11 @@ function wf(t, e, r, n) {
|
|
|
4069
4069
|
function _f(t, e, r, n) {
|
|
4070
4070
|
var s, i, o, a, g, c, x;
|
|
4071
4071
|
switch (t == null ? void 0 : t.type) {
|
|
4072
|
-
case
|
|
4073
|
-
return
|
|
4074
|
-
case
|
|
4072
|
+
case ht.actionCode:
|
|
4073
|
+
return Dt((s = t == null ? void 0 : t.content) == null ? void 0 : s.code, e);
|
|
4074
|
+
case ht.actionURL:
|
|
4075
4075
|
return Df(t, e, r);
|
|
4076
|
-
case
|
|
4076
|
+
case ht.actionShowWidget: {
|
|
4077
4077
|
let d = (i = t == null ? void 0 : t.content) == null ? void 0 : i.widgetId;
|
|
4078
4078
|
Array.isArray(d) || (d = [d]), d == null || d.forEach((h) => {
|
|
4079
4079
|
var v, f, l;
|
|
@@ -4081,7 +4081,7 @@ function _f(t, e, r, n) {
|
|
|
4081
4081
|
});
|
|
4082
4082
|
return;
|
|
4083
4083
|
}
|
|
4084
|
-
case
|
|
4084
|
+
case ht.actionHideWidget: {
|
|
4085
4085
|
let d = (o = t == null ? void 0 : t.content) == null ? void 0 : o.widgetId;
|
|
4086
4086
|
Array.isArray(d) || (d = [d]), d == null || d.forEach((h) => {
|
|
4087
4087
|
var v, f, l;
|
|
@@ -4089,7 +4089,7 @@ function _f(t, e, r, n) {
|
|
|
4089
4089
|
});
|
|
4090
4090
|
return;
|
|
4091
4091
|
}
|
|
4092
|
-
case
|
|
4092
|
+
case ht.actionEnableWidget: {
|
|
4093
4093
|
let d = (a = t == null ? void 0 : t.content) == null ? void 0 : a.widgetId;
|
|
4094
4094
|
Array.isArray(d) || (d = [d]), d == null || d.forEach((h) => {
|
|
4095
4095
|
var v, f, l;
|
|
@@ -4097,7 +4097,7 @@ function _f(t, e, r, n) {
|
|
|
4097
4097
|
});
|
|
4098
4098
|
return;
|
|
4099
4099
|
}
|
|
4100
|
-
case
|
|
4100
|
+
case ht.actionDisableWidget: {
|
|
4101
4101
|
let d = (g = t == null ? void 0 : t.content) == null ? void 0 : g.widgetId;
|
|
4102
4102
|
Array.isArray(d) || (d = [d]), d == null || d.forEach((h) => {
|
|
4103
4103
|
var v, f, l;
|
|
@@ -4105,7 +4105,7 @@ function _f(t, e, r, n) {
|
|
|
4105
4105
|
});
|
|
4106
4106
|
return;
|
|
4107
4107
|
}
|
|
4108
|
-
case
|
|
4108
|
+
case ht.actionOpenDialog: {
|
|
4109
4109
|
let d = (c = t == null ? void 0 : t.content) == null ? void 0 : c.widgetId;
|
|
4110
4110
|
Array.isArray(d) || (d = [d]), d == null || d.forEach((h) => {
|
|
4111
4111
|
var v, f, l;
|
|
@@ -4113,7 +4113,7 @@ function _f(t, e, r, n) {
|
|
|
4113
4113
|
});
|
|
4114
4114
|
return;
|
|
4115
4115
|
}
|
|
4116
|
-
case
|
|
4116
|
+
case ht.actionCloseDialog: {
|
|
4117
4117
|
let d = (x = t == null ? void 0 : t.content) == null ? void 0 : x.widgetId;
|
|
4118
4118
|
Array.isArray(d) || (d = [d]), d == null || d.forEach((h) => {
|
|
4119
4119
|
var v, f, l;
|
|
@@ -4121,9 +4121,9 @@ function _f(t, e, r, n) {
|
|
|
4121
4121
|
});
|
|
4122
4122
|
return;
|
|
4123
4123
|
}
|
|
4124
|
-
case
|
|
4124
|
+
case ht.actionSendSchema:
|
|
4125
4125
|
return wf(t, e, r, n);
|
|
4126
|
-
case
|
|
4126
|
+
case ht.actionSaveFormData:
|
|
4127
4127
|
return Cf(t, e, r, n);
|
|
4128
4128
|
}
|
|
4129
4129
|
}
|
|
@@ -4177,7 +4177,7 @@ function Pf(t, e, r) {
|
|
|
4177
4177
|
if (t == null)
|
|
4178
4178
|
return null;
|
|
4179
4179
|
try {
|
|
4180
|
-
return
|
|
4180
|
+
return Kr.sm4.encrypt(t, e, ro(r));
|
|
4181
4181
|
} catch {
|
|
4182
4182
|
return null;
|
|
4183
4183
|
}
|
|
@@ -4186,7 +4186,7 @@ function Hf(t, e, r) {
|
|
|
4186
4186
|
if (t == null)
|
|
4187
4187
|
return null;
|
|
4188
4188
|
try {
|
|
4189
|
-
return
|
|
4189
|
+
return Kr.sm4.decrypt(t, e, ro(r));
|
|
4190
4190
|
} catch {
|
|
4191
4191
|
return null;
|
|
4192
4192
|
}
|
|
@@ -4194,16 +4194,16 @@ function Hf(t, e, r) {
|
|
|
4194
4194
|
const Pn = {
|
|
4195
4195
|
encrypt: Pf,
|
|
4196
4196
|
decrypt: Hf
|
|
4197
|
-
}, no = "3.7.7", If = no, ge = typeof Buffer == "function", ds = typeof TextDecoder == "function" ? new TextDecoder() : void 0, ps = typeof TextEncoder == "function" ? new TextEncoder() : void 0, qf = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
|
|
4197
|
+
}, no = "3.7.7", If = no, ge = typeof Buffer == "function", ds = typeof TextDecoder == "function" ? new TextDecoder() : void 0, ps = typeof TextEncoder == "function" ? new TextEncoder() : void 0, qf = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ce = Array.prototype.slice.call(qf), je = ((t) => {
|
|
4198
4198
|
let e = {};
|
|
4199
4199
|
return t.forEach((r, n) => e[r] = n), e;
|
|
4200
|
-
})(
|
|
4200
|
+
})(Ce), Nf = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, R0 = String.fromCharCode.bind(String), vs = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (t) => new Uint8Array(Array.prototype.slice.call(t, 0)), so = (t) => t.replace(/=/g, "").replace(/[+\/]/g, (e) => e == "+" ? "-" : "_"), io = (t) => t.replace(/[^A-Za-z0-9\+\/]/g, ""), oo = (t) => {
|
|
4201
4201
|
let e, r, n, s, i = "";
|
|
4202
4202
|
const o = t.length % 3;
|
|
4203
4203
|
for (let a = 0; a < t.length; ) {
|
|
4204
4204
|
if ((r = t.charCodeAt(a++)) > 255 || (n = t.charCodeAt(a++)) > 255 || (s = t.charCodeAt(a++)) > 255)
|
|
4205
4205
|
throw new TypeError("invalid character found");
|
|
4206
|
-
e = r << 16 | n << 8 | s, i +=
|
|
4206
|
+
e = r << 16 | n << 8 | s, i += Ce[e >> 18 & 63] + Ce[e >> 12 & 63] + Ce[e >> 6 & 63] + Ce[e & 63];
|
|
4207
4207
|
}
|
|
4208
4208
|
return o ? i.slice(0, o - 3) + "===".substring(o) : i;
|
|
4209
4209
|
}, Hn = typeof btoa == "function" ? (t) => btoa(t) : ge ? (t) => Buffer.from(t, "binary").toString("base64") : oo, yn = ge ? (t) => Buffer.from(t).toString("base64") : (t) => {
|
|
@@ -4211,7 +4211,7 @@ const Pn = {
|
|
|
4211
4211
|
for (let n = 0, s = t.length; n < s; n += 4096)
|
|
4212
4212
|
r.push(R0.apply(null, t.subarray(n, n + 4096)));
|
|
4213
4213
|
return Hn(r.join(""));
|
|
4214
|
-
},
|
|
4214
|
+
}, Qe = (t, e = !1) => e ? so(yn(t)) : yn(t), Lf = (t) => {
|
|
4215
4215
|
if (t.length < 2) {
|
|
4216
4216
|
var e = t.charCodeAt(0);
|
|
4217
4217
|
return e < 128 ? t : e < 2048 ? R0(192 | e >>> 6) + R0(128 | e & 63) : R0(224 | e >>> 12 & 15) + R0(128 | e >>> 6 & 63) + R0(128 | e & 63);
|
|
@@ -4235,7 +4235,7 @@ const Pn = {
|
|
|
4235
4235
|
t += "==".slice(2 - (t.length & 3));
|
|
4236
4236
|
let e, r = "", n, s;
|
|
4237
4237
|
for (let i = 0; i < t.length; )
|
|
4238
|
-
e =
|
|
4238
|
+
e = je[t.charAt(i++)] << 18 | je[t.charAt(i++)] << 12 | (n = je[t.charAt(i++)]) << 6 | (s = je[t.charAt(i++)]), r += n === 64 ? R0(e >> 16 & 255) : s === 64 ? R0(e >> 16 & 255, e >> 8 & 255) : R0(e >> 16 & 255, e >> 8 & 255, e & 255);
|
|
4239
4239
|
return r;
|
|
4240
4240
|
}, In = typeof atob == "function" ? (t) => atob(io(t)) : ge ? (t) => Buffer.from(t, "base64").toString("binary") : xo, fo = ge ? (t) => vs(Buffer.from(t, "base64")) : (t) => vs(In(t).split("").map((e) => e.charCodeAt(0))), uo = (t) => fo(lo(t)), Mf = ge ? (t) => Buffer.from(t, "base64").toString("utf8") : ds ? (t) => ds.decode(fo(t)) : (t) => co(In(t)), lo = (t) => io(t.replace(/[-_]/g, (e) => e == "-" ? "+" : "/")), En = (t) => Mf(lo(t)), jf = (t) => {
|
|
4241
4241
|
if (typeof t != "string")
|
|
@@ -4263,11 +4263,11 @@ const Pn = {
|
|
|
4263
4263
|
}, vo = function() {
|
|
4264
4264
|
const t = (e, r) => Object.defineProperty(Uint8Array.prototype, e, ho(r));
|
|
4265
4265
|
t("toBase64", function(e) {
|
|
4266
|
-
return
|
|
4266
|
+
return Qe(this, e);
|
|
4267
4267
|
}), t("toBase64URI", function() {
|
|
4268
|
-
return
|
|
4268
|
+
return Qe(this, !0);
|
|
4269
4269
|
}), t("toBase64URL", function() {
|
|
4270
|
-
return
|
|
4270
|
+
return Qe(this, !0);
|
|
4271
4271
|
});
|
|
4272
4272
|
}, Wf = () => {
|
|
4273
4273
|
po(), vo();
|
|
@@ -4287,7 +4287,7 @@ const Pn = {
|
|
|
4287
4287
|
btou: co,
|
|
4288
4288
|
decode: En,
|
|
4289
4289
|
isValid: jf,
|
|
4290
|
-
fromUint8Array:
|
|
4290
|
+
fromUint8Array: Qe,
|
|
4291
4291
|
toUint8Array: uo,
|
|
4292
4292
|
extendString: po,
|
|
4293
4293
|
extendUint8Array: vo,
|
|
@@ -4501,26 +4501,26 @@ const dn = new Kf(), qn = (t, e) => {
|
|
|
4501
4501
|
if (!t)
|
|
4502
4502
|
return "";
|
|
4503
4503
|
t.timeStamp = new Date().getTime();
|
|
4504
|
-
const r = sa(t), s =
|
|
4504
|
+
const r = sa(t), s = K0(r) + e, i = dn == null ? void 0 : dn.hex_md5(s), o = Zf.encode(i);
|
|
4505
4505
|
return r.dataDigest = o, r;
|
|
4506
4506
|
}, Gf = (t, e, r) => {
|
|
4507
4507
|
const n = qn(t, e);
|
|
4508
|
-
return
|
|
4508
|
+
return Oe.encrypt(K0(n), r);
|
|
4509
4509
|
}, Xf = (t, e) => {
|
|
4510
|
-
if (
|
|
4510
|
+
if (z0(t))
|
|
4511
4511
|
return null;
|
|
4512
|
-
const r =
|
|
4513
|
-
var n =
|
|
4514
|
-
return r !== null && n === null &&
|
|
4512
|
+
const r = Oe.decrypt(t, e);
|
|
4513
|
+
var n = et(r);
|
|
4514
|
+
return r !== null && n === null && Zt.info("decodeSM2", { sm2Decrypt: r }), n;
|
|
4515
4515
|
}, Qf = (t, e, r, n) => {
|
|
4516
4516
|
const s = qn(t, e);
|
|
4517
|
-
return Pn.encrypt(
|
|
4517
|
+
return Pn.encrypt(K0(s), r, n);
|
|
4518
4518
|
}, Yf = (t, e, r) => {
|
|
4519
|
-
if (
|
|
4519
|
+
if (z0(t))
|
|
4520
4520
|
return null;
|
|
4521
4521
|
const n = Pn.decrypt(t, e, r);
|
|
4522
|
-
var s =
|
|
4523
|
-
return n !== null && s === null &&
|
|
4522
|
+
var s = et(n);
|
|
4523
|
+
return n !== null && s === null && Zt.info("decodeSM4", { sm4Decrypt: n }), s;
|
|
4524
4524
|
}, Vf = {
|
|
4525
4525
|
traceBody: qn,
|
|
4526
4526
|
encodeSM2: Gf,
|
|
@@ -4539,12 +4539,12 @@ var mn = {}, Jf = {
|
|
|
4539
4539
|
function tu(t) {
|
|
4540
4540
|
throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
4541
4541
|
}
|
|
4542
|
-
var
|
|
4542
|
+
var rr = {}, eu = {
|
|
4543
4543
|
get exports() {
|
|
4544
|
-
return
|
|
4544
|
+
return rr;
|
|
4545
4545
|
},
|
|
4546
4546
|
set exports(t) {
|
|
4547
|
-
|
|
4547
|
+
rr = t;
|
|
4548
4548
|
}
|
|
4549
4549
|
};
|
|
4550
4550
|
const ru = {}, nu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -4721,8 +4721,8 @@ function o0() {
|
|
|
4721
4721
|
B[C + S >>> 2] |= T << 24 - (C + S) % 4 * 8;
|
|
4722
4722
|
}
|
|
4723
4723
|
else
|
|
4724
|
-
for (var
|
|
4725
|
-
B[C +
|
|
4724
|
+
for (var H = 0; H < _; H += 4)
|
|
4725
|
+
B[C + H >>> 2] = b[H >>> 2];
|
|
4726
4726
|
return this.sigBytes += _, this;
|
|
4727
4727
|
},
|
|
4728
4728
|
/**
|
|
@@ -4921,9 +4921,9 @@ function o0() {
|
|
|
4921
4921
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
4922
4922
|
*/
|
|
4923
4923
|
_process: function(E) {
|
|
4924
|
-
var B, b = this._data, C = b.words, _ = b.sigBytes, S = this.blockSize, T = S * 4,
|
|
4925
|
-
E ?
|
|
4926
|
-
var w =
|
|
4924
|
+
var B, b = this._data, C = b.words, _ = b.sigBytes, S = this.blockSize, T = S * 4, H = _ / T;
|
|
4925
|
+
E ? H = n.ceil(H) : H = n.max((H | 0) - this._minBufferSize, 0);
|
|
4926
|
+
var w = H * S, F = n.min(w * 4, _);
|
|
4927
4927
|
if (w) {
|
|
4928
4928
|
for (var L = 0; L < w; L += S)
|
|
4929
4929
|
this._doProcessBlock(C, L);
|
|
@@ -5050,17 +5050,17 @@ function o0() {
|
|
|
5050
5050
|
}(Math);
|
|
5051
5051
|
return r;
|
|
5052
5052
|
});
|
|
5053
|
-
}(eu)),
|
|
5053
|
+
}(eu)), rr;
|
|
5054
5054
|
}
|
|
5055
|
-
var
|
|
5055
|
+
var nr = {}, iu = {
|
|
5056
5056
|
get exports() {
|
|
5057
|
-
return
|
|
5057
|
+
return nr;
|
|
5058
5058
|
},
|
|
5059
5059
|
set exports(t) {
|
|
5060
|
-
|
|
5060
|
+
nr = t;
|
|
5061
5061
|
}
|
|
5062
5062
|
}, Es;
|
|
5063
|
-
function
|
|
5063
|
+
function Xr() {
|
|
5064
5064
|
return Es || (Es = 1, function(t, e) {
|
|
5065
5065
|
(function(r, n) {
|
|
5066
5066
|
t.exports = n(o0());
|
|
@@ -5287,14 +5287,14 @@ function Gr() {
|
|
|
5287
5287
|
});
|
|
5288
5288
|
}(), r;
|
|
5289
5289
|
});
|
|
5290
|
-
}(iu)),
|
|
5290
|
+
}(iu)), nr;
|
|
5291
5291
|
}
|
|
5292
|
-
var
|
|
5292
|
+
var sr = {}, ou = {
|
|
5293
5293
|
get exports() {
|
|
5294
|
-
return
|
|
5294
|
+
return sr;
|
|
5295
5295
|
},
|
|
5296
5296
|
set exports(t) {
|
|
5297
|
-
|
|
5297
|
+
sr = t;
|
|
5298
5298
|
}
|
|
5299
5299
|
}, ms;
|
|
5300
5300
|
function au() {
|
|
@@ -5316,14 +5316,14 @@ function au() {
|
|
|
5316
5316
|
}
|
|
5317
5317
|
}(), r.lib.WordArray;
|
|
5318
5318
|
});
|
|
5319
|
-
}(ou)),
|
|
5319
|
+
}(ou)), sr;
|
|
5320
5320
|
}
|
|
5321
|
-
var
|
|
5321
|
+
var ir = {}, cu = {
|
|
5322
5322
|
get exports() {
|
|
5323
|
-
return
|
|
5323
|
+
return ir;
|
|
5324
5324
|
},
|
|
5325
5325
|
set exports(t) {
|
|
5326
|
-
|
|
5326
|
+
ir = t;
|
|
5327
5327
|
}
|
|
5328
5328
|
}, bs;
|
|
5329
5329
|
function xu() {
|
|
@@ -5417,17 +5417,17 @@ function xu() {
|
|
|
5417
5417
|
}
|
|
5418
5418
|
}(), r.enc.Utf16;
|
|
5419
5419
|
});
|
|
5420
|
-
}(cu)),
|
|
5420
|
+
}(cu)), ir;
|
|
5421
5421
|
}
|
|
5422
|
-
var
|
|
5422
|
+
var or = {}, fu = {
|
|
5423
5423
|
get exports() {
|
|
5424
|
-
return
|
|
5424
|
+
return or;
|
|
5425
5425
|
},
|
|
5426
5426
|
set exports(t) {
|
|
5427
|
-
|
|
5427
|
+
or = t;
|
|
5428
5428
|
}
|
|
5429
5429
|
}, As;
|
|
5430
|
-
function
|
|
5430
|
+
function re() {
|
|
5431
5431
|
return As || (As = 1, function(t, e) {
|
|
5432
5432
|
(function(r, n) {
|
|
5433
5433
|
t.exports = n(o0());
|
|
@@ -5499,14 +5499,14 @@ function Jt() {
|
|
|
5499
5499
|
}
|
|
5500
5500
|
}(), r.enc.Base64;
|
|
5501
5501
|
});
|
|
5502
|
-
}(fu)),
|
|
5502
|
+
}(fu)), or;
|
|
5503
5503
|
}
|
|
5504
|
-
var
|
|
5504
|
+
var ar = {}, uu = {
|
|
5505
5505
|
get exports() {
|
|
5506
|
-
return
|
|
5506
|
+
return ar;
|
|
5507
5507
|
},
|
|
5508
5508
|
set exports(t) {
|
|
5509
|
-
|
|
5509
|
+
ar = t;
|
|
5510
5510
|
}
|
|
5511
5511
|
}, Fs;
|
|
5512
5512
|
function lu() {
|
|
@@ -5588,17 +5588,17 @@ function lu() {
|
|
|
5588
5588
|
}
|
|
5589
5589
|
}(), r.enc.Base64url;
|
|
5590
5590
|
});
|
|
5591
|
-
}(uu)),
|
|
5591
|
+
}(uu)), ar;
|
|
5592
5592
|
}
|
|
5593
|
-
var
|
|
5593
|
+
var cr = {}, hu = {
|
|
5594
5594
|
get exports() {
|
|
5595
|
-
return
|
|
5595
|
+
return cr;
|
|
5596
5596
|
},
|
|
5597
5597
|
set exports(t) {
|
|
5598
|
-
|
|
5598
|
+
cr = t;
|
|
5599
5599
|
}
|
|
5600
5600
|
}, Cs;
|
|
5601
|
-
function
|
|
5601
|
+
function ne() {
|
|
5602
5602
|
return Cs || (Cs = 1, function(t, e) {
|
|
5603
5603
|
(function(r, n) {
|
|
5604
5604
|
t.exports = n(o0());
|
|
@@ -5623,8 +5623,8 @@ function te() {
|
|
|
5623
5623
|
var E = y + A, B = l[E];
|
|
5624
5624
|
l[E] = (B << 8 | B >>> 24) & 16711935 | (B << 24 | B >>> 8) & 4278255360;
|
|
5625
5625
|
}
|
|
5626
|
-
var b = this._hash.words, C = l[y + 0], _ = l[y + 1], S = l[y + 2], T = l[y + 3],
|
|
5627
|
-
|
|
5626
|
+
var b = this._hash.words, C = l[y + 0], _ = l[y + 1], S = l[y + 2], T = l[y + 3], H = l[y + 4], w = l[y + 5], F = l[y + 6], L = l[y + 7], z = l[y + 8], Y = l[y + 9], J = l[y + 10], e0 = l[y + 11], u0 = l[y + 12], V = l[y + 13], l0 = l[y + 14], a0 = l[y + 15], P = b[0], I = b[1], M = b[2], U = b[3];
|
|
5627
|
+
P = d(P, I, M, U, C, 7, c[0]), U = d(U, P, I, M, _, 12, c[1]), M = d(M, U, P, I, S, 17, c[2]), I = d(I, M, U, P, T, 22, c[3]), P = d(P, I, M, U, H, 7, c[4]), U = d(U, P, I, M, w, 12, c[5]), M = d(M, U, P, I, F, 17, c[6]), I = d(I, M, U, P, L, 22, c[7]), P = d(P, I, M, U, z, 7, c[8]), U = d(U, P, I, M, Y, 12, c[9]), M = d(M, U, P, I, J, 17, c[10]), I = d(I, M, U, P, e0, 22, c[11]), P = d(P, I, M, U, u0, 7, c[12]), U = d(U, P, I, M, V, 12, c[13]), M = d(M, U, P, I, l0, 17, c[14]), I = d(I, M, U, P, a0, 22, c[15]), P = h(P, I, M, U, _, 5, c[16]), U = h(U, P, I, M, F, 9, c[17]), M = h(M, U, P, I, e0, 14, c[18]), I = h(I, M, U, P, C, 20, c[19]), P = h(P, I, M, U, w, 5, c[20]), U = h(U, P, I, M, J, 9, c[21]), M = h(M, U, P, I, a0, 14, c[22]), I = h(I, M, U, P, H, 20, c[23]), P = h(P, I, M, U, Y, 5, c[24]), U = h(U, P, I, M, l0, 9, c[25]), M = h(M, U, P, I, T, 14, c[26]), I = h(I, M, U, P, z, 20, c[27]), P = h(P, I, M, U, V, 5, c[28]), U = h(U, P, I, M, S, 9, c[29]), M = h(M, U, P, I, L, 14, c[30]), I = h(I, M, U, P, u0, 20, c[31]), P = v(P, I, M, U, w, 4, c[32]), U = v(U, P, I, M, z, 11, c[33]), M = v(M, U, P, I, e0, 16, c[34]), I = v(I, M, U, P, l0, 23, c[35]), P = v(P, I, M, U, _, 4, c[36]), U = v(U, P, I, M, H, 11, c[37]), M = v(M, U, P, I, L, 16, c[38]), I = v(I, M, U, P, J, 23, c[39]), P = v(P, I, M, U, V, 4, c[40]), U = v(U, P, I, M, C, 11, c[41]), M = v(M, U, P, I, T, 16, c[42]), I = v(I, M, U, P, F, 23, c[43]), P = v(P, I, M, U, Y, 4, c[44]), U = v(U, P, I, M, u0, 11, c[45]), M = v(M, U, P, I, a0, 16, c[46]), I = v(I, M, U, P, S, 23, c[47]), P = f(P, I, M, U, C, 6, c[48]), U = f(U, P, I, M, L, 10, c[49]), M = f(M, U, P, I, l0, 15, c[50]), I = f(I, M, U, P, w, 21, c[51]), P = f(P, I, M, U, u0, 6, c[52]), U = f(U, P, I, M, T, 10, c[53]), M = f(M, U, P, I, J, 15, c[54]), I = f(I, M, U, P, _, 21, c[55]), P = f(P, I, M, U, z, 6, c[56]), U = f(U, P, I, M, a0, 10, c[57]), M = f(M, U, P, I, F, 15, c[58]), I = f(I, M, U, P, V, 21, c[59]), P = f(P, I, M, U, H, 6, c[60]), U = f(U, P, I, M, e0, 10, c[61]), M = f(M, U, P, I, S, 15, c[62]), I = f(I, M, U, P, Y, 21, c[63]), b[0] = b[0] + P | 0, b[1] = b[1] + I | 0, b[2] = b[2] + M | 0, b[3] = b[3] + U | 0;
|
|
5628
5628
|
},
|
|
5629
5629
|
_doFinalize: function() {
|
|
5630
5630
|
var l = this._data, y = l.words, A = this._nDataBytes * 8, E = l.sigBytes * 8;
|
|
@@ -5661,14 +5661,14 @@ function te() {
|
|
|
5661
5661
|
s.MD5 = a._createHelper(x), s.HmacMD5 = a._createHmacHelper(x);
|
|
5662
5662
|
}(Math), r.MD5;
|
|
5663
5663
|
});
|
|
5664
|
-
}(hu)),
|
|
5664
|
+
}(hu)), cr;
|
|
5665
5665
|
}
|
|
5666
|
-
var
|
|
5666
|
+
var xr = {}, du = {
|
|
5667
5667
|
get exports() {
|
|
5668
|
-
return
|
|
5668
|
+
return xr;
|
|
5669
5669
|
},
|
|
5670
5670
|
set exports(t) {
|
|
5671
|
-
|
|
5671
|
+
xr = t;
|
|
5672
5672
|
}
|
|
5673
5673
|
}, Ds;
|
|
5674
5674
|
function go() {
|
|
@@ -5712,14 +5712,14 @@ function go() {
|
|
|
5712
5712
|
n.SHA1 = o._createHelper(c), n.HmacSHA1 = o._createHmacHelper(c);
|
|
5713
5713
|
}(), r.SHA1;
|
|
5714
5714
|
});
|
|
5715
|
-
}(du)),
|
|
5715
|
+
}(du)), xr;
|
|
5716
5716
|
}
|
|
5717
|
-
var
|
|
5717
|
+
var fr = {}, pu = {
|
|
5718
5718
|
get exports() {
|
|
5719
|
-
return
|
|
5719
|
+
return fr;
|
|
5720
5720
|
},
|
|
5721
5721
|
set exports(t) {
|
|
5722
|
-
|
|
5722
|
+
fr = t;
|
|
5723
5723
|
}
|
|
5724
5724
|
}, ws;
|
|
5725
5725
|
function Nn() {
|
|
@@ -5751,7 +5751,7 @@ function Nn() {
|
|
|
5751
5751
|
if (T < 16)
|
|
5752
5752
|
d[T] = v[f + T] | 0;
|
|
5753
5753
|
else {
|
|
5754
|
-
var
|
|
5754
|
+
var H = d[T - 15], w = (H << 25 | H >>> 7) ^ (H << 14 | H >>> 18) ^ H >>> 3, F = d[T - 2], L = (F << 15 | F >>> 17) ^ (F << 13 | F >>> 19) ^ F >>> 10;
|
|
5755
5755
|
d[T] = w + d[T - 7] + L + d[T - 16];
|
|
5756
5756
|
}
|
|
5757
5757
|
var z = b & C ^ ~b & _, Y = y & A ^ y & E ^ A & E, J = (y << 30 | y >>> 2) ^ (y << 19 | y >>> 13) ^ (y << 10 | y >>> 22), e0 = (b << 26 | b >>> 6) ^ (b << 21 | b >>> 11) ^ (b << 7 | b >>> 25), u0 = S + e0 + z + x[T] + d[T], V = J + Y;
|
|
@@ -5771,14 +5771,14 @@ function Nn() {
|
|
|
5771
5771
|
s.SHA256 = a._createHelper(h), s.HmacSHA256 = a._createHmacHelper(h);
|
|
5772
5772
|
}(Math), r.SHA256;
|
|
5773
5773
|
});
|
|
5774
|
-
}(pu)),
|
|
5774
|
+
}(pu)), fr;
|
|
5775
5775
|
}
|
|
5776
|
-
var
|
|
5776
|
+
var ur = {}, vu = {
|
|
5777
5777
|
get exports() {
|
|
5778
|
-
return
|
|
5778
|
+
return ur;
|
|
5779
5779
|
},
|
|
5780
5780
|
set exports(t) {
|
|
5781
|
-
|
|
5781
|
+
ur = t;
|
|
5782
5782
|
}
|
|
5783
5783
|
}, _s;
|
|
5784
5784
|
function gu() {
|
|
@@ -5808,20 +5808,20 @@ function gu() {
|
|
|
5808
5808
|
n.SHA224 = a._createHelper(g), n.HmacSHA224 = a._createHmacHelper(g);
|
|
5809
5809
|
}(), r.SHA224;
|
|
5810
5810
|
});
|
|
5811
|
-
}(vu)),
|
|
5811
|
+
}(vu)), ur;
|
|
5812
5812
|
}
|
|
5813
|
-
var
|
|
5813
|
+
var lr = {}, Bu = {
|
|
5814
5814
|
get exports() {
|
|
5815
|
-
return
|
|
5815
|
+
return lr;
|
|
5816
5816
|
},
|
|
5817
5817
|
set exports(t) {
|
|
5818
|
-
|
|
5818
|
+
lr = t;
|
|
5819
5819
|
}
|
|
5820
5820
|
}, Ss;
|
|
5821
5821
|
function Bo() {
|
|
5822
5822
|
return Ss || (Ss = 1, function(t, e) {
|
|
5823
5823
|
(function(r, n, s) {
|
|
5824
|
-
t.exports = n(o0(),
|
|
5824
|
+
t.exports = n(o0(), Xr());
|
|
5825
5825
|
})(s0, function(r) {
|
|
5826
5826
|
return function() {
|
|
5827
5827
|
var n = r, s = n.lib, i = s.Hasher, o = n.x64, a = o.Word, g = o.WordArray, c = n.algo;
|
|
@@ -5928,18 +5928,18 @@ function Bo() {
|
|
|
5928
5928
|
]);
|
|
5929
5929
|
},
|
|
5930
5930
|
_doProcessBlock: function(f, l) {
|
|
5931
|
-
for (var y = this._hash.words, A = y[0], E = y[1], B = y[2], b = y[3], C = y[4], _ = y[5], S = y[6], T = y[7],
|
|
5932
|
-
var
|
|
5933
|
-
if (
|
|
5934
|
-
|
|
5931
|
+
for (var y = this._hash.words, A = y[0], E = y[1], B = y[2], b = y[3], C = y[4], _ = y[5], S = y[6], T = y[7], H = A.high, w = A.low, F = E.high, L = E.low, z = B.high, Y = B.low, J = b.high, e0 = b.low, u0 = C.high, V = C.low, l0 = _.high, a0 = _.low, P = S.high, I = S.low, M = T.high, U = T.low, d0 = H, h0 = w, m0 = F, r0 = L, P0 = z, F0 = Y, wt = J, Et = e0, H0 = u0, T0 = V, _t = l0, mt = a0, St = P, xt = I, Tt = M, ft = U, $0 = 0; $0 < 80; $0++) {
|
|
5932
|
+
var I0, R, q = h[$0];
|
|
5933
|
+
if ($0 < 16)
|
|
5934
|
+
R = q.high = f[l + $0 * 2] | 0, I0 = q.low = f[l + $0 * 2 + 1] | 0;
|
|
5935
5935
|
else {
|
|
5936
|
-
var
|
|
5937
|
-
|
|
5936
|
+
var k = h[$0 - 15], W = k.high, X = k.low, t0 = (W >>> 1 | X << 31) ^ (W >>> 8 | X << 24) ^ W >>> 7, p0 = (X >>> 1 | W << 31) ^ (X >>> 8 | W << 24) ^ (X >>> 7 | W << 25), c0 = h[$0 - 2], B0 = c0.high, b0 = c0.low, C0 = (B0 >>> 19 | b0 << 13) ^ (B0 << 3 | b0 >>> 29) ^ B0 >>> 6, D0 = (b0 >>> 19 | B0 << 13) ^ (b0 << 3 | B0 >>> 29) ^ (b0 >>> 6 | B0 << 26), q0 = h[$0 - 7], G0 = q0.high, ut = q0.low, rt = h[$0 - 16], Gt = rt.high, Rt = rt.low;
|
|
5937
|
+
I0 = p0 + ut, R = t0 + G0 + (I0 >>> 0 < p0 >>> 0 ? 1 : 0), I0 = I0 + D0, R = R + C0 + (I0 >>> 0 < D0 >>> 0 ? 1 : 0), I0 = I0 + Rt, R = R + Gt + (I0 >>> 0 < Rt >>> 0 ? 1 : 0), q.high = R, q.low = I0;
|
|
5938
5938
|
}
|
|
5939
|
-
var
|
|
5940
|
-
Tt =
|
|
5939
|
+
var kt = H0 & _t ^ ~H0 & St, se = T0 & mt ^ ~T0 & xt, Be = d0 & m0 ^ d0 & P0 ^ m0 & P0, Ot = h0 & r0 ^ h0 & F0 ^ r0 & F0, Pt = (d0 >>> 28 | h0 << 4) ^ (d0 << 30 | h0 >>> 2) ^ (d0 << 25 | h0 >>> 7), Xt = (h0 >>> 28 | d0 << 4) ^ (h0 << 30 | d0 >>> 2) ^ (h0 << 25 | d0 >>> 7), ye = (H0 >>> 14 | T0 << 18) ^ (H0 >>> 18 | T0 << 14) ^ (H0 << 23 | T0 >>> 9), ie = (T0 >>> 14 | H0 << 18) ^ (T0 >>> 18 | H0 << 14) ^ (T0 << 23 | H0 >>> 9), Qt = d[$0], Ht = Qt.high, Pe = Qt.low, N0 = ft + ie, lt = Tt + ye + (N0 >>> 0 < ft >>> 0 ? 1 : 0), N0 = N0 + se, lt = lt + kt + (N0 >>> 0 < se >>> 0 ? 1 : 0), N0 = N0 + Pe, lt = lt + Ht + (N0 >>> 0 < Pe >>> 0 ? 1 : 0), N0 = N0 + I0, lt = lt + R + (N0 >>> 0 < I0 >>> 0 ? 1 : 0), He = Xt + Ot, Yr = Pt + Be + (He >>> 0 < Xt >>> 0 ? 1 : 0);
|
|
5940
|
+
Tt = St, ft = xt, St = _t, xt = mt, _t = H0, mt = T0, T0 = Et + N0 | 0, H0 = wt + lt + (T0 >>> 0 < Et >>> 0 ? 1 : 0) | 0, wt = P0, Et = F0, P0 = m0, F0 = r0, m0 = d0, r0 = h0, h0 = N0 + He | 0, d0 = lt + Yr + (h0 >>> 0 < N0 >>> 0 ? 1 : 0) | 0;
|
|
5941
5941
|
}
|
|
5942
|
-
w = A.low = w + h0, A.high =
|
|
5942
|
+
w = A.low = w + h0, A.high = H + d0 + (w >>> 0 < h0 >>> 0 ? 1 : 0), L = E.low = L + r0, E.high = F + m0 + (L >>> 0 < r0 >>> 0 ? 1 : 0), Y = B.low = Y + F0, B.high = z + P0 + (Y >>> 0 < F0 >>> 0 ? 1 : 0), e0 = b.low = e0 + Et, b.high = J + wt + (e0 >>> 0 < Et >>> 0 ? 1 : 0), V = C.low = V + T0, C.high = u0 + H0 + (V >>> 0 < T0 >>> 0 ? 1 : 0), a0 = _.low = a0 + mt, _.high = l0 + _t + (a0 >>> 0 < mt >>> 0 ? 1 : 0), I = S.low = I + xt, S.high = P + St + (I >>> 0 < xt >>> 0 ? 1 : 0), U = T.low = U + ft, T.high = M + Tt + (U >>> 0 < ft >>> 0 ? 1 : 0);
|
|
5943
5943
|
},
|
|
5944
5944
|
_doFinalize: function() {
|
|
5945
5945
|
var f = this._data, l = f.words, y = this._nDataBytes * 8, A = f.sigBytes * 8;
|
|
@@ -5956,20 +5956,20 @@ function Bo() {
|
|
|
5956
5956
|
n.SHA512 = i._createHelper(v), n.HmacSHA512 = i._createHmacHelper(v);
|
|
5957
5957
|
}(), r.SHA512;
|
|
5958
5958
|
});
|
|
5959
|
-
}(Bu)),
|
|
5959
|
+
}(Bu)), lr;
|
|
5960
5960
|
}
|
|
5961
|
-
var
|
|
5961
|
+
var hr = {}, yu = {
|
|
5962
5962
|
get exports() {
|
|
5963
|
-
return
|
|
5963
|
+
return hr;
|
|
5964
5964
|
},
|
|
5965
5965
|
set exports(t) {
|
|
5966
|
-
|
|
5966
|
+
hr = t;
|
|
5967
5967
|
}
|
|
5968
5968
|
}, Ts;
|
|
5969
5969
|
function Eu() {
|
|
5970
5970
|
return Ts || (Ts = 1, function(t, e) {
|
|
5971
5971
|
(function(r, n, s) {
|
|
5972
|
-
t.exports = n(o0(),
|
|
5972
|
+
t.exports = n(o0(), Xr(), Bo());
|
|
5973
5973
|
})(s0, function(r) {
|
|
5974
5974
|
return function() {
|
|
5975
5975
|
var n = r, s = n.x64, i = s.Word, o = s.WordArray, a = n.algo, g = a.SHA512, c = a.SHA384 = g.extend({
|
|
@@ -5993,20 +5993,20 @@ function Eu() {
|
|
|
5993
5993
|
n.SHA384 = g._createHelper(c), n.HmacSHA384 = g._createHmacHelper(c);
|
|
5994
5994
|
}(), r.SHA384;
|
|
5995
5995
|
});
|
|
5996
|
-
}(yu)),
|
|
5996
|
+
}(yu)), hr;
|
|
5997
5997
|
}
|
|
5998
|
-
var
|
|
5998
|
+
var dr = {}, mu = {
|
|
5999
5999
|
get exports() {
|
|
6000
|
-
return
|
|
6000
|
+
return dr;
|
|
6001
6001
|
},
|
|
6002
6002
|
set exports(t) {
|
|
6003
|
-
|
|
6003
|
+
dr = t;
|
|
6004
6004
|
}
|
|
6005
6005
|
}, Rs;
|
|
6006
6006
|
function bu() {
|
|
6007
6007
|
return Rs || (Rs = 1, function(t, e) {
|
|
6008
6008
|
(function(r, n, s) {
|
|
6009
|
-
t.exports = n(o0(),
|
|
6009
|
+
t.exports = n(o0(), Xr());
|
|
6010
6010
|
})(s0, function(r) {
|
|
6011
6011
|
return function(n) {
|
|
6012
6012
|
var s = r, i = s.lib, o = i.WordArray, a = i.Hasher, g = s.x64, c = g.Word, x = s.algo, d = [], h = [], v = [];
|
|
@@ -6020,9 +6020,9 @@ function bu() {
|
|
|
6020
6020
|
for (var A = 0; A < 5; A++)
|
|
6021
6021
|
h[y + 5 * A] = A + (2 * y + 3 * A) % 5 * 5;
|
|
6022
6022
|
for (var C = 1, _ = 0; _ < 24; _++) {
|
|
6023
|
-
for (var S = 0, T = 0,
|
|
6023
|
+
for (var S = 0, T = 0, H = 0; H < 7; H++) {
|
|
6024
6024
|
if (C & 1) {
|
|
6025
|
-
var w = (1 <<
|
|
6025
|
+
var w = (1 << H) - 1;
|
|
6026
6026
|
w < 32 ? T ^= 1 << w : S ^= 1 << w - 32;
|
|
6027
6027
|
}
|
|
6028
6028
|
C & 128 ? C = C << 1 ^ 113 : C <<= 1;
|
|
@@ -6060,31 +6060,31 @@ function bu() {
|
|
|
6060
6060
|
S.high ^= _, S.low ^= C;
|
|
6061
6061
|
}
|
|
6062
6062
|
for (var T = 0; T < 24; T++) {
|
|
6063
|
-
for (var
|
|
6063
|
+
for (var H = 0; H < 5; H++) {
|
|
6064
6064
|
for (var w = 0, F = 0, L = 0; L < 5; L++) {
|
|
6065
|
-
var S = E[
|
|
6065
|
+
var S = E[H + 5 * L];
|
|
6066
6066
|
w ^= S.high, F ^= S.low;
|
|
6067
6067
|
}
|
|
6068
|
-
var z = f[
|
|
6068
|
+
var z = f[H];
|
|
6069
6069
|
z.high = w, z.low = F;
|
|
6070
6070
|
}
|
|
6071
|
-
for (var
|
|
6072
|
-
for (var Y = f[(
|
|
6073
|
-
var S = E[
|
|
6071
|
+
for (var H = 0; H < 5; H++)
|
|
6072
|
+
for (var Y = f[(H + 4) % 5], J = f[(H + 1) % 5], e0 = J.high, u0 = J.low, w = Y.high ^ (e0 << 1 | u0 >>> 31), F = Y.low ^ (u0 << 1 | e0 >>> 31), L = 0; L < 5; L++) {
|
|
6073
|
+
var S = E[H + 5 * L];
|
|
6074
6074
|
S.high ^= w, S.low ^= F;
|
|
6075
6075
|
}
|
|
6076
6076
|
for (var V = 1; V < 25; V++) {
|
|
6077
|
-
var w, F, S = E[V], l0 = S.high, a0 = S.low,
|
|
6078
|
-
|
|
6079
|
-
var
|
|
6080
|
-
|
|
6077
|
+
var w, F, S = E[V], l0 = S.high, a0 = S.low, P = d[V];
|
|
6078
|
+
P < 32 ? (w = l0 << P | a0 >>> 32 - P, F = a0 << P | l0 >>> 32 - P) : (w = a0 << P - 32 | l0 >>> 64 - P, F = l0 << P - 32 | a0 >>> 64 - P);
|
|
6079
|
+
var I = f[h[V]];
|
|
6080
|
+
I.high = w, I.low = F;
|
|
6081
6081
|
}
|
|
6082
6082
|
var M = f[0], U = E[0];
|
|
6083
6083
|
M.high = U.high, M.low = U.low;
|
|
6084
|
-
for (var
|
|
6084
|
+
for (var H = 0; H < 5; H++)
|
|
6085
6085
|
for (var L = 0; L < 5; L++) {
|
|
6086
|
-
var V =
|
|
6087
|
-
S.high = d0.high ^ ~h0.high &
|
|
6086
|
+
var V = H + 5 * L, S = E[V], d0 = f[V], h0 = f[(H + 1) % 5 + 5 * L], m0 = f[(H + 2) % 5 + 5 * L];
|
|
6087
|
+
S.high = d0.high ^ ~h0.high & m0.high, S.low = d0.low ^ ~h0.low & m0.low;
|
|
6088
6088
|
}
|
|
6089
6089
|
var S = E[0], r0 = v[T];
|
|
6090
6090
|
S.high ^= r0.high, S.low ^= r0.low;
|
|
@@ -6096,7 +6096,7 @@ function bu() {
|
|
|
6096
6096
|
var E = y.sigBytes * 8, B = this.blockSize * 32;
|
|
6097
6097
|
A[E >>> 5] |= 1 << 24 - E % 32, A[(n.ceil((E + 1) / B) * B >>> 5) - 1] |= 128, y.sigBytes = A.length * 4, this._process();
|
|
6098
6098
|
for (var b = this._state, C = this.cfg.outputLength / 8, _ = C / 8, S = [], T = 0; T < _; T++) {
|
|
6099
|
-
var
|
|
6099
|
+
var H = b[T], w = H.high, F = H.low;
|
|
6100
6100
|
w = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360, F = (F << 8 | F >>> 24) & 16711935 | (F << 24 | F >>> 8) & 4278255360, S.push(F), S.push(w);
|
|
6101
6101
|
}
|
|
6102
6102
|
return new o.init(S, C);
|
|
@@ -6110,14 +6110,14 @@ function bu() {
|
|
|
6110
6110
|
s.SHA3 = a._createHelper(l), s.HmacSHA3 = a._createHmacHelper(l);
|
|
6111
6111
|
}(Math), r.SHA3;
|
|
6112
6112
|
});
|
|
6113
|
-
}(mu)),
|
|
6113
|
+
}(mu)), dr;
|
|
6114
6114
|
}
|
|
6115
|
-
var
|
|
6115
|
+
var pr = {}, Au = {
|
|
6116
6116
|
get exports() {
|
|
6117
|
-
return
|
|
6117
|
+
return pr;
|
|
6118
6118
|
},
|
|
6119
6119
|
set exports(t) {
|
|
6120
|
-
|
|
6120
|
+
pr = t;
|
|
6121
6121
|
}
|
|
6122
6122
|
}, ks;
|
|
6123
6123
|
function Fu() {
|
|
@@ -6466,18 +6466,18 @@ function Fu() {
|
|
|
6466
6466
|
},
|
|
6467
6467
|
_doProcessBlock: function(_, S) {
|
|
6468
6468
|
for (var T = 0; T < 16; T++) {
|
|
6469
|
-
var
|
|
6470
|
-
_[
|
|
6469
|
+
var H = S + T, w = _[H];
|
|
6470
|
+
_[H] = (w << 8 | w >>> 24) & 16711935 | (w << 24 | w >>> 8) & 4278255360;
|
|
6471
6471
|
}
|
|
6472
|
-
var F = this._hash.words, L = v.words, z = f.words, Y = c.words, J = x.words, e0 = d.words, u0 = h.words, V, l0, a0,
|
|
6473
|
-
M = V = F[0], U = l0 = F[1], d0 = a0 = F[2], h0 =
|
|
6472
|
+
var F = this._hash.words, L = v.words, z = f.words, Y = c.words, J = x.words, e0 = d.words, u0 = h.words, V, l0, a0, P, I, M, U, d0, h0, m0;
|
|
6473
|
+
M = V = F[0], U = l0 = F[1], d0 = a0 = F[2], h0 = P = F[3], m0 = I = F[4];
|
|
6474
6474
|
for (var r0, T = 0; T < 80; T += 1)
|
|
6475
|
-
r0 = V + _[S + Y[T]] | 0, T < 16 ? r0 += y(l0, a0,
|
|
6476
|
-
r0 = F[1] + a0 + h0 | 0, F[1] = F[2] +
|
|
6475
|
+
r0 = V + _[S + Y[T]] | 0, T < 16 ? r0 += y(l0, a0, P) + L[0] : T < 32 ? r0 += A(l0, a0, P) + L[1] : T < 48 ? r0 += E(l0, a0, P) + L[2] : T < 64 ? r0 += B(l0, a0, P) + L[3] : r0 += b(l0, a0, P) + L[4], r0 = r0 | 0, r0 = C(r0, e0[T]), r0 = r0 + I | 0, V = I, I = P, P = C(a0, 10), a0 = l0, l0 = r0, r0 = M + _[S + J[T]] | 0, T < 16 ? r0 += b(U, d0, h0) + z[0] : T < 32 ? r0 += B(U, d0, h0) + z[1] : T < 48 ? r0 += E(U, d0, h0) + z[2] : T < 64 ? r0 += A(U, d0, h0) + z[3] : r0 += y(U, d0, h0) + z[4], r0 = r0 | 0, r0 = C(r0, u0[T]), r0 = r0 + m0 | 0, M = m0, m0 = h0, h0 = C(d0, 10), d0 = U, U = r0;
|
|
6476
|
+
r0 = F[1] + a0 + h0 | 0, F[1] = F[2] + P + m0 | 0, F[2] = F[3] + I + M | 0, F[3] = F[4] + V + U | 0, F[4] = F[0] + l0 + d0 | 0, F[0] = r0;
|
|
6477
6477
|
},
|
|
6478
6478
|
_doFinalize: function() {
|
|
6479
|
-
var _ = this._data, S = _.words, T = this._nDataBytes * 8,
|
|
6480
|
-
S[
|
|
6479
|
+
var _ = this._data, S = _.words, T = this._nDataBytes * 8, H = _.sigBytes * 8;
|
|
6480
|
+
S[H >>> 5] |= 128 << 24 - H % 32, S[(H + 64 >>> 9 << 4) + 14] = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360, _.sigBytes = (S.length + 1) * 4, this._process();
|
|
6481
6481
|
for (var w = this._hash, F = w.words, L = 0; L < 5; L++) {
|
|
6482
6482
|
var z = F[L];
|
|
6483
6483
|
F[L] = (z << 8 | z >>> 24) & 16711935 | (z << 24 | z >>> 8) & 4278255360;
|
|
@@ -6510,14 +6510,14 @@ function Fu() {
|
|
|
6510
6510
|
s.RIPEMD160 = a._createHelper(l), s.HmacRIPEMD160 = a._createHmacHelper(l);
|
|
6511
6511
|
}(), r.RIPEMD160;
|
|
6512
6512
|
});
|
|
6513
|
-
}(Au)),
|
|
6513
|
+
}(Au)), pr;
|
|
6514
6514
|
}
|
|
6515
|
-
var
|
|
6515
|
+
var vr = {}, Cu = {
|
|
6516
6516
|
get exports() {
|
|
6517
|
-
return
|
|
6517
|
+
return vr;
|
|
6518
6518
|
},
|
|
6519
6519
|
set exports(t) {
|
|
6520
|
-
|
|
6520
|
+
vr = t;
|
|
6521
6521
|
}
|
|
6522
6522
|
}, Os;
|
|
6523
6523
|
function Ln() {
|
|
@@ -6595,14 +6595,14 @@ function Ln() {
|
|
|
6595
6595
|
});
|
|
6596
6596
|
})();
|
|
6597
6597
|
});
|
|
6598
|
-
}(Cu)),
|
|
6598
|
+
}(Cu)), vr;
|
|
6599
6599
|
}
|
|
6600
|
-
var
|
|
6600
|
+
var gr = {}, Du = {
|
|
6601
6601
|
get exports() {
|
|
6602
|
-
return
|
|
6602
|
+
return gr;
|
|
6603
6603
|
},
|
|
6604
6604
|
set exports(t) {
|
|
6605
|
-
|
|
6605
|
+
gr = t;
|
|
6606
6606
|
}
|
|
6607
6607
|
}, Ps;
|
|
6608
6608
|
function wu() {
|
|
@@ -6654,7 +6654,7 @@ function wu() {
|
|
|
6654
6654
|
for (var v = this.cfg, f = c.create(v.hasher, d), l = o.create(), y = o.create([1]), A = l.words, E = y.words, B = v.keySize, b = v.iterations; A.length < B; ) {
|
|
6655
6655
|
var C = f.update(h).finalize(y);
|
|
6656
6656
|
f.reset();
|
|
6657
|
-
for (var _ = C.words, S = _.length, T = C,
|
|
6657
|
+
for (var _ = C.words, S = _.length, T = C, H = 1; H < b; H++) {
|
|
6658
6658
|
T = f.finalize(T), f.reset();
|
|
6659
6659
|
for (var w = T.words, F = 0; F < S; F++)
|
|
6660
6660
|
_[F] ^= w[F];
|
|
@@ -6669,17 +6669,17 @@ function wu() {
|
|
|
6669
6669
|
};
|
|
6670
6670
|
}(), r.PBKDF2;
|
|
6671
6671
|
});
|
|
6672
|
-
}(Du)),
|
|
6672
|
+
}(Du)), gr;
|
|
6673
6673
|
}
|
|
6674
|
-
var
|
|
6674
|
+
var Br = {}, _u = {
|
|
6675
6675
|
get exports() {
|
|
6676
|
-
return
|
|
6676
|
+
return Br;
|
|
6677
6677
|
},
|
|
6678
6678
|
set exports(t) {
|
|
6679
|
-
|
|
6679
|
+
Br = t;
|
|
6680
6680
|
}
|
|
6681
6681
|
}, Hs;
|
|
6682
|
-
function
|
|
6682
|
+
function Kt() {
|
|
6683
6683
|
return Hs || (Hs = 1, function(t, e) {
|
|
6684
6684
|
(function(r, n, s) {
|
|
6685
6685
|
t.exports = n(o0(), go(), Ln());
|
|
@@ -6739,20 +6739,20 @@ function Wt() {
|
|
|
6739
6739
|
};
|
|
6740
6740
|
}(), r.EvpKDF;
|
|
6741
6741
|
});
|
|
6742
|
-
}(_u)),
|
|
6742
|
+
}(_u)), Br;
|
|
6743
6743
|
}
|
|
6744
|
-
var
|
|
6744
|
+
var yr = {}, Su = {
|
|
6745
6745
|
get exports() {
|
|
6746
|
-
return
|
|
6746
|
+
return yr;
|
|
6747
6747
|
},
|
|
6748
6748
|
set exports(t) {
|
|
6749
|
-
|
|
6749
|
+
yr = t;
|
|
6750
6750
|
}
|
|
6751
6751
|
}, Is;
|
|
6752
|
-
function
|
|
6752
|
+
function S0() {
|
|
6753
6753
|
return Is || (Is = 1, function(t, e) {
|
|
6754
6754
|
(function(r, n, s) {
|
|
6755
|
-
t.exports = n(o0(),
|
|
6755
|
+
t.exports = n(o0(), Kt());
|
|
6756
6756
|
})(s0, function(r) {
|
|
6757
6757
|
r.lib.Cipher || function(n) {
|
|
6758
6758
|
var s = r, i = s.lib, o = i.Base, a = i.WordArray, g = i.BufferedBlockAlgorithm, c = s.enc;
|
|
@@ -6875,7 +6875,7 @@ function w0() {
|
|
|
6875
6875
|
*/
|
|
6876
6876
|
_createHelper: function() {
|
|
6877
6877
|
function w(F) {
|
|
6878
|
-
return typeof F == "string" ?
|
|
6878
|
+
return typeof F == "string" ? H : _;
|
|
6879
6879
|
}
|
|
6880
6880
|
return function(F) {
|
|
6881
6881
|
return {
|
|
@@ -7224,7 +7224,7 @@ function w0() {
|
|
|
7224
7224
|
var e0 = a.create(J.words.slice(F), L * 4);
|
|
7225
7225
|
return J.sigBytes = F * 4, B.create({ key: J, iv: e0, salt: z });
|
|
7226
7226
|
}
|
|
7227
|
-
},
|
|
7227
|
+
}, H = i.PasswordBasedCipher = _.extend({
|
|
7228
7228
|
/**
|
|
7229
7229
|
* Configuration options.
|
|
7230
7230
|
*
|
|
@@ -7284,20 +7284,20 @@ function w0() {
|
|
|
7284
7284
|
});
|
|
7285
7285
|
}();
|
|
7286
7286
|
});
|
|
7287
|
-
}(Su)),
|
|
7287
|
+
}(Su)), yr;
|
|
7288
7288
|
}
|
|
7289
|
-
var
|
|
7289
|
+
var Er = {}, Tu = {
|
|
7290
7290
|
get exports() {
|
|
7291
|
-
return
|
|
7291
|
+
return Er;
|
|
7292
7292
|
},
|
|
7293
7293
|
set exports(t) {
|
|
7294
|
-
|
|
7294
|
+
Er = t;
|
|
7295
7295
|
}
|
|
7296
7296
|
}, qs;
|
|
7297
7297
|
function Ru() {
|
|
7298
7298
|
return qs || (qs = 1, function(t, e) {
|
|
7299
7299
|
(function(r, n, s) {
|
|
7300
|
-
t.exports = n(o0(),
|
|
7300
|
+
t.exports = n(o0(), S0());
|
|
7301
7301
|
})(s0, function(r) {
|
|
7302
7302
|
return r.mode.CFB = function() {
|
|
7303
7303
|
var n = r.lib.BlockCipherMode.extend();
|
|
@@ -7321,20 +7321,20 @@ function Ru() {
|
|
|
7321
7321
|
return n;
|
|
7322
7322
|
}(), r.mode.CFB;
|
|
7323
7323
|
});
|
|
7324
|
-
}(Tu)),
|
|
7324
|
+
}(Tu)), Er;
|
|
7325
7325
|
}
|
|
7326
|
-
var
|
|
7326
|
+
var mr = {}, ku = {
|
|
7327
7327
|
get exports() {
|
|
7328
|
-
return
|
|
7328
|
+
return mr;
|
|
7329
7329
|
},
|
|
7330
7330
|
set exports(t) {
|
|
7331
|
-
|
|
7331
|
+
mr = t;
|
|
7332
7332
|
}
|
|
7333
7333
|
}, Ns;
|
|
7334
7334
|
function Ou() {
|
|
7335
7335
|
return Ns || (Ns = 1, function(t, e) {
|
|
7336
7336
|
(function(r, n, s) {
|
|
7337
|
-
t.exports = n(o0(),
|
|
7337
|
+
t.exports = n(o0(), S0());
|
|
7338
7338
|
})(s0, function(r) {
|
|
7339
7339
|
return r.mode.CTR = function() {
|
|
7340
7340
|
var n = r.lib.BlockCipherMode.extend(), s = n.Encryptor = n.extend({
|
|
@@ -7350,20 +7350,20 @@ function Ou() {
|
|
|
7350
7350
|
return n.Decryptor = s, n;
|
|
7351
7351
|
}(), r.mode.CTR;
|
|
7352
7352
|
});
|
|
7353
|
-
}(ku)),
|
|
7353
|
+
}(ku)), mr;
|
|
7354
7354
|
}
|
|
7355
|
-
var
|
|
7355
|
+
var br = {}, Pu = {
|
|
7356
7356
|
get exports() {
|
|
7357
|
-
return
|
|
7357
|
+
return br;
|
|
7358
7358
|
},
|
|
7359
7359
|
set exports(t) {
|
|
7360
|
-
|
|
7360
|
+
br = t;
|
|
7361
7361
|
}
|
|
7362
7362
|
}, Ls;
|
|
7363
7363
|
function Hu() {
|
|
7364
7364
|
return Ls || (Ls = 1, function(t, e) {
|
|
7365
7365
|
(function(r, n, s) {
|
|
7366
|
-
t.exports = n(o0(),
|
|
7366
|
+
t.exports = n(o0(), S0());
|
|
7367
7367
|
})(s0, function(r) {
|
|
7368
7368
|
/** @preserve
|
|
7369
7369
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
@@ -7396,20 +7396,20 @@ function Hu() {
|
|
|
7396
7396
|
return n.Decryptor = o, n;
|
|
7397
7397
|
}(), r.mode.CTRGladman;
|
|
7398
7398
|
});
|
|
7399
|
-
}(Pu)),
|
|
7399
|
+
}(Pu)), br;
|
|
7400
7400
|
}
|
|
7401
|
-
var
|
|
7401
|
+
var Ar = {}, Iu = {
|
|
7402
7402
|
get exports() {
|
|
7403
|
-
return
|
|
7403
|
+
return Ar;
|
|
7404
7404
|
},
|
|
7405
7405
|
set exports(t) {
|
|
7406
|
-
|
|
7406
|
+
Ar = t;
|
|
7407
7407
|
}
|
|
7408
7408
|
}, zs;
|
|
7409
7409
|
function qu() {
|
|
7410
7410
|
return zs || (zs = 1, function(t, e) {
|
|
7411
7411
|
(function(r, n, s) {
|
|
7412
|
-
t.exports = n(o0(),
|
|
7412
|
+
t.exports = n(o0(), S0());
|
|
7413
7413
|
})(s0, function(r) {
|
|
7414
7414
|
return r.mode.OFB = function() {
|
|
7415
7415
|
var n = r.lib.BlockCipherMode.extend(), s = n.Encryptor = n.extend({
|
|
@@ -7423,20 +7423,20 @@ function qu() {
|
|
|
7423
7423
|
return n.Decryptor = s, n;
|
|
7424
7424
|
}(), r.mode.OFB;
|
|
7425
7425
|
});
|
|
7426
|
-
}(Iu)),
|
|
7426
|
+
}(Iu)), Ar;
|
|
7427
7427
|
}
|
|
7428
|
-
var
|
|
7428
|
+
var Fr = {}, Nu = {
|
|
7429
7429
|
get exports() {
|
|
7430
|
-
return
|
|
7430
|
+
return Fr;
|
|
7431
7431
|
},
|
|
7432
7432
|
set exports(t) {
|
|
7433
|
-
|
|
7433
|
+
Fr = t;
|
|
7434
7434
|
}
|
|
7435
7435
|
}, Us;
|
|
7436
7436
|
function Lu() {
|
|
7437
7437
|
return Us || (Us = 1, function(t, e) {
|
|
7438
7438
|
(function(r, n, s) {
|
|
7439
|
-
t.exports = n(o0(),
|
|
7439
|
+
t.exports = n(o0(), S0());
|
|
7440
7440
|
})(s0, function(r) {
|
|
7441
7441
|
return r.mode.ECB = function() {
|
|
7442
7442
|
var n = r.lib.BlockCipherMode.extend();
|
|
@@ -7451,20 +7451,20 @@ function Lu() {
|
|
|
7451
7451
|
}), n;
|
|
7452
7452
|
}(), r.mode.ECB;
|
|
7453
7453
|
});
|
|
7454
|
-
}(Nu)),
|
|
7454
|
+
}(Nu)), Fr;
|
|
7455
7455
|
}
|
|
7456
|
-
var
|
|
7456
|
+
var Cr = {}, zu = {
|
|
7457
7457
|
get exports() {
|
|
7458
|
-
return
|
|
7458
|
+
return Cr;
|
|
7459
7459
|
},
|
|
7460
7460
|
set exports(t) {
|
|
7461
|
-
|
|
7461
|
+
Cr = t;
|
|
7462
7462
|
}
|
|
7463
7463
|
}, $s;
|
|
7464
7464
|
function Uu() {
|
|
7465
7465
|
return $s || ($s = 1, function(t, e) {
|
|
7466
7466
|
(function(r, n, s) {
|
|
7467
|
-
t.exports = n(o0(),
|
|
7467
|
+
t.exports = n(o0(), S0());
|
|
7468
7468
|
})(s0, function(r) {
|
|
7469
7469
|
return r.pad.AnsiX923 = {
|
|
7470
7470
|
pad: function(n, s) {
|
|
@@ -7477,20 +7477,20 @@ function Uu() {
|
|
|
7477
7477
|
}
|
|
7478
7478
|
}, r.pad.Ansix923;
|
|
7479
7479
|
});
|
|
7480
|
-
}(zu)),
|
|
7480
|
+
}(zu)), Cr;
|
|
7481
7481
|
}
|
|
7482
|
-
var
|
|
7482
|
+
var Dr = {}, $u = {
|
|
7483
7483
|
get exports() {
|
|
7484
|
-
return
|
|
7484
|
+
return Dr;
|
|
7485
7485
|
},
|
|
7486
7486
|
set exports(t) {
|
|
7487
|
-
|
|
7487
|
+
Dr = t;
|
|
7488
7488
|
}
|
|
7489
7489
|
}, Ms;
|
|
7490
7490
|
function Mu() {
|
|
7491
7491
|
return Ms || (Ms = 1, function(t, e) {
|
|
7492
7492
|
(function(r, n, s) {
|
|
7493
|
-
t.exports = n(o0(),
|
|
7493
|
+
t.exports = n(o0(), S0());
|
|
7494
7494
|
})(s0, function(r) {
|
|
7495
7495
|
return r.pad.Iso10126 = {
|
|
7496
7496
|
pad: function(n, s) {
|
|
@@ -7503,20 +7503,20 @@ function Mu() {
|
|
|
7503
7503
|
}
|
|
7504
7504
|
}, r.pad.Iso10126;
|
|
7505
7505
|
});
|
|
7506
|
-
}($u)),
|
|
7506
|
+
}($u)), Dr;
|
|
7507
7507
|
}
|
|
7508
|
-
var
|
|
7508
|
+
var wr = {}, ju = {
|
|
7509
7509
|
get exports() {
|
|
7510
|
-
return
|
|
7510
|
+
return wr;
|
|
7511
7511
|
},
|
|
7512
7512
|
set exports(t) {
|
|
7513
|
-
|
|
7513
|
+
wr = t;
|
|
7514
7514
|
}
|
|
7515
7515
|
}, js;
|
|
7516
7516
|
function Wu() {
|
|
7517
7517
|
return js || (js = 1, function(t, e) {
|
|
7518
7518
|
(function(r, n, s) {
|
|
7519
|
-
t.exports = n(o0(),
|
|
7519
|
+
t.exports = n(o0(), S0());
|
|
7520
7520
|
})(s0, function(r) {
|
|
7521
7521
|
return r.pad.Iso97971 = {
|
|
7522
7522
|
pad: function(n, s) {
|
|
@@ -7527,20 +7527,20 @@ function Wu() {
|
|
|
7527
7527
|
}
|
|
7528
7528
|
}, r.pad.Iso97971;
|
|
7529
7529
|
});
|
|
7530
|
-
}(ju)),
|
|
7530
|
+
}(ju)), wr;
|
|
7531
7531
|
}
|
|
7532
|
-
var
|
|
7532
|
+
var _r = {}, Zu = {
|
|
7533
7533
|
get exports() {
|
|
7534
|
-
return
|
|
7534
|
+
return _r;
|
|
7535
7535
|
},
|
|
7536
7536
|
set exports(t) {
|
|
7537
|
-
|
|
7537
|
+
_r = t;
|
|
7538
7538
|
}
|
|
7539
7539
|
}, Ws;
|
|
7540
7540
|
function Ku() {
|
|
7541
7541
|
return Ws || (Ws = 1, function(t, e) {
|
|
7542
7542
|
(function(r, n, s) {
|
|
7543
|
-
t.exports = n(o0(),
|
|
7543
|
+
t.exports = n(o0(), S0());
|
|
7544
7544
|
})(s0, function(r) {
|
|
7545
7545
|
return r.pad.ZeroPadding = {
|
|
7546
7546
|
pad: function(n, s) {
|
|
@@ -7556,20 +7556,20 @@ function Ku() {
|
|
|
7556
7556
|
}
|
|
7557
7557
|
}, r.pad.ZeroPadding;
|
|
7558
7558
|
});
|
|
7559
|
-
}(Zu)),
|
|
7559
|
+
}(Zu)), _r;
|
|
7560
7560
|
}
|
|
7561
|
-
var
|
|
7561
|
+
var Sr = {}, Gu = {
|
|
7562
7562
|
get exports() {
|
|
7563
|
-
return
|
|
7563
|
+
return Sr;
|
|
7564
7564
|
},
|
|
7565
7565
|
set exports(t) {
|
|
7566
|
-
|
|
7566
|
+
Sr = t;
|
|
7567
7567
|
}
|
|
7568
7568
|
}, Zs;
|
|
7569
7569
|
function Xu() {
|
|
7570
7570
|
return Zs || (Zs = 1, function(t, e) {
|
|
7571
7571
|
(function(r, n, s) {
|
|
7572
|
-
t.exports = n(o0(),
|
|
7572
|
+
t.exports = n(o0(), S0());
|
|
7573
7573
|
})(s0, function(r) {
|
|
7574
7574
|
return r.pad.NoPadding = {
|
|
7575
7575
|
pad: function() {
|
|
@@ -7578,20 +7578,20 @@ function Xu() {
|
|
|
7578
7578
|
}
|
|
7579
7579
|
}, r.pad.NoPadding;
|
|
7580
7580
|
});
|
|
7581
|
-
}(Gu)),
|
|
7581
|
+
}(Gu)), Sr;
|
|
7582
7582
|
}
|
|
7583
|
-
var
|
|
7583
|
+
var Tr = {}, Qu = {
|
|
7584
7584
|
get exports() {
|
|
7585
|
-
return
|
|
7585
|
+
return Tr;
|
|
7586
7586
|
},
|
|
7587
7587
|
set exports(t) {
|
|
7588
|
-
|
|
7588
|
+
Tr = t;
|
|
7589
7589
|
}
|
|
7590
7590
|
}, Ks;
|
|
7591
7591
|
function Yu() {
|
|
7592
7592
|
return Ks || (Ks = 1, function(t, e) {
|
|
7593
7593
|
(function(r, n, s) {
|
|
7594
|
-
t.exports = n(o0(),
|
|
7594
|
+
t.exports = n(o0(), S0());
|
|
7595
7595
|
})(s0, function(r) {
|
|
7596
7596
|
return function(n) {
|
|
7597
7597
|
var s = r, i = s.lib, o = i.CipherParams, a = s.enc, g = a.Hex, c = s.format;
|
|
@@ -7632,20 +7632,20 @@ function Yu() {
|
|
|
7632
7632
|
};
|
|
7633
7633
|
}(), r.format.Hex;
|
|
7634
7634
|
});
|
|
7635
|
-
}(Qu)),
|
|
7635
|
+
}(Qu)), Tr;
|
|
7636
7636
|
}
|
|
7637
|
-
var
|
|
7637
|
+
var Rr = {}, Vu = {
|
|
7638
7638
|
get exports() {
|
|
7639
|
-
return
|
|
7639
|
+
return Rr;
|
|
7640
7640
|
},
|
|
7641
7641
|
set exports(t) {
|
|
7642
|
-
|
|
7642
|
+
Rr = t;
|
|
7643
7643
|
}
|
|
7644
7644
|
}, Gs;
|
|
7645
7645
|
function Ju() {
|
|
7646
7646
|
return Gs || (Gs = 1, function(t, e) {
|
|
7647
7647
|
(function(r, n, s) {
|
|
7648
|
-
t.exports = n(o0(),
|
|
7648
|
+
t.exports = n(o0(), re(), ne(), Kt(), S0());
|
|
7649
7649
|
})(s0, function(r) {
|
|
7650
7650
|
return function() {
|
|
7651
7651
|
var n = r, s = n.lib, i = s.BlockCipher, o = n.algo, a = [], g = [], c = [], x = [], d = [], h = [], v = [], f = [], l = [], y = [];
|
|
@@ -7655,9 +7655,9 @@ function Ju() {
|
|
|
7655
7655
|
for (var C = 0, _ = 0, b = 0; b < 256; b++) {
|
|
7656
7656
|
var S = _ ^ _ << 1 ^ _ << 2 ^ _ << 3 ^ _ << 4;
|
|
7657
7657
|
S = S >>> 8 ^ S & 255 ^ 99, a[C] = S, g[S] = C;
|
|
7658
|
-
var T = B[C],
|
|
7658
|
+
var T = B[C], H = B[T], w = B[H], F = B[S] * 257 ^ S * 16843008;
|
|
7659
7659
|
c[C] = F << 24 | F >>> 8, x[C] = F << 16 | F >>> 16, d[C] = F << 8 | F >>> 24, h[C] = F;
|
|
7660
|
-
var F = w * 16843009 ^
|
|
7660
|
+
var F = w * 16843009 ^ H * 65537 ^ T * 257 ^ C * 16843008;
|
|
7661
7661
|
v[S] = F << 24 | F >>> 8, f[S] = F << 16 | F >>> 16, l[S] = F << 8 | F >>> 24, y[S] = F, C ? (C = T ^ B[B[B[w ^ T]]], _ ^= B[B[_]]) : C = _ = 1;
|
|
7662
7662
|
}
|
|
7663
7663
|
})();
|
|
@@ -7665,14 +7665,14 @@ function Ju() {
|
|
|
7665
7665
|
_doReset: function() {
|
|
7666
7666
|
var B;
|
|
7667
7667
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
7668
|
-
for (var b = this._keyPriorReset = this._key, C = b.words, _ = b.sigBytes / 4, S = this._nRounds = _ + 6, T = (S + 1) * 4,
|
|
7669
|
-
w < _ ?
|
|
7668
|
+
for (var b = this._keyPriorReset = this._key, C = b.words, _ = b.sigBytes / 4, S = this._nRounds = _ + 6, T = (S + 1) * 4, H = this._keySchedule = [], w = 0; w < T; w++)
|
|
7669
|
+
w < _ ? H[w] = C[w] : (B = H[w - 1], w % _ ? _ > 6 && w % _ == 4 && (B = a[B >>> 24] << 24 | a[B >>> 16 & 255] << 16 | a[B >>> 8 & 255] << 8 | a[B & 255]) : (B = B << 8 | B >>> 24, B = a[B >>> 24] << 24 | a[B >>> 16 & 255] << 16 | a[B >>> 8 & 255] << 8 | a[B & 255], B ^= A[w / _ | 0] << 24), H[w] = H[w - _] ^ B);
|
|
7670
7670
|
for (var F = this._invKeySchedule = [], L = 0; L < T; L++) {
|
|
7671
7671
|
var w = T - L;
|
|
7672
7672
|
if (L % 4)
|
|
7673
|
-
var B =
|
|
7673
|
+
var B = H[w];
|
|
7674
7674
|
else
|
|
7675
|
-
var B =
|
|
7675
|
+
var B = H[w - 4];
|
|
7676
7676
|
L < 4 || w <= 4 ? F[L] = B : F[L] = v[a[B >>> 24]] ^ f[a[B >>> 16 & 255]] ^ l[a[B >>> 8 & 255]] ^ y[a[B & 255]];
|
|
7677
7677
|
}
|
|
7678
7678
|
}
|
|
@@ -7686,33 +7686,33 @@ function Ju() {
|
|
|
7686
7686
|
var C = B[b + 1];
|
|
7687
7687
|
B[b + 1] = B[b + 3], B[b + 3] = C;
|
|
7688
7688
|
},
|
|
7689
|
-
_doCryptBlock: function(B, b, C, _, S, T,
|
|
7689
|
+
_doCryptBlock: function(B, b, C, _, S, T, H, w) {
|
|
7690
7690
|
for (var F = this._nRounds, L = B[b] ^ C[0], z = B[b + 1] ^ C[1], Y = B[b + 2] ^ C[2], J = B[b + 3] ^ C[3], e0 = 4, u0 = 1; u0 < F; u0++) {
|
|
7691
|
-
var V = _[L >>> 24] ^ S[z >>> 16 & 255] ^ T[Y >>> 8 & 255] ^
|
|
7692
|
-
L = V, z = l0, Y = a0, J =
|
|
7691
|
+
var V = _[L >>> 24] ^ S[z >>> 16 & 255] ^ T[Y >>> 8 & 255] ^ H[J & 255] ^ C[e0++], l0 = _[z >>> 24] ^ S[Y >>> 16 & 255] ^ T[J >>> 8 & 255] ^ H[L & 255] ^ C[e0++], a0 = _[Y >>> 24] ^ S[J >>> 16 & 255] ^ T[L >>> 8 & 255] ^ H[z & 255] ^ C[e0++], P = _[J >>> 24] ^ S[L >>> 16 & 255] ^ T[z >>> 8 & 255] ^ H[Y & 255] ^ C[e0++];
|
|
7692
|
+
L = V, z = l0, Y = a0, J = P;
|
|
7693
7693
|
}
|
|
7694
|
-
var V = (w[L >>> 24] << 24 | w[z >>> 16 & 255] << 16 | w[Y >>> 8 & 255] << 8 | w[J & 255]) ^ C[e0++], l0 = (w[z >>> 24] << 24 | w[Y >>> 16 & 255] << 16 | w[J >>> 8 & 255] << 8 | w[L & 255]) ^ C[e0++], a0 = (w[Y >>> 24] << 24 | w[J >>> 16 & 255] << 16 | w[L >>> 8 & 255] << 8 | w[z & 255]) ^ C[e0++],
|
|
7695
|
-
B[b] = V, B[b + 1] = l0, B[b + 2] = a0, B[b + 3] =
|
|
7694
|
+
var V = (w[L >>> 24] << 24 | w[z >>> 16 & 255] << 16 | w[Y >>> 8 & 255] << 8 | w[J & 255]) ^ C[e0++], l0 = (w[z >>> 24] << 24 | w[Y >>> 16 & 255] << 16 | w[J >>> 8 & 255] << 8 | w[L & 255]) ^ C[e0++], a0 = (w[Y >>> 24] << 24 | w[J >>> 16 & 255] << 16 | w[L >>> 8 & 255] << 8 | w[z & 255]) ^ C[e0++], P = (w[J >>> 24] << 24 | w[L >>> 16 & 255] << 16 | w[z >>> 8 & 255] << 8 | w[Y & 255]) ^ C[e0++];
|
|
7695
|
+
B[b] = V, B[b + 1] = l0, B[b + 2] = a0, B[b + 3] = P;
|
|
7696
7696
|
},
|
|
7697
7697
|
keySize: 256 / 32
|
|
7698
7698
|
});
|
|
7699
7699
|
n.AES = i._createHelper(E);
|
|
7700
7700
|
}(), r.AES;
|
|
7701
7701
|
});
|
|
7702
|
-
}(Vu)),
|
|
7702
|
+
}(Vu)), Rr;
|
|
7703
7703
|
}
|
|
7704
|
-
var
|
|
7704
|
+
var kr = {}, tl = {
|
|
7705
7705
|
get exports() {
|
|
7706
|
-
return
|
|
7706
|
+
return kr;
|
|
7707
7707
|
},
|
|
7708
7708
|
set exports(t) {
|
|
7709
|
-
|
|
7709
|
+
kr = t;
|
|
7710
7710
|
}
|
|
7711
7711
|
}, Xs;
|
|
7712
7712
|
function el() {
|
|
7713
7713
|
return Xs || (Xs = 1, function(t, e) {
|
|
7714
7714
|
(function(r, n, s) {
|
|
7715
|
-
t.exports = n(o0(),
|
|
7715
|
+
t.exports = n(o0(), re(), ne(), Kt(), S0());
|
|
7716
7716
|
})(s0, function(r) {
|
|
7717
7717
|
return function() {
|
|
7718
7718
|
var n = r, s = n.lib, i = s.WordArray, o = s.BlockCipher, a = n.algo, g = [
|
|
@@ -8366,8 +8366,8 @@ function el() {
|
|
|
8366
8366
|
B[b] = E[C >>> 5] >>> 31 - C % 32 & 1;
|
|
8367
8367
|
}
|
|
8368
8368
|
for (var _ = this._subKeys = [], S = 0; S < 16; S++) {
|
|
8369
|
-
for (var T = _[S] = [],
|
|
8370
|
-
T[b / 6 | 0] |= B[(c[b] - 1 +
|
|
8369
|
+
for (var T = _[S] = [], H = x[S], b = 0; b < 24; b++)
|
|
8370
|
+
T[b / 6 | 0] |= B[(c[b] - 1 + H) % 28] << 31 - b % 6, T[4 + (b / 6 | 0)] |= B[28 + (c[b + 24] - 1 + H) % 28] << 31 - b % 6;
|
|
8371
8371
|
T[0] = T[0] << 1 | T[0] >>> 31;
|
|
8372
8372
|
for (var b = 1; b < 7; b++)
|
|
8373
8373
|
T[b] = T[b] >>> (b - 1) * 4 + 3;
|
|
@@ -8385,8 +8385,8 @@ function el() {
|
|
|
8385
8385
|
_doCryptBlock: function(A, E, B) {
|
|
8386
8386
|
this._lBlock = A[E], this._rBlock = A[E + 1], f.call(this, 4, 252645135), f.call(this, 16, 65535), l.call(this, 2, 858993459), l.call(this, 8, 16711935), f.call(this, 1, 1431655765);
|
|
8387
8387
|
for (var b = 0; b < 16; b++) {
|
|
8388
|
-
for (var C = B[b], _ = this._lBlock, S = this._rBlock, T = 0,
|
|
8389
|
-
T |= d[
|
|
8388
|
+
for (var C = B[b], _ = this._lBlock, S = this._rBlock, T = 0, H = 0; H < 8; H++)
|
|
8389
|
+
T |= d[H][((S ^ C[H]) & h[H]) >>> 0];
|
|
8390
8390
|
this._lBlock = S, this._rBlock = _ ^ T;
|
|
8391
8391
|
}
|
|
8392
8392
|
var w = this._lBlock;
|
|
@@ -8426,20 +8426,20 @@ function el() {
|
|
|
8426
8426
|
n.TripleDES = o._createHelper(y);
|
|
8427
8427
|
}(), r.TripleDES;
|
|
8428
8428
|
});
|
|
8429
|
-
}(tl)),
|
|
8429
|
+
}(tl)), kr;
|
|
8430
8430
|
}
|
|
8431
|
-
var
|
|
8431
|
+
var Or = {}, rl = {
|
|
8432
8432
|
get exports() {
|
|
8433
|
-
return
|
|
8433
|
+
return Or;
|
|
8434
8434
|
},
|
|
8435
8435
|
set exports(t) {
|
|
8436
|
-
|
|
8436
|
+
Or = t;
|
|
8437
8437
|
}
|
|
8438
8438
|
}, Qs;
|
|
8439
8439
|
function nl() {
|
|
8440
8440
|
return Qs || (Qs = 1, function(t, e) {
|
|
8441
8441
|
(function(r, n, s) {
|
|
8442
|
-
t.exports = n(o0(),
|
|
8442
|
+
t.exports = n(o0(), re(), ne(), Kt(), S0());
|
|
8443
8443
|
})(s0, function(r) {
|
|
8444
8444
|
return function() {
|
|
8445
8445
|
var n = r, s = n.lib, i = s.StreamCipher, o = n.algo, a = o.RC4 = i.extend({
|
|
@@ -8487,20 +8487,20 @@ function nl() {
|
|
|
8487
8487
|
n.RC4Drop = i._createHelper(c);
|
|
8488
8488
|
}(), r.RC4;
|
|
8489
8489
|
});
|
|
8490
|
-
}(rl)),
|
|
8490
|
+
}(rl)), Or;
|
|
8491
8491
|
}
|
|
8492
|
-
var
|
|
8492
|
+
var Pr = {}, sl = {
|
|
8493
8493
|
get exports() {
|
|
8494
|
-
return
|
|
8494
|
+
return Pr;
|
|
8495
8495
|
},
|
|
8496
8496
|
set exports(t) {
|
|
8497
|
-
|
|
8497
|
+
Pr = t;
|
|
8498
8498
|
}
|
|
8499
8499
|
}, Ys;
|
|
8500
8500
|
function il() {
|
|
8501
8501
|
return Ys || (Ys = 1, function(t, e) {
|
|
8502
8502
|
(function(r, n, s) {
|
|
8503
|
-
t.exports = n(o0(),
|
|
8503
|
+
t.exports = n(o0(), re(), ne(), Kt(), S0());
|
|
8504
8504
|
})(s0, function(r) {
|
|
8505
8505
|
return function() {
|
|
8506
8506
|
var n = r, s = n.lib, i = s.StreamCipher, o = n.algo, a = [], g = [], c = [], x = o.Rabbit = i.extend({
|
|
@@ -8560,20 +8560,20 @@ function il() {
|
|
|
8560
8560
|
n.Rabbit = i._createHelper(x);
|
|
8561
8561
|
}(), r.Rabbit;
|
|
8562
8562
|
});
|
|
8563
|
-
}(sl)),
|
|
8563
|
+
}(sl)), Pr;
|
|
8564
8564
|
}
|
|
8565
|
-
var
|
|
8565
|
+
var Hr = {}, ol = {
|
|
8566
8566
|
get exports() {
|
|
8567
|
-
return
|
|
8567
|
+
return Hr;
|
|
8568
8568
|
},
|
|
8569
8569
|
set exports(t) {
|
|
8570
|
-
|
|
8570
|
+
Hr = t;
|
|
8571
8571
|
}
|
|
8572
8572
|
}, Vs;
|
|
8573
8573
|
function al() {
|
|
8574
8574
|
return Vs || (Vs = 1, function(t, e) {
|
|
8575
8575
|
(function(r, n, s) {
|
|
8576
|
-
t.exports = n(o0(),
|
|
8576
|
+
t.exports = n(o0(), re(), ne(), Kt(), S0());
|
|
8577
8577
|
})(s0, function(r) {
|
|
8578
8578
|
return function() {
|
|
8579
8579
|
var n = r, s = n.lib, i = s.StreamCipher, o = n.algo, a = [], g = [], c = [], x = o.RabbitLegacy = i.extend({
|
|
@@ -8631,20 +8631,20 @@ function al() {
|
|
|
8631
8631
|
n.RabbitLegacy = i._createHelper(x);
|
|
8632
8632
|
}(), r.RabbitLegacy;
|
|
8633
8633
|
});
|
|
8634
|
-
}(ol)),
|
|
8634
|
+
}(ol)), Hr;
|
|
8635
8635
|
}
|
|
8636
|
-
var
|
|
8636
|
+
var Ir = {}, cl = {
|
|
8637
8637
|
get exports() {
|
|
8638
|
-
return
|
|
8638
|
+
return Ir;
|
|
8639
8639
|
},
|
|
8640
8640
|
set exports(t) {
|
|
8641
|
-
|
|
8641
|
+
Ir = t;
|
|
8642
8642
|
}
|
|
8643
8643
|
}, Js;
|
|
8644
8644
|
function xl() {
|
|
8645
8645
|
return Js || (Js = 1, function(t, e) {
|
|
8646
8646
|
(function(r, n, s) {
|
|
8647
|
-
t.exports = n(o0(),
|
|
8647
|
+
t.exports = n(o0(), re(), ne(), Kt(), S0());
|
|
8648
8648
|
})(s0, function(r) {
|
|
8649
8649
|
return function() {
|
|
8650
8650
|
var n = r, s = n.lib, i = s.BlockCipher, o = n.algo;
|
|
@@ -9760,16 +9760,16 @@ function xl() {
|
|
|
9760
9760
|
n.Blowfish = i._createHelper(l);
|
|
9761
9761
|
}(), r.Blowfish;
|
|
9762
9762
|
});
|
|
9763
|
-
}(cl)),
|
|
9763
|
+
}(cl)), Ir;
|
|
9764
9764
|
}
|
|
9765
9765
|
(function(t, e) {
|
|
9766
9766
|
(function(r, n, s) {
|
|
9767
|
-
t.exports = n(o0(),
|
|
9767
|
+
t.exports = n(o0(), Xr(), au(), xu(), re(), lu(), ne(), go(), Nn(), gu(), Bo(), Eu(), bu(), Fu(), Ln(), wu(), Kt(), S0(), Ru(), Ou(), Hu(), qu(), Lu(), Uu(), Mu(), Wu(), Ku(), Xu(), Yu(), Ju(), el(), nl(), il(), al(), xl());
|
|
9768
9768
|
})(s0, function(r) {
|
|
9769
9769
|
return r;
|
|
9770
9770
|
});
|
|
9771
9771
|
})(Jf);
|
|
9772
|
-
const
|
|
9772
|
+
const V0 = mn;
|
|
9773
9773
|
function yo(t, e, r, n, s) {
|
|
9774
9774
|
const i = s.parse(t), o = {
|
|
9775
9775
|
iv: e,
|
|
@@ -9778,33 +9778,34 @@ function yo(t, e, r, n, s) {
|
|
|
9778
9778
|
};
|
|
9779
9779
|
return {
|
|
9780
9780
|
encrypt: (c, x) => {
|
|
9781
|
-
const d = s.parse(c), h =
|
|
9782
|
-
return x ?
|
|
9781
|
+
const d = s.parse(c), h = V0.AES.encrypt(d, i, o);
|
|
9782
|
+
return x ? V0.enc.Hex.stringify(h == null ? void 0 : h.ciphertext) : h.toString();
|
|
9783
9783
|
},
|
|
9784
9784
|
decrypt: (c, x) => {
|
|
9785
9785
|
if (x) {
|
|
9786
9786
|
const d = {
|
|
9787
|
-
ciphertext:
|
|
9788
|
-
}, h =
|
|
9787
|
+
ciphertext: V0.enc.Hex.parse(c)
|
|
9788
|
+
}, h = V0.AES.decrypt(d, i, o);
|
|
9789
9789
|
return h == null ? void 0 : h.toString(s);
|
|
9790
9790
|
} else
|
|
9791
|
-
return
|
|
9791
|
+
return V0.AES.decrypt(c, i, o);
|
|
9792
9792
|
}
|
|
9793
9793
|
};
|
|
9794
9794
|
}
|
|
9795
9795
|
function fl(t, e) {
|
|
9796
|
-
var r = yo(t, e,
|
|
9796
|
+
var r = yo(t, e, V0.mode.CBC, V0.pad.Pkcs7, V0.enc.Utf8);
|
|
9797
9797
|
return r;
|
|
9798
9798
|
}
|
|
9799
9799
|
function ul(t, e) {
|
|
9800
|
-
var r = yo(t, e,
|
|
9800
|
+
var r = yo(t, e, V0.mode.ECB, V0.pad.Pkcs7, V0.enc.Utf8);
|
|
9801
9801
|
return r;
|
|
9802
9802
|
}
|
|
9803
9803
|
const { openWindow: ll } = eo(), { sendToIframe: hl, sendToParent: dl, receive: pl, sendToIframeByName: vl, send: gl } = Ni();
|
|
9804
9804
|
function Bl(t) {
|
|
9805
9805
|
return {
|
|
9806
|
-
instance: t.instance,
|
|
9807
|
-
|
|
9806
|
+
instance: t == null ? void 0 : t.instance,
|
|
9807
|
+
compParams: t == null ? void 0 : t.compParams,
|
|
9808
|
+
// i18n: i18n,
|
|
9808
9809
|
util: {
|
|
9809
9810
|
url: xe,
|
|
9810
9811
|
cookie: li,
|
|
@@ -9821,11 +9822,11 @@ function Bl(t) {
|
|
|
9821
9822
|
window: {
|
|
9822
9823
|
//窗体触发
|
|
9823
9824
|
openWindow: ll,
|
|
9824
|
-
findUp:
|
|
9825
|
-
findDown:
|
|
9826
|
-
find:
|
|
9827
|
-
findByIframeId:
|
|
9828
|
-
findTop:
|
|
9825
|
+
findUp: W0.findUp,
|
|
9826
|
+
findDown: W0.findDown,
|
|
9827
|
+
find: W0.find,
|
|
9828
|
+
findByIframeId: W0.findByIframeId,
|
|
9829
|
+
findTop: W0.findTop
|
|
9829
9830
|
},
|
|
9830
9831
|
message: {
|
|
9831
9832
|
//消息通信
|
|
@@ -9836,24 +9837,24 @@ function Bl(t) {
|
|
|
9836
9837
|
receive: pl
|
|
9837
9838
|
},
|
|
9838
9839
|
tip: {
|
|
9839
|
-
ElMessage:
|
|
9840
|
+
ElMessage: Fe,
|
|
9840
9841
|
ElMessageBox: ai,
|
|
9841
9842
|
ElNotification: oe
|
|
9842
9843
|
},
|
|
9843
9844
|
json: {
|
|
9844
|
-
fromJson:
|
|
9845
|
-
toJson:
|
|
9845
|
+
fromJson: et,
|
|
9846
|
+
toJson: K0
|
|
9846
9847
|
},
|
|
9847
9848
|
security: {
|
|
9848
|
-
CryptoJS:
|
|
9849
|
+
CryptoJS: V0,
|
|
9849
9850
|
// MD5: { hex_md5: md5.hex_md5 },
|
|
9850
9851
|
// Base64,
|
|
9851
9852
|
//国密
|
|
9852
9853
|
SM: {
|
|
9853
9854
|
SMWithTraceKey: Vf,
|
|
9854
|
-
SM2:
|
|
9855
|
+
SM2: Oe,
|
|
9855
9856
|
SM4: Pn,
|
|
9856
|
-
SecInner:
|
|
9857
|
+
SecInner: Gr
|
|
9857
9858
|
},
|
|
9858
9859
|
//非对称加密
|
|
9859
9860
|
AES: {
|
|
@@ -9865,7 +9866,7 @@ function Bl(t) {
|
|
|
9865
9866
|
};
|
|
9866
9867
|
}
|
|
9867
9868
|
const Eo = wa();
|
|
9868
|
-
|
|
9869
|
+
zt.rowScope + "", g0.i18nt("designer.var.rowScope");
|
|
9869
9870
|
const mo = function(t) {
|
|
9870
9871
|
return {
|
|
9871
9872
|
[i0.number]: /^[-+]?(\d+\.\d+|\d+|\.\d+)$/,
|
|
@@ -9891,7 +9892,7 @@ const mo = function(t) {
|
|
|
9891
9892
|
return n.rule = t, n.force = r, n;
|
|
9892
9893
|
}, bo = (t, e, r, n, s) => {
|
|
9893
9894
|
t ? r() : r(yl(e, n, s));
|
|
9894
|
-
},
|
|
9895
|
+
}, Ye = function(t, e, r, n, s, i) {
|
|
9895
9896
|
if (ti(t)) {
|
|
9896
9897
|
n();
|
|
9897
9898
|
return;
|
|
@@ -9899,7 +9900,7 @@ const mo = function(t) {
|
|
|
9899
9900
|
let o = s, a = !0;
|
|
9900
9901
|
fa(t) ? a = t == null ? void 0 : t(r) : a = new RegExp(t).test(r), bo(a, e, n, o, i);
|
|
9901
9902
|
}, O0 = function(t, e, r, n, s, i) {
|
|
9902
|
-
if (
|
|
9903
|
+
if (z0(r)) {
|
|
9903
9904
|
n();
|
|
9904
9905
|
return;
|
|
9905
9906
|
}
|
|
@@ -9907,7 +9908,7 @@ const mo = function(t) {
|
|
|
9907
9908
|
n();
|
|
9908
9909
|
return;
|
|
9909
9910
|
}
|
|
9910
|
-
|
|
9911
|
+
Ye(mo(t), e, r, n, s, i);
|
|
9911
9912
|
}, El = {
|
|
9912
9913
|
/**
|
|
9913
9914
|
* 数字
|
|
@@ -10055,7 +10056,7 @@ const mo = function(t) {
|
|
|
10055
10056
|
},
|
|
10056
10057
|
required(t, e, r, n, s) {
|
|
10057
10058
|
let i = s || g0.i18nt("render.hint.fieldRequired");
|
|
10058
|
-
|
|
10059
|
+
Ye(mo(i0.required), t, e, r, i, n);
|
|
10059
10060
|
},
|
|
10060
10061
|
/**
|
|
10061
10062
|
* 自定义校验规则
|
|
@@ -10065,7 +10066,7 @@ const mo = function(t) {
|
|
|
10065
10066
|
* @returns
|
|
10066
10067
|
*/
|
|
10067
10068
|
regExp(t, e, r, n, s, i) {
|
|
10068
|
-
return
|
|
10069
|
+
return Ye(i, t, e, r, s || "invalid value", n);
|
|
10069
10070
|
},
|
|
10070
10071
|
/**
|
|
10071
10072
|
* 数值范围校验规则
|
|
@@ -10075,52 +10076,52 @@ const mo = function(t) {
|
|
|
10075
10076
|
* @returns
|
|
10076
10077
|
*/
|
|
10077
10078
|
range(t, e, r, n, s, i) {
|
|
10078
|
-
return
|
|
10079
|
+
return Ye(i, t, e, r, s || "invalid value", n);
|
|
10079
10080
|
}
|
|
10080
|
-
},
|
|
10081
|
+
}, be = El;
|
|
10081
10082
|
function ml(t, e, r, n) {
|
|
10082
|
-
const s = e == null ? void 0 : e.designState, i = e, o = (R) => t ?
|
|
10083
|
+
const s = e == null ? void 0 : e.designState, i = e, o = (R) => t ? y0.getOptions(t, R, !0) != null : !1, a = (R, q = !1) => t ? y0.getOptions(t, R, q, !s, i) : null, g = (R, q) => {
|
|
10083
10084
|
if (t)
|
|
10084
|
-
return
|
|
10085
|
-
}, c = (R,
|
|
10086
|
-
|
|
10085
|
+
return y0.setOptions(t, R, q);
|
|
10086
|
+
}, c = (R, q) => {
|
|
10087
|
+
pt(t == null ? void 0 : t.options, R) && g(R, q);
|
|
10087
10088
|
}, x = (R) => {
|
|
10088
|
-
const
|
|
10089
|
-
return l(
|
|
10090
|
-
}, d = (R,
|
|
10089
|
+
const q = y0.getOrgOption(t, R);
|
|
10090
|
+
return l(q);
|
|
10091
|
+
}, d = (R, q, k = !1) => {
|
|
10091
10092
|
var t0;
|
|
10092
|
-
const
|
|
10093
|
-
var X = k ? K.getValue(
|
|
10093
|
+
const W = (t0 = t == null ? void 0 : t.options) == null ? void 0 : t0[R];
|
|
10094
|
+
var X = k ? K.getValue(W, !1, !s, { ...i, schemaParams: q }) : x(R);
|
|
10094
10095
|
return X;
|
|
10095
|
-
}, h = (R,
|
|
10096
|
-
if (!
|
|
10096
|
+
}, h = (R, q, k, W) => {
|
|
10097
|
+
if (!q)
|
|
10097
10098
|
return;
|
|
10098
10099
|
k == null || k();
|
|
10099
|
-
const X =
|
|
10100
|
+
const X = Wt(C.value).includes(q) ? C : Wt(S.value).includes(q) ? S : null;
|
|
10100
10101
|
if (R && X)
|
|
10101
|
-
|
|
10102
|
+
Ve(() => {
|
|
10102
10103
|
var t0;
|
|
10103
|
-
return (t0 = X == null ? void 0 : X.value) == null ? void 0 : t0[
|
|
10104
|
+
return (t0 = X == null ? void 0 : X.value) == null ? void 0 : t0[q];
|
|
10104
10105
|
}, (t0, p0) => {
|
|
10105
|
-
|
|
10106
|
+
W == null || W(t0, p0);
|
|
10106
10107
|
}, { immediate: !0 });
|
|
10107
10108
|
else {
|
|
10108
|
-
const t0 = a(
|
|
10109
|
-
|
|
10110
|
-
|
|
10111
|
-
}, { immediate: !0 }) :
|
|
10112
|
-
}
|
|
10113
|
-
}, v = (R,
|
|
10114
|
-
t &&
|
|
10115
|
-
}, f = (R,
|
|
10116
|
-
var
|
|
10117
|
-
switch (
|
|
10109
|
+
const t0 = a(q);
|
|
10110
|
+
te(t0) ? Ve(t0, (p0, c0) => {
|
|
10111
|
+
W == null || W(p0, c0);
|
|
10112
|
+
}, { immediate: !0 }) : W == null || W(t0, null);
|
|
10113
|
+
}
|
|
10114
|
+
}, v = (R, q) => {
|
|
10115
|
+
t && y0.setEnable(t, R, q);
|
|
10116
|
+
}, f = (R, q, k) => _f(R, q, k, e), l = (R) => {
|
|
10117
|
+
var q = K.getType(R), k = K.getValue(R, !1, !s, i);
|
|
10118
|
+
switch (q) {
|
|
10118
10119
|
case Q.dataObject: {
|
|
10119
|
-
const
|
|
10120
|
-
if (
|
|
10121
|
-
if ([
|
|
10122
|
-
return k == null || k === "" ? null :
|
|
10123
|
-
if ([
|
|
10120
|
+
const W = y0.getOptions(R, "type");
|
|
10121
|
+
if (J0(k) && W) {
|
|
10122
|
+
if ([Ae.array, Ae.object].includes(W))
|
|
10123
|
+
return k == null || k === "" ? null : et(String(k || ""));
|
|
10124
|
+
if ([Ae.bigint, Ae.number].includes(W))
|
|
10124
10125
|
return va(k);
|
|
10125
10126
|
}
|
|
10126
10127
|
return k;
|
|
@@ -10128,158 +10129,158 @@ function ml(t, e, r, n) {
|
|
|
10128
10129
|
case Q.slot:
|
|
10129
10130
|
return vx(k);
|
|
10130
10131
|
case Q.icon: {
|
|
10131
|
-
const { instance:
|
|
10132
|
-
return
|
|
10132
|
+
const { instance: W } = sn(n);
|
|
10133
|
+
return W ? Aa(k, W) : k;
|
|
10133
10134
|
}
|
|
10134
10135
|
case Q.event:
|
|
10135
10136
|
case Q.placerHook:
|
|
10136
10137
|
case Q.hook: {
|
|
10137
|
-
if (
|
|
10138
|
+
if (z0(k) || k === "" || s)
|
|
10138
10139
|
break;
|
|
10139
10140
|
return (...X) => {
|
|
10140
10141
|
let t0 = {};
|
|
10141
10142
|
var p0 = 1;
|
|
10142
|
-
X == null || X.map((
|
|
10143
|
-
const { instance: c0 } = sn(n || (i == null ? void 0 : i.instance)),
|
|
10144
|
-
t0[
|
|
10145
|
-
const
|
|
10146
|
-
return
|
|
10143
|
+
X == null || X.map((C0) => t0["args" + p0++] = C0);
|
|
10144
|
+
const { instance: c0 } = sn(n || (i == null ? void 0 : i.instance)), B0 = Bl({ instance: c0, compParams: i == null ? void 0 : i.globalConfig });
|
|
10145
|
+
t0[dt.externalArgs] = B0;
|
|
10146
|
+
const b0 = k;
|
|
10147
|
+
return b0 != null && b0.type ? f(b0, t0, c0) : Dt(k, t0);
|
|
10147
10148
|
};
|
|
10148
10149
|
}
|
|
10149
10150
|
default:
|
|
10150
10151
|
return k;
|
|
10151
10152
|
}
|
|
10152
|
-
}, y = (R,
|
|
10153
|
-
var
|
|
10154
|
-
return X.slotName = (
|
|
10155
|
-
}, A = (R,
|
|
10153
|
+
}, y = (R, q, k) => {
|
|
10154
|
+
var W = K.getOptions(R), X = {};
|
|
10155
|
+
return X.slotName = (W == null ? void 0 : W.slotName) || q, (R == null ? void 0 : R.widgetList) === void 0 ? X.widgetList = [] : X.widgetList = R == null ? void 0 : R.widgetList, X.default = k ? Da(k) : null, Object.assign(R, X);
|
|
10156
|
+
}, A = (R, q = !1, k) => {
|
|
10156
10157
|
var X;
|
|
10157
|
-
var
|
|
10158
|
+
var W = {};
|
|
10158
10159
|
return !t || !t.options || (X = Object.entries(t == null ? void 0 : t.options)) == null || X.forEach(([t0, p0]) => {
|
|
10159
10160
|
if (!(k && !(k != null && k(t0)))) {
|
|
10160
10161
|
var c0 = K.getOrgType(p0);
|
|
10161
10162
|
if (R.includes(c0)) {
|
|
10162
|
-
var
|
|
10163
|
-
c0 === Q.slot ?
|
|
10163
|
+
var B0 = q ? K.getValue(p0, !1, !s, i) : x(t0);
|
|
10164
|
+
c0 === Q.slot ? W[t0] = y(p0, t0, B0) : $t(B0) || (W[t0] = B0);
|
|
10164
10165
|
} else
|
|
10165
|
-
c0 || [Q.prop].some((
|
|
10166
|
+
c0 || [Q.prop].some((b0) => R.includes(b0)) && (W[t0] = p0);
|
|
10166
10167
|
}
|
|
10167
|
-
}),
|
|
10168
|
+
}), W;
|
|
10168
10169
|
}, E = (R) => {
|
|
10169
|
-
const
|
|
10170
|
+
const q = R == null ? void 0 : R.type;
|
|
10170
10171
|
var k = [];
|
|
10171
|
-
return
|
|
10172
|
+
return q && (k = [], R.formItemFlag && (k = k.concat(["name", "defaultValue"]))), k;
|
|
10172
10173
|
}, B = (R) => {
|
|
10173
|
-
const
|
|
10174
|
-
|
|
10175
|
-
var k = !o(
|
|
10176
|
-
return k ?
|
|
10177
|
-
}), R.hidden = k0(() =>
|
|
10174
|
+
const q = a(at.state);
|
|
10175
|
+
q != null && te(q) && (R.readonly = k0(() => Q0(q) === Jt.readonly), R.disabled = k0(() => {
|
|
10176
|
+
var k = !o(Jt.readonly), W = Q0(q) === Jt.disabled, X = Q0(q) === Jt.readonly;
|
|
10177
|
+
return k ? W : W || X;
|
|
10178
|
+
}), R.hidden = k0(() => Q0(q) === Jt.hidden), R.custom = k0(() => Q0(q) === Jt.custom));
|
|
10178
10179
|
}, b = () => {
|
|
10179
|
-
var R = E(t) || [],
|
|
10180
|
-
var
|
|
10181
|
-
return X &&
|
|
10180
|
+
var R = E(t) || [], q = A([Q.icon, Q.hook, Q.variable, Q.prop, Q.dataObject], !1, (k) => {
|
|
10181
|
+
var W = !(r != null && r.fn_attr) || (r == null ? void 0 : r.fn_attr(k)), X = !R.includes(k);
|
|
10182
|
+
return X && W;
|
|
10182
10183
|
});
|
|
10183
|
-
return B(
|
|
10184
|
-
}, C = r != null && r.s_attr ? k0(() => b()) :
|
|
10184
|
+
return B(q), on(q);
|
|
10185
|
+
}, C = r != null && r.s_attr ? k0(() => b()) : At(), _ = () => {
|
|
10185
10186
|
var R = A([Q.placer, Q.placerHook]);
|
|
10186
10187
|
return on(R);
|
|
10187
|
-
}, S = r != null && r.s_extendAttr ? k0(() => _()) :
|
|
10188
|
+
}, S = r != null && r.s_extendAttr ? k0(() => _()) : At(), T = r != null && r.s_events ? k0(() => A([Q.event])) : At(), H = r != null && r.s_fieldName ? k0({
|
|
10188
10189
|
get: () => a(at.name),
|
|
10189
10190
|
set: (R) => {
|
|
10190
10191
|
g(at.name, R);
|
|
10191
10192
|
}
|
|
10192
|
-
}) :
|
|
10193
|
-
var
|
|
10194
|
-
return
|
|
10193
|
+
}) : At(), w = (R) => K.isComplexValue(t == null ? void 0 : t.options[R]), F = (R = !1) => {
|
|
10194
|
+
var q = a(dt.defaultValue, !0);
|
|
10195
|
+
return pt(t == null ? void 0 : t.options, dt.defaultValue) && (!R || q != null);
|
|
10195
10196
|
}, L = () => {
|
|
10196
|
-
var
|
|
10197
|
+
var q, k, W, X, t0;
|
|
10197
10198
|
if (!F())
|
|
10198
10199
|
return;
|
|
10199
|
-
let R = a(
|
|
10200
|
-
if (
|
|
10201
|
-
const p0 =
|
|
10202
|
-
if ((p0 || Array.isArray(R)) && ((
|
|
10203
|
-
return (
|
|
10204
|
-
if ((p0 === !1 ||
|
|
10205
|
-
return (t0 = (X =
|
|
10200
|
+
let R = a(dt.defaultValue);
|
|
10201
|
+
if (pt(t == null ? void 0 : t.options, at.optionItems) && !w(dt.defaultValue)) {
|
|
10202
|
+
const p0 = Q0(a(dt.multiple));
|
|
10203
|
+
if ((p0 || Array.isArray(R)) && ((q = f0(R)) == null ? void 0 : q.length) <= 0)
|
|
10204
|
+
return (W = (k = Q0(V == null ? void 0 : V.value)) == null ? void 0 : k.filter((c0) => c0 == null ? void 0 : c0.isdefault)) == null ? void 0 : W.map((c0) => c0 == null ? void 0 : c0.value);
|
|
10205
|
+
if ((p0 === !1 || z0(p0) || !Array.isArray(R)) && z0(R))
|
|
10206
|
+
return (t0 = (X = Q0(V == null ? void 0 : V.value)) == null ? void 0 : X.find((c0) => c0 == null ? void 0 : c0.isdefault)) == null ? void 0 : t0.value;
|
|
10206
10207
|
}
|
|
10207
10208
|
return R;
|
|
10208
10209
|
}, z = r != null && r.s_slots ? k0(() => {
|
|
10209
10210
|
var R = A([Q.slot]);
|
|
10210
10211
|
return Object.values(R);
|
|
10211
|
-
}) :
|
|
10212
|
+
}) : At(), Y = r != null && r.s_slots ? k0(() => {
|
|
10212
10213
|
var R = A([Q.slot], !0);
|
|
10213
10214
|
return Object.values(R);
|
|
10214
|
-
}) :
|
|
10215
|
-
var
|
|
10216
|
-
const k =
|
|
10217
|
-
K.isComplexValue(k) || g(
|
|
10215
|
+
}) : At(), J = (R) => {
|
|
10216
|
+
var q = at.optionItems;
|
|
10217
|
+
const k = y0.getOrgOption(t, q);
|
|
10218
|
+
K.isComplexValue(k) || g(q, ua(R));
|
|
10218
10219
|
}, e0 = (R) => {
|
|
10219
|
-
if (
|
|
10220
|
-
var
|
|
10221
|
-
return
|
|
10222
|
-
} else if (
|
|
10220
|
+
if (pt(C.value, R)) {
|
|
10221
|
+
var q = C.value[R];
|
|
10222
|
+
return te(q) ? q : k0(() => u0(C.value[R]));
|
|
10223
|
+
} else if (pt(S.value, R)) {
|
|
10223
10224
|
var k = S.value[R];
|
|
10224
|
-
return
|
|
10225
|
+
return te(k) ? k : k0(() => u0(S.value[R]));
|
|
10225
10226
|
} else {
|
|
10226
|
-
var
|
|
10227
|
-
return
|
|
10227
|
+
var W = a(R);
|
|
10228
|
+
return te(W) ? W : k0(() => u0(a(R)));
|
|
10228
10229
|
}
|
|
10229
10230
|
}, u0 = (R) => {
|
|
10230
10231
|
if (R == null)
|
|
10231
10232
|
return R;
|
|
10232
|
-
if (
|
|
10233
|
-
return
|
|
10234
|
-
var
|
|
10235
|
-
return ei(
|
|
10236
|
-
K.needCalcValue(X) && (k[
|
|
10237
|
-
}),
|
|
10233
|
+
if (te(R))
|
|
10234
|
+
return Q0(R);
|
|
10235
|
+
var q = Lt(R);
|
|
10236
|
+
return ei(q, (k, W, X) => {
|
|
10237
|
+
K.needCalcValue(X) && (k[W] = K.getValue(X, !0, !s, i));
|
|
10238
|
+
}), q === void 0 ? null : on(q);
|
|
10238
10239
|
};
|
|
10239
10240
|
let V = null;
|
|
10240
|
-
r != null && r.s_optionItems &&
|
|
10241
|
-
const l0 = (R) => !!R.isdefault, a0 = (R) =>
|
|
10242
|
-
if (!Array.isArray(
|
|
10241
|
+
r != null && r.s_optionItems && pt(t == null ? void 0 : t.options, at.optionItems) && (V = e0(at.optionItems));
|
|
10242
|
+
const l0 = (R) => !!R.isdefault, a0 = (R) => P(R, V == null ? void 0 : V.value), P = (R, q) => {
|
|
10243
|
+
if (!Array.isArray(q))
|
|
10243
10244
|
return;
|
|
10244
10245
|
let k = [];
|
|
10245
|
-
return la(
|
|
10246
|
-
k.push(
|
|
10246
|
+
return la(q, "children", (W) => R(W), (W) => {
|
|
10247
|
+
k.push(W);
|
|
10247
10248
|
}), k;
|
|
10248
|
-
},
|
|
10249
|
-
var R,
|
|
10249
|
+
}, I = r != null && r.s_optionItems ? k0(() => a0(l0)) : At(), M = r != null && r.s_optionItems ? k0(() => {
|
|
10250
|
+
var R, q;
|
|
10250
10251
|
if (Array.isArray(V == null ? void 0 : V.value)) {
|
|
10251
|
-
const k = (R =
|
|
10252
|
-
return k ? (
|
|
10252
|
+
const k = (R = I == null ? void 0 : I.value) == null ? void 0 : R.length;
|
|
10253
|
+
return k ? (q = I == null ? void 0 : I.value) == null ? void 0 : q[k - 1] : void 0;
|
|
10253
10254
|
}
|
|
10254
|
-
}) :
|
|
10255
|
+
}) : At(), U = r != null && r.s_optionItems ? k0(() => {
|
|
10255
10256
|
var R;
|
|
10256
10257
|
if (Array.isArray(V == null ? void 0 : V.value)) {
|
|
10257
|
-
const
|
|
10258
|
-
return !isNaN(
|
|
10258
|
+
const q = (R = V == null ? void 0 : V.value) == null ? void 0 : R.findIndex((k) => l0(k));
|
|
10259
|
+
return !isNaN(q) && q > -1 ? q : 0;
|
|
10259
10260
|
}
|
|
10260
10261
|
return 0;
|
|
10261
|
-
}) :
|
|
10262
|
-
const k =
|
|
10263
|
-
return
|
|
10264
|
-
var X =
|
|
10265
|
-
return X == null ? void 0 : X.includes(
|
|
10266
|
-
},
|
|
10267
|
-
}, h0 = (R) => {
|
|
10262
|
+
}) : At(0), d0 = (R, q) => {
|
|
10263
|
+
const k = Q0(a(dt.valueKey, !1));
|
|
10264
|
+
return P((W) => {
|
|
10265
|
+
var X = _e(R, !0);
|
|
10266
|
+
return X == null ? void 0 : X.includes(W == null ? void 0 : W[k]);
|
|
10267
|
+
}, q || (V == null ? void 0 : V.value));
|
|
10268
|
+
}, h0 = (R) => a(dt.multiple, !1) || R, m0 = (R, q) => {
|
|
10268
10269
|
var X;
|
|
10269
|
-
const
|
|
10270
|
-
return
|
|
10271
|
-
},
|
|
10270
|
+
const k = Q0(a(dt.labelKey, !1)), W = (X = d0(R)) == null ? void 0 : X.map((t0) => t0 == null ? void 0 : t0[k]);
|
|
10271
|
+
return h0(q) ? W : W == null ? void 0 : W[0];
|
|
10272
|
+
}, r0 = (R, q) => {
|
|
10272
10273
|
var X;
|
|
10273
|
-
const
|
|
10274
|
-
return
|
|
10275
|
-
},
|
|
10276
|
-
var
|
|
10277
|
-
return (
|
|
10278
|
-
},
|
|
10279
|
-
t != null && t.formItemFlag &&
|
|
10280
|
-
},
|
|
10281
|
-
var
|
|
10282
|
-
const k = f0(
|
|
10274
|
+
const k = Q0(a(dt.valueKey, !1)), W = (X = d0(R)) == null ? void 0 : X.map((t0) => t0 == null ? void 0 : t0[k]);
|
|
10275
|
+
return h0(q) ? W : W == null ? void 0 : W[0];
|
|
10276
|
+
}, P0 = (R, q) => {
|
|
10277
|
+
var k;
|
|
10278
|
+
return (k = _e(m0(R, q), !0)) == null ? void 0 : k.join(",");
|
|
10279
|
+
}, F0 = [], wt = () => {
|
|
10280
|
+
t != null && t.formItemFlag && F0.splice(0, F0.length);
|
|
10281
|
+
}, Et = (R) => {
|
|
10282
|
+
var q = a("required", !0);
|
|
10283
|
+
const k = f0(q == null ? void 0 : q.options);
|
|
10283
10284
|
if (k != null && k.enable)
|
|
10284
10285
|
return {
|
|
10285
10286
|
name: "required",
|
|
@@ -10287,109 +10288,109 @@ function ml(t, e, r, n) {
|
|
|
10287
10288
|
required: !0,
|
|
10288
10289
|
//trigger: [],
|
|
10289
10290
|
//trigger: ['blur'], /* 去掉change事件触发校验,change事件触发时formModel数据尚未更新,导致radio/checkbox必填校验出错!! */
|
|
10290
|
-
validator: (
|
|
10291
|
-
var p0 =
|
|
10292
|
-
|
|
10291
|
+
validator: (W, X, t0) => {
|
|
10292
|
+
var p0 = vt(k == null ? void 0 : k.errorMsg, { ...k, label: R });
|
|
10293
|
+
be[i0.required](W, X, t0, k == null ? void 0 : k.forceMatch, p0);
|
|
10293
10294
|
}
|
|
10294
10295
|
};
|
|
10295
|
-
},
|
|
10296
|
-
var
|
|
10297
|
-
const k = f0(
|
|
10296
|
+
}, H0 = (R) => {
|
|
10297
|
+
var q = a("rangeValidate", !0);
|
|
10298
|
+
const k = f0(q == null ? void 0 : q.options);
|
|
10298
10299
|
if (!(k != null && k.enable))
|
|
10299
10300
|
return;
|
|
10300
|
-
let { minValue:
|
|
10301
|
-
var
|
|
10302
|
-
if (
|
|
10301
|
+
let { minValue: W, maxValue: X, includeMaxValue: t0, includeMinValue: p0 } = k, c0 = "range";
|
|
10302
|
+
var B0 = (C0) => {
|
|
10303
|
+
if (z0(C0))
|
|
10303
10304
|
return !0;
|
|
10304
|
-
const
|
|
10305
|
-
return isNaN(
|
|
10305
|
+
const D0 = parseFloat(C0), q0 = parseFloat(W), G0 = parseFloat(X), ut = () => isNaN(q0) || z0(W) || (p0 ? D0 >= q0 : D0 > q0), rt = () => isNaN(G0) || z0(X) || (t0 ? D0 <= G0 : D0 < G0);
|
|
10306
|
+
return isNaN(D0) || ut() && rt();
|
|
10306
10307
|
};
|
|
10307
|
-
const
|
|
10308
|
-
var
|
|
10309
|
-
const
|
|
10310
|
-
const
|
|
10311
|
-
return
|
|
10308
|
+
const b0 = (C0, D0, q0, G0) => {
|
|
10309
|
+
var ut = "";
|
|
10310
|
+
const rt = !z0(C0) && (C0 + "").trim() != "", Gt = !z0(q0) && (q0 + "").trim() != "", Rt = "值", kt = (Ot, Pt, Xt, ye) => {
|
|
10311
|
+
const ie = "<", Qt = ">", Ht = "=";
|
|
10312
|
+
return ye ? Xt ? `${Qt}${Ot ? Ht : ""} ${Pt}` : `${ie}${Ot ? Ht : ""} ${Pt}` : Xt ? `${Pt} ${Qt}${Ot ? Ht : ""}` : `${Pt} ${ie}${Ot ? Ht : ""}`;
|
|
10312
10313
|
};
|
|
10313
|
-
if (
|
|
10314
|
-
var
|
|
10315
|
-
|
|
10314
|
+
if (rt && Gt) {
|
|
10315
|
+
var se = kt(D0, C0, !1, !1), Be = kt(G0, q0, !1, !0);
|
|
10316
|
+
ut = `${se} ${Rt} ${Be}`;
|
|
10316
10317
|
} else
|
|
10317
|
-
|
|
10318
|
-
return
|
|
10318
|
+
rt && !Gt ? ut = `${Rt} ${kt(D0, C0, !0, !0)}` : !rt && Gt && (ut = `${Rt} ${kt(D0, q0, !1, !0)}`);
|
|
10319
|
+
return ut;
|
|
10319
10320
|
};
|
|
10320
10321
|
return {
|
|
10321
10322
|
name: c0,
|
|
10322
10323
|
label: R,
|
|
10323
10324
|
trigger: [],
|
|
10324
|
-
validator: (
|
|
10325
|
-
var
|
|
10326
|
-
|
|
10325
|
+
validator: (C0, D0, q0) => {
|
|
10326
|
+
var G0 = vt(k == null ? void 0 : k.errorMsg, { ...k, label: R });
|
|
10327
|
+
be[c0](C0, D0, q0, k == null ? void 0 : k.forceMatch, G0 || b0(W, p0, X, t0), B0);
|
|
10327
10328
|
}
|
|
10328
10329
|
};
|
|
10329
|
-
},
|
|
10330
|
-
var
|
|
10331
|
-
const k = f0(
|
|
10330
|
+
}, T0 = (R) => {
|
|
10331
|
+
var q = a("expValidate", !0);
|
|
10332
|
+
const k = f0(q == null ? void 0 : q.options);
|
|
10332
10333
|
if (!(k != null && k.enable))
|
|
10333
10334
|
return;
|
|
10334
|
-
let
|
|
10335
|
+
let W = k == null ? void 0 : k.expression, X = W;
|
|
10335
10336
|
if (X) {
|
|
10336
|
-
var t0 =
|
|
10337
|
+
var t0 = be[X], p0 = !!t0;
|
|
10337
10338
|
return p0 || (X = "regExp"), {
|
|
10338
10339
|
name: X,
|
|
10339
10340
|
label: R,
|
|
10340
10341
|
trigger: [],
|
|
10341
|
-
validator: (c0,
|
|
10342
|
-
var
|
|
10343
|
-
p0 ?
|
|
10342
|
+
validator: (c0, B0, b0) => {
|
|
10343
|
+
var C0 = vt(k == null ? void 0 : k.errorMsg, { ...k, label: R });
|
|
10344
|
+
p0 ? be[X](c0, B0, b0, k == null ? void 0 : k.forceMatch, C0) : be[X](c0, B0, b0, k == null ? void 0 : k.forceMatch, C0, W);
|
|
10344
10345
|
}
|
|
10345
10346
|
};
|
|
10346
10347
|
}
|
|
10347
|
-
},
|
|
10348
|
-
var
|
|
10349
|
-
const k = f0(
|
|
10348
|
+
}, _t = (R) => {
|
|
10349
|
+
var q = a("fnValidate", !0);
|
|
10350
|
+
const k = f0(q == null ? void 0 : q.options);
|
|
10350
10351
|
if (!(k != null && k.enable) || !k.func)
|
|
10351
10352
|
return;
|
|
10352
|
-
const { instance:
|
|
10353
|
+
const { instance: W } = sn(n), X = k == null ? void 0 : k.errorMsg;
|
|
10353
10354
|
return {
|
|
10354
10355
|
name: "userDefine",
|
|
10355
10356
|
label: R,
|
|
10356
10357
|
trigger: [],
|
|
10357
10358
|
validator: (t0, p0, c0) => {
|
|
10358
|
-
|
|
10359
|
+
Dt(k.func, {
|
|
10359
10360
|
rule: t0,
|
|
10360
10361
|
value: p0,
|
|
10361
|
-
callback: (
|
|
10362
|
-
bo(!
|
|
10362
|
+
callback: (B0) => {
|
|
10363
|
+
bo(!B0, t0, c0, X, k == null ? void 0 : k.forceMatch);
|
|
10363
10364
|
},
|
|
10364
10365
|
errorMsg: X,
|
|
10365
|
-
ctx:
|
|
10366
|
+
ctx: W
|
|
10366
10367
|
});
|
|
10367
10368
|
}
|
|
10368
10369
|
};
|
|
10369
|
-
},
|
|
10370
|
+
}, mt = () => {
|
|
10370
10371
|
if (t != null && t.formItemFlag && !a("hidden")) {
|
|
10371
|
-
|
|
10372
|
-
var R = a("label"),
|
|
10373
|
-
|
|
10374
|
-
|
|
10375
|
-
|
|
10376
|
-
|
|
10372
|
+
wt();
|
|
10373
|
+
var R = a("label"), q = [
|
|
10374
|
+
Et(R),
|
|
10375
|
+
T0(R),
|
|
10376
|
+
_t(R),
|
|
10377
|
+
H0(R)
|
|
10377
10378
|
];
|
|
10378
|
-
return
|
|
10379
|
-
k &&
|
|
10380
|
-
}),
|
|
10379
|
+
return q == null || q.forEach((k) => {
|
|
10380
|
+
k && F0.push(k);
|
|
10381
|
+
}), xt(), F0;
|
|
10381
10382
|
}
|
|
10382
|
-
},
|
|
10383
|
-
|
|
10384
|
-
xt(R);
|
|
10385
|
-
});
|
|
10386
|
-
}, yt = () => {
|
|
10387
|
-
B0 && B0.forEach((R) => {
|
|
10383
|
+
}, St = () => {
|
|
10384
|
+
F0 && F0.forEach((R) => {
|
|
10388
10385
|
Tt(R);
|
|
10389
10386
|
});
|
|
10390
|
-
}, xt = (
|
|
10391
|
-
|
|
10387
|
+
}, xt = () => {
|
|
10388
|
+
F0 && F0.forEach((R) => {
|
|
10389
|
+
ft(R);
|
|
10390
|
+
});
|
|
10392
10391
|
}, Tt = (R) => {
|
|
10392
|
+
R.trigger && R.trigger.splice(0, R.trigger.length);
|
|
10393
|
+
}, ft = (R) => {
|
|
10393
10394
|
R.trigger && (R.trigger.push("blur"), R.name !== "required" && R.trigger.push("change"));
|
|
10394
10395
|
};
|
|
10395
10396
|
return {
|
|
@@ -10399,17 +10400,17 @@ function ml(t, e, r, n) {
|
|
|
10399
10400
|
slots: z,
|
|
10400
10401
|
originSlots: Y,
|
|
10401
10402
|
computedDefaultValue: L,
|
|
10402
|
-
fieldName:
|
|
10403
|
+
fieldName: H,
|
|
10403
10404
|
hasDefaultValue: F,
|
|
10404
10405
|
optionItems: V,
|
|
10405
|
-
activeOptionItems:
|
|
10406
|
+
activeOptionItems: I,
|
|
10406
10407
|
activeOptionItem: M,
|
|
10407
10408
|
activeOptionItemIndex: U,
|
|
10408
10409
|
filterOptionItems: a0,
|
|
10409
|
-
getCheckedOptionLabels:
|
|
10410
|
-
getCheckedOptionValues:
|
|
10410
|
+
getCheckedOptionLabels: m0,
|
|
10411
|
+
getCheckedOptionValues: r0,
|
|
10411
10412
|
getCheckedOptionItems: d0,
|
|
10412
|
-
getCheckedOptionText:
|
|
10413
|
+
getCheckedOptionText: P0,
|
|
10413
10414
|
// getStaticOptionItems,
|
|
10414
10415
|
//getOptionItems,
|
|
10415
10416
|
setOptionItems: J,
|
|
@@ -10420,25 +10421,25 @@ function ml(t, e, r, n) {
|
|
|
10420
10421
|
hasFieldOptions: o,
|
|
10421
10422
|
getFieldOptions: a,
|
|
10422
10423
|
setFieldOptions: g,
|
|
10423
|
-
rules:
|
|
10424
|
-
buildRules:
|
|
10425
|
-
clearRules:
|
|
10426
|
-
disableChangeRule:
|
|
10427
|
-
disableChangeValidate:
|
|
10428
|
-
enableChangeRule:
|
|
10429
|
-
enableChangeValidate:
|
|
10424
|
+
rules: F0,
|
|
10425
|
+
buildRules: mt,
|
|
10426
|
+
clearRules: wt,
|
|
10427
|
+
disableChangeRule: Tt,
|
|
10428
|
+
disableChangeValidate: St,
|
|
10429
|
+
enableChangeRule: ft,
|
|
10430
|
+
enableChangeValidate: xt,
|
|
10430
10431
|
addCssClass: (R) => {
|
|
10431
|
-
var
|
|
10432
|
-
|
|
10432
|
+
var q = a("customClass");
|
|
10433
|
+
q ? q.push(R) : q = [R], g("customClass", q);
|
|
10433
10434
|
},
|
|
10434
10435
|
removeCssClass: (R) => {
|
|
10435
|
-
var
|
|
10436
|
-
if (!
|
|
10436
|
+
var q = a("customClass");
|
|
10437
|
+
if (!q)
|
|
10437
10438
|
return;
|
|
10438
10439
|
let k = -1;
|
|
10439
|
-
|
|
10440
|
-
|
|
10441
|
-
}), k > -1 && (
|
|
10440
|
+
q.map((W, X) => {
|
|
10441
|
+
W === R && (k = X);
|
|
10442
|
+
}), k > -1 && (q.splice(k, 1), g("customClass", q));
|
|
10442
10443
|
},
|
|
10443
10444
|
singleOption: d,
|
|
10444
10445
|
watchOption: h
|
|
@@ -10446,10 +10447,10 @@ function ml(t, e, r, n) {
|
|
|
10446
10447
|
}
|
|
10447
10448
|
function bl(t, e) {
|
|
10448
10449
|
const { getWidgetOptionByPropValue: r } = ml({ name: t.name, options: t }, e), n = (l, y) => {
|
|
10449
|
-
var A =
|
|
10450
|
+
var A = et(vt(K0(l), y));
|
|
10450
10451
|
if (A)
|
|
10451
10452
|
return dx(A);
|
|
10452
|
-
}, s = (l) => n(t.headers, l), i = (l) => n(t.params, l), o = (l) =>
|
|
10453
|
+
}, s = (l) => n(t.headers, l), i = (l) => n(t.params, l), o = (l) => vt(t.url, l), a = () => ({
|
|
10453
10454
|
timeout: t.timeout,
|
|
10454
10455
|
withCredentials: t.withCredentials,
|
|
10455
10456
|
maxBodyLength: t.maxBodyLength,
|
|
@@ -10479,13 +10480,13 @@ function bl(t, e) {
|
|
|
10479
10480
|
}
|
|
10480
10481
|
);
|
|
10481
10482
|
}, x = (l) => {
|
|
10482
|
-
var y =
|
|
10483
|
-
return
|
|
10483
|
+
var y = vt(t.shouldFetch, l);
|
|
10484
|
+
return qr(t.shouldFetch) || y + "" == "true" || y + "" == "1";
|
|
10484
10485
|
}, d = (l) => {
|
|
10485
10486
|
if (t.data == null || t.data === void 0)
|
|
10486
10487
|
return "";
|
|
10487
|
-
var y =
|
|
10488
|
-
return y ?
|
|
10488
|
+
var y = Nr(t.data);
|
|
10489
|
+
return y ? et(vt(K0(t.data), l)) : vt(t.data + "", l);
|
|
10489
10490
|
}, h = (l) => {
|
|
10490
10491
|
if (!x(l))
|
|
10491
10492
|
return;
|
|
@@ -10501,11 +10502,11 @@ function bl(t, e) {
|
|
|
10501
10502
|
params: _
|
|
10502
10503
|
};
|
|
10503
10504
|
y.request(S).then((T) => {
|
|
10504
|
-
let
|
|
10505
|
+
let H = T;
|
|
10505
10506
|
var w = f(t.didFetch, l, [T]);
|
|
10506
|
-
w.result && (
|
|
10507
|
+
w.result && (H = w.data), A(H);
|
|
10507
10508
|
}).catch((T) => {
|
|
10508
|
-
|
|
10509
|
+
Zt.error("request", T, S), E(T);
|
|
10509
10510
|
});
|
|
10510
10511
|
});
|
|
10511
10512
|
}, v = (l) => !!K.getValue(l), f = (l, y, A) => {
|
|
@@ -10529,7 +10530,7 @@ function Al(t) {
|
|
|
10529
10530
|
var y = K.getEnable(l == null ? void 0 : l[v]), A = K.getEnable(f == null ? void 0 : f[v]);
|
|
10530
10531
|
return !A && y && f && (f[v] = l == null ? void 0 : l[v]), f;
|
|
10531
10532
|
}, s = (v, f) => {
|
|
10532
|
-
let l =
|
|
10533
|
+
let l = Lt(v);
|
|
10533
10534
|
["didFetch", "willFetch", "errorFetch", "fitFetch"].forEach((A) => {
|
|
10534
10535
|
l = n(A, l, e);
|
|
10535
10536
|
});
|
|
@@ -10537,17 +10538,17 @@ function Al(t) {
|
|
|
10537
10538
|
return y(f);
|
|
10538
10539
|
}, i = () => {
|
|
10539
10540
|
let v = {};
|
|
10540
|
-
const f =
|
|
10541
|
-
v = Object.assign(v, { [
|
|
10541
|
+
const f = Gr.decryptFromUrl(window.location.href);
|
|
10542
|
+
v = Object.assign(v, { [zt.urlParams]: f });
|
|
10542
10543
|
const l = t == null ? void 0 : t.globalConfig;
|
|
10543
|
-
return v = Object.assign(v, { [
|
|
10544
|
+
return v = Object.assign(v, { [zt.compParams]: l }), v;
|
|
10544
10545
|
}, o = (v) => {
|
|
10545
10546
|
var y, A;
|
|
10546
10547
|
let f = {};
|
|
10547
10548
|
f = Object.assign(f, { schemaParams: v }), Object.assign(f, i()), f = Object.assign(f, { cookies: li.getAll() });
|
|
10548
10549
|
var l = {};
|
|
10549
10550
|
return (A = (y = r == null ? void 0 : r()) == null ? void 0 : y.filter((E) => E.protocal === rn.VALUE)) == null || A.forEach((E) => {
|
|
10550
|
-
l = Object.assign(l, { [E.name]:
|
|
10551
|
+
l = Object.assign(l, { [E.name]: vt(String(E == null ? void 0 : E.initialData), f) });
|
|
10551
10552
|
}), f = Object.assign(f, { vars: l }), f;
|
|
10552
10553
|
}, a = (v) => {
|
|
10553
10554
|
var f;
|
|
@@ -10560,16 +10561,16 @@ function Al(t) {
|
|
|
10560
10561
|
}, c = (v, f) => {
|
|
10561
10562
|
if (!v)
|
|
10562
10563
|
return;
|
|
10563
|
-
const l = i(), y = l[
|
|
10564
|
-
if (v ==
|
|
10564
|
+
const l = i(), y = l[zt.urlParams], A = l[zt.compParams];
|
|
10565
|
+
if (v == zt.urlParams)
|
|
10565
10566
|
return y;
|
|
10566
|
-
if (v ==
|
|
10567
|
+
if (v == zt.compParams)
|
|
10567
10568
|
return A;
|
|
10568
10569
|
const E = a(v), B = E == null ? void 0 : E.protocal, b = o(f);
|
|
10569
10570
|
let C = null;
|
|
10570
10571
|
switch (B) {
|
|
10571
10572
|
case rn.VALUE:
|
|
10572
|
-
C =
|
|
10573
|
+
C = vt(String(E == null ? void 0 : E.initialData), b), ha(C) && (C = et(C));
|
|
10573
10574
|
break;
|
|
10574
10575
|
case rn.REMOTE:
|
|
10575
10576
|
C = E ? s(E, b) : null;
|
|
@@ -10591,8 +10592,8 @@ function Al(t) {
|
|
|
10591
10592
|
var F;
|
|
10592
10593
|
B++;
|
|
10593
10594
|
var T = Math.round(B / E * 100);
|
|
10594
|
-
const
|
|
10595
|
-
return l == null || l(T, S, C,
|
|
10595
|
+
const H = v[C++], w = (F = a(H)) == null ? void 0 : F.description;
|
|
10596
|
+
return l == null || l(T, S, C, H, w), S;
|
|
10596
10597
|
})
|
|
10597
10598
|
)).then((_) => {
|
|
10598
10599
|
l == null || l(100, _, C, "completedAll", "completedAll"), y(_);
|
|
@@ -10607,7 +10608,7 @@ function Al(t) {
|
|
|
10607
10608
|
d(v, f, l).then((E) => {
|
|
10608
10609
|
var B = {};
|
|
10609
10610
|
E.forEach((b) => {
|
|
10610
|
-
B =
|
|
10611
|
+
B = Bt(B, b, !0);
|
|
10611
10612
|
}), y(B);
|
|
10612
10613
|
});
|
|
10613
10614
|
}),
|
|
@@ -10633,20 +10634,20 @@ const bn = (t) => typeof (t == null ? void 0 : t.value) == "boolean" ? !1 : null
|
|
|
10633
10634
|
var e = t == null ? void 0 : t.instance, r = ((i = (s = e == null ? void 0 : e.exposed) == null ? void 0 : s.getRowScope) == null ? void 0 : i.call(s)) || ((o = e == null ? void 0 : e.provides) == null ? void 0 : o.rowScope);
|
|
10634
10635
|
const n = Object.assign({}, (g = (a = e == null ? void 0 : e.exposed) == null ? void 0 : a.getFormData) == null ? void 0 : g.call(a), t == null ? void 0 : t.formData);
|
|
10635
10636
|
return {
|
|
10636
|
-
[
|
|
10637
|
-
[
|
|
10637
|
+
[E0.sysVar]: {
|
|
10638
|
+
[zt.rowScope]: r
|
|
10638
10639
|
// [dataVar.outerParams]: _outerParams
|
|
10639
10640
|
},
|
|
10640
|
-
[
|
|
10641
|
+
[E0.sysData]: n
|
|
10641
10642
|
};
|
|
10642
10643
|
}, Fl = (t, e, r) => {
|
|
10643
10644
|
const { remoteReadSchemaData: n } = Al(r);
|
|
10644
|
-
var s = fi(t), i = _a(s), o = i.filter((x) => [
|
|
10645
|
+
var s = fi(t), i = _a(s), o = i.filter((x) => [E0.schema.toString()].includes(x.root)), a = o == null ? void 0 : o.map((x) => {
|
|
10645
10646
|
var d, h;
|
|
10646
10647
|
return (h = (d = x == null ? void 0 : x.properties) == null ? void 0 : d[0]) == null ? void 0 : h.toString();
|
|
10647
10648
|
});
|
|
10648
10649
|
let g = null;
|
|
10649
|
-
e && (g =
|
|
10650
|
+
e && (g = et(e));
|
|
10650
10651
|
var c = n(a, g || {});
|
|
10651
10652
|
return c;
|
|
10652
10653
|
}, An = (t, e, r, n) => {
|
|
@@ -10656,36 +10657,36 @@ const bn = (t) => typeof (t == null ? void 0 : t.value) == "boolean" ? !1 : null
|
|
|
10656
10657
|
let s = t;
|
|
10657
10658
|
const { updateFomula: i } = Dn(), { variableWithNameExp: o } = Oa();
|
|
10658
10659
|
if (n) {
|
|
10659
|
-
var a = e == null ? void 0 : e[
|
|
10660
|
-
a && (s = i(s, r || {}, (c, x) =>
|
|
10660
|
+
var a = e == null ? void 0 : e[E0.sysData];
|
|
10661
|
+
a && (s = i(s, r || {}, (c, x) => $t(x) ? null : `${(a == null ? void 0 : a[x]) || ""}`)), (g = Wt(e == null ? void 0 : e[E0.sysVar])) == null || g.forEach((c) => {
|
|
10661
10662
|
var x;
|
|
10662
|
-
a = (x = e == null ? void 0 : e[
|
|
10663
|
+
a = (x = e == null ? void 0 : e[E0.sysVar]) == null ? void 0 : x[c], a && (s = i(s, a, (d, h) => $t(h) ? null : h, o("sysVar." + c)));
|
|
10663
10664
|
});
|
|
10664
10665
|
} else
|
|
10665
|
-
return s = i(s, r || {}, (c, x) => x ? `${
|
|
10666
|
+
return s = i(s, r || {}, (c, x) => x ? `${E0.sysData}.${x}` : (e || (e = {}), e[E0.sysData] || (e[E0.sysData] = {}), e[E0.sysData][c] === void 0 && (e[E0.sysData][c] = null), `${E0.sysData}.${c}`)), s;
|
|
10666
10667
|
return s;
|
|
10667
10668
|
}, Cl = (t, e) => {
|
|
10668
10669
|
if (K.isFormula(t)) {
|
|
10669
|
-
const { transFormula: o } = Dn(), g = Un(e)[
|
|
10670
|
+
const { transFormula: o } = Dn(), g = Un(e)[E0.sysData];
|
|
10670
10671
|
let c = zn(g, e);
|
|
10671
10672
|
var r = f0(t), n = f0(r == null ? void 0 : r.value), s = o(n == null ? void 0 : n.complexValue, c), i = wl(s, g);
|
|
10672
10673
|
return f0(i);
|
|
10673
10674
|
}
|
|
10674
10675
|
}, Ao = (t, e) => {
|
|
10675
10676
|
const r = Un(e);
|
|
10676
|
-
let n = zn(r[
|
|
10677
|
+
let n = zn(r[E0.sysData], e);
|
|
10677
10678
|
var s = An(t == null ? void 0 : t.expr, r, n, !1), i = An(t == null ? void 0 : t.params, r, n, !0);
|
|
10678
10679
|
const o = Fl(s, i, e);
|
|
10679
10680
|
var a = {
|
|
10680
|
-
[
|
|
10681
|
-
[
|
|
10681
|
+
[E0.sysFunc]: Eo,
|
|
10682
|
+
[E0.schema]: o,
|
|
10682
10683
|
...r
|
|
10683
10684
|
};
|
|
10684
|
-
const g = [
|
|
10685
|
+
const g = [E0.schema];
|
|
10685
10686
|
var c = f0(Dl(s, a, g));
|
|
10686
10687
|
return c;
|
|
10687
10688
|
}, Dl = (t, e, r) => {
|
|
10688
|
-
if (
|
|
10689
|
+
if (qr(t))
|
|
10689
10690
|
return;
|
|
10690
10691
|
const { state: n } = ii(async () => {
|
|
10691
10692
|
var l;
|
|
@@ -10698,7 +10699,7 @@ const bn = (t) => typeof (t == null ? void 0 : t.value) == "boolean" ? !1 : null
|
|
|
10698
10699
|
for (var x = 0; x < r.length; x++) {
|
|
10699
10700
|
var d = r == null ? void 0 : r[x], h = e == null ? void 0 : e[d];
|
|
10700
10701
|
if (Cn(h)) {
|
|
10701
|
-
var v = (l =
|
|
10702
|
+
var v = (l = Wt(h)) == null ? void 0 : l.some((y) => ri(h[y]));
|
|
10702
10703
|
if (v) {
|
|
10703
10704
|
var f = await pa(h);
|
|
10704
10705
|
e[d] = f;
|
|
@@ -10710,7 +10711,7 @@ const bn = (t) => typeof (t == null ? void 0 : t.value) == "boolean" ? !1 : null
|
|
|
10710
10711
|
return n;
|
|
10711
10712
|
}, wl = (t, e) => {
|
|
10712
10713
|
const { state: r } = ii(async () => {
|
|
10713
|
-
const n = await import("./expression-
|
|
10714
|
+
const n = await import("./expression-92cadbfb.js").then((i) => i.v);
|
|
10714
10715
|
var s = await (n == null ? void 0 : n.getScriptResult(t, e || {}));
|
|
10715
10716
|
return s;
|
|
10716
10717
|
}, null, { immediate: !0 });
|
|
@@ -10737,7 +10738,7 @@ const bn = (t) => typeof (t == null ? void 0 : t.value) == "boolean" ? !1 : null
|
|
|
10737
10738
|
return !K.isVariable(t) && i === null ? null : f0(Tl(t, r, n));
|
|
10738
10739
|
}, kl = (t, e) => {
|
|
10739
10740
|
const r = Un(e);
|
|
10740
|
-
let n = zn(r[
|
|
10741
|
+
let n = zn(r[E0.sysData], e);
|
|
10741
10742
|
return An(t, r, n, !0);
|
|
10742
10743
|
};
|
|
10743
10744
|
class K {
|
|
@@ -10747,7 +10748,7 @@ class K {
|
|
|
10747
10748
|
j(this, "value", "");
|
|
10748
10749
|
j(this, "variable");
|
|
10749
10750
|
j(this, "options");
|
|
10750
|
-
this.type = e, r !== void 0 && (this.value = r), n !== void 0 && (this.options = n), s !== void 0 && (this.variable = s), i !== void 0 &&
|
|
10751
|
+
this.type = e, r !== void 0 && (this.value = r), n !== void 0 && (this.options = n), s !== void 0 && (this.variable = s), i !== void 0 && Bt(this, i);
|
|
10751
10752
|
}
|
|
10752
10753
|
static get(e, r) {
|
|
10753
10754
|
if (r)
|
|
@@ -10762,7 +10763,7 @@ class K {
|
|
|
10762
10763
|
//!!hasConfig(prop, 'type');
|
|
10763
10764
|
}
|
|
10764
10765
|
static hasComplexValue(e) {
|
|
10765
|
-
return !!
|
|
10766
|
+
return !!pt(e, "value");
|
|
10766
10767
|
}
|
|
10767
10768
|
static isComplexValue(e) {
|
|
10768
10769
|
var r;
|
|
@@ -10803,11 +10804,11 @@ class K {
|
|
|
10803
10804
|
}
|
|
10804
10805
|
static clearSchemaData(e) {
|
|
10805
10806
|
var n;
|
|
10806
|
-
var r =
|
|
10807
|
+
var r = Lt(e);
|
|
10807
10808
|
return this.isComplex(e) ? (n = f0(r)) == null ? void 0 : n.value : r;
|
|
10808
10809
|
}
|
|
10809
10810
|
static setSchemaData(e, r) {
|
|
10810
|
-
var n =
|
|
10811
|
+
var n = Lt(e), s = new Xn(Q.schemaData, r);
|
|
10811
10812
|
return this.isComplex(n) ? n = s : n = new K(Q.prop, s), n;
|
|
10812
10813
|
}
|
|
10813
10814
|
static getSchemaData(e) {
|
|
@@ -10822,7 +10823,7 @@ class K {
|
|
|
10822
10823
|
return this.hasComplexValue(e) && ((r = f0(e == null ? void 0 : e.value)) == null ? void 0 : r.complexType) === Q.formula;
|
|
10823
10824
|
}
|
|
10824
10825
|
static setFormula(e, r) {
|
|
10825
|
-
var n =
|
|
10826
|
+
var n = Lt(e), s = new Xn(Q.formula, r);
|
|
10826
10827
|
return this.isComplex(n) ? n = s : n = new K(Q.prop, s), n;
|
|
10827
10828
|
}
|
|
10828
10829
|
static getFormula(e) {
|
|
@@ -10831,7 +10832,7 @@ class K {
|
|
|
10831
10832
|
}
|
|
10832
10833
|
static getFormulaRelatedField(e) {
|
|
10833
10834
|
const { getFormulaFields: r } = Dn();
|
|
10834
|
-
return r(
|
|
10835
|
+
return r(K0(f0(e)));
|
|
10835
10836
|
}
|
|
10836
10837
|
//#endregion
|
|
10837
10838
|
//#region variable
|
|
@@ -10841,7 +10842,7 @@ class K {
|
|
|
10841
10842
|
}
|
|
10842
10843
|
static clearVariable(e) {
|
|
10843
10844
|
var n;
|
|
10844
|
-
var r =
|
|
10845
|
+
var r = Lt(e);
|
|
10845
10846
|
if (this.isComplex(e)) {
|
|
10846
10847
|
const s = f0(r), i = (n = s.options) == null ? void 0 : n.origin;
|
|
10847
10848
|
return this.isComplex(i) ? (f0(i).value = s == null ? void 0 : s.value, i) : s == null ? void 0 : s.value;
|
|
@@ -10849,10 +10850,10 @@ class K {
|
|
|
10849
10850
|
return r;
|
|
10850
10851
|
}
|
|
10851
10852
|
static setVariable(e, r) {
|
|
10852
|
-
var n =
|
|
10853
|
+
var n = Lt(e);
|
|
10853
10854
|
if (this.isComplex(n)) {
|
|
10854
10855
|
let s = n == null ? void 0 : n.options;
|
|
10855
|
-
return n.type !== Q.variable && (s = Object.assign(s || {}, { origin:
|
|
10856
|
+
return n.type !== Q.variable && (s = Object.assign(s || {}, { origin: Lt(n) })), new K(Q.variable, n == null ? void 0 : n.value, s, r);
|
|
10856
10857
|
} else
|
|
10857
10858
|
return new K(Q.variable, n || null, n == null ? void 0 : n.options, r);
|
|
10858
10859
|
}
|
|
@@ -10883,7 +10884,7 @@ class K {
|
|
|
10883
10884
|
this.set(e, r, n);
|
|
10884
10885
|
else {
|
|
10885
10886
|
let o = n;
|
|
10886
|
-
i === Q.dataObject &&
|
|
10887
|
+
i === Q.dataObject && J0(o) && (o = et(n)), f0(s).value = o;
|
|
10887
10888
|
}
|
|
10888
10889
|
return !0;
|
|
10889
10890
|
}
|
|
@@ -10894,7 +10895,7 @@ class K {
|
|
|
10894
10895
|
if (!this.isComplex(e))
|
|
10895
10896
|
return !1;
|
|
10896
10897
|
var r = this.getOptions(e);
|
|
10897
|
-
return
|
|
10898
|
+
return pt(r, "enable") ? (n = f0(r)) == null ? void 0 : n.enable : !0;
|
|
10898
10899
|
}
|
|
10899
10900
|
static setEnable(e, r, n) {
|
|
10900
10901
|
var s = this.get(e, r);
|
|
@@ -10910,7 +10911,7 @@ class Fo {
|
|
|
10910
10911
|
//用于获取属性列表
|
|
10911
10912
|
static getKeys() {
|
|
10912
10913
|
var e = new this();
|
|
10913
|
-
return
|
|
10914
|
+
return Wt(e);
|
|
10914
10915
|
}
|
|
10915
10916
|
}
|
|
10916
10917
|
class Ol extends Fo {
|
|
@@ -10957,11 +10958,11 @@ class Hl extends Ol {
|
|
|
10957
10958
|
/**
|
|
10958
10959
|
* 组件创建后调用事件
|
|
10959
10960
|
*/
|
|
10960
|
-
j(this, "created", new K(Q.event, void 0, new
|
|
10961
|
+
j(this, "created", new K(Q.event, void 0, new Ft()));
|
|
10961
10962
|
/**
|
|
10962
10963
|
* 组件挂载完成后调用事件
|
|
10963
10964
|
*/
|
|
10964
|
-
j(this, "mounted", new K(Q.event, void 0, new
|
|
10965
|
+
j(this, "mounted", new K(Q.event, void 0, new Ft()));
|
|
10965
10966
|
}
|
|
10966
10967
|
}
|
|
10967
10968
|
class $n extends Hl {
|
|
@@ -11008,44 +11009,44 @@ class o1 extends $n {
|
|
|
11008
11009
|
j(this, "default", new K(Q.slot, null, new Co()));
|
|
11009
11010
|
}
|
|
11010
11011
|
}
|
|
11011
|
-
class
|
|
11012
|
+
class Qr extends Ft {
|
|
11012
11013
|
constructor(r) {
|
|
11013
11014
|
super(r);
|
|
11014
11015
|
j(this, "forceMatch", !0);
|
|
11015
11016
|
j(this, "errorMsg", "");
|
|
11016
|
-
|
|
11017
|
+
Bt(this, r);
|
|
11017
11018
|
}
|
|
11018
11019
|
}
|
|
11019
|
-
class ql extends
|
|
11020
|
+
class ql extends Qr {
|
|
11020
11021
|
constructor(r) {
|
|
11021
11022
|
super(r);
|
|
11022
11023
|
j(this, "expression", "");
|
|
11023
|
-
|
|
11024
|
+
Bt(this, r);
|
|
11024
11025
|
}
|
|
11025
11026
|
}
|
|
11026
|
-
class Nl extends
|
|
11027
|
+
class Nl extends Qr {
|
|
11027
11028
|
constructor(r) {
|
|
11028
11029
|
super(r);
|
|
11029
11030
|
j(this, "func", "");
|
|
11030
|
-
|
|
11031
|
+
Bt(this, r);
|
|
11031
11032
|
}
|
|
11032
11033
|
}
|
|
11033
|
-
class Ll extends
|
|
11034
|
+
class Ll extends Qr {
|
|
11034
11035
|
constructor(r) {
|
|
11035
11036
|
super(r);
|
|
11036
11037
|
j(this, "minValue", null);
|
|
11037
11038
|
j(this, "includeMinValue", !1);
|
|
11038
11039
|
j(this, "maxValue", null);
|
|
11039
11040
|
j(this, "includeMaxValue", !1);
|
|
11040
|
-
|
|
11041
|
+
Bt(this, r);
|
|
11041
11042
|
}
|
|
11042
11043
|
}
|
|
11043
|
-
class Co extends
|
|
11044
|
+
class Co extends Ft {
|
|
11044
11045
|
constructor(r) {
|
|
11045
11046
|
super(r);
|
|
11046
11047
|
j(this, "allowDrag", !1);
|
|
11047
11048
|
j(this, "slotName");
|
|
11048
|
-
|
|
11049
|
+
Bt(this, r);
|
|
11049
11050
|
}
|
|
11050
11051
|
}
|
|
11051
11052
|
class a1 {
|
|
@@ -11067,7 +11068,7 @@ class zl extends $n {
|
|
|
11067
11068
|
/**
|
|
11068
11069
|
* 组件状态
|
|
11069
11070
|
*/
|
|
11070
|
-
j(this, "state", new K(Q.placer,
|
|
11071
|
+
j(this, "state", new K(Q.placer, Jt.custom));
|
|
11071
11072
|
/**
|
|
11072
11073
|
* 是否只读
|
|
11073
11074
|
*/
|
|
@@ -11123,19 +11124,19 @@ class zl extends $n {
|
|
|
11123
11124
|
/**
|
|
11124
11125
|
* 内容改变调用事件
|
|
11125
11126
|
*/
|
|
11126
|
-
j(this, "change", new K(Q.event, void 0, new
|
|
11127
|
+
j(this, "change", new K(Q.event, void 0, new Ft()));
|
|
11127
11128
|
/**
|
|
11128
11129
|
* 获取焦点时调用事件
|
|
11129
11130
|
*/
|
|
11130
|
-
j(this, "focus", new K(Q.event, void 0, new
|
|
11131
|
+
j(this, "focus", new K(Q.event, void 0, new Ft()));
|
|
11131
11132
|
/**
|
|
11132
11133
|
* 失去焦点时调用事件
|
|
11133
11134
|
*/
|
|
11134
|
-
j(this, "blur", new K(Q.event, void 0, new
|
|
11135
|
+
j(this, "blur", new K(Q.event, void 0, new Ft()));
|
|
11135
11136
|
/**
|
|
11136
11137
|
* 点击控件时调用事件
|
|
11137
11138
|
*/
|
|
11138
|
-
j(this, "click", new K(Q.event, void 0, new
|
|
11139
|
+
j(this, "click", new K(Q.event, void 0, new Ft()));
|
|
11139
11140
|
/**
|
|
11140
11141
|
* 输入时是否触发表单的校验
|
|
11141
11142
|
*/
|
|
@@ -11143,7 +11144,7 @@ class zl extends $n {
|
|
|
11143
11144
|
/**
|
|
11144
11145
|
* 是否必填
|
|
11145
11146
|
*/
|
|
11146
|
-
j(this, "required", new K(Q.placer, !0, new
|
|
11147
|
+
j(this, "required", new K(Q.placer, !0, new Qr()));
|
|
11147
11148
|
/**
|
|
11148
11149
|
* 必填校验提示
|
|
11149
11150
|
*/
|
|
@@ -11214,7 +11215,7 @@ class x1 extends $l {
|
|
|
11214
11215
|
j(this, "isopen", !1);
|
|
11215
11216
|
}
|
|
11216
11217
|
}
|
|
11217
|
-
const
|
|
11218
|
+
const we = class {
|
|
11218
11219
|
constructor() {
|
|
11219
11220
|
j(this, "type", Ea.none);
|
|
11220
11221
|
j(this, "icon", "");
|
|
@@ -11233,18 +11234,18 @@ const De = class {
|
|
|
11233
11234
|
return "@widget-" + (e || "") + (r ? "-field" : "");
|
|
11234
11235
|
}
|
|
11235
11236
|
};
|
|
11236
|
-
let
|
|
11237
|
+
let y0 = we;
|
|
11237
11238
|
/**
|
|
11238
11239
|
* 判断是否为容器组件
|
|
11239
11240
|
* @param widget 组件
|
|
11240
11241
|
* @returns 布尔值
|
|
11241
11242
|
*/
|
|
11242
|
-
j(
|
|
11243
|
+
j(y0, "isContainer", (e) => e.category === nn.container), /**
|
|
11243
11244
|
* 获取组件名称释义
|
|
11244
11245
|
* @param type 组件类型
|
|
11245
11246
|
* @returns 字符串
|
|
11246
11247
|
*/
|
|
11247
|
-
j(
|
|
11248
|
+
j(y0, "getWidgetTypeName", (e) => e ? g0.i18n2t(
|
|
11248
11249
|
`designer.widgetLabel.${e}`,
|
|
11249
11250
|
`extension.widgetLabel.${e}`
|
|
11250
11251
|
) : ""), /**
|
|
@@ -11252,35 +11253,35 @@ j(m0, "getWidgetTypeName", (e) => e ? g0.i18n2t(
|
|
|
11252
11253
|
* @param widget 组件
|
|
11253
11254
|
* @returns 字符串
|
|
11254
11255
|
*/
|
|
11255
|
-
j(
|
|
11256
|
+
j(y0, "getWidgetName", (e) => {
|
|
11256
11257
|
var r;
|
|
11257
11258
|
return e.type ? ((r = e.type) == null ? void 0 : r.trim()) + "-widget" : "";
|
|
11258
|
-
}), j(
|
|
11259
|
-
|
|
11259
|
+
}), j(y0, "getName", (e) => we.getOrgOption(e, at.name)), j(y0, "setName", (e, r) => {
|
|
11260
|
+
we.setOptions(e, at.name, r);
|
|
11260
11261
|
}), /**
|
|
11261
11262
|
* 获取属性原始值
|
|
11262
11263
|
* @param widget 组件
|
|
11263
11264
|
* @param keyName 配置属性名称
|
|
11264
11265
|
* @returns 对象。属性内容
|
|
11265
11266
|
*/
|
|
11266
|
-
j(
|
|
11267
|
+
j(y0, "getOrgOption", (e, r) => {
|
|
11267
11268
|
var n;
|
|
11268
11269
|
return (n = e == null ? void 0 : e.options) == null ? void 0 : n[r];
|
|
11269
|
-
}), j(
|
|
11270
|
+
}), j(y0, "setOrgOption", (e, r, n) => {
|
|
11270
11271
|
!e || !e.options || (e.options[r] = n);
|
|
11271
|
-
}), j(
|
|
11272
|
-
var o =
|
|
11272
|
+
}), j(y0, "getOptions", (e, r, n = !1, s = !1, i) => {
|
|
11273
|
+
var o = we.getOrgOption(e, r);
|
|
11273
11274
|
if (n)
|
|
11274
11275
|
return o;
|
|
11275
11276
|
var a = K.getValue(o, !1, s, i);
|
|
11276
11277
|
if (a !== null)
|
|
11277
11278
|
return a;
|
|
11278
|
-
}), j(
|
|
11279
|
+
}), j(y0, "setOptions", (e, r, n) => {
|
|
11279
11280
|
K.setValue(e == null ? void 0 : e.options, r, n);
|
|
11280
|
-
}), j(
|
|
11281
|
+
}), j(y0, "setEnable", (e, r, n) => {
|
|
11281
11282
|
K.setEnable(e == null ? void 0 : e.options, r, n);
|
|
11282
11283
|
});
|
|
11283
|
-
class Fn extends
|
|
11284
|
+
class Fn extends y0 {
|
|
11284
11285
|
constructor() {
|
|
11285
11286
|
super();
|
|
11286
11287
|
j(this, "dynamicItemFlag", !1);
|
|
@@ -11292,7 +11293,7 @@ class Fn extends m0 {
|
|
|
11292
11293
|
}
|
|
11293
11294
|
class f1 extends Fn {
|
|
11294
11295
|
constructor(e, r, n = !1, s) {
|
|
11295
|
-
super(), s != null && s.autoWidth &&
|
|
11296
|
+
super(), s != null && s.autoWidth && pt(r, at.ctrlWidth) && (r.ctrlWidth = new K(Q.placer, ma.auto)), s != null && s.inlineLayout && pt(r, at.displayLayout) && (r.displayLayout = new K(Q.placer, si.inline)), $t(s == null ? void 0 : s.dynamicItemFlag) || (this.dynamicItemFlag = s == null ? void 0 : s.dynamicItemFlag), this.formItemFlag = n, this.type = e, this.options = r, Object.entries(r).map(([i, o]) => {
|
|
11296
11297
|
var a;
|
|
11297
11298
|
K.getType(o) === Q.slot && ((a = K.getOptions(o)) != null && a.allowDrag) && (o.widgetList = []);
|
|
11298
11299
|
}), this.init(n);
|
|
@@ -11301,15 +11302,15 @@ class f1 extends Fn {
|
|
|
11301
11302
|
export {
|
|
11302
11303
|
s1 as $,
|
|
11303
11304
|
za as A,
|
|
11304
|
-
|
|
11305
|
+
y0 as B,
|
|
11305
11306
|
mo as C,
|
|
11306
11307
|
Jl as D,
|
|
11307
11308
|
e1 as E,
|
|
11308
|
-
|
|
11309
|
+
be as F,
|
|
11309
11310
|
r1 as G,
|
|
11310
11311
|
xe as H,
|
|
11311
11312
|
$n as I,
|
|
11312
|
-
|
|
11313
|
+
Dt as J,
|
|
11313
11314
|
K as P,
|
|
11314
11315
|
f1 as S,
|
|
11315
11316
|
x1 as T,
|
|
@@ -11320,7 +11321,7 @@ export {
|
|
|
11320
11321
|
Pa as e,
|
|
11321
11322
|
Af as f,
|
|
11322
11323
|
Bl as g,
|
|
11323
|
-
|
|
11324
|
+
Ft as h,
|
|
11324
11325
|
c1 as i,
|
|
11325
11326
|
a1 as j,
|
|
11326
11327
|
zl as k,
|