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