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