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