test-stpr-ui-kit 0.5.4 → 0.5.6
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 +15 -0
- package/dist/test-stpr-ui-kit.js +1239 -1202
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as P, jsx as c, Fragment as jt } from "react/jsx-runtime";
|
|
2
2
|
import * as C from "react";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import './test-stpr-ui-kit.css';function
|
|
3
|
+
import $e, { useState as ee, useEffect as re, useRef as de, useCallback as xe, useLayoutEffect as xo, createContext as ho, useContext as Zo, useMemo as De, useReducer as Qo, forwardRef as Jo, useImperativeHandle as en, Fragment as tn } from "react";
|
|
4
|
+
import on from "react-dom";
|
|
5
|
+
import './test-stpr-ui-kit.css';function bo(e) {
|
|
6
6
|
var t, o, n = "";
|
|
7
7
|
if (typeof e == "string" || typeof e == "number") n += 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] && (o =
|
|
10
|
+
for (t = 0; t < a; t++) e[t] && (o = bo(e[t])) && (n && (n += " "), n += o);
|
|
11
11
|
} else for (o in e) e[o] && (n && (n += " "), n += o);
|
|
12
12
|
return n;
|
|
13
13
|
}
|
|
14
14
|
function f() {
|
|
15
|
-
for (var e, t, o = 0, n = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (t =
|
|
15
|
+
for (var e, t, o = 0, n = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (t = bo(e)) && (n && (n += " "), n += t);
|
|
16
16
|
return n;
|
|
17
17
|
}
|
|
18
|
-
const on = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M10.4058 21.6H5.6058C4.28031 21.6 3.2058 20.5254 3.20581 19.2L3.2059 4.80001C3.20591 3.47453 4.28043 2.40002 5.6059 2.40002H16.4062C17.7317 2.40002 18.8062 3.47454 18.8062 4.80002V11.4M17.3999 21.1882V17.7941M17.3999 17.7941V14.4M17.3999 17.7941L14.0058 17.7941M17.3999 17.7941L20.794 17.7941M7.40619 7.20002H14.6062M7.40619 10.8H14.6062M7.40619 14.4H11.0062", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), nn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12.5 15.5H8C6.60444 15.5 5.90665 15.5 5.33886 15.6722C4.06045 16.06 3.06004 17.0605 2.67224 18.3389C2.5 18.9067 2.5 19.6044 2.5 21M19.5 21V15M16.5 18H22.5M15 7.5C15 9.98528 12.9853 12 10.5 12C8.01472 12 6 9.98528 6 7.5C6 5.01472 8.01472 3 10.5 3C12.9853 3 15 5.01472 15 7.5Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), an = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), rn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), sn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 21 22", fill: "none", ...e }, /* @__PURE__ */ C.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(0.680234 -0.732995 -0.680234 -0.732995 3 18)", stroke: "currentColor", strokeWidth: 2 }), /* @__PURE__ */ C.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18 18)", stroke: "currentColor", strokeWidth: 2 })), pn = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.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" })), ln = (e) => /* @__PURE__ */ C.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__ */ C.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ C.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ C.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), cn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M19.5 14V17.3333C19.5 17.7754 19.3244 18.1993 19.0118 18.5118C18.6993 18.8244 18.2754 19 17.8333 19H6.16667C5.72464 19 5.30072 18.8244 4.98816 18.5118C4.67559 18.1993 4.5 17.7754 4.5 17.3333V14", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M7.83325 9.83333L11.9999 14L16.1666 9.83333", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M12 14V3.99995", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), dn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M13.9487 6.9516L17.5487 10.5516M4.94873 19.5516L9.31472 18.6719C9.54649 18.6252 9.75931 18.511 9.92645 18.3438L19.7001 8.56478C20.1687 8.09593 20.1684 7.33594 19.6994 6.86748L17.629 4.7994C17.1602 4.33113 16.4006 4.33145 15.9322 4.80011L6.15749 14.5802C5.99068 14.7471 5.87678 14.9595 5.83003 15.1908L4.94873 19.5516Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), mn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M14.125 0V11.2002C14.1251 11.4762 14.3489 11.7002 14.625 11.7002H26V28.7998C26 29.6485 25.6573 30.4624 25.0479 31.0625C24.4384 31.6626 23.612 32 22.75 32H3.25C2.38805 32 1.56164 31.6626 0.952148 31.0625C0.342655 30.4624 0 29.6485 0 28.7998V3.2002C0 2.3515 0.342655 1.53762 0.952148 0.9375C1.56164 0.337386 2.38805 0 3.25 0H14.125ZM25.4922 10.7002H15.125V0.492188L25.4922 10.7002Z", fill: "currentColor" })), un = (e) => /* @__PURE__ */ C.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__ */ C.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" })), _n = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), fn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M16 0.5C24.5604 0.5 31.5 7.43959 31.5 16C31.5 24.5604 24.5604 31.5 16 31.5C7.43959 31.5 0.5 24.5604 0.5 16C0.5 7.43959 7.43959 0.5 16 0.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M16 22.4V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M16 9.59961H16.016", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), vn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12 15L15 12M15 12L12 9M15 12H4M9 7.24859V7.2002C9 6.08009 9 5.51962 9.21799 5.0918C9.40973 4.71547 9.71547 4.40973 10.0918 4.21799C10.5196 4 11.0801 4 12.2002 4H16.8002C17.9203 4 18.4796 4 18.9074 4.21799C19.2837 4.40973 19.5905 4.71547 19.7822 5.0918C20 5.5192 20 6.07899 20 7.19691V16.8036C20 17.9215 20 18.4805 19.7822 18.9079C19.5905 19.2842 19.2837 19.5905 18.9074 19.7822C18.48 20 17.921 20 16.8031 20H12.1969C11.079 20 10.5192 20 10.0918 19.7822C9.71547 19.5905 9.40973 19.2839 9.21799 18.9076C9 18.4798 9 17.9201 9 16.8V16.75", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), gn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), xn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), hn = (e) => /* @__PURE__ */ C.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__ */ C.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" })), bn = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), yn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M4.5 10.2222C4.5 10.2222 6.18841 7.79397 7.56007 6.34511C8.93174 4.89624 10.8272 4 12.9211 4C17.1068 4 20.5 7.58172 20.5 12C20.5 16.4183 17.1068 20 12.9211 20C9.46582 20 6.55062 17.5594 5.63833 14.2222M4.5 10.2222V4.88889M4.5 10.2222H9.55263", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), wn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M16.4444 20L7.55556 19.9998M16.4444 20L17.1583 19.9998C18.152 19.9998 18.6489 19.9998 19.0288 19.8063C19.3633 19.6358 19.636 19.3637 19.8064 19.0292C20 18.6493 20 18.1519 20 17.1582V9.52843C20 9.12948 20 8.92902 19.9575 8.73866C19.9195 8.56884 19.8571 8.40575 19.7717 8.25413C19.677 8.08595 19.544 7.93822 19.2826 7.64777L16.8335 4.92658C16.5306 4.58998 16.377 4.41938 16.1927 4.29687C16.0269 4.18667 15.8438 4.10541 15.6509 4.05588C15.4333 4 15.1998 4 14.7334 4H6.84462C5.84897 4 5.35077 4 4.97049 4.19376C4.63598 4.3642 4.36421 4.63597 4.19377 4.97048C4 5.35076 4 5.84895 4 6.84459V17.1556C4 18.1512 4 18.6484 4.19377 19.0286C4.36421 19.3631 4.63598 19.6358 4.97049 19.8063C5.3504 19.9998 5.84799 19.9998 6.8417 19.9998H7.55556M16.4444 20V16.6193C16.4444 15.6256 16.4444 15.1281 16.2509 14.7481C16.0804 14.4136 15.8077 14.1419 15.4732 13.9714C15.093 13.7777 14.5958 13.7777 13.6002 13.7777H10.4002C9.40452 13.7777 8.90633 13.7777 8.52604 13.9714C8.19153 14.1419 7.91976 14.4136 7.74932 14.7481C7.55556 15.1284 7.55556 15.6266 7.55556 16.6223V19.9998M14.6667 7.55552H9.33333", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Cn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), kn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 17 17", fill: "none", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M4.88889 10.6667L7.05556 8.5L4.88889 6.33333M9.22222 10.6667H12.1111M5.46667 15H11.5333C12.7468 15 13.3535 15 13.817 14.7638C14.2247 14.5561 14.5561 14.2247 14.7638 13.817C15 13.3535 15 12.7468 15 11.5333V5.46667C15 4.25322 15 3.6465 14.7638 3.18302C14.5561 2.77534 14.2247 2.44388 13.817 2.23615C13.3535 2 12.7468 2 11.5333 2H5.46667C4.25322 2 3.6465 2 3.18302 2.23615C2.77534 2.44388 2.44388 2.77534 2.23615 3.18302C2 3.6465 2 4.25322 2 5.46667V11.5333C2 12.7468 2 13.3535 2.23615 13.817C2.44388 14.2247 2.77534 14.5561 3.18302 14.7638C3.6465 15 4.25322 15 5.46667 15Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Tn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Nn = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), En = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ C.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ C.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ C.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" }));
|
|
19
|
-
var
|
|
20
|
-
const
|
|
18
|
+
const nn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M10.4058 21.6H5.6058C4.28031 21.6 3.2058 20.5254 3.20581 19.2L3.2059 4.80001C3.20591 3.47453 4.28043 2.40002 5.6059 2.40002H16.4062C17.7317 2.40002 18.8062 3.47454 18.8062 4.80002V11.4M17.3999 21.1882V17.7941M17.3999 17.7941V14.4M17.3999 17.7941L14.0058 17.7941M17.3999 17.7941L20.794 17.7941M7.40619 7.20002H14.6062M7.40619 10.8H14.6062M7.40619 14.4H11.0062", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), an = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12.5 15.5H8C6.60444 15.5 5.90665 15.5 5.33886 15.6722C4.06045 16.06 3.06004 17.0605 2.67224 18.3389C2.5 18.9067 2.5 19.6044 2.5 21M19.5 21V15M16.5 18H22.5M15 7.5C15 9.98528 12.9853 12 10.5 12C8.01472 12 6 9.98528 6 7.5C6 5.01472 8.01472 3 10.5 3C12.9853 3 15 5.01472 15 7.5Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), rn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), sn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), ln = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 21 22", fill: "none", ...e }, /* @__PURE__ */ C.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(0.680234 -0.732995 -0.680234 -0.732995 3 18)", stroke: "currentColor", strokeWidth: 2 }), /* @__PURE__ */ C.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18 18)", stroke: "currentColor", strokeWidth: 2 })), pn = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.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" })), cn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ C.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ C.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), dn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M19.5 14V17.3333C19.5 17.7754 19.3244 18.1993 19.0118 18.5118C18.6993 18.8244 18.2754 19 17.8333 19H6.16667C5.72464 19 5.30072 18.8244 4.98816 18.5118C4.67559 18.1993 4.5 17.7754 4.5 17.3333V14", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M7.83325 9.83333L11.9999 14L16.1666 9.83333", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M12 14V3.99995", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), mn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M13.9487 6.9516L17.5487 10.5516M4.94873 19.5516L9.31472 18.6719C9.54649 18.6252 9.75931 18.511 9.92645 18.3438L19.7001 8.56478C20.1687 8.09593 20.1684 7.33594 19.6994 6.86748L17.629 4.7994C17.1602 4.33113 16.4006 4.33145 15.9322 4.80011L6.15749 14.5802C5.99068 14.7471 5.87678 14.9595 5.83003 15.1908L4.94873 19.5516Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), un = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M14.125 0V11.2002C14.1251 11.4762 14.3489 11.7002 14.625 11.7002H26V28.7998C26 29.6485 25.6573 30.4624 25.0479 31.0625C24.4384 31.6626 23.612 32 22.75 32H3.25C2.38805 32 1.56164 31.6626 0.952148 31.0625C0.342655 30.4624 0 29.6485 0 28.7998V3.2002C0 2.3515 0.342655 1.53762 0.952148 0.9375C1.56164 0.337386 2.38805 0 3.25 0H14.125ZM25.4922 10.7002H15.125V0.492188L25.4922 10.7002Z", fill: "currentColor" })), _n = (e) => /* @__PURE__ */ C.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__ */ C.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" })), fn = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), vn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M16 0.5C24.5604 0.5 31.5 7.43959 31.5 16C31.5 24.5604 24.5604 31.5 16 31.5C7.43959 31.5 0.5 24.5604 0.5 16C0.5 7.43959 7.43959 0.5 16 0.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M16 22.4V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M16 9.59961H16.016", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), gn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12 15L15 12M15 12L12 9M15 12H4M9 7.24859V7.2002C9 6.08009 9 5.51962 9.21799 5.0918C9.40973 4.71547 9.71547 4.40973 10.0918 4.21799C10.5196 4 11.0801 4 12.2002 4H16.8002C17.9203 4 18.4796 4 18.9074 4.21799C19.2837 4.40973 19.5905 4.71547 19.7822 5.0918C20 5.5192 20 6.07899 20 7.19691V16.8036C20 17.9215 20 18.4805 19.7822 18.9079C19.5905 19.2842 19.2837 19.5905 18.9074 19.7822C18.48 20 17.921 20 16.8031 20H12.1969C11.079 20 10.5192 20 10.0918 19.7822C9.71547 19.5905 9.40973 19.2839 9.21799 18.9076C9 18.4798 9 17.9201 9 16.8V16.75", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), xn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), hn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), bn = (e) => /* @__PURE__ */ C.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__ */ C.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" })), yn = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), wn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M4.5 10.2222C4.5 10.2222 6.18841 7.79397 7.56007 6.34511C8.93174 4.89624 10.8272 4 12.9211 4C17.1068 4 20.5 7.58172 20.5 12C20.5 16.4183 17.1068 20 12.9211 20C9.46582 20 6.55062 17.5594 5.63833 14.2222M4.5 10.2222V4.88889M4.5 10.2222H9.55263", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Cn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M16.4444 20L7.55556 19.9998M16.4444 20L17.1583 19.9998C18.152 19.9998 18.6489 19.9998 19.0288 19.8063C19.3633 19.6358 19.636 19.3637 19.8064 19.0292C20 18.6493 20 18.1519 20 17.1582V9.52843C20 9.12948 20 8.92902 19.9575 8.73866C19.9195 8.56884 19.8571 8.40575 19.7717 8.25413C19.677 8.08595 19.544 7.93822 19.2826 7.64777L16.8335 4.92658C16.5306 4.58998 16.377 4.41938 16.1927 4.29687C16.0269 4.18667 15.8438 4.10541 15.6509 4.05588C15.4333 4 15.1998 4 14.7334 4H6.84462C5.84897 4 5.35077 4 4.97049 4.19376C4.63598 4.3642 4.36421 4.63597 4.19377 4.97048C4 5.35076 4 5.84895 4 6.84459V17.1556C4 18.1512 4 18.6484 4.19377 19.0286C4.36421 19.3631 4.63598 19.6358 4.97049 19.8063C5.3504 19.9998 5.84799 19.9998 6.8417 19.9998H7.55556M16.4444 20V16.6193C16.4444 15.6256 16.4444 15.1281 16.2509 14.7481C16.0804 14.4136 15.8077 14.1419 15.4732 13.9714C15.093 13.7777 14.5958 13.7777 13.6002 13.7777H10.4002C9.40452 13.7777 8.90633 13.7777 8.52604 13.9714C8.19153 14.1419 7.91976 14.4136 7.74932 14.7481C7.55556 15.1284 7.55556 15.6266 7.55556 16.6223V19.9998M14.6667 7.55552H9.33333", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), kn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), Tn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 17 17", fill: "none", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M4.88889 10.6667L7.05556 8.5L4.88889 6.33333M9.22222 10.6667H12.1111M5.46667 15H11.5333C12.7468 15 13.3535 15 13.817 14.7638C14.2247 14.5561 14.5561 14.2247 14.7638 13.817C15 13.3535 15 12.7468 15 11.5333V5.46667C15 4.25322 15 3.6465 14.7638 3.18302C14.5561 2.77534 14.2247 2.44388 13.817 2.23615C13.3535 2 12.7468 2 11.5333 2H5.46667C4.25322 2 3.6465 2 3.18302 2.23615C2.77534 2.44388 2.44388 2.77534 2.23615 3.18302C2 3.6465 2 4.25322 2 5.46667V11.5333C2 12.7468 2 13.3535 2.23615 13.817C2.44388 14.2247 2.77534 14.5561 3.18302 14.7638C3.6465 15 4.25322 15 5.46667 15Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Nn = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), En = (e) => /* @__PURE__ */ C.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__ */ C.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__ */ C.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), In = (e) => /* @__PURE__ */ C.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__ */ C.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ C.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ C.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ C.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" }));
|
|
19
|
+
var D = /* @__PURE__ */ ((e) => (e.ChevronDown = "chevronDown", e.Info = "info", e.Plus = "plus", e.SelectChevronDown = "selectChevronDown", e.Upload = "upload", e.Trash = "trash", e.Check = "check", e.Copy = "copy", e.Close = "close", e.PlusSquare = "plusSquare", e.PlusCircle = "plusCircle", e.WarningColor = "warningColor", e.Dots = "dots", e.HistoryClock = "historyClock", e.Minus = "minus", e.TerminalSquare = "terminalSquare", e.File = "file", e.InfoError = "infoError", e.Save = "save", e.Refresh = "refresh", e.Logout = "logout", e.Edit = "edit", e.Download = "download", e.AddUser = "addUser", e.AddFile = "addFile", e))(D || {});
|
|
20
|
+
const me = (e) => {
|
|
21
21
|
const { name: t, rotate: o, ...n } = e, a = {
|
|
22
|
-
...n
|
|
22
|
+
...n,
|
|
23
23
|
transform: o ? `rotate(${o}deg)` : ""
|
|
24
24
|
}, i = {
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
[
|
|
41
|
-
[
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
46
|
-
[
|
|
47
|
-
[
|
|
48
|
-
[
|
|
49
|
-
[
|
|
25
|
+
[D.ChevronDown]: sn,
|
|
26
|
+
[D.Info]: fn,
|
|
27
|
+
[D.Plus]: hn,
|
|
28
|
+
[D.Minus]: xn,
|
|
29
|
+
[D.SelectChevronDown]: kn,
|
|
30
|
+
[D.Upload]: En,
|
|
31
|
+
[D.Trash]: Nn,
|
|
32
|
+
[D.Check]: rn,
|
|
33
|
+
[D.Copy]: pn,
|
|
34
|
+
[D.Close]: ln,
|
|
35
|
+
[D.PlusSquare]: yn,
|
|
36
|
+
[D.WarningColor]: In,
|
|
37
|
+
[D.Dots]: cn,
|
|
38
|
+
[D.HistoryClock]: _n,
|
|
39
|
+
[D.PlusCircle]: bn,
|
|
40
|
+
[D.TerminalSquare]: Tn,
|
|
41
|
+
[D.File]: un,
|
|
42
|
+
[D.InfoError]: vn,
|
|
43
|
+
[D.AddFile]: nn,
|
|
44
|
+
[D.AddUser]: an,
|
|
45
|
+
[D.Download]: dn,
|
|
46
|
+
[D.Edit]: mn,
|
|
47
|
+
[D.Refresh]: wn,
|
|
48
|
+
[D.Logout]: gn,
|
|
49
|
+
[D.Save]: Cn
|
|
50
50
|
};
|
|
51
|
-
return
|
|
51
|
+
return $e.createElement(i[t], {
|
|
52
52
|
...n,
|
|
53
53
|
style: a
|
|
54
54
|
});
|
|
55
|
-
}, Sn = "_spAccordion_14avc_43",
|
|
55
|
+
}, Sn = "_spAccordion_14avc_43", Ln = "_spAccordion_noBorder_14avc_60", Rn = "_spAccordion_noPadding_14avc_63", Fn = "_spAccordion_open_14avc_66", An = "_spAccordion__header_14avc_69", jn = "_spAccordion_noOpen_14avc_88", Bn = "_spAccordion__name_14avc_99", Dn = "_spAccordion__name_hiddenExpand_14avc_110", Mn = "_spAccordion__icon_14avc_125", zn = "_spAccordion__icon_hidden_14avc_131", Pn = "_spAccordion__icon_open_14avc_134", On = "_spAccordion__childrenWrapper_14avc_141", Wn = "_spAccordion__childrenWrapper_open_14avc_150", Un = "_spAccordion__content_14avc_153", qn = "_spAccordion__content_open_14avc_159", ce = {
|
|
56
56
|
spAccordion: Sn,
|
|
57
|
-
spAccordion_noBorder:
|
|
58
|
-
spAccordion_noPadding:
|
|
59
|
-
spAccordion_open:
|
|
60
|
-
spAccordion__header:
|
|
61
|
-
spAccordion_noOpen:
|
|
62
|
-
spAccordion__name:
|
|
57
|
+
spAccordion_noBorder: Ln,
|
|
58
|
+
spAccordion_noPadding: Rn,
|
|
59
|
+
spAccordion_open: Fn,
|
|
60
|
+
spAccordion__header: An,
|
|
61
|
+
spAccordion_noOpen: jn,
|
|
62
|
+
spAccordion__name: Bn,
|
|
63
63
|
spAccordion__name_hiddenExpand: Dn,
|
|
64
64
|
"spAccordion__name--level-1": "_spAccordion__name--level-1_14avc_114",
|
|
65
65
|
"spAccordion__name--level-2": "_spAccordion__name--level-2_14avc_117",
|
|
66
66
|
spAccordion__icon: Mn,
|
|
67
|
-
spAccordion__icon_hidden:
|
|
67
|
+
spAccordion__icon_hidden: zn,
|
|
68
68
|
spAccordion__icon_open: Pn,
|
|
69
|
-
spAccordion__childrenWrapper:
|
|
70
|
-
spAccordion__childrenWrapper_open:
|
|
71
|
-
spAccordion__content:
|
|
72
|
-
spAccordion__content_open:
|
|
73
|
-
},
|
|
69
|
+
spAccordion__childrenWrapper: On,
|
|
70
|
+
spAccordion__childrenWrapper_open: Wn,
|
|
71
|
+
spAccordion__content: Un,
|
|
72
|
+
spAccordion__content_open: qn
|
|
73
|
+
}, $l = (e) => {
|
|
74
74
|
const {
|
|
75
75
|
name: t,
|
|
76
76
|
children: o,
|
|
@@ -79,8 +79,8 @@ const ve = (e) => {
|
|
|
79
79
|
onOpen: i,
|
|
80
80
|
noBorder: r = !1,
|
|
81
81
|
noPadding: s = !1,
|
|
82
|
-
level:
|
|
83
|
-
classNameRoot:
|
|
82
|
+
level: l = 1,
|
|
83
|
+
classNameRoot: p,
|
|
84
84
|
classNameHeader: d,
|
|
85
85
|
classNameTitle: u,
|
|
86
86
|
classNameIcon: g,
|
|
@@ -93,13 +93,13 @@ const ve = (e) => {
|
|
|
93
93
|
[ce.spAccordion_noOpen]: !x,
|
|
94
94
|
[ce.spAccordion_noBorder]: r,
|
|
95
95
|
[ce.spAccordion_noPadding]: s,
|
|
96
|
-
...
|
|
96
|
+
...p && { [p]: !0 }
|
|
97
97
|
}), U = f({
|
|
98
98
|
[ce.spAccordion__header]: !0,
|
|
99
99
|
...d && { [d]: !0 }
|
|
100
100
|
}), F = f({
|
|
101
101
|
[ce.spAccordion__name]: !0,
|
|
102
|
-
[ce[`spAccordion__name--level-${
|
|
102
|
+
[ce[`spAccordion__name--level-${l}`]]: l,
|
|
103
103
|
[ce.spAccordion__name_hiddenExpand]: a,
|
|
104
104
|
...u && { [u]: !0 }
|
|
105
105
|
}), y = f({
|
|
@@ -115,47 +115,47 @@ const ve = (e) => {
|
|
|
115
115
|
[ce.spAccordion__content]: !0,
|
|
116
116
|
[ce.spAccordion__content_open]: x
|
|
117
117
|
});
|
|
118
|
-
return /* @__PURE__ */
|
|
119
|
-
/* @__PURE__ */
|
|
118
|
+
return /* @__PURE__ */ P("div", { className: A, children: [
|
|
119
|
+
/* @__PURE__ */ P("div", { className: U, children: [
|
|
120
120
|
/* @__PURE__ */ c("div", { className: F, children: /* @__PURE__ */ c("span", { onClick: R, children: t }) }),
|
|
121
|
-
/* @__PURE__ */ c(
|
|
121
|
+
/* @__PURE__ */ c(me, { onClick: R, className: y, name: D.ChevronDown })
|
|
122
122
|
] }),
|
|
123
123
|
/* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c("div", { className: N, children: o }) })
|
|
124
124
|
] });
|
|
125
|
-
},
|
|
126
|
-
spinner:
|
|
125
|
+
}, $n = "_spinner_16mxl_43", Wt = {
|
|
126
|
+
spinner: $n,
|
|
127
127
|
"spinner-rotate": "_spinner-rotate_16mxl_1",
|
|
128
128
|
"spinner-clip": "_spinner-clip_16mxl_1",
|
|
129
129
|
"spinner--sm": "_spinner--sm_16mxl_62",
|
|
130
130
|
"spinner--md": "_spinner--md_16mxl_66",
|
|
131
131
|
"spinner--lg": "_spinner--lg_16mxl_70",
|
|
132
132
|
"spinner--xl": "_spinner--xl_16mxl_74"
|
|
133
|
-
},
|
|
133
|
+
}, Bt = (e) => {
|
|
134
134
|
const { size: t = "md", color: o = "#036bfd", classNameRoot: n } = e;
|
|
135
135
|
return /* @__PURE__ */ c(
|
|
136
136
|
"div",
|
|
137
137
|
{
|
|
138
|
-
className: f(
|
|
138
|
+
className: f(Wt.spinner, Wt[`spinner--${t}`], n),
|
|
139
139
|
"aria-label": "Loading",
|
|
140
140
|
role: "status",
|
|
141
141
|
style: { color: o }
|
|
142
142
|
}
|
|
143
143
|
);
|
|
144
|
-
},
|
|
145
|
-
spButton:
|
|
146
|
-
spButton_noPadding:
|
|
147
|
-
spButton_onlyIcon:
|
|
148
|
-
spButton_link:
|
|
149
|
-
spButton__text:
|
|
150
|
-
spButton_white:
|
|
151
|
-
spButton_primary:
|
|
152
|
-
spButton_blue:
|
|
153
|
-
spButton_secondary:
|
|
154
|
-
spButton_fullWidth:
|
|
155
|
-
spButton_disabled:
|
|
156
|
-
spButton__spinner:
|
|
157
|
-
spButton__iconContainer:
|
|
158
|
-
},
|
|
144
|
+
}, Hn = "_spButton_108ra_43", Vn = "_spButton_noPadding_108ra_63", Yn = "_spButton_onlyIcon_108ra_66", Gn = "_spButton_link_108ra_74", Kn = "_spButton__text_108ra_78", Xn = "_spButton_white_108ra_90", Zn = "_spButton_primary_108ra_93", Qn = "_spButton_blue_108ra_93", Jn = "_spButton_secondary_108ra_113", ea = "_spButton_fullWidth_108ra_133", ta = "_spButton_disabled_108ra_136", oa = "_spButton__spinner_108ra_145", na = "_spButton__iconContainer_108ra_159", we = {
|
|
145
|
+
spButton: Hn,
|
|
146
|
+
spButton_noPadding: Vn,
|
|
147
|
+
spButton_onlyIcon: Yn,
|
|
148
|
+
spButton_link: Gn,
|
|
149
|
+
spButton__text: Kn,
|
|
150
|
+
spButton_white: Xn,
|
|
151
|
+
spButton_primary: Zn,
|
|
152
|
+
spButton_blue: Qn,
|
|
153
|
+
spButton_secondary: Jn,
|
|
154
|
+
spButton_fullWidth: ea,
|
|
155
|
+
spButton_disabled: ta,
|
|
156
|
+
spButton__spinner: oa,
|
|
157
|
+
spButton__iconContainer: na
|
|
158
|
+
}, tt = (e) => {
|
|
159
159
|
const {
|
|
160
160
|
color: t = "blue",
|
|
161
161
|
variant: o = "primary",
|
|
@@ -164,8 +164,8 @@ const ve = (e) => {
|
|
|
164
164
|
iconName: i,
|
|
165
165
|
icon: r,
|
|
166
166
|
iconRotate: s = 0,
|
|
167
|
-
disabled:
|
|
168
|
-
type:
|
|
167
|
+
disabled: l = !1,
|
|
168
|
+
type: p = "button",
|
|
169
169
|
form: d,
|
|
170
170
|
children: u,
|
|
171
171
|
loading: g = !1,
|
|
@@ -173,28 +173,30 @@ const ve = (e) => {
|
|
|
173
173
|
isOnlyIcon: x = !1,
|
|
174
174
|
noPadding: w = !1,
|
|
175
175
|
classNameRoot: R,
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
[we.spButton__iconContainer]: !0,
|
|
176
|
+
classNameTextRoot: A,
|
|
177
|
+
classNameIconContainerRoot: U
|
|
178
|
+
} = e, F = (N) => {
|
|
179
|
+
l || a == null || a(N);
|
|
180
|
+
}, y = () => {
|
|
181
|
+
const N = f({
|
|
182
|
+
[we.spButton__text]: !0,
|
|
184
183
|
...A && { [A]: !0 }
|
|
184
|
+
}), O = f({
|
|
185
|
+
[we.spButton__iconContainer]: !0,
|
|
186
|
+
...U && { [U]: !0 }
|
|
185
187
|
});
|
|
186
|
-
return /* @__PURE__ */
|
|
187
|
-
(r || i || g) && /* @__PURE__ */ c("div", { className:
|
|
188
|
-
!x && u && /* @__PURE__ */ c("div", { className:
|
|
188
|
+
return /* @__PURE__ */ P(jt, { children: [
|
|
189
|
+
(r || i || g) && /* @__PURE__ */ c("div", { className: O, children: g ? /* @__PURE__ */ c(Bt, { size: "md", classNameRoot: we.spButton__spinner }) : i ? /* @__PURE__ */ c(me, { name: i, rotate: s }) : r || null }),
|
|
190
|
+
!x && u && /* @__PURE__ */ c("div", { className: N, children: u })
|
|
189
191
|
] });
|
|
190
|
-
},
|
|
192
|
+
}, m = f({
|
|
191
193
|
[we.spButton]: !0,
|
|
192
194
|
[we.spButton_noPadding]: w,
|
|
193
195
|
[we.spButton_onlyIcon]: x,
|
|
194
196
|
[we[`spButton_${o}`]]: o,
|
|
195
197
|
[we[`spButton_${t}`]]: t,
|
|
196
198
|
[we.spButton_fullWidth]: h,
|
|
197
|
-
[we.spButton_disabled]:
|
|
199
|
+
[we.spButton_disabled]: l,
|
|
198
200
|
[we.spButton_loading]: g,
|
|
199
201
|
...R && { [R]: !0 }
|
|
200
202
|
});
|
|
@@ -202,24 +204,24 @@ const ve = (e) => {
|
|
|
202
204
|
"button",
|
|
203
205
|
{
|
|
204
206
|
style: n,
|
|
205
|
-
className:
|
|
206
|
-
onClick:
|
|
207
|
-
disabled:
|
|
208
|
-
type:
|
|
207
|
+
className: m,
|
|
208
|
+
onClick: F,
|
|
209
|
+
disabled: l,
|
|
210
|
+
type: p,
|
|
209
211
|
form: d,
|
|
210
|
-
children:
|
|
212
|
+
children: y()
|
|
211
213
|
}
|
|
212
214
|
);
|
|
213
|
-
},
|
|
214
|
-
spApplyButtons:
|
|
215
|
+
}, aa = "_spApplyButtons_1l9jg_43", ia = "_spApplyButtons__cancel_1l9jg_73", ra = "_spApplyButtons__submit_1l9jg_76", We = {
|
|
216
|
+
spApplyButtons: aa,
|
|
215
217
|
"spApplyButtons_align-right": "_spApplyButtons_align-right_1l9jg_48",
|
|
216
218
|
"spApplyButtons_align-left": "_spApplyButtons_align-left_1l9jg_51",
|
|
217
219
|
"spApplyButtons_align-center": "_spApplyButtons_align-center_1l9jg_54",
|
|
218
220
|
"spApplyButtons_mobile-column": "_spApplyButtons_mobile-column_1l9jg_57",
|
|
219
221
|
"spApplyButtons_mobile-column-reverse": "_spApplyButtons_mobile-column-reverse_1l9jg_65",
|
|
220
|
-
spApplyButtons__cancel:
|
|
221
|
-
spApplyButtons__submit:
|
|
222
|
-
},
|
|
222
|
+
spApplyButtons__cancel: ia,
|
|
223
|
+
spApplyButtons__submit: ra
|
|
224
|
+
}, sa = (e) => {
|
|
223
225
|
const {
|
|
224
226
|
applyButtonsMobileDirection: t = "column",
|
|
225
227
|
applyButtonsAlign: o = "center",
|
|
@@ -228,23 +230,23 @@ const ve = (e) => {
|
|
|
228
230
|
submitBtnIconName: i,
|
|
229
231
|
cancelBtnDisabled: r,
|
|
230
232
|
submitBtnContent: s,
|
|
231
|
-
formId:
|
|
232
|
-
disabled:
|
|
233
|
+
formId: l,
|
|
234
|
+
disabled: p,
|
|
233
235
|
onClose: d,
|
|
234
236
|
submit: u,
|
|
235
237
|
loading: g
|
|
236
238
|
} = e, h = f({
|
|
237
|
-
[
|
|
238
|
-
[
|
|
239
|
-
[
|
|
239
|
+
[We.spApplyButtons]: !0,
|
|
240
|
+
[We[`spApplyButtons_mobile-${t}`]]: t,
|
|
241
|
+
[We[`spApplyButtons_align-${o}`]]: o
|
|
240
242
|
}), x = f({
|
|
241
|
-
[
|
|
243
|
+
[We.spApplyButtons__submit]: !0
|
|
242
244
|
}), w = f({
|
|
243
|
-
[
|
|
245
|
+
[We.spApplyButtons__cancel]: !0
|
|
244
246
|
});
|
|
245
|
-
return /* @__PURE__ */
|
|
247
|
+
return /* @__PURE__ */ P("div", { className: h, children: [
|
|
246
248
|
n && /* @__PURE__ */ c(
|
|
247
|
-
|
|
249
|
+
tt,
|
|
248
250
|
{
|
|
249
251
|
type: "button",
|
|
250
252
|
variant: "secondary",
|
|
@@ -256,21 +258,21 @@ const ve = (e) => {
|
|
|
256
258
|
}
|
|
257
259
|
),
|
|
258
260
|
s && /* @__PURE__ */ c(
|
|
259
|
-
|
|
261
|
+
tt,
|
|
260
262
|
{
|
|
261
263
|
type: "submit",
|
|
262
264
|
variant: "primary",
|
|
263
265
|
iconName: i,
|
|
264
266
|
classNameRoot: x,
|
|
265
|
-
form:
|
|
266
|
-
disabled:
|
|
267
|
+
form: l || void 0,
|
|
268
|
+
disabled: p,
|
|
267
269
|
onClick: u,
|
|
268
270
|
loading: g,
|
|
269
271
|
children: s
|
|
270
272
|
}
|
|
271
273
|
)
|
|
272
274
|
] });
|
|
273
|
-
},
|
|
275
|
+
}, Hl = (e = {}) => {
|
|
274
276
|
const { initialValue: t = null } = e, [o, n] = ee(t);
|
|
275
277
|
return {
|
|
276
278
|
isOpen: !!o,
|
|
@@ -282,7 +284,7 @@ const ve = (e) => {
|
|
|
282
284
|
n(null);
|
|
283
285
|
}
|
|
284
286
|
};
|
|
285
|
-
},
|
|
287
|
+
}, yo = ({ children: e, node: t, classNameRoot: o }) => {
|
|
286
288
|
const [n, a] = ee(null);
|
|
287
289
|
return re(() => {
|
|
288
290
|
if (t) {
|
|
@@ -293,38 +295,38 @@ const ve = (e) => {
|
|
|
293
295
|
return o && (i.className = o), document.body.appendChild(i), a(i), () => {
|
|
294
296
|
t || document.body.removeChild(i);
|
|
295
297
|
};
|
|
296
|
-
}, [t, o]), n ?
|
|
297
|
-
},
|
|
298
|
-
layer:
|
|
298
|
+
}, [t, o]), n ? on.createPortal(e, n) : null;
|
|
299
|
+
}, la = "_layer_14g8d_43", pa = "_layer_hidden_14g8d_65", Ut = {
|
|
300
|
+
layer: la,
|
|
299
301
|
layer_hidden: pa
|
|
300
|
-
},
|
|
302
|
+
}, wo = (e) => {
|
|
301
303
|
const {
|
|
302
304
|
children: t,
|
|
303
305
|
zIndex: o = 999,
|
|
304
306
|
isHiddenModal: n = !1,
|
|
305
307
|
classNameRoot: a
|
|
306
308
|
} = e, i = document.body, r = f({
|
|
307
|
-
[
|
|
308
|
-
[
|
|
309
|
+
[Ut.layer]: !0,
|
|
310
|
+
[Ut.layer_hidden]: n,
|
|
309
311
|
...a && { [a]: !0 }
|
|
310
312
|
});
|
|
311
313
|
return re(() => {
|
|
312
|
-
const s = window.scrollY,
|
|
313
|
-
return
|
|
314
|
-
|
|
314
|
+
const s = window.scrollY, l = document.body;
|
|
315
|
+
return l.style.position = "fixed", l.style.top = `-${s}px`, l.style.left = "0", l.style.right = "0", l.style.overflow = "hidden", () => {
|
|
316
|
+
l.style.position = "", l.style.top = "", l.style.left = "", l.style.right = "", l.style.overflow = "", window.scrollTo(0, s);
|
|
315
317
|
};
|
|
316
|
-
}, []), /* @__PURE__ */ c(
|
|
317
|
-
},
|
|
318
|
-
spText:
|
|
319
|
-
spText_ellipsis:
|
|
318
|
+
}, []), /* @__PURE__ */ c(yo, { node: i, children: /* @__PURE__ */ c("div", { style: { zIndex: o }, className: r, children: t }) });
|
|
319
|
+
}, ca = "_spText_1todx_43", da = "_spText_ellipsis_1todx_56", ma = "_spText_cursorPointer_1todx_118", Ke = {
|
|
320
|
+
spText: ca,
|
|
321
|
+
spText_ellipsis: da,
|
|
320
322
|
"spText_type-h1": "_spText_type-h1_1todx_62",
|
|
321
323
|
"spText_type-h3": "_spText_type-h3_1todx_72",
|
|
322
324
|
"spText_type-p1": "_spText_type-p1_1todx_88",
|
|
323
325
|
"spText_type-p2": "_spText_type-p2_1todx_93",
|
|
324
326
|
"spText_type-description": "_spText_type-description_1todx_97",
|
|
325
327
|
"spText_type-link": "_spText_type-link_1todx_105",
|
|
326
|
-
spText_cursorPointer:
|
|
327
|
-
}, Te =
|
|
328
|
+
spText_cursorPointer: ma
|
|
329
|
+
}, Te = $e.forwardRef((e, t) => {
|
|
328
330
|
const {
|
|
329
331
|
type: o,
|
|
330
332
|
children: n,
|
|
@@ -332,15 +334,15 @@ const ve = (e) => {
|
|
|
332
334
|
title: i,
|
|
333
335
|
style: r,
|
|
334
336
|
onClick: s,
|
|
335
|
-
isEllipsis:
|
|
336
|
-
isCursorPointer:
|
|
337
|
+
isEllipsis: l = !1,
|
|
338
|
+
isCursorPointer: p = !1,
|
|
337
339
|
isCursorPointerByOnClick: d = !0,
|
|
338
340
|
classNameRoot: u
|
|
339
|
-
} = e, g = () => s && d ? !0 :
|
|
340
|
-
[
|
|
341
|
-
[
|
|
342
|
-
[
|
|
343
|
-
[
|
|
341
|
+
} = e, g = () => s && d ? !0 : p, h = f({
|
|
342
|
+
[Ke.spText]: !0,
|
|
343
|
+
[Ke.spText_ellipsis]: l,
|
|
344
|
+
[Ke.spText_cursorPointer]: g(),
|
|
345
|
+
[Ke[`spText_type-${o}`]]: o,
|
|
344
346
|
...u && { [u]: !0 }
|
|
345
347
|
});
|
|
346
348
|
return /* @__PURE__ */ c(
|
|
@@ -356,27 +358,27 @@ const ve = (e) => {
|
|
|
356
358
|
);
|
|
357
359
|
});
|
|
358
360
|
Te.displayName = "Text";
|
|
359
|
-
const
|
|
360
|
-
modalWrapper:
|
|
361
|
+
const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa = "_modalWrapper__content_1kqdh_117", va = "_modalWrapper__header_1kqdh_120", ga = "_modalWrapper__subHeader_1kqdh_128", xa = "_modalWrapper__subHeader_onlySubHeader_1kqdh_136", ha = "_modalWrapper__footer_1kqdh_139", ba = "_modalWrapper__closeButton_1kqdh_142", ge = {
|
|
362
|
+
modalWrapper: ua,
|
|
361
363
|
"modalWrapper--modalVerticalAlign-top": "_modalWrapper--modalVerticalAlign-top_1kqdh_48",
|
|
362
364
|
"modalWrapper--modalVerticalAlign-center": "_modalWrapper--modalVerticalAlign-center_1kqdh_51",
|
|
363
365
|
"modalWrapper--textAlign-left": "_modalWrapper--textAlign-left_1kqdh_54",
|
|
364
366
|
"modalWrapper--textAlign-center": "_modalWrapper--textAlign-center_1kqdh_57",
|
|
365
367
|
"modalWrapper--textAlign-right": "_modalWrapper--textAlign-right_1kqdh_60",
|
|
366
|
-
modalWrapper__modal:
|
|
368
|
+
modalWrapper__modal: _a,
|
|
367
369
|
"modalWrapper__modal--size-lg": "_modalWrapper__modal--size-lg_1kqdh_106",
|
|
368
370
|
"modalWrapper__modal--size-md": "_modalWrapper__modal--size-md_1kqdh_112",
|
|
369
|
-
modalWrapper__content:
|
|
370
|
-
modalWrapper__header:
|
|
371
|
-
modalWrapper__subHeader:
|
|
372
|
-
modalWrapper__subHeader_onlySubHeader:
|
|
373
|
-
modalWrapper__footer:
|
|
374
|
-
modalWrapper__closeButton:
|
|
371
|
+
modalWrapper__content: fa,
|
|
372
|
+
modalWrapper__header: va,
|
|
373
|
+
modalWrapper__subHeader: ga,
|
|
374
|
+
modalWrapper__subHeader_onlySubHeader: xa,
|
|
375
|
+
modalWrapper__footer: ha,
|
|
376
|
+
modalWrapper__closeButton: ba,
|
|
375
377
|
"modalWrapper__closeButton--size-lg": "_modalWrapper__closeButton--size-lg_1kqdh_151",
|
|
376
378
|
"modalWrapper__closeButton--size-md": "_modalWrapper__closeButton--size-md_1kqdh_155",
|
|
377
379
|
"modalWrapper__closeButtonIconContainer--size-lg": "_modalWrapper__closeButtonIconContainer--size-lg_1kqdh_160",
|
|
378
380
|
"modalWrapper__closeButtonIconContainer--size-md": "_modalWrapper__closeButtonIconContainer--size-md_1kqdh_164"
|
|
379
|
-
},
|
|
381
|
+
}, ya = (e) => {
|
|
380
382
|
const {
|
|
381
383
|
zIndex: t = 999,
|
|
382
384
|
isHiddenModal: o = !1,
|
|
@@ -385,8 +387,8 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
|
|
|
385
387
|
classNameLayerRoot: i,
|
|
386
388
|
classNameRoot: r,
|
|
387
389
|
style: s,
|
|
388
|
-
modalVerticalAlign:
|
|
389
|
-
textAlign:
|
|
390
|
+
modalVerticalAlign: l = "top",
|
|
391
|
+
textAlign: p = "left",
|
|
390
392
|
onClose: d,
|
|
391
393
|
header: u,
|
|
392
394
|
subHeader: g,
|
|
@@ -394,8 +396,8 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
|
|
|
394
396
|
size: x = "lg"
|
|
395
397
|
} = e, w = f({
|
|
396
398
|
[ge.modalWrapper]: !0,
|
|
397
|
-
[ge[`modalWrapper--modalVerticalAlign-${
|
|
398
|
-
[ge[`modalWrapper--textAlign-${
|
|
399
|
+
[ge[`modalWrapper--modalVerticalAlign-${l}`]]: l,
|
|
400
|
+
[ge[`modalWrapper--textAlign-${p}`]]: p
|
|
399
401
|
}), R = f({
|
|
400
402
|
[ge.modalWrapper__modal]: !0,
|
|
401
403
|
[ge[`modalWrapper__modal--size-${x}`]]: x,
|
|
@@ -416,27 +418,27 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
|
|
|
416
418
|
}), N = f({
|
|
417
419
|
[ge.modalWrapper__footer]: !0
|
|
418
420
|
});
|
|
419
|
-
return /* @__PURE__ */ c(
|
|
420
|
-
(u || g) && /* @__PURE__ */
|
|
421
|
+
return /* @__PURE__ */ c(wo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: w, children: /* @__PURE__ */ P("div", { className: R, style: s, children: [
|
|
422
|
+
(u || g) && /* @__PURE__ */ P("div", { className: y, children: [
|
|
421
423
|
typeof u == "string" ? /* @__PURE__ */ c(Te, { type: "h3", children: u }) : u,
|
|
422
424
|
g && /* @__PURE__ */ c("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ c(Te, { children: g }) : g })
|
|
423
425
|
] }),
|
|
424
426
|
a && /* @__PURE__ */ c("div", { className: F, children: a }),
|
|
425
427
|
h && /* @__PURE__ */ c("div", { className: N, children: h }),
|
|
426
428
|
n && d && /* @__PURE__ */ c(
|
|
427
|
-
|
|
429
|
+
tt,
|
|
428
430
|
{
|
|
429
431
|
classNameRoot: A,
|
|
430
432
|
classNameIconContainerRoot: U,
|
|
431
433
|
onClick: d,
|
|
432
|
-
iconName:
|
|
434
|
+
iconName: D.Close,
|
|
433
435
|
variant: "link",
|
|
434
436
|
noPadding: !0,
|
|
435
437
|
isOnlyIcon: !0
|
|
436
438
|
}
|
|
437
439
|
)
|
|
438
440
|
] }) }) });
|
|
439
|
-
},
|
|
441
|
+
}, wa = (e) => {
|
|
440
442
|
const {
|
|
441
443
|
zIndex: t,
|
|
442
444
|
header: o,
|
|
@@ -445,8 +447,8 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
|
|
|
445
447
|
cancelBtnDisabled: i,
|
|
446
448
|
cancelBtnIconName: r,
|
|
447
449
|
submitBtnContent: s,
|
|
448
|
-
submitBtnIconName:
|
|
449
|
-
submit:
|
|
450
|
+
submitBtnIconName: l,
|
|
451
|
+
submit: p,
|
|
450
452
|
disabled: d,
|
|
451
453
|
formId: u,
|
|
452
454
|
onClose: g,
|
|
@@ -462,7 +464,7 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
|
|
|
462
464
|
classNameLayerRoot: N
|
|
463
465
|
} = e;
|
|
464
466
|
return /* @__PURE__ */ c(
|
|
465
|
-
|
|
467
|
+
ya,
|
|
466
468
|
{
|
|
467
469
|
zIndex: t,
|
|
468
470
|
header: o,
|
|
@@ -475,8 +477,8 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
|
|
|
475
477
|
size: y,
|
|
476
478
|
classNameRoot: m,
|
|
477
479
|
classNameLayerRoot: N,
|
|
478
|
-
footer: a || r || s ||
|
|
479
|
-
|
|
480
|
+
footer: a || r || s || l ? /* @__PURE__ */ c(
|
|
481
|
+
sa,
|
|
480
482
|
{
|
|
481
483
|
applyButtonsMobileDirection: h,
|
|
482
484
|
applyButtonsAlign: x,
|
|
@@ -484,17 +486,17 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
|
|
|
484
486
|
cancelBtnIconName: r,
|
|
485
487
|
cancelBtnDisabled: i,
|
|
486
488
|
submitBtnContent: s,
|
|
487
|
-
submitBtnIconName:
|
|
489
|
+
submitBtnIconName: l,
|
|
488
490
|
formId: u,
|
|
489
491
|
disabled: d,
|
|
490
492
|
onClose: g,
|
|
491
|
-
submit:
|
|
493
|
+
submit: p,
|
|
492
494
|
loading: A
|
|
493
495
|
}
|
|
494
496
|
) : null
|
|
495
497
|
}
|
|
496
498
|
);
|
|
497
|
-
},
|
|
499
|
+
}, Vl = (e) => {
|
|
498
500
|
const {
|
|
499
501
|
children: t,
|
|
500
502
|
isNeedAuthorized: o,
|
|
@@ -503,13 +505,13 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
|
|
|
503
505
|
authButtonText: i = "Авторизоваться",
|
|
504
506
|
confirmSize: r = "md",
|
|
505
507
|
zIndex: s = 999
|
|
506
|
-
} = e, [
|
|
508
|
+
} = e, [l, p] = ee(o);
|
|
507
509
|
return re(() => {
|
|
508
|
-
|
|
509
|
-
}, [o]), /* @__PURE__ */
|
|
510
|
+
p(o);
|
|
511
|
+
}, [o]), /* @__PURE__ */ P(jt, { children: [
|
|
510
512
|
t,
|
|
511
|
-
|
|
512
|
-
|
|
513
|
+
l && /* @__PURE__ */ c(
|
|
514
|
+
wa,
|
|
513
515
|
{
|
|
514
516
|
zIndex: s,
|
|
515
517
|
isVisibleCloseButton: !1,
|
|
@@ -519,16 +521,16 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
|
|
|
519
521
|
submitBtnContent: i,
|
|
520
522
|
size: r,
|
|
521
523
|
submit: () => {
|
|
522
|
-
|
|
524
|
+
p(!1), n && n();
|
|
523
525
|
}
|
|
524
526
|
}
|
|
525
527
|
)
|
|
526
528
|
] });
|
|
527
|
-
},
|
|
528
|
-
spBaseTooltip:
|
|
529
|
-
spBaseTooltip_noPadding:
|
|
530
|
-
spBaseTooltip__content:
|
|
531
|
-
},
|
|
529
|
+
}, Ca = "_spBaseTooltip_5usel_43", ka = "_spBaseTooltip_noPadding_5usel_70", Ta = "_spBaseTooltip__content_5usel_96", _t = {
|
|
530
|
+
spBaseTooltip: Ca,
|
|
531
|
+
spBaseTooltip_noPadding: ka,
|
|
532
|
+
spBaseTooltip__content: Ta
|
|
533
|
+
}, Co = $e.forwardRef((e, t) => {
|
|
532
534
|
const {
|
|
533
535
|
text: o,
|
|
534
536
|
noPadding: n = !1,
|
|
@@ -536,17 +538,51 @@ const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a =
|
|
|
536
538
|
classNameRoot: i,
|
|
537
539
|
classNameContentRoot: r
|
|
538
540
|
} = e, s = f({
|
|
539
|
-
[
|
|
540
|
-
[
|
|
541
|
+
[_t.spBaseTooltip]: !0,
|
|
542
|
+
[_t.spBaseTooltip_noPadding]: n,
|
|
541
543
|
...i && { [i]: !0 }
|
|
542
|
-
}),
|
|
543
|
-
[
|
|
544
|
+
}), l = f({
|
|
545
|
+
[_t.spBaseTooltip__content]: !0,
|
|
544
546
|
...r && { [r]: !0 }
|
|
545
547
|
});
|
|
546
|
-
return /* @__PURE__ */ c("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ c("div", { className:
|
|
548
|
+
return /* @__PURE__ */ c("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ c("div", { className: l, children: o }) });
|
|
547
549
|
});
|
|
548
|
-
|
|
549
|
-
|
|
550
|
+
Co.displayName = "BaseTooltip";
|
|
551
|
+
const Na = "_spBreadcrumb_z0rec_43", Ea = "_spBreadcrumb__list_z0rec_46", Ia = "_spBreadcrumb__listItem_z0rec_55", Sa = "_spBreadcrumb__listItem__separator_z0rec_60", La = "_spBreadcrumb__listItem__text_z0rec_72", Ra = "_spBreadcrumb__listItem_active_z0rec_83", Me = {
|
|
552
|
+
spBreadcrumb: Na,
|
|
553
|
+
spBreadcrumb__list: Ea,
|
|
554
|
+
spBreadcrumb__listItem: Ia,
|
|
555
|
+
spBreadcrumb__listItem__separator: Sa,
|
|
556
|
+
spBreadcrumb__listItem__text: La,
|
|
557
|
+
spBreadcrumb__listItem_active: Ra
|
|
558
|
+
}, Yl = (e) => {
|
|
559
|
+
const {
|
|
560
|
+
classNameRoot: t,
|
|
561
|
+
classNameListRoot: o,
|
|
562
|
+
crumbsList: n = []
|
|
563
|
+
} = e, a = f({
|
|
564
|
+
[Me.spBreadcrumb]: !0,
|
|
565
|
+
...t && { [t]: !0 }
|
|
566
|
+
}), i = f({
|
|
567
|
+
[Me.spBreadcrumb__list]: !0,
|
|
568
|
+
...o && { [o]: !0 }
|
|
569
|
+
});
|
|
570
|
+
return /* @__PURE__ */ c("nav", { "aria-label": "breadcrumb", className: a, children: /* @__PURE__ */ c("ol", { className: i, children: n.map(({ text: r, onClick: s, active: l }, p) => /* @__PURE__ */ P(
|
|
571
|
+
"li",
|
|
572
|
+
{
|
|
573
|
+
className: f(
|
|
574
|
+
Me.spBreadcrumb__listItem,
|
|
575
|
+
l && Me.spBreadcrumb__listItem_active
|
|
576
|
+
),
|
|
577
|
+
children: [
|
|
578
|
+
/* @__PURE__ */ c("span", { title: r, className: Me.spBreadcrumb__listItem__text, onClick: s, children: r }),
|
|
579
|
+
/* @__PURE__ */ c("div", { className: Me.spBreadcrumb__listItem__separator, children: /* @__PURE__ */ c(me, { name: D.SelectChevronDown, rotate: -90 }) })
|
|
580
|
+
]
|
|
581
|
+
},
|
|
582
|
+
p
|
|
583
|
+
)) }) });
|
|
584
|
+
};
|
|
585
|
+
function ko(e, t, o = !0) {
|
|
550
586
|
re(() => {
|
|
551
587
|
if (!o) return;
|
|
552
588
|
const n = (a) => {
|
|
@@ -557,12 +593,12 @@ function Co(e, t, o = !0) {
|
|
|
557
593
|
};
|
|
558
594
|
}, [e, t, o]);
|
|
559
595
|
}
|
|
560
|
-
const
|
|
561
|
-
spTooltip:
|
|
562
|
-
spInfoTooltip:
|
|
596
|
+
const Fa = "_spTooltip_1pqws_43", Aa = "_spInfoTooltip_1pqws_48", To = {
|
|
597
|
+
spTooltip: Fa,
|
|
598
|
+
spInfoTooltip: Aa
|
|
563
599
|
};
|
|
564
|
-
var
|
|
565
|
-
const
|
|
600
|
+
var le = /* @__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))(le || {});
|
|
601
|
+
const He = (e) => {
|
|
566
602
|
const {
|
|
567
603
|
hover: t = !0,
|
|
568
604
|
isToggleClick: o = !1,
|
|
@@ -571,15 +607,15 @@ const $e = (e) => {
|
|
|
571
607
|
trigger: i,
|
|
572
608
|
triggerAction: r,
|
|
573
609
|
actionOnClose: s,
|
|
574
|
-
classNameTooltip:
|
|
575
|
-
position:
|
|
610
|
+
classNameTooltip: l,
|
|
611
|
+
position: p = le.BottomLeft,
|
|
576
612
|
text: d,
|
|
577
613
|
noPadding: u,
|
|
578
614
|
classNameBaseTooltipRoot: g,
|
|
579
615
|
classNameBaseTooltipContentRoot: h,
|
|
580
616
|
styleTooltip: x
|
|
581
617
|
} = e, [w, R] = ee(!1), A = de(null), U = de(null), [F, y] = ee(!1);
|
|
582
|
-
|
|
618
|
+
ko(
|
|
583
619
|
[A, U],
|
|
584
620
|
() => {
|
|
585
621
|
s && s(), R(!1);
|
|
@@ -587,63 +623,63 @@ const $e = (e) => {
|
|
|
587
623
|
w
|
|
588
624
|
);
|
|
589
625
|
const m = (T) => {
|
|
590
|
-
n && T.stopPropagation(), !t && (w ? s && s() : r && r(), R((
|
|
591
|
-
}, [N,
|
|
626
|
+
n && T.stopPropagation(), !t && (w ? s && s() : r && r(), R((M) => o ? !M : !0));
|
|
627
|
+
}, [N, O] = ee({
|
|
592
628
|
visibility: "hidden",
|
|
593
629
|
opacity: 0,
|
|
594
630
|
left: "-9999px"
|
|
595
|
-
}), [
|
|
631
|
+
}), [G, J] = ee(!1), ne = xe(() => {
|
|
596
632
|
if (!A.current || !U.current) return;
|
|
597
|
-
const T = A.current.getBoundingClientRect(),
|
|
633
|
+
const T = A.current.getBoundingClientRect(), M = U.current.getBoundingClientRect();
|
|
598
634
|
let q = 0, V = 0;
|
|
599
|
-
switch (
|
|
600
|
-
case
|
|
601
|
-
q = T.top + window.scrollY - (
|
|
635
|
+
switch (p) {
|
|
636
|
+
case le.Right:
|
|
637
|
+
q = T.top + window.scrollY - (M.height - T.height) / 2, V = T.right + window.scrollX;
|
|
602
638
|
break;
|
|
603
|
-
case
|
|
639
|
+
case le.RightTop:
|
|
604
640
|
q = T.top + window.scrollY, V = T.right + window.scrollX;
|
|
605
641
|
break;
|
|
606
|
-
case
|
|
607
|
-
q = T.bottom + window.scrollY -
|
|
642
|
+
case le.RightBottom:
|
|
643
|
+
q = T.bottom + window.scrollY - M.height, V = T.right + window.scrollX;
|
|
608
644
|
break;
|
|
609
|
-
case
|
|
610
|
-
q = T.top + window.scrollY - (
|
|
645
|
+
case le.Left:
|
|
646
|
+
q = T.top + window.scrollY - (M.height - T.height) / 2, V = T.left + window.scrollX - M.width;
|
|
611
647
|
break;
|
|
612
|
-
case
|
|
613
|
-
q = T.top + window.scrollY, V = T.left + window.scrollX -
|
|
648
|
+
case le.LeftTop:
|
|
649
|
+
q = T.top + window.scrollY, V = T.left + window.scrollX - M.width;
|
|
614
650
|
break;
|
|
615
|
-
case
|
|
616
|
-
q = T.bottom + window.scrollY -
|
|
651
|
+
case le.LeftBottom:
|
|
652
|
+
q = T.bottom + window.scrollY - M.height, V = T.left + window.scrollX - M.width;
|
|
617
653
|
break;
|
|
618
|
-
case
|
|
619
|
-
q = T.bottom + window.scrollY, V = T.left + window.scrollX - (
|
|
654
|
+
case le.Bottom:
|
|
655
|
+
q = T.bottom + window.scrollY, V = T.left + window.scrollX - (M.width - T.width) / 2;
|
|
620
656
|
break;
|
|
621
|
-
case
|
|
657
|
+
case le.BottomLeft:
|
|
622
658
|
q = T.bottom + window.scrollY, V = T.left + window.scrollX;
|
|
623
659
|
break;
|
|
624
|
-
case
|
|
625
|
-
q = T.bottom + window.scrollY, V = T.right + window.scrollX -
|
|
660
|
+
case le.BottomRight:
|
|
661
|
+
q = T.bottom + window.scrollY, V = T.right + window.scrollX - M.width;
|
|
626
662
|
break;
|
|
627
|
-
case
|
|
628
|
-
q = T.top + window.scrollY -
|
|
663
|
+
case le.Top:
|
|
664
|
+
q = T.top + window.scrollY - M.height, V = T.left + window.scrollX - (M.width - T.width) / 2;
|
|
629
665
|
break;
|
|
630
|
-
case
|
|
631
|
-
q = T.top + window.scrollY -
|
|
666
|
+
case le.TopLeft:
|
|
667
|
+
q = T.top + window.scrollY - M.height, V = T.left + window.scrollX;
|
|
632
668
|
break;
|
|
633
|
-
case
|
|
634
|
-
q = T.top + window.scrollY -
|
|
669
|
+
case le.TopRight:
|
|
670
|
+
q = T.top + window.scrollY - M.height, V = T.right + window.scrollX - M.width;
|
|
635
671
|
break;
|
|
636
672
|
default:
|
|
637
673
|
q = T.bottom + window.scrollY, V = T.left + window.scrollX;
|
|
638
674
|
}
|
|
639
|
-
q +
|
|
675
|
+
q + M.height > window.innerHeight + window.scrollY && p.includes("bottom") ? q = T.top + window.scrollY - M.height : q < window.scrollY && p.includes("top") && (q = T.bottom + window.scrollY), V + M.width > window.innerWidth + window.scrollX && p.includes("left") ? V = T.left + window.scrollX - M.width + T.width : V < window.scrollX && p.includes("right") && (V = T.right + window.scrollX - T.width), O((te) => ({
|
|
640
676
|
...te,
|
|
641
677
|
top: `${q}px`,
|
|
642
678
|
left: `${V}px`,
|
|
643
|
-
visibility: w ||
|
|
644
|
-
opacity: w ||
|
|
679
|
+
visibility: w || G ? "visible" : "hidden",
|
|
680
|
+
opacity: w || G ? 1 : 0
|
|
645
681
|
}));
|
|
646
|
-
}, [
|
|
682
|
+
}, [p, w, G]);
|
|
647
683
|
re(() => (y(!0), () => y(!1)), []), re(() => {
|
|
648
684
|
F && ne();
|
|
649
685
|
}, [F, ne]), re(() => {
|
|
@@ -653,66 +689,66 @@ const $e = (e) => {
|
|
|
653
689
|
window.removeEventListener("resize", T), window.removeEventListener("scroll", T, !0);
|
|
654
690
|
};
|
|
655
691
|
}, [F, ne]);
|
|
656
|
-
const
|
|
692
|
+
const ue = f({
|
|
657
693
|
...g && { [g]: !0 }
|
|
658
|
-
}),
|
|
694
|
+
}), _e = f({
|
|
659
695
|
...h && { [h]: !0 }
|
|
660
|
-
}),
|
|
661
|
-
[
|
|
662
|
-
...
|
|
696
|
+
}), pe = f({
|
|
697
|
+
[To.spTooltip]: !0,
|
|
698
|
+
...l && { [l]: !0 }
|
|
663
699
|
}), X = document.body;
|
|
664
|
-
return /* @__PURE__ */
|
|
700
|
+
return /* @__PURE__ */ P(
|
|
665
701
|
"div",
|
|
666
702
|
{
|
|
667
703
|
ref: A,
|
|
668
|
-
className:
|
|
704
|
+
className: pe,
|
|
669
705
|
onClick: m,
|
|
670
706
|
onMouseEnter: () => t && J(!0),
|
|
671
707
|
onMouseLeave: () => t && J(!1),
|
|
672
708
|
style: x,
|
|
673
709
|
children: [
|
|
674
710
|
i,
|
|
675
|
-
a && /* @__PURE__ */ c(
|
|
676
|
-
|
|
711
|
+
a && /* @__PURE__ */ c(yo, { node: X, children: /* @__PURE__ */ c(
|
|
712
|
+
Co,
|
|
677
713
|
{
|
|
678
714
|
style: N,
|
|
679
715
|
ref: U,
|
|
680
716
|
noPadding: u,
|
|
681
717
|
text: d,
|
|
682
|
-
classNameRoot:
|
|
683
|
-
classNameContentRoot:
|
|
718
|
+
classNameRoot: ue,
|
|
719
|
+
classNameContentRoot: _e
|
|
684
720
|
}
|
|
685
721
|
) })
|
|
686
722
|
]
|
|
687
723
|
}
|
|
688
724
|
);
|
|
689
|
-
},
|
|
725
|
+
}, it = (e) => {
|
|
690
726
|
const t = e.classNameTooltip, o = f({
|
|
691
|
-
[
|
|
727
|
+
[To.spInfoTooltip]: !0,
|
|
692
728
|
...t && { [t]: !0 }
|
|
693
729
|
});
|
|
694
730
|
return /* @__PURE__ */ c(
|
|
695
|
-
|
|
731
|
+
He,
|
|
696
732
|
{
|
|
697
733
|
...e,
|
|
698
734
|
classNameTooltip: o,
|
|
699
|
-
trigger: /* @__PURE__ */ c(
|
|
735
|
+
trigger: /* @__PURE__ */ c(me, { name: D.Info })
|
|
700
736
|
}
|
|
701
737
|
);
|
|
702
|
-
},
|
|
703
|
-
spCheckbox:
|
|
704
|
-
spCheckbox__control:
|
|
705
|
-
spCheckbox__label:
|
|
706
|
-
spCheckbox__box:
|
|
738
|
+
}, ja = "_spCheckbox_1ypiv_43", Ba = "_spCheckbox__control_1ypiv_49", Da = "_spCheckbox__label_1ypiv_52", Ma = "_spCheckbox__box_1ypiv_63", za = "_spCheckbox__box_checked_1ypiv_90", Pa = "_spCheckbox__box_disabled_1ypiv_100", Oa = "_spCheckbox__box_error_1ypiv_111", Wa = "_spCheckbox__tooltip_1ypiv_114", Ua = "_spCheckbox__required_1ypiv_119", qa = "_spCheckbox__error_1ypiv_125", Ce = {
|
|
739
|
+
spCheckbox: ja,
|
|
740
|
+
spCheckbox__control: Ba,
|
|
741
|
+
spCheckbox__label: Da,
|
|
742
|
+
spCheckbox__box: Ma,
|
|
707
743
|
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_1ypiv_68",
|
|
708
744
|
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_1ypiv_73",
|
|
709
|
-
spCheckbox__box_checked:
|
|
710
|
-
spCheckbox__box_disabled:
|
|
711
|
-
spCheckbox__box_error:
|
|
712
|
-
spCheckbox__tooltip:
|
|
713
|
-
spCheckbox__required:
|
|
714
|
-
spCheckbox__error:
|
|
715
|
-
},
|
|
745
|
+
spCheckbox__box_checked: za,
|
|
746
|
+
spCheckbox__box_disabled: Pa,
|
|
747
|
+
spCheckbox__box_error: Oa,
|
|
748
|
+
spCheckbox__tooltip: Wa,
|
|
749
|
+
spCheckbox__required: Ua,
|
|
750
|
+
spCheckbox__error: qa
|
|
751
|
+
}, Gl = (e) => {
|
|
716
752
|
const {
|
|
717
753
|
size: t = "lg",
|
|
718
754
|
checked: o,
|
|
@@ -721,8 +757,8 @@ const $e = (e) => {
|
|
|
721
757
|
name: i,
|
|
722
758
|
label: r,
|
|
723
759
|
error: s,
|
|
724
|
-
value:
|
|
725
|
-
required:
|
|
760
|
+
value: l,
|
|
761
|
+
required: p,
|
|
726
762
|
tooltipPosition: d,
|
|
727
763
|
infoTooltipText: u,
|
|
728
764
|
onMouseEnter: g,
|
|
@@ -749,104 +785,104 @@ const $e = (e) => {
|
|
|
749
785
|
}), m = f({
|
|
750
786
|
[Ce.spCheckbox__tooltip]: !0
|
|
751
787
|
});
|
|
752
|
-
return /* @__PURE__ */
|
|
753
|
-
/* @__PURE__ */
|
|
788
|
+
return /* @__PURE__ */ P("div", { className: w, onMouseEnter: g, children: [
|
|
789
|
+
/* @__PURE__ */ P("label", { className: R, children: [
|
|
754
790
|
/* @__PURE__ */ c(
|
|
755
791
|
"input",
|
|
756
792
|
{
|
|
757
793
|
type: "checkbox",
|
|
758
794
|
className: A,
|
|
759
795
|
checked: o,
|
|
760
|
-
onChange: (
|
|
761
|
-
!n && a && a(
|
|
796
|
+
onChange: (O) => {
|
|
797
|
+
!n && a && a(O, { name: i, checked: !o, value: l });
|
|
762
798
|
}
|
|
763
799
|
}
|
|
764
800
|
),
|
|
765
801
|
r && /* @__PURE__ */ c("span", { className: U, children: r }),
|
|
766
|
-
|
|
767
|
-
u && /* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c(
|
|
802
|
+
p && /* @__PURE__ */ c("div", { className: F, children: "*" }),
|
|
803
|
+
u && /* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c(it, { hover: !0, position: d, text: u }) })
|
|
768
804
|
] }),
|
|
769
805
|
s && /* @__PURE__ */ c("div", { className: y, children: s })
|
|
770
806
|
] });
|
|
771
|
-
},
|
|
772
|
-
spContextMenu:
|
|
773
|
-
spContextMenu__item:
|
|
774
|
-
spContextMenu__item_deleteItem:
|
|
775
|
-
},
|
|
807
|
+
}, $a = "_spContextMenu_1cza9_43", Ha = "_spContextMenu__item_1cza9_55", Va = "_spContextMenu__item_deleteItem_1cza9_74", ft = {
|
|
808
|
+
spContextMenu: $a,
|
|
809
|
+
spContextMenu__item: Ha,
|
|
810
|
+
spContextMenu__item_deleteItem: Va
|
|
811
|
+
}, Kl = (e) => {
|
|
776
812
|
const { onClickItem: t, options: o, classNameRoot: n } = e, a = f({
|
|
777
|
-
[
|
|
813
|
+
[ft.spContextMenu]: !0,
|
|
778
814
|
...n && { [n]: !0 }
|
|
779
815
|
});
|
|
780
816
|
return /* @__PURE__ */ c("ul", { className: a, children: o == null ? void 0 : o.map((i) => {
|
|
781
817
|
const r = i.key === "delete";
|
|
782
|
-
return /* @__PURE__ */
|
|
818
|
+
return /* @__PURE__ */ P(
|
|
783
819
|
"li",
|
|
784
820
|
{
|
|
785
821
|
className: f({
|
|
786
|
-
[
|
|
787
|
-
[
|
|
822
|
+
[ft.spContextMenu__item]: !0,
|
|
823
|
+
[ft.spContextMenu__item_deleteItem]: r
|
|
788
824
|
}),
|
|
789
825
|
onClick: () => {
|
|
790
826
|
t && t(i);
|
|
791
827
|
},
|
|
792
828
|
children: [
|
|
793
|
-
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ c(
|
|
829
|
+
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ c(me, { name: i.iconName }),
|
|
794
830
|
i.label
|
|
795
831
|
]
|
|
796
832
|
},
|
|
797
833
|
i.key
|
|
798
834
|
);
|
|
799
835
|
}) });
|
|
800
|
-
},
|
|
836
|
+
}, Ya = (e) => {
|
|
801
837
|
const { getRootProps: t, children: o, disabled: n, name: a, getInputProps: i } = e;
|
|
802
|
-
return /* @__PURE__ */
|
|
838
|
+
return /* @__PURE__ */ P("div", { ...t({}), style: { minHeight: "100%", minWidth: "100%" }, children: [
|
|
803
839
|
/* @__PURE__ */ c("input", { ...i({}), disabled: n, name: a }),
|
|
804
840
|
o
|
|
805
841
|
] });
|
|
806
|
-
},
|
|
807
|
-
spDropdown:
|
|
808
|
-
spDropdown__labelText:
|
|
809
|
-
spDropdown__tooltipContainer:
|
|
810
|
-
spDropdown__dropdownList:
|
|
811
|
-
spDropdown__dropdownListHeader:
|
|
812
|
-
spDropdown__dopdownListItem:
|
|
813
|
-
spDropdown__dopdownListItem_textCenter:
|
|
814
|
-
spDropdown__downloadListItemDescription:
|
|
815
|
-
},
|
|
842
|
+
}, Ga = "_spDropdown_miycs_43", Ka = "_spDropdown__labelText_miycs_55", Xa = "_spDropdown__tooltipContainer_miycs_63", Za = "_spDropdown__dropdownList_miycs_68", Qa = "_spDropdown__dropdownListHeader_miycs_74", Ja = "_spDropdown__dopdownListItem_miycs_81", ei = "_spDropdown__dopdownListItem_textCenter_miycs_93", ti = "_spDropdown__downloadListItemDescription_miycs_97", Ie = {
|
|
843
|
+
spDropdown: Ga,
|
|
844
|
+
spDropdown__labelText: Ka,
|
|
845
|
+
spDropdown__tooltipContainer: Xa,
|
|
846
|
+
spDropdown__dropdownList: Za,
|
|
847
|
+
spDropdown__dropdownListHeader: Qa,
|
|
848
|
+
spDropdown__dopdownListItem: Ja,
|
|
849
|
+
spDropdown__dopdownListItem_textCenter: ei,
|
|
850
|
+
spDropdown__downloadListItemDescription: ti
|
|
851
|
+
}, Xl = (e) => {
|
|
816
852
|
const {
|
|
817
853
|
labelText: t = "Выпадающий список",
|
|
818
854
|
listName: o,
|
|
819
855
|
dropdownList: n = [],
|
|
820
|
-
dropdownPosition: a =
|
|
856
|
+
dropdownPosition: a = le.BottomRight,
|
|
821
857
|
classNameRoot: i
|
|
822
858
|
} = e, r = f({
|
|
823
|
-
[
|
|
859
|
+
[Ie.spDropdown]: !0,
|
|
824
860
|
...i && { [i]: !0 }
|
|
825
861
|
}), s = f({
|
|
826
|
-
[
|
|
827
|
-
}), p = f({
|
|
828
|
-
[Se.spDropdown__tooltipContainer]: !0
|
|
862
|
+
[Ie.spDropdown__labelText]: !0
|
|
829
863
|
}), l = f({
|
|
830
|
-
[
|
|
864
|
+
[Ie.spDropdown__tooltipContainer]: !0
|
|
865
|
+
}), p = f({
|
|
866
|
+
[Ie.spDropdown__dropdownList]: !0
|
|
831
867
|
}), d = f({
|
|
832
|
-
[
|
|
868
|
+
[Ie.spDropdown__dropdownListHeader]: !0
|
|
833
869
|
}), u = f({
|
|
834
|
-
[
|
|
870
|
+
[Ie.spDropdown__downloadListItemDescription]: !0
|
|
835
871
|
}), [g, h] = ee(!1);
|
|
836
872
|
return /* @__PURE__ */ c(
|
|
837
|
-
|
|
873
|
+
He,
|
|
838
874
|
{
|
|
839
875
|
hover: !1,
|
|
840
876
|
triggerAction: () => h(!0),
|
|
841
877
|
actionOnClose: () => h(!1),
|
|
842
|
-
text: /* @__PURE__ */
|
|
878
|
+
text: /* @__PURE__ */ P("div", { className: p, children: [
|
|
843
879
|
o && /* @__PURE__ */ c("div", { className: d, children: o }),
|
|
844
|
-
n.map((w, R) => /* @__PURE__ */
|
|
880
|
+
n.map((w, R) => /* @__PURE__ */ P(
|
|
845
881
|
"div",
|
|
846
882
|
{
|
|
847
883
|
className: f({
|
|
848
|
-
[
|
|
849
|
-
[
|
|
884
|
+
[Ie.spDropdown__dopdownListItem]: !0,
|
|
885
|
+
[Ie.spDropdown__dopdownListItem_textCenter]: w.textCenter
|
|
850
886
|
}),
|
|
851
887
|
onClick: w.onClick,
|
|
852
888
|
children: [
|
|
@@ -861,16 +897,16 @@ const $e = (e) => {
|
|
|
861
897
|
noPadding: !0,
|
|
862
898
|
isToggleClick: !0,
|
|
863
899
|
isStopPropagationClickOnTrigger: !0,
|
|
864
|
-
trigger: /* @__PURE__ */
|
|
900
|
+
trigger: /* @__PURE__ */ P("div", { className: r, children: [
|
|
865
901
|
/* @__PURE__ */ c("div", { className: s, children: t }),
|
|
866
|
-
/* @__PURE__ */ c("div", { className:
|
|
902
|
+
/* @__PURE__ */ c("div", { className: l, children: /* @__PURE__ */ c(me, { name: D.SelectChevronDown, rotate: g ? 180 : void 0 }) })
|
|
867
903
|
] })
|
|
868
904
|
}
|
|
869
905
|
);
|
|
870
|
-
},
|
|
871
|
-
ellipsisTextWithTooltip:
|
|
872
|
-
ellipsisTextWithTooltip__tooltip:
|
|
873
|
-
},
|
|
906
|
+
}, oi = "_ellipsisTextWithTooltip_1nhiw_43", ni = "_ellipsisTextWithTooltip__tooltip_1nhiw_46", qt = {
|
|
907
|
+
ellipsisTextWithTooltip: oi,
|
|
908
|
+
ellipsisTextWithTooltip__tooltip: ni
|
|
909
|
+
}, Xe = (e) => {
|
|
874
910
|
const {
|
|
875
911
|
text: t,
|
|
876
912
|
classNameRoot: o,
|
|
@@ -878,39 +914,39 @@ const $e = (e) => {
|
|
|
878
914
|
classNameBaseTooltipContentRoot: a,
|
|
879
915
|
classNameBaseTooltipRoot: i,
|
|
880
916
|
...r
|
|
881
|
-
} = e, s = de(null), [
|
|
882
|
-
s.current &&
|
|
917
|
+
} = e, s = de(null), [l, p] = ee(!1), d = () => {
|
|
918
|
+
s.current && p(s.current.scrollWidth > s.current.clientWidth);
|
|
883
919
|
};
|
|
884
|
-
|
|
920
|
+
xo(() => (d(), window.addEventListener("resize", d), () => {
|
|
885
921
|
window.removeEventListener("resize", d);
|
|
886
922
|
}), [t]);
|
|
887
923
|
const u = f({
|
|
888
|
-
[
|
|
924
|
+
[qt.ellipsisTextWithTooltip]: !0,
|
|
889
925
|
...o && { [o]: !0 }
|
|
890
926
|
}), g = f({
|
|
891
|
-
[
|
|
927
|
+
[qt.ellipsisTextWithTooltip__tooltip]: !0,
|
|
892
928
|
...n && { [n]: !0 }
|
|
893
929
|
});
|
|
894
930
|
return /* @__PURE__ */ c(
|
|
895
|
-
|
|
931
|
+
He,
|
|
896
932
|
{
|
|
897
933
|
hover: !0,
|
|
898
934
|
classNameTooltip: g,
|
|
899
935
|
classNameBaseTooltipContentRoot: a,
|
|
900
936
|
classNameBaseTooltipRoot: i,
|
|
901
|
-
isVisibleTooltip:
|
|
937
|
+
isVisibleTooltip: l,
|
|
902
938
|
text: t,
|
|
903
939
|
trigger: /* @__PURE__ */ c(Te, { ...r, classNameRoot: u, isEllipsis: !0, ref: s, children: t })
|
|
904
940
|
}
|
|
905
941
|
);
|
|
906
|
-
},
|
|
907
|
-
spForm:
|
|
908
|
-
spForm_fullWidth:
|
|
909
|
-
spForm_addMargin:
|
|
942
|
+
}, ai = "_spForm_1mrvg_43", ii = "_spForm_fullWidth_1mrvg_48", ri = "_spForm_addMargin_1mrvg_51", si = "_spForm_withSeparator_1mrvg_69", Ue = {
|
|
943
|
+
spForm: ai,
|
|
944
|
+
spForm_fullWidth: ii,
|
|
945
|
+
spForm_addMargin: ri,
|
|
910
946
|
"spForm--size-lg": "_spForm--size-lg_1mrvg_51",
|
|
911
947
|
"spForm--size-md": "_spForm--size-md_1mrvg_60",
|
|
912
|
-
spForm_withSeparator:
|
|
913
|
-
},
|
|
948
|
+
spForm_withSeparator: si
|
|
949
|
+
}, Zl = (e) => {
|
|
914
950
|
const {
|
|
915
951
|
size: t = "lg",
|
|
916
952
|
children: o,
|
|
@@ -919,23 +955,23 @@ const $e = (e) => {
|
|
|
919
955
|
withSeparator: i = !1,
|
|
920
956
|
fullWidth: r = !0,
|
|
921
957
|
classNameRoot: s,
|
|
922
|
-
...
|
|
923
|
-
} = e,
|
|
924
|
-
[
|
|
925
|
-
[
|
|
926
|
-
[
|
|
927
|
-
[
|
|
928
|
-
[
|
|
958
|
+
...l
|
|
959
|
+
} = e, p = f({
|
|
960
|
+
[Ue.spForm]: !0,
|
|
961
|
+
[Ue[`spForm--size-${t}`]]: t,
|
|
962
|
+
[Ue.spForm_fullWidth]: r,
|
|
963
|
+
[Ue.spForm_addMargin]: a,
|
|
964
|
+
[Ue.spForm_withSeparator]: i && a,
|
|
929
965
|
...s && { [s]: !0 }
|
|
930
966
|
});
|
|
931
|
-
return /* @__PURE__ */ c("form", { ...
|
|
967
|
+
return /* @__PURE__ */ c("form", { ...l, onSubmit: (u) => {
|
|
932
968
|
u.preventDefault(), n && n();
|
|
933
|
-
}, className:
|
|
934
|
-
},
|
|
935
|
-
spLabel:
|
|
936
|
-
spLabel__text:
|
|
937
|
-
spLabel__tooltip:
|
|
938
|
-
spLabel__required:
|
|
969
|
+
}, className: p, children: o });
|
|
970
|
+
}, li = "_spLabel_1mq16_43", pi = "_spLabel__text_1mq16_52", ci = "_spLabel__tooltip_1mq16_62", di = "_spLabel__required_1mq16_69", Ze = {
|
|
971
|
+
spLabel: li,
|
|
972
|
+
spLabel__text: pi,
|
|
973
|
+
spLabel__tooltip: ci,
|
|
974
|
+
spLabel__required: di
|
|
939
975
|
}, Dt = (e) => {
|
|
940
976
|
const {
|
|
941
977
|
required: t,
|
|
@@ -945,20 +981,20 @@ const $e = (e) => {
|
|
|
945
981
|
classNameRoot: i,
|
|
946
982
|
classNameBaseTooltipRoot: r
|
|
947
983
|
} = e, s = f({
|
|
948
|
-
[
|
|
984
|
+
[Ze.spLabel]: !0,
|
|
949
985
|
...i && { [i]: !0 }
|
|
950
|
-
}), p = f({
|
|
951
|
-
[Xe.spLabel__text]: !0
|
|
952
986
|
}), l = f({
|
|
953
|
-
[
|
|
987
|
+
[Ze.spLabel__text]: !0
|
|
988
|
+
}), p = f({
|
|
989
|
+
[Ze.spLabel__required]: t
|
|
954
990
|
}), d = f({
|
|
955
|
-
[
|
|
991
|
+
[Ze.spLabel__tooltip]: !0
|
|
956
992
|
});
|
|
957
|
-
return /* @__PURE__ */
|
|
958
|
-
/* @__PURE__ */ c("label", { className:
|
|
959
|
-
t && /* @__PURE__ */ c("div", { className:
|
|
993
|
+
return /* @__PURE__ */ P("div", { className: s, children: [
|
|
994
|
+
/* @__PURE__ */ c("label", { className: l, children: o }),
|
|
995
|
+
t && /* @__PURE__ */ c("div", { className: p, children: "*" }),
|
|
960
996
|
n && /* @__PURE__ */ c(
|
|
961
|
-
|
|
997
|
+
it,
|
|
962
998
|
{
|
|
963
999
|
hover: !0,
|
|
964
1000
|
classNameTooltip: d,
|
|
@@ -968,20 +1004,20 @@ const $e = (e) => {
|
|
|
968
1004
|
}
|
|
969
1005
|
)
|
|
970
1006
|
] });
|
|
971
|
-
},
|
|
972
|
-
spInput:
|
|
973
|
-
spInput_error:
|
|
974
|
-
spInput__control:
|
|
975
|
-
spInput_absolutePositionError:
|
|
976
|
-
spInput__container:
|
|
977
|
-
spInput__control_filled:
|
|
978
|
-
spInput__control_outlined:
|
|
979
|
-
spInput__control_disabled:
|
|
980
|
-
spInput__control_clearable:
|
|
981
|
-
spInput__clear:
|
|
982
|
-
spInput__error:
|
|
983
|
-
spInput__error_absolutePosition:
|
|
984
|
-
},
|
|
1007
|
+
}, mi = "_spInput_1qpas_43", ui = "_spInput_error_1qpas_48", _i = "_spInput__control_1qpas_48", fi = "_spInput_absolutePositionError_1qpas_55", vi = "_spInput__container_1qpas_58", gi = "_spInput__control_filled_1qpas_77", xi = "_spInput__control_outlined_1qpas_81", hi = "_spInput__control_disabled_1qpas_85", bi = "_spInput__control_clearable_1qpas_89", yi = "_spInput__clear_1qpas_116", wi = "_spInput__error_1qpas_125", Ci = "_spInput__error_absolutePosition_1qpas_132", ke = {
|
|
1008
|
+
spInput: mi,
|
|
1009
|
+
spInput_error: ui,
|
|
1010
|
+
spInput__control: _i,
|
|
1011
|
+
spInput_absolutePositionError: fi,
|
|
1012
|
+
spInput__container: vi,
|
|
1013
|
+
spInput__control_filled: gi,
|
|
1014
|
+
spInput__control_outlined: xi,
|
|
1015
|
+
spInput__control_disabled: hi,
|
|
1016
|
+
spInput__control_clearable: bi,
|
|
1017
|
+
spInput__clear: yi,
|
|
1018
|
+
spInput__error: wi,
|
|
1019
|
+
spInput__error_absolutePosition: Ci
|
|
1020
|
+
}, ki = $e.forwardRef((e, t) => {
|
|
985
1021
|
const {
|
|
986
1022
|
value: o,
|
|
987
1023
|
onChange: n,
|
|
@@ -989,8 +1025,8 @@ const $e = (e) => {
|
|
|
989
1025
|
variant: i = "outlined",
|
|
990
1026
|
disabled: r = !1,
|
|
991
1027
|
isAbsolutePositionError: s = !1,
|
|
992
|
-
error:
|
|
993
|
-
required:
|
|
1028
|
+
error: l,
|
|
1029
|
+
required: p,
|
|
994
1030
|
name: d,
|
|
995
1031
|
isClearable: u,
|
|
996
1032
|
pattern: g,
|
|
@@ -1004,12 +1040,12 @@ const $e = (e) => {
|
|
|
1004
1040
|
classNameLabel: y,
|
|
1005
1041
|
classNameBaseTooltipRoot: m,
|
|
1006
1042
|
...N
|
|
1007
|
-
} = e,
|
|
1043
|
+
} = e, O = f({
|
|
1008
1044
|
[ke.spInput]: !0,
|
|
1009
|
-
[ke.spInput_error]: !!
|
|
1045
|
+
[ke.spInput_error]: !!l,
|
|
1010
1046
|
[ke.spInput_absolutePositionError]: s,
|
|
1011
1047
|
...U && { [U]: !0 }
|
|
1012
|
-
}),
|
|
1048
|
+
}), G = f({
|
|
1013
1049
|
[ke.spInput__container]: !0
|
|
1014
1050
|
}), J = f({
|
|
1015
1051
|
[ke.spInput__control]: !0,
|
|
@@ -1018,31 +1054,31 @@ const $e = (e) => {
|
|
|
1018
1054
|
[ke.spInput__control_clearable]: u
|
|
1019
1055
|
}), ne = f({
|
|
1020
1056
|
[ke.spInput__clear]: !0
|
|
1021
|
-
}),
|
|
1057
|
+
}), ue = f({
|
|
1022
1058
|
[ke.spInput__error]: !0,
|
|
1023
1059
|
[ke.spInput__error_absolutePosition]: s,
|
|
1024
1060
|
...F && { [F]: !0 }
|
|
1025
|
-
}),
|
|
1061
|
+
}), _e = f({
|
|
1026
1062
|
...y && { [y]: !0 }
|
|
1027
|
-
}),
|
|
1028
|
-
n(
|
|
1029
|
-
}, X = (
|
|
1030
|
-
const { value: q, name: V } =
|
|
1031
|
-
g && q && !new RegExp(g).test(q) || n(
|
|
1063
|
+
}), pe = (M) => {
|
|
1064
|
+
n(M, { name: d, value: "" });
|
|
1065
|
+
}, X = (M) => {
|
|
1066
|
+
const { value: q, name: V } = M.target;
|
|
1067
|
+
g && q && !new RegExp(g).test(q) || n(M, { value: q, name: V });
|
|
1032
1068
|
};
|
|
1033
|
-
return /* @__PURE__ */
|
|
1069
|
+
return /* @__PURE__ */ P("div", { className: O, children: [
|
|
1034
1070
|
a && /* @__PURE__ */ c(
|
|
1035
1071
|
Dt,
|
|
1036
1072
|
{
|
|
1037
|
-
classNameRoot:
|
|
1073
|
+
classNameRoot: _e,
|
|
1038
1074
|
tooltipPosition: w,
|
|
1039
|
-
required:
|
|
1075
|
+
required: p,
|
|
1040
1076
|
label: a,
|
|
1041
1077
|
infoTooltipText: x,
|
|
1042
1078
|
classNameBaseTooltipRoot: m
|
|
1043
1079
|
}
|
|
1044
1080
|
),
|
|
1045
|
-
/* @__PURE__ */
|
|
1081
|
+
/* @__PURE__ */ P("div", { className: G, onMouseEnter: h, children: [
|
|
1046
1082
|
/* @__PURE__ */ c(
|
|
1047
1083
|
"input",
|
|
1048
1084
|
{
|
|
@@ -1057,93 +1093,93 @@ const $e = (e) => {
|
|
|
1057
1093
|
ref: t
|
|
1058
1094
|
}
|
|
1059
1095
|
),
|
|
1060
|
-
u && o && !r && /* @__PURE__ */ c(
|
|
1096
|
+
u && o && !r && /* @__PURE__ */ c(me, { onClick: pe, className: ne, name: D.Trash })
|
|
1061
1097
|
] }),
|
|
1062
|
-
|
|
1098
|
+
l && /* @__PURE__ */ c("div", { className: ue, children: l })
|
|
1063
1099
|
] });
|
|
1064
1100
|
});
|
|
1065
|
-
|
|
1066
|
-
const
|
|
1101
|
+
ki.displayName = "Input";
|
|
1102
|
+
const Ti = ho({
|
|
1067
1103
|
device: {
|
|
1068
1104
|
isDesktop: !1,
|
|
1069
1105
|
isMobile: !1,
|
|
1070
1106
|
isTablet: !1
|
|
1071
1107
|
}
|
|
1072
1108
|
});
|
|
1073
|
-
function
|
|
1109
|
+
function No(e) {
|
|
1074
1110
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1075
1111
|
}
|
|
1076
1112
|
var Mt = {};
|
|
1077
|
-
Mt.match =
|
|
1078
|
-
Mt.parse =
|
|
1079
|
-
var
|
|
1080
|
-
function
|
|
1081
|
-
return
|
|
1113
|
+
Mt.match = Ri;
|
|
1114
|
+
Mt.parse = Eo;
|
|
1115
|
+
var Ni = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, Ei = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, Ii = /^(?:(min|max)-)?(.+)/, Si = /(em|rem|px|cm|mm|in|pt|pc)?$/, Li = /(dpi|dpcm|dppx)?$/;
|
|
1116
|
+
function Ri(e, t) {
|
|
1117
|
+
return Eo(e).some(function(o) {
|
|
1082
1118
|
var n = o.inverse, a = o.type === "all" || t.type === o.type;
|
|
1083
1119
|
if (a && n || !(a || n))
|
|
1084
1120
|
return !1;
|
|
1085
1121
|
var i = o.expressions.every(function(r) {
|
|
1086
|
-
var s = r.feature,
|
|
1122
|
+
var s = r.feature, l = r.modifier, p = r.value, d = t[s];
|
|
1087
1123
|
if (!d)
|
|
1088
1124
|
return !1;
|
|
1089
1125
|
switch (s) {
|
|
1090
1126
|
case "orientation":
|
|
1091
1127
|
case "scan":
|
|
1092
|
-
return d.toLowerCase() ===
|
|
1128
|
+
return d.toLowerCase() === p.toLowerCase();
|
|
1093
1129
|
case "width":
|
|
1094
1130
|
case "height":
|
|
1095
1131
|
case "device-width":
|
|
1096
1132
|
case "device-height":
|
|
1097
|
-
|
|
1133
|
+
p = Vt(p), d = Vt(d);
|
|
1098
1134
|
break;
|
|
1099
1135
|
case "resolution":
|
|
1100
|
-
|
|
1136
|
+
p = Ht(p), d = Ht(d);
|
|
1101
1137
|
break;
|
|
1102
1138
|
case "aspect-ratio":
|
|
1103
1139
|
case "device-aspect-ratio":
|
|
1104
1140
|
case /* Deprecated */
|
|
1105
1141
|
"device-pixel-ratio":
|
|
1106
|
-
|
|
1142
|
+
p = $t(p), d = $t(d);
|
|
1107
1143
|
break;
|
|
1108
1144
|
case "grid":
|
|
1109
1145
|
case "color":
|
|
1110
1146
|
case "color-index":
|
|
1111
1147
|
case "monochrome":
|
|
1112
|
-
|
|
1148
|
+
p = parseInt(p, 10) || 1, d = parseInt(d, 10) || 0;
|
|
1113
1149
|
break;
|
|
1114
1150
|
}
|
|
1115
|
-
switch (
|
|
1151
|
+
switch (l) {
|
|
1116
1152
|
case "min":
|
|
1117
|
-
return d >=
|
|
1153
|
+
return d >= p;
|
|
1118
1154
|
case "max":
|
|
1119
|
-
return d <=
|
|
1155
|
+
return d <= p;
|
|
1120
1156
|
default:
|
|
1121
|
-
return d ===
|
|
1157
|
+
return d === p;
|
|
1122
1158
|
}
|
|
1123
1159
|
});
|
|
1124
1160
|
return i && !n || !i && n;
|
|
1125
1161
|
});
|
|
1126
1162
|
}
|
|
1127
|
-
function
|
|
1163
|
+
function Eo(e) {
|
|
1128
1164
|
return e.split(",").map(function(t) {
|
|
1129
1165
|
t = t.trim();
|
|
1130
|
-
var o = t.match(
|
|
1166
|
+
var o = t.match(Ni), n = o[1], a = o[2], i = o[3] || "", r = {};
|
|
1131
1167
|
return r.inverse = !!n && n.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
1132
|
-
var
|
|
1168
|
+
var l = s.match(Ei), p = l[1].toLowerCase().match(Ii);
|
|
1133
1169
|
return {
|
|
1134
|
-
modifier:
|
|
1135
|
-
feature:
|
|
1136
|
-
value:
|
|
1170
|
+
modifier: p[1],
|
|
1171
|
+
feature: p[2],
|
|
1172
|
+
value: l[2]
|
|
1137
1173
|
};
|
|
1138
1174
|
}), r;
|
|
1139
1175
|
});
|
|
1140
1176
|
}
|
|
1141
|
-
function
|
|
1177
|
+
function $t(e) {
|
|
1142
1178
|
var t = Number(e), o;
|
|
1143
1179
|
return t || (o = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = o[1] / o[2]), t;
|
|
1144
1180
|
}
|
|
1145
|
-
function
|
|
1146
|
-
var t = parseFloat(e), o = String(e).match(
|
|
1181
|
+
function Ht(e) {
|
|
1182
|
+
var t = parseFloat(e), o = String(e).match(Li)[1];
|
|
1147
1183
|
switch (o) {
|
|
1148
1184
|
case "dpcm":
|
|
1149
1185
|
return t / 2.54;
|
|
@@ -1153,8 +1189,8 @@ function $t(e) {
|
|
|
1153
1189
|
return t;
|
|
1154
1190
|
}
|
|
1155
1191
|
}
|
|
1156
|
-
function
|
|
1157
|
-
var t = parseFloat(e), o = String(e).match(
|
|
1192
|
+
function Vt(e) {
|
|
1193
|
+
var t = parseFloat(e), o = String(e).match(Si)[1];
|
|
1158
1194
|
switch (o) {
|
|
1159
1195
|
case "em":
|
|
1160
1196
|
return t * 16;
|
|
@@ -1174,39 +1210,39 @@ function Ht(e) {
|
|
|
1174
1210
|
return t;
|
|
1175
1211
|
}
|
|
1176
1212
|
}
|
|
1177
|
-
var
|
|
1178
|
-
function
|
|
1213
|
+
var Fi = Mt.match, Yt = typeof window < "u" ? window.matchMedia : null;
|
|
1214
|
+
function Ai(e, t, o) {
|
|
1179
1215
|
var n = this, a;
|
|
1180
|
-
|
|
1181
|
-
function i(
|
|
1182
|
-
a && a.addListener(
|
|
1216
|
+
Yt && !o && (a = Yt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = Fi(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = l;
|
|
1217
|
+
function i(p) {
|
|
1218
|
+
a && a.addListener(p);
|
|
1183
1219
|
}
|
|
1184
|
-
function r(
|
|
1185
|
-
a && a.removeListener(
|
|
1220
|
+
function r(p) {
|
|
1221
|
+
a && a.removeListener(p);
|
|
1186
1222
|
}
|
|
1187
|
-
function s(
|
|
1188
|
-
n.matches =
|
|
1223
|
+
function s(p) {
|
|
1224
|
+
n.matches = p.matches, n.media = p.media;
|
|
1189
1225
|
}
|
|
1190
|
-
function
|
|
1226
|
+
function l() {
|
|
1191
1227
|
a && a.removeListener(s);
|
|
1192
1228
|
}
|
|
1193
1229
|
}
|
|
1194
|
-
function
|
|
1195
|
-
return new
|
|
1230
|
+
function ji(e, t, o) {
|
|
1231
|
+
return new Ai(e, t, o);
|
|
1196
1232
|
}
|
|
1197
|
-
var
|
|
1198
|
-
const
|
|
1199
|
-
var
|
|
1200
|
-
function
|
|
1233
|
+
var Bi = ji;
|
|
1234
|
+
const Di = /* @__PURE__ */ No(Bi);
|
|
1235
|
+
var Mi = /[A-Z]/g, zi = /^ms-/, vt = {};
|
|
1236
|
+
function Pi(e) {
|
|
1201
1237
|
return "-" + e.toLowerCase();
|
|
1202
1238
|
}
|
|
1203
|
-
function
|
|
1204
|
-
if (
|
|
1205
|
-
return
|
|
1206
|
-
var t = e.replace(
|
|
1207
|
-
return
|
|
1239
|
+
function Io(e) {
|
|
1240
|
+
if (vt.hasOwnProperty(e))
|
|
1241
|
+
return vt[e];
|
|
1242
|
+
var t = e.replace(Mi, Pi);
|
|
1243
|
+
return vt[e] = zi.test(t) ? "-" + t : t;
|
|
1208
1244
|
}
|
|
1209
|
-
function
|
|
1245
|
+
function Oi(e, t) {
|
|
1210
1246
|
if (e === t)
|
|
1211
1247
|
return !0;
|
|
1212
1248
|
if (!e || !t)
|
|
@@ -1221,7 +1257,7 @@ function Ai(e, t) {
|
|
|
1221
1257
|
}
|
|
1222
1258
|
return !0;
|
|
1223
1259
|
}
|
|
1224
|
-
var
|
|
1260
|
+
var Et = { exports: {} }, Qe = { exports: {} }, Z = {};
|
|
1225
1261
|
/** @license React v16.13.1
|
|
1226
1262
|
* react-is.production.min.js
|
|
1227
1263
|
*
|
|
@@ -1230,19 +1266,19 @@ var Nt = { exports: {} }, Ze = { exports: {} }, Z = {};
|
|
|
1230
1266
|
* This source code is licensed under the MIT license found in the
|
|
1231
1267
|
* LICENSE file in the root directory of this source tree.
|
|
1232
1268
|
*/
|
|
1233
|
-
var
|
|
1234
|
-
function
|
|
1235
|
-
if (
|
|
1236
|
-
|
|
1237
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110,
|
|
1269
|
+
var Gt;
|
|
1270
|
+
function Wi() {
|
|
1271
|
+
if (Gt) return Z;
|
|
1272
|
+
Gt = 1;
|
|
1273
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
1238
1274
|
function F(m) {
|
|
1239
1275
|
if (typeof m == "object" && m !== null) {
|
|
1240
1276
|
var N = m.$$typeof;
|
|
1241
1277
|
switch (N) {
|
|
1242
1278
|
case t:
|
|
1243
1279
|
switch (m = m.type, m) {
|
|
1244
|
-
case p:
|
|
1245
1280
|
case l:
|
|
1281
|
+
case p:
|
|
1246
1282
|
case n:
|
|
1247
1283
|
case i:
|
|
1248
1284
|
case a:
|
|
@@ -1266,10 +1302,10 @@ function ji() {
|
|
|
1266
1302
|
}
|
|
1267
1303
|
}
|
|
1268
1304
|
function y(m) {
|
|
1269
|
-
return F(m) ===
|
|
1305
|
+
return F(m) === p;
|
|
1270
1306
|
}
|
|
1271
|
-
return Z.AsyncMode =
|
|
1272
|
-
return y(m) || F(m) ===
|
|
1307
|
+
return Z.AsyncMode = l, Z.ConcurrentMode = p, Z.ContextConsumer = s, Z.ContextProvider = r, Z.Element = t, Z.ForwardRef = d, Z.Fragment = n, Z.Lazy = x, Z.Memo = h, Z.Portal = o, Z.Profiler = i, Z.StrictMode = a, Z.Suspense = u, Z.isAsyncMode = function(m) {
|
|
1308
|
+
return y(m) || F(m) === l;
|
|
1273
1309
|
}, Z.isConcurrentMode = y, Z.isContextConsumer = function(m) {
|
|
1274
1310
|
return F(m) === s;
|
|
1275
1311
|
}, Z.isContextProvider = function(m) {
|
|
@@ -1293,7 +1329,7 @@ function ji() {
|
|
|
1293
1329
|
}, Z.isSuspense = function(m) {
|
|
1294
1330
|
return F(m) === u;
|
|
1295
1331
|
}, Z.isValidElementType = function(m) {
|
|
1296
|
-
return typeof m == "string" || typeof m == "function" || m === n || m ===
|
|
1332
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === p || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === x || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === d || m.$$typeof === R || m.$$typeof === A || m.$$typeof === U || m.$$typeof === w);
|
|
1297
1333
|
}, Z.typeOf = F, Z;
|
|
1298
1334
|
}
|
|
1299
1335
|
var Q = {};
|
|
@@ -1305,30 +1341,30 @@ var Q = {};
|
|
|
1305
1341
|
* This source code is licensed under the MIT license found in the
|
|
1306
1342
|
* LICENSE file in the root directory of this source tree.
|
|
1307
1343
|
*/
|
|
1308
|
-
var
|
|
1309
|
-
function
|
|
1310
|
-
return
|
|
1311
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110,
|
|
1344
|
+
var Kt;
|
|
1345
|
+
function Ui() {
|
|
1346
|
+
return Kt || (Kt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1347
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
1312
1348
|
function F(b) {
|
|
1313
1349
|
return typeof b == "string" || typeof b == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1314
|
-
b === n || b ===
|
|
1350
|
+
b === n || b === p || b === i || b === a || b === u || b === g || typeof b == "object" && b !== null && (b.$$typeof === x || b.$$typeof === h || b.$$typeof === r || b.$$typeof === s || b.$$typeof === d || b.$$typeof === R || b.$$typeof === A || b.$$typeof === U || b.$$typeof === w);
|
|
1315
1351
|
}
|
|
1316
1352
|
function y(b) {
|
|
1317
1353
|
if (typeof b == "object" && b !== null) {
|
|
1318
1354
|
var he = b.$$typeof;
|
|
1319
1355
|
switch (he) {
|
|
1320
1356
|
case t:
|
|
1321
|
-
var
|
|
1322
|
-
switch (
|
|
1323
|
-
case p:
|
|
1357
|
+
var Se = b.type;
|
|
1358
|
+
switch (Se) {
|
|
1324
1359
|
case l:
|
|
1360
|
+
case p:
|
|
1325
1361
|
case n:
|
|
1326
1362
|
case i:
|
|
1327
1363
|
case a:
|
|
1328
1364
|
case u:
|
|
1329
|
-
return
|
|
1365
|
+
return Se;
|
|
1330
1366
|
default:
|
|
1331
|
-
var Pe =
|
|
1367
|
+
var Pe = Se && Se.$$typeof;
|
|
1332
1368
|
switch (Pe) {
|
|
1333
1369
|
case s:
|
|
1334
1370
|
case d:
|
|
@@ -1345,38 +1381,38 @@ function Di() {
|
|
|
1345
1381
|
}
|
|
1346
1382
|
}
|
|
1347
1383
|
}
|
|
1348
|
-
var m =
|
|
1384
|
+
var m = l, N = p, O = s, G = r, J = t, ne = d, ue = n, _e = x, pe = h, X = o, T = i, M = a, q = u, V = !1;
|
|
1349
1385
|
function te(b) {
|
|
1350
|
-
return V || (V = !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.")), _(b) || y(b) ===
|
|
1386
|
+
return V || (V = !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.")), _(b) || y(b) === l;
|
|
1351
1387
|
}
|
|
1352
1388
|
function _(b) {
|
|
1353
|
-
return y(b) ===
|
|
1389
|
+
return y(b) === p;
|
|
1354
1390
|
}
|
|
1355
1391
|
function v(b) {
|
|
1356
1392
|
return y(b) === s;
|
|
1357
1393
|
}
|
|
1358
|
-
function
|
|
1394
|
+
function S(b) {
|
|
1359
1395
|
return y(b) === r;
|
|
1360
1396
|
}
|
|
1361
1397
|
function L(b) {
|
|
1362
1398
|
return typeof b == "object" && b !== null && b.$$typeof === t;
|
|
1363
1399
|
}
|
|
1364
|
-
function
|
|
1400
|
+
function I(b) {
|
|
1365
1401
|
return y(b) === d;
|
|
1366
1402
|
}
|
|
1367
|
-
function
|
|
1403
|
+
function z(b) {
|
|
1368
1404
|
return y(b) === n;
|
|
1369
1405
|
}
|
|
1370
|
-
function
|
|
1406
|
+
function B(b) {
|
|
1371
1407
|
return y(b) === x;
|
|
1372
1408
|
}
|
|
1373
|
-
function
|
|
1409
|
+
function W(b) {
|
|
1374
1410
|
return y(b) === h;
|
|
1375
1411
|
}
|
|
1376
1412
|
function H(b) {
|
|
1377
1413
|
return y(b) === o;
|
|
1378
1414
|
}
|
|
1379
|
-
function
|
|
1415
|
+
function K(b) {
|
|
1380
1416
|
return y(b) === i;
|
|
1381
1417
|
}
|
|
1382
1418
|
function $(b) {
|
|
@@ -1385,22 +1421,22 @@ function Di() {
|
|
|
1385
1421
|
function ie(b) {
|
|
1386
1422
|
return y(b) === u;
|
|
1387
1423
|
}
|
|
1388
|
-
Q.AsyncMode = m, Q.ConcurrentMode = N, Q.ContextConsumer =
|
|
1424
|
+
Q.AsyncMode = m, Q.ConcurrentMode = N, Q.ContextConsumer = O, Q.ContextProvider = G, Q.Element = J, Q.ForwardRef = ne, Q.Fragment = ue, Q.Lazy = _e, Q.Memo = pe, Q.Portal = X, Q.Profiler = T, Q.StrictMode = M, Q.Suspense = q, Q.isAsyncMode = te, Q.isConcurrentMode = _, Q.isContextConsumer = v, Q.isContextProvider = S, Q.isElement = L, Q.isForwardRef = I, Q.isFragment = z, Q.isLazy = B, Q.isMemo = W, Q.isPortal = H, Q.isProfiler = K, Q.isStrictMode = $, Q.isSuspense = ie, Q.isValidElementType = F, Q.typeOf = y;
|
|
1389
1425
|
}()), Q;
|
|
1390
1426
|
}
|
|
1391
|
-
var
|
|
1427
|
+
var Xt;
|
|
1392
1428
|
function So() {
|
|
1393
|
-
return
|
|
1429
|
+
return Xt || (Xt = 1, process.env.NODE_ENV === "production" ? Qe.exports = Wi() : Qe.exports = Ui()), Qe.exports;
|
|
1394
1430
|
}
|
|
1395
1431
|
/*
|
|
1396
1432
|
object-assign
|
|
1397
1433
|
(c) Sindre Sorhus
|
|
1398
1434
|
@license MIT
|
|
1399
1435
|
*/
|
|
1400
|
-
var
|
|
1401
|
-
function
|
|
1402
|
-
if (
|
|
1403
|
-
|
|
1436
|
+
var gt, Zt;
|
|
1437
|
+
function qi() {
|
|
1438
|
+
if (Zt) return gt;
|
|
1439
|
+
Zt = 1;
|
|
1404
1440
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
1405
1441
|
function n(i) {
|
|
1406
1442
|
if (i == null)
|
|
@@ -1416,52 +1452,52 @@ function Mi() {
|
|
|
1416
1452
|
return !1;
|
|
1417
1453
|
for (var r = {}, s = 0; s < 10; s++)
|
|
1418
1454
|
r["_" + String.fromCharCode(s)] = s;
|
|
1419
|
-
var
|
|
1455
|
+
var l = Object.getOwnPropertyNames(r).map(function(d) {
|
|
1420
1456
|
return r[d];
|
|
1421
1457
|
});
|
|
1422
|
-
if (
|
|
1458
|
+
if (l.join("") !== "0123456789")
|
|
1423
1459
|
return !1;
|
|
1424
|
-
var
|
|
1460
|
+
var p = {};
|
|
1425
1461
|
return "abcdefghijklmnopqrst".split("").forEach(function(d) {
|
|
1426
|
-
|
|
1427
|
-
}), Object.keys(Object.assign({},
|
|
1462
|
+
p[d] = d;
|
|
1463
|
+
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
|
|
1428
1464
|
} catch {
|
|
1429
1465
|
return !1;
|
|
1430
1466
|
}
|
|
1431
1467
|
}
|
|
1432
|
-
return
|
|
1433
|
-
for (var s,
|
|
1468
|
+
return gt = a() ? Object.assign : function(i, r) {
|
|
1469
|
+
for (var s, l = n(i), p, d = 1; d < arguments.length; d++) {
|
|
1434
1470
|
s = Object(arguments[d]);
|
|
1435
1471
|
for (var u in s)
|
|
1436
|
-
t.call(s, u) && (
|
|
1472
|
+
t.call(s, u) && (l[u] = s[u]);
|
|
1437
1473
|
if (e) {
|
|
1438
|
-
|
|
1439
|
-
for (var g = 0; g <
|
|
1440
|
-
o.call(s,
|
|
1474
|
+
p = e(s);
|
|
1475
|
+
for (var g = 0; g < p.length; g++)
|
|
1476
|
+
o.call(s, p[g]) && (l[p[g]] = s[p[g]]);
|
|
1441
1477
|
}
|
|
1442
1478
|
}
|
|
1443
|
-
return
|
|
1444
|
-
},
|
|
1445
|
-
}
|
|
1446
|
-
var gt, Zt;
|
|
1447
|
-
function Bt() {
|
|
1448
|
-
if (Zt) return gt;
|
|
1449
|
-
Zt = 1;
|
|
1450
|
-
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
1451
|
-
return gt = e, gt;
|
|
1479
|
+
return l;
|
|
1480
|
+
}, gt;
|
|
1452
1481
|
}
|
|
1453
1482
|
var xt, Qt;
|
|
1454
|
-
function
|
|
1455
|
-
|
|
1483
|
+
function zt() {
|
|
1484
|
+
if (Qt) return xt;
|
|
1485
|
+
Qt = 1;
|
|
1486
|
+
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
1487
|
+
return xt = e, xt;
|
|
1456
1488
|
}
|
|
1457
1489
|
var ht, Jt;
|
|
1458
|
-
function
|
|
1459
|
-
|
|
1460
|
-
|
|
1490
|
+
function Lo() {
|
|
1491
|
+
return Jt || (Jt = 1, ht = Function.call.bind(Object.prototype.hasOwnProperty)), ht;
|
|
1492
|
+
}
|
|
1493
|
+
var bt, eo;
|
|
1494
|
+
function $i() {
|
|
1495
|
+
if (eo) return bt;
|
|
1496
|
+
eo = 1;
|
|
1461
1497
|
var e = function() {
|
|
1462
1498
|
};
|
|
1463
1499
|
if (process.env.NODE_ENV !== "production") {
|
|
1464
|
-
var t =
|
|
1500
|
+
var t = zt(), o = {}, n = Lo();
|
|
1465
1501
|
e = function(i) {
|
|
1466
1502
|
var r = "Warning: " + i;
|
|
1467
1503
|
typeof console < "u" && console.error(r);
|
|
@@ -1471,7 +1507,7 @@ function Bi() {
|
|
|
1471
1507
|
}
|
|
1472
1508
|
};
|
|
1473
1509
|
}
|
|
1474
|
-
function a(i, r, s,
|
|
1510
|
+
function a(i, r, s, l, p) {
|
|
1475
1511
|
if (process.env.NODE_ENV !== "production") {
|
|
1476
1512
|
for (var d in i)
|
|
1477
1513
|
if (n(i, d)) {
|
|
@@ -1479,19 +1515,19 @@ function Bi() {
|
|
|
1479
1515
|
try {
|
|
1480
1516
|
if (typeof i[d] != "function") {
|
|
1481
1517
|
var g = Error(
|
|
1482
|
-
(
|
|
1518
|
+
(l || "React class") + ": " + s + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
1483
1519
|
);
|
|
1484
1520
|
throw g.name = "Invariant Violation", g;
|
|
1485
1521
|
}
|
|
1486
|
-
u = i[d](r, d,
|
|
1522
|
+
u = i[d](r, d, l, s, null, t);
|
|
1487
1523
|
} catch (x) {
|
|
1488
1524
|
u = x;
|
|
1489
1525
|
}
|
|
1490
1526
|
if (u && !(u instanceof Error) && e(
|
|
1491
|
-
(
|
|
1527
|
+
(l || "React class") + ": type specification of " + s + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1492
1528
|
), u instanceof Error && !(u.message in o)) {
|
|
1493
1529
|
o[u.message] = !0;
|
|
1494
|
-
var h =
|
|
1530
|
+
var h = p ? p() : "";
|
|
1495
1531
|
e(
|
|
1496
1532
|
"Failed " + s + " type: " + u.message + (h ?? "")
|
|
1497
1533
|
);
|
|
@@ -1501,29 +1537,29 @@ function Bi() {
|
|
|
1501
1537
|
}
|
|
1502
1538
|
return a.resetWarningCache = function() {
|
|
1503
1539
|
process.env.NODE_ENV !== "production" && (o = {});
|
|
1504
|
-
},
|
|
1540
|
+
}, bt = a, bt;
|
|
1505
1541
|
}
|
|
1506
|
-
var
|
|
1507
|
-
function
|
|
1508
|
-
if (
|
|
1509
|
-
|
|
1510
|
-
var e = So(), t =
|
|
1542
|
+
var yt, to;
|
|
1543
|
+
function Hi() {
|
|
1544
|
+
if (to) return yt;
|
|
1545
|
+
to = 1;
|
|
1546
|
+
var e = So(), t = qi(), o = zt(), n = Lo(), a = $i(), i = function() {
|
|
1511
1547
|
};
|
|
1512
1548
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1513
|
-
var
|
|
1514
|
-
typeof console < "u" && console.error(
|
|
1549
|
+
var l = "Warning: " + s;
|
|
1550
|
+
typeof console < "u" && console.error(l);
|
|
1515
1551
|
try {
|
|
1516
|
-
throw new Error(
|
|
1552
|
+
throw new Error(l);
|
|
1517
1553
|
} catch {
|
|
1518
1554
|
}
|
|
1519
1555
|
});
|
|
1520
1556
|
function r() {
|
|
1521
1557
|
return null;
|
|
1522
1558
|
}
|
|
1523
|
-
return
|
|
1524
|
-
var
|
|
1559
|
+
return yt = function(s, l) {
|
|
1560
|
+
var p = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
|
|
1525
1561
|
function u(_) {
|
|
1526
|
-
var v = _ && (
|
|
1562
|
+
var v = _ && (p && _[p] || _[d]);
|
|
1527
1563
|
if (typeof v == "function")
|
|
1528
1564
|
return v;
|
|
1529
1565
|
}
|
|
@@ -1542,11 +1578,11 @@ function Pi() {
|
|
|
1542
1578
|
elementType: m(),
|
|
1543
1579
|
instanceOf: N,
|
|
1544
1580
|
node: ne(),
|
|
1545
|
-
objectOf:
|
|
1546
|
-
oneOf:
|
|
1581
|
+
objectOf: G,
|
|
1582
|
+
oneOf: O,
|
|
1547
1583
|
oneOfType: J,
|
|
1548
|
-
shape:
|
|
1549
|
-
exact:
|
|
1584
|
+
shape: _e,
|
|
1585
|
+
exact: pe
|
|
1550
1586
|
};
|
|
1551
1587
|
function x(_, v) {
|
|
1552
1588
|
return _ === v ? _ !== 0 || 1 / _ === 1 / v : _ !== _ && v !== v;
|
|
@@ -1557,34 +1593,34 @@ function Pi() {
|
|
|
1557
1593
|
w.prototype = Error.prototype;
|
|
1558
1594
|
function R(_) {
|
|
1559
1595
|
if (process.env.NODE_ENV !== "production")
|
|
1560
|
-
var v = {},
|
|
1561
|
-
function L(
|
|
1562
|
-
if (H = H || g, $ = $ ||
|
|
1563
|
-
if (
|
|
1596
|
+
var v = {}, S = 0;
|
|
1597
|
+
function L(z, B, W, H, K, $, ie) {
|
|
1598
|
+
if (H = H || g, $ = $ || W, ie !== o) {
|
|
1599
|
+
if (l) {
|
|
1564
1600
|
var b = new Error(
|
|
1565
1601
|
"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"
|
|
1566
1602
|
);
|
|
1567
1603
|
throw b.name = "Invariant Violation", b;
|
|
1568
1604
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1569
|
-
var he = H + ":" +
|
|
1605
|
+
var he = H + ":" + W;
|
|
1570
1606
|
!v[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1571
|
-
|
|
1607
|
+
S < 3 && (i(
|
|
1572
1608
|
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + H + "`. 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."
|
|
1573
|
-
), v[he] = !0,
|
|
1609
|
+
), v[he] = !0, S++);
|
|
1574
1610
|
}
|
|
1575
1611
|
}
|
|
1576
|
-
return
|
|
1612
|
+
return B[W] == null ? z ? B[W] === null ? new w("The " + K + " `" + $ + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new w("The " + K + " `" + $ + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : _(B, W, H, K, $);
|
|
1577
1613
|
}
|
|
1578
|
-
var
|
|
1579
|
-
return
|
|
1614
|
+
var I = L.bind(null, !1);
|
|
1615
|
+
return I.isRequired = L.bind(null, !0), I;
|
|
1580
1616
|
}
|
|
1581
1617
|
function A(_) {
|
|
1582
|
-
function v(
|
|
1583
|
-
var H =
|
|
1584
|
-
if (
|
|
1618
|
+
function v(S, L, I, z, B, W) {
|
|
1619
|
+
var H = S[L], K = M(H);
|
|
1620
|
+
if (K !== _) {
|
|
1585
1621
|
var $ = q(H);
|
|
1586
1622
|
return new w(
|
|
1587
|
-
"Invalid " +
|
|
1623
|
+
"Invalid " + z + " `" + B + "` of type " + ("`" + $ + "` supplied to `" + I + "`, expected ") + ("`" + _ + "`."),
|
|
1588
1624
|
{ expectedType: _ }
|
|
1589
1625
|
);
|
|
1590
1626
|
}
|
|
@@ -1596,16 +1632,16 @@ function Pi() {
|
|
|
1596
1632
|
return R(r);
|
|
1597
1633
|
}
|
|
1598
1634
|
function F(_) {
|
|
1599
|
-
function v(
|
|
1635
|
+
function v(S, L, I, z, B) {
|
|
1600
1636
|
if (typeof _ != "function")
|
|
1601
|
-
return new w("Property `" +
|
|
1602
|
-
var
|
|
1603
|
-
if (!Array.isArray(
|
|
1604
|
-
var H =
|
|
1605
|
-
return new w("Invalid " +
|
|
1637
|
+
return new w("Property `" + B + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
|
|
1638
|
+
var W = S[L];
|
|
1639
|
+
if (!Array.isArray(W)) {
|
|
1640
|
+
var H = M(W);
|
|
1641
|
+
return new w("Invalid " + z + " `" + B + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected an array."));
|
|
1606
1642
|
}
|
|
1607
|
-
for (var
|
|
1608
|
-
var $ = _(
|
|
1643
|
+
for (var K = 0; K < W.length; K++) {
|
|
1644
|
+
var $ = _(W, K, I, z, B + "[" + K + "]", o);
|
|
1609
1645
|
if ($ instanceof Error)
|
|
1610
1646
|
return $;
|
|
1611
1647
|
}
|
|
@@ -1614,64 +1650,64 @@ function Pi() {
|
|
|
1614
1650
|
return R(v);
|
|
1615
1651
|
}
|
|
1616
1652
|
function y() {
|
|
1617
|
-
function _(v,
|
|
1618
|
-
var
|
|
1619
|
-
if (!s(
|
|
1620
|
-
var
|
|
1621
|
-
return new w("Invalid " +
|
|
1653
|
+
function _(v, S, L, I, z) {
|
|
1654
|
+
var B = v[S];
|
|
1655
|
+
if (!s(B)) {
|
|
1656
|
+
var W = M(B);
|
|
1657
|
+
return new w("Invalid " + I + " `" + z + "` of type " + ("`" + W + "` supplied to `" + L + "`, expected a single ReactElement."));
|
|
1622
1658
|
}
|
|
1623
1659
|
return null;
|
|
1624
1660
|
}
|
|
1625
1661
|
return R(_);
|
|
1626
1662
|
}
|
|
1627
1663
|
function m() {
|
|
1628
|
-
function _(v,
|
|
1629
|
-
var
|
|
1630
|
-
if (!e.isValidElementType(
|
|
1631
|
-
var
|
|
1632
|
-
return new w("Invalid " +
|
|
1664
|
+
function _(v, S, L, I, z) {
|
|
1665
|
+
var B = v[S];
|
|
1666
|
+
if (!e.isValidElementType(B)) {
|
|
1667
|
+
var W = M(B);
|
|
1668
|
+
return new w("Invalid " + I + " `" + z + "` of type " + ("`" + W + "` supplied to `" + L + "`, expected a single ReactElement type."));
|
|
1633
1669
|
}
|
|
1634
1670
|
return null;
|
|
1635
1671
|
}
|
|
1636
1672
|
return R(_);
|
|
1637
1673
|
}
|
|
1638
1674
|
function N(_) {
|
|
1639
|
-
function v(
|
|
1640
|
-
if (!(
|
|
1641
|
-
var
|
|
1642
|
-
return new w("Invalid " +
|
|
1675
|
+
function v(S, L, I, z, B) {
|
|
1676
|
+
if (!(S[L] instanceof _)) {
|
|
1677
|
+
var W = _.name || g, H = te(S[L]);
|
|
1678
|
+
return new w("Invalid " + z + " `" + B + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected ") + ("instance of `" + W + "`."));
|
|
1643
1679
|
}
|
|
1644
1680
|
return null;
|
|
1645
1681
|
}
|
|
1646
1682
|
return R(v);
|
|
1647
1683
|
}
|
|
1648
|
-
function
|
|
1684
|
+
function O(_) {
|
|
1649
1685
|
if (!Array.isArray(_))
|
|
1650
1686
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1651
1687
|
"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])."
|
|
1652
1688
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1653
|
-
function v(
|
|
1654
|
-
for (var
|
|
1655
|
-
if (x(
|
|
1689
|
+
function v(S, L, I, z, B) {
|
|
1690
|
+
for (var W = S[L], H = 0; H < _.length; H++)
|
|
1691
|
+
if (x(W, _[H]))
|
|
1656
1692
|
return null;
|
|
1657
|
-
var
|
|
1693
|
+
var K = JSON.stringify(_, function(ie, b) {
|
|
1658
1694
|
var he = q(b);
|
|
1659
1695
|
return he === "symbol" ? String(b) : b;
|
|
1660
1696
|
});
|
|
1661
|
-
return new w("Invalid " +
|
|
1697
|
+
return new w("Invalid " + z + " `" + B + "` of value `" + String(W) + "` " + ("supplied to `" + I + "`, expected one of " + K + "."));
|
|
1662
1698
|
}
|
|
1663
1699
|
return R(v);
|
|
1664
1700
|
}
|
|
1665
|
-
function
|
|
1666
|
-
function v(
|
|
1701
|
+
function G(_) {
|
|
1702
|
+
function v(S, L, I, z, B) {
|
|
1667
1703
|
if (typeof _ != "function")
|
|
1668
|
-
return new w("Property `" +
|
|
1669
|
-
var
|
|
1704
|
+
return new w("Property `" + B + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
|
|
1705
|
+
var W = S[L], H = M(W);
|
|
1670
1706
|
if (H !== "object")
|
|
1671
|
-
return new w("Invalid " +
|
|
1672
|
-
for (var
|
|
1673
|
-
if (n(
|
|
1674
|
-
var $ = _(
|
|
1707
|
+
return new w("Invalid " + z + " `" + B + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected an object."));
|
|
1708
|
+
for (var K in W)
|
|
1709
|
+
if (n(W, K)) {
|
|
1710
|
+
var $ = _(W, K, I, z, B + "." + K, o);
|
|
1675
1711
|
if ($ instanceof Error)
|
|
1676
1712
|
return $;
|
|
1677
1713
|
}
|
|
@@ -1683,45 +1719,45 @@ function Pi() {
|
|
|
1683
1719
|
if (!Array.isArray(_))
|
|
1684
1720
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1685
1721
|
for (var v = 0; v < _.length; v++) {
|
|
1686
|
-
var
|
|
1687
|
-
if (typeof
|
|
1722
|
+
var S = _[v];
|
|
1723
|
+
if (typeof S != "function")
|
|
1688
1724
|
return i(
|
|
1689
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V(
|
|
1725
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V(S) + " at index " + v + "."
|
|
1690
1726
|
), r;
|
|
1691
1727
|
}
|
|
1692
|
-
function L(
|
|
1693
|
-
for (var
|
|
1694
|
-
var ie = _[$], b = ie(
|
|
1728
|
+
function L(I, z, B, W, H) {
|
|
1729
|
+
for (var K = [], $ = 0; $ < _.length; $++) {
|
|
1730
|
+
var ie = _[$], b = ie(I, z, B, W, H, o);
|
|
1695
1731
|
if (b == null)
|
|
1696
1732
|
return null;
|
|
1697
|
-
b.data && n(b.data, "expectedType") &&
|
|
1733
|
+
b.data && n(b.data, "expectedType") && K.push(b.data.expectedType);
|
|
1698
1734
|
}
|
|
1699
|
-
var he =
|
|
1700
|
-
return new w("Invalid " +
|
|
1735
|
+
var he = K.length > 0 ? ", expected one of type [" + K.join(", ") + "]" : "";
|
|
1736
|
+
return new w("Invalid " + W + " `" + H + "` supplied to " + ("`" + B + "`" + he + "."));
|
|
1701
1737
|
}
|
|
1702
1738
|
return R(L);
|
|
1703
1739
|
}
|
|
1704
1740
|
function ne() {
|
|
1705
|
-
function _(v,
|
|
1706
|
-
return X(v[
|
|
1741
|
+
function _(v, S, L, I, z) {
|
|
1742
|
+
return X(v[S]) ? null : new w("Invalid " + I + " `" + z + "` supplied to " + ("`" + L + "`, expected a ReactNode."));
|
|
1707
1743
|
}
|
|
1708
1744
|
return R(_);
|
|
1709
1745
|
}
|
|
1710
|
-
function
|
|
1746
|
+
function ue(_, v, S, L, I) {
|
|
1711
1747
|
return new w(
|
|
1712
|
-
(_ || "React class") + ": " + v + " type `" +
|
|
1748
|
+
(_ || "React class") + ": " + v + " type `" + S + "." + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
|
|
1713
1749
|
);
|
|
1714
1750
|
}
|
|
1715
|
-
function
|
|
1716
|
-
function v(
|
|
1717
|
-
var
|
|
1751
|
+
function _e(_) {
|
|
1752
|
+
function v(S, L, I, z, B) {
|
|
1753
|
+
var W = S[L], H = M(W);
|
|
1718
1754
|
if (H !== "object")
|
|
1719
|
-
return new w("Invalid " +
|
|
1720
|
-
for (var
|
|
1721
|
-
var $ = _[
|
|
1755
|
+
return new w("Invalid " + z + " `" + B + "` of type `" + H + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1756
|
+
for (var K in _) {
|
|
1757
|
+
var $ = _[K];
|
|
1722
1758
|
if (typeof $ != "function")
|
|
1723
|
-
return
|
|
1724
|
-
var ie = $(
|
|
1759
|
+
return ue(I, z, B, K, q($));
|
|
1760
|
+
var ie = $(W, K, I, z, B + "." + K, o);
|
|
1725
1761
|
if (ie)
|
|
1726
1762
|
return ie;
|
|
1727
1763
|
}
|
|
@@ -1729,22 +1765,22 @@ function Pi() {
|
|
|
1729
1765
|
}
|
|
1730
1766
|
return R(v);
|
|
1731
1767
|
}
|
|
1732
|
-
function
|
|
1733
|
-
function v(
|
|
1734
|
-
var
|
|
1768
|
+
function pe(_) {
|
|
1769
|
+
function v(S, L, I, z, B) {
|
|
1770
|
+
var W = S[L], H = M(W);
|
|
1735
1771
|
if (H !== "object")
|
|
1736
|
-
return new w("Invalid " +
|
|
1737
|
-
var
|
|
1738
|
-
for (var $ in
|
|
1772
|
+
return new w("Invalid " + z + " `" + B + "` of type `" + H + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1773
|
+
var K = t({}, S[L], _);
|
|
1774
|
+
for (var $ in K) {
|
|
1739
1775
|
var ie = _[$];
|
|
1740
1776
|
if (n(_, $) && typeof ie != "function")
|
|
1741
|
-
return
|
|
1777
|
+
return ue(I, z, B, $, q(ie));
|
|
1742
1778
|
if (!ie)
|
|
1743
1779
|
return new w(
|
|
1744
|
-
"Invalid " +
|
|
1780
|
+
"Invalid " + z + " `" + B + "` key `" + $ + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(S[L], null, " ") + `
|
|
1745
1781
|
Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
1746
1782
|
);
|
|
1747
|
-
var b = ie(
|
|
1783
|
+
var b = ie(W, $, I, z, B + "." + $, o);
|
|
1748
1784
|
if (b)
|
|
1749
1785
|
return b;
|
|
1750
1786
|
}
|
|
@@ -1767,15 +1803,15 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1767
1803
|
return !0;
|
|
1768
1804
|
var v = u(_);
|
|
1769
1805
|
if (v) {
|
|
1770
|
-
var
|
|
1806
|
+
var S = v.call(_), L;
|
|
1771
1807
|
if (v !== _.entries) {
|
|
1772
|
-
for (; !(L =
|
|
1808
|
+
for (; !(L = S.next()).done; )
|
|
1773
1809
|
if (!X(L.value))
|
|
1774
1810
|
return !1;
|
|
1775
1811
|
} else
|
|
1776
|
-
for (; !(L =
|
|
1777
|
-
var
|
|
1778
|
-
if (
|
|
1812
|
+
for (; !(L = S.next()).done; ) {
|
|
1813
|
+
var I = L.value;
|
|
1814
|
+
if (I && !X(I[1]))
|
|
1779
1815
|
return !1;
|
|
1780
1816
|
}
|
|
1781
1817
|
} else
|
|
@@ -1788,14 +1824,14 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1788
1824
|
function T(_, v) {
|
|
1789
1825
|
return _ === "symbol" ? !0 : v ? v["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && v instanceof Symbol : !1;
|
|
1790
1826
|
}
|
|
1791
|
-
function
|
|
1827
|
+
function M(_) {
|
|
1792
1828
|
var v = typeof _;
|
|
1793
1829
|
return Array.isArray(_) ? "array" : _ instanceof RegExp ? "object" : T(v, _) ? "symbol" : v;
|
|
1794
1830
|
}
|
|
1795
1831
|
function q(_) {
|
|
1796
1832
|
if (typeof _ > "u" || _ === null)
|
|
1797
1833
|
return "" + _;
|
|
1798
|
-
var v =
|
|
1834
|
+
var v = M(_);
|
|
1799
1835
|
if (v === "object") {
|
|
1800
1836
|
if (_ instanceof Date)
|
|
1801
1837
|
return "date";
|
|
@@ -1822,19 +1858,19 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1822
1858
|
return !_.constructor || !_.constructor.name ? g : _.constructor.name;
|
|
1823
1859
|
}
|
|
1824
1860
|
return h.checkPropTypes = a, h.resetWarningCache = a.resetWarningCache, h.PropTypes = h, h;
|
|
1825
|
-
},
|
|
1861
|
+
}, yt;
|
|
1826
1862
|
}
|
|
1827
|
-
var
|
|
1828
|
-
function
|
|
1829
|
-
if (
|
|
1830
|
-
|
|
1831
|
-
var e =
|
|
1863
|
+
var wt, oo;
|
|
1864
|
+
function Vi() {
|
|
1865
|
+
if (oo) return wt;
|
|
1866
|
+
oo = 1;
|
|
1867
|
+
var e = zt();
|
|
1832
1868
|
function t() {
|
|
1833
1869
|
}
|
|
1834
1870
|
function o() {
|
|
1835
1871
|
}
|
|
1836
|
-
return o.resetWarningCache = t,
|
|
1837
|
-
function n(r, s,
|
|
1872
|
+
return o.resetWarningCache = t, wt = function() {
|
|
1873
|
+
function n(r, s, l, p, d, u) {
|
|
1838
1874
|
if (u !== e) {
|
|
1839
1875
|
var g = new Error(
|
|
1840
1876
|
"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"
|
|
@@ -1870,15 +1906,15 @@ function zi() {
|
|
|
1870
1906
|
resetWarningCache: t
|
|
1871
1907
|
};
|
|
1872
1908
|
return i.PropTypes = i, i;
|
|
1873
|
-
},
|
|
1909
|
+
}, wt;
|
|
1874
1910
|
}
|
|
1875
1911
|
if (process.env.NODE_ENV !== "production") {
|
|
1876
|
-
var
|
|
1877
|
-
|
|
1912
|
+
var Yi = So(), Gi = !0;
|
|
1913
|
+
Et.exports = Hi()(Yi.isElement, Gi);
|
|
1878
1914
|
} else
|
|
1879
|
-
|
|
1880
|
-
var
|
|
1881
|
-
const E = /* @__PURE__ */
|
|
1915
|
+
Et.exports = Vi()();
|
|
1916
|
+
var Ki = Et.exports;
|
|
1917
|
+
const E = /* @__PURE__ */ No(Ki), ve = E.oneOfType([E.string, E.number]), Ro = {
|
|
1882
1918
|
all: E.bool,
|
|
1883
1919
|
grid: E.bool,
|
|
1884
1920
|
aural: E.bool,
|
|
@@ -1890,74 +1926,74 @@ const E = /* @__PURE__ */ To(Ui), fe = E.oneOfType([E.string, E.number]), Lo = {
|
|
|
1890
1926
|
tty: E.bool,
|
|
1891
1927
|
tv: E.bool,
|
|
1892
1928
|
embossed: E.bool
|
|
1893
|
-
},
|
|
1929
|
+
}, Xi = {
|
|
1894
1930
|
orientation: E.oneOf(["portrait", "landscape"]),
|
|
1895
1931
|
scan: E.oneOf(["progressive", "interlace"]),
|
|
1896
1932
|
aspectRatio: E.string,
|
|
1897
1933
|
deviceAspectRatio: E.string,
|
|
1898
|
-
height:
|
|
1899
|
-
deviceHeight:
|
|
1900
|
-
width:
|
|
1901
|
-
deviceWidth:
|
|
1934
|
+
height: ve,
|
|
1935
|
+
deviceHeight: ve,
|
|
1936
|
+
width: ve,
|
|
1937
|
+
deviceWidth: ve,
|
|
1902
1938
|
color: E.bool,
|
|
1903
1939
|
colorIndex: E.bool,
|
|
1904
1940
|
monochrome: E.bool,
|
|
1905
|
-
resolution:
|
|
1906
|
-
type: Object.keys(
|
|
1907
|
-
}, { type:
|
|
1941
|
+
resolution: ve,
|
|
1942
|
+
type: Object.keys(Ro)
|
|
1943
|
+
}, { type: Ql, ...Zi } = Xi, Qi = {
|
|
1908
1944
|
minAspectRatio: E.string,
|
|
1909
1945
|
maxAspectRatio: E.string,
|
|
1910
1946
|
minDeviceAspectRatio: E.string,
|
|
1911
1947
|
maxDeviceAspectRatio: E.string,
|
|
1912
|
-
minHeight:
|
|
1913
|
-
maxHeight:
|
|
1914
|
-
minDeviceHeight:
|
|
1915
|
-
maxDeviceHeight:
|
|
1916
|
-
minWidth:
|
|
1917
|
-
maxWidth:
|
|
1918
|
-
minDeviceWidth:
|
|
1919
|
-
maxDeviceWidth:
|
|
1948
|
+
minHeight: ve,
|
|
1949
|
+
maxHeight: ve,
|
|
1950
|
+
minDeviceHeight: ve,
|
|
1951
|
+
maxDeviceHeight: ve,
|
|
1952
|
+
minWidth: ve,
|
|
1953
|
+
maxWidth: ve,
|
|
1954
|
+
minDeviceWidth: ve,
|
|
1955
|
+
maxDeviceWidth: ve,
|
|
1920
1956
|
minColor: E.number,
|
|
1921
1957
|
maxColor: E.number,
|
|
1922
1958
|
minColorIndex: E.number,
|
|
1923
1959
|
maxColorIndex: E.number,
|
|
1924
1960
|
minMonochrome: E.number,
|
|
1925
1961
|
maxMonochrome: E.number,
|
|
1926
|
-
minResolution:
|
|
1927
|
-
maxResolution:
|
|
1928
|
-
|
|
1929
|
-
},
|
|
1930
|
-
var
|
|
1931
|
-
all:
|
|
1962
|
+
minResolution: ve,
|
|
1963
|
+
maxResolution: ve,
|
|
1964
|
+
...Zi
|
|
1965
|
+
}, Ji = { ...Ro, ...Qi };
|
|
1966
|
+
var er = {
|
|
1967
|
+
all: Ji
|
|
1932
1968
|
};
|
|
1933
|
-
const
|
|
1934
|
-
const o =
|
|
1935
|
-
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ?
|
|
1936
|
-
},
|
|
1969
|
+
const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
1970
|
+
const o = Io(e);
|
|
1971
|
+
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ? tr(o) : `(${o}: ${t})`;
|
|
1972
|
+
}, nr = (e) => e.join(" and "), ar = (e) => {
|
|
1937
1973
|
const t = [];
|
|
1938
|
-
return Object.keys(
|
|
1974
|
+
return Object.keys(er.all).forEach((o) => {
|
|
1939
1975
|
const n = e[o];
|
|
1940
|
-
n != null && t.push(
|
|
1941
|
-
}),
|
|
1942
|
-
},
|
|
1976
|
+
n != null && t.push(or(o, n));
|
|
1977
|
+
}), nr(t);
|
|
1978
|
+
}, ir = ho(void 0), rr = (e) => e.query || ar(e), no = (e) => e ? Object.keys(e).reduce((o, n) => (o[Io(n)] = e[n], o), {}) : void 0, Fo = () => {
|
|
1943
1979
|
const e = de(!1);
|
|
1944
1980
|
return re(() => {
|
|
1945
1981
|
e.current = !0;
|
|
1946
1982
|
}, []), e.current;
|
|
1947
|
-
},
|
|
1948
|
-
const t =
|
|
1983
|
+
}, sr = (e) => {
|
|
1984
|
+
const t = Zo(ir), o = () => no(e) || no(t), [n, a] = ee(o);
|
|
1949
1985
|
return re(() => {
|
|
1950
1986
|
const i = o();
|
|
1951
|
-
|
|
1987
|
+
Oi(n, i) || a(i);
|
|
1952
1988
|
}, [e, t]), n;
|
|
1953
|
-
},
|
|
1954
|
-
const t = () =>
|
|
1989
|
+
}, lr = (e) => {
|
|
1990
|
+
const t = () => rr(e), [o, n] = ee(t);
|
|
1955
1991
|
return re(() => {
|
|
1956
1992
|
const a = t();
|
|
1957
1993
|
o !== a && n(a);
|
|
1958
1994
|
}, [e]), o;
|
|
1959
|
-
},
|
|
1960
|
-
const o = () =>
|
|
1995
|
+
}, pr = (e, t) => {
|
|
1996
|
+
const o = () => Di(e, t || {}, !!t), [n, a] = ee(o), i = Fo();
|
|
1961
1997
|
return re(() => {
|
|
1962
1998
|
if (i) {
|
|
1963
1999
|
const r = o();
|
|
@@ -1966,7 +2002,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
1966
2002
|
};
|
|
1967
2003
|
}
|
|
1968
2004
|
}, [e, t]), n;
|
|
1969
|
-
},
|
|
2005
|
+
}, cr = (e) => {
|
|
1970
2006
|
const [t, o] = ee(e.matches);
|
|
1971
2007
|
return re(() => {
|
|
1972
2008
|
const n = (a) => {
|
|
@@ -1976,17 +2012,17 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
1976
2012
|
e.removeListener(n);
|
|
1977
2013
|
};
|
|
1978
2014
|
}, [e]), t;
|
|
1979
|
-
},
|
|
1980
|
-
const n =
|
|
2015
|
+
}, Ct = (e, t, o) => {
|
|
2016
|
+
const n = sr(t), a = lr(e);
|
|
1981
2017
|
if (!a)
|
|
1982
2018
|
throw new Error("Invalid or missing MediaQuery!");
|
|
1983
|
-
const i =
|
|
1984
|
-
return
|
|
2019
|
+
const i = pr(a, n), r = cr(i);
|
|
2020
|
+
return Fo(), re(() => {
|
|
1985
2021
|
}, [r]), re(() => () => {
|
|
1986
2022
|
i && i.dispose();
|
|
1987
2023
|
}, []), r;
|
|
1988
|
-
},
|
|
1989
|
-
const { desktop: t, tablet: o, mobile: n } = e, a =
|
|
2024
|
+
}, dr = (e) => {
|
|
2025
|
+
const { desktop: t, tablet: o, mobile: n } = e, a = Ct(t), i = Ct(o), r = Ct(n);
|
|
1990
2026
|
return {
|
|
1991
2027
|
device: {
|
|
1992
2028
|
isDesktop: a,
|
|
@@ -1994,7 +2030,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
1994
2030
|
isMobile: r
|
|
1995
2031
|
}
|
|
1996
2032
|
};
|
|
1997
|
-
},
|
|
2033
|
+
}, Jl = (e) => {
|
|
1998
2034
|
const {
|
|
1999
2035
|
breakpoints: t = {
|
|
2000
2036
|
desktop: { minWidth: 1440 },
|
|
@@ -2002,9 +2038,9 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2002
2038
|
mobile: { maxWidth: 767 }
|
|
2003
2039
|
},
|
|
2004
2040
|
children: o
|
|
2005
|
-
} = e, { device: n } =
|
|
2041
|
+
} = e, { device: n } = dr(t);
|
|
2006
2042
|
return /* @__PURE__ */ c(
|
|
2007
|
-
|
|
2043
|
+
Ti.Provider,
|
|
2008
2044
|
{
|
|
2009
2045
|
value: {
|
|
2010
2046
|
device: n
|
|
@@ -2012,18 +2048,18 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2012
2048
|
children: o
|
|
2013
2049
|
}
|
|
2014
2050
|
);
|
|
2015
|
-
},
|
|
2016
|
-
const { targetValue: t, duration: o =
|
|
2051
|
+
}, mr = 2e3, ur = (e) => {
|
|
2052
|
+
const { targetValue: t, duration: o = mr, doneValue: n, onSuccessLoaded: a } = e, [i, r] = ee(t), s = de(), l = de(0), p = de(), d = de(t), [u, g] = ee(!1), h = de();
|
|
2017
2053
|
return re(() => {
|
|
2018
|
-
if (d.current = t, t ===
|
|
2054
|
+
if (d.current = t, t === l.current) return;
|
|
2019
2055
|
if (s.current && cancelAnimationFrame(s.current), t === n && !u) {
|
|
2020
|
-
r(n),
|
|
2056
|
+
r(n), l.current = n;
|
|
2021
2057
|
return;
|
|
2022
2058
|
}
|
|
2023
|
-
|
|
2059
|
+
l.current = i, p.current = performance.now();
|
|
2024
2060
|
const x = (w) => {
|
|
2025
|
-
if (!
|
|
2026
|
-
const R = w -
|
|
2061
|
+
if (!p.current) return;
|
|
2062
|
+
const R = w - p.current, A = Math.min(R / o, 1), U = A < 0.5 ? 4 * A * A * A : 1 - Math.pow(-2 * A + 2, 3) / 2, F = l.current + (d.current - l.current) * U, y = Math.max(0, Math.floor(F));
|
|
2027
2063
|
r(y), A < 1 && (s.current = requestAnimationFrame(x));
|
|
2028
2064
|
};
|
|
2029
2065
|
return s.current = requestAnimationFrame(x), () => {
|
|
@@ -2037,17 +2073,17 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2037
2073
|
animatedValue: i,
|
|
2038
2074
|
isLoading: u
|
|
2039
2075
|
};
|
|
2040
|
-
},
|
|
2041
|
-
progressWrapper:
|
|
2042
|
-
progressWrapper_loading:
|
|
2043
|
-
progressWrapper__childrenWrapper:
|
|
2044
|
-
progressWrapper__childrenWrapper_loading:
|
|
2076
|
+
}, _r = "_progressWrapper_xn9s0_44", fr = "_progressWrapper_loading_xn9s0_47", vr = "_progressWrapper__childrenWrapper_xn9s0_52", gr = "_progressWrapper__childrenWrapper_loading_xn9s0_58", xr = "_pulse_xn9s0_1", hr = "_progressWrapper__progressBadge_xn9s0_64", br = "_progressWrapper__progressBadge_loading_xn9s0_75", Le = {
|
|
2077
|
+
progressWrapper: _r,
|
|
2078
|
+
progressWrapper_loading: fr,
|
|
2079
|
+
progressWrapper__childrenWrapper: vr,
|
|
2080
|
+
progressWrapper__childrenWrapper_loading: gr,
|
|
2045
2081
|
"progressWrapper__childrenWrapper--animated-pulse": "_progressWrapper__childrenWrapper--animated-pulse_xn9s0_58",
|
|
2046
|
-
pulse:
|
|
2082
|
+
pulse: xr,
|
|
2047
2083
|
"progressWrapper__childrenWrapper--animated-backgroundProgress": "_progressWrapper__childrenWrapper--animated-backgroundProgress_xn9s0_61",
|
|
2048
|
-
progressWrapper__progressBadge:
|
|
2049
|
-
progressWrapper__progressBadge_loading:
|
|
2050
|
-
},
|
|
2084
|
+
progressWrapper__progressBadge: hr,
|
|
2085
|
+
progressWrapper__progressBadge_loading: br
|
|
2086
|
+
}, ep = (e) => {
|
|
2051
2087
|
const {
|
|
2052
2088
|
value: t,
|
|
2053
2089
|
classNameRoot: o,
|
|
@@ -2056,12 +2092,12 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2056
2092
|
children: i,
|
|
2057
2093
|
doneValue: r = 100,
|
|
2058
2094
|
animationVariant: s = "backgroundProgress",
|
|
2059
|
-
onSuccessLoaded:
|
|
2060
|
-
} = e, { animatedValue:
|
|
2095
|
+
onSuccessLoaded: l
|
|
2096
|
+
} = e, { animatedValue: p, isLoading: d } = ur({
|
|
2061
2097
|
targetValue: t,
|
|
2062
2098
|
duration: a,
|
|
2063
2099
|
doneValue: r,
|
|
2064
|
-
onSuccessLoaded:
|
|
2100
|
+
onSuccessLoaded: l
|
|
2065
2101
|
}), u = f({
|
|
2066
2102
|
[Le.progressWrapper]: !0,
|
|
2067
2103
|
[Le.progressWrapper_loading]: d,
|
|
@@ -2075,9 +2111,9 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2075
2111
|
[Le[`progressWrapper__childrenWrapper--animated-${s}`]]: s,
|
|
2076
2112
|
[Le.progressWrapper__childrenWrapper_loading]: d
|
|
2077
2113
|
}), x = {
|
|
2078
|
-
"--progress": `${
|
|
2114
|
+
"--progress": `${p / r * 100}%`
|
|
2079
2115
|
};
|
|
2080
|
-
return /* @__PURE__ */
|
|
2116
|
+
return /* @__PURE__ */ P("div", { className: u, children: [
|
|
2081
2117
|
/* @__PURE__ */ c(
|
|
2082
2118
|
"div",
|
|
2083
2119
|
{
|
|
@@ -2086,29 +2122,29 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2086
2122
|
children: i
|
|
2087
2123
|
}
|
|
2088
2124
|
),
|
|
2089
|
-
d && /* @__PURE__ */
|
|
2090
|
-
|
|
2125
|
+
d && /* @__PURE__ */ P(Te, { classNameRoot: g, children: [
|
|
2126
|
+
p,
|
|
2091
2127
|
"%"
|
|
2092
2128
|
] })
|
|
2093
2129
|
] });
|
|
2094
|
-
},
|
|
2095
|
-
spSelect:
|
|
2096
|
-
spSelect_error:
|
|
2097
|
-
spSelect__control:
|
|
2098
|
-
spSelect__value_empty:
|
|
2099
|
-
spSelect__icon:
|
|
2100
|
-
spSelect_absolutePositionError:
|
|
2101
|
-
spSelect__container:
|
|
2102
|
-
spSelect__control_filled:
|
|
2103
|
-
spSelect__control_outlined:
|
|
2104
|
-
spSelect__control_disabled:
|
|
2105
|
-
spSelect__value:
|
|
2106
|
-
spSelect__list:
|
|
2107
|
-
spSelect__list_scrollable:
|
|
2108
|
-
spSelect__option:
|
|
2109
|
-
spSelect__error:
|
|
2110
|
-
spSelect__error_absolutePosition:
|
|
2111
|
-
},
|
|
2130
|
+
}, yr = 180, wr = "_spSelect_1l6hu_43", Cr = "_spSelect_error_1l6hu_48", kr = "_spSelect__control_1l6hu_48", Tr = "_spSelect__value_empty_1l6hu_52", Nr = "_spSelect__icon_1l6hu_55", Er = "_spSelect_absolutePositionError_1l6hu_58", Ir = "_spSelect__container_1l6hu_61", Sr = "_spSelect__control_filled_1l6hu_81", Lr = "_spSelect__control_outlined_1l6hu_85", Rr = "_spSelect__control_disabled_1l6hu_110", Fr = "_spSelect__value_1l6hu_52", Ar = "_spSelect__list_1l6hu_141", jr = "_spSelect__list_scrollable_1l6hu_148", Br = "_spSelect__option_1l6hu_164", Dr = "_spSelect__error_1l6hu_182", Mr = "_spSelect__error_absolutePosition_1l6hu_189", fe = {
|
|
2131
|
+
spSelect: wr,
|
|
2132
|
+
spSelect_error: Cr,
|
|
2133
|
+
spSelect__control: kr,
|
|
2134
|
+
spSelect__value_empty: Tr,
|
|
2135
|
+
spSelect__icon: Nr,
|
|
2136
|
+
spSelect_absolutePositionError: Er,
|
|
2137
|
+
spSelect__container: Ir,
|
|
2138
|
+
spSelect__control_filled: Sr,
|
|
2139
|
+
spSelect__control_outlined: Lr,
|
|
2140
|
+
spSelect__control_disabled: Rr,
|
|
2141
|
+
spSelect__value: Fr,
|
|
2142
|
+
spSelect__list: Ar,
|
|
2143
|
+
spSelect__list_scrollable: jr,
|
|
2144
|
+
spSelect__option: Br,
|
|
2145
|
+
spSelect__error: Dr,
|
|
2146
|
+
spSelect__error_absolutePosition: Mr
|
|
2147
|
+
}, tp = (e) => {
|
|
2112
2148
|
const {
|
|
2113
2149
|
options: t,
|
|
2114
2150
|
placeholder: o = "Выберите из списка...",
|
|
@@ -2117,13 +2153,13 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2117
2153
|
variant: i = "outlined",
|
|
2118
2154
|
onChange: r,
|
|
2119
2155
|
onMouseEnter: s,
|
|
2120
|
-
error:
|
|
2121
|
-
label:
|
|
2156
|
+
error: l,
|
|
2157
|
+
label: p,
|
|
2122
2158
|
infoTooltipText: d,
|
|
2123
2159
|
tooltipPosition: u,
|
|
2124
2160
|
disabled: g = !1,
|
|
2125
2161
|
required: h,
|
|
2126
|
-
maxHeightList: x =
|
|
2162
|
+
maxHeightList: x = yr,
|
|
2127
2163
|
isVisibleDefaultTitle: w = !0,
|
|
2128
2164
|
isScrollableList: R = !1,
|
|
2129
2165
|
isAbsolutePositionError: A = !1,
|
|
@@ -2131,72 +2167,72 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2131
2167
|
classNameError: F,
|
|
2132
2168
|
classNameLabel: y,
|
|
2133
2169
|
classNameBaseTooltipRoot: m
|
|
2134
|
-
} = e, [N,
|
|
2135
|
-
|
|
2136
|
-
[
|
|
2170
|
+
} = e, [N, O] = ee(!1), G = de(null);
|
|
2171
|
+
ko(
|
|
2172
|
+
[G],
|
|
2137
2173
|
() => {
|
|
2138
|
-
|
|
2174
|
+
O(!1);
|
|
2139
2175
|
},
|
|
2140
2176
|
N
|
|
2141
2177
|
);
|
|
2142
|
-
const J = t.find((v) => v.value === n), ne = (v,
|
|
2143
|
-
r(v, { value:
|
|
2144
|
-
},
|
|
2145
|
-
g ||
|
|
2146
|
-
},
|
|
2147
|
-
[
|
|
2148
|
-
[
|
|
2149
|
-
[
|
|
2178
|
+
const J = t.find((v) => v.value === n), ne = (v, S) => {
|
|
2179
|
+
r(v, { value: S, name: a }), O(!1);
|
|
2180
|
+
}, ue = () => {
|
|
2181
|
+
g || O(!N);
|
|
2182
|
+
}, _e = f({
|
|
2183
|
+
[fe.spSelect]: !0,
|
|
2184
|
+
[fe.spSelect_error]: !!l,
|
|
2185
|
+
[fe.spSelect_absolutePositionError]: A,
|
|
2150
2186
|
...U && { [U]: !0 }
|
|
2151
|
-
}),
|
|
2152
|
-
[
|
|
2187
|
+
}), pe = f({
|
|
2188
|
+
[fe.spSelect__container]: !0
|
|
2153
2189
|
}), X = f({
|
|
2154
|
-
[
|
|
2155
|
-
[
|
|
2156
|
-
[
|
|
2190
|
+
[fe.spSelect__control]: !0,
|
|
2191
|
+
[fe[`spSelect__control_${i}`]]: i,
|
|
2192
|
+
[fe.spSelect__control_disabled]: g
|
|
2157
2193
|
}), T = f({
|
|
2158
|
-
[
|
|
2159
|
-
[
|
|
2160
|
-
}),
|
|
2161
|
-
[
|
|
2194
|
+
[fe.spSelect__value]: !0,
|
|
2195
|
+
[fe.spSelect__value_empty]: !J
|
|
2196
|
+
}), M = f({
|
|
2197
|
+
[fe.spSelect__icon]: !0
|
|
2162
2198
|
}), q = f({
|
|
2163
|
-
[
|
|
2164
|
-
[
|
|
2199
|
+
[fe.spSelect__list]: !0,
|
|
2200
|
+
[fe.spSelect__list_scrollable]: R
|
|
2165
2201
|
}), V = f({
|
|
2166
2202
|
...y && { [y]: !0 }
|
|
2167
2203
|
}), te = f({
|
|
2168
|
-
[
|
|
2169
|
-
[
|
|
2204
|
+
[fe.spSelect__error]: !0,
|
|
2205
|
+
[fe.spSelect__error_absolutePosition]: A,
|
|
2170
2206
|
...F && { [F]: !0 }
|
|
2171
2207
|
});
|
|
2172
|
-
return /* @__PURE__ */
|
|
2173
|
-
|
|
2208
|
+
return /* @__PURE__ */ P("div", { className: _e, ref: G, children: [
|
|
2209
|
+
p && /* @__PURE__ */ c(
|
|
2174
2210
|
Dt,
|
|
2175
2211
|
{
|
|
2176
2212
|
classNameRoot: V,
|
|
2177
2213
|
tooltipPosition: u,
|
|
2178
2214
|
required: h,
|
|
2179
|
-
label:
|
|
2215
|
+
label: p,
|
|
2180
2216
|
infoTooltipText: d,
|
|
2181
2217
|
classNameBaseTooltipRoot: m
|
|
2182
2218
|
}
|
|
2183
2219
|
),
|
|
2184
|
-
/* @__PURE__ */
|
|
2185
|
-
/* @__PURE__ */
|
|
2220
|
+
/* @__PURE__ */ P("div", { className: pe, onMouseEnter: s, children: [
|
|
2221
|
+
/* @__PURE__ */ P(
|
|
2186
2222
|
"div",
|
|
2187
2223
|
{
|
|
2188
2224
|
tabIndex: g ? -1 : 0,
|
|
2189
2225
|
title: w ? n : void 0,
|
|
2190
2226
|
className: X,
|
|
2191
|
-
onClick:
|
|
2227
|
+
onClick: ue,
|
|
2192
2228
|
children: [
|
|
2193
2229
|
/* @__PURE__ */ c("div", { className: T, children: (J == null ? void 0 : J.label) || o }),
|
|
2194
2230
|
/* @__PURE__ */ c(
|
|
2195
|
-
|
|
2231
|
+
me,
|
|
2196
2232
|
{
|
|
2197
|
-
name:
|
|
2233
|
+
name: D.SelectChevronDown,
|
|
2198
2234
|
rotate: N ? 180 : void 0,
|
|
2199
|
-
className:
|
|
2235
|
+
className: M
|
|
2200
2236
|
}
|
|
2201
2237
|
)
|
|
2202
2238
|
]
|
|
@@ -2208,17 +2244,17 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2208
2244
|
className: q,
|
|
2209
2245
|
style: R ? { maxHeight: `${x}px` } : {},
|
|
2210
2246
|
children: t.map((v) => {
|
|
2211
|
-
const
|
|
2212
|
-
return /* @__PURE__ */
|
|
2247
|
+
const S = v.value === n;
|
|
2248
|
+
return /* @__PURE__ */ P(
|
|
2213
2249
|
"div",
|
|
2214
2250
|
{
|
|
2215
2251
|
className: f({
|
|
2216
|
-
[
|
|
2252
|
+
[fe.spSelect__option]: !0
|
|
2217
2253
|
}),
|
|
2218
2254
|
onClick: (L) => ne(L, v.value),
|
|
2219
2255
|
children: [
|
|
2220
2256
|
v.label,
|
|
2221
|
-
|
|
2257
|
+
S && /* @__PURE__ */ c(me, { name: D.Check, className: M })
|
|
2222
2258
|
]
|
|
2223
2259
|
},
|
|
2224
2260
|
v.value
|
|
@@ -2227,14 +2263,14 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2227
2263
|
}
|
|
2228
2264
|
)
|
|
2229
2265
|
] }),
|
|
2230
|
-
|
|
2266
|
+
l && /* @__PURE__ */ c("div", { className: te, children: l })
|
|
2231
2267
|
] });
|
|
2232
|
-
},
|
|
2233
|
-
skeleton:
|
|
2234
|
-
skeleton_circle:
|
|
2235
|
-
skeleton_customStart:
|
|
2236
|
-
skeleton_customEnd:
|
|
2237
|
-
},
|
|
2268
|
+
}, zr = "_skeleton_155t5_43", Pr = "_skeleton_circle_155t5_52", Or = "_skeleton_customStart_155t5_55", Wr = "_skeleton_customEnd_155t5_58", Je = {
|
|
2269
|
+
skeleton: zr,
|
|
2270
|
+
skeleton_circle: Pr,
|
|
2271
|
+
skeleton_customStart: Or,
|
|
2272
|
+
skeleton_customEnd: Wr
|
|
2273
|
+
}, op = (e) => {
|
|
2238
2274
|
const {
|
|
2239
2275
|
startColor: t,
|
|
2240
2276
|
endColor: o,
|
|
@@ -2243,42 +2279,42 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2243
2279
|
circle: i = !1,
|
|
2244
2280
|
classNameRoot: r,
|
|
2245
2281
|
style: s = {}
|
|
2246
|
-
} = e,
|
|
2282
|
+
} = e, l = {
|
|
2247
2283
|
width: n,
|
|
2248
2284
|
height: a,
|
|
2249
2285
|
...s
|
|
2250
|
-
},
|
|
2251
|
-
[
|
|
2252
|
-
[
|
|
2253
|
-
[
|
|
2254
|
-
[
|
|
2286
|
+
}, p = f({
|
|
2287
|
+
[Je.skeleton]: !0,
|
|
2288
|
+
[Je.skeleton_circle]: i,
|
|
2289
|
+
[Je.skeleton_customStart]: t,
|
|
2290
|
+
[Je.skeleton_customEnd]: o,
|
|
2255
2291
|
...r && { [r]: !0 }
|
|
2256
2292
|
});
|
|
2257
2293
|
return /* @__PURE__ */ c(
|
|
2258
2294
|
"div",
|
|
2259
2295
|
{
|
|
2260
|
-
className:
|
|
2296
|
+
className: p,
|
|
2261
2297
|
style: {
|
|
2262
|
-
...
|
|
2298
|
+
...l,
|
|
2263
2299
|
...t && { "--custom-start-color": t },
|
|
2264
2300
|
...o && { "--custom-end-color": o }
|
|
2265
2301
|
}
|
|
2266
2302
|
}
|
|
2267
2303
|
);
|
|
2268
|
-
},
|
|
2269
|
-
spTable:
|
|
2270
|
-
spTable__tdContentCopyIcon:
|
|
2271
|
-
spTable__tdContent:
|
|
2272
|
-
spTable__tdColorContent:
|
|
2273
|
-
spTable__tdContentCopyIcon_copied:
|
|
2274
|
-
spTable__emptyPage:
|
|
2275
|
-
spStringsGroup:
|
|
2276
|
-
spStringsGroup__groupItem:
|
|
2277
|
-
spStringsGroup__groupItemHeader:
|
|
2278
|
-
spStringsGroup__groupItemContent:
|
|
2279
|
-
spStringsGroup__groupItemContentCopyIcon:
|
|
2280
|
-
spStringsGroup__groupItemContentCopyIcon_copied:
|
|
2281
|
-
},
|
|
2304
|
+
}, It = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, Ur = "_spTable_1vuaj_43", qr = "_spTable__tdContentCopyIcon_1vuaj_62", $r = "_spTable__tdContent_1vuaj_62", Hr = "_spTable__tdColorContent_1vuaj_72", Vr = "_spTable__tdContentCopyIcon_copied_1vuaj_85", Yr = "_spTable__emptyPage_1vuaj_89", Gr = "_spStringsGroup_1vuaj_105", Kr = "_spStringsGroup__groupItem_1vuaj_119", Xr = "_spStringsGroup__groupItemHeader_1vuaj_134", Zr = "_spStringsGroup__groupItemContent_1vuaj_138", Qr = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", Jr = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", ye = {
|
|
2305
|
+
spTable: Ur,
|
|
2306
|
+
spTable__tdContentCopyIcon: qr,
|
|
2307
|
+
spTable__tdContent: $r,
|
|
2308
|
+
spTable__tdColorContent: Hr,
|
|
2309
|
+
spTable__tdContentCopyIcon_copied: Vr,
|
|
2310
|
+
spTable__emptyPage: Yr,
|
|
2311
|
+
spStringsGroup: Gr,
|
|
2312
|
+
spStringsGroup__groupItem: Kr,
|
|
2313
|
+
spStringsGroup__groupItemHeader: Xr,
|
|
2314
|
+
spStringsGroup__groupItemContent: Zr,
|
|
2315
|
+
spStringsGroup__groupItemContentCopyIcon: Qr,
|
|
2316
|
+
spStringsGroup__groupItemContentCopyIcon_copied: Jr
|
|
2317
|
+
}, np = (e) => {
|
|
2282
2318
|
const {
|
|
2283
2319
|
columns: t,
|
|
2284
2320
|
data: o,
|
|
@@ -2291,18 +2327,18 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2291
2327
|
} : y).filter((y) => y.isVisible), s = f({
|
|
2292
2328
|
[ye.spTable]: !0,
|
|
2293
2329
|
...i && { [i]: !0 }
|
|
2294
|
-
}), p = f({
|
|
2295
|
-
[ye.spTable__tdContent]: !0
|
|
2296
2330
|
}), l = f({
|
|
2331
|
+
[ye.spTable__tdContent]: !0
|
|
2332
|
+
}), p = f({
|
|
2297
2333
|
[ye.spTable__tdColorContent]: !0
|
|
2298
2334
|
}), d = f({
|
|
2299
2335
|
[ye.spTable__emptyPage]: !0
|
|
2300
2336
|
}), [u, g] = ee(null), h = (y) => {
|
|
2301
|
-
const { text: m, rowIndex: N, colIndex:
|
|
2302
|
-
(u == null ? void 0 : u.rowIndex) === N && (u == null ? void 0 : u.colIndex) ===
|
|
2303
|
-
g({ rowIndex: N, colIndex:
|
|
2304
|
-
}).catch((
|
|
2305
|
-
console.error("Ошибка при копировании:",
|
|
2337
|
+
const { text: m, rowIndex: N, colIndex: O } = y;
|
|
2338
|
+
(u == null ? void 0 : u.rowIndex) === N && (u == null ? void 0 : u.colIndex) === O || navigator.clipboard.writeText(m).then(() => {
|
|
2339
|
+
g({ rowIndex: N, colIndex: O });
|
|
2340
|
+
}).catch((G) => {
|
|
2341
|
+
console.error("Ошибка при копировании:", G);
|
|
2306
2342
|
});
|
|
2307
2343
|
}, x = () => {
|
|
2308
2344
|
g(null);
|
|
@@ -2312,12 +2348,12 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2312
2348
|
}) => {
|
|
2313
2349
|
const N = y[m.key];
|
|
2314
2350
|
if (!N) return null;
|
|
2315
|
-
const [
|
|
2316
|
-
return /* @__PURE__ */
|
|
2317
|
-
|
|
2318
|
-
|
|
2351
|
+
const [O, G] = N.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
2352
|
+
return /* @__PURE__ */ P("span", { children: [
|
|
2353
|
+
O,
|
|
2354
|
+
G && /* @__PURE__ */ c("span", { className: p, children: ` ${G}` })
|
|
2319
2355
|
] });
|
|
2320
|
-
}, A = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */
|
|
2356
|
+
}, A = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ P("table", { className: s, children: [
|
|
2321
2357
|
/* @__PURE__ */ c("colgroup", { children: r.map((y, m, N) => /* @__PURE__ */ c(
|
|
2322
2358
|
"col",
|
|
2323
2359
|
{
|
|
@@ -2328,36 +2364,36 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2328
2364
|
m
|
|
2329
2365
|
)) }),
|
|
2330
2366
|
/* @__PURE__ */ c("thead", { children: /* @__PURE__ */ c("tr", { children: r.map((y, m) => /* @__PURE__ */ c("th", { children: y.title }, m)) }) }),
|
|
2331
|
-
/* @__PURE__ */ c("tbody", { children: o.map((y, m) => y ? /* @__PURE__ */ c("tr", { children: r.map((N,
|
|
2332
|
-
const
|
|
2367
|
+
/* @__PURE__ */ c("tbody", { children: o.map((y, m) => y ? /* @__PURE__ */ c("tr", { children: r.map((N, O) => {
|
|
2368
|
+
const G = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === O;
|
|
2333
2369
|
return /* @__PURE__ */ c(
|
|
2334
2370
|
"td",
|
|
2335
2371
|
{
|
|
2336
|
-
onMouseLeave:
|
|
2337
|
-
children: /* @__PURE__ */
|
|
2372
|
+
onMouseLeave: G ? x : void 0,
|
|
2373
|
+
children: /* @__PURE__ */ P("div", { className: l, children: [
|
|
2338
2374
|
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ? R({ row: y, col: N }) : y[N.key] }),
|
|
2339
|
-
!
|
|
2340
|
-
|
|
2375
|
+
!It(y[N.key]) && N.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2376
|
+
me,
|
|
2341
2377
|
{
|
|
2342
2378
|
className: f({
|
|
2343
2379
|
[ye.spTable__tdContentCopyIcon]: !0,
|
|
2344
|
-
[ye.spTable__tdContentCopyIcon_copied]:
|
|
2380
|
+
[ye.spTable__tdContentCopyIcon_copied]: G
|
|
2345
2381
|
}),
|
|
2346
|
-
name:
|
|
2382
|
+
name: G ? D.Check : D.Copy,
|
|
2347
2383
|
onClick: () => {
|
|
2348
2384
|
const J = y[N.key];
|
|
2349
2385
|
if (!J) return null;
|
|
2350
2386
|
h({
|
|
2351
2387
|
text: J,
|
|
2352
2388
|
rowIndex: m,
|
|
2353
|
-
colIndex:
|
|
2389
|
+
colIndex: O
|
|
2354
2390
|
});
|
|
2355
2391
|
}
|
|
2356
2392
|
}
|
|
2357
2393
|
)
|
|
2358
2394
|
] })
|
|
2359
2395
|
},
|
|
2360
|
-
`${m}:${
|
|
2396
|
+
`${m}:${O}`
|
|
2361
2397
|
);
|
|
2362
2398
|
}) }, m) : null) })
|
|
2363
2399
|
] }) : w(), U = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ c(
|
|
@@ -2366,17 +2402,17 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2366
2402
|
className: f({
|
|
2367
2403
|
[ye.spStringsGroup]: !0
|
|
2368
2404
|
}),
|
|
2369
|
-
children: o.map((y, m) => y ? /* @__PURE__ */ c("div", { children: r.map((N,
|
|
2370
|
-
if (
|
|
2405
|
+
children: o.map((y, m) => y ? /* @__PURE__ */ c("div", { children: r.map((N, O) => {
|
|
2406
|
+
if (It(y[N.key]))
|
|
2371
2407
|
return null;
|
|
2372
|
-
const
|
|
2373
|
-
return /* @__PURE__ */
|
|
2408
|
+
const G = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === O;
|
|
2409
|
+
return /* @__PURE__ */ P(
|
|
2374
2410
|
"div",
|
|
2375
2411
|
{
|
|
2376
2412
|
className: f({
|
|
2377
2413
|
[ye.spStringsGroup__groupItem]: !0
|
|
2378
2414
|
}),
|
|
2379
|
-
onMouseLeave:
|
|
2415
|
+
onMouseLeave: G ? x : void 0,
|
|
2380
2416
|
children: [
|
|
2381
2417
|
/* @__PURE__ */ c(
|
|
2382
2418
|
"div",
|
|
@@ -2387,7 +2423,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2387
2423
|
children: N.title
|
|
2388
2424
|
}
|
|
2389
2425
|
),
|
|
2390
|
-
/* @__PURE__ */
|
|
2426
|
+
/* @__PURE__ */ P(
|
|
2391
2427
|
"div",
|
|
2392
2428
|
{
|
|
2393
2429
|
className: f({
|
|
@@ -2396,20 +2432,20 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2396
2432
|
children: [
|
|
2397
2433
|
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ? R({ row: y, col: N }) : y[N.key] }),
|
|
2398
2434
|
N.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2399
|
-
|
|
2435
|
+
me,
|
|
2400
2436
|
{
|
|
2401
2437
|
className: f({
|
|
2402
2438
|
[ye.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
2403
|
-
[ye.spStringsGroup__groupItemContentCopyIcon_copied]:
|
|
2439
|
+
[ye.spStringsGroup__groupItemContentCopyIcon_copied]: G
|
|
2404
2440
|
}),
|
|
2405
|
-
name:
|
|
2441
|
+
name: G ? D.Check : D.Copy,
|
|
2406
2442
|
onClick: () => {
|
|
2407
2443
|
const J = y[N.key];
|
|
2408
2444
|
if (!J) return null;
|
|
2409
2445
|
h({
|
|
2410
2446
|
text: J,
|
|
2411
2447
|
rowIndex: m,
|
|
2412
|
-
colIndex:
|
|
2448
|
+
colIndex: O
|
|
2413
2449
|
});
|
|
2414
2450
|
}
|
|
2415
2451
|
}
|
|
@@ -2419,23 +2455,23 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2419
2455
|
)
|
|
2420
2456
|
]
|
|
2421
2457
|
},
|
|
2422
|
-
|
|
2458
|
+
O
|
|
2423
2459
|
);
|
|
2424
2460
|
}) }, m) : null)
|
|
2425
2461
|
}
|
|
2426
2462
|
) : w();
|
|
2427
2463
|
return n ? a ? A() : U() : A();
|
|
2428
|
-
},
|
|
2429
|
-
spTabs:
|
|
2430
|
-
spTabs_separated:
|
|
2464
|
+
}, es = "_spTabs_p5nml_43", ts = "_spTabs_separated_p5nml_48", os = "_spTabs__tabElement_p5nml_48", ns = "_spTabs__tabElement_active_p5nml_83", as = "_spTabs__tooltip_p5nml_90", Re = {
|
|
2465
|
+
spTabs: es,
|
|
2466
|
+
spTabs_separated: ts,
|
|
2431
2467
|
"spTabs--size-md": "_spTabs--size-md_p5nml_48",
|
|
2432
|
-
spTabs__tabElement:
|
|
2468
|
+
spTabs__tabElement: os,
|
|
2433
2469
|
"spTabs--size-lg": "_spTabs--size-lg_p5nml_51",
|
|
2434
2470
|
"spTabs--variant-contained": "_spTabs--variant-contained_p5nml_54",
|
|
2435
|
-
spTabs__tabElement_active:
|
|
2436
|
-
spTabs__tooltip:
|
|
2471
|
+
spTabs__tabElement_active: ns,
|
|
2472
|
+
spTabs__tooltip: as,
|
|
2437
2473
|
"spTabs--variant-filled": "_spTabs--variant-filled_p5nml_93"
|
|
2438
|
-
},
|
|
2474
|
+
}, ap = (e) => {
|
|
2439
2475
|
const {
|
|
2440
2476
|
panes: t,
|
|
2441
2477
|
isSeparated: o = !1,
|
|
@@ -2449,9 +2485,9 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2449
2485
|
[Re[`spTabs--variant-${i}`]]: i,
|
|
2450
2486
|
[Re[`spTabs--size-${r}`]]: r,
|
|
2451
2487
|
...n && { [n]: !0 }
|
|
2452
|
-
}),
|
|
2488
|
+
}), l = f({
|
|
2453
2489
|
[Re.spTabs__tooltip]: !0
|
|
2454
|
-
}),
|
|
2490
|
+
}), p = () => {
|
|
2455
2491
|
switch (r) {
|
|
2456
2492
|
case "md":
|
|
2457
2493
|
return "p2";
|
|
@@ -2461,7 +2497,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2461
2497
|
};
|
|
2462
2498
|
return /* @__PURE__ */ c("div", { className: s, children: t.map((d, u) => {
|
|
2463
2499
|
const { name: g, active: h, onClick: x, infoTooltipText: w } = d;
|
|
2464
|
-
return /* @__PURE__ */
|
|
2500
|
+
return /* @__PURE__ */ P(
|
|
2465
2501
|
"div",
|
|
2466
2502
|
{
|
|
2467
2503
|
className: f({
|
|
@@ -2470,12 +2506,12 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2470
2506
|
}),
|
|
2471
2507
|
onClick: x,
|
|
2472
2508
|
children: [
|
|
2473
|
-
/* @__PURE__ */ c(Te, { type:
|
|
2509
|
+
/* @__PURE__ */ c(Te, { type: p(), children: g }),
|
|
2474
2510
|
!!w && /* @__PURE__ */ c(
|
|
2475
|
-
|
|
2511
|
+
it,
|
|
2476
2512
|
{
|
|
2477
2513
|
hover: !0,
|
|
2478
|
-
classNameTooltip:
|
|
2514
|
+
classNameTooltip: l,
|
|
2479
2515
|
text: w,
|
|
2480
2516
|
classNameBaseTooltipRoot: a
|
|
2481
2517
|
}
|
|
@@ -2485,10 +2521,10 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2485
2521
|
d.key || u
|
|
2486
2522
|
);
|
|
2487
2523
|
}) });
|
|
2488
|
-
},
|
|
2489
|
-
spTextWithLabel:
|
|
2490
|
-
spTextWithLabel_ellipsis:
|
|
2491
|
-
},
|
|
2524
|
+
}, is = "_spTextWithLabel_18nkl_1", rs = "_spTextWithLabel_ellipsis_18nkl_4", ao = {
|
|
2525
|
+
spTextWithLabel: is,
|
|
2526
|
+
spTextWithLabel_ellipsis: rs
|
|
2527
|
+
}, ip = (e) => {
|
|
2492
2528
|
const {
|
|
2493
2529
|
label: t,
|
|
2494
2530
|
required: o,
|
|
@@ -2497,14 +2533,14 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2497
2533
|
classNameLabelRoot: i,
|
|
2498
2534
|
classNameBaseTooltipRoot: r,
|
|
2499
2535
|
classNameWrapperRoot: s,
|
|
2500
|
-
children:
|
|
2501
|
-
...
|
|
2536
|
+
children: l,
|
|
2537
|
+
...p
|
|
2502
2538
|
} = e, d = f({
|
|
2503
|
-
[
|
|
2504
|
-
[
|
|
2539
|
+
[ao.spTextWithLabel]: !0,
|
|
2540
|
+
[ao.spTextWithLabel_ellipsis]: p.isEllipsis,
|
|
2505
2541
|
...s && { [s]: !0 }
|
|
2506
2542
|
});
|
|
2507
|
-
return /* @__PURE__ */
|
|
2543
|
+
return /* @__PURE__ */ P("div", { className: d, children: [
|
|
2508
2544
|
/* @__PURE__ */ c(
|
|
2509
2545
|
Dt,
|
|
2510
2546
|
{
|
|
@@ -2516,7 +2552,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2516
2552
|
classNameBaseTooltipRoot: r
|
|
2517
2553
|
}
|
|
2518
2554
|
),
|
|
2519
|
-
/* @__PURE__ */ c(Te, { ...
|
|
2555
|
+
/* @__PURE__ */ c(Te, { ...p, children: l })
|
|
2520
2556
|
] });
|
|
2521
2557
|
};
|
|
2522
2558
|
function Ae(e, t, o, n) {
|
|
@@ -2528,25 +2564,25 @@ function Ae(e, t, o, n) {
|
|
|
2528
2564
|
return new (o || (o = Promise))(function(i, r) {
|
|
2529
2565
|
function s(d) {
|
|
2530
2566
|
try {
|
|
2531
|
-
|
|
2567
|
+
p(n.next(d));
|
|
2532
2568
|
} catch (u) {
|
|
2533
2569
|
r(u);
|
|
2534
2570
|
}
|
|
2535
2571
|
}
|
|
2536
|
-
function
|
|
2572
|
+
function l(d) {
|
|
2537
2573
|
try {
|
|
2538
|
-
|
|
2574
|
+
p(n.throw(d));
|
|
2539
2575
|
} catch (u) {
|
|
2540
2576
|
r(u);
|
|
2541
2577
|
}
|
|
2542
2578
|
}
|
|
2543
|
-
function
|
|
2544
|
-
d.done ? i(d.value) : a(d.value).then(s,
|
|
2579
|
+
function p(d) {
|
|
2580
|
+
d.done ? i(d.value) : a(d.value).then(s, l);
|
|
2545
2581
|
}
|
|
2546
|
-
|
|
2582
|
+
p((n = n.apply(e, t || [])).next());
|
|
2547
2583
|
});
|
|
2548
2584
|
}
|
|
2549
|
-
const
|
|
2585
|
+
const ss = /* @__PURE__ */ new Map([
|
|
2550
2586
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
2551
2587
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
2552
2588
|
["3dml", "text/vnd.in3d.3dml"],
|
|
@@ -3749,14 +3785,14 @@ const es = /* @__PURE__ */ new Map([
|
|
|
3749
3785
|
["zmm", "application/vnd.handheld-entertainment+xml"],
|
|
3750
3786
|
["zsh", "text/x-scriptzsh"]
|
|
3751
3787
|
]);
|
|
3752
|
-
function
|
|
3753
|
-
const n =
|
|
3754
|
-
return typeof n.path != "string" &&
|
|
3788
|
+
function ze(e, t, o) {
|
|
3789
|
+
const n = ls(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
3790
|
+
return typeof n.path != "string" && io(n, "path", i), io(n, "relativePath", i), n;
|
|
3755
3791
|
}
|
|
3756
|
-
function
|
|
3792
|
+
function ls(e) {
|
|
3757
3793
|
const { name: t } = e;
|
|
3758
3794
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
3759
|
-
const n = t.split(".").pop().toLowerCase(), a =
|
|
3795
|
+
const n = t.split(".").pop().toLowerCase(), a = ss.get(n);
|
|
3760
3796
|
a && Object.defineProperty(e, "type", {
|
|
3761
3797
|
value: a,
|
|
3762
3798
|
writable: !1,
|
|
@@ -3766,7 +3802,7 @@ function ts(e) {
|
|
|
3766
3802
|
}
|
|
3767
3803
|
return e;
|
|
3768
3804
|
}
|
|
3769
|
-
function
|
|
3805
|
+
function io(e, t, o) {
|
|
3770
3806
|
Object.defineProperty(e, t, {
|
|
3771
3807
|
value: o,
|
|
3772
3808
|
writable: !1,
|
|
@@ -3774,49 +3810,49 @@ function ao(e, t, o) {
|
|
|
3774
3810
|
enumerable: !0
|
|
3775
3811
|
});
|
|
3776
3812
|
}
|
|
3777
|
-
const
|
|
3813
|
+
const ps = [
|
|
3778
3814
|
// Thumbnail cache files for macOS and Windows
|
|
3779
3815
|
".DS_Store",
|
|
3780
3816
|
// macOs
|
|
3781
3817
|
"Thumbs.db"
|
|
3782
3818
|
// Windows
|
|
3783
3819
|
];
|
|
3784
|
-
function
|
|
3820
|
+
function cs(e) {
|
|
3785
3821
|
return Ae(this, void 0, void 0, function* () {
|
|
3786
|
-
return
|
|
3822
|
+
return ot(e) && ds(e.dataTransfer) ? fs(e.dataTransfer, e.type) : ms(e) ? us(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? _s(e) : [];
|
|
3787
3823
|
});
|
|
3788
3824
|
}
|
|
3789
|
-
function
|
|
3790
|
-
return
|
|
3825
|
+
function ds(e) {
|
|
3826
|
+
return ot(e);
|
|
3791
3827
|
}
|
|
3792
|
-
function
|
|
3793
|
-
return
|
|
3828
|
+
function ms(e) {
|
|
3829
|
+
return ot(e) && ot(e.target);
|
|
3794
3830
|
}
|
|
3795
|
-
function
|
|
3831
|
+
function ot(e) {
|
|
3796
3832
|
return typeof e == "object" && e !== null;
|
|
3797
3833
|
}
|
|
3798
|
-
function
|
|
3799
|
-
return St(e.target.files).map((t) =>
|
|
3834
|
+
function us(e) {
|
|
3835
|
+
return St(e.target.files).map((t) => ze(t));
|
|
3800
3836
|
}
|
|
3801
|
-
function
|
|
3837
|
+
function _s(e) {
|
|
3802
3838
|
return Ae(this, void 0, void 0, function* () {
|
|
3803
|
-
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) =>
|
|
3839
|
+
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => ze(o));
|
|
3804
3840
|
});
|
|
3805
3841
|
}
|
|
3806
|
-
function
|
|
3842
|
+
function fs(e, t) {
|
|
3807
3843
|
return Ae(this, void 0, void 0, function* () {
|
|
3808
3844
|
if (e.items) {
|
|
3809
3845
|
const o = St(e.items).filter((a) => a.kind === "file");
|
|
3810
3846
|
if (t !== "drop")
|
|
3811
3847
|
return o;
|
|
3812
|
-
const n = yield Promise.all(o.map(
|
|
3813
|
-
return
|
|
3848
|
+
const n = yield Promise.all(o.map(vs));
|
|
3849
|
+
return ro(Ao(n));
|
|
3814
3850
|
}
|
|
3815
|
-
return
|
|
3851
|
+
return ro(St(e.files).map((o) => ze(o)));
|
|
3816
3852
|
});
|
|
3817
3853
|
}
|
|
3818
|
-
function
|
|
3819
|
-
return e.filter((t) =>
|
|
3854
|
+
function ro(e) {
|
|
3855
|
+
return e.filter((t) => ps.indexOf(t.name) === -1);
|
|
3820
3856
|
}
|
|
3821
3857
|
function St(e) {
|
|
3822
3858
|
if (e === null)
|
|
@@ -3828,19 +3864,19 @@ function St(e) {
|
|
|
3828
3864
|
}
|
|
3829
3865
|
return t;
|
|
3830
3866
|
}
|
|
3831
|
-
function
|
|
3867
|
+
function vs(e) {
|
|
3832
3868
|
if (typeof e.webkitGetAsEntry != "function")
|
|
3833
|
-
return
|
|
3869
|
+
return so(e);
|
|
3834
3870
|
const t = e.webkitGetAsEntry();
|
|
3835
|
-
return t && t.isDirectory ?
|
|
3871
|
+
return t && t.isDirectory ? jo(t) : so(e, t);
|
|
3836
3872
|
}
|
|
3837
|
-
function
|
|
3873
|
+
function Ao(e) {
|
|
3838
3874
|
return e.reduce((t, o) => [
|
|
3839
3875
|
...t,
|
|
3840
|
-
...Array.isArray(o) ?
|
|
3876
|
+
...Array.isArray(o) ? Ao(o) : [o]
|
|
3841
3877
|
], []);
|
|
3842
3878
|
}
|
|
3843
|
-
function
|
|
3879
|
+
function so(e, t) {
|
|
3844
3880
|
return Ae(this, void 0, void 0, function* () {
|
|
3845
3881
|
var o;
|
|
3846
3882
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
@@ -3849,28 +3885,28 @@ function ro(e, t) {
|
|
|
3849
3885
|
throw new Error(`${e} is not a File`);
|
|
3850
3886
|
if (i !== void 0) {
|
|
3851
3887
|
const r = yield i.getFile();
|
|
3852
|
-
return r.handle = i,
|
|
3888
|
+
return r.handle = i, ze(r);
|
|
3853
3889
|
}
|
|
3854
3890
|
}
|
|
3855
3891
|
const n = e.getAsFile();
|
|
3856
3892
|
if (!n)
|
|
3857
3893
|
throw new Error(`${e} is not a File`);
|
|
3858
|
-
return
|
|
3894
|
+
return ze(n, (o = t == null ? void 0 : t.fullPath) !== null && o !== void 0 ? o : void 0);
|
|
3859
3895
|
});
|
|
3860
3896
|
}
|
|
3861
|
-
function
|
|
3897
|
+
function gs(e) {
|
|
3862
3898
|
return Ae(this, void 0, void 0, function* () {
|
|
3863
|
-
return e.isDirectory ?
|
|
3899
|
+
return e.isDirectory ? jo(e) : xs(e);
|
|
3864
3900
|
});
|
|
3865
3901
|
}
|
|
3866
|
-
function
|
|
3902
|
+
function jo(e) {
|
|
3867
3903
|
const t = e.createReader();
|
|
3868
3904
|
return new Promise((o, n) => {
|
|
3869
3905
|
const a = [];
|
|
3870
3906
|
function i() {
|
|
3871
3907
|
t.readEntries((r) => Ae(this, void 0, void 0, function* () {
|
|
3872
3908
|
if (r.length) {
|
|
3873
|
-
const s = Promise.all(r.map(
|
|
3909
|
+
const s = Promise.all(r.map(gs));
|
|
3874
3910
|
a.push(s), i();
|
|
3875
3911
|
} else
|
|
3876
3912
|
try {
|
|
@@ -3886,11 +3922,11 @@ function Ao(e) {
|
|
|
3886
3922
|
i();
|
|
3887
3923
|
});
|
|
3888
3924
|
}
|
|
3889
|
-
function
|
|
3925
|
+
function xs(e) {
|
|
3890
3926
|
return Ae(this, void 0, void 0, function* () {
|
|
3891
3927
|
return new Promise((t, o) => {
|
|
3892
3928
|
e.file((n) => {
|
|
3893
|
-
const a =
|
|
3929
|
+
const a = ze(n, e.fullPath);
|
|
3894
3930
|
t(a);
|
|
3895
3931
|
}, (n) => {
|
|
3896
3932
|
o(n);
|
|
@@ -3898,7 +3934,7 @@ function ds(e) {
|
|
|
3898
3934
|
});
|
|
3899
3935
|
});
|
|
3900
3936
|
}
|
|
3901
|
-
var
|
|
3937
|
+
var kt = function(e, t) {
|
|
3902
3938
|
if (e && t) {
|
|
3903
3939
|
var o = Array.isArray(t) ? t : t.split(",");
|
|
3904
3940
|
if (o.length === 0)
|
|
@@ -3911,18 +3947,18 @@ var Ct = function(e, t) {
|
|
|
3911
3947
|
}
|
|
3912
3948
|
return !0;
|
|
3913
3949
|
};
|
|
3914
|
-
function
|
|
3915
|
-
return
|
|
3950
|
+
function lo(e) {
|
|
3951
|
+
return ys(e) || bs(e) || Do(e) || hs();
|
|
3916
3952
|
}
|
|
3917
|
-
function
|
|
3953
|
+
function hs() {
|
|
3918
3954
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3919
3955
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3920
3956
|
}
|
|
3921
|
-
function
|
|
3957
|
+
function bs(e) {
|
|
3922
3958
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
3923
3959
|
}
|
|
3924
|
-
function
|
|
3925
|
-
if (Array.isArray(e)) return
|
|
3960
|
+
function ys(e) {
|
|
3961
|
+
if (Array.isArray(e)) return Lt(e);
|
|
3926
3962
|
}
|
|
3927
3963
|
function po(e, t) {
|
|
3928
3964
|
var o = Object.keys(e);
|
|
@@ -3934,50 +3970,50 @@ function po(e, t) {
|
|
|
3934
3970
|
}
|
|
3935
3971
|
return o;
|
|
3936
3972
|
}
|
|
3937
|
-
function
|
|
3973
|
+
function co(e) {
|
|
3938
3974
|
for (var t = 1; t < arguments.length; t++) {
|
|
3939
3975
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
3940
3976
|
t % 2 ? po(Object(o), !0).forEach(function(n) {
|
|
3941
|
-
|
|
3977
|
+
Bo(e, n, o[n]);
|
|
3942
3978
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : po(Object(o)).forEach(function(n) {
|
|
3943
3979
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
3944
3980
|
});
|
|
3945
3981
|
}
|
|
3946
3982
|
return e;
|
|
3947
3983
|
}
|
|
3948
|
-
function
|
|
3984
|
+
function Bo(e, t, o) {
|
|
3949
3985
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
3950
3986
|
}
|
|
3951
|
-
function
|
|
3952
|
-
return
|
|
3987
|
+
function qe(e, t) {
|
|
3988
|
+
return ks(e) || Cs(e, t) || Do(e, t) || ws();
|
|
3953
3989
|
}
|
|
3954
|
-
function
|
|
3990
|
+
function ws() {
|
|
3955
3991
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3956
3992
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3957
3993
|
}
|
|
3958
3994
|
function Do(e, t) {
|
|
3959
3995
|
if (e) {
|
|
3960
|
-
if (typeof e == "string") return
|
|
3996
|
+
if (typeof e == "string") return Lt(e, t);
|
|
3961
3997
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
3962
3998
|
if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
|
|
3963
|
-
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return
|
|
3999
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Lt(e, t);
|
|
3964
4000
|
}
|
|
3965
4001
|
}
|
|
3966
|
-
function
|
|
4002
|
+
function Lt(e, t) {
|
|
3967
4003
|
(t == null || t > e.length) && (t = e.length);
|
|
3968
4004
|
for (var o = 0, n = new Array(t); o < t; o++)
|
|
3969
4005
|
n[o] = e[o];
|
|
3970
4006
|
return n;
|
|
3971
4007
|
}
|
|
3972
|
-
function
|
|
4008
|
+
function Cs(e, t) {
|
|
3973
4009
|
var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3974
4010
|
if (o != null) {
|
|
3975
4011
|
var n = [], a = !0, i = !1, r, s;
|
|
3976
4012
|
try {
|
|
3977
4013
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
3978
4014
|
;
|
|
3979
|
-
} catch (
|
|
3980
|
-
i = !0, s =
|
|
4015
|
+
} catch (l) {
|
|
4016
|
+
i = !0, s = l;
|
|
3981
4017
|
} finally {
|
|
3982
4018
|
try {
|
|
3983
4019
|
!a && o.return != null && o.return();
|
|
@@ -3988,78 +4024,78 @@ function vs(e, t) {
|
|
|
3988
4024
|
return n;
|
|
3989
4025
|
}
|
|
3990
4026
|
}
|
|
3991
|
-
function
|
|
4027
|
+
function ks(e) {
|
|
3992
4028
|
if (Array.isArray(e)) return e;
|
|
3993
4029
|
}
|
|
3994
|
-
var
|
|
4030
|
+
var Ts = typeof kt == "function" ? kt : kt.default, Mo = "file-invalid-type", zo = "file-too-large", Po = "file-too-small", Ns = "too-many-files", Tt = {
|
|
3995
4031
|
FileInvalidType: Mo,
|
|
3996
|
-
FileTooLarge:
|
|
4032
|
+
FileTooLarge: zo,
|
|
3997
4033
|
FileTooSmall: Po
|
|
3998
|
-
},
|
|
4034
|
+
}, Es = function() {
|
|
3999
4035
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", o = t.split(","), n = o.length > 1 ? "one of ".concat(o.join(", ")) : o[0];
|
|
4000
4036
|
return {
|
|
4001
4037
|
code: Mo,
|
|
4002
4038
|
message: "File type must be ".concat(n)
|
|
4003
4039
|
};
|
|
4004
|
-
},
|
|
4040
|
+
}, mo = function(t) {
|
|
4005
4041
|
return {
|
|
4006
|
-
code:
|
|
4042
|
+
code: zo,
|
|
4007
4043
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
4008
4044
|
};
|
|
4009
|
-
},
|
|
4045
|
+
}, uo = function(t) {
|
|
4010
4046
|
return {
|
|
4011
4047
|
code: Po,
|
|
4012
4048
|
message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
4013
4049
|
};
|
|
4014
|
-
},
|
|
4015
|
-
code:
|
|
4050
|
+
}, Is = {
|
|
4051
|
+
code: Ns,
|
|
4016
4052
|
message: "Too many files"
|
|
4017
4053
|
};
|
|
4018
|
-
function
|
|
4019
|
-
var o = e.type === "application/x-moz-file" ||
|
|
4020
|
-
return [o, o ? null :
|
|
4054
|
+
function Oo(e, t) {
|
|
4055
|
+
var o = e.type === "application/x-moz-file" || Ts(e, t);
|
|
4056
|
+
return [o, o ? null : Es(t)];
|
|
4021
4057
|
}
|
|
4022
|
-
function
|
|
4058
|
+
function Wo(e, t, o) {
|
|
4023
4059
|
if (Fe(e.size))
|
|
4024
4060
|
if (Fe(t) && Fe(o)) {
|
|
4025
|
-
if (e.size > o) return [!1,
|
|
4026
|
-
if (e.size < t) return [!1,
|
|
4061
|
+
if (e.size > o) return [!1, mo(o)];
|
|
4062
|
+
if (e.size < t) return [!1, uo(t)];
|
|
4027
4063
|
} else {
|
|
4028
|
-
if (Fe(t) && e.size < t) return [!1,
|
|
4029
|
-
if (Fe(o) && e.size > o) return [!1,
|
|
4064
|
+
if (Fe(t) && e.size < t) return [!1, uo(t)];
|
|
4065
|
+
if (Fe(o) && e.size > o) return [!1, mo(o)];
|
|
4030
4066
|
}
|
|
4031
4067
|
return [!0, null];
|
|
4032
4068
|
}
|
|
4033
4069
|
function Fe(e) {
|
|
4034
4070
|
return e != null;
|
|
4035
4071
|
}
|
|
4036
|
-
function
|
|
4072
|
+
function Ss(e) {
|
|
4037
4073
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
4038
|
-
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(
|
|
4039
|
-
var
|
|
4074
|
+
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(l) {
|
|
4075
|
+
var p = Oo(l, o), d = qe(p, 1), u = d[0], g = Wo(l, n, a), h = qe(g, 1), x = h[0], w = s ? s(l) : null;
|
|
4040
4076
|
return u && x && !w;
|
|
4041
4077
|
});
|
|
4042
4078
|
}
|
|
4043
|
-
function
|
|
4079
|
+
function nt(e) {
|
|
4044
4080
|
return typeof e.isPropagationStopped == "function" ? e.isPropagationStopped() : typeof e.cancelBubble < "u" ? e.cancelBubble : !1;
|
|
4045
4081
|
}
|
|
4046
|
-
function
|
|
4082
|
+
function et(e) {
|
|
4047
4083
|
return e.dataTransfer ? Array.prototype.some.call(e.dataTransfer.types, function(t) {
|
|
4048
4084
|
return t === "Files" || t === "application/x-moz-file";
|
|
4049
4085
|
}) : !!e.target && !!e.target.files;
|
|
4050
4086
|
}
|
|
4051
|
-
function
|
|
4087
|
+
function _o(e) {
|
|
4052
4088
|
e.preventDefault();
|
|
4053
4089
|
}
|
|
4054
|
-
function
|
|
4090
|
+
function Ls(e) {
|
|
4055
4091
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
4056
4092
|
}
|
|
4057
|
-
function
|
|
4093
|
+
function Rs(e) {
|
|
4058
4094
|
return e.indexOf("Edge/") !== -1;
|
|
4059
4095
|
}
|
|
4060
|
-
function
|
|
4096
|
+
function Fs() {
|
|
4061
4097
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
4062
|
-
return
|
|
4098
|
+
return Ls(e) || Rs(e);
|
|
4063
4099
|
}
|
|
4064
4100
|
function Ne() {
|
|
4065
4101
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
@@ -4068,21 +4104,21 @@ function Ne() {
|
|
|
4068
4104
|
for (var a = arguments.length, i = new Array(a > 1 ? a - 1 : 0), r = 1; r < a; r++)
|
|
4069
4105
|
i[r - 1] = arguments[r];
|
|
4070
4106
|
return t.some(function(s) {
|
|
4071
|
-
return !
|
|
4107
|
+
return !nt(n) && s && s.apply(void 0, [n].concat(i)), nt(n);
|
|
4072
4108
|
});
|
|
4073
4109
|
};
|
|
4074
4110
|
}
|
|
4075
|
-
function
|
|
4111
|
+
function As() {
|
|
4076
4112
|
return "showOpenFilePicker" in window;
|
|
4077
4113
|
}
|
|
4078
|
-
function
|
|
4114
|
+
function js(e) {
|
|
4079
4115
|
if (Fe(e)) {
|
|
4080
4116
|
var t = Object.entries(e).filter(function(o) {
|
|
4081
|
-
var n =
|
|
4082
|
-
return
|
|
4117
|
+
var n = qe(o, 2), a = n[0], i = n[1], r = !0;
|
|
4118
|
+
return Uo(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(qo)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
4083
4119
|
}).reduce(function(o, n) {
|
|
4084
|
-
var a =
|
|
4085
|
-
return
|
|
4120
|
+
var a = qe(n, 2), i = a[0], r = a[1];
|
|
4121
|
+
return co(co({}, o), {}, Bo({}, i, r));
|
|
4086
4122
|
}, {});
|
|
4087
4123
|
return [{
|
|
4088
4124
|
// description is required due to https://crbug.com/1264708
|
|
@@ -4092,71 +4128,71 @@ function Es(e) {
|
|
|
4092
4128
|
}
|
|
4093
4129
|
return e;
|
|
4094
4130
|
}
|
|
4095
|
-
function
|
|
4131
|
+
function Bs(e) {
|
|
4096
4132
|
if (Fe(e))
|
|
4097
4133
|
return Object.entries(e).reduce(function(t, o) {
|
|
4098
|
-
var n =
|
|
4099
|
-
return [].concat(
|
|
4134
|
+
var n = qe(o, 2), a = n[0], i = n[1];
|
|
4135
|
+
return [].concat(lo(t), [a], lo(i));
|
|
4100
4136
|
}, []).filter(function(t) {
|
|
4101
|
-
return
|
|
4137
|
+
return Uo(t) || qo(t);
|
|
4102
4138
|
}).join(",");
|
|
4103
4139
|
}
|
|
4104
|
-
function
|
|
4140
|
+
function Ds(e) {
|
|
4105
4141
|
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
4106
4142
|
}
|
|
4107
|
-
function
|
|
4143
|
+
function Ms(e) {
|
|
4108
4144
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
4109
4145
|
}
|
|
4110
|
-
function
|
|
4146
|
+
function Uo(e) {
|
|
4111
4147
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
4112
4148
|
}
|
|
4113
|
-
function
|
|
4149
|
+
function qo(e) {
|
|
4114
4150
|
return /^.*\.[\w]+$/.test(e);
|
|
4115
4151
|
}
|
|
4116
|
-
var
|
|
4117
|
-
function
|
|
4118
|
-
return
|
|
4152
|
+
var zs = ["children"], Ps = ["open"], Os = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], Ws = ["refKey", "onChange", "onClick"];
|
|
4153
|
+
function Us(e) {
|
|
4154
|
+
return Hs(e) || $s(e) || $o(e) || qs();
|
|
4119
4155
|
}
|
|
4120
|
-
function
|
|
4156
|
+
function qs() {
|
|
4121
4157
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4122
4158
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4123
4159
|
}
|
|
4124
|
-
function
|
|
4160
|
+
function $s(e) {
|
|
4125
4161
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4126
4162
|
}
|
|
4127
|
-
function
|
|
4128
|
-
if (Array.isArray(e)) return
|
|
4163
|
+
function Hs(e) {
|
|
4164
|
+
if (Array.isArray(e)) return Rt(e);
|
|
4129
4165
|
}
|
|
4130
|
-
function
|
|
4131
|
-
return
|
|
4166
|
+
function Nt(e, t) {
|
|
4167
|
+
return Gs(e) || Ys(e, t) || $o(e, t) || Vs();
|
|
4132
4168
|
}
|
|
4133
|
-
function
|
|
4169
|
+
function Vs() {
|
|
4134
4170
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4135
4171
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4136
4172
|
}
|
|
4137
|
-
function
|
|
4173
|
+
function $o(e, t) {
|
|
4138
4174
|
if (e) {
|
|
4139
|
-
if (typeof e == "string") return
|
|
4175
|
+
if (typeof e == "string") return Rt(e, t);
|
|
4140
4176
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
4141
4177
|
if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
|
|
4142
|
-
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return
|
|
4178
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Rt(e, t);
|
|
4143
4179
|
}
|
|
4144
4180
|
}
|
|
4145
|
-
function
|
|
4181
|
+
function Rt(e, t) {
|
|
4146
4182
|
(t == null || t > e.length) && (t = e.length);
|
|
4147
4183
|
for (var o = 0, n = new Array(t); o < t; o++)
|
|
4148
4184
|
n[o] = e[o];
|
|
4149
4185
|
return n;
|
|
4150
4186
|
}
|
|
4151
|
-
function
|
|
4187
|
+
function Ys(e, t) {
|
|
4152
4188
|
var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
4153
4189
|
if (o != null) {
|
|
4154
4190
|
var n = [], a = !0, i = !1, r, s;
|
|
4155
4191
|
try {
|
|
4156
4192
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
4157
4193
|
;
|
|
4158
|
-
} catch (
|
|
4159
|
-
i = !0, s =
|
|
4194
|
+
} catch (l) {
|
|
4195
|
+
i = !0, s = l;
|
|
4160
4196
|
} finally {
|
|
4161
4197
|
try {
|
|
4162
4198
|
!a && o.return != null && o.return();
|
|
@@ -4167,10 +4203,10 @@ function Os(e, t) {
|
|
|
4167
4203
|
return n;
|
|
4168
4204
|
}
|
|
4169
4205
|
}
|
|
4170
|
-
function
|
|
4206
|
+
function Gs(e) {
|
|
4171
4207
|
if (Array.isArray(e)) return e;
|
|
4172
4208
|
}
|
|
4173
|
-
function
|
|
4209
|
+
function fo(e, t) {
|
|
4174
4210
|
var o = Object.keys(e);
|
|
4175
4211
|
if (Object.getOwnPropertySymbols) {
|
|
4176
4212
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -4183,20 +4219,20 @@ function _o(e, t) {
|
|
|
4183
4219
|
function oe(e) {
|
|
4184
4220
|
for (var t = 1; t < arguments.length; t++) {
|
|
4185
4221
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
4186
|
-
t % 2 ?
|
|
4187
|
-
|
|
4188
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) :
|
|
4222
|
+
t % 2 ? fo(Object(o), !0).forEach(function(n) {
|
|
4223
|
+
Ft(e, n, o[n]);
|
|
4224
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : fo(Object(o)).forEach(function(n) {
|
|
4189
4225
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
4190
4226
|
});
|
|
4191
4227
|
}
|
|
4192
4228
|
return e;
|
|
4193
4229
|
}
|
|
4194
|
-
function
|
|
4230
|
+
function Ft(e, t, o) {
|
|
4195
4231
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
4196
4232
|
}
|
|
4197
|
-
function
|
|
4233
|
+
function at(e, t) {
|
|
4198
4234
|
if (e == null) return {};
|
|
4199
|
-
var o =
|
|
4235
|
+
var o = Ks(e, t), n, a;
|
|
4200
4236
|
if (Object.getOwnPropertySymbols) {
|
|
4201
4237
|
var i = Object.getOwnPropertySymbols(e);
|
|
4202
4238
|
for (a = 0; a < i.length; a++)
|
|
@@ -4204,27 +4240,27 @@ function nt(e, t) {
|
|
|
4204
4240
|
}
|
|
4205
4241
|
return o;
|
|
4206
4242
|
}
|
|
4207
|
-
function
|
|
4243
|
+
function Ks(e, t) {
|
|
4208
4244
|
if (e == null) return {};
|
|
4209
4245
|
var o = {}, n = Object.keys(e), a, i;
|
|
4210
4246
|
for (i = 0; i < n.length; i++)
|
|
4211
4247
|
a = n[i], !(t.indexOf(a) >= 0) && (o[a] = e[a]);
|
|
4212
4248
|
return o;
|
|
4213
4249
|
}
|
|
4214
|
-
var Pt = /* @__PURE__ */
|
|
4215
|
-
var o = e.children, n =
|
|
4216
|
-
return
|
|
4250
|
+
var Pt = /* @__PURE__ */ Jo(function(e, t) {
|
|
4251
|
+
var o = e.children, n = at(e, zs), a = Vo(n), i = a.open, r = at(a, Ps);
|
|
4252
|
+
return en(t, function() {
|
|
4217
4253
|
return {
|
|
4218
4254
|
open: i
|
|
4219
4255
|
};
|
|
4220
|
-
}, [i]), /* @__PURE__ */
|
|
4256
|
+
}, [i]), /* @__PURE__ */ $e.createElement(tn, null, o(oe(oe({}, r), {}, {
|
|
4221
4257
|
open: i
|
|
4222
4258
|
})));
|
|
4223
4259
|
});
|
|
4224
4260
|
Pt.displayName = "Dropzone";
|
|
4225
|
-
var
|
|
4261
|
+
var Ho = {
|
|
4226
4262
|
disabled: !1,
|
|
4227
|
-
getFilesFromEvent:
|
|
4263
|
+
getFilesFromEvent: cs,
|
|
4228
4264
|
maxSize: 1 / 0,
|
|
4229
4265
|
minSize: 0,
|
|
4230
4266
|
multiple: !0,
|
|
@@ -4238,7 +4274,7 @@ var $o = {
|
|
|
4238
4274
|
useFsAccessApi: !1,
|
|
4239
4275
|
autoFocus: !1
|
|
4240
4276
|
};
|
|
4241
|
-
Pt.defaultProps =
|
|
4277
|
+
Pt.defaultProps = Ho;
|
|
4242
4278
|
Pt.propTypes = {
|
|
4243
4279
|
/**
|
|
4244
4280
|
* Render function that exposes the dropzone state and prop getter fns
|
|
@@ -4407,7 +4443,7 @@ Pt.propTypes = {
|
|
|
4407
4443
|
*/
|
|
4408
4444
|
validator: E.func
|
|
4409
4445
|
};
|
|
4410
|
-
var
|
|
4446
|
+
var At = {
|
|
4411
4447
|
isFocused: !1,
|
|
4412
4448
|
isFileDialogActive: !1,
|
|
4413
4449
|
isDragActive: !1,
|
|
@@ -4416,22 +4452,22 @@ var Ft = {
|
|
|
4416
4452
|
acceptedFiles: [],
|
|
4417
4453
|
fileRejections: []
|
|
4418
4454
|
};
|
|
4419
|
-
function
|
|
4420
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = oe(oe({},
|
|
4421
|
-
return
|
|
4422
|
-
}, [o]),
|
|
4423
|
-
return
|
|
4424
|
-
}, [o]),
|
|
4425
|
-
return typeof R == "function" ? R :
|
|
4426
|
-
}, [R]),
|
|
4427
|
-
return typeof w == "function" ? w :
|
|
4428
|
-
}, [w]), X = de(null), T = de(null),
|
|
4429
|
-
!
|
|
4455
|
+
function Vo() {
|
|
4456
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = oe(oe({}, Ho), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, l = t.maxFiles, p = t.onDragEnter, d = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, x = t.onDropRejected, w = t.onFileDialogCancel, R = t.onFileDialogOpen, A = t.useFsAccessApi, U = t.autoFocus, F = t.preventDropOnDocument, y = t.noClick, m = t.noKeyboard, N = t.noDrag, O = t.noDragEventsBubbling, G = t.onError, J = t.validator, ne = De(function() {
|
|
4457
|
+
return Bs(o);
|
|
4458
|
+
}, [o]), ue = De(function() {
|
|
4459
|
+
return js(o);
|
|
4460
|
+
}, [o]), _e = De(function() {
|
|
4461
|
+
return typeof R == "function" ? R : vo;
|
|
4462
|
+
}, [R]), pe = De(function() {
|
|
4463
|
+
return typeof w == "function" ? w : vo;
|
|
4464
|
+
}, [w]), X = de(null), T = de(null), M = Qo(Xs, At), q = Nt(M, 2), V = q[0], te = q[1], _ = V.isFocused, v = V.isFileDialogActive, S = de(typeof window < "u" && window.isSecureContext && A && As()), L = function() {
|
|
4465
|
+
!S.current && v && setTimeout(function() {
|
|
4430
4466
|
if (T.current) {
|
|
4431
4467
|
var j = T.current.files;
|
|
4432
4468
|
j.length || (te({
|
|
4433
4469
|
type: "closeDialog"
|
|
4434
|
-
}),
|
|
4470
|
+
}), pe());
|
|
4435
4471
|
}
|
|
4436
4472
|
}, 300);
|
|
4437
4473
|
};
|
|
@@ -4439,30 +4475,30 @@ function Ho() {
|
|
|
4439
4475
|
return window.addEventListener("focus", L, !1), function() {
|
|
4440
4476
|
window.removeEventListener("focus", L, !1);
|
|
4441
4477
|
};
|
|
4442
|
-
}, [T, v,
|
|
4443
|
-
var
|
|
4444
|
-
X.current && X.current.contains(j.target) || (j.preventDefault(),
|
|
4478
|
+
}, [T, v, pe, S]);
|
|
4479
|
+
var I = de([]), z = function(j) {
|
|
4480
|
+
X.current && X.current.contains(j.target) || (j.preventDefault(), I.current = []);
|
|
4445
4481
|
};
|
|
4446
4482
|
re(function() {
|
|
4447
|
-
return F && (document.addEventListener("dragover",
|
|
4448
|
-
F && (document.removeEventListener("dragover",
|
|
4483
|
+
return F && (document.addEventListener("dragover", _o, !1), document.addEventListener("drop", z, !1)), function() {
|
|
4484
|
+
F && (document.removeEventListener("dragover", _o), document.removeEventListener("drop", z));
|
|
4449
4485
|
};
|
|
4450
4486
|
}, [X, F]), re(function() {
|
|
4451
4487
|
return !n && U && X.current && X.current.focus(), function() {
|
|
4452
4488
|
};
|
|
4453
4489
|
}, [X, U, n]);
|
|
4454
|
-
var
|
|
4455
|
-
|
|
4456
|
-
}, [
|
|
4457
|
-
k.preventDefault(), k.persist(),
|
|
4458
|
-
if (!(
|
|
4459
|
-
var ae = j.length, se = ae > 0 &&
|
|
4490
|
+
var B = xe(function(k) {
|
|
4491
|
+
G ? G(k) : console.error(k);
|
|
4492
|
+
}, [G]), W = xe(function(k) {
|
|
4493
|
+
k.preventDefault(), k.persist(), Ye(k), I.current = [].concat(Us(I.current), [k.target]), et(k) && Promise.resolve(a(k)).then(function(j) {
|
|
4494
|
+
if (!(nt(k) && !O)) {
|
|
4495
|
+
var ae = j.length, se = ae > 0 && Ss({
|
|
4460
4496
|
files: j,
|
|
4461
4497
|
accept: ne,
|
|
4462
4498
|
minSize: r,
|
|
4463
4499
|
maxSize: i,
|
|
4464
4500
|
multiple: s,
|
|
4465
|
-
maxFiles:
|
|
4501
|
+
maxFiles: l,
|
|
4466
4502
|
validator: J
|
|
4467
4503
|
}), be = ae > 0 && !se;
|
|
4468
4504
|
te({
|
|
@@ -4470,50 +4506,50 @@ function Ho() {
|
|
|
4470
4506
|
isDragReject: be,
|
|
4471
4507
|
isDragActive: !0,
|
|
4472
4508
|
type: "setDraggedFiles"
|
|
4473
|
-
}),
|
|
4509
|
+
}), p && p(k);
|
|
4474
4510
|
}
|
|
4475
4511
|
}).catch(function(j) {
|
|
4476
|
-
return
|
|
4512
|
+
return B(j);
|
|
4477
4513
|
});
|
|
4478
|
-
}, [a,
|
|
4479
|
-
k.preventDefault(), k.persist(),
|
|
4480
|
-
var j =
|
|
4514
|
+
}, [a, p, B, O, ne, r, i, s, l, J]), H = xe(function(k) {
|
|
4515
|
+
k.preventDefault(), k.persist(), Ye(k);
|
|
4516
|
+
var j = et(k);
|
|
4481
4517
|
if (j && k.dataTransfer)
|
|
4482
4518
|
try {
|
|
4483
4519
|
k.dataTransfer.dropEffect = "copy";
|
|
4484
4520
|
} catch {
|
|
4485
4521
|
}
|
|
4486
4522
|
return j && u && u(k), !1;
|
|
4487
|
-
}, [u,
|
|
4488
|
-
k.preventDefault(), k.persist(),
|
|
4489
|
-
var j =
|
|
4523
|
+
}, [u, O]), K = xe(function(k) {
|
|
4524
|
+
k.preventDefault(), k.persist(), Ye(k);
|
|
4525
|
+
var j = I.current.filter(function(se) {
|
|
4490
4526
|
return X.current && X.current.contains(se);
|
|
4491
4527
|
}), ae = j.indexOf(k.target);
|
|
4492
|
-
ae !== -1 && j.splice(ae, 1),
|
|
4528
|
+
ae !== -1 && j.splice(ae, 1), I.current = j, !(j.length > 0) && (te({
|
|
4493
4529
|
type: "setDraggedFiles",
|
|
4494
4530
|
isDragActive: !1,
|
|
4495
4531
|
isDragAccept: !1,
|
|
4496
4532
|
isDragReject: !1
|
|
4497
|
-
}),
|
|
4498
|
-
}, [X, d,
|
|
4533
|
+
}), et(k) && d && d(k));
|
|
4534
|
+
}, [X, d, O]), $ = xe(function(k, j) {
|
|
4499
4535
|
var ae = [], se = [];
|
|
4500
4536
|
k.forEach(function(be) {
|
|
4501
|
-
var
|
|
4502
|
-
if (
|
|
4537
|
+
var Oe = Oo(be, ne), Be = Nt(Oe, 2), st = Be[0], lt = Be[1], pt = Wo(be, r, i), Ge = Nt(pt, 2), ct = Ge[0], dt = Ge[1], mt = J ? J(be) : null;
|
|
4538
|
+
if (st && ct && !mt)
|
|
4503
4539
|
ae.push(be);
|
|
4504
4540
|
else {
|
|
4505
|
-
var
|
|
4506
|
-
|
|
4541
|
+
var ut = [lt, dt];
|
|
4542
|
+
mt && (ut = ut.concat(mt)), se.push({
|
|
4507
4543
|
file: be,
|
|
4508
|
-
errors:
|
|
4509
|
-
return
|
|
4544
|
+
errors: ut.filter(function(Xo) {
|
|
4545
|
+
return Xo;
|
|
4510
4546
|
})
|
|
4511
4547
|
});
|
|
4512
4548
|
}
|
|
4513
|
-
}), (!s && ae.length > 1 || s &&
|
|
4549
|
+
}), (!s && ae.length > 1 || s && l >= 1 && ae.length > l) && (ae.forEach(function(be) {
|
|
4514
4550
|
se.push({
|
|
4515
4551
|
file: be,
|
|
4516
|
-
errors: [
|
|
4552
|
+
errors: [Is]
|
|
4517
4553
|
});
|
|
4518
4554
|
}), ae.splice(0)), te({
|
|
4519
4555
|
acceptedFiles: ae,
|
|
@@ -4521,22 +4557,22 @@ function Ho() {
|
|
|
4521
4557
|
isDragReject: se.length > 0,
|
|
4522
4558
|
type: "setFiles"
|
|
4523
4559
|
}), g && g(ae, se, j), se.length > 0 && x && x(se, j), ae.length > 0 && h && h(ae, j);
|
|
4524
|
-
}, [te, s, ne, r, i,
|
|
4525
|
-
k.preventDefault(), k.persist(),
|
|
4526
|
-
|
|
4560
|
+
}, [te, s, ne, r, i, l, g, h, x, J]), ie = xe(function(k) {
|
|
4561
|
+
k.preventDefault(), k.persist(), Ye(k), I.current = [], et(k) && Promise.resolve(a(k)).then(function(j) {
|
|
4562
|
+
nt(k) && !O || $(j, k);
|
|
4527
4563
|
}).catch(function(j) {
|
|
4528
|
-
return
|
|
4564
|
+
return B(j);
|
|
4529
4565
|
}), te({
|
|
4530
4566
|
type: "reset"
|
|
4531
4567
|
});
|
|
4532
|
-
}, [a, $,
|
|
4533
|
-
if (
|
|
4568
|
+
}, [a, $, B, O]), b = xe(function() {
|
|
4569
|
+
if (S.current) {
|
|
4534
4570
|
te({
|
|
4535
4571
|
type: "openDialog"
|
|
4536
|
-
}),
|
|
4572
|
+
}), _e();
|
|
4537
4573
|
var k = {
|
|
4538
4574
|
multiple: s,
|
|
4539
|
-
types:
|
|
4575
|
+
types: ue
|
|
4540
4576
|
};
|
|
4541
4577
|
window.showOpenFilePicker(k).then(function(j) {
|
|
4542
4578
|
return a(j);
|
|
@@ -4545,18 +4581,18 @@ function Ho() {
|
|
|
4545
4581
|
type: "closeDialog"
|
|
4546
4582
|
});
|
|
4547
4583
|
}).catch(function(j) {
|
|
4548
|
-
|
|
4584
|
+
Ds(j) ? (pe(j), te({
|
|
4549
4585
|
type: "closeDialog"
|
|
4550
|
-
})) :
|
|
4586
|
+
})) : Ms(j) ? (S.current = !1, T.current ? (T.current.value = null, T.current.click()) : B(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."))) : B(j);
|
|
4551
4587
|
});
|
|
4552
4588
|
return;
|
|
4553
4589
|
}
|
|
4554
4590
|
T.current && (te({
|
|
4555
4591
|
type: "openDialog"
|
|
4556
|
-
}),
|
|
4557
|
-
}, [te,
|
|
4592
|
+
}), _e(), T.current.value = null, T.current.click());
|
|
4593
|
+
}, [te, _e, pe, A, $, B, ue, s]), he = xe(function(k) {
|
|
4558
4594
|
!X.current || !X.current.isEqualNode(k.target) || (k.key === " " || k.key === "Enter" || k.keyCode === 32 || k.keyCode === 13) && (k.preventDefault(), b());
|
|
4559
|
-
}, [X, b]),
|
|
4595
|
+
}, [X, b]), Se = xe(function() {
|
|
4560
4596
|
te({
|
|
4561
4597
|
type: "focus"
|
|
4562
4598
|
});
|
|
@@ -4564,38 +4600,38 @@ function Ho() {
|
|
|
4564
4600
|
te({
|
|
4565
4601
|
type: "blur"
|
|
4566
4602
|
});
|
|
4567
|
-
}, []),
|
|
4568
|
-
y || (
|
|
4603
|
+
}, []), Ot = xe(function() {
|
|
4604
|
+
y || (Fs() ? setTimeout(b, 0) : b());
|
|
4569
4605
|
}, [y, b]), je = function(j) {
|
|
4570
4606
|
return n ? null : j;
|
|
4571
|
-
},
|
|
4607
|
+
}, rt = function(j) {
|
|
4572
4608
|
return m ? null : je(j);
|
|
4573
|
-
}, He = function(j) {
|
|
4574
|
-
return N ? null : je(j);
|
|
4575
4609
|
}, Ve = function(j) {
|
|
4576
|
-
|
|
4577
|
-
},
|
|
4610
|
+
return N ? null : je(j);
|
|
4611
|
+
}, Ye = function(j) {
|
|
4612
|
+
O && j.stopPropagation();
|
|
4613
|
+
}, Yo = De(function() {
|
|
4578
4614
|
return function() {
|
|
4579
|
-
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.role, be = k.onKeyDown,
|
|
4580
|
-
return oe(oe(
|
|
4581
|
-
onKeyDown:
|
|
4582
|
-
onFocus:
|
|
4583
|
-
onBlur:
|
|
4584
|
-
onClick: je(Ne(
|
|
4585
|
-
onDragEnter:
|
|
4586
|
-
onDragOver:
|
|
4587
|
-
onDragLeave:
|
|
4588
|
-
onDrop:
|
|
4615
|
+
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.role, be = k.onKeyDown, Oe = k.onFocus, Be = k.onBlur, st = k.onClick, lt = k.onDragEnter, pt = k.onDragOver, Ge = k.onDragLeave, ct = k.onDrop, dt = at(k, Os);
|
|
4616
|
+
return oe(oe(Ft({
|
|
4617
|
+
onKeyDown: rt(Ne(be, he)),
|
|
4618
|
+
onFocus: rt(Ne(Oe, Se)),
|
|
4619
|
+
onBlur: rt(Ne(Be, Pe)),
|
|
4620
|
+
onClick: je(Ne(st, Ot)),
|
|
4621
|
+
onDragEnter: Ve(Ne(lt, W)),
|
|
4622
|
+
onDragOver: Ve(Ne(pt, H)),
|
|
4623
|
+
onDragLeave: Ve(Ne(Ge, K)),
|
|
4624
|
+
onDrop: Ve(Ne(ct, ie)),
|
|
4589
4625
|
role: typeof se == "string" && se !== "" ? se : "presentation"
|
|
4590
4626
|
}, ae, X), !n && !m ? {
|
|
4591
4627
|
tabIndex: 0
|
|
4592
|
-
} : {}),
|
|
4628
|
+
} : {}), dt);
|
|
4593
4629
|
};
|
|
4594
|
-
}, [X, he,
|
|
4630
|
+
}, [X, he, Se, Pe, Ot, W, H, K, ie, m, N, n]), Go = xe(function(k) {
|
|
4595
4631
|
k.stopPropagation();
|
|
4596
|
-
}, []),
|
|
4632
|
+
}, []), Ko = De(function() {
|
|
4597
4633
|
return function() {
|
|
4598
|
-
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.onChange, be = k.onClick,
|
|
4634
|
+
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.onChange, be = k.onClick, Oe = at(k, Ws), Be = Ft({
|
|
4599
4635
|
accept: ne,
|
|
4600
4636
|
multiple: s,
|
|
4601
4637
|
type: "file",
|
|
@@ -4612,22 +4648,22 @@ function Ho() {
|
|
|
4612
4648
|
whiteSpace: "nowrap"
|
|
4613
4649
|
},
|
|
4614
4650
|
onChange: je(Ne(se, ie)),
|
|
4615
|
-
onClick: je(Ne(be,
|
|
4651
|
+
onClick: je(Ne(be, Go)),
|
|
4616
4652
|
tabIndex: -1
|
|
4617
4653
|
}, ae, T);
|
|
4618
|
-
return oe(oe({},
|
|
4654
|
+
return oe(oe({}, Be), Oe);
|
|
4619
4655
|
};
|
|
4620
4656
|
}, [T, o, s, ie, n]);
|
|
4621
4657
|
return oe(oe({}, V), {}, {
|
|
4622
4658
|
isFocused: _ && !n,
|
|
4623
|
-
getRootProps:
|
|
4624
|
-
getInputProps:
|
|
4659
|
+
getRootProps: Yo,
|
|
4660
|
+
getInputProps: Ko,
|
|
4625
4661
|
rootRef: X,
|
|
4626
4662
|
inputRef: T,
|
|
4627
4663
|
open: je(b)
|
|
4628
4664
|
});
|
|
4629
4665
|
}
|
|
4630
|
-
function
|
|
4666
|
+
function Xs(e, t) {
|
|
4631
4667
|
switch (t.type) {
|
|
4632
4668
|
case "focus":
|
|
4633
4669
|
return oe(oe({}, e), {}, {
|
|
@@ -4638,7 +4674,7 @@ function qs(e, t) {
|
|
|
4638
4674
|
isFocused: !1
|
|
4639
4675
|
});
|
|
4640
4676
|
case "openDialog":
|
|
4641
|
-
return oe(oe({},
|
|
4677
|
+
return oe(oe({}, At), {}, {
|
|
4642
4678
|
isFileDialogActive: !0
|
|
4643
4679
|
});
|
|
4644
4680
|
case "closeDialog":
|
|
@@ -4658,65 +4694,65 @@ function qs(e, t) {
|
|
|
4658
4694
|
isDragReject: t.isDragReject
|
|
4659
4695
|
});
|
|
4660
4696
|
case "reset":
|
|
4661
|
-
return oe({},
|
|
4697
|
+
return oe({}, At);
|
|
4662
4698
|
default:
|
|
4663
4699
|
return e;
|
|
4664
4700
|
}
|
|
4665
4701
|
}
|
|
4666
|
-
function
|
|
4702
|
+
function vo() {
|
|
4667
4703
|
}
|
|
4668
|
-
const
|
|
4704
|
+
const Zs = (e) => Vo(e), Qs = (e) => {
|
|
4669
4705
|
switch (e.code) {
|
|
4670
|
-
case
|
|
4706
|
+
case Tt.FileInvalidType:
|
|
4671
4707
|
return "Неверный формат файла";
|
|
4672
|
-
case
|
|
4673
|
-
case
|
|
4708
|
+
case Tt.FileTooLarge:
|
|
4709
|
+
case Tt.FileTooSmall:
|
|
4674
4710
|
return "Некорректный размер файла";
|
|
4675
4711
|
default:
|
|
4676
4712
|
return "";
|
|
4677
4713
|
}
|
|
4678
|
-
},
|
|
4714
|
+
}, Js = (e) => {
|
|
4679
4715
|
var t;
|
|
4680
|
-
return
|
|
4681
|
-
},
|
|
4716
|
+
return It(e) ? "" : (t = e.split(".").pop()) == null ? void 0 : t.toLowerCase();
|
|
4717
|
+
}, el = (e, t = {}) => {
|
|
4682
4718
|
const { decimals: o = 1, space: n = !0 } = t;
|
|
4683
4719
|
if (e === 0) return "0" + (n ? " " : "") + "B";
|
|
4684
|
-
const a = 1024, i = ["B", "KB", "MB", "GB", "TB"], r = Math.floor(Math.log(e) / Math.log(a)), s = r === 0 ? 0 : o,
|
|
4685
|
-
return parseFloat((e / Math.pow(a, r)).toFixed(s)) +
|
|
4686
|
-
},
|
|
4687
|
-
ellipsisFileName:
|
|
4688
|
-
tooltipContent:
|
|
4689
|
-
},
|
|
4720
|
+
const a = 1024, i = ["B", "KB", "MB", "GB", "TB"], r = Math.floor(Math.log(e) / Math.log(a)), s = r === 0 ? 0 : o, l = n ? " " : "";
|
|
4721
|
+
return parseFloat((e / Math.pow(a, r)).toFixed(s)) + l + i[r];
|
|
4722
|
+
}, tl = "_ellipsisFileName_qx34h_1", ol = "_tooltipContent_qx34h_7", go = {
|
|
4723
|
+
ellipsisFileName: tl,
|
|
4724
|
+
tooltipContent: ol
|
|
4725
|
+
}, nl = (e) => {
|
|
4690
4726
|
const {
|
|
4691
4727
|
fileName: t,
|
|
4692
4728
|
classNameRoot: o,
|
|
4693
4729
|
type: n = "p2",
|
|
4694
4730
|
classNameEllipsisText: a,
|
|
4695
4731
|
classNameEllipsisFileNameRoot: i
|
|
4696
|
-
} = e, r = de(null), s = de(null), [
|
|
4697
|
-
r.current &&
|
|
4732
|
+
} = e, r = de(null), s = de(null), [l, p] = ee(!1), [d, u] = ee(0), g = () => {
|
|
4733
|
+
r.current && p(r.current.scrollWidth > r.current.clientWidth), s.current && u(s.current.offsetWidth);
|
|
4698
4734
|
};
|
|
4699
|
-
|
|
4735
|
+
xo(() => (g(), window.addEventListener("resize", g), () => {
|
|
4700
4736
|
window.removeEventListener("resize", g);
|
|
4701
4737
|
}), [t]);
|
|
4702
|
-
const h =
|
|
4703
|
-
return /* @__PURE__ */
|
|
4738
|
+
const h = Js(t);
|
|
4739
|
+
return /* @__PURE__ */ P(
|
|
4704
4740
|
"div",
|
|
4705
4741
|
{
|
|
4706
4742
|
className: f(
|
|
4707
|
-
|
|
4743
|
+
go.ellipsisFileName,
|
|
4708
4744
|
i && i
|
|
4709
4745
|
),
|
|
4710
4746
|
children: [
|
|
4711
4747
|
/* @__PURE__ */ c(
|
|
4712
|
-
|
|
4748
|
+
He,
|
|
4713
4749
|
{
|
|
4714
4750
|
hover: !0,
|
|
4715
|
-
position:
|
|
4716
|
-
classNameBaseTooltipRoot:
|
|
4717
|
-
styleTooltip: { maxWidth:
|
|
4751
|
+
position: le.TopLeft,
|
|
4752
|
+
classNameBaseTooltipRoot: go.tooltipContent,
|
|
4753
|
+
styleTooltip: { maxWidth: l ? `calc(100% - ${d}px)` : "100%" },
|
|
4718
4754
|
classNameTooltip: o,
|
|
4719
|
-
isVisibleTooltip:
|
|
4755
|
+
isVisibleTooltip: l,
|
|
4720
4756
|
text: t,
|
|
4721
4757
|
trigger: /* @__PURE__ */ c(Te, { type: n, isEllipsis: !0, ref: r, classNameRoot: a, children: t })
|
|
4722
4758
|
}
|
|
@@ -4734,44 +4770,44 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4734
4770
|
children: /* @__PURE__ */ c(Te, { type: n, classNameRoot: a, children: h })
|
|
4735
4771
|
}
|
|
4736
4772
|
),
|
|
4737
|
-
|
|
4773
|
+
l && /* @__PURE__ */ c(Te, { type: n, classNameRoot: a, children: h })
|
|
4738
4774
|
]
|
|
4739
4775
|
}
|
|
4740
4776
|
);
|
|
4741
|
-
},
|
|
4742
|
-
spUploadFiles:
|
|
4743
|
-
spUploadFiles_error:
|
|
4744
|
-
spUploadFiles__control:
|
|
4745
|
-
spUploadFiles__fileNameContainer:
|
|
4746
|
-
spUploadFiles__fileName_dragError:
|
|
4747
|
-
spUploadFiles__placeholderContainer:
|
|
4777
|
+
}, al = "_spUploadFiles_6emz0_43", il = "_spUploadFiles_error_6emz0_51", rl = "_spUploadFiles__control_6emz0_51", sl = "_spUploadFiles__fileNameContainer_6emz0_55", ll = "_spUploadFiles__fileName_dragError_6emz0_59", pl = "_spUploadFiles__placeholderContainer_6emz0_62", cl = "_spUploadFiles__placeholderContainer_withUloadTooltip_6emz0_72", dl = "_spUploadFiles__placeholder_6emz0_62", ml = "_spUploadFiles__control_loading_6emz0_104", ul = "_shimmer_6emz0_1", _l = "_spUploadFiles__fileName_6emz0_55", fl = "_spUploadFiles__tooltip_6emz0_130", vl = "_spUploadFiles_fileUploaded_6emz0_160", gl = "_spUploadFiles_disabled_6emz0_160", xl = "_spUploadFiles__fileNamesList_6emz0_171", hl = "_spUploadFiles__fileNamesList_loading_6emz0_182", bl = "_spUploadFiles__fileNamesListItem_6emz0_187", yl = "_spUploadFiles__fileNamesListItem__iconContainer_6emz0_225", wl = "_spUploadFiles__fileNamesListItem__iconContainer_error_6emz0_234", Cl = "_spUploadFiles__fileNamesListItem__mainContent_6emz0_239", kl = "_spUploadFiles__fileNamesListItem__fileNameWrapper_6emz0_246", Tl = "_spUploadFiles__fileNamesListItem__fileName_6emz0_246", Nl = "_spUploadFiles__fileNamesListItem__description_6emz0_253", El = "_spUploadFiles__fileNamesListItem__description__tooltipContent_6emz0_258", Il = "_spUploadFiles__fileNamesListItem__description_error_6emz0_261", Sl = "_spUploadFiles__fileNamesListItemDelete_6emz0_264", Ll = "_spUploadFiles__fileNamesListItemDelete_error_6emz0_281", Rl = "_spUploadFiles__delete_6emz0_294", Fl = "_spUploadFiles__delete_loading_6emz0_298", Al = "_spUploadFiles__error_6emz0_307", Y = {
|
|
4778
|
+
spUploadFiles: al,
|
|
4779
|
+
spUploadFiles_error: il,
|
|
4780
|
+
spUploadFiles__control: rl,
|
|
4781
|
+
spUploadFiles__fileNameContainer: sl,
|
|
4782
|
+
spUploadFiles__fileName_dragError: ll,
|
|
4783
|
+
spUploadFiles__placeholderContainer: pl,
|
|
4748
4784
|
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_6emz0_65",
|
|
4749
|
-
spUploadFiles__placeholderContainer_withUloadTooltip:
|
|
4750
|
-
spUploadFiles__placeholder:
|
|
4785
|
+
spUploadFiles__placeholderContainer_withUloadTooltip: cl,
|
|
4786
|
+
spUploadFiles__placeholder: dl,
|
|
4751
4787
|
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_6emz0_87",
|
|
4752
|
-
spUploadFiles__control_loading:
|
|
4753
|
-
shimmer:
|
|
4754
|
-
spUploadFiles__fileName:
|
|
4755
|
-
spUploadFiles__tooltip:
|
|
4756
|
-
spUploadFiles_fileUploaded:
|
|
4757
|
-
spUploadFiles_disabled:
|
|
4758
|
-
spUploadFiles__fileNamesList:
|
|
4759
|
-
spUploadFiles__fileNamesList_loading:
|
|
4760
|
-
spUploadFiles__fileNamesListItem:
|
|
4761
|
-
spUploadFiles__fileNamesListItem__iconContainer:
|
|
4762
|
-
spUploadFiles__fileNamesListItem__iconContainer_error:
|
|
4763
|
-
spUploadFiles__fileNamesListItem__mainContent:
|
|
4764
|
-
spUploadFiles__fileNamesListItem__fileNameWrapper:
|
|
4765
|
-
spUploadFiles__fileNamesListItem__fileName:
|
|
4766
|
-
spUploadFiles__fileNamesListItem__description:
|
|
4767
|
-
spUploadFiles__fileNamesListItem__description__tooltipContent:
|
|
4768
|
-
spUploadFiles__fileNamesListItem__description_error:
|
|
4769
|
-
spUploadFiles__fileNamesListItemDelete:
|
|
4770
|
-
spUploadFiles__fileNamesListItemDelete_error:
|
|
4771
|
-
spUploadFiles__delete:
|
|
4772
|
-
spUploadFiles__delete_loading:
|
|
4773
|
-
spUploadFiles__error:
|
|
4774
|
-
},
|
|
4788
|
+
spUploadFiles__control_loading: ml,
|
|
4789
|
+
shimmer: ul,
|
|
4790
|
+
spUploadFiles__fileName: _l,
|
|
4791
|
+
spUploadFiles__tooltip: fl,
|
|
4792
|
+
spUploadFiles_fileUploaded: vl,
|
|
4793
|
+
spUploadFiles_disabled: gl,
|
|
4794
|
+
spUploadFiles__fileNamesList: xl,
|
|
4795
|
+
spUploadFiles__fileNamesList_loading: hl,
|
|
4796
|
+
spUploadFiles__fileNamesListItem: bl,
|
|
4797
|
+
spUploadFiles__fileNamesListItem__iconContainer: yl,
|
|
4798
|
+
spUploadFiles__fileNamesListItem__iconContainer_error: wl,
|
|
4799
|
+
spUploadFiles__fileNamesListItem__mainContent: Cl,
|
|
4800
|
+
spUploadFiles__fileNamesListItem__fileNameWrapper: kl,
|
|
4801
|
+
spUploadFiles__fileNamesListItem__fileName: Tl,
|
|
4802
|
+
spUploadFiles__fileNamesListItem__description: Nl,
|
|
4803
|
+
spUploadFiles__fileNamesListItem__description__tooltipContent: El,
|
|
4804
|
+
spUploadFiles__fileNamesListItem__description_error: Il,
|
|
4805
|
+
spUploadFiles__fileNamesListItemDelete: Sl,
|
|
4806
|
+
spUploadFiles__fileNamesListItemDelete_error: Ll,
|
|
4807
|
+
spUploadFiles__delete: Rl,
|
|
4808
|
+
spUploadFiles__delete_loading: Fl,
|
|
4809
|
+
spUploadFiles__error: Al
|
|
4810
|
+
}, rp = (e) => {
|
|
4775
4811
|
const {
|
|
4776
4812
|
placeholder: t = "Загрузите файл",
|
|
4777
4813
|
variant: o = "input",
|
|
@@ -4780,32 +4816,32 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4780
4816
|
accept: i,
|
|
4781
4817
|
disabled: r,
|
|
4782
4818
|
multiple: s,
|
|
4783
|
-
files:
|
|
4784
|
-
infoTooltipText:
|
|
4785
|
-
tooltipPosition: d =
|
|
4819
|
+
files: l = [],
|
|
4820
|
+
infoTooltipText: p,
|
|
4821
|
+
tooltipPosition: d = le.TopRight,
|
|
4786
4822
|
classNameRoot: u,
|
|
4787
4823
|
loading: g,
|
|
4788
4824
|
error: h
|
|
4789
4825
|
} = e, [x, w] = ee([]), R = xe(
|
|
4790
4826
|
(_, v) => {
|
|
4791
|
-
const
|
|
4792
|
-
file:
|
|
4793
|
-
errors:
|
|
4827
|
+
const S = v.map(({ file: I, errors: z }) => ({
|
|
4828
|
+
file: I,
|
|
4829
|
+
errors: z
|
|
4794
4830
|
}));
|
|
4795
4831
|
if (!s) {
|
|
4796
|
-
w([...
|
|
4832
|
+
w([...S]), a(_, n);
|
|
4797
4833
|
return;
|
|
4798
4834
|
}
|
|
4799
|
-
const L = [...
|
|
4800
|
-
w([...
|
|
4835
|
+
const L = [...l, ..._];
|
|
4836
|
+
w([...S, ...x]), a(L, n);
|
|
4801
4837
|
},
|
|
4802
|
-
[x,
|
|
4803
|
-
), { getRootProps: A, getInputProps: U } =
|
|
4838
|
+
[x, l, s, n, a]
|
|
4839
|
+
), { getRootProps: A, getInputProps: U } = Zs({
|
|
4804
4840
|
accept: i,
|
|
4805
4841
|
onDrop: R,
|
|
4806
4842
|
multiple: s,
|
|
4807
4843
|
disabled: r
|
|
4808
|
-
}), F = x ? (x == null ? void 0 : x.length) > 0 : void 0, y = [...
|
|
4844
|
+
}), F = x ? (x == null ? void 0 : x.length) > 0 : void 0, y = [...l.map((_) => ({ file: _, errors: null })), ...x], m = (y == null ? void 0 : y.length) > 0 || (x == null ? void 0 : x.length) > 0, N = o === "input", O = o === "dropzone", G = f({
|
|
4809
4845
|
[Y.spUploadFiles]: !0,
|
|
4810
4846
|
[Y[`spUploadFiles--variant-${o}`]]: o,
|
|
4811
4847
|
[Y.spUploadFiles_error]: F && !s && h && h.length > 0,
|
|
@@ -4818,26 +4854,26 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4818
4854
|
}), ne = f({
|
|
4819
4855
|
[Y.spUploadFiles__fileNamesList]: !0,
|
|
4820
4856
|
[Y.spUploadFiles__fileNamesList_loading]: g
|
|
4821
|
-
}),
|
|
4857
|
+
}), ue = f({
|
|
4822
4858
|
[Y.spUploadFiles__delete]: !0,
|
|
4823
4859
|
[Y.spUploadFiles__delete_loading]: g
|
|
4824
|
-
}),
|
|
4860
|
+
}), _e = (_, v) => {
|
|
4825
4861
|
if (g)
|
|
4826
4862
|
return;
|
|
4827
4863
|
if (v) {
|
|
4828
|
-
const
|
|
4829
|
-
|
|
4864
|
+
const I = [...x], z = I.findIndex((B) => B.file.name === _);
|
|
4865
|
+
I.splice(z, 1), w(I);
|
|
4830
4866
|
return;
|
|
4831
4867
|
}
|
|
4832
|
-
const
|
|
4833
|
-
|
|
4834
|
-
},
|
|
4868
|
+
const S = [...l], L = S.findIndex((I) => I.name === _);
|
|
4869
|
+
S.splice(L, 1), a(S, n);
|
|
4870
|
+
}, pe = (_) => {
|
|
4835
4871
|
_.stopPropagation(), a([], n), w([]);
|
|
4836
|
-
}, X = (_) => Object.values(_).flatMap((v) => v.map((
|
|
4872
|
+
}, X = (_) => Object.values(_).flatMap((v) => v.map((S) => S.toUpperCase())).join(", "), T = () => {
|
|
4837
4873
|
if (F) {
|
|
4838
4874
|
const _ = X(i);
|
|
4839
4875
|
return /* @__PURE__ */ c(
|
|
4840
|
-
|
|
4876
|
+
Xe,
|
|
4841
4877
|
{
|
|
4842
4878
|
text: `Неверный формат файла. Загрузите файл в формате ${_}`,
|
|
4843
4879
|
classNameTooltipRoot: f(Y.spUploadFiles__fileNameContainer),
|
|
@@ -4849,24 +4885,24 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4849
4885
|
);
|
|
4850
4886
|
}
|
|
4851
4887
|
return /* @__PURE__ */ c(
|
|
4852
|
-
|
|
4888
|
+
Xe,
|
|
4853
4889
|
{
|
|
4854
4890
|
text: y[0].file.name,
|
|
4855
4891
|
classNameTooltipRoot: f(Y.spUploadFiles__fileNameContainer),
|
|
4856
4892
|
classNameRoot: f(Y.spUploadFiles__fileName)
|
|
4857
4893
|
}
|
|
4858
4894
|
);
|
|
4859
|
-
},
|
|
4860
|
-
const L = v ? (v == null ? void 0 : v.length) > 0 : void 0,
|
|
4861
|
-
return /* @__PURE__ */
|
|
4895
|
+
}, M = () => /* @__PURE__ */ c("ul", { className: ne, children: y.map(({ file: _, errors: v }, S) => {
|
|
4896
|
+
const L = v ? (v == null ? void 0 : v.length) > 0 : void 0, I = () => v ? v == null ? void 0 : v.map(Qs).join(", ") : "";
|
|
4897
|
+
return /* @__PURE__ */ P(
|
|
4862
4898
|
"li",
|
|
4863
4899
|
{
|
|
4864
4900
|
className: f(
|
|
4865
4901
|
Y.spUploadFiles__fileNamesListItem,
|
|
4866
4902
|
L && Y.spUploadFiles__fileNamesListItem_error
|
|
4867
4903
|
),
|
|
4868
|
-
onClick: (
|
|
4869
|
-
|
|
4904
|
+
onClick: (z) => {
|
|
4905
|
+
z.stopPropagation();
|
|
4870
4906
|
},
|
|
4871
4907
|
children: [
|
|
4872
4908
|
/* @__PURE__ */ c(
|
|
@@ -4876,12 +4912,12 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4876
4912
|
Y.spUploadFiles__fileNamesListItem__iconContainer,
|
|
4877
4913
|
L && Y.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
4878
4914
|
),
|
|
4879
|
-
children: /* @__PURE__ */ c(
|
|
4915
|
+
children: /* @__PURE__ */ c(me, { name: L ? D.InfoError : D.File })
|
|
4880
4916
|
}
|
|
4881
4917
|
),
|
|
4882
|
-
/* @__PURE__ */
|
|
4918
|
+
/* @__PURE__ */ P("div", { className: Y.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4883
4919
|
/* @__PURE__ */ c(
|
|
4884
|
-
|
|
4920
|
+
nl,
|
|
4885
4921
|
{
|
|
4886
4922
|
fileName: _.name,
|
|
4887
4923
|
classNameEllipsisFileNameRoot: Y.spUploadFiles__fileNamesListItem__fileNameWrapper,
|
|
@@ -4889,9 +4925,9 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4889
4925
|
}
|
|
4890
4926
|
),
|
|
4891
4927
|
/* @__PURE__ */ c(
|
|
4892
|
-
|
|
4928
|
+
Xe,
|
|
4893
4929
|
{
|
|
4894
|
-
text: L ?
|
|
4930
|
+
text: L ? I() : el(_.size),
|
|
4895
4931
|
classNameBaseTooltipRoot: Y.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
4896
4932
|
classNameRoot: f(
|
|
4897
4933
|
Y.spUploadFiles__fileNamesListItem__description,
|
|
@@ -4904,61 +4940,61 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4904
4940
|
"div",
|
|
4905
4941
|
{
|
|
4906
4942
|
className: f(Y.spUploadFiles__fileNamesListItemDelete),
|
|
4907
|
-
onClick: (
|
|
4908
|
-
|
|
4943
|
+
onClick: (z) => {
|
|
4944
|
+
z.stopPropagation(), _e(_.name, L);
|
|
4909
4945
|
},
|
|
4910
|
-
children: /* @__PURE__ */ c(
|
|
4946
|
+
children: /* @__PURE__ */ c(me, { name: D.Close })
|
|
4911
4947
|
}
|
|
4912
4948
|
)
|
|
4913
4949
|
]
|
|
4914
4950
|
},
|
|
4915
|
-
|
|
4951
|
+
S
|
|
4916
4952
|
);
|
|
4917
|
-
}) }), q = () => s ?
|
|
4918
|
-
|
|
4953
|
+
}) }), q = () => s ? M() : T(), V = () => /* @__PURE__ */ c(
|
|
4954
|
+
Xe,
|
|
4919
4955
|
{
|
|
4920
4956
|
classNameRoot: Y.spUploadFiles__placeholder,
|
|
4921
4957
|
classNameTooltipRoot: f(
|
|
4922
4958
|
Y.spUploadFiles__placeholderContainer,
|
|
4923
|
-
!!
|
|
4959
|
+
!!p && Y.spUploadFiles__placeholderContainer_withUloadTooltip
|
|
4924
4960
|
),
|
|
4925
4961
|
text: t
|
|
4926
4962
|
}
|
|
4927
|
-
), te = () => /* @__PURE__ */
|
|
4963
|
+
), te = () => /* @__PURE__ */ P(jt, { children: [
|
|
4928
4964
|
m ? q() : V(),
|
|
4929
|
-
m && N ? /* @__PURE__ */ c("div", { className:
|
|
4930
|
-
|
|
4965
|
+
m && N ? /* @__PURE__ */ c("div", { className: ue, onClick: pe, children: /* @__PURE__ */ c(me, { name: D.Close }) }) : N && p && /* @__PURE__ */ c(
|
|
4966
|
+
it,
|
|
4931
4967
|
{
|
|
4932
4968
|
hover: !0,
|
|
4933
4969
|
position: d,
|
|
4934
|
-
text:
|
|
4970
|
+
text: p,
|
|
4935
4971
|
classNameTooltip: Y.spUploadFiles__tooltip
|
|
4936
4972
|
}
|
|
4937
4973
|
)
|
|
4938
4974
|
] });
|
|
4939
4975
|
return /* @__PURE__ */ c(
|
|
4940
|
-
|
|
4976
|
+
Ya,
|
|
4941
4977
|
{
|
|
4942
4978
|
getRootProps: A,
|
|
4943
4979
|
getInputProps: U,
|
|
4944
4980
|
disabled: r,
|
|
4945
4981
|
name: n,
|
|
4946
|
-
children: /* @__PURE__ */
|
|
4947
|
-
|
|
4948
|
-
|
|
4982
|
+
children: /* @__PURE__ */ P("div", { className: G, children: [
|
|
4983
|
+
O && /* @__PURE__ */ c(
|
|
4984
|
+
He,
|
|
4949
4985
|
{
|
|
4950
4986
|
hover: !0,
|
|
4951
|
-
text:
|
|
4987
|
+
text: p,
|
|
4952
4988
|
position: d,
|
|
4953
4989
|
classNameTooltip: Y.spUploadFiles__tooltip,
|
|
4954
4990
|
trigger: void 0
|
|
4955
4991
|
}
|
|
4956
4992
|
),
|
|
4957
|
-
/* @__PURE__ */
|
|
4958
|
-
N && (g ? /* @__PURE__ */ c(
|
|
4959
|
-
|
|
4993
|
+
/* @__PURE__ */ P("div", { className: J, children: [
|
|
4994
|
+
N && (g ? /* @__PURE__ */ c(Bt, {}) : /* @__PURE__ */ c(
|
|
4995
|
+
me,
|
|
4960
4996
|
{
|
|
4961
|
-
name: m ?
|
|
4997
|
+
name: m ? D.Check : D.Upload,
|
|
4962
4998
|
style: { flexShrink: 0 }
|
|
4963
4999
|
}
|
|
4964
5000
|
)),
|
|
@@ -4968,15 +5004,15 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4968
5004
|
] })
|
|
4969
5005
|
}
|
|
4970
5006
|
);
|
|
4971
|
-
},
|
|
4972
|
-
viewImageModal:
|
|
4973
|
-
viewImageModal__img:
|
|
4974
|
-
viewImageModal__img_loading:
|
|
4975
|
-
viewImageModal__img_error:
|
|
4976
|
-
viewImageModal__spinner:
|
|
4977
|
-
viewImageModal__layer:
|
|
4978
|
-
viewImageModal__closeButton:
|
|
4979
|
-
},
|
|
5007
|
+
}, jl = "_viewImageModal_sn237_43", Bl = "_viewImageModal__img_sn237_77", Dl = "_viewImageModal__img_loading_sn237_90", Ml = "_viewImageModal__img_error_sn237_93", zl = "_viewImageModal__spinner_sn237_96", Pl = "_viewImageModal__layer_sn237_123", Ol = "_viewImageModal__closeButton_sn237_128", Ee = {
|
|
5008
|
+
viewImageModal: jl,
|
|
5009
|
+
viewImageModal__img: Bl,
|
|
5010
|
+
viewImageModal__img_loading: Dl,
|
|
5011
|
+
viewImageModal__img_error: Ml,
|
|
5012
|
+
viewImageModal__spinner: zl,
|
|
5013
|
+
viewImageModal__layer: Pl,
|
|
5014
|
+
viewImageModal__closeButton: Ol
|
|
5015
|
+
}, sp = (e) => {
|
|
4980
5016
|
const {
|
|
4981
5017
|
classNameRoot: t,
|
|
4982
5018
|
classNameImageRoot: o,
|
|
@@ -4985,8 +5021,8 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4985
5021
|
onError: i,
|
|
4986
5022
|
fallbackSrc: r,
|
|
4987
5023
|
showLoader: s = !0,
|
|
4988
|
-
onClose:
|
|
4989
|
-
} = e, [
|
|
5024
|
+
onClose: l
|
|
5025
|
+
} = e, [p, d] = ee(!0), [u, g] = ee(!1), [h, x] = ee(n), w = f({
|
|
4990
5026
|
[Ee.viewImageModal]: !0,
|
|
4991
5027
|
...t && { [t]: !0 }
|
|
4992
5028
|
}), R = f({
|
|
@@ -4996,13 +5032,13 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4996
5032
|
}), U = f({
|
|
4997
5033
|
[Ee.viewImageModal__spinner]: !0
|
|
4998
5034
|
}), F = f(Ee.viewImageModal__img, {
|
|
4999
|
-
[Ee.viewImageModal__img_loading]:
|
|
5035
|
+
[Ee.viewImageModal__img_loading]: p,
|
|
5000
5036
|
[Ee.viewImageModal__img_error]: u,
|
|
5001
5037
|
...o && { [o]: !0 }
|
|
5002
5038
|
});
|
|
5003
|
-
return /* @__PURE__ */
|
|
5004
|
-
s &&
|
|
5005
|
-
/* @__PURE__ */
|
|
5039
|
+
return /* @__PURE__ */ P(wo, { classNameRoot: R, children: [
|
|
5040
|
+
s && p && /* @__PURE__ */ c(Bt, { classNameRoot: U, size: "xl" }),
|
|
5041
|
+
/* @__PURE__ */ P("div", { className: w, children: [
|
|
5006
5042
|
/* @__PURE__ */ c(
|
|
5007
5043
|
"img",
|
|
5008
5044
|
{
|
|
@@ -5017,59 +5053,60 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
5017
5053
|
}
|
|
5018
5054
|
}
|
|
5019
5055
|
),
|
|
5020
|
-
u && /* @__PURE__ */
|
|
5021
|
-
/* @__PURE__ */ c(
|
|
5056
|
+
u && /* @__PURE__ */ P("div", { className: Ee.viewImage__errorWrapper, children: [
|
|
5057
|
+
/* @__PURE__ */ c(me, { name: D.InfoError, className: Ee.viewImage__errorIcon }),
|
|
5022
5058
|
/* @__PURE__ */ c(Te, { children: "Не удалось загрузить изображение" })
|
|
5023
5059
|
] })
|
|
5024
5060
|
] }),
|
|
5025
5061
|
/* @__PURE__ */ c(
|
|
5026
|
-
|
|
5062
|
+
tt,
|
|
5027
5063
|
{
|
|
5028
5064
|
classNameRoot: A,
|
|
5029
|
-
onClick:
|
|
5065
|
+
onClick: l,
|
|
5030
5066
|
variant: "link",
|
|
5031
5067
|
isOnlyIcon: !0,
|
|
5032
5068
|
color: "white",
|
|
5033
|
-
iconName:
|
|
5069
|
+
iconName: D.Close
|
|
5034
5070
|
}
|
|
5035
5071
|
)
|
|
5036
5072
|
] });
|
|
5037
5073
|
};
|
|
5038
5074
|
export {
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5075
|
+
$l as Accordion,
|
|
5076
|
+
sa as ApplyButtons,
|
|
5077
|
+
Vl as AuthProtected,
|
|
5078
|
+
Co as BaseTooltip,
|
|
5079
|
+
Yl as Breadcrumb,
|
|
5080
|
+
tt as Button,
|
|
5081
|
+
Gl as Checkbox,
|
|
5082
|
+
wa as Confirm,
|
|
5083
|
+
Kl as ContextMenu,
|
|
5084
|
+
Ya as DefaultDropzone,
|
|
5085
|
+
Xl as Dropdown,
|
|
5086
|
+
D as EIconName,
|
|
5087
|
+
le as ETooltipPosition,
|
|
5088
|
+
Xe as EllipsisTextWithTooltip,
|
|
5089
|
+
Zl as Form,
|
|
5090
|
+
me as Icon,
|
|
5091
|
+
it as InfoTooltip,
|
|
5092
|
+
ki as Input,
|
|
5056
5093
|
Dt as Label,
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5094
|
+
wo as Layer,
|
|
5095
|
+
Ti as MediaContext,
|
|
5096
|
+
Jl as MediaContextProvider,
|
|
5097
|
+
ya as Modal,
|
|
5098
|
+
yo as Portal,
|
|
5099
|
+
ep as ProgressWrapper,
|
|
5100
|
+
tp as Select,
|
|
5101
|
+
op as Skeleton,
|
|
5102
|
+
Bt as Spinner,
|
|
5103
|
+
np as Table,
|
|
5104
|
+
ap as Tabs,
|
|
5068
5105
|
Te as Text,
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5106
|
+
ip as TextWithLabel,
|
|
5107
|
+
He as Tooltip,
|
|
5108
|
+
rp as UploadFiles,
|
|
5109
|
+
sp as ViewImageModal,
|
|
5110
|
+
ur as useAnimatedValue,
|
|
5111
|
+
Hl as useModal
|
|
5075
5112
|
};
|