test-stpr-ui-kit 0.4.43 → 0.4.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/test-stpr-ui-kit.css +1 -1
- package/dist/test-stpr-ui-kit.es.d.ts +12 -0
- package/dist/test-stpr-ui-kit.js +1284 -1268
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import $e, { useState as
|
|
4
|
-
import
|
|
1
|
+
import { jsxs as H, jsx as d, Fragment as co } from "react/jsx-runtime";
|
|
2
|
+
import * as S from "react";
|
|
3
|
+
import $e, { useState as le, useEffect as re, useRef as fe, useCallback as _e, forwardRef as Bo, useImperativeHandle as Wo, Fragment as Mo, useMemo as Fe, useReducer as $o, createContext as uo, useContext as qo } from "react";
|
|
4
|
+
import Uo from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function mo(e) {
|
|
6
6
|
var t, o, n = "";
|
|
7
7
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
@@ -11,58 +11,58 @@ import './test-stpr-ui-kit.css';function mo(e) {
|
|
|
11
11
|
} else for (o in e) e[o] && (n && (n += " "), n += o);
|
|
12
12
|
return n;
|
|
13
13
|
}
|
|
14
|
-
function
|
|
14
|
+
function f() {
|
|
15
15
|
for (var e, t, o = 0, n = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (t = mo(e)) && (n && (n += " "), n += t);
|
|
16
16
|
return n;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const Ho = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), Vo = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), Yo = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 21 22", fill: "none", ...e }, /* @__PURE__ */ S.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(0.680234 -0.732995 -0.680234 -0.732995 3 18)", stroke: "currentColor", strokeWidth: 2 }), /* @__PURE__ */ S.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18 18)", stroke: "currentColor", strokeWidth: 2 })), Go = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M20 9H11C9.89543 9 9 9.89543 9 11V20C9 21.1046 9.89543 22 11 22H20C21.1046 22 22 21.1046 22 20V11C22 9.89543 21.1046 9 20 9Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Ko = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 18 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ S.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ S.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), Xo = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M8 4.61111V8.5H11.8889M8 15.5C4.13401 15.5 1 12.366 1 8.5C1 4.63401 4.13401 1.5 8 1.5C11.866 1.5 15 4.63401 15 8.5C15 12.366 11.866 15.5 8 15.5Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Zo = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Qo = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Jo = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), en = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 16 16", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M8 14.4C4.472 14.4 1.6 11.528 1.6 8C1.6 4.472 4.472 1.6 8 1.6C11.528 1.6 14.4 4.472 14.4 8C14.4 11.528 11.528 14.4 8 14.4ZM8 0C6.94943 0 5.90914 0.206926 4.93853 0.608964C3.96793 1.011 3.08601 1.60028 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.08601 14.3997 3.96793 14.989 4.93853 15.391C5.90914 15.7931 6.94943 16 8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 6.94943 15.7931 5.90914 15.391 4.93853C14.989 3.96793 14.3997 3.08601 13.6569 2.34315C12.914 1.60028 12.0321 1.011 11.0615 0.608964C10.0909 0.206926 9.05058 0 8 0ZM8.8 4H7.2V7.2H4V8.8H7.2V12H8.8V8.8H12V7.2H8.8V4Z", fill: "currentColor" })), tn = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), on = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), nn = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 17 17", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M4.88889 10.6667L7.05556 8.5L4.88889 6.33333M9.22222 10.6667H12.1111M5.46667 15H11.5333C12.7468 15 13.3535 15 13.817 14.7638C14.2247 14.5561 14.5561 14.2247 14.7638 13.817C15 13.3535 15 12.7468 15 11.5333V5.46667C15 4.25322 15 3.6465 14.7638 3.18302C14.5561 2.77534 14.2247 2.44388 13.817 2.23615C13.3535 2 12.7468 2 11.5333 2H5.46667C4.25322 2 3.6465 2 3.18302 2.23615C2.77534 2.44388 2.44388 2.77534 2.23615 3.18302C2 3.6465 2 4.25322 2 5.46667V11.5333C2 12.7468 2 13.3535 2.23615 13.817C2.44388 14.2247 2.77534 14.5561 3.18302 14.7638C3.6465 15 4.25322 15 5.46667 15Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), an = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), rn = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "-2 -2 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M2 10V17C2 17.5304 2.21071 18.0391 2.58579 18.4142C2.96086 18.7893 3.46957 19 4 19H16C16.5304 19 17.0391 18.7893 17.4142 18.4142C17.7893 18.0391 18 17.5304 18 17V10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ S.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), sn = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ S.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ S.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ S.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ S.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" })), he = (e) => {
|
|
19
19
|
const { name: t, rotate: o, ...n } = e, a = {
|
|
20
20
|
...n.style,
|
|
21
21
|
flexShrink: 0,
|
|
22
22
|
transform: o ? `rotate(${o}deg)` : ""
|
|
23
23
|
}, i = {
|
|
24
|
-
chevronDown:
|
|
25
|
-
info:
|
|
26
|
-
plus:
|
|
27
|
-
minus:
|
|
28
|
-
selectChevronDown:
|
|
29
|
-
upload:
|
|
30
|
-
trash:
|
|
31
|
-
check:
|
|
32
|
-
copy:
|
|
33
|
-
close:
|
|
34
|
-
plusSquare:
|
|
35
|
-
warningColor:
|
|
36
|
-
dots:
|
|
37
|
-
historyClock:
|
|
38
|
-
plusCircle:
|
|
39
|
-
terminalSquare:
|
|
24
|
+
chevronDown: Vo,
|
|
25
|
+
info: Zo,
|
|
26
|
+
plus: Jo,
|
|
27
|
+
minus: Qo,
|
|
28
|
+
selectChevronDown: on,
|
|
29
|
+
upload: rn,
|
|
30
|
+
trash: an,
|
|
31
|
+
check: Ho,
|
|
32
|
+
copy: Go,
|
|
33
|
+
close: Yo,
|
|
34
|
+
plusSquare: tn,
|
|
35
|
+
warningColor: sn,
|
|
36
|
+
dots: Ko,
|
|
37
|
+
historyClock: Xo,
|
|
38
|
+
plusCircle: en,
|
|
39
|
+
terminalSquare: nn
|
|
40
40
|
};
|
|
41
41
|
return $e.createElement(i[t], {
|
|
42
42
|
...n,
|
|
43
43
|
style: a
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
|
-
var
|
|
47
|
-
const
|
|
48
|
-
spAccordion:
|
|
49
|
-
spAccordion_noBorder:
|
|
50
|
-
spAccordion_noPadding:
|
|
51
|
-
spAccordion_open:
|
|
52
|
-
spAccordion__header:
|
|
53
|
-
spAccordion_noOpen:
|
|
54
|
-
spAccordion__name:
|
|
46
|
+
var ue = /* @__PURE__ */ ((e) => (e.ChevronDown = "chevronDown", e.Info = "info", e.Plus = "plus", e.SelectChevronDown = "selectChevronDown", e.Upload = "upload", e.Trash = "trash", e.Check = "check", e.Copy = "copy", e.Close = "close", e.PlusSquare = "plusSquare", e.PlusCircle = "plusCircle", e.WarningColor = "warningColor", e.Dots = "dots", e.HistoryClock = "historyClock", e.Minus = "minus", e.TerminalSquare = "terminalSquare", e))(ue || {});
|
|
47
|
+
const pn = "_spAccordion_11ek7_43", ln = "_spAccordion_noBorder_11ek7_57", cn = "_spAccordion_noPadding_11ek7_60", dn = "_spAccordion_open_11ek7_63", un = "_spAccordion__header_11ek7_66", mn = "_spAccordion_noOpen_11ek7_74", _n = "_spAccordion__name_11ek7_96", fn = "_spAccordion__name_hiddenExpand_11ek7_107", vn = "_spAccordion__icon_11ek7_122", xn = "_spAccordion__icon_hidden_11ek7_128", gn = "_spAccordion__icon_open_11ek7_131", hn = "_spAccordion__childrenWrapper_11ek7_138", bn = "_spAccordion__childrenWrapper_open_11ek7_147", yn = "_spAccordion__content_11ek7_150", wn = "_spAccordion__content_open_11ek7_156", ce = {
|
|
48
|
+
spAccordion: pn,
|
|
49
|
+
spAccordion_noBorder: ln,
|
|
50
|
+
spAccordion_noPadding: cn,
|
|
51
|
+
spAccordion_open: dn,
|
|
52
|
+
spAccordion__header: un,
|
|
53
|
+
spAccordion_noOpen: mn,
|
|
54
|
+
spAccordion__name: _n,
|
|
55
55
|
spAccordion__name_hiddenExpand: fn,
|
|
56
56
|
"spAccordion__name--level-1": "_spAccordion__name--level-1_11ek7_111",
|
|
57
57
|
"spAccordion__name--level-2": "_spAccordion__name--level-2_11ek7_114",
|
|
58
|
-
spAccordion__icon:
|
|
59
|
-
spAccordion__icon_hidden:
|
|
60
|
-
spAccordion__icon_open:
|
|
61
|
-
spAccordion__childrenWrapper:
|
|
62
|
-
spAccordion__childrenWrapper_open:
|
|
63
|
-
spAccordion__content:
|
|
64
|
-
spAccordion__content_open:
|
|
65
|
-
},
|
|
58
|
+
spAccordion__icon: vn,
|
|
59
|
+
spAccordion__icon_hidden: xn,
|
|
60
|
+
spAccordion__icon_open: gn,
|
|
61
|
+
spAccordion__childrenWrapper: hn,
|
|
62
|
+
spAccordion__childrenWrapper_open: bn,
|
|
63
|
+
spAccordion__content: yn,
|
|
64
|
+
spAccordion__content_open: wn
|
|
65
|
+
}, Hs = (e) => {
|
|
66
66
|
const {
|
|
67
67
|
name: t,
|
|
68
68
|
children: o,
|
|
@@ -71,82 +71,82 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
71
71
|
onOpen: i,
|
|
72
72
|
noBorder: r = !1,
|
|
73
73
|
noPadding: s = !1,
|
|
74
|
-
level:
|
|
74
|
+
level: u = 1,
|
|
75
75
|
classNameRoot: p,
|
|
76
|
-
classNameHeader:
|
|
76
|
+
classNameHeader: m,
|
|
77
77
|
classNameTitle: l,
|
|
78
|
-
classNameIcon:
|
|
78
|
+
classNameIcon: v,
|
|
79
79
|
classNameChildrenWrapper: y
|
|
80
|
-
} = e, [
|
|
81
|
-
a || (
|
|
82
|
-
},
|
|
83
|
-
[
|
|
84
|
-
[
|
|
85
|
-
[
|
|
86
|
-
[
|
|
87
|
-
[
|
|
80
|
+
} = e, [C, w] = le(n), N = () => {
|
|
81
|
+
a || (w(!C), i == null || i(!C));
|
|
82
|
+
}, E = f({
|
|
83
|
+
[ce.spAccordion]: !0,
|
|
84
|
+
[ce.spAccordion_open]: C,
|
|
85
|
+
[ce.spAccordion_noOpen]: !C,
|
|
86
|
+
[ce.spAccordion_noBorder]: r,
|
|
87
|
+
[ce.spAccordion_noPadding]: s,
|
|
88
88
|
...p && { [p]: !0 }
|
|
89
|
-
}),
|
|
90
|
-
[
|
|
91
|
-
...
|
|
92
|
-
}),
|
|
93
|
-
[
|
|
94
|
-
[
|
|
95
|
-
[
|
|
89
|
+
}), M = f({
|
|
90
|
+
[ce.spAccordion__header]: !0,
|
|
91
|
+
...m && { [m]: !0 }
|
|
92
|
+
}), j = f({
|
|
93
|
+
[ce.spAccordion__name]: !0,
|
|
94
|
+
[ce[`spAccordion__name--level-${u}`]]: u,
|
|
95
|
+
[ce.spAccordion__name_hiddenExpand]: a,
|
|
96
96
|
...l && { [l]: !0 }
|
|
97
|
-
}),
|
|
98
|
-
[
|
|
99
|
-
[
|
|
100
|
-
[
|
|
101
|
-
...
|
|
102
|
-
}),
|
|
103
|
-
[
|
|
104
|
-
[
|
|
97
|
+
}), b = f({
|
|
98
|
+
[ce.spAccordion__icon]: !0,
|
|
99
|
+
[ce.spAccordion__icon_open]: C,
|
|
100
|
+
[ce.spAccordion__icon_hidden]: a,
|
|
101
|
+
...v && { [v]: !0 }
|
|
102
|
+
}), c = f({
|
|
103
|
+
[ce.spAccordion__childrenWrapper]: !0,
|
|
104
|
+
[ce.spAccordion__childrenWrapper_open]: C,
|
|
105
105
|
...y && { [y]: !0 }
|
|
106
|
-
}),
|
|
107
|
-
[
|
|
108
|
-
[
|
|
106
|
+
}), R = f({
|
|
107
|
+
[ce.spAccordion__content]: !0,
|
|
108
|
+
[ce.spAccordion__content_open]: C
|
|
109
109
|
});
|
|
110
|
-
return /* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */
|
|
112
|
-
/* @__PURE__ */
|
|
113
|
-
/* @__PURE__ */
|
|
110
|
+
return /* @__PURE__ */ H("div", { className: E, children: [
|
|
111
|
+
/* @__PURE__ */ H("div", { className: M, children: [
|
|
112
|
+
/* @__PURE__ */ d("div", { className: j, children: /* @__PURE__ */ d("span", { onClick: N, children: t }) }),
|
|
113
|
+
/* @__PURE__ */ d(he, { onClick: N, className: b, name: ue.ChevronDown })
|
|
114
114
|
] }),
|
|
115
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ d("div", { className: c, children: /* @__PURE__ */ d("div", { className: R, children: o }) })
|
|
116
116
|
] });
|
|
117
|
-
},
|
|
118
|
-
spinner:
|
|
119
|
-
spinner__inner:
|
|
120
|
-
"spinner-rotate": "_spinner-
|
|
121
|
-
"spinner--sm": "_spinner--
|
|
122
|
-
"spinner--md": "_spinner--
|
|
123
|
-
"spinner--lg": "_spinner--
|
|
124
|
-
"spinner--xl": "_spinner--
|
|
125
|
-
},
|
|
117
|
+
}, kn = "_spinner_18qva_43", Cn = "_spinner__inner_18qva_54", lt = {
|
|
118
|
+
spinner: kn,
|
|
119
|
+
spinner__inner: Cn,
|
|
120
|
+
"spinner-rotate": "_spinner-rotate_18qva_1",
|
|
121
|
+
"spinner--sm": "_spinner--sm_18qva_67",
|
|
122
|
+
"spinner--md": "_spinner--md_18qva_71",
|
|
123
|
+
"spinner--lg": "_spinner--lg_18qva_74",
|
|
124
|
+
"spinner--xl": "_spinner--xl_18qva_78"
|
|
125
|
+
}, _o = (e) => {
|
|
126
126
|
const { size: t = "md", color: o = "#036bfd", classNameRoot: n } = e;
|
|
127
|
-
return /* @__PURE__ */
|
|
127
|
+
return /* @__PURE__ */ d(
|
|
128
128
|
"div",
|
|
129
129
|
{
|
|
130
|
-
className:
|
|
130
|
+
className: f(lt.spinner, lt[`spinner--${t}`], n),
|
|
131
131
|
"aria-label": "Loading",
|
|
132
132
|
role: "status",
|
|
133
133
|
style: { color: o },
|
|
134
|
-
children: /* @__PURE__ */
|
|
134
|
+
children: /* @__PURE__ */ d("div", { className: lt.spinner__inner })
|
|
135
135
|
}
|
|
136
136
|
);
|
|
137
|
-
}, Tn = "_spButton_zixup_43",
|
|
137
|
+
}, Tn = "_spButton_zixup_43", Nn = "_spButton_noPadding_zixup_59", En = "_spButton_onlyIcon_zixup_62", Sn = "_spButton__iconContainer_zixup_70", Rn = "_spButton_link_zixup_73", An = "_spButton__text_zixup_77", jn = "_spButton_primary_zixup_89", Dn = "_spButton_blue_zixup_89", In = "_spButton_white_zixup_99", Ln = "_spButton_secondary_zixup_109", Fn = "_spButton_fullWidth_zixup_129", On = "_spButton_disabled_zixup_132", zn = "_spButton__spinner_zixup_141", we = {
|
|
138
138
|
spButton: Tn,
|
|
139
|
-
spButton_noPadding:
|
|
140
|
-
spButton_onlyIcon:
|
|
139
|
+
spButton_noPadding: Nn,
|
|
140
|
+
spButton_onlyIcon: En,
|
|
141
141
|
spButton__iconContainer: Sn,
|
|
142
|
-
spButton_link:
|
|
143
|
-
spButton__text:
|
|
142
|
+
spButton_link: Rn,
|
|
143
|
+
spButton__text: An,
|
|
144
144
|
spButton_primary: jn,
|
|
145
145
|
spButton_blue: Dn,
|
|
146
146
|
spButton_white: In,
|
|
147
147
|
spButton_secondary: Ln,
|
|
148
|
-
spButton_fullWidth:
|
|
149
|
-
spButton_disabled:
|
|
148
|
+
spButton_fullWidth: Fn,
|
|
149
|
+
spButton_disabled: On,
|
|
150
150
|
spButton__spinner: zn
|
|
151
151
|
}, wt = (e) => {
|
|
152
152
|
const {
|
|
@@ -157,49 +157,49 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
157
157
|
iconName: i,
|
|
158
158
|
iconRotate: r = 0,
|
|
159
159
|
disabled: s = !1,
|
|
160
|
-
type:
|
|
160
|
+
type: u = "button",
|
|
161
161
|
form: p,
|
|
162
|
-
children:
|
|
162
|
+
children: m,
|
|
163
163
|
loading: l = !1,
|
|
164
|
-
isFullWidth:
|
|
164
|
+
isFullWidth: v = !1,
|
|
165
165
|
isOnlyIcon: y = !1,
|
|
166
|
-
noPadding:
|
|
167
|
-
classNameRoot:
|
|
168
|
-
classNameIconContainerRoot:
|
|
169
|
-
} = e,
|
|
170
|
-
s || a == null || a(
|
|
171
|
-
},
|
|
172
|
-
const
|
|
166
|
+
noPadding: C = !1,
|
|
167
|
+
classNameRoot: w,
|
|
168
|
+
classNameIconContainerRoot: N
|
|
169
|
+
} = e, E = (b) => {
|
|
170
|
+
s || a == null || a(b);
|
|
171
|
+
}, M = () => {
|
|
172
|
+
const b = f({
|
|
173
173
|
[we.spButton__text]: !0
|
|
174
|
-
}),
|
|
174
|
+
}), c = f({
|
|
175
175
|
[we.spButton__iconContainer]: !0,
|
|
176
|
-
...
|
|
176
|
+
...N && { [N]: !0 }
|
|
177
177
|
});
|
|
178
|
-
return /* @__PURE__ */
|
|
179
|
-
(i || l) && /* @__PURE__ */
|
|
180
|
-
!y &&
|
|
178
|
+
return /* @__PURE__ */ H(co, { children: [
|
|
179
|
+
(i || l) && /* @__PURE__ */ d("div", { className: c, children: l ? /* @__PURE__ */ d(_o, { classNameRoot: we.spButton__spinner }) : i && /* @__PURE__ */ d(he, { name: i, rotate: r }) }),
|
|
180
|
+
!y && m && /* @__PURE__ */ d("div", { className: b, children: m })
|
|
181
181
|
] });
|
|
182
|
-
},
|
|
182
|
+
}, j = f({
|
|
183
183
|
[we.spButton]: !0,
|
|
184
|
-
[we.spButton_noPadding]:
|
|
184
|
+
[we.spButton_noPadding]: C,
|
|
185
185
|
[we.spButton_onlyIcon]: y,
|
|
186
186
|
[we[`spButton_${o}`]]: o,
|
|
187
187
|
[we[`spButton_${t}`]]: t,
|
|
188
|
-
[we.spButton_fullWidth]:
|
|
188
|
+
[we.spButton_fullWidth]: v,
|
|
189
189
|
[we.spButton_disabled]: s,
|
|
190
190
|
[we.spButton_loading]: l,
|
|
191
|
-
...
|
|
191
|
+
...w && { [w]: !0 }
|
|
192
192
|
});
|
|
193
|
-
return /* @__PURE__ */
|
|
193
|
+
return /* @__PURE__ */ d(
|
|
194
194
|
"button",
|
|
195
195
|
{
|
|
196
196
|
style: n,
|
|
197
|
-
className:
|
|
198
|
-
onClick:
|
|
197
|
+
className: j,
|
|
198
|
+
onClick: E,
|
|
199
199
|
disabled: s,
|
|
200
|
-
type:
|
|
200
|
+
type: u,
|
|
201
201
|
form: p,
|
|
202
|
-
children:
|
|
202
|
+
children: M()
|
|
203
203
|
}
|
|
204
204
|
);
|
|
205
205
|
}, Pn = "_spApplyButtons_e8c1h_43", Bn = "_spApplyButtons__cancel_e8c1h_65", Wn = "_spApplyButtons__submit_e8c1h_68", Be = {
|
|
@@ -219,41 +219,41 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
219
219
|
cancelBtnDisabled: i,
|
|
220
220
|
submitBtnContent: r,
|
|
221
221
|
formId: s,
|
|
222
|
-
disabled:
|
|
222
|
+
disabled: u,
|
|
223
223
|
onClose: p,
|
|
224
|
-
submit:
|
|
224
|
+
submit: m,
|
|
225
225
|
loading: l
|
|
226
|
-
} = e,
|
|
226
|
+
} = e, v = f({
|
|
227
227
|
[Be.spApplyButtons]: !0,
|
|
228
228
|
[Be[`spApplyButtons_mobile-${t}`]]: t,
|
|
229
229
|
[Be[`spApplyButtons_align-${o}`]]: o
|
|
230
|
-
}), y =
|
|
230
|
+
}), y = f({
|
|
231
231
|
[Be.spApplyButtons__submit]: !0
|
|
232
|
-
}),
|
|
232
|
+
}), C = f({
|
|
233
233
|
[Be.spApplyButtons__cancel]: !0
|
|
234
234
|
});
|
|
235
|
-
return /* @__PURE__ */
|
|
236
|
-
n && p && /* @__PURE__ */
|
|
235
|
+
return /* @__PURE__ */ H("div", { className: v, children: [
|
|
236
|
+
n && p && /* @__PURE__ */ d(
|
|
237
237
|
wt,
|
|
238
238
|
{
|
|
239
239
|
type: "button",
|
|
240
240
|
variant: "secondary",
|
|
241
241
|
iconName: a,
|
|
242
|
-
classNameRoot:
|
|
242
|
+
classNameRoot: C,
|
|
243
243
|
disabled: i,
|
|
244
244
|
onClick: p,
|
|
245
245
|
children: n
|
|
246
246
|
}
|
|
247
247
|
),
|
|
248
|
-
r && /* @__PURE__ */
|
|
248
|
+
r && /* @__PURE__ */ d(
|
|
249
249
|
wt,
|
|
250
250
|
{
|
|
251
251
|
type: "submit",
|
|
252
252
|
variant: "primary",
|
|
253
253
|
classNameRoot: y,
|
|
254
254
|
form: s || void 0,
|
|
255
|
-
disabled:
|
|
256
|
-
onClick:
|
|
255
|
+
disabled: u,
|
|
256
|
+
onClick: m,
|
|
257
257
|
loading: l,
|
|
258
258
|
children: r
|
|
259
259
|
}
|
|
@@ -270,19 +270,19 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
270
270
|
style: a,
|
|
271
271
|
classNameRoot: i,
|
|
272
272
|
classNameContentRoot: r
|
|
273
|
-
} = e, s =
|
|
273
|
+
} = e, s = f({
|
|
274
274
|
[ct.spBaseTooltip]: !0,
|
|
275
275
|
[ct.spBaseTooltip_noPadding]: n,
|
|
276
276
|
...i && { [i]: !0 }
|
|
277
|
-
}),
|
|
277
|
+
}), u = f({
|
|
278
278
|
[ct.spBaseTooltip__content]: !0,
|
|
279
279
|
...r && { [r]: !0 }
|
|
280
280
|
});
|
|
281
|
-
return /* @__PURE__ */
|
|
281
|
+
return /* @__PURE__ */ d("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ d("div", { className: u, children: o }) });
|
|
282
282
|
});
|
|
283
283
|
fo.displayName = "BaseTooltip";
|
|
284
|
-
function
|
|
285
|
-
|
|
284
|
+
function vo(e, t, o = !0) {
|
|
285
|
+
re(() => {
|
|
286
286
|
if (!o) return;
|
|
287
287
|
const n = (a) => {
|
|
288
288
|
e.every((r) => r.current && !r.current.contains(a.target)) && t(a);
|
|
@@ -292,9 +292,9 @@ function _o(e, t, o = !0) {
|
|
|
292
292
|
};
|
|
293
293
|
}, [e, t, o]);
|
|
294
294
|
}
|
|
295
|
-
const
|
|
296
|
-
const [n, a] =
|
|
297
|
-
return
|
|
295
|
+
const xo = ({ children: e, node: t, classNameRoot: o }) => {
|
|
296
|
+
const [n, a] = le(null);
|
|
297
|
+
return re(() => {
|
|
298
298
|
if (t) {
|
|
299
299
|
a(t);
|
|
300
300
|
return;
|
|
@@ -303,13 +303,13 @@ const vo = ({ children: e, node: t, classNameRoot: o }) => {
|
|
|
303
303
|
return o && (i.className = o), document.body.appendChild(i), a(i), () => {
|
|
304
304
|
t || document.body.removeChild(i);
|
|
305
305
|
};
|
|
306
|
-
}, [t, o]), n ?
|
|
306
|
+
}, [t, o]), n ? Uo.createPortal(e, n) : null;
|
|
307
307
|
}, Hn = "_spTooltip_9ogwj_43", Vn = "_spTooltip__trigger_9ogwj_46", Lt = {
|
|
308
308
|
spTooltip: Hn,
|
|
309
309
|
spTooltip__trigger: Vn
|
|
310
310
|
};
|
|
311
|
-
var
|
|
312
|
-
const
|
|
311
|
+
var de = /* @__PURE__ */ ((e) => (e.Top = "top", e.TopLeft = "top-left", e.TopRight = "top-right", e.Bottom = "bottom", e.BottomLeft = "bottom-left", e.BottomRight = "bottom-right", e.Left = "left", e.LeftTop = "left-top", e.LeftBottom = "left-bottom", e.Right = "right", e.RightTop = "right-top", e.RightBottom = "right-bottom", e))(de || {});
|
|
312
|
+
const Rt = (e) => {
|
|
313
313
|
const {
|
|
314
314
|
hover: t = !0,
|
|
315
315
|
isToggleClick: o = !1,
|
|
@@ -318,123 +318,123 @@ const At = (e) => {
|
|
|
318
318
|
trigger: i,
|
|
319
319
|
triggerAction: r,
|
|
320
320
|
actionOnClose: s,
|
|
321
|
-
classNameTriggerTooltip:
|
|
322
|
-
position: p =
|
|
323
|
-
text:
|
|
321
|
+
classNameTriggerTooltip: u,
|
|
322
|
+
position: p = de.BottomLeft,
|
|
323
|
+
text: m,
|
|
324
324
|
noPadding: l,
|
|
325
|
-
classNameTooltip:
|
|
325
|
+
classNameTooltip: v,
|
|
326
326
|
classNameBaseTooltipRoot: y,
|
|
327
|
-
classNameBaseTooltipContentRoot:
|
|
328
|
-
} = e, [
|
|
329
|
-
|
|
330
|
-
[
|
|
327
|
+
classNameBaseTooltipContentRoot: C
|
|
328
|
+
} = e, [w, N] = le(!1), E = fe(null), M = fe(null), [j, b] = le(!1);
|
|
329
|
+
vo(
|
|
330
|
+
[E, M],
|
|
331
331
|
() => {
|
|
332
|
-
s && s(),
|
|
332
|
+
s && s(), N(!1);
|
|
333
333
|
},
|
|
334
|
-
|
|
334
|
+
w
|
|
335
335
|
);
|
|
336
|
-
const
|
|
337
|
-
n &&
|
|
338
|
-
}, [
|
|
336
|
+
const c = (k) => {
|
|
337
|
+
n && k.stopPropagation(), !t && (w ? s && s() : r && r(), N(($) => o ? !$ : !0));
|
|
338
|
+
}, [R, P] = le({
|
|
339
339
|
visibility: "hidden",
|
|
340
340
|
opacity: 0,
|
|
341
341
|
left: "-9999px"
|
|
342
|
-
}), [
|
|
343
|
-
if (!
|
|
344
|
-
const
|
|
345
|
-
let
|
|
342
|
+
}), [L, Q] = le(!1), te = _e(() => {
|
|
343
|
+
if (!E.current || !M.current) return;
|
|
344
|
+
const k = E.current.getBoundingClientRect(), $ = M.current.getBoundingClientRect();
|
|
345
|
+
let X = 0, B = 0;
|
|
346
346
|
switch (p) {
|
|
347
|
-
case
|
|
348
|
-
|
|
347
|
+
case de.Right:
|
|
348
|
+
X = k.top + window.scrollY - ($.height - k.height) / 2, B = k.right + window.scrollX;
|
|
349
349
|
break;
|
|
350
|
-
case
|
|
351
|
-
|
|
350
|
+
case de.RightTop:
|
|
351
|
+
X = k.top + window.scrollY, B = k.right + window.scrollX;
|
|
352
352
|
break;
|
|
353
|
-
case
|
|
354
|
-
|
|
353
|
+
case de.RightBottom:
|
|
354
|
+
X = k.bottom + window.scrollY - $.height, B = k.right + window.scrollX;
|
|
355
355
|
break;
|
|
356
|
-
case
|
|
357
|
-
|
|
356
|
+
case de.Left:
|
|
357
|
+
X = k.top + window.scrollY - ($.height - k.height) / 2, B = k.left + window.scrollX - $.width;
|
|
358
358
|
break;
|
|
359
|
-
case
|
|
360
|
-
|
|
359
|
+
case de.LeftTop:
|
|
360
|
+
X = k.top + window.scrollY, B = k.left + window.scrollX - $.width;
|
|
361
361
|
break;
|
|
362
|
-
case
|
|
363
|
-
|
|
362
|
+
case de.LeftBottom:
|
|
363
|
+
X = k.bottom + window.scrollY - $.height, B = k.left + window.scrollX - $.width;
|
|
364
364
|
break;
|
|
365
|
-
case
|
|
366
|
-
|
|
365
|
+
case de.Bottom:
|
|
366
|
+
X = k.bottom + window.scrollY, B = k.left + window.scrollX - ($.width - k.width) / 2;
|
|
367
367
|
break;
|
|
368
|
-
case
|
|
369
|
-
|
|
368
|
+
case de.BottomLeft:
|
|
369
|
+
X = k.bottom + window.scrollY, B = k.left + window.scrollX;
|
|
370
370
|
break;
|
|
371
|
-
case
|
|
372
|
-
|
|
371
|
+
case de.BottomRight:
|
|
372
|
+
X = k.bottom + window.scrollY, B = k.right + window.scrollX - $.width;
|
|
373
373
|
break;
|
|
374
|
-
case
|
|
375
|
-
|
|
374
|
+
case de.Top:
|
|
375
|
+
X = k.top + window.scrollY - $.height, B = k.left + window.scrollX - ($.width - k.width) / 2;
|
|
376
376
|
break;
|
|
377
|
-
case
|
|
378
|
-
|
|
377
|
+
case de.TopLeft:
|
|
378
|
+
X = k.top + window.scrollY - $.height, B = k.left + window.scrollX;
|
|
379
379
|
break;
|
|
380
|
-
case
|
|
381
|
-
|
|
380
|
+
case de.TopRight:
|
|
381
|
+
X = k.top + window.scrollY - $.height, B = k.right + window.scrollX - $.width;
|
|
382
382
|
break;
|
|
383
383
|
default:
|
|
384
|
-
|
|
384
|
+
X = k.bottom + window.scrollY, B = k.left + window.scrollX;
|
|
385
385
|
}
|
|
386
|
-
|
|
387
|
-
...
|
|
388
|
-
top: `${
|
|
386
|
+
X + $.height > window.innerHeight + window.scrollY && p.includes("bottom") ? X = k.top + window.scrollY - $.height : X < window.scrollY && p.includes("top") && (X = k.bottom + window.scrollY), B + $.width > window.innerWidth + window.scrollX && p.includes("left") ? B = k.left + window.scrollX - $.width + k.width : B < window.scrollX && p.includes("right") && (B = k.right + window.scrollX - k.width), P((_) => ({
|
|
387
|
+
..._,
|
|
388
|
+
top: `${X}px`,
|
|
389
389
|
left: `${B}px`,
|
|
390
|
-
visibility:
|
|
391
|
-
opacity:
|
|
390
|
+
visibility: w || L ? "visible" : "hidden",
|
|
391
|
+
opacity: w || L ? 1 : 0
|
|
392
392
|
}));
|
|
393
|
-
}, [p,
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
}, [
|
|
397
|
-
if (!
|
|
398
|
-
const
|
|
399
|
-
return window.addEventListener("resize",
|
|
400
|
-
window.removeEventListener("resize",
|
|
393
|
+
}, [p, w, L]);
|
|
394
|
+
re(() => (b(!0), () => b(!1)), []), re(() => {
|
|
395
|
+
j && te();
|
|
396
|
+
}, [j, te]), re(() => {
|
|
397
|
+
if (!j) return;
|
|
398
|
+
const k = () => te();
|
|
399
|
+
return window.addEventListener("resize", k), window.addEventListener("scroll", k, !0), () => {
|
|
400
|
+
window.removeEventListener("resize", k), window.removeEventListener("scroll", k, !0);
|
|
401
401
|
};
|
|
402
|
-
}, [
|
|
403
|
-
const
|
|
402
|
+
}, [j, te]);
|
|
403
|
+
const ee = f({
|
|
404
404
|
[Lt.spTooltip]: !0,
|
|
405
|
-
...
|
|
406
|
-
}),
|
|
405
|
+
...v && { [v]: !0 }
|
|
406
|
+
}), ae = f({
|
|
407
407
|
...y && { [y]: !0 }
|
|
408
|
-
}),
|
|
409
|
-
...
|
|
410
|
-
}),
|
|
408
|
+
}), se = f({
|
|
409
|
+
...C && { [C]: !0 }
|
|
410
|
+
}), K = f({
|
|
411
411
|
[Lt.spTooltip__trigger]: !0,
|
|
412
|
-
...
|
|
413
|
-
}),
|
|
414
|
-
return /* @__PURE__ */
|
|
412
|
+
...u && { [u]: !0 }
|
|
413
|
+
}), Z = document.body;
|
|
414
|
+
return /* @__PURE__ */ H(
|
|
415
415
|
"div",
|
|
416
416
|
{
|
|
417
|
-
className:
|
|
418
|
-
onClick:
|
|
419
|
-
onMouseEnter: () => t &&
|
|
420
|
-
onMouseLeave: () => t &&
|
|
417
|
+
className: ee,
|
|
418
|
+
onClick: c,
|
|
419
|
+
onMouseEnter: () => t && Q(!0),
|
|
420
|
+
onMouseLeave: () => t && Q(!1),
|
|
421
421
|
children: [
|
|
422
|
-
/* @__PURE__ */
|
|
423
|
-
a && /* @__PURE__ */
|
|
422
|
+
/* @__PURE__ */ d("div", { ref: E, className: K, children: i }),
|
|
423
|
+
a && /* @__PURE__ */ d(xo, { node: Z, children: /* @__PURE__ */ d(
|
|
424
424
|
fo,
|
|
425
425
|
{
|
|
426
|
-
style:
|
|
427
|
-
ref:
|
|
426
|
+
style: R,
|
|
427
|
+
ref: M,
|
|
428
428
|
noPadding: l,
|
|
429
|
-
text:
|
|
430
|
-
classNameRoot:
|
|
431
|
-
classNameContentRoot:
|
|
429
|
+
text: m,
|
|
430
|
+
classNameRoot: ae,
|
|
431
|
+
classNameContentRoot: se
|
|
432
432
|
}
|
|
433
433
|
) })
|
|
434
434
|
]
|
|
435
435
|
}
|
|
436
436
|
);
|
|
437
|
-
}, Je = (e) => /* @__PURE__ */
|
|
437
|
+
}, Je = (e) => /* @__PURE__ */ d(Rt, { ...e, hover: !0, trigger: /* @__PURE__ */ d(he, { name: ue.Info }) }), Yn = "_spCheckbox_uc4g8_43", Gn = "_spCheckbox__control_uc4g8_49", Kn = "_spCheckbox__label_uc4g8_52", Xn = "_spCheckbox__box_uc4g8_63", Zn = "_spCheckbox__box_checked_uc4g8_90", Qn = "_spCheckbox__box_disabled_uc4g8_100", Jn = "_spCheckbox__box_error_uc4g8_111", ea = "_spCheckbox__tooltip_uc4g8_114", ta = "_spCheckbox__required_uc4g8_119", oa = "_spCheckbox__error_uc4g8_125", ke = {
|
|
438
438
|
spCheckbox: Yn,
|
|
439
439
|
spCheckbox__control: Gn,
|
|
440
440
|
spCheckbox__label: Kn,
|
|
@@ -447,7 +447,7 @@ const At = (e) => {
|
|
|
447
447
|
spCheckbox__tooltip: ea,
|
|
448
448
|
spCheckbox__required: ta,
|
|
449
449
|
spCheckbox__error: oa
|
|
450
|
-
},
|
|
450
|
+
}, Vs = (e) => {
|
|
451
451
|
const {
|
|
452
452
|
size: t = "lg",
|
|
453
453
|
checked: o,
|
|
@@ -456,55 +456,55 @@ const At = (e) => {
|
|
|
456
456
|
name: i,
|
|
457
457
|
label: r,
|
|
458
458
|
error: s,
|
|
459
|
-
value:
|
|
459
|
+
value: u,
|
|
460
460
|
required: p,
|
|
461
|
-
tooltipPosition:
|
|
461
|
+
tooltipPosition: m,
|
|
462
462
|
infoTooltipText: l,
|
|
463
|
-
onMouseEnter:
|
|
463
|
+
onMouseEnter: v,
|
|
464
464
|
classNameRoot: y,
|
|
465
|
-
classNameError:
|
|
466
|
-
} = e,
|
|
465
|
+
classNameError: C
|
|
466
|
+
} = e, w = f({
|
|
467
467
|
[ke.spCheckbox]: !0,
|
|
468
468
|
...y && { [y]: !0 }
|
|
469
|
-
}),
|
|
469
|
+
}), N = f({
|
|
470
470
|
[ke.spCheckbox__box]: !0,
|
|
471
471
|
[ke.spCheckbox__box_checked]: o,
|
|
472
472
|
[ke.spCheckbox__box_disabled]: n,
|
|
473
473
|
[ke[`spCheckbox__box--size-${t}`]]: t,
|
|
474
474
|
[ke.spCheckbox__box_error]: s
|
|
475
|
-
}),
|
|
475
|
+
}), E = f({
|
|
476
476
|
[ke.spCheckbox__control]: !0
|
|
477
|
-
}),
|
|
477
|
+
}), M = f({
|
|
478
478
|
[ke.spCheckbox__label]: !0
|
|
479
|
-
}),
|
|
479
|
+
}), j = f({
|
|
480
480
|
[ke.spCheckbox__required]: !0
|
|
481
|
-
}),
|
|
481
|
+
}), b = f({
|
|
482
482
|
[ke.spCheckbox__error]: !0,
|
|
483
|
-
...
|
|
484
|
-
}),
|
|
483
|
+
...C && { [C]: !0 }
|
|
484
|
+
}), c = f({
|
|
485
485
|
[ke.spCheckbox__tooltip]: !0
|
|
486
486
|
});
|
|
487
|
-
return /* @__PURE__ */
|
|
488
|
-
/* @__PURE__ */
|
|
489
|
-
/* @__PURE__ */
|
|
487
|
+
return /* @__PURE__ */ H("div", { className: w, onMouseEnter: v, children: [
|
|
488
|
+
/* @__PURE__ */ H("label", { className: N, children: [
|
|
489
|
+
/* @__PURE__ */ d(
|
|
490
490
|
"input",
|
|
491
491
|
{
|
|
492
492
|
type: "checkbox",
|
|
493
|
-
className:
|
|
493
|
+
className: E,
|
|
494
494
|
checked: o,
|
|
495
|
-
onChange: (
|
|
496
|
-
!n && a && a(
|
|
495
|
+
onChange: (P) => {
|
|
496
|
+
!n && a && a(P, { name: i, checked: !o, value: u });
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
),
|
|
500
|
-
r && /* @__PURE__ */
|
|
501
|
-
p && /* @__PURE__ */
|
|
502
|
-
l && /* @__PURE__ */
|
|
500
|
+
r && /* @__PURE__ */ d("span", { className: M, children: r }),
|
|
501
|
+
p && /* @__PURE__ */ d("div", { className: j, children: "*" }),
|
|
502
|
+
l && /* @__PURE__ */ d("div", { className: c, children: /* @__PURE__ */ d(Je, { position: m, text: l }) })
|
|
503
503
|
] }),
|
|
504
|
-
s && /* @__PURE__ */
|
|
504
|
+
s && /* @__PURE__ */ d("div", { className: b, children: s })
|
|
505
505
|
] });
|
|
506
|
-
},
|
|
507
|
-
const { initialValue: t = null } = e, [o, n] =
|
|
506
|
+
}, Ys = (e = {}) => {
|
|
507
|
+
const { initialValue: t = null } = e, [o, n] = le(t);
|
|
508
508
|
return {
|
|
509
509
|
isOpen: !!o,
|
|
510
510
|
modalData: o,
|
|
@@ -515,7 +515,7 @@ const At = (e) => {
|
|
|
515
515
|
n(null);
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
|
-
}, na = "_layer_14g8d_43", aa = "_layer_hidden_14g8d_65",
|
|
518
|
+
}, na = "_layer_14g8d_43", aa = "_layer_hidden_14g8d_65", Ft = {
|
|
519
519
|
layer: na,
|
|
520
520
|
layer_hidden: aa
|
|
521
521
|
}, ia = (e) => {
|
|
@@ -524,12 +524,12 @@ const At = (e) => {
|
|
|
524
524
|
zIndex: o = "9999",
|
|
525
525
|
isHiddenModal: n = !1,
|
|
526
526
|
classNameRoot: a
|
|
527
|
-
} = e, i = document.body, r =
|
|
528
|
-
[
|
|
529
|
-
[
|
|
527
|
+
} = e, i = document.body, r = f({
|
|
528
|
+
[Ft.layer]: !0,
|
|
529
|
+
[Ft.layer_hidden]: n,
|
|
530
530
|
...a && { [a]: !0 }
|
|
531
531
|
});
|
|
532
|
-
return /* @__PURE__ */
|
|
532
|
+
return /* @__PURE__ */ d(xo, { node: i, children: /* @__PURE__ */ d("div", { style: { zIndex: o }, className: r, children: t }) });
|
|
533
533
|
}, ra = "_spText_1gech_43", sa = "_spText_ellipsis_1gech_56", pa = "_spText_cursorPointer_1gech_113", Ve = {
|
|
534
534
|
spText: ra,
|
|
535
535
|
spText_ellipsis: sa,
|
|
@@ -540,7 +540,7 @@ const At = (e) => {
|
|
|
540
540
|
"spText_type-description": "_spText_type-description_1gech_92",
|
|
541
541
|
"spText_type-link": "_spText_type-link_1gech_100",
|
|
542
542
|
spText_cursorPointer: pa
|
|
543
|
-
},
|
|
543
|
+
}, Ne = $e.forwardRef((e, t) => {
|
|
544
544
|
const {
|
|
545
545
|
type: o,
|
|
546
546
|
children: n,
|
|
@@ -548,18 +548,18 @@ const At = (e) => {
|
|
|
548
548
|
title: i,
|
|
549
549
|
style: r,
|
|
550
550
|
onClick: s,
|
|
551
|
-
isEllipsis:
|
|
551
|
+
isEllipsis: u = !1,
|
|
552
552
|
isCursorPointer: p = !1,
|
|
553
|
-
isCursorPointerByOnClick:
|
|
553
|
+
isCursorPointerByOnClick: m = !0,
|
|
554
554
|
classNameRoot: l
|
|
555
|
-
} = e,
|
|
555
|
+
} = e, v = () => s && m ? !0 : p, y = f({
|
|
556
556
|
[Ve.spText]: !0,
|
|
557
|
-
[Ve.spText_ellipsis]:
|
|
558
|
-
[Ve.spText_cursorPointer]:
|
|
557
|
+
[Ve.spText_ellipsis]: u,
|
|
558
|
+
[Ve.spText_cursorPointer]: v(),
|
|
559
559
|
[Ve[`spText_type-${o}`]]: o,
|
|
560
560
|
...l && { [l]: !0 }
|
|
561
561
|
});
|
|
562
|
-
return /* @__PURE__ */
|
|
562
|
+
return /* @__PURE__ */ d(
|
|
563
563
|
"span",
|
|
564
564
|
{
|
|
565
565
|
style: { ...r, color: a },
|
|
@@ -571,8 +571,8 @@ const At = (e) => {
|
|
|
571
571
|
}
|
|
572
572
|
);
|
|
573
573
|
});
|
|
574
|
-
|
|
575
|
-
const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da = "_modalWrapper__content_awlzb_92", ua = "_modalWrapper__header_awlzb_95", ma = "_modalWrapper__subHeader_awlzb_103",
|
|
574
|
+
Ne.displayName = "Text";
|
|
575
|
+
const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da = "_modalWrapper__content_awlzb_92", ua = "_modalWrapper__header_awlzb_95", ma = "_modalWrapper__subHeader_awlzb_103", _a = "_modalWrapper__subHeader_onlySubHeader_awlzb_111", fa = "_modalWrapper__footer_awlzb_114", va = "_modalWrapper__closeButton_awlzb_117", xa = "_modalWrapper__closeButtonIconContainer_awlzb_131", be = {
|
|
576
576
|
modalWrapper: la,
|
|
577
577
|
"modalWrapper--modalAlign-top": "_modalWrapper--modalAlign-top_awlzb_48",
|
|
578
578
|
"modalWrapper--modalAlign-center": "_modalWrapper--modalAlign-center_awlzb_51",
|
|
@@ -585,8 +585,8 @@ const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da =
|
|
|
585
585
|
modalWrapper__content: da,
|
|
586
586
|
modalWrapper__header: ua,
|
|
587
587
|
modalWrapper__subHeader: ma,
|
|
588
|
-
modalWrapper__subHeader_onlySubHeader:
|
|
589
|
-
modalWrapper__footer:
|
|
588
|
+
modalWrapper__subHeader_onlySubHeader: _a,
|
|
589
|
+
modalWrapper__footer: fa,
|
|
590
590
|
modalWrapper__closeButton: va,
|
|
591
591
|
modalWrapper__closeButtonIconContainer: xa
|
|
592
592
|
}, ga = (e) => {
|
|
@@ -598,61 +598,61 @@ const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da =
|
|
|
598
598
|
classNameLayerRoot: i,
|
|
599
599
|
classNameRoot: r,
|
|
600
600
|
style: s,
|
|
601
|
-
modalAlign:
|
|
601
|
+
modalAlign: u = "top",
|
|
602
602
|
textAlign: p = "left",
|
|
603
|
-
onClose:
|
|
603
|
+
onClose: m,
|
|
604
604
|
header: l,
|
|
605
|
-
subHeader:
|
|
605
|
+
subHeader: v,
|
|
606
606
|
footer: y,
|
|
607
|
-
size:
|
|
608
|
-
} = e,
|
|
607
|
+
size: C = "lg"
|
|
608
|
+
} = e, w = f({
|
|
609
609
|
[be.modalWrapper]: !0,
|
|
610
|
-
[be[`modalWrapper--modalAlign-${
|
|
610
|
+
[be[`modalWrapper--modalAlign-${u}`]]: u,
|
|
611
611
|
[be[`modalWrapper--textAlign-${p}`]]: p
|
|
612
|
-
}),
|
|
612
|
+
}), N = f({
|
|
613
613
|
[be.modalWrapper__modal]: !0,
|
|
614
|
-
[be[`modalWrapper__modal--size-${
|
|
614
|
+
[be[`modalWrapper__modal--size-${C}`]]: C,
|
|
615
615
|
...r && { [r]: !0 }
|
|
616
|
-
}),
|
|
616
|
+
}), E = f({
|
|
617
617
|
[be.modalWrapper__closeButton]: !0
|
|
618
|
-
}),
|
|
618
|
+
}), M = f({
|
|
619
619
|
[be.modalWrapper__closeButtonIconContainer]: !0
|
|
620
|
-
}),
|
|
620
|
+
}), j = f({
|
|
621
621
|
[be.modalWrapper__content]: !0
|
|
622
|
-
}),
|
|
622
|
+
}), b = f({
|
|
623
623
|
[be.modalWrapper__header]: !0
|
|
624
|
-
}),
|
|
624
|
+
}), c = f({
|
|
625
625
|
[be.modalWrapper__subHeader]: !0,
|
|
626
626
|
[be.modalWrapper__subHeader_onlySubHeader]: !l
|
|
627
|
-
}),
|
|
627
|
+
}), R = f({
|
|
628
628
|
[be.modalWrapper__footer]: !0
|
|
629
629
|
});
|
|
630
|
-
return
|
|
631
|
-
const
|
|
632
|
-
return
|
|
633
|
-
|
|
630
|
+
return re(() => {
|
|
631
|
+
const P = window.scrollY, L = document.body;
|
|
632
|
+
return L.style.position = "fixed", L.style.top = `-${P}px`, L.style.left = "0", L.style.right = "0", L.style.overflow = "hidden", () => {
|
|
633
|
+
L.style.position = "", L.style.top = "", L.style.left = "", L.style.right = "", L.style.overflow = "", window.scrollTo(0, P);
|
|
634
634
|
};
|
|
635
|
-
}, []), /* @__PURE__ */
|
|
636
|
-
(l ||
|
|
637
|
-
typeof l == "string" ? /* @__PURE__ */
|
|
638
|
-
|
|
635
|
+
}, []), /* @__PURE__ */ d(ia, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ d("div", { className: w, children: /* @__PURE__ */ H("div", { className: N, style: s, children: [
|
|
636
|
+
(l || v) && /* @__PURE__ */ H("div", { className: b, children: [
|
|
637
|
+
typeof l == "string" ? /* @__PURE__ */ d(Ne, { type: "h3", children: l }) : l,
|
|
638
|
+
v && /* @__PURE__ */ d("div", { className: c, children: typeof v == "string" ? /* @__PURE__ */ d(Ne, { children: v }) : v })
|
|
639
639
|
] }),
|
|
640
|
-
a && /* @__PURE__ */
|
|
641
|
-
y && /* @__PURE__ */
|
|
642
|
-
n &&
|
|
640
|
+
a && /* @__PURE__ */ d("div", { className: j, children: a }),
|
|
641
|
+
y && /* @__PURE__ */ d("div", { className: R, children: y }),
|
|
642
|
+
n && m && /* @__PURE__ */ d(
|
|
643
643
|
wt,
|
|
644
644
|
{
|
|
645
|
-
classNameRoot:
|
|
646
|
-
classNameIconContainerRoot:
|
|
647
|
-
onClick:
|
|
648
|
-
iconName:
|
|
645
|
+
classNameRoot: E,
|
|
646
|
+
classNameIconContainerRoot: M,
|
|
647
|
+
onClick: m,
|
|
648
|
+
iconName: ue.Close,
|
|
649
649
|
variant: "link",
|
|
650
650
|
noPadding: !0,
|
|
651
651
|
isOnlyIcon: !0
|
|
652
652
|
}
|
|
653
653
|
)
|
|
654
654
|
] }) }) });
|
|
655
|
-
},
|
|
655
|
+
}, Gs = (e) => {
|
|
656
656
|
const {
|
|
657
657
|
zIndex: t,
|
|
658
658
|
title: o,
|
|
@@ -661,45 +661,45 @@ const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da =
|
|
|
661
661
|
cancelBtnDisabled: i,
|
|
662
662
|
cancelBtnIconName: r,
|
|
663
663
|
submitBtnContent: s,
|
|
664
|
-
submit:
|
|
664
|
+
submit: u,
|
|
665
665
|
disabled: p,
|
|
666
|
-
formId:
|
|
666
|
+
formId: m,
|
|
667
667
|
onClose: l,
|
|
668
|
-
mobile:
|
|
668
|
+
mobile: v = "column",
|
|
669
669
|
align: y = "right",
|
|
670
|
-
modalAlign:
|
|
671
|
-
textAlign:
|
|
672
|
-
loading:
|
|
673
|
-
isVisibleCloseButton:
|
|
674
|
-
isHiddenModal:
|
|
675
|
-
size:
|
|
670
|
+
modalAlign: C = "top",
|
|
671
|
+
textAlign: w = "left",
|
|
672
|
+
loading: N,
|
|
673
|
+
isVisibleCloseButton: E,
|
|
674
|
+
isHiddenModal: M,
|
|
675
|
+
size: j
|
|
676
676
|
} = e;
|
|
677
|
-
return /* @__PURE__ */
|
|
677
|
+
return /* @__PURE__ */ d(
|
|
678
678
|
ga,
|
|
679
679
|
{
|
|
680
680
|
zIndex: t,
|
|
681
681
|
header: o,
|
|
682
682
|
onClose: l,
|
|
683
|
-
modalAlign:
|
|
684
|
-
textAlign:
|
|
683
|
+
modalAlign: C,
|
|
684
|
+
textAlign: w,
|
|
685
685
|
subHeader: n,
|
|
686
|
-
isVisibleCloseButton:
|
|
687
|
-
isHiddenModal:
|
|
688
|
-
size:
|
|
689
|
-
footer: a || s ? /* @__PURE__ */
|
|
686
|
+
isVisibleCloseButton: E,
|
|
687
|
+
isHiddenModal: M,
|
|
688
|
+
size: j,
|
|
689
|
+
footer: a || s ? /* @__PURE__ */ d(
|
|
690
690
|
Mn,
|
|
691
691
|
{
|
|
692
|
-
mobile:
|
|
692
|
+
mobile: v,
|
|
693
693
|
align: y,
|
|
694
694
|
cancelBtnContent: a,
|
|
695
695
|
cancelBtnIconName: r,
|
|
696
696
|
cancelBtnDisabled: i,
|
|
697
697
|
submitBtnContent: s,
|
|
698
|
-
formId:
|
|
698
|
+
formId: m,
|
|
699
699
|
disabled: p,
|
|
700
700
|
onClose: l,
|
|
701
|
-
submit:
|
|
702
|
-
loading:
|
|
701
|
+
submit: u,
|
|
702
|
+
loading: N
|
|
703
703
|
}
|
|
704
704
|
) : null
|
|
705
705
|
}
|
|
@@ -708,17 +708,17 @@ const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da =
|
|
|
708
708
|
spContextMenu: ha,
|
|
709
709
|
spContextMenu__item: ba,
|
|
710
710
|
spContextMenu__item_deleteItem: ya
|
|
711
|
-
},
|
|
712
|
-
const { onClickItem: t, options: o, classNameRoot: n } = e, a =
|
|
711
|
+
}, Ks = (e) => {
|
|
712
|
+
const { onClickItem: t, options: o, classNameRoot: n } = e, a = f({
|
|
713
713
|
[dt.spContextMenu]: !0,
|
|
714
714
|
...n && { [n]: !0 }
|
|
715
715
|
});
|
|
716
|
-
return /* @__PURE__ */
|
|
716
|
+
return /* @__PURE__ */ d("ul", { className: a, children: o == null ? void 0 : o.map((i) => {
|
|
717
717
|
const r = i.key === "delete";
|
|
718
|
-
return /* @__PURE__ */
|
|
718
|
+
return /* @__PURE__ */ H(
|
|
719
719
|
"li",
|
|
720
720
|
{
|
|
721
|
-
className:
|
|
721
|
+
className: f({
|
|
722
722
|
[dt.spContextMenu__item]: !0,
|
|
723
723
|
[dt.spContextMenu__item_deleteItem]: r
|
|
724
724
|
}),
|
|
@@ -726,7 +726,7 @@ const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da =
|
|
|
726
726
|
t && t(i);
|
|
727
727
|
},
|
|
728
728
|
children: [
|
|
729
|
-
(i == null ? void 0 : i.iconName) && /* @__PURE__ */
|
|
729
|
+
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ d(he, { name: i.iconName }),
|
|
730
730
|
i.label
|
|
731
731
|
]
|
|
732
732
|
},
|
|
@@ -734,7 +734,7 @@ const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da =
|
|
|
734
734
|
);
|
|
735
735
|
}) });
|
|
736
736
|
};
|
|
737
|
-
function
|
|
737
|
+
function go(e) {
|
|
738
738
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
739
739
|
}
|
|
740
740
|
var kt = { exports: {} }, Ye = { exports: {} }, Y = {};
|
|
@@ -746,71 +746,71 @@ var kt = { exports: {} }, Ye = { exports: {} }, Y = {};
|
|
|
746
746
|
* This source code is licensed under the MIT license found in the
|
|
747
747
|
* LICENSE file in the root directory of this source tree.
|
|
748
748
|
*/
|
|
749
|
-
var
|
|
749
|
+
var Ot;
|
|
750
750
|
function wa() {
|
|
751
|
-
if (
|
|
752
|
-
|
|
753
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110,
|
|
754
|
-
function
|
|
755
|
-
if (typeof
|
|
756
|
-
var
|
|
757
|
-
switch (
|
|
751
|
+
if (Ot) return Y;
|
|
752
|
+
Ot = 1;
|
|
753
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, N = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
754
|
+
function j(c) {
|
|
755
|
+
if (typeof c == "object" && c !== null) {
|
|
756
|
+
var R = c.$$typeof;
|
|
757
|
+
switch (R) {
|
|
758
758
|
case t:
|
|
759
|
-
switch (
|
|
760
|
-
case
|
|
759
|
+
switch (c = c.type, c) {
|
|
760
|
+
case u:
|
|
761
761
|
case p:
|
|
762
762
|
case n:
|
|
763
763
|
case i:
|
|
764
764
|
case a:
|
|
765
765
|
case l:
|
|
766
|
-
return
|
|
766
|
+
return c;
|
|
767
767
|
default:
|
|
768
|
-
switch (
|
|
768
|
+
switch (c = c && c.$$typeof, c) {
|
|
769
769
|
case s:
|
|
770
|
-
case
|
|
771
|
-
case
|
|
770
|
+
case m:
|
|
771
|
+
case C:
|
|
772
772
|
case y:
|
|
773
773
|
case r:
|
|
774
|
-
return
|
|
774
|
+
return c;
|
|
775
775
|
default:
|
|
776
|
-
return
|
|
776
|
+
return R;
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
779
|
case o:
|
|
780
|
-
return
|
|
780
|
+
return R;
|
|
781
781
|
}
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
|
-
function
|
|
785
|
-
return
|
|
784
|
+
function b(c) {
|
|
785
|
+
return j(c) === p;
|
|
786
786
|
}
|
|
787
|
-
return Y.AsyncMode =
|
|
788
|
-
return
|
|
789
|
-
}, Y.isConcurrentMode =
|
|
790
|
-
return
|
|
791
|
-
}, Y.isContextProvider = function(
|
|
792
|
-
return
|
|
793
|
-
}, Y.isElement = function(
|
|
794
|
-
return typeof
|
|
795
|
-
}, Y.isForwardRef = function(
|
|
796
|
-
return
|
|
797
|
-
}, Y.isFragment = function(
|
|
798
|
-
return
|
|
799
|
-
}, Y.isLazy = function(
|
|
800
|
-
return
|
|
801
|
-
}, Y.isMemo = function(
|
|
802
|
-
return
|
|
803
|
-
}, Y.isPortal = function(
|
|
804
|
-
return
|
|
805
|
-
}, Y.isProfiler = function(
|
|
806
|
-
return
|
|
807
|
-
}, Y.isStrictMode = function(
|
|
808
|
-
return
|
|
809
|
-
}, Y.isSuspense = function(
|
|
810
|
-
return
|
|
811
|
-
}, Y.isValidElementType = function(
|
|
812
|
-
return typeof
|
|
813
|
-
}, Y.typeOf =
|
|
787
|
+
return Y.AsyncMode = u, Y.ConcurrentMode = p, Y.ContextConsumer = s, Y.ContextProvider = r, Y.Element = t, Y.ForwardRef = m, Y.Fragment = n, Y.Lazy = C, Y.Memo = y, Y.Portal = o, Y.Profiler = i, Y.StrictMode = a, Y.Suspense = l, Y.isAsyncMode = function(c) {
|
|
788
|
+
return b(c) || j(c) === u;
|
|
789
|
+
}, Y.isConcurrentMode = b, Y.isContextConsumer = function(c) {
|
|
790
|
+
return j(c) === s;
|
|
791
|
+
}, Y.isContextProvider = function(c) {
|
|
792
|
+
return j(c) === r;
|
|
793
|
+
}, Y.isElement = function(c) {
|
|
794
|
+
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
795
|
+
}, Y.isForwardRef = function(c) {
|
|
796
|
+
return j(c) === m;
|
|
797
|
+
}, Y.isFragment = function(c) {
|
|
798
|
+
return j(c) === n;
|
|
799
|
+
}, Y.isLazy = function(c) {
|
|
800
|
+
return j(c) === C;
|
|
801
|
+
}, Y.isMemo = function(c) {
|
|
802
|
+
return j(c) === y;
|
|
803
|
+
}, Y.isPortal = function(c) {
|
|
804
|
+
return j(c) === o;
|
|
805
|
+
}, Y.isProfiler = function(c) {
|
|
806
|
+
return j(c) === i;
|
|
807
|
+
}, Y.isStrictMode = function(c) {
|
|
808
|
+
return j(c) === a;
|
|
809
|
+
}, Y.isSuspense = function(c) {
|
|
810
|
+
return j(c) === l;
|
|
811
|
+
}, Y.isValidElementType = function(c) {
|
|
812
|
+
return typeof c == "string" || typeof c == "function" || c === n || c === p || c === i || c === a || c === l || c === v || typeof c == "object" && c !== null && (c.$$typeof === C || c.$$typeof === y || c.$$typeof === r || c.$$typeof === s || c.$$typeof === m || c.$$typeof === N || c.$$typeof === E || c.$$typeof === M || c.$$typeof === w);
|
|
813
|
+
}, Y.typeOf = j, Y;
|
|
814
814
|
}
|
|
815
815
|
var G = {};
|
|
816
816
|
/** @license React v16.13.1
|
|
@@ -824,19 +824,19 @@ var G = {};
|
|
|
824
824
|
var zt;
|
|
825
825
|
function ka() {
|
|
826
826
|
return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
827
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110,
|
|
828
|
-
function
|
|
829
|
-
return typeof
|
|
830
|
-
|
|
827
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, N = e ? Symbol.for("react.fundamental") : 60117, E = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
828
|
+
function j(x) {
|
|
829
|
+
return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
830
|
+
x === n || x === p || x === i || x === a || x === l || x === v || typeof x == "object" && x !== null && (x.$$typeof === C || x.$$typeof === y || x.$$typeof === r || x.$$typeof === s || x.$$typeof === m || x.$$typeof === N || x.$$typeof === E || x.$$typeof === M || x.$$typeof === w);
|
|
831
831
|
}
|
|
832
|
-
function
|
|
833
|
-
if (typeof
|
|
834
|
-
var ve =
|
|
832
|
+
function b(x) {
|
|
833
|
+
if (typeof x == "object" && x !== null) {
|
|
834
|
+
var ve = x.$$typeof;
|
|
835
835
|
switch (ve) {
|
|
836
836
|
case t:
|
|
837
|
-
var Se =
|
|
837
|
+
var Se = x.type;
|
|
838
838
|
switch (Se) {
|
|
839
|
-
case
|
|
839
|
+
case u:
|
|
840
840
|
case p:
|
|
841
841
|
case n:
|
|
842
842
|
case i:
|
|
@@ -847,8 +847,8 @@ function ka() {
|
|
|
847
847
|
var ze = Se && Se.$$typeof;
|
|
848
848
|
switch (ze) {
|
|
849
849
|
case s:
|
|
850
|
-
case
|
|
851
|
-
case
|
|
850
|
+
case m:
|
|
851
|
+
case C:
|
|
852
852
|
case y:
|
|
853
853
|
case r:
|
|
854
854
|
return ze;
|
|
@@ -861,51 +861,51 @@ function ka() {
|
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
|
-
var
|
|
865
|
-
function B(
|
|
866
|
-
return
|
|
864
|
+
var c = u, R = p, P = s, L = r, Q = t, te = m, ee = n, ae = C, se = y, K = o, Z = i, k = a, $ = l, X = !1;
|
|
865
|
+
function B(x) {
|
|
866
|
+
return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(x) || b(x) === u;
|
|
867
867
|
}
|
|
868
|
-
function
|
|
869
|
-
return
|
|
868
|
+
function _(x) {
|
|
869
|
+
return b(x) === p;
|
|
870
870
|
}
|
|
871
|
-
function
|
|
872
|
-
return
|
|
871
|
+
function h(x) {
|
|
872
|
+
return b(x) === s;
|
|
873
873
|
}
|
|
874
|
-
function F(
|
|
875
|
-
return
|
|
874
|
+
function F(x) {
|
|
875
|
+
return b(x) === r;
|
|
876
876
|
}
|
|
877
|
-
function
|
|
878
|
-
return typeof
|
|
877
|
+
function O(x) {
|
|
878
|
+
return typeof x == "object" && x !== null && x.$$typeof === t;
|
|
879
879
|
}
|
|
880
|
-
function
|
|
881
|
-
return
|
|
880
|
+
function D(x) {
|
|
881
|
+
return b(x) === m;
|
|
882
882
|
}
|
|
883
|
-
function
|
|
884
|
-
return
|
|
883
|
+
function q(x) {
|
|
884
|
+
return b(x) === n;
|
|
885
885
|
}
|
|
886
|
-
function
|
|
887
|
-
return
|
|
886
|
+
function I(x) {
|
|
887
|
+
return b(x) === C;
|
|
888
888
|
}
|
|
889
|
-
function
|
|
890
|
-
return
|
|
889
|
+
function z(x) {
|
|
890
|
+
return b(x) === y;
|
|
891
891
|
}
|
|
892
|
-
function
|
|
893
|
-
return
|
|
892
|
+
function U(x) {
|
|
893
|
+
return b(x) === o;
|
|
894
894
|
}
|
|
895
|
-
function V(
|
|
896
|
-
return
|
|
895
|
+
function V(x) {
|
|
896
|
+
return b(x) === i;
|
|
897
897
|
}
|
|
898
|
-
function W(
|
|
899
|
-
return
|
|
898
|
+
function W(x) {
|
|
899
|
+
return b(x) === a;
|
|
900
900
|
}
|
|
901
|
-
function
|
|
902
|
-
return
|
|
901
|
+
function ie(x) {
|
|
902
|
+
return b(x) === l;
|
|
903
903
|
}
|
|
904
|
-
G.AsyncMode =
|
|
904
|
+
G.AsyncMode = c, G.ConcurrentMode = R, G.ContextConsumer = P, G.ContextProvider = L, G.Element = Q, G.ForwardRef = te, G.Fragment = ee, G.Lazy = ae, G.Memo = se, G.Portal = K, G.Profiler = Z, G.StrictMode = k, G.Suspense = $, G.isAsyncMode = B, G.isConcurrentMode = _, G.isContextConsumer = h, G.isContextProvider = F, G.isElement = O, G.isForwardRef = D, G.isFragment = q, G.isLazy = I, G.isMemo = z, G.isPortal = U, G.isProfiler = V, G.isStrictMode = W, G.isSuspense = ie, G.isValidElementType = j, G.typeOf = b;
|
|
905
905
|
}()), G;
|
|
906
906
|
}
|
|
907
907
|
var Pt;
|
|
908
|
-
function
|
|
908
|
+
function ho() {
|
|
909
909
|
return Pt || (Pt = 1, process.env.NODE_ENV === "production" ? Ye.exports = wa() : Ye.exports = ka()), Ye.exports;
|
|
910
910
|
}
|
|
911
911
|
/*
|
|
@@ -932,52 +932,52 @@ function Ca() {
|
|
|
932
932
|
return !1;
|
|
933
933
|
for (var r = {}, s = 0; s < 10; s++)
|
|
934
934
|
r["_" + String.fromCharCode(s)] = s;
|
|
935
|
-
var
|
|
936
|
-
return r[
|
|
935
|
+
var u = Object.getOwnPropertyNames(r).map(function(m) {
|
|
936
|
+
return r[m];
|
|
937
937
|
});
|
|
938
|
-
if (
|
|
938
|
+
if (u.join("") !== "0123456789")
|
|
939
939
|
return !1;
|
|
940
940
|
var p = {};
|
|
941
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
942
|
-
p[
|
|
941
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(m) {
|
|
942
|
+
p[m] = m;
|
|
943
943
|
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
|
|
944
944
|
} catch {
|
|
945
945
|
return !1;
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
948
|
return ut = a() ? Object.assign : function(i, r) {
|
|
949
|
-
for (var s,
|
|
950
|
-
s = Object(arguments[
|
|
949
|
+
for (var s, u = n(i), p, m = 1; m < arguments.length; m++) {
|
|
950
|
+
s = Object(arguments[m]);
|
|
951
951
|
for (var l in s)
|
|
952
|
-
t.call(s, l) && (
|
|
952
|
+
t.call(s, l) && (u[l] = s[l]);
|
|
953
953
|
if (e) {
|
|
954
954
|
p = e(s);
|
|
955
|
-
for (var
|
|
956
|
-
o.call(s, p[
|
|
955
|
+
for (var v = 0; v < p.length; v++)
|
|
956
|
+
o.call(s, p[v]) && (u[p[v]] = s[p[v]]);
|
|
957
957
|
}
|
|
958
958
|
}
|
|
959
|
-
return
|
|
959
|
+
return u;
|
|
960
960
|
}, ut;
|
|
961
961
|
}
|
|
962
962
|
var mt, Wt;
|
|
963
|
-
function
|
|
963
|
+
function At() {
|
|
964
964
|
if (Wt) return mt;
|
|
965
965
|
Wt = 1;
|
|
966
966
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
967
967
|
return mt = e, mt;
|
|
968
968
|
}
|
|
969
|
-
var
|
|
970
|
-
function
|
|
971
|
-
return Mt || (Mt = 1,
|
|
969
|
+
var _t, Mt;
|
|
970
|
+
function bo() {
|
|
971
|
+
return Mt || (Mt = 1, _t = Function.call.bind(Object.prototype.hasOwnProperty)), _t;
|
|
972
972
|
}
|
|
973
|
-
var
|
|
973
|
+
var ft, $t;
|
|
974
974
|
function Ta() {
|
|
975
|
-
if ($t) return
|
|
975
|
+
if ($t) return ft;
|
|
976
976
|
$t = 1;
|
|
977
977
|
var e = function() {
|
|
978
978
|
};
|
|
979
979
|
if (process.env.NODE_ENV !== "production") {
|
|
980
|
-
var t =
|
|
980
|
+
var t = At(), o = {}, n = bo();
|
|
981
981
|
e = function(i) {
|
|
982
982
|
var r = "Warning: " + i;
|
|
983
983
|
typeof console < "u" && console.error(r);
|
|
@@ -987,24 +987,24 @@ function Ta() {
|
|
|
987
987
|
}
|
|
988
988
|
};
|
|
989
989
|
}
|
|
990
|
-
function a(i, r, s,
|
|
990
|
+
function a(i, r, s, u, p) {
|
|
991
991
|
if (process.env.NODE_ENV !== "production") {
|
|
992
|
-
for (var
|
|
993
|
-
if (n(i,
|
|
992
|
+
for (var m in i)
|
|
993
|
+
if (n(i, m)) {
|
|
994
994
|
var l;
|
|
995
995
|
try {
|
|
996
|
-
if (typeof i[
|
|
997
|
-
var
|
|
998
|
-
(
|
|
996
|
+
if (typeof i[m] != "function") {
|
|
997
|
+
var v = Error(
|
|
998
|
+
(u || "React class") + ": " + s + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
999
999
|
);
|
|
1000
|
-
throw
|
|
1000
|
+
throw v.name = "Invariant Violation", v;
|
|
1001
1001
|
}
|
|
1002
|
-
l = i[
|
|
1003
|
-
} catch (
|
|
1004
|
-
l =
|
|
1002
|
+
l = i[m](r, m, u, s, null, t);
|
|
1003
|
+
} catch (C) {
|
|
1004
|
+
l = C;
|
|
1005
1005
|
}
|
|
1006
1006
|
if (l && !(l instanceof Error) && e(
|
|
1007
|
-
(
|
|
1007
|
+
(u || "React class") + ": type specification of " + s + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof l + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1008
1008
|
), l instanceof Error && !(l.message in o)) {
|
|
1009
1009
|
o[l.message] = !0;
|
|
1010
1010
|
var y = p ? p() : "";
|
|
@@ -1017,281 +1017,281 @@ function Ta() {
|
|
|
1017
1017
|
}
|
|
1018
1018
|
return a.resetWarningCache = function() {
|
|
1019
1019
|
process.env.NODE_ENV !== "production" && (o = {});
|
|
1020
|
-
},
|
|
1020
|
+
}, ft = a, ft;
|
|
1021
1021
|
}
|
|
1022
1022
|
var vt, qt;
|
|
1023
|
-
function
|
|
1023
|
+
function Na() {
|
|
1024
1024
|
if (qt) return vt;
|
|
1025
1025
|
qt = 1;
|
|
1026
|
-
var e =
|
|
1026
|
+
var e = ho(), t = Ca(), o = At(), n = bo(), a = Ta(), i = function() {
|
|
1027
1027
|
};
|
|
1028
1028
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1029
|
-
var
|
|
1030
|
-
typeof console < "u" && console.error(
|
|
1029
|
+
var u = "Warning: " + s;
|
|
1030
|
+
typeof console < "u" && console.error(u);
|
|
1031
1031
|
try {
|
|
1032
|
-
throw new Error(
|
|
1032
|
+
throw new Error(u);
|
|
1033
1033
|
} catch {
|
|
1034
1034
|
}
|
|
1035
1035
|
});
|
|
1036
1036
|
function r() {
|
|
1037
1037
|
return null;
|
|
1038
1038
|
}
|
|
1039
|
-
return vt = function(s,
|
|
1040
|
-
var p = typeof Symbol == "function" && Symbol.iterator,
|
|
1041
|
-
function l(
|
|
1042
|
-
var
|
|
1043
|
-
if (typeof
|
|
1044
|
-
return
|
|
1039
|
+
return vt = function(s, u) {
|
|
1040
|
+
var p = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
|
|
1041
|
+
function l(_) {
|
|
1042
|
+
var h = _ && (p && _[p] || _[m]);
|
|
1043
|
+
if (typeof h == "function")
|
|
1044
|
+
return h;
|
|
1045
1045
|
}
|
|
1046
|
-
var
|
|
1047
|
-
array:
|
|
1048
|
-
bigint:
|
|
1049
|
-
bool:
|
|
1050
|
-
func:
|
|
1051
|
-
number:
|
|
1052
|
-
object:
|
|
1053
|
-
string:
|
|
1054
|
-
symbol:
|
|
1055
|
-
any:
|
|
1056
|
-
arrayOf:
|
|
1057
|
-
element:
|
|
1058
|
-
elementType:
|
|
1059
|
-
instanceOf:
|
|
1060
|
-
node:
|
|
1061
|
-
objectOf:
|
|
1062
|
-
oneOf:
|
|
1063
|
-
oneOfType:
|
|
1064
|
-
shape:
|
|
1065
|
-
exact:
|
|
1046
|
+
var v = "<<anonymous>>", y = {
|
|
1047
|
+
array: E("array"),
|
|
1048
|
+
bigint: E("bigint"),
|
|
1049
|
+
bool: E("boolean"),
|
|
1050
|
+
func: E("function"),
|
|
1051
|
+
number: E("number"),
|
|
1052
|
+
object: E("object"),
|
|
1053
|
+
string: E("string"),
|
|
1054
|
+
symbol: E("symbol"),
|
|
1055
|
+
any: M(),
|
|
1056
|
+
arrayOf: j,
|
|
1057
|
+
element: b(),
|
|
1058
|
+
elementType: c(),
|
|
1059
|
+
instanceOf: R,
|
|
1060
|
+
node: te(),
|
|
1061
|
+
objectOf: L,
|
|
1062
|
+
oneOf: P,
|
|
1063
|
+
oneOfType: Q,
|
|
1064
|
+
shape: ae,
|
|
1065
|
+
exact: se
|
|
1066
1066
|
};
|
|
1067
|
-
function
|
|
1068
|
-
return
|
|
1067
|
+
function C(_, h) {
|
|
1068
|
+
return _ === h ? _ !== 0 || 1 / _ === 1 / h : _ !== _ && h !== h;
|
|
1069
1069
|
}
|
|
1070
|
-
function
|
|
1071
|
-
this.message =
|
|
1070
|
+
function w(_, h) {
|
|
1071
|
+
this.message = _, this.data = h && typeof h == "object" ? h : {}, this.stack = "";
|
|
1072
1072
|
}
|
|
1073
|
-
|
|
1074
|
-
function
|
|
1073
|
+
w.prototype = Error.prototype;
|
|
1074
|
+
function N(_) {
|
|
1075
1075
|
if (process.env.NODE_ENV !== "production")
|
|
1076
|
-
var
|
|
1077
|
-
function
|
|
1078
|
-
if (
|
|
1079
|
-
if (
|
|
1080
|
-
var
|
|
1076
|
+
var h = {}, F = 0;
|
|
1077
|
+
function O(q, I, z, U, V, W, ie) {
|
|
1078
|
+
if (U = U || v, W = W || z, ie !== o) {
|
|
1079
|
+
if (u) {
|
|
1080
|
+
var x = new Error(
|
|
1081
1081
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1082
1082
|
);
|
|
1083
|
-
throw
|
|
1083
|
+
throw x.name = "Invariant Violation", x;
|
|
1084
1084
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1085
|
-
var ve =
|
|
1086
|
-
!
|
|
1085
|
+
var ve = U + ":" + z;
|
|
1086
|
+
!h[ve] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1087
1087
|
F < 3 && (i(
|
|
1088
|
-
"You are manually calling a React.PropTypes validation function for the `" + W + "` prop on `" +
|
|
1089
|
-
),
|
|
1088
|
+
"You are manually calling a React.PropTypes validation function for the `" + W + "` prop on `" + U + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1089
|
+
), h[ve] = !0, F++);
|
|
1090
1090
|
}
|
|
1091
1091
|
}
|
|
1092
|
-
return
|
|
1092
|
+
return I[z] == null ? q ? I[z] === null ? new w("The " + V + " `" + W + "` is marked as required " + ("in `" + U + "`, but its value is `null`.")) : new w("The " + V + " `" + W + "` is marked as required in " + ("`" + U + "`, but its value is `undefined`.")) : null : _(I, z, U, V, W);
|
|
1093
1093
|
}
|
|
1094
|
-
var
|
|
1095
|
-
return
|
|
1094
|
+
var D = O.bind(null, !1);
|
|
1095
|
+
return D.isRequired = O.bind(null, !0), D;
|
|
1096
1096
|
}
|
|
1097
|
-
function
|
|
1098
|
-
function
|
|
1099
|
-
var
|
|
1100
|
-
if (V !==
|
|
1101
|
-
var W =
|
|
1102
|
-
return new
|
|
1103
|
-
"Invalid " +
|
|
1104
|
-
{ expectedType:
|
|
1097
|
+
function E(_) {
|
|
1098
|
+
function h(F, O, D, q, I, z) {
|
|
1099
|
+
var U = F[O], V = k(U);
|
|
1100
|
+
if (V !== _) {
|
|
1101
|
+
var W = $(U);
|
|
1102
|
+
return new w(
|
|
1103
|
+
"Invalid " + q + " `" + I + "` of type " + ("`" + W + "` supplied to `" + D + "`, expected ") + ("`" + _ + "`."),
|
|
1104
|
+
{ expectedType: _ }
|
|
1105
1105
|
);
|
|
1106
1106
|
}
|
|
1107
1107
|
return null;
|
|
1108
1108
|
}
|
|
1109
|
-
return
|
|
1109
|
+
return N(h);
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1112
|
-
return
|
|
1111
|
+
function M() {
|
|
1112
|
+
return N(r);
|
|
1113
1113
|
}
|
|
1114
|
-
function
|
|
1115
|
-
function
|
|
1116
|
-
if (typeof
|
|
1117
|
-
return new
|
|
1118
|
-
var
|
|
1119
|
-
if (!Array.isArray(
|
|
1120
|
-
var
|
|
1121
|
-
return new
|
|
1114
|
+
function j(_) {
|
|
1115
|
+
function h(F, O, D, q, I) {
|
|
1116
|
+
if (typeof _ != "function")
|
|
1117
|
+
return new w("Property `" + I + "` of component `" + D + "` has invalid PropType notation inside arrayOf.");
|
|
1118
|
+
var z = F[O];
|
|
1119
|
+
if (!Array.isArray(z)) {
|
|
1120
|
+
var U = k(z);
|
|
1121
|
+
return new w("Invalid " + q + " `" + I + "` of type " + ("`" + U + "` supplied to `" + D + "`, expected an array."));
|
|
1122
1122
|
}
|
|
1123
|
-
for (var V = 0; V <
|
|
1124
|
-
var W =
|
|
1123
|
+
for (var V = 0; V < z.length; V++) {
|
|
1124
|
+
var W = _(z, V, D, q, I + "[" + V + "]", o);
|
|
1125
1125
|
if (W instanceof Error)
|
|
1126
1126
|
return W;
|
|
1127
1127
|
}
|
|
1128
1128
|
return null;
|
|
1129
1129
|
}
|
|
1130
|
-
return
|
|
1130
|
+
return N(h);
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1133
|
-
function
|
|
1134
|
-
var
|
|
1135
|
-
if (!s(
|
|
1136
|
-
var
|
|
1137
|
-
return new
|
|
1132
|
+
function b() {
|
|
1133
|
+
function _(h, F, O, D, q) {
|
|
1134
|
+
var I = h[F];
|
|
1135
|
+
if (!s(I)) {
|
|
1136
|
+
var z = k(I);
|
|
1137
|
+
return new w("Invalid " + D + " `" + q + "` of type " + ("`" + z + "` supplied to `" + O + "`, expected a single ReactElement."));
|
|
1138
1138
|
}
|
|
1139
1139
|
return null;
|
|
1140
1140
|
}
|
|
1141
|
-
return
|
|
1141
|
+
return N(_);
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1144
|
-
function
|
|
1145
|
-
var
|
|
1146
|
-
if (!e.isValidElementType(
|
|
1147
|
-
var
|
|
1148
|
-
return new
|
|
1143
|
+
function c() {
|
|
1144
|
+
function _(h, F, O, D, q) {
|
|
1145
|
+
var I = h[F];
|
|
1146
|
+
if (!e.isValidElementType(I)) {
|
|
1147
|
+
var z = k(I);
|
|
1148
|
+
return new w("Invalid " + D + " `" + q + "` of type " + ("`" + z + "` supplied to `" + O + "`, expected a single ReactElement type."));
|
|
1149
1149
|
}
|
|
1150
1150
|
return null;
|
|
1151
1151
|
}
|
|
1152
|
-
return
|
|
1152
|
+
return N(_);
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1155
|
-
function
|
|
1156
|
-
if (!(F[
|
|
1157
|
-
var
|
|
1158
|
-
return new
|
|
1154
|
+
function R(_) {
|
|
1155
|
+
function h(F, O, D, q, I) {
|
|
1156
|
+
if (!(F[O] instanceof _)) {
|
|
1157
|
+
var z = _.name || v, U = B(F[O]);
|
|
1158
|
+
return new w("Invalid " + q + " `" + I + "` of type " + ("`" + U + "` supplied to `" + D + "`, expected ") + ("instance of `" + z + "`."));
|
|
1159
1159
|
}
|
|
1160
1160
|
return null;
|
|
1161
1161
|
}
|
|
1162
|
-
return
|
|
1162
|
+
return N(h);
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1165
|
-
if (!Array.isArray(
|
|
1164
|
+
function P(_) {
|
|
1165
|
+
if (!Array.isArray(_))
|
|
1166
1166
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1167
1167
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1168
1168
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1169
|
-
function
|
|
1170
|
-
for (var
|
|
1171
|
-
if (
|
|
1169
|
+
function h(F, O, D, q, I) {
|
|
1170
|
+
for (var z = F[O], U = 0; U < _.length; U++)
|
|
1171
|
+
if (C(z, _[U]))
|
|
1172
1172
|
return null;
|
|
1173
|
-
var V = JSON.stringify(
|
|
1174
|
-
var ve =
|
|
1175
|
-
return ve === "symbol" ? String(
|
|
1173
|
+
var V = JSON.stringify(_, function(ie, x) {
|
|
1174
|
+
var ve = $(x);
|
|
1175
|
+
return ve === "symbol" ? String(x) : x;
|
|
1176
1176
|
});
|
|
1177
|
-
return new
|
|
1177
|
+
return new w("Invalid " + q + " `" + I + "` of value `" + String(z) + "` " + ("supplied to `" + D + "`, expected one of " + V + "."));
|
|
1178
1178
|
}
|
|
1179
|
-
return
|
|
1179
|
+
return N(h);
|
|
1180
1180
|
}
|
|
1181
|
-
function
|
|
1182
|
-
function
|
|
1183
|
-
if (typeof
|
|
1184
|
-
return new
|
|
1185
|
-
var
|
|
1186
|
-
if (
|
|
1187
|
-
return new
|
|
1188
|
-
for (var V in
|
|
1189
|
-
if (n(
|
|
1190
|
-
var W =
|
|
1181
|
+
function L(_) {
|
|
1182
|
+
function h(F, O, D, q, I) {
|
|
1183
|
+
if (typeof _ != "function")
|
|
1184
|
+
return new w("Property `" + I + "` of component `" + D + "` has invalid PropType notation inside objectOf.");
|
|
1185
|
+
var z = F[O], U = k(z);
|
|
1186
|
+
if (U !== "object")
|
|
1187
|
+
return new w("Invalid " + q + " `" + I + "` of type " + ("`" + U + "` supplied to `" + D + "`, expected an object."));
|
|
1188
|
+
for (var V in z)
|
|
1189
|
+
if (n(z, V)) {
|
|
1190
|
+
var W = _(z, V, D, q, I + "." + V, o);
|
|
1191
1191
|
if (W instanceof Error)
|
|
1192
1192
|
return W;
|
|
1193
1193
|
}
|
|
1194
1194
|
return null;
|
|
1195
1195
|
}
|
|
1196
|
-
return
|
|
1196
|
+
return N(h);
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1199
|
-
if (!Array.isArray(
|
|
1198
|
+
function Q(_) {
|
|
1199
|
+
if (!Array.isArray(_))
|
|
1200
1200
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1201
|
-
for (var
|
|
1202
|
-
var F =
|
|
1201
|
+
for (var h = 0; h < _.length; h++) {
|
|
1202
|
+
var F = _[h];
|
|
1203
1203
|
if (typeof F != "function")
|
|
1204
1204
|
return i(
|
|
1205
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1205
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + X(F) + " at index " + h + "."
|
|
1206
1206
|
), r;
|
|
1207
1207
|
}
|
|
1208
|
-
function
|
|
1209
|
-
for (var V = [], W = 0; W <
|
|
1210
|
-
var
|
|
1211
|
-
if (
|
|
1208
|
+
function O(D, q, I, z, U) {
|
|
1209
|
+
for (var V = [], W = 0; W < _.length; W++) {
|
|
1210
|
+
var ie = _[W], x = ie(D, q, I, z, U, o);
|
|
1211
|
+
if (x == null)
|
|
1212
1212
|
return null;
|
|
1213
|
-
|
|
1213
|
+
x.data && n(x.data, "expectedType") && V.push(x.data.expectedType);
|
|
1214
1214
|
}
|
|
1215
1215
|
var ve = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
|
|
1216
|
-
return new
|
|
1216
|
+
return new w("Invalid " + z + " `" + U + "` supplied to " + ("`" + I + "`" + ve + "."));
|
|
1217
1217
|
}
|
|
1218
|
-
return
|
|
1218
|
+
return N(O);
|
|
1219
1219
|
}
|
|
1220
|
-
function
|
|
1221
|
-
function
|
|
1222
|
-
return
|
|
1220
|
+
function te() {
|
|
1221
|
+
function _(h, F, O, D, q) {
|
|
1222
|
+
return K(h[F]) ? null : new w("Invalid " + D + " `" + q + "` supplied to " + ("`" + O + "`, expected a ReactNode."));
|
|
1223
1223
|
}
|
|
1224
|
-
return
|
|
1224
|
+
return N(_);
|
|
1225
1225
|
}
|
|
1226
|
-
function
|
|
1227
|
-
return new
|
|
1228
|
-
(
|
|
1226
|
+
function ee(_, h, F, O, D) {
|
|
1227
|
+
return new w(
|
|
1228
|
+
(_ || "React class") + ": " + h + " type `" + F + "." + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + D + "`."
|
|
1229
1229
|
);
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1232
|
-
function
|
|
1233
|
-
var
|
|
1234
|
-
if (
|
|
1235
|
-
return new
|
|
1236
|
-
for (var V in
|
|
1237
|
-
var W =
|
|
1231
|
+
function ae(_) {
|
|
1232
|
+
function h(F, O, D, q, I) {
|
|
1233
|
+
var z = F[O], U = k(z);
|
|
1234
|
+
if (U !== "object")
|
|
1235
|
+
return new w("Invalid " + q + " `" + I + "` of type `" + U + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
1236
|
+
for (var V in _) {
|
|
1237
|
+
var W = _[V];
|
|
1238
1238
|
if (typeof W != "function")
|
|
1239
|
-
return
|
|
1240
|
-
var
|
|
1241
|
-
if (
|
|
1242
|
-
return
|
|
1239
|
+
return ee(D, q, I, V, $(W));
|
|
1240
|
+
var ie = W(z, V, D, q, I + "." + V, o);
|
|
1241
|
+
if (ie)
|
|
1242
|
+
return ie;
|
|
1243
1243
|
}
|
|
1244
1244
|
return null;
|
|
1245
1245
|
}
|
|
1246
|
-
return
|
|
1246
|
+
return N(h);
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1249
|
-
function
|
|
1250
|
-
var
|
|
1251
|
-
if (
|
|
1252
|
-
return new
|
|
1253
|
-
var V = t({}, F[
|
|
1248
|
+
function se(_) {
|
|
1249
|
+
function h(F, O, D, q, I) {
|
|
1250
|
+
var z = F[O], U = k(z);
|
|
1251
|
+
if (U !== "object")
|
|
1252
|
+
return new w("Invalid " + q + " `" + I + "` of type `" + U + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
1253
|
+
var V = t({}, F[O], _);
|
|
1254
1254
|
for (var W in V) {
|
|
1255
|
-
var
|
|
1256
|
-
if (n(
|
|
1257
|
-
return
|
|
1258
|
-
if (!
|
|
1259
|
-
return new
|
|
1260
|
-
"Invalid " +
|
|
1261
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
1255
|
+
var ie = _[W];
|
|
1256
|
+
if (n(_, W) && typeof ie != "function")
|
|
1257
|
+
return ee(D, q, I, W, $(ie));
|
|
1258
|
+
if (!ie)
|
|
1259
|
+
return new w(
|
|
1260
|
+
"Invalid " + q + " `" + I + "` key `" + W + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(F[O], null, " ") + `
|
|
1261
|
+
Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
1262
1262
|
);
|
|
1263
|
-
var
|
|
1264
|
-
if (
|
|
1265
|
-
return
|
|
1263
|
+
var x = ie(z, W, D, q, I + "." + W, o);
|
|
1264
|
+
if (x)
|
|
1265
|
+
return x;
|
|
1266
1266
|
}
|
|
1267
1267
|
return null;
|
|
1268
1268
|
}
|
|
1269
|
-
return
|
|
1269
|
+
return N(h);
|
|
1270
1270
|
}
|
|
1271
|
-
function
|
|
1272
|
-
switch (typeof
|
|
1271
|
+
function K(_) {
|
|
1272
|
+
switch (typeof _) {
|
|
1273
1273
|
case "number":
|
|
1274
1274
|
case "string":
|
|
1275
1275
|
case "undefined":
|
|
1276
1276
|
return !0;
|
|
1277
1277
|
case "boolean":
|
|
1278
|
-
return !
|
|
1278
|
+
return !_;
|
|
1279
1279
|
case "object":
|
|
1280
|
-
if (Array.isArray(
|
|
1281
|
-
return
|
|
1282
|
-
if (
|
|
1280
|
+
if (Array.isArray(_))
|
|
1281
|
+
return _.every(K);
|
|
1282
|
+
if (_ === null || s(_))
|
|
1283
1283
|
return !0;
|
|
1284
|
-
var
|
|
1285
|
-
if (
|
|
1286
|
-
var F =
|
|
1287
|
-
if (
|
|
1288
|
-
for (; !(
|
|
1289
|
-
if (!
|
|
1284
|
+
var h = l(_);
|
|
1285
|
+
if (h) {
|
|
1286
|
+
var F = h.call(_), O;
|
|
1287
|
+
if (h !== _.entries) {
|
|
1288
|
+
for (; !(O = F.next()).done; )
|
|
1289
|
+
if (!K(O.value))
|
|
1290
1290
|
return !1;
|
|
1291
1291
|
} else
|
|
1292
|
-
for (; !(
|
|
1293
|
-
var
|
|
1294
|
-
if (
|
|
1292
|
+
for (; !(O = F.next()).done; ) {
|
|
1293
|
+
var D = O.value;
|
|
1294
|
+
if (D && !K(D[1]))
|
|
1295
1295
|
return !1;
|
|
1296
1296
|
}
|
|
1297
1297
|
} else
|
|
@@ -1301,61 +1301,61 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1301
1301
|
return !1;
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
|
-
function
|
|
1305
|
-
return
|
|
1304
|
+
function Z(_, h) {
|
|
1305
|
+
return _ === "symbol" ? !0 : h ? h["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && h instanceof Symbol : !1;
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1308
|
-
var
|
|
1309
|
-
return Array.isArray(
|
|
1307
|
+
function k(_) {
|
|
1308
|
+
var h = typeof _;
|
|
1309
|
+
return Array.isArray(_) ? "array" : _ instanceof RegExp ? "object" : Z(h, _) ? "symbol" : h;
|
|
1310
1310
|
}
|
|
1311
|
-
function
|
|
1312
|
-
if (typeof
|
|
1313
|
-
return "" +
|
|
1314
|
-
var
|
|
1315
|
-
if (
|
|
1316
|
-
if (
|
|
1311
|
+
function $(_) {
|
|
1312
|
+
if (typeof _ > "u" || _ === null)
|
|
1313
|
+
return "" + _;
|
|
1314
|
+
var h = k(_);
|
|
1315
|
+
if (h === "object") {
|
|
1316
|
+
if (_ instanceof Date)
|
|
1317
1317
|
return "date";
|
|
1318
|
-
if (
|
|
1318
|
+
if (_ instanceof RegExp)
|
|
1319
1319
|
return "regexp";
|
|
1320
1320
|
}
|
|
1321
|
-
return
|
|
1321
|
+
return h;
|
|
1322
1322
|
}
|
|
1323
|
-
function
|
|
1324
|
-
var
|
|
1325
|
-
switch (
|
|
1323
|
+
function X(_) {
|
|
1324
|
+
var h = $(_);
|
|
1325
|
+
switch (h) {
|
|
1326
1326
|
case "array":
|
|
1327
1327
|
case "object":
|
|
1328
|
-
return "an " +
|
|
1328
|
+
return "an " + h;
|
|
1329
1329
|
case "boolean":
|
|
1330
1330
|
case "date":
|
|
1331
1331
|
case "regexp":
|
|
1332
|
-
return "a " +
|
|
1332
|
+
return "a " + h;
|
|
1333
1333
|
default:
|
|
1334
|
-
return
|
|
1334
|
+
return h;
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
|
-
function B(
|
|
1338
|
-
return !
|
|
1337
|
+
function B(_) {
|
|
1338
|
+
return !_.constructor || !_.constructor.name ? v : _.constructor.name;
|
|
1339
1339
|
}
|
|
1340
1340
|
return y.checkPropTypes = a, y.resetWarningCache = a.resetWarningCache, y.PropTypes = y, y;
|
|
1341
1341
|
}, vt;
|
|
1342
1342
|
}
|
|
1343
1343
|
var xt, Ut;
|
|
1344
|
-
function
|
|
1344
|
+
function Ea() {
|
|
1345
1345
|
if (Ut) return xt;
|
|
1346
1346
|
Ut = 1;
|
|
1347
|
-
var e =
|
|
1347
|
+
var e = At();
|
|
1348
1348
|
function t() {
|
|
1349
1349
|
}
|
|
1350
1350
|
function o() {
|
|
1351
1351
|
}
|
|
1352
1352
|
return o.resetWarningCache = t, xt = function() {
|
|
1353
|
-
function n(r, s,
|
|
1353
|
+
function n(r, s, u, p, m, l) {
|
|
1354
1354
|
if (l !== e) {
|
|
1355
|
-
var
|
|
1355
|
+
var v = new Error(
|
|
1356
1356
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1357
1357
|
);
|
|
1358
|
-
throw
|
|
1358
|
+
throw v.name = "Invariant Violation", v;
|
|
1359
1359
|
}
|
|
1360
1360
|
}
|
|
1361
1361
|
n.isRequired = n;
|
|
@@ -1389,12 +1389,12 @@ function Na() {
|
|
|
1389
1389
|
}, xt;
|
|
1390
1390
|
}
|
|
1391
1391
|
if (process.env.NODE_ENV !== "production") {
|
|
1392
|
-
var Sa =
|
|
1393
|
-
kt.exports =
|
|
1392
|
+
var Sa = ho(), Ra = !0;
|
|
1393
|
+
kt.exports = Na()(Sa.isElement, Ra);
|
|
1394
1394
|
} else
|
|
1395
|
-
kt.exports =
|
|
1396
|
-
var
|
|
1397
|
-
const T = /* @__PURE__ */
|
|
1395
|
+
kt.exports = Ea()();
|
|
1396
|
+
var Aa = kt.exports;
|
|
1397
|
+
const T = /* @__PURE__ */ go(Aa);
|
|
1398
1398
|
function De(e, t, o, n) {
|
|
1399
1399
|
function a(i) {
|
|
1400
1400
|
return i instanceof o ? i : new o(function(r) {
|
|
@@ -1402,22 +1402,22 @@ function De(e, t, o, n) {
|
|
|
1402
1402
|
});
|
|
1403
1403
|
}
|
|
1404
1404
|
return new (o || (o = Promise))(function(i, r) {
|
|
1405
|
-
function s(
|
|
1405
|
+
function s(m) {
|
|
1406
1406
|
try {
|
|
1407
|
-
p(n.next(
|
|
1407
|
+
p(n.next(m));
|
|
1408
1408
|
} catch (l) {
|
|
1409
1409
|
r(l);
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function u(m) {
|
|
1413
1413
|
try {
|
|
1414
|
-
p(n.throw(
|
|
1414
|
+
p(n.throw(m));
|
|
1415
1415
|
} catch (l) {
|
|
1416
1416
|
r(l);
|
|
1417
1417
|
}
|
|
1418
1418
|
}
|
|
1419
|
-
function p(
|
|
1420
|
-
|
|
1419
|
+
function p(m) {
|
|
1420
|
+
m.done ? i(m.value) : a(m.value).then(s, u);
|
|
1421
1421
|
}
|
|
1422
1422
|
p((n = n.apply(e, t || [])).next());
|
|
1423
1423
|
});
|
|
@@ -2625,7 +2625,7 @@ const ja = /* @__PURE__ */ new Map([
|
|
|
2625
2625
|
["zmm", "application/vnd.handheld-entertainment+xml"],
|
|
2626
2626
|
["zsh", "text/x-scriptzsh"]
|
|
2627
2627
|
]);
|
|
2628
|
-
function
|
|
2628
|
+
function Oe(e, t, o) {
|
|
2629
2629
|
const n = Da(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
2630
2630
|
return typeof n.path != "string" && Ht(n, "path", i), Ht(n, "relativePath", i), n;
|
|
2631
2631
|
}
|
|
@@ -2659,24 +2659,24 @@ const Ia = [
|
|
|
2659
2659
|
];
|
|
2660
2660
|
function La(e) {
|
|
2661
2661
|
return De(this, void 0, void 0, function* () {
|
|
2662
|
-
return Xe(e) &&
|
|
2662
|
+
return Xe(e) && Fa(e.dataTransfer) ? Ba(e.dataTransfer, e.type) : Oa(e) ? za(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? Pa(e) : [];
|
|
2663
2663
|
});
|
|
2664
2664
|
}
|
|
2665
|
-
function
|
|
2665
|
+
function Fa(e) {
|
|
2666
2666
|
return Xe(e);
|
|
2667
2667
|
}
|
|
2668
|
-
function
|
|
2668
|
+
function Oa(e) {
|
|
2669
2669
|
return Xe(e) && Xe(e.target);
|
|
2670
2670
|
}
|
|
2671
2671
|
function Xe(e) {
|
|
2672
2672
|
return typeof e == "object" && e !== null;
|
|
2673
2673
|
}
|
|
2674
2674
|
function za(e) {
|
|
2675
|
-
return Ct(e.target.files).map((t) =>
|
|
2675
|
+
return Ct(e.target.files).map((t) => Oe(t));
|
|
2676
2676
|
}
|
|
2677
2677
|
function Pa(e) {
|
|
2678
2678
|
return De(this, void 0, void 0, function* () {
|
|
2679
|
-
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) =>
|
|
2679
|
+
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => Oe(o));
|
|
2680
2680
|
});
|
|
2681
2681
|
}
|
|
2682
2682
|
function Ba(e, t) {
|
|
@@ -2686,9 +2686,9 @@ function Ba(e, t) {
|
|
|
2686
2686
|
if (t !== "drop")
|
|
2687
2687
|
return o;
|
|
2688
2688
|
const n = yield Promise.all(o.map(Wa));
|
|
2689
|
-
return Vt(
|
|
2689
|
+
return Vt(yo(n));
|
|
2690
2690
|
}
|
|
2691
|
-
return Vt(Ct(e.files).map((o) =>
|
|
2691
|
+
return Vt(Ct(e.files).map((o) => Oe(o)));
|
|
2692
2692
|
});
|
|
2693
2693
|
}
|
|
2694
2694
|
function Vt(e) {
|
|
@@ -2708,12 +2708,12 @@ function Wa(e) {
|
|
|
2708
2708
|
if (typeof e.webkitGetAsEntry != "function")
|
|
2709
2709
|
return Yt(e);
|
|
2710
2710
|
const t = e.webkitGetAsEntry();
|
|
2711
|
-
return t && t.isDirectory ?
|
|
2711
|
+
return t && t.isDirectory ? wo(t) : Yt(e, t);
|
|
2712
2712
|
}
|
|
2713
|
-
function
|
|
2713
|
+
function yo(e) {
|
|
2714
2714
|
return e.reduce((t, o) => [
|
|
2715
2715
|
...t,
|
|
2716
|
-
...Array.isArray(o) ?
|
|
2716
|
+
...Array.isArray(o) ? yo(o) : [o]
|
|
2717
2717
|
], []);
|
|
2718
2718
|
}
|
|
2719
2719
|
function Yt(e, t) {
|
|
@@ -2725,21 +2725,21 @@ function Yt(e, t) {
|
|
|
2725
2725
|
throw new Error(`${e} is not a File`);
|
|
2726
2726
|
if (i !== void 0) {
|
|
2727
2727
|
const r = yield i.getFile();
|
|
2728
|
-
return r.handle = i,
|
|
2728
|
+
return r.handle = i, Oe(r);
|
|
2729
2729
|
}
|
|
2730
2730
|
}
|
|
2731
2731
|
const n = e.getAsFile();
|
|
2732
2732
|
if (!n)
|
|
2733
2733
|
throw new Error(`${e} is not a File`);
|
|
2734
|
-
return
|
|
2734
|
+
return Oe(n, (o = t == null ? void 0 : t.fullPath) !== null && o !== void 0 ? o : void 0);
|
|
2735
2735
|
});
|
|
2736
2736
|
}
|
|
2737
2737
|
function Ma(e) {
|
|
2738
2738
|
return De(this, void 0, void 0, function* () {
|
|
2739
|
-
return e.isDirectory ?
|
|
2739
|
+
return e.isDirectory ? wo(e) : $a(e);
|
|
2740
2740
|
});
|
|
2741
2741
|
}
|
|
2742
|
-
function
|
|
2742
|
+
function wo(e) {
|
|
2743
2743
|
const t = e.createReader();
|
|
2744
2744
|
return new Promise((o, n) => {
|
|
2745
2745
|
const a = [];
|
|
@@ -2766,7 +2766,7 @@ function $a(e) {
|
|
|
2766
2766
|
return De(this, void 0, void 0, function* () {
|
|
2767
2767
|
return new Promise((t, o) => {
|
|
2768
2768
|
e.file((n) => {
|
|
2769
|
-
const a =
|
|
2769
|
+
const a = Oe(n, e.fullPath);
|
|
2770
2770
|
t(a);
|
|
2771
2771
|
}, (n) => {
|
|
2772
2772
|
o(n);
|
|
@@ -2788,7 +2788,7 @@ var gt = function(e, t) {
|
|
|
2788
2788
|
return !0;
|
|
2789
2789
|
};
|
|
2790
2790
|
function Gt(e) {
|
|
2791
|
-
return Ha(e) || Ua(e) ||
|
|
2791
|
+
return Ha(e) || Ua(e) || Co(e) || qa();
|
|
2792
2792
|
}
|
|
2793
2793
|
function qa() {
|
|
2794
2794
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
@@ -2814,24 +2814,24 @@ function Xt(e) {
|
|
|
2814
2814
|
for (var t = 1; t < arguments.length; t++) {
|
|
2815
2815
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
2816
2816
|
t % 2 ? Kt(Object(o), !0).forEach(function(n) {
|
|
2817
|
-
|
|
2817
|
+
ko(e, n, o[n]);
|
|
2818
2818
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : Kt(Object(o)).forEach(function(n) {
|
|
2819
2819
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
2820
2820
|
});
|
|
2821
2821
|
}
|
|
2822
2822
|
return e;
|
|
2823
2823
|
}
|
|
2824
|
-
function
|
|
2824
|
+
function ko(e, t, o) {
|
|
2825
2825
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
2826
2826
|
}
|
|
2827
2827
|
function Me(e, t) {
|
|
2828
|
-
return Ga(e) || Ya(e, t) ||
|
|
2828
|
+
return Ga(e) || Ya(e, t) || Co(e, t) || Va();
|
|
2829
2829
|
}
|
|
2830
2830
|
function Va() {
|
|
2831
2831
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2832
2832
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2833
2833
|
}
|
|
2834
|
-
function
|
|
2834
|
+
function Co(e, t) {
|
|
2835
2835
|
if (e) {
|
|
2836
2836
|
if (typeof e == "string") return Tt(e, t);
|
|
2837
2837
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -2852,8 +2852,8 @@ function Ya(e, t) {
|
|
|
2852
2852
|
try {
|
|
2853
2853
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
2854
2854
|
;
|
|
2855
|
-
} catch (
|
|
2856
|
-
i = !0, s =
|
|
2855
|
+
} catch (u) {
|
|
2856
|
+
i = !0, s = u;
|
|
2857
2857
|
} finally {
|
|
2858
2858
|
try {
|
|
2859
2859
|
!a && o.return != null && o.return();
|
|
@@ -2887,11 +2887,11 @@ var Ka = typeof gt == "function" ? gt : gt.default, Xa = "file-invalid-type", Za
|
|
|
2887
2887
|
code: Ja,
|
|
2888
2888
|
message: "Too many files"
|
|
2889
2889
|
};
|
|
2890
|
-
function
|
|
2890
|
+
function To(e, t) {
|
|
2891
2891
|
var o = e.type === "application/x-moz-file" || Ka(e, t);
|
|
2892
2892
|
return [o, o ? null : ei(t)];
|
|
2893
2893
|
}
|
|
2894
|
-
function
|
|
2894
|
+
function No(e, t, o) {
|
|
2895
2895
|
if (je(e.size))
|
|
2896
2896
|
if (je(t) && je(o)) {
|
|
2897
2897
|
if (e.size > o) return [!1, Zt(o)];
|
|
@@ -2907,9 +2907,9 @@ function je(e) {
|
|
|
2907
2907
|
}
|
|
2908
2908
|
function oi(e) {
|
|
2909
2909
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2910
|
-
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(
|
|
2911
|
-
var p =
|
|
2912
|
-
return l &&
|
|
2910
|
+
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(u) {
|
|
2911
|
+
var p = To(u, o), m = Me(p, 1), l = m[0], v = No(u, n, a), y = Me(v, 1), C = y[0], w = s ? s(u) : null;
|
|
2912
|
+
return l && C && !w;
|
|
2913
2913
|
});
|
|
2914
2914
|
}
|
|
2915
2915
|
function Ze(e) {
|
|
@@ -2951,10 +2951,10 @@ function si(e) {
|
|
|
2951
2951
|
if (je(e)) {
|
|
2952
2952
|
var t = Object.entries(e).filter(function(o) {
|
|
2953
2953
|
var n = Me(o, 2), a = n[0], i = n[1], r = !0;
|
|
2954
|
-
return Eo(a) || (console.warn('Skipped "'.concat(a, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), r = !1), (!Array.isArray(i) || !i.every(
|
|
2954
|
+
return Eo(a) || (console.warn('Skipped "'.concat(a, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), r = !1), (!Array.isArray(i) || !i.every(So)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
2955
2955
|
}).reduce(function(o, n) {
|
|
2956
2956
|
var a = Me(n, 2), i = a[0], r = a[1];
|
|
2957
|
-
return Xt(Xt({}, o), {},
|
|
2957
|
+
return Xt(Xt({}, o), {}, ko({}, i, r));
|
|
2958
2958
|
}, {});
|
|
2959
2959
|
return [{
|
|
2960
2960
|
// description is required due to https://crbug.com/1264708
|
|
@@ -2970,7 +2970,7 @@ function pi(e) {
|
|
|
2970
2970
|
var n = Me(o, 2), a = n[0], i = n[1];
|
|
2971
2971
|
return [].concat(Gt(t), [a], Gt(i));
|
|
2972
2972
|
}, []).filter(function(t) {
|
|
2973
|
-
return Eo(t) ||
|
|
2973
|
+
return Eo(t) || So(t);
|
|
2974
2974
|
}).join(",");
|
|
2975
2975
|
}
|
|
2976
2976
|
function li(e) {
|
|
@@ -2982,12 +2982,12 @@ function ci(e) {
|
|
|
2982
2982
|
function Eo(e) {
|
|
2983
2983
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
2984
2984
|
}
|
|
2985
|
-
function
|
|
2985
|
+
function So(e) {
|
|
2986
2986
|
return /^.*\.[\w]+$/.test(e);
|
|
2987
2987
|
}
|
|
2988
|
-
var di = ["children"], ui = ["open"], mi = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"],
|
|
2989
|
-
function
|
|
2990
|
-
return gi(e) || xi(e) ||
|
|
2988
|
+
var di = ["children"], ui = ["open"], mi = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], _i = ["refKey", "onChange", "onClick"];
|
|
2989
|
+
function fi(e) {
|
|
2990
|
+
return gi(e) || xi(e) || Ro(e) || vi();
|
|
2991
2991
|
}
|
|
2992
2992
|
function vi() {
|
|
2993
2993
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
@@ -2997,24 +2997,24 @@ function xi(e) {
|
|
|
2997
2997
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2998
2998
|
}
|
|
2999
2999
|
function gi(e) {
|
|
3000
|
-
if (Array.isArray(e)) return
|
|
3000
|
+
if (Array.isArray(e)) return Nt(e);
|
|
3001
3001
|
}
|
|
3002
3002
|
function ht(e, t) {
|
|
3003
|
-
return yi(e) || bi(e, t) ||
|
|
3003
|
+
return yi(e) || bi(e, t) || Ro(e, t) || hi();
|
|
3004
3004
|
}
|
|
3005
3005
|
function hi() {
|
|
3006
3006
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3007
3007
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3008
3008
|
}
|
|
3009
|
-
function
|
|
3009
|
+
function Ro(e, t) {
|
|
3010
3010
|
if (e) {
|
|
3011
|
-
if (typeof e == "string") return
|
|
3011
|
+
if (typeof e == "string") return Nt(e, t);
|
|
3012
3012
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
3013
3013
|
if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
|
|
3014
|
-
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return
|
|
3014
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Nt(e, t);
|
|
3015
3015
|
}
|
|
3016
3016
|
}
|
|
3017
|
-
function
|
|
3017
|
+
function Nt(e, t) {
|
|
3018
3018
|
(t == null || t > e.length) && (t = e.length);
|
|
3019
3019
|
for (var o = 0, n = new Array(t); o < t; o++)
|
|
3020
3020
|
n[o] = e[o];
|
|
@@ -3027,8 +3027,8 @@ function bi(e, t) {
|
|
|
3027
3027
|
try {
|
|
3028
3028
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
3029
3029
|
;
|
|
3030
|
-
} catch (
|
|
3031
|
-
i = !0, s =
|
|
3030
|
+
} catch (u) {
|
|
3031
|
+
i = !0, s = u;
|
|
3032
3032
|
} finally {
|
|
3033
3033
|
try {
|
|
3034
3034
|
!a && o.return != null && o.return();
|
|
@@ -3056,14 +3056,14 @@ function J(e) {
|
|
|
3056
3056
|
for (var t = 1; t < arguments.length; t++) {
|
|
3057
3057
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
3058
3058
|
t % 2 ? eo(Object(o), !0).forEach(function(n) {
|
|
3059
|
-
|
|
3059
|
+
Et(e, n, o[n]);
|
|
3060
3060
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : eo(Object(o)).forEach(function(n) {
|
|
3061
3061
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
3062
3062
|
});
|
|
3063
3063
|
}
|
|
3064
3064
|
return e;
|
|
3065
3065
|
}
|
|
3066
|
-
function
|
|
3066
|
+
function Et(e, t, o) {
|
|
3067
3067
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
3068
3068
|
}
|
|
3069
3069
|
function Qe(e, t) {
|
|
@@ -3083,13 +3083,13 @@ function wi(e, t) {
|
|
|
3083
3083
|
a = n[i], !(t.indexOf(a) >= 0) && (o[a] = e[a]);
|
|
3084
3084
|
return o;
|
|
3085
3085
|
}
|
|
3086
|
-
var et = /* @__PURE__ */
|
|
3086
|
+
var et = /* @__PURE__ */ Bo(function(e, t) {
|
|
3087
3087
|
var o = e.children, n = Qe(e, di), a = ki(n), i = a.open, r = Qe(a, ui);
|
|
3088
|
-
return
|
|
3088
|
+
return Wo(t, function() {
|
|
3089
3089
|
return {
|
|
3090
3090
|
open: i
|
|
3091
3091
|
};
|
|
3092
|
-
}, [i]), /* @__PURE__ */ $e.createElement(
|
|
3092
|
+
}, [i]), /* @__PURE__ */ $e.createElement(Mo, null, o(J(J({}, r), {}, {
|
|
3093
3093
|
open: i
|
|
3094
3094
|
})));
|
|
3095
3095
|
});
|
|
@@ -3289,186 +3289,186 @@ var St = {
|
|
|
3289
3289
|
fileRejections: []
|
|
3290
3290
|
};
|
|
3291
3291
|
function ki() {
|
|
3292
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, Ao), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple,
|
|
3292
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, Ao), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, u = t.maxFiles, p = t.onDragEnter, m = t.onDragLeave, l = t.onDragOver, v = t.onDrop, y = t.onDropAccepted, C = t.onDropRejected, w = t.onFileDialogCancel, N = t.onFileDialogOpen, E = t.useFsAccessApi, M = t.autoFocus, j = t.preventDropOnDocument, b = t.noClick, c = t.noKeyboard, R = t.noDrag, P = t.noDragEventsBubbling, L = t.onError, Q = t.validator, te = Fe(function() {
|
|
3293
3293
|
return pi(o);
|
|
3294
|
-
}, [o]),
|
|
3294
|
+
}, [o]), ee = Fe(function() {
|
|
3295
3295
|
return si(o);
|
|
3296
|
-
}, [o]),
|
|
3297
|
-
return typeof
|
|
3298
|
-
}, [
|
|
3299
|
-
return typeof
|
|
3300
|
-
}, [
|
|
3301
|
-
!F.current &&
|
|
3302
|
-
if (
|
|
3303
|
-
var
|
|
3304
|
-
|
|
3296
|
+
}, [o]), ae = Fe(function() {
|
|
3297
|
+
return typeof N == "function" ? N : to;
|
|
3298
|
+
}, [N]), se = Fe(function() {
|
|
3299
|
+
return typeof w == "function" ? w : to;
|
|
3300
|
+
}, [w]), K = fe(null), Z = fe(null), k = $o(Ci, St), $ = ht(k, 2), X = $[0], B = $[1], _ = X.isFocused, h = X.isFileDialogActive, F = fe(typeof window < "u" && window.isSecureContext && E && ri()), O = function() {
|
|
3301
|
+
!F.current && h && setTimeout(function() {
|
|
3302
|
+
if (Z.current) {
|
|
3303
|
+
var A = Z.current.files;
|
|
3304
|
+
A.length || (B({
|
|
3305
3305
|
type: "closeDialog"
|
|
3306
|
-
}),
|
|
3306
|
+
}), se());
|
|
3307
3307
|
}
|
|
3308
3308
|
}, 300);
|
|
3309
3309
|
};
|
|
3310
|
-
|
|
3311
|
-
return window.addEventListener("focus",
|
|
3312
|
-
window.removeEventListener("focus",
|
|
3310
|
+
re(function() {
|
|
3311
|
+
return window.addEventListener("focus", O, !1), function() {
|
|
3312
|
+
window.removeEventListener("focus", O, !1);
|
|
3313
3313
|
};
|
|
3314
|
-
}, [
|
|
3315
|
-
var
|
|
3316
|
-
|
|
3314
|
+
}, [Z, h, se, F]);
|
|
3315
|
+
var D = fe([]), q = function(A) {
|
|
3316
|
+
K.current && K.current.contains(A.target) || (A.preventDefault(), D.current = []);
|
|
3317
3317
|
};
|
|
3318
|
-
|
|
3319
|
-
return
|
|
3320
|
-
|
|
3318
|
+
re(function() {
|
|
3319
|
+
return j && (document.addEventListener("dragover", Jt, !1), document.addEventListener("drop", q, !1)), function() {
|
|
3320
|
+
j && (document.removeEventListener("dragover", Jt), document.removeEventListener("drop", q));
|
|
3321
3321
|
};
|
|
3322
|
-
}, [
|
|
3323
|
-
return !n &&
|
|
3322
|
+
}, [K, j]), re(function() {
|
|
3323
|
+
return !n && M && K.current && K.current.focus(), function() {
|
|
3324
3324
|
};
|
|
3325
|
-
}, [
|
|
3326
|
-
var
|
|
3327
|
-
|
|
3328
|
-
}, [
|
|
3329
|
-
|
|
3330
|
-
if (!(Ze(
|
|
3331
|
-
var
|
|
3332
|
-
files:
|
|
3333
|
-
accept:
|
|
3325
|
+
}, [K, M, n]);
|
|
3326
|
+
var I = _e(function(g) {
|
|
3327
|
+
L ? L(g) : console.error(g);
|
|
3328
|
+
}, [L]), z = _e(function(g) {
|
|
3329
|
+
g.preventDefault(), g.persist(), Ue(g), D.current = [].concat(fi(D.current), [g.target]), Ge(g) && Promise.resolve(a(g)).then(function(A) {
|
|
3330
|
+
if (!(Ze(g) && !P)) {
|
|
3331
|
+
var oe = A.length, pe = oe > 0 && oi({
|
|
3332
|
+
files: A,
|
|
3333
|
+
accept: te,
|
|
3334
3334
|
minSize: r,
|
|
3335
3335
|
maxSize: i,
|
|
3336
3336
|
multiple: s,
|
|
3337
|
-
maxFiles:
|
|
3338
|
-
validator:
|
|
3339
|
-
}), xe =
|
|
3337
|
+
maxFiles: u,
|
|
3338
|
+
validator: Q
|
|
3339
|
+
}), xe = oe > 0 && !pe;
|
|
3340
3340
|
B({
|
|
3341
|
-
isDragAccept:
|
|
3341
|
+
isDragAccept: pe,
|
|
3342
3342
|
isDragReject: xe,
|
|
3343
3343
|
isDragActive: !0,
|
|
3344
3344
|
type: "setDraggedFiles"
|
|
3345
|
-
}), p && p(
|
|
3345
|
+
}), p && p(g);
|
|
3346
3346
|
}
|
|
3347
|
-
}).catch(function(
|
|
3348
|
-
return
|
|
3347
|
+
}).catch(function(A) {
|
|
3348
|
+
return I(A);
|
|
3349
3349
|
});
|
|
3350
|
-
}, [a, p,
|
|
3351
|
-
|
|
3352
|
-
var
|
|
3353
|
-
if (
|
|
3350
|
+
}, [a, p, I, P, te, r, i, s, u, Q]), U = _e(function(g) {
|
|
3351
|
+
g.preventDefault(), g.persist(), Ue(g);
|
|
3352
|
+
var A = Ge(g);
|
|
3353
|
+
if (A && g.dataTransfer)
|
|
3354
3354
|
try {
|
|
3355
|
-
|
|
3355
|
+
g.dataTransfer.dropEffect = "copy";
|
|
3356
3356
|
} catch {
|
|
3357
3357
|
}
|
|
3358
|
-
return
|
|
3359
|
-
}, [l,
|
|
3360
|
-
|
|
3361
|
-
var
|
|
3362
|
-
return
|
|
3363
|
-
}),
|
|
3364
|
-
|
|
3358
|
+
return A && l && l(g), !1;
|
|
3359
|
+
}, [l, P]), V = _e(function(g) {
|
|
3360
|
+
g.preventDefault(), g.persist(), Ue(g);
|
|
3361
|
+
var A = D.current.filter(function(pe) {
|
|
3362
|
+
return K.current && K.current.contains(pe);
|
|
3363
|
+
}), oe = A.indexOf(g.target);
|
|
3364
|
+
oe !== -1 && A.splice(oe, 1), D.current = A, !(A.length > 0) && (B({
|
|
3365
3365
|
type: "setDraggedFiles",
|
|
3366
3366
|
isDragActive: !1,
|
|
3367
3367
|
isDragAccept: !1,
|
|
3368
3368
|
isDragReject: !1
|
|
3369
|
-
}), Ge(
|
|
3370
|
-
}, [
|
|
3371
|
-
var
|
|
3372
|
-
|
|
3373
|
-
var Pe =
|
|
3369
|
+
}), Ge(g) && m && m(g));
|
|
3370
|
+
}, [K, m, P]), W = _e(function(g, A) {
|
|
3371
|
+
var oe = [], pe = [];
|
|
3372
|
+
g.forEach(function(xe) {
|
|
3373
|
+
var Pe = To(xe, te), Le = ht(Pe, 2), ot = Le[0], nt = Le[1], at = No(xe, r, i), He = ht(at, 2), it = He[0], rt = He[1], st = Q ? Q(xe) : null;
|
|
3374
3374
|
if (ot && it && !st)
|
|
3375
|
-
|
|
3375
|
+
oe.push(xe);
|
|
3376
3376
|
else {
|
|
3377
3377
|
var pt = [nt, rt];
|
|
3378
|
-
st && (pt = pt.concat(st)),
|
|
3378
|
+
st && (pt = pt.concat(st)), pe.push({
|
|
3379
3379
|
file: xe,
|
|
3380
|
-
errors: pt.filter(function(
|
|
3381
|
-
return
|
|
3380
|
+
errors: pt.filter(function(Po) {
|
|
3381
|
+
return Po;
|
|
3382
3382
|
})
|
|
3383
3383
|
});
|
|
3384
3384
|
}
|
|
3385
|
-
}), (!s &&
|
|
3386
|
-
|
|
3385
|
+
}), (!s && oe.length > 1 || s && u >= 1 && oe.length > u) && (oe.forEach(function(xe) {
|
|
3386
|
+
pe.push({
|
|
3387
3387
|
file: xe,
|
|
3388
3388
|
errors: [ti]
|
|
3389
3389
|
});
|
|
3390
|
-
}),
|
|
3391
|
-
acceptedFiles:
|
|
3392
|
-
fileRejections:
|
|
3393
|
-
isDragReject:
|
|
3390
|
+
}), oe.splice(0)), B({
|
|
3391
|
+
acceptedFiles: oe,
|
|
3392
|
+
fileRejections: pe,
|
|
3393
|
+
isDragReject: pe.length > 0,
|
|
3394
3394
|
type: "setFiles"
|
|
3395
|
-
}),
|
|
3396
|
-
}, [B, s,
|
|
3397
|
-
|
|
3398
|
-
Ze(
|
|
3399
|
-
}).catch(function(
|
|
3400
|
-
return
|
|
3395
|
+
}), v && v(oe, pe, A), pe.length > 0 && C && C(pe, A), oe.length > 0 && y && y(oe, A);
|
|
3396
|
+
}, [B, s, te, r, i, u, v, y, C, Q]), ie = _e(function(g) {
|
|
3397
|
+
g.preventDefault(), g.persist(), Ue(g), D.current = [], Ge(g) && Promise.resolve(a(g)).then(function(A) {
|
|
3398
|
+
Ze(g) && !P || W(A, g);
|
|
3399
|
+
}).catch(function(A) {
|
|
3400
|
+
return I(A);
|
|
3401
3401
|
}), B({
|
|
3402
3402
|
type: "reset"
|
|
3403
3403
|
});
|
|
3404
|
-
}, [a, W,
|
|
3404
|
+
}, [a, W, I, P]), x = _e(function() {
|
|
3405
3405
|
if (F.current) {
|
|
3406
3406
|
B({
|
|
3407
3407
|
type: "openDialog"
|
|
3408
|
-
}),
|
|
3409
|
-
var
|
|
3408
|
+
}), ae();
|
|
3409
|
+
var g = {
|
|
3410
3410
|
multiple: s,
|
|
3411
|
-
types:
|
|
3411
|
+
types: ee
|
|
3412
3412
|
};
|
|
3413
|
-
window.showOpenFilePicker(
|
|
3414
|
-
return a(
|
|
3415
|
-
}).then(function(
|
|
3416
|
-
W(
|
|
3413
|
+
window.showOpenFilePicker(g).then(function(A) {
|
|
3414
|
+
return a(A);
|
|
3415
|
+
}).then(function(A) {
|
|
3416
|
+
W(A, null), B({
|
|
3417
3417
|
type: "closeDialog"
|
|
3418
3418
|
});
|
|
3419
|
-
}).catch(function(
|
|
3420
|
-
li(
|
|
3419
|
+
}).catch(function(A) {
|
|
3420
|
+
li(A) ? (se(A), B({
|
|
3421
3421
|
type: "closeDialog"
|
|
3422
|
-
})) : ci(
|
|
3422
|
+
})) : ci(A) ? (F.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) : I(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : I(A);
|
|
3423
3423
|
});
|
|
3424
3424
|
return;
|
|
3425
3425
|
}
|
|
3426
|
-
|
|
3426
|
+
Z.current && (B({
|
|
3427
3427
|
type: "openDialog"
|
|
3428
|
-
}),
|
|
3429
|
-
}, [B,
|
|
3430
|
-
!
|
|
3431
|
-
}, [
|
|
3428
|
+
}), ae(), Z.current.value = null, Z.current.click());
|
|
3429
|
+
}, [B, ae, se, E, W, I, ee, s]), ve = _e(function(g) {
|
|
3430
|
+
!K.current || !K.current.isEqualNode(g.target) || (g.key === " " || g.key === "Enter" || g.keyCode === 32 || g.keyCode === 13) && (g.preventDefault(), x());
|
|
3431
|
+
}, [K, x]), Se = _e(function() {
|
|
3432
3432
|
B({
|
|
3433
3433
|
type: "focus"
|
|
3434
3434
|
});
|
|
3435
|
-
}, []), ze =
|
|
3435
|
+
}, []), ze = _e(function() {
|
|
3436
3436
|
B({
|
|
3437
3437
|
type: "blur"
|
|
3438
3438
|
});
|
|
3439
|
-
}, []), It =
|
|
3440
|
-
|
|
3441
|
-
}, [
|
|
3442
|
-
return n ? null :
|
|
3443
|
-
}, tt = function(
|
|
3444
|
-
return
|
|
3445
|
-
}, qe = function(
|
|
3446
|
-
return
|
|
3447
|
-
}, Ue = function(
|
|
3448
|
-
|
|
3449
|
-
},
|
|
3439
|
+
}, []), It = _e(function() {
|
|
3440
|
+
b || (ii() ? setTimeout(x, 0) : x());
|
|
3441
|
+
}, [b, x]), Ie = function(A) {
|
|
3442
|
+
return n ? null : A;
|
|
3443
|
+
}, tt = function(A) {
|
|
3444
|
+
return c ? null : Ie(A);
|
|
3445
|
+
}, qe = function(A) {
|
|
3446
|
+
return R ? null : Ie(A);
|
|
3447
|
+
}, Ue = function(A) {
|
|
3448
|
+
P && A.stopPropagation();
|
|
3449
|
+
}, Fo = Fe(function() {
|
|
3450
3450
|
return function() {
|
|
3451
|
-
var
|
|
3452
|
-
return J(J(
|
|
3451
|
+
var g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, A = g.refKey, oe = A === void 0 ? "ref" : A, pe = g.role, xe = g.onKeyDown, Pe = g.onFocus, Le = g.onBlur, ot = g.onClick, nt = g.onDragEnter, at = g.onDragOver, He = g.onDragLeave, it = g.onDrop, rt = Qe(g, mi);
|
|
3452
|
+
return J(J(Et({
|
|
3453
3453
|
onKeyDown: tt(Ce(xe, ve)),
|
|
3454
3454
|
onFocus: tt(Ce(Pe, Se)),
|
|
3455
3455
|
onBlur: tt(Ce(Le, ze)),
|
|
3456
3456
|
onClick: Ie(Ce(ot, It)),
|
|
3457
|
-
onDragEnter: qe(Ce(nt,
|
|
3458
|
-
onDragOver: qe(Ce(at,
|
|
3457
|
+
onDragEnter: qe(Ce(nt, z)),
|
|
3458
|
+
onDragOver: qe(Ce(at, U)),
|
|
3459
3459
|
onDragLeave: qe(Ce(He, V)),
|
|
3460
|
-
onDrop: qe(Ce(it,
|
|
3461
|
-
role: typeof
|
|
3462
|
-
},
|
|
3460
|
+
onDrop: qe(Ce(it, ie)),
|
|
3461
|
+
role: typeof pe == "string" && pe !== "" ? pe : "presentation"
|
|
3462
|
+
}, oe, K), !n && !c ? {
|
|
3463
3463
|
tabIndex: 0
|
|
3464
3464
|
} : {}), rt);
|
|
3465
3465
|
};
|
|
3466
|
-
}, [
|
|
3467
|
-
|
|
3468
|
-
}, []),
|
|
3466
|
+
}, [K, ve, Se, ze, It, z, U, V, ie, c, R, n]), Oo = _e(function(g) {
|
|
3467
|
+
g.stopPropagation();
|
|
3468
|
+
}, []), zo = Fe(function() {
|
|
3469
3469
|
return function() {
|
|
3470
|
-
var
|
|
3471
|
-
accept:
|
|
3470
|
+
var g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, A = g.refKey, oe = A === void 0 ? "ref" : A, pe = g.onChange, xe = g.onClick, Pe = Qe(g, _i), Le = Et({
|
|
3471
|
+
accept: te,
|
|
3472
3472
|
multiple: s,
|
|
3473
3473
|
type: "file",
|
|
3474
3474
|
style: {
|
|
@@ -3483,20 +3483,20 @@ function ki() {
|
|
|
3483
3483
|
width: "1px",
|
|
3484
3484
|
whiteSpace: "nowrap"
|
|
3485
3485
|
},
|
|
3486
|
-
onChange: Ie(Ce(
|
|
3486
|
+
onChange: Ie(Ce(pe, ie)),
|
|
3487
3487
|
onClick: Ie(Ce(xe, Oo)),
|
|
3488
3488
|
tabIndex: -1
|
|
3489
|
-
},
|
|
3489
|
+
}, oe, Z);
|
|
3490
3490
|
return J(J({}, Le), Pe);
|
|
3491
3491
|
};
|
|
3492
|
-
}, [
|
|
3493
|
-
return J(J({},
|
|
3494
|
-
isFocused:
|
|
3495
|
-
getRootProps:
|
|
3496
|
-
getInputProps:
|
|
3497
|
-
rootRef:
|
|
3498
|
-
inputRef:
|
|
3499
|
-
open: Ie(
|
|
3492
|
+
}, [Z, o, s, ie, n]);
|
|
3493
|
+
return J(J({}, X), {}, {
|
|
3494
|
+
isFocused: _ && !n,
|
|
3495
|
+
getRootProps: Fo,
|
|
3496
|
+
getInputProps: zo,
|
|
3497
|
+
rootRef: K,
|
|
3498
|
+
inputRef: Z,
|
|
3499
|
+
open: Ie(x)
|
|
3500
3500
|
});
|
|
3501
3501
|
}
|
|
3502
3502
|
function Ci(e, t) {
|
|
@@ -3546,95 +3546,95 @@ const Ti = (e) => {
|
|
|
3546
3546
|
disabled: i,
|
|
3547
3547
|
name: r,
|
|
3548
3548
|
multiple: s,
|
|
3549
|
-
maxFiles:
|
|
3549
|
+
maxFiles: u,
|
|
3550
3550
|
files: p = []
|
|
3551
|
-
} = e,
|
|
3551
|
+
} = e, m = _e(
|
|
3552
3552
|
(l) => {
|
|
3553
3553
|
if (!s) {
|
|
3554
3554
|
t(l, r);
|
|
3555
3555
|
return;
|
|
3556
3556
|
}
|
|
3557
|
-
const
|
|
3558
|
-
if (
|
|
3559
|
-
console.log(`Максимальное возможное количество файлов для загрузки - ${
|
|
3557
|
+
const v = [...p, ...l];
|
|
3558
|
+
if (u && v.length > u) {
|
|
3559
|
+
console.log(`Максимальное возможное количество файлов для загрузки - ${u}`), t(v.slice(0, u), r);
|
|
3560
3560
|
return;
|
|
3561
3561
|
}
|
|
3562
|
-
t(
|
|
3562
|
+
t(v, r);
|
|
3563
3563
|
},
|
|
3564
|
-
[p,
|
|
3564
|
+
[p, u, s, r, t]
|
|
3565
3565
|
);
|
|
3566
|
-
return /* @__PURE__ */
|
|
3567
|
-
/* @__PURE__ */
|
|
3566
|
+
return /* @__PURE__ */ d(et, { multiple: s, onDrop: m, maxSize: n, accept: a, children: ({ getRootProps: l, getInputProps: v }) => /* @__PURE__ */ H("div", { ...l({}), style: { height: "100%" }, children: [
|
|
3567
|
+
/* @__PURE__ */ d("input", { ...v({}), disabled: i, name: r }),
|
|
3568
3568
|
o
|
|
3569
3569
|
] }) });
|
|
3570
|
-
},
|
|
3571
|
-
spDropdown:
|
|
3572
|
-
spDropdown__labelText:
|
|
3570
|
+
}, Ni = "_spDropdown_1f4lf_43", Ei = "_spDropdown__labelText_1f4lf_54", Si = "_spDropdown__tooltipContainer_1f4lf_62", Ri = "_spDropdown__dropdownList_1f4lf_67", Ai = "_spDropdown__dropdownListHeader_1f4lf_73", ji = "_spDropdown__dopdownListItem_1f4lf_80", Di = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", Ii = "_spDropdown__downloadListItemDescription_1f4lf_94", Ee = {
|
|
3571
|
+
spDropdown: Ni,
|
|
3572
|
+
spDropdown__labelText: Ei,
|
|
3573
3573
|
spDropdown__tooltipContainer: Si,
|
|
3574
|
-
spDropdown__dropdownList:
|
|
3575
|
-
spDropdown__dropdownListHeader:
|
|
3574
|
+
spDropdown__dropdownList: Ri,
|
|
3575
|
+
spDropdown__dropdownListHeader: Ai,
|
|
3576
3576
|
spDropdown__dopdownListItem: ji,
|
|
3577
3577
|
spDropdown__dopdownListItem_textCenter: Di,
|
|
3578
3578
|
spDropdown__downloadListItemDescription: Ii
|
|
3579
|
-
},
|
|
3579
|
+
}, Xs = (e) => {
|
|
3580
3580
|
const {
|
|
3581
3581
|
labelText: t = "Выпадающий список",
|
|
3582
3582
|
listName: o,
|
|
3583
3583
|
dropdownList: n = [],
|
|
3584
|
-
dropdownPosition: a =
|
|
3584
|
+
dropdownPosition: a = de.BottomRight,
|
|
3585
3585
|
classNameRoot: i
|
|
3586
|
-
} = e, r =
|
|
3587
|
-
[
|
|
3586
|
+
} = e, r = f({
|
|
3587
|
+
[Ee.spDropdown]: !0,
|
|
3588
3588
|
...i && { [i]: !0 }
|
|
3589
|
-
}), s =
|
|
3590
|
-
[
|
|
3591
|
-
}),
|
|
3592
|
-
[
|
|
3593
|
-
}), p =
|
|
3594
|
-
[
|
|
3595
|
-
}),
|
|
3596
|
-
[
|
|
3597
|
-
}), l =
|
|
3598
|
-
[
|
|
3599
|
-
}), [
|
|
3600
|
-
return /* @__PURE__ */
|
|
3601
|
-
|
|
3589
|
+
}), s = f({
|
|
3590
|
+
[Ee.spDropdown__labelText]: !0
|
|
3591
|
+
}), u = f({
|
|
3592
|
+
[Ee.spDropdown__tooltipContainer]: !0
|
|
3593
|
+
}), p = f({
|
|
3594
|
+
[Ee.spDropdown__dropdownList]: !0
|
|
3595
|
+
}), m = f({
|
|
3596
|
+
[Ee.spDropdown__dropdownListHeader]: !0
|
|
3597
|
+
}), l = f({
|
|
3598
|
+
[Ee.spDropdown__downloadListItemDescription]: !0
|
|
3599
|
+
}), [v, y] = le(!1);
|
|
3600
|
+
return /* @__PURE__ */ d(
|
|
3601
|
+
Rt,
|
|
3602
3602
|
{
|
|
3603
3603
|
hover: !1,
|
|
3604
3604
|
triggerAction: () => y(!0),
|
|
3605
3605
|
actionOnClose: () => y(!1),
|
|
3606
|
-
text: /* @__PURE__ */
|
|
3607
|
-
o && /* @__PURE__ */
|
|
3608
|
-
n.map((
|
|
3606
|
+
text: /* @__PURE__ */ H("div", { className: p, children: [
|
|
3607
|
+
o && /* @__PURE__ */ d("div", { className: m, children: o }),
|
|
3608
|
+
n.map((w, N) => /* @__PURE__ */ H(
|
|
3609
3609
|
"div",
|
|
3610
3610
|
{
|
|
3611
|
-
className:
|
|
3612
|
-
[
|
|
3613
|
-
[
|
|
3611
|
+
className: f({
|
|
3612
|
+
[Ee.spDropdown__dopdownListItem]: !0,
|
|
3613
|
+
[Ee.spDropdown__dopdownListItem_textCenter]: w.textCenter
|
|
3614
3614
|
}),
|
|
3615
|
-
onClick:
|
|
3615
|
+
onClick: w.onClick,
|
|
3616
3616
|
children: [
|
|
3617
|
-
|
|
3618
|
-
|
|
3617
|
+
w.name,
|
|
3618
|
+
w.description && /* @__PURE__ */ d("span", { className: l, children: w.description })
|
|
3619
3619
|
]
|
|
3620
3620
|
},
|
|
3621
|
-
|
|
3621
|
+
N
|
|
3622
3622
|
))
|
|
3623
3623
|
] }),
|
|
3624
3624
|
position: a,
|
|
3625
3625
|
noPadding: !0,
|
|
3626
3626
|
isToggleClick: !0,
|
|
3627
3627
|
isStopPropagationClickOnTrigger: !0,
|
|
3628
|
-
trigger: /* @__PURE__ */
|
|
3629
|
-
/* @__PURE__ */
|
|
3630
|
-
/* @__PURE__ */
|
|
3628
|
+
trigger: /* @__PURE__ */ H("div", { className: r, children: [
|
|
3629
|
+
/* @__PURE__ */ d("div", { className: s, children: t }),
|
|
3630
|
+
/* @__PURE__ */ d("div", { className: u, children: /* @__PURE__ */ d(he, { name: ue.SelectChevronDown, rotate: v ? 180 : void 0 }) })
|
|
3631
3631
|
] })
|
|
3632
3632
|
}
|
|
3633
3633
|
);
|
|
3634
|
-
}, Li = "_ellipsisTextWithTooltip_1nhiw_43",
|
|
3634
|
+
}, Li = "_ellipsisTextWithTooltip_1nhiw_43", Fi = "_ellipsisTextWithTooltip__tooltip_1nhiw_46", oo = {
|
|
3635
3635
|
ellipsisTextWithTooltip: Li,
|
|
3636
|
-
ellipsisTextWithTooltip__tooltip:
|
|
3637
|
-
},
|
|
3636
|
+
ellipsisTextWithTooltip__tooltip: Fi
|
|
3637
|
+
}, Oi = (e) => {
|
|
3638
3638
|
const {
|
|
3639
3639
|
text: t,
|
|
3640
3640
|
classNameRoot: o,
|
|
@@ -3643,29 +3643,29 @@ const Ti = (e) => {
|
|
|
3643
3643
|
classNameBaseTooltipContentRoot: i,
|
|
3644
3644
|
classNameBaseTooltipRoot: r,
|
|
3645
3645
|
...s
|
|
3646
|
-
} = e,
|
|
3647
|
-
|
|
3648
|
-
|
|
3646
|
+
} = e, u = fe(null), [p, m] = le(!1);
|
|
3647
|
+
re(() => {
|
|
3648
|
+
u.current && m(u.current.scrollWidth > u.current.clientWidth);
|
|
3649
3649
|
}, [t]);
|
|
3650
|
-
const l =
|
|
3650
|
+
const l = f({
|
|
3651
3651
|
[oo.ellipsisTextWithTooltip]: !0,
|
|
3652
3652
|
...o && { [o]: !0 }
|
|
3653
|
-
}),
|
|
3653
|
+
}), v = f({
|
|
3654
3654
|
[oo.ellipsisTextWithTooltip__tooltip]: !0,
|
|
3655
3655
|
...n && { [n]: !0 }
|
|
3656
|
-
}), y =
|
|
3656
|
+
}), y = f({
|
|
3657
3657
|
...a && { [a]: !0 }
|
|
3658
3658
|
});
|
|
3659
|
-
return /* @__PURE__ */
|
|
3660
|
-
|
|
3659
|
+
return /* @__PURE__ */ d(
|
|
3660
|
+
Rt,
|
|
3661
3661
|
{
|
|
3662
|
-
classNameTooltip:
|
|
3662
|
+
classNameTooltip: v,
|
|
3663
3663
|
classNameTriggerTooltip: y,
|
|
3664
3664
|
classNameBaseTooltipContentRoot: i,
|
|
3665
3665
|
classNameBaseTooltipRoot: r,
|
|
3666
3666
|
isVisibleTooltip: p,
|
|
3667
3667
|
text: t,
|
|
3668
|
-
trigger: /* @__PURE__ */
|
|
3668
|
+
trigger: /* @__PURE__ */ d(Ne, { ...s, classNameRoot: l, isEllipsis: !0, ref: u, children: t })
|
|
3669
3669
|
}
|
|
3670
3670
|
);
|
|
3671
3671
|
}, zi = "_spForm_zefbj_43", Pi = "_spForm_fullWidth_zefbj_46", Bi = "_spForm_withSeparator_zefbj_49", We = {
|
|
@@ -3674,7 +3674,7 @@ const Ti = (e) => {
|
|
|
3674
3674
|
spForm_withSeparator: Bi,
|
|
3675
3675
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
3676
3676
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
3677
|
-
},
|
|
3677
|
+
}, Zs = (e) => {
|
|
3678
3678
|
const {
|
|
3679
3679
|
size: t = "lg",
|
|
3680
3680
|
children: o,
|
|
@@ -3683,8 +3683,8 @@ const Ti = (e) => {
|
|
|
3683
3683
|
withSeparator: i = !1,
|
|
3684
3684
|
fullWidth: r = !0,
|
|
3685
3685
|
classNameRoot: s,
|
|
3686
|
-
...
|
|
3687
|
-
} = e, p =
|
|
3686
|
+
...u
|
|
3687
|
+
} = e, p = f({
|
|
3688
3688
|
[We.spForm]: !0,
|
|
3689
3689
|
[We.spForm_fullWidth]: r,
|
|
3690
3690
|
[We.spForm_addMargin]: a,
|
|
@@ -3692,7 +3692,7 @@ const Ti = (e) => {
|
|
|
3692
3692
|
[We.spForm_withSeparator]: i,
|
|
3693
3693
|
...s && { [s]: !0 }
|
|
3694
3694
|
});
|
|
3695
|
-
return /* @__PURE__ */
|
|
3695
|
+
return /* @__PURE__ */ d("form", { ...u, onSubmit: (l) => {
|
|
3696
3696
|
l.preventDefault(), n && n();
|
|
3697
3697
|
}, className: p, children: o });
|
|
3698
3698
|
}, Wi = "_spLabel_g0hfy_43", Mi = "_spLabel__text_g0hfy_52", $i = "_spLabel__tooltip_g0hfy_62", qi = "_spLabel__required_g0hfy_67", Ke = {
|
|
@@ -3708,20 +3708,20 @@ const Ti = (e) => {
|
|
|
3708
3708
|
tooltipPosition: a,
|
|
3709
3709
|
classNameRoot: i,
|
|
3710
3710
|
classNameBaseTooltipRoot: r
|
|
3711
|
-
} = e, s =
|
|
3711
|
+
} = e, s = f({
|
|
3712
3712
|
[Ke.spLabel]: !0,
|
|
3713
3713
|
...i && { [i]: !0 }
|
|
3714
|
-
}),
|
|
3714
|
+
}), u = f({
|
|
3715
3715
|
[Ke.spLabel__text]: !0
|
|
3716
|
-
}), p =
|
|
3716
|
+
}), p = f({
|
|
3717
3717
|
[Ke.spLabel__required]: t
|
|
3718
|
-
}),
|
|
3718
|
+
}), m = f({
|
|
3719
3719
|
[Ke.spLabel__tooltip]: !0
|
|
3720
3720
|
});
|
|
3721
|
-
return /* @__PURE__ */
|
|
3722
|
-
/* @__PURE__ */
|
|
3723
|
-
t && /* @__PURE__ */
|
|
3724
|
-
n && /* @__PURE__ */
|
|
3721
|
+
return /* @__PURE__ */ H("div", { className: s, children: [
|
|
3722
|
+
/* @__PURE__ */ d("label", { className: u, children: o }),
|
|
3723
|
+
t && /* @__PURE__ */ d("div", { className: p, children: "*" }),
|
|
3724
|
+
n && /* @__PURE__ */ d("div", { className: m, children: /* @__PURE__ */ d(
|
|
3725
3725
|
Je,
|
|
3726
3726
|
{
|
|
3727
3727
|
position: a,
|
|
@@ -3749,74 +3749,74 @@ const Ti = (e) => {
|
|
|
3749
3749
|
variant: i = "outlined",
|
|
3750
3750
|
disabled: r = !1,
|
|
3751
3751
|
error: s,
|
|
3752
|
-
required:
|
|
3752
|
+
required: u,
|
|
3753
3753
|
name: p,
|
|
3754
|
-
isClearable:
|
|
3754
|
+
isClearable: m,
|
|
3755
3755
|
pattern: l,
|
|
3756
|
-
onMouseEnter:
|
|
3756
|
+
onMouseEnter: v,
|
|
3757
3757
|
infoTooltipText: y,
|
|
3758
|
-
tooltipPosition:
|
|
3759
|
-
isVisibleDefaultTitle:
|
|
3760
|
-
placeholder:
|
|
3761
|
-
classNameRoot:
|
|
3762
|
-
classNameError:
|
|
3763
|
-
classNameLabel:
|
|
3764
|
-
classNameBaseTooltipRoot:
|
|
3765
|
-
...
|
|
3766
|
-
} = e,
|
|
3758
|
+
tooltipPosition: C,
|
|
3759
|
+
isVisibleDefaultTitle: w = !0,
|
|
3760
|
+
placeholder: N = "Введите...",
|
|
3761
|
+
classNameRoot: E,
|
|
3762
|
+
classNameError: M,
|
|
3763
|
+
classNameLabel: j,
|
|
3764
|
+
classNameBaseTooltipRoot: b,
|
|
3765
|
+
...c
|
|
3766
|
+
} = e, R = f({
|
|
3767
3767
|
[Te.spInput]: !0,
|
|
3768
3768
|
[Te.spInput_error]: !!s,
|
|
3769
|
-
...
|
|
3770
|
-
}),
|
|
3769
|
+
...E && { [E]: !0 }
|
|
3770
|
+
}), P = f({
|
|
3771
3771
|
[Te.spInput__container]: !0
|
|
3772
|
-
}),
|
|
3772
|
+
}), L = f({
|
|
3773
3773
|
[Te.spInput__control]: !0,
|
|
3774
3774
|
[Te.spInput__control_disabled]: r,
|
|
3775
3775
|
[Te[`spInput__control_${i}`]]: i,
|
|
3776
|
-
[Te.spInput__control_clearable]:
|
|
3777
|
-
}),
|
|
3776
|
+
[Te.spInput__control_clearable]: m
|
|
3777
|
+
}), Q = f({
|
|
3778
3778
|
[Te.spInput__clear]: !0
|
|
3779
|
-
}),
|
|
3779
|
+
}), te = f({
|
|
3780
3780
|
[Te.spInput__error]: !0,
|
|
3781
|
-
...
|
|
3782
|
-
}),
|
|
3783
|
-
...
|
|
3784
|
-
}),
|
|
3785
|
-
n(
|
|
3786
|
-
},
|
|
3787
|
-
const { value:
|
|
3788
|
-
l &&
|
|
3781
|
+
...M && { [M]: !0 }
|
|
3782
|
+
}), ee = f({
|
|
3783
|
+
...j && { [j]: !0 }
|
|
3784
|
+
}), ae = (Z) => {
|
|
3785
|
+
n(Z, { name: p, value: "" });
|
|
3786
|
+
}, se = (Z) => {
|
|
3787
|
+
const { value: k, name: $ } = Z.target;
|
|
3788
|
+
l && k && !new RegExp(l).test(k) || n(Z, { value: k, name: $ });
|
|
3789
3789
|
};
|
|
3790
|
-
return /* @__PURE__ */
|
|
3791
|
-
a && /* @__PURE__ */
|
|
3790
|
+
return /* @__PURE__ */ H("div", { className: R, children: [
|
|
3791
|
+
a && /* @__PURE__ */ d(
|
|
3792
3792
|
jt,
|
|
3793
3793
|
{
|
|
3794
|
-
classNameRoot:
|
|
3795
|
-
tooltipPosition:
|
|
3796
|
-
required:
|
|
3794
|
+
classNameRoot: ee,
|
|
3795
|
+
tooltipPosition: C,
|
|
3796
|
+
required: u,
|
|
3797
3797
|
label: a,
|
|
3798
3798
|
infoTooltipText: y,
|
|
3799
|
-
classNameBaseTooltipRoot:
|
|
3799
|
+
classNameBaseTooltipRoot: b
|
|
3800
3800
|
}
|
|
3801
3801
|
),
|
|
3802
|
-
/* @__PURE__ */
|
|
3803
|
-
/* @__PURE__ */
|
|
3802
|
+
/* @__PURE__ */ H("div", { className: P, onMouseEnter: v, children: [
|
|
3803
|
+
/* @__PURE__ */ d(
|
|
3804
3804
|
"input",
|
|
3805
3805
|
{
|
|
3806
|
-
...
|
|
3807
|
-
placeholder:
|
|
3806
|
+
...c,
|
|
3807
|
+
placeholder: N,
|
|
3808
3808
|
disabled: r,
|
|
3809
|
-
onChange:
|
|
3810
|
-
title:
|
|
3809
|
+
onChange: se,
|
|
3810
|
+
title: w ? o : void 0,
|
|
3811
3811
|
value: o,
|
|
3812
3812
|
name: p,
|
|
3813
|
-
className:
|
|
3813
|
+
className: L,
|
|
3814
3814
|
ref: t
|
|
3815
3815
|
}
|
|
3816
3816
|
),
|
|
3817
|
-
|
|
3817
|
+
m && o && !r && /* @__PURE__ */ d(he, { onClick: ae, className: Q, name: ue.Trash })
|
|
3818
3818
|
] }),
|
|
3819
|
-
s && /* @__PURE__ */
|
|
3819
|
+
s && /* @__PURE__ */ d("div", { className: te, children: s })
|
|
3820
3820
|
] });
|
|
3821
3821
|
});
|
|
3822
3822
|
er.displayName = "Input";
|
|
@@ -3829,65 +3829,65 @@ const tr = uo({
|
|
|
3829
3829
|
});
|
|
3830
3830
|
var Dt = {};
|
|
3831
3831
|
Dt.match = sr;
|
|
3832
|
-
Dt.parse =
|
|
3832
|
+
Dt.parse = jo;
|
|
3833
3833
|
var or = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, nr = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, ar = /^(?:(min|max)-)?(.+)/, ir = /(em|rem|px|cm|mm|in|pt|pc)?$/, rr = /(dpi|dpcm|dppx)?$/;
|
|
3834
3834
|
function sr(e, t) {
|
|
3835
|
-
return
|
|
3835
|
+
return jo(e).some(function(o) {
|
|
3836
3836
|
var n = o.inverse, a = o.type === "all" || t.type === o.type;
|
|
3837
3837
|
if (a && n || !(a || n))
|
|
3838
3838
|
return !1;
|
|
3839
3839
|
var i = o.expressions.every(function(r) {
|
|
3840
|
-
var s = r.feature,
|
|
3841
|
-
if (!
|
|
3840
|
+
var s = r.feature, u = r.modifier, p = r.value, m = t[s];
|
|
3841
|
+
if (!m)
|
|
3842
3842
|
return !1;
|
|
3843
3843
|
switch (s) {
|
|
3844
3844
|
case "orientation":
|
|
3845
3845
|
case "scan":
|
|
3846
|
-
return
|
|
3846
|
+
return m.toLowerCase() === p.toLowerCase();
|
|
3847
3847
|
case "width":
|
|
3848
3848
|
case "height":
|
|
3849
3849
|
case "device-width":
|
|
3850
3850
|
case "device-height":
|
|
3851
|
-
p = io(p),
|
|
3851
|
+
p = io(p), m = io(m);
|
|
3852
3852
|
break;
|
|
3853
3853
|
case "resolution":
|
|
3854
|
-
p = ao(p),
|
|
3854
|
+
p = ao(p), m = ao(m);
|
|
3855
3855
|
break;
|
|
3856
3856
|
case "aspect-ratio":
|
|
3857
3857
|
case "device-aspect-ratio":
|
|
3858
3858
|
case /* Deprecated */
|
|
3859
3859
|
"device-pixel-ratio":
|
|
3860
|
-
p = no(p),
|
|
3860
|
+
p = no(p), m = no(m);
|
|
3861
3861
|
break;
|
|
3862
3862
|
case "grid":
|
|
3863
3863
|
case "color":
|
|
3864
3864
|
case "color-index":
|
|
3865
3865
|
case "monochrome":
|
|
3866
|
-
p = parseInt(p, 10) || 1,
|
|
3866
|
+
p = parseInt(p, 10) || 1, m = parseInt(m, 10) || 0;
|
|
3867
3867
|
break;
|
|
3868
3868
|
}
|
|
3869
|
-
switch (
|
|
3869
|
+
switch (u) {
|
|
3870
3870
|
case "min":
|
|
3871
|
-
return
|
|
3871
|
+
return m >= p;
|
|
3872
3872
|
case "max":
|
|
3873
|
-
return
|
|
3873
|
+
return m <= p;
|
|
3874
3874
|
default:
|
|
3875
|
-
return
|
|
3875
|
+
return m === p;
|
|
3876
3876
|
}
|
|
3877
3877
|
});
|
|
3878
3878
|
return i && !n || !i && n;
|
|
3879
3879
|
});
|
|
3880
3880
|
}
|
|
3881
|
-
function
|
|
3881
|
+
function jo(e) {
|
|
3882
3882
|
return e.split(",").map(function(t) {
|
|
3883
3883
|
t = t.trim();
|
|
3884
3884
|
var o = t.match(or), n = o[1], a = o[2], i = o[3] || "", r = {};
|
|
3885
3885
|
return r.inverse = !!n && n.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
3886
|
-
var
|
|
3886
|
+
var u = s.match(nr), p = u[1].toLowerCase().match(ar);
|
|
3887
3887
|
return {
|
|
3888
3888
|
modifier: p[1],
|
|
3889
3889
|
feature: p[2],
|
|
3890
|
-
value:
|
|
3890
|
+
value: u[2]
|
|
3891
3891
|
};
|
|
3892
3892
|
}), r;
|
|
3893
3893
|
});
|
|
@@ -3931,7 +3931,7 @@ function io(e) {
|
|
|
3931
3931
|
var pr = Dt.match, ro = typeof window < "u" ? window.matchMedia : null;
|
|
3932
3932
|
function lr(e, t, o) {
|
|
3933
3933
|
var n = this, a;
|
|
3934
|
-
ro && !o && (a = ro.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = pr(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose =
|
|
3934
|
+
ro && !o && (a = ro.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = pr(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = u;
|
|
3935
3935
|
function i(p) {
|
|
3936
3936
|
a && a.addListener(p);
|
|
3937
3937
|
}
|
|
@@ -3941,7 +3941,7 @@ function lr(e, t, o) {
|
|
|
3941
3941
|
function s(p) {
|
|
3942
3942
|
n.matches = p.matches, n.media = p.media;
|
|
3943
3943
|
}
|
|
3944
|
-
function
|
|
3944
|
+
function u() {
|
|
3945
3945
|
a && a.removeListener(s);
|
|
3946
3946
|
}
|
|
3947
3947
|
}
|
|
@@ -3949,16 +3949,16 @@ function cr(e, t, o) {
|
|
|
3949
3949
|
return new lr(e, t, o);
|
|
3950
3950
|
}
|
|
3951
3951
|
var dr = cr;
|
|
3952
|
-
const ur = /* @__PURE__ */
|
|
3953
|
-
var mr = /[A-Z]/g,
|
|
3954
|
-
function
|
|
3952
|
+
const ur = /* @__PURE__ */ go(dr);
|
|
3953
|
+
var mr = /[A-Z]/g, _r = /^ms-/, bt = {};
|
|
3954
|
+
function fr(e) {
|
|
3955
3955
|
return "-" + e.toLowerCase();
|
|
3956
3956
|
}
|
|
3957
|
-
function
|
|
3957
|
+
function Do(e) {
|
|
3958
3958
|
if (bt.hasOwnProperty(e))
|
|
3959
3959
|
return bt[e];
|
|
3960
|
-
var t = e.replace(mr,
|
|
3961
|
-
return bt[e] =
|
|
3960
|
+
var t = e.replace(mr, fr);
|
|
3961
|
+
return bt[e] = _r.test(t) ? "-" + t : t;
|
|
3962
3962
|
}
|
|
3963
3963
|
function vr(e, t) {
|
|
3964
3964
|
if (e === t)
|
|
@@ -3975,7 +3975,7 @@ function vr(e, t) {
|
|
|
3975
3975
|
}
|
|
3976
3976
|
return !0;
|
|
3977
3977
|
}
|
|
3978
|
-
const
|
|
3978
|
+
const me = T.oneOfType([T.string, T.number]), Io = {
|
|
3979
3979
|
all: T.bool,
|
|
3980
3980
|
grid: T.bool,
|
|
3981
3981
|
aural: T.bool,
|
|
@@ -3992,43 +3992,43 @@ const ce = T.oneOfType([T.string, T.number]), Do = {
|
|
|
3992
3992
|
scan: T.oneOf(["progressive", "interlace"]),
|
|
3993
3993
|
aspectRatio: T.string,
|
|
3994
3994
|
deviceAspectRatio: T.string,
|
|
3995
|
-
height:
|
|
3996
|
-
deviceHeight:
|
|
3997
|
-
width:
|
|
3998
|
-
deviceWidth:
|
|
3995
|
+
height: me,
|
|
3996
|
+
deviceHeight: me,
|
|
3997
|
+
width: me,
|
|
3998
|
+
deviceWidth: me,
|
|
3999
3999
|
color: T.bool,
|
|
4000
4000
|
colorIndex: T.bool,
|
|
4001
4001
|
monochrome: T.bool,
|
|
4002
|
-
resolution:
|
|
4003
|
-
type: Object.keys(
|
|
4004
|
-
}, { type:
|
|
4002
|
+
resolution: me,
|
|
4003
|
+
type: Object.keys(Io)
|
|
4004
|
+
}, { type: Qs, ...gr } = xr, hr = {
|
|
4005
4005
|
minAspectRatio: T.string,
|
|
4006
4006
|
maxAspectRatio: T.string,
|
|
4007
4007
|
minDeviceAspectRatio: T.string,
|
|
4008
4008
|
maxDeviceAspectRatio: T.string,
|
|
4009
|
-
minHeight:
|
|
4010
|
-
maxHeight:
|
|
4011
|
-
minDeviceHeight:
|
|
4012
|
-
maxDeviceHeight:
|
|
4013
|
-
minWidth:
|
|
4014
|
-
maxWidth:
|
|
4015
|
-
minDeviceWidth:
|
|
4016
|
-
maxDeviceWidth:
|
|
4009
|
+
minHeight: me,
|
|
4010
|
+
maxHeight: me,
|
|
4011
|
+
minDeviceHeight: me,
|
|
4012
|
+
maxDeviceHeight: me,
|
|
4013
|
+
minWidth: me,
|
|
4014
|
+
maxWidth: me,
|
|
4015
|
+
minDeviceWidth: me,
|
|
4016
|
+
maxDeviceWidth: me,
|
|
4017
4017
|
minColor: T.number,
|
|
4018
4018
|
maxColor: T.number,
|
|
4019
4019
|
minColorIndex: T.number,
|
|
4020
4020
|
maxColorIndex: T.number,
|
|
4021
4021
|
minMonochrome: T.number,
|
|
4022
4022
|
maxMonochrome: T.number,
|
|
4023
|
-
minResolution:
|
|
4024
|
-
maxResolution:
|
|
4023
|
+
minResolution: me,
|
|
4024
|
+
maxResolution: me,
|
|
4025
4025
|
...gr
|
|
4026
|
-
}, br = { ...
|
|
4026
|
+
}, br = { ...Io, ...hr };
|
|
4027
4027
|
var yr = {
|
|
4028
4028
|
all: br
|
|
4029
4029
|
};
|
|
4030
4030
|
const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
4031
|
-
const o =
|
|
4031
|
+
const o = Do(e);
|
|
4032
4032
|
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ? wr(o) : `(${o}: ${t})`;
|
|
4033
4033
|
}, Cr = (e) => e.join(" and "), Tr = (e) => {
|
|
4034
4034
|
const t = [];
|
|
@@ -4036,26 +4036,26 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4036
4036
|
const n = e[o];
|
|
4037
4037
|
n != null && t.push(kr(o, n));
|
|
4038
4038
|
}), Cr(t);
|
|
4039
|
-
},
|
|
4040
|
-
const e =
|
|
4041
|
-
return
|
|
4039
|
+
}, Nr = uo(void 0), Er = (e) => e.query || Tr(e), so = (e) => e ? Object.keys(e).reduce((o, n) => (o[Do(n)] = e[n], o), {}) : void 0, Lo = () => {
|
|
4040
|
+
const e = fe(!1);
|
|
4041
|
+
return re(() => {
|
|
4042
4042
|
e.current = !0;
|
|
4043
4043
|
}, []), e.current;
|
|
4044
4044
|
}, Sr = (e) => {
|
|
4045
|
-
const t =
|
|
4046
|
-
return
|
|
4045
|
+
const t = qo(Nr), o = () => so(e) || so(t), [n, a] = le(o);
|
|
4046
|
+
return re(() => {
|
|
4047
4047
|
const i = o();
|
|
4048
4048
|
vr(n, i) || a(i);
|
|
4049
4049
|
}, [e, t]), n;
|
|
4050
|
-
},
|
|
4051
|
-
const t = () =>
|
|
4052
|
-
return
|
|
4050
|
+
}, Rr = (e) => {
|
|
4051
|
+
const t = () => Er(e), [o, n] = le(t);
|
|
4052
|
+
return re(() => {
|
|
4053
4053
|
const a = t();
|
|
4054
4054
|
o !== a && n(a);
|
|
4055
4055
|
}, [e]), o;
|
|
4056
|
-
},
|
|
4057
|
-
const o = () => ur(e, t || {}, !!t), [n, a] =
|
|
4058
|
-
return
|
|
4056
|
+
}, Ar = (e, t) => {
|
|
4057
|
+
const o = () => ur(e, t || {}, !!t), [n, a] = le(o), i = Lo();
|
|
4058
|
+
return re(() => {
|
|
4059
4059
|
if (i) {
|
|
4060
4060
|
const r = o();
|
|
4061
4061
|
return a(r), () => {
|
|
@@ -4064,8 +4064,8 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4064
4064
|
}
|
|
4065
4065
|
}, [e, t]), n;
|
|
4066
4066
|
}, jr = (e) => {
|
|
4067
|
-
const [t, o] =
|
|
4068
|
-
return
|
|
4067
|
+
const [t, o] = le(e.matches);
|
|
4068
|
+
return re(() => {
|
|
4069
4069
|
const n = (a) => {
|
|
4070
4070
|
o(a.matches);
|
|
4071
4071
|
};
|
|
@@ -4074,12 +4074,12 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4074
4074
|
};
|
|
4075
4075
|
}, [e]), t;
|
|
4076
4076
|
}, yt = (e, t, o) => {
|
|
4077
|
-
const n = Sr(t), a =
|
|
4077
|
+
const n = Sr(t), a = Rr(e);
|
|
4078
4078
|
if (!a)
|
|
4079
4079
|
throw new Error("Invalid or missing MediaQuery!");
|
|
4080
|
-
const i =
|
|
4081
|
-
return
|
|
4082
|
-
}, [r]),
|
|
4080
|
+
const i = Ar(a, n), r = jr(i);
|
|
4081
|
+
return Lo(), re(() => {
|
|
4082
|
+
}, [r]), re(() => () => {
|
|
4083
4083
|
i && i.dispose();
|
|
4084
4084
|
}, []), r;
|
|
4085
4085
|
}, Dr = (e) => {
|
|
@@ -4091,9 +4091,9 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4091
4091
|
isMobile: r
|
|
4092
4092
|
}
|
|
4093
4093
|
};
|
|
4094
|
-
},
|
|
4094
|
+
}, Js = (e) => {
|
|
4095
4095
|
const { breakpoints: t, children: o } = e, { device: n } = Dr(t);
|
|
4096
|
-
return /* @__PURE__ */
|
|
4096
|
+
return /* @__PURE__ */ d(
|
|
4097
4097
|
tr.Provider,
|
|
4098
4098
|
{
|
|
4099
4099
|
value: {
|
|
@@ -4103,29 +4103,36 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4103
4103
|
}
|
|
4104
4104
|
);
|
|
4105
4105
|
}, po = 2e3, Ir = (e) => {
|
|
4106
|
-
const { targetValue: t, duration: o = po, doneValue: n } = e, [a, i] =
|
|
4107
|
-
return
|
|
4106
|
+
const { targetValue: t, duration: o = po, doneValue: n } = e, [a, i] = le(t), r = fe(), s = fe(0), u = fe(), p = fe(t), [m, l] = le(!1), v = fe();
|
|
4107
|
+
return re(() => {
|
|
4108
4108
|
if (p.current = t, t === s.current) return;
|
|
4109
|
-
r.current && cancelAnimationFrame(r.current), s.current = a,
|
|
4110
|
-
const
|
|
4111
|
-
const
|
|
4112
|
-
i(
|
|
4109
|
+
r.current && cancelAnimationFrame(r.current), s.current = a, u.current = performance.now();
|
|
4110
|
+
const y = (C) => {
|
|
4111
|
+
const w = t === n ? po : o, N = C - (u.current || C), E = Math.min(N / w, 1), M = E < 0.5 ? 4 * E * E * E : 1 - Math.pow(-2 * E + 2, 3) / 2, j = s.current + (p.current - s.current) * M, b = Math.max(0, Math.floor(j));
|
|
4112
|
+
i(b), E < 1 && (r.current = requestAnimationFrame(y));
|
|
4113
4113
|
};
|
|
4114
|
-
return r.current = requestAnimationFrame(
|
|
4114
|
+
return r.current = requestAnimationFrame(y), () => {
|
|
4115
4115
|
r.current && cancelAnimationFrame(r.current);
|
|
4116
4116
|
};
|
|
4117
|
-
}, [t, o, n]), a
|
|
4118
|
-
|
|
4117
|
+
}, [t, o, n]), re(() => (a === n ? v.current = window.setTimeout(() => {
|
|
4118
|
+
l(!1);
|
|
4119
|
+
}, 500) : (l(!0), v.current && window.clearTimeout(v.current)), () => {
|
|
4120
|
+
v.current && window.clearTimeout(v.current);
|
|
4121
|
+
}), [a, n]), {
|
|
4122
|
+
animatedValue: a,
|
|
4123
|
+
isLoading: m
|
|
4124
|
+
};
|
|
4125
|
+
}, Lr = "_progressWrapper_xn9s0_44", Fr = "_progressWrapper_loading_xn9s0_47", Or = "_progressWrapper__childrenWrapper_xn9s0_52", zr = "_progressWrapper__childrenWrapper_loading_xn9s0_58", Pr = "_pulse_xn9s0_1", Br = "_progressWrapper__progressBadge_xn9s0_64", Wr = "_progressWrapper__progressBadge_loading_xn9s0_75", Re = {
|
|
4119
4126
|
progressWrapper: Lr,
|
|
4120
|
-
progressWrapper_loading:
|
|
4121
|
-
progressWrapper__childrenWrapper:
|
|
4127
|
+
progressWrapper_loading: Fr,
|
|
4128
|
+
progressWrapper__childrenWrapper: Or,
|
|
4122
4129
|
progressWrapper__childrenWrapper_loading: zr,
|
|
4123
4130
|
"progressWrapper__childrenWrapper--animated-pulse": "_progressWrapper__childrenWrapper--animated-pulse_xn9s0_58",
|
|
4124
4131
|
pulse: Pr,
|
|
4125
4132
|
"progressWrapper__childrenWrapper--animated-backgroundProgress": "_progressWrapper__childrenWrapper--animated-backgroundProgress_xn9s0_61",
|
|
4126
4133
|
progressWrapper__progressBadge: Br,
|
|
4127
4134
|
progressWrapper__progressBadge_loading: Wr
|
|
4128
|
-
},
|
|
4135
|
+
}, ep = (e) => {
|
|
4129
4136
|
const {
|
|
4130
4137
|
value: t,
|
|
4131
4138
|
classNameRoot: o,
|
|
@@ -4134,42 +4141,36 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4134
4141
|
children: i,
|
|
4135
4142
|
doneValue: r = 100,
|
|
4136
4143
|
animationVariant: s = "backgroundProgress"
|
|
4137
|
-
} = e,
|
|
4144
|
+
} = e, { animatedValue: u, isLoading: p } = Ir({
|
|
4138
4145
|
targetValue: t,
|
|
4139
4146
|
duration: a,
|
|
4140
4147
|
doneValue: r
|
|
4141
|
-
})
|
|
4142
|
-
|
|
4143
|
-
p
|
|
4144
|
-
}, 500) : (p(!0), c.current && window.clearTimeout(c.current)), () => {
|
|
4145
|
-
c.current && window.clearTimeout(c.current);
|
|
4146
|
-
}), [l, r]);
|
|
4147
|
-
const x = _({
|
|
4148
|
-
[Ae.progressWrapper]: !0,
|
|
4149
|
-
[Ae.progressWrapper_loading]: d,
|
|
4148
|
+
}), m = f({
|
|
4149
|
+
[Re.progressWrapper]: !0,
|
|
4150
|
+
[Re.progressWrapper_loading]: p,
|
|
4150
4151
|
...o && { [o]: !0 }
|
|
4151
|
-
}),
|
|
4152
|
-
[
|
|
4153
|
-
[
|
|
4152
|
+
}), l = f({
|
|
4153
|
+
[Re.progressWrapper__progressBadge]: !0,
|
|
4154
|
+
[Re.progressWrapper__progressBadge_loading]: p,
|
|
4154
4155
|
...n && { [n]: !0 }
|
|
4155
|
-
}),
|
|
4156
|
-
[
|
|
4157
|
-
[
|
|
4158
|
-
[
|
|
4159
|
-
}),
|
|
4160
|
-
"--progress": `${
|
|
4156
|
+
}), v = f({
|
|
4157
|
+
[Re.progressWrapper__childrenWrapper]: !0,
|
|
4158
|
+
[Re[`progressWrapper__childrenWrapper--animated-${s}`]]: s,
|
|
4159
|
+
[Re.progressWrapper__childrenWrapper_loading]: p
|
|
4160
|
+
}), y = {
|
|
4161
|
+
"--progress": `${u / r * 100}%`
|
|
4161
4162
|
};
|
|
4162
|
-
return /* @__PURE__ */
|
|
4163
|
-
/* @__PURE__ */
|
|
4163
|
+
return /* @__PURE__ */ H("div", { className: m, children: [
|
|
4164
|
+
/* @__PURE__ */ d(
|
|
4164
4165
|
"div",
|
|
4165
4166
|
{
|
|
4166
|
-
className:
|
|
4167
|
-
style: s === "backgroundProgress" ?
|
|
4167
|
+
className: v,
|
|
4168
|
+
style: s === "backgroundProgress" ? y : void 0,
|
|
4168
4169
|
children: i
|
|
4169
4170
|
}
|
|
4170
4171
|
),
|
|
4171
|
-
|
|
4172
|
-
|
|
4172
|
+
p && /* @__PURE__ */ H(Ne, { classNameRoot: l, children: [
|
|
4173
|
+
u,
|
|
4173
4174
|
"%"
|
|
4174
4175
|
] })
|
|
4175
4176
|
] });
|
|
@@ -4188,7 +4189,7 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4188
4189
|
spSelect__list_scrollable: Jr,
|
|
4189
4190
|
spSelect__option: es,
|
|
4190
4191
|
spSelect__error: ts
|
|
4191
|
-
},
|
|
4192
|
+
}, tp = (e) => {
|
|
4192
4193
|
const {
|
|
4193
4194
|
options: t,
|
|
4194
4195
|
placeholder: o = "Выберите из списка...",
|
|
@@ -4197,126 +4198,126 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4197
4198
|
variant: i = "outlined",
|
|
4198
4199
|
onChange: r,
|
|
4199
4200
|
onMouseEnter: s,
|
|
4200
|
-
error:
|
|
4201
|
+
error: u,
|
|
4201
4202
|
label: p,
|
|
4202
|
-
infoTooltipText:
|
|
4203
|
+
infoTooltipText: m,
|
|
4203
4204
|
tooltipPosition: l,
|
|
4204
|
-
disabled:
|
|
4205
|
+
disabled: v,
|
|
4205
4206
|
required: y,
|
|
4206
|
-
maxHeightList:
|
|
4207
|
-
isVisibleDefaultTitle:
|
|
4208
|
-
isScrollableList:
|
|
4209
|
-
classNameRoot:
|
|
4210
|
-
classNameError:
|
|
4211
|
-
classNameLabel:
|
|
4212
|
-
classNameBaseTooltipRoot:
|
|
4213
|
-
} = e, [
|
|
4214
|
-
|
|
4215
|
-
[
|
|
4207
|
+
maxHeightList: C = Mr,
|
|
4208
|
+
isVisibleDefaultTitle: w = !0,
|
|
4209
|
+
isScrollableList: N = !1,
|
|
4210
|
+
classNameRoot: E,
|
|
4211
|
+
classNameError: M,
|
|
4212
|
+
classNameLabel: j,
|
|
4213
|
+
classNameBaseTooltipRoot: b
|
|
4214
|
+
} = e, [c, R] = le(!1), P = fe(null);
|
|
4215
|
+
vo(
|
|
4216
|
+
[P],
|
|
4216
4217
|
() => {
|
|
4217
|
-
|
|
4218
|
+
R(!1);
|
|
4218
4219
|
},
|
|
4219
|
-
|
|
4220
|
+
c
|
|
4220
4221
|
);
|
|
4221
|
-
const
|
|
4222
|
-
r(
|
|
4223
|
-
},
|
|
4224
|
-
|
|
4225
|
-
},
|
|
4222
|
+
const L = t.find((_) => _.value === n), Q = (_, h) => {
|
|
4223
|
+
r(_, { value: h, name: a }), R(!1);
|
|
4224
|
+
}, te = () => {
|
|
4225
|
+
v || R(!c);
|
|
4226
|
+
}, ee = f({
|
|
4226
4227
|
[ge.spSelect]: !0,
|
|
4227
|
-
[ge.spSelect_error]: !!
|
|
4228
|
-
...
|
|
4229
|
-
}),
|
|
4228
|
+
[ge.spSelect_error]: !!u,
|
|
4229
|
+
...E && { [E]: !0 }
|
|
4230
|
+
}), ae = f({
|
|
4230
4231
|
[ge.spSelect__container]: !0
|
|
4231
|
-
}),
|
|
4232
|
+
}), se = f({
|
|
4232
4233
|
[ge.spSelect__control]: !0,
|
|
4233
4234
|
[ge[`spSelect__control_${i}`]]: i,
|
|
4234
|
-
[ge.spSelect__control_disabled]:
|
|
4235
|
-
}),
|
|
4235
|
+
[ge.spSelect__control_disabled]: v
|
|
4236
|
+
}), K = f({
|
|
4236
4237
|
[ge.spSelect__value]: !0,
|
|
4237
|
-
[ge.spSelect__value_empty]: !
|
|
4238
|
-
}),
|
|
4238
|
+
[ge.spSelect__value_empty]: !L
|
|
4239
|
+
}), Z = f({
|
|
4239
4240
|
[ge.spSelect__icon]: !0
|
|
4240
|
-
}),
|
|
4241
|
+
}), k = f({
|
|
4241
4242
|
[ge.spSelect__list]: !0,
|
|
4242
|
-
[ge.spSelect__list_scrollable]:
|
|
4243
|
-
}),
|
|
4244
|
-
...
|
|
4245
|
-
}),
|
|
4243
|
+
[ge.spSelect__list_scrollable]: N
|
|
4244
|
+
}), $ = f({
|
|
4245
|
+
...j && { [j]: !0 }
|
|
4246
|
+
}), X = f({
|
|
4246
4247
|
[ge.spSelect__error]: !0,
|
|
4247
|
-
...
|
|
4248
|
+
...M && { [M]: !0 }
|
|
4248
4249
|
});
|
|
4249
|
-
return /* @__PURE__ */
|
|
4250
|
-
p && /* @__PURE__ */
|
|
4250
|
+
return /* @__PURE__ */ H("div", { className: ee, ref: P, children: [
|
|
4251
|
+
p && /* @__PURE__ */ d(
|
|
4251
4252
|
jt,
|
|
4252
4253
|
{
|
|
4253
|
-
classNameRoot:
|
|
4254
|
+
classNameRoot: $,
|
|
4254
4255
|
tooltipPosition: l,
|
|
4255
4256
|
required: y,
|
|
4256
4257
|
label: p,
|
|
4257
|
-
infoTooltipText:
|
|
4258
|
-
classNameBaseTooltipRoot:
|
|
4258
|
+
infoTooltipText: m,
|
|
4259
|
+
classNameBaseTooltipRoot: b
|
|
4259
4260
|
}
|
|
4260
4261
|
),
|
|
4261
|
-
/* @__PURE__ */
|
|
4262
|
-
/* @__PURE__ */
|
|
4262
|
+
/* @__PURE__ */ H("div", { className: ae, onMouseEnter: s, children: [
|
|
4263
|
+
/* @__PURE__ */ H(
|
|
4263
4264
|
"div",
|
|
4264
4265
|
{
|
|
4265
|
-
tabIndex:
|
|
4266
|
-
title:
|
|
4267
|
-
className:
|
|
4268
|
-
onClick:
|
|
4266
|
+
tabIndex: v ? -1 : 0,
|
|
4267
|
+
title: w ? n : void 0,
|
|
4268
|
+
className: se,
|
|
4269
|
+
onClick: te,
|
|
4269
4270
|
children: [
|
|
4270
|
-
/* @__PURE__ */
|
|
4271
|
-
/* @__PURE__ */
|
|
4271
|
+
/* @__PURE__ */ d("div", { className: K, children: (L == null ? void 0 : L.label) || o }),
|
|
4272
|
+
/* @__PURE__ */ d(
|
|
4272
4273
|
he,
|
|
4273
4274
|
{
|
|
4274
|
-
name:
|
|
4275
|
-
rotate:
|
|
4276
|
-
className:
|
|
4275
|
+
name: ue.SelectChevronDown,
|
|
4276
|
+
rotate: c ? 180 : void 0,
|
|
4277
|
+
className: Z
|
|
4277
4278
|
}
|
|
4278
4279
|
)
|
|
4279
4280
|
]
|
|
4280
4281
|
}
|
|
4281
4282
|
),
|
|
4282
|
-
|
|
4283
|
+
c && /* @__PURE__ */ d(
|
|
4283
4284
|
"div",
|
|
4284
4285
|
{
|
|
4285
|
-
className:
|
|
4286
|
-
style:
|
|
4287
|
-
children: t.map((
|
|
4288
|
-
const
|
|
4289
|
-
return /* @__PURE__ */
|
|
4286
|
+
className: k,
|
|
4287
|
+
style: N ? { maxHeight: `${C}px` } : {},
|
|
4288
|
+
children: t.map((_) => {
|
|
4289
|
+
const h = _.value === n;
|
|
4290
|
+
return /* @__PURE__ */ H(
|
|
4290
4291
|
"div",
|
|
4291
4292
|
{
|
|
4292
|
-
className:
|
|
4293
|
+
className: f({
|
|
4293
4294
|
[ge.spSelect__option]: !0
|
|
4294
4295
|
}),
|
|
4295
|
-
onClick: (F) =>
|
|
4296
|
+
onClick: (F) => Q(F, _.value),
|
|
4296
4297
|
children: [
|
|
4297
|
-
|
|
4298
|
-
|
|
4298
|
+
_.label,
|
|
4299
|
+
h && /* @__PURE__ */ d(he, { name: ue.Check, className: Z })
|
|
4299
4300
|
]
|
|
4300
4301
|
},
|
|
4301
|
-
|
|
4302
|
+
_.value
|
|
4302
4303
|
);
|
|
4303
4304
|
})
|
|
4304
4305
|
}
|
|
4305
4306
|
)
|
|
4306
4307
|
] }),
|
|
4307
|
-
|
|
4308
|
+
u && /* @__PURE__ */ d("div", { className: X, children: u })
|
|
4308
4309
|
] });
|
|
4309
|
-
}, os = "
|
|
4310
|
+
}, os = "_skeleton_1u7gu_43", ns = {
|
|
4310
4311
|
skeleton: os
|
|
4311
|
-
},
|
|
4312
|
+
}, op = (e) => {
|
|
4312
4313
|
const { width: t = "100%", height: o = "1rem", circle: n = !1, classNameRoot: a = "", style: i = {} } = e, r = {
|
|
4313
4314
|
width: t,
|
|
4314
4315
|
height: o,
|
|
4315
4316
|
borderRadius: n ? "50%" : "0",
|
|
4316
4317
|
...i
|
|
4317
4318
|
};
|
|
4318
|
-
return /* @__PURE__ */
|
|
4319
|
-
}, lo = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, as = "_spTable_1vuaj_43", is = "_spTable__tdContentCopyIcon_1vuaj_62", rs = "_spTable__tdContent_1vuaj_62", ss = "_spTable__tdColorContent_1vuaj_72", ps = "_spTable__tdContentCopyIcon_copied_1vuaj_85", ls = "_spTable__emptyPage_1vuaj_89", cs = "_spStringsGroup_1vuaj_105", ds = "_spStringsGroup__groupItem_1vuaj_119", us = "_spStringsGroup__groupItemHeader_1vuaj_134", ms = "_spStringsGroup__groupItemContent_1vuaj_138",
|
|
4319
|
+
return /* @__PURE__ */ d("div", { style: r, className: f(a, ns.skeleton) });
|
|
4320
|
+
}, lo = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, as = "_spTable_1vuaj_43", is = "_spTable__tdContentCopyIcon_1vuaj_62", rs = "_spTable__tdContent_1vuaj_62", ss = "_spTable__tdColorContent_1vuaj_72", ps = "_spTable__tdContentCopyIcon_copied_1vuaj_85", ls = "_spTable__emptyPage_1vuaj_89", cs = "_spStringsGroup_1vuaj_105", ds = "_spStringsGroup__groupItem_1vuaj_119", us = "_spStringsGroup__groupItemHeader_1vuaj_134", ms = "_spStringsGroup__groupItemContent_1vuaj_138", _s = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", fs = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", ye = {
|
|
4320
4321
|
spTable: as,
|
|
4321
4322
|
spTable__tdContentCopyIcon: is,
|
|
4322
4323
|
spTable__tdContent: rs,
|
|
@@ -4327,140 +4328,140 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4327
4328
|
spStringsGroup__groupItem: ds,
|
|
4328
4329
|
spStringsGroup__groupItemHeader: us,
|
|
4329
4330
|
spStringsGroup__groupItemContent: ms,
|
|
4330
|
-
spStringsGroup__groupItemContentCopyIcon:
|
|
4331
|
-
spStringsGroup__groupItemContentCopyIcon_copied:
|
|
4332
|
-
},
|
|
4331
|
+
spStringsGroup__groupItemContentCopyIcon: _s,
|
|
4332
|
+
spStringsGroup__groupItemContentCopyIcon_copied: fs
|
|
4333
|
+
}, np = (e) => {
|
|
4333
4334
|
const {
|
|
4334
4335
|
columns: t,
|
|
4335
4336
|
data: o,
|
|
4336
4337
|
isNotTableOnNotDesktop: n = !1,
|
|
4337
4338
|
isDesktop: a = !0,
|
|
4338
4339
|
classNameRoot: i
|
|
4339
|
-
} = e, r = t.map((
|
|
4340
|
-
...
|
|
4341
|
-
isVisible: o.some((
|
|
4342
|
-
} :
|
|
4340
|
+
} = e, r = t.map((b) => o ? {
|
|
4341
|
+
...b,
|
|
4342
|
+
isVisible: o.some((c) => !!c[b.key])
|
|
4343
|
+
} : b).filter((b) => b.isVisible), s = f({
|
|
4343
4344
|
[ye.spTable]: !0,
|
|
4344
4345
|
...i && { [i]: !0 }
|
|
4345
|
-
}),
|
|
4346
|
+
}), u = f({
|
|
4346
4347
|
[ye.spTable__tdContent]: !0
|
|
4347
|
-
}), p =
|
|
4348
|
+
}), p = f({
|
|
4348
4349
|
[ye.spTable__tdColorContent]: !0
|
|
4349
|
-
}),
|
|
4350
|
+
}), m = f({
|
|
4350
4351
|
[ye.spTable__emptyPage]: !0
|
|
4351
|
-
}), [l,
|
|
4352
|
-
const { text:
|
|
4353
|
-
(l == null ? void 0 : l.rowIndex) ===
|
|
4354
|
-
|
|
4355
|
-
}).catch((
|
|
4356
|
-
console.error("Ошибка при копировании:",
|
|
4352
|
+
}), [l, v] = le(null), y = (b) => {
|
|
4353
|
+
const { text: c, rowIndex: R, colIndex: P } = b;
|
|
4354
|
+
(l == null ? void 0 : l.rowIndex) === R && (l == null ? void 0 : l.colIndex) === P || navigator.clipboard.writeText(c).then(() => {
|
|
4355
|
+
v({ rowIndex: R, colIndex: P });
|
|
4356
|
+
}).catch((L) => {
|
|
4357
|
+
console.error("Ошибка при копировании:", L);
|
|
4357
4358
|
});
|
|
4358
|
-
},
|
|
4359
|
-
|
|
4360
|
-
},
|
|
4361
|
-
row:
|
|
4362
|
-
col:
|
|
4359
|
+
}, C = () => {
|
|
4360
|
+
v(null);
|
|
4361
|
+
}, w = () => /* @__PURE__ */ d("div", { className: m, children: "Данные отсутствуют" }), N = ({
|
|
4362
|
+
row: b,
|
|
4363
|
+
col: c
|
|
4363
4364
|
}) => {
|
|
4364
|
-
const
|
|
4365
|
-
if (!
|
|
4366
|
-
const [
|
|
4367
|
-
return /* @__PURE__ */
|
|
4368
|
-
|
|
4369
|
-
|
|
4365
|
+
const R = b[c.key];
|
|
4366
|
+
if (!R) return null;
|
|
4367
|
+
const [P, L] = R.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
4368
|
+
return /* @__PURE__ */ H("span", { children: [
|
|
4369
|
+
P,
|
|
4370
|
+
L && /* @__PURE__ */ d("span", { className: p, children: ` ${L}` })
|
|
4370
4371
|
] });
|
|
4371
|
-
},
|
|
4372
|
-
/* @__PURE__ */
|
|
4372
|
+
}, E = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ H("table", { className: s, children: [
|
|
4373
|
+
/* @__PURE__ */ d("colgroup", { children: r.map((b, c, R) => /* @__PURE__ */ d(
|
|
4373
4374
|
"col",
|
|
4374
4375
|
{
|
|
4375
4376
|
style: {
|
|
4376
|
-
width: `calc(100%/${
|
|
4377
|
+
width: `calc(100%/${R.length})`
|
|
4377
4378
|
}
|
|
4378
4379
|
},
|
|
4379
|
-
|
|
4380
|
+
c
|
|
4380
4381
|
)) }),
|
|
4381
|
-
/* @__PURE__ */
|
|
4382
|
-
/* @__PURE__ */
|
|
4383
|
-
const
|
|
4384
|
-
return /* @__PURE__ */
|
|
4382
|
+
/* @__PURE__ */ d("thead", { children: /* @__PURE__ */ d("tr", { children: r.map((b, c) => /* @__PURE__ */ d("th", { children: b.title }, c)) }) }),
|
|
4383
|
+
/* @__PURE__ */ d("tbody", { children: o.map((b, c) => b ? /* @__PURE__ */ d("tr", { children: r.map((R, P) => {
|
|
4384
|
+
const L = (l == null ? void 0 : l.rowIndex) === c && (l == null ? void 0 : l.colIndex) === P;
|
|
4385
|
+
return /* @__PURE__ */ d(
|
|
4385
4386
|
"td",
|
|
4386
4387
|
{
|
|
4387
|
-
onMouseLeave:
|
|
4388
|
-
children: /* @__PURE__ */
|
|
4389
|
-
/* @__PURE__ */
|
|
4390
|
-
!lo(
|
|
4388
|
+
onMouseLeave: L ? C : void 0,
|
|
4389
|
+
children: /* @__PURE__ */ H("div", { className: u, children: [
|
|
4390
|
+
/* @__PURE__ */ d("span", { children: R.isColorContentsCurlyBrackets ? N({ row: b, col: R }) : b[R.key] }),
|
|
4391
|
+
!lo(b[R.key]) && R.isBeCopiedValue && /* @__PURE__ */ d(
|
|
4391
4392
|
he,
|
|
4392
4393
|
{
|
|
4393
|
-
className:
|
|
4394
|
+
className: f({
|
|
4394
4395
|
[ye.spTable__tdContentCopyIcon]: !0,
|
|
4395
|
-
[ye.spTable__tdContentCopyIcon_copied]:
|
|
4396
|
+
[ye.spTable__tdContentCopyIcon_copied]: L
|
|
4396
4397
|
}),
|
|
4397
|
-
name:
|
|
4398
|
+
name: L ? ue.Check : ue.Copy,
|
|
4398
4399
|
onClick: () => {
|
|
4399
|
-
const
|
|
4400
|
-
if (!
|
|
4400
|
+
const Q = b[R.key];
|
|
4401
|
+
if (!Q) return null;
|
|
4401
4402
|
y({
|
|
4402
|
-
text:
|
|
4403
|
-
rowIndex:
|
|
4404
|
-
colIndex:
|
|
4403
|
+
text: Q,
|
|
4404
|
+
rowIndex: c,
|
|
4405
|
+
colIndex: P
|
|
4405
4406
|
});
|
|
4406
4407
|
}
|
|
4407
4408
|
}
|
|
4408
4409
|
)
|
|
4409
4410
|
] })
|
|
4410
4411
|
},
|
|
4411
|
-
`${
|
|
4412
|
+
`${c}:${P}`
|
|
4412
4413
|
);
|
|
4413
|
-
}) },
|
|
4414
|
-
] }) :
|
|
4414
|
+
}) }, c) : null) })
|
|
4415
|
+
] }) : w(), M = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ d(
|
|
4415
4416
|
"div",
|
|
4416
4417
|
{
|
|
4417
|
-
className:
|
|
4418
|
+
className: f({
|
|
4418
4419
|
[ye.spStringsGroup]: !0
|
|
4419
4420
|
}),
|
|
4420
|
-
children: o.map((
|
|
4421
|
-
if (lo(
|
|
4421
|
+
children: o.map((b, c) => b ? /* @__PURE__ */ d("div", { children: r.map((R, P) => {
|
|
4422
|
+
if (lo(b[R.key]))
|
|
4422
4423
|
return null;
|
|
4423
|
-
const
|
|
4424
|
-
return /* @__PURE__ */
|
|
4424
|
+
const L = (l == null ? void 0 : l.rowIndex) === c && (l == null ? void 0 : l.colIndex) === P;
|
|
4425
|
+
return /* @__PURE__ */ H(
|
|
4425
4426
|
"div",
|
|
4426
4427
|
{
|
|
4427
|
-
className:
|
|
4428
|
+
className: f({
|
|
4428
4429
|
[ye.spStringsGroup__groupItem]: !0
|
|
4429
4430
|
}),
|
|
4430
|
-
onMouseLeave:
|
|
4431
|
+
onMouseLeave: L ? C : void 0,
|
|
4431
4432
|
children: [
|
|
4432
|
-
/* @__PURE__ */
|
|
4433
|
+
/* @__PURE__ */ d(
|
|
4433
4434
|
"div",
|
|
4434
4435
|
{
|
|
4435
|
-
className:
|
|
4436
|
+
className: f({
|
|
4436
4437
|
[ye.spStringsGroup__groupItemHeader]: !0
|
|
4437
4438
|
}),
|
|
4438
|
-
children:
|
|
4439
|
+
children: R.title
|
|
4439
4440
|
}
|
|
4440
4441
|
),
|
|
4441
|
-
/* @__PURE__ */
|
|
4442
|
+
/* @__PURE__ */ H(
|
|
4442
4443
|
"div",
|
|
4443
4444
|
{
|
|
4444
|
-
className:
|
|
4445
|
+
className: f({
|
|
4445
4446
|
[ye.spStringsGroup__groupItemContent]: !0
|
|
4446
4447
|
}),
|
|
4447
4448
|
children: [
|
|
4448
|
-
/* @__PURE__ */
|
|
4449
|
-
|
|
4449
|
+
/* @__PURE__ */ d("span", { children: R.isColorContentsCurlyBrackets ? N({ row: b, col: R }) : b[R.key] }),
|
|
4450
|
+
R.isBeCopiedValue && /* @__PURE__ */ d(
|
|
4450
4451
|
he,
|
|
4451
4452
|
{
|
|
4452
|
-
className:
|
|
4453
|
+
className: f({
|
|
4453
4454
|
[ye.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
4454
|
-
[ye.spStringsGroup__groupItemContentCopyIcon_copied]:
|
|
4455
|
+
[ye.spStringsGroup__groupItemContentCopyIcon_copied]: L
|
|
4455
4456
|
}),
|
|
4456
|
-
name:
|
|
4457
|
+
name: L ? ue.Check : ue.Copy,
|
|
4457
4458
|
onClick: () => {
|
|
4458
|
-
const
|
|
4459
|
-
if (!
|
|
4459
|
+
const Q = b[R.key];
|
|
4460
|
+
if (!Q) return null;
|
|
4460
4461
|
y({
|
|
4461
|
-
text:
|
|
4462
|
-
rowIndex:
|
|
4463
|
-
colIndex:
|
|
4462
|
+
text: Q,
|
|
4463
|
+
rowIndex: c,
|
|
4464
|
+
colIndex: P
|
|
4464
4465
|
});
|
|
4465
4466
|
}
|
|
4466
4467
|
}
|
|
@@ -4470,13 +4471,13 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4470
4471
|
)
|
|
4471
4472
|
]
|
|
4472
4473
|
},
|
|
4473
|
-
|
|
4474
|
+
P
|
|
4474
4475
|
);
|
|
4475
|
-
}) },
|
|
4476
|
+
}) }, c) : null)
|
|
4476
4477
|
}
|
|
4477
|
-
) :
|
|
4478
|
-
return n ? a ?
|
|
4479
|
-
}, vs = "_spTabs_1citb_43", xs = "_spTabs_separated_1citb_48", gs = "_spTabs__tabElement_1citb_48", hs = "_spTabs__tabElement_active_1citb_83", bs = "_spTabs__triggerTooltip_1citb_90",
|
|
4478
|
+
) : w();
|
|
4479
|
+
return n ? a ? E() : M() : E();
|
|
4480
|
+
}, vs = "_spTabs_1citb_43", xs = "_spTabs_separated_1citb_48", gs = "_spTabs__tabElement_1citb_48", hs = "_spTabs__tabElement_active_1citb_83", bs = "_spTabs__triggerTooltip_1citb_90", Ae = {
|
|
4480
4481
|
spTabs: vs,
|
|
4481
4482
|
spTabs_separated: xs,
|
|
4482
4483
|
"spTabs--size-md": "_spTabs--size-md_1citb_48",
|
|
@@ -4486,7 +4487,7 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4486
4487
|
spTabs__tabElement_active: hs,
|
|
4487
4488
|
spTabs__triggerTooltip: bs,
|
|
4488
4489
|
"spTabs--variant-filled": "_spTabs--variant-filled_1citb_93"
|
|
4489
|
-
},
|
|
4490
|
+
}, ap = (e) => {
|
|
4490
4491
|
const {
|
|
4491
4492
|
panes: t,
|
|
4492
4493
|
isSeparated: o = !1,
|
|
@@ -4494,14 +4495,14 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4494
4495
|
classNameBaseTooltipRoot: a,
|
|
4495
4496
|
variant: i = "contained",
|
|
4496
4497
|
size: r = "md"
|
|
4497
|
-
} = e, s =
|
|
4498
|
-
[
|
|
4499
|
-
[
|
|
4500
|
-
[
|
|
4501
|
-
[
|
|
4498
|
+
} = e, s = f({
|
|
4499
|
+
[Ae.spTabs]: !0,
|
|
4500
|
+
[Ae.spTabs_separated]: o,
|
|
4501
|
+
[Ae[`spTabs--variant-${i}`]]: i,
|
|
4502
|
+
[Ae[`spTabs--size-${r}`]]: r,
|
|
4502
4503
|
...n && { [n]: !0 }
|
|
4503
|
-
}),
|
|
4504
|
-
[
|
|
4504
|
+
}), u = f({
|
|
4505
|
+
[Ae.spTabs__triggerTooltip]: !0
|
|
4505
4506
|
}), p = () => {
|
|
4506
4507
|
switch (r) {
|
|
4507
4508
|
case "md":
|
|
@@ -4510,59 +4511,62 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4510
4511
|
return "p1";
|
|
4511
4512
|
}
|
|
4512
4513
|
};
|
|
4513
|
-
return /* @__PURE__ */
|
|
4514
|
-
const { name:
|
|
4515
|
-
return /* @__PURE__ */
|
|
4514
|
+
return /* @__PURE__ */ d("div", { className: s, children: t.map((m, l) => {
|
|
4515
|
+
const { name: v, active: y, onClick: C, infoTooltipText: w } = m;
|
|
4516
|
+
return /* @__PURE__ */ H(
|
|
4516
4517
|
"div",
|
|
4517
4518
|
{
|
|
4518
|
-
className:
|
|
4519
|
-
[
|
|
4520
|
-
[
|
|
4519
|
+
className: f({
|
|
4520
|
+
[Ae.spTabs__tabElement]: !0,
|
|
4521
|
+
[Ae.spTabs__tabElement_active]: y
|
|
4521
4522
|
}),
|
|
4522
|
-
onClick:
|
|
4523
|
+
onClick: C,
|
|
4523
4524
|
children: [
|
|
4524
|
-
/* @__PURE__ */
|
|
4525
|
-
!!
|
|
4525
|
+
/* @__PURE__ */ d(Ne, { type: p(), children: v }),
|
|
4526
|
+
!!w && /* @__PURE__ */ d(
|
|
4526
4527
|
Je,
|
|
4527
4528
|
{
|
|
4528
|
-
classNameTriggerTooltip:
|
|
4529
|
-
text:
|
|
4529
|
+
classNameTriggerTooltip: u,
|
|
4530
|
+
text: w,
|
|
4530
4531
|
classNameBaseTooltipRoot: a
|
|
4531
4532
|
}
|
|
4532
4533
|
)
|
|
4533
4534
|
]
|
|
4534
4535
|
},
|
|
4535
|
-
|
|
4536
|
+
m.key || l
|
|
4536
4537
|
);
|
|
4537
4538
|
}) });
|
|
4538
4539
|
}, ys = "_spTextWithLabel_1dr7p_1", ws = {
|
|
4539
4540
|
spTextWithLabel: ys
|
|
4540
|
-
},
|
|
4541
|
+
}, ip = (e) => {
|
|
4541
4542
|
const { children: t, label: o, style: n, ...a } = e;
|
|
4542
|
-
return /* @__PURE__ */
|
|
4543
|
-
/* @__PURE__ */
|
|
4544
|
-
/* @__PURE__ */
|
|
4543
|
+
return /* @__PURE__ */ H("div", { className: ws.spTextWithLabel, style: { ...n }, children: [
|
|
4544
|
+
/* @__PURE__ */ d(jt, { label: o }),
|
|
4545
|
+
/* @__PURE__ */ d(Ne, { ...a, children: t })
|
|
4545
4546
|
] });
|
|
4546
|
-
}, ks = "
|
|
4547
|
+
}, ks = "_spUploadFiles_isuxw_43", Cs = "_spUploadFiles_error_isuxw_49", Ts = "_spUploadFiles__control_isuxw_49", Ns = "_spUploadFiles__placeholder_isuxw_57", Es = "_spUploadFiles__control_loading_isuxw_71", Ss = "_shimmer_isuxw_1", Rs = "_spUploadFiles__fileName_isuxw_86", As = "_spUploadFiles_fileUploaded_isuxw_118", js = "_spUploadFiles_disabled_isuxw_118", Ds = "_spUploadFiles__fileNamesList_isuxw_129", Is = "_spUploadFiles__fileNamesList_loading_isuxw_138", Ls = "_spUploadFiles__fileNamesListItem_isuxw_143", Fs = "_spUploadFiles__fileNamesListItem__triggerTooltip_isuxw_162", Os = "_spUploadFiles__fileNamesListItemDelete_isuxw_165", zs = "_spUploadFiles__tooltipWrapper_isuxw_180", Ps = "_spUploadFiles__tooltip_isuxw_180", Bs = "_spUploadFiles__delete_isuxw_186", Ws = "_spUploadFiles__delete_loading_isuxw_190", Ms = "_spUploadFiles__error_isuxw_199", ne = {
|
|
4547
4548
|
spUploadFiles: ks,
|
|
4548
4549
|
spUploadFiles_error: Cs,
|
|
4549
4550
|
spUploadFiles__control: Ts,
|
|
4550
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-
|
|
4551
|
-
spUploadFiles__placeholder:
|
|
4552
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-
|
|
4553
|
-
|
|
4554
|
-
|
|
4551
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_isuxw_53",
|
|
4552
|
+
spUploadFiles__placeholder: Ns,
|
|
4553
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_isuxw_65",
|
|
4554
|
+
spUploadFiles__control_loading: Es,
|
|
4555
|
+
shimmer: Ss,
|
|
4556
|
+
spUploadFiles__fileName: Rs,
|
|
4555
4557
|
spUploadFiles_fileUploaded: As,
|
|
4556
|
-
spUploadFiles_disabled:
|
|
4557
|
-
spUploadFiles__fileNamesList:
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4558
|
+
spUploadFiles_disabled: js,
|
|
4559
|
+
spUploadFiles__fileNamesList: Ds,
|
|
4560
|
+
spUploadFiles__fileNamesList_loading: Is,
|
|
4561
|
+
spUploadFiles__fileNamesListItem: Ls,
|
|
4562
|
+
spUploadFiles__fileNamesListItem__triggerTooltip: Fs,
|
|
4563
|
+
spUploadFiles__fileNamesListItemDelete: Os,
|
|
4564
|
+
spUploadFiles__tooltipWrapper: zs,
|
|
4565
|
+
spUploadFiles__tooltip: Ps,
|
|
4566
|
+
spUploadFiles__delete: Bs,
|
|
4567
|
+
spUploadFiles__delete_loading: Ws,
|
|
4568
|
+
spUploadFiles__error: Ms
|
|
4569
|
+
}, rp = (e) => {
|
|
4566
4570
|
const {
|
|
4567
4571
|
placeholder: t = "Загрузите файл",
|
|
4568
4572
|
variant: o = "input",
|
|
@@ -4571,111 +4575,123 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4571
4575
|
maxSize: i,
|
|
4572
4576
|
accept: r,
|
|
4573
4577
|
disabled: s,
|
|
4574
|
-
multiple:
|
|
4578
|
+
multiple: u,
|
|
4575
4579
|
maxFiles: p,
|
|
4576
|
-
files:
|
|
4580
|
+
files: m = [],
|
|
4577
4581
|
infoTooltipText: l,
|
|
4578
|
-
tooltipPosition:
|
|
4582
|
+
tooltipPosition: v = de.TopRight,
|
|
4579
4583
|
classNameRoot: y,
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
[
|
|
4584
|
-
[
|
|
4585
|
-
[
|
|
4586
|
-
[
|
|
4587
|
-
[
|
|
4584
|
+
loading: C,
|
|
4585
|
+
error: w
|
|
4586
|
+
} = e, N = m.map((ee) => ee.name), E = (N == null ? void 0 : N.length) > 0, M = o === "input", j = f({
|
|
4587
|
+
[ne.spUploadFiles]: !0,
|
|
4588
|
+
[ne[`spUploadFiles--variant-${o}`]]: o,
|
|
4589
|
+
[ne.spUploadFiles_error]: !!w,
|
|
4590
|
+
[ne.spUploadFiles_disabled]: s,
|
|
4591
|
+
[ne.spUploadFiles_multiple]: u,
|
|
4592
|
+
[ne.spUploadFiles_fileUploaded]: E,
|
|
4588
4593
|
...y && { [y]: !0 }
|
|
4589
|
-
}),
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
},
|
|
4593
|
-
|
|
4594
|
-
|
|
4594
|
+
}), b = f({
|
|
4595
|
+
[ne.spUploadFiles__control]: !0,
|
|
4596
|
+
[ne.spUploadFiles__control_loading]: C
|
|
4597
|
+
}), c = f({
|
|
4598
|
+
[ne.spUploadFiles__fileNamesList]: !0,
|
|
4599
|
+
[ne.spUploadFiles__fileNamesList_loading]: C
|
|
4600
|
+
}), R = f({
|
|
4601
|
+
[ne.spUploadFiles__delete]: !0,
|
|
4602
|
+
[ne.spUploadFiles__delete_loading]: C
|
|
4603
|
+
}), P = (ee) => {
|
|
4604
|
+
if (C)
|
|
4605
|
+
return;
|
|
4606
|
+
const ae = [...m], se = ae.findIndex((K) => K.name === ee);
|
|
4607
|
+
ae.splice(se, 1), a(ae, n);
|
|
4608
|
+
}, L = (ee) => {
|
|
4609
|
+
ee.stopPropagation(), a([], n);
|
|
4610
|
+
}, Q = () => u ? /* @__PURE__ */ d("ul", { className: c, children: N.map((ee, ae) => /* @__PURE__ */ H(
|
|
4595
4611
|
"li",
|
|
4596
4612
|
{
|
|
4597
|
-
className:
|
|
4598
|
-
onClick: (
|
|
4599
|
-
|
|
4613
|
+
className: ne.spUploadFiles__fileNamesListItem,
|
|
4614
|
+
onClick: (se) => {
|
|
4615
|
+
se.stopPropagation(), P(ee);
|
|
4600
4616
|
},
|
|
4601
4617
|
children: [
|
|
4602
|
-
/* @__PURE__ */
|
|
4603
|
-
|
|
4618
|
+
/* @__PURE__ */ d(
|
|
4619
|
+
Oi,
|
|
4604
4620
|
{
|
|
4605
4621
|
type: "p2",
|
|
4606
|
-
text:
|
|
4607
|
-
classNameTriggerTooltipRoot:
|
|
4622
|
+
text: ee,
|
|
4623
|
+
classNameTriggerTooltipRoot: ne.spUploadFiles__fileNamesListItem__triggerTooltip
|
|
4608
4624
|
}
|
|
4609
4625
|
),
|
|
4610
|
-
/* @__PURE__ */
|
|
4626
|
+
/* @__PURE__ */ d("div", { className: ne.spUploadFiles__fileNamesListItemDelete, children: /* @__PURE__ */ d(he, { name: ue.Trash }) })
|
|
4611
4627
|
]
|
|
4612
4628
|
},
|
|
4613
|
-
|
|
4614
|
-
)) }) : /* @__PURE__ */
|
|
4615
|
-
E ?
|
|
4616
|
-
E
|
|
4629
|
+
ae
|
|
4630
|
+
)) }) : /* @__PURE__ */ d(Ne, { isEllipsis: !0, classNameRoot: ne.spUploadFiles__fileName, children: N[0] }), te = () => /* @__PURE__ */ H(co, { children: [
|
|
4631
|
+
E ? Q() : /* @__PURE__ */ d(Ne, { classNameRoot: ne.spUploadFiles__placeholder, children: t }),
|
|
4632
|
+
E ? /* @__PURE__ */ d("div", { className: R, onClick: L, children: /* @__PURE__ */ d(he, { name: ue.Close }) }) : M && l && /* @__PURE__ */ d(
|
|
4617
4633
|
Je,
|
|
4618
4634
|
{
|
|
4619
|
-
classNameTooltip:
|
|
4620
|
-
position:
|
|
4635
|
+
classNameTooltip: ne.spUploadFiles__tooltipWrapper,
|
|
4636
|
+
position: v,
|
|
4621
4637
|
text: l,
|
|
4622
|
-
classNameTriggerTooltip:
|
|
4638
|
+
classNameTriggerTooltip: ne.spUploadFiles__tooltip
|
|
4623
4639
|
}
|
|
4624
4640
|
)
|
|
4625
4641
|
] });
|
|
4626
|
-
return /* @__PURE__ */
|
|
4642
|
+
return /* @__PURE__ */ d(
|
|
4627
4643
|
Ti,
|
|
4628
4644
|
{
|
|
4629
4645
|
name: n,
|
|
4630
|
-
files:
|
|
4631
|
-
multiple:
|
|
4646
|
+
files: m,
|
|
4647
|
+
multiple: u,
|
|
4632
4648
|
maxSize: i,
|
|
4633
4649
|
maxFiles: p,
|
|
4634
4650
|
accept: r,
|
|
4635
4651
|
onDropFiles: a,
|
|
4636
4652
|
disabled: s || E,
|
|
4637
|
-
children: /* @__PURE__ */
|
|
4638
|
-
/* @__PURE__ */
|
|
4639
|
-
|
|
4640
|
-
|
|
4653
|
+
children: /* @__PURE__ */ H("div", { className: j, children: [
|
|
4654
|
+
/* @__PURE__ */ H("div", { className: b, children: [
|
|
4655
|
+
M && (C ? /* @__PURE__ */ d(_o, {}) : /* @__PURE__ */ d(he, { name: E ? ue.Check : ue.Upload })),
|
|
4656
|
+
te()
|
|
4641
4657
|
] }),
|
|
4642
|
-
|
|
4658
|
+
w && /* @__PURE__ */ d("div", { className: ne.spUploadFiles__error, children: w })
|
|
4643
4659
|
] })
|
|
4644
4660
|
}
|
|
4645
4661
|
);
|
|
4646
4662
|
};
|
|
4647
4663
|
export {
|
|
4648
|
-
|
|
4664
|
+
Hs as Accordion,
|
|
4649
4665
|
Mn as ApplyButtons,
|
|
4650
4666
|
fo as BaseTooltip,
|
|
4651
4667
|
wt as Button,
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4668
|
+
Vs as Checkbox,
|
|
4669
|
+
Gs as Confirm,
|
|
4670
|
+
Ks as ContextMenu,
|
|
4655
4671
|
Ti as DefaultDropzone,
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4672
|
+
Xs as Dropdown,
|
|
4673
|
+
ue as EIconName,
|
|
4674
|
+
de as ETooltipPosition,
|
|
4675
|
+
Oi as EllipsisTextWithTooltip,
|
|
4676
|
+
Zs as Form,
|
|
4661
4677
|
he as Icon,
|
|
4662
4678
|
Je as InfoTooltip,
|
|
4663
4679
|
er as Input,
|
|
4664
4680
|
jt as Label,
|
|
4665
4681
|
ia as Layer,
|
|
4666
4682
|
tr as MediaContext,
|
|
4667
|
-
|
|
4683
|
+
Js as MediaContextProvider,
|
|
4668
4684
|
ga as Modal,
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4685
|
+
xo as Portal,
|
|
4686
|
+
ep as ProgressWrapper,
|
|
4687
|
+
tp as Select,
|
|
4688
|
+
op as Skeleton,
|
|
4689
|
+
_o as Spinner,
|
|
4690
|
+
np as Table,
|
|
4691
|
+
ap as Tabs,
|
|
4692
|
+
Ne as Text,
|
|
4693
|
+
ip as TextWithLabel,
|
|
4694
|
+
Rt as Tooltip,
|
|
4695
|
+
rp as UploadFiles,
|
|
4696
|
+
Ys as useModal
|
|
4681
4697
|
};
|