test-stpr-ui-kit 0.5.8 → 0.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/test-stpr-ui-kit.css +1 -1
- package/dist/test-stpr-ui-kit.es.d.ts +1 -0
- package/dist/test-stpr-ui-kit.js +1204 -1226
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as O, jsx as c, Fragment as $e } from "react/jsx-runtime";
|
|
2
2
|
import * as C from "react";
|
|
3
|
-
import
|
|
3
|
+
import Ve, { useState as oe, useEffect as re, useRef as ve, useCallback as xe, useLayoutEffect as Xo, createContext as xo, useContext as Zo, useMemo as De, useReducer as Qo, forwardRef as Jo, useImperativeHandle as en, Fragment as tn } from "react";
|
|
4
4
|
import on from "react-dom";
|
|
5
|
-
import './test-stpr-ui-kit.css';function
|
|
5
|
+
import './test-stpr-ui-kit.css';function ho(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 = ho(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 = ho(e)) && (n && (n += " "), n += t);
|
|
16
16
|
return n;
|
|
17
17
|
}
|
|
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" }));
|
|
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 })), pn = (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 })), ln = (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
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
|
|
20
|
+
const de = (e) => {
|
|
21
21
|
const { name: t, rotate: o, ...n } = e, a = {
|
|
22
22
|
...n,
|
|
23
23
|
transform: o ? `rotate(${o}deg)` : ""
|
|
@@ -30,8 +30,8 @@ const me = (e) => {
|
|
|
30
30
|
[D.Upload]: En,
|
|
31
31
|
[D.Trash]: Nn,
|
|
32
32
|
[D.Check]: rn,
|
|
33
|
-
[D.Copy]:
|
|
34
|
-
[D.Close]:
|
|
33
|
+
[D.Copy]: ln,
|
|
34
|
+
[D.Close]: pn,
|
|
35
35
|
[D.PlusSquare]: yn,
|
|
36
36
|
[D.WarningColor]: In,
|
|
37
37
|
[D.Dots]: cn,
|
|
@@ -48,11 +48,11 @@ const me = (e) => {
|
|
|
48
48
|
[D.Logout]: gn,
|
|
49
49
|
[D.Save]: Cn
|
|
50
50
|
};
|
|
51
|
-
return
|
|
51
|
+
return Ve.createElement(i[t], {
|
|
52
52
|
...n,
|
|
53
53
|
style: a
|
|
54
54
|
});
|
|
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", Pn = "_spAccordion__icon_hidden_14avc_131",
|
|
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", Pn = "_spAccordion__icon_hidden_14avc_131", On = "_spAccordion__icon_open_14avc_134", Wn = "_spAccordion__childrenWrapper_14avc_141", zn = "_spAccordion__childrenWrapper_open_14avc_150", Un = "_spAccordion__content_14avc_153", qn = "_spAccordion__content_open_14avc_159", ce = {
|
|
56
56
|
spAccordion: Sn,
|
|
57
57
|
spAccordion_noBorder: Ln,
|
|
58
58
|
spAccordion_noPadding: Rn,
|
|
@@ -65,12 +65,12 @@ const me = (e) => {
|
|
|
65
65
|
"spAccordion__name--level-2": "_spAccordion__name--level-2_14avc_117",
|
|
66
66
|
spAccordion__icon: Mn,
|
|
67
67
|
spAccordion__icon_hidden: Pn,
|
|
68
|
-
spAccordion__icon_open:
|
|
69
|
-
spAccordion__childrenWrapper:
|
|
70
|
-
spAccordion__childrenWrapper_open:
|
|
68
|
+
spAccordion__icon_open: On,
|
|
69
|
+
spAccordion__childrenWrapper: Wn,
|
|
70
|
+
spAccordion__childrenWrapper_open: zn,
|
|
71
71
|
spAccordion__content: Un,
|
|
72
72
|
spAccordion__content_open: qn
|
|
73
|
-
},
|
|
73
|
+
}, zp = (e) => {
|
|
74
74
|
const {
|
|
75
75
|
name: t,
|
|
76
76
|
children: o,
|
|
@@ -79,30 +79,30 @@ const me = (e) => {
|
|
|
79
79
|
onOpen: i,
|
|
80
80
|
noBorder: r = !1,
|
|
81
81
|
noPadding: s = !1,
|
|
82
|
-
level:
|
|
83
|
-
classNameRoot:
|
|
82
|
+
level: p = 1,
|
|
83
|
+
classNameRoot: l,
|
|
84
84
|
classNameHeader: d,
|
|
85
85
|
classNameTitle: u,
|
|
86
86
|
classNameIcon: g,
|
|
87
87
|
classNameChildrenWrapper: h
|
|
88
|
-
} = e, [x,
|
|
89
|
-
a || (i == null || i(!x),
|
|
90
|
-
},
|
|
88
|
+
} = e, [x, b] = oe(n), S = () => {
|
|
89
|
+
a || (i == null || i(!x), b(!x));
|
|
90
|
+
}, R = f({
|
|
91
91
|
[ce.spAccordion]: !0,
|
|
92
92
|
[ce.spAccordion_open]: x,
|
|
93
93
|
[ce.spAccordion_noOpen]: !x,
|
|
94
94
|
[ce.spAccordion_noBorder]: r,
|
|
95
95
|
[ce.spAccordion_noPadding]: s,
|
|
96
|
-
...
|
|
97
|
-
}),
|
|
96
|
+
...l && { [l]: !0 }
|
|
97
|
+
}), W = f({
|
|
98
98
|
[ce.spAccordion__header]: !0,
|
|
99
99
|
...d && { [d]: !0 }
|
|
100
|
-
}),
|
|
100
|
+
}), A = f({
|
|
101
101
|
[ce.spAccordion__name]: !0,
|
|
102
|
-
[ce[`spAccordion__name--level-${
|
|
102
|
+
[ce[`spAccordion__name--level-${p}`]]: p,
|
|
103
103
|
[ce.spAccordion__name_hiddenExpand]: a,
|
|
104
104
|
...u && { [u]: !0 }
|
|
105
|
-
}),
|
|
105
|
+
}), w = f({
|
|
106
106
|
[ce.spAccordion__icon]: !0,
|
|
107
107
|
[ce.spAccordion__icon_open]: x,
|
|
108
108
|
[ce.spAccordion__icon_hidden]: a,
|
|
@@ -115,14 +115,14 @@ const me = (e) => {
|
|
|
115
115
|
[ce.spAccordion__content]: !0,
|
|
116
116
|
[ce.spAccordion__content_open]: x
|
|
117
117
|
});
|
|
118
|
-
return /* @__PURE__ */
|
|
119
|
-
/* @__PURE__ */
|
|
120
|
-
/* @__PURE__ */ c("div", { className:
|
|
121
|
-
/* @__PURE__ */ c(
|
|
118
|
+
return /* @__PURE__ */ O("div", { className: R, children: [
|
|
119
|
+
/* @__PURE__ */ O("div", { className: W, children: [
|
|
120
|
+
/* @__PURE__ */ c("div", { className: A, children: /* @__PURE__ */ c("span", { onClick: S, children: t }) }),
|
|
121
|
+
/* @__PURE__ */ c(de, { onClick: S, className: w, name: D.ChevronDown })
|
|
122
122
|
] }),
|
|
123
123
|
/* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c("div", { className: N, children: o }) })
|
|
124
124
|
] });
|
|
125
|
-
}, $n = "_spinner_16mxl_43",
|
|
125
|
+
}, $n = "_spinner_16mxl_43", Ut = {
|
|
126
126
|
spinner: $n,
|
|
127
127
|
"spinner-rotate": "_spinner-rotate_16mxl_1",
|
|
128
128
|
"spinner-clip": "_spinner-clip_16mxl_1",
|
|
@@ -130,12 +130,12 @@ const me = (e) => {
|
|
|
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
|
+
}, Dt = (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(Ut.spinner, Ut[`spinner--${t}`], n),
|
|
139
139
|
"aria-label": "Loading",
|
|
140
140
|
role: "status",
|
|
141
141
|
style: { color: o }
|
|
@@ -164,55 +164,55 @@ const me = (e) => {
|
|
|
164
164
|
iconName: i,
|
|
165
165
|
icon: r,
|
|
166
166
|
iconRotate: s = 0,
|
|
167
|
-
disabled:
|
|
168
|
-
type:
|
|
167
|
+
disabled: p = !1,
|
|
168
|
+
type: l = "button",
|
|
169
169
|
form: d,
|
|
170
170
|
children: u,
|
|
171
171
|
loading: g = !1,
|
|
172
172
|
isFullWidth: h = !1,
|
|
173
173
|
isOnlyIcon: x = !1,
|
|
174
|
-
noPadding:
|
|
175
|
-
classNameRoot:
|
|
176
|
-
classNameTextRoot:
|
|
177
|
-
classNameIconContainerRoot:
|
|
178
|
-
} = e,
|
|
179
|
-
|
|
180
|
-
},
|
|
174
|
+
noPadding: b = !1,
|
|
175
|
+
classNameRoot: S,
|
|
176
|
+
classNameTextRoot: R,
|
|
177
|
+
classNameIconContainerRoot: W
|
|
178
|
+
} = e, A = (N) => {
|
|
179
|
+
p || a == null || a(N);
|
|
180
|
+
}, w = () => {
|
|
181
181
|
const N = f({
|
|
182
182
|
[we.spButton__text]: !0,
|
|
183
|
-
...
|
|
184
|
-
}),
|
|
183
|
+
...R && { [R]: !0 }
|
|
184
|
+
}), z = f({
|
|
185
185
|
[we.spButton__iconContainer]: !0,
|
|
186
|
-
...
|
|
186
|
+
...W && { [W]: !0 }
|
|
187
187
|
});
|
|
188
|
-
return /* @__PURE__ */
|
|
189
|
-
(r || i || g) && /* @__PURE__ */ c("div", { className:
|
|
188
|
+
return /* @__PURE__ */ O($e, { children: [
|
|
189
|
+
(r || i || g) && /* @__PURE__ */ c("div", { className: z, children: g ? /* @__PURE__ */ c(Dt, { size: "md", classNameRoot: we.spButton__spinner }) : i ? /* @__PURE__ */ c(de, { name: i, rotate: s }) : r || null }),
|
|
190
190
|
!x && u && /* @__PURE__ */ c("div", { className: N, children: u })
|
|
191
191
|
] });
|
|
192
192
|
}, m = f({
|
|
193
193
|
[we.spButton]: !0,
|
|
194
|
-
[we.spButton_noPadding]:
|
|
194
|
+
[we.spButton_noPadding]: b,
|
|
195
195
|
[we.spButton_onlyIcon]: x,
|
|
196
196
|
[we[`spButton_${o}`]]: o,
|
|
197
197
|
[we[`spButton_${t}`]]: t,
|
|
198
198
|
[we.spButton_fullWidth]: h,
|
|
199
|
-
[we.spButton_disabled]:
|
|
199
|
+
[we.spButton_disabled]: p,
|
|
200
200
|
[we.spButton_loading]: g,
|
|
201
|
-
...
|
|
201
|
+
...S && { [S]: !0 }
|
|
202
202
|
});
|
|
203
203
|
return /* @__PURE__ */ c(
|
|
204
204
|
"button",
|
|
205
205
|
{
|
|
206
206
|
style: n,
|
|
207
207
|
className: m,
|
|
208
|
-
onClick:
|
|
209
|
-
disabled:
|
|
210
|
-
type:
|
|
208
|
+
onClick: A,
|
|
209
|
+
disabled: p,
|
|
210
|
+
type: l,
|
|
211
211
|
form: d,
|
|
212
|
-
children:
|
|
212
|
+
children: w()
|
|
213
213
|
}
|
|
214
214
|
);
|
|
215
|
-
}, aa = "_spApplyButtons_1l9jg_43", ia = "_spApplyButtons__cancel_1l9jg_73", ra = "_spApplyButtons__submit_1l9jg_76",
|
|
215
|
+
}, aa = "_spApplyButtons_1l9jg_43", ia = "_spApplyButtons__cancel_1l9jg_73", ra = "_spApplyButtons__submit_1l9jg_76", ze = {
|
|
216
216
|
spApplyButtons: aa,
|
|
217
217
|
"spApplyButtons_align-right": "_spApplyButtons_align-right_1l9jg_48",
|
|
218
218
|
"spApplyButtons_align-left": "_spApplyButtons_align-left_1l9jg_51",
|
|
@@ -230,28 +230,28 @@ const me = (e) => {
|
|
|
230
230
|
submitBtnIconName: i,
|
|
231
231
|
cancelBtnDisabled: r,
|
|
232
232
|
submitBtnContent: s,
|
|
233
|
-
formId:
|
|
234
|
-
disabled:
|
|
233
|
+
formId: p,
|
|
234
|
+
disabled: l,
|
|
235
235
|
onClose: d,
|
|
236
236
|
submit: u,
|
|
237
237
|
loading: g
|
|
238
238
|
} = e, h = f({
|
|
239
|
-
[
|
|
240
|
-
[
|
|
241
|
-
[
|
|
239
|
+
[ze.spApplyButtons]: !0,
|
|
240
|
+
[ze[`spApplyButtons_mobile-${t}`]]: t,
|
|
241
|
+
[ze[`spApplyButtons_align-${o}`]]: o
|
|
242
242
|
}), x = f({
|
|
243
|
-
[
|
|
244
|
-
}),
|
|
245
|
-
[
|
|
243
|
+
[ze.spApplyButtons__submit]: !0
|
|
244
|
+
}), b = f({
|
|
245
|
+
[ze.spApplyButtons__cancel]: !0
|
|
246
246
|
});
|
|
247
|
-
return /* @__PURE__ */
|
|
247
|
+
return /* @__PURE__ */ O("div", { className: h, children: [
|
|
248
248
|
n && /* @__PURE__ */ c(
|
|
249
249
|
tt,
|
|
250
250
|
{
|
|
251
251
|
type: "button",
|
|
252
252
|
variant: "secondary",
|
|
253
253
|
iconName: a,
|
|
254
|
-
classNameRoot:
|
|
254
|
+
classNameRoot: b,
|
|
255
255
|
disabled: r,
|
|
256
256
|
onClick: d,
|
|
257
257
|
children: n
|
|
@@ -264,16 +264,16 @@ const me = (e) => {
|
|
|
264
264
|
variant: "primary",
|
|
265
265
|
iconName: i,
|
|
266
266
|
classNameRoot: x,
|
|
267
|
-
form:
|
|
268
|
-
disabled:
|
|
267
|
+
form: p || void 0,
|
|
268
|
+
disabled: l,
|
|
269
269
|
onClick: u,
|
|
270
270
|
loading: g,
|
|
271
271
|
children: s
|
|
272
272
|
}
|
|
273
273
|
)
|
|
274
274
|
] });
|
|
275
|
-
},
|
|
276
|
-
const { initialValue: t = null } = e, [o, n] =
|
|
275
|
+
}, Up = (e = {}) => {
|
|
276
|
+
const { initialValue: t = null } = e, [o, n] = oe(t);
|
|
277
277
|
return {
|
|
278
278
|
isOpen: !!o,
|
|
279
279
|
modalData: o,
|
|
@@ -284,8 +284,8 @@ const me = (e) => {
|
|
|
284
284
|
n(null);
|
|
285
285
|
}
|
|
286
286
|
};
|
|
287
|
-
},
|
|
288
|
-
const [n, a] =
|
|
287
|
+
}, bo = ({ children: e, node: t, classNameRoot: o }) => {
|
|
288
|
+
const [n, a] = oe(null);
|
|
289
289
|
return re(() => {
|
|
290
290
|
if (t) {
|
|
291
291
|
a(t);
|
|
@@ -296,27 +296,27 @@ const me = (e) => {
|
|
|
296
296
|
t || document.body.removeChild(i);
|
|
297
297
|
};
|
|
298
298
|
}, [t, o]), n ? on.createPortal(e, n) : null;
|
|
299
|
-
},
|
|
300
|
-
layer:
|
|
301
|
-
layer_hidden:
|
|
302
|
-
},
|
|
299
|
+
}, pa = "_layer_14g8d_43", la = "_layer_hidden_14g8d_65", qt = {
|
|
300
|
+
layer: pa,
|
|
301
|
+
layer_hidden: la
|
|
302
|
+
}, yo = (e) => {
|
|
303
303
|
const {
|
|
304
304
|
children: t,
|
|
305
305
|
zIndex: o = 999,
|
|
306
306
|
isHiddenModal: n = !1,
|
|
307
307
|
classNameRoot: a
|
|
308
308
|
} = e, i = document.body, r = f({
|
|
309
|
-
[
|
|
310
|
-
[
|
|
309
|
+
[qt.layer]: !0,
|
|
310
|
+
[qt.layer_hidden]: n,
|
|
311
311
|
...a && { [a]: !0 }
|
|
312
312
|
});
|
|
313
313
|
return re(() => {
|
|
314
|
-
const s = window.scrollY,
|
|
315
|
-
return
|
|
316
|
-
|
|
314
|
+
const s = window.scrollY, p = document.body;
|
|
315
|
+
return p.style.position = "fixed", p.style.top = `-${s}px`, p.style.left = "0", p.style.right = "0", p.style.overflow = "hidden", () => {
|
|
316
|
+
p.style.position = "", p.style.top = "", p.style.left = "", p.style.right = "", p.style.overflow = "", window.scrollTo(0, s);
|
|
317
317
|
};
|
|
318
|
-
}, []), /* @__PURE__ */ c(
|
|
319
|
-
}, ca = "_spText_1todx_43", da = "_spText_ellipsis_1todx_56", ma = "_spText_cursorPointer_1todx_118",
|
|
318
|
+
}, []), /* @__PURE__ */ c(bo, { 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", Xe = {
|
|
320
320
|
spText: ca,
|
|
321
321
|
spText_ellipsis: da,
|
|
322
322
|
"spText_type-h1": "_spText_type-h1_1todx_62",
|
|
@@ -326,7 +326,7 @@ const me = (e) => {
|
|
|
326
326
|
"spText_type-description": "_spText_type-description_1todx_97",
|
|
327
327
|
"spText_type-link": "_spText_type-link_1todx_105",
|
|
328
328
|
spText_cursorPointer: ma
|
|
329
|
-
},
|
|
329
|
+
}, Ne = Ve.forwardRef((e, t) => {
|
|
330
330
|
const {
|
|
331
331
|
type: o,
|
|
332
332
|
children: n,
|
|
@@ -334,15 +334,15 @@ const me = (e) => {
|
|
|
334
334
|
title: i,
|
|
335
335
|
style: r,
|
|
336
336
|
onClick: s,
|
|
337
|
-
isEllipsis:
|
|
338
|
-
isCursorPointer:
|
|
337
|
+
isEllipsis: p = !1,
|
|
338
|
+
isCursorPointer: l = !1,
|
|
339
339
|
isCursorPointerByOnClick: d = !0,
|
|
340
340
|
classNameRoot: u
|
|
341
|
-
} = e, g = () => s && d ? !0 :
|
|
342
|
-
[
|
|
343
|
-
[
|
|
344
|
-
[
|
|
345
|
-
[
|
|
341
|
+
} = e, g = () => s && d ? !0 : l, h = f({
|
|
342
|
+
[Xe.spText]: !0,
|
|
343
|
+
[Xe.spText_ellipsis]: p,
|
|
344
|
+
[Xe.spText_cursorPointer]: g(),
|
|
345
|
+
[Xe[`spText_type-${o}`]]: o,
|
|
346
346
|
...u && { [u]: !0 }
|
|
347
347
|
});
|
|
348
348
|
return /* @__PURE__ */ c(
|
|
@@ -357,7 +357,7 @@ const me = (e) => {
|
|
|
357
357
|
}
|
|
358
358
|
);
|
|
359
359
|
});
|
|
360
|
-
|
|
360
|
+
Ne.displayName = "Text";
|
|
361
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
362
|
modalWrapper: ua,
|
|
363
363
|
"modalWrapper--modalVerticalAlign-top": "_modalWrapper--modalVerticalAlign-top_1kqdh_48",
|
|
@@ -387,30 +387,30 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
387
387
|
classNameLayerRoot: i,
|
|
388
388
|
classNameRoot: r,
|
|
389
389
|
style: s,
|
|
390
|
-
modalVerticalAlign:
|
|
391
|
-
textAlign:
|
|
390
|
+
modalVerticalAlign: p = "top",
|
|
391
|
+
textAlign: l = "left",
|
|
392
392
|
onClose: d,
|
|
393
393
|
header: u,
|
|
394
394
|
subHeader: g,
|
|
395
395
|
footer: h,
|
|
396
396
|
size: x = "lg"
|
|
397
|
-
} = e,
|
|
397
|
+
} = e, b = f({
|
|
398
398
|
[ge.modalWrapper]: !0,
|
|
399
|
-
[ge[`modalWrapper--modalVerticalAlign-${
|
|
400
|
-
[ge[`modalWrapper--textAlign-${
|
|
401
|
-
}),
|
|
399
|
+
[ge[`modalWrapper--modalVerticalAlign-${p}`]]: p,
|
|
400
|
+
[ge[`modalWrapper--textAlign-${l}`]]: l
|
|
401
|
+
}), S = f({
|
|
402
402
|
[ge.modalWrapper__modal]: !0,
|
|
403
403
|
[ge[`modalWrapper__modal--size-${x}`]]: x,
|
|
404
404
|
...r && { [r]: !0 }
|
|
405
|
-
}),
|
|
405
|
+
}), R = f({
|
|
406
406
|
[ge.modalWrapper__closeButton]: !0,
|
|
407
407
|
[ge[`modalWrapper__closeButton--size-${x}`]]: x
|
|
408
|
-
}),
|
|
408
|
+
}), W = f({
|
|
409
409
|
[ge.modalWrapper__closeButtonIconContainer]: !0,
|
|
410
410
|
[ge[`modalWrapper__closeButtonIconContainer--size-${x}`]]: x
|
|
411
|
-
}),
|
|
411
|
+
}), A = f({
|
|
412
412
|
[ge.modalWrapper__content]: !0
|
|
413
|
-
}),
|
|
413
|
+
}), w = f({
|
|
414
414
|
[ge.modalWrapper__header]: !0
|
|
415
415
|
}), m = f({
|
|
416
416
|
[ge.modalWrapper__subHeader]: !0,
|
|
@@ -418,18 +418,18 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
418
418
|
}), N = f({
|
|
419
419
|
[ge.modalWrapper__footer]: !0
|
|
420
420
|
});
|
|
421
|
-
return /* @__PURE__ */ c(
|
|
422
|
-
(u || g) && /* @__PURE__ */
|
|
423
|
-
typeof u == "string" ? /* @__PURE__ */ c(
|
|
424
|
-
g && /* @__PURE__ */ c("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ c(
|
|
421
|
+
return /* @__PURE__ */ c(yo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: b, children: /* @__PURE__ */ O("div", { className: S, style: s, children: [
|
|
422
|
+
(u || g) && /* @__PURE__ */ O("div", { className: w, children: [
|
|
423
|
+
typeof u == "string" ? /* @__PURE__ */ c(Ne, { type: "h3", children: u }) : u,
|
|
424
|
+
g && /* @__PURE__ */ c("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ c(Ne, { children: g }) : g })
|
|
425
425
|
] }),
|
|
426
|
-
a && /* @__PURE__ */ c("div", { className:
|
|
426
|
+
a && /* @__PURE__ */ c("div", { className: A, children: a }),
|
|
427
427
|
h && /* @__PURE__ */ c("div", { className: N, children: h }),
|
|
428
428
|
n && d && /* @__PURE__ */ c(
|
|
429
429
|
tt,
|
|
430
430
|
{
|
|
431
|
-
classNameRoot:
|
|
432
|
-
classNameIconContainerRoot:
|
|
431
|
+
classNameRoot: R,
|
|
432
|
+
classNameIconContainerRoot: W,
|
|
433
433
|
onClick: d,
|
|
434
434
|
iconName: D.Close,
|
|
435
435
|
variant: "link",
|
|
@@ -447,19 +447,19 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
447
447
|
cancelBtnDisabled: i,
|
|
448
448
|
cancelBtnIconName: r,
|
|
449
449
|
submitBtnContent: s,
|
|
450
|
-
submitBtnIconName:
|
|
451
|
-
submit:
|
|
450
|
+
submitBtnIconName: p,
|
|
451
|
+
submit: l,
|
|
452
452
|
disabled: d,
|
|
453
453
|
formId: u,
|
|
454
454
|
onClose: g,
|
|
455
455
|
applyButtonsMobileDirection: h = "column",
|
|
456
456
|
applyButtonsAlign: x = "right",
|
|
457
|
-
modalVerticalAlign:
|
|
458
|
-
textAlign:
|
|
459
|
-
loading:
|
|
460
|
-
isVisibleCloseButton:
|
|
461
|
-
isHiddenModal:
|
|
462
|
-
size:
|
|
457
|
+
modalVerticalAlign: b = "top",
|
|
458
|
+
textAlign: S = "left",
|
|
459
|
+
loading: R,
|
|
460
|
+
isVisibleCloseButton: W,
|
|
461
|
+
isHiddenModal: A,
|
|
462
|
+
size: w,
|
|
463
463
|
classNameRoot: m,
|
|
464
464
|
classNameLayerRoot: N
|
|
465
465
|
} = e;
|
|
@@ -469,15 +469,15 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
469
469
|
zIndex: t,
|
|
470
470
|
header: o,
|
|
471
471
|
onClose: g,
|
|
472
|
-
modalVerticalAlign:
|
|
473
|
-
textAlign:
|
|
472
|
+
modalVerticalAlign: b,
|
|
473
|
+
textAlign: S,
|
|
474
474
|
subHeader: n,
|
|
475
|
-
isVisibleCloseButton:
|
|
476
|
-
isHiddenModal:
|
|
477
|
-
size:
|
|
475
|
+
isVisibleCloseButton: W,
|
|
476
|
+
isHiddenModal: A,
|
|
477
|
+
size: w,
|
|
478
478
|
classNameRoot: m,
|
|
479
479
|
classNameLayerRoot: N,
|
|
480
|
-
footer: a || r || s ||
|
|
480
|
+
footer: a || r || s || p ? /* @__PURE__ */ c(
|
|
481
481
|
sa,
|
|
482
482
|
{
|
|
483
483
|
applyButtonsMobileDirection: h,
|
|
@@ -486,17 +486,17 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
486
486
|
cancelBtnIconName: r,
|
|
487
487
|
cancelBtnDisabled: i,
|
|
488
488
|
submitBtnContent: s,
|
|
489
|
-
submitBtnIconName:
|
|
489
|
+
submitBtnIconName: p,
|
|
490
490
|
formId: u,
|
|
491
491
|
disabled: d,
|
|
492
492
|
onClose: g,
|
|
493
|
-
submit:
|
|
494
|
-
loading:
|
|
493
|
+
submit: l,
|
|
494
|
+
loading: R
|
|
495
495
|
}
|
|
496
496
|
) : null
|
|
497
497
|
}
|
|
498
498
|
);
|
|
499
|
-
},
|
|
499
|
+
}, qp = (e) => {
|
|
500
500
|
const {
|
|
501
501
|
children: t,
|
|
502
502
|
isNeedAuthorized: o,
|
|
@@ -505,12 +505,12 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
505
505
|
authButtonText: i = "Авторизоваться",
|
|
506
506
|
confirmSize: r = "md",
|
|
507
507
|
zIndex: s = 999
|
|
508
|
-
} = e, [
|
|
508
|
+
} = e, [p, l] = oe(o);
|
|
509
509
|
return re(() => {
|
|
510
|
-
|
|
511
|
-
}, [o]), /* @__PURE__ */
|
|
510
|
+
l(o);
|
|
511
|
+
}, [o]), /* @__PURE__ */ O($e, { children: [
|
|
512
512
|
t,
|
|
513
|
-
|
|
513
|
+
p && /* @__PURE__ */ c(
|
|
514
514
|
wa,
|
|
515
515
|
{
|
|
516
516
|
zIndex: s,
|
|
@@ -521,16 +521,16 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
521
521
|
submitBtnContent: i,
|
|
522
522
|
size: r,
|
|
523
523
|
submit: () => {
|
|
524
|
-
|
|
524
|
+
l(!1), n && n();
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
527
|
)
|
|
528
528
|
] });
|
|
529
|
-
}, Ca = "_spBaseTooltip_5usel_43", ka = "_spBaseTooltip_noPadding_5usel_70", Ta = "_spBaseTooltip__content_5usel_96",
|
|
529
|
+
}, Ca = "_spBaseTooltip_5usel_43", ka = "_spBaseTooltip_noPadding_5usel_70", Ta = "_spBaseTooltip__content_5usel_96", ft = {
|
|
530
530
|
spBaseTooltip: Ca,
|
|
531
531
|
spBaseTooltip_noPadding: ka,
|
|
532
532
|
spBaseTooltip__content: Ta
|
|
533
|
-
},
|
|
533
|
+
}, wo = Ve.forwardRef((e, t) => {
|
|
534
534
|
const {
|
|
535
535
|
text: o,
|
|
536
536
|
noPadding: n = !1,
|
|
@@ -538,24 +538,24 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
538
538
|
classNameRoot: i,
|
|
539
539
|
classNameContentRoot: r
|
|
540
540
|
} = e, s = f({
|
|
541
|
-
[
|
|
542
|
-
[
|
|
541
|
+
[ft.spBaseTooltip]: !0,
|
|
542
|
+
[ft.spBaseTooltip_noPadding]: n,
|
|
543
543
|
...i && { [i]: !0 }
|
|
544
|
-
}),
|
|
545
|
-
[
|
|
544
|
+
}), p = f({
|
|
545
|
+
[ft.spBaseTooltip__content]: !0,
|
|
546
546
|
...r && { [r]: !0 }
|
|
547
547
|
});
|
|
548
|
-
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: p, children: o }) });
|
|
549
549
|
});
|
|
550
|
-
|
|
551
|
-
const Na = "
|
|
550
|
+
wo.displayName = "BaseTooltip";
|
|
551
|
+
const Na = "_spBreadcrumb_8fr8j_43", Ea = "_spBreadcrumb__list_8fr8j_46", Ia = "_spBreadcrumb__listItem_8fr8j_56", Sa = "_spBreadcrumb__listItem__separator_8fr8j_61", La = "_spBreadcrumb__listItem__text_8fr8j_73", Ra = "_spBreadcrumb__listItem_active_8fr8j_84", Me = {
|
|
552
552
|
spBreadcrumb: Na,
|
|
553
553
|
spBreadcrumb__list: Ea,
|
|
554
554
|
spBreadcrumb__listItem: Ia,
|
|
555
555
|
spBreadcrumb__listItem__separator: Sa,
|
|
556
556
|
spBreadcrumb__listItem__text: La,
|
|
557
557
|
spBreadcrumb__listItem_active: Ra
|
|
558
|
-
},
|
|
558
|
+
}, $p = (e) => {
|
|
559
559
|
const {
|
|
560
560
|
classNameRoot: t,
|
|
561
561
|
classNameListRoot: o,
|
|
@@ -567,22 +567,22 @@ const Na = "_spBreadcrumb_1litt_43", Ea = "_spBreadcrumb__list_1litt_46", Ia = "
|
|
|
567
567
|
[Me.spBreadcrumb__list]: !0,
|
|
568
568
|
...o && { [o]: !0 }
|
|
569
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:
|
|
570
|
+
return /* @__PURE__ */ c("nav", { "aria-label": "breadcrumb", className: a, children: /* @__PURE__ */ c("ol", { className: i, children: n.map(({ text: r, onClick: s, active: p }, l) => /* @__PURE__ */ O(
|
|
571
571
|
"li",
|
|
572
572
|
{
|
|
573
573
|
className: f(
|
|
574
574
|
Me.spBreadcrumb__listItem,
|
|
575
|
-
|
|
575
|
+
p && Me.spBreadcrumb__listItem_active
|
|
576
576
|
),
|
|
577
577
|
children: [
|
|
578
|
-
/* @__PURE__ */ c("
|
|
579
|
-
/* @__PURE__ */ c("
|
|
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(de, { name: D.SelectChevronDown, rotate: -90 }) })
|
|
580
580
|
]
|
|
581
581
|
},
|
|
582
|
-
|
|
582
|
+
l
|
|
583
583
|
)) }) });
|
|
584
584
|
};
|
|
585
|
-
function
|
|
585
|
+
function Co(e, t, o = !0) {
|
|
586
586
|
re(() => {
|
|
587
587
|
if (!o) return;
|
|
588
588
|
const n = (a) => {
|
|
@@ -593,12 +593,12 @@ function ko(e, t, o = !0) {
|
|
|
593
593
|
};
|
|
594
594
|
}, [e, t, o]);
|
|
595
595
|
}
|
|
596
|
-
const Fa = "_spTooltip_1pqws_43", Aa = "_spInfoTooltip_1pqws_48",
|
|
596
|
+
const Fa = "_spTooltip_1pqws_43", Aa = "_spInfoTooltip_1pqws_48", ko = {
|
|
597
597
|
spTooltip: Fa,
|
|
598
598
|
spInfoTooltip: Aa
|
|
599
599
|
};
|
|
600
|
-
var
|
|
601
|
-
const
|
|
600
|
+
var pe = /* @__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))(pe || {});
|
|
601
|
+
const it = (e) => {
|
|
602
602
|
const {
|
|
603
603
|
hover: t = !0,
|
|
604
604
|
isToggleClick: o = !1,
|
|
@@ -607,135 +607,135 @@ const He = (e) => {
|
|
|
607
607
|
trigger: i,
|
|
608
608
|
triggerAction: r,
|
|
609
609
|
actionOnClose: s,
|
|
610
|
-
classNameTooltip:
|
|
611
|
-
position:
|
|
610
|
+
classNameTooltip: p,
|
|
611
|
+
position: l = pe.BottomLeft,
|
|
612
612
|
text: d,
|
|
613
613
|
noPadding: u,
|
|
614
614
|
classNameBaseTooltipRoot: g,
|
|
615
615
|
classNameBaseTooltipContentRoot: h,
|
|
616
616
|
styleTooltip: x
|
|
617
|
-
} = e, [
|
|
618
|
-
|
|
619
|
-
[
|
|
617
|
+
} = e, [b, S] = oe(!1), R = ve(null), W = ve(null), [A, w] = oe(!1);
|
|
618
|
+
Co(
|
|
619
|
+
[R, W],
|
|
620
620
|
() => {
|
|
621
|
-
s && s(),
|
|
621
|
+
s && s(), S(!1);
|
|
622
622
|
},
|
|
623
|
-
|
|
623
|
+
b
|
|
624
624
|
);
|
|
625
625
|
const m = (T) => {
|
|
626
|
-
n && T.stopPropagation(), !t && (
|
|
627
|
-
}, [N,
|
|
626
|
+
n && T.stopPropagation(), !t && (b ? s && s() : r && r(), S((M) => o ? !M : !0));
|
|
627
|
+
}, [N, z] = oe({
|
|
628
628
|
visibility: "hidden",
|
|
629
629
|
opacity: 0,
|
|
630
630
|
left: "-9999px"
|
|
631
|
-
}), [G, J] =
|
|
632
|
-
if (!
|
|
633
|
-
const T =
|
|
634
|
-
let q = 0,
|
|
635
|
-
switch (
|
|
636
|
-
case
|
|
637
|
-
q = T.top + window.scrollY - (M.height - T.height) / 2,
|
|
631
|
+
}), [G, J] = oe(!1), ne = xe(() => {
|
|
632
|
+
if (!R.current || !W.current) return;
|
|
633
|
+
const T = R.current.getBoundingClientRect(), M = W.current.getBoundingClientRect();
|
|
634
|
+
let q = 0, Y = 0;
|
|
635
|
+
switch (l) {
|
|
636
|
+
case pe.Right:
|
|
637
|
+
q = T.top + window.scrollY - (M.height - T.height) / 2, Y = T.right + window.scrollX;
|
|
638
638
|
break;
|
|
639
|
-
case
|
|
640
|
-
q = T.top + window.scrollY,
|
|
639
|
+
case pe.RightTop:
|
|
640
|
+
q = T.top + window.scrollY, Y = T.right + window.scrollX;
|
|
641
641
|
break;
|
|
642
|
-
case
|
|
643
|
-
q = T.bottom + window.scrollY - M.height,
|
|
642
|
+
case pe.RightBottom:
|
|
643
|
+
q = T.bottom + window.scrollY - M.height, Y = T.right + window.scrollX;
|
|
644
644
|
break;
|
|
645
|
-
case
|
|
646
|
-
q = T.top + window.scrollY - (M.height - T.height) / 2,
|
|
645
|
+
case pe.Left:
|
|
646
|
+
q = T.top + window.scrollY - (M.height - T.height) / 2, Y = T.left + window.scrollX - M.width;
|
|
647
647
|
break;
|
|
648
|
-
case
|
|
649
|
-
q = T.top + window.scrollY,
|
|
648
|
+
case pe.LeftTop:
|
|
649
|
+
q = T.top + window.scrollY, Y = T.left + window.scrollX - M.width;
|
|
650
650
|
break;
|
|
651
|
-
case
|
|
652
|
-
q = T.bottom + window.scrollY - M.height,
|
|
651
|
+
case pe.LeftBottom:
|
|
652
|
+
q = T.bottom + window.scrollY - M.height, Y = T.left + window.scrollX - M.width;
|
|
653
653
|
break;
|
|
654
|
-
case
|
|
655
|
-
q = T.bottom + window.scrollY,
|
|
654
|
+
case pe.Bottom:
|
|
655
|
+
q = T.bottom + window.scrollY, Y = T.left + window.scrollX - (M.width - T.width) / 2;
|
|
656
656
|
break;
|
|
657
|
-
case
|
|
658
|
-
q = T.bottom + window.scrollY,
|
|
657
|
+
case pe.BottomLeft:
|
|
658
|
+
q = T.bottom + window.scrollY, Y = T.left + window.scrollX;
|
|
659
659
|
break;
|
|
660
|
-
case
|
|
661
|
-
q = T.bottom + window.scrollY,
|
|
660
|
+
case pe.BottomRight:
|
|
661
|
+
q = T.bottom + window.scrollY, Y = T.right + window.scrollX - M.width;
|
|
662
662
|
break;
|
|
663
|
-
case
|
|
664
|
-
q = T.top + window.scrollY - M.height,
|
|
663
|
+
case pe.Top:
|
|
664
|
+
q = T.top + window.scrollY - M.height, Y = T.left + window.scrollX - (M.width - T.width) / 2;
|
|
665
665
|
break;
|
|
666
|
-
case
|
|
667
|
-
q = T.top + window.scrollY - M.height,
|
|
666
|
+
case pe.TopLeft:
|
|
667
|
+
q = T.top + window.scrollY - M.height, Y = T.left + window.scrollX;
|
|
668
668
|
break;
|
|
669
|
-
case
|
|
670
|
-
q = T.top + window.scrollY - M.height,
|
|
669
|
+
case pe.TopRight:
|
|
670
|
+
q = T.top + window.scrollY - M.height, Y = T.right + window.scrollX - M.width;
|
|
671
671
|
break;
|
|
672
672
|
default:
|
|
673
|
-
q = T.bottom + window.scrollY,
|
|
673
|
+
q = T.bottom + window.scrollY, Y = T.left + window.scrollX;
|
|
674
674
|
}
|
|
675
|
-
q + M.height > window.innerHeight + window.scrollY &&
|
|
676
|
-
...
|
|
675
|
+
q + M.height > window.innerHeight + window.scrollY && l.includes("bottom") ? q = T.top + window.scrollY - M.height : q < window.scrollY && l.includes("top") && (q = T.bottom + window.scrollY), Y + M.width > window.innerWidth + window.scrollX && l.includes("left") ? Y = T.left + window.scrollX - M.width + T.width : Y < window.scrollX && l.includes("right") && (Y = T.right + window.scrollX - T.width), z((ee) => ({
|
|
676
|
+
...ee,
|
|
677
677
|
top: `${q}px`,
|
|
678
|
-
left: `${
|
|
679
|
-
visibility:
|
|
680
|
-
opacity:
|
|
678
|
+
left: `${Y}px`,
|
|
679
|
+
visibility: b || G ? "visible" : "hidden",
|
|
680
|
+
opacity: b || G ? 1 : 0
|
|
681
681
|
}));
|
|
682
|
-
}, [
|
|
683
|
-
re(() => (
|
|
684
|
-
|
|
685
|
-
}, [
|
|
686
|
-
if (!
|
|
682
|
+
}, [l, b, G]);
|
|
683
|
+
re(() => (w(!0), () => w(!1)), []), re(() => {
|
|
684
|
+
A && ne();
|
|
685
|
+
}, [A, ne]), re(() => {
|
|
686
|
+
if (!A) return;
|
|
687
687
|
const T = () => ne();
|
|
688
688
|
return window.addEventListener("resize", T), window.addEventListener("scroll", T, !0), () => {
|
|
689
689
|
window.removeEventListener("resize", T), window.removeEventListener("scroll", T, !0);
|
|
690
690
|
};
|
|
691
|
-
}, [
|
|
692
|
-
const
|
|
691
|
+
}, [A, ne]);
|
|
692
|
+
const me = f({
|
|
693
693
|
...g && { [g]: !0 }
|
|
694
|
-
}),
|
|
694
|
+
}), ue = f({
|
|
695
695
|
...h && { [h]: !0 }
|
|
696
|
-
}),
|
|
697
|
-
[
|
|
698
|
-
...
|
|
696
|
+
}), le = f({
|
|
697
|
+
[ko.spTooltip]: !0,
|
|
698
|
+
...p && { [p]: !0 }
|
|
699
699
|
}), X = document.body;
|
|
700
|
-
return /* @__PURE__ */
|
|
700
|
+
return /* @__PURE__ */ O(
|
|
701
701
|
"div",
|
|
702
702
|
{
|
|
703
|
-
ref:
|
|
704
|
-
className:
|
|
703
|
+
ref: R,
|
|
704
|
+
className: le,
|
|
705
705
|
onClick: m,
|
|
706
706
|
onMouseEnter: () => t && J(!0),
|
|
707
707
|
onMouseLeave: () => t && J(!1),
|
|
708
708
|
style: x,
|
|
709
709
|
children: [
|
|
710
710
|
i,
|
|
711
|
-
a && /* @__PURE__ */ c(
|
|
712
|
-
|
|
711
|
+
a && /* @__PURE__ */ c(bo, { node: X, children: /* @__PURE__ */ c(
|
|
712
|
+
wo,
|
|
713
713
|
{
|
|
714
714
|
style: N,
|
|
715
|
-
ref:
|
|
715
|
+
ref: W,
|
|
716
716
|
noPadding: u,
|
|
717
717
|
text: d,
|
|
718
|
-
classNameRoot:
|
|
719
|
-
classNameContentRoot:
|
|
718
|
+
classNameRoot: me,
|
|
719
|
+
classNameContentRoot: ue
|
|
720
720
|
}
|
|
721
721
|
) })
|
|
722
722
|
]
|
|
723
723
|
}
|
|
724
724
|
);
|
|
725
|
-
},
|
|
725
|
+
}, rt = (e) => {
|
|
726
726
|
const t = e.classNameTooltip, o = f({
|
|
727
|
-
[
|
|
727
|
+
[ko.spInfoTooltip]: !0,
|
|
728
728
|
...t && { [t]: !0 }
|
|
729
729
|
});
|
|
730
730
|
return /* @__PURE__ */ c(
|
|
731
|
-
|
|
731
|
+
it,
|
|
732
732
|
{
|
|
733
733
|
...e,
|
|
734
734
|
classNameTooltip: o,
|
|
735
|
-
trigger: /* @__PURE__ */ c(
|
|
735
|
+
trigger: /* @__PURE__ */ c(de, { name: D.Info })
|
|
736
736
|
}
|
|
737
737
|
);
|
|
738
|
-
}, ja = "_spCheckbox_1ypiv_43", Ba = "_spCheckbox__control_1ypiv_49", Da = "_spCheckbox__label_1ypiv_52", Ma = "_spCheckbox__box_1ypiv_63", Pa = "_spCheckbox__box_checked_1ypiv_90",
|
|
738
|
+
}, ja = "_spCheckbox_1ypiv_43", Ba = "_spCheckbox__control_1ypiv_49", Da = "_spCheckbox__label_1ypiv_52", Ma = "_spCheckbox__box_1ypiv_63", Pa = "_spCheckbox__box_checked_1ypiv_90", Oa = "_spCheckbox__box_disabled_1ypiv_100", Wa = "_spCheckbox__box_error_1ypiv_111", za = "_spCheckbox__tooltip_1ypiv_114", Ua = "_spCheckbox__required_1ypiv_119", qa = "_spCheckbox__error_1ypiv_125", Ce = {
|
|
739
739
|
spCheckbox: ja,
|
|
740
740
|
spCheckbox__control: Ba,
|
|
741
741
|
spCheckbox__label: Da,
|
|
@@ -743,12 +743,12 @@ const He = (e) => {
|
|
|
743
743
|
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_1ypiv_68",
|
|
744
744
|
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_1ypiv_73",
|
|
745
745
|
spCheckbox__box_checked: Pa,
|
|
746
|
-
spCheckbox__box_disabled:
|
|
747
|
-
spCheckbox__box_error:
|
|
748
|
-
spCheckbox__tooltip:
|
|
746
|
+
spCheckbox__box_disabled: Oa,
|
|
747
|
+
spCheckbox__box_error: Wa,
|
|
748
|
+
spCheckbox__tooltip: za,
|
|
749
749
|
spCheckbox__required: Ua,
|
|
750
750
|
spCheckbox__error: qa
|
|
751
|
-
},
|
|
751
|
+
}, Hp = (e) => {
|
|
752
752
|
const {
|
|
753
753
|
size: t = "lg",
|
|
754
754
|
checked: o,
|
|
@@ -757,76 +757,76 @@ const He = (e) => {
|
|
|
757
757
|
name: i,
|
|
758
758
|
label: r,
|
|
759
759
|
error: s,
|
|
760
|
-
value:
|
|
761
|
-
required:
|
|
760
|
+
value: p,
|
|
761
|
+
required: l,
|
|
762
762
|
tooltipPosition: d,
|
|
763
763
|
infoTooltipText: u,
|
|
764
764
|
onMouseEnter: g,
|
|
765
765
|
classNameRoot: h,
|
|
766
766
|
classNameError: x
|
|
767
|
-
} = e,
|
|
767
|
+
} = e, b = f({
|
|
768
768
|
[Ce.spCheckbox]: !0,
|
|
769
769
|
...h && { [h]: !0 }
|
|
770
|
-
}),
|
|
770
|
+
}), S = f({
|
|
771
771
|
[Ce.spCheckbox__box]: !0,
|
|
772
772
|
[Ce.spCheckbox__box_checked]: o,
|
|
773
773
|
[Ce.spCheckbox__box_disabled]: n,
|
|
774
774
|
[Ce[`spCheckbox__box--size-${t}`]]: t,
|
|
775
775
|
[Ce.spCheckbox__box_error]: s
|
|
776
|
-
}),
|
|
776
|
+
}), R = f({
|
|
777
777
|
[Ce.spCheckbox__control]: !0
|
|
778
|
-
}),
|
|
778
|
+
}), W = f({
|
|
779
779
|
[Ce.spCheckbox__label]: !0
|
|
780
|
-
}),
|
|
780
|
+
}), A = f({
|
|
781
781
|
[Ce.spCheckbox__required]: !0
|
|
782
|
-
}),
|
|
782
|
+
}), w = f({
|
|
783
783
|
[Ce.spCheckbox__error]: !0,
|
|
784
784
|
...x && { [x]: !0 }
|
|
785
785
|
}), m = f({
|
|
786
786
|
[Ce.spCheckbox__tooltip]: !0
|
|
787
787
|
});
|
|
788
|
-
return /* @__PURE__ */
|
|
789
|
-
/* @__PURE__ */
|
|
788
|
+
return /* @__PURE__ */ O("div", { className: b, onMouseEnter: g, children: [
|
|
789
|
+
/* @__PURE__ */ O("label", { className: S, children: [
|
|
790
790
|
/* @__PURE__ */ c(
|
|
791
791
|
"input",
|
|
792
792
|
{
|
|
793
793
|
type: "checkbox",
|
|
794
|
-
className:
|
|
794
|
+
className: R,
|
|
795
795
|
checked: o,
|
|
796
|
-
onChange: (
|
|
797
|
-
!n && a && a(
|
|
796
|
+
onChange: (z) => {
|
|
797
|
+
!n && a && a(z, { name: i, checked: !o, value: p });
|
|
798
798
|
}
|
|
799
799
|
}
|
|
800
800
|
),
|
|
801
|
-
r && /* @__PURE__ */ c("span", { className:
|
|
802
|
-
|
|
803
|
-
u && /* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c(
|
|
801
|
+
r && /* @__PURE__ */ c("span", { className: W, children: r }),
|
|
802
|
+
l && /* @__PURE__ */ c("div", { className: A, children: "*" }),
|
|
803
|
+
u && /* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c(rt, { hover: !0, position: d, text: u }) })
|
|
804
804
|
] }),
|
|
805
|
-
s && /* @__PURE__ */ c("div", { className:
|
|
805
|
+
s && /* @__PURE__ */ c("div", { className: w, children: s })
|
|
806
806
|
] });
|
|
807
|
-
}, $a = "_spContextMenu_1cza9_43", Ha = "_spContextMenu__item_1cza9_55", Va = "_spContextMenu__item_deleteItem_1cza9_74",
|
|
807
|
+
}, $a = "_spContextMenu_1cza9_43", Ha = "_spContextMenu__item_1cza9_55", Va = "_spContextMenu__item_deleteItem_1cza9_74", vt = {
|
|
808
808
|
spContextMenu: $a,
|
|
809
809
|
spContextMenu__item: Ha,
|
|
810
810
|
spContextMenu__item_deleteItem: Va
|
|
811
|
-
},
|
|
811
|
+
}, Vp = (e) => {
|
|
812
812
|
const { onClickItem: t, options: o, classNameRoot: n } = e, a = f({
|
|
813
|
-
[
|
|
813
|
+
[vt.spContextMenu]: !0,
|
|
814
814
|
...n && { [n]: !0 }
|
|
815
815
|
});
|
|
816
816
|
return /* @__PURE__ */ c("ul", { className: a, children: o == null ? void 0 : o.map((i) => {
|
|
817
817
|
const r = i.key === "delete";
|
|
818
|
-
return /* @__PURE__ */
|
|
818
|
+
return /* @__PURE__ */ O(
|
|
819
819
|
"li",
|
|
820
820
|
{
|
|
821
821
|
className: f({
|
|
822
|
-
[
|
|
823
|
-
[
|
|
822
|
+
[vt.spContextMenu__item]: !0,
|
|
823
|
+
[vt.spContextMenu__item_deleteItem]: r
|
|
824
824
|
}),
|
|
825
825
|
onClick: () => {
|
|
826
826
|
t && t(i);
|
|
827
827
|
},
|
|
828
828
|
children: [
|
|
829
|
-
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ c(
|
|
829
|
+
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ c(de, { name: i.iconName }),
|
|
830
830
|
i.label
|
|
831
831
|
]
|
|
832
832
|
},
|
|
@@ -835,7 +835,7 @@ const He = (e) => {
|
|
|
835
835
|
}) });
|
|
836
836
|
}, Ya = (e) => {
|
|
837
837
|
const { getRootProps: t, children: o, disabled: n, name: a, getInputProps: i } = e;
|
|
838
|
-
return /* @__PURE__ */
|
|
838
|
+
return /* @__PURE__ */ O("div", { ...t({}), style: { minHeight: "100%", minWidth: "100%" }, children: [
|
|
839
839
|
/* @__PURE__ */ c("input", { ...i({}), disabled: n, name: a }),
|
|
840
840
|
o
|
|
841
841
|
] });
|
|
@@ -848,105 +848,137 @@ const He = (e) => {
|
|
|
848
848
|
spDropdown__dopdownListItem: Ja,
|
|
849
849
|
spDropdown__dopdownListItem_textCenter: ei,
|
|
850
850
|
spDropdown__downloadListItemDescription: ti
|
|
851
|
-
},
|
|
851
|
+
}, Yp = (e) => {
|
|
852
852
|
const {
|
|
853
853
|
labelText: t = "Выпадающий список",
|
|
854
854
|
listName: o,
|
|
855
855
|
dropdownList: n = [],
|
|
856
|
-
dropdownPosition: a =
|
|
856
|
+
dropdownPosition: a = pe.BottomRight,
|
|
857
857
|
classNameRoot: i
|
|
858
858
|
} = e, r = f({
|
|
859
859
|
[Ie.spDropdown]: !0,
|
|
860
860
|
...i && { [i]: !0 }
|
|
861
861
|
}), s = f({
|
|
862
862
|
[Ie.spDropdown__labelText]: !0
|
|
863
|
-
}), l = f({
|
|
864
|
-
[Ie.spDropdown__tooltipContainer]: !0
|
|
865
863
|
}), p = f({
|
|
864
|
+
[Ie.spDropdown__tooltipContainer]: !0
|
|
865
|
+
}), l = f({
|
|
866
866
|
[Ie.spDropdown__dropdownList]: !0
|
|
867
867
|
}), d = f({
|
|
868
868
|
[Ie.spDropdown__dropdownListHeader]: !0
|
|
869
869
|
}), u = f({
|
|
870
870
|
[Ie.spDropdown__downloadListItemDescription]: !0
|
|
871
|
-
}), [g, h] =
|
|
871
|
+
}), [g, h] = oe(!1);
|
|
872
872
|
return /* @__PURE__ */ c(
|
|
873
|
-
|
|
873
|
+
it,
|
|
874
874
|
{
|
|
875
875
|
hover: !1,
|
|
876
876
|
triggerAction: () => h(!0),
|
|
877
877
|
actionOnClose: () => h(!1),
|
|
878
|
-
text: /* @__PURE__ */
|
|
878
|
+
text: /* @__PURE__ */ O("div", { className: l, children: [
|
|
879
879
|
o && /* @__PURE__ */ c("div", { className: d, children: o }),
|
|
880
|
-
n.map((
|
|
880
|
+
n.map((b, S) => /* @__PURE__ */ O(
|
|
881
881
|
"div",
|
|
882
882
|
{
|
|
883
883
|
className: f({
|
|
884
884
|
[Ie.spDropdown__dopdownListItem]: !0,
|
|
885
|
-
[Ie.spDropdown__dopdownListItem_textCenter]:
|
|
885
|
+
[Ie.spDropdown__dopdownListItem_textCenter]: b.textCenter
|
|
886
886
|
}),
|
|
887
|
-
onClick:
|
|
887
|
+
onClick: b.onClick,
|
|
888
888
|
children: [
|
|
889
|
-
|
|
890
|
-
|
|
889
|
+
b.name,
|
|
890
|
+
b.description && /* @__PURE__ */ c("span", { className: u, children: b.description })
|
|
891
891
|
]
|
|
892
892
|
},
|
|
893
|
-
|
|
893
|
+
S
|
|
894
894
|
))
|
|
895
895
|
] }),
|
|
896
896
|
position: a,
|
|
897
897
|
noPadding: !0,
|
|
898
898
|
isToggleClick: !0,
|
|
899
899
|
isStopPropagationClickOnTrigger: !0,
|
|
900
|
-
trigger: /* @__PURE__ */
|
|
900
|
+
trigger: /* @__PURE__ */ O("div", { className: r, children: [
|
|
901
901
|
/* @__PURE__ */ c("div", { className: s, children: t }),
|
|
902
|
-
/* @__PURE__ */ c("div", { className:
|
|
902
|
+
/* @__PURE__ */ c("div", { className: p, children: /* @__PURE__ */ c(de, { name: D.SelectChevronDown, rotate: g ? 180 : void 0 }) })
|
|
903
903
|
] })
|
|
904
904
|
}
|
|
905
905
|
);
|
|
906
|
-
}, oi = "
|
|
906
|
+
}, oi = "_ellipsisTextWithTooltip_4tohk_43", ni = "_ellipsisTextWithTooltip__tooltip_4tohk_47", $t = {
|
|
907
907
|
ellipsisTextWithTooltip: oi,
|
|
908
908
|
ellipsisTextWithTooltip__tooltip: ni
|
|
909
|
-
},
|
|
909
|
+
}, St = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, gt = (e) => {
|
|
910
|
+
var o;
|
|
911
|
+
return St(e) ? "" : ((o = e.split(/[\s.]+/).pop()) == null ? void 0 : o.toLowerCase()) || "";
|
|
912
|
+
}, Ue = (e) => {
|
|
910
913
|
const {
|
|
911
914
|
text: t,
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
915
|
+
isWithFixedEnd: o = !1,
|
|
916
|
+
classNameRoot: n,
|
|
917
|
+
classNameTooltipRoot: a,
|
|
918
|
+
classNameBaseTooltipContentRoot: i,
|
|
919
|
+
classNameBaseTooltipRoot: r,
|
|
920
|
+
defaultTooltipPosition: s,
|
|
921
|
+
...p
|
|
922
|
+
} = e, l = ve(null), d = ve(null), [u, g] = oe(!1), h = gt(t), x = h !== t, b = () => {
|
|
923
|
+
l.current && g(l.current.scrollWidth > l.current.clientWidth);
|
|
919
924
|
};
|
|
920
|
-
|
|
921
|
-
window.removeEventListener("resize",
|
|
922
|
-
}), [t]);
|
|
923
|
-
const
|
|
924
|
-
[
|
|
925
|
-
...o && { [o]: !0 }
|
|
926
|
-
}), g = f({
|
|
927
|
-
[qt.ellipsisTextWithTooltip__tooltip]: !0,
|
|
925
|
+
Xo(() => (b(), window.addEventListener("resize", b), () => {
|
|
926
|
+
window.removeEventListener("resize", b);
|
|
927
|
+
}), [t, h]);
|
|
928
|
+
const S = f({
|
|
929
|
+
[$t.ellipsisTextWithTooltip]: !0,
|
|
928
930
|
...n && { [n]: !0 }
|
|
931
|
+
}), R = f({
|
|
932
|
+
[$t.ellipsisTextWithTooltip__tooltip]: !0,
|
|
933
|
+
...a && { [a]: !0 }
|
|
929
934
|
});
|
|
930
935
|
return /* @__PURE__ */ c(
|
|
931
|
-
|
|
936
|
+
it,
|
|
932
937
|
{
|
|
933
938
|
hover: !0,
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
939
|
+
position: s,
|
|
940
|
+
classNameBaseTooltipRoot: r,
|
|
941
|
+
classNameTooltip: R,
|
|
942
|
+
classNameBaseTooltipContentRoot: i,
|
|
943
|
+
isVisibleTooltip: u,
|
|
938
944
|
text: t,
|
|
939
|
-
trigger: /* @__PURE__ */
|
|
945
|
+
trigger: /* @__PURE__ */ O($e, { children: [
|
|
946
|
+
/* @__PURE__ */ c(Ne, { ...p, classNameRoot: S, isEllipsis: !0, ref: l, children: t }),
|
|
947
|
+
o && u && x && /* @__PURE__ */ O($e, { children: [
|
|
948
|
+
/* @__PURE__ */ c(
|
|
949
|
+
"div",
|
|
950
|
+
{
|
|
951
|
+
ref: d,
|
|
952
|
+
style: {
|
|
953
|
+
position: "absolute",
|
|
954
|
+
opacity: 0,
|
|
955
|
+
pointerEvents: "none",
|
|
956
|
+
whiteSpace: "nowrap"
|
|
957
|
+
},
|
|
958
|
+
children: /* @__PURE__ */ c(Ne, { ...p, classNameRoot: S, children: gt(t) })
|
|
959
|
+
}
|
|
960
|
+
),
|
|
961
|
+
/* @__PURE__ */ c(
|
|
962
|
+
Ne,
|
|
963
|
+
{
|
|
964
|
+
style: { width: "fit-content" },
|
|
965
|
+
...p,
|
|
966
|
+
classNameRoot: S,
|
|
967
|
+
children: gt(t)
|
|
968
|
+
}
|
|
969
|
+
)
|
|
970
|
+
] })
|
|
971
|
+
] })
|
|
940
972
|
}
|
|
941
973
|
);
|
|
942
|
-
}, ai = "_spForm_1mrvg_43", ii = "_spForm_fullWidth_1mrvg_48", ri = "_spForm_addMargin_1mrvg_51", si = "_spForm_withSeparator_1mrvg_69",
|
|
974
|
+
}, ai = "_spForm_1mrvg_43", ii = "_spForm_fullWidth_1mrvg_48", ri = "_spForm_addMargin_1mrvg_51", si = "_spForm_withSeparator_1mrvg_69", qe = {
|
|
943
975
|
spForm: ai,
|
|
944
976
|
spForm_fullWidth: ii,
|
|
945
977
|
spForm_addMargin: ri,
|
|
946
978
|
"spForm--size-lg": "_spForm--size-lg_1mrvg_51",
|
|
947
979
|
"spForm--size-md": "_spForm--size-md_1mrvg_60",
|
|
948
980
|
spForm_withSeparator: si
|
|
949
|
-
},
|
|
981
|
+
}, Gp = (e) => {
|
|
950
982
|
const {
|
|
951
983
|
size: t = "lg",
|
|
952
984
|
children: o,
|
|
@@ -955,24 +987,24 @@ const He = (e) => {
|
|
|
955
987
|
withSeparator: i = !1,
|
|
956
988
|
fullWidth: r = !0,
|
|
957
989
|
classNameRoot: s,
|
|
958
|
-
...
|
|
959
|
-
} = e,
|
|
960
|
-
[
|
|
961
|
-
[
|
|
962
|
-
[
|
|
963
|
-
[
|
|
964
|
-
[
|
|
990
|
+
...p
|
|
991
|
+
} = e, l = f({
|
|
992
|
+
[qe.spForm]: !0,
|
|
993
|
+
[qe[`spForm--size-${t}`]]: t,
|
|
994
|
+
[qe.spForm_fullWidth]: r,
|
|
995
|
+
[qe.spForm_addMargin]: a,
|
|
996
|
+
[qe.spForm_withSeparator]: i && a,
|
|
965
997
|
...s && { [s]: !0 }
|
|
966
998
|
});
|
|
967
|
-
return /* @__PURE__ */ c("form", { ...
|
|
999
|
+
return /* @__PURE__ */ c("form", { ...p, onSubmit: (u) => {
|
|
968
1000
|
u.preventDefault(), n && n();
|
|
969
|
-
}, className:
|
|
970
|
-
},
|
|
971
|
-
spLabel:
|
|
972
|
-
spLabel__text:
|
|
1001
|
+
}, className: l, children: o });
|
|
1002
|
+
}, pi = "_spLabel_1mq16_43", li = "_spLabel__text_1mq16_52", ci = "_spLabel__tooltip_1mq16_62", di = "_spLabel__required_1mq16_69", Ze = {
|
|
1003
|
+
spLabel: pi,
|
|
1004
|
+
spLabel__text: li,
|
|
973
1005
|
spLabel__tooltip: ci,
|
|
974
1006
|
spLabel__required: di
|
|
975
|
-
},
|
|
1007
|
+
}, Mt = (e) => {
|
|
976
1008
|
const {
|
|
977
1009
|
required: t,
|
|
978
1010
|
label: o,
|
|
@@ -983,18 +1015,18 @@ const He = (e) => {
|
|
|
983
1015
|
} = e, s = f({
|
|
984
1016
|
[Ze.spLabel]: !0,
|
|
985
1017
|
...i && { [i]: !0 }
|
|
986
|
-
}), l = f({
|
|
987
|
-
[Ze.spLabel__text]: !0
|
|
988
1018
|
}), p = f({
|
|
1019
|
+
[Ze.spLabel__text]: !0
|
|
1020
|
+
}), l = f({
|
|
989
1021
|
[Ze.spLabel__required]: t
|
|
990
1022
|
}), d = f({
|
|
991
1023
|
[Ze.spLabel__tooltip]: !0
|
|
992
1024
|
});
|
|
993
|
-
return /* @__PURE__ */
|
|
994
|
-
/* @__PURE__ */ c("label", { className:
|
|
995
|
-
t && /* @__PURE__ */ c("div", { className:
|
|
1025
|
+
return /* @__PURE__ */ O("div", { className: s, children: [
|
|
1026
|
+
/* @__PURE__ */ c("label", { className: p, children: o }),
|
|
1027
|
+
t && /* @__PURE__ */ c("div", { className: l, children: "*" }),
|
|
996
1028
|
n && /* @__PURE__ */ c(
|
|
997
|
-
|
|
1029
|
+
rt,
|
|
998
1030
|
{
|
|
999
1031
|
hover: !0,
|
|
1000
1032
|
classNameTooltip: d,
|
|
@@ -1017,7 +1049,7 @@ const He = (e) => {
|
|
|
1017
1049
|
spInput__clear: yi,
|
|
1018
1050
|
spInput__error: wi,
|
|
1019
1051
|
spInput__error_absolutePosition: Ci
|
|
1020
|
-
}, ki =
|
|
1052
|
+
}, ki = Ve.forwardRef((e, t) => {
|
|
1021
1053
|
const {
|
|
1022
1054
|
value: o,
|
|
1023
1055
|
onChange: n,
|
|
@@ -1025,26 +1057,26 @@ const He = (e) => {
|
|
|
1025
1057
|
variant: i = "outlined",
|
|
1026
1058
|
disabled: r = !1,
|
|
1027
1059
|
isAbsolutePositionError: s = !1,
|
|
1028
|
-
error:
|
|
1029
|
-
required:
|
|
1060
|
+
error: p,
|
|
1061
|
+
required: l,
|
|
1030
1062
|
name: d,
|
|
1031
1063
|
isClearable: u,
|
|
1032
1064
|
pattern: g,
|
|
1033
1065
|
onMouseEnter: h,
|
|
1034
1066
|
infoTooltipText: x,
|
|
1035
|
-
tooltipPosition:
|
|
1036
|
-
isVisibleDefaultTitle:
|
|
1037
|
-
placeholder:
|
|
1038
|
-
classNameRoot:
|
|
1039
|
-
classNameError:
|
|
1040
|
-
classNameLabel:
|
|
1067
|
+
tooltipPosition: b,
|
|
1068
|
+
isVisibleDefaultTitle: S = !0,
|
|
1069
|
+
placeholder: R = "Введите...",
|
|
1070
|
+
classNameRoot: W,
|
|
1071
|
+
classNameError: A,
|
|
1072
|
+
classNameLabel: w,
|
|
1041
1073
|
classNameBaseTooltipRoot: m,
|
|
1042
1074
|
...N
|
|
1043
|
-
} = e,
|
|
1075
|
+
} = e, z = f({
|
|
1044
1076
|
[ke.spInput]: !0,
|
|
1045
|
-
[ke.spInput_error]: !!
|
|
1077
|
+
[ke.spInput_error]: !!p,
|
|
1046
1078
|
[ke.spInput_absolutePositionError]: s,
|
|
1047
|
-
...
|
|
1079
|
+
...W && { [W]: !0 }
|
|
1048
1080
|
}), G = f({
|
|
1049
1081
|
[ke.spInput__container]: !0
|
|
1050
1082
|
}), J = f({
|
|
@@ -1054,131 +1086,131 @@ const He = (e) => {
|
|
|
1054
1086
|
[ke.spInput__control_clearable]: u
|
|
1055
1087
|
}), ne = f({
|
|
1056
1088
|
[ke.spInput__clear]: !0
|
|
1057
|
-
}),
|
|
1089
|
+
}), me = f({
|
|
1058
1090
|
[ke.spInput__error]: !0,
|
|
1059
1091
|
[ke.spInput__error_absolutePosition]: s,
|
|
1060
|
-
...
|
|
1061
|
-
}),
|
|
1062
|
-
...
|
|
1063
|
-
}),
|
|
1092
|
+
...A && { [A]: !0 }
|
|
1093
|
+
}), ue = f({
|
|
1094
|
+
...w && { [w]: !0 }
|
|
1095
|
+
}), le = (M) => {
|
|
1064
1096
|
n(M, { name: d, value: "" });
|
|
1065
1097
|
}, X = (M) => {
|
|
1066
|
-
const { value: q, name:
|
|
1067
|
-
g && q && !new RegExp(g).test(q) || n(M, { value: q, name:
|
|
1098
|
+
const { value: q, name: Y } = M.target;
|
|
1099
|
+
g && q && !new RegExp(g).test(q) || n(M, { value: q, name: Y });
|
|
1068
1100
|
};
|
|
1069
|
-
return /* @__PURE__ */
|
|
1101
|
+
return /* @__PURE__ */ O("div", { className: z, children: [
|
|
1070
1102
|
a && /* @__PURE__ */ c(
|
|
1071
|
-
|
|
1103
|
+
Mt,
|
|
1072
1104
|
{
|
|
1073
|
-
classNameRoot:
|
|
1074
|
-
tooltipPosition:
|
|
1075
|
-
required:
|
|
1105
|
+
classNameRoot: ue,
|
|
1106
|
+
tooltipPosition: b,
|
|
1107
|
+
required: l,
|
|
1076
1108
|
label: a,
|
|
1077
1109
|
infoTooltipText: x,
|
|
1078
1110
|
classNameBaseTooltipRoot: m
|
|
1079
1111
|
}
|
|
1080
1112
|
),
|
|
1081
|
-
/* @__PURE__ */
|
|
1113
|
+
/* @__PURE__ */ O("div", { className: G, onMouseEnter: h, children: [
|
|
1082
1114
|
/* @__PURE__ */ c(
|
|
1083
1115
|
"input",
|
|
1084
1116
|
{
|
|
1085
1117
|
...N,
|
|
1086
|
-
placeholder:
|
|
1118
|
+
placeholder: R,
|
|
1087
1119
|
disabled: r,
|
|
1088
1120
|
onChange: X,
|
|
1089
|
-
title:
|
|
1121
|
+
title: S ? o : void 0,
|
|
1090
1122
|
value: o,
|
|
1091
1123
|
name: d,
|
|
1092
1124
|
className: J,
|
|
1093
1125
|
ref: t
|
|
1094
1126
|
}
|
|
1095
1127
|
),
|
|
1096
|
-
u && o && !r && /* @__PURE__ */ c(
|
|
1128
|
+
u && o && !r && /* @__PURE__ */ c(de, { onClick: le, className: ne, name: D.Trash })
|
|
1097
1129
|
] }),
|
|
1098
|
-
|
|
1130
|
+
p && /* @__PURE__ */ c("div", { className: me, children: p })
|
|
1099
1131
|
] });
|
|
1100
1132
|
});
|
|
1101
1133
|
ki.displayName = "Input";
|
|
1102
|
-
const Ti =
|
|
1134
|
+
const Ti = xo({
|
|
1103
1135
|
device: {
|
|
1104
1136
|
isDesktop: !1,
|
|
1105
1137
|
isMobile: !1,
|
|
1106
1138
|
isTablet: !1
|
|
1107
1139
|
}
|
|
1108
1140
|
});
|
|
1109
|
-
function
|
|
1141
|
+
function To(e) {
|
|
1110
1142
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1111
1143
|
}
|
|
1112
|
-
var
|
|
1113
|
-
|
|
1114
|
-
|
|
1144
|
+
var Pt = {};
|
|
1145
|
+
Pt.match = Ri;
|
|
1146
|
+
Pt.parse = No;
|
|
1115
1147
|
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
1148
|
function Ri(e, t) {
|
|
1117
|
-
return
|
|
1149
|
+
return No(e).some(function(o) {
|
|
1118
1150
|
var n = o.inverse, a = o.type === "all" || t.type === o.type;
|
|
1119
1151
|
if (a && n || !(a || n))
|
|
1120
1152
|
return !1;
|
|
1121
1153
|
var i = o.expressions.every(function(r) {
|
|
1122
|
-
var s = r.feature,
|
|
1154
|
+
var s = r.feature, p = r.modifier, l = r.value, d = t[s];
|
|
1123
1155
|
if (!d)
|
|
1124
1156
|
return !1;
|
|
1125
1157
|
switch (s) {
|
|
1126
1158
|
case "orientation":
|
|
1127
1159
|
case "scan":
|
|
1128
|
-
return d.toLowerCase() ===
|
|
1160
|
+
return d.toLowerCase() === l.toLowerCase();
|
|
1129
1161
|
case "width":
|
|
1130
1162
|
case "height":
|
|
1131
1163
|
case "device-width":
|
|
1132
1164
|
case "device-height":
|
|
1133
|
-
|
|
1165
|
+
l = Yt(l), d = Yt(d);
|
|
1134
1166
|
break;
|
|
1135
1167
|
case "resolution":
|
|
1136
|
-
|
|
1168
|
+
l = Vt(l), d = Vt(d);
|
|
1137
1169
|
break;
|
|
1138
1170
|
case "aspect-ratio":
|
|
1139
1171
|
case "device-aspect-ratio":
|
|
1140
1172
|
case /* Deprecated */
|
|
1141
1173
|
"device-pixel-ratio":
|
|
1142
|
-
|
|
1174
|
+
l = Ht(l), d = Ht(d);
|
|
1143
1175
|
break;
|
|
1144
1176
|
case "grid":
|
|
1145
1177
|
case "color":
|
|
1146
1178
|
case "color-index":
|
|
1147
1179
|
case "monochrome":
|
|
1148
|
-
|
|
1180
|
+
l = parseInt(l, 10) || 1, d = parseInt(d, 10) || 0;
|
|
1149
1181
|
break;
|
|
1150
1182
|
}
|
|
1151
|
-
switch (
|
|
1183
|
+
switch (p) {
|
|
1152
1184
|
case "min":
|
|
1153
|
-
return d >=
|
|
1185
|
+
return d >= l;
|
|
1154
1186
|
case "max":
|
|
1155
|
-
return d <=
|
|
1187
|
+
return d <= l;
|
|
1156
1188
|
default:
|
|
1157
|
-
return d ===
|
|
1189
|
+
return d === l;
|
|
1158
1190
|
}
|
|
1159
1191
|
});
|
|
1160
1192
|
return i && !n || !i && n;
|
|
1161
1193
|
});
|
|
1162
1194
|
}
|
|
1163
|
-
function
|
|
1195
|
+
function No(e) {
|
|
1164
1196
|
return e.split(",").map(function(t) {
|
|
1165
1197
|
t = t.trim();
|
|
1166
1198
|
var o = t.match(Ni), n = o[1], a = o[2], i = o[3] || "", r = {};
|
|
1167
1199
|
return r.inverse = !!n && n.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
1168
|
-
var
|
|
1200
|
+
var p = s.match(Ei), l = p[1].toLowerCase().match(Ii);
|
|
1169
1201
|
return {
|
|
1170
|
-
modifier:
|
|
1171
|
-
feature:
|
|
1172
|
-
value:
|
|
1202
|
+
modifier: l[1],
|
|
1203
|
+
feature: l[2],
|
|
1204
|
+
value: p[2]
|
|
1173
1205
|
};
|
|
1174
1206
|
}), r;
|
|
1175
1207
|
});
|
|
1176
1208
|
}
|
|
1177
|
-
function
|
|
1209
|
+
function Ht(e) {
|
|
1178
1210
|
var t = Number(e), o;
|
|
1179
1211
|
return t || (o = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = o[1] / o[2]), t;
|
|
1180
1212
|
}
|
|
1181
|
-
function
|
|
1213
|
+
function Vt(e) {
|
|
1182
1214
|
var t = parseFloat(e), o = String(e).match(Li)[1];
|
|
1183
1215
|
switch (o) {
|
|
1184
1216
|
case "dpcm":
|
|
@@ -1189,7 +1221,7 @@ function Ht(e) {
|
|
|
1189
1221
|
return t;
|
|
1190
1222
|
}
|
|
1191
1223
|
}
|
|
1192
|
-
function
|
|
1224
|
+
function Yt(e) {
|
|
1193
1225
|
var t = parseFloat(e), o = String(e).match(Si)[1];
|
|
1194
1226
|
switch (o) {
|
|
1195
1227
|
case "em":
|
|
@@ -1210,20 +1242,20 @@ function Vt(e) {
|
|
|
1210
1242
|
return t;
|
|
1211
1243
|
}
|
|
1212
1244
|
}
|
|
1213
|
-
var Fi =
|
|
1245
|
+
var Fi = Pt.match, Gt = typeof window < "u" ? window.matchMedia : null;
|
|
1214
1246
|
function Ai(e, t, o) {
|
|
1215
1247
|
var n = this, a;
|
|
1216
|
-
|
|
1217
|
-
function i(
|
|
1218
|
-
a && a.addListener(
|
|
1248
|
+
Gt && !o && (a = Gt.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 = p;
|
|
1249
|
+
function i(l) {
|
|
1250
|
+
a && a.addListener(l);
|
|
1219
1251
|
}
|
|
1220
|
-
function r(
|
|
1221
|
-
a && a.removeListener(
|
|
1252
|
+
function r(l) {
|
|
1253
|
+
a && a.removeListener(l);
|
|
1222
1254
|
}
|
|
1223
|
-
function s(
|
|
1224
|
-
n.matches =
|
|
1255
|
+
function s(l) {
|
|
1256
|
+
n.matches = l.matches, n.media = l.media;
|
|
1225
1257
|
}
|
|
1226
|
-
function
|
|
1258
|
+
function p() {
|
|
1227
1259
|
a && a.removeListener(s);
|
|
1228
1260
|
}
|
|
1229
1261
|
}
|
|
@@ -1231,18 +1263,18 @@ function ji(e, t, o) {
|
|
|
1231
1263
|
return new Ai(e, t, o);
|
|
1232
1264
|
}
|
|
1233
1265
|
var Bi = ji;
|
|
1234
|
-
const Di = /* @__PURE__ */
|
|
1235
|
-
var Mi = /[A-Z]/g, Pi = /^ms-/,
|
|
1236
|
-
function
|
|
1266
|
+
const Di = /* @__PURE__ */ To(Bi);
|
|
1267
|
+
var Mi = /[A-Z]/g, Pi = /^ms-/, xt = {};
|
|
1268
|
+
function Oi(e) {
|
|
1237
1269
|
return "-" + e.toLowerCase();
|
|
1238
1270
|
}
|
|
1239
|
-
function
|
|
1240
|
-
if (
|
|
1241
|
-
return
|
|
1242
|
-
var t = e.replace(Mi,
|
|
1243
|
-
return
|
|
1271
|
+
function Eo(e) {
|
|
1272
|
+
if (xt.hasOwnProperty(e))
|
|
1273
|
+
return xt[e];
|
|
1274
|
+
var t = e.replace(Mi, Oi);
|
|
1275
|
+
return xt[e] = Pi.test(t) ? "-" + t : t;
|
|
1244
1276
|
}
|
|
1245
|
-
function
|
|
1277
|
+
function Wi(e, t) {
|
|
1246
1278
|
if (e === t)
|
|
1247
1279
|
return !0;
|
|
1248
1280
|
if (!e || !t)
|
|
@@ -1257,7 +1289,7 @@ function Oi(e, t) {
|
|
|
1257
1289
|
}
|
|
1258
1290
|
return !0;
|
|
1259
1291
|
}
|
|
1260
|
-
var
|
|
1292
|
+
var Lt = { exports: {} }, Qe = { exports: {} }, Z = {};
|
|
1261
1293
|
/** @license React v16.13.1
|
|
1262
1294
|
* react-is.production.min.js
|
|
1263
1295
|
*
|
|
@@ -1266,19 +1298,19 @@ var Et = { exports: {} }, Qe = { exports: {} }, Z = {};
|
|
|
1266
1298
|
* This source code is licensed under the MIT license found in the
|
|
1267
1299
|
* LICENSE file in the root directory of this source tree.
|
|
1268
1300
|
*/
|
|
1269
|
-
var
|
|
1270
|
-
function
|
|
1271
|
-
if (
|
|
1272
|
-
|
|
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,
|
|
1274
|
-
function
|
|
1301
|
+
var Kt;
|
|
1302
|
+
function zi() {
|
|
1303
|
+
if (Kt) return Z;
|
|
1304
|
+
Kt = 1;
|
|
1305
|
+
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, p = e ? Symbol.for("react.async_mode") : 60111, l = 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, b = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, W = e ? Symbol.for("react.scope") : 60119;
|
|
1306
|
+
function A(m) {
|
|
1275
1307
|
if (typeof m == "object" && m !== null) {
|
|
1276
1308
|
var N = m.$$typeof;
|
|
1277
1309
|
switch (N) {
|
|
1278
1310
|
case t:
|
|
1279
1311
|
switch (m = m.type, m) {
|
|
1280
|
-
case l:
|
|
1281
1312
|
case p:
|
|
1313
|
+
case l:
|
|
1282
1314
|
case n:
|
|
1283
1315
|
case i:
|
|
1284
1316
|
case a:
|
|
@@ -1301,36 +1333,36 @@ function Wi() {
|
|
|
1301
1333
|
}
|
|
1302
1334
|
}
|
|
1303
1335
|
}
|
|
1304
|
-
function
|
|
1305
|
-
return
|
|
1336
|
+
function w(m) {
|
|
1337
|
+
return A(m) === l;
|
|
1306
1338
|
}
|
|
1307
|
-
return Z.AsyncMode =
|
|
1308
|
-
return
|
|
1309
|
-
}, Z.isConcurrentMode =
|
|
1310
|
-
return
|
|
1339
|
+
return Z.AsyncMode = p, Z.ConcurrentMode = l, 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) {
|
|
1340
|
+
return w(m) || A(m) === p;
|
|
1341
|
+
}, Z.isConcurrentMode = w, Z.isContextConsumer = function(m) {
|
|
1342
|
+
return A(m) === s;
|
|
1311
1343
|
}, Z.isContextProvider = function(m) {
|
|
1312
|
-
return
|
|
1344
|
+
return A(m) === r;
|
|
1313
1345
|
}, Z.isElement = function(m) {
|
|
1314
1346
|
return typeof m == "object" && m !== null && m.$$typeof === t;
|
|
1315
1347
|
}, Z.isForwardRef = function(m) {
|
|
1316
|
-
return
|
|
1348
|
+
return A(m) === d;
|
|
1317
1349
|
}, Z.isFragment = function(m) {
|
|
1318
|
-
return
|
|
1350
|
+
return A(m) === n;
|
|
1319
1351
|
}, Z.isLazy = function(m) {
|
|
1320
|
-
return
|
|
1352
|
+
return A(m) === x;
|
|
1321
1353
|
}, Z.isMemo = function(m) {
|
|
1322
|
-
return
|
|
1354
|
+
return A(m) === h;
|
|
1323
1355
|
}, Z.isPortal = function(m) {
|
|
1324
|
-
return
|
|
1356
|
+
return A(m) === o;
|
|
1325
1357
|
}, Z.isProfiler = function(m) {
|
|
1326
|
-
return
|
|
1358
|
+
return A(m) === i;
|
|
1327
1359
|
}, Z.isStrictMode = function(m) {
|
|
1328
|
-
return
|
|
1360
|
+
return A(m) === a;
|
|
1329
1361
|
}, Z.isSuspense = function(m) {
|
|
1330
|
-
return
|
|
1362
|
+
return A(m) === u;
|
|
1331
1363
|
}, Z.isValidElementType = function(m) {
|
|
1332
|
-
return typeof m == "string" || typeof m == "function" || m === n || m ===
|
|
1333
|
-
}, Z.typeOf =
|
|
1364
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === l || 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 === S || m.$$typeof === R || m.$$typeof === W || m.$$typeof === b);
|
|
1365
|
+
}, Z.typeOf = A, Z;
|
|
1334
1366
|
}
|
|
1335
1367
|
var Q = {};
|
|
1336
1368
|
/** @license React v16.13.1
|
|
@@ -1341,37 +1373,37 @@ var Q = {};
|
|
|
1341
1373
|
* This source code is licensed under the MIT license found in the
|
|
1342
1374
|
* LICENSE file in the root directory of this source tree.
|
|
1343
1375
|
*/
|
|
1344
|
-
var
|
|
1376
|
+
var Xt;
|
|
1345
1377
|
function Ui() {
|
|
1346
|
-
return
|
|
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,
|
|
1348
|
-
function
|
|
1349
|
-
return typeof
|
|
1350
|
-
|
|
1378
|
+
return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1379
|
+
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, p = e ? Symbol.for("react.async_mode") : 60111, l = 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, b = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, W = e ? Symbol.for("react.scope") : 60119;
|
|
1380
|
+
function A(y) {
|
|
1381
|
+
return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1382
|
+
y === n || y === l || y === i || y === a || y === u || y === g || typeof y == "object" && y !== null && (y.$$typeof === x || y.$$typeof === h || y.$$typeof === r || y.$$typeof === s || y.$$typeof === d || y.$$typeof === S || y.$$typeof === R || y.$$typeof === W || y.$$typeof === b);
|
|
1351
1383
|
}
|
|
1352
|
-
function y
|
|
1353
|
-
if (typeof
|
|
1354
|
-
var he =
|
|
1384
|
+
function w(y) {
|
|
1385
|
+
if (typeof y == "object" && y !== null) {
|
|
1386
|
+
var he = y.$$typeof;
|
|
1355
1387
|
switch (he) {
|
|
1356
1388
|
case t:
|
|
1357
|
-
var Se =
|
|
1389
|
+
var Se = y.type;
|
|
1358
1390
|
switch (Se) {
|
|
1359
|
-
case l:
|
|
1360
1391
|
case p:
|
|
1392
|
+
case l:
|
|
1361
1393
|
case n:
|
|
1362
1394
|
case i:
|
|
1363
1395
|
case a:
|
|
1364
1396
|
case u:
|
|
1365
1397
|
return Se;
|
|
1366
1398
|
default:
|
|
1367
|
-
var
|
|
1368
|
-
switch (
|
|
1399
|
+
var Oe = Se && Se.$$typeof;
|
|
1400
|
+
switch (Oe) {
|
|
1369
1401
|
case s:
|
|
1370
1402
|
case d:
|
|
1371
1403
|
case x:
|
|
1372
1404
|
case h:
|
|
1373
1405
|
case r:
|
|
1374
|
-
return
|
|
1406
|
+
return Oe;
|
|
1375
1407
|
default:
|
|
1376
1408
|
return he;
|
|
1377
1409
|
}
|
|
@@ -1381,62 +1413,62 @@ function Ui() {
|
|
|
1381
1413
|
}
|
|
1382
1414
|
}
|
|
1383
1415
|
}
|
|
1384
|
-
var m =
|
|
1385
|
-
function
|
|
1386
|
-
return
|
|
1416
|
+
var m = p, N = l, z = s, G = r, J = t, ne = d, me = n, ue = x, le = h, X = o, T = i, M = a, q = u, Y = !1;
|
|
1417
|
+
function ee(y) {
|
|
1418
|
+
return Y || (Y = !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.")), _(y) || w(y) === p;
|
|
1387
1419
|
}
|
|
1388
|
-
function _(
|
|
1389
|
-
return y
|
|
1420
|
+
function _(y) {
|
|
1421
|
+
return w(y) === l;
|
|
1390
1422
|
}
|
|
1391
|
-
function v(
|
|
1392
|
-
return y
|
|
1423
|
+
function v(y) {
|
|
1424
|
+
return w(y) === s;
|
|
1393
1425
|
}
|
|
1394
|
-
function
|
|
1395
|
-
return y
|
|
1426
|
+
function L(y) {
|
|
1427
|
+
return w(y) === r;
|
|
1396
1428
|
}
|
|
1397
|
-
function
|
|
1398
|
-
return typeof
|
|
1429
|
+
function F(y) {
|
|
1430
|
+
return typeof y == "object" && y !== null && y.$$typeof === t;
|
|
1399
1431
|
}
|
|
1400
|
-
function I(
|
|
1401
|
-
return y
|
|
1432
|
+
function I(y) {
|
|
1433
|
+
return w(y) === d;
|
|
1402
1434
|
}
|
|
1403
|
-
function P(
|
|
1404
|
-
return y
|
|
1435
|
+
function P(y) {
|
|
1436
|
+
return w(y) === n;
|
|
1405
1437
|
}
|
|
1406
|
-
function B(
|
|
1407
|
-
return y
|
|
1438
|
+
function B(y) {
|
|
1439
|
+
return w(y) === x;
|
|
1408
1440
|
}
|
|
1409
|
-
function
|
|
1410
|
-
return y
|
|
1441
|
+
function U(y) {
|
|
1442
|
+
return w(y) === h;
|
|
1411
1443
|
}
|
|
1412
|
-
function H(
|
|
1413
|
-
return y
|
|
1444
|
+
function H(y) {
|
|
1445
|
+
return w(y) === o;
|
|
1414
1446
|
}
|
|
1415
|
-
function K(
|
|
1416
|
-
return y
|
|
1447
|
+
function K(y) {
|
|
1448
|
+
return w(y) === i;
|
|
1417
1449
|
}
|
|
1418
|
-
function $(
|
|
1419
|
-
return y
|
|
1450
|
+
function $(y) {
|
|
1451
|
+
return w(y) === a;
|
|
1420
1452
|
}
|
|
1421
|
-
function ie(
|
|
1422
|
-
return y
|
|
1453
|
+
function ie(y) {
|
|
1454
|
+
return w(y) === u;
|
|
1423
1455
|
}
|
|
1424
|
-
Q.AsyncMode = m, Q.ConcurrentMode = N, Q.ContextConsumer =
|
|
1456
|
+
Q.AsyncMode = m, Q.ConcurrentMode = N, Q.ContextConsumer = z, Q.ContextProvider = G, Q.Element = J, Q.ForwardRef = ne, Q.Fragment = me, Q.Lazy = ue, Q.Memo = le, Q.Portal = X, Q.Profiler = T, Q.StrictMode = M, Q.Suspense = q, Q.isAsyncMode = ee, Q.isConcurrentMode = _, Q.isContextConsumer = v, Q.isContextProvider = L, Q.isElement = F, Q.isForwardRef = I, Q.isFragment = P, Q.isLazy = B, Q.isMemo = U, Q.isPortal = H, Q.isProfiler = K, Q.isStrictMode = $, Q.isSuspense = ie, Q.isValidElementType = A, Q.typeOf = w;
|
|
1425
1457
|
}()), Q;
|
|
1426
1458
|
}
|
|
1427
|
-
var
|
|
1428
|
-
function
|
|
1429
|
-
return
|
|
1459
|
+
var Zt;
|
|
1460
|
+
function Io() {
|
|
1461
|
+
return Zt || (Zt = 1, process.env.NODE_ENV === "production" ? Qe.exports = zi() : Qe.exports = Ui()), Qe.exports;
|
|
1430
1462
|
}
|
|
1431
1463
|
/*
|
|
1432
1464
|
object-assign
|
|
1433
1465
|
(c) Sindre Sorhus
|
|
1434
1466
|
@license MIT
|
|
1435
1467
|
*/
|
|
1436
|
-
var
|
|
1468
|
+
var ht, Qt;
|
|
1437
1469
|
function qi() {
|
|
1438
|
-
if (
|
|
1439
|
-
|
|
1470
|
+
if (Qt) return ht;
|
|
1471
|
+
Qt = 1;
|
|
1440
1472
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
1441
1473
|
function n(i) {
|
|
1442
1474
|
if (i == null)
|
|
@@ -1452,52 +1484,52 @@ function qi() {
|
|
|
1452
1484
|
return !1;
|
|
1453
1485
|
for (var r = {}, s = 0; s < 10; s++)
|
|
1454
1486
|
r["_" + String.fromCharCode(s)] = s;
|
|
1455
|
-
var
|
|
1487
|
+
var p = Object.getOwnPropertyNames(r).map(function(d) {
|
|
1456
1488
|
return r[d];
|
|
1457
1489
|
});
|
|
1458
|
-
if (
|
|
1490
|
+
if (p.join("") !== "0123456789")
|
|
1459
1491
|
return !1;
|
|
1460
|
-
var
|
|
1492
|
+
var l = {};
|
|
1461
1493
|
return "abcdefghijklmnopqrst".split("").forEach(function(d) {
|
|
1462
|
-
|
|
1463
|
-
}), Object.keys(Object.assign({},
|
|
1494
|
+
l[d] = d;
|
|
1495
|
+
}), Object.keys(Object.assign({}, l)).join("") === "abcdefghijklmnopqrst";
|
|
1464
1496
|
} catch {
|
|
1465
1497
|
return !1;
|
|
1466
1498
|
}
|
|
1467
1499
|
}
|
|
1468
|
-
return
|
|
1469
|
-
for (var s,
|
|
1500
|
+
return ht = a() ? Object.assign : function(i, r) {
|
|
1501
|
+
for (var s, p = n(i), l, d = 1; d < arguments.length; d++) {
|
|
1470
1502
|
s = Object(arguments[d]);
|
|
1471
1503
|
for (var u in s)
|
|
1472
|
-
t.call(s, u) && (
|
|
1504
|
+
t.call(s, u) && (p[u] = s[u]);
|
|
1473
1505
|
if (e) {
|
|
1474
|
-
|
|
1475
|
-
for (var g = 0; g <
|
|
1476
|
-
o.call(s,
|
|
1506
|
+
l = e(s);
|
|
1507
|
+
for (var g = 0; g < l.length; g++)
|
|
1508
|
+
o.call(s, l[g]) && (p[l[g]] = s[l[g]]);
|
|
1477
1509
|
}
|
|
1478
1510
|
}
|
|
1479
|
-
return
|
|
1480
|
-
},
|
|
1511
|
+
return p;
|
|
1512
|
+
}, ht;
|
|
1481
1513
|
}
|
|
1482
|
-
var
|
|
1483
|
-
function
|
|
1484
|
-
if (
|
|
1485
|
-
|
|
1514
|
+
var bt, Jt;
|
|
1515
|
+
function Ot() {
|
|
1516
|
+
if (Jt) return bt;
|
|
1517
|
+
Jt = 1;
|
|
1486
1518
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
1487
|
-
return
|
|
1519
|
+
return bt = e, bt;
|
|
1488
1520
|
}
|
|
1489
|
-
var
|
|
1490
|
-
function
|
|
1491
|
-
return
|
|
1521
|
+
var yt, eo;
|
|
1522
|
+
function So() {
|
|
1523
|
+
return eo || (eo = 1, yt = Function.call.bind(Object.prototype.hasOwnProperty)), yt;
|
|
1492
1524
|
}
|
|
1493
|
-
var
|
|
1525
|
+
var wt, to;
|
|
1494
1526
|
function $i() {
|
|
1495
|
-
if (
|
|
1496
|
-
|
|
1527
|
+
if (to) return wt;
|
|
1528
|
+
to = 1;
|
|
1497
1529
|
var e = function() {
|
|
1498
1530
|
};
|
|
1499
1531
|
if (process.env.NODE_ENV !== "production") {
|
|
1500
|
-
var t =
|
|
1532
|
+
var t = Ot(), o = {}, n = So();
|
|
1501
1533
|
e = function(i) {
|
|
1502
1534
|
var r = "Warning: " + i;
|
|
1503
1535
|
typeof console < "u" && console.error(r);
|
|
@@ -1507,7 +1539,7 @@ function $i() {
|
|
|
1507
1539
|
}
|
|
1508
1540
|
};
|
|
1509
1541
|
}
|
|
1510
|
-
function a(i, r, s,
|
|
1542
|
+
function a(i, r, s, p, l) {
|
|
1511
1543
|
if (process.env.NODE_ENV !== "production") {
|
|
1512
1544
|
for (var d in i)
|
|
1513
1545
|
if (n(i, d)) {
|
|
@@ -1515,19 +1547,19 @@ function $i() {
|
|
|
1515
1547
|
try {
|
|
1516
1548
|
if (typeof i[d] != "function") {
|
|
1517
1549
|
var g = Error(
|
|
1518
|
-
(
|
|
1550
|
+
(p || "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`."
|
|
1519
1551
|
);
|
|
1520
1552
|
throw g.name = "Invariant Violation", g;
|
|
1521
1553
|
}
|
|
1522
|
-
u = i[d](r, d,
|
|
1554
|
+
u = i[d](r, d, p, s, null, t);
|
|
1523
1555
|
} catch (x) {
|
|
1524
1556
|
u = x;
|
|
1525
1557
|
}
|
|
1526
1558
|
if (u && !(u instanceof Error) && e(
|
|
1527
|
-
(
|
|
1559
|
+
(p || "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)."
|
|
1528
1560
|
), u instanceof Error && !(u.message in o)) {
|
|
1529
1561
|
o[u.message] = !0;
|
|
1530
|
-
var h =
|
|
1562
|
+
var h = l ? l() : "";
|
|
1531
1563
|
e(
|
|
1532
1564
|
"Failed " + s + " type: " + u.message + (h ?? "")
|
|
1533
1565
|
);
|
|
@@ -1537,256 +1569,256 @@ function $i() {
|
|
|
1537
1569
|
}
|
|
1538
1570
|
return a.resetWarningCache = function() {
|
|
1539
1571
|
process.env.NODE_ENV !== "production" && (o = {});
|
|
1540
|
-
},
|
|
1572
|
+
}, wt = a, wt;
|
|
1541
1573
|
}
|
|
1542
|
-
var
|
|
1574
|
+
var Ct, oo;
|
|
1543
1575
|
function Hi() {
|
|
1544
|
-
if (
|
|
1545
|
-
|
|
1546
|
-
var e =
|
|
1576
|
+
if (oo) return Ct;
|
|
1577
|
+
oo = 1;
|
|
1578
|
+
var e = Io(), t = qi(), o = Ot(), n = So(), a = $i(), i = function() {
|
|
1547
1579
|
};
|
|
1548
1580
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1549
|
-
var
|
|
1550
|
-
typeof console < "u" && console.error(
|
|
1581
|
+
var p = "Warning: " + s;
|
|
1582
|
+
typeof console < "u" && console.error(p);
|
|
1551
1583
|
try {
|
|
1552
|
-
throw new Error(
|
|
1584
|
+
throw new Error(p);
|
|
1553
1585
|
} catch {
|
|
1554
1586
|
}
|
|
1555
1587
|
});
|
|
1556
1588
|
function r() {
|
|
1557
1589
|
return null;
|
|
1558
1590
|
}
|
|
1559
|
-
return
|
|
1560
|
-
var
|
|
1591
|
+
return Ct = function(s, p) {
|
|
1592
|
+
var l = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
|
|
1561
1593
|
function u(_) {
|
|
1562
|
-
var v = _ && (
|
|
1594
|
+
var v = _ && (l && _[l] || _[d]);
|
|
1563
1595
|
if (typeof v == "function")
|
|
1564
1596
|
return v;
|
|
1565
1597
|
}
|
|
1566
1598
|
var g = "<<anonymous>>", h = {
|
|
1567
|
-
array:
|
|
1568
|
-
bigint:
|
|
1569
|
-
bool:
|
|
1570
|
-
func:
|
|
1571
|
-
number:
|
|
1572
|
-
object:
|
|
1573
|
-
string:
|
|
1574
|
-
symbol:
|
|
1575
|
-
any:
|
|
1576
|
-
arrayOf:
|
|
1577
|
-
element:
|
|
1599
|
+
array: R("array"),
|
|
1600
|
+
bigint: R("bigint"),
|
|
1601
|
+
bool: R("boolean"),
|
|
1602
|
+
func: R("function"),
|
|
1603
|
+
number: R("number"),
|
|
1604
|
+
object: R("object"),
|
|
1605
|
+
string: R("string"),
|
|
1606
|
+
symbol: R("symbol"),
|
|
1607
|
+
any: W(),
|
|
1608
|
+
arrayOf: A,
|
|
1609
|
+
element: w(),
|
|
1578
1610
|
elementType: m(),
|
|
1579
1611
|
instanceOf: N,
|
|
1580
1612
|
node: ne(),
|
|
1581
1613
|
objectOf: G,
|
|
1582
|
-
oneOf:
|
|
1614
|
+
oneOf: z,
|
|
1583
1615
|
oneOfType: J,
|
|
1584
|
-
shape:
|
|
1585
|
-
exact:
|
|
1616
|
+
shape: ue,
|
|
1617
|
+
exact: le
|
|
1586
1618
|
};
|
|
1587
1619
|
function x(_, v) {
|
|
1588
1620
|
return _ === v ? _ !== 0 || 1 / _ === 1 / v : _ !== _ && v !== v;
|
|
1589
1621
|
}
|
|
1590
|
-
function
|
|
1622
|
+
function b(_, v) {
|
|
1591
1623
|
this.message = _, this.data = v && typeof v == "object" ? v : {}, this.stack = "";
|
|
1592
1624
|
}
|
|
1593
|
-
|
|
1594
|
-
function
|
|
1625
|
+
b.prototype = Error.prototype;
|
|
1626
|
+
function S(_) {
|
|
1595
1627
|
if (process.env.NODE_ENV !== "production")
|
|
1596
|
-
var v = {},
|
|
1597
|
-
function
|
|
1598
|
-
if (H = H || g, $ = $ ||
|
|
1599
|
-
if (
|
|
1600
|
-
var
|
|
1628
|
+
var v = {}, L = 0;
|
|
1629
|
+
function F(P, B, U, H, K, $, ie) {
|
|
1630
|
+
if (H = H || g, $ = $ || U, ie !== o) {
|
|
1631
|
+
if (p) {
|
|
1632
|
+
var y = new Error(
|
|
1601
1633
|
"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"
|
|
1602
1634
|
);
|
|
1603
|
-
throw
|
|
1635
|
+
throw y.name = "Invariant Violation", y;
|
|
1604
1636
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1605
|
-
var he = H + ":" +
|
|
1637
|
+
var he = H + ":" + U;
|
|
1606
1638
|
!v[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1607
|
-
|
|
1639
|
+
L < 3 && (i(
|
|
1608
1640
|
"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."
|
|
1609
|
-
), v[he] = !0,
|
|
1641
|
+
), v[he] = !0, L++);
|
|
1610
1642
|
}
|
|
1611
1643
|
}
|
|
1612
|
-
return B[
|
|
1644
|
+
return B[U] == null ? P ? B[U] === null ? new b("The " + K + " `" + $ + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new b("The " + K + " `" + $ + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : _(B, U, H, K, $);
|
|
1613
1645
|
}
|
|
1614
|
-
var I =
|
|
1615
|
-
return I.isRequired =
|
|
1646
|
+
var I = F.bind(null, !1);
|
|
1647
|
+
return I.isRequired = F.bind(null, !0), I;
|
|
1616
1648
|
}
|
|
1617
|
-
function
|
|
1618
|
-
function v(
|
|
1619
|
-
var H =
|
|
1649
|
+
function R(_) {
|
|
1650
|
+
function v(L, F, I, P, B, U) {
|
|
1651
|
+
var H = L[F], K = M(H);
|
|
1620
1652
|
if (K !== _) {
|
|
1621
1653
|
var $ = q(H);
|
|
1622
|
-
return new
|
|
1654
|
+
return new b(
|
|
1623
1655
|
"Invalid " + P + " `" + B + "` of type " + ("`" + $ + "` supplied to `" + I + "`, expected ") + ("`" + _ + "`."),
|
|
1624
1656
|
{ expectedType: _ }
|
|
1625
1657
|
);
|
|
1626
1658
|
}
|
|
1627
1659
|
return null;
|
|
1628
1660
|
}
|
|
1629
|
-
return
|
|
1661
|
+
return S(v);
|
|
1630
1662
|
}
|
|
1631
|
-
function
|
|
1632
|
-
return
|
|
1663
|
+
function W() {
|
|
1664
|
+
return S(r);
|
|
1633
1665
|
}
|
|
1634
|
-
function
|
|
1635
|
-
function v(
|
|
1666
|
+
function A(_) {
|
|
1667
|
+
function v(L, F, I, P, B) {
|
|
1636
1668
|
if (typeof _ != "function")
|
|
1637
|
-
return new
|
|
1638
|
-
var
|
|
1639
|
-
if (!Array.isArray(
|
|
1640
|
-
var H = M(
|
|
1641
|
-
return new
|
|
1669
|
+
return new b("Property `" + B + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
|
|
1670
|
+
var U = L[F];
|
|
1671
|
+
if (!Array.isArray(U)) {
|
|
1672
|
+
var H = M(U);
|
|
1673
|
+
return new b("Invalid " + P + " `" + B + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected an array."));
|
|
1642
1674
|
}
|
|
1643
|
-
for (var K = 0; K <
|
|
1644
|
-
var $ = _(
|
|
1675
|
+
for (var K = 0; K < U.length; K++) {
|
|
1676
|
+
var $ = _(U, K, I, P, B + "[" + K + "]", o);
|
|
1645
1677
|
if ($ instanceof Error)
|
|
1646
1678
|
return $;
|
|
1647
1679
|
}
|
|
1648
1680
|
return null;
|
|
1649
1681
|
}
|
|
1650
|
-
return
|
|
1682
|
+
return S(v);
|
|
1651
1683
|
}
|
|
1652
|
-
function
|
|
1653
|
-
function _(v,
|
|
1654
|
-
var B = v[
|
|
1684
|
+
function w() {
|
|
1685
|
+
function _(v, L, F, I, P) {
|
|
1686
|
+
var B = v[L];
|
|
1655
1687
|
if (!s(B)) {
|
|
1656
|
-
var
|
|
1657
|
-
return new
|
|
1688
|
+
var U = M(B);
|
|
1689
|
+
return new b("Invalid " + I + " `" + P + "` of type " + ("`" + U + "` supplied to `" + F + "`, expected a single ReactElement."));
|
|
1658
1690
|
}
|
|
1659
1691
|
return null;
|
|
1660
1692
|
}
|
|
1661
|
-
return
|
|
1693
|
+
return S(_);
|
|
1662
1694
|
}
|
|
1663
1695
|
function m() {
|
|
1664
|
-
function _(v,
|
|
1665
|
-
var B = v[
|
|
1696
|
+
function _(v, L, F, I, P) {
|
|
1697
|
+
var B = v[L];
|
|
1666
1698
|
if (!e.isValidElementType(B)) {
|
|
1667
|
-
var
|
|
1668
|
-
return new
|
|
1699
|
+
var U = M(B);
|
|
1700
|
+
return new b("Invalid " + I + " `" + P + "` of type " + ("`" + U + "` supplied to `" + F + "`, expected a single ReactElement type."));
|
|
1669
1701
|
}
|
|
1670
1702
|
return null;
|
|
1671
1703
|
}
|
|
1672
|
-
return
|
|
1704
|
+
return S(_);
|
|
1673
1705
|
}
|
|
1674
1706
|
function N(_) {
|
|
1675
|
-
function v(
|
|
1676
|
-
if (!(
|
|
1677
|
-
var
|
|
1678
|
-
return new
|
|
1707
|
+
function v(L, F, I, P, B) {
|
|
1708
|
+
if (!(L[F] instanceof _)) {
|
|
1709
|
+
var U = _.name || g, H = ee(L[F]);
|
|
1710
|
+
return new b("Invalid " + P + " `" + B + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected ") + ("instance of `" + U + "`."));
|
|
1679
1711
|
}
|
|
1680
1712
|
return null;
|
|
1681
1713
|
}
|
|
1682
|
-
return
|
|
1714
|
+
return S(v);
|
|
1683
1715
|
}
|
|
1684
|
-
function
|
|
1716
|
+
function z(_) {
|
|
1685
1717
|
if (!Array.isArray(_))
|
|
1686
1718
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1687
1719
|
"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])."
|
|
1688
1720
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1689
|
-
function v(
|
|
1690
|
-
for (var
|
|
1691
|
-
if (x(
|
|
1721
|
+
function v(L, F, I, P, B) {
|
|
1722
|
+
for (var U = L[F], H = 0; H < _.length; H++)
|
|
1723
|
+
if (x(U, _[H]))
|
|
1692
1724
|
return null;
|
|
1693
|
-
var K = JSON.stringify(_, function(ie,
|
|
1694
|
-
var he = q(
|
|
1695
|
-
return he === "symbol" ? String(
|
|
1725
|
+
var K = JSON.stringify(_, function(ie, y) {
|
|
1726
|
+
var he = q(y);
|
|
1727
|
+
return he === "symbol" ? String(y) : y;
|
|
1696
1728
|
});
|
|
1697
|
-
return new
|
|
1729
|
+
return new b("Invalid " + P + " `" + B + "` of value `" + String(U) + "` " + ("supplied to `" + I + "`, expected one of " + K + "."));
|
|
1698
1730
|
}
|
|
1699
|
-
return
|
|
1731
|
+
return S(v);
|
|
1700
1732
|
}
|
|
1701
1733
|
function G(_) {
|
|
1702
|
-
function v(
|
|
1734
|
+
function v(L, F, I, P, B) {
|
|
1703
1735
|
if (typeof _ != "function")
|
|
1704
|
-
return new
|
|
1705
|
-
var
|
|
1736
|
+
return new b("Property `" + B + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
|
|
1737
|
+
var U = L[F], H = M(U);
|
|
1706
1738
|
if (H !== "object")
|
|
1707
|
-
return new
|
|
1708
|
-
for (var K in
|
|
1709
|
-
if (n(
|
|
1710
|
-
var $ = _(
|
|
1739
|
+
return new b("Invalid " + P + " `" + B + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected an object."));
|
|
1740
|
+
for (var K in U)
|
|
1741
|
+
if (n(U, K)) {
|
|
1742
|
+
var $ = _(U, K, I, P, B + "." + K, o);
|
|
1711
1743
|
if ($ instanceof Error)
|
|
1712
1744
|
return $;
|
|
1713
1745
|
}
|
|
1714
1746
|
return null;
|
|
1715
1747
|
}
|
|
1716
|
-
return
|
|
1748
|
+
return S(v);
|
|
1717
1749
|
}
|
|
1718
1750
|
function J(_) {
|
|
1719
1751
|
if (!Array.isArray(_))
|
|
1720
1752
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1721
1753
|
for (var v = 0; v < _.length; v++) {
|
|
1722
|
-
var
|
|
1723
|
-
if (typeof
|
|
1754
|
+
var L = _[v];
|
|
1755
|
+
if (typeof L != "function")
|
|
1724
1756
|
return i(
|
|
1725
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1757
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Y(L) + " at index " + v + "."
|
|
1726
1758
|
), r;
|
|
1727
1759
|
}
|
|
1728
|
-
function
|
|
1760
|
+
function F(I, P, B, U, H) {
|
|
1729
1761
|
for (var K = [], $ = 0; $ < _.length; $++) {
|
|
1730
|
-
var ie = _[$],
|
|
1731
|
-
if (
|
|
1762
|
+
var ie = _[$], y = ie(I, P, B, U, H, o);
|
|
1763
|
+
if (y == null)
|
|
1732
1764
|
return null;
|
|
1733
|
-
|
|
1765
|
+
y.data && n(y.data, "expectedType") && K.push(y.data.expectedType);
|
|
1734
1766
|
}
|
|
1735
1767
|
var he = K.length > 0 ? ", expected one of type [" + K.join(", ") + "]" : "";
|
|
1736
|
-
return new
|
|
1768
|
+
return new b("Invalid " + U + " `" + H + "` supplied to " + ("`" + B + "`" + he + "."));
|
|
1737
1769
|
}
|
|
1738
|
-
return
|
|
1770
|
+
return S(F);
|
|
1739
1771
|
}
|
|
1740
1772
|
function ne() {
|
|
1741
|
-
function _(v,
|
|
1742
|
-
return X(v[
|
|
1773
|
+
function _(v, L, F, I, P) {
|
|
1774
|
+
return X(v[L]) ? null : new b("Invalid " + I + " `" + P + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
|
|
1743
1775
|
}
|
|
1744
|
-
return
|
|
1776
|
+
return S(_);
|
|
1745
1777
|
}
|
|
1746
|
-
function
|
|
1747
|
-
return new
|
|
1748
|
-
(_ || "React class") + ": " + v + " type `" +
|
|
1778
|
+
function me(_, v, L, F, I) {
|
|
1779
|
+
return new b(
|
|
1780
|
+
(_ || "React class") + ": " + v + " type `" + L + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
|
|
1749
1781
|
);
|
|
1750
1782
|
}
|
|
1751
|
-
function
|
|
1752
|
-
function v(
|
|
1753
|
-
var
|
|
1783
|
+
function ue(_) {
|
|
1784
|
+
function v(L, F, I, P, B) {
|
|
1785
|
+
var U = L[F], H = M(U);
|
|
1754
1786
|
if (H !== "object")
|
|
1755
|
-
return new
|
|
1787
|
+
return new b("Invalid " + P + " `" + B + "` of type `" + H + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1756
1788
|
for (var K in _) {
|
|
1757
1789
|
var $ = _[K];
|
|
1758
1790
|
if (typeof $ != "function")
|
|
1759
|
-
return
|
|
1760
|
-
var ie = $(
|
|
1791
|
+
return me(I, P, B, K, q($));
|
|
1792
|
+
var ie = $(U, K, I, P, B + "." + K, o);
|
|
1761
1793
|
if (ie)
|
|
1762
1794
|
return ie;
|
|
1763
1795
|
}
|
|
1764
1796
|
return null;
|
|
1765
1797
|
}
|
|
1766
|
-
return
|
|
1798
|
+
return S(v);
|
|
1767
1799
|
}
|
|
1768
|
-
function
|
|
1769
|
-
function v(
|
|
1770
|
-
var
|
|
1800
|
+
function le(_) {
|
|
1801
|
+
function v(L, F, I, P, B) {
|
|
1802
|
+
var U = L[F], H = M(U);
|
|
1771
1803
|
if (H !== "object")
|
|
1772
|
-
return new
|
|
1773
|
-
var K = t({},
|
|
1804
|
+
return new b("Invalid " + P + " `" + B + "` of type `" + H + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1805
|
+
var K = t({}, L[F], _);
|
|
1774
1806
|
for (var $ in K) {
|
|
1775
1807
|
var ie = _[$];
|
|
1776
1808
|
if (n(_, $) && typeof ie != "function")
|
|
1777
|
-
return
|
|
1809
|
+
return me(I, P, B, $, q(ie));
|
|
1778
1810
|
if (!ie)
|
|
1779
|
-
return new
|
|
1780
|
-
"Invalid " + P + " `" + B + "` key `" + $ + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(
|
|
1811
|
+
return new b(
|
|
1812
|
+
"Invalid " + P + " `" + B + "` key `" + $ + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(L[F], null, " ") + `
|
|
1781
1813
|
Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
1782
1814
|
);
|
|
1783
|
-
var
|
|
1784
|
-
if (
|
|
1785
|
-
return
|
|
1815
|
+
var y = ie(U, $, I, P, B + "." + $, o);
|
|
1816
|
+
if (y)
|
|
1817
|
+
return y;
|
|
1786
1818
|
}
|
|
1787
1819
|
return null;
|
|
1788
1820
|
}
|
|
1789
|
-
return
|
|
1821
|
+
return S(v);
|
|
1790
1822
|
}
|
|
1791
1823
|
function X(_) {
|
|
1792
1824
|
switch (typeof _) {
|
|
@@ -1803,14 +1835,14 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1803
1835
|
return !0;
|
|
1804
1836
|
var v = u(_);
|
|
1805
1837
|
if (v) {
|
|
1806
|
-
var
|
|
1838
|
+
var L = v.call(_), F;
|
|
1807
1839
|
if (v !== _.entries) {
|
|
1808
|
-
for (; !(
|
|
1809
|
-
if (!X(
|
|
1840
|
+
for (; !(F = L.next()).done; )
|
|
1841
|
+
if (!X(F.value))
|
|
1810
1842
|
return !1;
|
|
1811
1843
|
} else
|
|
1812
|
-
for (; !(
|
|
1813
|
-
var I =
|
|
1844
|
+
for (; !(F = L.next()).done; ) {
|
|
1845
|
+
var I = F.value;
|
|
1814
1846
|
if (I && !X(I[1]))
|
|
1815
1847
|
return !1;
|
|
1816
1848
|
}
|
|
@@ -1840,7 +1872,7 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1840
1872
|
}
|
|
1841
1873
|
return v;
|
|
1842
1874
|
}
|
|
1843
|
-
function
|
|
1875
|
+
function Y(_) {
|
|
1844
1876
|
var v = q(_);
|
|
1845
1877
|
switch (v) {
|
|
1846
1878
|
case "array":
|
|
@@ -1854,23 +1886,23 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1854
1886
|
return v;
|
|
1855
1887
|
}
|
|
1856
1888
|
}
|
|
1857
|
-
function
|
|
1889
|
+
function ee(_) {
|
|
1858
1890
|
return !_.constructor || !_.constructor.name ? g : _.constructor.name;
|
|
1859
1891
|
}
|
|
1860
1892
|
return h.checkPropTypes = a, h.resetWarningCache = a.resetWarningCache, h.PropTypes = h, h;
|
|
1861
|
-
},
|
|
1893
|
+
}, Ct;
|
|
1862
1894
|
}
|
|
1863
|
-
var
|
|
1895
|
+
var kt, no;
|
|
1864
1896
|
function Vi() {
|
|
1865
|
-
if (
|
|
1866
|
-
|
|
1867
|
-
var e =
|
|
1897
|
+
if (no) return kt;
|
|
1898
|
+
no = 1;
|
|
1899
|
+
var e = Ot();
|
|
1868
1900
|
function t() {
|
|
1869
1901
|
}
|
|
1870
1902
|
function o() {
|
|
1871
1903
|
}
|
|
1872
|
-
return o.resetWarningCache = t,
|
|
1873
|
-
function n(r, s,
|
|
1904
|
+
return o.resetWarningCache = t, kt = function() {
|
|
1905
|
+
function n(r, s, p, l, d, u) {
|
|
1874
1906
|
if (u !== e) {
|
|
1875
1907
|
var g = new Error(
|
|
1876
1908
|
"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"
|
|
@@ -1906,15 +1938,15 @@ function Vi() {
|
|
|
1906
1938
|
resetWarningCache: t
|
|
1907
1939
|
};
|
|
1908
1940
|
return i.PropTypes = i, i;
|
|
1909
|
-
},
|
|
1941
|
+
}, kt;
|
|
1910
1942
|
}
|
|
1911
1943
|
if (process.env.NODE_ENV !== "production") {
|
|
1912
|
-
var Yi =
|
|
1913
|
-
|
|
1944
|
+
var Yi = Io(), Gi = !0;
|
|
1945
|
+
Lt.exports = Hi()(Yi.isElement, Gi);
|
|
1914
1946
|
} else
|
|
1915
|
-
|
|
1916
|
-
var Ki =
|
|
1917
|
-
const E = /* @__PURE__ */
|
|
1947
|
+
Lt.exports = Vi()();
|
|
1948
|
+
var Ki = Lt.exports;
|
|
1949
|
+
const E = /* @__PURE__ */ To(Ki), fe = E.oneOfType([E.string, E.number]), Lo = {
|
|
1918
1950
|
all: E.bool,
|
|
1919
1951
|
grid: E.bool,
|
|
1920
1952
|
aural: E.bool,
|
|
@@ -1931,43 +1963,43 @@ const E = /* @__PURE__ */ No(Ki), ve = E.oneOfType([E.string, E.number]), Ro = {
|
|
|
1931
1963
|
scan: E.oneOf(["progressive", "interlace"]),
|
|
1932
1964
|
aspectRatio: E.string,
|
|
1933
1965
|
deviceAspectRatio: E.string,
|
|
1934
|
-
height:
|
|
1935
|
-
deviceHeight:
|
|
1936
|
-
width:
|
|
1937
|
-
deviceWidth:
|
|
1966
|
+
height: fe,
|
|
1967
|
+
deviceHeight: fe,
|
|
1968
|
+
width: fe,
|
|
1969
|
+
deviceWidth: fe,
|
|
1938
1970
|
color: E.bool,
|
|
1939
1971
|
colorIndex: E.bool,
|
|
1940
1972
|
monochrome: E.bool,
|
|
1941
|
-
resolution:
|
|
1942
|
-
type: Object.keys(
|
|
1943
|
-
}, { type:
|
|
1973
|
+
resolution: fe,
|
|
1974
|
+
type: Object.keys(Lo)
|
|
1975
|
+
}, { type: Kp, ...Zi } = Xi, Qi = {
|
|
1944
1976
|
minAspectRatio: E.string,
|
|
1945
1977
|
maxAspectRatio: E.string,
|
|
1946
1978
|
minDeviceAspectRatio: E.string,
|
|
1947
1979
|
maxDeviceAspectRatio: E.string,
|
|
1948
|
-
minHeight:
|
|
1949
|
-
maxHeight:
|
|
1950
|
-
minDeviceHeight:
|
|
1951
|
-
maxDeviceHeight:
|
|
1952
|
-
minWidth:
|
|
1953
|
-
maxWidth:
|
|
1954
|
-
minDeviceWidth:
|
|
1955
|
-
maxDeviceWidth:
|
|
1980
|
+
minHeight: fe,
|
|
1981
|
+
maxHeight: fe,
|
|
1982
|
+
minDeviceHeight: fe,
|
|
1983
|
+
maxDeviceHeight: fe,
|
|
1984
|
+
minWidth: fe,
|
|
1985
|
+
maxWidth: fe,
|
|
1986
|
+
minDeviceWidth: fe,
|
|
1987
|
+
maxDeviceWidth: fe,
|
|
1956
1988
|
minColor: E.number,
|
|
1957
1989
|
maxColor: E.number,
|
|
1958
1990
|
minColorIndex: E.number,
|
|
1959
1991
|
maxColorIndex: E.number,
|
|
1960
1992
|
minMonochrome: E.number,
|
|
1961
1993
|
maxMonochrome: E.number,
|
|
1962
|
-
minResolution:
|
|
1963
|
-
maxResolution:
|
|
1994
|
+
minResolution: fe,
|
|
1995
|
+
maxResolution: fe,
|
|
1964
1996
|
...Zi
|
|
1965
|
-
}, Ji = { ...
|
|
1997
|
+
}, Ji = { ...Lo, ...Qi };
|
|
1966
1998
|
var er = {
|
|
1967
1999
|
all: Ji
|
|
1968
2000
|
};
|
|
1969
2001
|
const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
1970
|
-
const o =
|
|
2002
|
+
const o = Eo(e);
|
|
1971
2003
|
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ? tr(o) : `(${o}: ${t})`;
|
|
1972
2004
|
}, nr = (e) => e.join(" and "), ar = (e) => {
|
|
1973
2005
|
const t = [];
|
|
@@ -1975,25 +2007,25 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
1975
2007
|
const n = e[o];
|
|
1976
2008
|
n != null && t.push(or(o, n));
|
|
1977
2009
|
}), nr(t);
|
|
1978
|
-
}, ir =
|
|
1979
|
-
const e =
|
|
2010
|
+
}, ir = xo(void 0), rr = (e) => e.query || ar(e), ao = (e) => e ? Object.keys(e).reduce((o, n) => (o[Eo(n)] = e[n], o), {}) : void 0, Ro = () => {
|
|
2011
|
+
const e = ve(!1);
|
|
1980
2012
|
return re(() => {
|
|
1981
2013
|
e.current = !0;
|
|
1982
2014
|
}, []), e.current;
|
|
1983
2015
|
}, sr = (e) => {
|
|
1984
|
-
const t = Zo(ir), o = () =>
|
|
2016
|
+
const t = Zo(ir), o = () => ao(e) || ao(t), [n, a] = oe(o);
|
|
1985
2017
|
return re(() => {
|
|
1986
2018
|
const i = o();
|
|
1987
|
-
|
|
2019
|
+
Wi(n, i) || a(i);
|
|
1988
2020
|
}, [e, t]), n;
|
|
1989
|
-
},
|
|
1990
|
-
const t = () => rr(e), [o, n] =
|
|
2021
|
+
}, pr = (e) => {
|
|
2022
|
+
const t = () => rr(e), [o, n] = oe(t);
|
|
1991
2023
|
return re(() => {
|
|
1992
2024
|
const a = t();
|
|
1993
2025
|
o !== a && n(a);
|
|
1994
2026
|
}, [e]), o;
|
|
1995
|
-
},
|
|
1996
|
-
const o = () => Di(e, t || {}, !!t), [n, a] =
|
|
2027
|
+
}, lr = (e, t) => {
|
|
2028
|
+
const o = () => Di(e, t || {}, !!t), [n, a] = oe(o), i = Ro();
|
|
1997
2029
|
return re(() => {
|
|
1998
2030
|
if (i) {
|
|
1999
2031
|
const r = o();
|
|
@@ -2003,7 +2035,7 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2003
2035
|
}
|
|
2004
2036
|
}, [e, t]), n;
|
|
2005
2037
|
}, cr = (e) => {
|
|
2006
|
-
const [t, o] =
|
|
2038
|
+
const [t, o] = oe(e.matches);
|
|
2007
2039
|
return re(() => {
|
|
2008
2040
|
const n = (a) => {
|
|
2009
2041
|
o(a.matches);
|
|
@@ -2012,17 +2044,17 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2012
2044
|
e.removeListener(n);
|
|
2013
2045
|
};
|
|
2014
2046
|
}, [e]), t;
|
|
2015
|
-
},
|
|
2016
|
-
const n = sr(t), a =
|
|
2047
|
+
}, Tt = (e, t, o) => {
|
|
2048
|
+
const n = sr(t), a = pr(e);
|
|
2017
2049
|
if (!a)
|
|
2018
2050
|
throw new Error("Invalid or missing MediaQuery!");
|
|
2019
|
-
const i =
|
|
2020
|
-
return
|
|
2051
|
+
const i = lr(a, n), r = cr(i);
|
|
2052
|
+
return Ro(), re(() => {
|
|
2021
2053
|
}, [r]), re(() => () => {
|
|
2022
2054
|
i && i.dispose();
|
|
2023
2055
|
}, []), r;
|
|
2024
2056
|
}, dr = (e) => {
|
|
2025
|
-
const { desktop: t, tablet: o, mobile: n } = e, a =
|
|
2057
|
+
const { desktop: t, tablet: o, mobile: n } = e, a = Tt(t), i = Tt(o), r = Tt(n);
|
|
2026
2058
|
return {
|
|
2027
2059
|
device: {
|
|
2028
2060
|
isDesktop: a,
|
|
@@ -2030,7 +2062,7 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2030
2062
|
isMobile: r
|
|
2031
2063
|
}
|
|
2032
2064
|
};
|
|
2033
|
-
},
|
|
2065
|
+
}, Xp = (e) => {
|
|
2034
2066
|
const {
|
|
2035
2067
|
breakpoints: t = {
|
|
2036
2068
|
desktop: { minWidth: 1440 },
|
|
@@ -2049,18 +2081,18 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2049
2081
|
}
|
|
2050
2082
|
);
|
|
2051
2083
|
}, mr = 2e3, ur = (e) => {
|
|
2052
|
-
const { targetValue: t, duration: o = mr, doneValue: n, onSuccessLoaded: a } = e, [i, r] =
|
|
2084
|
+
const { targetValue: t, duration: o = mr, doneValue: n, onSuccessLoaded: a } = e, [i, r] = oe(t), s = ve(), p = ve(0), l = ve(), d = ve(t), [u, g] = oe(!1), h = ve();
|
|
2053
2085
|
return re(() => {
|
|
2054
|
-
if (d.current = t, t ===
|
|
2086
|
+
if (d.current = t, t === p.current) return;
|
|
2055
2087
|
if (s.current && cancelAnimationFrame(s.current), t === n && !u) {
|
|
2056
|
-
r(n),
|
|
2088
|
+
r(n), p.current = n;
|
|
2057
2089
|
return;
|
|
2058
2090
|
}
|
|
2059
|
-
|
|
2060
|
-
const x = (
|
|
2061
|
-
if (!
|
|
2062
|
-
const
|
|
2063
|
-
r(
|
|
2091
|
+
p.current = i, l.current = performance.now();
|
|
2092
|
+
const x = (b) => {
|
|
2093
|
+
if (!l.current) return;
|
|
2094
|
+
const S = b - l.current, R = Math.min(S / o, 1), W = R < 0.5 ? 4 * R * R * R : 1 - Math.pow(-2 * R + 2, 3) / 2, A = p.current + (d.current - p.current) * W, w = Math.max(0, Math.floor(A));
|
|
2095
|
+
r(w), R < 1 && (s.current = requestAnimationFrame(x));
|
|
2064
2096
|
};
|
|
2065
2097
|
return s.current = requestAnimationFrame(x), () => {
|
|
2066
2098
|
s.current && cancelAnimationFrame(s.current);
|
|
@@ -2083,7 +2115,7 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2083
2115
|
"progressWrapper__childrenWrapper--animated-backgroundProgress": "_progressWrapper__childrenWrapper--animated-backgroundProgress_xn9s0_61",
|
|
2084
2116
|
progressWrapper__progressBadge: hr,
|
|
2085
2117
|
progressWrapper__progressBadge_loading: br
|
|
2086
|
-
},
|
|
2118
|
+
}, Zp = (e) => {
|
|
2087
2119
|
const {
|
|
2088
2120
|
value: t,
|
|
2089
2121
|
classNameRoot: o,
|
|
@@ -2092,12 +2124,12 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2092
2124
|
children: i,
|
|
2093
2125
|
doneValue: r = 100,
|
|
2094
2126
|
animationVariant: s = "backgroundProgress",
|
|
2095
|
-
onSuccessLoaded:
|
|
2096
|
-
} = e, { animatedValue:
|
|
2127
|
+
onSuccessLoaded: p
|
|
2128
|
+
} = e, { animatedValue: l, isLoading: d } = ur({
|
|
2097
2129
|
targetValue: t,
|
|
2098
2130
|
duration: a,
|
|
2099
2131
|
doneValue: r,
|
|
2100
|
-
onSuccessLoaded:
|
|
2132
|
+
onSuccessLoaded: p
|
|
2101
2133
|
}), u = f({
|
|
2102
2134
|
[Le.progressWrapper]: !0,
|
|
2103
2135
|
[Le.progressWrapper_loading]: d,
|
|
@@ -2111,9 +2143,9 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2111
2143
|
[Le[`progressWrapper__childrenWrapper--animated-${s}`]]: s,
|
|
2112
2144
|
[Le.progressWrapper__childrenWrapper_loading]: d
|
|
2113
2145
|
}), x = {
|
|
2114
|
-
"--progress": `${
|
|
2146
|
+
"--progress": `${l / r * 100}%`
|
|
2115
2147
|
};
|
|
2116
|
-
return /* @__PURE__ */
|
|
2148
|
+
return /* @__PURE__ */ O("div", { className: u, children: [
|
|
2117
2149
|
/* @__PURE__ */ c(
|
|
2118
2150
|
"div",
|
|
2119
2151
|
{
|
|
@@ -2122,12 +2154,12 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2122
2154
|
children: i
|
|
2123
2155
|
}
|
|
2124
2156
|
),
|
|
2125
|
-
d && /* @__PURE__ */
|
|
2126
|
-
|
|
2157
|
+
d && /* @__PURE__ */ O(Ne, { classNameRoot: g, children: [
|
|
2158
|
+
l,
|
|
2127
2159
|
"%"
|
|
2128
2160
|
] })
|
|
2129
2161
|
] });
|
|
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",
|
|
2162
|
+
}, 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", _e = {
|
|
2131
2163
|
spSelect: wr,
|
|
2132
2164
|
spSelect_error: Cr,
|
|
2133
2165
|
spSelect__control: kr,
|
|
@@ -2144,7 +2176,7 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2144
2176
|
spSelect__option: Br,
|
|
2145
2177
|
spSelect__error: Dr,
|
|
2146
2178
|
spSelect__error_absolutePosition: Mr
|
|
2147
|
-
},
|
|
2179
|
+
}, Qp = (e) => {
|
|
2148
2180
|
const {
|
|
2149
2181
|
options: t,
|
|
2150
2182
|
placeholder: o = "Выберите из списка...",
|
|
@@ -2153,82 +2185,82 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2153
2185
|
variant: i = "outlined",
|
|
2154
2186
|
onChange: r,
|
|
2155
2187
|
onMouseEnter: s,
|
|
2156
|
-
error:
|
|
2157
|
-
label:
|
|
2188
|
+
error: p,
|
|
2189
|
+
label: l,
|
|
2158
2190
|
infoTooltipText: d,
|
|
2159
2191
|
tooltipPosition: u,
|
|
2160
2192
|
disabled: g = !1,
|
|
2161
2193
|
required: h,
|
|
2162
2194
|
maxHeightList: x = yr,
|
|
2163
|
-
isVisibleDefaultTitle:
|
|
2164
|
-
isScrollableList:
|
|
2165
|
-
isAbsolutePositionError:
|
|
2166
|
-
classNameRoot:
|
|
2167
|
-
classNameError:
|
|
2168
|
-
classNameLabel:
|
|
2195
|
+
isVisibleDefaultTitle: b = !0,
|
|
2196
|
+
isScrollableList: S = !1,
|
|
2197
|
+
isAbsolutePositionError: R = !1,
|
|
2198
|
+
classNameRoot: W,
|
|
2199
|
+
classNameError: A,
|
|
2200
|
+
classNameLabel: w,
|
|
2169
2201
|
classNameBaseTooltipRoot: m
|
|
2170
|
-
} = e, [N,
|
|
2171
|
-
|
|
2202
|
+
} = e, [N, z] = oe(!1), G = ve(null);
|
|
2203
|
+
Co(
|
|
2172
2204
|
[G],
|
|
2173
2205
|
() => {
|
|
2174
|
-
|
|
2206
|
+
z(!1);
|
|
2175
2207
|
},
|
|
2176
2208
|
N
|
|
2177
2209
|
);
|
|
2178
|
-
const J = t.find((v) => v.value === n), ne = (v,
|
|
2179
|
-
r(v, { value:
|
|
2180
|
-
},
|
|
2181
|
-
g ||
|
|
2182
|
-
},
|
|
2183
|
-
[
|
|
2184
|
-
[
|
|
2185
|
-
[
|
|
2186
|
-
...
|
|
2187
|
-
}),
|
|
2188
|
-
[
|
|
2210
|
+
const J = t.find((v) => v.value === n), ne = (v, L) => {
|
|
2211
|
+
r(v, { value: L, name: a }), z(!1);
|
|
2212
|
+
}, me = () => {
|
|
2213
|
+
g || z(!N);
|
|
2214
|
+
}, ue = f({
|
|
2215
|
+
[_e.spSelect]: !0,
|
|
2216
|
+
[_e.spSelect_error]: !!p,
|
|
2217
|
+
[_e.spSelect_absolutePositionError]: R,
|
|
2218
|
+
...W && { [W]: !0 }
|
|
2219
|
+
}), le = f({
|
|
2220
|
+
[_e.spSelect__container]: !0
|
|
2189
2221
|
}), X = f({
|
|
2190
|
-
[
|
|
2191
|
-
[
|
|
2192
|
-
[
|
|
2222
|
+
[_e.spSelect__control]: !0,
|
|
2223
|
+
[_e[`spSelect__control_${i}`]]: i,
|
|
2224
|
+
[_e.spSelect__control_disabled]: g
|
|
2193
2225
|
}), T = f({
|
|
2194
|
-
[
|
|
2195
|
-
[
|
|
2226
|
+
[_e.spSelect__value]: !0,
|
|
2227
|
+
[_e.spSelect__value_empty]: !J
|
|
2196
2228
|
}), M = f({
|
|
2197
|
-
[
|
|
2229
|
+
[_e.spSelect__icon]: !0
|
|
2198
2230
|
}), q = f({
|
|
2199
|
-
[
|
|
2200
|
-
[
|
|
2201
|
-
}),
|
|
2202
|
-
...
|
|
2203
|
-
}),
|
|
2204
|
-
[
|
|
2205
|
-
[
|
|
2206
|
-
...
|
|
2231
|
+
[_e.spSelect__list]: !0,
|
|
2232
|
+
[_e.spSelect__list_scrollable]: S
|
|
2233
|
+
}), Y = f({
|
|
2234
|
+
...w && { [w]: !0 }
|
|
2235
|
+
}), ee = f({
|
|
2236
|
+
[_e.spSelect__error]: !0,
|
|
2237
|
+
[_e.spSelect__error_absolutePosition]: R,
|
|
2238
|
+
...A && { [A]: !0 }
|
|
2207
2239
|
});
|
|
2208
|
-
return /* @__PURE__ */
|
|
2209
|
-
|
|
2210
|
-
|
|
2240
|
+
return /* @__PURE__ */ O("div", { className: ue, ref: G, children: [
|
|
2241
|
+
l && /* @__PURE__ */ c(
|
|
2242
|
+
Mt,
|
|
2211
2243
|
{
|
|
2212
|
-
classNameRoot:
|
|
2244
|
+
classNameRoot: Y,
|
|
2213
2245
|
tooltipPosition: u,
|
|
2214
2246
|
required: h,
|
|
2215
|
-
label:
|
|
2247
|
+
label: l,
|
|
2216
2248
|
infoTooltipText: d,
|
|
2217
2249
|
classNameBaseTooltipRoot: m
|
|
2218
2250
|
}
|
|
2219
2251
|
),
|
|
2220
|
-
/* @__PURE__ */
|
|
2221
|
-
/* @__PURE__ */
|
|
2252
|
+
/* @__PURE__ */ O("div", { className: le, onMouseEnter: s, children: [
|
|
2253
|
+
/* @__PURE__ */ O(
|
|
2222
2254
|
"div",
|
|
2223
2255
|
{
|
|
2224
2256
|
tabIndex: g ? -1 : 0,
|
|
2225
|
-
title:
|
|
2257
|
+
title: b ? n : void 0,
|
|
2226
2258
|
className: X,
|
|
2227
|
-
onClick:
|
|
2259
|
+
onClick: me,
|
|
2228
2260
|
children: [
|
|
2229
2261
|
/* @__PURE__ */ c("div", { className: T, children: (J == null ? void 0 : J.label) || o }),
|
|
2230
2262
|
/* @__PURE__ */ c(
|
|
2231
|
-
|
|
2263
|
+
de,
|
|
2232
2264
|
{
|
|
2233
2265
|
name: D.SelectChevronDown,
|
|
2234
2266
|
rotate: N ? 180 : void 0,
|
|
@@ -2242,19 +2274,19 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2242
2274
|
"div",
|
|
2243
2275
|
{
|
|
2244
2276
|
className: q,
|
|
2245
|
-
style:
|
|
2277
|
+
style: S ? { maxHeight: `${x}px` } : {},
|
|
2246
2278
|
children: t.map((v) => {
|
|
2247
|
-
const
|
|
2248
|
-
return /* @__PURE__ */
|
|
2279
|
+
const L = v.value === n;
|
|
2280
|
+
return /* @__PURE__ */ O(
|
|
2249
2281
|
"div",
|
|
2250
2282
|
{
|
|
2251
2283
|
className: f({
|
|
2252
|
-
[
|
|
2284
|
+
[_e.spSelect__option]: !0
|
|
2253
2285
|
}),
|
|
2254
|
-
onClick: (
|
|
2286
|
+
onClick: (F) => ne(F, v.value),
|
|
2255
2287
|
children: [
|
|
2256
2288
|
v.label,
|
|
2257
|
-
|
|
2289
|
+
L && /* @__PURE__ */ c(de, { name: D.Check, className: M })
|
|
2258
2290
|
]
|
|
2259
2291
|
},
|
|
2260
2292
|
v.value
|
|
@@ -2263,14 +2295,14 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2263
2295
|
}
|
|
2264
2296
|
)
|
|
2265
2297
|
] }),
|
|
2266
|
-
|
|
2298
|
+
p && /* @__PURE__ */ c("div", { className: ee, children: p })
|
|
2267
2299
|
] });
|
|
2268
|
-
}, Pr = "_skeleton_155t5_43",
|
|
2300
|
+
}, Pr = "_skeleton_155t5_43", Or = "_skeleton_circle_155t5_52", Wr = "_skeleton_customStart_155t5_55", zr = "_skeleton_customEnd_155t5_58", Je = {
|
|
2269
2301
|
skeleton: Pr,
|
|
2270
|
-
skeleton_circle:
|
|
2271
|
-
skeleton_customStart:
|
|
2272
|
-
skeleton_customEnd:
|
|
2273
|
-
},
|
|
2302
|
+
skeleton_circle: Or,
|
|
2303
|
+
skeleton_customStart: Wr,
|
|
2304
|
+
skeleton_customEnd: zr
|
|
2305
|
+
}, Jp = (e) => {
|
|
2274
2306
|
const {
|
|
2275
2307
|
startColor: t,
|
|
2276
2308
|
endColor: o,
|
|
@@ -2279,11 +2311,11 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2279
2311
|
circle: i = !1,
|
|
2280
2312
|
classNameRoot: r,
|
|
2281
2313
|
style: s = {}
|
|
2282
|
-
} = e,
|
|
2314
|
+
} = e, p = {
|
|
2283
2315
|
width: n,
|
|
2284
2316
|
height: a,
|
|
2285
2317
|
...s
|
|
2286
|
-
},
|
|
2318
|
+
}, l = f({
|
|
2287
2319
|
[Je.skeleton]: !0,
|
|
2288
2320
|
[Je.skeleton_circle]: i,
|
|
2289
2321
|
[Je.skeleton_customStart]: t,
|
|
@@ -2293,15 +2325,15 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2293
2325
|
return /* @__PURE__ */ c(
|
|
2294
2326
|
"div",
|
|
2295
2327
|
{
|
|
2296
|
-
className:
|
|
2328
|
+
className: l,
|
|
2297
2329
|
style: {
|
|
2298
|
-
...
|
|
2330
|
+
...p,
|
|
2299
2331
|
...t && { "--custom-start-color": t },
|
|
2300
2332
|
...o && { "--custom-end-color": o }
|
|
2301
2333
|
}
|
|
2302
2334
|
}
|
|
2303
2335
|
);
|
|
2304
|
-
},
|
|
2336
|
+
}, 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
2337
|
spTable: Ur,
|
|
2306
2338
|
spTable__tdContentCopyIcon: qr,
|
|
2307
2339
|
spTable__tdContent: $r,
|
|
@@ -2314,47 +2346,47 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2314
2346
|
spStringsGroup__groupItemContent: Zr,
|
|
2315
2347
|
spStringsGroup__groupItemContentCopyIcon: Qr,
|
|
2316
2348
|
spStringsGroup__groupItemContentCopyIcon_copied: Jr
|
|
2317
|
-
},
|
|
2349
|
+
}, el = (e) => {
|
|
2318
2350
|
const {
|
|
2319
2351
|
columns: t,
|
|
2320
2352
|
data: o,
|
|
2321
2353
|
isNotTableOnNotDesktop: n = !1,
|
|
2322
2354
|
isDesktop: a = !0,
|
|
2323
2355
|
classNameRoot: i
|
|
2324
|
-
} = e, r = t.map((
|
|
2325
|
-
...
|
|
2326
|
-
isVisible: o.some((m) => !!m[
|
|
2327
|
-
} :
|
|
2356
|
+
} = e, r = t.map((w) => o ? {
|
|
2357
|
+
...w,
|
|
2358
|
+
isVisible: o.some((m) => !!m[w.key])
|
|
2359
|
+
} : w).filter((w) => w.isVisible), s = f({
|
|
2328
2360
|
[ye.spTable]: !0,
|
|
2329
2361
|
...i && { [i]: !0 }
|
|
2330
|
-
}), l = f({
|
|
2331
|
-
[ye.spTable__tdContent]: !0
|
|
2332
2362
|
}), p = f({
|
|
2363
|
+
[ye.spTable__tdContent]: !0
|
|
2364
|
+
}), l = f({
|
|
2333
2365
|
[ye.spTable__tdColorContent]: !0
|
|
2334
2366
|
}), d = f({
|
|
2335
2367
|
[ye.spTable__emptyPage]: !0
|
|
2336
|
-
}), [u, g] =
|
|
2337
|
-
const { text: m, rowIndex: N, colIndex:
|
|
2338
|
-
(u == null ? void 0 : u.rowIndex) === N && (u == null ? void 0 : u.colIndex) ===
|
|
2339
|
-
g({ rowIndex: N, colIndex:
|
|
2368
|
+
}), [u, g] = oe(null), h = (w) => {
|
|
2369
|
+
const { text: m, rowIndex: N, colIndex: z } = w;
|
|
2370
|
+
(u == null ? void 0 : u.rowIndex) === N && (u == null ? void 0 : u.colIndex) === z || navigator.clipboard.writeText(m).then(() => {
|
|
2371
|
+
g({ rowIndex: N, colIndex: z });
|
|
2340
2372
|
}).catch((G) => {
|
|
2341
2373
|
console.error("Ошибка при копировании:", G);
|
|
2342
2374
|
});
|
|
2343
2375
|
}, x = () => {
|
|
2344
2376
|
g(null);
|
|
2345
|
-
},
|
|
2346
|
-
row:
|
|
2377
|
+
}, b = () => /* @__PURE__ */ c("div", { className: d, children: "Данные отсутствуют" }), S = ({
|
|
2378
|
+
row: w,
|
|
2347
2379
|
col: m
|
|
2348
2380
|
}) => {
|
|
2349
|
-
const N =
|
|
2381
|
+
const N = w[m.key];
|
|
2350
2382
|
if (!N) return null;
|
|
2351
|
-
const [
|
|
2352
|
-
return /* @__PURE__ */
|
|
2353
|
-
|
|
2354
|
-
G && /* @__PURE__ */ c("span", { className:
|
|
2383
|
+
const [z, G] = N.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
2384
|
+
return /* @__PURE__ */ O("span", { children: [
|
|
2385
|
+
z,
|
|
2386
|
+
G && /* @__PURE__ */ c("span", { className: l, children: ` ${G}` })
|
|
2355
2387
|
] });
|
|
2356
|
-
},
|
|
2357
|
-
/* @__PURE__ */ c("colgroup", { children: r.map((
|
|
2388
|
+
}, R = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ O("table", { className: s, children: [
|
|
2389
|
+
/* @__PURE__ */ c("colgroup", { children: r.map((w, m, N) => /* @__PURE__ */ c(
|
|
2358
2390
|
"col",
|
|
2359
2391
|
{
|
|
2360
2392
|
style: {
|
|
@@ -2363,17 +2395,17 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2363
2395
|
},
|
|
2364
2396
|
m
|
|
2365
2397
|
)) }),
|
|
2366
|
-
/* @__PURE__ */ c("thead", { children: /* @__PURE__ */ c("tr", { children: r.map((
|
|
2367
|
-
/* @__PURE__ */ c("tbody", { children: o.map((
|
|
2368
|
-
const G = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) ===
|
|
2398
|
+
/* @__PURE__ */ c("thead", { children: /* @__PURE__ */ c("tr", { children: r.map((w, m) => /* @__PURE__ */ c("th", { children: w.title }, m)) }) }),
|
|
2399
|
+
/* @__PURE__ */ c("tbody", { children: o.map((w, m) => w ? /* @__PURE__ */ c("tr", { children: r.map((N, z) => {
|
|
2400
|
+
const G = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === z;
|
|
2369
2401
|
return /* @__PURE__ */ c(
|
|
2370
2402
|
"td",
|
|
2371
2403
|
{
|
|
2372
2404
|
onMouseLeave: G ? x : void 0,
|
|
2373
|
-
children: /* @__PURE__ */
|
|
2374
|
-
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ?
|
|
2375
|
-
!
|
|
2376
|
-
|
|
2405
|
+
children: /* @__PURE__ */ O("div", { className: p, children: [
|
|
2406
|
+
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ? S({ row: w, col: N }) : w[N.key] }),
|
|
2407
|
+
!St(w[N.key]) && N.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2408
|
+
de,
|
|
2377
2409
|
{
|
|
2378
2410
|
className: f({
|
|
2379
2411
|
[ye.spTable__tdContentCopyIcon]: !0,
|
|
@@ -2381,32 +2413,32 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2381
2413
|
}),
|
|
2382
2414
|
name: G ? D.Check : D.Copy,
|
|
2383
2415
|
onClick: () => {
|
|
2384
|
-
const J =
|
|
2416
|
+
const J = w[N.key];
|
|
2385
2417
|
if (!J) return null;
|
|
2386
2418
|
h({
|
|
2387
2419
|
text: J,
|
|
2388
2420
|
rowIndex: m,
|
|
2389
|
-
colIndex:
|
|
2421
|
+
colIndex: z
|
|
2390
2422
|
});
|
|
2391
2423
|
}
|
|
2392
2424
|
}
|
|
2393
2425
|
)
|
|
2394
2426
|
] })
|
|
2395
2427
|
},
|
|
2396
|
-
`${m}:${
|
|
2428
|
+
`${m}:${z}`
|
|
2397
2429
|
);
|
|
2398
2430
|
}) }, m) : null) })
|
|
2399
|
-
] }) :
|
|
2431
|
+
] }) : b(), W = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ c(
|
|
2400
2432
|
"div",
|
|
2401
2433
|
{
|
|
2402
2434
|
className: f({
|
|
2403
2435
|
[ye.spStringsGroup]: !0
|
|
2404
2436
|
}),
|
|
2405
|
-
children: o.map((
|
|
2406
|
-
if (
|
|
2437
|
+
children: o.map((w, m) => w ? /* @__PURE__ */ c("div", { children: r.map((N, z) => {
|
|
2438
|
+
if (St(w[N.key]))
|
|
2407
2439
|
return null;
|
|
2408
|
-
const G = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) ===
|
|
2409
|
-
return /* @__PURE__ */
|
|
2440
|
+
const G = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === z;
|
|
2441
|
+
return /* @__PURE__ */ O(
|
|
2410
2442
|
"div",
|
|
2411
2443
|
{
|
|
2412
2444
|
className: f({
|
|
@@ -2423,16 +2455,16 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2423
2455
|
children: N.title
|
|
2424
2456
|
}
|
|
2425
2457
|
),
|
|
2426
|
-
/* @__PURE__ */
|
|
2458
|
+
/* @__PURE__ */ O(
|
|
2427
2459
|
"div",
|
|
2428
2460
|
{
|
|
2429
2461
|
className: f({
|
|
2430
2462
|
[ye.spStringsGroup__groupItemContent]: !0
|
|
2431
2463
|
}),
|
|
2432
2464
|
children: [
|
|
2433
|
-
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ?
|
|
2465
|
+
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ? S({ row: w, col: N }) : w[N.key] }),
|
|
2434
2466
|
N.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2435
|
-
|
|
2467
|
+
de,
|
|
2436
2468
|
{
|
|
2437
2469
|
className: f({
|
|
2438
2470
|
[ye.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
@@ -2440,12 +2472,12 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2440
2472
|
}),
|
|
2441
2473
|
name: G ? D.Check : D.Copy,
|
|
2442
2474
|
onClick: () => {
|
|
2443
|
-
const J =
|
|
2475
|
+
const J = w[N.key];
|
|
2444
2476
|
if (!J) return null;
|
|
2445
2477
|
h({
|
|
2446
2478
|
text: J,
|
|
2447
2479
|
rowIndex: m,
|
|
2448
|
-
colIndex:
|
|
2480
|
+
colIndex: z
|
|
2449
2481
|
});
|
|
2450
2482
|
}
|
|
2451
2483
|
}
|
|
@@ -2455,12 +2487,12 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2455
2487
|
)
|
|
2456
2488
|
]
|
|
2457
2489
|
},
|
|
2458
|
-
|
|
2490
|
+
z
|
|
2459
2491
|
);
|
|
2460
2492
|
}) }, m) : null)
|
|
2461
2493
|
}
|
|
2462
|
-
) :
|
|
2463
|
-
return n ? a ?
|
|
2494
|
+
) : b();
|
|
2495
|
+
return n ? a ? R() : W() : R();
|
|
2464
2496
|
}, 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
2497
|
spTabs: es,
|
|
2466
2498
|
spTabs_separated: ts,
|
|
@@ -2471,7 +2503,7 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2471
2503
|
spTabs__tabElement_active: ns,
|
|
2472
2504
|
spTabs__tooltip: as,
|
|
2473
2505
|
"spTabs--variant-filled": "_spTabs--variant-filled_p5nml_93"
|
|
2474
|
-
},
|
|
2506
|
+
}, tl = (e) => {
|
|
2475
2507
|
const {
|
|
2476
2508
|
panes: t,
|
|
2477
2509
|
isSeparated: o = !1,
|
|
@@ -2485,9 +2517,9 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2485
2517
|
[Re[`spTabs--variant-${i}`]]: i,
|
|
2486
2518
|
[Re[`spTabs--size-${r}`]]: r,
|
|
2487
2519
|
...n && { [n]: !0 }
|
|
2488
|
-
}),
|
|
2520
|
+
}), p = f({
|
|
2489
2521
|
[Re.spTabs__tooltip]: !0
|
|
2490
|
-
}),
|
|
2522
|
+
}), l = () => {
|
|
2491
2523
|
switch (r) {
|
|
2492
2524
|
case "md":
|
|
2493
2525
|
return "p2";
|
|
@@ -2496,8 +2528,8 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2496
2528
|
}
|
|
2497
2529
|
};
|
|
2498
2530
|
return /* @__PURE__ */ c("div", { className: s, children: t.map((d, u) => {
|
|
2499
|
-
const { name: g, active: h, onClick: x, infoTooltipText:
|
|
2500
|
-
return /* @__PURE__ */
|
|
2531
|
+
const { name: g, active: h, onClick: x, infoTooltipText: b } = d;
|
|
2532
|
+
return /* @__PURE__ */ O(
|
|
2501
2533
|
"div",
|
|
2502
2534
|
{
|
|
2503
2535
|
className: f({
|
|
@@ -2506,13 +2538,13 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2506
2538
|
}),
|
|
2507
2539
|
onClick: x,
|
|
2508
2540
|
children: [
|
|
2509
|
-
/* @__PURE__ */ c(
|
|
2510
|
-
!!
|
|
2511
|
-
|
|
2541
|
+
/* @__PURE__ */ c(Ne, { type: l(), children: g }),
|
|
2542
|
+
!!b && /* @__PURE__ */ c(
|
|
2543
|
+
rt,
|
|
2512
2544
|
{
|
|
2513
2545
|
hover: !0,
|
|
2514
|
-
classNameTooltip:
|
|
2515
|
-
text:
|
|
2546
|
+
classNameTooltip: p,
|
|
2547
|
+
text: b,
|
|
2516
2548
|
classNameBaseTooltipRoot: a
|
|
2517
2549
|
}
|
|
2518
2550
|
)
|
|
@@ -2521,10 +2553,10 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2521
2553
|
d.key || u
|
|
2522
2554
|
);
|
|
2523
2555
|
}) });
|
|
2524
|
-
}, is = "_spTextWithLabel_18nkl_1", rs = "_spTextWithLabel_ellipsis_18nkl_4",
|
|
2556
|
+
}, is = "_spTextWithLabel_18nkl_1", rs = "_spTextWithLabel_ellipsis_18nkl_4", io = {
|
|
2525
2557
|
spTextWithLabel: is,
|
|
2526
2558
|
spTextWithLabel_ellipsis: rs
|
|
2527
|
-
},
|
|
2559
|
+
}, ol = (e) => {
|
|
2528
2560
|
const {
|
|
2529
2561
|
label: t,
|
|
2530
2562
|
required: o,
|
|
@@ -2533,16 +2565,16 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2533
2565
|
classNameLabelRoot: i,
|
|
2534
2566
|
classNameBaseTooltipRoot: r,
|
|
2535
2567
|
classNameWrapperRoot: s,
|
|
2536
|
-
children:
|
|
2537
|
-
...
|
|
2568
|
+
children: p,
|
|
2569
|
+
...l
|
|
2538
2570
|
} = e, d = f({
|
|
2539
|
-
[
|
|
2540
|
-
[
|
|
2571
|
+
[io.spTextWithLabel]: !0,
|
|
2572
|
+
[io.spTextWithLabel_ellipsis]: l.isEllipsis,
|
|
2541
2573
|
...s && { [s]: !0 }
|
|
2542
2574
|
});
|
|
2543
|
-
return /* @__PURE__ */
|
|
2575
|
+
return /* @__PURE__ */ O("div", { className: d, children: [
|
|
2544
2576
|
/* @__PURE__ */ c(
|
|
2545
|
-
|
|
2577
|
+
Mt,
|
|
2546
2578
|
{
|
|
2547
2579
|
label: t,
|
|
2548
2580
|
required: o,
|
|
@@ -2552,7 +2584,7 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2552
2584
|
classNameBaseTooltipRoot: r
|
|
2553
2585
|
}
|
|
2554
2586
|
),
|
|
2555
|
-
/* @__PURE__ */ c(
|
|
2587
|
+
/* @__PURE__ */ c(Ne, { ...l, children: p })
|
|
2556
2588
|
] });
|
|
2557
2589
|
};
|
|
2558
2590
|
function Ae(e, t, o, n) {
|
|
@@ -2564,22 +2596,22 @@ function Ae(e, t, o, n) {
|
|
|
2564
2596
|
return new (o || (o = Promise))(function(i, r) {
|
|
2565
2597
|
function s(d) {
|
|
2566
2598
|
try {
|
|
2567
|
-
|
|
2599
|
+
l(n.next(d));
|
|
2568
2600
|
} catch (u) {
|
|
2569
2601
|
r(u);
|
|
2570
2602
|
}
|
|
2571
2603
|
}
|
|
2572
|
-
function
|
|
2604
|
+
function p(d) {
|
|
2573
2605
|
try {
|
|
2574
|
-
|
|
2606
|
+
l(n.throw(d));
|
|
2575
2607
|
} catch (u) {
|
|
2576
2608
|
r(u);
|
|
2577
2609
|
}
|
|
2578
2610
|
}
|
|
2579
|
-
function
|
|
2580
|
-
d.done ? i(d.value) : a(d.value).then(s,
|
|
2611
|
+
function l(d) {
|
|
2612
|
+
d.done ? i(d.value) : a(d.value).then(s, p);
|
|
2581
2613
|
}
|
|
2582
|
-
|
|
2614
|
+
l((n = n.apply(e, t || [])).next());
|
|
2583
2615
|
});
|
|
2584
2616
|
}
|
|
2585
2617
|
const ss = /* @__PURE__ */ new Map([
|
|
@@ -3786,10 +3818,10 @@ const ss = /* @__PURE__ */ new Map([
|
|
|
3786
3818
|
["zsh", "text/x-scriptzsh"]
|
|
3787
3819
|
]);
|
|
3788
3820
|
function Pe(e, t, o) {
|
|
3789
|
-
const n =
|
|
3790
|
-
return typeof n.path != "string" &&
|
|
3821
|
+
const n = ps(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
3822
|
+
return typeof n.path != "string" && ro(n, "path", i), ro(n, "relativePath", i), n;
|
|
3791
3823
|
}
|
|
3792
|
-
function
|
|
3824
|
+
function ps(e) {
|
|
3793
3825
|
const { name: t } = e;
|
|
3794
3826
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
3795
3827
|
const n = t.split(".").pop().toLowerCase(), a = ss.get(n);
|
|
@@ -3802,7 +3834,7 @@ function ls(e) {
|
|
|
3802
3834
|
}
|
|
3803
3835
|
return e;
|
|
3804
3836
|
}
|
|
3805
|
-
function
|
|
3837
|
+
function ro(e, t, o) {
|
|
3806
3838
|
Object.defineProperty(e, t, {
|
|
3807
3839
|
value: o,
|
|
3808
3840
|
writable: !1,
|
|
@@ -3810,7 +3842,7 @@ function io(e, t, o) {
|
|
|
3810
3842
|
enumerable: !0
|
|
3811
3843
|
});
|
|
3812
3844
|
}
|
|
3813
|
-
const
|
|
3845
|
+
const ls = [
|
|
3814
3846
|
// Thumbnail cache files for macOS and Windows
|
|
3815
3847
|
".DS_Store",
|
|
3816
3848
|
// macOs
|
|
@@ -3832,7 +3864,7 @@ function ot(e) {
|
|
|
3832
3864
|
return typeof e == "object" && e !== null;
|
|
3833
3865
|
}
|
|
3834
3866
|
function us(e) {
|
|
3835
|
-
return
|
|
3867
|
+
return Rt(e.target.files).map((t) => Pe(t));
|
|
3836
3868
|
}
|
|
3837
3869
|
function _s(e) {
|
|
3838
3870
|
return Ae(this, void 0, void 0, function* () {
|
|
@@ -3842,19 +3874,19 @@ function _s(e) {
|
|
|
3842
3874
|
function fs(e, t) {
|
|
3843
3875
|
return Ae(this, void 0, void 0, function* () {
|
|
3844
3876
|
if (e.items) {
|
|
3845
|
-
const o =
|
|
3877
|
+
const o = Rt(e.items).filter((a) => a.kind === "file");
|
|
3846
3878
|
if (t !== "drop")
|
|
3847
3879
|
return o;
|
|
3848
3880
|
const n = yield Promise.all(o.map(vs));
|
|
3849
|
-
return
|
|
3881
|
+
return so(Fo(n));
|
|
3850
3882
|
}
|
|
3851
|
-
return
|
|
3883
|
+
return so(Rt(e.files).map((o) => Pe(o)));
|
|
3852
3884
|
});
|
|
3853
3885
|
}
|
|
3854
|
-
function
|
|
3855
|
-
return e.filter((t) =>
|
|
3886
|
+
function so(e) {
|
|
3887
|
+
return e.filter((t) => ls.indexOf(t.name) === -1);
|
|
3856
3888
|
}
|
|
3857
|
-
function
|
|
3889
|
+
function Rt(e) {
|
|
3858
3890
|
if (e === null)
|
|
3859
3891
|
return [];
|
|
3860
3892
|
const t = [];
|
|
@@ -3866,17 +3898,17 @@ function St(e) {
|
|
|
3866
3898
|
}
|
|
3867
3899
|
function vs(e) {
|
|
3868
3900
|
if (typeof e.webkitGetAsEntry != "function")
|
|
3869
|
-
return
|
|
3901
|
+
return po(e);
|
|
3870
3902
|
const t = e.webkitGetAsEntry();
|
|
3871
|
-
return t && t.isDirectory ?
|
|
3903
|
+
return t && t.isDirectory ? Ao(t) : po(e, t);
|
|
3872
3904
|
}
|
|
3873
|
-
function
|
|
3905
|
+
function Fo(e) {
|
|
3874
3906
|
return e.reduce((t, o) => [
|
|
3875
3907
|
...t,
|
|
3876
|
-
...Array.isArray(o) ?
|
|
3908
|
+
...Array.isArray(o) ? Fo(o) : [o]
|
|
3877
3909
|
], []);
|
|
3878
3910
|
}
|
|
3879
|
-
function
|
|
3911
|
+
function po(e, t) {
|
|
3880
3912
|
return Ae(this, void 0, void 0, function* () {
|
|
3881
3913
|
var o;
|
|
3882
3914
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
@@ -3896,10 +3928,10 @@ function so(e, t) {
|
|
|
3896
3928
|
}
|
|
3897
3929
|
function gs(e) {
|
|
3898
3930
|
return Ae(this, void 0, void 0, function* () {
|
|
3899
|
-
return e.isDirectory ?
|
|
3931
|
+
return e.isDirectory ? Ao(e) : xs(e);
|
|
3900
3932
|
});
|
|
3901
3933
|
}
|
|
3902
|
-
function
|
|
3934
|
+
function Ao(e) {
|
|
3903
3935
|
const t = e.createReader();
|
|
3904
3936
|
return new Promise((o, n) => {
|
|
3905
3937
|
const a = [];
|
|
@@ -3934,7 +3966,7 @@ function xs(e) {
|
|
|
3934
3966
|
});
|
|
3935
3967
|
});
|
|
3936
3968
|
}
|
|
3937
|
-
var
|
|
3969
|
+
var Nt = function(e, t) {
|
|
3938
3970
|
if (e && t) {
|
|
3939
3971
|
var o = Array.isArray(t) ? t : t.split(",");
|
|
3940
3972
|
if (o.length === 0)
|
|
@@ -3948,7 +3980,7 @@ var kt = function(e, t) {
|
|
|
3948
3980
|
return !0;
|
|
3949
3981
|
};
|
|
3950
3982
|
function lo(e) {
|
|
3951
|
-
return ys(e) || bs(e) ||
|
|
3983
|
+
return ys(e) || bs(e) || Bo(e) || hs();
|
|
3952
3984
|
}
|
|
3953
3985
|
function hs() {
|
|
3954
3986
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
@@ -3958,9 +3990,9 @@ function bs(e) {
|
|
|
3958
3990
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
3959
3991
|
}
|
|
3960
3992
|
function ys(e) {
|
|
3961
|
-
if (Array.isArray(e)) return
|
|
3993
|
+
if (Array.isArray(e)) return Ft(e);
|
|
3962
3994
|
}
|
|
3963
|
-
function
|
|
3995
|
+
function co(e, t) {
|
|
3964
3996
|
var o = Object.keys(e);
|
|
3965
3997
|
if (Object.getOwnPropertySymbols) {
|
|
3966
3998
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -3970,36 +4002,36 @@ function po(e, t) {
|
|
|
3970
4002
|
}
|
|
3971
4003
|
return o;
|
|
3972
4004
|
}
|
|
3973
|
-
function
|
|
4005
|
+
function mo(e) {
|
|
3974
4006
|
for (var t = 1; t < arguments.length; t++) {
|
|
3975
4007
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
3976
|
-
t % 2 ?
|
|
3977
|
-
|
|
3978
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) :
|
|
4008
|
+
t % 2 ? co(Object(o), !0).forEach(function(n) {
|
|
4009
|
+
jo(e, n, o[n]);
|
|
4010
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : co(Object(o)).forEach(function(n) {
|
|
3979
4011
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
3980
4012
|
});
|
|
3981
4013
|
}
|
|
3982
4014
|
return e;
|
|
3983
4015
|
}
|
|
3984
|
-
function
|
|
4016
|
+
function jo(e, t, o) {
|
|
3985
4017
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
3986
4018
|
}
|
|
3987
|
-
function
|
|
3988
|
-
return ks(e) || Cs(e, t) ||
|
|
4019
|
+
function He(e, t) {
|
|
4020
|
+
return ks(e) || Cs(e, t) || Bo(e, t) || ws();
|
|
3989
4021
|
}
|
|
3990
4022
|
function ws() {
|
|
3991
4023
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3992
4024
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3993
4025
|
}
|
|
3994
|
-
function
|
|
4026
|
+
function Bo(e, t) {
|
|
3995
4027
|
if (e) {
|
|
3996
|
-
if (typeof e == "string") return
|
|
4028
|
+
if (typeof e == "string") return Ft(e, t);
|
|
3997
4029
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
3998
4030
|
if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
|
|
3999
|
-
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return
|
|
4031
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Ft(e, t);
|
|
4000
4032
|
}
|
|
4001
4033
|
}
|
|
4002
|
-
function
|
|
4034
|
+
function Ft(e, t) {
|
|
4003
4035
|
(t == null || t > e.length) && (t = e.length);
|
|
4004
4036
|
for (var o = 0, n = new Array(t); o < t; o++)
|
|
4005
4037
|
n[o] = e[o];
|
|
@@ -4012,8 +4044,8 @@ function Cs(e, t) {
|
|
|
4012
4044
|
try {
|
|
4013
4045
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
4014
4046
|
;
|
|
4015
|
-
} catch (
|
|
4016
|
-
i = !0, s =
|
|
4047
|
+
} catch (p) {
|
|
4048
|
+
i = !0, s = p;
|
|
4017
4049
|
} finally {
|
|
4018
4050
|
try {
|
|
4019
4051
|
!a && o.return != null && o.return();
|
|
@@ -4027,24 +4059,24 @@ function Cs(e, t) {
|
|
|
4027
4059
|
function ks(e) {
|
|
4028
4060
|
if (Array.isArray(e)) return e;
|
|
4029
4061
|
}
|
|
4030
|
-
var Ts = typeof
|
|
4031
|
-
FileInvalidType:
|
|
4032
|
-
FileTooLarge:
|
|
4033
|
-
FileTooSmall:
|
|
4062
|
+
var Ts = typeof Nt == "function" ? Nt : Nt.default, Do = "file-invalid-type", Mo = "file-too-large", Po = "file-too-small", Ns = "too-many-files", Et = {
|
|
4063
|
+
FileInvalidType: Do,
|
|
4064
|
+
FileTooLarge: Mo,
|
|
4065
|
+
FileTooSmall: Po
|
|
4034
4066
|
}, Es = function() {
|
|
4035
4067
|
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];
|
|
4036
4068
|
return {
|
|
4037
|
-
code:
|
|
4069
|
+
code: Do,
|
|
4038
4070
|
message: "File type must be ".concat(n)
|
|
4039
4071
|
};
|
|
4040
|
-
},
|
|
4072
|
+
}, uo = function(t) {
|
|
4041
4073
|
return {
|
|
4042
|
-
code:
|
|
4074
|
+
code: Mo,
|
|
4043
4075
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
4044
4076
|
};
|
|
4045
|
-
},
|
|
4077
|
+
}, _o = function(t) {
|
|
4046
4078
|
return {
|
|
4047
|
-
code:
|
|
4079
|
+
code: Po,
|
|
4048
4080
|
message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
4049
4081
|
};
|
|
4050
4082
|
}, Is = {
|
|
@@ -4058,11 +4090,11 @@ function Oo(e, t) {
|
|
|
4058
4090
|
function Wo(e, t, o) {
|
|
4059
4091
|
if (Fe(e.size))
|
|
4060
4092
|
if (Fe(t) && Fe(o)) {
|
|
4061
|
-
if (e.size > o) return [!1,
|
|
4062
|
-
if (e.size < t) return [!1,
|
|
4093
|
+
if (e.size > o) return [!1, uo(o)];
|
|
4094
|
+
if (e.size < t) return [!1, _o(t)];
|
|
4063
4095
|
} else {
|
|
4064
|
-
if (Fe(t) && e.size < t) return [!1,
|
|
4065
|
-
if (Fe(o) && e.size > o) return [!1,
|
|
4096
|
+
if (Fe(t) && e.size < t) return [!1, _o(t)];
|
|
4097
|
+
if (Fe(o) && e.size > o) return [!1, uo(o)];
|
|
4066
4098
|
}
|
|
4067
4099
|
return [!0, null];
|
|
4068
4100
|
}
|
|
@@ -4071,9 +4103,9 @@ function Fe(e) {
|
|
|
4071
4103
|
}
|
|
4072
4104
|
function Ss(e) {
|
|
4073
4105
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
4074
|
-
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(
|
|
4075
|
-
var
|
|
4076
|
-
return u && x && !
|
|
4106
|
+
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(p) {
|
|
4107
|
+
var l = Oo(p, o), d = He(l, 1), u = d[0], g = Wo(p, n, a), h = He(g, 1), x = h[0], b = s ? s(p) : null;
|
|
4108
|
+
return u && x && !b;
|
|
4077
4109
|
});
|
|
4078
4110
|
}
|
|
4079
4111
|
function nt(e) {
|
|
@@ -4084,7 +4116,7 @@ function et(e) {
|
|
|
4084
4116
|
return t === "Files" || t === "application/x-moz-file";
|
|
4085
4117
|
}) : !!e.target && !!e.target.files;
|
|
4086
4118
|
}
|
|
4087
|
-
function
|
|
4119
|
+
function fo(e) {
|
|
4088
4120
|
e.preventDefault();
|
|
4089
4121
|
}
|
|
4090
4122
|
function Ls(e) {
|
|
@@ -4097,7 +4129,7 @@ function Fs() {
|
|
|
4097
4129
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
4098
4130
|
return Ls(e) || Rs(e);
|
|
4099
4131
|
}
|
|
4100
|
-
function
|
|
4132
|
+
function Te() {
|
|
4101
4133
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
4102
4134
|
t[o] = arguments[o];
|
|
4103
4135
|
return function(n) {
|
|
@@ -4114,11 +4146,11 @@ function As() {
|
|
|
4114
4146
|
function js(e) {
|
|
4115
4147
|
if (Fe(e)) {
|
|
4116
4148
|
var t = Object.entries(e).filter(function(o) {
|
|
4117
|
-
var n =
|
|
4118
|
-
return
|
|
4149
|
+
var n = He(o, 2), a = n[0], i = n[1], r = !0;
|
|
4150
|
+
return zo(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(Uo)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
4119
4151
|
}).reduce(function(o, n) {
|
|
4120
|
-
var a =
|
|
4121
|
-
return
|
|
4152
|
+
var a = He(n, 2), i = a[0], r = a[1];
|
|
4153
|
+
return mo(mo({}, o), {}, jo({}, i, r));
|
|
4122
4154
|
}, {});
|
|
4123
4155
|
return [{
|
|
4124
4156
|
// description is required due to https://crbug.com/1264708
|
|
@@ -4131,10 +4163,10 @@ function js(e) {
|
|
|
4131
4163
|
function Bs(e) {
|
|
4132
4164
|
if (Fe(e))
|
|
4133
4165
|
return Object.entries(e).reduce(function(t, o) {
|
|
4134
|
-
var n =
|
|
4166
|
+
var n = He(o, 2), a = n[0], i = n[1];
|
|
4135
4167
|
return [].concat(lo(t), [a], lo(i));
|
|
4136
4168
|
}, []).filter(function(t) {
|
|
4137
|
-
return
|
|
4169
|
+
return zo(t) || Uo(t);
|
|
4138
4170
|
}).join(",");
|
|
4139
4171
|
}
|
|
4140
4172
|
function Ds(e) {
|
|
@@ -4143,15 +4175,15 @@ function Ds(e) {
|
|
|
4143
4175
|
function Ms(e) {
|
|
4144
4176
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
4145
4177
|
}
|
|
4146
|
-
function
|
|
4178
|
+
function zo(e) {
|
|
4147
4179
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
4148
4180
|
}
|
|
4149
|
-
function
|
|
4181
|
+
function Uo(e) {
|
|
4150
4182
|
return /^.*\.[\w]+$/.test(e);
|
|
4151
4183
|
}
|
|
4152
|
-
var Ps = ["children"],
|
|
4184
|
+
var Ps = ["children"], Os = ["open"], Ws = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], zs = ["refKey", "onChange", "onClick"];
|
|
4153
4185
|
function Us(e) {
|
|
4154
|
-
return Hs(e) || $s(e) ||
|
|
4186
|
+
return Hs(e) || $s(e) || qo(e) || qs();
|
|
4155
4187
|
}
|
|
4156
4188
|
function qs() {
|
|
4157
4189
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
@@ -4161,24 +4193,24 @@ function $s(e) {
|
|
|
4161
4193
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4162
4194
|
}
|
|
4163
4195
|
function Hs(e) {
|
|
4164
|
-
if (Array.isArray(e)) return
|
|
4196
|
+
if (Array.isArray(e)) return At(e);
|
|
4165
4197
|
}
|
|
4166
|
-
function
|
|
4167
|
-
return Gs(e) || Ys(e, t) ||
|
|
4198
|
+
function It(e, t) {
|
|
4199
|
+
return Gs(e) || Ys(e, t) || qo(e, t) || Vs();
|
|
4168
4200
|
}
|
|
4169
4201
|
function Vs() {
|
|
4170
4202
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4171
4203
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4172
4204
|
}
|
|
4173
|
-
function
|
|
4205
|
+
function qo(e, t) {
|
|
4174
4206
|
if (e) {
|
|
4175
|
-
if (typeof e == "string") return
|
|
4207
|
+
if (typeof e == "string") return At(e, t);
|
|
4176
4208
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
4177
4209
|
if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
|
|
4178
|
-
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return
|
|
4210
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return At(e, t);
|
|
4179
4211
|
}
|
|
4180
4212
|
}
|
|
4181
|
-
function
|
|
4213
|
+
function At(e, t) {
|
|
4182
4214
|
(t == null || t > e.length) && (t = e.length);
|
|
4183
4215
|
for (var o = 0, n = new Array(t); o < t; o++)
|
|
4184
4216
|
n[o] = e[o];
|
|
@@ -4191,8 +4223,8 @@ function Ys(e, t) {
|
|
|
4191
4223
|
try {
|
|
4192
4224
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
4193
4225
|
;
|
|
4194
|
-
} catch (
|
|
4195
|
-
i = !0, s =
|
|
4226
|
+
} catch (p) {
|
|
4227
|
+
i = !0, s = p;
|
|
4196
4228
|
} finally {
|
|
4197
4229
|
try {
|
|
4198
4230
|
!a && o.return != null && o.return();
|
|
@@ -4206,7 +4238,7 @@ function Ys(e, t) {
|
|
|
4206
4238
|
function Gs(e) {
|
|
4207
4239
|
if (Array.isArray(e)) return e;
|
|
4208
4240
|
}
|
|
4209
|
-
function
|
|
4241
|
+
function vo(e, t) {
|
|
4210
4242
|
var o = Object.keys(e);
|
|
4211
4243
|
if (Object.getOwnPropertySymbols) {
|
|
4212
4244
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -4216,18 +4248,18 @@ function fo(e, t) {
|
|
|
4216
4248
|
}
|
|
4217
4249
|
return o;
|
|
4218
4250
|
}
|
|
4219
|
-
function
|
|
4251
|
+
function te(e) {
|
|
4220
4252
|
for (var t = 1; t < arguments.length; t++) {
|
|
4221
4253
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
4222
|
-
t % 2 ?
|
|
4223
|
-
|
|
4224
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) :
|
|
4254
|
+
t % 2 ? vo(Object(o), !0).forEach(function(n) {
|
|
4255
|
+
jt(e, n, o[n]);
|
|
4256
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : vo(Object(o)).forEach(function(n) {
|
|
4225
4257
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
4226
4258
|
});
|
|
4227
4259
|
}
|
|
4228
4260
|
return e;
|
|
4229
4261
|
}
|
|
4230
|
-
function
|
|
4262
|
+
function jt(e, t, o) {
|
|
4231
4263
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
4232
4264
|
}
|
|
4233
4265
|
function at(e, t) {
|
|
@@ -4247,18 +4279,18 @@ function Ks(e, t) {
|
|
|
4247
4279
|
a = n[i], !(t.indexOf(a) >= 0) && (o[a] = e[a]);
|
|
4248
4280
|
return o;
|
|
4249
4281
|
}
|
|
4250
|
-
var
|
|
4251
|
-
var o = e.children, n = at(e, Ps), a =
|
|
4282
|
+
var Wt = /* @__PURE__ */ Jo(function(e, t) {
|
|
4283
|
+
var o = e.children, n = at(e, Ps), a = Ho(n), i = a.open, r = at(a, Os);
|
|
4252
4284
|
return en(t, function() {
|
|
4253
4285
|
return {
|
|
4254
4286
|
open: i
|
|
4255
4287
|
};
|
|
4256
|
-
}, [i]), /* @__PURE__ */
|
|
4288
|
+
}, [i]), /* @__PURE__ */ Ve.createElement(tn, null, o(te(te({}, r), {}, {
|
|
4257
4289
|
open: i
|
|
4258
4290
|
})));
|
|
4259
4291
|
});
|
|
4260
|
-
|
|
4261
|
-
var
|
|
4292
|
+
Wt.displayName = "Dropzone";
|
|
4293
|
+
var $o = {
|
|
4262
4294
|
disabled: !1,
|
|
4263
4295
|
getFilesFromEvent: cs,
|
|
4264
4296
|
maxSize: 1 / 0,
|
|
@@ -4274,8 +4306,8 @@ var Ho = {
|
|
|
4274
4306
|
useFsAccessApi: !1,
|
|
4275
4307
|
autoFocus: !1
|
|
4276
4308
|
};
|
|
4277
|
-
|
|
4278
|
-
|
|
4309
|
+
Wt.defaultProps = $o;
|
|
4310
|
+
Wt.propTypes = {
|
|
4279
4311
|
/**
|
|
4280
4312
|
* Render function that exposes the dropzone state and prop getter fns
|
|
4281
4313
|
*
|
|
@@ -4443,7 +4475,7 @@ zt.propTypes = {
|
|
|
4443
4475
|
*/
|
|
4444
4476
|
validator: E.func
|
|
4445
4477
|
};
|
|
4446
|
-
var
|
|
4478
|
+
var Bt = {
|
|
4447
4479
|
isFocused: !1,
|
|
4448
4480
|
isFileDialogActive: !1,
|
|
4449
4481
|
isDragActive: !1,
|
|
@@ -4452,67 +4484,67 @@ var At = {
|
|
|
4452
4484
|
acceptedFiles: [],
|
|
4453
4485
|
fileRejections: []
|
|
4454
4486
|
};
|
|
4455
|
-
function
|
|
4456
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t =
|
|
4487
|
+
function Ho() {
|
|
4488
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = te(te({}, $o), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, p = t.maxFiles, l = t.onDragEnter, d = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, x = t.onDropRejected, b = t.onFileDialogCancel, S = t.onFileDialogOpen, R = t.useFsAccessApi, W = t.autoFocus, A = t.preventDropOnDocument, w = t.noClick, m = t.noKeyboard, N = t.noDrag, z = t.noDragEventsBubbling, G = t.onError, J = t.validator, ne = De(function() {
|
|
4457
4489
|
return Bs(o);
|
|
4458
|
-
}, [o]),
|
|
4490
|
+
}, [o]), me = De(function() {
|
|
4459
4491
|
return js(o);
|
|
4460
|
-
}, [o]),
|
|
4461
|
-
return typeof
|
|
4462
|
-
}, [
|
|
4463
|
-
return typeof
|
|
4464
|
-
}, [
|
|
4465
|
-
!
|
|
4492
|
+
}, [o]), ue = De(function() {
|
|
4493
|
+
return typeof S == "function" ? S : go;
|
|
4494
|
+
}, [S]), le = De(function() {
|
|
4495
|
+
return typeof b == "function" ? b : go;
|
|
4496
|
+
}, [b]), X = ve(null), T = ve(null), M = Qo(Xs, Bt), q = It(M, 2), Y = q[0], ee = q[1], _ = Y.isFocused, v = Y.isFileDialogActive, L = ve(typeof window < "u" && window.isSecureContext && R && As()), F = function() {
|
|
4497
|
+
!L.current && v && setTimeout(function() {
|
|
4466
4498
|
if (T.current) {
|
|
4467
4499
|
var j = T.current.files;
|
|
4468
|
-
j.length || (
|
|
4500
|
+
j.length || (ee({
|
|
4469
4501
|
type: "closeDialog"
|
|
4470
|
-
}),
|
|
4502
|
+
}), le());
|
|
4471
4503
|
}
|
|
4472
4504
|
}, 300);
|
|
4473
4505
|
};
|
|
4474
4506
|
re(function() {
|
|
4475
|
-
return window.addEventListener("focus",
|
|
4476
|
-
window.removeEventListener("focus",
|
|
4507
|
+
return window.addEventListener("focus", F, !1), function() {
|
|
4508
|
+
window.removeEventListener("focus", F, !1);
|
|
4477
4509
|
};
|
|
4478
|
-
}, [T, v,
|
|
4479
|
-
var I =
|
|
4510
|
+
}, [T, v, le, L]);
|
|
4511
|
+
var I = ve([]), P = function(j) {
|
|
4480
4512
|
X.current && X.current.contains(j.target) || (j.preventDefault(), I.current = []);
|
|
4481
4513
|
};
|
|
4482
4514
|
re(function() {
|
|
4483
|
-
return
|
|
4484
|
-
|
|
4515
|
+
return A && (document.addEventListener("dragover", fo, !1), document.addEventListener("drop", P, !1)), function() {
|
|
4516
|
+
A && (document.removeEventListener("dragover", fo), document.removeEventListener("drop", P));
|
|
4485
4517
|
};
|
|
4486
|
-
}, [X,
|
|
4487
|
-
return !n &&
|
|
4518
|
+
}, [X, A]), re(function() {
|
|
4519
|
+
return !n && W && X.current && X.current.focus(), function() {
|
|
4488
4520
|
};
|
|
4489
|
-
}, [X,
|
|
4521
|
+
}, [X, W, n]);
|
|
4490
4522
|
var B = xe(function(k) {
|
|
4491
4523
|
G ? G(k) : console.error(k);
|
|
4492
|
-
}, [G]),
|
|
4493
|
-
k.preventDefault(), k.persist(),
|
|
4494
|
-
if (!(nt(k) && !
|
|
4524
|
+
}, [G]), U = xe(function(k) {
|
|
4525
|
+
k.preventDefault(), k.persist(), Ge(k), I.current = [].concat(Us(I.current), [k.target]), et(k) && Promise.resolve(a(k)).then(function(j) {
|
|
4526
|
+
if (!(nt(k) && !z)) {
|
|
4495
4527
|
var ae = j.length, se = ae > 0 && Ss({
|
|
4496
4528
|
files: j,
|
|
4497
4529
|
accept: ne,
|
|
4498
4530
|
minSize: r,
|
|
4499
4531
|
maxSize: i,
|
|
4500
4532
|
multiple: s,
|
|
4501
|
-
maxFiles:
|
|
4533
|
+
maxFiles: p,
|
|
4502
4534
|
validator: J
|
|
4503
4535
|
}), be = ae > 0 && !se;
|
|
4504
|
-
|
|
4536
|
+
ee({
|
|
4505
4537
|
isDragAccept: se,
|
|
4506
4538
|
isDragReject: be,
|
|
4507
4539
|
isDragActive: !0,
|
|
4508
4540
|
type: "setDraggedFiles"
|
|
4509
|
-
}),
|
|
4541
|
+
}), l && l(k);
|
|
4510
4542
|
}
|
|
4511
4543
|
}).catch(function(j) {
|
|
4512
4544
|
return B(j);
|
|
4513
4545
|
});
|
|
4514
|
-
}, [a,
|
|
4515
|
-
k.preventDefault(), k.persist(),
|
|
4546
|
+
}, [a, l, B, z, ne, r, i, s, p, J]), H = xe(function(k) {
|
|
4547
|
+
k.preventDefault(), k.persist(), Ge(k);
|
|
4516
4548
|
var j = et(k);
|
|
4517
4549
|
if (j && k.dataTransfer)
|
|
4518
4550
|
try {
|
|
@@ -4520,118 +4552,118 @@ function Vo() {
|
|
|
4520
4552
|
} catch {
|
|
4521
4553
|
}
|
|
4522
4554
|
return j && u && u(k), !1;
|
|
4523
|
-
}, [u,
|
|
4524
|
-
k.preventDefault(), k.persist(),
|
|
4555
|
+
}, [u, z]), K = xe(function(k) {
|
|
4556
|
+
k.preventDefault(), k.persist(), Ge(k);
|
|
4525
4557
|
var j = I.current.filter(function(se) {
|
|
4526
4558
|
return X.current && X.current.contains(se);
|
|
4527
4559
|
}), ae = j.indexOf(k.target);
|
|
4528
|
-
ae !== -1 && j.splice(ae, 1), I.current = j, !(j.length > 0) && (
|
|
4560
|
+
ae !== -1 && j.splice(ae, 1), I.current = j, !(j.length > 0) && (ee({
|
|
4529
4561
|
type: "setDraggedFiles",
|
|
4530
4562
|
isDragActive: !1,
|
|
4531
4563
|
isDragAccept: !1,
|
|
4532
4564
|
isDragReject: !1
|
|
4533
4565
|
}), et(k) && d && d(k));
|
|
4534
|
-
}, [X, d,
|
|
4566
|
+
}, [X, d, z]), $ = xe(function(k, j) {
|
|
4535
4567
|
var ae = [], se = [];
|
|
4536
4568
|
k.forEach(function(be) {
|
|
4537
|
-
var
|
|
4538
|
-
if (
|
|
4569
|
+
var We = Oo(be, ne), Be = It(We, 2), pt = Be[0], lt = Be[1], ct = Wo(be, r, i), Ke = It(ct, 2), dt = Ke[0], mt = Ke[1], ut = J ? J(be) : null;
|
|
4570
|
+
if (pt && dt && !ut)
|
|
4539
4571
|
ae.push(be);
|
|
4540
4572
|
else {
|
|
4541
|
-
var
|
|
4542
|
-
|
|
4573
|
+
var _t = [lt, mt];
|
|
4574
|
+
ut && (_t = _t.concat(ut)), se.push({
|
|
4543
4575
|
file: be,
|
|
4544
|
-
errors:
|
|
4545
|
-
return
|
|
4576
|
+
errors: _t.filter(function(Ko) {
|
|
4577
|
+
return Ko;
|
|
4546
4578
|
})
|
|
4547
4579
|
});
|
|
4548
4580
|
}
|
|
4549
|
-
}), (!s && ae.length > 1 || s &&
|
|
4581
|
+
}), (!s && ae.length > 1 || s && p >= 1 && ae.length > p) && (ae.forEach(function(be) {
|
|
4550
4582
|
se.push({
|
|
4551
4583
|
file: be,
|
|
4552
4584
|
errors: [Is]
|
|
4553
4585
|
});
|
|
4554
|
-
}), ae.splice(0)),
|
|
4586
|
+
}), ae.splice(0)), ee({
|
|
4555
4587
|
acceptedFiles: ae,
|
|
4556
4588
|
fileRejections: se,
|
|
4557
4589
|
isDragReject: se.length > 0,
|
|
4558
4590
|
type: "setFiles"
|
|
4559
4591
|
}), g && g(ae, se, j), se.length > 0 && x && x(se, j), ae.length > 0 && h && h(ae, j);
|
|
4560
|
-
}, [
|
|
4561
|
-
k.preventDefault(), k.persist(),
|
|
4562
|
-
nt(k) && !
|
|
4592
|
+
}, [ee, s, ne, r, i, p, g, h, x, J]), ie = xe(function(k) {
|
|
4593
|
+
k.preventDefault(), k.persist(), Ge(k), I.current = [], et(k) && Promise.resolve(a(k)).then(function(j) {
|
|
4594
|
+
nt(k) && !z || $(j, k);
|
|
4563
4595
|
}).catch(function(j) {
|
|
4564
4596
|
return B(j);
|
|
4565
|
-
}),
|
|
4597
|
+
}), ee({
|
|
4566
4598
|
type: "reset"
|
|
4567
4599
|
});
|
|
4568
|
-
}, [a, $, B,
|
|
4569
|
-
if (
|
|
4570
|
-
|
|
4600
|
+
}, [a, $, B, z]), y = xe(function() {
|
|
4601
|
+
if (L.current) {
|
|
4602
|
+
ee({
|
|
4571
4603
|
type: "openDialog"
|
|
4572
|
-
}),
|
|
4604
|
+
}), ue();
|
|
4573
4605
|
var k = {
|
|
4574
4606
|
multiple: s,
|
|
4575
|
-
types:
|
|
4607
|
+
types: me
|
|
4576
4608
|
};
|
|
4577
4609
|
window.showOpenFilePicker(k).then(function(j) {
|
|
4578
4610
|
return a(j);
|
|
4579
4611
|
}).then(function(j) {
|
|
4580
|
-
$(j, null),
|
|
4612
|
+
$(j, null), ee({
|
|
4581
4613
|
type: "closeDialog"
|
|
4582
4614
|
});
|
|
4583
4615
|
}).catch(function(j) {
|
|
4584
|
-
Ds(j) ? (
|
|
4616
|
+
Ds(j) ? (le(j), ee({
|
|
4585
4617
|
type: "closeDialog"
|
|
4586
|
-
})) : Ms(j) ? (
|
|
4618
|
+
})) : Ms(j) ? (L.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);
|
|
4587
4619
|
});
|
|
4588
4620
|
return;
|
|
4589
4621
|
}
|
|
4590
|
-
T.current && (
|
|
4622
|
+
T.current && (ee({
|
|
4591
4623
|
type: "openDialog"
|
|
4592
|
-
}),
|
|
4593
|
-
}, [
|
|
4594
|
-
!X.current || !X.current.isEqualNode(k.target) || (k.key === " " || k.key === "Enter" || k.keyCode === 32 || k.keyCode === 13) && (k.preventDefault(),
|
|
4595
|
-
}, [X,
|
|
4596
|
-
|
|
4624
|
+
}), ue(), T.current.value = null, T.current.click());
|
|
4625
|
+
}, [ee, ue, le, R, $, B, me, s]), he = xe(function(k) {
|
|
4626
|
+
!X.current || !X.current.isEqualNode(k.target) || (k.key === " " || k.key === "Enter" || k.keyCode === 32 || k.keyCode === 13) && (k.preventDefault(), y());
|
|
4627
|
+
}, [X, y]), Se = xe(function() {
|
|
4628
|
+
ee({
|
|
4597
4629
|
type: "focus"
|
|
4598
4630
|
});
|
|
4599
|
-
}, []),
|
|
4600
|
-
|
|
4631
|
+
}, []), Oe = xe(function() {
|
|
4632
|
+
ee({
|
|
4601
4633
|
type: "blur"
|
|
4602
4634
|
});
|
|
4603
|
-
}, []),
|
|
4604
|
-
|
|
4605
|
-
}, [
|
|
4635
|
+
}, []), zt = xe(function() {
|
|
4636
|
+
w || (Fs() ? setTimeout(y, 0) : y());
|
|
4637
|
+
}, [w, y]), je = function(j) {
|
|
4606
4638
|
return n ? null : j;
|
|
4607
|
-
},
|
|
4639
|
+
}, st = function(j) {
|
|
4608
4640
|
return m ? null : je(j);
|
|
4609
|
-
}, Ve = function(j) {
|
|
4610
|
-
return N ? null : je(j);
|
|
4611
4641
|
}, Ye = function(j) {
|
|
4612
|
-
|
|
4613
|
-
},
|
|
4642
|
+
return N ? null : je(j);
|
|
4643
|
+
}, Ge = function(j) {
|
|
4644
|
+
z && j.stopPropagation();
|
|
4645
|
+
}, Vo = De(function() {
|
|
4614
4646
|
return function() {
|
|
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,
|
|
4616
|
-
return
|
|
4617
|
-
onKeyDown:
|
|
4618
|
-
onFocus:
|
|
4619
|
-
onBlur:
|
|
4620
|
-
onClick: je(
|
|
4621
|
-
onDragEnter:
|
|
4622
|
-
onDragOver:
|
|
4623
|
-
onDragLeave:
|
|
4624
|
-
onDrop:
|
|
4647
|
+
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, We = k.onFocus, Be = k.onBlur, pt = k.onClick, lt = k.onDragEnter, ct = k.onDragOver, Ke = k.onDragLeave, dt = k.onDrop, mt = at(k, Ws);
|
|
4648
|
+
return te(te(jt({
|
|
4649
|
+
onKeyDown: st(Te(be, he)),
|
|
4650
|
+
onFocus: st(Te(We, Se)),
|
|
4651
|
+
onBlur: st(Te(Be, Oe)),
|
|
4652
|
+
onClick: je(Te(pt, zt)),
|
|
4653
|
+
onDragEnter: Ye(Te(lt, U)),
|
|
4654
|
+
onDragOver: Ye(Te(ct, H)),
|
|
4655
|
+
onDragLeave: Ye(Te(Ke, K)),
|
|
4656
|
+
onDrop: Ye(Te(dt, ie)),
|
|
4625
4657
|
role: typeof se == "string" && se !== "" ? se : "presentation"
|
|
4626
4658
|
}, ae, X), !n && !m ? {
|
|
4627
4659
|
tabIndex: 0
|
|
4628
|
-
} : {}),
|
|
4660
|
+
} : {}), mt);
|
|
4629
4661
|
};
|
|
4630
|
-
}, [X, he, Se,
|
|
4662
|
+
}, [X, he, Se, Oe, zt, U, H, K, ie, m, N, n]), Yo = xe(function(k) {
|
|
4631
4663
|
k.stopPropagation();
|
|
4632
|
-
}, []),
|
|
4664
|
+
}, []), Go = De(function() {
|
|
4633
4665
|
return function() {
|
|
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,
|
|
4666
|
+
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, We = at(k, zs), Be = jt({
|
|
4635
4667
|
accept: ne,
|
|
4636
4668
|
multiple: s,
|
|
4637
4669
|
type: "file",
|
|
@@ -4647,167 +4679,110 @@ function Vo() {
|
|
|
4647
4679
|
width: "1px",
|
|
4648
4680
|
whiteSpace: "nowrap"
|
|
4649
4681
|
},
|
|
4650
|
-
onChange: je(
|
|
4651
|
-
onClick: je(
|
|
4682
|
+
onChange: je(Te(se, ie)),
|
|
4683
|
+
onClick: je(Te(be, Yo)),
|
|
4652
4684
|
tabIndex: -1
|
|
4653
4685
|
}, ae, T);
|
|
4654
|
-
return
|
|
4686
|
+
return te(te({}, Be), We);
|
|
4655
4687
|
};
|
|
4656
4688
|
}, [T, o, s, ie, n]);
|
|
4657
|
-
return
|
|
4689
|
+
return te(te({}, Y), {}, {
|
|
4658
4690
|
isFocused: _ && !n,
|
|
4659
|
-
getRootProps:
|
|
4660
|
-
getInputProps:
|
|
4691
|
+
getRootProps: Vo,
|
|
4692
|
+
getInputProps: Go,
|
|
4661
4693
|
rootRef: X,
|
|
4662
4694
|
inputRef: T,
|
|
4663
|
-
open: je(
|
|
4695
|
+
open: je(y)
|
|
4664
4696
|
});
|
|
4665
4697
|
}
|
|
4666
4698
|
function Xs(e, t) {
|
|
4667
4699
|
switch (t.type) {
|
|
4668
4700
|
case "focus":
|
|
4669
|
-
return
|
|
4701
|
+
return te(te({}, e), {}, {
|
|
4670
4702
|
isFocused: !0
|
|
4671
4703
|
});
|
|
4672
4704
|
case "blur":
|
|
4673
|
-
return
|
|
4705
|
+
return te(te({}, e), {}, {
|
|
4674
4706
|
isFocused: !1
|
|
4675
4707
|
});
|
|
4676
4708
|
case "openDialog":
|
|
4677
|
-
return
|
|
4709
|
+
return te(te({}, Bt), {}, {
|
|
4678
4710
|
isFileDialogActive: !0
|
|
4679
4711
|
});
|
|
4680
4712
|
case "closeDialog":
|
|
4681
|
-
return
|
|
4713
|
+
return te(te({}, e), {}, {
|
|
4682
4714
|
isFileDialogActive: !1
|
|
4683
4715
|
});
|
|
4684
4716
|
case "setDraggedFiles":
|
|
4685
|
-
return
|
|
4717
|
+
return te(te({}, e), {}, {
|
|
4686
4718
|
isDragActive: t.isDragActive,
|
|
4687
4719
|
isDragAccept: t.isDragAccept,
|
|
4688
4720
|
isDragReject: t.isDragReject
|
|
4689
4721
|
});
|
|
4690
4722
|
case "setFiles":
|
|
4691
|
-
return
|
|
4723
|
+
return te(te({}, e), {}, {
|
|
4692
4724
|
acceptedFiles: t.acceptedFiles,
|
|
4693
4725
|
fileRejections: t.fileRejections,
|
|
4694
4726
|
isDragReject: t.isDragReject
|
|
4695
4727
|
});
|
|
4696
4728
|
case "reset":
|
|
4697
|
-
return
|
|
4729
|
+
return te({}, Bt);
|
|
4698
4730
|
default:
|
|
4699
4731
|
return e;
|
|
4700
4732
|
}
|
|
4701
4733
|
}
|
|
4702
|
-
function
|
|
4734
|
+
function go() {
|
|
4703
4735
|
}
|
|
4704
|
-
const Zs = (e) =>
|
|
4736
|
+
const Zs = (e) => Ho(e), Qs = "_spUploadFiles_11994_43", Js = "_spUploadFiles_error_11994_51", ep = "_spUploadFiles__control_11994_51", tp = "_spUploadFiles__fileNameContainer_11994_55", op = "_spUploadFiles__fileName_dragError_11994_59", np = "_spUploadFiles__placeholderContainer_11994_62", ap = "_spUploadFiles__placeholderContainer_withUloadTooltip_11994_72", ip = "_spUploadFiles__placeholder_11994_62", rp = "_spUploadFiles__control_loading_11994_104", sp = "_shimmer_11994_1", pp = "_spUploadFiles__fileName_11994_55", lp = "_spUploadFiles__tooltip_11994_130", cp = "_spUploadFiles_fileUploaded_11994_160", dp = "_spUploadFiles_disabled_11994_160", mp = "_spUploadFiles__fileNamesList_11994_171", up = "_spUploadFiles__fileNamesList_loading_11994_182", _p = "_spUploadFiles__fileNamesListItem_11994_187", fp = "_spUploadFiles__fileNamesListItem__iconContainer_11994_225", vp = "_spUploadFiles__fileNamesListItem__iconContainer_error_11994_234", gp = "_spUploadFiles__fileNamesListItem__mainContent_11994_239", xp = "_spUploadFiles__fileNamesListItem__fileNameWrapper_11994_246", hp = "_spUploadFiles__fileNamesListItem__fileName_11994_246", bp = "_spUploadFiles__fileNamesListItem__fileNameTooltip_11994_253", yp = "_spUploadFiles__fileNamesListItem__description_11994_256", wp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_11994_261", Cp = "_spUploadFiles__fileNamesListItem__description_error_11994_264", kp = "_spUploadFiles__fileNamesListItemDelete_11994_267", Tp = "_spUploadFiles__fileNamesListItemDelete_error_11994_284", Np = "_spUploadFiles__delete_11994_297", Ep = "_spUploadFiles__delete_loading_11994_301", Ip = "_spUploadFiles__error_11994_310", V = {
|
|
4737
|
+
spUploadFiles: Qs,
|
|
4738
|
+
spUploadFiles_error: Js,
|
|
4739
|
+
spUploadFiles__control: ep,
|
|
4740
|
+
spUploadFiles__fileNameContainer: tp,
|
|
4741
|
+
spUploadFiles__fileName_dragError: op,
|
|
4742
|
+
spUploadFiles__placeholderContainer: np,
|
|
4743
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_11994_65",
|
|
4744
|
+
spUploadFiles__placeholderContainer_withUloadTooltip: ap,
|
|
4745
|
+
spUploadFiles__placeholder: ip,
|
|
4746
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_11994_87",
|
|
4747
|
+
spUploadFiles__control_loading: rp,
|
|
4748
|
+
shimmer: sp,
|
|
4749
|
+
spUploadFiles__fileName: pp,
|
|
4750
|
+
spUploadFiles__tooltip: lp,
|
|
4751
|
+
spUploadFiles_fileUploaded: cp,
|
|
4752
|
+
spUploadFiles_disabled: dp,
|
|
4753
|
+
spUploadFiles__fileNamesList: mp,
|
|
4754
|
+
spUploadFiles__fileNamesList_loading: up,
|
|
4755
|
+
spUploadFiles__fileNamesListItem: _p,
|
|
4756
|
+
spUploadFiles__fileNamesListItem__iconContainer: fp,
|
|
4757
|
+
spUploadFiles__fileNamesListItem__iconContainer_error: vp,
|
|
4758
|
+
spUploadFiles__fileNamesListItem__mainContent: gp,
|
|
4759
|
+
spUploadFiles__fileNamesListItem__fileNameWrapper: xp,
|
|
4760
|
+
spUploadFiles__fileNamesListItem__fileName: hp,
|
|
4761
|
+
spUploadFiles__fileNamesListItem__fileNameTooltip: bp,
|
|
4762
|
+
spUploadFiles__fileNamesListItem__description: yp,
|
|
4763
|
+
spUploadFiles__fileNamesListItem__description__tooltipContent: wp,
|
|
4764
|
+
spUploadFiles__fileNamesListItem__description_error: Cp,
|
|
4765
|
+
spUploadFiles__fileNamesListItemDelete: kp,
|
|
4766
|
+
spUploadFiles__fileNamesListItemDelete_error: Tp,
|
|
4767
|
+
spUploadFiles__delete: Np,
|
|
4768
|
+
spUploadFiles__delete_loading: Ep,
|
|
4769
|
+
spUploadFiles__error: Ip
|
|
4770
|
+
}, Sp = (e) => {
|
|
4705
4771
|
switch (e.code) {
|
|
4706
|
-
case
|
|
4772
|
+
case Et.FileInvalidType:
|
|
4707
4773
|
return "Неверный формат файла";
|
|
4708
|
-
case
|
|
4709
|
-
case
|
|
4774
|
+
case Et.FileTooLarge:
|
|
4775
|
+
case Et.FileTooSmall:
|
|
4710
4776
|
return "Некорректный размер файла";
|
|
4711
4777
|
default:
|
|
4712
4778
|
return "";
|
|
4713
4779
|
}
|
|
4714
|
-
},
|
|
4715
|
-
var t;
|
|
4716
|
-
return It(e) ? "" : (t = e.split(".").pop()) == null ? void 0 : t.toLowerCase();
|
|
4717
|
-
}, el = (e, t = {}) => {
|
|
4780
|
+
}, Lp = (e, t = {}) => {
|
|
4718
4781
|
const { decimals: o = 1, space: n = !0 } = t;
|
|
4719
4782
|
if (e === 0) return "0" + (n ? " " : "") + "B";
|
|
4720
|
-
const a = 1024, i = ["B", "KB", "MB", "GB", "TB"], r = Math.floor(Math.log(e) / Math.log(a)), s = r === 0 ? 0 : o,
|
|
4721
|
-
return parseFloat((e / Math.pow(a, r)).toFixed(s)) +
|
|
4722
|
-
}, tl = "_ellipsisFileName_qx34h_1", ol = "_tooltipContent_qx34h_7", go = {
|
|
4723
|
-
ellipsisFileName: tl,
|
|
4724
|
-
tooltipContent: ol
|
|
4783
|
+
const a = 1024, i = ["B", "KB", "MB", "GB", "TB"], r = Math.floor(Math.log(e) / Math.log(a)), s = r === 0 ? 0 : o, p = n ? " " : "";
|
|
4784
|
+
return parseFloat((e / Math.pow(a, r)).toFixed(s)) + p + i[r];
|
|
4725
4785
|
}, nl = (e) => {
|
|
4726
|
-
const {
|
|
4727
|
-
fileName: t,
|
|
4728
|
-
classNameRoot: o,
|
|
4729
|
-
type: n = "p2",
|
|
4730
|
-
classNameEllipsisText: a,
|
|
4731
|
-
classNameEllipsisFileNameRoot: i
|
|
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);
|
|
4734
|
-
};
|
|
4735
|
-
xo(() => (g(), window.addEventListener("resize", g), () => {
|
|
4736
|
-
window.removeEventListener("resize", g);
|
|
4737
|
-
}), [t]);
|
|
4738
|
-
const h = Js(t);
|
|
4739
|
-
return /* @__PURE__ */ z(
|
|
4740
|
-
"div",
|
|
4741
|
-
{
|
|
4742
|
-
className: f(
|
|
4743
|
-
go.ellipsisFileName,
|
|
4744
|
-
i && i
|
|
4745
|
-
),
|
|
4746
|
-
children: [
|
|
4747
|
-
/* @__PURE__ */ c(
|
|
4748
|
-
He,
|
|
4749
|
-
{
|
|
4750
|
-
hover: !0,
|
|
4751
|
-
position: le.TopLeft,
|
|
4752
|
-
classNameBaseTooltipRoot: go.tooltipContent,
|
|
4753
|
-
styleTooltip: { maxWidth: l ? `calc(100% - ${d}px)` : "100%" },
|
|
4754
|
-
classNameTooltip: o,
|
|
4755
|
-
isVisibleTooltip: l,
|
|
4756
|
-
text: t,
|
|
4757
|
-
trigger: /* @__PURE__ */ c(Te, { type: n, isEllipsis: !0, ref: r, classNameRoot: a, children: t })
|
|
4758
|
-
}
|
|
4759
|
-
),
|
|
4760
|
-
/* @__PURE__ */ c(
|
|
4761
|
-
"div",
|
|
4762
|
-
{
|
|
4763
|
-
ref: s,
|
|
4764
|
-
style: {
|
|
4765
|
-
position: "absolute",
|
|
4766
|
-
opacity: 0,
|
|
4767
|
-
pointerEvents: "none",
|
|
4768
|
-
whiteSpace: "nowrap"
|
|
4769
|
-
},
|
|
4770
|
-
children: /* @__PURE__ */ c(Te, { type: n, classNameRoot: a, children: h })
|
|
4771
|
-
}
|
|
4772
|
-
),
|
|
4773
|
-
l && /* @__PURE__ */ c(Te, { type: n, classNameRoot: a, children: h })
|
|
4774
|
-
]
|
|
4775
|
-
}
|
|
4776
|
-
);
|
|
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,
|
|
4784
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_6emz0_65",
|
|
4785
|
-
spUploadFiles__placeholderContainer_withUloadTooltip: cl,
|
|
4786
|
-
spUploadFiles__placeholder: dl,
|
|
4787
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_6emz0_87",
|
|
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) => {
|
|
4811
4786
|
const {
|
|
4812
4787
|
placeholder: t = "Загрузите файл",
|
|
4813
4788
|
variant: o = "input",
|
|
@@ -4816,90 +4791,90 @@ const Zs = (e) => Vo(e), Qs = (e) => {
|
|
|
4816
4791
|
accept: i,
|
|
4817
4792
|
disabled: r,
|
|
4818
4793
|
multiple: s,
|
|
4819
|
-
files:
|
|
4820
|
-
infoTooltipText:
|
|
4821
|
-
tooltipPosition: d =
|
|
4794
|
+
files: p = [],
|
|
4795
|
+
infoTooltipText: l,
|
|
4796
|
+
tooltipPosition: d = pe.TopRight,
|
|
4822
4797
|
classNameRoot: u,
|
|
4823
4798
|
loading: g,
|
|
4824
4799
|
error: h
|
|
4825
|
-
} = e, [x,
|
|
4800
|
+
} = e, [x, b] = oe([]), S = xe(
|
|
4826
4801
|
(_, v) => {
|
|
4827
|
-
const
|
|
4802
|
+
const L = v.map(({ file: I, errors: P }) => ({
|
|
4828
4803
|
file: I,
|
|
4829
4804
|
errors: P
|
|
4830
4805
|
}));
|
|
4831
4806
|
if (!s) {
|
|
4832
|
-
|
|
4807
|
+
b([...L]), a(_, n);
|
|
4833
4808
|
return;
|
|
4834
4809
|
}
|
|
4835
|
-
const
|
|
4836
|
-
|
|
4810
|
+
const F = [...p, ..._];
|
|
4811
|
+
b([...L, ...x]), a(F, n);
|
|
4837
4812
|
},
|
|
4838
|
-
[x,
|
|
4839
|
-
), { getRootProps:
|
|
4813
|
+
[x, p, s, n, a]
|
|
4814
|
+
), { getRootProps: R, getInputProps: W } = Zs({
|
|
4840
4815
|
accept: i,
|
|
4841
|
-
onDrop:
|
|
4816
|
+
onDrop: S,
|
|
4842
4817
|
multiple: s,
|
|
4843
4818
|
disabled: r
|
|
4844
|
-
}),
|
|
4845
|
-
[
|
|
4846
|
-
[
|
|
4847
|
-
[
|
|
4848
|
-
[
|
|
4849
|
-
[
|
|
4819
|
+
}), A = x ? (x == null ? void 0 : x.length) > 0 : void 0, w = [...p.map((_) => ({ file: _, errors: null })), ...x], m = (w == null ? void 0 : w.length) > 0 || (x == null ? void 0 : x.length) > 0, N = o === "input", z = o === "dropzone", G = f({
|
|
4820
|
+
[V.spUploadFiles]: !0,
|
|
4821
|
+
[V[`spUploadFiles--variant-${o}`]]: o,
|
|
4822
|
+
[V.spUploadFiles_error]: A && !s && h && h.length > 0,
|
|
4823
|
+
[V.spUploadFiles_disabled]: r,
|
|
4824
|
+
[V.spUploadFiles_fileUploaded]: m,
|
|
4850
4825
|
...u && { [u]: !0 }
|
|
4851
4826
|
}), J = f({
|
|
4852
|
-
[
|
|
4853
|
-
[
|
|
4827
|
+
[V.spUploadFiles__control]: !0,
|
|
4828
|
+
[V.spUploadFiles__control_loading]: g
|
|
4854
4829
|
}), ne = f({
|
|
4855
|
-
[
|
|
4856
|
-
[
|
|
4857
|
-
}),
|
|
4858
|
-
[
|
|
4859
|
-
[
|
|
4860
|
-
}),
|
|
4830
|
+
[V.spUploadFiles__fileNamesList]: !0,
|
|
4831
|
+
[V.spUploadFiles__fileNamesList_loading]: g
|
|
4832
|
+
}), me = f({
|
|
4833
|
+
[V.spUploadFiles__delete]: !0,
|
|
4834
|
+
[V.spUploadFiles__delete_loading]: g
|
|
4835
|
+
}), ue = (_, v) => {
|
|
4861
4836
|
if (g)
|
|
4862
4837
|
return;
|
|
4863
4838
|
if (v) {
|
|
4864
4839
|
const I = [...x], P = I.findIndex((B) => B.file.name === _);
|
|
4865
|
-
I.splice(P, 1),
|
|
4840
|
+
I.splice(P, 1), b(I);
|
|
4866
4841
|
return;
|
|
4867
4842
|
}
|
|
4868
|
-
const
|
|
4869
|
-
|
|
4870
|
-
},
|
|
4871
|
-
_.stopPropagation(), a([], n),
|
|
4872
|
-
}, X = (_) => Object.values(_).flatMap((v) => v.map((
|
|
4873
|
-
if (
|
|
4843
|
+
const L = [...p], F = L.findIndex((I) => I.name === _);
|
|
4844
|
+
L.splice(F, 1), a(L, n);
|
|
4845
|
+
}, le = (_) => {
|
|
4846
|
+
_.stopPropagation(), a([], n), b([]);
|
|
4847
|
+
}, X = (_) => Object.values(_).flatMap((v) => v.map((L) => L.toUpperCase())).join(", "), T = () => {
|
|
4848
|
+
if (A) {
|
|
4874
4849
|
const _ = X(i);
|
|
4875
4850
|
return /* @__PURE__ */ c(
|
|
4876
|
-
|
|
4851
|
+
Ue,
|
|
4877
4852
|
{
|
|
4878
4853
|
text: `Неверный формат файла. Загрузите файл в формате ${_}`,
|
|
4879
|
-
classNameTooltipRoot: f(
|
|
4854
|
+
classNameTooltipRoot: f(V.spUploadFiles__fileNameContainer),
|
|
4880
4855
|
classNameRoot: f(
|
|
4881
|
-
|
|
4882
|
-
|
|
4856
|
+
V.spUploadFiles__fileName,
|
|
4857
|
+
A && V.spUploadFiles__fileName_dragError
|
|
4883
4858
|
)
|
|
4884
4859
|
}
|
|
4885
4860
|
);
|
|
4886
4861
|
}
|
|
4887
4862
|
return /* @__PURE__ */ c(
|
|
4888
|
-
|
|
4863
|
+
Ue,
|
|
4889
4864
|
{
|
|
4890
|
-
text:
|
|
4891
|
-
classNameTooltipRoot: f(
|
|
4892
|
-
classNameRoot: f(
|
|
4865
|
+
text: w[0].file.name,
|
|
4866
|
+
classNameTooltipRoot: f(V.spUploadFiles__fileNameContainer),
|
|
4867
|
+
classNameRoot: f(V.spUploadFiles__fileName)
|
|
4893
4868
|
}
|
|
4894
4869
|
);
|
|
4895
|
-
}, M = () => /* @__PURE__ */ c("ul", { className: ne, children:
|
|
4896
|
-
const
|
|
4897
|
-
return /* @__PURE__ */
|
|
4870
|
+
}, M = () => /* @__PURE__ */ c("ul", { className: ne, children: w.map(({ file: _, errors: v }, L) => {
|
|
4871
|
+
const F = v ? (v == null ? void 0 : v.length) > 0 : void 0, I = () => v ? v == null ? void 0 : v.map(Sp).join(", ") : "";
|
|
4872
|
+
return /* @__PURE__ */ O(
|
|
4898
4873
|
"li",
|
|
4899
4874
|
{
|
|
4900
4875
|
className: f(
|
|
4901
|
-
|
|
4902
|
-
|
|
4876
|
+
V.spUploadFiles__fileNamesListItem,
|
|
4877
|
+
F && V.spUploadFiles__fileNamesListItem_error
|
|
4903
4878
|
),
|
|
4904
4879
|
onClick: (P) => {
|
|
4905
4880
|
P.stopPropagation();
|
|
@@ -4909,29 +4884,32 @@ const Zs = (e) => Vo(e), Qs = (e) => {
|
|
|
4909
4884
|
"div",
|
|
4910
4885
|
{
|
|
4911
4886
|
className: f(
|
|
4912
|
-
|
|
4913
|
-
|
|
4887
|
+
V.spUploadFiles__fileNamesListItem__iconContainer,
|
|
4888
|
+
F && V.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
4914
4889
|
),
|
|
4915
|
-
children: /* @__PURE__ */ c(
|
|
4890
|
+
children: /* @__PURE__ */ c(de, { name: F ? D.InfoError : D.File })
|
|
4916
4891
|
}
|
|
4917
4892
|
),
|
|
4918
|
-
/* @__PURE__ */
|
|
4893
|
+
/* @__PURE__ */ O("div", { className: V.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4919
4894
|
/* @__PURE__ */ c(
|
|
4920
|
-
|
|
4895
|
+
Ue,
|
|
4921
4896
|
{
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4897
|
+
text: _.name,
|
|
4898
|
+
defaultTooltipPosition: pe.TopLeft,
|
|
4899
|
+
isWithFixedEnd: !0,
|
|
4900
|
+
classNameRoot: V.spUploadFiles__fileNamesListItem__fileName,
|
|
4901
|
+
classNameTooltipRoot: V.spUploadFiles__fileNamesListItem__fileNameWrapper,
|
|
4902
|
+
classNameBaseTooltipRoot: V.spUploadFiles__fileNamesListItem__fileNameTooltip
|
|
4925
4903
|
}
|
|
4926
4904
|
),
|
|
4927
4905
|
/* @__PURE__ */ c(
|
|
4928
|
-
|
|
4906
|
+
Ue,
|
|
4929
4907
|
{
|
|
4930
|
-
text:
|
|
4931
|
-
classNameBaseTooltipRoot:
|
|
4908
|
+
text: F ? I() : Lp(_.size),
|
|
4909
|
+
classNameBaseTooltipRoot: V.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
4932
4910
|
classNameRoot: f(
|
|
4933
|
-
|
|
4934
|
-
|
|
4911
|
+
V.spUploadFiles__fileNamesListItem__description,
|
|
4912
|
+
F && V.spUploadFiles__fileNamesListItem__description_error
|
|
4935
4913
|
)
|
|
4936
4914
|
}
|
|
4937
4915
|
)
|
|
@@ -4939,80 +4917,80 @@ const Zs = (e) => Vo(e), Qs = (e) => {
|
|
|
4939
4917
|
/* @__PURE__ */ c(
|
|
4940
4918
|
"div",
|
|
4941
4919
|
{
|
|
4942
|
-
className: f(
|
|
4920
|
+
className: f(V.spUploadFiles__fileNamesListItemDelete),
|
|
4943
4921
|
onClick: (P) => {
|
|
4944
|
-
P.stopPropagation(),
|
|
4922
|
+
P.stopPropagation(), ue(_.name, F);
|
|
4945
4923
|
},
|
|
4946
|
-
children: /* @__PURE__ */ c(
|
|
4924
|
+
children: /* @__PURE__ */ c(de, { name: D.Close })
|
|
4947
4925
|
}
|
|
4948
4926
|
)
|
|
4949
4927
|
]
|
|
4950
4928
|
},
|
|
4951
|
-
|
|
4929
|
+
L
|
|
4952
4930
|
);
|
|
4953
|
-
}) }), q = () => s ? M() : T(),
|
|
4954
|
-
|
|
4931
|
+
}) }), q = () => s ? M() : T(), Y = () => /* @__PURE__ */ c(
|
|
4932
|
+
Ue,
|
|
4955
4933
|
{
|
|
4956
|
-
classNameRoot:
|
|
4934
|
+
classNameRoot: V.spUploadFiles__placeholder,
|
|
4957
4935
|
classNameTooltipRoot: f(
|
|
4958
|
-
|
|
4959
|
-
!!
|
|
4936
|
+
V.spUploadFiles__placeholderContainer,
|
|
4937
|
+
!!l && V.spUploadFiles__placeholderContainer_withUloadTooltip
|
|
4960
4938
|
),
|
|
4961
4939
|
text: t
|
|
4962
4940
|
}
|
|
4963
|
-
),
|
|
4964
|
-
m ? q() :
|
|
4965
|
-
m && N ? /* @__PURE__ */ c("div", { className:
|
|
4966
|
-
|
|
4941
|
+
), ee = () => /* @__PURE__ */ O($e, { children: [
|
|
4942
|
+
m ? q() : Y(),
|
|
4943
|
+
m && N ? /* @__PURE__ */ c("div", { className: me, onClick: le, children: /* @__PURE__ */ c(de, { name: D.Close }) }) : N && l && /* @__PURE__ */ c(
|
|
4944
|
+
rt,
|
|
4967
4945
|
{
|
|
4968
4946
|
hover: !0,
|
|
4969
4947
|
position: d,
|
|
4970
|
-
text:
|
|
4971
|
-
classNameTooltip:
|
|
4948
|
+
text: l,
|
|
4949
|
+
classNameTooltip: V.spUploadFiles__tooltip
|
|
4972
4950
|
}
|
|
4973
4951
|
)
|
|
4974
4952
|
] });
|
|
4975
4953
|
return /* @__PURE__ */ c(
|
|
4976
4954
|
Ya,
|
|
4977
4955
|
{
|
|
4978
|
-
getRootProps:
|
|
4979
|
-
getInputProps:
|
|
4956
|
+
getRootProps: R,
|
|
4957
|
+
getInputProps: W,
|
|
4980
4958
|
disabled: r,
|
|
4981
4959
|
name: n,
|
|
4982
|
-
children: /* @__PURE__ */
|
|
4983
|
-
|
|
4984
|
-
|
|
4960
|
+
children: /* @__PURE__ */ O("div", { className: G, children: [
|
|
4961
|
+
z && /* @__PURE__ */ c(
|
|
4962
|
+
it,
|
|
4985
4963
|
{
|
|
4986
4964
|
hover: !0,
|
|
4987
|
-
text:
|
|
4965
|
+
text: l,
|
|
4988
4966
|
position: d,
|
|
4989
|
-
classNameTooltip:
|
|
4967
|
+
classNameTooltip: V.spUploadFiles__tooltip,
|
|
4990
4968
|
trigger: void 0
|
|
4991
4969
|
}
|
|
4992
4970
|
),
|
|
4993
|
-
/* @__PURE__ */
|
|
4994
|
-
N && (g ? /* @__PURE__ */ c(
|
|
4995
|
-
|
|
4971
|
+
/* @__PURE__ */ O("div", { className: J, children: [
|
|
4972
|
+
N && (g ? /* @__PURE__ */ c(Dt, {}) : /* @__PURE__ */ c(
|
|
4973
|
+
de,
|
|
4996
4974
|
{
|
|
4997
4975
|
name: m ? D.Check : D.Upload,
|
|
4998
4976
|
style: { flexShrink: 0 }
|
|
4999
4977
|
}
|
|
5000
4978
|
)),
|
|
5001
|
-
|
|
4979
|
+
ee()
|
|
5002
4980
|
] }),
|
|
5003
|
-
h && /* @__PURE__ */ c("div", { className:
|
|
4981
|
+
h && /* @__PURE__ */ c("div", { className: V.spUploadFiles__error, children: h })
|
|
5004
4982
|
] })
|
|
5005
4983
|
}
|
|
5006
4984
|
);
|
|
5007
|
-
},
|
|
5008
|
-
viewImageModal:
|
|
5009
|
-
viewImageModal__img:
|
|
5010
|
-
viewImageModal__img_loading:
|
|
5011
|
-
viewImageModal__img_error:
|
|
5012
|
-
viewImageModal__spinner:
|
|
5013
|
-
viewImageModal__layer:
|
|
5014
|
-
viewImageModal__closeButton:
|
|
5015
|
-
},
|
|
4985
|
+
}, Rp = "_viewImageModal_sn237_43", Fp = "_viewImageModal__img_sn237_77", Ap = "_viewImageModal__img_loading_sn237_90", jp = "_viewImageModal__img_error_sn237_93", Bp = "_viewImageModal__spinner_sn237_96", Dp = "_viewImageModal__layer_sn237_123", Mp = "_viewImageModal__closeButton_sn237_128", Ee = {
|
|
4986
|
+
viewImageModal: Rp,
|
|
4987
|
+
viewImageModal__img: Fp,
|
|
4988
|
+
viewImageModal__img_loading: Ap,
|
|
4989
|
+
viewImageModal__img_error: jp,
|
|
4990
|
+
viewImageModal__spinner: Bp,
|
|
4991
|
+
viewImageModal__layer: Dp,
|
|
4992
|
+
viewImageModal__closeButton: Mp
|
|
4993
|
+
}, al = (e) => {
|
|
5016
4994
|
const {
|
|
5017
4995
|
classNameRoot: t,
|
|
5018
4996
|
classNameImageRoot: o,
|
|
@@ -5021,28 +4999,28 @@ const Zs = (e) => Vo(e), Qs = (e) => {
|
|
|
5021
4999
|
onError: i,
|
|
5022
5000
|
fallbackSrc: r,
|
|
5023
5001
|
showLoader: s = !0,
|
|
5024
|
-
onClose:
|
|
5025
|
-
} = e, [
|
|
5002
|
+
onClose: p
|
|
5003
|
+
} = e, [l, d] = oe(!0), [u, g] = oe(!1), [h, x] = oe(n), b = f({
|
|
5026
5004
|
[Ee.viewImageModal]: !0,
|
|
5027
5005
|
...t && { [t]: !0 }
|
|
5028
|
-
}),
|
|
5006
|
+
}), S = f({
|
|
5029
5007
|
[Ee.viewImageModal__layer]: !0
|
|
5030
|
-
}),
|
|
5008
|
+
}), R = f({
|
|
5031
5009
|
[Ee.viewImageModal__closeButton]: !0
|
|
5032
|
-
}),
|
|
5010
|
+
}), W = f({
|
|
5033
5011
|
[Ee.viewImageModal__spinner]: !0
|
|
5034
|
-
}),
|
|
5035
|
-
[Ee.viewImageModal__img_loading]:
|
|
5012
|
+
}), A = f(Ee.viewImageModal__img, {
|
|
5013
|
+
[Ee.viewImageModal__img_loading]: l,
|
|
5036
5014
|
[Ee.viewImageModal__img_error]: u,
|
|
5037
5015
|
...o && { [o]: !0 }
|
|
5038
5016
|
});
|
|
5039
|
-
return /* @__PURE__ */
|
|
5040
|
-
s &&
|
|
5041
|
-
/* @__PURE__ */
|
|
5017
|
+
return /* @__PURE__ */ O(yo, { classNameRoot: S, children: [
|
|
5018
|
+
s && l && /* @__PURE__ */ c(Dt, { classNameRoot: W, size: "xl" }),
|
|
5019
|
+
/* @__PURE__ */ O("div", { className: b, children: [
|
|
5042
5020
|
/* @__PURE__ */ c(
|
|
5043
5021
|
"img",
|
|
5044
5022
|
{
|
|
5045
|
-
className:
|
|
5023
|
+
className: A,
|
|
5046
5024
|
src: h,
|
|
5047
5025
|
alt: "someImage",
|
|
5048
5026
|
onLoad: (N) => {
|
|
@@ -5053,16 +5031,16 @@ const Zs = (e) => Vo(e), Qs = (e) => {
|
|
|
5053
5031
|
}
|
|
5054
5032
|
}
|
|
5055
5033
|
),
|
|
5056
|
-
u && /* @__PURE__ */
|
|
5057
|
-
/* @__PURE__ */ c(
|
|
5058
|
-
/* @__PURE__ */ c(
|
|
5034
|
+
u && /* @__PURE__ */ O("div", { className: Ee.viewImage__errorWrapper, children: [
|
|
5035
|
+
/* @__PURE__ */ c(de, { name: D.InfoError, className: Ee.viewImage__errorIcon }),
|
|
5036
|
+
/* @__PURE__ */ c(Ne, { children: "Не удалось загрузить изображение" })
|
|
5059
5037
|
] })
|
|
5060
5038
|
] }),
|
|
5061
5039
|
/* @__PURE__ */ c(
|
|
5062
5040
|
tt,
|
|
5063
5041
|
{
|
|
5064
|
-
classNameRoot:
|
|
5065
|
-
onClick:
|
|
5042
|
+
classNameRoot: R,
|
|
5043
|
+
onClick: p,
|
|
5066
5044
|
variant: "link",
|
|
5067
5045
|
isOnlyIcon: !0,
|
|
5068
5046
|
color: "white",
|
|
@@ -5072,41 +5050,41 @@ const Zs = (e) => Vo(e), Qs = (e) => {
|
|
|
5072
5050
|
] });
|
|
5073
5051
|
};
|
|
5074
5052
|
export {
|
|
5075
|
-
|
|
5053
|
+
zp as Accordion,
|
|
5076
5054
|
sa as ApplyButtons,
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5055
|
+
qp as AuthProtected,
|
|
5056
|
+
wo as BaseTooltip,
|
|
5057
|
+
$p as Breadcrumb,
|
|
5080
5058
|
tt as Button,
|
|
5081
|
-
|
|
5059
|
+
Hp as Checkbox,
|
|
5082
5060
|
wa as Confirm,
|
|
5083
|
-
|
|
5061
|
+
Vp as ContextMenu,
|
|
5084
5062
|
Ya as DefaultDropzone,
|
|
5085
|
-
|
|
5063
|
+
Yp as Dropdown,
|
|
5086
5064
|
D as EIconName,
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5065
|
+
pe as ETooltipPosition,
|
|
5066
|
+
Ue as EllipsisTextWithTooltip,
|
|
5067
|
+
Gp as Form,
|
|
5068
|
+
de as Icon,
|
|
5069
|
+
rt as InfoTooltip,
|
|
5092
5070
|
ki as Input,
|
|
5093
|
-
|
|
5094
|
-
|
|
5071
|
+
Mt as Label,
|
|
5072
|
+
yo as Layer,
|
|
5095
5073
|
Ti as MediaContext,
|
|
5096
|
-
|
|
5074
|
+
Xp as MediaContextProvider,
|
|
5097
5075
|
ya as Modal,
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5076
|
+
bo as Portal,
|
|
5077
|
+
Zp as ProgressWrapper,
|
|
5078
|
+
Qp as Select,
|
|
5079
|
+
Jp as Skeleton,
|
|
5080
|
+
Dt as Spinner,
|
|
5081
|
+
el as Table,
|
|
5082
|
+
tl as Tabs,
|
|
5083
|
+
Ne as Text,
|
|
5084
|
+
ol as TextWithLabel,
|
|
5085
|
+
it as Tooltip,
|
|
5086
|
+
nl as UploadFiles,
|
|
5087
|
+
al as ViewImageModal,
|
|
5110
5088
|
ur as useAnimatedValue,
|
|
5111
|
-
|
|
5089
|
+
Up as useModal
|
|
5112
5090
|
};
|