test-stpr-ui-kit 0.4.11 → 0.4.12
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 +10 -0
- package/dist/test-stpr-ui-kit.es.js +1151 -1136
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
import { jsxs as H, jsx as l, Fragment as
|
|
1
|
+
import { jsxs as H, jsx as l, Fragment as cn } from "react/jsx-runtime";
|
|
2
2
|
import * as j from "react";
|
|
3
|
-
import qe, { useState as
|
|
4
|
-
import
|
|
5
|
-
import './test-stpr-ui-kit.css';function
|
|
3
|
+
import qe, { useState as pe, useEffect as oe, useRef as Te, useCallback as le, forwardRef as zn, useImperativeHandle as Mn, Fragment as Bn, useMemo as De, useReducer as qn, createContext as ln, useContext as dn } from "react";
|
|
4
|
+
import Wn from "react-dom";
|
|
5
|
+
import './test-stpr-ui-kit.css';function un(e) {
|
|
6
6
|
var t, n, o = "";
|
|
7
7
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
8
8
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
9
9
|
var a = e.length;
|
|
10
|
-
for (t = 0; t < a; t++) e[t] && (n =
|
|
10
|
+
for (t = 0; t < a; t++) e[t] && (n = un(e[t])) && (o && (o += " "), o += n);
|
|
11
11
|
} else for (n in e) e[n] && (o && (o += " "), o += n);
|
|
12
12
|
return o;
|
|
13
13
|
}
|
|
14
14
|
function _() {
|
|
15
|
-
for (var e, t, n = 0, o = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t =
|
|
15
|
+
for (var e, t, n = 0, o = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = un(e)) && (o && (o += " "), o += t);
|
|
16
16
|
return o;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const $n = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), Hn = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), Yn = (e) => /* @__PURE__ */ j.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 20 20", fill: "none", ...e }, /* @__PURE__ */ j.createElement("line", { y1: -0.4, x2: 24.5568, y2: -0.4, transform: "matrix(0.680234 -0.732995 -0.680234 -0.732995 1 19)", stroke: "currentColor", strokeWidth: 0.8 }), /* @__PURE__ */ j.createElement("line", { y1: -0.4, x2: 24.5568, y2: -0.4, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18.9999 19)", stroke: "currentColor", strokeWidth: 0.8 })), Vn = (e) => /* @__PURE__ */ j.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__ */ j.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__ */ j.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" })), Un = (e) => /* @__PURE__ */ j.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__ */ j.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ j.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ j.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), Gn = (e) => /* @__PURE__ */ j.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__ */ j.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" })), Kn = (e) => /* @__PURE__ */ j.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__ */ j.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__ */ j.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ j.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Xn = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Zn = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ j.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Qn = (e) => /* @__PURE__ */ j.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__ */ j.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" })), Jn = (e) => /* @__PURE__ */ j.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__ */ j.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__ */ j.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ j.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), eo = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), to = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ j.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), no = (e) => /* @__PURE__ */ j.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__ */ j.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__ */ j.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ j.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), oo = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ j.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ j.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ j.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" })), ge = (e) => {
|
|
19
19
|
const { name: t, rotate: n, ...o } = e, a = {
|
|
20
20
|
...o.style,
|
|
21
21
|
boxSizing: "border-box",
|
|
22
22
|
flexShrink: 0,
|
|
23
23
|
transform: n ? `rotate(${n}deg)` : ""
|
|
24
24
|
}, i = {
|
|
25
|
-
chevronDown:
|
|
26
|
-
info:
|
|
27
|
-
plus:
|
|
28
|
-
minus:
|
|
29
|
-
selectChevronDown:
|
|
30
|
-
upload:
|
|
31
|
-
trash:
|
|
32
|
-
check:
|
|
33
|
-
copy:
|
|
34
|
-
close:
|
|
35
|
-
plusSquare:
|
|
36
|
-
warningColor:
|
|
37
|
-
dots:
|
|
38
|
-
historyClock:
|
|
39
|
-
plusCircle:
|
|
25
|
+
chevronDown: Hn,
|
|
26
|
+
info: Kn,
|
|
27
|
+
plus: Zn,
|
|
28
|
+
minus: Xn,
|
|
29
|
+
selectChevronDown: eo,
|
|
30
|
+
upload: no,
|
|
31
|
+
trash: to,
|
|
32
|
+
check: $n,
|
|
33
|
+
copy: Vn,
|
|
34
|
+
close: Yn,
|
|
35
|
+
plusSquare: Jn,
|
|
36
|
+
warningColor: oo,
|
|
37
|
+
dots: Un,
|
|
38
|
+
historyClock: Gn,
|
|
39
|
+
plusCircle: Qn
|
|
40
40
|
};
|
|
41
41
|
return qe.createElement(i[t], {
|
|
42
42
|
...o,
|
|
43
43
|
style: a
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
|
-
var
|
|
47
|
-
const
|
|
48
|
-
spAccordion:
|
|
49
|
-
spAccordion_noBorder:
|
|
50
|
-
spAccordion_noPadding:
|
|
51
|
-
spAccordion__name:
|
|
52
|
-
spAccordion_open:
|
|
53
|
-
spAccordion__header:
|
|
54
|
-
spAccordion_noOpen:
|
|
55
|
-
spAccordion__name_hiddenExpand:
|
|
56
|
-
spAccordion__icon:
|
|
57
|
-
spAccordion__icon_hidden:
|
|
58
|
-
spAccordion__icon_open:
|
|
59
|
-
spAccordion__childrenWrapper:
|
|
60
|
-
spAccordion__childrenWrapper_open:
|
|
61
|
-
spAccordion__content:
|
|
62
|
-
},
|
|
46
|
+
var ie = /* @__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))(ie || {});
|
|
47
|
+
const ao = "_spAccordion_1q2ki_43", io = "_spAccordion_noBorder_1q2ki_60", ro = "_spAccordion_noPadding_1q2ki_63", so = "_spAccordion__name_1q2ki_66", po = "_spAccordion_open_1q2ki_76", co = "_spAccordion__header_1q2ki_79", lo = "_spAccordion_noOpen_1q2ki_87", uo = "_spAccordion__name_hiddenExpand_1q2ki_118", mo = "_spAccordion__icon_1q2ki_121", fo = "_spAccordion__icon_hidden_1q2ki_131", _o = "_spAccordion__icon_open_1q2ki_134", vo = "_spAccordion__childrenWrapper_1q2ki_141", xo = "_spAccordion__childrenWrapper_open_1q2ki_150", go = "_spAccordion__content_1q2ki_153", ce = {
|
|
48
|
+
spAccordion: ao,
|
|
49
|
+
spAccordion_noBorder: io,
|
|
50
|
+
spAccordion_noPadding: ro,
|
|
51
|
+
spAccordion__name: so,
|
|
52
|
+
spAccordion_open: po,
|
|
53
|
+
spAccordion__header: co,
|
|
54
|
+
spAccordion_noOpen: lo,
|
|
55
|
+
spAccordion__name_hiddenExpand: uo,
|
|
56
|
+
spAccordion__icon: mo,
|
|
57
|
+
spAccordion__icon_hidden: fo,
|
|
58
|
+
spAccordion__icon_open: _o,
|
|
59
|
+
spAccordion__childrenWrapper: vo,
|
|
60
|
+
spAccordion__childrenWrapper_open: xo,
|
|
61
|
+
spAccordion__content: go
|
|
62
|
+
}, Ss = (e) => {
|
|
63
63
|
const {
|
|
64
64
|
name: t,
|
|
65
65
|
children: n,
|
|
@@ -72,56 +72,56 @@ const oo = "_spAccordion_1q2ki_43", ao = "_spAccordion_noBorder_1q2ki_60", io =
|
|
|
72
72
|
classNameHeader: d,
|
|
73
73
|
classNameTitle: m,
|
|
74
74
|
classNameIcon: c,
|
|
75
|
-
classNameChildrenWrapper:
|
|
76
|
-
} = e, [
|
|
77
|
-
a || (E(!
|
|
75
|
+
classNameChildrenWrapper: h
|
|
76
|
+
} = e, [y, E] = pe(o), w = () => {
|
|
77
|
+
a || (E(!y), i == null || i(!y));
|
|
78
78
|
}, N = _({
|
|
79
|
-
[
|
|
80
|
-
[
|
|
81
|
-
[
|
|
82
|
-
[
|
|
83
|
-
[
|
|
79
|
+
[ce.spAccordion]: !0,
|
|
80
|
+
[ce.spAccordion_open]: y,
|
|
81
|
+
[ce.spAccordion_noOpen]: !y,
|
|
82
|
+
[ce.spAccordion_noBorder]: r,
|
|
83
|
+
[ce.spAccordion_noPadding]: s,
|
|
84
84
|
...u && { [u]: !0 }
|
|
85
|
-
}),
|
|
86
|
-
[
|
|
85
|
+
}), L = _({
|
|
86
|
+
[ce.spAccordion__header]: !0,
|
|
87
87
|
...d && { [d]: !0 }
|
|
88
88
|
}), Y = _({
|
|
89
|
-
[
|
|
90
|
-
[
|
|
89
|
+
[ce.spAccordion__name]: !0,
|
|
90
|
+
[ce.spAccordion__name_hiddenExpand]: a,
|
|
91
91
|
...m && { [m]: !0 }
|
|
92
|
-
}),
|
|
93
|
-
[
|
|
94
|
-
[
|
|
95
|
-
[
|
|
92
|
+
}), A = _({
|
|
93
|
+
[ce.spAccordion__icon]: !0,
|
|
94
|
+
[ce.spAccordion__icon_open]: y,
|
|
95
|
+
[ce.spAccordion__icon_hidden]: a,
|
|
96
96
|
...c && { [c]: !0 }
|
|
97
|
-
}),
|
|
98
|
-
[
|
|
99
|
-
[
|
|
100
|
-
...
|
|
97
|
+
}), b = _({
|
|
98
|
+
[ce.spAccordion__childrenWrapper]: !0,
|
|
99
|
+
[ce.spAccordion__childrenWrapper_open]: y,
|
|
100
|
+
...h && { [h]: !0 }
|
|
101
101
|
});
|
|
102
102
|
return /* @__PURE__ */ H("div", { className: N, children: [
|
|
103
|
-
/* @__PURE__ */ H("div", { className:
|
|
104
|
-
/* @__PURE__ */ l("div", { className: Y, children: /* @__PURE__ */ l("span", { onClick:
|
|
103
|
+
/* @__PURE__ */ H("div", { className: L, children: [
|
|
104
|
+
/* @__PURE__ */ l("div", { className: Y, children: /* @__PURE__ */ l("span", { onClick: w, children: t }) }),
|
|
105
105
|
/* @__PURE__ */ l(
|
|
106
|
-
|
|
106
|
+
ge,
|
|
107
107
|
{
|
|
108
|
-
onClick:
|
|
109
|
-
className:
|
|
110
|
-
name:
|
|
108
|
+
onClick: w,
|
|
109
|
+
className: A,
|
|
110
|
+
name: ie.ChevronDown
|
|
111
111
|
}
|
|
112
112
|
)
|
|
113
113
|
] }),
|
|
114
|
-
/* @__PURE__ */ l("div", { className:
|
|
114
|
+
/* @__PURE__ */ l("div", { className: b, children: /* @__PURE__ */ l("div", { className: ce.spAccordion__content, children: n }) })
|
|
115
115
|
] });
|
|
116
|
-
},
|
|
117
|
-
spinner:
|
|
118
|
-
spinner__inner:
|
|
116
|
+
}, ho = "_spinner_gr4by_43", bo = "_spinner__inner_gr4by_57", pt = {
|
|
117
|
+
spinner: ho,
|
|
118
|
+
spinner__inner: bo,
|
|
119
119
|
"spinner-rotate": "_spinner-rotate_gr4by_1",
|
|
120
120
|
"spinner--sm": "_spinner--sm_gr4by_70",
|
|
121
121
|
"spinner--md": "_spinner--md_gr4by_74",
|
|
122
122
|
"spinner--lg": "_spinner--lg_gr4by_77",
|
|
123
123
|
"spinner--xl": "_spinner--xl_gr4by_81"
|
|
124
|
-
},
|
|
124
|
+
}, yo = (e) => {
|
|
125
125
|
const { size: t = "md", color: n = "#036bfd", classNameRoot: o } = e;
|
|
126
126
|
return /* @__PURE__ */ l(
|
|
127
127
|
"div",
|
|
@@ -133,20 +133,20 @@ const oo = "_spAccordion_1q2ki_43", ao = "_spAccordion_noBorder_1q2ki_60", io =
|
|
|
133
133
|
children: /* @__PURE__ */ l("div", { className: pt.spinner__inner })
|
|
134
134
|
}
|
|
135
135
|
);
|
|
136
|
-
},
|
|
137
|
-
spButton:
|
|
138
|
-
spButton_noPadding:
|
|
139
|
-
spButton_onlyIcon:
|
|
140
|
-
spButton__iconContainer:
|
|
141
|
-
spButton_link:
|
|
142
|
-
spButton__text:
|
|
143
|
-
spButton_primary:
|
|
144
|
-
spButton_blue:
|
|
145
|
-
spButton_white:
|
|
146
|
-
spButton_secondary:
|
|
136
|
+
}, wo = "_spButton_t6ehg_43", ko = "_spButton_noPadding_t6ehg_62", Co = "_spButton_onlyIcon_t6ehg_65", To = "_spButton__iconContainer_t6ehg_73", Eo = "_spButton_link_t6ehg_76", So = "_spButton__text_t6ehg_80", Io = "_spButton_primary_t6ehg_92", jo = "_spButton_blue_t6ehg_92", No = "_spButton_white_t6ehg_102", Ro = "_spButton_secondary_t6ehg_112", Ao = "_spButton_fullWidth_t6ehg_132", Do = "_spButton_disabled_t6ehg_135", Oo = "_spButton__spinner_t6ehg_143", be = {
|
|
137
|
+
spButton: wo,
|
|
138
|
+
spButton_noPadding: ko,
|
|
139
|
+
spButton_onlyIcon: Co,
|
|
140
|
+
spButton__iconContainer: To,
|
|
141
|
+
spButton_link: Eo,
|
|
142
|
+
spButton__text: So,
|
|
143
|
+
spButton_primary: Io,
|
|
144
|
+
spButton_blue: jo,
|
|
145
|
+
spButton_white: No,
|
|
146
|
+
spButton_secondary: Ro,
|
|
147
147
|
spButton_fullWidth: Ao,
|
|
148
|
-
spButton_disabled:
|
|
149
|
-
spButton__spinner:
|
|
148
|
+
spButton_disabled: Do,
|
|
149
|
+
spButton__spinner: Oo
|
|
150
150
|
}, yt = (e) => {
|
|
151
151
|
const {
|
|
152
152
|
color: t = "blue",
|
|
@@ -160,56 +160,56 @@ const oo = "_spAccordion_1q2ki_43", ao = "_spAccordion_noBorder_1q2ki_60", io =
|
|
|
160
160
|
form: d,
|
|
161
161
|
children: m,
|
|
162
162
|
loading: c = !1,
|
|
163
|
-
isFullWidth:
|
|
164
|
-
isOnlyIcon:
|
|
163
|
+
isFullWidth: h = !1,
|
|
164
|
+
isOnlyIcon: y = !1,
|
|
165
165
|
noPadding: E = !1,
|
|
166
|
-
classNameRoot:
|
|
166
|
+
classNameRoot: w,
|
|
167
167
|
classNameIconContainerRoot: N
|
|
168
|
-
} = e,
|
|
169
|
-
s || a == null || a(
|
|
168
|
+
} = e, L = (b) => {
|
|
169
|
+
s || a == null || a(b);
|
|
170
170
|
}, Y = () => {
|
|
171
|
-
const
|
|
171
|
+
const b = _({
|
|
172
172
|
[be.spButton__text]: !0
|
|
173
173
|
}), p = _({
|
|
174
174
|
[be.spButton__iconContainer]: !0,
|
|
175
175
|
...N && { [N]: !0 }
|
|
176
176
|
});
|
|
177
|
-
return /* @__PURE__ */ H(
|
|
178
|
-
(i || c) && /* @__PURE__ */ l("div", { className: p, children: c ? /* @__PURE__ */ l(
|
|
179
|
-
!
|
|
177
|
+
return /* @__PURE__ */ H(cn, { children: [
|
|
178
|
+
(i || c) && /* @__PURE__ */ l("div", { className: p, children: c ? /* @__PURE__ */ l(yo, { classNameRoot: be.spButton__spinner }) : i && /* @__PURE__ */ l(ge, { name: i, rotate: r }) }),
|
|
179
|
+
!y && m && /* @__PURE__ */ l("div", { className: b, children: m })
|
|
180
180
|
] });
|
|
181
|
-
},
|
|
181
|
+
}, A = _({
|
|
182
182
|
[be.spButton]: !0,
|
|
183
183
|
[be.spButton_noPadding]: E,
|
|
184
|
-
[be.spButton_onlyIcon]:
|
|
184
|
+
[be.spButton_onlyIcon]: y,
|
|
185
185
|
[be[`spButton_${n}`]]: n,
|
|
186
186
|
[be[`spButton_${t}`]]: t,
|
|
187
|
-
[be.spButton_fullWidth]:
|
|
187
|
+
[be.spButton_fullWidth]: h,
|
|
188
188
|
[be.spButton_disabled]: s,
|
|
189
189
|
[be.spButton_loading]: c,
|
|
190
|
-
...
|
|
190
|
+
...w && { [w]: !0 }
|
|
191
191
|
});
|
|
192
192
|
return /* @__PURE__ */ l(
|
|
193
193
|
"button",
|
|
194
194
|
{
|
|
195
195
|
style: o,
|
|
196
|
-
className:
|
|
197
|
-
onClick:
|
|
196
|
+
className: A,
|
|
197
|
+
onClick: L,
|
|
198
198
|
disabled: s,
|
|
199
199
|
type: u,
|
|
200
200
|
form: d,
|
|
201
201
|
children: Y()
|
|
202
202
|
}
|
|
203
203
|
);
|
|
204
|
-
},
|
|
205
|
-
spApplyButtons:
|
|
204
|
+
}, Lo = "_spApplyButtons_ayc5k_43", Po = "_spApplyButtons__cancel_ayc5k_69", Fo = "_spApplyButtons__submit_ayc5k_72", ze = {
|
|
205
|
+
spApplyButtons: Lo,
|
|
206
206
|
"spApplyButtons_align-right": "_spApplyButtons_align-right_ayc5k_52",
|
|
207
207
|
"spApplyButtons_align-left": "_spApplyButtons_align-left_ayc5k_55",
|
|
208
208
|
"spApplyButtons_align-center": "_spApplyButtons_align-center_ayc5k_58",
|
|
209
209
|
"spApplyButtons_mobile-column": "_spApplyButtons_mobile-column_ayc5k_61",
|
|
210
|
-
spApplyButtons__cancel:
|
|
211
|
-
spApplyButtons__submit:
|
|
212
|
-
},
|
|
210
|
+
spApplyButtons__cancel: Po,
|
|
211
|
+
spApplyButtons__submit: Fo
|
|
212
|
+
}, zo = (e) => {
|
|
213
213
|
const {
|
|
214
214
|
mobile: t = "column",
|
|
215
215
|
align: n = "center",
|
|
@@ -222,16 +222,16 @@ const oo = "_spAccordion_1q2ki_43", ao = "_spAccordion_noBorder_1q2ki_60", io =
|
|
|
222
222
|
onClose: d,
|
|
223
223
|
submit: m,
|
|
224
224
|
loading: c
|
|
225
|
-
} = e,
|
|
225
|
+
} = e, h = _({
|
|
226
226
|
[ze.spApplyButtons]: !0,
|
|
227
227
|
[ze[`spApplyButtons_mobile-${t}`]]: t,
|
|
228
228
|
[ze[`spApplyButtons_align-${n}`]]: n
|
|
229
|
-
}),
|
|
229
|
+
}), y = _({
|
|
230
230
|
[ze.spApplyButtons__submit]: !0
|
|
231
231
|
}), E = _({
|
|
232
232
|
[ze.spApplyButtons__cancel]: !0
|
|
233
233
|
});
|
|
234
|
-
return /* @__PURE__ */ H("div", { className:
|
|
234
|
+
return /* @__PURE__ */ H("div", { className: h, children: [
|
|
235
235
|
o && /* @__PURE__ */ l(
|
|
236
236
|
yt,
|
|
237
237
|
{
|
|
@@ -249,7 +249,7 @@ const oo = "_spAccordion_1q2ki_43", ao = "_spAccordion_noBorder_1q2ki_60", io =
|
|
|
249
249
|
{
|
|
250
250
|
type: "submit",
|
|
251
251
|
variant: "primary",
|
|
252
|
-
classNameRoot:
|
|
252
|
+
classNameRoot: y,
|
|
253
253
|
form: s || void 0,
|
|
254
254
|
disabled: u,
|
|
255
255
|
onClick: m,
|
|
@@ -258,11 +258,11 @@ const oo = "_spAccordion_1q2ki_43", ao = "_spAccordion_noBorder_1q2ki_60", io =
|
|
|
258
258
|
}
|
|
259
259
|
)
|
|
260
260
|
] });
|
|
261
|
-
},
|
|
262
|
-
spBaseTooltip:
|
|
263
|
-
spBaseTooltip_noPadding:
|
|
264
|
-
spBaseTooltip__content:
|
|
265
|
-
},
|
|
261
|
+
}, Mo = "_spBaseTooltip_105v4_43", Bo = "_spBaseTooltip_noPadding_105v4_60", qo = "_spBaseTooltip__content_105v4_63", ct = {
|
|
262
|
+
spBaseTooltip: Mo,
|
|
263
|
+
spBaseTooltip_noPadding: Bo,
|
|
264
|
+
spBaseTooltip__content: qo
|
|
265
|
+
}, mn = qe.forwardRef((e, t) => {
|
|
266
266
|
const {
|
|
267
267
|
text: n,
|
|
268
268
|
noPadding: o = !1,
|
|
@@ -279,25 +279,9 @@ const oo = "_spAccordion_1q2ki_43", ao = "_spAccordion_noBorder_1q2ki_60", io =
|
|
|
279
279
|
});
|
|
280
280
|
return /* @__PURE__ */ l("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ l("div", { className: u, children: n }) });
|
|
281
281
|
});
|
|
282
|
-
|
|
283
|
-
const mn = ({ children: e, node: t, classNameRoot: n }) => {
|
|
284
|
-
const [o, a] = se(null);
|
|
285
|
-
return ne(() => {
|
|
286
|
-
if (t) {
|
|
287
|
-
a(t);
|
|
288
|
-
return;
|
|
289
|
-
}
|
|
290
|
-
const i = document.createElement("div");
|
|
291
|
-
return n && (i.className = n), document.body.appendChild(i), a(i), () => {
|
|
292
|
-
t || document.body.removeChild(i);
|
|
293
|
-
};
|
|
294
|
-
}, [t, n]), o ? qn.createPortal(e, o) : null;
|
|
295
|
-
}, qo = "_spTooltip_1eqde_43", Wo = {
|
|
296
|
-
spTooltip: qo
|
|
297
|
-
};
|
|
298
|
-
var oe = /* @__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))(oe || {});
|
|
282
|
+
mn.displayName = "BaseTooltip";
|
|
299
283
|
function fn(e, t, n = !0) {
|
|
300
|
-
|
|
284
|
+
oe(() => {
|
|
301
285
|
if (!n) return;
|
|
302
286
|
const o = (a) => {
|
|
303
287
|
e.every((r) => r.current && !r.current.contains(a.target)) && t(a);
|
|
@@ -307,6 +291,23 @@ function fn(e, t, n = !0) {
|
|
|
307
291
|
};
|
|
308
292
|
}, [e, t, n]);
|
|
309
293
|
}
|
|
294
|
+
const _n = ({ children: e, node: t, classNameRoot: n }) => {
|
|
295
|
+
const [o, a] = pe(null);
|
|
296
|
+
return oe(() => {
|
|
297
|
+
if (t) {
|
|
298
|
+
a(t);
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
const i = document.createElement("div");
|
|
302
|
+
return n && (i.className = n), document.body.appendChild(i), a(i), () => {
|
|
303
|
+
t || document.body.removeChild(i);
|
|
304
|
+
};
|
|
305
|
+
}, [t, n]), o ? Wn.createPortal(e, o) : null;
|
|
306
|
+
}, Wo = "_spTooltip_bmf8p_43", $o = "_spTooltip__trigger_bmf8p_50", Dt = {
|
|
307
|
+
spTooltip: Wo,
|
|
308
|
+
spTooltip__trigger: $o
|
|
309
|
+
};
|
|
310
|
+
var ae = /* @__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))(ae || {});
|
|
310
311
|
const It = (e) => {
|
|
311
312
|
const {
|
|
312
313
|
hover: t = !0,
|
|
@@ -316,132 +317,135 @@ const It = (e) => {
|
|
|
316
317
|
triggerAction: i,
|
|
317
318
|
actionOnClose: r,
|
|
318
319
|
classNameTriggerTooltip: s,
|
|
319
|
-
position: u =
|
|
320
|
+
position: u = ae.BottomLeft,
|
|
320
321
|
text: d,
|
|
321
322
|
noPadding: m,
|
|
322
323
|
classNameTooltip: c,
|
|
323
|
-
classNameBaseTooltipRoot:
|
|
324
|
-
classNameBaseTooltipContentRoot:
|
|
325
|
-
} = e, [E,
|
|
324
|
+
classNameBaseTooltipRoot: h,
|
|
325
|
+
classNameBaseTooltipContentRoot: y
|
|
326
|
+
} = e, [E, w] = pe(!1), N = Te(null), L = Te(null), [Y, A] = pe(!1);
|
|
326
327
|
fn(
|
|
327
|
-
[N,
|
|
328
|
+
[N, L],
|
|
328
329
|
() => {
|
|
329
|
-
r && r(),
|
|
330
|
+
r && r(), w(!1);
|
|
330
331
|
},
|
|
331
332
|
E
|
|
332
333
|
);
|
|
333
|
-
const
|
|
334
|
-
t || (E ? r && r() : i && i(),
|
|
335
|
-
}, [p, T] =
|
|
334
|
+
const b = (k) => {
|
|
335
|
+
t || (E ? r && r() : i && i(), w((M) => n ? !M : !0));
|
|
336
|
+
}, [p, T] = pe({
|
|
336
337
|
visibility: "hidden",
|
|
337
338
|
opacity: 0,
|
|
338
339
|
left: "-9999px"
|
|
339
|
-
}), [D,
|
|
340
|
-
if (!N.current || !
|
|
341
|
-
const
|
|
342
|
-
let
|
|
340
|
+
}), [D, K] = pe(!1), Z = le(() => {
|
|
341
|
+
if (!N.current || !L.current) return;
|
|
342
|
+
const k = N.current.getBoundingClientRect(), M = L.current.getBoundingClientRect();
|
|
343
|
+
let V = 0, Q = 0;
|
|
343
344
|
switch (u) {
|
|
344
|
-
case
|
|
345
|
-
|
|
345
|
+
case ae.Right:
|
|
346
|
+
V = k.top + window.scrollY - (M.height - k.height) / 2, Q = k.right + window.scrollX;
|
|
346
347
|
break;
|
|
347
|
-
case
|
|
348
|
-
|
|
348
|
+
case ae.RightTop:
|
|
349
|
+
V = k.top + window.scrollY, Q = k.right + window.scrollX;
|
|
349
350
|
break;
|
|
350
|
-
case
|
|
351
|
-
|
|
351
|
+
case ae.RightBottom:
|
|
352
|
+
V = k.bottom + window.scrollY - M.height, Q = k.right + window.scrollX;
|
|
352
353
|
break;
|
|
353
|
-
case
|
|
354
|
-
|
|
354
|
+
case ae.Left:
|
|
355
|
+
V = k.top + window.scrollY - (M.height - k.height) / 2, Q = k.left + window.scrollX - M.width;
|
|
355
356
|
break;
|
|
356
|
-
case
|
|
357
|
-
|
|
357
|
+
case ae.LeftTop:
|
|
358
|
+
V = k.top + window.scrollY, Q = k.left + window.scrollX - M.width;
|
|
358
359
|
break;
|
|
359
|
-
case
|
|
360
|
-
|
|
360
|
+
case ae.LeftBottom:
|
|
361
|
+
V = k.bottom + window.scrollY - M.height, Q = k.left + window.scrollX - M.width;
|
|
361
362
|
break;
|
|
362
|
-
case
|
|
363
|
-
|
|
363
|
+
case ae.Bottom:
|
|
364
|
+
V = k.bottom + window.scrollY, Q = k.left + window.scrollX - (M.width - k.width) / 2;
|
|
364
365
|
break;
|
|
365
|
-
case
|
|
366
|
-
|
|
366
|
+
case ae.BottomLeft:
|
|
367
|
+
V = k.bottom + window.scrollY, Q = k.left + window.scrollX;
|
|
367
368
|
break;
|
|
368
|
-
case
|
|
369
|
-
|
|
369
|
+
case ae.BottomRight:
|
|
370
|
+
V = k.bottom + window.scrollY, Q = k.right + window.scrollX - M.width;
|
|
370
371
|
break;
|
|
371
|
-
case
|
|
372
|
-
|
|
372
|
+
case ae.Top:
|
|
373
|
+
V = k.top + window.scrollY - M.height, Q = k.left + window.scrollX - (M.width - k.width) / 2;
|
|
373
374
|
break;
|
|
374
|
-
case
|
|
375
|
-
|
|
375
|
+
case ae.TopLeft:
|
|
376
|
+
V = k.top + window.scrollY - M.height, Q = k.left + window.scrollX;
|
|
376
377
|
break;
|
|
377
|
-
case
|
|
378
|
-
|
|
378
|
+
case ae.TopRight:
|
|
379
|
+
V = k.top + window.scrollY - M.height, Q = k.right + window.scrollX - M.width;
|
|
379
380
|
break;
|
|
380
381
|
default:
|
|
381
|
-
|
|
382
|
+
V = k.bottom + window.scrollY, Q = k.left + window.scrollX;
|
|
382
383
|
}
|
|
383
|
-
|
|
384
|
-
...
|
|
385
|
-
top: `${
|
|
386
|
-
left: `${
|
|
384
|
+
V + M.height > window.innerHeight + window.scrollY && u.includes("bottom") ? V = k.top + window.scrollY - M.height : V < window.scrollY && u.includes("top") && (V = k.bottom + window.scrollY), T((X) => ({
|
|
385
|
+
...X,
|
|
386
|
+
top: `${V}px`,
|
|
387
|
+
left: `${Q}px`,
|
|
387
388
|
visibility: E || D ? "visible" : "hidden",
|
|
388
389
|
opacity: E || D ? 1 : 0
|
|
389
390
|
}));
|
|
390
391
|
}, [u, E, D]);
|
|
391
|
-
|
|
392
|
+
oe(() => (A(!0), () => A(!1)), []), oe(() => {
|
|
392
393
|
Y && Z();
|
|
393
|
-
}, [Y, Z]),
|
|
394
|
+
}, [Y, Z]), oe(() => {
|
|
394
395
|
if (!Y) return;
|
|
395
|
-
const
|
|
396
|
-
return window.addEventListener("resize",
|
|
397
|
-
window.removeEventListener("resize",
|
|
396
|
+
const k = () => Z();
|
|
397
|
+
return window.addEventListener("resize", k), window.addEventListener("scroll", k, !0), () => {
|
|
398
|
+
window.removeEventListener("resize", k), window.removeEventListener("scroll", k, !0);
|
|
398
399
|
};
|
|
399
400
|
}, [Y, Z]);
|
|
400
|
-
const
|
|
401
|
-
[
|
|
401
|
+
const re = _({
|
|
402
|
+
[Dt.spTooltip]: !0,
|
|
402
403
|
...c && { [c]: !0 }
|
|
403
|
-
}), le = _({
|
|
404
|
-
...b && { [b]: !0 }
|
|
405
404
|
}), de = _({
|
|
406
|
-
...
|
|
407
|
-
}), ue =
|
|
405
|
+
...h && { [h]: !0 }
|
|
406
|
+
}), ue = _({
|
|
407
|
+
...y && { [y]: !0 }
|
|
408
|
+
}), me = _({
|
|
409
|
+
[Dt.spTooltip__trigger]: !0,
|
|
410
|
+
...s && { [s]: !0 }
|
|
411
|
+
}), W = document.body;
|
|
408
412
|
return /* @__PURE__ */ H(
|
|
409
413
|
"div",
|
|
410
414
|
{
|
|
411
|
-
className:
|
|
412
|
-
onClick:
|
|
413
|
-
onMouseEnter: () => t &&
|
|
414
|
-
onMouseLeave: () => t &&
|
|
415
|
+
className: re,
|
|
416
|
+
onClick: b,
|
|
417
|
+
onMouseEnter: () => t && K(!0),
|
|
418
|
+
onMouseLeave: () => t && K(!1),
|
|
415
419
|
children: [
|
|
416
|
-
/* @__PURE__ */ l("div", { ref: N, className:
|
|
417
|
-
o && /* @__PURE__ */ l(
|
|
418
|
-
|
|
420
|
+
/* @__PURE__ */ l("div", { ref: N, className: me, children: a }),
|
|
421
|
+
o && /* @__PURE__ */ l(_n, { node: W, children: /* @__PURE__ */ l(
|
|
422
|
+
mn,
|
|
419
423
|
{
|
|
420
424
|
style: p,
|
|
421
|
-
ref:
|
|
425
|
+
ref: L,
|
|
422
426
|
noPadding: m,
|
|
423
427
|
text: d,
|
|
424
|
-
classNameRoot:
|
|
425
|
-
classNameContentRoot:
|
|
428
|
+
classNameRoot: de,
|
|
429
|
+
classNameContentRoot: ue
|
|
426
430
|
}
|
|
427
431
|
) })
|
|
428
432
|
]
|
|
429
433
|
}
|
|
430
434
|
);
|
|
431
|
-
}, Qe = (e) => /* @__PURE__ */ l(It, { ...e, hover: !0, trigger: /* @__PURE__ */ l(
|
|
432
|
-
spCheckbox:
|
|
433
|
-
spCheckbox__control:
|
|
434
|
-
spCheckbox__label:
|
|
435
|
-
spCheckbox__box:
|
|
435
|
+
}, Qe = (e) => /* @__PURE__ */ l(It, { ...e, hover: !0, trigger: /* @__PURE__ */ l(ge, { name: ie.Info }) }), Ho = "_spCheckbox_1qoym_43", Yo = "_spCheckbox__control_1qoym_53", Vo = "_spCheckbox__label_1qoym_56", Uo = "_spCheckbox__box_1qoym_67", Go = "_spCheckbox__box_checked_1qoym_94", Ko = "_spCheckbox__box_disabled_1qoym_104", Xo = "_spCheckbox__box_error_1qoym_114", Zo = "_spCheckbox__tooltip_1qoym_117", Qo = "_spCheckbox__required_1qoym_122", Jo = "_spCheckbox__error_1qoym_128", ye = {
|
|
436
|
+
spCheckbox: Ho,
|
|
437
|
+
spCheckbox__control: Yo,
|
|
438
|
+
spCheckbox__label: Vo,
|
|
439
|
+
spCheckbox__box: Uo,
|
|
436
440
|
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_1qoym_72",
|
|
437
441
|
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_1qoym_77",
|
|
438
|
-
spCheckbox__box_checked:
|
|
439
|
-
spCheckbox__box_disabled:
|
|
440
|
-
spCheckbox__box_error:
|
|
441
|
-
spCheckbox__tooltip:
|
|
442
|
-
spCheckbox__required:
|
|
443
|
-
spCheckbox__error:
|
|
444
|
-
},
|
|
442
|
+
spCheckbox__box_checked: Go,
|
|
443
|
+
spCheckbox__box_disabled: Ko,
|
|
444
|
+
spCheckbox__box_error: Xo,
|
|
445
|
+
spCheckbox__tooltip: Zo,
|
|
446
|
+
spCheckbox__required: Qo,
|
|
447
|
+
spCheckbox__error: Jo
|
|
448
|
+
}, Is = (e) => {
|
|
445
449
|
const {
|
|
446
450
|
size: t = "lg",
|
|
447
451
|
checked: n,
|
|
@@ -454,37 +458,37 @@ const It = (e) => {
|
|
|
454
458
|
required: d,
|
|
455
459
|
tooltipPosition: m,
|
|
456
460
|
infoTooltipText: c,
|
|
457
|
-
onMouseEnter:
|
|
458
|
-
classNameRoot:
|
|
461
|
+
onMouseEnter: h,
|
|
462
|
+
classNameRoot: y,
|
|
459
463
|
classNameError: E
|
|
460
|
-
} = e,
|
|
464
|
+
} = e, w = _({
|
|
461
465
|
[ye.spCheckbox]: !0,
|
|
462
|
-
...
|
|
466
|
+
...y && { [y]: !0 }
|
|
463
467
|
}), N = _({
|
|
464
468
|
[ye.spCheckbox__box]: !0,
|
|
465
469
|
[ye.spCheckbox__box_checked]: n,
|
|
466
470
|
[ye.spCheckbox__box_disabled]: o,
|
|
467
471
|
[ye[`spCheckbox__box--size-${t}`]]: t,
|
|
468
472
|
[ye.spCheckbox__box_error]: s
|
|
469
|
-
}),
|
|
473
|
+
}), L = _({
|
|
470
474
|
[ye.spCheckbox__control]: !0
|
|
471
475
|
}), Y = _({
|
|
472
476
|
[ye.spCheckbox__label]: !0
|
|
473
|
-
}),
|
|
477
|
+
}), A = _({
|
|
474
478
|
[ye.spCheckbox__required]: !0
|
|
475
|
-
}),
|
|
479
|
+
}), b = _({
|
|
476
480
|
[ye.spCheckbox__error]: !0,
|
|
477
481
|
...E && { [E]: !0 }
|
|
478
482
|
}), p = _({
|
|
479
483
|
[ye.spCheckbox__tooltip]: !0
|
|
480
484
|
});
|
|
481
|
-
return /* @__PURE__ */ H("div", { className:
|
|
485
|
+
return /* @__PURE__ */ H("div", { className: w, onMouseEnter: h, children: [
|
|
482
486
|
/* @__PURE__ */ H("label", { className: N, children: [
|
|
483
487
|
/* @__PURE__ */ l(
|
|
484
488
|
"input",
|
|
485
489
|
{
|
|
486
490
|
type: "checkbox",
|
|
487
|
-
className:
|
|
491
|
+
className: L,
|
|
488
492
|
checked: n,
|
|
489
493
|
onChange: (D) => {
|
|
490
494
|
!o && a && a(D, { name: i, checked: !n, value: u });
|
|
@@ -492,13 +496,13 @@ const It = (e) => {
|
|
|
492
496
|
}
|
|
493
497
|
),
|
|
494
498
|
r && /* @__PURE__ */ l("span", { className: Y, children: r }),
|
|
495
|
-
d && /* @__PURE__ */ l("div", { className:
|
|
499
|
+
d && /* @__PURE__ */ l("div", { className: A, children: "*" }),
|
|
496
500
|
c && /* @__PURE__ */ l("div", { className: p, children: /* @__PURE__ */ l(Qe, { position: m, text: c }) })
|
|
497
501
|
] }),
|
|
498
|
-
s && /* @__PURE__ */ l("div", { className:
|
|
502
|
+
s && /* @__PURE__ */ l("div", { className: b, children: s })
|
|
499
503
|
] });
|
|
500
|
-
},
|
|
501
|
-
const { initialValue: t = null } = e, [n, o] =
|
|
504
|
+
}, js = (e = {}) => {
|
|
505
|
+
const { initialValue: t = null } = e, [n, o] = pe(t);
|
|
502
506
|
return {
|
|
503
507
|
isOpen: !!n,
|
|
504
508
|
modalData: n,
|
|
@@ -509,31 +513,31 @@ const It = (e) => {
|
|
|
509
513
|
o(null);
|
|
510
514
|
}
|
|
511
515
|
};
|
|
512
|
-
},
|
|
513
|
-
layer:
|
|
514
|
-
layer_hidden:
|
|
515
|
-
},
|
|
516
|
+
}, ea = "_layer_112v5_43", ta = "_layer_hidden_112v5_69", Ot = {
|
|
517
|
+
layer: ea,
|
|
518
|
+
layer_hidden: ta
|
|
519
|
+
}, na = (e) => {
|
|
516
520
|
const {
|
|
517
521
|
children: t,
|
|
518
522
|
zIndex: n = "9999",
|
|
519
523
|
isHiddenModal: o = !1,
|
|
520
524
|
classNameRoot: a
|
|
521
525
|
} = e, i = document.body, r = _({
|
|
522
|
-
[
|
|
523
|
-
[
|
|
526
|
+
[Ot.layer]: !0,
|
|
527
|
+
[Ot.layer_hidden]: o,
|
|
524
528
|
...a && { [a]: !0 }
|
|
525
529
|
});
|
|
526
|
-
return /* @__PURE__ */ l(
|
|
527
|
-
},
|
|
528
|
-
spText:
|
|
529
|
-
spText_ellipsis:
|
|
530
|
+
return /* @__PURE__ */ l(_n, { node: i, children: /* @__PURE__ */ l("div", { style: { zIndex: n }, className: r, children: t }) });
|
|
531
|
+
}, oa = "_spText_10b73_43", aa = "_spText_ellipsis_10b73_59", ia = "_spText_cursorPointer_10b73_116", Ye = {
|
|
532
|
+
spText: oa,
|
|
533
|
+
spText_ellipsis: aa,
|
|
530
534
|
"spText_type-h1": "_spText_type-h1_10b73_65",
|
|
531
535
|
"spText_type-h3": "_spText_type-h3_10b73_75",
|
|
532
536
|
"spText_type-p1": "_spText_type-p1_10b73_86",
|
|
533
537
|
"spText_type-p2": "_spText_type-p2_10b73_91",
|
|
534
538
|
"spText_type-description": "_spText_type-description_10b73_95",
|
|
535
539
|
"spText_type-link": "_spText_type-link_10b73_103",
|
|
536
|
-
spText_cursorPointer:
|
|
540
|
+
spText_cursorPointer: ia
|
|
537
541
|
}, Se = qe.forwardRef((e, t) => {
|
|
538
542
|
const {
|
|
539
543
|
type: n,
|
|
@@ -546,10 +550,10 @@ const It = (e) => {
|
|
|
546
550
|
isCursorPointer: d = !1,
|
|
547
551
|
isCursorPointerByOnClick: m = !0,
|
|
548
552
|
classNameRoot: c
|
|
549
|
-
} = e,
|
|
553
|
+
} = e, h = () => s && m ? !0 : d, y = _({
|
|
550
554
|
[Ye.spText]: !0,
|
|
551
555
|
[Ye.spText_ellipsis]: u,
|
|
552
|
-
[Ye.spText_cursorPointer]:
|
|
556
|
+
[Ye.spText_cursorPointer]: h(),
|
|
553
557
|
[Ye[`spText_type-${n}`]]: n,
|
|
554
558
|
...c && { [c]: !0 }
|
|
555
559
|
});
|
|
@@ -559,25 +563,25 @@ const It = (e) => {
|
|
|
559
563
|
style: { ...r, color: a },
|
|
560
564
|
title: i,
|
|
561
565
|
onClick: s,
|
|
562
|
-
className:
|
|
566
|
+
className: y,
|
|
563
567
|
ref: t,
|
|
564
568
|
children: o
|
|
565
569
|
}
|
|
566
570
|
);
|
|
567
571
|
});
|
|
568
572
|
Se.displayName = "Text";
|
|
569
|
-
const
|
|
570
|
-
modalWrapper:
|
|
573
|
+
const ra = "_modalWrapper_kusfc_43", sa = "_modalWrapper__modal_kusfc_58", pa = "_modalWrapper__content_kusfc_81", ca = "_modalWrapper__header_kusfc_84", la = "_modalWrapper__subHeader_kusfc_92", da = "_modalWrapper__footer_kusfc_100", ua = "_modalWrapper__closeButton_kusfc_103", ma = "_modalWrapper__closeButtonIconContainer_kusfc_117", ke = {
|
|
574
|
+
modalWrapper: ra,
|
|
571
575
|
"modalWrapper_align-top": "_modalWrapper_align-top_kusfc_52",
|
|
572
576
|
"modalWrapper_align-center": "_modalWrapper_align-center_kusfc_55",
|
|
573
|
-
modalWrapper__modal:
|
|
574
|
-
modalWrapper__content:
|
|
575
|
-
modalWrapper__header:
|
|
576
|
-
modalWrapper__subHeader:
|
|
577
|
-
modalWrapper__footer:
|
|
578
|
-
modalWrapper__closeButton:
|
|
579
|
-
modalWrapper__closeButtonIconContainer:
|
|
580
|
-
},
|
|
577
|
+
modalWrapper__modal: sa,
|
|
578
|
+
modalWrapper__content: pa,
|
|
579
|
+
modalWrapper__header: ca,
|
|
580
|
+
modalWrapper__subHeader: la,
|
|
581
|
+
modalWrapper__footer: da,
|
|
582
|
+
modalWrapper__closeButton: ua,
|
|
583
|
+
modalWrapper__closeButtonIconContainer: ma
|
|
584
|
+
}, fa = (e) => {
|
|
581
585
|
const {
|
|
582
586
|
zIndex: t,
|
|
583
587
|
isHiddenModal: n = !1,
|
|
@@ -590,52 +594,52 @@ const ia = "_modalWrapper_kusfc_43", ra = "_modalWrapper__modal_kusfc_58", sa =
|
|
|
590
594
|
onClose: d,
|
|
591
595
|
header: m,
|
|
592
596
|
subHeader: c,
|
|
593
|
-
footer:
|
|
594
|
-
} = e,
|
|
597
|
+
footer: h
|
|
598
|
+
} = e, y = _({
|
|
595
599
|
[ke.modalWrapper]: !0,
|
|
596
600
|
[ke[`modalWrapper_align-${u}`]]: u
|
|
597
601
|
}), E = _({
|
|
598
602
|
[ke.modalWrapper__modal]: !0,
|
|
599
603
|
...r && { [r]: !0 }
|
|
600
|
-
}),
|
|
604
|
+
}), w = _({
|
|
601
605
|
[ke.modalWrapper__closeButton]: !0
|
|
602
606
|
}), N = _({
|
|
603
607
|
[ke.modalWrapper__closeButtonIconContainer]: !0
|
|
604
|
-
}),
|
|
608
|
+
}), L = _({
|
|
605
609
|
[ke.modalWrapper__content]: !0
|
|
606
610
|
}), Y = _({
|
|
607
611
|
[ke.modalWrapper__header]: !0
|
|
608
|
-
}),
|
|
612
|
+
}), A = _({
|
|
609
613
|
[ke.modalWrapper__subHeader]: !0
|
|
610
|
-
}),
|
|
614
|
+
}), b = _({
|
|
611
615
|
[ke.modalWrapper__footer]: !0
|
|
612
616
|
});
|
|
613
|
-
return
|
|
617
|
+
return oe(() => {
|
|
614
618
|
const p = window.scrollY, T = document.body;
|
|
615
619
|
return T.style.position = "fixed", T.style.top = `-${p}px`, T.style.left = "0", T.style.right = "0", T.style.overflow = "hidden", () => {
|
|
616
620
|
T.style.position = "", T.style.top = "", T.style.left = "", T.style.right = "", T.style.overflow = "", window.scrollTo(0, p);
|
|
617
621
|
};
|
|
618
|
-
}, []), /* @__PURE__ */ l(
|
|
622
|
+
}, []), /* @__PURE__ */ l(na, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: y, children: /* @__PURE__ */ H("div", { className: E, style: s, children: [
|
|
619
623
|
(m || c) && /* @__PURE__ */ H("div", { className: Y, children: [
|
|
620
624
|
typeof m == "string" ? /* @__PURE__ */ l(Se, { type: "h3", children: m }) : m,
|
|
621
|
-
c && /* @__PURE__ */ l("div", { className:
|
|
625
|
+
c && /* @__PURE__ */ l("div", { className: A, children: typeof c == "string" ? /* @__PURE__ */ l(Se, { children: c }) : c })
|
|
622
626
|
] }),
|
|
623
|
-
a && /* @__PURE__ */ l("div", { className:
|
|
624
|
-
|
|
627
|
+
a && /* @__PURE__ */ l("div", { className: L, children: a }),
|
|
628
|
+
h && /* @__PURE__ */ l("div", { className: b, children: h }),
|
|
625
629
|
o && /* @__PURE__ */ l(
|
|
626
630
|
yt,
|
|
627
631
|
{
|
|
628
|
-
classNameRoot:
|
|
632
|
+
classNameRoot: w,
|
|
629
633
|
classNameIconContainerRoot: N,
|
|
630
634
|
onClick: d,
|
|
631
|
-
iconName:
|
|
635
|
+
iconName: ie.Close,
|
|
632
636
|
variant: "link",
|
|
633
637
|
noPadding: !0,
|
|
634
638
|
isOnlyIcon: !0
|
|
635
639
|
}
|
|
636
640
|
)
|
|
637
641
|
] }) }) });
|
|
638
|
-
},
|
|
642
|
+
}, Ns = (e) => {
|
|
639
643
|
const {
|
|
640
644
|
zIndex: t,
|
|
641
645
|
title: n,
|
|
@@ -648,13 +652,13 @@ const ia = "_modalWrapper_kusfc_43", ra = "_modalWrapper__modal_kusfc_58", sa =
|
|
|
648
652
|
disabled: d,
|
|
649
653
|
formId: m,
|
|
650
654
|
onClose: c,
|
|
651
|
-
mobile:
|
|
652
|
-
align:
|
|
655
|
+
mobile: h = "column",
|
|
656
|
+
align: y = "right",
|
|
653
657
|
modalAlign: E = "top",
|
|
654
|
-
loading:
|
|
658
|
+
loading: w
|
|
655
659
|
} = e;
|
|
656
660
|
return /* @__PURE__ */ l(
|
|
657
|
-
|
|
661
|
+
fa,
|
|
658
662
|
{
|
|
659
663
|
zIndex: t,
|
|
660
664
|
header: n,
|
|
@@ -662,10 +666,10 @@ const ia = "_modalWrapper_kusfc_43", ra = "_modalWrapper__modal_kusfc_58", sa =
|
|
|
662
666
|
align: E,
|
|
663
667
|
subHeader: o,
|
|
664
668
|
footer: a || s ? /* @__PURE__ */ l(
|
|
665
|
-
|
|
669
|
+
zo,
|
|
666
670
|
{
|
|
667
|
-
mobile:
|
|
668
|
-
align:
|
|
671
|
+
mobile: h,
|
|
672
|
+
align: y,
|
|
669
673
|
cancelBtnContent: a,
|
|
670
674
|
cancelBtnIconName: r,
|
|
671
675
|
cancelBtnDisabled: i,
|
|
@@ -674,16 +678,16 @@ const ia = "_modalWrapper_kusfc_43", ra = "_modalWrapper__modal_kusfc_58", sa =
|
|
|
674
678
|
disabled: d,
|
|
675
679
|
onClose: c,
|
|
676
680
|
submit: u,
|
|
677
|
-
loading:
|
|
681
|
+
loading: w
|
|
678
682
|
}
|
|
679
683
|
) : null
|
|
680
684
|
}
|
|
681
685
|
);
|
|
682
|
-
},
|
|
683
|
-
spContextMenu:
|
|
684
|
-
spContextMenu__item:
|
|
685
|
-
spContextMenu__item_deleteItem:
|
|
686
|
-
},
|
|
686
|
+
}, _a = "_spContextMenu_1jcxd_43", va = "_spContextMenu__item_1jcxd_59", xa = "_spContextMenu__item_deleteItem_1jcxd_77", lt = {
|
|
687
|
+
spContextMenu: _a,
|
|
688
|
+
spContextMenu__item: va,
|
|
689
|
+
spContextMenu__item_deleteItem: xa
|
|
690
|
+
}, Rs = (e) => {
|
|
687
691
|
const { onClickItem: t, options: n, classNameRoot: o } = e, a = _({
|
|
688
692
|
[lt.spContextMenu]: !0,
|
|
689
693
|
...o && { [o]: !0 }
|
|
@@ -701,7 +705,7 @@ const ia = "_modalWrapper_kusfc_43", ra = "_modalWrapper__modal_kusfc_58", sa =
|
|
|
701
705
|
t && t(i);
|
|
702
706
|
},
|
|
703
707
|
children: [
|
|
704
|
-
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ l(
|
|
708
|
+
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ l(ge, { name: i.iconName }),
|
|
705
709
|
i.label
|
|
706
710
|
]
|
|
707
711
|
},
|
|
@@ -709,10 +713,10 @@ const ia = "_modalWrapper_kusfc_43", ra = "_modalWrapper__modal_kusfc_58", sa =
|
|
|
709
713
|
);
|
|
710
714
|
}) });
|
|
711
715
|
};
|
|
712
|
-
function
|
|
716
|
+
function vn(e) {
|
|
713
717
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
714
718
|
}
|
|
715
|
-
var wt = { exports: {} }, Ve = { exports: {} },
|
|
719
|
+
var wt = { exports: {} }, Ve = { exports: {} }, U = {};
|
|
716
720
|
/** @license React v16.13.1
|
|
717
721
|
* react-is.production.min.js
|
|
718
722
|
*
|
|
@@ -721,12 +725,12 @@ var wt = { exports: {} }, Ve = { exports: {} }, V = {};
|
|
|
721
725
|
* This source code is licensed under the MIT license found in the
|
|
722
726
|
* LICENSE file in the root directory of this source tree.
|
|
723
727
|
*/
|
|
724
|
-
var
|
|
725
|
-
function
|
|
726
|
-
if (
|
|
727
|
-
|
|
728
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = 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, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113,
|
|
729
|
-
function
|
|
728
|
+
var Lt;
|
|
729
|
+
function ga() {
|
|
730
|
+
if (Lt) return U;
|
|
731
|
+
Lt = 1;
|
|
732
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = 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, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, N = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
|
|
733
|
+
function A(p) {
|
|
730
734
|
if (typeof p == "object" && p !== null) {
|
|
731
735
|
var T = p.$$typeof;
|
|
732
736
|
switch (T) {
|
|
@@ -744,7 +748,7 @@ function xa() {
|
|
|
744
748
|
case s:
|
|
745
749
|
case m:
|
|
746
750
|
case E:
|
|
747
|
-
case
|
|
751
|
+
case y:
|
|
748
752
|
case r:
|
|
749
753
|
return p;
|
|
750
754
|
default:
|
|
@@ -756,38 +760,38 @@ function xa() {
|
|
|
756
760
|
}
|
|
757
761
|
}
|
|
758
762
|
}
|
|
759
|
-
function
|
|
760
|
-
return
|
|
763
|
+
function b(p) {
|
|
764
|
+
return A(p) === d;
|
|
761
765
|
}
|
|
762
|
-
return
|
|
763
|
-
return
|
|
764
|
-
},
|
|
765
|
-
return
|
|
766
|
-
},
|
|
767
|
-
return
|
|
768
|
-
},
|
|
766
|
+
return U.AsyncMode = u, U.ConcurrentMode = d, U.ContextConsumer = s, U.ContextProvider = r, U.Element = t, U.ForwardRef = m, U.Fragment = o, U.Lazy = E, U.Memo = y, U.Portal = n, U.Profiler = i, U.StrictMode = a, U.Suspense = c, U.isAsyncMode = function(p) {
|
|
767
|
+
return b(p) || A(p) === u;
|
|
768
|
+
}, U.isConcurrentMode = b, U.isContextConsumer = function(p) {
|
|
769
|
+
return A(p) === s;
|
|
770
|
+
}, U.isContextProvider = function(p) {
|
|
771
|
+
return A(p) === r;
|
|
772
|
+
}, U.isElement = function(p) {
|
|
769
773
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
770
|
-
},
|
|
771
|
-
return
|
|
772
|
-
},
|
|
773
|
-
return
|
|
774
|
-
},
|
|
775
|
-
return
|
|
776
|
-
},
|
|
777
|
-
return
|
|
778
|
-
},
|
|
779
|
-
return
|
|
780
|
-
},
|
|
781
|
-
return
|
|
782
|
-
},
|
|
783
|
-
return
|
|
784
|
-
},
|
|
785
|
-
return
|
|
786
|
-
},
|
|
787
|
-
return typeof p == "string" || typeof p == "function" || p === o || p === d || p === i || p === a || p === c || p ===
|
|
788
|
-
},
|
|
774
|
+
}, U.isForwardRef = function(p) {
|
|
775
|
+
return A(p) === m;
|
|
776
|
+
}, U.isFragment = function(p) {
|
|
777
|
+
return A(p) === o;
|
|
778
|
+
}, U.isLazy = function(p) {
|
|
779
|
+
return A(p) === E;
|
|
780
|
+
}, U.isMemo = function(p) {
|
|
781
|
+
return A(p) === y;
|
|
782
|
+
}, U.isPortal = function(p) {
|
|
783
|
+
return A(p) === n;
|
|
784
|
+
}, U.isProfiler = function(p) {
|
|
785
|
+
return A(p) === i;
|
|
786
|
+
}, U.isStrictMode = function(p) {
|
|
787
|
+
return A(p) === a;
|
|
788
|
+
}, U.isSuspense = function(p) {
|
|
789
|
+
return A(p) === c;
|
|
790
|
+
}, U.isValidElementType = function(p) {
|
|
791
|
+
return typeof p == "string" || typeof p == "function" || p === o || p === d || p === i || p === a || p === c || p === h || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === y || p.$$typeof === r || p.$$typeof === s || p.$$typeof === m || p.$$typeof === N || p.$$typeof === L || p.$$typeof === Y || p.$$typeof === w);
|
|
792
|
+
}, U.typeOf = A, U;
|
|
789
793
|
}
|
|
790
|
-
var
|
|
794
|
+
var G = {};
|
|
791
795
|
/** @license React v16.13.1
|
|
792
796
|
* react-is.development.js
|
|
793
797
|
*
|
|
@@ -796,18 +800,18 @@ var U = {};
|
|
|
796
800
|
* This source code is licensed under the MIT license found in the
|
|
797
801
|
* LICENSE file in the root directory of this source tree.
|
|
798
802
|
*/
|
|
799
|
-
var
|
|
800
|
-
function
|
|
801
|
-
return
|
|
802
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = 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, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113,
|
|
803
|
-
function
|
|
803
|
+
var Pt;
|
|
804
|
+
function ha() {
|
|
805
|
+
return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
806
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = 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, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, N = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
|
|
807
|
+
function A(v) {
|
|
804
808
|
return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
805
|
-
v === o || v === d || v === i || v === a || v === c || v ===
|
|
809
|
+
v === o || v === d || v === i || v === a || v === c || v === h || typeof v == "object" && v !== null && (v.$$typeof === E || v.$$typeof === y || v.$$typeof === r || v.$$typeof === s || v.$$typeof === m || v.$$typeof === N || v.$$typeof === L || v.$$typeof === Y || v.$$typeof === w);
|
|
806
810
|
}
|
|
807
|
-
function
|
|
811
|
+
function b(v) {
|
|
808
812
|
if (typeof v == "object" && v !== null) {
|
|
809
|
-
var
|
|
810
|
-
switch (
|
|
813
|
+
var fe = v.$$typeof;
|
|
814
|
+
switch (fe) {
|
|
811
815
|
case t:
|
|
812
816
|
var Ie = v.type;
|
|
813
817
|
switch (Ie) {
|
|
@@ -824,74 +828,74 @@ function ga() {
|
|
|
824
828
|
case s:
|
|
825
829
|
case m:
|
|
826
830
|
case E:
|
|
827
|
-
case
|
|
831
|
+
case y:
|
|
828
832
|
case r:
|
|
829
833
|
return Pe;
|
|
830
834
|
default:
|
|
831
|
-
return
|
|
835
|
+
return fe;
|
|
832
836
|
}
|
|
833
837
|
}
|
|
834
838
|
case n:
|
|
835
|
-
return
|
|
839
|
+
return fe;
|
|
836
840
|
}
|
|
837
841
|
}
|
|
838
842
|
}
|
|
839
|
-
var p = u, T = d, D = s,
|
|
843
|
+
var p = u, T = d, D = s, K = r, Z = t, re = m, de = o, ue = E, me = y, W = n, k = i, M = a, V = c, Q = !1;
|
|
840
844
|
function X(v) {
|
|
841
|
-
return
|
|
845
|
+
return Q || (Q = !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.")), f(v) || b(v) === u;
|
|
842
846
|
}
|
|
843
847
|
function f(v) {
|
|
844
|
-
return
|
|
848
|
+
return b(v) === d;
|
|
845
849
|
}
|
|
846
|
-
function
|
|
847
|
-
return
|
|
850
|
+
function g(v) {
|
|
851
|
+
return b(v) === s;
|
|
848
852
|
}
|
|
849
|
-
function
|
|
850
|
-
return
|
|
853
|
+
function O(v) {
|
|
854
|
+
return b(v) === r;
|
|
851
855
|
}
|
|
852
|
-
function
|
|
856
|
+
function P(v) {
|
|
853
857
|
return typeof v == "object" && v !== null && v.$$typeof === t;
|
|
854
858
|
}
|
|
855
859
|
function I(v) {
|
|
856
|
-
return
|
|
860
|
+
return b(v) === m;
|
|
857
861
|
}
|
|
858
|
-
function
|
|
859
|
-
return
|
|
862
|
+
function B(v) {
|
|
863
|
+
return b(v) === o;
|
|
860
864
|
}
|
|
861
|
-
function
|
|
862
|
-
return
|
|
865
|
+
function R(v) {
|
|
866
|
+
return b(v) === E;
|
|
863
867
|
}
|
|
864
|
-
function
|
|
865
|
-
return
|
|
868
|
+
function F(v) {
|
|
869
|
+
return b(v) === y;
|
|
866
870
|
}
|
|
867
|
-
function
|
|
868
|
-
return
|
|
871
|
+
function q(v) {
|
|
872
|
+
return b(v) === n;
|
|
869
873
|
}
|
|
870
874
|
function $(v) {
|
|
871
|
-
return
|
|
875
|
+
return b(v) === i;
|
|
872
876
|
}
|
|
873
|
-
function
|
|
874
|
-
return
|
|
877
|
+
function z(v) {
|
|
878
|
+
return b(v) === a;
|
|
875
879
|
}
|
|
876
|
-
function
|
|
877
|
-
return
|
|
880
|
+
function te(v) {
|
|
881
|
+
return b(v) === c;
|
|
878
882
|
}
|
|
879
|
-
|
|
880
|
-
}()),
|
|
883
|
+
G.AsyncMode = p, G.ConcurrentMode = T, G.ContextConsumer = D, G.ContextProvider = K, G.Element = Z, G.ForwardRef = re, G.Fragment = de, G.Lazy = ue, G.Memo = me, G.Portal = W, G.Profiler = k, G.StrictMode = M, G.Suspense = V, G.isAsyncMode = X, G.isConcurrentMode = f, G.isContextConsumer = g, G.isContextProvider = O, G.isElement = P, G.isForwardRef = I, G.isFragment = B, G.isLazy = R, G.isMemo = F, G.isPortal = q, G.isProfiler = $, G.isStrictMode = z, G.isSuspense = te, G.isValidElementType = A, G.typeOf = b;
|
|
884
|
+
}()), G;
|
|
881
885
|
}
|
|
882
|
-
var
|
|
883
|
-
function
|
|
884
|
-
return
|
|
886
|
+
var Ft;
|
|
887
|
+
function xn() {
|
|
888
|
+
return Ft || (Ft = 1, process.env.NODE_ENV === "production" ? Ve.exports = ga() : Ve.exports = ha()), Ve.exports;
|
|
885
889
|
}
|
|
886
890
|
/*
|
|
887
891
|
object-assign
|
|
888
892
|
(c) Sindre Sorhus
|
|
889
893
|
@license MIT
|
|
890
894
|
*/
|
|
891
|
-
var dt,
|
|
892
|
-
function
|
|
893
|
-
if (
|
|
894
|
-
|
|
895
|
+
var dt, zt;
|
|
896
|
+
function ba() {
|
|
897
|
+
if (zt) return dt;
|
|
898
|
+
zt = 1;
|
|
895
899
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
896
900
|
function o(i) {
|
|
897
901
|
if (i == null)
|
|
@@ -927,32 +931,32 @@ function ha() {
|
|
|
927
931
|
t.call(s, c) && (u[c] = s[c]);
|
|
928
932
|
if (e) {
|
|
929
933
|
d = e(s);
|
|
930
|
-
for (var
|
|
931
|
-
n.call(s, d[
|
|
934
|
+
for (var h = 0; h < d.length; h++)
|
|
935
|
+
n.call(s, d[h]) && (u[d[h]] = s[d[h]]);
|
|
932
936
|
}
|
|
933
937
|
}
|
|
934
938
|
return u;
|
|
935
939
|
}, dt;
|
|
936
940
|
}
|
|
937
|
-
var ut,
|
|
941
|
+
var ut, Mt;
|
|
938
942
|
function jt() {
|
|
939
|
-
if (
|
|
940
|
-
|
|
943
|
+
if (Mt) return ut;
|
|
944
|
+
Mt = 1;
|
|
941
945
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
942
946
|
return ut = e, ut;
|
|
943
947
|
}
|
|
944
|
-
var mt,
|
|
945
|
-
function
|
|
946
|
-
return
|
|
948
|
+
var mt, Bt;
|
|
949
|
+
function gn() {
|
|
950
|
+
return Bt || (Bt = 1, mt = Function.call.bind(Object.prototype.hasOwnProperty)), mt;
|
|
947
951
|
}
|
|
948
|
-
var ft,
|
|
949
|
-
function
|
|
950
|
-
if (
|
|
951
|
-
|
|
952
|
+
var ft, qt;
|
|
953
|
+
function ya() {
|
|
954
|
+
if (qt) return ft;
|
|
955
|
+
qt = 1;
|
|
952
956
|
var e = function() {
|
|
953
957
|
};
|
|
954
958
|
if (process.env.NODE_ENV !== "production") {
|
|
955
|
-
var t = jt(), n = {}, o =
|
|
959
|
+
var t = jt(), n = {}, o = gn();
|
|
956
960
|
e = function(i) {
|
|
957
961
|
var r = "Warning: " + i;
|
|
958
962
|
typeof console < "u" && console.error(r);
|
|
@@ -969,10 +973,10 @@ function ba() {
|
|
|
969
973
|
var c;
|
|
970
974
|
try {
|
|
971
975
|
if (typeof i[m] != "function") {
|
|
972
|
-
var
|
|
976
|
+
var h = Error(
|
|
973
977
|
(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`."
|
|
974
978
|
);
|
|
975
|
-
throw
|
|
979
|
+
throw h.name = "Invariant Violation", h;
|
|
976
980
|
}
|
|
977
981
|
c = i[m](r, m, u, s, null, t);
|
|
978
982
|
} catch (E) {
|
|
@@ -982,9 +986,9 @@ function ba() {
|
|
|
982
986
|
(u || "React class") + ": type specification of " + s + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof c + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
983
987
|
), c instanceof Error && !(c.message in n)) {
|
|
984
988
|
n[c.message] = !0;
|
|
985
|
-
var
|
|
989
|
+
var y = d ? d() : "";
|
|
986
990
|
e(
|
|
987
|
-
"Failed " + s + " type: " + c.message + (
|
|
991
|
+
"Failed " + s + " type: " + c.message + (y ?? "")
|
|
988
992
|
);
|
|
989
993
|
}
|
|
990
994
|
}
|
|
@@ -994,11 +998,11 @@ function ba() {
|
|
|
994
998
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
995
999
|
}, ft = a, ft;
|
|
996
1000
|
}
|
|
997
|
-
var _t,
|
|
998
|
-
function
|
|
999
|
-
if (
|
|
1000
|
-
|
|
1001
|
-
var e =
|
|
1001
|
+
var _t, Wt;
|
|
1002
|
+
function wa() {
|
|
1003
|
+
if (Wt) return _t;
|
|
1004
|
+
Wt = 1;
|
|
1005
|
+
var e = xn(), t = ba(), n = jt(), o = gn(), a = ya(), i = function() {
|
|
1002
1006
|
};
|
|
1003
1007
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1004
1008
|
var u = "Warning: " + s;
|
|
@@ -1014,236 +1018,236 @@ function ya() {
|
|
|
1014
1018
|
return _t = function(s, u) {
|
|
1015
1019
|
var d = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
|
|
1016
1020
|
function c(f) {
|
|
1017
|
-
var
|
|
1018
|
-
if (typeof
|
|
1019
|
-
return
|
|
1021
|
+
var g = f && (d && f[d] || f[m]);
|
|
1022
|
+
if (typeof g == "function")
|
|
1023
|
+
return g;
|
|
1020
1024
|
}
|
|
1021
|
-
var
|
|
1022
|
-
array:
|
|
1023
|
-
bigint:
|
|
1024
|
-
bool:
|
|
1025
|
-
func:
|
|
1026
|
-
number:
|
|
1027
|
-
object:
|
|
1028
|
-
string:
|
|
1029
|
-
symbol:
|
|
1025
|
+
var h = "<<anonymous>>", y = {
|
|
1026
|
+
array: L("array"),
|
|
1027
|
+
bigint: L("bigint"),
|
|
1028
|
+
bool: L("boolean"),
|
|
1029
|
+
func: L("function"),
|
|
1030
|
+
number: L("number"),
|
|
1031
|
+
object: L("object"),
|
|
1032
|
+
string: L("string"),
|
|
1033
|
+
symbol: L("symbol"),
|
|
1030
1034
|
any: Y(),
|
|
1031
|
-
arrayOf:
|
|
1032
|
-
element:
|
|
1035
|
+
arrayOf: A,
|
|
1036
|
+
element: b(),
|
|
1033
1037
|
elementType: p(),
|
|
1034
1038
|
instanceOf: T,
|
|
1035
|
-
node:
|
|
1036
|
-
objectOf:
|
|
1039
|
+
node: re(),
|
|
1040
|
+
objectOf: K,
|
|
1037
1041
|
oneOf: D,
|
|
1038
1042
|
oneOfType: Z,
|
|
1039
|
-
shape:
|
|
1040
|
-
exact:
|
|
1043
|
+
shape: ue,
|
|
1044
|
+
exact: me
|
|
1041
1045
|
};
|
|
1042
|
-
function E(f,
|
|
1043
|
-
return f ===
|
|
1046
|
+
function E(f, g) {
|
|
1047
|
+
return f === g ? f !== 0 || 1 / f === 1 / g : f !== f && g !== g;
|
|
1044
1048
|
}
|
|
1045
|
-
function
|
|
1046
|
-
this.message = f, this.data =
|
|
1049
|
+
function w(f, g) {
|
|
1050
|
+
this.message = f, this.data = g && typeof g == "object" ? g : {}, this.stack = "";
|
|
1047
1051
|
}
|
|
1048
|
-
|
|
1052
|
+
w.prototype = Error.prototype;
|
|
1049
1053
|
function N(f) {
|
|
1050
1054
|
if (process.env.NODE_ENV !== "production")
|
|
1051
|
-
var
|
|
1052
|
-
function
|
|
1053
|
-
if (
|
|
1055
|
+
var g = {}, O = 0;
|
|
1056
|
+
function P(B, R, F, q, $, z, te) {
|
|
1057
|
+
if (q = q || h, z = z || F, te !== n) {
|
|
1054
1058
|
if (u) {
|
|
1055
1059
|
var v = new Error(
|
|
1056
1060
|
"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"
|
|
1057
1061
|
);
|
|
1058
1062
|
throw v.name = "Invariant Violation", v;
|
|
1059
1063
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1060
|
-
var
|
|
1061
|
-
!
|
|
1062
|
-
|
|
1063
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
1064
|
-
),
|
|
1064
|
+
var fe = q + ":" + F;
|
|
1065
|
+
!g[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1066
|
+
O < 3 && (i(
|
|
1067
|
+
"You are manually calling a React.PropTypes validation function for the `" + z + "` prop on `" + q + "`. 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."
|
|
1068
|
+
), g[fe] = !0, O++);
|
|
1065
1069
|
}
|
|
1066
1070
|
}
|
|
1067
|
-
return
|
|
1071
|
+
return R[F] == null ? B ? R[F] === null ? new w("The " + $ + " `" + z + "` is marked as required " + ("in `" + q + "`, but its value is `null`.")) : new w("The " + $ + " `" + z + "` is marked as required in " + ("`" + q + "`, but its value is `undefined`.")) : null : f(R, F, q, $, z);
|
|
1068
1072
|
}
|
|
1069
|
-
var I =
|
|
1070
|
-
return I.isRequired =
|
|
1073
|
+
var I = P.bind(null, !1);
|
|
1074
|
+
return I.isRequired = P.bind(null, !0), I;
|
|
1071
1075
|
}
|
|
1072
|
-
function
|
|
1073
|
-
function
|
|
1074
|
-
var
|
|
1076
|
+
function L(f) {
|
|
1077
|
+
function g(O, P, I, B, R, F) {
|
|
1078
|
+
var q = O[P], $ = M(q);
|
|
1075
1079
|
if ($ !== f) {
|
|
1076
|
-
var
|
|
1077
|
-
return new
|
|
1078
|
-
"Invalid " +
|
|
1080
|
+
var z = V(q);
|
|
1081
|
+
return new w(
|
|
1082
|
+
"Invalid " + B + " `" + R + "` of type " + ("`" + z + "` supplied to `" + I + "`, expected ") + ("`" + f + "`."),
|
|
1079
1083
|
{ expectedType: f }
|
|
1080
1084
|
);
|
|
1081
1085
|
}
|
|
1082
1086
|
return null;
|
|
1083
1087
|
}
|
|
1084
|
-
return N(
|
|
1088
|
+
return N(g);
|
|
1085
1089
|
}
|
|
1086
1090
|
function Y() {
|
|
1087
1091
|
return N(r);
|
|
1088
1092
|
}
|
|
1089
|
-
function
|
|
1090
|
-
function
|
|
1093
|
+
function A(f) {
|
|
1094
|
+
function g(O, P, I, B, R) {
|
|
1091
1095
|
if (typeof f != "function")
|
|
1092
|
-
return new
|
|
1093
|
-
var
|
|
1094
|
-
if (!Array.isArray(
|
|
1095
|
-
var
|
|
1096
|
-
return new
|
|
1096
|
+
return new w("Property `" + R + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
|
|
1097
|
+
var F = O[P];
|
|
1098
|
+
if (!Array.isArray(F)) {
|
|
1099
|
+
var q = M(F);
|
|
1100
|
+
return new w("Invalid " + B + " `" + R + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected an array."));
|
|
1097
1101
|
}
|
|
1098
|
-
for (var $ = 0; $ <
|
|
1099
|
-
var
|
|
1100
|
-
if (
|
|
1101
|
-
return
|
|
1102
|
+
for (var $ = 0; $ < F.length; $++) {
|
|
1103
|
+
var z = f(F, $, I, B, R + "[" + $ + "]", n);
|
|
1104
|
+
if (z instanceof Error)
|
|
1105
|
+
return z;
|
|
1102
1106
|
}
|
|
1103
1107
|
return null;
|
|
1104
1108
|
}
|
|
1105
|
-
return N(
|
|
1109
|
+
return N(g);
|
|
1106
1110
|
}
|
|
1107
|
-
function
|
|
1108
|
-
function f(
|
|
1109
|
-
var
|
|
1110
|
-
if (!s(
|
|
1111
|
-
var
|
|
1112
|
-
return new
|
|
1111
|
+
function b() {
|
|
1112
|
+
function f(g, O, P, I, B) {
|
|
1113
|
+
var R = g[O];
|
|
1114
|
+
if (!s(R)) {
|
|
1115
|
+
var F = M(R);
|
|
1116
|
+
return new w("Invalid " + I + " `" + B + "` of type " + ("`" + F + "` supplied to `" + P + "`, expected a single ReactElement."));
|
|
1113
1117
|
}
|
|
1114
1118
|
return null;
|
|
1115
1119
|
}
|
|
1116
1120
|
return N(f);
|
|
1117
1121
|
}
|
|
1118
1122
|
function p() {
|
|
1119
|
-
function f(
|
|
1120
|
-
var
|
|
1121
|
-
if (!e.isValidElementType(
|
|
1122
|
-
var
|
|
1123
|
-
return new
|
|
1123
|
+
function f(g, O, P, I, B) {
|
|
1124
|
+
var R = g[O];
|
|
1125
|
+
if (!e.isValidElementType(R)) {
|
|
1126
|
+
var F = M(R);
|
|
1127
|
+
return new w("Invalid " + I + " `" + B + "` of type " + ("`" + F + "` supplied to `" + P + "`, expected a single ReactElement type."));
|
|
1124
1128
|
}
|
|
1125
1129
|
return null;
|
|
1126
1130
|
}
|
|
1127
1131
|
return N(f);
|
|
1128
1132
|
}
|
|
1129
1133
|
function T(f) {
|
|
1130
|
-
function
|
|
1131
|
-
if (!(
|
|
1132
|
-
var
|
|
1133
|
-
return new
|
|
1134
|
+
function g(O, P, I, B, R) {
|
|
1135
|
+
if (!(O[P] instanceof f)) {
|
|
1136
|
+
var F = f.name || h, q = X(O[P]);
|
|
1137
|
+
return new w("Invalid " + B + " `" + R + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected ") + ("instance of `" + F + "`."));
|
|
1134
1138
|
}
|
|
1135
1139
|
return null;
|
|
1136
1140
|
}
|
|
1137
|
-
return N(
|
|
1141
|
+
return N(g);
|
|
1138
1142
|
}
|
|
1139
1143
|
function D(f) {
|
|
1140
1144
|
if (!Array.isArray(f))
|
|
1141
1145
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1142
1146
|
"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])."
|
|
1143
1147
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1144
|
-
function
|
|
1145
|
-
for (var
|
|
1146
|
-
if (E(
|
|
1148
|
+
function g(O, P, I, B, R) {
|
|
1149
|
+
for (var F = O[P], q = 0; q < f.length; q++)
|
|
1150
|
+
if (E(F, f[q]))
|
|
1147
1151
|
return null;
|
|
1148
|
-
var $ = JSON.stringify(f, function(
|
|
1149
|
-
var
|
|
1150
|
-
return
|
|
1152
|
+
var $ = JSON.stringify(f, function(te, v) {
|
|
1153
|
+
var fe = V(v);
|
|
1154
|
+
return fe === "symbol" ? String(v) : v;
|
|
1151
1155
|
});
|
|
1152
|
-
return new
|
|
1156
|
+
return new w("Invalid " + B + " `" + R + "` of value `" + String(F) + "` " + ("supplied to `" + I + "`, expected one of " + $ + "."));
|
|
1153
1157
|
}
|
|
1154
|
-
return N(
|
|
1158
|
+
return N(g);
|
|
1155
1159
|
}
|
|
1156
|
-
function
|
|
1157
|
-
function
|
|
1160
|
+
function K(f) {
|
|
1161
|
+
function g(O, P, I, B, R) {
|
|
1158
1162
|
if (typeof f != "function")
|
|
1159
|
-
return new
|
|
1160
|
-
var
|
|
1161
|
-
if (
|
|
1162
|
-
return new
|
|
1163
|
-
for (var $ in
|
|
1164
|
-
if (o(
|
|
1165
|
-
var
|
|
1166
|
-
if (
|
|
1167
|
-
return
|
|
1163
|
+
return new w("Property `" + R + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
|
|
1164
|
+
var F = O[P], q = M(F);
|
|
1165
|
+
if (q !== "object")
|
|
1166
|
+
return new w("Invalid " + B + " `" + R + "` of type " + ("`" + q + "` supplied to `" + I + "`, expected an object."));
|
|
1167
|
+
for (var $ in F)
|
|
1168
|
+
if (o(F, $)) {
|
|
1169
|
+
var z = f(F, $, I, B, R + "." + $, n);
|
|
1170
|
+
if (z instanceof Error)
|
|
1171
|
+
return z;
|
|
1168
1172
|
}
|
|
1169
1173
|
return null;
|
|
1170
1174
|
}
|
|
1171
|
-
return N(
|
|
1175
|
+
return N(g);
|
|
1172
1176
|
}
|
|
1173
1177
|
function Z(f) {
|
|
1174
1178
|
if (!Array.isArray(f))
|
|
1175
1179
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1176
|
-
for (var
|
|
1177
|
-
var
|
|
1178
|
-
if (typeof
|
|
1180
|
+
for (var g = 0; g < f.length; g++) {
|
|
1181
|
+
var O = f[g];
|
|
1182
|
+
if (typeof O != "function")
|
|
1179
1183
|
return i(
|
|
1180
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1184
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Q(O) + " at index " + g + "."
|
|
1181
1185
|
), r;
|
|
1182
1186
|
}
|
|
1183
|
-
function
|
|
1184
|
-
for (var $ = [],
|
|
1185
|
-
var
|
|
1187
|
+
function P(I, B, R, F, q) {
|
|
1188
|
+
for (var $ = [], z = 0; z < f.length; z++) {
|
|
1189
|
+
var te = f[z], v = te(I, B, R, F, q, n);
|
|
1186
1190
|
if (v == null)
|
|
1187
1191
|
return null;
|
|
1188
1192
|
v.data && o(v.data, "expectedType") && $.push(v.data.expectedType);
|
|
1189
1193
|
}
|
|
1190
|
-
var
|
|
1191
|
-
return new
|
|
1194
|
+
var fe = $.length > 0 ? ", expected one of type [" + $.join(", ") + "]" : "";
|
|
1195
|
+
return new w("Invalid " + F + " `" + q + "` supplied to " + ("`" + R + "`" + fe + "."));
|
|
1192
1196
|
}
|
|
1193
|
-
return N(
|
|
1197
|
+
return N(P);
|
|
1194
1198
|
}
|
|
1195
|
-
function
|
|
1196
|
-
function f(
|
|
1197
|
-
return g
|
|
1199
|
+
function re() {
|
|
1200
|
+
function f(g, O, P, I, B) {
|
|
1201
|
+
return W(g[O]) ? null : new w("Invalid " + I + " `" + B + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
|
|
1198
1202
|
}
|
|
1199
1203
|
return N(f);
|
|
1200
1204
|
}
|
|
1201
|
-
function
|
|
1202
|
-
return new
|
|
1203
|
-
(f || "React class") + ": " +
|
|
1205
|
+
function de(f, g, O, P, I) {
|
|
1206
|
+
return new w(
|
|
1207
|
+
(f || "React class") + ": " + g + " type `" + O + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
|
|
1204
1208
|
);
|
|
1205
1209
|
}
|
|
1206
|
-
function
|
|
1207
|
-
function
|
|
1208
|
-
var
|
|
1209
|
-
if (
|
|
1210
|
-
return new
|
|
1210
|
+
function ue(f) {
|
|
1211
|
+
function g(O, P, I, B, R) {
|
|
1212
|
+
var F = O[P], q = M(F);
|
|
1213
|
+
if (q !== "object")
|
|
1214
|
+
return new w("Invalid " + B + " `" + R + "` of type `" + q + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1211
1215
|
for (var $ in f) {
|
|
1212
|
-
var
|
|
1213
|
-
if (typeof
|
|
1214
|
-
return
|
|
1215
|
-
var
|
|
1216
|
-
if (
|
|
1217
|
-
return
|
|
1216
|
+
var z = f[$];
|
|
1217
|
+
if (typeof z != "function")
|
|
1218
|
+
return de(I, B, R, $, V(z));
|
|
1219
|
+
var te = z(F, $, I, B, R + "." + $, n);
|
|
1220
|
+
if (te)
|
|
1221
|
+
return te;
|
|
1218
1222
|
}
|
|
1219
1223
|
return null;
|
|
1220
1224
|
}
|
|
1221
|
-
return N(
|
|
1225
|
+
return N(g);
|
|
1222
1226
|
}
|
|
1223
|
-
function
|
|
1224
|
-
function
|
|
1225
|
-
var
|
|
1226
|
-
if (
|
|
1227
|
-
return new
|
|
1228
|
-
var $ = t({},
|
|
1229
|
-
for (var
|
|
1230
|
-
var
|
|
1231
|
-
if (o(f,
|
|
1232
|
-
return
|
|
1233
|
-
if (!
|
|
1234
|
-
return new
|
|
1235
|
-
"Invalid " +
|
|
1227
|
+
function me(f) {
|
|
1228
|
+
function g(O, P, I, B, R) {
|
|
1229
|
+
var F = O[P], q = M(F);
|
|
1230
|
+
if (q !== "object")
|
|
1231
|
+
return new w("Invalid " + B + " `" + R + "` of type `" + q + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1232
|
+
var $ = t({}, O[P], f);
|
|
1233
|
+
for (var z in $) {
|
|
1234
|
+
var te = f[z];
|
|
1235
|
+
if (o(f, z) && typeof te != "function")
|
|
1236
|
+
return de(I, B, R, z, V(te));
|
|
1237
|
+
if (!te)
|
|
1238
|
+
return new w(
|
|
1239
|
+
"Invalid " + B + " `" + R + "` key `" + z + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(O[P], null, " ") + `
|
|
1236
1240
|
Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
1237
1241
|
);
|
|
1238
|
-
var v =
|
|
1242
|
+
var v = te(F, z, I, B, R + "." + z, n);
|
|
1239
1243
|
if (v)
|
|
1240
1244
|
return v;
|
|
1241
1245
|
}
|
|
1242
1246
|
return null;
|
|
1243
1247
|
}
|
|
1244
|
-
return N(
|
|
1248
|
+
return N(g);
|
|
1245
1249
|
}
|
|
1246
|
-
function
|
|
1250
|
+
function W(f) {
|
|
1247
1251
|
switch (typeof f) {
|
|
1248
1252
|
case "number":
|
|
1249
1253
|
case "string":
|
|
@@ -1253,20 +1257,20 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1253
1257
|
return !f;
|
|
1254
1258
|
case "object":
|
|
1255
1259
|
if (Array.isArray(f))
|
|
1256
|
-
return f.every(
|
|
1260
|
+
return f.every(W);
|
|
1257
1261
|
if (f === null || s(f))
|
|
1258
1262
|
return !0;
|
|
1259
|
-
var
|
|
1260
|
-
if (
|
|
1261
|
-
var
|
|
1262
|
-
if (
|
|
1263
|
-
for (; !(
|
|
1264
|
-
if (!
|
|
1263
|
+
var g = c(f);
|
|
1264
|
+
if (g) {
|
|
1265
|
+
var O = g.call(f), P;
|
|
1266
|
+
if (g !== f.entries) {
|
|
1267
|
+
for (; !(P = O.next()).done; )
|
|
1268
|
+
if (!W(P.value))
|
|
1265
1269
|
return !1;
|
|
1266
1270
|
} else
|
|
1267
|
-
for (; !(
|
|
1268
|
-
var I =
|
|
1269
|
-
if (I && !
|
|
1271
|
+
for (; !(P = O.next()).done; ) {
|
|
1272
|
+
var I = P.value;
|
|
1273
|
+
if (I && !W(I[1]))
|
|
1270
1274
|
return !1;
|
|
1271
1275
|
}
|
|
1272
1276
|
} else
|
|
@@ -1276,49 +1280,49 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1276
1280
|
return !1;
|
|
1277
1281
|
}
|
|
1278
1282
|
}
|
|
1279
|
-
function
|
|
1280
|
-
return f === "symbol" ? !0 :
|
|
1283
|
+
function k(f, g) {
|
|
1284
|
+
return f === "symbol" ? !0 : g ? g["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && g instanceof Symbol : !1;
|
|
1281
1285
|
}
|
|
1282
|
-
function
|
|
1283
|
-
var
|
|
1284
|
-
return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" :
|
|
1286
|
+
function M(f) {
|
|
1287
|
+
var g = typeof f;
|
|
1288
|
+
return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" : k(g, f) ? "symbol" : g;
|
|
1285
1289
|
}
|
|
1286
|
-
function
|
|
1290
|
+
function V(f) {
|
|
1287
1291
|
if (typeof f > "u" || f === null)
|
|
1288
1292
|
return "" + f;
|
|
1289
|
-
var
|
|
1290
|
-
if (
|
|
1293
|
+
var g = M(f);
|
|
1294
|
+
if (g === "object") {
|
|
1291
1295
|
if (f instanceof Date)
|
|
1292
1296
|
return "date";
|
|
1293
1297
|
if (f instanceof RegExp)
|
|
1294
1298
|
return "regexp";
|
|
1295
1299
|
}
|
|
1296
|
-
return
|
|
1300
|
+
return g;
|
|
1297
1301
|
}
|
|
1298
|
-
function
|
|
1299
|
-
var
|
|
1300
|
-
switch (
|
|
1302
|
+
function Q(f) {
|
|
1303
|
+
var g = V(f);
|
|
1304
|
+
switch (g) {
|
|
1301
1305
|
case "array":
|
|
1302
1306
|
case "object":
|
|
1303
|
-
return "an " +
|
|
1307
|
+
return "an " + g;
|
|
1304
1308
|
case "boolean":
|
|
1305
1309
|
case "date":
|
|
1306
1310
|
case "regexp":
|
|
1307
|
-
return "a " +
|
|
1311
|
+
return "a " + g;
|
|
1308
1312
|
default:
|
|
1309
|
-
return
|
|
1313
|
+
return g;
|
|
1310
1314
|
}
|
|
1311
1315
|
}
|
|
1312
1316
|
function X(f) {
|
|
1313
|
-
return !f.constructor || !f.constructor.name ?
|
|
1317
|
+
return !f.constructor || !f.constructor.name ? h : f.constructor.name;
|
|
1314
1318
|
}
|
|
1315
|
-
return
|
|
1319
|
+
return y.checkPropTypes = a, y.resetWarningCache = a.resetWarningCache, y.PropTypes = y, y;
|
|
1316
1320
|
}, _t;
|
|
1317
1321
|
}
|
|
1318
|
-
var vt,
|
|
1319
|
-
function
|
|
1320
|
-
if (
|
|
1321
|
-
|
|
1322
|
+
var vt, $t;
|
|
1323
|
+
function ka() {
|
|
1324
|
+
if ($t) return vt;
|
|
1325
|
+
$t = 1;
|
|
1322
1326
|
var e = jt();
|
|
1323
1327
|
function t() {
|
|
1324
1328
|
}
|
|
@@ -1327,10 +1331,10 @@ function wa() {
|
|
|
1327
1331
|
return n.resetWarningCache = t, vt = function() {
|
|
1328
1332
|
function o(r, s, u, d, m, c) {
|
|
1329
1333
|
if (c !== e) {
|
|
1330
|
-
var
|
|
1334
|
+
var h = new Error(
|
|
1331
1335
|
"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"
|
|
1332
1336
|
);
|
|
1333
|
-
throw
|
|
1337
|
+
throw h.name = "Invariant Violation", h;
|
|
1334
1338
|
}
|
|
1335
1339
|
}
|
|
1336
1340
|
o.isRequired = o;
|
|
@@ -1364,12 +1368,12 @@ function wa() {
|
|
|
1364
1368
|
}, vt;
|
|
1365
1369
|
}
|
|
1366
1370
|
if (process.env.NODE_ENV !== "production") {
|
|
1367
|
-
var
|
|
1368
|
-
wt.exports =
|
|
1371
|
+
var Ca = xn(), Ta = !0;
|
|
1372
|
+
wt.exports = wa()(Ca.isElement, Ta);
|
|
1369
1373
|
} else
|
|
1370
|
-
wt.exports =
|
|
1371
|
-
var
|
|
1372
|
-
const C = /* @__PURE__ */
|
|
1374
|
+
wt.exports = ka()();
|
|
1375
|
+
var Ea = wt.exports;
|
|
1376
|
+
const C = /* @__PURE__ */ vn(Ea);
|
|
1373
1377
|
function Ne(e, t, n, o) {
|
|
1374
1378
|
function a(i) {
|
|
1375
1379
|
return i instanceof n ? i : new n(function(r) {
|
|
@@ -1397,7 +1401,7 @@ function Ne(e, t, n, o) {
|
|
|
1397
1401
|
d((o = o.apply(e, t || [])).next());
|
|
1398
1402
|
});
|
|
1399
1403
|
}
|
|
1400
|
-
const
|
|
1404
|
+
const Sa = /* @__PURE__ */ new Map([
|
|
1401
1405
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
1402
1406
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
1403
1407
|
["3dml", "text/vnd.in3d.3dml"],
|
|
@@ -2601,13 +2605,13 @@ const Ea = /* @__PURE__ */ new Map([
|
|
|
2601
2605
|
["zsh", "text/x-scriptzsh"]
|
|
2602
2606
|
]);
|
|
2603
2607
|
function Le(e, t, n) {
|
|
2604
|
-
const o =
|
|
2605
|
-
return typeof o.path != "string" &&
|
|
2608
|
+
const o = Ia(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
2609
|
+
return typeof o.path != "string" && Ht(o, "path", i), Ht(o, "relativePath", i), o;
|
|
2606
2610
|
}
|
|
2607
|
-
function
|
|
2611
|
+
function Ia(e) {
|
|
2608
2612
|
const { name: t } = e;
|
|
2609
2613
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
2610
|
-
const o = t.split(".").pop().toLowerCase(), a =
|
|
2614
|
+
const o = t.split(".").pop().toLowerCase(), a = Sa.get(o);
|
|
2611
2615
|
a && Object.defineProperty(e, "type", {
|
|
2612
2616
|
value: a,
|
|
2613
2617
|
writable: !1,
|
|
@@ -2617,7 +2621,7 @@ function Sa(e) {
|
|
|
2617
2621
|
}
|
|
2618
2622
|
return e;
|
|
2619
2623
|
}
|
|
2620
|
-
function
|
|
2624
|
+
function Ht(e, t, n) {
|
|
2621
2625
|
Object.defineProperty(e, t, {
|
|
2622
2626
|
value: n,
|
|
2623
2627
|
writable: !1,
|
|
@@ -2625,19 +2629,19 @@ function $t(e, t, n) {
|
|
|
2625
2629
|
enumerable: !0
|
|
2626
2630
|
});
|
|
2627
2631
|
}
|
|
2628
|
-
const
|
|
2632
|
+
const ja = [
|
|
2629
2633
|
// Thumbnail cache files for macOS and Windows
|
|
2630
2634
|
".DS_Store",
|
|
2631
2635
|
// macOs
|
|
2632
2636
|
"Thumbs.db"
|
|
2633
2637
|
// Windows
|
|
2634
2638
|
];
|
|
2635
|
-
function
|
|
2639
|
+
function Na(e) {
|
|
2636
2640
|
return Ne(this, void 0, void 0, function* () {
|
|
2637
|
-
return Ke(e) &&
|
|
2641
|
+
return Ke(e) && Ra(e.dataTransfer) ? La(e.dataTransfer, e.type) : Aa(e) ? Da(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? Oa(e) : [];
|
|
2638
2642
|
});
|
|
2639
2643
|
}
|
|
2640
|
-
function
|
|
2644
|
+
function Ra(e) {
|
|
2641
2645
|
return Ke(e);
|
|
2642
2646
|
}
|
|
2643
2647
|
function Aa(e) {
|
|
@@ -2646,28 +2650,28 @@ function Aa(e) {
|
|
|
2646
2650
|
function Ke(e) {
|
|
2647
2651
|
return typeof e == "object" && e !== null;
|
|
2648
2652
|
}
|
|
2649
|
-
function
|
|
2653
|
+
function Da(e) {
|
|
2650
2654
|
return kt(e.target.files).map((t) => Le(t));
|
|
2651
2655
|
}
|
|
2652
|
-
function
|
|
2656
|
+
function Oa(e) {
|
|
2653
2657
|
return Ne(this, void 0, void 0, function* () {
|
|
2654
2658
|
return (yield Promise.all(e.map((n) => n.getFile()))).map((n) => Le(n));
|
|
2655
2659
|
});
|
|
2656
2660
|
}
|
|
2657
|
-
function
|
|
2661
|
+
function La(e, t) {
|
|
2658
2662
|
return Ne(this, void 0, void 0, function* () {
|
|
2659
2663
|
if (e.items) {
|
|
2660
2664
|
const n = kt(e.items).filter((a) => a.kind === "file");
|
|
2661
2665
|
if (t !== "drop")
|
|
2662
2666
|
return n;
|
|
2663
|
-
const o = yield Promise.all(n.map(
|
|
2664
|
-
return
|
|
2667
|
+
const o = yield Promise.all(n.map(Pa));
|
|
2668
|
+
return Yt(hn(o));
|
|
2665
2669
|
}
|
|
2666
|
-
return
|
|
2670
|
+
return Yt(kt(e.files).map((n) => Le(n)));
|
|
2667
2671
|
});
|
|
2668
2672
|
}
|
|
2669
|
-
function
|
|
2670
|
-
return e.filter((t) =>
|
|
2673
|
+
function Yt(e) {
|
|
2674
|
+
return e.filter((t) => ja.indexOf(t.name) === -1);
|
|
2671
2675
|
}
|
|
2672
2676
|
function kt(e) {
|
|
2673
2677
|
if (e === null)
|
|
@@ -2679,19 +2683,19 @@ function kt(e) {
|
|
|
2679
2683
|
}
|
|
2680
2684
|
return t;
|
|
2681
2685
|
}
|
|
2682
|
-
function
|
|
2686
|
+
function Pa(e) {
|
|
2683
2687
|
if (typeof e.webkitGetAsEntry != "function")
|
|
2684
|
-
return
|
|
2688
|
+
return Vt(e);
|
|
2685
2689
|
const t = e.webkitGetAsEntry();
|
|
2686
|
-
return t && t.isDirectory ?
|
|
2690
|
+
return t && t.isDirectory ? bn(t) : Vt(e, t);
|
|
2687
2691
|
}
|
|
2688
|
-
function
|
|
2692
|
+
function hn(e) {
|
|
2689
2693
|
return e.reduce((t, n) => [
|
|
2690
2694
|
...t,
|
|
2691
|
-
...Array.isArray(n) ?
|
|
2695
|
+
...Array.isArray(n) ? hn(n) : [n]
|
|
2692
2696
|
], []);
|
|
2693
2697
|
}
|
|
2694
|
-
function
|
|
2698
|
+
function Vt(e, t) {
|
|
2695
2699
|
return Ne(this, void 0, void 0, function* () {
|
|
2696
2700
|
var n;
|
|
2697
2701
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
@@ -2709,19 +2713,19 @@ function Yt(e, t) {
|
|
|
2709
2713
|
return Le(o, (n = t == null ? void 0 : t.fullPath) !== null && n !== void 0 ? n : void 0);
|
|
2710
2714
|
});
|
|
2711
2715
|
}
|
|
2712
|
-
function
|
|
2716
|
+
function Fa(e) {
|
|
2713
2717
|
return Ne(this, void 0, void 0, function* () {
|
|
2714
|
-
return e.isDirectory ?
|
|
2718
|
+
return e.isDirectory ? bn(e) : za(e);
|
|
2715
2719
|
});
|
|
2716
2720
|
}
|
|
2717
|
-
function
|
|
2721
|
+
function bn(e) {
|
|
2718
2722
|
const t = e.createReader();
|
|
2719
2723
|
return new Promise((n, o) => {
|
|
2720
2724
|
const a = [];
|
|
2721
2725
|
function i() {
|
|
2722
2726
|
t.readEntries((r) => Ne(this, void 0, void 0, function* () {
|
|
2723
2727
|
if (r.length) {
|
|
2724
|
-
const s = Promise.all(r.map(
|
|
2728
|
+
const s = Promise.all(r.map(Fa));
|
|
2725
2729
|
a.push(s), i();
|
|
2726
2730
|
} else
|
|
2727
2731
|
try {
|
|
@@ -2737,7 +2741,7 @@ function hn(e) {
|
|
|
2737
2741
|
i();
|
|
2738
2742
|
});
|
|
2739
2743
|
}
|
|
2740
|
-
function
|
|
2744
|
+
function za(e) {
|
|
2741
2745
|
return Ne(this, void 0, void 0, function* () {
|
|
2742
2746
|
return new Promise((t, n) => {
|
|
2743
2747
|
e.file((o) => {
|
|
@@ -2762,20 +2766,20 @@ var xt = function(e, t) {
|
|
|
2762
2766
|
}
|
|
2763
2767
|
return !0;
|
|
2764
2768
|
};
|
|
2765
|
-
function
|
|
2766
|
-
return
|
|
2769
|
+
function Ut(e) {
|
|
2770
|
+
return qa(e) || Ba(e) || wn(e) || Ma();
|
|
2767
2771
|
}
|
|
2768
|
-
function
|
|
2772
|
+
function Ma() {
|
|
2769
2773
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2770
2774
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2771
2775
|
}
|
|
2772
|
-
function
|
|
2776
|
+
function Ba(e) {
|
|
2773
2777
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2774
2778
|
}
|
|
2775
|
-
function
|
|
2779
|
+
function qa(e) {
|
|
2776
2780
|
if (Array.isArray(e)) return Ct(e);
|
|
2777
2781
|
}
|
|
2778
|
-
function
|
|
2782
|
+
function Gt(e, t) {
|
|
2779
2783
|
var n = Object.keys(e);
|
|
2780
2784
|
if (Object.getOwnPropertySymbols) {
|
|
2781
2785
|
var o = Object.getOwnPropertySymbols(e);
|
|
@@ -2785,28 +2789,28 @@ function Ut(e, t) {
|
|
|
2785
2789
|
}
|
|
2786
2790
|
return n;
|
|
2787
2791
|
}
|
|
2788
|
-
function
|
|
2792
|
+
function Kt(e) {
|
|
2789
2793
|
for (var t = 1; t < arguments.length; t++) {
|
|
2790
2794
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
2791
|
-
t % 2 ?
|
|
2792
|
-
|
|
2793
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
2795
|
+
t % 2 ? Gt(Object(n), !0).forEach(function(o) {
|
|
2796
|
+
yn(e, o, n[o]);
|
|
2797
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Gt(Object(n)).forEach(function(o) {
|
|
2794
2798
|
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
|
|
2795
2799
|
});
|
|
2796
2800
|
}
|
|
2797
2801
|
return e;
|
|
2798
2802
|
}
|
|
2799
|
-
function
|
|
2803
|
+
function yn(e, t, n) {
|
|
2800
2804
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
2801
2805
|
}
|
|
2802
2806
|
function Be(e, t) {
|
|
2803
|
-
return
|
|
2807
|
+
return Ha(e) || $a(e, t) || wn(e, t) || Wa();
|
|
2804
2808
|
}
|
|
2805
|
-
function
|
|
2809
|
+
function Wa() {
|
|
2806
2810
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2807
2811
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2808
2812
|
}
|
|
2809
|
-
function
|
|
2813
|
+
function wn(e, t) {
|
|
2810
2814
|
if (e) {
|
|
2811
2815
|
if (typeof e == "string") return Ct(e, t);
|
|
2812
2816
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -2820,7 +2824,7 @@ function Ct(e, t) {
|
|
|
2820
2824
|
o[n] = e[n];
|
|
2821
2825
|
return o;
|
|
2822
2826
|
}
|
|
2823
|
-
function
|
|
2827
|
+
function $a(e, t) {
|
|
2824
2828
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
2825
2829
|
if (n != null) {
|
|
2826
2830
|
var o = [], a = !0, i = !1, r, s;
|
|
@@ -2839,52 +2843,52 @@ function Wa(e, t) {
|
|
|
2839
2843
|
return o;
|
|
2840
2844
|
}
|
|
2841
2845
|
}
|
|
2842
|
-
function
|
|
2846
|
+
function Ha(e) {
|
|
2843
2847
|
if (Array.isArray(e)) return e;
|
|
2844
2848
|
}
|
|
2845
|
-
var
|
|
2849
|
+
var Ya = typeof xt == "function" ? xt : xt.default, Va = "file-invalid-type", Ua = "file-too-large", Ga = "file-too-small", Ka = "too-many-files", Xa = function() {
|
|
2846
2850
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = t.split(","), o = n.length > 1 ? "one of ".concat(n.join(", ")) : n[0];
|
|
2847
2851
|
return {
|
|
2848
|
-
code:
|
|
2852
|
+
code: Va,
|
|
2849
2853
|
message: "File type must be ".concat(o)
|
|
2850
2854
|
};
|
|
2851
|
-
},
|
|
2855
|
+
}, Xt = function(t) {
|
|
2852
2856
|
return {
|
|
2853
|
-
code:
|
|
2857
|
+
code: Ua,
|
|
2854
2858
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
2855
2859
|
};
|
|
2856
|
-
},
|
|
2860
|
+
}, Zt = function(t) {
|
|
2857
2861
|
return {
|
|
2858
|
-
code:
|
|
2862
|
+
code: Ga,
|
|
2859
2863
|
message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
2860
2864
|
};
|
|
2861
|
-
},
|
|
2862
|
-
code:
|
|
2865
|
+
}, Za = {
|
|
2866
|
+
code: Ka,
|
|
2863
2867
|
message: "Too many files"
|
|
2864
2868
|
};
|
|
2865
|
-
function
|
|
2866
|
-
var n = e.type === "application/x-moz-file" ||
|
|
2867
|
-
return [n, n ? null :
|
|
2869
|
+
function kn(e, t) {
|
|
2870
|
+
var n = e.type === "application/x-moz-file" || Ya(e, t);
|
|
2871
|
+
return [n, n ? null : Xa(t)];
|
|
2868
2872
|
}
|
|
2869
|
-
function
|
|
2873
|
+
function Cn(e, t, n) {
|
|
2870
2874
|
if (je(e.size))
|
|
2871
2875
|
if (je(t) && je(n)) {
|
|
2872
|
-
if (e.size > n) return [!1,
|
|
2873
|
-
if (e.size < t) return [!1,
|
|
2876
|
+
if (e.size > n) return [!1, Xt(n)];
|
|
2877
|
+
if (e.size < t) return [!1, Zt(t)];
|
|
2874
2878
|
} else {
|
|
2875
|
-
if (je(t) && e.size < t) return [!1,
|
|
2876
|
-
if (je(n) && e.size > n) return [!1,
|
|
2879
|
+
if (je(t) && e.size < t) return [!1, Zt(t)];
|
|
2880
|
+
if (je(n) && e.size > n) return [!1, Xt(n)];
|
|
2877
2881
|
}
|
|
2878
2882
|
return [!0, null];
|
|
2879
2883
|
}
|
|
2880
2884
|
function je(e) {
|
|
2881
2885
|
return e != null;
|
|
2882
2886
|
}
|
|
2883
|
-
function
|
|
2887
|
+
function Qa(e) {
|
|
2884
2888
|
var t = e.files, n = e.accept, o = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2885
2889
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(u) {
|
|
2886
|
-
var d =
|
|
2887
|
-
return c && E && !
|
|
2890
|
+
var d = kn(u, n), m = Be(d, 1), c = m[0], h = Cn(u, o, a), y = Be(h, 1), E = y[0], w = s ? s(u) : null;
|
|
2891
|
+
return c && E && !w;
|
|
2888
2892
|
});
|
|
2889
2893
|
}
|
|
2890
2894
|
function Xe(e) {
|
|
@@ -2895,18 +2899,18 @@ function Ue(e) {
|
|
|
2895
2899
|
return t === "Files" || t === "application/x-moz-file";
|
|
2896
2900
|
}) : !!e.target && !!e.target.files;
|
|
2897
2901
|
}
|
|
2898
|
-
function
|
|
2902
|
+
function Qt(e) {
|
|
2899
2903
|
e.preventDefault();
|
|
2900
2904
|
}
|
|
2901
|
-
function
|
|
2905
|
+
function Ja(e) {
|
|
2902
2906
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
2903
2907
|
}
|
|
2904
|
-
function
|
|
2908
|
+
function ei(e) {
|
|
2905
2909
|
return e.indexOf("Edge/") !== -1;
|
|
2906
2910
|
}
|
|
2907
|
-
function
|
|
2911
|
+
function ti() {
|
|
2908
2912
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
2909
|
-
return
|
|
2913
|
+
return Ja(e) || ei(e);
|
|
2910
2914
|
}
|
|
2911
2915
|
function we() {
|
|
2912
2916
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
@@ -2919,17 +2923,17 @@ function we() {
|
|
|
2919
2923
|
});
|
|
2920
2924
|
};
|
|
2921
2925
|
}
|
|
2922
|
-
function
|
|
2926
|
+
function ni() {
|
|
2923
2927
|
return "showOpenFilePicker" in window;
|
|
2924
2928
|
}
|
|
2925
|
-
function
|
|
2929
|
+
function oi(e) {
|
|
2926
2930
|
if (je(e)) {
|
|
2927
2931
|
var t = Object.entries(e).filter(function(n) {
|
|
2928
2932
|
var o = Be(n, 2), a = o[0], i = o[1], r = !0;
|
|
2929
|
-
return
|
|
2933
|
+
return Tn(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(En)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
2930
2934
|
}).reduce(function(n, o) {
|
|
2931
2935
|
var a = Be(o, 2), i = a[0], r = a[1];
|
|
2932
|
-
return
|
|
2936
|
+
return Kt(Kt({}, n), {}, yn({}, i, r));
|
|
2933
2937
|
}, {});
|
|
2934
2938
|
return [{
|
|
2935
2939
|
// description is required due to https://crbug.com/1264708
|
|
@@ -2939,49 +2943,49 @@ function ni(e) {
|
|
|
2939
2943
|
}
|
|
2940
2944
|
return e;
|
|
2941
2945
|
}
|
|
2942
|
-
function
|
|
2946
|
+
function ai(e) {
|
|
2943
2947
|
if (je(e))
|
|
2944
2948
|
return Object.entries(e).reduce(function(t, n) {
|
|
2945
2949
|
var o = Be(n, 2), a = o[0], i = o[1];
|
|
2946
|
-
return [].concat(
|
|
2950
|
+
return [].concat(Ut(t), [a], Ut(i));
|
|
2947
2951
|
}, []).filter(function(t) {
|
|
2948
|
-
return
|
|
2952
|
+
return Tn(t) || En(t);
|
|
2949
2953
|
}).join(",");
|
|
2950
2954
|
}
|
|
2951
|
-
function
|
|
2955
|
+
function ii(e) {
|
|
2952
2956
|
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
2953
2957
|
}
|
|
2954
|
-
function
|
|
2958
|
+
function ri(e) {
|
|
2955
2959
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
2956
2960
|
}
|
|
2957
|
-
function
|
|
2961
|
+
function Tn(e) {
|
|
2958
2962
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
2959
2963
|
}
|
|
2960
|
-
function
|
|
2964
|
+
function En(e) {
|
|
2961
2965
|
return /^.*\.[\w]+$/.test(e);
|
|
2962
2966
|
}
|
|
2963
|
-
var
|
|
2964
|
-
function
|
|
2965
|
-
return
|
|
2967
|
+
var si = ["children"], pi = ["open"], ci = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], li = ["refKey", "onChange", "onClick"];
|
|
2968
|
+
function di(e) {
|
|
2969
|
+
return fi(e) || mi(e) || Sn(e) || ui();
|
|
2966
2970
|
}
|
|
2967
|
-
function
|
|
2971
|
+
function ui() {
|
|
2968
2972
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2969
2973
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2970
2974
|
}
|
|
2971
|
-
function
|
|
2975
|
+
function mi(e) {
|
|
2972
2976
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2973
2977
|
}
|
|
2974
|
-
function
|
|
2978
|
+
function fi(e) {
|
|
2975
2979
|
if (Array.isArray(e)) return Tt(e);
|
|
2976
2980
|
}
|
|
2977
2981
|
function gt(e, t) {
|
|
2978
|
-
return
|
|
2982
|
+
return xi(e) || vi(e, t) || Sn(e, t) || _i();
|
|
2979
2983
|
}
|
|
2980
|
-
function
|
|
2984
|
+
function _i() {
|
|
2981
2985
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2982
2986
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2983
2987
|
}
|
|
2984
|
-
function
|
|
2988
|
+
function Sn(e, t) {
|
|
2985
2989
|
if (e) {
|
|
2986
2990
|
if (typeof e == "string") return Tt(e, t);
|
|
2987
2991
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -2995,7 +2999,7 @@ function Tt(e, t) {
|
|
|
2995
2999
|
o[n] = e[n];
|
|
2996
3000
|
return o;
|
|
2997
3001
|
}
|
|
2998
|
-
function
|
|
3002
|
+
function vi(e, t) {
|
|
2999
3003
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3000
3004
|
if (n != null) {
|
|
3001
3005
|
var o = [], a = !0, i = !1, r, s;
|
|
@@ -3014,10 +3018,10 @@ function _i(e, t) {
|
|
|
3014
3018
|
return o;
|
|
3015
3019
|
}
|
|
3016
3020
|
}
|
|
3017
|
-
function
|
|
3021
|
+
function xi(e) {
|
|
3018
3022
|
if (Array.isArray(e)) return e;
|
|
3019
3023
|
}
|
|
3020
|
-
function
|
|
3024
|
+
function Jt(e, t) {
|
|
3021
3025
|
var n = Object.keys(e);
|
|
3022
3026
|
if (Object.getOwnPropertySymbols) {
|
|
3023
3027
|
var o = Object.getOwnPropertySymbols(e);
|
|
@@ -3027,12 +3031,12 @@ function Qt(e, t) {
|
|
|
3027
3031
|
}
|
|
3028
3032
|
return n;
|
|
3029
3033
|
}
|
|
3030
|
-
function
|
|
3034
|
+
function J(e) {
|
|
3031
3035
|
for (var t = 1; t < arguments.length; t++) {
|
|
3032
3036
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
3033
|
-
t % 2 ?
|
|
3037
|
+
t % 2 ? Jt(Object(n), !0).forEach(function(o) {
|
|
3034
3038
|
Et(e, o, n[o]);
|
|
3035
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
3039
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Jt(Object(n)).forEach(function(o) {
|
|
3036
3040
|
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
|
|
3037
3041
|
});
|
|
3038
3042
|
}
|
|
@@ -3043,7 +3047,7 @@ function Et(e, t, n) {
|
|
|
3043
3047
|
}
|
|
3044
3048
|
function Ze(e, t) {
|
|
3045
3049
|
if (e == null) return {};
|
|
3046
|
-
var n =
|
|
3050
|
+
var n = gi(e, t), o, a;
|
|
3047
3051
|
if (Object.getOwnPropertySymbols) {
|
|
3048
3052
|
var i = Object.getOwnPropertySymbols(e);
|
|
3049
3053
|
for (a = 0; a < i.length; a++)
|
|
@@ -3051,27 +3055,27 @@ function Ze(e, t) {
|
|
|
3051
3055
|
}
|
|
3052
3056
|
return n;
|
|
3053
3057
|
}
|
|
3054
|
-
function
|
|
3058
|
+
function gi(e, t) {
|
|
3055
3059
|
if (e == null) return {};
|
|
3056
3060
|
var n = {}, o = Object.keys(e), a, i;
|
|
3057
3061
|
for (i = 0; i < o.length; i++)
|
|
3058
3062
|
a = o[i], !(t.indexOf(a) >= 0) && (n[a] = e[a]);
|
|
3059
3063
|
return n;
|
|
3060
3064
|
}
|
|
3061
|
-
var Je = /* @__PURE__ */
|
|
3062
|
-
var n = e.children, o = Ze(e,
|
|
3063
|
-
return
|
|
3065
|
+
var Je = /* @__PURE__ */ zn(function(e, t) {
|
|
3066
|
+
var n = e.children, o = Ze(e, si), a = hi(o), i = a.open, r = Ze(a, pi);
|
|
3067
|
+
return Mn(t, function() {
|
|
3064
3068
|
return {
|
|
3065
3069
|
open: i
|
|
3066
3070
|
};
|
|
3067
|
-
}, [i]), /* @__PURE__ */ qe.createElement(
|
|
3071
|
+
}, [i]), /* @__PURE__ */ qe.createElement(Bn, null, n(J(J({}, r), {}, {
|
|
3068
3072
|
open: i
|
|
3069
3073
|
})));
|
|
3070
3074
|
});
|
|
3071
3075
|
Je.displayName = "Dropzone";
|
|
3072
|
-
var
|
|
3076
|
+
var In = {
|
|
3073
3077
|
disabled: !1,
|
|
3074
|
-
getFilesFromEvent:
|
|
3078
|
+
getFilesFromEvent: Na,
|
|
3075
3079
|
maxSize: 1 / 0,
|
|
3076
3080
|
minSize: 0,
|
|
3077
3081
|
multiple: !0,
|
|
@@ -3085,7 +3089,7 @@ var Sn = {
|
|
|
3085
3089
|
useFsAccessApi: !1,
|
|
3086
3090
|
autoFocus: !1
|
|
3087
3091
|
};
|
|
3088
|
-
Je.defaultProps =
|
|
3092
|
+
Je.defaultProps = In;
|
|
3089
3093
|
Je.propTypes = {
|
|
3090
3094
|
/**
|
|
3091
3095
|
* Render function that exposes the dropzone state and prop getter fns
|
|
@@ -3263,66 +3267,66 @@ var St = {
|
|
|
3263
3267
|
acceptedFiles: [],
|
|
3264
3268
|
fileRejections: []
|
|
3265
3269
|
};
|
|
3266
|
-
function
|
|
3267
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t =
|
|
3268
|
-
return
|
|
3269
|
-
}, [n]), le = De(function() {
|
|
3270
|
-
return ni(n);
|
|
3270
|
+
function hi() {
|
|
3271
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, In), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, u = t.maxFiles, d = t.onDragEnter, m = t.onDragLeave, c = t.onDragOver, h = t.onDrop, y = t.onDropAccepted, E = t.onDropRejected, w = t.onFileDialogCancel, N = t.onFileDialogOpen, L = t.useFsAccessApi, Y = t.autoFocus, A = t.preventDropOnDocument, b = t.noClick, p = t.noKeyboard, T = t.noDrag, D = t.noDragEventsBubbling, K = t.onError, Z = t.validator, re = De(function() {
|
|
3272
|
+
return ai(n);
|
|
3271
3273
|
}, [n]), de = De(function() {
|
|
3272
|
-
return
|
|
3273
|
-
}, [
|
|
3274
|
-
return typeof
|
|
3275
|
-
}, [
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3274
|
+
return oi(n);
|
|
3275
|
+
}, [n]), ue = De(function() {
|
|
3276
|
+
return typeof N == "function" ? N : en;
|
|
3277
|
+
}, [N]), me = De(function() {
|
|
3278
|
+
return typeof w == "function" ? w : en;
|
|
3279
|
+
}, [w]), W = Te(null), k = Te(null), M = qn(bi, St), V = gt(M, 2), Q = V[0], X = V[1], f = Q.isFocused, g = Q.isFileDialogActive, O = Te(typeof window < "u" && window.isSecureContext && L && ni()), P = function() {
|
|
3280
|
+
!O.current && g && setTimeout(function() {
|
|
3281
|
+
if (k.current) {
|
|
3282
|
+
var S = k.current.files;
|
|
3279
3283
|
S.length || (X({
|
|
3280
3284
|
type: "closeDialog"
|
|
3281
|
-
}),
|
|
3285
|
+
}), me());
|
|
3282
3286
|
}
|
|
3283
3287
|
}, 300);
|
|
3284
3288
|
};
|
|
3285
|
-
|
|
3286
|
-
return window.addEventListener("focus",
|
|
3287
|
-
window.removeEventListener("focus",
|
|
3289
|
+
oe(function() {
|
|
3290
|
+
return window.addEventListener("focus", P, !1), function() {
|
|
3291
|
+
window.removeEventListener("focus", P, !1);
|
|
3288
3292
|
};
|
|
3289
|
-
}, [
|
|
3290
|
-
var I = Te([]),
|
|
3291
|
-
|
|
3293
|
+
}, [k, g, me, O]);
|
|
3294
|
+
var I = Te([]), B = function(S) {
|
|
3295
|
+
W.current && W.current.contains(S.target) || (S.preventDefault(), I.current = []);
|
|
3292
3296
|
};
|
|
3293
|
-
|
|
3294
|
-
return
|
|
3295
|
-
|
|
3297
|
+
oe(function() {
|
|
3298
|
+
return A && (document.addEventListener("dragover", Qt, !1), document.addEventListener("drop", B, !1)), function() {
|
|
3299
|
+
A && (document.removeEventListener("dragover", Qt), document.removeEventListener("drop", B));
|
|
3296
3300
|
};
|
|
3297
|
-
}, [
|
|
3298
|
-
return !o && Y &&
|
|
3301
|
+
}, [W, A]), oe(function() {
|
|
3302
|
+
return !o && Y && W.current && W.current.focus(), function() {
|
|
3299
3303
|
};
|
|
3300
|
-
}, [
|
|
3301
|
-
var
|
|
3302
|
-
|
|
3303
|
-
}, [
|
|
3304
|
-
x.preventDefault(), x.persist(), $e(x), I.current = [].concat(
|
|
3304
|
+
}, [W, Y, o]);
|
|
3305
|
+
var R = le(function(x) {
|
|
3306
|
+
K ? K(x) : console.error(x);
|
|
3307
|
+
}, [K]), F = le(function(x) {
|
|
3308
|
+
x.preventDefault(), x.persist(), $e(x), I.current = [].concat(di(I.current), [x.target]), Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
3305
3309
|
if (!(Xe(x) && !D)) {
|
|
3306
|
-
var
|
|
3310
|
+
var ee = S.length, ne = ee > 0 && Qa({
|
|
3307
3311
|
files: S,
|
|
3308
|
-
accept:
|
|
3312
|
+
accept: re,
|
|
3309
3313
|
minSize: r,
|
|
3310
3314
|
maxSize: i,
|
|
3311
3315
|
multiple: s,
|
|
3312
3316
|
maxFiles: u,
|
|
3313
3317
|
validator: Z
|
|
3314
|
-
}),
|
|
3318
|
+
}), _e = ee > 0 && !ne;
|
|
3315
3319
|
X({
|
|
3316
|
-
isDragAccept:
|
|
3317
|
-
isDragReject:
|
|
3320
|
+
isDragAccept: ne,
|
|
3321
|
+
isDragReject: _e,
|
|
3318
3322
|
isDragActive: !0,
|
|
3319
3323
|
type: "setDraggedFiles"
|
|
3320
3324
|
}), d && d(x);
|
|
3321
3325
|
}
|
|
3322
3326
|
}).catch(function(S) {
|
|
3323
|
-
return
|
|
3327
|
+
return R(S);
|
|
3324
3328
|
});
|
|
3325
|
-
}, [a, d,
|
|
3329
|
+
}, [a, d, R, D, re, r, i, s, u, Z]), q = le(function(x) {
|
|
3326
3330
|
x.preventDefault(), x.persist(), $e(x);
|
|
3327
3331
|
var S = Ue(x);
|
|
3328
3332
|
if (S && x.dataTransfer)
|
|
@@ -3331,119 +3335,119 @@ function gi() {
|
|
|
3331
3335
|
} catch {
|
|
3332
3336
|
}
|
|
3333
3337
|
return S && c && c(x), !1;
|
|
3334
|
-
}, [c, D]), $ =
|
|
3338
|
+
}, [c, D]), $ = le(function(x) {
|
|
3335
3339
|
x.preventDefault(), x.persist(), $e(x);
|
|
3336
|
-
var S = I.current.filter(function(
|
|
3337
|
-
return
|
|
3338
|
-
}),
|
|
3339
|
-
|
|
3340
|
+
var S = I.current.filter(function(ne) {
|
|
3341
|
+
return W.current && W.current.contains(ne);
|
|
3342
|
+
}), ee = S.indexOf(x.target);
|
|
3343
|
+
ee !== -1 && S.splice(ee, 1), I.current = S, !(S.length > 0) && (X({
|
|
3340
3344
|
type: "setDraggedFiles",
|
|
3341
3345
|
isDragActive: !1,
|
|
3342
3346
|
isDragAccept: !1,
|
|
3343
3347
|
isDragReject: !1
|
|
3344
3348
|
}), Ue(x) && m && m(x));
|
|
3345
|
-
}, [
|
|
3346
|
-
var
|
|
3347
|
-
x.forEach(function(
|
|
3348
|
-
var Fe =
|
|
3349
|
+
}, [W, m, D]), z = le(function(x, S) {
|
|
3350
|
+
var ee = [], ne = [];
|
|
3351
|
+
x.forEach(function(_e) {
|
|
3352
|
+
var Fe = kn(_e, re), Ae = gt(Fe, 2), tt = Ae[0], nt = Ae[1], ot = Cn(_e, r, i), He = gt(ot, 2), at = He[0], it = He[1], rt = Z ? Z(_e) : null;
|
|
3349
3353
|
if (tt && at && !rt)
|
|
3350
|
-
|
|
3354
|
+
ee.push(_e);
|
|
3351
3355
|
else {
|
|
3352
3356
|
var st = [nt, it];
|
|
3353
|
-
rt && (st = st.concat(rt)),
|
|
3354
|
-
file:
|
|
3355
|
-
errors: st.filter(function(
|
|
3356
|
-
return
|
|
3357
|
+
rt && (st = st.concat(rt)), ne.push({
|
|
3358
|
+
file: _e,
|
|
3359
|
+
errors: st.filter(function(Fn) {
|
|
3360
|
+
return Fn;
|
|
3357
3361
|
})
|
|
3358
3362
|
});
|
|
3359
3363
|
}
|
|
3360
|
-
}), (!s &&
|
|
3361
|
-
|
|
3362
|
-
file:
|
|
3363
|
-
errors: [
|
|
3364
|
+
}), (!s && ee.length > 1 || s && u >= 1 && ee.length > u) && (ee.forEach(function(_e) {
|
|
3365
|
+
ne.push({
|
|
3366
|
+
file: _e,
|
|
3367
|
+
errors: [Za]
|
|
3364
3368
|
});
|
|
3365
|
-
}),
|
|
3366
|
-
acceptedFiles:
|
|
3367
|
-
fileRejections:
|
|
3368
|
-
isDragReject:
|
|
3369
|
+
}), ee.splice(0)), X({
|
|
3370
|
+
acceptedFiles: ee,
|
|
3371
|
+
fileRejections: ne,
|
|
3372
|
+
isDragReject: ne.length > 0,
|
|
3369
3373
|
type: "setFiles"
|
|
3370
|
-
}),
|
|
3371
|
-
}, [X, s,
|
|
3374
|
+
}), h && h(ee, ne, S), ne.length > 0 && E && E(ne, S), ee.length > 0 && y && y(ee, S);
|
|
3375
|
+
}, [X, s, re, r, i, u, h, y, E, Z]), te = le(function(x) {
|
|
3372
3376
|
x.preventDefault(), x.persist(), $e(x), I.current = [], Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
3373
|
-
Xe(x) && !D ||
|
|
3377
|
+
Xe(x) && !D || z(S, x);
|
|
3374
3378
|
}).catch(function(S) {
|
|
3375
|
-
return
|
|
3379
|
+
return R(S);
|
|
3376
3380
|
}), X({
|
|
3377
3381
|
type: "reset"
|
|
3378
3382
|
});
|
|
3379
|
-
}, [a,
|
|
3380
|
-
if (
|
|
3383
|
+
}, [a, z, R, D]), v = le(function() {
|
|
3384
|
+
if (O.current) {
|
|
3381
3385
|
X({
|
|
3382
3386
|
type: "openDialog"
|
|
3383
|
-
}),
|
|
3387
|
+
}), ue();
|
|
3384
3388
|
var x = {
|
|
3385
3389
|
multiple: s,
|
|
3386
|
-
types:
|
|
3390
|
+
types: de
|
|
3387
3391
|
};
|
|
3388
3392
|
window.showOpenFilePicker(x).then(function(S) {
|
|
3389
3393
|
return a(S);
|
|
3390
3394
|
}).then(function(S) {
|
|
3391
|
-
|
|
3395
|
+
z(S, null), X({
|
|
3392
3396
|
type: "closeDialog"
|
|
3393
3397
|
});
|
|
3394
3398
|
}).catch(function(S) {
|
|
3395
|
-
|
|
3399
|
+
ii(S) ? (me(S), X({
|
|
3396
3400
|
type: "closeDialog"
|
|
3397
|
-
})) :
|
|
3401
|
+
})) : ri(S) ? (O.current = !1, k.current ? (k.current.value = null, k.current.click()) : R(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."))) : R(S);
|
|
3398
3402
|
});
|
|
3399
3403
|
return;
|
|
3400
3404
|
}
|
|
3401
|
-
|
|
3405
|
+
k.current && (X({
|
|
3402
3406
|
type: "openDialog"
|
|
3403
|
-
}),
|
|
3404
|
-
}, [X,
|
|
3405
|
-
!
|
|
3406
|
-
}, [
|
|
3407
|
+
}), ue(), k.current.value = null, k.current.click());
|
|
3408
|
+
}, [X, ue, me, L, z, R, de, s]), fe = le(function(x) {
|
|
3409
|
+
!W.current || !W.current.isEqualNode(x.target) || (x.key === " " || x.key === "Enter" || x.keyCode === 32 || x.keyCode === 13) && (x.preventDefault(), v());
|
|
3410
|
+
}, [W, v]), Ie = le(function() {
|
|
3407
3411
|
X({
|
|
3408
3412
|
type: "focus"
|
|
3409
3413
|
});
|
|
3410
|
-
}, []), Pe =
|
|
3414
|
+
}, []), Pe = le(function() {
|
|
3411
3415
|
X({
|
|
3412
3416
|
type: "blur"
|
|
3413
3417
|
});
|
|
3414
|
-
}, []),
|
|
3415
|
-
|
|
3416
|
-
}, [
|
|
3418
|
+
}, []), At = le(function() {
|
|
3419
|
+
b || (ti() ? setTimeout(v, 0) : v());
|
|
3420
|
+
}, [b, v]), Re = function(S) {
|
|
3417
3421
|
return o ? null : S;
|
|
3418
3422
|
}, et = function(S) {
|
|
3419
|
-
return p ? null :
|
|
3423
|
+
return p ? null : Re(S);
|
|
3420
3424
|
}, We = function(S) {
|
|
3421
|
-
return T ? null :
|
|
3425
|
+
return T ? null : Re(S);
|
|
3422
3426
|
}, $e = function(S) {
|
|
3423
3427
|
D && S.stopPropagation();
|
|
3424
|
-
},
|
|
3428
|
+
}, On = De(function() {
|
|
3425
3429
|
return function() {
|
|
3426
|
-
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey,
|
|
3427
|
-
return
|
|
3428
|
-
onKeyDown: et(we(
|
|
3430
|
+
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey, ee = S === void 0 ? "ref" : S, ne = x.role, _e = x.onKeyDown, Fe = x.onFocus, Ae = x.onBlur, tt = x.onClick, nt = x.onDragEnter, ot = x.onDragOver, He = x.onDragLeave, at = x.onDrop, it = Ze(x, ci);
|
|
3431
|
+
return J(J(Et({
|
|
3432
|
+
onKeyDown: et(we(_e, fe)),
|
|
3429
3433
|
onFocus: et(we(Fe, Ie)),
|
|
3430
|
-
onBlur: et(we(
|
|
3431
|
-
onClick:
|
|
3432
|
-
onDragEnter: We(we(nt,
|
|
3433
|
-
onDragOver: We(we(ot,
|
|
3434
|
+
onBlur: et(we(Ae, Pe)),
|
|
3435
|
+
onClick: Re(we(tt, At)),
|
|
3436
|
+
onDragEnter: We(we(nt, F)),
|
|
3437
|
+
onDragOver: We(we(ot, q)),
|
|
3434
3438
|
onDragLeave: We(we(He, $)),
|
|
3435
|
-
onDrop: We(we(at,
|
|
3436
|
-
role: typeof
|
|
3437
|
-
},
|
|
3439
|
+
onDrop: We(we(at, te)),
|
|
3440
|
+
role: typeof ne == "string" && ne !== "" ? ne : "presentation"
|
|
3441
|
+
}, ee, W), !o && !p ? {
|
|
3438
3442
|
tabIndex: 0
|
|
3439
3443
|
} : {}), it);
|
|
3440
3444
|
};
|
|
3441
|
-
}, [
|
|
3445
|
+
}, [W, fe, Ie, Pe, At, F, q, $, te, p, T, o]), Ln = le(function(x) {
|
|
3442
3446
|
x.stopPropagation();
|
|
3443
|
-
}, []),
|
|
3447
|
+
}, []), Pn = De(function() {
|
|
3444
3448
|
return function() {
|
|
3445
|
-
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey,
|
|
3446
|
-
accept:
|
|
3449
|
+
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey, ee = S === void 0 ? "ref" : S, ne = x.onChange, _e = x.onClick, Fe = Ze(x, li), Ae = Et({
|
|
3450
|
+
accept: re,
|
|
3447
3451
|
multiple: s,
|
|
3448
3452
|
type: "file",
|
|
3449
3453
|
style: {
|
|
@@ -3458,61 +3462,61 @@ function gi() {
|
|
|
3458
3462
|
width: "1px",
|
|
3459
3463
|
whiteSpace: "nowrap"
|
|
3460
3464
|
},
|
|
3461
|
-
onChange:
|
|
3462
|
-
onClick:
|
|
3465
|
+
onChange: Re(we(ne, te)),
|
|
3466
|
+
onClick: Re(we(_e, Ln)),
|
|
3463
3467
|
tabIndex: -1
|
|
3464
|
-
},
|
|
3465
|
-
return
|
|
3468
|
+
}, ee, k);
|
|
3469
|
+
return J(J({}, Ae), Fe);
|
|
3466
3470
|
};
|
|
3467
|
-
}, [
|
|
3468
|
-
return
|
|
3471
|
+
}, [k, n, s, te, o]);
|
|
3472
|
+
return J(J({}, Q), {}, {
|
|
3469
3473
|
isFocused: f && !o,
|
|
3470
|
-
getRootProps:
|
|
3471
|
-
getInputProps:
|
|
3472
|
-
rootRef:
|
|
3473
|
-
inputRef:
|
|
3474
|
-
open:
|
|
3474
|
+
getRootProps: On,
|
|
3475
|
+
getInputProps: Pn,
|
|
3476
|
+
rootRef: W,
|
|
3477
|
+
inputRef: k,
|
|
3478
|
+
open: Re(v)
|
|
3475
3479
|
});
|
|
3476
3480
|
}
|
|
3477
|
-
function
|
|
3481
|
+
function bi(e, t) {
|
|
3478
3482
|
switch (t.type) {
|
|
3479
3483
|
case "focus":
|
|
3480
|
-
return
|
|
3484
|
+
return J(J({}, e), {}, {
|
|
3481
3485
|
isFocused: !0
|
|
3482
3486
|
});
|
|
3483
3487
|
case "blur":
|
|
3484
|
-
return
|
|
3488
|
+
return J(J({}, e), {}, {
|
|
3485
3489
|
isFocused: !1
|
|
3486
3490
|
});
|
|
3487
3491
|
case "openDialog":
|
|
3488
|
-
return
|
|
3492
|
+
return J(J({}, St), {}, {
|
|
3489
3493
|
isFileDialogActive: !0
|
|
3490
3494
|
});
|
|
3491
3495
|
case "closeDialog":
|
|
3492
|
-
return
|
|
3496
|
+
return J(J({}, e), {}, {
|
|
3493
3497
|
isFileDialogActive: !1
|
|
3494
3498
|
});
|
|
3495
3499
|
case "setDraggedFiles":
|
|
3496
|
-
return
|
|
3500
|
+
return J(J({}, e), {}, {
|
|
3497
3501
|
isDragActive: t.isDragActive,
|
|
3498
3502
|
isDragAccept: t.isDragAccept,
|
|
3499
3503
|
isDragReject: t.isDragReject
|
|
3500
3504
|
});
|
|
3501
3505
|
case "setFiles":
|
|
3502
|
-
return
|
|
3506
|
+
return J(J({}, e), {}, {
|
|
3503
3507
|
acceptedFiles: t.acceptedFiles,
|
|
3504
3508
|
fileRejections: t.fileRejections,
|
|
3505
3509
|
isDragReject: t.isDragReject
|
|
3506
3510
|
});
|
|
3507
3511
|
case "reset":
|
|
3508
|
-
return
|
|
3512
|
+
return J({}, St);
|
|
3509
3513
|
default:
|
|
3510
3514
|
return e;
|
|
3511
3515
|
}
|
|
3512
3516
|
}
|
|
3513
|
-
function
|
|
3517
|
+
function en() {
|
|
3514
3518
|
}
|
|
3515
|
-
const
|
|
3519
|
+
const yi = (e) => {
|
|
3516
3520
|
const {
|
|
3517
3521
|
onDropFiles: t,
|
|
3518
3522
|
children: n,
|
|
@@ -3523,40 +3527,40 @@ const bi = (e) => {
|
|
|
3523
3527
|
multiple: s,
|
|
3524
3528
|
maxFiles: u,
|
|
3525
3529
|
files: d = []
|
|
3526
|
-
} = e, m =
|
|
3530
|
+
} = e, m = le(
|
|
3527
3531
|
(c) => {
|
|
3528
3532
|
if (!s) {
|
|
3529
3533
|
t(c, r);
|
|
3530
3534
|
return;
|
|
3531
3535
|
}
|
|
3532
|
-
const
|
|
3533
|
-
if (u &&
|
|
3534
|
-
console.log(`Максимальное возможное количество файлов для загрузки - ${u}`), t(
|
|
3536
|
+
const h = [...d, ...c];
|
|
3537
|
+
if (u && h.length > u) {
|
|
3538
|
+
console.log(`Максимальное возможное количество файлов для загрузки - ${u}`), t(h.slice(0, u), r);
|
|
3535
3539
|
return;
|
|
3536
3540
|
}
|
|
3537
|
-
t(
|
|
3541
|
+
t(h, r);
|
|
3538
3542
|
},
|
|
3539
3543
|
[d, u, s, r, t]
|
|
3540
3544
|
);
|
|
3541
|
-
return /* @__PURE__ */ l(Je, { multiple: s, onDrop: m, maxSize: o, accept: a, children: ({ getRootProps: c, getInputProps:
|
|
3542
|
-
/* @__PURE__ */ l("input", { ...
|
|
3545
|
+
return /* @__PURE__ */ l(Je, { multiple: s, onDrop: m, maxSize: o, accept: a, children: ({ getRootProps: c, getInputProps: h }) => /* @__PURE__ */ H("div", { ...c({}), children: [
|
|
3546
|
+
/* @__PURE__ */ l("input", { ...h({}), disabled: i, name: r }),
|
|
3543
3547
|
n
|
|
3544
3548
|
] }) });
|
|
3545
|
-
},
|
|
3546
|
-
spDropdown:
|
|
3547
|
-
spDropdown__labelText:
|
|
3548
|
-
spDropdown__tooltipContainer:
|
|
3549
|
-
spDropdown__dropdownList:
|
|
3550
|
-
spDropdown__dropdownListHeader:
|
|
3551
|
-
spDropdown__dopdownListItem:
|
|
3552
|
-
spDropdown__dopdownListItem_textCenter:
|
|
3553
|
-
spDropdown__downloadListItemDescription:
|
|
3554
|
-
},
|
|
3549
|
+
}, wi = "_spDropdown_3gjr7_43", ki = "_spDropdown__labelText_3gjr7_58", Ci = "_spDropdown__tooltipContainer_3gjr7_66", Ti = "_spDropdown__dropdownList_3gjr7_71", Ei = "_spDropdown__dropdownListHeader_3gjr7_77", Si = "_spDropdown__dopdownListItem_3gjr7_84", Ii = "_spDropdown__dopdownListItem_textCenter_3gjr7_95", ji = "_spDropdown__downloadListItemDescription_3gjr7_98", Ee = {
|
|
3550
|
+
spDropdown: wi,
|
|
3551
|
+
spDropdown__labelText: ki,
|
|
3552
|
+
spDropdown__tooltipContainer: Ci,
|
|
3553
|
+
spDropdown__dropdownList: Ti,
|
|
3554
|
+
spDropdown__dropdownListHeader: Ei,
|
|
3555
|
+
spDropdown__dopdownListItem: Si,
|
|
3556
|
+
spDropdown__dopdownListItem_textCenter: Ii,
|
|
3557
|
+
spDropdown__downloadListItemDescription: ji
|
|
3558
|
+
}, As = (e) => {
|
|
3555
3559
|
const {
|
|
3556
3560
|
labelText: t = "Выпадающий список",
|
|
3557
3561
|
listName: n,
|
|
3558
3562
|
dropdownList: o = [],
|
|
3559
|
-
dropdownPosition: a =
|
|
3563
|
+
dropdownPosition: a = ae.BottomRight,
|
|
3560
3564
|
classNameRoot: i
|
|
3561
3565
|
} = e, r = _({
|
|
3562
3566
|
[Ee.spDropdown]: !0,
|
|
@@ -3571,26 +3575,26 @@ const bi = (e) => {
|
|
|
3571
3575
|
[Ee.spDropdown__dropdownListHeader]: !0
|
|
3572
3576
|
}), c = _({
|
|
3573
3577
|
[Ee.spDropdown__downloadListItemDescription]: !0
|
|
3574
|
-
}), [
|
|
3578
|
+
}), [h, y] = pe(!1);
|
|
3575
3579
|
return /* @__PURE__ */ l(
|
|
3576
3580
|
It,
|
|
3577
3581
|
{
|
|
3578
3582
|
hover: !1,
|
|
3579
|
-
triggerAction: () =>
|
|
3580
|
-
actionOnClose: () =>
|
|
3583
|
+
triggerAction: () => y(!0),
|
|
3584
|
+
actionOnClose: () => y(!1),
|
|
3581
3585
|
text: /* @__PURE__ */ H("div", { className: d, children: [
|
|
3582
3586
|
n && /* @__PURE__ */ l("div", { className: m, children: n }),
|
|
3583
|
-
o.map((
|
|
3587
|
+
o.map((w, N) => /* @__PURE__ */ H(
|
|
3584
3588
|
"div",
|
|
3585
3589
|
{
|
|
3586
3590
|
className: _({
|
|
3587
3591
|
[Ee.spDropdown__dopdownListItem]: !0,
|
|
3588
|
-
[Ee.spDropdown__dopdownListItem_textCenter]:
|
|
3592
|
+
[Ee.spDropdown__dopdownListItem_textCenter]: w.textCenter
|
|
3589
3593
|
}),
|
|
3590
|
-
onClick:
|
|
3594
|
+
onClick: w.onClick,
|
|
3591
3595
|
children: [
|
|
3592
|
-
|
|
3593
|
-
|
|
3596
|
+
w.name,
|
|
3597
|
+
w.description && /* @__PURE__ */ l("span", { className: c, children: w.description })
|
|
3594
3598
|
]
|
|
3595
3599
|
},
|
|
3596
3600
|
N
|
|
@@ -3601,13 +3605,13 @@ const bi = (e) => {
|
|
|
3601
3605
|
isToggleClick: !0,
|
|
3602
3606
|
trigger: /* @__PURE__ */ H("div", { className: r, children: [
|
|
3603
3607
|
/* @__PURE__ */ l("div", { className: s, children: t }),
|
|
3604
|
-
/* @__PURE__ */ l("div", { className: u, children: /* @__PURE__ */ l(
|
|
3608
|
+
/* @__PURE__ */ l("div", { className: u, children: /* @__PURE__ */ l(ge, { name: ie.SelectChevronDown, rotate: h ? 180 : void 0 }) })
|
|
3605
3609
|
] })
|
|
3606
3610
|
}
|
|
3607
3611
|
);
|
|
3608
|
-
},
|
|
3609
|
-
ellipsisTextWithTooltip:
|
|
3610
|
-
ellipsisTextWithTooltip__tooltip:
|
|
3612
|
+
}, Ni = "_ellipsisTextWithTooltip_14k1x_43", Ri = "_ellipsisTextWithTooltip__tooltip_14k1x_50", tn = {
|
|
3613
|
+
ellipsisTextWithTooltip: Ni,
|
|
3614
|
+
ellipsisTextWithTooltip__tooltip: Ri
|
|
3611
3615
|
}, Ai = (e) => {
|
|
3612
3616
|
const {
|
|
3613
3617
|
text: t,
|
|
@@ -3617,24 +3621,24 @@ const bi = (e) => {
|
|
|
3617
3621
|
classNameBaseTooltipContentRoot: i,
|
|
3618
3622
|
classNameBaseTooltipRoot: r,
|
|
3619
3623
|
...s
|
|
3620
|
-
} = e, u = Te(null), [d, m] =
|
|
3621
|
-
|
|
3624
|
+
} = e, u = Te(null), [d, m] = pe(!1);
|
|
3625
|
+
oe(() => {
|
|
3622
3626
|
u.current && m(u.current.scrollWidth > u.current.clientWidth);
|
|
3623
3627
|
}, [t]);
|
|
3624
3628
|
const c = _({
|
|
3625
|
-
[
|
|
3629
|
+
[tn.ellipsisTextWithTooltip]: !0,
|
|
3626
3630
|
...n && { [n]: !0 }
|
|
3627
|
-
}),
|
|
3628
|
-
[
|
|
3631
|
+
}), h = _({
|
|
3632
|
+
[tn.ellipsisTextWithTooltip__tooltip]: !0,
|
|
3629
3633
|
...o && { [o]: !0 }
|
|
3630
|
-
}),
|
|
3634
|
+
}), y = _({
|
|
3631
3635
|
...a && { [a]: !0 }
|
|
3632
3636
|
});
|
|
3633
3637
|
return /* @__PURE__ */ l(
|
|
3634
3638
|
It,
|
|
3635
3639
|
{
|
|
3636
|
-
classNameTooltip:
|
|
3637
|
-
classNameTriggerTooltip:
|
|
3640
|
+
classNameTooltip: h,
|
|
3641
|
+
classNameTriggerTooltip: y,
|
|
3638
3642
|
classNameBaseTooltipContentRoot: i,
|
|
3639
3643
|
classNameBaseTooltipRoot: r,
|
|
3640
3644
|
isVisibleTooltip: d,
|
|
@@ -3642,13 +3646,13 @@ const bi = (e) => {
|
|
|
3642
3646
|
trigger: /* @__PURE__ */ l(Se, { ...s, classNameRoot: c, isEllipsis: !0, ref: u, children: t })
|
|
3643
3647
|
}
|
|
3644
3648
|
);
|
|
3645
|
-
},
|
|
3646
|
-
spForm:
|
|
3647
|
-
spForm_fullWidth:
|
|
3648
|
-
spForm_withSeparator:
|
|
3649
|
+
}, Di = "_spForm_159yd_43", Oi = "_spForm_fullWidth_159yd_50", Li = "_spForm_withSeparator_159yd_53", Me = {
|
|
3650
|
+
spForm: Di,
|
|
3651
|
+
spForm_fullWidth: Oi,
|
|
3652
|
+
spForm_withSeparator: Li,
|
|
3649
3653
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_159yd_71",
|
|
3650
3654
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_159yd_79"
|
|
3651
|
-
},
|
|
3655
|
+
}, Ds = (e) => {
|
|
3652
3656
|
const {
|
|
3653
3657
|
size: t = "lg",
|
|
3654
3658
|
children: n,
|
|
@@ -3669,11 +3673,11 @@ const bi = (e) => {
|
|
|
3669
3673
|
return /* @__PURE__ */ l("form", { ...u, onSubmit: (c) => {
|
|
3670
3674
|
c.preventDefault(), o && o();
|
|
3671
3675
|
}, className: d, children: n });
|
|
3672
|
-
},
|
|
3673
|
-
spLabel:
|
|
3674
|
-
spLabel__text:
|
|
3675
|
-
spLabel__tooltip:
|
|
3676
|
-
spLabel__required:
|
|
3676
|
+
}, Pi = "_spLabel_oxel8_43", Fi = "_spLabel__text_oxel8_56", zi = "_spLabel__tooltip_oxel8_66", Mi = "_spLabel__required_oxel8_71", Ge = {
|
|
3677
|
+
spLabel: Pi,
|
|
3678
|
+
spLabel__text: Fi,
|
|
3679
|
+
spLabel__tooltip: zi,
|
|
3680
|
+
spLabel__required: Mi
|
|
3677
3681
|
}, Nt = (e) => {
|
|
3678
3682
|
const {
|
|
3679
3683
|
required: t,
|
|
@@ -3696,18 +3700,18 @@ const bi = (e) => {
|
|
|
3696
3700
|
t && /* @__PURE__ */ l("div", { className: u, children: "*" }),
|
|
3697
3701
|
o && /* @__PURE__ */ l("div", { className: d, children: /* @__PURE__ */ l(Qe, { position: a, text: o }) })
|
|
3698
3702
|
] });
|
|
3699
|
-
},
|
|
3700
|
-
spInput:
|
|
3701
|
-
spInput_error:
|
|
3702
|
-
spInput__control:
|
|
3703
|
-
spInput__container:
|
|
3704
|
-
spInput__control_filled:
|
|
3705
|
-
spInput__control_outlined:
|
|
3706
|
-
spInput__control_disabled:
|
|
3707
|
-
spInput__control_clearable:
|
|
3708
|
-
spInput__clear:
|
|
3709
|
-
spInput__error:
|
|
3710
|
-
},
|
|
3703
|
+
}, Bi = "_spInput_1ntkz_43", qi = "_spInput_error_1ntkz_52", Wi = "_spInput__control_1ntkz_52", $i = "_spInput__container_1ntkz_59", Hi = "_spInput__control_filled_1ntkz_77", Yi = "_spInput__control_outlined_1ntkz_81", Vi = "_spInput__control_disabled_1ntkz_85", Ui = "_spInput__control_clearable_1ntkz_88", Gi = "_spInput__clear_1ntkz_115", Ki = "_spInput__error_1ntkz_124", Ce = {
|
|
3704
|
+
spInput: Bi,
|
|
3705
|
+
spInput_error: qi,
|
|
3706
|
+
spInput__control: Wi,
|
|
3707
|
+
spInput__container: $i,
|
|
3708
|
+
spInput__control_filled: Hi,
|
|
3709
|
+
spInput__control_outlined: Yi,
|
|
3710
|
+
spInput__control_disabled: Vi,
|
|
3711
|
+
spInput__control_clearable: Ui,
|
|
3712
|
+
spInput__clear: Gi,
|
|
3713
|
+
spInput__error: Ki
|
|
3714
|
+
}, Xi = qe.forwardRef((e, t) => {
|
|
3711
3715
|
const {
|
|
3712
3716
|
value: n,
|
|
3713
3717
|
onChange: o,
|
|
@@ -3719,19 +3723,19 @@ const bi = (e) => {
|
|
|
3719
3723
|
name: d,
|
|
3720
3724
|
isClearable: m,
|
|
3721
3725
|
pattern: c,
|
|
3722
|
-
onMouseEnter:
|
|
3723
|
-
infoTooltipText:
|
|
3726
|
+
onMouseEnter: h,
|
|
3727
|
+
infoTooltipText: y,
|
|
3724
3728
|
tooltipPosition: E,
|
|
3725
|
-
isVisibleDefaultTitle:
|
|
3729
|
+
isVisibleDefaultTitle: w = !0,
|
|
3726
3730
|
placeholder: N = "Введите...",
|
|
3727
|
-
classNameRoot:
|
|
3731
|
+
classNameRoot: L,
|
|
3728
3732
|
classNameError: Y,
|
|
3729
|
-
classNameLabel:
|
|
3730
|
-
...
|
|
3733
|
+
classNameLabel: A,
|
|
3734
|
+
...b
|
|
3731
3735
|
} = e, p = _({
|
|
3732
3736
|
[Ce.spInput]: !0,
|
|
3733
3737
|
[Ce.spInput_error]: !!s,
|
|
3734
|
-
...
|
|
3738
|
+
...L && { [L]: !0 }
|
|
3735
3739
|
}), T = _({
|
|
3736
3740
|
[Ce.spInput__container]: !0
|
|
3737
3741
|
}), D = _({
|
|
@@ -3739,66 +3743,66 @@ const bi = (e) => {
|
|
|
3739
3743
|
[Ce.spInput__control_disabled]: r,
|
|
3740
3744
|
[Ce[`spInput__control_${i}`]]: i,
|
|
3741
3745
|
[Ce.spInput__control_clearable]: m
|
|
3742
|
-
}),
|
|
3746
|
+
}), K = _({
|
|
3743
3747
|
[Ce.spInput__clear]: !0
|
|
3744
3748
|
}), Z = _({
|
|
3745
3749
|
[Ce.spInput__error]: !0,
|
|
3746
3750
|
...Y && { [Y]: !0 }
|
|
3747
|
-
}),
|
|
3748
|
-
...
|
|
3749
|
-
}),
|
|
3750
|
-
o(
|
|
3751
|
-
},
|
|
3752
|
-
const { value:
|
|
3753
|
-
c &&
|
|
3751
|
+
}), re = _({
|
|
3752
|
+
...A && { [A]: !0 }
|
|
3753
|
+
}), de = (W) => {
|
|
3754
|
+
o(W, { name: d, value: "" });
|
|
3755
|
+
}, ue = (W) => {
|
|
3756
|
+
const { value: k, name: M } = W.target;
|
|
3757
|
+
c && k && !new RegExp(c).test(k) || o(W, { value: k, name: M });
|
|
3754
3758
|
};
|
|
3755
3759
|
return /* @__PURE__ */ H("div", { className: p, children: [
|
|
3756
3760
|
a && /* @__PURE__ */ l(
|
|
3757
3761
|
Nt,
|
|
3758
3762
|
{
|
|
3759
|
-
classNameRoot:
|
|
3763
|
+
classNameRoot: re,
|
|
3760
3764
|
tooltipPosition: E,
|
|
3761
3765
|
required: u,
|
|
3762
3766
|
label: a,
|
|
3763
|
-
infoTooltipText:
|
|
3767
|
+
infoTooltipText: y
|
|
3764
3768
|
}
|
|
3765
3769
|
),
|
|
3766
|
-
/* @__PURE__ */ H("div", { className: T, onMouseEnter:
|
|
3770
|
+
/* @__PURE__ */ H("div", { className: T, onMouseEnter: h, children: [
|
|
3767
3771
|
/* @__PURE__ */ l(
|
|
3768
3772
|
"input",
|
|
3769
3773
|
{
|
|
3770
|
-
...
|
|
3774
|
+
...b,
|
|
3771
3775
|
placeholder: N,
|
|
3772
3776
|
disabled: r,
|
|
3773
|
-
onChange:
|
|
3774
|
-
title:
|
|
3777
|
+
onChange: ue,
|
|
3778
|
+
title: w ? n : void 0,
|
|
3775
3779
|
value: n,
|
|
3776
3780
|
name: d,
|
|
3777
3781
|
className: D,
|
|
3778
3782
|
ref: t
|
|
3779
3783
|
}
|
|
3780
3784
|
),
|
|
3781
|
-
m && n && !r && /* @__PURE__ */ l(
|
|
3785
|
+
m && n && !r && /* @__PURE__ */ l(ge, { onClick: de, className: K, name: ie.Trash })
|
|
3782
3786
|
] }),
|
|
3783
3787
|
s && /* @__PURE__ */ l("div", { className: Z, children: s })
|
|
3784
3788
|
] });
|
|
3785
3789
|
});
|
|
3786
|
-
|
|
3787
|
-
const
|
|
3788
|
-
spInputFiles:
|
|
3789
|
-
spInputFiles_error:
|
|
3790
|
-
spInputFiles__control:
|
|
3791
|
-
spInputFiles_fileUploaded:
|
|
3792
|
-
spInputFiles_disabled:
|
|
3793
|
-
spInputFiles__fileNamesList:
|
|
3794
|
-
spInputFiles__fileNamesListItem:
|
|
3795
|
-
spInputFiles__fileNamesListItem__triggerTooltip:
|
|
3796
|
-
spInputFiles__fileNamesListItemDelete:
|
|
3797
|
-
spInputFiles__tooltipWrapper:
|
|
3798
|
-
spInputFiles__tooltip:
|
|
3799
|
-
spInputFiles__delete:
|
|
3800
|
-
spInputFiles__error:
|
|
3801
|
-
},
|
|
3790
|
+
Xi.displayName = "Input";
|
|
3791
|
+
const Zi = "_spInputFiles_1xdzj_43", Qi = "_spInputFiles_error_1xdzj_52", Ji = "_spInputFiles__control_1xdzj_52", er = "_spInputFiles_fileUploaded_1xdzj_77", tr = "_spInputFiles_disabled_1xdzj_77", nr = "_spInputFiles__fileNamesList_1xdzj_87", or = "_spInputFiles__fileNamesListItem_1xdzj_96", ar = "_spInputFiles__fileNamesListItem__triggerTooltip_1xdzj_115", ir = "_spInputFiles__fileNamesListItemDelete_1xdzj_118", rr = "_spInputFiles__tooltipWrapper_1xdzj_133", sr = "_spInputFiles__tooltip_1xdzj_133", pr = "_spInputFiles__delete_1xdzj_139", cr = "_spInputFiles__error_1xdzj_147", ve = {
|
|
3792
|
+
spInputFiles: Zi,
|
|
3793
|
+
spInputFiles_error: Qi,
|
|
3794
|
+
spInputFiles__control: Ji,
|
|
3795
|
+
spInputFiles_fileUploaded: er,
|
|
3796
|
+
spInputFiles_disabled: tr,
|
|
3797
|
+
spInputFiles__fileNamesList: nr,
|
|
3798
|
+
spInputFiles__fileNamesListItem: or,
|
|
3799
|
+
spInputFiles__fileNamesListItem__triggerTooltip: ar,
|
|
3800
|
+
spInputFiles__fileNamesListItemDelete: ir,
|
|
3801
|
+
spInputFiles__tooltipWrapper: rr,
|
|
3802
|
+
spInputFiles__tooltip: sr,
|
|
3803
|
+
spInputFiles__delete: pr,
|
|
3804
|
+
spInputFiles__error: cr
|
|
3805
|
+
}, Os = (e) => {
|
|
3802
3806
|
const {
|
|
3803
3807
|
placeholder: t = "Загрузите файл",
|
|
3804
3808
|
name: n,
|
|
@@ -3810,26 +3814,26 @@ const Xi = "_spInputFiles_1xdzj_43", Zi = "_spInputFiles_error_1xdzj_52", Qi = "
|
|
|
3810
3814
|
maxFiles: u,
|
|
3811
3815
|
files: d = [],
|
|
3812
3816
|
infoTooltipText: m,
|
|
3813
|
-
tooltipPosition: c =
|
|
3814
|
-
classNameRoot:
|
|
3815
|
-
error:
|
|
3816
|
-
} = e, E = d.map((p) => p.name),
|
|
3817
|
-
[
|
|
3818
|
-
[
|
|
3819
|
-
[
|
|
3820
|
-
[
|
|
3821
|
-
...
|
|
3822
|
-
}),
|
|
3823
|
-
const T = [...d], D = T.findIndex((
|
|
3817
|
+
tooltipPosition: c = ae.TopRight,
|
|
3818
|
+
classNameRoot: h,
|
|
3819
|
+
error: y
|
|
3820
|
+
} = e, E = d.map((p) => p.name), w = (E == null ? void 0 : E.length) > 0, N = _({
|
|
3821
|
+
[ve.spInputFiles]: !0,
|
|
3822
|
+
[ve.spInputFiles_error]: !!y,
|
|
3823
|
+
[ve.spInputFiles_disabled]: r,
|
|
3824
|
+
[ve.spInputFiles_fileUploaded]: w,
|
|
3825
|
+
...h && { [h]: !0 }
|
|
3826
|
+
}), L = (p) => {
|
|
3827
|
+
const T = [...d], D = T.findIndex((K) => K.name === p);
|
|
3824
3828
|
T.splice(D, 1), o(T, n);
|
|
3825
3829
|
}, Y = (p) => {
|
|
3826
3830
|
p.stopPropagation(), o([], n);
|
|
3827
|
-
},
|
|
3831
|
+
}, A = () => s ? /* @__PURE__ */ l("ul", { className: ve.spInputFiles__fileNamesList, children: E.map((p, T) => /* @__PURE__ */ H(
|
|
3828
3832
|
"li",
|
|
3829
3833
|
{
|
|
3830
|
-
className:
|
|
3834
|
+
className: ve.spInputFiles__fileNamesListItem,
|
|
3831
3835
|
onClick: (D) => {
|
|
3832
|
-
D.stopPropagation(),
|
|
3836
|
+
D.stopPropagation(), L(p);
|
|
3833
3837
|
},
|
|
3834
3838
|
children: [
|
|
3835
3839
|
/* @__PURE__ */ l(
|
|
@@ -3837,27 +3841,27 @@ const Xi = "_spInputFiles_1xdzj_43", Zi = "_spInputFiles_error_1xdzj_52", Qi = "
|
|
|
3837
3841
|
{
|
|
3838
3842
|
type: "p2",
|
|
3839
3843
|
text: p,
|
|
3840
|
-
classNameTriggerTooltipRoot:
|
|
3844
|
+
classNameTriggerTooltipRoot: ve.spInputFiles__fileNamesListItem__triggerTooltip
|
|
3841
3845
|
}
|
|
3842
3846
|
),
|
|
3843
|
-
/* @__PURE__ */ l("div", { className:
|
|
3847
|
+
/* @__PURE__ */ l("div", { className: ve.spInputFiles__fileNamesListItemDelete, children: /* @__PURE__ */ l(ge, { name: ie.Trash }) })
|
|
3844
3848
|
]
|
|
3845
3849
|
},
|
|
3846
3850
|
T
|
|
3847
|
-
)) }) : /* @__PURE__ */ l(Se, { isEllipsis: !0, children: E[0] }),
|
|
3848
|
-
|
|
3849
|
-
|
|
3851
|
+
)) }) : /* @__PURE__ */ l(Se, { isEllipsis: !0, children: E[0] }), b = () => /* @__PURE__ */ H(cn, { children: [
|
|
3852
|
+
w ? A() : /* @__PURE__ */ l(Se, { children: t }),
|
|
3853
|
+
w ? /* @__PURE__ */ l("div", { className: ve.spInputFiles__delete, onClick: Y, children: /* @__PURE__ */ l(ge, { name: ie.Close }) }) : m && /* @__PURE__ */ l(
|
|
3850
3854
|
Qe,
|
|
3851
3855
|
{
|
|
3852
|
-
classNameTooltip:
|
|
3856
|
+
classNameTooltip: ve.spInputFiles__tooltipWrapper,
|
|
3853
3857
|
position: c,
|
|
3854
3858
|
text: m,
|
|
3855
|
-
classNameTriggerTooltip:
|
|
3859
|
+
classNameTriggerTooltip: ve.spInputFiles__tooltip
|
|
3856
3860
|
}
|
|
3857
3861
|
)
|
|
3858
3862
|
] });
|
|
3859
3863
|
return /* @__PURE__ */ l(
|
|
3860
|
-
|
|
3864
|
+
yi,
|
|
3861
3865
|
{
|
|
3862
3866
|
name: n,
|
|
3863
3867
|
files: d,
|
|
@@ -3866,29 +3870,29 @@ const Xi = "_spInputFiles_1xdzj_43", Zi = "_spInputFiles_error_1xdzj_52", Qi = "
|
|
|
3866
3870
|
maxFiles: u,
|
|
3867
3871
|
accept: i,
|
|
3868
3872
|
onDropFiles: o,
|
|
3869
|
-
disabled: r ||
|
|
3873
|
+
disabled: r || w,
|
|
3870
3874
|
children: /* @__PURE__ */ H("div", { className: N, children: [
|
|
3871
|
-
/* @__PURE__ */ H("div", { className:
|
|
3872
|
-
/* @__PURE__ */ l(
|
|
3873
|
-
|
|
3875
|
+
/* @__PURE__ */ H("div", { className: ve.spInputFiles__control, children: [
|
|
3876
|
+
/* @__PURE__ */ l(ge, { name: w ? ie.Check : ie.Upload }),
|
|
3877
|
+
b()
|
|
3874
3878
|
] }),
|
|
3875
|
-
|
|
3879
|
+
y && /* @__PURE__ */ l("div", { className: ve.spInputFiles__error, children: y })
|
|
3876
3880
|
] })
|
|
3877
3881
|
}
|
|
3878
3882
|
);
|
|
3879
|
-
},
|
|
3883
|
+
}, jn = ln({
|
|
3880
3884
|
device: {
|
|
3881
3885
|
isDesktop: !1,
|
|
3882
3886
|
isMobile: !1,
|
|
3883
3887
|
isTablet: !1
|
|
3884
3888
|
}
|
|
3885
3889
|
});
|
|
3886
|
-
var
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
var
|
|
3890
|
-
function
|
|
3891
|
-
return
|
|
3890
|
+
var Rt = {};
|
|
3891
|
+
Rt.match = _r;
|
|
3892
|
+
Rt.parse = Nn;
|
|
3893
|
+
var lr = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, dr = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, ur = /^(?:(min|max)-)?(.+)/, mr = /(em|rem|px|cm|mm|in|pt|pc)?$/, fr = /(dpi|dpcm|dppx)?$/;
|
|
3894
|
+
function _r(e, t) {
|
|
3895
|
+
return Nn(e).some(function(n) {
|
|
3892
3896
|
var o = n.inverse, a = n.type === "all" || t.type === n.type;
|
|
3893
3897
|
if (a && o || !(a || o))
|
|
3894
3898
|
return !1;
|
|
@@ -3904,16 +3908,16 @@ function fr(e, t) {
|
|
|
3904
3908
|
case "height":
|
|
3905
3909
|
case "device-width":
|
|
3906
3910
|
case "device-height":
|
|
3907
|
-
d =
|
|
3911
|
+
d = an(d), m = an(m);
|
|
3908
3912
|
break;
|
|
3909
3913
|
case "resolution":
|
|
3910
|
-
d =
|
|
3914
|
+
d = on(d), m = on(m);
|
|
3911
3915
|
break;
|
|
3912
3916
|
case "aspect-ratio":
|
|
3913
3917
|
case "device-aspect-ratio":
|
|
3914
3918
|
case /* Deprecated */
|
|
3915
3919
|
"device-pixel-ratio":
|
|
3916
|
-
d =
|
|
3920
|
+
d = nn(d), m = nn(m);
|
|
3917
3921
|
break;
|
|
3918
3922
|
case "grid":
|
|
3919
3923
|
case "color":
|
|
@@ -3934,12 +3938,12 @@ function fr(e, t) {
|
|
|
3934
3938
|
return i && !o || !i && o;
|
|
3935
3939
|
});
|
|
3936
3940
|
}
|
|
3937
|
-
function
|
|
3941
|
+
function Nn(e) {
|
|
3938
3942
|
return e.split(",").map(function(t) {
|
|
3939
3943
|
t = t.trim();
|
|
3940
|
-
var n = t.match(
|
|
3944
|
+
var n = t.match(lr), o = n[1], a = n[2], i = n[3] || "", r = {};
|
|
3941
3945
|
return r.inverse = !!o && o.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
3942
|
-
var u = s.match(
|
|
3946
|
+
var u = s.match(dr), d = u[1].toLowerCase().match(ur);
|
|
3943
3947
|
return {
|
|
3944
3948
|
modifier: d[1],
|
|
3945
3949
|
feature: d[2],
|
|
@@ -3948,12 +3952,12 @@ function jn(e) {
|
|
|
3948
3952
|
}), r;
|
|
3949
3953
|
});
|
|
3950
3954
|
}
|
|
3951
|
-
function
|
|
3955
|
+
function nn(e) {
|
|
3952
3956
|
var t = Number(e), n;
|
|
3953
3957
|
return t || (n = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = n[1] / n[2]), t;
|
|
3954
3958
|
}
|
|
3955
|
-
function
|
|
3956
|
-
var t = parseFloat(e), n = String(e).match(
|
|
3959
|
+
function on(e) {
|
|
3960
|
+
var t = parseFloat(e), n = String(e).match(fr)[1];
|
|
3957
3961
|
switch (n) {
|
|
3958
3962
|
case "dpcm":
|
|
3959
3963
|
return t / 2.54;
|
|
@@ -3963,8 +3967,8 @@ function nn(e) {
|
|
|
3963
3967
|
return t;
|
|
3964
3968
|
}
|
|
3965
3969
|
}
|
|
3966
|
-
function
|
|
3967
|
-
var t = parseFloat(e), n = String(e).match(
|
|
3970
|
+
function an(e) {
|
|
3971
|
+
var t = parseFloat(e), n = String(e).match(mr)[1];
|
|
3968
3972
|
switch (n) {
|
|
3969
3973
|
case "em":
|
|
3970
3974
|
return t * 16;
|
|
@@ -3984,10 +3988,10 @@ function on(e) {
|
|
|
3984
3988
|
return t;
|
|
3985
3989
|
}
|
|
3986
3990
|
}
|
|
3987
|
-
var
|
|
3988
|
-
function
|
|
3991
|
+
var vr = Rt.match, rn = typeof window < "u" ? window.matchMedia : null;
|
|
3992
|
+
function xr(e, t, n) {
|
|
3989
3993
|
var o = this, a;
|
|
3990
|
-
|
|
3994
|
+
rn && !n && (a = rn.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = vr(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = u;
|
|
3991
3995
|
function i(d) {
|
|
3992
3996
|
a && a.addListener(d);
|
|
3993
3997
|
}
|
|
@@ -4001,22 +4005,22 @@ function vr(e, t, n) {
|
|
|
4001
4005
|
a && a.removeListener(s);
|
|
4002
4006
|
}
|
|
4003
4007
|
}
|
|
4004
|
-
function
|
|
4005
|
-
return new
|
|
4008
|
+
function gr(e, t, n) {
|
|
4009
|
+
return new xr(e, t, n);
|
|
4006
4010
|
}
|
|
4007
|
-
var
|
|
4008
|
-
const
|
|
4009
|
-
var
|
|
4010
|
-
function
|
|
4011
|
+
var hr = gr;
|
|
4012
|
+
const br = /* @__PURE__ */ vn(hr);
|
|
4013
|
+
var yr = /[A-Z]/g, wr = /^ms-/, ht = {};
|
|
4014
|
+
function kr(e) {
|
|
4011
4015
|
return "-" + e.toLowerCase();
|
|
4012
4016
|
}
|
|
4013
|
-
function
|
|
4017
|
+
function Rn(e) {
|
|
4014
4018
|
if (ht.hasOwnProperty(e))
|
|
4015
4019
|
return ht[e];
|
|
4016
|
-
var t = e.replace(
|
|
4017
|
-
return ht[e] =
|
|
4020
|
+
var t = e.replace(yr, kr);
|
|
4021
|
+
return ht[e] = wr.test(t) ? "-" + t : t;
|
|
4018
4022
|
}
|
|
4019
|
-
function
|
|
4023
|
+
function Cr(e, t) {
|
|
4020
4024
|
if (e === t)
|
|
4021
4025
|
return !0;
|
|
4022
4026
|
if (!e || !t)
|
|
@@ -4031,7 +4035,7 @@ function kr(e, t) {
|
|
|
4031
4035
|
}
|
|
4032
4036
|
return !0;
|
|
4033
4037
|
}
|
|
4034
|
-
const
|
|
4038
|
+
const se = C.oneOfType([C.string, C.number]), An = {
|
|
4035
4039
|
all: C.bool,
|
|
4036
4040
|
grid: C.bool,
|
|
4037
4041
|
aural: C.bool,
|
|
@@ -4043,75 +4047,75 @@ const re = C.oneOfType([C.string, C.number]), An = {
|
|
|
4043
4047
|
tty: C.bool,
|
|
4044
4048
|
tv: C.bool,
|
|
4045
4049
|
embossed: C.bool
|
|
4046
|
-
},
|
|
4050
|
+
}, Tr = {
|
|
4047
4051
|
orientation: C.oneOf(["portrait", "landscape"]),
|
|
4048
4052
|
scan: C.oneOf(["progressive", "interlace"]),
|
|
4049
4053
|
aspectRatio: C.string,
|
|
4050
4054
|
deviceAspectRatio: C.string,
|
|
4051
|
-
height:
|
|
4052
|
-
deviceHeight:
|
|
4053
|
-
width:
|
|
4054
|
-
deviceWidth:
|
|
4055
|
+
height: se,
|
|
4056
|
+
deviceHeight: se,
|
|
4057
|
+
width: se,
|
|
4058
|
+
deviceWidth: se,
|
|
4055
4059
|
color: C.bool,
|
|
4056
4060
|
colorIndex: C.bool,
|
|
4057
4061
|
monochrome: C.bool,
|
|
4058
|
-
resolution:
|
|
4062
|
+
resolution: se,
|
|
4059
4063
|
type: Object.keys(An)
|
|
4060
|
-
}, { type:
|
|
4064
|
+
}, { type: Ls, ...Er } = Tr, Sr = {
|
|
4061
4065
|
minAspectRatio: C.string,
|
|
4062
4066
|
maxAspectRatio: C.string,
|
|
4063
4067
|
minDeviceAspectRatio: C.string,
|
|
4064
4068
|
maxDeviceAspectRatio: C.string,
|
|
4065
|
-
minHeight:
|
|
4066
|
-
maxHeight:
|
|
4067
|
-
minDeviceHeight:
|
|
4068
|
-
maxDeviceHeight:
|
|
4069
|
-
minWidth:
|
|
4070
|
-
maxWidth:
|
|
4071
|
-
minDeviceWidth:
|
|
4072
|
-
maxDeviceWidth:
|
|
4069
|
+
minHeight: se,
|
|
4070
|
+
maxHeight: se,
|
|
4071
|
+
minDeviceHeight: se,
|
|
4072
|
+
maxDeviceHeight: se,
|
|
4073
|
+
minWidth: se,
|
|
4074
|
+
maxWidth: se,
|
|
4075
|
+
minDeviceWidth: se,
|
|
4076
|
+
maxDeviceWidth: se,
|
|
4073
4077
|
minColor: C.number,
|
|
4074
4078
|
maxColor: C.number,
|
|
4075
4079
|
minColorIndex: C.number,
|
|
4076
4080
|
maxColorIndex: C.number,
|
|
4077
4081
|
minMonochrome: C.number,
|
|
4078
4082
|
maxMonochrome: C.number,
|
|
4079
|
-
minResolution:
|
|
4080
|
-
maxResolution:
|
|
4081
|
-
...
|
|
4082
|
-
},
|
|
4083
|
-
var
|
|
4084
|
-
all:
|
|
4083
|
+
minResolution: se,
|
|
4084
|
+
maxResolution: se,
|
|
4085
|
+
...Er
|
|
4086
|
+
}, Ir = { ...An, ...Sr };
|
|
4087
|
+
var jr = {
|
|
4088
|
+
all: Ir
|
|
4085
4089
|
};
|
|
4086
|
-
const
|
|
4087
|
-
const n =
|
|
4088
|
-
return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ?
|
|
4089
|
-
}, Ar = (e) => e.join(" and "),
|
|
4090
|
+
const Nr = (e) => `not ${e}`, Rr = (e, t) => {
|
|
4091
|
+
const n = Rn(e);
|
|
4092
|
+
return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ? Nr(n) : `(${n}: ${t})`;
|
|
4093
|
+
}, Ar = (e) => e.join(" and "), Dr = (e) => {
|
|
4090
4094
|
const t = [];
|
|
4091
|
-
return Object.keys(
|
|
4095
|
+
return Object.keys(jr.all).forEach((n) => {
|
|
4092
4096
|
const o = e[n];
|
|
4093
|
-
o != null && t.push(
|
|
4097
|
+
o != null && t.push(Rr(n, o));
|
|
4094
4098
|
}), Ar(t);
|
|
4095
|
-
},
|
|
4099
|
+
}, Or = ln(void 0), Lr = (e) => e.query || Dr(e), sn = (e) => e ? Object.keys(e).reduce((n, o) => (n[Rn(o)] = e[o], n), {}) : void 0, Dn = () => {
|
|
4096
4100
|
const e = Te(!1);
|
|
4097
|
-
return
|
|
4101
|
+
return oe(() => {
|
|
4098
4102
|
e.current = !0;
|
|
4099
4103
|
}, []), e.current;
|
|
4100
|
-
},
|
|
4101
|
-
const t =
|
|
4102
|
-
return
|
|
4104
|
+
}, Pr = (e) => {
|
|
4105
|
+
const t = dn(Or), n = () => sn(e) || sn(t), [o, a] = pe(n);
|
|
4106
|
+
return oe(() => {
|
|
4103
4107
|
const i = n();
|
|
4104
|
-
|
|
4108
|
+
Cr(o, i) || a(i);
|
|
4105
4109
|
}, [e, t]), o;
|
|
4106
|
-
},
|
|
4107
|
-
const t = () =>
|
|
4108
|
-
return
|
|
4110
|
+
}, Fr = (e) => {
|
|
4111
|
+
const t = () => Lr(e), [n, o] = pe(t);
|
|
4112
|
+
return oe(() => {
|
|
4109
4113
|
const a = t();
|
|
4110
4114
|
n !== a && o(a);
|
|
4111
4115
|
}, [e]), n;
|
|
4112
|
-
},
|
|
4113
|
-
const n = () =>
|
|
4114
|
-
return
|
|
4116
|
+
}, zr = (e, t) => {
|
|
4117
|
+
const n = () => br(e, t || {}, !!t), [o, a] = pe(n), i = Dn();
|
|
4118
|
+
return oe(() => {
|
|
4115
4119
|
if (i) {
|
|
4116
4120
|
const r = n();
|
|
4117
4121
|
return a(r), () => {
|
|
@@ -4119,9 +4123,9 @@ const jr = (e) => `not ${e}`, Nr = (e, t) => {
|
|
|
4119
4123
|
};
|
|
4120
4124
|
}
|
|
4121
4125
|
}, [e, t]), o;
|
|
4122
|
-
},
|
|
4123
|
-
const [t, n] =
|
|
4124
|
-
return
|
|
4126
|
+
}, Mr = (e) => {
|
|
4127
|
+
const [t, n] = pe(e.matches);
|
|
4128
|
+
return oe(() => {
|
|
4125
4129
|
const o = (a) => {
|
|
4126
4130
|
n(a.matches);
|
|
4127
4131
|
};
|
|
@@ -4130,15 +4134,15 @@ const jr = (e) => `not ${e}`, Nr = (e, t) => {
|
|
|
4130
4134
|
};
|
|
4131
4135
|
}, [e]), t;
|
|
4132
4136
|
}, bt = (e, t, n) => {
|
|
4133
|
-
const o =
|
|
4137
|
+
const o = Pr(t), a = Fr(e);
|
|
4134
4138
|
if (!a)
|
|
4135
4139
|
throw new Error("Invalid or missing MediaQuery!");
|
|
4136
|
-
const i =
|
|
4137
|
-
return
|
|
4138
|
-
}, [r]),
|
|
4140
|
+
const i = zr(a, o), r = Mr(i);
|
|
4141
|
+
return Dn(), oe(() => {
|
|
4142
|
+
}, [r]), oe(() => () => {
|
|
4139
4143
|
i && i.dispose();
|
|
4140
4144
|
}, []), r;
|
|
4141
|
-
},
|
|
4145
|
+
}, Br = (e) => {
|
|
4142
4146
|
const { desktop: t, tablet: n, mobile: o } = e, a = bt(t), i = bt(n), r = bt(o);
|
|
4143
4147
|
return {
|
|
4144
4148
|
device: {
|
|
@@ -4147,10 +4151,10 @@ const jr = (e) => `not ${e}`, Nr = (e, t) => {
|
|
|
4147
4151
|
isMobile: r
|
|
4148
4152
|
}
|
|
4149
4153
|
};
|
|
4150
|
-
},
|
|
4151
|
-
const { breakpoints: t, children: n } = e, { device: o } =
|
|
4154
|
+
}, Ps = (e) => {
|
|
4155
|
+
const { breakpoints: t, children: n } = e, { device: o } = Br(t);
|
|
4152
4156
|
return /* @__PURE__ */ l(
|
|
4153
|
-
|
|
4157
|
+
jn.Provider,
|
|
4154
4158
|
{
|
|
4155
4159
|
value: {
|
|
4156
4160
|
device: o
|
|
@@ -4158,22 +4162,22 @@ const jr = (e) => `not ${e}`, Nr = (e, t) => {
|
|
|
4158
4162
|
children: n
|
|
4159
4163
|
}
|
|
4160
4164
|
);
|
|
4161
|
-
},
|
|
4162
|
-
spSelect:
|
|
4163
|
-
spSelect_error:
|
|
4164
|
-
spSelect__control:
|
|
4165
|
-
spSelect__value_empty:
|
|
4166
|
-
spSelect__icon:
|
|
4167
|
-
spSelect__container:
|
|
4168
|
-
spSelect__control_filled:
|
|
4169
|
-
spSelect__control_outlined:
|
|
4170
|
-
spSelect__control_disabled:
|
|
4171
|
-
spSelect__value:
|
|
4172
|
-
spSelect__list:
|
|
4173
|
-
spSelect__list_scrollable:
|
|
4174
|
-
spSelect__option:
|
|
4175
|
-
spSelect__error:
|
|
4176
|
-
},
|
|
4165
|
+
}, qr = 180, Wr = "_spSelect_19w1q_43", $r = "_spSelect_error_19w1q_52", Hr = "_spSelect__control_19w1q_52", Yr = "_spSelect__value_empty_19w1q_56", Vr = "_spSelect__icon_19w1q_59", Ur = "_spSelect__container_19w1q_62", Gr = "_spSelect__control_filled_19w1q_81", Kr = "_spSelect__control_outlined_19w1q_85", Xr = "_spSelect__control_disabled_19w1q_110", Zr = "_spSelect__value_19w1q_56", Qr = "_spSelect__list_19w1q_144", Jr = "_spSelect__list_scrollable_19w1q_151", es = "_spSelect__option_19w1q_154", ts = "_spSelect__error_19w1q_172", xe = {
|
|
4166
|
+
spSelect: Wr,
|
|
4167
|
+
spSelect_error: $r,
|
|
4168
|
+
spSelect__control: Hr,
|
|
4169
|
+
spSelect__value_empty: Yr,
|
|
4170
|
+
spSelect__icon: Vr,
|
|
4171
|
+
spSelect__container: Ur,
|
|
4172
|
+
spSelect__control_filled: Gr,
|
|
4173
|
+
spSelect__control_outlined: Kr,
|
|
4174
|
+
spSelect__control_disabled: Xr,
|
|
4175
|
+
spSelect__value: Zr,
|
|
4176
|
+
spSelect__list: Qr,
|
|
4177
|
+
spSelect__list_scrollable: Jr,
|
|
4178
|
+
spSelect__option: es,
|
|
4179
|
+
spSelect__error: ts
|
|
4180
|
+
}, Fs = (e) => {
|
|
4177
4181
|
const {
|
|
4178
4182
|
options: t,
|
|
4179
4183
|
placeholder: n = "Выберите из списка...",
|
|
@@ -4186,86 +4190,86 @@ const jr = (e) => `not ${e}`, Nr = (e, t) => {
|
|
|
4186
4190
|
label: d,
|
|
4187
4191
|
infoTooltipText: m,
|
|
4188
4192
|
tooltipPosition: c,
|
|
4189
|
-
disabled:
|
|
4190
|
-
required:
|
|
4191
|
-
maxHeightList: E =
|
|
4192
|
-
isVisibleDefaultTitle:
|
|
4193
|
+
disabled: h,
|
|
4194
|
+
required: y,
|
|
4195
|
+
maxHeightList: E = qr,
|
|
4196
|
+
isVisibleDefaultTitle: w = !0,
|
|
4193
4197
|
isScrollableList: N = !1,
|
|
4194
|
-
classNameRoot:
|
|
4198
|
+
classNameRoot: L,
|
|
4195
4199
|
classNameError: Y,
|
|
4196
|
-
classNameLabel:
|
|
4197
|
-
} = e, [
|
|
4200
|
+
classNameLabel: A
|
|
4201
|
+
} = e, [b, p] = pe(!1), T = Te(null);
|
|
4198
4202
|
fn(
|
|
4199
4203
|
[T],
|
|
4200
4204
|
() => {
|
|
4201
4205
|
p(!1);
|
|
4202
4206
|
},
|
|
4203
|
-
|
|
4207
|
+
b
|
|
4204
4208
|
);
|
|
4205
|
-
const D = t.find((X) => X.value === o),
|
|
4209
|
+
const D = t.find((X) => X.value === o), K = (X, f) => {
|
|
4206
4210
|
r(X, { value: f, name: a }), p(!1);
|
|
4207
4211
|
}, Z = () => {
|
|
4208
|
-
|
|
4209
|
-
},
|
|
4210
|
-
[
|
|
4211
|
-
[
|
|
4212
|
-
...
|
|
4213
|
-
}), le = _({
|
|
4214
|
-
[ve.spSelect__container]: !0
|
|
4212
|
+
h || p(!b);
|
|
4213
|
+
}, re = _({
|
|
4214
|
+
[xe.spSelect]: !0,
|
|
4215
|
+
[xe.spSelect_error]: !!u,
|
|
4216
|
+
...L && { [L]: !0 }
|
|
4215
4217
|
}), de = _({
|
|
4216
|
-
[
|
|
4217
|
-
[ve[`spSelect__control_${i}`]]: i,
|
|
4218
|
-
[ve.spSelect__control_disabled]: b
|
|
4218
|
+
[xe.spSelect__container]: !0
|
|
4219
4219
|
}), ue = _({
|
|
4220
|
-
[
|
|
4221
|
-
[
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
[
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
[
|
|
4220
|
+
[xe.spSelect__control]: !0,
|
|
4221
|
+
[xe[`spSelect__control_${i}`]]: i,
|
|
4222
|
+
[xe.spSelect__control_disabled]: h
|
|
4223
|
+
}), me = _({
|
|
4224
|
+
[xe.spSelect__value]: !0,
|
|
4225
|
+
[xe.spSelect__value_empty]: !D
|
|
4226
|
+
}), W = _({
|
|
4227
|
+
[xe.spSelect__icon]: !0
|
|
4228
|
+
}), k = _({
|
|
4229
|
+
[xe.spSelect__list]: !0,
|
|
4230
|
+
[xe.spSelect__list_scrollable]: N
|
|
4231
|
+
}), M = _({
|
|
4232
|
+
...A && { [A]: !0 }
|
|
4233
|
+
}), V = _({
|
|
4234
|
+
[xe.spSelect__error]: !0,
|
|
4231
4235
|
...Y && { [Y]: !0 }
|
|
4232
4236
|
});
|
|
4233
|
-
return /* @__PURE__ */ H("div", { className:
|
|
4237
|
+
return /* @__PURE__ */ H("div", { className: re, ref: T, children: [
|
|
4234
4238
|
d && /* @__PURE__ */ l(
|
|
4235
4239
|
Nt,
|
|
4236
4240
|
{
|
|
4237
|
-
classNameRoot:
|
|
4241
|
+
classNameRoot: M,
|
|
4238
4242
|
tooltipPosition: c,
|
|
4239
|
-
required:
|
|
4243
|
+
required: y,
|
|
4240
4244
|
label: d,
|
|
4241
4245
|
infoTooltipText: m
|
|
4242
4246
|
}
|
|
4243
4247
|
),
|
|
4244
|
-
/* @__PURE__ */ H("div", { className:
|
|
4248
|
+
/* @__PURE__ */ H("div", { className: de, onMouseEnter: s, children: [
|
|
4245
4249
|
/* @__PURE__ */ H(
|
|
4246
4250
|
"div",
|
|
4247
4251
|
{
|
|
4248
4252
|
tabIndex: 0,
|
|
4249
|
-
title:
|
|
4250
|
-
className:
|
|
4253
|
+
title: w ? o : void 0,
|
|
4254
|
+
className: ue,
|
|
4251
4255
|
onClick: Z,
|
|
4252
4256
|
children: [
|
|
4253
|
-
/* @__PURE__ */ l("div", { className:
|
|
4257
|
+
/* @__PURE__ */ l("div", { className: me, children: (D == null ? void 0 : D.label) || n }),
|
|
4254
4258
|
/* @__PURE__ */ l(
|
|
4255
|
-
|
|
4259
|
+
ge,
|
|
4256
4260
|
{
|
|
4257
|
-
name:
|
|
4258
|
-
rotate:
|
|
4259
|
-
className:
|
|
4261
|
+
name: ie.SelectChevronDown,
|
|
4262
|
+
rotate: b ? 180 : void 0,
|
|
4263
|
+
className: W
|
|
4260
4264
|
}
|
|
4261
4265
|
)
|
|
4262
4266
|
]
|
|
4263
4267
|
}
|
|
4264
4268
|
),
|
|
4265
|
-
|
|
4269
|
+
b && /* @__PURE__ */ l(
|
|
4266
4270
|
"div",
|
|
4267
4271
|
{
|
|
4268
|
-
className:
|
|
4272
|
+
className: k,
|
|
4269
4273
|
style: N ? { maxHeight: `${E}px` } : {},
|
|
4270
4274
|
children: t.map((X) => {
|
|
4271
4275
|
const f = X.value === o;
|
|
@@ -4273,12 +4277,12 @@ const jr = (e) => `not ${e}`, Nr = (e, t) => {
|
|
|
4273
4277
|
"div",
|
|
4274
4278
|
{
|
|
4275
4279
|
className: _({
|
|
4276
|
-
[
|
|
4280
|
+
[xe.spSelect__option]: !0
|
|
4277
4281
|
}),
|
|
4278
|
-
onClick: (
|
|
4282
|
+
onClick: (g) => K(g, X.value),
|
|
4279
4283
|
children: [
|
|
4280
4284
|
X.label,
|
|
4281
|
-
f && /* @__PURE__ */ l(
|
|
4285
|
+
f && /* @__PURE__ */ l(ge, { name: ie.Check, className: W })
|
|
4282
4286
|
]
|
|
4283
4287
|
},
|
|
4284
4288
|
X.value
|
|
@@ -4287,63 +4291,73 @@ const jr = (e) => `not ${e}`, Nr = (e, t) => {
|
|
|
4287
4291
|
}
|
|
4288
4292
|
)
|
|
4289
4293
|
] }),
|
|
4290
|
-
u && /* @__PURE__ */ l("div", { className:
|
|
4294
|
+
u && /* @__PURE__ */ l("div", { className: V, children: u })
|
|
4291
4295
|
] });
|
|
4292
|
-
},
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4296
|
+
}, ns = "_skeleton_c18an_44", os = {
|
|
4297
|
+
skeleton: ns
|
|
4298
|
+
}, zs = (e) => {
|
|
4299
|
+
const { width: t = "100%", height: n = "1rem", circle: o = !1, classNameRoot: a = "", style: i = {} } = e, r = {
|
|
4300
|
+
width: t,
|
|
4301
|
+
height: n,
|
|
4302
|
+
borderRadius: o ? "50%" : "0",
|
|
4303
|
+
...i
|
|
4304
|
+
};
|
|
4305
|
+
return /* @__PURE__ */ l("div", { style: r, className: _(a, os.skeleton) });
|
|
4306
|
+
}, as = "_spTable_1wwrq_43", is = "_spTable__tdContentCopyIcon_1wwrq_66", rs = "_spTable__tdContent_1wwrq_66", ss = "_spTable__tdColorContent_1wwrq_76", ps = "_spTable__tdContentCopyIcon_copied_1wwrq_89", cs = "_spTable__emptyPage_1wwrq_93", ls = "_spStringsGroup_1wwrq_109", ds = "_spStringsGroup__groupItem_1wwrq_123", us = "_spStringsGroup__groupItemHeader_1wwrq_138", ms = "_spStringsGroup__groupItemContent_1wwrq_142", fs = "_spStringsGroup__groupItemContentCopyIcon_1wwrq_148", _s = "_spStringsGroup__groupItemContentCopyIcon_copied_1wwrq_155", he = {
|
|
4307
|
+
spTable: as,
|
|
4308
|
+
spTable__tdContentCopyIcon: is,
|
|
4309
|
+
spTable__tdContent: rs,
|
|
4310
|
+
spTable__tdColorContent: ss,
|
|
4311
|
+
spTable__tdContentCopyIcon_copied: ps,
|
|
4312
|
+
spTable__emptyPage: cs,
|
|
4313
|
+
spStringsGroup: ls,
|
|
4314
|
+
spStringsGroup__groupItem: ds,
|
|
4315
|
+
spStringsGroup__groupItemHeader: us,
|
|
4316
|
+
spStringsGroup__groupItemContent: ms,
|
|
4317
|
+
spStringsGroup__groupItemContentCopyIcon: fs,
|
|
4318
|
+
spStringsGroup__groupItemContentCopyIcon_copied: _s
|
|
4319
|
+
}, pn = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, Ms = (e) => {
|
|
4306
4320
|
const {
|
|
4307
4321
|
columns: t,
|
|
4308
4322
|
data: n,
|
|
4309
4323
|
isNotTableOnNotDesktop: o = !1,
|
|
4310
4324
|
classNameRoot: a
|
|
4311
|
-
} = e, i = t.map((
|
|
4312
|
-
...
|
|
4313
|
-
isVisible: n.some((p) => !!p[
|
|
4314
|
-
})).filter((
|
|
4315
|
-
[
|
|
4325
|
+
} = e, i = t.map((b) => ({
|
|
4326
|
+
...b,
|
|
4327
|
+
isVisible: n.some((p) => !!p[b.key])
|
|
4328
|
+
})).filter((b) => b.isVisible), r = _({
|
|
4329
|
+
[he.spTable]: !0,
|
|
4316
4330
|
...a && { [a]: !0 }
|
|
4317
4331
|
}), s = _({
|
|
4318
|
-
[
|
|
4332
|
+
[he.spTable__tdContent]: !0
|
|
4319
4333
|
}), u = _({
|
|
4320
|
-
[
|
|
4334
|
+
[he.spTable__tdColorContent]: !0
|
|
4321
4335
|
}), d = _({
|
|
4322
|
-
[
|
|
4336
|
+
[he.spTable__emptyPage]: !0
|
|
4323
4337
|
}), {
|
|
4324
4338
|
device: { isDesktop: m }
|
|
4325
|
-
} =
|
|
4326
|
-
const { text: p, rowIndex: T, colIndex: D } =
|
|
4339
|
+
} = dn(jn), [c, h] = pe(null), y = (b) => {
|
|
4340
|
+
const { text: p, rowIndex: T, colIndex: D } = b;
|
|
4327
4341
|
(c == null ? void 0 : c.rowIndex) === T && (c == null ? void 0 : c.colIndex) === D || navigator.clipboard.writeText(p).then(() => {
|
|
4328
|
-
|
|
4329
|
-
}).catch((
|
|
4330
|
-
console.error("Ошибка при копировании:",
|
|
4342
|
+
h({ rowIndex: T, colIndex: D });
|
|
4343
|
+
}).catch((K) => {
|
|
4344
|
+
console.error("Ошибка при копировании:", K);
|
|
4331
4345
|
});
|
|
4332
4346
|
}, E = () => {
|
|
4333
|
-
|
|
4334
|
-
},
|
|
4335
|
-
row:
|
|
4347
|
+
h(null);
|
|
4348
|
+
}, w = () => /* @__PURE__ */ l("div", { className: d, children: "Данные отсутствуют" }), N = ({
|
|
4349
|
+
row: b,
|
|
4336
4350
|
col: p
|
|
4337
4351
|
}) => {
|
|
4338
|
-
const T =
|
|
4352
|
+
const T = b[p.key];
|
|
4339
4353
|
if (!T) return null;
|
|
4340
|
-
const [D,
|
|
4354
|
+
const [D, K] = T.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
4341
4355
|
return /* @__PURE__ */ H("span", { children: [
|
|
4342
4356
|
D,
|
|
4343
|
-
|
|
4357
|
+
K && /* @__PURE__ */ l("span", { className: u, children: ` ${K}` })
|
|
4344
4358
|
] });
|
|
4345
|
-
},
|
|
4346
|
-
/* @__PURE__ */ l("colgroup", { children: i.map((
|
|
4359
|
+
}, L = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ H("table", { className: r, children: [
|
|
4360
|
+
/* @__PURE__ */ l("colgroup", { children: i.map((b, p, T) => /* @__PURE__ */ l(
|
|
4347
4361
|
"col",
|
|
4348
4362
|
{
|
|
4349
4363
|
style: {
|
|
@@ -4352,27 +4366,27 @@ const jr = (e) => `not ${e}`, Nr = (e, t) => {
|
|
|
4352
4366
|
},
|
|
4353
4367
|
p
|
|
4354
4368
|
)) }),
|
|
4355
|
-
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: i.map((
|
|
4356
|
-
/* @__PURE__ */ l("tbody", { children: n.map((
|
|
4357
|
-
const
|
|
4369
|
+
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: i.map((b, p) => /* @__PURE__ */ l("th", { children: b.title }, p)) }) }),
|
|
4370
|
+
/* @__PURE__ */ l("tbody", { children: n.map((b, p) => b ? /* @__PURE__ */ l("tr", { children: i.map((T, D) => {
|
|
4371
|
+
const K = (c == null ? void 0 : c.rowIndex) === p && (c == null ? void 0 : c.colIndex) === D;
|
|
4358
4372
|
return /* @__PURE__ */ l(
|
|
4359
4373
|
"td",
|
|
4360
4374
|
{
|
|
4361
|
-
onMouseLeave:
|
|
4375
|
+
onMouseLeave: K ? E : void 0,
|
|
4362
4376
|
children: /* @__PURE__ */ H("div", { className: s, children: [
|
|
4363
|
-
/* @__PURE__ */ l("span", { children: T.isColorContentsCurlyBrackets ? N({ row:
|
|
4364
|
-
!
|
|
4365
|
-
|
|
4377
|
+
/* @__PURE__ */ l("span", { children: T.isColorContentsCurlyBrackets ? N({ row: b, col: T }) : b[T.key] }),
|
|
4378
|
+
!pn(b[T.key]) && T.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4379
|
+
ge,
|
|
4366
4380
|
{
|
|
4367
4381
|
className: _({
|
|
4368
|
-
[
|
|
4369
|
-
[
|
|
4382
|
+
[he.spTable__tdContentCopyIcon]: !0,
|
|
4383
|
+
[he.spTable__tdContentCopyIcon_copied]: K
|
|
4370
4384
|
}),
|
|
4371
|
-
name:
|
|
4385
|
+
name: K ? ie.Check : ie.Copy,
|
|
4372
4386
|
onClick: () => {
|
|
4373
|
-
const Z =
|
|
4387
|
+
const Z = b[T.key];
|
|
4374
4388
|
if (!Z) return null;
|
|
4375
|
-
|
|
4389
|
+
y({
|
|
4376
4390
|
text: Z,
|
|
4377
4391
|
rowIndex: p,
|
|
4378
4392
|
colIndex: D
|
|
@@ -4385,29 +4399,29 @@ const jr = (e) => `not ${e}`, Nr = (e, t) => {
|
|
|
4385
4399
|
`${p}:${D}`
|
|
4386
4400
|
);
|
|
4387
4401
|
}) }, p) : null) })
|
|
4388
|
-
] }) :
|
|
4402
|
+
] }) : w(), Y = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ l(
|
|
4389
4403
|
"div",
|
|
4390
4404
|
{
|
|
4391
4405
|
className: _({
|
|
4392
|
-
[
|
|
4406
|
+
[he.spStringsGroup]: !0
|
|
4393
4407
|
}),
|
|
4394
|
-
children: n.map((
|
|
4395
|
-
if (
|
|
4408
|
+
children: n.map((b, p) => b ? /* @__PURE__ */ l("div", { children: i.map((T, D) => {
|
|
4409
|
+
if (pn(b[T.key]))
|
|
4396
4410
|
return null;
|
|
4397
|
-
const
|
|
4411
|
+
const K = (c == null ? void 0 : c.rowIndex) === p && (c == null ? void 0 : c.colIndex) === D;
|
|
4398
4412
|
return /* @__PURE__ */ H(
|
|
4399
4413
|
"div",
|
|
4400
4414
|
{
|
|
4401
4415
|
className: _({
|
|
4402
|
-
[
|
|
4416
|
+
[he.spStringsGroup__groupItem]: !0
|
|
4403
4417
|
}),
|
|
4404
|
-
onMouseLeave:
|
|
4418
|
+
onMouseLeave: K ? E : void 0,
|
|
4405
4419
|
children: [
|
|
4406
4420
|
/* @__PURE__ */ l(
|
|
4407
4421
|
"div",
|
|
4408
4422
|
{
|
|
4409
4423
|
className: _({
|
|
4410
|
-
[
|
|
4424
|
+
[he.spStringsGroup__groupItemHeader]: !0
|
|
4411
4425
|
}),
|
|
4412
4426
|
children: T.title
|
|
4413
4427
|
}
|
|
@@ -4416,22 +4430,22 @@ const jr = (e) => `not ${e}`, Nr = (e, t) => {
|
|
|
4416
4430
|
"div",
|
|
4417
4431
|
{
|
|
4418
4432
|
className: _({
|
|
4419
|
-
[
|
|
4433
|
+
[he.spStringsGroup__groupItemContent]: !0
|
|
4420
4434
|
}),
|
|
4421
4435
|
children: [
|
|
4422
|
-
/* @__PURE__ */ l("span", { children:
|
|
4436
|
+
/* @__PURE__ */ l("span", { children: b[T.key] }),
|
|
4423
4437
|
T.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4424
|
-
|
|
4438
|
+
ge,
|
|
4425
4439
|
{
|
|
4426
4440
|
className: _({
|
|
4427
|
-
[
|
|
4428
|
-
[
|
|
4441
|
+
[he.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
4442
|
+
[he.spStringsGroup__groupItemContentCopyIcon_copied]: K
|
|
4429
4443
|
}),
|
|
4430
|
-
name:
|
|
4444
|
+
name: K ? ie.Check : ie.Copy,
|
|
4431
4445
|
onClick: () => {
|
|
4432
|
-
const Z =
|
|
4446
|
+
const Z = b[T.key];
|
|
4433
4447
|
if (!Z) return null;
|
|
4434
|
-
|
|
4448
|
+
y({
|
|
4435
4449
|
text: Z,
|
|
4436
4450
|
rowIndex: p,
|
|
4437
4451
|
colIndex: D
|
|
@@ -4448,16 +4462,16 @@ const jr = (e) => `not ${e}`, Nr = (e, t) => {
|
|
|
4448
4462
|
);
|
|
4449
4463
|
}) }, p) : null)
|
|
4450
4464
|
}
|
|
4451
|
-
) :
|
|
4452
|
-
return o ? m ?
|
|
4453
|
-
},
|
|
4454
|
-
spTabs:
|
|
4455
|
-
spTabs_separated:
|
|
4456
|
-
spTabs__tabElement:
|
|
4457
|
-
spTabs__tabElement_active:
|
|
4458
|
-
spTabs__triggerTooltip:
|
|
4459
|
-
spTabs__tabElement_separated:
|
|
4460
|
-
},
|
|
4465
|
+
) : w();
|
|
4466
|
+
return o ? m ? L() : Y() : L();
|
|
4467
|
+
}, vs = "_spTabs_4bnra_43", xs = "_spTabs_separated_4bnra_54", gs = "_spTabs__tabElement_4bnra_58", hs = "_spTabs__tabElement_active_4bnra_75", bs = "_spTabs__triggerTooltip_4bnra_82", ys = "_spTabs__tabElement_separated_4bnra_85", Oe = {
|
|
4468
|
+
spTabs: vs,
|
|
4469
|
+
spTabs_separated: xs,
|
|
4470
|
+
spTabs__tabElement: gs,
|
|
4471
|
+
spTabs__tabElement_active: hs,
|
|
4472
|
+
spTabs__triggerTooltip: bs,
|
|
4473
|
+
spTabs__tabElement_separated: ys
|
|
4474
|
+
}, Bs = (e) => {
|
|
4461
4475
|
const { panes: t, isSeparated: n = !1, classNameRoot: o } = e, a = _({
|
|
4462
4476
|
[Oe.spTabs]: !0,
|
|
4463
4477
|
[Oe.spTabs_separated]: n,
|
|
@@ -4490,45 +4504,46 @@ const jr = (e) => `not ${e}`, Nr = (e, t) => {
|
|
|
4490
4504
|
r.key || s
|
|
4491
4505
|
);
|
|
4492
4506
|
}) });
|
|
4493
|
-
},
|
|
4494
|
-
spTextWithLabel:
|
|
4495
|
-
},
|
|
4507
|
+
}, ws = "_spTextWithLabel_1xbk1_1", ks = {
|
|
4508
|
+
spTextWithLabel: ws
|
|
4509
|
+
}, qs = (e) => {
|
|
4496
4510
|
const { children: t, label: n, style: o, ...a } = e;
|
|
4497
|
-
return /* @__PURE__ */ H("div", { className:
|
|
4511
|
+
return /* @__PURE__ */ H("div", { className: ks.spTextWithLabel, style: { ...o }, children: [
|
|
4498
4512
|
/* @__PURE__ */ l(Nt, { label: n }),
|
|
4499
4513
|
/* @__PURE__ */ l(Se, { ...a, children: t })
|
|
4500
4514
|
] });
|
|
4501
4515
|
};
|
|
4502
4516
|
export {
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4517
|
+
Ss as Accordion,
|
|
4518
|
+
zo as ApplyButtons,
|
|
4519
|
+
mn as BaseTooltip,
|
|
4506
4520
|
yt as Button,
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4521
|
+
Is as Checkbox,
|
|
4522
|
+
Ns as Confirm,
|
|
4523
|
+
Rs as ContextMenu,
|
|
4524
|
+
yi as DefaultDropzone,
|
|
4525
|
+
As as Dropdown,
|
|
4526
|
+
ie as EIconName,
|
|
4527
|
+
ae as ETooltipPosition,
|
|
4514
4528
|
Ai as EllipsisTextWithTooltip,
|
|
4515
|
-
|
|
4516
|
-
|
|
4529
|
+
Ds as Form,
|
|
4530
|
+
ge as Icon,
|
|
4517
4531
|
Qe as InfoTooltip,
|
|
4518
|
-
|
|
4519
|
-
|
|
4532
|
+
Xi as Input,
|
|
4533
|
+
Os as InputFiles,
|
|
4520
4534
|
Nt as Label,
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4535
|
+
na as Layer,
|
|
4536
|
+
jn as MediaContext,
|
|
4537
|
+
Ps as MediaContextProvider,
|
|
4538
|
+
fa as Modal,
|
|
4539
|
+
_n as Portal,
|
|
4540
|
+
Fs as Select,
|
|
4541
|
+
zs as Skeleton,
|
|
4542
|
+
yo as Spinner,
|
|
4543
|
+
Ms as Table,
|
|
4544
|
+
Bs as Tabs,
|
|
4530
4545
|
Se as Text,
|
|
4531
|
-
|
|
4546
|
+
qs as TextWithLabel,
|
|
4532
4547
|
It as Tooltip,
|
|
4533
|
-
|
|
4548
|
+
js as useModal
|
|
4534
4549
|
};
|